:root{--green:#006b50;--dark:#074835;--cream:#fcf9f5;--muted:#687c71;--line:#dce6dc;--light:#eaf4df}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:#173b2d;font:16px/1.6 "Segoe UI",Arial,sans-serif}a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:var(--green);color:white;border:0;border-radius:14px;padding:10px 20px;cursor:pointer;font-weight:700}button.secondary,.button.secondary{background:var(--light);color:var(--dark)}button:disabled{opacity:.5;cursor:default}input,select,textarea{display:block;width:100%;min-height:46px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;color:inherit}input[type=checkbox]{display:inline;width:auto;min-height:0}textarea{min-height:90px}label{display:block;color:#3c5545;font-weight:600}header{background:rgba(252,249,245,.96);position:sticky;top:0;z-index:3;border-bottom:1px solid var(--line)}.top{max-width:1200px;margin:auto;padding:12px 20px;display:flex;gap:14px;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:800}.brand img{width:55px;height:40px;object-fit:contain}.top nav{display:flex;gap:18px;align-items:center;font-size:14px}.wrap{max-width:1200px;margin:auto;padding:24px 20px 120px}.card{padding:24px;border-radius:22px;background:white;border:1px solid var(--line);box-shadow:0 4px 12px #00483004;margin-bottom:20px;min-width:0}.hero{background:var(--green);color:white;padding:30px;border-radius:24px}.hero h1{color:white;font-size:32px}.hero .button{background:white;color:var(--green)}h1,h2,h3{line-height:1.3;margin-top:0;color:var(--dark)}h1{font-size:28px}h2{font-size:22px}h3{font-size:18px}.muted{color:var(--muted);font-size:14px}.badge{background:var(--light);border-radius:20px;padding:4px 12px;font-size:13px;display:inline-block}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.fields .wide{grid-column:1/-1}.product img{width:100%;height:220px;object-fit:contain}.product .price{font-size:25px;font-weight:800}.product .button{width:100%}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:20px;padding:4px 0}.tabs a{padding:10px 16px;background:var(--light);white-space:nowrap;border-radius:24px}.tabs a[aria-current]{background:var(--green);color:white}.metric{background:var(--light);padding:20px;border-radius:16px}.metric strong{font-size:28px;display:block}.results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.bottom{position:fixed;bottom:0;left:0;right:0;background:var(--cream);border-top:1px solid var(--line);padding:10px 8px max(10px,env(safe-area-inset-bottom));display:flex;justify-content:center;gap:5px;z-index:4}.bottom a{flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;color:var(--muted);font-size:12px;min-height:44px}.bottom a span{font-size:21px}.bottom a[aria-current]{color:var(--green);font-weight:800}.alert{padding:15px 20px;background:#fff0de;border:1px solid #e0bd80;border-radius:14px;margin:16px 0}.success{background:var(--light);border-color:#92b9a5}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}td,th{padding:12px;border-bottom:1px solid var(--line)}details>summary{cursor:pointer;font-weight:700;padding:12px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.5 monospace}.detail-image{width:100%;max-height:390px;object-fit:contain}.wide-text{white-space:pre-wrap;overflow-wrap:anywhere}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hide{display:none!important}:focus-visible{outline:3px solid #94ba7b;outline-offset:3px}@media(max-width:760px){.grid,.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.top nav a:not(:last-child){display:none}.wrap{padding:18px 14px 110px}.card{padding:18px;border-radius:18px}.product img{height:160px}.product h2{font-size:17px}.product .price{font-size:21px}.hero h1{font-size:28px}}@media(max-width:440px){.fields,.grid.two{grid-template-columns:1fr}.grid{gap:10px}.product{padding:12px}.product .button{padding:10px 7px;font-size:13px}.product img{height:145px}.results{gap:10px}.metric{padding:14px}.metric strong{font-size:24px}.top{padding:10px 14px}.brand{font-size:14px}h1{font-size:25px}}
.herder-identity{background:white;border:1px solid var(--line);padding:24px;border-radius:22px;margin-bottom:20px}.herder-identity h1{margin:12px 0 0}.herd-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.herd-totals div{text-align:center;background:var(--light);padding:15px 8px;border-radius:14px;font-size:12px}.herd-totals strong{display:block;font-size:30px}.herd-species{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.herd-species article{background:var(--cream);padding:16px;border-radius:16px}.herd-species h3{display:flex;justify-content:space-between;gap:12px}.herd-species p{display:flex;gap:12px;flex-wrap:wrap;font-size:14px}.run-summary{padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:18px}progress{width:100%;height:9px;accent-color:var(--green);margin:10px 0}@media(max-width:440px){.herder-identity{padding:18px}.herd-species{grid-template-columns:1fr}.herd-totals strong{font-size:25px}}

@media(max-width:760px){.top{flex-wrap:wrap}.top nav{width:100%;overflow-x:auto;padding-bottom:3px}.top nav a,.top nav a:not(:last-child){display:block;white-space:nowrap}}
