/* Account messages stay with the action that produced them. */
#account-dialog .account-feedback:not(:empty){margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#eef2ff;border:1px solid #dce4ff;color:#304c99;font-size:15px;line-height:1.6;outline:none}
#account-dialog .account-feedback.is-error:not(:empty){color:#994431;background:#fff4ef;border-color:#f0d8cf}
#account-dialog .account-hint{margin-bottom:12px}
#account-dialog .legal-confirm{margin:12px 0}
#account-dialog .legal-confirm>label,#account-dialog #delete-confirm>label{display:flex;align-items:flex-start;gap:8px;line-height:1.6}
#account-dialog #delete-confirm>.delete-password{display:grid;gap:6px;font-size:13px;margin-top:12px}
#account-dialog #delete-confirm .delete-password input{box-sizing:border-box;width:100%;min-height:44px}
#account-dialog .legal-confirm input[type=checkbox],#account-dialog #delete-confirm input[type=checkbox]{appearance:auto;width:20px;height:20px;min-height:20px;max-height:20px;flex:0 0 20px;padding:0;margin:2px 0 0;border-radius:4px;accent-color:#4c63ff}
#account-dialog #delete-confirm{padding:14px;border:1px solid #eadcda;border-radius:12px;margin:10px 0}
#account-dialog #delete-confirm p{font-size:14px;line-height:1.6}
#account-dialog #delete-confirm .account-secondary{margin-top:12px}
#account-dialog input:not([type=checkbox]){font-size:16px}
.account-sheet .social-account{margin:12px 0 20px;padding-bottom:16px;border-bottom:1px solid #e3e7f0}
.account-sheet .social-account[hidden]{display:none}
.account-sheet .social-account>strong{display:block;font-size:14px;margin-bottom:10px}
.account-sheet .social-account>strong[hidden]{display:none}
.account-sheet .social-account-actions{display:grid;gap:10px}
.account-sheet .social-account-actions button{flex:1;min-width:0;min-height:44px;font-size:16px;margin:0}
.social-provider{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:12px;padding:4px 12px}
.social-provider img{flex:none;width:40px;height:40px;object-fit:contain}
.social-provider[data-provider="apple.com"] img{width:20px;height:24px;margin:8px 10px}
.social-provider:disabled{opacity:.55}
.account-sheet .social-account .account-hint{font-size:13px;line-height:1.5;margin:10px 0 0}
.account-sheet .account-email-options{margin:12px 0}
.account-sheet .account-email-options[hidden]{display:none}
.account-sheet .account-email-options>summary{cursor:pointer;color:#4059a8;font-size:14px;font-weight:600;padding:12px 0}
