:root {
  color-scheme: dark;
  --bg: #12141a;
  --card: #1c2028;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --accent: #7c9cff;
  --err: #ff7b72;
  --ok: #3dd68c;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; border-bottom: 1px solid #2a303b;
}
.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.04em; }
main { max-width: 720px; margin: 0 auto; padding: 1.5rem; }
.card { background: var(--card); border-radius: 12px; padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.narrow { max-width: 420px; margin: 3rem auto; }
h1, h2, h3 { margin: 0 0 0.6rem; font-weight: 600; }
.muted { color: var(--muted); font-size: 0.95rem; }
.error { color: var(--err); }
.ok { color: var(--ok); }
label { display: block; margin: 0.75rem 0; }
input, textarea, button, pre {
  font: inherit; color: var(--text);
}
input, textarea {
  width: 100%; margin-top: 0.3rem; padding: 0.55rem 0.7rem;
  background: #12141a; border: 1px solid #343b48; border-radius: 8px;
}
button {
  background: var(--accent); color: #0b1020; border: 0; border-radius: 8px;
  padding: 0.5rem 0.9rem; font-weight: 600; cursor: pointer;
}
.row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.75rem 0; }
.row input { width: auto; flex: 1; }
.token { overflow-x: auto; background: #12141a; padding: 0.7rem; border-radius: 8px; font-size: 0.8rem; }
.device { border-top: 1px solid #2a303b; padding-top: 1rem; margin-top: 1rem; }
a { color: var(--accent); }
