/* A daylight engineering notebook: diagrams carry the explanation, controls stay adjacent. */
.jm-labs { --lab-line:#d9dedc; --lab-paper:#f5f7f5; --lab-ink:#253536; --lab-muted:#576766; --lab-red:#a83d2f; }
.lab-topics { position:sticky; top:68px; z-index:9; display:flex; flex-wrap:wrap; gap:0 28px; padding:0 0 1px; margin:0 0 35px; border-bottom:1px solid var(--lab-line); background:#f8f8f4; scroll-margin-top:80px; }
.lab-topics button { position:relative; min-height:52px; padding:12px 1px; border:0; border-radius:0; font-size:14px; color:#667271; font-weight:500; background:none; }
.lab-topics button:hover { background:none; color:#243d3b; }
.lab-topics button[aria-pressed="true"] { background:none; color:#213b39; font-weight:700; }
.lab-topics button[aria-pressed="true"]:after { content:""; position:absolute; height:2px; bottom:-2px; left:0; right:0; background:#ac4435; }
.lab-title { font-size:clamp(23px,2.3vw,31px); letter-spacing:-.025em; scroll-margin-top:150px; }
.lab-intro { max-width:80ch; font-size:15px; line-height:1.9; margin:15px 0 29px; }
.lab-workbench { border:1px solid #cbd4d0; border-radius:9px; background:#fff; overflow:hidden; margin:26px 0 38px; box-shadow:0 8px 22px -19px #1d333d70; }
.workbench-header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 24px; border-bottom:1px solid var(--lab-line); }
.workbench-header h4 { font-size:15px; font-weight:650; margin:0; }
.workbench-header button { border:0; border-bottom:1px solid #a8b4ad; border-radius:0; padding:3px 0; background:none; color:#526963; font:inherit; font-size:12px; min-height:32px; cursor:pointer; }
.workbench-header button:hover { color:#a83d2f; border-color:currentColor; }
.workbench-actions { display:flex; align-items:center; gap:22px; }
.workbench-header [data-play] { color:#2e7561; border-color:#92b3a4; }
.workbench-header [data-play][aria-pressed="true"] { color:#a83d2f; border-color:#bc8d79; }
.workbench-header button:disabled { color:#89948d; border-color:#cfd6cd; cursor:default; }
.lab-scenarios { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:15px 24px; border-bottom:1px solid var(--lab-line); background:#fbfcfa; }
.lab-scenarios>span { font-size:12px; color:#697874; margin-right:10px; }
.lab-scenarios button { font:inherit; font-size:12px; line-height:1.5; color:#415753; padding:7px 13px; border-radius:5px; border:1px solid #d9e0da; background:#fff; cursor:pointer; min-height:34px; transition:background .18s,color .18s,border-color .18s; }
.lab-scenarios button:hover { border-color:#78988c; background:#f3f7f3; }
.lab-scenarios button[aria-pressed="true"] { background:#e9f1eb; border-color:#82a18f; color:#234d3c; }
.lab-scenarios button:active { transform:translateY(1px); }
.lab-instrument { grid-template-columns:minmax(0,1fr) 264px; border:0; align-items:stretch; }
.lab-chart { justify-content:center; background:#fafbf9; color:#263c40; overflow:hidden; }
.lab-chart>[data-plot] { overflow-x:auto; scrollbar-color:#a9b9b2 #f4f6f3; scrollbar-width:thin; }
.lab-settings { padding:25px 23px; gap:27px; justify-content:flex-start; background:#f4f7f3; border-left:1px solid var(--lab-line); }
.lab-controls-hint { color:#596c63; font-size:12px; line-height:1.8; padding-bottom:17px; border-bottom:1px solid #d9e0d8; margin-bottom:0; }
.lab-control { font-size:12px; gap:8px; align-content:start; }
.lab-control label { color:#344c43; }
.lab-control output { color:#9c3e2d; font:500 12px var(--mono); font-variant-numeric:tabular-nums; }
.lab-control select { margin-top:2px; min-height:42px; border:1px solid #bac9bf; background-color:#fff; border-radius:5px; font-size:12px; padding:9px; cursor:pointer; }
.lab-control input[type="range"] { appearance:none; height:5px; margin:12px 0 3px; border-radius:3px; background:linear-gradient(to right,#517965 0 var(--range-progress,50%),#d9e1d9 var(--range-progress,50%) 100%); }
.lab-control input[type="range"]::-webkit-slider-thumb { appearance:none; width:18px; height:18px; border:3px solid #fff; border-radius:50%; background:#3b664f; box-shadow:0 1px 4px #355a4670; cursor:ew-resize; }
.lab-control input[type="range"]::-moz-range-thumb { width:13px; height:13px; border:3px solid #fff; border-radius:50%; background:#3b664f; box-shadow:0 1px 4px #355a4670; cursor:ew-resize; }
.lab-control input[type="range"]:focus-visible { outline-offset:8px; }
.lab-range-ends { grid-column:1/-1; display:flex; justify-content:space-between; color:#5c7063; font:10px var(--mono); padding-top:5px; }
.lab-legend { display:flex; flex-wrap:wrap; gap:11px 24px; padding:12px 24px 21px; justify-content:center; }
.lab-legend span { display:flex; align-items:center; gap:7px; font-size:11px; color:#5e706a; }
.lab-legend i { display:inline-block; width:17px; height:3px; background:#a5afab; }
.lab-legend .legend-blue { background:#317f99; }.lab-legend .legend-red { background:#b5533c; }.lab-legend .legend-gray { background:#98a7a0; }.lab-legend .legend-dash { background:repeating-linear-gradient(to right,#7e8f86 0 4px,transparent 4px 7px); height:2px; }
.lab-metrics { border:0; border-top:1px solid var(--lab-line); background:#fff; }
.lab-metrics div { padding:20px 24px; }
.lab-metrics div+div { border-color:var(--lab-line); }
.lab-metrics dt { font-size:11px; color:#687974; }
.lab-metrics dd { font-size:clamp(16px,1.8vw,22px); font-weight:500; line-height:1.4; color:#2e4943; margin-top:7px; letter-spacing:-.02em; }
.lab-observation { display:flex; align-items:baseline; gap:23px; padding:17px 24px; border-top:1px solid var(--lab-line); background:#f3f6f0; color:#3b5545; }
.lab-observation[hidden] { display:none; }
.lab-observation strong { white-space:nowrap; font-size:12px; }
.lab-observation p { font-size:13px; line-height:1.8; }
.studio-svg { width:100%; height:auto; display:block; }
.studio-svg text { fill:#364c50; font:14px "Microsoft YaHei",system-ui,sans-serif; }
.studio-svg .s-heading { font-size:15px; font-weight:600; fill:#2e484c; }
.studio-svg .s-small { font-size:12px; fill:#5d7072; }
.studio-svg .s-value { font:500 19px var(--mono); fill:#304e50; }
.studio-svg .s-byte-value { font:500 23px var(--mono); fill:#2c5158; }
.studio-svg .s-red { fill:#ac4c37; }.studio-svg .s-blue { fill:#287d97; }
.studio-svg .s-rule,.studio-svg .s-tick { fill:none; stroke:#879b9c; stroke-width:1; }
.studio-svg .s-divider { stroke:#dbe3df; stroke-width:1; }
.studio-svg .s-grid { fill:none; stroke:#dce5e2; stroke-width:1; }
.studio-svg .s-axis { fill:none; stroke:#a4b5b4; stroke-width:1; stroke-dasharray:6 5; }
.studio-svg .s-metal { fill:url(#studio-steel); stroke:#90a2a9; stroke-width:1.2; }
.studio-svg .s-light { fill:#f9fbf9; stroke:#a5b5b8; stroke-width:1; }
.studio-svg .s-ring { fill:#d8e0df; stroke:#98aaad; stroke-width:1; }
.studio-svg .s-ball { fill:#eef4f5; stroke:#8da5ad; stroke-width:1.3; }
.studio-svg .s-shaft { fill:#eee0d5; stroke:#b15d43; stroke-width:2; fill-opacity:.85; }
.studio-svg .s-shaft-edge { fill:none; stroke:#d4b39e; stroke-width:1; }
.studio-svg .s-band-blue { fill:#9fc7d5; stroke:#3c8aa3; stroke-width:1.4; }.studio-svg .s-band-red { fill:#dfb29b; stroke:#b26043; stroke-width:1.4; }
.studio-svg .s-case { fill:#e3e9e8; stroke:#8c9c9f; stroke-width:1.4; }
.studio-svg .s-hatch { fill:url(#studio-hatch); stroke:none; }
.studio-svg .s-copper { fill:#d1a076; stroke:#9c6b4b; stroke-width:1; }.studio-svg .s-coil { stroke:#eac5a3; stroke-width:3; }
.studio-svg .s-rotor { fill:#475e65; stroke:#354b51; stroke-width:1; }
.studio-svg .s-bearing { fill:#bdcdd0; stroke:#75919a; stroke-width:1.4; }
.studio-svg .s-locate { fill:none; stroke:#2c87a5; stroke-width:5; }.studio-svg .s-contact { fill:none; stroke:#b35d41; stroke-width:3; }
.studio-svg .s-fastener { fill:#97a6ac; stroke:#6f848c; stroke-width:1; }.studio-svg .s-fastener-active { fill:#cb947b; stroke:#a55539; stroke-width:1.3; }
.studio-svg .s-thread { stroke:#6c8084; stroke-width:1; }
.studio-svg .s-polymer { fill:#e6ece4; stroke:#91a391; stroke-width:1.2; }
.studio-svg .s-magnet { fill:#516065; stroke:#243a3e; stroke-width:1.2; }
.studio-svg .s-chip { fill:#314c4d; stroke:#1e3638; stroke-width:1; }
.studio-svg .s-pcb { fill:#3e8b7a; stroke:#2a6359; stroke-width:1; }.studio-svg .s-pcb-active { fill:#d9a477; stroke:#b36436; stroke-width:2; }
.studio-svg .s-spacer { fill:#ebebdc; stroke:#9d9b7d; stroke-width:1; }.studio-svg .s-bolt { fill:#d9e3e3; stroke:#7c9296; stroke-width:1; }
.studio-svg .s-selected-case { fill:#f0e2d4; stroke:#b68a67; stroke-width:1.7; }
.studio-svg .s-orbit { fill:none; stroke:#c3d1cc; stroke-dasharray:3 5; stroke-width:1; }
.studio-svg .s-vector { fill:none; stroke:#b95039; stroke-width:2.5; stroke-linecap:round; }
.studio-svg .s-blue-vector { fill:none; stroke:#337f9a; stroke-width:2; stroke-linecap:round; }
.studio-svg .s-projection { fill:none; stroke:#8aa6a7; stroke-width:1; stroke-dasharray:4 4; }
.studio-svg .s-red-point { fill:#b95039; stroke:#fff; stroke-width:1.5; }.studio-svg .s-blue-point { fill:#337f9a; stroke:#fff; stroke-width:1.5; }.studio-svg .s-green-point { fill:#578577; stroke:#fff; stroke-width:1.5; }
.studio-svg .s-pole-n { fill:#dec1ad; stroke:#b8967d; stroke-width:1; }.studio-svg .s-pole-s { fill:#b6d2db; stroke:#7eacbc; stroke-width:1; }.studio-svg .s-pole-text { fill:#40565a; font-size:12px; }
.studio-svg .s-wave-0,.studio-svg .s-wave-1,.studio-svg .s-wave-2 { fill:none; stroke:#b95039; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.studio-svg .s-wave-1 { stroke:#337f9a; }.studio-svg .s-wave-2 { stroke:#578577; }
.studio-svg .s-sector { fill:#e7f0ef; stroke:none; }.studio-svg .s-hexagon { fill:none; stroke:#87a5ac; stroke-width:1.4; }
.studio-svg .s-zero { fill:#d1dbd6; }.studio-svg .s-time-one { fill:#5596ab; }.studio-svg .s-time-two { fill:#c68264; }
.studio-svg .s-hole { fill:#c3cfc6; stroke:#9cab9f; stroke-width:1; }
.studio-svg .s-loop { fill:#eef2ed; stroke:#bbc9c0; stroke-width:1; }.studio-svg .s-loop-active { fill:#dcecf0; stroke:#46879d; stroke-width:1.5; }
.studio-svg .s-signal { stroke:#829d99; stroke-width:1.4; fill:none; }.studio-svg .s-feedback { stroke:#a2b6ad; stroke-width:1; fill:none; }
.studio-svg .s-target { stroke:#719d93; stroke-width:1.5; stroke-dasharray:6 4; fill:none; }.studio-svg .s-response { stroke:#b75b43; stroke-width:2.8; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.studio-svg .s-request-byte { fill:#edf3f3; stroke:#b6cbd0; stroke-width:1; }.studio-svg .s-byte { fill:#f1f4ef; stroke:#c6d1ca; stroke-width:1; }.studio-svg .s-selected-byte { fill:#f1ddd1; stroke:#bd8a70; stroke-width:1.3; }
.studio-svg .s-decode { fill:#eef3ed; stroke:none; }
/* Flat axial section for the housing study: solid fills, one stroke weight, no gradients. */
.studio-svg .h-axis { stroke:#a9b6bb; stroke-width:1; stroke-dasharray:12 6; fill:none; }
.studio-svg .h-body { fill:#a9bbc4; stroke:#3f4e56; stroke-width:1.6; }
.studio-svg .h-cap { fill:#d3dee3; stroke:#3f4e56; stroke-width:1.6; }
.studio-svg .h-flange { fill:#bcccd4; stroke:#3f4e56; stroke-width:1.6; }
.studio-svg .h-hub { fill:#8fa3ad; stroke:#3f4e56; stroke-width:1.4; }
.studio-svg .h-rear { fill:#bcccd4; stroke:#3f4e56; stroke-width:1.6; }
.studio-svg .h-stator { fill:#7f95a0; stroke:#3f4e56; stroke-width:1.2; }
.studio-svg .h-wind { fill:#e8b070; stroke:#a9762f; stroke-width:1; }
.studio-svg .h-rotor { fill:#4f5f69; stroke:#2f3d45; stroke-width:1.2; }
.studio-svg .h-shaft { fill:#7c8a92; stroke:#2f3d45; stroke-width:1.2; }
.studio-svg .h-magnet { fill:#2f3d45; stroke:#1d2a31; stroke-width:1; }
.studio-svg .h-bearing { fill:#f4f8fa; stroke:#4a5d66; stroke-width:1.4; }
.studio-svg .h-ball { fill:#dbe5e9; stroke:#4a5d66; stroke-width:1; }
.studio-svg .h-pcb { fill:#2e7d62; stroke:#1f5b47; stroke-width:1.2; }
.studio-svg .h-chip { fill:#1f3a34; stroke:#142924; stroke-width:.8; }
.studio-svg .h-spacer { fill:#dfe2cf; stroke:#8d917a; stroke-width:1; }
.studio-svg .h-screw { fill:#7d8f98; stroke:#3f4e56; stroke-width:1.2; }
.studio-svg .h-thread { fill:#55686f; stroke:none; }
.studio-svg .h-hole { fill:#fff; stroke:none; }
.studio-svg .h-omit { fill:none; stroke:#b9c6cc; stroke-width:1.1; stroke-dasharray:7 6; }
.studio-svg .h-gap { fill:#d3e8de; stroke:#2e7d62; stroke-width:1; }
.studio-svg .h-blue { fill:#2a6fd1; stroke:#1c4f9c; stroke-width:1.2; }
.studio-svg .h-red { fill:#c0503a; stroke:#8f3626; stroke-width:1.2; }
.studio-svg .h-amber { fill:#c78a1b; stroke:#94650f; stroke-width:1.2; }
.studio-svg .h-green { fill:#2e7d62; stroke:#1f5b47; stroke-width:1.2; }
.studio-svg .h-screw-on { fill:#c78a1b; stroke:#94650f; stroke-width:1.2; }
.studio-svg line.h-blue, .studio-svg line.h-red { fill:none; stroke-linecap:round; stroke-width:5; }
.studio-svg line.h-blue { stroke:#2a6fd1; } .studio-svg line.h-red { stroke:#c0503a; }
.studio-svg .h-force { fill:none; stroke:#5a6b73; stroke-width:2.5; stroke-linecap:round; }
.studio-svg .h-force.h-blue { stroke:#2a6fd1; } .studio-svg .h-force.h-red { stroke:#c0503a; }
.studio-svg .h-force.h-amber { stroke:#c78a1b; } .studio-svg .h-force.h-green { stroke:#2e7d62; }
.studio-svg .h-leader { fill:none; stroke:#a8b6bc; stroke-width:1; }
.studio-svg .h-leader.h-blue { stroke:#2a6fd1; stroke-width:1.6; } .studio-svg .h-leader.h-red { stroke:#c0503a; stroke-width:1.6; }
.studio-svg .h-leader.h-amber { stroke:#c78a1b; stroke-width:1.6; } .studio-svg .h-leader.h-green { stroke:#2e7d62; stroke-width:1.6; }
.studio-svg .h-leader-dot { fill:#a8b6bc; }
.studio-svg .h-mark { fill:#fff; stroke:#a8b6bc; stroke-width:1.4; }
.studio-svg .h-mark-text { font:600 11px var(--mono); fill:#4f6068; text-anchor:middle; }
.studio-svg .h-mark-text-on { fill:#fff; }
.studio-svg .h-callout { font-size:11.5px; font-weight:600; fill:#3f4e56; }
.studio-svg .h-note { font-size:11px; fill:#6c7c83; }
.studio-svg .h-label { font-size:11px; fill:#42535b; }
.studio-svg .h-caption { font-size:11px; fill:#8a9aa1; }
.jm-labs .lab-legend .legend-amber { background:#c78a1b; }
.jm-labs .lab-legend .legend-green { background:#2e7d62; }
/* View switch and the real-model 3D section. */
.workbench-modes { display:flex; align-items:center; gap:6px; }
.workbench-modes button { border:1px solid #d9e0da; border-radius:5px; padding:5px 11px; background:#fff; color:#4f635a; font:inherit; font-size:12px; min-height:32px; cursor:pointer; transition:background .18s,border-color .18s,color .18s; }
.workbench-modes button:hover { border-color:#78988c; background:#f3f7f3; }
.workbench-modes button[aria-pressed="true"] { background:#e9f1eb; border-color:#82a18f; color:#234d3c; font-weight:600; }
.lab-chart > [data-plot][hidden], .lab-three[hidden] { display:none !important; }
.lab-three { position:relative; width:100%; height:clamp(320px,40vw,540px); background:#f6f8f7; }
.lab-three-stage { position:absolute; inset:0; }
.lab-three-stage canvas { display:block; width:100%; height:100%; touch-action:none; cursor:grab; }
.lab-three-stage canvas:active { cursor:grabbing; }
.lab-three-hint { position:absolute; left:16px; top:12px; margin:0; font-size:11px; line-height:1.6; color:#6a7c74; pointer-events:none; }
.lab-three-load { display:grid; place-items:center; height:100%; margin:0; padding:24px; font-size:12px; line-height:1.8; color:#6a7c74; text-align:center; }
.lab-three-bar { position:absolute; left:14px; right:14px; bottom:12px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:9px 13px; border:1px solid #dfe6e1; border-radius:8px; background:#ffffffdd; font-size:11px; color:#5e706a; }
.lab-three-bar label { display:flex; align-items:center; gap:10px; flex:1; max-width:340px; }
.lab-three-bar output { font:500 11px var(--mono); color:#9c3e2d; min-width:32px; text-align:right; }
.lab-three-bar input[type="range"] { flex:1; appearance:none; height:4px; margin:0; border-radius:2px; background:#d9e1d9; cursor:ew-resize; }
.lab-three-bar input[type="range"]::-webkit-slider-thumb { appearance:none; width:14px; height:14px; border:2px solid #fff; border-radius:50%; background:#3b664f; box-shadow:0 1px 3px #355a4670; }
/* Callouts projected onto the 3D model. */
.lab3d-labels { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.lab3d-mark { position:absolute; left:0; top:0; display:flex; align-items:center; gap:6px; margin:-11px 0 0 -11px; --accent:#2a6fd1; }
.lab3d-mark.is-on { z-index:6; }
.lab3d-mark:not(.is-on) span { opacity:.5; }
.lab3d-mark span { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#fff; border:1.4px solid #a8b6bc; font:600 11px/1 var(--mono); color:#4f6068; box-shadow:0 1px 3px #1d333d24; }
.lab3d-mark.is-on span { background:var(--accent); border-color:var(--accent); color:#fff; }
.lab3d-mark b { display:none; padding:3px 7px; border-radius:4px; background:#ffffffe6; font-size:11.5px; font-weight:600; color:#3f4e56; white-space:nowrap; }
.lab3d-mark.is-on b { display:block; }
.lab3d-force { position:absolute; left:0; top:0; margin:-9px 0 0 -12px; padding:2px 6px; border-radius:4px; background:#ffffffe6; font:600 11px/1.4 var(--mono); color:#3f4e56; white-space:nowrap; z-index:5; }
@media(max-width:600px){ .lab3d-mark span { width:20px; height:20px; margin:-10px 0 0 -10px; font-size:10px; } .lab3d-mark b { font-size:10.5px; } }
/* Locating relations carried into machining and acceptance below the plot. */
.lab-relations { padding:20px 24px 24px; border-top:1px solid var(--lab-line); background:#fff; }
.lab-relations[hidden] { display:none; }
.lab-relations-head h5 { margin:0; font-size:13px; font-weight:650; color:#2e484c; }
.lab-relations-head p { margin:5px 0 14px; font-size:12px; line-height:1.7; color:#6a7c74; }
.lab-relations-scroll { overflow-x:auto; scrollbar-width:thin; }
.lab-relations table { width:100%; min-width:660px; border-collapse:collapse; font-size:12px; }
.lab-relations th, .lab-relations td { padding:11px 12px; text-align:left; vertical-align:top; line-height:1.75; color:#3f544c; border-bottom:1px solid #e3e9e4; }
.lab-relations thead th { font-size:11px; font-weight:600; color:#6a7c74; background:#f4f7f3; border-bottom:1px solid #d9e0da; white-space:nowrap; }
.lab-relations tbody th { font-weight:600; color:#2e484c; white-space:nowrap; }
.lab-relations tbody tr.is-active { background:#f1f6ef; }
.lab-relations tbody tr.is-active th { box-shadow:inset 3px 0 0 #8fa88f; }
@media(max-width:600px){ .lab-relations { padding:16px; } .lab-relations table { min-width:560px; font-size:11px; } .lab-relations th, .lab-relations td { padding:9px 10px; } .lab-three { height:clamp(260px,58vw,380px); } .lab-three-bar { flex-direction:column; align-items:flex-start; gap:8px; } .lab-three-bar label { width:100%; max-width:none; } .lab-three-hint { right:16px; } }
/* The original gear drawing shares the light plotting palette. */
.lab-scope text { fill:#455f59; }.lab-scope .hot-text { fill:#ad4f33; }.lab-scope .cold-text { fill:#337b79; }
.lab-scope .rim { fill:#b0beb7; stroke:#6f8980; }.lab-scope .ring-gear { fill:#e6ece5; stroke:#83968b; }
.lab-scope .gear-body { fill:#c5d3c4; stroke:#5b7c69; }.lab-scope .hub { fill:#628a75; }
.lab-scope .trace-hot { stroke:#ad593d; }.lab-scope .trace-cold { stroke:#3d8b8c; }.lab-scope .gridline { opacity:.1; }
.theory-reading { max-width:1040px; margin-top:54px; }
.theory-reading>h3 { font-size:25px; margin-bottom:27px; letter-spacing:-.02em; }
.theory-section { padding-top:32px; margin-top:34px; border-top:1px solid #cdd5cc; }
.theory-section h4 { display:flex; align-items:baseline; gap:15px; font-size:22px; letter-spacing:-.02em; margin:0 0 21px; }
.theory-section h4>span { font:500 16px var(--mono); color:#9b5440; flex-shrink:0; }
.theory-section>p,.theory-section>ul,.theory-section>ol { max-width:76ch; font-size:15px; line-height:1.95; color:#43554e; margin:15px 0; }
.theory-section li { margin:9px 0; padding-left:5px; }.theory-section>ul,.theory-section>ol { padding-left:23px; }
.theory-equation { padding:23px 28px; margin:23px 0; background:#eef2ec; border:1px solid #d4ded1; border-radius:4px; }
.theory-equation code { font:500 15px/2 var(--mono); color:#32554d; overflow-wrap:anywhere; }
.theory-equation p { font-size:12px; color:#62705c; margin-top:12px; line-height:1.8; }
.theory-photo { margin:26px 0; max-width:690px; }
.theory-photo a { display:block; border-radius:5px; overflow:hidden; background:#e2e8e0; }
.theory-photo img { display:block; width:100%; height:auto; max-height:450px; object-fit:contain; }
.theory-photo figcaption { font-size:12px; color:#657667; line-height:1.7; padding-top:9px; }
.theory-screen { max-width:1040px; }.theory-screen img { max-height:none; }
.theory-task { padding:20px 24px; border-block:1px solid #c9d7c5; margin-top:22px; background:#f1f5ed; }
.theory-task strong { color:#3d5c44; font-size:13px; }.theory-task p { font-size:14px; color:#53674f; line-height:1.85; margin-top:8px; }
.theory-section .agent-prompt { margin-top:24px; border-left-width:1px; }
.jm-labs ::selection { background:#d1e3cf; color:#1e382a; }
.asm-photo-sequence.is-single img { height:auto; aspect-ratio:1493/1120; }
@media(max-width:980px){
 .lab-instrument { grid-template-columns:minmax(0,1fr); }
 .lab-settings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px 30px; border-left:0; border-top:1px solid var(--lab-line); }
 .lab-controls-hint { grid-column:1/-1; padding-bottom:12px; }
 .lab-control select { margin-bottom:4px; }
}
@media(max-width:600px){
 .lab-topics { top:58px; gap:0 20px; margin-bottom:25px; }
 .lab-topics button { min-height:44px; font-size:12px; padding-block:10px; }
 .lab-title { font-size:23px; }.lab-intro { font-size:14px; }
 .workbench-header { padding:14px 16px; gap:10px; }.workbench-header h4 { font-size:13px; }.workbench-header button { font-size:11px; flex-shrink:0; }
 .workbench-header:has([data-play]) { flex-wrap:wrap; }.workbench-actions { gap:19px; }
 .lab-scenarios { padding:13px 16px; gap:7px; }.lab-scenarios>span { width:100%; font-size:11px; }.lab-scenarios button { min-height:39px; padding:8px 11px; }
 .is-studio .lab-chart:before { content:"图示可横向滑动查看"; display:block; padding:12px 16px 0; font-size:11px; color:#6c8177; }
 .studio-svg { min-width:620px; }
 .lab-legend { gap:11px 16px; padding:16px; justify-content:flex-start; }.lab-legend span { font-size:10px; }
 .lab-settings { grid-template-columns:1fr; padding:20px 17px; gap:26px; }
 .lab-control { font-size:13px; }.lab-control select { font-size:13px; }.lab-range-ends { font-size:10px; }
 .lab-metrics { grid-template-columns:1fr; }.lab-metrics div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 17px; border:0!important; }.lab-metrics div+div { border-top:1px solid #e1e6df!important; }
 .lab-metrics dt { font-size:11px; }.lab-metrics dd { font-size:17px; margin:0; text-align:right; }
 .lab-observation { display:block; padding:17px; }.lab-observation p { margin-top:6px; }
 .theory-reading { margin-top:37px; }.theory-reading>h3 { font-size:22px; }
 .theory-section { padding-top:27px; margin-top:30px; }.theory-section h4 { font-size:20px; gap:11px; }
 .theory-section>p,.theory-section>ul,.theory-section>ol { font-size:14px; }
 .theory-equation { padding:18px 15px; }.theory-equation code { font-size:12px; }
 .theory-photo img { max-height:340px; }.theory-task { padding:17px; }
 .theory-screen img { max-height:none; }
}
@media(prefers-reduced-motion:reduce){.lab-scenarios button { transition:none; }}
@media print{.lab-topics,.lab-settings,.lab-scenarios,[data-reset]{display:none}.lab-instrument{display:block}.lab-workbench{break-inside:avoid;box-shadow:none}.studio-svg{min-width:0}.theory-section{break-inside:auto}}
