@page {
  size: letter portrait;
  margin: 0;
}

:root {
  --paper: #ffffff;
  --gap: 0.028in;
  --panel-gap: 0.024in;
  --panel-pad: 0.022in;
  --radius: 0.028in;
  --panel-title-height: 0.19in;
  --card-title-height: 0.165in;
  --footer-height: 0.16in;
  --page-header-height: 0.34in;
  --ink: #202020;
  --theme: var(--dark);
  --theme-soft: #dfeee5;
  --dark: #222222;
  --line: #777777;
  --mid: #e1e7ef;
  --soft: var(--mid);
  --cols: #eef1f4;
  --pale: #f7f9fb;
  --panel-bg: var(--pale);
  --body-size: 11pt;
  --body-line: 1;
  --small-size: 11pt;
}

* {
  box-sizing: border-box;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #e8edf2;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-line);
  padding: 0.10in;
}

.page {
  width: 8.5in;
  height: 11in;
  margin: 0 auto;
  padding: 0.045in;
  display: grid;
  grid-template-rows: var(--page-header-height) minmax(0, 1fr) var(--footer-height);
  gap: var(--gap);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: 0.01in solid var(--dark);
}

.page *,
.page *::before,
.page *::after {
  min-width: 0;
  min-height: 0;
}

.page-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-content > .x-section {
  flex: 1 1 auto;
}

.page-header {
  display: grid;
  grid-template-rows: 0.19in 0.15in;
  overflow: hidden;
  border: 0.006in solid var(--dark);
}

.page-header .header,
.page-header .subheader {
  margin: 0;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.page-header .header {
  padding: 0 0.045in;
  color: white;
  background: var(--dark);
  font-size: 14pt;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.page-header .subheader {
  padding: 0 0.045in;
  color: var(--dark);
  background: var(--mid);
  font-size: 11pt;
  letter-spacing: 0.006em;
}

.x-section,
.h-grid,
.panel-body,
.card-body {
  gap: var(--section-gap, var(--panel-gap));
  overflow: hidden;
  align-items: stretch;
  align-content: stretch;
}

.x-section {
  display: flex;
}

.x-section.dir-h { flex-direction: row; }
.x-section.dir-v { flex-direction: column; }


.x-section.tracks,
.panel-body.tracks {
  display: grid;
}

.h-grid {
  display: grid;
  grid-auto-flow: row;
  flex: 1 1 0;
  min-height: 0;
}

.h-grid.dense {
  grid-auto-flow: dense;
}

.full {
  grid-column: 1 / -1;
  width: 100%;
}

.fill,
.full {
  flex: 1 1 0;
  min-height: 0;
}

.panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel-bg);
  border: 0.008in solid var(--dark);
  border-radius: var(--radius);
}

.panel > h2 {
  flex: 0 0 var(--panel-title-height);
  width: 100%;
  margin: 0;
  padding: 0 0.045in;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12pt;
  line-height: 1;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  white-space: nowrap;
}

.panel-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: var(--panel-pad);
}

.panel-body > .card,
.panel-body > .panel,
.panel-body > .h-grid,
.panel-body > .x-section,
.card-body > .card,
.card-body > .panel,
.card-body > .h-grid,
.card-body > .x-section {
  flex: 1 1 0;
  min-height: 0;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: white;
  border: 0.006in solid var(--line);
  border-radius: 0.02in;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.card > table,
.card-body > table {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
}

.card > p,
.card > .flow,
.card-body > p,
.card-body > .flow {
  flex: 0 0 auto;
}

.card.fit-content > table,
.card.fit-content .card-body > table {
  flex: 0 0 auto;
  height: auto;
}

.card h3 {
  min-height: var(--card-title-height);
  margin: 0;
  padding: 0.004in 0.025in;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme);
  color: white;
  border-bottom: 0.005in solid var(--line);
  font-size: 11pt;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.006em;
  text-transform: uppercase;
  text-align: center;
}

.card h3 small {
  margin-left: 0.035in;
  font-size: 11pt;
  opacity: 0.95;
}

table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--body-size);
  line-height: var(--body-line);
}

table.has-col-widths {
  table-layout: auto;
}

th,
td {
  border: 0.004in solid var(--line);
  padding: 0.010in 0.016in;
  vertical-align: middle;
  text-align: left;
  overflow-wrap: anywhere;
}

td.align-left-text {
  padding-left: 0.030in;
}

th {
  background: var(--theme);
  color: white;
  font-weight: 850;
}

th,
th.align-left-text,
th.align-center-text,
th.align-right-text {
  text-align: center !important;
}

td {
  background: white;
  color: var(--ink);
}

tbody tr:nth-child(even) td {
  background: var(--pale);
}

td.key,
th.key,
td.fmt-bd,
th.fmt-bd,
td.fmt-bi,
th.fmt-bi {
  font-weight: 850;
}

td.fmt-it,
th.fmt-it,
td.fmt-bi,
th.fmt-bi {
  font-style: italic;
}

.num,
.mark {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.nowrap,
.num,
.mark {
  white-space: nowrap;
  overflow-wrap: normal;
}

.align-left-text { text-align: left !important; }
.align-center-text { text-align: center !important; }
.align-right-text { text-align: right !important; }

.align-center {
  align-self: center;
  margin-left: auto !important;
  margin-right: auto !important;
}

.align-right {
  align-self: flex-end;
  margin-left: auto !important;
}

.table-paired th:nth-child(1),
.table-paired th:nth-child(3),
.table-paired td:nth-child(1),
.table-paired td:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}

table.wide-table,
table.tall-table,
table.very-tall-table {
  font-size: 11pt;
  line-height: 1;
}

table.wide-table th,
table.wide-table td,
table.tall-table th,
table.tall-table td,
table.very-tall-table th,
table.very-tall-table td {
  padding: 0.007in 0.012in;
}

.card-tall h3,
.card-wide h3,
.card-very-tall h3 {
  min-height: var(--card-title-height);
  font-size: 11pt;
}

p {
  margin: 0;
  padding: 0.014in;
  font-size: 11pt;
  line-height: 1;
}

.flow {
  display: grid;
  gap: 0.014in;
  align-items: center;
  text-align: center;
  font-size: 11pt;
  line-height: 1;
  font-weight: 850;
}

.flow div {
  border: 0.005in solid var(--line);
  border-radius: 0.018in;
  padding: 0.016in;
  background: white;
}

.flow span {
  line-height: 1;
  font-size: 12pt;
}

.note {
  padding: 0.014in;
  font-size: 11pt;
  line-height: 1;
  text-align: center;
  font-weight: 850;
}

x-note,
.note {
  font-weight: 750;
  font-style: italic;
}

.page-footer {
  min-height: var(--footer-height);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
  color: white;
  font-size: 11pt;
  font-weight: 800;
  letter-spacing: 0.004em;
  line-height: 1;
  text-align: center;
  padding: 0 0.04in;
}

.tone-soft h3 {
  background: var(--soft);
  color: var(--dark);
  border-bottom: 0.005in solid var(--line);
}

.fit-dense table,
.fit-compact table,
.fit-tight table,
.fit-large table,
.fit-checklist table {
  font-size: 11pt;
  line-height: 1;
}

.fit-dense th,
.fit-dense td,
.fit-compact th,
.fit-compact td,
.fit-tight th,
.fit-tight td {
  padding: 0.006in 0.010in;
}

.fit-large th,
.fit-large td,
.fit-checklist th,
.fit-checklist td {
  padding: 0.012in 0.016in;
  font-weight: 850;
}

.fit-checklist .mark {
  width: 0.30in;
  font-size: 13pt;
  line-height: 1;
}

/* Preserve readable inset for every left-aligned (lt) body cell,
   including dense, wide, and tall table variants. */
table td.align-left-text {
  padding-left: 0.030in;
}

td span,
th span {
  display: block;
  margin-top: 0.006in;
  font-size: 11pt;
  font-weight: 500;
  line-height: 1;
}

@media print {
  body {
    padding: 0;
    background: white;
  }

  .page {
    border: none;
    margin: 0;
  }
}
