/* kit_select.css -- our list (select_menu.mjs) for a page without kit.css: the support chat's form on any page of the site.
   The same text as in kit.css, harness/check_css.mjs holds them equal. */
.kit-select-native { display: none !important; }
.kit-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: var(--f-surface-2);
    color: var(--f-fg);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.kit-select-btn:hover,
.kit-select-btn[aria-expanded="true"] { background: var(--f-surface-3); }
.kit-select-btn:focus-visible { outline: 2px solid var(--f-accent-2); outline-offset: 1px; }
.kit-select-btn:disabled { opacity: .5; cursor: default; }
.kit-select-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kit-select-caret { flex: 0 0 auto; color: var(--f-fg-3); transition: transform .15s ease; }
.kit-select-btn[aria-expanded="true"] .kit-select-caret { transform: rotate(180deg); }
.kit-select-list {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 320px;
    max-height: min(360px, 60vh);
    padding: 6px;
    overflow-y: auto;
    border-radius: 12px;
    background: var(--f-surface-3);
    box-shadow: inset 0 0 0 1px var(--f-surface-5), 0 16px 36px rgb(0 0 0 / 45%);
    animation: kit-select-in .12s ease;
}
.kit-select-list[hidden] { display: none; }
@keyframes kit-select-in { from { opacity: 0; transform: translateY(-4px); } }
.kit-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 10px 0 8px;
    border-radius: 8px;
    color: var(--f-fg-2);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
.kit-select-option > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }   /* a long name cut with «…», whole in the title */
.kit-select-option.is-active { background: var(--f-surface-4); color: var(--f-fg); }
.kit-select-option[aria-selected="true"] { color: var(--f-fg); font-weight: 600; }
.kit-select-option[aria-disabled="true"] { opacity: .45; cursor: default; }
.kit-select-group { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--f-fg-3, var(--f-fg)); opacity: .7; }
.kit-select-tick { flex: 0 0 auto; color: var(--f-accent-2); visibility: hidden; }
.kit-select-option[aria-selected="true"] .kit-select-tick { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .kit-select-list { animation: none; } .kit-select-caret { transition: none; } }
