.location-map{border:1px solid var(--border);background:var(--card);min-width:0;color:var(--card-foreground);border-radius:12px;gap:10px;padding:12px;display:grid;container-type:inline-size}.location-map :is(.location-map-tools,.location-map-zones){flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.location-map button,.location-map .location-map-points summary,.location-map :is(.location-map-coordinates,.location-map-address) :is(input,select){box-sizing:border-box;border:1px solid var(--border);background:var(--background);min-width:0;min-height:44px;color:var(--foreground);font:inherit;border-radius:8px;padding:6px 10px;font-size:.875rem}.location-map button{overflow-wrap:anywhere;cursor:pointer;justify-content:center;align-items:center;gap:6px;max-width:100%;display:inline-flex}.location-map button svg{flex:none;width:17px;height:17px}.location-map button[aria-pressed=true]{border-color:var(--ring);background:var(--accent);color:var(--accent-foreground);box-shadow:inset 0 0 0 1px var(--ring);font-weight:650}.location-map button:hover:not(:disabled),.location-map .location-map-points summary:hover{background:var(--muted)}.location-map button:disabled{cursor:not-allowed;opacity:.5}.location-map :is(button,input,select,summary,a,.location-map-viewport):focus-visible{outline:2px solid var(--ring);outline-offset:2px}.location-map .location-map-frame{border:1px solid var(--border);background:var(--muted);border-radius:9px;min-width:0;position:relative}.location-map .location-map-viewport{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px 8px 0 0;height:clamp(280px,54svh,560px);position:relative;overflow:hidden}.location-map .location-map-viewport:focus-visible{outline-offset:-3px}.location-map .location-map-viewport[data-drawing=true]{cursor:crosshair}.location-map .location-map-viewport[data-dragging=true]{cursor:grabbing}.location-map :is(.location-map-raster,.location-map-overlay){pointer-events:none;position:absolute;inset:0}.location-map .location-map-raster img{max-width:none;max-height:none;position:absolute}.location-map .location-map-zone-outline{fill:none;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.location-map .location-map-zone{fill-opacity:.3;stroke-width:2px;stroke-linejoin:round}.location-map [data-inactive=true] .location-map-zone{fill-opacity:.14}.location-map [data-inactive=true] :is(.location-map-zone,.location-map-zone-outline){stroke-dasharray:6 4}.location-map [data-selected=true] .location-map-zone-outline{stroke-width:8px}.location-map [data-selected=true] .location-map-zone{stroke-width:4px;fill-opacity:.46}.location-map .location-map-viewport[data-drawing=false][data-dragging=false] .location-map-zone{cursor:pointer;pointer-events:visiblePainted}.location-map .location-map-draft :is(polygon,polyline){fill:var(--primary);fill-opacity:.25;stroke:var(--ring);stroke-width:3px;stroke-linejoin:round;stroke-dasharray:5 4}.location-map .location-map-draft polyline{fill:none}.location-map :is(.location-map-draft circle,.location-map-marker){fill:var(--primary);stroke:#fff;stroke-width:2px}.location-map .location-map-draft .location-map-vertex{fill:#0000;stroke:none;pointer-events:all;cursor:pointer}.location-map .location-map-crosshair path{fill:none;stroke:#fff;stroke-width:4px}.location-map .location-map-crosshair path+path{stroke:#171717;stroke-width:2px}.location-map .location-map-zoom{gap:4px;display:grid;position:absolute;top:8px;right:8px}.location-map .location-map-zoom button{width:44px}.location-map .location-map-credit{background:var(--card);color:var(--card-foreground);text-align:end;overflow-wrap:anywhere;border-radius:0 0 8px 8px;padding:5px 8px;font-size:.75rem;line-height:1.35;display:block}.location-map .location-map-credit a{color:inherit;text-decoration:underline}.location-map .location-map-help{color:var(--muted-foreground);margin:0;font-size:.875rem;line-height:1.45}.location-map .location-map-help:empty{position:absolute}.location-map :is(.location-map-coordinates,.location-map-address){grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,auto);align-items:end;gap:6px;display:grid}.location-map .location-map-address{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto}.location-map :is(.location-map-coordinates,.location-map-address) label{gap:4px;min-width:0;font-size:.875rem;display:grid}.location-map :is(.location-map-coordinates,.location-map-address) :is(input,select){width:100%;font-size:1rem}.location-map input[aria-invalid=true]{border-color:var(--destructive)}.location-map .location-map-points{max-width:100%}.location-map .location-map-points summary{cursor:pointer;align-content:center}.location-map :is(.location-map-points ol,.location-map-zones){margin:0;padding:0;list-style:none}.location-map .location-map-points ol{gap:4px;max-height:14rem;padding:4px;display:grid;overflow:auto}.location-map .location-map-zones li{min-width:0;max-width:100%}.location-map .location-map-zones button{text-align:start}.location-map .location-map-swatch{border:1px solid var(--muted-foreground);border-radius:3px;flex:0 0 12px;height:12px}@container (width<=580px){.location-map .location-map-coordinates{grid-template-columns:repeat(2,minmax(0,1fr))}.location-map .location-map-address{grid-template-columns:minmax(0,1fr) auto}}.scan-map-zone-name{color:#fff;overflow-wrap:anywhere;text-align:center;background:#202527;border:2px solid #fff;border-radius:8px;align-items:center;gap:5px;width:fit-content;max-width:100%;margin:auto;padding:4px 8px;font:600 12px/1.25 system-ui;display:flex}.scan-map-zone-name svg{flex:none}
