/* Progeny Costbook - the navy and vermilion look on every page but the home page
   (2026-11-10). Added LAST to each page's <head> by design\build.py, so it wins over
   the page's own colours without touching a word, a price or a /buy/ link. The old
   beige graph paper is gone. */
:root,:root[data-theme="dark"]{color-scheme:light!important;
 --pa:#f2f4f8!important;--grid:#f2f4f8!important;--sp:#16244f!important;--sp2:#22336a!important;--tom:#e4472f!important;--ink:#141b33!important;--soft:#4e5872!important;--cell:#fff!important;
 --hd:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif!important;--bd:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif!important;--c:Consolas,"Cascadia Mono",monospace!important;
 --paper:#f2f4f8!important;--raised:#fff!important;--sunk:#e8ecf4!important;--muted:#4e5872!important;
 --faint:#7c86a0!important;--rule:#d5dbe8!important;--accent:#16244f!important;
 --disp:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif!important;--sans:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif!important;
 --mono:Consolas,"Cascadia Mono",ui-monospace,monospace!important}
/* style.css uses --soft for grey text; the legal shell (body>.doc) uses it for a pale fill. */
:root:has(body>.doc){--soft:#e9edf7!important}
body{background:#f2f4f8!important;background-image:none!important;color:#141b33!important;font-family:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif!important}
h1,h2,h3,.btn{font-family:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif!important;letter-spacing:-.025em}
h1,h2{font-weight:800!important}
.kicker,.eyebrow,.sec>.num{font-family:Consolas,"Cascadia Mono",monospace!important}
.kicker,.eyebrow{color:#c4371f!important}
body>.top{display:none!important}
.btn,a[data-buy]{background:#16244f!important;border-color:#16244f!important;color:#fff!important;border-radius:10px!important}
.btn:hover,a[data-buy]:hover{background:#e4472f!important;border-color:#e4472f!important}
.book,.buybox,.legal .bx,.fx,.sheet,.toc li{border-color:#d5dbe8!important}
.book{border-radius:16px!important;overflow:hidden}
.buybox{border:2px solid #16244f!important;border-radius:16px!important;background:#fff}
.buybox .pr{color:#e4472f!important}
.buybox li,.toc li{border-color:#d5dbe8!important}
.toc li:before,.sheet th,.fx b{background:#e9edf7!important;color:#4e5872!important;border-color:#d5dbe8!important}
.book .tabs{border-top-color:#d5dbe8!important}
.tabs span{background:#e9edf7!important;border-color:#d5dbe8!important}
.tabs span.on{background:#fff!important;color:#16244f!important}
.book .hk{color:#16244f!important}
.pp .back{color:#2f62d6!important}
footer{background:#0d1530!important;color:#aab3cf!important}
.cover{border-bottom-color:#16244f!important}
.price-card,.fig,.faq,.contents,.frame,.note{border-radius:16px!important}
/* the shop's navy top bar */
.skin-top{background:#16244f;color:#fff}
.skin-top div{max-width:1180px;margin:0 auto;padding:0 20px;min-height:62px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.skin-top a{color:#fff;opacity:.78;text-decoration:none;font:15px "Segoe UI",system-ui,sans-serif}
.skin-top a:hover{opacity:1}
.skin-top a.m{opacity:1;font:800 21px "Segoe UI Variable Display","Segoe UI",sans-serif;display:flex;align-items:center;gap:10px}
.skin-top a.m i{font:700 13px/1 Consolas,monospace;font-style:normal;background:#e4472f;color:#fff;padding:6px 7px;border-radius:6px}
.skin-top nav{margin-left:auto;display:flex;gap:20px}
@media (max-width:620px){.skin-top nav{display:none}}
