/* Independent, shared glass form controls. No browser popup or native select UI. */
.fg-select-source{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important;pointer-events:none!important;border:0!important}
.fg-select{display:inline-block;max-width:100%;min-width:0;vertical-align:middle;position:relative;line-height:1.5;text-align:left;box-sizing:border-box}
.fg-select[hidden],.fg-select-menu[hidden],.fg-select-option[hidden],.fg-select-group[hidden]{display:none!important}
.fg-select-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:42px;margin:0;padding:9px 13px;border:1px solid rgba(92,126,148,.23);border-radius:12px;background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(239,247,252,.58));color:#365268;font:inherit;font-size:14px;text-align:left;line-height:1.5;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 3px 10px rgba(44,76,98,.035);cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s;-webkit-tap-highlight-color:transparent}
.fg-select-trigger:hover:not(:disabled){background:rgba(255,255,255,.92);border-color:#9ab2c4}
.fg-select-trigger:focus-visible,.fg-select-trigger[aria-expanded=true]{outline:none;border-color:#8ba9c0;box-shadow:0 0 0 3px rgba(111,153,184,.16),inset 0 1px 0 #fff}
.fg-select-trigger:disabled{opacity:.48;cursor:not-allowed}
.fg-select-trigger[aria-invalid=true]{border-color:#b17a7f}
.fg-select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fg-select-arrow{display:block;flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid #8297a7;border-bottom:1.5px solid #8297a7;transform:translateY(-2px) rotate(45deg);transition:transform .18s}
.fg-select-trigger[aria-expanded=true] .fg-select-arrow{transform:translateY(2px) rotate(225deg)}
.fg-select-menu{position:fixed;z-index:2147483000;box-sizing:border-box;max-width:calc(100vw - 24px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid rgba(255,255,255,.98);border-radius:16px;background:rgba(244,249,253,.96);box-shadow:0 14px 48px rgba(34,61,81,.2),inset 0 1px 0 #fff;backdrop-filter:blur(28px) saturate(135%);-webkit-backdrop-filter:blur(28px) saturate(135%);scrollbar-width:thin;scrollbar-color:#b6c8d6 transparent;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#3f5a6e;font-size:14px;line-height:1.5;text-align:left}
.fg-select-option{position:relative;box-sizing:border-box;min-height:38px;padding:9px 32px 9px 11px;border-radius:10px;cursor:pointer;overflow-wrap:anywhere;user-select:none}
.fg-select-option.is-active,.fg-select-option:hover:not([aria-disabled=true]){background:rgba(207,225,238,.65)}
.fg-select-option[aria-selected=true]{font-weight:600;background:rgba(208,225,237,.58);color:#274f69}
.fg-select-option[aria-selected=true]:after{content:'✓';position:absolute;right:12px;top:9px;color:#577f9a}
.fg-select-option[aria-disabled=true]{opacity:.42;cursor:not-allowed}
.fg-select-group{padding:11px 11px 5px;color:#7b8e9d;font-size:11px;font-weight:600;letter-spacing:.03em}
.fg-select-empty{padding:16px 12px;color:#8495a3;text-align:center}
.fg-select-error{display:block;color:#a15561;font-size:12px;line-height:1.6;margin-top:4px}
.fg-select-error:empty{display:none}
input[type=checkbox]:not([role=switch]),input[type=radio]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;flex:none;box-sizing:border-box;width:17px;height:17px;min-width:17px;margin:0 5px 0 0;vertical-align:-3px;padding:0;border:1px solid #97afbf;background:rgba(255,255,255,.75);border-radius:5px;box-shadow:inset 0 1px 0 #ffffff9c;cursor:pointer}
input[type=radio]{border-radius:50%}
input[type=checkbox]:not([role=switch]):checked,input[type=radio]:checked{border-color:#607f95;background:#607f95}
input[type=checkbox]:not([role=switch]):checked:after{content:'';display:block;width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
input[type=checkbox]:not([role=switch]):indeterminate:after{content:'';display:block;width:8px;height:2px;background:#607f95}
input[type=radio]:checked:after{content:'';width:7px;height:7px;border-radius:50%;background:white}
input[type=checkbox]:focus-visible,input[type=radio]:focus-visible,input[type=range]:focus-visible{outline:3px solid rgba(101,149,181,.3);outline-offset:3px}
input[type=checkbox]:disabled,input[type=radio]:disabled{opacity:.45;cursor:not-allowed}
input[type=range]{accent-color:#688aa3}
input[type=file]{max-width:100%;color:#708493;font:inherit;font-size:13px}
input[type=file]::file-selector-button{font:inherit;font-size:13px;color:#3b5b71;background:rgba(244,250,254,.9);border:1px solid rgba(97,134,159,.24);border-radius:11px;min-height:38px;padding:8px 14px;margin-right:12px;cursor:pointer;box-shadow:inset 0 1px 0 white}
html.dark .fg-select-trigger{color:#d1e1ec;background:linear-gradient(135deg,#263b4cdd,#172937cc);border-color:#546f826e;box-shadow:inset 0 1px 0 #90b4ca18}
html.dark .fg-select-trigger:hover:not(:disabled){background:#2b4254}
html.dark .fg-select-menu{color:#cdddea;background:#192b3bf5;border-color:#6b879459;box-shadow:0 14px 48px #0008,inset 0 1px 0 #b5dff311}
html.dark .fg-select-option.is-active,html.dark .fg-select-option:hover:not([aria-disabled=true]){background:#36546e}
html.dark .fg-select-option[aria-selected=true]{color:#e2f2ff;background:#345168}
html.dark .fg-select-option[aria-selected=true]:after{color:#a9cee9}
:host-context(html.dark) .fg-select-trigger{color:#d1e1ec;background:linear-gradient(135deg,#263b4cdd,#172937cc);border-color:#546f826e;box-shadow:inset 0 1px 0 #90b4ca18}
:host-context(html.dark) .fg-select-menu{color:#cdddea;background:#192b3bf5;border-color:#6b879459;box-shadow:0 14px 48px #0008,inset 0 1px 0 #b5dff311}
:host-context(html.dark) .fg-select-option.is-active,:host-context(html.dark) .fg-select-option:hover:not([aria-disabled=true]){background:#36546e}
:host-context(html.dark) .fg-select-option[aria-selected=true]{color:#e2f2ff;background:#345168}
:host-context(html.dark) .fg-select-option[aria-selected=true]:after{color:#a9cee9}
@media(max-width:600px){.fg-select-trigger{min-height:44px;font-size:15px}.fg-select-option{min-height:44px;padding-top:11px;padding-bottom:11px}.fg-select-option[aria-selected=true]:after{top:11px}.fg-select-menu{font-size:15px}}
@media(prefers-reduced-motion:reduce){.fg-select-trigger,.fg-select-arrow{transition:none}}
@media(prefers-reduced-transparency:reduce){.fg-select-menu{background:#f3f8fc;backdrop-filter:none}.fg-select-trigger{background:#f7fafc}}
