/* Indonesian reader layout: use the full main column on desktop. */
@media screen and (min-width: 801px) {
  body.pretext .ptx-main > .ptx-content,
  body.pretext .ptx-content-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
  }
}

/* Keep the network-independent Sage input/output fallbacks readable without
   allowing long code lines to widen the page on desktop or mobile. */
.sage-static-input,
.sage-static-output {
  max-width: 100%;
}

.sage-static-input > pre,
.sage-static-output > pre {
  box-sizing: border-box;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}
