/* Residence controls share the existing searchable picker design. */
.residence-preferences{position:relative;overflow:visible}
.residence-help{font-size:14px;line-height:1.65;color:var(--muted,#526681);margin:0 0 20px}
.residence-preferences .preference-location-picker{position:relative}
.residence-preferences .preference-location-popover[hidden]{display:none!important}
.residence-preferences .preference-location-popover{z-index:30;max-width:100%;inset-inline-start:0;inset-inline-end:0}
.residence-preferences .preference-location-popover [role=listbox]{max-height:260px;overflow:auto;overscroll-behavior:contain}
.residence-preferences .preference-location-search{width:100%;font-size:16px;min-height:48px}
.residence-preferences .preference-location-option{min-height:46px;text-align:start;white-space:normal}
.residence-preferences .job-trigger span{min-width:0;overflow-wrap:anywhere;text-align:start}
.residence-preferences .job-trigger:disabled{opacity:.55;cursor:not-allowed}
.residence-preferences .small-copy{font-size:13px;line-height:1.6}
.residence-error{color:#a02525;font-size:14px;line-height:1.6}
.residence-match-hint{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.5;color:#264f83;margin:12px 0 0}
.residence-match-hint svg,.location-recommendation-note svg{width:15px;height:15px;flex:none}
.location-recommendation-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;margin:0 0 8px;font-size:13px;line-height:1.5;color:#526681;clear:both}
.location-recommendation-note>span{display:flex;align-items:center;gap:6px;min-width:0}
.location-recommendation-note button{flex:none;min-height:40px}
@media(max-width:480px){.residence-preferences{padding:20px 16px}.residence-help{font-size:14px}.residence-preferences .preference-location-popover [role=listbox]{max-height:220px}.location-recommendation-note{font-size:12px}}

.residence-preferences .job-trigger svg{width:17px;height:17px;flex:none}
.residence-preferences .preference-location-option:focus-visible{outline:2px solid #174ea6;outline-offset:-2px}
