:root{--rp-bg:#06101d;--rp-panel:#0b1727;--rp-panel-2:#0f2034;--rp-border:rgba(112,172,232,.2);--rp-text:#eaf5ff;--rp-muted:#91a9c3;--rp-blue:#168cff;--rp-orange:#ff7a1a;--rp-green:#31d089;--rp-shadow:0 22px 60px rgba(0,0,0,.32)}
html[data-theme="light"]{--rp-bg:#eef6fd;--rp-panel:#fff;--rp-panel-2:#f5faff;--rp-border:rgba(29,96,158,.16);--rp-text:#10283f;--rp-muted:#5c748c;--rp-shadow:0 20px 45px rgba(31,75,118,.14)}
*{box-sizing:border-box}.route-page{margin:0;background:var(--rp-bg);color:var(--rp-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.route-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr}.route-topbar{height:72px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rp-border);background:color-mix(in srgb,var(--rp-panel) 90%,transparent);backdrop-filter:blur(18px);position:sticky;top:0;z-index:1200}.route-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--rp-text)}.route-brand strong{font-size:1.35rem;letter-spacing:-.04em}.route-brand small{display:block;color:var(--rp-muted);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase}.brand-guia{color:#1486d8}.brand-logg{color:#f47a20}.route-top-actions{display:flex;align-items:center;gap:10px}.route-link,.route-icon-btn{border:1px solid var(--rp-border);background:var(--rp-panel-2);color:var(--rp-text);border-radius:12px;height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.route-icon-btn{width:42px;padding:0}.route-workspace{display:grid;grid-template-columns:minmax(330px,390px) minmax(0,1fr);min-height:calc(100vh - 72px)}.route-sidebar{background:var(--rp-panel);border-right:1px solid var(--rp-border);padding:18px;overflow:auto;max-height:calc(100vh - 72px)}.route-sidebar h1{font-size:1.35rem;margin:0 0 6px}.route-sidebar-intro{font-size:.88rem;color:var(--rp-muted);line-height:1.5;margin:0 0 14px}.route-form{display:grid;gap:12px}.route-form-section{border:1px solid var(--rp-border);background:var(--rp-panel-2);border-radius:16px;padding:13px}.route-form-section>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.route-form-section h2{font-size:.93rem;margin:0}.route-step{width:24px;height:24px;border-radius:8px;background:rgba(22,140,255,.15);color:var(--rp-blue);display:grid;place-items:center;font-size:.75rem;font-weight:800}.route-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.route-field{display:grid;gap:5px}.route-field--wide{grid-column:1/-1}.route-field span{font-size:.72rem;color:var(--rp-muted);font-weight:700}.route-field input,.route-field select{width:100%;height:38px;border:1px solid var(--rp-border);border-radius:10px;background:color-mix(in srgb,var(--rp-panel) 82%,transparent);color:var(--rp-text);padding:0 10px;outline:none}.route-field input:focus,.route-field select:focus{border-color:var(--rp-blue);box-shadow:0 0 0 3px rgba(22,140,255,.13)}.route-field select:disabled{opacity:.55}.route-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.78rem;color:var(--rp-muted);padding:8px 0}.route-switch input{width:38px;height:21px;accent-color:var(--rp-blue)}.route-toggle-advanced{width:100%;border:0;background:transparent;color:var(--rp-blue);font-weight:800;cursor:pointer;text-align:left;padding:4px 0}.route-submit{height:44px;border:0;border-radius:12px;background:linear-gradient(135deg,#0d82eb,#22a2ff);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 10px 26px rgba(22,140,255,.22)}.route-status{min-height:38px;border-radius:11px;padding:10px 12px;background:rgba(22,140,255,.08);color:var(--rp-muted);font-size:.78rem;line-height:1.35}.route-status[data-type="error"]{background:rgba(255,87,87,.11);color:#ff9c9c}.route-status[data-type="success"]{background:rgba(49,208,137,.1);color:#7ee5b8}.route-main{position:relative;min-width:0;display:grid;grid-template-rows:minmax(520px,1fr) auto;background:#07121f}.route-map-wrap{position:relative;min-height:520px}.route-map{position:absolute;inset:0}.route-map-overlay{position:absolute;top:16px;left:16px;z-index:500;display:flex;gap:8px;pointer-events:none}.route-map-chip{background:rgba(7,18,31,.88);border:1px solid rgba(120,181,235,.22);color:#dceeff;border-radius:999px;padding:8px 12px;font-size:.73rem;backdrop-filter:blur(12px)}.route-results{background:var(--rp-panel);border-top:1px solid var(--rp-border);padding:14px 18px}.route-results[hidden]{display:none}.route-results-grid{display:grid;grid-template-columns:1.25fr repeat(5,minmax(100px,1fr));gap:10px}.route-result-card{border:1px solid var(--rp-border);border-radius:13px;background:var(--rp-panel-2);padding:10px 12px;min-width:0}.route-result-card small{display:block;color:var(--rp-muted);font-size:.67rem;margin-bottom:4px}.route-result-card strong{font-size:.88rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-result-card--total{background:linear-gradient(135deg,rgba(22,140,255,.14),rgba(255,122,26,.08));border-color:rgba(22,140,255,.34)}.route-result-card--total strong{font-size:1.05rem;color:#4fb0ff}.route-breakdown{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}.route-breakdown span{font-size:.7rem;color:var(--rp-muted)}.route-breakdown strong{display:block;color:var(--rp-text);font-size:.8rem;margin-top:3px}.route-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.route-action{height:38px;border-radius:10px;border:1px solid var(--rp-border);background:var(--rp-panel-2);color:var(--rp-text);padding:0 12px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;font-weight:750;font-size:.76rem}.route-action--primary{background:linear-gradient(135deg,#0d82eb,#22a2ff);border:0;color:#fff}.route-toll-note{margin:8px 0 0;color:var(--rp-muted);font-size:.7rem}.route-pin{display:block;width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 8px 20px rgba(0,0,0,.3)}.route-pin i{position:absolute;width:10px;height:10px;background:#fff;border-radius:50%;left:10px;top:10px}.route-pin--origin{background:var(--rp-blue)}.route-pin--destination{background:var(--rp-orange)}.route-vehicle-icon{background:transparent!important;border:0!important}.route-vehicle-icon img{width:74px;height:42px;object-fit:contain;filter:drop-shadow(0 8px 6px rgba(0,0,0,.45));transform:translateZ(0)}.route-toll-marker{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#ffb21a;color:#122033;font-weight:900;border:3px solid #fff;box-shadow:0 6px 16px rgba(0,0,0,.3)}.route-path{animation:routeDash 1.2s linear infinite}@keyframes routeDash{to{stroke-dashoffset:-44}}.leaflet-container{background:#0a1726}.leaflet-control-zoom a{background:rgba(7,18,31,.92)!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important}.leaflet-control-attribution{font-size:9px!important}.route-loading{position:absolute;inset:0;display:none;place-items:center;background:rgba(5,13,23,.5);z-index:800;backdrop-filter:blur(4px)}.route-loading.is-active{display:grid}.route-loading span{padding:12px 16px;border-radius:12px;background:var(--rp-panel);border:1px solid var(--rp-border)}
@media(max-width:980px){.route-workspace{grid-template-columns:1fr}.route-sidebar{max-height:none;border-right:0;border-bottom:1px solid var(--rp-border)}.route-main{min-height:720px}.route-results-grid{grid-template-columns:repeat(3,1fr)}.route-breakdown{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.route-topbar{padding:0 12px;height:62px}.route-brand small{display:none}.route-top-actions .route-link{display:none}.route-workspace{min-height:calc(100vh - 62px)}.route-sidebar{padding:12px}.route-grid{grid-template-columns:1fr}.route-field--wide{grid-column:auto}.route-main{grid-template-rows:520px auto}.route-results-grid,.route-breakdown{grid-template-columns:1fr 1fr}.route-result-card:first-child{grid-column:1/-1}.route-result-actions{display:grid;grid-template-columns:1fr 1fr}.route-action{width:100%}}
@media print{.route-topbar,.route-sidebar,.leaflet-control-container,.route-result-actions{display:none!important}.route-workspace{display:block}.route-main{display:block}.route-map-wrap{height:420px}.route-results{border:0}.route-page{background:#fff;color:#111}.route-result-card{background:#fff;border:1px solid #ddd;color:#111}.route-result-card strong,.route-breakdown strong{color:#111}}

/* Sprint 5.2 — pedágios, timeline, fullscreen e persistência */
.route-map-chip--button{pointer-events:auto;border:1px solid rgba(120,181,235,.22);cursor:pointer}
.route-map-wrap:fullscreen{background:#07121f}.route-map-wrap:fullscreen .route-map{position:absolute;inset:0}.route-map-wrap:fullscreen .route-map-overlay{z-index:1001}
.route-vehicle-rotator{display:block;width:74px;height:42px;transform-origin:50% 50%;transition:transform .12s linear}.route-vehicle-rotator img{width:100%;height:100%;object-fit:contain}
.route-timeline{border-top:1px solid var(--rp-border);background:var(--rp-panel);padding:12px 18px}.route-timeline[hidden]{display:none}.route-timeline>header{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:10px}.route-timeline>header small{display:block;color:var(--rp-blue);font-size:.64rem;font-weight:850;letter-spacing:.12em}.route-timeline>header strong{display:block;font-size:.9rem;margin-top:2px}.route-timeline>header>span{font-size:.72rem;color:var(--rp-muted)}.route-timeline-track{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px;scrollbar-width:thin}.route-timeline-event{min-width:190px;display:flex;gap:9px;align-items:flex-start;border:1px solid var(--rp-border);border-radius:12px;background:var(--rp-panel-2);padding:9px}.route-timeline-event>span{width:24px;height:24px;flex:0 0 24px;border-radius:8px;display:grid;place-items:center;background:rgba(22,140,255,.14);color:var(--rp-blue);font-weight:900;font-size:.7rem}.route-timeline-event--toll>span{background:rgba(255,178,26,.15);color:#ffb21a}.route-timeline-event--destination>span{background:rgba(255,122,26,.15);color:var(--rp-orange)}.route-timeline-event strong{display:block;font-size:.76rem}.route-timeline-event small{display:block;color:var(--rp-muted);font-size:.66rem;line-height:1.35;margin-top:3px}
.route-drawer{position:fixed;inset:0;z-index:3000;pointer-events:none;opacity:0;transition:opacity .2s ease}.route-drawer.is-open{pointer-events:auto;opacity:1}.route-drawer-backdrop{position:absolute;inset:0;background:rgba(1,7,14,.62);backdrop-filter:blur(4px)}.route-drawer-panel{position:absolute;top:0;right:0;width:min(420px,92vw);height:100%;background:var(--rp-panel);border-left:1px solid var(--rp-border);box-shadow:-20px 0 50px rgba(0,0,0,.3);padding:18px;transform:translateX(100%);transition:transform .24s ease}.route-drawer.is-open .route-drawer-panel{transform:none}.route-drawer-panel>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--rp-border);padding-bottom:12px}.route-drawer-panel small{color:var(--rp-blue);font-weight:850;letter-spacing:.12em}.route-drawer-panel h2{font-size:1.1rem;margin:3px 0 0}.route-drawer-panel>header button{width:36px;height:36px;border:1px solid var(--rp-border);border-radius:10px;background:var(--rp-panel-2);color:var(--rp-text);font-size:1.2rem;cursor:pointer}.route-saved-list{display:grid;gap:9px;margin-top:12px;overflow:auto;max-height:calc(100vh - 95px)}.route-saved-item{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--rp-border);border-radius:12px;background:var(--rp-panel-2);padding:10px}.route-saved-item>div{min-width:0;flex:1}.route-saved-item small,.route-saved-item span{display:block;color:var(--rp-muted);font-size:.67rem}.route-saved-item strong{display:block;font-size:.76rem;line-height:1.35;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-saved-item button{border:0;background:transparent;color:var(--rp-muted);font-size:1rem;cursor:pointer}.route-empty{color:var(--rp-muted);font-size:.8rem}
@media(max-width:640px){.route-timeline{padding:10px 12px}.route-timeline-event{min-width:160px}.route-top-actions{gap:6px}.route-icon-btn{width:38px}}

/* Sprint 5.2.1 — fallback estrutural do Leaflet.
   Mantém os tiles, panes e controles alinhados mesmo se o CSS externo atrasar
   ou for recusado pelo navegador/CDN. */
.leaflet-container{overflow:hidden;outline:0;-webkit-tap-highlight-color:transparent}
.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box{position:absolute;left:0;top:0}
.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}
.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}
.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}
.leaflet-tile{filter:inherit;visibility:hidden}
.leaflet-tile-loaded{visibility:inherit}
.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}
.leaflet-overlay-pane svg{-moz-user-select:none}
.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}
.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}
.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}
.leaflet-control{position:relative;z-index:800;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}
.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}
.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive{cursor:grabbing}
.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.35);border-radius:8px;overflow:hidden}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:30px;height:30px;line-height:30px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a:last-child{border-bottom:none}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:bold 18px 'Lucida Console',Monaco,monospace}
.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;overflow:hidden;box-sizing:border-box;background:rgba(255,255,255,.75);color:#222}.leaflet-control-attribution{padding:0 5px;background:rgba(255,255,255,.75);color:#333}.leaflet-control-attribution a{text-decoration:none}
.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px;background:#fff;color:#222;box-shadow:0 3px 14px rgba(0,0,0,.35)}.leaflet-popup-content{margin:13px 20px;line-height:1.45}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;transform:rotate(45deg);background:#fff;box-shadow:3px 3px 8px rgba(0,0,0,.18)}.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}
.route-map.leaflet-container{width:100%;height:100%;isolation:isolate}
.route-map-wrap.is-map-loading::after{content:'Carregando mapa rodoviário…';position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:900;padding:12px 16px;border:1px solid var(--rp-border);border-radius:12px;background:rgba(7,18,31,.92);color:#dceeff;font-size:.78rem;box-shadow:0 12px 34px rgba(0,0,0,.3)}
.route-map-wrap.is-map-ready::after{display:none}


/* Sprint 5.3 — opções de rota e diagnóstico de serviços */
.route-alternatives{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:11px}.route-alternative{border:1px solid var(--rp-border);border-radius:13px;background:var(--rp-panel-2);padding:10px 12px;color:var(--rp-text);text-align:left;cursor:pointer;transition:.2s ease}.route-alternative:hover{border-color:rgba(22,140,255,.55);transform:translateY(-1px)}.route-alternative.is-active{border-color:var(--rp-blue);box-shadow:0 0 0 3px rgba(22,140,255,.12);background:linear-gradient(135deg,rgba(22,140,255,.13),var(--rp-panel-2))}.route-alternative small{display:block;color:var(--rp-muted);font-size:.66rem}.route-alternative strong{display:block;font-size:.86rem;margin:3px 0}.route-alternative span{display:block;color:var(--rp-muted);font-size:.72rem}.route-service-badge{display:inline-flex;align-items:center;gap:6px}.route-service-badge::before{content:'';width:7px;height:7px;border-radius:50%;background:#31d089;box-shadow:0 0 10px rgba(49,208,137,.7)}.route-status[data-type="warning"]{background:rgba(255,178,26,.11);color:#ffd175}
@media(max-width:760px){.route-alternatives{grid-template-columns:1fr}}

/* Sprint 5.4 — simulação e relatório */
.route-live-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;padding:9px;border:1px solid var(--rp-border);border-radius:12px;background:color-mix(in srgb,var(--rp-panel-2) 88%,transparent)}
.route-live-strip[hidden]{display:none}.route-live-strip span{min-width:0;padding:7px 9px;border-radius:9px;background:color-mix(in srgb,var(--rp-panel) 80%,transparent)}.route-live-strip small{display:block;color:var(--rp-muted);font-size:.62rem;margin-bottom:3px}.route-live-strip strong{display:block;color:var(--rp-text);font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-vehicle-rotator{transition:none!important;will-change:transform;backface-visibility:hidden;transform-style:preserve-3d}.route-vehicle-icon{will-change:transform}.route-map-wrap.is-simulating .route-map-chip[data-sim-status]{border-color:rgba(49,208,137,.42);color:#7ee5b8}
@media(max-width:640px){.route-live-strip{grid-template-columns:1fr 1fr}}
@media print{.route-live-strip{display:grid!important}.route-timeline{display:block!important}.route-map-wrap{break-inside:avoid}.route-results{break-inside:avoid}.route-page::before{content:'GUIALOGG — Relatório de Rota e Estimativa de Frete';display:block;font-size:18pt;font-weight:800;margin:0 0 12px;color:#0d68b1}.route-page::after{content:'Estimativa preliminar. Confirme valores, pedágios, restrições e condições operacionais antes da contratação.';display:block;font-size:8pt;color:#555;margin-top:12px}}

/* Sprint 5.4.1 — veículo horizontal + ponto de movimento */
.route-vehicle-icon{background:transparent!important;border:0!important;overflow:visible!important}
.route-vehicle-shell{display:block;width:60px;height:36px;transform-origin:50% 50%;will-change:transform;backface-visibility:hidden;filter:drop-shadow(0 6px 5px rgba(0,0,0,.42))}
.route-vehicle-shell img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto;transform:translateZ(0);filter:contrast(1.08) saturate(1.04)}
/* Os PNGs originais apontam para a esquerda. Na ida, espelhamos para a direita. */
.route-vehicle-shell[data-direction="forward"]{transform:scaleX(-1)}
.route-vehicle-shell[data-direction="reverse"]{transform:scaleX(1)}
.route-motion-icon{background:transparent!important;border:0!important;overflow:visible!important}
.route-motion-dot{display:block;width:12px;height:12px;border-radius:999px;background:#1698ff;border:2px solid #e9f7ff;box-shadow:0 0 0 5px rgba(22,152,255,.22),0 0 18px rgba(22,152,255,.9);animation:routeMotionPulse 1.35s ease-in-out infinite}
@keyframes routeMotionPulse{0%,100%{transform:scale(.86);opacity:.9}50%{transform:scale(1.12);opacity:1}}
@media (max-width:760px){.route-vehicle-shell{width:52px;height:31px}.route-vehicle-icon{margin-left:4px}.route-motion-dot{width:10px;height:10px}}
.route-motion-dot{position:relative;top:16px}


/* Sprint 5.4.2 — veículo HD horizontal + ponto de referência separado */
.route-vehicle-icon{background:transparent!important;border:0!important;overflow:visible!important;pointer-events:none!important}
.route-vehicle-shell{
  position:relative;
  display:block;
  width:56px;
  height:38px;
  transform-origin:50% 50%;
  will-change:transform;
  backface-visibility:hidden;
  transform-style:preserve-3d;
  isolation:isolate;
}
.route-vehicle-shell img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  image-rendering:auto;
  -webkit-font-smoothing:antialiased;
  transform:translateZ(0);
  filter:contrast(1.12) saturate(1.06) brightness(1.03) drop-shadow(0 5px 5px rgba(0,0,0,.48));
  user-select:none;
  -webkit-user-drag:none;
}
.route-vehicle-shadow{
  position:absolute;
  z-index:0;
  left:8px;
  right:5px;
  bottom:4px;
  height:8px;
  border-radius:50%;
  background:rgba(0,0,0,.38);
  filter:blur(4px);
}
/* Reforço escuro atrás da cabine para impedir o mapa de “vazar” visualmente pelos vidros. */
.route-windshield-shield{
  position:absolute;
  z-index:1;
  left:5px;
  top:10px;
  width:18px;
  height:10px;
  border-radius:4px 3px 3px 4px;
  background:linear-gradient(135deg,#07111c 0%,#112637 60%,#07111c 100%);
  opacity:.96;
  pointer-events:none;
}
.route-vehicle-shell[data-direction="forward"]{transform:scaleX(-1)}
.route-vehicle-shell[data-direction="reverse"]{transform:scaleX(1)}
.route-motion-icon{background:transparent!important;border:0!important;overflow:visible!important;pointer-events:none!important}
.route-motion-dot{
  display:block;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#118cff;
  border:3px solid rgba(222,245,255,.96);
  box-shadow:0 0 0 5px rgba(17,140,255,.2),0 0 18px 7px rgba(17,140,255,.66);
  animation:routeMotionPulse 1.55s ease-in-out infinite;
}
@keyframes routeMotionPulse{
  0%,100%{transform:scale(.92);box-shadow:0 0 0 4px rgba(17,140,255,.18),0 0 14px 5px rgba(17,140,255,.5)}
  50%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(17,140,255,.08),0 0 22px 8px rgba(17,140,255,.72)}
}
@media (max-width:760px){
  .route-vehicle-shell{width:50px;height:34px}
  .route-windshield-shield{left:5px;top:9px;width:16px;height:9px}
  .route-motion-dot{width:11px;height:11px;border-width:2px}
}
