/* IBTIL Adaptive TOEFL Studio — dashboard design system.
   Layout: a fixed side rail for navigation, a calm content column, cards only where an object needs edges.
   Type: IBM Plex Serif for display, IBM Plex Sans for UI, Vazirmatn for Persian. */
@font-face { font-family: "Plex Sans"; src: url(/fonts/plex-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(/fonts/plex-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(/fonts/plex-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(/fonts/plex-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url(/fonts/plex-serif-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url(/fonts/plex-serif-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url(/fonts/vazirmatn.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f4f6f5; --surface: #ffffff; --surface-2: #edf1f0; --surface-3: #e3e9e7;
  --ink: #132221; --ink-2: #44524f; --muted: #6b7976; --line: #d8e0de; --line-2: #c4cfcc;
  --brand: #0f4c55; --brand-2: #16646f; --brand-ink: #ffffff; --brand-soft: #e2eff0;
  --accent: #b5652a; --accent-soft: #f7ebe0;
  --good: #157a3c; --good-soft: #e5f4ea; --warn: #9a5b00; --warn-soft: #fdf0d8; --bad: #b42318; --bad-soft: #fbe9e7; --info: #3c4fb8; --info-soft: #eaedfb;
  --s-reading: #2a78d6; --s-listening: #eb6834; --s-writing: #1baf7a; --s-speaking: #eda100;
  --q1: #cde2fb; --q2: #9ec5f4; --q3: #6da7ec; --q4: #3987e5; --q5: #256abf; --q6: #184f95;
  --shadow: 0 1px 2px rgba(16,40,40,.06), 0 4px 16px rgba(16,40,40,.06);
  --f-ui: "Plex Sans", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Plex Serif", "Vazirmatn", Georgia, "Times New Roman", serif;
  --r: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111615; --surface: #182020; --surface-2: #1f2928; --surface-3: #283433;
  --ink: #ecf1ef; --ink-2: #b6c2bf; --muted: #8b9895; --line: #2b3735; --line-2: #3a4846;
  --brand: #6cc0c4; --brand-2: #8ad0d3; --brand-ink: #0b1d1e; --brand-soft: #1b3436;
  --accent: #e39b5e; --accent-soft: #3a2a1d;
  --good: #5fcf86; --good-soft: #17301f; --warn: #f2b84b; --warn-soft: #33270f; --bad: #f08a80; --bad-soft: #3a1c19; --info: #9aa8f5; --info-soft: #1f2444;
  --s-reading: #3987e5; --s-listening: #d95926; --s-writing: #199e70; --s-speaking: #c98500;
  --q1: #1b2c40; --q2: #184f95; --q3: #1c5cab; --q4: #2a78d6; --q5: #5598e7; --q6: #9ec5f4;
  --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #111615; --surface: #182020; --surface-2: #1f2928; --surface-3: #283433;
  --ink: #ecf1ef; --ink-2: #b6c2bf; --muted: #8b9895; --line: #2b3735; --line-2: #3a4846;
  --brand: #6cc0c4; --brand-2: #8ad0d3; --brand-ink: #0b1d1e; --brand-soft: #1b3436;
  --accent: #e39b5e; --accent-soft: #3a2a1d;
  --good: #5fcf86; --good-soft: #17301f; --warn: #f2b84b; --warn-soft: #33270f; --bad: #f08a80; --bad-soft: #3a1c19; --info: #9aa8f5; --info-soft: #1f2444;
  --s-reading: #3987e5; --s-listening: #d95926; --s-writing: #199e70; --s-speaking: #c98500;
  --q1: #1b2c40; --q2: #184f95; --q3: #1c5cab; --q4: #2a78d6; --q5: #5598e7; --q6: #9ec5f4;
  --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark; }

* { box-sizing: border-box; }
html, body { height: 100%; }
#app { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; }
[dir="rtl"] body, [dir="rtl"] { font-family: "Vazirmatn", var(--f-ui); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-2); }
h1, h2, h3 { text-wrap: balance; line-height: 1.25; margin: 0; }
:focus-visible { outline: 3px solid #f0a020; outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100%; }
.rail { background: var(--brand); color: var(--brand-ink); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
:root[data-theme="dark"] .rail, :root:not([data-theme="light"]) .rail { }
.brandmark { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brandmark .logo { font-weight: 700; letter-spacing: .08em; font-size: 15px; border: 1.5px solid currentColor; padding: 3px 8px; border-radius: 4px; }
.brandmark .name { font-family: var(--f-display); font-size: 15px; line-height: 1.2; opacity: .95; }
.brandmark .name small { display: block; font-family: var(--f-ui); font-size: 11.5px; opacity: .7; letter-spacing: .02em; }
.nav a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; padding: 9px 10px; border-radius: 8px; font-weight: 500; opacity: .86; }
.nav a:hover { background: rgba(255,255,255,.1); opacity: 1; }
.nav a.on { background: rgba(255,255,255,.16); opacity: 1; }
:root[data-theme="dark"] .nav a.on, :root[data-theme="dark"] .nav a:hover { background: rgba(0,0,0,.14); }
.nav a .ic { width: 18px; height: 18px; flex: 0 0 18px; }
.nav a .badge { margin-inline-start: auto; background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.nav .sep { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; padding: 16px 10px 4px; }
.rail .foot { margin-top: auto; padding: 12px 8px 0; font-size: 13px; display: grid; gap: 8px; }
.rail .foot button { background: rgba(255,255,255,.1); border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; text-align: start; }
.rail .who { opacity: .8; }
.main { min-width: 0; padding-block: 28px 64px; padding-inline: 32px; max-width: 1240px; width: 100%; }
.topbar { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0,1fr); }
  .rail { position: fixed; inset-block: 0; inset-inline-start: 0; width: 260px; z-index: 40; transform: translateX(-105%); transition: transform .2s; height: 100%; }
  [dir="rtl"] .rail { transform: translateX(105%); }
  .rail.open { transform: none; }
  .topbar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; }
  .topbar button { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: inherit; border-radius: 6px; padding: 4px 10px; }
  .main { padding-inline: 16px; padding-block: 18px 48px; }
}

/* ---------- page furniture ---------- */
.ph { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.ph h1 { font-family: var(--f-display); font-weight: 600; font-size: 28px; letter-spacing: -.01em; }
.ph p { margin: 6px 0 0; color: var(--ink-2); max-width: 68ch; }
.eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 12px; }
.section-h h2 { font-size: 17px; font-weight: 600; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; min-width: 0; }
.card.flat { background: var(--surface-2); border-color: transparent; }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.kpi { display: grid; gap: 2px; }
.kpi .v { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .l { color: var(--muted); font-size: 13px; }
.kpi .d { font-size: 12.5px; }
.list { display: grid; }
.list > * { padding: 12px 0; border-top: 1px solid var(--line); }
.list > *:first-child { border-top: 0; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row .grow { flex: 1 1 200px; min-width: 0; }
.stack { display: grid; gap: 10px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--brand-ink); border: 1.5px solid var(--brand); border-radius: 8px; padding: 8px 16px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand-2); }
.btn.quiet { background: var(--surface-2); color: var(--ink); border-color: transparent; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.sm { padding: 4px 10px; font-size: 13px; border-radius: 6px; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.field { display: grid; gap: 5px; }
.field label, .lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 8px 11px; }
.input:focus { outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { accent-color: var(--brand); width: 16px; height: 16px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 8px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 6px; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 9px 14px; cursor: pointer; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--brand); }

/* ---------- chips & states ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.advance, .chip.good, .chip.mastered, .chip.published { background: var(--good-soft); color: var(--good); }
.chip.consolidate, .chip.info, .chip.developing { background: var(--info-soft); color: var(--info); }
.chip.remediate, .chip.warn, .chip.needs-work, .chip.quarantined, .chip.pending { background: var(--warn-soft); color: var(--warn); }
.chip.reassess { background: var(--brand-soft); color: var(--brand-2); }
.chip.bad, .chip.rejected { background: var(--bad-soft); color: var(--bad); }
.chip.easy { background: var(--good-soft); color: var(--good); } .chip.medium { background: var(--info-soft); color: var(--info); } .chip.hard { background: var(--accent-soft); color: var(--accent); }
.skill-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: 0 0 10px; }
.notice { border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.notice.info { background: var(--info-soft); color: var(--info); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.good { background: var(--good-soft); color: var(--good); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }

/* ---------- band meter: 1–6 scale with estimate range and target ---------- */
.meter { position: relative; height: 26px; margin-top: 6px; }
.meter .track { position: absolute; inset-inline: 0; top: 10px; height: 6px; border-radius: 3px; background: var(--surface-3); }
.meter .range { position: absolute; top: 10px; height: 6px; border-radius: 3px; background: var(--q3); opacity: .55; }
.meter .est { position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 2px solid var(--surface); transform: translateX(-50%); }
[dir="rtl"] .meter .est, [dir="rtl"] .meter .tgt { transform: translateX(50%); }
.meter .tgt { position: absolute; top: 2px; width: 2px; height: 22px; background: var(--accent); transform: translateX(-50%); }
.meter-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.band-big { font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.band-big small { font-size: 14px; font-weight: 500; color: var(--muted); }

/* ---------- skill cards ---------- */
.skillcard { display: grid; gap: 8px; }
.skillcard .top { display: flex; align-items: center; gap: 8px; }
.skillcard .top h3 { margin: 0; }
.skillcard .sub { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; font-size: 13px; align-items: center; }

/* ---------- plan ---------- */
.plan { display: grid; gap: 10px; }
.plan-item { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.plan-item .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); display: grid; place-items: center; font-weight: 700; }
.plan-item h3 { font-size: 15px; margin: 0 0 2px; }
.plan-item p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.hero { background: var(--brand); color: var(--brand-ink); border-radius: 14px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; }
.hero h2 { font-family: var(--f-display); font-weight: 500; font-size: 24px; }
.hero p { margin: 6px 0 0; opacity: .85; }
.hero .btn { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.hero .stat { text-align: center; } .hero .stat b { display: block; font-size: 28px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hero { grid-template-columns: minmax(0,1fr); } }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.tbl { border-collapse: collapse; width: 100%; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.tbl th { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); position: sticky; top: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: var(--surface-2); }
.tbl td.num, .tbl th.num { text-align: end; font-variant-numeric: tabular-nums; }

/* ---------- heatmap ---------- */
.heat { border-collapse: separate; border-spacing: 2px; font-size: 13px; }
.heat th { font-weight: 600; font-size: 11.5px; color: var(--muted); padding: 4px; vertical-align: bottom; }
.heat th.sub { writing-mode: vertical-rl; transform: rotate(180deg); text-align: start; height: 150px; white-space: nowrap; }
.heat td { width: 44px; height: 34px; text-align: center; border-radius: 4px; font-variant-numeric: tabular-nums; font-weight: 600; }
.heat td.name { width: auto; text-align: start; padding-inline-end: 12px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.heat td.na { background: var(--surface-2); color: var(--muted); font-weight: 400; }
.heat td.unc { outline: 1.5px dashed var(--line-2); outline-offset: -3px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); align-items: center; }
.legend .sw { width: 14px; height: 10px; border-radius: 2px; display: inline-block; margin-inline-end: 5px; vertical-align: -1px; }

/* ---------- charts ---------- */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--muted); font-size: 11px; font-family: var(--f-ui); }
.chart .lbl { fill: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 12.5px; padding: 6px 9px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -110%); z-index: 5; }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(8,20,20,.5); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal .box { background: var(--surface); border-radius: 14px; width: min(640px, 100%); max-height: 88vh; overflow: auto; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal .box.wide { width: min(980px, 100%); }
.modal h2 { font-size: 19px; margin-bottom: 12px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
#toasts { position: fixed; inset-block-end: 18px; inset-inline-end: 18px; display: grid; gap: 8px; z-index: 80; }
.toast { background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-size: 14px; box-shadow: var(--shadow); max-width: 360px; }
.toast.bad { background: var(--bad); color: #fff; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.auth .side { background: var(--brand); color: var(--brand-ink); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth .side h1 { font-family: var(--f-display); font-weight: 500; font-size: 38px; line-height: 1.15; max-width: 16ch; }
.auth .side ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; max-width: 46ch; }
.auth .side li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; opacity: .92; }
.auth .side li b { display: block; }
.auth .form { padding: 48px; display: grid; align-content: center; justify-items: center; }
.auth .form > div { width: min(400px, 100%); display: grid; gap: 14px; }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0,1fr); } .auth .side { padding: 28px 20px; } .auth .side h1 { font-size: 28px; } .auth .form { padding: 28px 16px; } }

/* ---------- lessons, review ---------- */
.lesson { border-inline-start: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; padding: 12px 16px; }
[dir="rtl"] .lesson { border-radius: 8px 0 0 8px; }
.lesson .fa { direction: rtl; font-family: "Vazirmatn", var(--f-ui); margin-top: 6px; color: var(--ink-2); }
.objective { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.flash { display: grid; place-items: center; text-align: center; min-height: 220px; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.flash .word { font-family: var(--f-display); font-size: 34px; }
details.more > summary { cursor: pointer; color: var(--brand-2); font-weight: 600; font-size: 14px; }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }
pre.code { background: var(--surface-2); padding: 10px 12px; border-radius: 8px; overflow-x: auto; font-size: 13px; }

/* ---------- release 2: shelves, builder, store, reports ---------- */
.builder-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .builder-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .builder-cols { grid-template-columns: 1fr; } }
.bcol { padding: 12px; min-width: 0; }
.blist { max-height: 460px; overflow: auto; display: grid; gap: 6px; padding-inline-end: 2px; }
.bsec { display: flex; align-items: center; gap: 8px; width: 100%; text-align: start; background: var(--surface-2); border: 1px solid transparent; border-radius: 8px; padding: 8px 10px; color: var(--ink); font: inherit; cursor: pointer; }
.bsec:hover { border-color: var(--line-2); }
.bsec.on { border-color: var(--brand); background: var(--brand-soft); }
.bsec .grow { flex: 1; min-width: 0; }
.used { font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.report-doc .band-big { line-height: 1.05; }
@media print {
  .rail, .topbar, .no-print, #toasts { display: none !important; }
  .shell { display: block !important; }
  .main { padding: 0 !important; max-width: none !important; }
  body { background: #fff !important; }
  .card { box-shadow: none !important; break-inside: avoid; border: 1px solid #ccd; }
  .report-doc .grid.g4 { grid-template-columns: repeat(5, 1fr) !important; }
}
@media (max-width: 900px) { .report-scores { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.report-doc .tbl td { vertical-align: middle; }
/* release 4: section tabs, Learn hub, next-step card */
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: -4px 0 18px; }
.subtabs a { padding: 8px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subtabs a.on { color: var(--ink); border-bottom-color: var(--brand, #0e6e62); }
.hubcard { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s; }
.hubcard:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.hubcard svg { width: 22px; height: 22px; color: var(--brand, #0e6e62); }
.hubcard h3 { margin: 4px 0 0; }
.nextstep { border: 2px solid var(--brand, #0e6e62); margin-bottom: 4px; }
.nextstep .eyebrow { color: var(--brand, #0e6e62); }
.nextstep h2 { margin: 6px 0 4px; }
.btn.lg { padding: 12px 22px; font-size: 16px; }
/* release 4: free taster */
.taster-wrap { max-width: 760px; margin: 40px auto; padding: 0 16px; }
.taster-head { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; font-weight: 600; }
.taster-head .logo { background: var(--brand); color: var(--brand-ink); padding: 4px 8px; border-radius: 6px; font-weight: 800; letter-spacing: .04em; }
.taster .tbar { height: 6px; background: var(--surface-3); border-radius: 99px; overflow: hidden; margin: 8px 0 14px; }
.taster .tbar i { display: block; height: 100%; background: var(--brand); }
.taster .tprompt { font-style: italic; color: var(--muted); }
.taster .tsent { font-size: 18px; line-height: 2.4; }
.taster .slot { min-width: 70px; border: 0; border-bottom: 2px solid var(--brand); background: var(--brand-soft); border-radius: 6px 6px 0 0; padding: 3px 8px; font: inherit; cursor: pointer; color: var(--ink); }
.taster .bank { display: flex; flex-wrap: wrap; gap: 8px; }
.taster .tile { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; color: var(--ink); }
.try-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; margin-top: 14px; border: 1px dashed var(--brand); }
.navmode { margin: 14px 10px 0; background: transparent; border: 1px solid rgba(255,255,255,.25); color: inherit; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; opacity: .85; text-align: start; }
.navmode:hover { opacity: 1; background: rgba(255,255,255,.08); }
