:root{--bg:#f4f8ff;--surface:#fff;--surface-2:#eaf2ff;--text:#102746;--muted:#607895;--line:#d6e4f6;--accent:#1769e0;--accent-2:#0e4ea9;--shadow:0 16px 40px #275a960f;color-scheme:light}
:root[data-theme="dark"]{--bg:#07111f;--surface:#0e1c2f;--surface-2:#142945;--text:#eef6ff;--muted:#a9bdd5;--line:#28415f;--accent:#75a9ff;--accent-2:#a9c8ff;--shadow:0 16px 40px #00000035;color-scheme:dark}
body.site-document{background:var(--bg)!important;color:var(--text)!important}
body.site-document a{color:var(--accent)}
body.site-document header,body.site-document footer{border-color:var(--line)!important}
body.site-document header{width:100%;margin:0;padding:3px!important}
body.site-document header a,body.site-document footer a{color:var(--accent-2)}
body.site-document main p,body.site-document main li{color:var(--muted)}
body.site-document h1,body.site-document h2{color:var(--text)}
body.site-document .site-logo{filter:invert(1)!important;height:34px!important;max-width:220px;width:auto;object-fit:contain;margin:0}
:root[data-theme="dark"] body.site-document .site-logo{filter:none!important}
body.site-document .theme-toggle,.theme-toggle{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer;box-shadow:var(--shadow)}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
.site-header-tools{display:flex;align-items:center;gap:12px}
body.site-letter{background:var(--bg)!important;color:var(--text)!important}
body.site-letter .page{background:var(--surface)!important;box-shadow:var(--shadow)}
body.site-letter .field,body.site-letter p{color:var(--text)}
body.site-letter .note,body.site-letter .redacted{color:var(--muted)}
body.site-letter .masthead,body.site-letter .footer{border-color:var(--line)}
body.site-letter .footer{color:var(--muted)}
body.site-letter .theme-toggle{position:fixed;right:22px;top:18px;z-index:20}
@media(max-width:600px){body.site-letter .theme-toggle{right:12px;top:12px}.site-header-tools{gap:7px}}
