.high-heading p {
  max-width: 52rem;
  line-height: 1.7;
}

.high-layout {
  display: grid;
  grid-template-columns: minmax(225px, 290px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.high-controls, .high-results {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.high-operation {
  padding: 22px 20px;
}

.high-model-limit {
  padding: 11px 12px;
  margin-top: 16px;
  border: 1px solid #d5e8e5;
  border-radius: 7px;
  background: #f3faf8;
  line-height: 1.6;
}

.high-model-limit > span {
  font-size: 10px;
  color: #537f74;
}

#model-limit {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #245b50;
  overflow-wrap: anywhere;
}

.high-frequency-row {
  flex-wrap: wrap;
}

.high-frequency-row > :is(select, input) {
  flex: 1 1 80px;
  min-width: 0;
  width: auto;
}

.high-measure-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.high-measure-actions .button {
  justify-content: center;
}

.high-readings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.high-readings .reading-card {
  min-height: 120px;
}

.high-readings .distance-reading,
.high-readings .frequency-reading {
  font-size: clamp(26px, 3vw, 42px);
}

.high-run-stats {
  margin: -8px 0 0;
}

.high-run-stats:empty {
  display: none;
}

.high-page #distance-chart {
  display: block;
  width: 100%;
  height: 240px;
  border: 1px solid #edf1f4;
  border-radius: 6px;
  background: #fcfdfe;
}

.high-page .data-table {
  min-width: 0;
}

@media (max-width: 900px) {
  .high-layout {
    grid-template-columns: minmax(200px, 245px) minmax(0, 1fr);
    gap: 15px;
  }
  .high-controls, .high-results { gap: 14px; }
  .high-operation { padding: 18px 14px; }
}

@media (max-width: 680px) {
  .high-layout { grid-template-columns: minmax(0, 1fr); }
  .high-measure-actions { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
  .high-readings { gap: 8px; }
  .high-readings .reading-card { padding: 12px; }
  .high-page #distance-chart { height: 200px; }
}

@media (max-width: 390px) {
  .high-readings { grid-template-columns: minmax(0, 1fr); }
}
