/* Customer account: a clear route through riding, Pro and private controls. */
body.editorial.account-page .account-main { max-width:1180px; padding-top:clamp(32px,5vw,64px); }
body.editorial.account-page .account-head { max-width:750px; }
body.editorial.account-page .account-head h1 { font:400 clamp(40px,6vw,68px)/.98 Anton,Impact,sans-serif; letter-spacing:0; text-transform:uppercase; }
body.editorial.account-page .account-head #account-sub { font-size:clamp(15px,2vw,17px); line-height:1.5; overflow-wrap:anywhere; }

body.editorial.account-page .account-sections { position:sticky; top:0; z-index:10; display:flex; gap:6px; margin:28px 0 0; padding:8px; overflow-x:auto; scrollbar-width:thin; border:1px solid #78847b; border-radius:4px; background:#f2f0e6; box-shadow:0 4px 16px #141a1614; }
body.editorial.account-page .account-sections[hidden] { display:none; }
body.editorial.account-page .account-sections a { display:inline-flex; align-items:center; justify-content:center; flex:none; min-height:44px; padding:9px 16px; border-radius:4px; color:#141a16; font:700 14px/1.2 "DM Sans",Arial,sans-serif; white-space:nowrap; text-decoration:none; }
body.editorial.account-page .account-sections a:hover,body.editorial.account-page .account-sections a:focus-visible { background:#141a16; color:#f1eee4; }
body.editorial.account-page .account-sections a:focus-visible { outline:3px solid #123ebb; outline-offset:2px; }
body.editorial.account-page .account-sections a:active { background:#d4f22e; color:#141a16; }

body.editorial.account-page .account-body { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; margin-top:24px; }
body.editorial.account-page.account-guest-mode .account-main { max-width:760px; }
body.editorial.account-page.account-guest-mode .account-head,body.editorial.account-page .account-body.account-guest { max-width:620px; margin-inline:auto; }
body.editorial.account-page .account-body.account-organized { gap:clamp(36px,5vw,64px); margin-top:40px; }
body.editorial.account-page .account-group { min-width:0; scroll-margin-top:92px; }
body.editorial.account-page .account-group-head { display:flex; align-items:baseline; gap:16px; margin-bottom:16px; padding-top:16px; border-top:2px solid #141a16; }
body.editorial.account-page #account-riding .account-group-head { border-color:#ff4c2e; }
body.editorial.account-page #account-membership .account-group-head { border-color:#b2d620; }
body.editorial.account-page #account-profile .account-group-head { border-color:#123ebb; }
body.editorial.account-page .account-group-number { color:#57645a; font:600 12px/1.3 "JetBrains Mono",monospace; }
body.editorial.account-page .account-group-title { margin:0; color:#141a16; font:400 clamp(28px,4vw,38px)/1.05 Anton,Impact,sans-serif; text-transform:uppercase; }
body.editorial.account-page .account-group-hint { margin:6px 0 0; color:#4d5a51; font:400 14px/1.5 "DM Sans",Arial,sans-serif; }
body.editorial.account-page .account-group-grid { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:14px; }
body.editorial.account-page .account-group-grid > .account-card { min-width:0; margin:0; padding:clamp(20px,3vw,30px); border:1px solid #94a097; border-radius:4px; background:#fffdf6; color:#141a16; --foreground:#141a16; --account-muted:#4c594f; --muted:#536157; --form-surface:#fffdf6; --form-text:#141a16; --form-border:#7d8a80; --form-placeholder:#59645d; --form-scheme:light; --button-ink-bg:#141a16; --button-ink-text:#f1eee4; --button-ink-hover:#27342b; }
body.editorial.account-page .account-group-grid > .account-card .eyebrow { color:#536157; }
body.editorial.account-page .account-group-grid > .account-card h2 { color:inherit; }
body.editorial.account-page .account-group-grid > .account-card .button.ink-button { border-color:#141a16; }
body.editorial.account-page .account-group-grid > .account-card .form-note.is-good { color:#365710; }
body.editorial.account-page .account-group-grid > .account-card .form-note.is-warn { color:#933917; }
body.editorial.account-page .account-group-grid > .member-home { grid-column:1/-1; border-color:#141a16; border-top:4px solid #ff4c2e; background:#141a16; color:#f1eee4; --foreground:#f1eee4; --account-muted:#c4cdc5; --muted:#b8c0b9; --form-surface:#222a25; --form-text:#f1eee4; --form-border:#748078; --button-ink-bg:#222a25; --button-ink-text:#f1eee4; }
body.editorial.account-page .account-group-grid > .member-home .eyebrow { color:#ff917b; }
body.editorial.account-page .member-home-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:20px; }
body.editorial.account-page .member-home-actions .button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; }
body.editorial.account-page .member-home-copy { max-width:54ch; }
body.editorial.account-page .account-group-grid > #account-plan { grid-column:1/-1; border-top:4px solid #d4f22e; background:#1a211c; color:#f1eee4; --foreground:#f1eee4; --account-muted:#c4cdc5; --muted:#b8c0b9; --form-surface:#222a25; --form-text:#f1eee4; --form-border:#748078; --button-ink-bg:#222a25; --button-ink-text:#f1eee4; }
body.editorial.account-page .account-group-grid > #account-plan .eyebrow { color:#d4f22e; }
body.editorial.account-page .account-group-grid > #account-plan .account-plan-help { max-width:62ch; margin-top:20px; }
body.editorial.account-page .account-group-grid > #account-plan .account-plan-help a { color:#d4f22e; text-decoration:underline; text-underline-offset:3px; }
body.editorial.account-page .account-group-grid > .danger { grid-column:1/-1; border-color:#965e4d; background:#2b1e1b; color:#f1eee4; --foreground:#f1eee4; --account-muted:#d2c1bc; --muted:#ffb38a; --form-surface:#211714; --form-text:#f1eee4; --form-border:#b27966; }
body.editorial.account-page .account-group-grid > .danger .eyebrow { color:#ffb38a; }
body.editorial.account-page .account-group-grid > .account-card .account-saved-inline-note { color:#d4f22e; }
body.editorial.account-page .account-group-grid > .account-card .account-saved-inline-note.is-warn { color:#ffb38a; }
body.editorial.account-page .account-group-grid #saved-events,body.editorial.account-page .account-group-grid #rider { grid-column:1/-1; scroll-margin-top:92px; }
body.editorial.account-page .account-group-grid #account-plan { scroll-margin-top:92px; }
body.editorial.account-page .account-body.account-guest > .signin-only { width:100%; max-width:none; border-top:4px solid #ff4c2e; }
body.editorial.account-page .account-body.account-guest > .member-entry { background:#141a16; color:#f1eee4; --foreground:#f1eee4; --account-muted:#c4cdc5; --muted:#b8c0b9; --form-surface:#222a25; --form-border:#748078; --form-placeholder:#b8c0b9; }
body.editorial.account-page .member-entry :is(a,button,input):focus-visible { outline-color:#d4f22e; }
body.editorial.account-page .account-body.account-guest > #saved-events { grid-column:auto; }
body.editorial.account-page .account-card :is(a,button,summary,input,select):focus-visible { outline:3px solid #123ebb; outline-offset:3px; }

@media(min-width:760px) {
  body.editorial.account-page .account-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.editorial.account-page .account-group-grid > .member-home { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 28px; }
  body.editorial.account-page .account-group-grid > .member-home > :is(.eyebrow,h2) { grid-column:1; }
  body.editorial.account-page .account-group-grid > .member-home > :not(.eyebrow):not(h2) { grid-column:2; }
}
@media(max-width:600px) {
  body.editorial.account-page .account-sections { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-inline:-4px; padding:5px; }
  body.editorial.account-page .account-sections a { min-width:0; padding-inline:8px; white-space:normal; text-align:center; }
  body.editorial.account-page .account-group-grid > .account-card .button { width:100%; }
  body.editorial.account-page .account-group,body.editorial.account-page .account-group-grid #saved-events,body.editorial.account-page .account-group-grid #rider,body.editorial.account-page .account-group-grid #account-plan { scroll-margin-top:136px; }
}
@media(prefers-reduced-motion:reduce) { body.editorial.account-page .account-sections { scroll-behavior:auto; } }


/* The signed-out account keeps the same rhythm on small and wide screens. */
body.editorial.account-page.account-guest-mode .account-main { max-width:590px; padding-top:clamp(28px,6vw,74px); }
body.editorial.account-page.account-guest-mode .account-head h1 { font-size:clamp(34px,8vw,56px); max-width:13ch; line-height:1.02; margin:8px 0 12px; }
body.editorial.account-page.account-guest-mode #account-sub { max-width:46ch; margin:0; }
body.editorial.account-page.account-guest-mode .account-body { gap:16px; margin-top:22px; }
body.editorial.account-page .account-body.account-guest > .member-entry {
  padding:clamp(18px,5vw,30px); border-radius:8px; border-top:3px solid #d4f22e;
  --form-border:#87978b; --form-placeholder:#a5b1a7;
}
body.editorial.account-page .member-entry [hidden] { display:none !important; }
body.editorial.account-page .member-entry form { display:grid; gap:9px; }
body.editorial.account-page .member-entry .account-email-label { margin:0; color:#f1eee4; font-weight:700; }
body.editorial.account-page .member-entry #account-email { width:100%; min-height:50px; margin:0; border-radius:6px; font-size:16px; }
body.editorial.account-page .member-entry #account-email[aria-invalid="true"] { border-color:#ff9e7a; }
body.editorial.account-page .member-entry .button { width:100%; min-height:48px; border-radius:6px; }
body.editorial.account-page .member-entry #account-email-help { margin:0; font-size:.875rem; }
body.editorial.account-page .member-entry .form-note { margin:0; }
body.editorial.account-page .member-entry .form-note:empty { display:none; }
body.editorial.account-page .member-entry .form-note.is-warn { color:#ffb39a; }
body.editorial.account-page .member-entry .dh-auth { margin:14px 0 0; gap:8px; }
body.editorial.account-page .member-entry .dh-auth a { border-radius:6px; }
body.editorial.account-page .member-entry .dh-auth .or { display:flex; align-items:center; gap:10px; color:#c4cdc5; margin:1px 0 2px; }
body.editorial.account-page .member-entry .dh-auth .or::before,
body.editorial.account-page .member-entry .dh-auth .or::after { content:""; flex:1; border-top:1px solid #66756a; }
body.editorial.account-page .member-entry .entry-switch { margin:18px 0 0; font-size:.94rem; }
body.editorial.account-page .member-entry .entry-switch a { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:3px; font-weight:700; }
body.editorial.account-page .member-entry #account-link-receipt { overflow-wrap:anywhere; }
body.editorial.account-page .member-entry #account-link-copy { color:#f1eee4; font-weight:700; }
body.editorial.account-page .member-entry :is(a,button,input):focus-visible,
body.editorial.account-page .member-entry #account-link-receipt:focus-visible { outline:3px solid #d4f22e; outline-offset:3px; }

.account-guest .entry-plans {
  display:grid;
  gap:10px;
  padding:clamp(16px,3vw,24px);
  border-radius:8px;
  background:#123ebb;
  color:#fff;
}
.account-guest .entry-plans[hidden] { display:none; }
.entry-plans h2,.entry-plans h3 { margin:0; color:inherit; font-family:Anton,Impact,sans-serif; font-weight:400; text-transform:uppercase; }
.entry-plans h2 { font-size:clamp(25px,3vw,34px); line-height:1.1; }
.entry-plans h3 { font-size:21px; line-height:1.2; }
.entry-tier { display:grid; gap:5px; padding:13px 15px; border:1px solid transparent; border-radius:6px; }
.entry-tier-free { background:#f1eee4; color:#141a16; }
.entry-tier-pro { background:#1a211c; color:#f1eee4; border-color:#d4f22e; }
.entry-tier-pro h3 { color:#d4f22e; }
.entry-tier p { margin:0; color:inherit; font-size:.9rem; line-height:1.45; }
.entry-tier .entry-tier-price { font-weight:700; }
.account-guest .entry-plans > a { display:inline-flex; align-items:center; gap:8px; justify-self:start; min-height:44px; color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.account-guest .entry-plans > a:focus-visible { outline:3px solid #d4f22e; outline-offset:3px; }
@media (min-width:760px) {
  body.editorial.account-page.account-guest-mode .account-main:has(.entry-plans:not([hidden])) { max-width:970px; }
  body.editorial.account-page .account-main:has(.entry-plans:not([hidden])) .account-head { max-width:none; }
  body.editorial.account-page .account-body.account-guest:has(.entry-plans:not([hidden])) { max-width:none; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:24px; }
}
