.pelvisPanel {
  min-width: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line, #d6dfd3);
  color: var(--forest, #183d36);
  background: #fbfcf8;
}
.pp-heading, .pp-chart-heading, .pp-legend, .pp-legend-item, .pp-time {
  display: flex;
  align-items: center;
}
.pp-heading, .pp-chart-heading, .pp-time { justify-content: space-between; gap: 4px 10px; }
.pp-heading { flex-wrap: wrap; }
.pp-heading h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.pp-heading [data-pelvis-status], .pp-note, .pp-scale, .pp-time, .pp-axis, .pp-stat [data-direction] {
  color: var(--muted, #53695d);
}
.pp-heading [data-pelvis-status], .pp-note, .pp-stat [data-direction] { font-size: 12px; }
.pp-note { margin: 5px 0 0; }
.pp-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 0;
  margin: 11px 0 6px;
}
.pp-stat { min-width: 0; border-left: 1px solid var(--line, #d6dfd3); padding-left: clamp(7px, 1.1vw, 16px); }
.pp-stat:first-child { border-left: 0; padding-left: 0; }
.pp-label { font-size: 12px; font-weight: 600; }
.pp-stat [data-value] { display: block; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.4; font-variant-numeric: tabular-nums; }
.pp-stat [data-direction] { display: block; }
.pp-history { margin-top: 11px; border-top: 1px solid var(--line, #d6dfd3); }
.pp-chart { margin-top: 8px; }
.pp-chart-heading { flex-wrap: wrap; font-size: 12px; }
.pp-legend { flex-wrap: wrap; gap: 3px 12px; color: #3b5145; }
.pp-legend-item { gap: 4px; white-space: nowrap; }
.pp-line { width: 18px; height: 0; border-top: 2px solid var(--series); }
.pp-tiltDeg { --series: #20684f; }
.pp-leftKnee { --series: #225588; }
.pp-rightKnee { --series: #944822; }
.pp-shiftPct { --series: #704985; }
.pp-dropPct { --series: #246d65; }
.pp-line.pp-leftKnee, .pp-line.pp-dropPct { border-top-style: dashed; }
.pp-line.pp-rightKnee { border-top-style: dotted; }
.pp-chart-body { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 7px; align-items: center; }
.pp-chart-body svg { display: block; overflow: visible; width: 100%; height: 58px; }
.pp-axis { display: flex; height: 63px; flex-direction: column; justify-content: space-between; text-align: right; }
.pp-axis, .pp-time { font-size: 10px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pp-grid { stroke: #dde4da; stroke-width: 1; }
.pp-zero { stroke: #96a999; stroke-width: 1; }
.pp-event-marker { stroke: #7e7146; stroke-width: 1; stroke-dasharray: 2 3; }
.pp-chart path[data-series] { stroke: var(--series); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-chart path.pp-leftKnee, .pp-chart path.pp-dropPct { stroke-dasharray: 6 4; }
.pp-chart path.pp-rightKnee { stroke-dasharray: 1 4; }
.pp-time { margin: 1px 0 0 43px; }
.pp-event { margin: 8px 0 0; border-left: 3px solid #7e7146; padding: 4px 8px; font-size: 12px; background: #f4f2e9; }
.pp-scale { margin: 7px 0 0; font-size: 11px; line-height: 1.55; }
@media (max-width: 580px) {
  .pelvisPanel { padding: 10px 12px; }
  .pp-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pp-stat { grid-column: span 2; }
  .pp-stat:nth-child(n+4) { grid-column: span 3; }
  .pp-stat:nth-child(4) { border-left: none; padding-left: 0; }
  .pp-legend { gap: 3px 8px; }
}
