.route-map-workspace{height:calc(100vh - 118px);min-height:620px;margin:-20px;display:grid;grid-template-columns:340px minmax(0,1fr);overflow:hidden;background:#e8f1f9}.route-map-sidebar{position:relative;z-index:500;display:flex;min-width:0;flex-direction:column;border-right:1px solid #bdd0e2;background:#fff;box-shadow:5px 0 18px rgba(20,60,95,.09)}.route-map-side-head{padding:18px 18px 12px;border-bottom:1px solid #dce7f0}.route-map-side-head .eyebrow{margin:0 0 4px;color:#0674c8;font-size:10px;font-weight:900;letter-spacing:.12em}.route-map-side-head h2{margin:0;color:#07365e;font-size:21px}.route-map-side-head p{margin:5px 0 0;color:#607b93;font-size:12px;line-height:1.45}.route-map-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px 16px;border-bottom:1px solid #dce7f0;background:#f8fbfe}.route-map-filters label{min-width:0;color:#234d70;font-size:11px;font-weight:800}.route-map-filters label:first-child,.route-map-filters label:last-child{grid-column:1/-1}.route-map-filters select,.route-map-filters input{box-sizing:border-box;width:100%;height:38px;margin-top:5px;border:1px solid #afc8df;border-radius:7px;background:#fff;color:#123d61;padding:0 9px;font:inherit;font-weight:700}.route-map-selection{margin:12px 14px 4px;padding:10px 11px;border:1px solid #abccea;border-radius:8px;background:#eaf5ff;color:#174d78;font-size:11px;line-height:1.45}.route-map-selection b{display:block;color:#073e70;font-size:12px}.route-map-selection button{margin-top:7px;border:0;background:transparent;color:#086eb9;padding:0;font-size:11px;font-weight:900;cursor:pointer}.route-map-route-summary{display:flex;align-items:center;justify-content:space-between;padding:10px 15px 5px;color:#50708b;font-size:11px}.route-map-route-summary b{color:#123e63}.route-map-route-list{min-height:0;overflow:auto;padding:6px 10px 18px}.route-map-card{margin:0 0 9px;border:1px solid #cbdbe9;border-left:5px solid var(--route-color,#2375d8);border-radius:8px;background:#fff;box-shadow:0 2px 7px rgba(20,65,105,.06);cursor:pointer;transition:.15s ease}.route-map-card:hover,.route-map-card.focused{border-color:var(--route-color,#2375d8);box-shadow:0 4px 12px rgba(20,65,105,.13)}.route-map-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px 10px 7px}.route-map-card-head b{color:#0b3c65;font-size:13px}.route-map-card-head span{white-space:nowrap;color:#53718a;font-size:10px;font-weight:800}.route-map-card-meta{padding:0 10px 8px;color:#607b92;font-size:10px;line-height:1.55}.route-map-card-meta strong{color:#173f61}.route-map-card-people{border-top:1px solid #edf2f6;padding:7px 10px;color:#325a7a;font-size:10px}.route-map-target{display:block;width:calc(100% - 20px);margin:0 10px 10px;border:0;border-radius:6px;background:#126fd1;color:#fff;padding:8px;font-size:11px;font-weight:900;cursor:pointer}.route-map-target.smart{background:#07875e}.route-map-target:disabled{background:#d9e2e9;color:#718393;cursor:not-allowed}.route-map-empty{margin:8px;padding:20px;border:1px dashed #b8cadb;border-radius:8px;color:#58738a;text-align:center;font-size:12px}.route-map-stage{position:relative;min-width:0;background:#dce8f2}.route-map-canvas{position:absolute;inset:0}.route-map-loading{position:absolute;z-index:450;left:50%;top:20px;transform:translateX(-50%);border:1px solid #b9ccdc;border-radius:8px;background:#fff;padding:10px 15px;color:#204f73;font-size:12px;font-weight:800;box-shadow:0 4px 12px #173b5b24}.route-map-legend{position:absolute;z-index:450;right:14px;bottom:18px;max-width:260px;border:1px solid #c5d6e4;border-radius:8px;background:#fffffff2;padding:9px 11px;color:#244e70;font-size:10px;box-shadow:0 4px 12px #173b5b24}.route-map-legend b{display:block;margin-bottom:3px;font-size:11px}.route-map-pin{display:grid;place-items:center;width:29px;height:29px;border:3px solid #fff;border-radius:50%;background:var(--pin-color,#2375d8);color:#fff;font-size:10px;font-weight:900;box-shadow:0 2px 8px #102f4c66}.route-map-pin.selected{width:35px;height:35px;border-color:#073b65;background:#fff!important;color:#073b65}.route-map-office-pin{display:grid;place-items:center;width:60px;height:30px;border:2px solid #fff;border-radius:6px;background:#073b65;color:#fff;font-size:9px;font-weight:900;box-shadow:0 2px 8px #102f4c66}.route-map-popup{min-width:210px;color:#173f60}.route-map-popup b{display:block;font-size:12px}.route-map-popup span,.route-map-popup small{display:block;margin-top:4px}.route-map-popup small{color:#637c91;line-height:1.4}.route-map-popup button{width:100%;margin-top:8px;border:0;border-radius:6px;background:#126fd1;color:#fff;padding:7px;font-size:11px;font-weight:900;cursor:pointer}.route-map-popup button.is-selected{background:#0a865f}.leaflet-container{font-family:inherit}.leaflet-interactive{cursor:pointer}@media(max-width:900px){.route-map-workspace{height:auto;min-height:calc(100vh - 118px);grid-template-columns:1fr;grid-template-rows:auto 560px;margin:-12px}.route-map-sidebar{max-height:520px;border-right:0;border-bottom:1px solid #bdd0e2}.route-map-route-list{max-height:260px}}
.route-map-popup button:disabled{background:#d8e1e8;color:#6e8190;cursor:not-allowed}
.route-map-popup button.route-map-cut-instead{border:1px solid #9ebbd3;background:#fff;color:#145d96}
.route-map-location-pin{position:relative;display:flex;width:110px;height:74px;align-items:center;justify-content:flex-start;flex-direction:column;color:#fff;filter:drop-shadow(0 5px 6px #102f4c66)}.route-map-location-pin:before{content:"";position:absolute;z-index:-1;top:3px;left:33px;width:44px;height:44px;border:3px solid #fff;border-radius:50% 50% 50% 12px;transform:rotate(-45deg)}.route-map-location-pin:after{content:"";position:absolute;z-index:-2;top:0;left:30px;width:50px;height:50px;border-radius:50%;background:#fff8;filter:blur(4px)}.route-map-location-pin.head-office:before{background:linear-gradient(135deg,#7c4dff 0%,#3f1b88 72%)}.route-map-location-pin.branch-office:before{background:linear-gradient(135deg,#12b8ae 0%,#006b78 72%)}.route-map-building-icon{display:grid;width:38px;height:38px;margin-top:8px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#ffffff38,#ffffff08)}.route-map-building-icon svg{width:27px;height:27px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.route-map-building-icon .office-icon-accent{stroke:#ffe67a;stroke-width:2.2}.route-map-location-pin strong{position:absolute;top:51px;box-sizing:border-box;max-width:108px;padding:4px 9px;border:2px solid #fff;border-radius:999px;color:#fff;font-size:8px;font-weight:950;line-height:1.15;letter-spacing:.02em;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 5px #102f4c55}.route-map-location-pin.head-office strong{background:#3f1b88}.route-map-location-pin.branch-office strong{background:#006b78}.route-map-legend-section{margin-top:7px}.route-map-office-warning{color:#a34b13;font-weight:800}
.route-map-id{display:flex;align-items:center;gap:6px;min-width:0}.route-map-id b{user-select:text}.route-map-id button{border:0;border-radius:4px;background:#e8f2fc;color:#0868b3;padding:3px 5px;font-size:9px;font-weight:900;cursor:pointer}.route-map-id button:hover{background:#d7eaff}
.route-map-arrow{display:grid;place-items:center;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:var(--arrow-color,#176dc2);color:#fff;font-size:11px;line-height:1;box-shadow:0 1px 6px #15365366;transform-origin:center}.route-map-pin{width:34px;height:34px}.route-map-pin.selected{width:38px;height:38px}
.route-map-card-people{padding:0}.route-map-employee-row{display:grid;grid-template-columns:28px minmax(0,1fr) 54px;align-items:center;gap:7px;border-top:1px solid #e8eff5;padding:8px 9px;cursor:default}.route-map-employee-row:hover{background:#f7fbff}.route-map-employee-row>div{min-width:0}.route-map-employee-row b{display:block;overflow:hidden;color:#163f61;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.route-map-employee-row small{display:-webkit-box;overflow:hidden;margin-top:2px;color:#668095;font-size:9px;line-height:1.35;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.route-map-sequence{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--route-color,#2375d8);color:#fff;font-size:9px;font-weight:900}.route-map-sequence-actions{display:flex;gap:3px;justify-content:flex-end}.route-map-sequence-actions button{width:24px;height:25px;border:0;border-radius:5px;background:#176fd0;color:#fff;padding:0;font-size:14px;font-weight:900;line-height:1;cursor:pointer}.route-map-sequence-actions button+button{background:#eb8426}.route-map-sequence-actions button:disabled{background:#dbe4eb;color:#91a0ac;cursor:not-allowed}.route-map-card.route-map-saving{pointer-events:none;opacity:.58}.route-map-no-employees{border-top:1px solid #e8eff5;padding:10px;color:#6b8193;font-size:10px;text-align:center}
.route-map-search{margin:12px 14px 4px;padding:10px 11px;border:1px solid #abccea;border-radius:8px;background:#f4f9fe}.route-map-search label{display:block;margin-bottom:5px;color:#0d416c;font-size:11px;font-weight:900}.route-map-search>div{display:flex}.route-map-search input{box-sizing:border-box;min-width:0;flex:1;height:34px;border:1px solid #aac5dc;border-right:0;border-radius:6px 0 0 6px;background:#fff;color:#183f60;padding:0 8px;font-size:10px}.route-map-search button{width:34px;border:1px solid #aac5dc;border-radius:0 6px 6px 0;background:#e6f1fb;color:#1265a7;font-size:17px;font-weight:800;cursor:pointer}.route-map-search small{display:block;margin-top:5px;color:#688196;font-size:9px;line-height:1.35}.route-map-route-list{flex:1;scrollbar-color:#8fb5d4 #edf4fa;scrollbar-width:thin}.route-map-route-list::-webkit-scrollbar{width:9px}.route-map-route-list::-webkit-scrollbar-track{background:#edf4fa}.route-map-route-list::-webkit-scrollbar-thumb{border:2px solid #edf4fa;border-radius:8px;background:#8fb5d4}
.route-map-route-list{height:0;min-height:160px;overflow-y:scroll!important;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:#347fb9 #dcebf7;scrollbar-gutter:stable;scrollbar-width:auto}.route-map-route-list::-webkit-scrollbar{display:block;width:12px}.route-map-route-list::-webkit-scrollbar-track{border-left:1px solid #c4d8e8;background:#e8f2fa}.route-map-route-list::-webkit-scrollbar-thumb{min-height:42px;border:2px solid #e8f2fa;border-radius:10px;background:#347fb9}.route-map-route-list::-webkit-scrollbar-thumb:hover{background:#1c679f}
.route-map-filters{padding:12px 14px 10px}.route-map-filters label:first-child{grid-column:auto}.route-map-filters label:last-child{grid-column:1/-1}.route-map-search{margin:0 14px 8px}#routeMapSelection:has(.route-map-search){border-bottom:1px solid #dce7f0;background:#f8fbfe;padding-bottom:2px}
.route-map-sidebar{height:100%;max-height:100%;overflow:hidden}.route-map-route-list{flex:1 1 0%;height:auto;min-height:0;max-height:100%;padding-bottom:28px}
.route-map-search{margin:0;padding:8px 14px 10px;border:0;border-radius:0;background:#f8fbfe}.route-map-search label{margin-bottom:5px}.route-map-search small{display:none}#routeMapSelection:has(.route-map-search){padding:0;border-bottom:1px solid #dce7f0}
.route-map-pagination{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;margin:4px 5px 9px;padding:6px;border:1px solid #d5e2ed;border-radius:7px;background:#f5f9fc;color:#456985;font-size:10px;font-weight:800}.route-map-page-buttons{display:flex;align-items:center;justify-content:center;gap:3px}.route-map-pagination button{min-width:25px;height:27px;border:1px solid #acc7de;border-radius:5px;background:#fff;color:#0d65ad;padding:3px 5px;font-size:9px;font-weight:800;cursor:pointer}.route-map-pagination button:disabled{opacity:.4;cursor:not-allowed}.route-map-pagination input{box-sizing:border-box;width:38px;height:27px;border:1px solid #acc7de;border-radius:5px;background:#fff;color:#204f73;text-align:center;font-size:10px;font-weight:800}.route-map-pagination label{display:flex;align-items:center;gap:4px;white-space:nowrap}.route-map-pagination select{height:27px;border:1px solid #acc7de;border-radius:5px;background:#fff;color:#204f73;font-size:10px;font-weight:800}
.route-map-list-toolbar{position:sticky;top:0;z-index:4;padding:2px 0 7px;background:#fff;border-bottom:1px solid #e2ebf3}.route-map-list-toolbar .route-map-route-summary{padding:7px 15px 5px}.route-map-pagination{display:flex;align-items:center;gap:5px;margin:0 8px 4px;padding:0;border:0;border-radius:0;background:transparent;font-size:10px}.route-map-pagination label{display:flex;align-items:center;gap:4px;margin-right:auto;font-weight:800}.route-map-pagination select{height:26px;border:1px solid #bfd2e3;border-radius:5px;background:#f8fbfe;color:#123e62;padding:0 4px;font-size:10px;font-weight:700}.route-map-pagination button{width:25px;min-width:25px;height:25px;border:1px solid #bfd2e3;border-radius:5px;background:#fff;color:#116daf;padding:0;font-size:17px;line-height:1;cursor:pointer}.route-map-pagination button:disabled{opacity:.4;cursor:default}.route-map-pagination span{white-space:nowrap}
