/* Sentinel — the surface's own view CSS: the shell regions, the pane and birth views, the eight render-state treatments.
   Provenance: original (Selarys-authored). Clean-room; no reference-app lineage.
   Status: Phase-1 build (sprint-003 T-032 / T-033; T-031 the header row over the vendored chrome; sprint-004 T-057 part 2 the grounding qualifier and the overlay banner; the glass-walk corrective, 2026-10-30 — the estate layout pass and the admin pill's removal; the glass-walk corrective A2, 2026-10-30 — the flow layer; sprint-007 T-114, 2026-11-12 — the Pulse walkable-on-live wave: the four tokens pulse.css reads defined once on the shell root; REQ-STL-042/043; DR-044; held behind DR-045). Deployment state is never asserted here: it is the delivery records' (DR-022, DR-023) and the CHANGELOG's.

   APP-SPECIFIC, and only that. The platform design-system base (tokens, the app shell, the identity
   chip's scope.css) is vendored verbatim at T-031 (web/vendored/, PROVENANCE.json) and loads
   UNDERNEATH this file; nothing here restates or imitates it.
   [T-031, 2026-10-02 — measured against the vendored base] RESOLVE from the vendored tokens: --text,
   --border, --border-focus, --cyan, --violet, --mint, --warning, --error,
   --radius-sm [2026-10-02, round 2: --text-muted dropped from this list too — no rule here reads it any
   more; see --stl-text-muted in the palette]. Do NOT resolve (the vendored base names its surfaces --void/--deep/--surface, not these;
   the fallbacks below carry them, by design kept): --bg-primary, --bg-secondary, --bg-tertiary,
   --border-hover, --gradient-btn, the --bg-*-subtle set, --space-*, --radius-md.
   [T-085, 2026-10-28 — the design-language deep dive, DR-030 R10 item 1 · SUPERSEDES the preceding "Do NOT
   resolve" for the surface tokens]: the operator's walk found the shell rendering an OFF-palette set, not
   the suite — precisely because the names just above fell back to the placeholders while map.css (reading
   --void/--deep/--surface) resolved to the suite, so the shell and the map DISAGREED. The .stl-shell rule
   below now carries an ALIAS BLOCK binding those names to the vendored suite tokens: --bg-secondary and
   --bg-tertiary → --surface; --border-hover → --border-strong; --gradient-btn → the suite's cyan→violet
   gradient; and the --bg-*-subtle set to the suite cyan/mint/warning/error at .08. --bg-primary is RETIRED —
   the shell paints NO opaque ground now: it is transparent, so base.css's body::before ambient wash shows
   (the estate way). With the vendored base present the shell renders the SAME suite surfaces map.css does;
   with it absent the fallbacks still carry a legible dark-neutral set, token for token with map.css. --space-*
   and --radius-md keep their fallbacks (numeric, on-palette). Note: the suite's
   --text-dim is its DIMMEST text tier, darker than the fallback below [2026-10-02: so no rule here reads it
   any more — see --stl-text-dim in the palette]. Every colour, space and radius reads a platform token by its Aurora name
   (--bg-primary, --text, --border, --cyan, --violet, --mint, --warning, --error, --space-*, --radius-*,
   --transition-*) with a fallback from the shared set below, so the views stay legible before the
   vendored base lands and take the platform's values the moment it does. Every selector is stl-
   prefixed: no element-level rule reaches the chrome.

   THE FALLBACK PALETTE [unified 2026-10-02 — the verify round]: sentinel.css and map.css fall back to
   ONE dark-neutral set, token for token (the platform apps are dark-themed); the FINAL values come with
   the vendored base at T-031, and these fallbacks only hold the place until then. The set:
   --bg-primary / --deep #10141c · --bg-secondary / --surface #171d28 · --bg-tertiary / --gradient-btn
   #1e2533 · --border #2b3445 · --border-hover #3a4558 · --border-focus #6ea8ff · --text #e6e9ef ·
   ~~--text-dim #a3abb9~~ [2026-10-02: now --stl-text-dim, below] · ~~--text-muted #7f8899~~ [2026-10-02, round 2: now --stl-text-muted, below] · --mint #3ccf9a · --warning #e3a948 · --error #ec5b6e ·
   --violet #9b80ff · --cyan #4fc6ea · --bg-accent-subtle / --bg-success-subtle / --bg-warning-subtle /
   --bg-error-subtle: the SUITE cyan / mint / warning / error at 0.08 alpha — rgba(0,200,255,.08) /
   rgba(0,255,180,.08) / rgba(255,170,48,.08) / rgba(255,68,102,.08) [T-085, 2026-10-28: raised from the
   fallback-tint at .12 to the suite's own subtle alpha; these tokens resolve to no vendored name, so the
   fallback IS the suite value, rendered base present or absent]. A token given a fallback
   in either file carries the same value in both (the static audit holds that).
   --stl-text-dim #a3abb9 [2026-10-02 — the verify round, contrast]: OUR own-named dim-text token. The
   suite's --text-dim (#3a4a5a in the vendored base) is its dimmest tier, ~1.7:1 to 2.0:1 on the dark
   surfaces here — unreadable for text that carries a state. No stylesheet defines --stl-text-dim, so it
   resolves to #a3abb9 with the vendored base absent AND present: 7.98:1 on --bg-primary #10141c, 6.64:1
   on --bg-tertiary #1e2533 (the read-only input). Re-mapped usages, named: .stl-state--not_watchable and
   .stl-form input[readonly] here; --map-ink-dim and --map-notwatch in map.css. No other --text-dim
   usage existed in either file.
   --stl-text-muted #8a93a3 [2026-10-02 — the verify round 2, the same contrast class]: OUR own-named
   muted-text token, in place of the suite's --text-muted (#6a7a8a in the vendored base: 4.18:1 on
   --bg-primary, 3.48:1 on --bg-tertiary — under the 4.5:1 bar for the small state-carrying text that
   reads it here). The old fallback #7f8899 itself only reached ~4.3:1 on --bg-tertiary, so the token
   takes #8a93a3: 5.9:1 on --bg-primary #10141c, 5.5:1 on --bg-secondary #171d28, 4.9:1 on
   --bg-tertiary #1e2533. Defined by no stylesheet, so it resolves the same with the vendored base
   absent AND present. EVERY former --text-muted usage in this file and map.css re-mapped (this is the
   deliberate, documented change of the muted tier — not a silent drift).

   DESIGN-P1U §3 rule 1: no state is conveyed by colour alone. Each of the eight states below differs
   in border STYLE, glyph text and label text as well as colour; must-not-read (a deliberate posture)
   is solid and violet, never the dashed / grey family of cannot-read.

   [2026-10-30, glass-walk corrective — the layout pass: match the estate] The walk found the shell's spacing off
   the estate's. The --space-* names this file reads resolve to NOTHING in the vendored base, so their fallbacks
   were what rendered. The rules this pass touched now state the estate's own measures directly, each from its
   sibling source:
     · ONE CONTENT COLUMN — .stl-body is 1400px max, centred, 20px gutters; main 24px over 64px (Sentry's ops
       main, the ruled width). The sub-nav, the banner and main share its edges, and the fixed status strip's text
       is inset to the same edges. The spatial canvas is exempt: the map route runs full width (.stl-shell--bleed,
       set by the router from the route's `bleed`).
     · the sub-nav strip — Sentia's in-surface tabs (margin 18px 0 20px, gap 2px, tab 8px 14px, .85rem, 500,
       the -1px overlap), inside the column;
     · tables — th/td 10px 12px, the head 11px uppercase tracked 1px (the Sentry / OP table);
     · CARDS — .stl-card is the Sentry / OP card (surface, 1px line, radius 10, padding 20, 20 below). dom.js puts
       every table, refusal and definition list on one. A card inside a card, or inside the unit panel (itself a
       card, now radius 10 and padding 20), lies flat;
     · refusals, the normal state now — Sentia's .empty-artifact (16px above, 14px 16px, the 2px rule, radius
       0 6px 6px 0). Their lists, and the banner's and the defects', regain the 1.25em indent base.css zeroes;
     · the view head — the title at the Sentry h1 (18px display face, weight 400), head 20px below, lede 62ch;
     · the status strip — Sentia's fixed footer (9px padding, --deep, flex gap 10px, .76rem), with --footer-h
       reserved under the shell so no content ever hides beneath it;
     · inputs 8px 12px (base.css's own, restored), .stl-action 8px 16px (Sentia's .btn), the defs grid gap
       10px 18px, the filters 16px below, the banner 9px 13px at radius 6px inside the column.
   Every new colour fallback is the shared palette's value (TestCSSFallbackPaletteIsOne). The --radius-sm
   fallback is 6px throughout now, the vendored base's own value (it read 4px, which never rendered). The
   admin pill (T-087's #stl-admin) is deleted with its slot — the operator's placement ruling.

   [2026-11-12, sprint-007 T-114 — the Pulse walkable-on-live wave (R-15)] "No stylesheet defines --stl-text-dim" and
   "Defined by no stylesheet" (--stl-text-muted), above, no longer hold, and --space-sm / --space-md are no longer names
   that resolve to nothing: the four are DEFINED once, on the shell root (.stl-shell, below), at exactly the values their
   fallbacks here have always carried — #a3abb9, #8a93a3, 0.5rem, 1rem — so nothing this file renders moves. Why: pulse.css
   reads them with no fallback (TestPulseCSSUsesTokensOnly forbids a colour literal even as a fallback), and an undefined
   custom property with no fallback is invalid at computed-value time, so the Pulse layer's muted words, paused-row dim and
   spacing silently fell away in a browser. A static audit now holds every fallback-less var() in our stylesheets to a
   property some embedded stylesheet defines (TestPulseCSSNamesDefinedTokens). */

.stl-shell {
  /* [T-085, 2026-10-28] THE SUITE-TOKEN ALIAS BLOCK (see the header note): the Aurora names this file reads
     that the vendored base does NOT define, bound here to the base's own suite tokens so the shell renders
     the SAME suite palette map.css does — not the off-palette placeholders. --bg-secondary / --bg-tertiary
     take the suite surface (base.css inputs are --surface too); --border-hover the suite's stronger line;
     --gradient-btn the suite's translucent cyan→violet button; the subtle tints the suite colours at .08.
     Scoped to .stl-shell, so every .stl-* descendant inherits them and nothing reaches the vendored chrome. */
  --bg-secondary: var(--surface, #171d28);
  --bg-tertiary: var(--surface, #171d28);
  --border-hover: var(--border-strong, #3a4558);
  --gradient-btn: linear-gradient(135deg, rgba(0, 200, 255, 0.2) 0%, rgba(120, 80, 255, 0.2) 100%);
  /* [2026-10-30] the fixed status strip's height, reserved once: the shell's bottom padding carries it, so the
     last line of a view never sits under the strip (Sentia's --footer-h; the narrow-window cases below). */
  --footer-h: 38px;
  /* [2026-11-12, T-114 — R-15] the four tokens pulse.css reads without a fallback, defined once here, each at the value
     its fallback across this file and map.css has always carried (the shared palette's; nothing rendered moves). */
  --stl-text-muted: #8a93a3;
  --stl-text-dim: #a3abb9;
  --space-sm: 0.5rem;
  --space-md: 1rem;

  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-areas: "header" "body";
  min-height: 100vh;
  padding-bottom: var(--footer-h);
  position: relative;
  z-index: 1;
  /* [T-085] transparent, NOT an opaque --bg-primary fill: base.css paints body --void and its body::before
     ambient wash behind the shell (its z-index 0, fixed); a transparent shell lets that wash show — the
     estate way. The header (--deep) and the card surfaces (--surface) paint their own grounds over it. */
  background: transparent;
  color: var(--text, #e6e9ef);
}
.stl-shell[hidden] { display: none; }

/* ── the suite header row [T-031] ─────────────────────────────────────────────────────────────
   The header's look is the vendored app shell's (#header.app-header, .header-logo, .app-wordmark,
   .header-right — where scope.js mounts the identity chip); this file only places it in the grid.
   position/z-index above keep the vendored base's fixed ambient wash (body::before) behind the pane. */
.stl-header { grid-area: header; }
/* the header mark [2026-10-11, 0.4.1 — the operator's glass walk]: the inline APP_META one-liner
   (index.html; byte-walled to brand/mark-appmeta.svg) sized for the header row. The vendored
   .header-logo is already a centred flex row with its own gap before the wordmark, so this rule
   only sets the size, at the vendored .app-mark's 28px. The chrome's own 58px .so-mark rule lives
   in scope.js's injected ENDED-card style, scoped under #selarys-signed-out, and is never touched;
   this one is scoped under .stl-header, so neither reaches the other's mark. */
.stl-header .header-logo .so-mark { display: block; flex-shrink: 0; width: 28px; height: 28px; }

/* ── the in-surface sub-nav [T-086, 2026-10-28 — DR-030 R6] ───────────────────────────────────────
   The estate shell pattern replaces the former left rail: the four sections (Registry · Watch · Births ·
   Map) are the header tabbar (the vendored .app-tabbar / .app-tab, built by js/router.js into #stl-tabbar),
   and the views under a section are these in-surface sub-tabs (built into #stl-subnav). A section with a
   single view (Registry, Map) shows no bar — the sub-nav is hidden by the router. The active channel is
   the border-bottom rule + aria-current, the suite's own tab treatment (never colour alone).
   [2026-10-30, glass-walk corrective] Registry carries two views for a session holding the pools gate (Units ·
   Resource pools), one otherwise. The strip takes Sentia's in-surface tabs, inside the content column: margin 18px
   0 20px, gap 2px, tab 8px 14px at .85rem / 500, and the tab's -1px overlap onto the strip's rule. */
.stl-subnav {
  margin: 18px 0 20px;
  padding: 0;
  border-bottom: 1px solid var(--border, #2b3445);
}
.stl-subnav[hidden] { display: none; }
.stl-subnav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 2px; }
.stl-subnav__list > li { display: flex; }
.stl-subnav__link {
  display: block;
  padding: 8px 14px;
  margin-bottom: -1px;
  color: var(--stl-text-muted, #8a93a3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.stl-subnav__link:hover, .stl-subnav__link:focus-visible { color: var(--text, #e6e9ef); text-decoration: none; }
.stl-subnav__link[aria-current="page"] {
  color: var(--cyan, #4fc6ea);
  border-bottom-color: var(--cyan, #4fc6ea);
  background: linear-gradient(180deg, transparent 28%, rgba(0, 200, 255, 0.1));
}
.stl-subnav__link--heavy { color: var(--error, #ec5b6e); }
.stl-subnav__link--heavy[aria-current="page"] { color: var(--error, #ec5b6e); border-bottom-color: var(--error, #ec5b6e); }

/* ── body, banner, main, status strip ─────────────────────────────────────────────────────────── */
/* [2026-10-30, glass-walk corrective] ONE CONTENT COLUMN: 1400px, centred, 20px gutters (Sentry's ops main). The
   sub-nav, the banner and main all sit inside it. The spatial canvas is exempt: while the map route is on glass
   the router sets .stl-shell--bleed and the column runs the full width (the gutters stay). */
.stl-body { grid-area: body; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; min-width: 0; display: flex; flex-direction: column; }
.stl-shell--bleed .stl-body { max-width: none; }
.stl-banner {
  margin: 16px 0 0;
  padding: 9px 13px;
  border: 1px solid var(--warning, #e3a948);
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-warning-subtle, rgba(255, 170, 48, 0.08));
  font-weight: 600;
}
.stl-main { padding: 24px 0 64px; min-width: 0; }
.stl-main--stale .stl-view { opacity: 0.72; }
/* [2026-10-30] the status strip: Sentia's FIXED footer (the ruled choice). It is anchored at the bottom edge,
   painted on --deep, and its text is inset to the content column's edges: the 20px gutter, or the column's own
   edge once the window is wider than the column. The shell's padding reserves --footer-h for it. */
.stl-status {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9px max(20px, calc((100% - 1400px) / 2 + 20px));
  background: var(--deep, #10141c);
  border-top: 1px solid var(--border, #2b3445);
  font-size: 0.76rem;
  color: var(--stl-text-muted, #8a93a3);
}
.stl-shell--bleed .stl-status { padding: 9px 20px; }
.stl-status[data-connection="disconnected"] { color: var(--warning, #e3a948); font-weight: 600; }
/* the session-invalid state is its own (never "disconnected", never "signed out"): its own colour, and its text */
.stl-status[data-connection="session-invalid"] { color: var(--error, #ec5b6e); font-weight: 600; }

/* ── views ────────────────────────────────────────────────────────────────────────────────────── */
/* [2026-10-30] the view head at the Sentry h1: 18px in the display face, weight 400; 20px below; lede 62ch. */
.stl-view__head { margin-bottom: 20px; }
.stl-view__title { margin: 0 0 4px; font-family: var(--font-display, 'Outfit', sans-serif); font-size: 18px; font-weight: 400; letter-spacing: 0.4px; }
.stl-view__sub { margin: var(--space-lg, 1.5rem) 0 var(--space-sm, 0.5rem); font-size: 1.0625rem; }
.stl-view__lede { margin: 0 0 var(--space-sm, 0.5rem); color: var(--stl-text-muted, #8a93a3); max-width: 62ch; }
.stl-notice__hold { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 10px; }

.stl-readline { margin: 0; font-size: 0.875rem; }
.stl-readline__label { color: var(--stl-text-muted, #8a93a3); }
.stl-readline--ungrounded, .stl-readline[data-stale="1"] { color: var(--warning, #e3a948); font-weight: 600; }
.stl-back { margin: 0 0 var(--space-sm, 0.5rem); }
.stl-link { color: var(--cyan, #4fc6ea); }
.stl-muted, .stl-source { color: var(--stl-text-muted, #8a93a3); }
.stl-unreported { color: var(--stl-text-muted, #8a93a3); font-style: italic; }
.stl-undeclared { color: var(--warning, #e3a948); font-style: italic; }
.stl-empty { color: var(--stl-text-muted, #8a93a3); font-style: italic; }
.stl-count { font-size: 0.875rem; color: var(--stl-text-muted, #8a93a3); }
.stl-signal { color: var(--warning, #e3a948); font-weight: 600; }
.stl-warning { padding: var(--space-xs, 0.25rem) var(--space-sm, 0.5rem); border-left: 3px solid var(--warning, #e3a948); }
.stl-intent { font-variant: small-caps; letter-spacing: 0.02em; }

.stl-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: var(--space-sm, 0.5rem) 0; }
/* [2026-10-30, glass-walk corrective] the Sentry / OP table measures: every cell 10px 12px; the head 11px,
   uppercase, tracked 1px. */
.stl-table th, .stl-table td { padding: 10px 12px; border-bottom: 1px solid var(--border, #2b3445); text-align: left; vertical-align: top; }
/* [T-085] the suite's table head: uppercase, tracked, muted — the estate component language. */
.stl-table thead th { font-weight: 600; color: var(--stl-text-muted, #8a93a3); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
/* [T-085] the suite's row hover — a faint cyan wash; the grouping rows keep their own band. */
.stl-table tbody tr:not(.stl-group):hover { background: var(--bg-accent-subtle, rgba(0, 200, 255, 0.08)); }
.stl-group th { padding-top: var(--space-md, 1rem); font-weight: 600; background: var(--bg-secondary, #171d28); }
.stl-group--unplaced th { color: var(--warning, #e3a948); }
.stl-row--placed th { padding-left: var(--space-lg, 1.5rem); }
.stl-row--host th { font-weight: 600; }

/* [2026-10-30] the defs grid gap 10px 18px; the filters 16px above the table they filter. */
.stl-defs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: var(--space-sm, 0.5rem) 0; }
.stl-defs dt { color: var(--stl-text-muted, #8a93a3); }
.stl-defs dd { margin: 0; }

.stl-filters { display: flex; flex-wrap: wrap; gap: var(--space-md, 1rem); align-items: center; margin-bottom: 16px; }
.stl-filters__note { font-size: 0.8125rem; color: var(--stl-text-muted, #8a93a3); }

/* ── cards [2026-10-30, glass-walk corrective] ───────────────────────────────────────────────────────
   The Sentry / OP card: the raised surface, a 1px line, radius 10, padding 20, 20 below. dom.js puts every
   table, refusal and definition list a view builds on one (table/refusal in a wrapper card; the <dl> is a card
   itself). A table's card scrolls a table wider than the column, never the page. A card inside a card, or inside
   the unit panel (already a card), lies flat: one surface, never a card on a card. */
.stl-card {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  padding: 20px;
  border: 1px solid var(--border, #2b3445);
  border-radius: var(--radius, 10px);
  background: var(--surface, #171d28);
}
.stl-card--table { overflow-x: auto; }
.stl-card > .stl-table { margin: 0; }
.stl-card > .stl-refusal:first-child { margin-top: 0; }
.stl-card .stl-card, .stl-unit .stl-card {
  margin: var(--space-sm, 0.5rem) 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}

/* ── the eight render states (DESIGN-P1U §3) ───────────────────────────────────────────────────── */
.stl-state {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25em;
  padding: 0.0625rem var(--space-sm, 0.5rem);
  border: 2px solid currentColor;
  border-radius: var(--radius-sm, 6px);
}
.stl-state__glyph { font-family: ui-monospace, monospace; font-size: 0.75em; font-weight: 700; letter-spacing: 0.04em; }
.stl-age { color: var(--stl-text-muted, #8a93a3); font-size: 0.875em; }
/* [2026-10-30, the rich-visualization wave M2 — the micro occupancy strip's segment (dom.js microStrip)] A count, not a
   unit's badge: it carries the state modifier below (.stl-state--<token>) but never .stl-state itself, so the guard's
   degrade leaves it to its view. Its base border is set HERE, before the modifiers, so each state's own border family —
   dashed, dotted, double, the 3px weights — overrides it exactly as it does on a badge: colour is never the only channel. */
.stl-micro__seg {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  padding: 0 6px;
  border: 2px solid currentColor;
  border-radius: var(--radius-sm, 6px);
  text-decoration: none;
  font-size: 0.8125rem;
}

.stl-state--observed { border-style: solid; color: var(--mint, #3ccf9a); background: var(--bg-success-subtle, rgba(0, 255, 180, 0.08)); }
.stl-state--unknown_with_age { border-style: dashed; color: var(--warning, #e3a948); }
.stl-state--never_observed { border-style: dotted; color: var(--stl-text-muted, #8a93a3); }
.stl-state--host_down_guest_unknown {
  border-style: double; border-width: 3px; color: var(--error, #ec5b6e);
  background: repeating-linear-gradient(135deg, transparent 0 6px, var(--bg-error-subtle, rgba(255, 68, 102, 0.08)) 6px 12px);
}
.stl-state--expected_not_observed { border-style: solid; border-width: 3px; color: var(--error, #ec5b6e); background: var(--bg-error-subtle, rgba(255, 68, 102, 0.08)); }
.stl-state--not_watchable { border-style: dotted; border-width: 3px; color: var(--stl-text-dim, #a3abb9); }
.stl-state--must_not_read { border-style: solid; color: var(--violet, #9b80ff); }
.stl-state--asserted_awaiting_observation { border-style: dashed; color: var(--cyan, #4fc6ea); }
.stl-state--unrecognised { border-style: dashed; color: var(--error, #ec5b6e); }
.stl-state--disconnected { border-style: dashed; color: var(--warning, #e3a948); }

/* the grounding qualifier [2026-10-04 — T-057 part 2]: the server says a state's watcher half is not
   established (vocab.js GROUNDINGS). Text first (the mark and its sentence); the style is a second
   channel — a dashed warning outline around the state's own border, and the mark set apart. */
.stl-state--ungrounded { outline: 2px dashed var(--warning, #e3a948); outline-offset: 2px; }
.stl-state__grounding { color: var(--warning, #e3a948); font-size: 0.875em; }
.stl-state__grounding-mark { font-family: ui-monospace, monospace; font-weight: 700; letter-spacing: 0.04em; }

/* the unwired-overlay banner (dom.js overlaysBanner): the house banner, inside the view that read it */
.stl-banner--overlay { margin: 0 0 var(--space-md, 1rem); border: 2px dashed var(--warning, #e3a948); border-radius: var(--radius-sm, 6px); font-weight: 400; }
.stl-banner__lead, .stl-banner__note { margin: 0; }
.stl-banner__list { margin: var(--space-xs, 0.25rem) 0; padding-left: 1.25em; } /* [2026-10-30] base.css zeroes list padding; the markers sit inside the box again */
.stl-banner__note { font-size: 0.875rem; }

/* must not read — the posture badge: deliberate, correct, intended — never the cannot-read family */
.stl-posture--sealed {
  display: inline-block;
  padding: 0.0625rem var(--space-sm, 0.5rem);
  border: 2px solid var(--violet, #9b80ff);
  border-radius: var(--radius-md, 6px);
  color: var(--violet, #9b80ff);
  font-weight: 600;
}

/* asserted — always beside the observed column, labelled, never alone */
.stl-asserted { display: inline-flex; flex-wrap: wrap; gap: 0.25em; margin-left: 0.25em; }
.stl-asserted__chip { padding: 0 var(--space-xs, 0.25rem); border: 1px dashed var(--cyan, #4fc6ea); border-radius: var(--radius-sm, 6px); font-size: 0.8125em; }

/* ── refusals and the unwired state ─────────────────────────────────────────────────────────────── */
/* [2026-10-30, glass-walk corrective] the refusal is the NORMAL state of most views now, so it takes Sentia's
   .empty-artifact measures: 16px above, 14px 16px, a 2px rule, radius 0 6px 6px 0 — on its card (dom.js). */
/* [2026-10-30, glass-walk corrective polish] overflow-wrap: the refusal lists carry the server's own
   condition tokens verbatim (e.g. serving_process_holds_no_proposal_store) — unbreakable snake_case words
   that clipped past the card edge on the overview's narrow cards. `anywhere` lets ONLY an overlong word
   break; prose wrapping is unchanged. Seen on glass at the corrective wave's preview walk. */
.stl-refusal { margin: 16px 0 0; padding: 14px 16px; border-left: 2px solid var(--warning, #e3a948); border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0; background: var(--bg-warning-subtle, rgba(255, 170, 48, 0.08)); overflow-wrap: anywhere; }
.stl-refusal--unwired { border-left-color: var(--stl-text-muted, #8a93a3); background: var(--bg-tertiary, #1e2533); }
.stl-refusal__lead { margin: 0 0 var(--space-xs, 0.25rem); }
.stl-refusal__list { margin: var(--space-xs, 0.25rem) 0; padding-left: 1.25em; }
.stl-refusal__note { margin: var(--space-xs, 0.25rem) 0 0; font-size: 0.8125rem; color: var(--stl-text-muted, #8a93a3); }

/* ── alerts, digest, coverage ───────────────────────────────────────────────────────────────────── */
.stl-undelivered { color: var(--error, #ec5b6e); }
.stl-row--undelivered { outline: 2px dashed var(--error, #ec5b6e); outline-offset: -2px; }
.stl-arrival { margin: var(--space-sm, 0.5rem) 0; }
.stl-arrival--signal { padding: var(--space-xs, 0.25rem) var(--space-sm, 0.5rem); border-left: 4px solid var(--warning, #e3a948); }
.stl-digest__section { margin: var(--space-md, 1rem) 0; padding-left: var(--space-sm, 0.5rem); border-left: 2px solid var(--border, #2b3445); }
.stl-digest__section--unknown { border-left: 3px dashed var(--warning, #e3a948); }
.stl-digest__title { margin: 0 0 var(--space-xs, 0.25rem); font-size: 1rem; }
.stl-digest__body { margin: 0; white-space: pre-wrap; font-size: 0.8125rem; }
.stl-unknown-mark { color: var(--warning, #e3a948); font-weight: 600; }
.stl-blind { margin: 0 0 var(--space-sm, 0.5rem); }
.stl-aged { margin: 0; padding-left: var(--space-md, 1rem); }
.stl-aged__unit[data-stale="1"] { color: var(--warning, #e3a948); }
.stl-aged__mark { font-weight: 600; }
.stl-blind__class { margin: var(--space-sm, 0.5rem) 0 var(--space-xs, 0.25rem); font-size: 0.9375rem; }
.stl-coverage--full th { color: var(--mint, #3ccf9a); }
.stl-coverage--uncountable th, .stl-coverage--partial th { color: var(--warning, #e3a948); }

/* ── the unit detail panel (shared with the map) ────────────────────────────────────────────────── */
/* [T-085] the shared unit-detail panel as a suite card surface: raised --surface, 1px line, soft shadow. */
/* [2026-10-30] at the card's measures: radius 10, padding 20 (it is a card itself; the cards inside it lie flat). */
.stl-unit { padding: 20px; border: 1px solid var(--border, #2b3445); border-radius: var(--radius, 10px); background: var(--bg-secondary, #171d28); box-shadow: var(--card-shadow); }
.stl-unit__name { margin: 0 0 var(--space-sm, 0.5rem); }
.stl-unit__sub { margin: var(--space-md, 1rem) 0 var(--space-xs, 0.25rem); }

/* ── birth ─────────────────────────────────────────────────────────────────────────────────────── */
.stl-entries { display: flex; flex-wrap: wrap; gap: var(--space-md, 1rem); margin: var(--space-sm, 0.5rem) 0; }
.stl-entry { padding: var(--space-xs, 0.25rem) var(--space-md, 1rem); border: 1px solid var(--cyan, #4fc6ea); border-radius: var(--radius-md, 6px); color: inherit; text-decoration: none; }
.stl-entry--heavy { border: 2px solid var(--error, #ec5b6e); color: var(--error, #ec5b6e); font-weight: 600; }
.stl-attended { margin: var(--space-lg, 1.5rem) 0 0; padding: var(--space-sm, 0.5rem) var(--space-md, 1rem); border: 1px dashed var(--border-hover, #3a4558); border-radius: var(--radius-md, 6px); }
.stl-attended__title { margin: 0 0 var(--space-xs, 0.25rem); font-size: 0.9375rem; }
.stl-names { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-sm, 0.5rem); margin: var(--space-md, 1rem) 0; }
.stl-names__cell { padding: var(--space-sm, 0.5rem); border: 1px solid var(--border, #2b3445); border-radius: var(--radius-sm, 6px); background: var(--bg-secondary, #171d28); }
.stl-names__label { margin: 0 0 var(--space-xs, 0.25rem); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--stl-text-muted, #8a93a3); }
.stl-defect { color: var(--error, #ec5b6e); }
.stl-defects__list { margin: var(--space-xs, 0.25rem) 0; padding-left: 1.25em; }
.stl-verdict { font-family: ui-monospace, monospace; }
.stl-verdict--pass { color: var(--mint, #3ccf9a); }
.stl-verdict--fail, .stl-verdict--unknown { color: var(--error, #ec5b6e); }
.stl-verdict--measured, .stl-verdict--noinstrument { color: var(--warning, #e3a948); }
.stl-mark--assumed { color: var(--warning, #e3a948); }

.stl-form { max-width: 44rem; margin: var(--space-md, 1rem) 0; }
.stl-field { margin: 0 0 var(--space-sm, 0.5rem); }
.stl-field__label { display: block; font-weight: 600; margin-bottom: 0.125rem; }
.stl-field__hint { margin: 0.125rem 0 0; font-size: 0.8125rem; color: var(--stl-text-muted, #8a93a3); }
.stl-field--check { display: flex; align-items: baseline; gap: 0.25em; }
/* [2026-10-30] inputs at base.css's own 8px 12px (this rule had overridden it smaller). */
.stl-form input[type="text"], .stl-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--border-hover, #3a4558);
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-tertiary, #1e2533);
  color: var(--text, #e6e9ef);
  font: inherit;
}
.stl-form input[readonly] { border-style: dashed; color: var(--stl-text-dim, #a3abb9); cursor: default; }
/* [2026-10-30] base.css zeroes every padding, so the fieldset's fields sat flush on its line: it regains an inset. */
.stl-form fieldset { margin: var(--space-sm, 0.5rem) 0; padding: 14px 16px; border: 1px solid var(--border, #2b3445); border-radius: var(--radius-sm, 6px); }
.stl-form legend { padding: 0 6px; }
/* [2026-10-30] the action at Sentia's .btn padding, 8px 16px. */
.stl-action {
  padding: 8px 16px;
  border: 1px solid var(--cyan, #4fc6ea);
  border-radius: var(--radius-md, 6px);
  background: var(--gradient-btn, #1e2533);
  color: var(--text, #e6e9ef);
  font: inherit;
  cursor: pointer;
}
.stl-action[disabled] { opacity: 0.5; cursor: not-allowed; }
.stl-action--quiet { border-style: dashed; background: transparent; }
.stl-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid var(--border-hover, #3a4558);
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-tertiary, #1e2533);
  color: var(--text, #e6e9ef);
  font: inherit;
}

/* ── the admin-pool definition surface [T-087, 2026-10-28 — DR-030 R11/R12; SIGHT-FIRST] ────────────
   The supply-side pool-definition surface (js/views/pools.js) writes NOTHING — the H-2 enforcement duty
   (SENTRY-LOADOUT-REQUIREMENTS-P2 §6 DQ-3). The write-gate notice and the custody-reference wrapper read
   as a DELIBERATE posture — violet, the must-not-read / archive family — never the fault/warning family,
   because sight-first is correct and intended, not a failure to write. */
.stl-sight {
  margin: var(--space-sm, 0.5rem) 0 var(--space-md, 1rem);
  padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
  border-left: 4px solid var(--violet, #9b80ff);
  background: rgba(120, 80, 255, 0.08);
  border-radius: var(--radius-sm, 6px);
}
.stl-sight__lead { margin: 0 0 var(--space-xs, 0.25rem); }
.stl-sight__note { margin: 0; font-size: 0.875rem; }
.stl-pools { margin: var(--space-md, 1rem) 0; }
.stl-poolkind[hidden] { display: none; }
.stl-custody {
  margin: var(--space-sm, 0.5rem) 0;
  padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
  border-left: 3px solid var(--violet, #9b80ff);
  background: rgba(120, 80, 255, 0.06);
  border-radius: var(--radius-sm, 6px);
}
.stl-gatehint--pending { color: var(--violet, #9b80ff); font-weight: 600; }

/* destroy → archive: visually heavyweight, everywhere it appears */
.stl-view--heavy { border-top: 4px solid var(--error, #ec5b6e); padding-top: var(--space-sm, 0.5rem); }
.stl-form--heavy { padding: var(--space-md, 1rem); border: 2px solid var(--error, #ec5b6e); border-radius: var(--radius-md, 6px); background: var(--bg-error-subtle, rgba(255, 68, 102, 0.08)); }
.stl-action--heavy { border: 2px solid var(--error, #ec5b6e); background: var(--bg-error-subtle, rgba(255, 68, 102, 0.08)); color: var(--error, #ec5b6e); font-weight: 700; }
.stl-banner-inline--heavy { padding: var(--space-sm, 0.5rem) var(--space-md, 1rem); border: 2px solid var(--error, #ec5b6e); font-weight: 700; }
.stl-archive { margin: var(--space-sm, 0.5rem) 0; padding: var(--space-sm, 0.5rem) var(--space-md, 1rem); border-left: 4px solid var(--violet, #9b80ff); }
.stl-row--heavy th { color: var(--error, #ec5b6e); }
.stl-approve--heavy { padding-top: var(--space-sm, 0.5rem); }
.stl-gatehint { font-weight: 600; }

/* ── the flow layer [2026-10-30, glass-walk corrective A2 — the user-workflow layer] ───────────────────────────────
   The parts the flow layer adds, in the estate's own measures and the shared fallback palette (every colour fallback
   below is the palette's value, token for token with map.css): the home mark (the vendored .app-home, wrapped round the
   inline mark by js/router.js after the handshake, so it is sized by the .so-mark rule above), the "?" control and its
   dialog (Sage's context-help pattern), the breadcrumb (Sentry's Group › Page › Detail strip), the leading empty state
   (dom.leads, the Sentia-style next move), the coverage line that sits beside an empty alert list, the Overview's
   attention list and status cards, the unit hub's sections, and the map panel's "Open unit →". */
.stl-header .app-home { display: inline-flex; align-items: center; }
.stl-header .app-home:focus-visible { outline: 2px solid var(--border-focus, #6ea8ff); outline-offset: 3px; border-radius: var(--radius-sm, 6px); }

/* the "?" control: a round header button beside the sign-out control, and its dialog over a dimmed backdrop */
.stl-help-btn {
  width: 28px;
  height: 28px;
  margin: 0 8px;
  padding: 0;
  border: 1px solid var(--border-hover, #3a4558);
  border-radius: 50%;
  background: transparent;
  color: var(--text, #e6e9ef);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.stl-help-btn:hover, .stl-help-btn:focus-visible { border-color: var(--cyan, #4fc6ea); color: var(--cyan, #4fc6ea); }
.stl-help { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: center; padding: 64px 20px; background: rgba(6, 9, 14, 0.72); }
.stl-help[hidden] { display: none; }
.stl-help__panel {
  width: 100%;
  max-width: 44rem;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--border, #2b3445);
  border-radius: var(--radius, 10px);
  background: var(--surface, #171d28);
}
.stl-help__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.stl-help__title { margin: 0; font-family: var(--font-display, 'Outfit', sans-serif); font-size: 18px; font-weight: 400; }
.stl-help__close { padding: 0 8px; border: 0; background: transparent; color: var(--stl-text-muted, #8a93a3); font: inherit; font-size: 1.25rem; cursor: pointer; }
.stl-help__close:hover, .stl-help__close:focus-visible { color: var(--text, #e6e9ef); }
.stl-help__lead { margin: 0 0 12px; }
.stl-help__sub { margin: 16px 0 8px; font-size: 0.9375rem; }
.stl-help__jobs, .stl-help__rules { margin: 0; padding-left: 1.25em; }
.stl-help__job { margin: 0 0 10px; }
.stl-help__job--here { padding-left: 8px; border-left: 2px solid var(--cyan, #4fc6ea); }
.stl-help__question, .stl-help__where, .stl-help__what { margin: 0; }
.stl-help__here { color: var(--cyan, #4fc6ea); font-size: 0.875rem; }
.stl-help__what { color: var(--stl-text-muted, #8a93a3); font-size: 0.875rem; }

/* the breadcrumb: Section › Page › Detail, the last item the current page */
.stl-crumbs { margin: 0 0 12px; font-size: 0.875rem; }
.stl-crumbs__list { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.stl-crumbs__item { color: var(--stl-text-muted, #8a93a3); }
.stl-crumbs__item + .stl-crumbs__item::before { content: '›'; padding: 0 8px; color: var(--stl-text-muted, #8a93a3); }
.stl-crumbs__item [aria-current="page"] { color: var(--text, #e6e9ef); }

/* the leading empty state (dom.leads): what fills this place, the act that brings it, the moves open from here */
.stl-leads { margin: 8px 0 0; padding: 10px 14px; border-left: 2px solid var(--cyan, #4fc6ea); border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0; background: var(--bg-accent-subtle, rgba(0, 200, 255, 0.08)); font-size: 0.875rem; }
.stl-leads p { margin: 0 0 4px; }
.stl-leads p:last-child { margin-bottom: 0; }
.stl-leads__label { color: var(--stl-text-muted, #8a93a3); font-weight: 600; }
.stl-leads__actions .stl-entry { display: inline-block; margin: 2px 0; }
.stl-leads__note { color: var(--stl-text-muted, #8a93a3); }
.stl-card--refusal > .stl-leads { margin-top: 12px; }

/* the coverage verdict beside an empty alert list: its own line, never merged into the list's */
.stl-beside { margin: 8px 0 0; padding: 8px 12px; border: 1px dashed var(--border-hover, #3a4558); border-radius: var(--radius-sm, 6px); font-size: 0.875rem; }
.stl-beside__label { color: var(--stl-text-muted, #8a93a3); }

/* the Overview: the attention list, then the status cards on a wrapping grid */
.stl-attention__title, .stl-ocard__title { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 600; }
.stl-attention__lede { margin: 0 0 12px; color: var(--stl-text-muted, #8a93a3); font-size: 0.875rem; max-width: 62ch; }
.stl-attention__list { margin: 0; padding: 0; list-style: none; }
.stl-attention__item { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--border, #2b3445); }
.stl-attention__item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.stl-attention__line, .stl-attention__door { margin: 0 0 4px; }
.stl-attention__sub { margin: 4px 0; padding-left: 1.25em; }
.stl-ocards { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 20px; align-items: start; }
.stl-ocards > .stl-card { margin: 0; }
.stl-ocard__door { color: var(--text, #e6e9ef); text-decoration: none; }
.stl-ocard__door:hover, .stl-ocard__door:focus-visible { color: var(--cyan, #4fc6ea); }
.stl-ocard__stat { margin: 4px 0; }
.stl-ocard__label { color: var(--stl-text-muted, #8a93a3); }
.stl-ocard__list { margin: 4px 0 8px; padding-left: 1.25em; }
.stl-ocard__names { margin: 4px 0; font-size: 0.875rem; }
.stl-ocard__doors { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border, #2b3445); font-size: 0.875rem; }
.stl-ocard__task { margin: 10px 0 0; }
.stl-ov-part__stale { margin: 10px 0 0; color: var(--warning, #e3a948); font-weight: 600; font-size: 0.875rem; }

/* the unit hub: the toolbar, its sections, its gated entries */
.stl-hub__toolbar { margin: 0 0 16px; }
.stl-hub__minor { margin: 12px 0 4px; font-size: 0.9375rem; }
.stl-hub__minor:first-of-type { margin-top: 0; }
.stl-hub__list { margin: 4px 0; padding-left: 1.25em; }
.stl-hub__door { margin: 4px 0 0; font-size: 0.875rem; }
.stl-hub__entry { margin: 4px 0 8px; }
.stl-hub__section { margin-top: 20px; }

/* [2026-10-30, the rich-visualization wave M2 — the duality's micro-mounts and hover sync]
   The micro occupancy strip (dom.js microStrip): its segments in a wrapping row beside their label; its total in weight.
   The context ribbon (unit.js): the siblings as a plain list, each a door with its badge.
   The sync (js/sync.js, .is-synced): a matched row and its group header take the row hover's own faint cyan wash, and
   every matched element the focus outline — a second channel beside the wash; nothing animates. */
.stl-micro { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.stl-micro__total { font-weight: 600; }
.stl-ribbon { list-style: none; padding: 0; }
.is-synced { outline: 2px solid var(--border-focus, #6ea8ff); outline-offset: 1px; }
.stl-table tr.is-synced, .stl-table tr.stl-group.is-synced th { background: var(--bg-accent-subtle, rgba(0, 200, 255, 0.08)); }

/* the map panel's way into the unit's own hub */
.sentinel-map .map-detail-open { margin: 4px 0 8px; }

/* [T-086] The shell is a single column now (the former left rail is the header tabbar); the tabbar and the
   sub-nav both flex-wrap on narrow widths, so no grid reflow is owed. Reduced motion is base.css's globally. */
@media (prefers-reduced-motion: reduce) {
  .stl-subnav__link { transition: none; }
}

/* [2026-10-30, glass-walk corrective] The fixed strip wraps (flex-wrap, Sentia's own), and its connected line is long.
   So the reservation follows the strip's height as the window narrows, as Sentia's small-screen query does: two
   lines under 1100px, three under 640px. The shell's bottom padding always carries the strip's full height. */
@media (max-width: 1100px) {
  .stl-shell { --footer-h: 58px; }
}
@media (max-width: 640px) {
  .stl-shell { --footer-h: 78px; }
}
