.import-page{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:24px}.import-hero{text-align:center}.import-title{font-size:28px;font-weight:800;background:linear-gradient(135deg,#818cf8,#c084fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:10px}.import-desc{color:var(--text-muted);font-size:15px;line-height:1.6}.fields-hint{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:16px}.field-chip{background:var(--surface2);border:1px solid var(--border);border-radius:100px;padding:4px 12px;font-size:12px;font-weight:500}.dropzone{border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface);padding:60px 32px;cursor:pointer;transition:all .25s ease;text-align:center}.dropzone:hover,.dropzone.drag-over{border-color:var(--primary);background:#6366f114;box-shadow:0 0 0 4px #6366f11f}.dropzone.loading-zone{cursor:wait;pointer-events:none}.drop-inner{display:flex;flex-direction:column;align-items:center;gap:12px}.drop-icon{font-size:52px;filter:drop-shadow(0 0 12px rgba(99,102,241,.5));animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.drop-inner p{font-size:16px;color:var(--text)}.import-error{background:#ef44441a;border:1px solid rgba(239,68,68,.4);border-radius:var(--radius-sm);padding:12px 16px;color:#fca5a5;font-size:14px}.col-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.col-map-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid}.col-map-item.found{background:#10b98114;border-color:#10b9814d}.col-map-item.missing{background:#ef44440f;border-color:#ef444433;opacity:.7}.col-map-icon{font-size:18px;flex-shrink:0}.col-map-field{font-size:12px;font-weight:600;color:var(--text)}.col-map-col{font-size:11px;color:var(--text-muted);margin-top:2px}.import-template-hint{background:#6366f10d;border-color:#6366f133}.preview-page{display:flex;flex-direction:column;gap:20px}.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.preview-title{font-size:22px;font-weight:800;background:linear-gradient(135deg,#818cf8,#c084fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;text-align:center}.stat-number{font-size:32px;font-weight:800;color:var(--primary);line-height:1}.stat-label{font-size:12px;color:var(--text-muted);margin-top:6px}.preview-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}select.input{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:28px;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (max-width: 768px){.stat-grid{grid-template-columns:repeat(2,1fr)}}.config-page{display:flex;flex-direction:column;gap:20px}.config-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.config-title{font-size:22px;font-weight:800;background:linear-gradient(135deg,#818cf8,#c084fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.config-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:start}.bairros-panel{position:sticky;top:16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.panel-heading h3{font-size:14px;font-weight:700}.panel-divider{height:1px;background:var(--border);margin:16px 0}.bairros-list{display:flex;flex-direction:column;gap:6px;max-height:400px;overflow-y:auto}.bairro-tag{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface2);cursor:grab;transition:all .15s;font-size:13px;-webkit-user-select:none;user-select:none}.bairro-tag:hover{border-color:var(--primary);background:#6366f11a}.bairro-tag.dragging{opacity:.4;cursor:grabbing}.bairro-tag.assigned{cursor:default}.bairro-name{font-weight:500;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bairro-count{font-size:11px;color:var(--text-dim);flex-shrink:0;margin-left:8px}.unassign-btn{background:transparent;border:none;color:var(--text-dim);cursor:pointer;font-size:11px;padding:2px 4px;border-radius:4px;transition:all .15s;margin-left:6px}.unassign-btn:hover{color:var(--danger)}.all-assigned{text-align:center;padding:20px;color:var(--success);font-size:13px;font-weight:600}.vehicles-panel{display:flex;flex-direction:column;gap:14px}.add-vehicle-card{padding:16px}.add-vehicle-form{display:flex;gap:10px}.empty-vehicles{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px;color:var(--text-muted);text-align:center}.vehicles-list{display:flex;flex-direction:column;gap:12px}.vehicle-card{transition:border-color .2s,box-shadow .2s;border-left:3px solid var(--vcolor, var(--border))}.vehicle-card.drop-target{box-shadow:0 0 0 2px var(--vcolor, var(--primary));background:#6366f10f}.vehicle-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.vehicle-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.vehicle-name{font-size:15px;font-weight:700;flex:1}.vehicle-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.vehicle-drop-zone{min-height:60px;border:1.5px dashed var(--border);border-radius:var(--radius-sm);padding:10px;transition:border-color .2s}.vehicle-card.drop-target .vehicle-drop-zone{border-color:var(--vcolor, var(--primary))}.drop-hint{text-align:center;color:var(--text-dim);font-size:13px;padding:10px 0}.assigned-bairros-grid{display:flex;flex-wrap:wrap;gap:6px}.assigned-bairro-chip{display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:100px;border:1px solid;font-size:12px}.chip-remove{background:transparent;border:none;color:var(--text-dim);cursor:pointer;font-size:10px;padding:1px;transition:color .15s}.chip-remove:hover{color:var(--danger)}.drop-chip-hint{padding:4px 10px;border-radius:100px;border:1px dashed var(--primary);color:var(--primary);font-size:12px}.config-warning{background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:var(--radius-sm);padding:12px 16px;color:#fcd34d;font-size:13px}@media (max-width: 900px){.config-layout{grid-template-columns:1fr}.bairros-panel{position:static}}.auto-hint{background:#10b9810f;border-color:#10b9814d;font-size:14px;color:var(--text-muted)}.result-page{display:flex;flex-direction:column;gap:20px}.result-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px}.result-title{font-size:22px;font-weight:800;background:linear-gradient(135deg,#34d399,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.route-summary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.route-summary-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--rc, var(--primary));border-radius:var(--radius);padding:16px;cursor:pointer;transition:all .2s}.route-summary-card:hover{border-color:var(--rc, var(--primary));box-shadow:0 4px 20px #0000004d;transform:translateY(-2px)}.rscard-top{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;min-width:0}.rscard-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.rscard-name{font-size:14px;line-height:1.3;font-weight:700;flex:1;min-width:0;word-wrap:break-word;word-break:break-word}.rscard-count{font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0}.rscard-badges{display:flex;gap:6px;margin-left:auto;align-items:center;flex-shrink:0}.rscard-bairros{display:flex;flex-wrap:wrap;gap:4px;min-height:24px;margin-bottom:10px}.rscard-bairro-chip{display:inline-block;padding:2px 8px;border-radius:100px;border:1px solid;font-size:11px;font-weight:500}.rscard-expand-hint{font-size:11px;color:var(--text-dim);text-align:right}.route-detail{border-top:3px solid}.route-detail-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.vehicle-dot-lg{width:14px;height:14px;border-radius:50%;flex-shrink:0}.unassigned-section{border-color:#f59e0b66;background:#f59e0b0a}@media (max-width: 768px){.route-detail-header{flex-direction:column;align-items:flex-start}}.result-stats-line{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:13px;margin-top:4px;flex-wrap:wrap}.rscard-extra{display:flex;gap:12px;font-size:11px;color:var(--text-muted);margin-bottom:6px}.route-totals{display:flex;gap:12px;font-size:12px;font-weight:600;color:var(--text-muted);align-items:center;background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:6px 12px}.kpi-inline-card{display:flex;align-items:center;gap:6px;background:var(--surface2);border:1px solid var(--border);border-radius:8px;padding:6px 10px}.kpi-inline-icon{font-size:16px}.kpi-inline-val{font-size:13px;font-weight:700;color:var(--text)}.kpi-inline-label{font-size:10px;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em}.stop-number{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;color:#fff;font-size:10px;font-weight:800;flex-shrink:0}.leaflet-tooltip{background:var(--bg2, #1e1e2e)!important;color:var(--text, #e2e8f0)!important;border:1px solid var(--border, #2d2d3f)!important;border-radius:6px!important;box-shadow:0 2px 10px #0006!important}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.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::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.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-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;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:visiblePainted;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;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.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}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.map-page{flex:1;display:flex;flex-direction:column}.geo-progress-overlay{flex:1;display:flex;align-items:center;justify-content:center;padding:40px}.geo-progress-card{max-width:500px;width:100%;text-align:center;padding:40px}.geo-progress-card h3{font-size:22px;margin-bottom:12px}.progress-bar-track{width:100%;height:8px;background:var(--surface2);border-radius:4px;margin:16px 0 8px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,var(--primary),var(--success));border-radius:4px;transition:width .3s ease}.map-layout{flex:1;display:grid;grid-template-columns:320px 1fr;gap:0;min-height:0}.map-sidebar{display:flex;flex-direction:column;background:var(--bg2);border-right:1px solid var(--border);overflow-y:auto;max-height:calc(100vh - 130px)}.map-sidebar-header{padding:16px;border-bottom:1px solid var(--border)}.cluster-controls{margin:12px;padding:14px}.cluster-input-row{display:flex;align-items:center;gap:8px}.map-options{padding:0 16px;margin-bottom:8px}.map-checkbox{display:flex;align-items:center;gap:6px;cursor:pointer;color:var(--text-muted)}.map-checkbox input[type=checkbox]{accent-color:var(--primary)}.route-list-section{flex:1;padding:0 12px;overflow-y:auto}.route-list-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s;margin-bottom:2px}.route-list-item:hover{background:var(--surface2)}.route-list-item.active{background:#6366f11a;border:1px solid rgba(99,102,241,.3)}.route-list-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0}.route-list-info{flex:1;min-width:0}.route-list-name{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-list-meta{font-size:11px;color:var(--text-dim)}.route-list-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.route-list-count{font-size:12px;font-weight:700;min-width:24px;text-align:center}.btn-gmaps{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:#10b9811a;border:1px solid rgba(16,185,129,.3);text-decoration:none;font-size:14px;transition:all .15s;cursor:pointer}.btn-gmaps:hover{background:#10b98140;transform:scale(1.1)}.map-sidebar-footer{padding:12px 16px;border-top:1px solid var(--border);margin-top:auto;display:flex;gap:8px;flex-wrap:wrap}.map-route-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:2px}.map-kpi-item{display:flex;align-items:center;gap:8px;background:var(--surface2);border-radius:8px;padding:6px 10px}.eta-list{display:flex;flex-direction:column;gap:4px;max-height:200px;overflow-y:auto}.eta-item{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--border)}.eta-num{width:22px;height:22px;border-radius:50%;color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.eta-info{flex:1;min-width:0;display:flex;flex-direction:column}.eta-time{font-size:11px;font-weight:700;color:var(--accent);flex-shrink:0}.map-container{flex:1;min-height:500px;position:relative}.map-container .leaflet-container{background:#1a1a2e}.label-popup .leaflet-popup-content-wrapper{background:#000000b3;color:#fff;border-radius:3px;padding:1px 4px;box-shadow:none}.label-popup .leaflet-popup-tip{display:none}.label-popup.leaflet-tooltip{background:#000000bf;color:#fff;border:none;border-radius:3px;padding:2px 6px;box-shadow:none;font-size:9px}.label-popup.leaflet-tooltip:before{display:none}.leaflet-popup-content-wrapper,.dark-popup .leaflet-popup-content-wrapper{background:var(--bg2, #1e1e2e)!important;color:var(--text, #e2e8f0)!important;border-radius:var(--radius, 12px)!important;box-shadow:0 4px 24px #0006!important;border:1px solid var(--border, #2d2d3f)!important}.leaflet-popup-tip,.dark-popup .leaflet-popup-tip{background:var(--bg2, #1e1e2e)!important;border:1px solid var(--border, #2d2d3f)!important}.leaflet-popup-close-button{color:var(--text-muted, #94a3b8)!important}.label-tooltip{background:#000000bf!important;color:#fff!important;border:none!important;border-radius:3px!important;padding:2px 6px!important;box-shadow:none!important;font-size:9px!important;font-weight:600}.label-tooltip:before{display:none!important}.map-empty{max-width:500px;margin:60px auto;text-align:center;padding:40px}@media (max-width: 900px){.map-layout{grid-template-columns:1fr}.map-sidebar{max-height:none;border-right:none;border-bottom:1px solid var(--border)}}.map-loading{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-size:14px}.optpanel{padding:0 24px 32px;max-width:900px;margin:0 auto}.optpanel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}.optpanel-title{font-size:22px;font-weight:800;background:linear-gradient(135deg,var(--accent),#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:4px}.opt-status-card{margin-bottom:20px}.optpanel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:16px;margin-bottom:24px}.opt-section{padding:20px}.opt-section-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:14px}.opt-radio-group{display:flex;flex-direction:column;gap:10px}.opt-radio-card{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1.5px solid var(--border);border-radius:10px;cursor:pointer;transition:all .2s;background:var(--surface2)}.opt-radio-card:hover{border-color:var(--accent);background:#6366f10f}.opt-radio-card.selected{border-color:var(--accent);background:#6366f11f;box-shadow:0 0 0 2px #6366f133}.opt-radio-card input[type=radio]{display:none}.opt-radio-icon{font-size:22px;width:32px;text-align:center}.opt-radio-label{font-size:14px;font-weight:600;color:var(--text)}.opt-radio-desc{font-size:11px;color:var(--text-dim);margin-top:2px}.opt-origin-card{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#6366f114;border:1px solid rgba(99,102,241,.3);border-radius:8px;margin-top:8px}.opt-origin-icon{font-size:20px}.opt-fields{display:flex;flex-direction:column;gap:12px}.opt-field{display:flex;flex-direction:column;gap:6px}.opt-label{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.opt-input{max-width:100%}.opt-cache-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:14px;border-top:1px solid var(--border);flex-wrap:wrap;gap:8px}.btn-optimize{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:18px;font-size:16px;font-weight:700;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:14px;cursor:pointer;transition:all .25s;box-shadow:0 4px 20px #6366f159;letter-spacing:.02em}.btn-optimize:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 30px #6366f173}.btn-optimize:disabled{opacity:.65;cursor:not-allowed;transform:none}.spinner{display:inline-block;width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.header{display:flex;align-items:center;justify-content:space-between;padding:0 32px;height:64px;background:var(--bg2);border-bottom:1px solid var(--border);flex-shrink:0}.header-brand{display:flex;align-items:center;gap:12px}.header-logo{font-size:28px;filter:drop-shadow(0 0 8px rgba(99,102,241,.6))}.header-title{font-size:20px;font-weight:800;background:linear-gradient(135deg,#818cf8,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}.header-sub{font-size:11px;color:var(--text-dim);font-weight:400;letter-spacing:.05em}.header-right{display:flex;align-items:center;gap:12px}.app-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.stepper{display:flex;align-items:center;padding:0 32px;background:var(--bg2);border-bottom:1px solid var(--border);overflow-x:auto;gap:0}.step-btn{display:flex;align-items:center;gap:8px;padding:14px 20px;background:transparent;border:none;border-bottom:3px solid transparent;color:var(--text-muted);font-family:var(--font);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;margin-bottom:-1px}.step-btn:hover:not(.disabled){color:var(--text)}.step-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.step-btn.disabled{opacity:.35;cursor:not-allowed}.step-icon{font-size:16px}.step-divider{flex:0 0 32px;height:1px;background:var(--border);margin:0 4px;transition:background .3s}.step-divider.done{background:var(--primary)}.main-content{flex:1;padding:32px;overflow-y:auto;max-width:1400px;margin:0 auto;width:100%}@media (max-width: 768px){.main-content{padding:16px}.stepper{padding:0 16px}.step-label{display:none}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--primary: #6366f1;--primary-dark: #4f46e5;--primary-light: #e0e7ff;--accent: #f59e0b;--success: #10b981;--danger: #ef4444;--bg: #0f0f1a;--bg2: #16162a;--bg3: #1e1e35;--surface: #24243e;--surface2: #2e2e50;--border: #3a3a5c;--text: #e2e8f0;--text-muted: #94a3b8;--text-dim: #64748b;--radius: 12px;--radius-sm: 8px;--shadow: 0 4px 24px rgba(0,0,0,.4);--shadow-sm: 0 2px 8px rgba(0,0,0,.3);--font: "Inter", system-ui, sans-serif}html,body{height:100%;font-family:var(--font);background:var(--bg);color:var(--text)}#root{height:100%;display:flex;flex-direction:column}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg2)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:var(--radius-sm);border:none;font-family:var(--font);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 16px #6366f166}.btn-secondary{background:var(--surface2);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--surface);border-color:var(--primary)}.btn-success{background:var(--success);color:#fff}.btn-success:hover{background:#059669;transform:translateY(-1px)}.btn-danger{background:transparent;color:var(--danger);border:1px solid var(--danger)}.btn-danger:hover{background:var(--danger);color:#fff}.btn-accent{background:var(--accent);color:#1a1100}.btn-accent:hover{background:#d97706;transform:translateY(-1px)}.btn-sm{padding:6px 12px;font-size:12px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm)}.badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 10px;border-radius:100px;font-size:12px;font-weight:600}.input{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;color:var(--text);font-family:var(--font);font-size:14px;transition:border-color .2s}.input:focus{outline:none;border-color:var(--primary)}.input::placeholder{color:var(--text-dim)}.table-wrap{overflow-x:auto;border-radius:var(--radius)}table{width:100%;border-collapse:collapse;font-size:13px}thead th{background:var(--bg2);color:var(--text-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.05em;padding:10px 14px;position:sticky;top:0;z-index:1;border-bottom:1px solid var(--border)}tbody tr{border-bottom:1px solid var(--border);transition:background .15s}tbody tr:hover{background:var(--surface2)}tbody td{padding:10px 14px;color:var(--text)}.tag{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:100px;font-size:12px;font-weight:500;background:var(--surface2);border:1px solid var(--border);cursor:pointer;transition:all .15s}.tag:hover{border-color:var(--primary);color:var(--primary)}.tag.assigned{border-color:transparent;color:#fff}@keyframes fadeUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.fade-up{animation:fadeUp .3s ease forwards}@keyframes spin{to{transform:rotate(360deg)}}.spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}.text-muted{color:var(--text-muted)}.text-dim{color:var(--text-dim)}.text-success{color:var(--success)}.text-danger{color:var(--danger)}.text-accent{color:var(--accent)}.text-primary{color:var(--primary)}.gap-2{gap:8px}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.flex-wrap{flex-wrap:wrap}.grow{flex-grow:1}.w-full{width:100%}.mt-2{margin-top:8px}.mt-4{margin-top:16px}
