.tn-card {
  --tn-accent: #1c615f;
  border: 1px solid #c7d3cd;
  border-radius: 14px;
  padding: clamp(14px, 2.3vw, 28px);
  margin: 16px 0 22px;
  color: #15201e;
  background: white;
  min-width: 0;
}
.tn-card h2 {
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.3;
  margin: 0.2em 0 0.6em;
}
.tn-card h3 {
  font-size: 15px;
  margin: 0 0 9px;
}
.tn-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}
.tn-choice button {
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  padding: 7px 12px;
  border: 1px solid #aab7af;
  border-radius: 7px;
  background: #fff;
  color: #16261f;
  cursor: pointer;
}
.tn-choice button[aria-pressed="true"] {
  background: #173f39;
  border-color: #173f39;
  color: white;
}
.tn-choice button:focus-visible {
  outline: 3px solid #bb743d;
  outline-offset: 2px;
}
.tn-flow {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.1fr;
  gap: 14px;
}
.tn-panel {
  border: 1px solid #d4ddd7;
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
  background: #fafcfb;
}
.tn-panel.tn-net {
  background: #edf5f1;
}
.tn-kicker {
  display: block;
  font: 600 0.74rem/1.4 system-ui;
  color: #426456;
  margin-bottom: 8px;
}
.tn-mat {
  display: inline-grid;
  gap: 3px;
  padding: 4px 6px;
  border-left: 2px solid #376858;
  border-right: 2px solid #376858;
  margin: 6px 0 9px;
  max-width: 100%;
}
.tn-mat span {
  font:
    500 clamp(10px, 0.95vw, 13px) / 1.5 ui-monospace,
    monospace;
  background: #e2ede6;
  padding: 3px;
  text-align: center;
  min-width: 0;
}
.tn-text,
.tn-note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
}
.tn-note {
  color: #425851;
  font-size: 13px;
}
.tn-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tn-comparison figure {
  margin: 0;
  border: 1px solid #cbd9d1;
  border-radius: 8px;
  overflow: hidden;
}
.tn-comparison figcaption {
  display: block;
  padding: 8px 12px;
  background: #f0f5f2;
  color: #1d3a30;
  font: 600 14px/1.5 system-ui;
}
.tn-comparison svg {
  width: 100%;
  max-height: 210px;
  display: block;
}
.tn-eq {
  padding: 12px 14px;
  background: #f1f5f2;
  border-left: 3px solid var(--tn-accent);
  margin-top: 12px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.tn-eq p {
  margin: 0;
}
.tn-stat {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.tn-link {
  margin: 12px 0 0;
  font-size: 13px;
}
.tn-technical {
  margin-bottom: 14px;
}
.tn-technical > summary {
  font-size: 14px;
  cursor: pointer;
}
.tn-card .range-row {
  margin-top: 10px;
}
.tn-noise-label {
  margin: 6px 0;
}
.tn-readout {
  min-height: 3.5em;
}
.tn-card[hidden] {
  display: none;
}
@media (max-width: 800px) {
  .tn-flow {
    grid-template-columns: 1fr;
  }
  .tn-flow .tn-panel {
    padding: 11px;
  }
  .tn-card .tn-mat {
    margin: 2px 0;
  }
  .tn-flow .tn-text {
    margin: 3px 0;
  }
  .tn-comparison {
    gap: 5px;
  }
  .tn-comparison figcaption {
    padding: 5px;
    font-size: 12px;
  }
  .tn-card {
    padding: 12px;
  }
  .tn-choice button {
    padding: 6px 9px;
  }
}
