.pendulum-stage { padding-bottom: 24px; }
.pendulum-status { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; padding: 11px 13px; border: 1px solid var(--line); color: #c9d8d5; font-size: 12px; line-height: 1.5; }
.pendulum-status strong { color: var(--orange); font: 500 12px "DM Mono", monospace; }
.pendulum-views { display: grid; gap: 13px; }
.pendulum-view { min-width: 0; overflow: hidden; border: 1px solid var(--line-soft); background: var(--panel-deep); }
.pendulum-view-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px 8px; border-bottom: 1px solid rgba(41, 66, 71, .7); }
.pendulum-view-head h3 { margin: 0; font-size: 13px; }
.pendulum-view-head span { color: var(--muted); font: 10px "DM Mono", monospace; }
.pendulum-scene { display: block; width: 100%; height: auto; }
.pivot-mount { fill: #21393f; stroke: #587471; stroke-width: 1.2; }
.mount-hatch { stroke: #46656b; stroke-width: 1.4; }
.pivot-dot { fill: #dcebe8; stroke: #587471; stroke-width: 1.5; }
.rope { stroke: #9fbab6; stroke-width: 2.5; stroke-linecap: round; }
.plumb-line { stroke: var(--yellow); stroke-width: 1.4; stroke-dasharray: 5 5; opacity: .7; }
.swing-arc { fill: none; stroke: rgba(101, 230, 209, .55); stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.amp-label { fill: #8fb5b0; font: 10px "DM Mono", monospace; paint-order: stroke; stroke: var(--panel-deep); stroke-width: 4px; }
.lowest-label { fill: var(--yellow); font: 10px "DM Mono", monospace; paint-order: stroke; stroke: var(--panel-deep); stroke-width: 4px; }
.graph-scene { min-height: 235px; }
.theta-path { fill: none; stroke: var(--cyan); stroke-width: 2.5; }
.pendulum-cursor { stroke: #d9eae7; stroke-width: 1.1; stroke-dasharray: 4 4; opacity: .85; }
.theta-point { fill: var(--cyan); stroke: #d8fff6; stroke-width: 1.2; }
.pendulum-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pendulum-metrics .metric:nth-child(n+4) { margin-top: 13px; padding-top: 17px; border-top: 1px solid var(--line); }
.pendulum-metrics .metric:nth-child(4) { padding-left: 0; border-left: 0; }
.pendulum-metrics .metric-value { font-size: 17px; line-height: 1.35; }
.pendulum-metrics .metric-value.compact { font-size: 13px; }

@media (max-width: 820px) {
  .pendulum-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pendulum-metrics .metric:nth-child(n+3) { margin-top: 13px; padding-top: 17px; border-top: 1px solid var(--line); }
  .pendulum-metrics .metric:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .pendulum-status { display: block; }
  .pendulum-status span { display: block; margin-top: 5px; }
  .pendulum-scene .axis-label, .pendulum-scene .annotation, .pendulum-scene .angle-label { font-size: 14px; }
  .pendulum-scene .amp-label, .pendulum-scene .lowest-label { font-size: 13px; }
  .pendulum-scene .tick { font-size: 13px; }
  .theta-point { r: 6px; }
  .pendulum-metrics { grid-template-columns: 1fr; }
  .pendulum-metrics .metric, .pendulum-metrics .metric:nth-child(n) { margin-top: 0; padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .pendulum-metrics .metric:last-child { border-bottom: 0; }
}
