.fc-select {
    --fc-select-paper: #fffcf5;
    --fc-select-ink: #463221;
    --fc-select-line: #d5bd96;
    --fc-select-gold: #a67936;
    display: inline-block;
    position: relative;
    width: 100%;
    min-width: 0;
    vertical-align: middle;
}
.fc-select[hidden] { display: none !important; }

.fc-select select.fc-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    pointer-events: none;
}

.fc-select .fc-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid var(--fc-select-line);
    border-radius: 4px;
    background: var(--fc-select-paper);
    color: var(--fc-select-ink);
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    cursor: pointer;
    box-shadow: inset 0 1px #fffefa;
}

.fc-select .fc-select__trigger:hover:not(:disabled) { border-color: #b28a51; background: #fff9ed; }
.fc-select .fc-select__trigger[aria-expanded="true"] { border-color: #aa7c37; box-shadow: 0 0 0 2px #c29b5524; }
.fc-select .fc-select__trigger:focus-visible { outline: 2px solid #a67936; outline-offset: 3px; }
.fc-select .fc-select__trigger:disabled { opacity: .58; cursor: not-allowed; }
.fc-select .fc-select__trigger[aria-invalid="true"] { border-color: #a64936; }
.fc-select__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-select__chevron {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin: -3px 2px 0 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.fc-select__trigger[aria-expanded="true"] .fc-select__chevron { margin-top: 4px; transform: rotate(225deg); }
.fc-select__error { display: block; margin-top: 6px; color: #9c352b; font-size: 12px; font-weight: 500; line-height: 1.5; }
.fc-select__error[hidden], .fc-select__listbox[hidden] { display: none !important; }
.fc-select__listbox {
    box-sizing: border-box;
    position: fixed;
    z-index: 10020;
    max-width: calc(100vw - 20px);
    min-height: 0;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #ceb285;
    border-radius: 7px;
    background: #fffcf5;
    color: #463221;
    box-shadow: 0 13px 35px -10px #3e281e38, 0 2px 6px #3e281e0d;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
    scrollbar-color: #c9ae83 #fcf5e9;
    scrollbar-width: thin;
}
.fc-select__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding: 10px 11px;
    border-radius: 3px;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.fc-select__option-label { min-width: 0; }
.fc-select__option[aria-selected="true"] { color: #6a471d; background: #f4e9d2; font-weight: 600; }
.fc-select__option.is-active:not([aria-disabled="true"]) { color: #3c2816; background: #ecdbb7; box-shadow: inset 2px 0 #ac7e36; }
.fc-select__option[aria-disabled="true"] { color: #927f67; opacity: .65; cursor: not-allowed; }
.fc-select__check { flex: 0 0 14px; color: #8d6229; visibility: hidden; }
.fc-select__option[aria-selected="true"] .fc-select__check { visibility: visible; }
.fc-select__group { padding: 10px 11px 4px; color: #8a6841; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.sort-control .fc-select { display: inline-block; width: 176px; }
.filter-group .fc-select .fc-select__trigger { font-size: 12px; }
.bulk-controls .fc-select .fc-select__trigger { font-size: 13px; }

@media (max-width: 780px) {
    .sort-control .fc-select { width: min(176px, 42vw); }
}
@media (prefers-reduced-motion: no-preference) {
    .fc-select .fc-select__trigger { transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
    .fc-select__listbox { animation: fc-select-open 140ms ease-out; }
    @keyframes fc-select-open { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
}
