/* The account site: Zirantir's own dark palette, one narrow column, system type (nothing is fetched from anyone
   else). Each screen is a card; the account page stacks four groups in one. */
:root {
  color-scheme: dark;
  --bg: #0b0b0e; --surface: #15151a; --surface-2: #1f1f26; --text: #f2f2f2; --muted: #a8a8b3;
  --accent: #f0b450; --line: rgba(255, 255, 255, 0.12); --good: #6fcf97; --bad: #ef7a7a;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5;
  -webkit-font-smoothing: antialiased; }
main { max-width: 480px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 16px; }
.mark { font-weight: 900; letter-spacing: 0.22em; color: var(--accent); font-size: 0.95rem; }
h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin: 0; }
p { margin: 0; }
.quiet { color: var(--muted); font-size: 0.92rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; }
.group { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.group:first-of-type { border-top: 0; padding-top: 0; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.row > :first-child { flex: 1 1 auto; }
.row > :last-child { color: var(--muted); text-align: right; flex: 0 1 auto; }
.pill { font-size: 0.72rem; color: var(--good); border: 1px solid rgba(111, 207, 151, 0.45); border-radius: 999px;
  padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
button, select, input[type="text"] { font: inherit; color: inherit; }
button { border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 700; cursor: pointer;
  background: var(--accent); color: #111; }
button.quiet-btn { background: var(--surface-2); color: var(--text); font-weight: 600; }
button.danger { background: transparent; color: var(--bad); border: 1px solid rgba(239, 122, 122, 0.5); }
button.link { background: none; padding: 0; color: var(--accent); font-weight: 600; text-align: left;
  text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; }
button:disabled { opacity: 0.5; cursor: default; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
a { color: var(--accent); text-underline-offset: 3px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--muted); }
input[type="text"], select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; color: var(--text); width: 100%; }
input.code { font-family: var(--mono); font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center; }
label.tick { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
label.tick input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.buttons { display: flex; flex-direction: column; gap: 10px; }
.error { color: var(--bad); font-size: 0.92rem; }
.strong { color: var(--text); font-weight: 700; }
dialog { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; max-width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
dialog .body { display: flex; flex-direction: column; gap: 14px; }
pre.text { white-space: pre-wrap; font: inherit; color: var(--muted); margin: 0; max-height: 50vh; overflow: auto; }
