/* Authentication uses the existing EFL workspace palette and native forms. */
.auth-access .auth-form { display: grid; gap: 20px; margin-top: 24px; }
.auth-page .auth-password-field { position: relative; }
.auth-page .auth-password-field.has-toggle input { padding-right: 88px; }
.auth-page .auth-password-toggle { position: absolute; top: 1px; right: 1px; bottom: 1px; min-width: 78px; min-height: 44px; border: 0; border-radius: 0 7px 7px 0; padding: 6px 10px; background: transparent; color: var(--wine); font-size: 13px; font-weight: 600; }
.auth-page .auth-password-toggle:hover { background: #af1f310a; }
.auth-page .auth-password-toggle:focus-visible { z-index: 1; outline-offset: -4px; }
.auth-page .auth-form input { min-height: 48px; }
.auth-page .auth-submit { width: 100%; min-height: 48px; }
.auth-page .auth-error { margin: 20px 0 0; }
.auth-page .auth-field-error { color: var(--danger); font-weight: 600; }
.auth-page .auth-assistance { margin-top: 16px; font-size: 13px; color: var(--muted); }
.auth-page .auth-assistance summary { display: list-item; cursor: pointer; padding-block: 10px; min-height: 44px; color: var(--wine); font-weight: 600; }
.auth-page .auth-assistance > div { padding: 4px 0 8px; }
.auth-page .auth-assistance p + p { margin-top: 12px; }
.auth-page .auth-assistance a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.auth-page .auth-team { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 24px; }
.auth-page .auth-team h3 { font-size: 16px; }
.auth-page .auth-team p { margin: 6px 0 16px; color: var(--muted); font-size: 13px; }
.auth-page .auth-team .auth-provider-status { margin: 12px 0 0; }
/* Google Identity's light button colours and original G; no remote SDK or font. */
.auth-page .auth-google-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #747775; border-radius: 4px; background: #fff; color: #1f1f1f; font-family: 'Google Sans', 'Arial', sans-serif; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; }
.auth-page .auth-google-button img { width: 20px; height: 20px; flex: 0 0 20px; }
.auth-page .auth-google-button:hover:not(:disabled) { background: #f7f8f8; }
.auth-page .auth-google-button:disabled { opacity: .65; cursor: not-allowed; }
.auth-page .auth-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; width: 100%; margin-top: 24px; color: var(--muted); font-size: 12px; }
.auth-page .auth-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.auth-page .auth-setup-heading p { margin-top: 14px; }
.auth-page .auth-password-setup { gap: 18px; }
.auth-page .auth-password-setup .auth-footer { margin-top: 0; }
.auth-page .auth-password-setup input[readonly] { background: var(--surface-subtle); color: var(--muted); }
@media (max-width: 700px) {
  .auth-access .auth-story-copy { margin-top: 20px; }
  .auth-access .auth-story h1 { font-size: 27px; }
  .auth-access .auth-story-copy p { margin-top: 12px; font-size: 14px; }
  .workspace.auth-access .auth-shell { gap: 24px; }
}
@media (max-width: 390px) {
  .auth-page .auth-password-toggle { min-width: 72px; padding-inline: 8px; }
  .auth-page .auth-password-field.has-toggle input { padding-right: 80px; }
  .auth-page .auth-footer { gap: 0 14px; }
}
