/* BPMS GPS Site Locator — standalone, always-visible mobile/desktop integration */
#gpsLocator{position:fixed;right:16px;bottom:18px;left:auto;top:auto;z-index:10000;font:14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;touch-action:manipulation;pointer-events:auto}
#gpsLocate{display:flex;align-items:center;gap:11px;min-height:54px;padding:11px 17px;border:1px solid #9bbfe0;border-radius:15px;background:#fff;color:#14395f;box-shadow:0 5px 22px #10264140;text-align:left;cursor:pointer}
#gpsLocate b{display:block;font-size:14px;line-height:1.2}#gpsLocate small{display:block;color:#60758c;font-size:11px;margin-top:3px}
#gpsLocate:focus-visible,#gpsLocator button:focus-visible{outline:3px solid #f0ad24;outline-offset:3px}
.gps-dot{width:14px;height:14px;flex:0 0 14px;border-radius:50%;background:#1684e8;border:3px solid #dceeff;box-shadow:0 0 0 2px #1684e8}
.gps-card{width:min(390px,calc(100vw - 32px));margin-top:10px;padding:16px;background:#fff;border:1px solid #d4dfeb;border-radius:16px;box-shadow:0 14px 38px #10264150;color:#18283a;max-height:min(76dvh,680px);overflow:auto;overscroll-behavior:contain}
.gps-card[hidden],.gps-calibration[hidden]{display:none!important}
.gps-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 12px;padding:0;background:transparent;color:#18283a}
.gps-card header b{display:block;font-size:17px}.gps-card header small{display:block;color:#64788d;font-size:12px;margin-top:4px}.gps-card header button{border:0;border-radius:9px;background:#edf2f7;padding:5px 12px;font-size:21px;color:#243b53;min-width:40px;min-height:40px}
.gps-readout{display:grid;grid-template-columns:1.35fr 1fr;gap:9px;margin:12px 0}.gps-readout>div{padding:11px;background:#f3f7fb;border:1px solid #e0e8f0;border-radius:10px;min-width:0}.gps-readout small{display:block;color:#65798f;font-size:11px}.gps-readout b{display:block;font-size:13px;margin-top:4px;overflow-wrap:anywhere}
.gps-location-result{padding:12px;border-radius:10px;background:#eaf4ff;color:#174c7c;font-size:13px;line-height:1.45}
.gps-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.gps-actions button,.gps-import{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #c8d5e2;background:#fff;border-radius:9px;padding:9px 12px;color:#233c56;font-size:12px;font-weight:650;cursor:pointer}.gps-actions .primary{background:#1d518d;color:#fff;border-color:#1d518d}.gps-actions button:disabled{opacity:.45;cursor:not-allowed}
.gps-calibration{margin-top:14px;padding-top:13px;border-top:1px solid #e1e8ef}.gps-calibration p{font-size:12px;color:#5e7185;line-height:1.5;margin:7px 0}.gps-ref-count{font-size:12px;font-weight:700;color:#17664d;margin:9px 0}.gps-import input{display:none}.gps-footnote{display:block;color:#75869a;font-size:11px;line-height:1.45;margin-top:13px}
.gps-calibrating #siteSvg{cursor:crosshair}.gps-calibrating #gpsLocate{outline:2px solid #1684e8}
.gps-marker{pointer-events:none}.gps-accuracy-ring{fill:#1684e826;stroke:#1684e899;stroke-width:1;vector-effect:non-scaling-stroke}.gps-halo{fill:#fff;stroke:#0878dc;stroke-width:2.2;vector-effect:non-scaling-stroke}.gps-position-dot{fill:#0878dc;stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}.gps-map-label{font:700 5px system-ui;fill:#075ca8;stroke:#fff;stroke-width:1.7px;paint-order:stroke fill;vector-effect:non-scaling-stroke}
@media(max-width:730px){#gpsLocator{right:12px;bottom:max(14px,env(safe-area-inset-bottom));left:12px;top:auto;display:flex;flex-direction:column;align-items:flex-end}#gpsLocate{min-height:54px;padding:12px 16px;max-width:100%;border-radius:14px}.gps-card{width:100%;max-height:min(68dvh,620px);padding:14px}.gps-card header b{font-size:16px}.gps-readout b{font-size:12px}.gps-actions button,.gps-import{min-height:46px;flex:1}.gps-footnote{font-size:10px}}
@media(prefers-reduced-motion:reduce){#gpsLocate{transition:none}}
