/* v78 自助修改密码 */
.pw-card{display:flex;align-items:center;gap:14px;margin:6px 0 18px;padding:14px 16px;border-radius:16px;border:1px solid rgba(132,89,111,.18);border:1px solid color-mix(in srgb,var(--green,#84596f) 22%,transparent);background:rgba(132,89,111,.06);background:color-mix(in srgb,var(--green,#84596f) 7%,transparent)}
.pw-card-icon{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#fff;background:#84596f;background:var(--green,#84596f)}
.pw-card-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.pw-card-text strong{font-size:15px}
.pw-card-text span{font-size:12.5px;opacity:.72}
.pw-card>button{flex:0 0 auto;white-space:nowrap}

dialog#passwordDialog{width:min(440px,calc(100vw - 24px));max-width:min(440px,calc(100vw - 24px))}
.pw-form{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.pw-field{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13.5px}
.pw-input{position:relative;display:block}
.pw-input input{width:100%;box-sizing:border-box;padding-right:46px!important;font-size:16px}
.pw-eye{position:absolute;top:50%;right:4px;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;opacity:.55;cursor:pointer;box-shadow:none}
.pw-eye:hover,.pw-eye.is-on{opacity:1;color:#84596f;color:var(--green,#84596f)}
.pw-hint{min-height:0;font-weight:500;font-size:12px;color:#c0392b}
.pw-hint:empty{display:none}
.pw-rules{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none}
.pw-rules li{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:12px;background:rgba(0,0,0,.05);opacity:.75;transition:background .2s,color .2s,opacity .2s}
.pw-rules li::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45}
.pw-rules li.ok{opacity:1;color:#1f7a4d;background:rgba(31,122,77,.12)}
.pw-rules li.ok::before{content:'✓';width:auto;height:auto;background:none;opacity:1;font-weight:700}
.pw-rules li.bad{opacity:1;color:#c0392b;background:rgba(192,57,43,.1)}
.pw-effect{margin:0;font-size:12.5px;opacity:.72}
.pw-form .error:empty{display:none}
.pw-form .action-row{display:flex;justify-content:flex-end;gap:10px}
.pw-form #savePassword:disabled{opacity:.5;cursor:not-allowed}
.pw-forgot{margin:2px 0 0;text-align:center;font-size:12px;opacity:.6}

.pw-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:14px;padding:11px 14px;border:1px dashed rgba(132,89,111,.35);border:1px dashed color-mix(in srgb,var(--green,#84596f) 40%,transparent);border-radius:12px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer;box-shadow:none}
.pw-switch span{opacity:.7}
.pw-switch strong{color:#84596f;color:var(--green,#84596f)}
.pw-switch:hover{background:rgba(132,89,111,.06);background:color-mix(in srgb,var(--green,#84596f) 7%,transparent)}

@media (max-width:700px){
 .pw-card{flex-wrap:wrap;padding:13px 14px}
 .pw-card>button{flex:1 1 100%;min-height:42px}
 .pw-form .action-row>button{flex:1 1 0;min-height:44px}
}
