:root {
  color-scheme: light;
  --ink: #202b27;
  --soft: #41574e;
  --forest: #143e35;
  --paper: #f6f4ec;
  --panel: #fffef8;
  --line: #b8c6b9;
  --gold: #ebbd69;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #17533f;
  text-underline-offset: 0.18em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bf6809;
  outline-offset: 2px;
}
.mast {
  background: var(--forest);
  color: #fff;
}
.mast nav,
main,
footer {
  max-width: 1070px;
  margin: auto;
  padding-left: clamp(15px, 4vw, 42px);
  padding-right: clamp(15px, 4vw, 42px);
}
.mast nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 54px;
}
.mast nav div {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
}
.mast a {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}
.mast nav > a {
  color: #f6d18c;
}
.intro {
  max-width: 48rem;
  padding-block: clamp(1.8rem, 5vw, 3.3rem) 1.1rem;
}
.eyebrow {
  font-size: 0.78rem !important;
  letter-spacing: 0.1em;
  color: var(--soft);
  text-transform: uppercase;
  font-weight: 750;
}
.intro h1,
.profile h1 {
  font:
    500 clamp(2.8rem, 6.7vw, 5.1rem) / 1.02 'Source Serif 4',
    Georgia,
    serif;
  letter-spacing: -0.057em;
  margin: 0.35rem 0 0.7rem;
  overflow-wrap: anywhere;
}
.intro p,
.profile .dek {
  font-size: 1.12rem;
  line-height: 1.5;
}
.bench {
  padding: clamp(0.85rem, 3vw, 1.55rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
h2 {
  font:
    550 clamp(1.5rem, 3vw, 2.1rem) / 1.15 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 0.45rem 0;
}
.stamp,
.small,
.feedback {
  font-size: 0.88rem;
  color: var(--soft);
}
.stamp {
  font-variant-numeric: tabular-nums;
}
.inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(10rem, 1.15fr);
  gap: 0.8rem;
  margin: 1rem 0 0.65rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 650;
  font-size: 0.86rem;
}
input,
select,
button {
  font: inherit;
  color: var(--ink);
  padding: 0.6rem 0.65rem;
  border: 1px solid #80958a;
  border-radius: 3px;
  background: white;
  max-width: 100%;
  min-width: 0;
}
button {
  background: var(--forest);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
#controls[hidden] {
  display: none;
}
.feedback:empty {
  display: none;
}
#table-context {
  margin: 1.2rem 0 0.45rem;
  font-weight: 650;
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
th,
td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid #d7ded6;
  white-space: nowrap;
}
th:first-child,
td:first-child {
  text-align: left;
}
thead th {
  font-size: 0.79rem;
  color: var(--soft);
  background: #ecf0e8;
}
tbody a {
  font-weight: 750;
}
.small,
p,
li {
  line-height: 1.52;
}
.receipt {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-block: 1.5rem;
  padding-bottom: 0.8rem;
}
#sources,
.profile section {
  max-width: 82ch;
  margin-block: 1.5rem;
}
.profile main {
  max-width: 920px;
}
.profile .lede {
  font-size: 1.12rem;
  line-height: 1.5;
}
.profile nav.trail {
  margin: 1.5rem 0 0.6rem;
}
.action {
  display: inline-block;
  background: var(--forest);
  padding: 0.6rem 0.9rem;
  color: #fff;
  font-weight: 650;
  border-radius: 3px;
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
}
.extension-list {
  columns: 3;
  column-gap: 2rem;
  padding: 0;
  list-style: none;
}
.extension-list li {
  break-inside: avoid;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}
footer {
  margin-top: 2.25rem;
  padding-block: 1rem 2rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 650px) {
  .inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inputs label {
    min-width: 0;
  }
  .receipt {
    display: block;
  }
  .extension-list {
    columns: 2;
  }
  .table-wrap th,
  .table-wrap td {
    font-size: 0.83rem;
  }
  .mast nav {
    font-size: 0.86rem;
  }
}
@media (max-width: 410px) {
  .extension-list {
    columns: 1;
  }
  .bench {
    padding: 0.7rem;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 0.5rem 0.28rem;
    font-size: 0.76rem;
  }
}
.count-value {
  position: relative;
  display: block;
  min-width: 2.5em;
  padding-bottom: 4px;
}
.count-value:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--share);
  height: 3px;
  border-radius: 2px;
  background: #498572;
}
