/* psychometrictest.ai — mobile-first, playful-gen */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:   #F4581C;
  --purple-l: #FFF3C4;
  --green:    #10B981;
  --green-l:  #D1FAE5;
  --orange:   #F59E0B;
  --orange-l: #FEF3C7;
  --bg:       #FFFBF2;
  --card:     #FFFFFF;
  --text:     #14110E;
  --muted:    #6B655D;
  --radius:   16px;
  --shadow:   0 4px 24px rgba(20,17,14,0.08);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}

/* ── SCREENS ─────────────────────────────────── */

.screen {
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  padding: 24px 20px 40px;
  gap: 20px;
}

.screen.active { display: flex; }

/* ── TOP BAR ─────────────────────────────────── */

.top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.back-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--purple);
}

.progress-label {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

/* ── PROGRESS BAR ────────────────────────────── */

.progress-bar {
  height: 6px;
  background: var(--purple-l);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--purple);
  border-radius: 99px;
  transition: width 0.35s ease;
  width: 0%;
}

/* ── CARDS ───────────────────────────────────── */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h2 { font-size: 20px; line-height: 1.35; }
.card p  { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ── SECTION CHIP ────────────────────────────── */

.section-chip {
  display: inline-block;
  background: var(--purple-l);
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
  padding: 4px 12px;
  width: fit-content;
  align-self: flex-start;
}

/* ── SECTION PILLS (landing) ─────────────────── */

.section-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pill {
  background: var(--card);
  border: 1.5px solid #E5E7EB;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* ── STATEMENT CARD ──────────────────────────── */

.statement-card { justify-content: center; min-height: 140px; }
.statement-text { font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--text); }

/* ── LIKERT SCALE ────────────────────────────── */

.likert-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.likert-btn {
  background: var(--card);
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 12px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.likert-btn:hover  { border-color: var(--purple); background: var(--purple-l); }
.likert-btn:active { transform: scale(0.95); }
.likert-btn.selected { border-color: var(--purple); background: var(--purple-l); }

.lk-num  { font-size: 20px; font-weight: 700; color: var(--purple); }
.likert-btn small { font-size: 9px; color: var(--muted); text-align: center; line-height: 1.3; }

/* ── FORCED CHOICE ───────────────────────────── */

.fc-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-btn {
  background: var(--card);
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.1s;
  line-height: 1.4;
}

.fc-btn:hover  { border-color: var(--purple); background: var(--purple-l); }
.fc-btn:active { transform: scale(0.98); }
.fc-btn.selected { border-color: var(--purple); background: var(--purple-l); }

.fc-label {
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.fc-or {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2px;
}

/* ── TRANSITION SCREEN ───────────────────────── */

.transition-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  gap: 16px;
  padding: 20px;
}

.transition-icon { font-size: 64px; }
.transition-center h2 { font-size: 24px; }
.transition-center p  { font-size: 15px; color: var(--muted); max-width: 300px; }

/* ── LANDING ─────────────────────────────────── */

.brand {
  text-align: center;
  padding-top: 32px;
}

.logo-mark { font-size: 52px; margin-bottom: 8px; }

.brand h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.5px;
}

.dot { color: var(--green); }

.tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-text { text-align: center; }
.hero-text h2 { font-size: 26px; font-weight: 700; line-height: 1.3; }
.hero-text em { color: var(--purple); font-style: normal; }
.hero-text p  { font-size: 15px; color: var(--muted); margin-top: 8px; }

.fine-print { text-align: center; font-size: 12px; color: var(--muted); margin-top: -8px; }

/* ── BUTTONS ─────────────────────────────────── */

.btn-primary {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:active { transform: scale(0.97); }
.btn-primary:hover  { background: #6D28D9; }

/* ── FORM ────────────────────────────────────── */

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.optional { font-weight: 400; color: var(--muted); }

input, select {
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

input:focus, select:focus { border-color: var(--purple); }

/* ── INTEREST SWIPE ──────────────────────────── */

.swipe-card { align-items: center; text-align: center; padding: 32px 24px; }
.interest-icon { font-size: 56px; }
.swipe-card h2 { font-size: 19px; }

.rate-label { text-align: center; font-size: 13px; color: var(--muted); font-weight: 500; }

.rating-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rate-btn {
  background: var(--card);
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 14px 6px;
  font-size: 22px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.1s;
  text-align: center;
  line-height: 1.4;
}

.rate-btn small { font-size: 10px; color: var(--muted); display: block; }
.rate-btn:hover  { border-color: var(--purple); background: var(--purple-l); }
.rate-btn:active { transform: scale(0.95); }
.rate-btn.selected { border-color: var(--purple); background: var(--purple-l); }

/* ── APTITUDE ────────────────────────────────── */

.section-tag {
  display: inline-block;
  background: var(--purple-l);
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
  padding: 3px 10px;
  width: fit-content;
}

.options-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.option-btn {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.option-btn:hover    { border-color: var(--purple); background: var(--purple-l); }
.option-btn.correct  { border-color: var(--green);  background: var(--green-l); }
.option-btn.wrong    { border-color: #EF4444;        background: #FEE2E2; }

.apt-note { font-size: 12px; color: var(--muted); text-align: center; }

/* ── RESULTS ─────────────────────────────────── */

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 16px;
  color: var(--muted);
}

.spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--purple-l);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.section-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-list { display: flex; flex-direction: column; gap: 10px; }

.match-row {
  background: var(--card);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.match-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.match-name  { font-weight: 600; font-size: 15px; }
.match-pct   { font-weight: 700; color: var(--purple); font-size: 15px; }

.bar-track { height: 6px; background: var(--purple-l); border-radius: 99px; }
.bar-fill  { height: 100%; background: var(--purple); border-radius: 99px; }

.career-cards { display: flex; flex-direction: column; gap: 12px; }

.career-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--purple);
}

.career-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.career-name   { font-weight: 700; font-size: 16px; flex: 1; }
.career-fit    { font-weight: 800; font-size: 18px; color: var(--purple); white-space: nowrap; }
.career-sector { font-size: 13px; color: var(--muted); margin-top: 4px; }
.career-what   { font-size: 13px; color: var(--text); margin-top: 8px; line-height: 1.5; }

.ai-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--green-l);
  color: #065F46;
}

.ai-tag.pressure  { background: var(--orange-l); color: #92400E; }
.ai-tag.transform { background: #FEE2E2; color: #991B1B; }

.student-snapshot h2 { font-size: 22px; }

.cta-block {
  background: var(--purple);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-block p { color: rgba(255,255,255,0.85); font-size: 15px; }
.cta-block .btn-primary { background: #fff; color: var(--purple); }
.cta-block .btn-primary:hover { background: #F3F4F6; }

/* ── CLERICAL SPEEDED TIMER ─────────────────────────────── */
.clerical-timer {
  font-weight: 800; font-size: 16px; color: var(--purple);
  background: var(--purple-l); border-radius: 99px; padding: 4px 12px;
  font-variant-numeric: tabular-nums;
}
.clerical-timer.timer-low { color: #fff; background: #EF4444; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.6; } }

/* ══ SAVE REPORT / ACCOUNT (2026-07-06) ══════════════════ */
.save-account { margin-top: 18px; text-align: left; }
.save-account h3 { font-size: 17px; margin-bottom: 4px; }
.save-sub { font-size: 13px; color: var(--muted, #6B7280); margin-bottom: 10px; }
.save-account input[type="email"], .save-account input[type="password"], .save-account input[type="text"] {
  width: 100%; padding: 12px 14px; margin: 5px 0;
  border: 1.5px solid #E5E7EB; border-radius: 10px; font-size: 15px;
}
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px;
               color: var(--muted, #6B7280); margin: 8px 0 4px; line-height: 1.45; }
.consent-row input { margin-top: 3px; }
.acc-msg { font-size: 13px; color: #B91C1C; margin-top: 8px; min-height: 16px; }
.acc-login-link { font-size: 13px; margin-top: 10px; text-align: center; }

/* ══ GOOGLE SIGN-IN BUTTON (2026-07-10) ══════════════════ */
.google-btn {
  width: 100%; margin-top: 10px; padding: 13px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #3c4043; font-size: 15px; font-weight: 600;
  border: 1.5px solid #dadce0; border-radius: 12px; cursor: pointer;
}
.google-btn:active { background: #f8f9fa; }
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted, #6B7280); font-size: 12px; margin: 12px 0 2px;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: #E5E7EB;
}

/* ── GLOBAL BUG FIXES (team report, 2026-08-16) — the 2 of 8 that apply here.
   1: option tiles keep one height whatever the text length.
   6: scrollbar gutter reserved so the card never shifts left/right.
   Bugs 2/4/5/8 do not apply: this test has no emoji scale, no appended tick
   and no read-aloud. Bug 7 does not apply: RIASEC items are fragments to rate,
   not sentences.                                                            */
html { scrollbar-gutter: stable; }
.screen { margin: 0 auto; }
.option-btn { min-height: 56px; display: flex; align-items: center; box-sizing: border-box; }


/* ═══════════ VIBE REDESIGN LAYER (2026-08-23) ═══════════
   Full visual redesign; class names & layout behaviour unchanged. */
body { background: #FFFBF2; }
.screen { max-width: 520px; gap: 22px; }

.brand h1 { font-family:'Bricolage Grotesque','Segoe UI',sans-serif; font-size: 1.25rem; letter-spacing:-.02em; }
.brand .dot { color: var(--purple); }
.logo-mark { display:none; }
.tagline { font-weight: 600; }

.kick { display:inline-block; background: var(--purple-l); color:#8A6A00; font-size:.68rem; font-weight:800;
  letter-spacing:.08em; padding:6px 14px; border-radius:999px; margin-bottom:12px; }
.hero-text h2 { font-family:'Bricolage Grotesque','Segoe UI',sans-serif; font-size: 2.3rem; line-height:1.06; letter-spacing:-.03em; }
.hero-text h2 em { font-style: normal; background:#FFD93B; padding:0 .16em; border-radius:.16em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-text p { font-size:.95rem; }

.section-pills .pill { background:#fff; border:2px solid #F2E4C8; border-radius:999px; font-weight:700;
  box-shadow:none; }
.meta-line { text-align:center; font-size:.8rem; }
.meta-line b { color: var(--purple-d); display:block; font-weight:800; }
.meta-line span { color: var(--muted); font-size:.74rem; }

.btn-primary { background: var(--purple); border-radius:999px; font-weight:800; font-size:1.02rem;
  padding:16px 24px; box-shadow:0 10px 26px -10px rgba(244,88,28,.55);
  transition: transform .16s ease, background .16s ease; }
.btn-primary:hover { background: var(--purple-d); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.97); }

.card { border:2px solid #F2E4C8; border-radius:22px; box-shadow:0 10px 30px -14px rgba(20,17,14,.12); }
.card h2, .section-heading { font-family:'Bricolage Grotesque','Segoe UI',sans-serif; letter-spacing:-.02em; }
.card input, .card select { border:2px solid #F2E4C8; border-radius:14px; }
.card input:focus, .card select:focus { border-color: var(--purple); outline:none; }

.top-bar { font-family:'Bricolage Grotesque','Segoe UI',sans-serif; }
.back-btn { border:2px solid #F2E4C8; box-shadow:none; border-radius:14px; }

.progress-fill { background: var(--purple); }
.progress-label { font-weight:700; }

.statement-card { border:2px solid #F2E4C8; border-radius:20px; }
.statement-text { font-family:'Bricolage Grotesque','Segoe UI',sans-serif; letter-spacing:-.01em; }

.likert-btn, .option-btn, .fc-btn, .rate-btn { border:2px solid #F2E4C8; border-radius:14px;
  transition: transform .14s ease, border-color .14s ease, background .14s ease; }
.likert-btn:hover, .option-btn:hover, .fc-btn:hover, .rate-btn:hover { border-color: var(--purple); transform: translateY(-2px); }
.likert-btn.selected, .option-btn.selected, .fc-btn.selected, .rate-btn.selected {
  border-color: var(--purple); background: #FFF6F1; }

.section-chip, .section-tag { background: var(--purple-l); color:#8A6A00; border-radius:999px; font-weight:800; }
.transition-center h2 { font-family:'Bricolage Grotesque','Segoe UI',sans-serif; }
.career-card, .match-row { border:2px solid #F2E4C8; border-radius:18px; }
.career-fit, .match-pct { color: var(--green); font-weight:800; }
.google-btn { border:2px solid #F2E4C8; border-radius:999px; font-weight:700; }
.spinner { border-top-color: var(--purple); }


/* ── vibe polish: info screen (2026-08-23) ── */
.top-bar{display:flex;align-items:center;gap:10px}
.tb-brand{margin-left:auto;font-family:'Bricolage Grotesque','Segoe UI',sans-serif;font-weight:800;font-size:14px;color:#14110E}
.tb-brand i{font-style:normal;color:#F4581C}
#screen-info .card{border:2.5px solid #14110E;border-radius:26px;box-shadow:8px 8px 0 #FFD93B;background:#fff}
.eyebrow-app{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#F4581C;margin:0 0 6px}
#screen-info .card .sub{font-size:13.5px;color:#6B655D;margin:4px 0 10px}
.hl2{background:#FFD93B;padding:0 .14em;border-radius:.14em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
#screen-info .btn-primary{border-radius:999px;background:#F4581C;box-shadow:0 12px 28px -10px rgba(244,88,28,.55);font-weight:800;max-width:340px;margin:0 auto;display:block;width:100%;transition:transform .15s}
#screen-info .btn-primary:hover{background:#D24310;transform:translateY(-2px)}
#screen-info .card input:focus,#screen-info .card select:focus{border-color:#F4581C}
.trustrow{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;font-size:12.5px;font-weight:600;color:#6B655D;margin-top:2px}

/* back = marketing page; brand lockup consistent with site header */
.tb-brand{display:inline-flex;flex-direction:column;align-items:flex-end;gap:1px;line-height:1.05}
.tb-by{font:600 8.5px 'Inter','Segoe UI',sans-serif;color:#6B655D;display:inline-flex;align-items:center;gap:3px}
.tb-by img{display:block}

/* playful info form: class pills + live greeting */
.clsgrid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:8px;margin-top:8px}
.clspill{border:2px solid transparent;border-radius:14px;padding:10px 0;font-weight:800;font-size:15px;font-family:inherit;cursor:pointer;transition:all .12s}
.clspill:hover{transform:translateY(-2px)}
.clspill.sel{border-color:#14110E;box-shadow:4px 4px 0 #FFD93B;transform:scale(1.05)}
select.vhide{display:none}
#screen-info .card .sub.pop{animation:subpop .5s}
@keyframes subpop{0%{transform:scale(.92)}55%{transform:scale(1.03)}100%{transform:scale(1)}}

/* ── compact registration: one-screen form ── */
#screen-info.screen{gap:10px}
#screen-info .card{padding:18px 18px 16px}
#screen-info .card h2{font-size:19px;margin:2px 0}
#screen-info .card .sub{font-size:12px;margin:2px 0 4px}
.eyebrow-app{font-size:10px;margin:0 0 2px}
#screen-info .card label{font-size:13px;margin:9px 0 0;display:block}
#screen-info .card input,#screen-info .card select{padding:9px 12px;font-size:14.5px;border-radius:11px}
.clsgrid2{gap:6px;margin-top:6px}
.clspill{padding:7px 0;font-size:14px;border-radius:11px}
.optrow{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.optrow input{flex:1 1 45%;min-width:130px}
#screen-info .btn-primary{margin-top:2px;padding:12px 18px;font-size:15px}
.trustrow{gap:10px;font-size:11px;margin-top:4px}

/* ── test screens: vibe + centering + motivation (2026-08-23) ── */
.grade-banner{background:#14110E!important;color:#FFD93B!important;box-shadow:0 2px 10px rgba(20,17,14,.28)!important}
.screen.active:has(.q-card),.screen.active:has(.options-grid){justify-content:center;min-height:calc(100dvh - 170px)}
@media(max-height:820px){
  #screen-info .card .sub{display:none}
  #screen-info .card{padding:14px 14px 12px}
  #screen-info .card label{margin:7px 0 0;font-size:12.5px}
  #screen-info .card input,#screen-info .card select{padding:8px 11px;font-size:14px}
  .clspill{padding:6px 0;font-size:13px}
  .optrow{margin-top:8px}
  #screen-info .btn-primary{padding:11px 16px}
  .trustrow{display:none}
}
.q-card,.screen:not(#screen-info):not(#screen-landing) .card{background:#fff;border:2.5px solid #14110E;border-radius:24px;box-shadow:8px 8px 0 #FFD93B;padding:24px}
.q-card h2{font-family:'Bricolage Grotesque','Segoe UI',sans-serif;letter-spacing:-.02em}
.option-btn,.options-grid button{border:2px solid #F2E4C8;border-radius:16px;background:#FFFDF7;transition:all .13s}
.option-btn:hover,.options-grid button:hover{border-color:#F4581C;transform:translateX(3px)}
.option-btn.selected,.options-grid button.selected{border-color:#F4581C;background:#FFF6F1;box-shadow:3px 3px 0 #FFD93B}
.progress-bar{background:#F2E4C8;border-radius:999px}
.progress-fill,[id$="-progress"]{background:linear-gradient(90deg,#F4581C,#FFD93B)!important;border-radius:999px}
.progress-count{font-weight:800;color:#D24310}
.moto{text-align:center;font-size:12.5px;font-weight:700;color:#6B655D;margin-top:12px;transition:opacity .3s}

/* ── section intro: brand, greeting, vibe button, countdown ── */
.btn-primary{background:#F4581C!important;background-image:none!important;box-shadow:0 12px 26px -10px rgba(244,88,28,.5)!important}
.btn-primary:hover{background:#D24310!important}
.si-brand{font-family:'Bricolage Grotesque','Segoe UI',sans-serif;font-weight:800;font-size:16px;color:#14110E}
.si-brand i{font-style:normal;color:#F4581C}
.si-brand .by{display:block;font:600 9px 'Inter','Segoe UI',sans-serif;color:#6B655D;letter-spacing:.02em;margin-top:1px}
.si-hi{font-weight:700;font-size:15px;color:#D24310;margin-top:6px}

.si-test{font:700 12.5px 'Inter','Segoe UI',sans-serif;color:#6B655D;margin-top:2px}
.si-inst{margin:14px auto 8px;max-width:430px;background:#fff;border:2px solid #F2E4C8;border-radius:16px;padding:12px 16px;text-align:left;display:flex;flex-direction:column;gap:6px}
.si-inst b{font:800 11px 'Inter','Segoe UI',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#D24310}
.si-inst span{font:600 13px 'Inter','Segoe UI',sans-serif;color:#6B655D}

/* ── question screen v2: hierarchy variation + test header (2026-08-24) ── */
.q-card,.card:has(.options-grid){background:transparent;border:0;box-shadow:none;padding:0}
.q-card h2{font-size:clamp(20px,2.6vw,26px);margin:10px 0 18px;line-height:1.25}
.qnum{margin-bottom:2px}
.option-btn,.options-grid button{background:#fff;border:2.5px solid #14110E;border-radius:18px;box-shadow:4px 4px 0 #F2E4C8;padding:14px 16px;font-weight:600;text-align:left}
.option-btn:hover,.options-grid button:hover{box-shadow:4px 4px 0 #FFD93B;transform:translateY(-2px);border-color:#14110E}
.option-btn.selected,.options-grid button.selected{border-color:#F4581C;background:#FFF6F1;box-shadow:4px 4px 0 #FFD93B}
.option-list{counter-reset:opt}
.option-btn{counter-increment:opt;position:relative}
.option-btn:not(:has(.option-emoji)){padding-left:52px}
.option-btn:not(:has(.option-emoji))::before{content:counter(opt,upper-alpha);position:absolute;left:12px;top:50%;transform:translateY(-50%);width:26px;height:26px;display:flex;align-items:center;justify-content:center;font:800 13px 'Bricolage Grotesque','Segoe UI',sans-serif;color:#8A6A00;background:#FFF3C4;border:2px solid #14110E;border-radius:50%}
.test-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}
.th-brand{font-family:'Bricolage Grotesque','Segoe UI',sans-serif;font-weight:800;font-size:14px;color:#14110E}
.th-brand i{font-style:normal;color:#F4581C}
.th-meta{font:700 12px 'Inter','Segoe UI',sans-serif;color:#6B655D}
.th-inst{flex-basis:100%;text-align:center;font:600 11.5px 'Inter','Segoe UI',sans-serif;color:#8A6A00;background:#FFF3C4;border-radius:999px;padding:4px 12px;margin:2px 0 0}

/* ── header card + calm green progress (2026-08-24) ── */
.test-head{background:#fff;border:2px solid #F2E4C8;border-radius:18px;padding:12px 14px 12px;margin-bottom:16px}
.test-head .progress-wrap{flex-basis:100%;width:100%;margin:8px 0 0;display:flex;align-items:center;gap:10px}
.th-inst{margin-top:6px}
.progress-fill,[id$="-progress"]{background:#188A5E!important;transition:width .35s ease}
.progress-count{color:#188A5E}

/* ── header v3: brand lockup, longest progress; instruction with question ── */
.th-brand{display:inline-flex;flex-direction:column;line-height:1.05;font-size:15px}
.th-by{font:600 8.5px 'Inter','Segoe UI',sans-serif;color:#6B655D;letter-spacing:.02em;margin-top:1px}
.th-meta{font:700 11.5px 'Inter','Segoe UI',sans-serif;color:#6B655D;text-align:right}
.th-inst{display:none}
.test-head .progress-wrap{margin-top:10px}
.test-head .progress-bar{flex:1}
.q-inst{display:inline-block;font:700 11px 'Inter','Segoe UI',sans-serif;color:#0F6B4F;background:#DFF3E9;border:2px solid #14110E;border-radius:999px;padding:3px 11px;margin:0 0 10px 8px;vertical-align:middle}
.moto{margin:16px 0 2px}
@media(max-width:520px){.q-inst{margin-left:0;display:block;width:max-content}}

/* ── declutter: quiet question label, no page instruction/moto (they live in the ready overlay) ── */
.qnum{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;margin:0 0 6px!important;font:800 12px 'Inter','Segoe UI',sans-serif!important;letter-spacing:.09em;text-transform:uppercase;color:#D24310!important}
.q-inst,.moto{display:none!important}

/* ── cheers v2 (big, slower, emoji), neon select, clearer back ── */
.cheer{font-size:30px!important;padding:12px 22px!important}
.cheer.show{animation-duration:1.6s!important}
.cheer.milestone{font-size:22px!important}
#cheer{font-size:22px}
.option-btn.selected,.options-grid button.selected{animation:optpop .35s ease;box-shadow:0 0 0 3px #FFD93B,0 0 20px rgba(244,88,28,.45)!important}
@keyframes optpop{0%{transform:scale(.96)}55%{transform:scale(1.04)}100%{transform:scale(1)}}
.test-head .back-btn{width:34px;height:34px;border-radius:50%;border:2px solid #F2E4C8;background:#fff;font-size:16px;cursor:pointer}
.test-head .back-btn:hover{border-color:#F4581C;color:#D24310}

/* ── header meta as badges: name chip + class·assessment chip ── */
.th-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end;text-align:right}
.th-name{background:#FFF3C4;color:#8A6A00;border:2px solid #14110E;border-radius:999px;padding:3px 11px;font:800 11.5px 'Inter','Segoe UI',sans-serif;white-space:nowrap}
.th-test{border:2px solid #14110E;border-radius:999px;padding:3px 11px;font:800 11.5px 'Inter','Segoe UI',sans-serif;white-space:nowrap}

.th-assess{background:#fff;color:#14110E;border:2px solid #14110E;border-radius:999px;padding:3px 11px;font:800 11.5px 'Inter','Segoe UI',sans-serif;white-space:nowrap}
