/* Risk copilot admin (its own site). Style: framed sheet — one sage-tinted L-frame (sidebar + 48px top bar, no rule
   between them) around a white sheet inset 8px from the right and bottom edges, 16px corners, a 1px edge, no shadow.
   Type: Mona Sans (variable width): titles and figures run a little wide, cells stay at normal width.
   Grid: the sheet's content is 24px padded; overview = 1fr + 384px rail, one 24px gap everywhere. */
@font-face {
  font-family: "Mona Sans";
  src: url("fonts/MonaSans-VF.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
}
@font-face {
  font-family: "Mona Sans Mono";
  src: url("fonts/MonaSansMono-VF.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}

:root {
  --ground: #f3f5f0;      /* the frame: one low-chroma step of the chatbot's sage */
  --surface: #ffffff;
  --raised: #f6f8f4;
  --active: #e7ebe2;      /* the active nav pill */
  --border: #e4e8e0;
  --rule: #eef1eb;
  --control: #cdd3c8;
  --text: #161a13;
  --muted: #5c6457;
  --faint: #8a9284;
  --accent: #3f7a2c;      /* Finkit's green, on the data */
  --accent-soft: #e4efdc;
  --positive: #1e7b4f;
  --negative: #c4242a;
  --warning: #92400e;
  --pill-positive-bg: #dcfae5; --pill-positive-ink: #04250e;
  --pill-negative-bg: #ffedea; --pill-negative-ink: #831c1e;
  --pill-warning-bg: #fff4dc; --pill-warning-ink: #7a3a0a;
  --radius-card: 10px;
  --radius-control: 8px;
  --radius-sheet: 16px;
  --gap: 24px;
  --pad: 24px;
  --side: 228px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font: "Mona Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Mona Sans Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 400 14px/1.5 var(--font); font-optical-sizing: auto; color: var(--text); background: var(--ground);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.is-booting .gate, .is-booting .app { visibility: hidden; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 14px;
  border: 1px solid var(--control); border-radius: var(--radius-control); background: var(--surface);
  font-size: 13px; font-weight: 550; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 100ms var(--ease-out), border-color 150ms ease, background-color 150ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--text); border-color: var(--text); color: #fff; }
.btn--wide { width: 100%; height: 44px; font-size: 14px; }
.btn[disabled] { cursor: progress; }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: var(--radius-control);
  background: transparent; color: var(--muted); cursor: pointer;
  transition: transform 100ms var(--ease-out), background-color 150ms ease, color 150ms ease;
}
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: var(--faint); }
  .btn--primary:hover { background: #2a3026; border-color: #2a3026; }
  .icon-btn:hover { background: var(--active); color: var(--text); }
}

/* ---------- sign in ---------- */
.gate { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 1fr); }
.gate__field {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px 56px;
  background: var(--accent); color: #f2f7ee; overflow: hidden;
}
.gate__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 110%; letter-spacing: 0.01em; }
.gate__brand .mark { width: 28px; height: 28px; stroke: #f2f7ee; stroke-width: 1.7; }
.gate__word {
  margin: 0; font-size: clamp(64px, 9.2vw, 152px); line-height: 0.86; font-weight: 800; font-stretch: 125%;
  letter-spacing: -0.045em; max-width: 7ch;
}
.gate__line { margin: 22px 0 0; max-width: 30ch; font-size: 20px; line-height: 1.35; font-stretch: 105%; color: #dbe9d1; }
.gate__form { align-self: center; justify-self: center; width: min(400px, calc(100% - 48px)); display: grid; gap: 18px; padding: 48px 0; }
.gate__title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 650; font-stretch: 112%; letter-spacing: -0.015em; }
.gate__note { margin: -8px 0 6px; color: var(--muted); }
.gate__error { margin: -6px 0 0; min-height: 21px; color: var(--negative); font-weight: 500; }
.gate__foot { margin: 0; color: var(--faint); font-size: 12px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 13px; font-weight: 550; }
.field__wrap { position: relative; display: block; }
.field__input {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--control); border-radius: var(--radius-control);
  background: var(--surface); font-size: 15px; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field__wrap .field__input { padding-right: 46px; }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-wrong .field__input { border-color: var(--negative); }
.field__reveal { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.field__reveal[aria-pressed="true"] { color: var(--accent); }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* The one entrance of the product: the sign-in, seen once per session. */
.gate.is-entering .gate__word, .gate.is-entering .gate__line, .gate.is-entering .gate__brand,
.gate.is-entering .gate__form > * { animation: rise 620ms var(--ease-out) both; }
.gate.is-entering .gate__brand { animation-delay: 40ms; }
.gate.is-entering .gate__word { animation-delay: 90ms; }
.gate.is-entering .gate__line { animation-delay: 170ms; }
.gate.is-entering .gate__form > :nth-child(1) { animation-delay: 140ms; }
.gate.is-entering .gate__form > :nth-child(2) { animation-delay: 190ms; }
.gate.is-entering .gate__form > :nth-child(3) { animation-delay: 240ms; }
.gate.is-entering .gate__form > :nth-child(4) { animation-delay: 290ms; }
.gate.is-entering .gate__form > :nth-child(n+5) { animation-delay: 340ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.gate.is-leaving { animation: fade-out 260ms var(--ease-out) both; }
@keyframes fade-out { to { opacity: 0; transform: scale(0.985); } }

/* ---------- the frame ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); grid-template-rows: 48px minmax(0, 1fr); height: 100vh; }
.app.is-entering { animation: app-in 360ms var(--ease-out) both; }
@keyframes app-in { from { opacity: 0; } to { opacity: 1; } }
.side { grid-row: 1 / 3; display: flex; flex-direction: column; gap: 22px; padding: 12px 10px 14px; min-height: 0; }
.side__product { display: flex; align-items: center; gap: 10px; padding: 6px 8px; text-decoration: none; }
.mark { width: 24px; height: 24px; stroke: var(--accent); stroke-width: 1.8; }
.side__name { display: grid; font-weight: 650; font-stretch: 112%; line-height: 1.15; letter-spacing: -0.01em; }
.side__scope { font-size: 12px; font-weight: 450; font-stretch: 100%; color: var(--muted); letter-spacing: 0; }
.side__nav { display: grid; gap: 2px; }
.nav {
  display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--radius-control);
  color: var(--muted); text-decoration: none; font-weight: 500; transition: background-color 150ms ease, color 150ms ease;
}
.nav svg { width: 17px; height: 17px; }
.nav[aria-current="page"] { background: var(--active); color: var(--text); }
@media (hover: hover) and (pointer: fine) { .nav:hover { color: var(--text); } }
.side__foot { margin-top: auto; display: grid; gap: 12px; padding: 0 8px; }
.side__keep { margin: 0; font-size: 12px; color: var(--faint); line-height: 1.4; }
.side__me { display: flex; align-items: center; gap: 8px; }
.side__who { flex: 1; min-width: 0; font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 8px 0 0; position: relative; }
.top__menu { display: none; }
.search {
  display: flex; align-items: center; gap: 8px; width: min(548px, 100%); height: 32px; padding: 0 8px 0 11px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-control); color: var(--faint);
  transition: border-color 150ms ease;
}
.search:focus-within { border-color: var(--accent); color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--text); }
.search input::-webkit-search-cancel-button { display: none; }
kbd { font: 500 11px/1 var(--font); padding: 3px 6px; border: 1px solid var(--border); border-radius: 5px; color: var(--faint); }
.sheet {
  grid-column: 2; grid-row: 2; margin: 0 8px 8px 0; min-height: 0; overflow: auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sheet); outline: none; scroll-behavior: smooth;
}
.view { padding: 22px var(--pad) 40px; display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.view.is-entering { animation: view-in 180ms ease-out both; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- title row ---------- */
.titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.titlebar__text { min-width: 0; display: grid; gap: 4px; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--text); } }
h1.title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 650; font-stretch: 115%; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.finding { margin: 0; color: var(--muted); font-size: 15px; max-width: 78ch; }
.finding b { color: var(--text); font-weight: 600; }
.titlebar__tools { display: flex; align-items: center; gap: 8px; }
.stamp { font-size: 12px; color: var(--faint); white-space: nowrap; }
.refresh.is-spinning svg { animation: spin 700ms linear infinite; }

/* A segmented control: as wide as its options. */
.seg { position: relative; display: inline-flex; padding: 3px; gap: 2px; background: var(--raised); border: 1px solid var(--border); border-radius: 9px; }
.seg button {
  position: relative; z-index: 1; height: 26px; padding: 0 11px; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: color 150ms ease;
}
.seg button[aria-pressed="true"] { color: var(--text); }
.seg__thumb {
  position: absolute; z-index: 0; top: 3px; left: 0; height: 26px; border-radius: 6px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--border); transition: transform 240ms var(--ease-out), width 240ms var(--ease-out);
}

/* ---------- layout ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: var(--gap); align-items: start; }
.stack { display: grid; gap: var(--gap); min-width: 0; align-content: start; }
.card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px 6px; }
.card__title { margin: 0; font-size: 16px; font-weight: 600; font-stretch: 108%; letter-spacing: -0.005em; }
.card__meta { font-size: 12px; color: var(--faint); white-space: nowrap; }
.card__body { padding: 6px 18px 16px; }
.rail-title { margin: 0 0 8px; font-size: 16px; font-weight: 600; font-stretch: 108%; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rail-title .count { font-size: 13px; font-weight: 500; color: var(--muted); }
.link { color: var(--accent); font-weight: 550; text-decoration: none; font-size: 13px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- KPI strip (the chart's tabs on the overview) ---------- */
.kpis { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.kpi { position: relative; display: grid; gap: 2px; padding: 14px 18px 16px; border: 0; background: var(--surface); text-align: left; min-width: 0; }
.kpi + .kpi { box-shadow: inset 1px 0 0 var(--rule); }
button.kpi { cursor: pointer; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { button.kpi:hover { background: var(--raised); } }
.kpi__label { font-size: 13px; font-weight: 550; color: var(--muted); }
.kpi[aria-selected="true"] .kpi__label { color: var(--text); }
.kpi__value { font-size: 28px; line-height: 1.2; font-weight: 450; font-stretch: 112%; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__value small { font-size: 15px; font-weight: 450; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.kpi__note { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__note.is-bad { color: var(--negative); }
.kpis__line { position: absolute; left: 0; bottom: 0; height: 2px; width: 100px; background: var(--accent); transform-origin: left; transition: transform 260ms var(--ease-out), width 260ms var(--ease-out); }

/* ---------- column chart ---------- */
.chart { position: relative; height: 236px; }
.chart svg { width: 100%; height: 100%; overflow: visible; stroke: none; }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .base { stroke: var(--control); stroke-width: 1; }
.chart .tick { fill: var(--faint); font: 400 12px var(--font); font-variant-numeric: tabular-nums; }
.chart .col { fill: var(--accent); transform-box: fill-box; transform-origin: 50% 100%; }
.chart .col.is-empty { fill: transparent; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit.is-on + .col, .chart .col.is-on { fill: #2f5f20; }
.chart.is-growing .col { animation: grow 300ms var(--ease-out) both; }
@keyframes grow { from { transform: scaleY(0.02); } to { transform: scaleY(1); } }
.chart__empty { position: absolute; inset: 40% 0 auto; text-align: center; color: var(--muted); }
.tip { position: fixed; z-index: 50; pointer-events: none; padding: 7px 10px; background: var(--text); color: #fff; border-radius: 7px; font-size: 12px; line-height: 1.45; white-space: nowrap; }
.tip b { font-weight: 600; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { height: 38px; padding: 0 12px; font-size: 12px; font-weight: 450; color: var(--muted); text-align: left; white-space: nowrap; }
.table th.r, .table td.r { text-align: right; }
.table th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.table th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.table th[aria-sort] { color: var(--text); }
.table th[aria-sort] button::after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-top: 5px solid currentColor; margin-top: 4px; }
.table td { height: 52px; padding: 0 12px; border-top: 1px solid var(--rule); vertical-align: middle; }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table th:last-child, .table td:last-child { padding-right: 18px; }
.table tbody tr { cursor: pointer; transition: background-color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .table tbody tr:hover { background: var(--raised); } }
.table tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who__text { display: grid; min-width: 0; line-height: 1.3; }
.who__name { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who__sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 13px; font-weight: 650; font-stretch: 110%; color: var(--ink, #2b3327); background: var(--tint, var(--active)); }
.avatar--sm { width: 24px; height: 24px; font-size: 11px; }
.avatar--lg { width: 48px; height: 48px; font-size: 18px; }
.two { display: grid; justify-items: end; line-height: 1.3; }
.two small { font-size: 12px; color: var(--muted); }
.share { display: grid; gap: 5px; justify-items: end; }
.share__bar { width: 72px; height: 2px; background: var(--rule); border-radius: 1px; overflow: hidden; }
.share__bar i { display: block; height: 100%; background: var(--faint); transform-origin: left; }
tr:first-child .share__bar i { background: var(--text); }
.dash { color: var(--faint); }
.bad { color: var(--negative); }
.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }

/* ---------- lists in the rail ---------- */
.list { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 16px; text-decoration: none; transition: background-color 120ms ease; }
.item + .item { border-top: 1px solid var(--rule); }
@media (hover: hover) and (pointer: fine) { .item:hover { background: var(--raised); } }
.item__q { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.item__time { font-size: 12px; color: var(--faint); white-space: nowrap; text-align: right; }
.item__meta { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); min-width: 0; }
.item__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list__empty { padding: 18px 16px; color: var(--muted); }
.list__foot { padding: 10px 16px; border-top: 1px solid var(--rule); }
.pill { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.pill--answered { background: var(--pill-positive-bg); color: var(--pill-positive-ink); }
.pill--failed { background: var(--pill-negative-bg); color: var(--pill-negative-ink); }
.pill--blocked { background: var(--pill-warning-bg); color: var(--pill-warning-ink); }
.bars { display: grid; gap: 14px; padding: 14px 16px 16px; }
.bars__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.bars__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.bars__value { font-size: 13px; color: var(--muted); }
.bars__track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.bars__track i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transform-origin: left; transition: transform 300ms var(--ease-out); }
.bars__row + .bars__row .bars__track i { background: var(--faint); }

/* ---------- a user, a conversation ---------- */
.object { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-card); }
.object__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.object__name { margin: 0; font-size: 22px; font-weight: 650; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.2; }
.object__meta { font-size: 13px; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; }
.object__meta .id { font-family: var(--mono); font-size: 12.5px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.filter { height: 32px; width: 280px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface); }
.filter:focus { outline: none; border-color: var(--accent); }
.convo { display: grid; gap: 18px; padding: 18px; }
.turn { display: grid; gap: 8px; }
.turn__q { justify-self: end; max-width: 72%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--accent-soft); color: #1d3313; white-space: pre-wrap; overflow-wrap: anywhere; }
.turn__a { max-width: 86%; padding: 12px 15px; border-radius: 14px 14px 14px 4px; background: var(--raised); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.turn__a.is-missing { color: var(--muted); }
.turn__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--muted); }
.turn__meta .num b { color: var(--text); font-weight: 550; }
.well { display: grid; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 6px 16px; }
.well__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.well__row + .well__row { border-top: 1px solid var(--rule); }
.well__row span:first-child { color: var(--muted); }
.error-box { padding: 16px 18px; border-radius: var(--radius-card); background: var(--pill-negative-bg); color: var(--pill-negative-ink); }
.loading { height: 3px; position: sticky; top: 0; z-index: 5; overflow: hidden; }
.loading::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--accent); animation: load 900ms var(--ease-in-out) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) { .cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 260px; background: var(--ground); transform: translateX(-100%); transition: transform 280ms var(--ease-out); box-shadow: none; }
  .app.is-menu-open .side { transform: none; box-shadow: 0 0 0 100vmax rgba(22, 26, 19, 0.28); }
  .top { grid-column: 1; padding: 0 8px; justify-content: flex-start; }
  .top__menu { display: inline-grid; }
  .search kbd { display: none; }
  .sheet { grid-column: 1; margin: 0; border-radius: 0; border-width: 1px 0 0; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(odd) { box-shadow: none; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .gate { grid-template-columns: minmax(0, 1fr); }
  .gate__field { min-height: 38vh; padding: 28px 24px 32px; }
  .gate__word { font-size: clamp(52px, 17vw, 96px); }
  .table .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .loading::after { animation: none; width: 100%; opacity: .35; }
}
