.five-section-sample .suite-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 78px;
}

.five-section-sample .suite-item {
  width: 100%;
  min-height: 78px;
  height: 78px;
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.five-section-sample .suite-item:not(.is-active):hover {
  z-index: 1;
  background: #f2f7ff;
  transform: translateY(-1px);
}

.five-section-sample .suite-item:focus-visible {
  z-index: 2;
  outline: 2px solid #2b70df;
  outline-offset: -3px;
}

.five-section-sample .suite-item b {
  font-size: clamp(17px, 1.35vw, 20px);
  white-space: nowrap;
}

.five-section-sample .monitor-panel[hidden] { display: none; }

.five-section-sample .monitor-panel.is-entering {
  animation: monitor-panel-enter 300ms ease both;
}

@keyframes monitor-panel-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .five-section-sample .monitor-panel.is-entering { animation: none; }
}

.sample-page-footer { margin-top: 0; }

.legend-marker--diamond { border-radius: 0; transform: rotate(45deg); }
.pmi-grouped-bar { opacity: 0.96; }
.pmi-category-label {
  fill: #7084a3;
  font: 9px var(--sans);
  text-anchor: middle;
}

.pmi-category-label--rotated {
  font-size: 8px;
  text-anchor: end;
}

.axis-label--right {
  fill: #6f84a5;
}

.pmi-chart-card .chart-plot { padding-top: 3px; }

.monitor-chart-card--wide {
  grid-column: 1 / -1;
}

.trade-heatmap-wrap {
  position: relative;
  max-height: 720px;
  margin: 4px 18px 14px;
  overflow: auto;
  border: 1px solid #d9e6f6;
  border-radius: 12px;
  background: #fff;
  scrollbar-color: #8ab7ee #edf4fc;
  scrollbar-width: thin;
}

.trade-heatmap {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
  color: #17345e;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.trade-heatmap th,
.trade-heatmap td {
  height: 36px;
  padding: 7px 9px;
  border-right: 1px solid #d9e6f6;
  border-bottom: 1px solid #d9e6f6;
  text-align: center;
  white-space: nowrap;
}

.trade-heatmap thead th {
  position: sticky;
  z-index: 5;
  top: 0;
  background: #0c4baf;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}

.trade-heatmap thead th:first-child,
.trade-heatmap-group {
  left: 0;
}

.trade-heatmap thead th:nth-child(2),
.trade-heatmap-item {
  left: 124px;
}

.trade-heatmap thead th:first-child,
.trade-heatmap thead th:nth-child(2) {
  z-index: 8;
}

.trade-heatmap-group,
.trade-heatmap-item {
  position: sticky;
  z-index: 3;
  background: #f8eecf;
  text-align: left;
}

.trade-heatmap-group {
  width: 124px;
  min-width: 124px;
  color: #0e3472;
  font-weight: 800;
  white-space: normal;
}

.trade-heatmap-item {
  width: 240px;
  min-width: 240px;
  font-weight: 600;
}

.trade-heatmap-row--even .trade-heatmap-item,
.trade-heatmap-row--even .trade-heatmap-group {
  background: #eef6ff;
}

.trade-heatmap-value {
  position: relative;
  min-width: 76px;
  overflow: hidden;
  cursor: crosshair;
  background: #fff;
  outline: none;
}

.trade-heatmap-value::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 7px auto 7px 0;
  width: var(--heat);
  max-width: 100%;
  border-radius: 0 4px 4px 0;
  background: color-mix(in srgb, var(--heat-color) 28%, transparent);
}

.trade-heatmap-value span {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.trade-heatmap-value:hover,
.trade-heatmap-value:focus {
  box-shadow: inset 0 0 0 2px #2c7be5;
  background: #f7fbff;
}

.trade-heatmap-value.is-missing {
  color: #93a7c2;
  cursor: default;
}

@media (max-width: 1120px) {
  .five-section-sample .monitor-suite { grid-template-columns: 150px minmax(0, 1fr); }
  .five-section-sample .suite-item { padding-inline: 13px; }
  .five-section-sample .suite-item b { font-size: 17px; }
}

@media (max-width: 760px) {
  .five-section-sample .monitor-suite { grid-template-columns: minmax(0, 1fr); }
  .five-section-sample .hero { min-height: 554px; }
  .five-section-sample .suite-grid--five {
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    grid-auto-rows: 68px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .five-section-sample .suite-item { min-height: 68px; height: 68px; scroll-snap-align: start; }
  .monitor-chart-card .axis-label,
  .monitor-chart-card .month-label { font-size: 12px; }
  .monitor-chart-card .pmi-category-label { font-size: 11px; }
  .trade-heatmap-wrap {
    max-height: 600px;
    margin-inline: 8px;
    border-radius: 9px;
    overscroll-behavior: contain;
  }
  .trade-heatmap { min-width: 900px; font-size: 11px; }
  .trade-heatmap th,
  .trade-heatmap td { height: 34px; padding: 6px 8px; }
  .trade-heatmap-group { width: 72px; min-width: 72px; font-size: 10px; }
  .trade-heatmap-item {
    left: 72px;
    width: 150px;
    min-width: 150px;
    font-size: 10.5px;
    line-height: 1.25;
    white-space: normal;
  }
  .trade-heatmap thead th:nth-child(2) { left: 72px; }
}

@media (max-width: 430px) {
  .five-section-sample .suite-grid--five { grid-template-columns: repeat(5, 102px); }
  .five-section-sample .suite-item b { font-size: 16px; }
}
