/* Mesma identidade do CANHOTO VUE. Mapa e lista permanecem úteis separadamente. */
#entregas_vue .en-abas-rota { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
#entregas_vue .en-abas-rota [role=tab] { flex: 1 0 auto; position: relative; font-size: 14px; }
#entregas_vue .en-abas-rota [aria-selected=true]::after { content: ''; position: absolute; inset: auto 12px 3px; border-bottom: 3px solid currentColor; }
#entregas_vue :focus-visible { outline: 3px solid #142033; outline-offset: 3px; }
#entregas_vue .en-mapa-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#entregas_vue .en-mapa-toolbar .dv-actions { margin: 0; }
#entregas_vue .en-mapa-toolbar p { margin: 3px 0; }
#entregas_vue .en-mapa-gps { padding: 9px 12px; border-left: 4px solid #245fe5; background: #edf3ff; font-size: 13px; }
#entregas_vue .en-mapa-gps.impreciso { border-color: #b45309; background: #fff2d7; color: #714300; }
#entregas_vue .en-mapa-tracking { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 10px 12px; border-left: 4px solid #187347; background: #eef8f1; }
#entregas_vue .en-mapa-tracking p { margin: 0; flex: 1 1 200px; font-size: 13px; overflow-wrap: anywhere; }
#entregas_vue .en-mapa-tracking p.impreciso { color: #714300; }
#entregas_vue .en-mapa-tracking button { min-height: 42px; font-size: 13px; }
#entregas_vue .en-mapa-origem { font-size: 12px; }
#entregas_vue .en-mapa-truck { background: transparent; border: 0; }
#entregas_vue .en-mapa-truck span { display: grid; place-items: center; width: 38px; height: 34px; border: 2px solid #fff; border-radius: 9px; background: #187347; box-shadow: 0 2px 6px #0005; font-size: 23px; }
#entregas_vue .en-mapa-truck.antigo span { background: #7b6a4d; filter: grayscale(1); }
#entregas_vue .en-mapa-legenda .caminhao { color: #187347; }
#entregas_vue .en-mapa-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#entregas_vue .en-mapa-grid > div { min-width: 0; }
#entregas_vue .en-mapa-canvas { height: clamp(290px, 48svh, 560px); background: #e9edf0; border: 1px solid #bdc9da; border-radius: 12px; isolation: isolate; z-index: 0; }
#entregas_vue .en-mapa-legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 600; }
#entregas_vue .en-mapa-legenda .pendente { color: #9a4708; }
#entregas_vue .en-mapa-legenda .entregue { color: #187347; }
#entregas_vue .en-mapa-legenda .ocorrencia { color: #a12a39; }
#entregas_vue .en-mapa-legenda .posicao { color: #245fe5; }
#entregas_vue .en-mapa-detalhe { border-left: 4px solid #245fe5; padding: 12px; background: #f4f7fc; }
#entregas_vue .en-mapa-detalhe h3 { margin-top: 0; }
#entregas_vue .en-mapa-detalhe p { font-size: 14px; }
#entregas_vue .en-mapa-item { display: flex; width: 100%; text-align: left; justify-content: flex-start; gap: 12px; margin: 6px 0; background: #f4f7fc; color: #142033; border: 1px solid #dee3eb; }
#entregas_vue .en-mapa-item[aria-pressed=true] { border: 2px solid #245fe5; padding: 10px 13px; }
#entregas_vue .en-mapa-item > span:last-child { min-width: 0; }
#entregas_vue .en-mapa-item strong { display: block; overflow-wrap: anywhere; font-size: 14px; }
#entregas_vue .en-mapa-item small { display: block; font-size: 12px; font-weight: 400; color: #566579; }
#entregas_vue .en-mapa-num { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #b45309; color: #fff; font-size: 13px; }
#entregas_vue .en-mapa-num.entregue { background: #187347; }
#entregas_vue .en-mapa-num.ocorrencia { background: #a12a39; }
#entregas_vue .en-mapa-pin { background: transparent; border: none; }
#entregas_vue .en-mapa-pin span { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid #fff; border-radius: 50% 50% 50% 4px; background: var(--pin); color: #fff; font: 700 14px system-ui; box-shadow: 0 2px 5px #0005; }
#entregas_vue .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; background: #fff; color: #142033; }
#entregas_vue .leaflet-control-attribution { font: 11px/1.5 system-ui; background: #fff; color: #142033; }
#entregas_vue .leaflet-control-attribution a { color: #1748a9; }
#entregas_vue .leaflet-tooltip { font: 13px/1.5 system-ui; }
#entregas_vue [data-map-rede]:empty { display: none; }
@media (min-width: 900px) {
  #entregas_vue .en-mapa-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
  #entregas_vue .en-mapa-canvas { height: 560px; }
  #entregas_vue .en-mapa-clientes { max-height: 380px; overflow-y: auto; padding: 3px; }
}
@media (max-width: 420px) {
  #entregas_vue .en-abas-rota [role=tab] { padding-inline: 10px; }
  #entregas_vue .en-mapa-toolbar .dv-actions { width: 100%; }
  #entregas_vue .en-mapa-toolbar .dv-actions button { flex: 1; font-size: 14px; }
}
