:root { color-scheme: light; font-family: system-ui, sans-serif; background: #f1f5f1; color: #172b25; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #225e42; text-underline-offset: 4px; }
.top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px max(20px, calc((100vw - 1080px)/2)); background: #162c24; color: #fff; }
.top a { color: #c7edda; }
.top span { font-weight: 750; letter-spacing: .12em; }
main { max-width: 1120px; margin: auto; padding: clamp(20px, 4vw, 52px) 20px; }
.intro { max-width: 690px; }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.055em; line-height: 1; margin: 12px 0 16px; }
h2 { font-size: clamp(26px, 4vw, 38px); margin: 6px 0; letter-spacing: -.04em; }
h3, h4, p { margin: 0; }
p { line-height: 1.55; }
.eyebrow, small { color: #376149; font-size: .76rem; font-weight: 750; letter-spacing: .08em; }
.switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 8px; }
button, input, select { font: inherit; min-height: 44px; border: 1px solid #acbeb1; border-radius: 7px; padding: 8px 12px; background: #fff; color: #172b25; }
button { cursor: pointer; font-weight: 650; }
button:hover { border-color: #225e42; }
button[aria-pressed="true"], button.primary { color: #fff; background: #225e42; border-color: #225e42; }
:focus-visible { outline: 3px solid #297c54; outline-offset: 3px; }
.panel { background: #fff; padding: clamp(16px, 3vw, 32px); border: 1px solid #cbd8ce; border-radius: 12px; }
#intake:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
#offer { display: grid; gap: 8px; }
label { font-size: .85rem; font-weight: 650; }
input, select { width: 100%; min-width: 0; }
#feedback { min-height: 1.8rem; margin-bottom: 8px; color: #225e42; font-size: .9rem; }
.desk-header, .records-header { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.metrics div { padding: 14px; background: #dfece3; border-radius: 8px; }
.metrics dt { font-size: .82rem; }
.metrics dd { font-size: clamp(19px, 4vw, 32px); font-weight: 750; margin: 4px 0 0; overflow-wrap: anywhere; }
.records-header label { display: flex; gap: 8px; align-items: center; }
.help { margin: 8px 0 12px; font-size: .9rem; color: #41574a; }
.record { border-top: 1px solid #dce5dd; padding: 14px 0; display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3,minmax(0,1fr)) auto; gap: 10px; align-items: end; }
.record h4 { margin: 3px 0; }
.record p { font-size: .86rem; overflow-wrap: anywhere; }
.record label { display: grid; gap: 4px; }
footer { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 700px) {
  #intake:not([hidden]) { grid-template-columns: 1fr; }
  .record { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .record > div { grid-column: 1/-1; }
}
