/* Nether · the console, in Mission Control's shape (nixlab-web's
   DESIGN.md): its slate skin, the kit's type, and motion on one clock.
   The kit (design-kit.css) brings Montserrat and Open Sans; this sheet
   brings DejaVu Sans Mono, the tokens, and every motion. Miso only ever
   changes a class or an attribute; the rules below turn each into motion,
   and only transform and opacity animate. */

@font-face { font-family: 'DejaVu Sans Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/DejaVuSansMono.woff2') format('woff2'); }
@font-face { font-family: 'DejaVu Sans Mono'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/DejaVuSansMono-Bold.woff2') format('woff2'); }

/* ---------------------------------------------------------------- tokens */

.app {
  --bg: #0f172a; --pane-a: #172036; --pane-b: #111a2e; --well: rgba(2, 6, 23, .45);
  --panel: rgba(255, 255, 255, .05); --panel-2: rgba(255, 255, 255, .08);
  --hair: rgba(255, 255, 255, .10); --hair-2: rgba(255, 255, 255, .16);
  --floor-veil-a: rgba(15, 23, 42, .30); --floor-veil-b: rgba(15, 23, 42, .78);
  --rail-bg: rgba(15, 23, 42, .92); --pop-bg: #1b2540;

  --title: #fff; --fg: #e2e8f0; --muted2: #cbd5e1; --muted: #9eabbf; --faint: #7686a0; --on-accent: #0f172a;
  --dk-200: #fdf2f8; --dk-300: #fce7f3; --dk-400: #fbcfe8; --dk-500: #f9c4dd; --dk-600: #f4a6c8; --dk-500-rgb: 249, 196, 221;
  --link: var(--dk-300);
  --ok: #86efac; --ok-rgb: 134, 239, 172; --warn: #fb7185; --warn-rgb: 251, 113, 133;
  --plan: #93c5fd; --plan-rgb: 147, 197, 253;
  --sky: radial-gradient(60% 50% at 85% 0%, rgba(var(--dk-500-rgb), .10), transparent 70%),
         radial-gradient(50% 40% at 0% 100%, rgba(var(--plan-rgb), .05), transparent 70%);

  --display: 'Montserrat', system-ui, sans-serif;
  --label: 'Montserrat', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, sans-serif;
  --mono: 'DejaVu Sans Mono', ui-monospace, Menlo, monospace;
  --track-display: .02em; --track-label: .05em; --track-eyebrow: .2em;
  --fs-floor: clamp(2.75rem, 5.2vw, 4.75rem); --fs-pane: clamp(1.75rem, 2.4vw, 2.25rem); --fs-kpi: 2.5rem;
  --fs-body: .875rem; --fs-small: .8125rem; --fs-mono: .78rem; --fs-label: .75rem; --fs-eyebrow: .6875rem;

  --r-pane: 18px; --r-card: 14px; --r-chip: 999px;
  --top-h: 52px; --rail-w: 64px; --w-pane: min(760px, 56vw);

  /* One clock: everything that moves moves on one span and one curve. */
  --t-move: 300ms; --ease-move: cubic-bezier(.4, 0, .2, 1); --t-fade: 180ms; --ease-fade: cubic-bezier(0, 0, .2, 1);
  --stagger: 40ms;
}

/* ------------------------------------------------------------------ base */

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0f172a; }
body { overflow: hidden; }
.app { height: 100vh; height: 100dvh; overflow: clip; color: var(--fg); background: var(--sky), var(--bg);
  font: 400 var(--fs-body)/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--dk-300); outline-offset: 2px; border-radius: 6px; }
svg.i { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--mono); font-size: var(--fs-mono); }
.muted { color: var(--muted); margin: 0 0 12px; }
.spacer { flex: 1; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ----------------------------------------------------------------- shell */

.shell { position: relative; height: 100%; display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); grid-template-rows: var(--top-h) minmax(0, 1fr); }
.top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 0; border-bottom: 1px solid var(--hair); background: var(--rail-bg); z-index: 60; }
.wordmark { flex: none; padding: 0 18px 0 20px; font: 900 19px/1 var(--display); letter-spacing: var(--track-display); text-transform: uppercase; }
.wordmark:hover { text-decoration: none; }
.wm-a { background: linear-gradient(180deg, var(--dk-200) 5%, var(--dk-500) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-b { color: var(--title); }
.trail { display: flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; }
.crumb { position: relative; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; white-space: nowrap; border: 1px solid transparent;
  font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.crumb:hover { color: var(--fg); background: var(--panel); text-decoration: none; }
.crumb .mono { font-size: 12px; letter-spacing: 0; text-transform: none; }
.crumb--pane { margin-left: 14px; animation: fade var(--t-move) var(--ease-move) both; }
.crumb--pane::before { content: ''; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: translateY(-50%) rotate(45deg); }
.crumb[aria-current="page"] { color: var(--dk-200); background: rgba(var(--dk-500-rgb), .12); border-color: rgba(var(--dk-500-rgb), .35); }
.link { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid var(--hair); white-space: nowrap; }
.link__k { font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); }
.link__v { display: flex; align-items: center; gap: 7px; font: 400 12px/1 var(--mono); color: var(--muted2); }
.dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.link--on .dot { color: var(--ok); }
.link--dial .dot { color: var(--dk-300); }
.link--off .dot { color: var(--warn); }
.link--on .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.9s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .75; } 80%, 100% { transform: scale(2.4); opacity: 0; } }

.rail { grid-row: 2; grid-column: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; border-right: 1px solid var(--hair); background: var(--rail-bg); z-index: 50; }
.rail__b { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--muted); }
.rail__b:hover { color: var(--fg); background: var(--panel); text-decoration: none; }
.rail__b[aria-current="page"] { color: var(--dk-300); background: rgba(var(--dk-500-rgb), .10); box-shadow: inset 3px 0 0 var(--dk-400); }
.tip { position: absolute; left: 52px; top: 50%; transform: translate3d(-6px, -50%, 0); opacity: 0; pointer-events: none; white-space: nowrap; z-index: 90;
  font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg); padding: 7px 9px; border-radius: 7px;
  background: var(--pop-bg); border: 1px solid var(--hair-2); transition: opacity var(--t-fade), transform var(--t-fade) var(--ease-move); }
.rail__b:hover .tip, .rail__b:focus-visible .tip { opacity: 1; transform: translate3d(0, -50%, 0); }

/* ----------------------------------------------------------------- stage */

.stage { grid-row: 2; grid-column: 2; position: relative; overflow: clip; }
.floor { position: absolute; inset: 0; overflow: auto; transform-origin: 0 40%; transition: transform var(--t-move) var(--ease-move);
  scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.stage[data-top="pane"] .floor { transform: scale(.972); }
.floor-veil { position: absolute; inset: 0; z-index: 10; opacity: 0; pointer-events: none; transition: opacity var(--t-move) var(--ease-move);
  background: linear-gradient(90deg, var(--floor-veil-a), var(--floor-veil-b) 70%); }
.stage[data-top="pane"] .floor-veil { opacity: 1; pointer-events: auto; cursor: pointer; }
.floor__in { padding: 30px 34px 64px; max-width: 1560px; }

.eyebrow { display: block; font: 700 var(--fs-eyebrow)/1.3 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--dk-300); }
.display { font-family: var(--display); font-weight: 900; letter-spacing: var(--track-display); text-transform: uppercase; color: var(--title); line-height: 1.04; margin: 0; }
.rule { width: 48px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--dk-300), var(--dk-600)); box-shadow: 0 0 14px rgba(var(--dk-500-rgb), .6); }
.floor__head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.floor__titles { flex: 1; min-width: 0; }
.floor__title { font-size: var(--fs-floor); margin: 12px 0 14px; }
.tagline { margin: 16px 0 0; color: var(--muted2); font-size: 15px; max-width: 70ch; }
.errbar { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; color: var(--warn);
  border: 1px solid rgba(var(--warn-rgb), .45); background: rgba(var(--warn-rgb), .08); font: 400 12px/1.5 var(--mono); }

/* Load, then move: a floor's content rises once, staggered, when it
   mounts; rows already drawn stay where they are when answers land. */
.floor__head, .counts, .floor__grid, .tiles > *, .rows > *, .steps > li, .grp, .console-grid { animation: rise 520ms var(--ease-move) both; }
.counts { animation-delay: 60ms; }
.tiles > *:nth-child(1), .steps > li:nth-child(-n+4), .rows > *:nth-child(-n+4) { animation-delay: 80ms; }
.tiles > *:nth-child(2) { animation-delay: calc(80ms + var(--stagger)); }
.tiles > *:nth-child(3) { animation-delay: calc(80ms + 2 * var(--stagger)); }
.tiles > *:nth-child(4) { animation-delay: calc(80ms + 3 * var(--stagger)); }
.tiles > *:nth-child(n+5) { animation-delay: calc(80ms + 4 * var(--stagger)); }
.steps > li:nth-child(n+5), .rows > *:nth-child(n+5) { animation-delay: calc(80ms + 2 * var(--stagger)); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
@keyframes fade { from { opacity: 0; } }

/* ----------------------------------------------------------------- atoms */

.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--r-chip); white-space: nowrap; flex: none;
  font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted2); border: 1px solid var(--hair-2); }
.chip--live { color: var(--ok); border-color: rgba(var(--ok-rgb), .38); background: rgba(var(--ok-rgb), .07); }
.chip--plan { color: var(--plan); border-color: rgba(var(--plan-rgb), .5); border-style: dashed; background: rgba(var(--plan-rgb), .06); }
.chip--ok { color: var(--ok); border-color: rgba(var(--ok-rgb), .38); background: rgba(var(--ok-rgb), .07); }
.chip--fail { color: var(--warn); border-color: rgba(var(--warn-rgb), .45); background: rgba(var(--warn-rgb), .08); }
.chip--muted { color: var(--muted); letter-spacing: var(--track-label); }
.chip--kind { color: var(--dk-300); border-color: rgba(var(--dk-500-rgb), .35); letter-spacing: var(--track-label); min-width: 84px; justify-content: center; }

.sk { display: block; height: 10px; margin: 6px 0; border-radius: 5px; background: var(--hair); }
.sk--w { width: 60%; height: 14px; }
.sk--s { width: 40%; }
.sk--kpi { width: 3ch; height: 2.2rem; }

/* ---------------------------------------------------------------- counts */

.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 26px; }
.count { position: relative; overflow: hidden; padding: 16px 18px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--hair); min-height: 118px;
  display: flex; flex-direction: column; gap: 8px; color: var(--fg); transition: transform 250ms var(--ease-move); }
a.count:hover { transform: translate3d(0, -2px, 0); text-decoration: none; border-color: rgba(var(--dk-500-rgb), .4); }
.count:first-child { border-color: rgba(var(--dk-500-rgb), .45); background: radial-gradient(120% 140% at 0% 0%, rgba(var(--dk-500-rgb), .16), transparent 55%), var(--panel); }
.count__k { display: flex; align-items: center; gap: 8px; font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); }
.count__k svg.i { width: 14px; height: 14px; color: var(--dk-400); }
.count:first-child .count__k { color: var(--dk-300); }
.count__v { font: 900 var(--fs-kpi)/1 var(--display); color: var(--title); letter-spacing: var(--track-display); }
.count:first-child .count__v { color: var(--dk-200); }
.count__s { margin-top: auto; color: var(--muted); font-size: var(--fs-small); }
.count--placeholder { border-style: dashed; background: transparent; }
.count__v--none { color: var(--faint); }

/* ----------------------------------------------------------------- tiles */

.floor__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.grp { margin-bottom: 26px; }
.grp__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.grp__name { margin: 0; font: 900 13px/1 var(--display); letter-spacing: var(--track-display); text-transform: uppercase; color: var(--title); }
a.grp__link { text-transform: none; font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0; color: var(--title); }
.grp__n { font: 700 var(--fs-eyebrow)/1 var(--label); color: var(--muted); letter-spacing: var(--track-eyebrow); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--hair); }
.grp__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--hair-2), transparent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 14px 15px 12px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--hair);
  color: var(--fg); transition: transform 250ms var(--ease-move); }
.tile:hover { transform: translate3d(0, -2px, 0); text-decoration: none; }
.tile::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 250ms;
  box-shadow: 0 0 0 1px rgba(var(--dk-500-rgb), .55), 0 18px 40px -18px rgba(var(--dk-500-rgb), .7); }
.tile:hover::before, .tile:focus-visible::before { opacity: 1; }
.tile--planned { border-style: dashed; border-color: rgba(var(--plan-rgb), .35); background: rgba(var(--plan-rgb), .03); }
.tile__row { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.tile__row svg.i { width: 15px; height: 15px; color: var(--dk-400); }
.tile__ns { font: 400 12px/1.3 var(--mono); color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__row .chip { margin-left: auto; height: 19px; font-size: 10px; padding: 0 7px; }
.tile__name { font: 900 17px/1.15 var(--display); letter-spacing: var(--track-display); color: var(--title); word-break: break-word; }
.tile__desc { color: var(--muted2); font-size: var(--fs-small); line-height: 1.45; min-height: 38px; word-break: break-word; }
.tile__foot { padding-top: 9px; margin-top: auto; border-top: 1px solid var(--hair); font: 400 11px/1.4 var(--mono); color: var(--muted); word-break: break-word; }
.tile--sk { min-height: 132px; }

/* ----------------------------------------------------------------- panels */

.side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; }
.panel { padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--hair); }
.panel__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--dk-300); }
.panel__head svg.i { width: 16px; height: 16px; }
.panel__t { margin: 0; flex: 1; font: 900 13px/1 var(--display); letter-spacing: var(--track-display); text-transform: uppercase; color: var(--title); }
.panel__p { margin: 8px 0 0; color: var(--muted2); font-size: var(--fs-small); line-height: 1.5; }
.panel__p.mono { font-size: 12px; }
.law { color: var(--warn); }
.verdict { margin: 0; }
.warn { display: block; padding: 9px 0; border-top: 1px solid var(--hair); color: var(--muted2); font-size: var(--fs-small); line-height: 1.45; }
.warn:first-of-type { border-top: 0; padding-top: 2px; }
.warn:hover { color: var(--dk-200); text-decoration: none; }
.pre { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--well); color: var(--muted2); white-space: pre-wrap; word-break: break-word; font-size: 12px; line-height: 1.5; }

/* ------------------------------------------------------------------ rows */

.rows { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--hair); overflow: hidden; }
.r { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--hair); background: var(--panel); min-height: 40px; }
.r:first-child { border-top: 0; }
.r--planned { background: rgba(var(--plan-rgb), .035); }
.r .chip { margin-left: auto; height: 19px; font-size: 10px; padding: 0 7px; }
.r__name { color: var(--title); font-weight: 700; min-width: 190px; }
.r__arrow { color: var(--faint); }
.r__what { flex: 1; color: var(--muted2); }
.r__meta { color: var(--muted); }
.r__c { color: var(--muted2); }
.r__c:first-child { min-width: 160px; font-family: var(--mono); font-size: var(--fs-mono); }
.r--sk { min-height: 40px; }
.r--sk .sk { width: 50%; margin: 0; }

/* ------------------------------------------------------------------ plan */

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-width: 1180px; }
.step { display: grid; grid-template-columns: 3.4ch 96px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 10px;
  background: var(--panel); border: 1px solid transparent; }
.step:hover { border-color: var(--hair-2); }
.step--planned { background: rgba(var(--plan-rgb), .04); border-color: rgba(var(--plan-rgb), .18); border-style: dashed; }
.step__n { color: var(--muted); text-align: right; }
.step__t { color: var(--fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step__t:hover { color: var(--dk-200); }
.step__needs { color: var(--faint); font-size: 11px; white-space: nowrap; }
.step--new { border-color: rgba(var(--ok-rgb), .5); border-style: solid; background: rgba(var(--ok-rgb), .07); }
.step--new .step__needs { color: var(--ok); }
.step--moved .step__needs { color: var(--dk-300); }
.steps--tight .step { grid-template-columns: 3ch 84px minmax(0, 1fr); row-gap: 2px; padding: 6px 10px; }
.steps--tight .step__t { white-space: normal; }
.steps--tight .step__needs { grid-column: 3; }
.steps--tight .step__needs:empty { display: none; }
.steps--tight .step .chip:last-child { display: none; }

/* --------------------------------------------------------------- console */

.console-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: 22px; align-items: start; }
.vortex-console .box { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--hair); }
.vortex-console textarea { width: 100%; min-height: 140px; resize: vertical; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--hair-2); background: var(--well);
  color: var(--fg); font: 400 13px/1.55 var(--mono); }
.vortex-console textarea:focus { outline: none; border-color: rgba(var(--dk-500-rgb), .6); }
.vortex-console .actions { margin-top: 12px; display: flex; gap: 10px; align-items: center; }
.vortex-console button { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 9px; border: 0; cursor: pointer;
  font: 700 var(--fs-label)/1 var(--label); letter-spacing: var(--track-label); text-transform: uppercase;
  background: linear-gradient(180deg, var(--dk-400), var(--dk-500)); color: var(--on-accent); transition: transform 200ms var(--ease-move); }
.vortex-console button:hover { transform: translate3d(0, -1px, 0); }
.vortex-console button.ghost { background: transparent; color: var(--muted2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.vortex-console .muted { margin: 0; font-size: var(--fs-small); }
.vortex-console .log { margin-top: 14px; max-height: calc(100dvh - 520px); min-height: 200px; overflow: auto; padding: 12px 14px; border-radius: 12px;
  background: #0b1222; border: 1px solid var(--hair); }
.vortex-console pre { margin: 0 0 6px; font: 400 12.5px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word; animation: fade var(--t-fade) var(--ease-fade) both; }
.vortex-console pre.block { color: var(--dk-200); }
.vortex-console pre.said { color: var(--muted2); }
.vortex-console pre.result { color: var(--ok); }
.vortex-console pre.failed { color: var(--warn); }

/* ----------------------------------------------------------------- panes */

.panes { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.pane { position: absolute; top: 0; right: 0; bottom: 0; width: var(--w-pane); pointer-events: auto; z-index: 40; }
.pane[data-anim="leave"] { z-index: 45; pointer-events: none; }
.pane__in { position: absolute; inset: 12px 12px 12px 0; border-radius: var(--r-pane); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--pane-a), var(--pane-b)); box-shadow: -28px 0 56px -14px rgba(0, 0, 0, .75), inset 0 0 0 1px var(--hair); }
.pane[data-anim="enter"] > .pane__in { animation: pane-in var(--t-move) var(--ease-move) both; }
.pane[data-anim="leave"] > .pane__in { animation: pane-leave var(--t-move) var(--ease-move) both; will-change: transform; }
@keyframes pane-in { from { transform: translate3d(calc(100% + 40px), 0, 0); } }
@keyframes pane-leave { to { transform: translate3d(calc(100% + 40px), 0, 0); } }
.pane__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; z-index: 7; pointer-events: none; opacity: .45;
  background: linear-gradient(180deg, transparent, var(--dk-300) 20%, var(--dk-400) 80%, transparent); }
.pane__glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(var(--dk-500-rgb), .30), inset 0 1px 0 rgba(253, 242, 248, .3); }
.pane__body { position: absolute; inset: 0; display: flex; flex-direction: column; }
.pane__bar { display: flex; align-items: center; gap: 12px; height: 50px; flex: none; padding: 0 12px 0 22px; border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--panel), transparent); }
.pane__kind { display: flex; align-items: center; gap: 8px; flex: none; font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--dk-300); }
.pane__kind svg.i { width: 15px; height: 15px; }
.pane__crumbs { display: flex; align-items: center; min-width: 0; overflow: hidden; font: 400 12px/1.6 var(--mono); white-space: nowrap; }
.pc { position: relative; flex: none; padding: 2px 6px; color: var(--muted); }
.pc + .pc { margin-left: 12px; }
.pc:not(:last-child)::after { content: ''; position: absolute; right: -10px; top: 50%; width: 5px; height: 5px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: translateY(-50%) rotate(45deg); }
.pc--here { color: var(--fg); overflow: hidden; text-overflow: ellipsis; }
.pane__acts { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ibtn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.ibtn:hover { color: var(--fg); background: var(--panel-2); }
.pane__scroll { flex: 1; overflow: auto; padding: 24px 28px 40px; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
.pane__title { font-size: var(--fs-pane); margin: 10px 0 14px; text-transform: none; word-break: break-word; }
/* One animation per element: what a pane holds arrives with its frame. */
.pane .rows > *, .pane .steps > li, .pane .tiles > * { animation: none; }
.chips { margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 22px; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--hair); min-width: 0; }
.fact__k { font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); }
.fact__v { color: var(--fg); overflow-wrap: anywhere; line-height: 1.5; }
.sec { margin-bottom: 22px; }
.sec__h { margin: 0 0 10px; font: 700 var(--fs-eyebrow)/1 var(--label); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--dk-300); }

/* ------------------------------------------------------------- the narrow */

@media (max-width: 900px) {
  .floor__grid, .console-grid { grid-template-columns: minmax(0, 1fr); }
  .app { --w-pane: 100%; }
  .link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .floor__head, .counts, .floor__grid, .tiles > *, .rows > *, .steps > li, .grp, .console-grid, .crumb--pane, .vortex-console pre { animation: none; }
  .pane[data-anim="enter"] > .pane__in, .pane[data-anim="leave"] > .pane__in { animation: fade var(--t-fade) linear both; }
  .floor, .tile, .count { transition: none; }
  .link--on .dot::after { animation: none; }
}

/* The plan's change in a dry run: the steps added, then each run of the
   estate's steps renumbered. */
.changes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.change { display: grid; grid-template-columns: 16ch minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 9px; background: var(--panel); color: var(--muted2); font-size: var(--fs-small); animation: fade var(--t-fade) var(--ease-fade) both; }
.change__n { color: var(--dk-300); white-space: nowrap; }
.change--new { background: rgba(var(--ok-rgb), .07); border: 1px solid rgba(var(--ok-rgb), .4); color: var(--fg); }
.change--new .change__n { color: var(--ok); }
.fact--wide { grid-column: 1 / -1; }
