.vm-layout .steps-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 1rem;
}

.vm-layout .step-btn {
  flex: 1 1 auto;
  min-width: 5.5rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted, #8b9aab);
  background: #141b22;
  border: 1px solid #2a3540;
  border-radius: 8px;
  cursor: pointer;
}

.vm-layout .step-btn.on {
  color: #e8f0f8;
  border-color: #3d8bfd;
  background: rgba(61, 139, 253, 0.14);
}

.vm-layout .field.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.vm-layout .field.check input {
  width: auto;
}

.vm-bom {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #141b22;
  border: 1px solid #2a3540;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #9eb0c2;
  max-height: 220px;
  overflow: auto;
}

.vm-bom h3 {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: #e8f0f8;
}

.vm-bom table {
  width: 100%;
  border-collapse: collapse;
}

.vm-bom th,
.vm-bom td {
  text-align: left;
  padding: 0.28rem 0.2rem;
  border-bottom: 1px solid #24303a;
}

.vm-bom th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7a8a;
}

.vm-bom td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #d7e3ef;
}

.vm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: #8b9aab;
}

.vm-legend i {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  margin-right: 0.3rem;
  vertical-align: middle;
}

.vm-swatch-shell { background: #8a96a4; }
.vm-swatch-door { background: #5a6570; }
.vm-swatch-glass { background: #7ec8ff; }
.vm-swatch-shelf { background: #c9a24a; }
.vm-swatch-chute { background: #3d8bfd; }
.vm-swatch-pay { background: #2dd4a8; }

.view-pane {
  display: none;
  position: absolute;
  inset: 0;
}

.view-pane.on {
  display: block;
}

.viewport-wrap {
  position: relative;
}

.export-pane {
  padding: 1.5rem;
  color: #9eb0c2;
}

.export-pane ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.export-pane li {
  margin: 0.35rem 0;
}

#bom-full table {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

#bom-full th,
#bom-full td {
  text-align: left;
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid #24303a;
}

#bom-full th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7a8a;
}

#bom-full td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #d7e3ef;
}

#bom-full h3 {
  margin: 0 0 0.65rem;
  color: #e8f0f8;
  font-size: 1rem;
}
