.pit-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
  align-items: start;
  gap: clamp(18px, 5vw, 56px);
  margin-block: 0 clamp(28px, 5vw, 58px);
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  background: var(--brand-panel);
}
.pit-caption h2 { margin: 0; line-height: 1.15; }
.pit-caption p, .pit-details p { max-width: 64ch; color: var(--brand-copy); }
.pit-stage-list, .pit-metrics { display: flex; flex-wrap: wrap; gap: 6px; }
.pit-stage-list { margin-top: 20px; }
.pit-workspace button {
  min-width: 42px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--brand-line);
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: .875rem;
}
.pit-workspace button[aria-pressed="true"] { background: #d3eee7; border-color: #75b2a1; color: #173a32; font-weight: 650; }
.pit-workspace button:focus-visible { outline: 2px solid #85c3b0; outline-offset: 3px; }
.pit-analytics {
  min-width: 0;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid #4f696e;
  border-radius: 10px;
  color: #e9f2f0;
  background: #17272f;
}
.pit-analytics h3 { margin: 0; color: #e9f2f0; font-size: 1rem; }
.pit-analytics button { color: #e9f2f0; background: #233740; border-color: #4a6467; }
.pit-chart-head, .pit-chart-label, .pit-chart-key { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; }
.pit-chart-head, .pit-chart-label { justify-content: space-between; }
.pit-chart-label, .pit-chart-key { color: #c6d6d6; font-size: .875rem; line-height: 1.3; }
.pit-chart-label { margin-top: 8px; }
#pit-chart { display: block; width: 100%; height: auto; }
.pit-chart-key > span { display: inline-flex; gap: .38rem; align-items: center; }
.pit-bottom-key { width: .92rem; border-top: 2px dashed #f6bd83; }
.pit-strut-key { width: .48rem; height: .48rem; border-radius: 100%; background: #b7ede2; }
.pit-details { margin-bottom: clamp(32px, 5vw, 70px); }
.pit-action { display: inline-flex; min-height: 42px; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .pit-workspace { grid-template-columns: minmax(0, 1fr); }
}
