/* View tokens: status and chart series colours (data colours, theme-aware). Exports resolve them in tools.js EXPORT_VARS. */
:root { --chart-1: #2a78d6; --st-notrun: #8a94a3; --st-progress: #2a78d6; --st-blocked: #d99400; --st-failed: #d03b3b; --st-passed: #1d9a3e; --st-planned: #6b9bd6; --st-unverified: #c9d1dc; }
:root[data-theme=dark] { --chart-1: #6aa7f0; --st-notrun: #7d8899; --st-progress: #5b9cf0; --st-blocked: #e0a83a; --st-failed: #f07b72; --st-passed: #4cc47a; --st-planned: #8fb4e6; --st-unverified: #4a5878; }

/* ---------- traceability matrix ---------- */
.matrix-side { width: 280px !important; }
.matrix-ctl { padding: 0 14px 4px; }
.matrix-ctl .field { margin-bottom: 8px; }
.matrix-ctl .btn { margin-top: 4px; }
.matrix-ctl > div { margin-bottom: 4px; }
.matrix-root { padding: 4px 0; word-break: break-word; }
.mx-tabs { display: flex; border-bottom: 1px solid var(--line); }
.mx-tab { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 0; color: var(--muted); font-weight: 600; font-size: 12px; }
.mx-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.mx-summary { white-space: nowrap; }
.matrix-wrap { background: var(--panel); }
table.matrix { border-collapse: separate; border-spacing: 0; font-size: 12px; }
.matrix th, .matrix td { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.matrix thead th { position: sticky; top: 0; z-index: 2; background: var(--panel-2); border-bottom: 1px solid var(--line); vertical-align: bottom; }
.matrix .mx-corner { left: 0; z-index: 4; min-width: 260px; max-width: 320px; text-align: left; padding: 8px 10px; font-weight: 400; color: var(--muted); }
.matrix .mx-col { width: 30px; min-width: 30px; max-width: 30px; height: 170px; padding: 6px 0; }
.matrix.wide-cells .mx-col { width: 70px; min-width: 70px; max-width: 70px; }
.mx-col-label { display: block; writing-mode: vertical-rl; transform: rotate(180deg); max-height: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 auto; color: var(--text); font-weight: 500; }
.mx-col.gap { background: var(--danger-bg) !important; }
.mx-count-h { min-width: 48px; padding: 0 6px 8px; font-size: 11px; color: var(--muted); }
.matrix .mx-row { position: sticky; left: 0; z-index: 1; background: var(--panel); text-align: left; font-weight: 400; padding: 5px 10px; max-width: 320px; min-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-right: 1px solid var(--line); }
.matrix .mx-row .swatch { display: inline-block; margin-right: 6px; vertical-align: 0; }
.matrix .mx-row a { color: var(--text); }
.matrix tbody tr:hover td, .matrix tbody tr:hover th { background: var(--hover); }
.matrix tr.gap .mx-row { background: var(--danger-bg); box-shadow: inset 3px 0 0 var(--danger); }
.mx-cell { text-align: center; cursor: pointer; height: 26px; color: var(--ok); font-weight: 700; font-size: 14px; }
.mx-cell:hover { background: var(--accent-2) !important; outline: 1px solid var(--accent); outline-offset: -1px; }
.mx-cell.on { background: var(--ok-bg); }
.mx-cell.mx-diag { background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 3px, var(--surface-3) 3px, var(--surface-3) 5px) !important; cursor: default; outline: 0 !important; }
.mx-relname { display: block; font-size: 9.5px; font-weight: 500; line-height: 1.15; color: var(--ok); white-space: normal; }
.mx-count { text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; padding: 0 6px; }
.matrix tfoot th, .matrix tfoot td { position: sticky; bottom: 0; background: var(--panel-2); border-top: 1px solid var(--line); font-weight: 600; z-index: 1; }
.matrix tfoot .mx-row { z-index: 3; }
.matrix tfoot td.gap { color: var(--danger); }
.mx-mark { color: var(--ok); font-weight: 700; display: inline-block; width: 18px; text-align: center; background: var(--ok-bg); border: 1px solid var(--line); }
.mx-empty-demo, .mx-gap-demo { display: inline-block; width: 18px; height: 14px; border: 1px solid var(--line); vertical-align: -2px; }
.mx-gap-demo { background: var(--danger-bg); box-shadow: inset 3px 0 0 var(--danger); }
.mx-locked-demo { display: inline-block; width: 18px; height: 14px; border: 1px solid var(--line); vertical-align: -2px; background: var(--surface-3); }
.mx-cell.mx-locked { background: var(--surface-2); cursor: not-allowed; }
.mx-cell.mx-locked:hover { outline: 0 !important; background: var(--surface-3) !important; }
.matrix th.mx-col, .matrix tbody th.mx-row { cursor: pointer; }
.matrix th.mx-hl { background: var(--accent-2) !important; color: var(--accent); }
.matrix td.mx-hl:not(.on):not(.mx-assist):not(.mx-locked) { background: color-mix(in srgb, var(--sel-bg) 55%, transparent) !important; }
.matrix th.mx-selected { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-2) !important; }
.matrix th.mx-hit { background: var(--warn-bg) !important; }
.matrix th.mx-hit-cur { background: color-mix(in srgb, var(--amber) 55%, var(--surface)) !important; }
.mx-cell.mx-assist { color: var(--surface); font-weight: 700; }
.mx-cmt { font-size: 10px; margin-right: 3px; }
.mx-readout { color: var(--text); max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-selbar { background: var(--accent-2); }
.mx-error { margin: 8px 12px; padding: 8px 12px; border: 1px solid var(--danger-line); background: var(--danger-bg); color: var(--danger); border-radius: var(--r-ctl); font-size: var(--fs-sm); }
.mx-ok { margin: 8px 0; padding: 8px 12px; border: 1px solid var(--ok); background: var(--ok-bg); color: var(--ok); border-radius: var(--r-ctl); }
.mx-assist-bar { display: flex; align-items: center; gap: 8px; margin: 8px 12px; padding: 6px 10px; background: var(--ok-bg); border: 1px solid var(--ok); border-radius: var(--r-ctl); font-size: var(--fs-sm); position: sticky; left: 0; }
.mx-artbox { margin: 10px 14px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel-2); display: flex; flex-direction: column; gap: 4px; }
.mx-artbox-head { display: flex; align-items: center; }
.mx-selpanel { padding: 0 0 10px; }
.mx-imp-sum { display: flex; gap: 16px; margin: 8px 0; font-weight: 600; }
.mx-imp-sum .ok { color: var(--ok); }
.mx-imp-sum .bad { color: var(--danger); }
.mx-imp-sec { margin: 6px 0; }
.mx-imp-sec summary { cursor: pointer; font-weight: 600; font-size: 13px; }

/* ---------- intelligence ---------- */
.intel-top { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(360px, 1.4fr); gap: var(--gap); }
.intel-big { font-size: var(--fs-2xl); font-weight: 700; line-height: 34px; font-variant-numeric: tabular-nums; }
.intel-classes { margin-top: 10px; width: 100%; font-size: 13px; border-collapse: collapse; }
.intel-classes td { padding: 3px 6px; border-bottom: 1px solid var(--line-2); }
.intel-classes td.num { text-align: right; }
.intel-key { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.intel-key i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.intel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: var(--gap); }
.intel-body { padding: 6px 8px; max-height: 520px; overflow: auto; }
.intel-ok { padding: 8px; color: var(--ok); }
.intel-rule { border-bottom: 1px solid var(--line-2); }
.intel-rule-head { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; text-align: left; padding: 7px 4px; color: var(--text); cursor: pointer; }
.intel-rule-head:hover { background: var(--accent-2); }
.intel-sev.warn { color: var(--brand-900); }
.intel-sev { color: var(--surface); font-size: var(--fs-xs); font-weight: 700; padding: 1px 6px; border-radius: var(--r-sm); flex: none; }
.intel-num { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; min-width: 74px; }
.intel-heading { flex: 1; font-size: 13px; }
.intel-count { background: var(--line-2); border-radius: 10px; padding: 0 8px; font-size: 12px; font-weight: 600; flex: none; }
.intel-issues { padding: 2px 4px 8px 12px; }
.intel-desc { margin: 2px 0 6px; }
.intel-issue { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-top: 1px dashed var(--line-2); }
.intel-issue-main { flex: 1; min-width: 0; }
.intel-fix-head { margin-bottom: 10px; }
.intel-fix-related { max-height: 200px; overflow: auto; border: 1px solid var(--line-2); border-radius: 4px; padding: 6px 8px; margin-bottom: 8px; }
.intel-settings { max-height: 60vh; overflow: auto; }
.intel-settings h4 { margin: 12px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.intel-set-row { display: flex; align-items: center; gap: 10px; padding: 3px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.intel-set-row > span:nth-child(2) { flex: 1; }
.intel-set-row select { width: 110px; }
@media (max-width: 800px) { .intel-top { grid-template-columns: 1fr; } .intel-grid { grid-template-columns: 1fr; } }

/* ---------- charts ---------- */
.charts-grid { grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); }
.chart-card .card-head { font-size: 14px; }
.chart-card .icon-btn.small { font-size: 16px; }
.chart-body { min-height: 200px; }
.chart-svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.chart-mark:hover path, .chart-mark:hover rect:not([fill="transparent"]), .chart-mark:hover circle { filter: brightness(1.08) drop-shadow(0 0 2px rgba(0,0,0,.25)); }
.chart-mark.link { cursor: pointer; }
.chart-table { font-size: 13px; }

/* ---------- test center ---------- */
.tc-page .tc-legend { margin-top: var(--sp-3); }
.tc-table tr.selected td { background: var(--sel-bg); }
.tc-table tr.selected td:first-child { box-shadow: inset 3px 0 0 var(--sel-edge); }
.tc-focus { animation: tc-focus 1.6s ease-out; }
@keyframes tc-focus { 0%, 40% { box-shadow: 0 0 0 3px var(--focus-halo); } 100% { box-shadow: none; } }
.tc-bar { display: flex; height: 12px; border-radius: var(--r-pill); overflow: hidden; background: var(--surface-3); gap: 2px; }
.tc-bar span { display: block; height: 100%; }
.tc-mini { width: 140px; }
.tc-mini .tc-bar { height: 8px; }
.tc-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.tc-filter { display: inline-flex; align-items: center; gap: 6px; height: 28px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-pill); padding: 0 10px; font-size: var(--fs-xs); color: var(--text); }
.tc-filter:hover { background: var(--hover-bg); }
.tc-filter.active { border-color: var(--sel-edge); background: var(--sel-bg); color: var(--text); font-weight: 600; }
.tc-pill { --c: var(--st-notrun); display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 16%, var(--surface)); color: var(--text); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.tc-suite .card-head { flex-wrap: wrap; }
.tc-suite .table-wrap { overflow-x: auto; }
.tc-table td { vertical-align: top; }
.tc-table td textarea { min-width: 170px; font-size: 12px; }
.tc-name { min-width: 220px; max-width: 360px; }
.tc-name a { font-weight: 600; }
.tc-status-btns { display: flex; gap: 0; flex-wrap: nowrap; }
.tc-status-btns .tc-sbtn + .tc-sbtn { margin-left: -1px; }
.tc-status-btns .tc-sbtn:first-child { border-radius: var(--r-ctl) 0 0 var(--r-ctl); }
.tc-status-btns .tc-sbtn:last-child { border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.tc-sbtn { border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: var(--fs-xs); height: 26px; padding: 0 6px; border-radius: 0; white-space: nowrap; position: relative; }
.tc-sbtn.on { z-index: 1; }
.tc-sbtn:hover { border-color: var(--c); color: var(--c); }
.tc-sbtn.on { background: color-mix(in srgb, var(--c) 22%, var(--surface)); border-color: var(--c); color: var(--text); font-weight: 600; }
.tc-verifies { min-width: 160px; }
.tc-req { display: inline-flex; align-items: center; gap: 2px; background: var(--chip-bg); border: 1px solid var(--chip-line); color: var(--chip-text); border-radius: var(--r-pill); padding: 0 2px 0 8px; margin: 0 4px 3px 0; font-size: var(--fs-xs); }
.tc-req button { border: 0; background: none; color: var(--muted); padding: 0 4px; }
.tc-unv-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line-2); }
.tc-coverage { margin-bottom: 16px; }
.tc-run h3 { margin-top: 10px; }
.tc-run-progress { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.tc-run-bar { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; margin: 6px 0 4px; }
.tc-run-bar span { display: block; height: 100%; background: var(--accent); }
.tc-run-text { white-space: pre-wrap; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 10px; }
.tc-run-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.btn.tc-pass { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.btn.tc-fail { background: var(--danger); border-color: var(--danger); color: var(--surface); }
.btn.tc-blocked { color: var(--warn); border-color: var(--warn); }

/* ---------- schema explorer ---------- */
.schema-side { width: 280px !important; }
.schema-search { padding: 12px 14px 0; position: sticky; top: 0; background: var(--panel); z-index: 1; padding-bottom: 6px; }
.schema-page { width: 100%; }
.schema-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.schema-head h2 { margin: 0; font-size: var(--fs-xl); }
.schema-page > .card { margin-bottom: 16px; }
.card-body.flush { padding: 0; overflow-x: auto; }
.schema-table th { cursor: default; }
.schema-table td:first-child { white-space: nowrap; }
.schema-table td code { font-size: 11.5px; background: var(--line-2); padding: 1px 5px; border-radius: 3px; }
.schema-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 3px; padding: 0 6px; margin: 1px 4px 1px 0; font-size: 12px; color: var(--text); background: var(--panel); white-space: nowrap; }
.schema-chip:hover { background: var(--accent-2); text-decoration: none; }
.schema-subs { margin-top: 10px; }
.schema-result { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--line-2); }

/* ---------- version control ---------- */
.vc-page > .card { margin-bottom: 16px; }
.vc-table th { cursor: default; }
.vc-actions { display: flex; gap: 4px; justify-content: flex-end; }
.vc-pick { align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.vc-arrow { font-size: 20px; color: var(--muted); padding-bottom: 16px; }
.vc-tiles { margin: 4px 0 16px; }
.vc-section { margin-top: 16px; }
.vc-section h3 { font-size: 14px; margin-bottom: 6px; }
.vc-diff td { font-size: 12.5px; }
.vc-from { color: var(--danger); background: var(--danger-bg); max-width: 380px; white-space: pre-wrap; }
.vc-to { color: var(--ok); background: var(--ok-bg); max-width: 380px; white-space: pre-wrap; }
.vc-item { padding: 3px 8px; border-radius: 3px; margin-bottom: 2px; font-size: 13px; }
.vc-item.added { background: var(--ok-bg); }
.vc-item.removed { background: var(--danger-bg); }
.vc-rel { display: inline; }

/* ---------- charts ---------- */
.split-btn { display: inline-flex; }
.split-btn .btn:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.split-btn .btn + .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 1px solid rgba(255,255,255,.35); padding: 6px 8px; }
.chart-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.chart-tile { position: relative; cursor: pointer; overflow: hidden; transition: box-shadow .12s; }
.chart-tile:hover { box-shadow: var(--shadow); }
.chart-thumb { height: 150px; background: var(--panel); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 6px; }
.chart-thumb svg { width: 100%; height: 100%; }
.chart-thumb-ph { color: var(--muted); font-size: 13px; }
.chart-tile-body { padding: 8px 12px 10px; }
.chart-tile-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-tile-menu { position: absolute; right: 6px; top: 6px; background: var(--panel) !important; border: 1px solid var(--line) !important; opacity: .85; }
.chart-tile-menu:hover { opacity: 1; }
.chart-editor .content { background: var(--bg); }
.chart-editor-body { flex: 1; overflow: auto; padding: 12px; min-height: 0; }
.chart-canvas { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; max-width: 1100px; }
.chart-canvas svg { width: 100%; height: auto; display: block; }
.xy-pt.sel { filter: drop-shadow(0 0 3px rgba(255, 122, 0, .7)); }
.chart-legend-item.off { opacity: .6; }
.chart-side .pad { padding: 10px 14px; }
.chart-selhead { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line-2); }
.chart-selactions { padding: 8px 14px; }
.chart-roottab h4 { margin: 4px 0 10px !important; }
.chart-set { border: 1px solid var(--line); border-radius: 4px; padding: 6px 12px 4px; margin: 0 0 10px; }
.chart-set legend { font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 4px; }
.chart-set .row { flex-wrap: wrap; align-items: flex-end; }
.chart-settings { max-height: 64vh; overflow: auto; }
.wiz-steps { display: flex; gap: 14px; margin-bottom: 14px; font-size: 12px; color: var(--muted); }
.wiz-steps .on { color: var(--accent); font-weight: 600; }
.xy-sets { display: flex; gap: 14px; min-height: 280px; }
.xy-setlist { width: 190px; flex: none; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-2); padding-right: 10px; }
.xy-setbtn { display: flex; align-items: center; gap: 6px; text-align: left; background: none; border: 1px solid transparent; border-radius: 4px; padding: 5px 8px; color: var(--text); }
.xy-setbtn.active { border-color: var(--accent); background: var(--accent-2); }
.xy-setbtn .swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.xy-setedit { flex: 1; min-width: 0; }
.xy-pts { max-width: 420px; margin: 6px 0; }
.xy-pts input { width: 140px; }
.xy-ycols { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.xy-preview svg { width: 100%; max-width: 560px; height: auto; border: 1px solid var(--line-2); border-radius: 4px; }
.rb-table input { min-width: 0; width: 100%; }
.tc-changed td { background: var(--warn-bg) !important; }
.tc-attr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.tc-compare { margin-top: 14px; }
.tc-cycles .grid-table { margin-bottom: 8px; }
.chart-extra { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.intel-bar-svg { max-height: 300px; }
/* dark theme overrides for light tints */
[data-theme=dark] .tc-run-text { background: var(--panel-2); border-color: var(--line); }

/* ---------- risk scale editor, burn-down, risk register (VVRISK) ---------- */
.rs-edit h4 { margin: 12px 0 4px; font-size: 13px; }
.rs-top { gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.rs-axis td { padding: 3px 4px; vertical-align: middle; }
.rs-axis { width: 100%; }
.rs-axis td:nth-child(2) input { width: 150px; }
.rs-axis td:last-child { width: 55%; }
.rs-axis td:last-child input { width: 100%; min-width: 180px; }
.rs-levels { display: flex; flex-direction: column; gap: 4px; }
.rs-levels .row { gap: 6px; align-items: center; }
.rs-levels > .btn { align-self: flex-start; }
.rs-top .field { margin: 0; }
.rs-top .field > span { min-height: 18px; }
.rs-levels input[type=color] { width: 32px; height: 24px; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: none; }
.rs-grid { display: grid; gap: 2px; align-items: stretch; max-width: 560px; }
.rs-ax { font-size: 11px; color: var(--muted); padding: 4px 6px; display: flex; align-items: center; justify-content: flex-end; text-align: right; }
.rs-ax.col { justify-content: center; text-align: center; }
.rs-cell { border: 0; border-radius: var(--r-sm); min-height: 30px; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-900); cursor: pointer; }
.rs-cell:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
.rb-banner { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 8px 12px; border: 1px solid var(--warn); background: var(--warn-bg); color: var(--text); border-radius: var(--r-ctl); font-size: var(--fs-sm); }
.rb-banner span { flex: 1; }
.rb-table td { vertical-align: middle; }
.rb-summary { padding: 4px 12px; }
.rr-wrap { overflow: auto; }
.rr-text { width: 120px; }
.rr-table tr.selected td { background: var(--sel-bg); }
.rr-table tr.selected td:first-child { box-shadow: inset 3px 0 0 var(--sel-edge); }
.rr-table tbody tr { cursor: pointer; }
.rr-table tbody tr:focus-visible { outline-offset: -2px; box-shadow: none; }
.rr-table .risk-chip { white-space: nowrap; }
.th-sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; white-space: nowrap; }
.rr-table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.rr-table th.sorted { color: var(--accent); }
.rr-table td { vertical-align: middle; }
.rr-table select.input.small { min-width: 96px; }
.rr-trigger { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-bd { text-decoration: none; margin-left: 6px; font-size: var(--fs-xs); padding: 0 6px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); white-space: nowrap; }

/* ---------- verification coverage, steps, run evidence ---------- */
.tc-vlegend { margin-top: 8px; }
.tc-methods { display: inline-flex; gap: 2px; }
.tc-mbtn { width: 24px; height: 24px; border: 1px solid var(--border); background: var(--surface); color: var(--text-3); border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 700; padding: 0; cursor: pointer; }
.tc-mbtn.on { background: var(--sel-bg); border-color: var(--sel-edge); color: var(--text); }
.tc-unv-row .tc-pill { min-width: 84px; text-align: center; }
.tc-steps-btn { margin-top: 4px; }
.tc-evidence { margin-top: 3px; }
.tc-issue { margin-top: 3px; }
.tc-steps { width: 100%; }
.tc-steps td { vertical-align: top; }
.tc-steps textarea { width: 100%; min-width: 140px; }
.tc-run-session { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.tc-run-meta { gap: 16px; align-items: flex-start; flex-wrap: wrap; }
@media (max-width: 700px) { .tc-run-session { grid-template-columns: 1fr; } }
.mx-filter { width: 180px; }
.mx-find { width: 130px; }
