/* Servicebound design tokens: cool paper ground, ink, red accent. Light + dark. */
:root {
  color-scheme: light;
  --ground: #F3F5F9; --surface: #FFFFFF; --surface-2: #F7F9FC; --ink: #0E1A33; --muted: #5B6478; --line: #DDE2EC;
  --accent: #C8102E; --accent-2: #9E0B22; --accent-ink: #FFFFFF; --accent-soft: #FCE4E8;
  --navy: #12295A; --navy-soft: #E4EAF6;
  --good: #1A6B40; --good-soft: #DCF0E3; --warn: #845210; --warn-soft: #F7EAD2; --bad: #C8102E; --bad-soft: #FBE1E5;
  --chip: #E8ECF3; --shadow: 0 1px 2px rgba(14,26,51,.05), 0 10px 28px -12px rgba(14,26,51,.18);
  --night: #0B1733; --night-2: #13254D; --night-ink: #F2F5FB; --night-muted: #AEB9D0; --night-line: rgba(255,255,255,.12);
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #070D1C; --surface: #0F1830; --surface-2: #14203C; --ink: #E9EDF6; --muted: #9AA6BF; --line: #22304F;
    --accent: #F0384F; --accent-2: #C8102E; --accent-ink: #FFFFFF; --accent-soft: #3A1220;
    --navy: #8FA8DC; --navy-soft: #1A2849;
    --good: #5DB685; --good-soft: #13301F; --warn: #D9A445; --warn-soft: #33280F; --bad: #F0384F; --bad-soft: #3A1220;
    --chip: #1A2849; --shadow: 0 1px 2px rgba(0,0,0,.4);
    --night: #050A17; --night-2: #0B1733;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html, body { overflow-x: clip; }
body { background: radial-gradient(1100px 420px at 50% 0, rgba(18,41,90,.10), transparent 70%), var(--ground); color: var(--ink);
  font: 15px/1.55 var(--body); padding-inline: 16px; padding-bottom: 64px; min-height: 100vh; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.05; }
h2 { font-size: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }
.boot { max-width: 1120px; margin: 80px auto; color: var(--muted); }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1120px; margin: 0 auto; }

/* header: full-width night band with a red rule */
.top { max-width: 1120px; margin: 0 auto 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 14px; color: var(--night-ink);
  position: sticky; top: 0; z-index: 30; isolation: isolate; clip-path: inset(0 -100vmax -3px); }
.top::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: rgba(11,23,51,.94); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
.top::after { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: -3px; height: 3px; background: var(--accent); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night-ink); }
.brand img { width: 30px; height: 30px; }
.brand img { width: 38px; height: 38px; }
.wm { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.wm b { color: var(--accent); font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.nav a, .nav button { text-decoration: none; color: var(--night-muted); background: none; border: 0; padding: 6px 11px; border-radius: 6px; cursor: pointer;
  font-family: var(--display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: color .15s, background .15s; }
.nav a:hover, .nav button:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"], .nav a[aria-current="page"]:hover { background: var(--accent); color: #fff; }

/* layout */
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 880px) { .grid, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.banner { border-radius: 10px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--accent-soft); border: 1px solid var(--line); }
.note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 10px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], select, textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; width: 100%; }
textarea { min-height: 90px; resize: vertical; }
textarea.code { font-family: var(--mono); font-size: 13px; min-height: 320px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.error { color: var(--bad); font-size: 14px; }
.btn { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 10px 18px; font-weight: 600; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -8px rgba(200,16,46,.55); transition: transform .12s, box-shadow .12s, filter .12s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.btn:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.dark { box-shadow: none; }
.btn.big { padding: 13px 24px; font-size: 16px; }
.btn.ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.btn.ghost-light:hover { background: rgba(255,255,255,.08); }
.btn.dark { background: var(--ink); color: var(--ground); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }

/* data */
.big { font-family: var(--display); font-size: 60px; line-height: .9; font-weight: 800; letter-spacing: -.03em; }
.big small { font-size: 28px; }
.pill { align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.pill.ready { background: var(--good-soft); color: var(--good); }
.pill.close { background: var(--warn-soft); color: var(--warn); }
.pill.not_yet { background: var(--bad-soft); color: var(--bad); }
.pill.incomplete, .pill.neutral { background: var(--chip); color: var(--muted); }
.areas { display: flex; flex-direction: column; gap: 14px; }
.area { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
.area .name { font-weight: 500; }
.area .val { font-family: var(--mono); font-size: 13px; text-align: right; }
.area .why { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.bar { grid-column: 1 / -1; position: relative; height: 10px; background: var(--chip); border-radius: 3px; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.bar.thin { height: 6px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.tile .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.tile .v { font-family: var(--display); font-size: 36px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.tablewrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.data th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600;
  padding: 8px 10px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.data td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data tr.link { cursor: pointer; }
.data tr.link:hover td { background: var(--surface-2); }
.minis { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.mini .bar { grid-column: auto; }
.mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.plan .tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); padding-top: 2px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.action { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.action:hover { border-color: var(--accent); }
.action strong { font-family: var(--display); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }

/* exam */
.exam-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--ink); color: var(--ground); border-radius: 10px;
  padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.exam-bar .timer { font-family: var(--mono); font-size: 22px; }
.exam-bar .timer.low { color: var(--accent); }
.q { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; }
.q .cat { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.q .passage { background: var(--surface-2); border-left: 3px solid var(--line); padding: 10px 12px; font-size: 14px; border-radius: 0; }
.q label.choice { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.q label.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.q input { margin-top: 4px; accent-color: var(--accent); }
.choice.correct { border-color: var(--good) !important; background: var(--good-soft) !important; }
.choice.wrong { border-color: var(--bad) !important; background: var(--bad-soft) !important; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.msg { padding: 10px 12px; border-radius: 8px; font-size: 14px; white-space: pre-wrap; max-width: 88%; }
.msg.user { align-self: flex-end; background: var(--ink); color: var(--ground); }
.msg.assistant { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { background: var(--chip); border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.chat-empty { display: grid; gap: 8px; }
.starter { font: inherit; text-align: left; cursor: pointer; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.starter:hover, .starter:focus-visible { border-color: var(--accent); }
.starter span { font-size: 13px; color: var(--muted); }
.msg-actions { align-self: flex-start; }

/* landing */
.bleed-dark { position: relative; isolation: isolate; color: var(--night-ink); clip-path: inset(0 -100vmax); }
.bleed-dark::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background: var(--night); }
.hero::before { background:
    radial-gradient(700px 420px at calc(50% + 360px) 35%, rgba(200,16,46,.38), transparent 70%),
    radial-gradient(900px 500px at calc(50% - 300px) 0%, rgba(40,78,160,.45), transparent 70%),
    radial-gradient(600px 320px at calc(50% - 560px) 100%, rgba(200,16,46,.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
    var(--night); }
.promises::before { background: radial-gradient(640px 320px at calc(50% + 480px) 0, rgba(200,16,46,.30), transparent 70%), var(--night); }
.hero { margin-top: -28px; padding-block: 64px 72px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center;
  }
@media (max-width: 880px) { .hero { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; gap: 32px; } }
.hero h1 { color: #fff; font-size: clamp(40px, 6.2vw, 70px); line-height: 1; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.tagline { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.pillars { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.pillars span { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--night-ink); padding: 0 26px; }
.pillars span + span { border-left: 2px solid var(--accent); }
@media (max-width: 520px) { .pillars span { padding: 0 12px; letter-spacing: .18em; font-size: 11px; } }
.hero p.lead { font-size: 18px; color: var(--night-muted); max-width: 56ch; margin-top: 18px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.eyebrow span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #DCE5F7;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); border-radius: 999px; padding: 4px 10px; }
.hero-cta { margin-top: 26px; gap: 12px; }
.hero-fine { margin-top: 12px; font-size: 13px; color: var(--night-muted); }
.hero-card { background: #fff; color: #0E1A33; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(1.2deg); }
@media (prefers-reduced-motion: no-preference) { .hero-card { transition: transform .3s; } .hero-card:hover { transform: rotate(0); } }
.hero-card { --muted: #5B6478; --chip: #E8ECF3; }
.hc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hc-dept { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #5B6478; }
.hc-score { display: flex; align-items: flex-end; gap: 14px; font-size: 13px; color: #5B6478; line-height: 1.3; }
.hc-score .num { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: .85; color: #0E1A33; letter-spacing: -.03em; }
.hc-score small { font-size: 30px; }
.hc-score em { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hc-foot { font-size: 12px; color: #5B6478; border-top: 1px solid #E8ECF3; padding-top: 12px; }
.stats-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); margin-top: -8px; overflow: hidden; }
.stats-strip > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stats-strip > div:first-child { border-left: 0; }
.stats-strip strong { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.stats-strip span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .stats-strip { grid-template-columns: minmax(0, 1fr); } .stats-strip > div { border-left: 0; border-top: 1px solid var(--line); } .stats-strip > div:first-child { border-top: 0; } }
.section-title { font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ""; width: 28px; height: 4px; background: var(--accent); border-radius: 2px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.step b { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--accent); }
.step h3 { color: var(--navy); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.step p { font-size: 14px; color: var(--muted); }
.feature h2::after { content: ""; display: block; width: 32px; height: 3px; background: var(--accent); margin-top: 8px; border-radius: 2px; }
.price-big { font-size: 15px; color: var(--muted); }
.price-big .num { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--ink); line-height: 1; margin-right: 4px; }
.price { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.price strong { font-family: var(--mono); font-weight: 500; }
.promises { padding-block: 48px; margin-top: 12px; margin-bottom: -64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.promises .section-title { color: #fff; }
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .promise-grid { grid-template-columns: minmax(0, 1fr); } }
.promise-grid > div { border: 1px solid var(--night-line); border-radius: 14px; padding: 18px; background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: 6px; }
.promise-grid h3 { color: #fff; font-size: 17px; }
.promise-grid h3::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.promise-grid p { font-size: 14px; color: var(--night-muted); }
.promise-foot { color: var(--night-muted); letter-spacing: .12em; text-transform: uppercase; font-family: var(--display); font-weight: 600; }
.promise-foot a { color: #FFB3BD; }
.promise-grid h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.auth { max-width: 460px; margin: 20px auto; }

#toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--ground);
  padding: 10px 16px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; }
#toast.bad { background: var(--bad); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .bar i { transition: width .5s ease; } }
.hero h1 + .eyebrow { margin: 20px 0 0; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.tier.featured { border: 2px solid var(--navy); }
.tier h3 { color: var(--navy); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.tier-size { font-size: 14px; color: var(--muted); }
.tier-price { margin-top: 8px; color: var(--muted); font-size: 14px; }
.tier-price .num { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.tier-price .from { text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }

/* dashboard title band: navy with the brand glow, flush under the header */
.page-hero { position: relative; isolation: isolate; clip-path: inset(0 -100vmax); color: var(--night-ink);
  padding-block: 26px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.page-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background:
    radial-gradient(520px 220px at calc(50% + 440px) 0, rgba(200,16,46,.32), transparent 70%),
    radial-gradient(760px 300px at calc(50% - 420px) 0, rgba(40,78,160,.40), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 64px),
    var(--night); }
#main > .page-hero:first-child { margin-top: -28px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 42px); }
.page-hero p, .page-hero .muted { color: var(--night-muted); margin-top: 4px; max-width: 70ch; }
.page-hero .kicker { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #FFB3BD; margin: 0 0 8px; }
.page-hero .kicker a { color: inherit; text-decoration: none; }
.page-hero .kicker a:hover { color: #fff; }
.page-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.page-hero .btn.ghost:hover { background: rgba(255,255,255,.08); }
.page-hero select { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); width: auto; }
.page-hero select option { color: #0E1A33; }
.page-hero label, .page-hero .field > label { color: var(--night-muted); }
#main > .nav a { color: var(--muted); }
#main > .nav a:hover { color: var(--ink); background: var(--chip); }
.card > h2:first-child::after, .card-head h2::after { content: ""; display: block; width: 26px; height: 3px; background: var(--accent); margin-top: 7px; border-radius: 2px; }
.mission { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.mission-photo { position: relative; aspect-ratio: 679 / 260; min-height: 220px; background: #0B1733; }
.mission-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.mission-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,51,0) 35%, rgba(11,23,51,.92) 100%); }
.mission-over { position: absolute; left: 28px; right: 28px; bottom: 22px; z-index: 1; }
.mission .kicker { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #FFB3BD; margin: 0 0 6px; }
.mission h2 { font-size: clamp(22px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.mission-copy { padding: 22px 28px 26px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 28px; align-items: start; }
.mission-copy .small { grid-column: 1 / -1; }
@media (max-width: 880px) { .mission-copy { grid-template-columns: minmax(0, 1fr); padding: 18px 20px 22px; } .mission-over { left: 18px; right: 18px; bottom: 14px; } }
.paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.paths li { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; background: var(--surface-2); }
.paths b { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); font-size: 14px; }
.paths span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* partner directory + partner pages: themed with the department's own color (--partner) */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.partner-card { --partner: var(--navy); position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.partner-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(14,26,51,.35); }
.partner-card .stripe { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--partner); }
.partner-card .track { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.partner-card strong { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--navy); }
.partner-card .go { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--partner); }
.partner { --partner: var(--navy); display: flex; flex-direction: column; gap: 20px; }
.partner-hero { position: relative; isolation: isolate; clip-path: inset(0 -100vmax); margin-top: -28px; padding-block: 44px 40px; color: #fff;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; }
@media (max-width: 880px) { .partner-hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px; } }
.partner-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: radial-gradient(700px 340px at calc(50% + 380px) 20%, rgba(255,255,255,.14), transparent 70%),
    linear-gradient(120deg, color-mix(in srgb, var(--partner) 88%, #000) 0%, var(--partner) 55%, color-mix(in srgb, var(--partner) 70%, #000) 100%); }
.partner-hero::after { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: 0; height: 4px; background: var(--accent); }
.partner-hero .kicker { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.partner-hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); line-height: 1; }
.partner-hero .role { color: rgba(255,255,255,.8); font-size: 18px; margin-top: 8px; }
.tagline-quote { margin-top: 14px; font-size: 20px; font-style: italic; color: #fff; max-width: 40ch; }
.partner-hero .btn { background: #fff; color: var(--partner); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.values li { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); border-radius: 999px; padding: 8px 16px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
@media (max-width: 880px) { .values { justify-content: flex-start; } }
.partner .card h2::after { background: var(--partner); }
.lookfor { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lookfor li { padding: 10px 12px 10px 38px; position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.lookfor li::before { content: "★"; position: absolute; left: 13px; top: 9px; color: var(--accent); }
.std-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .std-grid { grid-template-columns: minmax(0, 1fr); } }
.std h3 { color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.std li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.links { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; }
.links a:hover { border-color: var(--accent); }
/* journey timeline */
.journey { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 18px; }
.step-item:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.step-item .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800;
  background: var(--navy-soft); color: var(--navy); border: 2px solid var(--line); }
.step-item.is-ready .dot { background: var(--good); color: #fff; border-color: var(--good); }
.step-item.is-working .dot { background: var(--warn-soft); color: var(--warn); border-color: var(--warn); }
.step-body { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.step-body h3 { color: var(--navy); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
.step-body p { font-size: 14px; }
.step-body .prep { color: var(--muted); }

/* Coach */
.coach-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: start; }
@media (max-width: 880px) { .coach-layout { grid-template-columns: minmax(0, 1fr); } }
.msg.assistant { position: relative; padding-right: 40px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-left: 3px solid var(--accent); }
.msg .who { display: block; font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.msg.user { background: var(--navy); color: #fff; }
.msg .speak { position: absolute; top: 8px; right: 8px; border: 0; background: none; cursor: pointer; font-size: 16px; opacity: .7; }
.msg .speak:hover { opacity: 1; }
.chips button { background: var(--navy-soft); color: var(--navy); font-weight: 600; }
.chips button:first-child { background: var(--accent); color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); padding: 7px 14px; cursor: pointer; font-weight: 600; font-size: 13px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--navy); color: #fff; }
.support-card { border-top: 3px solid var(--good); }
.support-card h2::after { background: var(--good) !important; }

/* My file */
.secure-banner { border: 1px solid var(--line); border-left: 4px solid var(--good); background: var(--good-soft); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.file-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: start; }
@media (max-width: 880px) { .file-layout { grid-template-columns: minmax(0, 1fr); } }
.sticky-col { position: sticky; top: 12px; }
@media (max-width: 880px) { .sticky-col { position: static; } }
.rows { display: flex; flex-direction: column; gap: 10px; }
.prow { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.pfield { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.pfield input { background: var(--surface); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.checks li { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.checks li.ok { color: var(--good); font-weight: 600; }
.tips { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.good-note { color: var(--good); font-weight: 600; }
/* best fit */
.fit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fit li { --partner: var(--navy); display: grid; grid-template-columns: 40px minmax(0, 1fr) 170px; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.fit li:first-child { border-top: 0; }
.fit .rank { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--partner); color: #fff; font-family: var(--display); font-weight: 800; }
.fit-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fit-main a { text-decoration: none; color: var(--navy); }
.fit-score { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.fit-score .num { font-family: var(--display); font-size: 26px; font-weight: 800; }
.fit-score .bar { width: 100%; }
@media (max-width: 600px) { .fit li { grid-template-columns: 36px minmax(0, 1fr); } .fit-score { grid-column: 2; align-items: flex-start; } }
@media print { .top, .page-hero .btn, .secure-banner, aside, [data-add], [data-del], #savePacket { display: none !important; } .file-layout { display: block; } }

/* phone app shell for candidates: bottom tab bar + quick-start list */
.tabbar { display: none; }
.m-home { display: none; }
.app-list { display: flex; flex-direction: column; gap: 10px; }
.app-item { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 18px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 12px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); position: relative; }
.app-item::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--muted); }
.app-item strong { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 15px; }
.app-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  body.has-tabbar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body.has-tabbar .top .nav { display: none; }
  body.has-tabbar .top { padding-block: 12px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -10px rgba(14,26,51,.25);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; text-decoration: none; color: var(--muted);
    font-size: 11px; font-weight: 600; border-radius: 10px; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--accent); }
  .tabbar a[aria-current="page"] svg { stroke-width: 2.3; }
  .m-home { display: flex; flex-direction: column; gap: 12px; }
  .m-title { font-size: 26px; text-transform: none; letter-spacing: -.01em; color: var(--ink); }
  .m-title::after { display: none !important; }
  .page-hero h1 { font-size: 30px; }
  .page-hero { padding-block: 20px 22px; }
  #toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 760px) {
  .page-hero p:not(.kicker) { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---- interactive, 3D-ish dashboard ---- */
.tilt { transition: transform .18s ease, box-shadow .18s ease; transform-style: preserve-3d; will-change: transform; position: relative; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 45%); }
.tilt:hover::before { opacity: 1; }
.tilt:hover { box-shadow: 0 24px 40px -22px rgba(14,26,51,.45); }
.card, .app-item, .area-tile, .btn, .tabbar a, .partner-card { -webkit-tap-highlight-color: transparent; }
.app-item:active, .area-tile summary:active, .mission-card:active, .btn:active, .partner-card:active { transform: scale(.98); }
.tiny { font-size: 11px; }

.hud { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
@media (max-width: 760px) { .hud { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.gauge-card { flex-direction: row; align-items: center; gap: 20px; background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%); }
.gauge-side { display: flex; flex-direction: column; gap: 8px; }
.gauge { position: relative; width: 150px; height: 150px; flex: none; filter: drop-shadow(0 10px 14px rgba(14,26,51,.22)); }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--chip); stroke-width: 14; }
.ring-fg { fill: none; stroke-width: 14; stroke-linecap: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
@media (prefers-reduced-motion: no-preference) { .ring-fg { transition: stroke-dashoffset 1.1s cubic-bezier(.2,.8,.2,1); } .bar i { transition: width .9s cubic-bezier(.2,.8,.2,1); } }
.gauge-core { position: absolute; inset: 22px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #fff, var(--surface-2) 70%); box-shadow: inset 0 -6px 12px rgba(14,26,51,.10), inset 0 4px 6px rgba(255,255,255,.9), 0 2px 4px rgba(14,26,51,.12); }
.gauge-core b { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.gauge-core small { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
@media (prefers-color-scheme: dark) { .gauge-core { background: radial-gradient(circle at 35% 30%, #22304F, var(--surface) 70%); box-shadow: inset 0 -6px 12px rgba(0,0,0,.4); } }
@media (max-width: 400px) { .gauge { width: 124px; height: 124px; } .gauge-core { inset: 18px; } .gauge-core b { font-size: 28px; } }

.mission-card { text-decoration: none; color: #fff; justify-content: center; gap: 8px; border: 0; overflow: hidden;
  background: radial-gradient(420px 220px at 100% 0%, rgba(200,16,46,.55), transparent 70%), linear-gradient(140deg, #13254D, var(--night)); box-shadow: 0 18px 34px -18px rgba(11,23,51,.8); }
.mission-card .kicker { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #FFB3BD; }
.mission-card strong { font-family: var(--display); font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; line-height: 1.15; }
.mission-card .why-line { color: var(--night-muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mission-card .go { align-self: flex-start; margin-top: 4px; background: #fff; color: var(--accent); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.mission-card .streak { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 760px) { .mission-card .streak { position: static; align-self: flex-start; } }

.area-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .area-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.area-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; border-top: 4px solid var(--line); }
.area-tile.is-pass { border-top-color: var(--good); }
.area-tile.is-near { border-top-color: var(--warn); }
.area-tile.is-below { border-top-color: var(--accent); }
.area-tile summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.area-tile summary::-webkit-details-marker { display: none; }
.at-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.at-pct { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--ink); }
.at-state { font-size: 11px; color: var(--muted); }
.area-tile[open] { background: var(--surface-2); }
.area-tile[open] .at-state { display: none; }
.area-tile p { margin-top: 8px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-row > div { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.stat-row b { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-row span { font-size: 12px; color: var(--muted); }
.exams li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.exams b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.more-plan summary { cursor: pointer; font-weight: 600; color: var(--accent); font-size: 14px; margin-top: 4px; }
.more-plan .plan { margin-top: 10px; }

.share-switch { flex-direction: row; align-items: center; gap: 14px; cursor: pointer; }
.share-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.share-switch > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.switch { flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--chip); position: relative; box-shadow: inset 0 2px 4px rgba(14,26,51,.15); transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(14,26,51,.3); transition: transform .2s; }
.share-switch input:checked + .switch { background: var(--good); }
.share-switch input:checked + .switch::after { transform: translateX(20px); }
.share-switch input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-home .m-title { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .tilt, .tilt:hover { transform: none !important; transition: none; } }

/* ---- 2026 motion layer ---- */
@media (prefers-reduced-motion: no-preference) {
  .page-enter { animation: pageIn .45s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; }
  .reveal.in { opacity: 1; animation: rise .6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms) backwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
  /* living backgrounds: slow drifting light in the banners */
  .page-hero::before, .hero::before, .promises::before, .partner-hero::before, .mission-card { background-size: 140% 140%, 140% 140%, auto, auto, auto; animation: drift 18s ease-in-out infinite alternate; }
  @keyframes drift { from { background-position: 0% 0%, 100% 0%, 0 0, 0 0, 0 0; } to { background-position: 30% 20%, 70% 30%, 0 0, 0 0, 0 0; } }
  .hero-float { animation: float 6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .btn { transition: transform .12s, box-shadow .2s, filter .12s; }
  .btn:hover:not(:disabled) { box-shadow: 0 10px 22px -10px rgba(200,16,46,.7); }
}
.hero-float { perspective: 1000px; }
.hero-card.tilt { transform: rotate(1.2deg); }

/* shimmer placeholders while a page loads */
.skeleton { border-radius: 14px; min-height: 140px; background: linear-gradient(100deg, var(--chip) 30%, var(--surface) 50%, var(--chip) 70%); background-size: 300% 100%; animation: shimmer 1.2s linear infinite; }
.hero-sk { min-height: 120px; margin-top: -28px; border-radius: 0 0 14px 14px; }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* command bar */
.kbd-hint { font-family: var(--mono) !important; font-size: 12px !important; letter-spacing: 0 !important; border: 1px solid rgba(255,255,255,.25) !important; padding: 4px 8px !important; }
@media (max-width: 760px) { .kbd-hint { display: none; } }
.palette { position: fixed; inset: 0; z-index: 60; background: rgba(5,10,23,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: start center; padding-top: 12vh; }
.palette-box { width: min(560px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
@media (prefers-reduced-motion: no-preference) { .palette-box { animation: pop .18s cubic-bezier(.2,.8,.2,1); } @keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } } }
.palette input { font-size: 17px; padding: 12px 14px; border-radius: 10px; }
.palette ul { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; }
.palette li { padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.palette li[aria-selected="true"], .palette li:hover { background: var(--navy); color: #fff; }

.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }
.win { color: var(--good); font-weight: 700; margin-top: 4px; }
.career-offer { margin-top: 6px; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; color: #fff;
  background: radial-gradient(360px 180px at 100% 0, rgba(200,16,46,.45), transparent 70%), linear-gradient(140deg, #13254D, var(--night)); }
.career-offer .kicker { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #FFB3BD; }
.career-offer strong { font-family: var(--display); font-size: 20px; font-weight: 800; }
.career-offer p { color: var(--night-muted); }
.career-offer .btn { align-self: flex-start; }
.career-offer .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.career-offer.on { box-shadow: inset 0 0 0 2px var(--good); }

/* crisis support panel */
.crisis { position: fixed; inset: 0; z-index: 80; background: rgba(5,10,23,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.crisis-box { width: min(520px, 100%); background: var(--surface); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  border-top: 5px solid var(--good); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.crisis-box h2 { color: var(--ink); font-size: 22px; text-transform: none; letter-spacing: 0; }
.crisis-box h2::after { display: none !important; }
.crisis-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crisis-actions .btn:first-child { background: linear-gradient(180deg, #23915A, var(--good)); box-shadow: 0 10px 22px -10px rgba(31,122,74,.8); }
.crisis .auto { background: var(--good-soft); color: var(--good); border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.support-card .btn.big { background: linear-gradient(180deg, #23915A, var(--good)); box-shadow: 0 10px 22px -10px rgba(31,122,74,.7); }
.safety { font-size: 13px; }

/* my career + team */
.inline-goal { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto; gap: 8px; align-items: center; }
.inline-goal .error { grid-column: 1 / -1; }
@media (max-width: 600px) { .inline-goal { grid-template-columns: minmax(0, 1fr); } }
.goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.goals li { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; background: var(--surface-2); }
.goals li.done { border-left-color: var(--good); opacity: .8; }
.goals li.done b { text-decoration: line-through; }
.share-mini { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; color: var(--navy); }
.consent-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .consent-cols { grid-template-columns: minmax(0, 1fr); } }
.consent-cols ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.consent-cols .yes li::before { content: "✓ "; color: var(--good); font-weight: 800; }
.consent-cols .no li::before { content: "✕ "; color: var(--accent); font-weight: 800; }
.consent-card { border-top: 4px solid var(--navy); }
.shifts li, .requests li { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; list-style: none; }
.shifts, .requests { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.announce { border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; display: flex; flex-direction: column; gap: 2px; }
.privacy-note { border-left: 4px solid var(--good); }
input.unit { padding: 6px 8px; font-size: 13px; }

/* okay-to-not-be-okay check-in */
.checkin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.checkin > span { font-weight: 600; margin-right: 6px; font-size: 14px; }
.checkin button, .faces a { display: flex; flex-direction: column; align-items: center; gap: 0; border: 1px solid transparent; background: none; cursor: pointer; padding: 4px 8px; border-radius: 12px; text-decoration: none; color: var(--muted); transition: transform .12s, background .12s; }
.checkin button span, .faces a span { font-size: 24px; line-height: 1.1; }
.checkin button small, .faces a small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.checkin button:hover, .faces a:hover { background: var(--surface); border-color: var(--line); transform: translateY(-2px) scale(1.06); }
.checkin-card { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-left: 4px solid var(--good); }
.checkin-card > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.faces { display: flex; gap: 4px; }
/* bell */
.bell { position: relative; display: inline-flex; align-items: center; color: var(--night-muted) !important; padding: 6px 8px !important; }
.bell svg { width: 20px; height: 20px; }
.bell .dot { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
@media (max-width: 760px) { body.has-tabbar .top .nav { display: flex !important; width: auto; margin-left: auto; } body.has-tabbar .top .nav > *:not(.bell) { display: none; } }
/* rules + updates */
.search { display: flex; gap: 8px; }
.search input { flex: 1; font-size: 16px; padding: 12px 14px; border-radius: 12px; }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.rule summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rule summary::-webkit-details-marker { display: none; }
.rule-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rule strong { color: var(--navy); font-size: 16px; }
.rule[open] { border-left-color: var(--accent); }
.rule p { margin-top: 8px; }
.updates { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.update { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.update.perk { border-top-color: var(--good); }
.update.alert { border-top-color: var(--accent); }
.u-kind { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.update h3 { color: var(--ink); font-size: 17px; text-transform: none; letter-spacing: 0; }
/* confirm card */
.confirm-box { padding: 22px; gap: 12px; }
.confirm-box h2 { font-size: 20px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.confirm-box h2::after { display: none !important; }
.row.end { justify-content: flex-end; }

/* ---- pricing: six-month pass, partner badges, founding partners ---- */
.badge { display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.badge.partner { background: var(--good-soft); color: var(--good); }
.badge.example { background: var(--warn-soft); color: var(--warn); }
.badge.founding { background: var(--navy); color: var(--surface); }
.save { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--good-soft); color: var(--good); font-size: 12px; font-weight: 700; }
.price-alt { margin: 6px 0 2px; color: var(--muted); font-size: 14px; }
.price-alt .num { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 20px; }
.founding-callout { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--navy-soft); border: 1px solid var(--line); }
.founding-callout p { margin: 0; flex: 1 1 260px; }
.tier-price.range .num { font-size: 22px; }
.tier-note { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.tier-founding { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--navy); }
.tier-founding .num { font-family: var(--display); }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0; }
.plan-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px; border-radius: 14px; cursor: pointer; text-align: left;
  background: var(--surface-2); border: 2px solid var(--line); color: var(--ink); font: inherit; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.plan-opt:hover, .plan-opt:focus-visible { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.plan-opt b { font-family: var(--display); font-size: 28px; line-height: 1.1; }
.plan-opt small { color: var(--muted); }
.plan-opt.best { border-color: var(--navy); }
.plan-opt .save { position: absolute; top: -10px; right: 12px; }
.example-note { align-items: flex-start; }
@media (prefers-reduced-motion: reduce) { .plan-opt { transition: none; } .plan-opt:hover { transform: none; } }

/* ---- Command: findings, bars, budget pace ---- */
.command-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 900px) { .command-grid { grid-template-columns: minmax(0, 1fr); } }
.findings { display: grid; gap: 12px; }
.finding { border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 12px; padding: 14px 16px; background: var(--surface-2); }
.finding.sev-high { border-left-color: var(--accent); }
.finding.sev-medium { border-left-color: var(--warn); }
.finding.sev-low { border-left-color: var(--navy); }
.finding h3 { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 16px; margin: 6px 0 4px; }
.finding p { margin: 4px 0; }
.f-area { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.f-save { font-size: 13px; color: var(--good); }
.f-save b { font-family: var(--display); }
.f-action { font-size: 14px; }
.f-review { color: var(--good); }
.f-form summary { cursor: pointer; font-weight: 600; color: var(--accent); margin-top: 6px; }
.f-form .form { margin-top: 8px; }
.f-form input { width: 100%; }
.done-list { margin-top: 14px; }
.done-list summary { cursor: pointer; font-weight: 600; }
.hbars { display: grid; gap: 8px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.hb-track { height: 10px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.hb-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--accent)); }
.hb-val { color: var(--muted); white-space: nowrap; }
.budget-list { display: grid; gap: 12px; }
.budget-bar { position: relative; margin: 6px 0 2px; overflow: visible; }
.budget-bar i { background: var(--good); }
.budget-row.over .budget-bar i { background: var(--accent); }
.budget-bar .pace { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.ask-card .answer { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--navy-soft); white-space: normal; }
.brief textarea { font: 14px/1.5 var(--body); }
.preview { margin-top: 14px; }
.preview .errors { color: var(--bad); }

/* ---- My life: week, money ---- */
.seg a { display: inline-block; padding: 8px 16px; font-weight: 700; font-size: 13px; text-decoration: none; color: var(--muted); background: var(--surface); }
.seg a + a { border-left: 1px solid var(--line); }
.seg a[aria-selected="true"] { background: var(--navy); color: var(--surface); }
.life-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lchip { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.lchip b { font-family: var(--display); font-size: 16px; margin-right: 2px; }
.lchip.warn { border-color: var(--accent); background: var(--accent-soft); }
.clash-card { border-left: 4px solid var(--accent); }
.clashes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.clashes li { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.lweek { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lday { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); }
.lday.off { background: var(--good-soft); border-color: transparent; }
.lday.clash { border-color: var(--accent); }
.lday-head { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.litem { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: 14px; padding: 4px 0; border-top: 1px dashed var(--line); }
.litem small { flex-basis: 100%; color: var(--muted); }
.litem.shift span:first-child { font-weight: 700; color: var(--navy); }
.litem.sleep { color: var(--muted); }
.mind-off { margin: 6px 0 0; color: var(--good); }
.lev li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.notes { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
tr.flag td { background: var(--warn-soft); }
.seg { width: fit-content; justify-self: start; align-self: flex-start; }

/* ---- Simulate a shift ---- */
.sim-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sim-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.sim-card:hover { border-color: var(--accent); }
.sim-ico { font-size: 34px; }
.sim-card .go { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 13px; }
.sim-progress { display: flex; gap: 6px; }
.sim-progress i { flex: 1; height: 6px; border-radius: 999px; background: var(--chip); }
.sim-progress i.done { background: var(--navy); }
.sim-progress i.now { background: var(--accent); }
.sim-time { font-family: var(--mono); color: var(--accent); font-weight: 700; margin: 0; }
.sim-scene { font-size: 17px; line-height: 1.55; }
.sim-choices { display: grid; gap: 10px; margin-top: 8px; }
.sim-choice { text-align: left; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.sim-choice:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-1px); }
.sim-choice.picked { border-color: var(--navy); background: var(--navy-soft); }
.sim-choice.dim { opacity: .5; }
.sim-fb { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--good-soft); }
.sim-real { color: var(--ink); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .sim-choice { transition: none; } .sim-choice:hover:not(:disabled) { transform: none; } }

/* ---- Value page ---- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.value-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
a.value-card:hover { border-color: var(--accent); }
.value-card span { color: var(--muted); font-size: 14px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
.calc-out > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.calc-out .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.calc-out b { font-family: var(--display); font-size: 24px; }
.calc-out small { color: var(--muted); }
.calc-out .big-out { grid-column: 1 / -1; background: var(--navy); color: var(--surface); border: 0; }
.calc-out .big-out .k, .calc-out .big-out small { color: rgba(255,255,255,.75); }
.calc-out .big-out b { font-size: 34px; }

/* ---- Command v2: clean, professional ---- */
.cmd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 22px 0 6px; }
.cmd-head h1 { font-size: 28px; letter-spacing: -.01em; }
.cmd-eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cmd-head-right { display: flex; gap: 10px; align-items: center; }
.cmd-plan { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--navy-soft); color: var(--navy); }
.cmd-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.cmd-tabs a { padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.cmd-tabs a:hover { color: var(--ink); }
.cmd-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.cmd-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; text-align: center; }
.cmd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 800px) { .cmd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cmd-kpi { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.cmd-kpi span { font-size: 12px; color: var(--muted); font-weight: 600; }
.cmd-kpi b { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.cmd-kpi small { color: var(--muted); font-size: 12px; }
.cmd-kpi.good b { color: var(--good); }
.cmd-kpi.warn b { color: var(--warn); }
.cmd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 900px) { .cmd-grid { grid-template-columns: minmax(0, 1fr); } }
.cmd-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; min-width: 0; }
.cmd-panel.wide { grid-column: 1 / -1; }
.cmd-panel h2, .report h2 { font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); margin-bottom: 8px; }
.cmd-panel h2::after, .report h2::after { display: none; }
.cmd-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.cmd-panel-head a { font-size: 13px; font-weight: 600; }
.cmd-sub { font-size: 12px; margin: 14px 0 8px; }
.cmd-list { list-style: none; margin: 0; padding: 0; }
.cmd-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0 10px 12px; border-top: 1px solid var(--line); border-left: 3px solid var(--line); margin-left: -2px; }
.cmd-list li.sev-high { border-left-color: var(--accent); }
.cmd-list li.sev-medium { border-left-color: var(--warn); }
.cl-title { font-weight: 600; }
.cl-meta { font-size: 12px; color: var(--muted); }
.cmd-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.seg-f { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg-f a { padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.seg-f a + a { border-left: 1px solid var(--line); }
.seg-f a[aria-current="true"] { background: var(--ink); color: var(--surface); }
.cmd-findings { display: grid; gap: 10px; }
.cmd-finding { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: 10px; }
.cmd-finding.sev-high { border-left-color: var(--accent); }
.cmd-finding.sev-medium { border-left-color: var(--warn); }
@media (max-width: 700px) { .cmd-finding { grid-template-columns: minmax(0, 1fr); } }
.cmd-finding h3 { font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 4px 0; }
.cmd-finding p { margin: 3px 0; font-size: 14px; }
.cf-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.cf-sev { font-weight: 700; color: var(--ink); }
.cf-status { padding: 0 8px; border-radius: 4px; background: var(--chip); }
.cf-status.open { background: var(--accent-soft); color: var(--accent); }
.cf-status.acting { background: var(--good-soft); color: var(--good); }
.cf-note { color: var(--muted); font-size: 13px !important; }
.cf-action { font-weight: 500; }
.cf-side { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.cf-est { font-size: 13px; color: var(--good); }
.cf-est b { font-size: 18px; font-family: var(--display); }
.cf-review summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--accent); }
.cf-review form { display: grid; gap: 6px; margin-top: 6px; }
.cf-review input { width: 100%; }
.cf-btns { display: flex; gap: 4px; flex-wrap: wrap; }
.cmd-table th.r, .cmd-table td.r { text-align: right; }
.cmd-table td { vertical-align: top; }
.cmd-tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--good-soft); color: var(--good); white-space: nowrap; }
.cmd-tag.warn { background: var(--warn-soft); color: var(--warn); }
.cmd-tag.bad { background: var(--accent-soft); color: var(--accent); }
.cmd-tag.muted { background: var(--chip); color: var(--muted); }
.cmd-off { max-width: 640px; margin: 40px auto; }
.report { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.report-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 22px; }
@media print {
  .top, .tabbar, .no-print, #toast, .skip { display: none !important; }
  body { background: #fff; padding: 0; }
  .report .cmd-kpi, .report .cmd-table { break-inside: avoid; }
}

/* ---- Study plan ---- */
.study-msg { font-size: 16px; }
.study-rows { display: grid; gap: 8px; margin: 10px 0 14px; }
.study-row { display: grid; grid-template-columns: minmax(140px, 28%) 1fr 48px 90px; gap: 10px; align-items: center; font-size: 14px; }
.study-row.focus span:first-child { font-weight: 700; color: var(--accent); }
.study-row .hb-track i { background: var(--navy); }
.study-row.focus .hb-track i { background: var(--accent); }
@media (max-width: 600px) { .study-row { grid-template-columns: 1fr 44px; } .study-row .hb-track, .study-row small { display: none; } }

/* ---- Application tracker ---- */
.app-steps { display: grid; gap: 6px; }
.app-step { display: grid; grid-template-columns: minmax(150px, 1.3fr) 120px minmax(170px, 1fr) 150px auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.app-step.st-done { background: var(--good-soft); }
.app-step.st-scheduled { border-color: var(--navy); }
.app-step.st-missed { background: var(--accent-soft); }
.as-label { font-weight: 600; }
@media (max-width: 800px) { .app-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .app-step > * { min-width: 0; } .as-label { grid-column: 1 / -1; } }
@media (max-width: 420px) { .app-step { grid-template-columns: minmax(0, 1fr); } }
.next-date { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; padding: 10px 14px; border-radius: 12px; background: var(--navy); color: var(--surface); text-decoration: none; }
.next-date span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.mic[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.reqs { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.reqs ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.req-tag { display: inline-block; min-width: 92px; margin-right: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.req-tag.must { color: var(--accent); }
.demo-bar { position: relative; z-index: 60; margin: 0 -16px; padding: 6px 16px; text-align: center; font-size: 12px; font-weight: 600; background: var(--warn-soft); color: var(--warn); }
.demo-pick { margin-top: 18px; }
.demo-pick .row { gap: 8px; flex-wrap: wrap; }

/* ---- Standards library, business metrics ---- */
.lib { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.lib-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lib-card h2 { font-size: 17px; text-transform: none; letter-spacing: 0; }
.lib-card h2::after { display: none; }
.lib-card h2 a { color: var(--ink); text-decoration: none; }
.lib-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.search select { flex: 0 0 180px; min-width: 0; }
.mchart { display: flex; gap: 10px; align-items: flex-end; height: 150px; padding-top: 10px; }
.mweek { flex: 1; display: flex; gap: 3px; align-items: flex-end; justify-content: center; position: relative; padding-bottom: 18px; }
.mweek small { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }
.mbar { width: 12px; border-radius: 3px 3px 0 0; }
.mbar.su, .key.su { background: var(--accent); }
.mbar.ac, .key.ac { background: var(--navy); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 2px 0 8px; vertical-align: middle; }

/* ---- Partner branding: department page editor, staff chip, applicant dashboard ---- */
.page-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; margin-top: 12px; }
@media (max-width: 1000px) { .page-editor { grid-template-columns: minmax(0, 1fr); } }
.page-editor .cmd-panel h2 { margin-top: 10px; }
.page-editor input[type=color] { width: 52px; height: 42px; padding: 2px; border-radius: 8px; }
.step-toggles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 14px; }
.preview-wrap { position: sticky; top: 90px; }
.preview-page { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--ground); max-height: 78vh; overflow: auto; }
.preview-page .partner-hero h1 { font-size: 30px; }
.dept-chip { align-self: center; margin-left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--partner); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
@media (max-width: 800px) { .dept-chip { display: none; } }
.page-hero.dept-branded { box-shadow: inset 0 -6px 0 var(--partner); }
.welcome-card { --partner: var(--navy); display: grid; gap: 4px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--partner); }
.welcome-card span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--partner); }
.welcome-card p { margin: 0; }
.welcome-card a { font-size: 13px; font-weight: 600; color: var(--partner); }
.page-editor .field .row { flex-wrap: nowrap; align-items: center; }
.page-editor #ph { width: 120px; flex: 0 0 120px; }

/* ---- Guided tour ---- */
.demo-bar a { color: inherit; font-weight: 700; margin-left: 6px; }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tour-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.tl-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; }
.tl-who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tour-list p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.tour-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80; width: min(980px, calc(100% - 24px)); display: flex; gap: 14px; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--night); color: var(--night-ink); box-shadow: 0 18px 50px -12px rgba(0,0,0,.55); }
.tb-main { display: grid; gap: 2px; min-width: 0; }
.tb-step { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FF8A9A; }
.tb-look { font-size: 13px; color: var(--night-muted); }
.tb-btns { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.tour-bar .btn.ghost { color: var(--night-ink); border-color: var(--night-line); background: transparent; }
.tb-close { background: none; border: 0; color: var(--night-muted); font-size: 16px; cursor: pointer; padding: 6px; }
body.has-tabbar .tour-bar { bottom: 84px; }
@media (max-width: 700px) { .tour-bar { flex-direction: column; align-items: stretch; } .tb-look { display: none; } }
body.touring { padding-bottom: 150px; }
/* Savings walkthrough: the step's explanation stays visible on phones, and the part it talks about is ringed. */
@media (max-width: 700px) { .tour-bar.walk .tb-look { display: block; } .tour-bar.walk .tb-btns { justify-content: flex-end; } body.walking { padding-bottom: 240px; } }
.walk-spot { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 12px; box-shadow: 0 0 0 9px var(--accent-soft); scroll-margin-top: 130px; }
.cf-review.walk-spot { display: block; padding: 4px; }
.demo-figures { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 0 0 12px; padding: 8px 12px;
  border-radius: 10px; background: var(--warn-soft); color: var(--ink); font-size: 13px; }
.walk-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; margin: 18px 0 12px; padding: 16px 18px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.walk-intro h2 { margin: 2px 0 4px; }
.walk-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.walk-steps { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.walk-steps strong { color: var(--ink); }
@media (max-width: 700px) { .walk-intro { grid-template-columns: minmax(0, 1fr); } }
@media print { .demo-figures { background: none; border: 1px solid #999; } .tour-bar { display: none !important; } .walk-spot { outline: 0; box-shadow: none; } }
@media (max-width: 1599px) { .dept-chip { display: none; } }
input.unit { min-width: 110px; }
.data td .pill { white-space: normal; text-align: center; }
@media (max-width: 480px) { .data th, .data td { padding-left: 6px; padding-right: 6px; } .data { font-size: 13px; } }
.ot-check td:last-child { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
@media screen and (max-width: 700px) { .report table.cmd-table { display: block; overflow-x: auto; } }
/* Phone: the search form wraps (search box on its own line, then career and button) instead of running off-screen. */
.search input { min-width: 0; }
@media (max-width: 560px) { .search { flex-wrap: wrap; } .search input { flex: 1 1 100%; } .search select { flex: 1 1 0; } }
/* Long links (staff invites) wrap instead of widening the page. */
.mono, #link { overflow-wrap: anywhere; word-break: break-word; }

/* ===== Design pass (2026-09-27): one calm, consistent system ===== */

/* Every text-like field looks the same: soft fill, hairline border, clear focus ring. (Time, search, URL, phone
   and date-time fields were falling back to the browser's bare black box.) */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]),
select, textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%;
  min-height: 42px; transition: border-color .15s, box-shadow .15s, background .15s; }
input:not([type=checkbox]):not([type=radio]):hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--navy) 35%, var(--line)); }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus {
  outline: none; background: var(--surface); border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 18%, transparent); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
input.unit { min-height: 32px; padding: 6px 8px; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; }

/* Card headings: sentence case and ink, one short accent bar. Section titles keep the uppercase brand voice;
   cards no longer shout. */
h2 { font-size: 19px; text-transform: none; letter-spacing: -.01em; color: var(--ink); line-height: 1.25; }
h3 { font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 700; }
.card > h2:first-child::after, .card-head h2::after { width: 22px; height: 3px; margin-top: 8px; }
.section-title { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: .05em; }
.card-head { align-items: flex-start; }
.card-head > span, .card-head > .muted { font-size: 13px; color: var(--muted); }

/* Rhythm: a little more air inside cards, consistent gaps between them. */
.card { padding: 22px; gap: 14px; border-radius: 16px; }
.stack { gap: 18px; }
.grid { gap: 18px; }

/* Stat and area tiles fill the row instead of leaving an empty slot at the end. */
@media (min-width: 521px) { .area-tiles { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* Buttons: one height scale, calmer hover, visible keyboard focus. */
.btn { min-height: 42px; border-radius: 10px; letter-spacing: .01em; }
.btn.small { min-height: 32px; padding: 6px 12px; border-radius: 8px; }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.btn:active:not(:disabled) { transform: translateY(0); filter: brightness(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Tables: quieter headers, row hover, numbers aligned. */
.data th { font-size: 11px; letter-spacing: .07em; }
.data tbody tr { transition: background .12s; }
.data tbody tr:hover { background: color-mix(in srgb, var(--navy) 4%, transparent); }
.data td.num, .data th.num, .data .r { font-variant-numeric: tabular-nums; }

/* Pills and chips share one shape. */
.pill { border-radius: 999px; letter-spacing: .05em; }

/* Respect people who turn motion off. */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===== Department's own recruiting experience ===== */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dept-hero { position: relative; overflow: hidden; border-radius: 0 0 22px 22px; margin: -28px -16px 0; min-height: 380px; display: flex; align-items: flex-end;
  background: var(--night); color: #fff; isolation: isolate; }
.dept-hero .dh-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,28,.92) 0%, rgba(7,13,28,.72) 42%, rgba(7,13,28,.1) 78%); }
.dept-hero .dh-text { position: relative; max-width: 1120px; width: 100%; margin: 0 auto; padding: 56px 24px 40px; }
.dept-hero .kicker { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #FFD2D8; margin-bottom: 10px; }
.dept-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); max-width: 16ch; }
.dept-hero .role { color: #DCE5F7; font-size: 17px; margin-top: 6px; }
.dept-hero .tagline-quote { color: #fff; font-size: 18px; font-style: italic; margin-top: 14px; max-width: 46ch; opacity: .92; }
.dept-hero .dh-actions { margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.dept-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--partner, var(--accent)); }
.dh-facts { max-width: 1120px; margin: -26px auto 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.dh-facts > div { padding: 16px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dh-facts > div:first-child { border-left: 0; }
.dh-facts span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dh-facts b { font-size: 15px; color: var(--ink); }
@media (max-width: 700px) { .dh-facts > div { border-left: 0; border-top: 1px solid var(--line); } .dh-facts > div:first-child { border-top: 0; } .dept-hero { min-height: 420px; } .dept-hero .dh-shade { background: linear-gradient(0deg, rgba(7,13,28,.95) 30%, rgba(7,13,28,.4) 100%); } }

.recruiter-card { border-top: 4px solid var(--partner, var(--accent)); }
.rc-who { display: flex; gap: 16px; align-items: center; }
.rc-avatar { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px;
  color: #fff; background: var(--partner, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--partner, var(--accent)) 20%, transparent); }
.card > .rc-who h2::after { display: none; }
.rc-name { margin-top: 2px; }
.recruiter-card blockquote { margin: 0; padding: 14px 18px; border-left: 3px solid var(--partner, var(--accent)); background: var(--surface-2); border-radius: 0 10px 10px 0;
  font-size: 16px; line-height: 1.6; }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qa-list li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--surface-2); }
.qa-list .q { font-weight: 600; }
.qa-list .a { margin-top: 6px; }

.value-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); border-top: 3px solid var(--partner, var(--accent)); }
.value-card h3 { font-size: 16px; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: 14px; }
.step-when { display: inline-block; margin-left: 8px; font-family: var(--body); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0;
  color: var(--partner, var(--navy)); background: color-mix(in srgb, var(--partner, var(--navy)) 10%, transparent); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.dh-facts { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); min-width: 0; }
.partner { min-width: 0; }
@media (max-width: 700px) { .dh-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: -18px; } .dh-facts > div { padding: 12px 14px; } .dh-facts > div:nth-child(2) { border-top: 0; } .dh-facts > div:nth-child(even) { border-left: 1px solid var(--line); } }

/* ===== Candidate home: where am I, what's next, who can help ===== */
.home-hero .stage-pick { display: inline-flex; align-items: center; gap: 6px; }
.stage-pick select { width: auto; min-height: 30px; padding: 3px 28px 3px 10px; border-radius: 999px; background-color: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3); font-size: 13px; }
.stage-pick select option { color: var(--ink); background: var(--surface); }
.next-step { display: grid; gap: 8px; text-decoration: none; color: #fff; border-radius: 18px; padding: 26px 28px; position: relative; overflow: hidden;
  background: radial-gradient(600px 220px at 100% 0, color-mix(in srgb, var(--partner, var(--accent)) 55%, transparent), transparent 70%), linear-gradient(135deg, var(--night), var(--night-2));
  box-shadow: 0 18px 40px -22px rgba(11,23,51,.8); border-left: 6px solid var(--partner, var(--accent)); transition: transform .15s; }
.next-step:hover { transform: translateY(-2px); }
.next-step .ns-kicker { font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #FFD2D8; }
.next-step strong { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.15; max-width: 30ch; }
.next-step .ns-why { color: #DCE5F7; max-width: 70ch; }
.next-step .ns-go { justify-self: start; margin-top: 8px; background: #fff; color: var(--night); box-shadow: none; }
.home-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .home-three { grid-template-columns: minmax(0, 1fr); } }
.where-row { display: flex; gap: 16px; align-items: center; }
.where-row .gauge { flex: 0 0 auto; transform: scale(.82); transform-origin: left center; margin-right: -18px; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.mini-steps li.is-next { border-color: var(--partner, var(--accent)); background: color-mix(in srgb, var(--partner, var(--accent)) 7%, var(--surface)); }
.mini-steps li > span:last-child { display: flex; flex-direction: column; }
.ms-dot { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--chip); color: var(--ink); }
.mini-steps li.is-next .ms-dot { background: var(--partner, var(--accent)); color: #fff; }
.mini-steps li.st-done .ms-dot { background: var(--good); color: #fff; }
.help-card { gap: 12px; }
.help-row { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
.help-row:hover { border-color: var(--partner, var(--navy)); }
.help-row > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rc-avatar.sm { flex: 0 0 40px; height: 40px; font-size: 14px; box-shadow: none; }
.rc-avatar.coach { background: var(--navy); }
.help-answer { border-left: 3px solid var(--partner, var(--accent)); padding: 4px 0 4px 12px; }
.checkin-card.slim { padding: 16px 18px; }
.checkin-card.slim .faces a small { font-size: 9px; }
.goal-mini li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }

/* ===== Staff starting points ===== */
.count-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 800;
  background: var(--chip); color: var(--ink); font-family: var(--body); vertical-align: middle; }
.count-badge.hot { background: var(--accent); color: #fff; }
.today-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 980px) { .today-grid { grid-template-columns: minmax(0, 1fr); } }
.today-card { border-top: 4px solid var(--partner, var(--navy)); }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.today-list > li { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.today-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.today-list .tq { font-weight: 600; margin: 4px 0 8px; }
.answer-form textarea { min-height: 70px; }
.answer-form .row { margin-top: 8px; gap: 10px; align-items: center; }
.when-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); white-space: nowrap; }
.decide-panel { border-left: 5px solid var(--accent); margin-bottom: 16px; }
.decide-panel h2 { font-size: 18px !important; display: flex; align-items: center; gap: 10px; }
.cmd-kpi.confirmed { background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 40%, var(--line)); }
.cmd-kpi.possible { border-style: dashed; border-width: 2px; background: var(--surface); }
.cmd-kpi.possible b { color: var(--muted); }
.cmd-kpi .unrec { color: var(--warn); }

/* Inner pages: a compact header band so the content starts high on the screen. Homes keep the taller band. */
.page-hero:not(.home-hero) { padding-top: 22px; padding-bottom: 22px; }
.page-hero:not(.home-hero) h1 { font-size: clamp(24px, 3.2vw, 34px); }
.page-hero:not(.home-hero) p:not(.kicker) { font-size: 14px; }
@media (max-width: 700px) { .page-hero:not(.home-hero) { padding-top: 16px; padding-bottom: 16px; } }
/* Dark mode: brand-colored labels need a light tint to stay readable; the Coach avatar keeps a deep fill. */
@media (prefers-color-scheme: dark) {
  .step-when { color: color-mix(in srgb, var(--partner, var(--navy)) 35%, #fff); background: color-mix(in srgb, var(--partner, var(--navy)) 35%, transparent); }
  .mini-steps li.is-next { background: color-mix(in srgb, var(--partner, var(--accent)) 18%, var(--surface)); }
}
.rc-avatar.coach { background: #1C3A7A; color: #fff; }

/* ---------- Landing, 2026-09-27: two doors, a chief's 30 seconds, short plans, request a demo ---------- */
.nav a.nav-cta { background: var(--accent); color: #fff; }
.nav a.nav-cta:hover { background: var(--accent-2); color: #fff; }
.hero-2 { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); padding-block: 56px 64px; }
.hero-2 .eyebrow { margin: 0 0 16px; }
.hero-2 h1 + .lead { margin-top: 16px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 620px; }
.door { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: #fff;
  background: var(--accent); border: 1px solid transparent; transition: transform .15s, background .15s; }
.door:hover { transform: translateY(-2px); background: var(--accent-2); }
.door-dept { background: rgba(255,255,255,.06); border-color: var(--night-line); }
.door-dept:hover { background: rgba(255,255,255,.12); }
.door-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.door b { font-family: var(--display); font-size: 20px; line-height: 1.15; }
.door-s { font-size: 13px; color: var(--night-muted); }
.door:not(.door-dept) .door-s { color: #FFE3E7; }
.door:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-visual { position: relative; min-height: 430px; }
.hv-photo { position: absolute; inset: 0 0 64px 40px; width: calc(100% - 40px); height: calc(100% - 64px); object-fit: cover; border-radius: 18px;
  filter: saturate(.85) brightness(.8); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hv-card { position: absolute; background: #fff; color: #0E1A33; border-radius: 14px; box-shadow: 0 18px 40px rgba(5,10,23,.35); --muted: #5B6478; }
.hv-dept { left: 0; bottom: 18px; width: min(360px, 88%); padding: 14px 16px; display: grid; gap: 8px; }
.hv-head { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5B6478; }
.hv-row { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 8px; align-items: center; padding-top: 8px; border-top: 1px solid #E6EAF2; }
.hv-row b { font-size: 14px; }
.hv-row .pill { justify-self: start; }
.hv-row .pill.ready { background: #DCF0E3; color: #1A6B40; }
.hv-row .pill.close { background: #F7EAD2; color: #845210; }
.hv-why { grid-column: 1 / -1; font-size: 13px; color: #5B6478; }
.hv-foot { margin: 0; font-size: 12px; color: #5B6478; }
.hv-phone { right: 0; top: 18px; width: 210px; padding: 14px; display: grid; gap: 6px; border-top: 4px solid var(--accent); }
.hv-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #C8102E; }
.hv-phone b { font-family: var(--display); font-size: 16px; line-height: 1.2; }
.hv-meter { height: 6px; border-radius: 99px; background: #E6EAF2; overflow: hidden; }
.hv-meter i { display: block; height: 100%; background: #1A6B40; }
.hv-s { font-size: 12px; color: #5B6478; }
.hv-label { position: absolute; left: 40px; top: -24px; font-size: 11px; color: var(--night-muted); letter-spacing: .04em; }
@media (max-width: 880px) {
  .hero-2 { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 0; display: grid; gap: 12px; }
  .hv-photo { position: static; width: 100%; height: 170px; }
  .hv-card, .hv-label { position: static; width: auto; }
  .hv-phone { display: none; }
}
@media (max-width: 520px) { .doors { grid-template-columns: minmax(0, 1fr); } }

.chief, #apply, #plans, #demo { scroll-margin-top: 84px; }
@media (max-width: 700px) { .chief, #apply, #plans, #demo { scroll-margin-top: 124px; } }
.chief { margin-top: 56px; display: grid; gap: 28px; }
.chief-head { max-width: 760px; display: grid; gap: 10px; }
.chief-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.lead-dark { font-size: 18px; color: var(--muted); margin: 0; }
.lead-dark b { color: var(--ink); }
.chief-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chief-points > div { display: grid; gap: 4px; padding-top: 14px; border-top: 3px solid var(--navy); }
.chief-points b { font-family: var(--display); font-size: 17px; }
.chief-points span { color: var(--muted); font-size: 15px; }
.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; align-items: start; }
.proof-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.proof-card figcaption { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-weight: 700; }
.proof-k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fict { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); }
.proof-table td, .proof-table th { font-size: 14px; }
.proof-foot { margin: 0; font-size: 13px; color: var(--muted); }
.finding-ex { border-left: 4px solid var(--bad); background: var(--surface-2); border-radius: 10px; padding: 14px 16px; display: grid; gap: 6px; }
.finding-ex h3 { font-size: 18px; line-height: 1.25; }
.finding-ex p { margin: 0; font-size: 14px; }
.fx-meta { font-size: 12px !important; color: var(--muted); }
.fx-sev { font-weight: 700; color: var(--bad); margin-right: 6px; }
.fx-actions { display: flex; gap: 8px; margin-top: 4px; }
.fx-actions span { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.fx-actions span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.chief-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 880px) { .proof, .chief-points { grid-template-columns: minmax(0, 1fr); } .chief-points { gap: 12px; } }

.plans { margin-top: 56px; display: grid; gap: 16px; }
.plan-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card { display: grid; gap: 8px; align-content: start; }
.plan-card .btn { justify-self: start; margin-top: 6px; }
.plan-price { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; }
.plan-price .num { font-size: 30px; }
.plan-dept { border-top: 4px solid var(--navy); }
.plan-more { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 4px 16px; }
.plan-more summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.plan-more[open] { padding-bottom: 14px; }
.plan-notes { margin: 12px 0 6px; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
@media (max-width: 700px) { .plan-sum { grid-template-columns: minmax(0, 1fr); } }

.demo-req { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.dr-copy { display: grid; gap: 10px; }
.dr-copy h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; }
.dr-copy p { margin: 0; color: var(--muted); }
.dr-list { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.dr-form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dr-done { border-left: 4px solid var(--good); }
.dr-done h3 { margin-bottom: 6px; }
@media (max-width: 880px) { .demo-req { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

.hero-2 .demo-pick { margin-top: 22px; }
.hero-2 .demo-pick .kicker { color: var(--night-muted); }
.hero-2 .demo-pick .btn { background: transparent; color: #fff; border: 1px solid var(--night-line); box-shadow: none; padding: 8px 14px; font-size: 14px; }
.hero-2 .demo-pick .btn:hover { background: rgba(255,255,255,.1); }
@media (max-width: 880px) { .hv-label { position: static; } }
/* Phone: shorter page. The page itself carries the audience links, so the header keeps only Sign in and Get started. */
.plans, .chief { grid-template-columns: minmax(0, 1fr); }
.plans > *, .chief > * { min-width: 0; }
@media (max-width: 700px) {
  .nav a[href^="#/?to="] { display: none; }
  .hero-2 { padding-block: 28px 32px; gap: 20px; }
  .hero-2 .eyebrow { display: none; }
  .hero-2 .lead { font-size: 16px; }
  .doors { margin-top: 20px; }
  .door { padding: 12px 14px; }
  .door-s { display: none; }
  .hv-photo { display: none; }
  .hv-dept .hv-row:nth-of-type(n+3) { display: none; }
  .chief { margin-top: 36px; gap: 20px; }
  .lead-dark { font-size: 16px; }
  .chief-points > div { padding-top: 10px; }
  .chief-points span { font-size: 14px; }
  .proof-table thead { display: none; }
  .proof-table tr { display: grid; grid-template-columns: auto auto 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
  .proof-table td { display: block; padding: 0; border: 0; }
  .proof-table td:nth-child(3) { grid-column: 1 / -1; order: 3; color: var(--muted); font-size: 13px; }
  .proof-table td.r { text-align: right; }
  .proof-table td.r::after { content: " days"; font-family: inherit; color: var(--muted); font-size: 12px; }
  .finding-ex p:nth-of-type(4) { display: none; }
  #apply .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #apply .step { padding: 14px; }
  #apply .step p { font-size: 13px; }
  .plans, .demo-req { margin-top: 36px; }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .promise-grid p { font-size: 13px; }
  .dr-list { display: none; }
}

/* Website stories are illustrations, never actions against demo records. */
.product-stories { margin-top: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.story-controls { display: flex; padding: 8px; gap: 6px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.story-controls button { flex: 1; padding: 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-weight: 700; color: var(--muted); }
.story-controls button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 5px #0001; }
.story-controls button:focus-visible, .story-action:focus-visible, .request-extra summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.story-label { font-size: 11px; color: var(--muted); padding: 0 28px; }
.story-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; padding: 16px 32px 32px; align-items: center; }
.story-panel[hidden], #storyEvidenceDetail[hidden] { display: none; }
.story-narrative h3 { font-size: clamp(25px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; margin: 12px 0 18px; }
.story-narrative p:not(.kicker) { font-size: 15px; line-height: 1.75; color: var(--muted); }
.story-narrative a, .story-action { font-size: 14px; color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.story-action { padding: 8px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.story-screen { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 26px; min-width: 0; box-shadow: var(--shadow); }
.story-screen-top { display: block; color: var(--muted); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; }
.story-screen h4 { font-size: 20px; color: var(--ink); margin: 22px 0 14px; }
.story-screen > p, #storyEvidenceDetail { font-size: 13px; line-height: 1.65; }
.story-metric { font-size: 40px; font-weight: 800; letter-spacing: -.04em; margin: 14px 0; }
.story-metric span { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.story-comparison { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.story-comparison b { text-align: right; }
.story-callout { border-left: 3px solid var(--warn); padding: 10px 14px; background: var(--warn-soft); color: var(--ink); }
.story-screen blockquote { margin: 22px 0; font-size: 21px; font-weight: 600; line-height: 1.4; }
.website-money-note { margin: 24px 0 14px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.website-money-note strong { color: var(--ink); }
.website-flow { list-style: none; display: flex; flex-wrap: wrap; padding: 0; gap: 8px; counter-reset: flow; }
.website-flow li { counter-increment: flow; background: var(--surface-2); padding: 8px 12px; border-radius: 6px; font-size: 12px; }
.website-flow li::before { content: counter(flow) ' / '; color: var(--muted); }
.website-scope { font-size: 14px; line-height: 1.7; color: var(--muted); }
.website-scope strong { color: var(--ink); }
.request-extra { border-top: 1px solid var(--line); padding-top: 12px; }
.request-extra summary { cursor: pointer; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.request-extra .field { margin-bottom: 12px; }
.dr-form .form-row { grid-template-columns: 1fr; }
.hero-2 h1 { text-transform: none; letter-spacing: -.045em; font-size: clamp(42px, 4.8vw, 64px); line-height: 1.04; }
#departments, #apply, #plans, #demo { scroll-margin-top: 110px; }
@media (max-width: 700px) {
  .story-panel { grid-template-columns: 1fr; gap: 20px; padding: 8px 20px 24px; }
  .story-label { padding: 0 20px; }
  .story-screen { padding: 20px; }
  .story-controls button { padding: 12px 6px; font-size: 13px; }
  .hero-2 h1 { font-size: 43px; }
  .chief-head h2 { font-size: 30px; }
  .chief-points { gap: 14px; }
  .hero-2 .hv-phone { display: none; }
}
.hero-2 h1 { font-size: clamp(38px, 4.1vw, 54px); }
.hero-2 h1 em { color: #ff657e; }
.hero-2 .door-dept { background: var(--accent); border-color: transparent; }
.hero-2 .door-dept:hover { background: var(--accent-2); }
.hero-2 .door-dept .door-s { color: #ffe3e7; }
.hero-2 .door:not(.door-dept) { background: #ffffff0d; border-color: var(--night-line); }
.hero-2 .door:not(.door-dept) .door-s { color: var(--night-muted); }
@media (max-width: 700px) { .hero-2 h1 { font-size: 38px; } }
/* Interactive controls stay under the pointer; hover changes contrast, not position. */
.btn:hover:not(:disabled) { transform: none; }

/* Department identity is the hero: a deliberate product illustration, not a stock photo. */
.hero-2::before { background: radial-gradient(ellipse at 88% 15%, #203c65 0, transparent 55%), #0b1733; }
.department-window { border: 1px solid #54708b; border-radius: 16px; overflow: hidden; background: #f9fafc; color: #14243d; box-shadow: 0 28px 70px #0005; transform: rotate(1deg); }
.dw-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; font-size: 10px; color: #52627a; border-bottom: 1px solid #dce2eb; background: #eef2f7; }
.dw-lights { color: #8092aa; letter-spacing: 2px; }
.dw-community { position: relative; height: 100px; background: linear-gradient(120deg,#123753,#26778a); overflow: hidden; }
.dw-community::before, .dw-community::after { content: ''; position: absolute; width: 240px; height: 240px; border: 1px solid #ffffff30; border-radius: 50%; right: -20px; top: -110px; }
.dw-community::after { width: 320px; height: 320px; right: -60px; top: -150px; }
.dw-monogram { position: absolute; left: 28px; top: 24px; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.dw-horizon { position: absolute; right: 0; bottom: 15px; left: 110px; height: 1px; background: #ffffff50; transform: rotate(-12deg); }
.dw-content { padding: 24px 28px 20px; }
.dw-label { font-size: 10px; color: #5a687c; letter-spacing: .045em; margin: 0 0 12px; }
.dw-content h2 { color: #14243d; font-size: 31px; line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.dw-tagline { color: #50627b; margin: 12px 0 20px; font-size: 13px; }
.dw-recruiter { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-block: 1px solid #dce2eb; font-size: 12px; }
.dw-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e1eaf0; color: #1d4c65; font-size: 11px; font-weight: 700; }
.dw-recruiter strong, .dw-recruiter div > span { display: block; }
.dw-recruiter div > span { margin-top: 4px; color: #52627a; font-size: 11px; }
.dw-path { display: grid; gap: 12px; padding: 20px 0; font-size: 12px; }
.dw-path b { color: #267186; font-size: 10px; margin-right: 12px; }
.dw-link { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #153e59; font-weight: 700; text-underline-offset: 4px; }
.dw-link:focus-visible { outline: 3px solid #c8102e; outline-offset: 4px; }
.dw-footer { padding: 12px 20px; background: #eaf0f4; font-size: 10px; text-align: center; color: #52627a; }
.hero-demo { margin-top: 22px; font-size: 12px; color: #c4d0e3; }
.hero-demo summary { cursor: pointer; width: fit-content; padding: 8px 0; }
.hero-demo .demo-pick { margin-top: 8px; }
.website-trustline { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.candidate-guide details { border-block: 1px solid var(--line); }
.candidate-guide summary { display: flex; gap: 16px; align-items: center; cursor: pointer; padding: 22px 0; }
.candidate-guide summary > span:first-child { color: var(--muted); font-size: 12px; }
.candidate-guide summary strong { font-size: 18px; }
.guide-plus { margin-left: auto; font-size: 25px; }
.candidate-guide details[open] .guide-plus { transform: rotate(45deg); }
.candidate-guide .steps { padding-bottom: 24px; }
.website-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 28px; border-top: 1px solid var(--line); }
.website-trust h2 { font-size: 27px; line-height: 1.15; letter-spacing: -.025em; }
.website-trust p:not(.kicker) { color: var(--muted); line-height: 1.7; font-size: 14px; }
.website-trust a { font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.hero-demo summary:focus-visible, .candidate-guide summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 880px) { .department-window { transform: none; max-width: 560px; width: 100%; justify-self: center; } }
@media (max-width: 700px) {
  .department-window { border-radius: 12px; }
  .dw-community { height: 56px; }
  .dw-monogram { width: 34px; height: 34px; left: 20px; top: 11px; font-size: 13px; }
  .dw-toolbar { padding: 10px 14px; }
  .dw-content { padding: 18px 20px; }
  .dw-content h2 { font-size: 26px; }
  .dw-content h2 br { display: none; }
  .dw-tagline { margin: 9px 0 12px; }
  .dw-recruiter { padding: 12px 0; }
  .dw-path { display: none; }
  .dw-link { margin-top: 16px; }
  .dw-footer { font-size: 10px; }
  .website-trustline { display: block; line-height: 1.8; }
  .website-trustline span { margin: 0 4px; }
  .candidate-guide summary { flex-wrap: wrap; gap: 7px 14px; }
  .candidate-guide summary > span:first-child { flex-basis: 100%; }
  .candidate-guide summary strong { font-size: 17px; }
  .website-trust { grid-template-columns: 1fr; gap: 4px; padding-block: 20px; }
  .website-trust h2 br { display: none; }
  .website-trust h2 { font-size: 24px; margin: 8px 0; }
  .story-narrative h3 { font-size: 25px; margin-bottom: 10px; }
  .story-narrative p:not(.kicker) { font-size: 14px; line-height: 1.6; }
  .story-screen { padding: 16px; }
  .story-panel { gap: 14px; }
  .chief-head h2 { margin-bottom: 12px; }
}
/* Written exam: score by topic, weakest-topic drill, hints, spaced review (practice.js) */
.study-item { display: grid; gap: 2px; }
.study-item.focus .study-row span:first-child { font-weight: 700; color: var(--accent); }
.study-item.focus .study-row .hb-track i { background: var(--accent); }
.study-why { margin: 0 0 4px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: inherit; }
.linkbtn:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }
.weak-box { display: grid; gap: 10px; justify-items: start; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 12px 14px; background: var(--surface-2); }
.weak-box .btn { white-space: normal; text-align: left; }
.review-card.due { border-left: 4px solid var(--accent); }
.review-card { display: grid; gap: 10px; justify-items: start; }
.review-card .card-head { width: 100%; }
.q .choices { display: grid; gap: 8px; }
.choice.static { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.q .hint { background: var(--warn-soft); color: var(--ink); border-left: 3px solid var(--warn); border-radius: 0 8px 8px 0; padding: 8px 12px; font-size: 14px; }
.q input:disabled + span { opacity: .85; }
/* Getting-hired prep: disclosure timeline, gap to standard, countdown, deadlines, weekly check-in. Colors come from the theme tokens, so dark mode follows. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
.tl-guidance { border: 1px solid var(--line); border-left: 4px solid var(--good); background: var(--good-soft); border-radius: 12px; padding: 12px 14px; margin: 10px 0; font-size: 14px; }
.tl-guidance ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.tl-flags { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tl-flag { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; }
.tl-flag > span:nth-child(2) { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.tl-flag.gap, .tl-flag.overlap { background: var(--warn-soft); border-color: transparent; }
.tl-flag-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 2px; min-width: 64px; }
.tl-flag.gap .tl-flag-kind, .tl-flag.overlap .tl-flag-kind { color: var(--warn); }
.tl-none { white-space: nowrap; }
.tl-cat { margin: 14px 0 6px; font-size: 15px; }
.tl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tl-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); }
.tl-when { flex: 0 0 150px; font-size: 13px; color: var(--muted); }
.tl-what { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.tl-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tl-tools { margin-top: 10px; flex-wrap: wrap; }
.trend-list, .nav-steps, .ci-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.trend-list li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.trend-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.trend-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.trend-top b { flex: 1 1 160px; }
.trend-proj { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--good-soft); color: var(--ink); }
.count-weeks { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.count-weeks details { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--surface-2); }
.count-weeks .ph-test details { border-color: var(--good); }
.count-weeks summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.count-weeks .tips { margin-top: 8px; }
.safety-line { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--ink); font-size: 14px; font-weight: 600; }
.prep-reminders { display: flex; flex-direction: column; gap: 8px; }
.reminder { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); }
.reminder > span { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.reminder.t7 { border-left-color: var(--warn); }
.reminder.t2 { border-left-color: var(--bad); background: var(--bad-soft); }
.nav-steps li { display: flex; gap: 12px; align-items: flex-start; }
.nav-steps li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.nav-days { flex: 0 0 56px; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 20px; font-weight: 700; line-height: 1.1; }
.nav-days small { font-size: 11px; font-weight: 600; color: var(--muted); }
.nav-steps li.soon.t2 .nav-days, .nav-steps li.past .nav-days { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.nav-steps li.soon.t7 .nav-days { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.bring summary { cursor: pointer; color: var(--accent); }
.bring .tips { margin-top: 4px; }
.ci-last { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; }
.ci-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 6px 0; font-size: 14px; }
.ci-row > span:first-child { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.seg { display: inline-flex; gap: 12px; }
.seg label { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.tl-form [hidden], .prep-checkin [hidden] { display: none !important; }
/* Practice oral board: estimates, talking points, story bank, delivery trend (tokens only, so dark mode follows) */
.board-head .seg button { color: var(--ink); }
.board-head .seg button.on { color: #fff; }
.est { align-self: stretch; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 8px; background: var(--surface); padding: 10px 12px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.est p { margin: 0; overflow-wrap: anywhere; }
.est-label { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.est-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.est-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.est-area { font-weight: 600; }
.est-dots { display: inline-flex; gap: 3px; }
.est-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--chip); border: 1px solid var(--line); }
.est-dots i.on { background: var(--navy); border-color: var(--navy); }
.est-num { font-size: 13px; color: var(--muted); }
.est-why { font-size: 13px; color: var(--muted); }
.est-fix { background: var(--warn-soft); color: var(--ink); border-radius: 6px; padding: 6px 8px; }
.est-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.est-points li { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.est-points li.on { background: var(--good-soft); color: var(--good); font-weight: 600; }
.est-points li.off { background: var(--bad-soft); color: var(--bad); }
.est-line { font-size: 13px; }
.story { border-top: 1px solid var(--line); padding: 8px 0; }
.story summary { cursor: pointer; overflow-wrap: anywhere; }
.story dl { margin: 8px 0; font-size: 13px; }
.story dt { font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.story dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.story-add { border-top: 1px solid var(--line); padding-top: 10px; }
.story-add summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.story-add form { margin-top: 10px; gap: 12px; }
.story-areas { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trend { margin: 6px 0 0; padding-left: 20px; font-size: 13px; }
#suggest a { color: var(--navy); font-weight: 600; }
.story-add textarea { min-height: 60px; }
@media (max-width: 520px) { .board-form textarea { flex-basis: 100% !important; } }
