/* Native controls remain the form state; selects.js supplies the visible combobox. */
input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:22px!important;height:22px!important;min-width:22px;flex:0 0 22px;margin:0;border:1px solid #596448!important;border-radius:7px!important;background:linear-gradient(145deg,#262b27,#151a18)!important;display:inline-grid!important;place-content:center;cursor:pointer;vertical-align:middle;box-shadow:inset 0 1px #ffffff0c;transition:background .15s,border-color .15s,box-shadow .15s}
input[type=checkbox]::after{content:'';width:10px;height:6px;border:solid #15200a;border-width:0 0 2.5px 2.5px;transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform .12s}
input[type=checkbox]:checked{background:#b9ee4b!important;border-color:#c7f66e!important;box-shadow:0 0 14px #b9ee4b24}input[type=checkbox]:checked::after{transform:translateY(-1px) rotate(-45deg) scale(1)}
input[type=checkbox]:focus-visible,select:focus-visible{outline:2px solid #b9ee4b!important;outline-offset:4px}input[type=checkbox]:disabled{opacity:.4;cursor:not-allowed}
select{appearance:none!important;-webkit-appearance:none!important;color:#edf1e9!important;background-color:#1a211d!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23b9ee4b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-size:18px!important;background-repeat:no-repeat!important;padding:11px 39px 11px 14px!important;border:1px solid #394436!important;border-radius:10px!important;min-height:44px;cursor:pointer;box-shadow:inset 0 1px #ffffff06;transition:border-color .15s,background-color .15s;font:inherit;font-size:12px;max-width:100%}
select:hover{border-color:#728559!important;background-color:#222b24!important}select option{background:#1b211e;color:#edf1e9;padding:10px}select:disabled{opacity:.5;cursor:not-allowed}
.section-nav{flex-wrap:wrap;gap:0 8px}.section-nav .nav-note{display:none}.nav-button{min-height:56px;white-space:nowrap;font-size:12px;padding-inline:12px}.batch-result-heading{flex-wrap:wrap}.inventory-toolbar{gap:12px}.turbo-option{cursor:pointer;gap:9px}.turbo-option:has(input:checked){color:#c8f586}
@media(max-width:700px){.section-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.nav-button{flex:0 0 auto}.inventory-toolbar .button{flex:1;min-width:135px}.batch-result-heading>.button{width:100%}}
@media(prefers-reduced-motion:reduce){input[type=checkbox],input[type=checkbox]::after,select{transition:none}}

/* Custom select popups live in the nearest dialog, with Popover top-layer support. */
select[data-apex-select-native][hidden]{display:none!important}
.apex-select{position:relative;display:inline-flex;vertical-align:middle;max-width:100%;min-width:0;flex-shrink:1}
.apex-select-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.apex-select-trigger{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:17px;width:100%;min-width:145px;max-width:100%;min-height:44px;margin:0;padding:11px 13px 11px 15px;border:1px solid #455637;border-radius:11px;background:linear-gradient(135deg,#273420,#1b2717);box-shadow:inset 0 1px #ffffff09;color:#dce8d1;font:inherit;font-size:12px;line-height:1.4;font-weight:500;letter-spacing:0;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.apex-select-trigger:hover:not(:disabled){border-color:#879f5d;background:linear-gradient(135deg,#304027,#22321c)}
.apex-select-trigger:focus-visible{outline:2px solid #b9ee4b;outline-offset:4px}
.apex-select-trigger:disabled{opacity:.45;cursor:not-allowed}
.apex-select-trigger[aria-invalid=true]{border-color:#e6a875}
.apex-select-trigger[aria-expanded=true]{border-color:#a0c86a;background:#2b3d21;box-shadow:0 0 0 3px #b9ee4b10}
.apex-select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.apex-select-chevron{flex:none;width:8px;height:8px;margin:-4px 3px 0 0;border-right:1.8px solid #bddb91;border-bottom:1.8px solid #bddb91;transform:rotate(45deg);transition:transform .15s,margin .15s}
.apex-select-trigger[aria-expanded=true] .apex-select-chevron{transform:rotate(225deg);margin-top:4px}
.apex-select-popup{position:fixed;inset:auto;z-index:10000;display:block;box-sizing:border-box;margin:0;padding:6px;max-width:calc(100vw - 20px);max-height:340px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#69844e #1b2817;background:linear-gradient(145deg,#26351f,#182514);border:1px solid #647e47;border-radius:13px;box-shadow:0 15px 45px #050b05a6,0 2px 8px #0005,inset 0 1px #ffffff0b;color:#dfead6;font-family:inherit;font-size:12px;line-height:1.5;outline:0;isolation:isolate;user-select:none;-webkit-tap-highlight-color:transparent}
.apex-select-popup[hidden]{display:none!important}
.apex-select-popup::backdrop{background:transparent;pointer-events:none}
.apex-select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:39px;padding:9px 11px;box-sizing:border-box;border:1px solid transparent;border-radius:8px;cursor:pointer;outline:0;transition:background .12s,border-color .12s,color .12s}
.apex-select-option+.apex-select-option{margin-top:2px}
.apex-select-option.is-active:not([aria-disabled=true]),.apex-select-option:hover:not([aria-disabled=true]){background:#3b512c;border-color:#688748;color:#f1f7e9}
.apex-select-option[aria-selected=true]{background:#344b24;color:#d4efa9}
.apex-select-option[aria-selected=true].is-active{background:#435d2e;border-color:#8bb750}
.apex-select-option[aria-disabled=true]{opacity:.38;cursor:not-allowed}
.apex-select-option-label{min-width:0;overflow-wrap:anywhere}
.apex-select-check{flex:none;width:17px;color:#c7ed8e;text-align:center;font-size:15px;font-weight:750;opacity:0}
.apex-select-option[aria-selected=true] .apex-select-check{opacity:1}
.apex-select-group{padding:9px 11px 5px;color:#91a77b;font-size:9px;font-weight:650;letter-spacing:.09em;text-transform:uppercase}
.apex-select-empty{padding:12px;color:#9daf8d;font-size:11px}
.exchange-market-filters>.apex-select,.builder-filters>.apex-select{max-width:100%}
.inventory-toolbar>label>.apex-select{margin-left:6px}
.sort-field .apex-select-trigger{min-width:155px}
@media(max-width:700px){.apex-select-trigger{min-height:42px;font-size:11px;padding:10px 11px;gap:12px;min-width:128px}.sort-field .apex-select{max-width:155px}.sort-field .apex-select-trigger{min-width:128px}.apex-select-popup{font-size:12px}.apex-select-option{min-height:43px}.inventory-toolbar .apex-select{max-width:100%}}
@media(prefers-reduced-motion:reduce){.apex-select-trigger,.apex-select-chevron,.apex-select-option{transition:none}}
