/* V42: keep reconciliation colours on badges only, never on complete table rows. */
.shi-table-wrap tr.matched,
.shi-table-wrap tr.matched > td {
  background: transparent !important;
}

.shi-table-wrap tbody tr:nth-child(even):not(.missing):not(.review) > td {
  background: rgba(255, 255, 255, 0.012) !important;
}

.shi-table-wrap td > span.matched {
  border-color: #17624f;
  color: #6ee7b7;
  background: #0b3029;
}

/* V43: desktop audit drawer uses 90% of the viewport and prioritises legibility. */
@media (min-width: 901px) {
  .shi-panel {
    width: 90vw;
    max-width: none;
    height: 92vh;
  }

  .shi-panel > header {
    padding: 22px 28px;
  }

  .shi-panel h2 {
    font-size: 28px;
  }

  .shi-panel header p {
    font-size: 13px;
  }

  .shi-panel > main {
    gap: 14px;
    padding: 18px 22px;
  }

  .shi-kpis article {
    min-height: 122px;
    padding: 22px;
  }

  .shi-kpis article > i {
    width: 62px;
    height: 62px;
    font-size: 27px;
  }

  .shi-kpis span {
    font-size: 15px;
  }

  .shi-kpis b {
    font-size: 30px;
  }

  .shi-kpis small,
  .shi-ai article span {
    font-size: 12px;
  }

  .shi-ai > header,
  .shi-ai article b {
    font-size: 14px;
  }

  .shi-ai article {
    min-height: 94px;
    padding: 15px 20px;
  }

  .shi-toolbar input,
  .shi-toolbar select {
    height: 48px;
    font-size: 14px;
  }

  .shi-table-wrap th {
    height: 52px;
    padding: 0 16px;
    font-size: 12px;
  }

  .shi-table-wrap th:nth-child(2) { width: 205px; }
  .shi-table-wrap th:nth-child(3) { width: 190px; }
  .shi-table-wrap th:nth-child(4) { width: 90px; }
  .shi-table-wrap th:nth-child(6) { width: 170px; }
  .shi-table-wrap th:nth-child(7) { width: 160px; }
  .shi-table-wrap th:nth-child(8) { width: 175px; }

  .shi-table-wrap td {
    height: 68px;
    padding: 11px 16px;
    font-size: 14px;
    line-height: 1.35;
  }

  .shi-table-wrap td div {
    margin-top: 5px;
    font-size: 12px;
  }

  .shi-table-wrap td > span {
    padding: 7px 10px;
    font-size: 11px;
  }
}
