/* R18: approved, scoped refinements. R17 remains intact as checkpoint. */
:root{--r18-arc:#ac414c;--r18-text-gradient:linear-gradient(135deg,#a6a6ad 0%,#e6e6e9 55%,#fff 100%)}
html body #root .r18-gallery-stage{position:relative!important;width:100%!important;min-width:0!important}
html body #root .r18-gallery-stage>.r6-gallery{position:relative!important;overflow:hidden!important;border-radius:18px!important;isolation:isolate!important}
html body #root .r18-frame-clip{position:absolute!important;inset:0!important;overflow:hidden!important;border-radius:inherit!important;clip-path:inset(0 round 17px)!important;background:#000!important;isolation:isolate!important}
html body #root .r18-frame-clip>img,html body #root .r18-frame-clip>video{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;max-width:none!important;mask:none!important;-webkit-mask:none!important;border-radius:inherit!important}
html body #root .r18-frame-clip .r13-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;background:#000!important}
html body #root .r18-frame-clip .r13-video iframe{position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:max(135%,calc(135% * var(--r14-media-ratio) / var(--r17-frame-ratio)))!important;height:max(135%,calc(135% * var(--r17-frame-ratio) / var(--r14-media-ratio)))!important;max-width:none!important;border:0!important;background:#000!important}
html body #root .r18-gallery-stage>.r6-gallery-prev,html body #root .r18-gallery-stage>.r6-gallery-next{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;z-index:8!important}
html body #root .r18-gallery-stage>.r6-gallery-prev{left:12px!important;right:auto!important}html body #root .r18-gallery-stage>.r6-gallery-next{right:12px!important;left:auto!important}
html body #root .r18-gallery-stage[data-stage-mode=3d] .r6-gallery{border:0!important;overflow:visible!important}
html body #root .r18-gallery-stage[data-stage-mode=3d] .r18-frame-clip{position:relative!important;inset:auto!important;clip-path:none!important;overflow:visible!important;background:transparent!important}
html body #root .rm21-feature{align-items:center!important}
html body #root .rm21-summary>.rm-car-actions{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
html body #root .rm21-summary>.rm-car-actions>.btn{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;box-sizing:border-box!important;align-self:center!important}
html body #root .r3-overview>h2{display:none!important}
html body #root .rm21-details>h2,html body #root .rm21-equipment>h2{font-size:16.1px!important;font-weight:500!important;line-height:1.25!important}
html body #root :is(.rm21-details>h2,.rm21-equipment>h2,.r3-service h3){background-image:var(--r18-text-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html body #root .r18-compare-label{background-image:var(--r18-text-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html body #root .r15-shortlist-actions{align-items:center!important}
html body #root .r15-shortlist-actions>button:not(.r7-shortlist-3d){position:relative!important;align-self:center!important;display:inline-grid!important;place-items:center!important;padding-top:0!important;padding-bottom:0!important;height:44px!important;min-height:44px!important;line-height:1!important;transform:none!important;top:auto!important;bottom:auto!important}
html body #root .r5-car-switcher{display:flex!important;align-items:center!important;justify-content:center!important;gap:16px!important}
html body #root .r5-car-switcher>button{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;margin:0!important;line-height:1!important;transform:none!important}
html body #root .r5-car-switcher>span{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;line-height:1!important;margin:0!important}
html body #root .r5-compare-section>header{display:grid!important;grid-template-columns:minmax(0,1fr) 52px!important;gap:12px!important;align-items:center!important}
html body #root .r5-compare-toggle{display:flex!important;align-items:center!important;gap:12px!important;min-height:52px!important;height:52px!important;line-height:1!important}
html body #root .r5-compare-toggle>.r18-compare-label,html body #root .r5-compare-toggle>small,html body #root .r5-compare-toggle>.r18-compare-chevron{position:static!important;transform:none!important;align-self:center!important;display:inline-flex!important;align-items:center!important;line-height:1!important;margin:0!important}
html body #root .r5-compare-toggle>.r18-compare-chevron{margin-left:auto!important;flex:0 0 16px!important}
html body #root .r6-add-compare{display:grid!important;place-items:center!important;min-height:52px!important;height:52px!important;width:52px!important;min-width:52px!important;padding:0!important;margin:0!important;transform:none!important}
html body #root input[type=checkbox],html body .r6-compare-picker input[type=checkbox]{accent-color:var(--r18-arc)!important}
html body .r6-compare-picker{padding-top:18px!important;padding-bottom:40px!important}
html body .r6-compare-picker>header{align-items:flex-start!important}
html body .r6-compare-picker>header>button{margin-top:0!important}
html body .rm-sheet{padding-bottom:40px!important}
html body .r14-auth-card>:is(h3,p,.brief-field){margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;text-align:left!important;box-sizing:border-box!important}
html body .r14-auth-card .brief-field{width:100%!important}html body .r14-auth-card .brief-field>input{margin-left:0!important;margin-right:0!important;width:100%!important;box-sizing:border-box!important}
html body #root .r18-feed-arrows{display:none!important}
/* Readability +15%, preserving values and Edit. */
html body #root #my-red-panel-requests .my-red-section__title{font-size:14.95px!important}
html body #root #my-red-panel-requests :is(.previous-activity__note,.my-red-section p){font-size:13.225px!important;line-height:1.55!important}
html body #root .rm22-preferences .my-red-section__title{font-size:14.95px!important}
html body #root .rm22-preferences .rm22-card-description,html body #root .rm22-preferences dt{font-size:13.8px!important;line-height:1.5!important}
@media(min-width:900px){
 html body #root .r5-shortlist-summary h1,html body #root .r15-shortlist-actions>strong{background-image:var(--r18-text-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
 html body .r16-planet-label text{font-size:10.5px!important}
 html body #root .rm21-summary>.rm-car-actions{margin-top:8px!important}
 html body #root .r3-detail>.rm21-details{grid-row:2!important;margin-top:10px!important}
 html body #root .r5-shortlist-list>button{height:86px!important;min-height:86px!important;width:100%!important;box-sizing:border-box!important}
 html body #root .r5-shortlist-list>button>span{min-width:0!important}
 html body #root .r5-shortlist-list strong{display:block!important;line-height:1.35!important;white-space:normal!important}
 html body #root .rds__toggle{position:fixed!important;left:6px!important;top:100px!important;width:44px!important;height:44px!important;padding:0!important;display:grid!important;place-items:center!important;color:#fff!important;opacity:1!important;transform:none!important}
 html body #root .rds__brand{position:fixed!important;left:28px!important;top:34px!important;margin:0!important}
 html body #root .rds__foot>.rds__btn{position:fixed!important;left:6px!important;bottom:14px!important;min-height:44px!important;height:44px!important;width:auto!important;min-width:44px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 12px!important;white-space:nowrap!important;color:#fff!important}
 html body #root .rds__foot .r18-history-label{font:400 14px/21px 'Roboto Owner',Roboto,sans-serif!important}
 html body #root .rds__secondary{bottom:58px!important}
 html body #root .app-drawer__header{margin-bottom:30px!important}
 html body #root .r10-chat-search{margin-top:0!important;margin-bottom:24px!important}
 html body #root .app-drawer .app-menu__list:not(.app-menu__list--lower){margin-top:0!important}
 html body #root .app-shell:has(.rds[data-section=shortlist]) .app-main__inner{padding-left:12px!important;padding-right:24px!important}
 html body #root .r5-shortlist-layout{grid-template-columns:250px minmax(0,1fr)!important;gap:24px!important}
 html[data-red-sidebar]:not([data-red-sidebar=collapsed]) body #root .app-shell:has(.rds[data-section=discover]) .app-main__inner{padding-left:12px!important}
 html body #root .app-shell:has(.rds[data-collapsed="0"][data-section=discover]) .app-main__inner{padding-left:12px!important}
 html body #root .discover-desk .discover__overlay{padding-left:28px!important}
 html body #root .discover-desk .discover__cta-row{margin-left:0!important;padding-left:0!important}
 html body #root .discover__name,html body #root .rm23-price>strong{background-image:var(--r18-text-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
 html body #root .rm22-chat{width:min(708px,100%)!important;max-width:708px!important;box-sizing:border-box!important;margin:0 auto!important}
 html body #root .rm22-chat .conversation__empty{position:relative!important;left:0!important;width:100%!important;max-width:660px!important;align-self:center!important;margin:0 auto!important;padding:clamp(60px,8vh,100px) 0 0!important}
 html body #root .rm22-chat .conversation{padding-top:0!important}
 html body #root .rm22-chat .prompt-chips{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important}
 html body #root .rm22-chat .prompt-chip{width:100%!important;height:76px!important;min-height:76px!important;padding:12px 26px!important;align-items:center!important;box-sizing:border-box!important}
 html body #root .rm22-chat .composer-dock{position:fixed!important;left:102px!important;right:24px!important;bottom:28px!important;padding:0!important;background:transparent!important;transform:none!important}
 html body #root .app-shell:has(.rds[data-collapsed="0"]) .rm22-chat .composer-dock{left:234px!important}
 html body #root .rm22-chat .composer{width:min(660px,100%)!important;max-width:660px!important;margin:0 auto!important}
}
@media(max-width:899px){
 html body #root .r18-gallery-stage>.r6-gallery-prev,html body #root .r18-gallery-stage>.r6-gallery-next{color:rgba(185,187,195,.55)!important;background:rgba(0,0,0,.06)!important;border-color:rgba(255,255,255,.08)!important}
 html body #root .r18-gallery-stage>.r6-gallery-prev svg,html body #root .r18-gallery-stage>.r6-gallery-next svg{width:16px!important;height:16px!important}
 html body #root .r18-feed-arrows{display:flex!important;position:absolute!important;left:12px!important;right:12px!important;top:calc(110px + clamp(200px,100dvh - 520px,330px)/2 - 18px)!important;height:36px!important;align-items:center!important;justify-content:space-between!important;z-index:6!important;pointer-events:none!important}
 html body #root .r18-feed-arrows>button{pointer-events:auto!important;width:32px!important;height:36px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:rgba(185,187,195,.55)!important;font:300 28px/1 Roboto,sans-serif!important;display:grid!important;place-items:center!important}
 html body #root .discover__overlay{padding-left:16px!important;padding-right:16px!important}
 html body #root .discover__cta-row{left:16px!important;right:100px!important;bottom:0!important;gap:8px!important;padding:0!important;margin:0!important}
 html body #root .discover__rail{right:16px!important;gap:8px!important}
 html body #root .discover__rail-btn{width:34px!important;min-width:34px!important}
 html body #root .r3-detail .r11-media-toolbar{margin-bottom:24px!important}
 html body #root .rm21-summary{padding-left:0!important;padding-right:0!important}
 html body #root .rm21-summary>.rm-car-actions{margin-top:10px!important;padding:0!important;width:100%!important;gap:12px!important}
 html body #root .r3-title-heart h1{padding-left:0!important}
 html body #root .r3-overview p{font-size:14px!important;font-weight:400!important;line-height:1.65!important;color:#a6a6ad!important}
 html body #root .discover__name,html body #root .rm21-summary h1,html body #root .rm21-price>strong,html body #root .rm21-summary .rm23-condition{background-image:var(--r18-text-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
 html body #root .r5-car-name{margin-top:5px!important}
 html body #root .r5-shortlist{transform:translateY(-8px)!important}
 html body #root .rm22-chat .conversation__empty{padding-top:20px!important;transform:none!important}
 html body #root .rm22-chat .composer-dock,html body #root .rm22-chat .composer,html body #root .rm22-chat .composer-dock>*:not(.composer__box){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,html body #root .rm22-chat .composer:before,html body #root .rm22-chat .composer:after{display:none!important;background:none!important}
}

html body #root .r15-shortlist-actions>.r7-shortlist-3d{display:none!important}

html body #root .r18-frame-clip .r13-video-cover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;border-radius:inherit!important}
html body #root .r18-frame-clip .r13-video-cover>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;position:absolute!important;inset:0!important;mask:none!important;-webkit-mask:none!important;border-radius:inherit!important}
html body .r9-filter-scrim .rm-sheet{padding-bottom:40px!important}
@media(max-width:899px){html body .r9-filter-scrim{justify-content:center!important}}
