/* anucore.com/company/: prototype E's stylesheet and the page layer company-page.css (studio/website-io/design/2026-10-07-fractal-field/live). Built by package.py; never edit here. */
/*
  Company view, prototype E: the lineage map. 2026-10-13.
  The reference's five columns with every node and every handoff of the model, in the site's tree
  gesture: organic branches into the teams, one plane of light the requests cross straight, straight
  lanes to the people who decide, the save, the receipt and the leaders' screens. Layered density:
  names at 13 px, one chip line of data at 12 px, labels on lines only when lit. Tokens and floors are
  the live page's (legible.css, identity.css): no text under 12 px, mono only for ids, uppercase only
  for the three signature words. No style attributes in markup: every computed position is written
  through the CSSOM, so the page holds under the review CSP (style-src 'self'). Glass on windows only.
*/

@font-face { font-family: 'Plex Sans'; src: url('/fonts/ibm-plex-sans-var-latin.woff2') format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'Source Serif'; src: url('/fonts/source-serif-4-var-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #080d10; --surface: #0d171c; --graphite: #152126; --line: #2a393e;
  --text: #dce3df; --muted: #b9c7c6; --teal: #82b5ab; --amber: #d3a76e; --clay: #db9d8c;
  --paper: #f7f8f6; --paper-ink: #182a21; --paper-muted: #576b5e; --paper-line: #cfd8d3; --paper-link: #2f6b60;
  --quiet: #93a5a5; --dim: #7c8b8a;
  --edge: rgba(220, 227, 223, .11); --edge-lit: rgba(220, 227, 223, .28); --hair: rgba(220, 227, 223, .08);
  --sans: 'Plex Sans', 'Segoe UI', system-ui, sans-serif; --serif: 'Source Serif', Georgia, serif; --mono: 'Plex Mono', Consolas, monospace;
  --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-in: cubic-bezier(.55, .055, .675, .19); --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
  /* one light: a soft key from the upper left */
  background: radial-gradient(1400px 900px at 2% -18%, rgba(220, 227, 223, .065), transparent 60%), radial-gradient(900px 700px at 46% 55%, rgba(130, 181, 171, .028), transparent 70%), var(--ink);
}
p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
h2:focus, h2:focus-visible, h2[tabindex]:focus-visible, .map:focus, .map:focus-visible { outline: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#announce { top: 0; left: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 90; background: var(--text); color: var(--ink); padding: 10px 14px; font-size: 15px; }
.skip:focus { top: 12px; }
.mark, .glyph, .n-glyph { fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: round; flex: 0 0 auto; overflow: visible; stroke-width: 1.5; }
.id { font-family: var(--mono); font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.fig { white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
abbr { text-decoration: none; font-size: 12px; letter-spacing: .03em; color: var(--muted); }
.tone-amber { color: var(--amber); }
.tone-clay { color: var(--clay); }

/* ------------------------------------------------------------ the stage: one viewport, nothing moves at rest */
.shell { container: shell / inline-size; }
.stage {
  position: relative; isolation: isolate; max-width: 1760px; margin: 0 auto;
  height: 100vh; height: 100dvh; min-height: 700px;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; padding: 12px 24px 6px;
}
.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.title-block { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.2; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); opacity: .8; }
.title-row { display: flex; align-items: center; gap: 6px 14px; }
h1 { font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -.022em; white-space: nowrap; }
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -.01em; }
.chip { font-size: 12px; line-height: 1; color: var(--muted); border: 1px solid rgba(220, 227, 223, .22); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.scope { margin-top: 3px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.controls { display: flex; align-items: center; gap: 16px; }
.layers { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(220, 227, 223, .03); border: 1px solid var(--hair); }
.layers-k { font-size: 12px; color: var(--quiet); padding: 0 8px 0 7px; }
.layers button { font-size: 13px; color: var(--muted); padding: 5px 11px 6px; border-radius: 7px; border: 1px solid transparent; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.layers button:hover { color: var(--text); background: rgba(220, 227, 223, .04); }
.layers button[aria-pressed="true"] { color: var(--text); background: rgba(220, 227, 223, .075); border-color: var(--edge-lit); }
.trace-ctl { position: relative; }
.trace-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 13px 8px; border-radius: 9px; border: 1px solid rgba(130, 181, 171, .42); color: var(--text); background: rgba(130, 181, 171, .06); transition: background .2s, border-color .2s; }
.trace-btn:hover, .trace-btn[aria-expanded="true"] { background: rgba(130, 181, 171, .12); border-color: rgba(130, 181, 171, .7); }
.trace-btn .mark { width: 16px; height: 16px; color: var(--teal); }
.trace-list { position: absolute; z-index: 60; right: 0; top: calc(100% + 8px); width: 372px; padding: 6px; border-radius: 12px;
  background: rgba(13, 22, 27, .96); border: 1px solid var(--edge); border-top-color: rgba(130, 181, 171, .3); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9);
  display: grid; grid-template-columns: 1fr; }
.trace-list button { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 6px 9px; border-radius: 7px; font-size: 13px; }
.trace-list button:hover, .trace-list button:focus-visible, .trace-list button[aria-selected="true"] { background: rgba(220, 227, 223, .06); }
.trace-list .id { color: var(--teal); }
.tl-src { font-size: 12px; color: var(--quiet); white-space: nowrap; }

/* the pulse: five answers in one thin band */
.pulse { display: flex; align-items: stretch; margin-top: 10px; border-top: 1px solid var(--line); }
.pulse-item { position: relative; flex: 1 1 0; display: flex; align-items: baseline; gap: 10px; padding: 6px 14px 5px 0; min-width: 0; }
.pulse-item + .pulse-item { padding-left: 14px; border-left: 1px solid var(--hair); }
.pulse-item::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text); opacity: 0; transition: opacity .2s; }
.pulse-item:hover::before { opacity: .4; }
.pulse-item[aria-pressed="true"]::before { opacity: .95; }
.p-label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.p-label .mark { width: 13px; height: 13px; }
.pulse-item[data-tone="amber"] .p-label .mark { color: var(--amber); }
.pulse-item[data-tone="clay"] .p-label .mark { color: var(--clay); }
.p-value { display: flex; align-items: baseline; gap: 5px; margin-left: auto; font-size: 21px; line-height: 1.15; font-weight: 300; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-value .cur { font-size: 12px; font-weight: 400; letter-spacing: .03em; color: var(--muted); }
.pulse-item[data-tone="amber"] .p-value { color: var(--amber); }
.pulse-item[data-tone="clay"] .p-value { color: var(--clay); }
.p-detail { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: max-content; max-width: 300px; padding: 8px 11px 9px;
  font-size: 13px; line-height: 1.45; color: var(--muted); border-radius: 8px; background: #101b20; border: 1px solid var(--edge); border-top-color: rgba(130, 181, 171, .32);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .85); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .24s var(--ease-out), transform .24s var(--ease-out); }
.pulse-item[data-id="exceptions"] .p-detail, .pulse-item[data-id="waiting"] .p-detail { left: auto; right: 0; }
.pulse-item[aria-pressed="true"] .p-detail { opacity: 1; transform: none; }

/* ------------------------------------------------------------ the map */
.map { --mode: map; --row: 21px; position: relative; min-height: 0; margin: 8px 0 4px; overflow: clip; container: map / inline-size; touch-action: pan-y; }
.map.is-zoomed { cursor: grab; touch-action: none; }
.map.is-dragging { cursor: grabbing; }
.world { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .22s var(--ease-out); }
.map.is-dragging .world { transition: none; }
.edges, .over { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.edges { z-index: 1; }
.gl { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.cols { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: grid; grid-template-rows: minmax(0, 1fr);
  grid-template-columns: 160px minmax(40px, 2.3fr) 330px minmax(96px, 4.1fr) 44px minmax(26px, 1.25fr) 164px minmax(34px, 1.5fr) 388px; }
.over { z-index: 4; pointer-events: none; }
.lightsvg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 6; pointer-events: none; }
.elabels { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hud { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.col { position: relative; display: flex; flex-direction: column; min-height: 0; }
.col > * { pointer-events: auto; }
.col-src { grid-column: 1; } .col-fn { grid-column: 3; } .col-rules { grid-column: 5; } .col-gates { grid-column: 7; } .col-seen { grid-column: 9; }
.col-h { display: flex; align-items: baseline; gap: 8px; height: 22px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .005em; white-space: nowrap; transition: opacity .2s; }
.col-n { font-size: 12px; font-weight: 400; color: var(--quiet); font-variant-numeric: tabular-nums; }
.col-src .col-h { justify-content: flex-end; }
.col-rules .col-h { justify-content: center; }
.col-body { position: relative; flex: 1 1 auto; min-height: 0; }
.n-chip .told { color: #b6d9d1; }
.quiet-dot { color: var(--line); }
.map.is-quiet .node.is-told .n-chip .told { color: #b6d9d1; }
.quiet-dot { color: var(--line); }
.node.is-told.k-gate .n-chip { display: block; }

/* nodes: names at 13 px, one chip line of data at 12 px, light from the upper left */
.node { position: relative; display: block; color: var(--text); font-size: 13px; line-height: 1.25; transition: color .18s, opacity .18s, background .18s; }
.n-name { font-weight: 450; letter-spacing: -.002em; white-space: nowrap; }
.n-name abbr { margin-left: 4px; }
.n-chip { display: block; font-size: 12px; line-height: 1.3; color: var(--quiet); white-space: nowrap; transition: color .18s; }
.n-chip .id { color: #a7c5be; font-size: 12px; }
.n-chip .v { color: var(--quiet); font-size: 12px; }
.node:hover .n-name, .node.is-focus .n-name { color: #fff; }

/* sources: flush right toward their lines */
.col-src .col-body { display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0 52px; }
.k-source { text-align: right; padding: 2px 0 2px 6px; border-radius: 6px; }
.k-source .n-text { display: block; }
.k-source .n-chip { margin-top: 1px; }

/* teams: quiet districts, one row each, the chip flush right where the request leaves */
.col-fn .col-body { display: flex; flex-direction: column; justify-content: space-between; padding: 0 0 46px; }
.district { position: relative; border-radius: 10px; padding: 0 0 2px;
  background: linear-gradient(180deg, rgba(21, 33, 38, .55), rgba(13, 23, 28, .25)); box-shadow: inset 1px 1px 0 rgba(220, 227, 223, .05); transition: background .2s, box-shadow .2s; }
.district.is-lit { background: linear-gradient(180deg, rgba(25, 40, 45, .7), rgba(13, 23, 28, .32)); box-shadow: inset 1px 1px 0 rgba(220, 227, 223, .09); }
.d-head { display: flex; align-items: center; gap: 7px; width: 100%; height: 20px; padding: 0 8px 0 9px; font-size: 12px; color: var(--muted); border-radius: 10px 10px 0 0; }
.d-head .glyph { width: 14px; height: 14px; color: var(--teal); opacity: .9; }
.d-name { font-weight: 500; color: var(--text); font-size: 12.5px; }
.d-state { color: var(--quiet); font-size: 12px; }
.d-state[data-state="held"] { color: var(--clay); }
.d-state[data-state="watch"] { color: var(--amber); }
.d-marks { display: inline-flex; gap: 8px; margin-left: auto; }
.d-mark { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-variant-numeric: tabular-nums; }
.d-mark .mark { width: 11px; height: 11px; }
.d-head:hover .d-name { color: #fff; }
.d-head[aria-expanded="true"] { background: rgba(130, 181, 171, .08); }
.k-department { display: flex; align-items: center; gap: 10px; width: 100%; height: var(--row); padding: 0 8px 0 13px; border-radius: 6px; }
.k-department .n-name { flex: 0 1 auto; overflow: hidden; text-overflow: clip; }
.k-department .n-chip { margin-left: auto; flex: 0 0 auto; text-align: right; }
.k-department:hover, .k-department.is-focus { background: rgba(220, 227, 223, .045); }

/* the rules: a plane of light the lines cross */
.col-rules .col-body { display: flex; }
.k-boundary { flex: 1 1 auto; width: 100%; border-radius: 22px; }
.plane-band { position: absolute; left: 50%; top: 4px; bottom: 26px; width: 44px; margin-left: -22px; border-radius: 22px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(220, 227, 223, .035) 24%, rgba(220, 227, 223, .1) 50%, rgba(220, 227, 223, .035) 76%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  transition: background .25s; }
.plane-band::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(240, 245, 242, .85) 28%, rgba(240, 245, 242, .85) 72%, transparent); }
.plane-band::before { content: ''; position: absolute; left: 50%; top: 18%; bottom: 18%; width: 30px; margin-left: -15px; border-radius: 30px; background: radial-gradient(closest-side, rgba(220, 227, 223, .30), transparent); }
.k-boundary:hover .plane-band, .k-boundary.is-lit .plane-band, .map.is-tracing .k-boundary.is-lit .plane-band { background: linear-gradient(90deg, transparent, rgba(220, 227, 223, .04) 24%, rgba(220, 227, 223, .12) 50%, rgba(220, 227, 223, .04) 76%, transparent); }
.plane-tag { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; white-space: nowrap; pointer-events: none; }
.plane-ver { font-size: 12px; color: var(--text); border: 1px solid rgba(220, 227, 223, .26); border-radius: 999px; padding: 3px 10px; background: rgba(8, 13, 16, .86); }
.plane-straight { font-size: 12px; color: var(--muted); background: rgba(8, 13, 16, .86); padding: 1px 6px; border-radius: 4px; }

/* people decide: amber diamonds */
.col-gates .col-body { display: flex; flex-direction: column; justify-content: center; gap: 27px; padding-bottom: 0; }
.k-gate { display: flex; align-items: center; gap: 11px; padding: 3px 4px 3px 0; border-radius: 8px; }
.g-diamond { position: relative; flex: 0 0 auto; width: 13px; height: 13px; margin-left: 2px; transform: rotate(45deg); border: 1.4px solid var(--amber); background: rgba(211, 167, 110, .06); transition: background .2s, box-shadow .2s; }
.k-gate[data-waiting="true"] .g-diamond { background: rgba(211, 167, 110, .3); box-shadow: 0 0 10px rgba(211, 167, 110, .28); }
.k-gate[data-state="declined"] .g-diamond { border-color: var(--clay); background: rgba(219, 157, 140, .25); box-shadow: none; }
.k-gate .n-text { display: block; min-width: 0; flex: 1 1 auto; }
.g-seat { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.g-count { margin-left: auto; color: var(--amber); font-size: 13px; font-variant-numeric: tabular-nums; }
.k-gate .n-chip { display: block; }
.k-gate:hover .g-diamond { box-shadow: 0 0 14px rgba(211, 167, 110, .45); }

/* saved and seen */
.col-seen .col-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 28px; }
/* the save sits exactly level with the rules' straight line; the receipt under it; suggestions near the floor */
.seen-a { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); }
.k-execution, .k-record, .k-learning { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 6px 8px 7px; border-radius: 9px; }
.k-execution { grid-row: 2; background: linear-gradient(180deg, rgba(130, 181, 171, .13), rgba(130, 181, 171, .04)); box-shadow: inset 1px 1px 0 rgba(130, 181, 171, .3), 0 0 0 1px rgba(130, 181, 171, .16), 0 0 26px -8px rgba(130, 181, 171, .3); }
.k-record { grid-row: 3; align-self: start; margin-top: 20px; background: linear-gradient(180deg, rgba(247, 248, 246, .1), rgba(247, 248, 246, .025)); box-shadow: inset 1px 1px 0 rgba(247, 248, 246, .24), 0 0 0 1px rgba(247, 248, 246, .12); }
.k-learning { position: absolute; left: 0; bottom: 36px; box-shadow: 0 0 0 1px rgba(130, 181, 171, .18); }
.n-glyph { width: 16px; height: 16px; margin-top: 1px; color: var(--teal); }
.k-record .n-glyph { color: var(--paper); }
.k-execution .n-name, .k-record .n-name, .k-learning .n-name { white-space: normal; display: block; }
.k-execution .n-chip, .k-record .n-chip, .k-learning .n-chip { white-space: normal; min-height: 31px; }
.seen-b { display: flex; flex-direction: column; min-height: 0; padding-bottom: 6px; }
.queue h3 { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--text); }
.queue h3 small { font-size: 12px; font-weight: 400; color: var(--quiet); }
.queue ol { margin-top: 3px; }
.q-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 18px; column-gap: 8px; align-items: baseline; width: 100%; padding: 1px 4px; border-radius: 6px; font-size: 13px; line-height: 1.25; }
.q-row .mark { width: 11px; height: 11px; color: var(--amber); align-self: center; }
.q-seat { line-height: 1.2; }
.q-count { color: var(--amber); font-variant-numeric: tabular-nums; }
.q-age { font-size: 12px; color: var(--quiet); white-space: nowrap; }
.q-count { text-align: right; }
.q-row:hover { background: rgba(211, 167, 110, .06); }
.q-row[data-count="0"] .q-count { color: var(--quiet); }
.leaders { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; margin-top: 10px; }
.leader { position: relative; }
.k-executive { display: block; width: 100%; padding: 4px 28px 5px 9px; border-radius: 9px; background: linear-gradient(180deg, rgba(21, 33, 38, .6), rgba(13, 23, 28, .3)); box-shadow: inset 1px 1px 0 rgba(220, 227, 223, .06); }
.k-executive .n-name { font-size: 13px; white-space: normal; }
.l-line { display: block; font-size: 12px; line-height: 1.25; color: var(--muted); margin-top: 1px; }
.k-executive .n-chip { margin-top: 1px; white-space: normal; }
.lens-toggle { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--quiet); }
.lens-toggle .mark { width: 15px; height: 15px; }
.lens-toggle:hover { color: var(--text); background: rgba(220, 227, 223, .06); }
.lens-toggle[aria-pressed="true"] { color: var(--teal); background: rgba(130, 181, 171, .1); box-shadow: inset 0 0 0 1px rgba(130, 181, 171, .55); }
.leader.is-lens .k-executive { box-shadow: inset 0 0 0 1px rgba(130, 181, 171, .55); }

/* the lit state: what is related lights, the rest goes quiet; labels never under 3:1 */
.map.is-quiet .node:not(.is-lit), .map.is-quiet .d-head { color: var(--dim); }
.map.is-quiet .node:not(.is-lit) .n-chip, .map.is-quiet .node:not(.is-lit) .l-line, .map.is-quiet .node:not(.is-lit) .g-seat, .map.is-quiet .node:not(.is-lit) abbr { color: var(--dim); }
.map.is-quiet .node:not(.is-lit) .n-chip .id { color: var(--dim); }
.map.is-quiet .node:not(.is-lit) .g-diamond { opacity: .45; }
.map.is-quiet .node.is-lit .n-name { color: #fff; }
.map.is-quiet .node.is-lit .n-chip { color: var(--muted); }
.map.is-soft .node:not(.is-lit) { color: #a3b1ae; }
.map.is-soft .node:not(.is-lit) .n-chip { color: var(--dim); }
.map.is-quiet .district:not(.is-lit) .d-head .glyph { opacity: .45; }

/* handoffs: one stroke treatment per kind, inside the four colour roles */
.e { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .18s, stroke-width .18s; }
.e.e-data { stroke: var(--teal); stroke-width: 1; opacity: .24; }
.e.e-request { stroke: url(#gather); stroke-width: 1.05; opacity: .42; }
.e.e-data.r-branch { stroke: url(#branch); opacity: .3; }
/* the tree at rest: every read drawn once as one bundle, so the trunk reads as one line, not as the
   sum of the lines it carries; a read's own line shows only while it is lit */
.g-bundle { opacity: .34; transition: opacity .18s; }
.bundle { fill: none; stroke: url(#branch); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.trunk { fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; }
.map.is-quiet .g-bundle, .map.is-soft .g-bundle { opacity: .1; }
#edges .e.r-branch:not(.is-lit) { opacity: 0; }
.e.e-authority { stroke: var(--text); stroke-width: 1.1; stroke-dasharray: 5 3.5; opacity: .32; }
.e.e-approval { stroke: var(--amber); stroke-width: 1.2; opacity: .5; }
.e.e-execution { stroke: var(--teal); stroke-width: 1.7; opacity: .6; }
.e.e-record { stroke: var(--paper); stroke-width: 1.5; opacity: .58; }
.e.e-report { stroke: var(--paper); stroke-width: 1.1; stroke-dasharray: 1 3.6; opacity: .5; }
.e.e-learning { stroke: var(--teal); stroke-width: 1.1; stroke-dasharray: 2 4.5; opacity: .32; }
.e.is-job { opacity: .085; stroke-width: .9; }
.e.is-job.e-approval { opacity: .3; }
.cross { fill: #f7f8f6; opacity: 1; transition: opacity .18s; }
.map.is-quiet .cross, .map.is-soft .cross { opacity: .2; }
.map.is-quiet .e:not(.is-lit), .map.is-soft .e:not(.is-lit) { opacity: .1; }
.map.is-quiet .e.is-job:not(.is-lit), .map.is-soft .e.is-job:not(.is-lit) { opacity: .06; }
.e.is-lit { opacity: 1; stroke-width: 1.6; }
.e.e-data.is-lit, .e.e-request.is-lit { stroke: #a9d2c9; }
/* the direction of travel, only while something is lit by a hover or a trace */
.flowing { fill: none; stroke: #f2f7f5; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1.4 13; opacity: .85; animation: run-on .9s linear infinite; pointer-events: none; }
.flowing.e-approval { stroke: #f1d5ad; }
@keyframes run-on { from { stroke-dashoffset: 14.4; } to { stroke-dashoffset: 0; } }
.e.e-execution.is-lit, .e.e-record.is-lit { stroke-width: 2.1; }
.map.is-soft .e.is-lit { opacity: .74; stroke-width: 1.3; }
.glow { fill: none; stroke-width: 7; stroke-linecap: round; opacity: 0; transition: opacity .2s; }
.glow.e-data, .glow.e-request, .glow.e-execution, .glow.e-learning { stroke: var(--teal); }
.glow.e-approval { stroke: var(--amber); }
.glow.e-record, .glow.e-report, .glow.e-authority { stroke: var(--paper); }
.glow.is-lit { opacity: .13; }
.hit { fill: none; stroke: transparent; stroke-width: 9; pointer-events: stroke; cursor: pointer; }
.dot { fill: var(--teal); opacity: .55; transition: opacity .18s; }
.dot.is-out { opacity: .35; }
.map.is-quiet .dot:not(.is-lit) { opacity: .18; }
.dot.is-lit { opacity: 1; }
/* the legend lights its kinds */
.map.is-soft .e.e-learning.is-lit { opacity: .9; }

/* edge labels: shown when lit, on an ink knockout */
.elabel { position: absolute; display: inline-flex; align-items: baseline; gap: 6px; max-width: 240px; padding: 1px 7px 2px; border-radius: 5px; font-size: 12px; line-height: 1.35; color: var(--text); white-space: nowrap;
  background: rgba(8, 13, 16, .96); box-shadow: 0 0 0 1px rgba(130, 181, 171, .28); }
.elabel.e-approval { box-shadow: 0 0 0 1px rgba(211, 167, 110, .45); }
.elabel.e-record, .elabel.e-report { box-shadow: 0 0 0 1px rgba(247, 248, 246, .3); }
.elabel.e-authority { box-shadow: 0 0 0 1px rgba(220, 227, 223, .3); }
.elabel small { font-size: 12px; color: var(--quiet); }
.elabel .id { color: var(--teal); }

/* the run: the route drawn behind the light, the light, ripples */
.run-done { fill: none; stroke-width: 2.2; opacity: .95; stroke-linecap: round; }
.run-done.e-data, .run-done.e-request, .run-done.e-execution, .run-done.e-learning { stroke: #a9d2c9; }
.run-done.e-approval { stroke: var(--amber); }
.run-done.e-record, .run-done.e-report, .run-done.e-authority { stroke: var(--paper); }
.run-head { fill: none; stroke: #eef6f3; stroke-width: 2.6; stroke-linecap: round; }
/* while a run plays, the route ahead waits at half light and the light draws it in full */
.map.is-playing .e.is-lit { opacity: .42; }
.map.is-playing .glow.is-lit { opacity: .06; }
.light-halo { fill: url(#halo); }
.light-ring { fill: none; stroke: rgba(220, 227, 223, .55); stroke-width: 1; }
.light-core { fill: #fff; }
.light[data-tone="amber"] .light-core { fill: var(--amber); }
.light[data-tone="amber"] .light-ring { stroke: rgba(211, 167, 110, .8); }
.light[data-tone="clay"] .light-core { fill: var(--clay); }
.light[data-tone="clay"] .light-ring { stroke: rgba(219, 157, 140, .7); }
.ripple { fill: none; stroke: var(--teal); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.ripple.tone-amber { stroke: var(--amber); }
.ripple.tone-paper { stroke: var(--paper); }
.ripple.on-plane { stroke: var(--text); }
.ghost { fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 2 5; opacity: .8; }
.ghost.is-decline { stroke: #8a9c9c; }

/* the trace: a glass bar over the pulse while a record is traced */
.pulse { position: relative; }
.trace-hud { position: absolute; left: 0; top: 2px; right: 0; bottom: 0; z-index: 12; pointer-events: auto; display: flex; align-items: center; gap: 14px; min-height: 30px; padding: 3px 6px 3px 10px; border-radius: 10px;
  background: rgba(12, 20, 24, .985); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(130, 181, 171, .3), 0 16px 40px -20px rgba(0, 0, 0, .9); }
.th-rec { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; font-size: 13px; }
.th-mark { width: 15px; height: 15px; color: var(--teal); align-self: center; }
.th-k { color: var(--muted); }
.th-rec .id { color: var(--teal); font-size: 13px; }
.th-rec .v { font-size: 12px; color: var(--quiet); }
.th-type { color: var(--text); }
.th-sum { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.th-jobs { font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: auto; }
.th-job { color: var(--text); text-decoration: underline; text-decoration-color: rgba(130, 181, 171, .5); text-underline-offset: 3px; font-size: 12px; }
.th-acts { display: flex; align-items: center; gap: 6px; }
.th-acts .primary, .th-acts .ghost-btn { padding: 4px 11px 5px; font-size: 13px; }
.th-x { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); }
.th-x .mark { width: 14px; height: 14px; }
.th-x:hover { color: var(--text); background: rgba(220, 227, 223, .06); }
.reset-view { position: absolute; right: 0; bottom: 0; pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 5px 11px; border-radius: 8px; background: rgba(13, 22, 27, .9); border: 1px solid var(--edge-lit); }
.reset-view .mark { width: 14px; height: 14px; }

/* the peek: a small card beside the pointer */
.peek { position: fixed; z-index: 70; width: max-content; max-width: 290px; padding: 9px 12px 10px; border-radius: 10px; pointer-events: none;
  background: rgba(16, 27, 32, .97); border: 1px solid var(--edge); border-top-color: rgba(130, 181, 171, .36); box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .9); }
.pk-kicker { font-size: 12px; color: var(--quiet); }
.pk-title { font-size: 14px; color: var(--text); margin-top: 1px; }
.peek dl { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; margin-top: 5px; font-size: 12px; }
.peek dt { color: var(--quiet); }
.peek dd { color: var(--muted); }
.pk-rule, .pk-route { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.4; }

/* the spine: the signature, and the legend of every kind of handoff */
.spine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 6px; }
.spine-item { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 1px; align-items: baseline; padding: 2px 8px 3px 0; border-radius: 8px; }
.spine-word { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--teal); }
.spine-item[data-word="control"] .spine-word { color: var(--amber); }
.spine-item[data-word="observe"] .spine-word { color: var(--paper); }
.spine-word .mark { width: 14px; height: 14px; }
.spine-sentence { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--text); white-space: nowrap; }
.spine-kinds { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: var(--quiet); }
.sk { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sk-line { width: 26px; height: 6px; overflow: visible; }
.sk-line .e { opacity: 1; }
.sk-line .e.e-request, .sk-line .e.e-data { stroke: var(--teal); }
.spine-item:hover .spine-sentence, .spine-item[aria-pressed="true"] .spine-sentence { color: #fff; }
.spine-item[aria-pressed="true"] { background: rgba(220, 227, 223, .04); }

/* the entrance: lines draw once, then stillness */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.is-entering .edges { animation: fade 1.6s .35s var(--ease-out) both; }
.is-entering .col { animation: rise .7s var(--ease-out) both; }
.is-entering .col-fn { animation-delay: .1s; } .is-entering .col-rules { animation-delay: .2s; } .is-entering .col-gates { animation-delay: .3s; } .is-entering .col-seen { animation-delay: .4s; }
.is-fresh { animation: fade .36s ease-out both; }

/* buttons */
.primary { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: 9px; background: var(--muted); color: var(--ink); border: 1px solid var(--muted); font-weight: 500; transition: background .2s, border-color .2s; }
.primary:hover { background: var(--text); border-color: var(--text); }
.primary .mark { width: 14px; height: 14px; }
.ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(220, 227, 223, .35); color: var(--text); transition: border-color .2s, background .2s; }
.ghost-btn:hover { border-color: var(--text); background: rgba(220, 227, 223, .04); }
.ghost-btn .mark { width: 14px; height: 14px; }

/* ------------------------------------------------------------ windows: glass lives here, and only here (proto-d) */
.tether { position: fixed; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; overflow: visible; }
.tether path { fill: none; stroke: var(--teal); stroke-width: 1; }
.windows { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.card {
  position: fixed; left: 0; top: 0; width: 392px; max-height: calc(100vh - 32px); overflow: hidden; display: flex; flex-direction: column;
  pointer-events: auto; color: var(--text); border-radius: 16px;
  background: rgba(13, 22, 27, .92); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 70px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(220, 227, 223, .1);
}
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(130, 181, 171, .55), rgba(220, 227, 223, .1) 38%, rgba(220, 227, 223, .05) 70%, rgba(220, 227, 223, .16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card[data-kind="stream"] { width: 384px; }
.card[data-kind="decision"] { width: 364px; }
.card[data-kind="district"] { width: 440px; }
.card[data-kind="edge"] { width: 372px; }
.card.is-behind > .card-in { opacity: .72; transition: opacity .2s; }
.card.is-behind:hover > .card-in, .card.is-behind:focus-within > .card-in { opacity: 1; }
.card.is-docked { width: 520px; }
.card-in { flex: 0 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px 20px 20px; border-radius: inherit;
  scrollbar-width: thin; scrollbar-color: rgba(220, 227, 223, .2) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 14px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 14px), transparent 100%); }
.card.is-docked .card-in { flex: 1 1 auto; }
.card-bar { display: flex; align-items: center; gap: 4px; min-height: 26px; }
.card-bar .card-kicker { margin-right: auto; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--muted); margin-bottom: 9px; padding-bottom: 8px; border-bottom: 1px solid var(--hair); }
.crumbs:empty { display: none; }
.crumbs button { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(185, 199, 198, .4); text-underline-offset: 3px; padding: 2px 0; }
.crumbs button:hover { color: var(--text); }
.crumbs .sep { opacity: .7; }
.crumbs [aria-current] { color: var(--text); }
.card-act { color: var(--muted); font-size: 13px; padding: 4px 7px; border-radius: 6px; }
.card-act:hover { color: var(--text); background: rgba(220, 227, 223, .06); }
.card-kicker { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.card-kicker .mark { width: 16px; height: 16px; color: var(--teal); }
.card h2 { font-size: 22px; line-height: 1.25; font-weight: 400; letter-spacing: -.016em; margin-top: 6px; }
.card h2 abbr { font-size: 13px; }
.card h2 .id { font-size: .86em; }
.card:not([data-kind="receipt"]) h2 .id { color: var(--teal); }
.card .lead { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.card h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin: 16px 0 6px; letter-spacing: .01em; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px 14px; margin-top: 12px; padding: 9px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.meta dt { font-size: 12px; color: var(--quiet); }
.meta dd { font-size: 14px; color: var(--text); }
.rule { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text); padding-left: 11px; border-left: 2px solid rgba(220, 227, 223, .24); }
.rule-k { display: block; font-size: 12px; color: var(--quiet); }
.rm { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rm p { font-size: 14px; line-height: 1.45; color: var(--text); }
.rec { margin-top: 8px; padding: 9px 11px 10px; border-radius: 10px; background: rgba(220, 227, 223, .035); box-shadow: inset 0 0 0 1px var(--hair); }
.rec-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.rec-head .id { color: var(--teal); font-size: 13px; }
.rec-v { font-size: 12px; color: var(--quiet); }
.rec-type { font-size: 14px; color: var(--text); }
.rec-fields { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin-top: 6px; font-size: 13px; }
.rec-fields dt { color: var(--quiet); }
.rec-fields dd { color: var(--text); font-variant-numeric: tabular-nums; }
.rec-sum { font-size: 13px; color: var(--muted); margin-top: 6px; }
.rec-acts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 7px; }
.nlink { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); text-decoration: underline; text-decoration-color: rgba(130, 181, 171, .5); text-underline-offset: 3px; }
.nlink .mark { width: 13px; height: 13px; color: var(--teal); }
.nlink:hover { text-decoration-color: var(--teal); }
.nlink.is-call { color: var(--amber); text-decoration-color: rgba(211, 167, 110, .55); white-space: nowrap; }
.conns { display: grid; gap: 6px; }
.conn-col { font-size: 12px; color: var(--quiet); margin-bottom: 2px; }
.conn { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: baseline; width: 100%; padding: 3px 6px; border-radius: 6px; text-align: left; }
.conn:hover { background: rgba(220, 227, 223, .05); }
.conn-n { font-size: 14px; color: var(--text); }
.conn-l { grid-column: 2; font-size: 12px; color: var(--muted); }
.sw { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--teal); align-self: center; }
.sw.e-authority { border-top: 2px dashed var(--text); }
.sw.e-approval { border-top-color: var(--amber); }
.sw.e-execution { border-top-width: 3px; }
.sw.e-record { border-top-color: var(--paper); }
.sw.e-report { border-top: 2px dotted var(--paper); }
.sw.e-learning { border-top: 2px dotted var(--teal); }
.sw.big { width: 22px; }
.teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 15px; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.rows li:last-child { border-bottom: 1px solid var(--hair); }
.rows .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rows .num { font-variant-numeric: tabular-nums; color: var(--text); }
.routes li[data-tone="teal"] .num { color: var(--teal); }
.routes li[data-tone="amber"] .num { color: var(--amber); }
.routes li[data-tone="clay"] .num { color: var(--clay); }
.tchip { display: inline-block; font-size: 12px; line-height: 1.5; color: var(--muted); border: 1px solid rgba(220, 227, 223, .22); border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.tchip.tone-clay { color: var(--clay); border-color: rgba(219, 157, 140, .35); }
.links { display: flex; flex-wrap: wrap; gap: 7px; }
.links button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--edge); border-radius: 999px; font-size: 13px; padding: 5px 11px; color: var(--text); }
.links button .mark { width: 12px; height: 12px; color: var(--teal); }
.links button:hover { border-color: var(--edge-lit); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.cap-link { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--teal); text-decoration: underline; text-decoration-color: rgba(130, 181, 171, .45); text-underline-offset: 3px; }
.quiet { font-size: 14px; color: var(--muted); }
.empty { font-size: 14px; color: var(--muted); }
.zoom-rows { margin-top: 10px; display: grid; gap: 2px; }
.zr { display: grid; gap: 1px; width: 100%; padding: 6px 8px 7px; border-radius: 8px; text-align: left; }
.zr:hover { background: rgba(220, 227, 223, .05); }
.zr-name { font-size: 15px; color: var(--text); }
.zr-line { font-size: 13px; color: var(--muted); line-height: 1.4; }
.zr-line b { font-weight: 500; color: var(--quiet); }
.zr-line .id { color: var(--teal); }
.zr-count { color: var(--text); }
.zr-own { color: var(--quiet); }
.trail > li { margin-top: 8px; }
.trail-job { font-size: 14px; color: var(--text); }
.trail-job .sub { font-size: 13px; color: var(--muted); }
.trail ol { margin-top: 3px; padding-left: 4px; border-left: 1px solid var(--hair); }

/* the job window (proto-d) */
.today { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.today div { padding: 7px 0 6px; }
.today b { display: block; font-size: 21px; font-weight: 300; font-variant-numeric: tabular-nums; line-height: 1.2; }
.today span { font-size: 13px; color: var(--muted); }
.today .is-amber b { color: var(--amber); }
.today .is-clay b { color: var(--clay); }
.case { margin-top: 12px; font-size: 15px; }
.case .id { color: var(--teal); margin-right: 8px; }
.case p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.transport .primary, .transport .ghost-btn { padding: 8px 14px; }
.st-status { display: flex; align-items: center; gap: 8px; margin-left: 4px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.st-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .6; }
.st-status[data-s="running"]::before { background: var(--teal); opacity: 1; }
.st-status[data-s="awaiting_approval"] { color: var(--amber); }
.st-status[data-s="awaiting_approval"]::before { background: var(--amber); opacity: 1; }
.st-status[data-s="rejected"] { color: var(--clay); }
.st-status[data-s="rejected"]::before { background: var(--clay); opacity: 1; }
.st-status[data-s="complete"]::before { background: var(--paper); opacity: 1; }
.rail { position: relative; margin-top: 12px; }
.rail::before { content: ''; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: rgba(220, 227, 223, .14); }
.rail-fill { position: absolute; left: 11px; top: 14px; width: 1px; height: 0; background: var(--teal); transition: height .7s var(--ease-io); }
.rail-light { position: absolute; left: 7px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 5px rgba(130, 181, 171, .16); opacity: 0; transition: transform .7s var(--ease-io), opacity .2s, background .2s; }
.rail-light[data-tone="amber"] { background: var(--amber); box-shadow: 0 0 0 5px rgba(211, 167, 110, .18); }
.rail-light[data-tone="clay"] { background: var(--clay); box-shadow: none; }
.r-step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 3px 0; }
.r-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgb(14, 23, 28); color: rgba(185, 199, 198, .65); transition: color .3s; }
.r-mark svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: round; }
.r-label { display: block; font-size: 14px; line-height: 1.32; color: #a9b8b8; transition: color .3s; padding-top: 2px; }
.r-team { display: block; font-size: 12px; color: var(--quiet); margin-top: 1px; }
.r-step.is-done .r-mark { color: var(--teal); }
.r-step.is-done .r-label { color: var(--muted); }
.r-step.is-current .r-mark, .r-step.is-current .r-label { color: var(--text); }
.r-step[data-kind="decision"] .r-mark { color: var(--amber); }
.r-step[data-kind="receipt"].is-done .r-mark, .r-step[data-kind="receipt"].is-current .r-mark { color: var(--paper); }
.r-step.is-refused .r-mark { color: var(--clay); }
.r-note { display: inline-block; margin-left: 8px; font-size: 12px; padding: 0 8px; border-radius: 999px; border: 1px solid currentColor; vertical-align: 1px; }
.r-note.is-ok { color: var(--teal); }
.r-note.is-no { color: var(--clay); }
.r-step.is-skipped .r-label, .r-step.is-skipped .r-team { color: #8a9c9c; text-decoration: line-through; text-decoration-color: rgba(219, 157, 140, .5); }
.more-only { display: none; }
.card.is-docked .more-only { display: block; }
.card[data-kind="decision"] .card-kicker .mark { color: var(--amber); }
.card h2.your-call { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin-top: 6px; }
.seat { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.seat b { color: var(--text); font-weight: 500; }
.what { font-size: 18px; line-height: 1.42; color: var(--text); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.why-block { margin-top: 12px; }
.why-label { display: block; font-size: 13px; color: var(--amber); }
.why { display: block; font-size: 16px; line-height: 1.5; color: var(--text); margin-top: 2px; }
.why-block + .tchip { margin-top: 10px; }
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.decide .primary, .decide .ghost-btn { padding: 12px 16px; justify-content: center; }
.decided { margin-top: 18px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.decided .mark { width: 18px; height: 18px; }
.decided[data-s="declined"] { color: var(--clay); }
.time-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.time-note .mark { width: 14px; height: 14px; }
/* the receipt: proof sits on paper */
.card[data-kind="receipt"] { background: var(--paper); color: var(--paper-ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 32px 80px -30px rgba(0, 0, 0, .8); }
.card[data-kind="receipt"]::before { display: none; }
.card[data-kind="receipt"] .card-kicker, .card[data-kind="receipt"] .crumbs, .card[data-kind="receipt"] .crumbs button,
.card[data-kind="receipt"] .card-act, .card[data-kind="receipt"] h3, .card[data-kind="receipt"] .quiet { color: var(--paper-muted); }
.card[data-kind="receipt"] .crumbs [aria-current] { color: var(--paper-ink); }
.card[data-kind="receipt"] .crumbs { border-bottom-color: var(--paper-line); }
.card[data-kind="receipt"] .card-kicker .mark { color: var(--paper-ink); }
.card[data-kind="receipt"] .card-act:hover { background: rgba(24, 42, 33, .06); color: var(--paper-ink); }
.card[data-kind="receipt"] .id { color: var(--paper-link); }
.card[data-kind="receipt"] h3 { margin: 14px 0 5px; }
.receipt-list li { padding: 6px 0; border-top: 1px solid var(--paper-line); font-size: 14px; line-height: 1.45; }
.receipt-list li:last-child { border-bottom: 1px solid var(--paper-line); }
.receipt-list .sub { display: block; font-size: 13px; color: var(--paper-muted); margin-top: 1px; }
.receipt-list abbr { color: var(--paper-muted); }
.card[data-kind="receipt"] .tchip { color: var(--paper-muted); border-color: var(--paper-line); }
.card[data-kind="receipt"] .closing { margin-top: 14px; }

/* ------------------------------------------------------------ narrower desktops: the same map, tighter columns */
@container map (max-width: 1330px) {
  .cols { grid-template-columns: 150px minmax(30px, 2.3fr) 300px minmax(80px, 4.1fr) 36px minmax(20px, 1.25fr) 162px minmax(30px, 1.5fr) 352px; }
  .k-gate { gap: 9px; }
  .col-seen .col-body { grid-template-columns: 114px minmax(0, 1fr); column-gap: 24px; }
  .k-department { gap: 8px; padding-right: 6px; }
  .l-line { font-size: 12px; }
  .th-sum { display: none; }
}
@container shell (max-width: 1330px) {
  .layers-k { display: none; }
  .scope { display: none; }
  h1 { font-size: 22px; }
  .pulse-item { gap: 8px; }
  .p-value { font-size: 19px; }
  .spine-sentence { font-size: 14px; }
  .spine-kinds { gap: 2px 10px; }
}
/* narrower desktops (publication pass, 2026-10-16): the map fits by scale below 1,180 px (proto.js
   FIT_MIN), so the top bar must never set the page width: the chip may drop under the title. */
@container shell (max-width: 1180px) {
  .top { gap: 18px; }
  .title-row { flex-wrap: wrap; row-gap: 4px; }
  .controls { gap: 10px; }
  .trace-btn { white-space: nowrap; }
}

/* ------------------------------------------------------------ phones and tablets in portrait: five stacked sections */
/* (760 px until the publication pass of 2026-10-16; from 961 px the map fits by scale, see proto.js FIT_MIN) */
@container shell (max-width: 960px) {
  .stage { height: auto; min-height: 0; display: block; padding: 14px 16px 28px; }
  .top { display: block; }
  .title-row { flex-wrap: wrap; }
  h1 { font-size: 24px; white-space: normal; }
  .scope { white-space: normal; display: block; }
  .controls { margin-top: 12px; flex-wrap: wrap; gap: 10px; }
  .layers { width: 100%; justify-content: space-between; }
  .layers button { padding: 5px 8px 6px; }
  .layers-k { display: none; }
  .trace-ctl { width: 100%; }
  .trace-btn { width: 100%; justify-content: center; }
  .trace-list { left: 0; right: 0; width: auto; }
  .pulse { display: grid; grid-template-columns: 1fr 1fr; border-top: 0; margin-top: 14px; gap: 0 14px; }
  .pulse-item { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 6px; border-top: 1px solid var(--line); }
  .pulse-item + .pulse-item { padding-left: 0; border-left: 0; }
  .p-value { margin-left: 0; font-size: 24px; }
  .p-detail { position: static; opacity: 1; transform: none; display: none; max-width: none; }
  .map { --mode: stack; overflow: visible; margin-top: 18px; touch-action: auto; }
  .world { position: static; transform: none !important; }
  .edges, .over, .elabels, .gl, .lightsvg { display: none; }
  .cols { position: static; display: block; }
  .col { display: block; margin-top: 22px; animation: none !important; }
  .col-h { height: auto; font-size: 15px; color: var(--text); justify-content: flex-start !important; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .col-body { display: block !important; padding: 0 !important; }
  .k-source { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); border-radius: 0; }
  .k-source .n-text { display: flex; justify-content: space-between; width: 100%; gap: 12px; }
  .k-source .n-chip { margin: 0; text-align: right; }
  .district { margin-top: 10px; padding-bottom: 4px; }
  .d-head { height: 34px; font-size: 13px; }
  .d-name { font-size: 15px; }
  .k-department { height: auto; min-height: 38px; padding: 6px 10px 6px 12px; }
  .k-department .n-name { white-space: normal; font-size: 14px; }
  .col-rules .col-body { display: block; }
  .k-boundary { display: block; padding: 14px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(220, 227, 223, .02), rgba(220, 227, 223, .07), rgba(220, 227, 223, .02)); box-shadow: inset 0 0 0 1px var(--hair); }
  .plane-band { display: none; }
  .plane-tag { position: static; transform: none; align-items: flex-start; }
  .col-gates .col-body { display: grid !important; grid-template-columns: 1fr; gap: 0; }
  .k-gate { padding: 9px 0; border-bottom: 1px solid var(--hair); border-radius: 0; }
  .col-seen .col-body { display: block !important; }
  .seen-a { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 8px; }
  .k-execution, .k-record, .k-learning { position: static; grid-row: auto; margin-top: 0; }
  .k-execution { order: 1; } .k-record { order: 2; } .k-learning { order: 3; }
  .k-execution .n-chip, .k-record .n-chip, .k-learning .n-chip { min-height: 0; }
  .seen-b { margin-top: 18px; }
  .q-row { padding: 6px 4px; }
  .leaders { margin-top: 16px; gap: 8px; }
  .trace-hud { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; flex-wrap: wrap; z-index: 30; }
  .th-sum, .th-jobs { white-space: normal; margin-left: 0; }
  .spine { display: block; margin-top: 26px; padding-top: 10px; }
  .spine-item { margin-top: 10px; }
  .spine-sentence { white-space: normal; font-size: 18px; }
}
/* windows become bottom sheets whenever the stage stacks (layout() sets .co-sheets) */
.co-sheets .card, .co-sheets .card[data-kind] { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 86vh; border-radius: 18px 18px 0 0; background: rgba(13, 22, 27, .97); }
.co-sheets .card[data-kind="receipt"] { background: var(--paper); }
.co-sheets .card.is-behind { display: none; }
.co-sheets .card-in { padding: 16px 18px 28px; }
.co-sheets .act-more { display: none; }
.co-sheets .tether { display: none; }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(4, 8, 10, .62); }

@media (prefers-reduced-motion: reduce) {
  .is-entering .edges, .is-entering .col { animation: fade .12s linear both; animation-delay: 0ms; }
  .rail-fill, .rail-light, .p-detail, .world { transition: none; }
}

/* short screens: the leaders keep their sentence; what each withholds moves to the Health layer, the peek and the window */
@media (max-height: 860px) {
  .k-executive .n-chip { display: none; }
}
@media (max-height: 790px) {
  .leaders { gap: 3px; margin-top: 6px; }
  .k-executive { padding-top: 3px; padding-bottom: 3px; }
  .l-line { line-height: 1.2; }
}

/* ------------------------------------------------------------ anucore.com/company/: the page layer (revision 44) */
/* Prototype E is a whole-screen instrument; on the public site it gains one thing, the way home: the
   brand mark and wordmark at the start of its top bar, divided from the title by a hairline. The
   wordmark yields first when the bar runs short, so the map keeps its fit at 1,100 px and up. */
.home-link { flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; border-radius: 6px; transition: color .2s; }
.home-link:hover { color: var(--teal); }
.home-link .brand-mark { width: 30px; height: 30px; }
.home-link .brand-wordmark { width: 82px; height: 13px; }
.top .title-block { flex: 1 1 auto; }
.home-link + .title-block { padding-left: 24px; border-left: 1px solid var(--hair); }
.noscript { max-width: 640px; margin: 48px auto; padding: 0 24px; font-size: 16px; color: var(--text); }
.noscript a { color: var(--teal); }
@container shell (max-width: 1320px) { .home-link .brand-wordmark { display: none; } .home-link + .title-block { padding-left: 20px; } }
@container shell (max-width: 1180px) { .home-link + .title-block { padding-left: 16px; } }
@container shell (max-width: 960px) {
  .home-link { margin-bottom: 14px; }
  .home-link .brand-wordmark { display: block; }
  .home-link + .title-block { padding-left: 0; border-left: 0; }
}
