/* Settings (/:slug/settings): this page group's own rules, loaded after app.css.
 *
 * The shared components (the header, the title line ov-head, the list chooser ov-lists and service
 * chip ov-esp, figures ov-figs / ov-f-*, ov-lead, ov-plot, keys, marks, meters, ov-vs, ov-div, tones
 * ov-s-*) live in app.css with one name each: use them, never redefine them here. Every colour is a
 * token from the top of app.css.
 *
 * The page is a board (SPEC-PAGES 10): one row per part of the list, all on the same columns (a light,
 * the part and its state in a word, a small picture, one figure, a chevron; who last changed it is in the
 * state's tip), each a <details> that opens in place. Every class here starts with set-. A state is ov-s-*; is-* is kept for
 * the marks inside a picture and always written scoped (.set-chain i.is-on). */

/* ─── The board ───────────────────────────────────────────── */

.set-board { margin-top: 18px; }
.set-grp { display: grid; grid-template-columns: 8px 196px 336px minmax(0, 1fr) 14px; column-gap: 20px; margin-top: 26px; padding-bottom: 7px; font-size: 12.5px; font-weight: 550; color: var(--ink-3); }
.set-grp > span:first-child { grid-column: 1 / 4; }
.set-board > .set-grp:first-child { margin-top: 0; }

/* A part named in the address opens and comes into view below the sticky header. */
.set-part { margin: 0 -12px; padding: 0 12px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.set-grp + .set-part { border-top-color: var(--line-2); }
.set-part:last-child, .set-part:has(+ .set-grp) { border-bottom: 1px solid var(--line); }
.set-part.ov-s-bad { box-shadow: inset 2px 0 0 var(--bad); }
.set-row {
  display: grid;
  grid-template-columns: 8px 196px 336px minmax(0, 1fr) 14px;
  column-gap: 20px;
  align-items: center;
  min-height: 58px;
  margin: 0 -12px;
  padding: 9px 12px;
  list-style: none;
  cursor: pointer;
}
.set-row::-webkit-details-marker { display: none; }
summary.set-row:hover { background: var(--bg-2); }
summary.set-row:focus-visible { outline-offset: -2px; }
.set-part[open] > .set-row .set-name > b { color: var(--accent); }
.set-name { min-width: 0; }
.set-name > b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-name > small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-part.ov-s-bad > .set-row .set-name > small { color: var(--bad); font-weight: 600; }
.set-part.ov-s-warn > .set-row .set-name > small { color: var(--warn); font-weight: 550; }
.set-viz { display: flex; align-items: center; gap: 12px; min-width: 0; height: 26px; }
.set-fig { min-width: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-fig small { margin-left: 5px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.set-fig.set-q { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.set-fig.set-warn { font-size: 13px; font-weight: 550; color: var(--warn); }
.set-fig.set-bad { font-size: 13px; font-weight: 600; color: var(--bad); }
.set-chev { color: var(--ink-3); transition: transform 0.12s; }
.set-part[open] > .set-row .set-chev { transform: rotate(180deg); }

/* A part this list cannot have: dim, and it never opens. */
.set-part.set-na > .set-row { cursor: default; }
.set-part.set-na > .set-row:hover { background: none; }
.set-part.set-na > .set-row > * { opacity: 0.5; }
.set-part.set-na > .set-row .set-chev { visibility: hidden; }

/* ─── The small pictures on the board ─────────────────────── */

/* The switch: three stops, the one in force filled. A lock while the real list cannot be chosen. */
.set-mode { display: grid; grid-template-columns: repeat(3, 74px); height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 11.5px; font-weight: 550; color: var(--ink-3); }
.set-mode i { display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 6px; font-style: normal; white-space: nowrap; }
.set-mode i + i { box-shadow: -1px 0 0 var(--line); }
.set-mode i.is-on { box-shadow: none; font-weight: 650; }
.set-mode i.is-off.is-on { background: var(--line-2); color: var(--ink); }
.set-mode i.is-test.is-on { background: var(--warn); color: var(--bg); }
.set-mode i.is-live.is-on { background: var(--accent); color: var(--on-accent); }
.set-mode i.is-on + i { box-shadow: none; }
.set-mode svg { flex: none; }

/* The trial's pips in the board, a little larger than in a title line. */
.set-viz .ov-pips { gap: 3px; }
.set-viz .ov-pips i { width: 8px; height: 8px; }
.set-part.ov-s-off .ov-pips { color: var(--mark-2); }

/* A chain of steps (the autopilot, labels): a step that is on is washed and ringed; stopped, ringed red. */
.set-chain { display: flex; align-items: center; gap: 10px; min-width: 0; }
.set-chain i { position: relative; flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 11.5px; font-style: normal; font-weight: 550; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.set-chain i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; height: 1px; background: var(--line-2); }
.set-chain i.is-on { background: var(--wash); color: var(--accent); box-shadow: inset 0 0 0 1px var(--mark); }
.set-chain i.is-on + i.is-on::before { background: var(--mark); }
.set-chain.is-stopped i.is-on { background: none; color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.set-chain.is-stopped i.is-on + i.is-on::before { background: var(--bad); }

.set-viz .ov-meter { width: 168px; max-width: none; margin-top: 0; }

/* Bringing back, small: each batch's size up to the most a day (the dashed top); the next one outlined. */
.set-ramp { display: flex; align-items: flex-end; gap: 3px; width: 168px; height: 24px; padding-right: 2px; border-top: 1px dashed var(--line-2); }
.set-ramp i { width: 9px; min-height: 2px; border-radius: 1.5px 1.5px 0 0; background: var(--mark); }
.set-ramp i.is-next { border-radius: 1.5px; background: none; box-shadow: inset 0 0 0 1.5px var(--mark); }
.set-ramp i.is-skipped { height: 2px !important; background: var(--line-2); }
.set-ramp.is-off { height: 0; }

/* Shares of one whole, one hue, small gaps: who has each interest. Grey while off. */
.set-share { display: flex; gap: 2px; width: 168px; height: 8px; }
.set-share i { min-width: 2px; border-radius: 1.5px; background: var(--mark); }
.set-share.is-off i { background: var(--line-2); }

/* Who is on the test list: a dot each, amber when not known as staff. */
.set-dots { display: flex; flex-wrap: wrap; gap: 4px; max-width: 168px; }
.set-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--mark); }
.set-dots i.is-unknown { background: var(--warn); }

/* The list's connections, a light each. */
/* A light per source, its name in its tip: a little room round each, to point at. */
.set-cxl { display: flex; flex-wrap: wrap; gap: 0; }
.set-cxl > span { display: inline-flex; align-items: center; padding: 4px; }
.set-cxl .ov-light, .set-cxr .ov-light { width: 6px; height: 6px; }
.set-cxl .ov-light.ov-s-bad::after, .set-cxr .ov-light.ov-s-bad::after { inset: -3px; }

/* ─── A part, open ────────────────────────────────────────── */

.set-pane { padding: 0 0 22px 28px; }
.set-pane form { margin: 0; }
.set-f { display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 24px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.set-pane > .set-f:first-child, .set-pane > form:first-child > .set-f:first-child,
.set-pane > :is(form, .set-stop) + .set-f, .set-pane > :is(form, .set-stop) + form > .set-f:first-child { border-top: 0; padding-top: 4px; }
.set-l { padding-top: 6px; font-size: 13px; font-weight: 550; color: var(--ink-2); }
.set-c { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; font-size: 13px; color: var(--ink-2); }
.set-q { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.set-c b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.set-c input.set-num { display: inline-block; width: 4.6em; padding: 4px 8px; border-radius: 6px; text-align: right; font-variant-numeric: tabular-nums; }
.set-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.set-act > .set-confirm { flex-basis: 100%; }
.set-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; width: 100%; }
.set-warn { color: var(--warn); font-weight: 550; }

/* A stop, at the top of its part: what stopped, why, and the one way on. A warning in amber, a wait in grey. */
.set-stop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 2px 0 10px; padding: 6px 0 6px 12px; box-shadow: inset 2px 0 0 var(--bad); font-size: 13px; }
.set-stop > b { color: var(--bad); font-weight: 650; }
.set-stop > span { flex: 1 1 360px; color: var(--ink-2); }
.set-stop label { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.set-stop input { margin: 0; accent-color: var(--accent); }
.set-stop.ov-s-warn { box-shadow: inset 2px 0 0 var(--warn); }
.set-stop.ov-s-warn > b { color: var(--warn); }
.set-stop.ov-s-wait { box-shadow: inset 2px 0 0 var(--line-2); }
.set-stop.ov-s-wait > b { color: var(--ink); }
.set-stop.ov-s-wait > span { flex: 0 1 auto; color: var(--ink-3); }

/* What a part needs before it can go on: met (a tick), or not yet (an amber ring). */
.set-needs { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-2); }
.set-needs > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.set-needs .ico.tickmark { width: 13px; height: 13px; color: var(--ok); }
.set-needs > .set-no { color: var(--warn); font-weight: 550; }

/* Choices as pills: send times, clicks or money, a switch. */
.set-pick { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.set-pick label { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; font-size: 13px; font-weight: 550; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; cursor: pointer; }
.set-pick input { margin: 0; accent-color: var(--accent); }
.set-pick label:has(input:checked) { color: var(--ink); background: var(--wash); box-shadow: inset 0 0 0 1.5px var(--mark); }
.set-pick label:has(input:disabled) { opacity: 0.5; cursor: default; }

/* The switch, open: three tiles. */
.set-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 660px; }
.set-modes label { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 9px 12px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.set-modes input { grid-row: span 2; align-self: start; margin: 3px 0 0; accent-color: var(--accent); }
.set-modes b { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.set-modes small { font-size: 12px; color: var(--ink-3); }
.set-modes label:has(input:checked) { background: var(--wash); box-shadow: inset 0 0 0 1.5px var(--mark); }
.set-modes label:has(input:disabled) { cursor: default; }
.set-modes label.set-locked b, .set-modes label:has(input:disabled) b { color: var(--ink-3); }

/* The autopilot's four steps, open: tiles joined by a line, accent between two that are on. */
.set-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; width: 100%; max-width: 820px; }
.set-steps label { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 9px 12px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.set-steps label + label::before { content: ""; position: absolute; right: 100%; top: 50%; width: 16px; height: 1px; background: var(--line-2); }
.set-steps input { grid-row: span 2; align-self: start; margin: 3px 0 0; accent-color: var(--accent); }
.set-steps b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-steps small { font-size: 12px; color: var(--ink-3); }
.set-steps label:has(input:checked) { background: var(--wash); box-shadow: inset 0 0 0 1.5px var(--mark); }
.set-steps label:has(input:checked) + label:has(input:checked)::before { background: var(--mark); }

/* The Confirm tick: only when the change needs it, a gated choice newly made (no script). A step that is
   only ever the one change (switching labelling on) keeps it always. */
.set-confirm { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 13px; font-weight: 550; color: var(--ink); }
.set-confirm input { margin: 0; accent-color: var(--accent); }
@supports selector(:has(*)) {
  .set-confirm { display: none; }
  .set-confirm.set-keep, .set-pane:has(input[data-gate]:checked:not([data-now])) .set-confirm { display: flex; }
}

/* How the autopilot picks: the shares of its sends, as one bar, with the numbers in its key. */
.set-mix { display: flex; gap: 2px; width: 100%; max-width: 520px; height: 10px; }
.set-mix i { border-radius: 2px; }
.set-mixkey { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; width: 100%; }
.set-mixkey > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

/* How its sends have done, by kind of pick: a bar each on one scale (0 to 1.15 times the highest). */
.set-kinds { width: 100%; max-width: 640px; }
.set-k { display: grid; grid-template-columns: 128px minmax(0, 1fr) 64px 100px 56px; column-gap: 14px; align-items: center; min-height: 30px; border-top: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; }
.set-k:first-child, .set-k-h + .set-k { border-top: 0; }
.set-k.set-k-h { min-height: 22px; font-size: 12px; color: var(--ink-3); }
.set-k.set-k-h > span:nth-child(n+3) { font-size: 12px; }
.set-k > span:nth-child(n+3) { text-align: right; white-space: nowrap; }
.set-k > span:nth-child(4), .set-k > span:nth-child(5) { font-size: 12.5px; color: var(--ink-3); }
.set-bar { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.set-bar > i { display: block; height: 100%; border-radius: 3px; background: var(--mark); }
.set-vs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: 100%; padding-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.set-vs b { font-weight: 550; color: var(--ink-2); }

/* List health, open: the shared health rows, with their limits. */
.set-hms { width: 100%; }
.set-hms > .ov-hm:first-child { border-top: 0; }
.set-hms .ov-hm-lim { overflow: hidden; text-overflow: ellipsis; }

/* Labels, open: three steps in a line. */
.set-stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; width: 100%; max-width: 860px; }
.set-st { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-top: 32px; font-size: 13px; }
.set-st-n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11.5px; font-weight: 650; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.set-st:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 30px; right: -12px; height: 1px; background: var(--line-2); }
.set-st.set-st-done .set-st-n { background: var(--mark); color: var(--on-accent); box-shadow: none; }
.set-st.set-st-done:not(:last-child)::after { background: var(--mark); }
.set-st.set-st-on .set-st-n { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--mark); }
.set-st > b { font-weight: 600; color: var(--ink); }
.set-st > span { font-size: 12.5px; color: var(--ink-3); }
.set-st > form { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; }
.set-st .set-needs { margin-top: 2px; }

/* Small figures in a line, split by hairlines. */
.set-figs { display: flex; flex-wrap: wrap; row-gap: 8px; }
.set-figs > span { padding: 0 18px; border-left: 1px solid var(--line); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.set-figs > span:first-child { padding-left: 0; border-left: 0; }
.set-figs b { display: block; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.set-figs b.set-warn { color: var(--warn); }

/* Bringing back, open: the batches so far, the next, and the way up to the most a day. */
.set-chart { width: 100%; margin-top: 22px; }
.set-climb { position: relative; display: flex; align-items: flex-end; gap: 4px; width: 100%; max-width: 560px; height: 64px; border-top: 1px dashed var(--line-2); border-bottom: 1px solid var(--line-2); }
.set-climb i { position: relative; flex: 1 1 0; max-width: 26px; min-height: 2px; border-radius: 2px 2px 0 0; background: var(--mark); }
.set-climb i.is-next { background: var(--wash); box-shadow: inset 0 0 0 1.5px var(--mark); }
.set-climb i.is-later { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.set-climb i.is-skipped { height: 2px !important; background: var(--line-2); }
.set-climb > b { position: absolute; right: 0; top: -18px; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.set-climbx { display: flex; gap: 4px; width: 100%; max-width: 560px; margin-top: 4px; font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.set-climbx span { flex: 1 1 0; max-width: 26px; text-align: center; white-space: nowrap; }

/* A whole split in parts, with a key under it: who could be picked, what the address check said. */
.set-split { display: flex; gap: 2px; width: 100%; max-width: 520px; height: 8px; }
.set-split > i { min-width: 2px; }
.set-split > i:first-child { border-radius: 3px 0 0 3px; }
.set-split > i:last-child { border-radius: 0 3px 3px 0; }
.set-key { display: flex; flex-wrap: wrap; gap: 4px 16px; width: 100%; font-size: 12.5px; color: var(--ink-3); }
.set-key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.set-gray { background: var(--line-2); }
.set-never { background: var(--mark-2); }
.set-tbl { max-width: 560px; margin-top: 6px; }
.set-tbl td { height: 32px; font-size: 13px; }
.set-tbl th { padding-bottom: 8px; font-size: 12px; }

/* Emails by interest, open: those who get its emails beside those kept back, scaled to the largest. */
.set-int { width: 100%; max-width: 660px; }
.set-int-h, .set-int-r { display: grid; grid-template-columns: 136px minmax(0, 1fr) 84px 72px 72px; column-gap: 14px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.set-int-h { padding-bottom: 6px; font-size: 12px; color: var(--ink-3); }
.set-int-h > span:nth-child(3), .set-int-h > span:nth-child(4) { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.set-int-r { min-height: 30px; border-top: 1px solid var(--line); color: var(--ink); }
.set-int-h > span:nth-child(n+3), .set-int-r > span:nth-child(n+3) { text-align: right; }
.set-int-r > span:nth-child(4), .set-int-r > span:nth-child(5) { color: var(--ink-3); }
.set-int-bar { display: flex; gap: 2px; height: 8px; }
.set-int-bar i { border-radius: 1.5px; }

/* Test addresses, open. */
.set-addrs { display: block; width: 100%; }
.set-addrs > textarea { display: block; max-width: 420px; min-height: 92px; font-size: 13px; }
.set-doms { display: flex; flex-wrap: wrap; gap: 6px; }
.set-dom { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.set-dom i { width: 6px; height: 6px; border-radius: 50%; background: var(--mark); }
.set-dom.set-unknown { color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.set-dom.set-unknown i { background: var(--warn); }

/* The trial, open: a line per item. A failed item's reason is red; a waiting one's quiet. */
.set-tr { width: 100%; max-width: 760px; }
.set-tri { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; min-height: 32px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 13px; }
.set-tri:first-child { border-top: 0; }
.set-tri > span:nth-child(2) { color: var(--ink); }
.set-tri small { display: block; font-size: 12px; color: var(--ink-3); }
.set-tri > span:last-child { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.set-tri.set-tri-failed small { color: var(--bad); }
.set-tri.set-tri-failed > span:last-child { color: var(--bad); font-weight: 550; }
.set-tri.set-tri-todo > span:nth-child(2) { color: var(--ink-2); }

/* The list's connections, open: a line each. */
.set-cxs { width: 100%; max-width: 820px; }
.set-cxr { display: grid; grid-template-columns: 8px 156px 128px minmax(0, 1fr); column-gap: 14px; align-items: center; min-height: 32px; border-top: 1px solid var(--line); font-size: 13px; }
.set-cxr:first-child { border-top: 0; }
.set-cxr > b { font-weight: 550; color: var(--ink); white-space: nowrap; }
.set-cxr > span:nth-child(3) { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.set-cxr > span:last-child { overflow: hidden; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; }
.set-cxr.ov-s-warn > span:last-child, .set-cxr.ov-s-warn > span:nth-child(3) { color: var(--warn); }
.set-cxr.ov-s-bad > span:nth-child(3), .set-cxr.ov-s-bad > span:last-child { color: var(--bad); }
.set-cxr.ov-s-off > span:nth-child(3) { color: var(--ink-3); }

/* ─── What was done here lately ───────────────────────────── */

.set-log { margin-top: 36px; }
.set-log h2 { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.set-lg { display: grid; grid-template-columns: 88px 112px minmax(0, 1fr) 132px; column-gap: 16px; align-items: baseline; margin: 0 -12px; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.set-lg > span:first-child, .set-lg > span:last-child { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.set-lg > span:nth-child(2) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.set-lg > span:nth-child(3) { min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.set-lg.set-failed > span:nth-child(3) { color: var(--bad); }
.set-lg small { color: var(--ink-3); }
.set-more { margin-top: 8px; font-size: 12.5px; }
.set-more > summary { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-weight: 550; color: var(--ink-2); list-style: none; cursor: pointer; }
.set-more > summary::-webkit-details-marker { display: none; }
.set-more[open] > summary .ico { transform: rotate(180deg); }

/* ─── Narrower ────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .set-row, .set-grp { grid-template-columns: 8px 180px 300px minmax(0, 1fr) 14px; }
}

@media (max-width: 960px) {
  .set-row, .set-grp { grid-template-columns: 8px 172px minmax(0, 1fr) 150px 14px; column-gap: 16px; }
  .set-pane { padding-left: 24px; }
  .set-f { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .set-l { padding-top: 0; }
  .set-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-steps label:nth-child(3)::before { display: none; }
  .set-viz .ov-meter, .set-ramp, .set-share { width: 100%; max-width: 168px; }
  .set-mode { grid-template-columns: repeat(3, minmax(0, 74px)); }
}

@media (max-width: 640px) {
  .set-row { grid-template-columns: 8px minmax(0, 1fr) 14px; grid-template-areas: "light name chev" ". viz viz" ". fig fig"; row-gap: 6px; }
  .set-row > .ov-light { grid-area: light; }
  .set-row > .set-name { grid-area: name; }
  .set-row > .set-viz { grid-area: viz; }
  .set-row > .set-fig { grid-area: fig; }
  .set-row > .set-chev { grid-area: chev; }
  .set-grp { grid-template-columns: minmax(0, 1fr); }
  .set-pane { padding-left: 0; }
  .set-modes, .set-stepper, .set-steps { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .set-st:not(:last-child)::after, .set-steps label::before { display: none; }
  .set-k { grid-template-columns: minmax(0, 1fr) 54px 70px; }
  .set-k > .set-bar, .set-k > span:nth-child(4) { display: none; }
  .set-int-h, .set-int-r { grid-template-columns: minmax(0, 1fr) 76px 64px 64px; }
  .set-int-h > span:nth-child(2), .set-int-r > .set-int-bar { display: none; }
  .set-cxr { grid-template-columns: 8px minmax(0, 1fr) auto; }
  .set-cxr > span:last-child { display: none; }
  .set-lg { grid-template-columns: 72px minmax(0, 1fr); }
  .set-lg > span:nth-child(2), .set-lg > span:last-child { display: none; }
}
.set-hms a.ov-hv:hover { color: var(--accent); text-decoration: underline; }

/* Pause: a press of its own under the sending switch (only a person pauses a list). */
.set-pause { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline, var(--line)); }
.set-pause .set-c { display: flex; align-items: center; gap: 12px; }
.set-tick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
