:root {
  --ink: #101725;
  --ink-soft: #273246;
  --paper: #f4f1e8;
  --paper-2: #fbfaf5;
  --line: #d8d7d0;
  --muted: #687181;
  --coral: #ff6b5f;
  --coral-dark: #d7534a;
  --mint: #c8e4d7;
  --blue: #9fb9d4;
  --shadow: 0 20px 45px rgba(16, 23, 37, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(255,107,95,.45); outline-offset: 3px; }

.shell { max-width: 1380px; min-height: 100vh; margin: 0 auto; padding: 0 34px; display: flex; flex-direction: column; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand b { display: block; letter-spacing: -.03em; font-size: 16px; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .02em; margin-top: 2px; }
.brand-mark { width: 28px; height: 28px; display: flex; gap: 3px; align-items: end; padding: 4px 5px; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark i { display: block; width: 4px; background: var(--coral); border-radius: 4px; animation: meter 1.7s ease-in-out infinite; }
.brand-mark i:nth-child(1) { height: 8px; animation-delay: -.3s; }.brand-mark i:nth-child(2) { height: 14px; animation-delay: -.8s; }.brand-mark i:nth-child(3) { height: 10px; animation-delay: -.5s; }
@keyframes meter { 0%,100% { transform: scaleY(.65); } 50% { transform: scaleY(1.25); } }
.top-actions { display: flex; align-items: center; gap: 18px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; background: #aeb4bc; border-radius: 50%; }.status-pill.ready .status-dot { background: #62a884; box-shadow: 0 0 0 4px rgba(98,168,132,.14); }
.ghost-btn, .text-btn { border: 0; background: transparent; color: var(--ink-soft); font-size: 13px; padding: 8px 0; }
.ghost-btn:hover, .text-btn:hover { color: var(--coral-dark); }

.view { padding: 68px 0 30px; flex: 1; animation: rise .35s ease both; }
.view[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 70px; align-items: end; }
.eyebrow { margin: 0 0 16px; color: var(--coral-dark); font-size: 11px; font-weight: 750; letter-spacing: .17em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(44px, 6vw, 82px); line-height: .98; letter-spacing: -.065em; }
h1 em { display: block; color: var(--coral-dark); font-style: normal; }
.hero-lede { max-width: 540px; margin-bottom: 30px; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 14px; }
.microcopy { color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-copy > .microcopy { margin-top: 16px; }
.primary-btn, .secondary-btn, .next-btn { min-height: 44px; border: 0; border-radius: 999px; padding: 0 20px; font-weight: 730; font-size: 13px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.primary-btn { color: #fff; background: var(--ink); box-shadow: 0 8px 16px rgba(16,23,37,.13); }.primary-btn:hover { transform: translateY(-2px); background: var(--coral-dark); box-shadow: 0 12px 20px rgba(215,83,74,.2); }.primary-btn span { color: var(--coral); margin-left: 9px; }
.secondary-btn { border: 1px solid var(--ink); color: var(--ink); background: transparent; }.secondary-btn:hover { color: #fff; background: var(--ink); transform: translateY(-2px); }
.next-btn { color: #fff; background: var(--coral-dark); box-shadow: 0 8px 16px rgba(215,83,74,.18); }.next-btn:hover { transform: translateY(-2px); background: var(--ink); }.next-btn span { margin-left: 8px; }
.full-btn { width: 100%; margin-top: 18px; }

.exam-card { min-height: 340px; background: var(--ink); color: #fff; padding: 25px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.exam-card:after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(200,228,215,.22); border-radius: 50%; right: -65px; bottom: -75px; box-shadow: 0 0 0 22px rgba(200,228,215,.06), 0 0 0 44px rgba(200,228,215,.035); }
.card-topline, .card-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #aeb8c7; font-size: 10px; letter-spacing: .14em; }.live-tag { color: var(--mint); }
.timeline { position: relative; z-index: 1; margin: 65px 0 70px; }.timeline-item { display: grid; grid-template-columns: 45px 1fr; align-items: baseline; gap: 10px; }.timeline-item strong { color: var(--coral); font-size: 22px; font-weight: 450; }.timeline-item span { font-family: Georgia, serif; font-size: 25px; }.timeline-item small { grid-column: 2; color: #aeb8c7; font-size: 11px; margin-top: -2px; }.timeline-item.accent span { color: var(--mint); }.timeline-line { height: 32px; margin-left: 21px; border-left: 1px dashed rgba(200,228,215,.42); }
.card-bottom { letter-spacing: .01em; font-size: 11px; }

.home-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 65px; }.panel { background: var(--paper-2); border: 1px solid var(--line); padding: 26px; }.panel-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 28px; }.panel-heading h2, .panel-heading h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }.panel-heading h2 { font-size: 28px; }.panel-heading h3 { font-size: 25px; }.panel-index { color: var(--coral); font-family: Georgia, serif; font-size: 32px; }
.practice-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.practice-steps > div { display: flex; gap: 11px; }.practice-steps span { color: var(--coral-dark); font-size: 11px; font-weight: 800; }.practice-steps p { margin: 0; }.practice-steps b, .practice-steps small { display: block; }.practice-steps b { font-size: 13px; }.practice-steps small { margin-top: 7px; color: var(--muted); line-height: 1.4; font-size: 11px; }
.bank-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 4px 0 24px; }.bank-stats strong, .bank-stats span { display: block; }.bank-stats strong { font-family: Georgia, serif; font-size: 30px; font-weight: 500; }.bank-stats span { color: var(--muted); font-size: 11px; margin-top: 4px; }.import-label { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--ink); padding: 11px 0; font-size: 12px; font-weight: 700; cursor: pointer; }.import-label span { color: var(--coral); font-size: 18px; }

.exam-header { display: flex; justify-content: space-between; align-items: end; }.exam-header h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(28px,4vw,52px); letter-spacing: -.05em; }.exam-header-right { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }.clock { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; letter-spacing: -.08em; }.progress-rail { height: 4px; background: #deded6; margin: 25px 0 44px; }.progress-rail span { display: block; height: 100%; width: 0; background: var(--coral); transition: width .3s ease; }
.exam-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 70px; }.question-stage { min-height: 440px; max-width: 830px; }.phase-badge { display: inline-block; border: 1px solid var(--coral); color: var(--coral-dark); padding: 6px 9px; font-size: 10px; font-weight: 800; letter-spacing: .16em; }.question-content { padding: 43px 0 25px; }.question-content h3 { margin-bottom: 18px; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 39px); font-weight: 500; line-height: 1.13; letter-spacing: -.035em; }.question-content p { max-width: 700px; color: var(--ink-soft); line-height: 1.65; }.question-content ul { padding-left: 20px; color: var(--muted); line-height: 1.9; }.question-content .cn { color: var(--muted); font-size: 14px; }.cue-label { color: var(--coral-dark); font-size: 11px; font-weight: 750; letter-spacing: .12em; margin-bottom: 8px; }.prep-notes-wrap { margin: 7px 0 24px; }.prep-notes-wrap label, .review-label { display: block; font-size: 12px; font-weight: 750; }.prep-notes-wrap label span { color: var(--muted); font-weight: 450; margin-left: 8px; }.prep-notes-wrap textarea, .review-note { width: 100%; border: 1px solid var(--line); background: var(--paper-2); margin-top: 9px; padding: 13px; resize: vertical; color: var(--ink); line-height: 1.55; }.prep-notes-wrap textarea { min-height: 75px; }
.exam-controls { display: flex; align-items: center; gap: 13px; }.exam-hint { color: var(--muted); font-size: 11px; margin: 16px 0 0; }.exam-aside { border-left: 1px solid var(--line); padding-left: 25px; }.aside-block { padding: 0 0 27px; border-bottom: 1px solid var(--line); margin-bottom: 27px; }.aside-block:last-child { border: 0; }.aside-block > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; font-size: 12px; }.recording-block { display: flex; align-items: center; gap: 12px; }.recording-block b, .recording-block small { display: block; }.recording-block b { font-size: 12px; }.recording-block small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }.record-wave { height: 30px; display: flex; align-items: center; gap: 3px; }.record-wave i { width: 3px; height: 9px; border-radius: 4px; background: var(--line); }.record-wave.active i { background: var(--coral); animation: wave .8s ease-in-out infinite; }.record-wave i:nth-child(2) { animation-delay: -.4s; height: 15px; }.record-wave i:nth-child(3) { animation-delay: -.2s; height: 23px; }.record-wave i:nth-child(4) { animation-delay: -.5s; height: 13px; }.record-wave i:nth-child(5) { animation-delay: -.1s; height: 18px; }.transcript-block { min-height: 80px; }.transcript-block p:last-child { margin-bottom: 0; }
@keyframes wave { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1.05); } }.session-meta { display: grid; grid-template-columns: 55px 1fr; row-gap: 10px; font-size: 11px; }.session-meta span { color: var(--muted); }.session-meta b { font-weight: 650; }

.result-hero { max-width: 720px; }.result-hero h2, .history-head h2 { margin-bottom: 15px; font-family: Georgia, serif; font-size: clamp(34px, 5vw, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; }.result-hero p:not(.eyebrow), .history-head p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }.result-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; margin-top: 45px; }.overall-score { color: var(--coral-dark); font-family: Georgia, serif; font-weight: 500; font-size: 40px; }.score-rows { display: grid; gap: 12px; }.score-rows label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }.score-rows select { min-width: 84px; border: 1px solid var(--line); background: var(--paper); padding: 8px; color: var(--ink); }.review-label { margin-top: 25px; }.review-note { min-height: 105px; }.playback-list { display: grid; gap: 11px; max-height: 470px; overflow: auto; }.playback-item { border-bottom: 1px solid var(--line); padding-bottom: 13px; }.playback-item:last-child { border: 0; }.playback-item span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 6px; }.playback-item b { display: block; font-size: 12px; line-height: 1.45; }.playback-item .transcript-copy { margin: 7px 0; padding-left: 10px; border-left: 2px solid var(--mint); color: var(--ink-soft); font-size: 12px; line-height: 1.55; }.playback-item audio { width: 100%; height: 34px; }.playback-item a { display: inline-block; color: var(--coral-dark); font-size: 10px; margin-top: 4px; }.result-back { margin-top: 22px; }
.history-head { display: flex; align-items: end; justify-content: space-between; }.history-list { margin-top: 38px; display: grid; gap: 10px; }.history-card { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 20px; align-items: center; padding: 19px 20px; background: var(--paper-2); border: 1px solid var(--line); }.history-card strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }.history-card small, .history-card span { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }.history-score { color: var(--coral-dark); font-family: Georgia, serif; font-size: 25px; }.empty-state { border: 1px dashed var(--line); padding: 35px; color: var(--muted); text-align: center; }
footer { display: flex; justify-content: space-between; padding: 24px 0 30px; color: #8b8f98; font-size: 10px; border-top: 1px solid var(--line); margin-top: auto; }

@media (max-width: 900px) { .shell { padding: 0 20px; }.hero-grid, .exam-layout, .result-grid { grid-template-columns: 1fr; gap: 35px; }.hero-grid { gap: 42px; }.exam-aside { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }.aside-block { margin: 0; }.aside-block:last-child { grid-column: 1 / -1; }.home-lower { grid-template-columns: 1fr; }.question-stage { min-height: auto; }.recording-block { border-bottom: 0; } }
@media (max-width: 580px) { .topbar { height: 72px; }.top-actions { gap: 10px; }.status-pill { display: none; }.view { padding-top: 42px; }.hero-actions { flex-wrap: wrap; }.exam-card { min-height: 300px; }.timeline { margin: 45px 0; }.practice-steps { grid-template-columns: 1fr; gap: 15px; }.bank-stats strong { font-size: 25px; }.exam-header { align-items: start; gap: 18px; }.exam-header-right { flex-direction: column; align-items: end; gap: 5px; }.question-content { padding-top: 30px; }.exam-controls { flex-wrap: wrap; }.exam-aside { grid-template-columns: 1fr; }.history-head { align-items: start; gap: 20px; flex-direction: column; }.history-card { grid-template-columns: 1fr auto; }.history-card > div:first-child { grid-column: 1 / -1; } footer { flex-direction: column; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
