/* The car screen's apps (car-apps.js) and its touch behaviour. Lengths in cqw, like the rest of the car's interface. */

/* ---------- touch: one close button, real hit areas, swipes that follow the finger ---------- */
#athena-screen.full .car-ui,body.car-page #athena-screen .car-ui{touch-action:none}
#athena-screen.full :is(.cs-scroll,.cs-grid>*,.cs-vgrid,.ca-grid,.ca-results,.ca-service,.ca-phonebody,.ca-stations,.ca-lights .cs-card,.ca-heatrow,.cp-line),
body.car-page #athena-screen :is(.cs-scroll,.cs-grid>*,.cs-vgrid,.ca-grid,.ca-results,.ca-service,.ca-phonebody,.ca-stations,.ca-lights .cs-card,.ca-heatrow,.cp-line){touch-action:pan-x pan-y}
.car-host.touch .car-ui *{-webkit-touch-callout:none}
.cp-close::before{content:'';position:absolute;inset:-1.2cqw}
.car-host.touch .cp-close{width:3.6cqw;height:3.6cqw;min-width:40px;min-height:40px;top:1cqw;right:1cqw;font-size:1.9cqw}
.car-host.touch .cp-foot{top:1.4cqw;right:max(5.6cqw,52px)}
.car-host.touch .cs-dock button{min-height:max(6.4cqw,44px)}
.cs-sheet.slide-l{animation:cs-slide-l .42s cubic-bezier(.2,.85,.2,1)}
.cs-sheet.slide-r{animation:cs-slide-r .42s cubic-bezier(.2,.85,.2,1)}
@keyframes cs-slide-l{from{transform:translateX(3.4cqw);opacity:.35}}
@keyframes cs-slide-r{from{transform:translateX(-3.4cqw);opacity:.35}}

/* the way back to the website: part of the status bar, so it turns with the screen and never covers the assistant's close */
.cs-back{display:none;align-items:center;gap:.5cqw;min-height:max(3.4cqw,36px);padding:0 1.1cqw 0 .6cqw;margin-right:.6cqw;border-radius:2cqw;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--ink2);font-size:.95cqw;letter-spacing:.14em;text-transform:uppercase;transition:background .25s,color .25s}
.cs-back svg{width:1.5cqw!important;height:1.5cqw!important;opacity:1!important}
.cs-back:hover,.cs-back:active{background:rgba(255,255,255,.1);color:var(--ink)}
#athena-screen.full:not(.standalone) .cs-back,body.car-page #athena-screen .cs-back{display:inline-flex}
#athena-screen.full:not(.standalone) .car-fs{display:none}
@media (display-mode: fullscreen),(display-mode: standalone){body.car-page #athena-screen .cs-back{display:none}}

/* the dock leaves room on the right for the moon and its two words, so they never sit on a tab */
.cs-dock{padding-right:16cqw}
.car-ui[data-panel="open"] .cs-dock{padding-right:3cqw}

/* ---------- the status bar: what is on, as small lights ---------- */
.cs-sicons{display:inline-flex;align-items:center;gap:.9cqw}
.cs-sicons:empty{display:none}
.ca-si{display:inline-flex;align-items:center;color:var(--ink2)}
.ca-si svg{width:1.45cqw!important;height:1.45cqw!important;opacity:.95!important}
.ca-si.call{color:var(--good)}
.ca-si.media{color:var(--acc2)}
.ca-si.dipped,.ca-si.fog{color:#8fe0a6}
.ca-si.main{color:#9cc8ff}
.ca-si.heat{color:var(--warn)}
.ca-si.fan svg{animation:ca-spin 2.4s linear infinite}
.ca-si.fan.l3 svg,.ca-si.fan.l4 svg{animation-duration:.9s}

/* ---------- headings with a way back to all apps ---------- */
.cs-sheet .ca-h{display:flex;align-items:center;gap:.8cqw}
.ca-up{width:2.6cqw;height:2.6cqw;min-width:30px;min-height:30px;margin:-.7cqw 0 -.7cqw -.6cqw;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--ink2);transition:background .25s,color .25s}
.ca-up svg{width:1.5cqw;height:1.5cqw}
.ca-up:active{background:rgba(255,255,255,.1);color:var(--ink)}

/* ---------- the apps ---------- */
.ca-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:1.1cqw;height:calc(100% - 2.5cqw);min-height:0}
.ca-tile{display:flex;flex-direction:column;align-items:flex-start;gap:.35cqw;padding:1.2cqw 1.3cqw;border-radius:1cqw;background:rgba(255,255,255,.035);border:1px solid var(--line);text-align:left;min-width:0;min-height:0;overflow:hidden;transition:background .25s,border-color .25s,transform .18s}
.ca-tile:hover{background:rgba(255,255,255,.055)}
.ca-tile:active{transform:scale(.97);background:rgba(255,255,255,.08)}
.ca-ico{width:3.4cqw;height:3.4cqw;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(var(--acc-rgb),.1);color:var(--acc2)}
.ca-ico svg{width:1.9cqw;height:1.9cqw}
.ca-tile b{margin-top:auto;font-weight:400;font-size:calc(1.18cqw * var(--ts));color:var(--ink);letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ca-tile small{font-size:.9cqw;color:var(--ink3);letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ca-tile.live{border-color:rgba(var(--acc-rgb),.38);background:rgba(var(--acc-rgb),.06)}
.ca-tile.live small{color:var(--acc2)}
.ca-tile.warm .ca-ico{background:rgba(233,187,140,.14);color:#f3d4b4}

/* ---------- media ---------- */
.ca-media{display:grid;grid-template-columns:1.35fr 1fr;gap:1.3cqw;height:calc(100% - 2.5cqw);min-height:0}
.ca-now{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"h h" "art song" "art tr" "vol vol";gap:.9cqw 1.6cqw;align-content:space-between;min-height:0}
.ca-now h3{grid-area:h;margin:0}
.ca-art{grid-area:art;width:11cqw;aspect-ratio:1;border-radius:.9cqw;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7cqw;color:rgba(255,255,255,.92);background:linear-gradient(140deg,#7a4b33,#2a2230 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.ca-art[data-st=night]{background:linear-gradient(140deg,#3c2f77,#121a33 72%)}
.ca-art[data-st=coast]{background:linear-gradient(140deg,#2f6f74,#1c2a33 72%)}
.ca-art span{font-weight:300;font-size:2.3cqw;letter-spacing:.02em}
.ca-song{grid-area:song;align-self:end;min-width:0}
.ca-song b{display:block;font-weight:400;font-size:calc(1.55cqw * var(--ts));color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ca-song span{display:block;margin-top:.25cqw;font-size:1.05cqw;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ca-transport{grid-area:tr;display:flex;align-items:center;gap:1.1cqw}
.ca-transport button{width:3.6cqw;height:3.6cqw;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);border:1px solid var(--line);background:rgba(255,255,255,.04);transition:background .2s,transform .18s}
.ca-transport button svg{width:1.6cqw;height:1.6cqw}
.ca-transport .ca-play{width:4.6cqw;height:4.6cqw;background:var(--acc);border-color:var(--acc);color:#0a0d12}
.ca-transport .ca-play svg{width:1.9cqw;height:1.9cqw}
.ca-transport button:active{transform:scale(.93)}
.ca-vol{grid-area:vol;display:flex;align-items:center;gap:1cqw;padding-top:.9cqw;border-top:1px solid var(--line)}
.ca-vol button{width:2.8cqw;height:2.8cqw;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--ink2);background:rgba(255,255,255,.04)}
.ca-vol button svg{width:1.3cqw;height:1.3cqw}
.ca-vol button:active{background:rgba(255,255,255,.12)}
.ca-vol em{font-style:normal;min-width:2cqw;text-align:right;font-size:1.05cqw;color:var(--ink2);font-variant-numeric:tabular-nums}
.ca-bar{flex:1;height:.42cqw;border-radius:.21cqw;background:rgba(255,255,255,.12);overflow:hidden;display:block}
.ca-bar i{display:block;height:100%;background:var(--acc);border-radius:inherit;transition:width .3s}
.ca-bar.big{height:.6cqw;margin:1cqw 0 1.2cqw}
.ca-stations{display:flex;flex-direction:column;min-height:0;overflow:auto;scrollbar-width:none}
.ca-stations::-webkit-scrollbar{display:none}
.ca-station{display:flex;align-items:center;gap:1.2cqw;padding:1cqw .8cqw;border-radius:.7cqw;text-align:left;color:var(--ink2);font-size:calc(1.15cqw * var(--ts));transition:background .25s,color .25s}
.ca-station em{font-style:normal;min-width:4.4cqw;color:var(--ink3);font-variant-numeric:tabular-nums;letter-spacing:.04em}
.ca-station span{flex:1}
.ca-station.on{background:rgba(var(--acc-rgb),.1);color:var(--ink)}
.ca-station.on em{color:var(--acc2)}
.ca-station:active{background:rgba(255,255,255,.08)}
.ca-eq{display:inline-flex;align-items:flex-end;gap:.18cqw;height:1.25cqw;color:inherit}
.ca-eq i{display:block;width:.24cqw;height:28%;border-radius:.12cqw;background:currentColor;opacity:.85}
.ca-eq.on i{animation:ca-eq 1.05s ease-in-out infinite}
.ca-eq.on i:nth-child(2){animation-delay:-.35s;animation-duration:.85s}
.ca-eq.on i:nth-child(3){animation-delay:-.6s;animation-duration:1.25s}
.ca-eq.on i:nth-child(4){animation-delay:-.2s;animation-duration:.95s}
.ca-art .ca-eq{height:1.6cqw}
.ca-art .ca-eq i{width:.32cqw}
@keyframes ca-eq{0%,100%{height:22%}50%{height:100%}}

/* ---------- phone ---------- */
.ca-phonebody{height:100%;overflow:auto;scrollbar-width:none;display:flex;flex-direction:column}
.ca-phonebody::-webkit-scrollbar{display:none}
.ca-contact{display:flex;align-items:center;gap:1.2cqw;width:100%;padding:.85cqw .6cqw;border-top:1px solid var(--line);text-align:left;color:var(--ink);font-size:calc(1.15cqw * var(--ts));transition:background .2s}
.ca-contact:first-child{border-top:0}
.ca-contact>span:nth-child(2){flex:1;min-width:0}
.ca-contact b{display:block;font-weight:400}
.ca-contact small{display:block;color:var(--ink3);font-size:.95cqw;margin-top:.15cqw}
.ca-contact>svg{width:1.6cqw;height:1.6cqw;color:var(--good);flex:none}
.ca-contact:active{background:rgba(255,255,255,.06)}
.ca-contact.missed b{color:var(--bad)}
.ca-ini{width:3cqw;height:3cqw;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);color:var(--ink2);font-size:1cqw;letter-spacing:.06em}
.ca-ini svg{width:1.4cqw;height:1.4cqw}
.ca-pad{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);grid-template-rows:auto 1fr;grid-template-areas:"num keys" "dial keys";gap:1.2cqw 1.6cqw;height:100%;min-height:0}
.ca-dialled{grid-area:num;display:flex;align-items:center;gap:.8cqw;min-height:4cqw;padding:0 .4cqw;border-bottom:1px solid var(--line)}
.ca-dialled span{flex:1;min-width:0;font-weight:300;font-size:2.1cqw;letter-spacing:.06em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:clip;font-variant-numeric:tabular-nums}
.ca-dialled button{width:2.8cqw;height:2.8cqw;display:inline-flex;align-items:center;justify-content:center;color:var(--ink2);border-radius:50%}
.ca-dialled button svg{width:1.6cqw;height:1.6cqw}
.ca-keys{grid-area:keys;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:minmax(0,1fr);gap:.6cqw;min-height:0}
.ca-key{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:.8cqw;background:rgba(255,255,255,.055);font-size:1.6cqw;font-weight:300;color:var(--ink);line-height:1;transition:background .12s}
.ca-key small{font-size:.66cqw;letter-spacing:.2em;color:var(--ink3);margin-top:.25cqw;min-height:.7cqw}
.ca-key:active{background:rgba(255,255,255,.16)}
.ca-dial{grid-area:dial;align-self:end;display:inline-flex;align-items:center;justify-content:center;gap:.8cqw;min-height:4cqw;border-radius:2cqw;background:#2f9e5b;color:#fff;font-size:1.1cqw;letter-spacing:.14em;text-transform:uppercase;transition:opacity .25s,transform .18s}
.ca-dial svg{width:1.5cqw;height:1.5cqw}
.ca-dial:disabled{opacity:.3}
.ca-dial:not(:disabled):active{transform:scale(.97)}
.ca-call{height:calc(100% - 2.5cqw);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.4cqw}
.ca-avatar{width:7cqw;height:7cqw;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(var(--acc-rgb),.14);color:var(--acc2);font-size:2.1cqw;font-weight:300;letter-spacing:.04em;position:relative;margin-bottom:.8cqw}
.ca-call[data-phase=calling] .ca-avatar::after,.ca-call[data-phase=ringing] .ca-avatar::after{content:'';position:absolute;inset:0;border-radius:50%;border:1px solid rgba(var(--acc-rgb),.6);animation:ca-ring 1.6s ease-out infinite}
@keyframes ca-ring{from{transform:scale(1);opacity:1}to{transform:scale(1.6);opacity:0}}
.ca-call h4{font-size:1.9cqw!important;font-weight:300!important;margin:0!important}
.ca-status{font-size:1.1cqw;letter-spacing:.1em;color:var(--acc2)!important;font-variant-numeric:tabular-nums;min-height:1.6cqw}
.ca-call[data-phase=noanswer] .ca-status{color:var(--warn)!important}
.ca-callbtns{display:flex;gap:2.4cqw;margin-top:1.4cqw}
.ca-round{display:flex;flex-direction:column;align-items:center;gap:.55cqw;color:var(--ink2);font-size:.85cqw;letter-spacing:.1em;text-transform:uppercase}
.ca-round svg{width:4.4cqw;height:4.4cqw;padding:1.2cqw;border-radius:50%;background:rgba(255,255,255,.07);color:var(--ink);transition:background .2s,transform .18s}
.ca-round.on svg,.ca-round[aria-pressed=true] svg{background:rgba(var(--acc-rgb),.2);color:var(--acc2)}
.ca-round.end svg{background:#d6453a;color:#fff}
.ca-round:active svg{transform:scale(.93)}

/* ---------- navigation ---------- */
.ca-nav{display:flex;flex-direction:column;gap:1.2cqw;height:calc(100% - 2.5cqw);min-height:0}
.ca-search{display:flex;align-items:center;gap:1cqw;min-height:4.2cqw;padding:0 1.4cqw;border-radius:2.2cqw;background:rgba(255,255,255,.06);border:1px solid var(--line);transition:border-color .25s,background .25s}
.ca-search:focus-within{border-color:rgba(var(--acc-rgb),.55);background:rgba(255,255,255,.08)}
.ca-search svg{width:1.6cqw;height:1.6cqw;color:var(--ink2);flex:none}
.ca-search input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--ink);font:inherit;font-size:max(16px,1.35cqw);letter-spacing:.02em;padding:.6cqw 0;-webkit-user-select:text;user-select:text}
.ca-search input::placeholder{color:var(--ink3)}
.ca-results{display:grid;grid-template-columns:1fr 1fr;gap:0 1.6cqw;align-content:start;min-height:0;overflow:auto;scrollbar-width:none}
.ca-results::-webkit-scrollbar{display:none}
.ca-col{display:flex;flex-direction:column;min-width:0}
.ca-col.wide{grid-column:1/-1}
.ca-col h3{margin:.2cqw 0 .4cqw}
.ca-place{display:flex;align-items:center;gap:1.1cqw;width:100%;padding:.85cqw .6cqw;border-top:1px solid var(--line);text-align:left;color:var(--ink);font-size:calc(1.12cqw * var(--ts));border-radius:.4cqw;transition:background .2s}
.ca-col h3+.ca-place,.ca-col .ca-place:first-child{border-top:0}
.ca-place>svg{width:1.7cqw;height:1.7cqw;color:var(--acc2);flex:none}
.ca-place>span{flex:1;min-width:0}
.ca-place b{display:block;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ca-place small{display:block;color:var(--ink3);font-size:.92cqw;margin-top:.15cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ca-place em{font-style:normal;text-align:right;color:var(--ink2);font-size:1.02cqw;font-variant-numeric:tabular-nums;white-space:nowrap}
.ca-place em small{color:var(--ink3);font-size:.88cqw}
.ca-place:active{background:rgba(255,255,255,.06)}
.ca-preview{display:flex;gap:1.6cqw;align-items:flex-start;padding:1.6cqw 1.8cqw}
.ca-preview>svg{width:3cqw;height:3cqw;color:var(--acc2);flex:none;margin-top:.2cqw}
.ca-preview>div{flex:1;min-width:0}
.ca-preview h4{font-size:2cqw!important;font-weight:300!important}
.ca-trip{display:flex;align-items:baseline;gap:2cqw;margin-top:1.2cqw;padding-top:1cqw;border-top:1px solid var(--line)}
.ca-trip b{font-weight:300;font-size:2.2cqw;color:var(--ink);letter-spacing:-.01em}
.ca-trip span{font-size:1.1cqw;letter-spacing:.08em;color:var(--ink2)}
.ca-actions{display:flex;flex-wrap:wrap;gap:.8cqw;margin-top:1.4cqw}
.ca-actions button{display:inline-flex;align-items:center;gap:.7cqw;min-height:3.6cqw;padding:0 1.8cqw;border-radius:2cqw;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--ink2);font-size:1.05cqw;letter-spacing:.1em;text-transform:uppercase;transition:background .2s,transform .18s}
.ca-actions button:active{transform:scale(.97)}
.ca-actions svg{width:1.5cqw;height:1.5cqw}
.ca-primary{display:inline-flex;align-items:center;gap:.8cqw;min-height:3.6cqw;padding:0 1.9cqw;border-radius:2cqw;background:var(--acc)!important;border:1px solid var(--acc)!important;color:#0a0d12!important;font-size:1.05cqw;letter-spacing:.12em;text-transform:uppercase;font-weight:500;transition:transform .18s,filter .2s}
.ca-primary svg{width:1.5cqw;height:1.5cqw}
.ca-primary:active{transform:scale(.97);filter:brightness(1.08)}

/* ---------- climate ---------- */
.ca-climate{display:grid;grid-template-rows:minmax(0,1.25fr) minmax(0,1fr);gap:1.2cqw;height:calc(100% - 2.5cqw);min-height:0}
.ca-temps{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.4cqw;min-height:0}
.ca-temp{display:flex;flex-direction:column;align-items:center;gap:.6cqw}
.ca-temp small{font-size:.92cqw;letter-spacing:.2em;text-transform:uppercase;color:var(--ink3)}
.ca-temp>div{display:flex;align-items:center;gap:1.2cqw}
.ca-temp b{font-weight:300;font-size:3.6cqw;letter-spacing:-.02em;color:var(--ink);min-width:7.4cqw;text-align:center;font-variant-numeric:tabular-nums}
.ca-temp button{width:3.4cqw;height:3.4cqw;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--ink);transition:background .2s,transform .15s}
.ca-temp button svg{width:1.5cqw;height:1.5cqw}
.ca-temp button:active{transform:scale(.92);background:rgba(255,255,255,.12)}
.ca-mid{display:flex;flex-direction:column;align-items:center;gap:.9cqw}
.ca-fanrow{display:flex;align-items:center;gap:1cqw}
.ca-fanviz{color:var(--acc2);line-height:0}
.ca-fanviz svg{width:2.6cqw;height:2.6cqw;animation:ca-spin 4.2s linear infinite}
.ca-fanviz.l1 svg{animation-duration:2.6s}
.ca-fanviz.l2 svg{animation-duration:1.5s}
.ca-fanviz.l3 svg{animation-duration:.95s}
.ca-fanviz.l4 svg{animation-duration:.6s}
@keyframes ca-spin{to{transform:rotate(360deg)}}
.ca-fanseg button{padding:0 1.15cqw!important}
.ca-row2{display:flex;gap:.7cqw}
.ca-heat{min-height:0}
.ca-heatrow{display:flex;align-items:center;gap:.8cqw;height:calc(100% - 2cqw);min-height:0}
.ca-gap{flex:1;min-width:.6cqw}
.ca-tog,.ca-seat{flex:none;min-width:6.4cqw;min-height:min(7.6cqw,100%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45cqw;padding:.7cqw .8cqw;border-radius:.9cqw;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--ink2);transition:background .25s,border-color .25s,color .25s,transform .15s}
.ca-tog svg,.ca-seat svg{width:1.9cqw;height:1.9cqw}
.ca-tog small,.ca-seat small{font-size:.8cqw;letter-spacing:.14em;text-transform:uppercase}
.ca-tog:active,.ca-seat:active{transform:scale(.96)}
.ca-tog.on{border-color:rgba(var(--acc-rgb),.5);background:rgba(var(--acc-rgb),.1);color:var(--acc2)}
.ca-seat.on{border-color:rgba(255,181,114,.55);background:rgba(255,181,114,.08);color:#ffd2a8}
.ca-row2 .ca-tog{min-width:5.4cqw;min-height:0;flex-direction:row;padding:.55cqw 1cqw}
.ca-dots{display:flex;gap:.3cqw}
.ca-dots i{width:.5cqw;height:.5cqw;border-radius:50%;background:rgba(255,255,255,.16)}
.ca-dots i.on{background:var(--warn);box-shadow:0 0 .5cqw rgba(255,181,114,.7)}

/* ---------- lights ---------- */
.ca-lights{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.3cqw;height:calc(100% - 2.5cqw);min-height:0}
.ca-lights .cs-card{min-height:0;overflow:auto;scrollbar-width:none}
.ca-beam{display:flex;justify-content:center;padding:1cqw 0 1.4cqw;color:var(--ink3);transition:color .4s,filter .4s}
.ca-beam svg{width:6.4cqw;height:6.4cqw;stroke-width:1.2}
.ca-beam.b-auto{color:var(--ink2)}
.ca-beam.b-dipped{color:#8fe0a6;filter:drop-shadow(0 0 .8cqw rgba(143,224,166,.45))}
.ca-beam.b-main{color:#9cc8ff;filter:drop-shadow(0 0 1.2cqw rgba(156,200,255,.6))}
.ca-headseg{justify-content:space-between}
.ca-headseg button{flex:1;padding:0 .8cqw!important}
.ca-optl{display:inline-flex;align-items:center;gap:.9cqw}
.ca-optl svg{width:1.7cqw;height:1.7cqw;color:var(--ink2)}
.ca-swatches{display:flex;gap:1cqw;padding:1.1cqw 0 .2cqw;transition:opacity .3s}
.ca-swatches.off{opacity:.35}
.ca-swatch{width:3cqw;height:3cqw;min-width:28px;min-height:28px;border-radius:50%;background:var(--c);border:2px solid rgba(0,0,0,.4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);transition:transform .18s,box-shadow .25s}
.ca-swatch.on{box-shadow:0 0 0 2px #fff,0 0 1.2cqw var(--c)}
.ca-swatch:active{transform:scale(.92)}
/* the cabin itself: the interior light from above, ambient light spilling low across the screen */
.car-ui.ca-interior .cs-shade::after{content:'';position:absolute;inset:0;background:radial-gradient(60% 46% at 50% -6%,rgba(255,236,204,.2),rgba(255,236,204,0) 70%);pointer-events:none}
.car-ui.ca-amb .cs-shade::before{content:'';position:absolute;left:0;right:0;bottom:0;height:16cqw;background:radial-gradient(70% 100% at 50% 100%,color-mix(in srgb,var(--amb,#e9bb8c) 22%,transparent),transparent 72%);pointer-events:none;transition:background .6s}

/* ---------- service ---------- */
.ca-service{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:min-content;gap:1.1cqw;height:calc(100% - 2.5cqw);min-height:0;overflow:auto;scrollbar-width:none}
.ca-service::-webkit-scrollbar{display:none}
.ca-ok{display:flex;align-items:center;gap:.7cqw;color:var(--good)!important;font-size:1.05cqw}
.ca-ok svg{width:1.5cqw;height:1.5cqw}
.ca-tyregrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6cqw}
.ca-tyregrid span{display:flex;align-items:baseline;justify-content:space-between;padding:.7cqw 1cqw;border-radius:.7cqw;background:rgba(255,255,255,.04);font-weight:300;font-size:1.6cqw;color:var(--ink);font-variant-numeric:tabular-nums}
.ca-tyregrid span small{font-size:.8cqw;letter-spacing:.18em;color:var(--ink3)}
.ca-tyregrid span.low{color:var(--warn);background:rgba(255,181,114,.08)}
.ca-warn{display:flex;align-items:center;gap:.7cqw;margin-top:.9cqw!important;color:var(--warn)!important;font-size:1.02cqw}
.ca-warn svg{width:1.5cqw;height:1.5cqw;flex:none}
.ca-warn button{margin-left:auto;min-height:2.8cqw;padding:0 1.2cqw;border-radius:2cqw;border:1px solid rgba(255,181,114,.5);color:#ffd2a8;font-size:.95cqw;letter-spacing:.1em;text-transform:uppercase}
.ca-hist .cs-row,.ca-war .cs-row{align-items:flex-start}
.ca-hist .cs-row span small,.ca-war .cs-row span small{display:block;margin:.2cqw 0 0;text-align:left;color:var(--ink3)}

/* with the assistant open, the pages are narrower */
.car-ui[data-panel="open"] .ca-grid{grid-template-columns:repeat(4,minmax(0,1fr));overflow:auto;grid-auto-rows:minmax(9.6cqw,1fr);scrollbar-width:none}
.car-ui[data-panel="open"] .ca-tile{padding:.9cqw 1cqw}
.car-ui[data-panel="open"] .ca-ico{width:2.6cqw;height:2.6cqw}
.car-ui[data-panel="open"] .ca-ico svg{width:1.5cqw;height:1.5cqw}
.car-ui[data-panel="open"] .ca-media{grid-template-columns:1fr}
.car-ui[data-panel="open"] .ca-stations{display:none}
.car-ui[data-panel="open"] .ca-results{grid-template-columns:1fr}
.car-ui[data-panel="open"] .ca-service{grid-template-columns:1fr}
.car-ui[data-panel="open"] .ca-lights{grid-template-columns:1fr;overflow:auto}
.car-ui[data-panel="open"] .ca-heatrow .ca-gap{display:none}
.car-ui[data-panel="open"] .ca-heatrow{overflow-x:auto;scrollbar-width:none}

html.motion-off .ca-eq i,html.motion-off .ca-fanviz svg,html.motion-off .ca-si.fan svg{animation:none!important}
@media (prefers-reduced-motion:reduce){.ca-eq i,.ca-fanviz svg,.ca-si.fan svg,.ca-call .ca-avatar::after{animation:none!important}}
.cs-now svg{width:1.2cqw;height:1.2cqw;vertical-align:-.2cqw;margin-right:.5cqw;color:var(--acc2)}
