:root {
    --navy: #173356;
    --navy-dark: #10263f;
    --blue: #377aea;
    --blue-soft: #eef4ff;
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --border: #e1e5ea;
    --border-strong: #cfd6de;
    --text: #18212f;
    --muted: #6e7886;
    --green: #1c7447;
    --green-bg: #edf8f2;
    --orange: #9a5b06;
    --orange-bg: #fff6e6;
    --red: #a93434;
    --red-bg: #fff0f0;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(16, 38, 63, .03), 0 6px 18px rgba(16, 38, 63, .04);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.5 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: flex;
    width: 236px;
    flex-direction: column;
    padding: 22px 16px 18px;
    border-right: 1px solid var(--border);
    background: var(--surface);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 6px 24px;
}

.brand-logo,
.login-logo {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    object-fit: contain;
}

.login-logo {
    width: 42px;
    height: 42px;
}

.brand strong,
.brand small,
.sidebar-user strong,
.sidebar-user small,
.login-brand strong,
.login-brand small {
    display: block;
}

.brand strong {
    color: var(--navy-dark);
    font-size: 14px;
}

.brand small {
    margin-top: 1px;
    color: var(--muted);
    font-size: 11px;
}

.sidebar nav {
    display: grid;
    gap: 3px;
}

.nav-label {
    padding: 13px 10px 6px;
    color: #98a1ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.nav-label-spaced {
    margin-top: 10px;
}

.sidebar nav a {
    position: relative;
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 11px;
    border-radius: 8px;
    color: #4c5867;
    font-size: 13px;
    font-weight: 650;
    transition: background .15s, color .15s;
}

.sidebar nav a:hover {
    background: #f4f6f8;
    color: var(--navy);
}

.sidebar nav a.active {
    background: var(--blue-soft);
    color: #255fb7;
}

.sidebar nav a.active::before {
    position: absolute;
    inset: 9px auto 9px 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--blue);
    content: "";
}

.sidebar-user {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 16px 6px 0;
    border-top: 1px solid var(--border);
}

.avatar {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #eef1f4;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.sidebar-user strong {
    overflow: hidden;
    color: #273241;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user small {
    color: var(--muted);
    font-size: 10px;
}

.sidebar-user form {
    grid-column: 1 / -1;
}

.sidebar-user button {
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.sidebar-user button:hover {
    color: var(--red);
}

.main {
    min-height: 100vh;
    margin-left: 236px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 28px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar h1 {
    margin: 0;
    color: #1d2735;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.topbar p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.menu-toggle {
    display: none;
}

.page-shell {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
    padding: 26px 28px 42px;
}

.btn {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: #fff;
    color: #354151;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s, transform .15s;
}

.btn:hover {
    border-color: #aeb8c4;
    background: #f8f9fa;
}

.btn:active {
    transform: translateY(1px);
}

.btn.primary {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.btn.primary:hover {
    border-color: var(--navy-dark);
    background: var(--navy-dark);
}

.btn.danger {
    border-color: #efcccc;
    background: #fff8f8;
    color: var(--red);
}

.btn.ghost {
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}

.btn.small {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
}

.btn.wide {
    width: 100%;
    margin-top: 9px;
}

.panel {
    margin-bottom: 20px;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel h2 {
    margin: 0 0 16px;
    color: #273241;
    font-size: 17px;
    letter-spacing: -.01em;
}

.panel-head,
.section-head,
.stock-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 17px;
}

.panel-head h2,
.section-head h2,
.stock-head h2 {
    margin: 0;
}

.panel-head p,
.stock-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.section-head span {
    color: var(--muted);
    font-size: 11px;
}

.text-link,
.link {
    border: 0;
    background: transparent;
    color: #2f67b5;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.link.danger {
    color: var(--red);
}

.stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.stat {
    min-height: 102px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.stat small,
.stat strong {
    display: block;
}

.stat small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.stat strong {
    margin-top: 12px;
    color: var(--navy-dark);
    font-size: 29px;
    line-height: 1;
    letter-spacing: -.035em;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
    gap: 20px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 9px 10px;
    border-bottom: 1px solid var(--border);
    color: #88919d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

td {
    padding: 12px 10px;
    border-bottom: 1px solid #edf0f3;
    color: #3b4655;
    font-size: 12px;
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover td {
    background: #fafbfc;
}

td small,
.table-link strong,
.table-link small {
    display: block;
}

.table-link strong {
    color: #273241;
    font-size: 13px;
}

.table-link small,
td small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.badge,
.channel {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef1f4;
    color: #66717e;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.badge.active,
.badge.online,
.badge.completed,
.channel.online {
    background: var(--green-bg);
    color: var(--green);
}

.badge.reserved,
.badge.queued,
.badge.pending,
.channel.queued {
    background: var(--orange-bg);
    color: var(--orange);
}

.badge.sold,
.badge.archived,
.badge.offline,
.badge.disabled,
.channel.offline,
.channel.disabled {
    background: #eef1f4;
    color: #66717e;
}

.badge.error,
.badge.failed,
.channel.error {
    background: var(--red-bg);
    color: var(--red);
}

.badge.syncing,
.badge.processing,
.channel.syncing {
    background: var(--blue-soft);
    color: #2b63b7;
}

.flash {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
}

.flash.success {
    border-color: #cce7d8;
    background: var(--green-bg);
    color: #17643a;
}

.flash.error {
    border-color: #efcccc;
    background: var(--red-bg);
    color: #8f1f1f;
}

.error-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.error-item:last-child {
    border-bottom: 0;
}

.error-item strong,
.error-item span {
    display: block;
}

.error-item strong {
    color: #303b49;
    font-size: 12px;
}

.error-item span,
.error-item p {
    font-size: 11px;
}

.error-item span {
    margin-top: 2px;
    color: var(--muted);
}

.error-item p {
    margin: 6px 0 0;
    color: var(--red);
}

.empty-state,
.empty {
    padding: 26px 18px;
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--muted);
    text-align: center;
}

.empty-state strong {
    display: block;
    color: #394554;
    font-size: 13px;
}

.empty-state p {
    margin: 4px 0 0;
    font-size: 11px;
}

.stock-panel {
    padding: 0;
    overflow: hidden;
}

.stock-head {
    align-items: center;
    margin: 0;
    padding: 20px 20px 16px;
}

.filters {
    display: grid;
    grid-template-columns: minmax(250px, 2fr) repeat(3, minmax(135px, 1fr)) auto auto;
    gap: 9px;
    padding: 0 20px 18px;
    border-bottom: 1px solid var(--border);
}

input,
select,
textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    outline: 0;
    background: #fff;
    color: var(--text);
    font-size: 13px;
    transition: border-color .15s, box-shadow .15s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #78a1d8;
    box-shadow: 0 0 0 3px rgba(55, 122, 234, .1);
}

input::placeholder,
textarea::placeholder {
    color: #a0a8b2;
}

.vehicle-list {
    background: #fff;
}

.vehicle-list-head,
.vehicle-row {
    display: grid;
    grid-template-columns: minmax(300px, 1.55fr) minmax(255px, 1.05fr) minmax(115px, .55fr) minmax(170px, .75fr) 72px;
    gap: 18px;
    align-items: center;
}

.vehicle-list-head {
    min-height: 40px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    background: #fafbfc;
    color: #8a94a0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.vehicle-row {
    min-height: 112px;
    padding: 14px 20px;
    border-bottom: 1px solid #edf0f3;
    transition: background .15s;
}

.vehicle-row:last-child {
    border-bottom: 0;
}

.vehicle-row:hover {
    background: #fbfcfd;
}

.vehicle-summary {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.vehicle-thumb {
    display: grid;
    width: 112px;
    height: 76px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f1f3f5;
    color: #8b95a1;
    font-size: 10px;
}

.vehicle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-summary h2 {
    margin: 5px 0 1px;
    overflow: hidden;
    color: #273241;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-summary h2 a:hover {
    color: #2c65b8;
}

.vehicle-summary p,
.vehicle-summary small {
    display: block;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-summary small {
    margin-top: 5px;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.vehicle-specs span,
.vehicle-specs strong,
.vehicle-specs small {
    display: block;
}

.vehicle-specs strong {
    overflow: hidden;
    color: #394554;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-specs small {
    margin-top: 2px;
    color: #919aa5;
    font-size: 9px;
}

.vehicle-price strong {
    color: var(--navy-dark);
    font-size: 14px;
    white-space: nowrap;
}

.channel-list {
    display: grid;
    gap: 7px;
}

.channel-line {
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    color: #4a5665;
    font-size: 10px;
}

.channel-line i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #98a1ac;
}

.channel-line small {
    color: var(--muted);
    font-size: 9px;
}

.channel-line.online i,
.channel-line.completed i {
    background: var(--green);
}

.channel-line.queued i,
.channel-line.pending i,
.channel-line.syncing i,
.channel-line.processing i {
    background: var(--orange);
}

.channel-line.error i,
.channel-line.failed i {
    background: var(--red);
}

.list-empty {
    margin: 20px;
}

.full {
    grid-column: 1 / -1;
}

.vehicle-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 305px;
    gap: 20px;
}

.form-main .panel {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid .span2 {
    grid-column: 1 / -1;
}

label {
    display: block;
    color: #394554;
    font-size: 12px;
    font-weight: 700;
}

label input,
label select,
label textarea {
    margin-top: 6px;
    font-weight: 400;
}

label small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.vehicle-form textarea {
    resize: vertical;
}

.vehicle-form label + label {
    margin-top: 14px;
}

.form-grid label + label {
    margin-top: 0;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 27px;
}

.check input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.sticky {
    position: sticky;
    top: 96px;
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.switch-row span strong,
.switch-row span small {
    display: block;
}

.switch-row span strong {
    font-size: 12px;
}

.switch-row span small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.switch-row input[type="checkbox"] {
    position: relative;
    width: 36px;
    height: 20px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    outline: 0;
    appearance: none;
    background: #cbd2da;
    cursor: pointer;
    transition: background .18s;
}

.switch-row input[type="checkbox"]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    content: "";
    transition: transform .18s;
}

.switch-row input[type="checkbox"]:checked {
    background: var(--blue);
}

.switch-row input[type="checkbox"]:checked::after {
    transform: translateX(16px);
}

.publication-box {
    margin: 18px 0;
}

.publication-box > div {
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.publication-box span,
.publication-box small {
    display: block;
}

.publication-box span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
}

.publication-box .badge {
    display: inline-flex;
}

.error-text {
    margin-top: 5px;
    color: var(--red);
}

.upload-box {
    padding: 24px;
    border: 1px dashed #bfc8d2;
    border-radius: 8px;
    background: #fafbfc;
    text-align: center;
    cursor: pointer;
}

.upload-box:hover {
    border-color: #87a7d3;
    background: #f6f9fd;
}

.upload-box input {
    display: none;
}

.upload-box strong,
.upload-box span {
    display: block;
}

.upload-box strong {
    color: #394554;
    font-size: 12px;
}

.upload-box span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    margin-top: 16px;
}

.photo {
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.photo label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    font-size: 10px;
}

.photo label input {
    width: auto;
    margin: 0;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.settings-grid > div:last-child {
    grid-column: 1 / -1;
}

.settings-grid label {
    margin-top: 14px;
}

.notice {
    margin-top: 18px;
    padding: 11px 12px;
    border: 1px solid #ead39f;
    border-radius: 7px;
    background: #fff9eb;
    color: #704d12;
    font-size: 11px;
}

.stack {
    display: grid;
    gap: 13px;
}

.user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.user-row:last-child {
    border-bottom: 0;
}

.user-row strong,
.user-row span,
.user-row small {
    display: block;
}

.user-row strong {
    color: #303b49;
    font-size: 12px;
}

.user-row span,
.user-row small {
    color: var(--muted);
    font-size: 10px;
}

.truncate {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-wrap {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: #f2f4f7;
}

.login-card {
    width: min(410px, 100%);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 38, 63, .08);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 30px;
}

.login-brand strong {
    color: var(--navy-dark);
    font-size: 13px;
}

.login-brand small {
    color: var(--muted);
    font-size: 10px;
}

.login-card h1 {
    margin: 0 0 5px;
    font-size: 24px;
    letter-spacing: -.025em;
}

.login-card > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
}

.login-card label {
    margin-top: 14px;
}

.login-card .flash {
    margin: 16px 0 0;
}

.sidebar-overlay {
    display: none;
}

@media (max-width: 1260px) {
    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filters {
        grid-template-columns: minmax(250px, 2fr) repeat(2, minmax(135px, 1fr));
    }

    .vehicle-list-head,
    .vehicle-row {
        grid-template-columns: minmax(290px, 1.45fr) minmax(220px, 1fr) 105px minmax(150px, .7fr) 70px;
        gap: 14px;
    }

    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .vehicle-list-head {
        display: none;
    }

    .vehicle-row {
        grid-template-columns: minmax(300px, 1.4fr) minmax(220px, 1fr) auto;
        gap: 16px;
    }

    .vehicle-price {
        text-align: right;
    }

    .channel-list {
        grid-column: 2;
    }

    .vehicle-row > .btn {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 880px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay.show {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: block;
        background: rgba(15, 28, 44, .38);
    }

    .main {
        margin-left: 0;
    }

    .menu-toggle {
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        padding: 0;
        border: 1px solid var(--border-strong);
        border-radius: 7px;
        background: #fff;
        color: var(--navy);
        font-size: 16px;
        cursor: pointer;
    }

    .topbar {
        min-height: 70px;
        padding: 11px 18px;
    }

    .topbar p {
        display: none;
    }

    .page-shell {
        padding: 20px 18px 32px;
    }

    .two-col,
    .vehicle-form,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .sticky {
        position: static;
    }

    .settings-grid > div:last-child {
        grid-column: auto;
    }

    .filters {
        grid-template-columns: 1fr 1fr;
    }

    .vehicle-row {
        grid-template-columns: 1fr auto;
    }

    .vehicle-summary,
    .vehicle-specs,
    .channel-list {
        grid-column: 1;
    }

    .vehicle-price {
        grid-column: 2;
        grid-row: 1;
    }

    .vehicle-row > .btn {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: end;
    }
}

@media (max-width: 620px) {
    .topbar h1 {
        font-size: 18px;
    }

    .topbar .btn.primary {
        width: 40px;
        min-width: 40px;
        padding: 0;
        overflow: hidden;
        font-size: 0;
    }

    .topbar .btn.primary::before {
        content: "+";
        font-size: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat {
        min-height: 88px;
        padding: 15px;
    }

    .stat strong {
        margin-top: 9px;
        font-size: 25px;
    }

    .panel,
    .form-main .panel {
        padding: 17px;
    }

    .stock-panel {
        padding: 0;
    }

    .stock-head {
        align-items: flex-start;
        padding: 17px 17px 14px;
    }

    .filters {
        grid-template-columns: 1fr;
        padding: 0 17px 17px;
    }

    .vehicle-row {
        display: block;
        padding: 16px 17px;
    }

    .vehicle-summary {
        grid-template-columns: 94px minmax(0, 1fr);
    }

    .vehicle-thumb {
        width: 94px;
        height: 68px;
    }

    .vehicle-specs {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .vehicle-price {
        margin-top: 13px;
        text-align: left;
    }

    .channel-list {
        margin-top: 12px;
    }

    .vehicle-row > .btn {
        width: 100%;
        margin-top: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .span2 {
        grid-column: auto;
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-head,
    .section-head,
    .stock-head {
        gap: 12px;
    }

    .login-card {
        padding: 25px 20px;
    }
}
