/* Make/model history pages (/vehicle-history). Light theme like the rest of the site layout. */
.vh-page {
    --vh-ink: #1f2a33;
    --vh-muted: #5b6770;
    --vh-line: #dde3e7;
    --vh-surface: #ffffff;
    --vh-accent: #ffcc00;
    --vh-radius: 10px;
    --vh-gap: 1rem;
    --vh-tile-min: 13.5rem;
    color: var(--vh-ink);
}

.vh-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--vh-tile-min)), 1fr));
    gap: var(--vh-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.vh-stat {
    background: var(--vh-surface);
    border: 1px solid var(--vh-line);
    border-top: 3px solid var(--vh-accent);
    border-radius: var(--vh-radius);
    padding: 1rem 1.1rem;
}

.vh-stat__label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--vh-muted);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.vh-stat__value {
    display: block;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: .25rem 0 .35rem;
}

.vh-stat__detail {
    display: block;
    font-size: .875rem;
    color: var(--vh-muted);
}

.vh-methodology {
    font-size: .9rem;
    color: var(--vh-muted);
}

.vh-table {
    background: var(--vh-surface);
}

.vh-table th[scope="row"] a,
.vh-links a {
    font-weight: 600;
}

.vh-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: .5rem var(--vh-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.vh-links a {
    display: inline-block;
    min-height: 44px;
    padding: .6rem 0;
}

.vh-links__detail {
    color: var(--vh-muted);
    font-size: .875rem;
    margin-left: .35rem;
}

.vh-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: var(--vh-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.vh-check {
    background: var(--vh-surface);
    border: 1px solid var(--vh-line);
    border-radius: var(--vh-radius);
    padding: 1rem 1.1rem;
}

.vh-check h3 {
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.vh-page a:focus-visible {
    outline: 3px solid #1f6feb;
    outline-offset: 2px;
}
