/* Password Generator — compact first-screen layout */
.pg{display:grid;gap:14px;max-width:640px;margin:0 auto}
.pg-result{background:#f8f9fa;border:1px solid var(--line);border-radius:12px;padding:16px}
.pg-password{font-family:var(--mono);font-size:clamp(1.05rem,2.4vw,1.35rem);line-height:1.4;word-break:break-all;margin:0 0 6px;min-height:2.2em;color:var(--dark)}
.pg-meter{margin:0 0 10px;font-size:.9rem;font-weight:700;color:var(--muted)}
.pg-meter[data-level="short"]{color:#b45309}
.pg-meter[data-level="fair"]{color:#a16207}
.pg-meter[data-level="good"]{color:#15803d}
.pg-meter[data-level="strong"],.pg-meter[data-level="very-strong"]{color:#047857}
.pg-error{margin:0 0 10px;color:#b8243f;font-weight:700}
.pg-actions{display:flex;flex-wrap:wrap;gap:8px}
.pg-actions .btn{margin:0}
.pg-strong{display:flex;align-items:center;gap:8px;font-weight:700;min-height:44px;padding:4px 0}
.pg-strong input{width:22px;height:22px;margin:0}
.pg-length-row{display:flex;align-items:center;gap:12px}
.pg-length-row input[type=range]{flex:1;min-width:0;accent-color:var(--primary);height:44px}
.pg-length-row input[type=number]{width:4.8em;text-align:center}
.pg-sets{border:1px solid var(--line);border-radius:12px;padding:8px 14px 6px;margin:0}
.pg-sets legend{font-weight:700;padding:0 4px}
.pg-sets .form-check{display:flex;align-items:center;min-height:44px;font-weight:600}
.pg-hint{margin:0;color:var(--muted);font-size:.9rem;text-align:center}
