/* Map controls remain separate from the scaled, selectable plan geometry. */
#proofChain .record-measurement.record-gis{padding:0;background:#eaf0ed;overflow:hidden}
#proofChain .gis-map,#proofChain .gis-svg{position:absolute;inset:0;width:100%;height:100%;display:block}
#proofChain .gis-svg{touch-action:none;cursor:grab;stroke:none;stroke-width:0}
#proofChain .gis-svg:active{cursor:grabbing}
#proofChain .gis-imagery{filter:saturate(.65) brightness(1.09);pointer-events:none}
#proofChain .gis-place-label{font:600 11px Inter,sans-serif;fill:#fff;stroke:#253b32a6;stroke-width:3px;stroke-linejoin:round;paint-order:stroke;pointer-events:none;letter-spacing:.1px}
#proofChain .gis-scale{position:absolute;left:14px;bottom:84px;display:flex;flex-direction:column;gap:3px;color:#fff;font:9px var(--mono);text-shadow:0 1px 3px #1b3129;pointer-events:none}
#proofChain .gis-scale-bar{height:5px;border:1.5px solid #fff;border-top:0;box-shadow:0 1px 2px #23362e80}
#proofChain .gis-attribution{position:absolute;bottom:0;right:0;max-width:100%;padding:3px 7px;background:#ffffffe8;color:#526159;font-size:8px;line-height:1.4;text-decoration:none}
#proofChain .gis-attribution:hover{text-decoration:underline}
#proofChain .gis-zone{cursor:pointer;outline:none}
#proofChain .gis-zone-fill{fill:#9ebbbb;fill-opacity:.45;stroke:#e6f6f2;stroke-width:1;transition:fill .5s,stroke .3s;vector-effect:non-scaling-stroke}
#proofChain .gis-zone[data-status=verified] .gis-zone-fill{fill:#5ad8af}
#proofChain .gis-zone[data-status=passed] .gis-zone-fill,#proofChain .gis-zone[data-status=accepted] .gis-zone-fill{fill:#5ad8af}
#proofChain .gis-zone[data-status=rework] .gis-zone-fill{fill:#f7c561;stroke:#ffe6a8}
#proofChain .gis-zone[data-status=missing] .gis-zone-fill{fill:#cbd6e5;stroke:#e2e9f4}
#proofChain .gis-zone[aria-pressed=true] .gis-zone-fill,#proofChain .gis-zone:focus-visible .gis-zone-fill{stroke:#fff;stroke-width:1.5;fill-opacity:.65}
#proofChain .gis-zone:hover .gis-zone-fill{stroke:#fff}
#proofChain .gis-pin-halo{fill:#fff;opacity:.08;stroke:none}
#proofChain .gis-pin-core{fill:#fff;stroke:#fff;stroke-width:1.6;filter:drop-shadow(0 2px 3px #182c3370)}
#proofChain .gis-pin text{font:600 11px Inter,sans-serif;fill:#45686d;text-anchor:middle;dominant-baseline:middle;pointer-events:none}
#proofChain .gis-zone[aria-pressed=true] .gis-pin-halo{opacity:.15}
#proofChain .gis-zone[aria-pressed=true] .gis-pin-core{fill:#294f4a;stroke:#fff;stroke-width:1.7}
#proofChain .gis-zone[aria-pressed=true] .gis-pin text{fill:#fff}
#proofChain .gis-pin.cursor-target .gis-pin-halo{opacity:.7}
#proofChain .gis-hide-status .gis-zone .gis-zone-fill{fill:#d6e1df;stroke:#859d9d}
#proofChain .gis-hide-status .gis-legend{opacity:.4}
#proofChain .gis-heading{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:7px;background:#fffffff2;border:1px solid #fff;padding:8px 10px;border-radius:8px;box-shadow:0 3px 10px #42505b0b;backdrop-filter:blur(10px);pointer-events:none}
#proofChain .gis-heading>.icon{width:16px;height:16px;color:#5d7b7f}
#proofChain .gis-heading strong{display:block;font-size:12px;line-height:1.3;font-weight:600;color:#34474f}
#proofChain .gis-heading strong>span{font-weight:400;color:#74858c}
#proofChain .gis-heading small{display:block;font-size:10px;color:#8a999e;line-height:1.4;margin-top:3px}
#proofChain .gis-layer{position:absolute;top:14px;left:auto;right:58px;min-height:32px;display:flex;gap:6px;align-items:center;border:1px solid #ffffffee;border-radius:6px;padding:6px 8px;background:#ffffffdf;box-shadow:0 2px 6px #43586509;color:#47665c;font-size:11px}
#proofChain .gis-layer .icon{width:14px;height:14px}
#proofChain .gis-layer[aria-pressed=false]{color:#90999f;background:#f7f9f9}
#proofChain .gis-controls{position:absolute;top:59px;right:13px;display:grid;overflow:hidden;border:1px solid #dce4e6;border-radius:7px;box-shadow:0 2px 8px #39565e0f}
#proofChain .gis-controls button{display:grid;place-items:center;width:33px;min-height:31px;padding:0;border:0;border-bottom:1px solid #e6ecee;background:#fffffff2;color:#5e717c;font-size:20px;line-height:1}
#proofChain .gis-controls button:last-child{border:0}
#proofChain .gis-controls button:hover{background:#edf4f2;color:#315c51}
#proofChain .gis-controls button:disabled{color:#c0cbd1;cursor:default}
#proofChain .gis-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
#proofChain .gis-inspector{position:absolute;bottom:25px;left:12px;display:flex;gap:8px;align-items:center;min-width:166px;padding:9px 12px;background:#fffffff2;border:1px solid #fff;border-radius:9px;box-shadow:0 3px 14px #42565b13;pointer-events:none;backdrop-filter:blur(10px)}
#proofChain .gis-inspector-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#829ca4;box-shadow:0 0 0 4px #93a6ad17}
#proofChain .gis-inspector strong{display:block;color:#43555f;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:.2px}
#proofChain .gis-inspector strong>span{font-weight:400;margin-left:7px;color:#74858e}
#proofChain .gis-inspector div>span{display:block;font-size:11px;line-height:1.4;margin-top:3px;color:#647780}
#proofChain [data-selected-state=rework] .gis-inspector-dot{background:#bb8b44;box-shadow:0 0 0 4px #bb8b4415}
#proofChain [data-selected-state=missing] .gis-inspector-dot{background:#929eac}
#proofChain [data-selected-state=accepted] .gis-inspector-dot,#proofChain [data-selected-state=passed] .gis-inspector-dot,#proofChain [data-selected-state=verified] .gis-inspector-dot{background:#4f9679;box-shadow:0 0 0 4px #4f967915}
#proofChain .gis-legend{position:absolute;bottom:26px;right:13px;display:flex;gap:9px;padding:7px 8px;border:1px solid #fff;background:#ffffffe8;border-radius:6px;font-size:10px;color:#6e7f87;pointer-events:none}
#proofChain .gis-legend>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
#proofChain .gis-legend i{width:6px;height:6px;display:block;border-radius:1px;background:#aebfc7}
#proofChain [data-map-stage='1'] .gis-key-pass,#proofChain [data-map-stage='2'] .gis-key-pass,#proofChain [data-map-stage='3'] .gis-key-pass{background:#659d85}
#proofChain .gis-legend .gis-key-rework{background:#c4974f}
#proofChain .gis-legend .gis-key-missing{background:#b5bfcb}
#proofChain .gis-north{position:absolute;right:24px;bottom:74px;display:flex;align-items:center;flex-direction:column;gap:3px;font:9px var(--mono);color:#fff;text-shadow:0 1px 3px #233c2f;pointer-events:none}
#proofChain .gis-north svg{width:12px;height:16px;fill:#fff;stroke:#486555;stroke-width:1}
@media(max-width:700px){
 #proofChain .gis-heading{top:10px;left:10px;padding:7px 8px;gap:5px}
 #proofChain .gis-heading>.icon{display:none}
 #proofChain .gis-layer{left:auto;right:12px;top:62px;min-height:31px;padding:7px}
 #proofChain .gis-layer>span{display:none}
 #proofChain .gis-legend{display:none}
 #proofChain .gis-inspector{bottom:25px;left:10px;padding:6px 9px;min-width:166px}
 #proofChain .gis-controls{right:12px;top:99px}
 #proofChain .gis-north{right:23px;bottom:28px}
 #proofChain .gis-scale{display:none}
 #proofChain .gis-place-label{display:none}
 #proofChain .gis-marker-hit{width:42px}
 #proofChain .gis-heading small{font-size:9px}
 #proofChain .gis-attribution{font-size:7px;padding:3px 5px}
}
@media(prefers-reduced-motion:reduce){#proofChain .gis-zone-fill{transition:none}}
#proofChain .gis-dialog{width:min(880px,94vw);max-width:94vw;max-height:90dvh;padding:0;border:1px solid #dce3e8;border-radius:16px;box-shadow:0 30px 100px #17242b33;background:#fff;color:#354851}
#proofChain .gis-dialog::backdrop{background:#182c3b55;backdrop-filter:blur(5px)}
#proofChain .gis-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px}
#proofChain .gis-dialog-head strong{display:block;font-size:17px;font-weight:550}
#proofChain .gis-dialog-head span{display:block;font-size:13px;color:#7b8b94;margin-top:5px;line-height:1.5}
#proofChain .gis-dialog-head button{flex-shrink:0;width:36px;height:36px;border:1px solid #e0e7eb;background:#f8fafb;border-radius:8px;font-size:24px;color:#6d7e88}
#proofChain .gis-dialog-body{height:min(64dvh,500px);min-height:280px;position:relative}
#proofChain .gis-dialog .gis-layer{right:13px;left:auto}
#proofChain .gis-dialog .gis-inspector{min-width:180px;padding:13px 16px}
#proofChain .gis-dialog .gis-heading{padding:10px 12px}

#proofChain .gis-dialog .gis-scale{display:flex;bottom:101px}
#proofChain .gis-dialog .gis-place-label{display:block}
@media(max-width:700px){
 #proofChain .gis-dialog-head{padding:14px 16px}
 #proofChain .gis-dialog-head strong{font-size:15px}
 #proofChain .gis-dialog-head span{font-size:11px}
 #proofChain .gis-dialog .gis-inspector{min-width:166px;padding:7px 10px}
 #proofChain .gis-dialog .gis-place-label{display:none}
 #proofChain .gis-dialog .gis-scale{display:none}
}
