@font-face{font-family:"Course Han";src:url("assets/fonts/NotoSansSC-VF.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+2E80-9FFF,U+F900-FAFF,U+FF00-FFEF,U+20000-2FA1F,U+2014,U+2018-201F,U+2026}
:root{--course-font:"Course Han","KaTeX_Main","Times New Roman",serif;--academic-ui:var(--course-font);--lab-font:var(--course-font);--lab-heading:var(--course-font);--course-ink:#18334a;--course-accent:#246994}
html body,html body[class] :is(h1,h2,h3,p,a,button,input,select,textarea,label,output,small,summary,li,th,td){font-family:var(--course-font)!important}
html body[class] button,html body[class] a.lab-btn,html body[class] a.btn,html body[class] .source-case-link{font-family:var(--course-font)!important;font-size:16px!important;min-height:35px!important;padding:6px 11px!important;border-radius:5px!important;letter-spacing:0;line-height:1.3;box-shadow:none}
html body[class] button{transition:background-color .16s,border-color .16s,translate .16s}
html body[class] button:hover{scale:1!important;translate:0 -1px}
html body[class] button:active{translate:0 0}
html body[class] .lab-global-nav a,html body[class] .site-nav a{font-size:16px!important}
html body[class] .lab-title-row h1{font-size:22px!important;font-weight:600!important}
html body[class] svg text{font-family:var(--course-font)!important}
html body[class] .katex{font-family:KaTeX_Main,serif!important}
html body[class] .katex .cjk_fallback{font-family:"Course Han",serif!important}
html body[class] .assistant-message,html body[class] .assistant-compose textarea{font-family:var(--course-font)!important;font-size:16px!important;line-height:1.7!important}
html body[class] .lab-actions{gap:6px;flex-wrap:wrap}
html body[class] .lab-title-copy{min-width:0}
html body[class] .source-toolbar h1{font-size:22px!important}
html body[class] .lab-taskbar button{min-height:32px!important;padding:4px 9px!important;font-size:15px!important}
html body[class] .lab-taskbar{margin:0}
html body[class] .plot-heading h2{font-size:16px!important}
html body[class] .plot-heading .plot-legend{font-size:12px}
html body[class] .plot-heading button{font-size:14px!important;padding:2px 6px!important;min-height:28px!important}
html body[class] .scene-topline{height:38px;min-height:38px;padding:2px 8px}
html body[class] .scene-topline button{font-size:15px!important;min-height:31px!important;padding:4px 8px!important}
html body[class] .scene-3d-button{font-size:15px!important;min-height:32px!important;padding:5px 9px!important}
html body[class] .scene-3d-tools{gap:6px}
html body[class] .scene-bottomline{font-size:14px}
html body[class] .fadec-panel{gap:9px;padding:12px}
html body[class] .pi-tabs button{font-size:16px!important;min-height:32px!important;padding:4px!important}
html body[class] .conditions-row button{min-height:28px!important;padding:2px 5px!important}
html body[class] .lab-statusline button{font-size:13px!important;padding:0 4px!important;min-height:20px!important}
html body[class] .lab-heading{min-width:0}
html body[class] .playback-controls{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:7px;height:32px}
html body[class] .playback-controls button{font-size:14px!important;min-height:30px!important;padding:3px 9px!important}
.playback-controls output{font:17px var(--course-font);min-width:155px;color:#355a77;text-align:right}
body.curve-playing .plot-summary>span,body.curve-playing .trial-delta{visibility:hidden}
body.curve-playing .plot-summary::before{content:'响应播放中';position:absolute;left:12px;color:#47647b}
.scene-load-error{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:#eaf0f3;color:#334c60;font-size:18px}
@media(max-width:760px){html body[class] .lab-global-nav a{font-size:14px!important}html body[class] .lab-btn,html body[class] button{font-size:15px!important}html body[class] .scene-3d-button{font-size:13px!important;padding:4px 6px!important;min-height:29px!important}html body[class] .lab-title-row h1{font-size:20px!important}.playback-controls{gap:5px!important;justify-content:flex-start!important}html body[class] .playback-controls button{font-size:13px!important}html body[class] .playback-controls output{font-size:15px;min-width:0;margin-left:auto}}
@media(prefers-reduced-motion:reduce){html body[class] button{transition:none;translate:0 0!important}}

@media(min-width:761px){html body[data-source-page="root-basic"] main{grid-template-rows:170px 50px minmax(0,1fr) 68px!important}html body[data-source-page="root-basic"] .lead{grid-template-columns:1.9fr 1fr!important}html body[data-source-page="root-basic"] .academic-root-loop{height:162px!important}}

html body[class][data-source-page] button{font-size:15px!important;min-height:32px!important;padding:5px 9px!important}

html body[class] .lab-btn.primary,html body[class] #run-experiment{background:#174f73!important;border-color:#174f73!important;color:#fff!important}
html body[class] .lab-btn:not(.primary):not(.text),html body[class] .scene-3d-button{background:#fff;color:#294e68;border-color:#b7cad8}
html body[class] .site-nav a[aria-current],html body[class] .lab-global-nav a[aria-current],html body[class] .pi-tabs button[aria-selected=true],html body[class] .part-switch button[aria-pressed=true],html body[class] .lab-taskbar button[aria-current]{border-color:#347c9f!important;color:#174f73!important}
html body[class] .source-examples button[aria-pressed=true]{background:#e8f2f8;border-color:#b2cddd;color:#174f73}

html body[data-start="engine"] .pi-other{display:none!important}
html body[data-start="engine"] .fadec-panel{gap:6px!important;padding:9px 12px!important;overflow:hidden}
html body[data-start="engine"] .fadec-heading{min-height:25px}
html body[data-start="engine"] .pi-equation{margin:2px 0!important}
html body[data-start="engine"] .pi-purpose{margin:0!important;font-size:14px!important}
html body[data-start="engine"] .pi-field{min-height:32px;padding:0!important}
html body[data-start="engine"] .playback-controls>.conditions-row{margin:0 auto 0 0;gap:8px;display:flex;align-items:center;font-size:15px}
html body[data-start="engine"] .playback-controls select{height:30px;font-size:15px;padding:2px 5px}
html body[data-source-page] .quick button,html body[data-source-page] .presets button,html body[data-source-page] .controls button{font-size:15px!important;min-height:32px!important;padding:5px 9px!important}
@media(max-width:700px){html body[data-start="engine"] .playback-controls{height:auto;min-height:32px;flex-wrap:wrap}html body[data-start="engine"] .playback-controls>.conditions-row{gap:5px;font-size:13px}html body[data-start="engine"] .playback-controls select{font-size:13px;height:27px}}
