:root{font-family:Segoe UI,Arial,sans-serif;color:#263a35;background:#f3f5f4;font-synthesis:none;--sidebar-width:258px;--lecture-fr:1.38fr;--code-fr:1.2fr;--lecture-zoom:1;--code-font:16px;--console-font:15px;--line:#dce4df;--green:#246b52}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,textarea,select{font:inherit}button,select,input[type=range],summary,.file-button{cursor:pointer}button{border:1px solid var(--line);border-radius:7px;background:#fff;color:inherit;padding:7px 11px;white-space:nowrap}button:hover{background:#e7f0e9}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,.resize-handle:focus-visible{outline:3px solid #59a587;outline-offset:2px}input[type=range]{accent-color:#3d8b6c;min-width:0}select{max-width:100%;background:#fff;border:1px solid var(--line);border-radius:6px;color:#35483f;padding:6px}#app{height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) 6px minmax(0,1fr);overflow:hidden}.sidebar{background:#fff;display:flex;flex-direction:column;min-height:0;min-width:0;padding:23px 16px 0;overflow:hidden}.brand{font-size:22px;font-weight:720;letter-spacing:-1px;display:flex;align-items:center;gap:7px}.brand>span{color:#438467}.brand button{margin-left:auto;display:none}.course-label{font-size:8px;letter-spacing:1.2px;line-height:1.8;color:#8a9890;margin:18px 0 20px}.week-label,.section-label{font-size:9px;color:#8d9c92;letter-spacing:1.5px;font-weight:650}.week-label select{display:block;width:100%;font-size:13px;letter-spacing:0;padding:9px;margin:8px 0;background:#f3f6f3}#library button{border:0;width:100%;white-space:normal;text-align:left;line-height:1.5;padding:9px 6px;font-size:11px;background:transparent}#library small{display:block;font-size:8px;letter-spacing:.8px;color:#428568;margin-top:5px}.section-label{display:flex;justify-content:space-between;margin:22px 5px 10px}#scenes{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding-bottom:10px}#scenes button{display:flex;gap:10px;align-items:center;border:0;width:100%;text-align:left;font-size:12px;line-height:1.45;padding:10px 7px;white-space:normal;margin:2px 0;background:transparent}#scenes button>span:first-child{font:11px Consolas,monospace;color:#96a59b;flex:0 0 21px}#scenes small{display:block;font-size:9px;color:#8b9a91;margin-top:3px}#scenes button.active{background:#e5f0e7;color:#226c51}#scenes button:hover{background:#f1f5f0}.scene-play{margin-left:auto;opacity:0}#scenes button.active .scene-play{opacity:1}.sidebar-bottom{border-top:1px solid var(--line);padding:12px 0}.sidebar-bottom button{width:100%;font-size:12px;text-align:left}.resize-handle{background:#e1e6e2;cursor:col-resize;touch-action:none;position:relative;z-index:2}.resize-handle:hover,.resizing .resize-handle{background:#8ab49a}.resize-handle:after{content:"";position:absolute;top:45%;left:2px;width:2px;height:30px;background:#adbbb1;border-radius:2px}.resizing{cursor:col-resize!important;-webkit-user-select:none;user-select:none}.sidebar-hidden #app{grid-template-columns:0 0 minmax(0,1fr)}.sidebar-hidden .sidebar{visibility:hidden}.sidebar-hidden #sidebar-handle{pointer-events:none}main{min-width:0;min-height:0;display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;gap:15px;height:60px;flex-shrink:0;background:#fbfcfa;border-bottom:1px solid var(--line);padding:0 22px}.header-title{display:flex;align-items:center;gap:15px;min-width:0}.header-title>button{border:0;background:transparent;font-size:18px;padding:5px 8px}.breadcrumb{font-size:12px;color:#85958a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb b{font-weight:550;color:#536c5e}.breadcrumb>span{margin:0 12px}.header-actions{display:flex;align-items:center;gap:16px}.header-actions>button{font-size:22px;border:0;background:transparent}.status{font-size:10px;white-space:nowrap;color:#3d8a67}.stage-wrap{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,var(--lecture-fr)) 34px minmax(0,1fr);padding:14px 22px 0;gap:0}.stage-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding-bottom:10px}.page-picker{display:flex;align-items:center;gap:8px;color:#81968a;font-size:9px;letter-spacing:1.1px;min-width:0}.page-picker select{font-size:11px;letter-spacing:0;max-width:min(290px,25vw)}.lecture-tools{display:flex;align-items:center;gap:7px;font-size:10px}.lecture-tools button{padding:6px 8px;font-size:10px}.zoom-control{display:flex;gap:6px;align-items:center;white-space:nowrap;color:#7c9183;font-size:10px}.zoom-control input{width:80px;height:18px}.zoom-control output{min-width:34px;text-align:right;font-size:10px;font-variant-numeric:tabular-nums}.teaching{min-height:0;min-width:0;overflow:auto;border:1px solid #dbe4dc;border-radius:10px;background:#fff;box-shadow:0 5px 16px #1a372904;overscroll-behavior:contain;scrollbar-width:thin}.lecture-sheet{zoom:var(--lecture-zoom);padding:25px 32px 30px;min-width:0;max-width:1400px;margin:auto;font-size:18px;line-height:1.6;color:#415449}.lecture-page-meta{display:flex;justify-content:space-between;gap:20px;color:#81988a;letter-spacing:.7px;font-size:10px}.lecture-page-meta>span{white-space:nowrap;color:#9baaa1}h1{font-size:34px;line-height:1.18;font-weight:650;letter-spacing:-1px;color:#23513c;margin:12px 0 23px;overflow-wrap:anywhere}.lecture-blocks{display:flex;flex-wrap:wrap;column-gap:28px;row-gap:12px;align-items:start}.content-block{flex:1 1 100%;min-width:0}.content-block>p{margin:0 0 8px}.content-block ul{padding:0 0 0 24px;margin:0}.content-block li{padding:0 0 5px 3px;overflow-wrap:anywhere}.content-block li::marker{color:#70a17b}.block-diagram:has(.flowchart){flex:0 1 29%;min-width:170px}.block-diagram:has(.triangle){flex:0 1 38%;min-width:200px}.block-diagram:has(.flowchart)+.block-code,.block-diagram:has(.flowchart)+.block-table{flex:1 1 55%}.block-code .source-code{margin:0}.source-code{background:#f2f5f1;border:1px solid #dce7dc;border-radius:8px;overflow:hidden}.source-code figcaption{background:#e9eee7;padding:6px 14px;color:#7b9081;letter-spacing:.6px;font-size:10px}.source-code pre{margin:0;padding:12px 16px;font:15px/1.6 Cascadia Code,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#3c6150}.content-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.content-columns>div{min-width:0;border:1px solid #e0e8df;background:#fbfcf9;border-radius:8px;padding:14px 17px}.content-columns>div>.content-block:not(:last-child){margin-bottom:8px}.content-columns p{font-size:13px;font-weight:650;color:#557e60;letter-spacing:.5px}.content-columns ul{font-size:17px}.table-scroll{overflow-x:auto;max-width:100%;border:1px solid #dce6db;border-radius:8px}.lecture-sheet table{width:100%;border-collapse:collapse;text-align:left;font-size:16px;line-height:1.5}.lecture-sheet th{background:#e8f0e4;color:#48664e;font-size:12px;font-weight:650;padding:9px 14px;letter-spacing:.3px;white-space:normal}.lecture-sheet td{padding:8px 14px;border-top:1px solid #e3eae0;color:#546858;vertical-align:top;overflow-wrap:anywhere}.lecture-sheet tbody tr:nth-child(2n){background:#f8faf5}.callout{border-left:3px solid #9cba6e;background:#f4f7eb;border-radius:0 7px 7px 0;padding:10px 16px;font-size:14px;line-height:1.6;color:#6b7c52}.formula{font-family:Georgia,Times New Roman,serif;font-size:30px;line-height:1.6;padding:14px;text-align:center;color:#367155;overflow-wrap:anywhere}.variable-figure{display:flex;justify-content:center;align-items:center;gap:15px;padding:8px;color:#5f9c77}.variable-figure>code{font-size:28px}.variable-figure svg{width:80px}.variable-figure>div{background:#f1f7ed;border:1px solid #9bbf9d;border-radius:10px;min-width:110px;padding:12px 24px;display:flex;align-items:center;flex-direction:column}.variable-figure strong{font:28px Consolas,monospace;color:#3b6950}.variable-figure small{font-size:12px;margin-top:2px}.process-flow{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center;padding:18px 0}.process-flow>span{padding:14px 17px;border:1px solid #a9c4ae;background:#f3f7ee;border-radius:8px;text-align:center;font-size:16px}.process-flow>b{color:#86a28e;font-size:22px;font-weight:400}.ipo{display:flex;gap:14px;justify-content:center;align-items:center;padding:18px 0;font-size:16px;min-width:0}.ipo>div{display:flex;flex-direction:column;gap:8px;text-align:center;min-width:0;overflow-wrap:anywhere}.ipo span{border:1px solid #c9d9c9;background:#f7faf2;padding:9px 14px;border-radius:5px}.ipo .process-box{border:2px solid #8cb499;background:#edf6e6;border-radius:6px;min-height:80px;padding:18px;justify-content:center;max-width:45%}.ipo>b{color:#83a68d}.flowchart{display:flex;flex-direction:column;align-items:center;font-size:12px;padding:3px 12px;gap:1px}.flow-box{border:1px solid #b2aa88;background:#f7efdc;min-width:140px;text-align:center;padding:4px 14px;color:#6b6144;line-height:1.4}.flow-box.terminal{border-radius:18px;background:#f3e3df;min-width:80px;border-color:#bb9e93}.flow-box.io{background:#dfedf7;border-color:#91b1c6;transform:skew(-9deg)}.flow-box.active{outline:2px solid #51855b;outline-offset:2px;font-weight:700;background:#e4f2cc}.flow-down{line-height:15px;color:#9eafa0}.triangle{width:100%;max-height:240px}.division-figure{display:flex;justify-content:center;align-items:center;gap:40px;padding:15px;border:1px solid #dce6d9;background:#f6f9f1;border-radius:9px}.division-figure>div:first-child{font:38px Georgia,serif;color:#407451}.division-figure>div:first-child>span{color:#91a68b}.division-results{display:flex;gap:30px}.division-results>span{display:flex;flex-direction:column;font-size:12px;text-align:center;color:#8a9a7d}.division-results strong{font-size:32px;line-height:1.3;color:#4b754c}.source-image{margin:0;text-align:center}.source-image button{border:0;background:transparent;display:block;margin:auto;padding:0;max-width:100%}.source-image img{max-width:100%;height:auto;max-height:300px;object-fit:contain;display:block;border-radius:3px}.source-image figcaption{font-size:10px;color:#91a18d;margin-top:6px}.question{margin-top:18px;padding:15px 20px;border:1px solid #c7ddbd;border-left:4px solid #8ab773;border-radius:7px;background:#f4f8eb}.question-label{display:block;font-size:10px;letter-spacing:1.5px;color:#87a36e;margin-bottom:7px}.question strong{font-size:18px;font-weight:600;display:block;color:#4b6942}.choices{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.choices button{font-size:14px;padding:7px 13px}.choice.selected{background:#cde4ba;border-color:#8db178}.answer{color:#3a7e45;margin:10px 0 0;font-size:17px}.answer-prompt{font-size:12px;color:#94a286;margin:9px 0 0}.splitter{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#889b8d;min-width:0}.splitter label{display:flex;align-items:center;gap:8px;white-space:nowrap}.splitter input{width:95px;height:20px}.splitter output{font-size:10px;min-width:28px}.splitter button{font-size:9px;background:transparent;border:0;padding:4px 6px}.splitter>span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace{display:grid;grid-template-columns:minmax(0,var(--code-fr)) 6px minmax(0,1fr);min-height:0;min-width:0;overflow:hidden;border:1px solid #2c3b3d;border-radius:9px;background:#18222c;color:#c8d7d2}.workspace .resize-handle{background:#293b3e}.workspace .resize-handle:hover{background:#597d70}.workspace .resize-handle:after{background:#4f6563}.editor-pane,.results{min-width:0;min-height:0;display:flex;flex-direction:column}.pane-header{height:42px;flex-shrink:0;border-bottom:1px solid #304148;background:#202e37;display:flex;justify-content:space-between;align-items:center;gap:6px;padding:5px 12px;font-size:10px;color:#abbfb6}.pane-header>span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.7px}.pane-tools{display:flex;align-items:center;gap:6px}.pane-tools>label{display:flex;align-items:center;gap:5px;color:#7d9a8e;font-size:9px}.pane-tools input{width:62px;height:18px;accent-color:#8fae8d}.pane-tools output{min-width:24px;font-size:9px}.workspace button{font-size:10px;background:transparent;color:#adc4b7;border:0;padding:5px 7px}.workspace button:hover{background:#344b48}.workspace button.run{background:#3a5740;color:#e3edc9}.workspace kbd{font-size:8px;margin-left:4px;color:#b6c79d}#editor{flex:1;min-height:0;overflow:auto}.cm-editor{height:100%;background:#18222c!important;font-size:var(--code-font)}.cm-scroller{font-family:Cascadia Code,Consolas,monospace!important;overflow:auto}.cm-gutters{background:#18222c!important;border:0!important;color:#5a706e!important}.cm-content{padding:13px 0!important}.cm-line{padding-left:9px!important}.editor-foot{height:28px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:0 10px;flex-shrink:0;font-size:9px;color:#718f80;border-top:1px solid #2b3e41;min-width:0}.editor-foot>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-foot button{font-size:9px}.inputs{display:flex;align-items:center;gap:8px;padding:7px 12px;font-size:10px;color:#719080;min-width:0;flex-shrink:0}.inputs input{flex:1;min-width:0;font:11px Consolas,monospace;color:#c4d4c5;background:transparent;border:0;border-bottom:1px solid #354b4a;padding:2px 3px;outline:none}.inputs input:focus{border-color:#83b896}#output{flex:1;min-height:0;padding:8px 14px;margin:0;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;color:#c2dfb6;font:var(--console-font)/1.5 "Cascadia Code",Consolas,monospace}#output.error{color:#e8af9c}#values-panel{flex:0 0 auto;max-height:46%;overflow:auto;border-top:1px solid #2d4142;scrollbar-width:thin}#values-panel summary{font-size:10px;color:#88a695;padding:8px 12px;background:#1d2c34;position:sticky;top:0}#var-count{font-size:9px;opacity:.7}.results table{border-collapse:collapse;width:100%;text-align:left;font:12px/1.5 Consolas,monospace}.results td,.results th{padding:5px 12px;border-bottom:1px solid #293d40;overflow-wrap:anywhere;max-width:200px}.results th{font:9px Segoe UI,sans-serif;color:#6a8c7c}.results td:first-child{color:#b3c9e1}.results td:nth-child(2){color:#bddd9e}.results td:last-child{font-size:10px;color:#819c8e}.empty-state{font-size:11px;padding:7px 12px;color:#718c7b;margin:0}tr.changed{animation:flash 1s}footer{height:55px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;font-size:11px;color:#7a9180}.page-position{display:flex;gap:5px;align-items:center;white-space:nowrap}.transport{display:flex;gap:13px;align-items:center}.transport>button:first-child{border:0;background:transparent;padding:8px 12px}#progress{font:11px Consolas,monospace;color:#8fa18f}.next{background:#2e6047;color:#f0f5e2;border:0;font-size:11px;padding:9px 13px}.next:hover{background:#3e7859}kbd{font:8px Segoe UI,sans-serif;border:1px solid currentColor;opacity:.65;border-radius:3px;padding:1px 4px;margin-left:5px}.dots{display:flex;gap:5px;max-width:120px;flex-wrap:wrap}.dots i{width:5px;height:5px;background:#cfd9ce;border-radius:50%}.dots i.filled{background:#7b9e6c}.code-focus .stage-wrap{grid-template-rows:auto minmax(0,.25fr) 34px minmax(0,1fr)}.code-focus .lecture-sheet{padding-top:12px}#toast{position:fixed;left:50%;bottom:68px;transform:translate(-50%);background:#2d5742;color:#f2f7e9;border-radius:8px;box-shadow:0 5px 25px #173e3030;padding:12px 20px;font-size:12px;max-width:min(700px,90vw);opacity:0;pointer-events:none;transition:opacity .2s;z-index:40}#toast.visible{opacity:1}.mobile-tabs,#drawer-backdrop{display:none}dialog{border:1px solid #d5e0d3;border-radius:12px;box-shadow:0 20px 80px #132f3144;padding:24px;background:#fff;color:#34513f;max-width:96vw;max-height:94dvh}dialog::backdrop{background:#142d32a3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#source-dialog{width:1150px;height:88dvh;padding:0;overflow:hidden}#source-dialog[open]{display:flex;flex-direction:column}.source-toolbar{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap;flex-shrink:0}.source-toolbar>strong{font-size:12px;font-weight:600}.source-toolbar>select{font-size:11px}.source-controls{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px}.source-controls button{padding:5px 9px;font-size:12px}.source-controls input{width:100px}.source-controls output{min-width:32px;font-size:10px}#source-viewport{flex:1;min-height:0;background:#dfe5df;overflow:auto;padding:14px;text-align:center;overscroll-behavior:contain}#original-canvas{display:block;margin:auto;background:#fff;box-shadow:0 3px 16px #173e301a}#original-image{display:block;max-width:none;height:auto;margin:auto}#source-status{padding:8px 16px;font-size:11px;color:#829584;border-top:1px solid var(--line);flex-shrink:0}#studio{width:1000px}.studio-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.eyebrow{font-size:9px;letter-spacing:1.3px;color:#8aa080}h2{font-size:26px;font-weight:600;margin:10px 0 18px;letter-spacing:-.5px}#studio p{font-size:12px;color:#80927f;line-height:1.6}.studio-actions{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0}.studio-actions button,.file-button{font-size:11px;border:1px solid var(--line);padding:9px 12px;border-radius:6px}.file-button{background:#eff5e7}.file-button input{display:none}#json-editor{width:100%;height:42dvh;background:#1c2a32;color:#c8ddc4;border:0;border-radius:8px;resize:vertical;font:12px/1.6 Consolas,monospace;padding:16px}.primary{background:#2d6045;color:#fff}.working #busy{color:#41855c;font-size:10px}.working .next{opacity:.5}@keyframes flash{0%,30%{background:#8ba26244}to{background:transparent}}@media(min-width:1700px){.lecture-sheet{font-size:22px;padding:32px 44px}h1{font-size:42px}.lecture-sheet table{font-size:19px}.lecture-sheet th{font-size:14px}.source-code pre{font-size:18px}.callout{font-size:16px}.content-columns ul{font-size:20px}.stage-wrap{padding-left:30px;padding-right:30px}.pane-header{height:46px}.pane-tools input{width:85px}}@media(max-width:1200px){:root{--sidebar-width:220px}.stage-wrap{padding:12px 14px 0}.lecture-sheet{padding:22px 25px;font-size:17px}h1{font-size:30px}.lecture-tools{gap:4px}.lecture-tools button{padding:5px 6px}.zoom-control input{width:60px}.pane-header{padding:5px 8px}.pane-tools input{width:45px}.pane-header>span{font-size:8px}.pane-tools{gap:3px}.pane-tools label{gap:3px;font-size:8px}.workspace button{padding:5px}.workspace kbd{display:none}.source-code pre{font-size:14px}.lecture-sheet table{font-size:15px}.lecture-sheet th{font-size:11px}.lecture-sheet td,.lecture-sheet th{padding:7px 11px}}@media(max-width:1000px)and (min-width:801px){.zoom-control{font-size:0;gap:4px}.lecture-tools #lecture-reset{display:none}.page-picker select{max-width:200px}.lecture-sheet{padding:20px}.content-columns{gap:12px}.content-columns>div{padding:12px}.content-columns ul{font-size:15px}.pane-tools>label{font-size:0}.pane-tools input{width:43px}.pane-tools output{font-size:8px}}@media(max-width:800px),(max-width:1000px)and (max-height:500px){#app{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:min(310px,85vw);z-index:32;transform:translate(-100%);transition:transform .18s;border-right:1px solid var(--line);padding-top:20px}.sidebar-hidden .sidebar{visibility:visible}.drawer-open .sidebar{transform:translate(0)}.brand button{display:block;font-size:15px;padding:4px 8px}.drawer-open #drawer-backdrop{display:block;position:fixed;inset:0;z-index:31;background:#152c3280}#sidebar-handle{display:none}.sidebar-hidden #app{grid-template-columns:minmax(0,1fr)}header{height:50px;padding:0 10px;gap:8px}.header-title{gap:5px}.breadcrumb{font-size:11px}.breadcrumb>span{margin:0 6px}.header-actions{gap:4px}.header-actions>button{font-size:21px;padding:4px}.status{font-size:8px}.mobile-tabs{display:flex;padding:6px 10px;background:#f6f8f3;gap:5px;flex-shrink:0;border-bottom:1px solid var(--line)}.mobile-tabs button{flex:1;font-size:12px;padding:7px;background:transparent;border:0}.mobile-tabs button.selected{background:#e1edda;color:#376e48;box-shadow:inset 0 -2px #7ba56e}.stage-wrap,.code-focus .stage-wrap{padding:8px 8px 0;grid-template-rows:auto minmax(0,1fr)}.stage-heading{align-items:center;flex-wrap:wrap;gap:6px;padding-bottom:8px}.page-picker{flex:1;min-width:170px}.page-picker select{flex:1;max-width:100%;font-size:10px;padding:5px;min-width:0}.lecture-tools{width:100%;justify-content:flex-end;gap:8px}.lecture-tools button{font-size:10px;padding:5px 8px}.zoom-control{margin-right:auto;font-size:10px}.zoom-control input{width:85px}.lecture-sheet{font-size:17px;padding:18px 19px 24px;line-height:1.65}h1{font-size:29px;letter-spacing:-.7px;margin:10px 0 20px}.lecture-page-meta{font-size:8px;letter-spacing:.3px;gap:8px}.lecture-page-meta>span{font-size:8px}.lecture-blocks{gap:12px}.content-columns{grid-template-columns:1fr;gap:12px}.content-columns ul{font-size:16px}.lecture-sheet table{font-size:14px}.lecture-sheet th{font-size:10px}.lecture-sheet td,.lecture-sheet th{padding:7px 9px}.source-code pre{font-size:13px;padding:11px}.callout{font-size:13px}.formula{font-size:24px;padding:12px 3px}.process-flow{gap:7px;padding:10px 0}.process-flow>span{font-size:13px;padding:10px}.ipo{font-size:12px;gap:7px;padding:12px 0}.ipo .process-box{padding:12px;min-height:65px}.ipo span{padding:7px}.division-figure{gap:20px;padding:12px}.division-results{gap:18px}.division-figure>div:first-child{font-size:28px}.division-results strong{font-size:26px}.block-diagram:has(.flowchart){flex:1 1 100%;min-width:0}.flowchart{padding:10px;font-size:13px}.flow-box{min-width:155px;padding:6px 15px}.flow-down{line-height:20px}.block-diagram:has(.triangle){flex-basis:100%}.triangle{max-height:180px}.block-diagram:has(.flowchart)+.block-code,.block-diagram:has(.flowchart)+.block-table{flex-basis:100%}.question{padding:13px 15px}.question strong{font-size:16px}.answer{font-size:15px}.splitter{display:none}.workspace{grid-column:1;grid-row:2;display:flex;min-height:0;min-width:0}.workspace .resize-handle{display:none}.editor-pane,.results{flex:1;width:100%}.pane-header{height:46px;padding:7px 10px}.pane-header>span{font-size:9px}.pane-tools{gap:7px}.pane-tools label{font-size:10px;gap:6px}.pane-tools input{width:75px}.pane-tools output{font-size:10px}.workspace button{font-size:12px;padding:5px 7px}.editor-foot{height:34px;font-size:9px}.editor-foot button{font-size:10px}.inputs{padding:10px 12px}.inputs input{font-size:13px}.cm-content{padding-top:16px!important}#output{padding:12px 15px}#values-panel{max-height:45%}.results table{font-size:13px}.results th{font-size:10px}#values-panel summary{font-size:12px;padding:10px 12px}body[data-panel=lecture] .workspace,body[data-panel=code] .teaching,body[data-panel=console] .teaching,body[data-panel=code] .results,body[data-panel=console] .editor-pane{display:none}body:not([data-panel=lecture]) .lecture-tools .zoom-control,body:not([data-panel=lecture]) #lecture-fit,body:not([data-panel=lecture]) #lecture-reset{display:none}body:not([data-panel=lecture]) .stage-heading{flex-wrap:nowrap}body:not([data-panel=lecture]) .lecture-tools{width:auto}footer{height:54px;padding:0 11px;gap:8px}.dots{display:none}.transport{gap:8px}.transport .next{font-size:11px;padding:9px 11px}.page-position{font-size:10px}.working #busy{font-size:8px}.source-toolbar{padding:10px;gap:8px}.source-toolbar>strong{font-size:11px}.source-toolbar>select{font-size:10px;padding:4px}.source-controls{width:100%;justify-content:flex-end;gap:7px}.source-controls input{flex:1;max-width:150px}#source-dialog{width:96vw;height:90dvh;border-radius:9px}#source-viewport{padding:8px}#source-status{padding:8px 10px;font-size:10px}#studio{padding:16px}h2{font-size:22px}.studio-actions{gap:6px}.studio-actions button,.file-button{font-size:10px;padding:8px}.source-image img{max-height:none}.teaching{border-radius:7px}#toast{font-size:11px;padding:11px 15px;bottom:65px}}@media(max-width:380px){.status{display:none}.lecture-tools{gap:5px}.lecture-tools button{padding:5px}.zoom-control input{width:65px}.page-position{font-size:9px}.transport{gap:5px}.transport .next kbd{display:none}.pane-tools input{width:55px}h1{font-size:26px}.lecture-sheet{padding:16px}}@media(max-height:620px)and (min-width:801px){header{height:46px}.stage-wrap{padding-top:8px}.stage-heading{padding-bottom:6px}.lecture-sheet{padding:16px 24px}.lecture-page-meta{font-size:8px}h1{font-size:27px;margin:8px 0 15px}footer{height:43px}.pane-header{height:34px}.editor-foot{height:23px}.splitter{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}@media(min-width:801px)and (max-width:1100px)and (min-height:501px){.stage-heading{flex-wrap:wrap}.page-picker{flex:1 1 100%}.page-picker select{max-width:100%;flex:1}.lecture-tools{width:100%;justify-content:flex-end}.zoom-control{margin-right:auto}.zoom-control input{width:80px}.zoom-control{font-size:10px}}.teaching{scrollbar-gutter:stable}.vector-figure{display:block;max-width:100%;width:min(100%,var(--figure-width,700px));margin:6px auto 10px;min-width:0}.vector-figure>.svg-figure,.vector-figure>svg{display:block;width:100%;height:auto;max-width:100%;background:#fff}.vector-figure figcaption:empty{display:none}.vector-figure figcaption{font-size:10px;color:#819185;margin-top:5px}.block-diagram:has(.vector-figure.portrait){flex:0 1 29%;min-width:155px}.block-diagram:has(.vector-figure.portrait)+.block-code,.block-diagram:has(.vector-figure.portrait)+.block-table{flex:1 1 55%}.interactive-vector>svg{background:transparent}@media(max-width:800px),(max-width:1000px)and (max-height:500px){.block-diagram:has(.vector-figure.portrait){flex:1 1 100%;min-width:0}.block-diagram:has(.vector-figure.portrait)+.block-code,.block-diagram:has(.vector-figure.portrait)+.block-table{flex-basis:100%}}#restart-lecture{font-size:11px;padding:6px 9px;border:1px solid var(--line);background:#fff}@media(max-width:380px){#restart-lecture{font-size:9px;padding:5px}}.developer-credit{flex-shrink:0;position:relative;padding:7px 16px;text-align:center;font-size:11px;line-height:1.5;letter-spacing:.15px;background:#eaf1e7;color:#496a50;border-bottom:1px solid #d8e3d4}@media(max-width:800px){.developer-credit{font-size:10px;padding:6px 10px;letter-spacing:0}}#source-viewport{scrollbar-gutter:stable both-edges}#source-fit.selected{background:#dcebd2;border-color:#86ac76;color:#3b6f3e}.clipboard-button{display:inline-flex;align-items:center;justify-content:center;padding:6px}.clipboard-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.math-formula{margin:18px auto;padding:18px 24px;width:fit-content;max-width:100%;overflow-x:auto;color:#244b40;background:#f2f7f3;border:1px solid #dce8df;border-radius:12px;font-size:clamp(21px,2.2vw,32px)}.math-formula math{font-family:"Cambria Math","STIX Two Math",serif}.math-formula math>mo{margin-inline:12px}@media(max-width:800px){.editor-pane>.pane-header{flex-wrap:wrap;gap:6px}.editor-pane>.pane-header>.pane-tools{flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.math-formula{padding:12px;font-size:22px}}.lecture-progress{position:relative;isolation:isolate;flex:0 0 3cm;width:3cm;height:19px;overflow:hidden;border:1px solid #afcdbd;border-radius:5px;background:#e4eee7;color:#153f2e;font-size:10px;font-weight:700;letter-spacing:0;line-height:17px;text-align:center}.lecture-progress>span:first-child{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,#93c4a5,#55a77c);transition:width .2s ease}.lecture-progress>span:last-child{position:relative;z-index:1}.page-picker,.page-picker select{min-width:0}@media(max-width:800px){.page-picker{width:100%}.page-picker select{flex:1;width:0}.lecture-progress{flex-basis:3cm}}@media(prefers-reduced-motion:reduce){.lecture-progress>span:first-child{transition:none}}.header-title{min-width:0;gap:10px}#course-select{min-width:0;max-width:min(38vw,390px);font-size:12px;font-weight:600;text-overflow:ellipsis}.course-label{overflow-wrap:anywhere}@media(max-width:800px){header{flex-wrap:wrap;height:auto;min-height:56px;gap:6px}.header-title{flex:1;flex-wrap:wrap}#course-select{max-width:calc(100vw - 210px);font-size:11px}.breadcrumb{font-size:10px}}@media(max-width:380px){#course-select{max-width:calc(100vw - 190px)}}.sidebar #course-select{width:100%;max-width:100%;font-size:11px;line-height:1.5;padding:9px 6px;white-space:normal}.course-label{margin:16px 0}.sidebar-bottom #about-open{width:100%;border:0;background:transparent;text-align:left;font-size:11px;color:#75877c;padding:6px}.sidebar-bottom #about-open:hover{color:#246b52;background:#eff5f0}.playback-toolbar{height:56px;min-height:56px;flex-wrap:nowrap;padding:7px 22px;gap:12px;overflow:hidden}.toolbar-scroll{display:flex;align-items:center;gap:12px;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;padding:3px 0}.toolbar-scroll>*{flex-shrink:0}.toolbar-scroll .lecture-tools{width:auto;flex-wrap:nowrap;gap:7px}.toolbar-scroll .zoom-control{margin:0}.toolbar-scroll .status{margin-left:auto}.stage-wrap{grid-template-rows:minmax(0,var(--lecture-fr)) 34px minmax(0,1fr)}.code-focus .stage-wrap{grid-template-rows:minmax(0,.25fr) 34px minmax(0,1fr)}#about-dialog{width:min(640px,94vw);max-height:88dvh;padding:28px;border:1px solid #d6e2d9;border-radius:14px;color:#30473b;overflow:auto;line-height:1.7;font-size:14px}#about-dialog::backdrop{background:#152c3266;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.about-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.about-head h2{margin:5px 0 16px}.about-head button{position:sticky;top:0}#about-dialog h3{font-size:15px;margin:22px 0 8px}#about-dialog a{color:#246b52;text-underline-offset:3px}.about-author{padding:15px 18px;background:#eef5ed;border-radius:9px}.about-note{color:#718176;font-size:12px}@media(max-width:800px),(max-width:1000px)and (max-height:500px){.playback-toolbar{height:49px;min-height:49px;padding:5px 8px;gap:8px}.toolbar-scroll{gap:9px}.toolbar-scroll button{font-size:11px;padding:6px 8px}.toolbar-scroll .lecture-tools{width:auto;gap:7px}.toolbar-scroll .zoom-control input{width:70px}.toolbar-scroll .status{display:none}.stage-wrap,.code-focus .stage-wrap{grid-template-rows:minmax(0,1fr)}.teaching,.workspace{grid-row:1}#about-dialog{padding:20px;font-size:13px}.sidebar #course-select{max-width:100%;font-size:12px}}#runtime-status[data-active=false]{color:#9a654a}#runtime-status[data-active=true]{color:#438467}#source-viewport:fullscreen{width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;padding:16px;overflow:auto;background:#dfe5df}#source-dialog.source-expanded{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}#source-fullscreen[aria-pressed=true]{background:#dcebd2;border-color:#86ac76;color:#3b6f3e}.brand{gap:6px;min-width:0}.brand .brand-name{color:#263a35;font-size:19px;letter-spacing:-.8px;white-space:nowrap;min-width:0}.brand-name>span{color:#438467}.university-logo{display:block;width:60px;height:auto;max-width:30%;object-fit:contain;flex-shrink:0;margin-left:auto}.brand button{margin-left:0;flex-shrink:0}@media(max-width:800px){.university-logo{width:58px}.brand .brand-name{font-size:19px}}.brand .university-logo{width:120px;max-width:none;flex-shrink:0}.brand .brand-name{flex-shrink:0}@media(max-width:800px){.brand .university-logo{width:116px}.brand{flex-wrap:wrap}.brand #drawer-close{margin-left:auto}}.brand .university-logo{margin-left:0}.brand .university-logo{width:120px}@media(max-width:800px){.brand .university-logo{width:116px}}.about-author{display:flex;align-items:flex-start;gap:5px}.about-author-label{flex-shrink:0}.about-author{flex-direction:column;align-items:flex-start;gap:2px;font-weight:700;text-align:left}.about-author>*{margin:0;font-weight:700}.brand{gap:3px}.brand{justify-content:flex-start}.brand .university-logo{margin-left:0;margin-right:0}.source-native>h1,.source-native>.lecture-page-meta{display:none}.lecture-sheet.source-native{padding:8px;max-width:none}.source-native .lecture-blocks{display:block}.native-source-page{width:100%;position:relative;background:#fff}.native-source-page>svg{display:block;width:100%;height:auto;-webkit-user-select:text;user-select:text}.native-source-page text{cursor:text}.source-loading{display:block;padding:30px;color:#75877c;font-size:14px}.source-reading{display:none}.source-reading p{margin:4px 0;overflow-wrap:anywhere}.source-reading pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.source-native .block-sourceSlide{flex:1 1 100%;min-width:0}@media(max-width:800px){.source-reading{display:block;padding:12px;font-size:16px;line-height:1.6;border-top:1px solid #dce8df}.source-reading summary{font-size:11px;color:#718176;margin-bottom:10px}.lecture-sheet.source-native{padding:4px}.source-native .native-source-page{min-height:0}}#plots{flex:0 1 50%;min-height:0;overflow:auto;padding:10px;background:#fff}#plots svg{display:block;width:100%;height:auto;margin-bottom:8px}.lecture-sheet.source-native{zoom:1!important;width:calc(100% * var(--lecture-zoom));margin-inline:auto}.source-native .source-reading{font-size:calc(16px * var(--lecture-zoom))}.source-native .source-reading pre{font-size:calc(13px * var(--lecture-zoom))}.source-native>.callout{font-size:calc(13px * var(--lecture-zoom))}.plot-data-notice{font-size:11px;color:#805d2d;background:#fff5df;border:1px solid #ead4a9;padding:7px 10px;border-radius:6px;margin:0 0 8px}.results:fullscreen,.results.console-expanded{width:100%;height:100dvh;max-height:none;min-width:0;background:#fff;display:flex;flex-direction:column;overflow:auto;padding-bottom:24px}.results.console-expanded{position:fixed;inset:0;z-index:10000;width:100vw}.results:fullscreen .pane-header,.results.console-expanded .pane-header{position:sticky;top:0;z-index:2;background:#f2f6f3;flex-shrink:0;min-height:48px;height:auto;flex-wrap:wrap;gap:8px}.results:fullscreen #output,.results.console-expanded #output{flex:none;max-height:none;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}.results:fullscreen #plots,.results.console-expanded #plots{display:flex;flex-direction:column;flex:none;gap:24px;max-height:none;overflow:visible;width:100%;padding:16px clamp(8px,3vw,48px)}.results:fullscreen #plots[hidden],.results.console-expanded #plots[hidden]{display:none}.results:fullscreen #plots svg,.results.console-expanded #plots svg{display:block;width:100%;max-width:100%;height:auto;flex:none;min-height:0}.results:fullscreen .pane-tools,.results.console-expanded .pane-tools{flex-wrap:wrap;gap:6px}@media(max-width:480px){.results:fullscreen .pane-header,.results.console-expanded .pane-header{padding:8px}.results:fullscreen .pane-tools input,.results.console-expanded .pane-tools input{width:70px}}.results:fullscreen #output,.results.console-expanded #output{color:#244536;background:#fff}.results:fullscreen .pane-header,.results.console-expanded .pane-header{font-size:13px;color:#284c3c}.results:fullscreen .pane-tools,.results.console-expanded .pane-tools{font-size:12px;color:#284c3c}.results:fullscreen .pane-tools button,.results.console-expanded .pane-tools button{font-size:12px;min-height:34px}#plot-download-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 12px;background:#f0f5f1;color:#244536;font-size:12px;flex-shrink:0}#plot-download-tools label,.plot-result>label{display:flex;align-items:center;gap:6px;cursor:pointer}.plot-result{margin:0 0 16px;min-width:0;width:100%;flex:none}.plot-result>label{font:12px/1.6 Segoe UI,sans-serif;color:#244536;padding:6px 0}.plot-result>svg{display:block;width:100%;height:auto;max-width:100%}.results:fullscreen #plot-download-tools,.results.console-expanded #plot-download-tools{position:sticky;top:48px;z-index:1}.plot-result svg{cursor:zoom-in}#plot-detail-dialog{width:96vw;max-width:none;height:94dvh;max-height:94dvh;padding:0;overflow:hidden;background:#eef3f0;color:#244536}#plot-detail-dialog[open]{display:flex;flex-direction:column}.plot-detail-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;background:#fff;flex:none;font-size:13px}.plot-detail-toolbar strong{margin-right:auto}.plot-detail-toolbar input{width:clamp(80px,15vw,220px)}#plot-detail-viewport{flex:1;min-height:0;overflow:auto;touch-action:none;cursor:grab;padding:12px}#plot-detail-viewport:active{cursor:grabbing}#plot-detail-content{min-width:0}#plot-detail-content svg{display:block;width:100%;height:auto;max-width:none;-webkit-user-select:none;user-select:none}@media(max-width:480px){.plot-detail-toolbar{gap:6px;padding:8px}.plot-detail-toolbar strong{width:100%}.plot-detail-toolbar button{padding:6px 9px}}#plots .plot-result{width:min(100%,560px);margin:0 auto 16px}#plots .plot-result>svg{width:100%;height:auto;max-height:340px;object-fit:contain}.results:fullscreen #plots,.results.console-expanded #plots{gap:16px}.results:fullscreen #plots .plot-result,.results.console-expanded #plots .plot-result{width:min(100%,640px);margin:0 auto 16px}.results:fullscreen #plots .plot-result>svg,.results.console-expanded #plots .plot-result>svg{width:100%;height:auto;max-height:min(420px,55dvh);object-fit:contain}@media(max-width:480px){#plots .plot-result>svg{max-height:280px}.results:fullscreen #plots .plot-result>svg,.results.console-expanded #plots .plot-result>svg{max-height:340px}}.results .pane-header{height:auto;min-height:46px;flex-shrink:0;flex-wrap:wrap;gap:6px}.results .pane-tools{flex-wrap:wrap;gap:6px}#plot-download-tools{display:contents;padding:0;background:transparent;font:inherit}#plot-download-tools label{font:inherit;white-space:nowrap}#plots-select-all{width:auto!important}.results.has-plots #output{flex:0 1 auto;max-height:20%;min-height:0;overflow:auto;padding-block:8px}.results.has-plots #values-panel{flex:none;max-height:15%;overflow:auto}.results.has-plots #plots,.results.has-plots:fullscreen #plots,.results.has-plots.console-expanded #plots{flex:1 1 0;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:10px}.results.has-plots:fullscreen,.results.has-plots.console-expanded{overflow:hidden;padding-bottom:0}#plots .plot-result,.results:fullscreen #plots .plot-result,.results.console-expanded #plots .plot-result{width:100%;margin:0 0 12px;flex:none}#plots .plot-result>svg,.results:fullscreen #plots .plot-result>svg,.results.console-expanded #plots .plot-result>svg{max-width:100%;max-height:none;margin:0 auto;flex:none}#plots .plot-data-notice{flex:none;margin:0 0 12px}.results.has-plots:fullscreen #plots,.results.has-plots.console-expanded #plots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));align-content:start;align-items:start;gap:20px;padding:16px}.results:fullscreen #plots .plot-result,.results.console-expanded #plots .plot-result{max-width:680px;justify-self:center;overflow:auto;padding:6px 10px 12px;border:1px solid #e0e8e2;border-radius:8px;background:#fff}.results:fullscreen #plots .plot-data-notice,.results.console-expanded #plots .plot-data-notice{grid-column:1/-1}.plot-zoom-tools{display:flex;align-items:center;gap:6px;margin:0 0 8px;color:#365a46;font:12px Segoe UI,sans-serif}.plot-zoom-tools button{padding:3px 9px;font-size:12px;min-height:26px}#plots .plot-result{overflow:auto}#plots .plot-result>svg,.results:fullscreen #plots .plot-result>svg,.results.console-expanded #plots .plot-result>svg{max-width:none}.results .plot-zoom-tools button{color:#28543e;background:#f1f6f2;border:1px solid #cddcd1;opacity:1}.results #plots-select-none{color:#28543e;opacity:1}.results.has-plots{overflow-y:auto;overflow-x:hidden}.results.has-plots>.pane-header{position:sticky;top:0;z-index:4;background:#f2f6f3;min-width:0}.results.has-plots #plots{flex:1 0 230px;min-height:230px}.results.has-plots:fullscreen #plots,.results.has-plots.console-expanded #plots{flex:1 1 0;min-height:0}.plot-result>label{float:left;margin:0 12px 6px 0;min-height:28px}.plot-result>.plot-zoom-tools{min-height:28px;margin-bottom:6px}.plot-result>svg{clear:both}.results .pane-tools{min-width:0;max-width:100%}.results #plots-download{display:inline-flex!important;visibility:visible!important;color:#fff;background:#28543e;border:1px solid #28543e;opacity:1;min-height:30px;font-size:12px}.results #plots-download:disabled{color:#52685c;background:#e2eae4;border-color:#bacdbf;opacity:1}.results.has-plots:fullscreen>.inputs,.results.has-plots:fullscreen>#output,.results.has-plots:fullscreen>#values-panel,.results.has-plots.console-expanded>.inputs,.results.has-plots.console-expanded>#output,.results.has-plots.console-expanded>#values-panel{display:none!important}.results.has-plots:fullscreen,.results.has-plots.console-expanded{background:#fff;isolation:isolate}#plot-detail-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:0;box-shadow:none;background:#fff;opacity:1}#plot-detail-dialog::backdrop{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:1}#plot-detail-viewport,#plot-detail-content{background:#fff}#plot-detail-dialog .plot-detail-toolbar{background:#f2f6f3;border-bottom:1px solid #dce4df}.results.has-plots{background:#fff!important;color:#244536;border-color:#dce4df;isolation:isolate}.results.has-plots>.inputs,.results.has-plots>#output,.results.has-plots>#values-panel{display:none!important}.results.has-plots>#plots{background:#fff;position:relative;z-index:1;box-shadow:none;border:0;flex:1 1 0;min-height:0}.results.has-plots .plot-result{background:#fff}.results.has-plots>.pane-header{background:#f2f6f3!important;color:#244536;opacity:1}.results.has-plots>.pane-header{flex-wrap:nowrap;align-items:center;gap:8px;padding:7px 10px}.results.has-plots>.pane-header>.pane-tools{flex:1;justify-content:flex-end;min-width:0}.results.has-plots #console-font{width:55px}#console-close,#plot-detail-close{position:absolute;top:7px;right:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:0!important;border:1px solid #bdcfc2;border-radius:7px;color:#244536!important;background:#fff!important;font:26px/1 Segoe UI,sans-serif!important;opacity:1!important;z-index:8}.results:fullscreen>.pane-header,.results.console-expanded>.pane-header{padding-right:54px!important;min-height:50px}#plot-detail-dialog .plot-detail-toolbar{position:relative;padding-right:54px;min-height:50px}#plot-detail-content{overflow:visible}#plots .plot-result{overscroll-behavior:contain}#plots .plot-result,.results:fullscreen #plots .plot-result,.results.console-expanded #plots .plot-result{overflow:visible;max-width:none;box-sizing:border-box;border:1px solid #dce4df;border-radius:8px;padding:6px 10px 12px;background:#fff;justify-self:start}.results.has-plots #plots,.results.has-plots:fullscreen #plots,.results.has-plots.console-expanded #plots{overflow:auto}#plot-detail-content{padding:10px;border:1px solid #c9d8ce;border-radius:8px;box-sizing:content-box;background:#fff}.code-result-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start;width:100%}.code-result-layout .source-code{margin:0;min-width:0}.code-result-layout .source-code pre{font-size:17px;line-height:1.7;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere}.example-results{min-width:0}.example-results figure{margin:0 0 12px;background:#fff;border:1px solid #dce4df;border-radius:8px;padding:10px}.example-results figcaption{font-size:12px;color:#41634d;margin-bottom:8px}.example-result-vector svg{display:block;width:100%;height:auto;max-height:440px}.example-source-transcript{font-size:12px;margin-top:12px}.example-source-transcript pre{white-space:pre-wrap}@media(max-width:650px){.code-result-layout{grid-template-columns:1fr}.code-result-layout .source-code pre{font-size:15px}}.results.has-plots:fullscreen #plots.has-zoomed-card,.results.has-plots.console-expanded #plots.has-zoomed-card{display:flex;flex-direction:row;flex-wrap:wrap;align-content:start;align-items:start}#plots.has-zoomed-card .plot-data-notice{flex-basis:100%}.lecture-sheet:has(.code-result-layout){padding:16px 24px;max-width:none}.lecture-sheet:has(.code-result-layout) h1{font-size:32px;margin:10px 0 16px}.code-result-layout .source-code pre{font-size:18px;line-height:1.6}.example-result-vector svg{max-height:320px}.unified-prose{font-family:Segoe UI,Arial,sans-serif;font-size:20px;line-height:1.75;color:#344f40}.unified-prose ul{padding-left:26px;margin:0}.unified-prose li{margin:0 0 16px;padding-left:5px}.unified-prose .prose-level-1{margin-left:24px;list-style-type:circle}.unified-prose code{font:.95em Cascadia Code,Consolas,monospace;background:#edf3ed;color:#265d42;padding:2px 6px;border-radius:4px;white-space:nowrap}@media(max-width:650px){.unified-prose{font-size:18px}}@supports not (height:100dvh){#app,.results.console-expanded,#plot-detail-dialog{height:100vh}}.app-expanded{overflow:hidden}@media(pointer:coarse){button{min-height:36px}.inputs input{font-size:16px}#plot-detail-close,#console-close{width:40px;height:40px}.plot-detail-toolbar{padding-top:max(8px,env(safe-area-inset-top))}}@media(max-width:800px){footer{padding-bottom:env(safe-area-inset-bottom)}.toolbar-scroll{scrollbar-width:thin}#plot-detail-viewport{padding-bottom:max(12px,env(safe-area-inset-bottom))}}.unified-prose.prose-illustrated{display:grid;grid-template-columns:minmax(0,1fr) clamp(42px,7vw,76px);gap:18px;align-items:start}.prose-body{min-width:0}.prose-illustrations{display:grid;gap:14px;padding-top:8px}.prose-illustrations img,.prose-illustrations svg{display:block;width:100%;height:auto;max-width:100%}.prose-illustrations>div{width:100%}.unified-prose p{margin:0 0 1em;max-width:80ch}@media(max-width:500px){.unified-prose.prose-illustrated{grid-template-columns:minmax(0,1fr) 42px;gap:8px}}.unified-prose .prose-checklist{list-style:none;padding-left:1.8em}.prose-checklist>li{position:relative}.prose-checklist>li:before{content:"✓";position:absolute;left:-1.4em;color:#0091ea;font-weight:600}.unified-prose .prose-code{margin:0 0 20px;max-width:100%;min-width:0}.unified-prose .prose-code pre{font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px}.unified-prose .prose-code pre code{font:inherit;background:none;color:inherit;padding:0;white-space:pre-wrap}.prose-code-line.source-highlight{background:#dcecff;border-radius:3px}@media(max-width:650px){.unified-prose .prose-code pre{font-size:14px}}.prose-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,44px);align-items:start}.prose-column{min-width:0;overflow-wrap:anywhere}.prose-panel{padding:clamp(16px,2vw,28px);border:1px solid #cbd8d1;border-radius:16px;background:#f3f7f4}.prose-panel p:last-child,.prose-column ul:last-child{margin-bottom:0}@media(max-width:850px){.prose-columns{grid-template-columns:1fr}}.prose-diagram{margin:24px 0 0}.prose-diagram .enlarge-image{display:block;width:100%;border:1px solid #dce5df;border-radius:12px;background:#fff;padding:12px;cursor:zoom-in}.prose-diagram [data-source-slide]{display:block;width:100%}.prose-diagram svg{display:block;width:100%;height:auto;overflow:hidden}.prose-diagram figcaption{font-size:13px;color:#62776a;margin-top:6px}
