:root {
  color-scheme: light;
  --ink: #142b28;
  --muted: #53655d;
  --green: #176052;
  --paper: #faf9f4;
  --line: #dbe3da;
  --light: #ecf3e9;
  --gold: #f6e8c5;
  --gold-text: #604505;
  font: 16px/1.55 "Instrument Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, p { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: .2em; }
:focus-visible { outline: .16rem solid #a45420; outline-offset: .25rem; }
.shell { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.skip, .sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  clip-path: none;
  z-index: 2;
  margin: .55rem;
  width: auto;
  height: auto;
  padding: .75rem;
  background: white;
}
.masthead { background: white; border-bottom: 1px solid var(--line); }
.masthead-inner, .footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-block: .85rem;
}
.brand { color: var(--ink); text-decoration: none; font: bold 1.55rem Georgia, serif; }
.brand span { color: var(--green); }
.hero {
  background: var(--light);
  padding-block: clamp(2.35rem, 5.3vw, 4.65rem) 2.4rem;
  border-bottom: 1px solid var(--line);
}
.hero-intro, .section-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.35rem; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.047em;
}
h1 { margin: 0 0 .9rem; font-size: clamp(2.55rem, 7.15vw, 5.6rem); }
h2 { margin: 0 0 .65rem; font-size: clamp(2rem, 4.65vw, 3.3rem); }
h3 { margin: 0; line-height: 1.23; font-size: 1.16rem; }
.lede { max-width: 36rem; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.23rem); }
.period-picker { flex: 0 0 auto; }
.period-picker label { display: block; margin-bottom: .3rem; font-weight: 700; font-size: .85rem; }
select {
  color: var(--ink);
  background: white;
  border: 1px solid #80998d;
  border-radius: .45rem;
  padding: .58rem .74rem;
  font: inherit;
}
.publication {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .44rem .7rem;
  margin: 1.35rem 0 .8rem;
  color: var(--muted);
  font-size: .86rem;
}
.status {
  display: inline-block;
  padding: .17rem .52rem;
  background: #dcecdf;
  color: #164d41;
  font-size: .77rem;
  font-weight: 700;
  border-radius: .28rem;
  white-space: nowrap;
}
.status.pending { background: var(--gold); color: var(--gold-text); }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: .7rem;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.metrics > div { padding: .92rem 1.12rem; background: white; }
.metrics dt { color: var(--muted); font-size: .88rem; font-weight: 700; }
.metrics dd { margin: .2rem 0 .08rem; line-height: 1.12; font: 500 clamp(1.45rem, 3.4vw, 2.55rem) Georgia, serif; letter-spacing: -.035em; }
.metrics p { color: var(--muted); font-size: .85rem; }
.reading-box {
  max-width: 57rem;
  margin-block: .92rem 1.1rem;
  border-inline-start: .2rem solid var(--green);
  padding: .43rem .85rem;
  color: var(--ink);
  font-size: .96rem;
}
.noscript { margin-top: 1rem; }
.section-links { background: white; border-bottom: 1px solid var(--line); }
.section-links .shell { display: flex; gap: .55rem 1.7rem; flex-wrap: wrap; padding-block: .84rem; }
.section-links a { font-size: .93rem; font-weight: 700; }
.content section { padding: 2.6rem 0; scroll-margin-top: .85rem; }
.content section + section { border-top: 1px solid var(--line); }
.note { color: var(--muted); max-width: 54rem; }
.switch {
  flex: 0 0 auto;
  display: flex;
  gap: .14rem;
  margin: 0;
  border: 1px solid var(--line);
  padding: .2rem;
  border-radius: .5rem;
  background: white;
}
.switch label { position: relative; cursor: pointer; }
.switch input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.switch span { display: block; padding: .42rem .7rem; border-radius: .3rem; font-weight: 700; font-size: .9rem; }
.switch input:checked + span { background: var(--green); color: white; }
.switch input:focus-visible + span { outline: .16rem solid #a45420; outline-offset: .1rem; }
.chart, .execution-cards {
  padding: 0;
  margin: 1.12rem 0 .55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .58rem;
  list-style: none;
  align-items: start;
}
.chart > li, .execution-cards > li { background: white; border: 1px solid var(--line); border-radius: .48rem; min-width: 0; }
.chart-detail > summary { padding: .69rem .94rem; cursor: pointer; }
.chart-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(3.5em, max-content);
  gap: .5rem;
  align-items: baseline;
  font-size: .92rem;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.chart-label small { text-align: right; color: var(--muted); }
.chart-label > span, .execution-title { display: flex; align-items: baseline; gap: .45rem; }
.chart-detail > summary, .drill-children summary, .execution-card > summary { list-style: none; }
.chart-detail > summary::-webkit-details-marker,
.drill-children summary::-webkit-details-marker,
.execution-card > summary::-webkit-details-marker { display: none; }
.chart-label > span::before, .drill-children summary > span::before, .execution-title::before {
  content: "";
  box-sizing: border-box;
  flex: 0 0 .45rem;
  display: inline-block;
  inline-size: .45rem;
  block-size: .45rem;
  border: solid var(--green);
  border-width: 0 .11rem .11rem 0;
  transform: rotate(-45deg);
}
.chart-detail[open] > summary .chart-label > span::before,
.drill-children details[open] > summary > span::before,
.execution-card[open] > summary .execution-title::before { transform: rotate(45deg); }
.chart-detail > summary:hover, .drill-children summary:hover, .execution-card > summary:hover { background: var(--light); }
.chart-detail > .drill-body, .execution-card > .drill-body { border-top: 1px solid var(--line); padding: .85rem .94rem; }
.drill-body { min-width: 0; font-size: .94rem; line-height: 1.47; }
.rubric-explanation { max-width: 60ch; }
.comparison, .drill-amounts, .technical-label, .reference { margin-top: .45rem; }
.comparison { color: var(--green); font-weight: 650; }
.technical-label, .reference { color: var(--muted); font-size: .79rem; }
.drill-children { list-style: none; padding: 0; margin: .55rem 0; border-top: 1px solid var(--line); }
.drill-children li { border-bottom: 1px solid var(--line); }
.drill-children summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: .45rem;
  padding: .47rem .3rem;
  cursor: pointer;
}
.drill-children summary > span { display: flex; gap: .45rem; align-items: baseline; overflow-wrap: anywhere; }
.drill-children .drill-body { padding: .2rem 0 .65rem .65rem; margin: 0 0 0 .3rem; border-left: 1px solid var(--line); }
.drill-amounts, .drill-links { display: flex; flex-wrap: wrap; gap: .32rem .85rem; }
.drill-amounts { color: var(--muted); }
.drill-amounts strong { color: var(--ink); }
.drill-note { margin: .35rem 0; color: var(--muted); }
.drill-links { display: grid; justify-items: start; margin-top: .4rem; }
.drill-action { font-weight: 700; }
.execution-card > summary {
  display: grid;
  gap: .16rem;
  cursor: pointer;
  padding: .76rem .94rem;
}
.execution-title { margin-bottom: .36rem; font-weight: 750; }
.execution-line, .execution-plan { margin-inline-start: .9rem; font-size: .9rem; color: var(--muted); }
.execution-line strong { color: var(--ink); font-size: 1.08rem; }
.invoice-preview summary { cursor: pointer; color: var(--green); font-weight: 700; }
.invoice-preview iframe { display: block; border: 1px solid var(--line); width: 100%; min-height: 24rem; }
meter {
  display: block;
  border: 0;
  appearance: none;
  width: 100%;
  height: .38rem;
  margin-block: .6rem .04rem;
  border-radius: 999px;
  background: #e1ebe3;
  overflow: hidden;
}
meter::-webkit-meter-bar { background: #e1ebe3; border: 0; border-radius: inherit; }
meter::-webkit-meter-optimum-value { background: var(--green); border-radius: inherit; }
meter::-moz-meter-bar { background: var(--green); }
meter.reserve-bar::-webkit-meter-optimum-value { background: #887137; }
meter.reserve-bar::-moz-meter-bar { background: #887137; }
.chart-key { color: var(--muted); font-size: .85rem; }
.explain { margin-top: .9rem; border: 1px solid var(--line); border-radius: .48rem; background: white; }
.explain summary { padding: .65rem .9rem; cursor: pointer; font-weight: 700; color: var(--green); }
.explain > p { padding: .1rem .9rem .5rem; max-width: 63rem; }
.notice {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--light);
  border-radius: .6rem;
  border: 1px solid var(--line);
}
.button {
  display: inline-block;
  margin-top: .75rem;
  padding: .5rem .68rem;
  background: var(--green);
  color: #fff;
  border-radius: .35rem;
  text-decoration: none;
  font-weight: 700;
}
.balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: .75rem 0; }
.balances > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding: .65rem .85rem; background: var(--light); border-radius: .4rem; }
.balances span, .section-footnote { color: var(--muted); font-size: .88rem; }
.section-footnote { max-width: 60rem; margin-top: .9rem; }
.measures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.measures article { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .55rem; }
.measures h3 { margin: .45rem 0 .4rem; }
.measures dl { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .65rem; margin: .75rem 0; font-size: .9rem; }
.measures dt { font-weight: 700; }
.measures dd { margin: 0; color: var(--muted); }
.footer { font-size: .88rem; }
.sources p { color: var(--muted); max-width: 60rem; }
.sources ul { padding-inline-start: 1.2rem; }
.footer { background: white; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 49rem) {
  .hero-intro, .section-intro { align-items: start; flex-direction: column; }
  .chart, .execution-cards { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .shell { width: calc(100% - 1.55rem); }
  .hero { padding-bottom: 1.4rem; }
  .metrics, .measures, .balances { grid-template-columns: 1fr; }
  .metrics > div { padding: .67rem .86rem; }
  .metrics dd { font-size: 1.7rem; }
  .content section { padding-block: 1.8rem; }
  .footer .shell { align-items: start; flex-direction: column; }
}
