.account-page [hidden] { display: none !important; }
.account-page button, .account-page input { font: inherit; }
.account-page button { cursor: pointer; }
.account-page :focus-visible { outline: 3px solid #ba4334; outline-offset: 4px; }
.account-skip { position: fixed; left: 16px; top: -80px; padding: 12px 20px; background: var(--rsc-paper); z-index: 100; }
.account-skip:focus { top: 10px; }
.account-page .account-current { border-bottom: 2px solid var(--rsc-brick); padding: 8px 0; }
.account-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 64px; }
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.account-eyebrow { margin: 0 0 12px; color: var(--rsc-muted); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.account-heading h1 { margin: 0; color: var(--rsc-forest); font-family: var(--rsc-heading); font-size: clamp(32px, 4.2vw, 49px); font-weight: 500; line-height: 1.13; letter-spacing: -.025em; }
.account-auth-layout { display: grid; grid-template-columns: .94fr 1.06fr; align-items: stretch; gap: 24px; }
.account-intro { padding: 40px; border-radius: 10px; color: var(--rsc-paper); background: var(--rsc-forest); display: flex; flex-direction: column; }
.account-mark { margin-bottom: 38px; border-radius: 10px; }
.account-intro .account-eyebrow { color: #c8d9ce; }
.account-page .account-intro h2 { margin: 0 0 18px; color: var(--rsc-paper); font-family: var(--rsc-heading); font-size: clamp(30px, 3.1vw, 40px); font-weight: 500; line-height: 1.13; letter-spacing: -.025em; }
.account-intro > p:not(.account-eyebrow) { margin: 0; color: #dce5dc; font-size: 15px; line-height: 1.7; }
.account-benefits { list-style: none; padding: 0; margin: 32px 0; }
.account-benefits li { display: flex; gap: 17px; padding: 15px 0; border-top: 1px solid #4a685d; }
.account-benefits li > span { color: #b4caba; font-size: 11px; font-weight: 700; padding-top: 4px; }
.account-benefits strong { font-size: 15px; font-weight: 650; }
.account-benefits p { margin: 3px 0 0; color: #dce5dc; font-size: 13px; }
.account-intro .account-intro-note { margin-top: auto !important; font-size: 12px !important; }
.account-card { padding: 36px; border: 1px solid var(--rsc-line); border-radius: 10px; background: var(--rsc-paper); }
.account-auth-card { padding: 32px 40px 38px; }
.account-card h2, .account-form h2 { margin: 0 0 10px; font-family: var(--rsc-heading); font-size: 29px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--rsc-forest); }
.account-card p { color: var(--rsc-muted); }
.account-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #eeeee7; border-radius: 6px; padding: 5px; margin-bottom: 32px; }
.account-switch button { border: 0; border-radius: 4px; padding: 11px 6px; font-size: 14px; font-weight: 650; background: transparent; color: var(--rsc-muted); }
.account-switch button[aria-pressed="true"] { background: var(--rsc-paper); color: var(--rsc-forest); box-shadow: 0 1px 4px #183e3510; }
.account-subtitle { margin: 0 0 26px; font-size: 14px; line-height: 1.65; }
.account-form > label, .account-form fieldset > label, .account-label-row label { display: block; font-size: 13px; font-weight: 650; margin: 20px 0 8px; }
.account-form input:not([type="checkbox"]) { width: 100%; min-height: 48px; border: 1px solid #bfc8bf; border-radius: 5px; background: #fff; color: var(--rsc-ink); padding: 11px 12px; box-shadow: none; }
.account-form input:not([type="checkbox"]):focus { outline: 2px solid var(--rsc-forest); outline-offset: 2px; }
.account-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.account-text-button { border: 0; padding: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; color: var(--rsc-forest); font-size: 13px !important; }
.account-submit { width: 100%; margin-top: 24px; font-size: 14px !important; }
.account-back { display: block; margin: 20px auto 0; }
.account-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.account-form fieldset > label:first-child { margin-top: 0; }
.account-page button:disabled, .account-page fieldset:disabled { cursor: wait; opacity: .6; }
.account-fineprint, .account-field-help { font-size: 12px; line-height: 1.65; color: var(--rsc-muted); }
.account-fineprint { margin: 18px 0 0; }
.account-field-help { margin: 8px 0 0; }
.account-privacy-note { background: #f0f3ec; border-left: 3px solid #597566; padding: 13px 15px; margin-top: 22px; font-size: 12px; line-height: 1.7; color: #3c554a; }
.account-status, .account-form-status { padding: 13px 16px; background: #eaf0e6; border: 1px solid #cbd7c4; border-radius: 5px; color: #254935 !important; font-size: 14px; line-height: 1.5; margin: 0 0 22px; overflow-wrap: anywhere; }
.account-form-status { margin: 20px 0 0; }
.account-error { background: #fbede7; border-color: #e4b9ac; color: #803c2f !important; }
.account-bottom-note { margin: 28px 0 0; text-align: center; color: var(--rsc-muted); font-size: 12px; }
.account-session { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 13px; color: var(--rsc-muted); margin: 0 0 26px; overflow-wrap: anywhere; }
.account-session strong { font-weight: 600; overflow-wrap: anywhere; max-width: 100%; }
.account-session-dot { width: 7px; height: 7px; border-radius: 50%; background: #507a54; margin-right: 2px; }
.account-dashboard { display: grid; grid-template-columns: 1.06fr .94fr; align-items: start; gap: 24px; }
.account-dashboard-side { display: grid; gap: 20px; }
.account-dashboard-side .account-card h2 { font-size: 27px; }
.account-dashboard-side .account-card > p:not(.account-eyebrow) { font-size: 14px; line-height: 1.7; margin: 12px 0 20px; }
.account-dashboard-side .account-card > p.account-field-help { margin: 12px 0 0; font-size: 12px; }
.account-optional { color: var(--rsc-muted); font-weight: 400; }
.account-preferences { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rsc-line); }
.account-preferences h3, .account-help h3 { font-size: 14px; margin: 0 0 12px; font-weight: 700; }
.account-checkbox { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 400; line-height: 1.6; }
/* Keep the native checkbox clear of the site's full-size text-field styles. */
.account-checkbox input[type="checkbox"] { appearance: auto; accent-color: var(--rsc-forest); flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: inherit; }
.account-preferences > .account-field-help { margin-left: 32px; }
.account-programs { background: #eef0e7; }
.account-arrow-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; text-decoration: none; font-size: 14px; font-weight: 700; padding-top: 15px; border-top: 1px solid #ccd4c7; }
.account-arrow-link span { font-size: 22px; }
.account-help { padding: 2px 10px; color: var(--rsc-muted); }
.account-help p { font-size: 12px; line-height: 1.7; margin: 10px 0 0; }
#retry-profile { margin-top: 16px; }
@media (max-width: 850px) {
  .account-auth-layout { grid-template-columns: .85fr 1.15fr; gap: 16px; }
  .account-intro, .account-card { padding: 26px; }
  .account-mark { margin-bottom: 24px; }
  .account-dashboard { gap: 18px; }
}
@media (max-width: 660px) {
  .account-wrap { width: min(500px, calc(100% - 32px)); padding: 32px 0 40px; }
  .account-page .nav { flex-wrap: wrap; gap: 10px; padding: 13px 0; }
  .account-page .brand-wordmark { width: 215px; height: auto; }
  .account-page .nav-links { width: 100%; justify-content: flex-start; gap: 22px; font-size: 13px; }
  .account-heading { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .account-auth-layout, .account-dashboard { grid-template-columns: 1fr; }
  .account-auth-card { order: -1; }
  .account-intro { padding: 28px; }
  .account-intro h2 { font-size: 30px; }
  .account-mark, .account-benefits { display: none; }
  .account-intro .account-intro-note { margin-top: 20px !important; }
  .account-card { padding: 25px; }
  .account-form input:not([type="checkbox"]) { font-size: 16px; }
  .account-switch { margin-bottom: 27px; }
  .account-help { padding: 3px 2px; }
}
@media (prefers-reduced-motion: reduce) { .account-page * { scroll-behavior: auto; } .account-page .button:hover { transform: none; } }
