.wsrmc-wrap{max-width:1050px;margin:30px auto;font-family:Arial,Helvetica,sans-serif;color:#172b3d}
.wsrmc-hero{background:#172b3d;color:#fff;padding:30px;border-radius:18px 18px 0 0}
.wsrmc-hero h2{color:#fff;margin:6px 0;font-size:38px}
.wsrmc-eyebrow{color:#dfa928;font-size:12px;font-weight:900;letter-spacing:1.4px}
.wsrmc-card{background:#fff;border:1px solid #dce4ea;border-radius:13px;padding:24px;margin:14px 0;box-shadow:0 5px 18px rgba(0,0,0,.03)}
.wsrmc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wsrmc-full{grid-column:1/-1}
.wsrmc-wrap label{display:block;font-size:13px;font-weight:700}
.wsrmc-wrap input,.wsrmc-wrap textarea,.wsrmc-wrap select{width:100%;box-sizing:border-box;padding:11px;margin-top:6px;border:1px solid #cbd5df;border-radius:7px;font-size:15px}
.wsrmc-btn,.wsrmc-btn-secondary{display:block;width:100%;border:0;border-radius:8px;padding:15px 18px;font-weight:900;font-size:16px;cursor:pointer;margin-top:16px}
.wsrmc-btn{background:#b12d2d;color:#fff}
.wsrmc-btn-secondary{background:#172b3d;color:#fff}
.wsrmc-map-shell{margin-top:16px;border:1px solid #dce4ea;border-radius:12px;overflow:hidden}
.wsrmc-map-shell iframe{display:block;width:100%;height:430px;border:0}
.wsrmc-map-caption{padding:13px 15px;background:#f5f7f9;font-weight:700}
.wsrmc-result-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;border-bottom:1px solid #e8ecef;padding-bottom:15px}
.wsrmc-result-head h3{margin:5px 0 0}
.wsrmc-squares{font-size:30px;font-weight:900;color:#b12d2d}
.wsrmc-table{width:100%;border-collapse:collapse;margin-top:15px}
.wsrmc-table td{padding:11px;border-bottom:1px solid #eee;vertical-align:top}
.wsrmc-table td:first-child{font-weight:800;width:42%}
.wsrmc-status{margin-top:12px;font-weight:700}
.wsrmc-note{font-size:12px;color:#667;margin-top:14px}
@media(max-width:760px){.wsrmc-grid{grid-template-columns:1fr}.wsrmc-full{grid-column:auto}.wsrmc-result-head{display:block}.wsrmc-squares{margin-top:8px}.wsrmc-map-shell iframe{height:320px}.wsrmc-hero h2{font-size:30px}}
.wsrmc-auto-data{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}
.wsrmc-auto-data>div{background:#f5f7f9;padding:13px;border-radius:9px}
.wsrmc-auto-data span,.wsrmc-auto-data strong{display:block}
.wsrmc-auto-data span{font-size:11px;color:#667}
.wsrmc-auto-data strong{font-size:19px;margin-top:4px}
.wsrmc-facets{margin-top:12px;padding:13px;background:#f5f7f9;border-radius:9px}
.wsrmc-facets pre{white-space:pre-wrap;font-family:Arial,sans-serif;font-size:12px;line-height:1.5;margin-bottom:0}
.wsrmc-wrap label small{font-weight:400;color:#777}
@media(max-width:760px){.wsrmc-auto-data{grid-template-columns:1fr 1fr}}

.wsrmc-table tr:nth-child(even){background:#fafbfc}
.wsrmc-wrap label small{font-size:10px;color:#777}

.wsrmc-draw-panel{margin-top:18px;border:2px solid #172b3d;border-radius:12px;padding:16px;background:#f8fafc}
.wsrmc-draw-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}
.wsrmc-draw-head h3{margin:4px 0}
.wsrmc-draw-head p{margin:4px 0;color:#667;font-size:12px}
.wsrmc-draw-total{font-size:24px;font-weight:900;color:#b12d2d;white-space:nowrap}
.wsrmc-draw-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:8px;align-items:end;margin:14px 0}
.wsrmc-mini-btn{border:0;border-radius:7px;padding:11px 13px;background:#172b3d;color:white;font-weight:800;cursor:pointer}
.wsrmc-mini-dark{background:#53616d}.wsrmc-mini-danger{background:#b12d2d}
.wsrmc-draw-stage{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:10px;border:1px solid #cbd5df;background:#dfe6eb;cursor:crosshair;user-select:none}
.wsrmc-draw-stage img,.wsrmc-draw-stage svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.wsrmc-draw-stage img{object-fit:fill;pointer-events:none}
.wsrmc-draw-stage svg{z-index:2;pointer-events:none}
.wsrmc-line-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.wsrmc-line-summary>div{border:1px solid #dce4ea;border-radius:8px;padding:9px;background:#fff}
.wsrmc-line-summary span,.wsrmc-line-summary strong{display:block}.wsrmc-line-summary span{font-size:10px;color:#667}.wsrmc-line-summary strong{margin-top:3px}
.wsrmc-empty{grid-column:1/-1;color:#777;font-size:12px}
@media(max-width:760px){
  .wsrmc-draw-toolbar{grid-template-columns:1fr 1fr}
  .wsrmc-draw-toolbar label{grid-column:1/-1}
  .wsrmc-line-summary{grid-template-columns:1fr 1fr}
  .wsrmc-draw-head{display:block}
  .wsrmc-draw-total{margin-top:8px}
}

.wsrmc-wrap input[name="pipe_boots"],
.wsrmc-wrap input[name="turbines"],
.wsrmc-wrap input[name="chimneys"],
.wsrmc-wrap input[name="chimney_size"]{background:#fff8e8}

.wsrmc-confirm-field input{background:#fff8e8!important;border-color:#e2b455!important}
.wsrmc-solar-field input,.wsrmc-solar-field select{background:#eef7ff!important;border-color:#8bb9de!important}

/* v1.7 - clean confirmation fields (no yellow highlighting) */
.wsrmc-confirm-field input{
    background:#fff!important;
    border-color:#cbd5df!important;
}
.wsrmc-confirm-field small{
    color:#8a5b00!important;
    font-weight:700;
}
.wsrmc-solar-field input,
.wsrmc-solar-field select{
    background:#fff!important;
    border-color:#cbd5df!important;
}

/* Address autocomplete */
.wsrmc-address-wrap{
    position:relative;
}
.wsrmc-address-suggestions{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    z-index:99999;
    margin-top:4px;
    background:#fff;
    border:1px solid #cbd5df;
    border-radius:9px;
    box-shadow:0 12px 28px rgba(0,0,0,.16);
    overflow:hidden;
}
.wsrmc-address-option{
    display:block;
    width:100%;
    border:0;
    border-bottom:1px solid #edf0f2;
    background:#fff;
    color:#172b3d;
    padding:12px 14px;
    text-align:left;
    font-size:14px;
    cursor:pointer;
}
.wsrmc-address-option:hover,
.wsrmc-address-option:focus{
    background:#f3f7fa;
    outline:none;
}
.wsrmc-google-attribution{
    display:flex;
    justify-content:flex-end;
    padding:7px 10px;
    background:#fff;
}
.wsrmc-google-attribution img{
    height:14px;
    width:auto;
    max-width:120px;
}

.wsrmc-ai-detect-status{
    margin:8px 0 4px;
    padding:12px 14px;
    border:1px solid #9ec6df;
    border-radius:9px;
    background:#f3f9fd;
    color:#17384e;
    line-height:1.55;
    font-size:12px;
}
.wsrmc-confirm-field input{
    background:#fff!important;
    border-color:#9ec6df!important;
}
.wsrmc-confirm-field small{
    color:#27617f!important;
}

.wsrmc-structures-panel{border:1px solid #cbd5df;border-radius:10px;padding:13px;background:#f8fafc}
.wsrmc-structures-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}
.wsrmc-structures-head span{font-size:11px;color:#667}
#wsrmc-structures-status{font-size:12px;color:#36556b;margin:6px 0 10px}
.wsrmc-structure-card{border:1px solid #d8e0e6;border-radius:9px;padding:11px;margin:8px 0;background:#fff}
.wsrmc-structure-card.is-main{border-color:#86b9d8;background:#f4faff}
.wsrmc-structure-title{display:flex;justify-content:space-between;gap:10px}
.wsrmc-structure-title span{font-size:10px;color:#667}
.wsrmc-structure-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.wsrmc-structure-note{font-size:11px;color:#667;margin-top:7px}
@media(max-width:680px){.wsrmc-structure-grid{grid-template-columns:1fr}}

.wsrmc-brand-row{
    display:flex;
    align-items:end;
    gap:14px;
    margin:10px 0 14px;
    padding:10px 12px;
    border:1px solid #d7e0e6;
    border-radius:9px;
    background:#fafcfd;
}
.wsrmc-brand-row label{min-width:240px;font-weight:700}
.wsrmc-brand-row select{width:100%;margin-top:5px}
.wsrmc-brand-row small{color:#667;line-height:1.35}

.wsrmc-ai-detect-status strong{letter-spacing:.02em}

.wsrmc-brand-row{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(300px,1.4fr);gap:10px 14px!important;align-items:end!important}
.wsrmc-brand-row small{grid-column:1/-1}
.wsrmc-package-details{margin:0 0 14px;border:1px solid #cbd5df;border-radius:10px;background:#f8fafc}
.wsrmc-package-details summary{cursor:pointer;padding:11px 13px;font-weight:800;color:#17384e}
.wsrmc-package-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:0 13px 12px}
.wsrmc-package-grid label{font-size:11px;font-weight:700}
.wsrmc-package-grid input{margin-top:4px}
.wsrmc-package-note{margin:0 13px 13px;padding:9px 11px;border-radius:7px;background:#fff;border:1px solid #dce4e9;font-size:11px;line-height:1.45}
.wsrmc-verified{color:#23652e;font-weight:800}.wsrmc-verify{color:#9a5700;font-weight:800}
@media(max-width:680px){.wsrmc-brand-row,.wsrmc-package-grid{grid-template-columns:1fr!important}.wsrmc-brand-row small{grid-column:auto}}

#wsrmc-rescan-ai{margin:7px 0 10px}
.wsrmc-small-button{border:0;border-radius:6px;padding:8px 11px;background:#17384e;color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.wsrmc-fence-panel{margin:12px 0;border:1px solid #cbd5df;border-radius:10px;padding:12px;background:#f8fafc}
.wsrmc-fence-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.wsrmc-fence-head small{display:block;color:#667;margin-top:3px}
.wsrmc-fence-run{display:grid;grid-template-columns:1.2fr .65fr .65fr 1fr .8fr .6fr auto;gap:6px;align-items:end;padding:8px;margin:7px 0;background:#fff;border:1px solid #dce4e9;border-radius:8px}
.wsrmc-fence-run label{font-size:10px;font-weight:700}.wsrmc-remove-fence{border:0;border-radius:5px;padding:8px;background:#9d2a2a;color:#fff;font-size:9px;font-weight:800;cursor:pointer}
.wsrmc-fence-totals{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:12px;margin-top:8px}
@media(max-width:900px){.wsrmc-fence-run{grid-template-columns:1fr 1fr 1fr}.wsrmc-remove-fence{grid-column:1/-1}}

.wsrmc-fence-run input[data-fence="label"]{font-weight:700}

#wsrmc-rescan-ai{background:#123b57}
#wsrmc-ai-detect-status strong{font-weight:900}

.wsrmc-owner-panel{
  border:1px solid #cbd5df;
  border-radius:10px;
  padding:12px;
  background:#f8fafc;
  margin-top:4px;
}
.wsrmc-owner-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}
.wsrmc-owner-head small{display:block;color:#667;margin-top:3px}
.wsrmc-owner-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 12px;
}
.wsrmc-owner-mail{grid-column:1/-1}
.wsrmc-owner-status{
  margin-top:8px;
  padding:8px 10px;
  background:#fff;
  border:1px solid #dce4e9;
  border-radius:7px;
  font-size:11px;
  color:#36556b;
}
@media(max-width:680px){
  .wsrmc-owner-grid{grid-template-columns:1fr}
  .wsrmc-owner-mail{grid-column:auto}
  .wsrmc-owner-head{align-items:flex-start;flex-direction:column}
}

#wsrmc-ai-detect-status{line-height:1.45}

.wsrmc-calibration-panel{border:1px solid #d8b46d;border-radius:10px;padding:12px;background:#fffaf0;margin:8px 0 12px}
.wsrmc-calibration-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}
.wsrmc-calibration-head small{display:block;color:#6d6556;margin-top:3px}
.wsrmc-calibration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 10px}
.wsrmc-calibration-grid label{font-size:10px;font-weight:700}
.wsrmc-calibration-status{margin-top:8px;font-size:11px;color:#6a5325}
@media(max-width:680px){.wsrmc-calibration-head{flex-direction:column;align-items:flex-start}.wsrmc-calibration-grid{grid-template-columns:1fr 1fr}}

.wsrmc-customer-panel{
  border:1px solid #9db7ca;
  border-radius:10px;
  padding:12px;
  background:#f4f9fc;
  margin:4px 0 10px;
}
.wsrmc-customer-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}
.wsrmc-customer-head small{display:block;color:#5d7180;margin-top:3px}
.wsrmc-customer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;gap:8px 12px}
@media(max-width:680px){.wsrmc-customer-grid{grid-template-columns:1fr}}

.wsrmc-owner-test-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:9px;
}
.wsrmc-owner-test-actions span{
  font-size:10px;
  color:#6b7280;
  font-weight:600;
}

.wsrmc-owner-panel input[name="owner_verification_status"]{font-weight:800}

.wsrmc-story-panel{
  border:1px solid #b9c7d1;
  border-radius:10px;
  padding:12px;
  margin:0 0 14px;
  background:#f7fafc;
}
.wsrmc-story-head small{display:block;color:#667;margin-top:3px}
.wsrmc-story-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px 10px;
  margin-top:9px;
}
.wsrmc-story-grid label{font-size:10px;font-weight:700}
.wsrmc-story-status{margin-top:8px;font-size:11px;color:#405665}
@media(max-width:800px){.wsrmc-story-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.wsrmc-story-grid{grid-template-columns:1fr}}

.wsrmc-story-override{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:9px;
  font-size:11px;
  font-weight:700;
}
.wsrmc-story-override input{width:auto;margin:0}

.wsrmc-property-intro{
  margin:0 0 12px;
  color:#516575;
  font-size:12px;
  line-height:1.5;
}
.wsrmc-lead-auth-panel{
  margin:14px 0 0;
  padding:16px;
  border:2px solid #183f5a;
  border-radius:12px;
  background:#f4f9fc;
}
.wsrmc-lead-auth-title{
  font-weight:900;
  font-size:14px;
  color:#17384e;
}
.wsrmc-lead-auth-panel p{
  margin:6px 0 12px;
  font-size:12px;
  line-height:1.5;
  color:#526776;
}
.wsrmc-lead-auth-row,
.wsrmc-lead-code-row{
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  gap:10px;
  align-items:end;
  margin-top:10px;
}
.wsrmc-lead-auth-status{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #cbd9e2;
  border-radius:8px;
  background:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1.4;
}
.wsrmc-lead-auth-verified{
  border-color:#5c8a69;
  background:#f4faf5;
}
@media(max-width:650px){
  .wsrmc-lead-auth-row,
  .wsrmc-lead-code-row{grid-template-columns:1fr}
}

/* v5.0.3 HARD EMAIL PRIVACY GATE
   Never expose roof measurements before successful email verification. */
.wsrmc-preverify #wsrmc-auto-summary,
.wsrmc-preverify .wsrmc-auto-summary{
  display:none !important;
  visibility:hidden !important;
}

/* v5.0.4: ACTUAL Google roof summary container privacy gate */
.wsrmc-preverify #wsrmc-auto-data,
.wsrmc-preverify .wsrmc-auto-data {
    display: none !important;
    visibility: hidden !important;
}

/* Also honor the native hidden attribute regardless of theme/plugin CSS. */
#wsrmc-auto-data[hidden],
.wsrmc-auto-data[hidden] {
    display: none !important;
}

.wsrmc-email-materials{margin-top:20px;padding:16px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}.wsrmc-email-materials label{display:block;font-weight:700;margin-bottom:10px}.wsrmc-email-materials input[type=email]{display:block;width:100%;margin-top:6px}.wsrmc-email-materials .wsrmc-btn{width:100%}

.wsrmc-new-job-share{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:14px}.wsrmc-new-job-link-status{font-size:12px;font-weight:700;min-height:18px}.wsrmc-hero .wsrmc-new-job-share .wsrmc-small-button{background:#fff;color:#0b2d52;border-color:#fff}.wsrmc-hero .wsrmc-new-job-share .wsrmc-small-button:hover{opacity:.9}
