.stb-valuation {
    --stb-site-dark: #0b1020;
    --stb-site-navy: #182034;
    --stb-ink: #111827;
    --stb-muted: #61708a;
    --stb-line: #dbe5f0;
    --stb-panel: #f6f9fc;
    --stb-soft: #edf3f8;
    --stb-accent: #ff5638;
    --stb-accent-dark: #e94429;
    --stb-success: #2f8f4e;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--stb-ink);
}

.stb-payment-methods {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px auto 0;
    pointer-events: none;
}

.stb-valuation[data-current-state="details"] .stb-payment-methods {
    display: flex;
}

.stb-payment-methods img {
    display: block;
    width: auto;
    height: 28px;
    max-width: 82px;
    object-fit: contain;
}

@media (max-width: 520px) {
    .stb-payment-methods {
        gap: 9px;
    }

    .stb-payment-methods img {
        height: 23px;
        max-width: 68px;
    }
}

.stb-valuation[data-primary-color] {
    color: var(--stb-ink);
}

.stb-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-radius: 24px;
    border: 1px solid rgba(219, 229, 240, 0.9);
    box-shadow: 0 24px 70px rgba(11, 16, 32, 0.18);
}

.stb-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #8ba0bc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.stb-progress {
    height: 8px;
    overflow: hidden;
    background: var(--stb-soft);
    border-radius: 999px;
}

.stb-progress span {
    display: block;
    width: 20%;
    height: 100%;
    background: var(--stb-accent);
    border-radius: inherit;
    transition: width 180ms ease;
}

.stb-form {
    border-top: 1px solid #edf1f6;
    margin-top: 18px;
    padding-top: 28px;
}

.stb-step {
    display: none;
}

.stb-step.is-active {
    display: block;
}

.stb-step h2 {
    margin: 0 0 8px;
    color: var(--stb-site-dark);
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: 0;
}

.stb-step p {
    margin: 0 0 26px;
    color: var(--stb-muted);
    font-size: 15px;
}

.stb-asset-card {
    margin-bottom: 24px;
    padding: 0 0 4px;
    text-align: center;
}

.stb-valuation.is-asset-form-open .stb-asset-card {
    display: none !important;
}

.stb-asset-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.stb-asset-badges span,
.stb-asset-badges strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.stb-asset-badges span {
    background: var(--stb-success);
    color: #fff;
}

.stb-asset-badges strong {
    border: 1px solid #f4c95d;
    background: #fff3c4;
    color: #92400e;
}

.stb-asset-card h2 {
    max-width: 640px;
    margin: 0 auto 12px;
    color: var(--stb-site-dark);
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: 0;
}

.stb-asset-card h2 span {
    color: var(--stb-success);
}

.stb-asset-card > p {
    margin: 0 0 24px;
    color: #42672c;
    font-size: 16px;
    font-weight: 800;
}

.stb-asset-preview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px dashed #cad7e6;
    border-left: 4px solid var(--stb-success);
    border-radius: 8px;
    background: #f8fbff;
    text-align: left;
}

.stb-asset-preview-icon {
    width: 26px;
    height: 32px;
    border: 2px solid #9db0c5;
    border-radius: 4px;
    background: linear-gradient(180deg, #eef4fb 0%, #dfeaf4 100%);
    position: relative;
}

.stb-asset-preview-icon::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 9px;
    height: 2px;
    background: #9db0c5;
    box-shadow: 0 6px 0 #9db0c5, 0 12px 0 #9db0c5;
}

.stb-asset-preview strong,
.stb-asset-preview small {
    display: block;
}

.stb-sample-report-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.stb-sample-report-link:hover strong,
.stb-sample-report-link:focus-visible strong {
    color: var(--stb-success);
}

.stb-asset-preview strong {
    color: #08152f;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-asset-preview small {
    margin-top: 5px;
    color: #64748b;
    font-size: 13px;
}

.stb-asset-preview span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #86efac;
    border-radius: 5px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.stb-asset-checklist {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.stb-asset-checklist ul,
.stb-asset-checklist ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stb-asset-checklist li,
.stb-asset-checklist div {
    position: relative;
    padding-left: 30px;
    color: #26384f;
    font-size: 15px;
    line-height: 1.45;
}

.stb-asset-checklist li::before,
.stb-asset-checklist div::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #68aa58;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
}

.stb-asset-checklist strong {
    color: #172033;
}

.stb-asset-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stb-asset-pills div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e7c7a5;
    border-left: 3px solid #4f6f34;
    border-radius: 8px;
    background: #fffaf4;
    color: #172033;
    font-size: 14px;
    text-align: left;
}

.stb-asset-pills div:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 7px);
}

.stb-asset-note {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.stb-vin-fields {
    margin-top: 4px;
}

.stb-asset-form-fields {
    margin-top: 22px;
}

.stb-valuation.is-asset-form-open .stb-asset-form-fields {
    margin-top: 0;
}

.stb-asset-form-fields[hidden] {
    display: none !important;
}

.stb-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 4px;
    margin-bottom: 26px;
    background: #edf3fa;
    border: 1px solid var(--stb-line);
    border-radius: 12px;
}

.stb-tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--stb-muted);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.stb-tabs button.is-active {
    background: #fff;
    color: var(--stb-site-dark);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.stb-tabs button:hover {
    color: var(--stb-accent-dark);
}

.stb-tabs span::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 8px;
    vertical-align: -2px;
    background: currentColor;
    mask: linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 6px, transparent 6px 8px, #000 8px 10px, transparent 10px 12px, #000 12px);
}

.stb-lookup-panel {
    display: none;
}

.stb-lookup-panel.is-active {
    display: block;
}

.stb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stb-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stb-form label {
    display: block;
    margin-bottom: 24px;
    color: #41506a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
}

.stb-form input,
.stb-form select,
.stb-form textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 13px 16px;
    border: 1px solid #d5e0ec;
    border-radius: 12px;
    background: #f5f8fc;
    color: var(--stb-site-dark);
    font: inherit;
    font-size: 16px;
    letter-spacing: 0;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.stb-form input::placeholder,
.stb-form textarea::placeholder {
    color: #7f8da3;
    opacity: 1;
}

.stb-form textarea {
    resize: vertical;
}

.stb-form input:focus,
.stb-form select:focus,
.stb-form textarea:focus {
    border-color: var(--stb-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 86, 56, 0.14);
}

.stb-form .has-error {
    border-color: #dc2626;
    background: #fff7f7;
}

.stb-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stb-summary div,
.stb-offer-box {
    padding: 18px;
    border: 1px solid var(--stb-line);
    border-radius: 8px;
    background: var(--stb-panel);
}

.stb-summary span,
.stb-offer-box span,
.stb-offer-box small {
    display: block;
    color: var(--stb-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.stb-summary strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.stb-offer-box strong {
    display: block;
    margin: 8px 0;
    color: var(--stb-accent-dark);
    font-size: 40px;
    line-height: 1.1;
}

.stb-api-debug {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #eef6ff;
    color: #25527a;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.stb-api-debug.is-connected {
    background: #ecfdf3;
    color: #166534;
}

.stb-api-debug.is-fallback {
    background: #fff7ed;
    color: #9a3412;
}

.stb-report-panel {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--stb-line);
    border-radius: 8px;
    background: #fff;
}

.stb-report-head,
.stb-report-grid span,
.stb-report-list span {
    color: var(--stb-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-report-head {
    margin-bottom: 12px;
    color: #41506a;
}

.stb-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.stb-report-grid div {
    min-width: 0;
    padding: 12px;
    border-radius: 8px;
    background: var(--stb-panel);
}

.stb-report-grid strong,
.stb-report-list strong {
    display: block;
    margin-top: 4px;
    color: #243349;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.stb-report-list {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #fff7ed;
}

.stb-report-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.stb-report-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: #eef4fa;
    color: #25527a;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.stb-payment-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #ffd3c9;
    border-radius: 8px;
    background: #fff7f4;
}

.stb-payment-panel span {
    display: block;
    color: var(--stb-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-payment-panel strong {
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 20px;
    line-height: 1.25;
}

.stb-payment-panel p {
    margin: 8px 0 0;
    color: #546783;
    font-size: 14px;
    line-height: 1.5;
}

.stb-payment-panel small {
    display: block;
    margin-top: 8px;
    color: var(--stb-accent-dark);
    font-size: 14px;
    font-weight: 900;
}

.stb-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.stb-payment-actions em {
    color: #9a3412;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.stb-payment-button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--stb-accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.stb-payment-button:hover,
.stb-payment-button:focus {
    background: var(--stb-accent-dark);
}

.stb-payment-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.stb-payment-return {
    margin: 22px 0 0;
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #f0fdf4;
}

.stb-payment-exclusive .stb-payment-return {
    margin: 0;
}

.stb-payment-return.is-error {
    border-color: #fecaca;
    background: #fff7f7;
}

.stb-payment-return.is-pending {
    border-color: #fed7aa;
    background: #fff7ed;
}

.stb-payment-return span {
    display: block;
    color: #15803d;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-payment-return.is-error span {
    color: #b91c1c;
}

.stb-payment-return.is-pending span {
    color: #c2410c;
}

.stb-payment-return strong {
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 20px;
    line-height: 1.25;
}

.stb-payment-return p {
    margin: 8px 0 0;
    color: #546783;
    font-size: 14px;
    line-height: 1.5;
}

.stb-payment-return a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 12px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--stb-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.stb-payment-loader {
    width: 28px;
    height: 28px;
    margin-top: 14px;
    border: 3px solid #fed7aa;
    border-top-color: var(--stb-accent);
    border-radius: 50%;
    animation: stb-payment-spin 0.8s linear infinite;
}

@keyframes stb-payment-spin {
    to {
        transform: rotate(360deg);
    }
}

.stb-errors {
    min-height: 20px;
    margin: 10px 0;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 700;
}

.stb-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.stb-actions [hidden],
.stb-actions .is-hidden {
    display: none !important;
}

.stb-valuation .stb-primary,
.stb-valuation .stb-secondary {
    box-sizing: border-box;
    min-height: 62px;
    padding: 0 28px;
    border: 0;
    border-radius: 30px;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.stb-valuation .stb-primary {
    flex: 1;
    border: 0 !important;
    background: var(--stb-accent) !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 20px 35px rgba(255, 86, 56, 0.28);
    text-shadow: none;
    opacity: 1;
}

.stb-valuation .stb-primary::before,
.stb-valuation .stb-primary::after {
    display: none !important;
    content: none !important;
}

.stb-valuation .stb-primary:hover,
.stb-valuation .stb-primary:focus {
    background: var(--stb-accent-dark) !important;
    background-image: none !important;
    color: #fff !important;
}

.stb-valuation .stb-primary:disabled {
    cursor: wait;
    opacity: 0.75;
}

.stb-valuation .stb-secondary {
    background: #e8eef5;
    color: #30415a;
}

.stb-valuation .stb-footnote {
    margin: 26px 0 0;
    color: #000;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 640px) {
    .stb-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .stb-topline,
    .stb-grid,
    .stb-grid-3,
    .stb-summary,
    .stb-payment-panel,
    .stb-report-grid {
        grid-template-columns: 1fr;
    }

    .stb-payment-actions {
        justify-content: stretch;
    }

    .stb-payment-button {
        width: 100%;
    }

    .stb-topline {
        display: grid;
    }

    .stb-tabs {
        grid-template-columns: 1fr;
    }

    .stb-offer-box strong {
        font-size: 31px;
    }

    .stb-asset-card h2 {
        font-size: 30px;
    }

    .stb-asset-preview,
    .stb-asset-pills {
        grid-template-columns: 1fr;
    }

    .stb-asset-pills div:nth-child(3):last-child {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
    }

    .stb-asset-preview {
        text-align: center;
        justify-items: center;
    }

    .stb-actions {
        flex-direction: column;
    }

    .stb-valuation .stb-primary,
    .stb-valuation .stb-secondary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 14px 18px;
        font-size: 16px;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Consolidated VIN order, summary/purchase, and on-screen report flow. */
.stb-order-form-fields[hidden],
.stb-order-form-fields [data-vin-stage][hidden],
.stb-order-form-fields [data-vehicle-stage][hidden],
.stb-order-form-fields [data-details-stage][hidden],
.stb-summary-purchase[hidden],
.stb-full-report[hidden] {
    display: none !important;
}

.stb-order-form-fields {
    margin-top: 8px;
}

.stb-verified-vehicle {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--stb-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(11, 16, 32, 0.09);
}

.stb-verified-vehicle-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 92px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f1f6fb, #dfe9f3);
    color: #7890aa;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.stb-verified-vehicle-title,
.stb-verified-vehicle-vin {
    display: block;
}

.stb-verified-vehicle-title {
    color: var(--stb-site-dark);
    font-size: 20px;
    line-height: 1.3;
}

.stb-verified-vehicle-vin {
    margin-top: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--stb-line);
    color: var(--stb-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.stb-verified-vehicle-specs {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.stb-verified-vehicle-specs > div {
    display: grid;
    grid-template-columns: minmax(90px, 0.45fr) minmax(0, 1fr);
    gap: 12px;
    color: #4f6078;
    font-size: 14px;
    line-height: 1.4;
}

.stb-verified-vehicle-specs span {
    color: var(--stb-site-dark);
    font-weight: 800;
}

.stb-verified-vehicle-message {
    margin: 14px 0 0;
    color: var(--stb-muted);
    font-size: 14px;
    line-height: 1.5;
}

.stb-valuation .stb-change-vin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 14px;
    padding: 0 24px;
    border: 2px solid #FFE921 !important;
    border-radius: 999px;
    background: #FBDB00 !important;
    background-image: none !important;
    color: #000 !important;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}

.stb-valuation .stb-change-vin:hover,
.stb-valuation .stb-change-vin:focus-visible {
    border-color: var(--e-global-color-primary, #537636) !important;
    background: var(--e-global-color-primary, #537636) !important;
    background-image: none !important;
    color: #fff !important;
    text-decoration: none;
}

.stb-form-section-heading {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--stb-line);
}

.stb-form-section-heading h3,
.stb-result-heading h2,
.stb-report-document-header h2,
.stb-full-report-section-heading h3 {
    margin: 0;
    color: var(--stb-site-dark);
}

.stb-form-section-heading h3 {
    font-size: 20px;
    line-height: 1.25;
}

.stb-form-section-heading p,
.stb-result-heading p,
.stb-report-section-copy {
    margin: 5px 0 0;
    color: var(--stb-muted);
    font-size: 14px;
    line-height: 1.55;
}

.stb-contact-heading {
    margin-top: 24px;
}

.stb-summary-purchase,
.stb-full-report {
    animation: stb-report-fade 180ms ease-out;
}

.stb-result-heading {
    margin-bottom: 16px;
}

.stb-result-heading > span,
.stb-report-document-header > div:first-child > span {
    display: block;
    margin-bottom: 5px;
    color: var(--stb-success);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-result-heading h2 {
    font-size: 28px;
    line-height: 1.2;
}

.stb-valuation[data-current-state="summary_purchase"] .stb-card {
    max-width: 860px;
}

.stb-valuation[data-current-state="report_unlocked"] .stb-card,
.stb-valuation[data-current-state="payment_pending"] .stb-card {
    max-width: 1080px;
}

.stb-report-unlock-banner {
    margin: 0 0 18px;
}

.stb-report-document {
    overflow: hidden;
    border: 1px solid var(--stb-line);
    border-radius: 14px;
    background: #fff;
}

.stb-report-document-header {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
    padding: 24px;
    background: var(--stb-site-dark);
    color: #fff;
}

.stb-report-document-header > div:first-child > span {
    color: #ffb3a5;
}

.stb-report-document-header h2 {
    color: #fff;
    font-size: 27px;
    line-height: 1.2;
}

.stb-report-document-header p {
    margin: 7px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.stb-report-document-actions {
    flex: 0 0 auto;
}

.stb-report-document-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--stb-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.stb-report-document-actions a:hover,
.stb-report-document-actions a:focus {
    background: var(--stb-accent-dark);
    color: #fff;
}

.stb-full-report-section {
    padding: 22px 24px;
    border-top: 1px solid var(--stb-line);
}

.stb-full-report-section:first-of-type {
    border-top: 0;
}

.stb-full-report-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 13px;
}

.stb-full-report-section-heading h3 {
    font-size: 21px;
    line-height: 1.25;
}

.stb-full-report-section-heading span {
    color: var(--stb-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: right;
}

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

.stb-full-report-grid > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5ebf2;
    border-radius: 8px;
    background: var(--stb-panel);
}

.stb-full-report-grid span {
    display: block;
    color: var(--stb-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-full-report-grid strong {
    display: block;
    margin-top: 5px;
    color: #243349;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.stb-report-subsection-title {
    margin: 18px 0 9px;
    color: #334155;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-report-summary-callout {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-left: 4px solid var(--stb-accent);
    border-radius: 6px;
    background: #fff7f4;
}

.stb-report-summary-callout strong {
    color: #172033;
    font-size: 16px;
}

.stb-report-summary-callout p {
    margin: 5px 0 0;
    color: #546783;
    font-size: 13px;
    line-height: 1.5;
}

.stb-report-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.stb-full-report-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    table-layout: auto;
}

.stb-full-report-table th,
.stb-full-report-table td {
    padding: 10px 11px;
    border-bottom: 1px solid #e3e9f0;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.stb-full-report-table th {
    background: #eaf0f7;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.stb-full-report-table tbody tr:nth-child(even) td {
    background: #fbfcfe;
}

.stb-full-report-empty,
.stb-report-note {
    padding: 12px 14px;
    border-radius: 7px;
    background: #f6f8fb;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.stb-report-note {
    margin-top: 12px;
    border-left: 3px solid #f59e0b;
    background: #fff7ed;
    color: #92400e;
}

.stb-report-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.stb-report-chips span {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid #dbe5f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
}

.stb-report-legal p {
    margin: 0 0 9px;
    color: #546783;
    font-size: 12px;
    line-height: 1.6;
}

@keyframes stb-report-fade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .stb-verified-vehicle {
        grid-template-columns: 1fr;
    }

    .stb-verified-vehicle-visual {
        width: 100%;
        height: 76px;
    }

    .stb-report-document-header,
    .stb-full-report-section-heading {
        display: block;
    }

    .stb-report-document-actions {
        margin-top: 14px;
    }

    .stb-report-document-actions a {
        width: 100%;
    }

    .stb-full-report-grid {
        grid-template-columns: 1fr;
    }

    .stb-full-report-section-heading span {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

    .stb-full-report-section {
        padding: 18px 15px;
    }

    .stb-report-document-header {
        padding: 20px 15px;
    }
}
