/* Self-service account deletion stays separate from editing and global moderation. */
.settings-icon .dropdown-menu .profile-account-delete-action,
.settings-icon .dropdown-menu .profile-account-delete-action i { color: #b84949; }
.settings-icon .dropdown-menu .profile-account-delete-action:hover { background: #fcf1f1; color: #9d3333; }
.account-delete-dialog,
.account-delete-card { box-sizing: border-box; color: #303640; background: #fff; font-family: inherit; font-size: 13px; line-height: 1.6; }
.account-delete-dialog { position: fixed; width: min(430px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); margin: auto; padding: 20px; border: 1px solid #e1e5ea; border-radius: 12px; box-shadow: 0 22px 70px #11182725; overflow-y: auto; overscroll-behavior: contain; }
.account-delete-dialog:not([open]) { display: none; }
.account-delete-dialog::backdrop { background: #11182770; }
.account-delete-dialog [hidden] { display: none !important; }
.account-delete-dialog form { margin: 0; }
.account-delete-dialog p,
.account-delete-card p { margin: 0 0 12px; }
.account-delete-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.account-delete-dialog__header h2 { margin: 0; color: #303640; font-size: 16px; font-weight: 500; line-height: 1.35; }
.account-delete-dialog__header h2:focus { outline: none; }
.account-delete-close { display: inline-grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; margin: -3px -3px -3px 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #8b929d; cursor: pointer; }
.account-delete-close:hover { color: #303640; background: #f0f2f5; }
.account-delete-dialog__question { color: #525a66; font-weight: 500; }
.account-delete-dialog .account-delete-policy,
.account-delete-card .account-delete-policy { padding: 11px 12px; border: 1px solid #e8e9ed; border-radius: 8px; background: #f8f9fb; color: #69717c; font-size: 12px; line-height: 1.65; }
.account-delete-email { font-weight: 500; overflow-wrap: anywhere; }
.account-delete-note { color: #8a929e; font-size: 11px; }
.account-delete-feedback { margin: 12px 0; padding: 10px 12px; border: 1px solid #f0d7d7; border-radius: 8px; background: #fff7f7; color: #a64343; font-size: 12px; }
.account-delete-feedback p { margin: 0; }
.account-delete-feedback ul { margin: 7px 0 0; padding-left: 18px; }
.account-delete-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.account-delete-dialog footer.account-delete-actions { padding: 0; border: 0; background: transparent; color: inherit; }
.account-delete-button { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; margin: 0; padding: 7px 13px; border: 1px solid #dce1e8; border-radius: 7px; background: #f7f8fa; color: #5e6876; font-family: inherit; font-size: 12px !important; font-weight: 400; line-height: 1.45; text-align: center; text-decoration: none; cursor: pointer; }
.account-delete-button:hover { color: #303640; background: #edf0f4; text-decoration: none; }
.account-delete-button--danger { border-color: #b44d4d; background: #b44d4d; color: #fff; }
.account-delete-button--danger:hover { border-color: #a54040; background: #a54040; color: #fff; }
.account-delete-button--primary { border-color: #556f90; background: #556f90; color: #fff; }
.account-delete-button--primary:hover { border-color: #405b7d; background: #405b7d; color: #fff; }
.account-delete-button:disabled { opacity: .55; cursor: wait; }
.account-delete-dialog button:focus-visible,
.account-delete-card :is(button, a, input):focus-visible { outline: 2px solid #7695bb; outline-offset: 3px; }
.account-delete-page { width: min(540px, calc(100% - 28px)); margin: 40px auto; }
.account-delete-card { padding: 27px; border: 1px solid #e1e5ea; border-radius: 12px; }
.account-delete-card h1 { margin: 0 0 17px; font-size: 21px; font-weight: 500; line-height: 1.35; }
.account-delete-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: #616a76; font-size: 12px; line-height: 1.6; cursor: pointer; }
.account-delete-consent input { flex-shrink: 0; width: 15px; height: 15px; margin: 3px 0 0; accent-color: #b44d4d; }
.account-restore-email-field { display: grid; gap: 7px; margin-top: 19px; color: #616a76; font-size: 12px; }
.account-restore-email-field input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #dce1e8; border-radius: 7px; background: #fff; color: #303640; font: inherit; }
.account-delete-page [hidden] { display: none !important; }
@media (max-width: 480px) {
  .account-delete-dialog { padding: 18px; }
  .account-delete-page { margin-top: 24px; }
  .account-delete-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .account-delete-dialog * { transition: none !important; } }
