:root{--background:#f7fafc;--paper:#ffffff;--ink:#172033;--muted:#64748b;--line:#dbe3ef;--line-strong:#c2cede;--teal:#0f766e;--blue:#2563eb;--red:#dc2626;--soft-blue:#eff6ff;--soft-teal:#ecfdf5;--shadow:0 18px 50px rgba(15,23,42,0.08)}*{box-sizing:border-box}html{background:var(--background)}body{margin:0;color:var(--ink);background:linear-gradient(90deg,rgba(37,99,235,.05) 1px,transparent 1px),linear-gradient(180deg,rgba(15,118,110,.04) 1px,transparent 1px),var(--background);background-size:44px 44px;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-shell{display:grid;grid-template-columns:270px minmax(0,1fr) 420px;gap:20px;min-height:100vh;padding:20px}.chapter-rail,.lab-rail{align-self:start;position:sticky;top:20px}.chapter-rail{display:flex;flex-direction:column;gap:18px;max-height:calc(100vh - 40px)}.brand{grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:16px;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow)}.brand,.brand-mark{display:grid;border-radius:8px}.brand-mark{width:42px;height:42px;place-items:center;color:#ffffff;background:var(--teal);font-weight:800}.brand small,.brand strong{display:block}.brand strong{font-size:15px;line-height:1.25}.brand small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.35}.chapter-list{display:flex;flex:1 1;flex-direction:column;gap:6px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.9)}.chapter-link{display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:center;min-height:44px;padding:9px 10px;border:1px solid transparent;border-radius:7px;color:var(--muted)}.chapter-link span{color:#94a3b8;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chapter-link strong{font-size:13px;line-height:1.25}.chapter-link.is-active,.chapter-link:hover{border-color:#bfdbfe;color:var(--ink);background:var(--soft-blue)}.chapter-link.is-active span{color:var(--blue)}.chapter-list-spacer{flex:0 0 var(--chapter-list-end-space,0px);pointer-events:none}.lesson-frame{min-width:0;padding:34px 42px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:var(--shadow)}.lesson-header{padding-bottom:22px;border-bottom:1px solid var(--line)}.lesson-header p,.panel-heading p{margin:0 0 8px;color:var(--teal);font-size:12px;font-weight:800;text-transform:uppercase}.lesson-header h1{margin:0;font-size:38px;line-height:1.18}.lesson-header span{display:block;margin-top:10px;color:var(--muted);font-size:16px;line-height:1.6}.focus-strip{display:grid;grid-template-columns:100px 1fr;gap:16px;margin:24px 0 6px;padding:16px 18px;border:1px solid #bbf7d0;border-radius:8px;background:var(--soft-teal)}.focus-strip strong{color:var(--teal);font-size:13px}.focus-strip p{margin:0;font-size:15px;line-height:1.55}.lesson-prose{max-width:760px}.lesson-prose h1{margin:38px 0 18px;font-size:30px;line-height:1.25}.lesson-prose h2{margin:34px 0 12px;padding-top:8px;color:#0f172a;font-size:21px;line-height:1.35}.lesson-prose p{margin:0 0 16px;color:#25324a;font-size:16px;line-height:1.85;word-break:keep-all}.lesson-prose blockquote{margin:24px 0;padding:16px 18px;border:1px solid #bfdbfe;border-left:4px solid var(--blue);border-radius:8px;background:var(--soft-blue)}.lesson-prose blockquote p{color:#1e3a8a}.lesson-prose blockquote p:last-child{margin-bottom:0}.lesson-prose .katex-display{overflow-x:auto;margin:18px 0 22px;padding:16px 14px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.katex .katex-mathml{-webkit-user-select:none;user-select:none}.inline-math{white-space:nowrap}.hand-answer{margin:-4px 0 16px;padding:10px 12px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff}.hand-answer summary{color:var(--blue);cursor:pointer;font-size:13px;font-weight:900;line-height:1.45}.hand-answer p{margin:10px 0 0;font-size:15px;line-height:1.7}.chapter-takeaways{margin-top:34px;padding:18px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdfa}.chapter-takeaways h2{margin:0 0 12px;color:#0f766e;font-size:18px;line-height:1.35}.chapter-takeaways ol{display:grid;gap:8px;margin:0;padding-left:22px}.chapter-takeaways li{color:#134e4a;font-size:15px;line-height:1.65;word-break:keep-all}.cpp-practice{margin-top:42px;padding-top:24px;border-top:1px solid var(--line)}.cpp-practice-heading{margin-bottom:14px}.cpp-practice-heading p{margin:0 0 4px;color:var(--teal);font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.cpp-practice-heading h2{margin:0;color:#0f172a;font-size:22px;line-height:1.35}.cpp-practice>p{margin:0 0 14px;color:#25324a;font-size:15px;line-height:1.75;word-break:keep-all}.cpp-code-frame{position:relative;margin:16px 0;border-radius:8px;background:#272822}.cpp-copy-button{position:absolute;top:10px;right:10px;z-index:1;min-height:34px;padding:7px 10px;border:1px solid rgba(248,248,242,.22);border-radius:7px;background:rgba(39,40,34,.9);color:#f8f8f2;cursor:pointer;font-size:12px;font-weight:800}.cpp-copy-button:hover{background:rgba(73,72,62,.95)}.cpp-practice pre{overflow-x:auto;margin:0;padding:54px 18px 18px;border:1px solid #49483e;border-radius:8px;background:#272822;color:#f8f8f2;font-size:13px;line-height:1.55;box-shadow:inset 0 1px 0 rgba(248,248,242,.08)}.cpp-practice code{display:block;min-width:max-content;color:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;tab-size:2}.cpp-token-comment{color:#75715e;font-style:italic}.cpp-token-keyword,.cpp-token-operator{color:#f92672}.cpp-token-type{color:#66d9ef}.cpp-token-function{color:#a6e22e}.cpp-token-string{color:#e6db74}.cpp-token-number{color:#ae81ff}.cpp-token-preprocessor{color:#fd971f}.cpp-inline-math{white-space:nowrap}.cpp-practice .cpp-try{color:var(--muted);font-size:14px}.chapter-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:42px;padding-top:22px;border-top:1px solid var(--line)}.chapter-navigation a{max-width:48%;padding:11px 14px;border:1px solid var(--line-strong);border-radius:8px;background:#ffffff;color:var(--blue);font-size:14px;font-weight:700;line-height:1.35}.chapter-navigation a:last-child{text-align:right}.lab-rail{display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 40px);overflow:auto}.lab-card,.quiz-card,.reference-card{border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.94);box-shadow:var(--shadow)}.lab-card{padding:18px}.quiz-card,.reference-card{padding:16px}.panel-heading{margin-bottom:12px}.panel-heading h2{margin:0;font-size:18px;line-height:1.3}.lab-stack{display:flex;flex-direction:column;gap:12px}.chart-box,.desmos-box,.jsxgraph-box,.plotly-box,.tree-box{width:100%;min-height:280px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#ffffff}.chart-box.short{min-height:190px}.sampling-svg{display:block;width:100%;height:270px}.sampling-svg text{fill:#475569;font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.sampling-grid{stroke:#dbeafe;stroke-dasharray:4 4}.sampling-axis{stroke:#64748b;stroke-width:1.2}.sampling-line{fill:none;stroke:var(--teal);stroke-width:2.4}.sampling-alias-line{fill:none;stroke:var(--blue);stroke-dasharray:6 5;stroke-width:2}.sampling-dot{fill:var(--blue);stroke:#ffffff;stroke-width:2}.convolution-matrix-box{display:grid;gap:12px;align-content:center;padding:14px}.convolution-matrix{width:100%;table-layout:fixed;border-collapse:collapse;color:#172033}.convolution-matrix caption{margin-bottom:10px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.45;text-align:left}.convolution-matrix td,.convolution-matrix th{border:1px solid var(--line);text-align:center}.convolution-matrix th{padding:9px 6px;background:#eff6ff;color:#1e3a8a;font-size:12px;font-weight:900;line-height:1.25}.convolution-matrix td{height:68px;padding:8px 4px;background:#ffffff}.convolution-matrix td span,.convolution-matrix td strong{display:block}.convolution-matrix td span{color:#64748b;font-size:11px;font-weight:800}.convolution-matrix td strong{margin-top:5px;color:#334155;font-size:20px;line-height:1.15}.convolution-matrix td.is-selected{border-color:#5eead4;background:#ccfbf1}.convolution-matrix td.is-selected strong{color:#0f766e}.convolution-result-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.convolution-result-strip span{min-height:32px;padding:8px 4px;border:1px solid var(--line);border-radius:7px;background:#ffffff;color:#475569;font-size:12px;font-weight:800;line-height:1.25;text-align:center}.convolution-result-strip span.is-selected{border-color:#0f766e;background:#ecfdf5;color:#0f766e}.dft-match-board{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.dft-match-row{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:12px}.dft-match-row>div:first-child{display:grid;gap:5px;color:#334155}.dft-match-row>div:first-child span{display:grid;width:24px;height:24px;place-items:center;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:12px;font-weight:900}.dft-match-row>div:first-child strong{font-size:13px;line-height:1.35}.dft-product-bars,.dft-samples{display:grid;grid-template-columns:repeat(8,1fr);align-items:end;gap:7px;height:82px;padding:12px 14px 10px;border:1px solid var(--line);border-radius:8px;background:#ffffff}.dft-product,.dft-sample{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;color:#64748b;font-size:11px;font-weight:800}.dft-sample i{display:block;width:100%;max-width:18px;border-radius:5px 5px 2px 2px}.dft-sample i.is-positive{background:var(--teal)}.dft-sample i.is-negative{background:var(--blue)}.dft-sample i.is-zero{background:#94a3b8}.dft-wave-svg{width:100%;height:82px;overflow:visible;border:1px solid var(--line);border-radius:8px;background:#ffffff}.dft-wave-axis{stroke:#94a3b8;stroke-width:1}.dft-wave-grid{stroke:#e2e8f0;stroke-dasharray:3 4}.dft-wave-line{fill:none;stroke:var(--blue);stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.dft-wave-svg circle{stroke:#ffffff;stroke-width:2}.dft-wave-svg circle.is-positive{fill:var(--teal)}.dft-wave-svg circle.is-negative{fill:var(--blue)}.dft-wave-svg circle.is-zero{fill:#94a3b8}.dft-product-bars{align-items:stretch}.dft-product{justify-content:start}.dft-product b{position:relative;display:block;width:100%;height:52px}.dft-product b:before{position:absolute;top:50%;right:0;left:0;border-top:1px solid #cbd5e1;content:""}.dft-product i{position:absolute;left:50%;display:block;width:100%;max-width:18px;transform:translateX(-50%)}.dft-product i.is-positive{bottom:50%;border-radius:5px 5px 2px 2px;background:var(--teal)}.dft-product i.is-negative{top:50%;border-radius:2px 2px 5px 5px;background:var(--blue)}.dft-product i.is-zero{top:calc(50% - 2px);border-radius:999px;background:#94a3b8}.dft-score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--line)}.dft-score-grid div{display:grid;gap:4px;padding:9px 6px;background:#ffffff;text-align:center}.dft-score-grid span{color:#64748b;font-size:11px;font-weight:800}.dft-score-grid strong{color:var(--teal);font-size:16px}.dft-lab{gap:14px}.dft-tool-map{display:flex;flex-wrap:wrap;gap:6px}.dft-tool-map span{padding:5px 7px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1e3a8a;font-size:11px;font-weight:800;line-height:1.2}.dft-main-control{padding:11px 12px;background:#fbfdff}.dft-main-control,.dft-signal-dashboard{border:1px solid var(--line);border-radius:8px}.dft-signal-dashboard{display:grid;gap:12px;padding:12px;background:#ffffff}.dft-dashboard-copy{display:grid;gap:5px}.dft-dashboard-copy span{color:var(--teal);font-size:11px;font-weight:900;line-height:1.2;text-transform:uppercase}.dft-dashboard-copy strong{color:#172033;font-size:15px;line-height:1.35}.dft-dashboard-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.55;word-break:keep-all}.dft-tone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dft-tone-control{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-left:4px solid var(--tone-color);border-radius:8px;background:#fbfdff}.dft-tone-control strong{color:#172033;font-size:13px;line-height:1.3}.dft-tone-control label{display:grid;gap:5px;color:#475569;font-size:12px;font-weight:800;line-height:1.35}.dft-tone-control input{width:100%;accent-color:var(--tone-color)}.dft-slider-stepper{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:6px;align-items:center}.dft-slider-stepper button{display:grid;width:28px;height:28px;place-items:center;border:1px solid #bfdbfe;border-radius:7px;background:#ffffff;color:#1e3a8a;cursor:pointer;font-size:16px;font-weight:900;line-height:1}.dft-dashboard-visuals{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:10px;align-items:stretch}.dft-wave-preview{width:100%;min-height:138px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.dft-wave-preview-axis{stroke:#94a3b8;stroke-width:1.2}.dft-wave-preview-grid{stroke:#e2e8f0;stroke-dasharray:3 5;stroke-width:1}.dft-wave-preview-line{fill:none;stroke:var(--teal);stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.dft-wave-preview-dot{fill:var(--blue);stroke:#ffffff;stroke-width:2}.dft-dashboard-spectrum{display:grid;align-content:center;gap:6px;padding:10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.dft-dashboard-spectrum span{color:#1e3a8a;font-size:11px;font-weight:900;line-height:1.2}.dft-dashboard-spectrum strong{color:var(--teal);font-size:18px;line-height:1.2}.dft-dashboard-spectrum p{margin:0;color:#334155;font-size:12px;line-height:1.45;word-break:keep-all}.dft-lab-section{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#ffffff}.dft-section-copy{display:grid;gap:5px}.dft-section-copy span{color:var(--teal);font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.dft-section-copy h3{margin:0;color:#172033;font-size:15px;line-height:1.35}.dft-section-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.55;word-break:keep-all}.dft-desmos-box{height:250px;min-height:250px}.desmos-fallback{display:grid;gap:8px;min-height:150px;padding:16px;border:1px dashed #93c5fd;border-radius:8px;background:#eff6ff;color:#334155}.desmos-fallback strong{color:var(--blue);font-size:13px}.desmos-fallback p{margin:0;color:#334155;font-size:12px;line-height:1.55;word-break:keep-all}.desmos-fallback code{display:block;overflow-wrap:anywhere;padding:8px 10px;border:1px solid #bfdbfe;border-radius:7px;background:#ffffff;color:#1e3a8a;font-size:12px;line-height:1.35}.dft-jxg-box{min-height:260px}.dft-plotly-box{height:310px}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.segmented-control button{min-height:34px;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;font-size:12px;font-weight:800}.segmented-control button.is-selected{background:#ffffff;color:var(--teal);box-shadow:0 1px 4px rgba(15,23,42,.08)}.fft-pipeline-box{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#ffffff}.fft-pipeline-title{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid var(--line)}.fft-pipeline-title strong{color:#0f172a;font-size:16px;line-height:1.35}.fft-pipeline-title span{color:var(--muted);font-size:13px;font-weight:800;line-height:1.35}.fft-step-grid{display:grid;gap:8px}.fft-step-card{display:grid;gap:6px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.fft-step-card span{display:grid;width:24px;height:24px;place-items:center;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:12px;font-weight:900}.fft-step-card h3{margin:0;color:#172033;font-size:13px;line-height:1.3}.fft-step-card p{overflow-wrap:anywhere;margin:0;color:#475569;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.45}.fft-step-card.is-result{border-color:#5eead4;background:#ecfdf5}.fft-waterfall-box{height:360px}.fft-stepper{display:grid;grid-template-columns:76px minmax(0,1fr) 76px;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:8px;background:#ffffff}.fft-stepper button{min-height:34px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1e3a8a;cursor:pointer;font-size:12px;font-weight:900}.fft-stepper button:disabled{cursor:not-allowed;opacity:.45}.fft-stepper div{display:grid;gap:3px;min-width:0;text-align:center}.fft-stepper span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.2}.fft-stepper strong{overflow:hidden;color:#172033;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.fft-butterfly-box{min-height:280px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#ffffff}.fft-butterfly-svg{display:block;width:100%;height:280px}.fft-butterfly-svg g{opacity:.14;transition:opacity .18s ease,transform .18s ease}.fft-butterfly-svg g.is-visible{opacity:1}.fft-butterfly-edge{stroke:#94a3b8;stroke-linecap:round;stroke-width:2;transition:stroke .18s ease,stroke-width .18s ease}.fft-butterfly-edge.is-highlighted{stroke:var(--teal);stroke-width:3.4}.fft-butterfly-edge-label{fill:#475569;font-size:11px;font-weight:900}.fft-butterfly-node rect{fill:#f8fafc;stroke:#bfdbfe;stroke-width:1.2}.fft-butterfly-node text{fill:#1e3a8a;font-size:12px;font-weight:900}.fft-butterfly-node.is-highlighted rect{fill:#ccfbf1;stroke:var(--teal)}.fft-step-explain{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}.fft-step-explain strong{overflow-wrap:anywhere;color:#172033;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.45}.fft-step-explain p{margin:0;color:var(--muted);font-size:12px;line-height:1.55;word-break:keep-all}.desmos-box{height:330px}.desmos-box.dft-desmos-box{height:250px;min-height:250px}.jsxgraph-box{min-height:220px}.jxgbox{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#ffffff;touch-action:none}.jxgbox svg text{cursor:default;-webkit-user-select:none;user-select:none}.JXGtext{margin:0;padding:0;background:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.plotly-box{height:360px}.plotly-box.dft-plotly-box{height:310px}.range-control{display:grid;gap:8px;color:#334155;font-size:13px;font-weight:700}.range-control input{width:100%;accent-color:var(--teal)}.lab-note{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.empty-lab{padding:22px;border:1px dashed #93c5fd;border-radius:8px;background:var(--soft-blue)}.empty-lab strong{display:block;margin-bottom:8px;color:var(--blue)}.empty-lab p{margin:0;color:#334155;font-size:13px;line-height:1.55}.quiz-stack{display:grid;gap:14px}.quiz-question{margin:0;padding:0 0 14px;border:0;border-bottom:1px solid var(--line)}.quiz-question legend{margin-bottom:10px;color:#1e293b;font-size:14px;font-weight:800;line-height:1.45}.choice-grid{display:grid;gap:8px}.choice-button{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#ffffff;color:#334155;cursor:pointer;font-size:13px;font-weight:700;text-align:left}.choice-button.is-selected,.choice-button:hover{border-color:#99f6e4;background:var(--soft-teal);color:#0f766e}.quiz-feedback,.quiz-score{margin:10px 0 0;font-size:13px;line-height:1.45}.quiz-feedback.is-correct{color:var(--teal)}.quiz-feedback.is-wrong{color:var(--red)}.quiz-score{margin:0;color:var(--ink);font-weight:800}.reference-list{display:grid;gap:9px}.reference-list a{display:grid;gap:5px;padding:11px 12px;border:1px solid #bfdbfe;border-radius:7px;background:#f8fbff}.reference-list a:hover{border-color:#5eead4;background:#ecfdf5}.reference-list strong{color:#1e3a8a;font-size:13px;line-height:1.35}.reference-list span{color:var(--muted);font-size:12px;line-height:1.5;word-break:keep-all}.tree-box{flex-direction:column;gap:16px;min-height:310px;padding:18px}.tree-box,.tree-level{display:flex;justify-content:center}.tree-level{gap:8px}.tree-node{display:inline-flex;min-height:36px;align-items:center;justify-content:center;padding:8px 10px;border:1px solid #bfdbfe;border-radius:7px;background:var(--soft-blue);color:#1e3a8a;font-size:12px;font-weight:800;white-space:nowrap}.MafsView{--mafs-bg:#ffffff;--mafs-fg:#172033;--mafs-line-color:#dbe3ef;--grid-line-subdivision-color:#edf2f7;border:1px solid var(--line);border-radius:8px;background:#ffffff}@media (max-width:1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.lab-rail{grid-column:2;position:static;max-height:none}}@media (max-width:820px){.app-shell{display:block;padding:12px}.chapter-rail,.lab-rail{position:static;max-height:none}.chapter-rail{margin-bottom:12px}.chapter-list{max-height:240px}.lesson-frame{padding:24px 18px}.lesson-header h1{font-size:30px}.focus-strip{grid-template-columns:1fr;gap:6px}.lesson-prose h1{font-size:26px}.chapter-navigation{flex-direction:column}.chapter-navigation a{max-width:none}.chapter-navigation a:last-child{text-align:left}.lab-rail{margin-top:12px}.dft-dashboard-visuals,.dft-tone-grid{grid-template-columns:1fr}.fft-stepper{grid-template-columns:64px minmax(0,1fr) 64px}.fft-butterfly-svg{min-width:330px}.fft-butterfly-box{overflow-x:auto}.tree-level{flex-wrap:wrap}}