/*! © 2026 Cyber Affinity LLC. All rights reserved. Use is subject to https://www.cyber-affinity.com/terms — copying or redistributing this code is not permitted. */
/* Software Overlap Finder — tool-specific styles (shared classes live in /styles.css) */
.so-team { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 12px; }
@media (max-width: 600px) { .so-team { grid-template-columns: 1fr; } }
.so-table { min-width: 1180px; }
.so-table td:first-child input { min-width: 150px; }
.so-table select { min-width: 170px; }
.so-table td:nth-child(3) input { min-width: 130px; }
.so-table td:nth-child(8) input { min-width: 160px; }
.so-num { width: 100px; min-width: 80px; }
.so-center { text-align: center; }
.so-center input { width: auto; accent-color: var(--accent); }
.so-flags { display: flex; flex-wrap: wrap; gap: 4px; min-width: 180px; }
.so-sug { display: block; margin-top: 4px; background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--accent-2); cursor: pointer; text-align: left; }
.so-sug:hover { text-decoration: underline; }
.so-ml { margin-left: 8px; }
.so-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.so-grid .cw-list li { color: var(--text); overflow-wrap: anywhere; }
.so-plan-list { display: grid; gap: 14px; }
.so-plan-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
@media (max-width: 700px) { .so-plan-head { grid-template-columns: 1fr; } }
.so-plan-table { min-width: 560px; }
.so-offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* Generated report (preview + print) */
.so-paper { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); }
.so-doc { display: grid; gap: 16px; max-width: 900px; overflow-wrap: anywhere; }
.so-doc-head { border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
.so-doc-head h2 { margin: 0 0 4px; font-size: 26px; }
.so-doc-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.so-doc-sec h3 { font-size: 18px; margin: 0 0 6px; color: var(--accent-2); }
.so-doc ul { margin: 0; padding-left: 22px; }
.page .so-doc li { color: var(--text); margin: 3px 0; }

/* Printing: only the generated report is printed — never the editing UI. */
#so-print { display: none; }
@media print {
  body.so-printing > *:not(#so-print) { display: none !important; }
  body.so-printing { background: #fff !important; }
  body.so-printing #so-print { display: block; width: 100%; max-width: 100%; overflow: visible; }
  #so-print .so-doc { max-width: none; width: 100%; gap: 12px; }
  #so-print, #so-print * { color: #111 !important; background: transparent !important; box-shadow: none !important; }
  #so-print .muted, #so-print .so-doc-eyebrow { color: #444 !important; }
  #so-print .so-doc-head { border-bottom-color: #111; }
  #so-print .so-doc-sec { break-inside: avoid; }
  #so-print .so-doc-sec h3 { font-size: 14pt; border-bottom: 1px solid #bbb; padding-bottom: 2px; break-after: avoid; }
  #so-print li { overflow-wrap: anywhere; word-break: break-word; }
}
