/* Layout only. Password generation and strength estimates keep their existing algorithms. */
.length-slider { display: block; width: 100%; height: 48px; margin: 0; cursor: pointer; accent-color: var(--up-green); }
.length-value { font-weight: 750; font-variant-numeric: tabular-nums; }
.password-page .option-row { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--up-border); font-size: 14px; color: var(--up-ink); cursor: pointer; }
.password-page .option-row:last-child { border-bottom: 0; }
.option-row input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--up-green); }
.password-text { min-height: 40px; font-family: ui-monospace, "Consolas", "Monaco", monospace; font-size: 28px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.strength-indicator { margin-top: 20px; }
.strength-bar { display: flex; gap: 4px; margin-bottom: 8px; }
.strength-segment { flex: 1; height: 6px; background: #6a9081; border-radius: var(--up-radius-small); }
.strength-segment.active.weak { background: #ffc5bd; }
.strength-segment.active.fair { background: #ffdb9b; }
.strength-segment.active.good, .strength-segment.active.strong { background: #cce8d8; }
.strength-label { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; line-height: 1.5; }
.strength-time { color: #e0eee7; }
.password-actions .up-button { padding-inline: 12px; }
.password-history { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--up-border); }
.history-title { font-size: 16px; font-weight: 650; }
.password-history-note { font-size: 13px; color: var(--up-muted); margin-top: 4px; margin-bottom: 12px; line-height: 1.5; }
.history-list { display: grid; gap: 8px; }
.history-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px 12px; border: 1px solid var(--up-border); border-radius: var(--up-radius); background: var(--up-surface); }
.history-item-password { min-width: 0; flex: 1; font-family: ui-monospace, "Consolas", "Monaco", monospace; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.history-item-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 8px; border: 1px solid var(--up-border); border-radius: var(--up-radius); background: var(--up-surface); color: var(--up-green); cursor: pointer; flex-shrink: 0; }
.history-item-btn:hover { background: var(--up-tint); }
@media (max-width: 767px) {
  .password-text { font-size: 24px; }
  .strength-indicator { margin-top: 16px; }
  .password-actions .up-button { font-size: 14px; padding-inline: 8px; }
}
