.mode-tabs { display:flex; gap:7px; padding-bottom:12px; }
.mode-tabs button { font-size:13px; font-weight:800; }
.mode-tabs button[aria-pressed="true"] { background:var(--green); border-color:var(--green); color:#102416; }
.systems-only { display:none; }
.inspection-mode .systems-only { display:block; }
.inspection-mode .flight-only, .inspection-mode #force-section, .inspection-mode .bottom { display:none; }
.inspection-mode .stage { height:var(--stage-height); }
.stage { --stage-height:clamp(360px,43vw,532px); }
.inspection-mode .stage canvas { height:100%; }
.inspection-mode .stage-foot { min-height:45px; }
.inspection-mode .stage-foot .axes.systems-only { display:flex; align-items:center; }
.inspection-mode .stage-foot .swatches { display:inline-flex; align-items:center; gap:5px; }
.inspection-mode .stage-foot .systems-stage-label { color:var(--muted); }
#systems-image { display:none; height:100%; }
.inspection-static #systems-image { display:block; padding:0; }
.inspection-static .stage canvas, .inspection-static #camera-reset { display:none; }
.systems-panel { padding:17px 16px; }
.systems-menu { display:grid; gap:5px; grid-template-columns:1fr 1fr; margin:10px 0 14px; }
.systems-menu button { display:flex; align-items:center; justify-content:flex-start; gap:7px; min-height:32px; padding:5px 7px; text-align:left; font-size:11px; font-weight:800; line-height:1.3; }
.systems-menu button:last-child { grid-column:1/-1; }
.systems-menu button[aria-pressed="true"] { background:var(--phase); border-color:var(--mint); color:#12241a; }
.systems-swatch { display:inline-block; flex:0 0 8px; width:8px; height:8px; border-radius:2px; border:1px solid #2228; }
.systems-copy { border-top:1px solid var(--line); padding-top:12px; }
.systems-copy h2 { font-size:18px; }
.systems-copy p { margin:8px 0 0; font-size:13px; }
.systems-copy .systems-path { font-size:12px; font-weight:800; color:var(--mint); }
.systems-options { margin-top:11px; display:flex; align-items:center; gap:7px; font-size:12px; color:var(--muted); }
.systems-panel .status { font-size:11px; }
.systems-panel .status a { font-weight:800; }
@media(max-width:950px) { .stage { --stage-height:420px; } }
@media(max-width:700px) {
  .stage { --stage-height:clamp(290px,79vw,426px); }
  .systems-panel { padding:12px; }
  .systems-menu button { min-height:37px; font-size:12px; }
  .mode-tabs button { min-height:34px; font-size:12px; }
  .inspection-mode .stage-foot button { min-height:28px; }
}
@media print {
  .mode-tabs, .systems-menu, .systems-options, #systems-reset-note, #systems-fallback-note { display:none!important; }
  .inspection-mode .stage { height:207px; }
  .inspection-mode .stage .print-cad { display:none!important; }
  :root:not(.inspection-mode) .stage #systems-image { display:none!important; }
  .inspection-mode .stage #systems-image { display:block!important; padding:0; height:207px; }
  .inspection-mode .systems-copy { border:0; padding:0; }
}
