/* Solo GPS. Nunca cambia la visibilidad de los modales. */
#modalGps .gps22-menu .gps22-menu-item,
#modalGps .gps22-presentacion .gps22-ingresar,
#modalGpsPlanificador :is(.gps21-btn,.gps21-mini,.gps21-place,.gps38-tab,.gps39-search-btn),
#modalHistorialMarcasGps .gps21-btn,#modalHistorialTraslados button,
#modalTraslados :is(.gps-live-actions button,.esm-gps-monitor-actions button),
#modalGpsMarcas :is(.gps-marcas-project,.gps-marcas-oficial-card) {
  background:#172a45!important;background-image:none!important;color:#f8fafc!important;
  border:1px solid #516d90!important;text-shadow:none!important;box-shadow:0 3px 10px #0003!important;
}
#modalGps .gps22-menu .gps22-menu-item :is(strong,span,b) {color:#f8fafc!important;opacity:1!important;text-shadow:none!important}
#modalGps .gps22-menu .gps22-menu-item small {color:#cbd5e1!important;opacity:1!important}
#modalGps .gps22-menu .gps22-menu-item:is(.activo,:hover),#modalGps .gps22-presentacion .gps22-ingresar,
#modalGpsPlanificador :is(.gps21-btn.primary,.gps38-tab.activo,.gps39-search-btn) {background:#1e40af!important;border-color:#93b4ff!important;color:#fff!important}
#modalGpsPlanificador button:disabled {opacity:.55!important;cursor:not-allowed}
#modalGpsPlanificador :is(.gps21-input,input,select) {background:#091526!important;color:#f8fafc!important;border-color:#526984!important}
#modalGpsPlanificador input::placeholder {color:#a8b9cf!important;opacity:1}
#modalGpsPlanificador :is(.gps21-section,.gps21-stop,.gps21-order-item,.gps21-summary,.gps37-location),
#modalHistorialMarcasGps .gps21-mark,#modalHistorialTraslados .historial-traslado-card {background:#111f34!important;border-color:#3d5776!important;color:#f8fafc!important;box-shadow:none!important}
#modalGpsPlanificador :is(.gps21-place,.gps21-stop,.gps21-order-item) {min-width:0;height:auto!important}
#modalGpsPlanificador :is(.gps21-stop-top strong,.gps21-stop-top small,.gps21-order-item strong,.gps21-order-item small,.gps21-time) {white-space:normal!important;overflow-wrap:anywhere}
#modalGpsPlanificador .gps21-stop-top>div {min-width:0}
#modalGpsPlanificador .gps21-order-item {grid-template-columns:32px minmax(0,1fr)!important;gap:10px!important}
#modalGpsPlanificador .gps21-time {grid-column:2;text-align:left!important;color:#dbeafe!important;font-size:12px!important}
#modalGpsPlanificador :is(label,.gps21-type,.gps37-search-note,.gps21-coord,.gps21-summary span,.gps21-status),
#modalGps .gps22-informacion :is(p,li,small,span),#modalHistorialTraslados .historial-traslado-card span {color:#cbd5e1!important;font-size:max(12px,.75rem)!important;line-height:1.5!important}
#modalGpsPlanificador :is(.gps21-order-item strong,.gps21-summary strong,.gps21-section h3,.gps21-place strong) {color:#fff!important}
#modalGpsPlanificador :is(.gps38-auto,.gps21-status.ok) {color:#a7f3d0!important}
#modalGpsPlanificador :is(.gps21-status.error,.gps21-coord.missing) {color:#fecaca!important}
#modalGpsPlanificador .gps21-num {background:#1e40af!important;color:#fff!important;box-shadow:none!important}
#modalGpsPlanificador .gps21-mini.danger {background:#591e2b!important;color:#fff!important}
#modalGps .gps22-informacion {background:linear-gradient(135deg,#111f34f5,#081323ef)!important;color:#f8fafc!important}
.gps42-opciones {display:grid;gap:8px;margin-top:10px}
#modalGpsPlanificador .gps42-candidato {text-align:left;display:grid;gap:5px;width:100%;padding:12px;background:#172a45!important;border:1px solid #6785b0!important;border-radius:10px;color:#fff!important;white-space:normal;box-shadow:none!important}
#modalGpsPlanificador .gps42-candidato:hover {background:#1e40af!important}
.gps42-candidato small,.gps42-opciones>small {color:#cbd5e1;line-height:1.4}
.gps42-candidato span {font-size:12px;color:#bfdbfe}
.gps42-opciones input {margin-top:6px;width:100%;box-sizing:border-box}
#modalTraslados:not(.oculto)[data-esm-gps-centro="1"] .esm-gps-monitor-route [data-eta-id] {grid-column:1/-1;color:#e2e8f0!important;background:transparent!important;font-size:12px!important;white-space:normal!important;border-radius:0!important;line-height:1.4}
#modalTraslados:not(.oculto)[data-esm-gps-centro="1"] .esm-gps-monitor-route span {font-size:11px!important}
:is(#modalGps,#modalGpsPlanificador,#modalHistorialTraslados,#modalHistorialMarcasGps) button:focus-visible {outline:3px solid #bfdbfe;outline-offset:3px}
