/* Generated from the DAP Compose stylesheet by build-hub-compose.mjs. */
/* Compose: the orb is the whole tool (docs/compose/DISPATCH-silent-orb.md and DISPATCH-fable-final.md; DAP 2026 brand:
   carbon and graphite, square corners for everything but the orb, red appears once, as the orb's glow while
   listening). Colours are the tokens in /assets/tokens.css, read by name; the Gallery at / does not load that file,
   so each token carries its own value as the fallback, the same value. The rule and the muted ink are Compose's own
   carbon values, never the page's (--rule and --ink-muted change on a light page, where the muted ink is too dark
   to read on Compose's carbon plate). One easing curve, the site's own
   (cubic-bezier(.65, 0, .35, 1), as --ease in the Gallery and --m-ease on the Milestone 1 pages; ui/line.ts holds
   the same curve for script). Motion explains; it never decorates. */
/* The one curve and the one duration, for the orb's region and for the line and veil drawn beside it. */
.cmp, .cmp-line { --cmp-ease: cubic-bezier(.65, 0, .35, 1); --cmp-t: 240ms; }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cmp { --cmp-carbon: var(--dap-carbon, #111517); --cmp-graphite: var(--dap-graphite, #23262A); --cmp-white: var(--dap-warm-white, #F8F9FA); --cmp-red: var(--dap-vermilion, #D8412F); --cmp-rule: #6B7178; --cmp-muted: #A3A7AD; --cmp-orb: 36px;
  position: fixed; left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: flex-end; gap: 10px; max-width: calc(100vw - 24px); pointer-events: none; font-family: var(--font-sans, "Archivo", system-ui, sans-serif); color-scheme: dark; }
.cmp[data-dock="top"] { bottom: auto; top: calc(10px + env(safe-area-inset-top, 0px)); align-items: flex-start; }
/* Where a page leaves a margin beside its own column, the plate stands in it, above the orb, and covers none of the
   page's words (core/seamless.ts plateFit; the widths are GUTTER_WIDTH, held to it by tests/compose/seamless.test.ts). */
.cmp[data-fit="gutter"] { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
.cmp[data-fit="gutter"] .cmp-body { margin-bottom: 0; padding: 8px 10px 9px; }
.cmp[data-fit="gutter"][data-gutter="s"] .cmp-body { max-width: 108px; }
.cmp[data-fit="gutter"][data-gutter="m"] .cmp-body { max-width: 140px; }
.cmp[data-fit="gutter"][data-gutter="l"] .cmp-body { max-width: 196px; }
.cmp[data-fit="gutter"] :is(.cmp-suggest, .cmp-choices, .cmp-caption, .cmp-btn) { font-size: 15px; line-height: 20px; overflow-wrap: break-word; }
.cmp[data-fit="gutter"] :is(.cmp-choices, .cmp-meta) { gap: 2px 6px; }
.cmp > * { pointer-events: auto; }
/* Words never block the page under them: only the orb, the suggestion, the choices and the typing box take a press. */
.cmp > .cmp-body { pointer-events: none; }
.cmp-body :is(button, input, form) { pointer-events: auto; }

/* The orb: a real button, and the orb is the button, 36 px across: the size of the room's orb on a phone, and small
   enough to sit in a page's margin without covering the words of a button beside it (on a phone, AA-1's Get started;
   scripts/check-navigation.mjs holds that page's hero to its contrast with the orb on it). No hit area beyond what
   is drawn, so it never takes a press meant for the page. A 2D drawing of the same object the room models (src/site/machine/gallery-scene.js): brushed metal under a glass
   coat, with the lamp overhead as one soft highlight, the room gathered at its rim and the floor below it. */
.cmp-mark { position: relative; flex: none; width: var(--cmp-orb); height: var(--cmp-orb); background: none; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; }
.cmp-mark:focus-visible { outline: 2px solid var(--cmp-white); outline-offset: 3px; }
.cmp-orb { width: 100%; height: 100%; border-radius: 50%;
  background:
    radial-gradient(ellipse 24% 20% at 50% 21%, color-mix(in srgb, var(--cmp-white) 88%, transparent) 0, color-mix(in srgb, var(--cmp-white) 22%, transparent) 52%, transparent 100%),
    radial-gradient(circle at 50% 50%, transparent 60%, color-mix(in srgb, var(--cmp-muted) 20%, transparent) 86%, color-mix(in srgb, var(--cmp-white) 34%, transparent) 100%),
    linear-gradient(180deg, transparent 54%, color-mix(in srgb, var(--cmp-rule) 38%, transparent) 100%),
    radial-gradient(circle at 50% 40%, #3A3F45 0, var(--cmp-graphite) 50%, var(--cmp-carbon) 100%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cmp-rule) 60%, transparent), 0 6px 14px color-mix(in srgb, #000 55%, transparent);
  transition: box-shadow var(--cmp-t) var(--cmp-ease), transform var(--cmp-t) var(--cmp-ease); }
.cmp-mark:hover .cmp-orb { box-shadow: 0 0 0 1px var(--cmp-muted), 0 6px 14px color-mix(in srgb, #000 55%, transparent); }
/* Listening: it glows the one red from within, the brand's own #D8412F flat across its face (the highlight sits
   above the middle, so nothing turns the middle coral), deepening to its rim under the same glass. It breathes.
   Under reduced motion nothing pulses: it holds still at its fullest glow. */
.cmp[data-mic="on"] .cmp-orb {
  background:
    radial-gradient(ellipse 20% 14% at 50% 17%, color-mix(in srgb, var(--cmp-white) 82%, transparent) 0, transparent 100%),
    radial-gradient(circle at 50% 50%, transparent 64%, color-mix(in srgb, var(--cmp-white) 20%, transparent) 100%),
    radial-gradient(circle at 50% 50%, var(--cmp-red) 0, var(--cmp-red) 34%, color-mix(in srgb, var(--cmp-red) 32%, var(--cmp-carbon)) 100%);
  box-shadow: 0 0 0 1px var(--cmp-red), 0 0 22px 6px color-mix(in srgb, var(--cmp-red) 50%, transparent); animation: cmp-breathe 1.8s var(--cmp-ease) infinite alternate; }
@keyframes cmp-breathe { from { transform: scale(1); box-shadow: 0 0 0 1px var(--cmp-red), 0 0 14px 3px color-mix(in srgb, var(--cmp-red) 40%, transparent); } to { transform: scale(1.06); box-shadow: 0 0 0 1px var(--cmp-red), 0 0 30px 10px color-mix(in srgb, var(--cmp-red) 55%, transparent); } }
/* The orb shows it hears (DISPATCH-seamless.md, item 2): while words arrive, a ring ripples out from it, in the one
   red, on the one curve. It is driven by the recognizer's own events and nothing else (ui/app.ts, heardSound), and
   eases out within a second of silence. Under reduced motion nothing moves: a steady, brighter glow instead. */
.cmp-orb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--cmp-red); opacity: 0; pointer-events: none; transition: opacity var(--cmp-t) var(--cmp-ease); }
.cmp-orb { position: relative; }
.cmp[data-hearing="on"][data-mic="on"] .cmp-orb::after { animation: cmp-ripple 900ms var(--cmp-ease) infinite; }
@keyframes cmp-ripple { from { transform: scale(1); opacity: .75; } to { transform: scale(1.9); opacity: 0; } }
/* Intent counts down (amendment B; two seconds since DISPATCH-fluid.md, part 2): a ring round the orb, half of it
   going out each second, and the number in it. A press of the orb, Esc or a cancel word stops it. Under reduced
   motion the numbers change and nothing sweeps. */
.cmp-count { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cmp-count[hidden] { display: none; }
.cmp-ring { position: absolute; left: 50%; top: 50%; width: calc(100% + 14px); height: calc(100% + 14px); transform: translate(-50%, -50%) rotate(-90deg); overflow: visible; }
.cmp-ring circle { fill: none; stroke: var(--cmp-white); stroke-width: 2; stroke-dasharray: 103.67; stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--cmp-ease); }
.cmp[data-count="1"] .cmp-ring circle { stroke-dashoffset: 51.84; }
.cmp[data-count="0"] .cmp-ring circle { stroke-dashoffset: 103.67; }
.cmp-count-n { position: relative; font: 500 15px/1 var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-white); paint-order: stroke fill; -webkit-text-stroke: 3px var(--cmp-carbon); }
/* The mute for Compose's two sounds (amendment C): small, beside the orb, there while Compose is awake. */
.cmp-mute { flex: none; align-self: flex-end; min-width: 24px; min-height: 24px; padding: 4px 2px; background: none; border: 0; border-radius: 0; font: 400 12px/16px var(--font-sans, "Archivo", system-ui, sans-serif); letter-spacing: .05em; color: var(--cmp-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; paint-order: stroke fill; -webkit-text-stroke: 3px var(--cmp-carbon); }
.cmp-mute[hidden] { display: none; }
.cmp-mute:focus-visible { outline: 2px solid var(--cmp-white); outline-offset: 2px; }
/* A question that takes a plain yes: a warm-white ring round the orb, at the orb's own size. */
.cmp[data-state="needsYes"] .cmp-orb { outline: 2px solid var(--cmp-white); outline-offset: 3px; }

/* The words beside the orb. Over a page they sit on one carbon plate, so they never print over the page's own
   text; the plate is there only while there is something to read. */
.cmp-body { flex: 0 1 auto; min-width: 0; max-width: min(640px, calc(100vw - 82px)); margin-bottom: 2px; padding: 8px 14px 9px; display: flex; flex-direction: column; gap: 4px; background: var(--cmp-carbon); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cmp-rule) 50%, transparent), 0 10px 28px color-mix(in srgb, #000 45%, transparent); }
.cmp[data-state="asleep"] .cmp-body { display: none; }
.cmp-body:not(:has(> .cmp-caption:not(:empty), > .cmp-suggestion > :not([hidden]), > .cmp-choices:not([hidden]), > .cmp-stops:not([hidden]), > .cmp-form:not([hidden]), > .cmp-meta > :not([hidden]), > .cmp-log:not([hidden]))) { display: none; }
/* The next stops (DISPATCH-fluid.md, part 4): a small, quiet row under the plate's words. "Next", then up to three
   places of the idea just named, each a button that goes there. Never larger than the words above it. */
.cmp-stops { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font: 400 13px/18px var(--font-sans, "Archivo", system-ui, sans-serif); letter-spacing: .04em; color: var(--cmp-muted); }
.cmp-stops[hidden] { display: none; }
.cmp-stops .cmp-btn { font: 400 15px/20px var(--font-sans, "Archivo", system-ui, sans-serif); letter-spacing: 0; padding: 6px 0; min-height: 32px; text-decoration-thickness: 1px; }
/* While it counts, the plate states what it is doing: not a question, so not underlined as one. A press still goes now.
   And it cannot be missed (DISPATCH-fluid.md, part 2): the plate is large, ringed in warm white, and carries the
   seconds beside where it is going. --cmp-count is its type size; a phone takes the smaller one below. */
.cmp { --cmp-count: 30px; }
.cmp[data-suggest="count"] .cmp-body { padding: 14px 20px 16px; box-shadow: 0 0 0 2px var(--cmp-white), 0 14px 36px color-mix(in srgb, #000 55%, transparent); }
.cmp[data-suggest="count"] .cmp-suggestion { display: flex; align-items: center; gap: 16px; }
.cmp[data-suggest="count"] .cmp-suggest { text-decoration: none; font-size: var(--cmp-count); line-height: calc(var(--cmp-count) + 6px); }
.cmp-secs { flex: none; min-width: 44px; height: 44px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--cmp-white); font: 500 var(--cmp-count)/1 var(--font-sans, "Archivo", system-ui, sans-serif); font-variant-numeric: tabular-nums; color: var(--cmp-white); }
.cmp-secs[hidden] { display: none; }
/* Torn between two places: "Research or About?", each name a button, the words between them plain. */
.cmp-choices { font: 500 20px/26px var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-white); }
.cmp-hint { display: none; }
.cmp-caption { margin: 0; font-size: 18px; line-height: 24px; font-weight: 400; overflow-wrap: anywhere; color: var(--cmp-white); }
.cmp-caption:empty { display: none; }
.cmp-caption button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
/* The suggestion: the one thing to confirm. A press of it confirms, as do "go", "yes" and Enter. */
.cmp-suggestion:not(:has(> :not([hidden]))) { display: none; }
.cmp-suggest { font: 500 20px/26px var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-white); background: none; border: 0; border-radius: 0; padding: 9px 0; min-height: 44px; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; animation: cmp-arrive var(--cmp-t) var(--cmp-ease); }
.cmp-suggest:focus-visible { outline: 2px solid var(--cmp-white); outline-offset: 2px; }
@keyframes cmp-arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* Universal search (DISPATCH-fluid.md, part 5). On a page the bar is closed to a button by the orb, the orb's own
   size, so it never covers the page's words; a press, or the / key, opens it. In the room it stands under the orb at
   rest. Its results list above the field (the orb sits at the foot of the window), each with a quiet word for what
   it is. The chosen result is marked by a rule and by weight, not by colour alone. */
.cmp-find { flex: none; align-self: flex-end; width: var(--cmp-orb); height: var(--cmp-orb); display: grid; place-items: center; padding: 0; background: var(--cmp-carbon); border: 0; border-radius: 0; box-shadow: 0 0 0 1px color-mix(in srgb, var(--cmp-rule) 60%, transparent); color: var(--cmp-white); cursor: pointer; }
.cmp-find[hidden] { display: none; }
.cmp-find svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cmp-find:hover { box-shadow: 0 0 0 1px var(--cmp-muted); }
.cmp-find:focus-visible { outline: 2px solid var(--cmp-white); outline-offset: 3px; }
.cmp-form { display: flex; flex-direction: column; gap: 6px; }
.cmp-form[hidden] { display: none; }
.cmp-results { list-style: none; margin: 0; padding: 0; max-height: min(50vh, 320px); overflow-y: auto; width: min(520px, calc(100vw - 112px)); }
.cmp-results[hidden] { display: none; }
.cmp-results li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 36px; padding: 7px 10px 7px 8px; border-left: 2px solid transparent; font: 400 16px/22px var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-white); cursor: pointer; }
.cmp-results li[aria-selected="true"] { border-left-color: var(--cmp-white); background: var(--cmp-graphite); font-weight: 500; }
.cmp-results li:hover { background: var(--cmp-graphite); }
.cmp-r-name { min-width: 0; overflow-wrap: anywhere; }
.cmp-r-kind { flex: none; font: 400 12px/16px var(--font-sans, "Archivo", system-ui, sans-serif); letter-spacing: .05em; color: var(--cmp-muted); }
.cmp-form input::-webkit-search-cancel-button { display: none; }
.cmp-form input { width: min(520px, calc(100vw - 112px)); background: var(--cmp-carbon); border: 0; border-bottom: 1px solid var(--cmp-white); color: var(--cmp-white); font: 400 18px/28px var(--font-sans, "Archivo", system-ui, sans-serif); padding: 2px 4px; border-radius: 0; outline: none; }
.cmp-form input::placeholder { color: var(--cmp-muted); opacity: 1; }
.cmp-form:focus-within { outline: 2px solid var(--cmp-white); outline-offset: 3px; }
.cmp-choices, .cmp-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
/* The second name of a two-place offer and what follows it, kept together with no gap: "About?", never "About ?". */
.cmp-tail { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; flex: none; }
.cmp-meta:not(:has(> :not([hidden]))) { display: none; }
.cmp-btn { font: 500 18px/24px var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-white); background: none; border: 0; border-radius: 0; padding: 10px 0; cursor: pointer; flex: none; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.cmp-btn:focus-visible { outline: 2px solid var(--cmp-white); outline-offset: 2px; }
/* The transcript on demand: a small word at rest, a short scrolling list once asked for. */
.cmp-btn.cmp-log-btn { font-size: 13px; line-height: 18px; min-height: 32px; padding: 7px 0; opacity: .82; }
.cmp-log { list-style: none; margin: 4px 0 0; padding: 0; max-height: min(40vh, 280px); overflow-y: auto; font: 400 14px/20px var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-white); }
.cmp-log li { padding: 4px 0; }
.cmp-log-who { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cmp-badge, .cmp-progress { flex: none; font: 13px/18px var(--font-mono, ui-monospace, monospace); color: var(--cmp-white); background: var(--cmp-graphite); padding: 1px 5px; }
.cmp[data-room="on"] .cmp-caption { font-size: 44px; line-height: 52px; }
.cmp[data-room="on"] .cmp-body { max-width: min(1200px, calc(100vw - 82px)); padding: 14px 22px 16px; }

/* The line: warm white always, so red stays the orb's alone. And the veil (item 3): on a suggestion, a light carbon
   veil over the page, with the target left clear and the orb above it. --cmp-veil is its strength: light enough that
   text under it keeps WCAG 1.4.3 AA (4.5 to 1), which check:navigation measures on every page and
   tests/compose/seamless.test.ts on the site's own inks. */
.cmp-line { --cmp-veil: .16; --cmp-lit: .08; position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 59; }
.cmp-line .cmp-veil { fill: var(--dap-carbon, #111517); fill-rule: evenodd; stroke: none; opacity: 0; transition: opacity var(--cmp-t) var(--cmp-ease); }
.cmp-line .cmp-veil[data-on] { opacity: var(--cmp-veil); }
/* The place left clear is lit: a faint warm wash and a hairline round it. On a dark page a carbon veil darkens nothing
   that is already carbon, so the question would not show; the lit place does (fix round, 10 November 2026). --cmp-lit
   is its strength: seen on carbon, and the site's inks inside it keep WCAG 1.4.3 AA (tests/compose/seamless.test.ts). */
.cmp-line .cmp-lit { fill: var(--dap-warm-white, #F8F9FA); fill-opacity: var(--cmp-lit); stroke: var(--dap-warm-white, #F8F9FA); stroke-opacity: .45; stroke-width: 1; opacity: 0; transition: opacity var(--cmp-t) var(--cmp-ease); }
.cmp-line .cmp-lit[data-on] { opacity: 1; }
.cmp-line path { fill: none; stroke-linejoin: miter; stroke-linecap: butt; }
.cmp-casing { stroke: var(--dap-carbon, #111517); stroke-width: 6; }
.cmp-stroke { stroke: var(--dap-warm-white, #F8F9FA); stroke-width: 3; }
.cmp-room .cmp-stroke { stroke-width: 5; }
.cmp-room .cmp-casing { stroke-width: 8; }

/* The orb's move (src/site/machine/room-plan.js, ORB_MOVE): the faint copies that trail the orb from the centre of
   the room to its corner, and the copy that fades where it stood under reduced motion. Drawn, never pressed. */
/* The orb in flight (gallery.js, placing): nothing of Compose takes a click while it travels across the room, so a
   panel link under its path stays the reader's. Two classes, so it outranks the rules above that turn clicks on. */
.cmp.cmp-travelling, .cmp.cmp-travelling * { pointer-events: none; }
.cmp-ghost { position: fixed; z-index: 59; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--dap-warm-white, #F8F9FA) 70%, transparent), color-mix(in srgb, var(--dap-warm-white, #F8F9FA) 12%, transparent) 62%, transparent 72%); }

/* On /: the orb stands in the room, in the gap between the Data and Research exhibits, about 48 px across at 1440
   wide, with "Navigate with your voice" under it, small and quiet, and what it hears or suggests below that. The
   3D room draws the orb and writes where it is on screen and how big (--orb-x, --orb-y, --orb-r,
   src/site/machine/gallery-scene.js); the button is centred on it, the orb's size and never under 48 px for a
   finger. Without the room (the still), the button draws the orb itself in the same gap of the still: the still
   covers the viewport, so the orb's centre and radius sit at fixed shares of the still's height, worked out from the
   room's plan (orbInStill in src/site/machine/room-plan.js: 0.1485 below the middle and a radius of 0.0266 on the
   1440 by 900 still; 0.1238 and 0.0218 on the phone still; held to the plan by tests/compose/orb.test.ts), scaled
   as background-size: cover scales it. In the room the words keep an outline and no plate: there is no page text
   under them. An exhibit chosen, or the Directory: the orb goes to its corner, above the dock. */
.gallery-page:not(.focused):not(.directory) .cmp { --orb-cover: max(100vh, 62.5vw); --orb-still-y: calc(50vh + .1485 * var(--orb-cover)); --orb-still-r: calc(.0266 * var(--orb-cover)); --orb-size: calc(2 * var(--orb-r, var(--orb-still-r))); --orb-hit: max(48px, var(--orb-size)); left: var(--orb-x, 50vw); top: calc(var(--orb-y, var(--orb-still-y)) - var(--orb-hit) / 2); bottom: auto; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 0; max-width: min(340px, calc(100vw - 32px)); }
.gallery-page:not(.focused):not(.directory) .cmp .cmp-body { align-items: center; text-align: center; max-width: 100%; margin: 0; padding: 2px 0 0; gap: 2px; background: none; box-shadow: none; }
.gallery-page:not(.focused):not(.directory) .cmp :is(.cmp-caption, .cmp-suggest, .cmp-btn, .cmp-hint) { paint-order: stroke fill; -webkit-text-stroke: 4px var(--cmp-carbon); stroke-linejoin: round; }
.gallery-page:not(.focused):not(.directory) .cmp[data-state="asleep"] .cmp-body { display: flex; }
.gallery-page:not(.focused):not(.directory) .cmp[data-state="asleep"] .cmp-hint { display: block; font: 400 12px/16px var(--font-sans, "Archivo", system-ui, sans-serif); color: var(--cmp-muted); letter-spacing: .05em; -webkit-text-stroke-width: 3px; }
.gallery-page:not(.focused):not(.directory) .cmp .cmp-caption { font-size: 16px; line-height: 22px; }
.gallery-page:not(.focused):not(.directory) .cmp .cmp-suggest { text-align: center; font-size: 20px; line-height: 26px; }
/* The count in the room: as large, under the orb. The words keep their outline and take no plate, as all the room's do. */
.gallery-page:not(.focused):not(.directory) .cmp[data-suggest="count"] .cmp-body { padding: 6px 0 0; box-shadow: none; }
.gallery-page:not(.focused):not(.directory) .cmp[data-suggest="count"] .cmp-suggestion { justify-content: center; }
.gallery-page:not(.focused):not(.directory) .cmp[data-suggest="count"] .cmp-suggest { font-size: var(--cmp-count); line-height: calc(var(--cmp-count) + 6px); }
.gallery-page:not(.focused):not(.directory) .cmp .cmp-secs { background: var(--cmp-carbon); }
/* The search bar in the room: under the orb and its words, centred, on carbon so it reads over the floor. The bar is
   on show there, so its button is not: nothing stands between the orb and its words. */
.gallery-page:not(.focused):not(.directory) .cmp-find { display: none; }
.gallery-page:not(.focused):not(.directory) .cmp .cmp-form { align-items: center; margin-top: 6px; }
.gallery-page:not(.focused):not(.directory) .cmp .cmp-form input { width: min(320px, calc(100vw - 48px)); text-align: center; font-size: 16px; line-height: 26px; padding: 4px 8px; }
/* Its results stand above the orb, over the room, so they never run under the dock at the foot of the window. */
.gallery-page:not(.focused):not(.directory) .cmp .cmp-results { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: min(420px, calc(100vw - 32px)); max-height: min(44vh, 320px); background: var(--cmp-carbon); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cmp-rule) 60%, transparent), 0 10px 28px color-mix(in srgb, #000 45%, transparent); text-align: left; }
.gallery-page:not(.focused):not(.directory) .cmp-mark { width: var(--orb-hit); height: var(--orb-hit); }
.gallery-page:not(.focused):not(.directory) .cmp-orb { width: var(--orb-size); height: var(--orb-size); }
/* The room draws its own orb: the button over it stays a real, focusable button, drawn clear. A commit's question
   still rings it, at the orb's own size. */
.gallery-page.scene-ready:not(.focused):not(.directory) .cmp[data-mic] .cmp-orb { background: none; box-shadow: none; animation: none; }
/* With an exhibit chosen the dock stays at the foot of the room: the orb and its words sit above it and its label. */
.gallery-page.focused .cmp { bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
/* A next stop's dock link is marked more quietly than a lit one: its rule is drawn in the muted ink. */
.gallery-page .bar .sec[data-compose-next]:not([data-compose-lit])::after { transform: scaleX(1); background: #A3A7AD; }
/* On /, a suggestion lights its exhibit's dock link too. */
.gallery-page .bar .sec[data-compose-lit] { color: var(--dap-warm-white, #F8F9FA); }
.gallery-page .bar .sec[data-compose-lit]::after { transform: scaleX(1); background: var(--dap-warm-white, #F8F9FA); }

@media (max-width: 760px) {
  .cmp { --cmp-count: 24px; }
  /* On a phone the open search bar takes the window's width, above the orb and its button, and nothing runs off it. */
  body:not(.gallery-page) .cmp:has(.cmp-form:not([hidden])) { flex-wrap: wrap; }
  body:not(.gallery-page) .cmp:has(.cmp-form:not([hidden])) .cmp-body { order: -1; flex: 1 0 100%; max-width: calc(100vw - 24px); box-sizing: border-box; }
  body:not(.gallery-page) .cmp-form input, body:not(.gallery-page) .cmp-results { width: 100%; box-sizing: border-box; }
  .cmp[data-room="on"] .cmp-caption { font-size: 28px; line-height: 34px; }
  .gallery-page .cmp { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .gallery-page.focused .cmp { bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 860px) and (orientation: portrait) {
  .gallery-page:not(.focused):not(.directory) .cmp { --orb-cover: max(100vh, 216.41vw); --orb-still-y: calc(50vh + .1238 * var(--orb-cover)); --orb-still-r: calc(.0218 * var(--orb-cover)); }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-orb, .cmp-suggest { transition: none; animation: none; }
  .cmp-orb::after, .cmp-ring circle, .cmp-line .cmp-veil { transition: none; animation: none; }
  .cmp-line .cmp-lit { transition: none; }
  .cmp[data-hearing="on"][data-mic="on"] .cmp-orb::after { animation: none; transform: none; opacity: 0; }
  .cmp[data-hearing="on"][data-mic="on"] .cmp-orb { box-shadow: 0 0 0 1px var(--cmp-red), 0 0 0 4px color-mix(in srgb, var(--cmp-red) 45%, transparent), 0 0 34px 12px color-mix(in srgb, var(--cmp-red) 70%, transparent); }
  .cmp[data-mic="on"] .cmp-orb { animation: none; transform: none; box-shadow: 0 0 0 1px var(--cmp-red), 0 0 30px 10px color-mix(in srgb, var(--cmp-red) 60%, transparent); }
}
@media print { .cmp, .cmp-line { display: none; } }

/* Turnstile's invisible check (ui/turnstile.ts): its box holds nothing to see and takes no room. */
.cmp-ts { position: fixed; left: 0; bottom: 0; width: 0; height: 0; overflow: hidden; pointer-events: none; }
