@page {
  size: Letter;
  margin: 0.55in 0.62in 0.85in;
  @bottom-left {
    content: "pcatR Technical User Guide";
    color: #64748b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 7.5pt;
  }
  @bottom-right {
    content: "Page " counter(page);
    color: #64748b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 7.5pt;
  }
}

html {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9.3pt;
  line-height: 1.28;
  color: #1f2933;
}

body {
  margin: 0;
  max-width: none;
}

h1, h2, h3, h4 {
  color: #174f2d;
  break-inside: avoid-page;
  page-break-inside: avoid;
  break-after: avoid-page;
  page-break-after: avoid;
}

h1 {
  font-size: 24pt;
  margin: 0 0 0.18in;
}

h2 {
  font-size: 16pt;
  margin: 0.24in 0 0.09in;
  border-bottom: 1px solid #3b78b4;
  padding-bottom: 0.04in;
}

h3 {
  font-size: 12.3pt;
  margin: 0.16in 0 0.06in;
}

h4 {
  font-size: 10.5pt;
  margin: 0.12in 0 0.04in;
}

p {
  margin: 0.05in 0 0.08in;
  orphans: 3;
  widows: 3;
}

ul, ol {
  margin: 0.04in 0 0.08in 0.24in;
  padding-left: 0.16in;
}

li {
  margin: 0.015in 0;
}

a {
  color: #1265a8;
  text-decoration: none;
}

hr {
  border: 0;
  border-top: 1px solid #b9c7bd;
  margin: 0.15in 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 7.25pt;
  margin: 0.07in 0 0.12in;
}

thead {
  display: table-header-group;
}

tr {
  break-inside: avoid-page;
  page-break-inside: avoid;
}

th {
  background: #174f2d;
  color: white;
  font-weight: 700;
  text-align: left;
}

th, td {
  border: 0.5px solid #c8d0cc;
  padding: 3px 4px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

tbody tr:nth-child(even) td {
  background: #f4f7f5;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.93em;
  overflow-wrap: anywhere;
}

pre {
  background: #f1f3f5;
  border-left: 3px solid #9aa8a0;
  padding: 6px 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  break-inside: avoid-page;
  page-break-inside: avoid;
}

pre code {
  font-size: 7.2pt;
}

blockquote {
  margin: 0.08in 0;
  padding: 0.04in 0.12in;
  border-left: 3px solid #2f855a;
  background: #eef7f1;
}

img, svg {
  max-width: 100%;
  height: auto;
}

strong {
  color: #173f28;
}

@media print {
  a {
    color: #1265a8;
  }
}
