/* Personal account forms only. Preserve the brand; don't restyle admin login. */
.account-auth { --auth-ink: #302a26; --auth-muted: #71645b; --auth-accent: #b94019; background: #f7f1ea; min-height: 100dvh; }
.auth-layout { width: min(460px, calc(100% - 40px)); margin: 32px auto; color: var(--auth-ink); }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.auth-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.auth-logo .brand-logo { width: 54px; height: 32px; filter: none; }
.auth-logo .brand-copy strong { font-size: 14px; line-height: 1.5; }
.auth-back { font-size: 12px; white-space: nowrap; color: var(--auth-muted); padding: 10px 0; }
.auth-panel { padding: 28px 30px 22px; background: #fffdfa; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 36px rgb(105 61 32 / 5%); }
.auth-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs a { padding: 0 2px 13px; color: var(--auth-muted); font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs a[aria-current] { color: var(--auth-accent); border-bottom-color: var(--auth-accent); font-weight: 700; }
.auth-heading h1 { font-size: 28px; font-weight: 750; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 8px; }
.auth-heading p { margin: 0; color: var(--auth-muted); font-size: 14px; line-height: 1.6; }
.auth-form { display: grid; gap: 20px; margin-top: 26px; }
.auth-field { display: grid; gap: 9px; font-size: 14px; font-weight: 600; }
.auth-field input { display: block; width: 100%; min-width: 0; height: 50px; padding: 0 14px; color: var(--auth-ink); background: #fffdfa; border: 1px solid #d4c7bc; border-radius: 10px; font-size: 16px; font-weight: 400; }
.auth-field input::placeholder { color: var(--auth-muted); }
.auth-consent { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.auth-consent input[type=checkbox] { appearance: auto; flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--auth-accent); }
.auth-consent span { font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--auth-muted); }
.auth-consent a { color: var(--auth-accent); text-underline-offset: 3px; }
.auth-submit { height: 50px; border: 0; border-radius: 10px; background: var(--auth-accent); color: #fff; font-size: 16px; font-weight: 700; }
.auth-submit:disabled { opacity: .55; cursor: not-allowed; }
.auth-submit:not(:disabled):hover { background: #a73613; }
.auth-submit:not(:disabled):active { transform: translateY(1px); }
.auth-footer { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0 0; font-size: 12px; color: var(--auth-muted); }
.account-auth :is(a, button, input):focus-visible { outline: 2px solid var(--auth-accent); outline-offset: 3px; }
.account-auth input[aria-invalid=true] { border-color: var(--danger); }
.account-auth .flash-stack { position: static; max-width: 460px; margin: 0 auto; padding: 0 20px; }
.account-auth .flash { margin-top: 14px; box-shadow: none; }
@media (max-width: 520px) {
  .account-auth { background: #fffdfa; }
  .auth-layout { width: calc(100% - 40px); margin: 20px auto; }
  .auth-topbar { margin-bottom: 32px; }
  .auth-panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .auth-heading h1 { font-size: 27px; }
  .auth-form { gap: 20px; }
  .auth-tabs { margin-bottom: 24px; }
  .auth-footer { margin-top: 24px; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (max-width: 359px) {
  .auth-layout { width: calc(100% - 32px); }
  .auth-logo .brand-copy strong { font-size: 12px; }
  .auth-logo .brand-logo { width: 44px; }
  .auth-topbar { gap: 8px; }
}
