.custom-select { position:relative; width:100%; min-width:0; }
select.custom-select-native { position:absolute!important; left:0!important; top:0!important; width:1px!important; height:1px!important; min-width:0!important; min-height:0!important; padding:0!important; border:0!important; opacity:0!important; pointer-events:none!important; }
.custom-select > input.custom-select-input { width:100%; max-width:100%; min-width:0; height:var(--select-height,48px); min-height:var(--select-height,48px)!important; margin:0; padding:10px 48px 10px 16px!important; text-overflow:ellipsis; cursor:pointer; }
.custom-select[data-open] > input { cursor:text; }
.custom-select-toggle { pointer-events:none; position:absolute; right:5px; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:36px; height:36px; min-width:36px; min-height:36px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--pv-secondary); }
.custom-select-toggle:hover:not(:disabled) { background:var(--pv-muted); }
.custom-select[data-open] .custom-select-toggle svg { transform:rotate(180deg); }
.custom-select:has(input:disabled) .custom-select-toggle { cursor:not-allowed; color:var(--pv-disabled-fg); }
.custom-select-popup { position:fixed; inset:auto; margin:0; box-sizing:border-box; z-index:120; overflow:auto; padding:6px; border:1px solid var(--pv-border); border-radius:14px; background:var(--pv-raised); color:var(--pv-text); box-shadow:0 10px 32px #0002; overscroll-behavior:contain; font:400 14px/20px var(--pv-font-sans); }
.custom-select-popup::backdrop { background:transparent; pointer-events:none; }
.custom-select-hint { padding:8px 10px; font-size:12px; line-height:18px; color:var(--pv-secondary); }
.custom-select-group { margin:0 0 4px; padding:6px 10px; border-radius:6px; background:var(--pv-muted); color:var(--pv-secondary); font-size:11px; line-height:16px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; overflow-wrap:anywhere; }
.custom-select-popup [role=group] + [role=group] { margin-top:10px; padding-top:10px; border-top:1px solid var(--pv-border); }
.custom-select-popup [role=group] > [role=option] { margin-left:8px; }
.custom-select-popup [role=option] { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:10px 12px; border-radius:8px; cursor:pointer; overflow-wrap:anywhere; }
.custom-select-popup [role=option][aria-selected=true] { color:var(--pv-selection-fg); background:var(--pv-selection-bg); font-weight:600; }
.custom-select-popup [role=option][data-active] { outline:2px solid var(--pv-focus); outline-offset:-2px; }
.custom-select-popup [role=option]:hover:not([aria-disabled=true]) { background:var(--pv-muted); }
.custom-select-popup [role=option][aria-disabled=true] { color:var(--pv-disabled-fg); background:var(--pv-disabled-bg); cursor:not-allowed; }
.custom-select-check { display:flex; flex:none; }
@media(max-width:640px) { .custom-select > input.custom-select-input { font-size:16px; } }
@media(prefers-reduced-motion:no-preference) { .custom-select-toggle svg { transition:transform var(--pv-motion-standard,200ms) ease; } }

@media print { .custom-select-popup { display:none!important; } }
