/* Scoped design Key styles; the room no longer uses the retired four-strip overrides. */
:is(.operator-console, .operator-console-share-pop) .key {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-height: var(--target);
  min-width: var(--target);
  padding: var(--s2) var(--s4);
  border: 2px solid var(--ink);
  border-radius: var(--r-key);
  background: var(--paper-2);
  color: var(--ink);
  font-family: inherit;
  font-weight: var(--text-key-weight);
  font-size: var(--text-key-size);
  line-height: var(--text-key-leading);
  text-align: start;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

@media (hover: hover) {
  :is(.operator-console, .operator-console-share-pop) .key:hover {
    background: var(--paper-3);
  }
}

:is(.operator-console, .operator-console-share-pop) .key .k-label {
  display: block;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 10 5 5;
}

:is(.operator-console, .operator-console-share-pop) .key .k-sub {
  display: block;
  font-weight: 400;
  font-size: var(--t-14);
  color: var(--ink-2);
}

:is(.operator-console, .operator-console-share-pop) .key--primary {
  min-height: 56px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-size: var(--t-18);
}

@media (hover: hover) {
  :is(.operator-console, .operator-console-share-pop) .key--primary:hover {
    background: var(--ink-hover);
  }
}

/* In dark this rule says what the token says, and stays for what it wins: its specificity beats the pending, armed and
   held-back rules that the light rule loses to. */
@media (hover: hover) {
  :root[data-theme="dark"] :is(.operator-console, .operator-console-share-pop) .key--primary:hover {
    background: var(--ink-hover);
  }
}

:is(.operator-console, .operator-console-share-pop) .key--primary .k-sub {
  color: var(--ink-key-sub);
}

/* Kept for what it wins in dark: .key--armed .k-sub, .key--armed-rev .k-sub and .key[aria-disabled] .k-sub. */
:root[data-theme="dark"] :is(.operator-console, .operator-console-share-pop) .key--primary .k-sub {
  color: var(--ink-key-sub);
}

:is(.operator-console, .operator-console-share-pop) .key--quiet {
  border-color: var(--rule);
  font-weight: 700;
}

:is(.operator-console, .operator-console-share-pop) .key--small {
  min-height: var(--target);
  padding: var(--s1) var(--s3);
  font-size: var(--t-14);
}

:is(.operator-console, .operator-console-share-pop) .key--end {
  border-color: var(--final);
  color: var(--final);
}

@media (hover: hover) {
  :is(.operator-console, .operator-console-share-pop) .key--end:hover {
    background: var(--final-wash);
  }
}

/* THE KEY GRAMMAR (key-grammar; key-kind.ts draws a key of its kind). Five kinds, told apart by shape and weight as well as colour:
   primary   .key--primary         the region's one filled key, the next act; while nothing needs pressing, nothing is filled.
   secondary .key--quiet           outlined in a pale rule, its act in words.
   destructive .key--end           red, in two presses: outlined at rest, hatched once armed, solid while it works.
   held      [aria-disabled=true]  in its place under its own name, dimmed, no sentence beside it; tried, it says why and what frees it.
   icon      .icon-key             a square picture alone, named by one tooltip that is its accessible name too.
   A destructive act with a known icon is drawn as its picture with the destructive's full 2 px outline, heavier than a utility's 1 px,
   and its hover is the destructive's red wash, not a utility's grey. */
:is(.operator-console, .operator-console-share-pop, #app-main) .icon-key.key--end {
  border-width: 2px;
}

@media (hover: hover) {
  :is(.operator-console, .operator-console-share-pop, #app-main) .icon-key.key--end:not([aria-disabled="true"]):not(.key--armed):hover {
    background: var(--final-wash);
  }
}

/* Armed: the guard. Hatched, final colour; a second, separate press confirms. It waits while focus or the pointer stays on it,
   and at least 10 s. Its words keep 4.5 : 1 against both stripes in both themes. */
:is(.operator-console, .operator-console-share-pop) .key--armed {
  border-color: var(--final);
  color: var(--hatch-ink);
  background: repeating-linear-gradient(135deg, var(--hatch-1) 0 9px, var(--hatch-2) 9px 18px);
}

@media (hover: hover) {
  :is(.operator-console, .operator-console-share-pop) .key--armed:hover {
    background: repeating-linear-gradient(135deg, var(--hatch-2) 0 9px, var(--hatch-1) 9px 18px);
  }
}

:is(.operator-console, .operator-console-share-pop) .key--armed .k-sub {
  color: var(--hatch-ink);
}

/* The Room's armed End, as board 1.11's .key.armed draws it: solid in the final colour, its words 4.5 : 1 or better against it in both
   themes, its bar still draining. Any other armed key stays hatched, and so does forced colours, which draw their own. The page's
   rule for armed keys (chrome.css) is matched in weight, so this one wins in the Room's key row. */
@media (forced-colors: none) {
  :root #app-main #room-actions > button.key--armed,
  :root #app-main #room-actions > button.key--armed:hover {
    border-color: var(--final);
    background: var(--final);
    color: var(--hatch-ink);
  }

  :root #app-main #room-actions > button.key--armed .k-sub {
    color: var(--hatch-ink);
  }
}

/* An act that can be undone, armed: the same two presses, hatched in ink, since the final colour is for irreversible acts. */
:is(.operator-console, .operator-console-share-pop) .key--armed-rev {
  border-color: var(--ink);
  color: var(--hatch-rev-ink);
  background: repeating-linear-gradient(135deg, var(--hatch-rev-1) 0 9px, var(--hatch-rev-2) 9px 18px);
}

@media (hover: hover) {
  :is(.operator-console, .operator-console-share-pop) .key--armed-rev:hover {
    background: repeating-linear-gradient(135deg, var(--hatch-rev-2) 0 9px, var(--hatch-rev-1) 9px 18px);
  }
}

:is(.operator-console, .operator-console-share-pop) .key--armed-rev .k-sub {
  color: var(--hatch-rev-ink);
}

:is(.operator-console, .operator-console-share-pop) .key--pending {
  cursor: progress;
}

:is(.operator-console, .operator-console-share-pop) .key--pending .k-label::before {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-inline-end: 0.45em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  vertical-align: -0.05em;
  animation: spin var(--m-spin) linear infinite;
}

/* A working key is filled, never held back (board 1.11). The next step's key stays black while its answer is awaited, ring and all,
   and End, while it ends the meeting, is solid red as the armed End is. The key still takes no press (aria-disabled), and only the
   keys that cannot be pressed yet are grey. */
:is(.operator-console, .operator-console-share-pop) .key--primary.key--pending {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

:is(.operator-console, .operator-console-share-pop) .key--end.key--pending {
  border-color: var(--final);
  background: var(--final);
  color: var(--hatch-ink);
}

/* A working key takes no press, so it keeps its fill under the pointer. In light the rules above already beat hover; in dark both
   hover rules, this file's and the design library's, outrank them, so dark says the fill again at a weight that wins. */
:root[data-theme="dark"] :is(.operator-console, .operator-console-share-pop) .key--primary.key--pending { background: var(--ink); }
:root[data-theme="dark"] :is(.operator-console, .operator-console-share-pop) .key--end.key--pending { background: var(--final); }

:is(.operator-console, .operator-console-share-pop) .key .fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper-3);
  transform-origin: left center;
  transform: scaleX(var(--v, 0.5));
}

:root[dir="rtl"] :is(.operator-console, .operator-console-share-pop) .key .fill {
  transform-origin: right center;
}

:is(.operator-console, .operator-console-share-pop) .key--primary .fill {
  background: var(--ink-key-fill);
}

.operator-console .drain {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 5px;
  background: var(--drain-track);
}

.operator-console .drain > i {
  display: block;
  height: 100%;
  width: calc(var(--v, 1) * 100%);
  background: currentColor;
  opacity: 0.7;
}

:is(.operator-console, .operator-console-share-pop) .key--primary .drain {
  background: var(--drain-track-on-ink);
}

:is(.operator-console, .operator-console-share-pop) .key--refused {
  border-color: var(--attn-ink);
  background: var(--attn-wash);
  color: var(--ink);
}

/* Not possible yet: a flat, quiet key whose reason and fix are on it. Never dashed. A key that works is not one of these. */
:is(.operator-console, .operator-console-share-pop) .key[aria-disabled="true"]:where(:not(.key--pending)) {
  border-color: var(--rule);
  background: var(--paper-3);
  color: var(--pencil);
  cursor: not-allowed;
}

:is(.operator-console, .operator-console-share-pop) .key--end[aria-disabled="true"]:where(:not(.key--pending)) {
  border-color: var(--rule);
  color: var(--pencil);
}

:is(.operator-console, .operator-console-share-pop) .key[aria-disabled="true"]:where(:not(.key--pending)) .k-sub {
  color: var(--pencil);
}

:is(.operator-console, .operator-console-share-pop) .key .why {
  display: block;
  font-weight: 400;
  font-size: var(--t-14);
  color: var(--attn-ink);
}

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

@media (prefers-reduced-motion: reduce) {
  :is(.operator-console, .operator-console-share-pop) .key--pending .k-label::before {
    animation: none;
  }
}

:root[data-frozen="1"] :is(.operator-console, .operator-console-share-pop) .key--pending .k-label::before {
  animation: none;
}


/* The Mayor's stable row, using the design Key's own parts, colours and two-press face. */
.operator-console-keys {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s2);
  min-width: 0;
  background: var(--paper);
}

.operator-console-keys > .key {
  width: 100%;
  min-width: 0;
  min-height: 114px;
  height: auto;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2px;
  padding: var(--s2) var(--s3);
  font-size: var(--t-16);
  line-height: 1.2;
}

.operator-console-keys > .key::before {
  content: "";
  display: block;
  flex: none;
  height: 1.125em;
  font-family: var(--font-mark);
  line-height: 1;
}

.operator-console-keys .k-label,
.operator-console-keys .k-sub {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: manual;
}

.operator-console-keys > :is([data-console-state="done"], [data-console-heard="true"])::before { content: "✓" / ""; }
.operator-console-keys > [data-console-state="skipped"]::before { content: "–" / ""; }
.operator-console-keys > :is([data-console-state="later"], [data-console-state="done"], [data-console-state="skipped"]) {
  /* Keep the key's 2 px border: a read changing later to blocked must not take room from its words. */
  border-color: var(--rule);
  color: var(--pencil);
}
/* Held and done are told apart by the fill (board 1.11): a key that waits is white with a pale outline and pale words, and a key behind
   the meeting is grey. A closed Room starts again from Open, so after End what was behind it waits like the rest. */
.operator-console-keys > .key[aria-disabled="true"]:is([data-console-state="later"], [data-console-state="blocked"]),
.operator-console-keys:has(> [data-console-action="launch"]) > .key[aria-disabled="true"]:is([data-console-state="done"], [data-console-state="skipped"]) {
  background: var(--paper-2);
}
/* The Test that heard speech reads "✓ Test" in the done look, and still starts another while Tests remain today. */
.operator-console-keys > .key[data-console-heard="true"][data-console-state] {
  border-color: var(--rule);
  color: var(--pencil);
  background: var(--paper-3);
}

@media (min-width: 900px) and (min-height: 601px) {
  :root:not([data-text="200"]) .operator-console-keys[data-pinned="true"] {
    position: sticky;
    bottom: var(--s2);
    z-index: 12;
    box-shadow: 0 0 0 var(--s2) var(--paper);
  }
}

/* A narrow or short window uses readable columns, never one-character value measures or clipped fixed heights. */
@media (max-width: 899px), (max-height: 600px) {
  .has-start-console #console-share-home { display: none; }
  .operator-console-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operator-console-keys > .key::before { display: none; }
  .operator-console-keys > [data-console-slot="open"][data-console-state="done"],
  .operator-console-keys > [data-console-slot="test"]:is([data-console-state="later"], [data-console-state="done"], [data-console-state="skipped"]),
  .operator-console-keys > [data-console-slot="translation"][data-console-state="later"] { display: none; }
  .operator-console-keys > [data-console-slot="test"] { grid-column: 1 / -1; min-height: var(--target); }
  :root:not([data-text="200"]) .operator-console-keys[data-pinned="true"] {
    position: sticky;
    bottom: 0;
    z-index: 12;
    padding-block: var(--s2);
    box-shadow: var(--shadow-dock);
  }
}

:root[data-text="200"] .operator-console-keys {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 599px) {
  :root[data-text="200"] .operator-console-keys { grid-template-columns: minmax(0, 1fr); }
}

@media (forced-colors: active) {
  .operator-console-keys > .key { border-color: ButtonText; }
}

.operator-console-step-strip {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
  justify-content: space-between;
  gap: var(--s2);
  margin: 0;
  padding: var(--s2) 0;
  list-style: none;
  font-size: var(--t-14);
  color: var(--pencil);
}
#app-main #console-strip { padding-inline: 0; }
.operator-console-step-strip > li { flex-wrap: nowrap; white-space: nowrap; display: flex; align-items: baseline; gap: var(--s1); min-width: 0; }
.operator-console-step-strip > [aria-current="step"] { color: var(--ink); font-weight: 700; }
:root[data-text="200"] .operator-console-step-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* The next-step mark (canon 4.6): its arrow on an ink disc that scales with its words, and turns with the reading direction. The arrow
   is the step's one glyph, so the mark keeps the same line as its word, as the written marks do. */
.operator-console-step-strip .mark[data-mark="next"] { position: relative; z-index: 0; margin-inline: 0.15em; color: var(--paper-2); }
.operator-console-step-strip .mark[data-mark="next"]::before { content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.operator-console-step-strip:dir(rtl) .mark[data-mark="next"] { display: inline-block; transform: scaleX(-1); }
/* The meeting on air is the one green mark; a private Test under way keeps its ink (canon 4.6: green only live). */
:root[data-onair="1"] .operator-console-step-strip > [data-console-step="translation"] > .mark[data-mark="now"] { color: var(--live); }
@media (forced-colors: active) {
  .operator-console-step-strip .mark[data-mark="next"] { forced-color-adjust: none; color: Canvas; }
  .operator-console-step-strip .mark[data-mark="next"]::before { background: CanvasText; }
}

.operator-console-sheet {
  position: absolute;
  z-index: 10;
  display: grid;
  gap: var(--s3);
  padding: var(--s4);
  border: 2px solid var(--attn-ink);
  border-radius: var(--r-card);
  background: var(--paper-2);
  color: var(--ink);
  overflow: auto;
}
#console-deadline.operator-console-sheet h2 { margin: 0; font-size: var(--t-22); line-height: 1.15; }
.operator-console-sheet > p { margin: 0; }
.operator-console-sheet-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.operator-console-sheet[hidden], .operator-console-sheet [hidden] { display: none; }
.operator-console-sheet.takeover--tight { gap: var(--s2); padding: var(--s3); font-size: var(--t-14); }

/* One Room, folding setup on paper, the one audience mirror on glass. */
.has-start-console #app-heading { display: none; }
.has-start-console #app-main { margin-block: 0; padding: var(--s3); border: 0; background: transparent; }
#room-section { max-width: 1280px; margin-inline: auto; }
#room-name-row { margin-bottom: var(--s3); }
#room-name { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--target); max-width: 100%; padding: 4px; border: 0; border-bottom: 2px dashed var(--pencil-line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; text-align: start; }
#room-name:hover { background: var(--paper-3); }
#room-name .pen { color: var(--pencil); flex: none; }
#room-name-value { min-width: 0; overflow-wrap: anywhere; }
#room-name-form { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
#room-name-form .name-edit-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); max-width: 100%; }
#room-name-form input { min-height: 48px; min-width: 0; max-width: 100%; padding: 0 var(--s3); border: 2px solid var(--ink); border-radius: var(--r-key); background: var(--paper-2); color: var(--ink); font-size: var(--t-22); font-weight: 700; }
#room-name[hidden], #room-name-form[hidden] { display: none; }
.operator-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(460px, 560px) minmax(0, 1fr);
  align-items: start;
  gap: var(--s5);
}
.operator-console[hidden] { display: none; }
#console-controls, #console-audience { min-width: 0; }
#console-controls { display: flex; flex-direction: column; gap: var(--s3); }
#console-setup { padding: var(--s3) var(--s4); border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); }
#console-setup > summary { font-size: var(--t-16); font-weight: 700; cursor: pointer; min-height: var(--target); align-content: center; }
#console-setup p { margin: var(--s2) 0; }
#console-setup input { width: 100%; max-width: 12rem; min-height: var(--target); border: 1px solid var(--rule); border-radius: 6px; padding: var(--s2); background: var(--paper); }
/* The designed plan readings keep their numeric controller bindings out of sight. */
#console-setup .console-plan-row { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 2fr); align-items: center; gap: var(--s2); margin-block: var(--s2); }
#console-setup .console-plan-row[hidden], #console-setup .console-plan-row [hidden] { display: none; }
#console-setup .stepper { display: inline-flex; align-items: center; justify-self: start; gap: var(--s2); max-width: 100%; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 2px; }
#console-setup .stepper button { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: var(--t-22); font-weight: 700; }
#console-setup .stepper button:hover { background: var(--paper-3); }
#console-setup .stepper .num { min-width: 3ch; text-align: center; font-weight: 700; font-size: var(--t-18); overflow-wrap: anywhere; }
#console-setup .stepper .unit { min-width: 0; overflow-wrap: anywhere; }
#console-setup .console-plan-ink { font-weight: 700; }
#console-setup .console-plan-held { margin-block: 0 var(--s2); overflow-wrap: anywhere; }
#console-setup .console-plan-held[hidden] { display: none; }
@media (max-width: 599px), (max-width: calc((1em - 16.5px) * 1000000)) {
  #console-setup .console-plan-row { grid-template-columns: minmax(0, 1fr); }
  #console-setup .stepper { flex-wrap: wrap; }
}
:root[data-text="200"] #console-setup .console-plan-row { grid-template-columns: minmax(0, 1fr); }
:root[data-text="200"] #console-setup .stepper { flex-wrap: wrap; }
#console-setup label { display: block; color: var(--ink-2); font-size: var(--t-14); font-weight: 700; }
.console-input-line { display: flex; gap: var(--s3); justify-content: space-between; }
#console-flow { font-weight: 700; }
/* One line whatever the input is called (console-holds-still, LS3): its name gives way, ellipsized as the band's is, and the
   languages, the arrows and the level beside it keep their room; its accessible name stays the whole name. At 200 % text the line
   reflows instead, as everything does there, and nothing is cut (canon 4.8). */
@media not all and (max-width: calc((1em - 16.5px) * 1000000)) {
  :root:not([data-text="200"]) #console-flow { display: flex; align-items: center; white-space: nowrap; }
  :root:not([data-text="200"]) #console-flow > * { flex: none; }
  :root:not([data-text="200"]) :is(#console-flow-arrow-in, #console-flow-arrow-out) { white-space: pre; }
  :root:not([data-text="200"]) #console-flow > #console-flow-input { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
/* The setup line's Audio Input opens the Audio Input menu, as the band's does; red while No Audio Input blocks the meeting, and
   it answers a press it blocks with the reaction (X21; chrome.css carries .reacts). A transform moves only a box: inline-block. */
#console-flow-input { display: inline-block; margin: 0; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: start; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#console-flow-input[hidden] { display: none; }
#app-main :is(#console-flow-input, #console-row-input)[data-blocker] { color: var(--fail-ink); }
/* Under the pointer it keeps the Audio Input names' own surface (chrome.css), not the generic button's ink fill, which left its text
   unreadable on it (owner, 2026-10-27). Its text colour stays what it is at rest: the line's, or red while it blocks the meeting. */
#app-main #console-flow-input:hover { background: var(--audio-input-hover); }
#console-input, #console-affordable { color: var(--ink-2); font-size: var(--t-14); }
#console-estimate { font-weight: 700; }
.console-status-line { display: flex; flex-wrap: wrap; gap: var(--s2); font-size: var(--t-14); color: var(--ink-2); }
/* The ended line ends in the link to the meeting's report, which reads as part of its sentence and not as a key (operator-ended-line.ts). */
#app-main :is(#session-status, #session-ended-line) a { display: inline; min-block-size: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; }
#app-main :is(#session-status, #session-ended-line) a:hover { background: none; }
#session-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#console-strip { display: none; }
#console-audience { display: flex; flex-direction: column; gap: var(--s3); }
/* The share box: the QR and the address, each with its icon keys beside it, always drawn and wherever the box sits (the page or the
   phone's dialog), so nothing here depends on an ancestor. */
#permanent-output { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); min-width: 0; }
#permanent-output[hidden] { display: none; }
#permanent-output .vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The sharing keys are one set, drawn the same in the Room's box and in each Output's block in Configure (.configure-output-link). */
:is(#permanent-output, .share-row, .configure-output-link) .share-group { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
:is(#permanent-output, .share-row, .configure-output-link) .share-keys { display: inline-flex; flex: none; gap: var(--s1); }
:is(#permanent-output, .share-row, .configure-output-link) .share-key, .icon-key { display: inline-flex; align-items: center; justify-content: center; flex: none; inline-size: 36px; block-size: 36px; min-block-size: 36px; padding: 0; border: 1px solid var(--rule); border-radius: var(--r-key); background: var(--paper-2); color: var(--ink); font: inherit; cursor: pointer; }
:is(#permanent-output, .share-row, .configure-output-link) .share-key svg, .icon-key svg { flex: none; inline-size: 20px; block-size: 20px; }
:is(.operator-console, .operator-console-share-pop) .icon-key, #app-main .icon-key { display: inline-flex; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; min-height: 36px; min-width: 36px; min-block-size: 36px; padding: 0; border-width: 1px; border-radius: var(--r-key); font: inherit; overflow: visible; }
.icon-key svg { inline-size: 20px; block-size: 20px; }
#app-main :is(button, a).icon-key { flex-direction: row; }
/* The QR is itself a key, drawn as the picture alone: pressed, it shows it large (output-qr-pop.ts). */
:is(#permanent-output, .share-row, .configure-output-link) .share-qr { padding: 0; border: 0; background: transparent; color: inherit; line-height: 0; cursor: zoom-in; }
:is(#permanent-output, .share-row, .configure-output-link) .share-qr[disabled] { cursor: default; }
/* The picture keeps its own name for readers, but a hover must reach the key, whose tooltip says what pressing it does. */
:is(#permanent-output, .share-row, .configure-output-link) .share-qr svg { pointer-events: none; }
:is(#permanent-output, .share-row, .configure-output-link) .share-key[disabled], .icon-key[disabled] { opacity: .45; cursor: default; }
@media (hover: hover) {
  :is(#permanent-output, .share-row, .configure-output-link) .share-key:not([disabled]):hover, .icon-key:not([disabled]):not(.key--armed):not(.key--armed-rev):hover { background: var(--paper-3); }
  /* A tooltip names a key only to a pointer that hovers, so a key the keyboard has reached writes its name above itself, the same
     words as its tooltip and its accessible name. It reaches toward the room the key has: the address's last key toward the start,
     the others toward the end. It is a label over the page, not part of the row, so the row does not move. */
  :is(#permanent-output, .share-row, .configure-output-link) :is(.share-key, .share-qr), .icon-key { position: relative; }
  :is(#permanent-output, .share-row, .configure-output-link) :is(.share-key, .share-qr):focus-visible::after, .icon-key:focus-visible::after {
    content: attr(aria-label); position: absolute; z-index: 30; inset-block-end: calc(100% + var(--s1)); inset-inline-start: 0;
    inline-size: max-content; max-inline-size: 16rem; padding: var(--s1) var(--s2); border-radius: var(--r-key);
    background: var(--ink); color: var(--paper); outline: 1px solid transparent; font-size: var(--t-14); line-height: 1.2; font-weight: 400; text-align: start; pointer-events: none;
  }
  :is(#permanent-output, .share-row, .configure-output-link) .share-group--link .share-keys > .share-key:last-child:focus-visible::after { inset-inline-start: auto; inset-inline-end: 0; }
}
/* A phone shows the QR only in its Output's sheet, for nearby people to scan. A tablet keeps just the sharing keys. */
@media (hover: none), (max-width: 899px) {
  :is(#permanent-output, .share-row, .configure-output-link) .share-qr { display: none !important; }
}
@media (max-width: 899px) {
  #console-output-sheet-body :is(#output-qr, .share-qr) { display: inline-flex !important; flex: none; inline-size: 64px; block-size: 64px; padding: 0; }
  #console-output-sheet-body :is(#output-qr, .share-qr) svg { inline-size: 100%; block-size: 100%; }
}
/* Where nothing can hover, no tooltip can name a key, so each key writes its name beside its icon (owner, 2026-10-29, on PP4:
   "on a mobile device there is no "hover""). The words are the key's accessible name itself, so what is drawn and what is read
   are one string; the address's keys go under the address, and the QR's keys stand in a column beside it. */
@media (hover: none) {
  :is(#permanent-output, .share-row, .configure-output-link) .share-group--link { flex-wrap: wrap; }
  :is(#permanent-output, .share-row, .configure-output-link) .share-group--qr .share-keys { flex-direction: column; flex: 1 1 auto; min-inline-size: min-content; }
  :is(#permanent-output, .share-row, .configure-output-link) .share-group--link .share-keys { flex: 1 1 100%; flex-wrap: wrap; min-inline-size: 0; }
  :is(#permanent-output, .share-row, .configure-output-link) .share-key, :is(.operator-console, .operator-console-share-pop) .icon-key, #app-main .icon-key { justify-content: flex-start; gap: var(--s2); inline-size: auto; block-size: auto; min-inline-size: var(--target); max-inline-size: 100%; padding: var(--s1) var(--s3) var(--s1) var(--s2); }
  #app-main .listen-keys > button.icon-key { inline-size: auto; block-size: auto; min-inline-size: var(--target); max-inline-size: 100%; gap: var(--s2); padding: var(--s1) var(--s3) var(--s1) var(--s2); }
  :is(#permanent-output, .share-row, .configure-output-link) .share-key::after, .icon-key::after { content: attr(aria-label); min-inline-size: 0; font-size: var(--t-14); line-height: 1.2; text-align: start; overflow-wrap: break-word; }
}
/* Simple keeps names beside utility icons, including when the pointer can hover or the key has keyboard focus. */
:root.has-start-console:not(.has-advanced-console) :is(#app-main, body) :is(#permanent-output, .share-row) .share-key,
:root.has-start-console:not(.has-advanced-console) :is(.operator-console, .operator-console-share-pop, #app-main) .icon-key {
  justify-content: flex-start; gap: var(--s2); inline-size: auto; block-size: auto; min-inline-size: var(--target); max-inline-size: 100%; padding: var(--s1) var(--s3) var(--s1) var(--s2); }
:root.has-start-console:not(.has-advanced-console) :is(#app-main, body) :is(#permanent-output, .share-row) .share-key:is(*, :focus-visible)::after,
:root.has-start-console:not(.has-advanced-console) .icon-key:is(*, :focus-visible)::after {
  content: attr(aria-label); position: static; z-index: auto; inline-size: auto; min-inline-size: 0; max-inline-size: none; padding: 0; border-radius: 0; background: transparent;
  color: inherit; font-size: var(--t-14); font-weight: inherit; line-height: 1.2; text-align: start; overflow-wrap: break-word; }
/* Where the console takes a phone's layout, or its text is larger (the browser's own, or the page's 200 % mode), the address's keys go under the address and the code's stand in a
   column, under a mouse as under a finger: at 1,024 px with French at 200 % the code's keys in one row ran up to 158 px past the window's edge. */
@media (max-width: 899px), (max-height: 600px), (max-height: 600px), (max-width: calc((1em - 16.5px) * 1000000)) {
  :root.has-start-console:not(.has-advanced-console) :is(#permanent-output, .share-row) .share-group--link { flex-wrap: wrap; }
  :root.has-start-console:not(.has-advanced-console) :is(#permanent-output, .share-row) .share-group--qr .share-keys { flex-direction: column; flex: 1 1 auto; min-inline-size: min-content; }
  :root.has-start-console:not(.has-advanced-console) :is(#permanent-output, .share-row) .share-group--link .share-keys { flex: 1 1 100%; flex-wrap: wrap; min-inline-size: 0; }
}
:root[data-text="200"].has-start-console:not(.has-advanced-console) :is(#permanent-output, .share-row) .share-group--link { flex-wrap: wrap; }
:root[data-text="200"].has-start-console:not(.has-advanced-console) :is(#permanent-output, .share-row) .share-group--qr .share-keys { flex-direction: column; flex: 1 1 auto; min-inline-size: min-content; }
:root[data-text="200"].has-start-console:not(.has-advanced-console) :is(#permanent-output, .share-row) .share-group--link .share-keys { flex: 1 1 100%; flex-wrap: wrap; min-inline-size: 0; }
#permanent-output #output-link { min-width: 0; overflow-wrap: anywhere; }
/* The private Test's pane is drawn as the Output's (RM9): its status lines on a paper header, its translated words alone on the glass. */
#test-preview { display: flex; flex-direction: column; min-height: 340px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); color: var(--ink); overflow: hidden; }
#test-preview-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); padding: var(--s2) var(--s4); border-bottom: 1px solid var(--rule); }
#test-preview-head > :is(p, label, meter) { flex-basis: 100%; margin: 0; }
#test-preview-head > p:empty { display: none; }
#test-preview-head > #test-preview-pill { flex-basis: auto; }
#test-preview-head > #test-preview-pill[hidden], #test-preview-head > #test-preview-waiting[hidden] { display: none; }
#test-preview-waiting { font-size: var(--t-14); color: var(--ink-2); }
/* A press's first pane is a pane like the others: the band and the setup line already read the input, and "played" is what its Listen says now. The Test's own lines run on, so its glass keeps its room. */
#test-preview[data-press] :is(#test-input-meter-label, #test-input-meter, #test-audio-evidence) { display: none; }
#test-preview[data-press] #test-preview-head > :is(#test-status, #test-countdown, #test-allowance) { flex-basis: auto; }
#test-preview[data-press] #test-preview-head > #test-preview-heading { margin: 0; }
#test-preview-glass { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: var(--s4); background: var(--glass); color: var(--glass-ink); }
/* The room screen's QR in this glass's corner while the first Output's Show QR is on, as every pane's glass marks its own (walk-k-test-pane-nits; the mark's own rules are the panes', below):
   the words begin under it, so it never covers them. */
#test-preview-glass { position: relative; --pane-qr: calc(var(--s3) + var(--t-14) * 1.4 + 6px); }
#test-preview-glass[data-room-qr="on"] { padding-block-start: calc(var(--pane-qr) + var(--s1)); }
/* The Output pane (RM9): a paper header for the operator (the language, Listen and small marks on how this console sees the
   delivery) over the glass, a mockup of what the audience will see, in the device's fonts as the audience page is. */
#session-monitor { min-height: 340px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); color: var(--ink); overflow: hidden; }
#session-monitor[hidden], #test-preview[hidden] { display: none; }
#test-preview-heading { margin: 0; font-size: var(--t-16); }
#session-monitor-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); padding: var(--s2) var(--s4); border-bottom: 1px solid var(--rule); }
#session-monitor-heading { margin: 0; font-size: var(--t-16); }
#session-monitor-status { flex-basis: 100%; margin: 0; font-size: var(--t-14); color: var(--ink-2); }
/* The audience's language and pill ride in a row the glass always keeps, so their coming and going moves no word (canon 4.2.1), and the
   room screen's QR is marked in the corner at its end, in the space the row and the glass's padding keep. */
#session-monitor-glass { --pill-row: calc(var(--t-14) * 1.4 + 6px + var(--s2)); --qr-mark: calc(var(--s4) + var(--pill-row) - var(--s2)); position: relative; display: flex; flex-direction: column; padding: var(--s4); padding-block-start: calc(var(--s4) + var(--pill-row) * var(--pill-rows, 1)); background: var(--glass); color: var(--glass-ink); font-family: var(--font-words); }
#session-monitor-identity { position: absolute; inset-block-start: var(--s4); inset-inline-start: var(--s4); display: flex; align-items: center; gap: var(--s2); max-inline-size: calc(100% - 2 * var(--s4) - var(--qr-mark)); }
#session-monitor-language { flex: none; margin: 0; font-size: var(--text-pill-size); font-weight: var(--text-pill-weight); line-height: var(--text-pill-leading); }
#session-monitor-pill { min-inline-size: 0; margin: 0; padding: 2px var(--s3); border: 1px solid currentColor; border-radius: var(--r-pill); color: var(--glass-ink-2); font-size: var(--text-pill-size); font-weight: var(--text-pill-weight); line-height: var(--text-pill-leading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#session-monitor-pill[hidden] { display: none; }
/* The audience page's still dot, in its pill's colour. */
#session-monitor-pill::before { content: ""; display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: var(--s1); border-radius: 50%; background: currentColor; vertical-align: 0.1em; }
#session-monitor-pill[data-presentation="live"] { color: var(--live); }
#session-monitor-pill[data-presentation="recovery"] { color: var(--attn); }
#session-monitor-pill[data-original-words] { color: var(--attn); }
/* At 200 % text a phone can't hold the language and the pill on one line: the row the glass keeps is two lines there, and neither is cut. */
:root[data-text="200"] #session-monitor-glass { --pill-rows: 2; }
:root[data-text="200"] #session-monitor-identity { flex-wrap: wrap; }
:root[data-text="200"] #session-monitor-pill { white-space: normal; }
@media (max-width: calc((1em - 16.5px) * 1000000)) {
  #session-monitor-glass { --pill-rows: 2; }
  #session-monitor-identity { flex-wrap: wrap; }
  #session-monitor-pill { white-space: normal; }
}
#session-monitor-qr { position: absolute; inset-block-start: var(--s1); inset-inline-end: var(--s1); inline-size: var(--qr-mark); block-size: var(--qr-mark); }
#session-monitor-qr[hidden] { display: none; }
#session-monitor-qr svg { display: block; inline-size: 100%; block-size: 100%; }
#test-status, #test-countdown, #test-allowance, #test-input-meter-status, #test-audio-evidence, #test-own-language { font-size: var(--t-14); color: var(--ink-2); }
#session-monitor-caption, #test-caption { min-height: 8rem; margin-top: var(--s4); font-size: var(--t-28); line-height: 1.2; }
#test-caption { margin-block: auto 0; overflow-y: auto; }
/* On the glass the speaker's own words are the audience's fallback, in the audience's amber: translation has gone quiet (audience.css). The
   paper pane's copy of them shows all the time and takes the pencil line (chrome.css). */
#session-monitor-caption .aud-original-run, #test-original .aud-original-run { border-inline-start-color: var(--attn); }
#test-original { flex: none; max-block-size: 100%; margin-block-start: auto; overflow-y: auto; font-size: var(--t-28); line-height: 1.2; }
#test-caption:empty:has(+ #test-original:not([hidden])) { display: none; }
/* The console's two meters: the setup line's, and the main screen's beside the Audio Input in the sound-and-money line, which shows
   only while something listens (operator-mic-levels). Lit columns are ink off air, a private Test's included, and green only live
   (canon 4.6). */
:is(#console-input-meter, #console-flow-meter) { display: inline-flex; align-items: end; gap: 2px; height: 20px; }
#console-flow-meter { margin-inline-start: var(--s2); vertical-align: -4px; }
#console-flow-meter[hidden] { display: none; }
:is(#console-input-meter, #console-flow-meter) i { width: 4px; height: 30%; background: var(--pencil); opacity: .3; }
:is(#console-input-meter, #console-flow-meter) i:nth-child(2) { height: 45%; } :is(#console-input-meter, #console-flow-meter) i:nth-child(3) { height: 60%; }
:is(#console-input-meter, #console-flow-meter) i:nth-child(4) { height: 80%; } :is(#console-input-meter, #console-flow-meter) i:nth-child(5) { height: 100%; }
:is(#console-input-meter, #console-flow-meter)[data-lit="5"] i, :is(#console-input-meter, #console-flow-meter)[data-lit="4"] i:nth-child(-n+4), :is(#console-input-meter, #console-flow-meter)[data-lit="3"] i:nth-child(-n+3), :is(#console-input-meter, #console-flow-meter)[data-lit="2"] i:nth-child(-n+2), :is(#console-input-meter, #console-flow-meter)[data-lit="1"] i:first-child { opacity: 1; background: var(--ink); }
:root[data-onair="1"] :is(#console-input-meter, #console-flow-meter)[data-lit="5"] i, :root[data-onair="1"] :is(#console-input-meter, #console-flow-meter)[data-lit="4"] i:nth-child(-n+4), :root[data-onair="1"] :is(#console-input-meter, #console-flow-meter)[data-lit="3"] i:nth-child(-n+3), :root[data-onair="1"] :is(#console-input-meter, #console-flow-meter)[data-lit="2"] i:nth-child(-n+2), :root[data-onair="1"] :is(#console-input-meter, #console-flow-meter)[data-lit="1"] i:first-child { background: var(--live-ink); }

@media (max-width: 899px), (max-height: 600px) {
  .operator-console { display: flex; flex-direction: column; gap: var(--s3); }
  #console-controls { display: contents; }
  #console-setup, .console-status-line, #session-leave-note, #room-waiting-count, #session-error, #session-add-funds { order: 0; width: 100%; }
  #console-audience { order: 1; width: 100%; }
  #console-strip { display: grid; order: 2; width: 100%; }
  #console-deadline { order: 3; }
  #console-deadline.operator-console-sheet--flow { flex: none; overflow: visible; }
  .operator-console-sheet-actions { order: 2; }
  .operator-console-sheet > p { order: 3; }
  #room-actions { order: 4; width: 100%; }
  #session-monitor, #test-preview { min-height: 240px; }
}
:root[data-text="200"] .operator-console { display: flex; flex-direction: column; }
:root[data-text="200"] #console-controls { display: contents; }
:root[data-text="200"] #console-setup { order: 0; width: 100%; }
:root[data-text="200"] #console-audience { order: 1; width: 100%; }
:root[data-text="200"] #console-deadline { order: 2; }
:root[data-text="200"] #room-actions { order: 3; width: 100%; }

#console-setup[open] #console-setup-brief { display: none; }
#console-setup-brief { display: block; color: var(--ink-2); font-size: var(--t-14); font-weight: 400; }
:root #console-deadline.operator-console-sheet--flow { order: -1; width: 100%; }

@media (max-width: 899px), (max-height: 600px) {
  :root.has-start-console:not([data-text="200"]):where(:not(.has-console-viewport)) { scroll-padding-bottom: 160px; }
  :root:not([data-text="200"]):where(:not(.has-console-viewport)) .operator-console { padding-bottom: 160px; }
  :root:not([data-text="200"]):where(:not(.has-console-viewport)) #room-actions[data-pinned="true"] { position: fixed; bottom: 0; left: var(--s3); right: var(--s3); width: auto; }
}
/* The approved --large-text width also covers native browser text enlargement. */
@media (max-width: calc((1em - 16.5px) * 1000000)) {
  :root.has-start-console:not([data-text="200"]) { scroll-padding-bottom: 0; }
  :root:not([data-text="200"]) .operator-console { padding-bottom: 0; }
  :root:not([data-text="200"]) #room-actions[data-pinned="true"] { position: static; width: 100%; }
  .operator-console { display: flex; flex-direction: column; padding-bottom: 0; }
  #console-controls { display: contents; }
  #console-setup { order: 0; width: 100%; }
  #console-audience { order: 1; width: 100%; }
  #room-actions { order: 3; width: 100%; position: static; grid-template-columns: minmax(0, 1fr); }
  .operator-console-keys > .key { height: auto; }
  .operator-console-step-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#app-main .operator-console [hidden] { display: none; }
#app-main .operator-console :is(p, a):empty, #room-status:empty { display: none; }
.console-status-line p, #session-error, #room-waiting-count { margin-block: 0; }
#session-leave-note { margin-block: 0; font-size: var(--t-14); color: var(--ink-2); }

/* Every Output's Listen (output-listen-same-keys): the two speaker keys, Sound off and Sound on, in its pane's head, just before Show QR. */
.listen-keys { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; }
#app-main .listen-keys > button { padding: 0; min-width: 36px; min-height: 36px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-key); }
.listen-keys > button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.listen-keys > button svg { display: block; width: 20px; height: 20px; }
/* An Output whose audience gets captions only draws no sound keys (rulings, What an Output delivers, M4): the words Captions only stand where they would, in a box the size of the two
   keys and the 4 px between them (76 by 36 px without labels), so the head's other lines and its columns do not move. The words wrap inside the box, at the keys' end of the line. In
   Atkinson Hyperlegible Next at 14 px the whole phrase is 84 px in English, 135 in French, 84 in German and 91 in Spanish (the shipped font's advance widths, kerning left out), and
   the longest word, French's "Sous-titres", is 67: each phrase takes two lines, 34 px, inside the box's 36. Larger text makes the box as wide as its longest word and taller, and breaks no word. */
.listen-keys-captions-only { box-sizing: border-box; display: flex; align-items: center; justify-content: flex-end; inline-size: min-content; min-inline-size: 76px; min-block-size: 36px; text-align: end;
  font-size: var(--t-14); line-height: 1.2; color: var(--ink-2); }
.listen-words { flex-basis: 100%; min-inline-size: 0; }
.listen-words[hidden] { display: none; }
.listen-keys-plays, .listen-keys-note { margin: 0; font-size: var(--t-14); color: var(--ink-2); }
.listen-keys-plays { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.listen-keys-plays[hidden], .listen-keys-note[hidden] { display: none; }
#app-main #test-preview-listen:not([hidden]) + #test-preview-show-qr { margin-inline-start: 0; }

#session-monitor-caption { block-size: clamp(12rem, 45vh, 32rem); min-height: 0; overflow-y: auto; overflow-wrap: anywhere; scrollbar-gutter: stable; overscroll-behavior: contain; }

#console-strip [data-console-step="test"]:has(.key) > span { display: none; }
#console-strip [data-console-step="test"]:has(.key) { align-self: stretch; }
#console-strip .key { width: 100%; padding: var(--s2); min-height: var(--target); }
/* An unavailable Test keeps its complete reason on a readable row, using the same key. */
#console-strip:has([data-console-step="test"] > [data-console-state="blocked"]) { grid-template-columns: max-content minmax(0, 1fr) max-content; }
#console-strip [data-console-step="test"]:has(> [data-console-state="blocked"]) { grid-column: 1 / -1; grid-row: 2; }
#console-strip .key .k-sub { display: none; }
/* A long language's Stop runs to two lines here rather than losing its end: "Arrêter le test de traduction" lost 105 px at 390 px. The dock is measured with it. */
#console-strip .key .k-label { min-inline-size: 0; white-space: normal; }
#console-strip .key:is([data-console-state="later"], [data-console-state="done"], [data-console-state="skipped"]) { display: none; }
#console-strip [data-console-step="test"]:has(.key:is([data-console-state="later"], [data-console-state="done"], [data-console-state="skipped"])) > span { display: inline; }

#console-header-share[hidden] { display: none; }
#console-header-share { display: none; }
.operator-console-share-pop { max-width: min(34rem, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: var(--s4); border: 2px solid var(--rule); border-radius: var(--r-card); background: var(--paper); color: var(--ink); }
.operator-console-share-pop::backdrop { background: var(--scrim); }
.operator-console-share-pop > div:first-child { display: flex; justify-content: space-between; gap: var(--s3); }
.operator-console-share-pop :is(button,a) { min-height: var(--target); padding: var(--s2); font: inherit; color: inherit; }
/* In the dialog the QR is drawn large with its three keys in a column beside it, and the address and its two keys under them. */
.operator-console-share-pop #permanent-output { display: grid; gap: var(--s4); margin-top: var(--s3); }
.operator-console-share-pop #permanent-output .share-group--qr { align-items: flex-start; }
.operator-console-share-pop #permanent-output .share-group--qr .share-keys { flex-direction: column; }
.operator-console-share-pop #output-qr { flex: 0 1 13rem; min-width: 0; }
.operator-console-share-pop #output-qr svg { display: block; inline-size: 100%; block-size: auto; }
.operator-console-share-pop #output-link { font-weight: 700; font-family: var(--font-nums); }
/* A long preview host gives up space to the Output code before it can push the sharing keys down. */
.operator-console-share-pop .share-group--link a { min-inline-size: 0; max-inline-size: 100%; box-sizing: border-box; }
.operator-console-share-pop .share-group--link .join-url { display: inline-flex; max-inline-size: 100%; vertical-align: middle; }
:is(.operator-console-share-pop, .has-share-cards #console-output-pane) .share-group--link .join-prefix { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Explicit wbr elements still invite a break inside nowrap text. Only the compact address hides them. */
:is(.operator-console-share-pop, .has-share-cards #console-output-pane, [data-body="stack"] > #console-share-home) .share-group--link .join-prefix > wbr { display: none; }
:is(.operator-console-share-pop, .has-share-cards #console-output-pane) .share-group--link .join-code { flex: none; }
/* The Room Share dialog hangs feedback from its head, clear of the key that was pressed. */
#console-share-dialog > .msgs[data-hang="dialog"] { position: fixed; top: calc(var(--msgs-dialog-top) + var(--msgs-drop)); left: var(--msgs-dialog-left); right: auto; width: var(--msgs-dialog-width); margin: 0; }
/* A problem is said one way (problems-said-one-way). OWNER, 2026-11-10: "red on black text". In the dialog an error is red words on the
   band's black, its mark too, and its × in the band's own ink. */
:is(#console-share-dialog, #console-output-sheet) > .msgs .toast--err { border-color: var(--glass); background: var(--glass); color: var(--fail); }
:is(#console-share-dialog, #console-output-sheet) > .msgs .toast--err .t-mark { border-inline-end-color: transparent; background: transparent; color: var(--fail); }
:is(#console-share-dialog, #console-output-sheet) > .msgs .toast--err .t-x { color: var(--glass-ink); }
@media (max-width: 899px), (max-height: 600px) {
  /* The room title takes only the space left by Share and Menu, including long names. */
  .has-start-console #chrome-brand { display: block; flex: 1 1 0; min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; align-content: center; }
  .has-start-console #console-header-share:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; min-width: var(--target); min-height: var(--target); padding-inline: var(--s3); border: 1px solid var(--rule); border-radius: var(--r-key); background: var(--paper); color: var(--ink); font: inherit; white-space: nowrap; }
  :root.has-start-console body:has(> #on-air-band:not([hidden])) #product-chrome > #next-step-slot { display: none; }
  /* An open Room's mark takes the title's place, first in the same row so that Share and Menu stay where they stood, where it keeps the Room's name: it names the Room and says its state
     (room-open-plain-everywhere). Where only its state fits, the title keeps the name, and the band and the state line say the state. */
  :root.has-start-console body:has(> #on-air-band:not([hidden])):has(#next-step.next-act--live:not(.next-act--short):not([hidden])) #product-chrome > #next-step-slot { display: flex; order: -1; }
  :root.has-start-console body:has(#next-step.next-act--live:not(.next-act--short):not([hidden])) #product-chrome > #chrome-brand { display: none; }
  /* The French state's words need room inside the capsule's curved corners. Share and Menu give that inset their spare
     side padding, keeping every label, the type, the bar's height and each key's 44 px target. The app's static Share key
     identifies its Menu before the console mounts, so that Menu keeps the same inset from the first parsed frame. */
  .has-start-console #product-chrome { column-gap: var(--s2); }
  .has-start-console #next-step.next-act--live { padding-inline: var(--s3); column-gap: var(--s1); }
  #product-chrome:has(> #console-header-share) > :is(#console-header-share, #chrome-menu-button) { padding-inline: var(--bar-key); }
  .has-start-console #room-name-row { margin: 0; }
  .has-start-console #room-name, .has-start-console #room-name-form { display: none; }
}

/* In large text the Room's phone bar is two keys with words at 32 px, and the room title, which gives way first, has nothing left to
   give: in French at 390 px it kept 15 px on a Mac and wrapped the bar to a second row in Linux's wider faces. The Menu key's glyph only
   decorates its word, so it gives way next, and both keys keep their words, their 44 px targets and their text size. Written for the page's
   own 200 % mode and for the browser's large text, as every large-text rule is. */
@media (max-width: 899px) {
  :root[data-text="200"].has-start-console #chrome-menu-button .chrome-menu-icon { display: none; }
}
@media (max-width: 899px) and (max-width: calc((1em - 16.5px) * 1000000)) {
  .has-start-console #chrome-menu-button .chrome-menu-icon { display: none; }
}

/* A folded ordinary phone keeps the pane and two-key dock in separate rows. Expanded Setup and enlarged/short views use flow.
   Not while About or Help is up (help-task-scroll-linux): the view is the page and the Room is out of it, but the console lets go of this
   window only when it next repaints, up to a second after the view opens, and a link followed to a task in that while scrolled #app-main
   and lost the landing when the page became the scroller again. So the window is the Room's alone, whatever the class still says.
   The body is a column from the console's first paint on every ordinary phone, and the window class adds only its height and its scrolling. The class goes on and off with
   the console's state (it is on while the Room's read is out, and off again when that read finds no Room on first use), and a body that turned between block and flex in
   one frame made Chrome rebuild the boxes under it and report the skip link and the Menu glyph as shifted (0.0093) although nothing had moved. */
@media (max-width: 899px) and (min-height: 601px) {
  :is(.has-phone-dock, .has-console-viewport):not(:where(:has(#app-main > .reading:not([hidden])))) body { display: flex; flex-direction: column; }
  .has-console-viewport:not(:where(:has(#app-main > .reading:not([hidden])))) body { height: 100dvh; overflow: auto; }
  .has-console-viewport #product-chrome, .has-console-viewport #on-air-band { flex: none; }
  .has-console-viewport:not(:where(:has(#app-main > .reading:not([hidden])))) #app-main { flex: 1; min-height: 0; width: 100%; margin-block: 0; overflow: auto; }
  .has-console-viewport #room-section { display: flex; flex-direction: column; height: 100%; }
  .has-console-viewport .operator-console { flex: 1; min-height: 0; gap: var(--s2); padding-bottom: 0; }
  /* The panes are as tall as their lines and no taller, so what is left of the window stays empty paper under them, above the dock
     (phone-console-layout-fresh-eyes). OWNER, 2026-11-04: "the very large windows showing input and output texts". */
  .has-console-viewport #console-audience { flex: none; }
  .has-console-viewport #console-share-home { display: none; }
  .has-console-viewport #session-monitor, .has-console-viewport #test-preview { display: flex; flex-direction: column; flex: none; }
  .has-console-viewport #session-monitor[hidden], .has-console-viewport #test-preview[hidden] { display: none; }
  .has-console-viewport #console-strip, .has-console-viewport #room-actions { flex: none; }
}

.has-start-console #app-main > p:empty { display: none; }

/* This legacy account row has no visible content while both controls live elsewhere; its paragraph margins must not displace the phone viewport. */
.has-start-console #app-main > p:has(> #retry-authorization[hidden]):has(> #sign-out[hidden]) { display: none; }

.audio-input-choice { font: inherit; color: inherit; background: transparent; border: 0; padding: 8px 0; min-height: 44px; text-align: start; text-decoration: underline; cursor: pointer; }
.audio-input-menu { box-sizing: border-box; font: inherit; color: var(--ink); background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--r-card); padding: var(--s4); width: min(32rem, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.audio-input-menu::backdrop { background: var(--scrim); }
.audio-input-menu .audio-input-head { align-items: center; margin-bottom: var(--s3); }
#audio-input-heading { margin: 0; font-size: var(--t-22); }
#audio-input-close { display: grid; place-items: center; min-width: var(--target); min-height: var(--target); border: 0; border-radius: var(--r-key); background: var(--paper-3); font-size: var(--t-22); }
#audio-input-search { font: inherit; color: inherit; width: 100%; box-sizing: border-box; min-height: var(--target); padding: var(--s2) var(--s3); border: 2px solid var(--ink); border-radius: var(--r-key); background: var(--paper); }
/* The search, only once the list passes eight entries, and the microphone's key, only while the browser hides names (audio-input-menu.ts). */
#audio-input-search[hidden] { display: none; }
#audio-input-status:empty { display: none; }
#audio-input-status, #audio-input-hint { margin-block: var(--s2); font-size: var(--t-14); }
#audio-input-choices { display: grid; gap: var(--s1); position: static; max-width: 100%; margin-block: var(--s3); }
#audio-input-choices [role="menuitemradio"] { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: var(--s1) var(--s2); width: 100%; min-height: var(--target); padding: var(--s3); border: 2px solid transparent; border-radius: var(--r-key); font: inherit; font-weight: 700; text-align: start; color: var(--ink); background: var(--paper-2); overflow-wrap: anywhere; }
#audio-input-choices [role="menuitemradio"]::before { content: ''; grid-column: 1; grid-row: 1; box-sizing: border-box; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; }
#audio-input-choices [role="menuitemradio"] > span:first-child { grid-column: 2; }
#audio-input-choices [aria-checked="true"] { border-color: var(--ink); background: var(--paper); }
#audio-input-choices [aria-checked="true"]::before { background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); }
#audio-input-choices .num { grid-column: 2; justify-self: start; order: 1; padding: 2px 6px; border: 1px solid var(--pencil-line); border-radius: var(--r-pill); font-family: inherit; font-size: var(--t-12); white-space: normal; }
#audio-input-choices .menu-note { grid-column: 2; color: var(--ink-2); font-size: var(--t-14); font-weight: 400; }
/* Each source's level, in the line under its name and its note where "Microphone" stood, before "In use" (operator-mic-levels,
   audio-input-picker-proportion): hollow until the source is heard. */
#audio-input-choices .menu-level { grid-column: 2; justify-self: start; }
#audio-input-choices .menu-none { margin: 0; padding: var(--s3); }
#audio-input-warning, #audio-input-stuck { padding: var(--s3); border-radius: var(--r-key); background: var(--attn-wash); color: var(--attn-ink); font-size: var(--t-14); }
#audio-input-stuck { margin-block: var(--s3); }
#audio-input-stuck:empty { display: none; }
/* The picker's last line, for an input that does not appear, and the steps it opens (only-the-default-input-listed): plain words in
   the ink, never the attention wash, since a laptop with one microphone is normal. */
#audio-input-missing { display: flex; align-items: center; gap: var(--s2); width: 100%; min-height: var(--target); margin: 0; padding: var(--s2) 0; border: 0; background: transparent; font: inherit; font-size: var(--t-14); color: var(--ink); text-align: start; cursor: pointer; }
#audio-input-missing .audio-input-missing-words { text-decoration: underline; }
#audio-input-missing::after { content: '⌄' / ''; margin-inline-start: auto; }
#audio-input-missing[aria-expanded="true"]::after { content: '⌃' / ''; }
#audio-input-missing-steps { display: grid; gap: var(--s2); margin: 0 0 var(--s3); padding-inline-start: var(--s5); font-size: var(--t-14); color: var(--ink); }
#audio-input-missing[hidden], #audio-input-missing-steps[hidden] { display: none; }
#audio-input-apply { width: 100%; }
@media (hover: hover) { #audio-input-choices [role="menuitemradio"]:hover { background: var(--paper-3); } }
@media (forced-colors: active) { #audio-input-choices [aria-checked="true"]::before { background: Highlight; box-shadow: inset 0 0 0 4px Canvas; } }

/* The ready console keeps its plan and share address together; the two word panes remain peers. */
.has-start-console #app-main { inline-size: 100%; max-inline-size: none; padding: 20px 32px 32px; }
#room-section { max-width: none; }
/* Room name and Configure share the same head in both console views, whatever the text size. */
:root.has-start-console #app-main #room-name-row.room-head { margin: 0; }
:root.has-start-console #app-main #room-heading { min-inline-size: 0; margin: 0; font-size: var(--t-22); line-height: 1.35; }
:root.has-start-console #app-main #room-heading.vh { position: absolute; }
:root.has-start-console #app-main #room-heading:not(.vh) { max-inline-size: 100%; }
:root.has-start-console #app-main #room-name.room-head-pen { min-height: 0; margin: -7px -4px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--pencil); }
:root.has-start-console #app-main #room-name.room-head-pen:hover { background: var(--paper-3); }
:root.has-start-console #app-main #room-name .pen svg { width: 18px; height: 18px; }
:root.has-start-console #app-main #room-name-form { flex: 1 1 20rem; }
:root.has-start-console #app-main #configure-room-link.room-head-back { min-block-size: var(--target); padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); }
:root.has-start-console #app-main #configure-room-link.room-head-back:hover { background: transparent; text-decoration: underline; }
#room-name-row { margin-bottom: 0; }
.operator-console { grid-template-columns: minmax(420px, 560px) minmax(0, 1fr); gap: 32px; }
#console-controls { padding-top: 20px; }
#console-summary-card { align-self: stretch; padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); }
#console-summary-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
#console-summary-row p { margin: 0; }
#app-main #configure-room-link { border: 0; padding: 0; background: transparent; color: var(--ink); text-decoration: none; }
#console-flow { font-size: var(--t-16); flex: 1; min-width: 12ch; }
#console-summary-card #console-share-home { display: block; }
#console-summary-card #permanent-output { padding: 8px 0 0; }
/* The QR is made when the Room is read, but its box is the card's from the first frame, empty until then: the address is set beside the QR's keys or under them by the room the QR leaves, so it
   has to leave the same room before it is drawn and after. Without it a browser with no Share key (Chrome on Linux) fitted an address beside the keys, and set it under them when the 44 px came,
   which moved every key and pane by 52 px. Its size is the card's one --qr-size, for the box and the symbol. */
#console-summary-card { --qr-size: 44px; }
#console-summary-card #output-qr { display: inline-flex; flex: none; min-inline-size: var(--qr-size); }
#console-summary-card #output-qr svg { width: var(--qr-size); height: var(--qr-size); }
#app-main #console-summary-card #output-link { border: 0; border-radius: 0; background: transparent; padding: 0 4px 0 0; text-decoration: none; min-width: 0; font-size: var(--t-16); font-weight: 700; font-family: var(--font-nums); }
#console-summary-estimate { display: block; margin: 4px 0 0; font-size: var(--t-14); }
/* The price and Wallet coverage arrive after the Room. Their French reading needs three ordinary lines, for one Output as for several;
   keep that place from the first frame. A minimum lets larger text and longer readings grow rather than clip. */
#console-summary-estimate[data-prospective] { min-block-size: 3lh; }
@media (max-width: 899px) {
  /* At doubled text the same funded reading wraps to six lines on a phone; keep the place, without capping longer readings. */
  :root[data-text="200"] #console-summary-estimate[data-prospective] { min-block-size: 6lh; }
}
@media (max-width: 899px) and (max-width: calc((1em - 16.5px) * 1000000)) {
  :root:not([data-text="200"]) #console-summary-estimate[data-prospective] { min-block-size: 6lh; }
}
#console-setup { padding: 0; border: 0; border-radius: 0; background: transparent; }
#console-setup > summary { min-height: 0; font-size: var(--t-14); color: var(--ink-2); }
#console-setup:not([open]) > summary { margin-top: 8px; }
#console-setup:not([open]) #console-setup-brief { display: none; }
#console-summary-card #console-setup > summary:focus-visible { position: static; width: auto; height: auto; clip-path: none; }
#console-audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 16px; }
#console-original, #console-output-pane { min-width: 0; }
#console-original { display: flex; flex-direction: column; min-height: 430px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); }
/* Original words' header, for the operator: its name and why no words show yet (RM9); the area under it holds only the speaker's words. */
#console-original-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); min-height: 63px; padding: var(--s2) 16px; border-bottom: 1px solid var(--rule); }
#console-original-heading { margin: 0; font-size: var(--t-16); }
#console-original-status { margin: 0; font-size: var(--t-14); color: var(--ink-2); }
#console-original-status:empty { display: none; }
#console-original-caption { flex: 1; min-height: 0; padding: 20px 24px; display: flex; align-items: end; font-size: var(--t-16); color: var(--ink-2); overflow-wrap: anywhere; overflow-y: auto; }
#console-original-caption[data-original-available] { display: block; font-size: var(--t-28); line-height: 1.2; color: var(--ink); }
#console-original-caption .aud-original-run { margin: 0; }
#console-output-pane { display: flex; flex-direction: column; }
#session-monitor, #test-preview { min-height: 430px; height: 100%; }
#session-monitor { display: flex; flex-direction: column; }
/* The glass takes the rest of the pane, its words at the foot. */
#session-monitor-glass { flex: 1; min-height: 0; }
#session-monitor-caption { block-size: auto; min-height: 12rem; max-block-size: 45vh; margin-top: auto; }
#app-main .operator-console-keys > .key:not(.key--armed) .k-sub { display: none; }
#app-main .operator-console-keys > .key[data-console-all] .k-sub { display: block; }
.operator-console-keys > .key { justify-content: center; }
.operator-console-keys > .key::before { display: none; }
@media (min-width: 900px) and (min-height: 601px) {
  .operator-console-keys[data-pinned="true"] { position: static; box-shadow: none; }
  /* One size for both word panes: arriving words scroll inside them and never grow the row (owner, 2026-10-19). */
  #console-original, #session-monitor { block-size: max(430px, 55vh); }
  #session-monitor-caption { flex: 0 1 auto; min-height: 0; max-block-size: none; }
  /* The header sits level with Original words' heading. */
  #session-monitor-head { min-height: 63px; }
  #session-monitor-glass { --qr-mark: calc(20px + var(--pill-row) - var(--s2)); padding: 20px 24px; padding-block-start: calc(20px + var(--pill-row) * var(--pill-rows, 1)); }
  #session-monitor-identity { inset-block-start: 20px; inset-inline-start: 24px; max-inline-size: calc(100% - 48px - var(--qr-mark)); }
}
@media (max-width: 1099px) and (min-width: 900px) {
  .operator-console { grid-template-columns: minmax(360px, 42%) minmax(0, 1fr); gap: 24px; }
  #console-audience { grid-template-columns: minmax(0, 1fr); }
  #console-original, #session-monitor, #test-preview { min-height: 220px; }
}
@media (max-width: 1099px) and (min-width: 900px) and (min-height: 601px) {
  #console-original, #session-monitor { block-size: max(220px, 30vh); }
}
@media (max-width: 899px), (max-height: 600px) {
  .has-start-console #app-main { padding: 8px 16px 24px; }
  #console-summary-card { width: 100%; }
  #console-controls { padding-top: 0; }
  #console-audience { display: flex; flex-direction: column; gap: 8px; }
  #console-original { min-height: 88px; }
  #console-original-head { min-height: 40px; padding: 4px 12px; }
  #console-original-caption { padding: 8px 16px; }
  #session-monitor, #test-preview { min-height: 184px; }
  /* As tight as Original words above it, so the phone's pane still fits between the band and the keys. */
  #session-monitor-head { padding: 4px 12px; min-height: 40px; }
  #session-monitor-glass { --pill-row: calc(var(--t-14) * 1.4 + 6px + var(--s1)); --qr-mark: calc(8px + var(--pill-row) - var(--s1)); padding: 8px 16px; padding-block-start: calc(8px + var(--pill-row) * var(--pill-rows, 1)); }
  #session-monitor-identity { inset-block-start: 8px; inset-inline-start: 16px; max-inline-size: calc(100% - 32px - var(--qr-mark)); }
  #session-monitor-qr { inset-block-start: 2px; inset-inline-end: 2px; }
  .has-console-viewport #console-summary-card { display: none; }
  .has-console-viewport #console-output-pane { flex: none; }
  .has-console-viewport #session-monitor { height: auto; }
}
/* A phone's panes are as tall as their lines (phone-console-layout-fresh-eyes): two lines of words at reading size, 16 px, in the
   Original words, in the first Output's glass, in the private Test's and in each Output's of a Room of several, newest at the foot.
   OWNER, 2026-11-04: "the very large windows showing input and output texts". Each keeps that one size whatever it holds (canon
   4.2.1, console-holds-still): sized by its words, a pane grew with them and moved everything under it. A short laptop window keeps
   its own sizes. */
@media (max-width: 899px) {
  /* :root lifts the Outputs' rules over their own sizes, which come later in this file. */
  #console-original-caption, #console-original-caption[data-original-available], #session-monitor-caption, #test-caption, #test-original,
  :root :is(.output-pane-caption, .output-pane-original) { font-size: var(--t-16); line-height: 1.35; }
  :root .output-pane-glass { padding: var(--s2) var(--s3) var(--s3); }
  /* The strip only says where the meeting is: each step's mark and its word, and no key among them. */
  #console-strip { display: flex; justify-content: space-between; gap: var(--s2); }
}
/* The two-line reading applies at ordinary type. Both enlarged-text paths let the final line flow. */
@media (max-width: 899px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root:not([data-text="200"]) :is(#console-original, #session-monitor, #test-preview) { flex: none; block-size: auto; height: auto; min-height: 0; }
  /* The space above the words stands outside their scrolling box, so no sliver of the line before the newest shows in it. */
  :root:not([data-text="200"]) #console-original-caption { flex: none; box-sizing: content-box; block-size: 2lh; margin-block-start: var(--s2); padding-block: 0 var(--s2); }
  :root:not([data-text="200"]) :is(#session-monitor-caption, #test-caption) { flex: none; box-sizing: content-box; block-size: 2lh; min-height: 0; max-block-size: none; margin-block: var(--s1) 0; }
  :root:not([data-text="200"]) #test-original { box-sizing: content-box; block-size: 2lh; overflow-y: auto; }
  /* An Output of several holds one line of words, which shows its end: the newest words, two lines of them at most. */
  :root:not([data-text="200"]) :is(.output-pane-caption, .output-pane-original) { display: flex; flex-direction: column; justify-content: flex-end; box-sizing: content-box; block-size: 2lh; margin-block-start: var(--s1); padding-block-start: 0; overflow: hidden; }
  :root:not([data-text="200"]) .output-pane-original:is(:empty, [hidden]) { display: none; }
  /* A glass that holds its audience's message and not running words (before Start, after End) reads it from its start, in the same
     two lines, and ends it with an ellipsis: following the newest words kept the message's end and cut "Meeting ended." off its top.
     clip, not hidden, so the follow's scroll cannot move it. */
  :root:not([data-text="200"]) #session-monitor:has(#session-monitor-pill:not([data-presentation="live"])) #session-monitor-caption,
  :root:not([data-text="200"]) .output-pane:has(.output-pane-pill:not([data-presentation="live"])) .output-pane-caption {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: clip; }
  :root:not(.has-advanced-console) #room-section:has(#console-dock[data-deck-tone="off"]:not([inert]))
    :is(#session-monitor:has(#session-monitor-pill[data-presentation="waiting"]) #session-monitor-caption,
        .output-pane:has(.output-pane-pill[data-presentation="waiting"]) .output-pane-caption) {
    display: block; -webkit-line-clamp: unset; block-size: auto; min-block-size: 2lh; }
}
/* At large text the strip keeps its two columns, as before the phone's first slice: in one row of four steps, French "Terminer" ran
   past a 390 px window at 200 % text (on-air-band, train h's run of 5 November). :where() leaves the enlarged dock's hiding to win. */
@media (max-width: 899px) and (max-width: calc((1em - 16.5px) * 1000000)) { #console-strip { display: grid; } }
@media (max-width: 899px) { :where(:root[data-text="200"]) #console-strip { display: grid; } }
/* Test Translation on a phone: a row of its own above the words it fills, its key and, beside it, what it does. */
#console-test-flow[data-row] { order: 1; display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); }
#console-test-flow[data-row] .key { flex: none; inline-size: auto; max-inline-size: 60%; min-height: 56px; padding: var(--s1) var(--s3); }
#console-test-flow[data-row] .key .k-sub { display: none; }
#console-test-why { flex: 1 1 0; min-inline-size: 0; margin: 0; font-size: var(--t-14); line-height: 1.35; color: var(--ink-2); overflow-wrap: anywhere; }
#console-test-flow:not([data-row]) #console-test-why { display: none; }
/* An ordinary phone gives its page to the meeting: the leave note sits at the foot of the list of words, under the last Output, and a
   Room of several Outputs leaves Simple's setup card off its head, as a Room of one and Advanced already do (the drawn moments). */
@media (max-width: 899px) and (min-height: 601px) {
  .has-phone-dock #session-leave-note { order: 2; }
  /* A status line with nothing to say takes no band of the page: out of the column, and still in the page for what it will announce. */
  .has-phone-dock .console-status-line:not(:has(> p:not(:empty):not([data-said-above]))) { position: absolute; }
  :root:not([data-text="200"]).has-several-panes #console-summary-card { display: none; }
}
:root[data-text="200"] #console-audience { display: flex; flex-direction: column; }
@media (max-width: calc((1em - 16.5px) * 1000000)) {
  #console-audience { display: flex; flex-direction: column; }
  #console-summary-row { flex-direction: column; align-items: flex-start; }
  #console-original { min-height: 140px; }
}

#room-name .pen svg { display: block; width: 24px; height: 24px; }

/* The app arrives in its console frame before JavaScript or a cached account. Manage destinations draw their own frame. */
#app-main:where(:not(:has(> :is(.manage, #admin-section):not([hidden])))) {
  display: flow-root; inline-size: 100%; max-inline-size: none; margin-block: 0;
  padding: 20px 32px 32px; border: 0; border-radius: 0; background: transparent;
}
#app-main:where(:not(:has(> :is(.manage, #admin-section):not([hidden])))) > h1 { display: none; }
#app-main > #auth-status { margin: 0; }
@media (max-width: 899px), (max-height: 600px) {
  #app-main:where(:not(:has(> :is(.manage, #admin-section):not([hidden])))) { padding: 8px 16px 24px; }
}

.session-diagnostics { margin-block: var(--s3); padding: var(--s3); border: 1px solid var(--rule); border-radius: var(--r-key); overflow-wrap: anywhere; }
.session-diagnostics .sw { inline-size: 100%; min-block-size: var(--target); white-space: normal; text-align: start; }
.session-diagnostics .sw-l { min-inline-size: 0; overflow-wrap: anywhere; }
.session-diagnostics p { margin-block: var(--s2) 0; color: var(--ink-2); font-size: var(--t-14); }
.session-diagnostics > summary { min-block-size: var(--target); align-content: center; cursor: pointer; font-size: var(--t-14); }
.session-diagnostics[open] > summary { margin-block-end: var(--s2); }

/* ADVANCED: ONE CONTROL PANEL AT A SECOND DENSITY (advanced-rooms-home; rulings, The Room and The Advanced panel). The Simple console's card
   and four keys stay in the reading-start column, two by two, and the Original words sit over one pane per Output beside them, each at
   least 260 px wide (the reference's room.css), as many columns as fit and one column below that. It is a view setting, nothing else: on a
   phone, in a short window and at 200 % text the console keeps the one order it has, the panes one under another. SIMPLE TAKES THE SAME LAYOUT WITH
   A ROOM OF SEVERAL OUTPUTS (simple-room-shows-every-output; root class has-several-panes): "2 languages is just a simple variant of many languages", so
   a Room of two or four draws a pane for each as Advanced does, and a Room of one draws as it always has. */
:root:is(.has-advanced-console, .has-several-panes) #room-section { max-width: none; }
#console-more-panes { display: contents; }
/* A pane's Link key, Simple's: beside the language on the paper header, small and quiet; it opens the sheet of audience links at this Output. */
.output-pane-link[hidden], #session-monitor-link[hidden] { display: none; }
/* AN OUTPUT'S SHEET, A PHONE'S (rulings M6). An Output's row holds its words, its state and Listen; its name, ended by a chevron, opens its
   sheet, which holds its Audience link, Show QR and, in Advanced, This Output only: the row's own parts, lent to the sheet while it is open.
   OWNER, 2026-11-05, asked whether Show QR and the Audience link move off each phone row into the Output's own sheet: "Yes, move them." */
#app-main .output-name, #app-main .output-name:hover { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; max-inline-size: 100%;
  min-block-size: var(--target); margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit;
  font-weight: inherit; text-align: start; overflow-wrap: anywhere; cursor: pointer; }
.output-name::after { content: ""; flex: none; inline-size: 7px; block-size: 7px; margin-block-start: -4px; margin-inline-end: 3px; border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor; transform: rotate(45deg); }
@media (max-width: 899px), (max-height: 600px) {
  :root :is(#session-monitor-head, .output-pane-head, #test-preview-head) :is(#session-monitor-link, .output-pane-link, #session-monitor-show-qr, .output-pane-switch) { display: none; }
  :root.has-advanced-console :is(#session-monitor-head, .output-pane-head) :is(#session-monitor-keys, .output-pane-keys) { display: none; }
  /* Not even its room, which an unread Room keeps for it on a laptop's row. */
  :root.has-room-unread :is(#session-monitor-head, .output-pane-head, #test-preview-head) :is(#session-monitor-show-qr, .output-pane-switch)[hidden] { display: none !important; }
}
#console-output-sheet-body { display: flex; flex-direction: column; align-items: stretch; gap: var(--s4); margin-block-start: var(--s3); }
#console-output-sheet-body .share-language { display: none; }
#console-output-sheet-body > :is(#permanent-output, .share-row) { margin: 0; }
#console-output-sheet-body :is(#session-monitor-show-qr, .output-pane-switch) { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  max-inline-size: 100%; min-block-size: var(--target); margin: 0; 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; }
/* The switch stands at the far end of the QR heading. Keep even a long wait within the edge of the sheet. */
#console-output-sheet-body :is(#session-monitor-show-qr, .output-pane-switch) > .sw-v { inset-inline-start: auto; inset-inline-end: var(--s2); }
/* As on a row: a border under the pointer, which gives way to the wait's word under the track. */
@media (hover: hover) { #console-output-sheet-body :is(#session-monitor-show-qr, .output-pane-switch):hover { border-color: currentColor; } }
#console-output-sheet-body :is(#session-monitor-show-qr, .output-pane-switch):has(> .sw-v):hover { border-color: transparent; }
#console-output-sheet-body :is(#permanent-output, .share-row, #session-monitor-show-qr, .output-pane-switch, #session-monitor-keys, .output-pane-keys)[hidden] { display: none; }
/* Board 1.10. The message occupies its own first row, so its entrance cannot paint through the title.
   The sheet grows upwards from the bottom. On a short screen the actions scroll below the heading. */
#console-output-sheet[open] {
  position: fixed; inset-block: auto 0; inset-inline: 0; box-sizing: border-box; inline-size: auto; max-inline-size: none;
  max-block-size: calc(100dvh - var(--s3)); margin: 0; display: flex; flex-direction: column;
  padding: var(--s3) var(--s3) max(var(--s4), env(safe-area-inset-bottom)); border: 0;
  border-radius: var(--menu-sheet-radius) var(--menu-sheet-radius) 0 0; background: var(--paper-2);
}
#console-output-sheet > .msgs { position: static; order: -1; flex: none; align-self: stretch; margin: 0; width: auto;
  max-block-size: 40dvh; overflow-y: auto; }
#console-output-sheet > .msgs:not(:empty) { margin-block-end: var(--s2); }
#console-output-sheet > div:first-child { flex: none; align-items: center; gap: var(--s2); }
#console-output-sheet-title { margin: 0; margin-inline-end: auto; font-size: var(--t-18); overflow-wrap: anywhere; }
#console-output-sheet-settings:not([hidden]), #console-output-sheet-close { display: grid; place-items: center; flex: none; box-sizing: border-box; inline-size: var(--target); block-size: var(--target);
  padding: 0; border: 1px solid var(--rule); border-radius: var(--r-key); background: var(--paper-2); font-size: var(--t-22); line-height: 1; }
#console-output-sheet-body { min-block-size: 0; overflow: auto; overscroll-behavior: contain; }
#console-output-sheet-body > :is(#permanent-output, .share-row) { display: grid; gap: var(--s3); }
#console-output-sheet-body :is(#permanent-output, .share-row) > .share-group {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: var(--s2); }
#console-output-sheet-body .share-group--link > :is(.share-cap, a) { grid-column: 1 / -1; }
#console-output-sheet .share-cap { display: block; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); }
#console-output-sheet-body .share-group--qr > .share-cap { grid-row: 1; grid-column: 1; }
#console-output-sheet-body .share-group--qr > [role="switch"] { grid-row: 1; grid-column: 2; justify-self: end; }
#console-output-sheet-body .share-group--qr > .share-qr { grid-row: 2; grid-column: 1; }
#console-output-sheet-body :is(#permanent-output, .share-row) .share-keys {
  display: grid; grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s1); }
#console-output-sheet-body :is(#permanent-output, .share-row) .share-key {
  box-sizing: border-box; inline-size: 100%; min-inline-size: 0; block-size: auto; min-block-size: var(--target);
  flex-wrap: wrap; align-content: center; justify-content: center; gap: var(--s1); padding: var(--s1); }
#console-output-sheet-body :is(#permanent-output, .share-row) .share-key::after {
  position: static; display: block; content: attr(aria-label); inline-size: auto; min-inline-size: 0; max-inline-size: 100%; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: inherit; font-size: var(--t-14); line-height: 1.2; text-align: start; white-space: normal; overflow-wrap: anywhere; }
.share-language { font-weight: 700; font-size: var(--t-14); }
.share-language[hidden] { display: none; }
#console-share-rows[hidden] { display: none; }
#console-share-rows { display: flex; flex-direction: column; gap: var(--s2); }
.operator-console-share-pop .share-row, .operator-console-share-pop #console-share-rows { margin-top: var(--s3); }
.operator-console-share-pop .share-row { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.operator-console-share-pop .share-row .share-language, .operator-console-share-pop #permanent-output .share-language { flex-basis: 100%; }
/* Several links in the dialog: each drawn as the card draws it, the QR small, so the links can be seen together. */
.operator-console-share-pop:has(#console-share-rows:not([hidden])) #permanent-output { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.operator-console-share-pop:has(#console-share-rows:not([hidden])) #output-qr { flex: none; display: inline-flex; }
.operator-console-share-pop:has(#console-share-rows:not([hidden])) #output-qr svg { inline-size: 44px; block-size: 44px; }
@media (hover: hover) {
  .operator-console-share-pop:has(#console-share-rows:not([hidden])) #permanent-output .share-group--qr { align-items: center; }
  .operator-console-share-pop:has(#console-share-rows:not([hidden])) #permanent-output .share-group--qr .share-keys { flex-direction: row; }
  .operator-console-share-pop:has(#console-share-rows:not([hidden])) #output-link { font-weight: 400; }
}
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); min-width: 0; }
.share-row[hidden] { display: none; }
.share-row .share-qr { display: inline-flex; flex: none; }
.share-row .share-qr svg { width: 44px; height: 44px; }
#app-main .share-row .share-group--link a { border: 0; border-radius: 0; background: transparent; padding: 0 4px 0 0; text-decoration: none; min-width: 0; overflow-wrap: anywhere; font-size: var(--t-16); font-weight: 700; font-family: var(--font-nums); }

/* A pane past the first, drawn as the first is: a paper header for the operator over the glass, a mockup of what its audience will see. */
.output-pane { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); color: var(--ink); overflow: hidden; }
.output-pane-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); min-block-size: calc(var(--target) + 2 * var(--s2)); padding: var(--s2) var(--s4); border-bottom: 1px solid var(--rule); }
.output-pane-heading { margin: 0; font-size: var(--t-16); }
.output-pane-switch { margin-inline-start: auto; }
/* A press of Test Translation on a pane: the private pill, its leg's note and its Listen, all on the paper, for the operator (design/reference av/room-test). */
/* The private pill: a double edge, so it is never mistaken for pencil (design/code/styles/controls.css, .pill--private), which the console's sheets do not otherwise carry. */
.output-pane-test-pill, #test-preview-pill { display: inline-flex; margin: 0; padding: 2px 10px; border: 3px double var(--ink-2); border-radius: var(--r-pill); color: var(--ink); font-size: var(--t-14); font-weight: 700; line-height: 1.35; white-space: nowrap; }
.output-pane-test-pill:empty { display: none; }
.output-pane-test-note { flex-basis: 100%; margin: 0; font-size: var(--t-14); color: var(--ink-2); }
.output-pane-test-note:empty { display: none; }
.output-pane-original:empty { display: none; }
.output-pane-original { margin-block-start: auto; padding-block-start: var(--s2); font-size: var(--t-22); line-height: 1.25; overflow-wrap: anywhere; }
.output-pane-original[hidden] { display: none; }
.output-pane-caption:empty:has(+ .output-pane-original:not([hidden])) { display: none; }
.output-pane-switch[hidden] { display: none; }
.output-pane-status { flex-basis: 100%; margin: 0; font-size: var(--t-14); color: var(--ink-2); }
.output-pane-status:empty { display: none; }
/* An Output's own keys, the marked exception: one level down from the Room's, small, quiet and marked as this Output's only (per-output-controls-exception). */
.output-pane-keys { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); }
.output-pane-keys[hidden] { display: none; }
.output-pane-keys .key[hidden] { display: none; }
.output-pane-glass { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; padding: var(--s3) var(--s4) var(--s4); background: var(--glass); color: var(--glass-ink); font-family: var(--font-words); }
.output-pane-identity { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
/* The room screen's QR in the glass's corner while this Output's Show QR is on, as the first pane marks its own (show-qr-per-output): as tall as
   the identity row and the padding above it, so the row keeps its line and the mark never covers the words. */
.output-pane-glass { --pane-qr: calc(var(--s3) + var(--t-14) * 1.4 + 6px); }
.output-pane-qr { position: absolute; inset-block-start: var(--s1); inset-inline-end: var(--s1); inline-size: var(--pane-qr); block-size: var(--pane-qr); }
.output-pane-qr[hidden] { display: none; }
.output-pane-qr svg { display: block; inline-size: 100%; block-size: 100%; }
.output-pane-glass[data-room-qr="on"] .output-pane-identity { padding-inline-end: calc(var(--pane-qr) + var(--s1)); }
.output-pane-language { flex: none; margin: 0; font-size: var(--text-pill-size); font-weight: var(--text-pill-weight); line-height: var(--text-pill-leading); }
.output-pane-pill { min-inline-size: 0; margin: 0; padding: 2px var(--s3); border: 1px solid currentColor; border-radius: var(--r-pill); color: var(--glass-ink-2); font-size: var(--text-pill-size); font-weight: var(--text-pill-weight); line-height: var(--text-pill-leading); overflow-wrap: anywhere; }
.output-pane-pill:empty { display: none; }
.output-pane-pill::before { content: ""; display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: var(--s1); border-radius: 50%; background: currentColor; vertical-align: 0.1em; }
.output-pane-pill[data-presentation="live"] { color: var(--live); }
.output-pane-pill[data-presentation="recovery"] { color: var(--attn); }
.output-pane-caption { margin-block-start: auto; padding-block-start: var(--s4); font-size: var(--t-22); line-height: 1.25; overflow-wrap: anywhere; }
/* The Room shows the ground the Overlay sends to the screen or switcher, right to the edges of its thumbnail. */
.output-pane--overlay .output-pane-glass { background: var(--ovl-ground, var(--overlay-preview-ground)); }
.output-pane-box { margin-block-start: auto; padding: var(--s2) var(--s3); color: var(--overlay-ink); font-weight: var(--text-label-weight); font-size: var(--text-label-size); line-height: var(--text-label-leading); overflow-wrap: anywhere; }
.output-pane-box:empty { display: none; }

/* AN OVERLAY'S PANE (overlay-av): how it is arranged, mirrored on a 16:9 stage, and what its screen last said. The same custom properties as the Overlay's
   own page (overlay-look.ts) set its ground, caption ink and margins. */
#console-overlays { display: contents; }
#console-overlays[hidden] { display: none; }
.overlay-pane-glass { padding: 0; }
/* An Output's paper has its Show QR switch to hold the header's first line at a key's height; an Overlay's has none. Its line holds the Test pill's instead (.output-pane-test-pill), so a press
   begins and its pane does not move. */
.output-pane--overlay .output-pane-heading { display: flex; align-items: center; min-block-size: calc(var(--t-14) * 1.35 + 10px); }
.overlay-stage { position: relative; flex: 1; aspect-ratio: 16 / 9; min-block-size: 0; overflow: hidden; container-type: inline-size; background: var(--ovl-ground, var(--overlay-preview-ground)); }
.overlay-stage-box { position: absolute; top: var(--ovl-top); bottom: var(--ovl-bottom); left: var(--ovl-left); right: var(--ovl-right); display: flex; align-items: flex-end; overflow: hidden; padding: 0.2em 0.4em; color: var(--ovl-ink-0); font-family: var(--ovl-font); font-size: max(calc(var(--ovl-size) * 0.5625cqw), var(--t-12)); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.overlay-stage-qr { position: absolute; top: 4%; right: 2.25%; display: grid; place-items: center; inline-size: 16.875%; aspect-ratio: 1; border-radius: 2px; background: var(--overlay-preview-qr-paper); color: var(--overlay-preview-qr-ink); font-size: var(--t-12); font-weight: 700; }
.overlay-stage-qr[hidden] { display: none; }
.overlay-pane-foot { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s3) var(--s4); border-top: 1px solid var(--rule); }
.overlay-pane-foot :is(.key, .icon-key) { text-decoration: none; }
:is(.operator-console, .operator-console-share-pop) .icon-key :is(.k-label, .k-sub), #app-main .icon-key :is(.k-label, .k-sub) { display: none; }
.output-pane--overlay > .overlay-more { margin: 0 var(--s4) var(--s2); }
.overlay-more { flex-basis: 100%; font-size: var(--t-14); }
.overlay-more-name { min-block-size: var(--target); display: flex; align-items: center; gap: var(--s1); font-weight: 700; cursor: pointer; }
.overlay-more-name::before { content: "▸"; }
.overlay-more[open] .overlay-more-name::before { content: "▾"; }
.overlay-more-keys { display: flex; flex-wrap: wrap; gap: var(--s2); padding-block-start: var(--s1); }
.overlay-pane-note { margin: 0; padding: 0 var(--s4); font-size: var(--t-14); color: var(--ink-2); overflow-wrap: anywhere; }
.overlay-pane-note:not(:empty) { padding-block-end: var(--s3); }
/* Launching one sits under every pane, across them. It has a place in every state, so nothing moves when a Session starts. */
#console-overlay-launch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); padding: var(--s2) var(--s4); border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); color: var(--ink); }
#console-overlay-launch[hidden] { display: none; }
.overlay-launch-h { margin: 0; font-size: var(--t-16); }
.overlay-launch-keys { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }
.overlay-launch-status { flex-basis: 100%; margin: 0; font-size: var(--t-14); color: var(--ink-2); }
.overlay-launch-status:empty { display: none; }
/* A phone fitted to its window has no room under the one pane: an Overlay is launched where there is, and one that exists gives the panes the page. */
.has-console-viewport #console-overlay-launch { display: none; }

/* Any number of Outputs: the line wraps at every width, and nothing in it is cut, the Audio Input's name included. */
:root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow { flex-wrap: wrap; white-space: normal; }
:root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow > * { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
:root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow > #console-flow-input { overflow: visible; white-space: normal; }
/* A Room whose speakers use other languages (speakers-may-also-use-configure): its Input Language reads "English (+ French, Spanish)", too long for the one line the nowrap rule above keeps
   whatever the input is called, which would squeeze the Audio Input out and spill the languages past the card. It wraps as for any number of Outputs, and nothing in it is cut. */
:root:not([data-text="200"]) #console-flow[data-spoken] { flex-wrap: wrap; white-space: normal; }
:root:not([data-text="200"]) #console-flow[data-spoken] > * { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
:root:not([data-text="200"]) #console-flow[data-spoken] > #console-flow-input { overflow: visible; white-space: normal; }
@media (min-width: 900px) and (min-height: 601px) {
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) .operator-console { grid-template-columns: minmax(360px, 420px) minmax(0, 1fr); gap: var(--s4); align-items: start; }
  /* The card and the keys stay in view while the panes scroll past them, however many Outputs there are (the reference's pinned keys). */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-controls { position: sticky; top: calc(var(--s2) + var(--bars-h)); gap: var(--s2); min-block-size: calc(100dvh - 215px); }
  /* One shared row beneath the Room and its panes keeps the actions in left-to-right order. */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #room-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: 0; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) .operator-console-keys > .key { min-height: 72px; padding-block: var(--s1); }
  /* The flow line: the languages on the first line, then the one Audio Input with its level, and Configure the room at the line's end. */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow { display: contents; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow::before { content: ""; order: 4; flex: 0 0 100%; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow > * { flex: none; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow-from { order: 1; font-weight: 700; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow-arrow-in { display: none; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow-arrow-out { order: 2; font-weight: 700; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow > #console-flow-to { order: 3; flex: 1 1 12rem; min-width: 0; font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow > #console-flow-input { order: 5; flex: 1 1 8rem; min-width: 0; font-weight: 400; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-flow-meter { order: 6; margin-inline-start: 0; }
  /* Each Output's sharing keys stand in two groups under their headings, as each Output's card on board 3.4 stands them: under its language, the Audience link,
     its address over its three keys, then the QR code, its picture beside its three keys (advanced-sharing-keys-in-named-groups; the pattern's rule 3 on every
     screen, "Two things are never one group"). The link's group takes the room the code's leaves, so a longer address wraps inside it and moves no key. */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) :is(#console-summary-card #permanent-output, #console-summary-card .share-row) { flex-wrap: wrap; align-items: start; gap: 2px var(--s3); padding-block-start: var(--s1); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-language { flex: 0 0 100%; min-width: 0; overflow-wrap: anywhere; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-group { display: grid; align-items: center; justify-items: start; gap: 2px var(--s1); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-group > .share-cap { display: block; grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); line-height: var(--text-caption-leading); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-group--link { order: 1; flex: 1 1 0; grid-template-columns: minmax(0, 1fr); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-group--qr { order: 2; flex: none; grid-template-columns: auto auto; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-group--link a { max-inline-size: 100%; padding-inline-end: 0; justify-content: flex-start; text-align: start; font-size: var(--t-14); overflow-wrap: anywhere; }
  /* The first Output's address is drawn at the size of every other's, so production's fits its line at 1,000 px. */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #app-main #console-summary-card #permanent-output #output-link { font-size: var(--t-14); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-audience { display: flex; flex-direction: column; gap: var(--s3); min-block-size: calc(100dvh - 215px); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-original { flex: none; block-size: auto; min-height: 0; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-original-head { min-height: 0; padding: var(--s1) 16px; }
  /* Shrunk to a line or two over the panes; arriving words scroll inside them and never move the panes. */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-original-caption { flex: none; block-size: 4.6em; padding: var(--s2) 16px; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-original-caption[data-original-available] { font-size: var(--t-16); line-height: 1.3; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-output-pane { display: grid; flex: 1; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--s3); align-items: stretch; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) :is(#session-monitor, #test-preview) { block-size: auto; height: auto; min-height: 16rem; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) :is(#session-monitor, #test-preview)[hidden] { display: none; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #session-monitor-head { min-height: 0; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #session-monitor-glass { flex: 1; padding: var(--s3) var(--s4) var(--s4); padding-block-start: calc(var(--s3) + var(--pill-row) * var(--pill-rows, 1)); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #session-monitor-identity { inset-block-start: var(--s3); inset-inline-start: var(--s4); }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #session-monitor-caption { flex: 0 1 auto; min-height: 0; margin-top: auto; font-size: var(--t-18); line-height: 1.3; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) .output-pane { min-height: 16rem; }
}

/* A phone's card is its Share key's dialog, as Simple's is: every sharing row is there, and the panes have the page. */
@media (max-width: 899px) and (min-height: 601px) {
  :root:not([data-text="200"]).has-advanced-console #console-summary-card { display: none; }
}
/* Simple's several Outputs in a narrow or short window (simple-room-shows-every-output): their sharing boxes are the Share key's dialog, as Advanced's are, and the card keeps
   the flow line and the estimate, which Simple's phone has no other place for. */
@media (max-width: 899px), (max-height: 600px) {
  :root.has-several-panes #console-summary-card #console-share-home { display: none; }
}

/* With a fine pointer, three audience links and the estimate fit a 1,280 × 800 window whole above the keys. A coarse pointer keeps its 44 px. */
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card :is(.share-key, .share-qr svg) { inline-size: 36px; block-size: 36px; min-block-size: 36px; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-key svg { inline-size: 20px; block-size: 20px; }
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card { --qr-size: 36px; }
  /* The address over its keys is a line of words, as board 3.4 draws it, and a target of 24 px, so three Outputs and the estimate still fit a 1,280 × 800 window
     above the keys (advanced-sharing-keys-in-named-groups). */
  :root:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-summary-card .share-group--link a,
  :root:not([data-text="200"]) #room-read-card .share-group--link a { min-block-size: 24px; }
}

/* A Room opened to be read. */
#app-main #room-read-section { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
#app-main #room-read-section[hidden] { display: none; }
#app-main:has(> #room-read-section:not([hidden])) { inline-size: 100%; max-inline-size: none; margin-block: 0; padding: 20px 32px 32px; border: 0; background: transparent; }
#app-main:has(> #room-read-section:not([hidden])) > #app-heading { display: none; }
#room-read-panes .output-pane { min-height: 16rem; }
#app-main #room-read-note-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); max-inline-size: none; margin: 0 0 var(--s3); padding: var(--s2) var(--s4); border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); }
#app-main #room-read-note-row[hidden] { display: none; }
#room-read-name-row { margin-bottom: var(--s3); }
#room-read-heading { margin: 0; font-size: var(--t-28); overflow-wrap: anywhere; }
#room-read-card { display: flex; flex-direction: column; gap: var(--s2); padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--paper-2); }
#room-read-card p { margin: 0; }
#room-read-flow { font-weight: 700; overflow-wrap: anywhere; }
#room-read-state { font-size: var(--t-14); color: var(--ink-2); }
#room-read-links { display: flex; flex-direction: column; gap: var(--s2); }
.room-read-controls { display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.room-read-keys { display: flex; flex-direction: column; align-items: stretch; gap: var(--s2); }
.room-read-keys [hidden] { display: none; }
/* Why Open and Take over are held back, naming the Room this window runs, and the way back to it (operator-rooms-surface.ts). */
.room-read-held { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: 0; overflow-wrap: anywhere; }
#room-read-panes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--s3); min-width: 0; }
@media (min-width: 900px) and (min-height: 601px) {
  :root:not([data-text="200"]) .room-read { grid-template-columns: minmax(360px, 420px) minmax(0, 1fr); gap: var(--s4); }
}
:root[data-text="200"] .room-read, .room-read { min-width: 0; }
@media (min-width: 900px) and (min-height: 601px) {
  /* The Room's card as the console's card draws it in Advanced: each Output's link and code in two groups under their headings (advanced-sharing-keys-in-named-groups). */
  :root:not([data-text="200"]) #room-read-card .share-row { flex-wrap: wrap; align-items: start; gap: 2px var(--s3); padding-block-start: var(--s1); }
  :root:not([data-text="200"]) #room-read-card .share-language { flex: 0 0 100%; min-width: 0; overflow-wrap: anywhere; }
  :root:not([data-text="200"]) #room-read-card .share-group { display: grid; align-items: center; justify-items: start; gap: 2px var(--s1); }
  :root:not([data-text="200"]) #room-read-card .share-group > .share-cap { display: block; grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); line-height: var(--text-caption-leading); }
  :root:not([data-text="200"]) #room-read-card .share-group--link { order: 1; flex: 1 1 0; grid-template-columns: minmax(0, 1fr); }
  :root:not([data-text="200"]) #room-read-card .share-group--qr { order: 2; flex: none; grid-template-columns: auto auto; }
  :root:not([data-text="200"]) #room-read-card .share-group--link a { max-inline-size: 100%; padding-inline-end: 0; justify-content: flex-start; text-align: start; font-size: var(--t-14); overflow-wrap: anywhere; }
}
@media (max-width: 899px), (max-height: 600px) {
  .room-read { display: flex; flex-direction: column; }
  #app-main:has(> #room-read-section:not([hidden])) { padding: 8px 16px 24px; }
  /* On a phone the Room's card keeps each Output's two groups under their headings, the Audience link first, as the laptop reads them. */
  #room-read-card .share-group { flex-wrap: wrap; }
  #room-read-card .share-group > .share-cap { display: block; flex: 0 0 100%; margin: 0; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); line-height: var(--text-caption-leading); }
  #room-read-card .share-group--link { order: 1; flex: 1 1 100%; }
  #room-read-card .share-group--qr { order: 2; flex: 1 1 100%; }
}

/* While the Room's read has not answered (has-room-unread, operator-console-view.ts) the console keeps the places the Room will fill, so its keys and panes do not move when it
   arrives: design 4.2.1, "nothing moves unless its state changed". The boxes the Room fills in are drawn from the first frame and unseen: on a laptop the Output rows, in the two
   rows the filled card has, and the Room's name, whose row holds the line that says why it is empty; on every width the pane's Show QR switch, which gives its head its height. They are
   hidden by attribute, which the page's `[hidden]` rule makes final, hence !important. A phone has no name row, so its line is read and not drawn. */
@media (min-width: 900px) and (min-height: 601px) {
  .has-room-unread #console-summary-card #permanent-output[hidden] { display: flex !important; flex-direction: column; align-items: flex-start; visibility: hidden; }
  .has-room-unread #room-section { position: relative; }
  .has-room-unread #room-name[hidden] { display: inline-flex !important; visibility: hidden; }
  .has-room-unread #room-status:not(:empty) { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; min-height: var(--target); margin: 0; }
}
@media (max-width: 899px), (max-height: 600px) {
  .has-room-unread #room-status:not(:empty) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* The save under way is said at the end of the Room's name row, where it takes no room, as Configure's is at the end of its crumb's row (chrome.css). As a row of its own above the console it
   pushed every key and pane down by its height for the length of each save, and back when the save was answered: design 4.2.1, "nothing moves unless its state changed". A refusal or a failed
   read stays a row: it is a state, and holds. A phone has no name row, so there the words are read and not drawn, as the loading line's are. */
@media (min-width: 900px) and (min-height: 601px) {
  #room-section:has(> #room-status[data-saving]) { position: relative; }
  #room-status[data-saving] { position: absolute; inset-block-start: 0; inset-inline-end: 0; max-inline-size: calc(100% - 6em); margin: 0; overflow: hidden; font-size: var(--t-14); line-height: var(--target); text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 899px), (max-height: 600px) {
  #room-status[data-saving] { position: absolute; inline-size: 1px; block-size: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.has-room-unread #session-monitor-show-qr[hidden] { display: inline-flex !important; visibility: hidden; }
/* A Room of several links is drawn from what the console last saw of it (operator-console-memory.ts): the flow line, a row for each link and a pane for each Output are in the places the Room's
   will be, unseen, so the keys and what is below them sit where they will. A pane is shown once the read has answered, and not before: its height is its words', which come from its Output's own
   language file, so one shown first would grow when they arrive. */
.has-room-unread :is(#console-flow, #console-share-home) { visibility: hidden; }
.has-room-unread :is(#session-monitor, .output-pane) { visibility: hidden; }
.has-room-unread #session-monitor-heading:empty { min-block-size: var(--target); }
.has-room-unread #session-monitor-heading:empty::before { content: "\00a0"; }
.has-room-unread .output-pane-switch[hidden] { display: inline-flex !important; visibility: hidden; }
/* The reserved name is one empty line of the name's own text, so the row has the height and the baseline the name will give it. */
.has-room-unread #room-name-value:empty::before { content: "\00a0"; }

/* THE CONSOLE FITS A LANDSCAPE WINDOW (console-fits-a-landscape-window). OWNER, 2026-11-06, with a screenshot of Advanced, two Outputs and two Overlays: "The size of the preview text windows is MUCH
   too long, filling up the screen and making the windows unusable. It should all fit within a normal landscape view." A pane was as tall as its words, so twenty lines of them pushed the Overlays'
   keys out of the window. From 900 px wide and 601 px tall the console is as tall as the window under the band, as the phone's fitted console is: the Room card and the keys keep their column, the
   panes share the height of the column beside it in fixed shares, and each scrolls its own words, the newest at its foot. The console's frame scrolls only if what does not scroll (the card,
   the keys, the strips) is itself taller than the window, with the bars above it as before. */
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root.has-start-console:not([data-text="200"]):not(:where(:has(#app-main > .reading:not([hidden])))) body { display: flex; flex-direction: column; height: 100dvh; }
  :root.has-start-console:not([data-text="200"]):not(:where(:has(#app-main > .reading:not([hidden])))) :is(#product-chrome, #on-air-band) { flex: none; }
  /* Keep a clear message slot above the Original pane: it and the full-width step keys otherwise leave the message nowhere to land. */
  :root.has-start-console:not([data-text="200"]):not(:where(:has(#app-main > .reading:not([hidden])))) #app-main { flex: 1; min-height: 0; width: 100%; margin-block: 0; padding-block: 44px var(--s3); overflow: auto; }
  :root.has-start-console:not([data-text="200"]) #room-section:not([hidden]) { display: flex; flex-direction: column; height: 100%; }
  :root.has-start-console:not([data-text="200"]) #room-section > :is(#room-name-row, #room-status) { flex: none; }
  :root.has-start-console:not([data-text="200"]) .operator-console { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; row-gap: var(--s2); align-items: stretch; }
  :root.has-start-console:not([data-text="200"]) #console-controls { position: static; min-block-size: 0; }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) .operator-console-keys > .key { min-height: var(--target); }
  :root.has-start-console:not([data-text="200"]) #console-audience { min-block-size: 0; grid-auto-rows: minmax(0, 1fr); }
  /* Simple's one Output: the Original words and the pane share the column's height, and each scrolls its own words. */
  :root.has-start-console:not([data-text="200"]) :is(#console-original, #session-monitor, #test-preview) { block-size: auto; height: auto; min-height: 0; }
  :root.has-start-console:not([data-text="200"]) #console-output-pane { min-height: 0; }
  :root.has-start-console:not([data-text="200"]) #console-output-pane > :is(#session-monitor, #test-preview):not([hidden]) { flex: 1 1 auto; }
  /* Advanced's panes, and Simple's of several Outputs: equal shares of the height under the Original words, and each pane holds its words inside it. */
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-output-pane { flex: 1 1 0; min-height: 0; grid-template-columns: repeat(auto-fit, minmax(max(min(260px, 100%), calc((100% - (var(--console-outputs, 1) - 1) * var(--s3)) / var(--console-outputs, 1))), 1fr)); }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) :is(#session-monitor, #test-preview, .output-pane:not(.output-pane--overlay)) { min-height: 0; }
  :root.has-start-console:not([data-text="200"]) .output-pane-glass { min-height: 0; }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) { padding-block: var(--s1); min-block-size: calc(var(--target) + 2 * var(--s1)); }
  :root.has-start-console:not([data-text="200"]) :is(#session-monitor-heading, .output-pane-heading) { overflow-wrap: break-word; }
  :root.has-start-console:not([data-text="200"]) .output-pane-caption { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-original-caption { block-size: clamp(2lh, 5.5vh, 4.6em); padding-block: 0; }
  /* The rows of panes take what the Overlays' strips leave, in equal shares: an Output's pane is as tall as its row whatever its words, so no word moves anything. Its intrinsic height is the window's,
     which no words change, and the row it stands in shrinks to what is left. */
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-output-pane { grid-auto-rows: auto; gap: var(--s1); }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) :is(#session-monitor, #test-preview, .output-pane:not(.output-pane--overlay)) { contain: size; contain-intrinsic-block-size: 100vh; }
  /* An Overlay is a strip across the panes' width: its mirror, kept at 16:9, its name and state, and its keys, in one row where the width holds them and the keys under the rest where it does not. */
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--s2); min-block-size: min-content; padding-inline: var(--s3); }
  /* The pill has its column before a Test starts as well as during it: adding it cannot wrap the heading or grow the strip. */
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay > .output-pane-head { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) 9em; row-gap: 0; flex: 1 1 14rem; min-block-size: 0; min-inline-size: 0; padding: 0; border-bottom: 0; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .output-pane-heading { grid-column: 1; grid-row: 1; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .output-pane-test-pill { grid-column: 2; grid-row: 1; justify-self: start; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay :is(.output-pane-status, .output-pane-test-note) { grid-column: 1 / -1; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .output-pane-status { line-height: 1.2; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay > .overlay-pane-glass { order: 1; flex: none; inline-size: 5rem; margin-block: 0; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .overlay-stage { flex: none; inline-size: 100%; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay > .overlay-pane-foot { order: 3; flex: 0 1 auto; align-items: center; padding: 0; border-top: 0; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .overlay-pane-foot > .key:not(.icon-key) { flex: 1 1 0; min-inline-size: min-content; overflow-wrap: break-word; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .overlay-pane-foot > .overlay-open:not(.icon-key) { flex: 2 1 0; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .overlay-pane-foot > .key:not(.icon-key) { padding-block: var(--s1); padding-inline: var(--s2); }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay .overlay-more-name { min-block-size: var(--target); }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay > .overlay-more { order: 4; flex: 0 0 auto; margin: 0; }
  :root.has-start-console:not([data-text="200"]) .output-pane--overlay > .overlay-pane-note { order: 4; flex-basis: 100%; padding-inline: 0; }
  /* The launch key’s card keeps its explanation behind the information key. */
  :root.has-start-console:not([data-text="200"]) #console-overlay-launch { flex-wrap: nowrap; padding-block: var(--s1); }
  :root.has-start-console:not([data-text="200"]) .overlay-launch-keys { flex: 0 1 auto; min-inline-size: 0; }
  :root.has-start-console:not([data-text="200"]) .overlay-launch-key { flex: none; }
  :root.has-start-console:not([data-text="200"]) #console-audience { gap: 6px; }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #session-monitor-glass { padding-block: var(--s2); padding-block-start: calc(var(--s1) + var(--pill-row) * var(--pill-rows, 1)); }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #session-monitor-identity { inset-block-start: var(--s1); }
  :root.has-start-console:not([data-text="200"]) .output-pane:not(.output-pane--overlay) > .output-pane-glass { padding-block: var(--s2); }
  /* Keep the gap outside the scrolling words: internal padding exposed fragments of an older line above the newest words. */
  :root.has-start-console:not([data-text="200"]) .output-pane:not(.output-pane--overlay) .output-pane-identity { margin-block-end: var(--s1); }
  :root.has-start-console:not([data-text="200"]) .output-pane:not(.output-pane--overlay) .output-pane-caption { padding-block-start: 0; }
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) #console-original-head { padding-block: 2px; }
}
/* In a window under 1,100 px the card's column gives up its width to the panes, so two Outputs still stand side by side at no less than 260 px each. */
@media (min-width: 900px) and (max-width: 1099px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) .operator-console { grid-template-columns: 360px minmax(0, 1fr); }
}
/* The three-line funded estimate needs one more 19.6 px line than the old reservation. Below about 732 px tall the card and
   60 px keys no longer fit together; use the existing 44 px target so neither the card nor its keys overlap or leave the frame. */
@media (min-width: 900px) and (min-height: 601px) and (max-height: 732px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root.has-start-console:not([data-text="200"]):is(.has-advanced-console, .has-several-panes) .operator-console-keys > .key { min-height: var(--target); }
}

/* Owner's part 1 review, 2026-11-08: the console preview repeats its heading's language, and the audience figures and keys use too many rows. */
:is(#session-monitor-language, .output-pane:not(.output-pane--overlay) .output-pane-language) { display: none; }
@media (min-width: 900px) and (min-height: 601px) {
  :is(#session-monitor-caption, #test-caption, #test-original, .output-pane:not(.output-pane--overlay) .output-pane-caption, .output-pane-original) { font-size: var(--t-18); line-height: 1.3; }
}
.overlay-launch-about { display: inline-flex; align-items: center; }
@media (min-width: 900px) and (min-height: 601px) {
  #room-actions { grid-column: 1 / -1; }
}

.output-card-count { display: inline-flex; flex: none; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.output-card-count[data-count="reached"] { color: var(--ink); }
.output-card-count[data-count="reached"] .icon { fill: currentColor; }
.output-card-count .icon { inline-size: 16px; block-size: 16px; }
.output-card-count[data-count="waiting"] .icon:nth-child(2), .output-card-count[data-count="reached"] .icon:first-child, .output-card-count[hidden] { display: none; }
.output-pane-counts-about { display: inline-flex; align-items: center; }
.output-head-detail, .output-head-controls { display: contents; }

/* Boards 3.4 and 3.11. The two bars and the word name an individually paused Output.
   Its time remaining is still available on the sign; a translating Output has no sign. */
.output-paused-sign { display: inline-flex; align-items: center; gap: 7px; color: var(--room-paused-ink); font: 700 var(--t-14)/1.2 var(--font-words); }
.output-paused-sign::before { content: ""; flex: 0 0 12px; block-size: 13px;
  background: linear-gradient(to right, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }
.output-paused-sign[hidden], .output-head-detail[data-own-pause] > :is(#session-monitor-status, .output-pane-status) { display: none; }

/* Size the row to the parts actually shown. The count travels with its explanation,
   and the QR switch with Pause and End. Their DOM order is also the keyboard order. */
:is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head:not(:has(.output-pane-test-pill:not(:empty)))) {
  container-type: inline-size;
  gap: var(--s1) var(--s2);
  > .output-head-detail { display: inline-flex; align-items: center; gap: var(--s1); max-inline-size: 100%; }
  /* Use the smaller caption size on a narrow head before the count needs a row. */
  > .output-head-detail > :is(#session-monitor-status, .output-pane-status) {
    flex-basis: auto; font-size: clamp(var(--t-12), 2.5cqi, var(--t-14)); overflow-wrap: normal; word-break: normal;
  }
  > .output-head-detail:not(:has(:is(#session-monitor-status, .output-pane-status):not(:empty), :is(.output-pane-counts-about, .output-card-count, .output-paused-sign):not([hidden]))) { display: none; }
}
@media (min-width: 900px) and (min-height: 601px) {
  /* The first private Test head puts Listen and QR together at its far edge, before its waiting count. */
  :root.has-advanced-console .output-pane:not(.output-pane--overlay) > .output-pane-head:has(.output-pane-test-pill:not(:empty)) {
    reading-flow: flex-visual;
    > :is(.output-pane-heading, .output-pane-test-pill, .listen-keys) { order: -2; }
    .output-pane-switch { order: -1; }
    &:has(> .listen-keys:not([hidden])) .output-pane-switch { margin-inline-start: 0; }
  }
  :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head:not(:has(.output-pane-test-pill:not(:empty)))) {
    > .output-head-controls { display: inline-flex; align-items: center; gap: var(--s2); max-inline-size: 100%; margin-inline-start: auto; }
    > .output-head-controls > .output-pane-keys { flex: none; flex-wrap: nowrap; }
    > .listen-keys { margin-inline-start: 0; }
  }
  /* Wrap a long captions-and-voice count at a word before pushing Listen onto another row. */
  :root.has-output-frame.has-advanced-console .output-head-detail { flex: 1 1 min-content; }
}

@media (min-width: 900px) and (min-height: 601px) {
  :root.has-four-console-outputs.has-start-console:not([data-text="200"]) #console-output-pane { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, calc((100% - var(--s3)) / 2))), 1fr)); }
}

/* These console explanations use the established small ringed i, within its full touch target. */
#app-main :is(.output-pane-counts-about, .overlay-launch-about) .info-key { padding: 0; border: 0; border-radius: var(--r-key); background: transparent; color: var(--ink-2); }
#app-main :is(.output-pane-counts-about, .overlay-launch-about) .info-key:hover { background: var(--paper-3); color: var(--ink); }

/* AN OUTPUT'S CARD HAS ONE HEAD (simple-console-output-card; design/patterns/room-console.md, Anatomy, rules 4 and 5). In Simple at laptop width every Output is a card, the cards stack one
   under another, and each head reads the eyebrow "Output", the Output Language, then at the far end the switch under its whole name, the Output's own Pause or Resume when the Room has
   several Outputs, and Listen. OWNER, 2026-11-10, of the keys that repeat down the list: "They should be aligned on their left border regardless of the width of the language." So each head
   is one grid whose far columns have fixed widths: the same key in each head starts at one edge with one width, whatever the language's name, and the switch takes one form in every
   head, which the console measures (fitPaneSwitch): its whole name on one line, else on two beside the language, else on a row of its own, never cut. Columns: eyebrow, language,
   free space, switch, the Output's own key, Listen; each far column keeps its width while its key is away, so nothing moves when Listen or Pause comes. A Room of one has one head,
   the same grid with no own key's column, and decides the switch's form for itself. */
.output-pane-eyebrow { display: none; }
/* What the console measures to give Simple's own keys their one width (fitPaneActs): a key's words on one line, never seen, gone as soon as it is read. */
.output-pane-act-probe { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: max-content; white-space: nowrap; visibility: hidden; pointer-events: none; }
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) { --pane-switch: 14rem; --pane-act: 0px;
    /* The minimum Listen column fits the two 36 px keys and their gap. The head measures its labelled controls when they are present. */
    --pane-listen: 76px; }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) { --pane-act: 7rem; }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #console-output-pane { grid-template-columns: minmax(0, 1fr); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr) minmax(0, var(--pane-switch)) minmax(0, var(--pane-act)) minmax(var(--pane-listen), max-content);
    /* The language's row is as tall as a key whether or not a key is in it, so nothing under it moves when Listen or Pause comes or goes. */
    grid-template-rows: minmax(var(--target), auto); align-items: center; gap: var(--s1) var(--s2); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > * { grid-column: 1 / -1; grid-row: auto; }
  :root.has-room-frame #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > .output-head-controls { display: contents; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > .output-head-detail { grid-column: 3; grid-row: 1; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > .output-pane-eyebrow {
    display: block; grid-column: 1; grid-row: 1; font-size: var(--t-12); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > :is(#session-monitor-heading, .output-pane-heading) { grid-column: 2; grid-row: 1; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) :is(#session-monitor-show-qr, .output-pane-switch) {
    grid-column: 4; grid-row: 1; justify-self: stretch; justify-content: flex-start; inline-size: 100%; min-inline-size: 0; margin-inline-start: 0 !important; white-space: normal; }
  /* Held back, the switch keeps its weight, as Configure's does (chrome.css draws a held head's name at 400, the free one at 700). Its form is measured from the name as drawn
     (fitPaneSwitch), and a lighter name is a narrower one: every switch is held while the Room is read, and at 1,120 px in French the name that held two lines at 400 no longer
     did at 700, so when the read answered each head took a row more and every Output's card grew from 149 px to 197 px. Its colour still says it is held. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane-head, #test-preview-head) :is(#session-monitor-show-qr, .output-pane-switch).sw--none { font-weight: 700; }
  /* As drawn: the track, then the whole name beside it. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) :is(#session-monitor-show-qr, .output-pane-switch) > .sw-track { order: -1; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) :is(#session-monitor-keys, .output-pane-keys) { grid-column: 5; grid-row: 1; justify-self: stretch; display: flex; min-inline-size: 0; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-keys, .output-pane-keys) > .output-pane-act { flex: 1 1 auto; inline-size: 100%; min-inline-size: 0; justify-content: center; text-align: center; white-space: normal; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > .listen-keys { grid-column: 6; grid-row: 1; margin-inline-start: 0; }
  /* A Room of one has no own key, so its head has no column for one, and Listen follows the switch at one gap. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]):not(.has-several-panes) #app-main #console-output-pane #session-monitor-head { grid-template-columns: auto auto minmax(0, 1fr) minmax(0, var(--pane-switch)) minmax(var(--pane-listen), max-content); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]):not(.has-several-panes) #app-main #console-output-pane #session-monitor-head > .listen-keys { grid-column: 5; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]):not(.has-several-panes) #app-main #console-output-pane #test-preview-head > #test-preview-show-qr { margin-inline-end: 0 !important; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]):not(.has-several-panes) #app-main #console-output-pane #test-preview-head:not([data-card-tools]):has(> #test-preview-listen[hidden]) > #test-preview-show-qr { margin-inline-end: calc(var(--pane-listen) + var(--s2)) !important; }
  /* A Room of one's head has the same thin edges as the heads of several, so its live status line still leaves three whole caption lines at 1000 by 800 px. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #session-monitor-head { padding-block: var(--s1); }
  /* The switch's form, which the console measures (fitPaneSwitch) and every head takes: --pane-switch is its width on one line or on two, and on a row of its own it stands under
     the language from the head's edge, while the own key and Listen keep their places. On that row its track, not its box, starts at the head's edge, in line with the eyebrow
     above it and the notes under it: the switch keeps the padding and border that hold its hit area and its focus ring (chrome.css, 0 var(--s2) and 1px), and they stand out
     into the head's own padding by as much. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-switch-form="row"] :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) :is(#session-monitor-show-qr, .output-pane-switch) {
    grid-column: 1 / -1; grid-row: 2; justify-self: start; inline-size: auto; max-inline-size: calc(100% + var(--s2) + 1px); margin-inline-start: calc(-1 * (var(--s2) + 1px)) !important; }
  /* On its row the switch leaves the language's row to the language, its status and Listen, whose place is the widest of the head's far parts when labelled: Listen stays on that first row,
     the own key stands under it at the far edge, and the columns the switch and the own key had are shut, so the status keeps what is left. */
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-switch-form="row"] :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) {
    grid-template-columns: auto auto minmax(0, 1fr) 0 0 minmax(var(--pane-listen), max-content); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-switch-form="row"] :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head):has(.output-pane-keys:not([hidden])) {
    :is(#session-monitor-show-qr, .output-pane-switch) { grid-column: 1 / 6; }
    :is(#session-monitor-keys, .output-pane-keys) { grid-column: 6; grid-row: 2; justify-self: end; inline-size: var(--pane-act); }
    > .listen-keys { grid-row: 1; }
  }
  /* THE CARDS OF SEVERAL OUTPUTS stand in one column, and each always shows two whole caption lines under its pill. While every card fits they share the column's height and nothing
     scrolls; when they cannot, each keeps its least height and the list scrolls on its own, as the console's other lists do, while the band, the Original words and the four keys
     stay where they are. A card's least height is its head's and its glass's: the glass's padding, its pill's row and two caption lines (1.3 of the caption's size each). Until words run, the glass
     keeps room for its Output's message too where that is longer (--pane-words, fitPaneWords), so the message is whole and its box is not a scroller under the pointer. */
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane { display: flex; flex-direction: column; gap: var(--s1); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor, #test-preview, .output-pane:not(.output-pane--overlay)) { flex: 1 1 0; contain: none; min-block-size: min-content; }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane .output-pane--overlay { flex: none; }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-glass, .output-pane:not(.output-pane--overlay) > .output-pane-glass, #test-preview-glass) { flex: 1 1 0; contain: size; }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #session-monitor-glass { min-block-size: calc(var(--s1) + var(--pill-row) * var(--pill-rows, 1) + var(--s2) + 2.8 * var(--t-18) + 2px + var(--pane-words, 0px)); }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane .output-pane:not(.output-pane--overlay) > .output-pane-glass { min-block-size: calc(2 * var(--s2) + var(--t-14) * 1.4 + 6px + var(--s1) + 2.8 * var(--t-18) + 2px + var(--pane-words, 0px)); }
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-glass { min-block-size: calc(2 * var(--s4) + 2.8 * var(--t-18) + 2px); }
  /* The Test's words are held to their glass, as the first pane's are, so that they scroll inside it and follow their newest line: with their own least height of 8rem they
     stood taller than the glass, held every word without scrolling, and the card cut their foot (1,000 by 800 px, 2026-11-11). */
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-caption { flex: 0 1 auto; min-height: 0; }
  /* A card's words scroll inside it and, at their end, hand the wheel on to the list, so the list moves whichever card the pointer is over. */
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(.output-pane-caption, #session-monitor-caption, #test-caption) { overscroll-behavior: auto; }
  /* The Test's head. During a press the Test's pane is the first Output's, so its head reads as every other head: the eyebrow, the language, the switch at the same edge, the own
     key's space, which a Test leaves empty, and Listen. It is a row that wraps, so that under them the Test's mark and its lines can run on. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s2); row-gap: var(--s1); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > * { order: 4; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > :is(#test-preview-eyebrow, #test-preview-heading, #test-preview-count) { order: 0; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > #test-preview-eyebrow:not(:empty) {
    display: block; font-size: var(--t-12); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > #test-preview-count { margin-inline-end: auto; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > #test-preview-show-qr {
    order: 1; flex: 0 0 var(--pane-switch); inline-size: var(--pane-switch); min-inline-size: 0; margin-inline: 0 calc(var(--pane-act) + var(--pane-head-gap, var(--s2))) !important; justify-content: flex-start; white-space: normal; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head:not([data-card-tools]):has(> #test-preview-listen[hidden]) > #test-preview-show-qr { margin-inline-end: calc(var(--pane-act) + var(--pane-listen) + 2 * var(--s2)) !important; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > #test-preview-show-qr > .sw-track { order: -1; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > #test-preview-listen { order: 2; flex: none; min-inline-size: var(--pane-listen); margin-inline-start: 0; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head::before { content: ''; order: 3; flex-basis: 100%; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-switch-form="row"] #test-preview-head > #test-preview-show-qr { order: 3; flex: 0 1 auto; inline-size: auto; max-inline-size: calc(100% + var(--s2) + 1px); margin-inline: calc(-1 * (var(--s2) + 1px)) 0 !important; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-switch-form="row"] #test-preview-head::after { content: ''; order: 3; flex-basis: 100%; }
  /* THE TEST'S MARK AND LINES. The mark is a pill of its own width at the start of its row, in the Test's head and in every other card's; the Test's lines keep their words and run
     on after it as wrapped text, so they take fewer rows and leave the card its two whole caption lines. */
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) > .output-pane-test-pill { justify-self: start; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > #test-preview-pill { flex: none; }
  :root.has-start-console:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #test-preview-head > :is(#test-status, #test-countdown, #test-allowance, #test-input-meter-label) { flex: 0 1 auto; min-inline-size: 0; }
}
/* THE HEADS UNDER A MOUSE AT A LAPTOP'S SIZE are as tall as the boards draw them (simple-console-output-card): 40 px in a Room of several (board 3.4's .out.c .ohead), where the
   switch and each Output's own key stand 30 px tall (.sw.hq, .btn.sm), and 54 px in a Room of one (boards 1.1 and 1.4's .ohead), where the switch stands 36 (.sw). The keys keep
   the board's compact size for the switch and its named key; the own keys' column is measured (fitPaneActs). A head can still take a second row, and a touch
   screen keeps its 44 px keys and a head as tall as they need. The orchestrator's rule, written for the owner to veto. */
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane { --target: 30px; }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane :is(#session-monitor-show-qr, #test-preview-show-qr, .output-pane-switch, .output-pane-act, .output-pane-act-probe) { font-size: .78125rem; }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane :is(#session-monitor-show-qr, .output-pane-switch) { line-height: var(--text-key-leading); }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane .output-head-detail > :is(#session-monitor-status, .output-pane-status) {
    font-size: var(--text-caption-size); line-height: var(--text-caption-leading); }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane :is(.output-pane-act, .output-pane-act-probe) { padding-inline: 6px; }

  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) {
    min-block-size: 40px; align-content: center; }
  :root.has-start-console:not(.has-several-panes):not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane #session-monitor-head { --target: 36px; min-block-size: 54px; align-content: center; }


}

/* The card's three rows, as board Main draws them: the name of each at 112 px, then its value. A picker draws the boards' 34 px box on the
   44 px floor for a target. The Input Language, held while the room is open, keeps its place and name and loses its box. */
#app-main #console-input-rows:not([hidden]) { display: flex; flex: none; flex-direction: column; }
#app-main #console-input-rows > .room-row:last-child { border-block-end: 1px solid var(--rule); }
#app-main #console-input-rows .console-row-label { flex: none; inline-size: var(--row-label, 112px); color: var(--pencil); font-size: var(--t-14); font-weight: 400; white-space: nowrap; }
#app-main #console-input-rows .console-row-pick { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; min-inline-size: 0; max-inline-size: calc(100% - var(--row-label, 112px) - 8px); min-block-size: var(--target); padding: 0 9px; border: 0; background: transparent; color: var(--ink); font-size: var(--t-14); font-weight: 600; white-space: nowrap; }
#app-main #console-input-rows .console-row-pick > span { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
/* The Input Language's row never cuts a word (rule 4 of the pattern page: a name is whole, and wraps): the Input Language stands first, and the other languages its
   speakers use follow it and wrap at a space onto a second line, inside the row's 50 px, when one line cannot hold them. Past three they fold, as before. Agent: a
   title is never seen on a touch screen, so the words cannot rest on one. On one line the picker keeps the boards' 34 px box on its 44 px target; on two
   lines the key is 47 px and its box grows to hold both, 6 px above and below them. */
#app-main #console-input-rows #console-row-language { padding-block: 6px; line-height: 1.25; text-align: start; white-space: normal; }
#app-main #console-input-rows #console-row-language > span { overflow: visible; text-overflow: clip; }
#app-main #console-input-rows #console-row-language::before { inset-block: clamp(0px, calc((47px - 100%) * 5 / 3), 5px); }
#app-main #console-input-rows .console-row-pick::before { content: ""; position: absolute; z-index: -1; inset: 5px 0; border: 1px solid var(--pencil-line); border-radius: 8px; background: var(--paper); }
/* The language keeps its inset when its first Session read exchanges the lock for the chevron. */
#app-main #console-input-rows #console-row-input[aria-disabled="true"] { padding-inline-start: 0; }
/* No Audio Input blocks the meeting: the row says so in red from the first paint, as the setup line did. */
#app-main #console-input-rows #console-row-input[data-blocker] { color: var(--fail-ink); }
/* Before the browser is asked the row holds the key "Microphone not active" where a name would be, with no chevron (board 2.15). */
#app-main #console-input-rows #console-row-input[data-microphone="not-asked"] svg { display: none; }
#app-main #console-input-rows .console-row-pick[aria-disabled="true"]::before { border-color: transparent; background: transparent; }
/* The Input Language's list opens at its row, under its choice past the 112 px name, as wide as its longest name, and scrolls past 60% of
   the window. It is Configure's list, drawn as Configure draws it (manage.css, .manage .menu), which the console's sheets do not otherwise
   carry. The card, which clips to its corners, lets it out while it is open. */
:root.has-room-frame #app-main #console-controls.room-card:has(#console-row-language-menu:not([hidden])) { overflow: visible; }
#app-main #console-input-rows > .room-row:has(> #console-row-language-menu) { position: relative; }
#app-main #console-row-language-menu { position: absolute; inset-block-start: calc(100% - 6px); inset-inline-start: calc(16px + var(--row-label, 112px) + 8px); z-index: 80; box-sizing: border-box; inline-size: max-content; min-inline-size: 220px; max-inline-size: min(92vw, 420px); max-block-size: min(60vh, 30rem); overflow: auto; padding: var(--s2); border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--paper-2); box-shadow: var(--shadow-2); }
#app-main #console-row-language-menu [role="menuitemradio"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3); align-items: center; inline-size: 100%; min-block-size: var(--target); padding: var(--s2) var(--s3); border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: var(--t-16); font-weight: 400; text-align: start; }
#app-main #console-row-language-menu [role="menuitemradio"] > span:first-child { grid-column: 1; }
#app-main #console-row-language-menu [aria-checked="true"] { box-shadow: inset 3px 0 0 var(--ink); font-weight: 700; }
#app-main #console-row-language-menu .native { color: var(--ink-2); font-weight: 400; }
@media (hover: hover) { #app-main #console-row-language-menu [role="menuitemradio"]:hover { background: var(--paper-3); } }
#app-main #console-input-rows :is(.console-row-pick, #console-row-plan) svg { flex: none; inline-size: 16px; block-size: 16px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#app-main #console-input-rows #console-row-plan { inline-size: 100%; border-width: 0 0 1px; border-style: solid; border-color: var(--rule); border-radius: 0; background: transparent; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
/* A row is 50 px at least, as board Main draws all three; the Planned row is a button, whose own rules gave it 44. */
#app-main #console-input-rows #console-row-plan { min-block-size: 50px; }
#app-main #console-input-rows #console-row-plan-lines { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; }
#app-main #console-input-rows #console-summary-estimate { margin: 0; color: var(--ink-2); }
#app-main #console-input-rows #console-row-plan-value { font-size: var(--t-14); font-weight: 600; }

#console-row-language:not([aria-disabled="true"]) .pick-lock,
#console-row-language[aria-disabled="true"] .pick-chevron { display: none; }

@media (max-width: 899px) {
  #console-input-rows { --row-label: min(98px, 36%); border: 1px solid var(--rule); border-radius: var(--r-card) var(--r-card) 0 0; background: var(--paper-2); }
  #app-main #console-input-rows > .room-row { display: flex; align-items: center; gap: 8px; min-block-size: var(--target); padding: 0 10px 0 12px; border-block-end: 1px solid var(--rule); }
  #app-main #console-input-rows > .room-row:last-child { border-block-end: 0; }
  #app-main #console-input-rows .console-row-label { white-space: normal; overflow-wrap: anywhere; }
  #app-main #console-input-rows .console-row-pick { align-self: stretch; min-inline-size: var(--target); padding-block: 6px; text-align: start; white-space: normal; }
  #app-main #console-input-rows .console-row-pick::before,
  #app-main #console-input-rows #console-row-language::before { inset-block: 4px; }
  #app-main #console-input-rows .console-row-pick > span { overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
  #app-main #console-input-rows #console-row-plan { min-block-size: var(--target); }
  #app-main #console-input-rows:not([hidden]) + #console-original { margin-block-start: -8px; border-start-start-radius: 0; border-start-end-radius: 0; }
  #app-main #console-row-language-menu { inset-inline: 8px; inline-size: auto; min-inline-size: 0; max-inline-size: none; max-block-size: min(40dvh, 30rem); }
  /* The open list floats over the Room. Keep its bottom aligned with the row's bottom,
     then move it below the key, without adding its height to the Room's one-screen fit. */
  .has-console-viewport #app-main #console-row-language-menu { position: fixed; inset-inline: 24px; inset-block: auto; align-self: end; translate: 0 calc(100% - 6px); }
}

/* THE ROOM SCREEN'S FRAME (simple-console-input-card; boards Main, Open, Live, Paused, Ended, Test and ThreeOutputs of 2026-11-10, whose
   console.css names the parts .room, .rhead, .rbody, .card.in, .wire and .card.out). In Simple on a laptop the console takes the shared frame
   (chrome.css, .room-frame), which the view sets on #room-section with has-room-frame on the root (operator-console-view.ts): a head 30 px
   tall, 10 px under it the input card, 400 px wide, which ends in the Original words, the wire in 44 px, then the Outputs' column, which takes
   the rest; 16 px under the cards, the dock. The rules below restate what the console's older, weightier rules would otherwise win, and two
   of the shared rules: the frame's inline padding is the main column's here, because the dock inside it runs to the window's edges, and its
   foot is the dock's. Places and sizes are the boards'; the colours are the product's tokens. */
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root.has-room-frame.has-start-console:not(:where(:has(#app-main > .reading:not([hidden])))) #app-main { padding: 0 24px var(--s3); }
  :root.has-room-frame.has-start-console #app-main #room-section.room-frame { gap: 10px; padding: 14px 0 0; }
  /* The input card, the wire and the Outputs' column on one row, the dock under them across the window. */
  :root.has-room-frame.has-start-console #app-main #session { grid-template-columns: 400px 44px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 16px 0; align-items: stretch; }
  :root.has-room-frame.has-start-console #app-main #console-controls.room-card { grid-column: 1; grid-row: 1; box-sizing: border-box; inline-size: 400px; min-block-size: 0; gap: 0; padding: 0; overflow: hidden; }
  :root.has-room-frame.has-start-console #app-main #console-wire { grid-column: 2; grid-row: 1; display: block; inline-size: 44px; min-block-size: 0; padding: 0; }
  :root.has-room-frame.has-start-console #app-main #console-wire svg { display: block; inline-size: 44px; block-size: 100%; overflow: hidden; stroke-dasharray: none; }
  :root.has-room-frame.has-start-console #app-main #console-wire path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  :root.has-room-frame.has-start-console #app-main #console-wire path[data-wire="closed"] { stroke: var(--pencil-line); stroke-dasharray: 2 6; }
  :root.has-room-frame.has-start-console #app-main #console-wire path[data-wire="open"] { stroke: var(--pencil-line); }
  :root.has-room-frame.has-start-console #app-main #console-wire path[data-wire="live"] { stroke: var(--live); stroke-width: 3; }
  :root.has-room-frame.has-start-console #app-main #console-wire path[data-wire="held"] { stroke: var(--pencil); stroke-dasharray: 7 6; }
  :root.has-room-frame.has-start-console #app-main #console-audience.room-column { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; gap: 8px; min-block-size: 0; }
  :root.has-room-frame.has-start-console #app-main #session > #console-dock { grid-column: 1 / -1; grid-row: 2; margin: 0 -24px calc(-1 * var(--s3)); }
  /* The input card holds what is room-wide; the line "input → Audio Input → Outputs" and the old way to Configure go, since the head and the wire say them. */
  :root.has-room-frame.has-start-console #app-main #console-summary-card { padding: 12px 14px 0 16px; border: 0; border-radius: 0; background: transparent; }
  :root.has-room-frame.has-start-console #app-main #console-summary-row { display: none; }
  :root.has-room-frame.has-start-console #app-main #console-controls > :is(.console-status-line, #session-leave-note, #session-error, #room-waiting-count, #room-stragglers, #console-test-flow) { margin-inline: 16px 14px; }
  /* The Original words are the card's lower part and take the height that is left (the boards' .in .pane). */
  /* The Original words keep two whole lines at the least (112 px: the head, two lines and their padding); when the card is short, as in a Room
     of several Outputs with long words, what stands above them scrolls inside the card instead. */
  :root.has-room-frame.has-start-console #app-main #console-controls > #console-original { flex: 1 1 0; min-block-size: 112px; block-size: auto; margin: 12px 14px 14px 16px; border-radius: 10px; background: var(--room-original-paper); border-color: var(--room-original-rule); }
  :root.has-room-frame #console-original-caption .aud-original-run { font-style: normal; border: 0; padding: 0; }
  :root.has-room-frame.has-start-console #app-main #console-controls > #console-summary-card { flex: 0 1 auto; min-block-size: 0; overflow-y: auto; }
  /* The head holds its own height, whatever the words come to: a column shorter than its items shrinks each that may, and a head that shrank drew its
     label over the words' first line. The words scroll in the box that is left, their oldest line clipped at its top, below the label. */
  :root.has-room-frame.has-start-console #app-main #console-original-head { flex: none; min-height: 0; padding: 10px 12px 0; border-bottom: 0; }
  :root.has-room-frame.has-start-console #app-main #console-original-heading { font-size: var(--t-12); font-weight: 600; line-height: 1.35; }
  :root.has-room-frame.has-start-console #app-main #console-original-status { flex-basis: 100%; margin: 0; font-size: var(--t-14); }
  :root.has-room-frame.has-start-console #app-main #console-original-caption { flex: 1 1 auto; min-block-size: 0; block-size: auto; padding: 8px 12px 10px; font-size: var(--t-16); line-height: 1.4; }
  /* The Output's card takes the column at its full width; a Room of one's link and QR keys stand in it, in the form they had in the input card. */
  :root.has-room-frame.has-start-console #app-main #console-output-pane { display: flex; flex: 1 1 auto; flex-direction: column; min-block-size: 0; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview) > #console-share-home { display: block; flex: none; padding: 0 16px 12px; --qr-size: 44px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview) > #console-share-home #permanent-output { padding: 8px 0 0; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview) > #console-share-home #output-qr { display: inline-flex; flex: none; min-inline-size: var(--qr-size); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview) > #console-share-home #output-qr svg { width: var(--qr-size); height: var(--qr-size); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview) > #console-share-home #output-link { border: 0; border-radius: 0; background: transparent; padding: 0 4px 0 0; text-decoration: none; min-width: 0; font-size: var(--t-16); font-weight: 700; font-family: var(--font-nums); }
  /* THE OUTPUT'S BODY (simple-console-output-card; board Main's .obody, .view, .grp, .tile and .act). Under the head, three groups side by side, each under its own
     heading: what the audience is shown, then the Audience link and the QR code, each ruled off at 185 px, a tile of 100 px and its three keys with picture and words.
     Where the card has no room for three columns (data-body="stack", the view's reading of the card's width) the link and the code share one column, link above code,
     and both keep their labels. A touch target keeps its 44 px minimum. */
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto minmax(0, 1fr); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > :is(#session-monitor-head, #test-preview-head) { grid-column: 1 / -1; grid-row: 1; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) :is(#session-monitor-shown, .share-cap) { display: block; margin: 0; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); line-height: var(--text-caption-leading); white-space: nowrap; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #session-monitor-shown { grid-column: 1; grid-row: 2; padding: 12px 0 6px 16px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #session-monitor-glass { grid-column: 1; grid-row: 3; min-block-size: 0; margin: 0 0 14px 16px; border-radius: 10px;
    --qr-mark: calc(14px + var(--pill-row) - var(--s2)); padding: 14px 16px; padding-block-start: calc(14px + var(--pill-row) * var(--pill-rows, 1)); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) #session-monitor-identity { inset-block-start: 14px; inset-inline-start: 16px; max-inline-size: calc(100% - 32px - var(--qr-mark)); }
  /* Board 1.2 centres the waiting line in the space below the pill. Live captions still follow the bottom edge. */
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body] #session-monitor-glass:has(#session-monitor-pill[data-presentation="waiting"]) > #session-monitor-caption { margin-block: auto; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home { grid-column: 2; grid-row: 2 / 4; min-block-size: 0; padding: 12px 16px 14px 0; --qr-size: 84px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output > .share-group { flex: none; flex-direction: column; align-items: stretch; gap: 6px; box-sizing: border-box; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output > .share-group--link { order: 1; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output > .share-group--qr { order: 2; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #output-link { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; min-block-size: 100px; padding: 6px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); text-align: center; text-decoration: none; font-family: var(--font-nums); font-size: var(--t-14); font-weight: 400; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #output-link .join-url { color: var(--ink-2); line-height: 1.35; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #output-link .join-code { display: block; color: var(--ink); font-size: var(--t-22); font-weight: 700; line-height: 1.3; letter-spacing: .04em; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #output-qr { display: flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box; block-size: 100px; min-inline-size: 0; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #output-qr svg { inline-size: var(--qr-size); block-size: var(--qr-size); max-inline-size: none; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-keys { display: flex; gap: 6px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-key { block-size: var(--target); min-block-size: var(--target); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-key svg { inline-size: 16px; block-size: 16px; color: var(--ink-2); }
  /* Three columns: each group 185 px under a rule, its keys the column's width with picture and words. The rules run down the body's whole height, as board Main draws them. */
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="columns"]:not([hidden]) > #console-share-home { display: flex; flex-direction: column; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="columns"]:not([hidden]) > #console-share-home > #permanent-output { flex: 1 1 auto; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="columns"]:not([hidden]) > #console-share-home #permanent-output > .share-group { inline-size: 185px; margin-inline-start: 14px; padding-inline-start: 14px; border-inline-start: 1px solid var(--rule); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-keys { flex-direction: column; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-key:not([hidden]) { display: flex; justify-content: flex-start; gap: 8px; inline-size: 100%; padding: 0 9px; border-radius: 8px; font-size: var(--t-14); font-weight: 600; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-key::after,
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-key:focus-visible::after {
    content: attr(aria-label); position: static; z-index: auto; inline-size: auto; min-inline-size: 0; max-inline-size: none; padding: 0; border-radius: 0; background: transparent; color: inherit;
    font-size: var(--t-14); font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* One column: the link above the code, under one rule, the keys labelled beside their pictures. It stands at the card's foot, where the foot row stood, so a head that gains a
     row when the Room's read answers (the switch on a row of its own at 900 px) shortens the pane and moves no key. */
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home { display: flex; flex-direction: column; justify-content: flex-end; inline-size: 186px; --qr-size: 62px; box-sizing: border-box; margin: 12px 0 14px 14px; padding: 0 16px 0 14px; border-inline-start: 1px solid var(--rule); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #permanent-output { flex-direction: column; gap: 12px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #permanent-output > .share-group--qr { padding-block-start: 12px; border-block-start: 1px solid var(--rule); }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #output-link { min-block-size: 0; }
  /* Keep the single column's host and slash on one line above its code. A longer host otherwise pushes every sharing key down. */
  :root.has-room-frame #app-main [data-body="stack"] > #console-share-home #output-link .join-url { max-inline-size: 100%; }
  :root.has-room-frame #app-main [data-body="stack"] > #console-share-home #output-link .join-prefix { display: inline-block; max-inline-size: calc(100% - 1ch); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #output-qr { block-size: 72px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #permanent-output .share-keys { gap: 4px; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #permanent-output .share-key:not([hidden]) { block-size: auto; }
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body="stack"]:not([hidden]) > #console-share-home #permanent-output .share-key:is(*, :focus-visible)::after { white-space: normal; overflow: visible; text-overflow: clip; }
}
/* The body's headings are drawn only where the Output card's body stands its groups side by side (above). */
.share-cap { display: none; }
/* Under a mouse at a laptop's size the Output's sharing keys stand as tall as the boards draw them, 32 px (boards 1.1 and 3.4), with their words, as Configure's
   tiles do (chrome.css); a touch screen keeps its 44. The orchestrator's rule, written for the owner to veto. */
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root.has-room-frame.has-start-console #app-main :is(#session-monitor, #test-preview)[data-body]:not([hidden]) > #console-share-home #permanent-output .share-key { block-size: 32px; min-block-size: 32px; }
}
/* A ROOM OF SEVERAL OUTPUTS' CARDS (simple-console-output-card; board 3.4's .ocaps, .out.c .obody, .grp.lnk and .grp.qrc). On a laptop's Room Screen each Output's card
   holds its own body in one row under its head: the pane with the audience's words, then the address over its three keys, then the code with its three keys beside it,
   each group ruled off. The headings stand once above the cards, over their columns, and each key is a picture alone that keeps its whole name with its Output's language,
   32 px under a mouse and 44 under a finger (--card-key). The cards keep the column's rule above: each keeps two whole caption lines, and when they cannot all fit the
   column scrolls on its own. A card too narrow for the board's row (data-cards="narrow", at 1,000 px) keeps that one row with a narrower pane: the groups stand closer,
   the address wraps over its keys and the code's keys stand in a column beside it. */
@media (min-width: 900px) and (min-height: 601px) {
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane { --card-key: var(--target); --card-rule: 29px; --card-link: 165px; --card-qr: 205px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane[data-cards="narrow"] { --card-rule: 21px; --card-link: calc(3 * var(--card-key) + 12px + var(--card-rule) - 10px); --card-qr: calc(72px + 8px + var(--card-key) + var(--card-rule) - 10px); }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-caps:not([hidden]) { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) calc(var(--card-link) + var(--card-rule) / 2 - .5px) calc(var(--card-qr) + var(--card-rule) / 2 - .5px); box-sizing: border-box; padding: 0 17px; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); line-height: var(--text-caption-leading); white-space: nowrap; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-caps > :not(:first-child) { padding-inline-start: var(--card-rule); }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane > :is(#session-monitor, #test-preview[data-private-card], .output-pane:not(.output-pane--overlay)):not([hidden]),
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane > #console-more-panes > .output-pane:not(.output-pane--overlay):not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#session-monitor-head, #test-preview[data-private-card] > #test-preview-head, .output-pane:not(.output-pane--overlay) > .output-pane-head) { grid-column: 1 / -1; grid-row: 1; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#session-monitor-glass, .output-pane:not(.output-pane--overlay) > .output-pane-glass) { grid-column: 1; grid-row: 2; margin: 6px 0 6px 16px; border-radius: 10px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane #session-monitor > #session-monitor-shown { display: none; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#session-monitor > #console-share-home, #test-preview[data-private-card] > #console-share-home, .output-pane > .share-row) { grid-column: 2; grid-row: 2; display: flex; min-block-size: 0; margin: 0; padding: 6px 16px 6px 0; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane #session-monitor > #console-share-home > #console-share-rows { display: none; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .output-pane > .share-row) { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 0; margin: 0; padding: 0; border: 0; background: none; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) > :is(.share-language, .share-group > .share-cap) { display: none; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group { display: flex; flex: none; box-sizing: border-box; min-inline-size: 0; margin: 0; margin-inline-start: calc(var(--card-rule) / 2 - .5px); padding: 0; padding-inline-start: calc(var(--card-rule) / 2 - .5px); border: 0; border-inline-start: 1px solid var(--rule); }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group--link { order: 1; inline-size: var(--card-link); flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 5px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group--qr { order: 2; inline-size: var(--card-qr); flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-keys { display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 6px; min-inline-size: 0; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane[data-cards="narrow"] :is(#permanent-output, .share-row) > .share-group--qr { gap: 8px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane[data-cards="narrow"] :is(#permanent-output, .share-row) > .share-group--qr > .share-keys { flex-direction: column; gap: 4px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-key:not([hidden]) { display: inline-flex; justify-content: center; inline-size: var(--card-key); min-inline-size: var(--card-key); block-size: var(--card-key); min-block-size: var(--card-key); padding: 0; gap: 0; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-key svg { inline-size: 16px; block-size: 16px; color: var(--ink-2); }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-group--link > :is(#output-link, a) { display: block; max-inline-size: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); text-align: start; text-decoration: none; font-family: var(--font-nums); font-size: var(--text-label-size); font-weight: var(--text-label-weight); line-height: var(--text-label-leading); overflow-wrap: anywhere; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-group--link > :is(#output-link, a) :is(.join-url, .join-code) { display: inline; color: inherit; font: inherit; letter-spacing: 0; }
  /* Keep the slash with the host and allow the complete code on the next line. Both hosts reserve the same two lines above the keys. */
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-group--link > :is(#output-link, a) .join-url { display: block; min-block-size: 2lh; }
  :root.has-share-cards #console-output-pane .share-group--link .join-prefix { display: inline-block; max-inline-size: calc(100% - 1ch); vertical-align: bottom; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) :is(#output-qr, .share-qr) { display: flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box; inline-size: 72px; block-size: 72px; min-inline-size: 0; padding: 0; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) :is(#output-qr, .share-qr) svg { inline-size: 62px; block-size: 62px; max-inline-size: none; }
  /* Simple writes each key's words beside its picture (key-grammar; rulings, The Simple console), in these cards too, each key with its picture and the short words it
     is named by under its heading, on two lines where one is too narrow. The address and its three keys take two rows, as do the QR keys beside the code.
     This leaves room for three cards at 1,280 by 720 px and for the captions beside their status. Where the
     card is narrow, at 1,000 px, each group's keys stand in a column, under the address and under the code, so that the pane and its heading keep their room. */
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane { --card-link: 223px; --card-qr: calc(var(--card-code, 72px + 10px) + 231px); }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane[data-cards="narrow"] { --card-link: 128px; --card-qr: 128px; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group--link { align-items: stretch; justify-content: flex-start; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group--qr { align-items: flex-start; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane :is(#permanent-output, .share-row) .share-keys { display: grid; flex: 1 1 auto; grid-template-columns: repeat(2, auto); align-content: start; gap: 4px; }
  :root.has-room-frame.has-share-cards.has-start-console #app-main #console-output-pane:not([data-cards="narrow"]) :is(#permanent-output, .share-row) > .share-group--link {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-content: start; gap: 4px;
  }
  :root.has-room-frame.has-share-cards.has-start-console #app-main #console-output-pane:not([data-cards="narrow"]) :is(#permanent-output, .share-row) > .share-group--link > .share-keys { display: contents; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane[data-cards="narrow"] :is(#permanent-output, .share-row) .share-keys { grid-template-columns: minmax(0, 1fr); }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane[data-cards="narrow"] :is(#permanent-output, .share-row) > .share-group--qr { flex-direction: column; align-items: stretch; gap: 5px; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane[data-cards="narrow"] :is(#permanent-output, .share-row) > .share-group--qr > .share-qr { align-self: flex-start; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane :is(#permanent-output, .share-row) .share-key:not([hidden]) { display: flex; justify-content: flex-start; gap: 6px; inline-size: 100%;
    min-inline-size: auto; block-size: auto; min-block-size: var(--card-key); padding: 0 6px; border-radius: 8px; font-size: 13px; font-weight: 600; }
  :root.has-output-frame.has-share-cards.has-start-console:not(.has-advanced-console) #app-main #console-output-pane :is(#permanent-output, .share-row) .share-key:is(*, :focus-visible)::after { content: attr(aria-label); position: static; z-index: auto;
    inline-size: auto; min-inline-size: 0; max-inline-size: none; padding: 0; border-radius: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 600; line-height: 1.2;
    text-align: start; white-space: normal; overflow-wrap: break-word; }
}
/* A CARD'S PANE OF SEVERAL HOLDS ITS PILL BESIDE THE WORDS while they run (simple-console-output-card; board 3.4's .out.c .glass): the pill, then the words, in one row, so the
   body is as tall as the board's, its 72 px code and 6 px above and below it, and the glass still keeps two whole caption lines at the product's caption size, centred, with no
   part of the line before them: the words follow their last line, so a box taller than two lines showed the bottom of a third above them. Until words run, the
   message the audience's page shows waits under its pill with the glass's whole width, since beside the pill it took more lines than the glass holds. A card too narrow for the
   board's row (data-cards="narrow", 1,000 px), a Room of one, a Test, Advanced, larger text and a phone keep the pill above the words. The orchestrator's reading of the board,
   for the owner to veto. */
@media (min-width: 900px) and (min-height: 601px) {
  :root.has-output-frame.has-share-cards.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-words="run"]:not([data-cards="narrow"]) :is(#session-monitor-glass, .output-pane:not(.output-pane--overlay) > .output-pane-glass) {
    flex-direction: row; align-items: center; gap: 12px; padding: 8px 14px; min-block-size: calc(16px + 2.8 * var(--t-18) + 2px + var(--pane-words, 0px)); }
  :root.has-output-frame.has-share-cards.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-words="run"]:not([data-cards="narrow"]) #session-monitor-identity { position: static; flex: none; max-inline-size: none; }
  :root.has-output-frame.has-share-cards.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-words="run"]:not([data-cards="narrow"]) .output-pane:not(.output-pane--overlay) > .output-pane-glass > .output-pane-identity { margin-block-end: 0; }
  :root.has-output-frame.has-share-cards.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane[data-words="run"]:not([data-cards="narrow"]) :is(#session-monitor-caption, .output-pane-caption) {
    flex: 1 1 auto; min-inline-size: 0; box-sizing: content-box; padding-block: 0; margin-block: auto; max-block-size: 2lh; }
}
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane { --card-key: 32px; }
}
/* On a compact laptop the action and its language can occupy two lines within the same 40 px head. */
@media (min-width: 900px) and (min-height: 601px) and (max-width: 1300px) and (hover: hover) and (pointer: fine) {
  :root.has-room-frame.has-several-panes #app-main #console-output-pane .output-pane-act { block-size: var(--target); padding-block: 0; }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane .output-pane-act .k-label { white-space: normal; line-height: 1.1; }
}
/* A tablet, a screen as wide as a laptop's that cannot hover, takes the laptop's cards and writes each key's name beside its picture, in Simple and in Advanced
   (rulings, Phones). It draws no QR, so the code's keys stand alone in their column. */
@media (min-width: 900px) and (min-height: 601px) and (hover: none) {
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane { --card-code: 0px; --card-link: 150px; --card-qr: 150px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane[data-cards="narrow"] { --card-link: 140px; --card-qr: 140px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group--link { align-items: stretch; justify-content: flex-start; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) > .share-group--qr { align-items: flex-start; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-keys { flex: 1 1 auto; flex-direction: column; gap: 4px; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-key:not([hidden]) { display: flex; justify-content: flex-start; gap: 8px; inline-size: 100%;
    min-inline-size: 0; block-size: auto; min-block-size: var(--card-key); padding: 0 9px; border-radius: 8px; font-size: 13px; font-weight: 600; }
  :root.has-output-frame.has-share-cards.has-start-console #app-main #console-output-pane :is(#permanent-output, .share-row) .share-key:is(*, :focus-visible)::after { content: attr(aria-label); position: static; z-index: auto;
    inline-size: auto; min-inline-size: 0; max-inline-size: none; padding: 0; border-radius: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 600; line-height: 1.2;
    text-align: start; white-space: normal; overflow-wrap: break-word; }
}

/* The Outputs own their scroll in both laptop modes (room-console rule 13). Whole cards and the final Overlay row stay above the dock.
   A phone and enlarged text retain their page flow. */
@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  /* The caption face's glyphs are 24 px high at 18 px: a 23.4 px line box clipped one of two lines. */
  :root.has-output-frame.has-start-console #app-main #console-output-pane :is(#session-monitor-caption, #test-caption, #test-original, .output-pane-caption, .output-pane-original) { line-height: 1.4; }
  :root.has-output-frame.has-start-console #app-main #console-output-pane { display: flex; flex: 1 1 0; flex-direction: column; gap: var(--s1); min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  :root.has-output-frame.has-start-console #app-main #console-output-pane :is(#session-monitor, #test-preview, .output-pane:not(.output-pane--overlay)) { flex: 1 0 auto; contain: none; min-block-size: min-content; }
  :root.has-output-frame.has-start-console #app-main #console-output-pane > #console-overlay-launch,
  :root.has-output-frame.has-start-console #app-main #console-output-pane .output-pane--overlay { flex: none; }
  :root.has-output-frame.has-start-console.has-advanced-console #app-main #console-output-pane :is(#session-monitor-glass, .output-pane:not(.output-pane--overlay) > .output-pane-glass, #test-preview-glass) { flex: 1 1 0; contain: size; }
  :root.has-output-frame.has-start-console.has-advanced-console #app-main #console-output-pane #session-monitor-glass { min-block-size: calc(var(--s1) + var(--pill-row) * var(--pill-rows, 1) + var(--s2) + 2.8 * var(--t-18) + 2px); }
  :root.has-output-frame.has-start-console.has-advanced-console #app-main #console-output-pane .output-pane:not(.output-pane--overlay) > .output-pane-glass { min-block-size: calc(2 * var(--s2) + var(--t-14) * 1.4 + 6px + var(--s1) + 2.8 * var(--t-18) + 2px); }
  :root.has-output-frame.has-start-console.has-advanced-console .console-status-line > [data-said-above] { display: none; }
  :root.has-output-frame.has-start-console:not(.has-several-panes):not(.has-advanced-console) #app-main #console-output-pane #session-monitor-glass { contain: size; min-block-size: calc(2.8 * var(--t-18) + var(--pill-row) + 2 * var(--s4) + 2px); }

}

/* Board 1.11. The state and the first key continue the Room and Output columns. */
#console-dock {
  --deck-edge: var(--rule);
  --deck-ink: var(--ink);
  --deck-wash: var(--paper-2);
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  grid-column: 1 / -1;
  align-items: center;
  column-gap: 44px;
  padding: 12px 24px 14px;
  border-block-start: 3px solid var(--deck-edge);
  background: var(--deck-wash);
  color: var(--ink);
  min-inline-size: 0;
  z-index: 12;
}
/* Reserve the action row from the first frame, even while the Session read has nothing to show. */
#console-dock[inert] { visibility: hidden; }
#console-dock[data-deck-tone="open"], #console-dock[data-deck-tone="test"] {
  --deck-edge: var(--room-open-blue); --deck-ink: var(--room-open-ink); --deck-wash: var(--room-open-wash);
}
#console-dock[data-deck-tone="test"] {
  --deck-wash: repeating-linear-gradient(135deg, var(--room-open-wash) 0 9px, var(--room-test-stripe) 9px 18px);
}
#console-dock[data-deck-tone="live"] {
  --deck-edge: var(--live); --deck-ink: var(--room-live-ink); --deck-wash: var(--room-live-wash);
}
#console-dock[data-deck-tone="paused"] {
  --deck-edge: var(--attn); --deck-ink: var(--room-paused-ink); --deck-wash: var(--room-paused-wash);
}
#console-dock[data-deck-tone="bad"] {
  --deck-edge: var(--final); --deck-ink: var(--final); --deck-wash: var(--final-wash);
}
#console-cue { margin: 0; min-inline-size: 0; font-size: 0.9375rem; line-height: 1.3; }
#console-cue .deck-state { display: flex; align-items: center; gap: 9px; min-height: 24px; flex-wrap: wrap; color: var(--deck-ink); }
#console-cue .deck-state b { font-size: var(--t-18); line-height: 1.2; }
.deck-until { font-size: var(--t-14); color: var(--ink-2); }
.deck-fact { display: block; min-height: 20px; padding-inline-start: 21px; color: var(--ink-2); }
.deck-lamp { box-sizing: border-box; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: var(--deck-edge); }
[data-deck-tone="off"] .deck-lamp { border: 2px solid var(--pencil); background: transparent; }
[data-deck-tone="open"] .deck-lamp, [data-deck-tone="live"] .deck-lamp { box-shadow: 0 0 0 4px color-mix(in srgb, var(--deck-edge) 24%, transparent); }
[data-deck-tone="test"] .deck-lamp { box-shadow: 0 0 0 2px var(--room-open-wash), 0 0 0 4px var(--deck-edge); }
[data-deck-tone="paused"] .deck-lamp { border-radius: 0; height: 13px; background: linear-gradient(to right, var(--deck-ink) 0 4px, transparent 4px 8px, var(--deck-ink) 8px 12px); }
[data-deck-tone="bad"] .deck-lamp { width: 0; height: 0; border: 7px solid transparent; border-block-width: 0 13px; border-block-end-color: var(--deck-ink); border-radius: 0; background: none; }

:root #console-dock #room-actions {
  display: flex; flex-flow: row nowrap; align-items: stretch; gap: 12px; position: static; inset: auto;
  min-inline-size: 0; min-block-size: 56px; width: auto; margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent;
}
#console-dock #room-actions > :is(.key, .deck-report) {
  flex: 0 0 min(320px, calc((100% - 45px) / 3)); min-inline-size: 0;
  box-sizing: border-box; display: inline-flex; flex-direction: row; align-items: center; justify-content: center;
  position: relative; min-block-size: 56px; height: auto; padding: 4px 10px; border-radius: var(--r-key);
  font-size: 1.0625rem; line-height: 1.12; font-weight: 700; text-align: center; overflow: visible;
}
#console-dock #room-actions > [hidden] { display: none; }
#console-dock #room-actions > .key :is(.k-sub, .why, .fill) { display: none; }
#console-dock #room-actions > .key > .k-label { min-inline-size: 0; font: inherit; white-space: normal; }
#console-dock #room-actions > .key::before { content: none; }
#console-dock #room-actions > :is([data-console-slot="end"], .deck-report) { margin-inline-start: 21px; }
#console-dock #room-actions > :is([data-console-slot="end"], .deck-report)::before {
  content: ""; display: block; position: absolute; inset-block: 5px; inset-inline-start: -18px;
  inline-size: 1px; height: auto; background: var(--deck-ink); opacity: .32;
}
.deck-report { color: var(--ink); background: var(--paper-2); border: 1.5px solid var(--rule); text-decoration: none; }
#console-dock .key[aria-disabled="true"]:not(.key--pending) { border-color: var(--rule); color: var(--pencil); background: var(--paper-2); }
#console-dock .key--primary { border-color: var(--ink); color: var(--paper); background: var(--ink); }
#console-dock .key--end { color: var(--final); border-color: var(--final); }
#console-dock #room-actions > .key--armed, #console-dock .key--end.key--pending { color: var(--hatch-ink); background: var(--final); border-color: var(--final); }
#console-dock .key .drain, #console-dock .key--armed::after {
  position: absolute; inset-block-end: 1px; inset-inline: 6px; height: 5px; pointer-events: none;
}
#console-dock .key .drain i { display: block; block-size: 100%; inline-size: calc(100% * var(--v, 1)); background: currentColor; }
#console-dock .key--armed::after { content: ""; background: currentColor; opacity: .7; transform-origin: left; animation: deck-confirm 10s linear forwards; }
:root[dir="rtl"] #console-dock .key--armed::after { transform-origin: right; }
@keyframes deck-confirm { to { transform: scaleX(0); } }
#console-dock #room-actions > .key--pending .k-label { white-space: nowrap; }
#console-dock #room-actions > .key--pending .k-label::before {
  content: ""; display: inline-block; vertical-align: -.1em; box-sizing: border-box; width: .9rem; height: .9rem; margin-inline-end: 5px;
  border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin 1s linear infinite;
}
#console-dock #room-actions > [data-ring="above"] .k-label::before { display: block; margin: 0 auto 3px; }
#console-dock #room-actions > [data-ring="alone"] .k-label { font-size: 0; }
#console-dock #room-actions > [data-ring="alone"] .k-label::before { display: block; margin: auto; }
@media (prefers-reduced-motion: reduce) { #console-dock #room-actions > .key--pending .k-label::before { animation: none; } }
@media (forced-colors: active) { #console-dock .deck-lamp { outline: 1px solid CanvasText; } }
:root:is(.has-start-console, .has-configure-dock) .console-status-line > [data-said-above],
#console-strip[hidden], #console-test-flow[hidden] { display: none; }

@media (min-width: 900px) and (min-height: 601px) and (not (max-width: calc((1em - 16.5px) * 1000000))) {
  :root #console-dock > #console-cue { grid-column: 1; grid-row: 1; }
  :root #console-dock > #room-actions { grid-column: -2 / -1; grid-row: 1; }
  :root.has-output-frame.has-start-console #app-main #session > #console-dock { grid-template-columns: subgrid; column-gap: inherit; grid-row: 2; margin-inline: -24px; margin-block-end: calc(-1 * var(--s3)); }
  :root.has-configure-dock #configure-section > #console-dock { position: sticky; inset-block-end: 0; }
}
@media (max-width: 899px), (max-width: calc((1em - 16.5px) * 1000000)), (max-height: 600px) {
  :root #console-dock { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 12px max(20px, env(safe-area-inset-bottom)); }
  :root #console-cue .deck-state b { font-size: 1.0625rem; }
  :root #console-dock #room-actions { gap: 6px; }
  :root #console-dock #room-actions > :is(.key, .deck-report) { flex: 1 1 0; padding: 4px 8px; }
  /* At ordinary text the two actions share the row. A longer translation can borrow
     space from its neighbour before any word needs to leave its key. */
  :root #console-dock:not([data-enlarged]) #room-actions > :is([data-console-slot="test"], [data-console-slot="translation"]):not(.key--pending) { min-inline-size: min-content; }
  :root #console-dock:not([data-enlarged]) #room-actions > :is([data-console-slot="test"], [data-console-slot="translation"]):not(.key--pending) .k-label { overflow-wrap: normal; }
  :root #console-dock #room-actions > :is([data-console-slot="end"], .deck-report) {
    flex: 0 0 var(--deck-away-width, 92px); margin-inline-start: 12px; font-size: .9375rem;
    --deck-stack-ring: 1;
    padding-inline: 6px;
  }
  :root #console-dock #room-actions > :is([data-console-slot="end"], .deck-report)::before { content: none; }
  #console-dock:lang(fr), #console-dock:lang(es) { --deck-away-width: 93px; }
  #console-dock:lang(de) { --deck-away-width: 97px; }
  /* Pause occupies the first half of the space shared by Test and Start. */
  :root #console-dock #room-actions:has([data-console-slot="test"][hidden]) > [data-console-action="pause"]:not([hidden]) {
    flex: 0 0 calc((100% - var(--deck-away-width, 92px) - 24px) / 2); margin-inline-end: auto;
  }
  :root:is(.has-phone-dock, .has-compact-large-dock) #console-dock, :root.has-configure-dock #configure-section > #console-dock {
    position: fixed; inset-inline: 0; inset-block-end: 0; margin: 0;
  }
  :root:is(.has-phone-dock, .has-compact-large-dock, .has-configure-dock) { scroll-padding-block-end: var(--console-keys-height, 9rem); }
  :root:is(.has-phone-dock, .has-compact-large-dock) .operator-console, :root.has-configure-dock #configure-section { padding-block-end: calc(var(--console-keys-height, 9rem) + 1px); }
}

@media (max-width: 370px) {
  :root #console-dock #room-actions > .key { padding-inline: 2px; }
  /* Confirm Close can take two lines. Opening the confirmation must leave the key under the finger. */
  #console-dock[data-deck-tone="open"] .deck-fact { min-block-size: 2lh; }
}

@media (max-width: 899px), (max-width: calc((1em - 16.5px) * 1000000)), (max-height: 600px) {
  #console-dock > .held-explanation[data-deck-pointer][data-pointer] {
    position: relative; inset: auto; inline-size: auto; max-inline-size: none;
    align-self: stretch; margin-block-end: 4px; padding: 8px 14px; border-radius: 10px;
  }
}

/* With larger type the normal-width way out can split a single word. Give the row the whole deck
   and size each face from its words. Multiword labels can break at a space. */
:root #console-dock[data-enlarged] { display: flex; flex-direction: column; align-items: stretch; align-self: stretch; order: 4; gap: 8px; }
:root #console-dock[data-enlarged] .deck-state b { line-height: 1.4; }
/* Allow a second line of keys only if their longest whole words cannot share one. */
:root #console-dock[data-enlarged] #room-actions { gap: 4px; flex-wrap: wrap; }
:root #console-dock[data-enlarged] #room-actions > :is(.key, .deck-report),
:root #console-dock[data-enlarged] #room-actions:has([data-console-slot="test"][hidden]) > [data-console-action="pause"]:not([hidden]) {
  flex: 1 1 min-content; min-inline-size: 44px; padding-inline: 2px; margin-inline-end: 0;
}
:root #console-dock[data-enlarged] #room-actions > :is([data-console-slot="end"], .deck-report) { margin-inline-start: 6px; }
:root #console-dock[data-enlarged] #room-actions > :is([data-console-slot="end"], .deck-report)::before { content: none; }
:root #console-dock[data-enlarged] #room-actions .k-label { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* Board 1.3 keeps the audience's waiting page above the operator's private Test, beside its sharing controls. */
@media (min-width: 900px) and (min-height: 601px) {
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto var(--test-wait-row, minmax(52px, 1fr)) auto minmax(106px, 1.7fr);
  }
  /* A single Output keeps the whole audience waiting message above the private captions, including when the message wraps. */
  /* In the narrow single-Output Test, keep the waiting audience and the private captions on screen.
     Each sharing group uses two named rows beside them, with its address or code in the first cell. */
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home {
    inline-size: 250px; justify-content: flex-start; margin-block: 6px;
  }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output { gap: 6px; }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output > .share-group {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; align-items: stretch; gap: 4px;
  }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output > #output-qr-group { grid-template-columns: 120px minmax(0, 1fr); padding-block-start: 6px; }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output .share-cap { grid-column: 1 / -1; }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output .share-keys { display: contents; }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output .share-key {
    gap: 4px; padding-inline: 4px; block-size: auto;
  }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #permanent-output .share-key:is(*, :focus-visible)::after { font-size: 13px; overflow-wrap: normal; word-break: normal; }
  :root.has-room-frame.has-start-console #app-main #test-preview[data-private-card][data-body="stack"] > #console-share-home #output-link { padding-inline: 0; }
  #test-preview[data-private-card][data-body] { --test-wait-row: max-content; }
  :root.has-room-frame #app-main #console-output-pane #test-preview[data-private-card][data-body] > #session-monitor-glass { contain: inline-size; }
  #test-preview[data-private-card][data-body] > #test-preview-glass { contain: size; }
  #test-preview[data-private-card][data-body] #test-caption { max-block-size: round(down, 100%, 1lh); }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #test-preview-head { grid-area: 1 / 1 / 2 / -1; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #session-monitor-shown { display: block; grid-area: 2 / 1; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #session-monitor-glass { grid-area: 3 / 1; min-height: 0; margin: 0 0 4px 16px; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #test-private-title { display: block; justify-self: start; width: fit-content; grid-area: 4 / 1; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #test-preview-glass { grid-area: 5 / 1; margin: 0 0 14px 16px; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #console-share-home { grid-area: 2 / 2 / 6 / 3; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > :is(#test-private-title, #session-monitor-shown) { margin: 0; padding: 6px 0 6px 16px; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] #test-preview-pill,
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] #test-preview-qr { display: none; }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] > #test-preview-glass,
  .output-private-glass { display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); min-block-size: calc(2lh + 24px); }
  :root.has-output-frame.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane #test-preview[data-private-card] #test-caption { margin: 0; min-height: 0; font-size: var(--t-18); }
  :root.has-output-frame.has-share-cards.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane .output-pane:has(> .output-private-test:not([hidden])) { grid-template-rows: auto minmax(4rem, 1fr) auto; }
  :root.has-output-frame.has-share-cards.has-start-console.has-room-frame:not(.has-advanced-console) #app-main #console-output-pane .output-pane:has(> .output-private-test:not([hidden])) > .share-row { grid-row: 2 / 4; }
  .output-private-test:not([hidden]) { grid-area: 3 / 1; padding: 4px 0 8px 16px; }
  .output-private-title { justify-self: start; width: fit-content; margin: 0 0 6px; color: var(--ink-2); font-size: var(--text-caption-size); font-weight: var(--text-caption-weight); }
  .output-private-caption { margin: 0; overflow: auto; overflow-wrap: anywhere; font-size: var(--t-18); line-height: 1.4; }
}

.output-card-tools[hidden], .output-card-settings[hidden] { display: none; }
@media (min-width: 900px) and (min-height: 601px) {
  #app-main [data-card-tools] > .listen-keys { display: none !important; }
  #app-main [data-card-tools] .output-card-tools {
    position: relative; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap;
  }
  #app-main [data-card-tools] .output-card-tools > button { inline-size: var(--target); min-inline-size: var(--target); block-size: var(--target); padding: 0; }
  #app-main [data-card-tools] .output-card-listen[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
  #app-main [data-card-tools] .output-card-caption-mode { font-size: var(--text-caption-size); white-space: normal; line-height: 1.1; text-align: center; }
  #app-main [data-card-tools] .output-card-tools > [hidden] { display: none; }
  #app-main [data-card-tools] .output-card-language { display: inline-flex; max-inline-size: 100%; position: relative; }
  #app-main [data-card-tools] .output-card-language > button { min-inline-size: 0; padding: 0 3px; border: 0; background: transparent; font-weight: 700; }
  #app-main [data-card-tools] .output-card-language > .pop-menu { position: absolute; inset-inline-start: 0; inset-block-start: 100%; z-index: 4; min-inline-size: 12rem; max-block-size: 42vh; overflow-y: auto; }
  #app-main [data-card-tools] .output-card-settings {
    position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 4px); z-index: 6; padding: 12px; inline-size: max-content; max-inline-size: 16rem;
    display: grid; grid-template-columns: 1fr auto; gap: 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); white-space: normal;
  }
  #app-main [data-card-tools] .output-card-settings[hidden] { display: none; }
  #app-main [data-card-tools] .output-settings-device { grid-column: 1/-1; margin: 0; }
  #app-main [data-card-tools] .output-settings-configure { grid-column: 1/-1; }
  #app-main [data-card-tools] .output-settings-close { padding: 0 6px; }
  :root.has-start-console:not(.has-advanced-console) #app-main #console-output-pane :is(#session-monitor-head, .output-pane-head)[data-card-tools] > .output-card-tools { grid-column: 6; grid-row: 1; }
  :root.has-start-console:not(.has-advanced-console):not(.has-several-panes) #app-main #console-output-pane #session-monitor-head[data-card-tools] > .output-card-tools { grid-column: 5; }
  :root.has-start-console:not(.has-advanced-console) #app-main #console-output-pane #test-preview-head[data-card-tools] > .output-card-tools { order: 2; flex: none; min-inline-size: var(--pane-listen); }
}
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  #app-main [data-card-tools] .output-card-tools > button { block-size: 32px; min-block-size: 32px; inline-size: 32px; min-inline-size: 32px; }
}

/* The Room head uses a single Listen toggle and a settings key. The same short labels fit every
   Output, while the accessible name and tooltip also identify its language and playback status. */
@media (min-width: 900px) and (min-height: 601px) {
  :root.has-room-frame #app-main #console-output-pane [data-card-tools] .output-card-tools > button {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px;
    inline-size: auto; min-inline-size: var(--target); padding-inline: 5px; white-space: nowrap;
  }
  :root.has-room-frame #app-main #console-output-pane [data-card-tools] .output-card-tools > button:is(*, :focus-visible)::after {
    content: attr(data-key-label); position: static; z-index: auto; inline-size: auto; max-inline-size: none;
    padding: 0; color: inherit; background: transparent; line-height: 1.2; font-size: var(--t-14);
  }
  :root.has-room-frame #app-main #console-output-pane [data-card-tools] .output-card-tools > button svg { flex: none; }
}
@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root.has-room-frame.has-start-console.has-several-panes #app-main #console-output-pane :is(#session-monitor-head, #test-preview-head, .output-pane:not(.output-pane--overlay) > .output-pane-head)[data-card-tools] {
    --pane-head-gap: var(--s1);
    padding: 2px 8px; column-gap: var(--pane-head-gap);
  }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane [data-card-tools] .output-card-tools > button { padding-inline: 3px; gap: 3px; }
  :root.has-room-frame.has-several-panes #app-main #console-output-pane [data-card-tools] .output-card-tools > button:is(*, :focus-visible)::after {
    font-size: .78125rem;
  }
}

@media (min-width: 900px) and (min-height: 601px) {
  #app-main [data-card-tools] :is(.output-card-settings, .output-card-language > .pop-menu):popover-open {
    position: fixed; inset: auto; margin: 4px 0 0; inset-block-start: anchor(bottom); position-try-fallbacks: flip-block, flip-inline;
  }
  #app-main [data-card-tools] .output-card-settings:popover-open { right: anchor(right); }
  #app-main [data-card-tools] .output-card-language > .pop-menu:popover-open { left: anchor(left); }
}

@media (min-width: 900px) and (min-height: 601px) {
  :root.has-start-console #app-main #console-output-pane [data-card-tools] .output-card-language > button {
    display: inline-flex; flex-direction: row; align-items: center; gap: 4px; width: max-content; max-width: 100%; height: auto; min-height: 32px;
    padding: 0 2px; line-height: 1.2; font: inherit; font-weight: 700; color: var(--ink); background: transparent; border: 0;
  }
  :root.has-start-console #app-main #console-output-pane [data-card-tools] .output-card-language > button svg { flex: 0 0 12px; width: 12px; height: 12px; }
  :root.has-start-console #app-main #console-output-pane [data-card-tools] .output-card-tools > button { border: 1px solid var(--rule); border-radius: 8px; background: var(--paper-2); color: var(--ink); }
  :root.has-start-console #app-main #console-output-pane [data-card-tools] .output-card-tools > button[aria-pressed="true"] { background: var(--ink); color: var(--paper-2); }
}

@media (min-width: 900px) and (min-height: 601px) and (hover: hover) and (pointer: fine) {
  :root.has-start-console.has-several-panes:not(.has-advanced-console):not([data-text="200"]) #app-main #console-output-pane :is(#session-monitor-head, .output-pane:not(.output-pane--overlay) > .output-pane-head)[data-card-tools] { padding-block-end: 3px; }
}

@media (max-width: 899px), (max-height: 600px) {
  /* The short key belongs to the operator. The audience copy, including its QR and original words, stays in the Output's language. */
  :root.has-several-panes:not(.has-advanced-console) :is(#session-monitor-glass, .output-pane-glass):has(> .output-pane-keys:not([hidden])) {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s1) 0; padding: 10px 14px;
    > :is(#session-monitor-identity, .output-pane-identity) { position: static; grid-area: 1 / 1 / 2 / -1; max-inline-size: 100%; }
    > .output-paused-sign { grid-area: 2 / 1; margin-inline-end: var(--s2); color: var(--attn); }
    > :is(#session-monitor-caption, .output-pane-caption) { grid-area: 2 / 2; min-inline-size: 0; margin: 0; padding: 0; }
    > .output-pane-keys { grid-area: 2 / 3; width: auto; margin-inline-start: var(--s2); }
    > .output-pane-original { grid-column: 1 / -1; }
    .output-pane-act { align-items: center; min-inline-size: 88px; min-block-size: var(--target); padding-inline: 12px; font-size: var(--t-14); }
  }
  :root[data-text="200"].has-several-panes:not(.has-advanced-console) :is(#session-monitor-glass, .output-pane-glass):has(> .output-pane-keys:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) auto;
    > :is(#session-monitor-caption, .output-pane-caption) { grid-area: 2 / 1 / 3 / -1; }
    > .output-paused-sign { grid-area: 3 / 1; }
    > .output-pane-keys { grid-area: 3 / 2; }
  }
}
