/* Reference-led cyberpunk: ink, neon, technical grids and bold type. */
body.spectrum-ui {
    --lab-ink:#182923; --lab-muted:#43534c; --lab-edge:#becdc6;
    --lab-edge-bright:#007f50; --lab-neon:#006b42; --lab-pink:#a91d83; --lab-cyan:#006d86;
    --lab-blue:#285bd3; --lab-coral:#b2442e; --lab-amber:#805700; --lab-lime:#456500;
    --lab-surface:#fcfefd; --lab-header:rgba(248,252,250,.97);
    --hero-ink:#f1f4ef; --hero-muted:#c2cad6; --hero-neon:#00f58a; --hero-pink:#f351d7; --hero-cyan:#29ddf5;
    --hero-blue:#79aaff; --hero-coral:#ff987e; --hero-amber:#ffe078; --hero-lime:#b7fa76;
    --forest:var(--lab-ink); --forest-deep:var(--lab-ink); --dark:var(--lab-ink);
    --muted:var(--lab-muted); --olive:var(--lab-neon); --line:var(--lab-edge); --glass:var(--lab-surface);
    --radius:2px; --shadow:none;
    --reader-font:"Avenir Next","Segoe UI",Tahoma,Arial,system-ui,sans-serif;
    --terminal-font:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;
    background:#f0f4f2; color:var(--lab-ink);
    font-family:var(--reader-font);
    font-size:16px;
    line-height:1.75;
}
:root[data-theme="dark"] body.spectrum-ui {
    --lab-ink:#eef2f7; --lab-muted:#c4ccd7; --lab-edge:#303540;
    --lab-edge-bright:#00dc82; --lab-neon:#00f58a; --lab-pink:#f351d7; --lab-cyan:#29ddf5;
    --lab-blue:#79aaff; --lab-coral:#ff987e; --lab-amber:#ffe078; --lab-lime:#b7fa76;
    --lab-surface:#101118; --lab-header:rgba(8,9,13,.97);
    background:#08090d;
}
:root body.spectrum-ui::before {
    background:radial-gradient(ellipse at 0% 18%,rgba(72,139,255,.09),transparent 52%),radial-gradient(ellipse at 100% 48%,rgba(242,99,185,.075),transparent 48%),radial-gradient(ellipse at 55% 100%,rgba(255,174,85,.06),transparent 46%),linear-gradient(90deg,rgba(0,105,67,.035) 1px,transparent 1px),linear-gradient(rgba(0,105,67,.035) 1px,transparent 1px);
    background-size:100% 100%,100% 100%,100% 100%,64px 64px,64px 64px;
}
:root[data-theme="dark"] body.spectrum-ui::before {
    background:radial-gradient(ellipse at 0% 18%,rgba(58,122,255,.16),transparent 52%),radial-gradient(ellipse at 100% 48%,rgba(238,70,173,.13),transparent 48%),radial-gradient(ellipse at 55% 100%,rgba(255,161,80,.085),transparent 46%),linear-gradient(90deg,rgba(0,245,138,.03) 1px,transparent 1px),linear-gradient(rgba(0,245,138,.03) 1px,transparent 1px);
    background-size:100% 100%,100% 100%,100% 100%,64px 64px,64px 64px;
}
:root body.spectrum-ui .ambient-scene {display:none;}
:root body.spectrum-ui .ambient-wave {animation:none !important;}

/* The real school logo and native navigation anchor the terminal frame. */
:root body.spectrum-ui .site-header,
:root body.spectrum-ui.auth-layout .site-header {background:var(--lab-header);border-bottom:1px solid var(--lab-edge);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
:root body.spectrum-ui .brand-mark {border-radius:2px;border-color:var(--lab-edge);}
:root body.spectrum-ui .brand strong {font-family:"Arial Black","Avenir Next",Arial,sans-serif;font-weight:900;text-transform:uppercase;}
:root body.spectrum-ui .brand-dot {color:var(--lab-neon);}
:root body.spectrum-ui .main-nav > a {display:inline-flex;align-items:center;min-height:44px;border:1px solid transparent;border-radius:0;color:var(--lab-muted);font-family:var(--terminal-font);font-size:13px;letter-spacing:.2px;}
:root body.spectrum-ui .main-nav > a {--nav-accent:var(--lab-cyan);}
:root body.spectrum-ui .main-nav > a:nth-of-type(2) {--nav-accent:var(--lab-pink);}
:root body.spectrum-ui .main-nav > a:nth-of-type(3) {--nav-accent:var(--lab-blue);}
:root body.spectrum-ui .main-nav > a:nth-of-type(4) {--nav-accent:var(--lab-coral);}
:root body.spectrum-ui .main-nav > a:nth-of-type(5) {--nav-accent:var(--lab-amber);}
:root body.spectrum-ui .main-nav > a:nth-of-type(6) {--nav-accent:var(--lab-lime);}
:root body.spectrum-ui .main-nav > a:hover {background:transparent;color:var(--nav-accent);border-color:var(--nav-accent);}
:root body.spectrum-ui .main-nav > a[aria-current="page"] {color:var(--nav-accent);background:transparent;border-color:var(--nav-accent);box-shadow:inset 0 -2px 0 var(--nav-accent);}
:root body.spectrum-ui .school-year {border-radius:0;color:var(--lab-muted);border-color:var(--lab-edge);font-family:var(--terminal-font);}
:root body.spectrum-ui :focus-visible {outline:3px solid var(--lab-edge-bright);outline-offset:4px;}
:root body.spectrum-ui .site-footer {color:var(--lab-muted);font-size:12px;}

/* Uppercase interface titles; prose and case-sensitive project content stay natural. */
:root body.spectrum-ui :is(h1,h2,h3,h4,h5,h6,.action-title) {text-transform:uppercase;letter-spacing:normal;overflow-wrap:anywhere;}
:root body.spectrum-ui :is(.main-nav > a,.stat-label) {text-transform:uppercase;}
:root body.spectrum-ui .bilingual-review-answer .bilingual-en > .subtle,
:root body.spectrum-ui .bilingual-review-correct .bilingual-en > strong {text-transform:uppercase;}
:root body.spectrum-ui :is(h2,h3,h4,h5,h6,.action-title) {line-height:1.35;font-weight:750;}
:root body.spectrum-ui :is(.question h2,.bilingual-question h2,.file-name,pre,code,kbd,samp,input,select,textarea) {text-transform:none;}
:root body.spectrum-ui .question h2 {line-height:1.6;}
:root body.spectrum-ui .question h2.bilingual-ar {line-height:1.75;}
:root body.spectrum-ui .bilingual-ar :is(h2,h3,h4,h5,h6) {line-height:1.7;letter-spacing:normal;}
:root body.spectrum-ui :is(pre,code,kbd,samp) {font-family:var(--terminal-font);letter-spacing:normal;}
:root body.spectrum-ui :is(.muted,.subtle,small) {color:var(--lab-muted);}
:root body.spectrum-ui .subtle {font-size:14px;line-height:1.75;}
:root body.spectrum-ui .hero-description {font-size:16px;line-height:1.8;}
:root body.spectrum-ui small {font-size:13px;line-height:1.7;}
:root body.spectrum-ui :is(.text-link,.section-heading > a,.section-header > a,.hero-link) {font-size:14px;}
:root body.spectrum-ui :is(label,legend) {font-size:14px;color:var(--lab-ink);}
:root body.spectrum-ui :is(input,select,textarea,td input,td select,input[type="file"]) {font-size:16px;}
:root body.spectrum-ui :is(.check,.check-list,.upload-feedback,.upload-summary p,.empty-state,.action-description,.next-step p) {font-size:15px;line-height:1.75;}
:root body.spectrum-ui :is(.stat-label,.stat-detail,.leaderboard-meta,.leaderboard-basis,.leaderboard-note,.leaderboard-table .unranked-label) {font-size:14px;line-height:1.65;color:var(--lab-muted);}
:root body.spectrum-ui table {font-size:14px;line-height:1.7;}
:root body.spectrum-ui thead th {font-size:12px;letter-spacing:.5px;line-height:1.6;white-space:normal;}
:root body.spectrum-ui td {color:var(--lab-ink);}
:root body.spectrum-ui td label {font-size:13px;}
:root body.spectrum-ui :is(pre,td code) {font-size:13px;line-height:1.8;}
:root body.spectrum-ui :is(summary,.save-status,.selection-hint,.notice) {font-size:15px;line-height:1.7;}
:root body.spectrum-ui .selection-hint {color:var(--lab-muted);}
:root body.spectrum-ui .option {font-size:16px;line-height:1.75;}
:root body.spectrum-ui .bilingual-explanation p {line-height:1.85;}
:root body.spectrum-ui :is(.bilingual-ar,.bilingual-action-ar,.bilingual-legend-ar) {font-family:"Segoe UI",Tahoma,Arial,sans-serif;letter-spacing:normal;text-transform:none;}

/* Hard frames replace pastel glass. No clipping on interactive panels. */
:root body.spectrum-ui :is(.card,.action-card,.tile,.leaderboard-panel,.stat-strip,.stat-card) {
    background-color:var(--lab-surface);border-color:var(--lab-edge);border-radius:2px;box-shadow:none;
    backdrop-filter:none;-webkit-backdrop-filter:none;
    background-image:linear-gradient(90deg,var(--lab-cyan),var(--lab-blue),var(--lab-pink),var(--lab-coral),var(--lab-amber),var(--lab-lime)),linear-gradient(90deg,var(--lab-pink),var(--lab-cyan));
    background-position:0 0,100% 100%;background-size:100% 2px,48px 2px;background-repeat:no-repeat;
}
:root body.spectrum-ui a.action-card:hover {border-color:var(--lab-neon);transform:none;box-shadow:0 0 18px -12px var(--lab-neon);}
:root body.spectrum-ui :is(.card-icon,.action-icon,.empty-icon) {border-radius:0;}
:root body.spectrum-ui :is(.eyebrow,.page-eyebrow,.section-kicker,.lab-kicker):not(:lang(ar)) {font-family:var(--terminal-font);font-size:11px;letter-spacing:1.5px;color:var(--lab-neon);}
:root body.spectrum-ui .section-heading .section-kicker {color:var(--lab-cyan);}
:root body.spectrum-ui .action-card .section-kicker {color:var(--lab-pink);}
:root body.spectrum-ui :is(.lab-kicker,.lab-hero .eyebrow) {display:flex;align-items:center;gap:10px;}
.spectrum-ui .signal-dot {flex:0 0 6px;width:6px;height:6px;background:var(--hero-neon);box-shadow:0 0 10px rgba(0,245,138,.5);}

/* Black hero canvases match the reference even with a saved light preference. */
:root body.spectrum-ui :is(.lab-hero,.auth-aside) {
    color:var(--hero-ink);background-color:#090b10;
    background-image:linear-gradient(90deg,rgba(0,245,138,.085) 1px,transparent 1px),linear-gradient(rgba(0,245,138,.085) 1px,transparent 1px),radial-gradient(ellipse at 0% 0%,rgba(58,122,255,.13),transparent 48%),radial-gradient(ellipse at 100% 20%,rgba(243,81,215,.10),transparent 45%),radial-gradient(ellipse at 70% 100%,rgba(255,180,79,.065),transparent 48%);
    background-size:48px 48px,48px 48px,100% 100%,100% 100%,100% 100%;border:1px solid #303540;border-radius:2px;box-shadow:none;
}
:root body.spectrum-ui .lab-hero {min-height:440px;padding:clamp(28px,3.5vw,48px);gap:32px;align-items:center;}
:root body.spectrum-ui :is(.lab-hero,.auth-aside)::before,
:root body.spectrum-ui :is(.lab-hero,.auth-aside)::after {display:none;animation:none;}
:root body.spectrum-ui .hero-copy {flex:1 1 56%;min-width:0;}
:root body.spectrum-ui .lab-heading {max-width:760px;color:var(--hero-ink);font-family:"Arial Black","Avenir Next",Arial,sans-serif;font-size:clamp(60px,5.7vw,84px);font-weight:900;letter-spacing:-3px;line-height:.98;text-transform:uppercase;text-wrap:balance;margin-bottom:25px;}
:root body.spectrum-ui .hero-title-prefix {display:block;color:var(--hero-ink);text-shadow:-1px 0 rgba(0,245,138,.35),1px 0 rgba(243,81,215,.24);}
:root body.spectrum-ui .lab-heading :is(:lang(ar),bdi) {letter-spacing:normal;}
:root body.spectrum-ui :is(.lab-hero,.auth-aside) p:not(.eyebrow):not(.hero-kicker):not(.lab-kicker):not(.auth-signature) {max-width:580px;color:var(--hero-muted);font-size:16px;line-height:1.8;}
:root body.spectrum-ui :is(.lab-hero,.auth-aside) .lab-kicker {color:var(--hero-neon);}
:root body.spectrum-ui .lab-hero .hero-link {color:var(--hero-ink);text-decoration-color:var(--hero-pink);}
:root body.spectrum-ui .hero-actions {margin-top:24px;gap:18px;}
:root body.spectrum-ui .lab-hero :focus-visible {outline-color:var(--hero-neon);}

.spectrum-ui .retro-text {position:relative;display:inline-block;max-width:100%;vertical-align:baseline;}
.spectrum-ui .retro-source {position:relative;display:block;}
:root body.spectrum-ui .spectrum-text {color:var(--hero-neon);}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
    :root body.spectrum-ui .spectrum-text {
        background-image:repeating-linear-gradient(0deg,rgba(5,7,10,.20) 0 1px,transparent 1px 4px),linear-gradient(112deg,#80ffb1 0%,#4ae1ff 18%,#7da8ff 35%,#ff78db 52%,#ff987e 69%,#ffe078 84%,#b7fa76 100%);
        background-size:100% 4px,110% 100%;background-position:0% 50%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
        animation:spectrum-drift 16s ease-in-out infinite alternate;
    }
}
.spectrum-ui .retro-echo {position:absolute;inset:0;pointer-events:none;user-select:none;opacity:0;color:var(--hero-pink);-webkit-text-fill-color:currentColor;animation:none;}
.spectrum-ui .retro-echo-cyan {color:var(--hero-cyan);}
:root[data-motion="running"] body.spectrum-ui .retro-echo-pink {animation:retro-slice-top 7.5s steps(1,end) infinite;}
:root[data-motion="running"] body.spectrum-ui .retro-echo-cyan {animation:retro-slice-bottom 7.5s steps(1,end) infinite;}
:root[data-motion="running"] body.spectrum-ui .retro-echo {animation-delay:-4.5s;}

/* A large angular HUD replaces the small floating illustration. */
:root body.spectrum-ui .lab-console.hero-art {
    position:relative;display:flex;flex-direction:column;align-items:stretch;flex:0 0 35%;width:35%;min-width:285px;height:338px;margin:0;padding:15px;
    border:1px solid #30343f;border-radius:0;background:#0c0d15;box-shadow:inset 0 0 0 7px #0a0b11;transform:none;
    clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
}
.spectrum-ui .console-bar {display:flex;align-items:center;gap:6px;width:100%;min-height:28px;border-bottom:1px solid #292d37;}
.spectrum-ui .console-lights {display:flex;align-items:center;gap:5px;}
.spectrum-ui .console-dot {width:5px;height:5px;border-radius:50%;background:#ff5c68;}
.spectrum-ui .console-dot:nth-child(2) {background:#f5c043;}
.spectrum-ui .console-dot:nth-child(3) {background:var(--hero-neon);}
.spectrum-ui .console-caption {margin-inline-start:auto;}
.spectrum-ui :is(.console-caption,.console-footer,.hud-caption) {color:var(--hero-neon);font:9px/1.5 ui-monospace,monospace;letter-spacing:1.5px;text-transform:uppercase;}
.spectrum-ui .console-caption {color:var(--hero-pink);}
.spectrum-ui .console-symbol {color:var(--hero-cyan);font:12px/1 ui-monospace,monospace;}
.spectrum-ui .console-viewport {flex:1 1 auto;width:100%;min-height:0;padding:13px 0;}
.spectrum-ui .hud-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;height:100%;}
.spectrum-ui .hud-tile {position:relative;display:flex;flex-direction:column;align-items:center;min-height:0;overflow:hidden;padding:8px 12px;border:1px solid #303340;color:var(--hero-amber);background:linear-gradient(135deg,rgba(255,224,120,.045),transparent 70%),#11121c;}
.spectrum-ui .hud-tile::before,.spectrum-ui .hud-tile::after {content:"";position:absolute;width:15px;height:15px;pointer-events:none;border-color:currentColor;border-style:solid;}
.spectrum-ui .hud-tile::before {inset:-1px auto auto -1px;border-width:2px 0 0 2px;}
.spectrum-ui .hud-tile::after {inset:auto -1px -1px auto;border-width:0 2px 2px 0;}
.spectrum-ui .hud-wide {grid-column:1 / -1;color:var(--hero-blue);background:linear-gradient(135deg,rgba(121,170,255,.075),transparent 70%),#11121c;}
.spectrum-ui .hud-tile:last-child {color:var(--hero-coral);background:linear-gradient(135deg,rgba(255,152,126,.065),transparent 70%),#11121c;}
.spectrum-ui .hud-caption {align-self:flex-start;color:inherit;font-size:8px;}
.spectrum-ui .hud-icon {flex:1 1 auto;width:100%;min-height:0;max-height:100px;}
.spectrum-ui .console-footer {display:flex;justify-content:space-between;gap:6px;width:100%;padding-top:8px;border-top:1px solid #292d37;color:#9ba3b3;font-size:8px;letter-spacing:.6px;}
.spectrum-ui .console-cursor {color:var(--hero-lime);animation:none;}
:root[data-motion="running"] body.spectrum-ui .console-cursor {animation:terminal-cursor 1.6s step-end infinite;}

/* Native controls keep readable labels, focus and useful hit areas. */
:root body.spectrum-ui :is(button,.button) {min-height:44px;border-radius:0;font-family:var(--terminal-font);font-size:14px;font-weight:650;letter-spacing:.3px;box-shadow:none;}
:root body.spectrum-ui .nav-toggle {min-width:44px;}
:root body.spectrum-ui :is(button,.button):not(.secondary):not(.danger):not(.theme-toggle):not(.nav-toggle):not(.signout-button) {background:var(--lab-neon);color:var(--lab-surface);border:1px solid var(--lab-neon);box-shadow:0 0 18px -12px var(--lab-neon);}
:root[data-theme="dark"] body.spectrum-ui :is(button,.button):not(.secondary):not(.danger):not(.theme-toggle):not(.nav-toggle):not(.signout-button) {color:#06110b;}
:root body.spectrum-ui :is(button,.button):not(.secondary):not(.danger):not(.theme-toggle):not(.nav-toggle):not(.signout-button):hover {filter:brightness(1.12);}
:root body.spectrum-ui :is(button,.button).secondary {background:transparent;color:var(--lab-ink);border-color:var(--lab-edge);border-radius:0;box-shadow:none;}
:root body.spectrum-ui :is(button,.button).secondary:hover {color:var(--lab-neon);border-color:var(--lab-neon);background:transparent;}
:root body.spectrum-ui .lab-hero .hero-actions .button {color:var(--hero-neon);background:#090b10;border-color:var(--hero-neon);}
:root body.spectrum-ui .lab-hero .hero-actions .button:hover {color:#06110b;background:var(--hero-neon);}
:root body.spectrum-ui :is(input,select,textarea) {border-radius:0;}
:root[data-theme="dark"] body.spectrum-ui :is(input,select,textarea) {background:#0b0c13;border-color:#414652;color:#e5e9e7;}
:root[data-theme="dark"] body.spectrum-ui :is(input,select,textarea):focus {background:#10151a;border-color:var(--lab-neon);outline-color:rgba(0,245,138,.35);}
:root[data-theme="dark"] body.spectrum-ui th {background:#171922;color:#c6d9d1;}
:root body.spectrum-ui input.code-input {font-family:var(--terminal-font);font-size:22px;letter-spacing:3px;}
:root body.spectrum-ui :is(.table-wrap,.table-scroll,.next-step,.test-header) {border-radius:2px;}
:root body.spectrum-ui :is(.question,.review-question,.bilingual-pair) {font-family:"Avenir Next","Segoe UI",system-ui,sans-serif;}
:root body.spectrum-ui .question h2 {font-family:inherit;}

/* A wider terminal composition follows the reference's 60/40 split. */
:root body.spectrum-ui .auth-shell {max-width:1320px;grid-template-columns:minmax(0,1.4fr) minmax(320px,.9fr);border:1px solid var(--lab-edge);border-radius:2px;background:var(--lab-surface);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
:root body.spectrum-ui .auth-aside.lab-hero {min-height:0;margin:0;padding:clamp(28px,3.6vw,50px);gap:0;align-items:stretch;border:0;border-inline-end:1px solid #303540;border-radius:0;}
:root body.spectrum-ui .auth-aside .lab-heading {max-width:720px;font-size:clamp(60px,5.8vw,84px);line-height:.98;}
:root body.spectrum-ui .auth-aside .lab-console {width:100%;max-width:470px;min-width:0;height:225px;flex-basis:auto;align-self:stretch;margin:25px 0 0;}
:root body.spectrum-ui .auth-aside .hud-grid {grid-template-columns:1.2fr 1fr 1fr;gap:10px;}
:root body.spectrum-ui .auth-aside .hud-wide {grid-column:auto;}
:root body.spectrum-ui .auth-aside .hud-tile {padding:8px;}
:root body.spectrum-ui .auth-panel {align-self:center;padding:clamp(28px,3.6vw,50px);border-radius:2px;background:var(--lab-surface);}
:root body.spectrum-ui .auth-panel > .muted {font-size:16px;line-height:1.75;}
:root body.spectrum-ui .auth-panel > .subtle {font-size:14px;line-height:1.75;}
:root body.spectrum-ui .auth-signature {color:var(--hero-neon);margin-top:24px;font-family:var(--terminal-font);letter-spacing:1.5px;}

@keyframes spectrum-drift {from {background-position:0% 50%;}to {background-position:85% 50%;}}
@keyframes retro-slice-top {
    0%,82%,89%,100% {opacity:0;transform:none;clip-path:inset(20% 0 65%);}
    83%,85% {opacity:.9;transform:translate(-6px,0);clip-path:inset(20% 0 65%);}
    86%,88% {opacity:.9;transform:translate(5px,0);clip-path:inset(45% 0 42%);}
}
@keyframes retro-slice-bottom {
    0%,82%,89%,100% {opacity:0;transform:none;clip-path:inset(65% 0 20%);}
    83%,85% {opacity:.85;transform:translate(6px,0);clip-path:inset(65% 0 20%);}
    86%,88% {opacity:.85;transform:translate(-5px,0);clip-path:inset(70% 0 16%);}
}
@keyframes terminal-cursor {0%,100% {opacity:1;}50% {opacity:0;}}
:root:not([data-motion="running"]) body.spectrum-ui :is(.spectrum-text,.retro-echo,.console-cursor) {animation:none !important;}
@media (max-width:1280px) {
    :root body.spectrum-ui .header-inner {flex-wrap:wrap;}
    :root body.spectrum-ui .main-nav {order:3;width:100%;flex-wrap:wrap;gap:8px;}
    :root body.spectrum-ui .nav-enhanced .nav-toggle {display:inline-flex;align-items:center;margin:0;}
    :root body.spectrum-ui .nav-enhanced .main-nav {display:none;}
    :root body.spectrum-ui .nav-enhanced.is-nav-open .main-nav {display:flex;}
}
@media (max-width:1120px) {
    :root body.spectrum-ui .main-nav > a {font-size:12px;}
    :root body.spectrum-ui .lab-console.hero-art {flex-basis:32%;width:32%;min-width:240px;height:300px;}
    :root body.spectrum-ui .lab-heading,:root body.spectrum-ui .auth-aside .lab-heading {font-size:60px;}
    :root body.spectrum-ui .auth-aside .lab-console {width:100%;min-width:0;height:200px;}
}
@media (max-width:760px) {
    :root body.spectrum-ui .nav-toggle {width:44px;padding:10px;justify-content:center;}
    :root body.spectrum-ui .nav-toggle span {display:none;}
    :root body.spectrum-ui .lab-hero {padding:28px 24px;min-height:0;gap:0;}
    :root body.spectrum-ui .lab-heading,:root body.spectrum-ui .auth-aside .lab-heading {font-size:clamp(36px,8.8vw,58px);line-height:1.02;letter-spacing:-1.5px;overflow-wrap:anywhere;}
    :root body.spectrum-ui .lab-console.hero-art {display:none;}
    :root body.spectrum-ui .auth-shell {display:grid;grid-template-columns:minmax(0,1fr);border-radius:2px;}
    :root body.spectrum-ui .auth-aside.lab-hero {padding:28px 24px;border-inline-end:0;border-bottom:1px solid #303540;}
    :root body.spectrum-ui .auth-panel {padding:28px 24px;}
    :root body.spectrum-ui :is(.card,.action-card,.tile,.leaderboard-panel,.stat-strip,.stat-card) {border-radius:2px;}
    :root body.spectrum-ui .hero-actions {margin-top:22px;}
    :root body.spectrum-ui :is(.question h2.bilingual-en,.bilingual-summary .bilingual-en) {font-size:18px;line-height:1.65;}
}
@media (prefers-reduced-motion:reduce) {
    :root body.spectrum-ui :is(.spectrum-text,.retro-echo,.console-cursor) {animation:none !important;}
    :root body.spectrum-ui .retro-echo {display:none;}
}
@media (prefers-contrast:more) {
    body.spectrum-ui {--lab-edge:#5a7566;--lab-muted:#294839;}
    :root[data-theme="dark"] body.spectrum-ui {--lab-edge:#a1c6af;--lab-muted:#e1e9e4;}
    :root body.spectrum-ui .spectrum-text {color:var(--hero-ink);background:none !important;-webkit-text-fill-color:currentColor;animation:none !important;}
    :root body.spectrum-ui :is(.lab-hero,.auth-aside) {background-image:none;}
    :root body.spectrum-ui::before {background:none !important;}
    :root body.spectrum-ui .retro-echo {display:none;animation:none !important;}
    :root body.spectrum-ui .console-cursor {animation:none !important;}
}
@media (forced-colors:active) {
    :root body.spectrum-ui::before {background:none !important;}
    :root body.spectrum-ui .retro-echo {display:none;animation:none !important;}
    :root body.spectrum-ui .console-cursor {animation:none !important;}
    :root body.spectrum-ui .spectrum-text {background:none !important;color:CanvasText;-webkit-text-fill-color:CanvasText;animation:none !important;}
}
@media print {
    :root body.spectrum-ui,:root[data-theme="dark"] body.spectrum-ui {
        --lab-ink:#111;--lab-muted:#333;--lab-neon:#111;--lab-pink:#111;--lab-cyan:#111;--lab-blue:#111;--lab-coral:#111;--lab-amber:#111;--lab-lime:#111;--lab-surface:#fff;
        --hero-ink:#111;--hero-muted:#333;--hero-neon:#111;background:#fff;color:#111;
    }
    :root body.spectrum-ui :is(.card,.action-card,.tile,.leaderboard-panel,.stat-strip,.stat-card,.lab-hero,.auth-shell,.auth-aside,.auth-panel) {background:#fff;border-color:#bbb;box-shadow:none;}
    :root body.spectrum-ui .spectrum-text {color:#111;background:none !important;-webkit-text-fill-color:currentColor;animation:none !important;}
    :root body.spectrum-ui .retro-echo {display:none;animation:none !important;}
    :root body.spectrum-ui .hero-title-prefix {color:#111;text-shadow:none;}
    :root body.spectrum-ui :is(.lab-heading,.lab-kicker) {color:#111;}
    :root body.spectrum-ui .console-cursor {animation:none !important;}
    :root body.spectrum-ui .lab-console.hero-art {display:none;}
}
