/* Sign-in surfaces: Donna's own look (yellow d on black), one centered card. */
.auth {
  --a-bg: #0b0b0a;
  --a-card: #151513;
  --a-line: #2a2a26;
  --a-ink: #f4f3ee;
  --a-muted: #9d9c94;
  --a-brand: #fff000;
  --a-brand-ink: #0b0b0a;
  color-scheme: dark;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgb(255 240 0 / .08), transparent 70%), var(--a-bg);
  color: var(--a-ink);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}
.auth * { box-sizing: border-box; }
.auth-card {
  width: min(400px, 100%);
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: 18px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: 0 24px 60px rgb(0 0 0 / .45);
}
.auth-logo { width: 60px; height: 60px; border-radius: 14px; display: block; box-shadow: 0 0 0 1px var(--a-line); }
.auth h1 { margin: 6px 0 0; font-size: 21px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; text-wrap: balance; }
.auth-sub { margin: 0; color: var(--a-muted); font-size: 14.5px; text-wrap: pretty; }
.auth-account {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  text-align: left;
  margin-top: 4px;
}
.auth-avatar {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #262622;
  color: var(--a-ink);
  display: grid; place-items: center;
  font-weight: 600; text-transform: uppercase;
}
.auth-account-text { min-width: 0; display: flex; flex-direction: column; }
.auth-label { font-size: 12px; color: var(--a-muted); }
.auth-email { font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.auth form { width: 100%; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.auth-btn {
  width: 100%;
  appearance: none;
  border: 1px solid var(--a-line);
  border-radius: 11px;
  padding: 12px 16px;
  font: inherit; font-weight: 600;
  background: #1f1f1c;
  color: var(--a-ink);
  cursor: pointer;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .15s, transform .05s;
}
.auth-btn:hover { background: #262622; }
.auth-btn:active { transform: translateY(1px); }
.auth-btn.primary { background: var(--a-brand); border-color: var(--a-brand); color: var(--a-brand-ink); }
.auth-btn.primary:hover { background: #fff45c; }
.auth-btn:focus-visible { outline: 2px solid var(--a-brand); outline-offset: 2px; }
.auth-btn svg { width: 18px; height: 18px; flex: none; }
.auth-hint { margin: 2px 0 0; font-size: 12.5px; color: var(--a-muted); text-wrap: pretty; }
.auth-divider { width: 100%; display: flex; align-items: center; gap: 10px; color: var(--a-muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--a-line); }
.auth input {
  width: 100%; font: inherit; color: var(--a-ink);
  background: var(--a-bg); border: 1px solid var(--a-line); border-radius: 10px; padding: 10px 12px;
}
.auth-footer { font-size: 12.5px; color: var(--a-muted); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.auth-footer a { color: var(--a-muted); text-decoration: none; }
.auth-footer a:hover { color: var(--a-ink); }
.auth-error { color: #ff8a80; }
.auth #app { display: contents; }
.auth-invite { width: 100%; margin: 4px 0 0; padding: 4px 14px; border: 1px solid var(--a-line); border-radius: 12px; text-align: left; }
.auth-invite > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px 0; }
.auth-invite > div + div { border-top: 1px solid var(--a-line); }
.auth-invite dt { margin: 0; font-size: 12px; color: var(--a-muted); padding-top: 1px; }
.auth-invite dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; display: flex; flex-direction: column; }
.auth-invite dd strong { font-weight: 600; text-transform: capitalize; }
.auth-invite dd span { font-size: 12.5px; color: var(--a-muted); }
