/* Highlighter staging frontend — brand system (matches concept prototype)
   Midnight Navy #101F35 · Highlighter Yellow #E8F52B · Progress Teal #20BFA9 · Canvas #F3F5F8
   Type: Inter (Google Fonts) with system fallback. */
:root {
  --navy: #101F35;
  --navy-2: #1B2E4B;
  --navy-3: #0B1626;
  --yellow: #E8F52B;
  --yellow-soft: #F4FB9E;
  --teal: #20BFA9;
  --teal-dark: #12957F;
  --canvas: #F3F5F8;
  --paper: #FFFFFF;
  --ink: #101F35;
  --ink-2: #3D4C63;
  --ink-3: #6B7A90;
  --line: #DCE2EA;
  --line-soft: #E8EDF3;
  --nav-link: #C9D6E8;
  --tagline: #9FB2CC;
  --amber: #C98A00;
  --amber-bg: #FFF6DC;
  --red: #C2442E;
  --red-bg: #FDECE8;
  --green: #1A7F37;
  --green-bg: #E6F6EC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(16, 31, 53, .08);
  --shadow-sm: 0 1px 3px rgba(16, 31, 53, .08);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.staging-banner {
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.wrap { max-width: 1020px; margin: 0 auto; padding: 28px 20px 72px; }

/* Header — navy, sticky, reverse mark + wordmark (mirrors prototype) */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-3);
}
header.site .nav {
  max-width: 1020px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header.site .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
header.site .logo img { display: block; width: 28px; height: 34px; }
header.site .logo .wordmark {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
}
header.site .logo .wordmark small {
  display: block;
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tagline);
}
header.site nav { display: flex; align-items: center; gap: 4px; }
header.site nav a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
header.site nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
header.site nav #who { color: var(--tagline); font-size: .85rem; margin-right: 6px; }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}
h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; margin: 10px 0 12px; color: var(--navy); }
h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 10px; color: var(--navy); }
h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; color: var(--navy); }
p.muted, .muted { color: var(--ink-3); font-size: .92rem; }
.muted a { color: var(--teal-dark); font-weight: 600; }

/* Forms */
label { display: block; font-size: .83rem; font-weight: 600; margin: 14px 0 5px; color: var(--navy); }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(32, 191, 169, .18);
}
textarea { min-height: 90px; resize: vertical; }
input[type=file] { font-size: .9rem; color: var(--ink-2); }

/* Buttons — pill, yellow primary / navy secondary (mirrors prototype) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  margin-top: 14px;
  background: var(--yellow);
  color: var(--navy);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  box-shadow: 0 4px 14px rgba(232, 245, 43, .35);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn.yellow { background: var(--yellow); color: var(--navy); }
.btn.navy { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(16, 31, 53, .3); }
.btn.teal { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(32, 191, 169, .35); }
.btn.ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--navy); }
/* Ghost buttons on dark (navy) bands: navy text would vanish — use white. */
.cta-band .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.cta-band .btn.ghost:hover { border-color: #fff; }
.btn.danger-ghost {
  background: transparent;
  color: var(--red);
  border: 1.5px solid #efc5bd;
  box-shadow: none;
  padding: 8px 16px;
  font-size: .85rem;
}
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-row .btn { margin-top: 0; }

/* Alerts */
.error {
  background: var(--red-bg); border: 1px solid #f0c0b6; color: var(--red);
  padding: 11px 15px; border-radius: var(--radius-sm); margin: 12px 0; font-size: .9rem; font-weight: 500;
}
.ok {
  background: var(--green-bg); border: 1px solid #b7e4c7; color: var(--green);
  padding: 11px 15px; border-radius: var(--radius-sm); margin: 12px 0; font-size: .9rem; font-weight: 500;
}

/* Status badges */
.badge {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); color: var(--ink-3);
  letter-spacing: .02em;
}
.badge.uploaded { background: var(--amber-bg); border-color: #ecd27a; color: var(--amber); }
.badge.extracted { background: #e8f4ff; border-color: #a9cdf3; color: #174a7c; }
.badge.draft_ready { background: var(--green-bg); border-color: #b7e4c7; color: var(--green); }
.badge.approved { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

/* Dashboard upload rows */
.upload-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap;
}
.upload-row:first-of-type { border-top: none; }
.upload-row .meta { min-width: 200px; flex: 1; }
.upload-row .name { font-weight: 700; color: var(--navy); }
.upload-row .sub { font-size: .83rem; color: var(--ink-3); }

/* Review page */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
pre.source {
  background: var(--navy); color: #e8eef7;
  padding: 18px; border-radius: var(--radius-sm); font-size: .83rem;
  max-height: 70vh; overflow: auto; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.qblock {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 12px 0;
  background: #fbfcfe;
}
.qblock h4 { margin: 0 0 8px; font-size: .9rem; font-weight: 700; color: var(--navy); }
.qblock .btn.danger-ghost { margin-top: 8px; }

/* Landing */
.hero { text-align: center; padding: 56px 16px 28px; }
.hero .kicker {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(32, 191, 169, .12);
  border: 1px solid rgba(32, 191, 169, .3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.hero h1 .mark { position: relative; white-space: nowrap; }
.hero h1 .mark::after {
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: .08em; height: .32em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 2px;
  transform: skew(-8deg);
}
.hero .sub { font-size: 1.1rem; color: var(--ink-2); max-width: 640px; margin: 0 auto 8px; }
.hero .btn-row { justify-content: center; margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.step {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.step .n {
  font-weight: 800; color: var(--teal-dark); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.step strong { color: var(--navy); font-size: 1.02rem; }

/* Footer — navy like the prototype */
footer.site { background: var(--navy); color: #B9C9DE; margin-top: 0; }
footer.site .foot {
  max-width: 1020px; margin: 0 auto; padding: 36px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer.site .flogo { display: flex; align-items: center; gap: 10px; }
footer.site .flogo img { width: 24px; height: 29px; }
footer.site .flogo span { font-weight: 800; color: #fff; letter-spacing: -.02em; }
footer.site p { margin: 0; font-size: .83rem; color: #B9C9DE; }

/* Spinner */
.spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(16, 31, 53, .25); border-top-color: var(--navy);
  border-radius: 50%; animation: sp 0.7s linear infinite; vertical-align: -2px; margin-right: 8px;
}
.btn.navy .spin, .btn.teal .spin { border-color: rgba(255, 255, 255, .4); border-top-color: #fff; }
@keyframes sp { to { transform: rotate(360deg); } }

header.site nav #who { color: var(--tagline); font-size: .85rem; margin-right: 6px; }
header.site nav a.nav-cta {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  margin-left: 6px;
}
header.site nav a.nav-cta:hover { background: var(--yellow); color: var(--navy); filter: brightness(1.05); }

/* Secondary hero line */
.hero .secondary { font-size: 1rem; color: var(--ink-3); max-width: 640px; margin: 0 auto 8px; }

/* Section blocks */
.block { padding: 34px 0; }
.block.alt {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 28px;
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
}
.sec-head { margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.sec-head p { color: var(--ink-2); max-width: 680px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Check list */
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { display: flex; gap: 12px; margin: 14px 0; align-items: flex-start; }
.check-list .check-ico {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.check-list b { color: var(--navy); }

/* Price compare card */
.price-compare {
  background: var(--navy);
  color: #E6EDF7;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.price-compare h3 { color: #fff; margin-top: 0; }
.price-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12);
  font-weight: 600;
}
.price-row small { display: block; font-weight: 400; color: #A9BAD2; font-size: .82rem; margin-top: 4px; max-width: 340px; }
.price-row .amt { font-size: 1.25rem; font-weight: 800; white-space: nowrap; color: #fff; }
.price-row .amt.y { color: var(--yellow); }
.esa-note {
  margin-top: 14px; font-size: .85rem; color: #C7D5E9;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.esa-note b { color: var(--yellow); }

/* Trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.trust-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.trust-card h3 { margin-top: 0; font-size: 1rem; }
.trust-card p { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.compliance-bar {
  margin-top: 18px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .9rem; color: var(--ink-2);
}
.chip {
  font-size: .75rem; font-weight: 700;
  background: var(--canvas); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 999px; color: var(--navy);
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--navy);
  color: #E6EDF7;
  border-radius: var(--radius);
  padding: 44px 28px;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.cta-band p { color: #B9C9DE; max-width: 620px; margin: 0 auto 8px; }

/* Onboarding stepper */
.stepper-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 10px; }
.stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.stepper div { height: 6px; flex: 1; border-radius: 3px; background: var(--line-soft); }
.stepper div.on { background: var(--teal); }
.auth-actions { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.auth-actions .spacer { flex: 1; }
.auth-actions .btn { margin-top: 0; }
.field { margin: 14px 0; }
.hint { font-size: .82rem; color: var(--ink-3); margin-top: 6px; }
.notice {
  background: var(--amber-bg);
  border: 1px solid #ecd27a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
}
.notice b { color: var(--navy); }
.card.flat { box-shadow: none; }
.success-hero { text-align: center; margin-bottom: 8px; }
.big-check {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--green-bg);
  color: var(--green); font-size: 1.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Pricing presets + slider */
.price-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 16px; }
.price-preset {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  font-family: inherit; font-weight: 800; font-size: 1.15rem; color: var(--navy);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.price-preset small { font-weight: 500; font-size: .72rem; color: var(--ink-3); }
.price-preset.sel { border-color: var(--navy); background: var(--yellow-soft); box-shadow: 0 0 0 3px rgba(232, 245, 43, .35); }
.price-big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price-big b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.price-big span { color: var(--ink-3); font-size: .9rem; }
input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 4px;
  background: linear-gradient(to right, var(--teal) 0%, var(--teal) 50%, var(--line-soft) 50%, var(--line-soft) 100%);
  outline: none; padding: 0; border: none; margin: 10px 0 4px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--yellow);
  cursor: pointer; box-shadow: var(--shadow-sm);
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--yellow);
  cursor: pointer;
}
.range-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }

/* Live math rows */
.math-rows { margin-top: 6px; }
.math-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: .92rem;
}
.math-row:first-child { border-top: none; }
.math-row b { color: var(--navy); white-space: nowrap; }
.math-row.total { border-top: 2px solid var(--line); font-weight: 700; }
.math-row.total b { color: var(--teal-dark); }

/* Verification ladder */
.verify-ladder { margin: 16px 0; }
.verify-rung {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 14px 16px; margin: 10px 0; background: #fbfcfe;
}
.verify-rung .r-ico { font-size: 1.4rem; }
.verify-rung h4 { margin: 0 0 4px; font-size: .95rem; }
.verify-rung p { margin: 0; font-size: .87rem; color: var(--ink-2); }
.verify-rung .r-tag { margin-left: auto; flex-shrink: 0; }

/* Economics grid + wedge table */
.econ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 6px 0 4px; }
table.wedge { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 8px; }
table.wedge th, table.wedge td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line-soft); }
table.wedge th:first-child, table.wedge td:first-child { text-align: left; }
table.wedge thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
table.wedge tbody td { font-weight: 700; color: var(--navy); }
table.wedge tbody tr:hover td { background: #fbfcfe; }

/* Stat strip (dashboard) */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.stat-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.stat-card b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.stat-card span { font-size: .82rem; color: var(--ink-3); }

@media (max-width: 640px) {
  header.site .logo .wordmark small { display: none; }
  .wrap { padding: 20px 14px 56px; }
  .card { padding: 18px; }
}

/* ---- Slice 2a additions ---- */

/* Mastery pills */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--canvas);
  color: var(--ink-3); letter-spacing: .02em; white-space: nowrap;
}
.pill.p-mastered { background: var(--green-bg); border-color: #b7e4c7; color: var(--green); }
.pill.p-developing { background: #e8f4ff; border-color: #a9cdf3; color: #174a7c; }
.pill.p-just_started { background: var(--amber-bg); border-color: #ecd27a; color: var(--amber); }
.pill.p-pending { background: var(--canvas); border-color: var(--line); color: var(--ink-3); }

/* Student player */
.player { max-width: 680px; margin: 0 auto; }
.teach-body { white-space: pre-wrap; color: var(--ink-2); font-size: .95rem; }
.teach-sec h3 { margin-top: 22px; }
.obj-list { margin: 8px 0; padding-left: 22px; color: var(--ink-2); }
.obj-list li { margin: 6px 0; }
.dots { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.dots .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line); border: 1px solid var(--line);
}
.dots .dot.done { background: var(--teal); border-color: var(--teal); }
.dots .dot.current { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(232,245,43,.4); }
.choice-btn {
  display: block; width: 100%;
  text-align: left; font-family: inherit;
  font-size: 1.05rem; font-weight: 600; color: var(--navy);
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin: 10px 0; cursor: pointer;
  transition: border-color .12s ease, transform .12s ease, background .12s ease;
}
.choice-btn:hover:not(:disabled) { border-color: var(--teal); transform: translateY(-1px); }
.choice-btn:disabled { cursor: default; opacity: .85; }
.choice-btn.picked-right { border-color: var(--teal-dark); background: var(--green-bg); }
.choice-btn.picked-wrong { border-color: var(--red); background: var(--red-bg); }
.choice-btn.dim { opacity: .55; }
.feedback-ok {
  background: var(--green-bg); border: 1px solid #b7e4c7; color: var(--green);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 14px 0;
  font-size: 1.05rem; font-weight: 700; text-align: center;
}
.remediation-card {
  background: var(--amber-bg); border: 1px solid #ecd27a;
  border-radius: var(--radius); padding: 20px; margin: 14px 0;
}
.remediation-card h3 { margin: 0 0 8px; color: var(--amber); }
.remediation-card p { margin: 0 0 12px; color: var(--ink-2); }
.celebrate { text-align: center; padding: 30px 16px; }
.celebrate .big { font-size: 3rem; margin-bottom: 8px; }
.celebrate h2 { font-size: 1.6rem; }
.celebrate .sum-line { font-size: 1.1rem; font-weight: 600; color: var(--ink-2); margin: 14px 0; }

/* Invite + consent */
.consent-box { margin: 16px 0; }
.consent-item {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 16px; margin-bottom: 12px; cursor: pointer; background: #fff;
}
.consent-item input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--teal-dark); }
.consent-item .c-body b { display: block; font-size: .95rem; margin-bottom: 3px; color: var(--navy); }
.consent-item .c-body p { margin: 0; color: var(--ink-2); font-size: .86rem; }
.consent-item .req { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-dark); }
.play-link-box {
  background: var(--navy); color: #E6EDF7;
  border-radius: var(--radius); padding: 24px; margin: 18px 0;
  text-align: center; word-break: break-all;
}
.play-link-box .link { font-size: 1.05rem; font-weight: 700; color: var(--yellow); margin: 12px 0; }
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 26px;
  font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  background: var(--yellow); color: var(--navy); margin-top: 8px;
}

/* Tutor report */
.q-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 18px; margin: 12px 0; background: #fbfcfe;
}
.q-card h4 { margin: 0 0 10px; font-size: .98rem; color: var(--navy); }
.q-choice {
  display: block; padding: 9px 14px; margin: 6px 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--ink-2); background: #fff;
}
.q-choice.picked { border-color: var(--navy); background: var(--yellow-soft); font-weight: 600; color: var(--navy); }
.q-choice.correct { border-color: #b7e4c7; background: var(--green-bg); color: var(--green); font-weight: 600; }
.q-choice .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-left: 8px; }
.rem-text { font-size: .87rem; color: var(--ink-2); background: var(--amber-bg); border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 10px; }
.caveat-box {
  background: var(--amber-bg); border: 1px solid #ecd27a;
  border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0;
  font-size: .88rem; color: var(--ink-2);
}
.caveat-box b { color: var(--navy); }
.tweak-list { margin: 8px 0; padding-left: 22px; color: var(--ink-2); font-size: .93rem; }
.tweak-list li { margin: 8px 0; }
.report-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 16px; }
.invite-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-top: 12px; }
.invite-row .field { flex: 1; min-width: 180px; margin: 0; }
.invite-result { margin-top: 14px; }
.invite-result .code {
  font-size: 1.6rem; font-weight: 800; letter-spacing: .15em; color: var(--navy);
  background: var(--yellow-soft); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); padding: 10px 18px; text-align: center; margin: 10px 0;
}
