.learn-tabs{gap:8px}.learn-tabs a{flex:1;text-align:center;padding-inline:4px}
.theory-course-list{display:grid;gap:14px;margin:24px 0}.theory-course-link{display:flex;align-items:center;gap:14px;border:2px solid var(--line,#e5e5e5);border-bottom-width:5px;border-radius:18px;padding:16px;text-decoration:none;color:var(--ink,#314b57);background:var(--card,#fff);margin:14px 0;min-width:0}.theory-course-link>svg{width:32px;height:32px;flex-shrink:0}.theory-course-link>span{display:grid;gap:5px;flex:1;min-width:0}.theory-course-link b{font-size:18px;line-height:1.3}.theory-course-link small{font-size:12px;color:#586f79}.theory-course-link small:first-child{font-weight:900;color:#1685b0;letter-spacing:.5px}.theory-course-link:hover{border-color:#27ace0}.theory-course-link:active{transform:translateY(2px)}
.theory-hub-hero{background:#1cace1;color:#fff;border-radius:24px;display:flex;gap:10px;align-items:center;padding:24px}.theory-hub-hero h1{font-size:28px;margin:8px 0}.theory-hub-hero p{line-height:1.5}.theory-hub-hero img{width:100px;height:125px;object-fit:contain}.theory-hub-hero small{font-weight:900}.theory-summary{display:flex;gap:16px;justify-content:center;margin:24px 0}.theory-summary span{display:grid;text-align:center;gap:4px;color:#526a76;flex:1}.theory-summary b{font-size:27px;color:#1289b6}.theory-mode-label{display:block;font-size:10px;font-weight:900;letter-spacing:.6px;color:#637680;margin-top:6px}.learn-node.is-theory .learn-node-face{background:#22afe1;box-shadow:0 7px 0 #1689b4}.learn-stop .theory-mode-label{margin:0 0 5px}.program-theory-intro{margin-bottom:24px}.program-theory-intro h2{margin-top:26px}
.theory-session{max-width:680px;margin:0 auto;padding:18px 24px calc(24px + env(safe-area-inset-bottom));min-height:calc(100dvh - 76px);display:flex;flex-direction:column;gap:24px}.theory-session-top{display:flex;align-items:center;gap:16px}.theory-session-top>div{flex:1;min-width:0}.theory-session-top small{display:block;font-size:11px;font-weight:900;color:#657c86;margin-bottom:8px}.theory-session-top>svg{width:28px;height:28px}.theory-exit{font-size:34px;text-decoration:none;color:#74858d;line-height:1;min-width:44px;min-height:44px;display:grid;place-items:center}.theory-progress{height:14px;background:#dce4e6;border-radius:15px;overflow:hidden}.theory-progress i{display:block;height:100%;background:#58bd32;border-radius:15px;transition:width .25s}.theory-card,.theory-question,.theory-finish{flex:1}.theory-kicker{font-size:12px;letter-spacing:1px;font-weight:900;color:#1689b4;margin:8px 0 20px}.theory-card img{display:block;width:145px;height:155px;object-fit:contain;margin:0 auto 24px}.theory-card h1,.theory-question h1,.theory-finish h1{font-size:27px;line-height:1.25;margin:12px 0 20px;color:#344f5a}.theory-card>p:not(.theory-kicker){font-size:20px;line-height:1.6}.theory-options{display:grid;gap:14px;margin-top:32px}.theory-option{font:inherit;font-size:18px;font-weight:700;line-height:1.4;color:#3e5662;background:#fff;border:2px solid #dee5e7;border-bottom-width:5px;border-radius:16px;text-align:left;padding:17px 18px;min-height:62px;display:flex;align-items:center;gap:12px}.theory-option.is-selected{background:#e3f5ff;border-color:#62c6eb;color:#087dab}.theory-option.is-correct{background:#e4f8c9;border-color:#8fd459;color:#386b13}.theory-option.is-wrong{background:#ffede9;border-color:#f19b86;color:#9d4630}.theory-option:disabled{opacity:1;cursor:default}.theory-option svg{width:24px;height:24px;flex-shrink:0;margin-left:auto}.theory-option:focus-visible,.theory-exit:focus-visible{outline:3px solid #208bb7;outline-offset:4px}.theory-actions{display:grid;gap:15px;margin-top:auto;padding:20px 0 0;border-top:2px solid #e1e7e9}.theory-actions .btn{width:100%;justify-content:center;font-weight:900;letter-spacing:.6px}.theory-actions .btn:disabled{background:#dce4e6;color:#607780;border-color:#bac8ce;box-shadow:none}.theory-actions.is-correct{border-color:#8dd64f}.theory-actions.is-correction{border-color:#edb559}.theory-feedback h2{font-size:22px;margin:0 0 8px}.theory-feedback p{font-size:17px;line-height:1.5;margin:0 0 8px}.theory-feedback small{font-weight:700}.theory-actions.is-correct h2{color:#4e8b19}.theory-actions.is-correction h2{color:#956311}.theory-finish{text-align:center}.theory-finish img{width:180px;height:200px;object-fit:contain}.theory-finish p{font-size:18px;line-height:1.5}.theory-stars{display:flex;justify-content:center;gap:10px}.theory-stars span{filter:grayscale(1);opacity:.3}.theory-stars span.earned{filter:none;opacity:1}.theory-stars svg{width:44px;height:44px}.theory-references{font-size:13px;margin:20px 0;color:#556c75}.theory-references a{display:block;padding:8px 0;overflow-wrap:anywhere}.theory-session a{overflow-wrap:anywhere}
@media(max-width:380px){.theory-session{padding-inline:16px}.theory-session h1{font-size:24px}.theory-option{font-size:16px;padding:14px}.theory-hub-hero{padding:18px}.theory-hub-hero img{width:72px}.theory-hub-hero h1{font-size:24px}.theory-card>p:not(.theory-kicker){font-size:18px}}
@media(prefers-reduced-motion:reduce){.theory-progress i{transition:none}}
