/**
 * Use on .app-shell alongside .mockup-modal-scope when it contains Bootstrap modals.
 * Establishes a containing block so position:fixed modal layers stay inside the device frame.
 */
.mockup-modal-scope {
  transform: translateZ(0);
}

/* Inset “well” groups (no fieldset/legend—avoids awkward default borders) */
.mockup-form-well {
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.125rem;
}

.mockup-form-well:last-child {
  margin-bottom: 0;
}

.mockup-form-well__title {
  color: var(--text-strong, #121821);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.mockup-form-well__legend {
  color: var(--text-strong, #121821);
  float: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  padding: 0;
  width: auto;
}

.mockup-form-well__legend--compact {
  margin-bottom: 0.5rem;
}

/* Same surface as --style so the first block is not a heavier gray than the rest. */
.mockup-form-well--ordering {
  background: var(--bs-body-secondary-bg, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.mockup-form-well--transcript,
.mockup-form-well--style {
  background: var(--bs-body-secondary-bg, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.mockup-form-well--template {
  background: var(--bs-body-secondary-bg, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
