#saved-accounts { position: fixed; z-index: 4; width: min(226px, calc(100vw - 32px)); padding: 10px 12px; color: #fff; background: #080b0cd9; border: 1px solid #93958a; border-radius: 4px; box-shadow: 0 0 0 2px #17191bd9, inset 0 0 0 1px #34383b; font: 11px Tahoma, Arial, sans-serif; text-shadow: 1px 1px #000; }
#saved-accounts button, .account-dialog button { font: inherit; cursor: pointer; }
#saved-accounts button:disabled, .account-dialog button:disabled { opacity: .5; cursor: wait; }
#saved-accounts button:focus-visible, .account-dialog button:focus-visible { outline: 1px solid #b2d8ff; outline-offset: 2px; }
.accounts-heading { position: relative; display: flex; align-items: center; justify-content: center; min-height: 20px; }
.accounts-eyebrow { display: none; }
.accounts-heading h2 { font: 12px Tahoma, Arial, sans-serif; margin: 0; color: #fff; }
.accounts-count { position: absolute; right: 0; padding: 1px 4px; color: #b7c5ce; font-size: 10px; }
.accounts-hint { margin: 7px 0; color: #c3c4c6; font-size: 10px; text-align: center; }
.accounts-list { max-height: min(240px, 40vh); overflow-y: auto; display: grid; gap: 3px; scrollbar-color: #687b89 #12191e; }
.account-row { display: flex; align-items: center; padding: 3px 4px; border: 1px solid #39454e; border-radius: 2px; background: #10191c9c; }
.account-row:hover { background: linear-gradient(#315d83cc, #183b5acc); border-color: #7d9bb5; }
.account-entry { flex: 1; min-width: 0; display: flex; align-items: center; padding: 4px 2px; text-align: left; background: transparent; border: 0; color: inherit; }
.account-avatar { display: none; }
.account-labels { overflow: hidden; }
.account-labels strong, .account-labels small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-labels strong { font-size: 11px; font-weight: normal; }
.account-labels small { margin-top: 2px; color: #adb9c2; font-size: 10px; }
.account-edit, .account-remove { width: 21px; padding: 4px 0; border: 0; background: transparent; color: #c8d4de; font-size: 15px !important; text-shadow: 1px 1px #000; }
.account-remove:hover { color: #ff9a8b; }
.accounts-add, .account-dialog footer button, .account-close { color: #fff; background: linear-gradient(#83add9 0%, #427fc1 45%, #225795 50%, #3479b7 100%); border: 1px solid #90b4d7; border-radius: 3px; box-shadow: 0 0 0 1px #0e233a, inset 0 1px #c7e4ff70; text-shadow: 1px 1px #193957; }
.accounts-add { display: block; margin: 9px auto 1px; min-height: 24px; padding: 3px 12px; font-size: 11px !important; }
.accounts-add:hover, .account-dialog footer button:hover { filter: brightness(1.15); }
.accounts-empty { font-size: 10px; line-height: 1.5; color: #b4b8bc; text-align: center; margin: 9px 0 0; }
.account-dialog { width: min(318px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; padding: 12px 16px 14px; color: #fff; border: 1px solid #93958a; border-radius: 4px; background: #101417f5; box-shadow: 0 0 0 2px #17191be6, inset 0 0 0 1px #34383b, 0 8px 26px #0008; font: 11px Tahoma, Arial, sans-serif; text-shadow: 1px 1px #000; }
.account-dialog::backdrop { background: #0007; }
.account-dialog-heading { position: relative; display: flex; align-items: center; justify-content: center; min-height: 22px; margin-bottom: 12px; }
.account-dialog h2 { margin: 0; font: 12px Tahoma, Arial, sans-serif; }
.account-close { position: absolute; right: -8px; top: -4px; width: 19px; height: 19px; padding: 0; font-size: 16px !important; }
.account-dialog label { display: block; margin-top: 11px; color: #fff; font-size: 11px; text-align: center; }
.account-dialog input { display: block; box-sizing: border-box; margin-top: 5px; width: 100%; height: 27px; border: 1px solid #0a0a0a; border-bottom-color: #53585d; border-radius: 0; padding: 4px 7px; background: #080b0edb; color: #fff; font: 12px Tahoma, Arial, sans-serif; outline: none; }
.account-dialog input:focus { border-color: #6589ad; }
.account-password { display: flex; position: relative; }
.account-password input { padding-right: 58px; }
.account-password input::-ms-reveal { display: none; }
.account-reveal { position: absolute; right: 5px; top: 8px; padding: 3px; border: 0; background: transparent; color: #b7d8f6; font-size: 10px !important; }
.account-privacy { margin: 13px 0; color: #b7bfc6; font-size: 10px; line-height: 1.5; }
.account-error { color: #ffb6a6; font-size: 11px; }
.account-dialog footer { display: flex; gap: 12px; justify-content: center; }
.account-dialog footer button { padding: 3px 10px; min-height: 24px; }
@media (max-width: 900px) { #saved-accounts { padding: 9px 10px; } .accounts-list { max-height: 20vh; } }
