/* Capture Intelligence developer portal. Palette: white, ink #1d2330, muted
   #5b6475, line #d9dde5, accent #1b5fb4, red #a4262c (dark mode: the lighter
   twins below). The CSP allows only this file and data: images, so icons are
   inline SVG masks and the font is the system's. */

:root {
  color-scheme: light dark;
  --bg: #f5f7fa;
  --surface: #fff;
  --thead: #f8f9fb;
  --fg: #1d2330;
  --muted: #5b6475;
  --line: #d9dde5;
  --line-soft: #e9ecf1;
  --accent: #1b5fb4;
  --accent-hover: #164f96;
  --accent-soft: #e8f0fb;
  --on-accent: #fff;
  --bad: #a4262c;
  --bad-soft: #fbeaea;
  --on-bad: #fff;
  --brand: #1b5fb4;
  --side-bg: #1d2330;
  --side-fg: #c9cfdb;
  --side-muted: #8a93a6;
  --side-line: rgba(255, 255, 255, 0.08);
  --side-hover: rgba(255, 255, 255, 0.06);
  --side-active: rgba(122, 176, 245, 0.14);
  --side-accent: #7ab0f5;
  --code-bg: #1d2330;
  --code-fg: #e6e9f0;
  --shadow: 0 1px 2px rgba(29, 35, 48, 0.05), 0 1px 3px rgba(29, 35, 48, 0.07);
  --shadow-lg: 0 16px 40px rgba(29, 35, 48, 0.18);
  --radius: 10px;
  --side-w: 248px;
  --mono: ui-monospace, "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171f;
    --surface: #1b1f29;
    --thead: #181c25;
    --fg: #e6e9f0;
    --muted: #a0a8b8;
    --line: #2e3442;
    --line-soft: #252a36;
    --accent: #7ab0f5;
    --accent-hover: #9cc4f8;
    --accent-soft: rgba(122, 176, 245, 0.14);
    --on-accent: #14171f;
    --bad: #f08a8f;
    --bad-soft: rgba(240, 138, 143, 0.13);
    --on-bad: #14171f;
    --side-bg: #0f1218;
    --code-bg: #0f1218;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sidebar :focus-visible, .who :focus-visible { outline-color: var(--side-accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hint { color: var(--muted); font-size: 13px; }
.loading { color: var(--muted); }

/* ---- sidebar ---- */
.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--side-w); z-index: 10;
  display: flex; flex-direction: column; padding: 20px 14px 16px; overflow-y: auto;
  background: var(--side-bg); color: var(--side-fg);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 18px; text-decoration: none; }
.mark {
  display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 9px; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.mark-lg { width: 52px; height: 52px; border-radius: 13px; font-size: 19px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { color: #fff; font-weight: 650; font-size: 14.5px; line-height: 1.2; }
.brand-sub { color: var(--side-muted); font-size: 12px; }

#nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-group {
  margin: 18px 10px 6px; color: var(--side-muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.nav-group:first-child { margin-top: 6px; }
#nav a {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: 8px;
  color: var(--side-fg); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
#nav a::before {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor; opacity: 0.85;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
#nav a:hover { background: var(--side-hover); color: #fff; }
#nav a[aria-current="page"],
.page-guide #nav a[href="/guide.html"],
.page-downloads #nav a[href="/downloads.html"] { background: var(--side-active); color: #fff; }
#nav a[aria-current="page"]::after,
.page-guide #nav a[href="/guide.html"]::after,
.page-downloads #nav a[href="/downloads.html"]::after {
  content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--side-accent);
}

.who {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 14px; padding: 14px 8px 2px; border-top: 1px solid var(--side-line);
}
.who:empty { display: none; }
.avatar {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--side-active); color: #fff; font-size: 13px; font-weight: 650;
}
.who-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.who-name { color: #fff; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-role { color: var(--side-muted); font-size: 12px; }
.who button { flex: 1 0 100%; background: transparent; border-color: rgba(255, 255, 255, 0.16); color: var(--side-fg); }
.who button:not(:disabled):hover { background: var(--side-hover); border-color: rgba(255, 255, 255, 0.28); color: #fff; }

/* ---- content ---- */
.content { margin-left: var(--side-w); min-height: 100vh; padding: 32px 32px 72px; }
main { max-width: 72rem; margin: 0 auto; }
#status {
  max-width: 72rem; margin: 0 auto 18px; padding: 10px 14px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
#status:empty { display: none; }
.content > #status:not(:empty) {
  position: fixed; top: 16px; right: 24px; z-index: 20; max-width: min(28rem, calc(100vw - 48px));
  margin: 0; box-shadow: var(--shadow-lg);
}
body.booting #nav, body.booting .who { visibility: hidden; }
#status.error { background: var(--bad-soft); border-color: transparent; color: var(--bad); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.lede { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.page-actions { display: flex; gap: 10px; }
.section-title { margin: 8px 0 12px; font-size: 16px; font-weight: 650; }

section > p[role="status"] { margin: 0 0 16px; }
section > p[role="status"]:empty { display: none; }
section > p[role="status"]:not(:empty) {
  padding: 10px 14px; border-radius: 8px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); color: var(--fg);
}
section > p[role="status"].error { border-left-color: var(--bad); background: var(--bad-soft); color: var(--bad); }

/* ---- cards ---- */
.card {
  margin: 0 0 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.card-title { margin: 0 0 16px; font-size: 16px; font-weight: 650; }
.card-head .card-title { margin: 0; }
.card-body { margin: 0; padding: 16px 20px; }
.card.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.card.empty p { margin: 4px 0; }
.count {
  padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 600;
}

.grid { display: grid; gap: 16px; margin-bottom: 20px; }
.grid > .card { margin: 0; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid.actions { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-of { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.stat-text { font-size: 18px; font-weight: 650; }
.stat .badge { align-self: flex-start; }

.action {
  display: flex; flex-direction: column; gap: 6px; color: var(--fg); text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.action:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.action-title { display: flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 650; }
.action-title::after { content: "\2192"; transition: transform 0.15s; }
.action:hover .action-title::after { transform: translateX(3px); }
.action-text { color: var(--muted); font-size: 14px; }

meter.meter {
  display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--line-soft); -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
meter.meter::-webkit-meter-bar { height: 8px; border: 0; border-radius: 999px; background: var(--line-soft); }
meter.meter::-webkit-meter-optimum-value,
meter.meter::-webkit-meter-suboptimum-value,
meter.meter::-webkit-meter-even-less-good-value { border-radius: 999px; background: var(--accent); }
meter.meter::-moz-meter-bar { border-radius: 999px; background: var(--accent); }
.stat meter.meter { margin-top: 6px; }

.chart { display: block; color: var(--accent); }
.chart rect { opacity: 0.85; transition: opacity 0.15s; }
.chart rect:hover { opacity: 1; }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-base { stroke: var(--line); stroke-width: 1; }

/* ---- forms ---- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-group { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.form-group:last-of-type { margin-bottom: 0; }
.form-group legend { margin-bottom: 10px; padding: 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field-actions { display: flex; gap: 8px; }
.form-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
input, select, textarea {
  width: 100%; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--fg); font: inherit; font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 80px; resize: vertical; font-family: var(--mono); font-size: 13px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.7; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-soft);
}

/* ---- buttons ---- */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--fg); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
button:not(:disabled):hover, .btn:hover { border-color: var(--muted); background: var(--bg); }
button.primary { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
button.primary:not(:disabled):hover { border-color: var(--accent-hover); background: var(--accent-hover); }
button.danger { color: var(--bad); }
button.danger:not(:disabled):hover { border-color: var(--bad); background: var(--bad-soft); }
button.danger.solid { border-color: var(--bad); background: var(--bad); color: var(--on-bad); }
button.danger.solid:not(:disabled):hover { background: var(--bad); filter: brightness(1.08); }
button.small, .btn.small { padding: 5px 10px; border-radius: 7px; font-size: 13px; }
button.wide { width: 100%; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-row input, .btn-row select { width: auto; min-width: 9rem; flex: 1 1 9rem; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--thead);
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-align: left; text-transform: uppercase; white-space: nowrap;
}
td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:last-child td,
tbody tr:has(+ tr.panel-row:last-child) td { border-bottom: 0; }
tbody tr:hover td { background: var(--thead); }
td.num { font-variant-numeric: tabular-nums; }
td.when { color: var(--muted); font-size: 13px; white-space: nowrap; }
td.mono { font-family: var(--mono); font-size: 12.5px; }
td.actions { width: 1%; min-width: 19rem; }
@media (min-width: 1400px) { td.actions > .btn-row { flex-wrap: nowrap; } }
.cell-title { display: block; margin-bottom: 4px; font-weight: 600; }
.cell-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.ip { display: block; white-space: nowrap; }
.cell-links { display: flex; gap: 12px; margin-top: 4px; font-size: 13px; }
.cell-links a { text-decoration: none; }
.cell-links a:hover { text-decoration: underline; }
td.bar-cell { width: 40%; min-width: 120px; vertical-align: middle; }
code.key-id {
  padding: 2px 6px; border: 1px solid var(--line-soft); border-radius: 6px;
  background: var(--bg); font-size: 12.5px; white-space: nowrap;
}
code.detail { font-size: 12px; word-break: break-all; }
.type { text-transform: capitalize; }
.person { font-weight: 600; }

tr.panel-row td { padding: 0 16px; }
tr.panel-row td > .inline-panel { position: sticky; left: 16px; max-width: min(44rem, calc(100vw - 64px)); }
tr.panel-row:has(.inline-panel:empty) { display: none; }
tbody tr.panel-row:hover td { background: none; }
tr:has(+ tr.panel-row .inline-panel:not(:empty)) td { border-bottom-color: transparent; }
.inline-panel {
  display: flex; flex-direction: column; gap: 8px; max-width: 44rem; margin: 0 0 14px; padding: 14px 16px;
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--bg);
}
.inline-panel:empty { display: none; }
.inline-panel p { margin: 0; }
.inline-panel textarea { min-height: 64px; }

/* ---- badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge:empty { display: none; }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-outline { border-color: var(--accent); color: var(--accent); }
.badge-muted { background: var(--line-soft); color: var(--muted); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }

/* ---- the show-once dialog ---- */
dialog.modal {
  width: min(34rem, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 14px;
  background: var(--surface); color: var(--fg); box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgba(15, 18, 24, 0.55); }
dialog.modal h2 { margin: 0 0 8px; font-size: 19px; }
.warn-line { margin: 0; color: var(--muted); }
.secret { margin: 18px 0 10px; }
.secret code {
  display: block; padding: 14px; border-radius: 8px; background: var(--code-bg); color: var(--code-fg);
  font-size: 13px; word-break: break-all; -webkit-user-select: all; user-select: all;
}
dialog p[role="status"] { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 13px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---- signed out and the callback ---- */
body.signed-out .sidebar { display: none; }
body.signed-out .content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-left: 0; padding: 24px 16px;
  background: linear-gradient(180deg, var(--side-bg) 0, var(--side-bg) 40vh, var(--bg) 40vh);
}
body.signed-out main { width: 100%; margin: 0; display: flex; justify-content: center; }
body.signed-out .content > #status:not(:empty) { position: static; box-shadow: none; }
body.signed-out #status { width: min(28rem, 100%); margin: 0 auto 14px; }
.signin {
  width: min(28rem, 100%); padding: 36px 32px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow-lg); text-align: center;
}
.signin h1 { margin: 16px 0 6px; font-size: 20px; }
.signin > p { margin: 0 0 22px; color: var(--muted); }
.signin .signin-foot { margin: 18px 0 0; font-size: 13px; }
.signin-foot > * { display: block; }
.signin #status { width: auto; margin: 16px 0 0; padding: 0; border: 0; background: none; font-size: 15px; }
.signin #status.error { background: none; }

/* ---- guide and downloads ---- */
main.doc { max-width: 52rem; }
.doc h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.015em; }
.doc > .lede { margin-bottom: 22px; font-size: 16px; }
.doc h2 {
  margin: 40px 0 12px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 20px; scroll-margin-top: 24px;
}
.doc h3 { margin: 24px 0 8px; font-size: 15.5px; }
.doc p, .doc li { line-height: 1.65; }
.doc li { margin: 4px 0; }
.doc :not(pre) > code { padding: 1px 5px; border-radius: 5px; background: var(--line-soft); font-size: 0.88em; }
.doc pre {
  overflow-x: auto; margin: 12px 0 18px; padding: 16px 18px; border-radius: 10px;
  background: var(--code-bg); color: var(--code-fg); font-size: 13px; line-height: 1.6;
}
.doc table {
  margin: 12px 0 20px; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0;
  border-radius: 10px; overflow: hidden; background: var(--surface);
}
.doc th, .doc td { padding: 10px 14px; }
.toc { margin: 0 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.toc-title { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { padding: 2px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 22px 0; }
.download { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--fg); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.download:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.dl-title { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.dl-title::before {
  content: ""; width: 18px; height: 18px; background: var(--accent);
  -webkit-mask: var(--icon-download) center / contain no-repeat; mask: var(--icon-download) center / contain no-repeat;
}
.dl-file { color: var(--accent); font-family: var(--mono); font-size: 12px; }
.dl-text { color: var(--muted); font-size: 14px; }

/* ---- phones and small tablets: the sidebar becomes a top bar ---- */
@media (max-width: 900px) {
  .sidebar {
    position: sticky; top: 0; bottom: auto; width: auto; height: auto;
    flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 16px;
  }
  .brand { margin-right: auto; padding: 0; }
  .brand-sub { display: none; }
  #nav { order: 3; flex: 1 0 100%; flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .nav-group { display: none; }
  #nav a { padding: 6px 10px; font-size: 13.5px; white-space: nowrap; }
  #nav a[aria-current="page"]::after,
  .page-guide #nav a[href="/guide.html"]::after,
  .page-downloads #nav a[href="/downloads.html"]::after { display: none; }
  .who { margin: 0; padding: 0; border: 0; }
  .who-text { display: none; }
  .who button { flex: none; }
  .content { margin-left: 0; padding: 20px 16px 48px; }
  .card { padding: 16px; }
  .card-head, .card-body { padding-left: 16px; padding-right: 16px; }
  .page-head h1, .doc h1 { font-size: 23px; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .toc ol { columns: 1; }
  .doc h2, .doc h3 { scroll-margin-top: 120px; }
  .content > #status:not(:empty) { position: static; margin: 0 0 14px; max-width: none; box-shadow: none; }
  .doc table { display: block; overflow-x: auto; }
}

/* ---- icons (inline SVG, drawn as masks in the text colour) ---- */
#nav a[href="/#/home"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E"); }
#nav a[href="/#/keys"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M10.8 12.2 20 3'/%3E%3Cpath d='m16 7 3 3'/%3E%3Cpath d='m14 9 2 2'/%3E%3C/svg%3E"); }
#nav a[href="/#/usage"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 16v-5'/%3E%3Cpath d='M12 16V6'/%3E%3Cpath d='M17 16V9'/%3E%3C/svg%3E"); }
#nav a[href="/#/members"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.4 3.3-5.5 6.5-5.5s5.9 2.1 6.5 5.5'/%3E%3Cpath d='M15.5 4.8a3.5 3.5 0 0 1 0 6.4'/%3E%3Cpath d='M18 14.8c2 .8 3.2 2.6 3.5 5.2'/%3E%3C/svg%3E"); }
#nav a[href="/#/staff"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.1 8.2 7.5 9.5 4.4-1.3 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
#nav a[href="/guide.html"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4.5A1.5 1.5 0 0 1 5.5 3H20v16H5.5A1.5 1.5 0 0 0 4 20.5z'/%3E%3Cpath d='M4 20.5A1.5 1.5 0 0 0 5.5 22H20'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/svg%3E"); }
#nav a[href="/downloads.html"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); }
.dl-title { --icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); }
