:root {
  /* Owner 2026-10-17: the shipped band overrides the reference's reserved warning row. */
  --band-h: 56px;
  /* What is pinned to the top of the window, which a heading scrolled to, a key pinned below it and a focused control must clear:
     the band, and from a laptop's width the top bar above it (top-bar-and-band-stay-visible, after .band). */
  --bars-h: var(--band-h);
  --checkbox-size: 20px;
  --checkbox-border: 2px;
  --checkbox-radius: 4px;
  --checkbox-check-inset: 3px;
  --checkbox-bar-inset: 7px;
  --focus-ring: 2px;
  --focus-offset: 2px;

  --weight-strong: 700;

  --leading-ui: 1.4;
  /* Atkinson Hyperlegible Next's ascent and descent (984 and 316 of 1,000) set the tightest line: at 1.15 every heading stood
     2 to 4 px out of its box. */
  --leading-tight: 1.3;
  --tracking-tight: 0;

  --chrome-inline: clamp(16px, 4vw, 48px);
  --page-inline: clamp(16px, 5vw, 56px);
  --page-block: clamp(20px, 5vw, 48px);
  --nested-pad: min(var(--space-5), 5%);
  --content-max: 72rem;
  --control-max: 28rem;
  /* The bar's own controls (Simple | Advanced and the language key) stand 32 px tall under a mouse and 44 px under a finger. */
  --chrome-compact: 32px;
  --room-action-min: 12rem;
  --admin-filter-min: 14rem;
  --product-table-detail-width: 10rem;
  --product-table-mobile-label-share: 34%;
  --active-inset-inline: 14px;
  --active-inset-block-end: 5px;
  --active-rule: 2px;
  --tab-rule: 3px;
  /* The top bar's spacing and weights as board 1.1 draws them (top-bar-matches-its-board, below the Interface Language key): the gap between the
     bar's items, the air a tab's padding and hairline put round its words, the weight of a current tab and a pressed segment, and the height
     of Simple | Advanced. The design language's two weights are 400 and 700; the boards draw this one between them. */
  --chrome-gap: var(--space-5);
  --chrome-word-gap: 22px;
  --chrome-air: calc(var(--space-2) + var(--hairline));
  --chrome-seg: 30px;
  --weight-current: 600;
  --seg-border: 2px;
  --menu-icon: 1.1em;
  --menu-icon-gap: 6px;
  --menu-sheet-max: 82vh;
  --menu-sheet-radius: 18px;
  --menu-item-radius: 8px;
  --next-lamp: 10px;
  --skip-offset: 200%;
  --negative-one: -1;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;

  --hairline: 1px;
  --z-skip: 2;

  --hatch-band: 9px;
  --hatch-period: 18px;
  --weight-regular: 400;
  --announce-clip: inset(50%);

  --zero: 0;
  --full: 100%;

  /* The top bar's height. The design's --nav-h (56 px) stands for the phone's bar and for a touch screen's, whose keys are 44 px; under a
     mouse at a laptop's width the bar is 44 px tall, as boards 1.1 to 1.6 draw it, and its own keys stand 32 px tall (below). The pins
     below the bar read this, so the band moves up by what the bar loses. */
  --chrome-bar-h: var(--nav-h);
}

@media (pointer: fine) and (min-width: 900px) and (min-height: 601px) {
  :root {
    --chrome-bar-h: 44px;
  }
}

* {
  box-sizing: border-box;
}

/* The streamed header is complete once the following main has been parsed.
   Hold its paint until then, including with JavaScript disabled. */
body:not(:has(#app-main)) {
  visibility: hidden;
}

html,
body {
  margin: var(--zero);
  padding: var(--zero);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-words);
  font-size: var(--t-16);
  line-height: var(--leading-ui);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

#skip-to-content {
  position: absolute;
  inset-block-start: var(--zero);
  inset-inline-start: var(--space-4);
  z-index: var(--z-skip);
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  padding-inline: var(--space-4);
  border: var(--hairline) solid var(--ink);
  border-radius: var(--r-key);
  background: var(--paper-2);
  color: var(--ink);
  font-weight: var(--weight-strong);
  text-decoration: none;
  transform: translateY(var(--zero));
}

#skip-to-content:not(:focus):not(:focus-visible) {
  transform: translateY(calc(var(--skip-offset) * var(--negative-one)));
}

#product-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--chrome-gap);
  min-block-size: var(--chrome-bar-h);
  padding-block: var(--space-1);
  padding-inline: var(--chrome-inline);
  border-block-end: var(--hairline) solid var(--rule);
  background: var(--paper-2);
  color: var(--ink);
  transition:
    background-color var(--m-fade) var(--m-ease),
    border-color var(--m-fade) var(--m-ease);
}

#product-chrome[data-boundary="admin"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

#chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: var(--target);
  white-space: nowrap;
  color: inherit;
  font-size: var(--t-18);
  font-weight: var(--weight-strong);
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
}

#chrome-navigation {
  display: flex;
  align-items: center;
}

#chrome-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  margin: var(--zero);
  padding: var(--zero);
  list-style: none;
}

#chrome-navigation li {
  display: flex;
}

/* Account stands in the row of tabs, after Help, as boards 1.1 to 1.6 draw it. The phone's Menu takes its line out of the item and holds
   it after the language, as it always did (chrome-menu.ts), which leaves the item empty and drawn nowhere. */
#chrome-navigation li:empty {
  display: none;
}

#start-link,
#configure-menu-link,
#history-link,
#about-link,
#help-link,
#open-app-link,
#admin-link,
#sign-in-link,
#account-link,
.chrome-action,
#view-simple,
#view-advanced {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--target);
  padding-inline: var(--space-4);
  border: var(--hairline) solid transparent;
  border-radius: var(--r-pill);
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: var(--weight-strong);
  line-height: var(--leading-tight);
  text-decoration: none;
  transition:
    background-color var(--m-fade) var(--m-ease),
    border-color var(--m-fade) var(--m-ease),
    color var(--m-fade) var(--m-ease);
}

#start-link:hover,
#configure-menu-link:hover,
#history-link:hover,
#about-link:hover,
#help-link:hover,
#open-app-link:hover,
#admin-link:hover,
#account-link:hover,
.chrome-action:hover,
#view-simple:hover,
#view-advanced:hover {
  background: var(--paper-3);
}

#product-chrome[data-boundary="admin"] #start-link:hover,
#product-chrome[data-boundary="admin"] #history-link:hover,
#product-chrome[data-boundary="admin"] #about-link:hover,
#product-chrome[data-boundary="admin"] #help-link:hover,
#product-chrome[data-boundary="admin"] #admin-link:hover,
#product-chrome[data-boundary="admin"] #account-link:hover,
#product-chrome[data-boundary="admin"] #view-simple:hover,
#product-chrome[data-boundary="admin"] #view-advanced:hover {
  background: var(--ink-hover);
}

/* The current destination takes weight and a rule, never a hue; the rule is drawn, not laid out, so moving between
   destinations never moves what stands under the bar. */
#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #open-app-link, #admin-link, #account-link) {
  padding-inline: var(--space-3);
  border-color: transparent;
  border-radius: var(--zero);
  background: transparent;
  color: var(--ink-2);
  font-weight: var(--weight-regular);
}

#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #open-app-link, #admin-link, #account-link):hover,
#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"] {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"] {
  font-weight: var(--weight-strong);
}

#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"]::after {
  inset-inline: var(--space-3);
  inset-block-end: var(--zero);
  block-size: var(--tab-rule);
  border-radius: var(--tab-rule) var(--tab-rule) var(--zero) var(--zero);
}

/* Each tab lays its own words out once more, unseen and at no height, in the current tab's weight, so it is as wide at rest as
   when current and marking a destination never pushes the tabs after it along the bar. */
#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link) {
  flex-direction: column;
}

#product-chrome :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)::before {
  content: attr(data-label) / "";
  block-size: var(--zero);
  overflow: hidden;
  visibility: hidden;
  font-weight: var(--weight-strong);
  white-space: nowrap;
}

/* Admin is drawn only once the server confirms an administrator; unreserved, its arrival wrapped the row and moved the page at
   1024 px. So the place keeps the tab's room from the first frame, unseen and out of reach. */
#admin-place {
  display: none;
}

body:has(> #on-air-band:not([hidden])) #chrome-navigation #admin-place {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  padding-inline: var(--space-3);
  border: var(--hairline) solid transparent;
  font-weight: var(--weight-strong);
  line-height: var(--leading-tight);
  white-space: nowrap;
  visibility: hidden;
}

body:has(> #on-air-band:not([hidden])) #chrome-navigation #admin-link:not([hidden]) + #admin-place,
body:has(> #on-air-band:not([hidden])) #chrome-menu #admin-place {
  display: none;
}

#product-chrome[data-boundary="admin"] :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link) {
  color: var(--paper-3);
}

#product-chrome[data-boundary="admin"] :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link):hover,
#product-chrome[data-boundary="admin"] :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"] {
  border-color: transparent;
  background: transparent;
  color: var(--paper);
}

/* THE TOP BAR UNDER A MOUSE AT A LAPTOP'S WIDTH stands 44 px tall (--chrome-bar-h), as boards 1.1 to 1.6 draw it, so its own keys stand as
   tall as the two compact controls beside them (--chrome-compact). A touch screen keeps its 44 px keys and the bar they need, and the
   phone's bar, below 900 px, keeps what it had. */
@media (pointer: fine) and (min-width: 900px) and (min-height: 601px) {
  #product-chrome > :is(#chrome-brand, #sign-in-link, .chrome-action),
  #product-chrome > #chrome-navigation a,
  #product-chrome #next-step,
  body:has(> #on-air-band:not([hidden])) #product-chrome > #chrome-navigation #admin-place {
    min-block-size: var(--chrome-compact);
  }
}

#chrome-view-toggle {
  gap: var(--zero);
  padding: var(--zero);
  border: var(--seg-border) solid var(--ink);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--paper-2);
}

#product-chrome #chrome-view-toggle button {
  border-color: transparent;
  border-radius: var(--zero);
  color: var(--ink-2);
  font-size: var(--t-14);
}

#product-chrome #chrome-view-toggle button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

#product-chrome[data-boundary="admin"] #chrome-view-toggle {
  border-color: var(--paper);
  background: transparent;
}

#product-chrome[data-boundary="admin"] #chrome-view-toggle button {
  color: var(--paper-3);
}

#product-chrome[data-boundary="admin"] #chrome-view-toggle button[aria-pressed="true"] {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

#sign-in-link,
.chrome-action {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

#sign-in-link:hover,
.chrome-action:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}

#account-line {
  display: flex;
  align-items: center;
  margin: var(--zero);
}

/* Its slot is the bar's free space, laid out from the first frame; the mark is drawn in it out of the bar's flow, so its words
   never move the destinations, the bar or the band, and where they do not fit the console leaves it undrawn. */
#next-step-slot {
  display: none;
}

/* The slot adds nothing to the bar's rows, so the bar breaks them where it did without it: its end margin takes back the gap
   before it, and the mark keeps that gap before the next part itself. */
body:has(> #on-air-band:not([hidden])) #product-chrome > #next-step-slot,
/* The Account window Add funds opens has no band, but its mark names a Room open in the console's window (room-open-plain-everywhere). */
body:has(#next-step.next-act--live:not([hidden])) #product-chrome > #next-step-slot {
  position: relative;
  display: flex;
  flex: 1 1 var(--zero);
  align-items: center;
  align-self: stretch;
  justify-content: flex-start;
  overflow: clip;
  /* The 2px outline plus 2px offset needs 4px; pinned Chrome rejects calc() here. */
  overflow-clip-margin: var(--space-1);
  min-inline-size: var(--zero);
  margin-inline-end: calc(var(--chrome-gap) * var(--negative-one));
}

/* THE ROOM'S OWN SCREENS DRAW NO MARK on a laptop (top-bar-mark-on-room-screens; rule 16 of On every screen, design/patterns/room-console.md): the Room Screen in Simple and
   Configure the room, in Simple and in Advanced. There the Room's name is the title, the band says the Room's state and the line above the keys says the next step, so the
   mark said each twice; boards 1.1 to 1.11, 3.3 and 3.7 to 3.9 draw none. The page root names no destination, only the layout it holds: has-configure-dock while Configure
   draws the dock at its foot, has-start-console while the console is laid out. That second class stays on while About and Help stand beside the console during a live Session,
   so those two are told apart as the stylesheet tells them everywhere, by the reading view being open, and keep the mark. So do every other screen, Advanced's Room Screen, large
   text and a phone, which this rule does not reach. An operator whose email is not verified never reaches these screens: the console sends them to Account, and the mark is not
   presented to them at all (operator-chrome-wiring.ts). */
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root:not([data-text="200"]):is(.has-configure-dock, .has-start-console:not(.has-compact-large-dock):not(.has-advanced-console):not(:where(:has(#app-main > .reading:not([hidden]))))) body:has(#next-step) #product-chrome > #next-step-slot {
    display: none;
  }
}

#next-step {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-inline-size: calc(var(--full) - var(--chrome-gap));
  min-block-size: var(--target);
  padding-inline: var(--space-4);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
  line-height: var(--leading-tight);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--m-fade) var(--m-ease);
}

#next-step:hover {
  background: var(--ink-hover);
}

#next-step.next-act--short .na-long {
  display: none;
}

#next-step.next-act--wrap {
  white-space: normal;
}
#next-step .na-words { min-inline-size: 0; overflow-wrap: anywhere; }
/* ", in another window" ends the Room's name as one phrase, so its comma takes no gap before it. */
#next-step .na-where { margin-inline-start: calc(-1 * var(--space-2)); }

/* Undrawn where nothing fits: out of the page altogether, so it cannot widen it either. */
#next-step.next-act--unfit {
  display: none;
}

#next-step .lamp {
  inline-size: var(--next-lamp);
  block-size: var(--next-lamp);
  border: var(--zero);
}

#next-step .lamp--pending {
  border: var(--band-2px) solid currentColor;
  border-inline-end-color: transparent;
}

#next-step .nextmark {
  display: inline-flex;
  flex: none;
}

#next-step.ext::after {
  content: "\00a0↗";
}

:root[dir="rtl"] #next-step .nextmark svg {
  transform: scaleX(-1);
}

:root[dir="rtl"] #next-step.ext::after {
  content: "\00a0↖";
}

@media (max-width: 1279px) {
  #next-step:not(.next-act--live) .na-long {
    display: none;
  }
}

/* An open Room's mark keeps its name where it fits: on its own line under the state before the name goes, and its "in another window"
   goes first (room-open-plain-everywhere). */
#next-step.next-act--live.next-act--wrap {
  flex-wrap: wrap;
  row-gap: var(--zero);
}

/* Its state is its first line and the Room's name its second: a break as wide as the pill stands between them, so the name never
   ends the state's line, and ", in another window" follows the name on the second. */
#next-step.next-act--live.next-act--wrap:not(.next-act--short)::before {
  content: "";
  flex-basis: var(--full);
  order: 1;
}

#next-step.next-act--live.next-act--wrap:not(.next-act--short) :is(.na-room, .na-where, .nextmark) {
  order: 2;
}

/* Its second line is the Room's name, set a step smaller, as a title's line under its state. */
#next-step.next-act--live.next-act--wrap :is(.na-room, .na-where) {
  font-size: var(--t-12);
}

#next-step.next-act--bare .na-where {
  display: none;
}

/* Where its state cannot share a line with its lamp, the lamp goes before the Room's name does. */
#next-step.next-act--lampless .lamp {
  display: none;
}

@media (min-width: 900px) and (max-width: 1279px) and (min-height: 601px) {
  #next-step {
    padding-inline: var(--space-3);
  }
}

#chrome-view-toggle,
#chrome-language-control {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  min-block-size: var(--chrome-compact);
  color: inherit;
}

/* The bar's right-hand controls start at whichever of the two it draws first. */
#chrome-view-toggle:not([hidden]),
#chrome-language-control {
  margin-inline-start: auto;
}

#chrome-view-toggle:not([hidden]) + #chrome-language-control {
  margin-inline-start: var(--zero);
}

/* Simple | Advanced in the bar is a compact control: a hairline, 32 px, and a finger's 44 px where the pointer is coarse. */
#product-chrome > #chrome-view-toggle {
  border-width: var(--hairline);
  border-color: var(--rule);
}

#product-chrome > #chrome-view-toggle button {
  min-block-size: calc(var(--chrome-compact) - 2 * var(--hairline));
  padding-inline: var(--space-3);
}

@media (pointer: coarse) {
  #product-chrome > #chrome-view-toggle button,
  #product-chrome > #chrome-language-control #interface-language-button {
    min-block-size: var(--target);
  }
}

/* The Menu names the language row; in the bar the key's own code and name say it. */
#interface-language-label {
  display: none;
  padding-inline: var(--space-3);
  color: var(--ink-2);
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
}

#product-chrome[data-boundary="admin"] :focus-visible {
  outline-color: var(--focus-on-ink);
}

#product-chrome[data-boundary="admin"] #interface-language-label {
  color: var(--paper);
}

/* The Interface Language key: the code in use and a chevron, the same on every page. It opens the design's menu
   (chrome-language-menu.ts, design/code/dom/menu.ts). */
#chrome-language-control {
  position: relative;
  flex-wrap: nowrap;
  gap: var(--zero);
}

#interface-language-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: var(--chrome-compact);
  padding-inline: var(--space-3);
  border: var(--hairline) solid var(--rule);
  border-radius: var(--r-pill);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
  line-height: var(--leading-tight);
  cursor: pointer;
  transition:
    background-color var(--m-fade) var(--m-ease),
    border-color var(--m-fade) var(--m-ease);
}

#interface-language-button::after {
  content: "";
  inline-size: 0.4em;
  block-size: 0.4em;
  margin-block-start: -0.2em;
  border-inline-end: var(--seg-border) solid currentColor;
  border-block-end: var(--seg-border) solid currentColor;
  transform: rotate(45deg);
}

#interface-language-button[aria-expanded="true"]::after {
  margin-block-start: 0.2em;
  transform: rotate(225deg);
}

#interface-language-button:hover {
  background: var(--paper-3);
}

#product-chrome[data-boundary="admin"] #interface-language-button {
  border-color: var(--paper-3);
}

#product-chrome[data-boundary="admin"] #interface-language-button:hover {
  background: var(--ink-hover);
}

/* The key says the language by its name, as the menu gives it, after a globe (boards 1.1 to 1.6; rule 4 of On every screen: a control says
   its whole name while the layout has room). Where the bar has no room for the name the key keeps its code, and so does the phone's Menu,
   whose key is not a child of the bar. The name keeps the bar on one row from 990 px in English and French, and from 1,070 px in the
   Spanish draft, whose Admin tab is the longest; 1,100 px leaves a scrollbar's width to spare for the widest. */
.language-globe,
#interface-language-name {
  display: none;
}

@media (min-width: 1100px) and (min-height: 601px) {
  /* The board draws the key as plain words with no outline of its own. Admin's inverted bar, which no board draws, keeps the key's
     outline in the bar's own light. */
  #product-chrome:not([data-boundary="admin"]) > #chrome-language-control #interface-language-button {
    padding-inline: var(--space-2);
    border-color: transparent;
    color: var(--ink-2);
    font-weight: var(--weight-regular);
  }

  #product-chrome > #chrome-language-control .language-globe {
    display: block;
    flex: none;
    inline-size: 18px;
    block-size: 18px;
  }

  #product-chrome > #chrome-language-control #interface-language-name {
    display: inline;
  }

  #product-chrome > #chrome-language-control #interface-language-short {
    display: none;
  }
}

/* THE TOP BAR'S SPACING AND WEIGHTS AS BOARD 1.1 DRAWS THEM (top-bar-matches-its-board), for the signed-in operator under a mouse at a laptop's
   width, where the 44 px bar stands: the Account line is drawn, from the Worker's first frame, on the console and on the pages beside it, so the
   bar is the same everywhere the operator goes. Its words stand 24 px in from each edge, on the band's, and 22 px apart: the brand from the
   first tab, each tab from the next and Simple | Advanced from the key's globe. A tab's padding and hairline (--chrome-air) lie in those
   22 px, and so do the key's when it is plain words, so each still reaches 9 px past its words; an outlined key keeps its outline on the line.
   The current tab is marked by its weight alone, and Simple | Advanced is 30 px tall, its pressed side 600 and the other 400. The brand stands
   16 px and the tabs 14, as the board draws them: two steps of the design's scale, where the bar drew 18 and 16. The signed-out bar and a touch
   screen's keep what they had. */
@media (pointer: fine) and (min-width: 900px) and (min-height: 601px) {
  body #product-chrome:has(#account-line:not([hidden])) {
    --chrome-inline: var(--space-5);
    --chrome-gap: var(--chrome-word-gap);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-brand {
    font-size: var(--t-16);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation {
    font-size: var(--t-14);
    margin-inline: calc(var(--chrome-air) * var(--negative-one));
  }

  /* Each tab keeps the room of the current weight, so its words stand a pixel inside its box when it is not the current one: the boxes stand
     2 px apart, not the 4 that would make 22, and the words stand 22 px apart as the board's do. */
  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation ul {
    gap: calc(var(--space-1) / 2);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link) {
    padding-inline: var(--space-2);
  }

  /* A link that opens a new tab keeps the room for its arrow, at the same smaller padding. */
  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation :is(#about-link, #help-link)[target="_blank"] {
    padding-inline-end: calc(var(--space-2) + 1em);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation :is(#about-link, #help-link)[target="_blank"]::after {
    inset-inline-end: var(--space-2);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"] {
    font-weight: var(--weight-current);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"]:not([target="_blank"])::after {
    content: none;
  }

  /* The room each tab keeps for the current tab's weight, so marking a destination moves no tab. */
  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation :is(#start-link, #history-link, #about-link, #help-link, #admin-link, #account-link)::before {
    font-weight: var(--weight-current);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-navigation #admin-place {
    padding-inline: var(--space-2);
    font-weight: var(--weight-current);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-view-toggle {
    min-block-size: var(--chrome-seg);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-view-toggle button {
    min-block-size: calc(var(--chrome-seg) - 2 * var(--hairline));
    font-weight: var(--weight-regular);
  }

  body #product-chrome:has(#account-line:not([hidden])) > #chrome-view-toggle button[aria-pressed="true"] {
    font-weight: var(--weight-current);
  }
}

@media (pointer: fine) and (min-width: 1100px) and (min-height: 601px) {
  body #product-chrome:has(#account-line:not([hidden])):not([data-boundary="admin"]) > #chrome-language-control #interface-language-button {
    margin-inline: calc(var(--chrome-air) * var(--negative-one));
  }
}

#interface-language-menu {
  position: absolute;
  inset-block-start: calc(var(--full) + var(--space-1));
  inset-inline-end: var(--zero);
  z-index: 80;
  min-inline-size: 12rem;
  max-inline-size: calc(100vw - var(--space-5));
  max-block-size: min(65vh, 28rem);
  overflow: auto;
  padding: var(--space-2);
  border: var(--seg-border) solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

#interface-language-menu [role="menuitemradio"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--space-3);
  inline-size: var(--full);
  min-block-size: var(--target);
  padding: var(--space-2) var(--space-3);
  border: var(--zero);
  border-inline-start: var(--tab-rule) solid transparent;
  border-radius: var(--menu-item-radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--t-16);
  text-align: start;
  cursor: pointer;
}

#interface-language-menu [role="menuitemradio"] .num {
  color: var(--ink-2);
  font-size: var(--t-14);
}

#interface-language-menu [role="menuitemradio"][aria-checked="true"] {
  border-inline-start-color: var(--ink);
  font-weight: var(--weight-strong);
}

@media (hover: hover) {
  #interface-language-menu [role="menuitemradio"]:hover {
    background: var(--paper-3);
  }
}

#product-chrome #interface-language-menu :focus-visible {
  outline-color: var(--focus);
}

#product-chrome :is(#about-link, #help-link)[target="_blank"] {
  position: relative;
  padding-inline-end: calc(var(--space-3) + 1em);
}

#product-chrome :is(#about-link, #help-link)[target="_blank"]::after {
  content: "\2197" / "";
  position: absolute;
  inset-inline-end: var(--space-3);
}

#account-link {
  max-inline-size: var(--control-max);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[aria-current="page"],
[aria-pressed="true"] {
  position: relative;
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
  font-weight: var(--weight-strong);
}

/* The rule above loses to each control's own id, which set its ground and border transparent, so the pressed one painted
   exactly like its neighbour; this one wins. */
#product-chrome [aria-pressed="true"] {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}

#product-chrome[data-boundary="admin"] [aria-current="page"],
#product-chrome[data-boundary="admin"] [aria-pressed="true"] {
  background: var(--ink-hover);
  border-color: var(--paper);
  color: var(--paper);
}

[aria-current="page"]::after {
  content: "";
  display: block;
  position: absolute;
  inset-inline: var(--active-inset-inline);
  inset-block-end: var(--active-inset-block-end);
  block-size: var(--active-rule);
  border-radius: var(--r-pill);
  background: currentColor;
}

:where(a, button, input, select):focus-visible {
  outline: var(--focus-ring) solid var(--focus);
  outline-offset: var(--focus-offset);
}

/* Forced colours keep a pressed segment apart from its neighbour: the system paints every ground Canvas and every border one
   colour, so pressed and unpressed would differ only by a hairline. */
@media (forced-colors: active) {
  /* Above every id rule for these buttons, the Admin bar's included. */
  #product-chrome #chrome-view-toggle button {
    forced-color-adjust: none;
    background: ButtonFace;
    color: ButtonText;
  }

  #product-chrome #chrome-view-toggle button[aria-pressed="true"] {
    background: Highlight;
    color: HighlightText;
  }
}

/* Below 900 px wide, or at 600 px tall or less, the bar keeps the brand, chips and Sign in, and Menu opens a sheet with the
   destinations, view, language and Account, which chrome-menu.ts moves into it from the bar while it is open. */
#chrome-menu-button {
  display: none;
}

@media (max-width: 899px), (max-height: 600px) {
  #product-chrome {
    column-gap: var(--space-3);
    padding-inline: var(--space-4);
  }

  #product-chrome > :is(#chrome-navigation, #chrome-view-toggle, #chrome-language-control) {
    display: none;
  }

  #chrome-brand {
    margin-inline-end: auto;
  }

  #product-chrome > #sign-in-link {
    margin-inline-start: var(--zero);
  }

  /* The next step stays in the bar, beside Menu: its slot takes the free space the brand's auto margin took, and the mark
     stands at the slot's end. */
  body:has(> #on-air-band:not([hidden])) #product-chrome > #next-step-slot,
  body:has(#next-step.next-act--live:not([hidden])) #product-chrome > #next-step-slot {
    justify-content: flex-end;
    margin-inline-end: calc(var(--space-3) * var(--negative-one));
  }

  #next-step {
    max-inline-size: calc(var(--full) - var(--space-3));
    margin-inline-end: var(--space-3);
    padding-inline: var(--space-3);
  }

  #chrome-menu-button {
    display: inline-flex;
    align-items: center;
    gap: var(--menu-icon-gap);
    min-block-size: var(--target);
    min-inline-size: var(--target);
    padding-inline: var(--space-3);
    border: var(--seg-border) solid var(--rule);
    border-radius: var(--r-key);
    background: var(--paper-2);
    color: var(--ink);
    font: inherit;
    font-weight: var(--weight-strong);
    line-height: var(--leading-tight);
  }

  #product-chrome[data-boundary="admin"] #chrome-menu-button {
    border-color: var(--paper-3);
    background: transparent;
    color: var(--paper);
  }
}

.chrome-menu-icon {
  flex: none;
  inline-size: var(--menu-icon);
  block-size: var(--menu-icon);
}

#chrome-menu {
  position: fixed;
  inset-block: auto var(--zero);
  inset-inline: var(--zero);
  inline-size: auto;
  max-inline-size: none;
  max-block-size: var(--menu-sheet-max);
  margin: var(--zero);
  padding: var(--zero);
  overflow: auto;
  border: var(--zero);
  border-block-start: var(--seg-border) solid var(--ink);
  border-radius: var(--menu-sheet-radius) var(--menu-sheet-radius) var(--zero) var(--zero);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

#chrome-menu::backdrop {
  background: var(--scrim);
}

.chrome-menu-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom));
}

.chrome-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-block-end: var(--space-2);
}

#chrome-menu-heading:focus { outline: none; }

#chrome-menu-heading {
  margin: var(--zero);
  font-size: var(--t-18);
  font-weight: var(--weight-strong);
  line-height: var(--leading-tight);
}

#chrome-menu-close {
  display: grid;
  place-items: center;
  min-inline-size: var(--target);
  min-block-size: var(--target);
  padding: var(--zero);
  border: var(--zero);
  border-radius: var(--menu-item-radius);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: var(--t-22);
  line-height: var(--leading-tight);
}

@media (hover: hover) {
  #chrome-menu-close:hover {
    background: var(--paper-3);
  }
}

/* Configure the room is the Menu's only: second in the sheet, after Room; the bar does not draw it, and the room page carries
   its own way in. */
#chrome-navigation .chrome-menu-only {
  display: none;
}

#product-chrome #chrome-menu #chrome-navigation .chrome-menu-only {
  display: flex;
}

#product-chrome #chrome-menu #chrome-navigation ul {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--zero);
}

#product-chrome #chrome-menu :is(#start-link, #configure-menu-link, #history-link, #about-link, #help-link, #open-app-link, #admin-link, #account-link) {
  flex: 1 1 auto;
  justify-content: flex-start;
  max-inline-size: none;
  padding-inline: var(--space-3);
  border: var(--zero);
  border-inline-start: var(--tab-rule) solid transparent;
  border-radius: var(--menu-item-radius);
  background: transparent;
  color: var(--ink);
  font-size: var(--t-16);
  font-weight: var(--weight-regular);
  white-space: normal;
}

@media (hover: hover) {
  #product-chrome #chrome-menu :is(#start-link, #configure-menu-link, #history-link, #about-link, #help-link, #open-app-link, #admin-link, #account-link):hover {
    background: var(--paper-3);
    color: var(--ink);
  }
}

#product-chrome #chrome-menu :is(#start-link, #configure-menu-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"] {
  border-inline-start-color: var(--ink);
  font-weight: var(--weight-strong);
}

#product-chrome #chrome-menu :is(#start-link, #configure-menu-link, #history-link, #about-link, #help-link, #admin-link, #account-link)[aria-current="page"]::after {
  content: none;
}

#product-chrome #chrome-menu :is(#start-link, #configure-menu-link, #history-link, #about-link, #help-link, #open-app-link, #admin-link, #account-link) {
  flex-direction: row;
}

#product-chrome #chrome-menu :is(#start-link, #configure-menu-link, #history-link, #about-link, #help-link, #admin-link, #account-link)::before {
  content: none;
}

.chrome-menu-rule {
  margin-block: var(--space-2);
  margin-inline: var(--zero);
  border: var(--zero);
  border-block-start: var(--hairline) solid var(--rule);
}

.chrome-menu-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-block-size: var(--target);
}

.chrome-menu-row > span {
  padding-inline: var(--space-3);
  color: var(--ink-2);
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
}

[data-chrome-menu-slot="view"]:not(:has(> #chrome-view-toggle:not([hidden]))) {
  display: none;
}

#product-chrome #chrome-menu #chrome-language-control {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-inline-start: var(--zero);
}

/* In the Menu the language is a row: its name, and the key, which opens its list in the sheet rather than over it. */
#product-chrome #chrome-menu #interface-language-button {
  min-block-size: var(--target);
  border-color: var(--ink);
}

#product-chrome #chrome-menu #interface-language-menu {
  position: static;
  flex: 1 0 var(--full);
  inline-size: var(--full);
  max-inline-size: none;
  max-block-size: 40vh;
  margin-block-start: var(--space-2);
  box-shadow: none;
}

#product-chrome #chrome-menu #chrome-view-toggle {
  border-color: var(--ink);
  background: var(--paper-2);
}

#product-chrome #chrome-menu #chrome-view-toggle button {
  color: var(--ink-2);
}

@media (hover: hover) {
  #product-chrome #chrome-menu #chrome-view-toggle button:hover {
    background: var(--paper-3);
  }
}

#product-chrome #chrome-menu #chrome-view-toggle button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

#product-chrome #chrome-menu #interface-language-label {
  display: inline;
  color: var(--ink-2);
}

#product-chrome #chrome-menu :focus-visible {
  outline-color: var(--focus);
}

#app-main {
  inline-size: min(var(--full), var(--content-max));
  margin-inline: auto;
  margin-block: var(--page-block);
  padding-block: var(--page-block);
  padding-inline: var(--page-inline);
  border: var(--hairline) solid var(--rule);
  border-radius: var(--r-card);
  background: var(--paper-2);
}

/* The app's first frame, and the sign-in wait, until a page is drawn: in Simple, the view the page starts in and the one a returning
   operator's remembered presentation keeps, on a laptop in ordinary text, the gutter is already the framed Room Screen's
   (operator-console.css), so nothing moves when the Room Screen arrives. Advanced keeps the console's own from the presentation on. */
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root:not([data-text="200"]):has(#view-simple[aria-pressed="true"]) #app-main:not(:has(> section:not([hidden]))) {
    padding-inline: 24px;
  }
}

#app-main,
[data-public-page] #app-main,
#admin-section {
  overflow-wrap: anywhere;
}

#app-main > h1 {
  margin-block: var(--zero) var(--space-4);
  color: var(--ink);
  font-size: var(--t-28);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* The console's own frame stops at the manage pages (Account, History, a report, a receipt), which draw the
   design's (manage.css). `:where` keeps each rule's weight as it was. */
#app-main section:where(:not(.manage, .manage *, .operator-console, .operator-console *, #room-section)) {
  margin-block: var(--space-5);
  padding: var(--space-5);
  border: var(--hairline) solid var(--rule);
  border-radius: var(--r-key);
  background: var(--paper);
}

#app-main section section:where(:not(.manage *, .operator-console, .operator-console *)) {
  margin-block: var(--space-4);
  padding: var(--nested-pad);
  background: var(--paper-2);
}

#app-main h2:where(:not(.manage *)),
#app-main h3:where(:not(.manage *)) {
  margin-block: var(--zero) var(--space-3);
  line-height: var(--leading-tight);
}

#app-main form:where(:not(.manage *)) {
  max-inline-size: var(--control-max);
}

#app-main form:where(:not(.manage *)) p {
  display: grid;
  gap: var(--space-2);
  margin-block: var(--space-4);
}

#app-main label:where(:not(.manage *)),
#app-main form:where(:not(.manage *)) span {
  color: var(--ink-2);
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
}

#app-main :where(input, select, output):where(:not(.manage *)) {
  inline-size: var(--full);
  min-block-size: var(--target);
  padding-inline: var(--space-3);
  border: var(--hairline) solid var(--rule);
  border-radius: var(--r-key);
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
}

#app-main :where(button, .chrome-action):where(:not(.manage *, .operator-console .key, .info-x)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-inline-size: var(--full);
  min-block-size: var(--target);
  padding-inline: var(--space-4);
  border: var(--hairline) solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper-2);
  font: inherit;
  font-weight: var(--weight-strong);
  overflow-wrap: anywhere;
  text-decoration: none;
}

#app-main :where(button, .chrome-action):where(:not(.manage *, .operator-console .key, .info-x)):hover {
  background: var(--ink-hover);
}

/* Create your account keeps OD-14's token-only form until invitation-valid-through-registration draws it on the auth sheet's
   parts (auth.css); Sign in and Reset your password are drawn there already. */
#app-main:has(> #create-account-section:not([hidden])) {
  inline-size: min(calc(var(--control-max) + var(--space-5) * 2), calc(var(--full) - var(--space-4) * 2));
  margin-block: var(--space-5);
  padding: var(--space-5);
}

#app-main:has(> #create-account-section:not([hidden])) > #app-heading {
  display: none;
}

#app-main #create-account-section {
  margin: var(--zero);
  padding: var(--zero);
  border: var(--zero);
  background: transparent;
}

#app-main #create-account-heading {
  margin-block: var(--zero) var(--space-5);
  font-size: var(--t-28);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

#app-main #create-account-form {
  display: grid;
  gap: var(--space-4);
  max-inline-size: var(--full);
}

#app-main #create-account-form p {
  margin: var(--zero);
}

#app-main #create-account-submit {
  inline-size: var(--full);
  padding-block: var(--space-3);
  line-height: var(--leading-ui);
}

#app-main #show-sign-in-from-create {
  justify-content: flex-start;
  padding-inline: var(--zero);
  padding-block: var(--space-2);
  border-color: transparent;
  border-radius: var(--zero);
  background: transparent;
  color: var(--ink);
  text-align: start;
  text-decoration: underline;
  text-underline-offset: var(--space-1);
  line-height: var(--leading-ui);
}

#app-main #show-sign-in-from-create:hover {
  background: transparent;
  color: var(--ink-2);
}

#app-main:has(> #create-account-section:not([hidden])) > :is(#auth-status, #operator-error) {
  margin-block: var(--zero) var(--space-4);
}

#app-main:has(> #create-account-section:not([hidden])) > #operator-error:empty {
  display: none;
}

/* Audio Input names keep their own surface: an ID label must not inherit the generic ink button fill. */
#app-main #console-flow { color: var(--audio-input-ink); }
#app-main button.audio-input-choice,
#audio-input-choices [role="menuitemradio"] {
  color: var(--audio-input-ink);
  background: var(--audio-input-paper);
  opacity: 1;
}

#app-main button.audio-input-choice:hover,
#audio-input-choices [role="menuitemradio"]:hover {
  color: var(--audio-input-ink);
  background: var(--audio-input-hover);
}

#app-main button.audio-input-choice:is(:disabled, [aria-disabled="true"]),
#audio-input-choices [aria-disabled="true"] {
  color: var(--audio-input-ink);
  background: var(--audio-input-paper);
  opacity: 1;
  cursor: not-allowed;
}

#app-main a:where(:not(.manage *)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--target);
  padding-inline: var(--space-4);
  border: var(--hairline) solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--ink);
  font-weight: var(--weight-strong);
  text-decoration: none;
}

#app-main a:where(:not(.manage *)):hover {
  background: var(--paper-3);
}

.product-table {
  inline-size: var(--full);
  max-inline-size: var(--full);
  table-layout: fixed;
  border: var(--hairline) solid var(--rule);
  border-spacing: var(--zero);
  border-radius: var(--r-key);
  background: var(--paper-2);
  overflow: hidden;
}

.product-table :where(th, td) {
  padding-block: var(--space-2);
  padding-inline: var(--space-3);
  border-block-end: var(--hairline) solid var(--rule);
  overflow-wrap: anywhere;
  text-align: start;
  vertical-align: top;
}

.product-table th {
  color: var(--ink-2);
  font-weight: var(--weight-strong);
}

.product-table-select {
  inline-size: calc(var(--target) + var(--space-2) + var(--space-2));
}

/* The glyph stays compact; its label owns the touch target. This also keeps
   native selection controls out of the full-width text-field sizing rule. History's table chooses its rows the same way. */
#app-main input[type="checkbox"] {
  inline-size: var(--checkbox-size);
  block-size: var(--checkbox-size);
  min-block-size: var(--checkbox-size);
  flex-shrink: var(--zero);
  margin: var(--zero);
  padding: var(--zero);
  accent-color: var(--ink);
}

#app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(input[type="checkbox"]) {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-inline-size: var(--target);
  min-block-size: var(--target);
  cursor: pointer;
}

#app-main .product-table-select {
  padding-block: var(--zero);
  padding-inline: var(--space-2);
  vertical-align: middle;
}

.product-table-select label {
  justify-content: center;
}

/* On a touch screen the checkbox is its whole label: the 20 px glyph was under the 44 px a finger needs. The native control
   fills its label, unseen, and the label draws the same compact glyph; a fine pointer keeps the native control. */
@media (pointer: coarse) {
  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]) {
    position: relative;
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label > input[type="checkbox"] {
    position: absolute;
    inset: var(--zero);
    inline-size: var(--full);
    block-size: var(--full);
    min-block-size: var(--zero);
    opacity: 0;
    cursor: pointer;
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"])::before {
    content: "";
    flex: none;
    box-sizing: border-box;
    inline-size: var(--checkbox-size);
    block-size: var(--checkbox-size);
    border: var(--checkbox-border) solid var(--ink);
    border-radius: var(--checkbox-radius);
    background: var(--paper-2);
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:checked)::before {
    background: var(--ink);
    box-shadow: inset 0 0 0 var(--checkbox-check-inset) var(--paper-2);
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:indeterminate)::before {
    background: var(--ink);
    box-shadow:
      inset 0 var(--checkbox-bar-inset) 0 var(--paper-2),
      inset 0 calc(-1 * var(--checkbox-bar-inset)) 0 var(--paper-2),
      inset var(--checkbox-check-inset) 0 0 var(--paper-2),
      inset calc(-1 * var(--checkbox-check-inset)) 0 0 var(--paper-2);
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:focus-visible)::before {
    outline: var(--focus-ring) solid var(--focus);
    outline-offset: var(--focus-offset);
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:disabled) {
    cursor: default;
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:disabled)::before {
    opacity: 0.4;
  }
}

@media (pointer: coarse) and (forced-colors: active) {
  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"])::before {
    forced-color-adjust: none;
    border-color: ButtonText;
    background: ButtonFace;
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:checked)::before {
    background: ButtonText;
    box-shadow: inset 0 0 0 var(--checkbox-check-inset) ButtonFace;
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:indeterminate)::before {
    background: ButtonText;
    box-shadow:
      inset 0 var(--checkbox-bar-inset) 0 ButtonFace,
      inset 0 calc(-1 * var(--checkbox-bar-inset)) 0 ButtonFace,
      inset var(--checkbox-check-inset) 0 0 ButtonFace,
      inset calc(-1 * var(--checkbox-check-inset)) 0 0 ButtonFace;
  }

  #app-main :where(.product-table, .product-table-controls, .tbl--history) label:has(> input[type="checkbox"]:focus-visible)::before {
    outline-color: Highlight;
  }
}

.product-table-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}

.product-table-detail {
  inline-size: var(--product-table-detail-width);
}

#app-main .product-table-detail-toggle {
  inline-size: var(--full);
  min-block-size: var(--target);
  padding-inline: var(--space-3);
  white-space: normal;
}

.product-table-detail-row[hidden] {
  display: none;
}

.product-table-detail-row p {
  margin-block: var(--zero) var(--space-2);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .product-table {
    display: block;
  }

  .product-table thead {
    display: none;
  }

  .product-table tbody,
  .product-table tr,
  .product-table td {
    display: block;
    inline-size: var(--full);
  }

  .product-table tr {
    padding-block: var(--space-3);
    border-block-end: var(--hairline) solid var(--rule);
  }

  .product-table :where(td, th) {
    border-block-end: 0;
  }

  .product-table td {
    padding-block: var(--space-2);
  }

  .product-table td[data-label] {
    display: grid;
    grid-template-columns:
      minmax(var(--zero), var(--product-table-mobile-label-share))
      minmax(var(--zero), 1fr);
    gap: var(--space-3);
    align-items: start;
  }

  .product-table td[data-label]::before {
    content: attr(data-label);
    color: var(--ink-2);
    font-size: var(--t-14);
    font-weight: var(--weight-strong);
    overflow-wrap: anywhere;
  }

  .product-table-select,
  .product-table-detail {
    display: flex;
    inline-size: var(--full);
  }
}

#app-main ol,
#app-main p {
  max-inline-size: var(--content-max);
}

#app-main ol {
  padding-inline-start: var(--space-5);
}

/* Help: an index of its tasks, then each task as numbered steps (UX review HE3). The index links are the page's pill link in rows, and a
   task a link or an ⓘ opens lands with a little room above it. */
#app-main .help-index {
  margin-block: var(--space-5);
}

#app-main .help-index h2 {
  margin-block-end: var(--space-2);
  color: var(--ink-2);
  font-size: var(--t-18);
}

#app-main .help-index ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--full), 18rem), 1fr));
  gap: var(--space-2);
  margin: var(--zero);
  padding: var(--zero);
  list-style: none;
}

#app-main .help-index a {
  justify-content: flex-start;
  inline-size: var(--full);
  padding-block: var(--space-2);
  border-radius: var(--r-key);
  text-align: start;
}

[data-public-page="help"] #app-main section[id] {
  scroll-margin-block-start: var(--space-4);
}

#app-main .help-steps,
#app-main .help-list {
  margin-block: var(--space-3);
  padding-inline-start: var(--space-5);
}

#app-main .help-steps {
  display: grid;
  gap: var(--space-2);
}

#app-main .help-steps li::marker {
  color: var(--ink-2);
  font-weight: var(--weight-strong);
}

#app-main .help-more {
  display: block;
  color: var(--ink-2);
}

#app-main .help-list li + li {
  margin-block-start: var(--space-1);
}

#app-main .help-note {
  color: var(--ink-2);
}

/* Help's key for a reader who would rather have their agent help (agent-guide): a card above the index, with the words it copies
   shown in full, so they can be read before they are pasted and selected by hand where the browser will not copy them. */
#app-main .help-agent {
  margin-block: var(--space-5);
  padding: var(--space-5);
  border: var(--hairline) solid var(--rule);
  border-radius: var(--r-key);
  background: var(--paper-2);
}

#app-main .help-agent-prompt {
  padding: var(--space-3);
  border-radius: var(--r-key);
  background: var(--paper);
  overflow-wrap: anywhere;
}

#app-main .help-agent-prompt a {
  display: inline;
  min-block-size: auto;
  padding: var(--zero);
  border: none;
  background: none;
  font-weight: inherit;
  text-decoration: underline;
}

#app-main .help-agent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

[data-public-page="help"] #app-main section > h3,
#help-section section > h3 {
  margin-block-start: var(--space-4);
}

/* The signed-out front door (landing-page-production). The design draws no landing page, so '/' stands as the design's
   doc page (design/code/styles/pages.css, .doc-page) under the top bar: one 42rem column on the paper in place of the
   console's card, the doc page's type scale, and its two ways in, each a heading, a sentence and one key. Create an account
   is the page's one primary key; Request an invitation is a link's own quiet key; About is a line of text. Each key's row
   keeps its height while authority is pending, so Create an account arriving moves nothing under it. On a phone the
   heading eases down from 40 px so that its longest word still fits the column when the text is doubled. */
[data-public-page="landing"] #app-main {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  inline-size: min(var(--full), 42rem);
  margin-block: var(--zero);
  padding: var(--s6) var(--s4) var(--s7);
  border: var(--zero);
  border-radius: var(--zero);
  background: transparent;
}

[data-public-page="landing"] #app-main :is(h1, h2, p) {
  margin: var(--zero);
}

[data-public-page="landing"] #app-main > h1 {
  font-size: clamp(var(--t-28), calc(var(--t-16) + 5vw), var(--t-40));
  line-height: 1.1;
  text-wrap: balance;
}

[data-public-page="landing"] #app-main h2 {
  font-size: var(--t-22);
  line-height: var(--leading-tight);
}

[data-public-page="landing"] #app-main p {
  font-size: var(--t-18);
  line-height: 1.5;
}

[data-public-page="landing"] #app-main > .landing-lead {
  font-size: var(--t-22);
  line-height: 1.4;
}

[data-public-page="landing"] #app-main section {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin: var(--s4) var(--zero) var(--zero);
  padding: var(--zero);
  border: var(--zero);
  background: transparent;
}

[data-public-page="landing"] #app-main .landing-key {
  display: flex;
  min-block-size: var(--target);
}

[data-public-page="landing"] #app-main .chrome-action {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

[data-public-page="landing"] #app-main .chrome-action:hover {
  border-color: var(--ink-hover);
  background: var(--ink-hover);
}

[data-public-page="landing"] #app-main > p:last-child {
  margin-block-start: var(--s4);
}

[data-public-page="landing"] #app-main .landing-about {
  display: inline;
  min-block-size: auto;
  padding: var(--zero);
  border: none;
  background: none;
  font-weight: inherit;
  text-decoration: underline;
}

/* About and Help inside the console (operator-reading-views.ts): under the band, in the console's own page, with a live Session running
   behind them. Where there is room, a laptop, they stand as a drawer beside the Room's panes while a Session is on air, so what is being
   said stays in sight; on a phone they take the page and the Room waits behind them. */
#app-main > .reading {
  inline-size: 100%;
  max-inline-size: 56rem;
  margin: 0 auto;
  padding: var(--space-5) var(--s6) var(--s7);
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

#app-main > .reading[hidden] {
  display: none;
}

#app-main > .reading .reading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

#app-main > .reading .reading-head h1 {
  margin: 0;
}

#app-main > .reading .reading-close {
  margin-inline-start: auto;
}

#app-main > .reading h2 {
  margin-block: var(--space-5) var(--space-2);
  font-size: var(--t-18);
}

#app-main > .reading .reading-facts {
  margin: 0;
}

#app-main > .reading .reading-facts > div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-block-end: var(--hairline) solid var(--rule);
}

#app-main > .reading .reading-facts dt {
  color: var(--ink-2);
  font-weight: var(--weight-strong);
}

#app-main > .reading .reading-facts dd {
  margin: 0;
}

#app-main > .reading .reading-note {
  margin-block-start: var(--space-5);
  color: var(--ink-2);
}

@media (max-width: 899px), (max-height: 600px) {
  #app-main:has(> .reading:not([hidden])) > #room-section {
    display: none;
  }
  #app-main > .reading {
    padding-inline: var(--space-4);
  }
  #app-main > .reading .reading-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  /* THE KEY THAT CLOSES THE VIEW STAYS IN THE WINDOW (help-close-key-in-view). A phone's top bar scrolls away and the view is the page, so a
     reader who followed a link to a task far down Help was 2,494 px below Close, the way back to the Room and the Session on air, which
     the owner asked on 2026-10-19 to make clearer: "how to get back to a session that's underway". The head of the view is held under
     the band, on the page's paper so the words pass beneath it, and what a link or the keyboard scrolls to clears it. */
  :root {
    --reading-head-h: calc(var(--target) + var(--space-2) * 2 + var(--hairline));
    --reading-pin-h: var(--band-box-h, var(--band-h));
  }
  /* Enlarged text lets the band flow with the page (below), so nothing is pinned above the head. */
  :root[data-text="200"] {
    --reading-pin-h: 0px;
  }
  @media (max-width: calc((1em - 16.5px) * 1000000)) {
    :root {
      --reading-pin-h: 0px;
    }
  }
  #app-main > .reading .reading-head {
    position: sticky;
    top: var(--reading-pin-h);
    z-index: 1;
    margin-inline: calc(var(--space-4) * -1);
    padding: var(--space-2) var(--space-4);
    background: var(--paper);
    border-block-end: var(--hairline) solid var(--rule);
  }
  html:has(#app-main > .reading:not([hidden])) {
    scroll-padding-top: calc(var(--reading-pin-h) + var(--reading-head-h) + var(--s3));
  }
}

@media (min-width: 900px) and (min-height: 601px) {
  #app-main:has(> .reading:not([hidden])):has(> #room-section:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    align-items: start;
    column-gap: var(--space-5);
    padding-inline: var(--space-5);
    box-sizing: border-box;
  }
  #app-main:has(> .reading:not([hidden])) > #room-section {
    grid-column: 1;
    grid-row: 1;
    min-inline-size: 0;
  }
  #app-main:has(> #room-section:not([hidden])) > .reading:not([hidden]) {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--bars-h) + var(--space-4));
    max-block-size: calc(100vh - var(--bars-h) - var(--s6));
    overflow-y: auto;
    padding-inline: var(--space-4);
    border: var(--hairline) solid var(--rule);
    border-radius: var(--r-card);
    background: var(--paper);
  }
}

#auth-status,
#operator-error,
#room-status,
#test-status,
#session-status,
#session-error,
#admin-message {
  color: var(--ink-2);
}

/* Drawn by the design's key (design/code/dom/key.ts), which puts the label and, while armed, the line under it in spans of
   their own. The line height stays the page's 1.4, not the design's 1.2, under which Atkinson's text stands outside its box. */
#app-main button.key {
  flex-direction: column;
}

#app-main .key :is(.k-label, .k-sub) {
  display: block;
}

#app-main .key .k-sub {
  font-size: var(--t-14);
  font-weight: var(--weight-regular);
}

@media (forced-colors: none) {
  #app-main button.key--armed,
  #app-main #room-actions button.key--armed {
    border-color: var(--final);
    background-color: var(--hatch-1);
    background-image: repeating-linear-gradient(135deg, var(--hatch-1) 0 var(--hatch-band), var(--hatch-2) var(--hatch-band) var(--hatch-period));
    color: var(--hatch-ink);
  }
}

@media (forced-colors: none) and (hover: hover) {
  #app-main button.key--armed:hover,
  #app-main #room-actions button.key--armed:hover {
    background-image: repeating-linear-gradient(135deg, var(--hatch-2) 0 var(--hatch-band), var(--hatch-1) var(--hatch-band) var(--hatch-period));
  }
}

@media (forced-colors: active) {
  html #app-main button.key--armed,
  html #app-main #room-actions button.key--armed {
    forced-color-adjust: none;
    background: Mark;
    color: MarkText;
    border-color: MarkText;
  }
}

.announce-region {
  position: absolute;
  inline-size: var(--hairline);
  block-size: var(--hairline);
  overflow: hidden;
  clip-path: var(--announce-clip);
  white-space: nowrap;
}


/* A name as the operator typed it breaks inside a word only when the word alone is wider than its line, rather than stand out
   of the window. */
#app-main #room-heading {
  overflow-wrap: anywhere;
}

#app-main :is(#output-qr, .configure-output-link .share-qr) svg {
  max-inline-size: var(--full);
  block-size: auto;
}

#app-main #output-link {
  min-inline-size: var(--zero);
  max-inline-size: var(--full);
  overflow-wrap: anywhere;
}

/* An address breaks where join-url-text.ts lets it, and inside a word only when the word alone is wider than its line: after
   its scheme or a "/", ".", ":" or "-", so the Output's code stays whole. */
#app-main #output-link .join-url {
  min-inline-size: var(--zero);
}

.admin-session-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--full), var(--admin-filter-min)), 1fr));
  gap: var(--space-3);
  margin-block: var(--space-3);
}
.admin-session-filters :where(label, input, select) { min-inline-size: 0; max-inline-size: var(--full); }
.admin-session-filters label { display: grid; gap: var(--space-2); }
.admin-session-navigation { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-3); }
.admin-session-diagnostic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2); border-block-end: var(--hairline) solid var(--rule); padding-block: var(--space-2); }
.admin-session-diagnostic :where(dt, dd) { margin: 0; overflow-wrap: anywhere; }
.admin-session-table summary { min-block-size: var(--target); cursor: pointer; overflow-wrap: anywhere; }

/* A compact row (--band-h), with room for warnings only when present. Its rules are ported by selector from the design library with each literal measure
   moved into the tokens below. Numbers keep the words' face and tabular figures. */
:root {
  --band-0-95em: 0.95em;
  --band-1-2em: 1.2em;
  --band-1px: 1px;
  --band-2-6rem: 2.6rem;
  --band-2px: 2px;
  --band-3px: 3px;
  --band-4-2rem: 4.2rem;
  --band-4px: 4px;
  --band-5-2rem: 5.2rem;
  --band-5px: 5px;
  --band-6-5ch: 6.5ch;
  --band-6-5rem: 6.5rem;
  --band-6px: 6px;
  --band-7-5rem: 7.5rem;
  --band-7px: 7px;
  --band-7rem: 7rem;
  --band-8-5rem: 8.5rem;
  --band-8-25rem: 8.25rem;
  --band-8px: 8px;
  --band-8rem: 8rem;
  --band-9rem: 9rem;
  --band-10px: 10px;
  --band-11-25rem: 11.25rem;
  --band-14px: 14px;
  --band-16-5rem: 16.5rem;
  --band-18px: 18px;
  --band-20pct: 20%;
  --band-22px: 22px;
  --band-30px: 30px;
  --band-32px: 32px;
  --band-36px: 36px;
  --band-40pct: 40%;
  --band-44px: 44px;
  --band-48px: 48px;
  --band-50pct: 50%;
  --band-60pct: 60%;
  --band-80pct: 80%;
  --band-100pct: 100%;

  --band-1-1em: 1.1em;
  --band-0-1em: 0.1em;
  --band-icon-drop: -0.15em;
}

:where(.band) :where(button, a) {
  font: inherit;
  color: inherit;
}

:where(.band) :where(button) {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.band :focus-visible {
  outline: var(--focus-ring) solid var(--focus-glass);
  outline-offset: var(--focus-offset);
}

.band .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.band .icon {
  width: var(--band-1-1em);
  height: var(--band-1-1em);
  vertical-align: var(--band-icon-drop);
}

.band .nowrap {
  white-space: nowrap;
}

.band .vh {
  position: absolute;
  inline-size: var(--hairline);
  block-size: var(--hairline);
  overflow: hidden;
  clip-path: var(--announce-clip);
  white-space: nowrap;
}

#room-section .vh {
  position: absolute;
  inline-size: var(--hairline);
  block-size: var(--hairline);
  overflow: hidden;
  clip-path: var(--announce-clip);
  white-space: nowrap;
}

.band .ext::after,
.band-warnings .ext::after {
  content: "\00a0↗";
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

html:has(.band:not([hidden])) {
  scroll-padding-top: calc(var(--bars-h) + var(--s3));
}
/* A phone's band stands in two rows, taller than one, so what must clear it reads the band's own height where the page has written it. */
:root:has(.band:not([hidden])) {
  --bars-h: var(--band-box-h, var(--band-h));
}

/* THE TOP BAR AND THE BAND STAY AT THE TOP of a laptop's or a desktop's window while the page scrolls beneath them, on every page that has
   the band (top-bar-and-band-stay-visible). OWNER, 2026-11-03: "When I scroll down the top nav bar vanishes. The user should always be able
   to see the top nav and on air bars in desktop view." The band pins at the window's top at every width, below; here the top bar pins too
   and the band under it, where the window is 900 px wide and 601 px tall or more (the laptop layout) and the text is not enlarged, since
   enlarged text lets the band flow with the page and its bars would take the window. A phone's top bar scrolls away as it did.
   chrome-bars.ts writes the bars' heights as --chrome-h and --band-box-h, so --bars-h is their sum even where the top bar draws a second row
   or the band a warning; before it has, one row of each is assumed. */
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root:not([data-text="200"]):has(.band:not([hidden])) {
    --bars-h: calc(var(--chrome-h, var(--chrome-bar-h)) + var(--band-box-h, var(--band-h)));
  }
  :root:not([data-text="200"]) body:has(> #on-air-band:not([hidden])) > #product-chrome {
    position: sticky;
    top: 0;
    z-index: 29;
  }
  :root:not([data-text="200"]) body > #on-air-band {
    top: var(--chrome-h, var(--chrome-bar-h));
  }
}

.band {
  position: sticky;
  top: 0;
  z-index: 28;
  background: var(--glass);
  color: var(--glass-ink);
  border-bottom: var(--band-1px) solid var(--glass-rule);
}
@media (forced-colors: none) {
  .band {
    --audio-input-ink: var(--glass-ink);
    --audio-input-paper: var(--glass-2);
    --audio-input-hover: var(--glass-2);
  }
}
.band .rd-input {
  color: var(--audio-input-ink);
  background: var(--audio-input-paper);
  opacity: 1;
}
.band .rd-input .in-name { color: var(--audio-input-ink); }
.band .rd-input[data-blocker] .in-name { color: var(--fail); }
.microphone-help {
  width: min(400px, calc(100% - 32px));
  margin: 12px 16px 16px;
  margin-inline-start: clamp(16px, var(--microphone-help-start, 16px), calc(100% - 416px));
  padding: 16px 18px 18px;
  box-sizing: border-box;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  font-size: 14px;
  line-height: 1.42;
}
.microphone-help[hidden], .microphone-waiting[hidden] { display: none; }
.microphone-help-title { margin: 0 0 10px; font-size: 15px; }
.microphone-help-steps { margin: 0; padding-inline-start: 20px; }
.microphone-help-step + .microphone-help-step { margin-block-start: 6px; }
.microphone-help-system { margin-block: 10px; color: var(--ink-2); font-size: 13px; }
.microphone-help-check {
  min-height: 44px;
  padding-inline: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--r-key);
  background: var(--ink);
  color: var(--paper);
}
.microphone-waiting { margin: 0; padding: 10px 16px; color: var(--glass-ink); font-size: 14px; line-height: 1.4; }
.band-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: var(--band-h);
  padding: var(--band-6px) var(--s6);
}
.rd-state { order: 1; }
.rd-input { order: 2; }
.rd-out { order: 4; }
.rd-clock { order: 5; }
/* The voice out and the clock are one cell where the row is narrow, the clock over the meter: the row keeps its height, the Audio
   Input its name and a warning the middle it had before the voice out was drawn. Side by side from 1440 px, where there is room:
   at 1280 px, in French, the funding warning ran to three lines and the band to 77 px beside it. */
.rd-pair { display: contents; }
@container band (width < 1440px) {
  .rd-pair {
    order: 4;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--band-2px);
  }
  .rd-pair:not(:has(> :not(.rd--blank))) { display: none; }
  .rd-pair > .rd { min-height: 0; }
  .rd-pair > .rd-clock { order: 1; }
  .rd-pair > .rd-out { order: 2; }
}
.rd-aud { order: 6; }
.rd-cost { order: 7; }
.rd-wallet { order: 8; }
.rd {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--band-8px);
  min-height: var(--band-36px);
  white-space: nowrap;
  font-size: var(--t-16);
  color: var(--glass-ink);
}
.rd .lbl {
  color: var(--glass-ink-2);
  font-size: var(--t-14);
}
.rd .num {
  font-weight: 700;
  font-size: var(--t-16);
}
.band .rd--blank { visibility: hidden; }
.band .rd--blank:not(.rd-wallet) {
  display: none;
}
.rd-state {
  min-width: 0;
  font-weight: 700;
}
/* The state's place holds what its longest word needs, so the readings beside it stay where they are from state to state (permanence). */
@media (min-height: 601px) { @container band (width >= 900px) {
  :root:not([data-text="200"]) .band:not(.band--live) .rd-state { flex: 0 1 11rem; min-inline-size: min-content; }
} }
.rd-wallet .num {
  min-width: var(--band-6-5ch);
  text-align: end;
}
:root[dir="rtl"] .rd-wallet .num {
  text-align: left;
}
.rd-clock {
  min-width: var(--band-5-2rem);
}
.rd-aud {
  min-width: 0;
}
.aud-t,
.aud-n {
  display: inline-flex;
  align-items: baseline;
  gap: var(--band-8px);
}
/* The Overlays' active screens, counted after the phones and apart from them (overlay-vs-audience-attendance), stand under the people's
   count at every width, with no dot. The people's slot is the boards' 156 px from 1,280 px up, and on one line "12 waiting · 2 overlays"
   ran over the clock's rule at 1,440 px (24 px in English, 68 in French); the slot keeps its width and the clock does not move. */
.aud-t {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.15;
}
.aw-dot {
  display: none;
}
.aw-ovl {
  font-size: var(--t-14);
}
.rd-cost {
  min-width: 0;
  justify-content: flex-end;
}
.rd-out {
  min-width: 0;
  color: var(--glass-ink-2);
}
.rd-cost--charged .num {
  color: var(--glass-ink);
}
.rd-cost .cicon {
  display: none;
  color: var(--glass-ink-2);
}
.rd-input {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 32vw;
  min-height: var(--target);
  padding: 0 var(--s3);
  border: var(--band-1px) solid var(--glass-rule);
  border-radius: var(--r-pill);
  background: var(--glass-2);
  cursor: pointer;
}
@media (hover: hover) {
  .rd-input:hover {
    border-color: var(--glass-ink-2);
  }
}
.rd-input .sub {
  color: var(--glass-ink-2);
  font-size: var(--t-14);
}
.rd-input--silent {
  border-color: var(--attn);
}
.rd-input--silent .sub {
  color: var(--attn);
}
.rd-input--lost {
  border-color: var(--fail);
}
.rd-input--lost .sub {
  color: var(--fail);
}
.rd-wallet {
  min-height: var(--target);
  padding: 0 var(--band-6px) 0 var(--s3);
  border: var(--band-1px) solid var(--glass-rule);
  border-radius: var(--r-pill);
  background: var(--glass-2);
  cursor: pointer;
  text-decoration: none;
}
@media (hover: hover) {
  .rd-wallet:hover {
    border-color: var(--glass-ink-2);
  }
}
.rd-wallet .wicon {
  display: none;
  color: var(--glass-ink-2);
}
.rd-wallet .plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--band-4px);
  min-width: var(--band-32px);
  height: var(--band-32px);
  padding: 0 var(--band-10px);
  border-radius: var(--r-pill);
  background: var(--glass-ink);
  color: var(--glass);
  font-weight: 700;
  font-size: var(--t-14);
  line-height: 1;
}
.rd-wallet .plus > span:first-child {
  display: none;
  font-size: var(--t-18);
}
@container band (width < 1440px) {
  .rd-wallet .plus > span:first-child {
    display: inline;
  }
  .rd-wallet .plus-w {
    display: none;
  }
  .rd-wallet .plus {
    padding: 0;
  }
}
.rd-wallet--critical,
.rd-wallet--empty {
  border-color: var(--fail);
}
.rd-wallet--critical .num,
.rd-wallet--empty .num {
  color: var(--fail);
}
/* A wallet that refuses Start, or is projected to run out before the meeting ends, is red to its Add funds key (X21; canon
   4.3, money). */
.rd-wallet--critical .plus,
.rd-wallet--empty .plus {
  background: var(--fail);
  color: var(--glass);
}
/* The Add funds key answers a press its empty wallet refused, as design/code/styles/react.css draws a blocker's reaction: one
   bounce, or under reduced motion a flash (canon 4.7). Two names for one movement, so a press while it moves starts it again. */
@keyframes react-bounce-a {
  0%,
  100% {
    transform: none;
  }
  30% {
    transform: translateY(calc(-1 * var(--m-drop)));
  }
  60% {
    transform: none;
  }
  80% {
    transform: translateY(calc(-0.5 * var(--m-drop)));
  }
}
@keyframes react-bounce-b {
  0%,
  100% {
    transform: none;
  }
  30% {
    transform: translateY(calc(-1 * var(--m-drop)));
  }
  60% {
    transform: none;
  }
  80% {
    transform: translateY(calc(-0.5 * var(--m-drop)));
  }
}
@keyframes react-flash-a {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.2;
  }
}
@keyframes react-flash-b {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.2;
  }
}
.reacts {
  animation: react-bounce-a 420ms var(--m-ease);
}
.reacts-again {
  animation: react-bounce-b 420ms var(--m-ease);
}
@media (prefers-reduced-motion: reduce) {
  .reacts {
    animation: react-flash-a 640ms linear;
  }
  .reacts-again {
    animation: react-flash-b 640ms linear;
  }
}
.lamp {
  position: relative;
  display: inline-block;
  width: var(--band-14px);
  height: var(--band-14px);
  border-radius: var(--band-50pct);
  border: var(--band-2px) solid var(--glass-dim);
  background: transparent;
  flex: none;
}
.lamp--open {
  background: var(--open-lamp);
  border-color: var(--open-lamp);
}
.lamp--live {
  background: var(--live);
  border-color: var(--live);
  box-shadow: 0 0 0 var(--band-4px) var(--live-halo);
}
.lamp--paused,
.lamp--attn {
  background: var(--attn);
  border-color: var(--attn);
}
.lamp--fail {
  background: var(--fail);
  border-color: var(--fail);
}
.lamp--pending {
  border-color: var(--glass-ink);
  border-inline-end-color: transparent;
  animation: spin var(--m-spin) linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lamp--pending {
    animation: none;
  }
}
.meter {
  display: inline-flex;
  align-items: flex-end;
  gap: var(--band-2px);
  height: var(--band-18px);
  flex: none;
}
.meter i {
  display: block;
  width: var(--band-4px);
  border-radius: var(--band-1px);
  background: transparent;
  box-shadow: inset 0 0 0 var(--band-1px) var(--glass-dim);
}
.meter i:nth-child(1) {
  height: var(--band-20pct);
}
.meter i:nth-child(2) {
  height: var(--band-40pct);
}
.meter i:nth-child(3) {
  height: var(--band-60pct);
}
.meter i:nth-child(4) {
  height: var(--band-80pct);
}
.meter i:nth-child(5) {
  height: var(--band-100pct);
}
.meter[data-lit="1"] i:nth-child(-n + 1),
.meter[data-lit="2"] i:nth-child(-n + 2),
.meter[data-lit="3"] i:nth-child(-n + 3),
.meter[data-lit="4"] i:nth-child(-n + 4),
.meter[data-lit="5"] i:nth-child(-n + 5) {
  background: var(--glass-ink);
  box-shadow: none;
}
:root[data-onair="1"] .band .meter[data-lit="1"] i:nth-child(-n + 1),
:root[data-onair="1"] .band .meter[data-lit="2"] i:nth-child(-n + 2),
:root[data-onair="1"] .band .meter[data-lit="3"] i:nth-child(-n + 3),
:root[data-onair="1"] .band .meter[data-lit="4"] i:nth-child(-n + 4),
:root[data-onair="1"] .band .meter[data-lit="5"] i:nth-child(-n + 5) {
  background: var(--live);
}
.meter--flat i {
  box-shadow: inset 0 0 0 var(--band-1px) var(--attn);
}
.meter--lost i {
  box-shadow: inset 0 0 0 var(--band-1px) var(--fail);
}
/* A meter on paper, as the design library draws one (frame.css): the Audio Input menu's level beside each source. */
.meter--paper i {
  box-shadow: inset 0 0 0 var(--band-1px) var(--pencil-line);
}
.meter--paper[data-lit="1"] i:nth-child(-n + 1),
.meter--paper[data-lit="2"] i:nth-child(-n + 2),
.meter--paper[data-lit="3"] i:nth-child(-n + 3),
.meter--paper[data-lit="4"] i:nth-child(-n + 4),
.meter--paper[data-lit="5"] i:nth-child(-n + 5) {
  background: var(--ink);
  box-shadow: none;
}
.band-warn {
  order: 3;
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}
/* A PROBLEM IS SAID ONE WAY (problems-said-one-way). OWNER, 2026-11-10: "red on black text". The band's warning is its words on the band's
   black, with no box, no border and no mark: red for a failure or money, the design language's amber for a warning that is neither. */
.warn {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  min-height: var(--band-36px);
  color: var(--attn);
  font-size: var(--t-16);
  line-height: 1.25;
}
.warn .w-text {
  flex: 1 1 auto;
  min-width: 0;
}
.warn--fail {
  color: var(--fail);
}
/* The reading a warning is about takes its colour while it shows (band.ts names it). */
.band .rd--warned {
  --audio-input-ink: var(--attn);
  color: var(--attn);
}
.band .rd--warned-fail {
  --audio-input-ink: var(--fail);
  color: var(--fail);
}
.band .rd--warned .lbl {
  color: inherit;
}
.band-gap {
  display: none;
}
/* A WARNING HAS A ROW OF ITS OWN under the readings at every width, as a phone's had (problems-said-one-way). OWNER, 2026-11-10, of the
   boards that draw it so: "Your design is better than the old one". With nothing wrong a laptop's band is one row of 57 px, its middle
   empty, and no row is held in reserve; the readings' row keeps that height while a warning shows, so nothing in it moves. The warning
   starts under the reading it is about (band.ts measures where, as --warn-at) and slides back only as far as it must to stay inside
   the window: under the Wallet it ends at the band's end. The console's column gives the panes' height to the taller band. */
@media (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width >= 900px) {
  :root:not([data-text="200"]) .band-gap {
    display: block;
    order: 3;
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    min-height: calc(var(--band-h) - 2 * var(--band-6px));
  }
  :root:not([data-text="200"]) .band:not(.band--warned) .band-warn { display: none; }
  :root:not([data-text="200"]) .band--warned .band-row { flex-wrap: wrap; row-gap: 0; }
  :root:not([data-text="200"]) .band--warned .band-warn {
    order: 9;
    flex: 1 1 100%;
    min-height: calc(var(--band-h) - 2 * var(--band-6px));
  }
  :root:not([data-text="200"]) .band-warn::before {
    content: "";
    flex: 0 1 var(--warn-at, 0px);
    min-width: 0;
  }
  :root:not([data-text="200"]) .band-warn > .warn {
    flex: 0 0 auto;
    max-width: 100%;
  }
  /* Under the Wallet, the last reading, the warning ends where the Wallet ends. */
  :root:not([data-text="200"]) .band-warn[data-about="wallet"]::before {
    flex-grow: 1;
  }
} }
/* Money's arrow, which points up at the band's own Add funds: band.ts measures how far before the warning's end that key's middle is. */
.warn .w-up {
  flex: none;
  margin-inline-end: var(--warn-up, 0px);
  font-weight: 700;
}
.warn .w-more {
  flex: none;
  padding: 0 var(--band-7px);
  border: var(--band-1px) solid currentColor;
  border-radius: var(--r-pill);
  font-size: var(--t-12);
  font-weight: 700;
}
.warn .w-act,
.band-warn > .w-act {
  flex: none;
  min-height: var(--band-36px);
  padding: 0 var(--s3);
  border: var(--band-1px) solid var(--glass-ink);
  border-radius: var(--band-8px);
  background: var(--glass-ink);
  color: var(--glass);
  font-weight: 700;
  font-size: var(--t-14);
  white-space: nowrap;
}
@container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  .band-row {
    flex-wrap: wrap;
    column-gap: var(--s2);
    row-gap: var(--s2);
    padding-inline: var(--s3);
  }
  .band .rd, .band .rd .num { font-size: var(--t-14); gap: var(--band-5px); }
  /* A long state word ("N’a pas pu démarrer") wraps to a second line rather than leave the Audio Input no room for its name. */
  .band .rd-state { flex: none; max-width: 7rem; white-space: normal; line-height: 1.15; }
  :root:not([data-text="200"]) .band:not(.band--live, .band--warned) .rd-state { min-inline-size: 5.8rem; }
  .band .rd-input {
    flex: 1 1 0;
    max-width: none;
    padding-inline: var(--s2);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: var(--band-5px);
    row-gap: 0;
    align-content: center;
  }
  .band .rd-input > svg { grid-area: 1 / 1 / 3 / 2; }
  .band .rd-input .in-name { grid-area: 1 / 2; }
  .band .rd-input .in-chev { grid-area: 1 / 3; }
  /* Clipped as the name is, so a named input's "not listening" never widens a phone's page at large text (default-mic-shown-missing). */
  .band .rd-input .sub { grid-area: 2 / 2 / 3 / 4; font-size: var(--t-12); text-align: start; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .band .rd-input .meter { grid-area: 2 / 2 / 3 / 4; }
  .band .rd-input:has(.meter) .sub { display: none; }
  .band .rd-wallet { margin-inline-start: auto; max-width: 100%; }
  .band .rd-wallet .num { min-width: 0; white-space: normal; }
  .band .rd-wallet .lbl { font-size: var(--t-12); }
  .band .rd-wallet .plus { min-width: var(--band-30px); height: var(--band-30px); padding: 0; }
  .band .rd-wallet .wicon, .band .rd-wallet .plus-w { display: none; }
  .band .rd-clock { min-width: 0; }
  .band .rd-aud { min-width: 0; }
  .band--live .st-word, .band .rd-aud .aw, .band .rd-out .lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .band-warn { display: none; }
  .band--warned .band-warn {
    display: flex;
    order: 9;
    flex: 1 1 100%;
  }
  .band .warn { width: 100%; min-height: var(--band-44px); height: auto; gap: var(--s2); font-size: var(--t-14); }
}
/* THE AUDIO INPUT KEEPS ITS ROOM WHEN IT IS WITHDRAWN FROM A LIVE MEETING (design-spec 4.2, principle 1: nothing moves unless its state
   changed). The console names the browser's default microphone until the browser says it cannot open it, and a refusal that comes after
   the live band's first paint blanks the Audio Input once the voice out and the clock have taken their places after it. A phone's row
   has them stand right after it, so with its room gone they slid left by its width. Blank it is unseen, but it stays in the row and
   takes the room it took, as the Wallet's room is kept before its first read. Enlarged text lets the row flow, where no room is kept. */
@media (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  :root:not([data-text="200"]) .band--live .rd-input.rd--blank { display: grid; }
} }
/* No Audio Input blocks Open, Test and Start (RM1, X21). The console's setup line says so, red, wherever it shows; a phone's Start
   console hides that card, both when fitted to one window and when several Outputs flow down the page. The band draws its Audio
   Input instead: red, the microphone struck through, opening the same menu. Its words, for which a 390 px row has no room beside
   the state and the Wallet, are its name. It keeps the row's height; a laptop's band leaves it blank. */
@container band (width < 900px) {
  :root.has-start-console .band .rd-input.rd--blank[data-blocker] {
    display: grid;
    flex: none;
    visibility: visible;
    border-color: var(--fail);
    color: var(--fail);
  }
  :root.has-start-console .band .rd-input[data-blocker]:not(.rd-input--said) .in-name { display: none; }
  :root.has-start-console .band .rd-input--said[data-blocker] { color: var(--fail); }
  :root.has-start-console .band .rd-input[data-blocker] .in-chev { color: var(--fail); }
  :root.has-start-console .band .rd-input[data-blocker] > svg {
    background: linear-gradient(to top right, transparent calc(var(--band-50pct) - var(--band-1px)), currentColor calc(var(--band-50pct) - var(--band-1px)),
      currentColor calc(var(--band-50pct) + var(--band-1px)), transparent calc(var(--band-50pct) + var(--band-1px)));
  }
}
@media (min-height: 601px) { @container band (900px <= width < 1280px) {
  .band-row { column-gap: var(--s2); padding-inline: var(--s4); }
  .band .rd-state { max-width: 8rem; white-space: normal; line-height: 1.15; }
  .band .rd-input { max-width: 24vw; }
  .band .rd-out .lbl, .band .rd-aud .aw { display: none; }
  .band .warn { font-size: var(--t-14); }
} }
/* The band flows with the page, positioned in its place so that the messages still hang from it. */
:root[data-text="200"] .band {
  position: relative;
}
:root[data-text="200"] .band-row {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  min-height: 0;
  gap: var(--s2) var(--s3);
  padding: var(--s2) var(--s4);
}
:root[data-text="200"] .rd {
  flex: 0 1 auto;
  min-width: 0;
  max-width: var(--band-100pct);
  white-space: normal;
}
:root[data-text="200"] .band-warn {
  flex-basis: var(--band-100pct);
  height: auto;
}
:root[data-text="200"] .band--warned .rd-out,
:root[data-text="200"] .band--warned .rd-cost {
  display: inline-flex;
}
:root[data-text="200"] .warn {
  height: auto;
  flex-wrap: wrap;
  padding: var(--s1) var(--s2);
}
/* The largest balance the Wallet can be told, USD 90,071,992,547,409.91, is wider than a phone at 32 px; it breaks after a
   digit group (band.ts draws a <wbr> there) rather than leave its reading or the window. */
:root[data-text="200"] .band .rd-wallet .num {
  white-space: normal;
  overflow-wrap: anywhere;
}
/* The state word takes the face's own line at 200 % text so its letters stay inside its reading (at 1.1 they stood 3 px out of
   it at 1024 px). The band flows with the page here, so nothing keeps a fixed height. */
:root[data-text="200"] .band .rd-state {
  line-height: var(--leading-tight);
}
@media (max-width: calc((1em - 16.5px) * 1000000)) {
  :root:not([data-text="200"]) .band {
    position: relative;
  }
  :root:not([data-text="200"]) .band-row {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    gap: var(--s2) var(--s3);
    padding: var(--s2) var(--s4);
  }
  :root:not([data-text="200"]) .rd {
    flex: 0 1 auto;
    min-width: 0;
    max-width: var(--band-100pct);
    white-space: normal;
  }
  :root:not([data-text="200"]) .band-warn {
    flex-basis: var(--band-100pct);
    height: auto;
  }
  :root:not([data-text="200"]) .band--warned .rd-out,
  :root:not([data-text="200"]) .band--warned .rd-cost {
    display: inline-flex;
  }
  :root:not([data-text="200"]) .warn {
    height: auto;
    flex-wrap: wrap;
    padding: var(--s1) var(--s2);
  }
  :root:not([data-text="200"]) .band .rd-wallet .num {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  :root:not([data-text="200"]) .band .rd-state {
    line-height: var(--leading-tight);
  }
}
.st-word {
  display: inline;
}
.warn .w-more {
  display: inline-grid;
  place-items: center;
  min-width: var(--band-36px);
  min-height: var(--band-36px);
  padding: 0 var(--band-8px);
  border: var(--band-1px) solid var(--glass-ink-2);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--glass-ink);
  font-size: var(--t-14);
  font-weight: 700;
  cursor: pointer;
}
@media (hover: hover) {
  .warn .w-more:hover {
    border-color: var(--glass-ink);
    background: var(--glass-2);
  }
}
@container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  .warn .w-more {
    min-width: var(--band-44px);
    min-height: var(--band-44px);
  }
}
.band-warn > .w-more {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: var(--band-36px);
  min-height: var(--band-36px);
  padding: 0 var(--band-8px);
  border: var(--band-1px) solid var(--glass-ink-2);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--glass-ink);
  font-size: var(--t-14);
  font-weight: 700;
}
@container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  .band-warn > .w-more {
    min-width: var(--band-44px);
    min-height: var(--band-44px);
  }
}
@media (pointer: coarse) and (min-height: 601px) { @container band (width >= 900px) {
  :root .warn {
    padding-block: 0;
  }
  :root .warn .w-act,
  :root .band-warn > .w-act {
    min-height: var(--target);
  }
  :root .warn .w-more,
  :root .band-warn > .w-more {
    min-width: var(--target);
    min-height: var(--target);
  }
} }
/* The warnings list "+N" opens: every warning, most urgent first, each with its own action (the design reference's
   pop--warns). A modal dialog, so it sits over the page and leaves the band's own height alone. */
.band-warnings {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 2 * var(--s4)));
  max-height: min(70vh, 640px);
  overflow: auto;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  font: inherit;
}
.band-warnings::backdrop {
  background: var(--scrim);
}
.band-warnings .pop-box {
  padding: var(--s4);
}
.band-warnings :focus-visible {
  outline: var(--focus-ring) solid var(--focus);
  outline-offset: var(--focus-offset);
}
.band-warnings button {
  margin: 0;
  font: inherit;
  cursor: pointer;
}
.band-warnings .pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s3);
}
.band-warnings .pop-head h2 {
  margin: 0;
  font-size: var(--t-18);
}
/* The heading takes focus when the list opens, so a screen reader starts there; it is not a control, so it draws no ring. */
.band-warnings .pop-head h2:focus {
  outline: none;
}
.band-warnings .x {
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  width: var(--target);
  height: var(--target);
  border-radius: 10px;
  font-size: var(--t-22);
  color: var(--ink-2);
}
@media (hover: hover) {
  .band-warnings .x:hover {
    background: var(--paper-3);
  }
}
.band-warnings .pop-p {
  margin: var(--s2) 0 var(--s3);
  color: var(--ink-2);
  font-size: var(--t-16);
}
.band-warnings .wlist {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin: var(--s2) 0 0;
  padding: 0;
  list-style: none;
}
.band-warnings .wl {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  border: 2px solid var(--attn-ink);
  border-radius: 10px;
}
.band-warnings .wl--fail {
  border-color: var(--fail-ink);
}
.band-warnings .wl .w-mark {
  display: inline-grid;
  place-items: center;
  width: max(22px, 1.2em);
  height: max(22px, 1.2em);
  border-radius: 50%;
  background: var(--attn-ink);
  color: var(--paper-2);
  font-weight: 700;
  font-size: var(--t-14);
}
.band-warnings .wl--fail .w-mark {
  background: var(--fail-ink);
}
.band-warnings .wl-text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.band-warnings .wl-first {
  color: var(--ink-2);
  font-size: var(--t-14);
}
.band-warnings .wl-act {
  min-height: var(--target);
  padding: 0 var(--s3);
  border: 1px solid var(--ink);
  border-radius: var(--r-key);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: var(--t-14);
  white-space: nowrap;
}
/* On a phone a warning's action goes under its words, which keep the width. */
@media (max-width: 899px) {
  .band-warnings .wl {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .band-warnings .wl-act {
    grid-column: 2;
    justify-self: start;
  }
}
.rd-input .in-chev {
  display: inline-flex;
  flex: none;
  margin-inline-start: -3px;
  color: var(--glass-ink-2);
}
@media (min-height: 601px) { @container band (1280px <= width < 1440px) {
  .rd-input {
    gap: var(--band-6px);
    padding-inline: var(--s2);
  }
} }
.rd-input .in-chev .icon {
  width: var(--band-0-95em);
  height: var(--band-0-95em);
}
.band .rd-input .in-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: start;
}
.band .rd-input .sub { flex: none; }
.band .rd-wallet .num {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
}
/* Each reading's room, an invisible copy of its longest ordinary form laid out under it, as each tab lays out its label. The
   Wallet's holds a typical balance before its first read. */
.band .rd-wallet .num::after,
.band .rd-clock .num::after,
.band .rd-cost .num::after {
  content: attr(data-room) / "";
  height: 0;
  overflow: hidden;
  visibility: hidden;
  white-space: pre;
}
.band .rd-clock .num {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
}
@container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  .band .rd-clock {
    min-height: var(--band-44px);
  }
  .band .rd-clock .num {
    text-align: end;
  }
  :root[dir="rtl"] .band .rd-clock .num {
    text-align: left;
  }
}
@container band (width < 430px) {
  .band .rd-wallet {
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: var(--band-6px);
    row-gap: 0;
    align-content: center;
    justify-items: end;
  }
  .band .rd-wallet .lbl {
    grid-area: 1 / 1;
    line-height: 1.15;
  }
  .band .rd-wallet .num {
    grid-area: 2 / 1;
    line-height: 1.15;
  }
  .band .rd-wallet .plus {
    grid-area: 1 / 2 / 3 / 3;
    align-self: center;
  }
}
/* At 390 px the state, the Audio Input, the audience and the Wallet share a row of 366 px, and with a count in it the Audio Input was
   left 59 px in French: a letter of its name, or its glyph clipped (console-audio-input-pill-at-390). The audience stacks its icon over its
   count, as the voice out stacks over the clock; the cells stand 6 px apart; the state's second line (below) is as small as the Audio Input's
   own; and the pill never narrows below its glyph and its chevron, which only its name gives way to. */
@container band (width < 430px) {
  .band-row { column-gap: var(--band-6px); }
  .band .rd-aud {
    flex-direction: column;
    justify-content: center;
    gap: var(--band-2px);
  }
  .band .rd-input { min-width: min-content; }
}
/* At 360 px the same row, with the Room open and a count in it, left the Audio Input 18 px of name in English and 14 in French, and
   at four digits in French sent the Wallet to a second row (console-audio-input-pill-at-360). Nothing is dropped; two marks move.
   The pill's glyph stands beside its second line, the status or the level, where it stood beside the name, so the name has the pill's
   width less its chevron; and the Wallet's plus stands on its label's line, smaller, so the amount has the Wallet's width. */
@container band (width < 390px) {
  .band .rd-input:has(.sub, .meter) > svg { grid-area: 2 / 1; align-self: center; }
  .band .rd-input:has(.sub, .meter) .in-name { grid-area: 1 / 1 / 2 / 3; }
  .band .rd-wallet .lbl { justify-self: start; align-self: center; }
  .band .rd-wallet .num { grid-area: 2 / 1 / 3 / 3; }
  .band .rd-wallet .plus { grid-area: 1 / 2; min-width: var(--band-22px); width: var(--band-22px); height: var(--band-22px); }
}
.band .rd-cost .num::after {
  display: none;
}
@media (min-height: 601px) { @container band (width >= 900px) {
  .band .rd-cost .num {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    text-align: end;
  }
  :root[dir="rtl"] .band .rd-cost .num {
    text-align: left;
  }
  .band .rd-cost .num::after {
    display: block;
  }
} }

.band .st-until {
  margin-inline-start: var(--band-0-1em);
  color: var(--glass-ink-2);
  font-size: var(--t-14);
  font-weight: 400;
  white-space: nowrap;
}

/* Joining is a temporary state the operator needs to read, including on a phone whose calm live word is only a lamp. */
@container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  .band--joining .st-word { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  /* The full join message stays in each Output's header; it must not push the Wallet onto a second band row. */
  .band--joining .st-until { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
/* The readable startup word needs the room the narrow-phone Wallet already yields: its amount spans both columns and its
   plus shares the label's row. All readings remain present, including the Administrator's longer Wallet label. */
@media (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width < 430px) {
  :root:not([data-text="200"]) .band--joining .rd-wallet .lbl { justify-self: start; align-self: center; white-space: normal; max-inline-size: min-content; line-height: 1; }
  :root:not([data-text="200"]) .band--joining .rd-wallet .num { grid-area: 2 / 1 / 3 / 3; }
  :root:not([data-text="200"]) .band--joining .rd-wallet .plus { grid-area: 1 / 2; min-width: var(--band-22px); width: var(--band-22px); height: var(--band-22px); }
} }

@container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  .band .st-until {
    display: block;
    margin-inline-start: 0;
  }
}
@container band (width < 430px) {
  .band .st-until { font-size: var(--t-12); }
}

/* THE BAND'S FIVE READINGS (console-reading-start), as boards 1.1 to 1.9 draw them: the state with its deadline, the microphone with its
   level, the people, the clock, and the Wallet with Add funds, always in that order. Each holds a slot of its own, so nothing moves when
   the state changes, and a blank reading leaves its slot empty. On a laptop the slots are the boards' at 1,280 px: the state 270 px, the
   people 156, the clock 122, the Wallet 244 and the microphone the rest, with a rule before each reading after the state. A phone takes two
   rows: the state, the people and the clock, then the microphone, the Wallet and Add funds. A problem keeps its own row under them, and
   its words and colours stay what they were. The voice going out and the cost are not readings the boards draw.
   THE BAND'S ROWS FOLLOW THE BAND'S OWN WIDTH, never the window's: its rules ask the band (a container named band), so a page zoomed
   with CSS, where the media queries still read the window, lays a band of 720 px in a phone's rows and not in the laptop's slots of
   about 840 px that left the Audio Input and the Wallet out of view. A phone is a band under 900 px wide, or any band in a window
   600 px tall or less, which the second half of each phone query reads from the window's height as the media queries did. */
#on-air-band {
  container: band / inline-size;
  --band-13px: 0.8125rem;
  --band-28px: 28px;
  --band-40px: 40px;
  --band-100px: 100px;
  --band-105px: 105px;
  --band-122px: 122px;
  --band-130px: 130px;
  --band-156px: 156px;
  --band-200px: 200px;
  --band-220px: 220px;
  --band-244px: 244px;
  --band-270px: 270px;
  --band-rule: linear-gradient(var(--glass-rule), var(--glass-rule));
}
#on-air-band :is(.rd-out, .rd-cost) { display: none; }
/* The voice going out has no reading on the boards. Its problem, when the voice is not reaching listeners, keeps today's drawing:
   its speaker and hollow level, in the band. */
#on-air-band .rd-out:not(.rd--blank):has(.meter--flat) { display: inline-flex; }
#on-air-band .rd-pair { display: contents; }
#on-air-band .rd-state {
  display: flex;
  align-items: center;
  gap: var(--band-10px);
  min-width: 0;
  max-width: none;
  white-space: nowrap;
  line-height: 1;
}
#on-air-band .st-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: var(--band-7px);
  height: var(--band-28px);
  padding: 0 var(--s3);
  border: var(--band-1px) solid var(--glass-dim);
  border-radius: var(--r-pill);
  font-size: var(--t-14);
  font-weight: 700;
}
#on-air-band .st-pill .st-word { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
#on-air-band .st-pill .lamp { width: var(--band-8px); height: var(--band-8px); border-width: 0; box-shadow: none; }
#on-air-band .st-pill .lamp--pending { width: var(--band-10px); height: var(--band-10px); border-width: var(--band-2px); }
/* Open, Off air and Ended stand without a lamp, as the boards draw them; the lamp stays where it carries a colour or a turn. */
#on-air-band .st-pill .lamp:not(.lamp--pending, .lamp--live, .lamp--attn, .lamp--paused, .lamp--fail) { display: none; }
/* Live and Paused are the two readings the boards fill (1.4 and 1.5, console.css .pill.live and .pill.paused): green says live and amber says
 * paused, the pill's outline takes the fill, and its words and its dot take the ink laid on that colour, 4.5 : 1 or better in both themes.
 * Every other reading stays an outline. */
#on-air-band .st-pill:has(.lamp--live) { border-color: var(--live); background: var(--live); color: var(--lit-ink); }
#on-air-band .st-pill:has(.lamp--paused) { border-color: var(--attn); background: var(--attn); color: var(--attn-lit-ink); }
#on-air-band .st-pill:has(:is(.lamp--live, .lamp--paused)) .lamp { background: currentColor; }
#on-air-band .rd-state > .st-until {
  position: static;
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  clip-path: none;
  text-overflow: ellipsis;
  color: var(--glass-ink-2);
  font-size: var(--band-13px);
  font-weight: 400;
}
#on-air-band :is(.rd-input, .rd-aud, .rd-clock, .rd-wallet) {
  min-height: var(--target);
  min-width: 0;
  max-width: none;
  gap: var(--band-8px);
  padding: 0 var(--band-18px);
  background-color: transparent;
  background-image: var(--band-rule);
  background-repeat: no-repeat;
  background-size: var(--band-1px) var(--band-32px);
  background-position: left center;
  font-size: var(--t-14);
}
:root[dir="rtl"] #on-air-band :is(.rd-input, .rd-aud, .rd-clock, .rd-wallet) { background-position: right center; }
#on-air-band :is(.rd-input, .rd-aud, .rd-clock, .rd-wallet) .num { font-size: var(--t-14); font-weight: 600; }
/* The microphone reads as the boards draw it, and still opens the Audio Input menu when pressed until the input card chooses it. */
#on-air-band .rd-input {
  display: flex;
  justify-content: flex-start;
  border-color: transparent;
  border-radius: 0;
}
@media (hover: hover) {
  #on-air-band .rd-input:hover { background-color: var(--glass-2); }
}
#on-air-band .rd-input.rd-input--silent { border-color: var(--attn); }
#on-air-band .rd-input.rd-input--lost { border-color: var(--fail); }
#on-air-band .rd-input .in-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
#on-air-band .rd-input:not([data-blocker]) .in-chev { display: none; }
#on-air-band .rd-input .sub { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#on-air-band .rd-input .sub:empty { display: none; }
#on-air-band .meter--12 { height: var(--band-14px); align-items: stretch; }
#on-air-band .meter--12 i { width: var(--band-5px); height: auto; }
/* The shell draws the level's place before the console knows whether an Audio Input is chosen, and shows it once one is. */
#on-air-band .rd-input.rd--blank .meter { visibility: hidden; }
/* The boards' level: each step a solid bar, the steps not reached dim. A silent or lost input keeps its coloured outline. */
#on-air-band .meter--12:not(.meter--flat, .meter--lost) i { background: var(--glass-dim); box-shadow: none; }
#on-air-band .meter--12[data-lit="1"] i:nth-child(-n + 1),
#on-air-band .meter--12[data-lit="2"] i:nth-child(-n + 2),
#on-air-band .meter--12[data-lit="3"] i:nth-child(-n + 3),
#on-air-band .meter--12[data-lit="4"] i:nth-child(-n + 4),
#on-air-band .meter--12[data-lit="5"] i:nth-child(-n + 5),
#on-air-band .meter--12[data-lit="6"] i:nth-child(-n + 6),
#on-air-band .meter--12[data-lit="7"] i:nth-child(-n + 7),
#on-air-band .meter--12[data-lit="8"] i:nth-child(-n + 8),
#on-air-band .meter--12[data-lit="9"] i:nth-child(-n + 9),
#on-air-band .meter--12[data-lit="10"] i:nth-child(-n + 10),
#on-air-band .meter--12[data-lit="11"] i:nth-child(-n + 11),
#on-air-band .meter--12[data-lit="12"] i:nth-child(-n + 12) {
  background: var(--glass-ink);
  box-shadow: none;
}
:root[data-onair="1"] #on-air-band .meter--12[data-lit="1"] i:nth-child(-n + 1),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="2"] i:nth-child(-n + 2),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="3"] i:nth-child(-n + 3),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="4"] i:nth-child(-n + 4),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="5"] i:nth-child(-n + 5),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="6"] i:nth-child(-n + 6),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="7"] i:nth-child(-n + 7),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="8"] i:nth-child(-n + 8),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="9"] i:nth-child(-n + 9),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="10"] i:nth-child(-n + 10),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="11"] i:nth-child(-n + 11),
:root[data-onair="1"] #on-air-band .meter--12[data-lit="12"] i:nth-child(-n + 12) {
  background: var(--live);
}
#on-air-band .icon { flex: none; }
#on-air-band .rd-aud .aw {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  color: var(--glass-ink-2);
  font-size: var(--band-13px);
}
#on-air-band .rd-clock { justify-content: flex-start; }
#on-air-band .rd-wallet {
  justify-content: flex-end;
  padding-inline-end: 0;
  border-color: transparent;
}
#on-air-band :is(.rd-wallet--critical, .rd-wallet--empty) { border-color: var(--fail); }
#on-air-band .rd-wallet .plus {
  min-width: 0;
  width: auto;
  height: var(--band-30px);
  padding: 0 var(--s3);
  border: var(--band-1px) solid var(--glass-dim);
  border-radius: var(--band-8px);
  background: transparent;
  color: var(--glass-ink);
  font-size: var(--band-13px);
  font-weight: 600;
}
#on-air-band :is(.rd-wallet--critical, .rd-wallet--empty) .plus { border-color: var(--fail); background: var(--fail); color: var(--glass); }
#on-air-band .rd-wallet .plus-s { display: none; }
/* The microphone's reading has a phone's word as the Wallet's chip does (bandMicrophone): "No mic yet" where "No microphone yet" would be cut. */
#on-air-band .rd-input .in-name-s { display: none; }
/* At the normal text size the Wallet reads as the boards draw it: its icon, the amount on one line and an "Add funds" chip. Enlarged
   text keeps the narrower Wallet of before, its amount free to wrap and a "+" key, so that nothing leaves a phone's width. */
@media (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root:not([data-text="200"]) #on-air-band .rd-wallet .wicon { display: inline-flex; }
  /* The Wallet's word stays where it says whose it is (Admin); elsewhere its icon names it. */
  :root:not([data-text="200"]) #on-air-band .rd-wallet:not(.rd-wallet--own) .lbl { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .num { min-width: 0; white-space: nowrap; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus > span:first-child { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus-w { display: inline; }
}
@media (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width >= 900px) {
  :root:not([data-text="200"]) #on-air-band .band-row {
    display: grid;
    grid-template-columns: var(--band-270px) minmax(0, 1fr) var(--band-156px) var(--band-122px) minmax(var(--band-244px), max-content);
    grid-template-rows: var(--band-h);
    grid-auto-rows: auto;
    align-items: center;
    gap: 0;
    min-height: var(--band-h);
    padding: 0 var(--s5);
  }
  :root:not([data-text="200"]) #on-air-band .rd-state { grid-area: 1 / 1; }
  /* The microphone is as wide as its name and level, from its slot's start; the voice going out, while it has a problem to show,
     stands at the slot's end. */
  :root:not([data-text="200"]) #on-air-band .rd-input { grid-area: 1 / 2; justify-self: start; max-width: 100%; }
  :root:not([data-text="200"]) #on-air-band .rd-out { grid-area: 1 / 2; justify-self: end; align-self: center; }
  :root:not([data-text="200"]) #on-air-band .band-row:has(.rd-out:not(.rd--blank) .meter--flat) .rd-input { max-width: calc(100% - var(--band-100px)); }
  :root:not([data-text="200"]) #on-air-band .rd-aud { grid-area: 1 / 3; }
  :root:not([data-text="200"]) #on-air-band .rd-clock { grid-area: 1 / 4; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet { grid-area: 1 / 5; }
  :root:not([data-text="200"]) #on-air-band .band-gap { display: none; }
  :root:not([data-text="200"]) #on-air-band .band-warn { grid-area: 2 / 1 / 3 / -1; }
} }
@media (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (900px <= width < 1280px) {
  :root:not([data-text="200"]) #on-air-band .band-row {
    grid-template-columns: var(--band-200px) minmax(0, 1fr) var(--band-130px) var(--band-122px) minmax(var(--band-220px), max-content);
  }
} }
@media (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  :root:not([data-text="200"]) #on-air-band .band-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--band-8px);
    row-gap: 0;
    padding: var(--band-8px) var(--band-14px);
  }
  :root:not([data-text="200"]) #on-air-band .rd-state { order: 1; flex: 1 1 0; min-width: 0; min-height: var(--band-32px); }
  /* The longest state words (a failure's) wrap inside their pill, so the people and the clock keep the first row. */
  :root:not([data-text="200"]) #on-air-band .st-pill { min-width: 0; height: auto; min-height: var(--band-28px); white-space: normal; }
  :root:not([data-text="200"]) #on-air-band .rd-aud { order: 2; flex: none; padding-inline: var(--band-8px) 0; background-image: none; }
  :root:not([data-text="200"]) #on-air-band .rd-clock { order: 3; flex: none; padding-inline: var(--band-8px) 0; background-size: var(--band-1px) var(--band-18px); }
  :root:not([data-text="200"]) #on-air-band .band-gap { display: block; order: 4; flex: 0 0 100%; height: 0; }
  :root:not([data-text="200"]) #on-air-band .rd-input { order: 5; flex: 1 1 0; padding-inline: 0 var(--band-8px); background-image: none; }
  :root:not([data-text="200"]) #on-air-band .rd-out { order: 5; flex: none; }
  /* The Wallet gives way only when the text is enlarged: its chip's words then wrap rather than leave the phone's width. */
  :root:not([data-text="200"]) #on-air-band .rd-wallet { order: 6; flex: 0 1 auto; min-width: 0; margin-inline-start: 0; padding-inline-start: 0; background-image: none; }
  :root:not([data-text="200"]) #on-air-band .band-warn { order: 7; }
  :root:not([data-text="200"]) #on-air-band :is(.rd-aud, .rd-clock, .rd-state) { min-height: var(--band-32px); }
  /* The people's word stays with screen readers on a phone, as before: in French "en attente" would push the clock off the first
     row or cut the room's deadline. */
  :root:not([data-text="200"]) #on-air-band .rd-aud .aw { display: none; }
  :root:not([data-text="200"]) #on-air-band .meter--12 i { width: var(--band-4px); }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus { height: auto; min-height: var(--band-40px); padding: 0 var(--band-10px); white-space: normal; text-align: center; }
  /* The chip says its phone word, shorter where a language has one ("Ajouter", boards 1.7 and 3.5), so the Audio Input beside it
     keeps the start of its name at 360 px in every language. The link's accessible name keeps the whole act. */
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus-w { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus-s { display: inline; }
  :root:not([data-text="200"]) #on-air-band .rd-input .in-name-w { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-input .in-name-s { display: inline; }
  /* The readings stand in their rows as the phone boards draw them, each its icon and its words side by side. */
  :root:not([data-text="200"]) #on-air-band :is(.rd-aud, .rd-wallet) { display: inline-flex; flex-direction: row; align-items: center; gap: var(--band-6px); }
  :root:not([data-text="200"]) #on-air-band .rd-wallet > * { grid-area: auto; }
  /* Half the steps, each standing for two, so the name keeps its room beside the Wallet. */
  :root:not([data-text="200"]) #on-air-band .meter--12 i:nth-child(even) { display: none; }
  /* The join's words stay in each Output's header on a phone, as they did. */
  :root:not([data-text="200"]) #on-air-band.band--joining .rd-state > .st-until {
    position: absolute;
    width: var(--band-1px);
    height: var(--band-1px);
    overflow: hidden;
    clip-path: inset(50%);
  }
} }
/* WHERE THE BAND IS NARROWER THAN 1,024 PX the Audio Input keeps the start of its name beside the Wallet. Admin's Wallet word took its
   room: the name kept 0 px at 320 and 900 px and 24 at 390. The Wallet shows its amount and its key without its word, which stays in
   the reading's accessible name. A laptop's row under 1,024 px also draws the level in half its steps, each standing for two, Add funds
   in its short word, and the level without the Audio Input's second line, as a phone's row does, since without the Admin word the name
   still kept 13 px at 900 px live, and none in French; that line kept 8 px there, and its words stay in the accessible name. Under
   360 px the Wallet's icon gives way too, and the Audio Input's end space, which the row's gap keeps. */
@media (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width < 1024px) {
  :root:not([data-text="200"]) #on-air-band .rd-wallet--own .lbl { display: none; }
} }
@media (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (900px <= width < 1024px) {
  :root:not([data-text="200"]) #on-air-band .meter--12 i:nth-child(even) { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-input:has(.meter) .sub { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus-w { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-wallet .plus-s { display: inline; }
} }
@media (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width < 360px) {
  :root:not([data-text="200"]) #on-air-band .rd-wallet .wicon { display: none; }
  :root:not([data-text="200"]) #on-air-band .rd-input { padding-inline-end: 0; }
} }
/* In a phone's rows the Audio Input is never narrower than its glyph, 40 px of its name and its level: where the Wallet leaves less,
   it takes a row of its own under them. At 390 px zoomed twice the band is 195 px wide, and the French Wallet without its icon left
   the Audio Input no room at all. */
@media (not (max-width: calc((1em - 16.5px) * 1000000))) { @container band (width < 900px) or (width < calc((601px - 100vh) * 1000000)) {
  :root:not([data-text="200"]) #on-air-band .rd-input:not(.rd--blank) { min-inline-size: var(--band-105px); }
  /* A microphone state says its whole name above its level in the phone's grid. The level's own line leaves the words room beside
     the Wallet, including its unread place at cold start; a device keeps its inline level and deliberately ellipsized name. */
  :root:not([data-text="200"]) #on-air-band .rd-input.rd-input--said { display: grid; min-inline-size: max-content; row-gap: 0; }
} }

/* The words' column may narrow below its longest word, so in the narrowest zoomed window the close key stays in the toast. The
   console sets --msgs-drop through the CSSOM when the region's place would cover a step key, End or a caption. */
:root {
  --msgs-drop: 0px;
  --msgs-52px: 52px;
  --msgs-420px: 420px;
  --msgs-100vw: 100vw;
  --msgs-line: 1.3;
}

.msgs {
  position: absolute;
  top: calc(var(--band-100pct) + var(--band-8px) + var(--msgs-drop));
  inset-inline: 0;
  margin-inline: auto;
  z-index: 24;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  width: min(var(--msgs-420px), calc(var(--msgs-100vw) - 2 * var(--s5)));
  pointer-events: none;
}

/* At 200 % text the band flows with the page; while it is scrolled out of view the message hangs from the top of the window
   instead, centred, until the band is back. */
.msgs[data-hang="window"] {
  position: fixed;
  top: calc(var(--band-8px) + var(--msgs-drop));
}

.toast {
  position: relative;
  display: grid;
  /* The close key's column grows with its glyph at 200 % text, never under 44 px (see .t-x). */
  grid-template-columns: var(--band-44px) minmax(0, 1fr) auto minmax(var(--band-44px), auto);
  align-items: center;
  min-height: var(--msgs-52px);
  border: var(--band-2px) solid var(--ink);
  border-radius: var(--r-card);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  pointer-events: auto;
  animation: toast-in var(--m-in) var(--m-ease) both;
}

.toast .t-mark {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-inline-end: var(--band-1px) solid var(--rule);
  font-weight: 700;
  font-size: var(--t-18);
}

/* The confirmation's tick is ink: green means Live and nothing else. */
.toast--ok .t-mark {
  color: var(--ink);
}

.toast--note .t-mark {
  color: var(--ink-2);
}

.toast--err {
  border-color: var(--attn-ink);
}

.toast--err .t-mark {
  background: var(--attn-wash);
  color: var(--attn-ink);
  border-inline-end-color: var(--attn-ink);
}

.toast .t-text {
  margin: 0;
  padding: var(--s2) var(--s3);
  font-size: var(--t-16);
  line-height: var(--msgs-line);
  overflow-wrap: anywhere;
}

.toast .t-act {
  margin-inline-end: var(--band-4px);
}

/* The close key grows with its glyph, never under 44 px: at 200 % text its "x" is as large as a fixed 44 px key and stood 7 px
   out of it. Its line is the face's own (--leading-tight), so the glyph stays inside the key. */
.toast .t-x {
  display: grid;
  place-items: center;
  min-width: var(--band-44px);
  min-height: var(--band-44px);
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: var(--t-22);
  line-height: var(--leading-tight);
}

.band .toast :focus-visible {
  outline-color: var(--focus);
}

.toast .t-drain {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: var(--band-4px);
  background: var(--paper-3);
}

.toast .t-drain i {
  display: block;
  height: var(--band-100pct);
  width: calc(var(--v, 1) * var(--band-100pct));
  background: var(--ink-2);
}

.toast .t-count {
  margin-inline-start: var(--band-6px);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  unicode-bidi: plaintext;
}

/* A message drops by --m-drop as it fades in, and leaves the same way backwards. Nothing may animate the toast's ::before or
   ::after: an animationend on either names the toast as its target, and the message region reads that as the toast's own. */
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(calc(-1 * var(--m-drop)));
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(calc(-1 * var(--m-drop)));
  }
}

/* Under reduced motion the drain is hidden, and a still word says the message leaves by itself. */
.toast .t-leaves {
  display: none;
}

.toast--settled {
  animation: none;
}

/* A message that goes leaves first, over --m-out, and comes off the page when that ends. This rule follows .toast--settled,
   which it must beat, since a message that has settled is the one that leaves. */
.toast--leaving {
  animation: toast-out var(--m-out) var(--m-ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast--leaving {
    animation-duration: var(--m-fade);
  }
  .toast .t-drain {
    display: none;
  }
  .toast .t-leaves {
    display: block;
    margin-top: var(--band-2px);
    color: var(--ink-2);
    font-size: var(--t-12);
  }
}

@media (max-width: 899px), (max-height: 600px) {
  .msgs {
    inset-inline: var(--s4);
    width: auto;
  }
}

:root[data-text="200"] .msgs {
  width: calc(var(--band-100pct) - 2 * var(--s4));
}

@media (max-width: calc((1em - 16.5px) * 1000000)) {
  :root:not([data-text="200"]) .msgs {
    width: calc(var(--band-100pct) - 2 * var(--s4));
  }
}

/* Forced colours: the drain stays drawn, in the system colours the band's meters use. */
@media (forced-colors: active) {
  .toast .t-drain i {
    forced-color-adjust: none;
    background: ButtonText;
  }
}

@media (forced-colors: active) {
  .band .meter i,
  .meter--paper i,
  .band .lamp,
  #next-step .lamp {
    forced-color-adjust: none;
    box-shadow: none;
    border: var(--band-1px) solid ButtonText;
    background: ButtonFace;
  }

  .band .meter[data-lit="1"] i:nth-child(-n + 1),
  .band .meter[data-lit="2"] i:nth-child(-n + 2),
  .band .meter[data-lit="3"] i:nth-child(-n + 3),
  .band .meter[data-lit="4"] i:nth-child(-n + 4),
  .band .meter[data-lit="5"] i:nth-child(-n + 5),
  .meter--paper[data-lit="1"] i:nth-child(-n + 1),
  .meter--paper[data-lit="2"] i:nth-child(-n + 2),
  .meter--paper[data-lit="3"] i:nth-child(-n + 3),
  .meter--paper[data-lit="4"] i:nth-child(-n + 4),
  .meter--paper[data-lit="5"] i:nth-child(-n + 5),
  .band :is(.lamp--open, .lamp--live, .lamp--paused, .lamp--attn, .lamp--fail),
  #next-step :is(.lamp--open, .lamp--live, .lamp--paused, .lamp--attn, .lamp--fail) {
    background: ButtonText;
  }
}

/* Every measure of the sign's page is a share of its own width, so the preview and the printed page are one drawing at two
   sizes. Its type stays in pixels, so at 200 % text the preview remains a picture drawn to scale. */
:root {
  --sign-pop-max: 860px;
  --sign-pop-edge: 32px;
  --sign-viewport: 100vw;
  --sign-pop-max-block: 94vh;
  --sign-pop-cap: 1100px;
  --sign-pop-top: 3vh;
  --sign-pop-radius: 16px;
  --sign-side-min: 15rem;
  --sign-preview-share: 1.4fr;
  --sign-field-min: 15rem;
  --sign-paper-min: 5.5rem;
  --sign-preview-max: 420px;
  --sign-radius: 12px;
  --sign-ratio-a4: 210 / 297;
  --sign-ratio-letter: 216 / 279;
  --sign-gap: 3cqw;
  --sign-pad: 8cqw 7cqw;
  --sign-print-pad: 10cqw 9cqw;
  --sign-print-height: 100vh;
  --sign-lines-gap: 1.8cqw;
  --sign-qr: 46cqw;
  --sign-type-title: max(18px, 8.5cqw);
  --sign-type-line: max(12px, 4.3cqw);
  --sign-type-link: max(12px, 5.4cqw);
  --sign-type-fine: max(12px, 3.8cqw);
  --sign-title-leading: 1.1;
  --sign-line-leading: 1.25;
}

.sign-pop {
  inline-size: min(var(--sign-pop-max), calc(var(--sign-viewport) - var(--sign-pop-edge)));
  max-inline-size: none;
  max-block-size: min(var(--sign-pop-max-block), var(--sign-pop-cap));
  margin-block: var(--sign-pop-top) auto;
  padding: var(--space-4);
  border: var(--seg-border) solid var(--ink);
  border-radius: var(--sign-pop-radius);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  overflow: auto;
}

.sign-pop::backdrop {
  background: var(--scrim);
}

/* The Room's QR drawn large (output-qr-pop.ts): framed as the sign is, narrower on a laptop, and the same sheet from the foot of a
   phone. */
.qr-pop {
  inline-size: min(34rem, calc(var(--sign-viewport) - var(--sign-pop-edge)));
  max-inline-size: none;
  max-block-size: min(var(--sign-pop-max-block), var(--sign-pop-cap));
  margin: auto;
  padding: var(--space-4);
  border: var(--seg-border) solid var(--ink);
  border-radius: var(--sign-pop-radius);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  overflow: auto;
}

.qr-pop::backdrop {
  background: var(--scrim);
}

.qr-pop-image {
  display: block;
  inline-size: min(var(--full), 30rem, calc(100dvh - 9rem));
  aspect-ratio: 1;
  margin-inline: auto;
  /* However far it is scaled, its modules keep square edges. */
  image-rendering: pixelated;
}

@media (max-width: 899px), (max-height: 600px) {
  .sign-pop, .qr-pop {
    inset-block: auto var(--zero);
    inset-inline: var(--zero);
    inline-size: auto;
    max-block-size: var(--menu-sheet-max);
    margin: var(--zero);
    border-width: var(--seg-border) var(--zero) var(--zero);
    border-radius: var(--menu-sheet-radius) var(--menu-sheet-radius) var(--zero) var(--zero);
    padding-block-end: calc(var(--space-5) + env(safe-area-inset-bottom));
  }
}

.sign-pop-head, .qr-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-block-end: var(--space-3);
}

.sign-pop-heading, .qr-pop-heading {
  margin: var(--zero);
  font-size: var(--t-18);
  font-weight: var(--weight-strong);
  line-height: var(--leading-tight);
}

.sign-pop-close, .qr-pop-close {
  display: grid;
  flex: none;
  place-items: center;
  min-inline-size: var(--target);
  min-block-size: var(--target);
  padding: var(--zero);
  border: var(--zero);
  border-radius: var(--menu-item-radius);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: var(--t-22);
  line-height: var(--leading-tight);
}

@media (hover: hover) {
  .sign-pop-close:hover, .qr-pop-close:hover {
    background: var(--paper-3);
  }
}

.sign-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) and (min-height: 601px) {
  .sign-grid {
    grid-template-columns: minmax(var(--sign-side-min), 1fr) minmax(var(--zero), var(--sign-preview-share));
    align-items: start;
  }
}

.sign-ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-3) var(--space-5);
  margin-block-start: var(--space-2);
}

.sg-field,
.sg-paper {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-inline-size: var(--zero);
}

.sg-field {
  flex: 1 1 var(--sign-field-min);
}

.sign-pop .fld-l {
  color: var(--ink-2);
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
}

.sg-field input {
  inline-size: var(--full);
  min-block-size: var(--target);
  padding-inline: var(--space-3);
  border: var(--seg-border) solid var(--ink);
  border-radius: var(--r-key);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--t-16);
  font-weight: var(--weight-strong);
}

.sign-pop .seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: var(--seg-border) solid var(--ink);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--paper-2);
}

.sign-pop .seg button {
  min-block-size: var(--target);
  min-inline-size: var(--sign-paper-min);
  padding: var(--zero) var(--space-3);
  border: var(--zero);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
}

.sign-pop .seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

@media (forced-colors: active) {
  .sign-pop .seg button {
    forced-color-adjust: none;
    background: ButtonFace;
    color: ButtonText;
  }

  .sign-pop .seg button[aria-pressed="true"] {
    background: Highlight;
    color: HighlightText;
  }
}

.sign-keys {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-start: var(--space-3);
}

.sign-pop .sign-print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: var(--full);
  min-block-size: var(--target);
  padding-inline: var(--space-4);
  border: var(--hairline) solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper-2);
  font: inherit;
  font-weight: var(--weight-strong);
  overflow-wrap: anywhere;
}

@media (hover: hover) {
  .sign-pop .sign-print:hover {
    background: var(--ink-hover);
  }
}

.sign-wrap {
  display: grid;
  place-items: center;
  padding: var(--space-4);
  border-radius: var(--sign-radius);
  background: var(--paper-3);
}

.sign {
  container-type: inline-size;
  inline-size: min(var(--full), var(--sign-preview-max));
  background: var(--sign-paper);
  color: var(--sign-ink);
  text-align: center;
  box-shadow: var(--shadow-1);
}

.sign--a4 {
  aspect-ratio: var(--sign-ratio-a4);
}

.sign--letter {
  aspect-ratio: var(--sign-ratio-letter);
}

.sg-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sign-gap);
  block-size: var(--full);
  padding: var(--sign-pad);
  overflow: hidden;
}

.sg-title {
  max-inline-size: var(--full);
  margin: var(--zero);
  font-size: var(--sign-type-title);
  font-weight: var(--weight-strong);
  line-height: var(--sign-title-leading);
  overflow-wrap: anywhere;
}

.sg-lines,
.sg-fines {
  display: flex;
  flex-direction: column;
  gap: var(--sign-lines-gap);
}

.sg-line {
  margin: var(--zero);
  font-size: var(--sign-type-line);
  font-weight: var(--weight-strong);
  line-height: var(--sign-line-leading);
}

.sg-qr svg.qr {
  display: block;
  inline-size: var(--sign-qr);
  block-size: var(--sign-qr);
}

.sg-link {
  max-inline-size: var(--full);
  margin: var(--zero);
  font-size: var(--sign-type-link);
  font-weight: var(--weight-strong);
  line-height: var(--sign-line-leading);
}

.sg-fine {
  margin: var(--zero);
  font-size: var(--sign-type-fine);
  line-height: var(--sign-line-leading);
}

/* Printing with the sign open: only the sign, the whole page, on the paper chosen. Every other thing on the screen is left
   out, and the page's size comes from the paper's named page. */
@page sign-a4 {
  size: A4;
  margin: 0;
}

@page sign-letter {
  size: letter;
  margin: 0;
}

@media print {
  :root[data-sheet="sign"],
  :root[data-sheet="sign"] body {
    background: var(--sign-paper);
  }

  :root[data-sheet="sign"] body > :not(.sign-pop),
  :root[data-sheet="sign"] :is(.sign-pop-head, .sign-side) {
    display: none !important;
  }

  :root[data-sheet="sign"] body {
    overflow: visible;
  }

  /* Open, the pop stands in the top layer, where a box is placed against the page itself: its corner and its whole width,
     which the sign's own width is a share of (a box that holds a size container has no width of its own). */
  :root[data-sheet="sign"] .sign-pop {
    position: absolute;
    inset: var(--zero) auto auto var(--zero);
    inline-size: var(--full);
    max-inline-size: none;
    max-block-size: none;
    margin: var(--zero);
    padding: var(--zero);
    border: var(--zero);
    border-radius: var(--zero);
    box-shadow: none;
    overflow: visible;
    background: var(--sign-paper);
  }

  :root[data-sheet="sign"] .sign-pop::backdrop {
    background: transparent;
  }

  :root[data-sheet="sign"] .sign-grid {
    display: block;
  }

  :root[data-sheet="sign"] .sign-wrap {
    display: block;
    padding: var(--zero);
    border-radius: var(--zero);
    background: var(--sign-paper);
  }

  :root[data-sheet="sign"] .sign {
    inline-size: var(--full);
    block-size: var(--sign-print-height);
    aspect-ratio: auto;
    box-shadow: none;
    break-inside: avoid;
  }

  :root[data-sheet="sign"] .sg-page {
    padding: var(--sign-print-pad);
  }

  :root[data-sheet="sign"][data-sign-paper="a4"] :is(body, .sign) {
    page: sign-a4;
  }

  :root[data-sheet="sign"][data-sign-paper="letter"] :is(body, .sign) {
    page: sign-letter;
  }
}

/* The Room's frame, which the Room Screen and Configure the room share (boards 1.1, 3.3 and 3.7 of 2026-11-10; the boards' own
   console.css names them .room, .rhead, .ey, .rname, .link, .rbody, .card, .in, .ohead, .row and .wire). A head 30 px tall; 10 px
   under it the Room's card, 400 px wide, then the wire in 44 px, then the Outputs' column, which takes the rest. A card is as tall
   as its rows. Places and sizes are the boards'; the colours are the product's tokens. A phone stacks the two, the Room's first.
   Each part is named under .room-frame, so it wins over the .manage sheet's own :where() rules for buttons and links. */
.room-frame {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 24px 16px;
}

.room-frame .room-head {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  min-block-size: 30px;
}

.room-frame .room-head-eyebrow {
  margin: 0;
  color: var(--pencil);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.room-frame .room-head-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
}

/* The pencil is the boards' 36 px key, drawn on the 44 px floor for a target: the 8 px more go into the margins, so the head
   stays 30 px tall and the pencil's middle stays where the board puts it. */
.room-frame .room-head-pen {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  inline-size: var(--target);
  block-size: var(--target);
  margin: -7px -4px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--pencil);
}

.room-frame .room-head-pen svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.room-frame .room-head-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-block-size: var(--target);
  margin-block: -7px;
  margin-inline-start: auto;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.room-frame .room-head-back svg {
  inline-size: 16px;
  block-size: 16px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[dir="rtl"] .room-frame .room-head-back svg {
  transform: scaleX(-1);
}

.room-frame .room-body {
  flex: none;
  display: flex;
  align-items: flex-start;
}

.room-frame .room-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-2);
}

.room-frame .room-card--in {
  flex: none;
  inline-size: 400px;
}

.room-frame .room-column {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-inline-size: 0;
}

.room-frame .room-card-head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  min-block-size: 54px;
  padding: 0 14px 0 16px;
  border-block-end: 1px solid var(--rule);
}

.room-frame .room-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: 50px;
  padding: 0 14px 0 16px;
  border-block-end: 1px solid var(--rule);
}

.room-frame .room-row:last-child {
  border-block-end: 0;
}

.room-frame .room-wire {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: center;
  inline-size: 44px;
  padding-block-start: 15px;
}

.room-frame .room-wire svg {
  inline-size: 44px;
  block-size: 24px;
  fill: none;
  stroke: var(--pencil-line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 6;
}

:root[dir="rtl"] .room-frame .room-wire svg {
  transform: scaleX(-1);
}

@media (max-width: 899px), (max-height: 600px) {
  .room-frame {
    padding: 12px 12px 16px;
  }

  .room-frame .room-head-name {
    font-size: 17px;
  }

  .room-frame .room-body {
    flex-direction: column;
    align-items: stretch;
  }

  .room-frame .room-card--in {
    inline-size: auto;
  }

  .room-frame .room-row {
    min-block-size: 44px;
    padding: 0 10px 0 12px;
  }

  .room-frame .room-card-head {
    min-block-size: 50px;
    padding: 0 10px 0 12px;
    gap: 8px;
  }

  .room-frame .room-wire {
    inline-size: auto;
    block-size: 16px;
    padding: 0;
  }

  .room-frame .room-wire svg {
    inline-size: 24px;
    block-size: 16px;
  }
}

/* Configure's empty error and hidden authorization keys have no row. Their paragraph margins otherwise collapse into a 16 px gap
   before the frame, beyond the bars that its window-sized minimum subtracts. A visible error or authorization key keeps its spacing. */
:root.has-configure-dock #app-main > #operator-error:empty,
:root.has-configure-dock #app-main > p:has(> #retry-authorization[hidden]):has(> #sign-out[hidden]) {
  margin-block: 0;
}

/* Configure: the dock at its foot */
/* Boards 3.3, 3.7 and 3.9: on a laptop the Room Screen's one dock, its line over the four keys, stands across the window at Configure's foot, in Simple and
   Advanced (operator-console-view.ts moves it here; operator-console.css draws it as on the Room Screen). The page is at least the window's height under the
   bars, so the dock of a short Configure stands at the window's foot; a taller page scrolls between the band and the dock, which stays there (board 3.8). */
:root.has-configure-dock #configure-section {
  box-sizing: border-box;
  min-block-size: calc(100dvh - var(--bars-h));
}

:root.has-configure-dock #configure-section > #console-dock {
  margin: auto -24px -16px;
}

/* What the browser scrolls into view, a focused row or a pressed one, stops above the dock rather than behind it. */
:root.has-configure-dock {
  scroll-padding-block-end: 9rem;
}

/* The announce regions stand a hairline each after Configure, so at the end of a taller page's scroll they lifted the dock by that hairline. */
:root.has-configure-dock .announce-region {
  inset-block-start: 0;
}

/* Configure: the Room's card rows */
/* Board 3.3: each of the Room's settings is one row, its name in a column as wide as the longest name on this card with its ⓘ (--configure-name-w,
   measured by operator-configure-room.ts in whatever language and text size the page is drawn), its control after it, and a control that no longer
   fits wraps under its name. A switch row is the switch, track first, then what follows it. A hairline between the three groups. The visible boxes
   are the board's (a picker 34 px tall, a stepper 134 by 34); each press still reaches 44 px. */
#configure-section #configure-settings .configure-room-card > .configure-group {
  display: block;
  padding: 0;
  border-block-end: 0;
}

#configure-section #configure-settings .configure-room-card > .configure-group + .configure-group {
  margin-block-start: -1px;
  border-block-start: 1px solid var(--rule);
}

#configure-section #configure-settings .configure-room-card .configure-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  box-sizing: border-box;
  min-block-size: 48px;
  padding: 7px 14px 7px 16px;
}

#configure-section #configure-settings .configure-room-card .configure-row--first {
  min-block-size: 54px;
}

#configure-section #configure-settings .configure-room-card .configure-row--switch {
  padding-block: 2px;
}

#configure-section #configure-settings .configure-room-card :is(.configure-row, #configure-spoken, #configure-est-covers)[hidden],
#configure-section #configure-settings .configure-room-card #configure-est-covers:empty,
#configure-section #configure-settings .configure-room-card #configure-spoken-list:empty {
  display: none;
}

#configure-section #configure-settings .configure-room-card .configure-row > * {
  flex: 0 1 auto;
  min-inline-size: 0;
  max-inline-size: 100%;
}

#configure-section #configure-settings .configure-room-card .configure-row-name {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  column-gap: 1px;
  inline-size: max-content;
  min-inline-size: var(--configure-name-w, 0px);
  max-inline-size: 100%;
  margin: 0;
  color: var(--pencil);
  font-size: 0.8125rem;
  font-weight: 400;
}

#configure-section #configure-settings .configure-room-card .configure-row-name h2 {
  display: block;
  margin: 0;
  color: inherit;
  font: inherit;
  overflow-wrap: anywhere;
}

#configure-section #configure-settings .configure-room-card .configure-row .info-key {
  margin-inline: -10px;
}

#configure-section #configure-settings .configure-room-card .configure-row--switch > :not(button, .configure-beta-mark) .info-key {
  margin-inline-start: -16px;
}

/* The Audio Input's and the Input Language's pickers. */
#configure-section #configure-settings .configure-room-card :is(#configure-input-value, #configure-inlang-value) {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  inline-size: auto;
  max-inline-size: 100%;
  min-block-size: 2.125rem;
  padding: 0 9px;
  border: 1px solid var(--pencil-line);
  border-radius: 8px;
  font-size: var(--t-14);
  font-weight: 600;
  line-height: 1.2;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* The Audio Input's chooser stands beside its name, after the column, whenever the space there holds 8em, a ten-letter word with the chooser's
   edges: a longer value then wraps inside it between words, as "Bloqué par ce navigateur" does. With less, as at 200 % text, where every row's
   control goes under its name, it goes under its name too, as wide as its value or the row. The basis only decides where it stands: it grows to
   its whole value and no wider, so a short value keeps the chooser as narrow as its words. */
#configure-section #configure-settings .configure-room-card #configure-input-value {
  flex: 1 1 min(100%, 8em);
  max-inline-size: max-content;
}

#configure-section #configure-settings .configure-room-card #configure-inlang-value {
  background: var(--paper-2);
  color: var(--ink);
}

#configure-section #configure-settings .configure-room-card :is(#configure-input-value, #configure-inlang-value, .configure-stepper button, .configure-spoken-remove)::before {
  content: "";
  position: absolute;
  inset: min(0px, calc((100% - var(--target)) / 2)) 0;
}

/* Before the browser is asked the row holds the key "Microphone not active" where a name would be, with no chevron (board 2.15). */
#configure-section #configure-settings .configure-room-card #configure-input-value[data-microphone="not-asked"]::after { content: none; }
#configure-section #configure-settings .configure-room-card #configure-input-value::after {
  content: "";
  flex: none;
  inline-size: 0.4em;
  block-size: 0.4em;
  margin-block-start: -0.2em;
  margin-inline-start: 2px;
  border-inline-end: 1.5px solid var(--pencil);
  border-block-end: 1.5px solid var(--pencil);
  transform: rotate(45deg);
}

/* Planned length and Expected audience: the board's stepper, its two keys on either side of the value. */
#configure-section #configure-settings .configure-room-card .configure-stepper {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
  block-size: 2.125rem;
  padding: 0;
  border: 1px solid var(--pencil-line);
  border-radius: 8px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#configure-section #configure-settings .configure-room-card .configure-stepper-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  box-sizing: border-box;
  min-inline-size: 4.25rem;
  padding: 0 8px;
  border-inline: 1px solid var(--pencil-line);
  font-size: var(--t-14);
  white-space: nowrap;
}

#configure-section #configure-settings .configure-room-card .configure-stepper button {
  position: relative;
  inline-size: 2rem;
  min-inline-size: 2rem;
  block-size: 2rem;
  min-block-size: 2rem;
  padding: 0;
  border-radius: 7px;
  font-size: 1.0625rem;
  font-weight: 600;
}

#configure-section #configure-settings .configure-room-card .configure-stepper button::before {
  inset: -6px;
}

#configure-section #configure-settings .configure-room-card .configure-row-value {
  margin: 0;
  font-size: var(--t-14);
  font-weight: 600;
}

#configure-section #configure-settings .configure-room-card #configure-est-covers {
  margin: 0;
  padding: 0 14px 10px 16px;
}

/* Other languages and original words, and Audience diagnostics: the track first, then the name, at the board's size. */
#configure-section #configure-settings .configure-room-card .configure-row--switch > button {
  flex-direction: row;
  gap: 7px;
  min-block-size: var(--target);
  margin-inline-start: -1px;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

#configure-section #configure-settings .configure-room-card .configure-row--switch > button .sw-track {
  order: -1;
  inline-size: 36px;
  block-size: 20px;
  border-radius: 10px;
}

#configure-section #configure-settings .configure-room-card .configure-row--switch > button .sw-knob {
  inline-size: 12px;
  block-size: 12px;
}

#configure-section #configure-settings .configure-room-card .configure-beta-mark {
  padding: 1px 6px;
  border: 1px solid var(--pencil-line);
  border-radius: 5px;
  color: var(--ink-2);
  font-size: var(--t-12);
  font-weight: 700;
}

/* While the Beta setting is on, its languages stand under the switch's name as chips, each with its ×, then + Add a language (board 3.7). */
#configure-section #configure-settings .configure-room-card #configure-spoken {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0 14px 12px 59px;
}

#configure-section #configure-settings .configure-room-card #configure-spoken-label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#configure-section #configure-settings .configure-room-card #configure-spoken-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#configure-section #configure-settings .configure-room-card .configure-spoken-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-sizing: border-box;
  block-size: 30px;
  padding: 0 3px 0 10px;
  border: 1px solid var(--pencil-line);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}

#configure-section #configure-settings .configure-room-card .configure-spoken-name {
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

#configure-section #configure-settings .configure-room-card .configure-spoken-remove {
  position: relative;
  display: inline-grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--pencil);
  cursor: pointer;
}

#configure-section #configure-settings .configure-room-card .configure-spoken-remove::before {
  inset: -10px;
}

#configure-section #configure-settings .configure-room-card .configure-spoken-remove svg {
  inline-size: 14px;
  block-size: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

#configure-section #configure-settings .configure-room-card #configure-add-spoken {
  position: relative;
  min-block-size: 30px;
  padding: 0 9px;
  border: 1px solid var(--pencil-line);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}

#configure-section #configure-settings .configure-room-card #configure-add-spoken::before {
  content: "";
  position: absolute;
  inset: -7px 0;
}

/* Advanced's silence setting keeps today's form, inside the estimate's group under its rows. */
#configure-section #configure-settings .configure-room-card #configure-silence-ending {
  margin: 0;
  padding: 0 14px 12px 16px;
}

/* Configure the room is the Room's frame above, opened up (board 3.3): the section keeps .manage for its settings' own rules, and
   gives back the manage frame's grid, width and margins. Its controls keep their present form until their rows are built. */
#configure-section {
  --configure-dash: 2px;
}

#configure-section.room-frame {
  display: flex;
  align-items: stretch;
  max-width: none;
  margin: 0;
  padding: 14px 24px 16px;
}

@media (max-width: 899px), (max-height: 600px) {
  #configure-section.room-frame {
    padding: var(--s3) var(--s4) var(--s6);
  }
}

#configure-settings[hidden] {
  display: none;
}

#configure-status:empty {
  display: none;
}

/* The save under way is said in the head, before the way back, where it takes no room. As a row of its own above the cards it pushed every card down
   by its height for the length of each save, and back after it; scroll anchoring hid that once the page was scrolled, so with the page at its top
   the cards moved though nothing in them had changed (design language 4.2, rule 1). A refusal or a failed read stays a row, under the head's line,
   with its Reload: it is a state, and holds. */
#configure-status {
  flex: 1 0 100%;
  order: 1;
  margin: 0;
}

/* Its margins take back what its line stands past the head's 30 px, as the way back's and the pencil's do: at 200 % text its 39.2 px
   line stood 8.4 px past the way back's 30.8 px and pushed every card down for the length of the save. */
#configure-status[data-saving] {
  flex: 1 1 0;
  order: 0;
  min-inline-size: 0;
  margin-block: min(0px, (30px - 1lh) / 2);
  overflow: hidden;
  color: var(--ink-2);
  font-size: var(--t-14);
  text-align: end;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A phone's name line is full, and the way back already stands on a line of its own: the break keeps it there, so the saving line takes the room
   before it rather than 2 px after the pencil, or a line of its own that would push the cards down. */
@media (max-width: 599px) {
  #configure-name-row > :is(#configure-eyebrow, #configure-name-caption, #configure-name-heading, #configure-rename, #configure-name-hint, #configure-name-form),
  #configure-name-row::after {
    order: -1;
  }

  #configure-name-row::after {
    content: "";
    flex-basis: 100%;
  }
}

#configure-reload {
  order: 2;
  align-self: flex-start;
}

#configure-section .configure-card {
  scroll-margin-block-start: calc(var(--band-h) + var(--s5));
}

#configure-section :is(h1, h2, #configure-name) {
  scroll-margin-block-start: calc(var(--band-h) + var(--s5));
}

/* The Room's card holds what is room-wide, a group under each heading, a hairline between them. */
#configure-section .configure-room-card > .configure-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s2);
  padding: 12px 14px 14px 16px;
  border-block-end: 1px solid var(--rule);
}

#configure-section .configure-room-card > .configure-card:last-child {
  border-block-end: 0;
}

#configure-section .configure-room-card > .configure-card > * {
  max-inline-size: 100%;
}

#configure-section .configure-card h2 {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: 0;
  font-size: var(--t-16);
}

/* Each Output is a card of its own in the column on the right (boards 3.3 and 3.7), its head the card's head; past three, a folded card is its head.
   The column's own heading names it for a screen reader; each card's head names its Output. */
#configure-section .configure-outputs-column > .info-row {
  display: none;
}

#configure-section .configure-outputs,
#configure-section .configure-outputs:has(> .configure-output[data-fold]) {
  gap: 8px;
}

#configure-section .configure-output.room-card {
  display: grid;
  gap: var(--s2);
  justify-items: start;
  padding: 0 0 14px;
}

#configure-section .configure-output.room-card > :not(.configure-output-head) {
  max-inline-size: calc(100% - 32px);
  margin-inline: 16px;
  padding-inline-start: 0;
}

#configure-section .configure-output + .configure-output,
#configure-section .configure-output[data-fold] + .configure-output[data-fold] {
  margin-block-start: 0;
  padding-block-start: 0;
  border-block-start-width: 1px;
}

#configure-section .configure-output > .configure-output-head {
  justify-self: stretch;
  align-items: center;
  border-radius: 11px 11px 0 0;
}

#configure-section .configure-output[data-fold] > .configure-output-head {
  padding-inline: 16px calc(var(--s3) + 1.25em);
}

#configure-section .configure-output[data-fold="closed"] {
  padding-block-end: 0;
}

#configure-section .configure-output[data-fold="closed"] > .configure-output-head {
  border-block-end: 0;
  border-radius: 11px;
}

#configure-section .configure-about {
  color: var(--ink-2);
  overflow-wrap: anywhere;
}



#configure-section .configure-ink {
  color: var(--ink);
  font-weight: var(--weight-strong);
  overflow-wrap: anywhere;
}

/* The name is the head's words, on the 44 px floor for a press that renames, as the pencil beside it does; the 14 px more go into its margins. */
#configure-name-heading {
  display: flex;
  min-inline-size: 0;
  max-inline-size: 100%;
  margin: 0;
}

#configure-room-crumb {
  flex: none;
  white-space: nowrap;
}

#app-main #configure-name {
  min-block-size: var(--target);
  max-inline-size: 100%;
  margin-block: -7px;
  padding: 0;
  border: var(--zero);
  border-radius: var(--zero);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}

#configure-name-row:has(#configure-name[hidden]) #configure-rename {
  display: none;
}

#configure-name-form {
  min-inline-size: 0;
  max-inline-size: 100%;
  flex: 1 1 18rem;
}

#configure-section .configure-name-edit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

#app-main .configure-name-edit input {
  flex: 1 1 var(--room-action-min);
  inline-size: auto;
  min-inline-size: var(--zero);
  min-block-size: 48px;
  padding: 0 var(--s3);
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-size: var(--t-22);
  font-weight: 700;
}

#configure-name-label {
  display: block;
  margin-block-end: var(--s1);
  color: var(--ink-2);
  font-size: var(--t-14);
  font-weight: 700;
}

#configure-section #configure-input-value {
  align-self: flex-start;
  max-inline-size: 100%;
  text-decoration: none;
}

/* Each Output's Audience link and its QR code are two things, a column each under its own heading (configure-outputs-two-columns; the room-console pattern,
   Anatomy and rule 3). OWNER, 2026-11-10: "On a desktop much of the config page is white space; you could easily divide the Outputs URL and QR into two columns to
   make it clearer and waste less space." The link's column holds the address with its keys in a column beside it; the code's holds the code with its keys in a
   column beside it, and its heading row holds the Output's Show QR with its ⓘ. Replace this link stands under the two columns as one key across them (board 3.3).
   A phone stacks the columns, the link's first, and draws no code (operator-console.css). */
#configure-section .configure-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
}

#configure-section .configure-link-row > :is(.configure-link-col, .configure-qr-col) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  min-inline-size: var(--zero);
  padding: var(--s3) var(--s4) var(--s4);
}

#configure-section .configure-link-row > .configure-qr-col {
  border-block-start: 1px solid var(--rule);
}

@media (min-width: 900px) and (min-height: 601px) {
  #configure-section .configure-link-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #configure-section .configure-link-row > .configure-qr-col {
    border-block-start: 0;
    border-inline-start: 1px solid var(--rule);
  }
}

#configure-section .configure-col-h {
  margin: 0;
  color: var(--ink);
  font-size: var(--t-14);
  font-weight: 700;
}

/* The address on a line of its own, and its keys under it. One line of them: where nothing can hover, the shared rules let the group wrap and give
   the keys the row's whole width, which in a column would set them beside the address and past a phone's edge. */
#configure-section .configure-link-col > .share-group--link {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  max-inline-size: var(--full);
}

#configure-section .configure-link-col > .share-group--link > .share-keys {
  flex: none;
  flex-wrap: wrap;
  max-inline-size: var(--full);
}

/* The code's keys stand in a column beside it. */
#configure-section .configure-qr-col > .share-group--qr {
  align-items: flex-start;
  gap: var(--s3);
  max-inline-size: var(--full);
}

#configure-section .configure-qr-col > .share-group--qr > .share-keys {
  flex-direction: column;
}

#configure-section .configure-link-row :is(.configure-link-foot, .configure-qr-foot) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  align-self: stretch;
  margin-block-start: auto;
  padding-block-start: var(--s3);
  border-block-start: 1px solid var(--rule);
}

/* The switch keeps its ⓘ beside it: the switch gives way, and its name wraps. */
#configure-section .configure-link-row .configure-qr-foot {
  flex-wrap: nowrap;
}

#configure-section .configure-qr-about {
  flex: none;
}

/* In the row of its heading "QR code" the switch's track stands before its words, as board 3.3 draws it: QR code, the switch, "Show on audience output", then
   the (i). So the word it says while it waits ("Saving…") reads from the switch's start, under the track. */
#configure-section #configure-outputs-list .configure-col-head > .configure-output-switch .sw-track {
  order: -1;
}

#configure-section #configure-outputs-list .configure-col-head > .configure-output-switch .sw-v {
  inset-inline-start: var(--s2);
  inset-inline-end: auto;
}

/* An Output's Show QR says its whole name, "Show QR on audience output" (room-console pattern, rule 4; OWNER, 2026-11-10: "in room config > outputs, the "QR" label isn't
   clear. In that context, it should have the full explanation"). Where its place has no room for the name on one line, the name wraps between its words onto a second
   line inside that place, and is never cut. */
#configure-section #configure-outputs-list .configure-output-switch {
  flex: 0 1 auto;
  min-inline-size: var(--zero);
  max-inline-size: var(--full);
}

#configure-section #configure-outputs-list .configure-output-switch .sw-l {
  white-space: normal;
  overflow-wrap: break-word;
}

/* Each Output's block holds its audience link under its language (configure-output-block-link): the two columns, then its Preview. */
#configure-section .configure-link-row[hidden] {
  display: none;
}

#configure-section .configure-output-link {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  inline-size: 100%;
  min-inline-size: var(--zero);
}

#configure-section .key--end {
  border-color: var(--final);
  color: var(--final);
}

#app-main .configure-link-address {
  min-inline-size: var(--zero);
  max-inline-size: var(--full);
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: var(--t-22);
  font-weight: 700;
  text-decoration: none;
}

#app-main .configure-link-address .join-url {
  min-inline-size: var(--zero);
}

#configure-section .configure-output-link .share-qr {
  flex: 0 0 132px;
  inline-size: 132px;
  max-inline-size: 100%;
}

#app-main .configure-output-link .share-qr svg {
  inline-size: 132px;
}

#configure-section .configure-sees {
  display: grid;
  gap: var(--space-2);
  margin: var(--zero);
}

#configure-section .configure-sees div {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: 8px;
  background: var(--glass);
  color: var(--glass-ink);
}

#configure-section .configure-sees dt {
  color: var(--glass-ink-2);
  font-size: var(--t-14);
  font-weight: var(--weight-strong);
}

#configure-section .configure-sees dd {
  margin: var(--zero);
  overflow-wrap: anywhere;
}

#configure-section .configure-est-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--full), var(--room-action-min)), 1fr));
  gap: var(--space-4);
}

#configure-section .configure-stepper {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 2px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  max-inline-size: 100%;
}

#configure-section .configure-stepper:has(button:not([hidden])) {
  border-color: var(--ink);
}

#configure-section .configure-stepper-value {
  min-inline-size: 3ch;
  text-align: center;
  font-size: var(--t-18);
}

#app-main .configure-stepper button {
  min-inline-size: var(--target);
  min-block-size: var(--target);
  padding-inline: var(--space-2);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: var(--t-22);
  font-weight: 700;
}

#app-main .configure-stepper button:hover {
  background: var(--paper-3);
}

/* The Room's audience-diagnostics switch (RM7) and its Show QR switch (room-screen-fill-and-qr), which is drawn twice: in
   each Output's block in Configure and in the Output pane's header (room-qr-toggle-placement). The design's switch
   (design/code/styles/controls.css), which the console's sheets do not otherwise carry. Its label wraps rather than pushing
   the track off a phone. */
:is(#configure-section, #session-monitor-head, .output-pane-head, #test-preview-head) :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) {
  display: inline-flex;
  justify-self: start;
  align-self: start;
  align-items: center;
  gap: 8px;
  max-inline-size: 100%;
  min-block-size: var(--target);
  padding: 0 var(--s2);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: var(--t-14);
  text-align: start;
  cursor: pointer;
}

/* Its own display would show a switch the page has hidden (a Room that is not there yet). */
:is(#configure-section, #session-monitor-head, .output-pane-head, #test-preview-head) :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch)[hidden] { display: none; }

@media (hover: hover) {
  :is(#configure-section, #session-monitor-head, .output-pane-head, #test-preview-head) :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch):hover { border-color: currentColor; }
}

:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-l { min-inline-size: 0; overflow-wrap: anywhere; }
:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-track {
  position: relative;
  box-sizing: border-box;
  flex: none;
  inline-size: 38px;
  block-size: 22px;
  border: 2px solid currentColor;
  border-radius: 11px;
}
:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-knob {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: currentColor;
  transition: inset-inline-start var(--m-in) var(--m-ease);
}
:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch)[aria-checked="true"] .sw-track { background: currentColor; }
/* On, the knob is the card's own paper, so it reads as a hole in the inked track in either theme. */
:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch)[aria-checked="true"] .sw-knob { inset-inline-start: 18px; background: var(--paper-2); }
:is(#session-monitor-head, .output-pane-head, #test-preview-head) :is(#session-monitor-show-qr, .output-pane-switch).sw--none { color: var(--pencil); font-weight: 400; cursor: default; }
/* In Configure a switch is held back for as long as the Room saves, which is each time a stepper rests or a choice is made, and a
   lighter label is a narrower one: the track moved 9 px left and back with every save. Held back here, it is dimmed and keeps its weight. */
#configure-section :is(#configure-diagnostics, .configure-output-switch).sw--none { color: var(--pencil); cursor: default; }
/* Show QR's press under way (remote-effect-pending). While the save runs the knob is the canon's turning ring (4.1), in the place the
   press asked for, in the knob's own colour. */
:is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending { cursor: progress; }
:is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending .sw-knob,
:is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending[aria-checked="true"] .sw-knob {
  box-sizing: border-box;
  background: transparent;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  animation: spin var(--m-spin) linear infinite;
}
:is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending[aria-checked="true"] .sw-knob { border-color: var(--paper-2); border-inline-end-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending .sw-knob,
  :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending[aria-checked="true"] .sw-knob { animation: none; }
}
:root[data-frozen="1"] :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending .sw-knob,
:root[data-frozen="1"] :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending[aria-checked="true"] .sw-knob { animation: none; }
/* What the switch waits for sits just under its track, in the space the header and the card already leave, so nothing moves while it
   shows, and it ends where the switch ends. It may be wider than the switch, so the hover's border, which it would cross, gives way. */
:is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch) { position: relative; }
:is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-v {
  position: absolute;
  inset-block-start: calc(50% + 12px);
  inset-inline-end: var(--s2);
  min-inline-size: 0;
  color: var(--ink-2);
  font-size: var(--t-12);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
@media (hover: hover) {
  :is(#configure-section, #session-monitor-head, .output-pane-head, #test-preview-head) :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch):has(> .sw-v):hover { border-color: transparent; }
}
/* Enlarged text does not fit under the track: the word takes a line of its own in the switch, and the switch is taller while it shows. */
:root[data-text="200"] :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch):has(> .sw-v) { flex-wrap: wrap; }
:root[data-text="200"] :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-v { position: static; flex-basis: 100%; white-space: normal; text-align: end; line-height: 1.2; }
@media (max-width: calc((1em - 16.5px) * 1000000)) {
  :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch):has(> .sw-v) { flex-wrap: wrap; }
  :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-v { position: static; flex-basis: 100%; white-space: normal; text-align: end; line-height: 1.2; }
}
:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--none .sw-track { border-color: var(--pencil-line); }
:is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--none .sw-knob { background: var(--pencil-line); }

@media (forced-colors: active) {
  :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-track, :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-knob { forced-color-adjust: none; border-color: CanvasText; }
  :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch) .sw-knob { background: CanvasText; }
  :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch)[aria-checked="true"] .sw-track { background: Highlight; border-color: Highlight; }
  :is(#configure-diagnostics, #session-monitor-show-qr, .output-pane-switch, .configure-output-switch)[aria-checked="true"] .sw-knob { background: HighlightText; }
  :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending .sw-knob { background: transparent; border-color: CanvasText; border-inline-end-color: transparent; }
  :is(#session-monitor-show-qr, .output-pane-switch, .configure-output-switch).sw--pending[aria-checked="true"] .sw-knob { background: transparent; border-color: HighlightText; border-inline-end-color: transparent; }
}

@media (max-width: 899px), (max-height: 600px) {
  #configure-section .configure-sees div {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s1);
  }
}

:root[data-text="200"] #configure-section .configure-sees div {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: calc((1em - 16.5px) * 1000000)) {
  :root:not([data-text="200"]) #configure-section .configure-sees div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Original words follow the translation, in the configured Input Language, without a speech label. The console shows them all
   the time, so their rule is the pencil line: amber means paused or low, and here nothing is wrong. The audience page keeps
   amber (audience.css), where original words mean translation has gone quiet. */
.aud-original-run { margin: 0; padding-inline-start: var(--s3); border-inline-start: 2px solid var(--pencil-line); font-style: italic; font-synthesis-style: none; }
.aud-original-run:is(:lang(ar), :lang(fa), :lang(ur), :lang(he), :lang(yi), :lang(zh), :lang(ja), :lang(ko), :lang(hi), :lang(mr), :lang(ne), :lang(bn), :lang(th)) { font-style: normal; }
.aud-original { font-size: inherit; font-weight: inherit; }

/* A held control stays where it is; its explanation waits until it is tried (constitution9.5), above the menu whose held row explains. */
.held-explanation { position: fixed; z-index: 81; box-sizing: border-box; inline-size: min(26rem, calc(100vw - 16px)); padding: var(--s4); border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-held); overflow: auto; overflow-wrap: anywhere; }
.held-explanation[hidden] { display: none !important; }
.held-explanation p { margin: 0 0 var(--s3); padding-inline-end: var(--target); }
.held-explanation-close { position: absolute; inset-block-start: 0; inset-inline-end: 0; min-inline-size: var(--target); min-block-size: var(--target); border: 0; background: transparent; color: inherit; font-size: var(--t-20); }
#configure-section [aria-disabled="true"] { opacity: .65; cursor: help; }
#configure-section .configure-language .station[aria-disabled="true"] { border-bottom-style: dotted; }
.held-explanation { left: 8px; top: 8px; }

.held-explanation .key { max-inline-size: 100%; white-space: normal; }
/* A pointer at the control to press: red words on the band's black, as the band itself says a problem, and an arrow 8px tall whose
   tip touches that control (held-explanation.ts POINTER_ARROW). OWNER, 2026-11-10: "When pointing at the next step, red text on a black popup". */
.held-explanation[data-pointer] { inline-size: max-content; max-inline-size: min(26rem, calc(100vw - 16px)); padding: var(--s3) var(--s4); border: 0; background: var(--glass); color: var(--fail); overflow: visible; }
.held-explanation[data-pointer] p { margin: 0; padding: 0; font-weight: 600; color: var(--fail); }
.held-pointer-arrow { position: absolute; left: var(--held-pointer-x, 50%); width: 16px; height: 8px; transform: translateX(-50%); background: var(--glass); }
.held-explanation[data-side="above"] .held-pointer-arrow { top: 100%; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.held-explanation[data-side="below"] .held-pointer-arrow { bottom: 100%; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Held controls remain reachable for their explanation; form fields keep their readonly guard. */
#app-main [aria-disabled="true"] { cursor: help; }
#app-main :is(input, select, textarea, button:not(.key):not(.sw))[aria-disabled="true"] { opacity: .65; }

/* Configure: the Output's card rows */
/* Each Output's card as board 3.3 draws it, 788 px wide at 1,280: a head of 54 px, the row "Your audience gets" of 44, the link and the code in a block of 205, and the
   audience messages in a row of 39. The look stays the product's: these rules set places and sizes. */

/* The card's rows stand edge to edge, each with its own line under it, as the board's rows do. */
#configure-section .configure-output.room-card {
  gap: 0;
  padding: 0;
}

#configure-section .configure-output.room-card > :not(.configure-output-head) {
  justify-self: stretch;
  max-inline-size: none;
  margin-inline: 0;
}

/* A language picked and not yet saved, in a Room of several: its key and the way to Replace this link, under the head. */
#configure-section .configure-output.room-card > .configure-output-change:not([hidden]) {
  padding: 12px 16px;
  border-block-end: 1px solid var(--rule);
}

/* The head: the small heading OUTPUT and the Output's language picker with its chevron, in one row, and in a Room of several Outputs Remove at its right (board 3.7).
   The heading's whole name, "Output in French", is read and not seen. */
#configure-section .configure-output > .configure-output-head {
  flex-wrap: nowrap;
  gap: 12px;
  min-block-size: 54px;
  padding-inline: 16px;
}

#configure-section .configure-output-eyebrow {
  flex: none;
  color: var(--pencil);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

#configure-section .configure-output-head > .configure-output-heading {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#configure-section .configure-output-head > .configure-language {
  flex: 0 1 auto;
  min-inline-size: 0;
}

#app-main #configure-section .configure-output-head .configure-output-language.station:not(.station--ink) {
  min-block-size: 36px;
  padding: 0 9px;
  border: 1px solid var(--pencil-line);
  border-radius: 8px;
  background: var(--paper-2);
  font-size: var(--t-18);
  white-space: nowrap;
}

#app-main #configure-section .configure-output-head .configure-output-language.station--ink {
  font-size: var(--t-18);
}

#configure-section .configure-output-head > .configure-output-remove {
  margin-inline-start: auto;
}

#configure-section .configure-output-head > .configure-output-remove[hidden] {
  display: none;
}

/* One row of 44 px: "Your audience gets" with its ⓘ, and the choice Captions only | Captions and voice beside it, on one line. */
#configure-section .configure-output.room-card > .configure-output-delivers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  justify-self: stretch;
  max-inline-size: none;
  min-block-size: 44px;
  margin: 0;
  padding: 0 16px;
  border-block-end: 1px solid var(--rule);
}

#configure-section .configure-output-delivers-name {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 1px;
  margin-inline-end: 4px;
}

#configure-section .configure-output-delivers-name > .card-lbl {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

#configure-section .configure-output-delivers-control {
  flex: 0 1 auto;
  min-inline-size: 0;
}

/* The link and the code, as board 3.3 draws them: two columns, each a heading row of 24 px over a tile of 185 by 108 with its three keys stacked at its right, 32 px
   each and named in words, and Replace this link under the two as one key across them, 32 px tall, in the quiet form Remove has. The code's heading row holds the
   Output's Show QR and its ⓘ. Where the card is narrower than the two columns, at 1,000 px and on a phone, the link's column stands over the code's. */
#configure-section .configure-output-link {
  container: output-link / inline-size;
  gap: 0;
}

#configure-section .configure-output-link > .configure-link-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 29px;
  padding: 10px 16px 12px;
  border: 0;
  border-block-end: 1px solid var(--rule);
  border-radius: 0;
}

@container output-link (min-width: 740px) {
  #configure-section .configure-output-link > .configure-link-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }

  #configure-section .configure-output-link > .configure-link-row > .configure-qr-col::before {
    position: absolute;
    inset-block: 2px 0;
    inset-inline-start: -15px;
    border-inline-start: 1px solid var(--rule);
    content: "";
  }
}

#configure-section .configure-output-link > .configure-link-row > :is(.configure-link-col, .configure-qr-col) {
  position: relative;
  gap: 8px;
  padding: 0;
  border: 0;
}

#configure-section .configure-output-link .configure-col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  align-self: stretch;
  min-block-size: 24px;
  min-inline-size: 0;
}

#configure-section .configure-output-link .configure-col-h {
  flex: none;
  color: var(--ink-2);
  font-size: var(--t-12);
  font-weight: 600;
  white-space: nowrap;
}

#configure-section .configure-output-link .configure-col-head > .configure-qr-about {
  margin-inline-start: -12px;
}

#configure-section #configure-outputs-list .configure-col-head > .configure-output-switch {
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

/* Keep each action whole. If the tile and the longest word cannot stand side by side, its keys move below it. */
#configure-section .configure-output-link :is(.configure-link-col > .share-group--link, .configure-qr-col > .share-group--qr) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  align-self: stretch;
  max-inline-size: none;
}

#configure-section .configure-output-link :is(.share-group--link, .share-group--qr) > .share-keys {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
  min-inline-size: min-content;
}

#configure-section .configure-output-link :is(.share-group--link, .share-group--qr) > .share-keys > .share-key:not([hidden]) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  inline-size: 100%;
  block-size: auto;
  min-block-size: var(--target);
  padding: 0 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

#configure-section .configure-output-link :is(.share-group--link, .share-group--qr) > .share-keys > .share-key svg {
  inline-size: 16px;
  block-size: 16px;
  color: var(--ink-2);
}

#configure-section .configure-output-link :is(.share-group--link, .share-group--qr) > .share-keys > .share-key::after {
  min-inline-size: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  content: attr(aria-label);
}

/* The link's tile: the address on two lines, its host over its code. */
#app-main #configure-section .configure-output-link .configure-link-address {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  inline-size: 185px;
  max-inline-size: 100%;
  min-block-size: 108px;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  text-align: center;
}

#app-main #configure-section .configure-output-link .configure-link-address .join-url {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

#app-main #configure-section .configure-output-link .configure-link-address .join-code {
  display: block;
  color: var(--ink);
  font-size: var(--t-22);
  font-weight: 700;
  letter-spacing: .04em;
}

/* The code's tile, its picture 92 px. */
#configure-section .configure-output-link .share-group--qr > .share-qr {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  inline-size: 185px;
  max-inline-size: 100%;
  min-block-size: 108px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
}

#app-main #configure-section .configure-output-link .share-qr svg {
  inline-size: 92px;
  block-size: 92px;
}

/* Replace this link, across the two columns, and the line that says how a replacement went. */
#configure-section .configure-output-link .configure-link-row > .configure-link-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

#configure-section .configure-output-link .configure-link-foot > .key {
  align-items: center;
  justify-content: center;
  text-align: center;
  inline-size: 100%;
  max-inline-size: none;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
}

#app-main #configure-section :is(.configure-output-link .configure-link-foot > .key, .configure-output-head > .configure-output-remove):not(.key--armed) {
  border: 1px solid var(--pencil-line);
  background: var(--paper-2);
  color: var(--final);
}

/* Under a mouse at a laptop's size the keys stand at the board's 32 px; a finger keeps its 44. */
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root:not([data-text="200"]) #configure-section .configure-output-link :is(.share-group--link, .share-group--qr) > .share-keys > .share-key:not([hidden]),
  :root:not([data-text="200"]) #configure-section .configure-output-link .configure-link-foot > .key {
    min-block-size: 32px;
  }

  :root:not([data-text="200"]) #configure-section .configure-output-head > .configure-output-remove {
    min-block-size: 30px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  :root:not([data-text="200"]) #configure-section #configure-outputs-list .configure-col-head > .configure-output-switch {
    min-block-size: 24px;
  }
}

/* The audience messages, a row of 39 px under the block: a disclosure, closed. Opened, the card grows, and the four messages stand left to right in the order of a
   meeting, each under the name of its moment and black as the audience sees it (board 3.8). Where the card is narrow, two to a row, then one. */
#configure-section .configure-output-link > .configure-preview > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: var(--target);
  margin: 0;
  padding: 0 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

#configure-section .configure-output-link > .configure-preview > summary::-webkit-details-marker {
  display: none;
}

#configure-section .configure-output-link > .configure-preview > summary::before {
  flex: none;
  inline-size: 0;
  block-size: 0;
  border-block: 5px solid transparent;
  border-inline-start: 7px solid var(--ink-2);
  content: "";
}

#configure-section .configure-output-link > .configure-preview[open] > summary::before {
  transform: rotate(90deg);
}

#configure-section .configure-output-link > .configure-preview > .configure-sees {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 10px;
  padding: 2px 16px 14px;
}

#configure-section .configure-output-link > .configure-preview > .configure-sees > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-inline-size: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: inherit;
}

#configure-section .configure-output-link > .configure-preview > .configure-sees dt {
  color: var(--ink-2);
  font-size: var(--t-12);
  font-weight: 600;
}

#configure-section .configure-output-link > .configure-preview > .configure-sees dd {
  flex: 1;
  min-block-size: 140px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--glass);
  color: var(--glass-ink);
  font-size: 12.5px;
  line-height: 1.4;
}

@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root:not([data-text="200"]) #configure-section .configure-output-link > .configure-preview > summary {
    min-block-size: 39px;
  }
}

/* The Outputs' own heading, with its ⓘ, and its first-use sentence "What your audience reads and hears." are not drawn: each card's row "Your audience gets" says it with its own ⓘ. */
#configure-section .configure-outputs-column > #configure-outlang-tip {
  display: none;
}
