/* R22: approved gradient reference, shared accents, button arcs and spacing. */
:root{--r22-heart-red:#b84653;--r22-text-gradient:linear-gradient(110deg,#ceced4 0%,#fff 38%,#fff 70%,#fff 100%);--r22-compare-gap:44px}
html body #root#root .r22-gradient{display:inline-block!important;max-width:100%!important;vertical-align:top!important;background-attachment:scroll!important;background-origin:border-box!important;background-size:100% 100%!important;background-position:0 0!important;background-repeat:no-repeat!important;background-image:var(--r22-text-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:none!important;box-decoration-break:clone!important;-webkit-box-decoration-break:clone!important}
html body #root#root :is(.discover__name,.rm21-summary h1,.rm21-price>strong,.rm21-summary .rm23-condition,.rm21-details>h2,.rm21-equipment>h2,.r3-service h3,.r5-shortlist-summary h1,.r15-shortlist-actions>strong,.r18-compare-label,.r6-account-title){background-image:none!important}
html body #root#root .r5-fact>strong{background:none!important;color:inherit!important;-webkit-text-fill-color:inherit!important}
/* Photo/3D keeps its outer oval; selection is text colour only. */
html body #root#root .r11-modes button[aria-pressed=true]{color:var(--r22-heart-red)!important;-webkit-text-fill-color:var(--r22-heart-red)!important;background:transparent!important;box-shadow:none!important}
html body #root#root .r11-modes button:before,html body #root#root .r11-modes button:after,html body #root#root .r11-modes .r5-comet-ring{display:none!important;content:none!important}
html body :is(#root,.r12-chrome) .rds__link[aria-current=page],html body :is(#root,.r12-chrome) .bottom-nav__item[aria-current=page],html body #root .myred-tabs__tab[aria-selected=true]{color:var(--r22-heart-red)!important}
html body :is(#root,.r12-chrome) .bottom-nav__item[aria-current=page]>svg,html body #root .rds__link[aria-current=page]>svg{color:var(--r22-heart-red)!important;stroke:var(--r22-heart-red)!important}
html body #root#root :is(.top-matches .my-red-section__title>svg,.rm22-preferences .my-red-section__title>svg,.rm22-preferences dt>svg){color:var(--r22-heart-red)!important;stroke:var(--r22-heart-red)!important}
/* Explicit white check on the exact heart-red fill, independent of native OS tint. */
html body :is(.r5-selected-cars,.r6-picker-list) input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:4px!important;background:transparent!important;box-sizing:border-box!important;accent-color:var(--r22-heart-red)!important}
html body :is(.r5-selected-cars,.r6-picker-list) input[type=checkbox]:checked{background-color:var(--r22-heart-red)!important;border-color:var(--r22-heart-red)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:18px 18px!important;background-position:center!important;background-repeat:no-repeat!important}
html body :is(.r5-selected-cars,.r6-picker-list) input[type=checkbox]:focus-visible{outline:1px solid rgba(255,255,255,.65)!important;outline-offset:3px!important}
/* Equal air before Compare and after its button. */
html body #root .r5-compare-section>header{margin-bottom:0!important}
html body #root .r5-selected-cars{margin-top:var(--r22-compare-gap)!important}
/* Quiet separators only between adjacent recent conversations. */
html body #root .app-drawer__chat{position:relative!important}
html body #root .app-drawer__chat+.app-drawer__chat:before{content:'';position:absolute;top:-6px;left:8px;right:8px;height:1px;background:rgba(255,255,255,.06);pointer-events:none}
html body .r9-filter-scrim .rm-sheet{padding-bottom:43px!important}
/* Use the Register lower arc with no unrelated upper border. */
html body .r6-compare-picker>header>button{border-color:transparent!important;box-shadow:none!important}
html body #root#root #account .account-section__actions .btn,html body .r14-auth-card .btn{border-color:transparent!important;box-shadow:none!important;background:transparent!important;filter:none!important}
html body #root#root #account .account-section__actions .btn:before,html body .r14-auth-card .btn:before{display:none!important;content:none!important}
html body #root#root #account .account-section__actions .btn:after,html body .r14-auth-card .btn: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(min-width:900px){
 html body #root#root .r15-shortlist-actions>.r5-save-heart>svg{width:24px!important;height:24px!important;transform:translateY(1px)!important}
}
@media(max-width:899px){
 :root{--r22-compare-gap:24px}
 html body #root#root .r22-discover-price{background-image:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
 html body #root#root .app-drawer .app-menu__list--lower .app-menu__row{color:#acacb3!important}
}

html body #root#root .rds .rds__nav .rds__link[aria-current=page],html body #root#root .rds .rds__nav .rds__link[aria-current=page] :is(svg,.rds__text){color:var(--r22-heart-red)!important}
html body :is(#root,.r12-chrome) .rm24-nav .bottom-nav__item[aria-current=page] :is(svg,.bottom-nav__label){color:var(--r22-heart-red)!important;stroke:var(--r22-heart-red)!important}
html body #root#root :is(.r5-selected-cars,.r6-picker-list) input[type=checkbox]{accent-color:var(--r22-heart-red)!important}
