:root {
  --accent: #016b63;
  --accent-hover: #01564f;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202b42;
  background: #f5f7fb;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(ellipse at top left, #dfefec 0, transparent 60%), #f5f7fb;
}
.auth-card {
  width: min(100%, 440px);
  padding: 40px;
  border: 1px solid #e6eaf1;
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 60px #202b420c;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.4px;
}
.auth-brand-icon {
  display: block;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("/zendo-logo.png") center / contain no-repeat;
  mask: url("/zendo-logo.png") center / contain no-repeat;
}
.auth-eyebrow {
  margin: 34px 0 10px;
  color: #7a8395;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.auth-intro {
  margin: 12px 0 28px;
  color: #7a8395;
  font-size: 15px;
  line-height: 1.6;
}
label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 600;
}
input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e6eaf1;
  border-radius: 9px;
  color: inherit;
  background: #fafbfd;
  font: inherit;
  font-size: 16px;
}
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.auth-primary {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 13px 18px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  text-align: center;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.auth-primary:hover {
  background: var(--accent-hover);
}
.auth-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.auth-message {
  color: #a84038;
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0 0;
}
.auth-footnote {
  margin: 28px 0 0;
  text-align: center;
  color: #7a8395;
  font-size: 12px;
}
.auth-success h1 {
  font-size: 26px;
}
@media (max-width: 480px) {
  .auth-card {
    padding: 30px 24px;
  }
  h1 {
    font-size: 25px;
  }
}
.auth-links { font-size: 14px; text-align: center; line-height: 1.8; }
.auth-links a { color: var(--accent); }
label { font-size: 14px; }
[hidden] { display: none !important; }

.auth-page { grid-template-rows: 1fr auto; gap: 24px; }
.auth-version { width: 100%; text-align: right; font-size: 12px; font-weight: 600; color: #016b63; }
.auth-version span { display: inline-block; border-radius: 5px; background: #eef7f6; padding: 3px 7px; }
