/* Competitive gaps (v3/gaps.js, features?sec=gaps). Theme tokens only: bars --v-s1 on --v-track, matrix marks in the
   status tokens with a glyph and a hidden label (never color alone), grid and axes recessive. */
.gp-hero { display: flex; align-items: center; gap: 14px; margin: 4px 0 12px; min-width: 0; }
.gp-big { font-size: 30px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.gp-hero-r { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gp-hero .gp-meter { height: 10px; }
.gp-meter { display: block; height: 8px; border-radius: 4px; background: var(--v-track); overflow: hidden; min-width: 60px; }
.gp-meter > span { display: block; height: 100%; border-radius: 4px; background: var(--v-s1); }
.gp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gp-head { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) 84px; gap: 10px; align-items: center; padding: 6px 4px; border-radius: 8px; }
.gp-head:hover, .gp-head:focus-visible { background: var(--panel2); }
.gp-head:focus-visible { outline: 2px solid var(--v-s1); }
.gp-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-head .nowrap { text-align: right; font-variant-numeric: tabular-nums; }
.gp-body { padding: 2px 4px 10px 22px; display: flex; flex-direction: column; gap: 6px; overflow-wrap: anywhere; }
.gp-burn svg { display: block; width: 100%; max-width: 560px; height: auto; }
.gp-grid { stroke: var(--v-grid); stroke-width: 1; }
.gp-ax { fill: var(--mute); font-size: 11px; }
.gp-lbl { fill: var(--ink2); font-size: 11px; }
.gp-line { fill: none; stroke: var(--v-s1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gp-dot { fill: var(--v-s1); stroke: var(--panel); stroke-width: 2; }
.gp-hit { fill: transparent; }
.gp-pt:hover .gp-dot { r: 5; }
.gp-mx { overflow-x: auto; max-width: 100%; position: relative; } /* relative: the cells' sr-only labels stay inside the scroller */
.gp-mx table { border-collapse: collapse; font-size: 13px; min-width: 560px; width: 100%; }
.gp-mx th, .gp-mx td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.gp-mx th[scope="row"], .gp-mx thead th:first-child { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--panel); }
.gp-mx thead th { font-weight: 500; color: var(--ink2); }
.gp-c a { color: inherit; text-decoration: none; display: inline-block; min-width: 20px; }
.gp-c a:hover { text-decoration: underline; }
.gp-yes, .gp-us-done { color: var(--good); }
.gp-part, .gp-us-partial { color: var(--warn); }
.gp-no, .gp-us-missing { color: var(--bad); }
.gp-unk { color: var(--mute); }
.gp-us-done, .gp-us-partial, .gp-us-missing { font-weight: 700; background: var(--panel2); }
.gp-key { margin-top: 6px; }
.gp-adv { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .gp-head { grid-template-columns: minmax(0, 1fr) auto; }
  .gp-head .gp-meter { grid-column: 1 / -1; grid-row: 2; }
  .gp-name { white-space: normal; }
  .gp-big { font-size: 24px; }
  .gp-mx th[scope="row"] { white-space: normal; min-width: 120px; max-width: 130px; }
}
/* v9 (CPO review fix 6, 11-07): Us vs the named competitors; "not compared" cells faint. */
.gp-v9 .gp-unk { color: var(--v9-line2); opacity: .6; }
.gp-vs { display: grid; gap: 8px; }
.gp-vs-k { display: flex; flex-wrap: wrap; gap: 4px 14px; font: var(--v9-f-small); color: var(--v9-ink2); }
.gp-vs-k i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
.gp-vs-r { display: grid; grid-template-columns: minmax(90px, 160px) minmax(0, 1fr) minmax(0, 300px); gap: 12px; align-items: center; }
.gp-vs-r.us .gp-vs-n { font-weight: 700; }
.gp-vs-b { display: flex; gap: 2px; height: 16px; }
.gp-vs-b i { display: block; border-radius: 3px; min-width: 3px; }
@media (max-width: 760px) { .gp-vs-r { grid-template-columns: 1fr; gap: 4px; } }
