/* EvAtlas Beta 2.4 - Accessible location search and top bar alignment. */
/* Critical: suggestions are children of .search; position:static!important used to position them against the entire header. */
.top .topRight .search { position:relative!important; isolation:isolate; }
.top .topRight .search>.evSuggestionList {
  position:absolute!important; inset:auto 0 auto 0!important;
  top:calc(100% + 8px)!important;
  width:100%!important; min-width:0!important; max-width:none!important;
  z-index:1600!important; padding:6px;
  box-shadow:0 14px 40px rgba(18,45,89,.21);
}
.top:focus-within{z-index:1300}
.top .topRight .search:focus-within,
#evLanding .landingSearch:focus-within{
  border-color:#3474ea!important;
  box-shadow:0 0 0 3px rgba(37,99,235,.15)!important;
}
.top .topRight .search input:focus,
.top .topRight .search input:focus-visible,
#evLanding .landingSearch input:focus,
#evLanding .landingSearch input:focus-visible {
  outline:none!important; box-shadow:none!important;
}
.top .topRight .search .evSuggestionList button:focus-visible,
#evLanding .landingSearch .evSuggestionList button:focus-visible{
  outline:2px solid #2563eb!important; outline-offset:-2px!important;
}
@media(min-width:801px){
 .top .topRight{width:100%;}
 .top .topRight .search{flex:1 1 320px!important;width:100%!important;min-width:0!important;max-width:390px!important;}
 .top .topRight .search input{width:100%;min-width:0;}
}
@media(max-width:800px){
 .top .search{position:relative!important;}
 .top .search>.evSuggestionList{left:0!important;right:0!important;top:calc(100% + 7px)!important;width:100%!important;min-width:0!important;max-width:none!important;}
}
/* Keep the central EvAtlas wordmark clear when desktop header columns narrow. */
@media (min-width:801px) and (max-width:1150px){.top .brand small{display:none!important}}
/* Pointer hover and keyboard selection show the same state. */
.evSuggestionList button[role="option"].isKeyboardActive,
#evLanding .landingSearch .evSuggestionList button.isKeyboardActive,
.top .topRight .search .evSuggestionList button.isKeyboardActive{background:#e7f0ff!important;color:#154ec3!important;outline:1px solid #c6dcff;}
.evSuggestionList .evSuggestEmpty{padding:12px;font-size:12px;line-height:1.5;color:#65748a;}
.evSuggestionList button[role="option"]:focus-visible{outline:2px solid #2563eb;outline-offset:-2px;}
