:root {
  color-scheme: light dark;
  font-family: ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}
body {
  margin: 0;
  background: #111827;
  color: #f9fafb;
}
main {
  box-sizing: border-box;
  width: min(100% - 2rem, 34rem);
  margin: 4rem auto;
  padding: 2rem;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  background: #1f2937;
}
.brand { color: #a5b4fc; font-weight: 700; text-decoration: none; }
h1 { line-height: 1.2; }
form { display: grid; gap: 0.75rem; }
label { font-weight: 600; }
input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #6b7280;
  border-radius: 0.375rem;
  background: #111827;
  color: inherit;
  font: inherit;
}
button {
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.375rem;
  background: #818cf8;
  color: #111827;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button.secondary { background: #d1d5db; }
button:disabled { cursor: not-allowed; opacity: 0.6; }
a { color: #c7d2fe; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hint { margin-top: -0.4rem; color: #d1d5db; font-size: 0.9rem; }
.error, #status.error { color: #fca5a5; }
#status.success { color: #86efac; }
dt { font-weight: 700; }
dd { margin: 0 0 0.75rem; }
