/* The agency web app's look. Colours are tokens; dark mode is its own set of steps. Chart series colours were checked
   for colour-blind separation and contrast against the card in both modes (teal and orange, light and dark). */
:root {
  color-scheme: light;
  --page: #f2f5f8; --card: #ffffff; --ink: #132130; --ink-2: #44525f; --muted: #66737f; --line: #e2e8ee; --line-2: #eef2f6;
  --accent: #0b6e6f; --accent-2: #0d8a7c; --accent-soft: #e0f2ef; --link: #0a6667;
  --side: #0f1d2b; --side-2: #16293a; --side-ink: #e7eef5; --side-muted: #8fa3b6; --glow: #2fc1ad;
  --hero-a: #102536; --hero-b: #0b6e6f;
  --series-1: #008f7f; --series-2: #e0752f; --grid: #e7ebf0; --axis: #c5ced7;
  --good: #11713a; --good-bg: #e1f3e8; --warn: #8a5a00; --warn-bg: #fdf0d8; --bad: #b42318; --bad-bg: #fde7e5; --info: #1d4f8a; --info-bg: #e5f0fb;
  --strip-ok: #1fae7a; --strip-warn: #f2a516; --strip-off: #b8c3cd;
  --shadow: 0 1px 2px rgba(15, 29, 43, .05), 0 6px 20px rgba(15, 29, 43, .06);
  --shadow-up: 0 2px 4px rgba(15, 29, 43, .08), 0 16px 36px rgba(15, 29, 43, .14);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0c131a; --card: #1a222a; --ink: #e6edf3; --ink-2: #bac6d1; --muted: #8e9cab; --line: #29353f; --line-2: #222c35;
    --accent: #3fc0b0; --accent-2: #3fc0b0; --accent-soft: #163b3a; --link: #6fd3c5;
    --side: #080f15; --side-2: #111c26; --hero-a: #0d1e2c; --hero-b: #0a4f50;
    --series-1: #1fa190; --series-2: #d9692a; --grid: #26313b; --axis: #3b4955;
    --good: #8fd9ab; --good-bg: #163423; --warn: #f2c46d; --warn-bg: #3a2c10; --bad: #f4a19b; --bad-bg: #3f1b1a; --info: #9cc6f2; --info-bg: #15304d;
    --strip-off: #3b4955;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    --shadow-up: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 36px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------------------------------------------------------------- shell and sidebar */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { background: linear-gradient(180deg, var(--side) 0%, var(--side-2) 100%); color: var(--side-ink); position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px 14px 16px; }
.brand { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; padding: 4px 8px 10px; }
.brand img { border-radius: 10px; box-shadow: 0 6px 18px rgba(217, 71, 59, .35); }
.brand b { display: block; font-size: 18px; letter-spacing: -.01em; line-height: 1.2; }
.brand small { display: block; color: var(--side-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
nav { display: flex; flex-direction: column; gap: 2px; }
nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--side-ink); text-decoration: none; font-size: 14px; }
nav a:hover { background: rgba(255, 255, 255, .06); }
nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); box-shadow: inset 3px 0 0 var(--glow); }
nav a svg { color: var(--side-muted); flex: none; }
nav a[aria-current="page"] svg { color: var(--glow); }
nav .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-head { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--side-muted); padding: 14px 10px 4px; }
nav .sub { padding-left: 30px; font-size: 13px; color: var(--side-muted); }
nav .sub[aria-current="page"] { color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--strip-ok); box-shadow: 0 0 0 3px rgba(31, 174, 122, .18); }
.dot.warn { background: var(--strip-warn); box-shadow: 0 0 0 3px rgba(242, 165, 22, .2); }
.dot.off { background: #4d6276; box-shadow: none; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 6px 0; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.side-foot .agency { flex: 1; min-width: 0; }
.side-foot .agency b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot .agency small { color: var(--side-muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(135deg, #2fc1ad, #1d6fa5); }
.side-foot button { background: transparent; border-color: rgba(255, 255, 255, .18); color: var(--side-ink); padding: 6px; display: grid; place-items: center; }
.side-foot button:hover { background: rgba(255, 255, 255, .08); }

/* ---------------------------------------------------------------- page header and content */
main { min-width: 0; padding-bottom: 64px; }
.hero { position: relative; overflow: hidden; color: #fff; padding: 26px 40px 84px;
  background: radial-gradient(900px 320px at 88% -20%, rgba(47, 193, 173, .45), transparent 60%), radial-gradient(600px 260px at 10% 120%, rgba(217, 71, 59, .22), transparent 60%), linear-gradient(120deg, var(--hero-a), var(--hero-b)); }
.hero::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.crumbs { display: flex; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { color: rgba(255, 255, 255, .4); }
.hero h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 6px; font-weight: 750; }
.hero p { color: rgba(255, 255, 255, .8); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.content { position: relative; padding: 0 40px; margin-top: -58px; display: flex; flex-direction: column; gap: 26px; max-width: 1280px; }
h2 { font-size: 18px; margin: 0 0 12px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
h2 .count { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--line-2); padding: 1px 9px; border-radius: 999px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.section-head h2 { margin: 0; }
td button { padding: 3px 12px; font-size: 13px; }
h3 { font-size: 15px; margin: 18px 0 8px; font-weight: 650; }
.muted { color: var(--muted); }
.empty { color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }

/* ---------------------------------------------------------------- tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 15px; overflow: hidden; }
.tile .icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 10px; }
.tile.warn .icon { background: var(--warn-bg); color: var(--warn); }
.tile.good .icon { background: var(--good-bg); color: var(--good); }
.tile .label { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.tile .value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 30px; font-weight: 750; letter-spacing: -.025em; line-height: 1.2; margin: 2px 0 2px; }
.tile .sub { color: var(--muted); font-size: 13px; }
.tile.lead { background: linear-gradient(140deg, var(--card) 55%, var(--accent-soft)); }
.tile.lead::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent-2); }
.delta { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: 0; padding: 2px 8px 2px 6px; border-radius: 999px; }
.delta.up { color: var(--good); background: var(--good-bg); }
.delta.down { color: var(--bad); background: var(--bad-bg); }
.delta.flat { color: var(--muted); background: var(--line-2); }

/* ---------------------------------------------------------------- client cards */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.client { position: relative; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 16px; transition: transform .15s ease, box-shadow .15s ease; }
.client::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--strip-ok); }
.client.warn::before { background: var(--strip-warn); }
.client.off::before { background: var(--strip-off); }
.client:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.client-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.client-head b { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.client-head small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.figs div { background: var(--line-2); border-radius: 10px; padding: 8px 10px; }
.figs b { display: block; font-size: 18px; letter-spacing: -.01em; }
.figs span { font-size: 12px; color: var(--muted); }
.client-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.client-foot svg { color: var(--accent); }
.locked { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; font-weight: 500; }

/* Income this year against last year to date: two thin bars on one scale. */
.compare { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 10px; align-items: center; font-size: 12.5px; }
.compare .track { height: 10px; border-radius: 0 5px 5px 0; background: var(--line-2); overflow: hidden; }
.compare .bar { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; }
.compare .s1 { background: var(--series-1); }
.compare .s2 { background: var(--series-2); }
.compare .v { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.compare-head b { font-size: 24px; letter-spacing: -.02em; }

/* ---------------------------------------------------------------- statuses, pills, alerts */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 650; padding: 3px 10px 3px 8px; border-radius: 999px; white-space: nowrap; }
.status.ok, .pill.success { color: var(--good); background: var(--good-bg); }
.status.warn, .pill.warning { color: var(--warn); background: var(--warn-bg); }
.status.bad, .pill.danger { color: var(--bad); background: var(--bad-bg); }
.status.off, .pill.default { color: var(--muted); background: var(--line-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--info-bg); color: var(--info); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bad-bg); border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent); }
.alert > svg { color: var(--bad); flex: none; margin-top: 2px; }
.alert.warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.alert.warn > svg { color: var(--warn); }
.alert.ok { background: var(--good-bg); border-color: color-mix(in srgb, var(--good) 30%, transparent); }
.alert.ok > svg { color: var(--good); }
.alert b { display: block; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------------------------------------------------------------- report links */
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.report { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 650; transition: border-color .15s, transform .15s; }
.report:hover { border-color: var(--accent-2); transform: translateY(-1px); }
.report .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.report .go { margin-left: auto; color: var(--muted); }

/* ---------------------------------------------------------------- tables */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--accent-2) 4%, transparent); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 700; border-top: 1px solid var(--line); border-bottom: 0; background: color-mix(in srgb, var(--ink) 3%, var(--card)); }
th button.sort { all: unset; cursor: pointer; font: inherit; color: inherit; display: inline-flex; gap: 4px; }
th button.sort:hover, th button.sort:focus-visible { color: var(--ink); }
th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--accent); }
td a { font-weight: 600; text-decoration: none; }
td a:hover { text-decoration: underline; }
code { font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); background: var(--line-2); padding: 1px 6px; border-radius: 6px; }
small.block { display: block; color: var(--muted); }
/* The export page's files (PLAN.md assumption 88): on a phone the counts go under each name, so Download stays in view. */
table.files small.block { display: none; }
@media (max-width: 600px) { table.files .wide { display: none; } table.files small.block { display: block; } table.files b { overflow-wrap: anywhere; } }
/* A share of a whole, as a thin bar beside its percentage. */
.share { display: inline-flex; align-items: center; gap: 10px; }
.share i { width: 72px; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; display: inline-block; }
.share i span { display: block; height: 100%; border-radius: 99px; background: var(--series-1); }

/* ---------------------------------------------------------------- charts */
.chart { padding: 16px 18px 8px; overflow: visible; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--ink-2); margin: 0 0 6px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend .s1 { background: var(--series-1); }
.legend .s2 { background: var(--series-2); }
.chart svg { display: block; width: 100%; height: auto; }
.chart text { fill: var(--muted); font-size: 12px; font-family: inherit; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { stroke: var(--axis); stroke-width: 1; }
.chart .s1 { fill: var(--series-1); }
.chart .s2 { fill: var(--series-2); }
.chart .band { fill: transparent; cursor: default; }
.chart .band:hover, .chart .band:focus { fill: color-mix(in srgb, var(--ink) 4%, transparent); outline: none; }
details.table-view { padding: 0 18px 12px; }
details.table-view summary { cursor: pointer; color: var(--link); font-size: 13px; font-weight: 600; padding: 4px 0 8px; }
details.table-view .card { box-shadow: none; }
.tip { position: fixed; z-index: 20; pointer-events: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-up); border-radius: 10px; padding: 8px 12px; font-size: 13px; min-width: 150px; }
.tip .t { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.tip .row { display: flex; align-items: center; gap: 8px; }
.tip .row b { font-size: 15px; font-variant-numeric: tabular-nums; }
.tip .row i { width: 12px; height: 3px; border-radius: 2px; display: inline-block; }
.tip .s1 { background: var(--series-1); }
.tip .s2 { background: var(--series-2); }

/* ---------------------------------------------------------------- controls and the review queue */
button { font: inherit; font-weight: 600; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 7px 16px; cursor: pointer; }
button:hover { border-color: var(--accent-2); }
button.primary, a.button { background: var(--accent); border-color: var(--accent); color: #fff; }
a.button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; text-decoration: none; font-weight: 650; align-self: flex-start; }
button.primary:hover, a.button:hover { filter: brightness(1.08); }
button:disabled { opacity: .5; cursor: default; }
.match { padding: 16px 18px; }
.match .card { border: 0; box-shadow: none; }
.match p { margin: 0 0 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
select { font: inherit; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.notice { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--strip-warn); border-radius: 10px; padding: 12px 16px; margin: 0; }
.notice.ok { border-left-color: var(--strip-ok); }

/* ---------------------------------------------------------------- loading and sign-in */
.loading { display: flex; gap: 8px; padding: 120px 40px; justify-content: center; }
.loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); animation: pulse 1.2s ease-in-out infinite; }
.loading span:nth-child(2) { animation-delay: .15s; }
.loading span:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .loading span { animation: none; opacity: .6; } .client, .report { transition: none; } }
body.signed-out .shell { grid-template-columns: 1fr; }
body.signed-out .side { display: none; }
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(900px 400px at 80% 0%, rgba(47, 193, 173, .4), transparent 60%), linear-gradient(130deg, var(--hero-a), var(--hero-b)); }
.signin-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-up); padding: 36px 40px; width: min(400px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.signin-card img { border-radius: 16px; box-shadow: 0 10px 30px rgba(217, 71, 59, .35); }
.signin-card h1 { font-size: 24px; margin: 8px 0 0; letter-spacing: -.02em; }
.signin-card p { margin: 0 0 12px; color: var(--muted); }
.signin-card button { padding: 10px 28px; font-size: 16px; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; }
  .brand { padding: 0; }
  nav { order: 3; width: 100%; flex-direction: row; overflow-x: auto; gap: 4px; }
  nav a { white-space: nowrap; }
  .nav-head, nav .sub { display: none; }
  .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; }
  .side-foot .agency { display: none; }
  .hero { padding: 20px 16px 72px; }
  .hero h1 { font-size: 26px; }
  .content { padding: 0 16px; }
  .clients { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 12px 14px; }
  .tile .icon { width: 30px; height: 30px; margin-bottom: 6px; }
  .tile .value { font-size: 22px; }
}

/* ---------------------------------------------------------------- uploads (PLAN.md assumption 60) */
.upload { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; overflow: visible; }
.upload-pick { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.upload-pick input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop { flex: 1 1 280px; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 2px dashed var(--axis); border-radius: 12px; cursor: pointer; background: var(--line-2); }
.drop:hover { border-color: var(--accent-2); }
.drop:has(+ input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.upload-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; }
.progress { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent-2); border-radius: 99px; transition: width .4s ease; }
.tile .value.small { font-size: 18px; letter-spacing: -.01em; }
/* The upload page a settings link opens: the sign-in page's background, one column. */
body.standalone { min-height: 100vh;
  background: radial-gradient(900px 400px at 85% 0%, rgba(47, 193, 173, .4), transparent 60%), radial-gradient(600px 300px at 5% 105%, rgba(217, 71, 59, .2), transparent 60%), linear-gradient(130deg, var(--hero-a), var(--hero-b)) fixed; }
.standalone-main { max-width: 960px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 24px; }
.standalone-head { display: flex; gap: 16px; align-items: center; color: #fff; }
.standalone-head img { border-radius: 12px; box-shadow: 0 10px 30px rgba(217, 71, 59, .35); }
.standalone-head h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.standalone-head p { margin: 2px 0 0; color: rgba(255, 255, 255, .8); }
.standalone h2 { color: #fff; }
.standalone .loading span { background: #fff; }
.key-field { flex: 1 1 320px; }
.key-input { font: inherit; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--axis); background: var(--card); color: var(--ink); width: 100%; }
.key-steps { margin: 4px 0 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink); line-height: 1.5; }
