:root{--ink:#1c3044;--sub:#637489;--deep:#12334e;--blue:#2776cb;--blue-strong:#195fba;--border:#e5eaf0;--wash:#f7f9fc;--card:#fff;--mint:#218b76;--orange:#db8b52;--red:#bf5962;--shadow:0 18px 52px rgba(32,56,83,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--wash);color:var(--ink);font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.68;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #7aa9ef;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.4}button{touch-action:manipulation}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{line-height:1.3}h1,h2,h3{text-wrap:balance}.skip{position:absolute;left:14px;top:-100px;background:#fff;padding:12px;z-index:100}.skip:focus{top:10px}.glyph-cache{position:absolute;overflow:hidden}.page-wrapper{max-width:1260px;margin:auto;padding:0 30px}.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.header-inner{max-width:1320px;margin:auto;display:flex;align-items:center;gap:45px;padding:0 30px;min-height:78px}.brand{border:0;background:none;display:flex;align-items:center;gap:11px;color:var(--deep);padding:0;white-space:nowrap}.brand-emblem{display:grid;place-items:center;width:38px;height:38px;background:var(--deep);color:#fff;border-radius:11px;font-family:serif;font-size:22px}.brand-name{font-weight:850;font-size:18px;letter-spacing:-.5px}.brand-name span{font-weight:450;margin-left:5px}.global-nav{display:flex;align-items:stretch;gap:28px;align-self:stretch}.global-link{border:0;background:none;border-bottom:2px solid transparent;color:#637185;font-size:14px;padding:2px 2px 0}.global-link.active{color:var(--deep);border-bottom-color:var(--blue);font-weight:750}.global-link small{background:#edf1f6;color:#687789;border-radius:20px;padding:2px 7px;margin-left:4px}.header-right{margin-left:auto;display:flex;align-items:center;gap:20px}.date-tag{font-size:12px;color:#79879a}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ecf4ff;color:var(--blue);font-weight:750}.hero{min-height:366px;border-radius:0 0 24px 24px;display:grid;grid-template-columns:1.25fr .85fr;overflow:hidden;background:#eaf3fb;position:relative;padding:56px 58px;margin:0 -2px 44px}.hero::after{content:"";position:absolute;right:-140px;top:-240px;width:600px;height:600px;border-radius:50%;border:1px solid rgba(26,88,135,.1);box-shadow:0 0 0 44px rgba(255,255,255,.11),0 0 0 130px rgba(255,255,255,.09);pointer-events:none}.hero-copy{z-index:1;max-width:590px}.hero-signal{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:#276396;font-weight:700;margin-bottom:18px}.signal-dot{height:7px;width:7px;background:#3ba8a8;border-radius:50%;box-shadow:0 0 0 4px #d5eae9}.hero h1{font-size:clamp(32px,3.6vw,49px);letter-spacing:-2px;font-weight:850;line-height:1.3;margin-bottom:18px}.title-underline{position:relative;white-space:nowrap}.title-underline::after{content:"";position:absolute;left:1%;right:1%;height:10px;bottom:-6px;border-bottom:3px solid #f0ac71;border-radius:50%;transform:rotate(-2deg)}.hero p{max-width:460px;color:#506981;line-height:1.9;margin-bottom:25px}.hero-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.primary-btn{color:#fff;background:var(--deep);border:1px solid var(--deep);border-radius:10px;padding:12px 20px;min-height:48px;font-weight:700;transition:transform .18s,background .18s}.primary-btn:hover{background:#244d71;transform:translateY(-2px)}.primary-btn span{margin-left:12px}.hero-actions>span{color:#688097;font-size:12px}.hero-art{position:relative;min-height:235px;z-index:1}.art-grid{position:absolute;inset:10px 0 0;background-image:linear-gradient(#9fc2d31f 1px,transparent 1px),linear-gradient(90deg,#9fc2d31f 1px,transparent 1px);background-size:23px 23px;mask-image:radial-gradient(circle,black,transparent 74%)}.art-paper{position:absolute;width:170px;height:202px;border:1px solid #d9e6f2;background:#fff;border-radius:15px;padding:19px;box-shadow:0 20px 60px #3d668421;display:flex;flex-direction:column;justify-content:space-between}.art-paper span{font-size:12px;color:#b1becc}.art-paper i{font-size:12px;font-style:normal;color:#718196}.art-paper b{font-family:serif;color:#2a5a84;font-size:48px;line-height:1}.art-paper-back{right:200px;top:5px;transform:rotate(-13deg) translateY(25px);background:#f7fafc}.art-paper-mid{right:102px;top:-9px;transform:rotate(5deg);background:#fdf8f2}.art-paper-front{right:20px;top:28px;transform:rotate(15deg);border-color:#f2d8c1}.art-orbit{position:absolute;right:45px;bottom:-5px;width:85px;height:85px;border:1px dashed #a6bed1;border-radius:50%}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:0 0 22px}.section-kicker{color:#427dad;font-size:12px;font-weight:750;margin-bottom:8px}.section-heading h2{font-size:25px;letter-spacing:-.8px;margin-bottom:6px}.section-heading p{color:var(--sub);font-size:13px;margin:0}.overall-stats{display:flex;gap:12px;color:#78879a;font-size:13px;white-space:nowrap}.overall-stats span{padding:9px 13px;background:#fff;border:1px solid var(--border);border-radius:10px}.overall-stats b{color:var(--ink);font-size:17px;font-variant-numeric:tabular-nums}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.subject-card{background:#fff;border:1px solid var(--border);border-radius:17px;min-height:230px;padding:24px;position:relative;text-align:left;overflow:hidden;transition:border-color .18s,transform .2s,box-shadow .2s}.subject-card:hover{border-color:#aac8e7;transform:translateY(-4px);box-shadow:var(--shadow)}.subject-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.subject-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--tone-bg);color:var(--tone);font-weight:850;font-size:21px}.subject-meta{font-size:12px;color:#8b98a6}.subject-card h3{font-size:23px;margin:19px 0 6px}.subject-card p{color:#77869a;font-size:13px;margin-bottom:25px;line-height:1.65;max-width:240px}.subject-bottom{display:flex;align-items:center;justify-content:space-between;color:var(--tone);font-weight:750;font-size:13px;position:relative;z-index:1}.subject-bottom span:last-child{font-size:19px}.subject-deco{position:absolute;right:-10px;bottom:13px;font-size:115px;font-weight:900;line-height:1;color:var(--tone-bg);opacity:.8;letter-spacing:-10px;pointer-events:none}.lower-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:18px;margin:28px 0 55px}.overview-card,.workflow-card{background:#fff;border:1px solid var(--border);border-radius:17px;padding:28px}.block-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.block-head h3,.workflow-card h3{font-size:20px;margin:0 0 15px}.quiet-tag{background:#f2f6fa;border-radius:20px;padding:5px 10px;font-size:11px;color:#70869c}.exam-row{display:flex;gap:13px;align-items:center;border-top:1px solid #edf0f4;padding:17px 0;min-width:0}.exam-row:last-child{padding-bottom:0}.exam-label{height:36px;width:36px;display:grid;place-items:center;flex:none;border-radius:9px;color:var(--blue);background:#eef6ff;font-weight:800}.exam-main{min-width:0;flex:1}.exam-main b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-main small{display:block;color:#91a0af;font-size:11px;margin-top:3px}.exam-row button{border:1px solid #dce6ef;background:#fff;border-radius:8px;padding:8px 12px;color:#326b9e;white-space:nowrap;font-size:12px}.workflow-card{background:#f2f7fb}.workflow-step{display:flex;gap:14px;padding:14px 0;border-top:1px solid #e4edf4}.workflow-step>span{width:27px;height:27px;border:1px solid #c2d4e4;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#4486b0;flex:none}.workflow-step b{font-size:13px}.workflow-step p{margin:2px 0 0;color:#75879c;font-size:12px}.footnote{text-align:center;font-size:11px;color:#9aa6b4;padding-bottom:35px}.workspace{padding-top:24px;padding-bottom:75px}.workspace[hidden],.landing[hidden]{display:none}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.workspace-breadcrumb{display:flex;gap:10px;align-items:center;color:#8895a5;font-size:12px;min-width:0;white-space:nowrap;overflow:hidden}.workspace-breadcrumb button{background:none;border:0;padding:6px 0;color:#357ab0}.workspace-breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis}.workspace-controls{display:flex;gap:8px}.soft-btn{background:#fff;border:1px solid var(--border);color:#62778a;border-radius:9px;padding:8px 12px;font-size:12px;white-space:nowrap}.course-banner{background:#143a56;border-radius:18px;padding:30px 34px;color:#fff;display:flex;gap:18px;align-items:end;justify-content:space-between;margin-bottom:22px;background-image:radial-gradient(circle at 93% 7%,#376d8c 0,transparent 36%),linear-gradient(130deg,#123a56,#1d5075)}.course-label{font-size:12px;color:#acd2f0;margin-bottom:10px}.course-banner h1{font-size:25px;line-height:1.4;margin:0 0 7px;letter-spacing:-.4px}.course-banner p{margin:0;color:#bed2e0;font-size:12px}.course-progress{text-align:right;flex:none;min-width:145px;font-size:12px;color:#d8e7f1}.track{width:145px;height:6px;border-radius:9px;background:#ffffff2c;overflow:hidden;margin:9px 0 3px}.track>div{height:100%;border-radius:9px;background:#9fdaaf;transition:width .3s}.workspace-grid{display:grid;grid-template-columns:262px minmax(0,1fr);gap:22px;align-items:start}.question-sidebar{border-radius:16px;border:1px solid var(--border);background:#fff;padding:20px;position:sticky;top:98px;max-height:calc(100vh - 115px);overflow-y:auto}.sidebar-heading{display:flex;align-items:center;justify-content:space-between}.sidebar-heading h2{font-size:16px;margin-bottom:15px}.sidebar-heading span{font-size:12px;color:#9aa6b4}.search-field{height:41px;display:flex;gap:9px;align-items:center;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:#fafbfd}.search-field svg{height:16px;width:16px;stroke:#a1adba;fill:none;stroke-width:2}.search-field input{background:transparent;width:100%;border:0;outline:none;font-size:12px}.filter-group{display:flex;gap:5px;margin:14px 0 20px}.filter-group button{border:0;background:#f4f6f9;color:#8b98a5;border-radius:7px;padding:7px 10px;font-size:12px}.filter-group button.active{background:#e6f1fd;color:#1a68b1;font-weight:700}.question-group{margin:0 0 19px}.group-title{display:flex;justify-content:space-between;color:#8290a0;font-size:11px;margin-bottom:9px}.question-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.question-buttons button{height:35px;border:1px solid #e9eef4;background:#f8fafc;color:#718094;border-radius:7px;font-size:12px;font-variant-numeric:tabular-nums;position:relative}.question-buttons button.current{background:#1e6db9;color:#fff;border-color:#1e6db9;font-weight:800}.question-buttons button.done:not(.current){background:#e6f6f0;color:#16876d;border-color:#cfece2}.question-buttons button.wrong::after{content:"";position:absolute;right:3px;top:3px;width:5px;height:5px;background:#d46a66;border-radius:50%}.sidebar-legend{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:14px;color:#8e99a8;font-size:11px}.sidebar-legend span{display:flex;align-items:center;gap:5px}.sidebar-legend i{width:7px;height:7px;border-radius:50%;background:#2374bd}.sidebar-legend .dot-done{background:#2a9d7c}.sidebar-legend .dot-wrong{background:#d56d6d}.lesson-column{min-width:0}.lesson{background:#fff;border:1px solid var(--border);border-radius:16px;padding:32px 37px;min-height:450px;box-shadow:var(--shadow)}.lesson-head{border-bottom:1px solid #edf1f4;padding-bottom:22px}.lesson-topline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.tag{background:#eff5fd;color:#2775ba;font-size:11px;padding:5px 9px;border-radius:6px}.tag.level{background:#f4f6fa;color:#7b8fa1}.tag.score{margin-left:auto;background:none;color:#9aa7b4}.lesson h2{font-size:24px;letter-spacing:-.5px;margin:0 0 5px}.lesson-subtitle{margin:0;color:#8b99aa;font-size:12px}.learning-toggle{display:inline-flex;background:#f2f5f9;border:1px solid #ebeff4;border-radius:10px;padding:4px;margin-top:18px;gap:4px}.learning-toggle button{border:0;border-radius:7px;padding:8px 14px;background:transparent;color:#789;min-height:36px;font-size:12px}.learning-toggle button.active{background:#fff;color:#266ea9;box-shadow:0 3px 12px #14365312;font-weight:750}.lesson-section{padding:23px 0;border-bottom:1px solid #f0f2f5}.lesson-section:last-of-type{border-bottom:0}.content-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#506783;margin-bottom:14px}.content-label::before{content:"";width:4px;height:14px;background:#4898d1;border-radius:3px}.stem{font-size:16px;color:#283b50;line-height:2.05;overflow-wrap:anywhere}.stem mjx-container,.answer-text mjx-container,.step-body mjx-container,.step-why mjx-container{max-width:100%;overflow-x:auto;overflow-y:hidden}.stem svg,.step-body svg{max-width:100%}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}.option{border:1px solid #e3eaf1;border-radius:10px;padding:13px 14px;background:#fff;min-height:56px;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;color:#40556c;min-width:0;overflow-wrap:anywhere;transition:border-color .16s,background .16s}.option:hover{border-color:#83b2da;background:#fbfdff}.option b{width:26px;height:26px;border-radius:8px;background:#f2f5fa;color:#6a7c92;display:grid;place-items:center;flex:none}.option.correct{background:#effaf5;border-color:#74cba8}.option.correct b{background:#278a6d;color:#fff}.option.wrong{background:#fff2f2;border-color:#eda9a9}.option.wrong b{background:#c76368;color:#fff}.note{padding:11px 14px;border-radius:8px;font-size:12px;margin-top:12px;background:#f4f8fc;color:#4d6982}.note.error{background:#fff2f1;color:#aa5960}.answer-panel{background:#f0f7fe;border-radius:12px;padding:18px 20px;margin-top:18px;border:1px solid #dceaf7}.answer-panel h4{font-size:12px;color:#4c81aa;margin:0 0 7px}.answer-text{font-size:17px;font-weight:700;overflow-wrap:anywhere;line-height:1.75}.hidden-answer{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px dashed #b9cee1;background:#fbfdff;padding:16px;border-radius:11px;margin-top:16px;color:#71869a;font-size:12px}.hidden-answer button{background:#1f6ead;color:#fff;border:0;border-radius:7px;padding:9px 13px;flex:none}.steps-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.steps-heading h3{font-size:18px;margin:0}.steps-heading span{font-size:12px;color:#91a0af}.step-controls{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 19px}.step-controls button{border:1px solid #dce6ef;border-radius:8px;background:#fff;color:#477392;padding:7px 11px;font-size:12px;min-height:36px}.step-controls .main-control{background:#1d639f;border-color:#1d639f;color:#fff}.step-item{display:grid;grid-template-columns:32px minmax(0,1fr);gap:16px;padding:0 0 23px;position:relative;animation:liftIn .27s ease-out}.step-item:not(:last-child)::before{content:"";position:absolute;left:15px;top:36px;bottom:2px;width:1px;background:#d7e4ef}.step-index{display:grid;place-items:center;height:32px;width:32px;border:1px solid #c8dfef;background:#ecf6fe;border-radius:10px;color:#2774ac;font-size:12px;font-weight:800}.step-item h4{font-size:14px;margin:3px 0 8px}.step-body{font-size:14px;color:#3d5165;line-height:1.9;overflow-wrap:anywhere}.step-why{font-size:12px;color:#6e8296;border-left:2px solid #e8ba91;margin-top:12px;padding-left:12px;line-height:1.8}.step-why strong{color:#b17d52}.tip-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.tip-card{border-radius:10px;background:#f7f9fc;padding:16px;min-width:0}.tip-card.pitfall{background:#fdf7f3}.tip-card h4{font-size:12px;margin:0 0 9px;color:#6083a4}.tip-card.pitfall h4{color:#b07e59}.tip-card div{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.lesson-pager{display:flex;gap:12px;justify-content:space-between;margin:17px 0}.lesson-pager button{border:1px solid var(--border);border-radius:10px;background:#fff;color:#496981;padding:12px 19px;font-size:13px;min-height:46px}.lesson-pager .mark-btn{background:#e7f5ee;color:#26785b;border-color:#d3e9de}.lesson-pager .mark-btn.is-done{background:#246d57;color:#fff;border-color:#246d57}.sim{background:#f6f9fd;border:1px solid #e6edf5;border-radius:12px;padding:17px;margin-top:20px;overflow:hidden}.sim-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.sim-title strong{font-size:13px}.sim-title small{font-size:11px;color:#8b9baa}.sim-stage{min-height:145px}.sim svg{width:100%;height:auto;max-height:270px}.sim text{font-family:inherit;font-size:12px;fill:#75889c}.sim .axis{stroke:#b7cadd;stroke-width:1.4;fill:none}.sim .line{stroke:#2375bb;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.sim .line-muted{stroke:#87a8c6;fill:none;stroke-width:2.5}.sim .line-coral{stroke:#dc9063;fill:none;stroke-width:3}.sim .fill-blue{fill:#d3e6fa;fill-opacity:.68}.sim-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#6f8295;margin-top:7px}.sim-tools input{flex:1;min-width:100px;accent-color:#2876bd}.sim-output{margin-left:auto;white-space:nowrap;font-weight:750;color:#276b9f;font-variant-numeric:tabular-nums}.sim-tools button{background:#fff;border:1px solid #d5e3ee;border-radius:7px;padding:6px 10px;color:#3f739a;font-size:12px}.demo-mark{color:#b67b55;background:#fff6ed;padding:5px 9px;border-radius:6px;font-size:12px;display:inline-block}.reading-lines{display:flex;flex-wrap:wrap;gap:7px;padding:12px 0}.reading-lines span{border-radius:6px;padding:5px 9px;background:#fff;border:1px solid #dde8f0;font-size:13px}.reading-lines span.hot{background:#fcebdd;color:#ad6b3f;border-color:#f4d2af}.english-line{display:flex;align-items:center;justify-content:center;gap:8px;padding:18px 0;flex-wrap:wrap}.english-line span{padding:9px 13px;border:1px solid #dce9f4;background:#fff;border-radius:8px;color:#3c647e}.english-line .highlight{background:#dfedf9;color:#20699f;border-color:#a2c9e6}.english-line .action{background:#fff0e6;color:#ac6c43;border-color:#f6d1b7}.empty{padding:18px 12px;color:#9aa5b1;font-size:12px;text-align:center}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#183d5a;color:#fff;border-radius:10px;padding:12px 18px;box-shadow:0 15px 35px #1439593b;font-size:13px;z-index:50}.mobile-nav{display:none}@keyframes liftIn{from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1050px){.hero{padding:45px 36px}.art-paper{width:144px;height:178px}.art-paper-back{right:120px}.art-paper-mid{right:55px}.art-paper-front{right:-10px}.workspace-grid{grid-template-columns:215px minmax(0,1fr)}.question-sidebar{padding:14px}.question-buttons{gap:4px}.question-buttons button{height:32px}.lesson{padding:26px 24px}}
@media(max-width:760px){.page-wrapper{padding-left:16px;padding-right:16px}.site-header .header-inner{min-height:62px;padding:0 16px;gap:12px}.brand-name{font-size:16px}.brand-emblem{height:34px;width:34px}.global-nav,.date-tag{display:none}.header-right{gap:5px}.hero{grid-template-columns:1fr;min-height:0;padding:33px 26px 32px;margin:0 0 31px;border-radius:0 0 20px 20px}.hero-copy{z-index:2}.hero h1{font-size:34px;letter-spacing:-1.5px;max-width:380px}.hero p{font-size:13px;max-width:330px}.hero-art{height:115px;min-height:0;margin:10px 0 -35px}.art-paper{height:103px;width:100px;padding:12px;border-radius:9px;box-shadow:0 5px 20px #32618112}.art-paper b{font-size:27px}.art-paper span{font-size:8px}.art-paper i{font-size:8px}.art-paper-back{right:110px;top:10px}.art-paper-mid{right:55px;top:0}.art-paper-front{right:9px;top:9px}.art-orbit{display:none}.hero-actions>span{display:none}.section-heading{align-items:start;display:block}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.overall-stats{margin-top:16px}.overall-stats span{padding:6px 11px}.subject-grid{grid-template-columns:1fr;gap:11px}.subject-card{min-height:150px;padding:18px}.subject-card h3{font-size:19px;margin:7px 0 3px}.subject-card p{margin-bottom:10px}.subject-icon{height:38px;width:38px}.subject-deco{font-size:90px;right:0}.lower-grid{grid-template-columns:1fr;margin:18px 0 32px}.overview-card,.workflow-card{padding:21px}.footnote{padding-bottom:95px}.workspace{padding-top:13px;padding-bottom:108px}.workspace-head{margin-bottom:12px}.workspace-breadcrumb{font-size:11px}.workspace-controls .soft-btn:first-child{display:none}.course-banner{padding:23px 20px;display:block;margin-bottom:14px}.course-banner h1{font-size:19px}.course-progress{text-align:left;margin-top:16px}.track{width:100%}.workspace-grid{display:block}.question-sidebar{display:none;position:relative;top:auto;max-height:300px;margin-bottom:12px;padding:16px}.question-sidebar.open{display:block}.question-buttons{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.question-buttons button{height:34px}.lesson{padding:22px 18px;border-radius:13px}.lesson h2{font-size:21px}.lesson-section{padding:19px 0}.stem{font-size:15px}.tip-grid{grid-template-columns:1fr}.option-grid{grid-template-columns:1fr}.tag.score{margin-left:0}.lesson-pager{gap:8px}.lesson-pager button{font-size:12px;padding:9px 11px;min-height:44px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e4ebf2;z-index:21;justify-content:space-around;padding:5px 8px calc(7px + env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;color:#8495a5;padding:4px 20px;min-width:74px;display:grid;place-items:center;font-size:11px;gap:0}.mobile-nav button span{font-size:21px;line-height:1.3}.mobile-nav button.active{color:#1d6cb3;font-weight:750}.toast{bottom:80px}.sim-tools{gap:7px}.sim-output{width:100%;margin-left:0}.sim-title{align-items:start}.steps-heading{align-items:start}.step-item{gap:10px}.workspace-controls{flex:none}}
@media(max-width:360px){.hero h1{font-size:29px}.question-buttons{grid-template-columns:repeat(6,1fr)}.brand-name{font-size:14px}.lesson{padding:18px 14px}.lesson-pager button{font-size:11px;padding:8px}.lesson h2{font-size:19px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media print{.site-header,.mobile-nav,.question-sidebar,.workspace-head,.lesson-pager,.step-controls,.sim-tools,.learning-toggle{display:none!important}.workspace-grid{display:block}.lesson{border:0;box-shadow:none;padding:0}.course-banner{background:#fff;color:#000;border:1px solid #ccc}.course-banner p,.course-banner .course-label{color:#555}.page-wrapper{max-width:none}}
/* Content-first layout must not grow beyond the viewport on narrow phones. */
.overview-card,.workflow-card,.subject-card,.lower-grid,.exam-main{min-width:0}.exam-row{max-width:100%}@media(max-width:760px){.lower-grid{grid-template-columns:minmax(0,1fr)}.exam-main{overflow:hidden}.exam-row button{padding:8px 9px;flex:none}}
.imported-question,.imported-answer{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:inherit;line-height:1.85;margin:0;max-width:100%;color:inherit}.imported-answer{font-size:.96em}.imported-question{padding:4px 0}

/* Source-first question context. Retains page texts before every question. */
.source-sheet{border:1px solid #d4dfeb;background:#fdfefe;border-radius:17px;padding:18px;margin:0 0 18px}
.source-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.source-heading h3{font-size:20px;line-height:1.35;margin:4px 0 6px}
.source-heading p{font-size:13px;color:var(--sub);margin:0;line-height:1.7}
.source-skip{white-space:nowrap;font-size:12px;color:#195fba;text-decoration:none;border:1px solid #c9d6e7;padding:7px 10px;border-radius:9px}
.source-page{margin:9px 0;border:1px solid #d6e0eb;background:#fff;border-radius:11px;overflow:hidden}
.source-page summary{list-style:none;cursor:pointer;padding:11px 14px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:10px}
.source-page summary::-webkit-details-marker{display:none}
.source-page summary span{font-size:12px;font-weight:400;color:var(--sub)}
.source-page-body{border-top:1px solid #e6edf5;max-height:65vh;overflow:auto}
.source-page-body pre{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;font-family:inherit;font-size:15px;line-height:1.98;padding:15px;margin:0;color:#172c42}
.source-warning{font-size:12px;line-height:1.8;color:#7b5160;margin:13px 0 0}
@media(max-width:480px){.source-sheet{padding:12px}.source-heading{flex-wrap:wrap}.source-heading h3{font-size:17px}.source-page-body pre{padding:12px;font-size:15px}}
