/* DownScene account pages (my.downscene.com): the same look as downscene.com — Inter only, one blue, calm dark surfaces.
   No inline styles anywhere (the pages' CSP allows this file only), no third-party requests. Class names are used by
   src/Web/*.php; the website's own stylesheet lives in the downscene-website repo. */

/* ---------- font (self-hosted, SIL OFL: fonts/OFL-Inter.txt) ---------- */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens (as on the website) ---------- */
:root {
  --bg: #0e1013;
  --panel: rgba(20, 23, 28, .74);
  --sunk: rgba(8, 10, 13, .55);
  --line: #262b33;
  --line-soft: #1d2128;
  --ink: #c9cfd7;
  --ink-dim: #8a929e;
  --ink-faint: #6c7480;
  --paper: #f3f5f8;
  --accent: #3b7bf0;
  --accent-hover: #4a88f7;
  --accent-bright: #6aa1ff;
  --ok: #3ed598;
  --warn: #f5b840;
  --error: #ff6b78;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);   /* a wide table scrolls inside its box instead of widening the page */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* the website's pool of blue light, quieter and higher up: a working page, not a stage */
body::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 0;
  width: min(1100px, 160vw);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -48%);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(59, 123, 240, .13), rgba(59, 123, 240, .04) 55%, transparent 76%);
}
a { color: var(--accent-bright); text-decoration: none; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(59, 123, 240, .45); color: var(--paper); }
b, strong { color: var(--paper); font-weight: 600; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 5; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- top bar ---------- */
.top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 40px);
}
.brand { display: inline-block; padding: 6px 0; color: var(--paper); line-height: 0; }
.wordmark { display: block; width: 132px; height: auto; overflow: visible; }
.wordmark .wm-signal { stroke: var(--accent-bright); opacity: 0; }
.wordmark .wm-signal > * { stroke-dasharray: 18 182; stroke-dashoffset: 18; }
.brand:hover .wm-signal, .brand:focus-visible .wm-signal { opacity: 1; }
.brand:hover .wm-signal > *, .brand:focus-visible .wm-signal > * { animation: sweep 1.1s linear infinite; }
.brand .wm-signal > :nth-child(2) { animation-delay: .11s; }
.brand .wm-signal > :nth-child(3) { animation-delay: .22s; }
.brand .wm-signal > :nth-child(4) { animation-delay: .33s; }
.brand .wm-signal > :nth-child(5) { animation-delay: .44s; }
.brand .wm-signal > :nth-child(6) { animation-delay: .55s; }
.brand .wm-signal > :nth-child(7) { animation-delay: .66s; }
.brand .wm-signal > :nth-child(8) { animation-delay: .77s; }
.brand .wm-signal > :nth-child(9) { animation-delay: .88s; }
@keyframes sweep { from { stroke-dashoffset: 18; } to { stroke-dashoffset: -100; } }
.who { display: flex; align-items: center; gap: 6px 16px; min-width: 0; font-size: 14px; color: var(--ink-dim); }
.who .email { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 30ch; }
.who form { margin: 0; }
.who a, .linkbtn { color: var(--ink-dim); }
.who a:hover, .linkbtn:hover { color: var(--paper); }
.linkbtn { padding: 0; border: 0; background: none; font: inherit; white-space: nowrap; cursor: pointer; }

/* ---------- page column ---------- */
.app { position: relative; z-index: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: clamp(24px, 6vh, 64px) 24px 32px; }
.app.narrow { max-width: 600px; }
.eyebrow { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--accent-bright); }
h1 { margin: 0; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.06; letter-spacing: -.032em; font-weight: 640; color: var(--paper); text-wrap: balance; }
.lead { max-width: 36em; margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-dim); text-wrap: pretty; }
.lead b { color: var(--ink); }
h2 { margin: 44px 0 14px; font-size: 21px; line-height: 1.25; letter-spacing: -.016em; font-weight: 620; color: var(--paper); }
h3 { margin: 0; font-size: 16px; font-weight: 620; color: var(--paper); }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 10px; }
.app > p, .app > .card > p { max-width: 40em; }
.dim, .small { color: var(--ink-dim); }
.small { font-size: 14px; }
.faint { color: var(--ink-faint); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.spaced { margin-top: 18px; }
.spaced-sm { margin-top: 6px; }
ol.steps { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
ol.steps li::marker { color: var(--ink-faint); font-weight: 600; }

/* ---------- cards and blocks ---------- */
.card { margin-top: 24px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.card > :first-child { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.card-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.card-sub { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-dim); }
.block { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.label { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); }
.label .count { margin-left: 6px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink-dim); }

/* ---------- status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.pill::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: rgba(62, 213, 152, .1); }
.pill.trial { color: var(--accent-bright); background: rgba(59, 123, 240, .15); }
.pill.warn { color: var(--warn); background: rgba(245, 184, 64, .12); }
.pill.off { color: var(--error); background: rgba(255, 107, 120, .1); }
.pill.quiet { color: var(--ink-dim); background: rgba(138, 146, 158, .12); }

/* ---------- licence key ---------- */
.key-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.key {
  flex: 1 1 290px;
  min-width: 0;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sunk);
  font: 600 18px/1.25 var(--mono);
  letter-spacing: .05em;
  color: var(--paper);
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}
.key-row form { margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 600 15px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 26px -14px rgba(59, 123, 240, .9);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); box-shadow: none; }
.btn.ghost:hover { border-color: #3c4452; background: rgba(255, 255, 255, .03); color: var(--paper); }
.btn.danger { background: transparent; border-color: rgba(255, 107, 120, .42); color: var(--error); box-shadow: none; }
.btn.danger:hover { background: rgba(255, 107, 120, .1); color: var(--error); }
.btn.small { height: 36px; padding: 0 15px; font-size: 14px; }
.btn.big { height: 50px; padding: 0 28px; }
.btn .os { font-weight: 500; opacity: .75; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.is-done { border-color: rgba(62, 213, 152, .4); color: var(--ok); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.actions form { margin: 0; }
.actions.first { margin-top: 0; }
form.inline { display: inline; margin: 0; }

/* ---------- forms ---------- */
.line-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 500px; margin-top: 28px; }
.field {
  flex: 1 1 230px;
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sunk);
  color: var(--paper);
  font: 400 16px/1 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder, .input::placeholder { color: var(--ink-faint); }
.field:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 123, 240, .2); }
.field.code { flex: 0 1 210px; font: 600 22px/1 var(--mono); letter-spacing: .32em; text-align: center; }
.line-form .btn { height: 50px; padding: 0 26px; }
.line-form.tight { margin-top: 16px; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--ink-faint); }
.stack { display: grid; gap: 16px; }
.stack label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.stack label small { font-weight: 400; color: var(--ink-faint); }
.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sunk);
  color: var(--paper);
  font: 400 16px/1 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.input.mono { font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.stack .btn { justify-self: start; margin-top: 4px; }
/* the person check: nothing on the page, a popup only when Cloudflare wants a tick (app.js) */
.ds-check { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 7, 10, .72);
  opacity: 0; pointer-events: none; transition: opacity .18s var(--ease); }
.ds-check.is-open { opacity: 1; pointer-events: auto; }
.ds-check-panel { width: min(380px, 100%); box-sizing: border-box; display: grid; gap: 12px; padding: 24px 24px 16px; border: 1px solid var(--line);
  border-radius: 16px; background: #14171c; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); outline: none; }
.ds-check-title { margin: 0; font-size: 18px; font-weight: 600; color: var(--paper); }
.ds-check-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-dim); }
.ds-check-widget { min-height: 65px; }
.ds-check-cancel { justify-self: center; padding: 8px 14px; border: 0; border-radius: 8px; background: none; color: var(--ink-dim); font: inherit; font-size: 14px; cursor: pointer; }
.ds-check-cancel:hover { color: var(--ink); }
.ds-check-cancel:focus-visible { outline: 2px solid var(--accent); }
@media (prefers-reduced-motion: reduce) { .ds-check { transition: none; } }
/* show or hide a password: the eye button sits inside the field, on the right */
.pw { position: relative; display: block; }
.pw .input { width: 100%; padding-right: 48px; box-sizing: border-box; }
.pw-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink-dim); cursor: pointer; }
.pw-eye:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.pw-eye:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pw-eye svg { width: 20px; height: 20px; }
/* the password rules, ticked off while typing */
.pw-rules { list-style: none; margin: -4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 16px; font-size: 14px; color: var(--ink-dim); }
.pw-rules li { display: flex; align-items: center; gap: 8px; }
.pw-rules li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); box-sizing: border-box; }
.pw-rules li.is-ok { color: var(--ink); }
.pw-rules li.is-ok::before { border: 0; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.6l4.6-5' fill='none' stroke='%230e1013' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- lists of computers and purchases ---------- */
.rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: rgba(8, 10, 13, .3); }
.rows li:last-child { border-bottom: 0; }
.rows .what { min-width: 0; }
.rows .name { color: var(--paper); font-weight: 560; overflow-wrap: anywhere; }
.rows .meta { margin-top: 2px; font-size: 13.5px; color: var(--ink-dim); }
.rows .code { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--ink-faint); }
.rows .code::before { content: " · "; font-family: var(--font); }
.rows .side { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rows .amount { color: var(--paper); font-variant-numeric: tabular-nums; font-weight: 560; }
.rows li.held .name { color: var(--ink-dim); font-weight: 500; }
.rows li.free { justify-content: flex-start; color: var(--ink-faint); font-size: 14px; }
.seats { display: inline-flex; gap: 5px; margin-left: 8px; vertical-align: 1px; }
.seats i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #4a5260; }
.seats i.on { border-color: var(--accent-bright); background: var(--accent-bright); }

/* ---------- disclosure ---------- */
details.more { margin-top: 18px; }
details.more > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--accent-bright); font-size: 15px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease); }
details.more[open] > summary::before { transform: rotate(45deg); }
details.more > summary:hover { color: var(--paper); }
.more-body { margin-top: 14px; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(8, 10, 13, .3); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
th { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); background: rgba(20, 23, 28, .9); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td .pill { font-size: 12px; padding: 3px 10px; }

/* ---------- messages ---------- */
.flash { margin-top: 22px; padding: 12px 16px; border-radius: 12px; font-size: 15px; color: var(--paper); }
.flash.ok { background: rgba(62, 213, 152, .08); border: 1px solid rgba(62, 213, 152, .3); }
.flash.err { background: rgba(255, 107, 120, .08); border: 1px solid rgba(255, 107, 120, .35); }
.note { margin-top: 22px; padding: 16px 18px; border: 1px solid rgba(245, 184, 64, .35); border-radius: 12px; background: rgba(245, 184, 64, .07); color: var(--ink); }
.note .actions { margin-top: 12px; }
p.err { color: var(--error); }
p.ok { color: var(--ok); }

/* ---------- help ---------- */
.help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.help p { margin-top: 4px; font-size: 15px; color: var(--ink-dim); }
.help.divided { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-soft); }

/* ---------- centred pages (a link that ended, a confirmation) ---------- */
.app.centre { max-width: 560px; text-align: center; display: grid; justify-items: center; align-content: center; }
.app.centre .lead { margin-left: auto; margin-right: auto; }
.app.centre .actions { justify-content: center; }
.app.centre .line-form { margin-left: auto; margin-right: auto; justify-content: center; }

/* ---------- footer (as on the website) ---------- */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px clamp(20px, 4vw, 40px) calc(22px + env(safe-area-inset-bottom));
  font-size: 13.5px;
  color: var(--ink-faint);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink-dim); }
.foot a:hover { color: var(--paper); }

/* ---------- motion and small screens ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 640px) {
  .card { padding: 22px 18px; border-radius: 14px; }
  .help { grid-template-columns: 1fr; }
  .who .email { max-width: 14ch; }
  .key { font-size: 15.5px; letter-spacing: .03em; white-space: nowrap; overflow-x: auto; }
  .rows .code { display: block; }
  .rows .code::before { content: none; }
  .line-form .field, .line-form .btn { flex: 1 1 100%; }
  .field.code { flex: 1 1 100%; }
  .foot { justify-content: center; text-align: center; }
  .foot nav { justify-content: center; }
}

/* ---------- signing in and security (passwords, passkeys, two-step sign-in) ---------- */
.signin { margin-top: 28px; display: grid; gap: 14px; max-width: 460px; }
.signin .stack { gap: 14px; }
.signin .row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.signin .row-between a { font-size: 14px; }
.or { display: flex; align-items: center; gap: 14px; margin: 6px 0; color: var(--ink-faint); font-size: 13.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.btn.wide { width: 100%; justify-content: center; }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn.ghost .ico { color: var(--accent-bright); }
.sec { display: grid; gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sec > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); background: rgba(8, 10, 13, .3); }
.sec > div:last-child { border-bottom: 0; }
.sec h3 { margin: 0; font-size: 16px; color: var(--paper); }
.sec p { margin: 3px 0 0; font-size: 14px; color: var(--ink-dim); }
.sec .side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.sub-rows { grid-column: 1 / -1; margin-top: 10px; }
.sub-rows .rows li { padding: 11px 14px; }
.setup { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 24px; }
.qr { width: 200px; height: 200px; padding: 12px; border-radius: 12px; background: #fff; }
.qr svg { width: 100%; height: 100%; display: block; }
.secret { margin-top: 8px; padding: 10px 12px; border-radius: 8px; border: 1px dashed var(--line); font: 600 15px/1.4 var(--mono); letter-spacing: .12em; color: var(--paper); word-break: normal; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin-top: 18px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--sunk); font: 600 17px/1.4 var(--mono); letter-spacing: .08em; color: var(--paper); }
.choice { display: grid; gap: 10px; margin-top: 18px; }
.choice label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8, 10, 13, .3); cursor: pointer; }
.choice label.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 123, 240, .15); }
.choice input { margin: 3px 0 0; accent-color: var(--accent); }
.choice b { color: var(--paper); font-weight: 600; }
.choice span { grid-column: 2; font-size: 14px; color: var(--ink-dim); }
@media (max-width: 600px) { .setup { grid-template-columns: 1fr; } .codes { grid-template-columns: 1fr 1fr; font-size: 15px; } .sec > div { grid-template-columns: 1fr; } .sec .side { justify-content: flex-start; } }
.signin .row-between .linkbtn { font-size: 14px; font-weight: 500; color: var(--accent-bright); }
.signin .row-between .linkbtn:hover { color: var(--paper); }
.choice label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 123, 240, .15); }
.qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.qr noscript p { color: #0e1013; }
.signin .form-status:empty { display: none; }
.sec .form-status:empty { display: none; }
.form-status { margin: 0; font-size: 14px; color: var(--ink-dim); }
.form-status.err { color: var(--error); }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; width: 100%; margin-top: 4px; font-size: 14px; color: var(--ink-dim); line-height: 1.5; cursor: pointer; }
.consent input { margin: 3px 0 0; accent-color: var(--accent); }
