/* Random Password Generator (client-side rebuild) */
#randomPasswordForm .field { display: flex; flex-direction: column; }
.tool-hint { font-size: 11.5px; color: var(--text3); margin-top: 5px; line-height: 1.4; }
#randomPasswordForm .check-group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#randomPasswordForm .check-group legend { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 8px; padding: 0; }
#randomPasswordForm .check-item {
  display: flex; align-items: center; gap: 8px; margin: 0;
  padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; background: #fff;
}
#randomPasswordForm .check-item:has(input:checked) { border-color: var(--p); background: var(--p-llt); }
#randomPasswordForm .check-item input { width: 16px; height: 16px; accent-color: var(--p); margin: 0; cursor: pointer; }
.tool-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  border-radius: 8px; padding: 10px 13px; font-size: 12.5px; line-height: 1.5;
}
.tool-error[hidden] { display: none; }
#output .pw-value {
  font-family: 'Courier New', monospace; font-size: 1.5rem; font-weight: 700; line-height: 1.5;
  color: #fff; word-break: break-all; overflow-wrap: anywhere; margin: 0; text-align: center;
}
#output .pw-value.long { font-size: 1.1rem; }
#output .pw-meta { font-size: 12.5px; color: rgba(255,255,255,.7); text-align: center; margin: 0; }
