/* Shared presentation only: tool formulas, markup and events remain untouched. */
:root {
  --paper: #ffffff; --type: #000000; --rule: #a6a6a6; --link: #8c2638;
  --bg: var(--paper); --bg-soft: var(--paper); --card: var(--paper);
  --surface: var(--paper); --surface-2: #eeeeee;
  --ink: var(--type); --text: var(--type); --muted: #474747; --faint: #474747;
  --border: var(--rule); --line: var(--rule); --accent: var(--link);
  --accent-soft: var(--link); --accent-glow: transparent;
  --navy: var(--type); --navy-soft: var(--type); --navy-dark: var(--type);
  --gold: var(--type); --good: #474747; --ok: #474747;
  --serif: "Times New Roman", Times, serif; --sans: "Times New Roman", Times, serif;
  --r: 0px;
  color-scheme: light;
}
body { background: var(--paper) !important; color: var(--type) !important; font-family: var(--serif) !important; font-size: 18px; }
body * { font-family: var(--serif) !important; letter-spacing: 0 !important; box-shadow: none !important; }
header, .hero, .cta, .out, .result, .scorehead, .sticky, .sticky-cta, .tabbar, .card, .risk, .stat, .q, .obs, .gap {
  background: var(--paper) !important; color: var(--type) !important; border-radius: 0 !important; backdrop-filter: none !important;
}
header { position: static !important; border-bottom: 1px solid var(--rule); text-align: center; }
.stickybar { background: var(--paper) !important; color: var(--type) !important; border-top: 1px solid var(--rule); backdrop-filter: none !important; }
.stickybar :is(.msg,b) { color: var(--type) !important; }
header .brand { justify-content: center; }
.hero { padding-block: 32px !important; border-bottom: 1px solid var(--rule); }
body :is(h1,h2,h3,p,small,.brand,.kicker,.eyebrow,.score-num,.big,.tier,.phase) { color: var(--type) !important; }
h1 { font-size: 32px !important; line-height: 1.25 !important; }
h2 { font-size: 26px !important; line-height: 1.3 !important; }
body a, body .btn, body .nav-cta { color: var(--link) !important; text-decoration: underline !important; background: var(--paper) !important; border-radius: 0 !important; box-shadow: none !important; }
body :is(button,.btn) { font-size: 17px !important; min-height: 44px; border-radius: 0 !important; background: var(--paper) !important; color: var(--link) !important; text-decoration: underline; }
body :is(.opt,.badge,.out,.result,.card,.q,.scorehead,.gap,.obs,.stat) { border-radius: 0 !important; }
.opt.sel { background: var(--surface-2) !important; border-color: var(--link) !important; font-weight: 700; }
body input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), body select, body textarea { background: var(--paper) !important; color: var(--type) !important; font-size: 17px !important; border: 1px solid var(--rule) !important; border-radius: 0 !important; min-height: 44px; }
body th { background: var(--surface-2) !important; color: var(--type) !important; }
.fill, .progress { background: var(--link) !important; }
.track, .meter { background: var(--surface-2) !important; }
.brand .dot { display: none; }
.btn:hover { transform: none !important; }
@media(max-width:600px) { body { font-size: 17px; } h1 { font-size: 28px !important; } }