.mode-switch{display:flex;border:1px solid #b5beb1;border-radius:5px;padding:3px;gap:3px}.mode-switch button{border:0;font-size:11px;padding:7px 12px}.mode-switch button[aria-pressed=true]{background:#344a3e;color:#f5f4e9}header .mast-note{font-size:7px;letter-spacing:1.3px}.learning main{grid-template-columns:374px minmax(0,1fr)}.learning .story{padding:22px 23px}.learning .story>:not(#motion-lesson){display:none!important}.learning #flow,.learning #system-nav,.learning .motion-block{display:none}.learning .finish-row{display:none}.learning .readout{bottom:43px}.learning .readout strong{font-size:12px}.lesson-kicker{font:8px Consolas,monospace;letter-spacing:1.8px;color:#8b785f}.lesson-pager{display:flex;align-items:center;gap:12px;margin:12px 0}.lesson-pager span{font:10px Consolas;color:#809074}.lesson-pager button{padding:3px 9px;font-size:14px}.lesson-pager button:disabled{opacity:.3;cursor:default}#lesson-title{font-size:29px;line-height:1.25;letter-spacing:-1px;margin:0 0 12px}#lesson-lead{font-size:12px;line-height:1.85;color:#55685c;margin:0 0 12px}#lesson-chain{display:flex;flex-wrap:wrap;gap:5px;color:#536b60;font-size:9px;line-height:1.8}#lesson-chain span{background:#d9e0d4;padding:2px 5px;border-radius:3px}#lesson-focus{font-size:10px;line-height:1.75;color:#797963;border-left:2px solid #b2a078;padding-left:10px;margin:14px 0}.joint-lab{border:1px solid #c1cbbd;border-radius:7px;background:#f4f5eed9;padding:13px;margin:17px 0}.lab-heading{display:flex;justify-content:space-between;align-items:center}.lab-heading strong{font-size:12px;font-weight:600}.lab-heading span{font:10px Consolas;color:#617a6a}.lab-caption{font-size:8px;color:#8b967e;margin:5px 0 15px}.joint-lab label{display:flex;justify-content:space-between;gap:6px;font-size:10px;color:#586e5b}.joint-lab output{font:10px Consolas,Pretendard}.joint-lab input{height:15px;margin:7px 0 11px}.lab-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.lab-actions{display:flex;gap:5px}.lab-actions button{font-size:9px;padding:7px 8px}.lab-actions button[aria-pressed=true]{background:#dce7d5;border-color:#8ba784}.lab-actions button[aria-pressed=false]{background:#eee0d4;border-color:#c19778}.trace-title{display:flex;justify-content:space-between;font-size:8px;color:#778574;margin:15px 0 5px}.trace-title i,.trace-title b{display:inline-block;width:10px;height:2px;margin:0 3px 2px;background:#b99a5a}.trace-title b{background:#367965}#joint-trace,#phase-panel svg{display:block;width:100%;height:auto;overflow:visible}#joint-trace text{font:8px Consolas;fill:#87917f}.trace-grid{stroke:#d1d9cd;stroke-width:1;fill:none}#trace-reference{stroke:#b09150;stroke-width:1.5;fill:none;stroke-dasharray:4 3}#trace-actual{stroke:#327b64;stroke-width:2;fill:none}#phase-a,#phase-b,#phase-c{stroke:#aa7351;stroke-width:1.8;fill:none}#phase-b{stroke:#548b9d}#phase-c{stroke:#789370}#phase-values{font:9px Consolas;margin:3px 0 7px;color:#536957}#phase-panel small{font-size:8px;color:#86957a}.lab-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #d9dfd3;margin-top:8px;padding-top:11px}.lab-metrics span{display:block;font-size:8px;color:#87917d}.lab-metrics strong{display:block;font:13px/1.8 Consolas,Pretendard;color:#385345}#joint-status{font-size:8px;line-height:1.6;color:#937b58;margin:9px 0 0}#motion-lesson details{border-top:1px solid #c5cfbf;padding:13px 0}#motion-lesson summary{font-size:11px;cursor:pointer;color:#4c6653}#lesson-formula{white-space:pre-wrap;font:11px/1.8 Consolas,Pretendard;margin:13px 0;background:#dae2d3;padding:12px;border-radius:5px;overflow-wrap:anywhere}#lesson-symbols,#lesson-depth p,.model-parameters{font-size:10px;line-height:1.85;color:#667b66}#lesson-depth h3{font-size:11px;font-weight:600;margin:16px 0 5px}.model-parameters{border-left:2px solid #b4a077;padding-left:10px;margin-top:13px;font-size:9px}#lesson-sources>div{margin:14px 0}#lesson-sources a{font-size:10px;color:#58715e;line-height:1.6}#lesson-sources p,.lesson-source-note{font-size:9px;line-height:1.8;color:#85927d;margin:4px 0}.lesson-source-note{margin-top:14px}#lesson-chapters{display:flex;gap:5px;overflow-x:auto;margin-top:12px;scrollbar-width:thin}#lesson-chapters button{flex:1 0 auto;text-align:left;font-size:10px;padding:9px 10px;border-color:#ced5c6;color:#829077}#lesson-chapters button.active{color:#334e3a;background:#dbe5d1;border-color:#97ac87}#motion-legend{position:absolute;top:95px;left:24px;display:flex;gap:13px;flex-wrap:wrap;font-size:9px;color:#788570;max-width:350px;pointer-events:none}#motion-legend i{display:inline-block;width:5px;height:5px;border-radius:50%;margin-right:4px}.command-dot{background:#528fa2}.energy-dot{background:#bc9150}.feedback-dot{background:#739e83}#motion-legend small{font-size:8px;flex-basis:100%;color:#8f9a87}.learning .camera-presets{top:65px}.learning #context-inset{width:115px}.learning #mini-stage{height:120px}
@media(max-width:1180px){header .mast-note{display:none}.mode-switch{margin-left:auto}.learning main{grid-template-columns:338px minmax(0,1fr)}.learning .story{padding:20px 18px}.learning h1{font-size:26px}}
@media(max-width:720px){header{height:auto;min-height:64px;flex-wrap:wrap;padding-top:10px;padding-bottom:9px;gap:8px}.mode-switch{order:3;width:100%;justify-content:center}.mode-switch button{flex:1;padding:7px}.learning main{display:flex}.learning .story{padding:23px 20px}.learning .viewport{height:55svh;min-height:420px}.learning .camera-presets{top:103px}#motion-legend{top:151px;left:15px;gap:9px;font-size:8px}.learning .readout{bottom:44px;max-width:210px}.learning .readout strong{font-size:10px}.learning #context-inset{width:86px}.learning #mini-stage{height:94px}#lesson-chapters button{font-size:10px;min-height:38px;padding:8px}.learning #lesson-title{font-size:29px}.learning .control-top{gap:8px}}
@media(max-width:720px){.learning .readout{left:12px;bottom:14px;max-width:230px;padding:9px 11px;background:#eef1e9f2;border:1px solid #c3ccbe;border-radius:5px;z-index:3;gap:5px}.learning .readout small{max-width:205px;line-height:1.6}.learning .scene-footer{display:none}}
.learning .readout{background:#eef1e9f2;border:1px solid #c3ccbe;border-radius:5px;padding:10px 12px;z-index:3}
