/* quantmechanix.html only. Loaded after case.css and case-figs.css. The shared .cs-v2 rules in case.css carry
   the lead, tracks, figures, numbers, detail and fit; this file keeps only what is specific to this page. */

/* the GreenRoom lead crop (.cs-v2 .cs-hero .shot img) does not apply: this screenshot shows whole */
.qm .cs-hero .shot img { aspect-ratio: auto; object-fit: initial; }

/* the other market: heading then three short lines */
/* the weather block is a coda (no head, figures or detail), so it sits on a strip, not a full band */
.qm .cs-track.qm-other { padding: var(--strip) 0; }
.qm .qm-other .cs-what:first-of-type { margin-top: var(--gap-sf); }

/* each track's last line: what it could mean for the reader's own system (case.css styles .cs-what; this is the same
   measure, one step brighter, so it reads as the turn from the system to the reader) */
.qm .cs-you { margin-top: 8px; max-width: var(--measure); font-size: 16px; line-height: 1.6; color: var(--text); }

/* no paragraph, list line or caption ends on a single word */
.qm p, .qm li, .qm figcaption, .qm .cs-sum-t { text-wrap: pretty; }
.qm .cs-dec li, .qm .cf-built li, .qm .cs-figs li, .qm .cs-you { text-wrap: balance; }

/* 2026-10-23 declutter: the register's plain rows read as name then a few words, in two columns; model rows keep their own layout */
.qm .sv-row:not(.sv-m) { grid-template-columns: minmax(0, 1fr); }
.qm .sv-row:not(.sv-m) .sv-cell { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 48px; align-items: baseline; }
.qm .sv-row:not(.sv-m) .sv-name { grid-column: 1; grid-row: 1 / span 2; }
.qm .sv-row:not(.sv-m) .sv-status, .qm .sv-row:not(.sv-m) .sv-what { grid-column: 2; }
.qm .sv-row:not(.sv-m) .sv-status + .sv-what { margin-top: 4px; }
@media (max-width: 687px) {
  .qm .sv-row:not(.sv-m) .sv-cell { display: flex; flex-direction: column; gap: 4px; }
  .qm .sv-row:not(.sv-m) .sv-status + .sv-what { margin-top: 0; }
}

/* wide screens draw each gate's sentence beside its slab and hide the lead here: close the empty gap above the rows */
.qm .sv-reg.sv-led { padding-top: 0; }
.qm .sv-reg.sv-led .sv-gate:not(.is-on) { top: 0; }
.qm .sv-reg.sv-led .sv-lead + .sv-rows { margin-top: 0; border-top: 0; }
.qm .sv-reg.sv-led .sv-lead + .sv-head { margin-top: 0; }
