* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: #172f2a;
  background: #fcfbf6;
  font: 1rem/1.55 "Inter", Arial, sans-serif;
}
main { max-width: 1060px; margin: auto; padding: 0 clamp(18px, 5vw, 58px) 40px; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #8a9c93;
}
header span { font-size: .875rem; }
a { color: #065746; text-underline-offset: .16em; }
header a { font-weight: 700; text-decoration: none; }
h1 {
  max-width: 19ch;
  margin: .8em 0 .25em;
  font: 600 clamp(2.2rem, 5vw, 4.5rem)/1.04 "Spectral", Georgia, serif;
  letter-spacing: -.045em;
}
h2 { margin: 1.5em 0 .3em; font: 600 1.65rem/1.2 "Spectral", Georgia, serif; }
p { max-width: 73ch; }
.intro { font-size: 1.09rem; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0 8px; }
button {
  padding: .55rem .92rem;
  color: white;
  background: #155846;
  border: 1px solid #155846;
  border-radius: 4px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
button + button { color: #155846; background: transparent; }
button:disabled { opacity: .5; cursor: default; }
#status { min-height: 1.6em; color: #405448; }
.sheet { max-width: 100%; max-height: 25rem; overflow: auto; border: 1px solid #b7c6ba; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
caption { padding: .6rem .8rem; background: #e0e9de; color: #14392f; font-weight: 700; text-align: left; }
th, td { padding: .6rem .8rem; border-bottom: 1px solid #d4ddd3; text-align: left; white-space: nowrap; }
th { background: #f2f5ef; }
td:nth-child(6) { font-weight: 700; font-variant-numeric: tabular-nums; }
pre { display: inline-block; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; margin: .25rem 0; padding: .55rem 1rem; background: #e9eee4; font-size: 1rem; }
footer { margin-top: 2rem; border-top: 1px solid #8a9c93; }
:focus-visible { outline: 3px solid #bd541c; outline-offset: 2px; }
