/*! © 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. */
/* Vulnerability Focus. Tier colours reuse the site's status palette: red = in the wild, yellow = exploit available, slate = no known exploit. */
.vf-wrap { max-width: 1180px; }
.vf-wrap [hidden], .vf-dialog [hidden] { display: none !important; }
.vf-load { margin-top: 16px; display: grid; gap: 12px; }
.vf-drop { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 28px 16px; border: 2px dashed var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 400; }
.vf-drop:hover, .vf-drop.over { border-color: var(--accent); background: rgba(45, 212, 191, 0.06); }
.vf-drop strong { font-size: 18px; }
.vf-load-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vf-inline { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--muted); margin-left: auto; }
.vf-inline select { width: auto; padding: 6px 10px; }
.vf-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.vf-files li { overflow-wrap: anywhere; }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent-2); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.vf-empty { margin-top: 28px; text-align: center; }
.vf-limit { margin-top: 20px; flex-wrap: wrap; gap: 10px 16px; border-style: solid; border-color: rgba(253, 224, 71, 0.45); background: rgba(253, 224, 71, 0.06); }
.vf-tabs { margin-top: 28px; align-items: center; }
.vf-print-btn { margin-left: auto; }

.lt-stats .stat small { font-size: 12px; margin-top: 2px; }
.stat.vf-s1 b { color: #fca5a5; }
.stat.vf-s2 b { color: #fde047; }

.vf-headline { font-size: 18px; color: var(--text) !important; margin: 24px 0 10px; }
.vf-tierbar { display: flex; gap: 2px; height: 34px; border-radius: 8px; overflow: hidden; }
.vf-seg { min-width: 44px; border: 0; padding: 0 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; color: #07182b; white-space: nowrap; overflow: hidden; }
.vf-seg:hover { filter: brightness(1.1); }
.vf-seg.vf-t3 { color: var(--text); }
.vf-t1 { background: #f87171; }
.vf-t2 { background: #fde047; }
.vf-t3 { background: #475569; }
.vf-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.vf-legend li { display: flex; align-items: center; gap: 6px; }
.vf-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.vf-agechart { display: grid; gap: 8px; margin-top: 12px; max-width: 900px; }
.vf-row { display: grid; grid-template-columns: 110px 1fr 120px; gap: 12px; align-items: center; font-size: 14px; }
.vf-lab { color: var(--muted); }
.vf-track { display: flex; gap: 2px; height: 20px; }
.vf-track span { height: 100%; min-width: 3px; }
.vf-track span:last-child { border-radius: 0 4px 4px 0; }
.vf-num { font-variant-numeric: tabular-nums; }
.vf-num1 { color: #fca5a5; font-size: 12px; }
.vf-agefacts { margin-top: 20px; }

.vf-table { min-width: 900px; }
.vf-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding: 10px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vf-table td { vertical-align: top; padding: 10px 6px; }
.vf-table td .flag + div, .vf-table td div .flag { margin-top: 4px; }
.vf-why { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vf-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.vf-mono span { display: block; white-space: nowrap; }
.vf-numcell { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vf-rank { color: var(--muted); width: 28px; }
.vf-details summary { cursor: pointer; font-size: 12px; color: var(--accent-2); margin-top: 4px; }
.vf-details p { margin: 6px 0 0; max-width: 560px; }
.vf-resolved td { opacity: 0.6; }

.vf-dialog { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; width: min(560px, calc(100vw - 32px)); }
.vf-dialog::backdrop { background: rgba(3, 10, 20, 0.7); }
.vf-dialog h2 { margin: 0; font-size: 20px; }
.vf-dialog-actions { display: flex; gap: 10px; }

@media (max-width: 640px) {
  .vf-inline { margin-left: 0; flex-wrap: wrap; }
  .vf-row { grid-template-columns: 84px 1fr 70px; font-size: 12px; }
  .vf-num1 { display: none; }
  .vf-print-btn { margin-left: 0; }
}

@media print {
  .vf-panel { display: block !important; }
  .vf-panel[hidden] { display: block !important; }
  .vf-panel[data-panel="findings"] { display: none !important; }
  .vf-print-hide { display: none !important; }
  .vf-panel + .vf-panel { break-before: page; }
  .vf-headline, .vf-lab, .vf-why, .vf-legend { color: #222 !important; }
  .vf-t1, .vf-t2, .vf-t3, .flag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .vf-t3 { background: #94a3b8 !important; }
  .vf-seg.vf-t3 { color: #111 !important; }
  .vf-limit { display: none !important; }
  .vf-table { min-width: 0 !important; }
  .vf-table th { color: #333 !important; }
  .vf-print-date { color: #444 !important; margin: 0 0 12px; }
}
#vf-results { min-width: 0; }
.vf-panel { min-width: 0; }
.vf-batch { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.vf-batch select { width: auto; max-width: 100%; padding: 7px 10px; font-size: 14px; }
#to-firstup:disabled, #to-risks:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
