/* Whenever a picture label would render under 11 px (phones, and short windows such
   as 1280×720, at the runtime's letterboxed scale), the stage switches to a stacked
   text view driven by the same clock (13–16 px). syncStacked() in the JS sets the class. */
.ps-narrow { display: none; }
/* Collapsed, not display:none: the SVG keeps its box so it can still be measured. */
.mf[data-mf-figure="premature-synthesis"].is-stacked .mf-stage { height: 0; overflow: hidden; }
/* Fixed heights (the tallest beat, and the check) so the caption and controls never move. */
.mf[data-mf-figure="premature-synthesis"].is-stacked .ps-narrow { display: block; min-height: 466px; padding: 8px clamp(12px, 3vw, 24px) 4px; background: var(--paper); }
/* The last caption carries the name and definition above the check: 144 px on desktop,
   222 px on phones (measured at 390 px), fixed from the start. */
.mf[data-mf-figure="premature-synthesis"].is-stacked .mf-caption { min-height: 144px; }
@media (max-width: 719px) { .mf[data-mf-figure="premature-synthesis"].is-stacked .mf-caption { min-height: 222px; } }
/* Editions with laptop: true (PME): in laptop windows a compact caption band keeps the drawn
   picture at 1280 × 720 and 1366 × 657, with 13-unit labels at 11 px or more (IM's convention). */
@media (min-width: 720px) and (max-height: 860px) {
	.mf[data-mf-figure="premature-synthesis"].ps-laptop { --mf-chrome: 166px; }
	.mf[data-mf-figure="premature-synthesis"].ps-laptop .mf-caption { min-height: 92px; padding-top: 8px; padding-bottom: 8px; font-size: 19px; }
	.mf[data-mf-figure="premature-synthesis"].ps-laptop .mf-caption.is-check { padding-top: 8px; padding-bottom: 8px; }
	.mf[data-mf-figure="premature-synthesis"].ps-laptop .mf-check-q, .mf[data-mf-figure="premature-synthesis"].ps-laptop .mf-follow.is-equal { font-size: 20px; }
	.mf[data-mf-figure="premature-synthesis"].ps-laptop .mf-final-def { font-size: 15px; }
}
@media (max-width: 480px) {
	.mf[data-mf-figure="premature-synthesis"] .mf-check-q, .mf[data-mf-figure="premature-synthesis"] .mf-follow.is-equal { font-size: 20px; }
}
.ps-n-sec { margin: 0 0 12px; }
.ps-n-sec[hidden] { display: none; }
.ps-n-label { margin: 0 0 6px; font: 600 13px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.ps-n-task { margin: 0; padding: 8px 10px; border: 1px solid var(--navy-border); background: var(--paper-bright); font: 400 15px/1.4 var(--serif); color: var(--ink); }
.ps-n-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ps-n-card { padding: 5px 8px 6px; border: 1px solid var(--navy-border); background: var(--paper-bright); font: 600 14px/1.3 var(--sans); color: var(--ink); }
.ps-n-card b { margin-right: 4px; font: 600 13px/1 var(--mono); }
.ps-n-card.is-read { box-shadow: inset 0 -4px 0 rgba(10, 34, 66, 0.45); }
.ps-n-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.ps-n-chip { padding: 1px 8px; border-radius: 12px; font: 600 14px/1.5 var(--mono); }
.ps-n-chip.is-ai { color: var(--stone); border: 1.5px dashed var(--stone); }
.ps-n-chip.is-ai.is-taken { border-style: solid; }
.ps-n-chip.is-main { border-width: 3px; }
.ps-n-chip.is-own { color: var(--red); border: 1.5px solid var(--red); }
.ps-n-chip.is-struck { text-decoration: line-through; text-decoration-thickness: 2px; }
.ps-n-chip.is-struck::after { content: " ✕"; }
.ps-n-note { margin: 0 0 8px; font: italic 400 15px/1.4 var(--serif); color: var(--red); }
.ps-n-inline { font: 400 14px/1.4 var(--sans); color: var(--stone); }
.ps-n-small { margin: 4px 0 0; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.ps-n-paper { min-width: 0; padding: 7px 9px; border: 1px solid var(--navy-border); background: var(--paper-bright); }
.ps-n-ptitle { margin: 2px 0; font: 600 15px/1.3 var(--serif); color: var(--ink); }
.ps-n-tags { margin: 0; font: 500 13px/1.4 var(--mono); color: var(--ink); }
.ps-n-ai { margin: 3px 0 0; font: 600 13px/1.3 var(--mono); letter-spacing: 0.02em; text-transform: uppercase; color: var(--stone); }
.ps-n-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-n-who { display: block; margin: 0 0 3px; font: 600 13px/1.2 var(--sans); color: var(--red); }
.ps-n-who::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.ps-n-row { margin: 0 0 8px; }
.ps-n-order { margin: 0; font: 500 13px/1.4 var(--mono); color: var(--ink); }
.ps-n-order .is-ai { color: var(--stone); }
.ps-n-order .is-own { color: var(--red); }
.ps-n-sketch { margin: 2px 0 0; font: 400 14px/1.4 var(--sans); color: var(--ink); }
.ps-n-q { margin: 0 0 6px; font: italic 400 16px/1.35 var(--serif); color: var(--ink); }
.ps-n-say { margin: 0 0 6px; padding: 6px 9px; border: 1px solid rgba(10, 34, 66, 0.25); border-radius: 8px; background: var(--paper-bright); }
.ps-n-say[hidden] { display: none; }
.ps-n-txt { font: 400 15px/1.4 var(--serif); color: var(--ink); }
.ps-n-llabel { font: 600 13px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); }
.ps-n-lnote { margin: 2px 0 0; font: italic 400 15px/1.4 var(--serif); color: var(--red); }
/* Business: the task as one line kept to the final frame. */
.ps-n-tl { margin: 0 0 10px; font: 400 14px/1.35 var(--serif); color: var(--ink); }
.ps-n-tlk { font: 600 13px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.mf[data-mf-figure="premature-synthesis"][data-edition-id="business"] .ps-n-sec { margin-bottom: 8px; }
.mf[data-mf-figure="premature-synthesis"][data-edition-id="business"] .ps-n-row { margin-bottom: 4px; }
.mf[data-mf-figure="premature-synthesis"][data-edition-id="business"] .ps-n-tl { margin-bottom: 8px; }
.mf[data-mf-figure="premature-synthesis"][data-edition-id="business"] .ps-n-label { margin-bottom: 4px; }
.mf[data-mf-figure="premature-synthesis"][data-edition-id="business"] .ps-n-say { margin-bottom: 4px; }
/* An edition's source line: in the SVG's final frame on the picture stage; under the
   controls on the stacked stage (shown only when the edition has one). */
.ps-source { display: none; }
.mf[data-mf-figure="premature-synthesis"].is-stacked .ps-source:not([hidden]) { display: block; margin: 8px clamp(12px, 3vw, 24px) 0; font: italic 400 14px/1.4 var(--serif); color: var(--ink); }
