.u-page {
  min-width: 0;
}
.u-measurement-notice {
  color: #e8cc94;
  background: #1a150b;
  border: 1px solid #493817;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.u-filters {
  display: flex;
  align-items: end;
  gap: 12px;
}
.u-filter {
  display: grid;
  gap: 7px;
  font-size: 11px;
  color: #999;
  min-width: 130px;
}
.u-filter .select {
  font-size: 12px;
}
.u-filters > .icon-button {
  border: 1px solid #333;
  width: 40px;
  height: 40px;
}
.u-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.u-metric {
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 0;
  padding: 22px 24px 0;
  text-align: left;
  border-right: 1px solid #333;
  background: #000;
}
.u-metric:last-child {
  border-right: 0;
}
.u-metric:hover {
  background: #0b0b0b;
}
.u-metric[aria-pressed="true"] {
  background: #0d0d0d;
}
.u-metric > span:first-child {
  color: #aaa;
  font-size: 12px;
}
.u-metric strong {
  font-size: clamp(19px, 2vw, 27px);
  letter-spacing: -0.7px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.u-metric small {
  font-size: 11px;
  color: #888;
  font-weight: 400;
  letter-spacing: 0;
}
.u-metric-line {
  height: 2px;
  width: 100%;
  background: transparent;
}
.u-metric[aria-pressed="true"] .u-metric-line {
  background: #fff;
}
.u-chart {
  min-width: 0;
}
.u-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
}
.u-chart-head h2 {
  font-size: 15px;
  font-weight: 500;
}
.u-plot {
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 0 12px;
}
.u-grid {
  stroke: #222;
  stroke-width: 1;
}
.u-axis {
  fill: #999;
  font:
    11px Inter,
    sans-serif;
}
.u-line {
  fill: none;
  stroke: #eaeaea;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.u-area {
  fill: #ffffff07;
}
.u-dot {
  fill: #fff;
  cursor: crosshair;
}
.u-reading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  border-top: 1px solid #222;
  font-size: 12px;
  color: #999;
}
.u-reading strong {
  font-weight: 500;
  color: #eee;
  font-variant-numeric: tabular-nums;
}
.u-chart-empty {
  min-height: 250px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}
.u-chart-empty h3 {
  font-size: 16px;
  color: #ddd;
}
.u-chart-empty p {
  font-size: 12px;
  color: #999;
  max-width: 360px;
  line-height: 1.7;
}
.u-foot {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  padding-block: 20px;
}
.u-foot p {
  max-width: 660px;
  color: #888;
  font-size: 11px;
  line-height: 1.8;
}
.u-foot a {
  white-space: nowrap;
}
.u-data summary {
  cursor: pointer;
  font-size: 12px;
  color: #aaa;
  padding-block: 16px;
}
.u-table-wrap {
  overflow-x: auto;
  border: 1px solid #333;
  border-radius: 6px;
}
.u-data table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.u-data th,
.u-data td {
  padding: 14px 18px;
  border-bottom: 1px solid #222;
}
.u-data th {
  font-weight: 500;
  color: #aaa;
}
.u-data th:first-child {
  text-align: left;
}
.u-data tr:last-child > * {
  border-bottom: 0;
}
.u-measured {
  margin-top: 16px;
  font-size: 10px;
}
@media (max-width: 700px) {
  .u-page .page-head {
    flex-direction: column;
  }
  .u-filters {
    width: 100%;
    gap: 8px;
  }
  .u-filter {
    min-width: 0;
    flex: 1;
  }
  .u-filter .select {
    font-size: 16px;
  }
  .u-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .u-metric {
    padding: 18px 16px 0;
    gap: 12px;
  }
  .u-metric:nth-child(2) {
    border-right: 0;
  }
  .u-metric:nth-child(-n + 2) {
    border-bottom: 1px solid #333;
  }
  .u-plot {
    padding: 0;
    min-height: 150px;
  }
  .u-chart-head {
    padding: 20px;
  }
  .u-foot {
    gap: 16px;
    flex-direction: column;
  }
  .u-reading {
    padding: 16px 20px;
  }
}
