/**
 * Live-walk viewer chrome fixes (2026-11-10).
 * shell.css is frozen at 4,270 lines and the JS bundle gzip ceiling never rises,
 * so static chrome overrides ship from public/ linked after finish-screen-rows.css.
 */

.luxon-vacant,
.vcat-peg-empty {
  color: #b9c1cc !important;
}

[data-role^="tuesday-arrive-"] {
  margin: 0 0 8px;
}

[data-role^="tuesday-arrive-"] h2 {
  margin: 0 0 6px;
  font-size: var(--lux-fs-sm, 0.875rem);
  color: #e8eef8;
}

.mfg-dash-panel
  :is(
    select,
    input:not([type="checkbox"], [type="radio"]),
    button:not([class]),
    button.luxon-link-btn
  ) {
  max-width: 100%;
  box-sizing: border-box;
  background: #1a2230;
  color: #e8eef8;
  border: 1px solid #3a4658;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: var(--lux-fs-xs, 0.8rem);
}

@media (max-width: 719px) {
  body:not(:has([data-spine="1"])) #manufacturing_panel.visible {
    left: 8px !important;
    right: 8px !important;
  }
}

/* Closed <details> keeps display:flex on its menu in Chromium's ::details-content
   model; hide the menu until [open] so phone/narrow layouts never measure or hit it. */
.spine-chrome-more:not([open]) > .spine-chrome-more-menu {
  display: none;
}

/* Three-pane desktop (>=1280px): dock floating Help and Purchase Orders in the 3D
   corridor beside .spine-stages (same left bound as Platform Command) so neither
   panel covers the stage column when the co-pilot is open. */
@media (min-width: 1280px) {
  html[data-layout="panes"]:has(.luxon-shell-root[data-spine="1"])
    body.has-spine
    #help_panel.visible:not(.spine-rehosted),
  html[data-layout="panes"]:has(.luxon-shell-root[data-spine="1"])
    body.has-spine
    #luxon_legacy_panels > #procurement_panel.visible:not(.spine-rehosted) {
    left: var(--luxon-canvas-left) !important;
    width: auto !important;
  }
}
