.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}}:root{--bg: #f4f1ea;--card: #fffdf8;--ink: #1f2a1f;--muted: #6b6a60;--line: #ddd6c6;--green: #2f5d3a;--green-soft: #e3ecdf;--timber: #7fb069;--timber-soft: #e3f0db;--pulp: #b07a48;--pulp-soft: #f3e6d8;--rot-brown: #8a5a2b;--rot-red: #c0392b;--rot-stripes: repeating-linear-gradient(45deg, var(--rot-brown) 0 7px, var(--rot-red) 7px 11px);--red: #9b2c2c;--warn-bg: #fff3d6;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0;overscroll-behavior-y:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}input{font:inherit;color:inherit}.app{height:100dvh;display:flex;flex-direction:column;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}header{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:calc(12px + env(safe-area-inset-top)) 24px 12px;background:var(--green);color:#fff;position:sticky;top:0;z-index:10;box-shadow:0 2px 8px #0000001f}.brand{display:flex;align-items:center;gap:14px}.brand img{width:52px;height:52px;border-radius:12px;box-shadow:0 0 0 2px #ffffff40}header h1{margin:0;font-size:26px;font-weight:750;letter-spacing:.2px;line-height:1.1}.brand-sub{font-size:14px;letter-spacing:2.5px;text-transform:uppercase;opacity:.8;margin-top:3px}header nav{display:flex;gap:6px;margin-left:auto}header nav button{background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;padding:12px 24px;border-radius:999px;font-size:19px;min-height:52px}header nav button.on{background:#fff;color:var(--green);font-weight:600}main{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 20px;max-width:1440px;width:100%;margin:0 auto;display:flex;flex-direction:column}main>*{flex-shrink:0}main>.buck,main>.maptab{flex:1 1 auto;min-height:0}footer{text-align:center;padding:8px 0 16px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px 26px;margin-bottom:20px}.card h2{margin:0 0 14px;font-size:23px}.card h3{margin:18px 0 8px;font-size:15px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.buck{display:grid;grid-template-columns:1fr;grid-template-rows:1fr auto;gap:16px;align-items:stretch}.buck .result{align-self:start}.buck .card{margin-bottom:0}.field{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;min-width:0}.field-label{font-size:15px;color:var(--muted);font-weight:600}.field-input{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;background:#fff;padding:0 10px}.field-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.field input{border:0;outline:0;background:transparent;width:100%;min-width:0;padding:11px 0;font-size:19px}.field .unit{color:var(--muted);font-size:15px;white-space:nowrap;padding-left:6px}.field-hint{font-size:13.5px;color:var(--muted)}.field.big input{font-size:38px;font-weight:650;padding:12px 0;font-variant-numeric:tabular-nums}.field.big .unit{font-size:20px}.field.big .field-label{font-size:16px}.field.invalid .field-input{border-color:#d39b2c}.seg{display:inline-flex;background:#ebe6da;border-radius:12px;padding:4px;gap:4px;margin:4px 0 6px}.seg button{border:0;background:transparent;padding:12px 22px;border-radius:9px;font-size:18px;min-height:52px}.seg button.on{background:#fff;font-weight:600;box-shadow:0 1px 3px #0000001f}.seg.small button{padding:10px 14px;font-size:16px;min-height:46px}button.primary{background:var(--green);color:#fff;border:0;border-radius:14px;padding:16px 34px;font-size:20px;font-weight:650;min-height:60px}button.primary:disabled{opacity:.6}button.ghost{background:transparent;border:1.5px solid var(--line);border-radius:14px;padding:14px 22px;font-size:18px;min-height:56px}button.ghost:disabled{opacity:.4}button.icon{background:transparent;border:1.5px solid var(--line);border-radius:10px;min-width:50px;min-height:50px;font-size:16px;padding:0 10px}button.danger{border-color:var(--red);color:var(--red);background:#fbecec}button.link{background:none;border:0;padding:0;color:var(--green);text-decoration:underline;font-weight:600}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.result-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.total{font-size:38px;font-weight:700;color:var(--green);font-variant-numeric:tabular-nums}.stem{width:100%;height:auto;max-height:170px;display:block;margin:2px 0 0}.stem-label{font-size:24px;font-weight:750;fill:#1d2a17}.stem-label.massa{fill:#fff}.stem-label.rot{fill:#fff;paint-order:stroke;stroke:#4a2a10;stroke-width:4px}.stem-cut{font-size:17px;font-weight:700;fill:#7a1f1f}.stem-end{font-size:14px;fill:var(--muted)}.cuts{list-style:none;padding:0;margin:10px 0 0;counter-reset:cut}.cut{display:grid;grid-template-columns:140px 1fr auto auto auto;gap:16px;align-items:center;padding:9px 12px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;border-left:10px solid var(--timber);border-radius:4px;margin-bottom:4px}.cut.massa{border-left-color:var(--pulp)}.cut.rot{border-left-color:transparent;background:var(--rot-stripes) 0 0 / 10px 100% no-repeat border-box}.cut.spill{border-left-color:#d8d2c4;color:var(--muted)}.cut-at{font-size:28px;font-weight:750;white-space:nowrap}.cut-at small{font-size:16px;font-weight:600;color:var(--muted)}.cut-what{font-size:21px;white-space:nowrap}.cut-diam,.cut-vol{color:var(--muted);font-size:16px;white-space:nowrap}.cut-val{font-weight:650;font-size:20px;min-width:80px;text-align:right;white-space:nowrap}.tag{display:inline-block;margin-left:10px;padding:3px 10px;border-radius:999px;background:var(--timber-soft);font-size:15px;font-weight:650;vertical-align:2px}@media(max-width:640px){.cut{grid-template-columns:90px 1fr auto}.cut-diam,.cut-vol{display:none}}.sums{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.foot .sums{display:flex;margin:0}.sums div{background:var(--green-soft);border-radius:12px;padding:10px 14px;display:flex;flex-direction:column}.sums span{font-size:14px;color:var(--muted)}.sums strong{font-size:21px;font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.small{font-size:14px}.warn{background:var(--warn-bg);border-radius:12px;padding:12px 14px;font-size:16px;margin:12px 0 0}table{width:100%;border-collapse:collapse;margin-top:14px;font-variant-numeric:tabular-nums}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:17px}th{font-size:13px;color:var(--muted);font-weight:600}.r{text-align:right}.settings{max-width:1100px;margin:0 auto}.price-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px 14px}.price-cell{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}.price-cell .field{margin-bottom:0}.price-cell .icon{margin-bottom:1px}.grid3{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px 14px;margin-top:12px}.grid3.needs .field:first-child .field-input{border-color:#d39b2c;background:var(--warn-bg)}.field.wide{margin-top:12px}.check{display:flex;gap:10px;align-items:center;font-size:16px;margin:10px 0;min-height:44px}.check input{width:24px;height:24px;accent-color:var(--green)}.buck .card{padding:18px 22px}.inputs{display:grid;gap:12px;grid-template-areas:"choose" "fields" "toggles" "pad" "quick" "defects" "map";grid-template-rows:auto auto auto auto auto auto minmax(0,1fr)}.quick{grid-area:quick;display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick .add-defect{height:100%}.toggles .seg{flex:1}.toggles .seg button{flex:1;padding:10px 8px}.defects:empty{display:none}.fields{grid-area:fields;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 12px}.fields .len{grid-column:1 / -1}.toggles{grid-area:toggles;display:flex;gap:10px;align-items:stretch}.toggles .seg{margin:0}.pad{grid-area:pad}.defects{grid-area:defects;display:flex;flex-direction:column;gap:8px}.kfield{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:3px;min-width:0;cursor:pointer;touch-action:manipulation}.kf-label{font-size:16px;color:var(--muted);font-weight:600}.kf-box{display:flex;align-items:baseline;justify-content:space-between;gap:6px;border:2px solid var(--line);border-radius:12px;background:#fff;padding:6px 12px;min-height:60px;align-items:center}.kf-value{font-size:38px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1;display:flex;align-items:center}.kf-ph{color:#cfc8b8}.kf-unit{color:var(--muted);font-size:18px}.kf-hint{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.caret{display:inline-block;width:3px;height:.9em;background:var(--green);margin-left:3px;animation:blink 1s steps(1) infinite}@keyframes blink{50%{opacity:0}}.kfield.small .kf-value{font-size:22px}.kfield.small .kf-unit{font-size:14px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.key{border:0;border-radius:14px;background:#ebe6da;font-size:32px;font-weight:600;min-height:56px;box-shadow:0 2px #d5cebe;user-select:none;-webkit-user-select:none}.key:active{background:#d9d2c2;transform:translateY(1px);box-shadow:none}.key:disabled{opacity:.35}.key.fn{background:#e0d9ca;font-size:26px}.key.next{grid-column:span 2;background:var(--green);color:#fff;font-size:24px;box-shadow:0 2px #1f3f27}.key.next:active{background:#264d30}button.rot{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border:2px solid var(--line);background:#fff;border-radius:12px;padding:6px 14px;min-height:60px;text-align:left}button.rot strong{font-size:18px}button.rot span{font-size:14px;color:var(--muted)}button.rot.on{background:var(--rot-stripes);border-color:var(--rot-brown);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7)}button.rot.on span{color:#fff}button.rot.on strong:before{content:"✓ "}.defect{display:grid;grid-template-columns:auto 1fr auto 1fr auto auto;gap:6px;align-items:center}.kfield.small .kf-unit{display:none}.defect .seg{margin:0}.defect .dash{color:var(--muted)}.add-defect{width:100%;min-height:56px!important;padding:8px 14px!important;font-size:17px!important;color:var(--muted)}.result .result-head h2{margin:0}.result .empty{font-size:18px;padding:30px 0}.tag.rot{background:var(--rot-stripes);color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}.foot{display:flex;gap:10px;align-items:stretch;margin-top:14px;flex-wrap:wrap}.foot .sums div{padding:6px 14px;justify-content:center}.foot .sums strong{font-size:18px}.foot .note{flex:1;min-width:140px;display:flex}.foot .note input{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:0 12px;font-size:17px;background:#fff}.foot .primary,.foot .ghost{min-height:56px}.legend{margin:10px 0 0}.warn-inline{color:#8a5a00}.result .warn{margin:0 0 8px}@media(min-width:1200px){.buck{grid-template-columns:500px minmax(0,1fr);grid-template-rows:1fr}}@media(max-width:1199px)and (min-width:760px){.inputs{grid-template-columns:1fr 360px;grid-template-areas:"choose choose" "fields pad" "toggles pad" "quick pad" "defects pad" "map pad";grid-template-rows:auto auto auto auto auto minmax(0,1fr)}.stem{max-height:115px}.cut{padding:5px 12px}.pad{align-self:stretch;grid-auto-rows:1fr}.pad .key{min-height:58px;font-size:38px}.pad .key.next{font-size:28px}.pad .key.fn{font-size:30px}.key{min-height:58px}}.key-chip{display:inline-block;width:14px;height:14px;border-radius:3px;vertical-align:-2px;margin:0 4px 0 6px}.key-chip.timmer{background:var(--timber)}.key-chip.massa{background:var(--pulp)}.key-chip.rot{background:var(--rot-stripes)}.key-chip.spill{background:#d8d2c4}.foot .sums div:first-child{background:var(--timber-soft)}.foot .sums div:nth-child(2){background:var(--pulp-soft)}.result .result-head{align-items:center}.result .result-head .total{margin-left:auto}.small-btn{min-height:44px!important;padding:6px 14px!important;font-size:16px!important}.editing{background:#fff3d6;border:1.5px solid #e6c97a;border-radius:999px;padding:6px 8px 6px 14px;font-size:16px;font-weight:600;display:inline-flex;gap:12px;align-items:center}.editing .link{font-size:16px;padding:4px 8px}.mapview{width:100%;height:100%;background:#dfe6d8}.leaflet-container{font:inherit}.mini-wrap{grid-area:map;min-height:0;container-type:size}.mini{height:100%;position:relative;border-radius:14px;overflow:hidden;border:1.5px solid var(--line);isolation:isolate}.mini .mapview{position:absolute;inset:0}.mini .leaflet-control-attribution{font-size:9px}.mini-status{position:absolute;left:8px;bottom:8px;z-index:1000;background:#fffffff0;border-radius:999px;padding:6px 12px;font-size:14px;display:flex;align-items:center;gap:6px;box-shadow:0 1px 4px #0003;max-width:calc(100% - 120px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dot{width:10px;height:10px;border-radius:50%;background:#aaa;flex-shrink:0}.dot.gps{background:#1e88e5}.dot.picked{background:#d32f2f}.mini-btns{position:absolute;right:8px;top:8px;z-index:1000;display:flex;gap:6px}.mini-btns button,.map-btn{min-width:44px;height:44px;border-radius:10px;border:0;background:#fffffff2;font-size:20px;font-weight:700;box-shadow:0 1px 4px #00000040;padding:0 10px}.mini-btns button:disabled,.map-btn:disabled{opacity:.5}.map-btn.on{background:#1e88e5;color:#fff}.pick-pin div{width:26px;height:26px;background:#d32f2f;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 5px #0006;box-sizing:border-box}.mapview.drawing{cursor:crosshair}.maptab{display:grid;grid-template-columns:1fr 380px;gap:16px}.map-wrap{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);min-height:300px;isolation:isolate}.map-wrap .mapview{position:absolute;inset:0}.map-controls{position:absolute;top:12px;right:12px;z-index:1000;display:flex;gap:8px;align-items:center}.map-controls .seg{margin:0;background:#fffffff2;box-shadow:0 1px 4px #00000040}.map-controls .seg button.on{background:var(--green);color:#fff}.draw-bar{position:absolute;left:12px;right:12px;bottom:24px;z-index:1000;background:#fff;border-radius:16px;padding:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;box-shadow:0 3px 12px #0000004d}.draw-info{flex:1;display:flex;flex-direction:column;min-width:200px;padding-left:6px}.draw-info span{color:var(--muted);font-size:15px}.draw-bar .ghost,.draw-bar .primary{min-height:52px}.map-side{margin:0;overflow:auto;display:flex;flex-direction:column;gap:10px}.map-side h2{margin-bottom:0}.areas{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.area{border:1.5px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:6px}.area.sel{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}.area-top{display:flex;align-items:center;gap:10px}.area-top input{flex:1;min-width:0;font-size:18px;font-weight:650;border:0;border-bottom:1.5px dashed var(--line);background:transparent;padding:4px 0}.swatch{width:18px;height:18px;border-radius:4px;flex-shrink:0}.swatch.fastighet{border:3px dashed #e0a800}.swatch.avverkning{background:#c0392b4d;border:3px solid #c0392b}.area-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:15px;color:var(--muted)}.area-meta .link{font-size:15px}.area-actions{display:flex;gap:8px}.side-actions{display:flex;flex-direction:column;gap:8px;margin-top:4px}.area-label{background:#0000008c;border:0;color:#fff;font-weight:700;font-size:14px;box-shadow:none;padding:3px 8px;border-radius:8px}.area-label:before{display:none}.area-label.fastighet{background:#785a00b3}@media(max-width:1199px){.maptab{grid-template-columns:1fr;grid-template-rows:1fr auto}.map-side{max-height:42vh}}.choose{grid-area:choose;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.choose .seg{margin:0}.choose .seg button{padding:10px 16px;min-height:50px;font-size:18px}.choose .seg.species{flex:1;width:100%}.choose .seg.species button{flex:1}.choose .seg.species button.on{background:var(--green);color:#fff}.choose .seg.sortiment button.on{background:#fff}.seg button:disabled{opacity:.4}.kfield .kf-label{font-size:15px}.stem .tappable{cursor:pointer}.stem text{pointer-events:none}.cut.tappable{cursor:pointer}.cut.tappable:active{background:var(--green-soft)}.cut.locked{background:#f7f4ec}.tag.lock{background:#2b2b2b;color:#fff}.tag.warn-tag{background:#fff3d6;color:#8a5a00}.sheet-backdrop{position:fixed;inset:0;background:#141e1473;z-index:3000;display:flex;align-items:center;justify-content:center;padding:16px}.sheet{background:var(--card);border-radius:22px;width:min(1040px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:20px 24px;display:flex;flex-direction:column;gap:14px;box-shadow:0 10px 40px #00000059}.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.sheet-head h2{margin:0 0 4px;font-size:24px}.sheet-head p{margin:0;font-size:16px}.sheet-body{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}.opt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.opt{border:2px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px;text-align:left;display:flex;flex-direction:column;gap:2px;min-height:84px}.opt strong{font-size:24px}.opt span{font-size:14px;color:var(--muted)}.opt .opt-val{color:var(--ink);font-weight:650;font-size:15px}.opt .opt-val em{font-style:normal;color:var(--muted);font-weight:500;margin-left:4px}.opt.best{border-color:var(--timber);background:var(--timber-soft)}.opt.cur{box-shadow:0 0 0 3px #2b2b2b inset}.opt:active{transform:translateY(1px)}.custom{display:flex;flex-direction:column;gap:8px}.custom-head{font-weight:650;color:var(--muted)}.custom-box .kf-value{font-size:34px}.custom-info{font-size:14px;color:var(--muted);min-height:38px}.small-pad .key{min-height:50px;font-size:26px}.small-pad .key.next{font-size:20px}.sheet-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}.sheet-foot .muted{flex:1}@media(max-width:1199px){.sheet-body{grid-template-columns:1fr 280px}}.species-table{margin-top:0}.species-table td,.species-table th{padding:8px 10px}.big-check{width:26px;height:26px;accent-color:var(--green)}.row-setting{display:flex;align-items:center;gap:16px;margin-top:14px;font-weight:600}.row-setting .seg{margin:0}.species-tabs{display:flex;align-items:center;gap:14px;margin:4px 0 16px;font-weight:650;font-size:18px}.species-tabs .seg{margin:0}.species-tabs .seg button.on{background:var(--green);color:#fff}.vs-opt{background:var(--timber-soft);border-radius:14px;padding:4px 12px;font-size:15px;white-space:nowrap;display:inline-flex;flex-direction:column;line-height:1.25}.vs-parts{font-size:13px;color:var(--muted)}.vs-opt.neg{background:#fbe7e4}.vs-opt.neg strong{color:#b3261e}.loss{font-size:13px;color:#b3261e;font-weight:500}.result-head .total{white-space:nowrap}.result-head.busy{gap:10px}@media(max-width:1500px){.result-head.busy h2{display:none}}.right-col{display:flex;flex-direction:column;gap:16px;min-height:0;min-width:0}.right-col .result{flex:0 0 auto;align-self:stretch}.right-col .mini-wrap{flex:1 1 0;min-height:0}@container (max-height: 70px){.mini{display:none!important}}@media(min-width:1200px){.inputs{grid-template-areas:"choose" "fields" "toggles" "pad" "quick" "defects";grid-template-rows:auto auto auto auto auto auto;align-content:start}.inputs .key{min-height:54px}}@media(max-width:1199px){.legend-colors{display:none}.stem{max-height:100px}.cut{padding:3px 12px}.cut-at{font-size:25px}.choose .seg button{min-height:44px;padding:6px 14px}.result .legend{margin-top:6px}}.sheet.confirm{width:min(620px,100%);gap:10px}.sheet.confirm h2{margin:0;font-size:24px}.sheet.confirm p{margin:0 0 6px;font-size:18px;line-height:1.4}.confirm-actions{display:flex;flex-direction:column;gap:10px}.confirm-actions button{width:100%;min-height:60px;font-size:19px}.mini.hint{border:3px solid #d32f2f;animation:hintpulse 1.2s ease-in-out infinite}@keyframes hintpulse{50%{box-shadow:0 0 0 6px #d32f2f40}}.pick-hint{position:absolute;left:50%;top:10px;transform:translate(-50%);z-index:1000;background:#d32f2f;color:#fff;font-weight:700;font-size:16px;padding:8px 14px;border-radius:999px;box-shadow:0 2px 6px #0000004d;white-space:nowrap}.bigmap{background:var(--card);border-radius:22px;width:min(1200px,100%);height:min(860px,calc(100dvh - 40px));display:flex;flex-direction:column;overflow:hidden;box-shadow:0 10px 40px #00000059}.bigmap-head{display:flex;align-items:center;gap:12px;padding:14px 18px}.bigmap-head>div{flex:1;min-width:0}.bigmap-head h2{margin:0 0 2px;font-size:22px}.bigmap-head .muted{font-size:15px}.bigmap-head .primary{min-width:120px}.bigmap-map{flex:1;min-height:0;padding:0 12px 12px}.mini.big{border-radius:14px}.mini.big .mini-status{font-size:16px}.inputs .cp-head{grid-area:choose;display:flex;align-items:center;gap:14px}.cp-title{font-size:20px;font-weight:600}.cp-info{grid-area:fields;border-radius:16px;padding:14px 18px;display:flex;flex-direction:column;gap:6px;border-left:12px solid var(--timber);background:var(--timber-soft)}.cp-info.massa{border-left-color:var(--pulp);background:var(--pulp-soft)}.cp-info.rot{border-left:12px solid transparent;background:var(--rot-stripes) 0 0 / 12px 100% no-repeat border-box,var(--pulp-soft)}.cp-info.spill{border-left-color:#d8d2c4;background:#f1ede4}.cp-kind{font-size:18px;font-weight:700;display:flex;align-items:center;gap:4px}.cp-cut{font-size:26px}.cp-cut strong{font-size:52px;font-variant-numeric:tabular-nums;line-height:1}.cp-sub{font-size:18px;color:var(--ink)}.cp-exp{font-size:19px}.cp-exp strong{font-size:24px}.cp-meas{grid-area:toggles;display:flex;flex-direction:column;gap:3px}.cp-meas .kf-label{font-size:15px;color:var(--muted);font-weight:600}.cp-meas .kf-box{min-height:60px}.active-box{border-color:var(--green)!important;box-shadow:0 0 0 4px var(--green-soft);background:#fbfdf9!important}.cp-meas .kf-hint{font-size:14px;color:var(--muted);white-space:normal}.cp-actions{grid-area:quick;display:flex;flex-wrap:wrap;gap:10px}.cp-actions button{flex:1 1 auto;min-height:54px}.cp-done{grid-area:fields;display:flex;flex-direction:column;gap:14px;padding:10px 0}.cp-done-title{font-size:28px;font-weight:700;color:var(--green)}.cut.done{opacity:.5}.cut.current{outline:3px solid #1565c0;outline-offset:-3px;background:#eef4fc}.tag.done-tag{background:#2f5d3a;color:#fff}.stem-label.cut{opacity:.7}.foot .go-cut{background:#1565c0}.foot{flex-wrap:nowrap}.foot .note{min-width:0}.foot .primary{padding-left:22px;padding-right:22px}.foot .sums div{padding-left:12px;padding-right:12px}.kfield{display:flex;flex-direction:column;gap:3px;min-width:0}.kf-labelrow{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:28px}.kfield .kf-box{all:unset;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:6px;border:2px solid var(--line);border-radius:12px;background:#fff;padding:6px 12px;min-height:60px;cursor:pointer;touch-action:manipulation}.kfield.active .kf-box{border-color:var(--green);box-shadow:0 0 0 4px var(--green-soft);background:#fbfdf9}.kfield.invalid .kf-box{border-color:#d39b2c}.kfield.active.invalid .kf-box{border-color:var(--green)}.kfield.small .kf-box{min-height:50px;padding:4px 10px}.bark-toggle{display:inline-flex;background:#ebe6da;border-radius:8px;padding:2px;gap:2px}.bark-toggle button{border:0;background:transparent;font-size:14px;font-weight:650;padding:3px 9px;border-radius:6px;min-height:26px;color:var(--muted);touch-action:manipulation}.bark-toggle button.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px #00000026}.kf-unit{white-space:nowrap}.bark-defaults{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 20px;margin-bottom:6px}.bark-default{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600;border:1.5px solid var(--line);border-radius:12px;padding:8px 12px}.bark-default .bark-toggle button{font-size:16px;padding:6px 14px;min-height:36px}.toggles .seg.sortiment{flex:1}.buck .result{display:flex;flex-direction:column;min-height:0;overflow:hidden}.buck .result .cuts{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.buck .result>:not(.cuts){flex-shrink:0}@media(min-width:1200px){.right-col .result{flex:1 1 auto}.right-col .mini-wrap{flex:0 0 170px}}@media(max-width:1199px){.buck{grid-template-rows:auto minmax(0,1fr)}.buck .result{align-self:stretch}.inputs{grid-template-rows:auto auto auto auto auto 150px!important}}.right-col .result{flex:1 1 auto;min-height:0}.result.stage-mata .stem{max-height:170px}.result.stage-kapa .stem{max-height:120px}.cp-actions{min-height:54px}.result.stage-kapa .legend{display:none}.result.stage-kapa .cut{padding-top:3px;padding-bottom:3px}.result.stage-kapa{overflow:visible}.result.stage-kapa .cuts{overflow:visible;flex:0 0 auto}@media(max-width:1199px){.inputs.stage-kapa{grid-template-areas:"choose choose" "fields pad" "toggles pad" "quick pad" "defects pad"!important;grid-template-rows:auto auto auto auto auto!important}}.total-wrap{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.result .result-head .total-wrap .total{margin-left:0}.total-alt{font-size:14px;color:var(--muted);white-space:nowrap}.total-alt strong{color:#b3261e}.tag.avoid-tag{background:#fff3d6;color:#8a5a00}.tag.prefer-tag{background:#fff3c4;color:#7a5b00}.opt-avoid{font-size:13px!important;font-weight:700;color:#8a5a00!important}.opt-pref{color:#c79a00}.opt.avoided{background:#fffaf0}.pref-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:8px 20px;margin:10px 0}.pref-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:4px 0}.pref-row strong{font-size:17px;font-variant-numeric:tabular-nums}.pref-row .seg{margin:0}.pref-row .seg button.on.pref-prefer{background:#2f5d3a;color:#fff}.pref-row .seg button.on.pref-avoid{background:#f2c14e}.pref-row .seg button.on.pref-never{background:#b3261e;color:#fff}.meas-row{display:flex;gap:10px;align-items:stretch}.meas-row .kf-box{flex:1;min-width:0}button.recalc{border:2px solid var(--line);background:#fff;border-radius:12px;padding:0 16px;font-size:18px;font-weight:650;min-width:150px;color:var(--muted)}button.recalc.pending{background:#1565c0;border-color:#1565c0;color:#fff}.check.ignore-mid{margin:2px 0 0;min-height:36px;font-size:15px}.check.ignore-mid input{width:22px;height:22px}.stem-end{font-weight:600}.stem-end .stem-d{font-weight:800;fill:#1d2a17}.stem-dot{fill:#1565c0;stroke:#fff;stroke-width:1.5}.stem-dot.mid{fill:#5b6b52}.stem-dot.off{fill:#fff;stroke:#9a9a9a;stroke-dasharray:2 2}.stem-mark rect{fill:#e8f0fb;stroke:#1565c0;stroke-width:1.5}.stem-mark text{font-size:15px;font-weight:800;fill:#0d47a1}.result.stage-kapa .stem-mark text{font-size:13.5px}.stem-mark.mid rect{fill:#f3f1ea;stroke:#8a8f80}.stem-mark.mid text{fill:#3d4636}.stem-mark.off rect{fill:#f7f6f2;stroke:#c4c0b5;stroke-dasharray:4 3}.stem-mark.off text{fill:#9a968c}.stem-mark .strike{stroke:#b03a2e;stroke-width:2}@media(min-width:1200px){.right-col .result.stage-mata{flex:0 1 auto}.right-col .result.stage-mata~.mini-wrap{flex:1 1 0;min-height:170px}}@media(min-width:1200px){.right-col .result.stage-mata .cut{padding-top:4px;padding-bottom:4px}.right-col .result.stage-mata .cut-at{font-size:26px}}.result.stage-mata .stem-mark text{font-size:18.5px}.result.stage-mata .stem-end{font-size:18px}.sync-bar{display:flex;align-items:center;gap:12px;padding:10px 14px;margin:10px 0 4px;border-radius:12px;background:#eef3ea;border:1px solid #d5e2cc;font-size:16px}.sync-bar .sync-icon{font-size:22px;color:var(--green)}.sync-bar .sync-text{flex:1}.sync-bar button,.sync-bar .button{min-height:44px;padding:0 18px;white-space:nowrap}.sync-bar .button{display:inline-flex;align-items:center;border-radius:10px;text-decoration:none;font-weight:650}.sync-bar .button.primary{background:var(--green);color:#fff}.sync-bar.offline,.sync-bar.noserver{background:#f3f1ea;border-color:#e0dbcd}.sync-bar.offline .sync-icon,.sync-bar.noserver .sync-icon{color:#9a968c}.sync-bar.login,.sync-bar.error{background:#fbe9e6;border-color:#efc4bd}.sync-bar.login .sync-icon,.sync-bar.error .sync-icon{color:#b3261e}nav button{position:relative}.sync-dot{position:absolute;top:6px;right:8px;width:11px;height:11px;border-radius:50%;background:#e0a100;box-shadow:0 0 0 2px #2f5d3a}.sync-dot.login,.sync-dot.error{background:#e53935}
