/* A shared control for every single-choice menu in the glass app. */
.app-select{position:relative;display:inline-flex;vertical-align:middle;width:100%;min-width:0;flex:1 1 auto}
select.app-select-native{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0;pointer-events:none}
button.app-select-trigger{font:inherit;font-size:13px;line-height:1.8;color:#f1f7f5;text-align:start;direction:rtl;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:48px;margin:0;padding:11px 15px;border:1px solid #b4d7d52b;border-radius:14px;background:linear-gradient(125deg,#15303970,#04151bc7);box-shadow:inset 0 1px 0 #e7fff908;cursor:pointer;outline:none;transition:border-color 140ms ease,background 140ms ease,box-shadow 140ms ease}
.app-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-select-chevron{width:16px;height:16px;flex:none;background:#93b6b5;mask:url("../icons/chevron-down.6d2c8da1ccbf.svg") center/contain no-repeat;transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.app-select-trigger[aria-expanded=true] .app-select-chevron{transform:rotate(180deg);background:#6fe5d3}
.app-select-trigger:focus-visible,.app-select-trigger[aria-expanded=true]{border-color:#53c9bc;box-shadow:0 0 0 3px #3ad2be19,inset 0 1px 0 #dcfff510}
.app-select-trigger.is-placeholder{color:#a3bcbf}
.app-select-trigger[aria-invalid=true],.has-error .app-select-trigger{border-color:#f59578}
.app-select-trigger:disabled{opacity:.5;cursor:not-allowed}
.app-select-popup{position:fixed;inset:auto;margin:0;padding:7px;border:1px solid #aacfc735;border-radius:18px;background:linear-gradient(135deg,#19363eea,#071b22f7 85%);color:#edf6f3;box-shadow:0 18px 50px #0006,inset 0 1px 0 #e5fff20c;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);font-family:inherit;direction:rtl;z-index:10000;max-width:calc(100vw - 24px);overflow:hidden;transform-origin:top right;box-sizing:border-box;color-scheme:dark}
.app-select-popup[hidden]{display:none!important}
.app-select-popup[data-side=above]{transform-origin:bottom right}
.app-select-list{position:relative;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8dbbad45 transparent;scroll-behavior:auto;max-height:320px;padding:1px}
.app-select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:10px 12px;font-size:13px;line-height:1.8;border:1px solid transparent;border-radius:11px;cursor:pointer;user-select:none;text-align:right}
.app-select-option + .app-select-option{margin-top:6px}
.app-select-option>span:first-child{overflow-wrap:anywhere;min-width:0}
.app-select-option[aria-selected=true]{background:#32c8b414;color:#89efda}
.app-select-option.is-highlighted{background:#bbf0e415;border-color:#b9ead023}
.app-select-check{width:18px;height:18px;flex:none;background:currentColor;mask:url("../icons/check.80559b9656e1.svg") center/contain no-repeat;opacity:0}
.app-select-option[aria-selected=true] .app-select-check{opacity:1}
.app-select-option[aria-disabled=true]{opacity:.38;cursor:not-allowed}
.app-select-group{padding:10px 12px 5px;color:#9ab7b6;font-size:11px}
.app-select-search{display:block;width:100%;min-height:44px;box-sizing:border-box;margin:0 0 7px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--lg-surface);color:var(--text);font:inherit;font-size:16px;outline-offset:2px}
.app-select-empty{margin:0;padding:12px;font-size:13px;color:var(--muted)}
.app-select-empty[hidden]{display:none!important}
.filter-bar>.app-select,.calendar-toolbar .app-select{width:auto;flex:0 1 220px;min-width:140px}
.select-filter>.app-select{width:200px;flex:1 1 150px}
.auth-form .app-select-trigger{min-height:50px}
@media(hover:hover) and (pointer:fine){
  .app-select-trigger:hover:not(:disabled){border-color:#b4d7d55c;background:#102d35dd}
  .app-select-option:hover:not([aria-disabled=true]){background:#c3f4e71c;border-color:#c5f7e625}
}
@media(max-width:760px){
  button.app-select-trigger{min-height:52px;font-size:16px;padding:12px 14px;border-radius:15px}
  .auth-form button.app-select-trigger{min-height:56px}
  .app-select-option{min-height:49px;font-size:15px;padding:11px 13px}
  .filter-bar>.app-select,.calendar-toolbar .app-select,.select-filter>.app-select{width:100%;min-width:0;flex:1 1 160px}
}
