/* Datum · componentes P0 (T42-CP-01). Requer dist/tokens.css e dist/base.css (nessa ordem).
   Contrato: HTML + classes .t42-*; variante em data-variant. Cor só por tokens (--t42-*).
   Elementos chanfrados levam também a classe .t42-chamfer (base.css). Sombra de placa só em .t42-lift-* (nenhum componente a aplica sozinho).
   Valores concretos são decisão de design até validação em uso. */

/* ---------- Tipografia compartilhada ---------- */
.t42-label, .t42-badge, .t42-titleblock dt, .t42-spec th[scope="row"], .t42-spec caption, .t42-prancha__tag, .t42-dotplot .lb {
  font-family: var(--t42-type-label-font-family); font-weight: var(--t42-type-label-font-weight);
  font-size: var(--t42-type-label-font-size); line-height: var(--t42-type-label-line-height);
  letter-spacing: var(--t42-type-label-letter-spacing); text-transform: uppercase;
}
.t42-data, .t42-titleblock dd, .t42-spec td.t42-spec__val, .t42-callout__mark, .t42-steps__n, .t42-dotplot .dt {
  font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight);
  font-size: var(--t42-type-data-font-size); line-height: var(--t42-type-data-line-height); font-variant-numeric: tabular-nums;
}
/* Número em destaque: fluido entre 5xl e 7xl. Um por página. */
.t42-type-data-display { font-size: clamp(var(--t42-font-size-5xl), 9vw, var(--t42-font-size-7xl)); font-variant-numeric: tabular-nums; }
/* Display fluido entre 3xl e 4xl */
.t42-type-display { font-size: clamp(var(--t42-font-size-3xl), 5.4vw, var(--t42-font-size-4xl)); }
.t42-label { color: var(--t42-text-muted); margin: 0; }
.t42-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Button ---------- */
.t42-button {
  --t42-c: var(--t42-button-chamfer); --t42-bw: var(--t42-button-border-width);
  --t42-bc: var(--t42-button-primary-border); --t42-fill: var(--t42-button-primary-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--t42-button-gap);
  min-height: var(--t42-button-height); padding: 0 var(--t42-button-padding-x); margin: 0; border: 0; cursor: pointer;
  color: var(--t42-button-primary-text); text-decoration: none; white-space: nowrap;
  font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); font-size: var(--t42-type-ui-font-size); line-height: var(--t42-type-ui-line-height);
}
.t42-button:hover { --t42-bc: var(--t42-button-primary-bg-hover); --t42-fill: var(--t42-button-primary-bg-hover); }
.t42-button:active { --t42-bc: var(--t42-button-primary-bg-pressed); --t42-fill: var(--t42-button-primary-bg-pressed); }
.t42-button[data-variant="secondary"] { --t42-bc: var(--t42-button-secondary-border); --t42-fill: var(--t42-button-secondary-bg); color: var(--t42-button-secondary-text); }
.t42-button[data-variant="secondary"]:hover, .t42-button[data-variant="secondary"]:active { --t42-bc: var(--t42-button-secondary-border); --t42-fill: var(--t42-button-secondary-bg-hover); }
/* Variante texto: sem chanfro (não leva .t42-chamfer); foco por outline (RC2) */
.t42-button[data-variant="text"] { color: var(--t42-button-text-text); padding: 0 var(--t42-space-2); background: none; clip-path: none; }
.t42-button[data-variant="text"]:hover { color: var(--t42-button-text-text-hover); text-decoration: underline; text-underline-offset: 3px; }
.t42-button[disabled], .t42-button[aria-disabled="true"] { --t42-bc: var(--t42-button-disabled-border); --t42-fill: var(--t42-button-disabled-bg); color: var(--t42-button-disabled-text); cursor: not-allowed; text-decoration: none; }
.t42-button[aria-busy="true"] { cursor: progress; }
.t42-button[data-block] { display: flex; width: 100%; }
/* Foco por último: vence hover e ativo (mesma especificidade, vem depois) */
.t42-button.t42-chamfer:focus-visible { outline: 0; --t42-bc: var(--t42-button-focus-border); --t42-bw: var(--t42-button-focus-border-width); }

/* ---------- Selo (Badge) ---------- */
.t42-badge {
  --t42-c: var(--t42-badge-chamfer); --t42-bw: var(--t42-line-hair); --t42-bc: var(--t42-badge-border); --t42-fill: var(--t42-badge-bg);
  display: inline-flex; align-items: center; gap: var(--t42-badge-gap); min-height: var(--t42-badge-height); padding: 0 var(--t42-badge-padding-x);
  color: var(--t42-badge-text); white-space: nowrap; vertical-align: middle;
}
.t42-badge[data-variant="neutral"] { --t42-bc: var(--t42-badge-neutral-border); --t42-fill: var(--t42-badge-neutral-bg); color: var(--t42-badge-neutral-text); }
.t42-badge[data-variant="info"]    { --t42-bc: var(--t42-badge-info-border);    --t42-fill: var(--t42-badge-info-bg);    color: var(--t42-badge-info-text); }
.t42-badge[data-variant="ok"]      { --t42-bc: var(--t42-badge-ok-border);      --t42-fill: var(--t42-badge-ok-bg);      color: var(--t42-badge-ok-text); }
.t42-badge[data-variant="loss"]    { --t42-bc: var(--t42-badge-loss-border);    --t42-fill: var(--t42-badge-loss-bg);    color: var(--t42-badge-loss-text); }
.t42-badge[data-variant="repair"]  { --t42-bc: var(--t42-badge-repair-border);  --t42-fill: var(--t42-badge-repair-bg);  color: var(--t42-badge-repair-text); }
/* Exemplo: contorno tracejado = linha oculta do desenho ("não é real"). O tracejado não segue o chanfro, então este Selo é retangular (não leva .t42-chamfer). */
.t42-badge[data-variant="example"] {
  background: var(--t42-badge-example-bg); color: var(--t42-badge-example-text); clip-path: none;
  border: var(--t42-badge-example-border-width) dashed var(--t42-badge-example-border);
}

/* ---------- Marcador (info, ok, perda, reparo) ---------- */
.t42-mark { --t42-c: var(--t42-chamfer-sm); --t42-bw: var(--t42-line-struct); --t42-fill: var(--t42-surface-raised);
  flex: none; display: inline-grid; place-items: center; width: var(--t42-notice-icon-size); height: var(--t42-notice-icon-size); color: var(--t42-text-primary);
  font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight); font-size: 12px; line-height: 1; }
.t42-mark[data-kind="info"] { --t42-bc: var(--t42-status-info-mark); }
.t42-mark[data-kind="info"]::after { content: "i"; }
.t42-mark[data-kind="ok"] { --t42-bc: var(--t42-status-ok-mark); }
.t42-mark[data-kind="ok"]::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid var(--t42-status-ok-mark); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.t42-mark[data-kind="loss"] { clip-path: none; background: var(--t42-status-loss-mark); border-radius: var(--t42-radius-disc); width: 12px; height: 12px; margin: 4px; }
.t42-mark[data-kind="loss"]::before { display: none; }
.t42-mark[data-kind="repair"] { clip-path: none; background: var(--t42-status-repair-mark); width: var(--t42-line-emph); height: var(--t42-notice-icon-size); margin-inline: 8px; }
.t42-mark[data-kind="repair"]::before { display: none; }
.t42-badge .t42-mark { width: 12px; height: 12px; font-size: 9px; --t42-bw: var(--t42-line-hair); }
.t42-badge .t42-mark[data-kind="loss"] { width: 8px; height: 8px; margin: 2px; }
.t42-badge .t42-mark[data-kind="repair"] { width: var(--t42-line-emph); height: 14px; margin-inline: 2px; }
.t42-badge .t42-mark[data-kind="ok"]::after { width: 3px; height: 6px; margin-top: -1px; border-width: 0 1.5px 1.5px 0; }

/* ---------- Notice ---------- */
.t42-notice { --t42-c: var(--t42-notice-chamfer); --t42-bw: var(--t42-notice-border-width);
  --t42-bc: var(--t42-notice-info-border); --t42-fill: var(--t42-notice-info-bg); color: var(--t42-notice-info-text);
  display: flex; gap: var(--t42-space-3); align-items: flex-start; padding: var(--t42-notice-padding); }
.t42-notice[data-variant="ok"]     { --t42-bc: var(--t42-notice-ok-border);     --t42-fill: var(--t42-notice-ok-bg);     color: var(--t42-notice-ok-text); }
.t42-notice[data-variant="loss"]   { --t42-bc: var(--t42-notice-loss-border);   --t42-fill: var(--t42-notice-loss-bg);   color: var(--t42-notice-loss-text); }
.t42-notice[data-variant="repair"] { --t42-bc: var(--t42-notice-repair-border); --t42-fill: var(--t42-notice-repair-bg); color: var(--t42-notice-repair-text); }
.t42-notice__body { min-width: 0; }
.t42-notice__body > * { margin: 0; }
.t42-notice__body > * + * { margin-top: var(--t42-space-1); }
.t42-notice__title { font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); }

/* ---------- Prancha (figura em quadro) ---------- */
.t42-prancha { --t42-c: var(--t42-prancha-chamfer); --t42-bw: var(--t42-prancha-border-width);
  --t42-bc: var(--t42-prancha-border); --t42-fill: var(--t42-prancha-bg);
  margin: 0; padding: var(--t42-prancha-padding); display: grid; gap: var(--t42-prancha-gap); min-width: 0; }
.t42-prancha[data-variant="open"] { --t42-bc: var(--t42-prancha-border-open); --t42-bw: var(--t42-prancha-border-width-open); --t42-fill: var(--t42-prancha-bg-open); }
.t42-prancha__tag { color: var(--t42-prancha-label-text); margin: 0; }
.t42-prancha__title { margin: 0; }
.t42-prancha__media { min-width: 0; }
.t42-prancha__media > * { max-width: 100%; }
.t42-prancha[data-empty] .t42-prancha__media { border: var(--t42-line-hair) dashed var(--t42-prancha-empty-border); padding: var(--t42-space-5); }
/* Marcas de registro: só nos cantos NÃO chanfrados (superior esquerdo e inferior direito) */
.t42-reg { position: absolute; width: var(--t42-prancha-mark-size); height: var(--t42-prancha-mark-size); pointer-events: none; border: 0 solid var(--t42-prancha-mark); }
.t42-reg--tl { top: 6px; left: 6px; border-top-width: var(--t42-line-hair); border-left-width: var(--t42-line-hair); }
.t42-reg--br { bottom: 6px; right: 6px; border-bottom-width: var(--t42-line-hair); border-right-width: var(--t42-line-hair); }

.t42-prancha.t42-chamfer:focus-within { --t42-bc: var(--t42-prancha-border); --t42-bw: var(--t42-prancha-border-width); }
.t42-prancha[data-variant="open"].t42-chamfer:focus-within { --t42-bc: var(--t42-prancha-border-open); --t42-bw: var(--t42-prancha-border-width-open); }

/* ---------- Carimbo ---------- */
.t42-titleblock { margin: 0; border-top: var(--t42-titleblock-border-width) solid var(--t42-titleblock-border); }
.t42-titleblock dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--t42-titleblock-divider-width); background: var(--t42-titleblock-divider); border-bottom: var(--t42-titleblock-divider-width) solid var(--t42-titleblock-divider); }
.t42-titleblock dl > div { background: var(--t42-titleblock-bg); padding: var(--t42-titleblock-cell-padding-y) var(--t42-titleblock-cell-padding-x); min-width: 0; }
.t42-prancha[data-variant="open"] .t42-titleblock dl > div { background: var(--t42-prancha-bg-open); }
.t42-titleblock dt { color: var(--t42-titleblock-label-text); }
.t42-titleblock dd { margin: 0; color: var(--t42-titleblock-value-text); overflow-wrap: anywhere; }
.t42-titleblock dd .t42-badge { vertical-align: baseline; margin-left: var(--t42-space-1); }
.t42-titleblock[data-variant="compact"] dl { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* ---------- Chamada (legenda + marcadores) ---------- */
.t42-callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--t42-space-3); counter-reset: none; }
.t42-callout { display: grid; grid-template-columns: auto 1fr; column-gap: var(--t42-space-3); align-items: start; margin: 0; }
.t42-callout__mark { --t42-c: var(--t42-callout-marker-cut); --t42-bw: var(--t42-line-struct); --t42-bc: var(--t42-callout-marker-border); --t42-fill: var(--t42-callout-marker-bg);
  width: var(--t42-callout-marker-size); height: var(--t42-callout-marker-size); display: grid; place-items: center; color: var(--t42-callout-marker-text); }
.t42-callout[data-variant="loss"] .t42-callout__mark { clip-path: none; background: var(--t42-callout-loss-marker-bg); border-radius: var(--t42-radius-disc); color: var(--t42-callout-loss-marker-text); }
.t42-callout[data-variant="loss"] .t42-callout__mark::before { display: none; }
.t42-callout__body { min-width: 0; color: var(--t42-callout-legend-text); }
.t42-callout[data-variant="repair"] .t42-callout__body { border-left: var(--t42-callout-repair-fio-width) solid var(--t42-callout-repair-fio); padding-left: var(--t42-space-3); }
.t42-callout__title { margin: 0; font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); line-height: var(--t42-type-ui-line-height); }
.t42-callout__note { margin: 0; color: var(--t42-callout-legend-note); font-size: var(--t42-type-caption-font-size); line-height: var(--t42-type-caption-line-height); }
/* Elementos de desenho em SVG (aria-hidden): traço do desenho em tokens */
.t42-plate .ln  { fill: none; stroke: var(--t42-border-ink); stroke-width: var(--t42-line-struct); stroke-linejoin: miter; }
.t42-plate .hr  { fill: none; stroke: var(--t42-data-series-1); stroke-width: var(--t42-line-hair); }
.t42-plate .cn  { fill: none; stroke: var(--t42-data-grid); stroke-width: var(--t42-line-hair); }
.t42-plate .hid { fill: none; stroke: var(--t42-border-ink); stroke-width: var(--t42-line-hair); stroke-dasharray: 4 3; }
.t42-plate .fill { fill: var(--t42-surface-raised); stroke: var(--t42-border-ink); stroke-width: var(--t42-line-struct); stroke-linejoin: miter; }
.t42-plate .ldr { fill: none; stroke: var(--t42-callout-leader); stroke-width: var(--t42-callout-leader-width); }
.t42-plate .ldt { fill: var(--t42-callout-leader); }
.t42-plate .mk  { fill: var(--t42-callout-marker-bg); stroke: var(--t42-callout-marker-border); stroke-width: var(--t42-line-struct); stroke-linejoin: miter; }
.t42-plate .mk-loss { fill: var(--t42-callout-loss-marker-bg); stroke: none; }
.t42-plate .mt  { font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight); font-size: 13px; fill: var(--t42-callout-marker-text); text-anchor: middle; dominant-baseline: central; }
.t42-plate .mt-inv { fill: var(--t42-callout-loss-marker-text); }
.t42-plate .fio { fill: none; stroke: var(--t42-callout-repair-fio); stroke-width: var(--t42-callout-repair-fio-width); stroke-linecap: butt; }
.t42-plate .tx  { font-family: var(--t42-type-label-font-family); font-weight: var(--t42-type-label-font-weight); font-size: 11px; letter-spacing: var(--t42-type-label-letter-spacing); text-transform: uppercase; fill: var(--t42-text-muted); }

/* ---------- Ficha técnica ---------- */
.t42-spec { width: 100%; border-collapse: collapse; border-top: var(--t42-line-struct) solid var(--t42-border-ink); color: var(--t42-spec-table-value-text); }
.t42-spec caption { caption-side: top; text-align: left; color: var(--t42-spec-table-label-text); padding: 0 0 var(--t42-space-2); }
.t42-spec th, .t42-spec td { text-align: left; vertical-align: baseline; padding: var(--t42-spec-table-cell-padding-y) var(--t42-spec-table-cell-padding-x); border-bottom: var(--t42-line-hair) solid var(--t42-spec-table-divider); }
.t42-spec th:first-child, .t42-spec td:first-child { padding-left: 0; }
.t42-spec th:last-child, .t42-spec td:last-child { padding-right: 0; }
.t42-spec th[scope="row"] { color: var(--t42-spec-table-label-text); width: 55%; }
.t42-spec td.t42-spec__val { text-align: right; color: var(--t42-spec-table-value-text); white-space: nowrap; }
.t42-spec td.t42-spec__note { color: var(--t42-text-secondary); font-size: var(--t42-type-caption-font-size); line-height: var(--t42-type-caption-line-height); }
.t42-spec thead th { background: var(--t42-spec-table-header-bg); color: var(--t42-spec-table-header-text); padding-inline: var(--t42-spec-table-cell-padding-x); }
.t42-spec tr[data-total] th, .t42-spec tr[data-total] td { border-top: var(--t42-spec-table-total-border-width) solid var(--t42-spec-table-total-border); border-bottom: 0; }
.t42-spec tr[data-total] td.t42-spec__val { font-size: var(--t42-font-size-lg); }
.t42-spec--grouped tbody th[scope="colgroup"] { background: none; color: var(--t42-spec-table-group-text); padding: var(--t42-space-4) 0 var(--t42-space-2); border-bottom: var(--t42-line-struct) solid var(--t42-spec-table-divider); }
.t42-spec--grouped th[scope="row"] { width: auto; text-transform: none; letter-spacing: 0; font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); font-size: var(--t42-type-ui-font-size); color: var(--t42-text-primary); }
.t42-spec--grouped th[scope="row"] { white-space: nowrap; }
.t42-spec--grouped td.t42-spec__val { white-space: normal; text-align: right; }
.t42-spec--grouped td.t42-spec__detail { color: var(--t42-text-secondary); }
.t42-spec--grouped td .t42-badge { white-space: nowrap; }
/* Celular: cada linha vira nome + selo na primeira linha e o detalhe embaixo. Exige roles ARIA explícitos no HTML (display deixa de ser table). */
@media (max-width: 560px) {
  .t42-spec--grouped, .t42-spec--grouped tbody { display: block; }
  .t42-spec--grouped tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--t42-space-3); align-items: baseline; padding: var(--t42-space-3) 0; border-bottom: var(--t42-line-hair) solid var(--t42-spec-table-divider); }
  .t42-spec--grouped th, .t42-spec--grouped td { display: block; padding: 0; border: 0; }
  .t42-spec--grouped th[scope="colgroup"] { grid-column: 1 / -1; padding: var(--t42-space-4) 0 var(--t42-space-2); border-bottom: 0; }
  .t42-spec--grouped tr:has(th[scope="colgroup"]) { padding: 0; border-bottom: var(--t42-line-struct) solid var(--t42-spec-table-divider); }
  .t42-spec--grouped th[scope="row"] { grid-column: 1; grid-row: 1; white-space: normal; }
  .t42-spec--grouped td.t42-spec__val { grid-column: 2; grid-row: 1; }
  .t42-spec--grouped td.t42-spec__detail { grid-column: 1 / -1; grid-row: 2; margin-top: var(--t42-space-1); }
}

/* Variante texto: células com frase (o rótulo da linha continua sendo th[scope=row]). th[data-num] usa fonte de dado. */
.t42-spec--text th[scope="row"] { width: 30%; text-transform: none; letter-spacing: 0; color: var(--t42-text-primary);
  font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); font-size: var(--t42-type-ui-font-size); line-height: var(--t42-type-ui-line-height); }
.t42-spec--text th[scope="row"][data-num] { font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight); font-variant-numeric: tabular-nums; }
.t42-spec--text th[scope="row"][data-num] { white-space: nowrap; }
.t42-spec--text td { color: var(--t42-text-secondary); white-space: normal; }

/* ---------- Accordion ---------- */
.t42-accordion { border-top: var(--t42-accordion-divider-width) solid var(--t42-accordion-divider); }
.t42-accordion details { border-bottom: var(--t42-accordion-divider-width) solid var(--t42-accordion-divider); }
.t42-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: var(--t42-space-4); min-height: var(--t42-accordion-summary-height); padding: var(--t42-space-4) 0; cursor: pointer; list-style: none;
  color: var(--t42-accordion-summary-text); font-family: var(--t42-type-lead-font-family); font-weight: var(--t42-font-weight-medium); font-size: var(--t42-type-lead-font-size); line-height: var(--t42-type-lead-line-height); }
.t42-accordion summary::-webkit-details-marker { display: none; }
.t42-accordion summary:focus-visible { outline: var(--t42-focus-width) solid var(--t42-focus-color); outline-offset: 3px; }
.t42-acc-mark { --t42-c: var(--t42-accordion-marker-chamfer); --t42-bw: var(--t42-line-struct); --t42-bc: var(--t42-accordion-marker-border); --t42-fill: var(--t42-surface-page);
  position: relative; flex: none; width: var(--t42-accordion-marker-size); height: var(--t42-accordion-marker-size); }
.t42-acc-mark i { position: absolute; left: 50%; top: 50%; background: var(--t42-accordion-marker-border); transition: transform var(--t42-duration-base) var(--t42-ease-mechanical); }
.t42-acc-mark i:first-child { width: 10px; height: var(--t42-line-struct); margin: calc(var(--t42-line-struct) / -2) 0 0 -5px; }
.t42-acc-mark i:last-child { width: var(--t42-line-struct); height: 10px; margin: -5px 0 0 calc(var(--t42-line-struct) / -2); }
.t42-accordion details[open] .t42-acc-mark i:last-child { transform: scaleY(0); }
.t42-accordion summary:hover .t42-acc-mark { --t42-fill: var(--t42-accordion-marker-hover-bg); }
.t42-accordion__body { max-width: var(--t42-container-prose); padding: 0 0 var(--t42-space-5); color: var(--t42-accordion-body-text); }
.t42-accordion__body > * { margin: 0; }
.t42-accordion__body > * + * { margin-top: var(--t42-space-3); }

/* ---------- Gráfico de pontos (SVG estático gerado no build) ---------- */
.t42-dotplot { display: block; width: 100%; height: auto; overflow: visible; }
.t42-dotplot .axis { fill: none; stroke: var(--t42-dotplot-axis); stroke-width: var(--t42-dotplot-axis-width); }
.t42-dotplot .tick { fill: none; stroke: var(--t42-dotplot-axis); stroke-width: var(--t42-dotplot-axis-width); }
.t42-dotplot .pt { fill: var(--t42-dotplot-point); }
.t42-dotplot .pt-none { fill: var(--t42-dotplot-point-empty-fill); stroke: var(--t42-dotplot-point); stroke-width: var(--t42-dotplot-ring-width); }
.t42-dotplot .median { stroke: var(--t42-dotplot-baseline); stroke-width: var(--t42-line-hair); stroke-dasharray: 5 4; fill: none; }
.t42-dotplot .zone { stroke: var(--t42-dotplot-zone-divider); stroke-width: var(--t42-line-hair); stroke-dasharray: 5 4; fill: none; }
.t42-dotplot .loss { fill: var(--t42-dotplot-loss); }
.t42-dotplot .tk { font-family: var(--t42-type-caption-font-family); font-size: 12.8px; fill: var(--t42-dotplot-tick-text); }
.t42-dotplot .nt { font-family: var(--t42-type-caption-font-family); font-size: 12.8px; fill: var(--t42-dotplot-note-text); }
.t42-dotplot .lb { font-size: 12.8px; fill: var(--t42-dotplot-label-text); text-transform: none; }
.t42-dotplot .dt { font-size: 14px; fill: var(--t42-dotplot-label-text); }
.t42-dotplot .ta-e { text-anchor: end; } .t42-dotplot .ta-m { text-anchor: middle; }

/* ---------- Tabela comparativa ---------- */
.t42-compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; background: var(--t42-surface-page); }
.t42-compare caption { caption-side: top; text-align: left; padding: 0 0 var(--t42-space-3); color: var(--t42-text-muted); }
.t42-compare th, .t42-compare td { text-align: left; vertical-align: top; padding: var(--t42-table-cell-padding-y) var(--t42-table-cell-padding-x); border-bottom: var(--t42-line-hair) solid var(--t42-table-row-divider); }
.t42-compare thead th { background: var(--t42-table-header-bg); color: var(--t42-table-header-text); border-bottom: var(--t42-line-struct) solid var(--t42-table-frame); }
.t42-compare tbody th { font-weight: var(--t42-font-weight-regular); width: 26%; color: var(--t42-text-primary); }
.t42-compare .us { background: var(--t42-table-us-bg); border-left: var(--t42-table-us-border-width) solid var(--t42-table-us-border); border-right: var(--t42-table-us-border-width) solid var(--t42-table-us-border); }
.t42-compare thead .us { border-top: var(--t42-table-us-border-width) solid var(--t42-table-us-border); color: var(--t42-text-primary); }
.t42-compare tbody tr:last-child .us { border-bottom: var(--t42-table-us-border-width) solid var(--t42-table-us-border); }
.t42-compare tbody tr:hover th, .t42-compare tbody tr:hover td:not(.us) { background: var(--t42-table-row-hover-bg); }
.t42-compare td.us { font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); }
.t42-v { display: inline-flex; align-items: flex-start; gap: var(--t42-space-2); }
.t42-v__mark { --t42-c: var(--t42-chamfer-sm); --t42-bw: var(--t42-line-hair); --t42-bc: var(--t42-table-marker-neutral); --t42-fill: var(--t42-surface-page);
  flex: none; position: relative; width: var(--t42-table-marker-size); height: var(--t42-table-marker-size); margin-top: 2px; }
.t42-compare .us .t42-v__mark { --t42-fill: var(--t42-table-us-bg); }
.t42-v__mark::after { content: ""; position: absolute; left: 50%; top: 50%; }
.t42-v[data-r="yes"] .t42-v__mark { --t42-bc: var(--t42-table-marker-yes); --t42-bw: var(--t42-line-struct); }
.t42-v[data-r="yes"] .t42-v__mark::after { width: 4px; height: 8px; margin: -6px 0 0 -2px; border: solid var(--t42-table-marker-yes); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.t42-v[data-r="no"] .t42-v__mark::after { content: "\00d7"; margin: -9px 0 0 -4px; font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight); font-size: 15px; line-height: 1; color: var(--t42-table-marker-neutral); }
.t42-v[data-r="part"] .t42-v__mark::after { width: 8px; height: var(--t42-line-struct); margin: calc(var(--t42-line-struct) / -2) 0 0 -4px; background: var(--t42-table-marker-neutral); }
.t42-v__text { color: var(--t42-text-secondary); }
.t42-compare .us .t42-v__text { color: var(--t42-text-primary); }
@media (max-width: 700px) {
  .t42-compare-wrap { overflow: visible; }
  .t42-compare, .t42-compare tbody { display: block; min-width: 0; }
  .t42-compare caption { display: block; }
  .t42-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .t42-compare tbody { display: grid; gap: var(--t42-space-4); }
  .t42-compare tbody tr { display: block; border: var(--t42-line-hair) solid var(--t42-border-control); background: var(--t42-surface-page); }
  .t42-compare tbody th { display: block; width: auto; padding: var(--t42-space-4) var(--t42-space-4) var(--t42-space-3); font-family: var(--t42-type-ui-font-family); font-weight: var(--t42-type-ui-font-weight); border-bottom: 0; }
  .t42-compare tbody td { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--t42-space-3); align-items: start; padding: var(--t42-space-3) var(--t42-space-4); border-bottom: var(--t42-line-hair) solid var(--t42-table-row-divider); }
  .t42-compare tbody td::before { content: attr(data-label); color: var(--t42-text-muted); font-size: var(--t42-type-caption-font-size); line-height: var(--t42-type-caption-line-height); }
  .t42-compare tbody td.us { border-left: var(--t42-table-us-border-width) solid var(--t42-table-us-border); border-right: 0; border-bottom: var(--t42-line-hair) solid var(--t42-table-row-divider); }
  .t42-compare tbody td.us::before { color: var(--t42-text-primary); font-weight: var(--t42-font-weight-medium); }
  .t42-compare tbody tr:last-child .us { border-bottom: var(--t42-line-hair) solid var(--t42-table-row-divider); }
  .t42-compare tbody tr td:last-child { border-bottom: 0; }
  .t42-compare tbody tr:hover th, .t42-compare tbody tr:hover td:not(.us) { background: none; }
}

/* ---------- Passos ---------- */
.t42-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--t42-steps-gap); }
.t42-steps li { min-width: 0; }
.t42-steps__head { display: flex; align-items: center; gap: var(--t42-space-4); }
.t42-steps li:not(:last-child) .t42-steps__head::after { content: ""; flex: 1; border-top: var(--t42-steps-connector-width) solid var(--t42-steps-connector); }
.t42-steps__n { --t42-c: var(--t42-steps-marker-chamfer); --t42-bw: var(--t42-steps-marker-border-width); --t42-bc: var(--t42-steps-marker-border); --t42-fill: var(--t42-steps-marker-bg);
  flex: none; display: grid; place-items: center; width: var(--t42-steps-marker-size); height: var(--t42-steps-marker-size); color: var(--t42-steps-marker-text); }
@media (max-width: 767.98px) { .t42-steps { grid-template-columns: minmax(0, 1fr); } .t42-steps li:not(:last-child) .t42-steps__head::after { display: none; } }

/* ---------- Marca (lockup T42-MRC-02) ----------
   Insira o conteúdo de assets/marca/trama42-lockup-h-ink.svg inline, com as cores trocadas por currentColor e a classe t42-lockup__logo:
   a tinta segue `color` do .t42-lockup e, portanto, o tema (claro ou escuro). Altura mínima do lockup: 96px de largura. */
.t42-lockup { display: inline-flex; align-items: center; color: var(--t42-text-primary); text-decoration: none; }
.t42-lockup__logo { display: block; height: 36px; width: auto; }

/* ---------- Padrões de página ---------- */
.t42-header { background: var(--t42-header-bg); border-bottom: var(--t42-header-border-width) solid var(--t42-header-border); }
.t42-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--t42-space-4); min-height: var(--t42-header-height); }
.t42-dock { position: fixed; inset: auto 0 0 0; z-index: var(--t42-z-sticky); background: var(--t42-dock-bg); border-top: var(--t42-dock-border-width) solid var(--t42-dock-border); padding: var(--t42-dock-padding) var(--t42-space-4);
  visibility: hidden; transform: translateY(100%); transition: transform var(--t42-duration-base) var(--t42-ease-mechanical), visibility var(--t42-duration-base); }
.t42-dock.on { visibility: visible; transform: none; }
.t42-container { width: 100%; max-width: var(--t42-container-max); margin-inline: auto; padding-inline: var(--t42-layout-gutter-md); }
.t42-section { padding-block: var(--t42-layout-section); }
@media (max-width: 767.98px) { .t42-container { padding-inline: var(--t42-layout-gutter-sm); } .t42-section { padding-block: var(--t42-layout-block); } }
.t42-prose { max-width: var(--t42-container-prose); }

/* ---------- Movimento M2: a prancha se desenha uma vez (só opacity e stroke-dashoffset) ---------- */
@keyframes t42-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes t42-stroke { to { stroke-dashoffset: 0; } }
.t42-js [data-draw] .pt, .t42-js [data-draw] .pt-none, .t42-js [data-draw] .loss, .t42-js [data-draw] .dr-fade { opacity: 0; }
.t42-js [data-draw] .axis, .t42-js [data-draw] .dr-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.t42-js [data-draw].is-in .pt, .t42-js [data-draw].is-in .pt-none, .t42-js [data-draw].is-in .dr-fade { animation: t42-fade var(--t42-duration-draw-short) var(--t42-ease-mechanical) both; animation-delay: calc(var(--i, 0) * 18ms); }
.t42-js [data-draw].is-in .loss { animation: t42-fade var(--t42-duration-draw-short) var(--t42-ease-mechanical) both; animation-delay: var(--t42-duration-draw-short); }
.t42-js [data-draw].is-in .axis, .t42-js [data-draw].is-in .dr-line { animation: t42-stroke var(--t42-duration-draw-long) var(--t42-ease-mechanical) both; }
@media (prefers-reduced-motion: reduce) { .t42-js [data-draw] * { animation-delay: 0s !important; } }

/* =====================================================================================================
   T42-CP-02 · camada expressiva (Datum 0.4.0). Opt-in: nada acima muda. Ver docs/componentes-p1.md.
   Escuro = <elemento data-theme="dark">: os tokens semânticos e os de componente dependentes são reemitidos (dist/tokens.css).
   Alfa de cor sai de color-mix() sobre token (não há token de alfa por uso). Navegador sem color-mix perde a lavagem, não o conteúdo [VERIFICAR suporte].
   ===================================================================================================== */

/* ---------- Faixa de página (Band) ----------
   <section class="t42-band" data-surface="enamel|panel|hero" data-theme="dark" data-notch style="--t42-band-prev: <cor da faixa anterior>">
   data-notch corta o canto superior direito em 45° e mostra a cor da faixa anterior. */
.t42-band { position: relative; overflow: clip; padding-block: clamp(64px, 8vw, 112px); background-color: var(--t42-surface-page); color: var(--t42-text-primary); }
.t42-band > .t42-container { position: relative; z-index: 1; }
.t42-band[data-surface="enamel"] { background-color: var(--t42-surface-enamel);
  background-image: radial-gradient(760px 420px at 100% 0%, color-mix(in srgb, var(--t42-accent-signal) 10%, transparent), transparent 65%), linear-gradient(180deg, var(--t42-surface-raised) 0%, var(--t42-surface-enamel-2) 100%); }
.t42-band[data-surface="panel"] { background-color: var(--t42-surface-panel);
  background-image: radial-gradient(700px 400px at 0% 0%, color-mix(in srgb, var(--t42-accent-mist) 22%, transparent), transparent 65%), linear-gradient(180deg, var(--t42-surface-panel), color-mix(in srgb, var(--t42-surface-sunken) 50%, var(--t42-surface-panel))); }
.t42-band[data-surface="hero"] { isolation: isolate; background-color: var(--t42-surface-page);
  background-image: radial-gradient(900px 520px at 88% 6%, color-mix(in srgb, var(--t42-accent-signal) 20%, transparent), transparent 62%), radial-gradient(760px 520px at 0% 0%, color-mix(in srgb, var(--t42-accent-mist) 30%, transparent), transparent 60%), linear-gradient(180deg, var(--t42-surface-enamel-2) 0%, var(--t42-surface-page) 100%); }
.t42-band[data-surface="hero"]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--t42-accent-deep) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--t42-accent-deep) 7%, transparent) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%); }
.t42-band[data-theme="dark"] { background-color: var(--t42-surface-page);
  background-image: radial-gradient(760px 420px at 100% 0%, color-mix(in srgb, var(--t42-accent-signal) 13%, transparent), transparent 62%), radial-gradient(680px 460px at 0% 100%, color-mix(in srgb, var(--t42-accent-deep) 38%, transparent), transparent 62%); }
.t42-band[data-notch]::before { content: ""; position: absolute; top: 0; right: 0; z-index: 2; width: var(--t42-band-notch); height: var(--t42-band-notch); background: var(--t42-band-prev, var(--t42-surface-page)); clip-path: polygon(0 0, 100% 0, 100% 100%); }
@media (max-width: 880px) { .t42-band[data-notch]::before { width: var(--t42-band-notch-sm); height: var(--t42-band-notch-sm); } }

/* malha de pontos e marca d'água (decorativas, aria-hidden) */
.t42-dots::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, color-mix(in srgb, var(--t42-accent-deep) 20%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%); }
.t42-watermark { position: absolute; z-index: 0; width: clamp(180px, 26vw, 340px); aspect-ratio: 100 / 140; right: -2%; top: 8%; color: var(--t42-accent-deep); opacity: .09; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1; }

/* circuito: linhas com dobra de 45°, hachura e traços curtos (referência cyberpunk). Posição vem da página (--t42-circuit-top). */
.t42-circuit { position: absolute; z-index: -1; left: 0; top: var(--t42-circuit-top, 0); width: 100%; height: 150px; color: var(--t42-accent-deep); pointer-events: none; fill: none; stroke: currentColor; }
.t42-circuit .c1 { stroke-width: 1; opacity: .38; } .t42-circuit .c2 { stroke-width: 2; opacity: .5; } .t42-circuit .c3 { stroke: var(--t42-accent-signal-dim); stroke-width: 2; opacity: .9; }
.t42-circuit .cb { fill: currentColor; stroke: none; opacity: .5; } .t42-circuit .cs { fill: var(--t42-accent-signal-dim); stroke: none; }
.t42-circuit[data-variant="frame"] { z-index: 0; top: 0; height: 100%; color: var(--t42-accent-signal); opacity: .35; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 35%, #000 100%); }

/* ---------- Cartão (Card): chanfro + linha de acento; sombra suave vai no CONTAINER (.t42-soft) ---------- */
.t42-card { --t42-c: var(--t42-card-chamfer); --t42-bw: var(--t42-card-border-width); --t42-bc: var(--t42-card-border); --t42-fill: var(--t42-card-bg); padding: var(--t42-card-padding); min-width: 0; }
.t42-card::after { content: ""; position: absolute; left: 0; top: 0; height: var(--t42-card-accent-width); width: var(--t42-card-accent-length); background: var(--t42-card-accent); transition: width var(--t42-duration-base) var(--t42-ease-mechanical); }
.t42-card:hover::after { width: 100%; }
.t42-prancha[data-variant="card"] { --t42-fill: var(--t42-card-bg); --t42-bc: var(--t42-card-border); --t42-bw: var(--t42-card-border-width); --t42-titleblock-bg: transparent; }

/* Ícone em chip (28px de traço, canto vivo) */
.t42-icon { --t42-c: var(--t42-icon-chamfer); --t42-bw: 0px; --t42-fill: var(--t42-icon-bg); --t42-bc: var(--t42-icon-bg); display: grid; place-items: center; width: var(--t42-icon-size); height: var(--t42-icon-size); color: var(--t42-icon-text); }
.t42-i { width: var(--t42-icon-glyph); height: var(--t42-icon-glyph); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: miter; stroke-linecap: butt; flex: none; }

/* Número em destaque com origem (Stat). O número grande de página continua sendo .t42-type-data-display (um por página). */
.t42-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t42-stats > li { padding: var(--t42-space-2) var(--t42-space-6); border-left: var(--t42-line-hair) solid var(--t42-border-control); }
.t42-stats > li:first-child { padding-left: 0; border-left: 0; }
.t42-stat__n { display: block; font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight); font-variant-numeric: tabular-nums; font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1; letter-spacing: -0.02em; color: var(--t42-stat-number); }
.t42-stat__of { font-size: .5em; letter-spacing: 0; padding-inline: .15em; color: var(--t42-stat-label); }
.t42-stat__t { display: block; margin-top: var(--t42-stat-gap); max-width: 28ch; color: var(--t42-stat-label); }
@media (max-width: 880px) {
  .t42-stats { grid-template-columns: minmax(0, 1fr); gap: var(--t42-space-4); }
  .t42-stats > li, .t42-stats > li:first-child { padding: var(--t42-space-4) 0 0; border-left: 0; border-top: var(--t42-line-hair) solid var(--t42-border-control); }
  .t42-stats > li:first-child { border-top: 0; padding-top: 0; }
}

/* Chip de vidro: etiqueta de estado sobre palco escuro. Fundo OPACO (fundo com alfa deixa a cor da borda do chanfro aparecer). */
.t42-chip { --t42-c: var(--t42-chip-chamfer); --t42-bw: var(--t42-line-hair); --t42-bc: var(--t42-chip-border); --t42-fill: var(--t42-chip-bg);
  display: flex; align-items: baseline; gap: 10px; width: max-content; max-width: 236px; padding: 9px 14px; font-size: var(--t42-font-size-xs); line-height: 1.3; color: var(--t42-chip-text); }
.t42-chip b { font-family: var(--t42-type-data-font-family); font-weight: var(--t42-type-data-font-weight); color: var(--t42-chip-key); white-space: nowrap; }

/* ---------- Elevação e brilho ----------
   Todos usam filter: drop-shadow no CONTAINER (o clip-path do chanfro corta box-shadow e filter do próprio elemento). */
.t42-soft { filter: drop-shadow(0 1px 1px var(--t42-elevation-soft-1)) drop-shadow(0 16px 24px var(--t42-elevation-soft-2)); min-width: 0; }
.t42-glow { min-width: 0; filter: drop-shadow(0 0 1px color-mix(in srgb, var(--t42-accent-signal) 55%, transparent)) drop-shadow(0 0 16px color-mix(in srgb, var(--t42-accent-signal) 20%, transparent)); }
.t42-glow[data-variant="on-light"] { filter: drop-shadow(0 18px 24px color-mix(in srgb, var(--t42-text-primary) 22%, transparent)) drop-shadow(0 0 14px color-mix(in srgb, var(--t42-accent-signal) 30%, transparent)); }


/* ---------- Palco (Stage): painel escuro técnico com grade, régua e hachura. Use com data-theme="dark" e .t42-chamfer. ---------- */
.t42-stage { --t42-c: var(--t42-stage-chamfer); --t42-bw: var(--t42-stage-border-width); --t42-bc: var(--t42-stage-border);
  --t42-fill: radial-gradient(420px 320px at 36% 26%, color-mix(in srgb, color-mix(in srgb, var(--t42-accent-signal) 30%, var(--t42-accent-deep)) 55%, transparent), transparent 70%), radial-gradient(520px 380px at 100% 100%, color-mix(in srgb, var(--t42-accent-deep) 50%, transparent), transparent 70%), linear-gradient(160deg, var(--t42-surface-panel), var(--t42-surface-sunken));
  position: relative; overflow: hidden; color: var(--t42-text-primary); }
.t42-stage__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(color-mix(in srgb, var(--t42-accent-mist) 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--t42-accent-mist) 9%, transparent) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 80% 70% at 40% 30%, #000 30%, transparent 80%); }
.t42-stage__ruler { position: absolute; left: 12px; top: 64px; bottom: 32px; width: 9px; pointer-events: none; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--t42-accent-mist) 60%, transparent) 0 1px, transparent 1px 10px); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.t42-stage__hatch { position: absolute; right: 36px; top: 20px; width: 76px; height: 20px; pointer-events: none; background: repeating-linear-gradient(135deg, var(--t42-accent-signal) 0 1px, transparent 1px 6px); opacity: .7; }
.t42-stage__tag { position: absolute; left: 36px; top: 20px; margin: 0; color: var(--t42-stage-tag); font-family: var(--t42-type-label-font-family); font-weight: var(--t42-type-label-font-weight); font-size: var(--t42-type-label-font-size); line-height: var(--t42-type-label-line-height); letter-spacing: var(--t42-type-label-letter-spacing); text-transform: uppercase; }
/* varredura: passa uma vez, da esquerda para a direita, quando o palco entra na tela (mesmo gatilho do M2: classe .is-in via [data-draw]) */
.t42-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent 0%, transparent 78%, color-mix(in srgb, var(--t42-scan-color) 22%, transparent) 97%, var(--t42-scan-color) 99.4%, transparent 99.4%); }
.t42-js .t42-scan.is-in { animation: t42-scan 2.8s var(--t42-ease-mechanical) .5s 1 both; }
@keyframes t42-scan { 0% { transform: translateX(-100%); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }

/* Rim light: borda em gradiente cônico (sinal → azul-neon), 2px. Estático; gira só no hover. Combina com .t42-chamfer (a borda do chanfro é o fundo do elemento).
   Só em card escuro, 3 por página no máximo. */
@property --t42-rim-angle { syntax: "<angle>"; inherits: false; initial-value: 28deg; }
.t42-rim { --t42-bw: var(--t42-rim-width);
  --t42-bc: conic-gradient(from var(--t42-rim-angle), var(--t42-rim-a) 0deg, color-mix(in srgb, var(--t42-rim-a) 38%, transparent) 70deg, color-mix(in srgb, var(--t42-accent-mist) 34%, transparent) 170deg, color-mix(in srgb, var(--t42-rim-b) 90%, transparent) 236deg, color-mix(in srgb, var(--t42-rim-a) 38%, transparent) 300deg, var(--t42-rim-a) 360deg); }
.t42-rim:hover { animation: t42-rim-spin 6s linear infinite; }
@keyframes t42-rim-spin { to { --t42-rim-angle: 388deg; } }

/* ---------- Variantes opt-in de componentes P0 ---------- */
/* Passos com numeral sólido */
.t42-steps[data-variant="solid"] .t42-steps__n { --t42-fill: var(--t42-surface-inverse); --t42-bc: var(--t42-surface-inverse); color: var(--t42-accent-signal); width: 52px; height: 52px; }
.t42-steps[data-variant="solid"] li:not(:last-child) .t42-steps__head::after { border-top: 2px dashed var(--t42-accent-mist); }
/* Accordion em cartões */
.t42-accordion[data-variant="cards"] { border-top: 0; display: grid; gap: var(--t42-space-3); filter: drop-shadow(0 1px 1px var(--t42-elevation-soft-1)) drop-shadow(0 16px 24px var(--t42-elevation-soft-2)); }
.t42-accordion[data-variant="cards"] details { background: var(--t42-card-bg); border: 0; border-left: 3px solid var(--t42-card-border); padding: 0 var(--t42-space-5); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); transition: border-color var(--t42-duration-base) var(--t42-ease-mechanical); }
.t42-accordion[data-variant="cards"] details[open] { border-left-color: var(--t42-card-accent); }
.t42-accordion[data-variant="cards"] summary { padding-block: var(--t42-space-5); }
/* Tabela comparativa: cabeçalho forte, coluna "nós" em destaque */
.t42-compare[data-variant="strong"] { background: var(--t42-card-bg); }
.t42-compare[data-variant="strong"] thead th { background: var(--t42-card-bg); border-bottom: var(--t42-line-struct) solid var(--t42-surface-inverse); }
.t42-compare[data-variant="strong"] thead .us { background: var(--t42-surface-inverse); color: var(--t42-text-inverse); border-top: 0; border-left-color: var(--t42-surface-inverse); border-right-color: var(--t42-surface-inverse); }
.t42-compare[data-variant="strong"] .us { background: color-mix(in srgb, var(--t42-accent-signal) 10%, var(--t42-card-bg)); }
.t42-compare[data-variant="strong"] .us .t42-v__mark { --t42-fill: color-mix(in srgb, var(--t42-accent-signal) 10%, var(--t42-card-bg)); }

@media (prefers-reduced-motion: reduce) {
  .t42-scan, .t42-js .t42-scan.is-in { animation: none; opacity: 0; }
  .t42-rim:hover { animation: none; }
}
