@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap";:root{color:#17212b;background:#f7f8fb;font-family:DM Sans,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.topbar{height:76px;padding:0 max(28px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:#f7f8fbe6;border-bottom:1px solid #e8ebf0}.brand{display:flex;align-items:center;gap:9px;border:0;background:none;color:#17212b;font-family:Plus Jakarta Sans;font-size:21px;font-weight:800;letter-spacing:-1px}.brand-mark{width:31px;height:31px;display:grid;place-items:center;background:#ff6f61;border-radius:9px;color:#fff;font-size:17px}nav{display:flex;gap:30px;margin-left:auto;margin-right:35px}.nav-link,.back-button{border:0;background:none;color:#74808d;font-weight:600}.nav-link.active{color:#17212b}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:#4a3e68;background:#ded8f2;font-size:12px;font-weight:700}main{max-width:1180px;margin:auto;padding:0 28px 80px}.error-banner{margin-top:20px;padding:12px 15px;display:flex;align-items:center;gap:10px;border:1px solid #f4c8c3;border-radius:10px;color:#a5433b;background:#fff3f1}.error-banner button{margin-left:auto;border:0;background:none;color:inherit}.home-page{padding-top:66px}.hero{position:relative;padding:4px 0 72px}.hero:after{content:"";position:absolute;width:280px;height:280px;right:4%;top:-20px;background:radial-gradient(circle,#f8ded5 0 5%,transparent 6%),radial-gradient(circle,#f8ded5 0 2%,transparent 3%);background-size:28px 28px;opacity:.7;z-index:-1}.eyebrow{display:flex;align-items:center;gap:7px;margin:0 0 16px;color:#e36659;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}h1,h2{font-family:Plus Jakarta Sans;letter-spacing:-2px}.hero h1{max-width:660px;margin:0;font-size:clamp(42px,6vw,72px);line-height:1.08}.hero h1 span{color:#ff6f61}.hero>p{max-width:470px;margin:20px 0 33px;color:#71808e;font-size:17px;line-height:1.65}.start-panel{max-width:690px;padding:20px 22px 18px;border:1px solid #e6e9ef;border-radius:14px;background:#fff;box-shadow:0 11px 35px #1c26300d}.start-panel label{display:block;margin-bottom:10px;color:#53606d;font-size:12px;font-weight:700}.start-controls{display:flex;gap:12px}select{flex:1;min-height:48px;padding:0 15px;border:1px solid #dfe3e9;border-radius:8px;color:#2a3540;background:#fff}.primary-button,.secondary-button{min-height:48px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;border:1px solid transparent;font-weight:700}.primary-button{color:#fff;background:#ff6f61;box-shadow:0 7px 15px #ff6f6133}.primary-button:hover{background:#eb6054}.primary-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{color:#40505e;border-color:#e1e5eb;background:#fff}.panel-note{margin-top:16px;display:flex;align-items:center;gap:7px;color:#8a949e;font-size:12px}.panel-note span{margin:0 4px;color:#c3c8ce}.topic-section{border-top:1px solid #e8ebf0;padding-top:42px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.section-heading .eyebrow{margin-bottom:8px}h2{margin:0;font-size:25px}.topic-count{color:#8a949e;font-size:13px}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.topic-card{min-height:150px;padding:19px;display:flex;flex-direction:column;align-items:start;text-align:left;border:1px solid transparent;border-radius:12px;color:#25313b}.topic-card:hover{transform:translateY(-2px);box-shadow:0 9px 20px #232a3214}.topic-0{background:#fff0e9}.topic-1{background:#edf5f5}.topic-2{background:#f0edfc}.topic-3{background:#fff7db}.topic-icon{margin-bottom:25px;font-size:22px}.topic-card strong{font-family:Plus Jakarta Sans}.topic-card span:last-child{margin-top:8px;display:flex;align-items:center;gap:5px;color:#79838d;font-size:12px}.quiz-page{max-width:760px;margin:auto;padding-top:43px}.quiz-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:#89929d;font-size:13px;font-weight:600}.back-button{display:flex;align-items:center;gap:3px;padding:0}.progress-track{height:5px;margin-bottom:32px;border-radius:9px;background:#e8ebf0;overflow:hidden}.progress-track div{height:100%;background:#ff6f61;border-radius:inherit;transition:width .3s ease}.quiz-card{padding:clamp(25px,5vw,48px);border:1px solid #e6e9ef;border-radius:16px;background:#fff;box-shadow:0 14px 40px #1c26300d}.quiz-category{margin-bottom:17px;color:#e36659;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.quiz-card h1{margin:0;font-size:clamp(25px,4vw,36px);line-height:1.2}.quiz-instruction{margin:11px 0 25px;color:#8b949e;font-size:13px}.answers{display:grid;gap:10px}.answer-option{min-height:59px;padding:10px 15px;display:flex;align-items:center;gap:13px;border:1px solid #e2e6eb;border-radius:9px;color:#35414c;background:#fff;text-align:left}.answer-option:hover:not(:disabled){border-color:#ff9a90;background:#fff9f8}.answer-option:disabled{cursor:default}.option-letter{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#85909b;background:#f2f4f6;font-size:12px;font-weight:700}.answer-option.selected{border-color:#ff9a90;background:#fff8f6}.answer-option.correct{border-color:#66c994;background:#f1fbf5}.answer-option.incorrect{border-color:#e89089;background:#fff4f3}.answer-option.correct svg{margin-left:auto;color:#2f9a62}.answer-option.incorrect svg{margin-left:auto;color:#ca544c}.feedback{margin-top:15px;padding:12px 14px;border-radius:8px;font-size:13px;font-weight:600}.feedback-correct{color:#267c4e;background:#f1fbf5}.feedback-incorrect{color:#a5433b;background:#fff4f3}.next-button{width:100%;margin-top:22px}.results-page{display:grid;place-items:center;padding-top:65px}.results-card{width:min(100%,560px);padding:48px 35px;border:1px solid #e6e9ef;border-radius:16px;background:#fff;text-align:center;box-shadow:0 14px 40px #1c26300d}.trophy{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;color:#e7a532;background:#fff4d8}.results-card .eyebrow{justify-content:center}.results-card h1{margin:0;font-size:34px}.result-subtitle,.score-message{color:#7e8993}.score-circle{width:150px;height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:28px auto 20px;border:8px solid #ffddd8;border-top-color:#ff6f61;border-radius:50%}.score-circle strong{font-family:Plus Jakarta Sans;font-size:38px}.score-circle span{color:#8a949e;font-size:12px}.result-actions{display:flex;justify-content:center;gap:10px;margin-top:28px}.history-page{max-width:760px;margin:auto;padding-top:60px}.page-heading{margin-bottom:30px}.page-heading h1{margin:0 0 10px;font-size:42px}.page-heading>p:last-child{margin:0;color:#7e8993}.history-list{display:grid;gap:10px}.history-item{padding:17px 20px;display:flex;align-items:center;gap:14px;border:1px solid #e6e9ef;border-radius:11px;background:#fff}.history-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:9px;color:#d4982c;background:#fff4d8}.history-item div:nth-child(2){display:flex;flex-direction:column;gap:4px}.history-item div:nth-child(2) span,.history-score span{color:#8b949e;font-size:12px}.history-score{margin-left:auto;display:flex;flex-direction:column;align-items:end;gap:4px}.history-score strong{font-family:Plus Jakarta Sans}.empty-state,.loading-state{padding:50px;border:1px dashed #dfe3e9;border-radius:12px;color:#7e8993;text-align:center}.empty-state svg{color:#ff9a90}.empty-state h2{margin:13px 0 5px;font-size:20px}.empty-state p{margin:0;font-size:14px}@media(max-width:700px){.topbar{padding:0 18px}nav{margin-right:15px;gap:14px}.nav-link{font-size:12px}main{padding:0 18px 50px}.home-page{padding-top:45px}.hero{padding-bottom:50px}.hero h1{font-size:44px}.hero>p{font-size:15px}.start-controls{flex-direction:column}.topic-grid{grid-template-columns:repeat(2,1fr)}.topic-card{min-height:135px}.quiz-page,.history-page{padding-top:30px}.quiz-card{padding:26px 19px}.results-page{padding-top:35px}.result-actions{flex-direction:column-reverse}.result-actions button{width:100%}}.add-question-page{max-width:760px;margin:auto;padding-top:56px}.add-question-page .page-heading{margin-bottom:26px}.add-question-page .page-heading h1{margin-bottom:9px}.question-form{display:grid;gap:23px;padding:clamp(22px,5vw,36px);border:1px solid #e6e9ef;border-radius:15px;background:#fff;box-shadow:0 14px 40px #1c26300d}.form-field{display:grid;gap:9px;color:#34414d;font-size:13px;font-weight:700}.form-field input,.form-field textarea,.choice-input>input[type=text]{width:100%;padding:12px 14px;border:1px solid #dfe3e9;border-radius:8px;outline:none;color:#25313b;background:#fff;font:inherit;font-weight:400}.form-field textarea{min-height:100px;resize:vertical}.form-field input:focus,.form-field textarea:focus,.choice-input>input[type=text]:focus{border-color:#ff8e83;box-shadow:0 0 0 3px #ff6f611a}.form-field small{color:#87919b;font-size:12px;font-weight:400}.choice-fieldset{min-width:0;margin:0;padding:0;border:0}.choice-fieldset legend{margin-bottom:12px;color:#34414d;font-size:13px;font-weight:700}.choice-fieldset legend span{margin-left:7px;color:#87919b;font-size:12px;font-weight:400}.choice-list{display:grid;gap:10px}.choice-input{min-width:0;display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid #e2e6eb;border-radius:9px}.choice-input:focus-within{border-color:#ff9a90}.choice-input.choice-correct{border-color:#66c994;background:#f7fcf8}.choice-input>input[type=radio]{width:17px;height:17px;flex:0 0 auto;margin:0;accent-color:#35a66b}.choice-letter{width:27px;height:27px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#85909b;background:#f2f4f6;font-size:12px;font-weight:700}.choice-input>input[type=text]{min-width:0;padding:8px 10px;border:0;background:transparent}.choice-input>input[type=text]:focus{box-shadow:none}.correct-label{flex:0 0 auto;color:#2f9a62;font-size:11px;font-weight:700}.submit-question{width:100%}.success-banner{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:8px;color:#267c4e;background:#f1fbf5;font-size:13px;font-weight:600}@media(max-width:430px){.topbar{padding:0 11px}nav{gap:8px;margin-right:8px}.nav-link{font-size:10px}.brand{gap:6px;font-size:18px}.brand-mark{width:28px;height:28px}.avatar{width:30px;height:30px;flex:0 0 auto}.choice-fieldset legend span{display:block;margin:5px 0 0}.choice-input{gap:8px;padding:8px}.choice-input>input[type=text]{padding-right:2px;padding-left:4px;font-size:13px}.correct-label{font-size:10px}}.identity-fieldset{min-width:0;margin:0;padding:0;border:0;text-align:left}.identity-fieldset legend{margin-bottom:12px;color:#34414d;font-size:13px;font-weight:700}.identity-fieldset legend span{margin-left:6px;color:#87919b;font-size:12px;font-weight:400}.identity-modes{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:13px}.identity-modes label{min-height:39px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;border:1px solid #e2e6eb;border-radius:8px;color:#53606d;background:#fff;font-size:12px;font-weight:600;cursor:pointer}.identity-modes input{accent-color:#ff6f61}.identity-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.identity-input{min-width:0;display:grid;gap:7px;color:#53606d;font-size:12px;font-weight:600;text-align:left}.identity-input input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dfe3e9;border-radius:8px;outline:none;color:#25313b;background:#fff;font:inherit;font-weight:400}.identity-input input:focus{border-color:#ff8e83;box-shadow:0 0 0 3px #ff6f611a}.result-identity-form{margin-top:25px;padding:18px;border-radius:10px;background:#f7f8fb;text-align:left}.identity-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.identity-actions .primary-button,.identity-actions .secondary-button{min-height:42px;padding:0 14px;font-size:12px}.identity-thanks{margin:20px 0 0;color:#2f8656;font-size:13px;font-weight:600}@media(max-width:520px){.identity-inputs{grid-template-columns:1fr}.identity-fieldset legend span{display:block;margin:5px 0 0}.identity-actions{flex-direction:column-reverse}.identity-actions button{width:100%}.result-identity-form{padding:14px}}
