.radius-panel{margin-top:10px;border:1px solid #e7cacc;border-radius:10px;background:#fff;padding:9px;color:#333;font-size:12px}
.radius-panel summary{font-size:14px;font-weight:700;cursor:pointer;color:#a51e25}
.radius-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
.radius-options label{display:flex;align-items:center;gap:7px;padding:7px;border:1px solid var(--ring-color);border-radius:7px;color:var(--ring-color);font-weight:700;cursor:pointer}
.radius-options input{margin:0;width:18px;height:18px;accent-color:var(--ring-color)}
.radius-status{line-height:1.5;margin:8px 0 0}
.radius-preview{max-width:100%;width:auto;height:auto;margin-top:6px}
.radius-preview[hidden],.radius-retry[hidden]{display:none}
.radius-panel .radius-retry{font:inherit;padding:7px;min-height:32px;margin-top:6px;white-space:normal}
@media(max-width:899px){.radius-panel{padding:6px;margin-top:5px}.radius-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.radius-options label{padding:5px 2px;gap:3px;font-size:11px}.radius-options input{width:16px;height:16px}.radius-panel[open]{max-height:30dvh;overflow:auto}}

/* V77: shared controls for desktop, tablet and phone. */
.house-image-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.house-image-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;font-size:14px;grid-column:auto!important}
.house-image-actions img{width:23px;height:23px;object-fit:contain}
#houseDisplayOptions{margin-top:8px;font-size:14px;font-weight:700}
#houseDisplayOptions label{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:32px}
#hideFanText{width:18px;height:18px;margin:0;accent-color:#ed1c24}
#clearSelections{position:absolute;left:8px;right:auto;top:8px;z-index:49;padding:7px 10px;min-height:34px;font-size:12px;color:#b81219;background:#fff5f5;border-color:#edb9bd;box-shadow:0 2px 8px #0002}
.house-reset-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;margin-top:8px}
.house-reset-row #desktopReset{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:40px;padding:6px;font-size:13px;white-space:normal}
.house-reset-row #desktopReset img{width:23px;height:23px;object-fit:contain;flex-shrink:0}
.house-reset-row #houseDisplayOptions{min-width:0;margin:0;font-size:12px}
.house-reset-row #houseDisplayOptions label{gap:5px;line-height:1.2}
@media(max-width:899px){
  .btns{grid-template-columns:repeat(2,minmax(0,1fr))}
  .btns .ai-btn,.btns .manual-btn{grid-column:auto}
  #resetTop{display:none}
  #newImg{top:50px}
  .house-reset-row{gap:5px;margin-top:4px}
  .house-reset-row #desktopReset{min-height:36px;padding:5px;font-size:12px}
  .house-image-actions{gap:5px;margin-top:4px}
  .house-image-actions button{min-height:36px;padding:5px;font-size:12px}
  #houseDisplayOptions{margin-top:3px;font-size:12px}
}

.radius-panel.radius-fixed-open[open]{max-height:none;overflow:visible}
.radius-panel.radius-fixed-open .radius-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.radius-panel.radius-fixed-open .radius-options label{padding:7px;gap:7px;font-size:12px}
