:root{color-scheme:light;--page: #f3f1ea;--surface: #ffffff;--surface-soft: #faf8f2;--text: #21241f;--text-muted: #6b6e64;--text-faint: #a3a69b;--border: #e4e1d6;--border-strong: #d8d3c2;--primary: #146c43;--primary-dark: #0e4f31;--primary-soft: #e4f1e9;--accent: #de9b2b;--accent-soft: #fbf0da;--danger: #a8412c;--danger-soft: #fbede8;--focus: #b87512;--radius-large: 20px;--radius-medium: 14px;--radius-small: 10px;--shadow-card: 0 1px 2px rgba(33, 36, 31, .04), 0 8px 24px -12px rgba(33, 36, 31, .12);--shadow-card-hover: 0 4px 10px rgba(33, 36, 31, .06), 0 16px 32px -14px rgba(33, 36, 31, .18);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}html{min-width:320px;background:var(--page);color:var(--text)}body{min-width:320px;min-height:100vh;margin:0;background:radial-gradient(circle at 10% 0%,#f8f6ef 0%,var(--page) 55%);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}::selection{background:var(--accent-soft)}button,input{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}a{color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.site-header{position:sticky;z-index:40;top:0;display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:12px max(24px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--border);background:#f3f1eadb;backdrop-filter:blur(10px)}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:11px;background:linear-gradient(155deg,var(--primary) 0%,var(--primary-dark) 100%);box-shadow:0 4px 10px -3px #0e4f318c;color:#fff;font-size:12px;font-weight:800;letter-spacing:-.02em}.brand strong,.brand small{display:block}.brand strong{font-size:16px;font-weight:750;letter-spacing:-.01em;line-height:1.25}.brand small{margin-top:1px;color:var(--text-muted);font-size:12px}.header-tools{display:flex;align-items:center;gap:20px}.mode-switch{display:inline-flex;align-items:center;gap:8px;color:var(--text-muted);cursor:pointer;font-size:13px;font-weight:600;user-select:none}.mode-switch input{position:absolute;width:1px;height:1px;opacity:0}.switch-track{position:relative;width:38px;height:22px;border-radius:999px;background:var(--border);transition:background .16s ease}.switch-track span{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform .16s ease}.mode-switch input:checked+.switch-track{background:var(--primary)}.mode-switch input:checked+.switch-track span{transform:translate(16px)}.mode-switch input:focus-visible+.switch-track{outline:2px solid var(--focus);outline-offset:3px}.header-progress{display:flex;align-items:center;gap:9px}.progress-ring{width:40px;height:40px}.progress-ring svg{display:block;width:40px;height:40px;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke:var(--border);stroke-width:4}.progress-ring .progress-ring-value{stroke:var(--primary);stroke-linecap:round;stroke-dasharray:100.53;stroke-dashoffset:100.53;transition:stroke-dashoffset .3s ease}.header-progress-copy{color:var(--text-muted);font-size:10px;line-height:1.25;text-align:right}.header-progress-copy>span,.header-progress-copy strong{display:block}.header-progress-copy strong{color:var(--text);font-size:13px}main{width:min(1180px,calc(100% - 48px));margin:0 auto}.question-page{min-height:calc(100vh - 70px);padding:20px 0 72px}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 16px;color:var(--text-faint);font-size:12px}.breadcrumb a{color:var(--text-muted);font-weight:550;text-decoration:none}.breadcrumb a:hover{color:var(--primary)}.breadcrumb [aria-current=page]{color:var(--primary);font-weight:650}.exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.question-card,.answer-panel{border:1px solid var(--border);border-radius:var(--radius-large);background:var(--surface);box-shadow:var(--shadow-card)}.question-card{padding:26px 28px 22px;scroll-margin-top:86px}.question-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.question-kicker{display:block;margin-bottom:2px;color:var(--text-muted);font-size:12px;font-weight:650;letter-spacing:.04em;text-transform:uppercase}.question-heading h1,.question-heading h2{margin:0;color:var(--text);font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.25}.question-state{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--surface-soft);color:var(--text-muted);font-size:12px;font-weight:650;white-space:nowrap}.question-state:before{width:6px;height:6px;border-radius:50%;background:var(--text-faint);content:""}.question-card.answered .question-state{background:var(--primary-soft);color:var(--primary-dark)}.question-card.answered .question-state:before{background:var(--primary)}.question-image{margin:0}.question-image-frame{padding:20px;border:1.5px dashed var(--border-strong);border-radius:var(--radius-medium);background:repeating-linear-gradient(135deg,#fbfaf6 0 22px,#f4f2ea 22px 24px)}.question-image img{display:block;width:100%;height:auto;border-radius:8px;background:#fff}.question-image figcaption{display:flex;align-items:center;gap:7px;margin:11px 4px 0;color:var(--text-muted);font-size:12px;font-weight:500}.question-image figcaption span{color:var(--text-faint);font-size:14px}.answer-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0}.answer-options legend{grid-column:1 / -1;width:100%;margin:17px 0 12px;color:var(--text-muted);font-size:14px;font-weight:500}.answer-options legend strong{color:var(--text)}.answer-options label{display:grid;min-height:66px;place-items:center;border:1.5px solid var(--border);border-radius:var(--radius-medium);background:var(--surface-soft);cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}.answer-options input{position:absolute;width:1px;height:1px;opacity:0}.answer-options label>span{display:grid;width:34px;height:34px;place-items:center;border:1.5px solid var(--border);border-radius:50%;background:#fff;color:var(--text-muted);font-size:15px;font-weight:750;transition:border-color .15s ease,background .15s ease,color .15s ease}.answer-options label:hover{border-color:#c9e3d3;box-shadow:var(--shadow-card-hover);transform:translateY(-1px)}.answer-options input:focus-visible+span{outline:2px solid var(--focus);outline-offset:3px}.answer-options label:has(input:checked){border-color:var(--primary);background:var(--primary-soft);box-shadow:inset 0 0 0 1px var(--primary)}.answer-options input:checked+span,.answer-options label.correct-option>span{border-color:var(--primary);background:var(--primary);color:#fff}.study-mode .answer-options,.study-mode .question-state{display:none}.answer-result{margin:18px 0 0;padding:11px 13px;border-left:3px solid var(--primary);border-radius:6px;background:var(--primary-soft);color:var(--primary-dark);font-size:14px;font-weight:650}.study-mode .answer-result{width:fit-content;border:1px solid #bed8ce;border-left-width:1px}.question-card.wrong .answer-result{border-left-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.question-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.question-nav-group{display:flex;gap:10px}.primary-button,.secondary-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:0 18px;border-radius:999px;cursor:pointer;font-size:14px;font-weight:650;text-decoration:none;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,color .15s ease,transform .15s ease}.primary-button{border:1.5px solid transparent;background:linear-gradient(155deg,var(--primary) 0%,var(--primary-dark) 100%);box-shadow:0 6px 16px -6px #0e4f318c;color:#fff}.primary-button:hover{box-shadow:0 10px 20px -6px #0e4f3199;transform:translateY(-1px)}.secondary-button{border:1.5px solid var(--border);background:#fff;color:var(--text)}.secondary-button:hover{border-color:var(--text-faint)}.secondary-button:disabled{opacity:.4;cursor:not-allowed}.study-mode .primary-button{display:none}.answer-panel{position:sticky;top:90px;max-height:calc(100vh - 110px);overflow-y:auto;padding:22px;scrollbar-color:var(--border) transparent;scrollbar-width:thin}.answer-panel::-webkit-scrollbar{width:6px}.answer-panel::-webkit-scrollbar-thumb{border-radius:999px;background:var(--border)}.sheet-handle{display:none}.answer-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.eyebrow{margin:0 0 3px;color:var(--text-faint);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.answer-panel h2{margin:0;font-size:18px;font-weight:750;line-height:1.3}.panel-close{display:none}.progress-track{height:6px;margin-top:17px;overflow:hidden;border-radius:999px;background:var(--border)}.progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:var(--primary);transition:width .3s ease}.progress-copy{display:flex;justify-content:space-between;margin:9px 0 18px;color:var(--text-muted);font-size:12px}.progress-copy strong{color:var(--primary-dark)}.answer-groups{border-top:1px solid var(--border)}.answer-group{padding:15px 0;border-bottom:1px solid var(--border)}.answer-group summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}.answer-group summary::-webkit-details-marker{display:none}.answer-group summary:before{width:8px;height:8px;flex:none;border-radius:50%;background:var(--border);content:""}.answer-group[open] summary:before{background:var(--primary)}.answer-group summary:after{margin-left:0;color:var(--text-faint);content:"+";font-size:18px;line-height:1;transition:transform .16s ease}.answer-group[open] summary:after{transform:rotate(45deg)}.answer-group summary strong{font-size:14px;font-weight:750}.answer-group summary span{margin-left:auto;color:var(--text-faint);font-size:12px;font-weight:600}.answer-group>p{margin:5px 0 12px 16px;color:var(--text-muted);font-size:11px;line-height:1.45}.answer-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}.answer-grid button{display:grid;min-width:0;aspect-ratio:1;place-items:center;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text-muted);cursor:pointer;font-size:10px;font-weight:650;transition:border-color .12s ease,background .12s ease,color .12s ease,box-shadow .12s ease}.answer-grid button:hover{border-color:var(--text-faint)}.answer-grid button.current{border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);font-weight:800}.answer-grid button.answered{border-color:#c9e3d3;background:var(--primary-soft);color:var(--primary-dark)}.answer-grid button.wrong{border-color:#e9c3b9;background:var(--danger-soft);color:var(--danger)}.study-mode .answer-grid button.answered,.study-mode .answer-grid button.wrong{border-color:var(--border);background:#fff;color:var(--text-muted)}.study-mode .answer-grid button.current{border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.study-mode .progress-track,.study-mode .progress-copy,.study-mode .legend,.study-mode .submit-button,.study-mode .reset-button{display:none}.study-mode .header-progress{visibility:hidden}.legend{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;color:var(--text-muted);font-size:10px}.legend span{display:inline-flex;align-items:center;gap:4px}.legend i{width:9px;height:9px;border:1px solid var(--primary);border-radius:2px}.legend .is-answered{border-color:#c9e3d3;background:var(--primary-soft)}.legend .is-wrong{border-color:#e9c3b9;background:var(--danger-soft)}.submit-button,.reset-button,.dialog-actions button,.primary-link{display:inline-flex;min-height:42px;align-items:center;justify-content:center;border-radius:999px;cursor:pointer;font-size:13px;font-weight:650;text-decoration:none}.submit-button{width:100%;border:1px solid var(--primary);background:var(--primary);color:#fff}.submit-button:hover,.dialog-actions button:hover,.primary-link:hover{background:var(--primary-dark)}.reset-button{width:100%;min-height:36px;margin-top:4px;border:0;background:transparent;color:var(--text-muted);font-size:12px}.reset-button:hover{color:var(--danger)}.mobile-sheet-button,.sheet-backdrop{display:none}.result-dialog{width:min(440px,calc(100% - 32px));padding:28px;border:1px solid var(--border);border-radius:var(--radius-large);color:var(--text);box-shadow:0 16px 48px #151f1b2e}.result-dialog::backdrop{background:#1416127a}.result-icon{display:grid;width:42px;height:42px;margin-bottom:16px;place-items:center;border-radius:12px;background:var(--primary-soft);color:var(--primary);font-size:20px;font-weight:800}.result-dialog h2{margin:0;font-size:26px;line-height:1.3}.result-dialog>p:not(.eyebrow){color:var(--text-muted);font-size:14px;line-height:1.6}.dialog-actions{display:flex;gap:8px;margin-top:20px}.dialog-actions button{flex:1;padding:0 16px;border:1px solid var(--primary);background:var(--primary);color:#fff}.dialog-actions .secondary{border-color:var(--border-strong);background:#fff;color:var(--text)}footer{padding:32px max(24px,calc((100vw - 1180px)/2));border-top:1px solid var(--border);background:var(--surface-soft);color:var(--text)}footer strong{font-size:14px}footer p{max-width:720px;margin:5px 0 0;color:var(--text-muted);font-size:12px;line-height:1.6}.not-found{display:grid;min-height:100vh;align-content:center;justify-items:start;padding:48px 0}.not-found h1{margin:0;font-size:clamp(36px,6vw,64px);letter-spacing:-.03em}.not-found>p:not(.eyebrow){margin:16px 0 24px;color:var(--text-muted)}.primary-link{padding:0 18px;border:1px solid var(--primary);background:var(--primary);color:#fff}@media(max-width:900px){body{padding-bottom:72px}body.sheet-open{overflow:hidden}.site-header{min-height:62px;padding:10px 16px}.brand-mark{width:38px;height:38px}.brand small{display:none}.header-tools{gap:12px}.progress-ring{display:none}.header-progress-copy{font-size:9px}main{width:min(100% - 32px,760px)}.question-page{padding:16px 0 48px}.breadcrumb{margin-bottom:12px;overflow:hidden;flex-wrap:nowrap;white-space:nowrap}.breadcrumb>*{flex:none}.exam-layout{display:block}.question-card{padding:18px 16px 16px}.question-heading h1,.question-heading h2{font-size:22px}.question-image-frame{padding:12px}.answer-options{grid-template-columns:repeat(2,minmax(0,1fr))}.question-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.question-nav-group{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary-button,.secondary-button{width:100%}.answer-panel{position:fixed;z-index:61;inset:auto 0 0;max-height:78vh;padding:14px 18px calc(28px + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;box-shadow:0 -10px 30px #0003;transform:translateY(102%);transition:transform .24s ease}.sheet-open .answer-panel{transform:translateY(0)}.sheet-handle{display:block;width:36px;height:4px;margin:0 auto 14px;border-radius:999px;background:var(--border)}.panel-close{display:block;padding:6px 0 6px 12px;border:0;background:transparent;color:var(--primary);cursor:pointer;font-size:13px;font-weight:650}.answer-grid{grid-template-columns:repeat(10,1fr)}.mobile-sheet-button{position:fixed;z-index:50;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));display:inline-flex;min-height:48px;align-items:center;gap:7px;padding:0 18px;border:0;border-radius:999px;background:var(--text);box-shadow:0 10px 24px -8px #00000073;color:#fff;cursor:pointer;font-size:13px;font-weight:700}.mobile-sheet-button i{width:7px;height:7px;border-radius:50%;background:var(--accent)}.mobile-sheet-button>span{color:#fff}.sheet-backdrop:not([hidden]){position:fixed;z-index:60;inset:0;display:block;background:#14161273}footer{padding:28px 16px calc(88px + env(safe-area-inset-bottom))}}@media(max-width:480px){.brand strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mode-switch-label,.header-progress{display:none}.question-state{padding:5px 9px}.answer-grid{grid-template-columns:repeat(8,1fr)}.result-dialog{padding:22px 18px}.dialog-actions{flex-direction:column}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
