/* Keep the WordPress toolbar at the top of the document, not mid-screen
   when an Explorer ancestor applies transforms or page screenshots scroll. */
html { scroll-padding-top: 40px; }
body.admin-bar #wpadminbar { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; transform: none !important; z-index: 999999 !important; }
body.admin-bar { margin-top: 0 !important; }
body.admin-bar:not(.wp-admin) { padding-top: 32px !important; }
@media(max-width:782px) { body.admin-bar:not(.wp-admin) {padding-top:46px !important;} }
.spc-neutral-result { padding:18px 20px; border:1px solid #b8d3c7; border-left:5px solid #176246; border-radius:8px; background:#f4faf7; margin:16px 0 20px; color:#183b2b; }
.spc-neutral-result h3 { margin:0 0 8px; font-size:1.22rem; color:#164d38; }
.spc-neutral-result p { margin:5px 0; line-height:1.5; }
.spc-legacy-suppressed { display:none !important; }

.spc-technical-sections { margin: 16px 0 24px; border: 1px solid #d7e4dc; border-radius: 7px; padding: 0 14px; background: #fafcfb; }
.spc-technical-sections > summary { cursor: pointer; padding: 15px 5px; font-weight: 700; color: #18543d; }
.spc-technical-sections[open] > summary { border-bottom: 1px solid #d7e4dc; margin-bottom: 12px; }


/* v1.0.3 compact, responsive property explorer presentation */
.spc-compact-parcel-map {
  height: clamp(300px, 43vh, 450px) !important;
  min-height: 300px !important;
  max-height: 450px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.spc-compact-parcel-map > svg,
.spc-compact-parcel-map > canvas,
.spc-compact-parcel-map > div > svg {
  max-height: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
.spc-compact-property-facts { gap: 5px !important; row-gap: 5px !important; }
.spc-compact-property-facts > * { padding-top: 7px !important; padding-bottom: 7px !important; }
.spc-technical-sections { margin: 12px 0 !important; border: 1px solid #d5e3db; border-radius: 7px; padding: 12px; }
.spc-technical-sections > summary { cursor: pointer; font-weight: 700; color: #14563d; }
@media(max-width:650px) {
  .spc-compact-parcel-map { height: 300px !important; min-height: 260px !important; }
}

/* v1.0.4: compact geometry and accessible, progressive-disclosure layout */
.spc-v104-map-viewport { height: 320px !important; max-height: 320px !important; min-height: 0 !important; overflow: hidden !important; position: relative !important; }
.spc-v104-map-viewport > svg, .spc-v104-map-viewport > canvas { display:block !important; height:100% !important; width:100% !important; max-height:100% !important; object-fit:contain !important; }
.spc-v104-map-viewport svg { max-height:320px !important; }
.spc-v104-verification { margin: 8px 0 !important; border: 1px solid #e4d7b2; border-radius: 6px; padding: 9px 12px !important; background: #fff9ea; }
.spc-v104-verification > summary { font-weight: 700; cursor: pointer; color: #315443; }
.spc-v104-report { scroll-margin-top: 48px; }
@media (max-width: 700px) { .spc-v104-map-viewport { height: 250px !important; max-height:250px !important; } .spc-v104-map-viewport svg {max-height:250px !important;} }
