/* Office Survivor Club v0 — dark only */
:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --surface: #151517;
  --surface-2: #1C1C1F;
  --line: #2A2A2E;
  --line-2: #3A3A40;
  --text: #F5F3EE;
  --muted: #A3A09A;
  --yellow: #F2B705;
  --yellow-soft: rgba(242, 183, 5, .12);
  --red: #E63946;
  --red-text: #FF6B76;
  --green: #2BB673;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 16px;
  --nav-h: 64px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --glow: 0 0 0 2px var(--bg), 0 0 0 4px var(--yellow), 0 0 18px rgba(242, 183, 5, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--glow); border-radius: var(--radius-sm); }
h1:focus-visible, main:focus-visible { box-shadow: none; }

.sr-only, .sr-clip {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--yellow); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- banner ---------- */
.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
  padding: 8px var(--gutter);
  font-size: 12px; letter-spacing: .04em; color: var(--muted);
  background: linear-gradient(90deg, #121213, #17160F 50%, #121213);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.banner a { color: var(--yellow); font-weight: 600; text-underline-offset: 3px; }
.banner-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.banner-warn { color: var(--red-text); }

/* ---------- shell ---------- */
.shell { min-height: 100vh; }
.main-col { min-width: 0; }
#view {
  max-width: 880px; margin: 0 auto;
  padding: 8px var(--gutter) 32px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; font-size: 9px; color: var(--muted); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); text-transform: uppercase; font-size: 17px; letter-spacing: .02em; }
.brand-sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--yellow); margin-top: 3px; font-weight: 600; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter);
  background: rgba(11, 11, 12, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-link {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center;
}

/* mobile bottom bar */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(16, 16, 18, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav > .brand, .nav-foot { display: none; }
.nav-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.nav-list a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--nav-h); padding: 6px 2px;
  font-size: 11px; font-weight: 500; color: var(--muted); text-decoration: none;
  position: relative; transition: color .15s;
}
.nav-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-list a[aria-current="page"] { color: var(--yellow); }
.nav-list a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--yellow); border-radius: 0 0 2px 2px;
}
.main-col { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); }

body.is-onboard .nav, body.is-onboard .topbar-link { display: none; }
body.is-onboard .main-col { padding-bottom: 0; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
  .topbar { display: none; }
  .nav {
    position: sticky; top: 0; bottom: auto; height: 100vh;
    display: flex; flex-direction: column; gap: 28px;
    padding: 24px 16px; border-top: 0; border-right: 1px solid var(--line);
    background: var(--surface);
  }
  .nav > .brand { display: flex; padding: 0 8px; }
  .nav-list { display: flex; flex-direction: column; gap: 4px; }
  .nav-list a {
    flex-direction: row; justify-content: flex-start; gap: 12px;
    min-height: 46px; padding: 0 14px; border-radius: 12px; font-size: 15px;
  }
  .nav-list a:hover { background: var(--surface-2); color: var(--text); }
  .nav-list a[aria-current="page"] { background: var(--yellow-soft); color: var(--yellow); }
  .nav-list a[aria-current="page"]::before { top: 12px; bottom: 12px; left: 0; right: auto; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
  .nav-foot { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav-foot a { font-size: 13px; color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 10px; }
  .nav-foot a:hover { color: var(--text); background: var(--surface-2); }
  .main-col { padding-bottom: 0; }
  #view { padding: 40px 40px 48px; }
  body.is-onboard .shell { grid-template-columns: 1fr; }
  body.is-onboard .topbar { display: flex; }
}

/* ---------- type ---------- */
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 8vw, 46px); line-height: .98; letter-spacing: .005em;
  overflow-wrap: anywhere;
}
.display.xl { font-size: clamp(40px, 12vw, 72px); }
.display.md { font-size: clamp(22px, 5.5vw, 30px); line-height: 1.02; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.h3 { font-size: 16px; font-weight: 700; letter-spacing: -.005em; }
.lead { color: var(--muted); font-size: 16px; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); }
.link { color: var(--yellow); font-weight: 600; text-decoration: none; font-size: 14px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-head { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }

/* ---------- surfaces ---------- */
.view { display: flex; flex-direction: column; gap: 14px; animation: fadeUp .18s var(--ease); }
.view > .page-head { margin-bottom: 8px; }
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  position: relative;
}
.card > * + * { margin-top: 12px; }
a.card, button.card { transition: border-color .15s, transform .15s, background .15s; }
a.card:hover, button.card:hover { border-color: var(--line-2); background: #18181B; }
button.card { width: 100%; text-align: left; cursor: pointer; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.two { display: grid; gap: 14px; grid-template-columns: 1fr; }
.two > .card + .card, .two > * { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; align-items: flex-end; }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.badge {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--yellow); color: #111;
  font-family: var(--display); font-size: 14px; line-height: 1;
}
.pill {
  font-size: 12px; font-weight: 600; color: var(--yellow);
  border: 1px solid rgba(242, 183, 5, .35); background: var(--yellow-soft);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.empty {
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: #FFC81F; }
.btn-primary:disabled { background: var(--surface-2); color: #77746E; cursor: not-allowed; border-color: var(--line); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--yellow); }
.btn-text { background: transparent; color: var(--muted); padding: 0 10px; }
.btn-text:hover { color: var(--text); }
.btn-text.danger { color: var(--red-text); }
.btn-sm { min-height: 44px; font-size: 14px; padding: 0 14px; }
.btn-lg { min-height: 56px; font-size: 16px; padding: 0 28px; }

.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="search"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; font-size: 16px; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #7E7B75; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(242, 183, 5, .25), 0 0 20px rgba(242, 183, 5, .18); border-radius: 12px; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); }
input[type="file"] { font-size: 14px; color: var(--muted); min-height: 44px; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; margin-right: 12px; cursor: pointer; }
.form > * + * { margin-top: 16px; }
.hint-num { margin-top: 6px !important; color: var(--yellow); }
.hint-num.ok { color: var(--green); }
.hint-num.ok::before { content: "✓ "; }

input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 24px; height: 24px; margin: 10px; border-radius: 7px;
  border: 1.5px solid var(--line-2); background: var(--bg); cursor: pointer;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
input[type="checkbox"]::after { content: ""; width: 6px; height: 11px; border: solid #111; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
input[type="checkbox"]:checked { background: var(--yellow); border-color: var(--yellow); }
input[type="checkbox"]:checked::after { opacity: 1; }
input[type="checkbox"]:disabled { cursor: default; opacity: .85; }
input[type="checkbox"]:focus-visible { box-shadow: var(--glow); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg-btn, .chip, .tab {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s;
}
.seg-btn:hover, .chip:hover, .tab:hover { border-color: var(--muted); }
.seg-btn[aria-pressed="true"], .chip[aria-pressed="true"], .tab[aria-selected="true"] {
  background: var(--yellow); border-color: var(--yellow); color: #111; font-weight: 600;
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; }
.chip-letter { font-family: var(--display); color: var(--yellow); font-size: 15px; }
.chip[aria-pressed="true"] .chip-letter { color: #111; }

/* ---------- onboarding ---------- */
.onboard { display: flex; flex-direction: column; gap: 30px; padding-top: 16px; }
.onboard-hero { display: flex; flex-direction: column; gap: 12px; }
.crest-lg { width: 64px; height: 64px; font-size: 10px; color: var(--muted); }
.step-block { display: flex; flex-direction: column; gap: 14px; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--yellow); color: var(--yellow); font-size: 13px; font-weight: 700; flex: none; }
.cat-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-card { display: flex; flex-direction: column; gap: 10px; min-height: 140px; padding: 20px; }
.cat-card > * + * { margin-top: 0; }
.cat-card-top { display: flex; justify-content: space-between; align-items: center; }
.cat-card .badge { width: 34px; height: 34px; font-size: 20px; border-radius: 8px; }
.cat-name { font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1; }
.cat-desc { font-size: 14px; color: var(--muted); }
.cat-check { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 14px; color: #111; }
.cat-card[aria-pressed="true"] { border-color: var(--yellow); background: linear-gradient(160deg, rgba(242, 183, 5, .10), var(--surface) 55%); }
.cat-card[aria-pressed="true"] .cat-check { background: var(--yellow); border-color: var(--yellow); }
.onboard-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-bottom: 16px; }

/* ---------- home ---------- */
.journey {
  display: flex; align-items: center; gap: 18px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(242, 183, 5, .10), transparent 55%), var(--surface);
}
.journey > * + * { margin-top: 0; }
.journey-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: var(--surface-2); }
.ring-fg { stroke: var(--yellow); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease); filter: drop-shadow(0 0 6px rgba(242, 183, 5, .4)); }
.ring-text { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 34px; gap: 3px; }
.ring-num { font-family: var(--display); font-size: 34px; line-height: 1; }
.ring-of { font-size: 12px; color: var(--muted); }
.weeks { display: flex; gap: 6px; margin-top: 4px; }
.weeks li { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.weeks li.is-past { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.weeks li.is-now { background: var(--yellow); border-color: var(--yellow); color: #111; }
@media (max-width: 400px) { .journey { flex-direction: column; align-items: flex-start; } }

.tasks { display: flex; flex-direction: column; }
.task { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line); min-height: 52px; }
.task:first-child { border-top: 0; }
.task label { flex: 1; padding: 10px 0; cursor: pointer; font-size: 15px; }
.task.is-done label { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(163, 160, 154, .5); }
.task-prog { color: var(--yellow); font-weight: 600; text-decoration: none; display: inline; }
.task-auto { color: var(--green); font-size: 12px; }
.task-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--muted); text-decoration: none; flex: none; }
.task-go:hover { color: var(--yellow); background: var(--surface-2); }
.quick { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .quick { grid-template-columns: repeat(3, 1fr); } }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat > * + * { margin-top: 0; }
.stat-num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--yellow); }
.cta-card { border-style: dashed; border-color: var(--line-2); }
.cta-card > * + * { margin-top: 6px; }

/* ---------- situations ---------- */
.search { position: relative; }
.search input { padding-left: 46px; min-height: 54px; font-size: 16px; background: var(--surface); }
.search-ic { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.sit-card { display: flex; flex-direction: column; gap: 10px; }
.sit-card > * + * { margin-top: 0; }
.sit-card-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sit-card-top .eyebrow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sit-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.sit-hook { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sit-go { font-size: 13px; font-weight: 600; color: var(--yellow); margin-top: auto; }

.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; align-self: flex-start; }
.back:hover { color: var(--text); }
.detail .page-head { margin-top: 4px; }
.hook { font-size: 17px; line-height: 1.5; color: var(--text); border-left: 3px solid var(--yellow); padding: 4px 0 4px 14px; font-style: italic; }
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 20px; font-size: 15px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--muted); }
.card-q .bullets li::before { background: var(--yellow); }
.card-ok { border-top: 2px solid var(--green); }
.card-ok .bullets li::before { background: var(--green); border-radius: 50%; }
.card-no { border-top: 2px solid var(--red); }
.card-no .bullets li::before { background: var(--red); border-radius: 50%; }
.card-warn .bullets li::before { content: "!"; background: none; color: var(--red-text); font-weight: 800; top: 0; width: auto; height: auto; left: 4px; }

.steps { display: flex; flex-direction: column; }
.step { display: flex; align-items: flex-start; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step input { margin-top: 12px; }
.step label { display: flex; gap: 12px; flex: 1; padding: 12px 0; cursor: pointer; font-size: 15px; }
.step-n { font-family: var(--display); color: var(--yellow); font-size: 20px; line-height: 1.1; min-width: 16px; }
.step.is-done label > span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(163, 160, 154, .5); }

.script > * + * { margin-top: 14px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; white-space: nowrap; }
.script-body > * + * { margin-top: 12px; }
.script-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.script-meta .seg-btn { min-width: 52px; }
.quote {
  margin: 0; padding: 18px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 16px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere;
}
.action-bar { border-color: rgba(242, 183, 5, .35); background: linear-gradient(180deg, rgba(242, 183, 5, .06), var(--surface)); }
.action-bar .row.wrap .field { flex: 0 1 220px; }

/* ---------- actions & wins ---------- */
.action > * + * { margin-top: 12px; }
.action.status-siap { opacity: .78; }
.status-pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.s-belum { color: var(--muted); }
.s-proses { color: var(--yellow); border-color: rgba(242, 183, 5, .4); background: var(--yellow-soft); }
.s-siap { color: var(--green); border-color: rgba(43, 182, 115, .4); background: rgba(43, 182, 115, .1); }
.late { color: var(--red-text); font-size: 13px; font-weight: 600; }
.h3 a { text-decoration: none; }
.h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.win > * + * { margin-top: 8px; }
.win-what { font-size: 16px; font-weight: 600; }
.win-result { font-size: 15px; color: var(--muted); }
.win-result.has-num { color: var(--green); font-weight: 600; }
.summary-out { font-family: var(--ui); font-size: 14px; line-height: 1.6; min-height: 300px; background: var(--bg); }

/* ---------- 30-90 ---------- */
.plan-pick { display: flex; flex-direction: column; gap: 8px; }
.plan-pick > * + * { margin-top: 0; }
.plan-pick[aria-pressed="true"] { border-color: var(--yellow); background: linear-gradient(160deg, rgba(242, 183, 5, .10), var(--surface) 60%); }
.plan-pick[aria-pressed="true"] .eyebrow { color: var(--yellow); }
.milestones { display: flex; flex-direction: column; gap: 12px; }
.milestone .card-head { justify-content: flex-start; }
.ms-day { font-family: var(--display); text-transform: uppercase; color: #111; background: var(--yellow); padding: 4px 10px; border-radius: 6px; font-size: 14px; letter-spacing: .02em; }

/* ---------- footer, toast, misc ---------- */
.foot {
  max-width: 880px; margin: 0 auto; padding: 24px var(--gutter) 28px;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
  display: flex; flex-direction: column; gap: 6px;
}
.foot-brand a { color: var(--muted); }
@media (min-width: 900px) { .foot { padding: 24px 40px 32px; } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--text); color: #111; font-size: 14px; font-weight: 600;
  padding: 12px 18px; border-radius: 12px; max-width: calc(100vw - 32px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }
@media (min-width: 900px) { .toast { bottom: 28px; left: calc(50% + 124px); } }

.boot { padding: 48px 0; text-align: center; color: var(--muted); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
