/* The account keeps the public site's paper and ink, with room for a whole household. */
body[data-account-page=login]:not([data-session]) .account-layout { display: none; }
body[data-account-page=login][data-session] #accountSessionLoading { display: none; }
.dashboard-session-loading { padding-block: 80px; min-height: 50vh; color: var(--muted); font-size: 15px; }
body[data-account-page=login] { --muted: #5c695f; }
body[data-account-page=login][data-session=member] .account-layout { display: block; padding-block: 28px 72px; }
body[data-account-page=login][data-session=member] .account-card { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body[data-account-page=login][data-session=member] .account-intro { display: none; }
.account-dashboard { min-width: 0; }
.account-dashboard button, .account-dashboard select, .account-dashboard a.button { min-height: 44px; }
.account-dashboard .plain { padding: 11px 13px; }
.account-dashboard :is(button, select, a):focus-visible { outline-offset: 4px; }
.dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 4px 0 24px; }
.dashboard-hero > div { min-width: 0; }
.dashboard-hero .eyebrow { font-size: 10px; }
.dashboard-hero h1 { margin: 12px 0 10px; font-size: clamp(38px, 3.5vw, 48px); line-height: 1.02; letter-spacing: -.06em; font-weight: 750; }
.dashboard-hero h1 em { color: #698052; }
.dashboard-lead { max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.dashboard-identity { margin-top: 17px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; line-height: 1.7; }
.dashboard-identity strong { font-weight: 550; color: var(--ink); margin-left: 5px; }
.dashboard-hero-actions { display: flex; flex-direction: column; align-items: stretch; flex-shrink: 0; gap: 11px; max-width: 300px; }
.dashboard-hero-actions .plain { color: var(--muted); font-size: 12px; }
.dashboard-nav { display: flex; align-items: stretch; border-block: 1px solid #cdd4c5; gap: 38px; }
.dashboard-nav a { display: inline-flex; gap: 12px; align-items: center; min-height: 61px; font-size: 12px; font-weight: 650; }
.dashboard-nav a:hover { color: var(--accent); }
.dashboard-nav a span { font-size: 10px; color: #798771; font-weight: 500; }
.dashboard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-block: 15px 12px; color: var(--muted); font-size: 11px; }
.dashboard-toolbar .plain { font-size: 11px; }
.dashboard-feedback { padding: 15px 20px; margin: 20px 0 0; border: 1px solid #c5d3b8; background: #eaf0e1; border-radius: 8px; color: #405839; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.dashboard-feedback.error { background: #f5e8dc; border-color: #dfc2aa; color: #794b31; }
.dashboard-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #ced7c4; border-radius: 12px; overflow: hidden; background: #e9eedf; }
.dashboard-summary > div { padding: 18px 25px 16px; min-width: 0; border-right: 1px solid #cdd5c2; }
.dashboard-summary > div:last-child { border-right: 0; }
.dashboard-summary > div > span { display: block; font-size: 11px; color: #52614b; font-weight: 550; }
.dashboard-summary strong { display: block; margin-top: 14px; font-size: 33px; font-weight: 650; line-height: 1.2; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.dashboard-summary strong small { font-size: 13px; letter-spacing: -.02em; font-weight: 450; color: #5e6d53; }
.dashboard-summary-word { font-size: 26px; letter-spacing: -.045em; }
.dashboard-summary p { margin-top: 9px; font-size: 10px; line-height: 1.7; color: #58654f; }
.dashboard-summary-gold { background: #ece9d7; }
.dashboard-scope-note { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 13px 3px 0; }
.dashboard-section { margin-top: 36px; scroll-margin-top: 22px; }
.dashboard-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 23px; }
.dashboard-section-heading .eyebrow { font-size: 9px; color: #69795a; letter-spacing: .11em; }
.account-dashboard .dashboard-section-heading h2 { margin: 10px 0 0; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.16; }
.dashboard-section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.dashboard-residents { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: start; }
.dashboard-resident { background: var(--surface); border: 1px solid #d6ddcd; border-radius: 12px; min-width: 0; overflow: hidden; }
.dashboard-resident-top { display: flex; align-items: center; min-width: 0; gap: 16px; padding: 20px 20px 17px; background: #eef1e7; border-bottom: 1px solid #dce2d3; }
.dashboard-portrait { flex: 0 0 82px; width: 82px; height: 91px; overflow: hidden; border-radius: 41px 41px 8px 8px; background: #dce5c8; border: 1px solid #becdaa; display: grid; place-items: center; }
.dashboard-portrait > span { color: #778e5e; font-size: 35px; font-weight: 650; }
.dashboard-portrait > :is(svg,img) { width: 100%; height: 100%; object-fit: contain; display: block; }
.dashboard-resident-identity { min-width: 0; }
.dashboard-kicker { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: #62744f; line-height: 1.6; }
.dashboard-resident h3 { font-size: 22px; line-height: 1.15; margin: 7px 0; letter-spacing: -.045em; overflow-wrap: anywhere; }
.dashboard-small { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 8px; }
.dashboard-resident-identity .dashboard-small { font-size: 10px; margin: 0; }
.dashboard-resident-body { padding: 20px; }
.dashboard-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; padding: 7px 10px; border-radius: 20px; color: #4a633e; background: #eaf0e2; border: 1px solid #d6e2c9; }
.dashboard-badge span { font-size: 9px; }
.dashboard-badge.waiting { color: #895a33; background: #f8eddf; border-color: #ead5b6; }
.dashboard-badge.muted { color: #687165; background: #eeefe8; border-color: #dce0d3; }
.dashboard-rent-date { margin-top: 19px; }
.dashboard-rent-date > span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.dashboard-rent-date strong { font-size: 20px; font-weight: 650; letter-spacing: -.03em; }
.dashboard-rent-date small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.dashboard-timezone { font-size: 10px; margin-top: 3px; }
.dashboard-rent-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e2e6da; padding-top: 16px; margin-top: 17px; font-size: 11px; }
.dashboard-rent-price > span { color: var(--muted); }
.dashboard-rent-price strong { font-weight: 650; font-size: 13px; }
.dashboard-pay { margin-top: 15px; width: 100%; justify-content: space-between; font-size: 12px; }
.dashboard-gold-action { width: 100%; padding: 10px 6px; margin-top: 7px; border: 0; background: transparent; color: #806031; font-size: 11px; font-weight: 650; }
.dashboard-gold-action:not(:disabled):hover { background: #f5efdd; border-radius: 6px; }
.dashboard-golden-active { font-size: 10px; line-height: 1.7; color: #7d6436; margin-top: 14px; }
.dashboard-golden-active span { font-size: 16px; padding-right: 5px; }
.dashboard-unavailable { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 18px; }
.dashboard-confirmation { margin-top: 14px; border: 1px solid #b9c8a8; border-radius: 7px; background: #edf2e5; padding: 14px; }
.dashboard-confirmation p { font-size: 12px; line-height: 1.8; }
.dashboard-confirmation > div { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 12px; }
.dashboard-confirmation .button { padding: 11px 12px; font-size: 11px; }
.dashboard-confirmation .plain { font-size: 11px; }
.dashboard-resident-extras { margin-top: 12px; border-top: 1px solid var(--line); }
.dashboard-resident-extras summary { font-size: 11px; color: var(--muted); min-height: 44px; cursor: pointer; padding: 15px 0 10px; }
.dashboard-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 11px 0 0; }
.dashboard-tags li { max-width: 100%; font-size: 10px; line-height: 1.6; border: 1px solid #d8dfcd; border-radius: 5px; padding: 5px 8px; background: #f1f3eb; overflow-wrap: anywhere; }
.dashboard-benefits { display: grid; grid-template-columns: 1.04fr 1fr; gap: 20px; }
.dashboard-gold-card { border: 1px solid #d8cfb1; border-radius: 12px; background: #efecdc; display: flex; align-items: start; gap: 25px; padding: 30px 25px; }
.dashboard-gold-card > div:last-child { min-width: 0; }
.dashboard-gold-card h3, .dashboard-entitlements h3 { font-size: 23px; line-height: 1.15; margin: 10px 0 15px; letter-spacing: -.04em; }
.dashboard-gold-card p:not(.dashboard-kicker) { font-size: 12px; line-height: 1.85; color: #695f47; }
.dashboard-gold-card .dashboard-small { margin-top: 14px; font-size: 11px !important; }
.dashboard-gold-art { width: 126px; min-width: 126px; aspect-ratio: 0.7; background: linear-gradient(135deg,#e9dbac,#ba9a56 62%,#dbc389); border: 1px solid #b69a5e; border-radius: 9px; box-shadow: inset 0 0 0 5px #e2cea05e, 0 9px 17px #68501a15; padding: 13px; display: flex; flex-direction: column; justify-content: space-between; color: #5f4a20; transform: rotate(-4deg); margin-top: 3px; }
.dashboard-gold-art > span:first-child { font-size: 13px; font-weight: 750; letter-spacing: -.05em; }
.dashboard-gold-art .dashboard-gold-star { font-size: 63px; line-height: 1; text-align: center; font-weight: 300; }
.dashboard-gold-art > span:last-child { font-size: 8px; letter-spacing: .07em; line-height: 1.8; }
.dashboard-gold-art b { display: block; font-size: 9px; }
.dashboard-entitlements { padding: 26px; border: 1px solid #d6ddcd; border-radius: 12px; background: var(--surface); min-width: 0; }
.dashboard-capacity { display: flex; gap: 15px; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.dashboard-capacity strong { font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.dashboard-capacity span { color: var(--muted); font-size: 10px; line-height: 1.7; }
.account-dashboard .dashboard-entitlements label { font-size: 11px; margin: 18px 0 8px; }
.dashboard-race-controls { display: flex; align-items: stretch; gap: 8px; }
.dashboard-race-controls select { width: 0; flex: 1; min-width: 0; padding: 10px 12px; background: #f4f5ed; border: 1px solid #cbd5bf; border-radius: 6px; font-size: 12px; }
.dashboard-race-controls .button { padding: 10px 12px; font-size: 11px; }
.dashboard-entitlement-label { margin-top: 16px; font-size: 10px; font-weight: 650; }
.dashboard-empty { grid-column: 1/-1; padding: 36px; text-align: center; border: 1px dashed #bac8aa; border-radius: 12px; background: #ecf0e5; }
.dashboard-empty > span { font-size: 44px; color: #7b8f66; }
.dashboard-empty h3 { margin-top: 10px; font-size: 24px; }
.dashboard-empty p { margin: 13px auto 21px; max-width: 540px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.dashboard-notice { padding: 15px 20px; background: #f2eadb; border: 1px solid #ddceb3; border-radius: 8px; font-size: 12px; line-height: 1.8; margin-top: 22px; }
.dashboard-loading { padding: 50px 20px; font-size: 14px; text-align: center; color: var(--muted); }
@media(max-width:1100px) {
  .dashboard-residents { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-summary > div { padding: 22px 18px; }
  .dashboard-summary strong { font-size: 28px; }
  .dashboard-summary-word { font-size: 24px; }
  .dashboard-gold-card { flex-direction: column; gap: 22px; }
  .dashboard-gold-art { width: 118px; min-width: 118px; aspect-ratio: 1.55; transform: rotate(-3deg); }
  .dashboard-gold-art .dashboard-gold-star { position: absolute; font-size: 46px; right: 9px; bottom: 10px; }
}
@media(max-width:720px) {
  body[data-account-page=login][data-session=member] .account-layout { padding-top: 23px; }
  .dashboard-hero { align-items: start; flex-direction: column; gap: 24px; padding-bottom: 24px; }
  .dashboard-hero h1 { font-size: 46px; }
  .dashboard-hero-actions { flex-direction: row; flex-wrap: wrap; max-width: none; width: 100%; gap: 8px; }
  .dashboard-hero-actions .button { font-size: 11px; padding: 12px 15px; }
  .dashboard-hero-actions > .plain { margin-left: auto; }
  .dashboard-nav { gap: 0; justify-content: space-between; }
  .dashboard-nav a { flex: 1; font-size: 10px; gap: 6px; padding: 12px 8px; line-height: 1.5; }
  .dashboard-nav a:first-child { padding-left: 0; }
  .dashboard-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-summary > div { padding: 20px; }
  .dashboard-summary > div:nth-child(2) { border-right: 0; }
  .dashboard-summary > div:nth-child(-n+2) { border-bottom: 1px solid #cdd5c2; }
  .dashboard-summary strong { margin-top: 10px; font-size: 31px; }
  .dashboard-section { margin-top: 35px; }
  .dashboard-section-heading { display: block; }
  .dashboard-section-heading > p { margin-top: 12px; font-size: 11px; }
  .dashboard-section-heading > p br { display: none; }
  .dashboard-benefits { grid-template-columns: 1fr; }
  .dashboard-gold-card { flex-direction: row; gap: 22px; padding: 24px; }
  .dashboard-gold-art { min-width: 100px; width: 100px; aspect-ratio: .7; }
  .dashboard-gold-art .dashboard-gold-star { position: static; font-size: 48px; }
}
@media(max-width:480px) {
  body[data-account-page=login] .header { flex-wrap: wrap; height: auto; padding-block: 15px; gap: 6px 12px; }
  body[data-account-page=login] .header > .text-link { display: none; }
  body[data-account-page=login] .header nav { gap: 15px; }
  body[data-account-page=login] .header nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 11px; }
  .dashboard-hero h1 { font-size: 43px; }
  .dashboard-lead { font-size: 13px; }
  .dashboard-identity { font-size: 10px; }
  .dashboard-nav a { align-items: start; flex-direction: column; padding-block: 12px; }
  .dashboard-nav a span { font-size: 9px; }
  .dashboard-summary > div { padding: 18px 16px; }
  .dashboard-summary > div > span { font-size: 10px; }
  .dashboard-summary strong { font-size: 28px; }
  .dashboard-summary strong small { font-size: 11px; }
  .dashboard-summary-word { font-size: 23px; }
  .dashboard-summary p { font-size: 9px; }
  .dashboard-toolbar p { font-size: 10px; }
  .dashboard-toolbar .plain { font-size: 10px; padding-inline: 5px; }
  .dashboard-residents { grid-template-columns: 1fr; gap: 16px; }
  .dashboard-resident-top { padding: 18px; gap: 18px; }
  .dashboard-portrait { width: 78px; height: 88px; flex-basis: 78px; }
  .dashboard-resident-body { padding: 19px; }
  .dashboard-rent-date strong { font-size: 22px; }
  .dashboard-resident h3 { font-size: 24px; }
  .dashboard-gold-card { padding: 22px 19px; gap: 18px; }
  .dashboard-gold-art { min-width: 78px; width: 78px; padding: 9px; }
  .dashboard-gold-art > span:first-child { font-size: 11px; }
  .dashboard-gold-art .dashboard-gold-star { font-size: 39px; }
  .dashboard-gold-art > span:last-child { font-size: 6px; }
  .dashboard-gold-art b { font-size: 7px; }
  .dashboard-gold-card h3 { font-size: 21px; }
  .dashboard-gold-card p:not(.dashboard-kicker) { font-size: 11px; }
  .dashboard-entitlements { padding: 22px 19px; }
  .dashboard-race-controls { flex-wrap: wrap; }
  .dashboard-race-controls select { flex-basis: 100%; width: 100%; font-size: 16px; }
  .dashboard-race-controls .button { width: 100%; }
  .dashboard-empty { padding: 27px 20px; }
}
