/* Section headings remain visible; the active body contains the next action. */
body #searchForm[data-search-step-active]{gap:12px}
body #searchForm [data-search-step]{padding:0;border:1px solid #cbd9e3;background:#f6f9fb;border-radius:12px;min-width:0;margin:0}
body #searchForm [data-search-step]>legend{float:left;width:100%;max-width:100%;padding:0;box-sizing:border-box}
body #searchForm .search-step-heading{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:12px;text-align:left;border-radius:11px;background:transparent;color:#203f53;font-size:17px;font-weight:750;line-height:1.45}
body #searchForm .search-step-title{flex:1;min-width:0;overflow-wrap:break-word}
body #searchForm .search-step-number{display:flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:50%;background:#e0e8ee;color:#345369;font-size:14px}
body #searchForm .search-step-heading[aria-expanded=true] .search-step-number{background:#FFD300;color:#25313b}
body #searchForm .search-step-state{flex:0 0 22px;text-align:center;font-size:20px;color:#476858}
body #searchForm .search-step-body{clear:both;min-width:0;padding:4px 12px 16px}
body #searchForm .search-step-next{display:block;width:100%;min-height:48px;margin-top:18px}
body #searchForm .search-step-error{background:#fff0ee;border:1px solid #d99891;border-radius:8px;color:#922c25;padding:12px;margin-top:14px}
body #searchForm[data-search-step-active]>.search-form-footer{display:none}
body #searchForm[data-search-step-active="4"]>.search-form-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body #searchForm[data-search-step-active="4"]>.search-form-footer>button{min-height:48px;width:100%}
body #searchForm [data-search-step] [hidden]{display:none!important}
body #searchForm [data-search-step="2"] .search-step-body{display:grid;gap:12px}
body #searchForm [data-search-step="2"] [data-radius-picker]{max-width:none}
body #searchForm [data-search-step]>legend:has(+.search-step-body:not([hidden])){border-bottom:1px solid #d6e1e8;margin-bottom:12px}

.wizard-step-keep{min-height:44px;max-width:100%;white-space:normal;margin:12px 10px 0 0;font-size:14px;touch-action:manipulation}
@media(max-width:600px){.wizard-step-keep{display:block;width:100%;margin-right:0}}
