.vce-term-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:22px 0}
.vce-term-card{display:block;border:1px solid #e5e5e5;border-radius:14px;padding:16px;background:#fff;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.04);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.vce-term-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.08);border-color:#d0d0d0;text-decoration:none}
.vce-term-card strong{display:block;font-size:1.05rem;line-height:1.25;color:#111;margin-bottom:6px}
.vce-term-card span{display:block;font-size:.92rem;color:#666}
.vce-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin:24px 0}
.vce-catalog-card{border:1px solid #e6e6e6;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.045);display:flex;flex-direction:column;min-height:100%}
.vce-catalog-thumb{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:#f3f4f6;text-decoration:none;overflow:hidden}
.vce-catalog-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.vce-catalog-noimage{font-weight:700;letter-spacing:.03em;color:#777;text-transform:uppercase;font-size:.9rem}
.vce-catalog-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.vce-catalog-kicker{font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#666;font-weight:700}
.vce-catalog-title{font-size:1.12rem;line-height:1.25;margin:0}
.vce-catalog-title a{text-decoration:none;color:#111}
.vce-catalog-title a:hover{text-decoration:underline}
.vce-catalog-version{margin:0;color:#555;font-size:.95rem}
.vce-catalog-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 10px}
.vce-catalog-facts div{border:1px solid #ededed;border-radius:10px;padding:8px;background:#fafafa}
.vce-catalog-facts dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#777;margin:0 0 2px;font-weight:700}
.vce-catalog-facts dd{font-size:.92rem;color:#222;margin:0;font-weight:600}
.vce-catalog-button{display:inline-flex;align-items:center;justify-content:center;margin-top:auto;border-radius:999px;padding:9px 14px;border:1px solid #111;background:#111;color:#fff;text-decoration:none;font-weight:700;font-size:.92rem}
.vce-catalog-button:hover{color:#fff;text-decoration:none;filter:brightness(1.1)}
.vce-empty{padding:14px 16px;border:1px solid #eee;border-radius:12px;background:#fafafa}
.vce-vehicle-card{border-radius:12px}
@media (max-width:600px){.vce-catalog-facts{grid-template-columns:1fr}.vce-term-grid,.vce-catalog-grid{gap:14px}}
.vce-catalog-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end;margin:18px 0 22px;padding:16px;border:1px solid #e7e7e7;border-radius:16px;background:#fafafa}
.vce-catalog-filters label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:.92rem;color:#333;font-weight:700}
.vce-catalog-filters input,.vce-catalog-filters select{width:100%;min-height:40px;border:1px solid #d9d9d9;border-radius:10px;padding:8px 10px;background:#fff;color:#111;font:inherit}
.vce-catalog-filters button,.vce-catalog-reset{min-height:40px;border-radius:999px;padding:9px 14px;text-align:center;text-decoration:none;font-weight:700;font-size:.92rem}
.vce-catalog-filters button{border:1px solid #111;background:#111;color:#fff;cursor:pointer}
.vce-catalog-reset{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d0d0d0;background:#fff;color:#222}
.vce-catalog-reset:hover{text-decoration:none;background:#f2f2f2;color:#111}
@media (max-width:600px){.vce-catalog-filters{grid-template-columns:1fr}}


.vce-archive-page{max-width:1180px;margin:0 auto;padding:0 18px 34px}
.vce-catalog-hero{margin:18px 0 24px;border-radius:24px;background:linear-gradient(135deg,#111827,#374151);color:#fff;overflow:hidden}
.vce-catalog-hero-inner{padding:34px 28px}
.vce-catalog-eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#d1d5db;font-size:.82rem}
.vce-catalog-hero h1{margin:0 0 10px;color:#fff;font-size:clamp(2rem,4vw,3.1rem);line-height:1.05}
.vce-catalog-lead{max-width:780px;margin:0;color:#f3f4f6;font-size:1.08rem;line-height:1.55}
.vce-catalog-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.vce-catalog-stats span{display:inline-flex;gap:6px;align-items:baseline;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);border-radius:999px;padding:8px 13px;color:#f9fafb}
.vce-catalog-stats strong{font-size:1.08rem;color:#fff}
.vce-catalog-section{margin:26px 0;padding:22px;border:1px solid #ececec;border-radius:20px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.035)}
.vce-catalog-section h2{margin:0 0 6px;font-size:1.35rem;line-height:1.25;color:#111}
.vce-catalog-section>p{margin:0 0 14px;color:#555}
.vce-quick-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.vce-quick-links a{display:inline-flex;align-items:center;border:1px solid #d8d8d8;border-radius:999px;padding:9px 14px;text-decoration:none;background:#fafafa;color:#111;font-weight:700}
.vce-quick-links a:hover{text-decoration:none;background:#111;color:#fff;border-color:#111}
@media (max-width:700px){.vce-archive-page{padding:0 12px 26px}.vce-catalog-hero-inner,.vce-catalog-section{padding:18px}.vce-catalog-stats{display:grid;grid-template-columns:1fr 1fr}.vce-catalog-stats span{justify-content:center}}

/* v0.3.17-clean: catálogo mais compacto, ordenação, filtros adicionais e paginação */
.vce-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.vce-catalog-card{border-radius:15px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.vce-catalog-thumb{aspect-ratio:16/8.7;min-height:130px;background:linear-gradient(135deg,#f4f5f7,#eceff3)}
.vce-catalog-noimage{font-size:.82rem;color:#6b7280}
.vce-catalog-body{padding:14px;gap:7px}
.vce-catalog-kicker{font-size:.75rem;line-height:1.2}
.vce-catalog-title{font-size:1.02rem;line-height:1.22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.45em}
.vce-catalog-version{font-size:.88rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.2em}
.vce-catalog-facts{gap:7px;margin:6px 0 8px}
.vce-catalog-facts div{padding:7px;border-radius:9px;min-height:50px}
.vce-catalog-facts dt{font-size:.66rem;line-height:1.1}
.vce-catalog-facts dd{font-size:.86rem;line-height:1.2}
.vce-catalog-button{padding:8px 12px;font-size:.88rem}
.vce-catalog-filters{grid-template-columns:1.2fr repeat(6,minmax(135px,1fr));gap:10px;padding:14px;margin:16px 0 18px}
.vce-catalog-filters label{font-size:.84rem;gap:4px}
.vce-catalog-filters input,.vce-catalog-filters select{min-height:38px;border-radius:9px;font-size:.9rem}
.vce-filter-search{grid-column:span 1}
.vce-results-bar{display:flex;justify-content:space-between;align-items:center;margin:2px 0 14px;color:#4b5563;font-size:.92rem;font-weight:700}
.vce-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:24px 0 4px}
.vce-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border:1px solid #d8d8d8;border-radius:999px;padding:7px 12px;text-decoration:none;background:#fff;color:#111;font-weight:700}
.vce-pagination .page-numbers.current,.vce-pagination .page-numbers:hover{background:#111;color:#fff;border-color:#111;text-decoration:none}
@media (max-width:1100px){.vce-catalog-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}}
@media (max-width:700px){.vce-catalog-grid{grid-template-columns:1fr}.vce-catalog-filters{grid-template-columns:1fr}.vce-catalog-title,.vce-catalog-version{min-height:0}.vce-catalog-thumb{min-height:120px}}

/* v0.3.19-clean: alinhamento com a estrutura do tema Newsxo/WordPress */
.vce-theme-wrap{width:100%;padding:24px 0 34px;clear:both}
.vce-theme-container{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;box-sizing:border-box}
.vce-theme-row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px;align-items:flex-start}
.vce-theme-primary,.vce-theme-sidebar{box-sizing:border-box;padding-left:15px;padding-right:15px;min-width:0}
.vce-theme-primary{width:100%;max-width:100%}
.vce-theme-sidebar{width:100%;max-width:100%;margin-top:28px}
@media (min-width:992px){.vce-theme-primary{flex:0 0 66.666667%;max-width:66.666667%}.vce-theme-sidebar{flex:0 0 33.333333%;max-width:33.333333%;margin-top:0}}
.vce-theme-aligned{max-width:none;margin:0;padding:0 0 28px}
.vce-theme-card{border-radius:12px;border:1px solid #e5e7eb;background:#fff;box-shadow:none}
.vce-theme-aligned .vce-catalog-hero{margin:0 0 22px;background:#fff;color:#111;overflow:hidden;border-top:4px solid #ef233c}
.vce-theme-aligned .vce-catalog-hero-inner{padding:24px 24px 22px}
.vce-theme-aligned .vce-catalog-eyebrow{color:#ef233c;margin-bottom:6px}
.vce-theme-aligned .vce-catalog-hero h1{color:#111;font-size:clamp(1.75rem,3vw,2.35rem);line-height:1.15;margin-bottom:8px}
.vce-theme-aligned .vce-catalog-lead{color:#4b5563;font-size:1rem;max-width:760px}
.vce-theme-aligned .vce-catalog-stats span{border-color:#e5e7eb;background:#f9fafb;color:#111}
.vce-theme-aligned .vce-catalog-stats strong{color:#111}
.vce-theme-aligned .vce-catalog-section{margin:0 0 22px;padding:20px;border-radius:12px;box-shadow:none}
.vce-theme-aligned .vce-catalog-section h2{font-size:1.25rem}
.vce-theme-aligned .vce-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.vce-theme-aligned .vce-catalog-card{border-radius:12px;box-shadow:none}
.vce-theme-aligned .vce-catalog-thumb{min-height:112px}
.vce-theme-aligned .vce-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:12px;background:#fff;padding:14px}
.vce-theme-aligned .vce-catalog-filters .vce-filter-search{grid-column:1 / -1}
.vce-theme-aligned .vce-catalog-filters button,.vce-theme-aligned .vce-catalog-reset,.vce-theme-aligned .vce-catalog-button{border-radius:6px}
.vce-theme-aligned .vce-term-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px}
.vce-theme-aligned .vce-term-card{border-radius:10px;box-shadow:none;padding:13px}
.vce-theme-sidebar .widget,.vce-theme-sidebar section{max-width:100%}
@media (min-width:1200px){.vce-theme-aligned .vce-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:991px){.vce-theme-wrap{padding-top:18px}.vce-theme-aligned .vce-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
@media (max-width:600px){.vce-theme-row{margin-left:0;margin-right:0}.vce-theme-primary,.vce-theme-sidebar{padding-left:0;padding-right:0}.vce-theme-aligned .vce-catalog-hero-inner,.vce-theme-aligned .vce-catalog-section{padding:16px}.vce-theme-aligned .vce-catalog-filters{grid-template-columns:1fr}.vce-theme-aligned .vce-catalog-grid{grid-template-columns:1fr}}

/* v0.3.20-clean: ficha singular mais profissional e alinhada com o tema */
.vce-vehicle-page{margin:26px 0 34px;clear:both}
.vce-vehicle-summary{display:grid;grid-template-columns:minmax(220px,34%) 1fr;gap:20px;margin:22px 0;padding:20px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.vce-vehicle-summary-media{display:flex;align-items:center;justify-content:center;min-height:190px;border-radius:10px;background:linear-gradient(135deg,#f4f5f7,#eceff3);overflow:hidden;color:#6b7280;text-transform:uppercase;font-weight:800;letter-spacing:.05em}
.vce-vehicle-summary-media img{width:100%;height:100%;object-fit:cover;display:block}
.vce-vehicle-summary-body{min-width:0}
.vce-vehicle-kicker{margin:0 0 6px;color:#ef233c;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:800}
.vce-vehicle-summary h2,.vce-ficha-tecnica>h2,.vce-vehicle-related h2{margin:0 0 10px;color:#111;font-size:1.35rem;line-height:1.2}
.vce-vehicle-years{margin:0 0 14px;color:#4b5563;font-weight:600}
.vce-vehicle-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0}
.vce-vehicle-highlights div{padding:10px;border:1px solid #ececec;border-radius:10px;background:#fafafa}
.vce-vehicle-highlights dt{margin:0 0 3px;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:800}
.vce-vehicle-highlights dd{margin:0;color:#111;font-weight:800;line-height:1.25}
.vce-ficha-tecnica{margin:24px 0;padding:20px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.vce-ft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.vce-ft-section{border:1px solid #ececec;border-radius:10px;background:#fff;overflow:hidden}
.vce-ft-section h3{margin:0;padding:11px 13px;background:#f9fafb;border-bottom:1px solid #ececec;font-size:1rem;color:#111}
.vce-ft-section dl{margin:0}
.vce-ft-section div{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:9px 13px;border-bottom:1px solid rgba(0,0,0,.06)}
.vce-ft-section div:last-child{border-bottom:0}
.vce-ft-section dt{color:#6b7280;font-weight:700;font-size:.88rem}
.vce-ft-section dd{margin:0;text-align:right;color:#111;font-weight:700;font-size:.9rem}
.vce-vehicle-related{margin:24px 0;padding:20px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.vce-vehicle-related div{display:flex;flex-wrap:wrap;gap:10px}
.vce-vehicle-related a{display:inline-flex;align-items:center;border:1px solid #d8d8d8;border-radius:6px;padding:9px 13px;text-decoration:none;background:#fafafa;color:#111;font-weight:700}
.vce-vehicle-related a:hover{background:#111;color:#fff;border-color:#111;text-decoration:none}
@media (max-width:760px){.vce-vehicle-summary{grid-template-columns:1fr;padding:16px}.vce-ficha-tecnica,.vce-vehicle-related{padding:16px}.vce-ft-section div{grid-template-columns:1fr}.vce-ft-section dd{text-align:left}.vce-vehicle-summary-media{min-height:150px}}

/* v0.3.21 - viaturas relacionadas na ficha individual */
.vce-vehicle-related-list {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
}
.vce-vehicle-related-list h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
}
.vce-vehicle-related-list p {
    margin: 0 0 18px;
    color: #5f6875;
}
.vce-related-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.vce-related-vehicle-card a {
    display: block;
    min-height: 100%;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    background: #fafafa;
    color: inherit;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.vce-related-vehicle-card a:hover,
.vce-related-vehicle-card a:focus {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
.vce-related-kicker,
.vce-related-meta {
    display: block;
    color: #6b7280;
    font-size: .86rem;
}
.vce-related-kicker {
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
}
.vce-related-vehicle-card strong {
    display: block;
    margin-bottom: 8px;
    line-height: 1.2;
}
@media (max-width: 700px) {
    .vce-related-vehicle-grid { grid-template-columns: 1fr; }
}


/* v0.3.22 - Breadcrumbs e navegação SEO */
.vce-breadcrumbs {
    font-size: 0.92rem;
    margin: 0 0 18px;
    padding: 10px 0;
    color: #666;
}

.vce-breadcrumbs a {
    text-decoration: none;
}

.vce-breadcrumb-sep {
    display: inline-block;
    margin: 0 8px;
    color: #999;
}

.vce-seo-navigation {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.vce-seo-block {
    margin-bottom: 22px;
}

.vce-seo-block h2 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.vce-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vce-seo-links a {
    display: inline-block;
    padding: 7px 11px;
    border: 1px solid #ddd;
    border-radius: 999px;
    text-decoration: none;
    background: #fff;
    font-size: 0.92rem;
}

.vce-seo-links a:hover {
    background: #f5f5f5;
}


/* v0.3.23 - Correção de alinhamento dos breadcrumbs */
.vce-breadcrumbs {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #666;
}

.vce-breadcrumbs a {
    text-decoration: none;
    font-weight: 600;
}

.vce-breadcrumb-sep {
    display: inline-block;
    margin: 0 7px;
    color: #999;
}

.vce-content .vce-breadcrumbs,
.vce-catalog-wrap .vce-breadcrumbs,
.vce-theme-main .vce-breadcrumbs,
.site-main .vce-breadcrumbs {
    margin-left: 0;
    margin-right: 0;
}


/* v0.3.24 - Comparador de viaturas */
.vce-comparator {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
}

.vce-comparator-intro {
    margin-bottom: 18px;
    color: #555;
}

.vce-comparator-form {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
}

.vce-comparator-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.vce-comparator-selects label {
    display: block;
    font-weight: 700;
}

.vce-comparator-select {
    width: 100%;
    margin-top: 6px;
    min-height: 42px;
}

.vce-comparator-submit {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 11px 22px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

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

.vce-comparator-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.vce-comparator-table th,
.vce-comparator-table td {
    padding: 12px;
    border: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: top;
}

.vce-comparator-table thead th {
    background: #f5f5f5;
}

.vce-comparator-table tbody th {
    width: 180px;
    background: #fafafa;
}

.vce-comparator-empty {
    padding: 16px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    color: #555;
}

@media (max-width: 768px) {
    .vce-comparator-selects {
        grid-template-columns: 1fr;
    }
}


/* v0.3.25.2 - Comparador seguro */
.vce-comparator-table tbody tr:nth-child(even) td,
.vce-comparator-table tbody tr:nth-child(even) th {
    background: #fafafa;
}

.vce-comparator-table td {
    font-weight: 600;
}


/* v0.3.27 - Seleção rápida para comparador */
.vce-compare-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    width: 100%;
    border: 1px solid #111;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.2;
}

.vce-compare-toggle:hover,
.vce-compare-toggle.is-active {
    background: #111;
    color: #fff;
}

.vce-compare-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 9999;
    width: min(720px, calc(100% - 28px));
    transform: translate(-50%, 140%);
    transition: transform 0.22s ease;
    pointer-events: none;
}

.vce-compare-bar.is-visible {
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.vce-compare-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
}

.vce-compare-count {
    font-weight: 800;
}

.vce-compare-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vce-compare-clear,
.vce-compare-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 800;
    text-decoration: none;
}

.vce-compare-clear {
    border: 1px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.vce-compare-go {
    background: #fff;
    color: #111;
}

.vce-compare-go.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 640px) {
    .vce-compare-bar-inner {
        align-items: stretch;
        flex-direction: column;
        border-radius: 18px;
    }

    .vce-compare-actions {
        width: 100%;
    }

    .vce-compare-clear,
    .vce-compare-go {
        flex: 1;
    }
}


/* v0.3.27.1 - Hotfix barra comparador */
.vce-compare-toggle + .vce-compare-toggle {
    margin-left: 0;
}


/* v0.3.30 - Melhorias ficha técnica */
.vce-auto-highlights{margin:18px 0 24px;padding:18px 20px;border:1px solid #e5e5e5;border-radius:14px;background:#fff}
.vce-auto-highlights h2{margin-top:0;margin-bottom:12px;font-size:1.35rem}
.vce-auto-highlights ul{margin:0;padding-left:20px}
.vce-auto-highlights li{margin:6px 0;font-weight:700}
.vce-vehicle-highlights div dt,.vce-vehicle-highlights div dd{overflow-wrap:anywhere}


/* v0.3.30.1 - Comparador inteligente e qualidade pública */
.vce-comparator-table .vce-best-value {
    background: #fff8d8;
    font-weight: 900;
}

.vce-comparator-table .vce-best-value::after {
    content: " melhor";
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    vertical-align: middle;
}

.vce-data-quality-public {
    margin: 18px 0 24px;
    padding: 18px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
}

.vce-data-quality-public h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.vce-data-quality-public p {
    margin: 0 0 10px;
    color: #555;
}

.vce-data-quality-public ul {
    margin: 0;
    padding-left: 18px;
}


/* v0.3.39: Navegação SEO integrada no layout do catálogo/tema */
.vce-catalog-section-seo .vce-seo-navigation{
    margin-top:14px;
    padding-top:0;
    border-top:0;
}
.vce-catalog-section-seo .vce-seo-block{
    margin:0 0 16px;
}
.vce-catalog-section-seo .vce-seo-block:last-child{
    margin-bottom:0;
}
.vce-catalog-section-seo .vce-seo-block h2{
    font-size:1rem;
    margin:0 0 10px;
    color:#111;
}
.vce-catalog-section-seo .vce-seo-links a{
    color:#ef233c;
    background:#fff;
    border-color:#e5e7eb;
    font-weight:700;
}
.vce-catalog-section-seo .vce-seo-links a:hover{
    color:#fff;
    background:#ef233c;
    border-color:#ef233c;
}
body .vce-seo-navigation{
    box-sizing:border-box;
    max-width:100%;
    clear:both;
}

/* v0.3.42 — Comparador por blocos */
.vce-comparator-table .vce-comparator-section-row th {
  background: #f7f7f8;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: left;
  border-top: 2px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 14px;
  padding-bottom: 10px;
}
.vce-comparator-table-blocks tbody tr:not(.vce-comparator-section-row) th {
  background: #fafafa;
}

/* v0.3.44 — Fichas técnicas profissionais */
.vce-ficha-tecnica-pro{
  margin-top:28px;
  padding:22px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
}
.vce-ficha-tecnica-pro .vce-ft-eyebrow{
  margin:0 0 6px;
  color:#ef233c;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.vce-ficha-tecnica-pro h2{
  margin:0 0 8px;
}
.vce-ficha-tecnica-pro .vce-ft-intro{
  max-width:860px;
  margin:0 0 18px;
  color:#555;
}
.vce-ficha-tecnica-pro .vce-ft-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
.vce-ficha-tecnica-pro .vce-ft-section{
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.vce-ficha-tecnica-pro .vce-ft-section h3{
  margin:0;
  padding:13px 16px;
  background:#f8fafc;
  border-bottom:1px solid #e5e7eb;
  font-size:1rem;
}
.vce-ficha-tecnica-pro .vce-ft-section dl{
  margin:0;
  padding:4px 0;
}
.vce-ficha-tecnica-pro .vce-ft-section dl div{
  display:grid;
  grid-template-columns:minmax(120px,45%) 1fr;
  gap:12px;
  padding:10px 16px;
  border-bottom:1px solid #f1f5f9;
}
.vce-ficha-tecnica-pro .vce-ft-section dl div:last-child{
  border-bottom:0;
}
.vce-ficha-tecnica-pro dt{
  color:#64748b;
  font-size:.88rem;
}
.vce-ficha-tecnica-pro dd{
  margin:0;
  color:#111827;
  font-weight:700;
  text-align:right;
}
.vce-profile-bev .vce-ft-section h3,
.vce-profile-phev .vce-ft-section h3,
.vce-profile-hybrid .vce-ft-section h3{
  background:#f0fdf4;
}
.vce-profile-commercial .vce-ft-section h3{
  background:#fff7ed;
}
@media (max-width:640px){
  .vce-ficha-tecnica-pro{padding:16px;}
  .vce-ficha-tecnica-pro .vce-ft-section dl div{grid-template-columns:1fr;gap:4px;}
  .vce-ficha-tecnica-pro dd{text-align:left;}
}

/* v0.3.45 - pesquisa e filtros avançados */
.vce-catalog-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end}
.vce-catalog-filters .vce-filter-search{grid-column:span 2}
.vce-catalog-filters input[type=number]{appearance:textfield}
@media (max-width:760px){.vce-catalog-filters .vce-filter-search{grid-column:1 / -1}}

/* v0.3.48 - UX + SEO Premium: pesquisa compacta, estatísticas clicáveis e navegação contextual */
.vce-catalog-stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin-top:20px}
.vce-stat-card{display:block;border:1px solid #e5e7eb;border-radius:12px;padding:13px 14px;background:#f9fafb;color:#111;text-decoration:none;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.vce-stat-card strong{display:block;font-size:1.28rem;line-height:1.1;color:#111}
.vce-stat-card span{display:block;margin-top:2px;color:#4b5563;font-weight:800}
.vce-stat-card em{display:block;margin-top:7px;color:#ef233c;font-style:normal;font-size:.86rem;font-weight:800}
.vce-stat-card:hover{background:#fff;border-color:#ef233c;text-decoration:none;transform:translateY(-1px)}
.vce-catalog-filters-compact{display:block;padding:14px;margin:12px 0 16px}
.vce-compact-search-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.vce-catalog-filters-compact .vce-filter-search{grid-column:auto}
.vce-advanced-filters{margin-top:12px;border-top:1px solid #ececec;padding-top:10px}
.vce-advanced-filters summary{cursor:pointer;font-weight:800;color:#111;list-style:none;display:inline-flex;align-items:center;gap:6px;border:1px solid #ddd;border-radius:999px;padding:8px 13px;background:#fff}
.vce-advanced-filters summary::-webkit-details-marker{display:none}
.vce-advanced-filters summary:after{content:'▼';font-size:.72em;color:#ef233c}
.vce-advanced-filters[open] summary:after{content:'▲'}
.vce-advanced-filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;align-items:end;margin-top:12px}
.vce-advanced-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.vce-related-categories,.vce-catalog-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:12px}
.vce-related-categories a,.vce-catalog-tools a{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d8d8d8;border-radius:10px;padding:10px 12px;text-align:center;text-decoration:none;background:#fafafa;color:#111;font-weight:800}
.vce-related-categories a:hover,.vce-catalog-tools a:hover{background:#111;color:#fff;border-color:#111;text-decoration:none}
.vce-catalog-section-compact-search .vce-catalog-grid{margin-top:18px}
@media (max-width:600px){.vce-compact-search-row{grid-template-columns:1fr}.vce-catalog-stat-cards{grid-template-columns:1fr 1fr}.vce-related-categories,.vce-catalog-tools{grid-template-columns:1fr}.vce-advanced-filters-grid{grid-template-columns:1fr}}


/* v0.3.50 - Páginas de Marca Profissionais */
.vce-brand-hub{border-top:4px solid #ef233c}
.vce-brand-hub-head{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.vce-brand-hub-head h2{margin:.15rem 0 .45rem;font-size:clamp(1.5rem,3vw,2.15rem)}
.vce-brand-hub-head p{margin:0;color:#374151;font-weight:600}
.vce-brand-logo-fallback{min-width:112px;max-width:180px;min-height:72px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(135deg,#ffffff,#f8fafc);border:1px solid #dbe3ef;color:#0f172a;font-size:1rem;font-weight:900;line-height:1.1;box-shadow:0 10px 24px rgba(15,23,42,.06);padding:10px 14px}
.vce-brand-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:18px 0}
.vce-brand-stats div{border:1px solid #e5e7eb;border-radius:14px;background:#f9fafb;padding:13px 14px}
.vce-brand-stats strong{display:block;font-size:1.25rem;color:#111;line-height:1.15}
.vce-brand-stats span{display:block;color:#64748b;font-weight:800;margin-top:3px}
.vce-brand-subgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:16px}
.vce-brand-subsection{margin-top:16px}
.vce-brand-subsection h3{margin:0 0 10px;font-size:1.05rem}
.vce-brand-chip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.vce-brand-chip-grid a{display:block;border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff;text-decoration:none;color:#111}
.vce-brand-chip-grid a strong{display:block;color:#ef233c}
.vce-brand-chip-grid a span{display:block;margin-top:4px;color:#64748b;font-size:.9rem;font-weight:700}
.vce-brand-chip-grid a:hover{border-color:#ef233c;text-decoration:none;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.vce-brand-mini-list{display:flex;flex-wrap:wrap;gap:8px}
.vce-brand-mini-list a,.vce-brand-mini-list span{display:inline-flex;gap:6px;align-items:center;border:1px solid #e5e7eb;border-radius:999px;padding:8px 11px;background:#fff;color:#111;text-decoration:none;font-weight:800}
.vce-brand-mini-list a span,.vce-brand-mini-list span em{color:#64748b;font-style:normal;font-weight:900}
.vce-brand-mini-list a:hover{background:#111;color:#fff;text-decoration:none;border-color:#111}
.vce-brand-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #e5e7eb}
.vce-brand-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;padding:9px 14px;background:#ef233c;color:#fff;text-decoration:none;font-weight:900}
.vce-brand-actions a:nth-child(even){background:#111}
.vce-brand-actions a:hover{text-decoration:none;filter:brightness(.95)}
@media (max-width:640px){.vce-brand-hub-head{grid-template-columns:1fr}.vce-brand-logo-fallback{min-width:0;max-width:100%;width:auto;min-height:54px;font-size:.95rem;align-items:flex-start}.vce-brand-actions a{width:100%}}


/* v0.3.51 - Páginas de Modelo Profissionais */
.vce-model-hub{border-top:4px solid #111}
.vce-model-hub-head{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.vce-model-hub-head h2{margin:.15rem 0 .45rem;font-size:clamp(1.5rem,3vw,2.15rem)}
.vce-model-hub-head p{margin:0;color:#374151;font-weight:600}
.vce-model-logo-fallback{width:72px;height:72px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#ef233c;color:#fff;font-size:2rem;font-weight:900;box-shadow:0 10px 24px rgba(239,35,60,.16)}
.vce-model-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:18px 0}
.vce-model-stats div{border:1px solid #e5e7eb;border-radius:14px;background:#f9fafb;padding:13px 14px}
.vce-model-stats strong{display:block;font-size:1.25rem;color:#111;line-height:1.15}
.vce-model-stats span{display:block;color:#64748b;font-weight:800;margin-top:3px}
.vce-model-subgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:16px}
.vce-model-subsection{margin-top:16px}
.vce-model-subsection h3{margin:0 0 10px;font-size:1.05rem}
.vce-model-mini-list{display:flex;flex-wrap:wrap;gap:8px}
.vce-model-mini-list a,.vce-model-mini-list span{display:inline-flex;gap:6px;align-items:center;border:1px solid #e5e7eb;border-radius:999px;padding:8px 11px;background:#fff;color:#111;text-decoration:none;font-weight:800}
.vce-model-mini-list a span,.vce-model-mini-list span em{color:#64748b;font-style:normal;font-weight:900}
.vce-model-mini-list a:hover{background:#111;color:#fff;text-decoration:none;border-color:#111}
.vce-model-version-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.vce-model-version-grid a{display:block;border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff;text-decoration:none;color:#111}
.vce-model-version-grid a strong{display:block;color:#ef233c}
.vce-model-version-grid a span{display:block;margin-top:4px;color:#64748b;font-size:.9rem;font-weight:700}
.vce-model-version-grid a:hover{border-color:#ef233c;text-decoration:none;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.vce-model-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #e5e7eb}
.vce-model-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;padding:9px 14px;background:#111;color:#fff;text-decoration:none;font-weight:900}
.vce-model-actions a:nth-child(even){background:#ef233c}
.vce-model-actions a:hover{text-decoration:none;filter:brightness(.95)}
@media (max-width:640px){.vce-model-hub-head{grid-template-columns:1fr}.vce-model-logo-fallback{width:58px;height:58px;font-size:1.55rem}.vce-model-actions a{width:100%}}

/* v0.4.1.1 - Comparador TCO corrigido */
.vce-comparator-tco-summary {
    margin: 1.75rem 0 0;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.78);
}
.vce-comparator-tco-summary h3 {
    margin: 0 0 .45rem;
    font-size: 1.25rem;
}
.vce-comparator-tco-summary > p {
    margin: 0 0 1rem;
    opacity: .84;
    line-height: 1.55;
}
.vce-tco-winners {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 0 0 1rem;
}
.vce-tco-winner-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    font-size: .9rem;
    font-weight: 700;
}
.vce-comparator-tco-table-wrap {
    overflow-x: auto;
}
.vce-comparator-tco-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    overflow: hidden;
}
.vce-comparator-tco-table th,
.vce-comparator-tco-table td {
    padding: .7rem .8rem;
    border-bottom: 1px solid rgba(0,0,0,.07);
    border-right: 1px solid rgba(0,0,0,.05);
    vertical-align: top;
}
.vce-comparator-tco-table th {
    text-align: left;
    font-weight: 800;
}
.vce-comparator-tco-table td {
    font-weight: 700;
}
.vce-comparator-tco-table tr:last-child th,
.vce-comparator-tco-table tr:last-child td {
    border-bottom: 0;
}
@media (max-width: 800px) {
    .vce-comparator-tco-table {
        min-width: 680px;
    }
    .vce-tco-winner-badge {
        width: 100%;
        border-radius: 12px;
    }
}


/* v0.4.2 - Simulador de Custos de Utilização */
.vce-tco-simulator {
    margin: 1.75rem 0;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.94));
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.vce-tco-simulator-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.vce-tco-simulator-head h3 {
    margin: 0 0 .35rem;
    font-size: 1.25rem;
}
.vce-tco-simulator-head p,
.vce-tco-note {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}
.vce-tco-simulator-head label {
    display: grid;
    gap: .35rem;
    min-width: 190px;
    font-weight: 800;
    color: #334155;
}
.vce-tco-km-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: .62rem .75rem;
    background: #fff;
    font-weight: 800;
}
.vce-tco-simulator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .8rem;
    margin: 1rem 0;
}
.vce-tco-simulator-grid > div,
.vce-tco-years span {
    display: block;
    padding: .85rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}
.vce-tco-simulator-grid span,
.vce-tco-years span {
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
}
.vce-tco-simulator-grid strong,
.vce-tco-years strong {
    display: block;
    margin-top: .25rem;
    color: #0f172a;
    font-size: 1.18rem;
    line-height: 1.2;
}
.vce-tco-years {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin: 0 0 1rem;
}
.vce-tco-note {
    font-size: .92rem;
}
@media (max-width: 760px) {
    .vce-tco-simulator-head { display: block; }
    .vce-tco-simulator-head label { margin-top: 1rem; min-width: 0; }
    .vce-tco-years { grid-template-columns: 1fr; }
}

/* v0.4.3 - Cenários de utilização */
.vce-tco-controls {
    display: grid;
    gap: .75rem;
    min-width: 220px;
}
.vce-tco-controls label {
    min-width: 0;
}
.vce-tco-scenario-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: .62rem .75rem;
    background: #fff;
    font-weight: 800;
}
@media (max-width: 760px) {
    .vce-tco-controls { margin-top: 1rem; min-width: 0; }
}


/* v0.5.1 — Rankings de Custos de Utilização */
.vce-cost-rankings-page .vce-theme-primary{width:100%;max-width:100%}
@media (min-width:992px){.vce-cost-rankings-page .vce-theme-primary{flex:0 0 72%;max-width:72%}.vce-cost-rankings-page .vce-theme-sidebar{flex:0 0 28%;max-width:28%}}
.vce-ranking-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:14px}
.vce-ranking-hub-card{display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa;color:#111;text-decoration:none}
.vce-ranking-hub-card:hover{background:#111;color:#fff;text-decoration:none;border-color:#111}
.vce-ranking-hub-card span{color:#ef233c;text-transform:uppercase;font-size:.72rem;font-weight:900;letter-spacing:.05em}.vce-ranking-hub-card:hover span{color:#fff}
.vce-ranking-hub-card strong{font-size:1.02rem;line-height:1.25}.vce-ranking-hub-card em{font-style:normal;color:#6b7280;font-size:.86rem}.vce-ranking-hub-card:hover em{color:#f3f4f6}
.vce-ranking-actions{margin:0 0 14px}.vce-ranking-actions a{display:inline-flex;border:1px solid #d8d8d8;border-radius:999px;padding:8px 12px;text-decoration:none;color:#111;background:#fff;font-weight:800}.vce-ranking-actions a:hover{background:#111;color:#fff;text-decoration:none}
.vce-ranking-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.vce-ranking-table{width:100%;border-collapse:collapse;min-width:850px}.vce-ranking-table th,.vce-ranking-table td{padding:11px 12px;border-bottom:1px solid #edf0f3;text-align:left;vertical-align:middle}.vce-ranking-table th{background:#f9fafb;color:#111;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}.vce-ranking-table td{font-size:.92rem}.vce-ranking-table tbody tr:nth-child(even){background:#fcfcfd}.vce-ranking-table a{font-weight:800;text-decoration:none}.vce-ranking-table a:hover{text-decoration:underline}.vce-ranking-note{margin:12px 0 0;color:#6b7280;font-size:.9rem;line-height:1.45}
.vce-cost-badges{margin:22px 0;padding:18px;border:1px solid #e5e7eb;border-left:4px solid #ef233c;border-radius:12px;background:#fff}.vce-cost-badges h2{margin:0 0 12px;font-size:1.2rem}.vce-cost-badges div{display:flex;flex-wrap:wrap;gap:10px}.vce-cost-badges a{display:inline-flex;align-items:center;border:1px solid #d8d8d8;border-radius:999px;padding:8px 12px;background:#fafafa;color:#111;text-decoration:none;font-weight:800;font-size:.9rem}.vce-cost-badges a:hover{background:#111;color:#fff;text-decoration:none}
@media(max-width:700px){.vce-ranking-hub-grid{grid-template-columns:1fr}.vce-cost-badges{padding:15px}.vce-cost-badges div{display:grid;grid-template-columns:1fr}}

/* v0.5.2 — Rankings económicos: destaques e leitura refinada */
.vce-ranking-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:18px}
.vce-ranking-highlight-card{display:flex;flex-direction:column;gap:5px;padding:14px 15px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;text-decoration:none;color:#111;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.vce-ranking-highlight-card:hover{background:#111;color:#fff;text-decoration:none;border-color:#111}
.vce-ranking-highlight-card span{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#ef233c}
.vce-ranking-highlight-card:hover span{color:#fff}
.vce-ranking-highlight-card strong{font-size:.95rem;line-height:1.25}
.vce-ranking-highlight-card em{font-style:normal;font-weight:900;font-size:1.05rem;color:#111}
.vce-ranking-highlight-card:hover em{color:#fff}
.vce-ranking-seo-intro{margin:0 0 16px;padding:14px 16px;border:1px solid #edf0f3;border-left:4px solid #ef233c;border-radius:12px;background:#fff}
.vce-ranking-seo-intro p{margin:0;color:#374151;line-height:1.55}
.vce-ranking-table{min-width:1120px}
.vce-ranking-table .vce-ranking-pos{font-size:1.12rem;text-align:center;white-space:nowrap}
.vce-ranking-table .vce-ranking-main-metric{font-weight:900;color:#ef233c;background:#fff5f6}
.vce-ranking-table th:nth-child(1),.vce-ranking-table td:nth-child(1){width:68px;text-align:center}
@media(max-width:700px){.vce-ranking-highlights{grid-template-columns:1fr}.vce-ranking-seo-intro{padding:12px}}


/* v0.5.2.1 — Correção de contraste e altura do cabeçalho dos rankings */
.vce-cost-rankings-page .vce-catalog-hero.vce-theme-card{
    background:#fff;
    color:#111827;
    border:1px solid #e5e7eb;
    border-radius:14px;
    box-shadow:none;
    margin:0 0 20px;
    overflow:visible;
}
.vce-cost-rankings-page .vce-catalog-hero-inner{
    padding:26px 28px 28px;
}
.vce-cost-rankings-page .vce-catalog-eyebrow{
    color:#ef233c;
    opacity:1;
    font-weight:900;
    letter-spacing:.08em;
    margin:0 0 8px;
}
.vce-cost-rankings-page .vce-catalog-hero h1{
    color:#111827;
    font-size:clamp(1.75rem,3vw,2.35rem);
    line-height:1.15;
    margin:0 0 10px;
}
.vce-cost-rankings-page .vce-catalog-lead{
    color:#4b5563;
    opacity:1;
    max-width:860px;
    font-size:1rem;
    line-height:1.65;
    margin:0;
}
.vce-cost-rankings-page .vce-ranking-highlights{
    margin-top:22px;
}
@media(max-width:700px){
    .vce-cost-rankings-page .vce-catalog-hero-inner{padding:20px 18px 22px}
    .vce-cost-rankings-page .vce-catalog-hero h1{font-size:1.55rem}
}

/* v0.5.4 — ligações SEO de custos de utilização */
.vce-catalog-section-costs { border-top: 3px solid #ef233c; }
.vce-cost-seo-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.vce-cost-seo-links a {
    display: block;
    padding: 16px;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.vce-cost-seo-links a strong {
    display: block;
    color: #ef233c;
    font-weight: 800;
    margin-bottom: 6px;
}
.vce-cost-seo-links a span {
    display: block;
    color: #334155;
    font-size: 14px;
    line-height: 1.45;
}
.vce-cost-seo-links a:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }

/* v0.6.1 — Transparência e explicação do Selo Inteligente Viatura.pt (SIV) */
.vce-siv-card{
    margin:24px 0;
    padding:22px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:16px;
    background:#fff;
}
.vce-siv-score-row{
    display:grid;
    grid-template-columns:minmax(170px,240px) 1fr;
    gap:18px;
    align-items:center;
}
.vce-siv-score-row h2{margin:0 0 4px;font-size:1.3rem;color:#111827}
.vce-siv-score-row strong{display:block;font-size:2.4rem;line-height:1;font-weight:800;color:#111827}
.vce-siv-score-row span{display:inline-block;margin-top:8px;font-weight:700;color:#374151}
.vce-siv-score-row p{margin:0;color:#4b5563;line-height:1.65}
.vce-siv-explain{margin-top:18px;padding-top:18px;border-top:1px solid rgba(15,23,42,.08)}
.vce-siv-explain h3{margin:0 0 8px;color:#111827;font-size:1.15rem}
.vce-siv-explain p{color:#4b5563;line-height:1.65}
.vce-siv-components{display:grid;gap:12px;margin:16px 0}
.vce-siv-component{display:grid;grid-template-columns:minmax(150px,210px) 1fr auto;gap:10px 14px;align-items:center;padding:12px;border:1px solid rgba(15,23,42,.08);border-radius:12px;background:#f9fafb}
.vce-siv-component strong{color:#111827}
.vce-siv-component span{height:10px;border-radius:999px;background:#e5e7eb;overflow:hidden;display:block}
.vce-siv-component span i{display:block;height:100%;border-radius:999px;background:#16a34a}
.vce-siv-component small{grid-column:1 / -1;color:#6b7280;line-height:1.5}
.vce-siv-component em{font-style:normal;font-weight:800;color:#111827}
.vce-siv-scale{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:14px}
.vce-siv-scale span{display:block;padding:12px 14px;border:1px solid rgba(15,23,42,.08);border-radius:12px;background:#f9fafb;color:#111827}
@media (max-width:700px){
    .vce-siv-score-row{grid-template-columns:1fr}
    .vce-siv-component{grid-template-columns:1fr}
    .vce-siv-component em{justify-self:start}
}


/* v0.6.1.2 — Ajuste visual dos títulos SIV */
.vce-siv-card .vce-catalog-eyebrow{
    color:#ef233c !important;
    opacity:1 !important;
    font-weight:900;
    letter-spacing:.075em;
    font-size:.82rem;
    text-transform:uppercase;
    margin:0 0 14px;
}
.vce-siv-card .vce-siv-score-row h2{
    color:#071426;
    font-size:1.45rem;
    font-weight:900;
    letter-spacing:.01em;
}
.vce-siv-card .vce-siv-score-row strong{
    font-size:clamp(2.5rem,5vw,3.15rem);
    font-weight:900;
    letter-spacing:-.04em;
}
.vce-siv-card .vce-siv-score-row span{
    font-size:1.05rem;
    font-weight:900;
}
.vce-siv-card .vce-siv-score-row p{
    color:#243244;
    font-size:1.02rem;
    line-height:1.65;
}
.vce-siv-explain h3{
    color:#071426;
    font-size:1.28rem;
    font-weight:900;
    letter-spacing:-.01em;
    margin:0 0 10px;
}
.vce-siv-explain h3::before{
    content:"";
    display:inline-block;
    width:6px;
    height:1.05em;
    margin-right:8px;
    border-radius:999px;
    background:#ef233c;
    vertical-align:-.12em;
}
.vce-siv-explain p{
    color:#334155;
}
.vce-siv-component strong{
    color:#071426;
    font-size:1.02rem;
    font-weight:900;
}
.vce-siv-scale span{
    color:#111827;
    font-weight:700;
}
.vce-cost-rankings-page .vce-catalog-hero .vce-catalog-eyebrow,
.vce-cost-rankings-page .vce-catalog-section .vce-catalog-eyebrow{
    color:#ef233c !important;
    opacity:1 !important;
}


/* v0.6.2 — Perfil Económico da Viatura */
.vce-siv-profile{
    margin:22px 0 4px;
    padding:18px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:16px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}
.vce-siv-profile-head{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
    margin-bottom:14px;
}
.vce-siv-profile-head h3{
    margin:0;
    color:#071426;
    font-size:1.3rem;
    font-weight:900;
    letter-spacing:-.02em;
}
.vce-siv-profile-head h3::before{
    content:"📊";
    margin-right:8px;
}
.vce-siv-profile-head p{
    margin:0;
    max-width:520px;
    color:#475569;
    line-height:1.55;
    font-size:.95rem;
}
.vce-siv-profile-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:12px;
}
.vce-siv-profile-item{
    padding:14px;
    border:1px solid rgba(15,23,42,.09);
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.035);
}
.vce-siv-profile-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}
.vce-siv-profile-title strong{
    color:#0f172a;
    font-weight:900;
    line-height:1.25;
}
.vce-siv-profile-icon{
    width:30px;
    height:30px;
    display:inline-grid;
    place-items:center;
    border-radius:999px;
    background:#f1f5f9;
}
.vce-siv-profile-rating{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:8px;
}
.vce-siv-profile-rating span{
    font-weight:900;
    color:#111827;
}
.vce-siv-profile-rating em{
    font-style:normal;
    font-weight:900;
    color:#334155;
}
.vce-siv-profile-bar{
    height:9px;
    border-radius:999px;
    background:#e5e7eb;
    overflow:hidden;
    margin:8px 0 9px;
}
.vce-siv-profile-bar i{
    display:block;
    height:100%;
    border-radius:999px;
    background:#16a34a;
}
.vce-siv-profile-fair .vce-siv-profile-bar i{background:#f59e0b;}
.vce-siv-profile-expensive .vce-siv-profile-bar i{background:#ef4444;}
.vce-siv-profile-good .vce-siv-profile-bar i{background:#eab308;}
.vce-siv-profile-neutral .vce-siv-profile-bar i{background:#94a3b8;}
.vce-siv-profile-item small{
    display:block;
    color:#64748b;
    line-height:1.4;
}
@media (max-width:700px){
    .vce-siv-profile-head{display:block;}
    .vce-siv-profile-head p{margin-top:8px;}
}


/* v0.7.1 — Alternativas recomendadas pelo Viatura.pt */
.vce-vehicle-alternatives {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}
.vce-alternative-card a {
    background: #fff;
}
.vce-alternative-metrics {
    display: block;
    margin-top: 8px;
    font-weight: 800;
    color: #111827;
}
.vce-alternative-reason {
    display: block;
    margin-top: 8px;
    color: #4b5563;
    line-height: 1.35;
}
.vce-alternative-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 16px 16px;
    margin-top: -4px;
}
.vce-alternative-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-weight: 800;
    font-size: .88rem;
    text-decoration: none;
}
.vce-alternative-actions a:hover,
.vce-alternative-actions a:focus {
    border-color: #ef233c;
    color: #ef233c;
}


/* v0.7.2 — Refinamento Inteligente */
.vce-smart-summary{
    margin:22px 0;
    padding:22px;
    border:1px solid rgba(15,23,42,.10);
    border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
    box-shadow:0 12px 28px rgba(15,23,42,.04);
}
.vce-smart-summary h2{
    margin:0 0 6px;
    color:#071426;
    font-size:1.55rem;
    font-weight:900;
    letter-spacing:-.02em;
}
.vce-smart-summary h2::before{
    content:"🧭 ";
}
.vce-smart-summary p{
    margin:0 0 16px;
    color:#475569;
    line-height:1.55;
}
.vce-smart-summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:10px;
}
.vce-smart-summary-item{
    padding:12px 14px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:14px;
    background:#fff;
}
.vce-smart-summary-item span{
    display:block;
    color:#64748b;
    font-size:.82rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.02em;
    margin-bottom:4px;
}
.vce-smart-summary-item strong{
    display:block;
    color:#0f172a;
    font-size:1rem;
    font-weight:900;
}
.vce-related-vehicle-card .vce-related-meta{
    color:#475569;
}
.vce-vehicle-related-list h2::before{
    content:"🚗 ";
}
.vce-vehicle-alternatives h2::before{
    content:"🏆 ";
}


/* v0.7.3 — Ligações Internas Inteligentes */
.vce-intelligent-links{
    margin:22px 0;
    padding:22px;
    border:1px solid rgba(15,23,42,.10);
    border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
    box-shadow:0 12px 28px rgba(15,23,42,.04);
}
.vce-intelligent-links h2{
    margin:0 0 6px;
    color:#071426;
    font-size:1.45rem;
    font-weight:900;
    letter-spacing:-.02em;
}
.vce-intelligent-links h2::before{content:"🔗 ";}
.vce-intelligent-links p{
    margin:0 0 16px;
    color:#475569;
    line-height:1.55;
}
.vce-intelligent-links-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:12px;
}
.vce-intelligent-link-card{
    display:block;
    padding:16px;
    border:1px solid rgba(15,23,42,.10);
    border-radius:16px;
    background:#fff;
    text-decoration:none;
    color:#0f172a;
    transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.vce-intelligent-link-card:hover{
    transform:translateY(-2px);
    border-color:rgba(239,35,55,.35);
    box-shadow:0 14px 32px rgba(15,23,42,.08);
}
.vce-intelligent-link-card .vce-intelligent-link-icon{
    display:inline-flex;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    margin-bottom:8px;
    border-radius:999px;
    background:#f8fafc;
}
.vce-intelligent-link-card strong{
    display:block;
    margin-bottom:6px;
    color:#ef2337;
    font-weight:900;
    line-height:1.25;
}
.vce-intelligent-link-card em{
    display:block;
    color:#475569;
    font-style:normal;
    font-size:.92rem;
    line-height:1.45;
}
.vce-vehicle-deep-links p{
    margin:0 0 14px;
    color:#475569;
}
.vce-vehicle-deep-links div{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:10px;
}
.vce-vehicle-deep-links a{
    display:block;
    padding:12px 14px;
    border:1px solid rgba(15,23,42,.10);
    border-radius:14px;
    background:#fff;
    text-decoration:none;
}
.vce-vehicle-deep-links a span{
    display:block;
    margin-bottom:3px;
    color:#ef2337;
    font-size:.75rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.03em;
}
.vce-vehicle-deep-links a strong{
    display:block;
    color:#0f172a;
    font-weight:900;
    line-height:1.25;
}


/* v0.7.3.1 - Correção de legibilidade em modo escuro
   Garante contraste adequado nos módulos do Viatura Core Engine quando o tema ativa fundo escuro. */
.vce-comparator,
.vce-comparator *,
.vce-comparator-tco-summary,
.vce-comparator-tco-summary *,
.vce-tco-simulator,
.vce-tco-simulator *,
.vce-siv-card,
.vce-siv-card *,
.vce-econ-profile,
.vce-econ-profile *,
.vce-smart-summary,
.vce-smart-summary *,
.vce-related-vehicles,
.vce-related-vehicles *,
.vce-recommended-alternatives,
.vce-recommended-alternatives *,
.vce-internal-links,
.vce-internal-links *,
.vce-explore-links,
.vce-explore-links * {
    box-sizing: border-box;
}

/* Comparador: força uma base clara e legível, mesmo quando o tema aplica modo noturno às tabelas. */
.vce-comparator {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-comparator h1,
.vce-comparator h2,
.vce-comparator h3,
.vce-comparator h4,
.vce-comparator label,
.vce-comparator p,
.vce-comparator-intro {
    color: #0f172a !important;
}
.vce-comparator-form {
    background: #f8fafc !important;
    border-color: #e5e7eb !important;
    color: #0f172a !important;
}
.vce-comparator-select,
.vce-tco-scenario-select,
.vce-tco-km-select,
.vce-comparator select,
.vce-comparator input {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
.vce-comparator-select option,
.vce-comparator select option {
    background: #ffffff !important;
    color: #0f172a !important;
}
.vce-comparator-table,
.vce-comparator-tco-table {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-comparator-table th,
.vce-comparator-table td,
.vce-comparator-tco-table th,
.vce-comparator-tco-table td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-comparator-table thead th,
.vce-comparator-table tbody th,
.vce-comparator-table tbody tr:nth-child(even) th,
.vce-comparator-table tbody tr:nth-child(even) td,
.vce-comparator-tco-table th {
    background: #f8fafc !important;
    color: #0f172a !important;
}
.vce-comparator-table a,
.vce-comparator-tco-table a,
.vce-comparator a {
    color: #ef233c !important;
}
.vce-comparator-submit,
.vce-comparator .button,
.vce-tco-simulator button {
    background: #ef233c !important;
    color: #ffffff !important;
    border-color: #ef233c !important;
}

/* Simulador e sínteses económicas: contraste estável em temas escuros. */
.vce-comparator-tco-summary,
.vce-tco-simulator {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-comparator-tco-summary h3,
.vce-tco-simulator h3,
.vce-tco-simulator h2,
.vce-tco-simulator label {
    color: #0f172a !important;
}
.vce-comparator-tco-summary p,
.vce-tco-simulator p,
.vce-tco-note,
.vce-tco-simulator-head p {
    color: #334155 !important;
}
.vce-tco-simulator-grid > div,
.vce-tco-years span,
.vce-tco-winner-badge {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-tco-simulator-grid span,
.vce-tco-years span span {
    color: #475569 !important;
}
.vce-tco-simulator-grid strong,
.vce-tco-years strong {
    color: #0f172a !important;
}

/* Cartões SIV, perfil económico, alternativas e ligações internas. */
.vce-siv-card,
.vce-econ-profile,
.vce-smart-summary,
.vce-related-vehicles,
.vce-recommended-alternatives,
.vce-internal-links,
.vce-explore-links {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-siv-card h2,
.vce-siv-card h3,
.vce-siv-card strong,
.vce-econ-profile h2,
.vce-econ-profile h3,
.vce-econ-profile strong,
.vce-smart-summary h2,
.vce-smart-summary h3,
.vce-related-vehicles h2,
.vce-related-vehicles h3,
.vce-recommended-alternatives h2,
.vce-recommended-alternatives h3,
.vce-internal-links h2,
.vce-internal-links h3,
.vce-explore-links h2,
.vce-explore-links h3 {
    color: #0f172a !important;
}
.vce-siv-card p,
.vce-siv-card small,
.vce-econ-profile p,
.vce-econ-profile small,
.vce-smart-summary p,
.vce-related-vehicles p,
.vce-recommended-alternatives p,
.vce-internal-links p,
.vce-explore-links p {
    color: #334155 !important;
}
.vce-siv-component,
.vce-siv-scale span,
.vce-econ-profile-card,
.vce-smart-summary-card,
.vce-related-card,
.vce-alternative-card,
.vce-internal-links a,
.vce-explore-links a {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}
.vce-siv-component span,
.vce-econ-profile-bar,
.vce-smart-summary-bar {
    background: #e5e7eb !important;
}
.vce-related-card a,
.vce-alternative-card a,
.vce-internal-links a,
.vce-explore-links a {
    color: #ef233c !important;
}

/* Reforço específico para quando o tema injeta estilos escuros nas tabelas globais. */
body .vce-comparator table tr,
body .vce-comparator table th,
body .vce-comparator table td,
body .vce-tco-simulator table tr,
body .vce-tco-simulator table th,
body .vce-tco-simulator table td {
    color: #0f172a !important;
}


/* v0.7.3.2 — Correção reforçada de contraste e legibilidade em modo escuro
   Objetivo: impedir que o tema aplique texto branco sobre células claras ou fundos escuros sem contraste
   nos componentes públicos do Viatura Core Engine. */

/* Guard-rail geral para tabelas do plugin, mesmo quando o tema altera a cor global do texto */
.vce-comparator-table th,
.vce-comparator-table td,
.vce-comparator-tco-table th,
.vce-comparator-tco-table td {
    color: #111827 !important;
}
.vce-comparator-table thead th,
.vce-comparator-table tbody th,
.vce-comparator-tco-table thead th,
.vce-comparator-tco-table tbody th {
    background: #f8fafc !important;
    color: #111827 !important;
}
.vce-comparator-table tbody td,
.vce-comparator-tco-table tbody td {
    background: #ffffff !important;
    color: #111827 !important;
}
.vce-comparator-table a,
.vce-comparator-tco-table a {
    color: #ef233c !important;
}

/* Guard-rail para formulários do comparador/simulador */
.vce-comparator select,
.vce-comparator input,
.vce-comparator textarea,
.vce-tco-simulator select,
.vce-tco-simulator input,
.vce-tco-simulator textarea {
    color: #111827 !important;
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}
.vce-comparator select option,
.vce-tco-simulator select option {
    color: #111827 !important;
    background: #ffffff !important;
}

/* Modo escuro: compatível com várias classes/atributos comuns em temas WordPress */
body.dark .vce-comparator,
body.dark-mode .vce-comparator,
body[data-theme="dark"] .vce-comparator,
body.newsxo-dark .vce-comparator,
html.dark body .vce-comparator,
html[data-theme="dark"] body .vce-comparator,
body.dark .vce-tco-simulator,
body.dark-mode .vce-tco-simulator,
body[data-theme="dark"] .vce-tco-simulator,
body.newsxo-dark .vce-tco-simulator,
html.dark body .vce-tco-simulator,
html[data-theme="dark"] body .vce-tco-simulator,
body.dark .vce-siv-card,
body.dark-mode .vce-siv-card,
body[data-theme="dark"] .vce-siv-card,
body.newsxo-dark .vce-siv-card,
html.dark body .vce-siv-card,
html[data-theme="dark"] body .vce-siv-card,
body.dark .vce-related-vehicles,
body.dark-mode .vce-related-vehicles,
body[data-theme="dark"] .vce-related-vehicles,
body.newsxo-dark .vce-related-vehicles,
html.dark body .vce-related-vehicles,
html[data-theme="dark"] body .vce-related-vehicles,
body.dark .vce-vehicle-related,
body.dark-mode .vce-vehicle-related,
body[data-theme="dark"] .vce-vehicle-related,
body.newsxo-dark .vce-vehicle-related,
html.dark body .vce-vehicle-related,
html[data-theme="dark"] body .vce-vehicle-related {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

body.dark .vce-comparator *,
body.dark-mode .vce-comparator *,
body[data-theme="dark"] .vce-comparator *,
body.newsxo-dark .vce-comparator *,
html.dark body .vce-comparator *,
html[data-theme="dark"] body .vce-comparator *,
body.dark .vce-tco-simulator *,
body.dark-mode .vce-tco-simulator *,
body[data-theme="dark"] .vce-tco-simulator *,
body.newsxo-dark .vce-tco-simulator *,
html.dark body .vce-tco-simulator *,
html[data-theme="dark"] body .vce-tco-simulator *,
body.dark .vce-siv-card *,
body.dark-mode .vce-siv-card *,
body[data-theme="dark"] .vce-siv-card *,
body.newsxo-dark .vce-siv-card *,
html.dark body .vce-siv-card *,
html[data-theme="dark"] body .vce-siv-card * {
    color: #f8fafc !important;
}

/* Tabelas em modo escuro */
body.dark .vce-comparator-table,
body.dark-mode .vce-comparator-table,
body[data-theme="dark"] .vce-comparator-table,
body.newsxo-dark .vce-comparator-table,
html.dark body .vce-comparator-table,
html[data-theme="dark"] body .vce-comparator-table,
body.dark .vce-comparator-tco-table,
body.dark-mode .vce-comparator-tco-table,
body[data-theme="dark"] .vce-comparator-tco-table,
body.newsxo-dark .vce-comparator-tco-table,
html.dark body .vce-comparator-tco-table,
html[data-theme="dark"] body .vce-comparator-tco-table {
    background: #020617 !important;
    color: #f8fafc !important;
}

body.dark .vce-comparator-table th,
body.dark .vce-comparator-table td,
body.dark-mode .vce-comparator-table th,
body.dark-mode .vce-comparator-table td,
body[data-theme="dark"] .vce-comparator-table th,
body[data-theme="dark"] .vce-comparator-table td,
body.newsxo-dark .vce-comparator-table th,
body.newsxo-dark .vce-comparator-table td,
html.dark body .vce-comparator-table th,
html.dark body .vce-comparator-table td,
html[data-theme="dark"] body .vce-comparator-table th,
html[data-theme="dark"] body .vce-comparator-table td,
body.dark .vce-comparator-tco-table th,
body.dark .vce-comparator-tco-table td,
body.dark-mode .vce-comparator-tco-table th,
body.dark-mode .vce-comparator-tco-table td,
body[data-theme="dark"] .vce-comparator-tco-table th,
body[data-theme="dark"] .vce-comparator-tco-table td,
body.newsxo-dark .vce-comparator-tco-table th,
body.newsxo-dark .vce-comparator-tco-table td,
html.dark body .vce-comparator-tco-table th,
html.dark body .vce-comparator-tco-table td,
html[data-theme="dark"] body .vce-comparator-tco-table th,
html[data-theme="dark"] body .vce-comparator-tco-table td {
    background: #020617 !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

body.dark .vce-comparator-table thead th,
body.dark-mode .vce-comparator-table thead th,
body[data-theme="dark"] .vce-comparator-table thead th,
body.newsxo-dark .vce-comparator-table thead th,
html.dark body .vce-comparator-table thead th,
html[data-theme="dark"] body .vce-comparator-table thead th,
body.dark .vce-comparator-table tbody th,
body.dark-mode .vce-comparator-table tbody th,
body[data-theme="dark"] .vce-comparator-table tbody th,
body.newsxo-dark .vce-comparator-table tbody th,
html.dark body .vce-comparator-table tbody th,
html[data-theme="dark"] body .vce-comparator-table tbody th,
body.dark .vce-comparator-tco-table thead th,
body.dark-mode .vce-comparator-tco-table thead th,
body[data-theme="dark"] .vce-comparator-tco-table thead th,
body.newsxo-dark .vce-comparator-tco-table thead th,
html.dark body .vce-comparator-tco-table thead th,
html[data-theme="dark"] body .vce-comparator-tco-table thead th,
body.dark .vce-comparator-tco-table tbody th,
body.dark-mode .vce-comparator-tco-table tbody th,
body[data-theme="dark"] .vce-comparator-tco-table tbody th,
body.newsxo-dark .vce-comparator-tco-table tbody th,
html.dark body .vce-comparator-tco-table tbody th,
html[data-theme="dark"] body .vce-comparator-tco-table tbody th {
    background: #111827 !important;
    color: #ffffff !important;
}

body.dark .vce-comparator-table a,
body.dark-mode .vce-comparator-table a,
body[data-theme="dark"] .vce-comparator-table a,
body.newsxo-dark .vce-comparator-table a,
html.dark body .vce-comparator-table a,
html[data-theme="dark"] body .vce-comparator-table a,
body.dark .vce-comparator-tco-table a,
body.dark-mode .vce-comparator-tco-table a,
body[data-theme="dark"] .vce-comparator-tco-table a,
body.newsxo-dark .vce-comparator-tco-table a,
html.dark body .vce-comparator-tco-table a,
html[data-theme="dark"] body .vce-comparator-tco-table a {
    color: #ff5c70 !important;
}

/* Formulários em modo escuro */
body.dark .vce-comparator select,
body.dark .vce-comparator input,
body.dark .vce-comparator textarea,
body.dark-mode .vce-comparator select,
body.dark-mode .vce-comparator input,
body.dark-mode .vce-comparator textarea,
body[data-theme="dark"] .vce-comparator select,
body[data-theme="dark"] .vce-comparator input,
body[data-theme="dark"] .vce-comparator textarea,
body.newsxo-dark .vce-comparator select,
body.newsxo-dark .vce-comparator input,
body.newsxo-dark .vce-comparator textarea,
html.dark body .vce-comparator select,
html.dark body .vce-comparator input,
html.dark body .vce-comparator textarea,
html[data-theme="dark"] body .vce-comparator select,
html[data-theme="dark"] body .vce-comparator input,
html[data-theme="dark"] body .vce-comparator textarea,
body.dark .vce-tco-simulator select,
body.dark .vce-tco-simulator input,
body.dark .vce-tco-simulator textarea,
body.dark-mode .vce-tco-simulator select,
body.dark-mode .vce-tco-simulator input,
body.dark-mode .vce-tco-simulator textarea,
body[data-theme="dark"] .vce-tco-simulator select,
body[data-theme="dark"] .vce-tco-simulator input,
body[data-theme="dark"] .vce-tco-simulator textarea,
body.newsxo-dark .vce-tco-simulator select,
body.newsxo-dark .vce-tco-simulator input,
body.newsxo-dark .vce-tco-simulator textarea,
html.dark body .vce-tco-simulator select,
html.dark body .vce-tco-simulator input,
html.dark body .vce-tco-simulator textarea,
html[data-theme="dark"] body .vce-tco-simulator select,
html[data-theme="dark"] body .vce-tco-simulator input,
html[data-theme="dark"] body .vce-tco-simulator textarea {
    background: #1f2937 !important;
    color: #ffffff !important;
    border-color: #e5e7eb !important;
}

/* Componentes internos do simulador e SIV em modo escuro */
body.dark .vce-tco-simulator-grid > div,
body.dark .vce-tco-years span,
body.dark .vce-siv-component,
body.dark .vce-siv-profile,
body.dark .vce-siv-profile-item,
body.dark-mode .vce-tco-simulator-grid > div,
body.dark-mode .vce-tco-years span,
body.dark-mode .vce-siv-component,
body.dark-mode .vce-siv-profile,
body.dark-mode .vce-siv-profile-item,
body[data-theme="dark"] .vce-tco-simulator-grid > div,
body[data-theme="dark"] .vce-tco-years span,
body[data-theme="dark"] .vce-siv-component,
body[data-theme="dark"] .vce-siv-profile,
body[data-theme="dark"] .vce-siv-profile-item,
body.newsxo-dark .vce-tco-simulator-grid > div,
body.newsxo-dark .vce-tco-years span,
body.newsxo-dark .vce-siv-component,
body.newsxo-dark .vce-siv-profile,
body.newsxo-dark .vce-siv-profile-item,
html.dark body .vce-tco-simulator-grid > div,
html.dark body .vce-tco-years span,
html.dark body .vce-siv-component,
html.dark body .vce-siv-profile,
html.dark body .vce-siv-profile-item,
html[data-theme="dark"] body .vce-tco-simulator-grid > div,
html[data-theme="dark"] body .vce-tco-years span,
html[data-theme="dark"] body .vce-siv-component,
html[data-theme="dark"] body .vce-siv-profile,
html[data-theme="dark"] body .vce-siv-profile-item {
    background: #111827 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Caso o tema não exponha classe de dark mode, manter as células de cabeçalho sempre legíveis. */
.vce-comparator-table thead th,
.vce-comparator-table tbody th,
.vce-comparator-tco-table thead th,
.vce-comparator-tco-table tbody th {
    color: #111827 !important;
}


/* v0.7.3.3 — Correção definitiva de legibilidade do comparador em modo escuro.
   O shortcode do comparador pode ser usado em páginas fora do catálogo; por isso
   estas regras são independentes da classe de dark mode do tema. */
.vce-comparator .vce-comparator-table,
.vce-comparator .vce-comparator-tco-table,
.vce-comparator table.vce-comparator-table,
.vce-comparator table.vce-comparator-tco-table {
    border-collapse: collapse !important;
}

.vce-comparator .vce-comparator-table th,
.vce-comparator .vce-comparator-tco-table th,
.vce-comparator .vce-comparator-table td,
.vce-comparator .vce-comparator-tco-table td {
    border-color: #d1d5db !important;
}

/* Coluna de indicadores/campos: fundo claro exige texto escuro, mesmo em modo noturno. */
.vce-comparator .vce-comparator-table thead th,
.vce-comparator .vce-comparator-table tbody th,
.vce-comparator .vce-comparator-tco-table thead th,
.vce-comparator .vce-comparator-tco-table tbody th,
.vce-comparator .vce-comparator-table tr > th:first-child,
.vce-comparator .vce-comparator-tco-table tr > th:first-child,
.vce-comparator .vce-comparator-table tr > td:first-child,
.vce-comparator .vce-comparator-tco-table tr > td:first-child {
    background: #f8fafc !important;
    color: #111827 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Garante que qualquer elemento interno herda a cor correta. */
.vce-comparator .vce-comparator-table thead th *,
.vce-comparator .vce-comparator-table tbody th *,
.vce-comparator .vce-comparator-tco-table thead th *,
.vce-comparator .vce-comparator-tco-table tbody th *,
.vce-comparator .vce-comparator-table tr > th:first-child *,
.vce-comparator .vce-comparator-tco-table tr > th:first-child *,
.vce-comparator .vce-comparator-table tr > td:first-child *,
.vce-comparator .vce-comparator-tco-table tr > td:first-child * {
    color: #111827 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Células de dados em modo noturno: manter fundo escuro e texto claro. */
body.dark .vce-comparator .vce-comparator-table td:not(:first-child),
body.dark .vce-comparator .vce-comparator-tco-table td:not(:first-child),
body.dark-mode .vce-comparator .vce-comparator-table td:not(:first-child),
body.dark-mode .vce-comparator .vce-comparator-tco-table td:not(:first-child),
body[data-theme="dark"] .vce-comparator .vce-comparator-table td:not(:first-child),
body[data-theme="dark"] .vce-comparator .vce-comparator-tco-table td:not(:first-child),
body.newsxo-dark .vce-comparator .vce-comparator-table td:not(:first-child),
body.newsxo-dark .vce-comparator .vce-comparator-tco-table td:not(:first-child),
html.dark .vce-comparator .vce-comparator-table td:not(:first-child),
html.dark .vce-comparator .vce-comparator-tco-table td:not(:first-child),
html[data-theme="dark"] .vce-comparator .vce-comparator-table td:not(:first-child),
html[data-theme="dark"] .vce-comparator .vce-comparator-tco-table td:not(:first-child) {
    background: #000000 !important;
    color: #ffffff !important;
}

/* O tema do utilizador escurece a página sem expor sempre uma classe; a coluna clara fica legível em qualquer caso. */
.vce-comparator .vce-comparator-table tbody th,
.vce-comparator .vce-comparator-tco-table tbody th {
    font-weight: 800 !important;
}

/* Links nos cabeçalhos permanecem legíveis em ambos os modos. */
.vce-comparator .vce-comparator-table a,
.vce-comparator .vce-comparator-tco-table a {
    color: #ff233d !important;
    text-decoration: underline !important;
}


/* v0.7.3.4 — Comparador legível em todos os modos do tema
   Estratégia: o comparador passa a ser um componente autocontido com superfície clara
   nas áreas de formulário e tabelas. Isto evita heranças agressivas do modo escuro
   do tema Newsxo que tornavam cabeçalhos/células invisíveis. */

.vce-comparator {
    color: #0f172a !important;
}

.vce-comparator h1,
.vce-comparator h2,
.vce-comparator h3,
.vce-comparator p,
.vce-comparator label,
.vce-comparator strong,
.vce-comparator span {
    color: inherit;
}

.vce-comparator .vce-comparator-form,
.vce-comparator .vce-comparator-selects,
.vce-comparator .vce-comparator-table-wrap,
.vce-comparator .vce-comparator-blocks {
    color: #0f172a !important;
}

.vce-comparator .vce-comparator-form {
    background: #f8fafc !important;
    border: 1px solid #d9e2ec !important;
    border-radius: 14px !important;
    padding: 18px !important;
}

.vce-comparator .vce-comparator-form label {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.vce-comparator select,
.vce-comparator input,
.vce-comparator textarea,
.vce-comparator .vce-comparator-select {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.vce-comparator select option,
.vce-comparator .vce-comparator-select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Tabelas do comparador: remover herança de cor do tema e garantir contraste AA. */
.vce-comparator table,
.vce-comparator .vce-comparator-table,
.vce-comparator .vce-comparator-tco-table {
    background: #ffffff !important;
    color: #0f172a !important;
    border-collapse: collapse !important;
    border-color: #cbd5e1 !important;
}

.vce-comparator table th,
.vce-comparator table td,
.vce-comparator .vce-comparator-table th,
.vce-comparator .vce-comparator-table td,
.vce-comparator .vce-comparator-tco-table th,
.vce-comparator .vce-comparator-tco-table td {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.vce-comparator table th *,
.vce-comparator table td *,
.vce-comparator .vce-comparator-table th *,
.vce-comparator .vce-comparator-table td *,
.vce-comparator .vce-comparator-tco-table th *,
.vce-comparator .vce-comparator-tco-table td * {
    color: inherit !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Coluna Campo e linhas de secção: ligeiro destaque, mas sempre com texto escuro. */
.vce-comparator .vce-comparator-table thead th:first-child,
.vce-comparator .vce-comparator-table tbody th,
.vce-comparator .vce-comparator-tco-table thead th:first-child,
.vce-comparator .vce-comparator-tco-table tbody th,
.vce-comparator .vce-comparator-section-row th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

/* Cabeçalhos com nomes das viaturas e links: legíveis em modo claro/escuro. */
.vce-comparator .vce-comparator-table thead th:not(:first-child),
.vce-comparator .vce-comparator-tco-table thead th:not(:first-child) {
    background: #ffffff !important;
    color: #0f172a !important;
}

.vce-comparator .vce-comparator-table a,
.vce-comparator .vce-comparator-tco-table a,
.vce-comparator .vce-comparator-table th a,
.vce-comparator .vce-comparator-tco-table th a {
    color: #ef233c !important;
    text-decoration: underline !important;
    opacity: 1 !important;
}

/* Simulador/Síntese económica no comparador: a mesma proteção de contraste. */
.vce-comparator .vce-tco-summary,
.vce-comparator .vce-tco-simulator,
.vce-comparator .vce-tco-simulator table,
.vce-comparator .vce-tco-simulator th,
.vce-comparator .vce-tco-simulator td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.vce-comparator .vce-tco-simulator th,
.vce-comparator .vce-tco-summary th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Garantia adicional para temas que aplicam dark mode via html/body e !important. */
html[class*="dark"] .vce-comparator,
body[class*="dark"] .vce-comparator,
html[data-theme="dark"] .vce-comparator,
body[data-theme="dark"] .vce-comparator {
    color: #0f172a !important;
}

html[class*="dark"] .vce-comparator .vce-comparator-form,
body[class*="dark"] .vce-comparator .vce-comparator-form,
html[data-theme="dark"] .vce-comparator .vce-comparator-form,
body[data-theme="dark"] .vce-comparator .vce-comparator-form,
html[class*="dark"] .vce-comparator table,
body[class*="dark"] .vce-comparator table,
html[data-theme="dark"] .vce-comparator table,
body[data-theme="dark"] .vce-comparator table,
html[class*="dark"] .vce-comparator th,
body[class*="dark"] .vce-comparator th,
html[data-theme="dark"] .vce-comparator th,
body[data-theme="dark"] .vce-comparator th,
html[class*="dark"] .vce-comparator td,
body[class*="dark"] .vce-comparator td,
html[data-theme="dark"] .vce-comparator td,
body[data-theme="dark"] .vce-comparator td {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

html[class*="dark"] .vce-comparator .vce-comparator-section-row th,
body[class*="dark"] .vce-comparator .vce-comparator-section-row th,
html[data-theme="dark"] .vce-comparator .vce-comparator-section-row th,
body[data-theme="dark"] .vce-comparator .vce-comparator-section-row th,
html[class*="dark"] .vce-comparator .vce-comparator-table tbody th,
body[class*="dark"] .vce-comparator .vce-comparator-table tbody th,
html[data-theme="dark"] .vce-comparator .vce-comparator-table tbody th,
body[data-theme="dark"] .vce-comparator .vce-comparator-table tbody th {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}


/* v0.7.3.5 — Hotfix de legibilidade dos avisos/vencedores do simulador TCO
   Problema observado: em modo escuro, o tema aplicava texto branco a badges com fundo claro,
   deixando frases como “Menor custo anual” invisíveis. Estas regras finais têm especificidade
   elevada e protegem os badges dentro e fora do comparador. */
.vce-tco-winners,
.vce-comparator .vce-tco-winners,
.vce-tco-simulator .vce-tco-winners {
    color: #0f172a !important;
}

.vce-tco-winner-badge,
.vce-tco-simulator .vce-tco-winner-badge,
.vce-comparator .vce-tco-winner-badge,
body.dark .vce-tco-simulator .vce-tco-winner-badge,
body.dark-mode .vce-tco-simulator .vce-tco-winner-badge,
body[data-theme="dark"] .vce-tco-simulator .vce-tco-winner-badge,
body.newsxo-dark .vce-tco-simulator .vce-tco-winner-badge,
html.dark body .vce-tco-simulator .vce-tco-winner-badge,
html[data-theme="dark"] body .vce-tco-simulator .vce-tco-winner-badge,
html[class*="dark"] body .vce-tco-simulator .vce-tco-winner-badge,
body[class*="dark"] .vce-tco-simulator .vce-tco-winner-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 6px 8px 6px 0 !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.vce-tco-winner-badge *,
.vce-tco-simulator .vce-tco-winner-badge *,
.vce-comparator .vce-tco-winner-badge *,
body.dark .vce-tco-simulator .vce-tco-winner-badge *,
body.dark-mode .vce-tco-simulator .vce-tco-winner-badge *,
body[data-theme="dark"] .vce-tco-simulator .vce-tco-winner-badge *,
body.newsxo-dark .vce-tco-simulator .vce-tco-winner-badge *,
html.dark body .vce-tco-simulator .vce-tco-winner-badge *,
html[data-theme="dark"] body .vce-tco-simulator .vce-tco-winner-badge *,
html[class*="dark"] body .vce-tco-simulator .vce-tco-winner-badge *,
body[class*="dark"] .vce-tco-simulator .vce-tco-winner-badge * {
    color: #0f172a !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Garante que linhas informativas do simulador não herdam branco sobre fundo claro. */
.vce-tco-simulator .vce-tco-winners p,
.vce-tco-simulator .vce-tco-winners div,
.vce-comparator .vce-tco-winners p,
.vce-comparator .vce-tco-winners div {
    color: #0f172a !important;
}


/* v0.7.3.6 Global Dark Mode System */
:root{
 --vce-bg:#ffffff;
 --vce-surface:#f8fafc;
 --vce-text:#111827;
 --vce-muted:#4b5563;
 --vce-border:#d1d5db;
}
body.dark-mode .vce-card,
body.dark-mode .vce-box,
body.dark-mode .vce-panel,
body.dark-mode .vce-siv-card,
body.dark-mode .vce-ranking-card,
body.dark-mode .vce-related-card,
body.dark-mode .vce-link-card{
 background:#0f172a !important;
 color:#f8fafc !important;
}
body.dark-mode [class*="vce-"]{
 color:#f8fafc;
}
body.dark-mode [class*="vce-"] p,
body.dark-mode [class*="vce-"] li,
body.dark-mode [class*="vce-"] span,
body.dark-mode [class*="vce-"] strong,
body.dark-mode [class*="vce-"] h1,
body.dark-mode [class*="vce-"] h2,
body.dark-mode [class*="vce-"] h3,
body.dark-mode [class*="vce-"] h4{
 color:#f8fafc !important;
}
body.dark-mode [class*="vce-"] a{
 color:#93c5fd !important;
}
body.dark-mode .vce-pill,
body.dark-mode .vce-badge,
body.dark-mode .vce-chip,
body.dark-mode .vce-button-secondary{
 background:#1f2937 !important;
 color:#f8fafc !important;
 border-color:#4b5563 !important;
}
body.dark-mode table[class*="vce-"] th,
body.dark-mode table[class*="vce-"] td{
 color:#f8fafc !important;
}
body.dark-mode table[class*="vce-"] th:first-child,
body.dark-mode table[class*="vce-"] td:first-child{
 background:#e5e7eb !important;
 color:#111827 !important;
}


/* ==========================================================================
   v0.7.3.7 — Sistema transversal de contraste claro/escuro
   --------------------------------------------------------------------------
   Problema corrigido:
   alguns temas aplicam, em modo escuro, regras globais como color:#fff a
   todos os elementos da área de conteúdo. Quando o Viatura Core Engine usa
   cartões claros, tabelas claras ou pills claras, essa herança torna o texto
   invisível. Esta camada isola os componentes VCE e define explicitamente
   cor de texto, fundo e links em todos os blocos do plugin.
   ========================================================================== */

:root {
    --vce-color-text: #0f172a;
    --vce-color-muted: #334155;
    --vce-color-soft: #64748b;
    --vce-color-bg: #ffffff;
    --vce-color-surface: #f8fafc;
    --vce-color-surface-2: #f1f5f9;
    --vce-color-border: #d9e2ec;
    --vce-color-link: #ef233c;
    --vce-color-link-hover: #c1121f;
    --vce-color-dark-surface: #111827;
    --vce-color-dark-text: #f8fafc;
}

/* O plugin passa a ter esquema de cor próprio, sem depender do tema. */
.vce-ficha-tecnica,
.vce-ficha-tecnica-pro,
.vce-vehicle-page,
.vce-comparator,
.vce-catalog-body,
.vce-catalog-section,
.vce-catalog-section-costs,
.vce-catalog-section-related,
.vce-catalog-section-tools,
.vce-cost-rankings-page,
.vce-siv-card,
.vce-siv-explain,
.vce-siv-profile,
.vce-tco-simulator,
.vce-vehicle-related,
.vce-vehicle-alternatives,
.vce-vehicle-deep-links,
.vce-intelligent-links,
.vce-smart-summary,
.vce-ranking-table-wrap,
.vce-cost-badges,
.vce-cost-hub-links,
.vce-seo-navigation,
.vce-seo-links {
    color-scheme: light !important;
    color: var(--vce-color-text) !important;
    text-shadow: none !important;
}

/* Cartões/superfícies claras: texto sempre escuro, mesmo em tema noturno. */
.vce-card,
.vce-panel,
.vce-theme-card,
.vce-catalog-card,
.vce-stat-card,
.vce-term-card,
.vce-ranking-highlight-card,
.vce-ranking-hub-card,
.vce-related-vehicle-card,
.vce-related-vehicle-card a,
.vce-alternative-card,
.vce-intelligent-link-card,
.vce-siv-card,
.vce-siv-profile,
.vce-siv-profile-item,
.vce-siv-component,
.vce-cost-badges,
.vce-cost-hub-links,
.vce-vehicle-related,
.vce-vehicle-alternatives,
.vce-vehicle-deep-links,
.vce-smart-summary,
.vce-tco-simulator,
.vce-comparator-form,
.vce-comparator-table-wrap,
.vce-comparator-tco-table-wrap,
.vce-ranking-seo-intro,
.vce-ranking-table-wrap,
.vce-siv-scale > *,
.vce-quick-links,
.vce-vehicle-highlights,
.vce-auto-highlights,
.vce-brand-costs,
.vce-data-quality-public,
.vce-quality-card,
.vce-quality-section,
.vce-seo-block {
    background-color: var(--vce-color-bg) !important;
    color: var(--vce-color-text) !important;
    border-color: var(--vce-color-border) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Texto interno dos cartões claros. */
.vce-card *,
.vce-panel *,
.vce-theme-card *,
.vce-catalog-card *,
.vce-stat-card *,
.vce-term-card *,
.vce-ranking-highlight-card *,
.vce-ranking-hub-card *,
.vce-related-vehicle-card *,
.vce-alternative-card *,
.vce-intelligent-link-card *,
.vce-siv-card *,
.vce-siv-profile *,
.vce-siv-profile-item *,
.vce-siv-component *,
.vce-cost-badges *,
.vce-cost-hub-links *,
.vce-vehicle-related *,
.vce-vehicle-alternatives *,
.vce-vehicle-deep-links *,
.vce-smart-summary *,
.vce-tco-simulator *,
.vce-comparator-form *,
.vce-ranking-seo-intro *,
.vce-siv-scale > * *,
.vce-quick-links *,
.vce-vehicle-highlights *,
.vce-auto-highlights *,
.vce-brand-costs *,
.vce-data-quality-public *,
.vce-quality-card *,
.vce-quality-section *,
.vce-seo-block * {
    color: inherit !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Títulos e texto secundário. */
.vce-ficha-tecnica h1,
.vce-ficha-tecnica h2,
.vce-ficha-tecnica h3,
.vce-ficha-tecnica h4,
.vce-comparator h1,
.vce-comparator h2,
.vce-comparator h3,
.vce-cost-rankings-page h1,
.vce-cost-rankings-page h2,
.vce-cost-rankings-page h3,
.vce-catalog-section h1,
.vce-catalog-section h2,
.vce-catalog-section h3,
.vce-siv-card h1,
.vce-siv-card h2,
.vce-siv-card h3,
.vce-siv-profile h1,
.vce-siv-profile h2,
.vce-siv-profile h3 {
    color: var(--vce-color-text) !important;
}

.vce-ficha-tecnica p,
.vce-ficha-tecnica li,
.vce-comparator p,
.vce-comparator li,
.vce-cost-rankings-page p,
.vce-cost-rankings-page li,
.vce-catalog-section p,
.vce-catalog-section li,
.vce-siv-card p,
.vce-siv-card li,
.vce-siv-profile p,
.vce-siv-profile li,
.vce-intelligent-links p,
.vce-vehicle-related p,
.vce-vehicle-alternatives p {
    color: var(--vce-color-muted) !important;
}

/* Links do plugin: vermelho Viatura.pt, nunca branco sobre fundo claro. */
.vce-ficha-tecnica a,
.vce-comparator a,
.vce-cost-rankings-page a,
.vce-catalog-section a,
.vce-siv-card a,
.vce-siv-profile a,
.vce-vehicle-related a,
.vce-vehicle-alternatives a,
.vce-intelligent-links a,
.vce-ranking-table a {
    color: var(--vce-color-link) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.vce-ficha-tecnica a:hover,
.vce-comparator a:hover,
.vce-cost-rankings-page a:hover,
.vce-catalog-section a:hover,
.vce-siv-card a:hover,
.vce-siv-profile a:hover,
.vce-vehicle-related a:hover,
.vce-vehicle-alternatives a:hover,
.vce-intelligent-links a:hover,
.vce-ranking-table a:hover {
    color: var(--vce-color-link-hover) !important;
}

/* Badges, pills, chips e botões secundários claros. */
.vce-badge,
.vce-cost-badges a,
.vce-cost-hub-links a,
.vce-ranking-actions a,
.vce-quick-links a,
.vce-chip,
.vce-button,
.vce-catalog-button,
.vce-siv-card .vce-button,
.vce-siv-card a.vce-button,
.vce-tco-winner-badge,
.vce-auto-highlights a,
.vce-vehicle-highlights a {
    background-color: #ffffff !important;
    color: var(--vce-color-text) !important;
    border-color: var(--vce-color-border) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.vce-badge *,
.vce-cost-badges a *,
.vce-cost-hub-links a *,
.vce-ranking-actions a *,
.vce-quick-links a *,
.vce-chip *,
.vce-button *,
.vce-catalog-button *,
.vce-tco-winner-badge * {
    color: inherit !important;
    opacity: 1 !important;
}

/* Botões de ação principais mantêm identidade vermelha. */
.vce-comparator-submit,
.vce-compare-toggle,
.vce-compare-go,
.vce-compare-clear,
button.vce-comparator-submit,
button.vce-compare-toggle {
    background-color: #ef233c !important;
    color: #ffffff !important;
    border-color: #ef233c !important;
}

/* Tabelas: cor explícita em todas as células. */
.vce-comparator table,
.vce-comparator-table,
.vce-comparator-tco-table,
.vce-tco-dynamic-table,
.vce-ranking-table {
    background-color: #ffffff !important;
    color: var(--vce-color-text) !important;
    border-color: var(--vce-color-border) !important;
}

.vce-comparator table th,
.vce-comparator table td,
.vce-comparator-table th,
.vce-comparator-table td,
.vce-comparator-tco-table th,
.vce-comparator-tco-table td,
.vce-tco-dynamic-table th,
.vce-tco-dynamic-table td,
.vce-ranking-table th,
.vce-ranking-table td {
    color: var(--vce-color-text) !important;
    background-color: #ffffff !important;
    border-color: var(--vce-color-border) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.vce-comparator table th *,
.vce-comparator table td *,
.vce-comparator-table th *,
.vce-comparator-table td *,
.vce-comparator-tco-table th *,
.vce-comparator-tco-table td *,
.vce-tco-dynamic-table th *,
.vce-tco-dynamic-table td *,
.vce-ranking-table th *,
.vce-ranking-table td * {
    color: inherit !important;
    opacity: 1 !important;
}

.vce-comparator table th,
.vce-comparator-table th,
.vce-comparator-tco-table th,
.vce-tco-dynamic-table th,
.vce-ranking-table th,
.vce-comparator-section-row th,
.vce-ranking-table thead th,
.vce-ranking-table tbody th {
    background-color: var(--vce-color-surface-2) !important;
    color: var(--vce-color-text) !important;
}

/* Linhas alternadas continuam legíveis. */
.vce-ranking-table tbody tr:nth-child(even) td,
.vce-comparator-table tbody tr:nth-child(even) td,
.vce-tco-dynamic-table tbody tr:nth-child(even) td {
    background-color: #fbfdff !important;
    color: var(--vce-color-text) !important;
}

/* Ranking: segmento, combustível, custo/km e posição estavam a herdar branco. */
.vce-ranking-table .vce-ranking-pos,
.vce-ranking-table .vce-ranking-main-metric,
.vce-ranking-table td,
.vce-ranking-table td span,
.vce-ranking-table td small,
.vce-ranking-table td div {
    color: var(--vce-color-text) !important;
    opacity: 1 !important;
}

/* Formulários/selects dentro do plugin. */
.vce-comparator select,
.vce-comparator input,
.vce-comparator textarea,
.vce-tco-simulator select,
.vce-tco-simulator input,
.vce-tco-simulator textarea,
.vce-catalog-section select,
.vce-catalog-section input,
.vce-catalog-section textarea {
    background-color: #ffffff !important;
    color: var(--vce-color-text) !important;
    border-color: #cbd5e1 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.vce-comparator select option,
.vce-tco-simulator select option,
.vce-catalog-section select option {
    background-color: #ffffff !important;
    color: var(--vce-color-text) !important;
}

/* Componentes SIV: em vez de fundos escuros isolados, usar superfície clara para evitar heranças contraditórias. */
.vce-siv-component,
.vce-siv-profile-item {
    background-color: var(--vce-color-surface) !important;
    color: var(--vce-color-text) !important;
}

.vce-siv-component strong,
.vce-siv-component em,
.vce-siv-component small,
.vce-siv-profile-title,
.vce-siv-profile-rating,
.vce-siv-profile-item strong,
.vce-siv-profile-item span,
.vce-siv-profile-item p {
    color: var(--vce-color-text) !important;
}

/* Barras SIV: manter contraste da barra sem afetar o texto. */
.vce-siv-component span,
.vce-progress,
.vce-siv-profile-bar {
    background-color: #e5e7eb !important;
}

.vce-siv-component span i,
.vce-progress i,
.vce-siv-profile-bar i {
    background-color: #16a34a !important;
}

/* Blocos cujo conteúdo usa cards claros, mesmo dentro de body/theme escuro. */
body.dark .vce-ficha-tecnica,
body.dark-mode .vce-ficha-tecnica,
body[class*="dark"] .vce-ficha-tecnica,
html[class*="dark"] .vce-ficha-tecnica,
body[data-theme="dark"] .vce-ficha-tecnica,
html[data-theme="dark"] .vce-ficha-tecnica,
body.dark .vce-comparator,
body.dark-mode .vce-comparator,
body[class*="dark"] .vce-comparator,
html[class*="dark"] .vce-comparator,
body[data-theme="dark"] .vce-comparator,
html[data-theme="dark"] .vce-comparator,
body.dark .vce-cost-rankings-page,
body.dark-mode .vce-cost-rankings-page,
body[class*="dark"] .vce-cost-rankings-page,
html[class*="dark"] .vce-cost-rankings-page,
body[data-theme="dark"] .vce-cost-rankings-page,
html[data-theme="dark"] .vce-cost-rankings-page {
    color: var(--vce-color-text) !important;
}

/* Último nível de proteção: qualquer elemento VCE com fundo claro nunca pode ficar com texto claro. */
[class*="vce-"][style*="background:#fff"],
[class*="vce-"][style*="background: #fff"],
[class*="vce-"][style*="background-color:#fff"],
[class*="vce-"][style*="background-color: #fff"],
[class*="vce-"][style*="background:#ffffff"],
[class*="vce-"][style*="background: #ffffff"],
[class*="vce-"][style*="background-color:#ffffff"],
[class*="vce-"][style*="background-color: #ffffff"] {
    color: var(--vce-color-text) !important;
}

/* Acessibilidade: evita texto invisível nos ícones/labels pequenos. */
.vce-catalog-eyebrow,
.vce-vehicle-kicker,
.vce-related-kicker,
.vce-ranking-note,
.vce-note,
.vce-empty,
.vce-missing,
.vce-related-meta,
.vce-archive-meta,
.vce-catalog-lead,
.vce-catalog-kicker {
    color: var(--vce-color-muted) !important;
    opacity: 1 !important;
}

/* Em páginas escuras, cartões brancos mantêm sombra/borda discreta mas legível. */
body[class*="dark"] .vce-card,
body[class*="dark"] .vce-panel,
body[class*="dark"] .vce-theme-card,
body[class*="dark"] .vce-catalog-card,
body[class*="dark"] .vce-related-vehicle-card a,
body[class*="dark"] .vce-intelligent-link-card,
body[class*="dark"] .vce-siv-card,
body[class*="dark"] .vce-cost-badges,
body[class*="dark"] .vce-cost-hub-links,
body[class*="dark"] .vce-vehicle-related,
body[class*="dark"] .vce-vehicle-alternatives,
body[class*="dark"] .vce-vehicle-deep-links,
html[class*="dark"] .vce-card,
html[class*="dark"] .vce-panel,
html[class*="dark"] .vce-theme-card,
html[class*="dark"] .vce-catalog-card,
html[class*="dark"] .vce-related-vehicle-card a,
html[class*="dark"] .vce-intelligent-link-card,
html[class*="dark"] .vce-siv-card,
html[class*="dark"] .vce-cost-badges,
html[class*="dark"] .vce-cost-hub-links,
html[class*="dark"] .vce-vehicle-related,
html[class*="dark"] .vce-vehicle-alternatives,
html[class*="dark"] .vce-vehicle-deep-links {
    background-color: #ffffff !important;
    color: var(--vce-color-text) !important;
    border-color: var(--vce-color-border) !important;
}


/* ========================================================================== 
   v0.7.3.8 — Sistema Daylight VCE para compatibilidade clara/escura
   --------------------------------------------------------------------------
   Estratégia: todos os componentes públicos do Viatura Core Engine passam a
   renderizar como "ilhas claras" com texto escuro e links vermelhos. Isto evita
   heranças do tema Newsxo em modo escuro (ex.: color:#fff aplicado a links,
   tabelas, botões e spans dentro do conteúdo). A regra é deliberadamente forte
   e transversal para fichas, comparador, rankings, SIV, custos, relacionadas,
   alternativas e ligações internas.
   ========================================================================== */

:root {
  --vce-day-bg: #ffffff;
  --vce-day-surface: #f8fafc;
  --vce-day-surface-2: #f1f5f9;
  --vce-day-text: #071326;
  --vce-day-muted: #334155;
  --vce-day-soft: #64748b;
  --vce-day-border: #d7dee8;
  --vce-day-link: #ef233c;
  --vce-day-link-hover: #b91c1c;
  --vce-day-green: #16a34a;
  --vce-day-yellow: #f59e0b;
  --vce-day-red-soft: #fff1f2;
}

/* Raízes públicas do plugin: impedem color-scheme escuro nos controlos nativos. */
.vce-vehicle-page,
.vce-ficha-tecnica,
.vce-ficha-tecnica-pro,
.vce-comparator,
.vce-cost-rankings-page,
.vce-public-catalog,
.vce-catalog-wrap,
.vce-catalog-section,
.vce-siv-card,
.vce-siv-explain,
.vce-tco-simulator,
.vce-vehicle-related-list,
.vce-vehicle-related,
.vce-vehicle-alternatives,
.vce-vehicle-deep-links,
.vce-intelligent-links,
.vce-smart-summary,
.vce-auto-highlights,
.vce-brand-costs,
.vce-seo-navigation {
  color-scheme: light !important;
  color: var(--vce-day-text) !important;
  text-shadow: none !important;
}

/* Superfícies: ficam claras quer o tema esteja claro ou escuro. */
.vce-card,
.vce-panel,
.vce-theme-card,
.vce-catalog-card,
.vce-term-card,
.vce-stat-card,
.vce-catalog-section,
.vce-ficha-tecnica,
.vce-ficha-tecnica-pro,
.vce-comparator,
.vce-comparator-form,
.vce-comparator-table-wrap,
.vce-comparator-tco-table-wrap,
.vce-tco-simulator,
.vce-ranking-table-wrap,
.vce-ranking-seo-intro,
.vce-ranking-highlight-card,
.vce-ranking-hub-card,
.vce-siv-card,
.vce-siv-explain,
.vce-siv-profile,
.vce-siv-profile-item,
.vce-siv-component,
.vce-siv-scale span,
.vce-cost-badges,
.vce-cost-hub-links,
.vce-vehicle-related-list,
.vce-vehicle-related,
.vce-vehicle-alternatives,
.vce-vehicle-deep-links,
.vce-related-vehicle-card,
.vce-related-vehicle-card a,
.vce-alternative-card,
.vce-alternative-card a,
.vce-intelligent-links,
.vce-intelligent-link-card,
.vce-smart-summary,
.vce-auto-highlights,
.vce-vehicle-highlights,
.vce-brand-costs,
.vce-quality-card,
.vce-quality-section,
.vce-seo-block,
.vce-seo-links,
.vce-related-categories,
.vce-related-categories a {
  background: var(--vce-day-bg) !important;
  background-color: var(--vce-day-bg) !important;
  color: var(--vce-day-text) !important;
  border-color: var(--vce-day-border) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Regra transversal de texto: dentro das ilhas VCE, nada pode herdar branco do tema. */
.vce-vehicle-page :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-ficha-tecnica :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-comparator :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-cost-rankings-page :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-catalog-section :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-siv-card :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-siv-explain :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-tco-simulator :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-vehicle-related-list :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
.vce-intelligent-links :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th) {
  color: var(--vce-day-text) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Texto secundário continua escuro, mas menos pesado. */
.vce-vehicle-page :where(p,small,em,.vce-related-meta,.vce-related-kicker,.vce-catalog-lead,.vce-catalog-kicker,.vce-ranking-note,.vce-note),
.vce-ficha-tecnica :where(p,small,em,.vce-related-meta,.vce-related-kicker,.vce-catalog-lead,.vce-catalog-kicker,.vce-ranking-note,.vce-note),
.vce-cost-rankings-page :where(p,small,em,.vce-related-meta,.vce-related-kicker,.vce-catalog-lead,.vce-catalog-kicker,.vce-ranking-note,.vce-note),
.vce-siv-card :where(p,small,em,.vce-related-meta,.vce-related-kicker,.vce-catalog-lead,.vce-catalog-kicker,.vce-ranking-note,.vce-note) {
  color: var(--vce-day-muted) !important;
}

/* Links: vermelhos e legíveis; exceção para cards que precisam parecer botões. */
.vce-vehicle-page a,
.vce-ficha-tecnica a,
.vce-comparator a,
.vce-cost-rankings-page a,
.vce-catalog-section a,
.vce-siv-card a,
.vce-siv-explain a,
.vce-tco-simulator a,
.vce-vehicle-related-list a,
.vce-intelligent-links a {
  color: var(--vce-day-link) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.vce-vehicle-page a:hover,
.vce-ficha-tecnica a:hover,
.vce-comparator a:hover,
.vce-cost-rankings-page a:hover,
.vce-catalog-section a:hover,
.vce-siv-card a:hover,
.vce-siv-explain a:hover,
.vce-tco-simulator a:hover,
.vce-vehicle-related-list a:hover,
.vce-intelligent-links a:hover {
  color: var(--vce-day-link-hover) !important;
}

/* Pills/badges/botões secundários: fundo claro + texto escuro/link vermelho conforme aplicável. */
.vce-badge,
.vce-chip,
.vce-pill,
.vce-cost-badges a,
.vce-cost-hub-links a,
.vce-ranking-actions a,
.vce-quick-links a,
.vce-siv-card a.vce-button,
.vce-siv-card .vce-button,
.vce-catalog-button,
.vce-auto-highlights a,
.vce-vehicle-highlights a,
.vce-related-categories a {
  display: inline-flex;
  background: var(--vce-day-bg) !important;
  background-color: var(--vce-day-bg) !important;
  color: var(--vce-day-text) !important;
  border-color: var(--vce-day-border) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.vce-cost-badges a,
.vce-cost-hub-links a,
.vce-ranking-actions a,
.vce-quick-links a,
.vce-auto-highlights a,
.vce-vehicle-highlights a,
.vce-related-categories a {
  color: var(--vce-day-text) !important;
}
.vce-cost-badges a *,
.vce-cost-hub-links a *,
.vce-ranking-actions a *,
.vce-quick-links a *,
.vce-auto-highlights a *,
.vce-vehicle-highlights a *,
.vce-related-categories a * {
  color: inherit !important;
}

/* Botões primários vermelhos. */
.vce-comparator-submit,
.vce-compare-toggle,
.vce-compare-go,
.vce-compare-clear,
button.vce-comparator-submit,
button.vce-compare-toggle,
.vce-catalog-filters button {
  background: var(--vce-day-link) !important;
  background-color: var(--vce-day-link) !important;
  color: #ffffff !important;
  border-color: var(--vce-day-link) !important;
}

/* Tabelas: sempre claras e legíveis, incluindo rankings e simulador. */
.vce-comparator table,
.vce-comparator-table,
.vce-comparator-tco-table,
.vce-tco-dynamic-table,
.vce-ranking-table {
  background: var(--vce-day-bg) !important;
  background-color: var(--vce-day-bg) !important;
  color: var(--vce-day-text) !important;
  border-color: var(--vce-day-border) !important;
}
.vce-comparator table th,
.vce-comparator table td,
.vce-comparator-table th,
.vce-comparator-table td,
.vce-comparator-tco-table th,
.vce-comparator-tco-table td,
.vce-tco-dynamic-table th,
.vce-tco-dynamic-table td,
.vce-ranking-table th,
.vce-ranking-table td {
  background: var(--vce-day-bg) !important;
  background-color: var(--vce-day-bg) !important;
  color: var(--vce-day-text) !important;
  border-color: var(--vce-day-border) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.vce-comparator table th,
.vce-comparator-table th,
.vce-comparator-tco-table th,
.vce-tco-dynamic-table th,
.vce-ranking-table th,
.vce-comparator-section-row th,
.vce-comparator-section-row td,
.vce-ranking-table thead th,
.vce-ranking-table tbody th {
  background: var(--vce-day-surface-2) !important;
  background-color: var(--vce-day-surface-2) !important;
  color: var(--vce-day-text) !important;
}
.vce-ranking-table tbody tr:nth-child(even) td,
.vce-comparator-table tbody tr:nth-child(even) td,
.vce-tco-dynamic-table tbody tr:nth-child(even) td {
  background: #fbfdff !important;
  background-color: #fbfdff !important;
  color: var(--vce-day-text) !important;
}
.vce-ranking-table .vce-ranking-main-metric {
  background: var(--vce-day-red-soft) !important;
  background-color: var(--vce-day-red-soft) !important;
  color: var(--vce-day-link) !important;
  font-weight: 900 !important;
}
.vce-ranking-table a,
.vce-comparator-table a,
.vce-tco-dynamic-table a {
  color: var(--vce-day-link) !important;
}

/* Selects/inputs: não seguem o color-scheme escuro do browser/tema. */
.vce-comparator select,
.vce-comparator input,
.vce-comparator textarea,
.vce-tco-simulator select,
.vce-tco-simulator input,
.vce-tco-simulator textarea,
.vce-catalog-section select,
.vce-catalog-section input,
.vce-catalog-section textarea,
.vce-catalog-filters input,
.vce-catalog-filters select {
  color-scheme: light !important;
  background: var(--vce-day-bg) !important;
  background-color: var(--vce-day-bg) !important;
  color: var(--vce-day-text) !important;
  border-color: #cbd5e1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.vce-comparator select option,
.vce-tco-simulator select option,
.vce-catalog-section select option,
.vce-catalog-filters select option {
  background: var(--vce-day-bg) !important;
  color: var(--vce-day-text) !important;
}

/* SIV: componentes e barras. */
.vce-siv-component,
.vce-siv-profile-item {
  background: var(--vce-day-surface) !important;
  background-color: var(--vce-day-surface) !important;
  color: var(--vce-day-text) !important;
}
.vce-siv-component > span,
.vce-progress,
.vce-siv-profile-bar {
  background: #e5e7eb !important;
  background-color: #e5e7eb !important;
  color: transparent !important;
}
.vce-siv-component > span *,
.vce-progress *,
.vce-siv-profile-bar * {
  color: transparent !important;
}
.vce-siv-component > span i,
.vce-progress i,
.vce-siv-profile-bar i {
  background: var(--vce-day-green) !important;
  background-color: var(--vce-day-green) !important;
}
.vce-siv-profile-fair .vce-siv-profile-bar i { background: var(--vce-day-yellow) !important; background-color: var(--vce-day-yellow) !important; }
.vce-siv-profile-expensive .vce-siv-profile-bar i { background: #ef4444 !important; background-color: #ef4444 !important; }
.vce-siv-profile-good .vce-siv-profile-bar i { background: #eab308 !important; background-color: #eab308 !important; }

/* Cards de relacionadas/alternativas: títulos nunca podem herdar branco. */
.vce-related-vehicle-card a,
.vce-alternative-card a,
.vce-intelligent-link-card {
  color: var(--vce-day-text) !important;
  text-decoration: none;
}
.vce-related-vehicle-card strong,
.vce-alternative-card strong,
.vce-intelligent-link-card strong,
.vce-related-vehicle-card a strong,
.vce-alternative-card a strong {
  color: var(--vce-day-link) !important;
  text-decoration: underline;
  opacity: 1 !important;
}
.vce-related-kicker,
.vce-related-meta {
  color: var(--vce-day-muted) !important;
  opacity: 1 !important;
}

/* Heranças agressivas de temas escuros: regra final com maior especificidade. */
body[class*="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
html[class*="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
body[data-theme="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th),
html[data-theme="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,em,small,label,div,td,th) {
  color: var(--vce-day-text) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
body[class*="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) a,
html[class*="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) a,
body[data-theme="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) a,
html[data-theme="dark"] :where(.vce-vehicle-page,.vce-ficha-tecnica,.vce-comparator,.vce-cost-rankings-page,.vce-catalog-section,.vce-siv-card,.vce-tco-simulator,.vce-vehicle-related-list,.vce-intelligent-links) a {
  color: var(--vce-day-link) !important;
}

/* Reaplicar transparência das barras depois da regra final de texto. */
.vce-siv-component > span,
.vce-siv-component > span *,
.vce-progress,
.vce-progress *,
.vce-siv-profile-bar,
.vce-siv-profile-bar * {
  color: transparent !important;
}


/* ========================================================================== 
   v0.7.3.9 — Daylight Hard Override VCE
   --------------------------------------------------------------------------
   Correção estrutural: o tema Newsxo em modo escuro aplica regras muito
   específicas sobre elementos internos. Esta camada, no fim absoluto do CSS,
   força todos os componentes públicos do plugin a funcionarem como ilhas claras
   com texto escuro. Evita fundo claro/texto branco e fundo escuro/texto escuro.
   ========================================================================== */

:root{
  --vce-hard-bg:#ffffff;
  --vce-hard-surface:#f8fafc;
  --vce-hard-surface-2:#f1f5f9;
  --vce-hard-text:#071326;
  --vce-hard-muted:#334155;
  --vce-hard-border:#d7dee8;
  --vce-hard-link:#ef233c;
  --vce-hard-link-hover:#b91c1c;
  --vce-hard-green:#16a34a;
  --vce-hard-yellow:#f59e0b;
  --vce-hard-red:#ef4444;
}

/* Raízes: neutralizam color-scheme escuro do navegador/tema. */
body .vce-vehicle-page,
body .vce-ficha-tecnica,
body .vce-ficha-tecnica-pro,
body .vce-comparator,
body .vce-public-catalog,
body .vce-catalog-wrap,
body .vce-catalog-section,
body .vce-cost-rankings-page,
body .vce-siv-card,
body .vce-siv-explain,
body .vce-siv-profile,
body .vce-tco-simulator,
body .vce-vehicle-related,
body .vce-vehicle-related-list,
body .vce-vehicle-alternatives,
body .vce-vehicle-deep-links,
body .vce-intelligent-links,
body .vce-smart-summary,
body .vce-auto-highlights,
body .vce-brand-costs,
body .vce-seo-navigation,
html .vce-vehicle-page,
html .vce-ficha-tecnica,
html .vce-ficha-tecnica-pro,
html .vce-comparator,
html .vce-public-catalog,
html .vce-catalog-wrap,
html .vce-catalog-section,
html .vce-cost-rankings-page,
html .vce-siv-card,
html .vce-siv-explain,
html .vce-siv-profile,
html .vce-tco-simulator,
html .vce-vehicle-related,
html .vce-vehicle-related-list,
html .vce-vehicle-alternatives,
html .vce-vehicle-deep-links,
html .vce-intelligent-links,
html .vce-smart-summary,
html .vce-auto-highlights,
html .vce-brand-costs,
html .vce-seo-navigation{
  color-scheme:light !important;
  color:var(--vce-hard-text) !important;
  text-shadow:none !important;
  opacity:1 !important;
}

/* Superfícies principais e todos os cartões/blocos VCE: sempre claros. */
body .vce-card, body .vce-panel, body .vce-theme-card,
body .vce-catalog-card, body .vce-term-card, body .vce-stat-card,
body .vce-ficha-tecnica, body .vce-ficha-tecnica-pro,
body .vce-comparator, body .vce-comparator-form,
body .vce-comparator-table-wrap, body .vce-comparator-tco-table-wrap,
body .vce-tco-simulator, body .vce-ranking-table-wrap,
body .vce-ranking-seo-intro, body .vce-ranking-highlight-card,
body .vce-ranking-hub-card, body .vce-cost-rankings-page,
body .vce-catalog-section, body .vce-siv-card,
body .vce-siv-explain, body .vce-siv-profile,
body .vce-siv-profile-item, body .vce-siv-component,
body .vce-siv-scale span, body .vce-cost-badges,
body .vce-cost-hub-links, body .vce-vehicle-related,
body .vce-vehicle-related-list, body .vce-vehicle-alternatives,
body .vce-vehicle-deep-links, body .vce-related-vehicle-card,
body .vce-related-vehicle-card a, body .vce-alternative-card,
body .vce-alternative-card a, body .vce-intelligent-links,
body .vce-intelligent-link-card, body .vce-smart-summary,
body .vce-auto-highlights, body .vce-vehicle-highlights,
body .vce-brand-costs, body .vce-quality-card,
body .vce-quality-section, body .vce-seo-block,
body .vce-seo-links, body .vce-related-categories,
body .vce-related-categories a,
html .vce-card, html .vce-panel, html .vce-theme-card,
html .vce-catalog-card, html .vce-term-card, html .vce-stat-card,
html .vce-ficha-tecnica, html .vce-ficha-tecnica-pro,
html .vce-comparator, html .vce-comparator-form,
html .vce-comparator-table-wrap, html .vce-comparator-tco-table-wrap,
html .vce-tco-simulator, html .vce-ranking-table-wrap,
html .vce-ranking-seo-intro, html .vce-ranking-highlight-card,
html .vce-ranking-hub-card, html .vce-cost-rankings-page,
html .vce-catalog-section, html .vce-siv-card,
html .vce-siv-explain, html .vce-siv-profile,
html .vce-siv-profile-item, html .vce-siv-component,
html .vce-siv-scale span, html .vce-cost-badges,
html .vce-cost-hub-links, html .vce-vehicle-related,
html .vce-vehicle-related-list, html .vce-vehicle-alternatives,
html .vce-vehicle-deep-links, html .vce-related-vehicle-card,
html .vce-related-vehicle-card a, html .vce-alternative-card,
html .vce-alternative-card a, html .vce-intelligent-links,
html .vce-intelligent-link-card, html .vce-smart-summary,
html .vce-auto-highlights, html .vce-vehicle-highlights,
html .vce-brand-costs, html .vce-quality-card,
html .vce-quality-section, html .vce-seo-block,
html .vce-seo-links, html .vce-related-categories,
html .vce-related-categories a{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
  border-color:var(--vce-hard-border) !important;
  opacity:1 !important;
  text-shadow:none !important;
  box-shadow:none;
}

/* Texto dentro de TODAS as ilhas claras do plugin. */
body .vce-vehicle-page h1, body .vce-vehicle-page h2, body .vce-vehicle-page h3, body .vce-vehicle-page h4, body .vce-vehicle-page h5, body .vce-vehicle-page h6, body .vce-vehicle-page p, body .vce-vehicle-page li, body .vce-vehicle-page span, body .vce-vehicle-page strong, body .vce-vehicle-page em, body .vce-vehicle-page small, body .vce-vehicle-page label, body .vce-vehicle-page div, body .vce-vehicle-page td, body .vce-vehicle-page th,
body .vce-ficha-tecnica h1, body .vce-ficha-tecnica h2, body .vce-ficha-tecnica h3, body .vce-ficha-tecnica h4, body .vce-ficha-tecnica h5, body .vce-ficha-tecnica h6, body .vce-ficha-tecnica p, body .vce-ficha-tecnica li, body .vce-ficha-tecnica span, body .vce-ficha-tecnica strong, body .vce-ficha-tecnica em, body .vce-ficha-tecnica small, body .vce-ficha-tecnica label, body .vce-ficha-tecnica div, body .vce-ficha-tecnica td, body .vce-ficha-tecnica th,
body .vce-comparator h1, body .vce-comparator h2, body .vce-comparator h3, body .vce-comparator h4, body .vce-comparator h5, body .vce-comparator h6, body .vce-comparator p, body .vce-comparator li, body .vce-comparator span, body .vce-comparator strong, body .vce-comparator em, body .vce-comparator small, body .vce-comparator label, body .vce-comparator div, body .vce-comparator td, body .vce-comparator th,
body .vce-cost-rankings-page h1, body .vce-cost-rankings-page h2, body .vce-cost-rankings-page h3, body .vce-cost-rankings-page h4, body .vce-cost-rankings-page h5, body .vce-cost-rankings-page h6, body .vce-cost-rankings-page p, body .vce-cost-rankings-page li, body .vce-cost-rankings-page span, body .vce-cost-rankings-page strong, body .vce-cost-rankings-page em, body .vce-cost-rankings-page small, body .vce-cost-rankings-page label, body .vce-cost-rankings-page div, body .vce-cost-rankings-page td, body .vce-cost-rankings-page th,
body .vce-catalog-section h1, body .vce-catalog-section h2, body .vce-catalog-section h3, body .vce-catalog-section h4, body .vce-catalog-section h5, body .vce-catalog-section h6, body .vce-catalog-section p, body .vce-catalog-section li, body .vce-catalog-section span, body .vce-catalog-section strong, body .vce-catalog-section em, body .vce-catalog-section small, body .vce-catalog-section label, body .vce-catalog-section div, body .vce-catalog-section td, body .vce-catalog-section th,
body .vce-siv-card h1, body .vce-siv-card h2, body .vce-siv-card h3, body .vce-siv-card h4, body .vce-siv-card h5, body .vce-siv-card h6, body .vce-siv-card p, body .vce-siv-card li, body .vce-siv-card span, body .vce-siv-card strong, body .vce-siv-card em, body .vce-siv-card small, body .vce-siv-card label, body .vce-siv-card div, body .vce-siv-card td, body .vce-siv-card th,
body .vce-tco-simulator h1, body .vce-tco-simulator h2, body .vce-tco-simulator h3, body .vce-tco-simulator h4, body .vce-tco-simulator h5, body .vce-tco-simulator h6, body .vce-tco-simulator p, body .vce-tco-simulator li, body .vce-tco-simulator span, body .vce-tco-simulator strong, body .vce-tco-simulator em, body .vce-tco-simulator small, body .vce-tco-simulator label, body .vce-tco-simulator div, body .vce-tco-simulator td, body .vce-tco-simulator th,
body .vce-vehicle-related h1, body .vce-vehicle-related h2, body .vce-vehicle-related h3, body .vce-vehicle-related h4, body .vce-vehicle-related h5, body .vce-vehicle-related h6, body .vce-vehicle-related p, body .vce-vehicle-related li, body .vce-vehicle-related span, body .vce-vehicle-related strong, body .vce-vehicle-related em, body .vce-vehicle-related small, body .vce-vehicle-related label, body .vce-vehicle-related div, body .vce-vehicle-related td, body .vce-vehicle-related th,
body .vce-intelligent-links h1, body .vce-intelligent-links h2, body .vce-intelligent-links h3, body .vce-intelligent-links h4, body .vce-intelligent-links h5, body .vce-intelligent-links h6, body .vce-intelligent-links p, body .vce-intelligent-links li, body .vce-intelligent-links span, body .vce-intelligent-links strong, body .vce-intelligent-links em, body .vce-intelligent-links small, body .vce-intelligent-links label, body .vce-intelligent-links div, body .vce-intelligent-links td, body .vce-intelligent-links th{
  color:var(--vce-hard-text) !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* Texto secundário escuro, mas com menor peso. */
body .vce-vehicle-page p, body .vce-vehicle-page small, body .vce-vehicle-page em,
body .vce-ficha-tecnica p, body .vce-ficha-tecnica small, body .vce-ficha-tecnica em,
body .vce-comparator p, body .vce-comparator small, body .vce-comparator em,
body .vce-cost-rankings-page p, body .vce-cost-rankings-page small, body .vce-cost-rankings-page em,
body .vce-catalog-section p, body .vce-catalog-section small, body .vce-catalog-section em,
body .vce-siv-card p, body .vce-siv-card small, body .vce-siv-card em,
body .vce-tco-simulator p, body .vce-tco-simulator small, body .vce-tco-simulator em,
body .vce-related-meta, body .vce-related-kicker, body .vce-ranking-note, body .vce-note, body .vce-catalog-lead{
  color:var(--vce-hard-muted) !important;
}

/* Links e botões secundários. */
body .vce-vehicle-page a, body .vce-ficha-tecnica a, body .vce-comparator a,
body .vce-cost-rankings-page a, body .vce-catalog-section a, body .vce-siv-card a,
body .vce-siv-explain a, body .vce-tco-simulator a, body .vce-vehicle-related a,
body .vce-intelligent-links a, body .vce-ranking-table a{
  color:var(--vce-hard-link) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body .vce-vehicle-page a:hover, body .vce-ficha-tecnica a:hover, body .vce-comparator a:hover,
body .vce-cost-rankings-page a:hover, body .vce-catalog-section a:hover, body .vce-siv-card a:hover,
body .vce-siv-explain a:hover, body .vce-tco-simulator a:hover, body .vce-vehicle-related a:hover,
body .vce-intelligent-links a:hover, body .vce-ranking-table a:hover{
  color:var(--vce-hard-link-hover) !important;
}

body .vce-badge, body .vce-chip, body .vce-pill,
body .vce-cost-badges a, body .vce-cost-hub-links a,
body .vce-ranking-actions a, body .vce-quick-links a,
body .vce-catalog-button, body .vce-siv-card .vce-button,
body .vce-siv-card a.vce-button, body .vce-tco-winner-badge,
body .vce-auto-highlights a, body .vce-vehicle-highlights a{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
  border:1px solid var(--vce-hard-border) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body .vce-badge *, body .vce-chip *, body .vce-pill *,
body .vce-cost-badges a *, body .vce-cost-hub-links a *,
body .vce-ranking-actions a *, body .vce-quick-links a *,
body .vce-tco-winner-badge *{
  color:inherit !important;
  opacity:1 !important;
}

/* Botões principais vermelhos. */
body .vce-comparator-submit, body .vce-compare-toggle,
body .vce-compare-go, body .vce-compare-clear,
body button.vce-comparator-submit, body button.vce-compare-toggle,
body .vce-catalog-filters button{
  background:#ef233c !important;
  background-color:#ef233c !important;
  color:#ffffff !important;
  border-color:#ef233c !important;
}

/* Tabelas: tudo claro, incluindo tbody/thead/células e conteúdo interno. */
body .vce-comparator table, body .vce-comparator-table,
body .vce-comparator-tco-table, body .vce-tco-dynamic-table,
body .vce-ranking-table{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
  border-color:var(--vce-hard-border) !important;
}
body .vce-comparator table thead, body .vce-comparator table tbody, body .vce-comparator table tr,
body .vce-comparator-table thead, body .vce-comparator-table tbody, body .vce-comparator-table tr,
body .vce-comparator-tco-table thead, body .vce-comparator-tco-table tbody, body .vce-comparator-tco-table tr,
body .vce-tco-dynamic-table thead, body .vce-tco-dynamic-table tbody, body .vce-tco-dynamic-table tr,
body .vce-ranking-table thead, body .vce-ranking-table tbody, body .vce-ranking-table tr{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
}
body .vce-comparator table th, body .vce-comparator table td,
body .vce-comparator-table th, body .vce-comparator-table td,
body .vce-comparator-tco-table th, body .vce-comparator-tco-table td,
body .vce-tco-dynamic-table th, body .vce-tco-dynamic-table td,
body .vce-ranking-table th, body .vce-ranking-table td{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
  border-color:var(--vce-hard-border) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body .vce-comparator table th, body .vce-comparator-table th,
body .vce-comparator-tco-table th, body .vce-tco-dynamic-table th,
body .vce-ranking-table th, body .vce-comparator-section-row th,
body .vce-comparator-section-row td, body .vce-ranking-table thead th,
body .vce-ranking-table tbody th{
  background:#f1f5f9 !important;
  background-color:#f1f5f9 !important;
  color:var(--vce-hard-text) !important;
}
body .vce-comparator table th *, body .vce-comparator table td *,
body .vce-comparator-table th *, body .vce-comparator-table td *,
body .vce-comparator-tco-table th *, body .vce-comparator-tco-table td *,
body .vce-tco-dynamic-table th *, body .vce-tco-dynamic-table td *,
body .vce-ranking-table th *, body .vce-ranking-table td *{
  color:inherit !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body .vce-ranking-table .vce-ranking-main-metric{
  background:#fff1f2 !important;
  background-color:#fff1f2 !important;
  color:#ef233c !important;
}

/* Selects/inputs. */
body .vce-comparator select, body .vce-comparator input, body .vce-comparator textarea,
body .vce-tco-simulator select, body .vce-tco-simulator input, body .vce-tco-simulator textarea,
body .vce-catalog-section select, body .vce-catalog-section input, body .vce-catalog-section textarea,
body .vce-catalog-filters input, body .vce-catalog-filters select{
  color-scheme:light !important;
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
  border-color:#cbd5e1 !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body .vce-comparator select option, body .vce-tco-simulator select option,
body .vce-catalog-section select option, body .vce-catalog-filters select option{
  background:#ffffff !important;
  color:var(--vce-hard-text) !important;
}

/* SIV: componentes e perfil ficam claros; só as barras usam cinza/verde. */
body .vce-siv-profile, body .vce-siv-profile-item, body .vce-siv-component{
  background:#f8fafc !important;
  background-color:#f8fafc !important;
  color:var(--vce-hard-text) !important;
  border-color:var(--vce-hard-border) !important;
}
body .vce-siv-profile *, body .vce-siv-profile-item *, body .vce-siv-component *{
  color:var(--vce-hard-text) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body .vce-siv-component > span,
body .vce-progress,
body .vce-siv-profile-bar{
  display:block;
  background:#e5e7eb !important;
  background-color:#e5e7eb !important;
  color:transparent !important;
  overflow:hidden;
}
body .vce-siv-component > span *, body .vce-progress *, body .vce-siv-profile-bar *{
  color:transparent !important;
}
body .vce-siv-component > span i,
body .vce-progress i,
body .vce-siv-profile-bar i{
  display:block;
  background:#16a34a !important;
  background-color:#16a34a !important;
}
body .vce-siv-profile-fair .vce-siv-profile-bar i{background:#f59e0b !important;background-color:#f59e0b !important;}
body .vce-siv-profile-expensive .vce-siv-profile-bar i{background:#ef4444 !important;background-color:#ef4444 !important;}
body .vce-siv-profile-good .vce-siv-profile-bar i{background:#eab308 !important;background-color:#eab308 !important;}

/* Relacionadas e alternativas: links/títulos sempre vermelhos ou texto escuro legível. */
body .vce-related-vehicle-card a, body .vce-alternative-card a{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
}
body .vce-related-vehicle-card strong, body .vce-alternative-card strong,
body .vce-related-vehicle-card a strong, body .vce-alternative-card a strong{
  color:#ef233c !important;
  text-decoration:underline;
}
body .vce-related-kicker, body .vce-related-meta{
  color:var(--vce-hard-muted) !important;
}

/* Garantia final contra classes específicas de modo escuro do tema. */
body.dark .vce-siv-card, body.dark-mode .vce-siv-card, body[class*="dark"] .vce-siv-card, html[class*="dark"] body .vce-siv-card,
body.dark .vce-siv-profile, body.dark-mode .vce-siv-profile, body[class*="dark"] .vce-siv-profile, html[class*="dark"] body .vce-siv-profile,
body.dark .vce-siv-component, body.dark-mode .vce-siv-component, body[class*="dark"] .vce-siv-component, html[class*="dark"] body .vce-siv-component,
body.dark .vce-related-vehicle-card a, body.dark-mode .vce-related-vehicle-card a, body[class*="dark"] .vce-related-vehicle-card a, html[class*="dark"] body .vce-related-vehicle-card a,
body.dark .vce-cost-badges, body.dark-mode .vce-cost-badges, body[class*="dark"] .vce-cost-badges, html[class*="dark"] body .vce-cost-badges,
body.dark .vce-cost-hub-links, body.dark-mode .vce-cost-hub-links, body[class*="dark"] .vce-cost-hub-links, html[class*="dark"] body .vce-cost-hub-links{
  background:#ffffff !important;
  background-color:#ffffff !important;
  color:var(--vce-hard-text) !important;
}


/* v0.7.3.14 — Visual Isolation Layer appended as final public CSS override */

/* ==========================================================================
   Viatura Core Engine v0.7.3.14 — VCE Visual Isolation Layer
   --------------------------------------------------------------------------
   Objetivo: isolar visualmente os componentes públicos do plugin de qualquer
   modo escuro do tema. Estratégia: "ilhas claras" fixas, com texto escuro,
   links vermelhos e color-scheme light. Esta folha é carregada no fim e também
   injetada no footer; a JS companion reforça com estilos inline quando o tema
   altera classes após o carregamento.
   ========================================================================== */

:root{
  --vce-iso-bg:#ffffff;
  --vce-iso-surface:#f8fafc;
  --vce-iso-surface-2:#f1f5f9;
  --vce-iso-text:#061326;
  --vce-iso-muted:#334155;
  --vce-iso-soft:#64748b;
  --vce-iso-border:#d7dee8;
  --vce-iso-link:#ef233c;
  --vce-iso-green:#16a34a;
  --vce-iso-yellow:#f59e0b;
  --vce-iso-red:#ef4444;
}

/* Raízes públicas do VCE: desligam a influência visual do tema. */
html body :where(
  .vce-vehicle-page,
  .vce-ficha-tecnica,
  .vce-ficha-tecnica-pro,
  .vce-public-catalog,
  .vce-catalog-wrap,
  .vce-cost-rankings-page,
  .vce-comparator,
  .vce-tco-simulator,
  .vce-siv-card,
  .vce-vehicle-related,
  .vce-vehicle-alternatives,
  .vce-vehicle-deep-links,
  .vce-intelligent-links,
  .vce-catalog-section,
  .vce-visual-isolated
){
  color-scheme:light !important;
  background-color:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
  -webkit-text-fill-color:var(--vce-iso-text) !important;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  text-shadow:none !important;
}

/* Superfícies principais e internas sempre claras. */
html body :where(
  .vce-card,
  .vce-panel,
  .vce-theme-card,
  .vce-catalog-card,
  .vce-term-card,
  .vce-stat-card,
  .vce-catalog-section,
  .vce-comparator,
  .vce-comparator-form,
  .vce-comparator-table-wrap,
  .vce-comparator-tco-table-wrap,
  .vce-tco-simulator,
  .vce-tco-simulator-grid > div,
  .vce-tco-years span,
  .vce-ranking-table-wrap,
  .vce-ranking-seo-intro,
  .vce-ranking-highlight-card,
  .vce-ranking-hub-card,
  .vce-cost-rankings-page,
  .vce-siv-card,
  .vce-siv-explain,
  .vce-siv-profile,
  .vce-siv-profile-grid,
  .vce-siv-profile-item,
  .vce-siv-component,
  .vce-siv-scale span,
  .vce-cost-badges,
  .vce-cost-hub-links,
  .vce-vehicle-related,
  .vce-vehicle-related-list,
  .vce-vehicle-alternatives,
  .vce-vehicle-deep-links,
  .vce-related-vehicle-card,
  .vce-alternative-card,
  .vce-intelligent-links,
  .vce-intelligent-link-card,
  .vce-smart-summary,
  .vce-smart-summary-item,
  .vce-auto-highlights,
  .vce-vehicle-highlights,
  .vce-brand-costs,
  .vce-quality-card,
  .vce-quality-section,
  .vce-seo-block,
  .vce-seo-links,
  .vce-related-categories,
  .vce-quick-links,
  .vce-ranking-actions,
  .vce-internal-links,
  .vce-explore-links
){
  background:var(--vce-iso-bg) !important;
  background-color:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
  -webkit-text-fill-color:var(--vce-iso-text) !important;
  border-color:var(--vce-iso-border) !important;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  text-shadow:none !important;
}

/* Cards de valores e subcards: superfície ligeiramente distinta, mas clara. */
html body :where(
  .vce-siv-profile-item,
  .vce-siv-component,
  .vce-tco-simulator-grid > div,
  .vce-tco-years span,
  .vce-intelligent-link-card,
  .vce-related-vehicle-card,
  .vce-alternative-card,
  .vce-ranking-highlight-card,
  .vce-ranking-hub-card,
  .vce-catalog-card,
  .vce-term-card
){
  background:var(--vce-iso-surface) !important;
  background-color:var(--vce-iso-surface) !important;
}

/* Texto textual dentro do VCE. Inclui -webkit-text-fill-color para vencer
   temas que usam essa propriedade no modo escuro. */
html body [class*="vce-"] :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,th,td,strong,em,small,figcaption,blockquote),
html body [class*="vce-"] :where(.vce-catalog-eyebrow,.vce-related-kicker,.vce-related-meta,.vce-ranking-note,.vce-note,.vce-catalog-lead,.vce-ft-eyebrow,.vce-catalog-version,.vce-alternative-reason,.vce-alternative-metrics),
html body [class*="vce-"] span:not(.vce-siv-profile-icon):not(.vce-dot):not(.vce-level-dot):not(.vce-icon):not(.vce-progress-track):not(.vce-progress-fill){
  color:var(--vce-iso-text) !important;
  -webkit-text-fill-color:var(--vce-iso-text) !important;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  text-shadow:none !important;
}

/* Texto secundário controlado. */
html body [class*="vce-"] :where(p,small,em,figcaption,.vce-related-meta,.vce-ranking-note,.vce-note,.vce-catalog-lead,.vce-catalog-version){
  color:var(--vce-iso-muted) !important;
  -webkit-text-fill-color:var(--vce-iso-muted) !important;
}

/* Links VCE: vermelho da marca, exceto botões CTA. */
html body [class*="vce-"] a:not(.vce-comparator-submit):not(.vce-compare-go):not(.vce-compare-clear):not(.vce-compare-toggle),
html body [class*="vce-"] a:not(.vce-comparator-submit):not(.vce-compare-go):not(.vce-compare-clear):not(.vce-compare-toggle) *{
  color:var(--vce-iso-link) !important;
  -webkit-text-fill-color:var(--vce-iso-link) !important;
  text-decoration-color:var(--vce-iso-link) !important;
  opacity:1 !important;
}

/* Pills, chips, badges e botões secundários. */
html body :where(.vce-badge,.vce-chip,.vce-pill,.vce-ranking-actions a,.vce-quick-links a,.vce-cost-badges a,.vce-cost-hub-links a,.vce-catalog-button,.vce-button,.vce-button-secondary,.vce-tco-winner-badge,.vce-auto-highlights a,.vce-vehicle-highlights a){
  background:var(--vce-iso-bg) !important;
  background-color:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
  -webkit-text-fill-color:var(--vce-iso-text) !important;
  border:1px solid var(--vce-iso-border) !important;
  opacity:1 !important;
  filter:none !important;
  text-shadow:none !important;
}

/* CTA vermelhos. */
html body :where(.vce-comparator-submit,.vce-compare-toggle,.vce-compare-go,.vce-compare-clear,button.vce-comparator-submit,button.vce-compare-toggle){
  background:var(--vce-iso-link) !important;
  background-color:var(--vce-iso-link) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border-color:var(--vce-iso-link) !important;
}

/* Formulários/selects. */
html body [class*="vce-"] :where(select,input,textarea){
  color-scheme:light !important;
  background:var(--vce-iso-bg) !important;
  background-color:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
  -webkit-text-fill-color:var(--vce-iso-text) !important;
  border-color:#cbd5e1 !important;
  opacity:1 !important;
}
html body [class*="vce-"] :where(select option){
  background:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
}

/* Tabelas VCE: células claras e legíveis. */
html body [class*="vce-"] :where(table){
  background:var(--vce-iso-bg) !important;
  background-color:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
  border-color:var(--vce-iso-border) !important;
}
html body [class*="vce-"] :where(table th,table td){
  background:var(--vce-iso-bg) !important;
  background-color:var(--vce-iso-bg) !important;
  color:var(--vce-iso-text) !important;
  -webkit-text-fill-color:var(--vce-iso-text) !important;
  border-color:var(--vce-iso-border) !important;
  opacity:1 !important;
}
html body [class*="vce-"] :where(table th,tbody th,.vce-comparator-section-row th){
  background:var(--vce-iso-surface-2) !important;
  background-color:var(--vce-iso-surface-2) !important;
}

/* Barras/progressos: preservar visual, impedir que escondam texto textual. */
html body :where(.vce-siv-profile-bar,.vce-siv-component > span,.vce-progress-track){
  display:block;
  background:#e5e7eb !important;
  background-color:#e5e7eb !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  overflow:hidden;
  opacity:1 !important;
}
html body :where(.vce-siv-profile-bar i,.vce-siv-component > span i,.vce-progress-fill){
  display:block;
  background:var(--vce-iso-green) !important;
  background-color:var(--vce-iso-green) !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  opacity:1 !important;
}

/* Estados por classificação. */
html body .vce-siv-profile-expensive .vce-siv-profile-bar i{background:var(--vce-iso-red)!important;background-color:var(--vce-iso-red)!important;}
html body .vce-siv-profile-fair .vce-siv-profile-bar i{background:var(--vce-iso-yellow)!important;background-color:var(--vce-iso-yellow)!important;}

/* Ícones/emoji não devem herdar text-fill. */
html body :where(.vce-siv-profile-icon,.vce-intelligent-link-icon,.vce-dot,.vce-level-dot){
  -webkit-text-fill-color:initial !important;
  opacity:1 !important;
}

/* Proteção contra seletores comuns de modo escuro do tema. */
html[class*="dark"] body [class*="vce-"],
body[class*="dark"] [class*="vce-"],
body.dark [class*="vce-"],
body.dark-mode [class*="vce-"],
body[data-theme="dark"] [class*="vce-"],
html[data-theme="dark"] body [class*="vce-"]{
  color-scheme:light !important;
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
  text-shadow:none !important;
}



/* v0.7.3.16 — Comparador UX Refinement
   Substitui os antigos badges pretos "melhor" por destaque claro, profissional e compatível com modo claro/escuro.
*/
.vce-comparator-table td.vce-best-value,
.vce-comparator-table-blocks td.vce-best-value,
.vce-comparator .vce-comparator-table td.vce-best-value,
.vce-comparator .vce-comparator-table-blocks td.vce-best-value {
    background: #eef9ef !important;
    color: #0b1f3a !important;
    -webkit-text-fill-color: #0b1f3a !important;
    border-left: 4px solid #16a34a !important;
    box-shadow: inset 0 0 0 9999px rgba(238,249,239,.78) !important;
    font-weight: 900 !important;
}

.vce-comparator-table td.vce-best-value::before,
.vce-comparator-table-blocks td.vce-best-value::before,
.vce-comparator .vce-comparator-table td.vce-best-value::before,
.vce-comparator .vce-comparator-table-blocks td.vce-best-value::before {
    content: "🥇 ";
    display: inline !important;
    margin-right: 2px !important;
    color: #0b1f3a !important;
    -webkit-text-fill-color: #0b1f3a !important;
}

.vce-comparator-table td.vce-best-value::after,
.vce-comparator-table-blocks td.vce-best-value::after,
.vce-comparator .vce-comparator-table td.vce-best-value::after,
.vce-comparator .vce-comparator-table-blocks td.vce-best-value::after {
    content: "" !important;
    display: none !important;
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

/* Garante que qualquer span/link dentro da célula vencedora não herda texto invisível do tema. */
.vce-comparator-table td.vce-best-value *,
.vce-comparator-table-blocks td.vce-best-value *,
.vce-comparator .vce-comparator-table td.vce-best-value *,
.vce-comparator .vce-comparator-table-blocks td.vce-best-value * {
    color: #0b1f3a !important;
    -webkit-text-fill-color: #0b1f3a !important;
}

/* v0.7.3.18 — Resumo Inteligente Profissional */
.vce-smart-summary .vce-smart-summary-item span{ text-transform: uppercase; letter-spacing:.02em; }
.vce-smart-summary .vce-smart-summary-item strong{ line-height:1.25; }


/* v0.7.7 — SIV: escala semântica de 5 níveis e cores menos agressivas */
.vce-siv-card.vce-siv-level-excellent .vce-siv-score-row strong,
.vce-siv-card.vce-siv-level-very-good .vce-siv-score-row strong{ color:#166534; }
.vce-siv-card.vce-siv-level-good .vce-siv-score-row strong{ color:#854d0e; }
.vce-siv-card.vce-siv-level-below-average .vce-siv-score-row strong{ color:#c2410c; }
.vce-siv-card.vce-siv-level-weak .vce-siv-score-row strong{ color:#b91c1c; }

.vce-siv-score-bar{
    height:10px;
    border-radius:999px;
    background:#e5e7eb;
    overflow:hidden;
    margin-top:10px;
    max-width:190px;
}
.vce-siv-score-bar i{
    display:block;
    height:100%;
    border-radius:999px;
    background:#16a34a;
}
.vce-siv-level-excellent .vce-siv-score-bar i{background:#16a34a;}
.vce-siv-level-very-good .vce-siv-score-bar i{background:#65a30d;}
.vce-siv-level-good .vce-siv-score-bar i{background:#eab308;}
.vce-siv-level-below-average .vce-siv-score-bar i{background:#f97316;}
.vce-siv-level-weak .vce-siv-score-bar i{background:#dc2626;}
.vce-siv-level-neutral .vce-siv-score-bar i{background:#94a3b8;}

.vce-siv-profile-very-good .vce-siv-profile-bar i{background:#65a30d;}
.vce-siv-profile-below-average .vce-siv-profile-bar i{background:#f97316;}
.vce-siv-profile-weak .vce-siv-profile-bar i{background:#dc2626;}
.vce-siv-profile-below-average .vce-siv-profile-rating span{color:#c2410c;}
.vce-siv-profile-weak .vce-siv-profile-rating span{color:#b91c1c;}
.vce-siv-profile-good .vce-siv-profile-rating span{color:#854d0e;}
.vce-siv-profile-excellent .vce-siv-profile-rating span,
.vce-siv-profile-very-good .vce-siv-profile-rating span{color:#166534;}

/* v0.7.7.3 — Correção final: barras SIV realmente semânticas, mesmo com Visual Isolation/temas agressivos. */
html body .vce-siv-card.vce-siv-level-excellent .vce-siv-score-bar i,
html body .vce-siv-profile-item.vce-siv-profile-excellent .vce-siv-profile-bar i{background:#16a34a !important;background-color:#16a34a !important;}
html body .vce-siv-card.vce-siv-level-very-good .vce-siv-score-bar i,
html body .vce-siv-profile-item.vce-siv-profile-very-good .vce-siv-profile-bar i{background:#65a30d !important;background-color:#65a30d !important;}
html body .vce-siv-card.vce-siv-level-good .vce-siv-score-bar i,
html body .vce-siv-profile-item.vce-siv-profile-good .vce-siv-profile-bar i{background:#eab308 !important;background-color:#eab308 !important;}
html body .vce-siv-card.vce-siv-level-below-average .vce-siv-score-bar i,
html body .vce-siv-profile-item.vce-siv-profile-below-average .vce-siv-profile-bar i{background:#f97316 !important;background-color:#f97316 !important;}
html body .vce-siv-card.vce-siv-level-weak .vce-siv-score-bar i,
html body .vce-siv-profile-item.vce-siv-profile-weak .vce-siv-profile-bar i{background:#dc2626 !important;background-color:#dc2626 !important;}
html body .vce-siv-card.vce-siv-level-neutral .vce-siv-score-bar i,
html body .vce-siv-profile-item.vce-siv-profile-neutral .vce-siv-profile-bar i{background:#94a3b8 !important;background-color:#94a3b8 !important;}



/* v0.7.8.1 — Ecossistema SIV: barras de pesos neutras e explicação da classificação */
html body .vce-siv-card .vce-siv-component > span.vce-siv-weight-bar,
html body .vce-siv-explain .vce-siv-component > span.vce-siv-weight-bar{
  background:#e5e7eb !important;
  background-color:#e5e7eb !important;
}
html body .vce-siv-card .vce-siv-component > span.vce-siv-weight-bar i,
html body .vce-siv-explain .vce-siv-component > span.vce-siv-weight-bar i{
  background:#2563eb !important;
  background-color:#2563eb !important;
}
html body .vce-siv-card .vce-siv-reason{
  margin-top:18px;
  padding:18px;
  border:1px solid rgba(148,163,184,.35);
  border-radius:16px;
  background:#ffffff;
}
html body .vce-siv-card .vce-siv-reason h3{
  margin:0 0 8px;
  color:#0f172a;
  font-size:1.2rem;
}
html body .vce-siv-card .vce-siv-reason p{
  margin:0 0 12px;
  color:#334155;
  line-height:1.6;
}
html body .vce-siv-card .vce-siv-reason-block{
  margin:12px 0;
  padding:12px 14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.28);
}
html body .vce-siv-card .vce-siv-reason-block h4{
  margin:0 0 8px;
  color:#0f172a;
  font-size:1rem;
}
html body .vce-siv-card .vce-siv-reason-block ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:7px;
}
html body .vce-siv-card .vce-siv-reason-block li{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0f172a;
  font-weight:700;
}
html body .vce-siv-card .vce-siv-reason-block li em{
  margin-left:auto;
  font-style:normal;
  color:#334155;
  font-weight:900;
}
html body .vce-siv-card .vce-siv-reason-positive li span{
  color:#16a34a;
}
html body .vce-siv-card .vce-siv-reason-attention li span{
  color:#f97316;
}
html body .vce-siv-card .vce-siv-reason-note{
  margin-top:12px !important;
  font-size:.92rem;
  color:#64748b !important;
}
html body .vce-siv-card .vce-siv-reason-balanced{
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.28);
}


/* v0.7.9.5 — Escala pública do SIV coerente e legível */
.vce-siv-public-scale .vce-siv-scale{
  display:grid;
  grid-template-columns:repeat(5,minmax(130px,1fr));
  gap:12px;
  margin:16px 0 12px;
}
.vce-siv-public-scale .vce-siv-scale-card{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"dot range" "dot label" "note note";
  column-gap:10px;
  row-gap:3px;
  align-items:start;
  padding:14px 14px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  background:#fff;
  color:#071426;
  min-height:104px;
}
.vce-siv-public-scale .vce-siv-scale-card i{
  grid-area:dot;
  width:14px;
  height:14px;
  border-radius:999px;
  margin-top:4px;
  display:block;
}
.vce-siv-public-scale .vce-siv-scale-card strong{
  grid-area:range;
  display:block;
  font-weight:900;
  line-height:1.15;
  white-space:nowrap;
}
.vce-siv-public-scale .vce-siv-scale-card em{
  grid-area:label;
  display:block;
  font-style:normal;
  font-weight:900;
  line-height:1.15;
}
.vce-siv-public-scale .vce-siv-scale-card small{
  grid-area:note;
  display:block;
  margin-top:8px;
  color:#475569;
  line-height:1.35;
}
.vce-siv-public-scale .vce-siv-scale-excellent i{background:#15803d;}
.vce-siv-public-scale .vce-siv-scale-very-good i{background:#65a94f;}
.vce-siv-public-scale .vce-siv-scale-good i{background:#f5bd18;}
.vce-siv-public-scale .vce-siv-scale-balanced i{background:#f28c18;}
.vce-siv-public-scale .vce-siv-scale-less i{background:#e11d48;}
@media (max-width:900px){
  .vce-siv-public-scale .vce-siv-scale{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:560px){
  .vce-siv-public-scale .vce-siv-scale{grid-template-columns:1fr;}
}


/* v0.8.0-B.1 — SIV Framework Frontend Refinement */
.vce-siv-framework-summary,
.vce-siv-methodology-link{
    margin-top:18px;
    padding:18px;
    border:1px solid rgba(148,163,184,.28);
    border-radius:16px;
    background:rgba(248,250,252,.72);
}
.vce-siv-framework-head{
    display:flex;
    gap:18px;
    align-items:flex-start;
    justify-content:space-between;
    margin-bottom:14px;
}
.vce-siv-framework-head h3,
.vce-siv-methodology-link h3{
    margin:0 0 6px;
    font-size:1.08rem;
    line-height:1.25;
}
.vce-siv-framework-head p,
.vce-siv-methodology-link p{
    margin:0;
}
.vce-siv-framework-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:12px;
}
.vce-siv-framework-item{
    padding:14px;
    border:1px solid rgba(148,163,184,.28);
    border-radius:14px;
    background:rgba(255,255,255,.74);
}
.vce-siv-framework-item strong,
.vce-siv-framework-item span,
.vce-siv-framework-item em,
.vce-siv-framework-item small{
    display:block;
}
.vce-siv-framework-item strong{font-weight:800;}
.vce-siv-framework-item span{font-size:1.25rem;font-weight:800;margin-top:6px;}
.vce-siv-framework-item em{font-style:normal;font-weight:700;margin-top:2px;}
.vce-siv-framework-item small{margin-top:8px;line-height:1.35;}
.vce-siv-methodology-link .vce-ranking-actions{margin-top:12px;}
@media (max-width: 640px){
    .vce-siv-framework-head{display:block;}
}


/* v0.8.0-B.2 — SIV Performance Frontend */
.vce-siv-performance-profile{
    margin-top:18px;
}
.vce-siv-performance-profile .vce-siv-profile-head h3::before{
    content:"🏁 ";
}
.vce-siv-framework-performance{
    border-left:4px solid rgba(15,23,42,.32);
}

/* v0.8.0-B.3 — Performance Frontend Refinement */
.vce-siv-performance-profile{
    margin-top:18px;
}
.vce-siv-performance-profile .vce-siv-profile-head h3::before{
    content:"⚡";
    margin-right:8px;
}
.vce-siv-performance-scorecard{
    margin-bottom:14px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}
.vce-siv-performance-value{
    display:block;
    margin:0 0 8px;
    color:#0f172a;
    font-size:1.08rem;
    font-weight:900;
    line-height:1.25;
}
.vce-siv-performance-grid .vce-siv-profile-item{
    min-width:0;
}
.vce-siv-performance-grid .vce-siv-profile-title strong{
    word-break:normal;
    overflow-wrap:anywhere;
}
.vce-siv-performance-profile .vce-siv-reason-note{
    margin-top:14px;
}
@media (max-width:640px){
    .vce-siv-performance-value{font-size:1rem;}
}


/* v0.8.0-B.4 — SIV UX Refinement */
.vce-siv-framework-summary{
    margin-top:18px;
    margin-bottom:18px;
}
.vce-siv-framework-summary .vce-siv-framework-grid{
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.vce-siv-framework-item{
    position:relative;
}
.vce-siv-framework-icon{
    display:inline-block;
    margin-right:8px;
}
.vce-siv-performance-context{
    display:block;
    margin:-2px 0 8px;
    font-size:.84rem;
    font-weight:700;
    opacity:.76;
}
.vce-siv-methodology-button{
    display:inline-flex;
    flex-direction:column;
    gap:2px;
    padding:10px 16px;
    border:1px solid rgba(148,163,184,.45);
    border-radius:999px;
    text-decoration:none;
    background:rgba(255,255,255,.88);
}
.vce-siv-methodology-button strong,
.vce-siv-methodology-button span{
    display:block;
}
.vce-siv-methodology-button span{
    font-size:.9rem;
    font-weight:600;
    opacity:.82;
}
@media (max-width:640px){
    .vce-siv-methodology-button{
        width:100%;
        border-radius:16px;
    }
}


/* v0.8.2-A — Tabelas responsivas premium + Editorial Layer
   Objetivo: evitar scroll horizontal em telemóveis/tablets, mantendo a tabela completa em desktop. */
.vce-responsive-cards{
  display:none;
  gap:14px;
  margin:16px 0 0;
}
.vce-responsive-card{
  background:#ffffff;
  border:1px solid #d8e2ef;
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.vce-responsive-card h3{
  margin:0 0 12px;
  font-size:1rem;
  line-height:1.3;
}
.vce-responsive-card h3 a{
  color:#ef233c;
  text-decoration:none;
  font-weight:900;
}
.vce-responsive-card dl{
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.vce-responsive-card dl div{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:12px;
  padding:10px;
}
.vce-responsive-card dt{
  margin:0 0 4px;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#475569;
}
.vce-responsive-card dd{
  margin:0;
  font-size:1rem;
  font-weight:900;
  color:#0f172a;
}
.vce-brand-costs .vce-ranking-table{
  min-width:0;
  table-layout:auto;
}
.vce-brand-costs .vce-ranking-table th,
.vce-brand-costs .vce-ranking-table td{
  padding:10px 12px;
  white-space:normal;
}
.vce-brand-costs .vce-ranking-table th:nth-child(2),
.vce-brand-costs .vce-ranking-table td:nth-child(2),
.vce-brand-costs .vce-ranking-table th:nth-child(3),
.vce-brand-costs .vce-ranking-table td:nth-child(3),
.vce-brand-costs .vce-ranking-table th:nth-child(4),
.vce-brand-costs .vce-ranking-table td:nth-child(4),
.vce-brand-costs .vce-ranking-table th:nth-child(5),
.vce-brand-costs .vce-ranking-table td:nth-child(5){
  width:18%;
}
@media (max-width: 900px){
  .vce-brand-costs .vce-ranking-table-wrap{
    display:none !important;
  }
  .vce-brand-costs .vce-responsive-cards{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px){
  .vce-brand-costs .vce-responsive-cards{
    grid-template-columns:1fr;
  }
  .vce-responsive-card dl{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .vce-catalog-stat-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 420px){
  .vce-responsive-card dl{
    grid-template-columns:1fr;
  }
}


/* v0.8.2-A.1 — Brand Badge Refinement: remove black initial fallback on brand/model pages */
.vce-brand-badge-refined{background:linear-gradient(135deg,#ffffff,#f8fafc)!important;border:1px solid #dbe3ef!important;color:#0f172a!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important}
.vce-brand-badge-refined .vce-brand-badge-name{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-weight:900;font-size:.98rem}
.vce-brand-badge-refined small{display:block;margin-top:4px;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:800}
.vce-model-logo-fallback.vce-brand-badge-refined{min-width:112px;max-width:180px;min-height:72px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px 14px;font-size:1rem;line-height:1.1}
@media (max-width:640px){.vce-brand-badge-refined .vce-brand-badge-name{max-width:100%}.vce-model-logo-fallback.vce-brand-badge-refined{min-width:0;max-width:100%;width:auto;min-height:54px;align-items:flex-start}}


/* v0.8.2-B — Brand Directory & A-Z Navigation */
.vce-brand-az-nav{
    display:flex;flex-wrap:wrap;gap:.45rem;margin:1rem 0 1.25rem;align-items:center
}
.vce-brand-az-nav a{
    min-width:2.15rem;height:2.15rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.45);border-radius:999px;background:#fff;color:#0f172a;text-decoration:none;font-weight:800;font-size:.9rem;line-height:1;box-shadow:0 6px 16px rgba(15,23,42,.04)
}
.vce-brand-az-nav a:hover,.vce-brand-az-nav a.is-active{
    border-color:#ff2d55;background:#ff2d55;color:#fff;box-shadow:0 10px 22px rgba(255,45,85,.18)
}
.vce-brand-az-nav-compact{margin-top:.9rem;margin-bottom:.75rem}
.vce-brand-az-nav-compact a{min-width:1.95rem;height:1.95rem;font-size:.82rem}
.vce-brand-adjacent-nav{display:flex;flex-wrap:wrap;gap:.6rem;margin:.35rem 0 1.15rem;padding-bottom:1rem;border-bottom:1px solid rgba(148,163,184,.25)}
.vce-brand-adjacent-nav a{display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.45);border-radius:999px;padding:.55rem .85rem;background:#fff;color:#0f172a;text-decoration:none;font-weight:800;font-size:.88rem}
.vce-brand-adjacent-nav a:hover{border-color:#ff2d55;color:#ff2d55}
.vce-brand-adjacent-nav .vce-brand-directory-link{background:#f8fafc}
.vce-brand-directory-groups{display:grid;gap:1.25rem;margin-top:1rem}
.vce-brand-directory-group{scroll-margin-top:110px}
.vce-brand-directory-group h2{font-size:1.35rem;margin:0 0 .75rem;color:#0f172a}
.vce-brand-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.85rem}
.vce-brand-directory-card{display:flex;flex-direction:column;gap:.25rem;border:1px solid rgba(148,163,184,.35);border-radius:16px;background:#fff;padding:1rem;text-decoration:none;color:#0f172a;box-shadow:0 10px 28px rgba(15,23,42,.04)}
.vce-brand-directory-card strong{font-size:1.05rem;color:#ff2d55}
.vce-brand-directory-card span{font-size:.9rem;font-weight:750;color:#334155}
.vce-brand-directory-card em{font-style:normal;margin-top:.35rem;font-size:.86rem;font-weight:850;color:#ff2d55}
.vce-brand-directory-card:hover{transform:translateY(-1px);border-color:#ff2d55;box-shadow:0 16px 34px rgba(15,23,42,.08)}
.vce-brand-hub .vce-brand-logo-fallback{display:none!important}
@media (max-width: 640px){
    .vce-brand-az-nav a{min-width:1.9rem;height:1.9rem;font-size:.78rem}
    .vce-brand-adjacent-nav{gap:.45rem}
    .vce-brand-adjacent-nav a{font-size:.82rem;padding:.5rem .7rem}
    .vce-brand-directory-grid{grid-template-columns:1fr}
}


/* v0.8.2-B.1 — Tabelas responsivas globais para rankings/custos.
   Desktop mantém tabela completa; tablet/telemóvel mostram cartões para evitar scroll horizontal. */
.vce-responsive-cards {
    display: none;
}
.vce-responsive-card {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.vce-responsive-card + .vce-responsive-card {
    margin-top: 12px;
}
.vce-responsive-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.25;
}
.vce-responsive-card dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.vce-responsive-card dl > div {
    border: 1px solid rgba(203, 213, 225, 0.75);
    border-radius: 14px;
    padding: 9px 10px;
    background: #f8fafc;
}
.vce-responsive-card dt {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #475569;
    margin-bottom: 3px;
}
.vce-responsive-card dd {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
}
@media (max-width: 980px) {
    .vce-ranking-table-wrap {
        display: none !important;
    }
    .vce-responsive-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 14px;
    }
    .vce-responsive-card + .vce-responsive-card {
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    .vce-responsive-cards {
        grid-template-columns: 1fr;
    }
    .vce-responsive-card dl {
        grid-template-columns: 1fr;
    }
    .vce-ranking-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}
