.box-layout .steps-nav {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
}

.step-btn {
  appearance: none;
  text-align: left;
  border: 1px solid var(--line);
  background: #1b242e;
  color: var(--muted);
  border-radius: 8px;
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.step-btn.on {
  border-color: rgba(196, 92, 38, 0.55);
  color: #f0d2c0;
  background: rgba(196, 92, 38, 0.14);
}

.field.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.field.check input {
  width: auto;
  min-height: auto;
}

.field.check span {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.ba-box {
  margin: 0.5rem 0 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #12181f;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  font-family: var(--mono);
}

.ba-box strong {
  color: var(--text);
  font-weight: 600;
}

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

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

#view-3d #viewport {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

#flat-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #0c1014;
}

.export-pane {
  padding: 1.5rem;
  color: var(--text);
  background: linear-gradient(180deg, #141a21 0%, #0c1014 100%);
}

.export-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.7;
  color: var(--muted);
}

.exports .btn + .btn,
.exports a.btn {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
