* { box-sizing: border-box; }
body { margin: 0; background: #faf7f1; color: #302820; font: 1rem/1.6 system-ui, sans-serif; }
header { padding: 1rem clamp(1.2rem, 6vw, 6rem); border-bottom: 1px solid #ded7cd; background: white; }
header img { display: block; width: min(180px, 70vw); height: auto; }
main { max-width: 38rem; margin: clamp(2rem, 10vh, 7rem) auto; padding: 0 1.4rem; }
h1 { font: 500 clamp(2.2rem, 7vw, 3.8rem)/1.12 Georgia, serif; margin-bottom: 1rem; }
a { color: #704328; }
form { max-width: 25rem; }
label { display: block; font-weight: 600; margin-top: 1rem; }
input { width: 100%; padding: .75rem; border: 1px solid #938578; border-radius: .35rem; font: inherit; }
button { margin-top: 1.3rem; border: 0; padding: .7rem 1.4rem; background: #563620; color: white; border-radius: .35rem; font: inherit; cursor: pointer; }
[role=alert] { color: #8b2520; }
textarea,select{width:100%;border:1px solid #938578;border-radius:.35rem;padding:.75rem;font:inherit}textarea{resize:vertical}input[type=checkbox]{width:auto}.thumb{max-width:100%;max-height:180px}main{overflow-wrap:anywhere}

.metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr)); gap:.75rem; }
.metrics > * { padding:1rem; background:#fff; border:1px solid #ded7cd; border-radius:.35rem; }
.metrics strong { display:block; font-size:1.55rem; }
.periods { display:flex; flex-wrap:wrap; gap:.5rem; }
.periods a { padding:.4rem .65rem; }
.periods [aria-current] { background:#563620; color:white; border-radius:.35rem; }
.report-scroll { overflow-x:auto; }
.report-scroll table { width:100%; border-collapse:collapse; background:white; }
.report-scroll :is(th,td) { padding:.6rem; text-align:right; border-bottom:1px solid #ded7cd; }
.report-scroll tr > :first-child { text-align:left; }
