
.residence-card{min-width:0;margin:20px 0;padding:16px;border:1px solid #cddfe7;border-radius:16px;background:#f7fbfc}
.residence-card[hidden],.residence-details[hidden]{display:none!important}
.residence-card legend{padding:0 6px;font-size:17px;font-weight:750;color:#174269;max-width:100%;line-height:1.4}
.residence-help{font-size:14px;color:#60717b;margin:0 0 12px;line-height:1.5}
.residence-choices{display:flex;gap:10px}.residence-choices label{flex:1;display:flex;gap:8px;align-items:center;min-height:48px;padding:10px;border:1px solid #ccdce2;border-radius:12px;background:white;cursor:pointer}
.residence-choices label:has(input:checked){border-color:#26728c;background:#e6f4f7;color:#174269;box-shadow:0 0 0 1px #26728c}
.residence-card input[type=radio],.residence-card input[type=checkbox]{accent-color:#216780;width:18px;height:18px;flex:none}
.residence-check{display:flex;align-items:center;gap:8px;font-size:14px;min-height:44px}.residence-details .field small{font-weight:400;color:#60717b}

/* Hidden form fields must override the shared .field display:grid rule. */
.residence-card [hidden]{display:none!important}
.residence-choices label{min-width:0;font-size:15px;line-height:1.35}
.residence-choices label span{min-width:0}
.residence-card .residence-choices input[type=radio],.residence-card .residence-check input[type=checkbox]{min-height:18px;padding:0;margin:0;max-width:18px}
/* Keep map content in its own space rather than shrinking the coverage link. */
.map-dialog>.coverage-help-link{flex:0 0 auto;min-height:44px;height:auto;white-space:normal;line-height:1.4;overflow:visible;padding:10px 0;margin:4px 0;align-self:stretch;text-align:left}
.map-dialog>.map-dialog-head,.map-dialog>.coverage-list-body{flex-shrink:0}
.map-dialog-actions{margin-top:12px}
