.impedance-matrix {
  --impedance-matrix-green: var(--hf-green, #008c11);
  --impedance-matrix-ink: var(--hf-ink, #14363f);
  --impedance-matrix-muted: var(--hf-muted, #666);
  width: 100%;
  padding: 88px 0 110px;
  background: #fff;
}

.impedance-matrix *,
.impedance-matrix *::before,
.impedance-matrix *::after {
  box-sizing: border-box;
}

.impedance-matrix__container {
  width: min(calc(100% - 280px), 1638px);
  margin-inline: auto;
  min-width: 0;
}

.impedance-matrix__heading {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--impedance-matrix-ink);
  font-family: var(--font-tech, "Orbitron"), "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.impedance-matrix__heading span {
  color: var(--impedance-matrix-green);
}

.impedance-matrix__scroll {
  margin-top: 52px;
  overflow-x: auto;
  outline: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c8e2d4 transparent;
  scrollbar-width: thin;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.impedance-matrix__scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
  touch-action: none;
}

.impedance-matrix__scroll::-webkit-scrollbar {
  height: 8px;
}

.impedance-matrix__scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #c8e2d4;
}

.impedance-matrix__scroll:focus-visible {
  outline: 2px solid var(--impedance-matrix-green);
  outline-offset: 4px;
}

.impedance-matrix__table {
  width: max-content;
  min-width: max(100%, 1160px);
  border-collapse: collapse;
  color: var(--impedance-matrix-ink);
  font-size: 16px;
  box-sizing: border-box;
}

.impedance-matrix__table th,
.impedance-matrix__table td {
  padding: 20px 24px;
  border: 1px solid #c8e2d4;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: break-word;
  word-break: normal;
}

.impedance-matrix__table thead th {
  padding-block: 16px;
  background: var(--impedance-matrix-green);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.impedance-matrix__table tbody th {
  width: 18%;
  font-weight: 600;
}

.impedance-matrix__table tbody tr:nth-child(even) {
  background: #eff5f3;
}

.impedance-matrix__note {
  max-width: 1120px;
  margin: 28px auto 0;
  color: var(--impedance-matrix-muted);
  text-align: center;
  font-size: 14px;
  line-height: 22px;
}

@media (max-width: 1685px) {
  .impedance-matrix__container {
    width: min(calc(100% - 48px), 1638px);
  }
}

@media (max-width: 852px) {
  .impedance-matrix {
    padding: 58px 0 72px;
  }

  .impedance-matrix__container {
    width: min(calc(100% - 36px), 1120px);
  }

  .impedance-matrix__heading {
    font-size: 22px;
    line-height: 30px;
  }

  .impedance-matrix__scroll {
    margin-top: 34px;
  }

  .impedance-matrix__table {
    min-width: max(100%, 1080px);
  }

  .impedance-matrix__table th,
  .impedance-matrix__table td {
    overflow-wrap: break-word;
    word-break: normal;
  }
}
