:root{--bg:#0d1117;--panel:#131a22;--panel2:#19222d;--panel3:#0f151c;--line:#283440;--text:#edf3f8;--muted:#93a4b5;--accent:#52d3a5;--accent2:#5ea8ff;--amber:#ffbf69;--danger:#ff7272;--radius:18px;--shadow:0 20px 50px #00000040;--sidebar:238px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-padding-top:84px}body{background:var(--bg);color:var(--text);min-height:100vh;margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{color:inherit}.app-shell{grid-template-columns:var(--sidebar) 1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);z-index:20;background:#0a0f14;flex-direction:column;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.brand{cursor:pointer;align-items:center;gap:11px;padding:0 6px 24px;display:flex}.brand-mark{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#08120e;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.brand strong{font-size:14px;display:block}.brand span{color:var(--muted);margin-top:2px;font-size:10px;display:block}.nav{gap:6px;display:grid}.nav-item{text-align:left;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:11px;padding:12px 13px;display:flex}.nav-item:hover,.nav-item.active{background:var(--panel2);color:var(--text)}.nav-item.active{box-shadow:inset 3px 0 0 var(--accent)}.nav-item span{text-align:center;width:18px}.sidebar-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:18px}.mini-stat{color:var(--muted);gap:4px;font-size:11px;display:grid}.mini-stat strong{color:var(--text);font-size:12px}.about-link{color:var(--muted);text-underline-offset:3px;margin-top:11px;font-size:11px;text-decoration:underline;display:inline-block}.ghost-btn{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:10px;width:100%;margin-top:12px;padding:9px 11px}.ghost-btn:hover{color:var(--text);border-color:#465768}.main{min-width:0}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:10;background:#0d1117eb;justify-content:space-between;align-items:center;height:68px;padding:0 26px;display:flex;position:sticky;top:0}.menu-btn{background:0 0;border:0;font-size:20px;display:none}.crumb{color:var(--muted);font-size:13px}.top-actions{align-items:center;gap:14px;display:flex}.streak{color:var(--amber);font-size:12px}.avatar{background:var(--panel2);border:1px solid var(--line);border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;font-weight:800;display:grid}.page{max-width:1440px;margin:0 auto;padding:34px}.hero{grid-template-columns:1.4fr .6fr;align-items:stretch;gap:22px;display:grid}.hero-card,.card{background:linear-gradient(180deg,var(--panel),var(--panel3));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.hero-card{padding:34px}.eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:800}.hero h1{letter-spacing:-1.8px;margin:12px 0 14px;font-size:clamp(32px,4vw,58px);line-height:1.02}.hero p{color:var(--muted);max-width:720px;font-size:16px;line-height:1.65}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.btn{background:var(--accent);color:#07120e;cursor:pointer;border:0;border-radius:11px;padding:12px 16px;font-weight:800}.btn.secondary{background:var(--panel2);color:var(--text);border:1px solid var(--line)}.btn:hover{filter:brightness(1.07)}.metric-card{flex-direction:column;justify-content:center;padding:26px;display:flex}.big-number{letter-spacing:-1px;font-size:44px;font-weight:850}.label{color:var(--muted);font-size:12px}.bar{background:#0b1015;border-radius:999px;height:8px;margin-top:12px;overflow:hidden}.bar>span{background:linear-gradient(90deg,var(--accent),var(--accent2));border-radius:inherit;height:100%;display:block}.section{margin-top:34px}.section-head{justify-content:space-between;align-items:end;margin-bottom:14px;display:flex}.section-head h2{margin:0;font-size:20px}.section-head p{color:var(--muted);margin:0;font-size:12px}.grid-3{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.grid-2{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.equipment-card{cursor:pointer;padding:20px;transition:transform .2s,border-color .2s}.equipment-card:hover{border-color:#436174;transform:translateY(-3px)}.equip-icon{width:46px;height:46px;color:var(--accent);background:#0c1717;border:1px solid #254d45;border-radius:14px;place-items:center;margin-bottom:16px;font-weight:900;display:grid}.equipment-card h3{margin:0 0 8px;font-size:17px}.equipment-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.card-meta{color:var(--muted);justify-content:space-between;margin-top:18px;font-size:11px;display:flex}.scenario-card{border-left:3px solid var(--amber);padding:22px}.scenario-card h3{margin:7px 0 8px}.scenario-card p{color:var(--muted);font-size:13px;line-height:1.6}.chip{border:1px solid var(--line);color:var(--muted);border-radius:999px;gap:4px;padding:5px 8px;font-size:10px;display:inline-flex}.chip.good{color:var(--accent);border-color:#285e51}.chip.warn{color:var(--amber);border-color:#5f4b2c}.equip-head{grid-template-columns:1fr auto;align-items:end;gap:20px;display:grid}.equip-head h1{margin:6px 0;font-size:34px}.equip-head p{color:var(--muted);max-width:780px;line-height:1.6}.mastery-box{min-width:220px}.tabs{gap:7px;margin:26px 0 18px;padding-bottom:4px;display:flex;overflow:auto}.tab{white-space:nowrap;border:1px solid var(--line);background:var(--panel3);color:var(--muted);cursor:pointer;border-radius:10px;padding:10px 13px}.tab.active{background:var(--panel2);color:var(--text);border-color:#426479}.content-card{padding:24px}.lesson-list{gap:12px;display:grid}.lesson{border:1px solid var(--line);cursor:pointer;background:#ffffff03;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:15px;display:grid}.lesson:hover{border-color:#436174}.lesson-check{border:1px solid var(--line);width:28px;height:28px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.lesson.done .lesson-check{background:#123d32;border-color:#2f7d67}.lesson h3{margin:0 0 4px;font-size:14px}.lesson p{color:var(--muted);margin:0;font-size:11px}.lesson-time{color:var(--muted);font-size:11px}.lesson-detail{border:1px solid var(--line);background:#0b1015;border-radius:14px;margin-top:16px;padding:20px}.lesson-detail h3{margin-top:0}.lesson-detail p{color:#c1ced9;line-height:1.7}.source{color:var(--muted);border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:10px}.takeaway{border-left:3px solid var(--accent);color:#d9f7eb;background:#10201c;border-radius:0 10px 10px 0;padding:11px 14px}.explore-layout{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:18px;display:grid}.diagram{border:1px solid var(--line);background:radial-gradient(circle at 50% 45%,#182833,#0a1015 65%);border-radius:16px;place-items:center;min-height:420px;padding:18px;display:grid;overflow:hidden}.diagram svg{max-width:100%;height:auto}.hotspot{cursor:pointer;transition:all .2s}.hotspot:hover circle,.hotspot.active circle{fill:var(--accent)!important;stroke:#caffec!important}.part-panel{padding:22px}.part-panel h3{margin-top:0}.part-panel p{color:var(--muted);line-height:1.65}.sim-grid{grid-template-columns:380px 1fr;gap:18px;display:grid}.controls{padding:22px}.control{margin:14px 0}.control label{color:var(--muted);justify-content:space-between;margin-bottom:7px;font-size:11px;display:flex}.control input[type=range]{width:100%;accent-color:var(--accent)}.control input[type=number]{border:1px solid var(--line);width:100%;color:var(--text);background:#0b1015;border-radius:10px;padding:10px}.result-panel{padding:22px}.result-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;display:grid}.result{border:1px solid var(--line);background:#0b1015;border-radius:12px;padding:14px}.result strong{margin-top:5px;font-size:22px;display:block}.status{background:#10201c;border:1px solid #285e51;border-radius:12px;margin-top:16px;padding:13px}.status.warn{background:#241d10;border-color:#5f4b2c}.status.bad{background:#281416;border-color:#6e3339}.scenario-shell{grid-template-columns:1fr 1fr;gap:18px;display:grid}.evidence-list{gap:9px;margin:15px 0;display:grid}.evidence-btn{border:1px solid var(--line);text-align:left;cursor:pointer;background:#0b1015;border-radius:10px;padding:12px}.evidence-btn.revealed{background:#121d26;border-color:#426479}.evidence-value{color:#c7d7e4;margin-top:8px;font-size:12px;line-height:1.5;display:none}.evidence-btn.revealed .evidence-value{display:block}.options{gap:9px;margin-top:14px;display:grid}.option{border:1px solid var(--line);text-align:left;cursor:pointer;background:#0b1015;border-radius:10px;padding:12px}.option.correct{background:#10261f;border-color:#2f7d67}.option.wrong{background:#281416;border-color:#7d3740}.feedback{color:#c5d2dc;background:#101820;border-radius:10px;margin-top:14px;padding:14px;line-height:1.6;display:none}.feedback.show{display:block}.quiz-q{margin:8px 0 20px;font-size:20px;line-height:1.45}.quiz-progress{color:var(--muted);font-size:11px}.quiz-option{text-align:left;border:1px solid var(--line);cursor:pointer;background:#0b1015;border-radius:11px;width:100%;margin:9px 0;padding:13px 14px;display:block}.quiz-option:hover{border-color:#436174}.ref-list{gap:10px;display:grid}.ref-item{border:1px solid var(--line);border-radius:10px;justify-content:space-between;gap:15px;padding:13px;display:flex}.ref-item span{color:var(--muted);font-size:12px}.tools-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.tool{padding:22px}.tool h3{margin-top:0}.tool p{color:var(--muted);font-size:13px;line-height:1.5}.empty{text-align:center;color:var(--muted);padding:50px}.progress-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.progress-card{padding:22px}.progress-card h3{margin:0 0 16px}.progress-row{margin:12px 0}.progress-row .row{color:var(--muted);justify-content:space-between;margin-bottom:6px;font-size:11px;display:flex}.daily-badge{color:var(--amber);background:#1f1a0f;border-radius:9px;align-items:center;gap:7px;padding:7px 9px;font-size:11px;display:inline-flex}.small{color:var(--muted);font-size:11px}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{width:238px;transition:all .2s;position:fixed;left:-260px;overflow-y:auto}.sidebar.open{left:0}.menu-btn{display:block}.hero,.grid-3,.progress-grid,.sim-grid,.explore-layout,.scenario-shell,.equip-head{grid-template-columns:1fr}.mastery-box{min-width:0}.page{padding:22px}.topbar{padding:0 18px}.result-grid{grid-template-columns:1fr 1fr}}@media (width<=560px){.grid-2,.tools-grid,.result-grid{grid-template-columns:1fr}.page{padding:16px}.hero-card{padding:24px}.hero h1{font-size:36px}.content-card{padding:17px}.lesson{grid-template-columns:auto 1fr}.lesson-time{grid-column:2}.top-actions .streak{display:none}}.lesson{width:100%;color:inherit;text-align:left}.equipment-svg{width:100%}.equipment-svg svg{max-width:100%;max-height:460px;margin:auto;display:block}.hotspot-list{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;display:flex}.hotspot-button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#172630;border-radius:999px;padding:8px 10px}.hotspot-button.active{border-color:var(--accent);color:var(--text);background:#123d32}.btn{display:inline-block}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent2);outline-offset:3px}.skip-link{z-index:100;background:var(--accent2);color:#07111a;border-radius:10px;padding:11px 14px;font-weight:800;position:fixed;top:-80px;left:14px}.skip-link:focus{top:max(14px,env(safe-area-inset-top))}.nav-backdrop{display:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-title{margin:8px 0 0;font-size:32px}.educational-note{background:#241d10;border:1px solid #5f4b2c;border-radius:12px;margin-top:18px;padding:14px}.educational-note p{color:#dbcaa9;margin:6px 0 0;line-height:1.6}.first-launch-guide{grid-template-columns:1fr 1.4fr;gap:24px;margin-top:22px;padding:22px;display:grid}.first-launch-guide h2{margin:7px 0}.first-launch-guide p{color:var(--muted);line-height:1.6}.first-launch-guide ol{grid-template-columns:repeat(3,1fr);gap:10px;margin:0;padding:0;list-style:none;display:grid}.first-launch-guide li{border:1px solid var(--line);background:#0b1015;border-radius:12px;gap:7px;padding:14px;display:grid}.first-launch-guide li span{color:var(--muted);font-size:11px;line-height:1.5}.about-page{gap:16px;max-width:820px;margin:auto;display:grid}.about-page>header{margin-bottom:8px}.about-page>header h1{margin:8px 0;font-size:clamp(36px,6vw,58px)}.about-page>header p,.about-card p{color:var(--muted);line-height:1.7}.about-card{padding:24px}.about-card h2{margin-top:0}.fatal-recovery{place-items:center;min-height:100dvh;padding:24px;display:grid}.fatal-recovery .card{max-width:620px;padding:30px}.fatal-recovery h1{font-size:clamp(30px,5vw,48px)}.fatal-recovery p{color:var(--muted);line-height:1.7}.recovery-actions{flex-wrap:wrap;gap:10px;display:flex}.concept-invite{background:#10201c;border:1px solid #285e51;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;padding:16px 18px;display:flex}.concept-invite strong{margin-top:8px;font-size:18px;display:block}.concept-invite p{color:var(--muted);margin:4px 0 0;font-size:12px}.concept-page{gap:22px;max-width:1080px;margin:auto;display:grid}.concept-hero{justify-content:space-between;align-items:center;gap:30px;padding:30px;display:flex}.concept-hero h1{letter-spacing:-1.5px;margin:8px 0;font-size:clamp(38px,6vw,66px)}.concept-hero p{color:var(--muted);max-width:720px;font-size:16px;line-height:1.6}.concept-tags{flex-wrap:wrap;gap:7px;margin-top:18px;display:flex}.concept-progress{border-left:1px solid var(--line);gap:5px;min-width:150px;padding-left:26px;display:grid}.concept-progress>strong{font-size:34px}.concept-progress>span:not(.chip){color:var(--muted);font-size:11px}.depth-picker{justify-content:space-between;align-items:end;gap:20px;display:flex}.depth-picker h2{margin:7px 0 0}.depth-tabs{flex-wrap:wrap;gap:7px;display:flex}.depth-tab{border:1px solid var(--line);background:var(--panel3);color:var(--muted);cursor:pointer;border-radius:11px;padding:11px 15px}.depth-tab.active{color:var(--text);background:var(--panel2);box-shadow:inset 0 -2px 0 var(--accent);border-color:#426479}.concept-blocks{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.concept-block{border:1px solid var(--line);background:linear-gradient(180deg,var(--panel),var(--panel3));border-radius:16px;padding:24px}.concept-block h2{margin:0 0 14px;font-size:18px}.concept-block>p,.concept-block li{color:#c1ced9;line-height:1.7}.concept-block ul{margin-bottom:0;padding-left:20px}.concept-block li+li{margin-top:9px}.key-idea{border-left:3px solid var(--accent);grid-column:1/-1}.key-idea p{margin-bottom:0;font-size:18px}.reasoning-flow{gap:11px;display:grid}.reasoning-step{grid-template-columns:28px 1fr;align-items:start;gap:11px;display:grid}.reasoning-step>span{width:28px;height:28px;color:var(--accent);background:#123d32;border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.reasoning-step p{color:#c1ced9;margin:3px 0;line-height:1.55}.variable-grid{gap:9px;display:grid}.variable{border:1px solid var(--line);background:#0b1015;border-radius:11px;padding:12px}.variable p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.concept-block.misconception{background:#241d10;border-color:#5f4b2c;grid-column:1/-1;grid-template-columns:1fr 1fr;align-items:center;gap:24px;display:grid}.misconception h2{margin:12px 0 0}.related-list{gap:8px;display:grid}.related-concept{border:1px solid var(--line);border-radius:10px;justify-content:space-between;gap:12px;padding:11px;display:flex}.related-concept:not(.unavailable):hover{border-color:#426479}.related-concept.unavailable{color:var(--muted)}.related-concept span{color:var(--muted);font-size:11px}.concept-actions{justify-content:space-between;align-items:center;gap:22px;padding:24px;display:flex}.concept-actions h2{margin:7px 0 0}.action-links{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.concept-sources{padding:18px 22px}.concept-sources summary{cursor:pointer;font-weight:700}.source-reference{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:6px 18px;margin-top:16px;padding-top:16px;display:grid}.source-reference span{color:var(--muted);text-align:right;font-size:11px}.source-reference p{color:var(--muted);grid-column:1/-1;margin:4px 0;font-size:12px}.concept-not-found h1{font-size:36px}.concept-not-found p{margin-bottom:20px}.curriculum-panel{margin-bottom:18px;padding:22px}.curriculum-panel .section-head{align-items:end}.curriculum-panel .section-head h2{margin:7px 0 0}.curriculum-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.curriculum-item{border:1px solid var(--line);background:#0b1015;border-radius:12px;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:11px;padding:13px;display:grid}.curriculum-item:hover,.curriculum-item.recommended{border-color:#426479}.curriculum-item.recommended{background:#10201c}.curriculum-number{background:var(--panel2);width:28px;height:28px;color:var(--accent);border-radius:9px;place-items:center;font-size:11px;font-weight:800;display:grid}.curriculum-item>span:nth-child(2){gap:4px;display:grid}.curriculum-item small,.curriculum-item em{color:var(--muted);font-size:10px;font-style:normal;line-height:1.45}.curriculum-item em{color:#9db8ca}.curriculum-state{color:var(--accent);white-space:nowrap;font-size:10px}.curriculum-item strong{font-size:13px}.engineering-review-notes{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.engineering-review-notes ul{color:var(--muted);margin-bottom:0;padding-left:20px;font-size:12px;line-height:1.6}@media (width<=760px){.concept-hero,.depth-picker,.concept-actions{flex-direction:column;align-items:stretch}.concept-progress{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.concept-blocks,.curriculum-grid,.concept-block.misconception{grid-template-columns:1fr}.action-links{justify-content:flex-start}.concept-invite{flex-direction:column;align-items:flex-start}.source-reference{grid-template-columns:1fr}.source-reference span{text-align:left}.source-reference p{grid-column:1}.depth-tabs{grid-template-columns:repeat(2,1fr);display:grid}.curriculum-item{grid-template-columns:30px minmax(0,1fr)}.curriculum-state{grid-column:2}}.quiz-page,.quiz-results-page{gap:20px;max-width:920px;margin:auto;display:grid}.quiz-header{justify-content:space-between;align-items:end;gap:24px;display:flex}.quiz-header h1,.results-hero h1{margin:7px 0;font-size:clamp(30px,5vw,48px)}.quiz-header p,.results-hero p{color:var(--muted);margin:0}.quiz-count{text-align:right;display:grid}.quiz-count strong{font-size:26px}.quiz-count span{text-transform:capitalize;color:var(--muted);font-size:11px}.quiz-track{background:#0b1015;border-radius:99px;height:6px;overflow:hidden}.quiz-track span{background:linear-gradient(90deg,var(--accent),var(--accent2));height:100%;transition:width .25s;display:block}.assessment-card{padding:28px}.question-meta{color:var(--muted);justify-content:space-between;align-items:center;font-size:11px;display:flex}.assessment-card>h2{margin:22px 0;font-size:clamp(21px,3vw,29px);line-height:1.4}.scenario-context{border-left:3px solid var(--amber);background:#1f1a0f;border-radius:0 12px 12px 0;margin-top:18px;padding:16px}.scenario-context p{color:#c1ced9;margin:7px 0 0;line-height:1.6}.answer-options{gap:10px;display:grid}.answer-options.two{grid-template-columns:repeat(2,1fr)}.answer-option{text-align:left;border:1px solid var(--line);color:var(--text);cursor:pointer;background:#0b1015;border-radius:12px;padding:14px 16px}.answer-option:not(:disabled):hover,.answer-option.selected{background:#142333;border-color:#5ea8ff}.answer-option:disabled{cursor:default}.submit-answer{margin-top:20px}.submit-answer:disabled{opacity:.45;cursor:not-allowed}.numeric-answer{color:var(--muted);gap:8px;font-size:12px;display:grid}.numeric-answer>div{border:1px solid var(--line);background:#0b1015;border-radius:12px;align-items:center;max-width:320px;display:flex;overflow:hidden}.numeric-answer input{width:100%;color:var(--text);background:0 0;border:0;padding:14px}.numeric-answer strong{padding:0 16px}.numeric-answer small{color:var(--muted)}.sequence-answer>p{color:var(--muted);font-size:12px}.sequence-item{border:1px solid var(--line);background:#0b1015;border-radius:11px;grid-template-columns:30px 1fr auto;align-items:center;gap:11px;margin-top:8px;padding:10px;display:grid}.sequence-item>span{background:var(--panel2);border-radius:8px;place-items:center;width:27px;height:27px;font-size:11px;display:grid}.sequence-item p{margin:0;line-height:1.45}.sequence-item>div{gap:5px;display:flex}.sequence-item button{border:1px solid var(--line);background:var(--panel2);cursor:pointer;border-radius:7px;width:30px;height:30px}.sequence-item button:disabled{opacity:.3}.answer-feedback{border:1px solid;border-radius:14px;margin-top:22px;padding:20px}.answer-feedback.correct{background:#10261f;border-color:#2f7d67}.answer-feedback.incorrect{background:#281416;border-color:#7d3740}.feedback-verdict{font-size:22px;font-weight:850}.answer-comparison{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px;display:grid}.answer-comparison>div{background:#0003;border-radius:10px;gap:5px;padding:12px;display:grid}.answer-comparison span,.why>span{color:var(--muted);text-transform:uppercase;letter-spacing:.8px;font-size:10px}.answer-comparison strong{line-height:1.45}.why{margin-top:16px}.why p{color:#d4dee6;line-height:1.65}.misconception-note{border-top:1px solid #ffffff1a;padding-top:12px}.feedback-actions{justify-content:space-between;align-items:center;gap:14px;margin-top:18px;display:flex}.concept-link{color:var(--accent);font-size:12px}.results-hero{justify-content:space-between;align-items:center;padding:28px;display:flex}.score-ring{text-align:center;background:radial-gradient(circle,#121c25 55%,transparent 57%),conic-gradient(var(--accent) 0 75%,#26333e 75%);border:1px solid var(--line);border-radius:50%;place-content:center;width:130px;height:130px;display:grid}.score-ring strong{font-size:31px}.score-ring span{color:var(--muted);font-size:10px}.results-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.results-panel{padding:22px}.results-panel h2{margin-top:0;font-size:17px}.type-result{border-top:1px solid var(--line);justify-content:space-between;padding:10px 0;font-size:12px;display:flex}.review-concept{text-transform:capitalize;background:#241d10;border:1px solid #5f4b2c;border-radius:10px;padding:12px}.success-copy{color:var(--accent);line-height:1.6}.results-actions{flex-wrap:wrap;justify-content:center;gap:9px;display:flex}.answer-review{gap:12px;display:grid}.review-item{grid-template-columns:38px 1fr;gap:14px;padding:20px;display:grid}.review-item.correct{border-left:3px solid var(--accent)}.review-item.incorrect{border-left:3px solid var(--danger)}.review-number{background:var(--panel2);border-radius:50%;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.review-item h3{line-height:1.45}.review-item>div>p{color:var(--muted);line-height:1.65}.quiz-not-found h1{font-size:36px}.quiz-not-found p{margin-bottom:20px}@media (width<=640px){.quiz-header,.results-hero{flex-direction:column;align-items:stretch}.quiz-count{text-align:left;justify-content:space-between;display:flex}.results-grid,.answer-comparison{grid-template-columns:1fr}.score-ring{width:110px;height:110px}.feedback-actions{flex-direction:column;align-items:stretch}.feedback-actions .btn{text-align:center;width:100%}.assessment-card{padding:20px}.review-item,.answer-options.two{grid-template-columns:1fr}}.history-page,.attempt-review-page,.mistake-page,.mistake-review-page{gap:20px;max-width:980px;margin:auto;display:grid}.history-header{justify-content:space-between;align-items:end;gap:24px;display:flex}.history-header h1{margin:7px 0;font-size:clamp(34px,6vw,54px)}.history-header p{color:var(--muted);margin:0;line-height:1.6}.history-clear{width:auto;margin:0}.history-filters{grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;padding:18px;display:grid}.history-filters label{color:var(--muted);gap:7px;font-size:11px;display:grid}.history-filters select{width:100%;color:var(--text);border:1px solid var(--line);background:#0b1015;border-radius:10px;padding:11px}.history-filters .checkbox-filter{color:var(--text);white-space:nowrap;align-items:center;gap:8px;padding:11px 0;display:flex}.checkbox-filter input{accent-color:var(--accent)}.attempt-list{gap:12px;display:grid}.attempt-card{padding:21px}.attempt-card>time,.historical-question time{color:var(--muted);font-size:11px}.attempt-summary{justify-content:space-between;align-items:center;gap:20px;margin:12px 0;display:flex}.attempt-summary span{color:var(--muted);text-transform:capitalize;font-size:12px}.attempt-summary h2{margin:6px 0 0;font-size:20px}.attempt-score{text-align:right;white-space:nowrap;display:grid}.attempt-score strong{font-size:23px}.attempt-score span{color:var(--accent);font-size:12px}.attempt-score.large strong{font-size:34px}.attempt-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:13px;display:flex}.mistake-count{color:var(--danger);font-size:12px}.perfect-count{color:var(--accent);font-size:12px}.history-empty h2{color:var(--text)}.history-empty p{margin-bottom:20px}.historical-questions{gap:14px;display:grid}.historical-question,.mistake-review-item{padding:23px}.historical-question.correct{border-left:3px solid var(--accent)}.historical-question.incorrect,.mistake-review-item{border-left:3px solid var(--danger)}.historical-question-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.historical-question-head>div{align-items:center;gap:9px;display:flex}.historical-question h2,.mistake-review-item h2{margin:18px 0;font-size:20px;line-height:1.45}.version-warning{color:var(--amber);font-size:10px}.historical-actions,.mistake-actions{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.back-history{justify-self:start}.mistake-equipment>h2{text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);margin:10px 0;font-size:14px}.mistake-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.mistake-group{justify-content:space-between;align-items:end;gap:18px;padding:22px;display:flex}.mistake-group.repeated,.mistake-review-item.repeated{box-shadow:inset 0 0 0 1px #5f4b2c,var(--shadow)}.mistake-group h3{text-transform:capitalize;margin:12px 0 6px;font-size:24px}.mistake-group>div>strong{color:var(--danger)}.mistake-group p{color:var(--muted);font-size:11px}.mistake-actions{justify-content:flex-end}.mistake-frequency{color:var(--danger);background:#281416;border:1px solid #7d3740;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}@media (width<=720px){.history-header,.attempt-summary,.mistake-group{flex-direction:column;align-items:stretch}.history-filters{grid-template-columns:1fr}.history-filters .checkbox-filter{padding:4px 0}.attempt-score{text-align:left;align-items:baseline;gap:12px;display:flex}.mistake-grid{grid-template-columns:1fr}.mistake-actions{justify-content:flex-start}.historical-question,.mistake-review-item{padding:18px}.historical-question-head{align-items:flex-start}.history-clear{align-self:flex-start}.history-page,.attempt-review-page,.mistake-page,.mistake-review-page{min-width:0}}.home-review-card{background:linear-gradient(135deg,#10201c,var(--panel3));border-color:#285e51;justify-content:space-between;align-items:center;gap:24px;margin-top:22px;padding:22px;display:flex}.home-review-card h2{margin:7px 0;font-size:28px}.home-review-card p{color:var(--muted);margin:0}.home-weak-concepts{flex-wrap:wrap;gap:7px;margin-top:14px;display:flex}.home-weak-concepts span{border:1px solid var(--line);color:#c5d7d1;background:#0b1514;border-radius:999px;padding:6px 9px;font-size:10px}.home-review-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;max-width:480px;display:flex}.subtle-link{color:var(--accent);padding:8px;font-size:11px}.daily-review-page,.weak-areas-page{gap:20px;max-width:980px;margin:auto;display:grid}.review-page-header{justify-content:space-between;align-items:end;gap:28px;display:flex}.review-page-header h1{margin:7px 0;font-size:clamp(38px,6vw,58px)}.review-page-header p{color:var(--muted);max-width:720px;margin:0;line-height:1.6}.review-size{text-align:right;min-width:150px;display:grid}.review-size strong{font-size:44px}.review-size span{color:var(--muted);font-size:12px}.review-size small{color:var(--accent);margin-top:6px}.due-summary{padding:24px}.due-concept{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.due-concept>div{gap:4px;display:grid}.due-concept>div:last-child{text-align:right}.due-concept span{color:var(--muted);font-size:11px}.review-start{align-items:center;gap:14px;display:flex}.review-start span{color:var(--muted);font-size:11px}.caught-up{align-items:center;gap:18px;padding:25px;display:flex}.caught-up>span{width:48px;height:48px;color:var(--accent);background:#123d32;border-radius:50%;place-items:center;font-size:22px;display:grid}.caught-up h2{margin:0 0 5px}.caught-up p{color:var(--muted);margin:0}.caught-up .btn{white-space:nowrap;margin-left:auto}.review-explainer,.mastery-method{border-top:1px solid var(--line);padding:22px}.review-explainer h2,.mastery-method h2{margin:0 0 8px;font-size:16px}.review-explainer p,.mastery-method p{color:var(--muted);margin:0;font-size:12px;line-height:1.65}.weak-list{gap:12px;display:grid}.weak-card{justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex}.weak-card>div>span{color:var(--muted);text-transform:uppercase;letter-spacing:1px;font-size:10px}.weak-card h2{margin:7px 0;font-size:23px}.weak-card p{color:var(--muted);margin:0;font-size:11px}.mastery-estimate{text-align:right;min-width:120px;display:grid}.mastery-estimate strong{font-size:32px}.mastery-estimate span{font-size:11px}.mastery-estimate.needs_review{color:var(--danger)}.mastery-estimate.developing{color:var(--amber)}.mastery-estimate.strong{color:var(--accent)}.review-movement{padding:22px}.review-movement h2{margin:0 0 6px}.mastery-disclaimer{color:var(--muted);font-size:11px;line-height:1.5}.movement-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:14px 0;display:flex}.movement-row>div{gap:4px;display:grid}.movement-row span{color:var(--muted);font-size:11px}.movement-score{text-align:right}.movement-score>strong{color:var(--accent)}@media (width<=720px){.home-review-card,.review-page-header,.caught-up,.weak-card{flex-direction:column;align-items:stretch}.home-review-actions{justify-content:flex-start;max-width:none}.home-review-actions .btn{text-align:center;width:100%}.review-size{text-align:left;align-items:baseline;gap:9px;display:flex}.review-size strong{font-size:34px}.caught-up .btn{text-align:center;margin-left:0}.review-start{flex-direction:column;align-items:stretch}.review-start .btn{text-align:center}.mastery-estimate{text-align:left}.movement-row{flex-direction:column;align-items:flex-start}.movement-score{text-align:left}.daily-review-page,.weak-areas-page{min-width:0}}.pwa-status{right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:50;justify-items:end;gap:10px;max-width:min(440px,100vw - 36px);display:grid;position:fixed}.offline-indicator{width:max-content;max-width:100%;color:var(--amber);box-shadow:var(--shadow);background:#241d10f5;border:1px solid #5f4b2c;border-radius:999px;padding:8px 11px;font-size:11px}.pwa-notice{border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f151cfa;border-radius:16px;width:100%;padding:20px;position:relative;box-shadow:0 24px 70px #00000080}.pwa-notice h2{margin:7px 28px 7px 0;font-size:18px;line-height:1.35}.pwa-notice p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.pwa-notice ol{color:#c8d4dd;margin:15px 0 0;padding-left:22px;font-size:12px;line-height:1.7}.notice-close{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:22px;position:absolute;top:9px;right:10px}.notice-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.update-notice{border-color:#285e51}.update-notice .notice-actions .btn{text-align:center;min-width:102px}@media (display-mode:standalone){.app-shell{min-height:100dvh}.sidebar{padding-top:calc(22px + env(safe-area-inset-top));padding-bottom:calc(22px + env(safe-area-inset-bottom));height:100dvh}.topbar{height:calc(68px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.page{padding-bottom:calc(34px + env(safe-area-inset-bottom))}}@media (width<=980px){.sidebar{height:100dvh;padding-top:calc(22px + env(safe-area-inset-top));padding-bottom:calc(22px + env(safe-area-inset-bottom))}.nav-backdrop{z-index:19;cursor:pointer;background:#0000009e;border:0;display:block;position:fixed;inset:0}.topbar{height:calc(68px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.page{padding-bottom:calc(22px + env(safe-area-inset-bottom))}.menu-btn,.nav-item,.btn,.ghost-btn,.tab,.depth-tab,.answer-option,.quiz-option,.evidence-btn,.option,.hotspot-button,.sequence-item button,.notice-close{min-width:44px;min-height:44px}input,select,textarea{font-size:16px}.first-launch-guide,.first-launch-guide ol{grid-template-columns:1fr}}@media (width<=560px){.pwa-status{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));max-width:none}.pwa-notice{padding:17px}.notice-actions{align-items:stretch}.notice-actions .btn{flex:1}.offline-indicator{font-size:10px}.page{padding:16px max(16px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.topbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.sequence-item{grid-template-columns:30px minmax(0,1fr)}.sequence-item>div{grid-column:2}.ref-item{flex-direction:column;align-items:flex-start}.card-meta{flex-direction:column;align-items:flex-start;gap:6px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.top-sync{color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:6px 9px;font-size:10px}.top-sync.synced{color:var(--accent);border-color:#285e51}.top-sync.offline,.top-sync.import_required{color:var(--amber);border-color:#5f4b2c}.top-sync.error{color:var(--danger);border-color:#7d3740}.account-page{gap:22px;max-width:760px;margin:auto;display:grid}.account-header h1{margin:8px 0;font-size:clamp(36px,6vw,56px)}.account-header p{color:var(--muted);line-height:1.6}.account-panel{padding:26px}.account-tabs{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:22px;display:grid}.account-tabs button{border:1px solid var(--line);background:var(--panel3);color:var(--muted);cursor:pointer;border-radius:10px;padding:11px}.account-tabs button.active{background:var(--panel2);color:var(--text);border-color:#426479}.account-form{gap:15px;display:grid}.account-form label{color:var(--muted);gap:7px;font-size:11px;display:grid}.account-form input{border:1px solid var(--line);width:100%;color:var(--text);background:#0b1015;border-radius:10px;padding:12px 13px}.account-form .btn{justify-self:start}.form-error,.form-success,.account-callout{border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.5}.form-error{color:#ffd2d6;background:#281416;border:1px solid #7d3740}.form-success{color:#d9f7eb;background:#10261f;border:1px solid #2f7d67}.account-callout{background:#241d10;border:1px solid #5f4b2c;margin:18px 0}.account-callout p{color:#dbcaa9;margin:6px 0 0}.privacy-note{color:var(--muted);margin:18px 0;font-size:11px;line-height:1.6}.privacy-note strong{color:var(--text);font-size:12px;display:block}.privacy-note p{margin:5px 0}.account-status-row{justify-content:space-between;align-items:center;gap:20px;display:flex}.account-status-row>div{grid-template-columns:auto 1fr;align-items:center;gap:5px 9px;display:grid}.account-status-row small{color:var(--muted);grid-column:2}.sync-dot{background:var(--muted);border-radius:50%;width:9px;height:9px}.sync-dot.synced{background:var(--accent)}.sync-dot.offline,.sync-dot.import_required{background:var(--amber)}.sync-dot.error{background:var(--danger)}.sync-dot.syncing{background:var(--accent2)}@media (width<=720px){.top-sync{display:none}.account-status-row{flex-direction:column;align-items:stretch}.account-status-row .btn{width:100%}.account-panel{padding:20px}}
