@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#203630;background:#f5f7f4;font-size:16px;font-synthesis:none;--ink:#142b28;--accent:#d8ef8d;--line:#dce4dc;--muted:#66796e;--surface:#fff;--wrong:#9b3434;--right:#226342}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #64872e;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{letter-spacing:-.045em;line-height:1.14}select{width:100%;appearance:none;background:#f7f9f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23203630' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;border:1px solid var(--line);border-radius:11px;padding:13px 38px 13px 14px;color:var(--ink);min-height:48px}input[type=checkbox],input[type=radio]{width:19px;height:19px;accent-color:var(--ink);flex:0 0 auto}button{border:0}.site-header{max-width:1200px;margin:auto;padding:30px 32px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:1.15rem;font-weight:800;letter-spacing:-.04em}.brand-mark{background:var(--ink);color:var(--accent);width:47px;height:47px;border-radius:14px;display:grid;place-items:center;font:700 2rem Georgia,serif}.brand small{display:block;font-size:.62rem;letter-spacing:.18em;color:var(--muted);margin-top:3px;font-weight:600}.header-note{color:var(--muted);font-size:.85rem}main{max-width:1200px;margin:auto;padding:42px 32px 60px;min-height:calc(100vh - 190px)}.setup-layout{display:grid;grid-template-columns:1fr 1.02fr;gap:70px;align-items:center}.eyebrow{font-size:.69rem;letter-spacing:.15em;font-weight:700;color:#627862}.intro h1{font-size:clamp(2.6rem,4.8vw,4.3rem);font-weight:800;margin:24px 0}.intro em{font-style:normal;position:relative;z-index:0}.intro em:after{content:'';position:absolute;bottom:4px;left:0;right:0;height:13px;background:var(--accent);z-index:-1;border-radius:3px}.lead{font-size:1.04rem;line-height:1.8;color:var(--muted);max-width:410px}.stat-strip{display:flex;margin:36px 0 34px;gap:30px}.stat-strip>div{display:flex;flex-direction:column;gap:8px}.stat-strip strong{font-family:Manrope,sans-serif;font-size:1.8rem;font-weight:800;letter-spacing:-.05em}.stat-strip span{font-size:.72rem;color:var(--muted)}.study-tip{display:flex;gap:14px;max-width:410px;border-top:1px solid var(--line);padding-top:23px}.tip-icon{color:#789438;font-size:1.5rem}.study-tip p{font-size:.82rem;line-height:1.8;color:var(--muted)}.study-tip strong{color:var(--ink);font-weight:600}.privacy-note{color:var(--muted);font-size:.73rem;margin-top:28px}.setup-card{background:var(--surface);padding:29px;border-radius:24px;border:1px solid #e4eae1;box-shadow:0 18px 55px -35px #233d2b55}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.round-tag{font-size:.68rem;color:var(--muted)}.mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f0f4ed;padding:5px;border-radius:14px;margin-bottom:22px}.mode-button{padding:14px 8px;border-radius:10px;background:transparent;text-align:left;color:var(--muted);min-height:65px}.mode-button strong{display:block;font-size:.86rem;margin-bottom:5px}.mode-button span{font-size:.67rem;display:block}.mode-button.active{background:var(--ink);color:#f6fbe9;box-shadow:0 3px 8px #122e2520}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-grid>label{font-size:.75rem;font-weight:600;display:flex;flex-direction:column;gap:8px;min-width:0}.status-field{padding:0;border:0;margin:23px 0}.status-field legend{font-size:.75rem;font-weight:600;margin-bottom:10px}.check-row{display:flex;align-items:center;gap:10px;padding:8px 0;cursor:pointer;min-height:47px}.check-row>span:first-of-type{font-size:.83rem;flex:1}.check-row small,.toggle-label small{display:block;color:var(--muted);font-size:.67rem;font-weight:400;line-height:1.6}.mini-badge{background:#f0f4ec;color:#56724a;border-radius:6px;padding:4px 7px;font-size:.68rem;font-variant-numeric:tabular-nums}.bottom-settings{align-items:end}.field-grid>.toggle-label{flex-direction:row;align-items:center;gap:8px;min-height:48px;font-size:.76rem;padding-top:22px}.ready-row{margin:23px 0 13px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.73rem}.ready-row strong{color:var(--ink)}.ready-dot{width:7px;height:7px;border-radius:50%;background:#88ab4d}.button{border-radius:11px;padding:15px 23px;font-size:.85rem;font-weight:600;min-height:48px;transition:background .15s}.button.primary{background:var(--ink);color:#f7fbe9}.button.primary:hover:not(:disabled){background:#285144}.button.secondary{background:#eaf0e5;color:var(--ink)}.button.secondary:hover:not(:disabled){background:#dfe8d6}.wide{width:100%}.text-button{background:transparent;padding:9px 0;color:var(--muted);font-size:.76rem;text-decoration:underline;text-underline-offset:4px;min-height:40px}.text-button:hover{color:var(--ink)}.import-row{display:flex;justify-content:center;gap:18px;margin-top:11px}.small-note{text-align:center;color:var(--muted);font-size:.66rem;line-height:1.6}.inline-message{font-size:.8rem;color:var(--wrong);line-height:1.6}.inline-message:not(:empty){margin-top:12px}.quiz-layout,.results-layout{max-width:780px;margin:0 auto}.session-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.tabular{font-variant-numeric:tabular-nums;font-size:.83rem}.progress{height:5px;background:#e1e8dc;border-radius:5px;margin:14px 0 28px;overflow:hidden}.progress>div{height:100%;background:#83a649;transition:width .2s}.question-card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:35px}.question-meta{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:.75rem;color:var(--muted);margin-bottom:25px}.status-badge{border-radius:7px;background:#eaf2df;color:#52712f;padding:6px 9px;white-space:nowrap;font-size:.66rem}.status-badge.generated{background:#eef0fa;color:#58629c}.question-card h1{font-size:clamp(1.35rem,3vw,1.9rem);line-height:1.4;font-weight:700}.selection-hint{font-size:.79rem;color:var(--muted);margin:10px 0 23px}.answer-options{border:0;padding:0;margin:0;display:grid;gap:11px}.answer-option{position:relative;display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:12px;padding:16px;cursor:pointer;min-height:60px;background:#fafcf8}.answer-option:hover{border-color:#9eae94}.answer-option:has(input:checked){border-color:#58784b;background:#edf4e4}.answer-option>input{position:absolute;opacity:0;width:1px;height:1px}.answer-option:has(input:focus-visible){outline:3px solid #64872e;outline-offset:3px}.option-letter{display:grid;place-items:center;flex:0 0 29px;height:29px;background:#eaf0e5;border-radius:7px;font-size:.76rem;font-weight:700}.answer-option:has(input:checked) .option-letter{background:var(--ink);color:var(--accent)}.option-text{font-size:.93rem;line-height:1.5}.answer-option.correct{background:#edf7ec;border-color:#75a575}.answer-option.incorrect{background:#fff0ee;border-color:#c88b80}.answer-option:has(input:disabled){cursor:default}.answer-option .option-state{margin-left:auto;font-size:.7rem;white-space:nowrap}.feedback{margin-top:23px;padding:19px;background:#f0f6e9;border-radius:12px;color:#35592e;font-size:.87rem;line-height:1.8}.feedback.wrong{background:#fff3ed;color:#824335}.feedback strong{display:block;margin-bottom:5px}.feedback .reference,.review-body .reference{display:block;font-size:.73rem;color:var(--muted);margin-top:9px;overflow-wrap:anywhere}.feedback p+p{margin-top:8px}.question-actions{display:flex;justify-content:space-between;gap:12px;margin-top:27px}.scoring-note{text-align:center;color:var(--muted);font-size:.72rem;line-height:1.7;max-width:630px;margin:19px auto}.results-layout>.eyebrow{display:block;margin-bottom:16px}.results-layout h1{font-size:2.5rem}.result-score{display:flex;align-items:baseline;gap:17px;margin:25px 0 12px}.result-score strong{font:800 4rem Manrope,sans-serif;letter-spacing:-.07em}.result-score span{color:var(--muted)}.results-layout>.lead{max-width:none}.result-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.review-title{font-size:1.15rem;margin:43px 0 18px}.review-item{border-bottom:1px solid var(--line);padding:17px 0}.review-item summary{display:flex;align-items:baseline;gap:12px;font-size:.88rem;cursor:pointer;line-height:1.7;list-style:none}.review-result{font-weight:600;font-size:.73rem;flex:0 0 55px;color:var(--right)}.review-result.wrong{color:var(--wrong)}.review-body{padding:15px 0 4px 67px;font-size:.82rem;line-height:1.9;color:var(--muted)}.review-body strong{color:var(--ink)}.review-body p+p{margin-top:9px}footer{max-width:1200px;margin:auto;border-top:1px solid var(--line);padding:24px 32px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.65rem;line-height:1.7}.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}
@media(max-width:1000px){.setup-layout{gap:35px}.stat-strip{gap:22px}.setup-card{padding:24px}.mode-button span{font-size:.65rem}}
@media(max-width:760px){.site-header{padding:22px}.header-note{display:none}main{padding:19px 20px 40px}.setup-layout{grid-template-columns:1fr;gap:28px}.intro h1{font-size:2.9rem;margin:16px 0}.intro .lead{font-size:.95rem}.stat-strip{margin:23px 0 0;gap:35px}.stat-strip strong{font-size:1.55rem}.study-tip,.privacy-note{display:none}.setup-card{padding:23px}.question-card{padding:25px}.session-top>.eyebrow{font-size:.61rem}.question-meta{flex-wrap:wrap}.question-card h1{font-size:1.4rem}.option-text{font-size:.91rem}.answer-option{padding:13px}.question-actions .button{padding:13px 17px}footer{flex-direction:column;gap:5px;padding:20px}.review-body{padding-left:0}.results-layout h1{font-size:2rem}}
@media(max-width:380px){.field-grid{grid-template-columns:1fr}.field-grid>.toggle-label{padding-top:0}.stat-strip{gap:23px}.intro h1{font-size:2.5rem}.setup-card{padding:19px}.question-card{padding:19px}.question-actions{flex-wrap:wrap}.question-actions>.button{flex:1}.question-meta{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.brand small{font-size:.75rem;letter-spacing:.1em}.eyebrow{font-size:.75rem}.field-grid>label,.status-field legend{font-size:.875rem}.check-row>span:first-of-type{font-size:.925rem}.check-row small,.toggle-label small,.mode-button span{font-size:.75rem}.mode-button strong,.field-grid>.toggle-label{font-size:.875rem}.stat-strip span,.ready-row,.text-button{font-size:.875rem}.mini-badge,.small-note,.round-tag,.privacy-note,footer,.scoring-note{font-size:.75rem}.option-text{font-size:1rem}.status-badge{font-size:.75rem}.selection-hint,.question-meta{font-size:.875rem}

.header-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.header-controls select{width:76px;min-height:44px;padding:10px 28px 10px 10px;background-position:right 8px center}.site-header{flex-wrap:wrap;gap:16px}.focus-note{font-size:.75rem;color:var(--muted);line-height:1.6;margin:10px 0}.single-toggle{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:.875rem}.single-toggle small{display:block;color:var(--muted);margin-top:4px}.hint-controls{margin:18px 0}.lecture-panel,.concept-panel{border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:12px;line-height:1.75;font-size:.9rem;overflow-wrap:anywhere}.lecture-panel blockquote{margin:8px 0 12px}.concept-panel summary{cursor:pointer;font-weight:600;color:var(--ink);min-height:24px}.concept-panel p{margin-top:12px}.reference{display:block;overflow-wrap:anywhere}.concept-panel .reference{margin-top:12px}.review-body .concept-panel{margin-top:16px}.feedback .concept-panel{color:var(--ink)}@media(max-width:480px){.header-controls{gap:8px}.site-header{padding:18px 20px}.review-item summary{flex-wrap:wrap}.expanded-title{overflow-wrap:normal}}

@media(max-width:480px){.brand small{font-size:.625rem;letter-spacing:.025em}}
