/* =====================================================================
   ip-cleaner.css : only for the IP List Cleaner & Refanger page
   Loaded with:  $page_styles = ['/assets/css/ip-cleaner.css'];
   Shared calculator styles (buttons, fonts, option bar, cards) come from site.css.
   ===================================================================== */

/* Big box for the pasted text */
textarea.tool-input { height: auto; min-height: 190px; padding: 9px 12px; line-height: 1.55; resize: vertical; display: block;
  font-family: 'IBM Plex Mono', monospace; white-space: pre; overflow: auto; }
@media (min-width: 1024px) { textarea.tool-input { min-height: 230px; } }

/* Output boxes: read-only lists, one address per line */
.out-box { width: 100%; height: 240px; padding: 8px 12px; border: 1px solid #d5dbe3; border-radius: 8px; background: #fff; resize: vertical;
  font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-result); line-height: 1.6; color: #1f2937; white-space: pre; overflow: auto; display: block; }
.out-box:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(56,163,165,.18); }
@media (min-width: 1024px) { .out-box { height: 300px; } }
.out-box.out-short { height: 150px; }
@media (min-width: 1024px) { .out-box.out-short { height: 170px; } }

/* Small number tiles */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 4px 0 8px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
.stat { background: #f1f8f8; border: 1px solid #d9ecec; border-radius: 10px; padding: 6px 10px; min-width: 0; }
.stat b { display: block; font-size: 18px; line-height: 1.2; color: #22577A; font-family: 'IBM Plex Mono', monospace; }
.stat span { display: block; font-size: var(--fs-note); color: #4b5563; line-height: 1.3; }

/* Example result titles in the guide */
.article .ex-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: #22577A; margin: 14px 0 6px; }
.article pre.sample { background: #f4f7fa; border: 1px solid #e3e8ee; border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; overflow-x: auto;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; line-height: 1.6; color: #22577A; white-space: pre; }
