.tool-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #faf9f7;
  color: #20292d;
}

.tool-auth-card {
  width: min(100%, 460px);
  padding: clamp(28px, 6vw, 44px);
  border: 1px solid #e7e5e1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(31, 47, 53, .08);
}

.tool-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #20292d;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.tool-auth-brand img { object-fit: contain; }
.tool-auth-eyebrow { margin: 0 0 8px; color: #47778a; font-size: 14px; font-weight: 650; }
.tool-auth-card h1 { margin: 0 0 10px; font-size: clamp(27px, 5vw, 34px); line-height: 1.15; }
.tool-auth-copy { margin: 0 0 26px; color: #68767a; font-size: 16px; line-height: 1.55; }

.tool-auth-google {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #d9dfe1;
  border-radius: 14px;
  background: #fff;
  color: #263438;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}

.tool-auth-google:hover { border-color: #8daeb9; background: #f6fafb; }
.tool-auth-google:focus-visible, .tool-auth-back:focus-visible { outline: 3px solid #91bbca; outline-offset: 3px; }
.tool-auth-back { display: block; margin-top: 20px; color: #47778a; text-align: center; text-decoration: none; font-weight: 600; }
.tool-auth-privacy { margin: 24px 0 0; color: #788487; font-size: 12px; line-height: 1.5; text-align: center; }
.tool-auth-error { margin: -8px 0 18px; color: #a23b35; font-size: 14px; }
.tool-auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: #788487; font-size: 13px; }
.tool-auth-divider::before, .tool-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e7e5e1; }
.tool-auth-email-form { display: grid; gap: 10px; }
.tool-auth-email-form label { color: #334247; font-size: 14px; font-weight: 650; }
.tool-auth-email-row { display: flex; gap: 10px; }
.tool-auth-email-row input { min-width: 0; flex: 1; height: 52px; padding: 0 14px; border: 1px solid #d9dfe1; border-radius: 12px; background: #fff; color: #263438; font: inherit; }
.tool-auth-email-row input:focus-visible { outline: 3px solid #91bbca; outline-offset: 2px; }
.tool-auth-email-button { min-height: 52px; padding: 0 16px; border: 1px solid #47778a; border-radius: 12px; background: #47778a; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.tool-auth-email-button:disabled { opacity: .65; cursor: wait; }
.tool-auth-email-status { min-height: 20px; margin: 2px 0 0; color: #68767a; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .tool-auth-google { transition: none; }
}

@media (max-width: 420px) {
  .tool-auth-email-row { flex-direction: column; }
}
