/* R6 follows the owner's Motors source and supplied soft-overlay extract. */
:root{--r6-edge:clamp(18px,2.4vw,40px);--r6-orb:clamp(69px,7.56vw,117px);--r6-logo:clamp(131px,17.498vw,271px);--r6-veil:radial-gradient(closest-side,rgba(4,4,5,.8) 0%,rgba(4,4,5,.72) 22%,rgba(4,4,5,.56) 40%,rgba(4,4,5,.38) 55%,rgba(4,4,5,.22) 68%,rgba(4,4,5,.11) 79%,rgba(4,4,5,.045) 89%,rgba(4,4,5,.012) 96%,rgba(4,4,5,0) 100%)}
html body :is(#root,.r12-chrome) .r5-cta-sheen{display:none!important;animation:none!important}
html body :is(#root,.r12-chrome) .btn{border:1px solid #ffffff0a!important;border-bottom:1px solid #ffffff0a!important;padding:12px 24px!important;min-height:44px;position:relative;isolation:isolate}
html body :is(#root,.r12-chrome) .btn:after{content:'';position:absolute;inset:-1px;border-radius:inherit;border:1.4px solid #ac414c;pointer-events:none;mask-image:linear-gradient(to top,#000 0%,#000 9%,#0007 28%,transparent 72%);-webkit-mask-image:linear-gradient(to top,#000 0%,#000 9%,#0007 28%,transparent 72%)}
html body :is(#root,.r12-chrome) .btn:has(>.r5-comet-ring){border-color:#ffffff35!important}
html body :is(#root,.r12-chrome) .btn:has(>.r5-comet-ring):after,html body :is(#root,.r12-chrome) .r3-heart:after{display:none!important}
html body :is(#root,.r12-chrome) .r3-heart{padding:10px!important}
html body :is(#root,.r12-chrome) .r5-compare-toggle{position:relative;isolation:isolate;overflow:visible;border:1px solid #ffffff35;min-height:46px;padding:12px 22px;gap:14px}
html body :is(#root,.r12-chrome) button:disabled .r5-comet-ring>i{animation-play-state:running!important;opacity:1!important}
html body :is(#root,.r12-chrome) .composer__send{opacity:1!important;border-color:#ffffff8a!important;width:44px;height:44px;min-width:44px}
html body :is(#root,.r12-chrome) .composer__send .r5-comet-ring>i{animation:r5-comet 12s linear infinite!important;opacity:1!important}
html body :is(#root,.r12-chrome) .composer__send svg{width:20px;height:20px;stroke:#fff;opacity:1!important}
html body :is(#root,.r12-chrome) .r5-send-sweep{stroke:#e16e75;animation:r5-arrow-up 7s linear infinite!important;stroke-width:2.1}
.r6-heart-lava{display:none;opacity:.88}.r6-lava-flow{transform-origin:12px 12px;animation:r6-lava 16s ease-in-out infinite alternate}.r6-lava-flow--second{animation-duration:19s;animation-direction:alternate-reverse;opacity:.6}
html body :is(#root,.r12-chrome) :is([data-save-heart],.r3-heart,.r5-save-heart)[aria-pressed=true] svg{fill:none!important;stroke:#d36a72!important;filter:none!important}
html body :is(#root,.r12-chrome) :is([data-save-heart],.r3-heart,.r5-save-heart)[aria-pressed=true],html body :is(#root,.r12-chrome) [data-lava-heart]{animation:none!important}
[aria-pressed=true] .r6-heart-lava,[data-filled=true] .r6-heart-lava{display:block}
@keyframes r6-lava{from{transform:translate(-2px,3px) rotate(-9deg)}to{transform:translate(3px,-3px) rotate(12deg)}}
html body :is(#root,.r12-chrome) .r5-model-viewer{border:0!important}
.r6-gallery>.r5-model-viewer{height:100%!important;min-height:0!important;width:100%}
.r6-gallery-model{position:absolute!important;right:15px;top:15px;z-index:5;width:42px;height:42px;padding:0;background:#080808b8;border:1px solid #ffffff5c;color:white;font-size:11px;font-weight:500;cursor:pointer}
.r6-model-help{position:absolute;right:16px;bottom:16px;z-index:4;color:#ddd;font-size:12px}.r6-model-help summary{display:grid;place-items:center;list-style:none;width:25px;height:25px;border:1px solid #ffffff5a;border-radius:50%;background:#0008;cursor:pointer;font-size:12px}.r6-model-help summary::-webkit-details-marker{display:none}.r6-model-help p{position:absolute;right:0;bottom:28px;background:#121212eb;border:1px solid #ffffff20;border-radius:12px;padding:12px 16px;width:150px;font-size:12px;line-height:1.7;margin:0}
html body :is(#root,.r12-chrome) .r5-model-start .btn{padding:14px 30px!important}
html body :is(#root,.r12-chrome) .r5-planet-entry{cursor:default!important;border:0!important;padding:0!important;background:none!important;opacity:1!important;pointer-events:auto}
html body :is(#root,.r12-chrome) .rm24-centre{border:0!important;padding:0!important;background:none!important;cursor:default;opacity:1!important;color:inherit}
html body :is(#root,.r12-chrome) .rm24-nav .rm-nav-icon{width:25px!important;height:25px!important;stroke-width:1.7!important}
html body :is(#root,.r12-chrome) .rm23-card-status{justify-content:flex-start!important;gap:8px;margin:0}
.r6-spec-badges{display:grid;grid-template-columns:auto auto auto auto;justify-content:start;gap:6px;white-space:nowrap;margin:24px 0}
html body :is(#root,.r12-chrome) .r6-spec-badges .rm23-condition{font-size:9px!important;letter-spacing:.02em!important;padding:5px 7px!important;white-space:nowrap!important;word-break:keep-all!important;min-height:24px}
html body :is(#root,.r12-chrome) .rm23-price strong{font-size:14px!important;font-weight:400!important;line-height:1.5!important}
html body :is(#root,.r12-chrome) .rm23-card-info{margin-bottom:22px!important}
html body :is(#root,.r12-chrome) .rm23-card-info .discover__name{margin:18px 0 14px!important;line-height:1.3!important;font-weight:500!important}
html body :is(#root,.r12-chrome) .rm23-location{margin:0!important;font-size:12px!important;line-height:1.6}
html body :is(#root,.r12-chrome) .r3-detail .rm21-price strong{font-size:17px!important;font-weight:400!important}
html body :is(#root,.r12-chrome) .rm24-nav{isolation:isolate;background:transparent!important;overflow:visible!important}
html body :is(#root,.r12-chrome) .rm24-nav:before{content:''!important;display:block!important;position:absolute;z-index:-1;left:0;right:0;bottom:0;height:calc(120px + env(safe-area-inset-bottom,0px));pointer-events:none;background:linear-gradient(to top,rgba(4,4,5,.86) 0%,rgba(4,4,5,.8) 34%,rgba(4,4,5,.6) 58%,rgba(4,4,5,.34) 76%,rgba(4,4,5,.14) 89%,rgba(4,4,5,.04) 96%,rgba(4,4,5,0) 100%)}
html body :is(#root,.r12-chrome) .app-topbar,html body :is(#root,.r12-chrome) .app-topbar__inner{background:transparent!important;isolation:isolate}
html body :is(#root,.r12-chrome) .app-topbar:before{content:''!important;display:block!important;position:absolute;z-index:-1;left:-25vw;right:-25vw;top:-60px;height:calc(176px + env(safe-area-inset-top,0px));pointer-events:none;background:radial-gradient(ellipse closest-side,rgba(4,4,5,.8) 0%,rgba(4,4,5,.72) 22%,rgba(4,4,5,.56) 40%,rgba(4,4,5,.38) 55%,rgba(4,4,5,.22) 68%,rgba(4,4,5,.11) 79%,rgba(4,4,5,.045) 89%,rgba(4,4,5,.012) 96%,rgba(4,4,5,0) 100%)}
html body :is(#root,.r12-chrome) .my-red-v2{max-width:1100px!important;overflow:hidden!important;min-height:calc(100dvh - 80px)!important;padding-top:360px!important;isolation:isolate}
.r6-motion-sphere{position:absolute;top:0;left:0;z-index:0;pointer-events:none;transform-origin:center;mix-blend-mode:screen;will-change:transform}
.r6-motion-sphere>.r6-sphere{width:100%;height:100%;object-fit:contain;border-radius:0;transform:scale(1.9);mix-blend-mode:screen}
html body :is(#root,.r12-chrome) .my-red-v2>.myred-panel{position:relative;z-index:1}
html body :is(#root,.r12-chrome) .myred-tabs{top:385px!important;right:12px!important}
html body :is(#root,.r12-chrome) .myred-tabs__tab{width:40px!important;height:40px!important;min-height:40px!important}
html body :is(#root,.r12-chrome) .myred-panel[aria-label="My Requests"] .my-red-section{min-height:300px;padding:30px!important}
html body :is(#root,.r12-chrome) .myred-panel[aria-label="My Requests"]{font-size:15px;line-height:1.7}
html body :is(#root,.r12-chrome) .settings-screen{padding-top:30px!important;max-width:850px!important}
html body :is(#root,.r12-chrome) .dm-account>.my-red-section__title{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 24px!important}
.r6-account-title{font-size:17px;font-weight:500;margin:0}.r6-account-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body :is(#root,.r12-chrome) .dm-account .account-section__actions{margin:0!important;justify-content:flex-start!important;gap:10px!important}
html body :is(#root,.r12-chrome) .dm-links{display:flex!important;flex-direction:column;gap:0}.dm-account__row{justify-content:flex-start!important}
@media(hover:hover) and (pointer:fine){.r6-model-help:hover p{display:block}.r6-model-help:not([open]) p{display:none}.r6-model-help:not([open]):hover p{display:block}}
@media(min-width:900px){
 html body :is(#root,.r12-chrome) .rds{padding:var(--r6-edge)!important;width:210px!important;overflow:visible!important;isolation:isolate}
 html body :is(#root,.r12-chrome) .rds__brand .r5-wordmark{width:var(--r6-logo)!important;max-width:none!important;height:auto!important}
 html body :is(#root,.r12-chrome) .rds__brand{width:var(--r6-logo)!important;position:relative;z-index:1}
 html body :is(#root,.r12-chrome) .rds:before{content:'';position:fixed;pointer-events:none;z-index:-1;width:calc(var(--r6-logo) + 340px);height:360px;left:calc(var(--r6-edge) - 170px);top:calc(var(--r6-edge) + var(--r6-logo)*.0874 - 180px);background:var(--r6-veil)}
 html body :is(#root,.r12-chrome) .rds__head{width:100%;margin-bottom:10px}
 html body :is(#root,.r12-chrome) .rds__toggle{margin-top:26px!important}
 html body :is(#root,.r12-chrome) .rds__link .rm-nav-icon{width:20px!important;height:20px!important;stroke-width:1.6!important;fill:none!important}
 html body :is(#root,.r12-chrome) .rds__count{display:none!important}
 html body :is(#root,.r12-chrome) .r5-planet-entry{top:var(--r6-edge)!important;right:var(--r6-edge)!important;width:var(--r6-orb)!important;height:var(--r6-orb)!important;overflow:visible!important}
 html body :is(#root,.r12-chrome) .r5-planet-entry>.r6-sphere{transform:scale(1.35);border-radius:50%}
 html body :is(#root,.r12-chrome) .r5-planet-entry>span{font-size:clamp(9px,.85vw,12px)!important;letter-spacing:.1em!important}
 html body :is(#root,.r12-chrome) .app-main{margin-left:210px!important;width:calc(100% - 210px)!important}
 html[data-red-sidebar=collapsed] body :is(#root,.r12-chrome) .app-main{margin-left:78px!important;width:calc(100% - 78px)!important}
 html body :is(#root,.r12-chrome) .app-shell:has(.rds:is([data-section=discover],[data-section=shortlist],[data-section=compare])) .app-main{padding-top:calc(var(--r6-edge) + var(--r6-orb) + 34px)!important}
 html body :is(#root,.r12-chrome) .rm22-discover-heading,html body :is(#root,.r12-chrome) .discover-desk__count{display:none!important}
 html body :is(#root,.r12-chrome) .discover-desk__bar{padding-right:0!important;margin-bottom:24px!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__item{height:clamp(360px,28vw,460px)!important;min-height:0!important;grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr)!important;border:1px solid #ffffff15!important;border-radius:14px!important;background:#000!important;overflow:hidden!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__media-open,html body :is(#root,.r12-chrome) .discover-desk .discover__media{min-height:0!important;height:100%!important;object-fit:contain!important;object-position:center!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__overlay{padding:28px!important;display:flex!important;justify-content:space-between!important;gap:20px!important;background:transparent!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__overlay:before{display:none!important}
 html body :is(#root,.r12-chrome) .discover-desk .rm23-card-info{flex:1;display:flex;flex-direction:column;margin:0!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__name{font-size:22px!important;margin-top:18px!important;margin-bottom:12px!important}
 html body :is(#root,.r12-chrome) .discover-desk .r6-spec-badges{margin:22px 0!important;gap:5px}
 html body :is(#root,.r12-chrome) .discover-desk .r6-spec-badges .rm23-condition{font-size:8px!important;padding:5px 6px!important}
 html body :is(#root,.r12-chrome) .discover-desk .rm23-price{margin-top:auto!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__cta-row{width:calc(100% - 90px);min-width:170px;gap:10px;margin:0!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__cta-row .btn{padding:11px 14px!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__rail{bottom:28px!important;right:24px!important;top:auto!important;gap:7px!important}
 html body :is(#root,.r12-chrome) .discover-desk .discover__rail-btn{min-width:34px!important;min-height:34px!important;width:34px!important;height:34px!important}
 html body :is(#root,.r12-chrome) .r5-compare-toggle{min-width:210px;font-size:17px;min-height:52px}
 html body :is(#root,.r12-chrome) .rm22-chat .prompt-chips{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important;max-width:660px;margin:28px auto 0!important}
 html body :is(#root,.r12-chrome) .rm22-chat .prompt-chip{display:grid!important;grid-template-columns:26px 1fr!important;min-height:94px!important;width:100%!important;padding:22px 26px!important;gap:20px!important}
 html body :is(#root,.r12-chrome) .rm22-chat .prompt-chip>svg{display:none!important}
 html body :is(#root,.r12-chrome) .rm22-chat .conversation__empty{padding-top:95px!important}
 html body :is(#root,.r12-chrome) .settings-screen{margin-top:90px!important}
}
@media(max-width:899px){
 html body :is(#root,.r12-chrome) .discover__overlay{left:0!important;right:0!important;width:100%!important;max-width:none!important;padding:0 16px 28px!important;background:transparent!important;bottom:0!important}
 html body :is(#root,.r12-chrome) .discover__overlay:before{content:''!important;display:block!important;position:absolute;left:0!important;right:0!important;top:-100px!important;bottom:-1px!important;z-index:-1;pointer-events:none;background:linear-gradient(to top,rgba(4,4,5,.96) 0%,rgba(4,4,5,.9) 35%,rgba(4,4,5,.65) 65%,rgba(4,4,5,.28) 85%,rgba(4,4,5,0) 100%)!important}
 html body :is(#root,.r12-chrome) .discover__cta-row{width:calc(100% - 64px);gap:12px!important}
 html body :is(#root,.r12-chrome) .discover__rail{right:14px!important;bottom:28px!important;gap:10px!important}
 html body :is(#root,.r12-chrome) .discover__name{font-size:20px!important;max-width:100%!important}
 html body :is(#root,.r12-chrome) .rm23-card-info{margin-bottom:22px!important}
 html body :is(#root,.r12-chrome) .r6-spec-badges{width:100%;grid-template-columns:auto auto auto auto;gap:5px;margin:24px 0}
 html body :is(#root,.r12-chrome) .r6-spec-badges .rm23-condition{font-size:8px!important;padding:5px 7px!important;letter-spacing:0!important}
 html body :is(#root,.r12-chrome) .my-red-v2{padding-top:310px!important;padding-right:64px!important}
 html body :is(#root,.r12-chrome) .myred-tabs{top:335px!important;right:12px!important}
 html body :is(#root,.r12-chrome) .myred-panel[aria-label="My Requests"] .my-red-section{min-height:220px;padding:22px!important}
}
@media(max-width:360px){html body :is(#root,.r12-chrome) .r6-spec-badges{gap:4px!important}html body :is(#root,.r12-chrome) .r6-spec-badges .rm23-condition{font-size:7.5px!important;padding:5px 6px!important}.r6-gallery-model{right:12px;top:12px;width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){html body :is(#root,.r12-chrome) .r6-lava-flow,html body :is(#root,.r12-chrome) .composer__send .r5-comet-ring>i,html body :is(#root,.r12-chrome) .r5-send-sweep{animation:none!important}.r6-motion-sphere{transition:none!important}}
/* Keep the existing three-part prompt anatomy in a readable row. */
html body :is(#root,.r12-chrome) .rm22-chat .rm22-prompt-icon{grid-column:1!important;grid-row:1!important;align-self:center!important}
html body :is(#root,.r12-chrome) .rm22-chat .rm22-prompt-copy{grid-column:2!important;grid-row:1!important;min-width:0!important;width:auto!important;white-space:normal!important}
html body :is(#root,.r12-chrome) .rm22-chat .prompt-chip>svg{grid-column:3!important;grid-row:1!important}
@media(min-width:900px){html body :is(#root,.r12-chrome) .rm22-chat .conversation__empty{width:100%!important;max-width:660px!important;align-self:center!important}html body :is(#root,.r12-chrome) .app-shell:has(.rds[data-section=journey]) .app-main{padding-top:calc(var(--r6-edge) + var(--r6-orb) + 22px)!important}}
html body :is(#root,.r12-chrome) .r6-spec-badges .rm23-condition{font-size:10px!important}
@media(max-width:360px){html body :is(#root,.r12-chrome) .r6-spec-badges .rm23-condition{font-size:9px!important}}
