/* Pages drawn by render.js. Positions use CSS inches; the viewer scales pages with `zoom`. */
.pub-page {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #000;
  flex: none;
  forced-color-adjust: none;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.pub-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pub-text {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: normal; /* long words overflow and get shrunk by layout() instead of breaking */
  tab-size: 0.5in;
  line-height: 1.17;
  font-family: "Times New Roman", serif;
  font-size: 10pt;
  color: #000;
  text-align: left;
  transform-origin: 50% 50%;
}

/* The text area inside the box margins. Stories continue in the next box from here, but text is
   clipped only at the box border (.pub-text), so a tight box still shows its whole line. */
.pub-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pub-flow {
  flex: none;
}

.pub-p {
  margin: 0;
}

.pub-table-frame {
  position: absolute;
}

.pub-table {
  border-collapse: collapse;
  table-layout: fixed;
  font-family: "Times New Roman", serif;
  font-size: 10pt;
  line-height: 1.17;
  color: #000;
}

.pub-table td {
  padding: 0.04in;
  vertical-align: top;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  overflow: hidden;
  tab-size: 0.5in;
}
