/* Center touchscreen (own design). Light theme by day, dark at night, like the real system's auto mode.
   Sizes use container units of .screen so both 12.9" and 17" scale. */
.iv {
  --bg: #e8edf3; --panel: #ffffff; --panel2: #f3f6f9; --line: #e0e5ec; --text: #141b26; --sub: #667385;
  --acc: #2f6cf6; --acc-ink: #ffffff; --chip: #e4e9f0; --bar: #f6f8fb; --car: #456690; --car-hi: #86a5cc; --car-lo: #1d2f48; --car2: #5f6873; --glass: #c9d6e3;
  --sh: 0 .1cqw .25cqw rgba(16, 24, 40, .06), 0 .25cqw .8cqw rgba(16, 24, 40, .06);
  --map-bg: #eef0eb; --map-park: #d4e7cd; --map-road: #ffffff; --map-casing: #d9dee5; --map-minor: #ffffff; --map-block: #e2e5e9; --map-water: #b9d6ef; --map-label: #7d8796;
  position: absolute; inset: 0; background: var(--bg); color: var(--text); font-size: 1.7cqw; letter-spacing: -.01em;
}
.iv.dark {
  --bg: #0a0e13; --panel: #141b24; --panel2: #10161e; --line: #212b37; --text: #e8edf3; --sub: #8a97a8;
  --acc: #4583ff; --chip: #1b2431; --bar: #080b10; --car: #3f5f8a; --car-hi: #7896bf; --car-lo: #18273c; --car2: #222a34; --glass: #1d2a39;
  --sh: 0 .2cqw .8cqw rgba(0, 0, 0, .35);
  --map-bg: #121a22; --map-park: #15241c; --map-road: #2b3b50; --map-casing: #1b2633; --map-minor: #1e2a39; --map-block: #18212c; --map-water: #10283d; --map-label: #6f7c8d;
}
.iv svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iv-off { display: grid; place-items: center; height: 100%; color: #3a4350; font-size: 2.2cqw; background: #000; }
.iv-area { position: absolute; overflow: hidden; }
.iv-sub { color: var(--sub); font-size: 1.4cqw; margin: 0 0 1cqw; }
.iv-spec { color: #d48a00; font-size: 1.1cqw; }
.iv button { font-family: inherit; }

.iv-status { display: flex; justify-content: space-between; align-items: center; padding: 0 1.6cqw; font-size: 1.25cqw; color: var(--sub); }
.iv-st-right { display: flex; gap: 1.1cqw; align-items: center; }
.iv-st-right i { font-style: normal; opacity: .8; }
.iv-prof { display: grid; place-items: center; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; border: 1px solid var(--line); color: #b05ad8; font-size: 1cqw; }

/* cluster */
.iv-cluster { height: 100%; padding: 1.2cqw 1.4cqw 1cqw; display: grid; grid-template-rows: auto auto 1fr auto; gap: .5cqw; background: var(--bg); border-right: 1px solid var(--line); }
.iv-cl-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; }
.iv-cl-speed small { display: block; color: var(--sub); font-size: 1.05cqw; }
.iv-cl-spd { display: block; font-size: 5.2cqw; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.iv-cl-gear { font-size: 2.6cqw; font-weight: 800; padding-top: .2cqw; }
.iv-cl-range { text-align: right; font-size: 1.1cqw; color: var(--sub); }
.iv-cl-range b { font-size: 1.5cqw; color: var(--text); }
.iv-fuel { font-style: normal; color: var(--text); margin-left: .3cqw; }
.iv-cl-lamps { display: flex; flex-wrap: wrap; gap: .7cqw; min-height: 2cqw; font-size: 1.15cqw; }
.iv-cl-mid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6cqw; min-height: 0; }
.iv-cl-left { display: flex; flex-direction: column; align-items: center; gap: .3cqw; color: var(--sub); font-size: .9cqw; }
.iv-limit { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; border: .4cqw solid #e5383b; background: #fff; color: #111; font-weight: 800; font-size: 1.5cqw; }
.iv-cl-car svg { width: 100%; stroke: none; }
.iv-cl-car .body { fill: var(--car); } .iv-cl-car .glass { fill: var(--glass); }
.iv-cl-car .tire { fill: var(--car2); } .iv-cl-car .rim { fill: #c6ccd3; } .iv-cl-car .sh { fill: rgba(0,0,0,.12); }
.iv-cl-quick { display: flex; flex-direction: column; gap: .5cqw; }
.iv-cl-quick button { width: 3.8cqw; height: 3.8cqw; border-radius: .9cqw; border: 1px solid var(--line); background: var(--panel); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.iv-cl-quick button svg { width: 2cqw; height: 2cqw; }
.iv-cl-quick button b { font-size: .75cqw; line-height: 1.05; }
.iv-cl-quick button.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }

/* control bar */
.iv-control { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: .3cqw; padding: 0 .8cqw; background: var(--bar); border-top: 1px solid var(--line); touch-action: none; }
.iv-cb { display: grid; place-items: center; background: none; border: 0; color: var(--text); border-radius: 1cqw; width: 4.6cqw; height: 4.6cqw; cursor: pointer; padding: 0; }
.iv-cb svg { width: 2.4cqw; height: 2.4cqw; }
.iv-cb:hover { background: var(--chip); }
.iv-cb.on { color: var(--acc); }
.iv-cb.car { background: var(--chip); }
.iv-apps { display: flex; gap: .45cqw; }
.iv-cb.app { width: 4cqw; height: 4cqw; color: #fff; }
.iv-cb.app svg { width: 2.1cqw; height: 2.1cqw; }
.c1 { background: linear-gradient(145deg, #a855f7, #7c3aed); } .c2 { background: linear-gradient(145deg, #34d399, #059669); }
.c3 { background: linear-gradient(145deg, #60a5fa, #2563eb); } .c4 { background: linear-gradient(145deg, #fbbf24, #f59e0b); }
.c5 { background: linear-gradient(145deg, #64748b, #334155); } .c6 { background: linear-gradient(145deg, #f472b6, #db2777); }
.iv-temp { display: flex; align-items: center; gap: .1cqw; }
.iv-temp > button { background: none; border: 0; color: var(--sub); font-size: 2.4cqw; cursor: pointer; padding: 0 .5cqw; }
.iv-temp .iv-tval { color: var(--text); font-size: 2cqw; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: center; line-height: 1.05; padding: 0 .3cqw; }
.iv-temp .iv-tval small { font-size: .8cqw; color: var(--acc); font-weight: 600; }

/* app area */
.iv-app { padding: 1cqw; }
.iv-nav { position: relative; height: 100%; border-radius: 1.2cqw; overflow: hidden; }
.iv-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.iv .iv-map .m-bg { fill: var(--map-bg); stroke: none; }
.iv .iv-map .m-park { fill: var(--map-park); stroke: none; }
.iv .iv-map .m-road { stroke: var(--map-road); stroke-width: 10; }
.iv .iv-map .m-minor { stroke: var(--map-minor); stroke-width: 4; }
.iv .iv-map .m-halo { fill: var(--acc); opacity: .18; stroke: none; }
.iv .iv-map .m-me { fill: var(--acc); stroke: #fff; stroke-width: 1.5; }
.iv-search { position: absolute; left: 1.4cqw; top: 1.4cqw; width: 46%; text-align: left; background: var(--panel); border: 1px solid var(--line); color: var(--sub); border-radius: 1cqw; padding: 1.1cqw 1.4cqw; font-size: 1.5cqw; cursor: pointer; box-shadow: 0 .4cqw 1.2cqw rgba(0,0,0,.12); }

.iv-withbar { display: flex; flex-direction: column; height: 100%; }
.iv-topbar { display: flex; align-items: center; gap: 1cqw; height: 4.4cqw; flex: none; margin-bottom: .6cqw; }
.iv-topbar b { font-size: 1.7cqw; flex: 1; }
.iv-backbtn, .iv-homebtn { width: 4cqw; height: 4cqw; border-radius: 1cqw; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 2.2cqw; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.iv-backbtn:hover, .iv-homebtn:hover { border-color: var(--acc); }
.iv-body { flex: 1; min-height: 0; overflow: hidden; }
.iv-body > * { height: 100%; }

.iv-settings { display: grid; grid-template-columns: 32% 1fr; gap: 1cqw; height: 100%; }
.iv-cats { overflow: auto; display: flex; flex-direction: column; gap: .15cqw; padding-right: .4cqw; }
.iv-cats button { text-align: left; background: none; border: 0; color: var(--text); font-size: 1.3cqw; padding: .7cqw 1cqw; border-radius: .9cqw; cursor: pointer; }
.iv-cats button:hover { background: var(--chip); }
.iv-cats button.on { background: var(--acc); color: var(--acc-ink); font-weight: 700; }
.iv-set-body { overflow: auto; }
.iv-set-body header { display: flex; align-items: center; gap: .8cqw; margin-bottom: .8cqw; }
.iv-set-body h3 { margin: 0; font-size: 1.8cqw; }
.iv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8cqw; }
.iv-tile { text-align: left; background: var(--panel); border: 1px solid var(--line); color: inherit; border-radius: 1.1cqw; padding: 1.1cqw; cursor: pointer; min-height: 7cqw; display: flex; flex-direction: column; justify-content: space-between; }
.iv-tile b { font-size: 1.35cqw; }
.iv-tile small { color: var(--sub); font-size: 1.05cqw; }
.iv-tile.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.iv-tile.on small { color: var(--acc); }
.iv-list { display: flex; flex-direction: column; gap: .4cqw; }
.iv-row { display: flex; align-items: center; justify-content: space-between; gap: 1.4cqw; width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); color: inherit; border-radius: 1cqw; padding: .85cqw 1.2cqw; font-size: 1.35cqw; cursor: pointer; }
.iv-row small { display: block; color: var(--sub); font-size: 1.02cqw; margin-top: .15cqw; }
.iv-row input[type=range] { width: 18cqw; accent-color: var(--acc); }
.iv-chev, .iv-val { color: var(--sub); white-space: nowrap; }
.iv-seg { display: inline-flex; background: var(--chip); border-radius: .9cqw; padding: .25cqw; white-space: nowrap; }
.iv-seg span { padding: .35cqw .8cqw; border-radius: .7cqw; font-size: 1.1cqw; color: var(--sub); }
.iv-seg span.on { background: var(--panel); color: var(--text); box-shadow: 0 .1cqw .4cqw rgba(0,0,0,.15); }
.iv-switch { width: 4cqw; height: 2.2cqw; border-radius: 2cqw; background: #c4ccd6; position: relative; flex: none; }
.iv.dark .iv-switch { background: #2a3442; }
.iv-switch::after { content: ""; position: absolute; top: .3cqw; left: .3cqw; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 .1cqw .3cqw rgba(0,0,0,.25); }
.iv-switch.on { background: var(--acc); }
.iv-switch.on::after { left: 2.1cqw; }

.iv-page { height: 100%; overflow: auto; }
.iv-h4 { margin: 1.4cqw 0 .6cqw; font-size: 1.5cqw; color: var(--sub); }
.iv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(18cqw, 1fr)); gap: .7cqw; margin-bottom: 1cqw; }
.iv-card { background: var(--panel); border: 1px solid var(--line); border-radius: 1cqw; padding: 1cqw; font-size: 1.25cqw; }
.iv-actions { display: flex; flex-wrap: wrap; gap: .7cqw; }
.iv-actions button { background: var(--panel); border: 1px solid var(--line); color: inherit; border-radius: 1cqw; padding: .7cqw 1.1cqw; font-size: 1.25cqw; cursor: pointer; }
p.iv-spec { margin: 0 0 .6cqw; }


/* quick climate card (tap the temperature) */
@keyframes rise { from { transform: translateY(20%); opacity: 0; } }
.iv-card-pop { position: absolute; left: 4%; bottom: 13%; width: 30%; background: var(--panel); border: 1px solid var(--line); border-radius: 1.4cqw; padding: 1cqw; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.25); display: flex; flex-direction: column; gap: .8cqw; animation: rise .15s ease-out; }
.iv-cp-row { display: flex; gap: .5cqw; }
.iv-cp-row > button { flex: 1; border: 1px solid var(--line); background: var(--panel2); color: var(--text); border-radius: .9cqw; padding: .6cqw 0; font-size: 1.15cqw; font-weight: 700; cursor: pointer; }
.iv-cp-row > button.on { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.iv-cp-row > button[data-close-overlay] { flex: 0 0 3.4cqw; font-weight: 400; color: var(--sub); }
.iv-cp-row.big { gap: .8cqw; }
.iv-cp-step { flex: 1; display: flex; flex-direction: column; align-items: center; background: var(--panel2); border: 1px solid var(--line); border-radius: 1cqw; }
.iv-cp-step button { width: 100%; border: 0; background: none; color: var(--sub); font-size: 1.6cqw; cursor: pointer; padding: .2cqw 0; }
.iv-cp-step b { font-size: 1.9cqw; display: flex; align-items: center; gap: .3cqw; }
.iv-cp-step b svg { width: 1.6cqw; height: 1.6cqw; }

/* touchscreen-style thin scrollbars (the default Windows bars are bulky, and get scaled up when enlarged) */
.iv, .iv * { scrollbar-width: thin; scrollbar-color: rgba(128, 138, 152, .45) transparent; }

/* ---------- settings rows that never squeeze the label ---------- */
.iv-set-body { overflow-x: hidden; }
.iv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7cqw 1.2cqw; }
.iv-row.stack { grid-template-columns: minmax(0, 1fr); }
.iv-lbl { min-width: 0; display: flex; flex-direction: column; gap: .15cqw; }
.iv-name { display: flex; align-items: center; flex-wrap: wrap; gap: .3cqw .6cqw; }
.iv-pill { font-style: normal; font-size: .85cqw; line-height: 1.5; color: #c27c00; border: 1px solid rgba(212, 138, 0, .45); border-radius: 999px; padding: 0 .55cqw; white-space: nowrap; }
.iv-row .iv-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.iv-row > .iv-seg, .iv-row > .iv-val, .iv-row > .iv-chev, .iv-row > .iv-switch { justify-self: end; }
.iv-seg { max-width: 100%; flex-wrap: wrap; }
.iv-row.stack > .iv-seg { display: flex; width: 100%; justify-self: stretch; }
.iv-row.stack > .iv-seg span { flex: 1 1 0; text-align: center; white-space: normal; }
.iv-row.stack > input[type=range] { width: 100%; justify-self: stretch; }
/* quick settings: only on/off items are tiles; everything else spans the full width */
.iv-tiles > .iv-row { grid-column: 1 / -1; }
.iv-tile b { overflow-wrap: anywhere; }

/* ---------- cards under the car (swipe left/right, dots show which) ---------- */
.c7 { background: linear-gradient(145deg, #fcd34d, #eab308); } .c8 { background: linear-gradient(145deg, #cbd5e1, #94a3b8); }
.iv-cl-cards { display: flex; flex-direction: column; gap: .35cqw; touch-action: pan-y; user-select: none; cursor: grab; }
.cc-head { position: relative; display: flex; justify-content: flex-end; align-items: center; height: 1cqw; }
.cc-grip { position: absolute; left: 50%; top: .35cqw; width: 3.2cqw; height: .32cqw; margin-left: -1.6cqw; border-radius: 1cqw; background: var(--line); }
.cc-dots { display: flex; gap: .35cqw; }
.cc-dots button { width: .62cqw; height: .62cqw; padding: 0; border: 0; border-radius: 50%; background: #c3cad4; cursor: pointer; }
.iv.dark .cc-dots button { background: #2c3644; }
.cc-dots button.on { background: var(--text); }
.cc { background: var(--panel); border: 1px solid var(--line); border-radius: 1.1cqw; padding: .8cqw 1.1cqw; min-height: 6.4cqw; font-size: 1cqw; color: var(--sub); display: grid; align-items: center; gap: .3cqw .9cqw; }
.cc > b, .cc-t b { color: var(--text); font-size: 1.15cqw; font-weight: 700; }
.cc-trip { grid-template-columns: 1.4fr repeat(3, 1fr); text-align: center; }
.cc-trip .cc-t { display: flex; flex-direction: column; align-items: flex-start; gap: .4cqw; text-align: left; }
.cc-trip > span { display: flex; flex-direction: column; line-height: 1.25; }
.cc-trip > span b { color: var(--text); font-size: 1.35cqw; font-variant-numeric: tabular-nums; }
.cc-btn { border: 0; background: var(--chip); color: var(--text); border-radius: .7cqw; padding: .35cqw .8cqw; font-size: .95cqw; cursor: pointer; }
.cc-media { grid-template-columns: auto auto auto 1fr auto; }
.cc-media > button { border: 0; background: none; color: var(--text); font-size: 1.4cqw; cursor: pointer; padding: 0 .3cqw; }
.cc-mtext { text-align: center; }
.cc-mtext b { color: var(--text); }
.cc-mico { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: .8cqw; background: var(--chip); color: var(--sub); }
.cc-mico svg { width: 1.7cqw; height: 1.7cqw; }
.cc-gauge { grid-template-columns: auto auto 1fr; }
.cc-gi svg { width: 2.2cqw; height: 2.2cqw; color: var(--text); }
.cc-bar { position: relative; height: 1.2cqw; border-radius: 1cqw; background: var(--chip); overflow: hidden; }
.cc-bar i { display: block; height: 100%; background: #3b4a5e; border-radius: 1cqw; }
.iv.dark .cc-bar i { background: #8fa3bd; }
.cc-gauge small { display: none; }
.cc-bar::before, .cc-bar::after { position: absolute; top: 50%; transform: translateY(-50%); font-size: .75cqw; color: #fff; mix-blend-mode: difference; }
.cc-bar::before { content: "C"; left: .5cqw; }
.cc-bar::after { content: "H"; right: .5cqw; }
.cc-mode { grid-template-columns: auto 1fr; }
.cc-mode .iv-seg { justify-self: end; }
.cc-mode .iv-seg span { padding: .3cqw .55cqw; font-size: .9cqw; }
.cc-tire { grid-template-columns: 1.4fr auto 2cqw auto; grid-template-rows: auto auto; text-align: center; }
.cc-tire > b { grid-row: 1 / 3; text-align: left; }
.cc-tv { color: var(--text); font-size: 1.3cqw; font-weight: 700; }
.cc-tv small { font-size: .8cqw; font-weight: 400; color: var(--sub); margin-left: .15cqw; }
.cc-car { grid-row: 1 / 3; grid-column: 3; width: 1.6cqw; color: var(--sub); }
.cc-isg { grid-template-columns: auto 1fr; }
.cc-isg.dim > b { color: var(--sub); }

/* ---------- slim display widget page ---------- */
.iv-mini { margin-left: auto; border: 0; background: var(--chip); color: var(--text); border-radius: .8cqw; padding: .45cqw 1cqw; font-size: 1.05cqw; cursor: pointer; }
.sw-strip { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: .4cqw; background: var(--chip); border-radius: 1.1cqw; padding: .45cqw; }
.sw-slot { min-height: 4.6cqw; border: 2px solid transparent; border-radius: .8cqw; background: var(--panel); color: var(--sub); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqw; padding: .3cqw; }
.sw-slot.on { border-color: var(--acc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--acc) 25%, transparent); }
.sw-hint { margin: .7cqw 0 .5cqw; }
.sw-hint b { color: var(--text); font-weight: 600; margin-left: .4cqw; }
.sw-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7cqw; margin-top: .7cqw; }
.sw-opt { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 1.1cqw; padding: .6cqw; cursor: pointer; display: flex; flex-direction: column; gap: .5cqw; font-size: 1.15cqw; text-align: left; }
.sw-opt.on { border-color: var(--acc); }
.sw-pic { min-height: 4.6cqw; border-radius: .8cqw; background: var(--panel2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqw; color: var(--sub); }
.sw-name { display: flex; align-items: center; gap: .6cqw; }
.sw-radio { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; border: .18cqw solid #a9b3c0; flex: none; }
.sw-opt.on .sw-radio { border: .45cqw solid var(--acc); }
.pv { display: flex; align-items: center; gap: .4cqw; font-size: 1cqw; color: var(--sub); white-space: nowrap; }
.pv b { color: var(--text); font-size: 1.35cqw; }
.pv-big b { font-size: 2cqw; }
.pv-line { display: inline-block; height: .8cqw; border-radius: 1cqw; background: #c8d0da; }
.iv.dark .pv-line { background: #2c3644; }
.pv-meter { display: block; width: 70%; height: .35cqw; border-radius: 1cqw; background: linear-gradient(90deg, var(--sub) 55%, var(--chip) 55%); }
.pv-gear { letter-spacing: .5cqw; font-size: 1.25cqw; }
.pv-gear em { font-style: normal; color: var(--text); font-weight: 800; }
.pv-note { font-style: normal; display: grid; place-items: center; width: 1.8cqw; height: 1.8cqw; border-radius: .5cqw; background: var(--chip); }

/* ---------- climate panel ---------- */
.iv-clim2 { position: absolute; left: 1%; right: 1%; top: 36%; bottom: 12.4%; z-index: 3; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: .6cqw; padding: .3cqw 1.2cqw 1cqw;
  background: color-mix(in srgb, var(--panel) 86%, transparent); backdrop-filter: blur(1cqw); border: 1px solid var(--line); border-radius: 1.8cqw; box-shadow: 0 -1cqw 3cqw rgba(0,0,0,.22); animation: rise .2s ease-out; touch-action: none; }
.cl2-grip { justify-self: center; width: 4cqw; height: 1.2cqw; border: 0; background: none; cursor: pointer; position: relative; }
.cl2-grip::after { content: ""; position: absolute; left: 0; right: 0; top: .45cqw; height: .32cqw; border-radius: 1cqw; background: #b6bfca; }
.cl2-top, .cl2-bot { display: flex; align-items: center; gap: .6cqw; }
.cl2-top > button, .cl2-grp > button, .cl2-bot > button { height: 3.4cqw; min-width: 4.2cqw; padding: 0 .7cqw; border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: .9cqw; font-weight: 700; font-size: 1.05cqw; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; gap: .1cqw; }
.cl2-grp { display: inline-flex; }
.cl2-grp > button { border-radius: 0; }
.cl2-grp > button:first-child { border-radius: .9cqw 0 0 .9cqw; }
.cl2-grp > button:last-child { border-radius: 0 .9cqw .9cqw 0; }
.cl2-grp > button:only-child { border-radius: .9cqw; }
.cl2-grp > button + button { border-left: 0; }
.iv-clim2 button svg { width: 1.8cqw; height: 1.8cqw; }
.iv-clim2 button small { font-size: .72cqw; font-weight: 600; }
.cl2-top button.on, .cl2-bot button.on, .cl2-vpop button.on { color: #10a050; }
.cl2-bot button.on.heat { color: #e5533d; }
.cl2-bot button.on.vent { color: #2f7cf6; }
.cl2-tab { padding: .2cqw; }
.cl2-tab button { border: 0; background: none; color: var(--sub); font-weight: 700; font-size: 1.05cqw; padding: .55cqw 1.1cqw; border-radius: .7cqw; cursor: pointer; }
.cl2-tab button.on { background: var(--panel); color: var(--text); box-shadow: 0 .1cqw .4cqw rgba(0,0,0,.15); }
.cl2-out { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; color: var(--sub); font-size: .8cqw; }
.cl2-out b { color: var(--text); font-size: 1.2cqw; }
.cl2-mid { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: .8cqw; align-items: stretch; min-height: 0; }
.cl2-step { display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-width: 5.6cqw; padding: .3cqw 0; background: var(--panel); border: 1px solid var(--line); border-radius: 1cqw; }
.cl2-step button { border: 0; background: none; color: var(--sub); font-size: 1.7cqw; line-height: 1; cursor: pointer; width: 100%; padding: .3cqw 0; }
.cl2-step button:first-child { color: #e5533d; }
.cl2-step button:last-child { color: #2f7cf6; }
.cl2-step b { display: flex; flex-direction: column; align-items: center; font-size: 1.7cqw; font-variant-numeric: tabular-nums; }
.cl2-step b svg { width: 1.7cqw; height: 1.7cqw; }
.cl2-cabin { position: relative; height: 100%; max-width: 100%; aspect-ratio: 600 / 220; justify-self: center; }
.cl2-cabin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cl2-cabin .dash { stroke: var(--sub); stroke-width: 2; opacity: .32; fill: color-mix(in srgb, var(--panel2) 60%, transparent); }
.cl2-cabin .thin { fill: none; }
.cl2-cabin .slot { fill: color-mix(in srgb, var(--text) 18%, transparent); stroke: none; }
.cl2-cabin .air path { stroke: #9fb3c9; stroke-width: 9; stroke-dasharray: 9 9; opacity: .55; stroke-linecap: butt; }
.cl2-cabin .air.focus path { stroke-width: 13; }
.cl2-cabin .air.sel path { stroke: #2f6cf6; opacity: .85; filter: drop-shadow(0 0 6px rgba(47,108,246,.9)); }
.cl2-cabin .air.cyc { transform-box: view-box; animation: sway 2.6s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.cl2-vent { position: absolute; transform: translate(-50%, -50%); width: 4.2cqw; height: 2.1cqw; border-radius: 2cqw; border: 1px solid var(--line); background: var(--panel); color: var(--sub); font-size: 1.05cqw; font-weight: 700; cursor: grab; touch-action: none; padding: 0; box-shadow: 0 .15cqw .5cqw rgba(0,0,0,.15); }
.cl2-vent.sel { border-color: #2f6cf6; color: #2f6cf6; box-shadow: 0 0 0 .25cqw rgba(47,108,246,.25); }
.cl2-vent.cyc { border: .22cqw solid #2f6cf6; color: #2f6cf6; }
.cl2-fill { flex: 1; }
.cl2-vmode small { font-size: .62cqw !important; }
.cl2-vpop { position: absolute; bottom: 5.2cqw; display: flex; gap: .3cqw; padding: .35cqw; background: var(--panel); border: 1px solid var(--line); border-radius: 1.1cqw; box-shadow: 0 .6cqw 2cqw rgba(0,0,0,.2); }
.cl2-vpop.l { left: 6.5cqw; }
.cl2-vpop.r { right: 1.2cqw; }
.cl2-vpop button { width: 5cqw; height: 3.6cqw; border: 0; border-radius: .8cqw; background: none; color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1cqw; }
.cl2-vpop button.on { background: var(--chip); }
.cl2-vpop small { font-size: .7cqw; font-weight: 700; }
.lv { font-style: normal; font-size: .7cqw; letter-spacing: -.05cqw; line-height: .6; }
.cl2-mid.rear { grid-template-columns: auto 1fr; }
.cl2-rear { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7cqw; }
.cl2-rear button { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 1cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqw; font-size: 1cqw; cursor: pointer; }
.cl2-rear button.on { color: #e5533d; }
.cl2-rear small { color: var(--sub); }

/* ---------- app drawer (dark popup) ---------- */
.iv-scrim { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: rgba(0,0,0,.06); cursor: default; }
.iv-drawer { position: absolute; z-index: 3; left: 23%; width: 54%; bottom: 13%; padding: 1.2cqw 1.4cqw .8cqw; border-radius: 1.8cqw; background: rgba(28, 32, 39, .95); color: #eef2f7; box-shadow: 0 1.2cqw 3cqw rgba(0,0,0,.35); animation: rise .18s ease-out; display: flex; flex-direction: column; gap: 1cqw; touch-action: pan-y; user-select: none; }
.dr-short, .dr-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6cqw .4cqw; }
.dr-short { padding-bottom: 1cqw; border-bottom: 1px solid rgba(255,255,255,.08); }
.dr-sc, .dr-app { border: 0; background: none; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .4cqw; font-size: .88cqw; line-height: 1.2; text-align: center; padding: .3cqw 0; border-radius: .8cqw; }
.dr-sc:hover, .dr-app:hover { background: rgba(255,255,255,.06); }
.dr-sc > span { display: flex; align-items: center; gap: .2cqw; height: 2.6cqw; color: #cfd6df; }
.dr-sc svg { width: 2.1cqw; height: 2.1cqw; }
.dr-sc b { font-size: 1.1cqw; }
.dr-sc.on > span { color: #34d27b; }
.dr-ico { width: 4.4cqw; height: 4.4cqw; border-radius: 1.2cqw; display: grid; place-items: center; color: #fff; }
.dr-ico svg { width: 2.3cqw; height: 2.3cqw; }
.dr-dots { display: flex; justify-content: center; gap: .4cqw; }
.dr-dots button { width: .7cqw; height: .7cqw; border: 0; border-radius: 1cqw; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.dr-dots button.on { width: 1.8cqw; background: #fff; }

/* ---------- seat popup from the control bar ---------- */
.iv-cb.seat { position: relative; }
.iv-cb.seat small { position: absolute; right: .3cqw; bottom: .2cqw; font-size: .7cqw; font-weight: 800; }
.iv-cb.seat.heat { color: #e5533d; }
.iv-cb.seat.vent { color: #2f7cf6; }
.iv-pop { position: absolute; z-index: 3; bottom: 13%; transform: translateX(-50%); display: flex; align-items: center; gap: .3cqw; padding: .4cqw; background: var(--panel); border: 1px solid var(--line); border-radius: 2cqw; box-shadow: 0 .8cqw 2.4cqw rgba(0,0,0,.25); animation: pop .15s ease-out; }
@keyframes pop { from { opacity: 0; } }
.pop-k { width: 4.6cqw; height: 3.6cqw; border: 0; border-radius: 1.6cqw; background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.pop-k:hover { background: var(--chip); }
.pop-k svg { width: 2.2cqw; height: 2.2cqw; }
.iv-pop.lv { padding: 1cqw .7cqw .6cqw; gap: .7cqw; }
.pop-grip { position: absolute; top: .35cqw; left: 50%; width: 3cqw; height: .3cqw; margin-left: -1.5cqw; border-radius: 1cqw; background: var(--line); }
.pop-ico { display: grid; place-items: center; width: 3cqw; }
.pop-ico svg { width: 2.2cqw; height: 2.2cqw; }
.pop-ico.heat, .pop-ico.wheel { color: #e5533d; }
.pop-ico.vent { color: #2f7cf6; }
.iv-pop .iv-seg button { border: 0; background: none; color: var(--sub); font-size: 1.1cqw; font-weight: 700; padding: .55cqw 1.1cqw; border-radius: .7cqw; cursor: pointer; min-width: 4cqw; }
.iv-pop .iv-seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 .1cqw .4cqw rgba(0,0,0,.15); }

/* ---------- polish: soft cards, line icons, map, car ---------- */
.cc, .iv-row, .iv-tile, .sw-opt, .iv-cl-quick button, .iv-search, .cl2-step, .iv-card, .iv-actions button { border-color: transparent; box-shadow: var(--sh); }
.iv.dark .cc, .iv.dark .iv-row, .iv.dark .iv-tile, .iv.dark .sw-opt, .iv.dark .iv-cl-quick button, .iv.dark .iv-search, .iv.dark .cl2-step { border-color: var(--line); }
.iv-row:hover, .iv-tile:hover, .sw-opt:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent), var(--sh); }
.iv-tile.on, .sw-opt.on { box-shadow: 0 0 0 .15cqw var(--acc), var(--sh); }
/* status bar */
.iv-status { color: var(--text); }
.iv-st-left svg, .iv-st-right i svg { width: 1.7cqw; height: 1.7cqw; display: block; }
.iv-st-right { gap: 1.2cqw; }
.iv-st-right i { opacity: .75; }
.iv-st-right b { font-weight: 600; font-size: 1.3cqw; font-variant-numeric: tabular-nums; }
.iv-st-left { opacity: .75; cursor: default; }
.iv-prof { border: 0; background: color-mix(in srgb, #8b5cf6 16%, transparent); color: #8b5cf6; width: 2.3cqw; height: 2.3cqw; }
.iv-prof svg { width: 1.5cqw !important; height: 1.5cqw !important; }
/* vehicle area */
.iv-cluster { border-right: 0; box-shadow: inset -1px 0 0 var(--line); }
.iv-cl-spd { letter-spacing: -.04em; }
.iv-cl-gear { color: var(--text); }
.iv-cl-car svg { filter: drop-shadow(0 .6cqw .8cqw rgba(16,24,40,.12)); }
.iv-cl-lamps { align-items: center; gap: .55cqw .6cqw; }
.iv-cl-lamps .ind svg { width: 1.6cqw; height: 1.6cqw; display: block; }
.iv-cl-lamps .ind:not(:has(svg)) { font-size: .78cqw; font-weight: 800; letter-spacing: .02em; line-height: 1; padding: .3cqw .5cqw; border-radius: .5cqw; background: color-mix(in srgb, currentColor 12%, transparent); }
.iv-cl-quick button { border-radius: 1.1cqw; color: var(--sub); }
.iv-cl-quick button:hover { color: var(--text); }
.iv-limit { box-shadow: var(--sh); }
/* map */
.iv-nav { box-shadow: inset 0 0 0 1px var(--line); }
.iv .iv-map .m-water { fill: var(--map-water); stroke: none; }
.iv .iv-map .m-block { fill: var(--map-block); stroke: none; }
.iv .iv-map .m-casing { stroke: var(--map-casing); stroke-width: 13; }
.iv .iv-map .m-road { stroke: var(--map-road); stroke-width: 9.5; }
.iv .iv-map .m-minor { stroke: var(--map-minor); stroke-width: 4; }
.iv .iv-map .m-label { fill: var(--map-label); stroke: none; font-size: 7.5px; font-weight: 600; font-family: var(--font, sans-serif); letter-spacing: .05em; }
.iv .iv-map .m-halo { fill: var(--acc); opacity: .16; stroke: none; }
.iv .iv-map .m-dot { fill: #fff; stroke: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.iv .iv-map .m-me { fill: var(--acc); stroke: none; }
.iv-search { display: flex; align-items: center; gap: .8cqw; width: 50%; padding: .95cqw 1.2cqw; color: var(--sub); }
.iv-search > svg { width: 1.8cqw; height: 1.8cqw; color: var(--text); }
.iv-search span { flex: 1; }
.iv-search i { display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--chip); color: var(--text); }
.iv-search i svg { width: 1.5cqw; height: 1.5cqw; }
/* control bar */
.iv-control { background: color-mix(in srgb, var(--bar) 92%, transparent); box-shadow: 0 -1px 0 var(--line); border-top: 0; }
.cb-sep { width: 1px; height: 45%; background: var(--line); flex: none; }
.iv-cb { color: color-mix(in srgb, var(--text) 82%, transparent); }
.iv-cb svg { width: 2.3cqw; height: 2.3cqw; }
.iv-cb.app { border-radius: 1.1cqw; box-shadow: 0 .2cqw .5cqw rgba(16,24,40,.18), inset 0 1px 0 rgba(255,255,255,.25); }
.iv-cb.car { background: var(--panel); box-shadow: var(--sh); }
.iv-temp .iv-tval { font-size: 2.3cqw; letter-spacing: -.03em; }
.iv-temp .iv-tval .tnum { display: block; white-space: nowrap; }
.iv-temp .iv-tval .dec { font-size: 1.3cqw; font-weight: 600; }
.iv-temp > button { color: color-mix(in srgb, var(--sub) 80%, transparent); }
.iv-temp.l > button:last-child, .iv-temp.r > button:last-child { color: #e5533d; }
.iv-temp.l > button:first-child, .iv-temp.r > button:first-child { color: #2f7cf6; }
/* settings */
.iv-cats button { font-weight: 500; }
.iv-cats button.on { box-shadow: 0 .2cqw .6cqw color-mix(in srgb, var(--acc) 35%, transparent); }
.iv-set-body h3 { letter-spacing: -.02em; }
.iv-backbtn, .iv-homebtn { border-color: transparent; box-shadow: var(--sh); }
.iv-row.flash { animation: rowflash 1.6s ease-out 2; }
@keyframes rowflash { 0%, 100% { box-shadow: var(--sh); } 30% { box-shadow: 0 0 0 .3cqw color-mix(in srgb, var(--acc) 55%, transparent), var(--sh); } }

/* ---------- app windows ---------- */
.iv-appwin { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--panel); border-radius: 1.6cqw; box-shadow: var(--sh); overflow: hidden; }
.aw-head { display: flex; align-items: center; gap: .8cqw; padding: .9cqw 1cqw .7cqw; flex: none; }
.aw-head b { font-size: 1.6cqw; letter-spacing: -.02em; }
.aw-head .dr-ico { width: 3cqw; height: 3cqw; border-radius: .9cqw; }
.aw-head .dr-ico svg { width: 1.7cqw; height: 1.7cqw; }
.aw-fill { flex: 1; }
.aw-hb { width: 3.4cqw; height: 3.4cqw; border: 0; border-radius: 1cqw; background: var(--chip); color: var(--text); font-size: 1.9cqw; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.aw-hb:hover { background: color-mix(in srgb, var(--acc) 14%, var(--chip)); }
.aw-body { flex: 1; min-height: 0; overflow: auto; padding: .2cqw 1.4cqw 1.4cqw; display: flex; flex-direction: column; gap: .9cqw; }
.aw-splash { position: absolute; inset: 0; display: grid; place-items: center; background: var(--panel); pointer-events: none; animation: awsplash .65s ease-out forwards; }
.aw-splash .dr-ico { width: 7cqw; height: 7cqw; border-radius: 2cqw; box-shadow: 0 1cqw 2.4cqw rgba(16,24,40,.2); }
.aw-splash .dr-ico svg { width: 3.6cqw; height: 3.6cqw; }
@keyframes awsplash { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
.dr-ico.big { width: 6cqw; height: 6cqw; border-radius: 1.7cqw; }
.dr-ico.big svg { width: 3.1cqw; height: 3.1cqw; }
/* shared pieces */
.aw-tabs { display: flex; gap: 2cqw; border-bottom: 1px solid var(--line); flex: none; }
.aw-tabs button { border: 0; background: none; color: var(--sub); font-size: 1.3cqw; font-weight: 600; padding: .6cqw 0 .8cqw; cursor: pointer; position: relative; }
.aw-tabs button.on { color: var(--text); }
.aw-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: .25cqw; border-radius: 1cqw; background: var(--acc); }
.aw-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; text-align: center; color: var(--sub); padding: 2cqw 0; }
.aw-empty p { margin: 0; font-size: 1.3cqw; }
.aw-eico { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--chip); color: var(--sub); }
.aw-eico svg { width: 2.8cqw; height: 2.8cqw; }
.aw-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6cqw; border: 0; border-radius: 1cqw; padding: .9cqw 2.2cqw; background: var(--acc); color: #fff; font-weight: 700; font-size: 1.25cqw; cursor: pointer; box-shadow: 0 .3cqw .9cqw color-mix(in srgb, var(--acc) 35%, transparent); }
.aw-btn svg { width: 1.6cqw; height: 1.6cqw; }
.aw-btn.ghost { background: var(--chip); color: var(--text); box-shadow: none; align-self: flex-start; }
.aw-list { display: flex; flex-direction: column; }
.aw-item { display: flex; align-items: center; gap: 1.1cqw; padding: .9cqw .2cqw; border-bottom: 1px solid var(--line); text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; color: inherit; width: 100%; font-size: inherit; }
.aw-item:last-child { border-bottom: 0; }
.aw-item > span:not(.aw-av):not(.aw-nico):not(.aw-step) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15cqw; }
.aw-item b { font-size: 1.3cqw; font-weight: 600; }
.aw-item small { color: var(--sub); font-size: 1.05cqw; }
.aw-item time { color: var(--sub); font-size: 1cqw; white-space: nowrap; }
.aw-item.missed b { color: #e5484d; }
.aw-item.act { cursor: pointer; border-radius: .8cqw; padding: .9cqw .8cqw; }
.aw-item.act:hover { background: var(--panel2); }
.aw-chev { font-style: normal; color: var(--sub); font-size: 1.6cqw; }
.aw-av { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; flex: none; font-weight: 700; font-size: 1.35cqw; color: #fff; background: linear-gradient(145deg, #7c9cf5, #4f6fe0); }
.aw-callbtn { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border: 0; border-radius: 50%; background: color-mix(in srgb, #12b76a 14%, transparent); color: #12b76a; cursor: pointer; flex: none; }
.aw-callbtn svg { width: 1.6cqw; height: 1.6cqw; }
.aw-call { display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.1cqw; border-radius: 1.2cqw; background: linear-gradient(135deg, #12b76a, #0e9f5c); color: #fff; }
.aw-call > span:not(.aw-av) { flex: 1; display: flex; flex-direction: column; }
.aw-call small { opacity: .85; font-size: 1cqw; }
.aw-call .aw-av { background: rgba(255,255,255,.25); }
.aw-red { border: 0; border-radius: 99px; padding: .6cqw 1.4cqw; background: #e5484d; color: #fff; font-weight: 700; cursor: pointer; }
.aw-h { margin: .4cqw 0 0; font-size: 1.15cqw; color: var(--sub); font-weight: 700; }
.aw-chips { display: flex; flex-wrap: wrap; gap: .6cqw; }
.aw-chips button { display: inline-flex; align-items: center; gap: .4cqw; border: 0; border-radius: 99px; padding: .55cqw 1.1cqw; background: var(--chip); color: var(--text); font-size: 1.1cqw; cursor: pointer; }
.aw-chips svg { width: 1.2cqw; height: 1.2cqw; color: var(--sub); }
.aw-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqw; }
.aw-cats span { padding: 1cqw; border-radius: 1cqw; background: var(--panel2); font-size: 1.15cqw; text-align: center; color: var(--text); }
.iv-search.aw-wide { position: static; width: 100%; }
.aw-row-end { display: flex; justify-content: flex-end; }
.aw-link { border: 0; background: none; color: var(--acc); font-weight: 600; font-size: 1.1cqw; cursor: pointer; }
.aw-nico { display: grid; place-items: center; width: 3.2cqw; height: 3.2cqw; border-radius: 1cqw; background: var(--chip); color: var(--text); flex: none; }
.aw-nico svg { width: 1.6cqw; height: 1.6cqw; }
.aw-x { border: 0; background: none; color: var(--sub); cursor: pointer; font-size: 1.1cqw; }
.aw-foot { margin: .6cqw 0 0; }
/* phone keypad */
.aw-pad { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .9cqw; }
.aw-dial { min-height: 3.6cqw; font-size: 2.4cqw; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.aw-dial small { font-size: 1.15cqw; color: var(--sub); letter-spacing: 0; font-weight: 400; }
.aw-keys { display: grid; grid-template-columns: repeat(3, 6.4cqw); gap: .7cqw 1.6cqw; }
.aw-keys button { height: 4.4cqw; border: 0; border-radius: 50%; background: var(--panel2); color: var(--text); font-size: 1.8cqw; font-weight: 600; cursor: pointer; box-shadow: var(--sh); }
.aw-padbar { display: grid; grid-template-columns: repeat(3, 6.4cqw); gap: 1.6cqw; align-items: center; justify-items: center; }
.aw-callbig { width: 4.6cqw; height: 4.6cqw; border: 0; border-radius: 50%; background: #12b76a; color: #fff; display: grid; place-items: center; cursor: pointer; }
.aw-callbig svg { width: 2cqw; height: 2cqw; }
.aw-del { border: 0; background: none; color: var(--sub); font-size: 1.8cqw; cursor: pointer; }
/* bluetooth audio */
.aw-dev { display: inline-flex; align-items: center; gap: .6cqw; align-self: flex-start; padding: .5cqw 1.1cqw; border-radius: 99px; background: var(--chip); font-size: 1.15cqw; }
.aw-dev svg { width: 1.4cqw; height: 1.4cqw; color: var(--acc); }
.aw-dev small { color: var(--sub); }
.aw-np { flex: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2cqw; align-items: center; }
.aw-cover { aspect-ratio: 1; border-radius: 1.6cqw; display: grid; place-items: center; color: rgba(255,255,255,.9); background: radial-gradient(circle at 30% 25%, #f9a8d4, transparent 55%), linear-gradient(140deg, #8b5cf6, #3b82f6 60%, #06b6d4); box-shadow: 0 1.2cqw 2.4cqw rgba(76, 81, 191, .3); }
.aw-cover svg { width: 40%; height: 40%; stroke-width: 1.4; }
.aw-meta { display: flex; flex-direction: column; gap: .5cqw; }
.aw-meta > b { font-size: 2cqw; letter-spacing: -.02em; }
.aw-meta > span { color: var(--sub); font-size: 1.25cqw; }
.aw-prog { height: .5cqw; border-radius: 1cqw; background: var(--chip); margin-top: 1cqw; overflow: hidden; }
.aw-prog i { display: block; height: 100%; background: var(--text); border-radius: 1cqw; }
.aw-times { display: flex; justify-content: space-between; color: var(--sub); font-size: .95cqw; }
.aw-ctl, .rd-player { display: flex; align-items: center; justify-content: center; gap: 2.4cqw; margin-top: .6cqw; }
.aw-ctl button, .rd-player button { border: 0; background: none; color: var(--text); font-size: 2cqw; cursor: pointer; }
.aw-ctl button.big, .rd-player button.big { width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--text); color: var(--panel); font-size: 1.7cqw; box-shadow: var(--sh); }
/* radio */
.rd-top { display: flex; align-items: center; justify-content: space-between; }
.rd-band { font-style: normal; font-weight: 800; font-size: 1.1cqw; padding: .3cqw .9cqw; border-radius: .6cqw; background: var(--chip); }
.rd-state { font-size: 1.1cqw; color: var(--sub); }
.rd-state.on { color: #12b76a; font-weight: 600; }
.rd-freq { display: flex; align-items: baseline; justify-content: center; gap: .6cqw; }
.rd-freq b { font-size: 5cqw; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rd-freq small { color: var(--sub); font-size: 1.4cqw; }
.rd-scale { position: relative; height: 2.4cqw; border-radius: .6cqw; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 1.2cqw), linear-gradient(var(--panel2), var(--panel2)); }
.rd-scale i { position: absolute; top: -.3cqw; bottom: -.3cqw; width: .3cqw; margin-left: -.15cqw; border-radius: 1cqw; background: #e5484d; box-shadow: 0 0 .6cqw rgba(229,72,77,.6); }
.rd-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7cqw; }
.rd-list button { border: 0; border-radius: 1.1cqw; padding: .9cqw .6cqw; background: var(--panel2); color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .2cqw; box-shadow: var(--sh); }
.rd-list b { font-size: 1.7cqw; font-variant-numeric: tabular-nums; }
.rd-list small { font-size: .9cqw; color: var(--sub); }
.rd-list button.on { background: var(--acc); color: #fff; }
.rd-list button.on small { color: rgba(255,255,255,.8); }
/* Gleo AI */
.gl-chat { flex: 1; min-height: 8cqw; overflow: auto; display: flex; flex-direction: column; gap: .7cqw; }
.gl-b { max-width: 78%; padding: .9cqw 1.2cqw; border-radius: 1.4cqw; font-size: 1.2cqw; line-height: 1.45; }
.gl-b.ai { align-self: flex-start; background: var(--panel2); border-bottom-left-radius: .4cqw; }
.gl-b.me { align-self: flex-end; background: linear-gradient(135deg, #5b8cff, #3d6df2); color: #fff; border-bottom-right-radius: .4cqw; }
.gl-b.typing { display: flex; gap: .4cqw; }
.gl-b.typing i { width: .7cqw; height: .7cqw; border-radius: 50%; background: var(--sub); animation: glDot 1s infinite ease-in-out; }
.gl-b.typing i:nth-child(2) { animation-delay: .15s; } .gl-b.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes glDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-.3cqw); } }
.gl-chips { display: flex; flex-wrap: wrap; gap: .6cqw; }
.gl-chips button { border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); background: color-mix(in srgb, var(--acc) 7%, transparent); color: var(--text); border-radius: 99px; padding: .55cqw 1.2cqw; font-size: 1.1cqw; cursor: pointer; }
.gl-chips button:hover { background: color-mix(in srgb, var(--acc) 16%, transparent); }
.gl-mic { align-self: center; display: inline-flex; align-items: center; gap: .7cqw; border: 0; border-radius: 99px; padding: .9cqw 2.2cqw; color: #fff; font-weight: 700; font-size: 1.2cqw; cursor: pointer; background: linear-gradient(135deg, #7c5cff, #3d7bff 60%, #22c1ee); box-shadow: 0 .4cqw 1.2cqw rgba(76, 92, 255, .35); }
.gl-mic svg { width: 1.7cqw; height: 1.7cqw; }
.gl-mic.on { animation: glPulse 1.2s ease-in-out infinite; }
@keyframes glPulse { 50% { box-shadow: 0 0 0 .8cqw rgba(76, 92, 255, .18), 0 .4cqw 1.2cqw rgba(76, 92, 255, .35); } }
/* camera view */
.cam { position: relative; flex: 1; border-radius: 1.2cqw; overflow: hidden; background: #14181d; min-height: 14cqw; }
.cam svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam-warn { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .7cqw; text-align: center; font-size: 1.05cqw; color: #ffd18a; background: rgba(0,0,0,.45); }
.cam-note { position: absolute; top: .9cqw; left: 50%; transform: translateX(-50%); padding: .4cqw 1.1cqw; border-radius: 99px; background: rgba(0,0,0,.55); color: #dfe6ee; font-size: 1cqw; white-space: nowrap; }
/* volume */
.aw-list.vol .aw-item > span:nth-child(2) { gap: .6cqw; }
.aw-bar { display: block; height: .5cqw; border-radius: 1cqw; background: var(--chip); overflow: hidden; }
.aw-bar i { display: block; height: 100%; background: var(--acc); border-radius: 1cqw; }
.aw-step { display: inline-flex; align-items: center; gap: .4cqw; background: var(--panel2); border-radius: 1cqw; padding: .2cqw; flex: none; }
.aw-step button { border: 0; background: none; color: var(--text); font-size: 1.6cqw; width: 2.8cqw; height: 2.8cqw; cursor: pointer; }
.aw-step b { min-width: 3.6cqw; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.2cqw; }
/* market */
.mk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7cqw; }
.mk-card { display: flex; align-items: center; gap: 1cqw; padding: .9cqw; border-radius: 1.2cqw; background: var(--panel2); }
.mk-card .dr-ico { width: 3.8cqw; height: 3.8cqw; flex: none; }
.mk-card > span:not(.dr-ico) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mk-card b { font-size: 1.25cqw; }
.mk-card small { color: var(--sub); font-size: 1cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-pill { border: 0; border-radius: 99px; padding: .45cqw 1.1cqw; background: var(--panel); color: var(--acc); font-weight: 700; font-size: 1cqw; cursor: pointer; box-shadow: var(--sh); }
/* dynamic control */
.dy-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; }
.dy-modes button { border: 0; border-radius: 1.2cqw; padding: 1.6cqw .6cqw; background: var(--panel2); color: var(--text); cursor: pointer; font-size: 1.4cqw; box-shadow: var(--sh); }
.dy-modes button.on { background: var(--text); color: var(--panel); }
/* generic app */
.aw-hero { display: flex; align-items: center; gap: 1.4cqw; padding: 1.2cqw; border-radius: 1.4cqw; background: var(--panel2); }
.aw-hero > span:not(.dr-ico) { display: flex; flex-direction: column; gap: .3cqw; }
.aw-hero b { font-size: 1.8cqw; letter-spacing: -.02em; }
.aw-hero small { color: var(--sub); font-size: 1.1cqw; }
.aw-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6cqw; }
.aw-feat { display: flex; gap: .7cqw; align-items: flex-start; padding: .8cqw 1cqw; border-radius: 1cqw; background: var(--panel2); font-size: 1.1cqw; line-height: 1.4; }
.aw-feat i { width: .6cqw; height: .6cqw; border-radius: 50%; background: var(--acc); margin-top: .5cqw; flex: none; }
