/*
 * Coverage matrix of the views hub: vendors in rows, sections as
 * vertical column heads, count badges and tooltips. Kept out of public.css,
 * which each portal redesign replaces 1:1. Phones keep the card layout of public.css.
 */
.ssp-cov .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ssp-cov__n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--ssp-red, #ec1c24) calc(var(--ssp-n, 1) * 9%), var(--ssp-navy-4, #352a86)); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

@media (min-width: 621px) {
  .ssp-cov__table table { width: 100%; min-width: 0; table-layout: fixed; }
  .ssp-views .ssp-cov__table th, .ssp-views .ssp-cov__table td { min-width: 0; padding: 0; }
  .ssp-views .ssp-cov__table td { height: 34px; text-align: center; cursor: default; }
  .ssp-views .ssp-cov__table td.has-coverage { background: transparent; cursor: help; }
  .ssp-views .ssp-cov__table tbody tr:hover td.has-coverage, .ssp-views .ssp-cov__table tbody tr:hover td.no-coverage { background: rgba(255, 255, 255, 0.05); }
  .ssp-views .ssp-cov__table td.has-coverage:hover .ssp-cov__n, .ssp-views .ssp-cov__table td.has-coverage:focus-visible .ssp-cov__n { box-shadow: 0 0 0 2px #fff; }
  .ssp-cov__none { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); vertical-align: middle; }

  /* vertical column heads, cut with an ellipsis; the tooltip has the full name */
  .ssp-views .ssp-cov__table thead th.ssp-cov__head { height: 170px; padding: 10px 0; vertical-align: bottom; text-align: center; }
  .ssp-cov__head > a, .ssp-cov__head > span { display: inline-block; }
  .ssp-cov__head span { display: inline-block; max-height: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 600; line-height: 1.2; }
  .ssp-views .ssp-cov__table thead th.ssp-cov__corner { padding: 12px 14px; vertical-align: bottom; text-align: left; }
  .ssp-views .ssp-cov__table thead th.is-cross { background: var(--ssp-navy-4, #352a86); }
  .ssp-views .ssp-cov__table tbody tr.is-cross th, .ssp-views .ssp-cov__table td.is-cross { background: rgba(255, 255, 255, 0.07); }

  /* vendors in rows, sections as column heads */
  .ssp-views .ssp-cov__table th.ssp-cov__corner, .ssp-views .ssp-cov__table tbody th { width: 220px; min-width: 0; }
  .ssp-views .ssp-cov__table tbody th.ssp-cov__vendor { padding: 0 12px; }
  .ssp-views .ssp-cov__vendor a { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 620px) {
  .ssp-cov__none { display: none; }
  .ssp-cov .ssp-cov__n { min-width: 0; height: auto; padding: 0; background: none; font-size: 12px; }
}

/* tooltip, appended to <body> so the scroll container does not clip it */
.ssp-tip { position: fixed; z-index: 100000; max-width: 320px; padding: 10px 12px; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(3, 3, 20, 0.35); color: #1b1444; font-size: 13px; line-height: 1.45; pointer-events: none; opacity: 0; transition: opacity 120ms ease; }
.ssp-tip.is-visible { opacity: 1; }
.ssp-tip strong { display: block; font-weight: 700; }
.ssp-tip span { display: block; margin-top: 4px; color: #332f4d; white-space: pre-line; }
.ssp-tip span:empty { display: none; }
