
/* Footer appearance selector, consistent on every page. */
.bb103-footer{background:var(--panel)!important;color:var(--paper)!important;border-top:1px solid var(--rule)!important}
.bb103-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:28px;padding-bottom:28px}
.bb103-appearance{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.bb103-appearance-label{margin-right:8px;color:var(--muted)}
.bb103-appearance button{border:1px solid var(--rule);border-radius:4px;background:transparent;color:var(--paper);font:11px 'Space Mono',monospace;padding:8px 11px;cursor:pointer}
.bb103-appearance button[aria-pressed="true"]{background:var(--orange);border-color:var(--orange);color:#1b0e09;font-weight:700}
.bb103-appearance button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
@media(max-width:640px){.bb103-footer-inner{flex-direction:column;align-items:flex-start}}
/* Light palette. Overrides legacy hardcoded dark-mode backgrounds. */
html[data-bb-appearance="light"]{
 --bg:#f7efe2;--paper:#281810;--muted:#675449;--orange:#a7471e;
 --gold:#86552e;--rule:#cbb8a2;--panel:#f0e2cf;
 --bb102-bg:#f7efe2;--bb102-cream:#281810;--bb102-muted:#675449;
 --bb102-orange:#a7471e;--bb102-border:#cbb8a2;
 color-scheme:light;
}
html[data-bb-appearance="light"] body,
html[data-bb-appearance="light"] body.blog,
html[data-bb-appearance="light"] body.page,
html[data-bb-appearance="light"] body.archive,
html[data-bb-appearance="light"] body.single,
html[data-bb-appearance="light"] body.search{background:var(--bg)!important;color:var(--paper)!important}
html[data-bb-appearance="light"] .bb-site-header,
html[data-bb-appearance="light"] body .bb-site-header{background:#f0e2cf!important;border-color:#cbb8a2!important;color:#281810!important}
html[data-bb-appearance="light"] body .bb-site-header .brand,
html[data-bb-appearance="light"] body .bb-site-header .navlinks ul.bb-menu a{color:#281810!important}
html[data-bb-appearance="light"] body .bb-site-header .brand span{color:#a7471e!important}
html[data-bb-appearance="light"] body .bb-site-header .bb-mobile-menu summary,
html[data-bb-appearance="light"] body .bb-site-header .bb-mobile-panel{background:#f0e2cf!important;color:#281810!important;border-color:#cbb8a2!important}
html[data-bb-appearance="light"] body .bb-site-header .bb-mobile-panel a{color:#281810!important}
html[data-bb-appearance="light"] body .bb102-journal,
html[data-bb-appearance="light"] body .bb-journal-home,
html[data-bb-appearance="light"] body .bb-journal-home .bb79-news{background:var(--bg)!important;color:var(--paper)!important}
html[data-bb-appearance="light"] body .bb102-journal h1,
html[data-bb-appearance="light"] body .bb102-journal .bb102-story-copy h2 a,
html[data-bb-appearance="light"] body .bb-journal-home h1,
html[data-bb-appearance="light"] body .bb-journal-home .bb98-journal-copy h2 a{color:#281810!important}
html[data-bb-appearance="light"] body .bb102-journal-subtitle,
html[data-bb-appearance="light"] body .bb102-journal .bb102-story-copy p,
html[data-bb-appearance="light"] body .bb-journal-home .bb98-journal-copy p{color:#675449!important}
html[data-bb-appearance="light"] body .bb102-journal-eyebrow,
html[data-bb-appearance="light"] body .bb102-journal .bb102-story-meta{color:#86552e!important}
html[data-bb-appearance="light"] body .bb102-journal article.bb102-story{border-bottom-color:#cbb8a2!important}
html[data-bb-appearance="light"] body .bb102-journal a.bb102-story-photo{background:#e5d3bb!important}
html[data-bb-appearance="light"] body .bb102-journal .bb102-pages a,
html[data-bb-appearance="light"] body .bb102-journal .bb102-pages span{color:#281810!important}
html[data-bb-appearance="light"] .bb103-footer{background:#f0e2cf!important;color:#281810!important;border-color:#cbb8a2!important}
html[data-bb-appearance="light"] .bb103-appearance button{color:#281810;border-color:#cbb8a2}
html[data-bb-appearance="light"] .bb103-appearance button[aria-pressed="true"]{color:#fff;background:#a7471e;border-color:#a7471e}
html[data-bb-appearance="light"] .bb103-appearance-label{color:#675449}
html[data-bb-appearance="light"] .contact{background:#ead9bd;color:#281810}
html[data-bb-appearance="light"] .contact .email{color:#873b1d}
html[data-bb-appearance="light"] .featured,
html[data-bb-appearance="light"] .story{background:#f0e2cf}
html[data-bb-appearance="light"] .bb79-news-card,
html[data-bb-appearance="light"] .bb98-journal-card{border-color:#cbb8a2!important}
html[data-bb-appearance="light"] .bb79-news-card h2 a,
html[data-bb-appearance="light"] .bb79-news-card h3 a,
html[data-bb-appearance="light"] .bb98-journal-copy h2 a{color:#281810!important}
html[data-bb-appearance="light"] .bb79-news-card p{color:#675449!important}
html[data-bb-appearance="light"] .article-demo,
html[data-bb-appearance="light"] .article-demo h1,
html[data-bb-appearance="light"] .article-demo h2,
html[data-bb-appearance="light"] .article-demo p,
html[data-bb-appearance="light"] .article-demo a{color:#281810!important}
html[data-bb-appearance="light"] .bb9-related,
html[data-bb-appearance="light"] .bb9-article-extras{color:#281810}

/* v10.4: article reading surfaces and readable text in both modes. */
html[data-bb-appearance="dark"] body.single-post .news-wrap,
html[data-bb-appearance="dark"] body.single-post .news-article,
html[data-bb-appearance="dark"] body.single-post .bb-article-main,
html[data-bb-appearance="dark"] body.single-post .news-article-body{background:transparent!important;color:#ead9bd!important}
html[data-bb-appearance="dark"] body.single-post .news-article-header h1,
html[data-bb-appearance="dark"] body.single-post .news-article-body :is(p,h2,h3,h4,h5,h6,li,strong,em,figcaption),
html[data-bb-appearance="dark"] body.single-post .news-sidebar,
html[data-bb-appearance="dark"] body.single-post .news-sidebar p,
html[data-bb-appearance="dark"] body.single-post .news-sidebar strong,
html[data-bb-appearance="dark"] body.single-post .news-byline,
html[data-bb-appearance="dark"] body.single-post .news-dateline,
html[data-bb-appearance="dark"] body.single-post .news-article-body blockquote{color:#ead9bd!important}
html[data-bb-appearance="dark"] body.single-post .news-standfirst,
html[data-bb-appearance="dark"] body.single-post .news-article-hero figcaption,
html[data-bb-appearance="dark"] body.single-post .bb-previous-text small{color:#cbb6a3!important}
html[data-bb-appearance="dark"] body.single-post .news-article-body a,
html[data-bb-appearance="dark"] body.single-post .news-sidebar a,
html[data-bb-appearance="dark"] body.single-post .news-story-nav a,
html[data-bb-appearance="dark"] body.single-post .bb-previous-item{color:#f4b47e!important}
html[data-bb-appearance="dark"] body.single-post .news-article-body a:hover,
html[data-bb-appearance="dark"] body.single-post .news-sidebar a:hover{color:#ffd5b2!important}
html[data-bb-appearance="dark"] body.single-post .news-article-body blockquote,
html[data-bb-appearance="dark"] body.single-post .bb-layout-analysis .news-article-body blockquote{background:#332017!important;border-left-color:#e88b47!important}
html[data-bb-appearance="dark"] body.single-post .news-article-body :is(pre,code){background:#332017!important;color:#f6e4cb!important}
html[data-bb-appearance="dark"] body.single-post .news-article-body :is(table,th,td){border-color:#755344!important;color:#ead9bd!important}
html[data-bb-appearance="dark"] body.single-post .news-article-body :is(input,textarea,select){background:#332017!important;color:#ead9bd!important;border:1px solid #755344!important}
html[data-bb-appearance="light"] body.single-post .news-wrap,
html[data-bb-appearance="light"] body.single-post .news-article,
html[data-bb-appearance="light"] body.single-post .bb-article-main,
html[data-bb-appearance="light"] body.single-post .news-article-body{background:transparent!important;color:#281810!important}
html[data-bb-appearance="light"] body.single-post .news-article-header h1,
html[data-bb-appearance="light"] body.single-post .news-article-body :is(p,h2,h3,h4,h5,h6,li,strong,em,figcaption),
html[data-bb-appearance="light"] body.single-post .news-sidebar,
html[data-bb-appearance="light"] body.single-post .news-sidebar p,
html[data-bb-appearance="light"] body.single-post .news-sidebar strong,
html[data-bb-appearance="light"] body.single-post .news-byline,
html[data-bb-appearance="light"] body.single-post .news-dateline,
html[data-bb-appearance="light"] body.single-post .news-article-body blockquote{color:#281810!important}
html[data-bb-appearance="light"] body.single-post .news-standfirst,
html[data-bb-appearance="light"] body.single-post .news-article-hero figcaption,
html[data-bb-appearance="light"] body.single-post .bb-previous-text small{color:#675449!important}
html[data-bb-appearance="light"] body.single-post .news-article-body a,
html[data-bb-appearance="light"] body.single-post .news-sidebar a,
html[data-bb-appearance="light"] body.single-post .news-story-nav a,
html[data-bb-appearance="light"] body.single-post .bb-previous-item{color:#8e391b!important}
html[data-bb-appearance="light"] body.single-post .news-article-body blockquote,
html[data-bb-appearance="light"] body.single-post .bb-layout-analysis .news-article-body blockquote{background:#eddfcb!important;border-left-color:#a7471e!important}
html[data-bb-appearance="light"] body.single-post .news-article-body :is(pre,code){background:#eddfcb!important;color:#281810!important}
html[data-bb-appearance="light"] body.single-post .news-article-body :is(table,th,td){border-color:#cbb8a2!important;color:#281810!important}
html[data-bb-appearance="light"] body.single-post .news-article-body :is(input,textarea,select){background:#fffaf3!important;color:#281810!important;border:1px solid #cbb8a2!important}

/* v10.6: complete masthead burnt orange in both appearance modes. */
html[data-bb-appearance="light"] body .bb-site-header a.brand, html[data-bb-appearance="light"] body .bb-site-header a.brand span{color:#a7471e!important}
html[data-bb-appearance="dark"] body .bb-site-header a.brand, html[data-bb-appearance="dark"] body .bb-site-header a.brand span, body .bb-site-header a.brand, body .bb-site-header a.brand span{color:#e88b47!important}
