/* Gastronix drop-down menus: styled by assets/js/gnx-select.js, one design for every <select> (owner, 2026-10-21). */
.gnx-sel { position: relative; display: block; width: 100%; }
.gnx-sel > select { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; margin: 0; }
.gnx-sel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .8rem; text-align: left; cursor: pointer;
    box-sizing: border-box; padding-right: .8rem; margin: 0; transition: border-color .2s; box-shadow: none; appearance: none; -webkit-appearance: none; }
.gnx-sel-btn:hover { border-color: #94a3b8; }
.gnx-sel-btn:focus { outline: none; }
.gnx-sel-btn:focus-visible { border-color: #0ea5e9; }
.gnx-sel-btn svg { flex: none; width: 1.05rem; height: 1.05rem; color: #64748b; margin-right: .15rem; transition: transform .18s; }
.gnx-sel-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gnx-sel-btn.is-placeholder .gnx-sel-val { color: #9ca3af; }
.gnx-sel.open .gnx-sel-btn { border-color: #0ea5e9; }
.gnx-sel.open .gnx-sel-btn svg { transform: rotate(180deg); color: #0284c7; }
.gnx-sel.is-disabled .gnx-sel-btn { opacity: .6; cursor: not-allowed; }
.gnx-sel-list { position: absolute; left: 0; right: 0; top: calc(100% + .2rem); z-index: 60; margin: 0; padding: .35rem; list-style: none; background: #fff;
    border: 1px solid #e5e7eb; box-shadow: 0 6px 14px -6px rgba(15,23,42,.28); max-height: 16rem; overflow: auto; text-align: left; }
.gnx-sel.up .gnx-sel-list { top: auto; bottom: calc(100% + .2rem); }
.gnx-sel-list[hidden] { display: none; }
.gnx-sel-list li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .8rem; border-radius: var(--gnx-sel-item-r, .3rem);
    cursor: pointer; font-size: .9rem; line-height: 1.35; color: #0f172a; margin: 0; }
.gnx-sel-list li:hover, .gnx-sel-list li.is-hl { background: #e0f2fe; }
.gnx-sel-list li[aria-selected="true"] { color: #0369a1; font-weight: 700; }
.gnx-sel-list li[aria-selected="true"]:after { content: "\2713"; color: #0ea5e9; font-weight: 800; }
.gnx-sel-list li[aria-disabled="true"] { color: #9ca3af; cursor: not-allowed; }
.gnx-sel-list li.is-group { cursor: default; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; padding: .5rem .8rem .2rem; }
.gnx-sel-list li.is-group:hover { background: transparent; }
.gnx-sel-list li.is-grouped { padding-left: 1.2rem; }
