:root { color-scheme: dark; --bg: #111214; --panel: #1a1b1f; --line: #2e3038; --text: #e8e9ee; --muted: #8b8e99; --accent: #22d3ee; --danger: #f87171; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(1200px 600px at 20% 0%, #164e6344, transparent), var(--bg);
  color: var(--text); font: 15px/1.45 -apple-system, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}
.box { width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
button, input { font: inherit; color: inherit; border-radius: 10px; padding: 11px 14px; border: 1px solid var(--line); background: #0d0e10; width: 100%; }
button { cursor: pointer; background: #23252d; }
button.primary { background: var(--accent); color: #031418; border: 0; font-weight: 700; }
section, details { display: grid; gap: 10px; }
details[open] { gap: 10px; }
summary { cursor: pointer; color: var(--accent); }
details > * { margin-top: 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
code { background: #0d0e10; padding: 1px 5px; border-radius: 4px; }
.msg { min-height: 1.4em; margin: 0; }
.msg.err { color: var(--danger); }
