body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.theme-toggle-corner { position: fixed; top: 16px; right: 16px; }
.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.brand-row svg { width: 22px; height: 22px; color: var(--accent); }
.card {
  width: 100%;
  max-width: 340px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
}
h1 { font-size: 17px; margin: 0 0 4px; }
p.sub { margin: 0 0 22px; color: var(--text-muted); font-size: 13px; }
label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; margin-top: 14px; }
input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: var(--bg-elevated);
  color: var(--text);
}
input:focus { outline: 2px solid var(--interactive); outline-offset: 1px; }
button[type='submit'] {
  width: 100%;
  margin-top: 22px;
  padding: 10px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button[type='submit']:disabled { opacity: 0.6; cursor: not-allowed; }
.error {
  margin-top: 14px;
  padding: 8px 10px;
  background: var(--err-bg);
  border: 1px solid var(--err-fg);
  color: var(--err-fg);
  border-radius: 6px;
  font-size: 13px;
  display: none;
}
.legal-links { margin-top: 18px; font-size: 12px; color: var(--text-muted); text-align: center; }
.legal-links a { color: var(--text-muted); text-decoration: underline; }
.legal-links span { margin: 0 6px; }
