/* V20 contrast + search-guide layer. Loaded after V19. */
:root{--v20-dark:#063f4b;--v20-dark2:#075b60;--v20-ink:#0f3440;--v20-text:#294e59;--v20-muted:#486972;--v20-light:#ffffff;--v20-light-soft:#e4f5f7;--v20-accent:#006c87}
/* The FIRST TRIP card was forced white by an older !important rule while retaining pale text. Restore an intentional dark surface. */
.home-premium .scenario-card.large{background:linear-gradient(145deg,#063f4b,#086b69)!important;border-color:#0a6d70!important;color:#fff!important;box-shadow:0 18px 44px rgba(4,63,75,.18)!important}
.home-premium .scenario-card.large :where(h2,h3,h4,b,strong,li){color:#fff!important}
.home-premium .scenario-card.large :where(p,small){color:#e1f4f5!important}
.home-premium .scenario-card.large .section-kicker{color:#a6edf0!important}
.home-premium .scenario-card.large a{color:#ffe2a8!important;text-decoration-color:#ffe2a8!important}
/* Guard other common light cards against inherited pale text. */
:where(.selection-hub-card,.selection-keypoint,.selection-faq,.selection-source-note,.selection-entry-section .card,.home-search-guide-entry .card){background:#fff!important;color:var(--v20-text)!important;border-color:#cfe2e7!important}
:where(.selection-hub-card,.selection-keypoint,.selection-faq,.selection-source-note,.selection-entry-section .card,.home-search-guide-entry .card) :where(h2,h3,h4,b,strong,summary){color:var(--v20-ink)!important}
:where(.selection-hub-card,.selection-keypoint,.selection-faq,.selection-source-note,.selection-entry-section .card,.home-search-guide-entry .card) :where(p,li,span,small){color:var(--v20-muted)!important}
.selection-hub-card h3 a,.selection-hub-card .card-detail-link,.selection-entry-section a,.home-search-guide-entry a{color:var(--v20-accent)!important}
.selection-keypoint{border:1px solid #b9dce5;border-left:5px solid #0786a4;border-radius:14px;padding:16px 18px;margin:18px 0}
.selection-table{table-layout:auto!important}
.selection-faq-list{display:grid;gap:10px}.selection-faq{border:1px solid #cfe2e7;border-radius:14px;padding:12px 15px}.selection-faq summary{cursor:pointer;font-weight:850}.selection-faq p{margin:9px 0 0}
.selection-source-note{margin-top:28px;border:1px solid #cfe2e7;border-radius:16px;padding:18px}
.selection-hub-grid{align-items:stretch}.selection-hub-card{height:100%}
/* Keep dark system surfaces dark with light copy. */
:where(.site-footer,.premium-footer,.topbar,.spot-hero,.knowledge-banner,.rail-cta,.wiki-navbox-title){color:#fff!important}
:where(.site-footer,.premium-footer,.topbar,.spot-hero,.knowledge-banner,.rail-cta,.wiki-navbox-title) :where(h1,h2,h3,h4,b,strong,a){color:#fff!important}
:where(.site-footer,.premium-footer,.topbar,.spot-hero,.knowledge-banner,.rail-cta) :where(p,li,span,small){color:#dff2f4!important}
/* Long strings and cards must stay inside the viewport. */
.selection-guide-page .wiki-article,.selection-hub-page main{min-width:0}.selection-guide-page .wiki-table th,.selection-guide-page .wiki-table td{white-space:normal!important;overflow-wrap:anywhere!important}.selection-guide-page a,.selection-hub-page a{overflow-wrap:anywhere}
@media(max-width:720px){.home-premium .scenario-card.large{padding:20px!important;min-height:0!important}.home-premium .scenario-card.large h3{font-size:20px!important}.home-premium .scenario-card.large ul{padding-left:18px!important}.selection-guide-page .wiki-title-row h1{font-size:clamp(27px,8vw,38px)!important}.selection-hub-grid{grid-template-columns:1fr!important}.selection-table{font-size:12px!important}.selection-table th,.selection-table td{padding:8px 6px!important}}

/* Dedicated FIRST TRIP hook: keep this readable even if generic scenario/card themes change later. */
.home-premium .first-trip-card{background:linear-gradient(145deg,#063f4b,#086b69)!important;color:#fff!important;border-color:#0a6d70!important}
.home-premium .first-trip-card :where(h3,li,strong,b){color:#fff!important}
.home-premium .first-trip-card :where(p,small){color:#e1f4f5!important}
.home-premium .first-trip-card .section-kicker{color:#a6edf0!important}
.home-premium .first-trip-card a{color:#ffe2a8!important}
