/* C14 momenergy: widgets reuse plates.css/widgets.css; see docs/requests/momenergy.md §5, §7. */
/* lab placeholders: the mounted heights, measured at 390 and 1280 px, so a lab mounting doesn't shift the page */
[data-chapter="momenergy"] #lab-momenergy-1 .lab-stage:not(:has(.stx-widget)){min-height:910px}
[data-chapter="momenergy"] #lab-momenergy-2 .lab-stage:not(:has(.stx-widget)){min-height:1100px}
[data-chapter="momenergy"] #lab-momenergy-3 .lab-stage:not(:has(.stx-widget)){min-height:833px}
[data-chapter="momenergy"] #lab-momenergy-4 .lab-stage:not(:has(.stx-widget)){min-height:940px}
@media (min-width:900px){
[data-chapter="momenergy"] #lab-momenergy-1 .lab-stage:not(:has(.stx-widget)){min-height:630px}
[data-chapter="momenergy"] #lab-momenergy-2 .lab-stage:not(:has(.stx-widget)){min-height:620px}
[data-chapter="momenergy"] #lab-momenergy-3 .lab-stage:not(:has(.stx-widget)){min-height:600px}
[data-chapter="momenergy"] #lab-momenergy-4 .lab-stage:not(:has(.stx-widget)){min-height:630px}}
[data-chapter="momenergy"] .me-main{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-3)}
@container (min-width:760px){[data-chapter="momenergy"] .me-main{grid-template-columns:minmax(0,1fr) minmax(15rem,17.5rem);align-items:start}}
[data-chapter="momenergy"] .me-stage{position:relative;min-width:0;display:flex;flex-direction:column;gap:var(--s-2)}
[data-chapter="momenergy"] .me-side{display:flex;flex-direction:column;gap:var(--s-3);min-width:0;font-size:.8rem}
[data-chapter="momenergy"] .me-plane-wrap{position:relative}
[data-chapter="momenergy"] :is(.me-plane,.me-strip){display:block;width:100%;height:auto;background:var(--surface);border-radius:var(--r-m);font-family:var(--font-sans);user-select:none;touch-action:pan-y}
[data-chapter="momenergy"] .me-sys{fill:none;stroke:var(--c-inv);stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}
[data-chapter="momenergy"] .me-sys-core{fill:none;stroke:var(--surface);stroke-width:1.25;stroke-linecap:round}
[data-chapter="momenergy"] .me-band{fill:none;stroke:var(--c-inv);stroke-opacity:.3;stroke-width:20;stroke-linecap:round}
[data-chapter="momenergy"] .me-ph{stroke-width:2.5}
[data-chapter="momenergy"] .me-handle{cursor:grab;outline:none;touch-action:none}
[data-chapter="momenergy"] .me-hit{fill:transparent}
[data-chapter="momenergy"] .me-knob{fill:var(--surface);stroke:var(--ink);stroke-width:2.5;transition:r var(--t-ui) var(--ease)}
[data-chapter="momenergy"] .me-handle:is(:hover,.is-dragging) .me-knob{r:8.5px;stroke:var(--c-inv)}
[data-chapter="momenergy"] .me-focus{fill:none;stroke:var(--focus);stroke-width:3;opacity:0}
[data-chapter="momenergy"] .me-handle:focus-visible .me-focus{opacity:1}
[data-chapter="momenergy"] .me-strip-bg{fill:var(--surface-2);stroke:var(--rule)}
[data-chapter="momenergy"] .me-strip-panel:not(.is-active){opacity:.5}
[data-chapter="momenergy"] .me-hot{fill:var(--tint-bad);stroke:var(--c-bad);stroke-width:2}
[data-chapter="momenergy"] .me-table-wrap{width:100%;overflow-x:auto}
@container (max-width:420px){[data-chapter="momenergy"] .me-table-wrap :is(th,td){padding:3px 4px}}
[data-chapter="momenergy"] .me-sysrow :is(th,td){font-weight:700;border-top:2px solid var(--rule)}
[data-chapter="momenergy"] .me-sysrow th{color:var(--c-inv);font:700 1em var(--font-sans)}
[data-chapter="momenergy"] .me-massline{display:flex;flex-direction:column;gap:2px;margin:0}
[data-chapter="momenergy"] .me-ledger{display:flex;flex-direction:column;gap:4px;background:var(--surface-2);border-radius:var(--r-m);padding:var(--s-2) var(--s-3)}
[data-chapter="momenergy"] .me-ledger:empty{display:none}
[data-chapter="momenergy"] .me-ledger p{margin:0}
[data-chapter="momenergy"] .me-ledger-row{display:grid;grid-template-columns:1fr auto;font-variant-numeric:tabular-nums}
[data-chapter="momenergy"] .me-ledger-row b{grid-column:1/-1;font-size:.75rem;color:var(--c-ok)}
[data-chapter="momenergy"] .me-ledger-row.is-bad b,[data-chapter="momenergy"] .me-bad{color:var(--c-bad);fill:var(--c-bad)}
[data-chapter="momenergy"] .me-forbid{fill:var(--tint-bad)}
[data-chapter="momenergy"] .me-hatch{stroke-width:.75;opacity:.3}
[data-chapter="momenergy"] :is(.me-mark-newton,.me-mark-newton-up,.me-mark-ein){fill:none;stroke:var(--c-bad);stroke-width:2.5;stroke-linejoin:round}
[data-chapter="momenergy"] .me-mark-ein{stroke:var(--c-inv);stroke-width:3}
[data-chapter="momenergy"] .me-bz-cards{display:grid;grid-template-columns:1fr 1fr;gap:var(--s-2)}
@container (min-width:760px){[data-chapter="momenergy"] .me-bz-cards{grid-template-columns:1fr}}
[data-chapter="momenergy"] .me-bz-card{display:flex;flex-direction:column;gap:2px;background:var(--surface-2);border-radius:var(--r-m);padding:8px 10px;border-left:4px dashed var(--c-bad);font-variant-numeric:tabular-nums}
[data-chapter="momenergy"] .me-bz-card b{font:600 1.15rem var(--font-sans);color:var(--c-bad)}
[data-chapter="momenergy"] .me-bz-card.is-ein{border-left:4px double var(--c-inv)}
[data-chapter="momenergy"] .me-bz-card.is-ein b{color:var(--c-inv)}
[data-chapter="momenergy"] .me-bz-light{grid-column:1/-1;margin:0}
[data-chapter="momenergy"] .me-sw-newton{border-top:2.5px dashed var(--c-bad)}
[data-chapter="momenergy"] .me-sw-dot{flex:none;align-self:flex-start;margin-top:.3em;width:9px;height:9px;border-radius:50%;background:var(--ink)}
@media (prefers-reduced-motion:reduce){[data-chapter="momenergy"] .me-knob{transition:none}}
[data-chapter="momenergy"] details.me-check{margin-top:var(--s-3);font-size:.92em}
[data-chapter="momenergy"] details.me-check>summary{display:inline-flex;gap:.4em;min-height:24px;font:600 .8rem var(--font-sans);color:var(--ink-muted);text-decoration:underline;text-underline-offset:.18em}
[data-chapter="momenergy"] .me-check>summary::before{content:"\25B8"}
[data-chapter="momenergy"] .me-check[open]>summary::before{content:"\25BE"}
[data-chapter="momenergy"] :is(.beat,.callout,.reconcile,.recap,.deep-dive,.code-task,.ex-prompt,.ex-model,.solution,.hint,.long-desc,.me-check,.sidenote,.sagredo)>:is(p,ul,ol,pre):not(:first-child){margin-top:var(--flow,1em)}
[data-chapter="momenergy"] .me-orient{max-width:40rem;margin:var(--s-6) 0 0}
[data-chapter="momenergy"] .me-orient ol{margin:var(--s-3) 0 0;padding-left:1.5em}
[data-chapter="momenergy"] .me-orient li+li{margin-top:var(--s-2)}
[data-chapter="momenergy"] .me-orient>:is(p,ol)+:is(p,ol){margin-top:var(--s-3)}
[data-chapter="momenergy"] .me-step-no{font-weight:600;letter-spacing:0;text-transform:none;color:var(--ink-muted)}
[data-chapter="momenergy"] [data-goal] .try-done{margin-left:auto;font-size:.72rem}
[data-chapter="momenergy"] [data-goal].is-done{border-left-color:var(--c-ok)}
[data-chapter="momenergy"] .me-plane-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:26px}
[data-chapter="momenergy"] .me-plane-head .stx-frame-badge{position:static}
[data-chapter="momenergy"] .me-zoom{margin:0;font:600 .72rem var(--font-sans);color:var(--ink-muted);border-radius:var(--r-s);padding:1px 6px}
[data-chapter="momenergy"] .me-zoom.is-new{animation:me-flash 1.5s var(--ease)}
@keyframes me-flash{from{background:var(--tint-inv);color:var(--c-inv)}}
[data-chapter="momenergy"] .me-controls{gap:var(--s-2) var(--s-3)}
[data-chapter="momenergy"] .me-push{display:flex;flex-wrap:wrap;gap:var(--s-2) var(--s-4)}
[data-chapter="momenergy"] .me-push>span{display:inline-flex;align-items:center;gap:4px}
[data-chapter="momenergy"] .me-push .btn{min-width:44px;min-height:44px;justify-content:center;font-size:1.1rem}
[data-chapter="momenergy"] .me-push-name{font:italic 600 1rem var(--font-serif,serif);min-width:1.4em}
[data-chapter="momenergy"] td.me-hot{outline:2px solid var(--c-inv);outline-offset:-2px;background:var(--tint-inv);font-weight:700}
[data-chapter="momenergy"] .me-moved b{color:var(--ink)}
[data-chapter="momenergy"] .me-band.is-overlap{opacity:.6}
[data-chapter="momenergy"] .me-shifted{opacity:.5}
[data-chapter="momenergy"] .me-gap b{color:var(--c-inv);font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){[data-chapter="momenergy"] .me-zoom.is-new{animation:none}}
