/* R15 — approved iteration; previous menu material checkpoint is bundled. */
html body #root .rm21-summary{display:flex!important;flex-direction:column!important;gap:14px!important}
html body #root .rm21-summary>:is(.r3-title-heart,.rm21-location,.rm21-price,.rm21-status-row,.rm21-stats){margin:0!important}
html body #root .r5-tax-hint{position:relative!important}
html body #root .r5-tax-copy{position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 5px)!important;bottom:auto!important;transform:none!important;margin:0!important;width:240px!important;max-width:calc(100vw - 32px)!important;background:var(--red-glass,rgba(21,22,27,.16))!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:14px!important;z-index:30!important;box-sizing:border-box!important}
html body #root .profile-row__signin{background:rgba(0,0,0,.12)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:30px!important;box-shadow:none!important}
html body #root .profile-row__signin:after,html body #root .profile-row__signin:before,html body #root .profile-row__signin .r5-comet-ring{display:none!important}
html body .r14-auth-card .btn{position:relative!important;background:rgba(0,0,0,.12)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:999px!important;overflow:hidden!important}
html body .r14-auth-card .btn:after{content:""!important;position:absolute!important;inset:0!important;border:0!important;border-bottom:2px solid #a83c49!important;border-radius:0 0 50% 50%/0 0 100% 100%!important;mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)!important;pointer-events:none!important;opacity:1!important}
html body .r14-auth-card .r5-cta-label{animation:none!important;background:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important}html body .r14-auth-card .r5-cta-sheen{display:none!important}
html body #root .account-section__help{display:flex!important;flex-direction:column!important;gap:14px!important;margin-top:30px!important}
html body #root #account{border-radius:32px!important}
html body #root .r5-shortlist-list>button[aria-current=true]{position:relative!important;border-color:rgba(255,255,255,.08)!important;background:rgba(255,255,255,.015)!important;box-shadow:none!important;overflow:hidden!important}
html body #root .r5-shortlist-list>button[aria-current=true]:after{content:"";position:absolute;inset:0;border-bottom:2px solid #a83c49;border-radius:0 0 24px 24px;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);pointer-events:none}
html body #root .r5-compare-heading{align-items:center!important}
html body #root .r5-shortlist-summary{align-items:end!important}html body #root .r5-shortlist-summary>button{align-self:end!important;margin-bottom:0!important;height:44px!important;min-height:44px!important}
/* MENU MATERIAL EXPERIMENT: remove this rule to restore the R14 menu material. */
html body :is(#root,.r12-chrome) .app-drawer{background:var(--red-glass,rgba(21,22,27,.16))!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;border-color:rgba(255,255,255,.075)!important;box-shadow:none!important}
@media(min-width:900px){
 html body #root .discover-desk{padding-top:max(0px,calc(100svh - 800px))!important}html body #root .discover-desk .discover{gap:63px!important;row-gap:63px!important}
 html body #root .r3-detail{display:grid!important;grid-template-columns:minmax(260px, .8fr) minmax(0,1.6fr)!important;column-gap:28px!important;row-gap:20px!important;align-items:center!important}
 html body #root .r3-detail>.r11-media{grid-column:2!important;grid-row:1!important;min-width:0!important;align-self:start!important}
 html body #root .r3-detail>.rm21-summary{grid-column:1!important;grid-row:1!important;min-width:0!important;padding:0!important;background:none!important;border:0!important;align-self:center!important}
 html body #root .r3-detail>.rm-car-actions{grid-column:2!important;grid-row:2!important;width:100%!important;margin:0!important;max-width:none!important;padding:0!important}
 html body #root .r3-detail>.rm21-details{grid-column:1/-1!important;grid-row:3!important;width:100%!important}
 html body #root .r3-detail .r6-gallery[data-gallery-mode=photos]{aspect-ratio:3/2!important;--r15-frame-ratio:1.5}
 html body #root .r3-detail .rm21-stats{grid-template-columns:repeat(2,max-content)!important}
 html body #root .rds__secondary{display:flex!important;flex-direction:column!important;margin-top:auto!important;padding-bottom:82px!important;font:inherit!important}
 html body #root .rds__secondary .rds__link{font:inherit!important;padding-left:28px!important}
 html body :is(#root,.r12-chrome) .app-menu__list--lower{padding-bottom:100px!important}
 html body .r14-auth-card{width:min(822px,calc(100vw - 140px))!important;max-width:min(822px,calc(100vw - 140px))!important}
}
@media(max-width:899px){html body #root .r11-media .r6-gallery[data-gallery-mode=photos]{aspect-ratio:4/3!important;--r15-frame-ratio:1.33333333}html body #root .r5-tax-copy{left:auto!important;right:0!important}html body #root .r3-detail>.rm-car-actions{margin-top:18px!important}}
/* Videos fill the fixed frame; photos remain uncropped. */
html body #root .r11-media .r6-gallery>video{object-fit:cover!important}
html body #root .r6-gallery .r13-video iframe{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:max(100%,calc(100% * var(--r14-media-ratio) / var(--r15-frame-ratio,var(--r14-media-ratio))))!important;height:max(100%,calc(100% * var(--r15-frame-ratio,var(--r14-media-ratio)) / var(--r14-media-ratio)))!important;max-width:none!important}
html body #root .r5-compare-toggle{display:flex!important;align-items:center!important;line-height:1!important;gap:12px!important}
html body #root .r5-compare-toggle>small,html body #root .r5-compare-toggle>span:not(.r5-comet-ring){display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin-top:0!important;margin-bottom:0!important;transform:none!important;position:static!important}
html body #root .rm21-summary .r3-title-heart{min-height:44px!important;align-items:center!important}html body #root .rm21-summary .r3-title-heart h1{margin:0!important}
html body #root .r5-shortlist-summary{display:block!important}html body #root .r15-shortlist-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 44px auto!important;gap:12px!important;align-items:center!important;width:100%!important;margin-top:14px!important}html body #root .r15-shortlist-actions>strong{margin:0!important;line-height:1.4!important}html body #root .r15-shortlist-actions>button{height:44px!important;min-height:44px!important;align-self:center!important;margin:0!important}
html body .r14-auth-card .btn:before,html body .r14-auth-card .r5-cta-label:before,html body .r14-auth-card .r5-cta-label:after{display:none!important}html body .r14-auth-card .btn:after{border-radius:0 0 28px 28px!important}
@media(min-width:900px){html body #root .rds__secondary .rds__link{font:400 14px/21px 'Roboto Owner',Roboto,sans-serif!important}}
