:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #eef2f7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 72px; }
.hero { margin-bottom: 24px; }
.eyebrow { color: #3564c8; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: 6px 0 8px; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; }
h2 { margin-top: 0; }
.panel { background: white; border: 1px solid #dbe2ed; border-radius: 20px; box-shadow: 0 12px 35px #2b416d12; padding: clamp(22px, 5vw, 42px); }
.muted { color: #667085; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
label { display: grid; gap: 8px; font-weight: 700; }
select { border: 1px solid #cdd6e5; border-radius: 10px; background: white; color: inherit; font: inherit; padding: 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
button { cursor: pointer; border: 0; border-radius: 10px; font: inherit; font-weight: 800; padding: 12px 17px; }
button:disabled { cursor: not-allowed; opacity: .45; }
.primary { color: white; background: #3564c8; }
.secondary { color: #294b90; background: #e9effb; }
.hidden { display: none !important; }
.quiz-topline, .spread, .result-heading { align-items: center; display: flex; justify-content: space-between; gap: 16px; }
.quiz-topline { color: #667085; font-size: .9rem; font-weight: 700; }
.progress { height: 9px; background: #e8edf5; border-radius: 99px; margin: 14px 0 28px; overflow: hidden; }
.progress span { display: block; height: 100%; background: #4f9b78; transition: width .25s ease; }
.options { display: grid; gap: 12px; margin-top: 24px; }
.option { border: 1px solid #d5deea; border-radius: 12px; padding: 14px 16px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; transition: .15s; }
.option:hover, .option.selected { border-color: #3564c8; background: #f0f5ff; }
.option input { margin-top: 4px; accent-color: #3564c8; }
.score-circle { align-items: center; background: #e5f4eb; border-radius: 50%; color: #23704b; display: flex; font-size: 1.5rem; font-weight: 900; height: 92px; justify-content: center; width: 92px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 26px 0; }
.result-card { background: #f5f7fb; border-radius: 12px; padding: 16px; }
.result-card strong { display: block; font-size: 1.5rem; margin-top: 4px; }
.feedback { border-left: 4px solid #d8e1ef; margin: 15px 0; padding: 2px 0 2px 15px; }
.feedback.correct { border-color: #4f9b78; }
.feedback.incorrect { border-color: #d47777; }
.feedback small { color: #667085; }
.history { border-top: 1px solid #e5eaf1; margin-top: 24px; padding-top: 18px; }
.history-item { border-bottom: 1px solid #edf0f5; padding: 10px 0; }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } .result-heading { align-items: flex-start; } .spread { align-items: stretch; flex-direction: column-reverse; } .spread button { width: 100%; } }
