/* One search-list surface, including distributor and comparison selectors.
   Popover rendering escapes chart stacking contexts without moving the nodes. */
html body .ac-dd,
html body .autocomplete-dropdown {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 4px 0;
    z-index: 2147483000;
    box-sizing: border-box;
    border: 1px solid var(--panel-brd, #33463d);
    border-radius: 12px;
    background: #0d1622;
    color: #cdddd7;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
    max-height: 280px;
    overflow: hidden auto;
    overscroll-behavior: contain;
    direction: rtl;
    text-align: right;
}
html body .ac-dd.show,
html body .autocomplete-dropdown.show {
    display: block;
}
html body .ac-dd .autocomplete-item,
html body .autocomplete-dropdown .autocomplete-item {
    box-sizing: border-box;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid var(--line, #26372f);
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.7;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
}
html body .ac-dd .autocomplete-message,
html body .autocomplete-dropdown .autocomplete-message {
    padding: 10px 14px;
    color: #98aaa2;
    font-size: 13px;
    line-height: 1.7;
}
html.theme-light body .ac-dd .autocomplete-message,
html.theme-light body .autocomplete-dropdown .autocomplete-message {
    color: #52685f;
}
html body .ac-dd .autocomplete-item:last-child,
html body .autocomplete-dropdown .autocomplete-item:last-child {
    border-bottom: 0;
}
html body .ac-dd .autocomplete-item:hover,
html body .ac-dd .autocomplete-item.active,
html body .ac-dd .autocomplete-item[aria-selected="true"],
html body .autocomplete-dropdown .autocomplete-item:hover,
html body .autocomplete-dropdown .autocomplete-item.active {
    background: #16392f;
    color: #fff;
}
html.theme-light body .ac-dd,
html.theme-light body .autocomplete-dropdown {
    background: #fff;
    color: #213b32;
    border-color: #d7e4dd;
    box-shadow: 0 14px 36px rgba(22, 57, 47, .16);
}
html.theme-light body .ac-dd .autocomplete-item,
html.theme-light body .autocomplete-dropdown .autocomplete-item {
    border-bottom-color: #e6eee9;
}
html.theme-light body .ac-dd .autocomplete-item:hover,
html.theme-light body .ac-dd .autocomplete-item.active,
html.theme-light body .ac-dd .autocomplete-item[aria-selected="true"],
html.theme-light body .autocomplete-dropdown .autocomplete-item:hover,
html.theme-light body .autocomplete-dropdown .autocomplete-item.active {
    background: #e8f5ee;
    color: #174c37;
}