/* Original trip dimensions, with a second equal-height page for instruments. */
#detail .fleet-clear-cockpit{
 --fcc-height:96px;--fcc-ink:#152d39;--fcc-muted:#587180;--fcc-accent:#008f91;
 box-sizing:border-box;position:relative;flex:0 0 var(--fcc-height);width:100%;min-width:0;height:var(--fcc-height);
 overflow:hidden;color:var(--fcc-ink);background:linear-gradient(180deg,#f7f9fb,#fbfcfd 35%,#f1f5f8);
 border:0;border-radius:10px;box-shadow:inset 0 2px 4px rgba(15,23,42,.09),inset 0 -2px 1px #fff;
 font-family:inherit;font-variant-numeric:tabular-nums;
}
#detail .fleet-clear-cockpit *{box-sizing:border-box}
#detail .fcc-pages{height:100%;position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none}
#detail .fcc-page{height:100%;width:100%;padding:0 24px}
#detail .fcc-page[hidden]{display:none!important}
#detail .fcc-primary{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,1.6fr) minmax(0,1fr);align-items:center;gap:0}
#detail .fcc-metric{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:2px;text-align:center}
#detail .fcc-icon{display:block;flex:none;width:18px;height:18px;color:var(--fcc-accent)}
#detail .fcc-primary .fcc-icon{color:var(--fcc-muted);margin-bottom:1px}
#detail .fcc-label{color:var(--fcc-muted);font-size:9px;font-weight:500;line-height:12px;white-space:nowrap}
#detail .fcc-value{color:var(--fcc-ink);font-size:14px;font-weight:650;line-height:18px;max-width:100%;overflow-wrap:anywhere}
#detail .fcc-speed{position:relative;align-self:center;width:100%;max-width:150px;height:96px;justify-self:center;transform:translateY(-4px) scale(.9);transform-origin:center}
#detail .fcc-dial{display:block;width:60.48%;height:96px;margin-inline:auto;overflow:visible}
#detail .fcc-rail{fill:none;stroke:#d7d9dc;stroke-width:6;stroke-linecap:round}
#detail .fcc-progress{fill:none;stroke:#18c93a;stroke-width:6;stroke-linecap:round;visibility:hidden}
#detail .fcc-dial :is(.fcc-marker,.fcc-tick,text){display:none}
#detail .fcc-speed-copy{position:absolute;inset:38px 0 auto;display:flex;align-items:center;flex-direction:column;gap:0;pointer-events:none}
#detail .fcc-speed-copy strong{color:var(--fcc-ink);font-size:26px;line-height:30px;font-weight:650;letter-spacing:-1px}
#detail .fcc-speed-copy span{color:var(--fcc-muted);font-size:10px;line-height:13px}
#detail .fcc-device{display:grid;grid-template-rows:1fr 1fr;padding-block:6px 12px;align-content:center}
#detail .fcc-gps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-items:center}
#detail .fcc-energy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border-top:1px solid #dce6eb}
#detail .fcc-device .fcc-metric{flex-direction:row;gap:5px}
#detail .fcc-device .fcc-value{white-space:nowrap;overflow-wrap:normal}
#detail .fcc-precision[data-tone=poor] .fcc-value{color:#aa5629}
#detail .fcc-page-arrow{position:absolute;top:0;bottom:0;z-index:1;display:grid;place-items:center;width:24px;padding:0;border:0;background:transparent;color:var(--fcc-ink);cursor:pointer;touch-action:manipulation}
#detail .fcc-page-arrow--prev{left:0}#detail .fcc-page-arrow--next{right:0}
#detail .fcc-page-arrow svg{width:16px;height:16px}
#detail .fcc-page-arrow:hover{background:#e5f0f2}
#detail .fcc-page-dots{position:absolute;bottom:3px;left:0;right:0;height:6px;display:flex;justify-content:center;align-items:center;gap:5px;pointer-events:none}
#detail .fcc-page-dots i{width:4px;height:4px;border-radius:50%;background:#d0d9df}
#detail .fcc-page-dots .is-active{background:var(--fcc-accent)}
#detail .fleet-clear-cockpit button:focus-visible{outline:2px solid #087f8d;outline-offset:-2px}
#fleetMobileSheet.is-active #detail.has-clear-cockpit{--detail-cockpit-base:96px}
#fleetMobileSheet.is-active[data-layout=landscape] #detail#detail#detail#detail.has-clear-cockpit.has-morph-location{--location-current-cockpit:96px}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fleet-clear-cockpit{--fcc-height:80px}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fcc-primary{grid-template-columns:minmax(0,1fr) minmax(100px,1.4fr) minmax(0,1fr)}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fcc-speed{height:80px;max-width:126px}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fcc-dial{height:80px}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fcc-speed-copy{inset-block-start:30px}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fcc-speed-copy strong{font-size:22px;line-height:26px}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail:not([data-detail-placement=list]) .fcc-primary .fcc-value{font-size:12px;line-height:16px}
@media(max-width:350px){
 #detail .fcc-page{padding-inline:22px}
 #detail .fcc-primary{grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr)}
 #detail .fcc-primary .fcc-value{font-size:13px;line-height:17px}
 #detail .fcc-speed-copy strong{font-size:24px;line-height:29px}
}

/* Floating PC and landscape iPad: one compact height for every section.
   Cockpit pages swap without changing card geometry.
   Portrait sheets retain their original continuous expansion. */
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact']:not([data-detail-placement='list']){
 --detail-density:.72;--detail-type-display:20px;--detail-type-value:14px;--detail-type-body:12px;--detail-type-caption:11px;--detail-type-cockpit-caption:10px;
 height:min(280px,calc(100% - 32px))!important;overflow:visible!important;
}
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact'] .fleet-unit-popup__title{font-size:18px!important;line-height:22px!important}
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact'] .fleet-unit-popup__header-vehicle img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important}
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact'] .fleet-unit-popup__header-vehicle::before{width:40px!important;height:40px!important}
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact'] .fleet-direct-footer button{font-size:10.5px!important}
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact'] .fleet-direct-footer .material-icons{font-size:18px!important}
#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail[data-detail-layout='compact'] .fleet-unit-popup__panel--comandos{overflow-y:auto!important;overscroll-behavior:contain}

/* The long address uses the top of the fixed card; map actions stay visible. */
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__panel--address-details:not([hidden]){overflow-y:auto!important;overscroll-behavior:contain}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-active-tab='ubicacion'] .fleet-direct-context{flex-basis:23px!important;height:23px!important;min-height:23px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-details{box-sizing:border-box!important;padding:2px 9px 3px!important;overflow:visible!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero{grid-template-columns:22px minmax(0,1fr) 26px!important;grid-template-rows:auto 18px 1px 26px!important;align-content:start!important;height:auto!important;min-height:0!important;column-gap:6px!important;row-gap:1px!important;padding:0!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero-copy{align-self:start!important;padding-right:0!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero-copy>small{margin-bottom:2px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero-copy>strong{line-height:13px!important;overflow-wrap:anywhere}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero-pin{grid-row:1!important;align-self:start!important;display:grid!important;place-items:center!important;width:22px!important;min-width:22px!important;height:22px!important;margin-top:13px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero-pin .fleet-address-pictogram{display:block!important;width:20px!important;min-width:20px!important;height:20px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-share{grid-column:3!important;grid-row:4!important;align-self:center!important;justify-self:end!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-coordinates{grid-row:2!important;height:18px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-hero::after{grid-row:3!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-providers{grid-row:4!important;height:26px!important;gap:6px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-providers button{display:grid!important;place-items:center!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-providers button>span{display:none!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-providers .fleet-map-brand-icon{display:block!important;width:17px!important;min-width:17px!important;height:17px!important;transform:none!important}
#lynqFleetDetailReference#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail[data-detail-layout='compact'] .fleet-unit-popup__address-providers .fleet-map-brand-icon--street-view{width:10px!important;min-width:10px!important;height:18px!important}

/* Shared list/detail identity: one state circle and a centred text stack. */
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail{--header-circle:64px;--header-car-width:22px;--header-car-height:45px;--header-name:19px;--header-caption:12.5px}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header{display:grid!important;grid-template-columns:var(--header-circle) minmax(0,1fr) 36px!important;grid-template-rows:var(--header-circle)!important;align-items:center!important;gap:0 8px!important;box-sizing:border-box!important;flex:0 0 calc(var(--header-circle) + 12px)!important;height:calc(var(--header-circle) + 12px)!important;min-height:calc(var(--header-circle) + 12px)!important;padding:0 0 12px!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header-vehicle{grid-column:1!important;grid-row:1!important;position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;align-self:center!important;flex:none!important;box-sizing:border-box!important;width:var(--header-circle)!important;min-width:var(--header-circle)!important;height:var(--header-circle)!important;margin:0!important;border:0!important;border-radius:50%!important;background:#edf2f5!important;box-shadow:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header-vehicle:is([data-state=moving],[data-state=maneuvering]){background:#e5f3eb!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header-vehicle:is([data-state=offline],[data-state=alarm]){background:#f7e7eb!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header-vehicle::before,#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header-vehicle::after{content:none!important;display:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header-vehicle img{display:block!important;position:static!important;width:var(--header-car-width)!important;min-width:0!important;max-width:var(--header-car-width)!important;height:var(--header-car-height)!important;max-height:var(--header-car-height)!important;object-fit:fill!important;opacity:1!important;filter:none!important;transform:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__heading{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-self:center!important;min-width:0!important;height:var(--header-circle)!important;min-height:0!important;gap:0!important;padding:0!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__title{display:block!important;align-self:stretch!important;font-size:var(--header-name)!important;line-height:22px!important;font-weight:700!important;letter-spacing:-.35px!important;color:#153744!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;line-height:16px!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-plate{display:block!important;flex:none!important;max-width:100%!important;padding:0!important;border:0!important;background:none!important;font-family:inherit!important;font-size:var(--header-caption)!important;line-height:16px!important;font-weight:400!important;letter-spacing:.1px!important;color:#667c89!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-plate[hidden]{display:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-state{display:block!important;flex:none!important;max-width:100%!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;font-family:inherit!important;font-size:12px!important;line-height:16px!important;font-weight:400!important;color:#6d808e!important;white-space:normal!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-state:is([data-kind=moving],[data-kind=maneuvering]){color:#20826b!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-state:is([data-kind=offline],[data-kind=alarm]){color:#b3314a!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__close{grid-column:3!important;grid-row:1!important;align-self:center!important;position:static!important;inset:auto!important;display:grid!important;place-items:center!important;min-width:36px!important;width:36px!important;height:44px!important;margin:0!important;padding:0!important}
@media(min-width:601px) and (min-height:501px),(min-width:961px){
 #lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail{--header-circle:54px;--header-car-width:18px;--header-car-height:37px;--header-name:15px;--header-caption:11px}
}


/* The portrait handle keeps its own space above the identity. Section pages
   retain their dedicated heading instead of duplicating the unit header. */
#fleetMobileSheet.is-active[data-layout='portrait'] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header{flex-basis:108px!important;height:108px!important;min-height:108px!important;padding:32px 0 12px!important}
#fleetMobileSheet.is-active #detail#detail#detail#detail#detail#detail#detail:is([data-active-tab='eventos'],[data-active-tab='comandos'])>.fleet-unit-popup__header{display:none!important}

/* Fixed desktop/tablet address viewport: text above, map links anchored below. */
@media(min-width:601px) and (min-height:501px),(min-width:961px){
 #lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-state{font-size:11px!important;line-height:14px!important}
 #lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__title{line-height:19px!important}
 #lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__meta{gap:2px!important;line-height:14px!important}
 #lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail .fleet-detail-plate{line-height:14px!important}
}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]){--detail-type-body:11px;--detail-type-caption:10px;width:360px!important;max-width:calc(100% - 32px)!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__panel--resumen{gap:6px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__last-location{min-height:38px!important;padding:4px 24px 4px 4px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) [data-last-location-name]{font-size:12px!important;line-height:16px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-cockpit-report{font-size:10.5px!important;line-height:14px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__panel--address-details:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-details{display:flex!important;flex:1!important;min-height:0!important;height:100%!important;padding:0 2px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-hero{display:grid!important;grid-template-columns:20px minmax(0,1fr) 28px!important;grid-template-rows:minmax(0,1fr) 22px 1px 40px!important;height:100%!important;min-height:0!important;gap:2px 5px!important;align-content:stretch!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-hero-copy{min-height:0!important;height:100%!important;overflow:auto!important;align-self:stretch!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-hero-copy>strong{font-size:11px!important;line-height:14px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-hero-pin{margin-top:1px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-coordinates{height:22px!important;min-height:22px!important;align-self:center!important;font-size:9px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-providers{grid-column:1 / 3!important;grid-row:4!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;height:40px!important;width:100%!important;gap:4px!important;align-self:end!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-providers button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;max-height:40px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-providers button>span{display:block!important;font-size:9px!important;line-height:11px!important;}
#lynqFleetDetailReference #fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail:not([data-detail-placement=list]) .fleet-unit-popup__address-share{grid-row:4!important;align-self:center!important;}

/* Portrait iPad keeps a fixed address area and map links on the last row. */
@media(min-width:601px) and (max-width:960px) and (min-height:501px){
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__header{height:98px!important;min-height:98px!important;flex-basis:98px!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-hero{height:200px!important;min-height:200px!important;max-height:200px!important;width:100%!important;padding:0 4px!important;grid-template-columns:minmax(0,1fr) 44px!important;grid-template-rows:104px 44px 44px!important;grid-template-areas:"address address" "coordinates share" "providers providers"!important;gap:4px!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-hero-copy{height:104px!important;min-height:104px!important;max-height:104px!important;overflow:auto!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail [data-address-full]{font-size:12px!important;line-height:16px!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-providers{grid-area:providers!important;align-self:end!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-providers button>span{font-size:9px!important;line-height:12px!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-coordinates{grid-area:coordinates!important;justify-content:flex-start!important;gap:2px!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-coordinates>strong{font-size:9px!important;line-height:14px!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-share{grid-area:share!important}
 #lynqFleetDetailReference #fleetMobileSheet.is-active[data-layout=portrait] #detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-hero::after{display:none!important}
}

/* Argentine addresses: street + number, then locality and province. */
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail [data-address-full]{white-space:pre-line!important}
#lynqFleetDetailReference #detail .fleet-address-position-note{margin:6px 0 0!important;font-size:11px!important;line-height:15px!important;font-weight:400!important;color:#607684!important;white-space:normal!important}
#lynqFleetDetailReference #detail .fleet-address-position-note[hidden]{display:none!important}

/* A single location action opens a native modal with the existing handlers. */
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-hero-copy{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-coordinates{flex:none!important;width:100%!important;height:auto!important;min-height:16px!important;justify-content:flex-start!important;margin:0!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-providers,#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-hero-pin,#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu::after{display:none!important}
#detail .fleet-location-options{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;flex:0 0 auto;padding:8px 12px;border:0;border-radius:10px;background:#d8eeed;color:#125665;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
#detail .fleet-location-options>.material-icons{font-size:20px}
#detail .fleet-location-options>.material-icons:last-child{margin-left:auto}
#detail .fleet-location-options:disabled{opacity:.45;cursor:default}
#detail .fleet-location-options:focus-visible,#detail .fleet-location-menu button:focus-visible{outline:2px solid #087f8d;outline-offset:-2px}
#detail .fleet-location-menu{box-sizing:border-box;position:fixed;inset:auto;margin:0;width:246px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:6px;border:1px solid #dce6e9;border-radius:12px;background:#fff;color:#203643;box-shadow:0 8px 28px #0d263c26;font-family:inherit;overflow-y:auto;overscroll-behavior:contain;text-align:left}
#detail .fleet-location-menu:not(:popover-open){display:none!important}
#detail .fleet-location-menu::backdrop{background:transparent}
#detail .fleet-location-menu__items{display:flex;flex-direction:column;gap:1px}
#detail .fleet-location-menu .fleet-location-menu__action{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:36px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:inherit;font-family:inherit;font-size:13px;font-weight:500;line-height:18px;text-align:left;cursor:pointer}
#detail .fleet-location-menu__action>svg{display:block;width:18px;height:18px;flex:none;fill:currentColor}
#detail .fleet-location-menu__action>.material-icons{font-size:18px;width:18px;color:#087f8d}
#detail .fleet-location-menu button:hover,#detail .fleet-location-menu button:focus-visible{background:#edf5f6}
#detail .fleet-location-menu button:disabled{opacity:.4;cursor:default}
#detail .fleet-location-menu hr{border:0;border-top:1px solid #e2e9ed;margin:4px 6px}
#detail .fleet-location-menu__feedback{font-size:11px;line-height:16px;color:#825323;margin:6px 8px}
#detail .fleet-location-menu__feedback:empty{display:none}
@media(pointer:coarse){#detail .fleet-location-menu .fleet-location-menu__action{min-height:40px}}

/* Compact detail: one address with an adjacent, touch-sized actions icon.
   Match the specificity of the assembled detail styles without changing the
   cockpit, vehicle canvas dimensions, privacy notes or menu event handlers. */
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu {
  display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-rows:auto!important;grid-template-areas:none!important;align-items:start!important;gap:0 4px!important;
}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-hero-copy {
  grid-column:1!important;grid-row:1!important;min-width:0!important;
}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-coordinates {display:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .fleet-location-options {
  grid-column:2!important;grid-row:1!important;display:grid!important;place-items:center!important;
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  padding:0!important;margin:0!important;gap:0!important;background:transparent!important;
  border-radius:50%!important;color:#526b77!important;
}
#detail .fleet-location-options>.material-icons:last-child {margin:0}
#detail .fleet-location-options:hover {background:#edf4f5!important}
#detail .fleet-location-options:focus-visible {outline:2px solid #187e8a;outline-offset:-3px}
#detail .detail-feedback:empty {display:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .fleet-unit-popup__address-details {
  min-height:0!important;height:auto!important;flex:0 0 auto!important;
}

/* Collapse the preview into the full address as the sheet expands. Keeping
   both in the same card preserves intermediate drag states and compact view. */
#fleetMobileSheet.is-active #detail#detail#detail#detail#detail#detail#detail.has-morph-location .fleet-location-preview {
  opacity:clamp(0,calc(1 - var(--location-progress)*3.4),1);
}
#fleetMobileSheet.is-active #detail#detail#detail#detail#detail#detail#detail.has-morph-location .fleet-location-content {
  top:calc(52px * (1 - var(--location-progress)))!important;min-height:0!important;height:auto!important;padding-top:0!important;
}
#fleetMobileSheet:not(.is-active) #detail[data-detail-placement=list] .fleet-location-preview {display:none!important}
#lynqFleetDetailReference #detail#detail#detail#detail#detail#detail#detail#detail#detail#detail .has-location-menu .fleet-unit-popup__address-hero-copy>small {
  display:block!important;margin:0 0 3px!important;font-size:11px!important;line-height:15px!important;
}
#fleetMobileSheet.is-active #detail#detail#detail#detail#detail#detail#detail.has-morph-location .fleet-unit-popup__panel--resumen {
  padding-block:4px!important;gap:6px!important;
}
#fleetMobileSheet.is-active #detail#detail#detail#detail#detail#detail#detail#detail.has-morph-location .fleet-unit-popup__dashboard {
  flex:0 0 auto!important;min-height:0!important;height:auto!important;
  justify-content:flex-start!important;padding-bottom:0!important;gap:6px!important;
}
/* The stage includes a floor/white border below the tires. Let that border
   overlap the following white gap; the vehicle keeps its original scale. */
#fleetMobileSheet.is-active #detail#detail#detail#detail#detail#detail#detail .fleet-vehicle-animation {margin-top:-8px!important;margin-bottom:-22px!important}
