/* KDP: 8.5×8.5 in trim, 0.125in bleed on all sides */
@page {
  size: 8.75in 8.75in;
  margin: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 8.75in;
  background: white;
}

.page {
  width: 8.75in;
  height: 8.75in;
  position: relative;
  overflow: hidden;
  page-break-after: always;
  break-after: page;
}

/* Safe zone: 0.125in bleed + 0.675in margin = 0.8in from PDF edge */
.page--text .text-page-inner,
.page--title .title-content,
.page--toc,
.page--imprint .imprint-content {
  padding: 0.8in;
}
