:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#1a1a2e;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#root{width:100%;height:100vh}.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}}.tractor-simulation-controls{position:absolute;bottom:20px;left:50%;transform:translate(-50%);background:#fffffff2;border-radius:12px;padding:12px 20px;box-shadow:0 4px 20px #00000040;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:250px;max-width:600px}.simulation-resize-handle{position:absolute;top:0;bottom:0;width:8px;cursor:ew-resize;background:transparent;transition:background .2s ease}.simulation-resize-handle:hover{background:#2196f34d}.simulation-resize-handle.left{left:0;border-radius:12px 0 0 12px}.simulation-resize-handle.right{right:0;border-radius:0 12px 12px 0}.simulation-header{display:flex;justify-content:space-between;align-items:center;width:100%}.simulation-title{font-weight:700;font-size:14px;color:#333}.simulation-progress{font-size:12px;color:#666;background:#f0f0f0;padding:2px 8px;border-radius:10px}.simulation-speed{font-size:12px;color:#2d5016;background:#e8f5e9;padding:2px 8px;border-radius:10px;font-weight:500}.simulation-info{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:11px;color:#666}.simulation-info span{background:#f5f5f5;padding:2px 6px;border-radius:4px}.simulation-buttons{display:flex;gap:10px}.sim-btn{width:44px;height:44px;border:none;border-radius:50%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.sim-btn.play{background:linear-gradient(135deg,#4caf50,#2d7d32);color:#fff}.sim-btn.play:hover{background:linear-gradient(135deg,#66bb6a,#388e3c);transform:scale(1.1)}.sim-btn.pause{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff}.sim-btn.pause:hover{background:linear-gradient(135deg,#ffb74d,#ffa726);transform:scale(1.1)}.sim-btn.reset{background:linear-gradient(135deg,#607d8b,#455a64);color:#fff}.sim-btn.reset:hover{background:linear-gradient(135deg,#78909c,#546e7a);transform:scale(1.1)}.simulation-slider{width:100%;height:6px;-webkit-appearance:none;appearance:none;background:#ddd;border-radius:3px;outline:none}.simulation-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#2196f3;cursor:pointer;box-shadow:0 2px 6px #0000004d}.simulation-slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#2196f3;cursor:pointer;border:none;box-shadow:0 2px 6px #0000004d}.tractor-icon{background:none!important;border:none!important}.tractor-icon svg{filter:drop-shadow(2px 2px 3px rgba(0,0,0,.3));transition:transform .1s ease}.speed-controls{display:flex;align-items:center;gap:8px;font-size:12px;color:#666}.speed-btn{padding:4px 10px;border:1px solid #ccc;background:#fff;border-radius:4px;cursor:pointer;font-size:11px;transition:all .2s}.speed-btn:hover{background:#f0f0f0}.speed-btn.active{background:#2196f3;color:#fff;border-color:#2196f3}.simulation-speed-control{display:flex;align-items:center;gap:4px}.speed-input{width:50px;padding:4px 6px;border:1px solid #ccc;border-radius:6px;background:linear-gradient(180deg,#fff,#f5f5f5);font-size:12px;font-weight:600;color:#2d5016;text-align:center;outline:none;transition:all .2s ease;-moz-appearance:textfield}.speed-input::-webkit-outer-spin-button,.speed-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.speed-input:hover{border-color:#4caf50;background:linear-gradient(180deg,#fff,#e8f5e9)}.speed-input:focus{border-color:#4caf50;box-shadow:0 0 0 2px #4caf5033}.speed-unit{font-size:11px;color:#666;font-weight:500}.speed-select{padding:4px 8px;border:1px solid #ccc;border-radius:6px;background:linear-gradient(180deg,#fff,#f5f5f5);font-size:12px;font-weight:500;color:#2d5016;cursor:pointer;outline:none;transition:all .2s ease}.speed-select:hover{border-color:#4caf50;background:linear-gradient(180deg,#fff,#e8f5e9)}.speed-select:focus{border-color:#4caf50;box-shadow:0 0 0 2px #4caf5033}.time-display{font-family:Courier New,monospace;font-weight:600;color:#1565c0!important;background:#e3f2fd!important}.area-display{font-weight:600;color:#2d5016!important;background:#e8f5e9!important}.language-selector{display:flex;gap:4px;align-items:center}.lang-btn{background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:4px;padding:4px 8px;cursor:pointer;font-size:16px;transition:all .2s ease;opacity:.6}.lang-btn:hover{background:#ffffff1a;opacity:.9}.lang-btn.active{background:#ffffff26;border-color:#fff6;opacity:1}@media(max-width:768px){.language-selector{gap:2px}.lang-btn{padding:3px 6px;font-size:14px}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460);padding:20px;position:relative}.login-language-selector{position:absolute;top:20px;right:20px}.login-box{background:#fffffff2;border-radius:16px;box-shadow:0 20px 60px #0000004d;padding:40px;width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:30px}.login-header h1{margin:0;font-size:2rem;color:#1a1a2e}.login-header p{margin:8px 0 0;color:#666;font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-weight:500;color:#333;font-size:.9rem}.form-group input{padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus{outline:none;border-color:#0f3460;box-shadow:0 0 0 3px #0f34601a}.form-group input::placeholder{color:#999}.error-message{background:#fee2e2;color:#dc2626;padding:12px;border-radius:8px;font-size:.9rem;text-align:center}.success-message{background:#dcfce7;color:#16a34a;padding:12px;border-radius:8px;font-size:.9rem;text-align:center}.login-button{background:linear-gradient(135deg,#0f3460,#16213e);color:#fff;border:none;padding:14px 20px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #0f34604d}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed}.toggle-mode{text-align:center;margin-top:10px;padding-top:15px;border-top:1px solid #e0e0e0}.toggle-mode p{margin:0;color:#666;font-size:.9rem}.link-button{background:none;border:none;color:#0f3460;font-weight:600;cursor:pointer;padding:0;font-size:inherit;text-decoration:underline}.link-button:hover{color:#16213e}@media(max-width:480px){.login-container{padding:16px}.login-box{padding:24px;border-radius:12px}.login-header h1{font-size:1.5rem}.login-header p{font-size:.85rem}.form-group input{padding:14px;font-size:16px}.login-button{padding:16px}}@media(pointer:coarse){.form-group input{min-height:48px;font-size:16px}.login-button{min-height:52px}.link-button{min-height:44px;display:inline-flex;align-items:center}}.admin-panel{background:#f8fafc;border-radius:12px;padding:16px;margin-bottom:20px;border:1px solid #e2e8f0;transition:all .3s ease}.admin-panel.collapsed{padding:8px 16px}.admin-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none;padding:4px 0;border-radius:8px;transition:background .2s}.admin-header:hover{background:#0000000d}.admin-header h3{margin:0;font-size:1rem;color:#334155}.pending-badge{background:#ef4444;color:#fff;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600}.admin-content{margin-top:12px}.pending-section h4{margin:0 0 10px;font-size:.9rem;color:#475569;font-weight:500}.admin-panel h3{margin:0 0 12px;font-size:1rem;color:#334155}.admin-loading,.admin-empty{text-align:center;color:#64748b;padding:20px;font-size:.9rem}.admin-error{background:#fee2e2;color:#dc2626;padding:12px;border-radius:8px;text-align:center;font-size:.9rem}.pending-users-list{display:flex;flex-direction:column;gap:10px}.pending-user{display:flex;flex-direction:column;background:#fff;padding:12px 16px;border-radius:8px;border:1px solid #e2e8f0;gap:10px}.pending-user-info{display:flex;flex-direction:column;gap:2px;min-width:0}.pending-user-info .pending-username{font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-email{font-size:.75rem;color:#2563eb;word-break:break-all}.created-at{font-size:.75rem;color:#64748b}.user-actions{display:flex;gap:8px;align-self:flex-start}.approve-btn,.reject-btn{padding:6px 12px;border-radius:6px;border:none;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s}.approve-btn{background:#dcfce7;color:#16a34a}.approve-btn:hover:not(:disabled){background:#bbf7d0}.reject-btn{background:#fee2e2;color:#dc2626}.reject-btn:hover:not(:disabled){background:#fecaca}.approve-btn:disabled,.reject-btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:500px){.pending-user{flex-direction:column;align-items:stretch}.user-actions{justify-content:flex-end}}.all-users-section{margin-top:16px;border-top:1px solid #e2e8f0;padding-top:16px}.toggle-users-btn{background:none;border:none;color:#475569;font-size:.95rem;font-weight:500;cursor:pointer;padding:8px 0;text-align:left;width:100%;transition:color .2s}.toggle-users-btn:hover{color:#1e293b}.all-users-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.user-item{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:10px 14px;border-radius:8px;border:1px solid #e2e8f0;gap:12px}.user-item.admin-user{background:#fef3c7;border-color:#fcd34d}.admin-badge{margin-left:8px;font-size:.75rem;color:#d97706}.delete-btn{padding:6px 12px;border-radius:6px;border:none;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s;background:#f1f5f9;color:#64748b}.delete-btn:hover:not(:disabled){background:#fee2e2;color:#dc2626}.delete-btn:disabled{opacity:.6;cursor:not-allowed}.settings-panel{padding:15px;background:#0f172a;color:#e2e8f0;width:100%;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.settings-panel h3{margin:0 0 20px;padding-bottom:10px;border-bottom:2px solid #1e293b;font-size:18px;color:#60a5fa}.settings-section{margin-bottom:25px;padding:15px;background:#1e293b80;border-radius:8px;border:1px solid #1e293b}.settings-section h4{margin:0 0 15px;font-size:14px;color:#94a3b8;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.setting-row{display:flex;align-items:center;margin-bottom:12px;padding:8px 0}.setting-row label{font-size:13px;color:#cbd5e1;cursor:help}.setting-row input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#3b82f6}.setting-row input[type=number]{padding:6px 10px;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#e2e8f0;font-size:13px;transition:all .2s}.setting-row input[type=number]:focus{outline:none;border-color:#3b82f6;background:#0f172a}.setting-row input[type=number]:hover{border-color:#475569}.setting-info{margin-top:12px;padding:10px;background:#3b82f61a;border-left:3px solid #3b82f6;border-radius:4px}.setting-info p{margin:0;font-size:11px;color:#94a3b8;line-height:1.5}.settings-panel::-webkit-scrollbar{width:8px}.settings-panel::-webkit-scrollbar-track{background:#0f172a}.settings-panel::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}.settings-panel::-webkit-scrollbar-thumb:hover{background:#475569}.resizer{flex-shrink:0;background:transparent;transition:background-color .15s ease;position:relative;z-index:10;touch-action:none}.resizer-horizontal{width:8px;cursor:col-resize;background:#0f3460}.resizer-horizontal:hover,.resizer-horizontal.dragging{background:#e94560}.resizer-horizontal .resizer-handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:4px;height:40px;background:#ffffff4d;border-radius:2px;transition:all .15s ease}.resizer-horizontal:hover .resizer-handle,.resizer-horizontal.dragging .resizer-handle{background:#fffc;height:60px}.resizer-vertical{height:8px;cursor:row-resize;background:#0f3460}.resizer-vertical:hover,.resizer-vertical.dragging{background:#e94560}.resizer-vertical .resizer-handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:4px;background:#ffffff4d;border-radius:2px;transition:all .15s ease}.resizer-vertical:hover .resizer-handle,.resizer-vertical.dragging .resizer-handle{background:#fffc;width:60px}.resizer.dragging:before{content:"";position:fixed;inset:0;z-index:9999}@media(pointer:coarse){.resizer-horizontal{width:16px}.resizer-horizontal .resizer-handle{width:6px;height:60px}.resizer-vertical{height:16px}.resizer-vertical .resizer-handle{height:6px;width:60px}}@media(max-width:768px){.resizer-horizontal{display:none}.resizer-vertical{width:100%;height:12px;display:flex;align-items:center;justify-content:center}.resizer-vertical .resizer-handle{width:60px;height:4px}}.simplify-dialog{position:fixed;z-index:9999;background:#fff;border:1px solid #ccc;border-radius:8px;box-shadow:0 4px 20px #00000040;width:320px;font-size:13px;-webkit-user-select:none;user-select:none}.simplify-dialog-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f5f5f5;border-bottom:1px solid #ddd;border-radius:8px 8px 0 0;cursor:move}.simplify-dialog-header h4{margin:0;font-size:13px;color:#333}.simplify-dialog-close{background:none;border:none;font-size:18px;cursor:pointer;color:#666;padding:0 4px;line-height:1}.simplify-dialog-close:hover{color:#d32f2f}.simplify-dialog-body{padding:12px}.simplify-slider-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}.simplify-slider-row label{font-size:12px;color:#555;white-space:nowrap;min-width:90px}.simplify-slider-row input[type=range]{flex:1;height:4px}.simplify-slider-row .slider-value{font-weight:700;color:#1976d2;min-width:40px;text-align:right;font-size:12px}.toggle-button{padding:4px 10px;border:1px solid #ccc;border-radius:4px;cursor:pointer;font-size:11px;background:#f5f5f5;color:#666;transition:all .2s}.toggle-button:hover{background:#e0e0e0}.toggle-button.active{background:#1976d2;border-color:#1565c0;color:#fff}.toggle-button:disabled{opacity:.5;cursor:not-allowed}.simplify-stats{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px;padding:8px 10px;margin-bottom:10px;font-size:12px}.simplify-stats .stat-row{display:flex;justify-content:space-between;padding:2px 0}.simplify-stats .stat-label{color:#666}.simplify-stats .stat-value{font-weight:700;color:#333}.simplify-stats .stat-value.good{color:#2e7d32}.simplify-stats .stat-value.warning{color:#e65100}.simplify-dialog-actions{display:flex;gap:8px;justify-content:flex-end}.simplify-dialog-actions button{padding:6px 14px;border:1px solid #ccc;border-radius:4px;cursor:pointer;font-size:12px;transition:background .2s}.simplify-dialog-actions .btn-reduce{background:#e3f2fd;border-color:#1976d2;color:#1565c0;font-weight:700}.simplify-dialog-actions .btn-reduce:hover{background:#bbdefb}.simplify-dialog-actions .btn-reduce:disabled{opacity:.6;cursor:not-allowed}.simplify-dialog-actions .btn-save{background:#e8f5e9;border-color:#4caf50;color:#2e7d32}.simplify-dialog-actions .btn-save:hover{background:#c8e6c9}.simplify-dialog-actions .btn-cancel{background:#f5f5f5;color:#666}.simplify-dialog-actions .btn-cancel:hover{background:#e0e0e0}.simplify-side-info{font-size:11px;color:#888;margin-bottom:8px;padding:4px 8px;border-radius:3px}.simplify-side-info.inward{background:#e3f2fd;color:#1565c0}.simplify-side-info.outward{background:#fce4ec;color:#c62828}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#1a1a2e;color:#eee}.app-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460)}.app-loading .loading-spinner{font-size:4rem;animation:spin 2s linear infinite}.app-loading p{margin-top:1rem;color:#999}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.user-info{display:flex;align-items:center;gap:.75rem;padding:0 1rem;border-left:1px solid #0f3460;border-right:1px solid #0f3460;flex-shrink:0;white-space:nowrap}.username{color:#fbbf24;font-size:.9rem;font-weight:600}.logout-button{background:#ef444433;color:#f87171;border:1px solid #ef4444;padding:.4rem .75rem;border-radius:6px;font-size:.8rem;cursor:pointer;transition:all .2s}.logout-button:hover{background:#ef444466}.app{display:flex;flex-direction:column;height:100vh;overflow:hidden}.app-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;background:#16213e;border-bottom:2px solid #0f3460;gap:1rem}.app-header h1{font-size:1.5rem;color:#e94560;white-space:nowrap}.save-indicator{display:flex;align-items:center;flex-shrink:0}.save-status{padding:.35rem .75rem;border-radius:20px;font-size:.8rem;font-weight:500;white-space:nowrap;transition:all .3s ease;min-height:32px;box-sizing:border-box;display:inline-flex;align-items:center}.save-status.saving{background:#3b82f633;color:#60a5fa;border:1px solid #3b82f6;animation:pulse 1s infinite}.save-status.unsaved{background:#f59e0b33;color:#fbbf24;border:1px solid #f59e0b}.save-status.saved{background:#10b98133;color:#34d399;border:1px solid #10b981}.save-status.error{background:#ef444433;color:#f87171;border:1px solid #ef4444}.ws-indicator{font-size:.7rem;margin-left:8px;cursor:help}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.backup-actions{display:flex;align-items:center;gap:.5rem;margin-left:.5rem;padding-left:.75rem;border-left:1px solid #0f3460}.backup-btn,.restore-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border:none;border-radius:5px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s;min-height:32px;box-sizing:border-box;white-space:nowrap}.backup-btn{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff}.backup-btn:hover:not(:disabled){background:linear-gradient(135deg,#818cf8,#6366f1);transform:translateY(-1px)}.backup-btn:disabled{opacity:.5;cursor:not-allowed}.restore-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.restore-btn:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b);transform:translateY(-1px)}.clear-all-btn{padding:.4rem .6rem;background:#ef444433;color:#f87171;border:1px solid #ef4444;border-radius:5px;cursor:pointer;font-size:.9rem;transition:all .2s;min-height:32px;box-sizing:border-box;display:inline-flex;align-items:center;white-space:nowrap}.clear-all-btn:hover{background:#ef4444;color:#fff}.app-main{display:flex;flex:1;overflow:hidden;position:relative}.mobile-panel-toggles{display:none}.sidebar{width:320px;min-width:200px;max-width:500px;flex-shrink:0;background:#16213e;border-right:none;overflow-y:auto;padding:1rem;transition:transform .3s ease,opacity .3s ease}.editor-sidebar{width:300px;min-width:200px;max-width:500px;flex-shrink:0;background:#16213e;border-left:none;overflow-y:auto;overflow-x:hidden;padding:1rem;transition:transform .3s ease,opacity .3s ease}.map-section{flex:1;position:relative}.map-container{height:100%;position:relative}.map{height:100%;width:100%}.map-overlay{position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:1000;background:#000000d9;color:#fff;padding:.5rem 1rem;border-radius:20px;font-weight:700;text-shadow:none}.map-undo-button{position:absolute;top:10px;left:55px;z-index:1000;padding:8px 14px;border:none;border-radius:8px;background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 2px 8px #0000004d;transition:all .2s ease;white-space:nowrap}.map-undo-button:hover{background:linear-gradient(135deg,#ffb74d,#ff9800);transform:translateY(-1px);box-shadow:0 4px 12px #00000059}.line-edit-toggle-btn{position:absolute;top:70px;right:10px;z-index:999;padding:10px 16px;border:none;border-radius:8px;background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff;font-size:13px;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #0003;transition:all .2s ease}.line-edit-toggle-btn:hover{background:linear-gradient(135deg,#42a5f5,#1e88e5);transform:translateY(-1px);box-shadow:0 4px 12px #00000040}.line-point-marker{background:#9c27b0;border-radius:50%;border:2px solid white;box-shadow:0 2px 6px #0006;cursor:move;transition:all .15s ease}.line-point-marker:hover{transform:scale(1.2);background:#ba68c8}.line-point-marker.line-point-selected{background:#e91e63;border-color:#fff;transform:scale(1.3);box-shadow:0 0 0 3px #e91e634d,0 2px 8px #0006}.line-point-inner{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:10px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.5)}.header-actions{display:flex;align-items:center;gap:1rem}.file-upload{display:flex;align-items:center;gap:1rem;position:relative}.file-upload-label{cursor:pointer}.file-upload-dropdown{position:relative}.file-upload-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;box-sizing:border-box;padding:.4rem 1rem;background:#e94560;color:#fff;border:none;border-radius:6px;font-weight:500;transition:background .2s;white-space:nowrap;cursor:pointer}.file-upload-button:hover{background:#ff6b6b}.file-upload-button:disabled{opacity:.6;cursor:not-allowed}.file-upload-menu{position:fixed;min-width:220px;background:#1a1a2e;border:1px solid #333;border-radius:8px;box-shadow:0 4px 12px #0006;z-index:10000;overflow:hidden}.file-upload-menu-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.75rem 1rem;background:transparent;border:none;color:#e0e0e0;font-size:.9rem;text-align:left;cursor:pointer;transition:background .2s}.file-upload-menu-item:hover{background:#2a2a4e}@media(hover:none)and (pointer:coarse){.file-upload-menu-item{padding:1rem 1.25rem;font-size:1rem;min-height:48px}.file-upload-button{min-height:44px;padding:.5rem 1.25rem}.file-upload-menu-item:active{background:#2a2a4e}}.file-upload-menu-item:not(:last-child){border-bottom:1px solid #333}.import-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:32px;box-sizing:border-box;padding:.4rem 1rem;background:#3b82f6;color:#fff;border-radius:6px;font-weight:500;transition:background .2s;cursor:pointer;white-space:nowrap}.import-btn:hover{background:#60a5fa}.export-all-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:32px;padding:.4rem 1rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:6px;font-weight:500;transition:all .2s;cursor:pointer;box-sizing:border-box;white-space:nowrap}.export-all-btn:hover{background:linear-gradient(135deg,#34d399,#10b981);transform:translateY(-1px);box-shadow:0 2px 8px #10b98166}.draw-polygon-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:32px;padding:.4rem 1rem;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border:none;border-radius:6px;font-weight:500;transition:all .2s;cursor:pointer;box-sizing:border-box;white-space:nowrap}.draw-polygon-btn:hover{background:linear-gradient(135deg,#a78bfa,#8b5cf6);transform:translateY(-1px);box-shadow:0 2px 8px #8b5cf666}.draw-polygon-controls{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#8b5cf633;border-radius:6px;border:1px solid #8b5cf6}.draw-polygon-controls .point-count{font-weight:500;color:#a78bfa}.draw-polygon-controls button{padding:.25rem .5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .2s}.draw-polygon-controls .btn-undo{background:#6b7280;color:#fff}.draw-polygon-controls .btn-undo:hover{background:#9ca3af}.draw-polygon-controls .btn-finish{background:#10b981;color:#fff}.draw-polygon-controls .btn-finish:hover{background:#34d399}.draw-polygon-controls .btn-cancel{background:#ef4444;color:#fff}.draw-polygon-controls .btn-cancel:hover{background:#f87171}.polygon-point-marker{background:transparent;border:none}.polygon-point-inner{width:12px;height:12px;background:#0a0;border:2px solid white;border-radius:50%;box-shadow:0 2px 4px #0000004d}.ab-mode-indicator.draw-mode{background:#000000d9}.file-info{color:#4ade80;font-size:.875rem}.file-error{color:#f87171;font-size:.875rem}.field-list h3{margin-bottom:1rem;color:#e94560}.field-list-empty{text-align:center;padding:2rem;color:#888}.field-table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.875rem}.field-table th{text-align:left;padding:.5rem;background:#0f3460;color:#e94560;border-bottom:2px solid #e94560}.field-table td{padding:.5rem;border-bottom:1px solid #0f3460}.field-table tr{cursor:pointer;transition:background .2s}.field-table tr:hover{background:#e945601a}.field-table tr.selected{background:#e945604d}.field-table tr.obstacle{background:#9ca3af33}.field-table tr.obstacle:hover{background:#9ca3af4d}.field-table tr.obstacle.selected{background:#9ca3af66}.field-table tr.obstacle .bzs-cell{color:#9ca3af}.btn-obstacle{background:#9ca3af33;border:1px solid #6b7280}.btn-obstacle:hover{background:#9ca3af66}.btn-obstacle.active{background:#fbbf244d;border-color:#fbbf24}.bzs-cell{font-weight:700;color:#4ade80;min-width:80px;white-space:nowrap}.bzs-cell input{width:80px;min-width:80px;padding:.25rem;background:#16213e;border:1px solid #0f3460;color:#888;border-radius:4px;cursor:not-allowed;transition:all .2s}.bzs-cell input.readonly-input{color:#888}.bzs-cell input.editing{background:#0f3460;border:1px solid #e94560;color:#fff;cursor:text}.bzs-cell input.editing:focus{outline:none;box-shadow:0 0 0 2px #e945604d}.area-cell{color:#60a5fa;min-width:70px;white-space:nowrap}.name-cell{min-width:120px}.name-cell input{width:120px;min-width:120px;padding:.25rem;background:#16213e;border:1px solid #0f3460;color:#888;border-radius:4px;cursor:not-allowed;transition:all .2s}.name-cell input.readonly-input{color:#888}.name-cell input:disabled{opacity:.8}.name-cell input:disabled::placeholder{color:#555}.name-cell input.editing{background:#0f3460;border:1px solid #e94560;color:#fff;cursor:text}.name-cell input.editing:focus{outline:none;box-shadow:0 0 0 2px #e945604d}.name-cell .no-name{color:#888;font-style:italic;cursor:pointer}.name-cell .has-name{color:#4ade80;cursor:pointer}.actions-cell{white-space:nowrap}.btn-small{padding:.25rem .5rem;margin-right:.25rem;background:transparent;border:none;cursor:pointer;font-size:1rem;opacity:.7;transition:opacity .2s}.btn-small:hover{opacity:1}.btn-small.btn-edit.active{opacity:1;background:#e9456033;border-radius:4px}.btn-small:disabled{opacity:.3;cursor:not-allowed}.btn-small.btn-delete:hover{color:#ef4444;opacity:1}.guidance-editor{display:flex;flex-direction:column;gap:1rem}.guidance-editor.empty{display:flex;flex-direction:column;height:100%;color:#888}.guidance-editor.empty .new-block-section{margin-bottom:1rem}.guidance-editor.empty .empty-message{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem}.new-block-section.always-visible{background:#1e3a5f;border:1px solid rgba(139,92,246,.3)}.new-block-section>.btn{width:100%}.guidance-editor h3{color:#e94560;padding-bottom:.5rem;border-bottom:2px solid #0f3460}.guidance-editor h4{color:#60a5fa;font-size:.875rem;margin-bottom:.5rem}.editor-section{background:#0f3460;padding:1rem;border-radius:8px;border:1px solid rgba(233,69,96,.3)}.guidance-sub-section{padding:8px 0}.guidance-sub-section .sub-section-title{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#aaa;margin-bottom:8px}.guidance-sub-divider{border:none;border-top:1px solid rgba(255,255,255,.1);margin:10px 0}.line-item.ab-line-detail{display:block;padding:8px;border-bottom:1px solid rgba(255,255,255,.07)}.ab-line-detail:last-child{border-bottom:none}.ab-line-header{display:flex;align-items:center;gap:6px;margin-bottom:4px}.ab-line-coords{display:flex;flex-direction:column;gap:3px}.ab-coord-row{display:none}.ab-point-row{display:grid;grid-template-columns:16px 14px 1fr 14px 1fr;align-items:center;gap:3px}.ab-point-label{font-size:11px;font-weight:700;color:#7ec8e3;font-family:monospace;text-align:center}.ab-sublabel{font-size:10px;color:#aaa;text-align:center}.ab-meta-edit-row{display:grid;grid-template-columns:20px 1fr 12px 20px 1fr 12px;align-items:center;gap:3px;margin-top:2px;padding-top:3px;border-top:1px solid rgba(255,255,255,.07)}.ab-coord-label{font-size:11px;color:#aaa;text-align:center;white-space:nowrap}.ab-coord-input{background:#0a1628;border:1px solid #2a4a7a;border-radius:3px;color:#e8f4f8;font-size:11px;font-family:monospace;padding:2px 5px;min-width:0;width:100%;box-sizing:border-box}.ab-coord-input:focus{outline:none;border-color:#4fc3f7}.ab-coord-input[readonly]{color:#888;cursor:not-allowed;border-color:#1a3050}.ab-coord-unit{font-size:10px;color:#888}.ab-meta-row{display:flex;gap:10px;margin-top:5px;padding-top:4px;border-top:1px solid rgba(255,255,255,.07)}.ab-meta-item{font-size:11px;color:#7ec8e3;font-family:monospace}.ab-actions-row{display:flex;gap:5px;margin-bottom:6px}.btn-ab-action{background:#0f2640;border:1px solid #2a4a7a;border-radius:3px;color:#9ec8e8;font-size:12px;line-height:1;padding:2px 5px;cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}.btn-ab-action:hover:not(:disabled){background:#1a3a6a;color:#fff}.btn-ab-action:disabled{opacity:.4;cursor:not-allowed}.btn-ab-action.btn-ab-copied{background:#0d4020;border-color:#1a8040;color:#4cde8a}.editor-section>.btn{width:100%}.setting-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.setting-row label{font-size:.875rem;color:#ccc}.setting-row input{width:80px;padding:.25rem .5rem;background:#16213e;border:1px solid #e94560;color:#fff;border-radius:4px;text-align:right}.ab-status{padding:.5rem;background:#16213e;border-radius:4px;text-align:center;font-size:.875rem;margin-bottom:.5rem}.button-group{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.btn{flex:1 1 auto;min-width:0;padding:.5rem .75rem;border:none;border-radius:6px;cursor:pointer;font-weight:500;font-size:.85rem;white-space:normal;transition:all .2s}.btn-primary{background:#e94560;color:#fff}.btn-primary:hover{background:#ff6b6b}.btn-secondary{background:#0f3460;color:#fff;border:1px solid #e94560}.btn-secondary:hover{background:#16213e}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#34d399}.btn-warning{background:#f59e0b;color:#fff}.btn-warning:hover{background:#fbbf24}.btn:disabled{opacity:.5;cursor:not-allowed}.export-section{background:#0a2540!important;border:1px solid rgba(16,185,129,.3)}.export-warning{color:#fbbf24;font-size:.875rem;text-align:center}.export-info{color:#ccc;font-size:.875rem;margin-bottom:.5rem}.export-info strong{color:#4ade80}.btn-export-main{width:100%;padding:.75rem 1rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s}.btn-export-main:hover{background:linear-gradient(135deg,#34d399,#10b981);transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.field-info table{width:100%;font-size:.875rem}.field-info td:first-child{color:#888;padding-right:1rem}.field-info td:last-child{color:#4ade80}.leaflet-container{background:#1a1a2e}.leaflet-interactive:focus{outline:none!important}.leaflet-container path:focus{outline:none!important}.leaflet-container.ab-line-mode,.leaflet-container.ab-line-mode *{cursor:crosshair!important}.ab-marker{background:transparent;border:none}.ab-marker-inner{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;box-shadow:0 2px 6px #00000080;cursor:grab;transition:transform .1s}.ab-marker-inner:hover{transform:scale(1.2)}.ab-marker-a .ab-marker-inner{background:#0c0;border:3px solid #00ff00}.ab-marker-b .ab-marker-inner{background:#06c;border:3px solid #0099ff}.leaflet-marker-draggable .ab-marker-inner{cursor:grab}.leaflet-marker-dragging .ab-marker-inner{cursor:grabbing;transform:scale(1.3)}.ab-line-draggable{cursor:grab}.ab-line-draggable:active{cursor:grabbing}.ab-marker-small{background:transparent;border:none}.ab-marker-inner-small{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:9px;color:#fff;box-shadow:0 1px 4px #00000080}.ab-marker-small.ab-marker-a .ab-marker-inner-small{background:#090;border:2px solid #00cc00}.ab-marker-small.ab-marker-b .ab-marker-inner-small{background:#049;border:2px solid #0066cc}.section-hint{font-size:.8rem;color:#888;margin-bottom:.5rem;line-height:1.4}.section-field-name{font-size:.9rem;color:#ccc;margin:0 0 .5rem}.ab-status{margin:.5rem 0;padding:.5rem;background:#0003;border-radius:4px;font-size:.9rem}.ab-status .status-active{color:#0f0;font-weight:700}.ab-status .status-saved{color:#0c0}.btn-danger{background:linear-gradient(135deg,#c00,#900)}.btn-danger:hover{background:linear-gradient(135deg,red,#c00)}.draw-polygon-status{margin:.5rem 0;padding:.5rem;background:#8b5cf633;border-radius:4px;font-size:.9rem}.draw-polygon-status .status-active{color:#a78bfa;font-weight:700;display:block;margin-bottom:.5rem}.draw-polygon-status .status-paused{color:#fbbf24;animation:pulse-pause 1.5s infinite}@keyframes pulse-pause{0%,to{opacity:1}50%{opacity:.6}}.coord-input-section{margin-top:.6rem}.coord-input-toggle{width:100%;padding:.35rem .5rem;background:#6366f140;color:#c4b5fd;border:1px solid rgba(139,92,246,.4);border-radius:5px;cursor:pointer;font-size:.8rem;font-weight:500;text-align:left;transition:background .2s}.coord-input-toggle:hover{background:#6366f166}.coord-input-body{margin-top:.5rem;padding:.5rem;background:#0f346099;border:1px solid rgba(139,92,246,.3);border-radius:5px;display:flex;flex-direction:column;gap:.4rem}.coord-system-select{width:100%;padding:.3rem .4rem;background:#16213e;border:1px solid #e94560;color:#fff;border-radius:4px;font-size:.8rem;margin-bottom:.25rem}.coord-row{display:flex;align-items:center;gap:.4rem}.coord-row label{font-size:.75rem;color:#a0aec0;flex:0 0 90px}.coord-field{flex:1;min-width:0;padding:.25rem .4rem;background:#16213e;border:1px solid #4a5568;color:#fff;border-radius:4px;font-size:.82rem}.coord-field:focus{outline:none;border-color:#e94560}.coord-error{color:#fc8181;font-size:.75rem;margin-top:.1rem}.coord-add-btn{margin-top:.15rem;width:100%;font-size:.82rem;padding:.4rem}.leaflet-popup-content-wrapper{background:#16213e;color:#fff;border-radius:8px}.leaflet-popup-tip{background:#16213e}.leaflet-control-layers{background:#16213e;color:#fff;border:none;border-radius:8px}.leaflet-control-layers-expanded{padding:8px 12px}.leaflet-control-layers label{color:#fff}.lines-list{background:#0000004d;border-radius:6px;padding:.5rem;margin:.5rem 0;max-height:150px;overflow-y:auto}.line-item{display:flex;align-items:center;justify-content:space-between;padding:.4rem .5rem;background:#16213e;border-radius:4px;margin-bottom:.25rem}.line-item:last-child{margin-bottom:0}.line-name{font-family:Consolas,Monaco,monospace;color:#4ade80;font-weight:700}.curve-item .line-name{color:#c0f}.line-info{font-size:.75rem;color:#888;margin-left:.5rem;flex:1}.btn-delete-line{background:transparent;border:1px solid #ef4444;color:#ef4444;width:24px;height:24px;border-radius:4px;cursor:pointer;font-size:14px;line-height:1;transition:all .2s}.btn-delete-line:hover{background:#ef4444;color:#fff}.btn-delete-line:disabled{opacity:.4;cursor:not-allowed}.btn-delete-line:disabled:hover{background:transparent;color:#ef4444}.lock-checkbox{display:flex;align-items:center;cursor:pointer;margin-right:8px}.lock-checkbox input[type=checkbox]{display:none}.lock-checkbox .lock-icon{font-size:14px;transition:transform .2s}.lock-checkbox:hover .lock-icon{transform:scale(1.2)}.line-item.line-locked{background:#1e3a5f;border:1px solid #3b82f6}.line-item.line-locked .line-name{color:#60a5fa}.status-saved.clickable{cursor:pointer;transition:all .2s}.status-saved.clickable:hover{color:#4ade80;text-decoration:underline}.import-section{background:#0a2540!important;border:2px dashed #3b82f6}.import-section .btn-primary{background:#3b82f6}.import-section .btn-primary:hover{background:#60a5fa}.split-section{background:#1a1a40!important;border:1px solid rgba(245,158,11,.3)}.split-section h4{color:#f59e0b}.boundary-edit-section{background:#2196f31a!important;border:1px solid rgba(33,150,243,.4)!important}.boundary-edit-section h4{color:#2196f3}.boundary-edit-section .section-hint{font-size:.85em;color:#90caf9;margin-bottom:.5rem;line-height:1.5}.boundary-edit-section .hint-green{color:#4caf50;font-weight:700;font-size:1.2em}.boundary-edit-section .btn-warning{background:#ff9800;margin-bottom:.5rem}.boundary-edit-section .btn-warning:hover{background:#f57c00}.boundary-edit-section .btn-warning:disabled{background:#666;cursor:not-allowed;opacity:.6}.boundary-edit-buttons{display:flex;gap:.5rem;margin-top:.5rem}.boundary-edit-buttons .btn{flex:1}.split-status{margin:.5rem 0;padding:.5rem;background:#f59e0b33;border-radius:4px;text-align:center}.split-status .status-active{color:#fbbf24;font-weight:700}.split-preview-info{margin-top:8px;padding:8px;background:#0003;border-radius:4px}.preview-part{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:.9em}.preview-color{width:16px;height:16px;border-radius:3px;display:inline-block}.preview-part strong{color:#fff}.split-point-marker{background:transparent;border:none}.split-point-inner{width:20px;height:20px;background:red;border:3px solid #ffffff;border-radius:50%;box-shadow:0 2px 6px #00000080;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;cursor:grab}.split-point-inner:active{cursor:grabbing}.ab-mode-indicator.split-mode{background:#000000d9}.field-label{background:transparent;border:none;pointer-events:none}.field-label-content{text-align:center;white-space:nowrap;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000,0 0 4px rgba(0,0,0,.8)}.field-label-name{font-size:12px;font-weight:700;color:#fff}.field-label-area{font-size:10px;color:#ddd}.field-label-selected .field-label-name{color:#f44}.field-label-selected .field-label-area{color:#f88}.obstacle-label{pointer-events:none}.obstacle-label-content{background:#4b5563d9;color:#fff;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:500;white-space:nowrap;border:1px solid rgba(255,255,255,.3)}.measure-point-marker{background:transparent;border:none}.measure-point-inner{width:24px;height:24px;background:#ff9800;border:3px solid #ffffff;border-radius:50%;box-shadow:0 2px 6px #00000080;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;cursor:grab}.measure-point-inner:active{cursor:grabbing}.measure-point-small{width:10px;height:10px;background:#ff9800;border:2px solid #ffffff;border-radius:50%;box-shadow:0 1px 4px #00000080;cursor:grab}.measure-point-small.measure-point-active{background:#f44336;width:12px;height:12px;border:3px solid #ffffff}.measure-point-small.measure-point-inactive{background:#2196f3}.measure-point-small:active{cursor:grabbing}.measure-point-preview .measure-point-small{opacity:.7;background:#ffb74d}.boundary-point-marker{background:transparent;border:none}.boundary-point-inner{width:16px;height:16px;background:#2196f3;border:2px solid #ffffff;border-radius:50%;box-shadow:0 2px 4px #00000080;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:700;color:#fff;cursor:grab;transition:all .2s}.boundary-point-inner:hover{background:#1976d2;transform:scale(1.1)}.boundary-point-inner:active{cursor:grabbing}.boundary-point-selected .boundary-point-inner{background:#4caf50;cursor:pointer}.boundary-dragging,.boundary-dragging *,.boundary-edit-mode,.boundary-edit-mode *,.boundary-edit-mode .boundary-point-inner,.boundary-edit-mode .boundary-point-inner:active{cursor:pointer!important}.boundary-point-delete-mode .boundary-point-inner{background:#e94560;border:2px solid #ffffff;box-shadow:0 0 0 3px #e9456066,0 2px 6px #00000080;transform:scale(1.2);color:#fff;font-size:10px;font-weight:700;text-shadow:none;line-height:normal;margin-top:0}.boundary-insert-marker{background:transparent;border:none}.boundary-insert-inner{width:20px;height:20px;background:#4caf50cc;border:2px solid #ffffff;border-radius:50%;box-shadow:0 1px 4px #0006;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;cursor:pointer;transition:all .2s;opacity:.6}.boundary-insert-inner:hover{background:#4caf50;opacity:1;transform:scale(1.2)}.ab-mode-indicator.boundary-edit-mode{background:#000000d9}.boundary-distance-label{background:transparent;border:none;z-index:1000}.boundary-distance-text{background:transparent;color:#2196f3;padding:3px 8px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,0 0 3px #fff}.polygon-distance-label{background:transparent;border:none;z-index:1000}.polygon-distance-text{background:transparent;color:#0a0;padding:3px 8px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,0 0 3px #fff}.polygon-point-preview .polygon-point-inner{opacity:.6;background:#4c4}.measure-distance-label{background:transparent;border:none}.measure-distance-text{background:#ff9800e6;color:#fff;padding:4px 10px;border-radius:12px;font-size:14px;font-weight:700;white-space:nowrap;box-shadow:0 2px 6px #0000004d}.ab-mode-indicator.measure-mode{background:#000000d9}.measure-section{background:#ff98001a;border:1px solid rgba(255,152,0,.3)}.measure-section h4{color:#ff9800}.measure-section>.btn{width:100%}.measure-status{display:flex;flex-direction:column;gap:8px}.measure-result{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px;background:#ff980033;border-radius:8px}.measure-result .distance-value{font-size:24px;font-weight:700;color:#ff9800}.measure-result .distance-hint{font-size:11px;color:#888}.btn-info{background:#ff9800;border:none;color:#fff;cursor:pointer}.btn-info:hover{background:#f57c00}.measure-point-preview .measure-point-inner{opacity:.7;background:#ffb74d}.measure-preview-label .measure-distance-text{opacity:.9;background:#ff9800cc}@media(max-width:768px){.mobile-panel-toggles{display:flex;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);justify-content:space-between;pointer-events:none;z-index:1000;padding:0 4px}.panel-toggle{pointer-events:auto;width:40px;height:50px;border:none;background:#16213ee6;color:#fff;font-size:1.2rem;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000004d;transition:all .2s}.panel-toggle:hover{background:#e94560e6}.panel-toggle.collapsed{background:#e94560cc}.left-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.right-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.app-header{flex-wrap:nowrap!important;padding:.3rem .5rem!important;gap:.35rem!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;justify-content:flex-start!important}.app-header::-webkit-scrollbar{display:none}.app-header h1{font-size:.8rem!important;flex:0 0 auto!important;text-align:left;order:0;white-space:nowrap}.user-info{order:1;padding:0 .35rem!important;gap:.25rem!important;margin-left:0!important;flex-shrink:0!important;border-left:none!important;border-right:none!important}.username{font-size:.65rem!important}.logout-button{padding:.15rem .35rem!important;font-size:.6rem!important;min-height:auto!important;height:auto!important}.save-indicator{order:2;flex:0 0 auto!important}.save-status{font-size:.55rem!important;padding:.1rem .35rem!important;height:auto!important;min-height:20px!important}.header-actions{flex-wrap:nowrap!important;gap:.25rem!important;justify-content:flex-start!important;order:3;flex:0 0 auto!important}.backup-actions{margin-left:0!important;padding-left:.25rem!important;border-left:1px solid #0f3460!important;order:4;flex-shrink:0!important;gap:.25rem!important}.file-upload-button,.import-btn,.backup-btn,.restore-btn,.export-all-btn,.draw-polygon-btn{font-size:.6rem!important;padding:.15rem .35rem!important;height:auto!important;min-height:22px!important;white-space:nowrap!important}.clear-all-btn{height:auto!important;min-height:22px!important;padding:.15rem .3rem!important;font-size:.75rem!important}.app-main{flex-direction:column}.sidebar{width:100%!important;max-height:25vh;min-height:100px;border-right:none;border-bottom:none;overflow-y:auto}.editor-sidebar{width:100%!important;max-height:30vh;min-height:100px;border-left:none;border-top:none;overflow-y:auto}.map-section{min-height:40vh;flex:1;order:0}.sidebar{order:1}.editor-sidebar{order:2}.resizer-horizontal,.resizer-vertical{display:none!important}.sidebar.collapsed{transform:translate(-100%);position:absolute;left:0;top:0;bottom:0;z-index:999;opacity:0;pointer-events:none}.sidebar:not(.collapsed){position:absolute;left:0;top:0;bottom:0;z-index:999;width:85%!important;max-width:350px!important;box-shadow:4px 0 20px #0000004d}.editor-sidebar.collapsed{transform:translate(100%);position:absolute;right:0;top:0;bottom:0;z-index:999;opacity:0;pointer-events:none}.editor-sidebar:not(.collapsed){position:absolute;right:0;top:0;bottom:0;z-index:999;width:85%!important;max-width:350px!important;box-shadow:-4px 0 20px #0000004d}.map-section{width:100%;min-height:100%;flex:1}.field-table{font-size:.85rem}.field-table th,.field-table td{padding:.4rem}.guidance-editor{padding:.5rem}.guidance-editor h3{font-size:1rem}}@media(max-width:480px){.app-header{padding:.25rem .4rem;gap:.3rem}.app-header h1{font-size:.75rem}.user-info{padding:0 .3rem;gap:.25rem;border:none}.username{font-size:.75rem;max-width:60px;overflow:hidden;text-overflow:ellipsis}.logout-button{padding:.15rem .3rem;font-size:.6rem;min-height:auto}.file-upload-button,.import-btn,.backup-btn,.restore-btn,.export-all-btn,.draw-polygon-btn{font-size:.55rem;padding:.15rem .3rem;height:auto;min-height:22px}.backup-btn span,.restore-btn span{display:none}.clear-all-btn{min-width:24px;height:auto;min-height:22px;font-size:.7rem}.save-indicator{flex:0 0 auto}.save-status{font-size:.55rem;padding:.1rem .3rem;min-height:20px}.header-actions{flex:0 0 auto;gap:.25rem}.backup-actions{gap:.25rem}.sidebar{max-height:30vh;padding:.5rem}.editor-sidebar{max-height:35vh;padding:.5rem}.field-table th,.field-table td{padding:.3rem;font-size:.75rem}.field-table th:nth-child(3),.field-table td:nth-child(3){display:none}.btn{padding:.35rem .5rem;font-size:.75rem}.editor-section{padding:.5rem}.guidance-editor h3{font-size:.9rem}.guidance-editor h4{font-size:.8rem}.draw-polygon-controls{flex-wrap:wrap;padding:.3rem .5rem;font-size:.8rem}.map-overlay{font-size:.75rem;padding:.3rem .75rem;max-width:90%;text-align:center}.measure-result .distance-value{font-size:18px}.lines-list{max-height:100px}.line-item{padding:.3rem;font-size:.75rem}.ab-lines-section .controls{flex-direction:column;gap:.3rem}}@media(max-width:768px)and (orientation:landscape){.app-main{flex-direction:row}.sidebar{width:180px;max-height:none;height:100%;border-right:2px solid #0f3460;border-bottom:none}.editor-sidebar{width:180px;max-height:none;height:100%;border-left:2px solid #0f3460;border-top:none}.map-section{flex:1;min-height:auto}.app-header{flex-wrap:nowrap}.header-actions{flex:0 0 auto;flex-wrap:nowrap}}@media(pointer:coarse){.btn,.file-upload-button,.import-btn,.backup-btn,.restore-btn,.export-all-btn,.draw-polygon-btn,.clear-all-btn{min-height:44px}.btn-small{padding:.5rem;font-size:1.2rem;min-height:44px}.field-table tr{min-height:44px}.field-table td{padding:.5rem}input[type=text],input[type=number],select{min-height:44px;font-size:16px}.ab-marker-inner{width:36px;height:36px;font-size:16px}.polygon-point-inner{width:18px;height:18px}.measure-point-small{width:16px;height:16px}.leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important;font-size:20px!important}.leaflet-control-layers-toggle{width:44px!important;height:44px!important}.logout-button{min-height:44px;padding:.5rem .75rem}.app-header{padding:.4rem .75rem!important;gap:.5rem!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}.app-header::-webkit-scrollbar{display:none}.app-header h1{font-size:.95rem!important;flex-shrink:0!important}.user-info{padding:0 .5rem!important;gap:.4rem!important;flex-shrink:0!important}.username{font-size:.75rem!important}.logout-button{padding:.25rem .5rem!important;font-size:.7rem!important}.save-status{font-size:.7rem!important;padding:.2rem .5rem!important;min-height:28px!important}.header-actions,.backup-actions{gap:.4rem!important;flex-shrink:0!important}.file-upload-button,.import-btn,.backup-btn,.restore-btn,.export-all-btn,.draw-polygon-btn{font-size:.75rem!important;padding:.3rem .6rem!important;min-height:36px!important}.clear-all-btn{min-height:36px!important;padding:.3rem .5rem!important;font-size:.85rem!important}.map-overlay{font-size:.7rem!important;padding:.25rem .6rem!important;max-width:85%!important;border-radius:12px!important;top:5px!important}.ab-mode-indicator{font-size:.7rem!important;padding:.25rem .6rem!important;max-width:85%!important;border-radius:12px!important}}@media(max-width:360px){.app-header h1{font-size:.85rem}.user-info{display:none}.save-status{font-size:0;padding:.25rem;min-width:32px}.save-status.saving:before{content:"💾";font-size:1rem}.save-status.unsaved:before{content:"⏳";font-size:1rem}.save-status.saved:before{content:"✅";font-size:1rem}.save-status.error:before{content:"❌";font-size:1rem}.file-upload-button,.import-btn,.export-all-btn,.draw-polygon-btn{font-size:0;padding:0 .5rem;min-width:36px}.file-upload-button:before{content:"📁";font-size:1rem}.import-btn:before{content:"📥";font-size:1rem}.export-all-btn:before{content:"📦";font-size:1rem}.draw-polygon-btn:before{content:"✏️";font-size:1rem}}@supports (padding: max(0px)){.app-header{padding-left:max(.75rem,env(safe-area-inset-left));padding-right:max(.75rem,env(safe-area-inset-right));padding-top:max(.5rem,env(safe-area-inset-top))}.sidebar,.editor-sidebar{padding-left:max(.5rem,env(safe-area-inset-left));padding-right:max(.5rem,env(safe-area-inset-right))}}.track-marker{display:flex;align-items:center;justify-content:center}.track-marker-inner{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:2px solid rgba(0,0,0,.3);box-shadow:0 2px 4px #0000004d;font-size:12px}.track-tooltip{background:#1a1a2ef2!important;border:1px solid #ff8c00!important;color:#e0e0e0!important;padding:8px 12px!important;border-radius:6px!important;font-size:13px!important;white-space:pre-line!important}.track-tooltip:before{border-top-color:#ff8c00!important}.track-link-modal{max-width:400px;width:90%}.track-link-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #333;background:linear-gradient(135deg,#ff8c00,#ff6b00)}.track-link-modal .modal-header h3{margin:0;font-size:1.1rem;color:#fff}.track-link-modal .modal-close{background:transparent;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:0;line-height:1;opacity:.8;transition:opacity .2s}.track-link-modal .modal-close:hover{opacity:1}.track-link-modal .modal-body{padding:1.25rem}.track-info{background:#2a2a4e;padding:1rem;border-radius:8px;margin-bottom:1rem}.track-info p{margin:.4rem 0;font-size:.9rem;color:silver}.track-info strong{color:#ff8c00}.track-link-field{text-align:center;padding:.75rem;background:#3b82f626;border-radius:6px;margin-bottom:1rem}.track-link-field p{margin:0;font-size:.9rem}.track-link-field strong{color:#60a5fa}.track-link-options{display:flex;flex-direction:column;gap:.75rem}.track-link-btn{display:flex;align-items:center;gap:1rem;width:100%;padding:1rem;border:2px solid transparent;border-radius:10px;cursor:pointer;transition:all .2s;text-align:left}.track-link-btn .btn-icon{font-size:1.75rem;flex-shrink:0}.track-link-btn .btn-text{display:flex;flex-direction:column;gap:.25rem}.track-link-btn .btn-text strong{font-size:1rem}.track-link-btn .btn-text small{font-size:.8rem;opacity:.7}.track-link-cline{background:linear-gradient(135deg,#9333ea,#7c3aed);border-color:#a855f7;color:#fff}.track-link-cline:hover{background:linear-gradient(135deg,#a855f7,#8b5cf6);transform:translateY(-2px);box-shadow:0 4px 12px #9333ea66}.track-link-boundary{background:linear-gradient(135deg,#059669,#10b981);border-color:#34d399;color:#fff}.track-link-boundary:hover:not(:disabled){background:linear-gradient(135deg,#10b981,#34d399);transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.track-link-boundary:disabled{background:#4b5563;border-color:#6b7280;color:#9ca3af;cursor:not-allowed;opacity:.6}.track-link-boundary:disabled:hover{transform:none;box-shadow:none}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000}.modal-content{background:#1a1a2e;border:1px solid #3a3a5e;border-radius:12px;padding:20px;box-shadow:0 8px 32px #0006;color:#eee;max-height:90vh;overflow-y:auto;min-width:320px}.modal-content h3{color:#4fc3f7;margin-bottom:16px;font-size:16px}.modal-content .setting-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.modal-content .setting-row label{min-width:120px;color:#aaa;font-size:13px}.modal-content .setting-row input,.modal-content .setting-row select{flex:1;padding:6px 10px;border:1px solid #3a3a5e;border-radius:4px;background:#0f0f1a;color:#eee;font-size:13px}.modal-content .setting-row input:focus,.modal-content .setting-row select:focus{outline:none;border-color:#4fc3f7}.modal-content .button-group{display:flex;gap:10px;margin-top:16px}.brand-selector-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.brand-selector-modal{background:#1a1a2e;border-radius:16px;width:90%;max-width:600px;max-height:90vh;overflow:hidden;box-shadow:0 20px 60px #00000080;animation:modalSlideIn .3s ease}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.brand-selector-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #2a2a4a;background:linear-gradient(135deg,#16213e,#1a1a2e)}.brand-selector-header h2{margin:0;font-size:1.4rem;color:#fff}.brand-selector-header .close-btn{background:none;border:none;color:#888;font-size:1.5rem;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s}.brand-selector-header .close-btn:hover{background:#ffffff1a;color:#fff}.brand-selector-content{padding:24px;overflow-y:auto;max-height:calc(90vh - 160px)}.brand-selector-subtitle{color:#aaa;margin:0 0 20px;font-size:.95rem}.brand-grid{display:flex;flex-direction:column;gap:16px}.brand-card{display:flex;align-items:flex-start;gap:16px;padding:20px;background:#252540;border:2px solid transparent;border-radius:12px;cursor:pointer;transition:all .2s;position:relative}.brand-card:hover{background:#2a2a50;border-color:#4a4a6a}.brand-card.selected{background:#1e3a5f;border-color:#4caf50}.brand-card.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.brand-card.disabled:hover{background:#252540;border-color:transparent}.disabled-badge{font-size:.7rem;background:#666;color:#ccc;padding:2px 8px;border-radius:4px;margin-left:8px;font-weight:400}.brand-logo{font-size:3rem;width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:#0003;border-radius:12px;flex-shrink:0}.brand-info{flex:1}.brand-info h3{margin:0 0 8px;font-size:1.3rem;color:#fff}.brand-description{margin:0 0 12px;color:#aaa;font-size:.9rem}.brand-formats{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}.brand-formats li{background:#0000004d;padding:4px 10px;border-radius:4px;font-size:.8rem;color:#888}.brand-check{position:absolute;top:12px;right:12px;width:28px;height:28px;background:#4caf50;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1rem}.brand-selector-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #2a2a4a;background:#16213e}.brand-selector-footer .btn{padding:12px 24px;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .2s;border:none}.brand-selector-footer .btn-cancel{background:#333;color:#aaa}.brand-selector-footer .btn-cancel:hover{background:#444;color:#fff}.brand-selector-footer .btn-primary{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;font-weight:600}.brand-selector-footer .btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#5cbf60,#4caf50);transform:translateY(-1px)}.brand-selector-footer .btn-primary:disabled{background:#333;color:#666;cursor:not-allowed}@media(max-width:600px){.brand-selector-modal{width:95%;max-width:none;margin:10px;max-height:95vh}.brand-selector-header{padding:16px}.brand-selector-header h2{font-size:1.1rem}.brand-selector-content{padding:16px;max-height:calc(95vh - 140px)}.brand-selector-subtitle{font-size:.85rem;margin-bottom:16px}.brand-grid{gap:12px}.brand-card{flex-direction:row;align-items:center;text-align:left;padding:14px;gap:12px}.brand-logo{width:50px;height:50px;font-size:2rem}.brand-info h3{font-size:1rem;margin-bottom:4px}.brand-description{font-size:.8rem;margin-bottom:8px}.brand-formats{display:none}.brand-check{width:24px;height:24px;font-size:.9rem;top:8px;right:8px}.brand-selector-footer{flex-direction:column;padding:12px 16px;gap:8px}.brand-selector-footer .btn{width:100%;padding:14px;font-size:1rem}}@media(pointer:coarse){.brand-card{min-height:70px}.brand-selector-footer .btn{min-height:48px}.brand-selector-header .close-btn{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}}.field-selection-modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.field-selection-modal{background:#fff;border-radius:12px;padding:24px;max-width:600px;width:100%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 10px 40px #0000004d}.field-selection-modal h2{margin:0 0 12px;font-size:20px;color:#333}.modal-info{margin:0 0 16px;color:#666;font-size:14px}.select-all-row{padding:12px;background:#f5f5f5;border-radius:6px;margin-bottom:12px;border:2px solid #ddd}.select-all-row label{display:flex;align-items:center;gap:8px;cursor:pointer;margin:0}.select-all-row input[type=checkbox]{width:18px;height:18px;cursor:pointer}.fields-list{flex:1;overflow-y:auto;border:1px solid #ddd;border-radius:6px;padding:8px;margin-bottom:16px}.field-item{padding:10px;border-bottom:1px solid #eee;transition:background .2s}.field-item:last-child{border-bottom:none}.field-item:hover{background:#f9f9f9}.field-item label{display:flex;align-items:center;gap:10px;cursor:pointer;margin:0}.field-item input[type=checkbox]{width:18px;height:18px;flex-shrink:0;cursor:pointer}.field-info{display:flex;flex-direction:column;gap:4px;flex:1}.field-name{font-weight:600;color:#333;font-size:14px}.field-bzs,.field-area{font-size:12px;color:#666}.modal-actions{display:flex;gap:12px;justify-content:flex-end}.modal-actions .btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.modal-actions .btn-secondary{background:#6c757d;color:#fff}.modal-actions .btn-secondary:hover{background:#5a6268}.modal-actions .btn-primary{background:#007bff;color:#fff}.modal-actions .btn-primary:hover{background:#0056b3}.fields-list::-webkit-scrollbar{width:8px}.fields-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.fields-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.fields-list::-webkit-scrollbar-thumb:hover{background:#555}
