:root {
  color-scheme: light;
  --ink: #142f2b;
  --text: #23372f;
  --muted: #52635d;
  --edge: #d6ded6;
  --paper: #f7f8f4;
  --white: #fff;
  --link: #275d4b;
  font-family: "Inter","Helvetica Neue",Arial,sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}

a {
  color: var(--link);
  text-underline-offset: .23em;
}

button,input,select {
  font: inherit;
}

button,a,input,select {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid #b36a21;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  top: -4rem;
  left: 1rem;
  padding: .6rem;
  background: white;
  z-index: 2;
}

.skip:focus {
  top: .6rem;
}

.wrap {
  width: min(1192px,calc(100% - 88px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--edge);
  background: #fff;
}

.top {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 670;
  letter-spacing: -.055em;
  color: var(--ink);
}

.mark {
  display: inline-block;
  position: relative;
  width: 35px;
  height: 35px;
  background: #183f37;
  border-radius: 5px;
  overflow: hidden;
}

.mark i,.mark b {
  position: absolute;
  background: #c7e4ae;
  transform: skew(-19deg);
  width: 6px;
  height: 20px;
  left: 10px;
  top: 7px;
}

.mark b {
  width: 5px;
  height: 13px;
  left: 20px;
  top: 14px;
  transform: skew(19deg);
}

nav {
  display: flex;
  gap: 31px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  font-size: .91rem;
}

nav a:hover,.brand:hover {
  color: #1e5b43;
}

main {
  padding-top: 41px;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
}

.eyebrow,.kicker,.year {
  font-family: "IBM Plex Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
}

.eyebrow,.kicker {
  font-size: .77rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.5;
  font-weight: 600;
}

.eyebrow {
  color: #4f6c5c;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rule {
  width: 23px;
  height: 2px;
  background: #5d825b;
}

h1,h2,h3,p {
  margin: 0;
}

h1 {
  font-family: "DM Serif Text",Georgia,"Times New Roman",serif;
  font-size: clamp(2.7rem,4.7vw,4.2rem);
  font-weight: normal;
  color: var(--ink);
  letter-spacing: -.055em;
  line-height: 1.04;
  margin: 9px 0 10px;
}

.intro p,.subline,.note,.parcel p,.table-note,.assistance p,.source-list p,.credit-note {
  color: var(--muted);
  line-height: 1.5;
}

.intro p {
  font-size: 1rem;
}

.print {
  background: #fff;
  color: var(--ink);
  border: 1px solid #adbeb1;
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 600;
  padding: 11px 17px;
  cursor: pointer;
  white-space: nowrap;
}

.print:hover {
  background: #edf2eb;
}

.print:disabled {
  opacity: .6;
  cursor: default;
}

.summary {
  background: #183a32;
  border-radius: 8px;
  color: #fff;
  padding: 27px 32px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
  box-shadow: inset 0 0 0 1px #214238;
}

.summary .kicker {
  color: #d2e4ca;
}

.big {
  display: block;
  font-size: clamp(2.7rem,5.4vw,5.3rem);
  letter-spacing: -.065em;
  line-height: 1.13;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #f9f6e9;
  margin: 2px 0 5px;
  overflow-wrap: anywhere;
}

.summary-left p {
  font-size: .88rem;
  color: #d3dfd2;
}

.composition {
  border-left: 1px solid #527164;
  padding: 4px 0 4px 30px;
}

.bar {
  display: flex;
  gap: 3px;
  height: 20px;
  margin: 12px 0 13px;
  overflow: hidden;
  border-radius: 3px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  color: #eff5ec;
  font-size: .82rem;
}

.legend>span {
  white-space: nowrap;
}

.dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 2px;
  vertical-align: 1px;
  margin-right: 8px;
}

.work {
  display: grid;
  grid-template-columns: minmax(275px,.77fr) minmax(0,1.55fr);
  align-items: start;
  gap: 27px;
  margin: 26px 0 34px;
}

.parcel,.scenario,.ledger {
  background: var(--white);
  border: 1px solid var(--edge);
  border-radius: 8px;
}

.parcel,.scenario,.ledger>section {
  padding: 24px 27px;
}

.parcel {
  border-top: 3px solid #739c81;
  background: linear-gradient(130deg,#f1f6ee,#fff 79%);
}

.parcel .kicker {
  color: #58755e;
}

.parcel h2 {
  font-family: "DM Serif Text",Georgia,serif;
  font-weight: 400;
  font-size: 2.05rem;
  letter-spacing: -.04em;
  margin: 8px 0 4px;
}

.parcel-facts {
  margin: 19px 0 13px;
}

.parcel-facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin: 9px 0;
}

.parcel-facts dt,.parcel-facts dd,.parcel a {
  font-size: .85rem;
}

.parcel-facts dt {
  color: var(--muted);
}

.parcel-facts dd {
  margin: 0;
  font-weight: 550;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.parcel a,.text-btn,.source-list a {
  font-weight: 600;
}

.scenario {
  margin-top: 16px;
}

.section-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.section-line h2 {
  font-size: 1.25rem;
  line-height: 1.28;
  letter-spacing: -.035em;
}

.text-btn {
  background: none;
  border: 0;
  color: var(--link);
  font-size: .85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0 4px 5px;
}

.scenario form {
  margin: 19px 0 13px;
}

.scenario label {
  display: block;
  color: #394d41;
  font-size: .87rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.scenario input,.scenario select {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #acbcb0;
  border-radius: 4px;
  background-color: #fff;
  color: var(--ink);
  height: 43px;
}

.scenario input[aria-invalid=true] {
  border-color: #ad382b;
}

.scenario select {
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg,transparent 50%,#46614c 50%),linear-gradient(135deg,#46614c 50%,transparent 50%);
  background-position: calc(100% - 16px) 50%,calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field-pair {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 12px;
  margin-top: 15px;
}

.note,.table-note,.credit-note,.source-list p {
  font-size: .875rem;
}

.error {
  color: #9d281d;
  font-size: .87rem;
  margin-top: 10px;
}

.year {
  font-size: .79rem;
  color: #47624f;
  border: 1px solid #cadaCB;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.subline {
  font-size: .875rem;
  margin: 6px 0 20px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  font-variant-numeric: tabular-nums;
}

td,th {
  padding: 10px 3px;
  white-space: nowrap;
}

td,th:not(:first-child) {
  text-align: right;
}

th:first-child {
  text-align: left;
}

thead th {
  color: var(--muted);
  font-size: .79rem;
  font-weight: 600;
  border-bottom: 1px solid #adbeaf;
  padding-top: 0;
}

tbody tr+tr {
  border-top: 1px solid #e8ece7;
}

tbody th {
  font-weight: 540;
}

tbody tr.zero {
  color: #5a685f;
}

.table-note {
  margin-top: 14px;
}

.table-scroll .dot {
  vertical-align: 0;
}

tfoot th,tfoot td {
  border-top: 1px solid #a9bbaa;
  font-weight: 650;
  color: var(--ink);
  padding: 13px 3px 5px;
}

.ledger .assistance {
  border-top: 1px solid var(--edge);
  background: #f6f8ef;
  border-radius: 0 0 8px 8px;
}

.assistance p {
  margin: 8px 0;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0 3px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.check input {
  accent-color: #2c634b;
  width: 18px;
  height: 18px;
  margin: 0;
}

.check:has(input:disabled) {
  color: #627166;
  cursor: default;
}

.assistance .credit-note {
  margin: 5px 0 0;
}

.assistance #net-line {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #cbd9c7;
}

#net-line>div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

#net-line strong {
  font-size: 1.3rem;
  white-space: nowrap;
}

#net-line small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.sources {
  display: grid;
  grid-template-columns: minmax(275px,.77fr) minmax(0,1.55fr);
  gap: 27px;
  border-top: 1px solid #bccbbd;
  padding: 28px 0 40px;
}

.sources h2 {
  font-family: "DM Serif Text",Georgia,serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -.045em;
  margin-top: 7px;
}

.source-list>div+div {
  margin-top: 15px;
}

.source-list a {
  font-size: .95rem;
}

.source-list p {
  margin-top: 3px;
}

footer {
  border-top: 1px solid var(--edge);
  padding: 19px 0;
  font-size: .81rem;
  color: var(--muted);
}

footer>.wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

footer strong {
  color: var(--ink);
}

[hidden] {
  display: none!important;
}

@media(max-width:900px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .work,.sources {
    gap: 16px;
    grid-template-columns: minmax(257px,.85fr) minmax(0,1.3fr);
  }
  .parcel,.scenario,.ledger>section {
    padding: 20px 17px;
  }
  .summary {
    padding: 24px;
    gap: 18px;
  }
  .summary .big {
    font-size: clamp(2.4rem,6vw,4.3rem);
  }
  .composition {
    padding-left: 17px;
  }
  .parcel-facts div {
    display: block;
  }
  .parcel-facts dd {
    text-align: left;
    margin-top: 3px;
  }
}

@media(max-width:700px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .top {
    height: 62px;
  }
  .brand {
    font-size: 1.07rem;
    gap: 7px;
  }
  .mark {
    transform: scale(.85);
    transform-origin: left center;
    margin-right: -3px;
  }
  nav {
    gap: 14px;
  }
  nav a {
    font-size: .82rem;
  }
  .intro {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }
  main {
    padding-top: 26px;
  }
  .summary {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 22px;
  }
  .summary .big {
    font-size: clamp(2.3rem,9.5vw,4rem);
  }
  .composition {
    border: 0;
    border-top: 1px solid #527164;
    padding: 14px 0 0;
  }
  .bar {
    height: 13px;
    margin: 7px 0 9px;
  }
  .legend {
    gap: 6px 11px;
  }
  .work,.sources {
    grid-template-columns: 1fr;
  }
  .work {
    margin-top: 16px;
  }
  .parcel-facts div {
    display: flex;
  }
  .parcel-facts dd {
    text-align: right;
    margin: 0;
  }
  .sources {
    padding: 24px 0;
  }
  .print {
    padding: 8px 12px;
  }
  .table-scroll {
    margin: 0 -2px;
  }
  .dot {
    margin-right: 6px;
  }
  .sources h2 {
    font-size: 1.8rem;
  }
  footer>.wrap {
    flex-direction: column;
    gap: 5px;
  }
}

@media(max-width:390px) {
  .wrap {
    width: calc(100% - 24px);
  }
  nav {
    gap: 9px;
  }
  nav a:first-child {
    display: none;
  }
  .ledger>section,.parcel,.scenario {
    padding: 18px 13px;
  }
  td,th {
    font-size: .82rem;
  }
  .legend {
    font-size: .77rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  @page {
    margin: 14mm;
  }
  body {
    background: white;
    font-size: 10pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .wrap {
    width: 100%;
  }
  .top {
    height: auto;
    padding: 5px 0 12px;
  }
  main {
    padding-top: 10px;
  }
  nav,.print,.text-btn,.skip {
    display: none;
  }
  .intro {
    margin-bottom: 10px;
  }
  h1 {
    font-size: 32pt;
  }
  .summary {
    padding: 12px 16px;
    display: block;
  }
  .summary .big {
    font-size: 32pt;
  }
  .composition {
    display: none;
  }
  .work {
    display: block;
    margin: 12px 0;
  }
  .inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .scenario {
    margin: 0;
  }
  .parcel,.scenario,.ledger>section {
    padding: 12px;
  }
  .parcel-facts div {
    display: block;
  }
  .sources {
    display: block;
    padding: 10px 0;
  }
  .source-list>div {
    break-inside: avoid;
    margin: 7px 0;
  }
  h2,h3,.section-line {
    break-after: avoid;
  }
  table,.assistance,.parcel,.scenario {
    break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  td,th {
    padding: 5px 2px;
  }
  .assistance .check:has(input:disabled) {
    display: none;
  }
  footer {
    padding: 8px 0;
  }
}
