:root {
  --navy-950: #071735;
  --navy-900: #0b2048;
  --navy-800: #102a5d;
  --navy-700: #17366e;
  --navy-600: #264984;
  --red-700: #a9132d;
  --red-600: #c31334;
  --red-500: #d7193f;
  --red-100: #ffe7ec;
  --red-50: #fff3f5;
  --gold: #d4a843;
  --green: #16815b;
  --green-50: #eaf8f2;
  --orange: #b65b15;
  --ink: #152033;
  --muted: #637087;
  --line: #dfe5ee;
  --line-soft: #edf0f5;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --code: #0b1220;
  --shadow-sm: 0 2px 8px rgba(12, 32, 72, 0.07);
  --shadow-md: 0 15px 40px rgba(12, 32, 72, 0.12);
  --shadow-lg: 0 28px 80px rgba(6, 23, 53, 0.18);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shell: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-alt);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
svg { display: block; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(215, 25, 63, 0.25);
  outline-offset: 2px;
}

::selection { background: rgba(215, 25, 63, 0.16); color: var(--navy-900); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: 0.48; }
.button-full { width: 100%; }
.button-primary { color: white; background: var(--red-600); box-shadow: 0 8px 20px rgba(195, 19, 52, 0.18); }
.button-primary:hover:not(:disabled) { background: var(--red-700); box-shadow: 0 11px 24px rgba(195, 19, 52, 0.24); }
.button-secondary { color: var(--navy-800); background: white; border-color: var(--line); }
.button-secondary:hover:not(:disabled) { border-color: #b8c4d5; background: #fafbfe; }
.button-submit { color: white; background: var(--green); box-shadow: 0 8px 20px rgba(22, 129, 91, 0.18); }
.button-light { color: var(--navy-900); background: white; }
.button-danger { color: white; background: #b4233c; }

.section-kicker {
  color: var(--red-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-kicker.light { color: #ff9aae; }
.section-kicker.danger { color: #b4233c; }

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 42, 93, 0.09);
  box-shadow: 0 1px 4px rgba(12, 32, 72, 0.04);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-link img { width: 230px; height: auto; }
.brand-divider { width: 1px; height: 31px; background: #d5dce7; }
.portal-name { color: var(--navy-700); font-size: 14px; font-weight: 750; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > a, .nav-signout { padding: 9px 13px; color: #526078; background: none; border: 0; border-radius: 7px; font-size: 14px; font-weight: 650; cursor: pointer; }
.primary-nav > a:hover, .primary-nav > a.active { color: var(--red-600); background: var(--red-50); }
.nav-signout { margin-left: 5px; color: var(--navy-700); border: 1px solid var(--line); }
.nav-signout:hover { border-color: #b8c4d5; background: #f8f9fc; }
.primary-nav form { margin: 0; }

.toast-stack { position: fixed; z-index: 200; top: 92px; right: 20px; display: grid; gap: 10px; width: min(390px, calc(100vw - 40px)); }
.toast { padding: 13px 16px; color: var(--navy-900); background: white; border: 1px solid var(--line); border-left: 4px solid var(--navy-600); border-radius: 10px; box-shadow: var(--shadow-md); font-weight: 600; }
.toast-success { border-left-color: var(--green); }
.toast-error { border-left-color: var(--red-600); }

/* Login */
.login-body { background: white; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(470px, 1.04fr) minmax(480px, 0.96fr); }
.login-brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 70px clamp(48px, 7vw, 110px);
  overflow: hidden;
  color: white;
  background: #000;
}
.brand-panel-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom right, black, transparent 78%);
}
.login-brand-panel::after { content: ""; position: absolute; z-index: -2; width: 520px; height: 520px; right: -220px; bottom: -225px; border: 80px solid rgba(255,255,255,.035); border-radius: 50%; }
.brand-panel-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 380px; height: 380px; top: -150px; right: -110px; background: radial-gradient(circle, rgba(215,25,63,.32), transparent 70%); }
.orb-two { width: 330px; height: 330px; left: -150px; bottom: 2%; background: radial-gradient(circle, rgba(55,111,202,.24), transparent 70%); }
.login-brand-content { position: relative; max-width: 610px; }
.login-eyebrow { margin-bottom: 16px; color: #ffb0bf; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.login-brand-content h1 { max-width: 640px; margin: 0; font-size: clamp(40px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -0.045em; }
.login-brand-content > p { max-width: 560px; margin: 24px 0 32px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
.login-feature-list { display: grid; gap: 14px; }
.login-feature-list > div { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); font-weight: 600; }
.feature-check { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #ff9db0; background: rgba(215,25,63,.16); font-size: 12px; }
.brand-panel-footer { position: absolute; bottom: 32px; left: clamp(48px, 7vw, 110px); color: rgba(255,255,255,.36); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.login-form-panel { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 64px clamp(28px, 6vw, 86px); background: #fbfcfe; }
.login-card { width: min(100%, 450px); }
.form-login-logo { display: block; width: min(260px, 68%); height: auto; margin: 0 0 30px; }
.login-heading h2 { margin: 7px 0 5px; color: var(--navy-900); font-size: 36px; line-height: 1.15; letter-spacing: -0.035em; }
.login-heading p { margin: 0; color: var(--muted); }
.login-form { display: grid; gap: 19px; margin-top: 34px; }
.field-group { display: grid; gap: 7px; }
.field-group label { color: #34425a; font-size: 13px; font-weight: 750; }
.field-group input, .result-filters input, .result-filters select, .danger-zone input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field-group input:focus, .result-filters input:focus, .result-filters select:focus, .danger-zone input:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(38,73,132,.1); }
.input-with-icon { position: relative; }
.input-with-icon svg { position: absolute; top: 14px; left: 14px; width: 20px; color: #8a96a9; }
.input-with-icon input { padding-left: 44px; }
.login-form .button { min-height: 51px; margin-top: 5px; }
.login-form .button svg { width: 18px; }
.security-note { display: flex; gap: 10px; margin-top: 24px; padding-top: 20px; color: #7b8799; border-top: 1px solid var(--line-soft); font-size: 12px; line-height: 1.5; }
.security-note svg { flex: 0 0 auto; width: 18px; margin-top: 1px; color: var(--green); }

/* Dashboard */
.dashboard-hero { position: relative; overflow: hidden; color: white; background: #000; }
.hero-mesh { position: absolute; inset: 0; background-image: linear-gradient(120deg, transparent 68%, #1b2f62), radial-gradient(circle at 12% 85%, rgb(0 0 0 / 50%), transparent 30%); }
.dashboard-hero-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 60px; min-height: 290px; padding-block: 54px; }
.hero-kicker { display: flex; align-items: center; gap: 9px; color: #ff9aae; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker span { width: 23px; height: 2px; background: var(--red-500); }
.dashboard-hero h1 { margin: 12px 0 7px; font-size: clamp(40px, 5vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.dashboard-hero p { max-width: 640px; margin: 0; color: rgba(255,255,255,.7); font-size: 16px; }
.hero-stat-panel { display: grid; grid-template-columns: repeat(3, 1fr); min-width: 410px; overflow: hidden; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.11); border-radius: 14px; backdrop-filter: blur(10px); }
.hero-stat-panel > div { padding: 22px 20px; text-align: center; }
.hero-stat-panel > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.hero-stat-panel strong { display: block; font-size: 25px; }
.hero-stat-panel span { color: rgba(255,255,255,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.dashboard-content { padding-block: 58px 90px; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading-row h2 { margin: 6px 0 4px; color: var(--navy-900); font-size: 30px; letter-spacing: -.03em; }
.section-heading-row p { margin: 0; color: var(--muted); }
.text-link { flex: 0 0 auto; padding: 7px 0; color: var(--red-600); font-weight: 750; }
.text-link:hover { color: var(--red-700); }
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exam-card { position: relative; display: flex; flex-direction: column; min-height: 327px; padding: 24px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.exam-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--red-600), #e85370); opacity: 1; }
.exam-card-available { border-color: rgba(195,19,52,.28); box-shadow: 0 12px 34px rgba(12,32,72,.1); }
.exam-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(12,32,72,.12); }
.exam-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.exam-icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--navy-700); background: #edf2fa; border-radius: 11px; }
.exam-icon svg { width: 24px; }
.exam-card[data-accent="red"] .exam-icon { color: var(--red-600); background: var(--red-50); }
.exam-card[data-accent="purple"] .exam-icon, .exam-card[data-accent="violet"] .exam-icon { color: #7044a8; background: #f2edfa; }
.exam-card[data-accent="blue"] .exam-icon, .exam-card[data-accent="cyan"] .exam-icon { color: #2567a9; background: #eaf5fc; }
.exam-card[data-accent="gold"] .exam-icon, .exam-card[data-accent="orange"] .exam-icon { color: #996516; background: #fff6df; }
.exam-card[data-accent="green"] .exam-icon { color: var(--green); background: var(--green-50); }
.exam-card[data-accent="pink"] .exam-icon { color: #a62d69; background: #fbeefa; }
.availability-badge { padding: 5px 9px; color: #778398; background: #f0f2f6; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.availability-badge.available { display: flex; align-items: center; gap: 6px; color: #11704e; background: var(--green-50); }
.availability-badge.available i, .live-indicator i { width: 6px; height: 6px; border-radius: 50%; background: #1ba774; box-shadow: 0 0 0 3px rgba(27,167,116,.12); }
.exam-card-body { flex: 1; padding: 20px 0 18px; }
.exam-card-body h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 19px; letter-spacing: -.02em; }
.exam-card-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.exam-meta { display: flex; gap: 17px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.exam-meta span { display: flex; align-items: center; gap: 5px; color: #647188; font-size: 11px; font-weight: 650; }
.exam-meta svg { width: 15px; }
.exam-card .button { min-height: 43px; }
.fake-start-button:disabled { opacity: 1; cursor: not-allowed; }

/* Modal */
.modal-backdrop { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5, 18, 43, .72); backdrop-filter: blur(7px); }
.modal-backdrop[hidden] { display: none; }
.modal-card { position: relative; width: min(100%, 480px); padding: 36px; background: white; border-radius: 18px; box-shadow: var(--shadow-lg); animation: modal-in 180ms ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 15px; display: grid; width: 35px; height: 35px; place-items: center; color: #778398; background: #f4f6f9; border: 0; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.modal-icon { display: grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; color: var(--red-600); background: var(--red-50); border: 1px solid var(--red-100); border-radius: 13px; }
.modal-icon svg { width: 26px; }
.modal-card h2 { margin: 6px 0 7px; color: var(--navy-900); font-size: 29px; letter-spacing: -.03em; }
.modal-intro { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.modal-card form { display: grid; gap: 17px; }
.modal-notice { display: flex; gap: 9px; padding: 12px; color: #5a6680; background: #f4f7fb; border-radius: 8px; font-size: 12px; }
.modal-notice svg { flex: 0 0 auto; width: 17px; margin-top: 1px; color: var(--navy-600); }
.form-error { padding: 10px 12px; color: #9b1730; background: var(--red-50); border: 1px solid var(--red-100); border-radius: 7px; font-size: 12px; font-weight: 650; }

/* Exam */
.exam-body { height: 100vh; overflow: hidden; background: #f4f6fa; }
.exam-app { height: 100vh; display: flex; flex-direction: column; }
.exam-header { position: relative; z-index: 30; flex: 0 0 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(12,32,72,.05); }
.exam-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.exam-brand img { width: 210px; height: auto; }
.exam-brand > span { width: 1px; height: 27px; background: var(--line); }
.exam-brand strong { color: var(--navy-700); font-size: 12px; white-space: nowrap; }
.exam-header-center { padding: 0 35px; text-align: center; }
.exam-header-center span { display: block; color: #7a869a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.exam-header-center strong { color: var(--navy-900); font-size: 14px; }
.exam-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.save-state { display: flex; align-items: center; gap: 7px; color: #68758a; font-size: 11px; font-weight: 700; white-space: nowrap; }
.save-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.save-state.saving i { background: var(--gold); animation: pulse 1s infinite; }
.save-state.save-error { color: #a51d35; }
.save-state.save-error i { background: var(--red-600); }
@keyframes pulse { 50% { opacity: .35; } }
.exam-progress-track { position: relative; z-index: 31; flex: 0 0 3px; background: #e9edf3; }
.exam-progress-track progress { display: block; width: 100%; height: 100%; appearance: none; border: 0; }
.exam-progress-track progress::-webkit-progress-bar { background: #e9edf3; }
.exam-progress-track progress::-webkit-progress-value { background: linear-gradient(90deg, var(--red-600), #ef607b); transition: width 180ms ease; }
.exam-progress-track progress::-moz-progress-bar { background: linear-gradient(90deg, var(--red-600), #ef607b); transition: width 180ms ease; }
.exam-layout { flex: 1; display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 0; }
.question-sidebar { display: flex; flex-direction: column; min-height: 0; background: white; border-right: 1px solid var(--line); }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 23px 21px 18px; }
.sidebar-heading span { color: #8893a5; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-heading strong { display: block; margin-top: 2px; color: var(--navy-900); font-size: 13px; }
.progress-ring { position: relative; display: grid; flex: 0 0 48px; height: 48px; place-items: center; }
.progress-ring svg { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 4; }
.ring-track { stroke: #e8ecf2; }
.ring-value { stroke: var(--red-600); stroke-linecap: round; transition: stroke-dashoffset 180ms ease; }
.progress-ring span { position: relative; z-index: 1; color: var(--navy-800); font-size: 10px; letter-spacing: 0; }
.question-legend { display: flex; gap: 14px; padding: 0 21px 14px; color: #8490a2; border-bottom: 1px solid var(--line-soft); font-size: 9px; }
.question-legend span { display: flex; align-items: center; gap: 5px; }
.question-legend i { width: 7px; height: 7px; border-radius: 50%; }
.dot-current { background: var(--red-600); }
.dot-answered { background: var(--green); }
.question-nav { flex: 1; overflow-y: auto; padding: 8px 10px; scrollbar-width: thin; }
.nav-section-divider { display: flex; align-items: center; gap: 8px; padding: 13px 7px 7px; color: #8a95a7; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-section-divider::before, .nav-section-divider::after { content: ""; flex: 1; height: 1px; background: #e1e6ee; }
.question-nav button { position: relative; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; width: 100%; min-height: 58px; gap: 9px; padding: 8px 9px; color: #667389; background: transparent; border: 0; border-radius: 8px; cursor: pointer; text-align: left; }
.question-nav button:hover { background: #f6f8fb; }
.question-nav button.current { color: var(--navy-900); background: var(--red-50); }
.question-nav button.current::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: -10px; width: 3px; background: var(--red-600); border-radius: 0 3px 3px 0; }
.question-number { display: grid; width: 31px; height: 31px; place-items: center; color: #718098; background: #f0f3f7; border-radius: 7px; font-size: 10px; font-weight: 800; }
.current .question-number { color: white; background: var(--red-600); }
.question-nav-copy { min-width: 0; }
.question-nav-copy strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.question-nav-copy small { display: block; overflow: hidden; margin-top: 1px; color: #9aa4b3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.answered-check { opacity: 0; display: grid; width: 17px; height: 17px; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 9px; font-weight: 900; }
.answered .answered-check { opacity: 1; }
.sidebar-note { display: flex; gap: 9px; margin: 10px; padding: 12px; color: #6e7a8e; background: #f4f7fa; border-radius: 8px; font-size: 9px; }
.sidebar-note svg { flex: 0 0 auto; width: 17px; color: var(--green); }
.question-workspace { min-width: 0; overflow-y: auto; padding: 42px clamp(32px, 6vw, 90px) 70px; scroll-behavior: smooth; }
.question-panel { display: none; width: min(100%, 980px); margin: 0 auto; animation: question-in 170ms ease-out; }
.question-panel.active { display: block; }
@keyframes question-in { from { opacity: 0; transform: translateY(4px); } }
.section-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--red-600); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-divider span { height: 1px; background: linear-gradient(90deg, transparent, #d7dde7); }
.section-divider span:last-child { background: linear-gradient(90deg, #d7dde7, transparent); }
.exam-locked-banner { width: min(100%, 980px); margin: 0 auto 24px; padding: 12px 16px; color: #884014; background: #fff5e9; border: 1px solid #f1d4b4; border-radius: 9px; font-weight: 700; }
.question-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.question-topline > div { display: flex; align-items: center; gap: 9px; color: #7e8a9d; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.question-topline i { width: 3px; height: 3px; background: #a6afbd; border-radius: 50%; }
.points-badge { padding: 5px 10px; color: var(--navy-700); background: #eaf0f9; border-radius: 999px; font-size: 10px; font-weight: 800; }
.question-panel > h1 { margin: 12px 0 23px; color: var(--navy-900); font-size: clamp(29px, 4vw, 41px); line-height: 1.13; letter-spacing: -.04em; }
.scenario-box { padding: 16px 18px; color: #42506a; background: linear-gradient(90deg, #f6f8fc, #fafbfd); border-left: 3px solid var(--navy-600); border-radius: 0 8px 8px 0; }
.scenario-box strong { color: var(--navy-800); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.scenario-box p { margin: 4px 0 0; font-size: 13px; }
.task-copy { margin: 25px 0 17px; }
.task-copy h2, .answer-heading h2 { margin: 0 0 4px; color: var(--navy-900); font-size: 16px; }
.task-copy p { margin: 0; color: #4e5b70; font-size: 14px; line-height: 1.7; }
.code-block-wrap { overflow: hidden; background: var(--code); border: 1px solid #1c2a41; border-radius: 10px; box-shadow: 0 10px 22px rgba(5,18,43,.1); }
.code-toolbar, .editor-toolbar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; color: #9ba8ba; background: #121c2c; border-bottom: 1px solid #233047; font-size: 10px; font-weight: 700; }
.language-pill { padding: 3px 7px; color: #bdc9da; background: #253248; border-radius: 4px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.code-block-wrap pre, .review-answer-block pre, .starter-reference pre { max-height: 380px; margin: 0; padding: 18px; overflow: auto; color: #d8e1ed; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.65; tab-size: 2; white-space: pre; }
.answer-section { margin-top: 27px; }
.answer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.answer-heading p { margin: 0; color: #8994a5; font-size: 11px; }
.question-save-state { flex: 0 0 auto; color: #6d798d; font-size: 10px; font-weight: 700; }
.question-save-state.error { color: #a51d35; }
.editor-shell { overflow: hidden; background: white; border: 1px solid #cbd4e1; border-radius: 10px; box-shadow: var(--shadow-sm); }
.editor-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; height: 39px; background: #f2f4f8; border-color: #d9e0e9; }
.editor-toolbar > span { display: flex; gap: 5px; }
.editor-toolbar i { width: 8px; height: 8px; background: #c4ccd8; border-radius: 50%; }
.editor-toolbar i:first-child { background: #e96671; }
.editor-toolbar i:nth-child(2) { background: #e2b13a; }
.editor-toolbar i:nth-child(3) { background: #46af77; }
.editor-toolbar strong { color: #566277; font-size: 10px; }
.editor-toolbar small { justify-self: end; color: #929cad; font-size: 8px; }
.answer-editor { display: block; width: 100%; min-height: 390px; padding: 19px; resize: vertical; color: #dbe5f2; caret-color: white; background: #0d1625; border: 0; outline: 0; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.65; tab-size: 2; }
.answer-editor:disabled { color: #aab5c4; background: #17202e; }
.editor-footer { display: flex; justify-content: space-between; padding: 7px 12px; color: #8792a3; background: #f5f7fa; border-top: 1px solid #dce2ea; font-size: 8px; }
.editor-footer kbd { padding: 1px 4px; background: white; border: 1px solid #d0d7e1; border-bottom-width: 2px; border-radius: 3px; font-family: inherit; }
.question-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.question-actions .button { min-width: 132px; }
.mcq-answer-section { margin-top: 28px; }
.mcq-options { display: grid; gap: 11px; }
.mcq-option { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 22px; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; color: #445169; background: white; border: 1px solid #d9e0e9; border-radius: 10px; cursor: pointer; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease; }
.mcq-option:hover { transform: translateY(-1px); border-color: #aebbd0; box-shadow: var(--shadow-sm); }
.mcq-option:has(input:checked) { color: var(--navy-900); background: #fff6f8; border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(215,25,63,.08); }
.mcq-option:has(input:focus-visible) { outline: 3px solid rgba(215,25,63,.2); outline-offset: 2px; }
.mcq-option:has(input:disabled) { cursor: default; }
.mcq-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.option-letter { display: grid; width: 38px; height: 38px; place-items: center; color: var(--navy-700); background: #eef2f8; border-radius: 8px; font-size: 12px; font-weight: 850; }
.mcq-option:has(input:checked) .option-letter { color: white; background: var(--red-600); }
.option-text { font-size: 13px; font-weight: 650; line-height: 1.45; }
.option-indicator { position: relative; width: 18px; height: 18px; border: 2px solid #b9c3d1; border-radius: 50%; }
.mcq-option:has(input:checked) .option-indicator { border-color: var(--red-600); }
.mcq-option:has(input:checked) .option-indicator::after { content: ""; position: absolute; inset: 3px; background: var(--red-600); border-radius: 50%; }
.submit-modal-card { text-align: center; }
.submit-modal-card .modal-icon { margin-inline: auto; }
.success-icon { color: var(--green); background: var(--green-50); border-color: #ccecdf; font-size: 23px; font-weight: 800; }
.confirmation-check { display: flex; gap: 10px; margin: 22px 0; padding: 13px; color: #4d5a70; background: #f6f8fb; border-radius: 8px; text-align: left; font-size: 12px; cursor: pointer; }
.confirmation-check input { flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--green); }
.modal-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }

/* Results */
.admin-page { min-height: calc(100vh - 76px); }
.admin-hero { color: white; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.admin-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 225px; padding-block: 38px; }
.admin-hero h1 { margin: 7px 0 5px; font-size: 43px; letter-spacing: -.04em; }
.admin-hero p { margin: 0; color: rgba(255,255,255,.65); }
.admin-content { padding-block: 40px 80px; }
.result-filters { display: flex; gap: 10px; margin-bottom: 18px; }
.search-input { position: relative; flex: 1; max-width: 430px; }
.search-input svg { position: absolute; top: 13px; left: 13px; width: 20px; color: #8793a5; }
.result-filters .search-input input { padding-left: 43px; }
.result-filters input, .result-filters select { height: 44px; }
.result-filters select { width: 175px; }
.results-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm); }
.results-card-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 23px; border-bottom: 1px solid var(--line); }
.results-card-header h2 { margin: 0; color: var(--navy-900); font-size: 19px; }
.results-card-header p { margin: 2px 0 0; color: #8a95a6; font-size: 11px; }
.live-indicator { display: flex; align-items: center; gap: 7px; color: #5f6c80; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }
.results-table { width: 100%; border-collapse: collapse; }
.results-table th { padding: 11px 17px; color: #778397; background: #f7f8fb; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.results-table td { padding: 15px 17px; color: #4a586f; border-bottom: 1px solid var(--line-soft); font-size: 12px; vertical-align: middle; }
.results-table tbody tr:last-child td { border-bottom: 0; }
.results-table tbody tr:hover { background: #fbfcfe; }
.candidate-cell { display: flex; align-items: center; gap: 11px; min-width: 180px; }
.candidate-cell > span, .candidate-title > span { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: white; background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); border-radius: 9px; font-weight: 800; }
.candidate-cell strong, .results-table td > strong { display: block; color: var(--navy-900); }
.candidate-cell small, .table-subcopy { display: block; color: #929cac; font-size: 9px; }
.table-progress { display: flex; align-items: center; gap: 8px; min-width: 100px; }
.table-progress progress { width: 65px; height: 5px; overflow: hidden; appearance: none; background: #e7ebf1; border: 0; border-radius: 9px; }
.table-progress progress::-webkit-progress-bar { background: #e7ebf1; }
.table-progress progress::-webkit-progress-value { background: var(--red-600); }
.table-progress progress::-moz-progress-bar { background: var(--red-600); }
.table-progress strong { font-size: 10px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.status-badge i { width: 6px; height: 6px; border-radius: 50%; }
.status-submitted { color: #126546; background: #e9f7f1; }
.status-submitted i { background: #1a9c6d; }
.status-in_progress { color: #8a5511; background: #fff5df; }
.status-in_progress i { background: #da952d; animation: pulse 1.5s infinite; }
.status-closed { color: #657187; background: #eef1f5; }
.status-closed i { background: #7e8999; }
.status-badge.large { padding: 7px 12px; font-size: 10px; }
.row-action { color: var(--red-600); font-size: 11px; font-weight: 800; white-space: nowrap; }
.row-action:hover { color: var(--red-700); }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-icon { display: grid; width: 55px; height: 55px; margin: 0 auto 15px; place-items: center; color: var(--navy-600); background: #eef2f8; border-radius: 50%; }
.empty-icon svg { width: 25px; }
.empty-state h3 { margin: 0; color: var(--navy-900); }
.empty-state p { margin: 4px 0 0; color: var(--muted); }

/* Result detail */
.result-detail-hero { padding: 28px 0 30px; color: white; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.breadcrumb-link { display: inline-block; margin-bottom: 24px; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 650; }
.breadcrumb-link:hover { color: white; }
.result-title-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.candidate-title { display: flex; align-items: center; gap: 17px; }
.candidate-title > span { flex-basis: 58px; height: 58px; color: var(--navy-900); background: white; border-radius: 13px; font-size: 24px; }
.candidate-title h1 { margin: 3px 0 0; font-size: 34px; line-height: 1.1; letter-spacing: -.035em; }
.candidate-title p { margin: 3px 0 0; color: rgba(255,255,255,.62); font-size: 12px; }
.result-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 27px; overflow: hidden; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.result-meta-grid div { padding: 13px 15px; background: rgba(255,255,255,.055); }
.result-meta-grid small { display: block; color: rgba(255,255,255,.48); font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.result-meta-grid strong { display: block; margin-top: 2px; font-size: 11px; }
.result-review-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 35px 80px; }
.review-index { position: sticky; top: 96px; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-sm); }
.review-index > strong { display: block; margin-bottom: 10px; color: var(--navy-900); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.review-index nav { max-height: 480px; overflow-y: auto; }
.review-index nav a { display: grid; grid-template-columns: 27px 1fr 15px; gap: 7px; align-items: center; padding: 7px; color: #68758a; border-radius: 6px; font-size: 10px; }
.review-index nav a:hover { background: #f5f7fa; }
.review-index nav a > span { display: grid; width: 25px; height: 25px; place-items: center; background: #edf0f5; border-radius: 5px; font-size: 8px; font-weight: 800; }
.review-index nav a em { overflow: hidden; font-style: normal; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.review-index nav a i { color: #9aa4b4; font-style: normal; }
.review-index nav a.has-response i { color: var(--green); }
.review-index .print-button { margin-top: 15px; min-height: 38px; font-size: 11px; }
.review-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.review-intro h2 { margin: 0; color: var(--navy-900); font-size: 26px; }
.review-intro p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.review-intro > span { padding: 6px 10px; color: var(--navy-700); background: #eaf0f9; border-radius: 999px; font-size: 10px; font-weight: 800; }
.review-card { margin-bottom: 17px; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); scroll-margin-top: 95px; }
.review-question-header { display: flex; gap: 12px; align-items: center; }
.review-number { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: white; background: var(--navy-800); border-radius: 8px; font-size: 11px; font-weight: 800; }
.review-question-header small { color: #8b96a7; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.review-question-header h3 { margin: 1px 0 0; color: var(--navy-900); font-size: 18px; }
.review-task { margin: 17px 0; padding: 12px 14px; color: #516077; background: #f6f8fb; border-radius: 7px; }
.review-task strong { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.review-task p { margin: 2px 0 0; font-size: 12px; }
.review-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: -5px 0 16px; }
.review-options > div { display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: #fafbfc; border: 1px solid #e1e6ed; border-radius: 7px; }
.review-options span { display: grid; flex: 0 0 24px; height: 24px; place-items: center; color: var(--navy-700); background: #eaf0f8; border-radius: 5px; font-size: 9px; font-weight: 850; }
.review-options p { margin: 0; color: #58667b; font-size: 10px; line-height: 1.4; }
.review-answer-block { overflow: hidden; background: var(--code); border-radius: 9px; }
.review-block-title { display: flex; justify-content: space-between; gap: 15px; padding: 10px 14px; color: #a7b3c4; background: #131d2e; border-bottom: 1px solid #273349; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.review-block-title small { font-size: 8px; font-weight: 500; text-transform: none; }
.review-answer-block pre { max-height: 530px; white-space: pre-wrap; overflow-wrap: anywhere; }
.no-answer { padding: 24px; color: #8794a7; font-size: 12px; font-style: italic; }
.answer-guide { margin-top: 13px; border: 1px solid #d8e0eb; border-radius: 8px; }
.answer-guide summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; color: var(--navy-700); cursor: pointer; font-size: 11px; font-weight: 800; list-style: none; }
.answer-guide summary::-webkit-details-marker { display: none; }
.answer-guide[open] .details-icon { transform: rotate(45deg); }
.details-icon { font-size: 18px; transition: transform 150ms ease; }
.answer-guide > div { padding: 0 13px 13px; color: #59667a; border-top: 1px solid var(--line-soft); font-size: 12px; }
.answer-guide p { margin: 12px 0; }
.starter-reference strong { display: block; margin-bottom: 5px; color: #7b8799; font-size: 8px; text-transform: uppercase; }
.starter-reference pre { max-height: 260px; color: #ced9e7; background: var(--code); border-radius: 7px; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 36px; padding: 22px; background: #fffafb; border: 1px solid #f1ccd3; border-radius: 11px; }
.danger-zone h2 { margin: 3px 0; color: #7d1830; font-size: 19px; }
.danger-zone p { margin: 0; color: #8b6570; font-size: 11px; }
.danger-zone details { position: relative; }
.danger-zone summary { list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone form { position: absolute; z-index: 10; right: 0; top: calc(100% + 10px); width: 330px; padding: 16px; background: white; border: 1px solid #efc4cd; border-radius: 9px; box-shadow: var(--shadow-md); }
.danger-zone form label { display: block; margin-bottom: 8px; color: #5f4050; font-size: 11px; }
.danger-zone form input { height: 41px; margin-bottom: 9px; }
.danger-zone form .button { width: 100%; }

/* Completion */
.completion-page { display: grid; min-height: calc(100vh - 76px); padding: 50px 20px; place-items: center; background: radial-gradient(circle at 50% 0, #e8edf6, transparent 40%), var(--surface-alt); }
.completion-card { width: min(100%, 720px); padding: 46px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); text-align: center; }
.completion-mark { display: grid; width: 76px; height: 76px; margin: 0 auto 22px; place-items: center; background: var(--green-50); border: 1px solid #cbeadd; border-radius: 50%; }
.completion-mark span { display: grid; width: 47px; height: 47px; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 25px; font-weight: 800; }
.completion-card h1 { margin: 7px 0 8px; color: var(--navy-900); font-size: 36px; letter-spacing: -.04em; }
.completion-card > p { margin: 0; color: var(--muted); }
.completion-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 30px 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 10px; text-align: left; }
.completion-summary div { padding: 14px 16px; background: #f8f9fc; }
.completion-summary small { display: block; color: #8b96a7; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.completion-summary strong { display: block; margin-top: 2px; color: var(--navy-800); font-size: 12px; }
.completion-actions { display: flex; justify-content: center; gap: 10px; }

@media (max-width: 1080px) {
  .exam-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-hero-content { display: block; }
  .hero-stat-panel { width: min(100%, 560px); min-width: 0; margin-top: 30px; }
  .exam-header { grid-template-columns: 1fr 1fr; }
  .exam-header-center { display: none; }
  .question-sidebar { width: 265px; }
  .exam-layout { grid-template-columns: 265px minmax(0, 1fr); }
  .question-workspace { padding-inline: 35px; }
}

@media (max-width: 860px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-brand-panel { display: none; }
  .login-form-panel { display: flex; padding: 40px 22px 60px; }
  .login-card { margin-inline: auto; }
  .form-login-logo { width: min(240px, 72%); margin-bottom: 34px; }
  .brand-link img { width: 190px; }
  .exam-layout { grid-template-columns: 1fr; }
  .question-sidebar { position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; width: auto; height: 77px; display: block; border-top: 1px solid var(--line); border-right: 0; }
  .sidebar-heading, .question-legend, .sidebar-note { display: none; }
  .question-nav { display: flex; gap: 5px; padding: 8px 10px; overflow-x: auto; }
  .question-nav button { flex: 0 0 48px; display: block; min-height: 48px; padding: 7px; text-align: center; }
  .nav-section-divider { flex: 0 0 24px; justify-content: center; padding: 5px 0; }
  .nav-section-divider span, .nav-section-divider::after { display: none; }
  .nav-section-divider::before { flex: 0 0 1px; width: 1px; height: 34px; background: #cfd6e1; }
  .question-nav button.current::before { top: auto; right: 8px; bottom: -8px; left: 8px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .question-nav-copy { display: none; }
  .answered-check { position: absolute; top: 3px; right: 2px; width: 14px; height: 14px; }
  .question-number { margin: auto; }
  .question-workspace { padding-bottom: 110px; }
  .result-review-layout { grid-template-columns: 1fr; }
  .review-index { position: static; }
  .review-index nav { display: grid; grid-template-columns: repeat(2, 1fr); max-height: none; }
  .result-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { height: 68px; }
  .brand-link img { width: 155px; }
  .portal-name, .brand-divider { display: none; }
  .primary-nav > a, .nav-signout { padding: 7px 8px; font-size: 12px; }
  .dashboard-hero-content { min-height: 0; padding-block: 45px; }
  .dashboard-hero h1 { font-size: 42px; }
  .hero-stat-panel { grid-template-columns: 1fr; }
  .hero-stat-panel > div { padding: 12px 17px; text-align: left; }
  .hero-stat-panel > div + div { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .hero-stat-panel strong, .hero-stat-panel span { display: inline; }
  .hero-stat-panel span { margin-left: 8px; }
  .section-heading-row { display: block; }
  .text-link { display: inline-block; margin-top: 14px; }
  .exam-grid { grid-template-columns: 1fr; }
  .exam-card { min-height: 310px; }
  .modal-card { padding: 28px 21px; }
  .exam-header { grid-template-columns: 1fr auto; height: 68px; padding: 0 13px; }
  .exam-brand img { width: 146px; }
  .exam-brand > span, .exam-brand strong, .save-state { display: none; }
  .exam-header-actions { gap: 0; }
  .question-workspace { padding: 28px 15px 110px; }
  .question-panel > h1 { font-size: 30px; }
  .question-topline > div span:nth-of-type(2) { display: none; }
  .answer-editor { min-height: 330px; }
  .editor-toolbar { grid-template-columns: 1fr auto; }
  .editor-toolbar small { display: none; }
  .question-actions .button { min-width: 0; padding-inline: 12px; }
  .mcq-option { grid-template-columns: 38px minmax(0, 1fr) 20px; gap: 10px; padding: 11px 12px; }
  .option-letter { width: 34px; height: 34px; }
  .review-options { grid-template-columns: 1fr; }
  .modal-actions { grid-template-columns: 1fr; }
  .admin-hero-inner { display: block; }
  .admin-hero .button { margin-top: 22px; }
  .result-filters { flex-wrap: wrap; }
  .search-input { flex-basis: 100%; max-width: none; }
  .result-filters select { flex: 1; }
  .result-title-row { align-items: flex-end; }
  .candidate-title h1 { font-size: 27px; }
  .candidate-title > span { display: none; }
  .result-meta-grid { grid-template-columns: 1fr; }
  .review-index nav { grid-template-columns: 1fr; }
  .review-card { padding: 16px; }
  .review-block-title { display: block; }
  .review-block-title small { display: block; margin-top: 3px; }
  .danger-zone { align-items: stretch; flex-direction: column; }
  .danger-zone form { position: static; width: 100%; margin-top: 10px; }
  .completion-card { padding: 35px 20px; }
  .completion-summary { grid-template-columns: 1fr; }
  .completion-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .result-detail-hero .breadcrumb-link, .review-index, .danger-zone { display: none !important; }
  body { background: white; }
  .result-detail-hero { padding: 20px 0; color: black; background: white; border-bottom: 2px solid #222; }
  .section-kicker.light, .candidate-title p, .result-meta-grid small { color: #555; }
  .candidate-title > span { color: white; background: #222; }
  .result-meta-grid { color: black; background: #ddd; border-color: #ddd; }
  .result-meta-grid div { background: white; }
  .result-review-layout { display: block; padding: 20px 0; }
  .review-card { break-inside: avoid; box-shadow: none; }
  .answer-guide { display: block; }
  .answer-guide > div { display: block; }
}
