/* One SpaceRef header for city engines and homepage; no search-logic changes. */
.sr-compact-header{position:relative;z-index:6000;background:#fff;border-bottom:1px solid #e5eaf0;padding:8px 16px;box-sizing:border-box;overflow:visible}
.sr-compact-header .sr-brand{display:flex;flex-flow:row nowrap;align-items:center;gap:16px;width:100%;max-width:1220px;min-width:0;box-sizing:border-box;margin:0 auto}
.sr-compact-header .sr-logo{flex:0 1 auto;min-width:0;cursor:pointer;font:900 clamp(20px,3.6vw,31px)/1 Arial,sans-serif;letter-spacing:-1.3px;white-space:nowrap;direction:ltr}
.sr-compact-header .sr-logo-space{color:#10233f}.sr-compact-header .sr-logo-ref{color:#1976d2}.sr-compact-header .sr-logo-dot{color:#64748b;font-size:.55em;letter-spacing:-.4px}
.sr-compact-header .sr-header-search{flex:1 1 0;min-width:0;max-width:680px;margin-inline-start:auto;overflow:visible!important}
.sr-compact-header .sr-header-search form{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;height:44px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}
.sr-compact-header .city-search-box{flex:1 1 0!important;width:0!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.sr-compact-header .city-search-box:has(>button[type="submit"]){display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:6px!important;position:relative}
.sr-compact-header .sr-header-search input:is([type="search"],[type="text"]){flex:1 1 0!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:9px 10px!important;margin:0!important;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#f8fafc!important;color:#10233f!important;font:400 16px/1.3 Arial,sans-serif!important;text-align:start!important}
.sr-compact-header .sr-header-search input::placeholder{color:#64748b!important}
.sr-compact-header .sr-header-search button[type="submit"],.sr-compact-header .sr-header-search button:not([type]){display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;border:0!important;border-radius:9px!important;background:#2563eb!important;color:#fff!important;cursor:pointer!important;box-shadow:none!important}
.sr-compact-header button svg{display:block;flex:none}
.sr-compact-header :is(input,button,.sr-logo):focus-visible{outline:2px solid #1d4ed8;outline-offset:2px}
.sr-compact-header+.site{padding-top:6px!important;min-width:0}
.sr-compact-header .city-suggestions{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.sr-city-dropdown{box-sizing:border-box!important;max-width:calc(100vw - 16px)!important}
.sr-city-option{white-space:normal!important;overflow-wrap:anywhere;min-width:0;text-align:start!important}
.sr-compact-header~.sr-city-dropdown .sr-city-option{text-align:start!important}
:is(html[lang|="ar"],html[lang|="fa"],html[lang|="he"],html[lang|="ur"],html[lang|="ps"],html[lang|="sd"],html[lang|="yi"]) .sr-compact-header{direction:rtl}
@media(max-width:640px){
 .sr-compact-header{padding:5px 8px}
 .sr-compact-header .sr-brand{gap:8px}
 .sr-compact-header .sr-logo{font-size:clamp(18px,5.5vw,25px);letter-spacing:-1px}
 .sr-compact-header .sr-header-search{max-width:none}
}
