:root { --select-radius: 10px; --select-menu-radius: 14px; --select-surface: #211e2b; --select-option: #2b2537; }
.ep-select { position: relative; display: block; min-width: 0; max-width: 100%; width: 100%; }
.ep-select > select.ep-select-native { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; clip-path: inset(50%); overflow: hidden; white-space: nowrap; pointer-events: none; }
.ep-select-button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-width: 0; min-height: 44px; padding: 11px 13px; border: 1px solid var(--line-color); border-radius: var(--select-radius); color: var(--text-color); background: var(--select-surface); font: inherit; font-size: .85rem; text-align: left; cursor: pointer; transition: border-color var(--motion-fast), background var(--motion-fast), box-shadow var(--motion-fast); }
.ep-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-select-button > i { color: var(--text-muted); font-size: .65rem; flex: 0 0 auto; transition: transform var(--motion-standard) var(--motion-ease); }
.ep-select-button:hover, .ep-select-button[aria-expanded="true"] { border-color: var(--accent-color); background: var(--select-option); }
.ep-select-button[aria-expanded="true"] > i { transform: rotate(180deg); }
.ep-select-button:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
.ep-select-button:active { background: var(--accent-soft); }
.ep-select-button:disabled { opacity: .5; cursor: not-allowed; }
.ep-select-button[aria-invalid="true"] { border-color: var(--danger); }
.ep-select-popup { position: fixed; z-index: 1150; box-sizing: border-box; padding: 6px; border: 1px solid var(--line-color); border-radius: var(--select-menu-radius); background: var(--select-surface); color: var(--text-color); box-shadow: 0 14px 36px #0006; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ep-select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .83rem; line-height: 1.4; transition: background var(--motion-fast), color var(--motion-fast); }
.ep-select-option > span { min-width: 0; overflow-wrap: anywhere; }
.ep-select-option > i { color: var(--accent-color); font-size: .75rem; visibility: hidden; flex: 0 0 auto; }
.ep-select-option[aria-selected="true"] > i { visibility: visible; }
.ep-select-option[aria-selected="true"] { color: #d3c5ff; }
.ep-select-option.is-active, .ep-select-option:hover { background: var(--accent-soft); }
.ep-select-option[aria-disabled="true"] { opacity: .4; cursor: not-allowed; background: transparent; }
.ep-select-group { padding: 12px 12px 6px; color: var(--text-muted); font-size: .7rem; font-weight: 700; }
.mp-source-control .ep-select { width: 220px; }
.mp-source-control .ep-select-button { font-size: .77rem; }
@media (max-width: 768px) { .mp-source-control .ep-select { flex: 1 1 0; width: 0; min-width: 0; } }
