/* Customer search and result flow, v447. */
body.mybus-customer-reference #ticketView .hero{min-height:260px!important;padding-block:34px 96px!important}
body.mybus-customer-reference #ticketView .hero-copy>p{max-width:720px}
body.mybus-customer-reference #ticketView .shell,
body.mybus-customer-reference #ticketView .booking{overflow:visible!important}
body.mybus-customer-reference #ticketView .booking{z-index:25}
body.mybus-customer-reference #ticketView .route-combobox{position:relative;z-index:auto}
body.mybus-customer-reference #ticketView .route-combobox:focus-within{z-index:40}
body.mybus-customer-reference .route-picker-panel-v152{z-index:1000!important;width:clamp(330px,34vw,460px)!important;max-width:calc(100vw - 28px);overscroll-behavior:contain}
body.mybus-customer-reference .route-picker-panel-v152.opens-upward{top:auto!important;bottom:calc(100% + 9px)}
body.mybus-customer-reference .route-picker-option-v152{grid-template-columns:34px minmax(0,1fr) auto!important}
body.mybus-customer-reference .route-picker-option-v152 .route-place-v152 small{white-space:normal}
body.mybus-customer-reference .route-picker-option-v152 .route-place-v152 small+small{margin-top:2px;color:#718077}
body.mybus-customer-reference .route-picker-option-v152 em{display:grid;gap:3px;text-align:center}
body.mybus-customer-reference .route-picker-option-v152 em small{font:inherit;color:inherit}
body.mybus-customer-reference .search-status-v447{grid-column:1/-1;min-height:20px;margin:12px 2px 0;color:#5c6f64;font-size:12px}
body.mybus-customer-reference .search-status-v447[data-state="error"]{color:#a33a32;font-weight:750}
body.mybus-customer-reference .search-status-v447[data-state="ready"]{color:#087452}
body.mybus-customer-reference .search-status-v447[data-state="empty"]{padding:10px 12px;border:1px solid #ead6a4;border-radius:10px;background:#fff8e8;color:#765714;font-weight:750}
body.mybus-customer-reference .booking-trust-v447{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px;padding-top:14px;border-top:1px solid #e5ede8;color:#526f60;font-size:11px;font-weight:750}
body.mybus-customer-reference .booking-trust-v447 span::before{content:"✓";margin-right:6px;color:#079267}
body.mybus-customer-reference #searchForm.is-roundtrip{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) minmax(135px,.66fr) minmax(135px,.66fr) minmax(110px,.5fr) minmax(170px,.72fr)!important}
body.mybus-customer-reference #searchForm.is-roundtrip .search-btn{grid-column:auto!important;width:100%!important;margin-top:23px!important}
body.mybus-customer-reference #ticketView.has-search-results :is(.customer-capabilities,.customer-faq,#campaignDiscovery,#carrierDiscovery,#featuredRoutes,#popularCities){display:none!important}
body.mybus-customer-reference #ticketView.has-search-results .results{padding-top:34px}
body.mybus-customer-reference .route-picker-option-v152 em.unavailable{max-width:96px;border-radius:8px;background:#f2f5f3;color:#68766f;white-space:normal}
body.mybus-customer-reference .customer-account-menu-v448{position:relative}
body.mybus-customer-reference .customer-account-menu-v448>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 10px;border:1px solid #d7ded9;border-radius:10px;background:#fff;color:#17211c;cursor:pointer;list-style:none}
body.mybus-customer-reference .customer-account-menu-v448>summary::-webkit-details-marker{display:none}
body.mybus-customer-reference .customer-account-menu-v448>summary b{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.mybus-customer-reference .customer-account-avatar-v448{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e4f3ed;color:#07835d;font-size:8px}
body.mybus-customer-reference .customer-account-popover-v448{position:absolute;z-index:120;top:calc(100% + 7px);right:0;display:grid;min-width:170px;padding:7px;border:1px solid #dce7e1;border-radius:12px;background:#fff;box-shadow:0 18px 38px rgba(6,38,29,.16)}
body.mybus-customer-reference .customer-account-popover-v448 .nav-account-btn{width:100%;border:0!important;text-align:left}
body.mybus-customer-reference .customer-call-v448{display:flex;align-items:center;gap:6px}
body.mybus-customer-reference #customerHelpToolsV448{display:grid;gap:28px;margin-block:28px}
body.mybus-customer-reference #customerHelpToolsV448 .customer-service-center{width:100%;margin:0}
body.mybus-customer-reference .customer-branch-directory{width:100%;margin:0;padding:clamp(24px,4vw,48px);border:1px solid #dbe7e1;border-radius:22px;background:#fff}
body.mybus-customer-reference .branch-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.mybus-customer-reference .branch-directory-card{display:grid;gap:14px;min-width:0;padding:20px;border:1px solid #dbe7e1;border-radius:16px;background:#f8fbf9}
body.mybus-customer-reference .branch-directory-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.mybus-customer-reference .branch-directory-card h3{margin:0;font-size:18px}
body.mybus-customer-reference .branch-directory-region{padding:5px 8px;border-radius:999px;background:#e2f4ed;color:#087b58;font-size:11px;font-weight:800}
body.mybus-customer-reference .branch-directory-location{display:grid;gap:5px;padding-top:12px;border-top:1px solid #e2ece7}
body.mybus-customer-reference .branch-directory-location>span,body.mybus-customer-reference .branch-directory-empty{color:#65756f;font-size:12px}
body.mybus-customer-reference .branch-directory-contacts{display:flex;flex-wrap:wrap;gap:8px}
body.mybus-customer-reference .branch-directory-contact{color:#087b58;font-size:12px;font-weight:750}
body.mybus-customer-reference .customer-branch-directory.is-unavailable{padding:18px 20px;border-color:#ead8b1;background:#fff8e9}
body.mybus-customer-reference :is(button,input,select,a):focus-visible{outline:3px solid rgba(8,128,90,.28)!important;outline-offset:2px}
@media(max-width:1180px){
 body.mybus-customer-reference #searchForm.is-roundtrip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.mybus-customer-reference #searchForm.is-roundtrip .search-btn{grid-column:1/-1!important;margin-top:4px!important}
}
@media(max-width:700px){
 body.mybus-customer-reference #ticketView .hero{min-height:190px!important;padding:24px 18px 82px!important}
 body.mybus-customer-reference #ticketView .hero h1{font-size:clamp(2rem,10vw,2.8rem)!important}
 body.mybus-customer-reference #searchForm.is-roundtrip{grid-template-columns:1fr!important}
 body.mybus-customer-reference #searchForm.is-roundtrip .search-btn{grid-column:auto!important}
 body.mybus-customer-reference .booking-trust-v447{display:grid;grid-template-columns:1fr 1fr}
 body.mybus-customer-reference .route-picker-panel-v152{position:fixed!important;inset:auto 10px 10px!important;width:auto!important;max-width:none;max-height:min(62vh,520px)!important}
 body.mybus-customer-reference .branch-directory-grid{grid-template-columns:1fr}
 body.mybus-customer-reference .customer-branch-directory{padding:20px 16px}
}
@media(max-width:980px){body.mybus-customer-reference .customer-call-label-v448{display:none}body.mybus-customer-reference .customer-call-v448{min-width:40px;justify-content:center;padding-inline:10px}}
@media(max-width:420px){body.mybus-customer-reference .booking-trust-v447{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.mybus-customer-reference *{scroll-behavior:auto!important}}
