/* GROW & CEO ACADEMY — luxury course site
   Dark charcoal canvas, cream reading panels, gold as trim, borders and icons only,
   a touch of emerald for progress and completion. Fonts: Cinzel (titles), Montserrat (text),
   Pinyon Script (one calligraphy accent per page, never for reading text). */
:root {
  --bg: #0e0e0d; --side-bg: #121211; --surface: #161615; --surface-2: #1c1b19; --surface-3: #22211e;
  --ink: #efe8da; --white: #f6efe1; --muted: #a9a192; --faint: #7d766a;
  --line: rgba(207, 161, 90, .26); --line-soft: rgba(244, 238, 225, .09);
  --gold: #cfa15a; --gold-deep: #a97d36; --gold-soft: rgba(207, 161, 90, .09); --gold-fill: #cfa15a;
  --emerald: #2f9a74; --emerald-soft: rgba(47, 154, 116, .14); --emerald-ink: #74d3ad; --leaf: #2f9a74;
  --warn: #e0a64a; --risk: #e58a7a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.35);
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Pinyon Script", "Great Vibes", cursive;
  --radius: 6px; --side: 272px; --side-mini: 78px; --bar: 72px;
  color-scheme: dark;
}
/* Cream "paper" panels: lessons, readings and highlight cards flip the tokens locally. */
.cream {
  --surface: #f6f0e3; --surface-2: #efe7d6; --surface-3: #e8dfcb; --ink: #1d1c19; --white: #111110; --muted: #5e584d; --faint: #8a8170;
  --line: rgba(160, 122, 38, .38); --line-soft: rgba(29, 28, 25, .10);
  --gold: #8a6418; --gold-soft: #f1e3bf; --emerald: #0f5c45; --emerald-soft: #e0ece4; --emerald-ink: #0b4a37; --leaf: #0f5c45;
  --warn: #8a5a0c; --risk: #a83232; --shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 28px rgba(0,0,0,.18);
  background: var(--surface); color: var(--ink); color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; margin: 0; color: var(--white); }
p { margin: 0; }
a { color: var(--gold); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.eyebrow { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.muted { color: var(--muted); }
.display { font-family: var(--display); font-weight: 600; letter-spacing: .04em; color: var(--white); }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.page-title { display: grid; gap: 10px; }
.page-title h1 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 42px); letter-spacing: .05em; }
.page-title h1::after { content: ""; display: block; width: 64px; height: 1px; background: var(--ink); opacity: .55; margin-top: 14px; }
.page-title p { max-width: 64ch; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--line); background: transparent; padding: 10px 18px; border-radius: 4px; font-weight: 500; font-size: 14px; letter-spacing: .03em; text-decoration: none; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn .ic { color: var(--gold); }
.btn-gold { background: var(--gold-fill); border-color: var(--gold-fill); color: #141413; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.btn-gold .ic { color: #141413; }
.btn-gold:hover { background: #dbb06c; border-color: #dbb06c; color: #141413; }
.btn-ink { border-color: var(--gold); color: var(--gold); }
.cream .btn-ink { background: #1d1c19; border-color: #1d1c19; color: #f4eee1; } .cream .btn-ink .ic { color: #cfa15a; }
.cream .btn-ink:hover { background: #2a2925; }
.btn-ghost { border-color: transparent; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.done-btn.is-done { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.done-btn.is-done .ic { color: #fff; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: #0b0b0a; color: #fff; display: grid; place-items: center; overflow: hidden; }
.intro-backdrop { position: absolute; inset: -40px; background: url("../images/intro-poster.jpg") center/cover; filter: blur(30px) brightness(.35); transform: scale(1.1); }
.intro video { position: relative; width: 100%; height: 100%; object-fit: contain; transition: opacity 1.2s ease, filter 1.2s ease; }
@media (min-aspect-ratio: 16/10) { .intro video { object-fit: cover; } }
.intro.revealed video { filter: brightness(.25) saturate(.9); }
.intro-chip { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 3; display: flex; gap: 8px; }
.intro-chip button { display: inline-flex; gap: 8px; align-items: center; background: rgba(0,0,0,.5); color: #f4eee1; border: 1px solid rgba(207,161,90,.5); border-radius: 4px; padding: 8px 14px; font-size: 13px; letter-spacing: .06em; backdrop-filter: blur(6px); }
.intro-reveal { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px 16px; gap: 8px; pointer-events: none; opacity: 0; }
.intro.revealed .intro-reveal { opacity: 1; pointer-events: auto; }
.intro-reveal > * { opacity: 0; transform: translateY(14px); }
.intro.revealed .intro-reveal > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.intro.revealed .intro-reveal > *:nth-child(2) { animation-delay: .25s; }
.intro.revealed .intro-reveal > *:nth-child(3) { animation-delay: .9s; }
.intro.revealed .intro-reveal > *:nth-child(4) { animation-delay: 1.3s; }
.intro.revealed .intro-reveal > *:nth-child(5) { animation-delay: 1.8s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.intro-crest img { width: clamp(90px, 14vw, 140px); height: auto; }
.intro-title { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 7.5vw, 88px); line-height: 1; letter-spacing: .08em; color: #f6efe1; }
.intro-sub { font-family: var(--script); font-size: clamp(36px, 5vw, 62px); color: var(--gold); line-height: 1; margin-top: -2px; }
.intro-welcome { margin-top: 22px; font-weight: 500; letter-spacing: .32em; font-size: clamp(12px, 1.8vw, 15px); color: #f4eee1; }
.intro-mindset { font-weight: 400; font-size: clamp(15px, 2vw, 19px); color: var(--muted); }
.intro-enter { margin-top: 24px; padding: 16px 30px; }
.intro.leaving { animation: fadeout .8s ease forwards; }
@keyframes fadeout { to { opacity: 0; visibility: hidden; } }

/* ---------- Crowns ---------- */
.crown-rain { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.crown-rain span { position: absolute; top: -40px; animation: fall linear forwards; color: var(--gold); }
.crown-rain .ic { width: 1em; height: 1em; }
@keyframes fall { to { transform: translateY(110vh) rotate(var(--spin)); opacity: .2; } }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100%; padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); transition: grid-template-columns .25s ease; }
.app.collapsed { grid-template-columns: var(--side-mini) minmax(0, 1fr); }
.side { position: sticky; top: 0; height: calc(100vh - var(--bar)); background: var(--side-bg); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.side-scroll { overflow-y: auto; overflow-x: hidden; flex: 1; padding: 22px 14px 12px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: #2d2b27 transparent; }
.brand { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--white); padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.brand img { width: 74px; height: auto; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: .08em; line-height: 1.1; margin-top: 4px; white-space: nowrap; }
.brand .script { font-size: 30px; color: var(--gold); line-height: .9; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav h4 { font-family: var(--body); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); padding: 14px 12px 6px; font-weight: 600; white-space: nowrap; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 8px 12px; border-radius: 4px; border: 1px solid transparent; text-decoration: none; color: var(--ink); font-size: 14.5px; white-space: nowrap; }
.nav a .ico { width: 22px; display: grid; place-items: center; color: var(--gold); flex: none; }
.nav a .num { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--gold); flex: none; font-variant-numeric: tabular-nums; }
.nav a.done .num { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.nav a .lbl { overflow: hidden; text-overflow: ellipsis; }
.nav a .tick { margin-left: auto; color: var(--emerald-ink); }
.nav a .ext { margin-left: auto; color: var(--faint); }
.nav a:hover { background: var(--gold-soft); }
.nav a.active { border-color: var(--line); background: linear-gradient(90deg, rgba(207,161,90,.14), rgba(207,161,90,.04)); color: var(--white); }
.side-foot { border-top: 1px solid var(--line); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.me { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; flex: 1; border-radius: 4px; padding: 4px; }
.me:hover { background: var(--gold-soft); }
.me .av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-fill); color: #141413; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 15px; flex: none; }
.me .who { min-width: 0; display: grid; }
.me b { font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collapse-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--gold); display: grid; place-items: center; flex: none; }
.collapse-btn:hover { background: var(--gold-soft); }
.app.collapsed .side-scroll { padding-inline: 10px; }
.app.collapsed .brand b, .app.collapsed .brand .script, .app.collapsed .nav h4, .app.collapsed .nav a .lbl, .app.collapsed .nav a .tick, .app.collapsed .nav a .ext, .app.collapsed .me .who { display: none; }
.app.collapsed .brand img { width: 46px; }
.app.collapsed .nav a { justify-content: center; padding-inline: 0; }
.app.collapsed .nav h4 { display: block; height: 1px; padding: 0; margin: 8px 6px; background: var(--line-soft); font-size: 0; }
.app.collapsed .side-foot { flex-direction: column; padding-inline: 8px; }
.app.collapsed .me { justify-content: center; flex: none; }
.topbar { display: none; }
.main { min-width: 0; padding-inline: clamp(16px, 3.4vw, 44px); padding-block: 0 56px; }
.headbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.headbar .eyebrow { letter-spacing: .3em; color: var(--ink); font-weight: 500; }
.headbar .tools { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--gold); display: grid; place-items: center; text-decoration: none; }
.icon-btn:hover { border-color: var(--line); background: var(--gold-soft); }
.page { max-width: 1160px; margin: 0 auto; display: grid; gap: 24px; }
.scrim { display: none; }

@media (max-width: 900px) {
  .app, .app.collapsed { grid-template-columns: minmax(0, 1fr); }
  .topbar { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; gap: 10px; padding: 10px 16px; background: var(--side-bg); border-bottom: 1px solid var(--line); }
  .topbar .mini-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--display); font-size: 17px; letter-spacing: .08em; }
  .topbar .mini-brand img { width: 34px; }
  .menu-btn { margin-left: auto; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 4px; padding: 8px 12px; display: inline-flex; gap: 8px; align-items: center; }
  .side { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(300px, 86vw); height: 100%; transform: translateX(-105%); transition: transform .25s ease; padding-bottom: var(--bar); }
  .side.open { transform: none; box-shadow: var(--shadow); }
  .collapse-btn { display: none; }
  .app.collapsed .brand b, .app.collapsed .brand .script, .app.collapsed .nav a .lbl, .app.collapsed .me .who { display: initial; }
  .scrim.open { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); }
  .headbar { display: none; }
  .main { padding-block: 20px 44px; }
}

/* ---------- Cards & grid ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card h2 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .04em; }
.card h3 { font-size: 17px; }
.card.cream { border-color: rgba(207,161,90,.55); box-shadow: inset 0 0 0 5px #f6f0e3, inset 0 0 0 6px rgba(160,122,38,.45); }
.grid { display: grid; gap: 18px; }
.g-dash { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
@media (max-width: 1100px) { .span-8, .span-7, .span-5 { grid-column: span 12; } .span-4, .span-3 { grid-column: span 6; } }
@media (max-width: 640px) { .span-6, .span-4, .span-3 { grid-column: span 12; } }
.stack { display: grid; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.section-title .ic { color: var(--gold); }
.cream .section-title { color: var(--ink); }

/* ---------- Welcome ---------- */
.welcome { text-align: center; display: grid; justify-items: center; gap: 4px; padding: 6px 0 4px; }
.welcome h1 { font-family: var(--display); font-weight: 500; line-height: 1.1; font-size: clamp(30px, 4.8vw, 58px); letter-spacing: .07em; color: var(--white); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .3em; }
.welcome h1 .script { color: var(--ink); }
.welcome h1 .ceo { font-weight: 600; color: var(--white); }
.welcome .rule { width: min(420px, 70%); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 12px 0 8px; }
.welcome .sub { font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--ink); }
.welcome .who { margin-top: 10px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ---------- Stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.stat-card:hover { border-color: var(--gold); background: var(--surface-2); }
.ring-ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; flex: none; }
.ring-ico .ic { width: 24px; height: 24px; }
.stat-card small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.stat-card b { display: block; font-family: var(--display); font-weight: 500; font-size: 30px; color: var(--white); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-card .go { color: var(--gold); align-self: end; }
@media (max-width: 560px) { .stat-card { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 10px; } .stat-card .go { display: none; } .ring-ico { width: 40px; height: 40px; } .ring-ico .ic { width: 20px; height: 20px; } .stat-card b { font-size: 24px; } }

/* ---------- Journey steps ---------- */
.journey { display: grid; gap: 4px; }
.jstep { display: grid; grid-template-columns: 34px minmax(0, 1fr) 120px 44px; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 4px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.jstep:hover { background: var(--gold-soft); }
.jstep.current { border-color: var(--line); background: linear-gradient(90deg, rgba(207,161,90,.10), transparent); }
.jstep .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); font-size: 13px; font-variant-numeric: tabular-nums; }
.jstep.complete .n { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.jstep .t { min-width: 0; display: grid; }
.jstep .t b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jstep .t small { color: var(--muted); font-size: 12.5px; }
.jstep .pc { font-size: 12.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .jstep { grid-template-columns: 34px minmax(0, 1fr) 54px; } .jstep .bar { display: none; } }
.meter { height: 6px; border-radius: 999px; background: rgba(244,238,225,.10); overflow: hidden; }
.cream .meter { background: rgba(29,28,25,.10); }
.meter > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--emerald), var(--gold-fill)); transition: width .6s ease; }
.meter-label { display: flex; justify-content: space-between; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Current module (cream) */
.current-mod { display: grid; gap: 14px; }
.current-mod .paper { padding: 22px; border-radius: 4px; }
.current-mod .paper h3 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; margin: 4px 0 10px; }
.current-mod .paper .meta { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin: 12px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.current-mod .btn-gold { width: 100%; min-height: 52px; }

/* Quick access (cream cards) */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.qcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border-radius: 4px; text-decoration: none; border: 1px solid rgba(207,161,90,.55); box-shadow: inset 0 0 0 5px #f6f0e3, inset 0 0 0 6px rgba(160,122,38,.35); transition: transform .15s ease; }
.qcard:hover { transform: translateY(-2px); }
.qcard .ic { width: 30px; height: 30px; color: #a07a26; }
.qcard b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; color: #111110; }
.qcard small { color: #5e584d; font-size: 13px; }
.qcard .go .ic { width: 18px; height: 18px; color: #1d1c19; }

/* ---------- Bee coach ---------- */
.bee { display: flex; gap: 14px; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.bee img { width: 48px; height: auto; flex: none; }
.bee b { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.bee p { font-weight: 500; font-size: 16px; line-height: 1.5; }
.cream .bee { background: #1d1c19; border-color: #1d1c19; color: #f4eee1; } .cream .bee b { color: #cfa15a; }

/* ---------- Lists ---------- */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.watch-list li .ic { color: var(--gold); margin-top: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--emerald); flex: none; }
.check:has(input:checked) { border-color: var(--emerald); background: var(--emerald-soft); }
.check:has(input:checked) span { text-decoration: line-through; text-decoration-color: var(--emerald); }
.lesson-link { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line-soft); border-radius: 4px; text-decoration: none; color: var(--ink); background: var(--surface-2); }
.lesson-link:hover { border-color: var(--gold); }
.lesson-link .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 1px solid var(--line); color: var(--gold); flex: none; font-variant-numeric: tabular-nums; }
.lesson-link.done .n { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.lesson-link .t { flex: 1; min-width: 0; font-weight: 500; }
.lesson-link .go { color: var(--gold); }

/* ---------- Stage page ---------- */
.stage-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.stage-badge { width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--gold); box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 6px var(--line); display: grid; place-items: center; color: var(--gold); }
.stage-badge .ic { width: 38px; height: 38px; }
.stage-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 4vw, 40px); letter-spacing: .04em; }
.stage-head .promise { font-size: 16.5px; color: var(--muted); max-width: 62ch; margin-top: 8px; }
@media (max-width: 560px) { .stage-head { grid-template-columns: minmax(0, 1fr); } .stage-badge { width: 66px; height: 66px; } .stage-badge .ic { width: 28px; height: 28px; } }
.takeaway { font-weight: 500; font-size: 18px; line-height: 1.6; }

/* ---------- Video (compact, no empty space) ---------- */
.vcard { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; color: var(--ink); }
.vthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; border: 1px solid var(--line); background: radial-gradient(120% 120% at 80% 0%, rgba(207,161,90,.22), transparent 60%), #0b0b0a; display: grid; place-items: center; color: var(--gold); overflow: hidden; }
.vthumb .ic { width: 34px; height: 34px; }
.vthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.vthumb .playdot { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.6); border: 1px solid var(--gold); display: grid; place-items: center; }
.vthumb .playdot .ic { width: 20px; height: 20px; margin-left: 2px; }
.vinfo { display: grid; gap: 4px; min-width: 0; }
.vinfo b { font-weight: 500; font-size: 15.5px; line-height: 1.35; color: var(--white); }
.vinfo small { color: var(--muted); font-size: 13px; }
.vinfo .watch { color: var(--gold); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.vcard:hover .vthumb { border-color: var(--gold); }
@media (max-width: 480px) { .vcard { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; } }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #0b0b0a; border: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Lesson text (cream paper) ---------- */
.lesson { max-width: 820px; margin: 0 auto; width: 100%; display: grid; gap: 22px; }
.paper { border-radius: 4px; padding: clamp(22px, 4vw, 48px); border: 1px solid rgba(207,161,90,.55); box-shadow: inset 0 0 0 6px #f6f0e3, inset 0 0 0 7px rgba(160,122,38,.35); }
.lesson-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: .03em; }
.lesson-head .promise { font-size: 16.5px; color: var(--muted); max-width: 60ch; }
.prose { display: grid; gap: 16px; font-size: 16.5px; line-height: 1.8; }
.prose h3 { font-family: var(--display); font-size: 21px; font-weight: 600; margin-top: 16px; letter-spacing: .02em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.prose ol li::marker { font-weight: 600; color: var(--gold); }
.prose .lead b { color: var(--ink); }
.prose .list-label { font-weight: 600; margin-bottom: -8px; }
.pull { margin: 8px 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--gold); font-weight: 500; font-size: 20px; line-height: 1.5; }
.pull cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 8px; }
.box { border-radius: 4px; padding: 18px 20px; display: grid; gap: 8px; }
.box-label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.box.example { background: var(--surface-2); border: 1px solid var(--line-soft); }
.box.example .box-label { color: var(--gold); }
.box.callout { background: var(--gold-soft); border: 1px solid var(--line); }
.box.callout .box-label { color: var(--gold); }
.box.formula { background: #1d1c19; color: #f4eee1; text-align: center; }
.box.formula .f { font-weight: 600; font-size: 19px; }
.box.formula .box-label { color: #cfa15a; justify-content: center; }
.box.reflect { border: 1px dashed var(--gold); background: var(--surface); }
.box.reflect .box-label { color: var(--gold); }
.box ul, .box ol { padding-left: 1.2em; margin: 0; display: grid; gap: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 440px; }
table.compare th { text-align: left; padding: 12px 14px; background: var(--surface-2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
table.compare th:last-child { color: var(--gold); }
table.compare td { padding: 11px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
table.compare td:last-child { font-weight: 500; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.mini-cards .mc { border: 1px solid var(--line); border-radius: 4px; padding: 16px; background: var(--surface-2); display: grid; gap: 6px; align-content: start; }
.mini-cards .mc h4 { font-size: 16px; font-weight: 600; }
.mini-cards .mc p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.shield { display: inline-flex; gap: 3px; } .shield i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); } .shield i.on { background: var(--emerald); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.tag.yes { background: var(--emerald-soft); color: var(--emerald-ink); } .tag.no { background: var(--gold-soft); color: var(--gold); }
.codes { display: grid; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.codes div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.codes div:first-child { border-top: 0; }
.codes code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; color: var(--gold); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 13px; }
.steps b { display: block; font-weight: 600; }
.steps .muted { display: block; }
.finale { text-align: center; padding: 30px 22px; border-radius: 4px; background: #1d1c19; color: #f4eee1; display: grid; gap: 10px; }
.finale p:first-child { font-family: var(--display); font-weight: 600; font-size: 24px; color: #cfa15a; }
.finale p:nth-last-child(2) { font-family: var(--display); font-weight: 600; font-size: 20px; color: #cfa15a; }
.voices { display: grid; gap: 8px; }
.voices p { font-style: italic; font-weight: 500; font-size: 17px; color: var(--muted); }
textarea, input[type="text"] { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 11px 13px; resize: vertical; }
textarea:focus, input[type="text"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
label.q { font-weight: 500; display: grid; gap: 6px; }
.terms { display: grid; gap: 10px; }
.terms dt { font-weight: 600; color: var(--white); }
.terms dd { margin: 0 0 6px; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; letter-spacing: .04em; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--gold); }

/* ---------- Badges ---------- */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.badge { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface-2); }
.badge .medal { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--faint); color: var(--faint); }
.badge .medal .ic { width: 30px; height: 30px; }
.badge.earned .medal { border: 1px solid var(--gold); box-shadow: inset 0 0 0 4px var(--surface-2), inset 0 0 0 5px var(--line); color: var(--gold); background: radial-gradient(circle at 35% 30%, rgba(207,161,90,.25), transparent 70%); }
.badge b { font-size: 13.5px; font-weight: 600; } .badge small { font-size: 12px; color: var(--muted); }
.badge-pop .medal { width: 110px; height: 110px; margin: 0 auto; } .badge-pop .medal .ic { width: 46px; height: 46px; }

/* ---------- Checkup ---------- */
.q-row { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.q-row:first-child { border-top: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 8px 18px; border-radius: 4px; border: 1px solid var(--line); font-weight: 500; font-size: 14.5px; background: transparent; }
.seg input:checked + span { background: var(--gold-fill); color: #141413; border-color: var(--gold-fill); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.score-ring { --p: 0; width: 116px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(244,238,225,.1) 0); flex: none; }
.score-ring > div { width: 100px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-family: var(--display); font-size: 26px; color: var(--white); }
.area { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line-soft); background: var(--surface-2); }
.area .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.area.strong .dot { background: var(--emerald); } .area.attention .dot { background: var(--warn); } .area.priority .dot { background: var(--risk); }
.area .lvl { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-left: auto; white-space: nowrap; }
.area.strong .lvl { color: var(--emerald-ink); } .area.attention .lvl { color: var(--warn); } .area.priority .lvl { color: var(--risk); }

/* ---------- Radio ---------- */
.radio-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); padding: 0 16px env(safe-area-inset-bottom, 0px); background: #0b0b0a; color: #f4eee1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.rb-now { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.rb-now img { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.rb-now .tt { min-width: 0; }
.rb-now b { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-now small { font-size: 11px; color: var(--gold); letter-spacing: .2em; display: inline-flex; gap: 6px; align-items: center; }
.rb-ctrl { display: flex; align-items: center; gap: 6px; }
.rb-ctrl button, .rp-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #f4eee1; display: grid; place-items: center; }
.rb-ctrl button:hover, .rp-ctrl button:hover { background: rgba(255,255,255,.08); }
.rb-ctrl .pp, .rp-ctrl .pp { width: 46px; height: 46px; background: var(--gold-fill); color: #141413; }
.rb-ctrl .pp:hover, .rp-ctrl .pp:hover { background: #dbb06c; }
.rb-right { display: flex; align-items: center; gap: 10px; justify-content: flex-end; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 0; }
.rb-right .ic { color: var(--gold); }
.rb-right input[type="range"] { width: 110px; }
.rb-prog { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: rgba(255,255,255,.08); cursor: pointer; }
.rb-prog i { display: block; height: 100%; width: 0; background: var(--gold-fill); }
input[type="range"] { accent-color: #cfa15a; }
@media (max-width: 720px) { .radio-bar { grid-template-columns: minmax(0, 1fr) auto; } .rb-right { display: none; } .rb-ctrl .prev { display: none; } }
.radio-page { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 820px) { .radio-page { grid-template-columns: minmax(0, 1fr); } }
.rp-deck { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; }
.rp-deck img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.rp-deck h2 { font-family: var(--display); font-weight: 600; font-size: 21px; }
.rp-time { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.rp-time input { width: 100%; }
.rp-ctrl { display: flex; justify-content: center; align-items: center; gap: 12px; }
.rp-ctrl .pp { width: 58px; height: 58px; }
.rp-vol { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.rp-vol input { flex: 1; }
.playlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.playlist button { width: 100%; display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 4px; border: 1px solid transparent; background: transparent; color: var(--ink); }
.playlist button:hover { background: var(--surface-2); border-color: var(--line-soft); }
.playlist button.on { background: var(--gold-soft); border-color: var(--line); }
.playlist img { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; }
.playlist .i { color: var(--muted); text-align: center; font-size: 13px; }
.playlist b { display: block; font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playlist small, .playlist .len { color: var(--muted); font-size: 12.5px; }

/* ---------- CEO Wisdom ---------- */
.legend-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.legend-tabs button { flex: none; border: 1px solid var(--line-soft); background: transparent; border-radius: 4px; padding: 8px 14px; font-size: 13.5px; white-space: nowrap; color: var(--ink); }
.legend-tabs button:hover { border-color: var(--line); }
.legend-tabs button.on { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.legend-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .legend-grid { grid-template-columns: minmax(0, 1fr); } }
.legend-name { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: .03em; }
.talks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.talk { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); }
.talk .eyebrow { font-size: 10.5px; }

/* ---------- Toast & modal ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar) + 18px + env(safe-area-inset-bottom, 0px)); translate: -50% 20px; z-index: 90; background: #1d1c19; color: #f4eee1; border: 1px solid var(--line); padding: 12px 20px; border-radius: 4px; font-weight: 500; box-shadow: var(--shadow); opacity: 0; transition: opacity .25s, translate .25s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }
.modal-wrap { position: fixed; inset: 0; z-index: 95; background: rgba(5,5,5,.72); display: grid; place-items: center; padding: 16px; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; width: min(540px, 100%); max-height: 88vh; overflow: auto; display: grid; gap: 14px; box-shadow: var(--shadow); }
.modal h2 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .03em; }

/* ---------- Onboarding ---------- */
.onboard { text-align: center; justify-items: center; }
.onboard img { width: 92px; }
.onboard h2 { font-weight: 500; font-size: 28px; font-family: var(--display); color: var(--white); letter-spacing: .07em; }
.onboard h2 .ceo { font-weight: 600; }
.onboard form { display: grid; gap: 14px; width: 100%; text-align: left; }
.onboard .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.onboard .err { color: var(--risk); font-size: 13px; }

/* ---------- Certificate ---------- */
.cert-wrap { container-type: inline-size; max-width: 1000px; width: 100%; margin: 0 auto; }
.cert { position: relative; aspect-ratio: 1447 / 1087; background: url("../images/certificate-bg.jpg") center / 100% 100% no-repeat; color: #1d1c19; box-shadow: var(--shadow); }
.cert > * { position: absolute; left: 0; right: 0; text-align: center; }
.cert .c-name { top: 49.5%; font-family: var(--script); font-size: 7.4cqw; line-height: 1.1; color: #141413; padding: 0 18%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert .c-line { top: 61.6%; left: 18.5%; right: 18.5%; height: .25cqw; background: linear-gradient(90deg, transparent, #c4a052 12%, #c4a052 88%, transparent); }
.cert .c-biz { top: 63.6%; font-family: var(--display); font-weight: 600; font-size: 1.45cqw; letter-spacing: .26em; text-transform: uppercase; color: #8a6418; }
.cert .c-body { top: 67.6%; padding: 0 20%; font-family: Georgia, "Times New Roman", serif; font-size: 1.62cqw; line-height: 1.55; color: #2a2723; }
.cert .c-date { top: 83.6%; left: 62%; right: 11.5%; font-family: Georgia, serif; font-size: 1.6cqw; color: #2a2723; }
.cert.locked::after { content: ""; position: absolute; inset: 0; background: rgba(14,14,13,.55); }
.cert-lock { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 10px; color: #f4eee1; text-align: center; padding: 20px; }
.cert-lock .ic { width: 38px; height: 38px; color: #cfa15a; }
@media print {
  body * { visibility: hidden !important; }
  .cert, .cert * { visibility: visible !important; }
  .cert { position: fixed; inset: 0; margin: auto; width: 100vw; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: landscape; margin: 0; }
}


/* ---------- Photo field & student ID card ---------- */
.sr-only, .adm .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pf-photo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pf-photo .q { font-weight: 500; }
.pf-av { width: 84px; height: 105px; border-radius: 6px; border: 1px solid var(--gold); background: var(--surface-2); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 26px; overflow: hidden; flex: none; }
.pf-av img, .me .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me .av.has-photo { background: none; overflow: hidden; box-shadow: 0 0 0 1px var(--gold); }
.pf-photo label.btn { cursor: pointer; }
.pf-photo :focus-within > label.btn, #pf-file:focus-visible + label { outline: 2px solid var(--gold); }

.idc-wrap { container-type: inline-size; width: 100%; max-width: 560px; margin: 0 auto; }
.idc { position: relative; aspect-ratio: 85.6 / 54; border-radius: 4.2cqw; overflow: hidden; color: #f4eee1; font-family: var(--body);
  background: radial-gradient(120% 90% at 100% 0%, rgba(207,161,90,.16), transparent 55%), linear-gradient(160deg, #1a1916, #0b0b0a 70%);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 .35cqw #cfa15a, inset 0 0 0 1.3cqw #121110, inset 0 0 0 1.5cqw rgba(207,161,90,.45);
  display: grid; grid-template-rows: auto 1fr auto; padding: 4.4cqw 5.2cqw 3.6cqw; gap: 2.6cqw; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.idc-top { display: flex; align-items: center; gap: 2.2cqw; border-bottom: .25cqw solid rgba(207,161,90,.55); padding-bottom: 2cqw; }
.idc-top img { width: 8.4cqw; height: 8.4cqw; }
.idc-brand { display: flex; align-items: baseline; gap: 1.4cqw; line-height: 1; white-space: nowrap; }
.idc-brand b { font-family: var(--display); font-weight: 600; font-size: 3.9cqw; letter-spacing: .1em; color: #cfa15a; }
.idc-brand i { font-family: var(--script); font-style: normal; font-size: 5.2cqw; color: #f4eee1; }
.idc-kind { margin-left: auto; white-space: nowrap; font-family: var(--display); font-size: 2.2cqw; letter-spacing: .24em; text-transform: uppercase; color: #cfa15a; border: .25cqw solid #cfa15a; padding: .9cqw 1.8cqw; border-radius: 1cqw; }
.idc-body { display: grid; grid-template-columns: 27cqw 1fr; gap: 4.4cqw; align-items: center; min-height: 0; }
.idc-photo { width: 27cqw; aspect-ratio: 4 / 5; border-radius: 1.6cqw; overflow: hidden; border: .45cqw solid #cfa15a; background: #1f1e1b; display: grid; place-items: center; }
.idc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idc-photo span { font-family: var(--display); font-weight: 600; font-size: 9cqw; color: #cfa15a; }
.idc-info { margin: 0; display: grid; gap: 1.7cqw; min-width: 0; }
.idc-info dt { font-size: 1.9cqw; letter-spacing: .26em; text-transform: uppercase; color: #a9a192; font-weight: 600; }
.idc-info dd { margin: .3cqw 0 0; font-size: 3.4cqw; font-weight: 500; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idc-info .idc-name { font-family: var(--display); font-weight: 600; font-size: 4.6cqw; letter-spacing: .04em; }
.idc-info .idc-id { font-family: var(--display); font-weight: 700; font-size: 4.4cqw; letter-spacing: .14em; color: #cfa15a; }
.idc-info .idc-id.pending { font-size: 3.4cqw; color: #a9a192; letter-spacing: .1em; }
.idc-foot { text-align: center; font-family: var(--display); font-size: 2cqw; letter-spacing: .3em; text-transform: uppercase; color: #cfa15a; opacity: .9; }
@media print {
  html:has(body.print-id), body.print-id { background: #fff !important; }
  body.print-id .cert, body.print-id .cert * { visibility: hidden !important; }
  body.print-id .idc, body.print-id .idc * { visibility: visible !important; }
  body.print-id .idc-wrap { position: fixed; inset: 0; margin: auto; width: 6in; max-width: none; height: max-content; }
  body.print-id .idc { box-shadow: inset 0 0 0 .35cqw #cfa15a, inset 0 0 0 1.3cqw #121110, inset 0 0 0 1.5cqw rgba(207,161,90,.45); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro-reveal > * { opacity: 1; transform: none; }
}

/* ---------- Lisa's Journey, Go Deeper, quiz ---------- */
.lisa-ava { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); font-weight: 600; font-size: 13px; flex: none; }
.lisa-ava.big { width: 64px; height: 64px; font-size: 28px; box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5px var(--line); }
.box.lisa { background: var(--emerald-soft); border-left: 2px solid var(--emerald); border-radius: 0; }
.box.lisa .box-label { color: var(--emerald-ink); }
.box.lisa .lisa-ava { border-color: var(--emerald); color: var(--emerald-ink); }
.box.links { background: var(--surface-2); border: 1px solid var(--line-soft); }
.box.links .box-label { color: var(--gold); }
.box.links a { color: var(--gold); font-weight: 600; }
.lisa-hero { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.lisa-card h2 { font-size: 21px; }
.quiz { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); }
.quiz h3 { margin-top: 0 !important; }
.quiz-q { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.quiz-q legend { font-weight: 600; padding: 0; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; }
.quiz-q legend .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; flex: none; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.quiz-opt { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.quiz-opt:hover { border-color: var(--emerald); }
.quiz-opt.on { border-color: var(--emerald); background: var(--emerald-soft); font-weight: 600; }
.quiz-result { display: grid; gap: 8px; padding: 18px 20px; border-radius: 4px; background: #1d1c19; color: #f4eee1; }
.quiz-result h3 { color: #cfa15a; margin: 0 !important; }
.quiz-result .eyebrow { color: #cfa15a; }
.quiz-result .btn { justify-self: start; color: #f4eee1; }

/* ---------- Plan It + Game Center host ---------- */
.planit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.planit .ring-ico { width: 60px; height: 60px; }
@media (max-width: 760px) { .planit { grid-template-columns: minmax(0, 1fr); } }
.gc-host { max-width: 1240px; }
.stack { align-content: start; }
.current-mod { align-content: start; }
.jstep .bar { display: block; }
.takeaway { font-size: 16px; }
.stat-card b.word { font-size: 22px; letter-spacing: .04em; overflow-wrap: anywhere; }
@media (max-width: 560px) { .stat-card b.word { font-size: 17px; } .stat-card small { font-size: 10px; letter-spacing: .12em; } }
.cert .c-name { top: 50.6%; }
/* Knowledge check + Resource Library */
.quiz-opt.kc-right { border-color: var(--emerald); background: var(--emerald-soft); font-weight: 600; }
.quiz-opt.kc-wrong { border-color: var(--risk); opacity: .8; text-decoration: line-through; }
.quiz-opt:disabled { cursor: default; }
.res-cat summary { cursor: pointer; list-style: none; }
.res-cat summary::-webkit-details-marker { display: none; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; margin-top: 12px; }
.res { display: grid; gap: 6px; align-content: start; padding: 14px; border: 1px solid var(--line-soft); border-radius: 4px; background: var(--surface-2); text-decoration: none; color: var(--ink); }
.res:hover { border-color: var(--gold); }
.res b { font-weight: 600; color: var(--white); }
.res .muted { font-size: 13.5px; line-height: 1.5; }
.res small { font-size: 12px; color: var(--faint); }
.res .go { font-size: 12.5px; color: var(--gold); display: inline-flex; gap: 6px; align-items: center; }

/* Game recommendations under lessons */
.grecs{gap:12px}
.grec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
.grec{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;align-items:start;padding:16px;border:1px solid rgba(207,161,90,.28);border-radius:14px;background:rgba(255,255,255,.02);color:var(--ink);text-decoration:none;transition:border-color .2s,background .2s,transform .2s}
.grec:hover,.grec:focus-visible{border-color:var(--gold);background:rgba(207,161,90,.06);transform:translateY(-1px)}
.grec-ico{width:40px;height:40px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold)}
.grec-ico svg{width:19px;height:19px}
.grec-skill{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--emerald)}
.grec strong{font-family:var(--display);font-weight:600;color:var(--white);font-size:1rem;letter-spacing:.02em}
.grec-why{font-size:.88rem;line-height:1.5;opacity:.82}
.grec-go{grid-column:2;display:inline-flex;align-items:center;gap:6px;color:var(--gold);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;margin-top:4px}
.grec-go svg{width:14px;height:14px}
.lesson .grecs{margin-top:4px}
.outcome{border:1px solid rgba(207,161,90,.35);border-radius:12px;padding:14px 16px;background:rgba(207,161,90,.05);display:grid;gap:6px}
.outcome .eyebrow{display:inline-flex;align-items:center;gap:8px}
.outcome .eyebrow svg{width:14px;height:14px;color:var(--gold)}
.outcome p{margin:0;color:var(--white);line-height:1.55}
.journey-note{margin:0;font-size:.88rem;line-height:1.55}

/* Curriculum lesson pieces */
.lbox { display: grid; gap: 10px; }
.lbox ul, .lbox ol { margin: 0; }
.lbox-objectives { border-color: rgba(207,161,90,.45); }
.box.kc { display: grid; gap: 10px; }
.kc-list { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; }
.kc-q { margin: 0 0 4px; font-weight: 600; }
.kc-opts { margin: 0 0 6px; opacity: .85; }
.kc-list details summary { cursor: pointer; color: var(--gold); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; min-height: 32px; display: inline-flex; align-items: center; }
.kc-list details[open] summary { margin-bottom: 4px; }
.finish { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; border-top: 1px solid rgba(207,161,90,.3); padding-top: 14px; }
.finish-row p { margin: 4px 0 0; }
table.compare.data th, table.compare.data td { text-align: left; vertical-align: top; }
.lesson-group{margin:10px 0 2px;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}.lesson-group:first-child{margin-top:0}

/* ---------- Units (stage page) ---------- */
.units .unit { border: 1px solid var(--line-soft); border-radius: 6px; background: var(--surface); }
.units .unit[open] { border-color: var(--line); }
.units .unit > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.units .unit > summary::-webkit-details-marker { display: none; }
.units .unit > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.units .unit > .stack { padding: 0 12px 14px; }
.unit-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--gold); color: var(--gold); font-family: var(--body); font-weight: 600; font-size: 14px; }
.unit.complete .unit-n { background: var(--gold-fill); color: #141413; }
.unit-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.unit-t b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .02em; }
.unit-t small { color: var(--muted); font-size: 13px; }
.unit-chev { color: var(--gold); transition: transform .2s; flex: none; }
.unit[open] .unit-chev { transform: rotate(90deg); }
.lesson-meta { font-size: 13px; font-weight: 400; }
.tag.ov { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.box.lisa .lisa-turn { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(15, 92, 69, .25); }

/* Career Simulator card on the Customer Service track */
.cxsim{border-color:var(--gold, #cfa15a)}
.cxsim-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.cxsim-list li{display:flex;gap:8px;align-items:flex-start}
.cxsim-list svg{flex:none;width:18px;height:18px;margin-top:2px}
/* keep the CEO level word whole (no "DREA / MER") */
.stat-card b.word{word-break:keep-all;overflow-wrap:normal;hyphens:none;font-size:clamp(15px,1.5vw,22px)}
.stat-card > span:nth-child(2){min-width:0}

/* ---------- Business Checklist ---------- */
.bc-types { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-type { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); cursor: pointer; font-size: 14px; }
.bc-type.on { border-color: var(--gold); background: var(--gold-soft); color: var(--white); }
.bc-type input, .bc-main input, .bc-sub input { width: 20px; height: 20px; accent-color: var(--emerald); flex: none; margin: 0; }
.bc-items { display: grid; gap: 10px; }
.bc-item { border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); padding: 12px 14px; }
.bc-item.done { border-color: var(--emerald); }
.bc-main { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.bc-main span { display: grid; gap: 2px; }
.bc-main b { color: var(--white); font-weight: 600; font-size: 16px; }
.bc-item.done .bc-main b { color: var(--emerald-ink, var(--emerald)); }
.bc-main small { color: var(--muted); font-size: 12.5px; }
.bc-subs { list-style: none; margin: 8px 0 0 10px; padding: 0 0 0 20px; border-left: 1px dashed var(--line); display: grid; gap: 2px; }
.bc-sub { display: flex; gap: 10px; align-items: flex-start; padding: 6px 4px; cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.bc-sub input { width: 18px; height: 18px; margin-top: 2px; }
.bc-sub.done span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.bc-tag { font-style: normal; font-size: 11.5px; letter-spacing: .04em; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
.bc-count { font-size: 13.5px; white-space: nowrap; }
.bc-card .meter, .bc-sec .meter { margin: 0; }
#clp-print { display: none; }
@media print {
  body.print-cl > *:not(#clp-print) { display: none !important; }
  html:has(body.print-cl), body.print-cl { background: #fff !important; }
  body.print-cl #clp-print, body.print-cl #clp-print * { visibility: visible !important; }
  body.print-cl #clp-print { display: block; page: checklist; color: #111; font: 11pt/1.4 Georgia, "Times New Roman", serif; }
  #clp-print header { display: grid; gap: 2pt; border-bottom: 1.5pt solid #b8893a; padding-bottom: 6pt; margin-bottom: 10pt; }
  #clp-print header b { font-size: 15pt; letter-spacing: .04em; }
  #clp-print header span { font-size: 9.5pt; color: #444; }
  #clp-print h2 { font-size: 13pt; margin: 12pt 0 4pt; color: #7a5a1e; break-after: avoid; }
  #clp-print h2 small { font-size: 9.5pt; color: #555; font-weight: normal; }
  #clp-print .it { break-inside: avoid; margin: 0 0 6pt; }
  #clp-print .m { margin: 0; }
  #clp-print ul { list-style: none; margin: 1pt 0 0 14pt; padding: 0; }
  #clp-print li { margin: 0; font-size: 10.5pt; }
  @page checklist { size: letter portrait; margin: 0.5in; background: #fff; }
}

/* ---------- My Pace ---------- */
.dash-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; }
.pace-controls { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.pace-f { display: grid; gap: 4px; font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.pace-f input, .pace-f select { font: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; min-height: 44px; color-scheme: dark; }
.pace-week ol { margin: 6px 0 0; padding-left: 1.3em; display: grid; gap: 4px; font-size: 14.5px; }
.pace-week a { color: var(--white); }

/* ---------- My CEO Progress tabs ---------- */
.ptabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; border-bottom: 1px solid var(--line-soft); }
.ptabs a { display: inline-flex; gap: 8px; align-items: center; flex: none; padding: 10px 14px; min-height: 44px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.ptabs a .ic { color: var(--gold); width: 18px; height: 18px; }
.ptabs a:hover { color: var(--white); background: var(--gold-soft); }
.ptabs a.on { color: var(--white); background: var(--surface); border-color: var(--line); margin-bottom: -1px; }

/* ---------- Your week (dashboard) ---------- */
.today-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.today-item { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--surface-2); color: var(--ink); text-decoration: none; min-width: 0; }
.today-item:hover { border-color: var(--gold); }
.today-item .ring-ico { width: 44px; height: 44px; }
.today-item .tt { display: grid; gap: 2px; min-width: 0; }
.today-item small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.today-item b { color: var(--white); font-weight: 600; line-height: 1.3; }
.today-item em { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- After you launch ---------- */
.after-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px dashed var(--gold); border-radius: 6px; background: var(--gold-soft); }
.after-note > .ic { color: var(--gold); flex: none; margin-top: 2px; }
.after-note b { color: var(--white); }
.after-note p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.after-note .btn { margin-top: 8px; }
.tag.after { padding: 1px 8px; border: 1px solid var(--gold); color: var(--gold); background: transparent; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.unit.after { border-style: dashed; }

/* ---------- checklist inside lessons ---------- */
.lcl .bc-item.ready { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.lcl.lit { border-color: var(--gold); }
.ready-tag { font-style: normal; color: var(--gold); font-weight: 600; }
.bc-learn { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin: 6px 0 0 30px; font-size: 13.5px; color: var(--muted); }
.bc-learn .ic { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Plan It Like a CEO inside the academy ---------- */
.planit-frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.planit-frame iframe { display: block; width: 100%; height: max(640px, calc(100vh - var(--bar) - 210px)); border: 0; }
.planit-loading { position: absolute; inset: 0; display: flex; gap: 10px; align-items: center; justify-content: center; margin: 0; background: var(--surface); }
.planit-frame.ready .planit-loading { display: none; }
@media (max-width: 720px) { .planit-frame iframe { height: calc(100vh - var(--bar) - 150px); min-height: 560px; } }

/* ---------- CEO Radio: shrinks to a floating button ---------- */
.rb-hide { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #f4eee1; display: grid; place-items: center; position: absolute; right: 10px; top: 50%; translate: 0 -50%; }
.rb-hide:hover { background: rgba(255,255,255,.08); }
.radio-bar { transition: transform .25s ease; padding-right: 56px; }
body.rb-mini { --bar: 0px; }
body.rb-mini .radio-bar { transform: translateY(calc(100% + 4px)); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
.rb-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 61; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold-fill); padding: 0; background: #0b0b0a; box-shadow: 0 6px 20px rgba(0,0,0,.45); display: none; place-items: center; overflow: hidden; cursor: pointer; }
.rb-fab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rb-fab-ic { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-fill); color: #141413; }
.rb-fab-ic .ic { width: 17px; height: 17px; }
.rb-fab.playing { animation: rb-pulse 2s ease-in-out infinite; }
@keyframes rb-pulse { 50% { box-shadow: 0 0 0 6px rgba(207,161,90,.25), 0 6px 20px rgba(0,0,0,.45); } }
body.rb-mini .rb-fab { display: grid; }
@media (prefers-reduced-motion: reduce) { .rb-fab.playing { animation: none; } .radio-bar, body.rb-mini .radio-bar { transition: none; } }
@media print { .rb-fab { display: none !important; } }
body.rb-mini .app { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Founder Admin ---------- */
.adm { display: grid; gap: 18px; }
.adm-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); font-size: 14px; }
.adm-note > .ic { color: var(--gold); flex: none; margin-top: 2px; }
.adm-note b { color: var(--white); }
.adm-dirty { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--gold); border-radius: 6px; background: var(--surface-2); color: var(--white); }
.adm-dirty > .ic { color: var(--gold); }
.adm-dirty span { flex: 1; min-width: 180px; }
.adm-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.adm-tabs button { display: inline-flex; gap: 8px; align-items: center; flex: none; min-height: 42px; padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.adm-tabs button .ic { color: var(--gold); width: 17px; height: 17px; }
.adm-tabs button.on { color: var(--white); border-color: var(--gold); background: var(--gold-soft); }
.adm-body { display: grid; gap: 14px; min-width: 0; }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.adm-card { display: flex; gap: 12px; align-items: center; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.adm-card:hover { border-color: var(--gold); }
.adm-card .ring-ico { width: 44px; height: 44px; }
.adm-card b { display: block; color: var(--white); }
.adm-card small { color: var(--muted); font-size: 13px; }
.adm-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-seg button { min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.adm-seg button.on { background: var(--gold-fill); border-color: var(--gold-fill); color: #141413; font-weight: 600; }
.adm-unit { padding: 14px 16px; }
.adm-unit summary { display: flex; justify-content: space-between; gap: 10px; align-items: center; cursor: pointer; list-style: none; }
.adm-unit summary::-webkit-details-marker { display: none; }
.adm-unit summary b { color: var(--white); }
.adm-unit summary small { color: var(--muted); font-size: 13px; flex: none; }
.adm-unit[open] summary { margin-bottom: 10px; }
.adm-unit-tools { margin-bottom: 8px; }
.adm-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.adm-inline input { min-width: min(320px, 100%); flex: 1; }
.adm-lessons, .adm-reslist, .adm-members { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.adm-lessons li, .adm-reslist > li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--surface-2); }
.adm-lessons li.is-hidden, .adm-reslist li.is-hidden { opacity: .6; border-style: dashed; }
.adm-lt { display: grid; gap: 2px; min-width: 0; flex: 1 1 240px; }
.adm-lt b { color: var(--white); font-weight: 600; overflow-wrap: anywhere; display: inline-flex; gap: 8px; align-items: center; }
.adm-lt b .ic { color: var(--gold); }
.adm-lt small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.adm-acts { gap: 6px; flex-wrap: wrap; }
.adm-editor { display: grid; gap: 14px; }
.adm-f { display: grid; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.adm-f > span { font-weight: 600; letter-spacing: .02em; }
.adm-f textarea, .adm-f input, .adm-f select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); }
.adm-f textarea { resize: vertical; line-height: 1.5; }
.adm-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.adm-blocks { display: grid; gap: 10px; }
.adm-block { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line-soft); border-left: 3px solid var(--gold); border-radius: 6px; background: var(--surface-2); min-width: 0; }
.adm-block .adm-block { background: var(--surface); }
.adm-bhead { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.adm-bhead b { color: var(--white); font-size: 14px; }
.adm-obj { border: 1px solid var(--line-soft); border-radius: 6px; padding: 8px 10px 10px; margin: 0; display: grid; gap: 8px; min-width: 0; }
.adm-obj legend { font-size: 12px; color: var(--gold); padding: 0 4px; }
.adm-sub { display: grid; gap: 8px; }
.adm-sublabel { font-size: 13px; font-weight: 600; color: var(--muted); }
.adm-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 4px; }
.adm-split { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 14px; align-items: start; }
.adm-cert { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 860px) { .adm-split, .adm-cert { grid-template-columns: minmax(0, 1fr); } }
.adm-catlist { display: grid; gap: 4px; padding: 10px; }
.adm-catlist > button:not(.btn) { display: flex; justify-content: space-between; gap: 8px; padding: 9px 10px; min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.adm-catlist > button.on, .adm-catlist > button:not(.btn):hover { background: var(--gold-soft); color: var(--white); }
.adm-catlist small { color: var(--muted); }
.adm-resform { display: block !important; }
.adm-err { color: #e5868a; margin: 0; font-size: 13px; }
.adm-songs li { flex-wrap: nowrap; }
.adm-song-art { width: 44px; height: 44px; flex: none; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.adm-song-art img { width: 100%; height: 100%; object-fit: cover; }
.adm-song-f { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 6px; min-width: 0; }
.adm-song-f small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) { .adm-songs li { flex-wrap: wrap; } }
.adm-check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.adm-members li { display: grid; gap: 8px; padding: 14px 16px; }
.adm-members b { color: var(--white); }
.adm-members small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.adm-mrow { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--muted); }
.adm-ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.adm-rules summary { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.adm-rules summary::-webkit-details-marker { display: none; }
.adm-rules summary b { display: inline-flex; gap: 8px; align-items: center; color: var(--white); }
.adm-rules summary b .ic { color: var(--gold); }
.adm-rules summary small { color: var(--muted); font-size: 13px; }
.adm-verdict { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 6px; border: 1px solid; }
.adm-verdict.ok { border-color: var(--emerald); background: var(--emerald-soft, rgba(15,92,69,.15)); }
.adm-verdict.no { border-color: #b3261e; background: rgba(179,38,30,.12); }
.adm-verdict > .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.adm-verdict.ok > .ic { color: #5fc39a; } .adm-verdict.no > .ic { color: #e5868a; }
.adm-verdict b { color: var(--white); }
.adm-verdict p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.adm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.adm-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 4px; background: var(--surface-2); font-size: 14px; }
.adm-checks li.ok .ic { color: #5fc39a; } .adm-checks li.no .ic { color: #e5868a; }
.adm-checks li b { color: var(--white); font-weight: 600; font-size: 13px; text-align: right; }
.adm-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; align-items: start; }
.adm-price { display: grid; gap: 4px; }
.adm-big { font-family: var(--display); font-size: 40px; color: var(--white); line-height: 1.1; }
/* Founder Admin live numbers */
.adm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:14px}
.adm-stat{display:grid;gap:2px;padding:14px 16px}
.adm-stat b{font-family:"Cinzel",serif;font-size:26px;color:var(--gold,#cfa15a)}
.adm-stat small{opacity:.75;font-size:12.5px}
a.adm-card{text-decoration:none;color:inherit}
/* Founder Admin: spin the wheel */
.adm-spin{display:grid;gap:6px;overflow-x:auto}
.adm-spin-h,.adm-spin-r{display:grid;grid-template-columns:minmax(120px,1.3fr) 90px 150px 110px 140px 60px minmax(150px,auto);gap:10px;align-items:center;min-width:860px}
.adm-spin-h{font-size:12px;text-transform:uppercase;letter-spacing:.08em;opacity:.7;padding:0 10px}
.adm-spin-r{padding:10px;border-radius:10px;background:rgba(207,161,90,.06)}
.adm-spin-r label{display:flex;flex-direction:column;gap:2px}
.adm-spin-r.is-hidden{opacity:.55}
/* Founder card */
.idc.founder { box-shadow: inset 0 0 0 .5cqw #cfa15a, inset 0 0 0 1.5cqw #121110, inset 0 0 0 1.75cqw rgba(207,161,90,.7); }
.idc.founder .idc-kind { display: inline-flex; align-items: center; gap: 1cqw; background: #cfa15a; color: #14120e; }
.idc.founder .idc-kind svg { width: 2.6cqw; height: 2.6cqw; }

/* "Get the App" menu link: hidden once the school is already open as an installed app */
@media (display-mode: standalone) { .nav a.get-app { display: none; } }
