.route-visualizer{padding:20px;background:#f8f9fa;border-radius:8px}.visualizer-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:15px;background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 4px #0000001a}.visualizer-header h2{margin:0;color:#1f2937;font-size:24px}.controls{display:flex;gap:10px;align-items:center}.date-select,.tech-select{padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;cursor:pointer;background:#fff}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{cursor:pointer;width:18px;height:18px}.btn-refresh{padding:8px 16px;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background .3s}.btn-refresh:hover{background:#2563eb}.btn-export{padding:8px 16px;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background .3s;font-weight:600}.btn-export:hover{background:#059669}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:20px}.stat-box{background:#fff;padding:10px;border-radius:8px;text-align:center;box-shadow:0 2px 4px #0000000d;border-left:4px solid #3b82f6}.stat-icon{font-size:18px;margin-bottom:4px}.stat-value{font-size:16px;font-weight:700;color:#1f2937;margin-bottom:3px}.stat-label{font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.3px;line-height:1.2}.visualizations-container{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.visualization-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.card-header{padding:15px;background:#f3f4f6;border-bottom:1px solid #e5e7eb;font-weight:600;color:#1f2937;font-size:15px}.map-container{padding:10px;height:1100px}.map-container iframe{box-shadow:inset 0 2px 4px #0000001a}.gantt-container{padding:10px;height:1100px;overflow-y:auto}.gantt-container svg{width:100%;height:auto}.gantt-container iframe{width:100%;height:100%;display:block}.visualization-legend{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 4px #0000000d;margin-bottom:20px}.legend-title{font-weight:600;color:#1f2937;margin-bottom:15px;font-size:14px}.legend-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.legend-item{display:flex;align-items:center;gap:10px;font-size:14px}.legend-badge{display:inline-block;width:20px;height:20px;border-radius:4px;flex-shrink:0}.loading-spinner{display:flex;align-items:center;justify-content:center;min-height:400px;font-size:16px;color:#6b7280}.empty-state{background:#fff;padding:40px;border-radius:8px;text-align:center;color:#6b7280}.empty-state h3{color:#1f2937;margin-bottom:10px}@media (max-width: 1200px){.visualizations-container{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}}@media (max-width: 768px){.visualizer-header{flex-direction:column;align-items:flex-start}.controls{flex-wrap:wrap;width:100%}.date-select,.tech-select{flex:1;min-width:150px}.stats-grid{grid-template-columns:repeat(2,1fr)}.legend-items{grid-template-columns:1fr}}.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}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}#root{min-height:100vh;display:flex;flex-direction:column}.app-container{display:flex;min-height:100vh}.global-planner-notice{position:fixed;top:14px;right:16px;z-index:2200;min-width:360px;max-width:680px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:10px;box-shadow:0 10px 26px #00000038;font-weight:600}.admin-links-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.admin-links-header h2{margin-bottom:6px}.admin-links-header p{color:#475569;font-size:14px}.admin-links-error,.admin-links-success{border-radius:8px;padding:10px 12px;font-weight:600;margin-bottom:12px}.admin-links-error{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b}.admin-links-success{background:#dcfce7;border:1px solid #86efac;color:#166534}.admin-links-loading,.admin-links-empty{color:#475569;font-weight:600}.admin-links-table-wrap{overflow:auto}.admin-links-table{width:100%;border-collapse:collapse;min-width:780px}.admin-links-table th,.admin-links-table td{border-bottom:1px solid #e2e8f0;padding:10px 12px;text-align:left;vertical-align:top}.admin-links-table th{background:#f8fafc;color:#334155;font-size:13px;text-transform:uppercase;letter-spacing:.03em}.admin-user-name{font-weight:700}.admin-user-meta{color:#64748b;font-size:12px;margin-top:4px}.admin-links-select{width:100%;max-width:380px;min-width:240px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font-size:14px}.admin-create-user-form{border:1px solid #e2e8f0;border-radius:10px;padding:14px;margin-bottom:16px;background:#f8fafc}.admin-create-user-form h3{margin-bottom:10px}.admin-create-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px;margin-bottom:10px}.admin-create-input{border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;font-size:14px;width:100%}.admin-create-active{display:inline-flex;align-items:center;gap:8px;color:#334155;font-size:14px;margin-bottom:10px}.global-planner-notice.running{background:#fff7db;border:1px solid #f5d67c;color:#7a5600}.global-planner-notice.success{background:#eafaf0;border:1px solid #98e3b3;color:#0f6b36}.global-planner-notice.error{background:#ffe9e9;border:1px solid #ffb5b5;color:#a32020}.global-planner-notice-close{border:none;background:transparent;cursor:pointer;font-size:16px;opacity:.75}.global-planner-notice-close:hover{opacity:1}.global-geocode-alert{position:fixed;top:74px;right:16px;z-index:2190;min-width:360px;max-width:680px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:10px;box-shadow:0 10px 26px #00000038;font-weight:700;background:#fff7db;border:1px solid #f5d67c;color:#7a5600}.global-geocode-alert-action{border:1px solid #f5d67c;border-radius:8px;background:#fff;color:#7a5600;font-weight:700;padding:6px 10px;cursor:pointer}.global-geocode-alert-action:hover{background:#fff3c2}.sidebar{width:250px;background:#fffffffa;box-shadow:2px 0 10px #0000001a;padding:20px}.sidebar-logo{display:flex;align-items:center;justify-content:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #667eea}.sidebar-logo img{width:160px;height:auto;display:block}.menu{display:flex;flex-direction:column;gap:10px}.menu-item{padding:12px 20px;border-radius:8px;cursor:pointer;transition:all .2s;color:#333;border:none;background:#f5f5f5;font-weight:600}.menu-item:hover{background:#efefef}.menu-item.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:600px;width:90%;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:25px;border-bottom:1px solid #e0e0e0;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px 12px 0 0}.modal-header h3{color:#fff;font-size:20px}.btn-close{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.btn-close:hover{opacity:.8}.modal-body{padding:30px;max-height:60vh;overflow-y:auto}.modal-footer{display:flex;gap:10px;padding:20px 30px;border-top:1px solid #e0e0e0;justify-content:flex-end}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333;font-size:14px}.required{color:#e74c3c;font-weight:700}.form-group input{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.menu-item{padding:12px 20px;border-radius:8px;cursor:pointer;transition:all .2s;color:#333;font-weight:500;border:none;background:transparent;text-align:left;font-size:15px}.menu-item:hover{background:#f0f2ff}.menu-item.active{background:#667eea;color:#fff}.future-heat-container{width:100%}.future-heat-toolbar{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0 18px}.future-heat-toolbar label{display:flex;flex-direction:column;gap:6px;font-weight:600;color:#374151}.future-heat-toolbar select{min-width:140px;padding:8px 10px;border-radius:8px;border:1px solid #cfd5e3;background:#fff}.future-heat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.future-heat-cell{border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:10px;color:#1f2937}.future-map-wrap{border:1px solid rgba(0,0,0,.1);border-radius:10px;overflow:hidden}.future-heat-map{height:430px;width:100%}.future-heat-count{font-size:22px;font-weight:700;line-height:1;margin-bottom:6px}.future-heat-meta{font-size:12px;opacity:.9}.main-content{flex:1;padding:40px;overflow-y:auto}.content-card{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;padding:20px;max-width:1400px;margin:0 auto}.page-title{font-size:28px;color:#333;margin-bottom:30px}.btn{padding:12px 24px;border-radius:8px;border:none;font-weight:600;cursor:pointer;transition:all .2s;font-size:14px}.teams-page{max-width:1400px}.teams-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.teams-column{background:#f7f8fb;border:1px solid #e6e9f2;border-radius:10px;padding:16px;min-height:420px}.teams-column-title{font-size:18px;color:#2b2b2b;margin-bottom:14px}.teams-info{margin-bottom:14px;color:#4b5563}.teams-error{margin-bottom:14px;padding:10px 12px;border-radius:8px;background:#ffe7e7;border:1px solid #ffcbcb;color:#a13333}.teams-empty{color:#6b7280;padding:10px}.team-card{background:#fff;border:1px solid #e6e9f2;border-radius:10px;margin-bottom:12px;overflow:hidden}.team-leader-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:#eef2ff;border-bottom:1px solid #e6e9f2}.team-members-list{padding:8px}.team-member-row,.single-row{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid #e6e9f2;border-radius:8px;padding:10px 12px;margin-bottom:8px}.team-member-row{margin-left:14px}.team-name-wrap{display:inline-flex;align-items:baseline;gap:6px;flex-wrap:wrap}.team-hours-note{font-size:12px;color:#b45309;font-weight:600}.team-commitments-note{font-size:12px;color:#1d4ed8;font-weight:600}.team-row-no-availability{background:#ffe7e7!important;border-color:#f1a2a2!important}.team-badge{font-size:12px;border-radius:999px;padding:4px 10px;font-weight:700}.team-badge-leader{background:#dbeafe;color:#1d4ed8}.team-badge-helper{background:#ede9fe;color:#6d28d9}.team-badge-single{background:#dcfce7;color:#15803d}.team-badge-jolly{background:#fff7cc;color:#92400e}.team-jolly-row{border-style:dashed}.importa-jobs-container{width:100%}.importa-jobs-container .header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px 40px;border-radius:12px 12px 0 0;margin-bottom:0}.importa-jobs-container .header h2{font-size:24px;margin:0}.upload-section{background:#fff;border-radius:0 0 12px 12px;padding:40px;box-shadow:0 20px 60px #0000004d}.info-box{background:#f8f9ff;border-left:4px solid #667eea;padding:20px;border-radius:8px;margin-top:30px;margin-bottom:20px}.info-box h4{color:#667eea;margin-bottom:12px;font-size:16px}.info-box ul{list-style:none;padding:0;margin:0}.info-box li{color:#555;padding:6px 0;font-size:14px}.info-box li:before{content:"✓ ";color:#28a745;font-weight:700;margin-right:8px}.info-box code{background:#fff;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;color:#d9534f;font-weight:500}.planner-box{border-left-color:#4f46e5}.error-box{background:#fff5f5;border-left:4px solid #ef4444;color:#991b1b;padding:12px 16px;border-radius:8px;margin-top:12px}.file-list{display:grid;gap:8px}.file-item{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6e9f5;border-radius:8px;padding:8px 12px;font-size:13px;color:#334155}.file-item.missing{border-color:#fecaca;background:#fff1f2}.file-status{font-weight:700;color:#16a34a}.file-item.missing .file-status{color:#dc2626}.log-box{background:#0f172a;color:#e2e8f0;border-radius:8px;padding:12px;font-family:Courier New,monospace;font-size:12px;white-space:pre-wrap;max-height:280px;overflow:auto}.planner-list{display:grid;gap:10px}.planner-item{display:grid;grid-template-columns:28px 28px auto 1fr;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #e6e9f5;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.planner-item:hover{transform:translateY(-1px);border-color:#667eea;box-shadow:0 6px 16px #667eea26}.planner-order{width:24px;height:24px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.planner-icon{font-size:16px}.planner-name{font-weight:600;color:#334155}.btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.btn-lg{padding:15px 40px;font-size:16px;font-weight:600;width:100%;margin:20px 0}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-danger:hover:not(:disabled){background:#b02a37}.btn:disabled{opacity:.6;cursor:not-allowed}.upload-zone{border:2px dashed #667eea;border-radius:8px;padding:60px 20px;text-align:center;cursor:pointer;transition:all .3s;background:#f8f9ff;margin:20px 0}.upload-zone:hover{border-color:#764ba2;background:#f0f2ff}.upload-icon{font-size:48px;margin-bottom:15px}.progress-bar{width:100%;height:8px;background:#e9ecef;border-radius:4px;overflow:hidden;margin:20px 0}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s}.table-container{overflow-x:auto;margin:20px 0;border-radius:8px;border:1px solid #ddd;background:#fff}table{width:100%;border-collapse:collapse;font-size:16px;background:#fff}tbody{background:#fff}th{background:#667eea;color:#fff;padding:8px 14px;text-align:left;position:sticky;top:0;z-index:10;font-weight:600;font-size:15px}td{padding:8px 14px;border:1px solid #e0e0e0;font-size:15px}td input{width:100%;padding:8px;border:1px solid #ccc;border-radius:4px;font-size:14px}td input:focus{outline:none;border-color:#667eea;box-shadow:0 0 5px #667eea4d}.id-cell{background:#f5f5f5;font-weight:700;color:#667eea;width:50px;text-align:center}.id-cell.inactive{background:#ffebee;color:#c62828;box-shadow:inset 0 0 0 2px #e57373;border-radius:4px}.actions-cell{text-align:center;width:60px}.toolbar{display:flex;gap:10px;margin:20px 0;flex-wrap:wrap;align-items:center}.search-input{flex:1;min-width:250px;padding:10px 15px;border:1px solid #ddd;border-radius:8px;font-size:14px}.search-input-short{width:300px;padding:10px 15px;border:1px solid #ddd;border-radius:8px;font-size:14px}.search-input:focus,.search-input-short:focus{outline:none;border-color:#667eea}.badge{display:inline-block;padding:6px 12px;border-radius:12px;font-size:13px;background:#eef1ff;color:#667eea;font-weight:600}.pagination{display:flex;gap:10px;align-items:center;margin-top:20px}.pagination select{padding:8px;border:1px solid #ddd;border-radius:6px}.error-message{background:#f8d7da;color:#721c24;padding:15px;border-radius:8px;margin:15px 0;border:1px solid #f5c6cb}.success-message{background:#d4edda;color:#155724;padding:15px;border-radius:8px;margin:15px 0;border:1px solid #c3e6cb}.chart-container{margin:30px 0;padding:20px;background:#f8f9ff;border-radius:8px;height:500px;position:relative}.chart-container canvas{max-height:450px}.drag-drop-zone{border:3px dashed #667eea;border-radius:12px;padding:60px 40px;text-align:center;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#f5f7ff,#e8ecff);margin:20px 0}.drag-drop-zone:hover{border-color:#764ba2;background:linear-gradient(135deg,#e8ecff,#d5deff);transform:translateY(-2px);box-shadow:0 10px 25px #667eea33}.drag-drop-zone.drag-over{border-color:#28a745;background:linear-gradient(135deg,#d4edda,#c3e6cb);box-shadow:0 10px 35px #28a7454d;border-width:3px}.drop-content{pointer-events:none}.drop-icon{font-size:48px;margin-bottom:15px;display:block}.drop-title{font-size:18px;font-weight:600;color:#333;margin-bottom:8px}.drop-subtitle{font-size:14px;color:#999;margin:15px 0}.drop-file{font-size:15px;font-weight:600;color:#28a745;margin:8px 0;word-break:break-word}.drop-size{font-size:13px;color:#6c757d;margin-top:5px}.drop-link{color:#667eea;text-decoration:underline;cursor:pointer;font-weight:600;pointer-events:auto;transition:color .2s}.drop-link:hover{color:#764ba2}.progress-container{margin:25px 0;padding:25px;background:#fff;border-radius:12px;box-shadow:0 4px 15px #0000001a}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.progress-header h3{color:#667eea;font-size:18px;margin:0}.progress-percent{font-size:20px;font-weight:700;color:#764ba2;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.progress-bar-container{width:100%;height:12px;background:#e9ecef;border-radius:8px;overflow:hidden;margin-bottom:15px}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:8px;transition:width .3s ease;box-shadow:0 0 10px #667eea66}.progress-details{display:flex;flex-direction:column;gap:10px}.progress-item{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f0f0;font-size:14px}.progress-item:last-child{border-bottom:none}.progress-label{color:#666;font-weight:600}.progress-value{color:#333;font-family:Courier New,monospace;font-weight:500}.result-section{padding:30px;background:#f8f9ff;border-radius:12px}.result-section h3{color:#28a745;margin-bottom:25px;font-size:24px}.result-stats,.stats-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;margin:25px 0}.stat-card{background:#fff;padding:20px;border-radius:8px;text-align:center;box-shadow:0 2px 8px #0000001a;border-left:4px solid #667eea}.stat-card.success{border-left-color:#28a745}.stat-card.warning{border-left-color:#ffc107}.stat-card.danger{border-left-color:#dc3545}.stat-label{color:#6c757d;font-size:14px}.stat-icon{font-size:28px;margin-bottom:10px}.skills-breakdown{margin-top:30px;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.skills-breakdown h4{color:#333;margin-bottom:15px}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin-top:15px}.skill-item{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:6px;font-size:13px}.skill-name{font-weight:600}.skill-count{background:#ffffff4d;padding:2px 8px;border-radius:12px;font-weight:700}.stats-row{display:flex;gap:15px;justify-content:center;margin-top:20px;flex-wrap:wrap}.result-section .btn-primary{margin-top:30px;width:100%;padding:15px 30px;font-size:16px}.assignment-results{margin-top:30px;padding:25px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border-left:4px solid #28a745}.assignment-results h4{color:#28a745;font-size:20px;margin-bottom:20px;display:flex;align-items:center;gap:10px}.assignment-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px;margin-bottom:20px}.stat-item{display:flex;align-items:center;gap:12px;background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 8px #0000000d}.stat-icon{font-size:28px}.stat-number{font-size:20px;font-weight:700;color:#28a745}.stat-text{font-size:12px;color:#6c757d}.assignment-note{background:#fff;padding:12px 16px;border-radius:8px;font-size:14px;color:#555;border-left:3px solid #28a745}.assignment-note code{background:#e9ecef;padding:2px 6px;border-radius:4px;font-family:Courier New,monospace;color:#667eea}.btn-nuovo{margin-top:20px;padding:14px 28px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #667eea4d}.btn-nuovo:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.jobs-breakdown-container{width:100%}.jobs-breakdown-container .header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px 40px;border-radius:12px 12px 0 0;margin-bottom:0}.jobs-breakdown-container .header h2{font-size:24px;margin:0}.breakdown-section{background:#fff;border-radius:0 0 12px 12px;padding:40px;box-shadow:0 20px 60px #0000004d}.coord-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:40px}.top-filters-section{margin-bottom:28px}.top-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.top-filter-tile{border:2px solid #e5e7eb;border-radius:12px;background:#f8fafc;padding:16px;cursor:pointer;transition:all .2s ease}.top-filter-tile:hover{border-color:#667eea;box-shadow:0 6px 14px #667eea2e;transform:translateY(-1px)}.top-filter-tile.active{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.top-filter-tile.geocode-problem{border-color:#f5d67c;background:#fffdf3}.top-filter-title{font-size:13px;font-weight:700;margin-bottom:8px}.top-filter-count{font-size:26px;font-weight:800;line-height:1}.stat-box{padding:25px;border-radius:12px;text-align:center;color:#fff;font-weight:600}.stat-box.success{background:linear-gradient(135deg,#28a745,#20c997)}.stat-box.warning{background:linear-gradient(135deg,#ffc107,#ff9800)}.stat-number{font-size:40px;font-weight:700;margin-bottom:8px}.stat-desc{font-size:14px;opacity:.9}.skills-section{margin-bottom:40px}.skills-section h3{color:#333;margin-bottom:20px;font-size:18px}.breakdown-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:15px}.breakdown-card{padding:20px;border:2px solid #e0e0e0;border-radius:10px;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8f9ff}.breakdown-card:hover{border-color:#667eea;transform:translateY(-3px);box-shadow:0 8px 15px #667eea33}.breakdown-card.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:transparent}.skill-name{font-weight:700;font-size:15px;margin-bottom:8px}.skill-count{font-size:18px;font-weight:700;opacity:.8}.search-section{margin-bottom:30px}.search-controls{display:flex;gap:10px;align-items:center}.search-input{width:100%;padding:14px 18px;border:2px solid #e0e0e0;border-radius:10px;font-size:15px;transition:border-color .2s}.btn-reset-sort{padding:11px 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.btn-reset-sort:hover:not(:disabled){border-color:#667eea;color:#4338ca}.btn-reset-sort:disabled{opacity:.5;cursor:not-allowed}.search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.jobs-table-container{overflow-x:auto;border-radius:10px;border:1px solid #e0e0e0;margin-bottom:20px}.jobs-table{width:100%;border-collapse:collapse;font-size:14px}.jobs-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;position:sticky;top:0;z-index:10}.jobs-table th{padding:15px;text-align:left;font-weight:600}.jobs-table th.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none}.jobs-table th.sortable-th:hover{background:#ffffff14}.sort-indicator{margin-left:6px;font-size:12px;opacity:.85}.jobs-table td{padding:12px 15px;border-bottom:1px solid #f0f0f0}.jobs-table tbody tr:hover{background:#f8f9ff}.jobs-table tbody tr.job-notes-row:hover{background:#fffdf5}.job-notes-cell{background:#fffdf5;color:#4b5563;font-size:12px;padding-top:8px!important;padding-bottom:10px!important;border-bottom:1px dashed #e5e7eb}.job-note-block strong{color:#1f2937}.job-note-divider{opacity:.6;margin:0 6px}.jobs-table tbody tr.editing{background:#fff3cd}.job-id{font-weight:700;color:#667eea;min-width:80px}.job-desc{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-addr{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#666}.job-skills{font-weight:600}.skill-badge{display:inline-block;padding:6px 12px;background:#eef1ff;color:#667eea;border-radius:8px;font-weight:600;font-size:13px}.skill-input{padding:8px 12px;border:2px solid #667eea;border-radius:6px;font-size:13px;width:100%}.job-coords{text-align:center;font-size:18px}.job-coords.ok{color:#28a745}.job-coords.missing{color:#ffc107}.job-actions{text-align:center;min-width:80px}.job-activity-pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:52px;margin-bottom:6px;padding:2px 8px;border-radius:999px;border:1px solid #cbd5e1;background:#f8fafc;color:#1e293b;font-size:11px;font-weight:700}.job-activity-pill.has-pending{border-color:#f59e0b;background:#fff7ed;color:#9a3412}.job-appointment-list{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px}.job-appointments-cell{min-width:130px}.job-appointment-time{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:700;background:#eef2ff;color:#4338ca}.job-appointment-time.manual{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.job-action-select{margin-top:6px;padding:4px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;background:#fff;min-width:190px}.job-planning-status{text-align:center;min-width:160px}.planning-status-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.2px}.planning-status-badge.status-ready{background:#dcfce7;color:#166534}.planning-status-badge.status-suspended{background:#e5e7eb;color:#374151}.planning-status-badge.status-predelivery{background:#ffedd5;color:#9a3412}.planning-status-badge.status-completed{background:#dbeafe;color:#1e3a8a}.planning-status-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.planning-status-sub{font-size:11px;color:#6b7280;line-height:1}.suspended-inline-date{font-weight:800}.suspended-inline-date.infinite{font-size:16px;line-height:1;vertical-align:-1px}.pending-activation-badge{margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#fff7ed;color:#c2410c;border:1px solid #fdba74}.btn-dis-reset{margin-left:6px;padding:2px 8px;border-radius:999px;border:1px solid #f59e0b;background:#fff;color:#b45309;font-size:11px;font-weight:700;cursor:pointer}.btn-dis-reset:hover{background:#fffbeb}.btn-sm{padding:6px 12px;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s;margin:0 4px}.btn-edit{background:#667eea;color:#fff}.btn-edit:hover{background:#5568d3}.btn-save{background:#28a745;color:#fff}.btn-save:hover{background:#218838}.btn-cancel{background:#6c757d;color:#fff}.btn-cancel:hover{background:#5a6268}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333}.btn-success{background:#28a745;color:#fff;border:none;cursor:pointer;font-weight:600;transition:all .2s}.btn-success:hover{background:#218838}.btn-error{background:#dc3545;color:#fff;border:none;cursor:pointer;font-weight:600;transition:all .2s}.btn-error:hover{background:#c82333}.pagination{display:flex;gap:15px;align-items:center;justify-content:center;margin-top:30px;padding:20px;background:#f8f9ff;border-radius:10px}.pagination button{padding:10px 20px;border:2px solid #667eea;background:#fff;color:#667eea;border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s}.pagination button:hover:not(:disabled){background:#667eea;color:#fff}.pagination button:disabled{opacity:.5;cursor:not-allowed}.footer-info{text-align:center;padding:20px;color:#666;font-size:14px}.footer-info strong{color:#667eea;font-weight:700}.settings-container{padding:30px;max-width:1200px;margin:0 auto}.settings-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:30px}.settings-header h2{font-size:32px;margin-bottom:10px}.settings-header p{opacity:.9;font-size:16px}.settings-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:25px;margin-bottom:30px}.settings-section{background:#fff;padding:25px;border-radius:12px;box-shadow:0 4px 12px #00000014}.settings-section h3{color:#667eea;font-size:20px;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e0e0e0}.setting-item{margin-bottom:20px}.setting-item:last-child{margin-bottom:0}.setting-item label{display:block;font-weight:600;color:#333;margin-bottom:8px;font-size:14px}.setting-help{display:block;font-weight:400;color:#888;font-size:12px;margin-top:4px}.setting-item input{width:100%;padding:10px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;transition:border-color .2s}.setting-item input:focus{outline:none;border-color:#667eea}.settings-actions{display:flex;gap:15px;justify-content:center;margin-bottom:30px}.btn-reset,.btn-save{padding:14px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;border:none}.btn-reset{background:#f5f5f5;color:#666}.btn-reset:hover{background:#e0e0e0}.btn-save{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.btn-save:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.save-success{background:#d4edda;color:#155724;padding:15px;border-radius:8px;text-align:center;font-weight:600;margin-bottom:30px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.settings-info{background:#f8f9fa;padding:25px;border-radius:12px;border-left:4px solid #667eea}.settings-info h4{color:#667eea;font-size:18px;margin-bottom:15px}.settings-info ul{list-style:none;padding:0}.settings-info li{padding:10px 0 10px 25px;position:relative;line-height:1.6;color:#555}.settings-info li:before{content:"→";position:absolute;left:0;color:#667eea;font-weight:700}.settings-info strong{color:#667eea;font-weight:600}.skills-checkboxes{display:flex;flex-direction:column;gap:10px;padding:10px 0}.skills-checkboxes-inline{display:flex;flex-direction:column;gap:8px;padding:10px;background:#f9f9f9;border-radius:6px;border:1px solid #e0e0e0}.checkbox-inline{display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 12px;border-radius:6px;transition:background .2s;font-weight:500;color:#333}.checkbox-inline:hover{background:#f5f5f5}.checkbox-inline input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#667eea}.checkbox-inline-small{display:flex;align-items:center;gap:8px;cursor:pointer;padding:6px 8px;font-size:13px;font-weight:500;color:#333}.checkbox-inline-small input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#667eea}.skills-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.skill-tag{display:inline-block;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;white-space:nowrap}.skills-cell{padding:10px!important}.center-cell{text-align:center}.btn-small{padding:6px 12px;font-size:12px;border-radius:4px}.skills-tags.clickable{padding:4px;border-radius:4px;transition:background .2s}.skills-tags.clickable:hover{background:#f5f5f5}.empty-text{color:#999;font-style:italic}.text-success{color:#27ae60;font-size:13px;margin-top:8px;padding:8px;background:#ecfdf5;border-radius:6px;border-left:3px solid #27ae60}.stats-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin-bottom:30px}.stat-tile{background:#fff;padding:25px;border-radius:12px;box-shadow:0 2px 8px #0000001a;text-align:center;border-left:4px solid #667eea;transition:transform .2s,box-shadow .2s}.stat-tile:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-tile.active{border-left-color:#27ae60;background:linear-gradient(135deg,#f0fff4,#ecfdf5)}.stat-tile.inactive{border-left-color:#e74c3c;background:linear-gradient(135deg,#fff5f5,#ffebee)}.stat-tile.skill{border-left-color:#764ba2;background:linear-gradient(135deg,#f5f0ff,#f0ebff)}.stat-value{font-size:36px;font-weight:700;color:#333;margin-bottom:8px}.stat-label{font-size:14px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.modal-content.modal-lg{max-width:800px}.flex-1{flex:1}.btn-block{width:100%}.planner-email-container{display:flex;flex-direction:column;gap:20px}.email-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.email-actions{display:flex;gap:10px;align-items:center}.email-subtitle{color:#666;font-size:14px;margin-top:6px}.status-pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#f3f4f6;color:#444}.status-pill.success{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.pdf-preview-frame{width:100%;height:70vh;border:1px solid #e0e0e0;border-radius:8px}.preview-hint{font-size:13px;color:#666;margin-bottom:8px}.future-alerts-container{width:100%}.future-alerts-toolbar{margin-top:16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.future-alerts-toolbar label{font-weight:600}.future-alerts-toolbar select{border:1px solid rgba(255,255,255,.6);background:#ffffff2e;color:#fff;border-radius:8px;padding:8px 10px;font-weight:600}.future-alerts-toolbar select option{color:#111827}.future-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:18px}.future-summary-card{border:1px solid #e5e7eb;border-radius:12px;padding:14px;background:#f9fafb}.future-summary-card.warning{background:#fffbeb;border-color:#fcd34d}.future-summary-card.danger{background:#fff1f2;border-color:#fda4af}.future-summary-value{font-size:28px;font-weight:800;color:#111827;line-height:1}.future-summary-label{margin-top:8px;font-size:13px;color:#374151;font-weight:600}.future-info-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px;color:#4b5563;margin-bottom:18px}.future-alert-section{margin-bottom:18px;border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff}.future-alert-section h3{margin:0 0 12px;color:#1f2937;font-size:16px}.future-list{display:grid;gap:8px}.future-list-item{display:flex;justify-content:space-between;gap:10px;border:1px solid #f1f5f9;border-radius:8px;padding:10px 12px;background:#f8fafc}.future-list-item strong{color:#111827}.future-empty{margin:0;color:#6b7280;font-size:14px}.future-table-wrap{overflow-x:auto}.future-table{width:100%;border-collapse:collapse}.future-table th,.future-table td{border-bottom:1px solid #e5e7eb;text-align:left;padding:8px 10px;font-size:13px}.future-table th{color:#374151;font-weight:700}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:24px}.auth-card{width:100%;max-width:420px;background:#fff;border:1px solid #dbeafe;border-radius:14px;box-shadow:0 20px 45px #0f172a1a;padding:28px;display:flex;flex-direction:column;gap:10px}.auth-logo{width:180px;margin:0 auto 8px}.auth-title{font-size:22px;font-weight:700;color:#0f172a}.auth-subtitle{font-size:14px;color:#64748b;margin-bottom:6px}.auth-label{font-size:13px;color:#1e293b;font-weight:600;margin-top:6px}.auth-input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;font-size:14px}.auth-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.auth-error{margin-top:8px;color:#b91c1c;font-size:13px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px 10px}.auth-submit{margin-top:10px;border:none;background:#2563eb;color:#fff;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:700;cursor:pointer}.auth-submit:hover{background:#1d4ed8}.auth-submit:disabled{opacity:.6;cursor:default}.auth-user-box{margin:4px 6px 12px;padding:10px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.auth-user-name{font-size:13px;font-weight:700;color:#0f172a}.auth-user-role{font-size:12px;color:#475569;margin:2px 0 8px}.auth-logout{border:none;background:#e2e8f0;color:#0f172a;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}.auth-logout:hover{background:#cbd5e1}
