/* 21bit: independent full-page colour system. */
:root{--site-bg:#c4cdde;--site-surface:#d7deea;--site-raised:#afbcd4;--site-line:#6d7fa2;--site-text:#121d30;--site-muted:#2c3a54;--site-accent:#243451;--site-link:#182d53;--site-dark:#fff7ef;--id-primary:#d7deea;--id-accent:#243451;--id-link:#182d53;--id-paper:#c4cdde;--lib-primary:#121d30;--lib-accent:#243451;--lib-paper:#c4cdde;--lib-soft:#afbcd4;--lib-ink:#121d30;--lib-muted:#2c3a54;--lib-line:#6d7fa2;--cream:#c4cdde;--white:#d7deea;--ink:#121d30;--muted:#2c3a54;--line:#6d7fa2;--deep:#182d53;--green:#243451}
html,body,body.home,body.blog,body.archive,body.search,body.single-post{background:var(--site-bg);color:var(--site-text)}
body a{color:var(--site-link)}
body .site-header,body.home .site-header{background:var(--site-dark)!important;border-bottom:1px solid var(--site-line)}
body .site-footer,body.home .site-footer{background:var(--site-dark)!important;border-top:1px solid var(--site-line)}
.brand-identity{display:flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:240px}
.site-header .brand-identity .site-wordmark,.site-footer .brand-identity .site-wordmark{display:block;width:202px;max-width:100%;height:auto;max-height:64px;object-fit:contain;object-position:left center}
.brand-identity-caption{color:var(--site-muted);font:700 9px/1.4 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;white-space:normal}
.header-inner{min-height:86px;gap:20px}
.site-header .primary-nav a,.site-header .mobile-menu>summary{color:var(--site-text)!important}
.site-header .desktop-nav>ul>li>a:hover,.site-header .primary-nav a[aria-current=page]{border-bottom-color:var(--site-accent)}
.site-header .mobile-menu>summary,.site-header .mobile-menu>nav,.site-header .desktop-nav .sub-menu{background:var(--site-surface);border-color:#6d7fa2}
.site-footer .footer-links h2,.site-footer .footer-links a{color:var(--site-text)!important}
.site-footer p,.site-footer small{color:var(--site-muted)!important}
.site-footer .footer-brand{border-color:var(--site-line)}
body.home .v4-home{background:var(--site-bg);color:var(--site-text)}
body.home .v4-home>section{background:var(--site-surface);border-color:var(--site-line)}
body.home .v4-home p,body.home .v4-home .v4-lead,body.home .v4-home .v4-three span,body.home .v4-home .v4-card p,body.home .v4-home .v4-steps span,body.home .v4-home .v4-faq details p{color:var(--site-muted)}
body.home .v4-home h1,body.home .v4-home h2,body.home .v4-home h3,body.home .v4-home .v4-section#slots h2,body.home .v4-home .v4-hero-copy h1{color:var(--site-text)!important}
body.home .v4-home .eyebrow,body.home .v4-home .v4-section#slots>.eyebrow{color:var(--site-accent)!important}
body.home .v4-home .v4-hero{background:var(--site-surface)!important}
body.home .v4-home .v4-hero-copy{background:var(--site-surface)!important;isolation:isolate}
body.home .v4-home .v4-hero-copy h1::after{content:none!important}
body.home .v4-home .hero-deck{color:var(--site-muted)!important}
body.home .v4-home .v4-button,body .search-submit{background:var(--site-accent)!important;color:var(--site-dark)!important;border:1px solid var(--site-accent);border-radius:6px;min-height:46px;font-weight:800}
body.home .v4-home .v4-button:hover,body .search-submit:hover{background:#202d46!important}
body.home .v4-home .v4-topics{background:var(--site-raised);border-color:var(--site-line)}
body.home .v4-home .v4-topics a{color:var(--site-text);border-color:var(--site-line)}
body.home .v4-home .v4-topics span{color:var(--site-accent)}
body.home .v4-home .v4-strip{background:var(--site-surface)}
body.home .v4-home .v4-three{gap:14px}
body.home .v4-home .v4-three>div{background:var(--site-raised);padding:17px 20px;border:1px solid var(--site-line);border-radius:8px}
body.home .v4-home .v4-three strong{color:var(--site-text)}
body.home .v4-home .v4-section#slots,body.home .v4-home .v4-register,body.home .v4-home .v4-faq{background:var(--site-bg)}
body.home .v4-home .v4-card{overflow:hidden;background:var(--site-raised);border:1px solid var(--site-line);border-radius:10px}
body.home .v4-home .v4-card img{border-radius:0}
body.home .v4-home .v4-card h3{margin:0;padding:18px 18px 6px}
body.home .v4-home .v4-card p{padding:0 18px 20px}
body.home .v4-home .v4-split,body.home .v4-home .v4-two-col{background:var(--site-surface);border-color:var(--site-line)}
body.home .v4-home .v4-links,body.home .v4-home .v4-links li{border-color:var(--site-line)}
body.home .v4-home .v4-text-link,body.home .v4-home .v4-links a{color:var(--site-link)!important;text-decoration:underline;text-underline-offset:.2em}
body.home .v4-home .v4-steps{background:var(--site-raised);border:1px solid var(--site-line);border-radius:9px;overflow:hidden}
body.home .v4-home .v4-steps div{padding-top:20px;padding-bottom:20px;border-color:var(--site-line)}
body.home .v4-home .v4-steps div:first-child{padding-left:18px}
body.home .v4-home .v4-steps b{color:var(--site-accent)}
body.home .v4-home .v4-two-col table{background:var(--site-surface);border:1px solid var(--site-line)}
body.home .v4-home .v4-two-col thead th{background:var(--site-raised);color:var(--site-text);border-color:var(--site-line)}
body.home .v4-home .v4-two-col tbody tr:nth-child(even){background:var(--site-raised)}
body.home .v4-home .v4-two-col th,body.home .v4-home .v4-two-col td{color:var(--site-text);border-color:var(--site-line)}
body.home .v4-home .v4-mobile-image{border:1px solid var(--site-line)}
body.home .v4-home .v4-care{background:var(--site-raised)}
body.home .v4-home .v4-responsible{background:var(--site-surface);border-left:4px solid var(--site-accent)}
body.home .v4-home .v4-faq details{background:var(--site-raised);border:1px solid var(--site-line);border-radius:8px;padding:18px 20px;margin:10px 0}
body.home .v4-home .v4-faq summary{color:var(--site-text)}
body .guide-library{--lib-ink:var(--site-text);--lib-muted:var(--site-muted);--lib-line:var(--site-line);color:var(--site-text)}
body .library-header{background:var(--site-surface)!important;border:1px solid var(--site-line);border-left:3px solid var(--site-accent);padding:22px 24px}
body .library-eyebrow,body .library-feature-label{color:var(--site-accent)}
body .library-heading-title,body .library-feature h2 a,body .library-card h3 a,body .library-results-head h2,body .library-topics a[aria-current=page]{color:var(--site-text)}
body .library-heading>p,body .library-description,body .library-card-foot time{color:var(--site-muted)}
body .library-feature,body .library-card,body .library-empty,body .content-card,body .empty-state{background:var(--site-surface);border-color:var(--site-line);color:var(--site-text)}
body .library-topic-label,body .library-read,body .library-arrow{color:var(--site-link)}
body .library-feature .library-topic-label,body .article-categories a{background:var(--site-raised);color:var(--site-link)}
body .library-card-media,body .library-feature-media,body .article-hero{border-color:var(--site-accent)}
body .library-topics{border-color:var(--site-line)}
body .library-topics a{color:var(--site-muted)}
body .library-topics a[aria-current=page]{border-color:var(--site-accent)}
body .library-search,body .library-sort select,body .library-sort button,body .search-field,body .header-search-panel{background:var(--site-raised);border-color:#6d7fa2;color:var(--site-text)}
body .library-search input,body .library-search button,body .library-sort select,body .library-sort button,body .search-field{color:var(--site-text)}
body .library-search input::placeholder,body .search-field::placeholder{color:var(--site-muted);opacity:1}
body .library-search button:hover,body .library-sort button:hover,body .library-arrow:hover{background:#afbcd4}
body .page-article,body .reading-article{color:var(--site-text)}
body .content-card h1,body .content-card h2,body .content-card h3,body .entry-header h1,body .entry-content h1,body .entry-content h2,body .entry-content h3{color:var(--site-text)!important}
body .content-card p,body .content-card ul,body .entry-meta,body .article-deck,body .entry-content p,body .entry-content li{color:var(--site-muted)}
body .entry-content strong,body .entry-content b{color:var(--site-text)}
body .entry-content a,body .article-toc a,body .article-toc summary,body .article-categories a{color:var(--site-link)}
.single-post .reading-article{background:var(--site-surface)!important;border-top:3px solid var(--site-accent)}
.single-post .reading-article .entry-header{display:block!important;background:var(--site-raised)!important;border-color:var(--site-line)!important;box-shadow:none!important}
.single-post .reading-article .entry-header::after{content:none!important;display:none!important}
.single-post .reading-article .entry-header h1{max-width:26ch;color:var(--site-text)!important}
.single-post .reading-article .article-toc{background:var(--site-raised)!important;border-color:var(--site-line)!important;border-left:3px solid var(--site-accent)!important}
body .entry-content blockquote,body .entry-content code,body .entry-content pre{background:var(--site-raised);color:var(--site-text);border-color:var(--site-accent)}
body .entry-content th,body .entry-content td{color:var(--site-text);border-color:var(--site-line)}
body .entry-content thead th,body .entry-content tbody tr:nth-child(even){background:var(--site-raised)}
/* Older posts include inline colours; keep their reading content in this palette. */
body .entry-content p,body .entry-content li,body .entry-content ul,body .entry-content ol,body .entry-content td,body .entry-content figcaption{color:var(--site-muted)!important}
body .entry-content strong,body .entry-content b,body .entry-content caption,body .entry-content th,body .entry-content .faq-question{color:var(--site-text)!important}
body .entry-content a,body .entry-content a *{color:var(--site-link)!important}
body .entry-content thead{background:var(--site-raised)!important}
body .entry-content tbody{background:var(--site-surface)!important}
body .entry-content tbody tr:nth-child(even){background:var(--site-raised)!important}
body .entry-content th,body .entry-content td,body .entry-content tr,body .entry-content .faq-item{border-color:var(--site-line)!important}
body .entry-content blockquote,body .entry-content .faq-item,body .entry-content ul[style*="background"],body .entry-content ol[style*="background"]{background:var(--site-raised)!important;border-color:var(--site-line)!important}
body .entry-content blockquote{border-left-color:var(--site-accent)!important}
body .entry-content small,body .entry-content cite{color:var(--site-muted)!important}
body .entry-content [style*="background"]{background-color:var(--site-raised)!important;border-color:var(--site-line)!important}
body .entry-content div[style*="max-width"]{max-width:100%!important;overflow-x:auto;overscroll-behavior-x:contain}
body .entry-content :is(div,figure):has(>table){max-width:100%!important;overflow-x:auto;overscroll-behavior-x:contain}
body .article-source-register,body .article-source-register p{color:var(--site-muted);border-color:var(--site-line)}
body .post-navigation-links a,body .category-nav a,body .page-numbers{background:var(--site-surface);border-color:var(--site-line);color:var(--site-link)}
body .post-navigation-links span{color:var(--site-muted)}
body .page-numbers.current,body .category-nav a[aria-current=page]{background:var(--site-accent);color:var(--site-dark)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--site-accent);outline-offset:4px}
@media(max-width:900px){body.home .v4-home .v4-hero{display:flex!important;flex-direction:column!important;min-height:0!important}body.home .v4-home .v4-hero-copy{width:100%!important;flex:none!important;padding:40px 28px!important}body.home .v4-home .v4-hero-image{width:100%!important;flex:none!important;height:290px!important;min-height:0!important;object-fit:cover!important}body.home .v4-home .v4-hero-copy h1{max-width:22ch!important;font-size:clamp(2rem,5vw,3rem)!important}.single-post .reading-article .entry-header{padding:26px!important}}
@media(max-width:760px){body.home .v4-home .v4-three{gap:12px}body.home .v4-home .v4-steps div:nth-child(3){padding-left:18px}}
@media(max-width:600px){.site-header .brand-identity .site-wordmark{width:166px;max-height:54px}.brand-identity-caption{font-size:8px;letter-spacing:.09em}.header-inner{min-height:78px;gap:10px}.header-tools{gap:6px}body.home .v4-home .v4-hero-copy{padding:32px 24px!important}body.home .v4-home .v4-hero-image{height:235px!important}.footer-brand .brand-identity .site-wordmark{width:200px}.single-post .reading-article .entry-header{padding:20px!important}body .library-header{padding:18px 16px}.library-heading-title{overflow-wrap:anywhere}}
@media(max-width:360px){.site-header .brand-identity .site-wordmark{width:140px}.brand-identity-caption{font-size:7px}.header-tools{gap:3px}}

:root{--site-chrome:#18202f;--site-chrome-text:#fff7ef;--site-chrome-muted:#e1e0df}
body .site-header,body.home .site-header,body .site-footer,body.home .site-footer{background:var(--site-chrome)!important}
.site-header .primary-nav a,.site-header .mobile-menu>summary,.site-footer .footer-links h2,.site-footer .footer-links a{color:var(--site-chrome-text)!important}
.site-header .brand-identity-caption,.site-footer .brand-identity-caption,body .site-footer p,body .site-footer small{color:var(--site-chrome-muted)!important}
.site-header .mobile-menu>summary,.site-header .mobile-menu>nav,.site-header .desktop-nav .sub-menu{background:var(--site-chrome)!important}

body.home .v4-home .v4-card,body.home .v4-home .v4-three>div,body.home .v4-home .v4-faq details,body .library-feature,body .library-card{border-radius:10px}
