/* Atlas public website, 2026-10-29: hide controls that need the PC server. */
#pairing,
#pdf,
#export-menu [data-value="pdf"],
#history-download-menu [data-value="pdf"],
#export-format option[value="pdf"],
#history-export-format option[value="pdf"],
#database-import,
#allocation-import,
#import-result,
label:has(> #database-file),
label:has(> #allocation-file) { display: none !important; }

/* 2026-10-30: no extra descriptive text in tiles (match the app). */
#summary,
#virus-view > p.note,
#report-view > p.note,
.mobile-result { display: none !important; }

/* IP Profile and Report Generator, summary first like the app. */
.lens-profile h3, .lens-report-preview h3, #lens-print h3 { margin: 14px 0 6px; }
.lens-summary, .lens-report-preview ul, #lens-print ul { margin: 0 0 6px 18px; padding: 0; }
.lens-summary li, .lens-report-preview li, #lens-print li { margin: 3px 0; }
.lens-table { border-collapse: collapse; width: 100%; }
.lens-table th, .lens-table td { text-align: left; padding: 4px 8px; border-bottom: 1px solid rgba(127, 127, 127, .25); vertical-align: top; }
.lens-details th { width: 28%; font-weight: 600; }
.lens-report-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lens-report-bar select:first-child { flex: 1; }
.lens-report-preview { max-height: 60vh; overflow: auto; margin-top: 8px; }
.lens-stamp, .lens-report-status, .lens-fault-status { opacity: .8; font-size: .9em; }
#lens-print { display: none; }

/* Run Report as PDF: print only the report. */
@media print {
  body > *:not(#lens-print) { display: none !important; }
  body { background: #fff !important; color: #172b45 !important; }
  #lens-print { display: block !important; font-family: Arial, sans-serif; font-size: 10pt; color: #172b45; }
  #lens-print h2, #lens-print h3 { color: #126a85; break-after: avoid; }
  #lens-print .lens-print-head { color: #526078; font-size: 8pt; }
  #lens-print .lens-table th, #lens-print .lens-table td { border-bottom: 1px solid #c9d3e0; }
  #lens-print tr { break-inside: avoid; }
  #lens-print hr { break-after: page; border: 0; }
}

/* Map: no zoom or center buttons, like the app (wheel zooms, drag pans). */
#zoom-in, #zoom-out, #center { display: none !important; }

/* Tiles match the app: no explanatory paragraphs. */
#subnet-view > p, #subnet-view .note,
#history-panel > p.note, #history-export-status,
#virus-view h3, #virus-view > p,
#lookup-panel .filter-combo { display: none !important; }

/* History: no export here; Report Generator covers it (Val, 2026-10-30). */
#history-download, #history-download-menu, #history-export,
.button-menu:has(> #history-download) { display: none !important; }

/* Allocation ranges open their IP profile (2026-10-30). */
#results .result-row{cursor:pointer}
#results .result-row:hover{text-decoration:underline}

/* Copy and Export replaced by the Run Report icon (2026-10-30). */
.button-menu:has(> #copy-menu-button), .button-menu:has(> #export) { display: none !important; }

/* Tile buttons as icons (2026-10-30). */
.lens-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 52px; min-width: 52px; padding: 0; }
.lens-icon-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* History shows every lookup: no date or search filter (2026-10-30). */
#history-panel label:has(#history-from), #history-panel label:has(#history-to), #history-panel label:has(#history-filter) { display: none !important; }
