.mlr-embed-frame{display:block;width:100%;height:960px;border:0;border-radius:16px;background:transparent}
.mlr-embed-status,.mlr-embed-fallback{display:block;margin:12px 0;font:inherit}
.mlr-embed-status:empty{display:none}
.mlr-embedded{min-height:0!important;background:transparent!important}
.mlr-embedded .portal-header,.mlr-embedded .portal-intro,.mlr-embedded .portal-footer{display:none!important}
.customer-portal-page.mlr-embedded .portal-main{display:block;width:100%;max-width:none;min-height:0;margin:0;padding:24px clamp(16px,3vw,36px) 32px;box-sizing:border-box}
.mlr-embedded .portal-workspace{width:100%;max-width:none;margin:0}
.mlr-embedded .portal-workspace .app-host{min-height:0}
.mlr-embedded .portal-nav{width:calc(100% - 32px);margin:16px auto 0;gap:8px;flex-wrap:wrap}
.mlr-embed-storage-note{padding:24px;margin:8px;border:1px solid #d6b56e;border-radius:12px;background:#fff;color:#22252a}
@media(max-width:600px){.customer-portal-page.mlr-embedded .portal-main{padding:16px 12px 24px}.mlr-embed-frame{border-radius:10px}}

/* Reuse the customer portal tokens and controls on embedded billing pages. */
.mlr-embedded.embedded-billing .portal-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--ui-control);border-radius:8px;background:var(--ui-card);color:var(--ui-text);font:600 1rem/1.4 system-ui,sans-serif;text-decoration:none}
.mlr-embedded.embedded-billing .portal-nav a[aria-current=page]{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-on-accent)}
.mlr-embedded.embedded-billing .driver-card{background:var(--ui-card);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:12px;box-shadow:none}
.mlr-embedded.embedded-billing :is(.driver-page-heading h1,.billing-trip p,.billing-trip dl){color:var(--ui-text)}
.mlr-embedded.embedded-billing :is(.driver-page-heading p,.billing-help){color:var(--ui-muted)}
.mlr-embedded.embedded-billing .driver-primary{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-on-accent)}
.mlr-embedded.embedded-billing .driver-secondary{background:var(--ui-card);border-color:var(--ui-control);color:var(--ui-text)}
.mlr-embedded.embedded-billing .billing-selection input[type=checkbox]{accent-color:var(--ui-accent)}
.mlr-embedded.embedded-billing .billing-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}
@media(max-width:600px){.mlr-embedded .portal-nav{width:calc(100% - 24px)}.mlr-embedded.embedded-billing .portal-nav a{flex:1 1 calc(50% - 8px);padding:10px 8px;font-size:.9rem}.mlr-embedded.embedded-billing .billing-filters{grid-template-columns:minmax(0,1fr)}}

/* B329: preserve the desktop vehicle-card composition inside a city iframe. */
@media(min-width:900px){
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-card{grid-template-columns:minmax(210px,28%) minmax(0,1fr) minmax(190px,230px);gap:20px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-price{grid-column:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;padding:0;text-align:right}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-price :is(button,.vehicle-choose){width:100%;margin:0}
}

/* B330: keep vehicles compact when laptop zoom produces a narrow iframe. */
@media(max-width:899px){
 body.customer-portal-page.mlr-embedded .portal-main:has(.booking-vehicle-stage){padding:12px}
 body.customer-portal-page.mlr-embedded .booking-engine:has(.booking-vehicle-stage){padding:12px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-grid{gap:12px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-card{grid-template-columns:minmax(110px,28%) minmax(0,1fr);gap:12px;padding:12px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-card.selected{padding:11px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-media{min-height:0;padding:6px;margin:0}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-media>img{height:120px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-copy{margin:0}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-copy h4{margin:0 0 6px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-copy p{display:block;margin:0 0 8px;line-height:1.5}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-price{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px 12px;padding:10px 0 0;border-top:1px solid var(--ui-line);text-align:left}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-price>span{margin:0;text-align:right}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-price :is(button,.vehicle-choose){width:100%;margin:0;min-height:46px;height:100%}
}
@media(max-width:420px){
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-card{grid-template-columns:100px minmax(0,1fr);gap:10px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-media>img{height:96px}
 body.customer-portal-page.mlr-embedded .booking-engine .vehicle-option-price :is(button,.vehicle-choose){grid-column:1/-1;height:auto}
}

/* B331: center rate details in the visible city-page area, not the full iframe. */
body.customer-portal-page.mlr-embedded .vehicle-detail-modal{top:var(--mlr-visible-top,0px);bottom:auto;height:var(--mlr-visible-height,100vh);padding:12px;box-sizing:border-box}
body.customer-portal-page.mlr-embedded .vehicle-detail-dialog{max-height:calc(var(--mlr-visible-height,100vh) - 24px);box-sizing:border-box;overscroll-behavior:contain}
body.customer-portal-page.mlr-embedded .vehicle-detail-close{position:sticky;top:0;float:right;margin:-8px -8px -36px 8px}
@media(max-width:760px){body.customer-portal-page.mlr-embedded .vehicle-detail-dialog{padding:20px 14px}body.customer-portal-page.mlr-embedded .vehicle-detail-image-wrap{padding:8px;margin-bottom:12px}body.customer-portal-page.mlr-embedded .vehicle-detail-image-wrap img{max-height:140px}}

/* B332: city-page hero integration; booking results use the full reading width. */
.mlr-city-hero>.wrap{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:start}
.mlr-city-hero .mlr-city-copy{min-width:0}
.mlr-city-hero .hero-card.mlr-city-booking{display:block;min-width:0;padding:0;border:0;border-radius:16px;background:#fff;color:#22252a;overflow:hidden}
.mlr-city-hero .mlr-embed-status,.mlr-city-hero .mlr-embed-fallback{margin:0;padding:10px 16px;color:#4d5661;font:14px/1.5 system-ui,sans-serif}
.mlr-city-hero .mlr-embed-status:empty{display:none}
.mlr-city-hero .mlr-embed-fallback{background:#fff;color:#4d5661}
.mlr-city-hero:has([data-mylimoride-layout=expanded])>.wrap{grid-template-columns:minmax(0,1fr)}
.mlr-city-hero:has([data-mylimoride-layout=expanded]) .mlr-city-copy{display:none}
@media(max-width:900px){.mlr-city-hero>.wrap{grid-template-columns:minmax(0,1fr);gap:24px}}

/* B334: keep later booking steps in the city-page body without marketing content below. */
body.mlr-city-booking-active main>:not(.mlr-city-hero),body.mlr-city-booking-active>footer,body.mlr-city-booking-active>.mobilebar,body.mlr-city-booking-active>section{display:none!important}
body.mlr-city-booking-active .mlr-city-hero{min-height:0!important;padding-block:16px!important;background:#f5f5f2!important;color:#22252a;overflow:visible}
body.mlr-city-booking-active .mlr-city-hero::before,body.mlr-city-booking-active .mlr-city-hero>.hero-media{display:none!important}
body.mlr-city-booking-active .mlr-city-hero>.wrap{width:min(1300px,calc(100% - 32px));max-width:1300px;margin-inline:auto;padding:0;grid-template-columns:minmax(0,1fr)}
body.mlr-city-booking-active .mlr-city-booking{box-shadow:none}
@media(max-width:600px){body.mlr-city-booking-active .mlr-city-hero>.wrap{width:calc(100% - 16px)}}

/* Public header actions stay visible without sharing account identity with the city page. */
.mlr-city-account-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.mlr-city-signin{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 6px;color:inherit;font:700 14px/1.3 system-ui,sans-serif;text-decoration:none;white-space:nowrap}
@media(max-width:600px){body>header .nav{gap:8px!important}.mlr-city-account-actions{gap:4px}.mlr-city-account-actions .mlr-city-signin{font-size:12px;padding:2px 4px}html body header .mlr-city-account-actions .btn.small{min-height:44px!important;padding:8px 10px!important;font-size:12px!important}body>header .brand-logo{width:clamp(105px,30vw,150px)!important;height:auto}}

/* B335: a clear, persistent close target inside the scrollable rate dialog. */
body.customer-portal-page.mlr-embedded .vehicle-detail-close{width:48px;height:48px;min-width:48px;min-height:48px;display:grid;place-items:center;background:#20252b;color:#fff;border:2px solid #fff;font-size:32px;font-weight:700;line-height:1;box-shadow:0 2px 10px #0005;z-index:5;margin:-8px -8px -40px 8px}
body.customer-portal-page.mlr-embedded .vehicle-detail-close:hover{background:#000}
body.customer-portal-page.mlr-embedded .vehicle-detail-close:focus-visible{outline:3px solid #a57926;outline-offset:3px}
.mlr-embed-fallback[hidden]{display:none!important}
