
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/geist-mono-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --paper: #fbfbf4;
  --parchment: #f4ecdd;
  --kelp: #4d5140;
  --kelp-deep: #2e3126;
  --ink: #22251b;
  --muted: #666a58;
  --line: #d9d8c8;
  --pass: #47663a;
  --stop: #a8321f;
  --wait: #8a5a00;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { font-size: 14px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-underline-offset: 0.2em; text-decoration-color: var(--muted); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--kelp-deep); outline-offset: 2px; }
.shell { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); min-height: 100vh; }
.rail {
  background: var(--kelp-deep);
  color: var(--parchment);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.rail a { text-decoration: none; }
.brand { font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.brand small { display: block; font-weight: 400; color: #b9bba6; font-size: 1em; }
.rail nav { display: flex; flex-direction: column; gap: 0.15rem; margin: 0 -0.5rem; }
.rail nav a { padding: 0.3rem 0.5rem; }
.rail nav a:hover { background: var(--kelp); }
.rail nav a[aria-current="page"] { background: var(--parchment); color: var(--kelp-deep); font-weight: 600; }
.rail form { margin-top: auto; }
.rail button { all: unset; cursor: pointer; color: #b9bba6; text-decoration: underline; text-underline-offset: 0.2em; }
.rail button:hover { color: var(--parchment); }
.rail :focus-visible { outline-color: var(--parchment); }
main { padding: 2rem 2.25rem 4rem; min-width: 0; }
h1 { font-size: 1.85rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; margin: 0 0 0.75rem; max-width: 34em; }
h2 { font-size: 1rem; font-weight: 600; margin: 0 0 0.5rem; }
p { margin: 0 0 0.75rem; max-width: 78ch; }
.muted { color: var(--muted); }
.back { display: inline-block; margin-bottom: 1rem; color: var(--muted); }
.block { margin-top: 2.25rem; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2.25rem 3rem; margin-top: 2.25rem; }
.columns .block { margin-top: 0; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; }
th, td { padding: 0.35rem 1rem 0.35rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; }
td.wrap { min-width: 16rem; }
td.nowrap { white-space: nowrap; }
tbody tr:hover { background: var(--parchment); }
.tally { max-width: 34rem; }
.tally td:first-child { width: 4rem; text-align: right; padding-right: 1.25rem; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: end; margin: 1.25rem 0; }
.filters label { display: flex; flex-direction: column; color: var(--muted); }
input, select {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--muted);
  padding: 0.3rem 0.5rem;
  border-radius: 0;
  min-height: 2.15rem;
}
button.action {
  font: inherit;
  font-weight: 600;
  color: var(--paper);
  background: var(--kelp-deep);
  border: 0;
  padding: 0.35rem 0.9rem;
  min-height: 2.15rem;
  cursor: pointer;
}
button.action:hover { background: var(--kelp); }
.gate { display: inline-flex; gap: 2px; vertical-align: 1px; }
.gate i { font-style: normal; font-weight: 600; width: 1.5em; text-align: center; line-height: 1.5; }
.gate .pass { background: var(--pass); color: #fff; }
.gate .stop { background: var(--stop); color: #fff; }
.gate .wait { box-shadow: inset 0 0 0 1.5px var(--wait); color: var(--wait); }
.legend { color: var(--muted); }
.legend .gate { margin-right: 0.5rem; }
.verdict { font-size: 1.1rem; margin: 0.25rem 0 1.5rem; display: flex; gap: 0.75rem; align-items: baseline; flex-wrap: wrap; }
.stop-text { color: var(--stop); }
.wait-text { color: var(--wait); }
.pass-text { color: var(--pass); }
.reasons { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.reasons li { padding: 0.15rem 0; }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.2rem 1.5rem; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
pre { background: var(--parchment); padding: 1rem; margin: 0; overflow-x: auto; line-height: 1.45; font: inherit; white-space: pre; }
.text { white-space: pre-line; max-width: 78ch; margin: 0; }
.locale { margin-top: 1.25rem; }
.locale h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.15rem; }
.pager { display: flex; gap: 1.5rem; margin-top: 1rem; }
.login { min-height: 100vh; display: grid; place-items: center; background: var(--kelp-deep); padding: 1.5rem; }
.login form { background: var(--paper); padding: 2rem; width: min(100%, 24rem); display: grid; gap: 0.85rem; }
.login h1 { font-size: 1.35rem; margin: 0 0 0.25rem; }
.login label { display: grid; gap: 0.2rem; color: var(--muted); }
.login input { width: 100%; }
.login p { margin: 0; }
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding: 0.85rem 1rem; }
  .brand small { display: inline; }
  .rail nav { flex-direction: row; margin: 0; }
  .rail form { margin: 0 0 0 auto; }
  main { padding: 1.25rem 1rem 3rem; }
  h1 { font-size: 1.45rem; }
}
