.bw1000-page .bw-chart { margin: 24px 0; }
.bw1000-page .bw-chart h4 { margin: 0 0 6px; font-size: 1.05rem; }
.bw1000-page .bw-note {
  color: var(--fg2);
  font-size: .88rem;
  line-height: 1.65;
  margin: 8px 0 12px;
}
.bw1000-page .bw-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}
.bw1000-page .bw-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bw1000-page .bw-values {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
.bw1000-page .bw-values :is(th, td) {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.bw1000-page .bw-values thead { background: var(--card2); }
.bw1000-page .bw-values tbody tr:last-child > * { border-bottom: 0; }
.bw1000-page .bw-comparison { min-width: 620px; table-layout: fixed; }
.bw1000-page .bw-values .bw-measure {
  display: grid;
  grid-template-columns: 4.4em minmax(56px, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 116px;
}
.bw1000-page .bw-measure b { font-weight: 650; }
.bw1000-page .bw-track {
  display: block;
  height: 7px;
  background: var(--card2);
  border-radius: 2px;
}
.bw1000-page .bw-track::before {
  content: "";
  display: block;
  width: var(--bw-value);
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}
.bw1000-page .bw-track[data-series="report"]::before { background: var(--kd); }
.bw1000-page .bw-track[data-series="theory"]::before { background: var(--fg3); }
.bw1000-page .bw-values .bw-condition { color: var(--fg2); }

.bw1000-page .bw-fold {
  margin: 16px 0;
  border: 1px solid var(--line);
  background: var(--card);
}
.bw1000-page .bw-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 10px 14px;
  cursor: pointer;
}
.bw1000-page .bw-fold > summary::-webkit-details-marker { display: none; }
.bw1000-page .bw-fold > summary:hover { background: var(--card2); }
.bw1000-page .bw-fold > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  margin-right: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.bw1000-page .bw-fold[open] > summary::after { transform: rotate(225deg); }
.bw1000-page .bw-fold-title { display: block; font-weight: 650; }
.bw1000-page .bw-fold-note { display: block; color: var(--fg2); font-size: .82rem; }
.bw1000-page .bw-fold-body { padding: 0 14px 14px; border-top: 1px solid var(--line); }
.bw1000-page .bw-fold-body > .fig { margin: 12px 0 0; }
.bw1000-page .bw-fold-body > .bw-scroll:first-child { margin-top: 14px; }
.bw1000-page .bw-path-notes { margin: 12px 0 0; font-size: .88rem; }
.bw1000-page .bw-path-notes dt { margin-top: 9px; font-weight: 650; }
.bw1000-page .bw-path-notes dd { margin: 2px 0 0; color: var(--fg2); }

@media (max-width: 560px) {
  #m4-hbm-bandwidth .bw-values { min-width: 0; table-layout: fixed; }
  #m4-hbm-bandwidth .bw-values :is(th, td) { padding: 8px; overflow-wrap: anywhere; }
  #m4-hbm-bandwidth .bw-values th:nth-child(2) { width: 24%; }
  #m4-hbm-bandwidth .bw-measure { display: block; min-width: 0; }
  #m4-hbm-bandwidth .bw-track { margin-top: 4px; }
}
