.property-mapper{border:1px solid #cbdfea;border-radius:12px;background:#f2f7fb;padding:20px;margin:0 0 25px}.property-mapper h2{font-size:20px;letter-spacing:-.02em;margin:0 0 8px}.property-mapper p{font-size:13px;margin:8px 0;color:#52616d}.property-mapper button{width:auto;min-height:44px;margin:0;padding:10px 14px;font-size:13px}.property-mapper .map-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.property-mapper .map-tools button{background:#fff;color:#075db5;border:1px solid #aabfcf}.property-mapper .map-tools button[aria-pressed=true]{background:#075db5;color:#fff}.property-mapper button:disabled{cursor:not-allowed}.property-mapper select{width:100%;margin:6px 0 0}.property-mapper label{margin:12px 0 0}.property-mapper [hidden]{display:none!important}.property-map{height:400px;min-height:320px;isolation:isolate;background:#172633;border-radius:8px}.property-map:focus-visible{outline:3px solid #1685ed;outline-offset:3px}.map-status{min-height:20px;line-height:1.5}.map-status.error{color:#a52222}.map-areas{padding:0;margin:12px 0;list-style:none}.map-areas li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #cbdfea;font-size:13px}.map-areas button{background:transparent;color:#075db5;text-decoration:underline;padding:8px;min-height:44px}.map-crosshair{pointer-events:none;position:absolute;top:50%;left:50%;width:18px;height:18px;border:2px solid #fff;outline:1px solid #102536;border-radius:50%;transform:translate(-50%,-50%);z-index:600}.map-container{position:relative}.property-map .leaflet-control a{color:#172633}.property-map .leaflet-control-zoom a{font-size:22px}.property-map .leaflet-control-attribution{font-size:10px;max-width:100%;line-height:1.4}.property-map .leaflet-tooltip{font-size:12px;font-weight:700}.map-match button{display:block;width:100%;text-align:left;margin:8px 0}.plan-page{font-family:Arial,Helvetica,sans-serif;background:#f5f8fa;color:#102536;margin:0;line-height:1.5}.plan-page main{max-width:1050px;margin:35px auto;padding:0 20px}.plan-page h1{font-size:32px;letter-spacing:-.03em}.plan-page .property-map{height:65vh;min-height:400px}.plan-page a{color:#075db5}.plan-page .property-mapper{background:white}.plan-page button{border:0;border-radius:7px;background:#1685ed;color:white;cursor:pointer}.plan-page .plan-back{display:inline-block;font-size:14px}.plan-page .plan-note{color:#52616d;font-size:14px}@media(max-width:600px){.property-mapper{padding:15px}.property-map{height:380px}.property-mapper .map-tools{gap:7px}.property-mapper .map-tools button{flex:1 1 42%;padding:9px;font-size:12px}.plan-page main{padding:0 14px}.plan-page .property-map{height:60vh}.property-map .leaflet-control-attribution{font-size:9px}}

.map-total{font-weight:700;color:#102536!important;padding:12px;background:#e4f1fc;border-radius:7px}.property-photos{margin:24px 0;border:1px solid #cbdfea;padding:20px;border-radius:12px;background:#f2f7fb}.property-photos h2{font-size:20px;margin:0 0 8px}.property-photos h2 span{font-size:13px;font-weight:400}.property-photos p{font-size:13px;margin:8px 0;color:#52616d}.property-photos label{margin:14px 0 0}.property-photos input[type=file]{padding:10px;font-size:13px;white-space:normal}.property-photos ul{list-style:none;padding:0;margin:12px 0 0}.property-photos li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #cbdfea}.property-photos li img{width:70px;height:60px;object-fit:cover;border-radius:5px}.property-photos li span{font-size:12px;overflow-wrap:anywhere;flex:1;min-width:0}.property-photos li button{width:auto;font-size:12px;min-height:44px;padding:8px;background:transparent;color:#075db5;text-decoration:underline}

/* Keep imagery at its native detail and give mobile users a larger workspace. */
.map-stage{margin:18px -6px 0;padding:12px;background:#fff;border:1px solid #ccdae4;border-radius:12px;box-shadow:0 5px 18px #1531490a}.map-view-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 4px}.map-view-tools>span{font-size:10px;font-weight:800;letter-spacing:.1em;color:#1b425d;margin-right:auto}.map-view-tools small{display:block;letter-spacing:0;font-weight:400;color:#6a8192;font-size:11px;margin-top:4px}.map-view-tools button{background:#eef5fa;color:#13568a;border:1px solid #d3e3ee;padding:9px 11px;min-height:42px!important;font-size:11px}.property-map{height:470px;border:1px solid #c4d2dd;border-radius:8px}.property-map img.leaflet-tile{max-width:none!important;max-height:none!important;filter:none;object-fit:fill}.map-help{font-size:11px!important;margin:10px 0 0!important;color:#647b8c!important}.property-map .leaflet-control-zoom{border:1px solid #c0ced8;box-shadow:0 3px 12px #071b3030}.property-map .leaflet-control-zoom a{width:38px;height:38px;line-height:38px;background:#fff}.property-map .leaflet-control-scale-line{background:#ffffffdf;border-color:#243d50;color:#243d50;font-size:11px}.map-expanded{position:fixed;inset:12px;z-index:10000;margin:0!important;display:flex;flex-direction:column;background:#fff;box-shadow:0 0 0 30px #0b1c2ce8}.map-expanded .map-container{flex:1;min-height:0}.map-expanded .property-map{height:100%;min-height:0}.map-is-expanded{overflow:hidden}.map-expanded .map-tools{flex-shrink:0}.property-map .leaflet-control-attribution{background:#fffffff0}
@media(max-width:600px){.property-mapper{padding:16px 10px;margin-left:-12px;margin-right:-12px}.map-stage{margin-inline:-5px;padding:8px}.property-map{height:440px}.map-view-tools>span{flex-basis:100%;padding:3px 0 5px}.map-view-tools button{flex:1}.map-expanded{inset:6px;padding:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.map-expanded .map-tools button{flex:1 1 25%;min-height:40px}.map-expanded .map-view-tools>span small{display:none}.map-expanded .property-map{height:100%}.map-expanded .map-help{font-size:10px!important}}

.google-property-map .gm-style img{max-width:none!important}.google-property-map .gm-style button{width:auto;min-height:0;margin:0;font-size:inherit;padding:0}.google-property-map .gm-style button:hover{background-color:inherit}.google-property-map .gm-style .gm-style-iw{color:#102536;font-size:12px}.google-property-map{overflow:hidden}

@media(max-width:600px){
  .property-mapper button,.map-view-tools button,.map-expanded .map-tools button{min-height:48px!important;font-size:14px;padding:12px}
  .property-mapper #map-find{width:100%}
  .property-mapper .map-tools button{flex:1 1 40%;font-size:14px}
  .property-map{height:clamp(320px,55svh,440px)}
  .property-map .leaflet-control-zoom a{width:44px;height:44px;line-height:44px}
  .map-expanded{inset:0;border-radius:0;height:100dvh;box-sizing:border-box;padding:calc(10px + env(safe-area-inset-top,0px)) 10px calc(10px + env(safe-area-inset-bottom,0px))}
  .map-expanded .map-view-tools>span{display:none}
  .map-expanded .map-tools{margin:8px 0;gap:6px}
  .map-expanded .map-tools button{flex:1 1 30%;font-size:13px;padding:8px}
  .map-expanded label[for=map-area-type]{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:12px}
  .map-expanded #map-area-type{flex:1;min-width:0;margin:0;padding:8px;min-height:44px}
  .map-tools:has(#map-draw[aria-pressed=true]) #map-draw,.map-tools:has(#map-draw[aria-pressed=true]) #map-clear{display:none}
  .map-expanded .map-help{font-size:13px!important;line-height:1.4;flex-shrink:0}
  #map-center-point{background:#075db5;color:#fff;border-color:#075db5}
  .map-crosshair{width:24px;height:24px;border-width:3px;box-shadow:0 0 0 5px #10253680}
}
