
:root{--blue:#087cc1;--navy:#123b67;--ink:#17324d;--muted:#6b8095;--bg:#f6fbff;--line:#dceaf5;--white:#fff;--normal:#ffca28;--semi:#1499e8;--lux:#18b77b;--express:#9250e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans','Noto Sans Sinhala',sans-serif;color:var(--ink);background:radial-gradient(ellipse at top right,#e4f5ff 0,transparent 42%),var(--bg);line-height:1.55}a{color:var(--blue)}header{position:sticky;top:0;z-index:10;background:#ffffffdf;backdrop-filter:blur(16px);border-bottom:1px solid #d9ebf8;box-shadow:0 5px 22px #1b5c8510}.nav,.wrap,.footer-grid,.footer-bottom{max-width:1180px;margin:auto}.nav{padding:11px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}.brand img{width:86px;height:43px;object-fit:contain}.brand strong{display:block;letter-spacing:.04em}.brand small{display:block;color:var(--muted);font-size:.72rem}.nav nav{display:flex;gap:20px;flex-wrap:wrap}.nav nav a{text-decoration:none;color:var(--navy);font-size:.91rem;font-weight:700}.nav nav a:hover{color:var(--blue)}.wrap{padding:22px 20px}.hero{position:relative;overflow:hidden;border:1px solid #d8ecf9;border-radius:26px;padding:clamp(22px,5vw,52px);background:linear-gradient(105deg,#fff 8%,#f1f9ffdc 54%,#e4f4ffb0),url('slbn-logo.png') no-repeat right 24px center;background-size:auto,230px auto;box-shadow:0 16px 40px #1e75a40d}.eyebrow{display:inline-block;background:#e7f5ff;color:#0872b4;padding:6px 12px;border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.06em}.hero h1{font-size:clamp(2.15rem,5vw,3.6rem);letter-spacing:-.045em;line-height:1.05;margin:16px 0 10px;color:var(--navy)}.hero h1 span{color:var(--blue)}.hero p{color:var(--muted);max-width:650px}.search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:760px;margin-top:22px;padding:10px;background:#ffffffd9;backdrop-filter:blur(14px);border:1px solid #cfe7f8;border-radius:17px;box-shadow:0 12px 28px #1b6b9a0e}.search input,input,textarea,select{font:inherit;padding:12px 14px;border:1px solid #d1e2ef;border-radius:11px;width:100%;background:white;color:var(--ink)}button{font:inherit;background:var(--blue);color:white;border:0;border-radius:11px;padding:12px 18px;font-weight:800;cursor:pointer;transition:transform .15s,box-shadow .15s}button:hover{transform:translateY(-1px);box-shadow:0 6px 16px #087cc125}.section-title{margin:30px 0 12px;color:var(--navy);font-size:clamp(1.3rem,3vw,1.75rem);letter-spacing:-.025em}.section-subtitle{color:var(--muted);font-size:.88rem;margin:-5px 0 15px}.category-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 18px}.service-card{border-radius:17px;padding:16px;border:1px solid transparent;text-align:left;min-height:124px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;color:var(--ink);box-shadow:0 8px 22px #12476b0a}.service-card strong{font-size:1rem}.service-card small{font-size:.78rem;line-height:1.35}.service-card .view{font-size:.8rem;font-weight:800;margin-top:9px}.service-card[aria-pressed="true"]{outline:3px solid #123b6719;box-shadow:0 10px 24px #12476b16}.cat-normal{background:linear-gradient(140deg,#fff8d9,#ffed9a);border-color:#f8cf48;color:#614700}.cat-semi{background:linear-gradient(140deg,#e8f6ff,#bce6ff);border-color:#78caff;color:#07558b}.cat-luxury{background:linear-gradient(140deg,#e8fff4,#bdf4dc);border-color:#76ddb3;color:#096844}.cat-express{background:linear-gradient(140deg,#f6edff,#e0c8ff);border-color:#c6a0ff;color:#51228a}.list{display:grid;gap:10px;margin-top:12px}.route{background:#ffffffd9;backdrop-filter:blur(12px);border:1px solid #dceaf5;border-radius:17px;box-shadow:0 6px 20px #09294f07;overflow:hidden}.route summary{list-style:none;cursor:pointer;padding:15px 17px;display:flex;align-items:center;gap:13px}.route summary::-webkit-details-marker{display:none}.route summary:after{content:'＋';margin-left:auto;color:var(--blue);font-size:1.25rem;font-weight:700}.route[open] summary:after{content:'−'}.route.bus-route>summary:after,.route.bus-route[open]>summary:after{content:none}.bus-photo{width:74px;height:58px;object-fit:cover;border-radius:11px;background:#eaf3f9;flex-shrink:0}.bus-photo.operator-logo-photo{object-fit:contain;background:#fff;border:1px solid #e2eaf2;padding:4px}.search-feedback{max-width:760px;min-height:22px;margin:6px 4px 0;color:var(--muted);font-size:.82rem}.search-feedback.is-empty{color:#765300;background:#fff8e7;border:1px solid #f0d7a4;border-radius:9px;padding:8px 10px}.route-summary{min-width:0;flex:1}.route h3{margin:0;color:var(--navy);font-size:1.02rem;overflow-wrap:anywhere}.summary-line{color:var(--muted);font-size:.85rem}.badge{display:inline-block;font-size:.7rem;font-weight:800;border-radius:99px;padding:3px 8px;margin:0 0 4px}.route-details{padding:0 17px 17px;border-top:1px solid #e8f1f8}.route-path{margin:12px 0;padding:10px 12px;background:#f4faff;border:1px solid var(--line);border-radius:11px;font-size:.9rem;line-height:1.8;overflow-wrap:anywhere}.route-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:9px;font-size:.88rem}.status-pending{display:inline-block;background:#fff2cc;color:#704e00;border-radius:7px;padding:3px 7px;font-size:.72rem;font-weight:800}.booking-link{display:inline-block;margin-top:8px;padding:9px 12px;background:var(--blue);color:white!important;text-decoration:none;border-radius:9px;font-weight:800}.muted{color:var(--muted)}.notes{font-size:.76rem;line-height:1.45;color:#74879a}.times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.timebox{background:#f5faff;border:1px solid #e5eff7;padding:9px 11px;border-radius:11px;font-size:.87rem}.timebox strong{display:block;color:var(--navy);font-size:.76rem}.fare{font-size:1.05rem;font-weight:900;color:var(--blue)}.cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.card{background:#ffffffd9;backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 6px 20px #09294f07}.card h3{font-size:1rem;margin:8px 0}.fare-card-link{display:inline-block;margin-top:7px;text-decoration:none;font-weight:800;font-size:.84rem}.promo-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:18px;align-items:start}.poster-card{padding:10px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px #1b5c8510}.poster-card img{display:block;width:100%;height:auto;border-radius:12px}.poster-card p{margin:8px 4px 3px;font-size:.8rem;color:var(--muted)}.socials{display:flex;gap:10px;flex-wrap:wrap}.socials a{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:10px;background:#eef7ff;color:#0b3c70!important;text-decoration:none;font-weight:800;min-height:44px}.empty{background:#fff;padding:18px;border:1px dashed #afc0d4;border-radius:12px;color:var(--muted)}.error{color:#9b2525}footer{background:#fff;border-top:1px solid var(--line);padding:28px 20px 16px;margin-top:30px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:26px}.footer-grid h3{margin:0 0 8px;color:var(--navy);font-size:1rem}.footer-grid p,.footer-grid a{color:#5c7288;font-size:.87rem}.footer-grid a{display:block;text-decoration:none;margin:7px 0}.footer-bottom{margin-top:20px;padding-top:13px;border-top:1px solid var(--line);color:#71859a;font-size:.8rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand img{width:74px;height:40px;object-fit:contain}.disclaimer{font-size:.82rem}.vehicle-note{font-size:.76rem;color:#6b8095;margin-top:9px}.hidden{display:none!important}
@media(max-width:800px){.category-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cols{grid-template-columns:repeat(2,minmax(0,1fr))}.promo-layout{grid-template-columns:1fr}.poster-card{max-width:430px}.hero{background-size:auto,140px auto;background-position:right 12px top 18px}.hero h1{max-width:75%}.footer-grid{grid-template-columns:1fr;gap:16px}}@media(max-width:560px){.nav{padding:10px 14px;align-items:flex-start;flex-direction:column;gap:8px}.nav nav{gap:13px}.nav nav a{font-size:.82rem}.brand img{width:68px}.wrap{padding:14px 12px}.hero{padding:20px 16px;background-image:linear-gradient(105deg,#fffF,#f1f9ffed),url('slbn-logo.png');background-size:auto,95px auto}.hero h1{font-size:2.25rem;max-width:78%}.hero p{font-size:.92rem}.search{grid-template-columns:1fr}.category-filters{gap:8px}.service-card{padding:12px;min-height:116px}.route summary{padding:12px}.route-details{padding:0 12px 13px}.bus-photo{width:58px;height:52px}.route h3{font-size:.94rem}.summary-line{font-size:.77rem}.times,.cols{grid-template-columns:1fr}.farebox{text-align:left}.footer-bottom{flex-direction:column}}

[hidden]{display:none!important}
.route{animation:routeFadeIn .22s ease both;transition:box-shadow .2s ease,transform .2s ease}
.route:hover{box-shadow:0 10px 26px #09294f12;transform:translateY(-1px)}
.route[open] .route-details{animation:detailsReveal .22s ease both}
.card-fare-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}
.card-fare{font-size:.98rem;font-weight:900;color:var(--blue)}
.card-fare-row .status-pending{font-size:.66rem}
.nav nav a{transition:color .18s ease,opacity .18s ease}
.service-card{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.service-card:hover{transform:translateY(-2px);filter:saturate(1.04)}
@keyframes routeFadeIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes detailsReveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.main-route-group{border:1px solid #e0e7ef;border-radius:18px;background:#fff;margin:12px 0;overflow:hidden;box-shadow:0 3px 14px #102b4b08;animation:routeFadeIn .22s ease both}
.main-route-group>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px 18px}
.main-route-group>summary::-webkit-details-marker{display:none}
.main-route-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;flex:0 0 48px}
.main-route-icon svg{width:25px;height:25px}
.main-route-icon.cat-normal{background:#fff3cc;color:#946200}
.main-route-icon.cat-semi{background:#e3eeff;color:#245db2}
.main-route-icon.cat-luxury{background:#ddf5e5;color:#187743}
.main-route-icon.cat-express{background:#f0e5ff;color:#7435b5}
.main-route-heading{flex:1;min-width:0}
.main-route-heading h3{margin:0 0 5px;font-size:1.06rem}
.main-route-chevron{font-size:1.45rem;color:#7b8795;transition:transform .2s ease}
.main-route-group[open]>summary .main-route-chevron{transform:rotate(180deg)}
.main-route-buses{padding:0 12px 12px;border-top:1px solid #eef2f6}
.bus-route{margin:10px 0 0;border-radius:13px;border:1px solid #e6ebf0;box-shadow:none}
.bus-route>summary{padding:13px 14px;display:flex;gap:12px;align-items:center;list-style:none;cursor:pointer}
.bus-route>summary::-webkit-details-marker{display:none}
.bus-route .route-summary{flex:1;min-width:0}
.bus-route .route-summary h3{margin:0 0 4px;font-size:1rem}
.bus-route .card-fare-row{justify-content:space-between}
.bus-route .route-details{padding:0 14px 14px}
.bus-route .summary-line{font-size:.9rem;color:#687789}
@media(prefers-reduced-motion:reduce){.main-route-group,.main-route-chevron{animation:none!important;transition:none!important}}

.bus-card-icon{width:46px;height:46px;flex:0 0 46px;border-radius:13px;display:grid;place-items:center}
.bus-card-icon svg{width:24px;height:24px}
.bus-card-icon.cat-normal{background:#fff3cc;color:#946200}
.bus-card-icon.cat-semi{background:#e3eeff;color:#245db2}
.bus-card-icon.cat-luxury{background:#ddf5e5;color:#187743}
.bus-card-icon.cat-express{background:#f0e5ff;color:#7435b5}
.bus-timing-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:7px 0 8px;font-size:.82rem;color:#687789;line-height:1.35}
.timing-icon{font-size:1.05rem;color:#64748b}
.timing-separator{color:#b0bac6}
.bus-card-chevron{font-size:1.45rem;color:#7b8795;line-height:1;flex:0 0 auto;transition:transform .2s ease}
.bus-route[open]>summary .bus-card-chevron{transform:rotate(45deg)}
.bus-route>summary{align-items:center}
@media(max-width:520px){.bus-card-icon{width:40px;height:40px;flex-basis:40px}.bus-route>summary{gap:9px}.bus-route .card-fare{font-size:.9rem}}

/* Exactly four visible categories; Normal has its own warm gold identity. */
.category-filters [data-category="Normal"]{background:#fff3cc!important;color:#946200!important;border-color:#f0d98b!important}
.category-filters [data-category="Normal"][aria-pressed="true"]{background:#ffe49a!important;color:#795000!important;border-color:#d9ad35!important}

.promo-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.btn-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#fff;color:var(--navy)!important;border:1px solid #b8d8ee;border-radius:11px;padding:12px 18px;font-weight:800;transition:transform .15s,box-shadow .15s}
.btn-secondary:hover{transform:translateY(-1px);box-shadow:0 6px 16px #087cc125}
.promo-callout{position:relative;overflow:hidden;background:linear-gradient(120deg,#0c3a68,#087cc1);color:#fff;border-radius:22px;padding:clamp(22px,4vw,38px);box-shadow:0 14px 34px #0b4d7c20}
.promo-callout h2{color:#fff;margin:0 0 10px;font-size:clamp(1.5rem,3vw,2.1rem);letter-spacing:-.03em}
.promo-callout p{color:#e5f4ff;max-width:760px;margin:0 0 14px}
.promo-stats{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 18px}
.promo-stat{background:#ffffff18;border:1px solid #ffffff35;border-radius:13px;padding:10px 14px;min-width:135px}
.promo-stat strong{display:block;font-size:1.2rem;color:#fff}
.promo-stat span{font-size:.78rem;color:#e5f4ff}
.promo-callout .button-light{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#ffcf38;color:#153b61!important;border-radius:11px;padding:12px 18px;font-weight:900}
.promo-callout .button-outline{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:transparent;color:#fff!important;border:1px solid #b9ddf7;border-radius:11px;padding:11px 17px;font-weight:800}
@media(max-width:560px){.promo-hero-actions a{width:100%}.promo-stats{gap:8px}.promo-stat{flex:1;min-width:115px}}


@keyframes slbn-hero-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.hero{animation:slbn-hero-in .48s ease-out both}.service-card,.route,.main-route-group{transition:transform .18s ease,box-shadow .18s ease}.service-card:hover{transform:translateY(-2px)}.promo-live-area{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:14px 0}.live-ad{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px #123b670b;transition:transform .18s,box-shadow .18s}.live-ad:hover{transform:translateY(-2px);box-shadow:0 12px 28px #123b6715}.live-ad img{display:block;width:100%;max-height:210px;object-fit:cover;background:#eaf3f9}.live-ad-body{padding:14px}.sponsored-label{display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:#eef4f8;color:#53687a;padding:4px 7px;border-radius:5px}.live-ad h3{margin:8px 0;color:var(--navy)}.live-ad p{font-size:.88rem;color:var(--muted)}.popup-backdrop{position:fixed;inset:0;z-index:100;background:#0c2039a8;display:none;align-items:center;justify-content:center;padding:18px}.popup-backdrop.show{display:flex}.promo-popup{position:relative;width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 80px #00182c50}.promo-popup img{width:100%;max-height:260px;object-fit:cover}.promo-popup-body{padding:20px}.popup-close{position:absolute;right:10px;top:10px;background:#fff;color:#16314d;border:1px solid #dceaf5;border-radius:50%;width:40px;height:40px;padding:0;font-size:1.3rem}.legal-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.legal-links a{color:var(--blue);font-size:.8rem;text-decoration:none}.legal-links a:hover{text-decoration:underline}.ad-note{font-size:.72rem;color:var(--muted)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:560px){.live-ad:hover{transform:none}.popup-backdrop{padding:10px}.promo-popup-body{padding:15px}}

/* Premium transitions, dark mode and accessible scroll reveals */
.back-to-top{position:fixed;right:18px;bottom:18px;z-index:20;width:46px;height:46px;border-radius:50%;padding:0;font-size:1.25rem;box-shadow:0 8px 24px #09294f22;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s}
.back-to-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
:root{color-scheme:light;--surface:#ffffff;--surface-soft:#f3f9fe;--header-bg:#ffffffdf;--text-main:var(--ink)}
html[data-theme="dark"]{color-scheme:dark;--blue:#55b8ff;--navy:#d5eaff;--ink:#e5edf7;--muted:#a8b8cb;--bg:#0b1422;--line:#26374d;--white:#111f31;--surface:#111f31;--surface-soft:#17283d;--header-bg:#0d1a2be8;background:var(--bg)}
html[data-theme="dark"] body{background:radial-gradient(ellipse at top right,#123a5a 0,transparent 42%),var(--bg);color:var(--ink)}
html[data-theme="dark"] header{background:var(--header-bg);border-color:var(--line)}
html[data-theme="dark"] .nav nav a,html[data-theme="dark"] .brand{color:var(--navy)}
html[data-theme="dark"] .hero,html[data-theme="dark"] .route,html[data-theme="dark"] .main-route-group,html[data-theme="dark"] .card,html[data-theme="dark"] .poster-card,html[data-theme="dark"] .live-ad,html[data-theme="dark"] footer{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .hero{background-image:linear-gradient(105deg,#101e30f5 8%,#132940ed 54%,#16344bd9),url('slbn-logo.png')}
html[data-theme="dark"] .search{background:#14253a;border-color:var(--line)}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#0e1b2c;color:var(--ink);border-color:#344b65}
html[data-theme="dark"] .route-path,html[data-theme="dark"] .timebox,html[data-theme="dark"] .socials a,html[data-theme="dark"] .empty{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .route-details,html[data-theme="dark"] .main-route-buses{border-color:var(--line)}
html[data-theme="dark"] .footer-grid p,html[data-theme="dark"] .footer-grid a,html[data-theme="dark"] .footer-bottom{color:var(--muted)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:.82rem;box-shadow:none;white-space:nowrap}
.theme-toggle:hover{transform:translateY(-1px);box-shadow:0 5px 14px #087cc125}
.reveal-on-scroll{opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.reveal-on-scroll.is-visible{opacity:1;transform:translateY(0)}
button:active,.booking-link:active,.service-card:active{transform:scale(.985)}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4eb5ff;outline-offset:3px}
@media(max-width:560px){.theme-toggle{padding:7px 10px}.nav nav{align-items:center}.reveal-on-scroll{transform:translateY(8px)}}
@media(prefers-reduced-motion:reduce){.reveal-on-scroll{opacity:1;transform:none;transition:none}}
.featured-bus-label{display:inline-block;vertical-align:middle;font-size:.68rem;line-height:1.5;font-weight:800;letter-spacing:.02em;color:#6d4b00;background:#fff0b8;border:1px solid #f0cf62;border-radius:5px;padding:2px 6px;margin-right:5px}.placement-options label input{accent-color:#0757a6}

/* Compact, consistent booking actions and stronger logo contrast in both themes. */
.brand img,.footer-brand img{background:#fff;border:1px solid #d9e6f1;border-radius:8px;padding:3px;flex-shrink:0}
.booking-link{font-size:.82rem;line-height:1.2;padding:8px 11px;border-radius:8px;box-shadow:0 2px 5px #087cc114;transition:background-color .16s,box-shadow .16s,transform .16s}
.booking-link:hover{transform:translateY(-1px);box-shadow:0 4px 10px #087cc122}
.booking-link:active{transform:scale(.99)}
html[data-theme="dark"] .booking-link{background:#1479b5;color:#fff!important;box-shadow:0 2px 8px #0004}
html[data-theme="dark"] .brand img,html[data-theme="dark"] .footer-brand img{background:#fff;border-color:#fff}
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .section-title,html[data-theme="dark"] .footer-grid h3{color:#e4f2ff}
html[data-theme="dark"] .route-path,html[data-theme="dark"] .timebox{background:#17283d;color:#e5edf7}

.operator-profile-card{display:flex;flex-direction:column;gap:10px;min-width:0}.operator-profile-head{display:flex;align-items:center;gap:12px}.operator-profile-head img{width:64px;height:64px;object-fit:contain;background:#fff;border:1px solid #dce6f1;border-radius:12px;padding:5px}.operator-profile-head h3{margin:0;color:var(--navy);font-size:1.05rem}.operator-profile-card p{margin:0;color:var(--muted);font-size:.9rem}.operator-profile-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.operator-profile-actions a,.operator-profile-actions button{font-size:.82rem;padding:8px 11px;border-radius:8px;text-decoration:none}.operator-profile-actions a{background:#eaf3ff;color:#0757a6;font-weight:700}.operator-profile-actions button{background:#ffc928;color:#17304c}.operator-profile-card .featured-bus-label{width:max-content}
@media(max-width:560px){.operator-profile-head img{width:52px;height:52px}.operator-profile-actions a,.operator-profile-actions button{flex:1;text-align:center}}
@media(prefers-reduced-motion:reduce){.booking-link,button{transition:none!important;scroll-behavior:auto!important}}

/* SLBN 2.0 premium interface layer — additive; original functionality retained */
:root{--ui-ease:cubic-bezier(.22,1,.36,1);--ui-shadow:0 14px 38px rgba(16,66,109,.12)}
button,.booking-link,.btn,a[class*="button"],.service-card{transition:transform .24s var(--ui-ease),box-shadow .28s var(--ui-ease),background-color .25s,border-color .25s,filter .25s!important}
button:not(:disabled):hover,.booking-link:hover,.service-card:hover{transform:translateY(-3px);box-shadow:0 13px 27px rgba(9,90,154,.18)}
button:not(:disabled):active,.booking-link:active{transform:translateY(0) scale(.975)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #47b4ff;outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.58;filter:grayscale(.25)}
button:not(.service-card):not(.theme-toggle):not([class*="close"]){letter-spacing:.01em}
.booking-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;background:linear-gradient(120deg,#075eaf,#0995df);box-shadow:0 6px 16px #075eaf2b;color:white;text-decoration:none;font-weight:800}
.search button{background:linear-gradient(125deg,#0864b4,#0798dd);box-shadow:0 8px 22px #087ac02b}
input,select,textarea{transition:border-color .2s,box-shadow .2s,background-color .2s}
input:focus,select:focus,textarea:focus{border-color:#329cdd;box-shadow:0 0 0 4px #198ed51c}
.card,.main-route-group,.route,.poster-card,.panel,.live-ad{transition:box-shadow .3s var(--ui-ease),border-color .3s,transform .3s var(--ui-ease)}
.card:hover,.main-route-group:hover,.route:hover,.live-ad:hover{box-shadow:var(--ui-shadow);border-color:#b7d9ef}
.service-card{position:relative;overflow:hidden;isolation:isolate}
.service-card::after{content:"";position:absolute;inset:auto -40% -80% 20%;height:110px;background:#ffffff60;filter:blur(32px);transform:rotate(-20deg);pointer-events:none}
.nav a:not(.brand){transition:color .2s,background-color .2s,transform .2s}
.nav a:not(.brand):hover{transform:translateY(-1px)}
.promo-carousel{position:relative;overflow:hidden;border-radius:22px;border:1px solid var(--line);background:linear-gradient(135deg,#f3faff,#fff);box-shadow:0 12px 30px #12476b10;padding:14px}
.promo-carousel-track{display:flex;transition:transform .5s var(--ui-ease);will-change:transform;align-items:stretch}
.promo-slide{flex:0 0 100%;min-width:0;padding:3px}
.promo-slide .live-ad{height:100%;margin:0;overflow:hidden;border-radius:16px}
.promo-slide .live-ad img{display:block;width:100%;max-height:370px;object-fit:contain;background:#f0f7fc}
.promo-carousel-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
.promo-carousel-controls button{width:37px;height:37px;display:grid;place-items:center;padding:0;border-radius:50%;background:#e5f2fc;color:#075b9e;box-shadow:none}
.promo-dots{display:flex;align-items:center;gap:7px}
.promo-dots button{width:9px;height:9px;padding:0;border-radius:50%;background:#a9c9dd;min-width:9px;min-height:9px;box-shadow:none}
.promo-dots button[aria-current="true"]{background:#087cc1;width:25px;min-width:25px;border-radius:20px}
@media(max-width:600px){.promo-carousel{padding:9px;border-radius:17px}.promo-slide .live-ad img{max-height:290px}.booking-link{width:auto;max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* SLBN 2.0: bus-first discovery and visible route groups */
#results .premium-route-group{margin:22px 0 30px;padding:clamp(16px,2.5vw,28px);border:1px solid rgba(44,101,183,.16);border-radius:24px;background:linear-gradient(140deg,rgba(232,243,255,.78),rgba(255,255,255,.7) 48%);box-shadow:0 14px 45px rgba(17,55,101,.065)}
#results .premium-route-header{padding:0 0 17px;margin-bottom:18px;border-bottom:1px solid rgba(44,101,183,.13)}
#results .route-label,#results .result-eyebrow{display:inline-block;font-size:.7rem;font-weight:850;letter-spacing:.14em;color:#2470cb;margin-bottom:8px}
#results .premium-route-header h3,#results .result-section-heading h3{font-size:clamp(1.18rem,2.4vw,1.65rem);margin:0 0 6px;line-height:1.3;color:var(--text,#152b47)}
#results .premium-route-meta,#results .result-section-heading p{color:var(--muted,#64748b);font-size:.9rem}
#results .bus-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}
#results .bus-result-grid>.bus-route{margin:0;min-width:0;border:1px solid rgba(40,104,189,.18);border-radius:20px;background:var(--card,#fff);box-shadow:0 8px 24px rgba(23,60,115,.07);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
#results .bus-result-grid>.bus-route:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(23,60,115,.12);border-color:rgba(31,109,215,.4)}
#results .bus-result-grid>.bus-route[open]{grid-column:auto;border-color:#3284db;box-shadow:0 14px 40px rgba(23,87,169,.14)}
#results .bus-result-grid>.bus-route>summary{cursor:pointer;min-height:160px;padding:18px;list-style:none}
#results .bus-result-grid>.bus-route>summary::-webkit-details-marker{display:none}
#results .bus-result-grid>.bus-route .route-details{border-top:1px solid rgba(44,101,183,.13);padding:20px;background:rgba(237,246,255,.24);animation:slbn-details-in .3s ease both}
#results .result-section-heading{margin:12px 0 20px}
#results .bus-name-results .bus-result-grid{margin-top:12px}
@keyframes slbn-details-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#results .premium-route-group{padding:15px;border-radius:19px}#results .bus-result-grid{grid-template-columns:minmax(0,1fr)}#results .bus-result-grid>.bus-route>summary{min-height:0}}
@media(prefers-reduced-motion:reduce){#results .bus-result-grid>.bus-route,#results .bus-result-grid>.bus-route .route-details{animation:none;transition:none}#results .bus-result-grid>.bus-route:hover{transform:none}}

/* SLBN 2.0 — grouped discovery and polished light/dark surfaces */
:root{--premium-radius:22px;--premium-ease:cubic-bezier(.22,1,.36,1)}
body{transition:background-color .35s ease,color .35s ease}
.hero{border-radius:30px!important;box-shadow:0 22px 70px rgba(10,48,93,.12)!important}
#results .operator-result-group{background:linear-gradient(145deg,#f1f7ff,#fff 70%);border-radius:26px;box-shadow:0 14px 42px #0a376212}
#results .operator-result-title{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
#results .sponsored-operator{display:inline-flex;align-items:center;border:1px solid #f0cc6b;border-radius:999px;background:#fff4d6;color:#7a4c04;padding:8px 12px;font-size:.75rem;font-weight:850;letter-spacing:.01em}
#results .bus-result-grid>.bus-route{background:#fff;border:1px solid #dbe7f6;border-radius:20px;box-shadow:0 8px 28px #0c427013}
#results .bus-result-grid>.bus-route>summary{min-height:0;transition:background .2s ease}
#results .bus-result-grid>.bus-route>summary:hover{background:#f4f9ff}
#results .bus-result-grid>.bus-route[open]{border-color:#358cdd}
#results .bus-card-chevron{border-radius:50%;transition:transform .25s ease}
#results details[open] .bus-card-chevron{transform:rotate(45deg)}
button,a.booking-link,.service-card,.theme-toggle{transition:transform .24s var(--premium-ease),background-color .24s,border-color .24s,box-shadow .24s,color .24s}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #53aaff;outline-offset:3px}
html[data-theme="dark"]{--bg:#080f1d;--surface:#101f33;--surface-soft:#162b43;--line:#29415e;--ink:#e8f1fc;--muted:#b0c3da;--navy:#f1f7ff;--white:#101f33;--header-bg:#0b1627f2}
html[data-theme="dark"] body{background:radial-gradient(ellipse 65% 42% at 90% 0%,#153c62 0%,transparent 75%),linear-gradient(180deg,#091526,#080f1d 65%);color:var(--ink)}
html[data-theme="dark"] .hero{background-image:linear-gradient(112deg,#0e2138fa,#153753ef),url('slbn-logo.png');border:1px solid #315474;box-shadow:0 24px 85px #0006!important}
html[data-theme="dark"] .premium-route-group,html[data-theme="dark"] #results .operator-result-group{background:linear-gradient(145deg,#142a43,#0f1d31 72%);border-color:#2a4563;box-shadow:0 16px 46px #0004}
html[data-theme="dark"] #results .premium-route-header{border-color:#34506d}
html[data-theme="dark"] #results .premium-route-header h3,html[data-theme="dark"] #results .result-section-heading h3{color:#f2f7ff}
html[data-theme="dark"] #results .route-label,html[data-theme="dark"] #results .result-eyebrow{color:#81c4ff}
html[data-theme="dark"] #results .premium-route-meta,html[data-theme="dark"] #results .result-section-heading p{color:#b3c5da}
html[data-theme="dark"] #results .bus-result-grid>.bus-route{background:#14263d;border-color:#2b4766;box-shadow:0 10px 28px #0003;color:#e8f1fc}
html[data-theme="dark"] #results .bus-result-grid>.bus-route>summary:hover{background:#1b3552}
html[data-theme="dark"] #results .bus-result-grid>.bus-route .route-details{background:#102237;border-color:#34506d}
html[data-theme="dark"] #results .sponsored-operator{background:#483817;color:#ffdd87;border-color:#80652b}
html[data-theme="dark"] .service-card{background:#13263e;color:#ecf5ff;border-color:#34506d}
html[data-theme="dark"] .service-card:hover{background:#1c3755}
html[data-theme="dark"] .card,html[data-theme="dark"] .poster-card,html[data-theme="dark"] .live-ad{background:#12243a;color:#e8f1fc;border-color:#2b4766}
html[data-theme="dark"] .search{background:#102339;border-color:#3a5979}
html[data-theme="dark"] input::placeholder{color:#a7bdd5}
html[data-theme="dark"] .brand img,html[data-theme="dark"] .footer-brand img{background:#fff;border-radius:12px;padding:3px}
@media(max-width:600px){.hero{border-radius:22px!important}#results .operator-result-group{border-radius:20px}#results .operator-result-title{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){body,button,a,.service-card,.theme-toggle,#results .bus-card-chevron{transition:none!important}}

/* SLBN 2.0 — clean travel interface, accessible dark mode and nested operator accordion */
.hero,html[data-theme="dark"] .hero{background-image:radial-gradient(circle at 90% 15%,rgba(65,166,243,.23),transparent 45%),linear-gradient(112deg,#10243d,#16466b)!important;background-color:#10243d!important;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-5%;top:-40%;width:55%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(147,211,255,.14);box-shadow:0 0 0 80px rgba(147,211,255,.025),0 0 0 160px rgba(147,211,255,.025);pointer-events:none}
.hero>*{position:relative;z-index:1}.hero h1{letter-spacing:-.045em;line-height:1.09}.hero p{color:#d2e4f6!important}.hero .eyebrow{color:#0a66a8;background:#e8f5ff}
.hero .btn-secondary,.hero a.btn-secondary,html[data-theme="dark"] .hero .btn-secondary{background:#f8fbff!important;color:#122f4b!important;border:1px solid #d3e5f5!important;text-shadow:none!important;box-shadow:0 7px 20px #0002}
.hero .btn-secondary:hover{background:#e4f2ff!important;color:#0b477b!important}
.hero .button-light{color:#122f4b!important;background:#ffcc38!important}
.hero .search{border:1px solid #486784;background:#0c1e33;box-shadow:0 14px 30px #0002}.hero .search input{color:#f5faff!important;background:#0c1e33!important;border-color:#365774!important}.hero .search input::placeholder{color:#b7cce1!important;opacity:1}
.hero .search button{color:#fff!important;background:linear-gradient(120deg,#1678d5,#0798d4)!important}
.brand img,.footer-brand img,html[data-theme="dark"] .brand img,html[data-theme="dark"] .footer-brand img{background:#fff!important;padding:5px;border:1px solid #dbeaf5;border-radius:14px;object-fit:contain;box-shadow:0 5px 18px #0001}
#results .operator-result-group{padding:0!important;overflow:hidden;background:var(--surface,#fff);border-radius:22px}
#results .operator-group-trigger{list-style:none;display:flex;align-items:center;gap:18px;cursor:pointer;padding:22px 24px;min-height:112px}
#results .operator-group-trigger::-webkit-details-marker{display:none}
#results .operator-group-trigger:focus-visible{outline:3px solid #3c9deb;outline-offset:-4px}
#results .operator-group-icon{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:17px;background:#e8f4ff;font-size:26px}
#results .operator-group-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
#results .operator-group-copy .route-label{margin:0}
#results .operator-group-name{font-size:clamp(1.05rem,2vw,1.4rem);color:var(--ink,#172b44);line-height:1.3}
#results .operator-group-action{display:inline-flex;align-items:center;gap:9px;color:#0969b2;font-weight:800;font-size:.84rem;white-space:nowrap}
#results .operator-group-arrow{font-size:1.65rem;transition:transform .25s ease;line-height:1}
#results .operator-result-group[open] .operator-group-arrow{transform:rotate(180deg)}
#results .operator-group-content{padding:18px 24px 24px;border-top:1px solid var(--line,#d8e7f3);animation:slbn-details-in .25s ease}
#results .operator-group-hint{font-size:.85rem;color:var(--muted,#62758b);margin:0 0 14px}
#results .operator-result-group .bus-result-grid{display:flex;flex-direction:column;gap:10px}
#results .operator-result-group .bus-result-grid>.bus-route{width:100%;border-radius:15px;box-shadow:none!important}
#results .operator-result-group .bus-result-grid>.bus-route>summary{min-height:0;padding:14px 17px;display:flex;align-items:center;gap:14px}
#results .operator-result-group .bus-result-grid>.bus-route .route-summary{flex:1;min-width:0}
#results .operator-result-group .bus-result-grid>.bus-route .route-summary h3{font-size:.95rem}
#results .operator-result-group .bus-result-grid>.bus-route .bus-card-icon{flex:none}
#results .operator-result-group .bus-result-grid>.bus-route[open]{border-color:#3a9be6}
#results .operator-result-group .bus-result-grid>.bus-route .route-details{padding:20px}
html[data-theme="dark"] #results .operator-result-group{background:linear-gradient(145deg,#142a43,#0f1d31)!important;border-color:#365474}
html[data-theme="dark"] #results .operator-group-name{color:#f0f7ff}
html[data-theme="dark"] #results .operator-group-icon{background:#203d5a}
html[data-theme="dark"] #results .operator-group-action{color:#91d0ff}
html[data-theme="dark"] #results .operator-group-content{border-color:#365474}
html[data-theme="dark"] .hero .search input::placeholder{color:#c1d3e5!important}
html[data-theme="dark"] .hero .btn-secondary{color:#132d48!important}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #50b9ff;outline-offset:3px}
@media(max-width:650px){#results .operator-group-trigger{padding:16px;gap:11px;flex-wrap:wrap}#results .operator-group-icon{width:43px;height:43px;font-size:21px}#results .operator-group-action{margin-left:auto}#results .operator-group-content{padding:14px}#results .operator-group-trigger .sponsored-operator{order:3}.hero::before{opacity:.45}}
@media(prefers-reduced-motion:reduce){#results .operator-group-arrow,#results .operator-group-content{animation:none!important;transition:none!important}}

/* SLBN 2.0: unified visual system; light and dark modes intentionally distinct. */
:root{--slbn-surface:#fff;--slbn-soft:#f2f8ff;--slbn-edge:#d5e6f5;--slbn-heading:#143556;--slbn-sub:#54718b}
html[data-theme="dark"]{--slbn-surface:#13283f;--slbn-soft:#1b354f;--slbn-edge:#36536e;--slbn-heading:#f3f8ff;--slbn-sub:#b6cbe0}
html:not([data-theme="dark"]) .hero{background:radial-gradient(circle at 93% 13%,#d7efff 0,transparent 39%),linear-gradient(118deg,#fff 0%,#f4faff 52%,#e8f5ff 100%)!important;border-color:#cfe6f7!important;box-shadow:0 20px 50px #2675ac12!important}
html:not([data-theme="dark"]) .hero::before{border-color:#9bcff54d;box-shadow:0 0 0 80px #b8e2ff15,0 0 0 160px #b8e2ff10}
html:not([data-theme="dark"]) .hero h1,html:not([data-theme="dark"]) .hero h1:first-line{color:#153b61!important}
html:not([data-theme="dark"]) .hero h1 span{color:#087dc4!important}
html:not([data-theme="dark"]) .hero p{color:#4d6b86!important}
html:not([data-theme="dark"]) .hero .search{background:#fff!important;border-color:#c6dff1!important;box-shadow:0 12px 35px #1c76af13!important}
html:not([data-theme="dark"]) .hero .search input{background:#fff!important;color:#163b5e!important;border-color:#d5e6f5!important}
html:not([data-theme="dark"]) .hero .search input::placeholder{color:#6d859c!important}
html:not([data-theme="dark"]) .hero .btn-secondary{background:#fff!important;color:#153b61!important;border-color:#c6dff1!important}
html[data-theme="dark"] .hero h1{color:#f3f8ff!important}html[data-theme="dark"] .hero h1 span{color:#55b9ff!important}
html[data-theme="dark"] .hero .search input{color:#f4f9ff!important}
.hero .search{position:relative;z-index:8}.hero{overflow:visible!important}.hero::before{overflow:hidden;border-radius:50%;clip-path:inset(0 round 50%)}
.smart-suggestions{position:relative;z-index:12;max-width:760px;margin:6px 0 0;background:var(--slbn-surface);color:var(--slbn-heading);border:1px solid var(--slbn-edge);border-radius:16px;padding:7px;box-shadow:0 20px 44px #102f502a;max-height:370px;overflow-y:auto}
.smart-suggestions[hidden]{display:none!important}.suggestion-heading{font-size:.68rem;font-weight:900;letter-spacing:.1em;color:var(--slbn-sub);padding:10px 11px 5px}.suggestion-item{width:100%;display:flex;align-items:center;gap:11px;background:transparent;color:var(--slbn-heading);border-radius:11px;padding:9px 11px;text-align:left;font-weight:600;box-shadow:none!important;transform:none!important}
.suggestion-item:hover,.suggestion-item[aria-selected="true"]{background:var(--slbn-soft);color:var(--slbn-heading)}.suggestion-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#e5f3ff;color:#087bc4;flex-shrink:0}.suggestion-item small{display:block;color:var(--slbn-sub);font-weight:500;font-size:.76rem}.suggestion-item strong{display:block;font-size:.9rem}.suggestion-empty{padding:12px;color:var(--slbn-sub);font-size:.86rem}
#results .operator-result-group{max-width:970px;margin:10px auto;border-radius:16px!important}#results .operator-group-trigger{padding:12px 16px!important;min-height:64px!important;gap:11px!important}#results .operator-group-icon{width:38px!important;height:38px!important;font-size:19px!important;border-radius:11px!important}#results .operator-group-name{font-size:1.04rem!important}#results .operator-group-copy{gap:1px!important}#results .operator-group-copy .premium-route-meta{font-size:.75rem}#results .operator-group-content{padding:4px 13px 12px!important}#results .operator-group-hint{display:none!important}#results .operator-result-group .bus-result-grid{gap:0!important}#results .operator-result-group .bus-result-grid>.bus-route{border:0!important;border-bottom:1px solid var(--slbn-edge)!important;border-radius:0!important;background:transparent!important}#results .operator-result-group .bus-result-grid>.bus-route:last-child{border-bottom:0!important}#results .operator-result-group .bus-result-grid>.bus-route>summary{padding:10px 8px!important;gap:10px!important}#results .operator-result-group .bus-route .route-summary h3{display:none!important}#results .operator-result-group .bus-route .bus-photo{width:42px;height:40px}#results .operator-result-group .bus-route .bus-card-icon{width:37px!important;height:37px!important}#results .operator-result-group .bus-route .route-summary .summary-line{font-weight:800;font-size:.87rem;color:var(--slbn-heading)}#results .operator-result-group .bus-route .bus-timing-line{font-size:.76rem}#results .operator-result-group .bus-route .card-fare-row{margin-top:3px}#results .operator-result-group .bus-route .route-details{padding:12px!important;border-top:1px solid var(--slbn-edge)}#results .operator-result-group .bus-route[open]{background:var(--slbn-soft)!important}
#faresList .fare-tile{display:flex;flex-direction:column;gap:8px;min-height:205px;text-decoration:none;border:1px solid var(--slbn-edge);border-radius:19px;padding:20px;box-shadow:0 8px 22px #123d6510;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}#faresList .fare-tile:hover{transform:translateY(-4px);box-shadow:0 16px 32px #123d6520}#faresList .fare-tile .fare-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#ffffffaa;font-size:1.35rem}#faresList .fare-tile strong{font-size:1.06rem}#faresList .fare-tile .fare-si{font-size:.85rem;font-weight:700;min-height:36px}#faresList .fare-tile .fare-action{font-size:.79rem;font-weight:900;margin-top:auto}#faresList .fare-tile.cat-normal{background:#fff9e9;color:#79530b;border-color:#f2dba4}#faresList .fare-tile.cat-semi{background:#ecf7ff;color:#145d96;border-color:#b9dcf6}#faresList .fare-tile.cat-luxury{background:#edfbf3;color:#116a46;border-color:#b8e6ce}#faresList .fare-tile.cat-express{background:#f6f0ff;color:#6736a7;border-color:#dfcdf8}
html[data-theme="dark"] #faresList .fare-tile.cat-normal{background:#382e1e;color:#ffe4a4;border-color:#70572c}html[data-theme="dark"] #faresList .fare-tile.cat-semi{background:#152e45;color:#b7e2ff;border-color:#345d7c}html[data-theme="dark"] #faresList .fare-tile.cat-luxury{background:#15372e;color:#b5f4d3;border-color:#346c57}html[data-theme="dark"] #faresList .fare-tile.cat-express{background:#2b2445;color:#dfc7ff;border-color:#605181}html[data-theme="dark"] #faresList .fare-icon{background:#ffffff14}
button,.booking-link,.fare-tile,.socials a,.nav nav a{transition:transform .18s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #4cb4ff;outline-offset:3px}
@media(max-width:650px){#results .operator-group-trigger{padding:11px!important}#results .operator-group-action{font-size:.75rem}#faresList{grid-template-columns:repeat(2,minmax(0,1fr))!important}#faresList .fare-tile{min-height:185px;padding:13px}.hero{overflow:visible!important}.hero::before{display:none}}
@media(max-width:390px){#faresList{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#faresList .fare-tile,.suggestion-item,button{transition:none!important;animation:none!important}}

/* SLBN 2.0 compact design refinement — preserves existing data and handlers */
#results .route-directory-modern{background:#fff;border:1px solid #dce9f5;border-radius:16px;padding:0;overflow:hidden}
#results .route-directory-modern>.premium-route-header{background:linear-gradient(110deg,#f5faff,#fff);padding:17px 20px;border-bottom:1px solid #e0ebf5}
#results .route-directory-modern>.premium-route-header h3{color:#14385e;font-size:1.3rem}
#results .route-directory-operators{display:grid;grid-template-columns:1fr;gap:8px;padding:12px}
#results .compact-operator{margin:0;border-radius:14px;box-shadow:none;background:#fff;border:1px solid #dce8f4}
#results .compact-operator>.operator-group-trigger{padding:12px 14px;min-height:70px;gap:11px}
#results .compact-operator .operator-group-icon{width:36px;height:36px;min-width:36px;border-radius:10px;display:grid;place-items:center;background:#e8f4ff;color:#1275b9}
#results .compact-operator .operator-group-name{font-size:1rem;line-height:1.35}
#results .compact-operator .premium-route-meta{font-size:.77rem;color:#607a93}
#results .compact-operator .route-label{font-size:.63rem;letter-spacing:.1em}
#results .compact-operator .operator-group-action{font-size:1rem;min-width:24px}
#results .compact-operator .operator-group-content{padding:8px 12px 12px;border-top:1px solid #e1edf6}
#results .compact-departures{display:grid;grid-template-columns:1fr;gap:7px}
#results .compact-departures .bus-route{margin:0;border-radius:11px;background:#f8fbff;border:1px solid #e2edf7;box-shadow:none}
#results .compact-departures .bus-route>summary{padding:10px 12px;min-height:66px}
#results .compact-departures .bus-card-icon{width:34px;height:34px;flex-basis:34px;border-radius:9px}
#results .compact-departures .bus-card-icon svg{width:19px;height:19px}
#results .compact-departures .route-summary h3{font-size:.87rem;margin-bottom:1px}
#results .compact-departures .summary-line,#results .compact-departures .bus-timing-line{font-size:.78rem;margin:3px 0}
#results .compact-departures .card-fare{font-size:.88rem}
#results .compact-departures .route-details{background:#fff}
.fare-tile{border-radius:16px!important;min-height:145px!important;padding:16px!important;box-shadow:0 5px 17px #154f8010!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.fare-tile:hover{transform:translateY(-3px);box-shadow:0 14px 28px #154f801b!important}
.fare-tile .fare-icon{width:34px!important;height:34px!important;border-radius:10px!important;display:grid;place-items:center}
.fare-tile .fare-icon svg{width:20px;height:20px}
.fare-tile .fare-action{font-size:.78rem}
.hero{background:radial-gradient(circle at 88% 18%,#ccecff 0,transparent 34%),linear-gradient(112deg,#fff 0%,#f3faff 60%,#e6f4ff 100%)!important}
.hero h1{color:#14385e!important}.hero h1 span{color:#087cc1!important}
html[data-theme="dark"] .hero{background:radial-gradient(circle at 85% 15%,#204e72 0,transparent 40%),linear-gradient(110deg,#101f32,#142e48)!important}
html[data-theme="dark"] .hero h1{color:#f2f7ff!important}html[data-theme="dark"] .hero h1 span{color:#67c6ff!important}
html[data-theme="dark"] #results .route-directory-modern,html[data-theme="dark"] #results .compact-operator{background:#112238!important;border-color:#304b68!important;color:#edf5ff}
html[data-theme="dark"] #results .route-directory-modern>.premium-route-header{background:linear-gradient(110deg,#182e47,#112238)!important;border-color:#304b68!important}
html[data-theme="dark"] #results .route-directory-modern>.premium-route-header h3,html[data-theme="dark"] #results .compact-operator .operator-group-name{color:#f1f7ff!important}
html[data-theme="dark"] #results .compact-operator .premium-route-meta{color:#b6c9dc!important}
html[data-theme="dark"] #results .route-directory-operators{background:#112238!important}
html[data-theme="dark"] #results .compact-operator .operator-group-icon{background:#203e5c;color:#8dd3ff}
html[data-theme="dark"] #results .compact-operator .operator-group-content{border-color:#304b68!important;background:#112238!important}
html[data-theme="dark"] #results .compact-departures .bus-route{background:#192e47!important;border-color:#365471!important}
html[data-theme="dark"] #results .compact-departures .bus-route .route-summary h3{color:#f0f7ff!important}
html[data-theme="dark"] #results .compact-departures .summary-line,html[data-theme="dark"] #results .compact-departures .bus-timing-line{color:#b9cadb!important}
html[data-theme="dark"] #results .compact-departures .route-details{background:#14273e!important;color:#e5effb!important}
html[data-theme="dark"] #results .compact-departures .bus-card-chevron{color:#c7dbef!important}
html[data-theme="dark"] .fare-tile{box-shadow:none!important}
@media(max-width:600px){#results .route-directory-modern>.premium-route-header{padding:14px}#results .route-directory-operators{padding:8px}#results .compact-operator>.operator-group-trigger{padding:10px}#results .compact-operator .operator-group-content{padding:7px}#results .compact-departures .bus-route>summary{padding:9px}.fare-tile{min-height:128px!important;padding:12px!important}}
@media(prefers-reduced-motion:reduce){.fare-tile{transition:none!important}.fare-tile:hover{transform:none}}

/* SLBN 2.2: direction-aware compact journey results */
.slbn21-result.slbn22-compact{display:block;padding:0;margin:8px 0;border-radius:12px;overflow:hidden}
.slbn22-compact>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;cursor:pointer;list-style:none;min-height:76px}
.slbn22-compact>summary::-webkit-details-marker{display:none}
.slbn22-main{display:flex;align-items:center;flex-wrap:wrap;column-gap:9px;row-gap:3px;min-width:0;flex:1}
.slbn22-name{font-weight:800;font-size:.91rem}
.slbn22-category{font-size:.68rem;font-weight:750;color:#087b54;background:#e1f7eb;border-radius:99px;padding:2px 7px}
.slbn22-route{flex-basis:100%;font-size:.79rem;color:var(--muted)}
.slbn22-time{font-size:.76rem;color:var(--muted)}.slbn22-time strong{color:var(--ink);margin-left:4px}
.slbn22-right{min-width:105px;display:flex;align-items:flex-end;flex-direction:column;gap:1px;white-space:nowrap}
.slbn22-right small{font-size:.66rem;color:var(--muted)}.slbn22-right strong{font-size:.91rem;color:var(--blue)}.slbn22-arrow{font-size:.8rem;color:var(--muted)}
.slbn22-expanded{border-top:1px solid var(--line);padding:10px 14px;font-size:.81rem}.slbn22-expanded p{margin:4px 0}
.slbn22-expanded .slbn21-actions{display:flex;gap:5px;margin-top:8px}.slbn22-expanded .slbn21-actions button{width:auto;min-width:0;padding:5px 9px;font-size:.72rem;border-radius:7px}
.slbn21-tool-actions{display:flex;gap:8px;flex-wrap:wrap}.slbn21-tool-actions button{width:auto!important;min-height:0!important;padding:7px 11px!important;font-size:.78rem!important;border-radius:8px!important}
html[data-theme="dark"] .slbn22-compact{background:#13263e;color:#ecf5ff;border-color:#34506d}html[data-theme="dark"] .slbn22-time strong{color:#ecf5ff}html[data-theme="dark"] .slbn22-category{background:#194c3e;color:#a6f2c9}
@media(max-width:520px){.slbn22-compact>summary{padding:10px 11px}.slbn22-right{min-width:85px}.slbn22-name{font-size:.85rem}}

/* SLBN 2.3: contained route-stop timeline, verification, accessible focus */
.slbn23-path{margin:12px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft,#f4faff);overflow:hidden}
.slbn23-path>summary{display:flex;align-items:center;gap:10px;padding:11px 13px;cursor:pointer;font-weight:750;font-size:.86rem;list-style:none}
.slbn23-path>summary::-webkit-details-marker{display:none}
.slbn23-path>summary:after{content:'⌄';margin-left:auto;color:var(--blue)}
.slbn23-path[open]>summary:after{content:'⌃'}
.slbn23-stop-count{font-size:.73rem;font-weight:600;color:var(--muted)}
.slbn23-timeline{list-style:none;margin:0 14px 14px 22px;padding:3px 0 0 14px;border-left:2px solid #b9d8eb}
.slbn23-timeline li{position:relative;display:flex;align-items:baseline;gap:8px;padding:7px 0 7px 9px;font-size:.84rem;overflow-wrap:anywhere}
.slbn23-stop-dot{position:absolute;left:-21px;top:14px;width:10px;height:10px;border-radius:50%;border:2px solid #73a9cf;background:var(--surface,#fff)}
.slbn23-timeline li.endpoint{font-weight:800;color:var(--navy)}
.slbn23-timeline li.endpoint .slbn23-stop-dot{background:var(--blue);border-color:var(--blue)}
.slbn23-timeline li small{margin-left:auto;color:var(--muted);font-size:.7rem}
.slbn23-verified{display:inline-block;margin-top:4px;padding:3px 7px;border-radius:7px;font-size:.7rem;font-weight:750;color:#11644a;background:#e2f8ee}
html[data-theme="dark"] .slbn23-path{background:#17283d;border-color:#334c68;color:#e5edf7}
html[data-theme="dark"] .slbn23-timeline li.endpoint{color:#e5edf7}
html[data-theme="dark"] .slbn23-verified{color:#bdf4dc;background:#174736}
:where(button,a,input,select,summary):focus-visible{outline:3px solid #298fd2;outline-offset:3px}
@media(max-width:520px){.slbn23-timeline li{font-size:.8rem}.slbn23-timeline li small{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){.promo-carousel-track{transition:none!important}}

/* SLBN 2.3: compact, accessible verified indicator next to operator name. */
.bus-route .route-summary h3 .slbn23-verify-icon{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;color:#16855d;vertical-align:-2px;margin-left:3px;white-space:nowrap}
.bus-route .route-summary h3 .slbn23-verify-icon svg{width:15px;height:15px;display:block}
html[data-theme="dark"] .bus-route .route-summary h3 .slbn23-verify-icon{color:#68dca5}




.slbn21-tools{margin:32px 0;padding:clamp(18px,3vw,32px);border-radius:20px;border:1px solid var(--border,#cbd5e1);background:var(--card,#fff);color:var(--text,#172b4d)}.slbn21-tools .section-title{margin:5px 0}.slbn21-planner{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:20px 0}.slbn21-field{flex:1 1 180px;min-width:0}.slbn21-field label,.slbn21-dialog label{display:block;font-size:13px;font-weight:750;margin-bottom:7px}.slbn21-field input,.slbn21-dialog select,.slbn21-dialog textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #94a3b8;border-radius:12px;background:var(--card,#fff);color:var(--text,#172b4d);font:inherit}.slbn21-tools button,.slbn21-dialog button{cursor:pointer;border-radius:12px;border:1px solid #94a3b8;padding:11px 15px;background:var(--card,#fff);color:var(--text,#172b4d);font-weight:700}.slbn21-tools .slbn21-primary,.slbn21-dialog .slbn21-primary{background:#147bd1;border-color:#147bd1;color:white}.slbn21-tool-actions,.slbn21-actions{display:flex;flex-wrap:wrap;gap:8px}.slbn21-result-list:not(:empty){margin-top:15px}.slbn21-results-head{display:flex;justify-content:space-between;gap:8px;padding:10px 0;font-size:14px}.slbn21-result{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid #94a3b850}.slbn21-muted{color:var(--muted,#64748b);font-size:13px;margin:5px 0}.slbn21-meta{font-size:13px;margin-top:5px}.slbn21-actions button{font-size:12px;padding:8px 10px}.slbn21-dialog{width:min(92vw,540px);max-height:85vh;overflow:auto;border-radius:18px;padding:24px;border:1px solid #94a3b8;background:var(--card,#fff);color:var(--text,#172b4d)}.slbn21-dialog::backdrop{background:#07192bb8}.slbn21-dialog textarea,.slbn21-dialog select{margin-bottom:14px}.slbn21-dialog-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.slbn21-dialog-actions a{color:#2996f0}.slbn21-tools button:focus-visible,.slbn21-dialog button:focus-visible{outline:3px solid #fbbf24;outline-offset:2px}html[data-theme="dark"] .slbn21-tools,html[data-theme="dark"] .slbn21-dialog{background:#17253b;color:#f8fafc;border-color:#40536f}html[data-theme="dark"] .slbn21-field input,html[data-theme="dark"] .slbn21-dialog select,html[data-theme="dark"] .slbn21-dialog textarea,html[data-theme="dark"] .slbn21-tools button:not(.slbn21-primary),html[data-theme="dark"] .slbn21-dialog button:not(.slbn21-primary){background:#22334d;color:#f8fafc;border-color:#64748b}html[data-theme="dark"] .slbn21-muted{color:#cbd5e1}@media(max-width:650px){.slbn21-planner{display:grid;grid-template-columns:1fr auto;align-items:end}.slbn21-field{grid-column:1/-1}.slbn21-swap{grid-column:2;grid-row:2}.slbn21-primary{grid-column:1/-1}.slbn21-result{align-items:flex-start;flex-direction:column}}



/* SLBN 2.1 refined journey, compact fare actions and partnership invitation */
.slbn21-tools{max-width:1050px;margin:22px auto;padding:20px 22px!important;box-shadow:0 12px 36px #194d7810}
.slbn21-heading .section-title{font-size:clamp(1.3rem,2.2vw,1.65rem)}
.slbn21-planner{display:grid!important;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) auto;gap:9px!important;align-items:end!important;margin:16px 0 12px!important}
.slbn21-field{position:relative;min-width:0}.slbn21-field label{margin-bottom:5px!important}.slbn21-field input{height:43px!important;padding:9px 12px!important;border:1px solid #b8cbe0!important;border-radius:11px!important;outline-offset:2px}
.slbn21-tools .slbn21-swap{height:43px;width:38px;padding:0!important;display:grid;place-items:center;border-radius:10px!important}
.slbn21-tools .slbn21-primary{height:43px;padding:0 15px!important;border-radius:11px!important;white-space:nowrap}
.slbn21-location-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:80;background:#fff;border:1px solid #d1e1f0;border-radius:12px;padding:5px;box-shadow:0 18px 35px #163d632b;max-height:240px;overflow:auto}
.slbn21-location-options[hidden]{display:none!important}.slbn21-location-options button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:transparent!important;border:0!important;color:#193b60!important;padding:9px 10px!important;border-radius:8px!important;font-size:.86rem!important;box-shadow:none!important}
.slbn21-location-options button:hover,.slbn21-location-options button[aria-selected="true"]{background:#eaf4ff!important}.slbn21-location-options .slbn21-option-icon{color:#1783d0}.slbn21-option-hint{font-size:.75rem;color:#627d98;padding:9px}
.slbn21-filterbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 15px}.slbn21-filterbar label{font-size:.75rem;font-weight:750}.slbn21-filterbar select{max-width:170px;border-radius:9px;padding:6px 8px;background:var(--slbn-surface,#fff);color:var(--slbn-heading,#123c61);border:1px solid var(--slbn-edge,#cbd5e1);font-size:.78rem}
.slbn21-result-list:not(:empty){margin-top:12px}.slbn21-result{background:var(--slbn-surface,#fff);border:1px solid var(--slbn-edge,#d7e5f4);border-radius:13px;padding:11px 13px;margin:7px 0;gap:10px}.slbn21-actions button{padding:5px 8px!important;font-size:.73rem!important;border-radius:8px!important}.slbn21-meta{color:var(--slbn-sub,#61768b)}
#faresList .fare-tile{min-height:125px!important;padding:12px 14px!important;gap:5px!important}#faresList .fare-tile .fare-icon{height:30px!important;width:30px!important}#faresList .fare-tile .fare-icon svg{width:18px;height:18px}#faresList .fare-tile .fare-action{display:inline-flex;align-items:center;align-self:flex-start;font-size:.72rem!important;line-height:1.3;border-radius:8px;padding:5px 8px!important;margin-top:auto}
.slbn21-join{border:1px solid var(--slbn-edge,#d7e5f4);border-radius:16px;padding:18px;background:var(--slbn-surface,#fff)}.slbn21-join .section-title{font-size:1.35rem;margin:7px 0}.slbn21-join p{font-size:.89rem;line-height:1.6;color:var(--slbn-sub,#59748f)}.slbn21-join-benefits{display:grid;gap:7px;margin:13px 0;color:var(--slbn-heading,#163b5e);font-size:.85rem;font-weight:650}.slbn21-join-cta{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#137dc8;color:white!important;padding:10px 14px;border-radius:10px;font-size:.85rem;font-weight:800;margin:8px 0 16px}.slbn21-join .poster-card{max-width:350px;margin:auto;overflow:hidden;border-radius:14px}.slbn21-join .poster-card img{width:100%;height:auto;display:block}
html[data-theme="dark"] .slbn21-location-options{background:#1b2c43;border-color:#3b5675}html[data-theme="dark"] .slbn21-location-options button{color:#e6f1ff!important}html[data-theme="dark"] .slbn21-location-options button:hover,html[data-theme="dark"] .slbn21-location-options button[aria-selected="true"]{background:#2b4664!important}html[data-theme="dark"] .slbn21-join{background:#17253b;color:#f8fafc;border-color:#40536f}html[data-theme="dark"] .slbn21-join p{color:#c5d6e8}html[data-theme="dark"] .slbn21-join-benefits{color:#e6f1ff}html[data-theme="dark"] .slbn21-field input{background:#22334d;color:#f8fafc;border-color:#54708f!important}html[data-theme="dark"] .slbn21-filterbar select{background:#22334d;color:#f8fafc;border-color:#54708f}
@media(max-width:700px){.slbn21-planner{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)!important}.slbn21-field{grid-column:auto!important}.slbn21-swap{grid-column:2!important;grid-row:1!important;align-self:end}.slbn21-planner .slbn21-field:first-child{grid-column:1!important;grid-row:1!important}.slbn21-planner .slbn21-field:nth-of-type(2){grid-column:3!important;grid-row:1!important}.slbn21-planner .slbn21-primary{grid-column:1/-1!important}.slbn21-tools{padding:15px!important}}
@media(max-width:430px){.slbn21-planner{grid-template-columns:1fr 38px!important}.slbn21-planner .slbn21-field:first-child{grid-column:1!important;grid-row:1!important}.slbn21-planner .slbn21-field:nth-of-type(2){grid-column:1!important;grid-row:2!important}.slbn21-swap{grid-column:2!important;grid-row:1/3!important;align-self:center!important}.slbn21-planner .slbn21-primary{grid-column:1/-1!important}}
@media(prefers-reduced-motion:reduce){.slbn21-join-cta,.slbn21-location-options button{transition:none!important}}



/* SLBN 2.2 vertical refinement: original 2.1 layout, no oversized replacement cards */
#results .bus-route>summary{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 13px!important;min-height:0!important}
#results .bus-route .route-summary{flex:1;min-width:0}
#results .bus-route .route-summary h3{font-size:.94rem!important;line-height:1.3!important;margin:0 0 2px!important}
#results .bus-route .summary-line{font-size:.78rem!important;line-height:1.35!important;margin:0 0 6px!important}
#results .bus-route .slbn-inline-facts{display:flex;align-items:center;gap:8px 17px;flex-wrap:wrap}
#results .bus-route .slbn-fact{display:flex;flex-direction:column;gap:1px;min-width:65px}
#results .bus-route .slbn-fact small{font-size:.66rem;color:var(--muted,#64748b);line-height:1.2}
#results .bus-route .slbn-fact strong{font-size:.79rem;line-height:1.3;color:var(--ink,#172b44);font-weight:700}
#results .bus-route .slbn-fare strong{color:#0876b8}
#results .bus-route .slbn-inline-facts .badge{font-size:.68rem!important;padding:3px 8px!important;white-space:nowrap}
#results .bus-route .status-pending{font-size:.67rem!important;display:inline-block;margin-top:4px}
#results .bus-route .bus-card-icon{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px!important}
#results .bus-route .bus-card-icon svg{width:19px!important;height:19px!important}
#results .bus-route .bus-card-chevron{font-size:1.05rem!important}
#results .bus-route .route-details{padding:12px 14px!important;border-top:1px solid var(--line,#d8e7f3)!important}
#results .operator-result-group .bus-route .route-summary h3{display:block!important}
#results .operator-result-group .operator-group-trigger{min-height:0!important;padding:11px 14px!important}
#results .operator-result-group .operator-group-content{padding:0 11px 9px!important}
#results .operator-result-group .compact-departures .bus-route{margin:0!important}
/* Search controls retain their original functionality; only dimensions change. */
.hero .search{max-width:650px!important;padding:5px!important;gap:6px!important;border-radius:12px!important}
.hero .search input{min-height:40px!important;height:40px!important;padding:8px 12px!important;font-size:.89rem!important}
.hero .search button{min-height:40px!important;height:40px!important;padding:7px 16px!important;font-size:.82rem!important;border-radius:9px!important}
.slbn21-tools{padding-top:20px!important;padding-bottom:20px!important}
.slbn21-tools .slbn21-heading{margin-bottom:10px!important}
.slbn21-tools .slbn21-heading .section-title{font-size:clamp(1.25rem,2.3vw,1.65rem)!important}
.slbn21-tools .slbn21-heading .section-subtitle{font-size:.85rem!important}
.slbn21-planner{padding:12px!important;gap:9px!important;border-radius:14px!important}
.slbn21-planner input{min-height:40px!important;height:40px!important;padding:8px 10px!important;font-size:.85rem!important}
.slbn21-planner .slbn21-primary{min-height:40px!important;padding:8px 14px!important;font-size:.82rem!important}
.slbn21-planner .slbn21-swap{width:35px!important;height:35px!important;min-width:35px!important}
.slbn21-filterbar{padding:8px 0!important;gap:8px!important}
html[data-theme="dark"] #results .bus-route .slbn-fact strong{color:#f0f6ff!important}
html[data-theme="dark"] #results .bus-route .slbn-fact small{color:#a9bfd5!important}
html[data-theme="dark"] #results .bus-route .slbn-fare strong{color:#8cd1ff!important}
@media(max-width:600px){#results .bus-route>summary{padding:10px!important;gap:8px!important}#results .bus-route .slbn-inline-facts{gap:7px 11px}#results .bus-route .slbn-fact{min-width:62px}#results .bus-route .slbn-fact strong{font-size:.75rem!important}.hero .search{padding:4px!important}.hero .search button{padding:7px 10px!important}.slbn21-planner{padding:10px!important}}



/* One shared compact service-card layout for all passenger discovery surfaces. */
.bus-route>summary{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;min-height:78px!important}
.bus-route .route-summary{flex:1;min-width:0}
.bus-route .route-summary h3{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 3px!important;font-size:14px!important}
.bus-route .summary-line{font-size:12px!important;margin:0 0 5px!important}
.bus-route .slbn-inline-facts{display:flex;gap:20px!important;align-items:center}
.bus-route .slbn-fact{display:flex;gap:4px;align-items:baseline}
.bus-route .slbn-fact small{font-size:10px}
.bus-route .slbn-fact strong{font-size:12px}
.bus-route .slbn-unified-category{font-size:10px!important;white-space:nowrap}
.bus-route .slbn-unified-route-number{border:1px solid currentColor;border-radius:5px;padding:1px 5px;font-size:11px;opacity:.8}
.bus-route .slbn-unified-price{margin-left:auto;min-width:100px;display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap}
.bus-route .slbn-unified-price small{font-size:10px;opacity:.7}
.bus-route .slbn-unified-price strong{color:#1477c8;font-size:14px}
.bus-route .bus-card-chevron{flex-shrink:0}
.slbn21-journeys .bus-route,.slbn21-results .bus-route,#slbn21-journeys .bus-route,#slbn21-upcoming .bus-route,#slbn21-favourites .bus-route{margin:7px 0!important}
.slbn-unified-actions{display:flex;gap:6px;justify-content:flex-end;padding:8px 0;flex-wrap:wrap}
.slbn-unified-actions button{padding:5px 9px!important;font-size:11px!important;min-height:28px!important}
@media(max-width:600px){.bus-route>summary{padding:10px!important;gap:7px!important}.bus-route .slbn-inline-facts{gap:12px!important}.bus-route .slbn-unified-price{min-width:76px}.bus-route .slbn-unified-price strong{font-size:12px}.bus-route .route-summary h3{font-size:13px!important}}


/* SLBN 2.2 approved Clean Premium card treatment: unchanged compact geometry. */
.bus-route>summary{transition:background-color .16s ease,border-color .16s ease}
.bus-route:hover{border-color:#bdd8ed;box-shadow:0 5px 16px rgba(22,72,112,.09)}
.bus-route .bus-card-icon{background:#eef5fb!important;color:#1673af!important;border-radius:9px!important}
.bus-route .route-summary h3{font-weight:750!important;letter-spacing:-.012em!important;gap:6px!important}
.bus-route .slbn-unified-route-number{order:2;font-size:10px!important;font-weight:700!important;border:0!important;background:#edf3f8!important;color:#4c667d!important;opacity:1!important;padding:2px 6px!important;border-radius:5px!important}
.bus-route .slbn-unified-category{order:1;font-weight:700!important;border-radius:999px!important;padding:2px 7px!important;margin:0!important;font-size:10px!important}
.bus-route .slbn-unified-price strong{font-weight:800!important;letter-spacing:-.015em!important}
.bus-route .bus-card-chevron{font-size:0!important;width:16px;height:16px;display:grid;place-items:center}
.bus-route .bus-card-chevron:before{content:'›';font-size:24px;line-height:1;color:#7c94a9;transition:transform .16s ease}
.bus-route[open] .bus-card-chevron:before{transform:rotate(90deg)}
.bus-route .slbn-booking-fee-note{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.45}
.bus-route .booking-link{font-size:12px;padding:8px 11px;border-radius:8px}
/* Compact NTC fare links: 4 desktop columns / 2 on small screens. */
#faresList{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
#faresList .fare-tile{min-height:0!important;height:auto!important;display:flex!important;align-items:center!important;flex-direction:row!important;gap:9px!important;padding:11px 12px!important;border-radius:12px!important;text-decoration:none!important;box-shadow:none!important;transition:box-shadow .16s,border-color .16s,transform .16s}
#faresList .fare-tile:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(30,77,117,.09)!important}
#faresList .fare-tile .fare-icon{flex:0 0 25px!important;width:25px!important;height:25px!important;display:grid;place-items:center}
#faresList .fare-tile strong{font-size:12px!important;line-height:1.2!important;white-space:nowrap}
#faresList .fare-tile .fare-si{font-size:10px!important;line-height:1.35!important;margin:0!important;min-width:0}
#faresList .fare-tile .fare-action{margin-left:auto!important;font-size:16px!important;font-weight:600!important;flex:0 0 auto}
@media(max-width:850px){#faresList{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){#faresList .fare-tile{padding:9px 7px!important;gap:5px!important}#faresList .fare-tile .fare-icon{display:none!important}#faresList .fare-tile strong{font-size:11px!important}#faresList .fare-tile .fare-si{font-size:9px!important}}
html[data-theme="dark"] .bus-route .slbn-unified-route-number{background:#233e58!important;color:#d6e9f8!important}
html[data-theme="dark"] .bus-route .bus-card-icon{background:#203b55!important;color:#9bd3ff!important}
/* Booking confirmation uses native dialog; no extra content on collapsed cards. */
#slbn-booking-confirm{max-width:min(430px,calc(100vw - 32px));border:1px solid #d8e6f1;border-radius:16px;padding:22px;color:#17324d;background:#fff;box-shadow:0 22px 65px #102a4560}
#slbn-booking-confirm::backdrop{background:#0a1e32a8}
#slbn-booking-confirm h2{font-size:1.15rem;margin:0 0 8px}
#slbn-booking-confirm p{font-size:.87rem;line-height:1.55;color:#4d6479}
#slbn-booking-confirm .slbn-booking-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}
#slbn-booking-confirm button,#slbn-booking-confirm a{font-size:12px;padding:9px 13px;border-radius:8px;font-weight:700;text-decoration:none}
#slbn-booking-confirm .slbn-cancel{background:#eaf2f8;color:#17324d}
#slbn-booking-confirm .slbn-continue{background:#087cc1;color:white}
html[data-theme="dark"] #slbn-booking-confirm{background:#162b41;color:#f2f8ff;border-color:#38546c}
html[data-theme="dark"] #slbn-booking-confirm p{color:#c5d6e5}



/* A grouped search result is the same bus card as every standalone result. */
#results .compact-departures{display:flex!important;flex-direction:column!important;gap:8px!important}
#results .compact-departures>.bus-route{display:block!important;width:100%!important;margin:0!important;border:1px solid var(--line,#e0e9f1)!important;border-radius:13px!important;background:var(--surface,#fff)!important;overflow:hidden!important;box-shadow:none!important}
#results .compact-departures>.bus-route>summary{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;min-height:78px!important;background:transparent!important}
#results .compact-departures .bus-route .route-summary{display:block!important;flex:1 1 auto!important;min-width:0!important}
#results .compact-departures .bus-route .route-summary h3{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;font-size:14px!important;line-height:1.3!important;margin:0 0 3px!important;color:var(--ink,#172b44)!important}
#results .compact-departures .bus-route .summary-line{font-size:12px!important;font-weight:400!important;line-height:1.4!important;margin:0 0 5px!important;color:var(--muted,#62758b)!important}
#results .compact-departures .bus-route .slbn-inline-facts{display:flex!important;align-items:center!important;gap:20px!important;flex-wrap:wrap!important}
#results .compact-departures .bus-route .slbn-fact{display:flex!important;align-items:baseline!important;gap:4px!important;min-width:0!important}
#results .compact-departures .bus-route .slbn-fact small{font-size:10px!important;font-weight:400!important}
#results .compact-departures .bus-route .slbn-fact strong{font-size:12px!important;font-weight:700!important}
#results .compact-departures .bus-route .slbn-unified-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:2px!important;min-width:100px!important;margin-left:auto!important;white-space:nowrap!important}
#results .compact-departures .bus-route .slbn-unified-price small{font-size:10px!important;opacity:.7!important}
#results .compact-departures .bus-route .slbn-unified-price strong{font-size:14px!important;font-weight:800!important;color:#1477c8!important}
#results .compact-departures .bus-route .bus-card-chevron{display:grid!important;place-items:center!important;flex:0 0 16px!important;width:16px!important;height:16px!important;font-size:0!important;transform:none!important}
#results .compact-departures .bus-route .bus-card-icon{width:34px!important;height:34px!important;flex:0 0 34px!important}
#results .compact-departures .bus-route .slbn-unified-route-number{order:2!important}
#results .compact-departures .bus-route .slbn-unified-category{order:1!important}
#results .compact-departures .bus-route .route-details{padding:14px!important;background:var(--surface,#fff)!important}
#results .compact-departures .bus-route[open]{background:var(--surface,#fff)!important}
html[data-theme="dark"] #results .compact-departures>.bus-route{background:#152a40!important;border-color:#36516b!important}
html[data-theme="dark"] #results .compact-departures .bus-route .route-summary h3{color:#f0f7ff!important}
html[data-theme="dark"] #results .compact-departures .bus-route .route-details{background:#152a40!important}
@media(max-width:600px){#results .compact-departures>.bus-route>summary{padding:10px!important;gap:7px!important}#results .compact-departures .bus-route .slbn-inline-facts{gap:12px!important}#results .compact-departures .bus-route .slbn-unified-price{min-width:76px!important}#results .compact-departures .bus-route .slbn-unified-price strong{font-size:12px!important}#results .compact-departures .bus-route .route-summary h3{font-size:13px!important}}

/* SLBN 2.2: fare-section readability and separation only. */
#fares { margin-bottom: 32px !important; padding-bottom: 0 !important; }
#fares + #promote { margin-top: 0 !important; }
#faresList {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}
#faresList .fare-tile {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 82px !important;
  padding: 12px 13px !important;
  gap: 10px !important;
  border-radius: 12px !important;
}
#faresList .fare-tile .fare-icon {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
}
#faresList .fare-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 4px !important;
}
#faresList .fare-tile .fare-copy strong {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}
#faresList .fare-tile .fare-copy .fare-si {
  display: block !important;
  width: 100% !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal !important;
}
#faresList .fare-tile .fare-action {
  align-self: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  font-size: 16px !important;
}
@media (max-width: 1000px) {
  #faresList { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  #faresList { grid-template-columns: 1fr !important; gap: 9px !important; }
  #faresList .fare-tile { min-height: 66px !important; padding: 10px 13px !important; }
  #faresList .fare-tile .fare-icon { display: grid !important; }
  #faresList .fare-tile .fare-copy strong { font-size: 13px !important; }
  #faresList .fare-tile .fare-copy .fare-si { font-size: 12px !important; }
}



#livePromotions .slbn-poster-only{position:relative;display:block;background:transparent;padding:0}
#livePromotions .slbn-poster-only .sponsored-label{position:absolute;z-index:2;top:12px;left:12px;background:#fff;color:#17324d;border-radius:8px;padding:5px 9px}
#livePromotions .slbn-poster-link{display:block;text-decoration:none}
#livePromotions .slbn-poster-link img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
#livePromotions .slbn-poster-placeholder{display:block;padding:48px;text-align:center}



/* Final targeted UI fixes: no search/theme engine changes. */
.slbn-combined-search .slbn21-planner{
 display:grid!important;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)!important;
 gap:12px!important;align-items:end!important;padding:0!important;margin:18px 0 12px!important;
 background:transparent!important;border:0!important;
}
.slbn-combined-search .slbn21-planner .slbn21-field:first-child{grid-column:1!important;grid-row:1!important}
.slbn-combined-search .slbn21-planner .slbn21-field:nth-of-type(2){grid-column:3!important;grid-row:1!important}
.slbn-combined-search .slbn21-planner #slbn21-swap{
 grid-column:2!important;grid-row:1!important;justify-self:center!important;align-self:end!important;
 width:50px!important;height:50px!important;min-width:50px!important;border-radius:50%!important;
 border:1px solid #90b9d9!important;background:linear-gradient(145deg,#fff,#e5f3ff)!important;
 color:#0c5d99!important;font-size:26px!important;font-weight:700!important;padding:0!important;
 box-shadow:0 5px 16px #0b568b24!important;transition:transform .25s ease,box-shadow .25s ease!important;
}
.slbn-combined-search .slbn21-planner #slbn21-swap:hover{
 transform:rotate(180deg)!important;box-shadow:0 9px 22px #0b568b30!important;
}
.slbn-combined-search .slbn21-planner input{height:50px!important;min-height:50px!important;font-size:14px!important}
.slbn-journey-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 16px}
.slbn-journey-actions #slbn-stable-clear,.slbn-journey-actions #slbn21-find{
 width:auto!important;min-width:120px;min-height:48px!important;height:48px!important;
 padding:0 19px!important;border-radius:13px!important;display:inline-flex!important;
 align-items:center;justify-content:center;gap:8px;font-size:14px!important;white-space:nowrap;
 transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important;
}
.slbn-journey-actions #slbn-stable-clear{
 background:transparent!important;border:1px solid #98b5ce!important;
 color:var(--text,#163450)!important;box-shadow:none!important;
}
.slbn-journey-actions #slbn-stable-clear:hover{background:#8fb6d226!important;transform:translateY(-2px)}
.slbn-journey-actions #slbn21-find{
 background:linear-gradient(120deg,#1164a9,#048cda)!important;border:1px solid #087ac5!important;
 color:#fff!important;box-shadow:0 7px 18px #087ac53a!important;
}
.slbn-journey-actions #slbn21-find:hover{transform:translateY(-2px);box-shadow:0 10px 22px #087ac54b!important}
html[data-theme="dark"] .slbn-combined-search .slbn21-planner #slbn21-swap{
 background:linear-gradient(145deg,#253c58,#1a304d)!important;color:#e4f5ff!important;border-color:#527392!important
}
html[data-theme="dark"] .slbn-journey-actions #slbn-stable-clear{color:#f8fafc!important;border-color:#64748b!important}
#livePromotionsSection[hidden]{display:block!important}
@media(max-width:650px){
 .slbn-combined-search .slbn21-planner{grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr)!important;gap:9px!important}
 .slbn-combined-search .slbn21-planner .slbn21-field:first-child{grid-column:1/4!important;grid-row:1!important}
 .slbn-combined-search .slbn21-planner #slbn21-swap{grid-column:2!important;grid-row:2!important;justify-self:center!important}
 .slbn-combined-search .slbn21-planner .slbn21-field:nth-of-type(2){grid-column:1/4!important;grid-row:3!important}
 .slbn-journey-actions{justify-content:stretch}
 .slbn-journey-actions #slbn-stable-clear{flex:0 0 auto;min-width:95px}
 .slbn-journey-actions #slbn21-find{flex:1}
}
@media(prefers-reduced-motion:reduce){
 .slbn-combined-search #slbn21-swap,.slbn-journey-actions button{transition:none!important}
}


/* About and contact only; inherits page theme. */
#about{min-width:0}#about .slbn-info-heading,#contact .slbn-info-heading{margin-bottom:19px}
.slbn-info-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.17em;color:#2688bd;margin-bottom:9px}
.slbn-info-heading h2{font-size:clamp(23px,2.5vw,34px);line-height:1.18;margin:0 0 10px;color:var(--text,#18334f)}
.slbn-info-heading p{margin:0;color:var(--muted,#60758c);line-height:1.65;max-width:640px}
.slbn-about-panel{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;padding:25px;border:1px solid var(--border,#d9e5ef);border-radius:19px;background:var(--card,#fff);box-shadow:0 10px 35px #153b6110}
.slbn-about-lead h3{font-size:21px;margin:12px 0;color:var(--text,#18334f)}
.slbn-about-lead p{line-height:1.75;margin:0 0 11px;color:var(--text,#18334f)}
.slbn-info-icon,.slbn-contact-symbol{display:inline-grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#1688c91c;color:#1585c0;font-weight:900;font-size:22px}
.slbn-about-points{display:grid;gap:12px}
.slbn-about-points>div{padding:14px;border:1px solid var(--border,#e2e9f1);border-radius:13px;background:var(--bg,#f8fafc)}
.slbn-about-points strong,.slbn-about-points span{display:block}
.slbn-about-points strong{margin-bottom:6px;color:var(--text,#18334f);font-size:14px}
.slbn-about-points span{font-size:13px;line-height:1.6;color:var(--muted,#60758c)}
.slbn-info-disclaimer,.slbn-contact-footnote{font-size:12px;line-height:1.65;color:var(--muted,#60758c);margin:14px 0 0}
.slbn-contact-section{margin-top:29px}
.slbn-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.slbn-contact-option{padding:21px;border:1px solid var(--border,#d9e5ef);border-radius:17px;background:var(--card,#fff);display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.slbn-contact-option h3{font-size:16px;color:var(--text,#18334f);margin:0}
.slbn-contact-option p{font-size:13px;line-height:1.65;color:var(--muted,#60758c);margin:0;flex:1}
.slbn-contact-option a{display:inline-flex;text-decoration:none;font-size:13px;font-weight:800;color:#087fb9;border-radius:9px;padding:8px 0}
.slbn-contact-option a:hover{text-decoration:underline}
@media(max-width:800px){.slbn-about-panel{grid-template-columns:1fr}.slbn-contact-grid{grid-template-columns:1fr}}
@media(max-width:600px){.slbn-about-panel{padding:17px}.slbn-contact-option{padding:17px}}



/* Scope restricted to the three informational sections. */
#about.slbn-full-about,#contact.slbn-full-contact,#promotions.slbn-full-partner{
 width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:28px 0 0;
}
#about .slbn-info-heading,#contact .slbn-info-heading{margin-bottom:18px}
#about .slbn-about-panel{display:block;padding:24px;border-radius:18px}
#about .slbn-about-lead{margin-bottom:20px;max-width:780px}
#about .slbn-about-lead h3{margin:0 0 9px}
#about .slbn-about-lead p{margin:0 0 8px}
#about .slbn-about-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#about .slbn-about-points>div{padding:18px;min-height:108px;box-sizing:border-box}
#contact .slbn-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#contact .slbn-contact-option{min-height:190px;box-sizing:border-box}
#promotions.slbn-full-partner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:26px;align-items:center;padding:28px;border:1px solid var(--border,#d9e5ef);border-radius:20px;background:var(--card,#fff)}
#promotions .slbn-partner-copy{min-width:0}
#promotions .poster-card{width:100%;max-width:380px;justify-self:center;margin:0}
#promotions .poster-card img{display:block;width:100%;height:auto;object-fit:contain}
#promotions .slbn21-join-benefits{margin:16px 0}
#promotions .slbn21-join-cta{display:inline-flex}
@media(max-width:780px){
 #about .slbn-about-points{grid-template-columns:1fr}
 #contact .slbn-contact-grid{grid-template-columns:1fr}
 #promotions.slbn-full-partner{grid-template-columns:1fr;padding:20px}
 #promotions .poster-card{max-width:400px}
}



/* Premium minimal official-fare cards. No other sections or logic touched. */
#faresList .fare-tile{
 position:relative!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;justify-content:space-between!important;
 min-height:145px!important;padding:19px!important;gap:16px!important;
 border-radius:18px!important;text-decoration:none!important;
 box-shadow:0 5px 18px rgba(16,50,83,.055)!important;
 transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
#faresList .fare-tile:hover,#faresList .fare-tile:focus-visible{
 transform:translateY(-4px)!important;box-shadow:0 14px 30px rgba(16,50,83,.13)!important;
}
#faresList .fare-tile:focus-visible{outline:3px solid #247db8;outline-offset:3px}
#faresList .fare-tile .fare-icon{
 display:grid!important;place-items:center!important;flex:0 0 42px!important;
 width:42px!important;height:42px!important;border-radius:12px!important;
 background:rgba(255,255,255,.84)!important;
}
#faresList .fare-tile .fare-icon svg{width:22px;height:22px}
#faresList .fare-copy{display:flex!important;flex-direction:column!important;gap:4px!important;width:100%}
#faresList .fare-copy strong{font-size:14px!important;font-weight:800!important;line-height:1.4!important}
#faresList .fare-copy .fare-subtitle{font-size:11px!important;line-height:1.4!important;opacity:.76!important;font-weight:500!important}
#faresList .fare-tile .fare-action{
 position:absolute!important;right:19px!important;top:21px!important;
 font-size:20px!important;line-height:1!important;margin:0!important;
 transition:transform .22s ease!important;
}
#faresList .fare-tile:hover .fare-action{transform:translate(2px,-2px)}
@media(max-width:520px){#faresList .fare-tile{min-height:124px!important;padding:16px!important}}
@media(prefers-reduced-motion:reduce){#faresList .fare-tile,#faresList .fare-action{transition:none!important}}



/* Three-section premium editorial redesign. No other page styles or scripts modified. */
#about.slbn-full-about,#contact.slbn-full-contact,#promotions.slbn-full-partner{margin-top:42px}
.slbn-premium-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.18em;color:#1679b9;margin-bottom:12px}
.slbn-premium-head{margin-bottom:22px}
.slbn-premium-head h2,#promotions .slbn-premium-partner-copy h2{font-size:clamp(29px,3.3vw,46px);line-height:1.14;letter-spacing:-.035em;color:var(--text,#163450);margin:0 0 13px;font-weight:800}
.slbn-premium-head>p{font-size:15px;line-height:1.7;color:var(--muted,#687b91);margin:0;max-width:700px}
.slbn-premium-about-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px}
.slbn-premium-lead{border-radius:22px;padding:32px;background:linear-gradient(145deg,#e9f5fd,#f5faff);border:1px solid #cfe5f5;display:flex;flex-direction:column;align-items:flex-start}
.slbn-premium-glyph{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#fff;color:#087ebd;font-size:29px;margin-bottom:26px;box-shadow:0 5px 15px #144a7010}
.slbn-premium-lead h3{font-size:clamp(22px,2.3vw,30px);letter-spacing:-.02em;color:#173d60;margin:0 0 14px}
.slbn-premium-lead p{font-size:15px;line-height:1.8;color:#385b78;margin:0 0 24px}
.slbn-premium-small{font-size:12px;color:#607e96;margin-top:auto}
.slbn-premium-feature-list{display:grid;gap:12px}
.slbn-premium-feature-list article{display:flex;align-items:center;gap:17px;padding:22px;border:1px solid var(--border,#d9e5ef);background:var(--card,#fff);border-radius:18px}
.slbn-premium-feature-icon{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:14px;background:#e7f3fc;color:#087ebd;font-size:23px;font-weight:700}
.slbn-premium-feature-list h3,.slbn-premium-contact-card h3{margin:0 0 5px;font-size:17px;color:var(--text,#163450)}
.slbn-premium-feature-list p,.slbn-premium-contact-card p{margin:0;font-size:13px;line-height:1.7;color:var(--muted,#687b91)}
.slbn-premium-note{font-size:12px;color:var(--muted,#687b91);line-height:1.7;margin:17px 0 0}
.slbn-premium-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.slbn-premium-contact-card{border:1px solid var(--border,#d9e5ef);border-radius:20px;background:var(--card,#fff);padding:27px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-height:225px}
.slbn-premium-contact-card h3{margin:0;font-size:19px}
.slbn-premium-contact-card p{flex:1}
.slbn-premium-contact-card a{color:#087fbd;font-weight:750;font-size:13px;text-decoration:none}
.slbn-premium-contact-card a:hover{text-decoration:underline}
#promotions.slbn-full-partner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px;padding:34px;border-radius:24px;align-items:center}
#promotions .slbn-premium-partner-copy p{font-size:15px;line-height:1.75;color:var(--muted,#687b91);margin:0 0 20px;max-width:550px}
.slbn-premium-partner-benefits{display:grid;gap:10px;margin-bottom:24px}
.slbn-premium-partner-benefits>div{display:flex;gap:14px;align-items:center;font-size:14px;color:var(--text,#163450)}
.slbn-premium-partner-benefits span{font-size:11px;font-weight:800;color:#087fbd}
#promotions .poster-card{max-width:360px}
html[data-theme="dark"] .slbn-premium-lead{background:linear-gradient(145deg,#203c59,#1a3049);border-color:#3d5a77}
html[data-theme="dark"] .slbn-premium-lead h3,html[data-theme="dark"] .slbn-premium-lead p{color:#e2effa}
html[data-theme="dark"] .slbn-premium-small{color:#b1c7d9}
html[data-theme="dark"] .slbn-premium-feature-icon{background:#234663;color:#bde5ff}
@media(max-width:780px){.slbn-premium-about-grid,.slbn-premium-contact-grid,#promotions.slbn-full-partner{grid-template-columns:1fr}#promotions.slbn-full-partner{padding:22px}.slbn-premium-lead{padding:24px}}
@media(max-width:480px){.slbn-premium-feature-list article{padding:17px}.slbn-premium-contact-card{padding:20px}.slbn-premium-head h2{font-size:29px}}



/* Scoped background finish: About, Contact, and Partner sections only. */
#about.slbn-full-about,#contact.slbn-full-contact,#promotions.slbn-full-partner{position:relative;isolation:isolate}
#about .slbn-premium-lead{background:radial-gradient(ellipse at 96% 6%,rgba(255,255,255,.95),transparent 46%),linear-gradient(138deg,#eaf6ff 0%,#f5faff 60%,#f9fcff 100%);box-shadow:0 16px 42px rgba(24,71,111,.065);transition:box-shadow .25s ease,transform .25s ease}
#about .slbn-premium-feature-list article,#contact .slbn-premium-contact-card{background:radial-gradient(circle at 100% 0%,rgba(40,147,208,.045),transparent 48%),var(--card,#fff);box-shadow:0 9px 30px rgba(24,71,111,.045);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
#about .slbn-premium-feature-list article:hover,#contact .slbn-premium-contact-card:hover{transform:translateY(-3px);border-color:rgba(49,143,199,.35);box-shadow:0 16px 35px rgba(24,71,111,.09)}
#promotions.slbn-full-partner{display:block!important;max-width:none!important;padding:clamp(25px,4vw,52px)!important;overflow:hidden;background:radial-gradient(circle at 93% 20%,rgba(85,173,225,.13),transparent 32%),radial-gradient(circle at 8% 95%,rgba(255,202,75,.085),transparent 35%),var(--card,#fff);border:1px solid var(--border,#d9e5ef);box-shadow:0 14px 42px rgba(24,71,111,.055)}
#promotions .slbn-premium-partner-copy{max-width:900px;position:relative;z-index:1}
#promotions .slbn-premium-partner-copy h2{max-width:760px}
#promotions .slbn-premium-partner-copy p{max-width:700px}
#promotions .slbn-premium-partner-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:860px}
#promotions .slbn-premium-partner-benefits>div{padding:13px 14px;border:1px solid var(--border,#d9e5ef);border-radius:13px;background:rgba(127,170,204,.07);align-items:flex-start}
html[data-theme="dark"] #about .slbn-premium-lead{background:radial-gradient(circle at 100% 0%,rgba(57,115,160,.18),transparent 45%),linear-gradient(135deg,#203c59,#1a3049)}
html[data-theme="dark"] #about .slbn-premium-feature-list article,html[data-theme="dark"] #contact .slbn-premium-contact-card{background:radial-gradient(circle at 100% 0%,rgba(64,143,196,.09),transparent 48%),var(--card,#1b2e44)}
html[data-theme="dark"] #promotions.slbn-full-partner{background:radial-gradient(circle at 93% 20%,rgba(57,115,160,.18),transparent 34%),var(--card,#1b2e44)}
@media(max-width:780px){#promotions .slbn-premium-partner-benefits{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#about .slbn-premium-feature-list article,#contact .slbn-premium-contact-card{transition:none}#about .slbn-premium-feature-list article:hover,#contact .slbn-premium-contact-card:hover{transform:none}}



/* Approved visual-only update: compact service & fare cards, dark contrast, section rhythm. */
:root{--slbn-section-line:rgba(31,78,119,.14)}
html[data-theme="dark"]{--slbn-section-line:rgba(164,194,220,.19)}
main.wrap > section:not(.hero):not(:first-child){
 position:relative;
 margin-top:clamp(34px,5vw,64px)!important;
}
main.wrap > section:not(.hero):not(:first-child)::before{
 content:"";position:absolute;top:calc(-1 * clamp(17px,2.5vw,32px));left:0;right:0;
 height:1px;background:linear-gradient(90deg,transparent,var(--slbn-section-line) 9%,var(--slbn-section-line) 91%,transparent);
 pointer-events:none;
}
main.wrap > section:not(.hero) .section-title{letter-spacing:-.02em}
.category-filters,#faresList{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
}
.category-filters .service-card{
 min-height:78px!important;height:auto!important;box-sizing:border-box!important;
 padding:13px 15px!important;border-radius:13px!important;
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 align-items:flex-start!important;gap:4px!important;text-align:left!important;
 background:var(--card,#fff)!important;
 box-shadow:0 3px 13px rgba(20,55,85,.035)!important;
 border-width:1px!important;border-style:solid!important;
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.category-filters .service-card strong{font-size:14px!important;line-height:1.25!important;margin:0!important}
.category-filters .service-card small{font-size:11px!important;line-height:1.4!important;opacity:.8!important;margin:0!important}
.category-filters .service-card .view{display:none!important}
.category-filters .service-card:hover{transform:translateY(-2px)!important;box-shadow:0 9px 23px rgba(20,55,85,.09)!important}
.category-filters .service-card[aria-pressed="true"]{box-shadow:inset 0 0 0 1px currentColor,0 7px 18px rgba(20,55,85,.09)!important}
#faresList .fare-tile{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start!important;gap:11px!important;box-sizing:border-box!important;
 min-height:78px!important;height:auto!important;padding:13px 14px!important;
 border-radius:13px!important;background:var(--card,#fff)!important;
 box-shadow:0 3px 13px rgba(20,55,85,.035)!important;
}
#faresList .fare-tile .fare-icon{
 flex:0 0 35px!important;width:35px!important;height:35px!important;
 border-radius:10px!important;background:rgba(114,164,204,.11)!important;
}
#faresList .fare-tile .fare-icon svg{width:19px!important;height:19px!important}
#faresList .fare-copy{gap:2px!important;min-width:0!important;padding-right:10px!important}
#faresList .fare-copy strong{font-size:13px!important;line-height:1.3!important}
#faresList .fare-copy .fare-subtitle{font-size:10px!important;line-height:1.25!important}
#faresList .fare-tile .fare-action{top:12px!important;right:10px!important;font-size:14px!important}
#faresList .fare-tile:hover{transform:translateY(-2px)!important;box-shadow:0 9px 23px rgba(20,55,85,.09)!important}
/* All headings and text in the three information sections remain legible in dark mode. */
html[data-theme="dark"] #about .slbn-premium-head h2,
html[data-theme="dark"] #about .slbn-premium-lead h3,
html[data-theme="dark"] #about .slbn-premium-feature-list h3,
html[data-theme="dark"] #contact .slbn-premium-head h2,
html[data-theme="dark"] #contact .slbn-premium-contact-card h3,
html[data-theme="dark"] #promotions .slbn-premium-partner-copy h2,
html[data-theme="dark"] #promotions .slbn-premium-partner-benefits strong{color:#f2f7ff!important}
html[data-theme="dark"] #about .slbn-premium-head p,
html[data-theme="dark"] #about .slbn-premium-lead p,
html[data-theme="dark"] #about .slbn-premium-feature-list p,
html[data-theme="dark"] #about .slbn-premium-small,
html[data-theme="dark"] #contact .slbn-premium-head p,
html[data-theme="dark"] #contact .slbn-premium-contact-card p,
html[data-theme="dark"] #promotions .slbn-premium-partner-copy p,
html[data-theme="dark"] #about .slbn-premium-note,
html[data-theme="dark"] #contact .slbn-premium-note{color:#b5c5d9!important}
html[data-theme="dark"] #about .slbn-premium-eyebrow,
html[data-theme="dark"] #contact .slbn-premium-eyebrow,
html[data-theme="dark"] #promotions .slbn-premium-eyebrow,
html[data-theme="dark"] #promotions .slbn-premium-partner-benefits span{color:#7bcbfa!important}
html[data-theme="dark"] #contact .slbn-premium-contact-card a{color:#83d4ff!important}
html[data-theme="dark"] #about .slbn-premium-lead,
html[data-theme="dark"] #about .slbn-premium-feature-list article,
html[data-theme="dark"] #contact .slbn-premium-contact-card,
html[data-theme="dark"] #promotions.slbn-full-partner{
 background:linear-gradient(140deg,#1b3048,#192c43)!important;
 border-color:#36516d!important;box-shadow:0 7px 23px rgba(0,0,0,.13)!important;
}
html[data-theme="dark"] #promotions .slbn-premium-partner-benefits>div{
 background:#223a53!important;border-color:#405b76!important;
}
html[data-theme="dark"] #about .slbn-premium-glyph,
html[data-theme="dark"] #about .slbn-premium-feature-icon,
html[data-theme="dark"] #contact .slbn-premium-feature-icon{
 background:#254865!important;color:#91d8ff!important;
}
html[data-theme="dark"] .category-filters .service-card,
html[data-theme="dark"] #faresList .fare-tile{
 background:#192c43!important;border-color:#36516d!important;
}
html[data-theme="dark"] #faresList .fare-tile .fare-icon{background:#254865!important}
@media(max-width:900px){
 .category-filters,#faresList{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 .category-filters,#faresList{grid-template-columns:1fr!important;gap:9px!important}
 .category-filters .service-card,#faresList .fare-tile{min-height:65px!important;padding:11px 13px!important}
}
@media(prefers-reduced-motion:reduce){
 .category-filters .service-card,#faresList .fare-tile{transition:none!important}
}



/* Scoped enhancements only; original theme and route/search CSS are unchanged. */
#slbn21-swap{width:48px;min-width:48px;height:48px;border-radius:50%!important;display:inline-grid;place-items:center;font-size:24px;transition:transform .22s ease,box-shadow .22s ease}
#slbn21-swap:hover{transform:rotate(180deg);box-shadow:0 6px 18px #163c6130}
#slbn21-find{min-height:48px;background:linear-gradient(115deg,#1268ac,#087fc8)!important;border-color:#1268ac!important;color:white!important;box-shadow:0 5px 14px #087fc82b;transition:transform .18s ease}
#slbn21-find:hover{transform:translateY(-2px)}
#slbn-stable-clear{min-height:48px;padding:10px 16px;border-radius:12px;border:1px solid #a9bdd0;background:transparent;color:inherit;font-weight:700;cursor:pointer}
#slbn-stable-clear:hover{background:#9bb6cf24}
@media(prefers-reduced-motion:reduce){#slbn21-swap,#slbn21-find{transition:none!important}}



/* Single container; original app.js search and slbn21.js planner stay separate. */
.slbn-combined-search{max-width:1180px;margin:22px auto 12px;padding:clamp(18px,3vw,34px);background:var(--surface,#fff);border:1px solid var(--line,#dceaf5);border-radius:24px;box-shadow:0 14px 45px #163c6110}
.slbn-combined-title h2{margin:8px 0 3px;color:var(--navy);font-size:clamp(1.4rem,2.8vw,2rem);letter-spacing:-.025em}
.slbn-combined-title p{margin:0 0 22px;color:var(--muted)}
.slbn-quick-search,.slbn-combined-search #slbn21-tools{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface-soft,#f3f9fe);margin:0 0 14px}
.slbn-quick-search h3{margin:0 0 12px;color:var(--navy);font-size:1.06rem}
.slbn-quick-search .search{margin:0;max-width:none;width:100%;grid-template-columns:minmax(0,1fr) auto}
.slbn-combined-search #slbn21-tools .slbn21-heading .section-title{margin-top:6px}
.slbn-combined-search .slbn21-planner{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:12px;align-items:end;margin:14px 0 12px}
.slbn-combined-search #slbn21-from,.slbn-combined-search #slbn21-to{min-height:48px}
.slbn-combined-search #slbn21-swap{grid-column:2;grid-row:1;width:48px;height:48px;min-width:48px;align-self:end}
.slbn-combined-search #slbn21-find,.slbn-combined-search #slbn-stable-clear{grid-row:2;min-height:46px;width:auto}
.slbn-combined-search #slbn21-find{grid-column:3;justify-self:end}
.slbn-combined-search #slbn-stable-clear{grid-column:2;justify-self:center;white-space:nowrap}
.slbn-combined-search .slbn21-filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.slbn-combined-search .slbn21-filterbar select{width:min(220px,100%)}
.nav{align-items:center;min-height:72px}
.nav .brand{flex-shrink:0;align-items:center}
.nav nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.6vw,22px)}
.nav nav a{white-space:nowrap}
#livePromotionsSection{margin-top:14px}
#livePromotions .promo-slide .live-ad img{max-height:none;height:auto;object-fit:contain}
html[data-theme="dark"] .slbn-combined-search{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .slbn-quick-search,html[data-theme="dark"] .slbn-combined-search #slbn21-tools{background:var(--surface-soft);border-color:var(--line)}
@media(max-width:800px){.nav{flex-wrap:wrap}.nav nav{flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:650px){
.slbn-combined-search{margin:12px 0;padding:12px}
.slbn-quick-search,.slbn-combined-search #slbn21-tools{padding:13px}
.slbn-combined-search .slbn21-planner{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:8px}
.slbn-combined-search .slbn21-field:first-child{grid-column:1/4;grid-row:1}
.slbn-combined-search .slbn21-field:nth-of-type(2){grid-column:1/4;grid-row:3}
.slbn-combined-search #slbn21-swap{grid-column:2;grid-row:2;width:44px;height:44px;min-width:44px;justify-self:center}
.slbn-combined-search #slbn21-find{grid-column:2/4;grid-row:4;justify-self:stretch}
.slbn-combined-search #slbn-stable-clear{grid-column:1;grid-row:4;justify-self:stretch}
.slbn-quick-search .search{grid-template-columns:1fr}
}

/* SLBN 2.5: premium compact journey card and explicit route number */
#results .slbn24-journey-card{border:1px solid var(--line)!important;border-radius:15px!important;background:var(--white,#fff)!important;overflow:hidden;margin:9px 0!important;box-shadow:0 3px 15px rgba(16,52,89,.045)!important;transition:border-color .2s,box-shadow .2s!important}
#results .slbn24-journey-card:hover{border-color:#91bddd!important;box-shadow:0 9px 25px rgba(16,52,89,.09)!important}
#results .slbn24-journey-card>summary{display:flex!important;align-items:stretch!important;gap:18px!important;padding:17px 19px!important;list-style:none!important}
#results .slbn24-journey-card>summary::-webkit-details-marker{display:none}
#results .slbn24-card-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:11px}
#results .slbn24-card-head{display:flex;flex-direction:column;gap:6px;min-width:0}
#results .slbn24-bus-name{font-size:1rem!important;line-height:1.3;color:var(--navy);font-weight:800;overflow-wrap:anywhere}
#results .slbn24-card-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#results .slbn24-route-badge{font-size:.72rem;font-weight:800;letter-spacing:.01em;padding:3px 9px;border-radius:6px;background:#e9f3ff;color:#165d98;border:1px solid #c9e2f9}
#results .slbn24-service-badge{margin:0!important;font-size:.69rem!important;padding:4px 9px!important}
#results .slbn24-verified{font-size:.7rem;font-weight:800;color:#13815a;white-space:nowrap}
#results .slbn24-trip{display:flex;align-items:center;gap:13px;max-width:530px}
#results .slbn24-endpoint{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}
#results .slbn24-endpoint small,#results .slbn24-schedule small,#results .slbn24-fare small{font-size:.64rem;letter-spacing:.075em;font-weight:800;color:var(--muted)}
#results .slbn24-endpoint strong{font-size:1.02rem;line-height:1.25;font-weight:800;color:var(--navy);overflow-wrap:anywhere}
#results .slbn24-endpoint-to{text-align:right}
#results .slbn24-trip-line{display:flex;align-items:center;gap:5px;color:var(--blue);flex:0 1 95px;font-weight:900}
#results .slbn24-trip-line span{height:1px;background:var(--line);flex:1}
#results .slbn24-card-footer{display:flex;flex-wrap:wrap;gap:9px 20px;align-items:center}
#results .slbn24-schedule{display:flex;flex-direction:column;gap:1px}
#results .slbn24-schedule strong{font-size:.82rem;color:var(--ink);font-weight:800}
#results .slbn24-stop-label{font-size:.74rem;color:var(--muted);font-weight:700}
#results .slbn24-fare{flex:0 0 auto;min-width:112px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right;border-left:1px solid var(--line);padding-left:17px;gap:3px}
#results .slbn24-fare strong{font-size:1.08rem;font-weight:900;color:var(--blue);white-space:nowrap}
#results .slbn24-expand-hint{font-size:.72rem;color:var(--muted);font-weight:750;margin-top:7px}
#results .slbn24-journey-card[open] .slbn24-expand-hint span{display:inline-block;transform:rotate(180deg)}
#results .slbn24-card-details{padding:16px 19px 20px!important;background:transparent!important;border-top:1px solid var(--line)!important}
#results .slbn24-details-heading{font-size:.78rem;letter-spacing:.04em;font-weight:900;color:var(--navy);margin:15px 0 7px}
#results .slbn24-card-details .times{margin:0}
#results .slbn24-card-details .route-meta{gap:8px 17px}
html[data-theme="dark"] #results .slbn24-journey-card{background:#14273e!important;border-color:#35506a!important}
html[data-theme="dark"] #results .slbn24-bus-name,html[data-theme="dark"] #results .slbn24-endpoint strong,html[data-theme="dark"] #results .slbn24-details-heading{color:#f0f7ff!important}
html[data-theme="dark"] #results .slbn24-schedule strong{color:#dceafa!important}
html[data-theme="dark"] #results .slbn24-route-badge{background:#173b5a;color:#a8d9ff;border-color:#315b7a}
html[data-theme="dark"] #results .slbn24-verified{color:#79e5b5}
html[data-theme="dark"] #results .slbn24-fare strong{color:#82caff}
@media(max-width:600px){#results .slbn24-journey-card>summary{padding:13px!important;gap:10px!important}#results .slbn24-fare{min-width:83px;padding-left:9px}#results .slbn24-fare strong{font-size:.91rem}#results .slbn24-bus-name{font-size:.91rem!important}#results .slbn24-endpoint strong{font-size:.91rem}#results .slbn24-trip{gap:6px}#results .slbn24-trip-line{flex-basis:45px}#results .slbn24-card-footer{gap:7px 12px}#results .slbn24-schedule strong{font-size:.75rem}#results .slbn24-card-details{padding:12px!important}}
@media(prefers-reduced-motion:reduce){#results .slbn24-journey-card{transition:none!important}}

/* SLBN 2.6: cohesive journey details, responsive spacing and interaction refinements */
#results .slbn24-card-details{padding:0 19px 18px!important}
#results .slbn26-journey-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 -19px 12px;padding:13px 19px;border-bottom:1px solid var(--line)}
#results .slbn26-journey-meta>div{display:flex;flex-direction:column;gap:3px;min-width:0}
#results .slbn26-journey-meta>div+div{padding-left:18px;border-left:1px solid var(--line)}
#results .slbn26-journey-meta small{font-size:.69rem;letter-spacing:.025em;color:var(--muted);font-weight:700}
#results .slbn26-journey-meta strong{font-size:.89rem;color:var(--navy);font-weight:800}
#results .slbn24-card-details .slbn24-details-heading{margin:13px 0 7px}
#results .slbn24-card-details .slbn23-path{margin-top:10px}
#results .slbn24-card-details .route-meta{margin:7px 0}
#results .slbn24-card-details .booking-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px}
#results .slbn24-journey-card:focus-within{outline:2px solid #2985c9;outline-offset:2px}
#results .slbn24-journey-card>summary{cursor:pointer}
#results .slbn24-journey-card>summary:focus-visible{outline:3px solid #eab308;outline-offset:-3px}
#results .slbn24-journey-card[open] .slbn24-card-details{animation:slbn26-reveal .2s ease-out}
@keyframes slbn26-reveal{from{opacity:.45;transform:translateY(-4px)}to{opacity:1;transform:none}}
html[data-theme="dark"] #results .slbn26-journey-meta strong{color:#f0f7ff}
@media(max-width:600px){#results .slbn24-card-details{padding:0 12px 14px!important}#results .slbn26-journey-meta{margin:0 -12px 10px;padding:12px;gap:10px}#results .slbn26-journey-meta>div+div{padding-left:10px}#results .slbn24-card-details .booking-link{max-width:100%;box-sizing:border-box}}
@media(max-width:380px){#results .slbn24-journey-card>summary{flex-wrap:wrap!important}#results .slbn24-fare{border-left:0!important;border-top:1px solid var(--line);padding:9px 0 0!important;width:100%;min-width:0!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important}#results .slbn24-expand-hint{margin-top:0!important}#results .slbn24-trip-line{flex-basis:25px}#results .slbn24-card-footer{gap:8px}}
@media(prefers-reduced-motion:reduce){#results .slbn24-journey-card[open] .slbn24-card-details{animation:none!important}}


/* SLBN 2.7: compact navigation and lightweight schematic hero map. */
.nav{min-height:70px;padding-top:8px;padding-bottom:8px;gap:16px}.brand img{width:72px;height:45px}.nav nav{gap:clamp(10px,1.5vw,20px);align-items:center}.nav nav a{white-space:nowrap}
.hero,html[data-theme="dark"] .hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:clamp(18px,3vw,40px);padding:clamp(24px,4vw,46px)!important;background-image:radial-gradient(circle at 80% 12%,rgba(67,151,220,.22),transparent 45%),linear-gradient(115deg,#102840,#143d62)!important;min-height:460px}
.hero::before{opacity:.35}.slbn27-hero-copy{min-width:0;position:relative;z-index:1}.hero .slbn27-hero-copy h1{font-size:clamp(2.45rem,4.2vw,4rem);max-width:640px;color:#f5fbff!important}.hero .slbn27-hero-copy h1 span{color:#75cfff!important}.hero .slbn27-hero-copy p{font-size:clamp(.91rem,1.25vw,1.02rem);max-width:510px;line-height:1.8}.hero .promo-hero-actions{margin-top:25px}.hero .promo-hero-actions a{min-height:44px}
.slbn27-map-stage{position:relative;z-index:1;min-width:0;isolation:isolate;background:radial-gradient(ellipse at 52% 48%,rgba(72,151,211,.22),transparent 65%),linear-gradient(160deg,rgba(255,255,255,.105),rgba(255,255,255,.025));border:1px solid rgba(183,226,255,.24);border-radius:24px;box-shadow:0 22px 60px rgba(2,15,32,.23),inset 0 1px 0 rgba(255,255,255,.1);padding:16px 16px 12px;overflow:hidden;backdrop-filter:blur(8px)}
.slbn27-map-top,.slbn27-map-footer{display:flex;align-items:center;gap:9px;color:#d9edff;font-size:10px;font-weight:800;letter-spacing:.11em}.slbn27-map-tag{margin-left:auto;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 8px;letter-spacing:0;font-weight:700;color:#fff}.slbn27-map-spark{width:8px;height:8px;background:#ff5e70;border-radius:50%;box-shadow:0 0 0 5px rgba(255,94,112,.14),0 0 17px #ff5e70}.slbn27-map-svg{display:block;width:100%;height:auto;max-height:350px;margin:auto}.slbn27-city-label rect{fill:#173f65;stroke:#8dc2e5;stroke-opacity:.45}.slbn27-city-label text{font:700 13px 'DM Sans',sans-serif;fill:#fff}.slbn27-map-footer{justify-content:space-between;letter-spacing:0;font-size:10px;color:#bdd8ed;font-weight:600}.slbn27-map-footer i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff6476;margin-right:5px}.slbn27-route-line{animation:slbn27-dash 12s linear infinite}.slbn27-route-alt{animation-duration:17s}.slbn27-pin{transform-box:fill-box;transform-origin:center;animation:slbn27-pulse 3.6s ease-in-out infinite}.slbn27-pin-delayed{animation-delay:1.2s}@keyframes slbn27-dash{to{stroke-dashoffset:-170}}@keyframes slbn27-pulse{50%{opacity:.65;transform:scale(1.14)}}
.slbn-combined-search{position:relative;z-index:2}.slbn-combined-title h2{letter-spacing:-.035em}
@media(max-width:900px){.hero,html[data-theme="dark"] .hero{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);gap:14px;min-height:0}.slbn27-map-stage{padding:10px}.slbn27-map-svg{max-height:300px}.nav nav{gap:10px}.nav nav a{font-size:.81rem}}
@media(max-width:680px){.hero,html[data-theme="dark"] .hero{grid-template-columns:1fr;gap:16px;padding:24px 18px!important}.hero .slbn27-hero-copy h1{max-width:100%;font-size:clamp(2.25rem,9vw,3.2rem)}.slbn27-map-stage{max-width:440px;width:100%;margin:0 auto}.slbn27-map-svg{max-height:240px}.slbn27-map-top{font-size:9px}.nav{min-height:0}.nav nav{gap:10px}.nav nav a{font-size:.78rem}}
@media(max-width:420px){.slbn27-map-stage{padding:10px}.slbn27-map-svg{max-height:205px}.slbn27-map-footer{font-size:9px}.hero .promo-hero-actions a{width:auto;flex:1;min-width:135px;padding:11px 8px!important;font-size:.78rem}}
@media(prefers-reduced-motion:reduce){.slbn27-route-line,.slbn27-pin{animation:none!important}}

/* SLBN 2.7.1: map-only refinement. No global or search styling changed. */
.slbn27-map-stage{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;border-radius:0!important;overflow:visible!important;display:flex;align-items:center;justify-content:center;min-height:360px}
.slbn27-map-svg{width:100%;height:auto;max-height:390px;filter:drop-shadow(0 8px 14px rgba(22,73,110,.12));overflow:visible}
.slbn-map-route{fill:none;stroke-width:2.6;stroke-dasharray:6 8;stroke-linecap:round;animation:slbn-map-travel 17s linear infinite}
.slbn-map-route.slbn-map-red{stroke-width:2.4;animation-duration:21s}
.slbn-map-halo{opacity:.16;transform-box:fill-box;transform-origin:center;animation:slbn-map-breathe 4.5s ease-in-out infinite}
.slbn-map-label rect{fill:#173f65;stroke:#b5d9f0;stroke-width:.6}
.slbn-map-label text{fill:#fff;font:700 12px 'DM Sans',sans-serif}
@keyframes slbn-map-travel{to{stroke-dashoffset:-168}}
@keyframes slbn-map-breathe{50%{opacity:.08;transform:scale(1.25)}}
html[data-theme="dark"] .slbn27-map-svg{filter:drop-shadow(0 7px 14px rgba(0,0,0,.18))}
@media(max-width:900px){.slbn27-map-stage{min-height:260px}.slbn27-map-svg{max-height:310px}}
@media(max-width:680px){.slbn27-map-stage{min-height:0;max-width:360px}.slbn27-map-svg{max-height:235px}}
@media(prefers-reduced-motion:reduce){.slbn-map-route,.slbn-map-halo{animation:none!important}}

/* SLBN 2.7.2 — map-only SVG refinement */
.slbn27-map-stage{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;overflow:visible!important;display:flex;justify-content:center;align-items:center;min-height:370px}
.slbn27-map-svg{display:block;width:100%;max-width:440px;max-height:440px;height:auto;overflow:visible;filter:none!important}
.slbn-svg-route{animation:slbn-svg-travel 13s linear infinite}
.slbn-svg-pin>circle:first-child{transform-box:fill-box;transform-origin:center;animation:slbn-svg-glow 3.6s ease-in-out infinite}
@keyframes slbn-svg-travel{to{stroke-dashoffset:-104}}
@keyframes slbn-svg-glow{50%{opacity:.27;transform:scale(1.35)}}
@media(max-width:680px){.slbn27-map-stage{min-height:0}.slbn27-map-svg{max-height:280px}}
@media(prefers-reduced-motion:reduce){.slbn-svg-route,.slbn-svg-pin>circle:first-child{animation:none!important}}

/* SLBN 2.7.3: map-only refinement; no other component restyling */
.slbn27-map-stage.slbn-real-map-stage{position:relative!important;display:block!important;min-height:0!important;width:100%;height:440px;padding:7px!important;border-radius:22px!important;overflow:hidden!important;background:#eaf3e8!important;border:1px solid rgba(33,91,120,.15)!important;box-shadow:0 14px 34px rgba(15,58,94,.10)!important;isolation:isolate}
.slbn-real-map{width:100%;height:100%;border-radius:16px;overflow:hidden;background:#eaf3e8}
.slbn-real-map .leaflet-container{background:#dbeefa}
.slbn-real-map .leaflet-control-attribution{font:10px/1.3 system-ui,sans-serif!important;background:rgba(255,255,255,.9)!important;color:#345!important;padding:3px 6px!important;border-radius:6px 0 0 0}
.slbn-real-map .leaflet-control-attribution a{color:#145aa0!important}
.slbn-map-caption{position:absolute;z-index:450;left:18px;top:18px;background:rgba(255,255,255,.94);border:1px solid rgba(25,65,102,.08);box-shadow:0 4px 16px rgba(20,55,85,.08);padding:9px 12px;border-radius:12px;color:#173b61;font-size:10px;font-weight:850;letter-spacing:.09em;pointer-events:none}
.slbn-map-caption-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#d84a50;margin-right:5px}
.slbn-map-caption-note{display:block;margin:4px 0 0 12px;font-size:10px;letter-spacing:0;color:#526b81;font-weight:500}
html[data-theme="dark"] .slbn27-map-stage.slbn-real-map-stage{border-color:rgba(180,206,231,.22)!important;background:#18324b!important}
@media(max-width:900px){.slbn27-map-stage.slbn-real-map-stage{height:355px}}
@media(max-width:680px){.slbn27-map-stage.slbn-real-map-stage{height:300px;max-width:440px!important}}
@media(max-width:420px){.slbn27-map-stage.slbn-real-map-stage{height:265px}}

/* SLBN 2.7.4: iconic landmarks artwork replaces map, without changing the search UI. */
.hero .slbn-iconic-hero-art{position:relative;align-self:center;min-width:0;width:100%;height:clamp(270px,32vw,420px);border-radius:24px;overflow:hidden;isolation:isolate;background:#e9f6ff;box-shadow:0 15px 35px rgba(14,76,127,.12)}
.hero .slbn-iconic-hero-art img{width:100%;height:100%;display:block;object-fit:cover;object-position:53% center;transition:transform .7s cubic-bezier(.2,.7,.2,1);}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.hero .slbn-iconic-hero-art:hover img{transform:scale(1.035)}}
@media(max-width:900px){.hero .slbn-iconic-hero-art{height:clamp(235px,45vw,360px)}}
@media(max-width:680px){.hero .slbn-iconic-hero-art{height:clamp(190px,48vw,290px);border-radius:18px}.hero .slbn-iconic-hero-art img{object-position:center}}
@media(prefers-reduced-motion:reduce){.hero .slbn-iconic-hero-art img{transition:none}}
html[data-theme="dark"] .hero .slbn-iconic-hero-art{background:#153e61;box-shadow:0 15px 35px rgba(0,0,0,.18)}

/* SLBN 2.7.5 — full-bleed landmark artwork, restrained editorial treatment. */
.hero,html[data-theme="dark"] .hero{
  position:relative;isolation:isolate;overflow:hidden!important;
  min-height:clamp(440px,39vw,570px);grid-template-columns:minmax(0,1fr);
  background:#eef8ff!important;
}
.hero::before{display:none!important}
.hero .slbn-iconic-hero-art{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  border-radius:inherit;box-shadow:none!important;overflow:hidden;
  background:#e9f5ff;z-index:0;pointer-events:none;
}
.hero .slbn-iconic-hero-art img{
  width:100%;height:100%;object-fit:cover;object-position:center 53%;
  opacity:.85;filter:saturate(.80) contrast(.94) brightness(1.045);
  transform:none!important;transition:none!important;
}
.hero .slbn-iconic-hero-art::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,
    rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 19%,
    rgba(248,252,255,.91) 32%,rgba(245,251,255,.67) 42%,
    rgba(238,248,255,.20) 58%,rgba(238,248,255,.04) 83%,
    rgba(235,247,255,.15) 100%),
    linear-gradient(0deg,rgba(235,248,255,.50),transparent 25%);
}
.hero .slbn27-hero-copy{position:relative;z-index:2;max-width:min(560px,53%);padding-block:clamp(10px,2vw,28px)}
html:not([data-theme="dark"]) .hero .slbn27-hero-copy h1{color:#173b5c!important}
html:not([data-theme="dark"]) .hero .slbn27-hero-copy h1 span{color:#087dc4!important}
html[data-theme="dark"] .hero{background:#10253b!important}
html[data-theme="dark"] .hero .slbn-iconic-hero-art{background:#173650!important}
html[data-theme="dark"] .hero .slbn-iconic-hero-art img{opacity:.68;filter:saturate(.70) contrast(.92) brightness(.76)}
html[data-theme="dark"] .hero .slbn-iconic-hero-art::after{
  background:linear-gradient(90deg,rgba(13,29,47,.99) 0%,rgba(13,29,47,.96) 23%,rgba(15,34,54,.87) 36%,rgba(15,34,54,.47) 52%,rgba(15,34,54,.08) 80%),linear-gradient(0deg,rgba(13,29,47,.30),transparent 30%);
}
@media(max-width:900px){.hero,html[data-theme="dark"] .hero{min-height:430px}.hero .slbn27-hero-copy{max-width:65%}}
@media(max-width:680px){
 .hero,html[data-theme="dark"] .hero{min-height:490px;display:flex;align-items:flex-start;padding:26px 20px 180px!important}
 .hero .slbn27-hero-copy{max-width:100%;padding:0}
 .hero .slbn-iconic-hero-art img{object-position:60% center}
 .hero .slbn-iconic-hero-art::after{background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.98) 26%,rgba(249,253,255,.90) 43%,rgba(242,250,255,.46) 65%,rgba(237,249,255,.08) 100%)}
 html[data-theme="dark"] .hero .slbn-iconic-hero-art::after{background:linear-gradient(180deg,rgba(13,29,47,.99) 0%,rgba(13,29,47,.97) 31%,rgba(13,29,47,.77) 53%,rgba(13,29,47,.12) 100%)}
}

/* SLBN 2.7.6: intentionally image-free hero. No landmark, map or decorative logo background. */
.hero,html:not([data-theme="dark"]) .hero{
 display:flex!important;align-items:center!important;min-height:0!important;
 padding:clamp(26px,4vw,48px)!important;
 background:#f5faff!important;background-image:none!important;
}
.hero .slbn27-hero-copy{max-width:780px!important;width:100%;padding:0!important}
.hero .slbn27-hero-copy p{max-width:680px}
.hero .slbn-iconic-hero-art,.hero .slbn27-map-stage{display:none!important}
html[data-theme="dark"] .hero{
 display:flex!important;align-items:center!important;min-height:0!important;
 padding:clamp(26px,4vw,48px)!important;
 background:#142b43!important;background-image:none!important;
}
@media(max-width:680px){
 .hero,html[data-theme="dark"] .hero{min-height:0!important;padding:26px 20px!important}
 .hero .slbn27-hero-copy{max-width:100%!important}
}

/* SLBN 2.7.7: ensure new journey-card markup is not compressed by legacy route-summary rules. */
#results .compact-departures>.slbn24-journey-card>summary,
#results .operator-result-group .bus-result-grid>.slbn24-journey-card>summary{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(105px,auto)!important;align-items:center!important;gap:16px!important;padding:16px 18px!important;height:auto!important;min-height:0!important}
#results .compact-departures .slbn24-card-main{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;flex:1 1 auto!important}
#results .compact-departures .slbn24-card-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important}
#results .compact-departures .slbn24-card-badges{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important}
#results .compact-departures .slbn24-trip{display:flex!important;gap:12px!important;align-items:center!important;min-width:0!important;max-width:100%!important}
#results .compact-departures .slbn24-endpoint{display:flex!important;flex-direction:column!important;min-width:0!important;flex:1!important;gap:3px!important}
#results .compact-departures .slbn24-endpoint-to{text-align:right!important}
#results .compact-departures .slbn24-trip-line{display:flex!important;flex:0 1 72px!important;align-items:center!important;gap:5px!important}
#results .compact-departures .slbn24-card-footer{display:flex!important;flex-wrap:wrap!important;gap:10px 18px!important;align-items:center!important}
#results .compact-departures .slbn24-schedule{display:flex!important;flex-direction:column!important;gap:3px!important}
#results .compact-departures .slbn24-fare{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:5px!important;min-width:105px!important;white-space:normal!important;margin:0!important;border-left:1px solid var(--line)!important;padding-left:14px!important;text-align:right!important}
#results .compact-departures .slbn24-fare strong{white-space:nowrap!important;overflow-wrap:normal!important}
#results .compact-departures .slbn24-expand-hint{display:block!important;white-space:nowrap!important}
@media(max-width:640px){#results .compact-departures>.slbn24-journey-card>summary{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:14px!important}#results .compact-departures .slbn24-fare{width:100%!important;min-width:0!important;border-left:0!important;border-top:1px solid var(--line)!important;padding:10px 0 0!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;text-align:left!important}#results .compact-departures .slbn24-trip-line{flex-basis:32px!important}}

/* SLBN 2.9.5: SVG location pin for planner suggestions. */
.slbn21-location-options .slbn21-option-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;color:#1682d2!important;line-height:1!important}
.slbn21-location-options .slbn21-option-icon svg{display:block;width:17px;height:17px;flex:none}
.slbn21-location-options button{justify-content:flex-start!important;text-align:left!important;gap:10px!important}
html[data-theme="dark"] .slbn21-location-options .slbn21-option-icon{color:#69b9ff!important}

/* SLBN 2.9.11.4: clearly label active paid Bus Boost operator groups. */
#results .slbn-boosted-operator{border-left:3px solid #d7a947!important}
#results .slbn-operator-featured{flex:0 0 auto;white-space:nowrap;font-size:.73rem;font-weight:800;padding:4px 9px;border-radius:6px;background:#fff0bc;color:#684a07}
#results .compact-departures .slbn24-schedule strong{font-weight:800}
@media(max-width:600px){#results .slbn-operator-featured{font-size:.68rem;padding:3px 7px}}

/* SLBN 2.9.11.5 — boarding location label; no boarding-time inference. */
.slbn24-journey-card .slbn-boarding-label{display:inline-flex;align-items:center;gap:5px;width:fit-content;margin:4px 0 3px;color:#8bc9f6;font-size:.78rem;font-weight:700;line-height:1.4}
.slbn24-journey-card .slbn-boarding-label svg{flex:none}
[data-theme="light"] .slbn24-journey-card .slbn-boarding-label{color:#16649a}

/* SLBN 2.9.12 multiple departure schedule chips */
.slbn-trip-chip{display:inline-flex;flex-direction:column;gap:2px;margin:3px 5px 3px 0;padding:6px 9px;border-radius:8px;border:1px solid var(--line,#d9e2ee);background:var(--surface,#f7faff);vertical-align:middle}.slbn-trip-chip strong{font-size:.85rem}.slbn-trip-chip small{font-size:.69rem;opacity:.8}

/* Route-first directory: show compact routes; reveal existing operator and trip cards on tap. */
#results .slbn-route-first{margin-bottom:12px;overflow:hidden}
#results .slbn-route-first>.slbn-route-first-trigger{display:flex;align-items:center;gap:13px;cursor:pointer;list-style:none;margin:0;padding:17px 20px;min-height:84px;user-select:none}
#results .slbn-route-first>.slbn-route-first-trigger::-webkit-details-marker{display:none}
#results .slbn-route-first>.slbn-route-first-trigger::marker{content:""}
#results .slbn-route-first-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#e7f1ff;color:#205eaa;font-size:19px}
#results .slbn-route-first-copy{display:grid;gap:3px;min-width:0;flex:1}
#results .slbn-route-first-name{font-size:clamp(1.04rem,2vw,1.23rem);line-height:1.35;color:#14385e;overflow-wrap:anywhere}
#results .slbn-route-first-chevron{font-size:24px;transition:transform .3s ease;color:#446788}
#results .slbn-route-first[open]>.slbn-route-first-trigger .slbn-route-first-chevron{transform:rotate(180deg)}
#results .slbn-route-first[open]>.route-directory-operators{border-top:1px solid #e0ebf5;animation:slbn-route-open .38s cubic-bezier(.2,.7,.2,1) both}
@keyframes slbn-route-open{from{opacity:.45;transform:translateY(-7px)}to{opacity:1;transform:none}}
#results .slbn-route-first>.slbn-route-first-trigger:focus-visible{outline:3px solid #4285d4;outline-offset:-3px}
html[data-theme="dark"] #results .slbn-route-first-name{color:#f1f7ff}
html[data-theme="dark"] #results .slbn-route-first-icon{background:#243e5b;color:#b7d7ff}
html[data-theme="dark"] #results .slbn-route-first[open]>.route-directory-operators{border-color:#304b68}
@media(max-width:600px){#results .slbn-route-first>.slbn-route-first-trigger{padding:13px;gap:10px;min-height:76px}#results .slbn-route-first-icon{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){#results .slbn-route-first-chevron{transition:none}#results .slbn-route-first[open]>.route-directory-operators{animation:none}}

/* SLBN route-first spacing refinement: compact vertical rhythm only. */
#results.list:has(> .slbn-route-first){row-gap:0!important;align-content:start;}
#results > .slbn-route-first{margin-top:0!important;margin-bottom:16px!important;}
#results > .slbn-route-first:last-child{margin-bottom:0!important;}
@media(max-width:600px){
 #results > .slbn-route-first{margin-bottom:11px!important;}
 #results .slbn-route-first > .slbn-route-first-trigger{padding:12px 13px;min-height:72px;}
}

/* Connected Route: refined inline SVG, no change to card dimensions. */
#results .slbn-route-first-icon svg{display:block;width:21px;height:21px;flex:none;transition:transform .24s cubic-bezier(.2,.7,.2,1)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){#results .slbn-route-first-trigger:hover .slbn-route-first-icon svg{transform:scale(1.09)}}
@media(max-width:600px){#results .slbn-route-first-icon svg{width:19px;height:19px}}
