.home-intro{font-size:16px;color:#627389;margin:0 0 22px}.subjects{display:grid;gap:14px}.subject-card{width:100%;display:flex;align-items:center;text-align:left;gap:20px;background:white;border:1px solid #dbe4ee;border-radius:17px;padding:25px;color:#102b46;transition:border-color .15s,background .15s}.subject-card:hover{border-color:#173c61;background:#f8fbff}.subject-card:active{background:#e8eef6}.subject-num{font-size:14px;color:#657e98;font-weight:700;align-self:flex-start;padding-top:5px}.subject-card h2{font-size:24px;margin:0 0 9px;letter-spacing:-.5px}.subject-card p{font-size:14px;margin:0;color:#728196;line-height:1.5}.subject-count{margin-left:auto;flex:none;font-size:14px;color:#40566b;padding:8px 10px;background:#edf2f7;border-radius:8px}.subject-card:nth-child(2){border-left:4px solid #315f8b}.subject-card:nth-child(1){border-left:4px solid #102b46}.subject-card:nth-child(3){border-left:4px solid #e89332}.how{display:flex;align-items:center;gap:24px;padding:25px 6px;margin-top:10px;border-bottom:1px solid #dce5ee;color:#627389;font-size:14px}.how>span{flex:none}.how b{color:#102b46;font-size:18px;margin-left:5px}.how p{margin:0;line-height:1.8}.back{background:none;border:0;color:#526b84;font-size:14px;padding:10px;text-decoration:underline;text-underline-offset:4px}.finish-back{margin-top:16px}@media(max-width:600px){.subject-card{padding:23px 18px;gap:14px}.subject-card h2{font-size:22px}.subject-card p{font-size:14px}.subject-count{padding:7px 9px}.how{gap:18px}.subject-num{font-size:13px}}
.order-mode{min-height:44px;min-width:100px;padding:10px 16px;border:1px solid #7590a9;border-radius:10px;background:#ffffff0c;color:#fff;font-size:14px;font-weight:650;white-space:nowrap}.order-mode:hover{background:#ffffff1a}.order-mode[aria-pressed="true"]{background:#ffa64d;color:#102b46;border-color:#ffa64d}

.start-screen{background:white;border:1px solid #dbe4ee;border-radius:20px;padding:36px 32px}.start-symbol{display:flex;gap:18px;font-size:48px;font-weight:850;line-height:1}.start-symbol span:last-child{color:#d0802b}.start-screen h2{font-size:30px;line-height:1.45;letter-spacing:-1px;margin:24px 0 16px}.start-screen .home-intro{line-height:1.8}.start-screen .how{border-bottom:0;margin-bottom:0;padding-bottom:0}.feedback p{white-space:pre-line}@media(max-width:600px){.brand{font-size:18px;gap:8px}.brand-icon{font-size:14px}header{padding:0 16px}.order-mode{min-width:82px;padding:10px 12px}.start-screen{padding:28px 23px}.start-screen h2{font-size:28px}h1{font-size:24px}.session-top{gap:12px}.total{white-space:nowrap}}

.header-actions{display:flex;align-items:center;gap:9px}.theme-mode{height:44px;width:44px;padding:0;display:grid;place-items:center;border:1px solid #7590a9;border-radius:10px;background:#ffffff0c;color:white;font-size:25px;line-height:1}.theme-mode:hover{background:#ffffff1a}
html[data-theme="dark"]{background:#101923;color:#e5edf6}
html[data-theme="dark"] header{background:#101e2d;border-bottom-color:#e9a853}
html[data-theme="dark"] .brand{color:#f3f6fb}
html[data-theme="dark"] .start-screen,html[data-theme="dark"] .question-card,html[data-theme="dark"] .finish,html[data-theme="dark"] .feedback{background:#192635;border-color:#354758;box-shadow:none}
html[data-theme="dark"] .total{background:#29394a;color:#cedaea}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .home-intro,html[data-theme="dark"] .how,html[data-theme="dark"] .hint,html[data-theme="dark"] footer,html[data-theme="dark"] .back,html[data-theme="dark"] .finish>p:not(.eyebrow){color:#aabbd0}
html[data-theme="dark"] .how b{color:#e5edf6}
html[data-theme="dark"] .topic{border-left-color:#e9a853}
html[data-theme="dark"] #position span{color:#a6b8cb}
html[data-theme="dark"] .progress-track{background:#304357}
html[data-theme="dark"] #progress{background:#86b9ee}
html[data-theme="dark"] .ring-bg{stroke:#384b61}
html[data-theme="dark"] #ring{stroke:#e9a853}
html[data-theme="dark"] .clock.urgent{color:#ff9a90}
html[data-theme="dark"] .clock.urgent #ring{stroke:#ff9a90}
html[data-theme="dark"] .answer{background:#1e3044;border-color:#42607e;color:#a4cffb}
html[data-theme="dark"] .answer:hover{background:#2a4460}
html[data-theme="dark"] .answer.no{background:#352b24;border-color:#745339;color:#f5ba83}
html[data-theme="dark"] .answer.no:hover{background:#49372a}
html[data-theme="dark"] .confirm{background:#aacff4;color:#10243a}
html[data-theme="dark"] .confirm:hover{background:#c5e2ff}
html[data-theme="dark"] .feedback{border-top-color:#e9a853}
html[data-theme="dark"] .feedback-top span{color:#f5ba83}
html[data-theme="dark"] .finish-mark{background:#2a415a;color:#b5d9ff}
html[data-theme="dark"] .start-symbol span:last-child{color:#e9a853}
@media(max-width:360px){header{padding:0 12px}.brand{font-size:16px}.brand-icon{display:none}.header-actions{gap:7px}}

.chapter-picker{margin:24px 0}.chapter-picker label{display:block;font-size:14px;font-weight:650;margin-bottom:10px;color:#526b84}.chapter-picker select{width:100%;min-height:54px;padding:13px 38px 13px 15px;border:1px solid #c4d2e1;border-radius:10px;background:#f4f7fb;color:#102b46;font:inherit;font-size:16px}.chapter-picker select:focus-visible{outline:3px solid #e89332;outline-offset:3px}html[data-theme="dark"] .chapter-picker label{color:#b6c7d9}html[data-theme="dark"] .chapter-picker select{background:#223449;border-color:#4c6480;color:#edf4ff}

.study-actions{display:grid;gap:12px}.review-button{width:100%;min-height:54px;padding:15px;border:1px solid #aabfd4;border-radius:12px;background:#eef4fb;color:#102b46;font:inherit;font-weight:700;cursor:pointer}.review-button:disabled{opacity:.5;cursor:default}.review-button:focus-visible{outline:3px solid #e89332;outline-offset:3px}.wrong-summary{margin:14px 0 0;font-size:13px;line-height:1.7;color:#526b84}.storage-note{padding:12px 16px;background:#fff0d9;border-radius:10px;color:#714a13;font-size:14px}html[data-theme="dark"] .review-button{background:#223449;color:#d2e6fb;border-color:#4c6480}html[data-theme="dark"] .wrong-summary{color:#aabbd0}html[data-theme="dark"] .storage-note{background:#46351e;color:#ffdaa6}

.order-settings{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;color:#657b91;margin:0 0 3px}.order-settings .order-mode{min-width:0;min-height:34px;padding:6px 3px;border:0;border-radius:0;background:transparent;color:#657b91;font-size:13px;font-weight:500}.order-settings .order-mode[aria-pressed="true"]{color:#102b46;background:transparent;font-weight:750;text-decoration:underline;text-underline-offset:4px}.order-settings .order-mode:hover{background:transparent;color:#102b46}.order-settings .order-mode:focus-visible{outline:2px solid #e89332;outline-offset:2px}html[data-theme="dark"] .order-settings,html[data-theme="dark"] .order-settings .order-mode{color:#aabbd0}html[data-theme="dark"] .order-settings .order-mode[aria-pressed="true"],html[data-theme="dark"] .order-settings .order-mode:hover{color:#f0c080}
