:root {
  color-scheme: light;
  color: #182421;
  background: #eef4f0;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(1rem, 5vw, 4rem); }
main {
  max-width: 31rem;
  margin: clamp(0rem, 8vh, 5rem) auto 0;
  padding: clamp(1.25rem, 5vw, 2.75rem);
  background: #fff;
  border: 1px solid #d4e0d8;
  border-radius: 1.25rem;
  box-shadow: 0 18px 55px #12382912;
}
main.wide { max-width: 66rem; }
.mode { color: #465e54; font-size: .875rem; letter-spacing: .06em; font-weight: 700; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 .65rem; }
.intro { margin: 0 0 1.65rem; color: #4c5e56; }
form { display: grid; gap: .55rem; }
label { font-weight: 650; }
input, button { font: inherit; border-radius: .65rem; padding: .8rem .95rem; }
input { width: 100%; margin-bottom: .65rem; border: 1px solid #82998d; }
button { margin-top: .4rem; border: 1px solid transparent; background: #145641; color: #fff; font-weight: 700; cursor: pointer; }
button:hover { background: #104735; }
:focus-visible { outline: 3px solid #147e63; outline-offset: 3px; }
.total { font-size: 2rem; font-weight: 700; margin: 1.2rem 0; }
.error { color: #99281c; }
a { color: #145641; }
.table { overflow-x: auto; }
nav { display: flex; gap: 1.25rem; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid #d4e0d8; text-align: left; padding: .75rem; }
td:first-child { min-width: 10rem; overflow-wrap: anywhere; }
td:not(:first-child), th { white-space: nowrap; }
