/* Shared layout primitives for Marketplace documents. */
.marketplace-fit {
  --marketplace-gutter: clamp(1rem, 2.25vw, 2rem);
  overflow-wrap: anywhere;
}
.marketplace-fit *, .marketplace-fit *::before, .marketplace-fit *::after {
  box-sizing: border-box;
}
.marketplace-fit :where(header, main, aside, nav, section, article, form, label, button, input, select, textarea, iframe) {
  min-inline-size: 0;
}
.marketplace-fit :where(img, video, svg, canvas, iframe, input, select, textarea, button) {
  max-inline-size: 100%;
}
.marketplace-fit :where(input, select, textarea, button) {
  font: inherit;
}
.marketplace-fit :where(button, select, input:not([type="checkbox"], [type="radio"], [type="hidden"])) {
  min-block-size: 44px;
}
.marketplace-fit :where(button) {
  white-space: normal;
  overflow-wrap: anywhere;
}
.marketplace-fit :where(pre) {
  white-space: pre-wrap;
}
.marketplace-fit .table-wrap {
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.marketplace-fit .table-wrap:focus-visible {
  outline: 2px solid #a77c09;
  outline-offset: -2px;
}
