/* Layout: product shell — client sidebar, top bar, working canvas; full-screen focus mode for onboarding,
   assessment, player and exam. Palette taken from the IGNIT logo: ember orange, leaf gold, leaf teal, ink. */
:root {
  --bg: #f4f5f4;
  --surface: #ffffff;
  --sunken: #eceeed;
  --ink: #17181a;
  --muted: #5a6062;
  --faint: #8b9294;
  --line: #e2e5e4;
  --accent: #f0621f;          /* IGNIT ember (the dot on the i) */
  --accent-2: #f5a524;        /* leaf gold */
  --accent-ink: #ffffff;
  --accent-soft: #fdebe0;
  --brand: #12787a;           /* leaf teal */
  --brand-2: #0b4b4d;
  --brand-soft: #dcefee;
  --good: #1f8a4c; --good-soft: #e1f3e8;
  --warn: #b25d00; --warn-soft: #fcefd9;
  --bad: #c2362f; --bad-soft: #fbe5e3;
  --h-wb: #eea597; --h-b: #f6cf9c; --h-n: #f3e8b5; --h-a: #b9e0cf; --h-ab: #6fc4a6;
  --hero: linear-gradient(155deg, #0b4b4d 0%, #0f3233 46%, #18191b 100%);
  --ember: linear-gradient(135deg, #f0621f 0%, #f5a524 100%);
  --logo-l: inline-block; --logo-d: none;
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 26, .05);
  --shadow: 0 1px 2px rgba(23, 24, 26, .05), 0 8px 24px -8px rgba(23, 24, 26, .10);
  --shadow-lg: 0 20px 50px -20px rgba(11, 75, 77, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1112; --surface: #161a1b; --sunken: #1e2324; --ink: #eef0ef; --muted: #a2aaab; --faint: #737c7d; --line: #283031;
    --accent: #ff7434; --accent-2: #f7b54a; --accent-ink: #1a0b03; --accent-soft: #3a1f12; --brand: #3fb6b2; --brand-2: #1d6e6f; --brand-soft: #123435;
    --good: #5ccb8a; --good-soft: #15301f; --warn: #f2a845; --warn-soft: #33250f; --bad: #ff7a70; --bad-soft: #3a1817;
    --h-wb: #7c372f; --h-b: #7a5627; --h-n: #69602f; --h-a: #275a49; --h-ab: #2d8a68;
    --hero: linear-gradient(155deg, #0c3d3f 0%, #0d2425 50%, #0e1112 100%);
    --logo-l: none; --logo-d: inline-block;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -8px rgba(0,0,0,.5);
    --shadow-lg: 0 20px 50px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1112; --surface: #161a1b; --sunken: #1e2324; --ink: #eef0ef; --muted: #a2aaab; --faint: #737c7d; --line: #283031;
  --accent: #ff7434; --accent-2: #f7b54a; --accent-ink: #1a0b03; --accent-soft: #3a1f12; --brand: #3fb6b2; --brand-2: #1d6e6f; --brand-soft: #123435;
  --good: #5ccb8a; --good-soft: #15301f; --warn: #f2a845; --warn-soft: #33250f; --bad: #ff7a70; --bad-soft: #3a1817;
  --h-wb: #7c372f; --h-b: #7a5627; --h-n: #69602f; --h-a: #275a49; --h-ab: #2d8a68;
  --hero: linear-gradient(155deg, #0c3d3f 0%, #0d2425 50%, #0e1112 100%);
  --logo-l: none; --logo-d: inline-block;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -8px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 50px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: 28px; font-weight: 650; line-height: 1.15; }
h2 { font-size: 19px; font-weight: 620; }
h3 { font-size: 15px; font-weight: 620; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 12.5px; }
.eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack.lg { gap: 20px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3, .g-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .g2, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- logos ---------- */
.logo-img { display: inline-flex; align-items: center; flex: none; }
.logo-img img { width: auto; max-width: none; }
.logo-img .lg-l { display: var(--logo-l); }
.logo-img .lg-d { display: var(--logo-d); }
.plate { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 20px -8px rgba(0,0,0,.35); }
.plate .lg-l { display: inline-block; } .plate .lg-d { display: none; }
.plate.light { box-shadow: none; border: 1px solid var(--line); background: #fff; }
.madeby { font-size: 11.5px; color: var(--faint); letter-spacing: .02em; display: inline-flex; gap: 4px; align-items: baseline; }
.madeby b { font-family: var(--font-display); color: var(--accent); letter-spacing: .08em; font-weight: 700; }
.madeby.on-dark { color: rgba(255,255,255,.7); }
.madeby.on-dark b { color: #ffb489; }
.madeby.center { justify-content: center; width: 100%; padding-top: 8px; }

/* ---------- buttons, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); padding: 8px 15px; border-radius: 10px; cursor: pointer; font-weight: 560; font-size: 13.5px; text-decoration: none; color: var(--ink); white-space: nowrap; transition: border-color .15s, background .15s, transform .1s, box-shadow .15s; box-shadow: var(--shadow-sm); }
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); box-shadow: 0 6px 16px -8px var(--accent); }
.btn.primary:hover { filter: brightness(1.05); box-shadow: 0 8px 20px -8px var(--accent); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; }
.btn.ghost:hover { color: var(--ink); background: var(--sunken); }
.btn.sm { padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { padding: 12px 22px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.danger { color: var(--bad); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.input, select.input, textarea.input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 12px; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { min-height: 90px; resize: vertical; font-family: var(--font-mono); font-size: 12.5px; }
input[type="range"] { accent-color: var(--accent); width: 100%; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; min-width: 0; }
.toggle { position: relative; width: 40px; height: 23px; border-radius: 999px; background: var(--line); border: 0; cursor: pointer; flex: none; transition: background .15s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .15s; }
.toggle.on { background: var(--brand); }
.toggle.on::after { left: 20px; }
.toggle[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; box-shadow: var(--shadow-sm); }
.card.pad-lg { padding: 26px; }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.kpi { position: relative; overflow: hidden; }
.kpi .eyebrow { margin-bottom: 8px; }
.kpi .v { font-family: var(--font-display); font-size: 30px; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi .s { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.grid.g4 > .kpi::after, .grid.g3 > .kpi::after { content: ''; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); opacity: .7; }
.grid.g4 > .kpi:nth-child(even)::after, .grid.g3 > .kpi:nth-child(even)::after { background: var(--brand-soft); }
.up { color: var(--good); }
.down { color: var(--bad); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sunken); color: var(--muted); white-space: nowrap; }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.note { background: var(--sunken); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.note b { color: var(--ink); }
.divider { height: 1px; background: var(--line); margin: 4px 0; }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--sunken); }
table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tbody tr:hover td { background: color-mix(in srgb, var(--sunken) 50%, transparent); }
table.t tr:last-child td { border-bottom: 0; }
table.t td.n, table.t th.n { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side-brand { display: flex; align-items: center; gap: 11px; padding: 6px 10px 18px; flex-wrap: wrap; }
.side-brand .nm { font-family: var(--font-display); font-weight: 650; font-size: 14.5px; line-height: 1.15; }
.side-brand .by { font-size: 11.5px; color: var(--muted); }
.nav-sec { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 650; padding: 16px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 520; cursor: pointer; transition: background .12s, color .12s; }
.nav a:hover { background: var(--sunken); color: var(--ink); }
.nav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 640; }
.nav a .cnt { margin-left: auto; font-size: 11px; font-family: var(--font-mono); background: var(--sunken); padding: 0 7px; border-radius: 999px; color: var(--muted); }
.nav a.on .cnt { background: var(--surface); color: var(--accent); }
.side-foot { margin-top: auto; padding: 18px 12px 70px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); }
.powered { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--faint); }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding-block: 10px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.addr { font-family: var(--font-mono); font-size: 12px; color: var(--faint); background: var(--surface); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.addr::before { content: '● '; color: var(--good); font-size: 9px; vertical-align: 1px; }
.top .sp { flex: 1; }
.iconbtn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; }
.iconbtn .dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ember); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11.5px; font-family: var(--font-display); flex: none; }
.who { display: flex; align-items: center; gap: 8px; padding: 3px 12px 3px 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; cursor: pointer; }
.who .nm { font-weight: 600; font-size: 13px; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 270px; padding: 8px; z-index: 30; }
.menu .mi { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; width: 100%; text-align: left; background: none; border: 0; }
.menu .mi:hover { background: var(--sunken); }
.menu .rad { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--faint); flex: none; }
.menu .rad.on { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.content { padding-block: 28px 40px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); max-width: 1260px; width: 100%; }
.page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-h p { color: var(--muted); margin-top: 6px; max-width: 64ch; }
.page-foot { display: flex; align-items: center; gap: 8px; margin-top: 40px; padding: 18px 0 90px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); flex-wrap: wrap; }
.page-foot .sp { flex: 1; }
.banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); margin-bottom: 16px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.pilot-strip { font-size: 11.5px; text-align: center; padding: 5px 16px; background: var(--hero); color: rgba(255,255,255,.88); letter-spacing: .02em; }
.pilot-strip b { color: #ffb489; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); border-bottom: 1px solid var(--line); background: var(--surface); }
  .mobile-nav a { padding: 6px 12px; border-radius: 999px; white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 13px; cursor: pointer; }
  .mobile-nav a.on { background: var(--accent-soft); color: var(--accent); }
  .content, .top { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .addr { display: none; }
  .who .nm { display: none; }
  h1 { font-size: 24px; }
}

/* ---------- demo bar ---------- */
.demobar { position: fixed; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: calc(100vw - 32px); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; background: rgba(23, 24, 26, .92); backdrop-filter: blur(8px); color: #f2f2f2; padding: 6px 8px 6px 14px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 12.5px; }
.demobar b { font-family: var(--font-mono); font-weight: 600; color: #ffb489; }
.demobar button { background: transparent; color: #f2f2f2; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.demobar button:hover { background: rgba(255,255,255,.12); }
.demobar .lbl { opacity: .65; margin-right: 2px; }

/* ---------- toast + modal ---------- */
.toast { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 60; background: #17181a; color: #f4f4f4; padding: 12px 16px 12px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: min(380px, calc(100vw - 32px)); font-size: 13.5px; animation: tin .22s ease-out; border-left: 3px solid var(--accent); }
@keyframes tin { from { transform: translateY(-8px); opacity: 0; } }
.overlay { position: fixed; inset: 0; background: rgba(8, 12, 12, .5); backdrop-filter: blur(3px); z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 18px; padding: 26px; width: min(540px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--shadow); }

/* ---------- sign-in ---------- */
.signin { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.signin .hero { background: var(--hero); color: #fff; padding: 44px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: auto -20% -35% auto; width: 80%; aspect-ratio: 1; max-width: none; border-radius: 50%; background: radial-gradient(circle, rgba(240, 98, 31, .55), rgba(245, 165, 36, .18) 45%, transparent 70%); z-index: -1; filter: blur(10px); }
.hero-leaf { position: absolute; right: -40px; top: 18%; height: 70%; max-height: 520px; width: auto; max-width: none; opacity: .16; z-index: -1; transform: rotate(-8deg); }
.lockup { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lockup .lk-name { color: #17181a; font-family: var(--font-display); font-size: 15px; }
.lockup .lk-x { color: rgba(255,255,255,.6); font-size: 18px; }
.lockup .lk-sub { font-size: 13px; opacity: .8; }
.hero-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ffb489; font-weight: 650; }
.signin .hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; max-width: 13ch; font-weight: 650; letter-spacing: -.035em; }
.signin .hero h1 em { font-style: normal; background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signin .hero p { opacity: .82; max-width: 40ch; font-size: 16px; }
.signin .hero .loop { display: flex; gap: 8px; flex-wrap: wrap; }
.signin .hero .loop span { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); border-radius: 999px; padding: 5px 13px 5px 5px; font-size: 12.5px; display: inline-flex; gap: 7px; align-items: center; }
.signin .hero .loop i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); font-size: 11px; font-weight: 700; color: #fff; }
.signin .form { display: flex; align-items: center; justify-content: center; padding-block: 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: var(--bg); }
.signin .box { width: min(410px, 100%); display: flex; flex-direction: column; gap: 14px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.persona { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px 11px; cursor: pointer; transition: border-color .12s, transform .12s; }
.persona:hover { border-color: var(--accent); transform: translateY(-1px); }
.persona b { display: block; font-size: 13px; }
.persona span { font-size: 11.5px; color: var(--muted); }
.codebox { display: flex; gap: 8px; }
.codebox input { text-align: center; font-family: var(--font-mono); font-size: 22px; letter-spacing: .35em; }
@media (max-width: 860px) { .signin { grid-template-columns: minmax(0, 1fr); } .signin .hero { padding: 26px 20px; gap: 22px; } .signin .hero .big p { display: none; } .hero-leaf { height: 90%; } }

/* ---------- focus mode (onboarding, assessment, player, exam) ---------- */
.focus-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.focus-top { display: flex; align-items: center; gap: 14px; padding-block: 12px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); border-bottom: 1px solid var(--line); background: var(--surface); flex-wrap: wrap; }
.focus-top .sp { flex: 1; }
.focus-body { flex: 1; display: flex; justify-content: center; padding-block: 36px 110px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.focus-body > .inner { width: min(740px, 100%); display: flex; flex-direction: column; gap: 18px; }
.focus-body > .inner.wide { width: min(1100px, 100%); }
.progress { height: 6px; background: var(--sunken); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--ember); border-radius: 999px; transition: width .35s; }
.progress.good > i { background: var(--brand); }
.focus-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--good); font-weight: 600; }
.focus-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.focus-dot.off { color: var(--warn); }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.q-text { font-family: var(--font-display); font-size: 20px; line-height: 1.45; font-weight: 520; letter-spacing: -.01em; }
.q-ask { font-weight: 650; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 13px 15px; cursor: pointer; line-height: 1.45; width: 100%; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--faint); }
.opt .k { font-family: var(--font-mono); font-weight: 650; color: var(--muted); flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--sunken); display: grid; place-items: center; font-size: 12px; }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt.sel .k { background: var(--accent); color: var(--accent-ink); }
.opt.right { border-color: var(--good); background: var(--good-soft); }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.likert { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.likert .opt { flex-direction: column; align-items: center; text-align: center; font-size: 12.5px; padding: 12px 6px; gap: 8px; }
.likert .opt .circle { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--faint); }
.likert .opt.sel .circle { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }
@media (max-width: 560px) { .likert { grid-template-columns: minmax(0, 1fr); } .likert .opt { flex-direction: row; } .q-card { padding: 20px; } }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 7px 14px; cursor: pointer; font-size: 13px; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--ink); color: var(--bg); font-weight: 600; }
.steps-dots { display: flex; gap: 6px; }
.steps-dots i { width: 26px; height: 5px; border-radius: 3px; background: var(--line); }
.steps-dots i.on { background: var(--ember); }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list div { display: flex; gap: 10px; align-items: center; }
.check-list div::before { content: '✓'; color: #fff; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-size: 11px; flex: none; }
.consent-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.consent-row:last-child { border-bottom: 0; }

/* ---------- learner widgets ---------- */
.upnext { background: var(--hero); color: #fff; border-radius: 18px; padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.upnext::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(240,98,31,.5), transparent 65%); z-index: -1; }
.upnext .eyebrow { color: #ffb489; }
.upnext h2 { font-size: 24px; margin: 6px 0; }
.upnext .muted { color: rgba(255,255,255,.72); }
.score-ring { position: relative; width: 132px; height: 132px; flex: none; }
.score-ring .c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring .c b { font-family: var(--font-display); font-size: 40px; line-height: 1; display: block; letter-spacing: -.03em; }
.gapbar { display: grid; grid-template-columns: 140px minmax(0, 1fr) 40px; gap: 12px; align-items: center; font-size: 13px; }
.gapbar .track { position: relative; height: 10px; background: var(--sunken); border-radius: 999px; }
.gapbar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--ember); }
.gapbar .fill.ok { background: var(--brand); }
.gapbar .exp { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--ink); border-radius: 2px; }
.gapbar .lab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .gapbar { grid-template-columns: 96px minmax(0, 1fr) 34px; } }
.badge-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px 8px; border-radius: 12px; border: 1px solid var(--line); }
.badge-tile .g { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; background: var(--ember); color: #fff; font-family: var(--font-display); box-shadow: 0 6px 14px -6px var(--accent); }
.badge-tile.locked { opacity: .45; }
.badge-tile.locked .g { background: var(--sunken); color: var(--faint); box-shadow: none; }
.week { display: flex; gap: 6px; }
.week span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 11.5px; background: var(--sunken); color: var(--faint); font-weight: 650; }
.week span.on { background: var(--ember); color: #fff; }
.week span.today { outline: 2px solid var(--accent); outline-offset: 1px; }
.flame { color: var(--accent); }
.plan-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.plan-item:last-child { border-bottom: 0; }
.plan-item .st { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--sunken); color: var(--muted); font-family: var(--font-mono); }
.plan-item .st.done { background: var(--brand); color: #fff; }
.plan-item .st.next { background: var(--ember); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.plan-item .t { font-weight: 620; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.list-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.mod-card { padding: 12px 12px 16px; }
.mod-card > *:not(.thumb) { margin-inline: 6px; }
.thumb { aspect-ratio: 16 / 8; max-width: 100%; border-radius: 10px; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--hero); }
.thumb.t-comm { background: linear-gradient(135deg, #0b4b4d, #12787a); }
.thumb.t-lead { background: linear-gradient(135deg, #3a1d0f, #f0621f); }
.thumb.t-crit { background: linear-gradient(135deg, #17181a, #12787a); }
.thumb.t-team { background: linear-gradient(135deg, #12787a, #f5a524); }
.thumb.t-time { background: linear-gradient(135deg, #f0621f, #f5a524); }
.thumb.t-posh { background: linear-gradient(135deg, #17181a, #4a4f52); }
.thumb img { height: 52%; width: auto; opacity: .9; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); }
.thumb .play { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); color: #17181a; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.thumb .fmt, .thumb .dur { position: absolute; font-size: 11px; color: #fff; background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.thumb .fmt { left: 8px; top: 8px; }
.thumb .dur { right: 8px; bottom: 8px; font-family: var(--font-mono); }

/* ---------- video player ---------- */
.vp { border-radius: 16px; overflow: hidden; background: #0c0e0f; box-shadow: var(--shadow-lg); }
.vp-screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: radial-gradient(120% 90% at 85% 110%, rgba(240,98,31,.35), transparent 55%), linear-gradient(155deg, #0b4b4d, #0f2a2b 55%, #121415); color: #fff; overflow: hidden; }
.vp-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 48px 32px 70px; }
.vp-top { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vp-title { font-size: 12px; font-weight: 600; background: rgba(0,0,0,.35); padding: 3px 10px; border-radius: 999px; color: rgba(255,255,255,.9); }
.vp-focus { font-size: 12px; background: rgba(0,0,0,.45); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.vp-focus::before { content: '● '; }
.vp-focus.ok { color: #7ee0a8; }
.vp-focus.no { color: #ffc46b; }
.vp-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 18px; border-radius: 999px; border: 0; background: #fff; color: #17181a; font-weight: 650; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 3; }
.vp-big svg { color: var(--accent); }
.vp-big:hover { transform: translate(-50%, -50%) scale(1.03); }
.vp-cap { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); text-align: center; background: rgba(0,0,0,.62); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; }
.vp-ctrl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0c0e0f; color: #e8eaea; }
.vp-btn { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 34px; height: 30px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; flex: none; }
.vp-btn.txt { width: auto; padding: 0 10px; font-size: 12px; }
.vp-btn:hover { background: rgba(255,255,255,.2); }
.vp-track { position: relative; flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); cursor: pointer; min-width: 60px; }
.vp-track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--ember); }
.vp-track .tick { position: absolute; top: 0; bottom: 0; width: 2px; background: #0c0e0f; }
.vp-time { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.75); }
.vp-cc { font-size: 10.5px; font-weight: 700; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; padding: 0 4px; color: rgba(255,255,255,.75); }
@media (max-width: 560px) { .vp-stage { padding: 40px 14px 60px; transform: scale(.82); } .vp-cap { font-size: 12.5px; } .vp-cc { display: none; } }

/* scenes */
.vs { width: 100%; max-width: 640px; display: grid; place-items: center; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; } to { width: var(--w); } }
@keyframes spin { to { transform: rotate(360deg); } }
.vs-title { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: rise .7s ease-out both; }
.vs-title .vs-mark { height: 64px; width: auto; animation: pop .8s ease-out both; filter: drop-shadow(0 8px 20px rgba(240,98,31,.45)); }
.vs-title h2 { font-size: clamp(22px, 3.4vw, 34px); color: #fff; max-width: 18ch; }
.vs-title p { color: #ffb489; font-size: 14px; letter-spacing: .04em; }
.vs-loop { position: relative; width: 260px; height: 260px; }
.vs-loop .ring { position: absolute; inset: 30px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); animation: spin 18s linear infinite; }
.vs-loop .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; box-shadow: 0 0 0 10px rgba(240,98,31,.2); }
.vs-loop .node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; animation: pop .6s ease-out both; }
.vs-loop .node b { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0b4b4d; display: grid; place-items: center; font-family: var(--font-display); }
.vs-loop .n0 { left: 50%; top: 0; transform: translateX(-50%); }
.vs-loop .n1 { right: -26px; top: 50%; transform: translateY(-50%); }
.vs-loop .n2 { left: 50%; bottom: -8px; transform: translateX(-50%); }
.vs-loop .n3 { left: -34px; top: 50%; transform: translateY(-50%); }
.vs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.vs-cards .vc { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; animation: rise .6s ease-out both; }
.vs-cards .vc .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ffb489; font-weight: 700; }
.vs-cards .vc b { font-family: var(--font-display); font-size: 17px; }
.vs-cards .vc span:last-child { font-size: 12.5px; opacity: .75; }
.vs-bars { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.vs-bars .vb { display: grid; grid-template-columns: 130px minmax(0, 1fr) 30px; gap: 12px; align-items: center; font-size: 14px; }
.vs-bars .tr { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.14); }
.vs-bars .tr i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: var(--ember); animation: grow 1.1s ease-out both; }
.vs-bars .tr i.ok { background: #3fb6b2; }
.vs-bars .tr em { position: absolute; top: -5px; bottom: -5px; width: 3px; background: #fff; border-radius: 2px; }
.vs-bars b { font-family: var(--font-mono); }
.vs-bars .vb-key { font-size: 12px; opacity: .7; display: flex; gap: 8px; align-items: center; }
.vs-bars .vb-key em { width: 3px; height: 14px; background: #fff; display: inline-block; }
.vs-steps { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.vs-steps .st { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 128px; text-align: center; font-weight: 600; font-size: 13.5px; animation: rise .6s ease-out both; }
.vs-steps .st b { width: 46px; height: 46px; border-radius: 14px; background: var(--ember); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; box-shadow: 0 8px 20px -8px rgba(240,98,31,.8); }
.vs-bub { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 480px; }
.vs-bub .bb { align-self: flex-start; max-width: 80%; background: #fff; color: #17181a; padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; animation: rise .5s ease-out both; }
.vs-bub .bb.r { align-self: flex-end; background: #3fb6b2; color: #06292a; border-radius: 16px 16px 4px 16px; }
.vs-checks { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.vs-checks div { display: flex; gap: 12px; align-items: center; animation: rise .5s ease-out both; }
.vs-checks span { width: 28px; height: 28px; border-radius: 50%; background: #3fb6b2; color: #06292a; display: grid; place-items: center; font-weight: 800; flex: none; }
.vs-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: 10px; }
.vs-matrix .q { border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; animation: pop .5s ease-out both; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.vs-matrix .q span { font-size: 11.5px; opacity: .75; }
.vs-matrix .q b { font-family: var(--font-display); font-size: 18px; }
.vs-matrix .q0 { background: var(--ember); border-color: transparent; }
.vs-matrix .q1 { background: rgba(63,182,178,.35); }
.vs-quote { font-family: var(--font-display); font-size: clamp(18px, 2.8vw, 27px); line-height: 1.35; text-align: center; max-width: 24ch; animation: rise .7s ease-out both; text-wrap: balance; }
.vs-quote .qm { display: block; font-size: 64px; line-height: .6; color: #ffb489; margin-bottom: 8px; }
@media (max-width: 560px) { .vs-cards { grid-template-columns: minmax(0, 1fr); } .vs-cards .vc:nth-child(n+3) { display: none; } .vs-bars .vb { grid-template-columns: 90px minmax(0, 1fr) 26px; font-size: 12px; } }

/* ---------- player ---------- */
.player { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
@media (max-width: 900px) { .player { grid-template-columns: minmax(0, 1fr); } }
.outline-i { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 13.5px; color: var(--muted); }
.outline-i .m { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--sunken); font-weight: 700; flex: none; }
.outline-i.done .m { background: var(--brand); color: #fff; }
.outline-i.cur { color: var(--ink); font-weight: 620; }
.outline-i.cur .m { background: var(--ember); color: #fff; }
.rcard { min-height: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 10px; justify-content: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.rcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--ember); }
.rcard h3 { font-size: 22px; }
.rcard p { font-size: 16px; color: var(--muted); max-width: 54ch; }

/* ---------- heatmap ---------- */
.heat { border-collapse: separate; border-spacing: 4px; width: 100%; font-size: 13px; }
.heat th { font-size: 10.5px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .07em; padding: 4px; text-align: center; }
.heat th:first-child { text-align: left; }
.heat td { padding: 0; }
.heat td.nm { padding-right: 10px; white-space: nowrap; font-weight: 520; }
.heat .cell { border-radius: 8px; text-align: center; padding: 10px 4px; font-family: var(--font-mono); font-weight: 650; color: var(--ink); min-width: 46px; }
.h-wb { background: var(--h-wb); } .h-b { background: var(--h-b); } .h-n { background: var(--h-n); } .h-a { background: var(--h-a); } .h-ab { background: var(--h-ab); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -2px; }

/* ---------- bars + charts ---------- */
.hbar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 13px; padding: 6px 0; }
.hbar .tr { height: 10px; background: var(--sunken); border-radius: 999px; overflow: hidden; }
.hbar .tr i { display: block; height: 100%; background: var(--ember); border-radius: 999px; }
.hbar .tr i.brand { background: var(--brand); }
.hbar .tr i.bad { background: var(--bad); }
.hbar .tr i.warn { background: var(--accent-2); }
.hbar .tr i.good { background: var(--brand); }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.chart .grid line { stroke: var(--line); }
.stackbar { display: flex; height: 28px; border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 650; }
.stackbar div { display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; color: var(--ink); }

/* ---------- switches ---------- */
.sw-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sw-row:last-child { border-bottom: 0; }
.trace { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.trace span { background: var(--sunken); padding: 4px 10px; border-radius: 7px; }
.trace span b { font-weight: 650; }
.trace .arrow { background: none; color: var(--faint); padding: 0; }
.brand-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.brand-row .small { flex: 1; min-width: 200px; }

/* ---------- certificate ---------- */
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 44px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); isolation: isolate; }
.cert::before { content: ''; position: absolute; inset: 12px; border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 12px; pointer-events: none; }
.cert::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); z-index: -1; }
.cert .who { border: 0; padding: 0; background: none; cursor: default; font-family: var(--font-display); font-size: 36px; font-weight: 650; letter-spacing: -.03em; }
.cert .meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert .meta .v { font-family: var(--font-display); font-size: 22px; font-weight: 650; }
.cert .small .logo-img { vertical-align: middle; margin-right: 4px; }
@media (max-width: 560px) { .cert { padding: 26px; } .cert .meta { grid-template-columns: minmax(0, 1fr); } .cert .who { font-size: 26px; } }
.wizard-steps { display: flex; gap: 4px; flex-wrap: wrap; }
.wizard-steps span { font-size: 12px; padding: 6px 11px; border-radius: 999px; background: var(--sunken); color: var(--muted); }
.wizard-steps span.on { background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.wizard-steps span.done { background: var(--brand-soft); color: var(--brand); }
.drop { border: 2px dashed var(--line); border-radius: 14px; padding: 22px; text-align: center; color: var(--muted); }
.email-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.email-preview .eh { background: var(--sunken); padding: 10px 14px; font-size: 12.5px; color: var(--muted); }
.email-preview .eb { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
