/* Stark Warden: Stark family styling. Neutrals shared with the family; accent is Warden Violet. */
:root {
  color-scheme: light dark;
  --bg: #f6f4ee; --surface: #ffffff; --surface2: #eeeae0; --text: #18211d; --muted: #55615a; --border: #dcd8cc; --border-strong: #77837c;
  --accent: #5b3fa6; --accent-hover: #4a3290; --on-accent: #ffffff; --accent-soft: #ebe6f7; --gold: #7f5c1c;
  --ok: #1a6b4f; --ok-bg: #e3f2ec; --caution: #7f5c1c; --caution-bg: #f7eed7; --high: #a3402a; --high-bg: #f8e4de; --severe: #b3261e; --severe-bg: #f9dedc;
  --focus: #5b3fa6; --radius: 10px; --radius-lg: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1412; --surface: #16201c; --surface2: #1d2a24; --text: #e7efe9; --muted: #9fb0a6; --border: #2a3731; --border-strong: #5c6d64;
    --accent: #a592e8; --accent-hover: #bcaef0; --on-accent: #0e1412; --accent-soft: #2a2447; --gold: #c9963b;
    --ok: #3dbb8c; --ok-bg: #12301f; --caution: #d9a441; --caution-bg: #33290f; --high: #f08f72; --high-bg: #3a2018; --severe: #f07a72; --severe-bg: #3d1a18; --focus: #bcaef0;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1412; --surface: #16201c; --surface2: #1d2a24; --text: #e7efe9; --muted: #9fb0a6; --border: #2a3731; --border-strong: #5c6d64;
  --accent: #a592e8; --accent-hover: #bcaef0; --on-accent: #0e1412; --accent-soft: #2a2447; --gold: #c9963b;
  --ok: #3dbb8c; --ok-bg: #12301f; --caution: #d9a441; --caution-bg: #33290f; --high: #f08f72; --high-bg: #3a2018; --severe: #f07a72; --severe-bg: #3d1a18; --focus: #bcaef0;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
:root.large { font-size: 125%; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); padding-inline: 16px; }
.offscreen { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 2rem; } h2 { font-size: 1.55rem; margin-top: .5rem; } h3 { font-size: 1.2rem; } h4 { font-size: 1.05rem; margin-top: 1rem; }
p { margin: 0 0 .8rem; }
.lead { font-size: 1.08rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; color: var(--muted); }
code { font-family: var(--mono); font-size: .92em; word-break: break-all; }
q { quotes: "“" "”"; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: .5rem 1rem; border: 0; z-index: 99; }
.skip-link:focus { left: 8px; top: 8px; }

.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 1100px; margin: 0 auto; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.brand-by { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mainnav { display: flex; flex-wrap: wrap; gap: 4px; order: 3; flex: 1 1 100%; padding-top: 2px; }
.mainnav a, .gear { text-decoration: none; padding: .45rem .62rem; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .92rem; border: 1px solid transparent; }
.mainnav a:hover, .gear:hover { background: var(--surface2); color: var(--text); }
.mainnav a.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.gear { color: var(--muted); font-weight: 500; }

main { max-width: 1100px; margin: 0 auto; padding-block: 8px 40px; outline: none; }
.hero { padding: 28px 0 10px; max-width: 760px; }
.hero h1 { font-size: 2.3rem; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; margin: 0 0 16px; }
.card > h3:first-child { margin-top: 0; }
.card.result { border-color: var(--accent); }
.notice { border-left: 4px solid var(--border-strong); background: var(--surface2); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; margin: 12px 0; font-size: .93rem; }
.notice.warn { border-left-color: var(--caution); background: var(--caution-bg); }
.notice.legal { border-left-color: var(--gold); }
.notice.soft { border-left-color: var(--accent); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); }
.tile:hover { border-color: var(--accent); color: var(--text); }
.tile strong { color: var(--accent); }
.tile span { font-size: .9rem; color: var(--muted); }
.tiles.big .tile { padding: 20px; }
.tiles.big .tile strong { font-size: 1.15rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.chip { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--text); background: var(--surface); }
.chip:hover, .chip.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.lgroup { margin-bottom: 8px; }

.subtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border); margin: 0 0 16px; padding-bottom: 8px; }
.subtabs a { text-decoration: none; padding: .4rem .85rem; border-radius: var(--radius); color: var(--muted); font-weight: 600; font-size: .92rem; }
.subtabs a:hover { color: var(--text); background: var(--surface2); }
.subtabs a.active { background: var(--accent); color: var(--on-accent); }

.btn { font: inherit; font-weight: 600; cursor: pointer; padding: .55rem 1rem; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); text-decoration: none; display: inline-block; }
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.small { padding: .3rem .7rem; font-size: .86rem; }
.btn.danger { color: var(--severe); border-color: var(--severe); }
.btn.big { font-size: 1.3rem; padding: .9rem 1.6rem; }
.btn[disabled] { opacity: .5; cursor: default; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 0; }
.row.between { justify-content: space-between; }

input[type=text], input[type=date], input[type=number], input[type=password], input[type=search], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: .55rem .7rem;
}
textarea { resize: vertical; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; margin: 10px 0; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field.wide { grid-column: 1 / -1; }
.field.check { flex-direction: row; align-items: flex-start; gap: 8px; }
.field.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field.check label { font-weight: 400; }
.hint { font-size: .8rem; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; margin: 10px 0; }

/* risk meter */
.meter { margin: 4px 0 12px; }
.segs { display: flex; gap: 6px; margin-bottom: 8px; }
.seg { flex: 1; height: 10px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--border); }
.meter.lv-low .seg.on { background: var(--ok); border-color: var(--ok); }
.meter.lv-caution .seg.on { background: var(--caution); border-color: var(--caution); }
.meter.lv-high .seg.on { background: var(--high); border-color: var(--high); }
.meter.lv-severe .seg.on { background: var(--severe); border-color: var(--severe); }
.meter-label { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.glyph { display: inline-flex; align-items: center; justify-content: center; min-width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid currentColor; font-weight: 800; font-size: .85rem; }
.lv-low .meter-label, .meter.lv-low .meter-label { color: var(--ok); }
.meter.lv-caution .meter-label { color: var(--caution); } .meter.lv-high .meter-label { color: var(--high); } .meter.lv-severe .meter-label { color: var(--severe); }
.badge { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; border: 1px solid currentColor; }
.badge.lv-low { color: var(--ok); background: var(--ok-bg); } .badge.lv-caution { color: var(--caution); background: var(--caution-bg); }
.badge.lv-high { color: var(--high); background: var(--high-bg); } .badge.lv-severe { color: var(--severe); background: var(--severe-bg); }

.flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flag { border: 1px solid var(--border); border-left-width: 5px; border-radius: var(--radius); padding: 10px 14px; background: var(--bg); }
.flag.w1 { border-left-color: var(--border-strong); } .flag.w2 { border-left-color: var(--caution); } .flag.w3 { border-left-color: var(--caution); }
.flag.w4 { border-left-color: var(--high); } .flag.w5 { border-left-color: var(--severe); }
.flag p { margin: 4px 0 0; font-size: .93rem; }
.flag-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.dots { color: var(--muted); letter-spacing: 2px; font-size: .75rem; white-space: nowrap; }
.ev { color: var(--muted); }
.steps { padding-left: 1.2rem; } .steps li { margin-bottom: .35rem; }

.linkpanel { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin: 8px 0; background: var(--bg); }
.addr { display: block; padding: 10px 12px; background: var(--surface2); border-radius: var(--radius); margin: 6px 0 10px; font-size: 1.05rem; overflow-wrap: anywhere; }
.addr .dim { color: var(--muted); } .addr .real { color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ok { color: var(--ok); } .warn-text { color: var(--high); }

.verdict { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; margin: 12px 0; }
.verdict.lv-low { border-color: var(--ok); background: var(--ok-bg); } .verdict.lv-caution { border-color: var(--caution); background: var(--caution-bg); }
.verdict.lv-high { border-color: var(--high); background: var(--high-bg); } .verdict.lv-severe { border-color: var(--severe); background: var(--severe-bg); }
.checkrow { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid var(--border); }
.checkrow input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; }
.checkrow .sub { display: block; font-size: .9rem; color: var(--muted); }

pre.doc { white-space: pre-wrap; word-wrap: break-word; font: 14px/1.5 var(--mono); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; max-height: 560px; overflow: auto; }
textarea.doc { font: 13px/1.5 var(--mono); }
.copyline { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 6px 10px; background: var(--surface2); border-radius: var(--radius); margin: 4px 0; }
.srcrow { padding: 8px 0; border-bottom: 1px solid var(--border); }
.logrow { display: block; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); margin: 8px 0; background: var(--bg); }
.logrow.flagged { border-left: 5px solid var(--high); }
.logrow .btn { margin-left: 8px; }
.dated { list-style: none; padding: 0; margin: 0 0 10px; } .dated li { padding: 6px 0; border-bottom: 1px solid var(--border); } .dated .soon strong { color: var(--high); } .dated .past { color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; } .stats > div { flex: 1 1 140px; background: var(--surface2); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-direction: column; }
.stats strong { font-size: 1.4rem; font-family: var(--display); } .stats span { font-size: .85rem; color: var(--muted); } .stats .neg strong { color: var(--severe); }
.tablewrap { overflow-x: auto; margin: 8px 0; } table { border-collapse: collapse; width: 100%; font-size: .92rem; } th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--border); } th { background: var(--surface2); }
details > summary { cursor: pointer; font-weight: 600; margin: 8px 0; }

.bubble { margin: 12px 0; padding: 14px 18px; background: var(--surface2); border-radius: 18px 18px 18px 4px; border: 1px solid var(--border); font-size: 1.1rem; }
.family { font-size: 1.25rem; }
.family .big, .family label.big { font-size: 1.35rem; font-weight: 600; }
.family textarea, .family input[type=text] { font-size: 1.3rem; }
.family .card { padding: 22px; }
.verdict-big { border: 3px solid; border-radius: var(--radius-lg); padding: 18px 22px; margin: 16px 0; }
.verdict-big h3 { font-size: 1.9rem; margin: 0 0 8px; }
.verdict-big.stop { border-color: var(--severe); background: var(--severe-bg); } .verdict-big.careful { border-color: var(--caution); background: var(--caution-bg); } .verdict-big.ok { border-color: var(--ok); background: var(--ok-bg); }
.qrow { padding: 10px 0; border-bottom: 1px solid var(--border); } .qrow.yes { background: var(--severe-bg); } .qrow.no { background: var(--ok-bg); }

.footer { max-width: 1100px; margin: 0 auto; padding: 18px 0 30px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--accent); color: var(--on-accent); padding: .6rem 1.1rem; border-radius: 999px; max-width: 92vw; font-weight: 600; z-index: 50; text-align: center; }

@media (max-width: 640px) {
  h1, .hero h1 { font-size: 1.7rem; }
  .mainnav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .mainnav a { white-space: nowrap; }
  .card { padding: 14px; }
}
/* ================= Warden 2.0 ================= */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.btn.small { min-height: 36px; }
.pressnav { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: .9rem; padding: .5rem .9rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); white-space: nowrap; }
.pressnav:hover { background: var(--accent); color: var(--on-accent); }
.langbtn { font: inherit; font-size: .86rem; font-weight: 600; background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: .4rem .8rem; cursor: pointer; min-height: 36px; }
.langbtn:hover { color: var(--text); border-color: var(--accent); }
.footlinks a { color: var(--muted); }
.notice.mt { font-size: .88rem; }
/* 2.2: the first-run "United States only" note, and right-to-left fixes for parts the shared language rules do not know */
.usnote p { margin: .3em 0; }
.usnote strong { display: block; margin-bottom: .2em; }
.usnote .row { margin-top: .5em; }
[dir="rtl"] .skip-link:not(:focus) { left: auto; right: -999px; }
/* English left on purpose inside a right-to-left page keeps its own direction, so a full stop or question mark stays at the end */
:where([dir="rtl"]) :where(#main, .footer, .topbar) :where(span, strong, em, a, button, .notice, .lead) { unicode-bidi: plaintext; }
:where([dir="rtl"]) :where(textarea, input)::placeholder { unicode-bidi: plaintext; }
[dir="rtl"] .notice { border-left: 0; border-right: 4px solid var(--border-strong); border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] .notice.warn { border-right-color: var(--caution); } [dir="rtl"] .notice.legal { border-right-color: var(--gold); } [dir="rtl"] .notice.soft { border-right-color: var(--accent); }

.hero2 { padding: 26px 0 8px; max-width: 820px; }
.hero2 h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 14px; }
.hero2 h1 span { display: block; }
.hero2 h1 .l2 { color: var(--accent); }
.hero2 h1 .l3 { font-size: .62em; color: var(--muted); font-weight: 500; margin-top: 6px; }
.hero2 .lead { font-size: 1.15rem; max-width: 680px; }
.hero2.small-hero h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.sect { margin-top: 22px; }
.pressbig { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--text); background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 20px 22px; margin: 18px 0 8px; min-height: 84px; }
.pressbig:hover { color: var(--text); background: var(--accent-soft); }
.pressbig strong { display: block; font-size: 1.35rem; font-family: var(--display); color: var(--accent); }
.pressbig .pb-text span { color: var(--muted); }
.pulse { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(165, 146, 232, .55); } 70% { box-shadow: 0 0 0 16px rgba(165, 146, 232, 0); } 100% { box-shadow: 0 0 0 0 rgba(165, 146, 232, 0); } }
.winsline { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 700; text-decoration: none; color: var(--ok); }
.winsline .tk, .win .check, .path .dot { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: var(--surface); font-weight: 800; flex: none; }
.tiles.choices { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.choices .tile { min-height: 96px; }
.dignity { font-family: var(--display); font-size: 1.15rem; border-left: 4px solid var(--gold); padding: 6px 0 6px 16px; margin: 8px 0 18px; max-width: 760px; }
.card.limits { border-color: var(--gold); }

.r60 .r60-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.r60 .r60-head h2 { margin: 0; }
.clock { flex: none; font-weight: 800; font-size: .85rem; border: 2px solid var(--accent); color: var(--accent); border-radius: 50%; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.r60 .who { background: var(--surface2); border-radius: var(--radius); padding: 10px 14px; font-size: .95rem; }
.r60-list { padding-left: 1.4rem; margin: 10px 0; }
.r60-list li { margin: 0 0 12px; padding-left: 4px; }
.r60-list li::marker { color: var(--accent); font-weight: 800; }
.r60-t { font-size: 1.08rem; margin: 0 0 2px; }
.src { display: block; font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.src-k { font-weight: 700; }

.now h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); line-height: 1.15; }
.now .lead { font-size: 1.25rem; }
.now-top { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; margin: 14px 0 18px; }
.breathe { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; }
.orb-wrap { width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; flex: none; }
.orb { width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--accent-hover), var(--accent)); opacity: .85; transform: scale(.62); transition: transform 4s ease-in-out; }
.orb.in { transform: scale(1); transition-duration: 4s; }
.orb.hold { transform: scale(1); }
.orb.out { transform: scale(.62); transition-duration: 6s; }
.breath-label { font-size: 1.3rem; font-weight: 700; min-width: 9ch; margin-bottom: 8px; }
.sd .card h2 { font-size: 1.5rem; }
.saylist, .dontlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.saylist li, .dontlist li { position: relative; padding: 12px 14px 12px 48px; border-radius: var(--radius); font-size: 1.15rem; line-height: 1.4; background: var(--bg); border: 1px solid var(--border); }
.saylist li::before, .dontlist li::before { position: absolute; left: 12px; top: 11px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; }
.saylist li::before { content: "\2713"; background: var(--ok); color: var(--surface); }
.dontlist li::before { content: "\2715"; background: var(--severe); color: var(--surface); }
.saylist .q { font-weight: 600; }
.endcall { border: 2px solid var(--accent); }
.script { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.35; margin: 6px 0 10px; }
.big-sub { font-size: 1.15rem; font-weight: 700; }
.bigbtns .btn { font-size: 1.05rem; padding: .7rem 1.1rem; }
.callperson { font-size: 1.35rem; }

.chat { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 14px; }
.msg { max-width: 78%; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--border); font-size: 1.08rem; }
.msg p { margin: 0; }
.msg.them { align-self: flex-start; background: var(--surface2); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--accent-soft); border-color: var(--accent); border-bottom-right-radius: 4px; }
.tactic { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--high); margin-bottom: 4px; }
.sim-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.sim-head h2 { margin: 2px 0; }
.sim-intro { color: var(--muted); margin: 10px 0 0; }
.conf { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.conf-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.conf-track { flex: 1; height: 12px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--border); overflow: hidden; min-width: 110px; }
.conf-fill { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width .6s ease; }
.conf-num { font-size: 1.4rem; font-family: var(--display); min-width: 2.4ch; text-align: right; }
.conf-fill.w0 { width: 0%; } .conf-fill.w5 { width: 5%; } .conf-fill.w10 { width: 10%; } .conf-fill.w15 { width: 15%; } .conf-fill.w20 { width: 20%; } .conf-fill.w25 { width: 25%; } .conf-fill.w30 { width: 30%; } .conf-fill.w35 { width: 35%; } .conf-fill.w40 { width: 40%; } .conf-fill.w45 { width: 45%; } .conf-fill.w50 { width: 50%; } .conf-fill.w55 { width: 55%; } .conf-fill.w60 { width: 60%; } .conf-fill.w65 { width: 65%; } .conf-fill.w70 { width: 70%; } .conf-fill.w75 { width: 75%; } .conf-fill.w80 { width: 80%; } .conf-fill.w85 { width: 85%; } .conf-fill.w90 { width: 90%; } .conf-fill.w95 { width: 95%; } .conf-fill.w100 { width: 100%; }
.replies { display: grid; gap: 10px; }
.opt { font: inherit; font-size: 1.05rem; text-align: left; cursor: pointer; padding: 14px 16px; min-height: 56px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.opt:hover, .opt:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.own { margin-top: 12px; }
.live .chips { margin: 8px 0 4px; }
.chip.good { border-color: var(--ok); color: var(--ok); background: var(--ok-bg); }
.chip.bad { border-color: var(--high); color: var(--high); background: var(--high-bg); }
.coach { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; background: var(--surface); }
.coach.lv-low { border-color: var(--ok); } .coach.lv-caution { border-color: var(--caution); } .coach.lv-high { border-color: var(--high); }
.coach-head { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 6px; }
.coach.lv-low .coach-head { color: var(--ok); } .coach.lv-caution .coach-head { color: var(--caution); } .coach.lv-high .coach-head { color: var(--high); }
.stronger q { font-weight: 600; }
.rule { background: var(--surface2); border-radius: var(--radius); padding: 10px 14px; margin: 10px 0 14px; }
.rule p { margin: 0 0 4px; }
.bigscore { font-size: 1.2rem; } .bigscore strong { font-size: 3rem; font-family: var(--display); color: var(--accent); }
.turns { list-style: none; padding: 0; display: grid; gap: 6px; }
.sims .tile { gap: 8px; } .bestscore { font-size: .9rem; font-weight: 700; color: var(--ok); } .bestscore.muted { color: var(--muted); font-weight: 500; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 0; list-style: none; margin: 6px 0 16px; }
.how li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }

.progress { display: flex; gap: 6px; margin: 8px 0 14px; } .progress span { flex: 1; height: 8px; border-radius: 4px; background: var(--surface2); border: 1px solid var(--border); } .progress span.on { background: var(--accent); border-color: var(--accent); }
.card.step h2 { font-size: 1.6rem; }
.bigchoices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 12px 0; }
.bigchoice { font: inherit; font-size: 1.15rem; font-weight: 700; cursor: pointer; min-height: 72px; padding: 14px 16px; border-radius: var(--radius-lg); border: 2px solid var(--border-strong); background: var(--surface); color: var(--text); display: flex; align-items: center; gap: 12px; text-align: left; }
.bigchoice:hover, .bigchoice.on { border-color: var(--accent); background: var(--accent-soft); }
.bigchoice .ic { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface2); font-weight: 800; flex: none; }
.bigchoice.stop { border-color: var(--severe); } .bigchoice.stop .ic { background: var(--severe); color: var(--surface); }
.bigchoice.ok .ic { background: var(--ok); color: var(--surface); }
.tickgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; margin: 10px 0; }
.tick { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); cursor: pointer; }
.tick input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; }
.tick.on { border-color: var(--accent); background: var(--accent-soft); }
.plan { list-style: none; padding: 0; counter-reset: plan; }
.plan li { display: flex; gap: 16px; align-items: center; justify-content: space-between; counter-increment: plan; }
.plan li h3::before { content: counter(plan) ". "; color: var(--accent); }
.plan li.urgent { border-left: 5px solid var(--high); }
.plan li p { margin: 0; color: var(--muted); }
.story { margin: 8px 0; padding: 12px 16px; background: var(--surface2); border-radius: var(--radius); }
.lbl { display: block; font-weight: 600; margin: 10px 0 4px; }

.trilist { display: grid; gap: 8px; }
.tri { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tri > div:first-child { flex: 1 1 260px; }
.seg3 { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.seg3 span { display: flex; }
.seg3 input { position: absolute; opacity: 0; pointer-events: none; }
.seg3 label { padding: .5rem .9rem; min-height: 40px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: .92rem; border-right: 1px solid var(--border); }
.seg3 span:last-child label { border-right: 0; }
.seg3 input:checked + label { background: var(--accent); color: var(--on-accent); }
.seg3 input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: -3px; }
.vhead { font-size: 1.2rem; }

.hl { margin: 8px 0; padding: 14px 16px; background: var(--surface2); border-radius: var(--radius); white-space: pre-wrap; line-height: 1.7; }
mark.flag-hit { background: var(--high-bg); color: var(--text); border-bottom: 2px solid var(--high); border-radius: 3px; padding: 0 2px; }
.scoreline { margin: 0 0 8px; }

.chartwrap { overflow-x: auto; margin: 6px 0; }
.wchart { max-width: 100%; height: auto; display: block; }
.wchart .grid { stroke: var(--border); stroke-width: 1; }
.wchart .base { stroke: var(--border-strong); stroke-width: 1; }
.wchart .ref { stroke: var(--gold); stroke-width: 1; }
.wchart .axis { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.wchart .refl { fill: var(--gold); font-weight: 700; }
.wchart .val { fill: var(--text); font-size: 12px; font-weight: 700; font-family: var(--font); }
.wchart .bar { fill: var(--accent); }
.wchart .over .bar { fill: var(--severe); }
.wchart .hit { fill: transparent; }
.wchart g:hover .bar { opacity: .8; }
.tl { list-style: none; padding: 0 0 0 18px; margin: 8px 0; border-left: 2px solid var(--border); }
.tl li { position: relative; padding: 6px 0 10px 14px; }
.tl li::before { content: ""; position: absolute; left: -25px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); }
.tl li.flagged::before { background: var(--severe); border-color: var(--severe); }
.tl li.mile::before { background: var(--gold); border-color: var(--gold); }
.tl .when { display: block; font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.tl-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.packet-head h2 { margin-bottom: 2px; }
.card.empty { text-align: center; padding: 30px 20px; }

.path { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.path li { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.path li .dot { background: var(--surface2); border: 2px solid var(--border-strong); }
.path li.lit { border-color: var(--ok); background: var(--ok-bg); }
.path li.lit .dot { background: var(--ok); border-color: var(--ok); }
.wingrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.win { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--ok); animation: rise .5s ease both; }
.win p { margin: 2px 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stepcards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; counter-reset: sc; }
.stepcards li { counter-increment: sc; margin: 0; }
.stepcards h3::before { content: counter(sc) ". "; color: var(--accent); }
.care { border-color: var(--accent); font-size: 1.05rem; }

.facts { list-style: none; padding: 0; display: grid; gap: 10px; }
.facts li { padding: 10px 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.stage h3 { display: flex; align-items: center; gap: 10px; }
.stepnum { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-family: var(--font); font-size: .95rem; flex: none; }
.stage.key { border: 2px solid var(--accent); }
.scripts { display: grid; gap: 8px; margin: 6px 0 10px; }
.scriptline { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 14px; background: var(--accent-soft); border-radius: var(--radius); }
.scriptline q { font-weight: 600; flex: 1 1 260px; }
.alarm { border: 2px solid var(--severe); background: var(--severe-bg); }
.nextwarn { border: 2px solid var(--severe); background: var(--severe-bg); border-radius: var(--radius); padding: 12px 16px; margin: 12px 0; }
.nextwarn h4 { margin-top: 0; color: var(--severe); }
.truth { border-left: 4px solid var(--ok); padding: 4px 0 4px 14px; margin: 12px 0; }
.freeze { display: grid; grid-template-columns: 1fr 180px; gap: 8px 16px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.freeze .copyline { grid-column: 1 / -1; }

.family.simple .bigchoices { grid-template-columns: 1fr; }
.family.simple .bigchoice { font-size: 1.6rem; min-height: 96px; }
.huge { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; margin: 4px 0; overflow-wrap: anywhere; }
.huge.num { font-family: var(--mono); letter-spacing: .02em; }
.tcard { max-width: 420px; border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--surface); }
.tc-title { font-weight: 700; font-size: 1.1rem; } .tc-name { font-size: 2rem; font-weight: 800; margin: 0; overflow-wrap: anywhere; } .tc-phone { font-size: 1.6rem; font-family: var(--mono); }
.tc-code { margin-top: 14px; } .tc-foot { font-style: italic; color: var(--muted); }
.fridge { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fcard { border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.fc-title { font-family: var(--display); font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.fcard.f0 .fc-title { color: var(--severe); }
.fcard p { font-size: 1.15rem; }
.fcard p.fc-foot { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin: 8px 0 0; }

@media (max-width: 760px) {
  .now-top { grid-template-columns: 1fr; }
  .path { grid-template-columns: repeat(2, 1fr); }
  .plan li { flex-direction: column; align-items: stretch; }
  .msg { max-width: 92%; }
}
@media (max-width: 640px) {
  .topbar { gap: 8px 10px; }
  .pressnav { font-size: .85rem; padding: .45rem .75rem; }
  .pressbig { padding: 16px; gap: 14px; }
  .pressbig strong { font-size: 1.2rem; }
  .fridge { grid-template-columns: 1fr; }
  .freeze { grid-template-columns: 1fr; }
  .orb-wrap, .orb { width: 84px; height: 84px; }
  .conf { min-width: 0; width: 100%; }
  .opt { font-size: 1rem; }
  .saylist li, .dontlist li { font-size: 1.05rem; }
}
@media print {
  .print-area .wchart .bar { fill: #555; } .print-area .wchart .over .bar { fill: #000; }
  .print-area .wchart .axis, .print-area .wchart .val { fill: #000; }
  .print-area .fcard, .print-area .tcard { border-color: #000; background: #fff; color: #000; break-inside: avoid; }
  .print-area mark.flag-hit { background: #eee; color: #000; }
}
@media print {
  body { background: #fff; color: #000; padding: 0; }
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; border: 0; background: #fff; color: #000; }
  .print-area .noprint, .print-area .btn, .print-area .row { display: none; }
  .print-area pre.doc { max-height: none; overflow: visible; border: 0; background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---------- power tools: call copilot, evidence seal, trusted circle, command palette ---------- */
button.chip { font: inherit; font-size: .9rem; cursor: pointer; }
kbd { font: 600 .72rem var(--mono); border: 1px solid var(--border-strong); border-radius: 4px; padding: 0 .3rem; margin-left: .25rem; }
.clock { font: 700 3.4rem/1 var(--mono); letter-spacing: .02em; margin: 10px 0 4px; color: var(--accent); }
.weekline { font-size: .93rem; color: var(--muted); margin: 0 0 6px; }
.saidlist { margin: 8px 0; padding-left: 1.3rem; }
.card.reply { border-left: 4px solid var(--caution); }
.card.reply.newest { border-left-color: var(--accent); background: var(--accent-soft); }
.card.reply .script { font-size: 1.15rem; font-weight: 600; margin: 8px 0; }
.sealcode { font: 700 1.9rem/1.2 var(--mono); letter-spacing: .04em; margin: 6px 0; word-break: break-all; }
.seal-state { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 8px 14px; margin: 10px 0; }
.seal-state.ok { border-color: var(--ok); background: var(--ok-bg); }
.seal-state.chg { border-color: var(--caution); background: var(--caution-bg); }
.seal-state p { margin: 4px 0; }
.sharecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.sharecard { margin: 0; }
.sharecode { display: block; font: 600 .92rem/1.5 var(--mono); word-break: break-all; margin: 8px 0; padding: 8px; background: var(--bg); border: 1px dashed var(--border-strong); border-radius: var(--radius); user-select: all; }
.pal-back { position: fixed; inset: 0; background: rgba(5, 8, 7, .62); z-index: 50; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.palette { width: min(640px, 100%); background: var(--surface); color: var(--text); border: 1px solid var(--accent); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.pal-in { width: 100%; font: inherit; font-size: 1.1rem; padding: 16px 18px; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--border); outline: none; }
.pal-in:focus-visible { box-shadow: inset 0 -3px 0 var(--focus); }
.pal-list { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.pal-item { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: var(--radius); cursor: pointer; }
.pal-item.on { background: var(--accent-soft); outline: 2px solid var(--accent); outline-offset: -2px; }
.pal-item.answer .pal-title { font-weight: 700; }
.pal-kind { flex: none; min-width: 5.2rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pal-none { padding: 12px; color: var(--muted); }
.pal-hint { margin: 0; padding: 8px 14px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); }
@media (max-width: 640px) { .clock { font-size: 2.6rem; } .sealcode { font-size: 1.4rem; } .pal-back { padding-top: 4vh; } }
.toast.bad { background: var(--severe-bg); color: var(--text); border: 2px solid var(--severe); display: flex; gap: 12px; align-items: center; border-radius: var(--radius); bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
.toast-x { font: inherit; font-size: .88rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.field-error { color: var(--severe); font-weight: 600; font-size: .9rem; margin: .3rem 0 0; }
[aria-invalid="true"] { border-color: var(--severe) !important; }
.wchart.heat { width: 100%; max-width: 720px; height: auto; }
.hm { fill: var(--surface2); stroke: var(--border); stroke-width: 1; }
.hm.h1 { fill: var(--accent); fill-opacity: .25; } .hm.h2 { fill: var(--accent); fill-opacity: .45; } .hm.h3 { fill: var(--accent); fill-opacity: .7; } .hm.h4 { fill: var(--accent); fill-opacity: 1; }
.hm.odd.h1, .hm.odd.h2, .hm.odd.h3, .hm.odd.h4 { fill: var(--severe); }
.hm-window { fill: none; stroke: var(--ok); stroke-width: 2; stroke-dasharray: 6 4; }
.insights { margin: 0 0 .8rem; padding-left: 1.2rem; } .insights li { margin: .25rem 0; }
.budget { border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem .9rem; margin: .6rem 0; background: var(--surface); }
.budget.hot { border-color: var(--severe); }
.budget progress { display: block; width: 100%; height: 12px; margin: .3rem 0; accent-color: var(--accent); }
.budget-clock { margin: .3rem 0 0; font-weight: 600; } .budget-clock.hot { color: var(--severe); }
.autosave-state { font-weight: 600; }

.trial-badge { background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.trial-strip { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; color: var(--text); }

/* stark-wm: Stark wordmark (CSS mask, follows the text colour; solid cut for sizes under 24 px) */
.stark-wm{display:inline-block;vertical-align:middle;width:72.2px;height:14px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTUuOTMzIDEwMCIgd2lkdGg9IjUxNS45IiBoZWlnaHQ9IjEwMCI+PHRpdGxlPlN0YXJrPC90aXRsZT48ZGVmcz48Y2xpcFBhdGggaWQ9IndtayI+PHJlY3QgeD0iLTIwMCIgeT0iMCIgd2lkdGg9IjkxNS45IiBoZWlnaHQ9IjEwMCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCN3bWspIiBmaWxsPSJub25lIiBzdHJva2U9IiNFOUVERjIiIHN0cm9rZS13aWR0aD0iNi42IiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGcgaWQ9IlMiPjxwYXRoIGQ9Ik01MS4zMTUgMTUuNjg4IEEyNS41MDAgMjMuMzUwIDAgMCAwIDYuOTQyIDE0LjYyNCBBMjUuNTAwIDIzLjM1MCAwIDAgMCAyOC44MDAgNTAuMDA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UoNDUzLjIxMyAwKSIvPjxwYXRoIGQ9Ik0yMy4zNjEgMzYuNDAwIEw3MS4xOTMgMTIwLjAwMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUzLjIxMyAwKSIvPjwvZz48L2c+PC9zdmc+") no-repeat left center/contain;text-transform:none;letter-spacing:normal;flex:none}
.stark-wm{forced-color-adjust:none}
/* languages (apply_languages.py) */
.lang-pick { max-width: 10em; font: inherit; font-size: .85rem; padding: 5px 8px; border-radius: 9px; border: 1px solid var(--line, currentColor); background: var(--panel, transparent); color: var(--text, inherit); cursor: pointer; flex: none; }
.lang-pick:focus-visible { outline: 2px solid var(--focus, var(--accent, currentColor)); outline-offset: 2px; }
@media (max-width: 600px) { .lang-pick { max-width: 7.5em; font-size: .8rem; padding: 4px 6px; } }
[dir="rtl"] .topbar, [dir="rtl"] .mainnav, [dir="rtl"] .top, [dir="rtl"] #nav { direction: rtl; }
[dir="rtl"] .skip:not(:focus) { left: auto; right: -999px; }
:where([dir="rtl"]) :where(p, li, dd, dt, td, th, h1, h2, h3, h4, label, legend, summary, option, .badge, .chip) { unicode-bidi: plaintext; text-align: -webkit-match-parent; text-align: match-parent; }
html:not([lang="en"]) .badge, html:not([lang="en"]) .chip { white-space: normal; }
html:not([lang="en"]) .who label, html:not([lang="en"]) .filter label { white-space: nowrap; }
.lang-note { margin: 0; padding: 6px 22px; font-size: .82rem; line-height: 1.4; color: var(--muted, inherit); text-align: center; border-bottom: 1px solid var(--line, currentColor); }
.card .lang-note, .hero .lang-note { padding: 0; border: 0; text-align: start; margin: .4em 0; }
html[lang="en"] .lang-note, html:not([lang]) .lang-note { display: none; }
@media print { .lang-note, .lang-pick { display: none; } }
/* end languages (apply_languages.py) */
