/* Tennessee Titans dark theme.
   Proportions follow the brand: Navy dominant (all surfaces), Columbia Blue as the
   signature accent (used purposefully), Titans Red sparingly (negatives only),
   Silver for neutral text/borders, White for emphasis. */
:root {
  --navy: #0c2340;          /* PMS 289 — primary/dominant */
  --columbia: #4b92db;      /* PMS 284 — signature accent */
  --columbia-bright: #6fb0ec;
  --red: #c8102e;           /* PMS 186 — sparing accent (fills) */
  --red-bright: #f0485c;    /* red for text/icons on dark */
  --silver: #8a8d8f;        /* Cool Gray — neutral */
  --silver-light: #b9c2cc;

  --bg: #07172a;            /* deep navy page */
  --panel: #0e2942;         /* elevated navy */
  --panel-2: #0a1f37;       /* recessed navy */
  --line: rgba(138, 141, 143, 0.22);  /* silver hairline */
  --text: #eaf1f8;          /* near-white */

  --ok: #34b871;            /* functional green — minimal use */
  --warn: #e0a23a;          /* functional amber — minimal use */
  --bad: var(--red-bright);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

a { color: var(--columbia-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--silver); }
.small { font-size: 12px; }
.hidden { display: none !important; }

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: var(--navy);
  border-top: 3px solid var(--columbia);    /* signature stripe */
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Rockwell", "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}
.brand .wm > span { color: var(--columbia); }
.brandmark { width: 32px; height: 32px; flex: 0 0 auto; }
.nav { display: flex; gap: 4px; margin-left: 18px; }
.navlink {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: none;
  color: var(--silver-light); padding: 4px 12px; border-radius: 6px; border: 1px solid transparent;
}
.navlink:hover { text-decoration: none; border-color: var(--line); }
.navlink.active { color: var(--columbia-bright); background: rgba(75, 146, 219, 0.14); border-color: var(--columbia); }

/* Dev feed visualizations */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 700px) { .statrow { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.stat-v { font-size: 26px; font-weight: 700; color: var(--columbia-bright); line-height: 1.1; }
.stat-l { font-size: 11px; color: var(--silver); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.chartgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.chart-wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .chartgrid { grid-template-columns: 1fr; } }
.chartbox { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.chartbox h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--silver); margin: 0 0 8px; font-weight: 600; }
.chartbox svg { display: block; width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-size: 11px; color: var(--silver-light); }
.chart-legend .sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* Dev feed */
.feed-day { font-size: 11px; color: var(--silver); text-transform: uppercase; letter-spacing: 0.6px; margin: 12px 0 4px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.feed-ev { font-size: 13px; padding: 5px 0; }
.feed-ev .tag { min-width: 24px; display: inline-block; text-align: center; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.iteration { font-weight: 700; color: var(--columbia); font-size: 15px; letter-spacing: 0.3px; }
.iteration-select {
  background: var(--panel-2);
  color: var(--columbia);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  max-width: 240px;
}
.iteration-select:focus { outline: none; border-color: var(--columbia); }
.iteration-select:disabled { opacity: 0.85; }
.userbox { display: flex; align-items: center; gap: 6px; }
.userbox input {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 5px 8px;
  width: 190px;
  font-size: 12px;
}
.userbox input:focus { outline: none; border-color: var(--columbia); }

.pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.pill.ok { color: var(--ok); border-color: var(--ok); }
.pill.bad { color: var(--bad); border-color: var(--bad); }
.pill.muted { color: var(--silver); }

.container { padding: 18px 22px; max-width: 1340px; margin: 0 auto; }

.view-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.view-toolbar .vt-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--silver);
}

/* Readiness banner */
.readiness {
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.readiness.ready { background: rgba(52, 184, 113, 0.06); border-color: rgba(52, 184, 113, 0.5); border-left: 4px solid var(--ok); }
.readiness.notready { background: rgba(200, 16, 46, 0.07); border-color: rgba(200, 16, 46, 0.55); border-left: 4px solid var(--red); }
.readiness.loading { color: var(--silver); display: block; }
.ready-verdict { font-size: 26px; font-weight: 800; letter-spacing: 0.5px; }
.ready-verdict.ready { color: var(--ok); }
.ready-verdict.notready { color: var(--red-bright); }
.ready-sub { color: var(--silver); margin-top: 4px; font-size: 13px; }
.ready-reasons { margin: 8px 0 0; padding-left: 18px; }
.ready-reasons li { margin: 2px 0; color: var(--silver-light); font-size: 13px; }
.ready-notes { margin: 6px 0 0; padding-left: 18px; list-style: none; }
.ready-notes li { margin: 2px 0; color: var(--silver); font-size: 12px; }
.ready-notes li::before { content: "ℹ "; opacity: 0.7; }

.bar {
  height: 22px; border-radius: 6px; overflow: hidden; display: flex;
  border: 1px solid var(--line); background: var(--panel-2);
}
.bar > span { display: block; height: 100%; }
.bar .b-pass { background: var(--ok); }
.bar .b-fail { background: var(--red); }
.bar .b-blocked { background: var(--warn); }
.bar .b-prog { background: var(--columbia); }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 12px; }
.legend span::before { content: "■ "; }
.lg-pass { color: var(--ok); }
.lg-fail { color: var(--red-bright); }
.lg-blocked { color: var(--warn); }
.lg-prog { color: var(--columbia); }
.lg-untested { color: var(--silver); }
.stat-num { font-size: 20px; font-weight: 700; }

/* Layout */
.layout { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } .readiness { grid-template-columns: 1fr; } }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.panel-head h2 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--columbia); margin: 0;
}

/* Test board filters */
.filters-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.group-controls { flex: none; display: flex; gap: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.filters .flabel { font-size: 11px; color: var(--silver); text-transform: uppercase; letter-spacing: 0.5px; margin-right: 2px; }
.filters .fsep { width: 1px; height: 18px; background: var(--line); margin: 0 6px; }
.chip {
  background: var(--panel-2); color: var(--silver-light); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: 12px;
}
.chip:hover { border-color: var(--columbia); }
.chip.active { border-color: var(--columbia); color: var(--columbia-bright); background: rgba(75, 146, 219, 0.22); font-weight: 600; }
.chip .cnt { color: var(--silver); font-size: 11px; margin-left: 4px; }
.chip.active .cnt { color: var(--columbia); }

/* Test-plan CRUD controls */
.gact {
  background: transparent; border: 1px solid transparent; color: var(--silver);
  border-radius: 5px; width: 22px; height: 22px; line-height: 1; cursor: pointer;
  font-size: 14px; opacity: 0.55; padding: 0;
}
.tgroup-head:hover .gact, .gact:focus { opacity: 1; }
.gact:hover { border-color: var(--columbia); color: var(--columbia-bright); }
.gact.danger:hover { border-color: var(--red-bright); color: var(--red-bright); }
.iact { padding: 4px 7px; }
.addgroup {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 12px;
}
.addgroup input {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 6px; padding: 6px 9px; font-size: 12px; flex: 1; min-width: 160px;
}
.addgroup input.short { flex: 0 1 110px; min-width: 90px; }
.addgroup input:focus { outline: none; border-color: var(--columbia); }
.addgroup .aghint { flex-basis: 100%; }

/* Ref token pickers (PR / AB autocomplete with free-form) */
.refpicker {
  position: relative; display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 6px; flex: 0 1 220px; min-width: 150px; cursor: text;
}
.refpicker:focus-within { border-color: var(--columbia); }
.refpicker input {
  background: transparent; border: none; color: var(--text);
  font-size: 12px; flex: 1; min-width: 55px; padding: 3px;
}
.refpicker input:focus { outline: none; }
.refchips { display: contents; }
.refchip {
  background: rgba(75, 146, 219, 0.16); color: var(--columbia-bright); border: 1px solid var(--columbia);
  border-radius: 999px; font-size: 11px; padding: 1px 4px 1px 8px;
  display: inline-flex; align-items: center; gap: 2px; white-space: nowrap;
}
.refchip button { background: none; border: none; color: inherit; cursor: pointer; font-size: 12px; padding: 0 3px; }
.refchip button:hover { color: var(--red-bright); }
.refdrop {
  position: absolute; top: 100%; left: 0; min-width: 100%; width: max-content; max-width: 460px;
  z-index: 30; margin-top: 4px; background: var(--panel-2); border: 1px solid var(--columbia);
  border-radius: 8px; max-height: 220px; overflow-y: auto;
}
.refopt { padding: 7px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.refopt:hover, .refopt.active { background: rgba(75, 146, 219, 0.15); color: var(--columbia-bright); }
.additem-row { display: flex; gap: 8px; padding: 8px 12px; border-top: 1px dashed var(--line); }
.additem-row input {
  background: var(--panel-2); border: 1px solid var(--columbia); color: var(--text);
  border-radius: 6px; padding: 5px 9px; font-size: 12.5px; flex: 1;
}
.edit-input {
  background: var(--panel-2); border: 1px solid var(--columbia); color: var(--text);
  border-radius: 6px; padding: 4px 8px; font-size: 13px; width: 100%;
}
.editgroup-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 10px 12px; border-top: 1px dashed var(--line);
  background: rgba(75, 146, 219, 0.06);
}
.editgroup-row .eg-area, .editgroup-row .eg-desc {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 6px; padding: 6px 9px; font-size: 12px; flex: 1 1 150px; min-width: 130px;
}
.editgroup-row .eg-area { flex-basis: 200px; }
.editgroup-row .eg-area:focus, .editgroup-row .eg-desc:focus { outline: none; border-color: var(--columbia); }
.eg-warn {
  flex-basis: 100%; font-size: 11px; color: var(--warn);
  border-left: 2px solid var(--warn); padding-left: 8px; margin-bottom: 2px;
}
.risk-strip {
  font-size: 12px; color: var(--warn); background: var(--panel-2);
  border-left: 3px solid var(--warn); border-radius: 4px;
  padding: 6px 10px; margin-bottom: 10px;
}
.next-step {
  font-size: 12.5px; color: var(--text); background: rgba(75, 146, 219, 0.10);
  border-left: 3px solid var(--columbia); border-radius: 4px;
  padding: 6px 10px; margin-bottom: 10px;
}
.next-step .next-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--columbia-bright); margin-right: 6px;
}
.btn.pass.voted {
  background: rgba(52, 184, 113, 0.25); border-color: var(--ok); color: var(--ok); font-weight: 700;
}
.badge.verified { background: rgba(52, 184, 113, 0.35); color: #7fe3ae; border: 1px solid var(--ok); }
.iact.ov { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.4px; }
.iact.ov.active { border-color: var(--warn); color: var(--warn); }

/* In-flight click feedback: spinner replaces the button's idle look until the row re-renders */
.btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.busy::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--silver); border-top-color: var(--columbia-bright);
  animation: btnspin 0.7s linear infinite;
}
@keyframes btnspin { to { transform: rotate(360deg); } }

/* Comment thread on a check */
.titem-comments { margin: 4px 0 2px 12px; border-left: 2px solid var(--line); padding-left: 10px; }
.tcomment { font-size: 12px; padding: 2px 0; color: var(--silver-light); }
.tcomment .tc-author { color: var(--columbia-bright); font-weight: 600; margin-right: 6px; }
.tcomment .tc-text { color: var(--text); }
.tcomment .tc-time { color: var(--silver); font-size: 11px; margin-left: 8px; }

/* Toast (non-blocking notifications — also keeps browser automation from stalling on alert()) */
.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--panel-2); color: var(--text); border: 1px solid var(--columbia);
  border-radius: 8px; padding: 8px 16px; font-size: 13px; z-index: 100;
}
.toast.bad { border-color: var(--red-bright); color: var(--red-bright); }

/* Test board */
.tgroup { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.tgroup-head {
  background: var(--panel-2); padding: 7px 12px; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 10px;
  border-left: 3px solid var(--columbia);
}
.tgroup-head:hover { background: rgba(75, 146, 219, 0.10); }
.tgroup-head:focus-visible { outline: 1px solid var(--columbia); outline-offset: -1px; }
.tgroup.collapsed .tgroup-head { border-left-color: rgba(75, 146, 219, 0.35); }
.tgroup-chevron { flex: none; color: var(--silver); font-size: 10px; transition: transform 0.12s ease; }
.tgroup:not(.collapsed) .tgroup-chevron { transform: rotate(90deg); }
.tgroup-headmain { flex: 1; min-width: 0; }
.tgroup-line1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tgroup-title { flex: 0 1 auto; min-width: 60px; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgroup-src {
  flex: none; font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--silver); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px;
}
.tgroup-desc { flex: 1 1 auto; min-width: 0; font-size: 11px; color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgroup-refs { flex: none; font-size: 11px; color: var(--silver); white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.tgroup-workby { font-size: 11px; color: var(--silver); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgroup-headright { flex: none; display: flex; align-items: center; gap: 8px; }
.tgroup-warncount { color: var(--warn); font-size: 11px; font-weight: 600; white-space: nowrap; }
.gbar { flex: none; display: inline-flex; width: 72px; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(138, 141, 143, 0.25); }
.gbar > span { display: block; height: 100%; }
.gbar .gb-pass { background: var(--ok); }
.gbar .gb-fail { background: var(--red); }
.gbar .gb-blocked { background: var(--warn); }
.gbar .gb-prog { background: var(--columbia); }
.tgroup-prog { font-size: 11px; color: var(--silver); min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.tgroup-actions { display: inline-flex; gap: 4px; }
.tgroup.collapsed .tgroup-items { display: none; }

.titem { padding: 6px 12px 6px 26px; border-top: 1px solid rgba(138, 141, 143, 0.12); }
.titem:hover { background: rgba(75, 146, 219, 0.04); }
.titem-row { display: flex; align-items: flex-start; gap: 4px 14px; flex-wrap: wrap; }
.titem-text { flex: 1 1 300px; min-width: 220px; line-height: 1.45; padding-top: 3px; }
.titem-warn { color: var(--warn); font-weight: 700; }
/* Controls wrap as GROUPS (verdicts / claim / composer / tools), never one orphan button */
.titem-state { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.titem-meta { font-size: 11px; color: var(--silver-light); margin-top: 2px; }

/* Segmented verdict control: one bordered unit, readable per-verdict colors at rest */
.titem-verdicts {
  flex: none; display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.titem-verdicts .btn {
  border: none; border-radius: 0; border-right: 1px solid var(--line);
  background: transparent; padding: 3px 9px;
}
.titem-verdicts .btn:last-child { border-right: none; }
.titem-verdicts .btn.pass { color: var(--ok); }
.titem-verdicts .btn.pass:hover { background: rgba(52, 184, 113, 0.15); }
.titem-verdicts .btn.fail { color: var(--red-bright); }
.titem-verdicts .btn.fail:hover { background: rgba(200, 16, 46, 0.15); }
.titem-verdicts .btn.blocked { color: var(--warn); }
.titem-verdicts .btn.blocked:hover { background: rgba(224, 162, 58, 0.15); }
.titem-verdicts .btn.pass.voted { background: rgba(52, 184, 113, 0.22); font-weight: 700; }
.titem-verdicts .iact.ov { color: var(--silver-light); }
.titem-verdicts .iact.ov:hover { background: rgba(224, 162, 58, 0.15); color: var(--warn); }
.titem-verdicts .iact.ov.active { color: var(--warn); background: rgba(224, 162, 58, 0.12); }

.titem .btn.claim { flex: none; border-color: var(--line); color: var(--silver-light); padding: 3px 9px; }
.titem .btn.claim:hover { border-color: var(--columbia); color: var(--columbia-bright); }

.titem-tools { flex: none; display: inline-flex; gap: 2px; opacity: 0.55; }
.titem:hover .titem-tools, .titem-tools:focus-within { opacity: 1; }
.titem-tools .btn { border-color: transparent; color: var(--silver); padding: 3px 7px; }
.titem-tools .btn:hover { border-color: var(--columbia); color: var(--columbia-bright); }

.titem .note-input { background: var(--panel-2); border-color: var(--line); flex: 1 1 150px; min-width: 130px; max-width: 260px; padding: 3px 8px; }
.titem .note-input:focus { border-color: var(--columbia); }
.note-input::placeholder { color: rgba(185, 194, 204, 0.55); }

.badge {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.4px;
  border: 1px solid transparent;   /* all badges same box whether their variant draws a border or not */
  flex: none; min-width: 78px; text-align: center;   /* fixed width so rows align into a scannable column */
}
.badge.untested { background: rgba(138, 141, 143, 0.12); color: var(--silver-light); border: 1px solid rgba(138, 141, 143, 0.35); }
.badge.inprogress { background: rgba(75, 146, 219, 0.22); color: var(--columbia-bright); }
.badge.pass { background: rgba(52, 184, 113, 0.20); color: var(--ok); }
.badge.fail { background: rgba(200, 16, 46, 0.22); color: var(--red-bright); }
.badge.blocked { background: rgba(224, 162, 58, 0.20); color: var(--warn); }

.btn {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 12px;
}
.btn:hover { border-color: var(--columbia); }
.btn.ghost { background: transparent; }
.btn.pass:hover { border-color: var(--ok); color: var(--ok); }
.btn.fail:hover { border-color: var(--red-bright); color: var(--red-bright); }
.btn.blocked:hover { border-color: var(--warn); color: var(--warn); }
.btn.primary { background: var(--columbia); color: #04101f; border-color: var(--columbia); font-weight: 700; }
.btn.primary:hover { filter: brightness(1.1); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; background: var(--panel-2); border-color: var(--line); color: var(--silver); }
.btn.suggested { box-shadow: 0 0 8px rgba(75, 146, 219, 0.45); border-color: var(--columbia); }
.btn.active { outline: 2px solid currentColor; }
.note-input {
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 6px; padding: 4px 8px; font-size: 12px; flex: 1; min-width: 140px;
}
.note-input:focus { outline: none; border-color: var(--columbia); }

/* Overview lists */
.kv { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: none; }
.list { margin: 6px 0 0; padding: 0; list-style: none; }
.list li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.list li:last-child { border-bottom: none; }
.tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: rgba(75, 146, 219, 0.18); color: var(--columbia-bright); margin-right: 6px; }
.wi-state { font-size: 10px; padding: 1px 6px; border-radius: 4px; }
.wi-merged { background: rgba(52, 184, 113, 0.18); color: var(--ok); }
.wi-active, .wi-new, .wi-inprogress { background: rgba(224, 162, 58, 0.18); color: var(--warn); }
.crit { color: var(--silver-light); font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.crit::before { content: "\26A0  "; color: var(--red-bright); }

/* Health rows */
.hrow { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hrow:last-child { border-bottom: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.dot.ok { background: var(--ok); }
.dot.bad { background: var(--red-bright); }
.hver { font-size: 11px; color: var(--silver); }

/* Activity */
.act { font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.act:last-child { border-bottom: none; }
.act-time { color: var(--silver); font-size: 11px; }
.act-actor { color: var(--columbia-bright); }

/* Actions */
.action-list { display: flex; flex-direction: column; gap: 8px; }
.gate-list { margin: 8px 0 0; padding-left: 18px; }
.gate-list li { font-size: 12px; color: var(--silver); margin: 3px 0; }
.note-box { background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 12px; color: var(--silver-light); margin-top: 8px; }
