/* css/assemblies.css - wide two-column New / Edit Assembly workspace modal */

/* Desktop: 960px minimum, 1200px maximum. Small screens fall back to the viewport width and stack the columns. */
.asm-modal-panel { width: 96vw; max-height: 94vh; }
@media (min-width: 1024px) {
  .asm-modal-panel { width: 100%; min-width: 960px; max-width: 1200px; height: min(92vh, 860px); }
  .asm-modal-body { overflow: hidden; }
  .asm-col-left, .asm-col-right { max-height: 100%; }
}
@media (max-width: 1023px) {
  .asm-modal-panel { overflow-y: auto; }
  .asm-bom-scroll { max-height: 22rem; }
}

#asm-comp-body input[type="text"],
#asm-comp-body input[type="number"],
#asm-comp-body select { min-width: 0; padding: 0.4rem 0.5rem; }
#asm-comp-body input::-webkit-outer-spin-button,
#asm-comp-body input::-webkit-inner-spin-button { margin: 0; }
#asm-comp-body td.asm-ext { font-weight: 700; text-align: right; white-space: nowrap; }
