/* Passwords & IDs: the few things tools.css doesn't cover. Rows of
   checkboxes, the password list (digits and symbols tinted, which helps
   tell 0 from O but isn't the only way to), the strength word, the list of
   IDs, and the output areas of the panels below the passwords. */

.field.narrow { flex: 1 1 110px; max-width: 170px; }
.muted.small, .small { font-size: 13px; line-height: 1.5; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks .check .mono { font-size: 12.5px; }
.row > .check { min-height: 46px; }

/* The strength word, coloured by level; the word itself carries the meaning */
.summary.gen-summary { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.summary.gen-summary .stat-value { overflow-wrap: normal; }
@media (max-width: 560px) { .summary.gen-summary .stat-value { font-size: 18px; } }
.strength.weak { color: var(--fail); }
.strength.fair { color: var(--warn); }
.strength.strong, .strength.very-strong { color: var(--pass); }

/* Passwords */
.pw-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pw-list > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 9px 0; border-top: 1px solid var(--line); min-width: 0;
}
.pw-list > li:first-child { border-top: 0; padding-top: 0; }
.pw { font-size: 15.5px; line-height: 1.5; letter-spacing: .02em; color: var(--ink); overflow-wrap: anywhere; word-break: break-all; }
.pw-digit { color: var(--info); }
.pw-symbol { color: var(--warn); }

/* Panels below the passwords: a form, then its output */
.subtool .tool-form { gap: 12px; }
.subtool-out { display: grid; gap: 12px; min-width: 0; }
.subtool-out:not(:empty) { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.subtool-out > p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.subtool-out > p.lead-line { color: var(--ink); }
.subtool-out > p.small { font-size: 13px; }
.out-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.out-head p { margin: 0; color: var(--ink); font-size: 14.5px; }

.id-list { list-style: none; margin: 0; padding: 0; display: grid; }
.id-list > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 8px 0; border-top: 1px solid var(--line); min-width: 0;
}
.id-list > li:first-child { border-top: 0; padding-top: 0; }
.id-main { display: grid; gap: 2px; min-width: 0; }
.id-main code { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
