
/* FLEET_DASHBOARD_REFERENCE_V4 · 2026-09-16 */
.fleet-dashboard{--fleet-accent:#ff7900;--fleet-accent-dark:#e25d00;--fleet-ink:#0d1d35;--fleet-muted:#728096;--fleet-line:#e1e7ed;--fleet-bg:#f4f7fa;display:grid;gap:14px;color:var(--fleet-ink)}
.fleet-dashboard.fleet-nexvia{--fleet-accent:#62c91d;--fleet-accent-dark:#439c11}.fleet-dashboard *{box-sizing:border-box}.fleet-dashboard a{text-decoration:none;color:inherit}.fleet-hero-row{display:grid;grid-template-columns:minmax(255px,.82fr) minmax(510px,2.15fr) minmax(205px,.68fr);gap:14px;min-height:184px}.fleet-greeting,.fleet-live-card,.fleet-panel,.fleet-kpi,.fleet-actions>a{background:#fff;border:1px solid var(--fleet-line);border-radius:16px;box-shadow:0 7px 22px rgba(19,44,68,.045)}
.fleet-greeting{position:relative;padding:25px 22px;overflow:hidden}.fleet-accent-line{display:block;width:45px;height:3px;margin-bottom:20px;border-radius:99px;background:var(--fleet-accent)}.fleet-greeting>small,.fleet-panel header small,.fleet-live-card>small{color:var(--fleet-accent-dark);font-size:9px;font-weight:900;letter-spacing:.09em}.fleet-greeting h1{margin:8px 0 9px;font-size:28px;line-height:1.05;letter-spacing:-1px;color:#0b1b34}.fleet-greeting p{margin:0;color:#74839a;font-size:12px}
.fleet-city-hero{position:relative;min-height:184px;overflow:hidden;border-radius:16px;border:1px solid #d9e1e7;background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.72) 34%,rgba(255,255,255,.20) 62%,rgba(255,255,255,0) 100%),url('yum-popocatepetl-wide.jpg?v=20260918.2') center 52%/cover no-repeat;box-shadow:0 8px 24px rgba(20,39,56,.09);isolation:isolate}.fleet-city-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.01),rgba(255,255,255,.04));z-index:-1}.fleet-hero-car{position:absolute;z-index:-1;right:-1%;bottom:-26%;width:57%;height:132%;object-fit:cover;object-position:50% 62%;opacity:.72;filter:brightness(.72) saturate(.74) contrast(1.08);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24%,#000 100%);mask-image:linear-gradient(90deg,transparent 0,#000 24%,#000 100%)}.fleet-hero-copy{position:absolute;left:30px;top:32px;z-index:2;color:#101827;text-shadow:0 1px 0 rgba(255,255,255,.9)}.fleet-hero-copy small{color:#4f6a7e;font-size:9px;font-weight:900;letter-spacing:.08em}.fleet-nexvia .fleet-hero-copy small{color:#4fa80e}.fleet-hero-copy h2{margin:7px 0 12px;font-size:30px;line-height:.94;letter-spacing:-1px}.fleet-hero-copy span{font-size:11px;font-weight:850}.fleet-city-hero blockquote{position:absolute;z-index:3;right:18px;top:30px;width:145px;margin:0;padding-left:12px;border-left:3px solid var(--fleet-accent);color:#17324a;text-align:right;font-size:12px;font-weight:850;line-height:1.25;text-shadow:0 1px 0 rgba(255,255,255,.9)}
.fleet-live-card{padding:20px 19px;display:flex;flex-direction:column;justify-content:flex-start}.fleet-live-card>b{display:block;margin:4px 0 4px;color:#28364a;font-size:11px;line-height:1.25;text-transform:capitalize}.fleet-live-card>strong{display:block;margin:4px 0 8px;color:#071a35;font-size:29px;line-height:1;font-weight:900;letter-spacing:-1px}.fleet-location{display:flex;align-items:center;gap:5px;margin-top:1px;color:#5d6c81;font-size:10px}.fleet-location b{font-weight:750}.fleet-weather{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:6px;margin-top:9px}.fleet-weather>span{font-size:25px}.fleet-weather>strong{font-size:19px;color:#10213a}.fleet-weather>small{color:#728096;font-size:9px;line-height:1.2}.fleet-live-card>em{margin-top:auto;color:#9aa5b3;font-size:7px;font-style:normal}
.fleet-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fleet-kpi{min-height:92px;padding:15px 17px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;transition:.18s}.fleet-kpi:hover,.fleet-actions>a:hover,.fleet-list>a:hover,.fleet-follow>a:hover{transform:translateY(-2px);border-color:#cad5df;box-shadow:0 12px 30px rgba(17,43,66,.09)}.fleet-kpi>span{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;font-size:24px;background:#edf5ff}.fleet-kpi.kpi-orange>span{background:#fff1e3}.fleet-kpi.kpi-red>span{background:#fff0f0}.fleet-kpi.kpi-amber>span{background:#fff5df}.fleet-nexvia .fleet-kpi.kpi-orange>span{background:#effbe7}.fleet-kpi small,.fleet-kpi strong,.fleet-kpi em{display:block}.fleet-kpi small{color:#273951;font-size:11px;font-weight:850}.fleet-kpi strong{margin:2px 0;color:#0a1c35;font-size:25px;line-height:1}.fleet-kpi em{color:#8a96a5;font-size:8px;font-style:normal}.fleet-kpi>i{color:#90a1b2;font-size:25px;font-style:normal}
.fleet-shortcuts{margin-top:4px;padding-top:4px}.fleet-shortcuts-head{display:flex;align-items:end;justify-content:space-between;margin:0 0 10px;padding:0 2px}.fleet-shortcuts-head small{display:block;color:var(--fleet-accent-dark);font-size:9px;font-weight:900;letter-spacing:.10em}.fleet-shortcuts-head h2{margin:3px 0 2px;color:#11243e;font-size:18px}.fleet-shortcuts-head p{margin:0;color:#8492a3;font-size:9px}.fleet-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fleet-actions>a{min-height:92px;padding:17px 18px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;transition:.18s;background:#fff;border:1px solid var(--fleet-line);border-radius:16px;box-shadow:0 7px 22px rgba(19,44,68,.045)}.fleet-actions>a>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f2f7fc;font-size:24px}.fleet-actions b,.fleet-actions small{display:block}.fleet-actions b{font-size:12px;color:#172940}.fleet-actions small{margin-top:4px;color:#8995a4;font-size:9px;line-height:1.25}.fleet-actions i{font-style:normal;font-size:22px;color:#91a1b1}
.fleet-main-grid{display:grid;grid-template-columns:1.28fr .84fr 1.05fr;gap:12px}.fleet-lower-grid{display:grid;grid-template-columns:1.25fr .92fr .9fr;gap:12px}.fleet-panel{min-width:0;overflow:hidden}.fleet-panel>header{min-height:75px;padding:15px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1f4}.fleet-panel header h2{margin:3px 0 1px;color:#11243e;font-size:16px}.fleet-panel header p{margin:0;color:#8a97a7;font-size:8px}.fleet-panel header>a,.fleet-panel header>button{align-self:flex-start;border:0;background:transparent!important;color:var(--fleet-accent-dark)!important;font-size:8px;font-weight:850;cursor:pointer;box-shadow:none!important;padding:2px!important;min-height:0!important}
.fleet-bars{height:205px;padding:20px 18px 8px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-items:end}.fleet-bars>a{height:100%;display:grid;grid-template-rows:auto 1fr auto;gap:6px;text-align:center}.fleet-bars span{color:#66768a;font-size:8px}.fleet-bars>a>div{height:145px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #dfe6ec;background:repeating-linear-gradient(to top,transparent 0,transparent 35px,#f0f3f6 36px)}.fleet-bars i{display:block;width:28px;min-height:12px;border-radius:8px 8px 2px 2px;background:#2f8cff;transition:.25s}.fleet-bars i.red{background:#ef4d4d}.fleet-bars i.amber{background:#f3a315}.fleet-bars b{font-size:10px}.fleet-chart-legend{display:flex;justify-content:center;gap:15px;padding:0 10px 14px;color:#8290a0;font-size:7px}.fleet-chart-legend span:first-child{color:#2f8cff}.fleet-chart-legend span:nth-child(2){color:#ef4d4d}.fleet-chart-legend span:nth-child(3){color:#f3a315}
.fleet-status-body{min-height:218px;padding:20px 18px;display:grid;grid-template-columns:138px 1fr;align-items:center;gap:20px}.fleet-donut{width:132px;height:132px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#27b968 0 var(--active-end),#ef4d4d var(--active-end) var(--debt-end),#f4a719 var(--debt-end) calc(var(--debt-end) + 12%),#dfe6ed calc(var(--debt-end) + 12%) 100%);position:relative}.fleet-donut:after{content:'';position:absolute;width:80px;height:80px;border-radius:50%;background:#fff}.fleet-donut span{position:relative;z-index:2;text-align:center}.fleet-donut strong,.fleet-donut small{display:block}.fleet-donut strong{font-size:26px}.fleet-donut small{color:#8290a0;font-size:7px}.fleet-status-list{display:grid;gap:12px}.fleet-status-list>a{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;font-size:8px}.fleet-status-list i{width:8px;height:8px;border-radius:50%;background:#27b968}.fleet-status-list i.red{background:#ef4d4d}.fleet-status-list i.amber{background:#f4a719}.fleet-status-list i.gray{background:#8a96a4}.fleet-status-list b{font-size:9px}
.fleet-map-wrap{position:relative;height:218px;background:#eef2f5}.fleet-map-wrap iframe{width:100%;height:100%;border:0;display:none}.fleet-map-wrap.has-map iframe{display:block}.fleet-map-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:20px;text-align:center;color:#738297}.fleet-map-wrap.has-map .fleet-map-placeholder{display:none}.fleet-map-placeholder>span{font-size:29px}.fleet-map-placeholder b{color:#25384f;font-size:11px}.fleet-map-placeholder small{font-size:8px;max-width:220px}
.fleet-list,.fleet-follow{display:grid}.fleet-list>a,.fleet-follow>a{min-height:49px;padding:9px 14px;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;border-bottom:1px solid #edf1f4;transition:.15s}.fleet-list>a:last-child,.fleet-follow>a:last-child{border-bottom:0}.fleet-list>a>span:not(.status),.fleet-follow>a>span{font-size:18px}.fleet-list b,.fleet-list small,.fleet-follow b,.fleet-follow small{display:block}.fleet-list b,.fleet-follow b{color:#20344d;font-size:9px}.fleet-list small,.fleet-follow small{margin-top:2px;color:#8592a1;font-size:7px}.fleet-list i,.fleet-follow i{font-style:normal;color:#8fa0b1;font-size:17px}.fleet-list .status{min-width:48px;justify-content:center}.fleet-follow>a{min-height:51px}.fleet-follow>a>span{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#f4f7fa}
.fleet-dashboard .status{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef7e8;color:#477f22;font-size:7px;font-weight:900}.fleet-dashboard .status.alta,.fleet-dashboard .status.critica{background:#fff0f0;color:#bd3030}
@media(min-width:1200px){body:has(.fleet-dashboard) .portal-shell{grid-template-columns:248px minmax(0,1fr)}body:has(.fleet-dashboard) .portal-sidebar{width:auto;padding:20px 15px}body:has(.fleet-dashboard) .portal-content{padding:22px 20px 34px}body:has(.fleet-dashboard) .portal-top{height:72px;padding:0 22px}.fleet-dashboard.fleet-nexvia{margin-top:0}}
@media(max-width:1250px){.fleet-hero-row{grid-template-columns:1fr 2fr}.fleet-live-card{grid-column:1/-1;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:12px}.fleet-live-card>em{margin:0}.fleet-main-grid{grid-template-columns:1fr 1fr}.fleet-map-panel{grid-column:1/-1}.fleet-lower-grid{grid-template-columns:1fr 1fr}.fleet-lower-grid>article:last-child{grid-column:1/-1}.fleet-actions{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.fleet-hero-row,.fleet-main-grid,.fleet-lower-grid{grid-template-columns:1fr}.fleet-live-card,.fleet-map-panel,.fleet-lower-grid>article:last-child{grid-column:auto}.fleet-kpis{grid-template-columns:1fr 1fr}.fleet-actions{grid-template-columns:1fr 1fr}.fleet-city-hero{min-height:220px}.fleet-city-hero blockquote{display:none}.fleet-hero-car{width:70%}}
@media(max-width:600px){.fleet-kpis,.fleet-actions{grid-template-columns:1fr}.fleet-hero-row{display:block}.fleet-greeting,.fleet-city-hero,.fleet-live-card{margin-bottom:12px}.fleet-greeting h1{font-size:24px}.fleet-live-card{display:flex}.fleet-bars{gap:7px;padding-left:8px;padding-right:8px}.fleet-status-body{grid-template-columns:1fr;justify-items:center}.fleet-status-list{width:100%}.fleet-actions>a{min-height:82px}.fleet-shortcuts-head h2{font-size:17px}}
/* topbar fidelity */
body:has(.fleet-dashboard) .ls-global-search{max-width:480px!important}body:has(.fleet-dashboard) .ls-global-search input{min-height:44px!important;border-radius:12px!important;background:#f8fafc!important}body:has(.fleet-dashboard) .ls-top-alert{width:44px!important;height:44px!important;border-radius:13px!important;background:#f8fafc!important;border:1px solid #e0e7ed!important}.fleet-top-search{width:min(430px,38vw);display:flex;align-items:center;gap:8px;margin-right:auto}.fleet-top-search input{height:40px;margin:0!important;padding:0 14px!important;border-radius:12px!important;background:#f9fbfc!important}.fleet-top-bell{width:39px;height:39px;display:grid;place-items:center;border:1px solid #dfe7ed;border-radius:12px;background:#fff;text-decoration:none}.workspace>header:has(.fleet-top-search){height:66px!important;gap:12px!important}

/* NEXVIA YUM · restaurar identidad visual del ecosistema */
.fleet-dashboard.fleet-nexvia .fleet-hero-car{display:none!important}


/* NEXVIA PERSONAL GREETING V6 */
.nexvia-personal-greeting{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:4px;padding:0 6px;color:#4f5f72;font-size:15px;white-space:nowrap}.nexvia-personal-greeting span{font-weight:500;color:#617083}.nexvia-personal-greeting strong{font-weight:850;color:#11243e}.fleet-topbar .eco-switcher{margin-left:8px}.fleet-topbar .nexvia-personal-greeting+.yum-live-top{margin-left:0}
@media(max-width:1180px){.nexvia-personal-greeting{font-size:13px}.nexvia-personal-greeting strong{max-width:90px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:930px){.nexvia-personal-greeting{display:none}}

/* NEXVIA_HERO_CANONICAL_DARK_V7 · DEV 2026-09-18 */
.fleet-dashboard.fleet-nexvia .fleet-city-hero{
  background:
    linear-gradient(90deg,rgba(6,17,31,.20),rgba(5,13,24,.15)),
    url('yum-popocatepetl-wide.jpg?v=20260918.4') center 52%/cover no-repeat!important;
}
.fleet-dashboard.fleet-nexvia .fleet-city-hero:after{
  background:linear-gradient(90deg,rgba(5,17,31,.55) 0%,rgba(7,20,34,.14) 47%,rgba(10,18,27,.12) 100%)!important;
}
.fleet-dashboard.fleet-nexvia .fleet-hero-copy{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.32)!important}
.fleet-dashboard.fleet-nexvia .fleet-hero-copy small{color:#d9ffbf!important}
.fleet-dashboard.fleet-nexvia .fleet-city-hero blockquote{color:#fff!important;text-shadow:0 2px 9px #000!important}
/* END_NEXVIA_HERO_CANONICAL_DARK_V7 */
