﻿/* Page-specific styles extracted from Razor components. */
@import url("css/pages/seller-message.css");
@import url("css/pages/seller-message-history.css");

/* =========================================================
   01. Base / Global
   ========================================================= */

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f8fbff;
}

a,
.btn-link {
    color: #006bb7;
}

h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

main {
    width: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}


/* =========================================================
   02. Buttons / Forms
   ========================================================= */

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* =========================================================
   03. Blazor Error UI
   ========================================================= */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZyIgeG1sbmM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }


/* =========================================================
   04. App Shell / Top Navigation
   ========================================================= */

.carbuyer-app-shell {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34rem), radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 30rem), linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
}

.carbuyer-main {
    width: 100%;
}

.carbuyer-content {
    max-width: 1480px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem 3rem;
}

.carbuyer-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 1.25rem;
    background: rgba(248, 251, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.carbuyer-topbar-inner {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.carbuyer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #0f172a;
    text-decoration: none;
    min-width: 240px;
}

    .carbuyer-brand:hover {
        color: #0f172a;
    }

.carbuyer-brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.carbuyer-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.carbuyer-brand-name {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.carbuyer-brand-tagline {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.carbuyer-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.35rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.carbuyer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    font-weight: 750;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

    .carbuyer-nav-link:hover {
        color: #0f172a;
        background: #eff6ff;
        transform: translateY(-1px);
    }

    .carbuyer-nav-link.active {
        color: #ffffff;
        background: linear-gradient(135deg, #2563eb, #0ea5e9);
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
    }

.carbuyer-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: nowrap;
    min-width: max-content;
    flex-shrink: 0;
}

.carbuyer-language {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

    .carbuyer-language span {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .carbuyer-language select {
        min-width: 148px;
        max-width: 148px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: 999px;
        padding: 0.55rem 2rem 0.55rem 0.85rem;
        color: #0f172a;
        background-color: #ffffff;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        flex-shrink: 0;
    }

.carbuyer-upgrade-button,
.carbuyer-pro-active-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.carbuyer-upgrade-button {
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

    .carbuyer-upgrade-button:hover {
        color: #ffffff;
        transform: translateY(-1px);
        filter: brightness(1.04);
        box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
    }

.carbuyer-pro-active-button {
    color: #065f46;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid rgba(16, 185, 129, 0.35);
    letter-spacing: 0.04em;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.16);
}

    .carbuyer-pro-active-button:hover {
        color: #064e3b;
        filter: brightness(1.02);
        transform: translateY(-1px);
    }


/* Remove old Blazor sidebar layout */

.page {
    display: block;
}

.sidebar {
    display: none;
}

.content {
    padding: 0 !important;
}


/* =========================================================
   05. Report Layout
   ========================================================= */

.report-shell,
.comparison-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.report-header,
.comparison-report-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
}

.report-score,
.comparison-score {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.report-score-card {
    background: #f8f9fa;
}

.report-footer {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.report-action-box {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-summary-card {
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    background: #f8fbff;
}

    .quick-summary-card h2,
    .quick-summary-card h3 {
        font-size: 1.25rem;
        font-weight: 800;
        color: #111827;
        margin-bottom: 0.5rem;
    }

    .quick-summary-card p {
        font-size: 1.08rem;
        line-height: 1.55;
        color: #334155;
        margin-bottom: 0;
    }


/* =========================================================
   06. Buyer Score Card
   ========================================================= */

.buyer-score-card {
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.buyer-score-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.buyer-score-label {
    color: #2563eb;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.buyer-score-number {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    font-weight: 900;
    color: #111827;
    letter-spacing: -0.06em;
}

    .buyer-score-number span {
        font-size: 1.25rem;
        font-weight: 700;
        color: #64748b;
        letter-spacing: 0;
    }

.buyer-score-risk .badge {
    font-size: 1rem;
    padding: 0.6rem 0.8rem;
}

.buyer-score-bar {
    height: 0.75rem;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin: 1rem 0;
}

.buyer-score-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
}

.buyer-score-help {
    color: #475569;
    font-size: 0.95rem;
}


/* =========================================================
   07. Report Details / Dropdowns / RDW
   ========================================================= */

.report-detail-grid,
.report-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

    .report-detail-grid > div,
    .report-details-grid > div {
        border: 1px solid #dee2e6;
        border-radius: 0.75rem;
        padding: 0.75rem;
        background: #f8f9fa;
    }

    .report-detail-grid strong,
    .report-details-grid strong {
        display: block;
        color: #6c757d;
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .report-detail-grid span,
    .report-details-grid span {
        display: block;
        color: #212529;
        font-weight: 600;
        word-break: break-word;
    }

.report-dropdown-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.report-dropdown-section {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

    .report-dropdown-section summary {
        cursor: pointer;
        padding: 1rem 1.25rem;
        font-weight: 700;
        color: #1f2937;
        background: #f8f9fa;
    }

    .report-dropdown-section[open] summary {
        border-bottom: 1px solid #dee2e6;
    }

    .report-dropdown-section > ul,
    .report-dropdown-section > p,
    .report-dropdown-section > .report-detail-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

.rdw-info-card {
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fbff;
}


/* =========================================================
   08. Maintenance Estimate
   ========================================================= */

.maintenance-stat-box {
    height: 100%;
    border: 1px solid #dee2e6;
    border-radius: 0.9rem;
    padding: 1rem;
    background: #f8f9fa;
}

    .maintenance-stat-box strong,
    .maintenance-stat-box span {
        display: block;
    }

    .maintenance-stat-box strong {
        color: #6c757d;
        font-size: 0.85rem;
        margin-bottom: 0.45rem;
    }


/* =========================================================
   09. Saved Reports
   ========================================================= */

.history-score {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.history-summary {
    cursor: pointer;
    font-weight: 600;
}

.history-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.saved-report-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}


/* =========================================================
   10. Compare / Comparison
   ========================================================= */

.comparison-winner-banner {
    border-left-width: 6px;
}

.comparison-score-difference {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-car-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comparison-winner-card {
    border: 2px solid #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.15);
}

.comparison-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
}

    .comparison-mini-grid div {
        display: flex;
        flex-direction: column;
    }

    .comparison-mini-grid strong {
        font-size: 0.85rem;
        color: #6c757d;
    }

    .comparison-mini-grid span {
        font-size: 1rem;
    }

.comparison-table th {
    color: #6c757d;
    font-weight: 600;
}

.compare-action-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.compare-action-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 0.4rem;
}


/* =========================================================
   11. Landing Page
   ========================================================= */

.landing-page {
    overflow-x: hidden;
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 32rem), radial-gradient(circle at top right, rgba(32, 201, 151, 0.12), transparent 30rem);
}

.landing-hero {
    padding: 5rem 0 3.5rem;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: #eef4ff;
    color: #0d6efd;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(13, 110, 253, 0.16);
    white-space: normal;
    overflow-wrap: break-word;
}

.landing-title {
    max-width: 760px;
    font-size: clamp(2.6rem, 5.5vw, 5.25rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: #111827;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.landing-subtitle {
    max-width: 720px;
    font-size: 1.22rem;
    line-height: 1.65;
    color: #5f6b7a;
    margin-top: 1.35rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

    .landing-actions .btn,
    .landing-final-cta .btn {
        border-radius: 0.9rem;
        padding-left: 1.35rem;
        padding-right: 1.35rem;
        font-weight: 800;
    }

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    color: #5f6b7a;
    font-size: 0.95rem;
}

    .landing-trust-row span {
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        padding: 0.45rem 0.8rem;
        box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.04);
    }


/* =========================================================
   12. Landing Preview Card
   ========================================================= */

.landing-preview-card {
    border: 1px solid rgba(222, 226, 230, 0.95);
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.landing-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.landing-preview-score-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.landing-score {
    font-size: 5.25rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: #111827;
}

.landing-preview-verdict {
    max-width: 190px;
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

    .landing-preview-verdict strong,
    .landing-preview-verdict span {
        display: block;
    }

    .landing-preview-verdict span {
        margin-top: 0.35rem;
        color: #5f6b7a;
        font-size: 0.92rem;
    }

.landing-preview-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.landing-preview-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

    .landing-preview-list li {
        margin-bottom: 0.55rem;
        color: #4b5563;
    }

.landing-preview-footer {
    margin-top: 1.25rem;
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    background: #eef4ff;
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.92rem;
}


/* =========================================================
   13. Landing Sections / Cards / CTA
   ========================================================= */

.landing-problem-section {
    padding: 2rem 0 1rem;
}

.landing-info-panel {
    height: 100%;
    border-radius: 1.35rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.06);
}

    .landing-info-panel span {
        display: inline-flex;
        font-weight: 800;
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        margin-bottom: 1rem;
    }

    .landing-info-panel h2 {
        font-weight: 850;
        letter-spacing: -0.035em;
        margin-bottom: 0.75rem;
    }

    .landing-info-panel p {
        color: #5f6b7a;
        line-height: 1.7;
        margin-bottom: 0;
    }

.landing-problem-panel span {
    color: #dc3545;
}

.landing-solution-panel span {
    color: #198754;
}

.landing-section {
    padding: 4rem 0 0;
}

.landing-section-header {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 2rem;
}

    .landing-section-header h2 {
        font-size: clamp(2rem, 3vw, 3rem);
        font-weight: 900;
        letter-spacing: -0.045em;
        color: #111827;
    }

    .landing-section-header p {
        color: #5f6b7a;
        font-size: 1.08rem;
        line-height: 1.65;
    }

.landing-step-card,
.landing-feature-card,
.landing-price-card {
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.045);
}

    .landing-step-card h3,
    .landing-feature-card h3 {
        font-size: 1.22rem;
        font-weight: 850;
        margin-bottom: 0.65rem;
    }

    .landing-step-card p,
    .landing-feature-card p,
    .landing-price-card p {
        color: #5f6b7a;
        line-height: 1.6;
        margin-bottom: 0;
    }

.landing-step-number,
.landing-feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #0d6efd;
    font-weight: 900;
    margin-bottom: 1rem;
}

.landing-feature-icon {
    background: #ecfdf5;
    color: #198754;
}

.landing-final-cta {
    padding: 3rem 0 5rem;
}

.landing-final-cta-box {
    border-radius: 1.6rem;
    padding: 3rem;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.96), rgba(32, 201, 151, 0.9));
    box-shadow: 0 2rem 5rem rgba(13, 110, 253, 0.22);
}

    .landing-final-cta-box h2 {
        font-weight: 900;
        letter-spacing: -0.045em;
        margin-bottom: 0.75rem;
    }

    .landing-final-cta-box p {
        max-width: 680px;
        margin: 0 auto 1.5rem;
        color: rgba(255, 255, 255, 0.86);
        font-size: 1.1rem;
        line-height: 1.65;
    }

    .landing-final-cta-box .btn-primary {
        background: #ffffff;
        border-color: #ffffff;
        color: #0d6efd;
    }


/* =========================================================
   14. Pricing / Upgrade
   ========================================================= */

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
}

.pricing-feature-list {
    margin: 0;
    padding-left: 1.2rem;
}

    .pricing-feature-list li {
        margin-bottom: 0.5rem;
    }

.pricing-popular-card {
    transform: translateY(-0.25rem);
}

.landing-pricing {
    padding-bottom: 2rem;
}

    .landing-pricing .row {
        align-items: stretch;
    }

.landing-price-card {
    padding: 2rem;
}

.landing-pricing .landing-price-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.landing-price-card-highlight {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 1.5rem 4rem rgba(13, 110, 253, 0.14);
    position: relative;
}

.landing-price-label {
    color: #0d6efd;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.landing-price {
    color: #111827 !important;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0.85rem !important;
}

.landing-price-list {
    margin: 1.25rem 0 1.5rem;
    padding-left: 1.2rem;
    color: #4b5563;
}

    .landing-price-list li {
        margin-bottom: 0.5rem;
    }

.landing-pricing .landing-price-label,
.landing-pricing .landing-price-card > .d-flex:first-child {
    min-height: 28px;
    display: flex;
    align-items: center;
}

.landing-pricing .landing-price {
    min-height: 58px;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.landing-pricing .landing-price-card > p {
    min-height: 96px;
    margin-bottom: 1.25rem;
}

.landing-pricing .landing-price-list {
    flex: 1;
    margin-bottom: 1.5rem;
}

.landing-pricing .landing-price-card .btn {
    margin-top: auto;
}

.landing-pricing .badge {
    white-space: nowrap;
}


/* =========================================================
   15. Buyer Dashboard
   ========================================================= */

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dashboard-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-stat-card,
.dashboard-panel {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.dashboard-stat-card {
    padding: 1.25rem;
}

.dashboard-stat-label {
    display: block;
    color: #2563eb;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
}

.dashboard-stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.dashboard-stat-card p {
    margin: 0.75rem 0 0;
    color: #64748b;
}

.dashboard-panel {
    padding: 1.25rem;
}

.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .dashboard-panel-header h2 {
        font-size: 1.25rem;
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 0.2rem;
    }

    .dashboard-panel-header p {
        color: #64748b;
        margin-bottom: 0;
    }

.dashboard-empty {
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 1rem;
    padding: 1rem;
    color: #64748b;
    background: #f8fafc;
}

.dashboard-featured-report {
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

    .dashboard-featured-report > div:first-child {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .dashboard-featured-report strong {
        color: #0f172a;
        font-weight: 900;
    }

    .dashboard-featured-report span {
        color: #64748b;
    }

.dashboard-featured-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .dashboard-featured-score > div {
        color: #0f172a;
        font-size: 3rem;
        line-height: 1;
        font-weight: 950;
        letter-spacing: -0.06em;
    }

        .dashboard-featured-score > div span {
            font-size: 1rem;
            font-weight: 800;
            color: #64748b;
            letter-spacing: 0;
        }

.dashboard-featured-report p {
    color: #334155;
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.dashboard-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

    .dashboard-list-item:hover {
        color: inherit;
        transform: translateY(-1px);
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    }

    .dashboard-list-item strong {
        display: block;
        color: #0f172a;
        font-weight: 900;
    }

    .dashboard-list-item span {
        display: inline-block;
        color: #64748b;
        font-size: 0.9rem;
    }

.dashboard-list-score {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

    .dashboard-list-score strong {
        font-size: 1.3rem;
    }

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-action-card {
    display: block;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

    .dashboard-action-card:hover {
        transform: translateY(-1px);
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    }

    .dashboard-action-card strong {
        display: block;
        color: #0f172a;
        font-weight: 900;
        margin-bottom: 0.3rem;
    }

    .dashboard-action-card span {
        color: #64748b;
        font-size: 0.92rem;
    }

.dashboard-checklist {
    display: grid;
    gap: 0.75rem;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

    .dashboard-checklist li {
        position: relative;
        padding: 0.85rem 0.85rem 0.85rem 2.6rem;
        border-radius: 0.9rem;
        background: #f8fafc;
        border: 1px solid rgba(148, 163, 184, 0.22);
        color: #334155;
    }

        .dashboard-checklist li::before {
            content: "✓";
            position: absolute;
            left: 0.85rem;
            top: 0.72rem;
            width: 1.25rem;
            height: 1.25rem;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            background: #2563eb;
            font-size: 0.8rem;
            font-weight: 900;
        }


/* =========================================================
   16. Print Styles
   ========================================================= */

.print-only {
    display: none;
}

@media print {
    .no-print {
        display: none !important;
    }

    body * {
        visibility: hidden;
    }

    .print-area,
    .print-area * {
        visibility: visible;
    }

    .print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 20px;
    }

    .card,
    .alert,
    .buyer-score-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .print-only {
        display: block;
    }

    .report-shell,
    .comparison-shell {
        max-width: 100%;
    }

    .report-header,
    .comparison-report-header {
        margin-bottom: 1rem;
    }

    .report-score,
    .comparison-score {
        font-size: 3rem;
    }

    .buyer-score-card {
        box-shadow: none;
        background: #ffffff;
    }

    .report-detail-grid,
    .report-details-grid,
    .comparison-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   17. Responsive
   ========================================================= */

@media (max-width: 1180px) {
    .carbuyer-topbar-inner {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .carbuyer-brand {
        min-width: 0;
        justify-content: center;
    }

    .carbuyer-nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        border-radius: 1.25rem;
        padding: 0.45rem;
    }

    .carbuyer-topbar-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-action-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-list-item,
    .dashboard-featured-score {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .report-score,
    .comparison-score {
        font-size: 3rem;
    }

    .buyer-score-card {
        padding: 1rem;
    }

    .buyer-score-number {
        font-size: clamp(3rem, 16vw, 4.25rem);
    }

    .buyer-score-risk {
        width: 100%;
    }

    .report-detail-grid,
    .report-details-grid,
    .comparison-mini-grid {
        grid-template-columns: 1fr;
    }

    .comparison-score-difference {
        white-space: normal;
    }

    .history-card-actions,
    .saved-report-toolbar {
        justify-content: flex-start;
    }

    .compare-action-box {
        width: 100%;
    }

    .landing-hero {
        padding: 2.25rem 0 2rem;
    }

    .landing-title {
        max-width: 100%;
        font-size: clamp(2.25rem, 12vw, 3.4rem);
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .landing-subtitle {
        font-size: 1.05rem;
    }

    .landing-preview-card {
        margin-top: 0.5rem;
    }

    .landing-preview-top,
    .landing-preview-score-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-preview-verdict {
        max-width: none;
        width: 100%;
    }

    .landing-section {
        padding-top: 3rem;
    }

    .landing-final-cta-box {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .carbuyer-topbar {
        padding: 0.75rem;
    }

    .carbuyer-content {
        padding: 1rem 0.75rem 2rem;
    }

    .carbuyer-brand {
        justify-content: flex-start;
    }

    .carbuyer-brand-mark {
        width: 2.45rem;
        height: 2.45rem;
        border-radius: 0.85rem;
    }

    .carbuyer-brand-tagline {
        font-size: 0.72rem;
    }

    .carbuyer-nav-links {
        gap: 0.35rem;
    }

    .carbuyer-nav-link {
        padding: 0.6rem 0.75rem;
        font-size: 0.86rem;
    }

    .carbuyer-language {
        width: 100%;
        justify-content: space-between;
    }

        .carbuyer-language select {
            flex: 1;
            min-width: 0;
            max-width: none;
        }

    .carbuyer-upgrade-button,
    .carbuyer-pro-active-button {
        width: 100%;
    }
}

/* =========================================================
   Top navigation icons
   ========================================================= */

.carbuyer-brand-mark svg,
.carbuyer-nav-svg svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    fill: currentColor;
}

.carbuyer-brand-mark svg {
    width: 1.2rem;
    height: 1.2rem;
}

.carbuyer-nav-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: currentColor;
    opacity: 1;
}

.carbuyer-nav-link .carbuyer-nav-svg {
    color: #334155;
}

.carbuyer-nav-link:hover .carbuyer-nav-svg {
    color: #0f172a;
}

.carbuyer-nav-link.active .carbuyer-nav-svg {
    color: #ffffff;
}

/* =========================================================
   Seller Message Generator
   ========================================================= */

.seller-message-page-hero,
.seller-message-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.seller-message-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seller-message-panel,
.seller-message-empty {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

    .seller-message-panel h2,
    .seller-message-empty h2 {
        font-size: 1.25rem;
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 1rem;
    }

.seller-message-empty {
    max-width: 760px;
}

    .seller-message-empty p {
        color: #64748b;
    }

.seller-message-car-select {
    min-height: 3rem;
    border-radius: 0.85rem;
    font-weight: 700;
}

.seller-message-selected-car {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

    .seller-message-selected-car strong,
    .seller-message-selected-car span {
        display: block;
    }

    .seller-message-selected-car strong {
        color: #0f172a;
        font-weight: 900;
    }

    .seller-message-selected-car span {
        color: #64748b;
        font-size: 0.92rem;
    }

.seller-message-mini-score {
    color: #2563eb;
    font-size: 1.35rem;
    font-weight: 950;
    white-space: nowrap;
}


/* =========================================================
   Seller Message Choices
   ========================================================= */

.seller-message-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.seller-message-choice {
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 1rem;
    padding: 0.9rem;
    background: #ffffff;
    color: #334155;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

    .seller-message-choice:hover {
        transform: translateY(-1px);
        border-color: rgba(37, 99, 235, 0.45);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    }

    .seller-message-choice.active {
        color: #ffffff;
        border-color: rgba(37, 99, 235, 0.7);
        background: linear-gradient(135deg, #2563eb, #0ea5e9);
        box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
    }

    .seller-message-choice strong,
    .seller-message-choice span {
        display: block;
    }

    .seller-message-choice strong {
        font-weight: 900;
    }

    .seller-message-choice span {
        margin-top: 0.25rem;
        font-size: 0.88rem;
        color: #64748b;
    }

    .seller-message-choice.active span {
        color: rgba(255, 255, 255, 0.78);
    }


/* =========================================================
   Seller Message Inputs / Output
   ========================================================= */

.seller-message-bullets,
.seller-message-textarea {
    line-height: 1.65;
    font-size: 1rem;
    resize: vertical;
    border-radius: 1rem;
}

.seller-message-output-panel {
    position: sticky;
    top: 7rem;
}

.seller-message-preview-empty {
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 1rem;
    padding: 2rem;
    background: #f8fafc;
    color: #64748b;
}

    .seller-message-preview-empty h3 {
        color: #0f172a;
        font-weight: 900;
    }

.seller-message-source {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fafc;
}

    .seller-message-source h3 {
        color: #0f172a;
        font-size: 1rem;
        font-weight: 900;
        margin-bottom: 0.75rem;
    }

    .seller-message-source ul {
        margin-bottom: 0;
        color: #475569;
    }

    .seller-message-source li {
        margin-bottom: 0.4rem;
    }


/* =========================================================
   Free User Preview / Locked Demo
   ========================================================= */

.seller-message-preview-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.18);
}

    .seller-message-preview-banner strong {
        display: block;
        font-size: 1.05rem;
        font-weight: 950;
    }

    .seller-message-preview-banner p {
        color: rgba(255, 255, 255, 0.86);
    }

.seller-message-demo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-message-locked-select {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fafc;
}

.seller-message-preview-steps {
    display: grid;
    gap: 0.85rem;
}

    .seller-message-preview-steps div {
        position: relative;
        padding: 0.95rem 0.95rem 0.95rem 3rem;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 1rem;
        background: #f8fafc;
    }

        .seller-message-preview-steps div > span {
            position: absolute;
            left: 0.95rem;
            top: 0.95rem;
            width: 1.45rem;
            height: 1.45rem;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            background: #2563eb;
            font-size: 0.8rem;
            font-weight: 950;
        }

    .seller-message-preview-steps strong {
        display: block;
        color: #0f172a;
        font-weight: 950;
        margin-bottom: 0.25rem;
    }

    .seller-message-preview-steps p {
        margin: 0;
        color: #64748b;
    }

.seller-message-demo-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .seller-message-demo-options span {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 0.35rem 0.6rem;
        background: #eef2ff;
        color: #3730a3;
        font-size: 0.82rem;
        font-weight: 800;
    }

.seller-message-locked-output {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.1rem;
    padding: 1.25rem;
    background: #f8fafc;
    color: #334155;
    user-select: none;
    overflow: hidden;
}

    .seller-message-locked-output p,
    .seller-message-locked-output li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .seller-message-locked-output ul {
        margin-bottom: 5.5rem;
    }

.seller-message-locked-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3.5rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0), #f8fafc 42%);
}

    .seller-message-locked-fade strong,
    .seller-message-locked-fade span {
        display: block;
    }

    .seller-message-locked-fade strong {
        color: #0f172a;
        font-weight: 950;
    }

    .seller-message-locked-fade span {
        color: #64748b;
    }


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .seller-message-output-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .seller-message-page-hero,
    .seller-message-hero,
    .seller-message-preview-banner {
        align-items: flex-start;
        flex-direction: column;
    }

        .seller-message-actions,
        .seller-message-preview-banner .btn {
            width: 100%;
        }

            .seller-message-actions .btn {
                width: 100%;
            }

    .seller-message-choice-grid {
        grid-template-columns: 1fr;
    }

    .seller-message-selected-car {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   Saved Seller Messages
   ========================================================= */

.seller-message-history-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.seller-message-history-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr)) auto;
    gap: 1rem;
    align-items: end;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.seller-message-history-filter-actions {
    display: flex;
    align-items: end;
}

.seller-message-history-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
}

    .seller-message-history-summary strong {
        color: #2563eb;
        font-size: 1.15rem;
    }

.seller-message-history-list {
    display: grid;
    gap: 1rem;
}

.seller-message-history-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.seller-message-history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

    .seller-message-history-card-header h2 {
        color: #0f172a;
        font-size: 1.2rem;
        font-weight: 950;
        margin-bottom: 0.25rem;
    }

    .seller-message-history-card-header p {
        color: #64748b;
        margin-bottom: 0;
    }

.seller-message-history-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.seller-message-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

    .seller-message-history-meta span {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 0.32rem 0.6rem;
        background: #f1f5f9;
        color: #334155;
        font-size: 0.82rem;
        font-weight: 850;
    }

    .seller-message-history-meta .seller-message-ai-pill {
        background: #dcfce7;
        color: #166534;
    }

    .seller-message-history-meta .seller-message-no-ai-pill {
        background: #e0f2fe;
        color: #075985;
    }

.seller-message-history-details {
    margin-top: 1rem;
}

    .seller-message-history-details summary {
        cursor: pointer;
        color: #2563eb;
        font-weight: 900;
    }

.seller-message-history-textarea {
    margin-top: 1rem;
    line-height: 1.65;
    border-radius: 1rem;
    resize: vertical;
    background: #f8fafc;
}

@media (max-width: 1200px) {
    .seller-message-history-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-message-history-filter-actions {
        align-items: stretch;
    }

        .seller-message-history-filter-actions .btn {
            width: 100%;
        }
}

@media (max-width: 640px) {
    .seller-message-history-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .seller-message-history-filters {
        grid-template-columns: 1fr;
    }

    .seller-message-history-card-actions,
    .seller-message-actions {
        width: 100%;
    }

        .seller-message-history-card-actions .btn,
        .seller-message-actions .btn {
            width: 100%;
        }
}

/* =========================================================
   Final Top Navigation Balance Fix
   Desktop: compact single row.
   Tablet/smaller: clean two-row layout without horizontal scroll.
   ========================================================= */

.carbuyer-topbar {
    padding: 0.65rem 1.35rem;
    /* Do not clip absolutely positioned navigation dropdowns. */
    overflow: visible;
}

.carbuyer-topbar-inner {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.15rem;
}

.carbuyer-brand {
    min-width: 240px;
    justify-content: flex-start;
}

.carbuyer-brand-copy {
    min-width: 0;
}

.carbuyer-brand-name,
.carbuyer-brand-tagline {
    white-space: nowrap;
}

.carbuyer-nav-links {
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 0.45rem;
    padding: 0.35rem;
    border-radius: 999px;
}

.carbuyer-nav-link {
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 850;
}

.carbuyer-topbar-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: max-content;
    width: auto;
}

.carbuyer-language {
    width: auto;
    justify-content: flex-start;
    gap: 0;
    white-space: nowrap;
}

    .carbuyer-language span {
        display: none;
    }

    .carbuyer-language select {
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        flex: 0 0 auto;
    }

.carbuyer-upgrade-button,
.carbuyer-pro-active-button {
    width: auto;
}

@media (max-width: 1460px) {
    .carbuyer-topbar-inner {
        gap: 0.9rem;
    }

    .carbuyer-brand {
        min-width: 210px;
    }

    .carbuyer-nav-link {
        padding: 0.62rem 0.78rem;
        font-size: 0.88rem;
    }

    .carbuyer-nav-links {
        gap: 0.36rem;
    }
}

@media (max-width: 1180px) {
    .carbuyer-topbar {
        padding: 0.7rem 1.7rem;
    }

    .carbuyer-topbar-inner {
        max-width: 980px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
        align-items: center;
        gap: 0.85rem 1.1rem;
    }

    .carbuyer-brand {
        grid-area: brand;
        min-width: 0;
        justify-content: flex-start;
    }

    .carbuyer-brand-tagline {
        display: block;
    }

    .carbuyer-nav-links {
        grid-area: nav;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
        border-radius: 1.25rem;
        padding: 0.45rem;
        scrollbar-width: none;
    }

        .carbuyer-nav-links::-webkit-scrollbar {
            display: none;
        }

    .carbuyer-topbar-actions {
        grid-area: actions;
        justify-content: flex-end;
        flex-wrap: nowrap;
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .carbuyer-topbar {
        padding: 0.7rem 1rem;
    }

    .carbuyer-topbar-inner {
        max-width: 620px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "actions"
            "nav";
        gap: 0.75rem;
    }

    .carbuyer-brand,
    .carbuyer-topbar-actions {
        justify-content: center;
    }

    .carbuyer-brand,
    .carbuyer-topbar-actions {
        width: 100%;
    }

    .carbuyer-nav-links {
        justify-content: center;
        gap: 0.35rem;
    }

    .carbuyer-nav-link {
        padding: 0.58rem 0.72rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 520px) {
    .carbuyer-brand-mark {
        width: 2.45rem;
        height: 2.45rem;
        border-radius: 0.85rem;
    }

    .carbuyer-brand-name {
        font-size: 1rem;
    }

    .carbuyer-brand-tagline {
        display: none;
    }

    .carbuyer-language select {
        width: 132px;
        min-width: 132px;
        max-width: 132px;
    }

    .carbuyer-upgrade-button,
    .carbuyer-pro-active-button {
        min-height: 2.45rem;
        padding: 0.6rem 0.85rem;
    }
}

/* =========================================================
   Mobile top navigation polish
   ========================================================= */

@media (max-width: 640px) {
    .carbuyer-topbar {
        padding: 0.6rem 0.75rem;
    }

    .carbuyer-topbar-inner {
        max-width: 430px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        align-items: center;
    }

    .carbuyer-brand {
        justify-content: center;
        min-width: 0;
        gap: 0.65rem;
    }

    .carbuyer-brand-mark {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 0.85rem;
    }

    .carbuyer-brand-name {
        font-size: 1.02rem;
    }

    .carbuyer-brand-tagline {
        font-size: 0.72rem;
    }

    .carbuyer-topbar-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.6rem;
        justify-content: center;
        align-items: center;
        max-width: 360px;
        margin: 0 auto;
    }

    .carbuyer-language,
    .carbuyer-language-clean {
        width: 100%;
        min-width: 0;
    }

        .carbuyer-language select,
        .carbuyer-language-clean select {
            width: 100%;
            min-width: 0;
            max-width: none;
            height: 2.55rem;
        }

    .carbuyer-upgrade-button,
    .carbuyer-pro-active-button {
        width: auto;
        min-width: 8.4rem;
        min-height: 2.55rem;
        padding: 0.62rem 1rem;
        font-size: 0.95rem;
    }

    .carbuyer-nav-links {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        gap: 0.35rem;
        padding: 0.55rem;
        border-radius: 1.25rem;
        overflow: visible;
    }

    .carbuyer-nav-link {
        justify-content: center;
        gap: 0.35rem;
        padding: 0.55rem 0.4rem;
        font-size: 0.8rem;
        min-width: 0;
    }

    .seller-message-nav-link::after {
        display: none;
    }

    .carbuyer-content {
        padding-top: 1rem;
    }
}

@media (max-width: 380px) {
    .carbuyer-brand-tagline {
        display: none;
    }

    .carbuyer-topbar-actions {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .carbuyer-upgrade-button,
    .carbuyer-pro-active-button {
        width: 100%;
    }

    .carbuyer-nav-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 300px;
    }
}

/* =========================================================
   Dashboard badge readability fix
   ========================================================= */

.dashboard-panel .badge,
.dashboard-stat-card .badge,
.dashboard-featured-report .badge,
.dashboard-list-item .badge {
    font-weight: 850;
    min-width: 3rem;
    text-align: center;
    letter-spacing: 0.01em;
}

    .dashboard-panel .badge.bg-success,
    .dashboard-stat-card .badge.bg-success,
    .dashboard-featured-report .badge.bg-success,
    .dashboard-list-item .badge.bg-success,
    .dashboard-panel .badge.text-bg-success,
    .dashboard-stat-card .badge.text-bg-success,
    .dashboard-featured-report .badge.text-bg-success,
    .dashboard-list-item .badge.text-bg-success {
        color: #ffffff !important;
        background-color: #198754 !important;
    }

    .dashboard-panel .badge.bg-warning,
    .dashboard-stat-card .badge.bg-warning,
    .dashboard-featured-report .badge.bg-warning,
    .dashboard-list-item .badge.bg-warning,
    .dashboard-panel .badge.text-bg-warning,
    .dashboard-stat-card .badge.text-bg-warning,
    .dashboard-featured-report .badge.text-bg-warning,
    .dashboard-list-item .badge.text-bg-warning {
        color: #111827 !important;
        background-color: #ffc107 !important;
    }

    .dashboard-panel .badge.bg-danger,
    .dashboard-stat-card .badge.bg-danger,
    .dashboard-featured-report .badge.bg-danger,
    .dashboard-list-item .badge.bg-danger,
    .dashboard-panel .badge.text-bg-danger,
    .dashboard-stat-card .badge.text-bg-danger,
    .dashboard-featured-report .badge.text-bg-danger,
    .dashboard-list-item .badge.text-bg-danger {
        color: #ffffff !important;
        background-color: #dc3545 !important;
    }

    .dashboard-panel .badge.bg-primary,
    .dashboard-stat-card .badge.bg-primary,
    .dashboard-featured-report .badge.bg-primary,
    .dashboard-list-item .badge.bg-primary,
    .dashboard-panel .badge.text-bg-primary,
    .dashboard-stat-card .badge.text-bg-primary,
    .dashboard-featured-report .badge.text-bg-primary,
    .dashboard-list-item .badge.text-bg-primary {
        color: #ffffff !important;
        background-color: #0d6efd !important;
    }

    .dashboard-panel .badge.bg-info,
    .dashboard-stat-card .badge.bg-info,
    .dashboard-featured-report .badge.bg-info,
    .dashboard-list-item .badge.bg-info,
    .dashboard-panel .badge.text-bg-info,
    .dashboard-stat-card .badge.text-bg-info,
    .dashboard-featured-report .badge.text-bg-info,
    .dashboard-list-item .badge.text-bg-info {
        color: #111827 !important;
        background-color: #0dcaf0 !important;
    }

/* =========================================================
   Dashboard typography cleanup
   Makes dashboard text match the rest of the app better
   ========================================================= */

.dashboard-panel-header h2,
.dashboard-panel h2,
.dashboard-featured-report strong,
.dashboard-list-item strong {
    font-weight: 750;
    letter-spacing: -0.015em;
}

.dashboard-featured-report p,
.dashboard-panel-header p,
.dashboard-list-item span,
.dashboard-stat-card p {
    font-weight: 400;
    color: #475569;
}

.dashboard-stat-label {
    font-weight: 800;
    letter-spacing: 0.07em;
}

.dashboard-stat-card strong {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dashboard-featured-score > div,
.dashboard-list-score strong {
    font-weight: 800;
}

.dashboard-list-score .badge,
.dashboard-featured-report .badge,
.dashboard-panel .badge {
    font-weight: 750;
    letter-spacing: 0;
}

.dashboard-action-card strong {
    font-weight: 750;
}

.dashboard-action-card span {
    font-weight: 400;
}

/* =========================================================
   Home pricing card compact fix
   Prevents pricing cards from becoming too tall after coin badges
   ========================================================= */

.landing-pricing .landing-price-card {
    padding: 1.5rem;
}

.landing-pricing .landing-price {
    min-height: auto;
    margin-bottom: 0.75rem !important;
}

.landing-pricing .landing-price-card > p {
    min-height: auto;
    margin-bottom: 0.75rem;
}

    .landing-pricing .landing-price-card > p.text-muted {
        min-height: auto;
        margin-bottom: 1rem;
    }

.landing-pricing .landing-price-list {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

    .landing-pricing .landing-price-list li {
        margin-bottom: 0.38rem;
    }

.landing-pricing .badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.55rem;
}

/* =========================================================
   Seller Message / Reply Buttons Professional Styling
   ========================================================= */

.seller-action-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 1rem 0 1.1rem 0;
}

.seller-action-toolbar-reply {
    margin-top: 1rem;
}

.seller-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    min-height: 46px;
    padding: 0.78rem 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, filter 160ms ease;
}

    .seller-btn:hover:not(:disabled) {
        transform: translateY(-1px);
        filter: brightness(1.01);
    }

    .seller-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .seller-btn:disabled {
        cursor: not-allowed;
        opacity: 0.55;
        transform: none;
        box-shadow: none;
    }

.seller-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seller-btn-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.24rem 0.5rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 900;
    line-height: 1;
}

/* Primary */
.seller-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2d6cdf, #1d9bf0);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(45, 108, 223, 0.22);
}

    .seller-btn-primary:hover:not(:disabled) {
        color: #ffffff;
        box-shadow: 0 14px 28px rgba(45, 108, 223, 0.28);
    }

/* Success */
.seller-btn-success {
    color: #ffffff;
    background: linear-gradient(135deg, #1f9d67, #62b98b);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(31, 157, 103, 0.18);
}

    .seller-btn-success:hover:not(:disabled) {
        color: #ffffff;
        box-shadow: 0 14px 28px rgba(31, 157, 103, 0.24);
    }

/* Outline */
.seller-btn-outline {
    color: #2563eb;
    background: #ffffff;
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

    .seller-btn-outline:hover:not(:disabled) {
        color: #1d4ed8;
        background: #eff6ff;
        border-color: #60a5fa;
    }

/* AI Premium */
.seller-btn-ai {
    color: #0f172a;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-color: #c7d2fe;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.10);
}

    .seller-btn-ai .seller-btn-note {
        color: #4338ca;
        background: rgba(99, 102, 241, 0.12);
    }

    .seller-btn-ai:hover:not(:disabled) {
        background: linear-gradient(135deg, #eef2ff, #e0e7ff);
        border-color: #a5b4fc;
    }

/* Subtle */
.seller-btn-subtle {
    color: #475569;
    background: #f8fafc;
    border-color: #cbd5e1;
}

    .seller-btn-subtle:hover:not(:disabled) {
        color: #0f172a;
        background: #f1f5f9;
        border-color: #94a3b8;
    }

/* =========================================================
   Compact left-side selector buttons
   ========================================================= */

.seller-option-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.seller-option-button {
    width: 100%;
    text-align: left;
    border: 1px solid #d7deea;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    transition: all 160ms ease;
    cursor: pointer;
}

    .seller-option-button span {
        font-weight: 800;
        font-size: 1rem;
        color: #0f172a;
    }

    .seller-option-button small {
        font-size: 0.86rem;
        color: #64748b;
    }

    .seller-option-button:hover {
        border-color: #93c5fd;
        background: #f8fbff;
        transform: translateY(-1px);
    }

    .seller-option-button.active {
        background: linear-gradient(135deg, #2d6cdf, #1d9bf0);
        border-color: transparent;
        box-shadow: 0 10px 26px rgba(45, 108, 223, 0.22);
    }

        .seller-option-button.active span,
        .seller-option-button.active small {
            color: #ffffff;
        }

/* =========================================================
   Dropdown sections clearer and more obvious
   ========================================================= */

.seller-section-toggle {
    border: 1px solid #d9e2ec;
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
}

    .seller-section-toggle summary {
        list-style: none;
        cursor: pointer;
        padding: 1rem 1.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        font-weight: 800;
        color: #0f172a;
        background: #f8fafc;
    }

        .seller-section-toggle summary::-webkit-details-marker {
            display: none;
        }

        .seller-section-toggle summary::after {
            content: "▾";
            font-size: 0.95rem;
            color: #64748b;
            margin-left: auto;
        }

    .seller-section-toggle[open] summary::after {
        content: "▴";
    }

.seller-selection-preview {
    font-size: 0.84rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
}

.seller-toggle-content {
    padding: 1rem 1rem 0.2rem 1rem;
}

    .seller-toggle-content h3 {
        margin-top: 0.9rem;
        margin-bottom: 0.7rem;
        font-size: 1.02rem;
        font-weight: 800;
        color: #0f172a;
    }

/* =========================================================
   Linked message box
   ========================================================= */

.seller-linked-message-box {
    border: 1px solid #d9e2ec;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem;
    margin-bottom: 1rem;
}

.seller-linked-message-title {
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.seller-linked-message-subtitle {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.seller-linked-message-preview {
    margin-top: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #d9e2ec;
    background: #ffffff;
    color: #334155;
    line-height: 1.55;
    max-height: 170px;
    overflow: auto;
}

/* =========================================================
   Scroll panels
   ========================================================= */

.seller-reply-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.seller-reply-column,
.seller-chat-history {
    min-width: 0;
}

.seller-panel-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.seller-scroll-panel {
    border: 1px solid #d9e2ec;
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
    max-height: 360px;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    line-height: 1.65;
    color: #334155;
}

.seller-chat-history-panel {
    max-height: 300px;
}

.seller-chat-entry {
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    margin-bottom: 0.75rem;
}

.seller-chat-entry-user {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.seller-chat-entry-seller {
    background: #f8fafc;
    border: 1px solid #d9e2ec;
}

.seller-chat-entry-role {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    color: #2563eb;
}

.seller-chat-entry-text {
    color: #334155;
    line-height: 1.6;
}

/* =========================================================
   Output text
   ========================================================= */

.seller-generated-text {
    border: 1px solid #d9e2ec;
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
    min-height: 240px;
    line-height: 1.7;
    color: #334155;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .seller-reply-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .seller-option-grid-compact {
        grid-template-columns: 1fr;
    }

    .seller-action-toolbar {
        gap: 0.6rem;
    }

    .seller-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .seller-section-toggle summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .seller-selection-preview {
        white-space: normal;
    }
}


/* =========================================================
   AutoCheckAI crisp brand assets
   ========================================================= */

.carbuyer-brand-mark {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.carbuyer-brand-mark img {
    display: block;
    width: 92%;
    height: 92%;
    object-fit: contain;
    border-radius: 0;
}

.autocheckai-hero-brand {
    align-items: center;
    display: inline-flex;
    margin-bottom: 1.05rem;
    max-width: 100%;
}

.autocheckai-hero-brand img {
    display: block;
    width: min(600px, 100%);
    height: auto;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12));
}

@media (max-width: 640px) {
    .autocheckai-hero-brand {
        justify-content: center;
        width: 100%;
    }

    .autocheckai-hero-brand img {
        width: min(340px, 100%);
    }
}



/* AutoCheckAI favicon/navbar size fix */
.carbuyer-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   AutoCheckAI home hero polish
   ========================================================= */

.landing-hero-polished {
    padding: 3.1rem 0 3rem;
    position: relative;
}

.landing-hero-polished::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.15), transparent 28rem),
        radial-gradient(circle at 82% 15%, rgba(20, 184, 166, 0.14), transparent 30rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.82));
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 0;
}

.landing-hero-polished > .container {
    position: relative;
    z-index: 1;
}

.landing-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
}

.landing-hero-copy {
    min-width: 0;
}

.autocheckai-hero-brand-polished {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.15rem;
    box-shadow: 0 1.1rem 2.4rem rgba(15, 23, 42, 0.08);
    margin-bottom: 1.15rem;
    padding: 0.8rem 1rem;
}

.autocheckai-hero-brand-polished img {
    filter: none;
    max-width: 100%;
    width: min(470px, 100%);
}

.landing-hero-eyebrow-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.landing-badge-polished,
.landing-live-chip {
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1.1;
    padding: 0.52rem 0.82rem;
}

.landing-badge-polished {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.landing-live-chip {
    background: #ffffff;
    border: 1px solid #dbe7f5;
    color: #475569;
    display: inline-flex;
}

.landing-title-polished {
    color: #0f172a;
    font-size: clamp(2.65rem, 5vw, 5.05rem);
    letter-spacing: -0.065em;
    line-height: 0.95;
    margin-bottom: 0;
    max-width: 820px;
}

.landing-subtitle-polished {
    color: #475569;
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    line-height: 1.62;
    margin-top: 1.2rem;
    max-width: 760px;
}

.landing-actions-polished {
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.landing-actions-polished .btn {
    border-radius: 0.78rem;
    box-shadow: none;
    font-size: 0.98rem;
    min-height: 3rem;
    padding: 0.68rem 1.12rem;
}

.landing-actions-polished .btn-primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-color: transparent;
    box-shadow: 0 0.8rem 1.6rem rgba(37, 99, 235, 0.2);
}

.landing-actions-polished .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.88);
    border-color: #cbd5e1;
    color: #334155;
}

.landing-trust-row-polished {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.35rem;
    max-width: 760px;
}

.landing-trust-row-polished span {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    box-shadow: none;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 750;
    padding: 0.62rem 0.72rem;
}

.landing-hero-preview-wrap {
    min-width: 0;
    position: relative;
}

.landing-preview-card-polished {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 1.35rem;
    box-shadow: 0 1.4rem 3.4rem rgba(15, 23, 42, 0.13);
    padding: 1.25rem;
    position: relative;
    z-index: 2;
}

.landing-preview-top-polished {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.95rem;
}

.landing-preview-car-title h3 {
    color: #0f172a;
    font-size: 1.32rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 0;
}

.landing-preview-car-title p,
.landing-preview-mini-label {
    color: #64748b;
    font-size: 0.86rem;
}

.landing-preview-car-title p {
    margin: 0.32rem 0 0;
}

.landing-preview-mini-label {
    display: block;
    font-weight: 800;
    margin-bottom: 0.28rem;
}

.landing-risk-chip {
    background: #fbbf24;
    border-radius: 999px;
    color: #111827;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 950;
    padding: 0.42rem 0.62rem;
}

.landing-preview-score-row-polished {
    align-items: stretch;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 0.75fr 1fr;
    margin-top: 1rem;
}

.landing-score-panel,
.landing-preview-verdict-polished {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.95rem;
}

.landing-score-panel span,
.landing-score-panel small {
    color: #64748b;
    display: block;
    font-size: 0.8rem;
    font-weight: 850;
}

.landing-score-panel .landing-score {
    color: #0f172a;
    font-size: clamp(3.3rem, 7vw, 4.65rem);
    letter-spacing: -0.08em;
    margin-top: 0.45rem;
}

.landing-preview-verdict-polished {
    max-width: none;
}

.landing-preview-verdict-polished strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 900;
}

.landing-preview-verdict-polished span {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}

.landing-preview-section-polished {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    margin-top: 0.85rem;
    padding: 0.95rem;
}

.landing-preview-section-head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.landing-preview-section-head h4 {
    color: #0f172a;
    font-weight: 900;
    margin: 0;
}

.landing-preview-section-head span {
    background: #fff7ed;
    border-radius: 999px;
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
}

.landing-preview-list-polished {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
}

.landing-preview-list-polished li {
    color: #334155;
    font-size: 0.92rem;
    margin: 0;
    padding-left: 1.25rem;
    position: relative;
}

.landing-preview-list-polished li::before {
    background: #2563eb;
    border-radius: 999px;
    content: "";
    height: 0.42rem;
    left: 0;
    position: absolute;
    top: 0.5rem;
    width: 0.42rem;
}

.landing-preview-footer-polished {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border: 1px solid #bfdbfe;
    border-radius: 0.9rem;
    color: #1d4ed8;
    margin-top: 0.85rem;
}

.landing-hero-floating-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    border-radius: 0.95rem;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.09);
    display: grid;
    gap: 0.18rem;
    max-width: 230px;
    padding: 0.72rem 0.82rem;
    position: absolute;
    z-index: 3;
}

.landing-hero-floating-card strong {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 950;
}

.landing-hero-floating-card span {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.3;
}

.landing-hero-floating-card-left {
    bottom: -1.1rem;
    left: -1rem;
}

.landing-hero-floating-card-right {
    right: -0.6rem;
    top: -1.1rem;
}

@media (max-width: 1180px) {
    .landing-hero-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-preview-wrap {
        max-width: 720px;
    }

    .landing-hero-floating-card-right {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .landing-hero-polished {
        padding: 2rem 0 2.2rem;
    }

    .autocheckai-hero-brand-polished {
        padding: 0.7rem 0.75rem;
        width: 100%;
    }

    .autocheckai-hero-brand-polished img {
        width: 100%;
    }

    .landing-title-polished {
        font-size: clamp(2.35rem, 13vw, 3.6rem);
    }

    .landing-trust-row-polished {
        grid-template-columns: 1fr;
    }

    .landing-preview-score-row-polished {
        grid-template-columns: 1fr;
    }

    .landing-hero-floating-card {
        margin-top: 0.65rem;
        max-width: none;
        position: static;
    }
}

@media (max-width: 560px) {
    .landing-actions-polished .btn {
        width: 100%;
    }

    .landing-preview-top-polished,
    .landing-preview-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   AutoCheckAI home hero visual tighten pass
   ========================================================= */

.landing-hero-polished {
    padding: 2.45rem 0 2.75rem;
}

.landing-hero-grid {
    align-items: center;
    gap: clamp(2.2rem, 4vw, 4.4rem);
    grid-template-columns: minmax(0, 0.98fr) minmax(400px, 0.82fr);
}

.autocheckai-hero-brand-polished {
    border-radius: 1rem;
    box-shadow: 0 0.8rem 1.9rem rgba(15, 23, 42, 0.075);
    margin-bottom: 1.05rem;
    padding: 0.6rem 0.78rem;
}

.autocheckai-hero-brand-polished img {
    display: block;
    width: min(390px, 100%);
}

.landing-title-polished {
    font-size: clamp(2.65rem, 4.55vw, 4.55rem);
    letter-spacing: -0.058em;
    line-height: 0.98;
    max-width: 740px;
}

.landing-subtitle-polished {
    max-width: 660px;
}

.landing-actions-polished {
    margin-top: 1.55rem;
}

.landing-trust-row-polished {
    max-width: 660px;
}

.landing-preview-card-polished {
    border-radius: 1.2rem;
    box-shadow: 0 1.2rem 2.75rem rgba(15, 23, 42, 0.11);
    padding: 1.12rem;
}

.landing-preview-top-polished {
    align-items: flex-start;
}

.landing-risk-chip {
    box-shadow: none;
}

.landing-preview-score-row-polished {
    gap: 0.75rem;
}

.landing-score-panel .landing-score {
    font-size: clamp(3rem, 6vw, 4.2rem);
}

.landing-hero-mini-card-row {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.82rem;
    position: relative;
    z-index: 2;
}

.landing-hero-floating-card,
.landing-hero-floating-card-left,
.landing-hero-floating-card-right {
    bottom: auto;
    left: auto;
    max-width: none;
    position: static;
    right: auto;
    top: auto;
}

.landing-hero-floating-card {
    border-radius: 0.85rem;
    box-shadow: 0 0.7rem 1.5rem rgba(15, 23, 42, 0.065);
    padding: 0.68rem 0.78rem;
}

.landing-hero-floating-card strong {
    font-size: 0.8rem;
}

.landing-hero-floating-card span {
    font-size: 0.73rem;
}

@media (max-width: 1180px) {
    .landing-hero-grid {
        grid-template-columns: 1fr;
    }

    .landing-title-polished,
    .landing-subtitle-polished,
    .landing-trust-row-polished {
        max-width: 760px;
    }

    .autocheckai-hero-brand-polished img {
        width: min(420px, 100%);
    }
}

@media (max-width: 768px) {
    .landing-hero-polished {
        padding: 1.85rem 0 2.15rem;
    }

    .autocheckai-hero-brand-polished {
        display: flex;
        justify-content: center;
        padding: 0.55rem 0.65rem;
    }

    .autocheckai-hero-brand-polished img {
        width: min(360px, 100%);
    }

    .landing-hero-mini-card-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   AutoCheckAI home report preview polish
   ========================================================= */

.landing-preview-card-premium {
    overflow: hidden;
    padding: 0;
}

.landing-preview-status-bar {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #172554);
    color: #dbeafe;
    display: flex;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: space-between;
    letter-spacing: 0.02em;
    padding: 0.72rem 1rem;
}

.landing-preview-status-bar > span {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
}

.landing-preview-status-dot {
    background: #22c55e;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    box-shadow: 0 0 0 0.22rem rgba(34, 197, 94, 0.18);
    display: inline-block;
    height: 0.62rem;
    width: 0.62rem;
}

.landing-preview-status-id {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.24rem 0.48rem;
    text-transform: uppercase;
}

.landing-preview-top-premium {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.05rem 0.92rem;
}

.landing-risk-chip-premium {
    background: linear-gradient(135deg, #f59e0b, #facc15);
    border: 1px solid rgba(146, 64, 14, 0.12);
    box-shadow: 0 0.45rem 0.9rem rgba(245, 158, 11, 0.18);
}

.landing-preview-score-row-premium {
    gap: 0.78rem;
    margin: 0;
    padding: 0.95rem 1.05rem 0;
}

.landing-score-panel-premium,
.landing-preview-verdict-premium {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: #dbe4ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.landing-score-panel-premium {
    display: grid;
    min-height: 100%;
}

.landing-score-wrap {
    align-items: baseline;
    display: flex;
    gap: 0.35rem;
}

.landing-score-panel-premium .landing-score {
    color: #0f172a;
    font-size: clamp(3.05rem, 6vw, 4.1rem);
    line-height: 0.86;
    margin: 0.52rem 0 0.2rem;
}

.landing-score-panel-premium small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
}

.landing-score-mini-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.52rem;
    margin-top: 0.7rem;
    overflow: hidden;
}

.landing-score-mini-bar span {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.landing-preview-verdict-premium {
    display: grid;
    gap: 0.22rem;
}

.landing-preview-verdict-label {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.landing-preview-verdict-premium strong {
    font-size: 1.03rem;
    letter-spacing: -0.02em;
}

.landing-preview-verdict-premium p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.landing-preview-info-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.78rem 1.05rem 0;
}

.landing-preview-info-grid > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.74rem 0.78rem;
}

.landing-preview-info-grid span,
.landing-preview-info-grid small {
    color: #64748b;
    display: block;
    font-size: 0.74rem;
    font-weight: 850;
}

.landing-preview-info-grid strong {
    color: #0f172a;
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
    margin: 0.18rem 0 0.1rem;
}

.landing-preview-section-premium {
    background: #ffffff;
    border-color: #dbe4ef;
    margin: 0.78rem 1.05rem 0;
    padding: 0.88rem;
}

.landing-preview-section-head-premium h4 {
    font-size: 1rem;
}

.landing-preview-list-premium {
    gap: 0.44rem;
}

.landing-preview-list-premium li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.68rem;
    padding: 0.48rem 0.58rem 0.48rem 1.55rem;
}

.landing-preview-list-premium li::before {
    left: 0.7rem;
    top: 0.82rem;
}

.landing-preview-next-step {
    align-items: center;
    background: linear-gradient(135deg, #eff6ff, #eefcff);
    border-top: 1px solid #bfdbfe;
    color: #1d4ed8;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 0.95rem;
    padding: 0.9rem 1.05rem;
}

.landing-preview-next-step strong {
    color: #1e3a8a;
    display: block;
    font-size: 0.86rem;
    font-weight: 950;
}

.landing-preview-next-step span:not(.landing-preview-next-step-arrow) {
    color: #2563eb;
    display: block;
    font-size: 0.82rem;
    font-weight: 760;
    margin-top: 0.12rem;
}

.landing-preview-next-step-arrow {
    align-items: center;
    background: #2563eb;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    font-weight: 950;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

@media (max-width: 768px) {
    .landing-preview-score-row-premium,
    .landing-preview-info-grid {
        grid-template-columns: 1fr;
    }

    .landing-preview-status-bar,
    .landing-preview-next-step {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   AutoCheckAI report card system
   Matches the polished home example report style
   ========================================================= */

.autocheck-report-shell {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1.15rem;
    box-shadow: 0 1rem 2.7rem rgba(15, 23, 42, 0.08);
    max-width: 1120px;
    overflow: hidden;
    padding: 0;
}

.autocheck-report-shell > :not(.autocheck-report-status-bar) {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
}

.autocheck-report-status-bar {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #172554);
    color: #dbeafe;
    display: flex;
    font-size: 0.8rem;
    font-weight: 900;
    justify-content: space-between;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0.76rem 1.2rem;
}

.autocheck-report-status-bar > span {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
}

.autocheck-report-status-dot {
    background: #22c55e;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    box-shadow: 0 0 0 0.22rem rgba(34, 197, 94, 0.18);
    display: inline-block;
    height: 0.62rem;
    width: 0.62rem;
}

.autocheck-report-status-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.24rem 0.52rem;
    text-transform: uppercase;
}

.autocheck-report-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0 !important;
    padding: 1.1rem 0 1rem;
}

.autocheck-report-header h1,
.autocheck-report-header h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.autocheck-report-header .lead {
    color: #475569;
    font-weight: 780;
}

.autocheck-score-card {
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 1rem !important;
    padding: 1.05rem 0 1.05rem;
}

.autocheck-score-card .buyer-score-main {
    align-items: stretch;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(180px, 0.75fr) minmax(220px, 1.25fr);
}

.autocheck-score-card .buyer-score-main > div:first-child,
.autocheck-score-card .buyer-score-risk {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #dbe4ef;
    border-radius: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 0.9rem 1rem;
}

.autocheck-score-card .buyer-score-risk {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.autocheck-score-card .buyer-score-label {
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
}

.autocheck-score-card .buyer-score-number {
    color: #0f172a;
    font-size: clamp(3rem, 6vw, 4.25rem);
    line-height: 0.88;
    margin-top: 0.38rem;
}

.autocheck-score-card .buyer-score-bar {
    background: #e2e8f0;
    height: 0.55rem;
    margin: 0.85rem 0 0.75rem;
}

.autocheck-score-card .buyer-score-bar-fill {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
}

.autocheck-score-card .buyer-score-help {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 0.75rem 0.85rem;
}

.autocheck-verdict-card {
    border-radius: 0.95rem !important;
    box-shadow: none !important;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem !important;
}

.autocheck-verdict-card h2,
.autocheck-verdict-card h3 {
    font-weight: 950;
    letter-spacing: -0.025em;
    margin-bottom: 0.35rem;
}

.autocheck-verdict-card p {
    color: #334155;
    font-weight: 650;
}

.autocheck-report-shell .quick-summary-card,
.autocheck-maintenance-card,
.autocheck-more-details-card,
.autocheck-report-section {
    border: 1px solid #dbe4ef !important;
    border-radius: 0.95rem !important;
    box-shadow: none !important;
}

.autocheck-report-shell .quick-summary-card {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    margin-bottom: 1rem !important;
    padding: 0.95rem 1rem;
}

.autocheck-report-shell .quick-summary-card h2,
.autocheck-report-shell .quick-summary-card h3,
.autocheck-maintenance-card h2,
.autocheck-more-details-card h2,
.autocheck-report-section h4 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.autocheck-report-section {
    background: #ffffff !important;
    color: #334155;
    padding: 0.95rem 1rem !important;
}

.autocheck-report-section.alert-success {
    background: linear-gradient(180deg, #ffffff, #f0fdf4) !important;
    border-color: #bbf7d0 !important;
}

.autocheck-report-section.alert-danger {
    background: linear-gradient(180deg, #ffffff, #fff1f2) !important;
    border-color: #fecdd3 !important;
}

.autocheck-report-section.alert-warning {
    background: linear-gradient(180deg, #ffffff, #fffbeb) !important;
    border-color: #fde68a !important;
}

.autocheck-report-section.alert-info {
    background: linear-gradient(180deg, #ffffff, #eff6ff) !important;
    border-color: #bfdbfe !important;
}

.autocheck-report-section ul,
.autocheck-report-section li {
    color: #334155;
}

.autocheck-report-section li {
    margin-bottom: 0.35rem;
}

.autocheck-maintenance-card,
.autocheck-more-details-card {
    background: #ffffff;
    overflow: hidden;
}

.autocheck-maintenance-card .card-body,
.autocheck-more-details-card .card-body {
    padding: 1rem;
}

.autocheck-final-recommendation {
    background: linear-gradient(135deg, #eff6ff, #eefcff) !important;
    border-color: #bfdbfe !important;
    border-radius: 0.95rem !important;
    color: #1e3a8a;
}

.autocheck-final-recommendation h2 {
    color: #1e3a8a;
    font-weight: 950;
}

.autocheck-report-shell .report-detail-grid > div,
.autocheck-report-shell .report-details-grid > div,
.history-report-card-premium .report-detail-grid > div {
    background: #f8fafc;
    border-color: #e2e8f0;
    border-radius: 0.85rem;
}

.autocheck-report-shell .report-dropdown-section {
    border-color: #dbe4ef;
    border-radius: 0.9rem;
}

.autocheck-report-shell .report-dropdown-section summary {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 900;
}

.history-report-card-premium {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1.1rem;
    box-shadow: 0 0.75rem 1.9rem rgba(15, 23, 42, 0.055) !important;
    overflow: hidden;
}

.history-report-card-premium .card-body {
    padding: 1.05rem 1.1rem;
}

.history-report-card-head {
    border-bottom: 1px solid #e2e8f0;
    margin: -0.1rem -0.05rem 1rem;
    padding-bottom: 0.85rem;
}

.history-report-card-head h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.history-score-panel {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #dbe4ef;
    border-radius: 0.95rem;
    min-width: 142px;
    padding: 0.75rem 0.85rem;
}

.history-score-panel .history-score {
    color: #0f172a;
    font-size: 3.1rem;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.history-report-details-premium {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.95rem;
    padding: 0.8rem 0.9rem;
}

.history-report-details-premium summary {
    color: #2563eb;
    cursor: pointer;
    font-weight: 950;
}

.history-report-card-premium .alert {
    border-radius: 0.95rem;
    box-shadow: none;
}

.autocheck-dashboard-report-card {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1rem;
    box-shadow: 0 0.65rem 1.55rem rgba(15, 23, 42, 0.045);
}

.autocheck-dashboard-report-card .dashboard-featured-score {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #dbe4ef;
    border-radius: 0.9rem;
    padding: 0.8rem 0.85rem;
}

.autocheck-dashboard-report-card .btn {
    border-radius: 0.65rem;
    font-weight: 850;
}

.comparison-shell {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1.1rem;
    box-shadow: 0 1rem 2.7rem rgba(15, 23, 42, 0.07);
    overflow: hidden;
    padding: 1.15rem;
}

.comparison-report-header {
    border-bottom-color: #e2e8f0;
}

@media (max-width: 768px) {
    .autocheck-report-shell > :not(.autocheck-report-status-bar) {
        margin-left: 0.85rem;
        margin-right: 0.85rem;
    }

    .autocheck-report-status-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .autocheck-score-card .buyer-score-main {
        grid-template-columns: 1fr;
    }

    .history-score-panel {
        min-width: 100%;
        text-align: left !important;
    }
}

@media print {
    .autocheck-report-shell {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .autocheck-report-status-bar {
        background: #ffffff !important;
        border-bottom: 1px solid #dee2e6;
        color: #111827;
    }
}


/* =========================================================
   AutoCheckAI analyse page polish
   Safe visual pass: header, lookup cards and form only
   ========================================================= */

.analyse-page-hero {
    align-items: stretch;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%), linear-gradient(135deg, #ffffff, #f8fbff 50%, #eff6ff);
    border: 1px solid #dbe4ef;
    border-radius: 1.25rem;
    box-shadow: 0 0.95rem 2.3rem rgba(15, 23, 42, 0.065);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    overflow: hidden;
    padding: 1.15rem;
}

.analyse-hero-main {
    min-width: 0;
    padding: 0.15rem 0.1rem;
}

.analyse-hero-brand-row {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 0.72rem;
}

.analyse-hero-brand-row img {
    height: 2.15rem;
    object-fit: contain;
    width: 2.15rem;
}

.analyse-hero-brand-row span {
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.analyse-page-hero h1 {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.95;
    margin: 0;
}

.analyse-page-hero p {
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.55;
    margin: 0.75rem 0 0;
    max-width: 760px;
}

.analyse-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.analyse-hero-primary,
.analyse-hero-soft-pill {
    align-items: center;
    border-radius: 0.68rem;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    min-height: 2.35rem;
    padding: 0.5rem 0.78rem;
    text-decoration: none;
}

.analyse-hero-primary {
    background: #2563eb;
    color: #ffffff;
}

.analyse-hero-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.analyse-hero-soft-pill {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    color: #334155;
}

.analyse-hero-panel {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.analyse-hero-panel-head {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.analyse-hero-status-dot {
    background: #22c55e;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: 0 0 0 0.22rem rgba(34, 197, 94, 0.18);
    height: 0.68rem;
    width: 0.68rem;
}

.analyse-hero-steps {
    display: grid;
    gap: 0.55rem;
}

.analyse-hero-steps > div {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 0.78rem;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.65rem 0.72rem;
}

.analyse-hero-steps strong {
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 950;
}

.analyse-hero-steps span {
    color: #f8fafc;
    font-weight: 800;
}

.analyse-plan-strip {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #bfdbfe;
    border-radius: 0.95rem;
    color: #1e3a8a;
}

.analyse-tool-dropdown {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1.05rem;
    box-shadow: 0 0.65rem 1.7rem rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.analyse-tool-dropdown > summary.btn {
    background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    margin: 0;
}

.analyse-tool-dropdown > summary .badge {
    border-radius: 999px;
    font-weight: 900;
}

.analyse-tool-dropdown > .card {
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    margin: 0;
}

.analyse-tool-dropdown > .card .card-body {
    padding: 1rem 1.05rem;
}

.analyse-tool-dropdown h2,
.analyse-input-card h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.analyse-input-card {
    border: 1px solid #dbe4ef !important;
    border-radius: 1.05rem !important;
    box-shadow: 0 0.75rem 1.9rem rgba(15, 23, 42, 0.052) !important;
    overflow: hidden;
}

.analyse-input-card > .card-body {
    padding: 1.05rem !important;
}

.analyse-listing-card textarea,
.analyse-form-card textarea,
.analyse-tool-dropdown textarea {
    border-radius: 0.82rem;
    resize: vertical;
}

.analyse-input-card .form-label,
.analyse-tool-dropdown .form-label {
    color: #334155;
    font-size: 0.84rem;
    font-weight: 850;
}

.analyse-input-card .form-control,
.analyse-input-card .form-select,
.analyse-tool-dropdown .form-control,
.analyse-tool-dropdown .form-select {
    border-color: #cbd5e1;
    border-radius: 0.72rem;
    min-height: 2.38rem;
}

.analyse-input-card .form-control:focus,
.analyse-input-card .form-select:focus,
.analyse-tool-dropdown .form-control:focus,
.analyse-tool-dropdown .form-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.analyse-input-card .form-text {
    color: #94a3b8;
    font-size: 0.76rem;
}

.analyse-form-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
}

.analyse-form-heading p {
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    margin: 0 0 0.22rem;
    text-transform: uppercase;
}

.analyse-form-heading h2 {
    margin: 0;
}

.analyse-form-heading > span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 850;
    padding: 0.28rem 0.55rem;
}

.analyse-submit-btn,
.analyse-clear-btn,
.analyse-input-card .btn,
.analyse-tool-dropdown .btn {
    border-radius: 0.68rem;
    font-weight: 850;
}

.analyse-submit-btn {
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
    border: 0 !important;
    box-shadow: 0 0.55rem 1.2rem rgba(37, 99, 235, 0.18);
    min-width: 9.5rem;
}

.analyse-clear-btn {
    background: #ffffff;
}

.analyse-mini-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.78rem;
}

.analyse-mini-details summary {
    color: #0f172a;
    cursor: pointer;
}

.rdw-info-card {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: #dbe4ef;
    box-shadow: none;
}

@media (max-width: 992px) {
    .analyse-page-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .analyse-page-hero,
    .analyse-input-card > .card-body,
    .analyse-tool-dropdown > .card .card-body {
        padding: 0.9rem !important;
    }

    .analyse-hero-actions,
    .analyse-form-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .analyse-hero-primary,
    .analyse-hero-soft-pill {
        justify-content: center;
        width: 100%;
    }
}

/* =========================================================
   Saved Reports Premium List Upgrade
   ========================================================= */

.saved-reports-page {
    --saved-report-dark: #0f172a;
    --saved-report-blue: #2563eb;
    --saved-report-slate: #64748b;
}

.saved-reports-insight-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.saved-report-insight-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.05rem;
    box-shadow: 0 0.75rem 1.8rem rgba(15, 23, 42, 0.045);
    padding: 1rem;
}

.saved-report-insight-card span,
.saved-report-insight-card small {
    color: #64748b;
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
}

.saved-report-insight-card strong {
    color: #0f172a;
    display: block;
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0.35rem 0 0.2rem;
}

.saved-reports-filter-panel {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 1.15rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.045);
    margin-bottom: 1rem;
    padding: 1rem;
}

.saved-reports-filter-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.saved-reports-filter-header h2 {
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: -0.025em;
    margin: 0;
}

.saved-reports-eyebrow {
    color: #2563eb;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.saved-reports-search-row {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 0.8rem;
}

.saved-reports-filter-panel .form-control,
.saved-reports-filter-panel .form-select {
    border-color: #dbe4f0;
    border-radius: 0.72rem;
    min-height: 2.35rem;
}

.saved-reports-filter-panel label {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 850;
}

.saved-reports-filter-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.saved-reports-result-count {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    color: #64748b;
    display: flex;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0.6rem 0.75rem;
}

.saved-reports-result-count strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
}

.saved-reports-list {
    display: grid;
    gap: 1rem;
}

.saved-report-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.2rem;
    box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.055);
    overflow: hidden;
}

.saved-report-status-strip {
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #172554 54%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.85rem 1rem;
}

.saved-report-status-strip span,
.saved-report-status-strip small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 850;
}

.saved-report-status-strip strong {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 1;
    margin: 0 0.1rem 0 0;
}

.saved-report-risk-wrap {
    text-align: right;
}

.saved-report-card-body {
    padding: 1rem;
}

.saved-report-card-header {
    align-items: flex-start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.35fr);
    margin-bottom: 0.95rem;
}

.saved-report-card-header h2 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -0.035em;
    margin: 0;
}

.saved-report-engine {
    color: #64748b;
    font-weight: 700;
}

.saved-report-score-bar-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.75rem;
}

.saved-report-score-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.55rem;
    margin-bottom: 0.45rem;
    overflow: hidden;
}

.saved-report-score-bar span {
    background: linear-gradient(90deg, #1d4ed8, #06b6d4);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.saved-report-score-bar-box small {
    color: #64748b;
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
}

.saved-report-meta-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 0.9rem;
}

.saved-report-meta-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    min-width: 0;
    padding: 0.68rem 0.75rem;
}

.saved-report-meta-grid span {
    color: #64748b;
    display: block;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.saved-report-meta-grid strong {
    color: #0f172a;
    display: block;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-report-verdict {
    border: 0;
    border-radius: 0.95rem;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
    margin-bottom: 0.9rem;
    padding: 0.85rem 0.95rem;
}

.saved-report-verdict span {
    color: inherit;
    display: block;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.045em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.saved-report-verdict h3 {
    font-size: 1rem;
    font-weight: 950;
    margin: 0;
}

.saved-report-verdict p {
    margin: 0;
}

.saved-report-summary {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 0.9rem;
}

.saved-report-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.95rem;
    margin-bottom: 0.95rem;
    padding: 0.85rem;
}

.saved-report-details summary {
    color: #1d4ed8;
    cursor: pointer;
    font-weight: 900;
}

.saved-report-detail-panels {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.8rem;
}

.saved-report-mini-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.8rem;
}

.saved-report-mini-panel-warning {
    border-color: #fde68a;
}

.saved-report-mini-panel-info {
    border-color: #bfdbfe;
}

.saved-report-mini-panel h4 {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 950;
    margin-bottom: 0.45rem;
}

.saved-report-mini-panel p,
.saved-report-mini-panel ul {
    color: #475569;
    font-size: 0.86rem;
    margin-bottom: 0;
}

.saved-report-mini-panel ul {
    padding-left: 1.1rem;
}

.saved-report-actions {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 0.95rem;
}

.saved-report-compare-box {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
}

.saved-report-compare-box strong {
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 950;
}

.saved-reports-empty-state {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1.2rem;
    box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.055);
    padding: 2rem;
    text-align: center;
}

.saved-reports-empty-state-small {
    padding: 1.4rem;
}

.saved-reports-empty-icon {
    align-items: center;
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 950;
    height: 3rem;
    justify-content: center;
    margin-bottom: 0.8rem;
    width: 3rem;
}

.saved-reports-empty-state h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.saved-reports-empty-state p {
    color: #64748b;
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
}

@media (max-width: 1200px) {
    .saved-report-meta-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .saved-reports-insight-grid,
    .saved-reports-filter-grid,
    .saved-report-detail-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .saved-report-card-header,
    .saved-report-actions,
    .saved-report-verdict {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .saved-reports-insight-grid,
    .saved-reports-filter-grid,
    .saved-report-detail-panels,
    .saved-report-meta-grid {
        grid-template-columns: 1fr;
    }

    .saved-reports-filter-header,
    .saved-reports-search-row,
    .saved-report-status-strip {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .saved-report-risk-wrap {
        text-align: left;
    }

    .saved-report-card-body {
        padding: 0.85rem;
    }

    .saved-report-actions .btn,
    .saved-reports-search-row .btn {
        width: 100%;
    }
}

/* =========================================================
   AutoCheckAI dashboard polish
   Premium command-center layout matching the new report cards
   ========================================================= */

.dashboard-hero-premium {
    align-items: stretch;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 34%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid #dbe4ef;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.065);
    padding: 1.15rem;
}

.dashboard-hero-copy {
    max-width: 760px;
}

.dashboard-brand-row {
    align-items: center;
    color: #2563eb;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 950;
    gap: 0.45rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.55rem;
}

.dashboard-brand-row img {
    height: 1.85rem;
    width: 1.85rem;
}

.dashboard-hero-premium h1 {
    color: #0f172a;
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.dashboard-hero-premium .lead {
    color: #475569 !important;
    font-size: 1.05rem;
    line-height: 1.55;
}

.dashboard-hero-side {
    align-self: stretch;
    background: #0f172a;
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: grid;
    gap: 0.55rem;
    min-width: min(100%, 285px);
    padding: 0.85rem;
}

.dashboard-hero-side > div {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.78rem;
    display: flex;
    justify-content: space-between;
    padding: 0.62rem 0.7rem;
}

.dashboard-hero-side span {
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 850;
}

.dashboard-hero-side strong {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 950;
}

.dashboard-grid-premium {
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
}

.dashboard-grid-premium .dashboard-stat-card {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.dashboard-grid-premium .dashboard-stat-card::after {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.13), transparent 48%);
    content: "";
    height: 5.5rem;
    pointer-events: none;
    position: absolute;
    right: -2.2rem;
    top: -2.6rem;
    transform: rotate(18deg);
    width: 8rem;
}

.dashboard-plan-card {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.dashboard-number-card strong {
    font-size: clamp(2.2rem, 4vw, 3.05rem);
}

.dashboard-coin-card {
    background: #0f172a;
    border-radius: 0.95rem;
    color: #ffffff;
    margin-top: 1rem;
    padding: 0.8rem;
}

.dashboard-coin-card > div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-coin-card span {
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 850;
}

.dashboard-coin-card strong {
    color: #ffffff;
    font-size: 2rem;
    letter-spacing: -0.045em;
}

.dashboard-coin-card small {
    color: #dbeafe;
    display: block;
    font-weight: 650;
    margin-top: 0.45rem;
}

.dashboard-insight-strip {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1rem;
    box-shadow: 0 0.65rem 1.55rem rgba(15, 23, 42, 0.045);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

.dashboard-insight-strip > div {
    padding: 0.85rem 1rem;
}

.dashboard-insight-strip > div + div {
    border-left: 1px solid #e2e8f0;
}

.dashboard-insight-strip span {
    color: #64748b;
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-insight-strip strong {
    color: #0f172a;
    display: block;
    font-size: 0.96rem;
    font-weight: 900;
    margin-top: 0.22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-feature-card-premium {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 1.05rem;
    box-shadow: 0 0.65rem 1.55rem rgba(15, 23, 42, 0.05);
    overflow: hidden;
    padding: 0;
}

.dashboard-report-status-bar {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #172554);
    color: #dbeafe;
    display: flex;
    font-size: 0.76rem;
    font-weight: 900;
    justify-content: space-between;
    letter-spacing: 0.02em;
    padding: 0.68rem 0.85rem;
}

.dashboard-report-status-bar > span {
    align-items: center;
    display: inline-flex;
    gap: 0.42rem;
}

.dashboard-report-status-dot {
    background: #22c55e;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.17);
    height: 0.58rem;
    width: 0.58rem;
}

.dashboard-report-status-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 0.68rem;
    padding: 0.22rem 0.46rem;
}

.dashboard-feature-body {
    padding: 0.9rem;
}

.dashboard-feature-heading {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.dashboard-feature-heading strong {
    color: #0f172a;
    display: block;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.dashboard-feature-heading span:not(.badge) {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 760;
    margin-top: 0.12rem;
}

.dashboard-feature-score-panel {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #dbe4ef;
    border-radius: 0.9rem;
    margin-bottom: 0.75rem;
    padding: 0.8rem;
}

.dashboard-feature-score-number {
    color: #0f172a;
    font-size: clamp(2.7rem, 5vw, 3.7rem);
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.dashboard-feature-score-number span {
    color: #64748b !important;
    font-size: 0.95rem;
    font-weight: 850;
    letter-spacing: 0;
}

.dashboard-feature-score-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.5rem;
    margin-top: 0.7rem;
    overflow: hidden;
}

.dashboard-feature-score-bar span {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.dashboard-feature-meta-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0.75rem;
}

.dashboard-feature-meta-grid > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.72rem;
    padding: 0.55rem 0.62rem;
}

.dashboard-feature-meta-grid span {
    color: #64748b;
    display: block;
    font-size: 0.7rem;
    font-weight: 850;
}

.dashboard-feature-meta-grid strong {
    color: #0f172a;
    display: block;
    font-size: 0.86rem;
    font-weight: 900;
    margin-top: 0.12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-feature-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.78rem;
    color: #334155 !important;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
    padding: 0.68rem 0.72rem;
}

.dashboard-open-report-btn {
    align-items: center;
    background: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 0.65rem;
    color: #ffffff;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    width: 100%;
}

.dashboard-open-report-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    box-shadow: 0 0.35rem 0.85rem rgba(37, 99, 235, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

.dashboard-panel {
    border-color: #dbe4ef;
    box-shadow: 0 0.8rem 2rem rgba(15, 23, 42, 0.055);
}

.dashboard-panel-header h2 {
    font-weight: 950;
}

.dashboard-action-card {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: #dbe4ef;
}

.dashboard-action-card strong::after {
    color: #2563eb;
    content: " →";
}

@media (max-width: 1100px) {
    .dashboard-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-hero-premium {
        padding: 1rem;
    }

    .dashboard-hero-side,
    .dashboard-grid-premium,
    .dashboard-insight-strip,
    .dashboard-feature-meta-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-insight-strip > div + div {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    .dashboard-report-status-bar,
    .dashboard-feature-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   AutoCheckAI Compare Page Polish
   Safe visual upgrade only - no logic changes
   ========================================================= */

.compare-page-hero {
    align-items: flex-end;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 1.35rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.055);
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    padding: 1.3rem;
}

.compare-page-hero h1 {
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.compare-page-hero .lead {
    max-width: 760px;
}

.compare-hero-stats {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    min-width: min(100%, 430px);
}

.compare-hero-stats > div {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    padding: 0.75rem 0.85rem;
}

.compare-hero-stats strong {
    color: #0f172a;
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1;
}

.compare-hero-stats span {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 0.32rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.compare-loaded-alert {
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    background: #eff6ff;
    color: #1e3a8a;
}

.compare-input-grid > [class*="col-"] > .card,
.compare-input-card {
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.055);
    overflow: hidden;
}

.compare-input-card .card-body {
    padding: 1.15rem;
}

.compare-input-card h3 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.compare-input-card h4 {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.8rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    margin: 1.15rem 0 0.85rem;
    padding: 0.65rem 0.8rem;
    text-transform: uppercase;
}

.compare-input-card textarea,
.compare-input-card .form-control,
.compare-input-card .form-select {
    border-radius: 0.75rem;
}

.compare-input-card textarea {
    background: #f8fafc;
    min-height: 9rem;
}

.compare-run-panel {
    align-items: center;
    background: #0f172a;
    border-radius: 1.2rem;
    box-shadow: 0 1.1rem 2.6rem rgba(15, 23, 42, 0.14);
    color: #ffffff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
}

.compare-run-panel strong,
.compare-run-panel span {
    display: block;
}

.compare-run-panel strong {
    font-weight: 950;
    letter-spacing: -0.015em;
}

.compare-run-panel span {
    color: #cbd5e1;
    margin-top: 0.2rem;
}

.compare-run-panel .btn {
    background: #2563eb;
    border-color: #2563eb;
    border-radius: 0.75rem;
    font-weight: 850;
    min-width: 180px;
}

.comparison-shell-premium {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.35rem;
    box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.065);
    max-width: 1180px;
    overflow: hidden;
    padding: 1.15rem;
}

.comparison-report-header-premium {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border: 0;
    border-radius: 1.05rem;
    color: #ffffff;
    margin-bottom: 1rem !important;
    padding: 1rem;
}

.comparison-report-header-premium .text-muted,
.comparison-report-header-premium p {
    color: #cbd5e1 !important;
}

.comparison-report-header-premium h2 {
    color: #ffffff;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.comparison-winner-banner {
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-left-width: 0;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.55rem rgba(15, 23, 42, 0.045);
}

.comparison-score-difference {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 900;
    padding: 0.42rem 0.72rem;
}

.comparison-car-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.15rem;
    box-shadow: 0 0.8rem 1.9rem rgba(15, 23, 42, 0.045);
    overflow: hidden;
}

.comparison-winner-card {
    border: 2px solid #22c55e;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.12), 0 1rem 2rem rgba(15, 23, 42, 0.065);
}

.comparison-car-card .card-body {
    padding: 1.1rem;
}

.comparison-car-card h3,
.comparison-car-card h4 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.comparison-score {
    align-items: baseline;
    background: #0f172a;
    border-radius: 1rem;
    color: #ffffff;
    display: inline-flex;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 950;
    letter-spacing: -0.065em;
    line-height: 1;
    margin-bottom: 0.55rem;
    min-width: 7rem;
    padding: 0.75rem 0.9rem;
}

.comparison-mini-grid {
    gap: 0.65rem;
}

.comparison-mini-grid div {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.8rem;
    padding: 0.7rem;
}

.comparison-mini-grid strong {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.comparison-mini-grid span {
    color: #0f172a;
    font-weight: 850;
    margin-top: 0.15rem;
}

.comparison-table {
    border-collapse: separate;
    border-spacing: 0 0.4rem;
}

.comparison-table thead th {
    border: 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.comparison-table tbody tr {
    background: #f8fafc;
}

.comparison-table tbody th,
.comparison-table tbody td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.75rem;
    vertical-align: middle;
}

.comparison-table tbody th {
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.75rem 0 0 0.75rem;
    color: #475569;
    font-weight: 900;
}

.comparison-table tbody td:last-child {
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0 0.75rem 0.75rem 0;
}

.comparison-history-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.2rem;
    box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.055);
    overflow: hidden;
}

.comparison-history-card > .card-body {
    padding: 1.15rem;
}

.comparison-history-card h3 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.comparison-history-card details {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    padding: 0.85rem;
}

.comparison-history-card summary {
    color: #2563eb;
    cursor: pointer;
    font-weight: 900;
}

@media (max-width: 992px) {
    .compare-page-hero,
    .compare-run-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .compare-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }

    .compare-run-panel .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .compare-hero-stats {
        grid-template-columns: 1fr;
    }

    .comparison-shell-premium {
        padding: 0.75rem;
    }

    .comparison-report-header-premium {
        border-radius: 0.85rem;
    }

    .comparison-score-difference {
        border-radius: 0.75rem;
        white-space: normal;
    }
}

/* =========================================================
   AutoCheckAI upgrade page polish
   ========================================================= */

.upgrade-hero-premium {
    align-items: stretch;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 54%, #ffffff 100%);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 1.35rem;
    box-shadow: 0 1rem 2.6rem rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    overflow: hidden;
    padding: 1.2rem;
}

.upgrade-hero-copy {
    padding: clamp(0.45rem, 1.5vw, 1.1rem);
}

.upgrade-kicker {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.upgrade-hero-copy h1,
.upgrade-section-heading h2,
.upgrade-included-panel h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.upgrade-hero-copy h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 0.98;
    margin-bottom: 0.75rem;
    max-width: 820px;
}

.upgrade-hero-copy p {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 760px;
}

.upgrade-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.upgrade-hero-actions .btn,
.upgrade-price-card .btn {
    border-radius: 0.78rem;
    font-weight: 850;
}

.upgrade-status-card {
    background: #0f172a;
    border-radius: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 1rem 2rem rgba(15, 23, 42, 0.14);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    padding: 1rem;
}

.upgrade-status-top {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
}

.upgrade-status-label {
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.upgrade-plan-pill,
.upgrade-plan-pill-active {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    color: #dbeafe;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.33rem 0.55rem;
}

.upgrade-plan-pill-active {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.32);
    color: #bbf7d0;
}

.upgrade-status-number {
    align-items: baseline;
    display: flex;
    font-size: clamp(3.2rem, 8vw, 5rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 0.9;
    margin: 1.2rem 0 0.7rem;
}

.upgrade-status-number span {
    color: #93c5fd;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    margin-left: 0.35rem;
}

.upgrade-status-card p {
    color: #cbd5e1;
    line-height: 1.55;
    margin: 0;
}

.upgrade-value-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upgrade-value-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    box-shadow: 0 0.65rem 1.5rem rgba(15, 23, 42, 0.04);
    padding: 1rem;
}

.upgrade-value-card span {
    color: #2563eb;
    display: block;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.upgrade-value-card strong {
    color: #0f172a;
    display: block;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 0.25rem;
}

.upgrade-value-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.upgrade-section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
}

.upgrade-section-heading h2 {
    margin: 0;
}

.upgrade-section-heading p {
    color: #64748b;
    margin: 0.35rem 0 0;
    max-width: 760px;
}


.upgrade-launch-notice {
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 1rem;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 0.75rem 1.7rem rgba(37, 99, 235, 0.07);
    padding: 0.9rem 1rem;
}

.upgrade-launch-notice > div {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.upgrade-launch-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 0.65rem;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    font-weight: 950;
}

.upgrade-launch-notice strong {
    display: block;
    color: #0f172a;
    font-weight: 950;
    margin-bottom: 0.18rem;
}

.upgrade-launch-notice p {
    margin: 0;
    color: #52637a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.upgrade-coming-soon-button:disabled {
    opacity: 1;
    cursor: not-allowed;
    color: #64748b;
    border-color: #cbd5e1;
    background: #f1f5f9;
    box-shadow: none;
}

.upgrade-pricing-grid {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upgrade-price-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.1rem rgba(15, 23, 42, 0.055);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.upgrade-price-card-featured {
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 0.23rem rgba(37, 99, 235, 0.1), 0 1.35rem 2.8rem rgba(37, 99, 235, 0.14);
    transform: translateY(-0.35rem);
}

.upgrade-popular-ribbon {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin: -1rem -1rem 1rem;
    padding: 0.55rem 1rem;
    text-align: center;
    text-transform: uppercase;
}

.upgrade-price-head h3 {
    color: #0f172a;
    font-size: 1.28rem;
    font-weight: 950;
    letter-spacing: -0.025em;
    margin: 0.6rem 0 0.2rem;
}

.upgrade-plan-tag {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 0.33rem 0.55rem;
}

.upgrade-plan-tag-primary {
    background: #eff6ff;
    color: #1d4ed8;
}

.upgrade-price {
    color: #0f172a;
    font-size: 3rem;
    font-weight: 950;
    letter-spacing: -0.075em;
    line-height: 1;
    margin: 0.75rem 0 0.35rem;
}

.upgrade-price-head p {
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}

.upgrade-plan-time {
    color: #0f172a !important;
    font-weight: 900;
    margin-bottom: 0.55rem !important;
}

.upgrade-coin-strip {
    background: #0f172a;
    border-radius: 0.85rem;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.7rem;
}

.upgrade-coin-strip-light {
    background: #eff6ff;
    color: #1d4ed8;
}

.upgrade-feature-list {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 1rem 0 1.1rem;
    padding: 0;
}

.upgrade-feature-list li {
    color: #334155;
    display: grid;
    font-size: 0.92rem;
    gap: 0.5rem;
    grid-template-columns: auto 1fr;
    line-height: 1.45;
}

.upgrade-feature-list li::before {
    background: #dcfce7;
    border-radius: 999px;
    color: #047857;
    content: "✓";
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 950;
    height: 1.15rem;
    justify-content: center;
    line-height: 1;
    margin-top: 0.08rem;
    width: 1.15rem;
    align-items: center;
}

.upgrade-feature-list .upgrade-muted-feature {
    color: #94a3b8;
}

.upgrade-feature-list .upgrade-muted-feature::before {
    background: #f1f5f9;
    color: #94a3b8;
    content: "—";
}

.upgrade-included-panel {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.25rem;
    box-shadow: 0 0.85rem 1.9rem rgba(15, 23, 42, 0.045);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
    padding: 1.1rem;
}

.upgrade-included-panel h2 {
    font-size: 1.35rem;
    margin: 0;
}

.upgrade-included-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upgrade-included-grid div {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.85rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 850;
    padding: 0.72rem;
}

@media (max-width: 992px) {
    .upgrade-hero-premium,
    .upgrade-pricing-grid,
    .upgrade-included-panel {
        grid-template-columns: 1fr;
    }

    .upgrade-price-card-featured {
        transform: none;
    }

    .upgrade-value-grid,
    .upgrade-included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 640px) {
    .upgrade-value-grid,
    .upgrade-included-grid {
        grid-template-columns: 1fr;
    }

    .upgrade-hero-premium,
    .upgrade-price-card,
    .upgrade-included-panel {
        border-radius: 1rem;
    }

    .upgrade-hero-actions .btn {
        width: 100%;
    }
}


/* AutoCheckAI verification page polish */
.verify-page-shell {
    --verify-blue: #2563eb;
    --verify-deep: #0f172a;
    --verify-slate: #64748b;
    --verify-border: #e2e8f0;
}

.verify-hero {
    align-items: stretch;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 34%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(37, 99, 235, 0.13);
    border-radius: 1.35rem;
    box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.055);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    padding: 1.2rem;
}

.verify-brand-kicker {
    align-items: center;
    color: var(--verify-blue);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 900;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.verify-brand-kicker img {
    height: 1.45rem;
    object-fit: contain;
    width: 1.45rem;
}

.verify-hero h1 {
    color: var(--verify-deep);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.03;
    margin: 0;
}

.verify-hero p {
    color: var(--verify-slate);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0.65rem 0 0;
    max-width: 760px;
}

.verify-hero-panel {
    background: #0f172a;
    border-radius: 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
    color: #ffffff;
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
}

.verify-flow-step {
    align-items: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.12rem 0.7rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.68rem 0.75rem;
}

.verify-flow-step span {
    align-items: center;
    background: #2563eb;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 950;
    height: 1.85rem;
    justify-content: center;
    width: 1.85rem;
}

.verify-flow-step strong {
    font-size: 0.9rem;
    font-weight: 900;
}

.verify-flow-step small {
    color: #bfdbfe;
    display: block;
    font-size: 0.76rem;
    font-weight: 750;
    grid-column: 2;
}

.verify-card,
.verify-empty-state {
    background: #ffffff;
    border: 1px solid var(--verify-border);
    border-radius: 1.15rem;
    box-shadow: 0 0.6rem 1.55rem rgba(15, 23, 42, 0.045);
    overflow: hidden;
}

.verify-card > .card-body,
.verify-empty-state {
    padding: 1.1rem;
}

.verify-empty-state {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.verify-empty-warning {
    background: linear-gradient(135deg, #fffbeb, #ffffff);
    border-color: #fde68a;
}

.verify-card h2,
.verify-empty-state h2 {
    color: var(--verify-deep);
    font-weight: 950;
    letter-spacing: -0.025em;
}

.verify-card p.text-muted,
.verify-empty-state p {
    color: var(--verify-slate) !important;
    line-height: 1.55;
}

.verify-select-card {
    position: relative;
}

.verify-select-card::before,
.verify-lookup-card::before,
.verify-card.mt-4::before {
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    content: "";
    display: block;
    height: 0.28rem;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.verify-card {
    position: relative;
}

.verify-page-shell .form-control,
.verify-page-shell .form-select {
    border-color: #cbd5e1;
    border-radius: 0.72rem;
    min-height: 2.55rem;
}

.verify-page-shell .form-control:focus,
.verify-page-shell .form-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.14);
}

.verify-action-btn {
    border-radius: 0.62rem;
    font-weight: 850;
    min-height: 2.35rem;
    padding: 0.48rem 0.8rem;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.verify-action-btn:hover:not(:disabled) {
    box-shadow: 0 0.35rem 0.85rem rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.verify-action-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.verify-action-primary:hover:not(:disabled) {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.verify-action-secondary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

.verify-action-secondary:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.verify-action-success {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

.verify-action-success:hover:not(:disabled) {
    background: #047857;
    border-color: #047857;
    color: #ffffff;
}

.verify-action-danger {
    background: #ffffff;
    border-color: #fecaca;
    color: #b91c1c;
}

.verify-action-danger:hover:not(:disabled) {
    background: #fff1f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.verify-source-badge {
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 0.32rem 0.58rem;
}

.verify-empty-comparison {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.9rem;
    color: #1e3a8a;
    padding: 0.82rem 0.95rem;
}

.verify-page-shell .table {
    margin-bottom: 0;
}

.verify-page-shell .table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.verify-page-shell .table tbody td {
    border-color: #e2e8f0;
    color: #334155;
    vertical-align: middle;
}

.verify-page-shell .report-detail-grid > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.75rem 0.8rem;
}

.verify-page-shell .report-detail-grid strong {
    color: #64748b;
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.045em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.verify-page-shell .report-detail-grid span {
    color: #0f172a;
    font-weight: 850;
}

.verify-page-shell .report-dropdown-section {
    border-color: #e2e8f0;
    border-radius: 0.95rem;
    box-shadow: none;
}

.verify-page-shell .alert {
    border-radius: 0.95rem;
    font-weight: 750;
}

@media (max-width: 992px) {
    .verify-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .verify-hero,
    .verify-card > .card-body,
    .verify-empty-state {
        padding: 0.95rem;
    }

    .verify-hero-panel {
        padding: 0.6rem;
    }

    .verify-action-btn {
        width: 100%;
    }
}


/* =========================================================
   99. AutoCheckAI app-wide consistency pass
   Safe visual-only layer for spacing, cards, states and mobile
   ========================================================= */

:root {
    --ac-bg: #f8fbff;
    --ac-surface: #ffffff;
    --ac-surface-soft: #f8fafc;
    --ac-line: #e2e8f0;
    --ac-line-strong: #cbd5e1;
    --ac-text: #0f172a;
    --ac-muted: #64748b;
    --ac-primary: #2563eb;
    --ac-primary-dark: #1d4ed8;
    --ac-primary-soft: #eff6ff;
    --ac-cyan: #0ea5e9;
    --ac-success: #059669;
    --ac-warning: #f59e0b;
    --ac-danger: #dc2626;
    --ac-radius-xs: 0.55rem;
    --ac-radius-sm: 0.75rem;
    --ac-radius-md: 1rem;
    --ac-radius-lg: 1.25rem;
    --ac-shadow-sm: 0 0.35rem 0.9rem rgba(15, 23, 42, 0.05);
    --ac-shadow-md: 0 0.85rem 2rem rgba(15, 23, 42, 0.075);
    --ac-shadow-lg: 0 1.25rem 3rem rgba(15, 23, 42, 0.1);
    --ac-page-gap: 1.15rem;
}

html,
body {
    color: var(--ac-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: geometricPrecision;
}

.carbuyer-content {
    max-width: 1480px;
    padding: 1.35rem 1.65rem 3.25rem;
}

.container,
.container-fluid {
    --bs-gutter-x: 1.5rem;
}

/* Unified hero/header rhythm across upgraded pages */
:where(.landing-hero-polished,
       .analyse-page-hero,
       .dashboard-hero-premium,
       .saved-reports-hero,
       .compare-page-hero,
       .comparison-history-hero,
       .comparison-details-hero,
       .upgrade-hero-premium,
       .verify-hero,
       .seller-message-page-hero,
       .saved-message-hero) {
    border-radius: var(--ac-radius-lg);
    box-shadow: var(--ac-shadow-md);
    margin-bottom: 1.15rem;
}

:where(.analyse-page-hero,
       .dashboard-hero-premium,
       .saved-reports-hero,
       .compare-page-hero,
       .comparison-history-hero,
       .comparison-details-hero,
       .upgrade-hero-premium,
       .verify-hero,
       .seller-message-page-hero,
       .saved-message-hero) h1 {
    letter-spacing: -0.04em;
}

:where(.analyse-page-hero,
       .dashboard-hero-premium,
       .saved-reports-hero,
       .compare-page-hero,
       .comparison-history-hero,
       .comparison-details-hero,
       .upgrade-hero-premium,
       .verify-hero,
       .seller-message-page-hero,
       .saved-message-hero) p {
    line-height: 1.58;
}

/* Unified premium cards */
:where(.card,
       .analyse-form-card,
       .analyse-listing-card,
       .analyse-input-card,
       .analyse-hero-panel,
       .autocheck-report-shell,
       .autocheck-score-card,
       .quick-summary-card,
       .buyer-score-card,
       .report-shell,
       .autocheck-maintenance-card,
       .autocheck-more-details-card,
       .saved-report-card,
       .saved-report-insight-card,
       .dashboard-coin-card,
       .dashboard-plan-card,
       .dashboard-stat-card,
       .dashboard-number-card,
       .dashboard-action-card,
       .compare-input-card,
       .comparison-shell-premium,
       .comparison-history-card,
       .upgrade-price-card,
       .upgrade-value-card,
       .upgrade-status-card,
       .verify-card,
       .verify-lookup-card,
       .verify-select-card,
       .seller-message-empty,
       .seller-reply-chat-card,
       .saved-message-card,
       .saved-message-stat,
       .saved-message-empty-card) {
    border-color: var(--ac-line);
    border-radius: var(--ac-radius-lg);
}

:where(.analyse-form-card,
       .analyse-listing-card,
       .analyse-input-card,
       .autocheck-report-shell,
       .saved-report-card,
       .dashboard-coin-card,
       .dashboard-plan-card,
       .dashboard-stat-card,
       .dashboard-number-card,
       .dashboard-action-card,
       .compare-input-card,
       .comparison-shell-premium,
       .comparison-history-card,
       .upgrade-price-card,
       .upgrade-value-card,
       .upgrade-status-card,
       .verify-card,
       .verify-lookup-card,
       .saved-message-card) {
    box-shadow: var(--ac-shadow-sm);
}

:where(.saved-report-card,
       .dashboard-action-card,
       .comparison-history-card,
       .upgrade-price-card,
       .saved-message-card) {
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:where(.saved-report-card,
       .dashboard-action-card,
       .comparison-history-card,
       .upgrade-price-card,
       .saved-message-card):hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--ac-shadow-md);
    transform: translateY(-1px);
}

/* Unified buttons */
.btn,
:where(.analyse-submit-btn,
       .analyse-clear-btn,
       .seller-message-action-btn,
       .saved-message-mini-btn,
       .verify-action-btn) {
    border-radius: var(--ac-radius-sm);
    font-weight: 800;
    letter-spacing: -0.005em;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn:hover:not(:disabled),
:where(.analyse-submit-btn,
       .analyse-clear-btn,
       .seller-message-action-btn,
       .saved-message-mini-btn,
       .verify-action-btn):hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-primary,
.analyse-submit-btn,
.saved-message-btn-primary,
.verify-action-primary,
.seller-message-action-primary {
    background: linear-gradient(135deg, var(--ac-primary), var(--ac-cyan));
    border-color: transparent;
    box-shadow: 0 0.75rem 1.55rem rgba(37, 99, 235, 0.2);
    color: #ffffff;
}

.btn-primary:hover,
.analyse-submit-btn:hover:not(:disabled),
.saved-message-btn-primary:hover:not(:disabled),
.verify-action-primary:hover:not(:disabled),
.seller-message-action-primary:hover:not(:disabled) {
    filter: brightness(1.03);
    color: #ffffff;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-info,
.btn-outline-success,
.btn-outline-danger,
.saved-message-btn-secondary,
.verify-action-secondary,
.seller-message-action-secondary,
.seller-message-action-muted {
    background-color: #ffffff;
    border-color: var(--ac-line-strong);
}

/* Unified inputs and filters */
.form-control,
.form-select,
.form-check-input,
.input-group-text {
    border-color: var(--ac-line-strong);
}

.form-control,
.form-select,
.input-group-text {
    border-radius: var(--ac-radius-sm);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.14);
}

:where(.saved-reports-filter-panel,
       .saved-message-filters,
       .verify-select-card,
       .analyse-listing-card) label,
.form-label {
    color: #475569;
    font-weight: 850;
}

/* Unified badges / pills */
.badge,
:where(.saved-message-pill,
       .verify-source-badge,
       .upgrade-plan-pill,
       .landing-badge,
       .analyse-hero-soft-pill,
       .autocheck-report-status-pill) {
    border-radius: 999px;
    font-weight: 850;
    letter-spacing: 0.01em;
}

/* Unified status, empty, loading and Pro-lock states */
.alert {
    border-radius: var(--ac-radius-md);
    border-width: 1px;
    box-shadow: none;
    line-height: 1.5;
}

.alert-info,
.alert-primary {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.alert-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #065f46;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

:where(.dashboard-empty,
       .saved-reports-empty-state,
       .saved-message-empty-card,
       .seller-message-empty,
       .verify-empty-state,
       .verify-empty-comparison,
       .seller-message-preview-empty) {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--ac-line);
    border-radius: var(--ac-radius-lg);
    box-shadow: var(--ac-shadow-sm);
}

:where(.dashboard-empty,
       .saved-reports-empty-state,
       .saved-message-empty-card,
       .seller-message-empty,
       .verify-empty-state) h2 {
    color: var(--ac-text);
    font-weight: 900;
    letter-spacing: -0.025em;
}

.spinner-border {
    --bs-spinner-border-width: 0.16em;
}

/* Table and details polish */
.table {
    --bs-table-bg: transparent;
    vertical-align: middle;
}

.table thead th {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.table tbody td {
    color: #334155;
}

details summary {
    cursor: pointer;
}

textarea[readonly],
input[readonly] {
    background-color: #f8fafc;
}

/* Final branding cleanup: do not show old generated project name in visible places */
.autocheck-brand-kicker,
.text-primary.fw-bold {
    letter-spacing: -0.01em;
}

/* Mobile consistency pass */
@media (max-width: 992px) {
    .carbuyer-content {
        padding-inline: 1rem;
    }

    :where(.landing-hero-grid,
           .analyse-page-hero,
           .dashboard-hero-premium,
           .compare-page-hero,
           .upgrade-hero-premium,
           .verify-hero,
           .saved-message-hero) {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .carbuyer-content {
        padding: 0.95rem 0.75rem 2.5rem;
    }

    .container,
    .container-fluid {
        --bs-gutter-x: 1rem;
    }

    :where(.landing-hero-polished,
           .analyse-page-hero,
           .dashboard-hero-premium,
           .saved-reports-hero,
           .compare-page-hero,
           .comparison-history-hero,
           .comparison-details-hero,
           .upgrade-hero-premium,
           .verify-hero,
           .seller-message-page-hero,
           .saved-message-hero) {
        border-radius: 1rem;
        margin-bottom: 0.9rem;
    }

    h1,
    .h1 {
        font-size: clamp(1.65rem, 9vw, 2.2rem);
    }

    .btn,
    :where(.analyse-submit-btn,
           .analyse-clear-btn,
           .seller-message-action-btn,
           .saved-message-mini-btn,
           .verify-action-btn) {
        min-height: 2.45rem;
    }

    :where(.saved-report-card,
           .dashboard-action-card,
           .comparison-history-card,
           .upgrade-price-card,
           .saved-message-card):hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   AutoCheckAI Deal Decision Page
   ========================================================= */
.deal-decision-page {
    display: grid;
    gap: 1.15rem;
}

.deal-decision-hero {
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: var(--autocheck-radius-xl, 1.25rem);
    box-shadow: var(--autocheck-shadow-md, 0 18px 45px rgba(15, 23, 42, 0.07));
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    overflow: hidden;
    padding: clamp(1.1rem, 2vw, 1.65rem);
    position: relative;
}

.deal-decision-hero::after {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 65%);
    content: "";
    height: 18rem;
    position: absolute;
    right: -6rem;
    top: -8rem;
    width: 18rem;
}

.deal-decision-hero-copy,
.deal-decision-hero-card {
    position: relative;
    z-index: 1;
}

.deal-decision-hero h1 {
    color: #0f172a;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0;
}

.deal-decision-hero p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0.75rem 0 0;
    max-width: 760px;
}

.deal-decision-hero-card {
    align-self: stretch;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 9.5rem;
    padding: 1.15rem;
}

.deal-decision-hero-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.deal-decision-hero-card strong {
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.deal-decision-pro-lock,
.deal-decision-empty,
.deal-decision-picker,
.deal-decision-next-step,
.deal-decision-walkaway {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--autocheck-radius-lg, 1rem);
    box-shadow: var(--autocheck-shadow-sm, 0 10px 30px rgba(15, 23, 42, 0.055));
    padding: 1rem;
}

.deal-decision-pro-lock h2,
.deal-decision-empty h2,
.deal-decision-walkaway h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.deal-decision-pro-lock p,
.deal-decision-empty p,
.deal-decision-walkaway p {
    color: #64748b;
    line-height: 1.6;
}

.deal-decision-picker {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.deal-decision-picker .form-select {
    border-radius: 0.75rem;
    min-height: 2.7rem;
}

.deal-decision-picker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.deal-decision-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.deal-decision-status-bar {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    font-size: 0.84rem;
    font-weight: 850;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.72rem 1rem;
}

.deal-decision-status-bar span {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
}

.deal-decision-status-dot {
    background: #22c55e;
    border-radius: 999px;
    box-shadow: 0 0 0 0.32rem rgba(34, 197, 94, 0.15);
    height: 0.55rem;
    width: 0.55rem;
}

.deal-decision-summary-grid {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.26fr);
    padding: 1.15rem;
}

.deal-decision-kicker {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.6rem;
    text-transform: uppercase;
}

.deal-good .deal-decision-kicker {
    background: #ecfdf5;
    color: #047857;
}

.deal-caution .deal-decision-kicker,
.deal-hold .deal-decision-kicker {
    background: #fffbeb;
    color: #b45309;
}

.deal-bad .deal-decision-kicker {
    background: #fef2f2;
    color: #b91c1c;
}

.deal-decision-summary-grid h2 {
    color: #0f172a;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    margin: 0;
}

.deal-decision-summary-grid p {
    color: #64748b;
    line-height: 1.62;
    margin: 0.55rem 0 0;
}

.deal-decision-score-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
}

.deal-decision-score-box span {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.deal-decision-score-box strong {
    color: #0f172a;
    display: block;
    font-size: 2.35rem;
    font-weight: 950;
    letter-spacing: -0.08em;
    line-height: 1;
    margin-top: 0.45rem;
}

.deal-decision-score-box small {
    color: #64748b;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.deal-decision-score-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.55rem;
    margin-top: 0.75rem;
    overflow: hidden;
}

.deal-decision-score-bar div {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-radius: inherit;
    height: 100%;
}

.deal-decision-car-strip {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deal-decision-car-strip div {
    border-right: 1px solid #e2e8f0;
    padding: 0.9rem 1rem;
}

.deal-decision-car-strip div:last-child {
    border-right: 0;
}

.deal-decision-car-strip span {
    color: #64748b;
    display: block;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.deal-decision-car-strip strong {
    color: #0f172a;
    display: block;
    font-weight: 900;
    margin-top: 0.25rem;
}

.deal-decision-next-step {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.deal-decision-next-step span {
    color: #64748b;
    display: block;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.deal-decision-next-step strong {
    color: #0f172a;
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35;
    margin-top: 0.25rem;
}

.deal-decision-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deal-decision-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
    overflow: hidden;
}

.deal-decision-panel-head {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.95rem 1rem;
}

.deal-decision-panel-head h2 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -0.035em;
    margin: 0;
}

.deal-decision-panel-head p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0.25rem 0 0;
}

.deal-decision-panel ul,
.deal-decision-walkaway ul {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 1rem;
}

.deal-decision-panel li,
.deal-decision-walkaway li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    color: #334155;
    line-height: 1.5;
    padding: 0.7rem 0.8rem;
    position: relative;
}

.deal-decision-panel li::before,
.deal-decision-walkaway li::before {
    color: #2563eb;
    content: "✓";
    font-weight: 950;
    margin-right: 0.45rem;
}

.deal-decision-panel-danger .deal-decision-panel-head {
    background: #fff1f2;
}

.deal-decision-panel-danger li::before,
.deal-decision-walkaway li::before {
    color: #e11d48;
    content: "!";
}

.deal-decision-panel-blue .deal-decision-panel-head {
    background: #eff6ff;
}

.deal-decision-panel-amber .deal-decision-panel-head {
    background: #fffbeb;
}

.deal-decision-panel-green .deal-decision-panel-head {
    background: #ecfdf5;
}

.deal-decision-walkaway {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
}

.deal-decision-walkaway ul {
    padding: 0;
}

@media (max-width: 992px) {
    .deal-decision-hero,
    .deal-decision-summary-grid,
    .deal-decision-picker,
    .deal-decision-walkaway {
        grid-template-columns: 1fr;
    }

    .deal-decision-picker-actions {
        justify-content: flex-start;
    }

    .deal-decision-grid {
        grid-template-columns: 1fr;
    }

    .deal-decision-car-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deal-decision-car-strip div:nth-child(2) {
        border-right: 0;
    }

    .deal-decision-car-strip div:nth-child(1),
    .deal-decision-car-strip div:nth-child(2) {
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 576px) {
    .deal-decision-hero,
    .deal-decision-pro-lock,
    .deal-decision-empty,
    .deal-decision-picker,
    .deal-decision-next-step,
    .deal-decision-summary-grid,
    .deal-decision-panel-head,
    .deal-decision-panel ul,
    .deal-decision-walkaway {
        padding: 0.85rem;
    }

    .deal-decision-car-strip {
        grid-template-columns: 1fr;
    }

    .deal-decision-car-strip div {
        border-bottom: 1px solid #e2e8f0;
        border-right: 0;
    }

    .deal-decision-car-strip div:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   AutoCheckAI Deal Decision checklist upgrade
   ========================================================= */
.deal-decision-picker-selected {
    align-items: stretch;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.deal-decision-picker-form {
    align-self: center;
}

.deal-selected-car-card {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.25rem rgba(37, 99, 235, 0.18);
    color: #ffffff;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem;
}

.deal-selected-label {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.deal-selected-car-card strong {
    display: block;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.deal-selected-car-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    margin: 0.35rem 0 0;
}

.deal-selected-metrics {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deal-selected-metrics span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.78rem;
    padding: 0.62rem;
}

.deal-selected-metrics small {
    color: rgba(255, 255, 255, 0.62);
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.deal-selected-metrics b {
    color: #ffffff;
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    margin-top: 0.22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deal-selected-car-card .deal-decision-picker-actions {
    justify-content: flex-start;
}

.deal-selected-car-card .btn {
    border-radius: 999px;
    font-weight: 850;
}

.deal-selected-car-card .btn-outline-secondary,
.deal-selected-car-card .btn-outline-primary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.deal-selected-car-card .btn-outline-secondary:hover,
.deal-selected-car-card .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.deal-decision-next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.deal-decision-progress-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1.05rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.deal-decision-progress-card span {
    color: #64748b;
    display: block;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.deal-decision-progress-card strong {
    color: #0f172a;
    display: block;
    font-size: 1.2rem;
    font-weight: 950;
    letter-spacing: -0.035em;
    margin-top: 0.2rem;
}

.deal-decision-progress-card p {
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.deal-decision-progress-track {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.72rem;
    overflow: hidden;
}

.deal-decision-progress-track div {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-radius: inherit;
    height: 100%;
    transition: width 180ms ease;
}

.deal-decision-panel li.deal-decision-check-item,
.deal-decision-walkaway li.deal-decision-check-item {
    padding: 0;
}

.deal-decision-panel li.deal-decision-check-item::before,
.deal-decision-walkaway li.deal-decision-check-item::before {
    content: none !important;
    display: none !important;
}

.deal-decision-check-label {
    align-items: flex-start;
    cursor: pointer;
    display: grid;
    gap: 0.62rem;
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0;
    padding: 0.72rem 0.82rem;
    position: relative;
}

.deal-decision-check-input {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.deal-decision-check-box {
    align-items: center;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 0.38rem;
    display: inline-flex;
    flex-shrink: 0;
    height: 1.15rem;
    justify-content: center;
    margin-top: 0.15rem;
    width: 1.15rem;
}

.deal-decision-check-box::after {
    color: #ffffff;
    content: "✓";
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 140ms ease, transform 140ms ease;
}

.deal-decision-check-text {
    color: #334155;
    line-height: 1.5;
    transition: color 140ms ease, opacity 140ms ease, text-decoration-color 140ms ease;
}

.deal-decision-check-item.is-checked {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.deal-decision-check-item.is-checked .deal-decision-check-box {
    background: #16a34a;
    border-color: #16a34a;
}

.deal-decision-check-item.is-checked .deal-decision-check-box::after {
    opacity: 1;
    transform: scale(1);
}

.deal-decision-check-item.is-checked .deal-decision-check-text {
    color: #64748b;
    opacity: 0.8;
    text-decoration: line-through;
    text-decoration-color: rgba(100, 116, 139, 0.55);
}

.deal-decision-check-danger .deal-decision-check-box,
.deal-decision-walkaway .deal-decision-check-box {
    border-color: #fecdd3;
}

.deal-decision-check-danger.is-checked .deal-decision-check-box,
.deal-decision-walkaway .is-checked .deal-decision-check-box {
    background: #e11d48;
    border-color: #e11d48;
}

.deal-decision-guardrails {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deal-decision-guardrails article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
    padding: 1rem;
}

.deal-decision-guardrails span {
    color: #2563eb;
    display: block;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.065em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.deal-decision-guardrails strong {
    color: #0f172a;
    display: block;
    font-size: 1.03rem;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.deal-decision-guardrails p {
    color: #64748b;
    line-height: 1.52;
    margin: 0.5rem 0 0;
}

@media (max-width: 992px) {
    .deal-decision-picker-selected,
    .deal-decision-guardrails {
        grid-template-columns: 1fr;
    }

    .deal-selected-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deal-decision-next-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .deal-selected-metrics {
        grid-template-columns: 1fr;
    }

    .deal-decision-check-label {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.68rem;
    }
}

/* =========================================================
   AutoCheckAI deal checklist + seller reply sync fix
   ========================================================= */
.deal-decision-progress-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.7rem 0 0.45rem;
}

.deal-decision-progress-status-row span {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    padding: 0.32rem 0.62rem;
}

.deal-status-cleared {
    background: #ecfdf5;
    color: #047857;
}

.deal-status-problem {
    background: #fff1f2;
    color: #be123c;
}

.deal-decision-check-label {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    width: 100%;
}

.deal-decision-check-text {
    flex: 1 1 auto;
    min-width: 0;
}

.deal-decision-check-actions {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.35rem;
}

.deal-decision-status-btn {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 950;
    height: 1.85rem;
    justify-content: center;
    line-height: 1;
    min-width: 1.85rem;
    padding: 0 0.45rem;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.deal-decision-status-btn:hover {
    transform: translateY(-1px);
}

.deal-decision-status-ok:hover,
.deal-decision-status-ok.active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.deal-decision-status-bad:hover,
.deal-decision-status-bad.active {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff;
}

.deal-decision-status-clear:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.deal-decision-check-item.is-cleared {
    border-color: rgba(16, 185, 129, 0.35);
    background: #f0fdf4;
}

.deal-decision-check-item.is-problem {
    border-color: rgba(225, 29, 72, 0.35);
    background: #fff1f2;
}

.deal-decision-panel-notes .deal-decision-note-list {
    display: grid;
    gap: 0.62rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.deal-decision-note-list li {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    display: flex;
    gap: 0.55rem;
    padding: 0.72rem 0.8rem;
}

.deal-decision-note-list li span {
    color: #2563eb;
    font-weight: 950;
}

.deal-decision-note-list li p {
    margin: 0;
}

.seller-reply-checklist-sync {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 0.95rem;
    padding: 0.85rem;
}

.seller-reply-checklist-sync-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.seller-reply-checklist-sync-head strong {
    color: #0f172a;
}

.seller-reply-checklist-sync-head a {
    color: #2563eb;
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
}

.seller-reply-checklist-sync-list {
    display: grid;
    gap: 0.5rem;
}

.seller-reply-checklist-row {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.65rem 0.75rem;
}

.seller-reply-checklist-row > span {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 950;
    height: 1.65rem;
    justify-content: center;
    width: 1.65rem;
}

.seller-reply-checklist-row.is-cleared > span {
    background: #dcfce7;
    color: #047857;
}

.seller-reply-checklist-row.is-problem > span {
    background: #ffe4e6;
    color: #be123c;
}

.seller-reply-checklist-row strong {
    color: #0f172a;
    display: block;
    font-size: 0.9rem;
}

.seller-reply-checklist-row small {
    color: #64748b;
    display: block;
    margin-top: 0.15rem;
}

.seller-message-page-hero {
    margin-top: 0.65rem;
}

@media (max-width: 640px) {
    .deal-decision-check-label {
        display: grid;
        gap: 0.65rem;
    }

    .deal-decision-check-actions {
        justify-content: flex-start;
    }
}

/* AutoCheckAI deal decision notes refinement */
.deal-decision-notes-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deal-decision-notes-grid .deal-decision-panel {
    min-height: 100%;
}

.deal-decision-panel-danger.deal-decision-panel-notes .deal-decision-panel-head {
    background: #fff1f2;
}

.deal-decision-panel-danger.deal-decision-panel-notes .deal-decision-note-list li {
    background: #fff7f8;
    border-color: #fecdd3;
}

.deal-decision-panel-danger.deal-decision-panel-notes .deal-decision-note-list li span {
    color: #e11d48;
}

.deal-decision-panel-green.deal-decision-panel-notes .deal-decision-note-list li {
    background: #f7fef9;
    border-color: #bbf7d0;
}

.deal-decision-panel-green.deal-decision-panel-notes .deal-decision-note-list li span {
    color: #16a34a;
}

@media (max-width: 992px) {
    .deal-decision-notes-grid {
        grid-template-columns: 1fr;
    }
}

/* AutoCheckAI cost estimate + offer calculator layer */
.car-cost-page,
.deal-decision-page {
    --autocheck-ink: #0f172a;
    --autocheck-muted: #64748b;
    --autocheck-blue: #2563eb;
    --autocheck-deep: #111c3a;
    --autocheck-border: #dbe6f5;
    --autocheck-soft: #f8fbff;
}

.car-cost-hero,
.deal-offer-calculator {
    background: linear-gradient(135deg, #ffffff, #eef6ff 55%, #ecfeff);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
    margin-bottom: 1rem;
    padding: 1.2rem;
}

.car-cost-hero {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.car-cost-hero h1 {
    color: var(--autocheck-ink);
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    margin: 0;
}

.car-cost-hero p {
    color: var(--autocheck-muted);
    margin: 0.4rem 0 0;
    max-width: 780px;
}

.car-cost-hero-card {
    background: #101c3f;
    border-radius: 1rem;
    color: #ffffff;
    min-width: 260px;
    padding: 1rem;
}

.car-cost-hero-card span,
.car-cost-summary-card span,
.car-cost-selected-strip span,
.car-cost-repair-row small,
.deal-offer-head span,
.deal-offer-result span,
.deal-offer-breakdown span,
.saved-report-cost-summary span,
.autocheck-cost-summary-card span {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.car-cost-hero-card span {
    color: #93c5fd;
}

.car-cost-hero-card strong {
    display: block;
    font-size: 1.05rem;
    margin-top: 0.25rem;
}

.car-cost-source-grid,
.car-cost-main-grid,
.deal-offer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    margin-bottom: 1rem;
}

.car-cost-source-card,
.car-cost-selected-strip,
.car-cost-summary-card,
.car-cost-panel,
.autocheck-cost-summary-card,
.saved-report-cost-summary {
    background: #ffffff;
    border: 1px solid var(--autocheck-border);
    border-radius: 1rem;
    box-shadow: 0 0.55rem 1.4rem rgba(15, 23, 42, 0.045);
}

.car-cost-source-card {
    padding: 1rem;
}

.car-cost-source-card p {
    color: var(--autocheck-muted);
    margin: 0.65rem 0 0;
}

.car-cost-pill,
.autocheck-cost-method {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.35rem 0.65rem;
}

.car-cost-manual-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.car-cost-manual-grid .form-control,
.car-cost-manual-grid .form-select,
.deal-offer-inputs .form-control {
    border-radius: 0.65rem;
    min-height: 2.35rem;
}

.car-cost-manual-wide {
    grid-column: 1 / -1;
}

.car-cost-selected-strip {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    margin-bottom: 1rem;
    padding: 1rem;
}

.car-cost-selected-strip strong {
    color: var(--autocheck-ink);
    display: block;
    font-size: 1.35rem;
    font-weight: 950;
}

.car-cost-selected-strip p {
    color: var(--autocheck-muted);
    margin: 0.25rem 0 0;
}

.car-cost-selected-metrics,
.autocheck-cost-summary-grid,
.saved-report-cost-summary,
.deal-offer-breakdown {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.car-cost-selected-metrics span,
.autocheck-cost-summary-grid div,
.saved-report-cost-summary div,
.deal-offer-breakdown div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.72rem;
}

.car-cost-selected-metrics b,
.autocheck-cost-summary-grid strong,
.saved-report-cost-summary strong,
.deal-offer-breakdown strong {
    color: var(--autocheck-ink);
    display: block;
    font-size: 0.95rem;
    font-weight: 950;
    margin-top: 0.22rem;
}

.car-cost-selected-strip-upgraded {
    align-items: stretch;
}

.car-cost-selected-strip-upgraded > div:first-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.car-cost-selected-metrics {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.car-cost-selected-metrics > span {
    display: grid;
    min-width: 0;
    min-height: 5.25rem;
    grid-template-rows: auto 1fr;
    align-content: start;
}

.car-cost-selected-metrics b {
    align-self: start;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.car-cost-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.car-cost-summary-card {
    padding: 1rem;
}

.car-cost-summary-card strong {
    color: var(--autocheck-ink);
    display: block;
    font-size: 1.25rem;
    font-weight: 950;
    margin-top: 0.35rem;
}

.car-cost-summary-card p,
.car-cost-panel p,
.deal-offer-calculator p,
.autocheck-cost-summary-card p {
    color: var(--autocheck-muted);
}

.car-cost-summary-card-primary {
    background: linear-gradient(135deg, #111c3a, #1d4ed8);
    color: #ffffff;
}

.car-cost-summary-card-primary span,
.car-cost-summary-card-primary p {
    color: #bfdbfe;
}

.car-cost-summary-card-primary strong {
    color: #ffffff;
}

.car-cost-panel {
    padding: 1rem;
}

.car-cost-panel-head,
.autocheck-cost-summary-head,
.deal-offer-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.car-cost-panel-head h2,
.autocheck-cost-summary-head h2,
.deal-offer-head h2 {
    color: var(--autocheck-ink);
    font-size: 1.15rem;
    font-weight: 950;
    margin: 0;
}

.car-cost-panel-head p,
.autocheck-cost-summary-head p,
.deal-offer-head p {
    margin: 0.25rem 0 0;
}

.car-cost-panel-head > span {
    background: #ecfeff;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.35rem 0.65rem;
    white-space: nowrap;
}

.car-cost-repair-list {
    display: grid;
    gap: 0.6rem;
}

.car-cost-repair-row {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.85rem;
}

.car-cost-repair-row strong {
    color: var(--autocheck-ink);
    display: block;
    font-weight: 950;
}

.car-cost-repair-row p {
    margin: 0.25rem 0;
}

.car-cost-repair-row > span {
    color: #1d4ed8;
    font-weight: 950;
    white-space: nowrap;
}

.car-cost-panel-side ul {
    color: #334155;
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.2rem;
}

.car-cost-info-panel {
    margin-top: 1rem;
}

.car-cost-info-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.car-cost-info-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.75rem;
}

.car-cost-info-grid span {
    color: #64748b;
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.car-cost-info-grid strong {
    color: var(--autocheck-ink);
    display: block;
    margin-top: 0.25rem;
}

.autocheck-cost-summary-card {
    padding: 1rem;
}

.autocheck-cost-summary-head {
    margin-bottom: 0.8rem;
}

.saved-report-cost-summary {
    box-shadow: none;
    margin: 0.9rem 0;
    padding: 0.75rem;
}

.deal-offer-calculator {
    margin-top: 1rem;
}

.deal-offer-head {
    align-items: center;
}

.deal-offer-grid {
    align-items: stretch;
    grid-template-columns: minmax(260px, 0.55fr) minmax(260px, 0.55fr) minmax(0, 1fr);
    margin-bottom: 0;
}

.deal-offer-inputs {
    display: grid;
    gap: 0.7rem;
}

.deal-offer-inputs label span {
    color: #475569;
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.deal-offer-result {
    background: linear-gradient(135deg, #111c3a, #1d4ed8);
    border-radius: 1rem;
    color: #ffffff;
    padding: 1rem;
}

.deal-offer-result span,
.deal-offer-result p {
    color: #bfdbfe;
}

.deal-offer-result strong {
    display: block;
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin: 0.35rem 0;
}

.deal-offer-breakdown {
    grid-template-columns: 1fr;
}

@media (max-width: 1180px) {
    .car-cost-source-grid,
    .car-cost-main-grid,
    .deal-offer-grid,
    .car-cost-selected-strip {
        grid-template-columns: 1fr;
    }

    .car-cost-summary-grid,
    .car-cost-info-grid,
    .car-cost-selected-metrics,
    .autocheck-cost-summary-grid,
    .saved-report-cost-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .car-cost-hero,
    .car-cost-panel-head,
    .autocheck-cost-summary-head,
    .deal-offer-head {
        flex-direction: column;
    }

    .car-cost-manual-grid,
    .car-cost-summary-grid,
    .car-cost-info-grid,
    .car-cost-selected-metrics,
    .autocheck-cost-summary-grid,
    .saved-report-cost-summary {
        grid-template-columns: 1fr;
    }

    .car-cost-repair-row {
        grid-template-columns: 1fr;
    }

    .car-cost-repair-row > span {
        white-space: normal;
    }
}

/* =========================================================
   AutoCheckAI cost page upgrade: source cards, database, AI estimate
   ========================================================= */
.car-cost-source-grid-upgraded {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.car-cost-source-card h2,
.car-cost-ai-panel h2,
.car-cost-ai-result h2 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 0.45rem;
}

.car-cost-card-kicker {
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    margin-bottom: 0.38rem;
    text-transform: uppercase;
}

.car-cost-report-select {
    border-radius: 0.85rem;
    font-weight: 750;
    min-height: 2.65rem;
}

.car-cost-selected-car-card {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border-radius: 1rem;
    color: #ffffff;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0.85rem;
    padding: 1rem;
}

.car-cost-selected-car-card span,
.car-cost-selected-car-card p,
.car-cost-selected-car-metrics small {
    color: rgba(255, 255, 255, 0.72);
}

.car-cost-selected-car-card strong {
    display: block;
    font-size: 1.16rem;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.car-cost-selected-car-card p {
    margin: 0.24rem 0 0;
}

.car-cost-selected-car-metrics {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(3, minmax(74px, 1fr));
}

.car-cost-selected-car-metrics span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 0.55rem 0.6rem;
}

.car-cost-selected-car-metrics small,
.car-cost-selected-car-metrics b {
    display: block;
}

.car-cost-selected-car-metrics b {
    color: #ffffff;
    font-weight: 900;
    margin-top: 0.15rem;
}

.car-cost-empty-mini,
.car-cost-howto-box {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 0.95rem;
    color: #475569;
    padding: 0.85rem;
}

.car-cost-howto-box {
    margin: 0.85rem 0;
}

.car-cost-howto-box strong {
    color: #0f172a;
    display: block;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.car-cost-howto-box ol {
    margin: 0;
    padding-left: 1.2rem;
}

.car-cost-howto-box li {
    margin-bottom: 0.32rem;
}

.car-cost-ai-panel,
.car-cost-ai-result {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.12);
    color: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.15rem;
}

.car-cost-ai-panel span,
.car-cost-ai-result .car-cost-panel-head > span {
    color: #93c5fd;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.car-cost-ai-panel h2,
.car-cost-ai-result h2 {
    color: #ffffff;
    margin-top: 0.2rem;
}

.car-cost-ai-panel p,
.car-cost-ai-result p,
.car-cost-ai-actions small {
    color: rgba(255, 255, 255, 0.74);
}

.car-cost-ai-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    justify-content: center;
    min-width: 230px;
    text-align: right;
}

.car-cost-ai-actions .btn {
    border-radius: 0.85rem;
    font-weight: 900;
    min-height: 2.6rem;
    padding-inline: 1rem;
}

.car-cost-ai-result {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #0f172a;
    grid-template-columns: 1fr;
}

.car-cost-ai-result .car-cost-panel-head h2 {
    color: #0f172a;
}

.car-cost-ai-result .car-cost-panel-head p {
    color: #475569;
}

.car-cost-ai-result .car-cost-panel-head > span {
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    padding: 0.35rem 0.65rem;
}

.car-cost-ai-metric-grid,
.car-cost-ai-notes-grid,
.car-cost-part-db-grid {
    display: grid;
    gap: 0.75rem;
}

.car-cost-ai-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.car-cost-ai-metric-grid div,
.car-cost-ai-notes-grid > div,
.car-cost-part-db-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.95rem;
    padding: 0.85rem;
}

.car-cost-ai-metric-grid span,
.car-cost-ai-notes-grid h3 {
    color: #64748b;
    display: block;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.car-cost-ai-metric-grid strong {
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 950;
}

.car-cost-ai-notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.car-cost-ai-notes-grid ul {
    color: #334155;
    margin: 0;
    padding-left: 1.1rem;
}

.car-cost-tax-metric,
.car-cost-roadtax-card {
    border-color: rgba(37, 99, 235, 0.28) !important;
    box-shadow: 0 0.9rem 1.8rem rgba(37, 99, 235, 0.08);
    position: relative;
}

.car-cost-tax-metric::before,
.car-cost-roadtax-card::before {
    background: #2563eb;
    border-radius: 999px;
    color: #ffffff;
    content: "NL road tax";
    display: inline-flex;
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    padding: 0.18rem 0.42rem;
    position: absolute;
    right: 0.6rem;
    top: 0.55rem;
    text-transform: uppercase;
}

.car-cost-roadtax-card {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.car-cost-roadtax-card strong {
    color: #1d4ed8;
}

.car-cost-repair-parts {
    background: #f8fafc;
    border-radius: 0.65rem;
    color: #475569 !important;
    font-size: 0.86rem;
    margin-top: 0.45rem !important;
    padding: 0.45rem 0.55rem;
}

.car-cost-part-db-panel {
    margin-top: 0.25rem;
}

.car-cost-part-db-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.car-cost-part-db-row {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
    justify-content: space-between;
}

.car-cost-part-db-row strong {
    color: #0f172a;
    display: block;
    font-weight: 900;
}

.car-cost-part-db-row p,
.car-cost-part-db-row small {
    color: #64748b;
    display: block;
    margin: 0.25rem 0 0;
}

.car-cost-part-db-row > span {
    color: #1d4ed8;
    flex: 0 0 auto;
    font-weight: 950;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .car-cost-source-grid-upgraded,
    .car-cost-ai-panel,
    .car-cost-ai-metric-grid,
    .car-cost-ai-notes-grid,
    .car-cost-part-db-grid {
        grid-template-columns: 1fr;
    }

    .car-cost-ai-actions {
        align-items: flex-start;
        min-width: 0;
        text-align: left;
    }

    .car-cost-selected-car-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .car-cost-selected-car-metrics,
    .car-cost-ai-metric-grid {
        grid-template-columns: 1fr;
    }

    .car-cost-part-db-row {
        display: grid;
    }

    .car-cost-part-db-row > span {
        white-space: normal;
    }

    .car-cost-tax-metric::before,
    .car-cost-roadtax-card::before {
        position: static;
        margin-bottom: 0.45rem;
    }
}

/* =========================================================
   AutoCheckAI cost / dashboard / compare refinement pass
   ========================================================= */
.car-cost-return-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.car-cost-tax-metric::before,
.car-cost-roadtax-card::before {
    content: none !important;
    display: none !important;
}

.car-cost-tax-metric,
.car-cost-roadtax-card {
    overflow: hidden;
}

.car-cost-tax-metric small,
.car-cost-roadtax-card > span {
    color: #1d4ed8 !important;
    letter-spacing: 0.065em;
}

.car-cost-roadtax-card {
    border: 1px solid rgba(37, 99, 235, 0.24) !important;
    background: linear-gradient(135deg, #eff6ff, #ffffff) !important;
}

.dashboard-useful-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-useful-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1.05rem;
    box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.055);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 100%;
    padding: 1rem;
}

.dashboard-useful-card span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.dashboard-useful-card strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.dashboard-useful-card p {
    color: #475569;
    flex: 1 1 auto;
    font-size: 0.92rem;
    margin: 0;
}

.dashboard-useful-card-dark {
    background: linear-gradient(135deg, #111827, #2563eb);
    border-color: transparent;
    color: #ffffff;
}

.dashboard-useful-card-dark span,
.dashboard-useful-card-dark p,
.dashboard-useful-card-dark strong {
    color: #ffffff;
}

.dashboard-useful-card-dark p {
    opacity: 0.82;
}

.upgrade-coin-packs-panel {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.06);
    padding: 1.15rem;
}

.upgrade-coin-pack-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upgrade-coin-pack-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
}

.upgrade-coin-pack-card span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.upgrade-coin-pack-card strong {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 950;
}

.upgrade-coin-pack-card p {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 950;
    margin: 0 0 0.35rem;
}

.upgrade-coin-pack-card-featured {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border-color: #93c5fd;
    box-shadow: 0 0.8rem 1.8rem rgba(37, 99, 235, 0.1);
}

.comparison-money-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.comparison-money-grid article {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    box-shadow: 0 0.65rem 1.35rem rgba(15, 23, 42, 0.045);
    padding: 0.95rem;
}

.comparison-money-grid span {
    color: #64748b;
    display: block;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.comparison-money-grid strong {
    color: #0f172a;
    display: block;
    font-weight: 950;
}

.comparison-money-grid p {
    color: #475569;
    margin: 0.25rem 0 0;
}

@media (max-width: 1180px) {
    .dashboard-useful-grid,
    .comparison-money-grid,
    .upgrade-coin-pack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dashboard-useful-grid,
    .comparison-money-grid,
    .upgrade-coin-pack-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-history-card .comparison-money-grid {
    margin-bottom: 0.35rem;
}

/* =========================================================
   AutoCheckAI Analyse AI upgrade + upgrade-page clarity
   ========================================================= */
.analyse-mode-helper {
    align-items: center;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 1rem;
}

.analyse-mode-helper strong {
    color: #0f172a;
    display: block;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.analyse-mode-helper p {
    color: #475569;
    font-size: 0.92rem;
    margin: 0;
}

.analyse-ai-coin-pill {
    align-items: center;
    background: #111827;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 900;
    justify-content: center;
    padding: 0.4rem 0.7rem;
    white-space: nowrap;
}

.analyse-ai-submit-btn {
    background: linear-gradient(135deg, #111827, #1d4ed8);
    border: 0;
    box-shadow: 0 0.7rem 1.4rem rgba(29, 78, 216, 0.2);
    font-weight: 900;
}

.analyse-ai-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0f172a, #2563eb);
    box-shadow: 0 0.85rem 1.7rem rgba(29, 78, 216, 0.24);
}

.analyse-ai-lock-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.85rem;
    color: #9a3412;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.75rem 0.9rem;
}

.upgrade-explainer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.upgrade-explainer-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.15rem;
    box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.055);
    padding: 1.15rem;
}

.upgrade-explainer-card span,
.upgrade-plan-tag-row span {
    font-weight: 900;
}

.upgrade-explainer-card > span {
    color: #2563eb;
    display: inline-flex;
    font-size: 0.78rem;
    letter-spacing: 0.045em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.upgrade-explainer-card h2 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 950;
    margin-bottom: 0.45rem;
}

.upgrade-explainer-card p {
    color: #475569;
    margin: 0;
}

.upgrade-explainer-card-pro {
    background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.upgrade-explainer-card-coins {
    background: linear-gradient(135deg, #ffffff, #f0fdfa);
}

.upgrade-plan-tag-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.upgrade-current-tier-pill,
.upgrade-free-indication-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.5rem;
    text-transform: uppercase;
}

.upgrade-current-tier-pill {
    background: #dcfce7;
    color: #166534;
}

.upgrade-free-indication-pill {
    background: #f1f5f9;
    color: #64748b;
}

@media (max-width: 768px) {
    .analyse-mode-helper,
    .upgrade-explainer-grid {
        grid-template-columns: 1fr;
    }

    .analyse-mode-helper {
        align-items: flex-start;
        flex-direction: column;
    }
}

.upgrade-free-locked-note {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0.85rem;
    color: #475569;
    font-weight: 800;
    padding: 0.75rem 0.85rem;
    text-align: center;
}

/* UX improvement pass: guidance, next steps and action queue */
.autocheck-ux-guide {
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 1.15rem;
    box-shadow: 0 0.85rem 1.9rem rgba(15, 23, 42, 0.055);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.05rem;
}

.autocheck-ux-guide-main h2 {
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    margin: 0.2rem 0 0.35rem;
}

.autocheck-ux-guide-main p {
    color: #64748b;
    margin: 0 0 0.75rem;
}

.autocheck-ux-kicker {
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.autocheck-ux-progress {
    background: #e2e8f0;
    border-radius: 999px;
    height: 0.58rem;
    overflow: hidden;
}

.autocheck-ux-progress > div {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    border-radius: inherit;
    height: 100%;
    transition: width 0.18s ease;
}

.autocheck-ux-guide-side {
    align-items: center;
    background: #0f172a;
    border-radius: 0.95rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.85rem 1rem;
    text-align: center;
}

.autocheck-ux-guide-side strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 950;
    line-height: 1;
}

.autocheck-ux-guide-side span {
    color: #cbd5e1;
    font-size: 0.76rem;
    font-weight: 850;
    margin-top: 0.3rem;
}

.autocheck-ux-guide-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    grid-column: 1 / -1;
}

.autocheck-ux-guide-tips span {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.35rem 0.58rem;
}

.autocheck-next-step-panel {
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border-radius: 1.15rem;
    box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.18);
    color: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.15rem;
}

.autocheck-next-step-copy span {
    color: #93c5fd;
    display: block;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.autocheck-next-step-copy h2 {
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.autocheck-next-step-copy p {
    color: #dbeafe;
    margin: 0;
}

.autocheck-next-step-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.autocheck-next-step-actions .btn-outline-primary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.48);
    color: #ffffff;
}

.autocheck-next-step-actions .btn-outline-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #1d4ed8;
}

.autocheck-next-step-note {
    color: #dbeafe;
    display: block;
    font-size: 0.82rem;
    font-weight: 750;
    max-width: 22rem;
}

.autocheck-action-queue {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.15rem;
    box-shadow: 0 0.85rem 1.9rem rgba(15, 23, 42, 0.055);
    padding: 1.05rem;
}

.autocheck-action-queue-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.autocheck-action-queue-head span {
    color: #2563eb;
    display: block;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.autocheck-action-queue-head h2 {
    color: #0f172a;
    font-size: 1.22rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    margin: 0.2rem 0 0;
}

.autocheck-action-queue-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.autocheck-action-queue-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
    padding: 0.9rem;
}

.autocheck-action-queue-card span:first-child {
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.045em;
    margin-bottom: 0.45rem;
    padding: 0.28rem 0.48rem;
    text-transform: uppercase;
}

.autocheck-action-queue-card h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
    margin: 0 0 0.35rem;
}

.autocheck-action-queue-card p {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0;
}

.autocheck-action-queue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.autocheck-action-queue-meta span {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 850;
    padding: 0.3rem 0.5rem;
}

@media (max-width: 992px) {
    .autocheck-ux-guide,
    .autocheck-next-step-panel {
        grid-template-columns: 1fr;
    }

    .autocheck-next-step-actions {
        justify-content: flex-start;
    }

    .autocheck-action-queue-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .autocheck-ux-guide,
    .autocheck-next-step-panel,
    .autocheck-action-queue {
        border-radius: 0.95rem;
        padding: 0.9rem;
    }

    .autocheck-next-step-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   AutoCheckAI UX monetization + free dashboard pass
   ========================================================= */
.carbuyer-coin-balance-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.65rem 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}

.carbuyer-coin-balance-button:hover {
    background: #eff6ff;
    color: #1e40af;
}

.dashboard-free-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.85fr));
}

.dashboard-free-card,
.dashboard-pro-preview {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 1.15rem;
    box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.05);
    padding: 1.15rem;
}

.dashboard-free-card span,
.dashboard-pro-preview span {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-free-card h2,
.dashboard-pro-preview h2 {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.03em;
    margin: 0.35rem 0 0.5rem;
}

.dashboard-free-card strong {
    color: #0f172a;
    display: block;
    font-size: 2.05rem;
    font-weight: 950;
    line-height: 1;
    margin: 0.35rem 0;
}

.dashboard-free-card p,
.dashboard-pro-preview p {
    color: #64748b;
    margin-bottom: 0.9rem;
}

.dashboard-free-card-primary {
    background: linear-gradient(135deg, #ffffff, #eff6ff);
    border-color: #bfdbfe;
}

.dashboard-free-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.dashboard-pro-preview-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.dashboard-pro-preview-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    color: #334155;
    font-weight: 850;
    padding: 0.8rem;
}

.car-cost-access-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.car-cost-access-card {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 1rem;
    padding: 1rem;
}

.car-cost-access-card span {
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.car-cost-access-card strong {
    color: #0f172a;
    display: block;
    font-size: 1rem;
    margin: 0.35rem 0;
}

.car-cost-access-card p {
    color: #64748b;
    margin: 0;
}

.car-cost-access-card-pro {
    background: #f8fafc;
}

.car-cost-access-card-ai {
    background: linear-gradient(135deg, #111827, #1d4ed8);
    border-color: transparent;
}

.car-cost-access-card-ai span,
.car-cost-access-card-ai strong,
.car-cost-access-card-ai p {
    color: #ffffff;
}

.autocheck-ai-action-plan {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid #bfdbfe;
    border-radius: 1.1rem;
    box-shadow: 0 0.8rem 1.8rem rgba(37, 99, 235, 0.07);
    padding: 1rem;
}

.autocheck-ai-action-plan-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.autocheck-ai-action-plan-head span {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.autocheck-ai-action-plan-head h2 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 950;
    margin: 0.25rem 0;
}

.autocheck-ai-action-plan-head p {
    color: #64748b;
    margin: 0;
}

.autocheck-ai-action-plan-result {
    background: #0f172a;
    border-radius: 0.95rem;
    color: #e2e8f0;
    line-height: 1.65;
    padding: 1rem;
    white-space: pre-wrap;
}

.landing-pricing-upgrade-match .upgrade-price-card {
    min-height: 100%;
}

@media (max-width: 992px) {
    .dashboard-free-grid,
    .dashboard-pro-preview-grid,
    .car-cost-access-grid {
        grid-template-columns: 1fr;
    }

    .autocheck-ai-action-plan-head {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .carbuyer-topbar-actions {
        grid-template-columns: 1fr 1fr;
    }

    .carbuyer-coin-balance-button,
    .carbuyer-upgrade-button,
    .carbuyer-pro-active-button {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

/* =========================================================
   AutoCheckAI Proof & Seller Trust Center
   ========================================================= */

.proof-center-page {
    --proof-navy: #0f1f48;
    --proof-blue: #2563eb;
    --proof-cyan: #0ea5e9;
    --proof-border: rgba(148, 163, 184, 0.26);
    --proof-muted: #64748b;
}

.proof-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 1.35rem;
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 52%, #e7fff9 100%);
    box-shadow: 0 1.1rem 2.4rem rgba(15, 23, 42, 0.06);
}

.proof-hero h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    color: #0f172a;
    margin: 0;
}

.proof-hero p {
    max-width: 760px;
    color: #475569;
    margin: 0.65rem 0 0;
}

.proof-hero-card {
    background: linear-gradient(135deg, #0f1f48, #1d4ed8);
    border-radius: 1.1rem;
    color: #ffffff;
    padding: 1rem;
    box-shadow: 0 1rem 2rem rgba(29, 78, 216, 0.25);
}

.proof-hero-card span,
.proof-summary-card span,
.proof-trust-card span,
.proof-panel-head span,
.proof-select-card label {
    display: block;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.proof-hero-card span {
    color: #bfdbfe;
}

.proof-hero-card strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 950;
    margin-top: 0.35rem;
}

.proof-hero-card p {
    color: #dbeafe;
    margin-top: 0.5rem;
}

.proof-pro-lock,
.proof-select-card,
.proof-trust-card,
.proof-summary-card,
.proof-checklist-panel,
.proof-scan-panel,
.proof-signal-panel {
    background: #ffffff;
    border: 1px solid var(--proof-border);
    border-radius: 1.1rem;
    box-shadow: 0 0.75rem 1.8rem rgba(15, 23, 42, 0.045);
    padding: 1rem;
}

.proof-pro-lock {
    padding: 1.25rem;
}

.proof-selection-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.28fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.proof-selected-car {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
    padding: 0.9rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 0.95rem;
    background: #f8fbff;
}

.proof-selected-car span,
.proof-selected-metrics small {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 850;
}

.proof-selected-car strong {
    display: block;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 950;
}

.proof-selected-car p {
    color: #64748b;
    margin: 0.15rem 0 0;
}

.proof-selected-metrics {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.proof-selected-metrics span {
    min-width: 110px;
    padding: 0.65rem 0.75rem;
    border-radius: 0.8rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.proof-selected-metrics b {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
}

.proof-trust-card {
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #1d4ed8);
}

.proof-trust-card span,
.proof-trust-card p {
    color: #dbeafe;
}

.proof-trust-card strong {
    display: block;
    font-size: 2.35rem;
    font-weight: 950;
    line-height: 1;
    margin: 0.45rem 0 0.35rem;
}

.proof-trust-good {
    background: linear-gradient(135deg, #065f46, #10b981);
}

.proof-trust-cautious {
    background: linear-gradient(135deg, #172554, #2563eb);
}

.proof-trust-low {
    background: linear-gradient(135deg, #7c2d12, #f97316);
}

.proof-trust-bad {
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
}

.proof-trust-bar {
    height: 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.proof-trust-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
}

.proof-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.proof-summary-card strong {
    display: block;
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 950;
    margin-top: 0.35rem;
}

.proof-summary-card p {
    color: #64748b;
    margin: 0.35rem 0 0;
}

.proof-summary-card-danger {
    border-color: rgba(239, 68, 68, 0.24);
    background: #fff7f7;
}

.proof-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.proof-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.proof-panel-head h2 {
    margin: 0.25rem 0 0;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.proof-item-list {
    display: grid;
    gap: 0.65rem;
}

.proof-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #f8fafc;
}

.proof-item-row-bad {
    border-color: rgba(239, 68, 68, 0.35);
    background: #fff7f7;
}

.proof-item-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.proof-item-title-row strong {
    color: #0f172a;
    font-weight: 950;
}

.proof-item-copy p {
    color: #475569;
    margin: 0.25rem 0 0;
}

.proof-item-copy small {
    display: block;
    color: #64748b;
    margin-top: 0.35rem;
}

.proof-status-pill,
.proof-mini-status-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.proof-status-pill {
    padding: 0.28rem 0.5rem;
}

.proof-status-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    flex-wrap: wrap;
    max-width: 260px;
}

.proof-mini-status-button {
    min-height: 1.9rem;
    border: 1px solid #cbd5e1;
    padding: 0.35rem 0.55rem;
    background: #ffffff;
    color: #475569;
}

.proof-mini-status-button.active {
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0.35rem 0.85rem rgba(15, 23, 42, 0.12);
}

.proof-status-empty {
    background: #f1f5f9;
    color: #64748b;
}

.proof-status-asked {
    background: #eff6ff;
    color: #1d4ed8;
}

.proof-status-claimed {
    background: #fffbeb;
    color: #b45309;
}

.proof-status-proof {
    background: #ecfeff;
    color: #0e7490;
}

.proof-status-verified {
    background: #ecfdf5;
    color: #047857;
}

.proof-status-rejected {
    background: #fef2f2;
    color: #b91c1c;
}

.proof-mini-status-button.active.proof-status-asked,
.proof-mini-status-button.active.proof-status-claimed,
.proof-mini-status-button.active.proof-status-proof,
.proof-mini-status-button.active.proof-status-verified,
.proof-mini-status-button.active.proof-status-rejected {
    color: #ffffff;
}

.proof-mini-status-button.active.proof-status-asked { background: #2563eb; }
.proof-mini-status-button.active.proof-status-claimed { background: #d97706; }
.proof-mini-status-button.active.proof-status-proof { background: #0891b2; }
.proof-mini-status-button.active.proof-status-verified { background: #059669; }
.proof-mini-status-button.active.proof-status-rejected { background: #dc2626; }

.proof-seller-textarea {
    border-radius: 0.9rem;
    min-height: 12rem;
}

.proof-scan-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.proof-ai-button,
.autocheck-ai-coin-action-button {
    border: 0;
    border-radius: 0.75rem;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f1f48, #2563eb 60%, #0ea5e9);
    box-shadow: 0 0.85rem 1.75rem rgba(37, 99, 235, 0.22);
    font-weight: 950;
    min-height: 2.7rem;
    padding: 0.62rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.proof-ai-button:hover,
.autocheck-ai-coin-action-button:hover {
    color: #ffffff !important;
    box-shadow: 0 1rem 2rem rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.autocheck-ai-coin-action-button small {
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
}

.proof-result-box,
.proof-next-message,
.proof-ai-result {
    border-radius: 0.9rem;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    padding: 0.85rem;
}

.proof-result-box strong,
.proof-next-message strong {
    color: #0f172a;
}

.proof-result-box p,
.proof-next-message p {
    margin: 0.35rem 0 0;
    color: #475569;
    white-space: pre-wrap;
}

.proof-ai-result {
    color: #e5edff;
    background: linear-gradient(135deg, #111827, #1e3a8a);
    border-color: rgba(37, 99, 235, 0.36);
    white-space: pre-wrap;
}

.proof-signal-panel {
    margin-top: 1rem;
}

.proof-signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.proof-signal-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.85rem;
    background: #f8fafc;
}

.proof-signal-card strong {
    display: block;
    color: #0f172a;
    font-weight: 950;
}

.proof-signal-card p {
    margin: 0.35rem 0 0;
    color: #64748b;
}

.proof-signal-good { background: #ecfdf5; border-color: #bbf7d0; }
.proof-signal-warning { background: #fffbeb; border-color: #fde68a; }
.proof-signal-bad { background: #fef2f2; border-color: #fecaca; }
.proof-signal-info { background: #eff6ff; border-color: #bfdbfe; }

.saved-action-plan-card {
    border: 1px solid rgba(37, 99, 235, 0.2);
}

@media (max-width: 1100px) {
    .proof-hero,
    .proof-selection-grid,
    .proof-workspace-grid {
        grid-template-columns: 1fr;
    }

    .proof-signal-grid,
    .proof-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .proof-summary-grid,
    .proof-signal-grid {
        grid-template-columns: 1fr;
    }

    .proof-item-row {
        grid-template-columns: 1fr;
    }

    .proof-status-actions {
        justify-content: flex-start;
        max-width: none;
    }
}

.saved-report-ai-plan-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.75rem 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 0.8rem;
    background: #eff6ff;
    color: #1e3a8a;
}

.saved-report-ai-plan-pill strong {
    font-size: 0.9rem;
    font-weight: 950;
}

.saved-report-ai-plan-pill a {
    font-weight: 900;
    color: #2563eb;
    text-decoration: none;
}

/* AutoCheckAI UX upgrade: saved paid data, proof scanner and extra baseline coin flow */
.autocheck-extra-analysis-box {
    align-items: center;
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.15rem;
}

.autocheck-extra-analysis-box h2 {
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.autocheck-extra-analysis-box p {
    margin-bottom: 0;
}

.proof-ai-scanner-callout {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border-radius: 1rem;
    color: #ffffff;
    padding: 1rem;
}

.proof-ai-scanner-callout span,
.proof-ai-scanner-callout p {
    color: rgba(255, 255, 255, 0.82);
}

.proof-ai-scanner-callout span {
    display: block;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.proof-ai-scanner-callout strong {
    display: block;
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 0.35rem;
}

.proof-ai-scanner-callout p {
    margin-bottom: 0;
}

.proof-ai-history {
    background: #f8fbff;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
}

.proof-ai-history summary {
    color: #1d4ed8;
    cursor: pointer;
    font-weight: 950;
}

.proof-ai-history-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.proof-ai-history-list article {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 0.8rem;
    padding: 0.75rem;
}

.proof-ai-history-list article div {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.proof-ai-history-list article span {
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 0.22rem 0.45rem;
}

.proof-ai-history-list article p {
    color: #475569;
    margin-bottom: 0;
}

.saved-report-paid-data-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.8rem 0;
}

.saved-report-data-pill {
    background: #f1f5f9;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.38rem 0.65rem;
}

.saved-report-data-pill-paid {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.saved-report-proof-summary-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.saved-report-proof-summary-card span {
    color: #2563eb;
    display: block;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.saved-report-proof-summary-card h2 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 950;
    margin: 0.2rem 0;
}

.saved-report-proof-summary-card p {
    color: #64748b;
    margin-bottom: 0;
}

.saved-report-proof-summary-card-ai {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.saved-proof-preview {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 0.85rem;
    color: #334155;
    max-width: 520px;
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .autocheck-extra-analysis-box,
    .saved-report-proof-summary-card {
        align-items: stretch;
        flex-direction: column;
    }

    .saved-proof-preview {
        max-width: none;
    }
}

/* Premium AI coin buttons */
.autocheck-ai-coin-action-button,
.proof-ai-button {
    align-items: center;
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
    border: 0 !important;
    border-radius: 0.8rem !important;
    box-shadow: 0 0.7rem 1.4rem rgba(37, 99, 235, 0.22);
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 950;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.62rem 1rem !important;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.autocheck-ai-coin-action-button:hover:not(:disabled),
.proof-ai-button:hover:not(:disabled) {
    box-shadow: 0 0.9rem 1.7rem rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.autocheck-ai-coin-action-button:disabled,
.proof-ai-button:disabled {
    box-shadow: none;
    opacity: 0.55;
}

/* AutoCheckAI deal/proof integration polish */
.saved-report-title-proof-row,
.saved-report-title-proof-inline {
    align-items: flex-start;
    display: flex;
    gap: 0.85rem;
    justify-content: space-between;
}

.saved-report-title-proof-inline {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.saved-report-title-proof-inline h2 {
    margin-bottom: 0;
}

.saved-report-proof-title-card,
.saved-report-proof-mini-pill {
    align-items: center;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 0.9rem;
    color: #172554;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
}

.saved-report-proof-title-card {
    align-items: flex-start;
    box-shadow: 0 0.45rem 1rem rgba(15, 23, 42, 0.06);
    flex-direction: column;
    min-width: 190px;
}

.saved-report-proof-title-card span,
.saved-report-proof-mini-pill span {
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.saved-report-proof-title-card strong,
.saved-report-proof-mini-pill strong {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1;
}

.saved-report-proof-title-card small {
    color: #64748b;
    font-weight: 800;
}

.saved-report-proof-mini-pill {
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
}

.saved-report-proof-mini-pill strong {
    font-size: 0.86rem;
}

.deal-proof-linked-strip {
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
}

.deal-proof-linked-strip span {
    color: #bfdbfe;
    display: block;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.deal-proof-linked-strip strong {
    color: #ffffff;
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
}

.deal-proof-linked-strip p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0.15rem 0 0;
}

.deal-proof-linked-strip .btn {
    background: #ffffff;
    border-color: #ffffff;
    color: #1d4ed8;
    font-weight: 850;
    white-space: nowrap;
}

.autocheck-extra-analysis-box {
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .saved-report-title-proof-row,
    .deal-proof-linked-strip,
    .autocheck-extra-analysis-box {
        align-items: stretch;
        flex-direction: column;
    }

    .saved-report-proof-title-card {
        width: 100%;
    }
}

/* =========================================================
   Account navigation
   ========================================================= */

.carbuyer-account-button,
.carbuyer-login-button,
.carbuyer-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.55rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 999px;
    color: #334155;
    background: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 850;
    white-space: nowrap;
}

.carbuyer-account-button:hover,
.carbuyer-login-button:hover,
.carbuyer-logout-button:hover {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.35);
}

.carbuyer-account-avatar {
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    font-size: 0.72rem;
    font-weight: 950;
}

.carbuyer-logout-form {
    margin: 0;
    display: inline-flex;
}

.carbuyer-logout-button {
    cursor: pointer;
}

.carbuyer-nav-links-public {
    justify-self: center;
}

@media (max-width: 1180px) {
    .carbuyer-account-button > span:last-child,
    .carbuyer-logout-button {
        font-size: 0;
    }

    .carbuyer-logout-button::after {
        content: "↗";
        font-size: 0.95rem;
    }
}

/* Decision Workspace Part 1.3 attention badges on saved reports. */
.saved-report-attention-pill {
    align-items: center;
    background: #fff8e7;
    border: 1px solid #edcf7f;
    border-radius: 999px;
    color: #76540b;
    display: inline-flex;
    gap: .45rem;
    padding: .35rem .58rem;
    text-decoration: none;
}

.saved-report-attention-pill span {
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.saved-report-attention-pill strong {
    align-items: center;
    background: #8b640f;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .72rem;
    height: 1.25rem;
    justify-content: center;
    min-width: 1.25rem;
    padding: 0 .3rem;
}

.report-workspace-alert-link {
    align-items: center;
    display: inline-flex;
    gap: .5rem;
}

.report-workspace-alert-count {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: #9a6700;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 900;
    height: 1.35rem;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0 .32rem;
}

/* Part 1.5 live evidence score on saved reports */
.buyer-score-live-delta {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    margin-top: .55rem;
    padding: .3rem .55rem;
}

.buyer-score-live-delta.is-positive {
    background: #e6f7ef;
    color: #116c48;
}

.buyer-score-live-delta.is-negative {
    background: #fff0ef;
    color: #ad2c2c;
}

.buyer-score-live-delta.is-neutral {
    background: #eef2f6;
    color: #5c6c80;
}

.buyer-score-risk {
    display: grid;
    gap: .45rem;
}

.buyer-score-range-row {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #dbeafe;
    border-radius: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .8rem;
    margin: .9rem 0;
    padding: .65rem .75rem;
}

.buyer-score-range-row strong {
    color: #172033;
}

.buyer-score-range-row a {
    margin-left: auto;
}


/* Part 1.5 evidence-adjusted score details */
.history-score-live {
    border: 1px solid #cfe0ff;
    border-radius: 1.1rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, #f8fbff, #ffffff);
}

.history-score-delta,
.history-score-equation strong,
.history-score-impacts strong {
    font-variant-numeric: tabular-nums;
}

.history-score-delta {
    display: inline-flex;
    margin-left: .45rem;
    padding: .15rem .45rem;
    border-radius: 999px;
    font-weight: 800;
}

.history-score-equation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1rem 0;
}

.history-score-equation span {
    display: grid;
    min-width: 7rem;
    padding: .7rem .85rem;
    border-radius: .8rem;
    background: #fff;
    border: 1px solid #dce7f7;
}

.history-score-equation small {
    color: #64748b;
}

.history-score-roadmap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: .95rem;
    background: #fff9e8;
    border: 1px solid #f1d486;
}

.history-score-surprise {
    font-weight: 800;
    color: #9a6700;
}

.history-score-roadmap h2,
.history-score-impacts h2 {
    font-size: 1.05rem;
    margin: .25rem 0;
}

.history-score-roadmap p {
    margin: 0;
}

.history-score-impacts {
    margin-top: 1rem;
}

.history-score-impacts ul {
    display: grid;
    gap: .45rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.history-score-impacts li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem .75rem;
    border-bottom: 1px solid #e6edf7;
}

.history-score-live .is-positive { color: #08783e; background: #e8f8ef; }
.history-score-live .is-negative { color: #b42318; background: #fff0ee; }
.history-score-live .is-neutral { color: #475569; background: #eef2f7; }

@media (max-width: 700px) {
    .history-score-roadmap {
        align-items: stretch;
        flex-direction: column;
    }

    .history-score-roadmap .btn {
        width: 100%;
    }
}

/* Phase 2.0D.2: detailed Pro feature guide */
.upgrade-feature-guide,
.upgrade-how-it-works,
.upgrade-comparison-panel {
    scroll-margin-top: 96px;
}

.upgrade-feature-guide {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid #dbe6f5;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 20px 54px rgba(15, 23, 42, .07);
}

.upgrade-feature-guide-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.upgrade-feature-detail-grid {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.upgrade-feature-detail-card {
    min-width: 0;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    border: 1px solid #e0e8f4;
    border-radius: 1.25rem;
    background: #fff;
    scroll-margin-top: 110px;
}

.upgrade-feature-detail-card.is-requested {
    border-color: #4f7cff;
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .11), 0 16px 35px rgba(37, 99, 235, .12);
}

.upgrade-feature-number {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: .9rem;
    color: #1d4ed8;
    background: #eaf1ff;
    font-size: .78rem;
    font-weight: 950;
}

.upgrade-feature-label {
    margin: 0 0 .25rem;
    color: #155eef;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.upgrade-feature-detail-card h3 {
    margin: 0 0 .55rem;
    color: #0f172a;
    font-size: 1.15rem;
    letter-spacing: -.02em;
}

.upgrade-feature-detail-card p:not(.upgrade-feature-label) {
    margin: 0;
    color: #5b6a80;
    line-height: 1.58;
}

.upgrade-feature-detail-card ul {
    margin: .8rem 0 0;
    padding-left: 1.1rem;
    color: #334155;
}

.upgrade-feature-detail-card li + li { margin-top: .35rem; }

.upgrade-how-it-works,
.upgrade-comparison-panel {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid #dbe6f5;
    border-radius: 1.75rem;
    background: #fff;
}

.upgrade-access-flow {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.upgrade-access-flow article {
    padding: 1rem;
    border-radius: 1rem;
    background: #f7f9fd;
}

.upgrade-access-flow article > span {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    margin-bottom: .7rem;
    border-radius: .7rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    font-weight: 900;
}

.upgrade-access-flow strong { display: block; color: #0f172a; }
.upgrade-access-flow p { margin: .4rem 0 0; color: #64748b; line-height: 1.5; }

.upgrade-comparison-table {
    margin-top: 1.1rem;
    overflow: hidden;
    border: 1px solid #dbe6f5;
    border-radius: 1rem;
}

.upgrade-comparison-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(150px, .75fr) minmax(180px, .9fr);
}

.upgrade-comparison-row > * {
    padding: .85rem 1rem;
    border-bottom: 1px solid #e7edf6;
}

.upgrade-comparison-row > * + * { border-left: 1px solid #e7edf6; }
.upgrade-comparison-row:last-child > * { border-bottom: 0; }
.upgrade-comparison-head { color: #fff; background: #13213e; }
.upgrade-comparison-row:not(.upgrade-comparison-head):nth-child(odd) { background: #f8fbff; }
.upgrade-comparison-row strong:last-child { color: #155eef; }
.upgrade-comparison-head strong:last-child { color: #fff; }

@media (max-width: 960px) {
    .upgrade-feature-detail-grid { grid-template-columns: 1fr; }
    .upgrade-access-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .upgrade-feature-guide-heading { align-items: stretch; flex-direction: column; }
    .upgrade-feature-detail-card { grid-template-columns: 1fr; }
    .upgrade-access-flow { grid-template-columns: 1fr; }
    .upgrade-comparison-table { overflow-x: auto; }
    .upgrade-comparison-row { min-width: 700px; }
}

/* Phase 2.0D.3.3: non-blocking Analyse startup. */
.analyse-initial-loading {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0 0 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: .9rem;
    background: rgba(239, 246, 255, .78);
}

.analyse-initial-loading div {
    display: grid;
    gap: .15rem;
}

.analyse-initial-loading div span {
    color: #64748b;
}

.analyse-initial-loading-spinner {
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 auto;
    border: 3px solid rgba(37, 99, 235, .18);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: analyse-startup-spin .8s linear infinite;
}

.analyse-workspace-body {
    transition: opacity .16s ease;
}

.analyse-workspace-body.is-loading {
    opacity: 1;
}

@keyframes analyse-startup-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .analyse-initial-loading-spinner {
        animation: none;
    }

    .analyse-workspace-body {
        transition: none;
    }
}


/* =========================================================
   AutoBeslis public brand lockup
   ========================================================= */
.autobeslis-hero-lockup {
    align-items: center;
    display: inline-flex;
    gap: clamp(0.75rem, 1.6vw, 1.15rem);
    max-width: min(620px, 100%);
    width: auto;
}

.autobeslis-hero-lockup .autobeslis-hero-symbol {
    flex: 0 0 auto;
    height: clamp(4.3rem, 7vw, 6rem);
    object-fit: contain;
    width: clamp(4.3rem, 7vw, 6rem);
}

.autobeslis-hero-wordmark {
    display: grid;
    line-height: 1;
    min-width: 0;
}

.autobeslis-hero-wordmark strong {
    color: #0b1f44;
    font-size: clamp(2.15rem, 4.6vw, 4.25rem);
    font-weight: 950;
    letter-spacing: -0.065em;
    white-space: nowrap;
}

.autobeslis-hero-wordmark strong span {
    background: linear-gradient(135deg, #0f6fff, #10a9de);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.autobeslis-hero-wordmark small {
    color: #38527b;
    font-size: clamp(0.72rem, 1.25vw, 0.98rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-top: 0.38rem;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .autobeslis-hero-lockup {
        gap: 0.65rem;
        justify-content: flex-start;
        padding-inline: 0.7rem;
        width: 100%;
    }

    .autobeslis-hero-lockup .autobeslis-hero-symbol {
        height: 3.7rem;
        width: 3.7rem;
    }

    .autobeslis-hero-wordmark strong {
        font-size: clamp(1.9rem, 10vw, 3rem);
    }

    .autobeslis-hero-wordmark small {
        font-size: clamp(0.61rem, 3vw, 0.78rem);
        letter-spacing: 0.08em;
    }
}

/* Phase 2.0F.3 multilingual clarity */
.localization-preview-notice {
    display: flex;
    gap: .45rem 1rem;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(180, 128, 0, .35);
    border-radius: .75rem;
    background: rgba(255, 243, 205, .72);
    color: #5f4700;
    font-size: .9rem;
}

.vehicle-term-glossary {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    width: min(27rem, calc(100vw - 2rem));
    border: 1px solid rgba(15, 55, 110, .2);
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 1rem 2.5rem rgba(11, 42, 99, .18);
}

.vehicle-term-glossary > summary {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    cursor: pointer;
    list-style: none;
    color: #0b2a63;
}

.vehicle-term-glossary > summary::-webkit-details-marker {
    display: none;
}

.vehicle-term-glossary > summary span:not(.vehicle-term-glossary-icon) {
    display: grid;
    line-height: 1.15;
}

.vehicle-term-glossary > summary small {
    margin-top: .2rem;
    color: #667085;
    font-weight: 600;
    letter-spacing: .02em;
}

.vehicle-term-glossary-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 999px;
    background: #0b2a63;
    color: #fff;
    font-weight: 800;
}

.vehicle-term-glossary-body {
    max-height: min(65vh, 34rem);
    overflow: auto;
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(15, 55, 110, .12);
}

.vehicle-term-glossary-body > p {
    margin: .85rem 0;
    color: #475467;
    font-size: .9rem;
}

.vehicle-term-glossary dl,
.vehicle-term-glossary dd {
    margin: 0;
}

.vehicle-term-glossary dl > div {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: .75rem;
    padding: .65rem 0;
    border-top: 1px solid rgba(15, 55, 110, .08);
}

.vehicle-term-glossary dt {
    color: #0b2a63;
    font-weight: 800;
}

.vehicle-term-glossary dd {
    color: #344054;
    font-size: .9rem;
}

@media (max-width: 700px) {
    .vehicle-term-glossary {
        right: .65rem;
        bottom: .65rem;
        width: calc(100vw - 1.3rem);
    }
}


/* Phase 2.0F.3 seller-language workflow */
.seller-language-workbench {
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) auto;
    gap: .8rem 1rem;
    align-items: end;
    padding: 1rem;
    border: 1px solid rgba(11, 42, 99, .16);
    border-radius: .85rem;
    background: linear-gradient(135deg, rgba(238, 245, 255, .92), rgba(255, 255, 255, .98));
}

.seller-language-workbench-action {
    display: flex;
    align-items: flex-end;
}

.seller-language-workbench-help {
    grid-column: 1 / -1;
    margin: 0;
    color: #5d6878;
    font-size: .88rem;
}

.seller-language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.seller-language-card,
.seller-translation-result,
.seller-reply-confidence {
    border: 1px solid rgba(11, 42, 99, .14);
    border-radius: .85rem;
    background: #fff;
}

.seller-language-card {
    padding: 1rem;
}

.seller-translation-result {
    padding: 1rem;
    background: rgba(238, 245, 255, .55);
}

.seller-translation-result textarea {
    background: #fff;
}

.seller-translation-eyebrow {
    display: block;
    margin-bottom: .15rem;
    color: #48648a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.seller-reply-confidence {
    padding: 1rem;
}

.seller-reply-confidence-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.seller-reply-confidence-head h3 {
    margin: 0;
}

.seller-reply-confidence-head > strong {
    color: #0b2a63;
    font-size: 1.25rem;
}

.seller-reply-confidence-track {
    height: .65rem;
    margin: .8rem 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf4;
}

.seller-reply-confidence-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c84343, #d8a027 48%, #21865f);
}

.seller-reply-confidence small {
    display: block;
    margin-top: .5rem;
    color: #667085;
}

.seller-reply-chat-bubble.is-translation {
    border-style: dashed;
    background: rgba(238, 245, 255, .7);
}

@media (max-width: 760px) {
    .seller-language-workbench,
    .seller-language-grid {
        grid-template-columns: 1fr;
    }

    .seller-language-workbench-action,
    .seller-language-workbench-action .seller-message-action-btn {
        width: 100%;
    }
}

/* =========================================================
   Phase 2.0F.5A.1 — dedicated home logo lockup
   Avoid legacy AutoCheckAI image rules and size the wordmark
   against its actual remaining grid column.
   ========================================================= */
.autobeslis-hero-lockup {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(.72rem, 1.55vw, 1.1rem);
    width: min(100%, 42rem);
    max-width: 100%;
    margin-bottom: 1.05rem;
    padding: clamp(.72rem, 1.4vw, .95rem) clamp(.85rem, 1.8vw, 1.2rem);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 .9rem 2rem rgba(15, 23, 42, .08);
    overflow: visible;
}

.autobeslis-hero-lockup .autobeslis-hero-symbol {
    display: block;
    width: clamp(4.2rem, 7vw, 5.55rem);
    height: clamp(4.2rem, 7vw, 5.55rem);
    max-width: none;
    flex: none;
    object-fit: contain;
}

.autobeslis-hero-wordmark {
    container-type: inline-size;
    display: grid;
    align-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    line-height: 1;
}

.autobeslis-hero-wordmark strong {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    color: #0b1f44;
    font-size: clamp(2rem, 13cqi, 4rem);
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: .92;
    white-space: nowrap;
}

.autobeslis-hero-wordmark strong span {
    background: linear-gradient(135deg, #0f6fff, #10a9de);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.autobeslis-hero-wordmark small {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: .42rem;
    color: #38527b;
    font-size: clamp(.64rem, 2.9cqi, .96rem);
    font-weight: 900;
    letter-spacing: clamp(.055em, .36cqi, .12em);
    line-height: 1.25;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .autobeslis-hero-lockup {
        gap: .62rem;
        padding: .68rem .72rem;
    }

    .autobeslis-hero-lockup .autobeslis-hero-symbol {
        width: clamp(3.55rem, 18vw, 4.35rem);
        height: clamp(3.55rem, 18vw, 4.35rem);
    }

    .autobeslis-hero-wordmark strong {
        font-size: clamp(1.72rem, 13cqi, 2.75rem);
    }

    .autobeslis-hero-wordmark small {
        font-size: clamp(.57rem, 3.15cqi, .75rem);
        letter-spacing: .065em;
    }
}

/* =========================================================
   Phase 2.0F.5A — Continue where you left off
   ========================================================= */
.landing-resume-section {
    position: relative;
    z-index: 3;
    margin-top: -1.1rem;
    padding-bottom: 1.4rem;
}

.landing-resume-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
    backdrop-filter: blur(12px);
}

.landing-resume-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: .92rem;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
    font-size: 1.15rem;
    font-weight: 950;
}

.landing-resume-copy {
    min-width: 0;
}

.landing-resume-eyebrow {
    display: block;
    margin-bottom: .18rem;
    color: #2563eb;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-resume-copy h2 {
    margin: 0;
    color: #0f274f;
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    font-weight: 950;
    line-height: 1.2;
}

.landing-resume-copy p {
    margin: .28rem 0 0;
    color: #64748b;
    font-size: .87rem;
    line-height: 1.45;
}

.landing-resume-action {
    white-space: nowrap;
}

@media (max-width: 720px) {
    .landing-resume-section {
        margin-top: -.45rem;
    }

    .landing-resume-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: .8rem;
    }

    .landing-resume-action {
        grid-column: 1 / -1;
        width: 100%;
    }
}



/* =========================================================
   Phase 2.0F.5A.2 — supplied AutoBeslis wide logo asset
   Render the complete uploaded lockup as one responsive image.
   ========================================================= */
.autobeslis-hero-logo {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: min(100%, 44rem);
    max-width: 100%;
    margin-bottom: 1.05rem;
    padding: clamp(.72rem, 1.4vw, 1rem) clamp(.85rem, 1.8vw, 1.25rem);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 .9rem 2rem rgba(15, 23, 42, .08);
    overflow: visible;
}

.autobeslis-hero-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 640px) {
    .autobeslis-hero-logo {
        padding: .68rem .72rem;
    }
}
