.account-picker { min-width: 0; margin-bottom: 18px; }
.account-picker > label { margin-bottom: 8px; }
.account-picker-query { position: relative; }
.account-picker-options { position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 90; max-height: 240px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-alt); box-shadow: var(--raised-shadow); animation: account-picker-open 160ms ease-out; }
.account-picker-options[hidden], .account-picker-selected[hidden] { display: none; }
.account-picker-options button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 0; border-radius: 8px; color: var(--text); text-align: left; background: transparent; overflow-wrap: anywhere; }
.account-picker-options button:hover, .account-picker-options button[aria-selected=true] { background: var(--accent-soft); }
.account-picker-avatar { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--muted); font-size: 11px; font-weight: 650; }
.account-picker-selected { display: flex; flex-wrap: wrap; gap: 7px; max-height: 164px; overflow-y: auto; margin-bottom: 9px; }
.account-picker-tag { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--accent-soft); }
.account-picker-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-picker-tag button { width: 26px; height: 26px; flex: 0 0 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 19px; }
.account-picker-tag button:hover { color: var(--text); background: var(--accent-soft); }
.account-picker-message { padding: 12px; color: var(--muted); font-size: 12px; }
.account-picker-options.is-above { top: auto; bottom: calc(100% + 6px); }
@keyframes account-picker-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .account-picker-options { animation: none; } }
.account-picker-single [role=combobox] { padding-right: 36px; }
.account-picker-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
