:root {
  --ink: #17221d;
  --muted: #68746e;
  --line: #d9e0db;
  --accent: #1f7a55;
  --accent-dark: #176341;
  --surface: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f1f5f1;
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: radial-gradient(circle at top right, #e3eee6, transparent 42%), #f1f5f1; }
.auth-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.auth-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  padding: 38px;
  box-shadow: 0 24px 70px rgba(23,34,29,.12);
}
.auth-brand { color: var(--accent-dark); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.auth-brand span { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #e1f0e7; }
h1 { margin: 22px 0 6px; font-size: 36px; letter-spacing: -.045em; }
.auth-intro { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-message { margin-bottom: 18px; border-radius: 10px; padding: 11px 12px; font-size: 13px; line-height: 1.4; }
.auth-error { border: 1px solid #efc7c3; background: #fff0ef; color: #9d302a; }
.auth-notice { border: 1px solid #bcdccb; background: #ecf7f0; color: var(--accent-dark); }
.auth-form { display: grid; gap: 16px; }
.auth-form label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.auth-form input {
  width: 100%;
  border: 1px solid #cbd5cf;
  border-radius: 10px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.auth-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31,122,85,.12); }
.auth-form button {
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  padding: 13px 16px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.auth-form button:hover { background: var(--accent-dark); }
.auth-form button:focus-visible { outline: 3px solid rgba(52,103,214,.28); outline-offset: 2px; }
.auth-secondary-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.auth-secondary-actions a,
.auth-text-button { border: 0; background: none; padding: 0; color: var(--accent-dark); cursor: pointer; font: inherit; font-size: 12px; font-weight: 750; text-decoration: none; }
.auth-secondary-actions a:hover,
.auth-text-button:hover { text-decoration: underline; }
.auth-secondary-actions form { margin: 0; }
@media (max-width: 520px) {
  .auth-shell { padding: 14px; }
  .auth-card { border-radius: 17px; padding: 28px 22px; }
  h1 { font-size: 31px; }
}
