.manual-plot-toggle button{display:block;max-width:170px;padding:8px 10px;background:#fff;color:#003566;border:0;border-radius:3px;font:700 13px/1.25 system-ui,sans-serif;cursor:pointer;text-align:left}
.manual-plot-toggle button:hover{background:#fff4da}.manual-plot-toggle button[aria-expanded=true]{background:#fff0cc}
.manual-plot-panel{position:absolute;z-index:1000;right:12px;top:86px;width:330px;max-width:calc(100% - 24px);max-height:calc(100% - 100px);overflow:auto;background:#fff;color:#17212b;border:1px solid #b9c7d1;border-radius:8px;box-shadow:0 4px 20px #00203d30;padding:12px;font:13px/1.45 system-ui,sans-serif;user-select:text;-webkit-user-select:text}
.manual-plot-panel[hidden]{display:none}.manual-plot-panel *{box-sizing:border-box}
.manual-plot-panel h2{font:700 16px/1.3 system-ui,sans-serif;margin:0}.manual-plot-panel .mp-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.manual-plot-panel p{margin:8px 0}.manual-plot-panel label{display:block;font-weight:600;margin:7px 0}
.manual-plot-panel input:not([type=checkbox]),.manual-plot-panel textarea{display:block;width:100%;font:13px/1.5 system-ui,sans-serif;padding:7px;border:1px solid #9daebb;border-radius:4px;background:#fff;color:#17212b;margin-top:4px;user-select:text;-webkit-user-select:text}
.manual-plot-panel textarea{font-family:ui-monospace,monospace;resize:vertical;min-height:80px;max-height:200px}
.manual-plot-panel .mp-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.manual-plot-panel button{font:600 12px/1.35 system-ui,sans-serif;padding:7px 9px;border:1px solid #9daebb;border-radius:5px;background:#f6f8fa;color:#173e60;cursor:pointer}
.manual-plot-panel button:disabled{opacity:.5;cursor:default}.manual-plot-panel button[aria-pressed=true],.manual-plot-panel .mp-main{background:#003566;color:#fff;border-color:#003566}
.manual-plot-panel button:focus-visible,.manual-plot-toggle button:focus-visible{outline:3px solid #d37700;outline-offset:2px}
.manual-plot-panel .mp-note{font-size:11px;color:#52616d}.manual-plot-panel .mp-help{font-size:12px;color:#455562}.manual-plot-panel .mp-status{min-height:2.8em;color:#244d2d;background:#eef6ee;padding:7px;border-radius:4px}.manual-plot-panel .mp-error{background:#fff0e9;color:#912c00}
.manual-plot-panel .mp-toggle{font-weight:400;display:flex;gap:7px;align-items:center}.manual-plot-panel .mp-toggle input{margin:0}
.manual-plot-capturing,.manual-plot-capturing .leaflet-interactive{cursor:crosshair}
.mp-marker{border-radius:50%;background:#bd3a00;color:#fff;border:2px solid #fff;box-shadow:0 1px 5px #0007;display:grid;place-items:center;font:700 12px/1 system-ui,sans-serif}.mp-marker.mp-reference{background:#003566;border-radius:4px}
.mp-coordinate-tooltip{color:#17212b;background:#fff;border:1px solid #8c9aa5;border-radius:4px;box-shadow:0 1px 5px #0002;padding:4px 6px;opacity:1;user-select:text!important;-webkit-user-select:text!important;cursor:text!important;font:12px/1.4 ui-monospace,monospace;white-space:pre;pointer-events:auto}
.mp-coordinates{user-select:text!important;-webkit-user-select:text!important;cursor:text}
.map-zone:has(.manual-plot-panel:not([hidden]))>.legend,.map-zone:has(.manual-plot-panel:not([hidden]))>.data-context,.map-zone:has(.manual-plot-panel:not([hidden]))>#map-dock{display:none}
@media(max-width:650px){.manual-plot-panel{top:auto;bottom:8px;right:8px;left:8px;width:auto;max-width:none;max-height:51%}.manual-plot-panel input:not([type=checkbox]),.manual-plot-panel textarea{font-size:16px}.manual-plot-panel button{min-height:38px}.mp-coordinate-tooltip{font-size:11px}.manual-plot-panel .mp-note{margin-bottom:0}}
