.mfg-password-field{display:block;position:relative;max-width:520px;width:100%;margin-top:6px}
.mfg-password-field input[type="password"],.mfg-password-field input[type="text"]{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:44px;padding-right:50px!important}
.mfg-password-field .mfg-eye-toggle,.mfg-gate .mfg-eye-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:6px;border:0!important;border-radius:6px;background:transparent!important;color:#273e56!important;box-shadow:none!important;cursor:pointer}
.mfg-password-field .mfg-eye-toggle:hover{background:#e8eef5!important}
.mfg-password-field .mfg-eye-toggle:focus-visible{outline:3px solid #c17812;outline-offset:1px}
.mfg-school-strength{font-weight:700;margin:8px 0}.mfg-school-strength.is-strong{color:#176b36}.mfg-school-strength.is-weak{color:#a52c1c}
.mfg-school-rules{margin:0 0 16px 6px;padding:0;list-style:none}.mfg-school-rules li{margin:4px 0;color:#5b2430}.mfg-school-rules li:before{content:"○";margin-right:9px}.mfg-school-rules li.is-met{color:#176b36}.mfg-school-rules li.is-met:before{content:"✓"}
@media (forced-colors:active){.mfg-password-field .mfg-eye-toggle{color:ButtonText!important;border:1px solid ButtonText!important}.mfg-school-rules li{color:CanvasText}}

.mfg-password-row .mfg-password-field{max-width:420px}
.mfg-single-password{width:100%}

#mfg-own-rules{margin-top:8px;margin-bottom:12px}
.mfg-password-row #mfg-password-feedback{display:block;margin-top:10px}
.mfg-password-row #mfg-own-rules li{line-height:1.5}

/* Compact accessible password strength indicator – 2.5.36 */
.mfg-strength-panel{box-sizing:border-box;max-width:520px;padding:12px 14px;margin:10px 0 16px;background:#f7f9fb;border:1px solid #d4dee8;border-radius:9px;color:#25384b}
.mfg-strength-heading{display:block;font-size:13px;margin-bottom:10px}
.mfg-strength-track{height:7px;width:100%;background:#dfe6ec;border-radius:99px;overflow:hidden}
.mfg-strength-fill{height:100%;width:0;display:block;border-radius:inherit;background:#d93f3f;transition:width .18s ease,background-color .18s ease}
.mfg-strength-panel[data-level="medium"] .mfg-strength-fill{background:#e7a52c}
.mfg-strength-panel[data-level="strong"] .mfg-strength-fill{background:#178447}
.mfg-strength-panel[data-level="saved"] .mfg-strength-fill{background:#748697}
.mfg-strength-label{display:block;margin:8px 0 9px;font-size:13px;color:#445668}
.mfg-strength-panel[data-level="strong"] .mfg-strength-label{color:#176b36}
.mfg-strength-panel .mfg-school-rules{margin:0!important;padding:0!important;list-style:none!important}
.mfg-strength-panel .mfg-school-rules li{line-height:1.45!important;margin:5px 0!important;padding:0!important;color:#8d3030}
.mfg-strength-panel .mfg-school-rules li:before{content:"✕";display:inline-block;width:18px;margin:0 7px 0 0;color:#c03b3b}
.mfg-strength-panel .mfg-school-rules li.is-met{color:#176b36}
.mfg-strength-panel .mfg-school-rules li.is-met:before{content:"✓";color:#176b36}
.mfg-strength-panel[data-level="saved"] .mfg-school-rules li{color:#536273}
.mfg-strength-panel[data-level="saved"] .mfg-school-rules li:before{content:"○";color:#536273}
@media (prefers-reduced-motion:reduce){.mfg-strength-fill{transition:none}}
@media (forced-colors:active){.mfg-strength-panel{border:1px solid CanvasText;background:Canvas;color:CanvasText}.mfg-strength-track{border:1px solid CanvasText;background:Canvas}.mfg-strength-fill{background:Highlight!important}.mfg-strength-panel .mfg-school-rules li,.mfg-strength-panel .mfg-school-rules li:before{color:CanvasText!important}}

/* Only display own-password controls for the selected own-password mode. */
.mfg-password-row[hidden]{display:none!important}
