/* Finding indicators (severity and review icons, lifecycle status pills), shared by every internal page that lists
   findings. Kept apart from app.css. Icons: ui/templates/_finding_icons.html. */
.fi { display:inline-flex; vertical-align:-4px; line-height:0; }
.fi-defs { position:absolute; width:0; height:0; overflow:hidden; }
.ind-label { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-weight:600; font-size:13px; color:var(--text); vertical-align:middle; }
.ind-label svg { flex:none; }
.ind-label .ind-note { font-weight:400; color:var(--muted); }
.ind-muted { color:var(--muted); font-weight:500; }
.st-pill { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-size:12px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; padding:2px 9px 2px 7px; border-radius:999px; line-height:18px; vertical-align:middle; }
.st-pill::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; flex:none; }
.st-pill.st-new { background:color-mix(in srgb, var(--new) 16%, transparent); color:var(--new-text); }
.st-pill.st-existing { background:color-mix(in srgb, var(--muted) 14%, transparent); color:var(--soft); }
.st-pill.st-regressed { background:color-mix(in srgb, var(--high) 16%, transparent); color:var(--high-text); }
.st-pill.st-fixed { background:color-mix(in srgb, var(--ok) 14%, transparent); color:var(--ok-text); }
.st-pill.st-ignored, .st-pill.st-accepted { background:color-mix(in srgb, var(--faint) 22%, transparent); color:var(--soft); }
.st-pill.st-superseded { background:color-mix(in srgb, var(--faint) 16%, transparent); color:var(--muted); }
.fi-legend { display:flex; flex-wrap:wrap; gap:6px 22px; align-items:center; margin:4px 0 10px; }
.fi-legend-group { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px 12px; }
.fi-legend-title { font-weight:600; color:var(--text); }
.fi-legend-item { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.fi-legend-note { flex-basis:100%; }
td.ind, th.ind { text-align:center; white-space:nowrap; }
/* pages that let long URLs wrap anywhere (.wrap-anywhere) must not split table headers or short values mid-word */
.wrap-anywhere th { overflow-wrap:normal; word-break:normal; }
.wrap-anywhere td.conf, .wrap-anywhere td.num-cell, .wrap-anywhere .conf { overflow-wrap:normal; word-break:normal; white-space:nowrap; }
.sevcount { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.sevcount svg { flex:none; }
/* A finding group's heading (_group.html, _group_family.html): one text size and one centre line for the review label,
   severity counts, title and confidence; each keeps its own weight and colour. */
.group-head { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px 10px; vertical-align:top; font-size:15px; line-height:1.4;
  max-width:calc(100% - 22px); }  /* room for the open/close triangle beside it on a phone */
.group-head > *, .group-head .sevcount { font-size:inherit; }
/* finding tables: the first column (the subject or finding) keeps a readable width; on narrow screens the table then
   scrolls sideways inside its labelled region instead of squeezing that column to a few characters */
table.ind-table td:first-child, table.ind-table th:first-child { min-width:14rem; }
table.ind-table td.why-cell { min-width:16rem; }  /* evidence text stays readable instead of making rows very tall */
table.page-issues td:first-child, table.page-issues th:first-child { min-width:0; white-space:nowrap; }  /* the severity cell, not a subject */
table.page-issues td:nth-child(2) { min-width:14rem; }
