/* The documents. Everything is in em, and 1em is 10px on a 794px-wide A4 sheet,
   so a sheet scales to any width with no transforms and the PDF matches the screen. */
.sheet-frame { container-type: inline-size; width: 100%; }
.sheet {
  font-size: calc(100cqw / 794 * 10);
  width: 79.4em; height: 112.3em; position: relative; overflow: hidden;
  display: flex; flex-direction: column; background: #fff; color: #22272b;
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-kerning: none; font-variant-ligatures: none; text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
  text-rendering: geometricPrecision; text-align: left;
}
.sheet :where(h2, h3, p, ul, dl, dd, blockquote) { margin: 0; padding: 0; }
.band { height: 1.1em; background: var(--ink); flex: none; }
.lh { flex: none; display: flex; justify-content: space-between; gap: 3em; padding: 3.2em 5.6em 2.2em; font-size: 1em; }
.lh-left { min-width: 0; }
.lh-name, .doc-title { font-kerning: normal; }
.lh-name { font-family: "Besley", Georgia, serif; font-weight: 700; font-size: 2.7em; line-height: 1.12; color: var(--ink); }
.lh-logo { display: block; max-height: 7em; max-width: 30em; }
.lh-reg { font-size: 1.12em; line-height: 1.45; color: #5a6268; margin-top: .55em; }
.lh-right { font-size: 1.22em; line-height: 1.45; text-align: right; color: #3c4348; flex: none; max-width: 28em; overflow-wrap: anywhere; }
.compact .lh { padding: 2.3em 5.6em 1.5em; align-items: flex-end; }
.compact .lh-name { font-size: 2em; }
.compact .lh-logo { max-height: 4.4em; }
.compact .lh-right { font-size: 1.12em; max-width: 36em; }
.sheet-body { flex: 1 1 auto; min-height: 0; padding: 0 4.118em; font-size: 1.36em; line-height: 1.42; overflow: hidden; }
.sheet-body > * { --gap: 1em; }
.doc-title { font-family: "Besley", Georgia, serif; font-weight: 500; font-size: 2.4em; line-height: 1.15; color: var(--ink); border-top: .055em solid var(--ink); padding-top: .42em; margin-bottom: .45em; }
.title-row { display: flex; justify-content: space-between; align-items: flex-start; border-top: .14em solid var(--ink); padding-top: .6em; margin-bottom: 1.1em; gap: 2em; }
.title-row .doc-title { border: 0; padding: 0; margin: 0; }
.meta { display: flex; gap: 2.2em; text-align: right; }
.meta dt { font-size: .84em; color: #5a6268; }
.meta dd { font-weight: 600; }
.sheet h3 { font-weight: 600; font-size: 1em; color: var(--ink); }
.lede { color: #3c4348; margin-bottom: .9em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5em; margin-bottom: 1.1em; }
.jobdesc { margin-bottom: 1.1em; }
.jobdesc h3 { font-family: "Besley", Georgia, serif; font-weight: 500; font-size: 1.22em; margin-bottom: .25em; }
.jobdesc p + p { margin-top: .5em; }
.li { display: grid; grid-template-columns: 1fr 3.6em 6.2em 6.6em; gap: 1em; padding: .42em 0; border-bottom: 1px solid #dcdee0; }
.li span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.li-head { font-weight: 600; color: var(--ink); font-size: .9em; border-bottom: 2px solid var(--ink); padding-top: 0; }
.totals { margin: .3em 0 1.15em auto; width: 22em; font-variant-numeric: tabular-nums; }
.totals > div { display: flex; justify-content: space-between; padding: .3em .7em; }
.totals .grand { background: var(--ink); color: #fff; font-weight: 600; font-size: 1.14em; padding: .5em .65em; margin: .22em 0; align-items: center; }
.totals small { display: block; font-weight: 400; font-size: .76em; line-height: 1.2; }
.kv { margin-bottom: .9em; }
.kv h3 { margin-bottom: .1em; }
.kv p + p { margin-top: .3em; }
.pointer { margin-bottom: .8em; font-weight: 600; }
.agree { border-top: 1px solid #bcc1c4; padding-top: .7em; margin-top: 1em; }
.agree > p { margin-bottom: .2em; }
.sigs { display: grid; grid-template-columns: 2.1fr 1fr; column-gap: 2em; row-gap: 0; }
.sig { padding-top: 2.5em; }
.sig-line { border-bottom: 1px solid #22272b; }
.sig-label { font-size: .84em; color: #5a6268; padding-top: .2em; }
.model-h { font-weight: 500; font-family: "Besley", Georgia, serif; font-size: 1.1em !important; margin: .7em 0 .25em; }
.model { margin-bottom: .48em; }
.model-list { margin: -.2em 0 .48em 1.4em; }
.model-source { font-size: .82em; color: #5a6268; margin: .3em 0 .7em; }
.alsonote { margin-bottom: .75em; padding-top: .55em; border-top: 1px solid #bcc1c4; }
.alsonote p { margin-top: .2em; }
.datebox { background: #eef0f2; padding: .6em .9em; }
.datebox-h { font-weight: 600; color: var(--ink); }
.mform { margin-top: 1em; border: 1.5px solid var(--ink); padding: 1.5em 1.7em 1.3em; }
.mform p { margin-bottom: 1em; }
.mform .fill { padding-bottom: 1.8em; border-bottom: 1px solid #8a9094; margin-bottom: .8em; }
.mform .tall { padding-bottom: 3.2em; }
.mform .del { font-size: .9em; margin: 1.1em 0 0; }
.fill-line { display: flex; gap: .6em; padding-top: 1em; }
.fill-line span { flex: 1; border-bottom: 1px solid #22272b; }
.plain { list-style: none; }
.plain li { padding: .3em 0 .3em 1.1em; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .95em; width: .55em; height: .1em; background: var(--ink); }
.tick { display: flex; gap: .85em; align-items: flex-start; border: 1px solid #bcc1c4; padding: .85em 1em; margin: .8em 0 .2em; }
.box { flex: none; width: 1.35em; height: 1.35em; border: 1.5px solid #22272b; margin-top: .1em; }
.tick em { color: #5a6268; }
.term { margin-bottom: .85em; }
blockquote.reg { border-left: .25em solid var(--ink); padding: .1em 0 .1em 1em; margin: .3em 0 1em; }
blockquote.reg cite { font-style: normal; font-weight: 600; }
blockquote.reg p { margin-top: .3em; }
.foot { flex: none; display: flex; justify-content: space-between; gap: 2em; padding: .8em 5.09em 1.8em; font-size: 1.1em; color: #5a6268; }
.wm { position: absolute; inset: -30% -35%; transform: rotate(-32deg); display: grid; grid-template-columns: repeat(4, 1fr); align-content: space-around; justify-items: center; pointer-events: none; }
.wm span { font-family: "Besley", Georgia, serif; font-weight: 700; font-size: 5.4em; color: rgba(28, 90, 166, .16); line-height: 2.1; }
@media print {
  @page { size: A4; margin: 0; }
  .sheet-frame { width: 210mm !important; break-after: page; }
  .sheet { box-shadow: none !important; }
  .sheet, .band, .grand, .datebox { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
