:root {
  --bg: #f6f4f0; --surface: #fff; --text: #1f1c19; --muted: #6d665e; --border: #e2dcd3;
  --field: #f0ece6; --accent: #c2410c; --accent-text: #fff; --focus: #ea580c55; --err: #b91c1c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517; --surface: #1c1e21; --text: #ece8e2; --muted: #a39c93; --border: #33373c;
    --field: #25282c; --accent: #f97316; --accent-text: #1a0d05; --focus: #f9731655; --err: #f87171;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg); color: var(--text); display: grid; place-items: center; padding: 16px;
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.brand div { display: flex; flex-direction: column; line-height: 1.15; }
.brand span { color: var(--muted); font-size: 13px; }
h1 { font-size: 20px; margin: 0 0 16px; }
label { display: block; font-size: 13px; font-weight: 500; margin: 12px 0 5px; }
input {
  width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--field); color: var(--text); font: inherit;
}
input:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
button {
  width: 100%; margin-top: 20px; padding: 11px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600;
}
button:disabled { opacity: .6; cursor: default; }
.err { color: var(--err); font-size: 14px; margin: 12px 0 0; }
