:root { color-scheme: light; --ink: #192c28; --green: #266a54; --paper: #f6f5ee; --line: #dce4dc; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
header { background: #17362d; }
nav, main { width: min(100% - 2rem, 68rem); margin-inline: auto; }
nav { display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding: 1rem 0; }
nav a { color: white; font-weight: 650; }
a { color: var(--green); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin: 2rem 0 1.25rem; letter-spacing: -.04em; }
h2 { margin-top: 0; line-height: 1.2; }
.location { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1rem; margin-bottom: 1rem; }
label { display: block; font-weight: 650; }
select { display: block; width: 100%; margin-top: .25rem; padding: .55rem; font: inherit; border: 1px solid #84978d; border-radius: .45rem; color: inherit; background: white; }
.card { margin-bottom: 1rem; padding: clamp(1rem, 4vw, 2rem); background: white; border: 1px solid var(--line); border-radius: 1rem; }
.sliders { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem, 1fr); gap: .8rem 1.5rem; }
.sliders label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem .75rem; }
output, td, strong { font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; margin-inline: 0; accent-color: var(--green); }
.results { display: flex; flex-wrap: wrap; gap: .75rem 2rem; background: #eaf3e9; border-radius: .6rem; margin-top: 1.3rem; padding: 1rem; }
.results strong { display: block; font-size: 1.55rem; }
.results p { flex-basis: 100%; margin: 0; }
.metric { padding-block: .5rem; border-bottom: 1px solid var(--line); }
.metric h3 { margin: .1rem 0; font-size: 1rem; }
.metric div { display: grid; grid-template-columns: minmax(7rem, 1fr) 2fr minmax(6rem, auto); align-items: center; gap: .5rem; }
meter { width: 100%; }
.note { color: #495951; font-size: .9rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: .6rem; }
td { white-space: nowrap; }
@media (max-width: 34rem) {
  .sliders { grid-template-columns: 1fr; row-gap: .3rem; }
  .sliders input { margin-bottom: .75rem; }
}
