/* Earnings page corrections (Batch 5): ZRY-ERN-RSP-001, TXT-001, DSG-001, TYP-002, A11Y */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ln{display:block}
/* selector: wrapping grid, no hidden chips, hairline style */
#discovery.s2-parity .selector,#discovery .selector{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow:visible!important;padding:12px 0 24px!important}
#discovery.s2-parity .vehicle,#discovery .vehicle{flex:none!important;min-width:0;border-radius:6px!important;background:transparent!important;border:1px solid #d6cfc2!important;box-shadow:none!important;min-height:64px!important}
#discovery.s2-parity .vehicle[aria-pressed=true],#discovery .vehicle[aria-pressed=true]{background:#fffdf9!important;border-color:#081424!important;box-shadow:inset 0 -3px 0 #855615!important}
#discovery .vehicle:focus-visible,#discovery .time-pills button:focus-visible,#weekly-app [data-z3]:focus-visible,.btn:focus-visible{outline:3px solid #855615;outline-offset:3px}
@media(max-width:1100px){#discovery.s2-parity .selector,#discovery .selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){#discovery.s2-parity .selector,#discovery .selector{grid-template-columns:repeat(2,minmax(0,1fr))}#discovery .vehicle:last-child{grid-column:1/-1}}
/* hairline tabs instead of pills */
#discovery.s2-parity .time-pills button{border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 4px;margin-right:14px;font-size:13px;color:#4f5c70;min-height:44px}
#discovery.s2-parity .time-pills button[aria-pressed=true]{background:transparent;color:#081424;border-bottom-color:#855615}
#weekly-app [data-z3]{border-radius:0!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:#4f5c70!important;padding:10px 4px!important;margin-right:18px;min-height:44px}
#weekly-app [data-z3][aria-pressed=true]{color:#081424!important;border-bottom-color:#855615!important}
/* remove tinted icon discs */
#discovery .weekly-reassure i,#discovery.s2-parity .weekly-reassure i,#weekly-app .z3-tick{background:transparent!important;border-radius:0;color:#855615!important;width:auto;height:auto;flex:0 0 20px}
/* disclaimers legible */
#discovery.s2-parity .fine,#discovery .fine,#weekly-app .z3-fine,.zs-disclaimer p{font-size:13px!important;line-height:1.55;color:#4f5c70!important}
#discovery .time-context,#weekly-app .z3-proof span{color:#4f5c70!important}
#discovery .eyebrow,#weekly-app .eyebrow,.closing .eyebrow,.time-kicker{color:#855615!important}
/* minimum 12px for labels (ZRY-ERN-TXT-001) */
#discovery .vehicle small,#weekly-app .z3-proof small,.time-kicker,.closing .eyebrow,#discovery .eyebrow,#weekly-app .eyebrow,.veh-stage-label,.veh-stage-class{font-size:12px!important}
#weekly-app .z3-proof span,#weekly-app .z3-proof strong+span{font-size:12px!important}
#weekly-app .z3-proof{border-radius:2px!important;box-shadow:none!important;border:1px solid #d6cfc2!important;background:#fffefb!important}
/* Independent review N-06: floating cards stay inside a 48px gutter and never cover the phone */
@media(min-width:1100px){#weekly-app .wrap{width:calc(100% - 96px)!important;max-width:1320px}}
@media(min-width:1100px) and (max-width:1279px){
 #weekly-app .z3-product{display:flex!important;flex-direction:column!important;align-items:center!important;min-height:0!important;gap:14px!important;padding-bottom:24px!important}
 #weekly-app .z3-proof{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:100%!important;max-width:360px!important;margin:0!important}
 #weekly-app .z3-proof-top{order:1}#weekly-app .z3-proof-bottom{order:2}
}
@media(min-width:1280px){#weekly-app .z3-proof-top{right:2%!important}#weekly-app .z3-proof-bottom{left:2%!important}}
/* N-07: single inset underline on the selected chip */
#discovery.s2-parity .vehicle[aria-pressed=true],#discovery .vehicle[aria-pressed=true]{box-shadow:none!important;border-bottom:3px solid #855615!important}
/* N-09: comma no longer collides with digits in display numerals */
#monthly,.payout-stage .number,.time-total,#total,.metric .value{letter-spacing:-.012em!important;font-variant-numeric:lining-nums tabular-nums}
/* N-08, widows */
.z3-intro p,#discovery .sub,.z3-story p{text-wrap:pretty}

/* V6 headline scale: hero, feature (S3, S4), section (S2) derive from one variable so hierarchy never inverts */
:root{--eh:clamp(46px,5.9vw,85px)}
html body .hero .hero-copy h1,html body .hero h1{font-size:var(--eh)!important}
html body #weekly-app .z3-intro h2,html body #weekly-app+section .wrap>h2,html body main>section:last-of-type .wrap>h2{font-size:calc(var(--eh)*.86)!important}
html body #discovery .wrap>h2{font-size:calc(var(--eh)*.71)!important}

/* V9 ZRY-XPG-012: Earnings headline drift. Tablet hero returns to 52px (two lines); phone scale restores the approved two-line S3. */
@media(max-width:1279px){:root{--eh:clamp(44px,5.08vw,85px)}}
@media(max-width:600px){:root{--eh:48px}html body #weekly-app .z3-intro h2,html body #weekly-app+section .wrap>h2,html body main>section:last-of-type .wrap>h2{font-size:38px!important}}
