/* R16: approved fixes and isolated desktop planet-label trial. */
html body #root .rm21-feature{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;gap:12px!important;text-align:left!important}
html body #root .rm21-feature .r14-feature-dot{display:block!important;flex:0 0 10px!important;font-size:22px!important;line-height:24px!important;margin:0!important}
html body #root .rm21-feature strong{display:block!important;font-size:16px!important;line-height:24px!important;font-weight:400!important;margin:0!important;min-width:0!important}
html body #root .rm21-summary h1{font-size:23px!important;line-height:1.25!important}
html body #root .r16-detail-social{display:flex!important;align-items:center!important;gap:12px!important;margin-top:0!important}
html body #root .r16-detail-social>.btn{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:50%!important}
html body #root .r16-detail-social>.btn:after{display:none!important}
html body .r16-price-tooltip{position:fixed!important;z-index:500!important;box-sizing:border-box!important;display:block!important;padding:12px 14px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.075)!important;background:var(--red-glass,rgba(21,22,27,.16))!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;font:400 12px/1.5 Roboto,sans-serif!important;color:#eee!important;pointer-events:none!important}
/* Preserve entire source frames: no image or video cropping. */
html body #root .r11-media .r6-gallery>img,html body #root .r11-media .r6-gallery>video{object-fit:contain!important;object-position:center!important;transform:none!important}
html body #root .r6-gallery .r13-video iframe{width:100%!important;height:100%!important;inset:0!important;transform:none!important;background:#000!important}
html body .rm-sheet .r9-control-frame .r5-comet-ring,html body .rm-sheet .r9-select-options .r5-comet-ring{display:none!important;animation:none!important}
html body #root .composer__mic:after{left:24%!important;right:24%!important;width:52%!important}
html body .r14-auth-card .btn:after{inset:0!important;border-radius:0 0 999px 999px!important;border-bottom:2px solid #a83c49!important;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)!important}
html body #root .r5-shortlist-list>button[aria-current=true]:after{border:0!important;border-bottom:2px solid #a83c49!important;border-radius:0 0 28px 28px!important;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)!important}
html body #root .r16-view-back{width:44px!important;height:40px!important;margin:0!important;justify-self:start!important}
@media(min-width:900px){
 html body #root .discover-desk .discover__overlay{padding-bottom:8px!important}
 html body #root .discover-desk .discover__rail{bottom:8px!important}
 html body #root .r3-detail{grid-template-columns:minmax(210px,268px) minmax(0,1fr)!important;row-gap:16px!important}
 html body #root .r3-detail>.r16-view-back{grid-column:1!important;grid-row:1!important}
 html body #root .r3-detail>.r11-media{grid-column:2!important;grid-row:2!important}
 html body #root .r3-detail>.rm21-summary{grid-column:1!important;grid-row:2!important}
 html body #root .r3-detail>.rm-car-actions{grid-row:3!important}
 html body #root .r3-detail>.rm21-details{grid-row:4!important}
 html body #root .r3-detail .r6-gallery[data-gallery-mode=photos]{aspect-ratio:var(--r14-media-ratio)!important}
 html body #root .r3-detail .r6-gallery[data-orientation=portrait]{aspect-ratio:16/9!important}
 html body #root .rds__secondary{position:absolute!important;left:0!important;right:0!important;bottom:74px!important;margin:0!important;padding:0!important;gap:4px!important}
 html body :is(#root,.r12-chrome) .app-menu__list--lower{display:none!important}
 html body #root .uxa-desk-tool{position:relative!important;overflow:hidden!important;background:transparent!important}
 html body #root .uxa-desk-tool>.r5-comet-ring{display:block!important;visibility:visible!important;opacity:1!important}
 /* DESKTOP PLANET LABEL EXPERIMENT — rollback source in checkpoint-planet-r15. */
 html body .r5-planet-entry{overflow:visible!important}
 html body .r5-planet-entry>.r16-planet-label{position:absolute!important;left:-20%!important;top:-12%!important;width:140%!important;height:140%!important;overflow:visible!important;pointer-events:none!important}
 html body .r16-planet-label text{fill:#bf3441;font:500 12px Roboto,sans-serif;letter-spacing:1.6px}
}
@media(max-width:899px){
 html body #root .r3-detail>.r11-media{width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0!important;box-sizing:border-box!important}
 html body #root .r3-detail .r6-gallery{margin-left:auto!important;margin-right:auto!important;left:auto!important;right:auto!important}
 html body #root .r3-detail .r11-media-toolbar{width:100%!important;margin:0!important}
 html body #root .r3-detail .r6-gallery-prev,html body #root .r3-detail .r6-gallery-next{top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;padding:0!important}
 html body #root .rm22-chat .composer-dock{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border:0!important}
 html body #root .rm22-chat .composer-dock:before,html body #root .rm22-chat .composer-dock:after{display:none!important}
 html body #root .composer__box{border-radius:999px!important}
 html body:has(.rm22-chat) .rm24-nav{background:transparent!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important}
 html body:has(.rm22-chat) .rm24-nav:before,html body:has(.rm22-chat) .rm24-nav:after{display:none!important}
}
html body #root .discover-desk .discover__media{object-fit:contain!important;transform:none!important}
html body #root .rm21-feature>.r14-feature-dot{width:10px!important;min-width:10px!important;max-width:10px!important;height:24px!important;min-height:0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;flex:0 0 10px!important}
@media(min-width:900px){html body #root .r3-detail{padding-left:0!important;padding-right:0!important}}
/* Use the actual approved Edit/View contour, rather than a second inset oval. */
html body #root .profile-row__signin{position:relative!important;background:rgba(0,0,0,.17)!important;border:1px solid rgba(255,255,255,.19)!important;border-radius:999px!important;padding:12px 24px!important;font:500 13px 'Roboto Owner',Roboto,sans-serif!important}
html body #root .profile-row__signin:after,html body .r14-auth-card .btn:after,html body #root .r5-shortlist-list>button[aria-current=true]:after{content:""!important;display:block!important;position:absolute!important;inset:-1px!important;border:1px solid #ac414c!important;border-radius:inherit!important;background:transparent!important;opacity:1!important;pointer-events:none!important;mask-image:linear-gradient(to top,#000 0%,#000 9%,rgba(0,0,0,.467) 28%,transparent 72%)!important;-webkit-mask-image:linear-gradient(to top,#000 0%,#000 9%,rgba(0,0,0,.467) 28%,transparent 72%)!important}
@media(max-width:899px){html body #root#root .r3-detail .r11-media .r6-gallery{margin:0!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important}}
html body #root .r5-selected-cars img,html body #root .r5-shortlist-list img,html body .r6-picker-list img{object-fit:contain!important;object-position:center!important;background:#000!important}
