:root { color-scheme: light; --ink:#283126; --olive:#364a34; --bronze:#795337; --paper:#fffcf6; --stone:#eee9dc; --line:#d3cbbb; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--stone); font:1rem/1.55 system-ui,sans-serif; }
a { color:var(--olive); text-underline-offset:.18em; }
:focus-visible { outline:3px solid var(--bronze); outline-offset:3px; }
.health-nav { background:var(--paper); border-bottom:1px solid var(--line); padding:.8rem max(1rem,calc((100vw - 66rem)/2)); }
.health-nav nav { display:flex; flex-wrap:wrap; gap:.25rem 1.2rem; margin-top:.45rem; }
.health-nav a { display:inline-block; padding:.35rem 0; font-weight:650; }
main { width:min(100% - 2rem, 64rem); margin:1.5rem auto 3rem; }
h1,h2,h3 { line-height:1.18; }
h1 { font-size:clamp(2rem,6vw,3.6rem); margin:.2rem 0 .5rem; letter-spacing:-.04em; }
h2 { font-size:1.25rem; }
.health-intro { padding:clamp(1.15rem,4vw,2.5rem); background:var(--olive); color:#fffaf1; border-radius:1rem; }
.health-intro p { max-width:55ch; margin:.45rem 0 0; }
.kicker { text-transform:uppercase; font-size:.82rem; font-weight:750; letter-spacing:.08em; }
.health-tiles,.staff-results { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); }
.health-tile,.staff-card,.sheet { background:var(--paper); border:1px solid var(--line); border-radius:.9rem; padding:1.15rem; }
.health-tile { border-top:5px solid var(--bronze); }
.health-tile p,.staff-card p { margin:.5rem 0; }
.health-tile h2,.staff-card h2 { margin:.45rem 0; }
.health-controls { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; margin:0 0 1rem; }
.health-action { font:inherit; cursor:pointer; display:inline-flex; align-items:center; min-height:44px; padding:.45rem .85rem; background:var(--paper); border:1px solid var(--olive); color:var(--olive); border-radius:.55rem; text-decoration:none; font-weight:650; }
.health-action.primary { background:var(--olive); color:white; }
.sheet { max-width:54rem; margin:auto; padding:clamp(1rem,4vw,2.3rem); }
.sheet-header { padding:0 0 1rem; border-bottom:.35rem solid var(--olive); text-align:center; }
.sheet-header h1 { font-size:clamp(2rem,5vw,3rem); }
.sheet-header p { margin:.2rem 0; }
.sheet-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap:.7rem 1.4rem; margin:.8rem 0; }
.sheet section { border-top:1px solid var(--line); padding-top:.15rem; }
.sheet section h2 { color:var(--olive); margin:.55rem 0 .35rem; }
.sheet section p { margin:0 0 .45rem; }
.sheet .help-now { grid-column:1/-1; border:1px solid var(--bronze); border-left:.3rem solid var(--bronze); padding:.25rem .8rem; border-radius:.3rem; }
.sheet .next { grid-column:1/-1; }
.sheet footer { border-top:1px solid var(--line); font-size:.9rem; padding-top:.5rem; }
.sheet footer ul { padding-left:1.15rem; margin:.3rem 0; }
.sheet footer a { overflow-wrap:anywhere; }
.sheet-reflection { margin:.7rem 0; }
.sheet-write-line { height:1.2rem; border-bottom:1px solid #a7a69c; }
.health-search { display:block; font-weight:700; margin:1rem 0 .4rem; }
.health-search input { display:block; width:min(100%,33rem); min-height:44px; margin:.4rem 0; border:1px solid var(--bronze); border-radius:.45rem; padding:.5rem; font:inherit; background:var(--paper); color:var(--ink); }
.inventory { margin-block:1rem; }
.inventory summary { cursor:pointer; font-weight:650; padding:.5rem 0; }
@page { size:letter; margin:.55in; }
@media print {
  body { background:white; color:black; }
  main { width:100%; margin:0; }
  .health-nav,.health-controls,.sheet .screen-only { display:none!important; }
  .sheet { max-width:none; background:white; border:0; padding:0; font:11pt/1.32 system-ui,sans-serif; }
  .sheet-header { border-color:#222; padding-bottom:.12in; }
  .sheet-header h1 { font-size:25pt; }
  .sheet-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.03in .18in; margin:.10in 0; }
  .sheet section, .sheet footer { break-inside:avoid; border-color:#555; }
  .sheet section { margin-bottom:.05in; }
  .sheet .help-now { border-color:#444; }
  .sheet section h2 { color:black; font-size:13pt; margin:.09in 0 .035in; }
  .sheet section p { margin-bottom:.05in; }
  .sheet footer { font-size:8.5pt; }
  .sheet footer a { color:black; }
  .sheet footer a::after { content:" — " attr(href); font-size:7.6pt; }
}
