/* (25 October, premium UI, Phase 2, INTEG) style-recalc cost: selectors whose rightmost part was a multi-argument :is() / :where() are written one per
   argument (:is(a, b)R → :is(a)R, :is(b)R; :where() arguments stay inside :where()), padded with :not(#mfz) / :not(.mfz) / :not(mfz) (an argument with a component above the maximum's goes inside :where() first) to the list's exact
   specificity (nothing carries that id, class or tag). Chrome can then file each rule under its own class or id instead of trying it on every element on every
   recalc. Same matching, same specificity: computed styles identical on all 160 QA states (design-research/qa/integ-p2/sel/, eq-1280/). Keep new rules in this form. */
/* Mirai Feel (24 October, premium UI) · WS1 · Global chrome and overlays (P-101..P-137).
   Owner: WS1 only (design-research/BACKLOG.md Part B2). Linked last in index.html, after css/ux/mf-base.css, so it wins the cascade at equal weight;
   one section per item, banner "---------- P-xxx · DT-xxx · title ----------". House rules: transform and opacity only, no new live backdrop-filter,
   no `content:` text, match or beat the specificity of the rule being overridden. */

/* ---------- P-104 · DT-104 · the guest chips: a quiet ink wash at rest, solid ink when chosen (BENCHO-23 pill faces) ----------
   The welcome card (#drawer.ux-setup) is always light, but it keeps the page's own (dark, on Dusk/Night) glass tokens, so its wash is written as the ink value
   itself (6%, the --lg-field of the light set); the presenter drawer has the light tokens (css/tokens.css), so its chips read var(--lg-field). The border stays
   1px (geometry) but goes clear: a wash, not a border (A6). Colour 160ms; the press is js/ux/press.js on `scale` (welcome.css's transform:none lock does not
   touch it). Beats welcome.css:170-180 (1,3,0)/(1,4,0) and close2.css:276-277. Only the guest fields' chips ([data-f]) and the notes tags: the drawer's other
   pills (prices, the close levels, Next guest's danger pair, the sound switch) keep their own looks */
body #drawer.ux-setup .chips .pill, body #drawer.ux-setup .chips .pill.on,
body #drawer .dr-body .chips .pill[data-f], body #drawer .dr-body .chips .pill[data-f].on, body #drawer .dr-body .pill:is(.pr-tag, .pr-ref), body #drawer .dr-body .pill:is(.pr-tag, .pr-ref).on,
body #ask-ov .ask-g .pill, body #ask-ov .ask-g .pill.on {
  transition: background-color 160ms var(--mf-ease-out), color 160ms var(--mf-ease-out);
}
body #drawer.ux-setup .chips .pill { background: rgba(22, 22, 27, .06); border-color: transparent; color: rgba(22, 22, 27, .76); font-weight: 500; }   /* (25 October, Mirai Calm, C-123) V-104's 76% and 500 folded in (its rule went) */
body #drawer.ux-setup .chips .pill.on { background: #fff; border-color: transparent; color: #16161b; box-shadow: inset 0 0 0 1.5px #16161b; }   /* (25 October, Mirai Calm, C-123, A3.7 E3 on white) selection raises: the white slab with the 1.5px ink ring (the ≥ 3:1 cue), ink 100%. Was solid ink with white (A-4 of the adoption list); the ring changes at once (no animated box-shadow) */
/* (24 October, premium UI, Phase 2, V-101) the drawer's and Quick answers' chip values went: css/ux/mf-base.css V-007 gives them (wash, ink 76%, 500; chosen solid ink, white) */

/* ---------- P-105 · DT-105 · the welcome's fields, its focus rings, and the guest sentence that wrapped onto the Name label ----------
   Focus: an ink ring (1px at 55%) inside a soft 4px halo (BENCHO-79), 160ms, instead of welcome.css:201-217's bronze outline (now silver: white on white).
   The welcome's buttons and chips get the paper focus ring (A6: never white on cream; css/ux/mf-base.css noted that the welcome's own rule outweighed it).
   The sentence: in the scrolling column (a flex column) it was squeezed to its 1.45em min-height and its second line ran under the Name label (A-03). It now
   keeps two lines (2.9em = 2 × its 1.45 line-height) and never shrinks, so a longer one pushes the fields down instead of overlapping them */
/* (25 October, Mirai Calm, rule budget) the fields' 160ms ring transition lives in V-103's rule below (the same selector) */
body #drawer.on.ux-setup .nm input:focus, body #drawer.on.ux-setup .nm input:focus-visible,
body #drawer.on.ux-setup .nm textarea:focus, body #drawer.on.ux-setup .nm textarea:focus-visible,
body #drawer:not(.ux-setup) .nm input:focus-visible, body #drawer:not(.ux-setup) textarea:focus-visible, body #ask-ov .ask-in:focus-within {   /* (25 October, Mirai Calm, rule budget) V-103's drawer fields and P-117's search field joined: one ring recipe */
  outline: none; border-color: transparent; box-shadow: 0 0 0 1px rgba(22, 22, 27, .55), 0 0 0 4px rgba(22, 22, 27, .12);
}
body #drawer.on.ux-setup button:focus-visible, body #drawer.on.ux-setup .pill:focus-visible, body #drawer.on.ux-setup .x:focus-visible,
body #drawer.ux-setup .dr-go [data-start]:focus-visible { outline: 2px solid var(--mf-focus-l); outline-offset: 2px; }   /* (24 October, premium UI, Phase 2, V-101) the named ink, 60% (.45 measured under 3:1, css/ux/mf-base.css V-011) */
body #drawer.ux-setup .dr-sent { min-height: 2.9em; flex-shrink: 0; }

/* ---------- P-107 · DT-107 · Resume last visit: a full-width wash row (it was white at 10% on the white card: all but invisible) ----------
   Beats qa-fixes.css:31-33 (and its #drawer:not(.ux-setup) twin). Press: js/ux/press.js (≈.97 on a row this wide) */
/* (24 October, premium UI, Phase 2, V-101) its resting values moved to V-105 below (the same wash, a pill) */

/* ---------- P-108 · DT-108 · the × on the drawer, the sheets and Quick answers: an icon on a clear circle, and a disc that answers the press (BENCHO-31) ----------
   The disc is the button's free ::before (none of these × use it; the 44px hit areas of css/ux/system.css are other controls' ::after): ink 8% on paper, white 12%
   on dark, from .86 and clear to full in 100ms on :active, back in 220ms (--mf-ease-btn); the icon nudges .96. Size and place unchanged (44px hit area). The
   show-flat walkthrough's dark sheet (#sheet.dark, WS3) keeps its white disc: a clear circle there would leave an ink icon on black. The ink comes back as the
   icon's own colour on the welcome card (its tokens are the page's) */
/* (24 October, premium UI, Phase 2, V-101) the resting ×, its press disc and its icon nudge went: css/ux/mf-base.css V-010 (the "on a surface" variant) draws the same
   clear circle, the ink 8% disc (.86 → 1, 100 / 220ms) and the .96 icon, with the icon at 76%. One exception stays: the welcome card keeps the page's own (dark, on
   Dusk / Night) tokens, so its × writes the 76% ink itself (V-010's --lg-fg2 would be white on the white card) */
body #drawer.on.ux-setup .x { color: rgba(22, 22, 27, .76); }

/* ---------- P-109 / P-110 / P-112 / P-115 · DT-109..DT-114 · the presenter drawer's fades (24 October, premium UI, INTEG: orchestrator request) ----------
   css/ux/welcome.css:110-115 holds `opacity: 1 !important` on the drawer's panel, its scrim and every panel descendant while the drawer is open (it protects the
   fields from a stale rise() opacity). An !important cannot be lifted by a selector alone (revert/revert-layer fall back to 1 and ignore the inline and animated
   values), so for the presenter drawer only (not the welcome card, #drawer.ux-setup, and not while .ux-leave already lifts it) the same lock reads its opacity
   from --mfc-o: 1 at rest (so everything looks exactly as under the lock, e.g. the .mom icons at 1), and the drawer's own motions animate --mfc-o next to
   opacity: the panel and scrim open/close (js/app.js, js/ux/welcome.js calmEntrance), the tab page and the inline confirm (js/app.js), an opened section
   (mfc-rise) and the match box (js/plus/presenter.js). Not inherited, so a fading parent never multiplies into its children. Specificity (1,4,1) beats
   welcome.css's (1,3,0) */
@property --mfc-o { syntax: "<number>"; inherits: false; initial-value: 1; }
body #drawer.on:not(.ux-leave) .dr-panel,   /* (25 October, Mirai Calm, C-124) the welcome card's panel too (it was :not(.ux-setup)): its grow-in fades through --mfc-o (js/ux/welcome.js growIn); 1 at rest, so it looks as under the lock */
body #drawer.on:not(.ux-setup):not(.ux-leave) .dr-scrim,
body #drawer[aria-hidden="false"]:not(.ux-setup):not(.ux-leave) .dr-panel * { opacity: var(--mfc-o) !important; }   /* !important only to beat welcome.css's own */

@media (prefers-reduced-motion: reduce) {
  /* css/showroom.css:391 gives every property (`all`, so the registered --mfc-o too) a .01ms transition under reduced motion; GSAP writes --mfc-o on these three every
     frame, which restarts that transition each frame and holds the value still (measured: the panel stayed at 1). They do not transition (!important beats showroom's) */
  body #drawer:not(.ux-setup) :where(.dr-panel):not(#mfz), body #drawer:not(.ux-setup) :where(.dr-scrim):not(#mfz), body #drawer:not(.ux-setup) :is(#pr-match > *) { transition: none !important; }
}

/* ---------- P-111 · DT-111 · presenter avatars: the chosen face wears an ink ring (BENCHO-34), drawn by the face's ::after and faded in (no shadow animation) ----------
   (Not fixed on purpose: the button's aria-pressed goes stale after a tap, js/plus/presenter.js; state attributes are behaviour, R-01).
   (25 October, Mirai Calm, C-127, A3.7 E3 on white; orchestrator: the ring touched the "Presenting today" eyebrow) the ring is drawn INSIDE the face now, 1.5px ink on
   the white disc (V-107), so nothing reaches past the 36px face: it was a 2px white gap and a 2px ink ring outside it (4px out, against the eyebrow's baseline) */
body #drawer .dr-av i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #16161b; opacity: 0; transition: opacity 160ms var(--mc-ease-fade); pointer-events: none; }
body #drawer .dr-av.on i::after, body #alt > button.fing i { opacity: 1; }   /* the second: C-121's current dot, solid */

/* ---------- P-112 · DT-112 · the Guest tab's sections (details.pr-sec): the chevron turns in 220ms and an opened section's body rises 6px (BENCHO-46) ----------
   A CSS animation that starts when [open] matches (no height animation; native details). The keyframes are named mfc-rise (this file's own name, so no other
   workstream's keyframes can collide). The fade reaches the screen through --mfc-o (the P-109 / P-110 / P-112 / P-115 section above) */
body #drawer .pr-sec[open] > :not(summary) { animation: mfc-rise 220ms var(--mf-ease-out) both; }
@keyframes mfc-rise { from { opacity: 0; --mfc-o: 0; translate: 0 4px; } }   /* (25 October, Mirai Calm, A3.1.2 text and chips) 4px (was 6px) */   /* (24 October, premium UI, INTEG) --mfc-o: the fade shows through welcome.css's lock (P-109 section) */

/* ---------- P-113 · DT-113 · the Journey's moment rows: wash wells (unchanged colours); the playing one is the selected blob; the play mark nudges on press ----------
   (Radius: the rows stay pills. The panel's corner is 20px and its padding 24px, so a concentric inner radius would be below zero; pill-in-panel is the rule then) */
/* (24 October, premium UI, Phase 2, V-101) the playing row's thumb shadow went: V-110 below draws the playing moment (a deeper wash and an ink numeral disc) */
body #drawer:not(.ux-setup) .mom:active > svg { translate: 2px 0; transition: translate 100ms var(--mf-ease-out); }

/* ---------- P-114 · DT-113 · "Sounds on the TV": bencho's switch (BENCHO-30 dtl-switch, BENCHO-20) ----------
   Off: ink at 16%; on: solid ink (no green: colour only for meaning). The white knob travels on the pop curve (220ms) and the track's colour follows in 160ms;
   held, the knob stretches toward where it would go (1.15 wide, 100ms) and springs back (220ms). Geometry unchanged. Beats motion-tv.css:56-60 */
/* (25 October, Mirai Calm) the track's and the knob's resting values and transitions live in V-111 below (same selectors): three restated rules went */
body #drawer .tv-snd.on .tv-sw::after { transform: translateX(.85rem); transform-origin: 100% 50%; }
body #drawer .tv-snd:active .tv-sw::after { scale: 1.15 1; transition: transform var(--mc-s1-t) var(--mc-spring), scale 80ms var(--mf-ease-out); }

/* ---------- P-117 · DT-116 · Quick answers: the search field takes the welcome's focus ring (P-105) ---------- */
/* (25 October, Mirai Calm, rule budget) its ring is P-105's rule above; its 160ms transition is V-113's .ask-in rule below */
body #ask-ov .ask-in input:focus-visible { outline: none; }   /* the field's ring is the answer (it used to have none at all) */

/* ---------- P-121 / C-109 · DT-120 · the orb core: the logo and the × cross-fade in place (25 October, Mirai Calm, K-08) ----------
   The core no longer sinks (showroom.css:128's .88 open state: none, so it stays put), and neither face turns or shrinks: the logo fades out as the × fades in,
   160ms on the fade curve (was a ±60-90° turn on the pop curve, 420ms, with a .86 shrink). The press is still on the inner faces (js/ux/press.js leaves the core
   alone): the .97 of the press system, 80ms in, back on the calm spring. Beats chrome.css:87-93, :113-117 and showroom.css:125-128 */
body #orb .core .logo, body #orb .core .orbx { transform: none; transition: opacity 160ms var(--mc-ease-fade), scale var(--mc-s1-t) var(--mc-spring); }
body #orb.open .core .logo { opacity: 0; transform: none; }
body #orb .core:active > .logo, body #orb .core:active > .orbx { scale: .97; transition-duration: 160ms, 80ms; transition-timing-function: var(--mc-ease-fade), var(--mf-ease-out); }

/* ---------- P-122 · DT-121 · the orb's action line: the soft pill behind an item answers in 100ms and lets go in 220ms (it was 120ms both ways) ---------- */
body #orb .ring .ring-row > button.ri::before { transition: opacity 220ms var(--mf-ease-out); }
body #orb .ring .ring-row > button.ri:active::before { transition-duration: 100ms; }
@media (hover: hover) { body #orb .ring .ring-row > button.ri:hover::before { transition-duration: 100ms; } }

/* ---------- P-123 · DT-122 / DT-203 · the sun thumb: held, it grows. (25 October, Mirai Calm, C-110, K-09) to 1.12 on the calm spring, 300ms (was 1.18 on the pop curve) ---------- */
/* the knob's transition is in V-117's rule below (one rule: the same selector). (25 October, premium UI, Phase 2, INTEG) the knob's Day white fades with the swap's 700ms instead of cutting (AC-V 5) */
body #orb .sun.drag { transform: scale(1.12); }

/* ---------- P-125 / C-104 · DT-124 · the stories list grows out of its pill (BENCHO-44) ----------
   (25 October, Mirai Calm, K-04, A3.1.2 popover) fade + scale only: from .96 on the calm spring over 440ms, its rows with it (js/ux/motion.js M16 no longer staggers
   them); away in 160ms on the exit curve. No travel (was 6px toward the pill, 220ms quint-out). Its origin is the pill: top right where it opens downward (its
   right edge sits under the pill; implementer note: the spec's "50% 0" would grow it from the menu's own middle, which is not where the pill is), bottom left on
   Around Mirai (.sd-low, it opens upward). Beats map.css:419-421, qa-fixes.css:70-75 and system.css:139-140 */
body #ui > #sdock .sd-pop { transform: scale(.96); transform-origin: 100% 0; background: rgba(18, 18, 22, .96); border-radius: var(--mf-r-lg); box-shadow: inset 0 0 0 1px var(--mf-edge), var(--mf-sh-lift-d);   /* V-121's look folded in (no top highlight) */
  transition: opacity var(--mc-t-fade-out) var(--mf-ease-exit), transform var(--mc-t-fade-out) var(--mf-ease-exit), visibility 0s linear var(--mc-t-fade-out); }
body #ui > #sdock.open .sd-pop { transform: none; transition: opacity var(--mc-t-fade) var(--mc-ease-fade), transform var(--mc-s2-t) var(--mc-spring), visibility 0s linear 0s; }
body #ui > #sdock.sd-low .sd-pop { transform: scale(.96); transform-origin: 0 100%; }
body #ui > #sdock.sd-low.open .sd-pop, body #orb.open .core { transform: none; }   /* the second: C-109's core no longer sinks when the line opens (showroom.css:128's .88) */

/* ---------- P-126 · DT-125 · (25 October, Mirai Calm, C-111) the arrow's press nudge went: the pill answers with the press and its highlight (C-111 section below); the pointer's hover step (map.css) stays ---------- */

/* ---------- P-127 / P-129 · DT-126 / DT-128 · Back and the guest chip: the old label's ghost (js/ux/motion.js M15) lies over the new one, out of the flow ----------
   glass.css:61 makes every child of these pills position: relative (to sit over the highlight layer); the ghost must stay absolute, or it would push the label */
body #ui > :is(#back, #guest) > .mf-ghost { position: absolute; z-index: 1; margin: 0; pointer-events: none; }
/* (25 October, Mirai Calm, C-106) the initial's own .94 nudge went: the chip's press (js/ux/press.js, .97) is the one answer (two scales at once read as a bounce) */

/* ---------- P-128 · DT-127 / DT-513 · Compare's tick. (25 October, Mirai Calm, C-105, K-05) it grows from .8 with its stroke drawing, 300ms on the calm spring, no turn
   (chrome.css's keyframes: .5 → 1.25 → 1 with a -28° turn; the same name, later in the cascade, wins) ---------- */
.ch-morph { animation-duration: 300ms; animation-timing-function: var(--mc-spring); }
.ch-morph path { animation-duration: 300ms; animation-timing-function: var(--mf-ease-out); }
@keyframes ch-morph { 0% { scale: .8; } 100% { scale: 1; } }

/* ---------- P-131 · DT-130 · the moment bar: its button highlight answers in 100ms and lets go in 220ms ----------
   (25 October, Mirai Calm, C-113, K-12) it arrives by opacity and .98 → 1 on the calm spring, 300ms, its own translate (the -50% centring) untouched (motion.css's keyframes
   dropped 10px and .97 in 420ms; the same name, later, wins). The Play / Pause icon swap (js/ux/motion.js M19, a 160ms cross-fade now) draws the old icon as a copy
   over the new one (.mx-mbghost): out of the flow, centred like the icon */
body #ui > #mbar.on { animation-duration: var(--mc-s1-t); animation-timing-function: var(--mc-spring); }
@keyframes mx-bar-in { from { opacity: 0; scale: .98; } }   /* translate is not a keyframe property here: the bar's own centring (or the phone's none) holds in every frame */
body #ui > #mbar button > svg.mx-mbghost { position: absolute; left: 50%; top: 50%; margin: -.5rem 0 0 -.5rem; pointer-events: none; }

/* ---------- P-132 · DT-131 · the caption's headline: display tracking -.03em (A6: large text that nothing measures) ---------- */

/* ---------- P-133 / C-115 · DT-132 / DT-552 · the toast arrives in place (25 October, Mirai Calm, K-13) ----------
   Opacity and .98 → 1 on the calm spring (300ms); it leaves by opacity alone, 160ms on the exit curve. No travel (was 8px up in 220ms, 4px down in 160ms).
   `translate` keeps its -50% centring (close2.css:228, pages.css:23). The 2800ms hide timer and the at-attract block are js/app.js's, unchanged. Its resting
   look is V-123's rule below (one rule now: the same selector) */
:root body #toast.on { translate: -50% 0; transition: opacity var(--mc-s1-t) var(--mc-spring); animation: mfc-toast-in var(--mc-s1-t) var(--mc-spring); }
@keyframes mfc-toast-in { from { opacity: 0; scale: .98; } }

/* =====================================================================================================================================================
   MIRAI INK · Phase 2, the resting look of the chrome and the overlays (24 October, premium UI; design-research/BACKLOG-2.md Part A2, WS1 items V-101..V-126).
   On top of css/ux/mf-base.css's primitives (WS0b): this file deletes its own Phase 1 resting rules where a primitive now gives the value (V-101, above) and writes
   only the component parts. Geometry is frozen (AC-V 1): fills, edges, radii, shadows, colours, weight and tracking only; a border that goes keeps its width.
   Light contexts in this file: the paper levels (body[data-level] home … summary), the Day map (body.glass-day on the four map levels) and the light overlays
   (the presenter drawer, the sheet, Quick answers). The welcome card (#drawer.ux-setup) is always white but keeps the page's own (dark) tokens, so it writes ink
   values itself, as P-104 did.
   ===================================================================================================================================================== */

/* ---------- V-102 · DT-103, DT-106 · the welcome card: a white slab on the 28 radius with the overlay shadow (BENCHO-85, BENCHO-89) ----------
   Was #fafafc at 29.64 (showroom.css:362, --r × 1.2) with a 39px blue-black drop. The sticky Begin bar loses its hairline: the same white, and a soft shadow cast
   upward so it still reads as above the scrolling column. The title tracks to the display step; the kickers are V-012's (500, +.06em, 64% ink, written as ink:
   the card keeps the page's tokens). welcome.css's opacity / transform lock is not touched; the Begin flight morphs the panel by transform only (js/ux/welcome.js),
   so neither the radius nor the shadow reaches its path. Beats welcome.css:67 (1,3,0), :183 and showroom.css:362 */
body #drawer.on.ux-setup .dr-panel { background: #fff; border-radius: var(--mf-r-xl); box-shadow: var(--mf-sh-overlay); }
body #drawer.ux-setup .dr-go { background: #fff; border-top-color: transparent; box-shadow: 0 -16px 20px -18px rgba(22, 22, 27, .18); }
body #drawer.ux-setup .ux-scroll > h2, body #drawer .dr-who h2, body #caption .cap-t { letter-spacing: var(--mf-tr-display); }   /* (25 October, rule budget) V-107's guest name and P-132's caption headline joined */
body #drawer.ux-setup .ux-scroll > .k { color: rgba(22, 22, 27, .64); }   /* (25 October, Mirai Calm, C-101, adoption A-5) the weight and the caps tracking went: css/ux/mf-base.css C-012 sets them (sentence case, 0, 500) */

/* ---------- V-103 · DT-105 · one field style: a 6% ink wash, no border, a pill (BENCHO-79, BENCHO-81; QA-A r1 #11) ----------
   The welcome's name fields were white with a 12% border at r13 (showroom.css:367, welcome.css:150): now the drawer's wash, the border kept at its width but clear,
   text ink 500, placeholder 60% ink (4.5:1 on the wash). The drawer's own fields lose their 7.4% ring; its notes textarea takes the multi-line radius (14).
   Focus is Phase 1's P-105 ring in both (the welcome's keeps its 160ms; the drawer's is new, so it changes at once: no animated box-shadow, AC-V 4) */
body #drawer.on.ux-setup .nm input, body #drawer.on.ux-setup .nm textarea { background: rgba(22, 22, 27, .06); border-color: transparent; box-shadow: none; border-radius: var(--mf-r-pill); color: #16161b; font-weight: 500; transition: box-shadow 160ms var(--mf-ease-out), border-color 160ms var(--mf-ease-out); }
body #drawer.on.ux-setup .nm input::placeholder { color: rgba(22, 22, 27, .60); font-weight: 500; }
body #drawer:not(.ux-setup) .nm input, body #drawer:not(.ux-setup) textarea { box-shadow: none; }
body #drawer:not(.ux-setup) .pr-note textarea { border-radius: var(--mf-r-md); }
body #drawer:not(.ux-setup) input::placeholder, body #drawer:not(.ux-setup) textarea::placeholder, body #ask-ov input::placeholder { color: rgba(22, 22, 27, .60); }

/* ---------- V-104 · DT-104 · (25 October, Mirai Calm, C-123) folded into P-104 above (76% ink, 500) ---------- */

/* ---------- V-105 · DT-106, DT-107, DT-115 · Begin, Resume, Play from the start (BENCHO-31) ----------
   Begin (css/ux/mf-base.css V-008, the welcome's ink primary) and Play from the start (V-008's drawer primary) are the one primary: solid ink, white 500, no shadow,
   clear border. Resume last visit is a full-width wash row, now a pill (48px tall), its words ink 500. Beats qa-fixes.css:31-36 (and P-107, deleted above) */
body #drawer.on .dr-resume { background: rgba(22, 22, 27, .06); box-shadow: none; border-radius: var(--mf-r-pill); color: #16161b; }

/* (25 October, Mirai Calm, C-123 / C-127, A3.4) Begin and Play from the start are each view's one E4; their leading glyph repeats the label, so it fades (opacity 0,
   its box kept: the label does not move). !important and one class above welcome.css's descendant lock and the --mfc-o lock (P-109 section), which hold every
   panel descendant at 1 */
body #drawer.on:not(.mfz) .dr-go [data-start] > svg { opacity: 0 !important; }

/* ---------- V-106 · DT-109 · the presenter drawer: a white slab on the 28 radius, one soft shadow, no ring and no rim (BENCHO-85, BENCHO-89) ----------
   close2.css:235-240 drew a 12% ink ring, a -1.4rem black drop at .6 and a white → ink gradient rim (::before). Now the panel's left corners take the overlay
   radius and one long neutral shadow cast to the left; the rim goes. The scrim is V-015's (--mf-scrim). The inner divider above Next guest is the list line (10%).
   Opacity and travel (P-109, the --mfc-o lock) are untouched */
body #drawer:not(.ux-setup) .dr-panel { border-radius: var(--mf-r-xl) 0 0 var(--mf-r-xl); box-shadow: -24px 0 70px -20px rgba(10, 10, 12, .38); }
body #drawer:not(.ux-setup) .dr-panel::before { content: none; }

/* ---------- V-107 · DT-111, DT-109 · the drawer head: presenter faces and the guest (BENCHO-34) ----------
   Faces: a 6% wash, no ring, initials ink 500; the chosen face solid ink (was #1c1c22) inside Phase 1's 2px white / 4px ink ring (P-111). The guest's initial a wash
   without its 14% ring; the name tracks to the display step; "Family with kids" at 64% */
body #drawer .dr-av i { position: relative; background: var(--mf-wash); box-shadow: none; color: #16161b; font-weight: 500; }   /* (25 October, Mirai Calm) P-111's position folded in */
body #drawer .dr-av.on i { background: #fff; color: #16161b; }   /* (25 October, Mirai Calm, C-127) E3 on white with P-111's inner ring (was solid ink with white) */
body #drawer .dr-who .g-av, body #drawer #pr-match .pr-welcome { background: var(--mf-wash); box-shadow: none; }
body #drawer .dr-who small, body #ask-ov .ask-flag, body #drawer:not(.ux-setup) .vlog .vl small, body #ui > #mbar .mb-n { color: var(--lg-fg3); }   /* (25 October, Mirai Calm) the 64% tier for the guest's persona, the sample note, the visit facts (C-127) and the moment number (C-113) */

/* ---------- V-108 · DT-110 · drawer tabs Guest / Journey / Visit: css/ux/mf-base.css V-009 as it is (wash track, white thumb, ink / 64% labels); nothing here overrides it ---------- */

/* ---------- V-109 · DT-112 · the Guest tab's sections: notes, referral, the returning-guest match (BENCHO-46, BENCHO-55) ----------
   The sections are washes at the nested radius: the panel's 28 less the body's 1.5rem inset (8.5 at 1280×800; the 6 floor at 1366 and on the TV). The chevron
   takes the 64% ink. Implementer note (24 October): the chevron is drawn by a 2px border (plus-presenter.css:30), so its "stroke 1.75" would be a border-width
   change, which AC-V 1 freezes: it keeps its 2px. The match box (a returning guest) is a wash without its blue-grey tint (close2.css:304) */
body #drawer .pr-sec, body #drawer:not(.ux-setup) .vl { border-radius: max(var(--mf-r-xs), calc(var(--mf-r-xl) - 1.5rem)); }   /* the second: V-112's log rows (25 October, rule budget) */
body #drawer .pr-sec summary i { color: var(--lg-fg3); transition: rotate 220ms var(--mf-ease-out), translate 220ms var(--mf-ease-out); }   /* P-112's turn folded in (25 October, rule budget) */

/* ---------- V-110 / C-126 · DT-113 · the Journey's moment rows (BENCHO-33 roster, BENCHO-32) ----------
   Each row a wash pill, its words ink 500 (was 600). The number sits on a white slab disc with the thumb shadow (depth 3: slab → wash → slab), 500, tabular (the
   disc is a fixed 2rem box). The play mark at 64%. The playing moment: a deeper wash and its numeral disc solid ink with white digits, no ring (it was the white
   --lg-sel on a white panel with a 21.7% ring), and its words ink again */
/* (25 October, Mirai Calm, C-126, K-31; adoption A-6) a plain list: no wash per row (close2.css:288 outweighed mf-base C-011's :where()), the existing 12px between
   rows is the separator (no geometry change); the numeral loses its disc (Footnote 500 at 64%, tabular), the title is ink 400, the play mark 1.5 at 64%. The playing
   moment: its numeral and the mark at 100%, the mark filled. A press shows the row's wash (a state, not a fill at rest). The priority star stays (meaning) */
body #drawer:not(.ux-setup) .mom { font-weight: 400; background-color: transparent; }
body #drawer:not(.ux-setup) .mom:active, body #drawer:not(.ux-setup) .pill.danger:active, body #ask-ov .ask-row:active { background-color: var(--mf-wash); transform: none; }   /* a press shows the row's or the text button's wash (C-126, C-127, C-128: the answers' rows were a .985 squeeze) */
body #drawer:not(.ux-setup) .mom b { background: transparent; box-shadow: none; color: var(--lg-fg3); font-weight: 500; font-variant-numeric: tabular-nums; }
body #drawer:not(.ux-setup) .mom > svg { color: var(--lg-fg3); stroke-width: var(--mf-ico-stroke); transition: translate 220ms var(--mf-ease-press); }   /* P-113's nudge transition folded in */
body #drawer:not(.ux-setup) .mom.on, body #drawer:not(.ux-setup) .mom.on b, body #drawer:not(.ux-setup) .mom.on > svg { background: transparent; box-shadow: none; color: var(--lg-fg); fill: currentColor; }   /* its words were the paper colour (showroom.css .mom.on, made for an ink row): white on white, 1.1:1, already in the baseline. (25 October, Mirai Calm, C-126) the numeral and the mark 100%, the mark filled (was the solid ink disc with white digits) */

/* ---------- V-111 · DT-113 · "Sounds on the TV": the switch reads in both states (BENCHO-30; QA-A r1 #1) ----------
   The host pill never inverts (E2 9): rest and on alike are a wash with ink 500 words; its state lives in the switch. Off: an ink 16% track inside a 46% ink ring
   (3.1:1 boundary); on: a solid ink track (16:1 on the wash). The knob is a white slab with the thumb shadow. Beats qa-fixes.css:25 (.pill.on, 1,3,0) and close2.css:277;
   Phase 1's knob travel (P-114) is untouched */
body #drawer .pill.tv-snd, body #drawer .pill.tv-snd.on, body #drawer .pill[data-prices].on { background: var(--mf-wash); box-shadow: none; color: #16161b; font-weight: 500; }
body #drawer .pill.tv-snd:active { background: var(--mf-wash-hi); }   /* (25 October, Mirai Calm, C-126) the prices toggle joins the host rule above: E2 in both states (its words and eye glyph say which; it no longer turns into the chosen chip) */
body #drawer .tv-snd .tv-sw { background: rgba(22, 22, 27, .16); box-shadow: inset 0 0 0 1px rgba(22, 22, 27, .46); transition: background-color 160ms var(--mc-ease-fade); }
body #drawer .tv-snd.on .tv-sw { background: #16161b; box-shadow: none; }   /* a switch's on track keeps its own mark (A3.0 rule 2 exception) */
body #drawer .tv-snd .tv-sw::after { background: #fff; box-shadow: var(--mf-sh-thumb); transform-origin: 0 50%; transition: transform var(--mc-s1-t) var(--mc-spring), scale var(--mc-s1-t) var(--mc-spring); }

/* ---------- V-112 · DT-114 · the Visit tab: log rows, Export, Next guest and its inline confirm (BENCHO-26) ----------
   Log rows: washes at the nested radius (as V-109). Implementer note (24 October): their times are not made tabular: the time sits in a wrapping line with the
   rest of the visit's facts, and tabular digits widened it (108.7 → 112.4px measured, A-09), which AC-V 1 / E2 4 forbid. Next guest: a wash with the status red's words at 500 (no ring). The confirm box: a quiet
   red wash (7%) with no coral ring, at the nested radius; "Yes, next guest" solid status red, white 500 (the red is meaning, kept; the coral goes). Implementer note (25 October, orchestrator): the red is #c8452f, the
   baseline's own (qa-fixes.css:154, the Next-guest sheet), not the spec's #d6453b: white on #d6453b measures 4.40:1 (under AA), on #c8452f 4.8:1; WS4 uses the same.
   Export is a secondary button (V-008): ink words. Beats close2.css:272-280, :295 and system.css:45 */
body #drawer:not(.ux-setup) .pill.danger { background: transparent; box-shadow: none; color: #b3261e; font-weight: 500; }   /* (25 October, Mirai Calm, C-127) E1: the danger text button, no wash at rest (the red is meaning) */
body #drawer:not(.ux-setup) .dr-confirm { background: rgba(200, 69, 47, .07); box-shadow: none; border-radius: max(var(--mf-r-xs), calc(var(--mf-r-xl) - 1.5rem)); }
body #drawer:not(.ux-setup) .dr-confirm .pill.danger.on { background: #c8452f; color: #fff; box-shadow: none; font-weight: 500; }
body #drawer:not(.ux-setup) .pill[data-export], body #ui > #orb .ring .ri.pri, body #ui > #orb .ring .ri.on { color: var(--lg-fg); }   /* Export's ink words; (C-109) the orb line's primary and chosen items 100% */

/* ---------- V-113 · DT-116 · Quick answers: the panel (BENCHO-87 search panel, BENCHO-46) ----------
   A white slab on the 28 radius with the overlay shadow (no ring). The search field a wash without its ring (P-117's focus ring stays, heavier); the magnifier at
   64% and 1.75. Group chips are V-007's (All = chosen ink); rows wash pills with ink 500 words (was 600), the chevron at 64%; kickers V-012; the footer note 64%.
   Beats close2.css:314-325, plus-presenter.css:47 */
body #ask-ov .ask-panel, body #ask-ov .ask-card, body #sheet:not(.dark) .sh-panel { border-radius: var(--mf-r-xl); box-shadow: var(--mf-sh-overlay); }   /* (25 October, rule budget) V-114's card and V-115's light sheet: the same slab */
body #ask-ov .ask-in { box-shadow: none; transition: box-shadow 160ms var(--mf-ease-out); }
body #ask-ov .ask-in svg { stroke: var(--lg-fg3); stroke-width: var(--mf-ico-stroke); }
body #ask-ov .ask-row { font-weight: 500; color: var(--lg-fg); background-color: transparent; }   /* (25 October, Mirai Calm, C-128) a plain list: close2.css:321's wash (1,1,0) outweighed mf-base C-011's :where() */
/* (25 October, Mirai Calm, C-128, K-33) the groups are a trackless segmented row: plain labels at 64% 500, the chosen one E3 on white (the ink ring, 100%);
   rows are a plain list (C-011 cleared their wash) whose chevron is 1.5 at 64% and whose press is the row's wash (it was a .985 squeeze) */
body #ask-ov .ask-g .pill:not(.on):not(.mfz) { background: transparent; box-shadow: none; color: var(--lg-fg3); }   /* one class above the kit's chip rule (1,3,0); the chosen one is the kit's E3 on white (mf-base C-007) */
body #ask-ov .ask-row i { border-width: 1.5px 1.5px 0 0; }

/* ---------- V-114 · DT-117 · the quick answer card and Show on TV (BENCHO-89) ----------
   The card is the panel's slab (28, the overlay shadow). The question (≥ 30px, nothing measures it) tracks to the display step at 400 (was 300; Manrope has no 300,
   so on the tablet it already rendered as 400). The divider is the list line; Back is V-008's secondary, Show on TV its primary (no shadow on the slab).
   "Answers to be approved…": 64% ink caps. Implementer note (24 October): its weight and tracking stay (600, +.08em): the note shares a space-between row with
   Back and Show on TV, and the 500 / +.06em step narrowed it by 11px, which moved Show on TV 5.5px (geometry diff, A-12): AC-V 1 keeps every other box still */
body #ask-ov .ask-card h2, body #drawer .dr-who h2 { font-weight: 400; letter-spacing: var(--mf-tr-display); }   /* (25 October, Mirai Calm, C-127) the guest's name 400 too (it was 300, which Manrope draws as 400 anyway: one weight fewer to count) */

/* ---------- V-115 · DT-141 · the generic sheet #sheet, light and dark (BENCHO-85) ----------
   Light: the slab on the 28 radius with the overlay shadow (was r20, a 12% ring and a black drop at .6). Dark (the show-flat walkthrough): the neutral dark ground
   (was the purple-black #0f0d14) at the same 28 with a faint 6% white edge. Implementer note (24 October): the spec reads "top corners; the bottom follows the
   existing rule", but the panel is inset on all four sides (showroom.css:351, close2.css:170: one 20px radius on every corner; no bottom-anchored variant), so all
   four corners take the 28. The sheet's own titles are their owners' (WS2-WS4 track theirs): no generic h2 rule here. Contents are their owners' */
body #sheet.dark .sh-panel { background: var(--mf-ground-dark); border-radius: var(--mf-r-xl); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---------- V-116 · DT-123, DT-124, DT-126, DT-127, DT-128, DT-513 · the chrome capsules: Back, the guest chip, the tally, the autoplay capsule, the stories pill ----------
   The material is the tiers' (css/tokens.css V-002 / V-003, css/ux/mf-base.css V-005: flat smoke or white glass, the uniform 1px edge, the top highlight; verified on
   A-06, A-18, B-11, D-08). The parts: the guest's initial, the autoplay's Play capsule and the tally badge are the selected-chip pair, silver with ink on the scene
   and ink with white on Day and paper, read from the two registered colours (--lg-fg, --mf-fg-inv) so they cross-fade with the sun dial (--lg-prom, which they
   painted with, is not registered and now differs between the two contexts: it would hard-cut, AC-V 5). No white gradient and no inset highlight. The initial keeps
   one contact shadow on the scene (none on light: an inverted chip has none). The guest chip's second line at 76% (A2.7, chrome secondary text over photos).
   All five are A8-frozen: colours and shadows only. Beats chrome.css:16-36, showroom.css:117-122 and map.css:405 */
/* (25 October, Mirai Calm, C-106 / C-103, K-06 / K-03, A3.7 E2) the guest's initial and the autoplay's Play step down from the solid pair to the tinted E2: the
   context's 12% field (white 12% on the scene, ink 11% on Day and paper: --lg-field-hi, registered, so it cross-fades with the dial; the spec's .14 / .10 is the
   nearest token step), the words in the context's ink (--lg-fg: silver on the scene, ink on light), no shadow. Pressed, Play deepens to 18% of its ink */
body #ui > #guest .g-av, body #ui > #chap .chap-play { background: var(--lg-field-hi); color: var(--lg-fg); box-shadow: none; }
body #ui > #chap .chap-play:active { background-color: color-mix(in srgb, var(--lg-fg) 18%, transparent); }
body #ui > #guest .g-txt small, body #ui > #chap .rail-n, body #ui > #orb .ring .ring-row > button.ri { color: var(--lg-fg2); }   /* the guest's second line; (25 October, Mirai Calm) C-103's counter and C-109's plain line items at 76% */
/* (25 October, Mirai Calm, C-105, K-05) the badge stays a counter (it is information) but small: an 18px disc (TV 22), 11px 500 tabular (was max(1.45rem, 22px), 600) */
body #ui > #tally button.has b { --bd: 18px; background: var(--lg-fg); color: var(--mf-fg-inv); box-shadow: none; font-size: 12px; font-weight: 500; }
html.tv body #ui > #tally button.has b { --bd: 22px; }

/* ---------- V-117 · DT-120, DT-121, DT-122, DT-203 · the orb core, the action line and the sun dial (BENCHO-63, BENCHO-30 knob) ----------
   The core is the chrome tier; its inner decorative ring quietens to white 18% (ink 10% on light). The action line's capsule (system.css:27, the chrome tier) gains
   the tiers' uniform 1px edge in its shadow (its ::before is the soft shade, so the edge cannot be the pseudo). The sun knob: a silver disc on the scene with a 16%
   white halo and one contact shadow (was a white gradient, a .2 halo, a 22px white glow and a deep drop); on Day a white slab with an ink 6% halo and the thumb
   shadow. Implementer note (24 October): on the Day map --lg-prom is now solid ink (css/tokens.css V-003), which turned this knob ink (WS0b's note); V-117 keeps it
   the white slab, so its fill and its ink glyph are written here, not read from --lg-prom. The knob's silver → white step at the Day / Dusk swap is 245 → 255 (no
   visible cut); its shadow and halo switch at once (shadows never animate). The glyph's stroke is 1.75. Detent dots keep var(--lg-tint); ring labels are frozen
   (the ring fits by scrollWidth). Beats chrome.css:87-131, showroom.css:125-144 */
/* (25 October, Mirai Calm, C-109, K-08) the core is the platter: no inner decorative ring (its Day variant went with it), no 5px outer halo, one shadow (--lg-shadow-s;
   its 1px edge is the glass ::before ring). The action line's capsule: the edge and the small shadow, no top highlight (was … var(--lg-hi) …) */
body #ui > #orb .ring .ri.pri span, body #ask-ov .ask-card ul, body #drawer:not(.ux-setup) .dr-next { border-color: transparent; }   /* (C-109) .pri's underline, its width kept; (C-129 / C-127, A3.0 rule 3) the answer's list rule and the line above Next guest: space separates */
body #ui > #orb .core { box-shadow: var(--lg-shadow-s); }
body #orb .ring .ring-row, body #orb .sun::after { box-shadow: inset 0 0 0 1px var(--mf-edge), var(--lg-shadow-s); }   /* the second: C-110's label pill, the chrome platter */
/* (25 October, Mirai Calm, C-110, K-09) the knob: no 5px halo ring, a contact shadow only (Day / paper: the white slab with the thumb shadow). On the scene it is the dark
   E3 thumb of A3.7 (white 20% over the smoke, written as its opaque mix rgb(72,72,78) so the arc does not show through, with a 1px 16% edge and the glyph #f5f5f7) instead of the solid silver disc: the next-level pill is the view's one solid (D3.3; the probe
   counted the silver knob as a second) */
body #orb .sun { background: rgb(72, 72, 78); color: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 1px 2px rgba(0, 0, 0, .30); transition: transform var(--mc-s1-t) var(--mc-spring), background-color 700ms var(--ease-out), color 700ms var(--ease-out); }
:is(body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]),
  body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"])) #orb .sun { background: #fff; color: #16161b; box-shadow: var(--mf-sh-thumb); }   /* (26 October, fix round 1, QA-A r1 #1) the glyph in ink on the white slab (was #f5f5f7 on #fff, 1.1:1); it cross-fades with the slab */

/* ---------- V-118 · DT-119 · (25 October, Mirai Calm, C-121) the level slider's band went: the side bar section below draws a legibility halo (Site / Tower at rest) and a
   platter (touched) instead, so --alt-band has no reader; its two rules were deleted ---------- */

/* ---------- V-119 · DT-118 · the place title's plate on the Site plan's zone stories ----------
   qa-a.css:35 laid a purple-black plate (rgba(18,15,22,.66), r1.2rem = 15.6) under the title when a zone opens over the plan: now the photo smoke with the dark ring
   on the 14 radius. Implementer note (24 October): the selector is qa-a.css:35's own (same weight, later file): the plate exists only while #lv-site is
   .zone-open, which only that body:has() can see from #ui; repeating it adds no new :has() feature to invalidate on */
body[data-level=site]:has(> #world > #lv-site.zone-open) #place { background: var(--mf-smoke-photo); box-shadow: var(--mf-ring-d); border-radius: var(--mf-r-md); }

/* the place title's "Map width" (js/ux/motion-tv.js P-119; 25 October, orchestrator / WS2 finding) read 4.34-4.47:1 on every map level, Day included: white at
   .62 inside the line's own .72 (motion-tv.css:73-75) is 45% white over the title shade. Its word now sits at .89 of the line, i.e. 64% white (the meta floor of
   A2.4; the figure beside it stays the line's 72%): ≈ 5.7:1 on the measured grounds. Opacity only (colour), no geometry */
body #place .tv-dist { opacity: .76; }   /* (25 October, Mirai Calm, C-108, K-07) the readout as Footnote: the value 76% (was the line's .72) and 500, tabular (motion-tv.css); the label at 64% */
body #place .tv-dist em { opacity: .84; }

/* ---------- V-120 · DT-129 · the context strip's "+N" overflow tab ----------
   The strip is the snapshot tier (V-005); the chips inside it are WS2's. The "+N" tab (qa-fixes.css:161-166, a #1c1c22 badge with a purple-black halo) becomes the
   strip's own wash: a 7% white step over the strip's tone (ink 6% over the Day strip's), written as the opaque mix because the tab must still cover the cut card
   it sits on; its words at 76%; the halo that fades the cut card into it takes the strip's neutral tone (no purple). Implementer note (24 October): the weight stays
   700 (the spec's "600 (frozen weight)" names the frozen rule, and the tab's weight today is 700: labels.js measures the strip, so it is not changed) */
/* (25 October, Mirai Calm, C-112, K-11) E1 plain: the tab has no step of its own any more; its fill is the strip's own tone (it must still cover the cut card under
   it, so it is the opaque tone, not transparent) and its words 76% at 500 (the pseudo is out of the flow: labels.js measures the strip, not it) */
body #ctx .strip[data-more]::after { background: rgb(24, 24, 28); color: rgba(245, 245, 247, .76); font-weight: 500;
  box-shadow: -1.2rem 0 1rem -.15rem rgba(24, 24, 28, .94), .7rem 0 .4rem .15rem rgba(24, 24, 28, .94); }
body.glass-day #ctx .strip[data-more]::after { background: rgb(246, 246, 247); color: rgba(22, 22, 27, .76); box-shadow: -1.2rem 0 1rem -.15rem rgba(246, 246, 247, .94), .7rem 0 .4rem .15rem rgba(246, 246, 247, .94); }

/* ---------- V-121 · DT-124 · the stories dock popover (BENCHO-44 create menu) ----------
   Scene: near-opaque neutral smoke (was purple-black rgba(24,21,34,.98) at r16), the uniform edge, the top highlight and the lift shadow, on the card radius (20).
   Rows: clear at rest with 76% words and 64% icons; the chosen one is the selected-chip pair (solid --lg-fg with --mf-fg-inv words and icon: silver / ink on the
   scene, ink / white on Day). Day: white .96 with the overlay shadow. The rows are frozen (A8, #sdock): colours only, their weights stay (600 chosen, 500 others).
   Beats qa-fixes.css:71-79, system.css:129-134, map.css:427-430 (at P-125's weight) */
body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]) #ui > #sdock .sd-pop { background: rgba(255, 255, 255, .96); box-shadow: inset 0 0 0 1px var(--mf-edge), var(--mf-sh-overlay); }
/* (25 October, Mirai Calm, C-104, K-04) rows E1: words and glyphs 64% (the label step marks the chosen one with the thumb); the chosen row is the E3 thumb, white
   20% with 100% words and glyph at 500 (Day: the white slab with the 1.5px ink ring, as a white thumb cannot show on the white menu). Was solid silver / ink */
body #ui > #sdock .sd-pop .sd-chip { background-color: transparent; background-image: none; box-shadow: none; color: var(--lg-fg3); }
body #ui > #sdock .sd-pop .sd-chip svg, body #ui > #orb .ring .ri svg, body #ui > #cta.on svg, body #orb .sun svg { color: inherit; filter: none; opacity: 1; stroke-width: var(--mf-ico-stroke); }   /* (25 October, Mirai Calm) glyphs follow their word at 1.5: the stories rows (C-104), the orb line (C-109: its white glow went), the next-level pill (C-111: its glow and .9 went), the knob */
body #ui > #sdock .sd-pop .sd-chip.on { background-color: rgba(255, 255, 255, .20); background-image: none; box-shadow: none; color: var(--lg-fg); font-weight: 500; }
body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]) #ui > #sdock .sd-pop .sd-chip.on { background-color: #fff; box-shadow: inset 0 0 0 1.5px #16161b; }

/* ---------- V-122 · DT-130 · the moment bar #mbar (BENCHO-42 now playing) ----------
   Scene: neutral smoke at .88 (was the purple-black rgba(28,25,40,.92), qa-fixes.css:5) with the uniform edge (V-005's ::before), the top highlight and the chrome
   shadow. Its buttons: the context's wash (white 7%, ink 6% on the light bar) carried by the button itself, so the 44px disc keeps its size; pressed, the ::before
   adds about 5% (≈ 12% in all). The number chip the same wash, tabular (as before). Progress: the track at 20% of the text colour, the played and the current
   ticks solid (#f5f5f7 on the scene). The light bar (Day, paper: white .95, qa-fixes.css:6) keeps its fill */
/* (25 October, Mirai Calm, C-113, K-12) no top highlight; the three buttons are E1 plain glyphs (no disc at rest, the 44px hit area kept) whose press is the round
   highlight (white 10% / ink 6%: the context's --lg-field-hi); the number chip is plain Footnote 64%, tabular; the progress ticks are 2px tall, 3px apart */
body #ui > #mbar { background-color: rgba(14, 14, 18, .88); box-shadow: var(--mf-sh-chrome-d); }
body:is(.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]), [data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #ui > #mbar { background-color: rgba(255, 255, 255, .95); box-shadow: var(--lg-shadow-s); }
body #ui > #mbar button::before { background: transparent; transition: background-color 220ms var(--mf-ease-out); }   /* P-131's 220ms release folded in */
body #ui > #mbar button:active::before { background: var(--lg-field-hi); transition-duration: 100ms; }
@media (hover: hover) { body #ui > #mbar button:hover::before { background: var(--lg-field); } }
body #ui > #mbar .mb-p i { background: color-mix(in srgb, currentColor 20%, transparent); height: 2px; }   /* (25 October, Mirai Calm, C-113) 2px tall (was the bar's .4rem); the 3px gap is close2.css:346's */
body #ui > #mbar .mb-p i.done { background: currentColor; }
/* (25 October, premium UI, Phase 2, INTEG r3: QA-A round 2 #1) the line above outweighs the older current-tick states (two ids against one), so the current moment
   had turned into an unplayed 20% tick. Restated at this weight, in the baseline's own order of precedence: the current tick solid (qa-fixes.css:17); a timed moment
   draws its 32% track with the .mx-fill growing over it (motion.css:155); paused, 55% (qa-fixes.css:18, which in the baseline also beats the timed track) */
body #ui > #mbar .mb-p i.cur { background: currentColor; }
body #ui > #mbar .mb-p i.cur.mx-timed { background: color-mix(in srgb, currentColor 32%, transparent); }
body #ui > #mbar.paused .mb-p i.cur { background: color-mix(in srgb, currentColor 55%, transparent); }

/* ---------- V-123 · DT-132, DT-552 · the toast, on every level (BENCHO-47) ----------
   A white floating slab: the float shadow on light levels; on the dark scenes the same 6% ink ring and contact with a deeper neutral drop instead of the 22% ink one
   (was white .96 with an inset highlight, a blue-grey ring and a black drop at .6). The radius is the card step (20), which draws a pill while the toast is one line
   (it is under 40px tall: the radius clamps to half its height) and a 20 corner when it wraps on the close pages; system.css:48's !important 18px is beaten the same
   way. Words ink 500 (was #1c1c22 700), tracked −.01em only from 14px (the clamp gives 0 under 14px, −.01em above). Timer, centring and max-width untouched; the
   weight is P-133's (:root body #toast) */
:root body #toast { background: #fff; color: #16161b; font-weight: 500; letter-spacing: clamp(-.01em, calc((14px - 1em) * 100), 0em); border-radius: var(--mf-r-lg) !important;
  box-shadow: 0 0 0 1px rgba(22, 22, 27, .06), 0 1px 2px rgba(22, 22, 27, .06), 0 10px 30px -12px rgba(0, 0, 0, .45);
  translate: -50% 0; transition: opacity var(--mc-t-fade-out) var(--mf-ease-exit); }   /* (25 October, Mirai Calm, C-115) P-133's resting translate and exit folded in (no 4px drop) */
:root body:is(.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]), [data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #toast { box-shadow: var(--mf-sh-float); }

/* ---------- V-124 · DT-133 · the sample-content flag #sampleflag (R-15: never hidden, text unchanged) ----------
   Scene: the chrome smoke (--lg-tint, = --mf-smoke-chrome on the scene; was the thinner .52 tier) with the uniform edge, 76% words at 600 (11px caps, unchanged).
   Light: a white floating tag with the float shadow (its ring is the edge ::before, so the shadow leaves its own 6% ring out), 76% ink. Implementer note
   (24 October): on the Day map the fill is --lg-tint (white .86), not a literal #fff, so it cross-fades with the sun dial like the other chrome (AC-V 5); the paper
   levels (no Day / Night swap) take the #fff */
body #sampleflag { background-color: var(--lg-tint); }
body:is(.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]), [data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #sampleflag {
  box-shadow: 0 1px 2px rgba(22, 22, 27, .06), 0 8px 24px -12px rgba(22, 22, 27, .22); }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #sampleflag { background-color: #fff; }

/* ---------- V-125 · DT-134 · the wipe hand-over card #wipe (R-09: look only, no timing change) ----------
   The card that names the next place between the later levels was the warm cream #ece5d6 with brown type and line (map.css:550-552): every wipe lands on or leaves a
   paper level, so it is the paper's well now (V-004: the hand-over ground and the page ground are one colour), with the place name in 64% ink and the line at 22% */
#world > #wipe { background: var(--mf-paper); }
#world > #wipe .wp-t { color: rgba(22, 22, 27, .64); }
#world > #wipe .wp-line { background: rgba(22, 22, 27, .22); }

/* ---------- V-126 · DT-101, DT-102 · the attract screen's tap ring ----------
   A touch firmer (white .80, was .70): the one ring on the film. Nothing else on the attract screen changes (P-102 made the dust white) */
#attract .at-touch > i { border-color: rgba(255, 255, 255, .80); animation-name: mfc-halo; }
/* (25 October, Mirai Calm, C-131, K-31) the "Touch to welcome" ring's loop at half amplitude: scale .7 → 1.7 (was .4 → 2.4), opacity peak .54 (was .9); the 3s
   period and the film's beats (R-08) unchanged. Reduced motion: showroom.css stops it as before */
@keyframes mfc-halo { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: .54; } 100% { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  /* css/showroom.css:391 cuts every CSS transition and animation to .01ms under reduced motion, so colours, rings, the knob, the sections' rise, the sun's growth
     and the toast already change at once; (25 October, Mirai Calm, rule budget) the rules here that only restated that went. What remains removes a scale or a
     travel that would still jump: the switch knob's stretch, the orb faces' press, the play mark's nudge, the stories menu's .96 */
  body #drawer .tv-snd:active .tv-sw::after, body #orb .core:active > .logo, body #orb .core:active > .orbx { scale: none; }
  body #drawer:not(.ux-setup) .mom:active > svg { translate: none; }
  body #ui > #sdock .sd-pop, body #ui > #sdock.sd-low .sd-pop { transform: none; }
}


/* =====================================================================================================================================================
   MIRAI CALM · Phase 3, the chrome's components redesigned Apple-minimal (25 October; design-research/BACKLOG-3.md A3.S and A3.K K-01..K-13, K-31..K-34, WS1 items
   C-101..C-132). On top of css/ux/mf-base.css's Phase 3 primitives (WS0c). Where a Phase 1 / 2 rule above set the same property on the same selector it was
   edited in place (dated "Mirai Calm" notes); the sections below are the parts no earlier rule of this file owned. Geometry is frozen except where an item
   names it (C-105 the tally's gap and padding, C-111 the next-level pill). Light contexts: the paper levels, the Day map (body.glass-day on the four map
   levels) and the light overlays, as in Phase 2.
   ===================================================================================================================================================== */

/* ---------- C-102 · C-103 · C-104 · C-106 · DT-123, 124, 126, 128 · the top row: three groups, one platter recipe, two weights (K-01..K-04, K-06) ----------
   Labels 500 (the Subhead role at their frozen sizes: Back, the guest's name, the Stories pill, Play, the autoplay counter; the orb line's primary item). Was 600:
   each narrows ≈ 2.5%, and their readers measure live (the ResizeObserver → placeChapters, --guest-w, dockRead, labels.js) */
body #ui > #back, body #ui > #guest .g-txt b, body #ui > #guest .g-av, body #ui > #sdock .sd-cur, body #ui > #chap .chap-play, body #ui > #chap .rail-n, body #ui > #orb .ring .ri.pri,
body #drawer.on .dr-resume b, body #place .tv-dist b, body #drawer .dr-av span, :root body #drawer .dr-tabs > button, body #alt .alt-cur > b, html:root body #drawer .vlog .vl b, html:root body #ui > #mbar .mb-n { font-weight: 500; }   /* also: Resume's name (V-105), the readout's value (C-108), the presenters' names and the drawer's three tabs (C-127, A3.3: 600 → 500; the glide reads the tabs' boxes live), the side bar's lens (C-121), and INTEG r3's two (their rule went: the same weights, the same selectors) */
/* one press highlight for the chrome's platters and plain items: white 10% on the scene, ink 6% on Day and paper (A3.2 pressed highlight; it was a white .18
   radial). Its colour is set on #ui, its readers are the press layers below */
body #ui { --wc-hl: rgba(255, 255, 255, .10); }
:is(body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]), body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"])) #ui { --wc-hl: rgba(22, 22, 27, .06); }
body #ui > #back::after, body #ui > #guest::after, body #ui > #tally > button::after, body #ui > #orb .core::after, body #ui > #sdock .sd-cur::before, body #ui > #orb .ring .ring-row > button.ri::before { background: var(--wc-hl); }
/* (2 November, FINAL-FIX3 F5, QA-C D5) the strips' chips (Market eras, the City / Area landmarks) and the stories chips took the TV's pointer light (css/ux/motion-tv.css: a 65px radial that followed the fingertip), a feathered grey smudge in the middle of a capsule:
   the same flat press as the platters above (white 10% on the scene, ink 6% on Day), over the whole capsule. The layer, its opacity and its 120 / 256ms fade are unchanged */
body #ui #ctx .strip > .pill::after, body #ui #ctx .strip > .lcard::after, body #ui #ctx .strip > .pchip::after, body #ui > #sdock .sd-chip::before { background: var(--wc-hl); }

/* C-103 · K-03 · the autoplay capsule: one surface. Play is E2 (V-116 above); the progress ring is the quiet mark: its track 16% of the ink, the arc 1.5px in the ink,
   its dash on the calm spring (440ms; was 240ms quint-out); the list glyph inside it repeats the counter, so it fades (box kept); the counter 76% */
body #ui > #chap .rail-ico > svg:not(.rail-ring), body #ui > #sdock .sd-cur > svg:first-child, body #orb .core i, body #alt.exp .alt-cur::after, body #alt[data-kf] .alt-cur::after { opacity: 0; }   /* also: C-104's leading list glyph (box kept), C-109's decorative inner ring of the orb core (no text, no target: it is not drawn) and C-121's halo under the platter */
/* (26 October, Phase 3 fix round 1, QA-A r1 #4) the Stories pill's words and chevron sit centred: the faded list glyph keeps its box (K-04: the pill's width is
   measured), so they shift left by half of that box and its gap (paint only; the name's cross-fade ghost, js/ux/motion-tv.js, shifts with them) */
body #ui > #sdock .sd-cur > span, body #ui > #sdock .sd-cur > .sd-up, body #ui > #sdock .sd-cur > .tv-sdghost { translate: calc((var(--ico-sm) + 6px) / -2) 0; }
body #ui > #chap .rail-ring circle { stroke-width: 1.5; stroke-opacity: .16; }
body #ui > #chap .rail-ring .rail-arc { stroke-opacity: 1; transition: stroke-dasharray var(--mc-s2-t) var(--mc-spring); }

/* C-104 · K-04 · the Stories pill is an iOS pop-up button: its label and chevron (76%) on the platter; the leading list glyph fades (its box kept, so dockRead and
   labels.js see the same rect); the chevron turns on the calm spring (300ms) */
body #ui > #sdock .sd-up { opacity: .76; transition: transform var(--mc-s1-t) var(--mc-spring); }

/* ---------- C-105 · DT-127, DT-513 · the toolbar group: one platter for Shortlist, Compare and Quick answers (K-05; AC-C 4: #tally's gap and padding) ----------
   #tally itself carries the platter (the chrome recipe: --lg-tint, the 1px edge, the small shadow; a pill), the three 44px buttons become E1 plain glyphs on it
   (no fill, no edge ring, no shadow) with gap 0 and 2px of padding: the group narrows ≈ 9px (145 → 136px at 1280), and its readers measure live (--tally-w,
   dockRead's Stories pill position, labels.js FIXED). A press is a round highlight inset 4px behind the glyph (a pill when a count widens the button) */
body #ui > #tally { gap: 0; padding: 0 2px; border-radius: 999px; background-color: var(--lg-tint); box-shadow: inset 0 0 0 1px var(--mf-edge), var(--lg-shadow-s); }
body #ui > #tally > button, body #ui > #tally > button::before, body #ui > #mbar button, body #ui > #mbar .mb-n { background: transparent; box-shadow: none; }   /* the last two: C-113's plain moment-bar buttons and number (K-12) */
body #ui > #tally > button::after { inset: 4px; border-radius: 999px; }

/* ---------- C-108 · DT-118 · the place title (K-07) ----------
   On the dark map one soft text shadow (the tight pair of audit-readability.css:33 keeps its no-wide-glow rule; this is tighter still). The Day map and the photo
   scenes (Site, Tower) keep their own firmer shadows: over bright imagery the shadow is what carries the white type (E3 14). The kicker's case, 500 and 76% are
   css/ux/mf-base.css C-012's; the readout is V-119's (64% / 76% 500) */
body:not(.glass-day):is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]) #place { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }

/* ---------- C-109 · DT-120, DT-121 · the orb's action line (K-08) ----------
   Plain items (E1): words and glyphs in the context's 76% (the glyph follows its word; its own white and drop shadow went), 1.5 strokes (mf-base V-014). The level's
   primary item (.pri, nearest the orb) is an E2 tinted pill: its press layer rests at full opacity on the context's 12% field, its word 100% 500, and the 2px
   underline goes (its width is kept: transparent). The chosen item 100%. On Home the capsule is the paper platter (#fff with the float shadow; was white .72) */
body #ui > #orb .ring .ring-row > button.ri.pri::before { opacity: 1; background: var(--lg-field-hi); }
body[data-level="home"] #ui > #orb .ring .ring-row { background-color: #fff; box-shadow: var(--mf-sh-float); }

/* ---------- C-110 · DT-122, DT-203 · the sun dial: the knob and a quiet arc; the detent icons on touch (K-09) ----------
   At rest a 2px track at 18% with its 2px fill at 64%, the three detent dots drawn 4px across at 40% (a CSS scale of the 12px dot about its own centre; their
   23px tap circles are untouched and select in one tap, as before), the detent icons at opacity 0 (the dot is the visible mark). While the dial is in the hand
   (#orb.dial-on, js/app.js: a touch on the knob or a detent tap, until 1200ms after release) the icons show at 76% and the track firms to 24% (200ms fades; the
   stroke width is not animated). The label pill ("Day" / "Dusk" / "Night") is a chrome platter (edge, small shadow; its 500 is mf-base C-012's) */
body #orb .dial-track { stroke-width: 2; stroke-opacity: .18; transition: stroke-opacity 200ms var(--mc-ease-fade); }
body #orb.dial-on .dial-track { stroke-opacity: .24; }
body #orb .dial-fill { stroke-width: 2; stroke-opacity: .64; }
body #orb .det-dot { fill: var(--lg-fg); fill-opacity: .4; stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(.1667); }
body #orb .det-ic { opacity: 0; transition: opacity 200ms var(--mc-ease-fade); }
body #orb.dial-on .det-ic { opacity: .76; }

/* ---------- C-111 · DT-125 · the next-level link becomes the map view's one prominent action (K-10; user decision 25 October: YES; AC-C 4: padding and width) ----------
   E4: a 44px pill, the prominent pair from the registered tokens (--lg-prom / --lg-prom-fg / --lg-prom-sh: silver with ink 500 and the soft drop on the scene, ink
   with white and no shadow on the Day map), so it cross-fades with the dial like the rest of the chrome; its arrow 1.5 at 100% (its white glow and the link's text
   shadow went). Right-anchored to the orb as before (map.css's right / bottom), so it grows ≈ 38px to the left. Pressed: js/ux/press.js plus the highlight layer at 8%
   of its own text colour (map.css hid that layer; its :active dimming to .6 is outweighed here). Hidden while the knob is dragged (map.css:533, kept) */
body #ui > #cta.on { padding: 0 18px 0 20px; border-radius: 999px; background: var(--lg-prom); color: var(--lg-prom-fg); box-shadow: var(--lg-prom-sh); opacity: 1; text-shadow: none; }
body #ui > #cta.on::after { display: block; background: color-mix(in srgb, currentColor 8%, transparent); }
/* (25 October, Phase 3 INTEG, B-23) Then & now, landscape: the timeline bar takes the bottom row, so map.css:564 lifts the link into the orb's column (right 1rem,
   bottom 6.8rem), where the 44px pill covered the sun knob and the Dusk / Night detents (1280×800: 31-38px into them; TV 27-65px). The column has no room for it
   at every size (on the TV the open card ends 40px above the dial), so the pill sits beside the dial instead: left of its Day detent, above the timeline bar, below
   the card, on the dial's own row. Measured clear of the knob at all three hours, of every detent's hit area, of the bar and of the card at 1280×800, 1366×1024
   and 1920×1080 ?tv=1 (qa/integ-p3/ctaknob/); portrait keeps map.css's sheet-aware rule. Paint and position only (no size change) */
@media (orientation: landscape) { body.tl-on #ui > #cta.on { right: calc(var(--pad) + 11.6rem + var(--safe-r)); bottom: calc(var(--pad) + 7.7rem + var(--safe-b)); } }

/* ---------- C-118 · DT-135, DT-247 · the chrome steps back in after a hand-over by opacity alone, 240ms on the fade curve (K-34) ----------
   The ui-in keyframes are already opacity-only (map.css:546); their 480ms quint-out shortens (A3.1.2: 240ms). The map-to-map return (body.nav-in, motion.css:20) too */
body.swap-in #ui > :where([id]):not(#mbar), body.swap-in .gm-flt, body.nav-in #place, body.nav-in #chap, body.nav-in #sdock, body.nav-in #ctx, body.nav-in #cta, body.nav-in .gm-flt { animation-duration: 240ms; animation-timing-function: var(--mc-ease-fade); }

/* ---------- C-132 · DT-138 · the idle fade: one group (K-01) ----------
   chrome.css:146 faded the chrome out over 480ms on expo-out with a 90 / 120 / 160ms stagger (--wd); now all of it fades together, 480ms on the fade curve. The pieces
   with their own transitions (motion.css:14-15) are restated with them; the 5s timer, the faded-tap guard and the slider's 45% are unchanged. The return is 200ms (as is) */
body.clean #ui > :where([id]):not(#mbar) { transition: opacity 480ms var(--mc-ease-fade), visibility 480ms var(--mc-ease-fade); }
body.clean #ui > #back, body.clean #ui > #guest, body.clean #ui > #place, body.clean #ui > #tally { transition: opacity 480ms var(--mc-ease-fade), visibility 480ms var(--mc-ease-fade), transform 240ms var(--ease-out), scale var(--dur-press) var(--ease-out); }

/* ---------- V5 · the side level bar #alt: "the level picker" without a platter and without a box (refs 2-3; ../DT-3.0 A3.S, adapted per the user's instruction) ----------
   Rest: one name, the current level's ("NN Name", 500, its numeral at 64%), and a short column of dots: the current one solid, ±1 quieter (45%) and a little
   smaller. The neighbours' names rest at opacity 0 (in the DOM, read aloud, tappable as before: .vis rows keep their pointer events). Touched (#alt.exp: a finger,
   the mouse over it, the wheel; or keyboard focus, #alt[data-kf] from js/ux/a11y.js) the neighbours' names show, quieter by their distance (d 1 → 68%, d 2 → 42%,
   gone by 2.5) and smaller (JS's --ls). NO platter behind the rows and NO band, ring or box around the current one: the current level is said by its own text
   (full opacity and size, the solid dot), and every name carries a soft text halo for the map and the photos (--alt-ts). The 600 → 500 weight narrows the names
   ≈ 2.5% (labels.js, site.js and the Tower fit read them live). js/app.js paintAlt writes --d per row and --span on #alt (1 at rest, 2 touched); --lo / --ls / .vis /
   .fing / --shift / --cy and every gesture are as before. The strip, the lens and the rows move on the calm spring over --mc-s1-t (300ms; was 220ms quint-out);
   nothing transitions while a finger or a glide drives the strip (motion.css:9, chrome.css:76, restated below). The idle 45% and the cine hide are unchanged */
body #alt { --alt-ts: 0 0 1px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .55), 0 0 10px rgba(0, 0, 0, .38); }
body:is([data-level="tower"], [data-level="site"]) #alt { --alt-ts: 0 0 2px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .7), 0 0 14px rgba(0, 0, 0, .5); }
body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]) #alt { --alt-ts: 0 0 2px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .65), 0 0 12px rgba(0, 0, 0, .45); }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #alt { --alt-ts: 0 0 8px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9); }
body #ui > #alt { transition: opacity 200ms var(--ease-out), visibility 200ms var(--ease-out), transform var(--mc-s1-t) var(--mc-spring), translate var(--mc-s1-t) var(--mc-spring); }
body.clean #ui > #alt { transition: opacity 480ms cubic-bezier(.22, 1, .36, 1), visibility 480ms cubic-bezier(.22, 1, .36, 1), transform var(--mc-s1-t) var(--mc-spring), translate var(--mc-s1-t) var(--mc-spring); }
body.swapping #ui > #alt:not(.drag):not(.glide) { transition: opacity .18s var(--ease-out), transform var(--mc-s1-t) var(--mc-spring), translate var(--mc-s1-t) var(--mc-spring) !important; }
/* the dot: a 6px circle at x 5-11 of the row (the old tick's span), scaled 1 → .83 with distance; the current one solid, the others 45%, gone past the span (+ .5) */
body #alt > button i { left: 5px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; transform-origin: 50% 50%; transform: scale(calc(1 - .17 * min(1, var(--d, 0))));
  opacity: calc(.45 * clamp(0, (var(--span, 1) + .5 - var(--d, 0)) * 2, 1)); box-shadow: 0 0 1px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .4);
  transition: transform var(--mc-s1-t) var(--mc-spring), opacity var(--mc-t-fade) var(--mc-ease-fade); }
body #alt > button.fing i { opacity: 1; }
html.tv body #alt > button i { left: 4px; width: 8px; height: 8px; margin-top: -4px; }
body:is([data-level="tower"], [data-level="site"]) #alt > button:not(.fing) i { opacity: calc(.6 * clamp(0, (var(--span, 1) + .5 - var(--d, 0)) * 2, 1)); box-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 1px rgba(0, 0, 0, .45); }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #alt > button i { box-shadow: none; }
/* the names: 500; the current one at full opacity, each neighbour quieter and smaller by its distance (the scale is JS's --ls as before). A name leaving the lens
   fades out in 160ms on the exit curve, the one arriving fades in 200ms after 40ms: the current label changes in place, it never slides across */
body #alt > button span { font-weight: 500; opacity: max(0, min(1 - .32 * var(--d, 0), (var(--span, 1) + .5 - var(--d, 0)) * 1.28));
  transition: opacity var(--mc-t-fade) var(--mc-ease-fade), scale var(--mc-s1-t) var(--mc-spring); }
body #alt > button.fing span { transition: opacity var(--mc-t-fade) var(--mc-ease-fade) 40ms, scale var(--mc-s1-t) var(--mc-spring); }
body #alt:not(.exp):not([data-kf]) > button:not(.fing) span { opacity: 0; transition: opacity var(--mc-t-fade-out) var(--mf-ease-exit), scale var(--mc-s1-t) var(--mc-spring); }
body #alt > button span em { opacity: .64; }
body:is([data-level="site"], [data-level="tower"]) #alt > button span em { opacity: .76; }
body #alt .alt-cur > b { font-weight: 500; }
/* (31 October, A11 Step 0 #2) the far neighbours were ~1.45:1 on the bright photos mid-drag: on Site and Tower they fade slower (d1 .80, d2 .60) and carry a deeper halo, still no box.
   The map and paper levels keep the v5 values (d1 .68, d2 .42) */
body:is([data-level="tower"], [data-level="site"]) #alt > button span { opacity: max(0, min(1 - .16 * var(--d, 0), (var(--span, 1) + .5 - var(--d, 0)) * 1.28)); }
body:is([data-level="tower"], [data-level="site"]) #alt:not(.exp):not([data-kf]) > button:not(.fing) span { opacity: 0; }
/* (A11 fix round 1, A4) still too thin on the Day sky and the bright foliage ("06 Tower" ~2.5:1, far rows faint while held): a deeper stack of soft shadows (a text halo, no box, no ring: the user's rule),
   and the far rows a little firmer (d1 .92, d2 .84; was .84, .68). Stays on the photo scenes only */
body:is([data-level="tower"], [data-level="site"]) #alt { --alt-ts: 0 0 1px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .85), 0 1px 4px rgba(0, 0, 0, .85), 0 0 9px rgba(0, 0, 0, .75), 0 0 18px rgba(0, 0, 0, .6), 0 0 32px rgba(0, 0, 0, .4); }
body:is([data-level="tower"], [data-level="site"]) #alt > button span { opacity: max(0, min(1 - .08 * var(--d, 0), (var(--span, 1) + .5 - var(--d, 0)) * 1.28)); }
/* keyboard: no ring and no box (the user's instruction): the focused name at 100% and underlined in its own ink. :focus-visible only, so a tap or a click never
   shows it (js/ux/a11y.js #alt[data-kf]); the gesture code is unchanged */
body #alt > button:focus-visible span { opacity: 1; outline: none; text-decoration: underline 2px; text-underline-offset: 5px; }
/* the lens: its glide on the calm spring with the strip's (they cancel, so it holds still); the plate (::before) is never drawn and the band (::after) is gone:
   on the photo scenes (Site, Tower, the balcony View; landscape) ::after is a soft legibility halo behind the current name instead (no edge, no shape: a static
   radial gradient that only fades), at rest and touched alike. Portrait keeps it off (chrome.css:79: it darkened a tower flag on the narrow aerial) */
body #alt .alt-cur { transition: transform var(--mc-s1-t) var(--mc-spring); }
body #alt .alt-cur::before, body #alt.exp .alt-cur::before { opacity: 0; }
body #alt .alt-cur::after, body #alt.exp .alt-cur::after { opacity: 0; content: none; background: none; box-shadow: none; }
/* (31 October, A11 Step 0 #1) the photo scenes' legibility is the text shadow alone (--alt-ts below, strong on Site / Tower): the radial halo read as a dark oval on
   the bright sky, and the user's rule is no panel and no box (not even a soft one) behind the side bar */
/* a finger or a glide drives the strip: nothing transitions (as chrome.css:76; restated because the rules above are heavier) */
body #alt.drag .alt-cur, body #alt.glide .alt-cur, body #alt.drag > button span, body #alt.glide > button span, body #alt.drag > button i, body #alt.glide > button i { transition: none; }

@media (prefers-reduced-motion: reduce) {
  /* V5: colours and opacities change at once (showroom.css:391 cuts every CSS duration too); the dot's blip is skipped in js/app.js; the knob does not grow */
  body #orb .sun.drag { transform: none; }
  body #alt > button span, body #alt > button i, body #alt .alt-cur, body #orb .det-ic, body #orb .dial-track { transition: none; }
}


/* ---------- (25 October, premium UI, Phase 2, INTEG r3: QA-A round 2 #2) · the drawer's visit-log names (.vl b, 700) and the moment bar's number chip (700) at 500: the chrome's two weights (narrowing only).
   (25 October, Mirai Calm, rule budget) their two selectors moved into the weight rule of the Mirai Calm top-row section above ---------- */

/* ---------- (26 October, Phase 3 fix round 1, QA-A r1 #5 / #6) the place title's footnote at Body 400 (K-07), and the toolbar's words at 500: they show beside
   their glyphs at ≥ 1500px with a count (TV); --tally-w and the Stories pill's dockRead() measure the group live (K-05), so the narrower group re-flows as before ---------- */
html:root body #place .pl-f { font-weight: 400; }
html:root body #ui > #tally > button { font-weight: 500; }

/* (26 October, fix round 1, QA-B r1 #2) the Stories pill's press layer follows the Day / Night swap too (its colour changed in one frame, under opacity 0) */
body #ui > #sdock .sd-cur::before { transition: opacity var(--tv-d, 256ms) var(--ease-out), background-color 700ms var(--ease-out); }

/* (31 October, A11 Step 0 #3, re-applied on the Apple-minimal look; A11 fix round 1) the knob's glyph and the core's logo are never washed out by the Day / Dusk swap (Apple-minimal itself dips to 1.2:1 mid-swap):
   each keeps the colour it had until the glass behind it (700ms) is about to cross mid-tone (~160ms), then switches in 1ms (its colour used to follow the same 700ms as the fill, so both were mid-grey together).
   The resting colours are Apple-minimal's own (--lg-fg: #f5f5f7 on the dark scenes, #16161b on the Day map and the paper levels) */
body #orb .sun { transition: transform var(--mc-s1-t) var(--mc-spring), background-color 700ms var(--ease-out), color 1ms linear 140ms; }
body #orb .core .logo { background: #f5f5f7; transition: opacity 160ms var(--mc-ease-fade) 40ms, scale var(--mc-s1-t) var(--mc-spring), background-color 1ms linear 140ms; }
:is(body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]), body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"])) #orb .core .logo { background: #16161b; transition: opacity 160ms var(--mc-ease-fade) 40ms, scale var(--mc-s1-t) var(--mc-spring), background-color 1ms linear 80ms; }
body #orb.open .core .logo { opacity: 0; transform: none; transition: opacity 160ms var(--mc-ease-fade), scale var(--mc-s1-t) var(--mc-spring), background-color 1ms linear 140ms; }
body #orb .sun { color: #f5f5f7; }
:is(body.glass-day:is([data-level="century"], [data-level="city"], [data-level="market"], [data-level="area"]), body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"])) #orb .sun { color: #16161b; transition: transform var(--mc-s1-t) var(--mc-spring), background-color 700ms var(--ease-out), color 1ms linear 60ms; }   /* going to the light knob the glyph flips at 60ms, going to the dark one at 140ms (measured: the fill crosses mid-tone sooner on the way up) */
@media (prefers-reduced-motion: reduce) { body #orb .sun, body #orb .core .logo { transition: none; } }
