.selection-exact-heading{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:18px;line-height:1.4}
.selection-cash-filter{display:block;margin:32px 0;padding:0;border:0;background:none}
.selection-option-flags{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:16px}
.selection-form .selection-option-flags label{display:flex;flex-direction:row;align-items:center;gap:8px}
.selection-form .selection-option-flags input{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#d71935}
.selection-offers>section.selection-alternatives{margin:32px 0 0;padding:0;border:0;background:none}
.selection-alternatives>h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 10px;font-size:22px;line-height:1.4}
.selection-alternatives>p,.selection-no-exact{margin:0 0 20px;color:#60636c;font-size:13px;line-height:1.6}
.selection-nearby-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;container:rr-offers / inline-size}
.selection-alternative{min-width:0}
.selection-alternative-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;min-width:0;margin:0 0 8px;padding:10px 16px;border:1px solid #e5e5e9;border-radius:12px;font-size:12px;line-height:1.5;background:#fff}
.selection-alternative-note>span{min-width:0}
.selection-alternative-note .rr-condition-atom{display:inline-block;white-space:nowrap}
.selection-alternative-note>a{color:#bd1730;text-decoration:none;min-height:28px;display:inline-flex;align-items:center;flex:none}
@media(min-width:680px) and (max-width:1099px){.selection-nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:760px){.selection-alternatives>h3{font-size:19px}.selection-alternative-note{padding:10px 12px;gap:4px;font-size:12px}.selection-alternative-note>a{min-height:36px}.selection-exact-heading{font-size:17px}}

.selection-form [data-selection-fixed]{opacity:1;cursor:default}

/* Compact, consistent spacing inside supplementary loan filters. */
.selection-form .selection-more{margin:0;padding:0}
.selection-form .selection-more[open]>summary{margin:0 0 8px;padding:0}
.selection-form .selection-more>.selection-extra-fields{gap:12px 16px}
.selection-form .selection-more[open]>.selection-extra-fields{padding-top:12px;border-top:1px solid #e2e3e8}
.selection-form .selection-more>.selection-extra-fields>label{gap:6px;line-height:1.4}
.selection-form .selection-more>.selection-option-flags{margin:12px 0 0;gap:8px 20px}
.selection-form .selection-option-flags>label{min-height:32px;margin:0;gap:8px;line-height:1.4}
.selection-form .selection-more:not([open])>.selection-option-flags{display:none}
.selection-form>small{margin:0;padding:0;line-height:1.5}
@media(min-width:761px){
 .selection-form:not(.selection-form-hero){row-gap:10px}
 .selection-form:not(.selection-form-hero) .selection-more>summary{min-height:36px}
 .selection-form:not(.selection-form-hero) .selection-more[open]>summary{margin-bottom:8px}
 .selection-form:not(.selection-form-hero)>.selection-more[open]>.selection-extra-fields{padding-top:12px;gap:12px 16px}
 .selection-form:not(.selection-form-hero)>small{font-size:12px}
}
@media(max-width:760px){
 #rr-filter-sheet .selection-form .selection-more[open]>summary{margin-bottom:8px}
 #rr-filter-sheet .selection-form .selection-more>.selection-extra-fields{gap:12px}
 #rr-filter-sheet .selection-form .selection-more>.selection-option-flags{gap:4px 16px;margin-top:12px}
 #rr-filter-sheet .selection-form .selection-option-flags>label{min-height:44px}
}

/* Amount and term are the only primary fields; do not reserve the removed situation column. */
@media(min-width:761px){
 .selection-form.selection-form-simple:not(.selection-form-hero){grid-template-columns:minmax(0,1fr) 240px}
 .selection-form.selection-form-simple:not(.selection-form-hero)>.selection-main-fields{grid-column:1;grid-row:1}
 .selection-form.selection-form-simple:not(.selection-form-hero)>.ys-button{grid-column:2;grid-row:1}
 .selection-form.selection-form-simple:not(.selection-form-hero)>.selection-more{grid-column:1/-1;grid-row:2}
 .selection-form.selection-form-simple:not(.selection-form-hero)>small,
 .selection-form.selection-form-simple:not(.selection-form-hero):not(:has(>.selection-more[open]))>small{grid-column:1/-1;grid-row:3;justify-self:start}
}
@media(min-width:1000px){
 .selection-collection-hero .selection-form.selection-form-simple{display:flex}
 .selection-collection-hero .selection-form.selection-form-simple>.selection-main-fields{width:100%}
 .selection-collection-hero .selection-form.selection-form-simple>small{align-self:stretch;text-align:center}
 .selection-collection-hero .selection-form.selection-form-simple .selection-extra-fields{grid-template-columns:minmax(0,1fr)}
}

/* Supplementary controls follow their available width, including compact hero forms. */
.selection-form.selection-form-simple .selection-more>.selection-extra-fields,
#rr-filter-sheet .selection-form .selection-more>.selection-extra-fields{
 grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
}
