/* Shared account interface additions. Load after your existing styles.css. */
#account-dialog .form-stack > label {display:flex; flex-direction:column; gap:6px; margin:0; padding:0; font-size:14px; font-weight:600; line-height:1.5;}
#account-dialog .form-stack > label > span {margin:0; padding:0;}
#account-dialog .form-stack > label > input {margin:0; width:100%; box-sizing:border-box;}
#dialog-actions:empty {display:none;}
.recover-link {display:block; width:fit-content; margin:0 auto; padding:4px 8px; color:var(--muted); font-size:13px; font-weight:500; text-align:center; text-decoration:none; border-radius:6px;}
.recover-link:hover {color:var(--text); text-decoration:underline;}
.recover-link:focus-visible {outline:2px solid currentColor; outline-offset:3px;}
#toast {position:fixed; inset:auto!important; top:var(--toast-top,calc(var(--header,72px) + 16px))!important; left:50%!important; margin:0!important; translate:-50% 0; width:max-content; max-width:calc(100vw - 32px); box-sizing:border-box; text-align:center; pointer-events:none; z-index:99999; animation:shared-toast-in .25s ease-out;}
#toast::backdrop {background:transparent; backdrop-filter:none;}
@keyframes shared-toast-in {from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
#toast[data-type="error"] {background:#fef2f2;color:#b91c1c;border:1px solid #fca5a5;border-left:4px solid #dc2626;}
#toast[data-type="success"] {background:#f0fdf4;color:#15803d;border:1px solid #86efac;border-left:4px solid #16a34a;}
#toast[data-type="warning"] {background:#fffbeb;color:#92400e;border:1px solid #fcd34d;border-left:4px solid #d97706;}
#toast[data-type="information"] {background:#eff6ff;color:#1d4ed8;border:1px solid #93c5fd;border-left:4px solid #2563eb;}
@media(prefers-reduced-motion:reduce){#toast{animation:none;}}
