:root {
  color-scheme: dark;
  --ink: #f5f7f8;
  --muted: #9ca7af;
  --bg: #090c0f;
  --surface: #13181d;
  --surface-strong: #1a2026;
  --border: #28323a;
  --accent: #3bdbab;
  --danger: #ff8275;
  --warning: #ffd072;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(circle at 84% -10%, #173d37 0, transparent 34rem), radial-gradient(circle at 0 45%, #172630 0, transparent 28rem), var(--bg); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #9df2d7; outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .45; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-loading { position: fixed; z-index: 20; inset: 0; display: grid; align-content: center; justify-items: center; gap: 18px; color: var(--muted); background: var(--bg); opacity: 1; transition: opacity 180ms ease; }
.app-loading img { width: 96px; height: 96px; border-radius: 25px; box-shadow: 0 12px 40px #0008; }
.app-loading.is-complete { pointer-events: none; opacity: 0; }
.app-loading-spinner { width: 23px; height: 23px; border: 3px solid #315d51; border-top-color: var(--accent); border-radius: 50%; animation: loading-spin 800ms linear infinite; }
@keyframes loading-spin { to { transform: rotate(1turn); } }

.dashboard { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 60px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: clamp(2.65rem, 8vw, 4.7rem); letter-spacing: -.072em; line-height: .91; }
.dashboard-title-link { color: inherit; text-decoration: none; }
.dashboard-title-link:hover { color: #d9fff0; }
.dashboard-title-link:focus-visible { outline: 3px solid #9df2d7; outline-offset: 6px; border-radius: 5px; }
h2 { margin-bottom: 5px; font-size: 1.13rem; letter-spacing: -.035em; }
.eyebrow { margin-bottom: 8px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.muted { margin-bottom: 0; color: var(--muted); line-height: 1.45; }

.hero { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.hero-copy { min-width: 0; }
.hero-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.hero-actions form { margin: 0; }
.header-icon-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.header-icon-button svg { width: 22px; height: 22px; }
.secondary-button, .quiet-button, .hold-button { border: 0; border-radius: 10px; min-height: 44px; padding: 0 16px; font-weight: 720; }
.secondary-button { color: var(--ink); background: var(--surface-strong); border: 1px solid var(--border); }
.header-icon-button.secondary-button { padding: 0; border-radius: 50%; }
.header-icon-button.logout-button { border-radius: 50%; }
.secondary-button:hover:not(:disabled) { border-color: #51606a; background: #242c32; }
.logout-button { border: 1px solid #7b3d3b; color: #ffd4d0; background: #321b1d; font-weight: 760; }
.logout-button:hover:not(:disabled) { border-color: #bd615b; background: #482224; }
.quiet-button { min-height: 38px; padding: 0 10px; color: var(--muted); background: transparent; border: 1px solid transparent; }
.quiet-button:hover:not(:disabled) { color: var(--ink); border-color: var(--border); }
.form-error, .dialog-warning { border: 1px solid #7d5a20; border-radius: 10px; background: #2a210f; color: #ffd77d; padding: 11px 13px; line-height: 1.4; }
.app-toolbar { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 12px; margin: 0 0 18px; }
.app-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 5px; border: 1px solid var(--border); border-radius: 14px; background: #0d1216; }
.app-tabs button { min-height: 43px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; font-weight: 780; }
.app-tabs button:hover { color: var(--ink); background: #182026; }
.app-tabs button[aria-selected="true"] { color: #d4f8e9; border-color: #378d70; background: #123124; box-shadow: 0 5px 16px #0005; }
.app-tabs button:focus-visible { outline: 3px solid #9df2d7; outline-offset: 2px; }
.app-tab-panel { min-width: 0; }
.panel-notice { width: min(100%, 690px); display: flex; align-items: flex-start; gap: 10px; margin: 12px auto 0; padding: 10px 11px 10px 14px; border: 1px solid #7d5a20; border-radius: 11px; background: #2a210f; color: #ffd77d; line-height: 1.4; animation: notice-enter 180ms ease-out; }
.panel-notice[data-kind="error"] { border-color: #854744; background: #301b1c; color: #ffd0cc; }
.panel-notice p { flex: 1; margin: 0; font-size: .86rem; }
.panel-notice button { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; margin: -3px -3px -3px 0; padding: 0; border: 1px solid currentColor; border-radius: 8px; color: inherit; background: transparent; font-size: 1.24rem; line-height: 1; }
.panel-notice button:hover { background: #ffffff17; }
@keyframes notice-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.vehicle-experience { display: grid; justify-items: center; }
.engine-controls { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 96px; gap: 10px; }
.car-control { width: 100%; height: 100%; min-height: 0; border: 1px solid #36444c; border-radius: 17px; padding: 11px 9px; display: grid; justify-items: center; align-content: center; gap: 5px; color: var(--ink); background: linear-gradient(145deg, #1c252b, #12171b); font-weight: 760; letter-spacing: -.015em; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.car-control:hover:not(:disabled) { transform: translateY(-2px); border-color: #778a96; background: #263139; }
.car-control:active:not(:disabled) { transform: translateY(0); }
.car-control svg { width: 25px; height: 25px; }
.control-icon { display: block; font-size: 1.58rem; line-height: 1; }
.start-normal { border-color: #237d5e; color: #bbf9df; background: linear-gradient(145deg, #164333, #10261e); }
.start-normal .control-icon { color: #69e8b9; }
.start-cool { border-color: #2b6997; color: #c4e6ff; background: linear-gradient(145deg, #163345, #101d27); }
.start-cool .control-icon { color: #70c9ff; }
.start-heat { border-color: #98722d; color: #ffe2a8; background: linear-gradient(145deg, #3d2e12, #241c0e); }
.start-heat .control-icon { color: #ffd071; }
.stop-engine { border-color: #a74d45; color: #ffd0ca; background: linear-gradient(145deg, #542720, #281514); }
.stop-engine .control-icon { color: #ff8c80; }
.hazard-control { border-color: #874a3f; background: #2a1817; color: #ffaaa0; }
.hazard-control:hover:not(:disabled) { background: #42221f; border-color: #c16b5d; }
.lock-control { border-color: #237d5e; color: #bbf9df; background: linear-gradient(145deg, #164333, #10261e); }
.lock-control svg { color: #69e8b9; }
.unlock-control { border-color: #98722d; color: #ffe2a8; background: linear-gradient(145deg, #3d2e12, #241c0e); }
.unlock-control svg { color: #ffd071; }
.window-close-control { border-color: #3a9876; color: #d4f2e5; background: linear-gradient(145deg, #12382b, #10251d); }
.window-close-control svg { color: #75e1b5; }
.window-open-control { border-color: #2b6997; color: #c4e6ff; background: linear-gradient(145deg, #163345, #101d27); }
.window-open-control svg { color: #70c9ff; }
.toggle-unknown-control { color: #d9dce0; background: linear-gradient(145deg, #24292d, #171b1f); border-color: #535d64; }

.panel-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vehicle-stage { position: relative; width: 100%; display: grid; justify-items: center; gap: 10px; margin: 10px auto 0; }
.vehicle-photo-wrap { position: relative; width: 100%; aspect-ratio: 3 / 2; isolation: isolate; }
.photo-shadow { position: absolute; z-index: 0; left: 12%; right: 13%; bottom: 8%; height: 16%; border-radius: 50%; background: #000; opacity: .54; filter: blur(18px); transform: rotate(-7deg); }
.rear-shadow { transform: rotate(7deg); }
.vehicle-photo { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; filter: saturate(.91) contrast(1.04); }
.perspective-tabs { display: none; }
.vehicle-track { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 86px; }
.vehicle-perspective { min-width: 0; padding: 9px 7px 4px; border: 1px solid #263239; border-radius: 22px; background: linear-gradient(145deg, #11181cbb, #0c1115aa); }
.vehicle-marker { position: absolute; z-index: 4; width: 43px; height: 43px; display: grid; place-items: center; border: 2px solid #655990; border-radius: 50%; color: #eee9ff; background: #261f3be8; box-shadow: 0 4px 15px #000a; transition: color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.marker-icon { width: 23px; height: 23px; overflow: visible; }
.marker-state { position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; display: grid; place-items: center; border: 2px solid #10151a; border-radius: 50%; color: #d6dfe3; background: #43515b; font-size: .66rem; font-weight: 900; line-height: 1; }
.vehicle-marker[data-physical-state="closed"] .marker-state { color: #cceee2; background: #197054; }
.vehicle-marker[data-physical-state="open"] .marker-state { color: #d9efff; background: #276c92; }
.vehicle-marker[data-physical-state="unknown"] .marker-state { color: #eee9ff; background: #615480; }
.lock-marker[data-lock-state="locked"] { color: #baf4dc; border-color: #319b73; background: #103a2ce8; }
.lock-marker[data-lock-state="unlocked"] { color: #ffe3ab; border-color: #a87932; background: #392911e8; }
.lock-marker[data-lock-state="unknown"] { color: #e0d8fb; border-color: #74619d; background: #2b2241e8; }
.window-marker[data-window-action="open"] { color: #c9eaff; border-color: #3c8bb7; background: #123348e8; }
.window-marker[data-window-action="close"] { color: #d4f2e5; border-color: #3a9876; background: #12382be8; }
.window-marker[data-window-action="unknown"] { color: #e0d8fb; border-color: #74619d; background: #2b2241e8; }
.marker-hood { left: 16%; top: 32%; }.marker-front-left-door { left: 63%; top: 42%; }.marker-back-left-door { left: 78%; top: 41%; }.marker-front-left-window { left: 63%; top: 19%; }.marker-back-left-window { left: 78%; top: 19%; }
.marker-trunk { left: 18%; top: 43%; }.marker-front-right-door { left: 78%; top: 48%; }.marker-back-right-door { left: 64%; top: 46%; }.marker-front-right-window { left: 73%; top: 20%; }.marker-back-right-window { left: 59%; top: 18%; }

.hazard-control.is-blinking { background: #7b3928; color: #fff2d4; }
.hazard-control.is-blinking { animation: hazard-blink 600ms step-end infinite; }
@keyframes hazard-blink { 50% { opacity: 1; background: #ffad3f; filter: drop-shadow(0 0 8px #ff9c26); } }

.command-status { width: 100%; display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 68px; padding: 13px 15px; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, #171d22, #11161a); }
.command-status h2 { margin: 0; font-size: 1.02rem; }.command-status #command-message { margin: 4px 0 0; font-size: .84rem; }.command-status.success { border-color: #33765e; }.command-status.failure { border-color: #905347; }.command-status.pending { border-color: #806a38; }
.command-refresh { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); background: transparent; font-size: 1.28rem; line-height: 1; }
.command-refresh:hover:not(:disabled) { color: var(--ink); border-color: #51606a; background: #242c32; }
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.metric-card { min-height: 114px; padding: 15px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(145deg, #171d22, #101519); }
.metric-card p { margin: 6px 0 8px; color: var(--muted); font-size: .76rem; }.metric-card strong { display: block; font-size: 1.06rem; letter-spacing: -.03em; overflow-wrap: anywhere; }.metric-card.warning { border-color: #a57d3e; }.metric-icon { color: #8fb4ad; font-size: 1.1rem; }
.optional-temperatures { display: flex; justify-content: center; gap: 18px; margin: 15px 0 0; color: var(--muted); font-size: .82rem; }.optional-temperatures strong { color: var(--ink); font-weight: 700; }

.svm-card { width: 100%; margin: 0 auto; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, #171d22, #101519); }
.svm-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.svm-header h2 { margin: 2px 0 4px; }.svm-header p { margin: 0; }
.svm-main-image { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #080b0e; }
.svm-empty { min-height: 190px; display: grid; place-items: center; padding: 24px; border: 1px dashed #3a4851; border-radius: 12px; color: var(--muted); text-align: center; }
.svm-thumbnails { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; overflow: hidden; }
.svm-thumbnail { min-width: 0; padding: 5px; border: 1px solid #34434c; border-radius: 10px; color: var(--muted); background: #0d1215; }
.svm-thumbnail:hover { border-color: #54b995; color: #d4f8e9; }
.svm-thumbnail img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 4px; border-radius: 6px; background: #050708; }
.svm-history-label { display: block; margin-top: 14px; color: var(--muted); font-size: .78rem; }
.svm-history-select { position: relative; width: 100%; margin-top: 5px; }
.svm-history-button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; border: 1px solid #40505a; border-radius: 10px; color: var(--ink); background: #090d10; text-align: left; }
.svm-history-button:hover:not(:disabled), .svm-history-button[aria-expanded="true"] { border-color: #54b995; background: #10181b; }
.svm-history-button:disabled { color: #778188; cursor: not-allowed; }
.svm-history-chevron { width: 10px; height: 10px; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, 2px); transition: transform 160ms ease; }
.svm-history-button[aria-expanded="true"] .svm-history-chevron { transform: rotate(225deg) translate(-2px, 2px); }
.svm-history-list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; max-height: min(290px, 48vh); overflow-y: auto; padding: 6px; border: 1px solid #40505a; border-radius: 12px; background: #0b1013; box-shadow: 0 18px 46px #000c; }
.svm-history-option { width: 100%; min-height: 44px; display: flex; align-items: center; padding: 9px 11px; border: 1px solid transparent; border-radius: 8px; color: #d8dfe2; background: transparent; text-align: left; }
.svm-history-option:hover, .svm-history-option:focus-visible { color: #effff8; border-color: #315f50; background: #16251f; outline: none; }
.svm-history-option[aria-selected="true"] { color: #d4f8e9; border-color: #378d70; background: #123124; }

@media (min-width: 701px) and (min-height: 700px) {
  body { min-height: 100svh; overflow-y: auto; }
  .dashboard { min-height: 100svh; padding: clamp(14px, 2.6vh, 26px) 0; display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 0; }
  h1 { margin-bottom: 4px; font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
  .hero { margin-bottom: clamp(8px, 1.4vh, 12px); }
  .hero-actions { align-self: center; }
  .header-icon-button { width: clamp(38px, 5.7vh, 44px); min-width: clamp(38px, 5.7vh, 44px); height: clamp(38px, 5.7vh, 44px); min-height: clamp(38px, 5.7vh, 44px); }
  .vehicle-experience { width: 100%; min-height: 0; grid-template-areas: "controls" "notice" "stage"; grid-template-rows: auto auto auto; align-items: center; gap: clamp(8px, 1.2vh, 10px); }
  .engine-controls { grid-area: controls; grid-auto-rows: clamp(76px, 12.5vh, 96px); }
  .panel-notice { grid-area: notice; margin: 0 auto; }
  .vehicle-stage { grid-area: stage; min-height: 0; height: auto; margin: 0 auto; grid-template-rows: auto; align-items: center; container-type: normal; }
  .vehicle-track { --perspective-gap: 86px; width: 100%; height: auto; min-height: 0; gap: var(--perspective-gap); align-self: auto; }
  .vehicle-perspective { height: auto; min-height: 0; padding: clamp(5px, .9vh, 9px) clamp(4px, .7vw, 7px) clamp(3px, .5vh, 4px); }
  .vehicle-photo-wrap { height: auto; aspect-ratio: 3 / 2; }
  .command-status { min-height: clamp(56px, 8.8vh, 68px); padding: clamp(9px, 1.6vh, 13px) clamp(11px, 1.8vw, 15px); }
  .command-refresh { width: clamp(38px, 5.5vh, 42px); height: clamp(38px, 5.5vh, 42px); }
  .metrics { min-height: clamp(76px, 14vh, 114px); margin-top: clamp(12px, 1.8vh, 18px); gap: clamp(7px, 1vw, 10px); }
  .metric-card { min-height: 0; padding: clamp(9px, 1.8vh, 15px); }
  .metric-card p { margin: 4px 0 5px; }
  .optional-temperatures { margin: 0; }
}

@media (min-width: 900px) {
  .app-toolbar { grid-template-columns: clamp(360px, 36vw, 400px) minmax(0, 1fr); margin-bottom: 12px; }
  .app-tabs, .command-status { height: 100%; }
}

dialog { width: min(480px, calc(100% - 32px)); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid #38505a; border-radius: 20px; box-shadow: 0 24px 80px #000b; }
dialog::backdrop { background: #020506cc; backdrop-filter: blur(3px); }.confirm-dialog { padding: 26px; }.confirm-dialog h2 { font-size: 1.65rem; }.start-climate-options { display: grid; gap: 11px; margin-top: 18px; padding: 13px; border: 1px solid #3f4d57; border-radius: 12px; background: #0e1418; }.start-climate-toggle { display: flex; align-items: center; gap: 9px; color: #e1e7ea; font-size: .93rem; font-weight: 720; cursor: pointer; }.start-climate-toggle input { width: 18px; height: 18px; accent-color: var(--accent); }.start-climate-toggle input:disabled + * { cursor: not-allowed; }.start-climate-options .muted { margin: -3px 0 0; font-size: .8rem; }.start-temperature-options { display: grid; gap: 6px; color: #dce3e6; font-size: .82rem; font-weight: 700; }.temperature-input { display: flex; align-items: center; gap: 7px; }.temperature-input input { width: min(100%, 132px); min-height: 42px; padding: 0 10px; border: 1px solid #576875; border-radius: 9px; color: var(--ink); background: #090d10; }.dialog-warning { margin: 22px 0; font-size: .88rem; }.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.hold-button { min-width: 228px; position: relative; overflow: hidden; color: #10231e; background: #8ae7c8; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }.hold-button, .hold-button * { user-select: none; -webkit-user-select: none; }.hold-button::before { content: ""; position: absolute; inset: 0; width: 0; background: var(--accent); transition: width 1.2s linear; }.hold-button > span { position: relative; }.hold-button.holding::before { width: 100%; }

.login-page { display: grid; place-items: center; padding: 24px; }.login-card { width: min(100%, 410px); padding: 34px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, #181f24, #0d1216); box-shadow: 0 18px 70px #0008; }.login-brand { display: grid; justify-items: center; text-align: center; }.login-app-icon { width: 88px; height: 88px; margin-bottom: 20px; border-radius: 24px; box-shadow: 0 12px 32px #0008; }.login-card h1 { margin-bottom: 10px; font-size: 2.25rem; }.login-brand .muted { max-width: 290px; }.login-form { display: grid; gap: 9px; margin-top: 30px; }.login-form label { font-size: .86rem; color: #d2d8dc; }.login-form input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #40505a; border-radius: 10px; background: #0b0f13; color: var(--ink); }.login-form .primary-button { min-height: 52px; margin-top: 8px; border: 1px solid #2fa67d; border-radius: 12px; color: #092018; background: linear-gradient(145deg, #6de8bb, #3bce9a); box-shadow: 0 8px 20px #123b2d88; font-size: 1.03rem; font-weight: 800; letter-spacing: -.015em; }.login-form .primary-button:hover { border-color: #9df2d7; background: linear-gradient(145deg, #8af2cb, #50dba8); }.form-error { margin: 20px 0 -7px; }

@media (max-width: 700px) {
  .engine-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card:last-child { grid-column: span 2; }
  .vehicle-stage { width: min(100%, 540px); }
  .perspective-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .perspective-tabs button { min-height: 40px; border: 1px solid #34434c; border-radius: 10px; color: var(--muted); background: #11171b; font-size: .8rem; font-weight: 750; }
  .perspective-tabs button[aria-selected="true"] { color: #c9f7e3; border-color: #378d70; background: #123124; }
  .vehicle-track { display: flex; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
  .vehicle-track::-webkit-scrollbar { display: none; }
  .vehicle-perspective { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
}
@media (max-width: 600px) { .dashboard { width: min(100% - 24px, 1120px); padding-top: 30px; }.hero { gap: 12px; }.hero-actions { gap: 6px; }.header-icon-button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; border-radius: 11px; }.header-icon-button svg { width: 20px; height: 20px; }.car-control { padding: 9px 5px; font-size: .82rem; }.car-control svg { width: 23px; height: 23px; }.vehicle-marker { width: 39px; height: 39px; }.marker-icon { width: 21px; height: 21px; }.marker-state { width: 17px; height: 17px; }.dialog-actions { align-items: stretch; flex-direction: column-reverse; }.hold-button { width: 100%; } }
@media (max-width: 600px) { .app-tabs button { min-height: 41px; padding: 0 8px; font-size: .84rem; }.svm-card { padding: 13px; }.svm-header { align-items: stretch; flex-direction: column; }.svm-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }.svm-thumbnail { padding: 3px; border-radius: 7px; font-size: clamp(.58rem, 2.5vw, .72rem); }.svm-thumbnail img { margin-bottom: 3px; border-radius: 4px; } }
@media (max-width: 370px) { h1 { font-size: 2.25rem; }.engine-controls { grid-auto-rows: 88px; }.car-control { font-size: .87rem; }.vehicle-marker { width: 36px; height: 36px; }.marker-state { right: -4px; bottom: -4px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
