.account-security-row + .account-security-row { margin-top: 24px; padding-top: 24px; border-top: 1px solid #ededed; }
.password-dialog-open { overflow: hidden; }
.password-dialog { box-sizing: border-box; width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid #e4e4e4; border-radius: 16px; color: #1b1b1b; background: #fff; box-shadow: 0 12px 60px #0002; font-family: inherit; overscroll-behavior: contain; }
.password-dialog::backdrop { background: #0005; }
.password-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.password-dialog-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.6px; }
.password-close { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; margin: -8px -10px -8px 0; border: 0; border-radius: 50%; background: transparent; color: #353535; font: inherit; font-size: 28px; cursor: pointer; }
.password-close:hover { background: #f2f2f2; }
#password-description { margin: 18px 0; color: #686868; font-size: 14px; line-height: 1.5; }
.password-form { display: grid; gap: 10px; margin-top: 24px; }
.password-form > label { font-size: 13px; font-weight: 600; }
.password-form > input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 7px; background: #fff; color: #1b1b1b; font: inherit; font-size: 16px; }
#password-hint { margin: -10px 0 10px; color: #686868; font-size: 12px; }
.password-reset { justify-self: start; min-height: 44px; margin: -12px 0 8px; padding: 8px 0; border: 0; background: transparent; color: #555; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.password-form .password-show { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; cursor: pointer; }
.password-show input { width: 18px; height: 18px; margin: 0; accent-color: #202020; }
.password-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.password-primary, .password-secondary { min-height: 44px; padding: 11px 17px; border: 1px solid #d9d9d9; border-radius: 8px; background: #fff; color: #1b1b1b; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.password-primary { background: #202020; border-color: #202020; color: #fff; }
.password-secondary:hover { background: #f4f4f4; }
.password-primary:hover { background: #353535; }
.password-dialog button:disabled { opacity: .55; cursor: wait; }
.password-dialog :focus-visible { outline: 2px solid #006aff; outline-offset: 3px; }
.password-error, .password-notice { margin: 16px 0; padding: 12px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.password-error { background: #fff1f0; color: #9c2222; }
.password-notice { background: #f0f6f0; color: #2e5732; }
@media (max-width: 600px) { .password-dialog { padding: 24px 20px; } }
