/* Motion-only additions; shared subject surfaces remain intact. */
#pm-title{font:500 30px/1.25 Fraunces,serif;margin:10px 0 22px}#pm-scene svg{aspect-ratio:720/540}#pm-scene{touch-action:pan-y}#pm-scene:has(.drag:active){touch-action:none}.pm-cue{padding:0 24px;color:#b9c8db;font-size:14px;line-height:1.65;margin:0 0 8px}#pm-explain{font-size:15px;line-height:1.85;color:#52627a}#pm-formula{margin:0 0 24px}#pm-formula-text{font:500 clamp(20px,2.5vw,28px)/1.4 Fraunces,serif}#pm-formula-meaning{display:block;font-size:13px;line-height:1.7}#pm-controls output{font:13px 'DM Mono',monospace;color:#e1eaf6}#pm-readout{min-height:110px}#pm-question>p{font-size:15px}#pm-question .pl-choices{flex-direction:column}#pm-question input{min-width:100px}#pm-scene .drag{touch-action:none}#pm-scene .drag:focus-visible{stroke:white;stroke-width:5}
@media(max-width:560px){#pm-scene svg text{font-size:22px}#pm-scene svg .dim{font-size:20px}#pm-scene svg .large{font-size:30px}}
.pm-pace-note{display:block;flex-basis:100%;color:#b9c8db;font-size:12px;line-height:1.65}#pm-time{min-width:135px;font-variant-numeric:tabular-nums}#pm-scene svg text{font-variant-numeric:tabular-nums}
/* Motion laptop workbench: keep direct graph input and playback together. */
@media(min-width:1000px){
 .phys-lesson:has(#pm-learning) .pl-grid{display:block}
 .phys-lesson:has(#pm-learning) .pl-model{display:grid;grid-template-columns:minmax(0,1fr) 245px;margin-bottom:24px}
 .phys-lesson:has(#pm-learning) .pl-model-head,.phys-lesson #pm-cue{grid-column:1/-1}
 .phys-lesson #pm-scene{grid-column:1;grid-row:3;min-width:0}
 .phys-lesson #pm-controls{grid-column:2;grid-row:3 / span 3;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;border-top:0;border-left:1px solid var(--model-line);padding:16px;gap:16px}
 .phys-lesson #pm-controls label{display:grid;gap:8px;line-height:1.5}
 .phys-lesson #pm-controls :is(select,input[type=range]){width:100%;max-width:100%;box-sizing:border-box}
 .phys-lesson #pm-readout,.phys-lesson #pm-caveat{grid-column:1}
 .phys-lesson:has(#pm-learning) .pl-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
 .phys-lesson:has(#pm-learning) .pl-check,.phys-lesson:has(#pm-learning) .pl-context{margin-top:0}
 .phys-lesson:has(#pm-learning) .pl-context{grid-column:1/-1}
}
.pm-secondary{font-size:12px;line-height:1.6;border-top:1px solid #4a556d;padding-top:12px}
.pm-secondary summary{cursor:pointer;margin-bottom:12px}.pm-secondary label{margin:12px 0}
.pm-direct-hint{font-size:12px;line-height:1.7;color:#b9c8db;margin:0}
#pm-scene .drag{cursor:grab}#pm-scene .drag:active{cursor:grabbing}
