:root {
    --ap-ink: #182237;
    --ap-muted: #667085;
    --ap-line: #e4e8ef;
    --ap-surface: #f6f8fb;
    --ap-accent: #ef6c35;
    --ap-accent-dark: #cf4f1b;
}

.auth-page { min-height: 100vh; margin: 0; background: #101827; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); min-height: 100vh; background: #fff; }
.auth-showcase { position: relative; display: flex; align-items: end; overflow: hidden; padding: clamp(38px, 6vw, 88px); color: #fff; background: radial-gradient(circle at 72% 24%, rgba(239,108,53,.42), transparent 28%), linear-gradient(140deg, #101827 0%, #1d2b42 60%, #111827 100%); }
.auth-showcase::before { content: ''; position: absolute; width: 520px; height: 520px; top: -185px; right: -170px; border: 70px solid rgba(255,255,255,.055); border-radius: 50%; }
.auth-showcase::after { content: ''; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(30deg, transparent 47%, rgba(255,255,255,.08) 48%, rgba(255,255,255,.08) 49%, transparent 50%); background-size: 46px 46px; }
.auth-showcase__content { position: relative; z-index: 1; max-width: 680px; }
.auth-showcase__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-showcase h1 { margin: 0 0 18px; color: #fff; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.04em; }
.auth-showcase p { max-width: 570px; margin: 0; color: #cbd5e1; font-size: 17px; line-height: 1.65; }
.auth-showcase__features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.auth-showcase__features span { padding: 9px 12px; border-radius: 8px; background: rgba(255,255,255,.08); color: #eef2f7; font-size: 13px; font-weight: 600; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 36px; background: #fff; }
.auth-card { width: min(100%, 430px); }
.auth-card__logo { display: inline-block; margin-bottom: 38px; }
.auth-card__logo img { width: 210px; height: auto; }
.auth-card h2 { margin: 0 0 8px; color: var(--ap-ink); font-size: 30px; letter-spacing: -.025em; }
.auth-card__lead { margin-bottom: 28px; color: var(--ap-muted); }
.auth-shell .form-label { display: block; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 800; }
.auth-shell .form-control { width: 100%; min-height: 48px; }
.auth-shell .btn { min-height: 48px; border-radius: 9px; font-weight: 800; }
.auth-card__footer { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--ap-line); text-align: center; color: var(--ap-muted); }
.auth-card__footer a { color: var(--ap-accent-dark); font-weight: 800; }
.auth-shell--register { grid-template-columns: minmax(360px, .8fr) minmax(600px, 1.2fr); }
.auth-shell--register .auth-showcase { position: sticky; top: 0; height: 100vh; }
.auth-panel--register { align-items: flex-start; padding-block: 48px; }
.auth-card--register { width: min(100%, 680px); }
.auth-card--register .auth-card__logo { margin-bottom: 24px; }
.register-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.register-form__wide { grid-column: 1 / -1; }
.register-form__location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; }
.register-form .mb-3 { margin-bottom: 13px !important; }
.company-toggle { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 16px; padding: 14px; border: 1px solid var(--ap-line); border-radius: 11px; background: #f8fafc; }
.company-toggle .form-check-input { flex: 0 0 auto; margin-left: 0; }
.company-toggle label { display: flex; flex-direction: column; color: var(--ap-ink); }
.company-toggle small { margin-top: 2px; color: var(--ap-muted); }
.company-fields { display: grid; grid-template-columns: 1fr 180px; gap: 14px; margin-bottom: 16px; padding: 15px; border: 1px solid #fed7c3; border-radius: 11px; background: #fff8f4; }
.register-terms { margin: 4px 0 20px; }
@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-showcase { min-height: 280px; padding: 42px 28px; }
    .auth-showcase h1 { font-size: 40px; }
    .auth-showcase__features { display: none; }
    .auth-panel { padding: 38px 22px; }
    .auth-shell--register { grid-template-columns: 1fr; }
    .auth-shell--register .auth-showcase { position: relative; height: auto; min-height: 260px; }
}
@media (max-width: 620px) {
    .register-form__grid, .company-fields { grid-template-columns: 1fr; }
    .register-form__wide { grid-column: auto; }
}

.content-body .card {
    border: 1px solid var(--ap-line);
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(24, 34, 55, .06);
}

.content-body > .container-fluid {
    width: min(100%, 1480px);
    margin-inline: auto;
}

.content-body .card-title {
    margin: 0;
    color: var(--ap-ink);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.content-body .card-header > .d-flex,
.content-body .card-header.flex-wrap {
    gap: 10px;
}

.content-body .card-body > form .row:last-child > [class*="col-"] {
    margin-bottom: 0;
}

.admin-form-section {
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid var(--ap-line);
    border-radius: 13px;
    background: #fff;
}

.admin-form-section__title {
    margin: 0 0 15px;
    color: var(--ap-ink);
    font-size: 14px;
    font-weight: 800;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-photo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--ap-line);
    border-radius: 11px;
    background: var(--ap-surface);
}

.admin-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.admin-photo-card form { position: absolute; top: 7px; right: 7px; }

.admin-data-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    table-layout: fixed;
}

.content-body .admin-data-table > thead > tr > th {
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid #dce2ea;
    background: #f4f6f9;
    color: #536078;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}

.content-body .admin-data-table > tbody > tr > td {
    padding: 12px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    vertical-align: middle;
    overflow-wrap: anywhere;
    white-space: normal;
}

.content-body .admin-data-table > tbody > tr:last-child > td { border-bottom: 0; }
.content-body .admin-data-table > tbody > tr:hover > td { background: #fffaf7; }
.content-body .admin-data-table .btn { white-space: nowrap; }
.content-body .admin-data-table form { margin: 0; }
.content-body .table-responsive { width: 100%; overflow: visible; border-radius: 12px; }
.content-body .admin-data-table > tbody > tr:nth-of-type(odd) > td,
.content-body .admin-data-table > tbody > tr:nth-of-type(even) > td { background: #fff; }
.content-body .admin-data-table > tbody > tr:hover > td { background: #fffaf7; }
.content-body .admin-data-table img { max-width: 100%; }
.content-body .admin-data-table input,
.content-body .admin-data-table select,
.content-body .admin-data-table textarea { max-width: 100%; }

.admin-table-primary {
    color: #202b3c;
    font-weight: 800;
}

.admin-table-secondary {
    margin-top: 3px;
    color: #7a8598;
    font-size: 11px;
    line-height: 1.4;
}

.admin-table-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.admin-count-badge { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; background: #fff3da; color: #8a6300; font-size: 12px; font-weight: 800; }

.vehicle-table-photo-stack {
    position: relative;
    display: block;
    width: 72px;
    height: 58px;
}

.vehicle-table-photo-stack img {
    position: absolute;
    top: calc(var(--photo-index) * 3px);
    left: calc(var(--photo-index) * 5px);
    width: 55px;
    height: 55px;
    border: 2px solid #fff;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(24,34,55,.16);
}

.vehicle-table-photo-stack__count {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--ap-ink);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.vehicle-editor .vehicle-editor__eyebrow,
.vehicle-editor .vehicle-editor__header p,
.vehicle-editor .form-section__heading p { display: none; }

.vehicle-editor[data-wizard="0"] .form-section__heading { margin-bottom: 14px; }
.vehicle-editor[data-wizard="0"] .form-section { padding: 18px; }
.vehicle-editor[data-wizard="0"] form.compact-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 16px;
    align-items: start;
}
.vehicle-editor[data-wizard="0"] .vehicle-wizard-step { grid-column: 1; margin: 0; }
.vehicle-editor[data-wizard="0"] .vehicle-wizard-step[data-wizard-step="4"] {
    grid-column: 2;
    grid-row: 1 / span 3;
    position: sticky;
    top: 92px;
}
.vehicle-editor[data-wizard="0"] .vehicle-wizard-step[data-wizard-step="4"] textarea {
    min-height: 118px;
}
.vehicle-editor-notes { margin-bottom: 4px; }
.vehicle-upload-box {
    padding: 14px;
    border: 1px dashed #bbc5d3;
    border-radius: 12px;
    background: #f8fafc;
}
.vehicle-upload-box .mb-3 { margin-bottom: 0 !important; }
.vehicle-existing-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}
.vehicle-existing-images > .text-muted { grid-column: 1 / -1; }
.vehicle-existing-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--ap-line);
    border-radius: 10px;
    background: var(--ap-surface);
}
.vehicle-existing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vehicle-existing-image__delete {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}
.vehicle-existing-image__delete:hover { background: #dc2626; }
.vehicle-editor[data-wizard="0"] .vehicle-wizard-actions {
    grid-column: 1 / -1;
    position: static;
    margin: 0;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.content-body .card-header {
    min-height: 72px;
    border-bottom: 1px solid var(--ap-line);
    padding: 18px 22px;
}

.content-body .card-body { padding: 22px; }

.content-body .form-control,
.content-body .form-select,
.content-body .bootstrap-select > .dropdown-toggle,
.wrapper .form-control,
.wrapper .form-select,
.auth-shell .form-control {
    min-height: 42px;
    border: 1px solid #d7dce5;
    border-radius: 9px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: none;
}

.content-body textarea.form-control { min-height: 82px; }
.wrapper textarea.form-control { min-height: 82px; }
.content-body .form-control:focus,
.wrapper .form-control:focus,
.auth-shell .form-control:focus {
    border-color: var(--ap-accent);
    box-shadow: 0 0 0 3px rgba(239, 108, 53, .13);
}
.content-body .form-label,
.content-body form label,
.wrapper .form-label { margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #344054; }
.content-body .form-text { font-size: 12px; color: var(--ap-muted); }
.content-body .btn { min-height: 40px; border-radius: 9px; padding: 8px 15px; font-weight: 700; }
.content-body .btn-sm { min-height: 32px; padding: 5px 10px; font-size: 12px; }
.content-body .btn-primary,
.auth-shell .btn-primary { border-color: var(--ap-accent); background: var(--ap-accent); }
.content-body .btn-primary:hover,
.auth-shell .btn-primary:hover { border-color: var(--ap-accent-dark); background: var(--ap-accent-dark); }

.form-section {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid var(--ap-line);
    border-radius: 14px;
    background: #fff;
}
.form-section__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.form-section__heading h5 { margin: 0 0 3px; font-size: 17px; color: var(--ap-ink); }
.form-section__heading p { margin: 0; color: var(--ap-muted); font-size: 13px; }
.form-section__number,
.form-section__icon {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; height: 42px;
    border-radius: 11px; background: #fff1e9; color: var(--ap-accent-dark); font-size: 12px; font-weight: 800;
}
.vehicle-editor { max-width: 1380px; }
.vehicle-editor__header { background: linear-gradient(100deg, #fff 0%, #fff8f3 100%); }
.vehicle-editor__eyebrow { display: block; margin-bottom: 4px; color: var(--ap-accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vehicle-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 24px; padding: 0; list-style: none; }
.vehicle-steps li { position: relative; display: flex; align-items: center; gap: 8px; color: #98a2b3; font-size: 12px; font-weight: 700; }
.vehicle-steps li::after { content: ''; height: 2px; flex: 1; margin-right: 8px; background: #e4e7ec; }
.vehicle-steps li:last-child::after { display: none; }
.vehicle-steps span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 2px solid #d0d5dd; border-radius: 50%; background: #fff; }
.vehicle-steps .is-active { color: var(--ap-ink); }
.vehicle-steps .is-active span { border-color: var(--ap-accent); color: #fff; background: var(--ap-accent); }
.vehicle-steps .is-complete span { border-color: #12a573; color: #fff; background: #12a573; }
.vehicle-steps .is-complete::after { background: #12a573; }
.vin-decoder { display: flex; align-items: end; gap: 10px; max-width: 760px; }
.vin-decoder__field { flex: 1; }
.vin-decoder__field input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 800; letter-spacing: .09em; }
.vin-decoder__button { margin-bottom: 1rem; white-space: nowrap; }
.vin-decoder__status { min-height: 22px; margin-top: -8px; font-size: 13px; font-weight: 600; }
.vin-decoder__result { margin: 4px 0 10px; padding: 11px 13px; border-left: 3px solid #12a573; border-radius: 8px; background: #edfdf6; color: #176b50; font-weight: 700; }
.vehicle-wizard-actions { position: sticky; bottom: 0; z-index: 4; margin: 0 -22px -22px; padding: 14px 22px; border-top: 1px solid var(--ap-line); background: rgba(255,255,255,.95); backdrop-filter: blur(8px); }
.phone-entry { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--ap-line); border-radius: 11px; background: var(--ap-surface); }
.vehicle-photo { position: relative; overflow: hidden; border-radius: 12px; }
.vehicle-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.vehicle-photo form { position: absolute; top: 8px; right: 8px; }
.vehicle-photo .btn { display: flex; align-items: center; justify-content: center; width: 32px; min-height: 32px; padding: 0; border-radius: 50%; }

.modern-data-table { border-collapse: separate; border-spacing: 0; font-size: 13px; }
.content-body .table-responsive:not(.modern-table-wrap) { border: 1px solid var(--ap-line); border-radius: 11px; }
.content-body .table-responsive:not(.modern-table-wrap) > table { margin-bottom: 0; font-size: 13px; }
.content-body .table-responsive:not(.modern-table-wrap) > table thead th { padding: 11px 12px; border-color: var(--ap-line); background: #f6f8fb; color: #475467; font-size: 11px; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.content-body .table-responsive:not(.modern-table-wrap) > table tbody td { padding: 11px 12px; border-color: #edf0f4; vertical-align: middle; }
.modern-data-table thead th { position: sticky; top: 0; z-index: 2; padding: 12px; border: 0; border-bottom: 1px solid #d9dee7; background: #f2f4f7; color: #475467; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.modern-data-table tbody td { padding: 12px; border-width: 0 0 1px; border-color: #edf0f4; background: #fff; vertical-align: top; }
.modern-data-table tbody tr:hover td { background: #fffaf7; }
.modern-data-table tbody tr:last-child td { border-bottom: 0; }
.modern-table-wrap { position: relative; z-index: 1; overflow: visible; border: 1px solid var(--ap-line); border-radius: 12px; background: #fff; }
.modern-table-filter { position: relative; z-index: 20; border: 1px solid var(--ap-line) !important; border-radius: 13px !important; background: var(--ap-surface); }
.part-listing-description-cell { min-width: 300px !important; }
.part-listing-short-description-cell { min-width: 250px !important; }
.part-listing-tags-cell { min-width: 220px !important; }
.part-listing-photo-thumb { border: 0 !important; border-radius: 10px !important; box-shadow: 0 4px 12px rgba(24,34,55,.12); }
.part-listings-table,
.dismantled-vehicles-table { width: 100%; table-layout: fixed; }
.part-listings-table th:nth-child(7), .part-listings-table td:nth-child(7),
.part-listings-table th:nth-child(9), .part-listings-table td:nth-child(9),
.part-listings-table th:nth-child(10), .part-listings-table td:nth-child(10),
.part-listings-table th:nth-child(11), .part-listings-table td:nth-child(11),
.part-listings-table th:nth-child(12), .part-listings-table td:nth-child(12),
.part-listings-table th:nth-child(13), .part-listings-table td:nth-child(13),
.part-listings-table th:nth-child(14), .part-listings-table td:nth-child(14),
.part-listings-table th:nth-child(15), .part-listings-table td:nth-child(15),
.part-listings-table th:nth-child(16), .part-listings-table td:nth-child(16),
.part-listings-table th:nth-child(17), .part-listings-table td:nth-child(17),
.part-listings-table th:nth-child(18), .part-listings-table td:nth-child(18),
.part-listings-table th:nth-child(19), .part-listings-table td:nth-child(19),
.part-listings-table th:nth-child(20), .part-listings-table td:nth-child(20),
.part-listings-table th:nth-child(21), .part-listings-table td:nth-child(21),
.part-listings-table th:nth-child(22), .part-listings-table td:nth-child(22),
.part-listings-table th:nth-child(23), .part-listings-table td:nth-child(23) { display: none; }
.part-listings-table th:nth-child(1) { width: 46px; }
.part-listings-table th:nth-child(2) { width: 215px; }
.part-listings-table th:nth-child(3) { width: 92px; }
.part-listings-table th:nth-child(4) { width: 190px; }
.part-listings-table th:nth-child(5) { width: 70px; }
.part-listings-table th:nth-child(6) { width: 145px; }
.part-listings-table th:nth-child(8) { width: auto; }
.modern-data-table .part-listing-photo-cell { min-width: 0; }
.part-listing-photo-cell__content { display: flex; align-items: center; gap: 12px; }
.part-listing-photo-stack { position: relative; width: 82px; height: 66px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.part-listing-photo-stack img { position: absolute; top: calc(var(--stack-index) * 3px); left: calc(var(--stack-index) * 7px); width: 62px; height: 62px; border: 3px solid #fff; border-radius: 10px; object-fit: cover; box-shadow: 0 5px 14px rgba(24,34,55,.18); transition: transform .18s ease; }
.part-listing-photo-stack:hover img { transform: translateX(calc(var(--stack-index) * 3px - 2px)) rotate(calc((var(--stack-index) - 1) * 2deg)); }
.part-listing-photo-stack__count { position: absolute; right: 0; bottom: -1px; z-index: 1; min-width: 24px; height: 24px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: #182237; color: #fff; font-size: 10px; font-weight: 800; line-height: 20px; }
.modern-data-table .part-listing-photo-item { width: 88px; gap: 4px; }
.modern-data-table .part-listing-photo-thumb { width: 60px; height: 60px; }
.modern-data-table .part-listing-photo-actions { gap: 3px; }
.modern-data-table .part-listing-photo-actions .btn { width: 24px; height: 24px; min-height: 24px; border-radius: 6px; }
.part-listing-photo-more { display: inline-flex; align-items: center; justify-content: center; align-self: center; min-width: 34px; height: 34px; border-radius: 9px; background: #eef2f6; color: #344054; font-size: 12px; font-weight: 800; text-decoration: none; }
.listing-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.part-listings-table .part-listing-short-description-cell { min-width: 0 !important; }
.part-listings-table .part-listing-short-description-cell:not(:has([data-inline-text-container])) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-listings-table .part-listing-text-editor textarea { min-height: 66px; }
.dismantled-vehicles-table th:nth-child(1) { width: 48px; }
.dismantled-vehicles-table th:nth-child(2) { width: 88px; }
.dismantled-vehicles-table th:nth-child(3) { width: 20%; }
.dismantled-vehicles-table th:nth-child(4) { width: 21%; }
.dismantled-vehicles-table th:nth-child(5) { width: 23%; }
.dismantled-vehicles-table th:nth-child(6) { width: 110px; }
.dismantled-vehicles-table th:nth-child(7) { width: 90px; }
.dismantled-vehicles-table th:nth-child(8) { width: 220px; }
.dismantled-vehicles-table td { overflow-wrap: anywhere; }

.sandbox-listings-table th:nth-child(1) { width: 48px; }
.sandbox-listings-table th:nth-child(2) { width: 190px; }
.sandbox-listings-table th:nth-child(3) { width: 105px; }
.sandbox-listings-table th:nth-child(4) { width: 105px; }
.sandbox-listings-table th:nth-child(5) { width: 80px; }
.sandbox-listings-table th:nth-child(6) { width: auto; }
.sandbox-listings-table th:nth-child(7) { width: 250px; }
.sandbox-listings-table th:nth-child(n+8),
.sandbox-listings-table td:nth-child(n+8) { display: none; }

@media (max-width: 1399.98px) {
    .content-body .table-responsive:has(> .admin-data-table--wide) { overflow: visible; border: 0; background: transparent; }
    .admin-data-table--wide,
    .admin-data-table--wide > tbody { display: block; width: 100%; }
    .admin-data-table--wide > tbody > tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .admin-data-table--wide > thead { display: none; }
    .content-body .admin-data-table--wide > tbody > tr {
        margin-bottom: 12px;
        padding: 12px 14px;
        border: 1px solid var(--ap-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 5px 18px rgba(24,34,55,.05);
    }
    .content-body .admin-data-table--wide > tbody > tr > td {
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        width: auto;
        padding: 9px 0;
        border-bottom: 1px solid #edf0f4;
        background: transparent !important;
    }
    .content-body .admin-data-table--wide > tbody > tr > td:nth-child(odd) { padding-right: 16px; }
    .content-body .admin-data-table--wide > tbody > tr > td:last-child {
        grid-column: 1 / -1;
        padding-right: 0;
    }
    .content-body .admin-data-table--wide > tbody > tr > td::before {
        content: attr(data-label);
        color: #7a8598;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .05em;
        line-height: 1.35;
        overflow-wrap: anywhere;
        text-transform: uppercase;
    }
    .content-body .admin-data-table--wide > tbody > tr > td:last-child { border-bottom: 0; }
}

@media (max-width: 767.98px) {
    html, body { max-width: 100%; overflow-x: clip; }
    .content-body .card-body { padding: 15px; }
    .form-section { padding: 15px; }
    .vehicle-steps { grid-template-columns: repeat(4, 30px); justify-content: space-between; }
    .vehicle-steps li { font-size: 0; }
    .vehicle-steps li::after { display: none; }
    .vin-decoder { align-items: stretch; flex-direction: column; }
    .vin-decoder__button { margin-bottom: 10px; }
    .vehicle-wizard-actions { margin: 0 -15px -15px; padding: 12px 15px; }
    .modern-table-wrap { border: 0; background: transparent; }
    .part-listings-table, .part-listings-table tbody, .part-listings-table tr,
    .dismantled-vehicles-table, .dismantled-vehicles-table tbody, .dismantled-vehicles-table tr { display: block; width: 100%; }
    .part-listings-table thead, .dismantled-vehicles-table thead { display: none; }
    .part-listings-table tbody tr, .dismantled-vehicles-table tbody tr { margin-bottom: 12px; padding: 12px; border: 1px solid var(--ap-line); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(24,34,55,.05); }
    .part-listings-table tbody td, .dismantled-vehicles-table tbody td { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 8px 0; border-bottom: 1px solid #edf0f4; background: transparent !important; }
    .part-listings-table tbody td::before, .dismantled-vehicles-table tbody td::before { content: attr(data-label); color: #667085; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .part-listings-table tbody td:last-child, .dismantled-vehicles-table tbody td:last-child { border-bottom: 0; }
    .part-listings-table .part-listing-photo-cell { min-width: 0; }

    .content-body > .container-fluid { padding-inline: 12px; }
    .content-body .card-header { min-height: 62px; padding: 15px; }
    .admin-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-body .table-responsive:has(> .admin-data-table) { overflow: visible; border: 0; }
    .admin-data-table,
    .admin-data-table > tbody,
    .admin-data-table > tbody > tr { display: block; width: 100%; }
    .admin-data-table--wide > tbody > tr { display: block; }
    .admin-data-table > thead { display: none; }
    .content-body .admin-data-table > tbody > tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--ap-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 5px 18px rgba(24,34,55,.05);
    }
    .content-body .admin-data-table > tbody > tr > td {
        display: grid;
        grid-template-columns: 102px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid #edf0f4;
        background: transparent !important;
    }
    .content-body .admin-data-table--wide > tbody > tr > td,
    .content-body .admin-data-table--wide > tbody > tr > td:nth-child(odd) { width: 100%; padding-right: 0; }
    .content-body .admin-data-table > tbody > tr > td::before {
        content: attr(data-label);
        color: #7a8598;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .05em;
        line-height: 1.35;
        overflow-wrap: anywhere;
        text-transform: uppercase;
    }
    .content-body .admin-data-table > tbody > tr > td:last-child { border-bottom: 0; }
    .admin-table-actions { justify-content: flex-start; }
}

@media (max-width: 991.98px) {
    .vehicle-editor[data-wizard="0"] form.compact-form { grid-template-columns: 1fr; }
    .vehicle-editor[data-wizard="0"] .vehicle-wizard-step,
    .vehicle-editor[data-wizard="0"] .vehicle-wizard-step[data-wizard-step="4"],
    .vehicle-editor[data-wizard="0"] .vehicle-wizard-actions { grid-column: 1; grid-row: auto; position: static; }
}

/* "Continue with Google / Amazon / eBay" (templates/parts/social_login_buttons.html.twig, docs/social-login.md). */
.social-login { display:grid; gap:8px; margin:4px 0 0; }
.social-login__button { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; height:44px; padding:0 16px; border:1px solid #dadce0; border-radius:10px; background:#fff; color:#1f1f1f; font-size:14px; font-weight:600; line-height:1; text-decoration:none; transition:background .15s, box-shadow .15s, border-color .15s; }
.social-login__button:hover, .social-login__button:focus-visible { border-color:#c4c9d0; background:#f8fafd; box-shadow:0 1px 3px rgba(60,64,67,.18); color:#1f1f1f; text-decoration:none; }
.social-login__button svg { flex:none; }
.social-login-divider { display:flex; align-items:center; gap:12px; margin:16px 0; color:#7a8699; font-size:12px; font-weight:700; text-transform:uppercase; }
.social-login-divider::before, .social-login-divider::after { content:""; flex:1; height:1px; background:#e3e8ef; }
/* Account → Sign-in & security. */
.signin-methods { display:grid; gap:10px; }
.signin-method { display:flex; align-items:center; gap:14px; padding:14px 16px; border:1px solid var(--ap-line, #e3e8ef); border-radius:12px; background:#fff; }
.signin-method__logo { display:grid; place-items:center; width:46px; height:40px; border-radius:10px; background:#f5f7fa; flex:none; }
.signin-method__main { display:grid; gap:2px; min-width:0; flex:1; }
.signin-method__main strong { font-size:15px; }
.signin-method__main span { color:#66758a; font-size:13px; overflow:hidden; text-overflow:ellipsis; }
.signin-method__state { display:inline-flex; align-items:center; gap:6px; color:#17663a; font-size:12px; font-weight:800; }
.signin-method__state::before { content:""; width:7px; height:7px; border-radius:50%; background:#22a05a; }
.signin-method form { margin:0; }
@media (max-width: 560px) { .signin-method { flex-wrap:wrap; } .signin-method > form, .signin-method > a { width:100%; } .signin-method .btn { width:100%; } }
