/* SuperMood coaching portal — shared styles
   Tokens and components lifted from the "Closing the Gap" concept package.
   Light theme only. Every text/background pair passes WCAG AA. */

:root {
  --ground: #FAF9F7;
  --card: #FFFFFF;
  --ink: #262B33;
  --ink-head: #1F2733;
  --ink-2: #5C6470;
  --ink-3: #8A8F98;        /* 3.6:1 — decorative labels ≥ 12px only, never body copy */
  --hair: #E7E3DB;
  --hair-soft: #F0EDE6;
  --brass: #7A5B1E;
  --brass-soft: #D8C9A5;
  --brass-tint: #F7F3EA;
  --band: #223047;
  --ok: #1B6E3C;
  --warn: #8A5A00;
  --bad: #9E2A2A;
  --a1: #95346B; --a2: #3B5FB0; --a3: #C14E2E; --a4: #0080A6;
  --a5: #B58312; --a6: #804A08; --a7: #6B5FA8;
  --display: "Optima", "Candara", "Segoe UI", Verdana, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
}
a { color: var(--brass); }
button { font: inherit; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.frame { max-width: 1180px; margin: 0 auto; padding: 0 32px 64px; }
.frame--narrow { max-width: 1060px; }

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--hair); flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display); font-size: 19px; letter-spacing: .24em;
  color: var(--ink-head); text-transform: uppercase; text-decoration: none;
}
.wordmark span { color: var(--brass); }
.nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav a { color: inherit; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a.active { color: var(--ink-head); font-weight: 600; border-bottom-color: var(--brass); }
.nav a:hover { color: var(--ink-head); }
.top-right { display: flex; align-items: center; gap: 16px; }
.session-pill {
  display: flex; align-items: center; gap: 8px; background: var(--card);
  border: 1px solid var(--hair); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: var(--ink-2);
}
.session-pill strong { color: var(--ink-head); font-weight: 600; }
.session-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--band); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  font-family: var(--display); letter-spacing: .05em; flex: none;
}
.avatar--sm { width: 30px; height: 30px; font-size: 11.5px; }

/* ── Coach band (viewing a client as the coach) ─────── */
.coach-band {
  background: var(--band); color: #fff; margin: 0 -32px; padding: 10px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; flex-wrap: wrap;
}
.coach-band b { font-weight: 600; }
.coach-band a { color: #DCC79A; text-decoration: none; border-bottom: 1px solid rgba(220,199,154,.5); }
.coach-band .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255,255,255,.14); padding: 3px 9px; border-radius: 3px; margin-right: 10px;
}

/* ── Type ────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 10px; font-weight: 600;
}
h1.title {
  font-family: var(--display); font-size: 36px; font-weight: 500; color: var(--ink-head);
  margin: 0 0 12px; letter-spacing: .01em; text-wrap: balance;
}
.intro { margin: 40px 0 28px; max-width: 66ch; }
.intro p { color: var(--ink-2); margin: 0; }
.intro-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; max-width: none; }
.intro-row > div:first-child { max-width: 66ch; }
.program { text-align: right; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.program .n { display: block; font-family: var(--display); font-size: 30px; color: var(--ink-head); line-height: 1.1; }
.card > h3 { font-family: var(--display); font-size: 21px; font-weight: 500; color: var(--ink-head); margin: 0 0 4px; letter-spacing: .01em; }
h2.card-title, .card h2 {
  font-family: var(--display); font-size: 21px; font-weight: 500; color: var(--ink-head); margin: 0 0 4px; letter-spacing: .01em;
}
.sub { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.crumb { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--brass-soft); }

/* ── Cards / layout ──────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 28px 32px; }
.layout-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.layout-main-rail { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-top: 20px; }
.layout-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--band); color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; padding: 10px 18px; border-radius: 8px; text-decoration: none; border: 1px solid var(--band); cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--brass); border-color: var(--brass-soft); }
.btn:hover { opacity: .92; }

/* ── View toggle (Wheel | Board) ─────────────────────── */
.toggle { display: inline-flex; border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; background: var(--card); }
.toggle button {
  background: transparent; border: 0; padding: 8px 16px; font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.toggle button.active { background: var(--band); color: #fff; font-weight: 600; }

/* ── Legend / radar ──────────────────────────────────── */
.legend { display: flex; gap: 12px 22px; font-size: 13px; color: var(--ink-2); margin: 0 0 8px; flex-wrap: wrap; }
.legend > span { white-space: nowrap; }
.legend .key { display: inline-block; width: 22px; height: 3px; background: var(--band); vertical-align: middle; margin-right: 8px; border-radius: 2px; }
.legend .key.vision { background: var(--brass); }
.radar-wrap { position: relative; }
.radar-wrap svg { width: 100%; height: auto; display: block; }
.tip {
  position: absolute; pointer-events: none; opacity: 0; transition: opacity .12s ease;
  background: var(--band); color: #fff; font-size: 12.5px; line-height: 1.45; padding: 10px 12px;
  border-radius: 8px; max-width: 240px; transform: translate(-50%, calc(-100% - 14px)); z-index: 5;
}
.tip b { font-weight: 600; }
.tip .gapline { color: #DCC79A; }

/* ── Ranked gap list ─────────────────────────────────── */
.gap-list .row {
  display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--hair-soft); cursor: pointer; text-decoration: none; color: inherit;
}
.gap-list .row:last-child { border-bottom: 0; }
.gap-list .row:hover { background: var(--hair-soft); border-radius: 8px; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.gap-list .name { font-weight: 600; font-size: 15px; color: var(--ink-head); }
.gap-list .name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.gap-chip { text-align: right; font-family: var(--display); font-size: 20px; color: var(--ink-head); line-height: 1; }
.gap-chip small { display: block; font-family: var(--body); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.focus-tag {
  display: inline-block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; color: var(--a1); background: #95346B14;
}
.focus-tag.second { color: var(--ink-2); background: #22304710; }

/* ── Commitments ─────────────────────────────────────── */
.commit { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
.commit:last-child { border-bottom: 0; }
.commit .n { font-family: var(--display); font-size: 20px; color: var(--a1); line-height: 1.2; min-width: 16px; }
.commit p { margin: 0; line-height: 1.5; }
.commit small { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 3px; }
.commit-strip { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.commit-strip .commit { padding: 0; border: 0; }

.actions-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.actions-head h2 { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--ink-head); margin: 0; }
.actions-head .count { font-size: 13px; color: var(--ink-2); }
.action { display: flex; gap: 16px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--hair-soft); cursor: pointer; }
.action:last-child { border-bottom: 0; }
.box {
  width: 24px; height: 24px; border-radius: 7px; border: 2px solid #C6BFB0; flex: none; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; background: #fff; transition: all .15s ease;
}
.action.done .box { background: var(--area, var(--a1)); border-color: var(--area, var(--a1)); }
.box svg { opacity: 0; transition: opacity .15s ease; }
.action.done .box svg { opacity: 1; }
.action p { margin: 0; line-height: 1.5; }
.action.done p { color: var(--ink-3); text-decoration: line-through; text-decoration-color: #C6BFB0; }
.action small { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 3px; text-decoration: none; }

/* ── Session card ────────────────────────────────────── */
.sess-date { font-family: var(--display); font-size: 24px; color: var(--ink-head); margin: 2px 0; }
.rail-card { background: var(--card); border: 1px solid var(--hair); border-radius: 14px; padding: 24px; }
.rail-card h3 { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--ink-head); margin: 0 0 12px; letter-spacing: .02em; }
.rail-card p { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 0; }
.rail-card .btn { margin-top: 16px; }
.next-chip { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }

/* ── Gap board ───────────────────────────────────────── */
.board-scroll { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.board { min-width: 900px; background: var(--card); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; }
.band {
  background: var(--band); color: #fff; text-align: center; font-size: 12.5px; letter-spacing: .28em;
  text-transform: uppercase; padding: 13px 16px; font-weight: 600;
}
.band em { font-style: normal; color: #DCC79A; }
.cols { display: grid; grid-template-columns: repeat(7, 1fr); }
.col { padding: 22px 16px 24px; border-right: 1px solid var(--hair-soft); position: relative; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.col:last-child { border-right: 0; }
.col:hover { background: var(--ground); }
.focus-flag { position: absolute; top: 0; left: 16px; right: 16px; height: 3px; border-radius: 0 0 3px 3px; }
.area-chip { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-head); line-height: 1.3; }
.col .focus-tag { margin: 8px 0 0; }
.statement { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 14px 0 0; }
.statement.vision { font-family: var(--display); color: var(--ink-head); font-size: 15px; min-height: 96px; }
.track-wrap { display: grid; grid-template-columns: 12px 1fr; gap: 14px; margin: 18px 0 14px; height: 220px; }
.track { position: relative; background: var(--hair-soft); border-radius: 6px; width: 12px; }
.track .fill { position: absolute; left: 0; right: 0; border-radius: 6px; }
.track .tick { position: absolute; left: -2px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(30,40,55,.3); }
.track-nums { position: relative; font-variant-numeric: tabular-nums; }
.track-nums div { position: absolute; left: 0; line-height: 1; }
.track-nums .vision-n, .track-nums .now-n { font-family: var(--display); font-size: 24px; color: var(--ink-head); }
.track-nums small { display: block; font-family: var(--body); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.track-nums .gap-n { font-size: 13px; font-weight: 600; color: var(--brass); white-space: nowrap; }
.track-nums .same-n small { color: var(--ink-2); }
.now-score-row { border-top: 1px dashed var(--hair); padding-top: 12px; margin-top: 6px; }
.now-score-row .statement { margin: 0; font-size: 13.5px; }

/* ── Meter (drill-down hero) ─────────────────────────── */
.hero { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 36px 40px; border-top: 4px solid var(--area, var(--a1)); }
.hero .eyebrow { color: var(--area, var(--a1)); }
.hero h1 { font-family: var(--display); font-size: 38px; font-weight: 500; color: var(--ink-head); margin: 0 0 6px; letter-spacing: .01em; }
.hero .why { color: var(--ink-2); margin: 0 0 30px; max-width: 58ch; }
.meter-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.meter { position: relative; height: 14px; background: var(--hair-soft); border-radius: 7px; }
.meter .span { position: absolute; top: 0; bottom: 0; background: var(--area, var(--a1)); opacity: .22; border-radius: 7px; }
.meter .done { position: absolute; top: 0; bottom: 0; background: var(--area, var(--a1)); border-radius: 7px 0 0 7px; }
.meter .pin { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translate(-50%, -50%); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(30,40,55,.3); }
.meter-nums { display: flex; position: relative; height: 56px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.meter-nums div { position: absolute; transform: translateX(-50%); text-align: center; }
.meter-nums .big { font-family: var(--display); font-size: 26px; color: var(--ink-head); line-height: 1.1; }
.meter-nums .big.gap { color: var(--brass); font-size: 18px; }
.meter-nums small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.vision-quote { margin: 26px 0 0; padding: 20px 24px; background: var(--brass-tint); border-radius: 10px; border-left: 3px solid var(--brass); }
.vision-quote p { margin: 0; font-family: var(--display); font-size: 17px; color: var(--ink-head); line-height: 1.5; }
.vision-quote small { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.mini-meter { position: relative; height: 8px; background: var(--hair-soft); border-radius: 4px; margin: 12px 0 6px; }
.mini-meter .span { position: absolute; top: 0; bottom: 0; border-radius: 4px; opacity: .25; }
.mini-meter .now { position: absolute; top: 0; bottom: 0; border-radius: 4px 0 0 4px; }
.mini-nums { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini-nums b { color: var(--ink-head); }

/* ── Area cards (whole picture) ──────────────────────── */
.whole-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.whole-head h2 { font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--ink-head); margin: 0; }
.whole-head a { font-size: 13px; color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--brass-soft); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s ease; }
.area-card:hover { box-shadow: 0 3px 14px rgba(30,40,55,.08); }
.area-card .chip { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-head); margin-bottom: 12px; }
.area-card .nums { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; font-variant-numeric: tabular-nums; }
.area-card .nums b { color: var(--ink-head); }
.bar { position: relative; height: 8px; background: var(--hair-soft); border-radius: 4px; }
.bar .span { position: absolute; top: 0; bottom: 0; border-radius: 4px; opacity: .25; }
.bar .now { position: absolute; top: 0; bottom: 0; border-radius: 4px 0 0 4px; }

/* ── Blueprint ───────────────────────────────────────── */
.bp-row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; }
.bp-row:last-child { border-bottom: 0; }
.bp-row:hover .bp-name { color: var(--brass); }
.bp-name { font-family: var(--display); font-size: 20px; color: var(--ink-head); margin: 6px 0 4px; }
.bp-meta { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bp-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.bp-text { margin: 0; line-height: 1.55; }
.bp-text.vision { font-family: var(--display); font-size: 16.5px; color: var(--ink-head); }
.bp-text.now { color: var(--ink-2); font-size: 15px; }

/* ── Sessions list ───────────────────────────────────── */
.sess-row { display: grid; grid-template-columns: 56px 170px 1fr auto; gap: 20px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--hair-soft); }
.sess-row:last-child { border-bottom: 0; }
.sess-row .no { font-family: var(--display); font-size: 22px; color: var(--ink-head); font-variant-numeric: tabular-nums; }
.sess-row .when { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sess-row .what { font-size: 15px; color: var(--ink-head); }
.sess-row .what small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.sess-row.upcoming .no, .sess-row.upcoming .what { color: var(--ink-2); }
.sess-row.next { background: var(--brass-tint); border-radius: 10px; padding-left: 12px; padding-right: 12px; }
.pill { display: inline-block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 4px 9px; border-radius: 4px; }
.pill.done { color: var(--ok); background: #1B6E3C14; }
.pill.next { color: var(--brass); background: #7A5B1E1A; }
.pill.upcoming { color: var(--ink-2); background: #22304710; }
.pill.warn { color: var(--warn); background: #8A5A0014; }
.pill.bad { color: var(--bad); background: #9E2A2A14; }

/* ── Admin roster ────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 32px; }
.stat { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 18px 22px; }
.stat .v { font-family: var(--display); font-size: 30px; color: var(--ink-head); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.table-wrap { background: var(--card); border: 1px solid var(--hair); border-radius: 14px; overflow-x: auto; }
table.roster { width: 100%; border-collapse: collapse; min-width: 880px; }
.roster th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.roster td { padding: 0; border-bottom: 1px solid var(--hair-soft); vertical-align: middle; height: 60px; font-size: 14.5px; }
.roster tr:last-child td { border-bottom: 0; }
.roster td a { display: block; padding: 12px 18px; color: inherit; text-decoration: none; }
.roster tr:hover td { background: var(--ground); }
.roster .who { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-head); }
.roster .who small { display: block; font-weight: 400; color: var(--ink-2); font-size: 12.5px; }
.roster .tnum { font-variant-numeric: tabular-nums; }
.roster .muted { color: var(--ink-2); }
.roster .area-name { display: inline-flex; align-items: center; gap: 8px; }
.prog { display: inline-flex; align-items: center; gap: 10px; }
.prog .bar { width: 72px; }
.prog .bar .now { background: var(--band); }

/* ── Coach panels ────────────────────────────────────── */
.panel h3 { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink-head); margin: 0 0 14px; }
.kv { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px 16px; font-size: 14px; align-items: center; }
.kv .h { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
.kv .r { text-align: right; font-variant-numeric: tabular-nums; }
.kv .r b { color: var(--ink-head); }
.note { font-size: 14.5px; color: var(--ink); line-height: 1.55; margin: 0; }
.note + .note { margin-top: 10px; }
.note-meta { font-size: 12px; color: var(--ink-2); margin: 0 0 4px; }
.readonly-hint { font-size: 12.5px; color: var(--ink-2); margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--hair); }

/* ── Sign in ─────────────────────────────────────────── */
.signin { min-height: 100vh; display: flex; flex-direction: column; }
.signin .frame { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.signin .wordmark { display: block; text-align: center; margin-bottom: 44px; }
.signin h1 { font-family: var(--display); font-size: 34px; font-weight: 500; color: var(--ink-head); text-align: center; margin: 0 0 10px; }
.signin .lede { text-align: center; color: var(--ink-2); margin: 0 auto 40px; max-width: 48ch; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.door { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 32px 32px 28px; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s ease; }
.door:hover { box-shadow: 0 6px 22px rgba(30,40,55,.1); }
.door .eyebrow { margin-bottom: 8px; }
.door h2 { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--ink-head); margin: 0 0 8px; }
.door p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 18px; }
.door .btn { display: inline-block; }
.demo-note { margin: 36px auto 0; max-width: 760px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--hair); padding-top: 16px; }
.demo-note select { font: inherit; font-size: 13px; color: var(--ink); padding: 4px 8px; border: 1px solid var(--hair); border-radius: 4px; background: var(--card); margin-left: 6px; }

footer.foot { margin-top: 40px; font-size: 12.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--hair); padding-top: 18px; }
footer.foot a { color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--brass-soft); }

.empty { color: var(--ink-2); font-size: 14px; padding: 24px 0; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .frame { padding: 0 16px 48px; }
  .coach-band { margin: 0 -16px; padding: 10px 16px; }
  .layout-2, .layout-main-rail, .layout-3-2 { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .commit-strip { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bp-row { grid-template-columns: 1fr; gap: 14px; }
  .nav { order: 3; width: 100%; gap: 20px; }
  .doors { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr auto auto auto; }
}
@media (max-width: 560px) {
  .area-grid { grid-template-columns: 1fr; }
  .hero { padding: 26px 22px; }
  .card { padding: 22px 20px; }
  .sess-row { grid-template-columns: 44px 1fr; }
  .sess-row .what { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr; }
}
