:root {
    --canvas: #050505;
    --sidebar: #030303;
    --surface: #0a0a0a;
    --surface-raised: #111111;
    --surface-hover: #181818;
    --input: #070707;
    --line: #2b2b2b;
    --line-strong: #464646;
    --text: #f7f7f2;
    --text-soft: #c4c4bc;
    --text-muted: #92928b;
    --accent: #fdfd96;
    --accent-hover: #ffffbd;
    --accent-text: #050505;
    --accent-soft: rgba(253, 253, 150, 0.1);
    --accent-border: rgba(253, 253, 150, 0.4);
    --success: #71c69c;
    --success-soft: rgba(113, 198, 156, 0.1);
    --success-border: rgba(113, 198, 156, 0.36);
    --danger: #e26868;
    --danger-soft: rgba(226, 104, 104, 0.12);
    --danger-border: rgba(226, 104, 104, 0.42);
    --card-radius: 14px;
    --control-radius: 8px;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0) !important;
    background-image: none !important;
}

body { color: var(--text); }
body:not(.nui-open) { visibility: hidden !important; pointer-events: none !important; }
#app:not(.is-open) { display: none !important; background: transparent !important; }
button, input, select { font: inherit; }
button { color: inherit; }

.app {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 3vh 0 3vh 24px;
    background: rgba(0, 0, 0, 0) !important;
}

.app.is-open { display: flex; }
.app.is-rotating { cursor: ew-resize; }

.workspace {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: clamp(760px, 42vw, 860px);
    height: min(980px, 96vh);
    min-width: 760px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: var(--canvas);
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.workspace::before {
    position: absolute;
    inset: 0 18px auto;
    z-index: 3;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: var(--accent);
    content: "";
}

.sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 3, 3, 0.94);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 3px 12px;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid var(--accent-border);
    border-radius: 13px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 20px;
    font-weight: 900;
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.08), 0 7px 18px rgba(0, 0, 0, 0.32);
}

.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy strong { font-size: 14px; }
.brand-copy span { margin-top: 3px; color: var(--text-muted); font-size: 11px; }

.navigation { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; margin-top: 2px; }

.nav-button {
    display: flex;
    width: 100%;
    min-height: 39px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: var(--control-radius);
    background: transparent;
    color: var(--text-soft);
    text-align: left;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nav-button:hover { background: var(--surface); color: var(--text); }
.nav-button.is-active { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent); }
.nav-count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--surface-raised);
    color: var(--text-muted);
    font-family: ui-monospace, "Cascadia Mono", monospace;
    font-size: 10px;
    text-align: center;
}
.nav-button.is-active .nav-count { background: var(--accent); color: var(--accent-text); }

.sidebar-footer {
    display: none;
}
.sidebar-footer span, .sidebar-footer small { overflow: hidden; color: var(--text-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.content-column { display: flex; min-width: 0; min-height: 0; flex-direction: column; }
.topbar {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}
.kicker { margin: 0 0 3px; color: var(--text-muted); font-size: 11px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.025em; }
h2 { margin-bottom: 4px; font-size: 17px; letter-spacing: -0.018em; }
h3 { margin-bottom: 3px; font-size: 13px; }
.topbar-actions { display: flex; gap: 7px; }

.button {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
    background: var(--surface-raised);
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: background 140ms ease, border-color 140ms ease, transform 80ms ease;
}
.button:hover { border-color: #686868; background: var(--surface-hover); }
.button:active, .vehicle-row:active, .nav-button:active { transform: translateY(1px); }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-text); font-weight: 750; }
.button.primary:hover { background: var(--accent-hover); }
.button.ghost { background: transparent; }
.button:disabled { cursor: not-allowed; opacity: 0.42; transform: none; }
.button.full { width: 100%; }

.content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 14px 16px 18px;
    overscroll-behavior: contain;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
}
.content.showroom-content { overflow: hidden; }
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: var(--line-strong); background-clip: padding-box; }

.browse-layout { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; gap: 12px; }
.catalog-column, .detail-column { min-width: 0; }
.catalog-column { display: grid; grid-template-rows: auto auto; min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: rgba(7, 7, 7, 0.78); }
.inventory-layout { display: grid; grid-template-columns: minmax(330px, 0.92fr) minmax(390px, 1.08fr); min-height: 0; gap: 12px; }
.detail-column { position: static; min-height: 0; overflow-x: hidden; overflow-y: auto; align-self: stretch; padding-right: 3px; scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
.detail-column::-webkit-scrollbar { width: 6px; }
.detail-column::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--line-strong); }

.filter-stack { display: grid; gap: 9px; }
.catalog-toolbar {
    display: grid;
    grid-template-columns: auto minmax(220px, 0.75fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.catalog-toolbar > div { min-width: 0; }
.catalog-toolbar > div strong, .catalog-toolbar > div span { display: block; }
.catalog-toolbar > div strong { font-size: 13px; }
.catalog-toolbar > div span { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
.search-box { position: relative; display: block; }
.search-box > span { position: absolute; z-index: 1; top: 50%; left: 12px; transform: translateY(-50%); pointer-events: none; }
.search-glyph { width: 11px; height: 11px; border: 1.5px solid var(--text-muted); border-radius: 50%; }
.search-glyph::after { position: absolute; right: -4px; bottom: -2px; width: 5px; height: 1.5px; background: var(--text-muted); content: ""; transform: rotate(45deg); transform-origin: left center; }
.search-input, select {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
    outline: none;
    background: var(--input);
    color: var(--text);
}
.search-box .search-input { min-height: 38px; padding-left: 34px; }
input::placeholder { color: var(--text-muted); }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.category-panel { min-width: 0; padding: 10px 11px 11px; border-bottom: 1px solid var(--line); background: rgba(3, 3, 3, 0.52); }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 8px; }
.category-heading strong { color: var(--text-soft); font-size: 10px; }
.category-heading span { color: var(--text-muted); font-size: 9px; }
.category-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.category-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 0 9px 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 11px;
    text-align: left;
}
.category-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-button strong { display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 7px; background: var(--surface-raised); color: var(--text-muted); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 9px; }
.category-button:hover { border-color: #505050; background: var(--surface-raised); color: var(--text); }
.category-button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 700; box-shadow: inset 2px 0 0 var(--accent); }
.category-button.is-active strong { background: var(--accent); color: var(--accent-text); }

.vehicle-results { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; min-height: 0; overflow: hidden; padding: 11px 8px 10px 10px; border: 1px solid var(--line); border-radius: var(--card-radius); background: rgba(7, 7, 7, 0.78); }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 3px 8px; }
.results-heading strong { font-size: 11px; }
.results-heading span { color: var(--text-muted); font-size: 9px; }

.vehicle-list {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    align-content: start;
    gap: 6px;
    padding-right: 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
}
.vehicle-list::-webkit-scrollbar { width: 6px; }
.vehicle-list::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--line-strong); }
.vehicle-list .empty-state { grid-column: 1 / -1; min-height: 150px; padding: 18px; }
.vehicle-row {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr) auto;
    gap: 9px;
    width: 100%;
    min-height: 70px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, transform 80ms ease;
}
.vehicle-row:hover { border-color: #505050; background: var(--surface-raised); }
.vehicle-row.is-selected { border-color: var(--accent); background: linear-gradient(90deg, var(--accent-soft), rgba(255, 255, 255, 0.015)); box-shadow: inset 3px 0 0 var(--accent); }
.vehicle-mark { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-raised); color: var(--text-muted); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 9px; font-weight: 800; }
.vehicle-row.is-selected .vehicle-mark { border-color: var(--accent-border); background: var(--accent); color: var(--accent-text); }
.vehicle-copy { min-width: 0; }
.vehicle-copy strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-copy span { display: flex; align-items: center; gap: 5px; margin-top: 5px; overflow: hidden; color: var(--text-muted); font-size: 9px; text-transform: uppercase; letter-spacing: 0.055em; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-copy i { width: 3px; height: 3px; flex: 0 0 3px; border-radius: 50%; background: var(--line-strong); }
.vehicle-price { text-align: right; }
.vehicle-price strong { display: block; font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 12px; }
.vehicle-price span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 9px; }
.stock-badge { padding: 2px 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.025); }
.vehicle-price .sold-out { color: var(--danger); }

.detail-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: linear-gradient(155deg, var(--surface-raised), var(--surface)); }
.detail-head { padding: 13px 14px; border-bottom: 1px solid var(--line); }
.detail-headline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.detail-head p { margin: 3px 0 0; color: var(--text-muted); font-size: 11px; }
.price-large { color: var(--accent); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 17px; font-weight: 800; white-space: nowrap; }
.detail-body { display: grid; gap: 10px; padding: 13px 14px 14px; }
.preview-controls { display: flex; justify-content: space-between; gap: 7px; }
.preview-note { margin: 0; color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.mini-button { min-height: 31px; padding: 0 10px; font-size: 11px; }

.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.spec { display: grid; gap: 2px; min-height: 48px; padding: 8px 9px; background: rgba(17, 17, 17, 0.92); }
.spec span { color: var(--text-muted); font-size: 10px; }
.spec strong { font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 13px; }

.field { display: grid; gap: 7px; }
.field label { color: var(--text-soft); font-size: 11px; font-weight: 650; }
.color-list { display: flex; flex-wrap: wrap; gap: 7px; }
.color-button {
    position: relative;
    width: 27px;
    height: 27px;
    border: 2px solid var(--surface);
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px var(--line-strong);
    cursor: pointer;
}
.color-button:hover { box-shadow: 0 0 0 2px var(--text-muted); }
.color-button.is-active { box-shadow: 0 0 0 2px var(--accent); }
.color-label { color: var(--text-muted); font-size: 10px; }
.action-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.finance-box {
    display: grid;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--accent-border);
    border-radius: 11px;
    background: var(--accent-soft);
}
.finance-fields, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.finance-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.finance-summary span { min-width: 0; padding: 7px; border-radius: 8px; background: rgba(0, 0, 0, 0.24); }
.finance-summary small, .finance-summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finance-summary small { color: var(--text-muted); font-size: 9px; }
.finance-summary strong { margin-top: 4px; color: var(--accent); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 11px; }

.rotate-hint {
    position: fixed;
    right: 5vw;
    bottom: 4vh;
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 10px;
    padding: 7px 12px 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(5, 5, 5, 0.76);
    color: var(--text-soft);
    font-size: 11px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
    pointer-events: none;
    transition: border-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.mouse-glyph {
    display: grid;
    min-width: 36px;
    min-height: 24px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--surface-raised);
    color: var(--text);
    font-family: ui-monospace, "Cascadia Mono", monospace;
    font-size: 9px;
    font-weight: 800;
}
.app.is-rotating .rotate-hint { border-color: var(--accent-border); color: var(--accent); transform: translateY(-2px); }
.app.is-rotating .mouse-glyph { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }

.history-stack { display: grid; gap: 13px; }
.section-copy p { margin: 4px 0 0; color: var(--text-muted); font-size: 12px; }
.history-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); }
.history-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(90px, 0.7fr) minmax(90px, 0.7fr); gap: 12px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-row strong { display: block; font-size: 12px; }
.history-row span { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; }
.history-row .mono { margin: 0; font-family: ui-monospace, "Cascadia Mono", monospace; }
.history-entry { border-bottom: 1px solid var(--line); }
.history-entry:last-child { border-bottom: 0; }
.history-entry .history-row { border-bottom: 0; }
.contract-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
    gap: 10px;
    align-items: center;
    margin: 0 12px 12px;
    padding: 10px;
    border: 1px solid var(--success-border);
    border-radius: 10px;
    background: var(--success-soft);
}
.contract-panel.is-delinquent { border-color: var(--danger-border); background: var(--danger-soft); }
.contract-panel strong, .contract-panel small { display: block; }
.contract-panel strong { margin-top: 4px; font-size: 11px; }
.contract-panel small { margin-top: 3px; color: var(--text-muted); font-size: 9px; }
.status-badge { display: inline-block !important; width: fit-content; margin: 0 !important; padding: 2px 6px; border-radius: 999px; background: var(--success); color: #06120c !important; font-size: 8px !important; font-weight: 800; text-transform: uppercase; }
.is-delinquent .status-badge { background: var(--danger); color: #180606 !important; }

.manage-stack { display: grid; gap: 13px; }
.manage-form { display: grid; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); }
.manage-form input {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
    outline: none;
    background: var(--input);
    color: var(--text);
}
.manage-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.manage-form .field small { color: var(--text-muted); font-size: 9px; }
.performance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-warning { display: grid; gap: 3px; padding: 10px; border: 1px solid var(--accent-border); border-radius: 9px; background: var(--accent-soft); }
.admin-warning strong { color: var(--accent); font-size: 11px; }
.admin-warning span { color: var(--text-muted); font-size: 10px; line-height: 1.4; }

.empty-state, .loading-state, .error-state { display: grid; min-height: 300px; place-items: center; padding: 34px; text-align: center; }
.state-copy { max-width: 360px; }
.state-copy strong { display: block; margin-bottom: 6px; font-size: 15px; }
.state-copy p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.skeleton-stack { display: grid; width: min(460px, 100%); gap: 8px; }
.skeleton { height: 62px; border-radius: 11px; background: var(--surface-raised); }

.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.78); }
.modal { width: min(430px, 92vw); overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--card-radius); background: var(--surface); box-shadow: 0 22px 70px rgba(0, 0, 0, 0.65); }
.modal-header, .modal-body, .modal-footer { padding: 17px 19px; }
.modal-header { border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; }
.modal-body { display: grid; gap: 12px; }
.modal-body p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.5; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.summary-line strong { color: var(--accent); font-family: ui-monospace, "Cascadia Mono", monospace; }
.modal-footer { display: flex; justify-content: flex-end; gap: 7px; border-top: 1px solid var(--line); }

.toast-root { position: fixed; right: 24px; bottom: 24px; display: grid; width: min(350px, calc(100vw - 48px)); gap: 8px; }
.toast { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-raised); color: var(--text); font-size: 12px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); }
.toast.error { border-color: var(--danger-border); }
.toast.success { border-color: var(--success-border); }

@media (prefers-reduced-motion: no-preference) {
    .workspace { animation: enter 180ms cubic-bezier(0.16, 1, 0.3, 1); }
    .skeleton { animation: pulse 1.2s ease-in-out infinite alternate; }
    @keyframes enter { from { opacity: 0; transform: translateY(8px); } }
    @keyframes pulse { to { opacity: 0.45; } }
}

@media (max-width: 1250px) {
    .workspace { width: clamp(700px, 62vw, 780px); min-width: 700px; }
    .inventory-layout { grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr); }
    .rotate-hint { right: 3vw; }
}

@media (max-width: 900px) {
    .app { padding: 2vh 0 2vh 16px; }
    .workspace { width: min(760px, calc(100vw - 32px)); height: 96vh; min-width: 0; }
    .inventory-layout { grid-template-columns: minmax(290px, 0.9fr) minmax(340px, 1.1fr); }
    .rotate-hint { right: 18px; bottom: 2vh; }
}

@media (max-width: 680px) {
    .topbar { min-height: 72px; padding: 12px 14px; }
    .topbar .kicker { display: none; }
    .topbar-actions .ghost { display: none; }
    .content { padding: 12px; }
    .catalog-toolbar { grid-template-columns: 1fr; gap: 9px; }
    .category-heading span { display: none; }
    .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content.showroom-content { overflow-y: auto; }
    .browse-layout { height: auto; min-height: 100%; }
    .inventory-layout { grid-template-columns: 1fr; min-height: 720px; }
    .vehicle-results { min-height: 360px; }
    .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .history-row { grid-template-columns: 1fr 1fr; }
    .history-row > :last-child { display: none; }
    .rotate-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
