/* Styles from the approved mockups (mockups/index.html).
   All colours are CSS variables in the :root blocks below: to change the palette,
   edit only these blocks (light theme first, then the two dark-theme blocks). */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f6f9;
  --ink: #1c2233;
  --muted: #6b7185;
  --faint: #a2a7b6;
  --line: #e7e9f0;
  --line-strong: #d7dae4;
  --accent: #1f35c8;
  --accent-ink: #ffffff;
  --accent-soft: #eef0fd;
  --focus: #4a5ee0;
  --shadow: 0 1px 3px rgb(28 34 51 / .06);

  --ok: #2e7a4d;        --ok-bg: #e2f2e8;
  --ask: #6346b8;       --ask-bg: #ece7fa;
  --wait: #4e6470;      --wait-bg: #e8eef1;
  --soon: #a06207;      --soon-bg: #fbf0d9;
  --late: #b3322b;      --late-bg: #fbe4e2;
  --review: #a3346f;    --review-bg: #fae6f0;
  --rej: #9e1c2c;       --rej-ink: #ffffff;

  --radius: 6px;
  --sans: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --code: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #12141c; --surface: #181b25; --surface-2: #1e2230;
    --ink: #e6e8f0; --muted: #9ba1b4; --faint: #6c7286;
    --line: #2a2f3e; --line-strong: #363c4e;
    --accent: #7d8cff; --accent-ink: #0e1130; --accent-soft: #222848; --focus: #9aa6ff;
    --shadow: 0 1px 3px rgb(0 0 0 / .3);
    --ok: #6cc893; --ok-bg: #173226;
    --ask: #b3a0f2; --ask-bg: #2a2344;
    --wait: #a9bcc6; --wait-bg: #243036;
    --soon: #e8b458; --soon-bg: #3a2c12;
    --late: #f08a82; --late-bg: #3d1d1b;
    --review: #ec8fc0; --review-bg: #3b1d2d; --rej: #e0475a; --rej-ink: #1a0508;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141c; --surface: #181b25; --surface-2: #1e2230;
  --ink: #e6e8f0; --muted: #9ba1b4; --faint: #6c7286;
  --line: #2a2f3e; --line-strong: #363c4e;
  --accent: #7d8cff; --accent-ink: #0e1130; --accent-soft: #222848; --focus: #9aa6ff;
  --shadow: 0 1px 3px rgb(0 0 0 / .3);
  --ok: #6cc893; --ok-bg: #173226;
  --ask: #b3a0f2; --ask-bg: #2a2344;
  --wait: #a9bcc6; --wait-bg: #243036;
  --soon: #e8b458; --soon-bg: #3a2c12;
  --late: #f08a82; --late-bg: #3d1d1b;
  --review: #ec8fc0; --review-bg: #3b1d2d; --rej: #e0475a; --rej-ink: #1a0508;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--sans);
  font-feature-settings: "tnum";
}
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }

/* ---------- app shell ---------- */
.topbar {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 40px; min-height: 64px;
  padding-inline: 20px; background: var(--surface); box-shadow: 0 1px 0 var(--line), var(--shadow);
  position: relative; z-index: 1;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font: 700 12px var(--sans);
}
.topnav { display: flex; flex-wrap: wrap; gap: 28px; }
.topnav a {
  display: flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 13px;
  border-bottom: 2px solid transparent; padding-top: 2px;
}
.topnav a:hover { color: var(--accent); }
.topnav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.topnav a.dd::after { content: ""; width: 6px; height: 6px; margin-left: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .6; }
.user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.user-text { display: grid; line-height: 1.25; }
.user-role { font-size: 10px; color: var(--muted); }
.user-name { font-size: 12px; font-weight: 600; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.icon-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 0; background: var(--surface-2); color: var(--muted);
  display: grid; place-items: center; font-size: 15px;
}
main { max-width: 1680px; margin: 0 auto; padding-inline: 20px; padding-block: 28px 48px; display: grid; gap: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--surface); cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: none; color: var(--ink);
  white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.btn-sm { padding: 4px 10px; font-size: 13px; }
.btn-danger { color: var(--rej); border-color: var(--rej); }
.btn-danger:hover { background: var(--rej); color: var(--rej-ink); border-color: var(--rej); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.field { display: grid; gap: 6px; }
.field > span { font-weight: 500; }
.input, .select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13px;
  background: var(--surface);
}
.hint { font-size: 12px; color: var(--muted); }

/* ---------- status pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 99px;
  font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.5;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-ok     { color: var(--ok);     background: var(--ok-bg); }
.s-ask    { color: var(--ask);    background: var(--ask-bg); }
.s-wait   { color: var(--wait);   background: var(--wait-bg); }
.s-soon   { color: var(--soon);   background: var(--soon-bg); }
.s-late   { color: var(--late);   background: var(--late-bg); }
.s-review { color: var(--review); background: var(--review-bg); }
.s-rej    { color: var(--rej-ink); background: var(--rej); font-weight: 600; }
.s-rej::before { content: "✕"; width: auto; height: auto; background: none; font-size: 10px; line-height: 1; }
.s-review::before { border-radius: 1px; transform: rotate(45deg); }

/* ---------- board ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.page-head .sub { color: var(--muted); margin-top: 2px; }
.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
}
.filters .field { min-width: 150px; flex: 1 1 150px; }
.filters .field > span { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.summary { display: flex; flex-wrap: wrap; gap: 8px; }
.summary a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: var(--ink);
}
.summary .n { font: 500 13px var(--mono); }

.board-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
table.board { border-collapse: collapse; width: 100%; min-width: 980px; }
.board th, .board td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; text-align: left; }
.board th:last-child, .board td:last-child { border-right: 0; }
.board tbody tr:last-child td, .board tbody tr:last-child th { border-bottom: 0; }
.board thead th { padding: 10px 12px; background: var(--surface-2); font-weight: 600; font-size: 12px; }
.board thead th:first-child, .tbl thead th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.board thead .set { display: block; font-weight: 600; }
.board thead .set-meta { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.board thead a.sarex { font-size: 12px; }
.board tbody th { padding: 12px; width: 150px; background: var(--surface); }
.board tbody th .corp { display: block; font-weight: 600; }
.board tbody th .corp-meta { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.board td { padding: 6px; }
.cell { display: grid; gap: 4px; }
.n-item {
  display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center;
  padding: 6px 8px; border-radius: 4px; text-decoration: none; color: var(--ink);
  border-left: 3px solid var(--st, var(--line-strong));
}
.n-item:hover { background: var(--surface-2); }
.n-link { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; flex: 1 1 100%; color: inherit; text-decoration: none; }
.n-status { display: flex; gap: 6px; flex: 1 1 100%; }
.n-status .select { padding: 2px 6px; font-size: 12px; height: auto; min-height: 0; }
.manual { display: grid; gap: 14px; }
.manual-row { display: grid; gap: 8px; }
.manual-row .input[type="date"] { width: auto; }
.btn[aria-pressed="true"] { opacity: 1; background: var(--surface-2); color: var(--muted); }
.n-item .who { font-size: 13px; flex: 1 1 100%; }
.n-item .days { font: 12px var(--mono); color: var(--muted); flex: 1 1 96px; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--st); border-radius: 2px; }
.n-item.ok { --st: var(--ok); } .n-item.ask { --st: var(--ask); } .n-item.wait { --st: var(--wait); }
.n-item.soon { --st: var(--soon); } .n-item.late { --st: var(--late); } .n-item.review { --st: var(--review); } .n-item.rej { --st: var(--rej); }
.n-item.review { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--review-bg) 6px 12px); }
.empty-cell { display: grid; place-items: center; min-height: 52px; color: var(--faint); font-size: 12px; }
.cell-sum > summary {
  list-style: none; cursor: pointer; display: grid; gap: 6px; padding: 8px; border-radius: 4px;
}
.cell-sum > summary::-webkit-details-marker { display: none; }
.cell-sum > summary:hover { background: var(--surface-2); }
.sum-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; }
.sum-count { font-size: 13px; }
.sum-count b { font-weight: 500; }
.seg { display: flex; gap: 2px; height: 6px; }
.seg i { flex: 1; border-radius: 2px; }
.seg .ok { background: var(--ok); } .seg .ask { background: var(--ask); } .seg .wait { background: var(--line-strong); }
.seg .soon { background: var(--soon); } .seg .late { background: var(--late); } .seg .review { background: var(--review); } .seg .rej { background: var(--rej); }
.sum-more { font-size: 12px; color: var(--accent); }
.sum-more::after { content: " ▾"; }
.cell-sum[open] .sum-more::after { content: " ▴"; }
.cell-sum .list { display: grid; gap: 4px; padding: 2px 0 4px; border-top: 1px dashed var(--line); margin-top: 2px; }
.n-item.off { color: var(--faint); border-left-color: var(--line); }
.n-item.off .days { color: var(--faint); }
.empty-cell a { color: var(--muted); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--muted); align-items: center; }

/* ---------- send form ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.panel-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-body { padding: 16px; display: grid; gap: 18px; }
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.step-no {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font: 500 12px var(--mono); color: var(--muted);
}
.step.done .step-no { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.checklist { display: grid; gap: 6px; }
.check {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check small { color: var(--muted); display: block; }
.warn-note { font-size: 12px; color: var(--soon); }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-top: 1px solid var(--line); }

.mail { font-size: 13px; }
.mail-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mail-meta dt { color: var(--muted); }
.mail-meta dd { margin: 0; overflow-wrap: anywhere; }
.mail-body { padding: 16px; display: grid; gap: 12px; max-width: 62ch; }
.mail-body .mail-btn { justify-self: start; }
.mail-note { display: grid; gap: 4px; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 4px 4px 0; white-space: pre-wrap; }
textarea.input { resize: vertical; min-height: 80px; line-height: 1.5; }

/* ---------- card ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.card-head { display: grid; gap: 10px; }
.card-title { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--surface); padding: 10px 12px; display: grid; gap: 2px; }
.fact .v { font-weight: 500; overflow-wrap: anywhere; }

.review-box {
  border: 1px solid var(--review); border-radius: var(--radius); background: var(--surface);
  display: grid; gap: 12px; padding: 16px;
}
.review-box .head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.conf { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.conf .bar { width: 140px; flex: none; height: 6px; }
.conf .bar i { background: var(--review); }
.conf .bar .thr { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); left: 70%; }
.reason { padding: 10px 12px; background: var(--surface-2); border-radius: 4px; color: var(--muted); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.ev { display: grid; grid-template-columns: 116px 18px 1fr; gap: 0 12px; }
.ev-time { font: 12px var(--mono); color: var(--muted); padding-top: 12px; text-align: right; }
.ev-rail { position: relative; }
.ev-rail::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.ev:first-child .ev-rail::before { top: 16px; }
.ev:last-child .ev-rail::before { bottom: calc(100% - 16px); }
.ev-rail::after {
  content: ""; position: absolute; left: 3px; top: 12px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--dot, var(--line-strong));
}
.ev-body { padding-block: 10px; display: grid; gap: 6px; min-width: 0; }
.ev-title { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-weight: 500; }
.chan { font: 500 11px var(--sans); color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; }
details.raw { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
details.raw summary { cursor: pointer; padding: 6px 10px; font-size: 13px; color: var(--accent); }
details.raw pre {
  margin: 0; padding: 12px; border-top: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere;
  font: 12.5px/1.55 var(--code); color: var(--ink); background: var(--surface-2);
}

/* ---------- login ---------- */
.login-wrap { min-height: 70vh; display: grid; place-items: center; }
.login { width: 100%; max-width: 380px; display: grid; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.login .brand { margin-bottom: 4px; }
.err { font-size: 13px; color: var(--late); background: var(--late-bg); padding: 8px 10px; border-radius: 4px; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-size: 13px;
  box-shadow: 0 6px 20px rgb(0 0 0 / .18);
}

.note-mock { font-size: 12px; color: var(--faint); }

/* ---------- справочники ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs button {
  border: 0; background: none; padding: 8px 12px; margin-bottom: -1px; cursor: pointer;
  color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent;
}
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.tabs .n { font: 12px var(--mono); color: var(--faint); margin-left: 4px; }
.refs-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.obj-list { display: grid; gap: 6px; }
.obj {
  display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-align: left; cursor: pointer; width: 100%;
}
.obj[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); }
.obj .t { font-weight: 600; }
.obj .m { font-size: 12px; color: var(--muted); }
.obj.archived .t { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { width: 34px; height: 20px; accent-color: var(--accent); }
.sub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.tbl { border-collapse: collapse; width: 100%; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl thead th { background: var(--surface-2); font-weight: 600; white-space: nowrap; padding-block: 12px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tbl .row-actions { text-align: right; white-space: nowrap; }
.tbl tr.off td { color: var(--faint); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border: 1px solid var(--line-strong);
  border-radius: 99px; font-size: 13px; background: var(--surface);
}
.chip button { border: 0; background: none; cursor: pointer; color: var(--muted); width: 20px; height: 20px; border-radius: 50%; line-height: 1; }
.chip button:hover { background: var(--surface-2); color: var(--ink); }
.add-row { display: flex; flex-wrap: wrap; gap: 8px; }
.add-row .input, .add-row .select { flex: 1 1 200px; width: auto; }
.tg-yes { color: var(--ok); } .tg-no { color: var(--faint); }
.bounce { display: block; font-size: 12px; color: var(--late); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.toolbar .input { max-width: 320px; }
.cal-note { padding: 10px 12px; background: var(--surface-2); border-radius: 4px; font-size: 13px; color: var(--muted); max-width: 80ch; }

@media (max-width: 860px) {
  .two-col, .refs-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .user-text { display: none; }
}
@media (max-width: 560px) {
  .ev { grid-template-columns: 18px 1fr; }
  .ev-time { grid-column: 2; grid-row: 1; text-align: left; padding-top: 10px; }
  .ev-rail { grid-column: 1; grid-row: 1 / span 2; }
  .ev-body { grid-column: 2; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- app additions (not in mockups) ---------- */
.tabs a {
  padding: 8px 12px; margin-bottom: -1px; color: var(--muted); font-weight: 500; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.tabs a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.tabs a .n { font: 12px var(--mono); color: var(--faint); margin-left: 4px; }
a.obj { text-decoration: none; color: var(--ink); }
.flash { padding: 10px 14px; border-radius: var(--radius); background: var(--ok-bg); color: var(--ok); }
.flash.error { background: var(--late-bg); color: var(--late); }
.field-error { font-size: 12px; color: var(--late); }
.readonly-note { font-size: 13px; color: var(--muted); }
.inline-form { display: inline; margin: 0; }
.stack { display: grid; gap: 20px; }
.secret { font-family: var(--code); background: var(--surface-2); padding: 2px 6px; border-radius: 4px; user-select: all; }
.topnav a.soon { color: var(--faint); cursor: default; }
.topnav a.soon:hover { color: var(--faint); }
button.icon-btn { cursor: pointer; }

[hidden] { display: none !important; }
