:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  --bg: #090c12;
  --panel: #111620;
  --line: #222a36;
  --text: #f0f3f1;
  --muted: #8d97a3;
  --accent: #b8efd4;
  --warn: #f2c27b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  color: var(--text);
  background:
    radial-gradient(ellipse at 75% 30%, rgba(35, 75, 74, .18), transparent 45%),
    var(--bg);
}
main { width: min(100%, 400px); }
.brand { font-weight: 600; margin: 0 0 20px; color: var(--muted); letter-spacing: .02em; }
.brand span { color: var(--accent); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; }
h1 { font-size: 1.35rem; margin: 0 0 6px; }
p { line-height: 1.5; }
.muted { color: var(--muted); font-size: .9rem; }
.stack { display: grid; gap: 12px; margin-top: 20px; }
button, input {
  font: inherit;
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0d1119;
  color: var(--text);
}
button { cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; }
button:hover { border-color: #3a4656; }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
button:disabled { opacity: .6; cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button svg { width: 18px; height: 18px; flex: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.notice { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.notice.error { border-color: var(--warn); color: var(--warn); }
a { color: var(--accent); }
ul.apps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
ul.apps a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
footer { margin-top: 16px; text-align: center; }
