/* Mot de passe compromis ? : champ avec bouton Afficher, jauge de robustesse, verdict */
.pdx-mdp-champ { position: relative; flex: 1 1 14em; display: flex; min-width: 0; }
.pdx-mdp-champ input {
	flex: 1;
	min-width: 0;
	padding: 0.85em 5.5em 0.85em 1em;
	border: 1px solid transparent;
	border-radius: 0.7em;
	background: var(--brume);
	color: var(--encre);
	font: 500 1.1em/1.3 var(--mono);
}
.pdx-mdp-champ input:focus { outline: 0; border-color: var(--encre); background: #fff; }
.pdx-mdp-oeil {
	position: absolute;
	right: 0.45em;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.35em 0.8em;
	border: 1px solid var(--trait);
	border-radius: 3em;
	background: #fff;
	color: var(--encre);
	font: 600 0.85em/1.2 var(--texte);
	cursor: pointer;
}
.pdx-mdp-oeil:hover { border-color: var(--encre); }

.pdx-jauge { margin-top: 0.9em; }
.pdx-jauge-barre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3em; }
.pdx-jauge-barre i { height: 0.5em; border-radius: 0.3em; background: var(--brume); transition: background .2s; }
.pdx-jauge[data-niveau="0"] i:nth-child(-n+1) { background: var(--err-trait); }
.pdx-jauge[data-niveau="1"] i:nth-child(-n+2) { background: var(--attn-trait); }
.pdx-jauge[data-niveau="2"] i:nth-child(-n+3) { background: var(--ok-trait); }
.pdx-jauge[data-niveau="3"] i { background: var(--ok); }
.pdx-jauge-texte { margin: 0.5em 0 0; font-size: 0.9em; color: var(--gris); }
.pdx-jauge-texte strong { color: var(--encre); }

.pdx-mdp-verdict.niv-err { background: var(--err-fond); }
.pdx-mdp-verdict.niv-ok { background: var(--ok-fond); }
.pdx-mdp-verdict.niv-err .res-domaine { color: var(--err); }
.pdx-mdp-verdict.niv-ok .res-domaine { color: var(--ok); }
.pdx-mdp-verdict .res-verdict { margin: 0.6em 0 0.4em; }
.pdx-mdp-verdict code { font-family: var(--mono); }
.resultats .constats { margin-top: 1em; }
