/* R19 approved refinements. Media geometry and original world are unchanged. */
:root{--r19-panel-radius:24px;--r19-glass:rgba(21,22,27,.16);--r19-gradient:linear-gradient(110deg,#aaaab0 0%,#dedee2 38%,#fff 70%,#fff 100%)}
/* Restore the R17 Terms/Privacy close control, including its oval proportions. */
html body :is(.rm-sheet>header button,.r6-compare-picker>header>button),html body #root .r14-legal-header>.btn{position:relative!important;display:grid!important;place-items:center!important;width:50px!important;min-width:50px!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:12px 24px!important;border:1px solid rgba(255,255,255,.04)!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;outline:none!important;font-size:13px!important;line-height:18px!important;overflow:visible!important}
html body :is(.rm-sheet>header button,.r6-compare-picker>header>button):after,html body #root .r14-legal-header>.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;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}
html body :is(.rm-sheet,.r6-compare-picker,.r14-auth-card){background:var(--r19-glass)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;border-color:rgba(255,255,255,.075)!important;box-shadow:none!important}
html body .r9-filter-scrim .rm-sheet{background:var(--r19-glass)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;border-color:rgba(255,255,255,.075)!important;box-shadow:none!important;padding-bottom:80px!important}
html body #root#root :is(.rm21-panel,.rm21-feature,.r3-service,.my-red-section,.r5-shortlist-list>button){border-radius:var(--r19-panel-radius)!important}
@media(max-width:899px){
html body #root .myred-panel .rm22-preferences{padding-top:32px!important;padding-bottom:32px!important}
html body #root .rm22-preferences>.my-red-section__title{margin-top:0!important}
html body #root .rm22-preferences>.btn{margin-bottom:0!important}
}
html body #root .composer__mic,html body #root .composer__mic:hover,html body #root .composer__mic:active,html body #root .composer__mic:focus-visible{background:transparent!important;box-shadow:none!important;outline:none!important;animation:none!important;transition:none!important;border-color:transparent!important}
html body #root .composer__mic:before,html body #root .composer__mic:after{display:none!important;animation:none!important}
html body #root .r15-shortlist-actions{align-items:end!important}
html body #root .r15-shortlist-actions>strong{align-self:end!important;line-height:1!important;margin-bottom:0!important;padding-bottom:0!important}
html body #root .r15-shortlist-actions>button:not(.r7-shortlist-3d){align-self:end!important;margin:0!important;transform:none!important}
/* Text gradients span the actual words, never the empty width of the parent. */
html body #root :is(.discover__name,.rm21-summary h1,.rm21-price>strong,.rm21-details>h2,.rm21-equipment>h2,.r3-service h3,.r5-shortlist-summary h1,.r15-shortlist-actions>strong,.r18-compare-label,.r6-account-title){width:fit-content!important;max-width:100%!important;background-image:var(--r19-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}
html body #root .rm21-summary .rm23-condition{background-image:var(--r19-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
@media(min-width:900px){
 html body #root .rds .rds__btn.rds__toggle{top:85px!important}
 html body #root .r5-shortlist-list{display:grid!important;grid-auto-rows:86px!important;align-content:start!important;align-items:stretch!important}
 html body #root .r5-shortlist-list>button{width:100%!important;min-width:0!important;max-width:none!important;height:86px!important;min-height:86px!important;max-height:86px!important;flex:none!important;box-sizing:border-box!important}
 html body .r16-planet-label text{font-size:11.34px!important}
 html body #root .rm21-summary>.rm-car-actions{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html body #root .rm21-summary{display:flex!important;flex-direction:column!important;gap:18px!important;justify-content:center!important}
 html body #root .rm21-summary>:is(.r3-title-heart,.rm21-location,.rm21-price,.rm21-status-row,.rm21-stats,.r16-detail-social){margin-top:0!important;margin-bottom:0!important}
 html body #root .rm21-summary .rm21-stats{row-gap:18px!important}
 html body #root .rm21-summary>.rm-car-actions{margin-top:0!important}
 html body #root .rm21-details>.r3-overview,html body #root .rm21-details>.r3-services{margin-top:36px!important}
 html body #root .rm21-details>h2{margin-top:24px!important;margin-bottom:20px!important}
 html body #root .rm21-equipment>h2{margin-bottom:20px!important}
 html body #root .rm21-spec-panels,html body #root .rm21-feature-grid{margin-top:0!important}
 html body #root .r5-cars .r5-car>header>img{width:76px!important;height:52px!important;object-fit:cover!important;flex-shrink:0!important}
 html body #root .r5-selected-cars>label>span{font-size:15px!important;line-height:1.4!important}
 html body #root #my-red-panel-requests,html body #root #requests{width:100%!important;max-width:none!important;box-sizing:border-box!important}
 html body #root .rm22-chat .composer{width:min(840px,100%)!important;max-width:840px!important}
 html body #root .rm22-chat .composer__box{min-height:67px!important;align-items:center!important;border-radius:999px!important}
 html body #root .app-drawer__header{height:70px!important;margin-top:15px!important;margin-bottom:30px!important;padding:0!important}
 html body #root .app-drawer .app-drawer__logo{position:fixed!important;left:28px!important;top:33px!important;width:252px!important;height:auto!important;max-width:none!important}
 html body #root .app-drawer .app-drawer__header>.app-menu-btn{position:fixed!important;left:6px!important;bottom:13px!important;top:auto!important;width:44px!important;height:44px!important;padding:12px!important;margin:0!important;box-sizing:border-box!important}
 html body #root .discover-desk .rm23-price>strong{background-image:var(--r19-gradient)!important;width:fit-content!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
}
@media(max-width:899px){
 html body #root .app-topbar__menu{color:#fff!important;opacity:1!important}
 html body #root .discover__toolbar button{color:rgba(255,255,255,.68)!important}
 html body #root .app-menu__list--lower .app-menu__row{font-size:14.4px!important}
 html body #root .app-drawer .app-drawer__logo{width:152.1px!important;max-width:none!important}
 html body #root .r5-shortlist{transform:translateY(-16px)!important}
 html body #root .r6-account-title-row{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important}
 html body #root .r6-account-title{font-size:17px!important;margin:0!important;flex:0 0 auto!important}
 html body #root .account-section__actions{display:flex!important;align-items:center!important;margin:0 0 0 auto!important;gap:8px!important}
 html body #root .account-section__actions>.btn{font-size:13px!important;padding-left:12px!important;padding-right:12px!important;min-width:0!important;margin:0!important}
 html body #root .dm-account .account-section__help{margin-top:24px!important}
}
@media(max-width:899px){
 html body #root .app-menu-btn[aria-label="Menu"]{color:#fff!important;opacity:1!important}
 html body #root .uxa-tool[aria-label="Search"]{color:rgba(255,255,255,.68)!important}
 html body #root#root #account .r6-account-title-row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
 html body #root#root #account .account-section__actions{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;align-self:center!important;transform:none!important;position:static!important}
 html body #root#root #account .account-section__actions>.btn{width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;padding:10px 12px!important;font-size:13px!important}
 html body #root#root #account .r6-account-title{position:static!important;transform:none!important;align-self:center!important}
}
@media(max-width:899px){
 html body :is(#root,.r12-chrome) .app-menu-btn[aria-label="Menu"]{color:#fff!important;opacity:1!important}
 html body #root#root #account .account-section__actions{margin:0 0 0 auto!important}
}
