.google-auth { min-width: 0; margin-bottom: 24px; }
.google-status { color: var(--muted); font-size: 13px; line-height: 1.6; }
[data-google-button] { min-height: 44px; max-width: 100%; overflow: hidden; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form-stack .auth-consent { display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; margin: 8px 0; font-size: 13px; color: var(--text); }
.auth-card .auth-consent input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--primary); }
.auth-consent a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
#googleCompleteForm { margin-top: 16px; }
#googleCompleteForm p { overflow-wrap: anywhere; }
[data-google-link-fields] { display: grid; gap: 10px; }
.tool-password-panel { margin-bottom: 28px; }
.tool-password-panel .form-stack { max-width: 480px; }
.google-auth [hidden], .form-stack [hidden] { display: none !important; }

/* Authentication stays visually separate from the marketing page. */
body[data-page="auth"] { background: #f7f8fc; }
.auth-page.auth-layout { width: min(1080px, calc(100% - 64px)); grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 80px; padding: 52px 0 64px; }
.auth-page .auth-pitch .eyebrow { color: #5546f5 !important; letter-spacing: .14em; font-size: 11px; }
.auth-page .auth-pitch h1 { max-width: 490px; margin: 18px 0 22px; font-size: clamp(36px, 3.5vw, 48px); line-height: 1.16; letter-spacing: -.045em; }
.auth-page .auth-pitch h1 span { color: #5546f5; }
.auth-page .auth-pitch > p:not(.eyebrow) { max-width: 380px; font-size: 16px; line-height: 1.8; }
.auth-page .auth-benefits { margin-top: 36px; gap: 24px; border: 0; padding: 0; }
.auth-page .auth-benefits > div { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; }
.auth-page .auth-benefits > div > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e3dffd; border-radius: 12px; background: #eeecff; color: #5546f5; grid-row: 1 / 3; }
.auth-page .auth-benefits .icon { width: 20px; height: 20px; }
.auth-page .auth-benefits strong { font-size: 14px; line-height: 1.5; font-weight: 650; }
.auth-page .auth-benefits small { font-size: 13px; line-height: 1.65; max-width: 330px; }
.auth-page .auth-card { min-width: 0; padding: 32px; border-radius: 20px; border: 1px solid #e3e6ef !important; box-shadow: 0 16px 48px -24px #25345a30, 0 2px 8px #25345a04; }
.auth-card-heading { text-align: center; margin-bottom: 26px; }
.auth-card-heading > img { display: block; margin: 0 auto 10px; border-radius: 13px; }
.auth-card-heading .auth-domain { color: #667085; font-size: 12px; margin: 0 0 13px; letter-spacing: .015em; }
.auth-page .auth-card-heading h2 { margin: 0; font-size: 25px; font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.auth-page .auth-card-lede { margin: 9px 0 0; font-size: 13px; line-height: 1.7; color: #667085; }
.auth-page .google-auth { margin: 0; }
.google-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #344054; font-size: 13px; font-weight: 650; }
.google-choice-badge { flex-shrink: 0; padding: 3px 8px; border-radius: 5px; background: #eef3ff; color: #3158a5; font-size: 10px; font-weight: 600; }
.google-button-shell { position: relative; min-height: 44px; width: 100%; }
.auth-page [data-google-button] { display: flex; justify-content: center; overflow: visible; }
.google-loading { display: flex; justify-content: center; align-items: center; gap: 10px; height: 44px; border: 1px solid #d6e1f5; border-radius: 4px; background: #f4f7fd; color: #4c6085; font-size: 13px; }
.google-auth[data-state="loading"] [data-google-button] { min-height: 0; }
.google-auth[data-state="verifying"] .google-button-shell { opacity: .6; pointer-events: none; }
.google-auth[data-state="complete"] .google-button-shell,
.google-auth[data-state="error"] .google-button-shell:has([data-google-button]:empty) { display: none; }
.auth-page .google-status { font-size: 12px; line-height: 1.65; margin: 10px 0 0; color: #667085; }
.google-auth[data-state="verifying"] .google-status { color: #0b57d0; }
.google-privacy { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 13px 0 0; color: #667085; font-size: 11px; line-height: 1.6; }
.google-privacy .icon { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 2px; color: #687994; }
.auth-page .auth-divider { margin: 23px 0; color: #7b8495; font-size: 11px; gap: 12px; }
.auth-page .auth-divider::before, .auth-page .auth-divider::after { background: #e7eaf0; }
.auth-page .form-stack { gap: 9px; }
.auth-page .form-stack label:not(.auth-consent) { color: #344054; font-size: 12px; font-weight: 600; }
.auth-page .form-stack > label:not(:first-child):not(.auth-consent) { margin-top: 7px; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 7px; }
.auth-label-row label { color: #344054; font-size: 12px; font-weight: 600; }
.auth-label-row a { color: #5546f5; font-size: 12px; font-weight: 650; }
.auth-page .form-stack input:not([type="checkbox"]) { min-width: 0; min-height: 46px; background: #fff; font-size: 14px; box-shadow: 0 1px 2px #10182805; }
.auth-page .form-stack input::placeholder { color: #8b93a3; }
.auth-page .form-stack small { line-height: 1.6; }
.auth-page .password-field > button { min-width: 44px; min-height: 44px; top: 1px; right: 3px; }
.auth-page .form-stack > button[type="submit"] { min-height: 46px; margin-top: 12px; font-size: 13px; border-radius: 9px; box-shadow: none; }
.auth-page .auth-email-submit { background: #19243b; border-color: #19243b; color: #fff; }
.auth-page .auth-email-submit:hover { background: #293956; border-color: #293956; }
.auth-page .auth-switch { text-align: center; margin: 22px 0 0; padding-top: 0; border: 0; font-size: 13px; }
.auth-page .auth-switch a { font-weight: 650; }
.auth-page .auth-help { margin: 13px 0 0; text-align: center; font-size: 11px; line-height: 1.6; }
.auth-page .auth-help a { color: #475467; text-decoration: underline; text-underline-offset: 3px; }
.auth-page .auth-consent { border: 1px solid #e6e8f0; border-radius: 10px; background: #f8f9fc; padding: 12px; font-size: 12px; cursor: pointer; }
.auth-page .auth-consent input { box-shadow: none; }
.google-profile { display: flex; align-items: center; gap: 12px; padding: 14px; background: #f5f8ff; border: 1px solid #dce5fa; border-radius: 12px; }
.google-avatar { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; color: #3557a0; background: #e0e9fc; font-size: 16px; font-weight: 700; }
.google-profile-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.google-profile-info strong { font-size: 14px; line-height: 1.5; color: #19243b; }
.google-profile-info > span { color: #475467; font-size: 12px; line-height: 1.5; }
.google-profile-info small { display: flex; align-items: center; gap: 4px; color: #247456; font-size: 10px; margin-top: 4px; }
.google-profile-info .icon { width: 12px; height: 12px; flex-shrink: 0; }
.google-change-account { background: transparent; border: 0; color: #425984; font: inherit; font-size: 12px; min-height: 44px; padding: 8px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.google-change-account:hover { color: #0b57d0; background: #f5f8ff; border-radius: 8px; }
.google-auth [data-google-retry] { min-height: 44px; width: 100%; margin-top: 10px; font-size: 13px; }
.auth-page :is(button, a, input):focus-visible { outline: 3px solid #94b8fa; outline-offset: 3px; }
.auth-page .form-message { font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.auth-success { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #b8e2cf; border-radius: 10px; background: #effaf5; color: #176b4a; font-size: 12px; line-height: 1.65; }
.password-reset-step[hidden] { display: none !important; }
.password-reset-status { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #dce5fa; border-radius: 10px; background: #f5f8ff; color: #344b73; font-size: 12px; line-height: 1.7; }
.password-reset-back { display: block; width: 100%; margin-top: 10px; }
.auth-spinner { width: 15px; height: 15px; border: 2px solid #c6d5ee; border-top-color: #426da7; border-radius: 50%; animation: auth-spin 1s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .auth-spinner { animation: none; } }
@media (max-width: 960px) {
  .auth-page.auth-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); width: calc(100% - 40px); }
  .auth-page .auth-pitch h1 { font-size: 36px; }
  .auth-page .auth-card { padding: 26px; }
}
@media (max-width: 760px) {
  .auth-page.auth-layout { width: min(460px, calc(100% - 32px)); grid-template-columns: minmax(0, 1fr); gap: 0; padding: 28px 0 44px; }
  .auth-page .auth-pitch { display: none; }
  .auth-page .auth-card { padding: 26px; border-radius: 16px; }
  .auth-page .form-stack input:not([type="checkbox"]) { font-size: 16px; }
}
@media (max-width: 380px) {
  .auth-page.auth-layout { width: calc(100% - 24px); padding-top: 20px; }
  .auth-page .auth-card { padding: 20px 18px; }
  .auth-page .auth-card-heading h2 { font-size: 22px; }
  .google-choice-badge { font-size: 9px; }
  .google-profile { padding: 10px; gap: 9px; }
}
