/* Preserve row density; the explicit opener sits beside the identity, not the
   status or freshness. Its touch target is larger than its visible chevron. */
.fleet-modern-content{position:relative}
.units-panel .fleet-unit-detail-open{position:absolute;right:-6px;top:-10px;width:40px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:#66808d;cursor:pointer;touch-action:manipulation}
.units-panel .fleet-unit-detail-open svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fleet-unit-detail-open:focus-visible{outline:2px solid #0f728f;outline-offset:-3px}
@media(hover:hover){.units-panel .fleet-unit-detail-open:hover{color:#0f728f;background:#e7f2f5}}
.fleet-detail-choice{padding-bottom:7px}
.fleet-detail-choice[hidden]{display:none!important}
.fleet-detail-list-back{display:none}
#fleetMobileSheet:not(.is-active) .units-panel.is-detail-list-hidden{visibility:hidden!important;pointer-events:none}
/* Reuse the left panel's measured bounds without moving either view's DOM.
   Repeated IDs narrowly outrank the inherited widget geometry. */
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list']{
 position:absolute!important;inset:var(--detail-list-top,16px) auto auto var(--detail-list-left,16px)!important;
 width:var(--detail-list-width,var(--panel-width))!important;max-width:none!important;height:var(--detail-list-height,calc(100% - 32px))!important;max-height:none!important;
 padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;clip-path:inset(0 0 100% 0);
 box-shadow:none!important;background:white!important;--detail-cockpit-bleed:0px;
}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__close{display:none!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__header{flex:0 0 76px!important;height:76px!important;min-height:76px!important;padding:0 44px 8px 4px!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'].has-detail-row .fleet-unit-popup__header{display:none!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__content{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__panel{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__panel--resumen{justify-content:flex-start!important;gap:12px!important;padding-block:4px 12px!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__dashboard{flex:0 0 auto!important;height:auto!important;min-height:0!important;gap:18px!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-cockpit-group{flex:0 0 auto!important;height:auto!important;min-height:0!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__summary-carousel{flex:0 0 128px!important;height:128px!important;min-height:128px!important;max-height:none!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-direct-footer{flex:0 0 48px!important;height:48px!important;min-height:48px!important;margin-top:auto!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-direct-footer button{height:44px!important}
/* Fully expanded mobile location content, with a stable address height. */
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'].has-morph-location .fleet-unit-popup__last-location{display:block!important;position:relative!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:white!important;box-shadow:none!important;overflow:visible!important}
#fleetMobileSheet:not(.is-active) #detail[data-detail-placement='list'] .fleet-location-preview{display:flex;align-items:center;position:relative;height:48px;padding:0 48px 0 2px}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-location-preview>:is(.fleet-address-pictogram,.fleet-unit-popup__last-location-link){display:none!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__last-location-copy{gap:0!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] [data-last-location-address]{display:none!important}
#fleetMobileSheet:not(.is-active) #detail[data-detail-placement='list'] .fleet-location-content{display:flex;flex-direction:column;width:100%;height:auto;min-height:0}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-details{display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;width:100%!important;padding:0!important;background:transparent!important;overflow:visible!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-hero{display:grid!important;position:relative!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(clamp(126px,calc(var(--detail-list-height,646px) - 520px),184px),auto) 44px 44px!important;grid-template-areas:'address' 'providers' 'coordinates'!important;gap:8px!important;height:auto!important;min-height:0!important;width:100%!important;max-width:none!important;padding:0 2px!important;border:0!important;background:transparent!important;align-items:stretch!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-hero::after{grid-area:coordinates!important;align-self:start!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-hero-pin{display:none!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-hero-copy{grid-area:address!important;display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;align-content:start!important;align-self:stretch!important;}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-hero-copy>small{display:none!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] [data-address-full]{display:block!important;font-size:13px!important;line-height:18px!important;white-space:normal!important;max-height:none!important;overflow:visible!important;overflow-wrap:anywhere!important;-webkit-line-clamp:unset!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-share{grid-area:auto!important;position:absolute!important;inset:-48px 0 auto auto!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;align-self:start!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-providers{grid-area:providers!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-self:stretch!important;height:44px!important;min-height:44px!important;gap:4px!important;padding:0!important;margin:0!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-providers button{width:100%!important;min-width:44px!important;max-width:none!important;height:44px!important;min-height:44px!important;max-height:44px!important;background:white!important;border-radius:10px!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-map-brand-icon{width:18px!important;height:18px!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-coordinates{grid-area:coordinates!important;display:flex!important;position:static!important;align-items:center!important;align-self:stretch!important;justify-content:center!important;height:44px!important;gap:4px!important;padding:0!important;margin:0!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-coordinates>button{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'] .fleet-unit-popup__address-coordinates>strong{font-size:11px!important;line-height:16px!important}

/* Only the visible neighboring rows animate; all other rows stay mounted.
   The actual selected row and arrow remain the identity and keyboard target. */
.fleet-detail-row-collapse{display:none}
#fleetMobileSheet:not(.is-active) #detail[data-detail-placement='list']:not(.has-detail-row) .fleet-detail-row-collapse{display:flex;position:absolute;top:8px;right:0;z-index:5;width:40px;height:44px;align-items:center;justify-content:center;background:none;border:0;color:#167991;cursor:pointer}
.fleet-detail-row-collapse svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fleet-detail-row-collapse:focus-visible{outline:2px solid #0f728f;outline-offset:-3px}
#fleetMobileSheet:not(.is-active) .units-panel.is-detail-row-open .list-scroll{overflow:hidden!important;overflow-anchor:none}
#fleetMobileSheet:not(.is-active) .units-panel.is-detail-row-open #zoneBand{visibility:hidden}
.units-panel.is-detail-row-open .unit-row{position:relative;border-color:transparent!important}
.units-panel.is-detail-row-open [data-detail-row='selected']{z-index:3;transform:translateY(0)}
.units-panel.is-detail-row-expanded [data-detail-row='selected']{transform:translateY(var(--detail-row-lift,0px))}
.units-panel.is-detail-row-open [data-detail-row='hidden']{visibility:hidden}
.units-panel.is-detail-row-expanded :is([data-detail-row='before'],[data-detail-row='after']){opacity:0;pointer-events:none}
.units-panel.is-detail-row-expanded [data-detail-row='after']{transform:translateY(var(--detail-row-push,600px))}
.units-panel.is-detail-row-expanded [data-detail-row='selected'] .fleet-unit-detail-open svg{transform:rotate(180deg)}
#fleetMobileSheet:not(.is-active) #detail#detail#detail#detail#detail#detail#detail[data-detail-placement='list'].is-detail-row-expanded{clip-path:inset(0)}
@media(prefers-reduced-motion:no-preference){
 .units-panel.is-detail-row-open :is([data-detail-row='selected'],[data-detail-row='before'],[data-detail-row='after']){transition:transform 280ms cubic-bezier(.22,.75,.2,1),opacity 180ms ease}
 .units-panel.is-detail-row-expanded :is([data-detail-row='before'],[data-detail-row='after']){transition-delay:70ms}
 .units-panel.is-detail-row-static [data-detail-row='selected']{transition:none}
 .fleet-unit-detail-open svg{transition:transform 180ms ease}
 #fleetMobileSheet:not(.is-active) #detail[data-detail-placement='list']{transition:clip-path 220ms cubic-bezier(.22,.75,.2,1)}
 #fleetMobileSheet:not(.is-active) #detail[data-detail-placement='list'].is-detail-row-expanded{transition-delay:110ms}
}
