/* Explicit contrast for account actions, across all navigation shells. */
.topbar .actions .button.small,.topbar .nav-mobile-create,.nav-shell .pill.dark,.nav-shell .nav-download,.modern-page .button,.newsletter-login-card .button{color:#fff!important;background-color:#10211d!important;-webkit-text-fill-color:#fff!important}
.topbar .actions .button.small:hover,.nav-shell .pill.dark:hover{background-color:#245641!important;color:#fff!important}
.nav-shell .nav-download{display:inline-flex!important;white-space:nowrap}
.topbar .login{color:#173f36!important}.lang-choice span{display:inline!important}
.section-with-top-link{padding-bottom:32px!important}.section-with-top-link>.back-to-top{position:static!important;inset:auto!important;transform:none!important;margin:28px 0 0!important;display:table!important;max-width:100%!important;white-space:normal!important}
.preview-back-top{position:static!important;max-width:100%;width:max-content}
@media(max-width:620px){.nav-shell{gap:6px!important}.nav-shell .nav-download{padding:9px 12px;font-size:12px}.nav-actions{gap:5px!important}.languages button{padding:6px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
@supports not (backdrop-filter:blur(10px)){header,.topbar,.subnav{background:#fff!important}}
/* Intrinsic dimensions reserve space without stretching logos in WebKit. */
.nav-shell .brand img{width:100%;height:auto!important;max-height:64px;object-fit:contain}
.nav-shell{min-height:77px}img{max-width:100%}
img{height:auto}
.preview-menu{color:#10211d!important;-webkit-text-fill-color:#10211d}
@media(max-width:620px){
 .nav-shell{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:5px;padding:12px 14px;min-height:68px}
 .nav-shell .brand{width:60px;grid-column:1;grid-row:1}
 .nav-shell .nav-actions{grid-column:2;grid-row:1;justify-self:end;gap:0;margin:0}
 .nav-shell .languages{gap:0}.nav-shell .languages button{padding:6px;font-size:17px}.nav-shell .languages button span{display:none}
 .nav-shell .nav-download{padding:9px 10px;font-size:12px;margin-left:5px}
 .nav-shell .preview-menu{grid-column:3;grid-row:1;margin:0;padding:8px 4px;font-size:12px}
 .nav-shell nav{grid-column:1/-1;grid-row:2;order:initial}
 .subnav{top:68px}.languages button{min-height:34px}
}
/* Flex carousels inside grid fieldsets must not widen a mobile page. */
.trip-setup,.trip-setup>*{min-width:0}.trip-setup fieldset{min-width:0;max-width:100%}.trip-vehicle-picker>div{max-width:100%}
@media(max-width:620px){.price-card h3{font-size:clamp(30px,10vw,48px);min-width:0;overflow-wrap:anywhere}}
@media(max-width:380px){.ladybug-intro{grid-template-columns:minmax(0,1fr) 70px}.ladybug-intro>*{min-width:0}.ladybug-intro>img{width:70px;height:auto}.ladybug-intro h1{font-size:clamp(1.6rem,6vw,2.1rem)}}

/* Preserve readable heading spacing across system font fallbacks. */
.modern-page h1,.modern-page h2,.modern-page h3{letter-spacing:-.035em!important;line-height:1.04!important}
