/* Scoped to this standalone page; no calculator behavior or shared styles changed. */
:root{--ink:#f2ede2;--ink2:#232a2b;--accent:#c6a45b;--gold:#c6a45b;--bg:#0d1110;--card:#232a2b;--muted:#bbc3c5;--ok:#86d4aa;--bad:#ffaaa0;--line:#505959;--warn:#343020;--command-red:#a54536}
body{font-family:"Segoe UI",Arial,sans-serif;line-height:1.6;color:var(--ink);background:var(--bg)}
header.brand{background:#0d1110;border-bottom:4px solid var(--command-red);padding:30px 0 34px}
.wrap{max-width:980px;padding-inline:clamp(16px,4vw,30px)}
.calculator-brand{display:flex;align-items:center;gap:16px}
.calculator-brand img{flex:0 0 64px;width:64px;height:64px}
.brand-parent{color:var(--muted);font:700 .68rem/1.5 Consolas,"Courier New",monospace;text-transform:uppercase;letter-spacing:.12em;margin:0 0 7px}
.logo{font-family:Bahnschrift,"Arial Narrow",Arial,sans-serif;font-size:clamp(22px,4vw,32px);line-height:1.12;letter-spacing:.035em}
.calculator-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin-block:24px;font-size:.88rem}
a{color:var(--gold);text-underline-offset:4px}
.calculator-nav a{text-decoration:none;border-bottom:1px solid transparent}
.calculator-nav a:hover{border-color:currentColor}
.tag{color:var(--muted);font-size:.95rem;max-width:75ch}
h1,h2{font-family:Bahnschrift,"Arial Narrow",Arial,sans-serif;line-height:1.2}
h1{font-size:clamp(26px,4vw,40px);max-width:28ch;letter-spacing:-.02em;margin-top:28px}
.card{border-radius:4px;padding:clamp(18px,3vw,28px);margin:24px 0;box-shadow:0 14px 38px #0000001a}
.branches{gap:10px}
.branches button{background:#171d1d;color:var(--ink);border-radius:3px;min-height:68px}
.branches button small{color:var(--muted)}
.branches button[aria-pressed="true"]{background:#363326;border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
input,select{background:#101716;color:var(--ink);border-color:#74817d;border-radius:3px;min-width:0;min-height:46px}
input::placeholder{color:#a7b1ad;opacity:1}
input{color-scheme:dark}
.grid>* , .ev .row>*{min-width:0}
.btn,.btn.gold{background:var(--gold);color:#0d1110;border-radius:3px;min-height:50px}
.notice{border-color:#8a7648;border-radius:3px;color:var(--ink)}
.notice strong{color:#edcf88}
.total{background:#101716;border:1px solid var(--line);border-radius:3px}
.total .big{font-family:Bahnschrift,"Arial Narrow",Arial,sans-serif}
.status{font-size:1rem;max-width:100%;border-radius:3px}
.status.ok{background:#285a40;color:#fff}.status.bad{background:#922f27;color:#fff}
.pill.ok{background:#244432;color:#b5efd0}.pill.bad{background:#522825;color:#ffd4cb}
.weak{background:#343020;color:var(--ink);border-radius:3px}
.lead{background:#192020;border:1px solid #8a7648;border-top:4px solid var(--gold)}
.lead label{color:var(--ink)}.lead .small{color:var(--muted)}
.disclaimer{background:#1b2221;color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:16px;line-height:1.7}
footer{line-height:1.7}footer li{margin-bottom:12px}
:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
input:focus,select:focus{outline-offset:2px}
th,td{overflow-wrap:anywhere}
@media(max-width:620px){.calculator-brand{gap:12px}.calculator-brand img{width:48px;height:48px;flex-basis:48px}.logo{font-size:22px}.brand-parent{font-size:.6rem;letter-spacing:.07em}.calculator-nav{gap:12px 18px}.card{padding:16px}th,td{padding:8px 4px;font-size:13px}td.pts{white-space:normal}.total .big{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
