/* Medidor de senha forte (password-strength.js). Herda a cor do texto do formulário; funciona em fundo claro e escuro. */
.srpw{--srpw-off:rgba(127,127,127,.25);--srpw-bad:#e5484d;--srpw-mid:#f5a524;--srpw-good:#30a46c;margin:8px 0 4px;font-size:12.5px;line-height:1.35;text-align:left;color:inherit}
.srpw__bar{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:6px}
.srpw__bar i{display:block;height:4px;border-radius:4px;background:var(--srpw-off);transition:background .2s}
.srpw[data-score="1"] .srpw__bar i:nth-child(-n+1),.srpw[data-score="2"] .srpw__bar i:nth-child(-n+2){background:var(--srpw-bad)}
.srpw[data-score="2"].is-near .srpw__bar i:nth-child(-n+2){background:var(--srpw-mid)}
.srpw[data-score="3"] .srpw__bar i:nth-child(-n+3){background:var(--srpw-mid)}
.srpw[data-score="4"] .srpw__bar i{background:var(--srpw-good)}
.srpw.is-ok[data-score="3"] .srpw__bar i:nth-child(-n+3){background:var(--srpw-good)}
.srpw__head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;margin-bottom:4px}
.srpw__label{font-weight:700;font-size:12.5px}
.srpw__hint{opacity:.65;font-size:11.5px}
.srpw__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:2px 12px}
.srpw__list li{position:relative;padding-left:18px;opacity:.7;margin:0;list-style:none}
.srpw__list li::before{content:"";position:absolute;left:2px;top:.35em;width:9px;height:9px;border-radius:50%;border:1.5px solid currentColor;opacity:.55;box-sizing:border-box}
.srpw__list li.is-on{opacity:1}
.srpw__list li[data-k="clean"]{grid-column:1/-1}
.srpw__list li.is-on::before{border:0;opacity:1;width:11px;height:11px;left:1px;top:.3em;background:var(--srpw-good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}
.srpw__msg{margin:5px 0 0;color:var(--srpw-bad);font-weight:600}
.srpw.is-empty .srpw__list li{opacity:.6}
