.account-password-entry { width: 100%; border: 0; cursor: pointer; font: inherit; text-align: left; background: transparent; color: inherit; }
.account-password-mask { position: fixed; inset: 0; z-index: 1800; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }
.account-password-dialog { box-sizing: border-box; width: min(430px,100%); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid rgba(127,127,127,.2); border-radius: 20px; padding: 22px; background: #fff; color: #101114; box-shadow: 0 24px 70px rgba(0,0,0,.3); font: inherit; }
[data-theme="dark"] .account-password-dialog { background: #17191d; color: #f5f6f7; border-color: rgba(255,255,255,.12); }
.account-password-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-password-heading h2 { margin: 0; font-size: 21px; line-height: 1.3; }
.account-password-heading p { margin: 7px 0 0; color: #777d87; font-size: 13px; line-height: 1.5; }
.account-password-close { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(127,127,127,.13); color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.account-password-form { display: grid; gap: 14px; margin-top: 20px; }
.account-password-field { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
.account-password-field input { box-sizing: border-box; width: 100%; height: 46px; border: 1px solid #d9dce2; border-radius: 11px; padding: 0 13px; outline: none; background: #fff; color: #101114; font: inherit; }
.account-password-field input:focus { border-color: #2e82ff; box-shadow: 0 0 0 3px rgba(46,130,255,.15); }
[data-theme="dark"] .account-password-field input { border-color: #3b3f47; background: #22252b; color: #f5f6f7; }
.account-password-hint { margin: -3px 0 0; color: #777d87; font-size: 12px; line-height: 1.5; }
.account-password-status { min-height: 20px; margin: 0; font-size: 13px; line-height: 1.5; }
.account-password-status[data-kind="error"] { color: #d9363e; }
.account-password-status[data-kind="success"] { color: #0a9b60; }
.account-password-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; margin-top: 2px; }
.account-password-actions button { height: 46px; border-radius: 11px; font: inherit; font-weight: 700; cursor: pointer; }
.account-password-cancel { border: 1px solid #d9dce2; background: transparent; color: inherit; }
.account-password-submit { border: 0; background: #2e82ff; color: #fff; }
.account-password-actions button:disabled, .account-password-close:disabled { cursor: wait; opacity: .6; }
@media (max-width: 640px) {
  .account-password-mask { place-items: end center; padding: 0; }
  .account-password-dialog { width: 100%; max-height: min(88dvh,720px); border-radius: 22px 22px 0 0; padding: 20px max(18px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left)); }
}
