:root {
  color: #17351f;
  background: #f4f0e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0; }
.hero { background: linear-gradient(135deg, #214d2d, #517a3c); color: white; border-radius: 28px; padding: clamp(28px, 6vw, 64px); box-shadow: 0 22px 50px rgba(23, 53, 31, .18); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: .95; max-width: 820px; margin: 0 0 20px; }
.hero p { max-width: 720px; font-size: 1.1rem; color: #edf7e9; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .78rem !important; }

.layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.card { background: rgba(255, 255, 255, .88); border: 1px solid #ded6c8; border-radius: 24px; padding: 24px; box-shadow: 0 16px 35px rgba(52, 40, 24, .08); }
.wide { grid-column: 1 / -1; }
.section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.section-heading span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: #e3efd9; color: #245b2f; font-weight: 900; }
h2 { margin: 0; font-size: 1.35rem; }
.section-heading p { margin: 4px 0 0; color: #66705e; }

.grid { display: grid; gap: 16px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 7px; color: #51604d; font-weight: 700; }
input, select { width: 100%; border: 1px solid #cfc6b8; border-radius: 12px; padding: 11px 12px; color: #17351f; background: #fffdf9; }
input:focus, select:focus { outline: 3px solid #bfdcae; border-color: #527c3d; }

.table-wrap { overflow-x: auto; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 860px; }
th, td { padding: 10px; border-bottom: 1px solid #e5ded2; text-align: left; }
th { color: #64705f; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
td input { min-width: 92px; }
td:first-child input { min-width: 170px; }

button { border: 0; border-radius: 999px; padding: 11px 16px; background: #2f6839; color: white; font-weight: 800; cursor: pointer; }
button:hover { background: #244f2d; }
.ghost { background: #f2e6dc; color: #7c3b24; }
.ghost:hover { background: #ead2c3; }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-grid div { background: #f7f4ed; border-radius: 18px; padding: 18px; }
.metric-grid strong { display: block; font-size: 2rem; line-height: 1; }
.metric-grid small { color: #65715e; font-weight: 700; }
.checks { display: grid; gap: 10px; padding: 0; list-style: none; }
.checks li { padding: 12px 14px; border-radius: 14px; font-weight: 800; }
.ok { background: #e7f3df; color: #275c2f; }
.alert { background: #ffe8da; color: #8a3d1e; }
.note { background: #fff7dc; border: 1px solid #ebd892; border-radius: 16px; padding: 14px; color: #5d512d; }

@media (max-width: 820px) {
  .layout, .two { grid-template-columns: 1fr; }
  main { width: min(100% - 20px, 1180px); padding: 20px 0; }
  .card { padding: 18px; }
}
