/* Guardrails kept for the legacy controls inside Helm's and Engineering's
   .gl-detail (never the glass panes). Touch and narrow screens get 44 px
   targets, the same breakpoint glass.css uses for the primitives; a desktop
   pointer keeps the README sizes and the default cursor on disabled
   controls. The material-era rules (cream inks, kit stamps, enamel tabs, the
   ruler-figure nudge and the contrast-mode Canvas faces) are retired: the
   glass room stylesheets draw those parts now. */
#helm-detail summary { display:flex; align-items:center; flex-wrap:wrap; }
@media (max-width: 640px), (pointer: coarse) {
  #helm-detail button,
  #helm-detail a[href],
  #helm-detail summary,
  #engineering-detail button,
  #engineering-detail a[href],
  #engineering-detail summary { min-width:44px; min-height:44px; }
}
/* The fill figure is printed on the module face above its transit lashing. */
#ops-detail .cargo-level-mark { z-index:4; }

@media (forced-colors: active) {
  #helm-detail button:disabled,
  #engineering-detail button:disabled { color:GrayText; }
  #helm-detail .journey-graphic text,
  #engineering-detail .journey-graphic text { fill:CanvasText; color:CanvasText; }
  /* System ink on its own surface for the cargo marks drawn over art. */
  #ops-detail .cargo-state-mark,
  #ops-detail .capacity-tick b,
  #ops-detail .cargo-placard b {
    background:Canvas!important; color:CanvasText!important;
    background-image:none!important; border-image:none!important;
    box-shadow:none!important;
  }
  #ops-detail .cargo-state-mark { line-height:1.5; }
  #ops-detail .cargo-placard b { line-height:1.5; padding-block:3px; }
}
