/* =================================================================
   THE OPERATOR - /messaging/operator (operator-design.md section 9;
   laid out after Ross Kramer's mock, 2026-11-23). What happens to a
   text when no conversation is waiting for it: the header's status,
   the setup banner, four tabs - Routes, Knowledge, Activity, Settings.
   On Routes: the number strip (heard, and the three parts that add up
   to it), then two columns - three cards at the left (Your routes,
   Built-in routes, Try a text) and the selected route's editor at the
   right, its footer held at the bottom of the sheet.
   -----------------------------------------------------------------
   Every class here is owned by this file alone
   (Tests/ConversationBuilderCssOwnershipTests): opx-*. The shared
   pieces come from wf.css, components.css and root.css (the card, the
   buttons, the switch - .form-switch -, the page header, wf-status-pill,
   wf-chip-toggle, wf-seg, wf-choice, wf-form-section, wf-empty,
   wf-skel) - used as they are, never restyled here.

   TOKENS ONLY, the whole file (Tests/ShellTokensOnlyTests): no hex,
   no rgb() / hsl(), no colour keyword - every colour reads a --wf-* or
   --theme-* token, so light and dark both hold. One accent: the brand's
   primary marks the selected route and the focus. State is a word with
   its ink (warning for a route to check, danger for a refusal), never
   colour alone.

   THE TYPE ROLES (five, fixed): a card's title 15 / 650, an editor
   part's title 17 / 650, a field label 13 / 600, body 14, a hint 12.5
   muted. Figures are tabular.

   NOTHING SCROLLS SIDEWAYS: the two Routes columns fall under each
   other below 900px of page (Your routes, then the editor, then
   Built-in routes and Try a text - the order of the markup); the strip
   goes two across, then one; a route row keeps its switch on the right
   at every width. ROW ACTIONS ARE ALWAYS ON THE ROW - the two buttons
   that move a route are never hidden until a pointer finds them.

   WHAT A PRESS DID IS ON SCREEN WHERE IT WAS PRESSED: the note of a
   write rides the top of the tab while it is scrolled, and both
   footers (the route editor's, Settings') ride the bottom of the sheet
   and carry their own status line. A field focused under a footer is
   scrolled clear of it (scroll-margin-bottom).

   A FINGER GETS 44px: every tab, single choice, small button, chip and
   switch of the page, not only the ones this file draws.
   ================================================================= */

/* The frame */
.opx-page { display: flex; flex-direction: column; gap: var(--wf-space-5); }
/* The page spaces its blocks with ONE gap - the shared header's own bottom margin would double it (the centers' rule). */
.opx-page > .wf-page-header, .opx-page > .wf-page-header.has-tabs { margin-bottom: 0; }

.opx-mode-pill { align-self: center; }
/* The tab strip keeps the shared wf-tabs look; it only must not wrap under the header on a phone - the four tabs stay on
   one line (their glyphs step aside on a phone so all four fit). */
.opx-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.opx-tabs > .wf-tab { flex: none; white-space: nowrap; }
/* A tab, once opened, stays mounted; the hidden attribute hides it. The panel lays its tab out as the page does. */
.opx-panel { display: flex; flex-direction: column; gap: var(--wf-space-5); min-width: 0; }
.opx-panel[hidden] { display: none; }
.opx-mode-pill-skel { display: inline-block; width: 92px; height: 22px; border-radius: var(--wf-radius-pill); }

/* THE NUMBER STRIP: one divided card. Heard is the total and sits on the inset well; the three parts beside it add up to
   it, each with its share. The dividers are a 1px shadow per cell that the card clips at its edge (the shared KPI tile's
   recipe), so a strip that wraps on a narrow page stays one calm card. */
.opx-strip {
    display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 5fr)); margin: 0;
}
.opx-strip-cell {
    display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 18px 20px;
    box-shadow: -1px 0 0 var(--wf-line), 0 -1px 0 var(--wf-line);
}
.opx-strip-cell.is-total { background: var(--wf-inset); }
.opx-strip-label {
    display: flex; align-items: center; gap: 7px; min-width: 0;
    color: var(--theme-text-secondary); font-size: var(--wf-text-sm); font-weight: 600;
}
.opx-strip-label > .bi { flex: none; color: var(--wf-primary-ink); }
.opx-strip-figure {
    display: flex; align-items: baseline; gap: 10px; margin-top: 4px;
    color: var(--theme-text-emphasis); font-size: var(--wf-figure-md); font-weight: 650;
    letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.opx-strip-figure.is-muted { color: var(--theme-text-muted); }
.opx-strip-share { color: var(--theme-text-secondary); font-size: var(--wf-text-sm); font-weight: 600; letter-spacing: 0; }
.opx-strip-sub { color: var(--theme-text-muted); font-size: .78125rem; line-height: 1.4; text-wrap: pretty; }
.opx-kpi-note {
    display: flex; align-items: center; gap: 8px; margin: calc(var(--wf-space-3) * -1) 0 0;
    color: var(--theme-text-muted); font-size: var(--wf-text-sm);
}

/* What the last write did. It rides the top of the tab while the tab is scrolled (under the shell bar - Tests/ShellLayoutTests),
   so a switch turned, a route moved or a save refused far down the page is answered on screen. */
.opx-note {
    position: sticky; top: calc(var(--wf-sticky-top) + var(--wf-space-2)); z-index: 3;
    display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px;
    border: 1px solid var(--wf-line); border-radius: var(--wf-radius-md);
    background: var(--wf-success-soft); color: var(--theme-text-emphasis); font-size: var(--wf-text-sm);
}
.opx-note > .bi:first-child { color: var(--wf-success-ink); }
.opx-note > span { flex: 1; min-width: 0; }
.opx-note.is-error { background: var(--wf-danger-soft); }
.opx-note.is-error > .bi:first-child { color: var(--wf-danger-ink); }

.opx-spacer { flex: 1; }

/* The Routes tab: two columns, 5 / 7. The markup's order is Your routes, the editor, Built-in routes, Try a text - the
   grid sets the three cards in the left column and the editor down the whole right one; the last row takes whatever
   height the editor has left, so the cards keep their own heights. */
.opx-routes {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "list editor" "builtin editor" "try editor" ". editor";
    gap: var(--wf-space-5); align-items: start;
}
.opx-area-list { grid-area: list; }
.opx-area-editor { grid-area: editor; min-width: 0; }
.opx-area-builtin { grid-area: builtin; }
.opx-area-try { grid-area: try; }

/* A card of the left column: its title, one line of what it is, then its rows. */
.opx-list { padding: var(--wf-space-5) 0 var(--wf-space-3); }
.opx-card-head { display: flex; flex-direction: column; gap: 4px; padding: 0 var(--wf-space-5) var(--wf-space-3); }
.opx-card-title { margin: 0; color: var(--theme-text-emphasis); font-size: var(--wf-text-h3); font-weight: 650; }
.opx-list-empty { margin: 0; padding: 0 var(--wf-space-5) var(--wf-space-2); color: var(--theme-text-secondary); font-size: .875rem; }
.opx-route-list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0 var(--wf-space-2); list-style: none; }

/* A row is a grid of four: the order cluster, the name and what it does, the figure, the switch. On a narrow page the
   figure drops under the name as one line (see the 520px rule), so the name keeps the row's width. */
.opx-route {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "order main count switch";
    align-items: center; column-gap: 10px; min-height: 64px; padding: 8px 12px 8px 4px;
    border-radius: var(--wf-radius-md);
    transition: background var(--wf-motion);
}
.opx-route > .opx-route-order { grid-area: order; }
.opx-route > .opx-route-main { grid-area: main; }
.opx-route > .opx-route-count { grid-area: count; }
.opx-route > .opx-switch { grid-area: switch; }
.opx-route:hover { background: var(--wf-card-hover); }
.opx-route.is-selected { background: var(--wf-primary-soft); }
.opx-route.is-selected .opx-route-name { color: var(--wf-primary-ink); }
.opx-route.is-dragging { opacity: .5; }
.opx-route.is-off .opx-route-name { color: var(--theme-text-muted); }
.opx-route.is-new .opx-route-line { color: var(--wf-primary-ink); }

/* The order cluster: the handle to drag (and to move from the keyboard) and the two buttons that move the route one place.
   One fixed width, so a built-in's lock sits in the same column and every name starts on the same line. */
.opx-route-order { display: inline-flex; flex: none; align-items: center; width: 48px; }
.opx-grip {
    display: inline-grid; place-items: center; flex: none; width: 24px; height: 36px; padding: 0;
    border: 0; border-radius: var(--wf-radius-sm); background: transparent;
    color: var(--theme-text-muted); cursor: grab;
}
.opx-grip:hover:not(.is-static) { color: var(--theme-text-emphasis); background: var(--wf-inset); }
.opx-grip:focus-visible { outline: 2px solid var(--wf-primary-ink); outline-offset: 1px; }
.opx-grip.is-static { cursor: default; }
.opx-route-move { display: inline-flex; flex: none; flex-direction: column; }
.opx-move {
    display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0;
    border: 0; border-radius: var(--wf-radius-sm); background: transparent;
    color: var(--theme-text-muted); font-size: .75rem; cursor: pointer;
}
.opx-move:hover:not(:disabled) { color: var(--theme-text-emphasis); background: var(--wf-inset); }
.opx-move:focus-visible { outline: 2px solid var(--wf-primary-ink); outline-offset: 1px; }
.opx-move:disabled { opacity: .35; cursor: default; }

.opx-route-main {
    display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; padding: 4px 6px;
    border: 0; border-radius: var(--wf-radius-sm); background: transparent;
    color: inherit; font: inherit; text-align: left;
}
button.opx-route-main { cursor: pointer; }
button.opx-route-main:focus-visible { outline: 2px solid var(--wf-primary-ink); outline-offset: 1px; }
/* A route's name is what a person looks for: it takes two lines before it is cut (its whole name is its title). */
.opx-route-name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
    color: var(--theme-text-emphasis); font-size: .875rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere;
}
.opx-route-line, .opx-route-hint {
    overflow: hidden; color: var(--theme-text-muted); font-size: var(--wf-text-sm);
    white-space: nowrap; text-overflow: ellipsis;
}
.opx-route-hint { margin-top: 4px; line-height: 1.45; white-space: normal; }
/* On a route's row, what it does takes two lines before it is cut - a tone condition is part of the sentence. */
.opx-route > .opx-route-main > .opx-route-line {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
    line-height: 1.35; white-space: normal; overflow-wrap: anywhere;
}
.opx-route-hint.is-warning { color: var(--wf-warning-ink); }
.opx-route-warn { display: inline-flex; align-items: center; gap: 5px; color: var(--wf-warning-ink); font-size: var(--wf-text-sm); }
.opx-inline-link { height: auto; min-height: 0; padding: 0 4px; font-size: inherit; vertical-align: baseline; }

/* A route's figure: how many texts it matched, and under it what that counts and over what period. */
.opx-route-count { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 1px; min-width: 4.5rem; }
.opx-route-n { color: var(--theme-text-emphasis); font-size: .9375rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.opx-route-unit { color: var(--theme-text-muted); font-size: var(--wf-text-xs); white-space: nowrap; }

/* A built-in sits still: no hover, and Everything else stands taller for its choice. */
.opx-builtin { align-items: start; }
.opx-builtin:hover { background: transparent; }
.opx-builtin .opx-route-order { min-height: 44px; }
.opx-builtin .opx-route-line { white-space: normal; }
.opx-builtin > .opx-switch { margin-top: 8px; }
.opx-else-seg { align-self: flex-start; max-width: 100%; margin-top: 8px; flex-wrap: wrap; }

.opx-list-foot { display: flex; padding: var(--wf-space-3) var(--wf-space-5) var(--wf-space-2); }

.opx-route-skel { display: flex; flex-direction: column; gap: 8px; padding: 14px var(--wf-space-5); }
.opx-route-skel > .wf-skel:first-child { width: 55%; height: 14px; }
.opx-route-skel > .wf-skel:last-child { width: 80%; height: 12px; }

/* THE SWITCH is the Portal's own (wf.css .form-switch). Here it is only placed: on a row it keeps a comfortable target
   around the track; with words it is a label whose words sit beside the track and toggle it. */
.opx-switch { flex: none; margin: 0; padding: 6px 4px; cursor: pointer; }
.opx-switch.has-words { display: flex; flex: initial; align-items: flex-start; gap: 12px; padding: 0; }
.opx-switch.has-words > .form-check-input { margin-top: 2px; }
/* A save is on its way: the switch is not disabled (it keeps the focus) - the pointer says to wait. */
.opx-switch.is-busy, .opx-switch.is-busy > .form-check-input { cursor: progress; }
.opx-switch-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opx-switch-title { color: var(--theme-text-emphasis); font-size: .875rem; font-weight: 600; }
.opx-switch-hint { color: var(--theme-text-muted); font-size: .78125rem; line-height: 1.45; }
/* The Settings tab's row: the words at the left, where the value came from, the switch at the right. */
.opx-switch-row { display: flex; align-items: center; gap: 12px; }
.opx-switch-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; color: var(--theme-text-emphasis); font-size: .875rem; }

/* THE EDITOR: the route's name, three titled parts, and a footer that stays at the bottom of the sheet while the editor
   is on screen. overflow: clip keeps the card's corners WITHOUT making the card a scroll box - a card's overflow: hidden
   would hold the footer inside it and it would never stick. */
.opx-editor { overflow: clip; scroll-margin-top: var(--wf-space-3); }
/* A picked route's editor takes the focus (it comes on screen on a phone, where it sits under the list). */
.opx-editor:focus { outline: none; }
.opx-editor:focus-visible { outline: 2px solid var(--wf-primary-ink); outline-offset: 2px; }
.opx-editor-body { display: flex; flex-direction: column; gap: var(--wf-space-5); padding: var(--wf-space-5); }
/* THE FOOTER NEVER COVERS THE FOCUSED FIELD (WCAG 2.4.11): a field tabbed into is scrolled until it clears the footer that
   rides the bottom of the sheet - the editor's and Settings' alike. Taller where the footer wraps to two rows (520px). */
.opx-editor-body :is(input, textarea, select, button, [tabindex]),
.opx-set :is(input, textarea, select, button, [tabindex]) { scroll-margin-bottom: 5rem; }
.opx-editor-skel { gap: 14px; padding: var(--wf-space-5); }
.opx-editor-skel > .wf-skel { height: 16px; }
.opx-editor-skel > .wf-skel:nth-child(1) { width: 40%; }
.opx-editor-skel > .wf-skel:nth-child(2) { width: 90%; height: 48px; }
.opx-editor-skel > .wf-skel:nth-child(3) { width: 70%; }
.opx-editor-none { padding: var(--wf-space-7) var(--wf-space-5); }

.opx-name-input { font-size: 1rem; font-weight: 600; }

/* A part: a hairline, more room above its title than under it, then its fields. */
.opx-part { display: flex; flex-direction: column; gap: var(--wf-space-4); padding-top: var(--wf-space-5); border-top: 1px solid var(--wf-line); }
.opx-part-title { margin: 0; color: var(--theme-text-emphasis); font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; text-wrap: balance; }

.opx-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* A single choice inside a field is as wide as its choices, never the whole row (a column's children stretch by default). */
.opx-field > .wf-seg { align-self: flex-start; max-width: 100%; flex-wrap: wrap; }
.opx-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-height: 30px; }
.opx-label { color: var(--theme-text-emphasis); font-size: var(--wf-text-sm); font-weight: 600; }
.opx-label-action { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opx-count { color: var(--theme-text-muted); font-size: var(--wf-text-sm); font-variant-numeric: tabular-nums; }
.opx-hint { margin: 0; max-width: 72ch; color: var(--theme-text-muted); font-size: .78125rem; line-height: 1.45; text-wrap: pretty; }
.opx-intent { resize: vertical; min-height: 64px; }
.opx-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--wf-space-4); align-items: start; }
.opx-toggles { display: flex; flex-wrap: wrap; gap: 8px; }

/* Chips: what is on the list, then the one row that adds to it. */
.opx-chips-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.opx-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; }
/* A chip holds its whole text: an example matches word for word, so every word is read. A long one wraps inside the chip -
   it is never cut with an ellipsis nobody can open. The corners are the theme's pill, capped at half of one line's height:
   a one-line chip is a pill, a wrapped one keeps the same corners instead of two half circles. */
.opx-chip {
    display: inline-flex; align-items: flex-start; gap: 4px; max-width: 100%; min-height: 32px; padding: 4px 6px 4px 12px;
    border-radius: min(var(--wf-radius-pill), 16px); background: var(--wf-inset);
    color: var(--theme-text-emphasis); font-size: .875rem;
}
.opx-chip-text { min-width: 0; padding-block: 2px; line-height: 1.4; overflow-wrap: anywhere; }
.opx-chip-x {
    display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--theme-text-muted); font-size: .625rem; cursor: pointer;
}
.opx-chip-x:hover:not(:disabled) { background: var(--wf-card); color: var(--theme-text-emphasis); }
.opx-chip-x:focus-visible { outline: 2px solid var(--wf-primary-ink); outline-offset: 1px; }
.opx-chip-x:disabled { opacity: .55; cursor: not-allowed; }
.opx-chip-add-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
/* Add rests while nothing is typed - dimmed, never disabled (leaving the box adds what was typed; see OperatorChips). */
.opx-chip-add.is-resting { opacity: .55; cursor: default; }
.opx-chip-input { flex: 1 1 13rem; min-width: 0; max-width: 22rem; }
.opx-chip-extra { margin-left: 4px; }
.opx-chips-field.is-invalid .opx-chip-input { border-color: var(--theme-danger); }

/* Refusals and warnings, beside the thing they are about */
.opx-refusals { display: flex; flex-direction: column; gap: 4px; }
.opx-refusal {
    display: flex; align-items: flex-start; gap: 6px; margin: 0;
    color: var(--wf-danger-ink); font-size: .78125rem; line-height: 1.45;
}
.opx-refusal > .bi { margin-top: 1px; }
.opx-refusal-why { margin: 0; padding-left: 20px; color: var(--theme-text-secondary); font-size: .78125rem; line-height: 1.45; }

.opx-warnings { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.opx-warning {
    display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 8px 12px;
    border-radius: var(--wf-radius-sm); background: var(--wf-warning-soft);
    color: var(--theme-text-emphasis); font-size: .78125rem; line-height: 1.45;
}
.opx-warning > .bi { margin-top: 1px; color: var(--wf-warning-ink); }

/* The footer: Delete at the left; whether anything is unsaved, Discard and Save at the right. It rides the bottom of the
   sheet while the editor is on screen. */
.opx-editor-foot {
    position: sticky; bottom: 0; z-index: 2;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    padding: var(--wf-space-3) var(--wf-space-5);
    border-top: 1px solid var(--wf-line); background: var(--wf-card);
}
.opx-dirty { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--theme-text-muted); font-size: var(--wf-text-sm); }
.opx-dirty.is-unsaved { color: var(--theme-text-emphasis); font-weight: 600; }
/* A save or a delete that was refused is said HERE, in the footer whose button was pressed: on a line of its own above the
   buttons (a sentence beside three buttons pushed Save route onto a second row). */
.opx-dirty.is-error { order: -1; flex: 1 1 100%; color: var(--wf-danger-ink); font-weight: 600; line-height: 1.4; }
.opx-confirm-text { flex: 1 1 16rem; min-width: 0; color: var(--theme-text-emphasis); font-size: var(--wf-text-sm); }

/* Try a text: the box and its button, the samples, one or several, then what the Operator would do. */
.opx-try { gap: var(--wf-space-3); padding: var(--wf-space-5); }
.opx-try > .opx-card-head { padding: 0; }
.opx-try-form { display: flex; gap: 8px; min-width: 0; }
.opx-try-input { flex: 1; min-width: 0; }
.opx-try-samples { display: flex; flex-wrap: wrap; gap: 6px; }
.opx-try-sample { height: 30px; font-size: var(--wf-text-sm); }
.opx-try-mode { align-self: flex-start; margin-left: -8px; }

.opx-try-result { display: flex; flex-direction: column; gap: var(--wf-space-3); padding-top: var(--wf-space-3); border-top: 1px solid var(--wf-line); }
/* A BLOCK, NOT A FLEX COLUMN: the phone centres itself with auto side margins, and in a flex or grid column auto margins
   switch stretch off - the phone then shrinks to the width of its header (2026-11-20: a phone 150px wide). As a block child
   it takes the column's width, up to its own maximum. */
.opx-try-phone { display: block; min-width: 0; }
/* The phone's own screen is 56% of the window tall - right in the Message Center, a wall of empty screen under one
   bubble here. In Try a text it is as tall as what it shows, within reason. */
.opx-try-phone .mc-phone-chat { height: auto; min-height: 8rem; max-height: 20rem; }
.opx-try-outcome {
    display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 14px;
    border-radius: var(--wf-radius-md); background: var(--wf-primary-soft);
    font-size: .875rem;
}
.opx-try-outcome > .bi { margin-top: 2px; color: var(--wf-primary-ink); }
.opx-try-outcome > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opx-try-outcome-words { color: var(--theme-text-emphasis); font-weight: 600; overflow-wrap: anywhere; }
.opx-try-outcome-note { color: var(--theme-text-secondary); font-size: var(--wf-text-sm); }
.opx-try-outcome.is-nothing { background: var(--wf-inset); }
.opx-try-outcome.is-nothing > .bi { color: var(--theme-text-muted); }
.opx-try-opens { display: flex; flex-direction: column; gap: 6px; font-size: var(--wf-text-sm); }
.opx-try-opens-label { color: var(--theme-text-muted); font-size: .78125rem; font-weight: 600; }
.opx-try-opens-text { margin: 0; color: var(--theme-text-emphasis); line-height: 1.45; overflow-wrap: anywhere; }
.opx-try-opens-chip { padding: 0 12px; }
.opx-try-opens-none { margin: 0; color: var(--theme-text-muted); font-size: var(--wf-text-sm); line-height: 1.45; }

.opx-trace { display: flex; flex-direction: column; gap: 10px; }
/* A quiet line where a list has nothing to show (Activity's by-route shares, Knowledge's conversations). */
.opx-trace-empty { margin: 0; color: var(--theme-text-muted); font-size: var(--wf-text-sm); line-height: 1.5; }
.opx-trace-skel { display: flex; flex-direction: column; gap: 12px; }
.opx-trace-skel > .wf-skel { height: 14px; }
.opx-trace-rows { display: flex; flex-direction: column; margin: 0; }
.opx-trace-row {
    display: flex; justify-content: space-between; gap: 16px; padding: 8px 0;
    border-bottom: 1px solid var(--wf-line); font-size: var(--wf-text-sm);
}
.opx-trace-row:last-child { border-bottom: 0; }
.opx-trace-row > dt { color: var(--theme-text-muted); font-weight: 500; }
.opx-trace-row > dd { margin: 0; color: var(--theme-text-emphasis); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.opx-trace-sub { margin: 4px 0 0; color: var(--theme-text-emphasis); font-size: var(--wf-text-sm); font-weight: 600; }
.opx-steps { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.opx-step { display: flex; align-items: baseline; gap: 8px; font-size: .78125rem; }
.opx-step > .bi { color: var(--theme-text-muted); }
.opx-step.is-ok > .bi { color: var(--wf-success-ink); }
.opx-step.is-refused > .bi { color: var(--wf-danger-ink); }
.opx-step-words { flex: 1; min-width: 0; color: var(--theme-text-emphasis); }
.opx-step-state { color: var(--theme-text-muted); white-space: nowrap; }
.opx-trace-read { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--theme-text-muted); font-size: .78125rem; }

/* Try several texts: one per line, each result a row that opens its own outcome. */
.opx-many-form { display: flex; flex-direction: column; gap: 8px; }
.opx-many-input { resize: vertical; min-height: 7rem; font-size: .875rem; line-height: 1.5; }
.opx-many-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.opx-dirty.is-over { color: var(--wf-warning-ink); }
.opx-many-skel { display: flex; flex-direction: column; gap: 10px; }
.opx-many-skel > .wf-skel { height: 44px; border-radius: var(--wf-radius-md); }
.opx-many-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--wf-line); }
.opx-many-row { border-bottom: 1px solid var(--wf-line); }
.opx-many-main {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px;
    width: 100%; padding: 10px 4px; border: 0; background: transparent; color: inherit; text-align: left;
    font-size: .875rem; cursor: pointer;
}
.opx-many-main:hover { background: var(--wf-card-hover); }
.opx-many-main:focus-visible { outline: 2px solid var(--wf-primary-ink); outline-offset: -2px; }
.opx-many-said { overflow: hidden; color: var(--theme-text-emphasis); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.opx-many-does { display: inline-flex; grid-column: 1; grid-row: 2; align-items: center; gap: 6px; min-width: 0; color: var(--theme-text-secondary); font-size: var(--wf-text-sm); }
.opx-many-does > .bi { flex: none; color: var(--wf-primary-ink); }
.opx-many-does.is-nothing > .bi { color: var(--theme-text-muted); }
.opx-many-chev { grid-column: 2; grid-row: 1 / span 2; color: var(--theme-text-muted); }
.opx-many-detail { padding: 0 4px var(--wf-space-3); }
.opx-many-detail > .opx-try-result { padding-top: 0; border-top: 0; }

/* Settings */
/* overflow: clip (never the card's own overflow: hidden) keeps the corners and lets the footer ride the bottom of the sheet -
   the route editor's rule, so the page's two footers behave alike. */
.opx-set { display: flex; flex-direction: column; padding: var(--wf-space-2) var(--wf-space-5) 0; overflow: clip; }
.opx-set-skel { display: flex; flex-direction: column; gap: 10px; padding: var(--wf-space-5) 0; border-bottom: 1px solid var(--wf-line); }
.opx-set-skel > .wf-skel:first-child { width: 30%; height: 16px; }
.opx-set-skel > .wf-skel:last-child { width: 75%; height: 40px; }
.opx-set-fact {
    display: flex; align-items: center; gap: 8px; margin: var(--wf-space-4) 0 0; padding: 10px 14px;
    border-radius: var(--wf-radius-md); background: var(--wf-primary-soft);
    color: var(--theme-text-emphasis); font-size: var(--wf-text-sm);
}
.opx-set-fact > .bi { color: var(--wf-primary-ink); }
.opx-set-fields { display: flex; flex-direction: column; gap: var(--wf-space-4); min-width: 0; }
.opx-modes { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.opx-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.opx-limit { min-width: 0; }
.opx-num { max-width: 10rem; font-variant-numeric: tabular-nums; }

.opx-source { display: inline-flex; align-items: center; gap: 4px; }
.opx-source-tag {
    padding: 1px 8px; border-radius: var(--wf-radius-pill); background: var(--wf-neutral-soft);
    color: var(--theme-text-secondary); font-size: .71875rem; font-weight: 600;
}
.opx-source-back { padding-inline: 6px; font-size: .75rem; }

.opx-fact-row { display: flex; flex-direction: column; gap: 4px; }
.opx-fact-value { display: inline-flex; align-items: center; gap: 6px; color: var(--theme-text-emphasis); font-size: .875rem; }
.opx-fact-value > .bi { color: var(--wf-success-ink); }

.opx-set-foot {
    position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: 0 calc(var(--wf-space-5) * -1); padding: var(--wf-space-3) var(--wf-space-5);
    border-top: 1px solid var(--wf-line); background: var(--wf-card);
}
.opx-saved { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--wf-success-ink); font-size: var(--wf-text-sm); line-height: 1.4; }
.opx-saved.is-error { color: var(--wf-danger-ink); font-weight: 600; }

/* A read that failed */
.opx-failed { padding: var(--wf-space-6) var(--wf-space-5); }

/* Knowledge - the editor beside Ask it */
.opx-know { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: var(--wf-space-5); align-items: start; }
.opx-know-col, .opx-know-side { display: flex; flex-direction: column; gap: var(--wf-space-5); min-width: 0; }
.opx-know-main, .opx-know-convs { display: flex; flex-direction: column; gap: var(--wf-space-3); padding: var(--wf-space-5); }
.opx-know-head { display: flex; flex-direction: column; gap: 4px; }
.opx-know-text { resize: vertical; min-height: 18rem; font-size: .875rem; line-height: 1.6; }
.opx-know-text.is-small { min-height: 9rem; }
.opx-know-skel-box { height: 18rem; }
.opx-know-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.opx-know-row {
    display: flex; align-items: center; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid var(--wf-line);
}
.opx-know-row:first-child { border-top: 1px solid var(--wf-line); }
.opx-know-row.is-open { display: block; }
.opx-know-row-main { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.opx-know-row-main > .opx-route-line { flex-basis: 100%; }
.opx-know-edit { display: flex; flex-direction: column; gap: 10px; }
.opx-know-edit > .wf-seg { align-self: flex-start; }
.opx-know-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.opx-seed { display: flex; flex-direction: column; gap: 10px; padding: var(--wf-space-4) var(--wf-space-5); background: var(--wf-primary-soft); }
.opx-seed .opx-label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.opx-seed-text {
    margin: 0; padding: 8px 12px; border-left: 3px solid var(--wf-primary-ink); border-radius: var(--wf-radius-sm);
    background: var(--wf-card); color: var(--theme-text-emphasis); font-size: .875rem;
}
.opx-ask { display: flex; flex-direction: column; gap: 10px; padding: var(--wf-space-4) var(--wf-space-5); }
.opx-wf-select { flex: 2 1 16rem; min-width: 0; }
.opx-ask-skel { display: flex; flex-direction: column; gap: 8px; }
.opx-ask-skel > .wf-skel { height: 14px; }
.opx-ask-answer { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--wf-line); }
.opx-ask-q { margin: 0; color: var(--theme-text-muted); font-size: var(--wf-text-sm); }
.opx-ask-a { display: flex; gap: 8px; margin: 0; color: var(--theme-text-emphasis); font-size: .875rem; line-height: 1.5; }
.opx-ask-a > .bi { margin-top: 2px; color: var(--wf-primary-ink); }
.opx-ask-answer.is-not .opx-ask-a > .bi { color: var(--theme-text-muted); }

/* Activity - the numbers, Couldn't help, the decisions */
.opx-act { display: flex; flex-direction: column; gap: var(--wf-space-5); }
.opx-act-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.opx-act-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--wf-space-5); align-items: start; }
.opx-act-numbers, .opx-help { display: flex; flex-direction: column; gap: var(--wf-space-3); padding: var(--wf-space-5); }
.opx-figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 8px; margin: 0; }
.opx-fig { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--wf-radius-md); background: var(--wf-inset); }
.opx-fig > dt { display: inline-flex; align-items: center; gap: 6px; color: var(--theme-text-muted); font-size: .75rem; font-weight: 600; }
.opx-fig > dd { margin: 0; color: var(--theme-text-emphasis); font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.opx-fig.is-lead { background: var(--wf-primary-soft); }
.opx-fig-skel { height: 58px; border-radius: var(--wf-radius-md); }
.opx-shares { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.opx-share { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) 3.5rem; align-items: center; gap: 10px; font-size: var(--wf-text-sm); }
.opx-share-name { overflow: hidden; color: var(--theme-text-emphasis); white-space: nowrap; text-overflow: ellipsis; }
.opx-share-n { color: var(--theme-text-secondary); text-align: right; font-variant-numeric: tabular-nums; }
.opx-share-bar {
    width: 100%; height: 8px; border: 0; border-radius: var(--wf-radius-pill); overflow: hidden;
    background: var(--wf-neutral-soft); appearance: none;
}
.opx-share-bar::-webkit-progress-bar { border-radius: var(--wf-radius-pill); background: var(--wf-neutral-soft); }
.opx-share-bar::-webkit-progress-value { border-radius: var(--wf-radius-pill); background: var(--theme-primary); }
.opx-share-bar::-moz-progress-bar { border-radius: var(--wf-radius-pill); background: var(--theme-primary); }

.opx-help-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.opx-help-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-top: 1px solid var(--wf-line); }
.opx-help-main { display: flex; flex: 1 1 14rem; flex-direction: column; gap: 2px; min-width: 0; }
.opx-help-said { color: var(--theme-text-emphasis); font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.opx-help-said.is-gone, .opx-col-said.is-gone { color: var(--theme-text-muted); font-style: italic; font-weight: 400; }
.opx-help-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.opx-help-empty {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--wf-space-5);
    color: var(--theme-text-muted); font-size: var(--wf-text-sm); text-align: center;
}
.opx-help-empty > .bi { color: var(--wf-primary-ink); font-size: 1.5rem; }
.opx-help-empty > p { max-width: 40ch; margin: 0; }

.opx-dec { display: flex; flex-direction: column; padding: var(--wf-space-4) 0 0; overflow: visible; }
.opx-dec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 var(--wf-space-5) var(--wf-space-3); }
.opx-dec-filter { width: auto; max-width: 14rem; }
.opx-dec > .opx-route-skel { padding-inline: var(--wf-space-5); }
.opx-dec-table { width: 100%; margin: 0; table-layout: fixed; }
.opx-dec-table th, .opx-dec-table td { vertical-align: middle; }
.opx-dec-table th:first-child, .opx-dec-table td:first-child { padding-left: var(--wf-space-5); }
.opx-dec-table th:last-child, .opx-dec-table td:last-child { padding-right: var(--wf-space-5); }
.opx-col-when { width: 8.5rem; color: var(--theme-text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opx-col-who { width: 9rem; color: var(--theme-text-secondary); font-variant-numeric: tabular-nums; }
.opx-col-said { overflow: hidden; color: var(--theme-text-emphasis); white-space: nowrap; text-overflow: ellipsis; }
.opx-col-did { width: 30%; }
.opx-col-open { width: 9.5rem; text-align: right; }
.opx-did { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; color: var(--theme-text-emphasis); }
.opx-did > .bi { color: var(--wf-primary-ink); }

/* Narrow pages: the columns fall under each other - Your routes, the editor, Built-in routes, Try a text. */
@container page (max-width: 900px) {
    .opx-routes {
        grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
        grid-template-areas: "list" "editor" "builtin" "try";
    }
    .opx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .opx-strip-cell.is-total { grid-column: 1 / -1; }
    .opx-know, .opx-act-top { grid-template-columns: minmax(0, 1fr); }
}

/* The decisions table stacks into a card per row (the Answer Center's breakpoint): what they said is the title, when and
   who a labelled line each, what it did, then the run to open. */
@container page (max-width: 760px) {
    .opx-dec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .opx-dec-table, .opx-dec-table tbody { display: block; }
    .opx-dec-table tr {
        display: grid; grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "said said" "when when" "who who" "did open";
        gap: 4px 12px; padding: 12px var(--wf-space-4); border-top: 1px solid var(--wf-line);
    }
    .opx-dec-table td { display: block; width: auto; padding: 0; border: 0; }
    .opx-dec-table td:first-child, .opx-dec-table td:last-child { padding: 0; }
    .opx-dec-table .opx-col-said { grid-area: said; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
    .opx-dec-table .opx-col-when { grid-area: when; }
    .opx-dec-table .opx-col-who { grid-area: who; }
    .opx-dec-table .opx-col-did { grid-area: did; }
    .opx-dec-table .opx-col-open { grid-area: open; align-self: end; }
    .opx-dec-table td[data-label]::before {
        content: attr(data-label); margin-right: 6px; color: var(--theme-text-muted); font-size: .75rem; font-weight: 600;
    }
    .opx-dec-table td.opx-col-did::before { display: none; }
    .opx-share { grid-template-columns: minmax(0, 1fr) 3rem; }
    .opx-share-bar { grid-column: 1 / -1; grid-row: 2; }
}

@container page (max-width: 640px) {
    .opx-editor-body, .opx-try { padding: var(--wf-space-4); }
    .opx-editor-foot { padding-inline: var(--wf-space-4); }
    .opx-list { padding-top: var(--wf-space-4); }
    .opx-card-head, .opx-list-foot, .opx-list-empty { padding-inline: var(--wf-space-4); }
    .opx-set { padding-inline: var(--wf-space-4); }
    .opx-set-foot { margin-inline: calc(var(--wf-space-4) * -1); padding-inline: var(--wf-space-4); }
    .opx-chip-input { flex-basis: 100%; max-width: none; }
    .opx-chip-extra { margin-left: 0; }
}

@container page (max-width: 520px) {
    .opx-tabs { gap: 0 2px; }
    .opx-tabs > .wf-tab { padding-inline: 8px; }
    .opx-tabs > .wf-tab > .bi { display: none; }
    /* The strip is one column of short rows: the label and its figure on one line, what it counts under them. */
    .opx-strip { grid-template-columns: minmax(0, 1fr); }
    .opx-strip-cell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 12px 16px; }
    .opx-strip-figure { margin-top: 0; font-size: var(--wf-figure-sm); }
    .opx-strip-sub { grid-column: 1 / -1; }
    /* A ROUTE'S NAME KEEPS THE ROW'S WIDTH: the name and the switch on the first line; under them the figure at the left and
       the handle and the two move buttons - side by side - at the right. (Beside the name, the order cluster took a quarter
       of the row on a phone and every name wrapped.) */
    .opx-route { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main switch" "count order"; row-gap: 2px; padding-left: 8px; }
    .opx-route > .opx-route-order { justify-self: end; width: auto; }
    .opx-route-move { flex-direction: row; }
    .opx-grip:not(.is-static) { height: 28px; }
    .opx-move { width: 28px; height: 28px; }
    .opx-route.is-new > .opx-route-order { display: none; }
    .opx-route-count { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 5px; min-width: 0; padding-left: 6px; }
    .opx-route-n { font-size: var(--wf-text-sm); }
    /* A built-in has nothing to move: its lock steps aside (the card says "They can't be moved or removed") and its name
       starts at the card's edge; Everything else's choice takes the row's width, its two choices side by side. */
    .opx-builtin { grid-template-areas: "main switch"; }
    .opx-builtin > .opx-route-order { display: none; }
    .opx-else-seg { align-self: stretch; }
    .opx-else-seg > button { flex: 1 1 auto; }
    /* A single choice whose words wrap is a rounded block, not a tall pill. */
    .opx-field > .wf-seg, .opx-else-seg { border-radius: var(--wf-radius-lg); }
    .opx-field > .wf-seg > button { padding-inline: 7px; }
    /* The footers: the status on its own line (Delete beside it in the editor), then Discard and Save across the width. */
    .opx-editor-foot > .opx-spacer, .opx-set-foot > .opx-spacer { display: none; }
    .opx-editor-foot > .opx-dirty { flex: 1 1 auto; justify-content: flex-end; }
    .opx-editor-foot > .opx-dirty.is-error { flex: 1 1 100%; justify-content: flex-start; }
    .opx-set-foot > .opx-dirty, .opx-set-foot > .opx-saved { flex: 1 1 100%; }
    .opx-editor-foot > .btn-ghost, .opx-editor-foot > .btn-primary, .opx-editor-foot > .btn-quiet, .opx-editor-foot > .is-confirm,
    .opx-set-foot > .btn { flex: 1 1 40%; }
    /* The footer is two rows here: a focused field clears both. */
    .opx-editor-body :is(input, textarea, select, button, [tabindex]),
    .opx-set :is(input, textarea, select, button, [tabindex]) { scroll-margin-bottom: 8rem; }
}

/* A finger: 44px targets - EVERY control of the page, the shared ones too (the centers' rule: settings.css, job-center.css
   raise the same pieces per page). The drag handle is left out (a browser's drag does not follow a finger) and the two
   move buttons sit side by side at full size. */
@media (pointer: coarse) {
    .opx-route-order { width: auto; }
    .opx-grip:not(.is-static) { display: none; }
    .opx-grip.is-static { width: 44px; height: 44px; }
    .opx-route-move { flex-direction: row; }
    .opx-move { width: 44px; height: 44px; font-size: .875rem; }
    .opx-chip-x { width: 44px; height: 44px; }
    .opx-chip { min-height: 44px; align-items: center; }
    .opx-switch { padding: 13px 6px; }
    .opx-switch.has-words { padding: 0; }
    .opx-tabs > .wf-tab { min-height: 44px; }
    .opx-page .wf-seg > button { height: auto; min-height: 44px; min-width: 44px; }
    .opx-page .btn-sm { min-height: 44px; }
    .opx-try-sample { height: auto; }
}

/* THE SETUP BANNER (OperatorSetupStrip - docs/claude/OPERATOR.md section 15): above the tabs. While a setup step is left it
   is the warm block - how many are left and the next one, its finding, the one button, "See all setup steps". Once every
   step Converse can check is done (or when the check could not be read) it is one quiet line. */
.opx-setup {
    margin: 0 0 var(--wf-space-4); padding: var(--wf-space-4) var(--wf-space-5);
    border-radius: var(--wf-radius-lg); background: var(--wf-warning-soft);
    color: var(--theme-text-emphasis);
}
.opx-setup.is-done, .opx-setup.is-failed { padding-block: 10px; background: var(--wf-inset); color: var(--theme-text-secondary); }
.opx-setup-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.opx-setup-text { display: flex; flex: 1 1 22rem; flex-direction: column; gap: 2px; min-width: 0; }
.opx-setup-lead { margin: 0; font-size: var(--wf-text-h3); font-weight: 650; text-wrap: balance; }
.opx-setup.is-done .opx-setup-lead, .opx-setup.is-failed .opx-setup-lead { font-size: var(--wf-text-sm); font-weight: 600; }
.opx-setup-finding { max-width: 84ch; margin: 0; font-size: var(--wf-text-sm); line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.opx-setup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* The banner's own ink: the primary ink on the warm fill is 4.36:1 in dark - under the floor for 13px text. */
.opx-setup .opx-setup-toggle { color: var(--theme-text-emphasis); }
/* Every step: a plain surface inside the banner, so each state pill reads on the card fill, not on the banner's. */
.opx-setup-panel {
    margin-top: var(--wf-space-4); padding: var(--wf-space-4) var(--wf-space-5);
    border-radius: var(--wf-radius-md); background: var(--wf-card);
    color: var(--theme-text-secondary); font-size: var(--wf-text-sm);
}
.opx-setup-panel[hidden] { display: none; }
.opx-setup-title { margin: 0 0 var(--wf-space-3); color: var(--theme-text-emphasis); font-size: var(--wf-text-h3); font-weight: 650; }
.opx-setup-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.opx-setup-row { display: grid; grid-template-columns: minmax(10rem, 17rem) 6.5rem minmax(0, 1fr); align-items: start; gap: 4px 12px; line-height: 1.45; }
.opx-setup-row > .wf-status-pill { justify-self: start; margin-top: -1px; }
.opx-setup-row-title { color: var(--theme-text-emphasis); font-weight: 600; }
.opx-setup-row-finding { overflow-wrap: anywhere; }
.opx-setup-note { margin: var(--wf-space-3) 0 0; color: var(--theme-text-muted); }

/* The banner on a narrow page (after its own rules above - same weight, so the later rule is the one that holds): a
   task's title and state on one line, its finding under them. */
@container page (max-width: 640px) {
    .opx-setup { padding: var(--wf-space-4); }
    .opx-setup-panel { padding: var(--wf-space-4); }
    .opx-setup-row { grid-template-columns: minmax(0, 1fr) auto; }
    .opx-setup-row-finding { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    .opx-route { transition: none; }
}
