.scene-stage.has-map{display:block;height:540px;min-height:380px;isolation:isolate;cursor:grab;line-height:normal;touch-action:auto}
.scene-live-map{position:absolute;inset:0;z-index:0}
.scene-work{align-items:start}
.scene-work>div{min-width:0}
.scene-adjustments{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;padding:16px;margin-top:12px;background:#fff;border:1px solid #d8dce5;border-radius:10px}
.scene-adjustments h4{grid-column:1/-1;margin:0;font-size:14px}
.scene-placement-tools{display:grid;gap:12px;min-width:0}
.scene-camera-quick{display:grid;gap:8px;min-width:0;background:#f7f8fa;border:1px solid #e3e6eb;border-radius:8px;padding:12px}
.scene-camera-quick #pinProperties>.field:nth-child(2){grid-column:1;grid-row:1}
.scene-camera-quick #pinProperties>.field:nth-child(3){grid-column:2;grid-row:1}
.scene-camera-quick #pinProperties>.field:first-child{grid-row:2}
.scene-camera-quick input[type="range"]{margin:4px 0;min-height:28px}
.scene-adjustments .field{margin:0;min-width:0}
.scene-adjustments .inline-note{margin:0}
.scene-adjustments #pinProperties{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.scene-adjustments #pinProperties[hidden]{display:none}
.scene-adjustments #pinProperties>.field:first-child{grid-column:1/-1}
.scene-adjustments #removePin{justify-self:start}
.scene-specs-details{border-top:1px solid #e3e6eb;padding-top:10px}
.scene-specs-details summary{cursor:pointer;font-size:12px;font-weight:700}
.scene-specs-details .optics-card{margin-top:10px}
@media(max-width:900px){.scene-adjustments{grid-template-columns:1fr}}
@media(max-width:640px){.scene-adjustments{padding:12px}.scene-adjustments #pinProperties{grid-template-columns:1fr}.scene-camera-quick #pinProperties>.field:nth-child(3){grid-column:1;grid-row:2}.scene-camera-quick #pinProperties>.field:first-child{grid-row:3}}
.scene-stage.has-map>svg.live-map-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;touch-action:auto}
.live-map-overlay .map-pin-hit{pointer-events:auto;touch-action:none}
.project-widget-hit{pointer-events:auto;cursor:pointer;touch-action:none}
.project-widgets{display:grid;gap:10px;padding-bottom:14px;border-bottom:1px solid #e3e6eb}
.project-widgets h4{margin:0}
.widget-pole-icon{position:static!important;width:19px!important;height:22px!important;flex:none;vertical-align:middle}
.scene-imagery-options{border:1px solid #e3e6eb;border-radius:8px;padding:10px;font-size:12px}
.scene-imagery-options summary{cursor:pointer;font-weight:700}
.scene-imagery-options>.stack{margin-top:12px}
#sceneMapTools .scene-imagery-options,
#sceneMapTools #scenePublicAiTools,
#sceneMapTools #sceneMapNotice,
#sceneMapTools #sceneMapSettings{display:none!important}
.project-widgets .mini{margin:0}
.cable-measure-summary{display:grid;gap:6px;border:1px solid #d9e7ef;border-radius:8px;padding:10px;background:#f4f9fc;font-size:12px}
.tool-color-palette{border:1px solid #d8dce5;border-radius:8px;padding:10px;font-size:12px}
.tool-color-palette summary{cursor:pointer;font-weight:700}
.tool-color-palette>.stack{margin-top:10px}
.tool-color-swatches{display:flex;gap:8px;flex-wrap:wrap}
.tool-color-swatch{width:29px;height:29px;border:1px solid #b8c0cc;border-radius:50%;cursor:pointer}
.tool-color-swatch[aria-pressed="true"]{outline:2px solid #263040;outline-offset:3px}
.tool-color-swatch:disabled{cursor:default;opacity:.5}
.tool-custom-color{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tool-custom-color input[type="color"]{width:44px;height:32px;padding:2px;cursor:pointer}
.project-widgets [hidden]{display:none!important}
.scene-stage.has-map[data-mode="camera"] .leaflet-container,.scene-stage.has-map[data-mode="obstacle"] .leaflet-container{cursor:crosshair}
.scene-stage.has-map .leaflet-control{z-index:3}
.scene-stage.has-map .leaflet-control-attribution{font-size:10px;max-width:100%;line-height:1.4}
.scene-stage.has-map .leaflet-container img{max-width:none!important;max-height:none!important;width:auto;height:auto}
.scene-stage.has-map .leaflet-container svg{position:static;inset:auto;width:auto;height:auto}
.scene-stage.has-map .leaflet-control-scale-line{line-height:1.2}
.map-search-results{display:grid;gap:5px;max-height:180px;overflow:auto}
.map-local-notice{max-width:520px;margin:70px auto;padding:24px;line-height:1.6;color:#394252;background:#fff;border:1px solid #dce0e6;border-radius:12px}
.map-local-notice strong{display:block;color:#a80d24;font-size:16px}
.map-search-results .btn{font-size:12px;text-align:left;justify-content:flex-start;font-weight:500}
#sceneMapSettings{font-size:12px;border:1px solid #e3e6eb;border-radius:8px;padding:10px}
#sceneMapSettings summary{cursor:pointer;font-weight:700}
#sceneMapSettings .field{margin-top:10px}
#sceneMapNotice{margin:0;line-height:1.5}
.image-ai-dialog{width:min(1100px,96vw);max-height:92vh;overflow:auto;border:1px solid #dce0e6;border-radius:14px;padding:20px;color:#263040}
.image-ai-dialog::backdrop{background:#101827bb}
.image-ai-dialog h2{margin-top:0}.image-ai-crop-wrap{background:#f1f3f5;border:1px solid #e1e5eb;border-radius:8px;padding:8px;margin:12px 0;display:flex;justify-content:center}
#imageAiCrop{display:block;max-width:100%;max-height:44vh;width:auto;height:auto;cursor:crosshair}
.image-ai-consent{margin:16px 0}.image-ai-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.image-ai-comparison figure{margin:0;min-width:0}.image-ai-comparison img{display:block;width:100%;height:300px;object-fit:contain;background:#f4f5f7;border:1px solid #e1e5eb}
.image-ai-comparison figcaption{font-size:12px;font-weight:700;margin-bottom:7px}.image-ai-actions{position:sticky;bottom:-20px;background:#fff;padding:14px 0;margin-top:16px;border-top:1px solid #e1e5eb}
@media(max-width:640px){.image-ai-comparison{grid-template-columns:1fr}.image-ai-dialog{padding:14px}.image-ai-comparison img{height:230px}}
@media(max-width:640px){.scene-stage.has-map{height:420px;min-height:320px}}
