/* Password generator — tool-specific styles. */
.xpw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xpw-list li::before { display: none; }
.xpw-item {
	display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 8px 8px 16px;
	background: var(--xct-soft); border-radius: 12px; border: 1px solid var(--xct-line);
}
.xpw-pw {
	flex: 1 1 auto; min-width: 0; background: none; padding: 6px 0; border: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: clamp(1rem, 3.6vw, 1.25rem); letter-spacing: .02em; color: var(--xct-ink);
	word-break: break-all; line-height: 1.35; user-select: all; -webkit-user-select: all;
}
.xpw-pw:focus { outline: none; }
.xpw-item:focus-within { border-color: var(--xct-accent); box-shadow: 0 0 0 3px rgba(103,96,216,.18); }
.xpw-copy { flex: 0 0 auto; min-height: 40px; padding: 0 16px; background: #fff; }
.xpw-meter { margin: 14px 0 6px; }
.xpw-bar { height: 8px; border-radius: 99px; background: var(--xct-line); overflow: hidden; }
.xpw-fill { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .25s, background .25s; }
.xpw-bar--vweak .xpw-fill { background: #c62828; }
.xpw-bar--weak .xpw-fill { background: #e8710a; }
.xpw-bar--fair .xpw-fill { background: #d4a106; }
.xpw-bar--strong .xpw-fill { background: #2e9d4f; }
.xpw-bar--vstrong .xpw-fill { background: var(--xct-grad); }
.xpw-mtxt { font-size: .8125rem; color: var(--xct-muted); margin-top: 8px; line-height: 1.5; }
.xpw-mtxt strong { color: var(--xct-ink); }
.xpw-len { margin-top: 18px; }
.xpw-lenhead { display: flex; justify-content: space-between; align-items: baseline; }
.xpw-lenval { font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.xpw-range { width: 100%; margin: 8px 0 0; accent-color: var(--xct-accent); height: 28px; cursor: pointer; }
.xpw-opts { border: 0; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xpw-opts legend { padding: 0; margin-bottom: 8px; }
.xpw-opts--extra { margin-top: 8px; }
.xpw-check {
	display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; cursor: pointer;
	border: 1px solid var(--xct-line); border-radius: 10px; font-size: .9375rem; background: #fff;
}
.xpw-check:hover { border-color: var(--xct-ink); }
.xpw-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--xct-accent); flex: 0 0 auto; }
.xpw-check:focus-within { border-color: var(--xct-accent); box-shadow: 0 0 0 3px rgba(103,96,216,.18); }
.xpw .xct-error:empty { display: none; }
@media (max-width: 520px) {
	.xpw-opts { grid-template-columns: 1fr; }
}
