:root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#263d37;background:#f2f4f0;--line:#dce4db;--green:#25634d;--muted:#6c7d75;--current:#cf4b27;--force:#5552b8;--field:#608ba8}*{box-sizing:border-box}body{margin:0}button,select{font:inherit;cursor:pointer;color:inherit;border:1px solid #d3ddd4;border-radius:7px;background:#fff;padding:8px 11px;font-size:12px;line-height:1.35}button:hover{background:#edf3ec}button:disabled{opacity:.55;cursor:wait}button.active,button[aria-pressed=true],button.primary{background:var(--green);border-color:var(--green);color:white}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #658fc0;outline-offset:3px}button.text-button{background:none;border:0;color:var(--green);padding:5px}a{color:var(--green);text-underline-offset:4px}[hidden]{display:none!important}.rail{position:fixed;width:172px;inset:0 auto 0 0;background:#e8eee5;padding:28px 14px;display:flex;flex-direction:column;border-right:1px solid #d7e0d3}.brand{text-decoration:none;padding:0 12px 28px}.brand b{font:700 24px Georgia,serif;letter-spacing:1px}.brand b span{font-weight:400;color:#a0b2a2}.brand small{display:block;font-size:11px;letter-spacing:3px;margin-top:9px;color:#657d6d}#chapters{display:grid;gap:6px}#chapters a{padding:13px 10px;border-radius:8px;font-size:13px;text-decoration:none;color:#53675c}#chapters a span{font:11px Consolas,monospace;margin-right:10px;color:#8b9e8c}#chapters a[aria-current=page]{background:#fff;color:#21573e;box-shadow:0 2px 8px #233d3610;font-weight:700}#chapters a[aria-current=page] span{color:#2a6e50}.rail-note{margin-top:auto;padding:26px 12px;color:#738272;font-size:13px;line-height:2}.rail-note span{font-size:10px}.rail>.text-button{font-size:11px;text-align:left;padding-left:12px}main{margin-left:172px;padding:24px 26px 12px;max-width:1900px}.page-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:16px}.eyebrow,.kicker{font-size:10px;letter-spacing:1.7px;color:#6a8575}h1{font-size:27px;font-weight:650;letter-spacing:.5px;line-height:1.35;margin:7px 0}#intro{font-size:12px;color:var(--muted);margin:6px 0;line-height:1.6}.version{font-size:10px;color:#788a7c;white-space:nowrap;padding-top:5px}.steps{display:flex;align-items:center;gap:10px;margin-bottom:14px}.steps button{padding:9px 18px;border:0;background:#e7ede3}.steps button.active{background:#25634d}.steps button span{margin-right:8px;font:11px Consolas,monospace;opacity:.7}.steps i{font-style:normal;color:#9aab9d}.sync-state{margin-left:auto;color:#66806b;font-size:11px}.cards{display:grid;grid-template-columns:minmax(340px,.85fr) minmax(420px,1.3fr);gap:16px}.card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px #20372804}.card-head{padding:14px 17px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-head h2{font-size:15px;margin:5px 0 0;font-weight:600}.badge{font-size:10px;white-space:nowrap;background:#edf2e9;color:#6b7d67;border-radius:5px;padding:5px 7px}.principle-canvas{background:#fcfcf8;display:flex;justify-content:center;align-items:center;flex:1;min-height:230px}.principle-canvas svg{width:100%;height:100%;max-height:345px;font-family:"Microsoft YaHei",sans-serif}.readout{display:grid;grid-template-columns:1fr 1fr;padding:9px 17px;gap:8px;font-size:11px;border-top:1px solid #eef0e9;background:#fcfcf8}.readout strong{font-weight:500;color:#476252}.card-controls{padding:11px 16px 10px;display:grid;gap:10px;border-top:1px solid var(--line)}.control-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.control-row [data-play]{min-width:110px}.speed-label{margin-left:auto;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.speed-label select{font-size:11px;padding:6px}.timeline-label{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted)}input[type=range]{accent-color:var(--green);min-width:50px;flex:1}input[type=checkbox]{accent-color:var(--green)}output{font:11px Consolas,monospace;min-width:43px}.checkpoints{display:flex;gap:5px;align-items:center}.checkpoints>span,.supply>span{font-size:10px;color:var(--muted);margin-right:4px}.checkpoints button,.supply button{font-size:11px;padding:6px 9px}.supply{padding-top:7px;border-top:1px dashed var(--line)}.supply>span{margin-right:auto}.card-foot{margin:0;padding:8px 16px 11px;font-size:10px;color:#809083;line-height:1.6;background:#fcfdfb}.view-tabs{display:flex;gap:4px;padding:0 16px 10px}.view-tabs button{font-size:11px;padding:6px 11px;border-color:transparent;background:#f1f4ee}.view-tabs button.active{background:#dae9df;color:#235b45;border-color:#a9c5b5}.model-viewport{position:relative;background:#f5f3ed;flex:1;min-height:305px;overflow:hidden}.port{position:absolute}.main-port{inset:0}.aux-port{bottom:10px;right:10px;width:27%;height:40%;background:#f5f3ed;border:1px solid #d0d9cc;border-radius:8px;overflow:hidden}.end-view .aux-port{inset:0 0 0 22%;width:auto;height:auto;border:0;border-radius:0}.end-view .main-port{left:8px;top:10px;right:auto;bottom:auto;width:30%;height:32%;border:1px solid #ced8ca;background:#f5f3ed;border-radius:7px;z-index:2;overflow:hidden}.geometry,.geometry>svg,#overlay{position:absolute;inset:0;width:100%;height:100%;display:block}.geometry>svg{padding:5px}.port-label{position:absolute;left:9px;bottom:7px;font-size:9px;background:#f5f3eddb;color:#6d806c;padding:3px 5px;pointer-events:none}.end-view .main-port .port-label{left:3px;bottom:2px;font-size:8px}.model-caption{font-size:10px;line-height:1.65;color:#768573;padding:8px 16px;background:#f6f7f1;border-top:1px solid #ebeee6}.toggle{font-size:10px;color:#6d7d6d;display:flex;align-items:center;gap:3px}.candidate-row{display:flex;gap:6px;flex-wrap:wrap}.candidate-row button{border-left:3px solid var(--topic-color,#5c7d62);font-size:11px;padding:6px 10px}.candidate-row button small{display:block;font-size:9px;opacity:.7;margin-top:3px}.candidate-row button.selected{outline:2px solid #263c3d;outline-offset:1px;background:#edf2ee;color:#243e31}.selection-info{font-size:10px;line-height:1.65;color:#788475;min-height:32px;overflow-wrap:anywhere}.lesson-note{display:flex;align-items:center;gap:14px;margin-top:12px;padding:13px 17px;background:#e8eee2;border-radius:9px;font-size:12px;line-height:1.7}.lesson-note b{white-space:nowrap;color:#466c4c}.lesson-note p{margin:0;color:#5d735e;flex:1}.lesson-note button{font-size:11px;white-space:nowrap}footer{display:flex;gap:18px;flex-wrap:wrap;padding:16px 2px 0;font-size:10px;color:#90a08e}footer span{margin-right:auto}footer a{color:#7c907c}dialog{border:1px solid #ccdacb;border-radius:14px;padding:22px;max-width:min(960px,94vw);color:#2b4639;background:#f8faf6;box-shadow:0 15px 70px #17342233}dialog::backdrop{background:#183c3155}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-head h2{font-size:19px}.fact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fact-grid section{padding:15px;border:1px solid var(--line);border-radius:8px;background:white}.fact-grid h3{font-size:14px}.fact-grid p,dialog>p{font-size:12px;line-height:1.8}#extra{width:1200px;max-width:96vw;height:92vh}iframe{border:0;width:100%;display:block}#extra-frame{height:calc(100% - 70px)}#retained-frame{min-height:700px;border-radius:12px;background:white}#overlay{pointer-events:none}.geometry [data-source-id]{cursor:pointer}.geometry .source-callout{display:none}.geometry .candidate:not([data-representation="fused-source-projection"]):not([data-representation="context-outline"])>use:not([fill="none"]){fill:var(--topic-tint);fill-opacity:.8}.geometry .candidate:not([data-representation="fused-source-projection"])>g>path{fill:var(--topic-color);fill-opacity:.2;stroke:none}.geometry .candidate>use[fill="none"]{stroke:var(--topic-color);stroke-width:1.4;stroke-opacity:.8}.geometry .candidate[data-representation="fused-source-projection"]>path:not([fill="none"]){fill:var(--topic-tint);fill-opacity:.7;stroke:none}.geometry .candidate.emphasis>use[fill="none"]{stroke-width:2;stroke-opacity:1}.geometry .candidate.emphasis>use:not([fill="none"]){fill-opacity:1}.geometry .candidate.emphasis[data-representation="fused-source-projection"]>path:not([fill="none"]){fill-opacity:1}.geometry .source-hit{fill-opacity:0}.geometry .selected>use[fill="none"],.geometry .selected>path[fill="none"]{stroke:#263b3d!important;stroke-width:3!important;stroke-opacity:1!important}.geometry .selected>.source-hit{fill:#b6cfc0!important;fill-opacity:.4!important;stroke:#263b3d!important;stroke-width:1.4!important}.geometry [data-representation="context-outline"]{fill:none!important;stroke-dasharray:7 6!important}.geometry .selected[data-representation="context-outline"]{stroke:#263b3d!important;stroke-width:2.5!important;fill:none!important}
.geometry>svg{padding:0;overflow:hidden}.geometry [data-representation="teaching-annotation"]{display:none}
@media(min-width:1600px){main{padding:30px 38px}.principle-canvas svg{max-height:400px}.model-viewport{min-height:380px}.card-controls{padding-top:16px;padding-bottom:16px}.card-head{padding-top:18px}}
@media(min-width:951px) and (max-height:850px){main{padding-top:16px}.page-head{margin-bottom:9px}h1{font-size:24px}.steps{margin-bottom:10px}.card-head{padding-top:10px;padding-bottom:9px}.principle-canvas svg{max-height:245px}.model-viewport{min-height:240px}.card-controls{gap:7px;padding-top:9px;padding-bottom:8px}.card-foot{padding-bottom:8px}.lesson-note{margin-top:9px;padding:9px 14px}.model-caption{padding-top:6px;padding-bottom:6px}.selection-info{min-height:25px}}
@media(max-width:1200px){.rail{width:145px;padding:24px 8px}main{margin-left:145px;padding:20px 18px}.cards{grid-template-columns:minmax(310px,.9fr) minmax(360px,1.2fr);gap:12px}.card-head h2{font-size:13px}.card-controls{padding:10px}.steps button{padding:9px 12px}.toggle{font-size:9px}.control-row{gap:5px}.model-viewport{min-height:300px}.sync-state{font-size:10px}.principle-canvas svg{max-height:310px}}
@media(max-width:950px){.rail{position:static;width:auto;padding:14px 16px;border-right:0;display:block}.brand{display:none}#chapters{display:flex;gap:3px;overflow:auto}#chapters a{font-size:11px;white-space:nowrap;padding:9px}#chapters a span{display:none}.rail-note,.rail>.text-button{display:none}main{margin:0;padding:16px}.cards{grid-template-columns:minmax(300px,.9fr) minmax(350px,1.2fr)}.page-head{margin-bottom:12px}h1{font-size:24px}.version{display:none}.steps{gap:6px}.sync-state{font-size:9px}.lesson-note{font-size:11px}}
@media(max-width:730px){main{padding:15px 12px}.cards{grid-template-columns:1fr}.steps{flex-wrap:wrap;gap:5px}.steps button{flex:1;padding:10px 6px;font-size:12px}.steps button span{margin-right:3px}.sync-state{width:100%;margin:5px 0 0}.principle-canvas{height:260px;flex:auto}.principle-canvas svg{height:260px}.model-viewport{height:330px;flex:auto}.card-head{padding:13px}.model-card .card-controls{padding:13px}.card-controls{gap:10px;padding:13px}.lesson-note{align-items:start;flex-wrap:wrap;gap:5px}.lesson-note p{flex-basis:100%}.lesson-note b{font-size:12px}.fact-grid{grid-template-columns:1fr}footer{gap:10px}footer span{width:100%}.end-view .aux-port{left:15%}.end-view .main-port{width:31%;height:29%}.view-tabs{padding-left:13px}.view-tabs button{padding:8px 9px}.candidate-row button{flex:1;padding:8px 4px}.toggle{font-size:10px}.page-head #intro{font-size:11px}#retained-frame{min-height:780px}}
