@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&display=swap');
:root{--wine:#8c2441;--wine-dark:#701b33;--pale:#f7edf0;--ink:#272529;--muted:#8a8589;--line:#eae6e7;--bg:#faf9f8;--green:#29826c;font-family:'Golos Text',Arial,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,input,select,textarea{outline-offset:3px}button{color:inherit}svg:not(.leaflet-zoom-animated){width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{display:none}[hidden]{display:none!important}.topbar{height:74px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:12px;min-width:330px}.brand-logo{height:41px;width:41px;border-radius:12px;background:var(--wine);color:#ffefcf;display:grid;place-items:center}.brand-logo svg{height:26px;width:26px}.brand strong{font-size:14px;display:block;letter-spacing:-.2px}.brand span:not(.brand-logo){font-size:11px;color:var(--muted);display:block;margin-top:4px}.city-switch{font-weight:600;display:flex;align-items:center;gap:9px}.city-dot{height:7px;width:7px;border-radius:50%;background:var(--wine)}.country{font-size:12px;font-weight:400;color:var(--muted);border-left:1px solid var(--line);padding-left:12px;margin-left:3px}.top-actions{display:flex;align-items:center;justify-content:end;gap:20px;min-width:270px}.sync{font-size:11px;color:#6d7771;display:flex;align-items:center;gap:7px}.sync i,.map-caption i{height:6px;width:6px;border-radius:50%;background:#48947d}.sync.failed{color:#b03f4b}.sync.failed i{background:#b03f4b}.icon-btn{width:30px;height:30px;background:transparent;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;font-size:15px}.workspace{display:flex;height:calc(100dvh - 74px)}.sidebar{width:374px;flex-shrink:0;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:600;transition:margin .18s}.sidebar.collapsed{margin-left:-374px}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:27px 24px 20px}.eyebrow{font-size:9px;color:var(--muted);font-weight:600;letter-spacing:1.1px}h1{font-size:23px;line-height:1.2;margin:9px 0 0;font-weight:700;letter-spacing:-.8px}.stats{display:flex;padding:0 24px 22px;gap:0}.stats>div{flex:1;display:flex;flex-direction:column;border-right:1px solid var(--line);padding-left:18px}.stats>div:first-child{padding-left:0}.stats>div:last-child{border:0}.stats strong{font-size:24px;font-weight:500;letter-spacing:-1px}.stats span{font-size:10px;color:var(--muted);margin-top:4px}.button{border:1px solid transparent;min-height:40px;padding:10px 15px;border-radius:8px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.2;font-size:12px;transition:background .15s}.primary{background:var(--wine);color:#fff}.primary:hover{background:var(--wine-dark)}.secondary{background:#fff;border-color:var(--line)}.secondary:hover,.icon-btn:hover{background:#f5f2f3}.wide{margin:0 24px;width:calc(100% - 48px);min-height:42px}.button svg{width:17px;height:17px}.search-field{display:flex;align-items:center;margin:18px 24px;gap:9px;background:#f7f6f6;border:1px solid #efeded;border-radius:8px;padding:0 11px}.search-field svg{height:16px;width:16px;color:#999196}.search-field input{width:100%;min-width:0;background:transparent;border:0;padding:11px 0;font-size:11px}.tabs{display:flex;margin:0 24px;border-bottom:1px solid var(--line);gap:18px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);font-size:11px;padding:1px 0 12px;display:flex;align-items:center;gap:6px}.tabs button.active{border-color:var(--wine);color:var(--wine);font-weight:600}.tabs svg{height:14px;width:14px}.filters{display:flex;gap:8px;padding:16px 24px 0}.filters select{width:50%;font-size:10px;padding:8px;border-radius:6px;border:1px solid var(--line);background:white;min-width:0}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 24px 12px;min-height:46px}.list-heading>span{font-size:9px;font-weight:600;letter-spacing:1px;color:var(--muted)}.text-btn{font-size:10px;color:var(--wine);border:0;background:none;padding:4px 0}.item-list{flex:1;overflow-y:auto;padding:0 16px;min-height:80px}.empty{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 20px 40px}.empty-visual{background:radial-gradient(circle,#f7edf0 55%,transparent 56%);height:94px;width:94px;display:grid;place-items:center;margin-bottom:12px;color:var(--wine);position:relative}.empty-visual svg{width:37px;height:37px;stroke-width:1.2}.empty-visual:before,.empty-visual:after{content:'';position:absolute;width:5px;height:5px;background:#dcc6cf;border-radius:50%;top:15px;left:16px}.empty-visual:after{top:auto;bottom:22px;left:auto;right:10px;width:3px;height:3px}.empty h2{font-size:14px;margin:0 0 10px;font-weight:600}.empty p{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 17px;max-width:230px}.empty .text-btn{font-size:11px}.sidebar-footer{padding:15px 24px;border-top:1px solid var(--line);display:flex;gap:9px;flex-wrap:wrap}.sidebar-footer .button{flex:1;font-size:10px;min-height:35px}.sidebar-footer>div{font-size:9px;color:#a39da1;text-align:center;width:100%;margin-top:4px}.map-stage{position:relative;flex:1;min-width:0;background:#e8ebdf;overflow:hidden}#map{height:100%;width:100%;background:#e8ebdf}.leaflet-container{font-family:'Golos Text',Arial,sans-serif}.leaflet-tile-pane{filter:saturate(.65) contrast(.96) brightness(1.04)}.map-top{position:absolute;left:24px;right:24px;top:24px;z-index:450;display:flex;gap:12px;align-items:center;pointer-events:none}.map-top>*{pointer-events:auto}.coordinate-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e0df;border-radius:9px;box-shadow:0 3px 14px #29202110;height:44px;width:355px;padding:0 12px}.coordinate-search svg{height:17px;width:17px;color:var(--wine)}.coordinate-search input{border:0;background:none;font-size:11px;min-width:0;flex:1;padding:9px 0}.coordinate-search button{border:1px solid #eee;border-radius:4px;background:#faf9f9;height:22px;width:24px;color:#999}.map-btn{height:40px;min-width:40px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e3e0df;border-radius:8px;box-shadow:0 3px 14px #2920210c}.map-btn svg{height:18px;width:18px}.city-btn{margin-left:auto;font-size:11px;gap:12px;padding:0 14px;height:44px}.city-btn svg{width:15px;height:15px}.map-controls{position:absolute;right:24px;top:92px;z-index:450;display:flex;flex-direction:column;gap:12px;align-items:stretch}.control-group{border:1px solid #e3e0df;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 3px 14px #2920210c}.control-group button{border:0;background:#fff;height:35px;width:38px;display:block;font-size:20px}.control-group button+button{border-top:1px solid var(--line)}#northBtn{font-size:11px;font-weight:600;color:var(--wine)}.control-group button:hover,.map-btn:hover{background:#f8f5f6}.map-bottom{position:absolute;left:24px;bottom:30px;right:24px;z-index:400;display:flex;justify-content:space-between;pointer-events:none;gap:12px}.map-caption,.cursor-coords{padding:8px 11px;border-radius:6px;background:#ffffffed;font-size:9px;color:#746f72;display:flex;align-items:center;gap:7px;box-shadow:0 1px 4px #00000009}.map-caption span{color:#bbb}.cursor-coords{font-family:monospace;letter-spacing:.2px}.leaflet-control-attribution{font-size:9px!important;background:#fff!important;padding:3px 8px!important;max-width:100%}.map-notice{position:absolute;bottom:78px;left:50%;transform:translateX(-50%);z-index:400;padding:10px 15px;background:#ffffffed;border:1px solid #eeebeb;border-radius:8px;font-size:10px;color:#746f72;white-space:nowrap;box-shadow:0 2px 16px #3333330a}.pin-marker{background:none;border:0}.pin-dot{background:var(--pin,#8c2441);width:27px;height:27px;border:3px solid white;box-shadow:0 2px 8px #0004;border-radius:50% 50% 50% 3px;transform:rotate(-45deg);display:grid;place-items:center}.pin-dot:after{content:'';height:6px;width:6px;border-radius:50%;background:white}.pin-dot.review{border-style:dashed}.point-row,.route-row,.history-row{padding:13px 9px;border-bottom:1px solid #f0eded;border-radius:7px;position:relative}.point-row.selected{background:var(--pale)}.point-row:hover,.route-row:hover{background:#faf7f8}.point-row-main{width:100%;background:none;border:0;text-align:left;display:flex;gap:11px;padding:0 24px 0 0;align-items:start}.point-bullet{width:26px;height:30px;display:grid;place-items:center;flex-shrink:0;color:var(--wine)}.point-bullet svg{height:22px;width:22px}.point-info{min-width:0;flex:1}.point-info strong,.route-row strong,.history-row strong{display:block;font-size:12px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.point-info small{display:block;font-size:10px;color:var(--muted);margin:5px 0;line-height:1.6}.tag{display:inline-flex;align-items:center;gap:4px;font-size:8px;padding:3px 5px;background:#f2eeef;border-radius:4px;color:#8c737b;margin:1px 3px 1px 0;line-height:1.3}.tag.green{background:#eaf5ee;color:#4c8565}.tag.amber{background:#fff3df;color:#a7813b}.row-edit{position:absolute;right:8px;top:13px;border:0;background:transparent;color:#a49aa0;padding:2px}.row-edit svg{height:14px;width:14px}.route-row{padding:15px 9px}.route-row-head{display:flex;align-items:center;gap:9px;padding-right:25px}.route-swatch{height:9px;width:9px;border-radius:50%;flex-shrink:0}.route-row p,.history-row p{font-size:10px;color:var(--muted);line-height:1.7;margin:8px 0}.row-actions{display:flex;gap:14px}.row-actions button{font-size:10px}.layers-panel{position:absolute;right:75px;top:92px;z-index:500;width:255px;background:#fff;border-radius:10px;padding:18px;box-shadow:0 10px 35px #0002;font-size:11px}.layers-panel strong{display:block;margin-bottom:15px}.layers-panel label{display:flex;gap:8px;align-items:start;margin:12px 0;line-height:1.5}.layers-panel p{font-size:9px;color:var(--muted);line-height:1.7;margin-bottom:0}input[type=checkbox]{accent-color:var(--wine);cursor:pointer}.pick-banner{position:absolute;z-index:500;top:82px;left:24px;right:80px;background:var(--wine);color:white;border-radius:8px;padding:12px 16px;display:flex;justify-content:space-between;gap:20px;font-size:11px;box-shadow:0 4px 18px #0002}.pick-banner button{border:0;background:none;color:#fff;text-decoration:underline;font-size:11px}.map-stage.picking .leaflet-container{cursor:crosshair}.route-bar{position:absolute;z-index:450;bottom:78px;left:24px;right:84px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 18px;box-shadow:0 4px 25px #0001;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.route-bar strong{font-size:12px}.route-bar small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5}.route-bar .button{font-size:10px;min-height:32px;padding:8px 12px}.route-bar>div:first-child{flex:1;min-width:130px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#30282d;color:white;max-width:calc(100% - 32px);padding:13px 20px;font-size:12px;line-height:1.6;border-radius:10px;box-shadow:0 6px 30px #0003;z-index:2000}.dialog{border:1px solid #ddd5d9;border-radius:15px;padding:0;width:490px;max-width:calc(100vw - 28px);max-height:90dvh;box-shadow:0 24px 100px #21101f30;color:var(--ink);background:#fff}.dialog::backdrop{background:#21141b55;backdrop-filter:blur(2px)}.dialog form{margin:0}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:23px 25px 20px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:20px;letter-spacing:-.5px;margin:7px 0 0}.close-btn{border:0;background:none;font-size:24px;color:#91868c;padding:0 3px;line-height:1}.dialog-body{padding:22px 25px;overflow-y:auto;max-height:calc(90dvh - 166px)}.dialog-body label{font-size:11px;font-weight:500;display:block;margin-bottom:16px}.dialog-body input:not([type=checkbox]):not([type=color]),.dialog-body textarea,.dialog-body select{display:block;width:100%;border:1px solid #e0dadc;background:#fff;border-radius:7px;padding:11px;margin-top:7px;font-size:12px;color:var(--ink)}.dialog-body input::placeholder,.dialog-body textarea::placeholder{color:#aaa1a6;font-size:11px}.dialog-body input[type=color]{width:55px;height:40px;margin-top:7px;padding:3px;border:1px solid var(--line);border-radius:7px;background:#fff}.dialog-body h3{font-size:12px;margin:22px 0 12px}.required{color:var(--wine)}.field-help{font-size:9px;float:right;color:var(--muted);font-weight:400}.two-buttons{display:flex;gap:8px;margin:-3px 0 18px}.two-buttons .button{flex:1;font-size:10px;min-height:35px}.route-checks{border:1px solid var(--line);border-radius:7px;padding:10px 12px;margin:0 0 17px}.route-checks legend{font-size:11px;padding:0 5px}.route-checks label{display:inline-flex;align-items:center;gap:5px;margin:4px 10px 4px 0;font-size:10px}.route-checks p{font-size:10px;line-height:1.7;color:var(--muted);margin:2px}.hint{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 0}.error{color:#b53145;font-size:11px;line-height:1.6;margin:8px 0;white-space:pre-wrap}.error:empty{display:none}.dialog-footer{padding:16px 25px;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);background:#fdfcfc}.spacer{flex:1}.danger{color:#b53145}.dialog-footer .button{font-size:11px;min-height:37px}.dialog-footer .text-btn{font-size:10px}.route-name-row{display:flex;gap:15px}.route-name-row label:first-child{flex:1}.dialog-body .checkline{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:400}.ordered-stops{border:1px solid var(--line);border-radius:8px;max-height:230px;overflow:auto}.stop-row{display:flex;gap:8px;align-items:center;padding:10px;border-bottom:1px solid var(--line);font-size:11px}.stop-row:last-child{border:0}.stop-index{border:1px solid #dac3cd;background:#f9f1f4;color:var(--wine);height:23px;min-width:23px;display:grid;place-items:center;border-radius:50%;font-size:9px}.stop-name{flex:1;min-width:0;overflow-wrap:anywhere}.stop-name small{color:#af7e4d;display:block;font-size:9px;margin-top:4px}.stop-row button{background:none;border:1px solid var(--line);font-size:11px;border-radius:4px;padding:4px 6px}.ordered-stops>p{font-size:10px;color:var(--muted);padding:5px 15px}.available-stops{max-height:200px;overflow:auto;margin-top:8px}.available-stops button{display:flex;align-items:center;gap:10px;padding:10px;width:100%;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;font-size:11px}.available-stops button span:first-child{color:var(--wine);font-size:16px}.data-actions{display:flex;flex-wrap:wrap;gap:10px}.dialog-body>p{font-size:12px;line-height:1.8;color:#766c72}.import-preview{border:1px solid var(--line);border-radius:8px;padding:12px;font-size:11px;line-height:1.8;margin:16px 0;background:#faf8f9}.small-dialog{width:410px}.leaflet-popup-content{font-size:11px;line-height:1.6;min-width:170px;max-width:260px!important}.popup-title{font-size:14px;margin:0 0 7px;font-weight:600}.popup-address{color:var(--muted);margin-bottom:9px}.popup-coords{font-family:monospace;font-size:10px;color:#73636c;white-space:nowrap}.popup-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:12px}.popup-actions button{background:none;border:0;padding:0;font-size:10px;color:var(--wine);font-weight:600}.login-panel{padding:26px 8px}.login-panel p{font-size:12px;line-height:1.8;color:var(--muted)}a{color:var(--wine)}
.empty{min-height:0;height:100%;padding:8px 8px 14px}.empty-visual{height:48px;width:48px;margin-bottom:7px;flex-shrink:0}.empty-visual svg{height:27px;width:27px}.empty h2{font-size:13px;margin-bottom:6px}.empty p{font-size:10px;line-height:1.5;margin-bottom:8px}.empty-visual:before{left:0;top:3px}.empty-visual:after{right:0;bottom:7px}
@media(min-width:1500px){.sidebar{width:402px}.sidebar.collapsed{margin-left:-402px}.sidebar-heading,.stats{padding-left:28px;padding-right:28px}.wide{margin-left:28px;margin-right:28px;width:calc(100% - 56px)}}
@media(max-width:1050px){.brand{min-width:0}.top-actions{min-width:0}.country{display:none}.sidebar{width:330px}.sidebar.collapsed{margin-left:-330px}.sidebar-heading{padding-left:20px;padding-right:20px}h1{font-size:21px}.coordinate-search{width:310px}.city-btn{display:none}.map-notice{max-width:calc(100% - 48px);white-space:normal;text-align:center;line-height:1.6}.cursor-coords{display:none}.map-caption{font-size:8px}.topbar{padding:0 20px}}
@media(max-width:700px){.topbar{height:61px;padding:0 16px;gap:12px}.brand-logo{width:33px;height:33px;border-radius:10px}.brand-logo svg{height:21px;width:21px}.brand strong{font-size:11px}.brand span:not(.brand-logo){font-size:9px}.brand{gap:9px}.city-switch{font-size:11px}.top-actions .sync{font-size:0;gap:0}.top-actions{gap:10px}.top-actions .icon-btn{height:26px;width:26px}.workspace{height:calc(100dvh - 61px)}.sidebar{position:absolute;top:61px;bottom:0;width:min(350px,calc(100vw - 40px));left:0;box-shadow:8px 0 30px #32202d18}.sidebar.collapsed{margin-left:calc(-1 * min(350px,calc(100vw - 40px)));box-shadow:none}.sidebar-heading{padding-top:21px;padding-bottom:17px}.stats{padding-bottom:18px}.stats strong{font-size:21px}.search-field{margin-top:15px;margin-bottom:15px}.map-top{top:16px;left:16px;right:16px;gap:8px}.coordinate-search{width:100%;max-width:340px;height:40px;flex:1;padding:0 9px;gap:7px}.coordinate-search input{font-size:10px}.coordinate-search input::placeholder{font-size:9px}.map-controls{right:16px;top:75px;gap:10px}.map-bottom{left:16px;right:16px;bottom:30px}.map-notice{bottom:75px;font-size:10px;max-width:calc(100% - 85px);left:16px;transform:none}.route-bar{left:16px;right:65px;bottom:75px;padding:12px;gap:7px}.pick-banner{top:67px;left:16px;right:65px;font-size:10px;line-height:1.6;padding:10px}.layers-panel{right:65px;top:75px;width:235px}.dialog{max-height:94dvh}.dialog-body{max-height:calc(94dvh - 160px);padding:18px}.dialog-header{padding:20px 18px}.dialog-footer{padding:14px 18px;gap:7px}.dialog-footer .button{font-size:10px;padding:9px 10px}.empty{min-height:210px;padding-bottom:25px}.dialog-header h2{font-size:18px}.toast{bottom:20px;font-size:11px}.two-buttons .button{font-size:9px;padding:8px}}
