.roofPlaneTools{display:flex;flex-direction:column;gap:10px;padding:12px;border-bottom:1px solid var(--pt-border)}
.roofPlaneTools h3{margin:0;font-size:15px;color:var(--pt-ink)}
.roofTotals{display:flex;gap:16px;flex-wrap:wrap}
.roofTotals div{display:flex;flex-direction:column}
.roofTotals b{font-size:20px;color:var(--pt-ink);font-variant-numeric:tabular-nums}
.roofTotals span,.roofHelp,#roof-notice{font-size:12px;color:var(--pt-muted)}
.roofTotals p{margin:0;font-size:13px;color:var(--pt-muted)}
.roofPitch{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--pt-muted)}
.roofPitch select{font:inherit;padding:6px 8px;border:1px solid var(--pt-border);border-radius:var(--pt-radius-control);background:var(--pt-surface);color:var(--pt-ink)}
.roofPlaneActions button{font:inherit;font-size:13px;padding:6px 10px;border:1px solid var(--pt-border);border-radius:var(--pt-radius-control);background:var(--pt-surface);color:var(--pt-ink);cursor:pointer}
.roofPlaneActions button:disabled{opacity:.5;cursor:default}
.roofPlaneList{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;max-height:240px;overflow:auto}
.roofPlaneList button{width:100%;text-align:left;font:inherit;font-size:13px;padding:6px 8px;border:1px solid transparent;border-radius:var(--pt-radius-control);background:none;color:var(--pt-ink);cursor:pointer;display:flex;align-items:center;gap:8px}
.roofPlaneList button[aria-pressed="true"]{border-color:var(--pt-accent);background:var(--pt-selected)}
.roofSwatch{width:12px;height:12px;border-radius:2px;flex:none}
.roofHelp{margin:0}

/* the roof product uses the pond pane for roof planes; the water layer tools do not apply */
.roofProduct [data-widget="layers"],.roofProduct #pondAppearance,.roofProduct #poolShapes,
.roofProduct [data-widget="precision"],.roofProduct #scenePondEmpty,.roofProduct [data-widget="draw"]{display:none!important}

.roofInline{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--pt-muted)}
.roofInline input{width:70px;font:inherit;padding:4px 6px;border:1px solid var(--pt-border);border-radius:var(--pt-radius-control);background:var(--pt-surface);color:var(--pt-ink)}
.roofDetails summary{cursor:pointer;font-size:13px;color:var(--pt-ink)}
.roofDetails{display:flex;flex-direction:column;gap:6px}
.roofPitch input{font:inherit;padding:6px 8px;border:1px solid var(--pt-border);border-radius:var(--pt-radius-control);background:var(--pt-surface);color:var(--pt-ink)}
.roofPlaneActions{display:flex;flex-wrap:wrap;gap:6px}
.roofPlaneActions button[aria-pressed="true"]{border-color:var(--pt-accent);background:var(--pt-selected)}

/* Roofs take their scale from the satellite and their shape from LiDAR, so the photo
   scale lines (A/B) and camera correction have nothing to do here. */
body[data-product="roof"] details.scenePhotoSection:has(> #panel-scale),
body[data-product="roof"] #panel-scale{display:none}
/* Nor is a loaded photo: without scale lines it could not be measured. Satellite only. */
body[data-product="roof"] #pick{display:none}
