/* ABB Transportation: synchronized day/night scheme. Night is 18:00–05:59 local.
   Version 2: BOTH the canvas AND site-owned cards switch to dark surfaces.
   Embedded third-party Acuity calendars preserve their own styling. */
html{color-scheme:light}
html.night-mode{color-scheme:dark}
html.night-mode body{background:#071b25 !important;color:#eaf5f7}
html.night-mode main{color:#eaf5f7}
/* General page sections, lightweight copy and text outside cards */
html.night-mode :is(.content,.section,.rate-content,.rates-content,.destination-directory,.directory,.photo-feature,.cheryl-section,.route-directory,.faq-section,.main,.list-intro,.airport-group,.rate-section,.support){color:#eaf5f7}
html.night-mode :is(.content,.section,.rate-content,.rates-content,.destination-directory,.directory,.photo-feature,.cheryl-section,.route-directory,.faq-section,.main,.list-intro,.airport-group,.rate-section,.support) :is(h1,h2,h3){color:#eaf5f7}
html.night-mode :is(.content,.section,.rate-content,.rates-content,.destination-directory,.directory,.photo-feature,.cheryl-section,.route-directory,.faq-section,.main,.list-intro,.airport-group,.rate-section,.support) > p{color:#b6d0d7}
/* Darken all ABB-owned white cards and booking selection blocks. */
html.night-mode :is(.card,.panel,.launch-box,.core-route,.review-card,.reviews-shell,.cheryl-box,.booking-card,.rate-table,.rate-help,.help article,.destination-link,.route-choice,.finder,.finder-panel,.finder-box,.search-panel,.results,.results-card,.route-card,.directory-card,.faq-card,.trust-card,.contact-card,.contact-form,.form-card,.box-white,.airport-group,.route-list,.selected-rate,.info,.calendar,.intro,.faq,.more-ride,.assurance,.action-step,.review-cards .review-card,.main .card){
 background:#102e3b !important;color:#edf6f8 !important;border-color:#355563 !important;
 box-shadow:0 9px 25px rgba(0,0,0,.12);
}
/* Titles and supporting copy within dark cards. Do not recolor action elements. */
html.night-mode :is(.card,.panel,.launch-box,.core-route,.review-card,.reviews-shell,.cheryl-box,.booking-card,.rate-table,.rate-help,.help article,.destination-link,.route-choice,.finder,.finder-panel,.finder-box,.search-panel,.results,.results-card,.route-card,.directory-card,.faq-card,.trust-card,.contact-card,.contact-form,.form-card,.box-white,.airport-group,.route-list,.selected-rate,.info,.calendar,.intro,.faq,.more-ride,.assurance,.action-step) :is(h1,h2,h3,h4,strong,b,label,blockquote,cite,li,td,th){color:#edf6f8}
html.night-mode :is(.card,.panel,.launch-box,.core-route,.review-card,.reviews-shell,.cheryl-box,.booking-card,.rate-help,.destination-link,.route-choice,.finder,.form-card,.airport-group,.info,.intro,.faq,.more-ride,.assurance,.action-step) :is(p,small,.sub,.launch-sub,.launch-hint,.route-description,.intro,.hint,.fine,.mini,.note){color:#b7d0d8}
/* Booking hubs: alternating rate rows and fixed price/Book column contrasts. */
html.night-mode .rate-table{border-color:#355563}
html.night-mode .rate-table :is(th,td){background:transparent;color:#eaf5f7;border-color:#355563}
html.night-mode .rate-table tbody tr:nth-child(even){background:#173b49 !important}
html.night-mode .rate-table tbody tr:nth-child(odd){background:#102e3b !important}
html.night-mode .rate-table td.price{color:#a4e5e8}
html.night-mode :is(.route-choice,.route-list,.selected-rate){border-color:#355563}
html.night-mode :is(.route-price,.price,.selected-rate strong){color:#a4e5e8}
/* Preserve clear, contrasting interactive controls. */
html.night-mode :is(input,select,textarea){background:#173a49 !important;color:#f2fbfc !important;border-color:#527281 !important;color-scheme:dark}
html.night-mode :is(input,textarea)::placeholder{color:#b3cad1}
html.night-mode :is(input,select,textarea):focus-visible{outline:2px solid #a4e5e8;outline-offset:2px}
html.night-mode :is(.cta-primary,.primary-link,.primary,.row-book,.go,.send,.book,.route-book){background:#078bad;color:#fff !important;border-color:#078bad}
html.night-mode :is(.cta-secondary,.secondary-link,.button.secondary,.route-guide,.reviews-link,.cheryl-cta){color:#f5b39e;border-color:#567987}
html.night-mode a:not([class]):not(:hover){color:#a4e5e8}
html.night-mode .rate-jumps a{background:#173a49;border-color:#567987;color:#ffc0a9}
/* Preserve intentionally dark hero imagery and footer treatments. */
html.night-mode :is(.hero,.bottom,footer){color:#f2fbfc}
html.night-mode .hero :is(h1,h2,p){color:inherit}
html.night-mode :is(.sticky,.nav):not(.hero-nav){background:#0b2936;color:#f2fbfc;border-color:#365563}
html.night-mode .reviews-bottom{color:#b9d3d9}
html.night-mode :is(.stars,.goldstars,.review-card-stars){color:#e7a934}
/* Do not invert raster images, portraits, or third-party Acuity iframe contents. */
html.night-mode :is(img,iframe,video){filter:none}
@media(prefers-reduced-motion:no-preference){html.night-mode body{transition:background-color .2s ease,color .2s ease}}

/* V3 — complete interior surfaces and legible copy on every ABB page */
html.night-mode :is(.reviews-shell,.cheryl-side,.reviews-score,.cred-marker,.bookmark,.bookmark-help,.google-rating,.toggle,.answer,.primary-actions,.destination-grid,.trust-enhanced,.assurance,.route-choice,.route-choice span,.route-list,.rate-row,.rate-card,.fare-row,.rate-table thead,.rate-table tbody,.booking-card,.finder,.finder-card,.finder-results,.route-result,.photo-frame figcaption,.contact-panel,.contact-info,.review-card,.core-route,.launch-box,.panel,.card,.cheryl-box,.more-ride,.destination-link,.rate-help,.rate-section .info-card){
 background:#102e3b !important; background-image:none !important; color:#edf6f8 !important; border-color:#355563 !important;
}
html.night-mode :is(.cheryl-side,.reviews-shell,.reviews-score,.cred-marker,.bookmark,.bookmark-help,.google-rating,.toggle,.answer,.assurance,.route-choice,.route-choice span,.route-list,.rate-row,.fare-row,.rate-card,.review-card,.core-route,.launch-box,.panel,.card,.cheryl-box,.more-ride,.destination-link,.rate-help,.rate-table,.finder,.finder-card,.finder-results,.route-result,.contact-panel,.contact-info) :is(h1,h2,h3,h4,h5,p,b,strong,small,span,label,li,blockquote,cite,td,th,figcaption){color:#edf6f8 !important}
html.night-mode :is(.route-choice,.core-route,.review-card,.reviews-shell,.cheryl-side,.launch-box,.panel,.bookmark-help,.card,.rate-table,.rate-help) :is(small,.sub,.route-note,.route-description,.lead,.launch-sub,.launch-hint,.review-card cite,.more-ride li,.review-card blockquote){color:#bfd4da !important}
html.night-mode :is(.route-choice,.core-route,.rate-table) :is(.price,.route-price,.rate-price){color:#a4e5e8 !important}
html.night-mode :is(.review-card-stars,.stars,.goldstars){color:#e7a934 !important}
html.night-mode :is(.review-mark,.bbb-glyph){color:#8cd9eb !important}
html.night-mode .cheryl-side li{border-color:#355563 !important}
html.night-mode :is(.cta-primary,.primary-link,.primary,.row-book,.go,.send,.route-book,.route-choice a,.cheryl-cta,.book,.book-now,.reviews-link){background:#078bad !important;color:#fff !important;border-color:#078bad !important}
html.night-mode :is(.cta-primary,.primary-link,.primary,.row-book,.go,.send,.route-book,.route-choice a,.cheryl-cta,.book,.book-now,.reviews-link) :is(span,b,strong){color:#fff !important}
html.night-mode :is(.cta-secondary,.secondary-link,.bookmark,.call,.chip.call){background:#173a49 !important;color:#f5b39e !important;border-color:#567987 !important}
html.night-mode .photo-frame figcaption strong{color:#fff !important}
html.night-mode :is(.hero,.bottom,footer,.photo-frame figcaption) :is(a,p,h1,h2,h3,span){color:inherit}
html.night-mode :is(.route-choice,.rate-row,.fare-row) :is(a,button){min-width:fit-content}
