/* Update 10d (K, spec §1.6, §5): the kit rows of the paper screens — Einstellungen »Auslage & Sack« (Rechtsauslage ·
   Hängesack switch rows with a line under the title, Q-SETTINGS B »Schalter«) and Training planen's »Unterwegs« switch
   under Springseil (Q-SETUP A; Springseil greys out with »unterwegs nicht dabei« while it is on, its value kept) — and the
   pause overlay's Back note (runtime/back-guard.js: a Back while paused used the guard entry up). Kru Ink tokens only.
   K2 verifier: the Back note on the audio-unusable screen; Setup's kill note keeps 10c's fit (the dial gives it room).
   Update 10d (review fix R5-4): the kit card's one track never grows past the column (320×568 ×1.3: 24 px over, the
   switch flush with the screen edge), and under 260 px the titles take 17 px and an 8-px gap so they stay clear of it.
   Update 10d (review fix R5-4, verifier): under 270 px — at 261–269 px (393 px ×1.5: 262) the one track left »Unterwegs«
   at 20 px only 5–12 px short of its switch (before: 14 px), now 28–36 px; from 270 px on nothing changes. */

/* the pause overlay: »Nochmal Zurück: App zu — Training bleibt 2 Std.« in the glove tip's place (stop confirm and confirm
   steps: the »Angehalten« eyebrow's) — the glove tip's metrics, in the full ink colour, so no frame grows */
.ov .back-note,.tapall .back-note{margin:0;max-width:300px;font:800 16px/1.3 var(--sans);color:var(--fg);text-align:center;text-wrap:balance}
/* K2 verifier: the audio-unusable screen (INTERRUPTED) takes the note in its »Unterbrochen« eyebrow's place */
.tapall .back-note{display:block}

/* rows with a title and a line under it (Setup »Unterwegs«, Springseil while it is on, Einstellungen's kit rows) */
.switch-row .sw-t{display:flex;flex-direction:column;min-width:0;flex:1}
.switch-row .sw-t b{font:inherit}
.switch-row .sw-t small{margin-top:3px;font:600 14px/1.3 var(--sans);color:var(--fg-2);text-wrap:pretty}
.switch-row .sw-t small[hidden]{display:none}

/* Training planen: the switches (Springseil, Unterwegs, update 17b-1 »Viel Platz«) as a 2×2 grid of tiles — icon, title,
   a short line under it; an inked tile is on (role=switch, aria-checked; the knob is not drawn). Full-width rows cost
   ~76 px each: the third one scrolled Setup by 50–68 px at 360×800 and on the Pixel 7 (17b-1's first gate). */
.s-setup .kit-rows{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px;flex:none}
.s-setup .kit-rows>.switch-row{min-height:64px;padding:6px 8px;gap:6px;border:1.5px solid var(--rule);border-radius:14px 16px 13px 15px;
  font-size:16px;line-height:1.15;container-type:inline-size}
.s-setup .kit-rows>.switch-row>svg{width:22px;height:22px}
/* a narrow tile (320 px or a large font) gives its title the icon's room */
@container (max-width:124px){.s-setup .kit-rows>.switch-row>svg{display:none}}
.s-setup .kit-rows>.switch-row>.switch{display:none}
.s-setup .kit-rows>.switch-row .sw-t small{margin-top:1px;font-size:12.5px;line-height:1.2}
.s-setup .kit-rows>.switch-row[aria-checked=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.s-setup .kit-rows>.switch-row[aria-checked=true] .sw-t small{color:var(--paper);opacity:.82}
@media (max-width:269px){.s-setup .kit-rows{grid-template-columns:minmax(0,1fr)}}
.s-setup:has(.easy:not([hidden])) .kit-rows{margin-top:8px}
@media (max-height:820px){.s-setup:has(.easy:not([hidden])){--dd:min(184px,calc(100vw - 2 * var(--gut) - 76px))}}
/* K2 verifier: the one-time kill note (update 8d) fit 10c's Setup at 360×800 and the Pixel 7 — with the card it takes the
   dial's room as the hint does, the Pixel 7 (839 px) 216 px (never both: the killed run is the newest history entry,
   unrated); under 640 px the drink
   line's 176-px dial stays the smallest, as in 10c (the rules here come later in the cascade) */
@media (max-height:860px){.s-setup:has(.kill-note:not([hidden])){--dd:min(216px,calc(100vw - 2 * var(--gut) - 76px))}}
@media (max-height:820px){.s-setup:has(.kill-note:not([hidden])){--dd:min(184px,calc(100vw - 2 * var(--gut) - 76px))}}
@media (max-height:640px){.s-setup:has(.drink-line:not([hidden])){--dd:min(176px,calc(100vw - 2 * var(--gut) - 76px))}}

/* Einstellungen »Auslage & Sack« (B »Schalter«): the toggles' rhythm (one rule between, 12 px apart) with a line under
   each title; the footprints' lead foot takes the side colour — blue left (Linksauslage), mirrored and red when on */
svg.kit{overflow:visible;--lead:var(--side-l)}
svg.kit.south{transform:scaleX(-1);--lead:var(--side-r)}
.s-settings .kit-sec .switch-row>svg.kit{width:40px;height:40px;margin:0}
.s-settings .kit-note{margin:10px 0 0}
.s-settings .kit-sec+.s1{margin-top:30px}
/* the stop confirm's note takes two lines where the eyebrow took one: on a short phone its ring gives them back */
@media (max-height:640px){.ov .ws:has(>.back-note) .dial.stop{--d:min(200px,34vh)}}
@media (max-height:500px){.ov .ws:has(>.back-note) .dial.stop{--d:min(130px,25vh)}} /* under fit.css's 29vh there */
