/* Customer authentication presentation only. All rules stay inside this component. */
.customer-auth-page main { background: #f8f7f4; }
.reader-auth {
  --auth-ink: #24333e;
  --auth-muted: #67747e;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 48px 24px 64px;
  color: var(--auth-ink);
}
.reader-auth-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.reader-auth-story { min-width: 0; padding: 20px 0; }
.reader-auth-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #856b52; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.reader-auth-eyebrow span { font-size: 23px; line-height: 1; color: #b57c4e; }
.storefront-ui main .reader-auth-story h2, .reader-auth-story h2 { margin: 0; color: var(--auth-ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 3.5vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; text-wrap: initial; }
.reader-auth-intro { margin: 20px 0 0; font-size: 14px; line-height: 1.9; color: #718089; }
.reader-auth-art { display: block; width: 100%; height: auto; margin: 12px auto 0; max-width: 450px; }
.reader-auth-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; font-size: 11px; font-weight: 600; color: #53645f; }
.reader-auth-benefits span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.reader-auth-benefits i { font-size: 14px; }
.reader-auth-story-note { margin: 18px 0 0; text-align: center; font-size: 11px; color: #8a8d88; }
.reader-auth-card { min-width: 0; padding: 32px; border: 1px solid #e5e8e8; border-radius: 22px; background: #fff; box-shadow: 0 16px 52px -28px #24333e38; }
.reader-auth-kicker { margin: 0 0 8px; color: var(--brand-700, #a61724); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.storefront-ui main .reader-auth-card h1, .reader-auth-card h1 { margin: 0; color: var(--auth-ink); font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.04em; }
.reader-auth-description { margin: 10px 0 24px; font-size: 13px; line-height: 1.7; color: var(--auth-muted); }
.reader-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 20px; padding: 4px; border: 1px solid #edf0f0; border-radius: 11px; background: #f4f6f6; }
.reader-auth-tabs a { display: block; padding: 9px 12px; border: 1px solid transparent; border-radius: 8px; text-align: center; color: #77818a; font-size: 12px; font-weight: 600; text-decoration: none; }
.reader-auth-tabs a.is-active { background: #fff; border-color: #e5e8e8; color: var(--auth-ink); box-shadow: 0 2px 4px #24333e06; }
.reader-auth-tabs a:hover { color: var(--auth-ink); }
.reader-auth .google-auth-btn { display: flex; width: 100%; min-height: 46px; margin-top: 0; padding: 10px 14px; gap: 10px; border: 1px solid #e0e5e6; border-radius: 10px; background: #fff; color: var(--auth-ink); font-size: 12px; font-weight: 600; box-shadow: none; transform: none; }
.reader-auth .google-auth-btn:hover { background: #f8f9f9; border-color: #b9c3c6; }
.reader-auth .google-auth-btn__icon { width: 20px; height: 20px; border-radius: 0; box-shadow: none; }
.reader-auth .google-auth-btn__icon svg { width: 17px; height: 17px; }
.reader-auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #97a0a7; font-size: 10px; }
.reader-auth-divider::before, .reader-auth-divider::after { content: ''; flex: 1; height: 1px; background: #edf0f0; }
.reader-auth form { display: grid; gap: 15px; margin-top: 0; }
.reader-auth form > * { margin: 0 !important; min-width: 0; }
.reader-auth form .admin-field-label { display: block; margin: 0 0 7px; color: #46535d; font-size: 11px; font-weight: 600; line-height: 1.5; }
.reader-auth form input:not([type='hidden']) { display: block; box-sizing: border-box; width: 100%; height: 45px; padding: 10px 13px; border: 1px solid #dfe5e7; border-radius: 9px; background: #fcfdfd; color: var(--auth-ink); font: inherit; font-size: 13px; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.reader-auth form input::placeholder { color: #a0a9b0; opacity: 1; font-size: 12px; }
.reader-auth form input:focus { outline: none; border-color: var(--brand-500, #b30c20); box-shadow: 0 0 0 3px var(--brand-50, #fff1f2); background: #fff; }
.reader-auth form button { display: block; width: 100%; min-height: 46px; margin-top: 5px !important; padding: 12px 16px; border: 1px solid transparent; border-radius: 9px; background: var(--brand-700, #a61724); color: #fff; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: background .15s; }
.reader-auth form button:hover { background: var(--brand-900, #781420); }
.reader-auth a:focus-visible, .reader-auth button:focus-visible { outline: 2px solid var(--brand-500, #b30c20); outline-offset: 4px; }
.reader-auth-helper { margin-top: 14px; font-size: 11px; }
.reader-auth-helper a, .reader-auth-card > a:not(.google-auth-btn) { color: var(--brand-700, #a61724); font-size: 11px; text-decoration: none; }
.reader-auth-card > a:not(.google-auth-btn) { display: inline-block; margin-top: 14px; }
.reader-auth-footer { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #edf0f0; text-align: center; color: #839098; font-size: 12px; line-height: 1.8; }
.reader-auth-footer a { margin-left: 4px; color: var(--brand-700, #a61724); font-weight: 600; text-decoration: none; }
.reader-auth a:hover { text-decoration: underline; text-underline-offset: 3px; }
.reader-auth-tabs a:hover, .reader-auth .google-auth-btn:hover { text-decoration: none; }
.reader-auth--register form { gap: 12px; }
/* The shared storefront resets paragraph margins and first-section padding. */
.storefront-ui main > section.reader-auth:first-child { padding-top: 48px !important; }
.reader-auth .reader-auth-eyebrow { margin: 0 0 20px !important; }
.reader-auth .reader-auth-intro { margin: 20px 0 0 !important; }
.reader-auth .reader-auth-story-note { margin: 18px 0 0 !important; }
.reader-auth .reader-auth-kicker { margin: 0 0 8px !important; }
.reader-auth .reader-auth-description { margin: 10px 0 24px !important; }
.reader-auth .reader-auth-footer { margin: 24px 0 0 !important; }
@media (max-width: 800px) {
  .reader-auth { max-width: 510px; padding: 28px 18px 40px; }
  .reader-auth-layout { grid-template-columns: 1fr; gap: 24px; }
  .reader-auth-story { padding: 0 6px; text-align: center; }
  .reader-auth-eyebrow { justify-content: center; margin-bottom: 12px; font-size: 9px; }
  .storefront-ui main .reader-auth-story h2, .reader-auth-story h2 { font-size: 29px; }
  .reader-auth-story h2 br { display: none; }
  .reader-auth-intro { margin-top: 10px; font-size: 12px; line-height: 1.7; }
  .reader-auth-intro br { display: none; }
  .reader-auth-art, .reader-auth-benefits, .reader-auth-story-note { display: none; }
  .reader-auth-card { padding: 26px 24px; border-radius: 18px; }
  .storefront-ui main > section.reader-auth:first-child { padding-top: 28px !important; }
  .reader-auth .reader-auth-eyebrow { margin-bottom: 12px !important; }
  .reader-auth .reader-auth-intro { margin-top: 10px !important; }
}
@media (max-width: 360px) {
  .reader-auth { padding-inline: 12px; }
  .reader-auth-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .reader-auth *, .reader-auth *::before, .reader-auth *::after { transition: none !important; }
}
