:root {
  --bg: #0B0B0D; --panel: #0E0E11; --raised: #151518; --line: #1D1D22; --line-strong: #2A2A31;
  --txt: #EDEDEF; --muted: #8E8E96; --faint: #5C5C66; --ok: #5DAE7A; --warn: #CF9A4C; --danger: #E08A7F;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 14px/1.5 var(--sans); }
[hidden] { display: none !important; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12.5px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; } .brand .display { font-size: 21px; }
.who { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12.5px; }
main { max-width: 1040px; margin: 0 auto; padding: 32px 28px 64px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; margin-bottom: 20px; }
.card.narrow { max-width: 420px; margin: 48px auto; }
h1.display { font-size: 34px; margin: 0 0 6px; } h2.display { font-size: 24px; margin: 0; }
h3.eyebrow { margin: 18px 0 6px; }
.stack { display: grid; gap: 12px; margin: 18px 0 10px; }
label { display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); }
input, select { background: var(--bg); color: var(--txt); border: 1px solid #26262C; border-radius: 5px; padding: 0 10px; height: 32px; font: inherit; }
input:focus, select:focus { outline: none; border-color: #6A6A74; }
button, .button { background: transparent; color: var(--txt); border: 1px solid var(--line-strong); border-radius: 5px; height: 32px; padding: 0 14px;
  font: 500 12.5px var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button:hover, .button:hover { background: var(--raised); }
button.primary { background: var(--txt); color: var(--bg); border-color: var(--txt); } button.primary:hover { background: #fff; }
button.danger { color: var(--danger); border-color: #4A2622; } button.danger:hover { background: #1E1210; }
button.small, .ghost.small { height: 26px; padding: 0 10px; font-size: 12px; }
button:disabled { opacity: 0.45; cursor: default; }
.heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.stats { display: flex; gap: 28px; } .stat { display: grid; } .num { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.licence { display: flex; align-items: center; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; } .dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; } .inline input { width: 230px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 500; font-size: 11px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--faint); font-size: 12px; }
.right { text-align: right; } td.right > * + * { margin-left: 6px; }
.note { background: var(--raised); border: 1px solid var(--line-strong); border-radius: 6px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; overflow-wrap: anywhere; }
.note code { font-family: Consolas, monospace; font-size: 12px; color: var(--txt); }
.flash { max-width: 1040px; margin: 0 auto 16px; padding: 10px 14px; border-radius: 6px; background: #1E1210; border: 1px solid #4A2622; color: #F0A79D; }
.flash.ok { background: #102016; border-color: #24452F; color: #9FD8B0; }
.pill { font-size: 11.5px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
@media (max-width: 640px) {
  main { padding: 20px 16px 48px; } .top { padding: 12px 16px; }
  .inline input { width: 100%; } th:nth-child(2), td:nth-child(2) { display: none; }
}
