.impedance-page {
  --ic-green: #008c11;
  --ic-ink: #14363f;
  --ic-muted: #666;
  --ic-line: #bfe3c8;
  width: 100%;
  overflow: hidden;
}

.impedance-page * { box-sizing: border-box; }
.ic-section { width: 100%; min-width: 0; }
.ic-container { width: min(calc(100% - 280px), 1638px); margin-inline: auto; min-width: 0; }
.impedance-intro { padding-bottom: 95px; }
.ic-stack { padding: 84px 0 130px; background: #fff; }
.ic-heading,
.ic-advantages h2 { margin: 0; font-family: var(--font-tech, "Orbitron"), sans-serif; font-size: 40px; font-weight: 900; line-height: 1.4; text-align: center; }
.ic-heading { color: var(--ic-green); }
.ic-stack__intro { max-width: 1548px; margin: 25px auto 0; color: var(--ic-muted); font-size: 18px; line-height: 27px; text-align: center; }
.ic-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 55px; }
.ic-tabs button { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 12px; border: 1px solid var(--ic-line); border-radius: 999px; background: #fff; color: var(--ic-ink); font-size: 20px; font-weight: 700; line-height: 24px; text-align: center; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.ic-tabs button:hover,
.ic-tabs button:focus-visible { border-color: var(--ic-green); outline: 0; }
.ic-tabs button.is-active { border-color: var(--ic-green); background: var(--ic-green); color: #fff; }
/* 客户 #27：左侧文字块与右侧图示垂直居中对齐 */
.ic-cross-layout { display: grid; grid-template-columns: minmax(0, 539fr) minmax(0, 956fr); gap: 143px; align-items: center; margin-top: 112px; }
.ic-parameter-copy { padding-top: 8px; }
.ic-copy-panel[hidden] { display: none; }
.ic-copy-panel.is-active { animation: ic-copy-in .28s ease both; }
.ic-parameter-panel[hidden] { display: none; }
.ic-parameter-panel.is-active { animation: ic-copy-in .28s ease both; }
.ic-parameter-copy article + article { margin-top: 34px; }
.ic-parameter-copy h3 { margin: 0; padding-left: 3px; color: var(--ic-ink); font-size: 32px; font-weight: 700; line-height: 1; }
.ic-parameter-copy h3 em { color: var(--ic-green); font-style: normal; }
.ic-parameter-copy p { max-width: 539px; margin: 19px 0 0; color: var(--ic-muted); font-size: 18px; line-height: 27px; }
.ic-actions { display: flex; gap: 11px; margin-top: 50px; }
.ic-actions button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--ic-green); border-radius: 50%; background: #fff; color: var(--ic-green); font-size: 22px; cursor: pointer; transition: background-color .2s, color .2s; }
.ic-actions button:hover,
.ic-actions button:focus-visible { background: var(--ic-green); color: #fff; outline: 0; }
@keyframes ic-copy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ic-copy-panel.is-active, .ic-parameter-panel.is-active { animation: none; } }
.ic-diagrams { min-width: 0; width: 100%; }
.ic-diagram-panel { margin: 0; }
.ic-diagram-panel[hidden] { display: none; }
.ic-diagram-media { position: relative; }
.ic-diagram-panel img { display: block; width: 100%; height: auto; aspect-ratio: 956 / 399; object-fit: contain; }
.ic-diagram-hotspots { position: absolute; inset: 0; }
.ic-diagram-hotspots button { position: absolute; left: var(--hotspot-x); top: var(--hotspot-y); width: 34px; height: 34px; padding: 0; border: 2px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transform: translate(-50%, -50%); transition: border-color .2s, box-shadow .2s; }
.ic-diagram-hotspots button:hover,
.ic-diagram-hotspots button:focus-visible,
.ic-diagram-hotspots button.is-active { border-color: var(--ic-green); background: transparent; box-shadow: 0 0 0 3px rgba(0, 140, 17, .1); outline: 0; }
.ic-diagram-hotspots button.is-current { border-color: #006d0d; box-shadow: 0 0 0 3px rgba(0, 140, 17, .2); }
.ic-diagram-plane { position: absolute; left: 5.4%; top: 87%; width: 94.6%; height: 13%; padding: 0; border: 2px solid transparent; border-radius: 4px; background: transparent; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ic-diagram-plane:hover,
.ic-diagram-plane:focus-visible,
.ic-diagram-plane.is-current,
.ic-diagram-plane[aria-expanded="true"] { border-color: #006d0d; box-shadow: 0 0 0 3px rgba(0, 140, 17, .2); outline: 0; }
.ic-reference-copy { display: grid; gap: 10px; margin-top: 34px; padding: 24px 28px; border: 1px solid var(--ic-line); border-radius: 14px; background: #f9fbfa; color: var(--ic-muted); font-size: 16px; line-height: 24px; text-align: left; animation: ic-copy-in .28s ease both; }
.ic-reference-copy[hidden] { display: none; }
.ic-reference-copy strong { color: var(--ic-ink); font-size: 24px; font-weight: 600; line-height: 28px; }
.ic-reference-copy span { display: block; }
@media (prefers-reduced-motion: reduce) { .ic-reference-copy { animation: none; } }
.ic-tables {
  display: grid;
  grid-template-columns: minmax(0, 800fr) minmax(0, 804fr);
  grid-template-rows: auto 1fr;
  gap: 26px 34px;
  margin-top: 115px;
  align-items: stretch;
  min-width: 0;
}

.ic-tables article {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  min-height: 0;
  min-width: 0;
}

.ic-tables article > h3 {
  margin: 0;
  color: var(--ic-ink);
  font-family: var(--font-tech, "Orbitron"), sans-serif;
  font-size: 24px;
  line-height: 27px;
}

.ic-tables article > h3 span { color: var(--ic-green); }

.ic-tables .ic-table-scroll {
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--ic-line) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.ic-tables .ic-table-scroll:focus-visible {
  outline: 2px solid var(--ic-green);
  outline-offset: 2px;
}

.ic-tables .ic-table-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
  touch-action: none;
}

@media (min-width: 1281px) {
  .ic-tables .ic-table-scroll {
    height: 100%;
  }
}

.ic-tables table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--ic-ink);
  font-size: 16px;
}

.ic-tables th,
.ic-tables td {
  padding: 20px 24px;
  border: 1px solid #c8e2d4;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
}

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

.ic-tables tbody th {
  width: 31%;
  font-weight: 600;
}

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

/* Equal outer table height: data rows keep natural line height; only the last row absorbs leftover space. */
.ic-tables tbody tr:not(:last-child) {
  height: 1px;
}

.ic-tables tbody tr:last-child th,
.ic-tables tbody tr:last-child td {
  height: 100%;
}
.ic-advantages { padding: 85px 0 110px; background: #f9fbfa; }
.ic-advantages h2 { color: var(--ic-ink); }
.ic-advantages h2 span { color: var(--ic-green); }
.ic-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 67px;
  align-items: stretch;
}

.ic-advantages__grid article {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100%;
  height: 100%;
  padding: 40px 32px 48px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background: #fff;
}

.ic-advantages__grid img { display: block; width: 50px; height: 50px; object-fit: contain; }

.ic-advantages__grid h3 {
  margin: 124px 0 0;
  min-height: 56px;
  color: var(--ic-green);
  font-size: 20px;
  line-height: 28px;
}

.ic-advantages__grid p {
  flex: 1 1 auto;
  margin: 15px 0 0;
  color: var(--ic-muted);
  font-size: 16px;
  line-height: 20px;
  text-align: start;
  text-justify: auto;
  word-spacing: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphenate-limit-chars: 6 3 3;
}
/* 客户 #28/#32：阻抗矩阵表下方说明文字字号同表格正文并加粗，与表格间距加大 */
.impedance-page .impedance-matrix__note { margin-top: 40px; font-size: 16px; font-weight: 600; line-height: 24px; }

@media (max-width: 1685px) {
  .ic-container { width: min(calc(100% - 48px), 1638px); }
  .ic-tabs { gap: 20px; }
  .ic-cross-layout { gap: 72px; }
}

@media (max-width: 1280px) {
  .ic-container { width: min(calc(100% - 48px), 1120px); }
  .ic-tabs,
  .ic-advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ic-cross-layout { grid-template-columns: 1fr; gap: 56px; margin-top: 72px; }
  .ic-parameter-copy,
  .ic-diagrams { min-width: 0; max-width: 100%; }
  .ic-tables {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 34px;
  }

  .ic-tables article {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    min-width: 0;
  }

  .ic-tables article > h3 {
    margin-bottom: 26px;
  }

  .ic-tables .ic-table-scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--ic-line) transparent;
    scrollbar-width: thin;
    height: auto;
    width: 100%;
    max-width: 100%;
  }

  .ic-tables .ic-table-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .ic-tables .ic-table-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: var(--ic-line);
  }

  .ic-tables table {
    height: auto;
    width: max-content;
    min-width: max(100%, 680px);
    table-layout: auto;
    box-sizing: border-box;
  }

  .ic-tables th,
  .ic-tables td {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .ic-tables tbody tr:not(:last-child) {
    height: auto;
  }

  .ic-tables tbody tr:last-child th,
  .ic-tables tbody tr:last-child td {
    height: auto;
  }

  .ic-tables article + article { margin-top: 34px; }
  .ic-advantages__grid article {
    min-height: 350px;
    padding: 32px 28px 34px;
  }
  .ic-advantages__grid h3 { margin-top: 56px; }
}

@media (max-width: 852px) {
  .ic-container { width: min(calc(100% - 36px), 1120px); }
  .impedance-intro { padding-bottom: 48px; }
  .ic-stack { padding: 48px 0 80px; }
  .ic-heading,
  .ic-advantages h2 { font-size: 22px; line-height: 30px; }
  .ic-stack__intro { margin-top: 16px; font-size: 16px; line-height: 24px; }
  .ic-tabs,
  .ic-advantages__grid { grid-template-columns: 1fr; gap: 14px; }
  .ic-tabs { margin-top: 32px; }
  .ic-tabs button { min-height: 48px; padding: 12px 16px; font-size: 16px; line-height: 22px; }
  .ic-cross-layout { gap: 38px; margin-top: 48px; }
  .ic-parameter-copy h3 { font-size: 24px; line-height: 30px; }
  .ic-parameter-copy p { font-size: 16px; line-height: 24px; }
  .ic-actions { margin-top: 34px; }
  .ic-reference-copy { margin-top: 24px; padding: 18px 20px; font-size: 16px; line-height: 24px; }
  .ic-reference-copy strong { font-size: 18px; line-height: 24px; }
  .ic-tables { margin-top: 72px; }
  .ic-tables article > h3 { font-size: 19px; line-height: 26px; }
  .ic-tables .ic-table-scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--ic-line) transparent;
    scrollbar-width: thin;
    width: 100%;
    max-width: 100%;
  }

  .ic-tables .ic-table-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .ic-tables .ic-table-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: var(--ic-line);
  }

  .ic-tables .ic-table-scroll table {
    width: max-content;
    min-width: max(100%, 680px);
    table-layout: auto;
  }

  .ic-tables th,
  .ic-tables td {
    overflow-wrap: break-word;
    word-break: normal;
  }
  .ic-advantages { padding: 58px 0 72px; }
  .ic-advantages__grid { margin-top: 42px; }
  .ic-advantages__grid article { min-height: 0; }
}

/* Quality Testing & Inspection：左侧图片与右侧文字垂直居中 */
@media (min-width: 1181px) {
  .product-page--impedance-controlled .quality-grid {
    align-items: center;
  }

  .product-page--impedance-controlled .quality-media {
    margin-top: 0;
  }
}
