/* SmartTalaba select (st-select.js). Faqat dizayn tokenlari; blur yo'q. */
.st-select{position:relative;width:100%;min-width:0}
/* Asl select joyida qoladi (validatsiya pufakchasi va testlar uchun), lekin ko'rinmaydi. */
.st-select-native{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important;margin:0;padding:0;opacity:0;pointer-events:none}
.st-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 12px 10px 14px;border:1px solid var(--st-line);border-radius:var(--st-radius-control,12px);background:var(--st-surface-raised);color:var(--st-text);font:inherit;font-size:16px;line-height:1.3;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.st-select-trigger:hover{border-color:color-mix(in srgb,var(--st-accent) 45%,var(--st-line))}
.st-select-trigger:focus-visible,.st-select.is-open .st-select-trigger{outline:none;border-color:var(--st-accent);box-shadow:0 0 0 3px var(--st-accent-soft)}
.st-select-trigger:disabled{opacity:.55;cursor:not-allowed}
.st-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-select.is-placeholder .st-select-value{color:var(--st-muted)}
.st-select-chevron{flex-shrink:0;width:18px;height:18px;fill:none;stroke:var(--st-muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.st-select.is-open .st-select-chevron{transform:rotate(180deg);stroke:var(--st-accent)}

.st-select-list{outline:none}
.st-select-pop{position:fixed;z-index:1000;max-width:min(420px,calc(100vw - 16px));padding:6px;overflow:auto;border:1px solid var(--st-line);border-radius:16px;background:var(--st-surface);color:var(--st-text);box-shadow:0 18px 50px rgba(15,23,42,.18),0 2px 8px rgba(15,23,42,.08);animation:st-select-pop .14s ease-out;transform-origin:top center}
.st-select-pop.is-above{transform-origin:bottom center}
.st-select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:9px 12px;border-radius:11px;font-size:15px;cursor:pointer;user-select:none}
.st-select-option.is-active{background:var(--st-surface-raised)}
.st-select-option[aria-selected=true]{color:var(--st-accent);font-weight:600}
.st-select-option[aria-disabled=true]{opacity:.45;cursor:not-allowed}
.st-select-check{flex-shrink:0;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.st-select-option[aria-selected=true] .st-select-check{opacity:1}

/* Telefon: pastdan chiqadigan varaq. */
.st-select-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(9,15,30,.45);animation:st-select-fade .18s ease-out}
.st-select-sheet{position:fixed;left:0;right:0;bottom:0;z-index:1001;max-height:72vh;display:flex;flex-direction:column;padding:8px 12px calc(14px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;background:var(--st-surface);color:var(--st-text);box-shadow:0 -12px 40px rgba(15,23,42,.22);animation:st-select-sheet .22s cubic-bezier(.2,.8,.2,1)}
.st-select-handle{display:block;width:40px;height:4px;margin:2px auto 10px;border-radius:4px;background:var(--st-line)}
.st-select-title{margin:0 8px 8px;font-size:13px;font-weight:650;color:var(--st-muted);letter-spacing:.2px}
.st-select-sheet .st-select-list{overflow:auto}
.st-select-sheet .st-select-option{min-height:52px;font-size:16px;padding:12px 14px;border-radius:14px}

@keyframes st-select-pop{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
@keyframes st-select-fade{from{opacity:0}to{opacity:1}}
@keyframes st-select-sheet{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.st-select-pop,.st-select-backdrop,.st-select-sheet{animation:none}.st-select-chevron{transition:none}}
html.assistant-reduce-motion .st-select-pop,html.assistant-reduce-motion .st-select-backdrop,html.assistant-reduce-motion .st-select-sheet{animation:none}
