/* Random Number Generator (client-side rebuild) */
#randomNumberForm .field { display: flex; flex-direction: column; min-width: 0; }
#randomNumberForm .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-hint { font-size: 11.5px; color: var(--text3); margin-top: -8px; line-height: 1.4; }
#randomNumberForm .field .tool-hint { margin-top: 5px; }
#randomNumberForm .check-item {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer;
}
#randomNumberForm .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 .rn-single { font-size: 3rem; font-weight: 800; color: #fff; text-align: center; margin: 0; line-height: 1.2; word-break: break-all; }
#output .rn-list { font-family: 'Courier New', monospace; font-size: 14px; color: #e2e8f0; margin: 0; word-break: break-word; }
#output .rn-meta { font-size: 12.5px; color: rgba(255,255,255,.7); margin: 0; }
