/* Public pages share the homepage palette; tool logic and print content stay local. */
@media screen{
  .site-restyled [hidden]{display:none!important}
  body.site-restyled{
    --paper:#08151c;--paper-2:#132a35;--surface:#0e202a;--surface-2:#132a35;--white:#0e202a;
    --field:#08151c;--field-2:#132a35;--navy:#08151c;--navy2:#132a35;--navy-2:#132a35;
    --ink:#edf1ee;--ink-2:#a5b6bc;--ink-3:#a0b3bc;--muted:#a5b6bc;--soft:#132a35;
    --inv:#edf1ee;--inv-2:#a5b6bc;--inv-3:#a0b3bc;--inv-muted:#a5b6bc;
    --line:rgba(173,202,213,.2);--line-2:rgba(173,202,213,.38);--rule:rgba(173,202,213,.2);--rule-2:rgba(173,202,213,.38);--rule-inv:rgba(173,202,213,.2);
    --accent:#e9b78d;--accent-inv:#e9b78d;--copper:#e9b78d;--copper-2:#e9b78d;--copper-light:#e9b78d;--copper-text:#e9b78d;--copper-soft:rgba(233,183,141,.1);
    --btn-bg:#e9b78d;--btn-bg-hover:#f2caa8;--btn-fg:#142029;--good:#98d5c1;--good-text:#98d5c1;--green:#98d5c1;--down:#efb1a9;--down-text:#efb1a9;--warn:#e5ca83;
    --cm-danger:#efb1a9;--shadow:none;--shadow-sm:none;color-scheme:dark;
    background:#08151c;color:#edf1ee;
  }
  .site-restyled h1,.site-restyled h2{font-weight:400;letter-spacing:-.035em}
  .site-restyled :is(.hero,.seg-hero,.blog-hero,.masthead){background:radial-gradient(ellipse at 86% 12%,rgba(51,112,114,.2),transparent 62%),radial-gradient(ellipse at 20% 95%,rgba(178,114,66,.08),transparent 60%),#08151c;color:#edf1ee}
  .site-restyled :is(.hero h1,.seg-h1,.blog-hero h1){font-family:var(--serif);font-weight:400;font-size:clamp(2.7rem,5.8vw,5rem);line-height:1.04;letter-spacing:-.045em}
  .site-restyled :is(.hero h1,.seg-h1) em{color:#e9b78d}
  .site-restyled :is(.hero .lede,.seg-lede,.standfirst){font-family:var(--sans);font-size:1rem;line-height:1.8;color:#a5b6bc}
  .site-restyled :is(.eyebrow,.cm-eyebrow,.wp-ref,.kicker){color:#e9b78d}
  .site-restyled :is(header.site,header.site-header,header.header,body>header){background:rgba(8,21,28,.94);color:#edf1ee;border-bottom:1px solid rgba(173,202,213,.2);backdrop-filter:blur(16px)}
  .site-restyled :is(.nav-links,nav.main){color:#a5b6bc}
  .site-restyled :is(.nav-links a,nav.main a){color:#a5b6bc}
  .site-restyled :is(.nav-links a,nav.main a):hover{color:#edf1ee}
  .site-restyled :is(.nav-actions .btn-primary,.nav-cta,.navcta,.header-book){color:#edf1ee;background:transparent;border:1px solid rgba(173,202,213,.25);border-radius:4px;box-shadow:none}
  .site-restyled :is(.brand,.wordmark,.brand-name){color:#edf1ee}
  .site-restyled :is(.brand .mark,.brand .mk){color:#edf1ee}
  .site-restyled :is(.brand .mark,.brand .mk) rect:not(:first-child){fill:#8a5220}
  .site-restyled :is(.brand .wordmark span,.brand .wm span){color:#a5b6bc}
  .site-restyled :is(.icon-btn,.hamburger,.menu-button,.burger){color:#edf1ee;border-color:rgba(173,202,213,.25);min-height:44px;min-width:44px}
  .site-restyled :is(.btn-primary,:where(a,button).action,.button,.btn:not(.btn-ghost):not(.btn-secondary),.cm-primary){background:#e9b78d;color:#142029;border-color:#e9b78d;border-radius:5px;box-shadow:none}
  .site-restyled :is(.btn-ghost,.btn-secondary){color:#edf1ee;border-color:rgba(173,202,213,.38);background:transparent;border-radius:5px}
  .site-restyled :is(.btn,:where(a,button).action,.button){white-space:normal}
  .site-restyled :is(.card,.box,.post-card,.return-card,.download-card,.method-card,.sample-note,.sample-notes,.judgment,.limit,.sheet,.capture,.profile-card,.detail-card,.q-layer,.q-opts,.offer,.next,.handoff){background:linear-gradient(145deg,rgba(27,53,64,.65),rgba(14,32,42,.95));border-color:rgba(173,202,213,.23);border-radius:14px;box-shadow:none}
  .site-restyled :is(.post-card,.return-card,.download-card,.method-card,.box){border:1px solid rgba(173,202,213,.23)}
  .site-restyled :is(.band,.sample,.conversation,.fit,.book,.contents,.first-use,.example,.teardown,.results){background:#0e202a;color:#edf1ee;border-color:rgba(173,202,213,.2)}
  .site-restyled .sample-paper{background:#f1f2ed;border-color:rgba(173,202,213,.3);border-radius:8px;overflow:hidden}
  .site-restyled :is(.progress-shell){background:rgba(8,21,28,.96)}
  .site-restyled :is(.route .btn-primary,.assessment-actions .btn-primary){color:#142029}
  .site-restyled :is(.form-status.error){color:#efb1a9}
  .site-restyled :is(input:not([type=radio]):not([type=checkbox]),select,textarea){background:#0e202a;color:#edf1ee;border-color:rgba(173,202,213,.38);border-radius:5px}
  .site-restyled :is(input,select,textarea)::placeholder{color:#a5b6bc;opacity:1}
  .site-restyled :is(.q-opt,.opt,.toolrm,.chip){color:#edf1ee;border-color:rgba(173,202,213,.3)}
  .site-restyled :is(.q-opt,.opt,.toolrm,.chip):hover{background:#1c3540;border-color:#e9b78d}
  .site-restyled :is(.q-opt[aria-pressed=true],.opt[aria-pressed=true]){background:rgba(233,183,141,.13);border-color:#e9b78d;color:#edf1ee}
  .site-restyled .flag.ok{color:#98d5c1;border-color:#98d5c1}
  .site-restyled .wp-find .wpFlag.ok{color:#98d5c1;background:rgba(152,213,193,.12)}
  .site-restyled .answer input:focus-visible+label{outline:2px solid #e9b78d;outline-offset:4px}
  .site-restyled :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #e9b78d;outline-offset:4px}
  .site-restyled .skip{background:#e9b78d;color:#142029}
  .site-restyled :is(.calendar-frame,.embed){background:#f1f2ed;border-radius:14px}
  .site-restyled .measurement-choices button{background:#132a35;color:#edf1ee;border-color:rgba(173,202,213,.38)}
  .site-restyled footer{background:#08151c;color:#a5b6bc;border-color:rgba(173,202,213,.2)}
  .site-restyled footer a{color:#bdccd0}
  .site-restyled .meta{color:#a5b6bc}
  .site-restyled .article :is(.pull,.cta){border-color:#e9b78d;background:#0e202a;color:#edf1ee;border-radius:12px}
  .site-restyled .star-controls{padding-top:18px}
  .site-restyled .legal-intro{margin-bottom:32px;padding-top:20px}
  .site-restyled .legal-intro .star-controls{margin-inline:0}
  .site-restyled .legal-intro h1{font-size:clamp(3rem,6vw,5rem)}
  #byram-capacity-map{--cm-danger:#efb1a9}
  .site-restyled #byram-capacity-map :is(.cm-error,.cm-example-item,.cm-next){background:#132a35;border-color:rgba(173,202,213,.23);border-radius:10px}
  .site-restyled #byram-capacity-map :is(button,.cm-button){background:#132a35;color:#edf1ee;border-color:rgba(173,202,213,.38);border-radius:5px}
  .site-restyled #byram-capacity-map :is(button.cm-primary,.cm-button.cm-primary){background:#e9b78d;color:#142029;border-color:#e9b78d}
  .site-restyled #byram-capacity-map :is(input,select,textarea){background:#0e202a;color:#edf1ee}
  .site-restyled #byram-capacity-map button.motion-toggle{min-height:36px;padding:6px 12px;border-radius:30px;background:rgba(8,21,28,.86);color:#b8c9ce;font-size:11px;font-weight:500;line-height:1.4}
  .site-restyled #byram-capacity-map h1{font-size:clamp(2.7rem,5.5vw,4.5rem);font-weight:400;line-height:1.05;letter-spacing:-.04em}
  .site-restyled #cm-form{padding:24px;border:1px solid rgba(173,202,213,.23);border-radius:14px;background:linear-gradient(145deg,rgba(27,53,64,.65),rgba(14,32,42,.95));margin-top:26px}
  .site-restyled header :is(.nav-actions .btn.btn-primary,.nav-cta,.navcta,.header-book){background:transparent;color:#edf1ee;border:1px solid rgba(173,202,213,.25);border-radius:4px;box-shadow:none}
  @media(max-width:920px){.site-restyled :is(.nav-links,nav.main){background:#08151c}.site-restyled .nav-actions .btn{width:auto}}
  @media(max-width:600px){.site-restyled :is(.hero h1,.seg-h1,.blog-hero h1){font-size:clamp(2.35rem,10vw,3rem)}.site-restyled .star-controls{margin-bottom:12px}.site-restyled #cm-form{padding:20px 16px}}
}
