:root {
  color-scheme: dark;
  --background: #0f0e10;
  --surface: #221f26;
  --text: #ece6f4;
  --muted: #a5a4a9;
  --accent: #11f496;
  font: 14px/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--background); }
.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 16px;
}
.brand { margin-bottom: 40px; }
.brand img { display: block; object-fit: contain; }
.card { width: min(100%, 384px); padding: 40px 32px; background: var(--surface); border-radius: 16px; }
h1 { margin: 0 0 4px; font-size: 20px; line-height: 1.4; font-weight: 600; }
p { margin: 0; color: var(--muted); }
.description { margin-bottom: 32px; }
strong { color: var(--text); }
label { display: block; color: var(--muted); margin: 14px 0 6px; }
form > label:first-of-type { margin-top: 0; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.label-row a { font-size: 12px; }
input:not([type=hidden]) {
  width: 100%;
  background: var(--background);
  color: var(--text);
  border: 1px solid var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
}
input:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button {
  display: block;
  width: 100%;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--background);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:hover, a:hover { opacity: .85; }
a { color: var(--accent); text-decoration: none; }
small { display: block; margin-top: 6px; color: var(--muted); }
.error { margin-top: 14px; color: #fca5a5; }
.footer { margin-top: 24px; text-align: center; }
