:root{color:#20352d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f6f7f3;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.6}*{box-sizing:border-box}body{min-width:280px;margin:0}a{color:inherit}:focus-visible{outline-offset:5px;outline:3px solid #22674c}.container{width:min(100% - 2.5rem,68rem);margin-inline:auto}.app-shell{flex-direction:column;min-height:100svh;display:flex}.app-header{background:#fff;border-bottom:1px solid #dce3db}.brand{align-items:center;gap:.75rem;padding-block:1.2rem;font-weight:650;display:flex}.brand-mark{color:#fff;letter-spacing:.06em;background:#244f3d;border-radius:.7rem;padding:.45rem .6rem;font-size:.85rem}.main-content{flex:1;padding-block:3rem}.welcome{max-width:45rem}.eyebrow,.pilot-label{letter-spacing:.08em;text-transform:uppercase;color:#42644f;font-size:.8rem;font-weight:650}h1{letter-spacing:-.04em;overflow-wrap:anywhere;margin:1rem 0 1.5rem;font-size:clamp(2rem,6vw,3.5rem);line-height:1.12}h2{margin:.65rem 0;font-size:1.5rem;line-height:1.3}p{margin:0}.intro{color:#516258;max-width:37rem;font-size:1.1rem}.pilot-card{background:#fff;border:1px solid #dce3db;border-left:4px solid #466d4e;border-radius:.8rem;margin-top:2.25rem;padding:1.5rem}.pilot-card p{color:#516258}.stage{color:#5a6b60;margin-top:1.5rem;font-size:.9rem}.app-footer{color:#5a6b60;padding-block:1.5rem;font-size:.8rem}.skip-link{z-index:1;background:#fff;padding:.6rem 1rem;position:absolute;top:.5rem;left:1rem;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}@media (width>=48rem){.main-content{padding-block:5rem}.pilot-card{padding:2rem}}.auth-card{max-width:31rem;margin-inline:auto}.auth-card h1,.portal-heading h1{font-size:clamp(2rem,5vw,2.8rem)}form{gap:.65rem;margin-top:2rem;display:grid}label{font-weight:650;display:block}input,select,button{font:inherit;border-radius:.5rem;min-height:2.9rem}input,select{color:#20352d;background:#fff;border:1px solid #879b8e;width:100%;padding:.7rem}input{margin-bottom:.6rem}button{cursor:pointer;color:#fff;background:#244f3d;border:1px solid #244f3d;margin-top:.65rem;padding:.65rem 1.15rem;font-weight:600}button:disabled{opacity:.65;cursor:wait}button.secondary{color:#244f3d;background:#fff}.error{color:#8c251f;background:#fff2f0;border-radius:.5rem;padding:.75rem}.notice{background:#fff;border:1px solid #dce3db;border-radius:.8rem;padding:1.5rem}.portal-heading{justify-content:space-between;align-items:start;gap:1rem;display:flex}.portal-heading button{flex-shrink:0}.user-email{overflow-wrap:anywhere;color:#516258}.selected-label{margin-top:1.5rem}@media (width<=25rem){.portal-heading{flex-wrap:wrap}}.herd-open{margin-top:1.2rem}.herd-preview{background:#fff;border:1px solid #dce3db;border-radius:1rem;margin-top:1.5rem;padding:clamp(1rem,3vw,1.8rem)}.herd-preview h2{margin:.3rem 0 .5rem;font-size:clamp(1.35rem,3vw,1.85rem)}.herd-caution{color:#7d4918;background:#fff5e5;border-radius:.5rem;padding:.65rem .8rem;font-size:.92rem}.herd-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1.25rem 0;display:grid}.herd-stat{background:#f6f8f5;border:1px solid #dce3db;border-radius:.7rem;flex-direction:column;padding:.8rem;display:flex}.herd-stat span{color:#516258;font-size:.9rem}.herd-stat strong{font-variant-numeric:tabular-nums;font-size:clamp(1.35rem,3vw,2rem);line-height:1.35}.herd-stat small{color:#5a6b60}.herd-controls{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:end;gap:1rem;margin-bottom:1rem;display:grid}.herd-controls input{margin-bottom:0}.herd-controls label{font-size:.9rem}.herd-summary,.herd-footnote,.herd-empty{color:#516258;margin:.85rem 0;font-size:.9rem}.herd-table-wrap{border:1px solid #dce3db;border-radius:.6rem;overflow-x:auto}.herd-table{border-collapse:collapse;width:100%;min-width:25rem;font-size:.92rem}.herd-table th{color:#244f3d;text-align:left;background:#eaf0e9}.herd-table td,.herd-table th{border-bottom:1px solid #e7ebe6;padding:.65rem .75rem}.herd-table tbody tr:last-child td{border-bottom:none}.herd-table tbody tr:nth-child(2n){background:#fafbf9}.herd-table .quantity{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650}@media (width<=38rem){.herd-stats,.herd-controls{grid-template-columns:1fr}}.herd-live{background:#fff;border:1px solid #dce3db;border-radius:1rem;margin-top:1.6rem;padding:clamp(1rem,3vw,1.8rem)}.herd-live h2{margin:.25rem 0 1rem;font-size:clamp(1.45rem,3vw,2rem)}.herd-live-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.herd-live-heading>div{flex:1;min-width:0}.herd-refresh{white-space:nowrap;margin-top:.5rem}.herd-loading{color:#516258;padding:1rem 0}.herd-system-bar{background:#e8ece8;border-radius:999px;width:100%;height:.6rem;margin:0 0 1.2rem;display:flex;overflow:hidden}.herd-system-pasto{background:#357c54;height:100%}.herd-system-confined{background:#b58b55;height:100%}.herd-navigation{flex-wrap:wrap;gap:.6rem;margin-top:1.2rem;display:flex}.herd-navigation a{background:#fff;border:1px solid #879b8e;border-radius:.5rem;align-items:center;min-height:2.9rem;padding:.5rem .8rem;font-weight:600;text-decoration:none;display:inline-flex}.herd-theoretical .herd-table-wrap{max-height:26rem;overflow:auto}.herd-theoretical .herd-table{min-width:0}.herd-theoretical td,.herd-theoretical th{padding:.55rem .4rem}.herd-theoretical th.quantity{white-space:normal}.herd-theoretical th{z-index:1;position:sticky;top:0}@media (width<=38rem){.herd-live-heading{flex-direction:column}.herd-refresh{width:100%;margin-top:0}}textarea{font:inherit;color:#20352d;resize:vertical;background:#fff;border:1px solid #879b8e;border-radius:.5rem;width:100%;padding:.7rem}.physical-counts{background:#fff;border:2px solid #466d4e;border-radius:1rem;margin-top:1.6rem;padding:clamp(1rem,3vw,1.8rem)}.physical-counts h3{margin:1.2rem 0 .7rem;font-size:1.15rem}.count-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.count-start{border-bottom:1px solid #dce3db;margin-top:.75rem;padding-bottom:1.2rem}.count-start h3{margin-top:.5rem}.count-session-list{gap:.6rem;padding:0;list-style:none;display:grid}.count-session-list button{text-align:left;width:100%;margin:0}.count-session-list small{overflow-wrap:anywhere;display:block}.count-meta{color:#516258;overflow-wrap:anywhere;font-size:.85rem}.count-progress{z-index:2;background:#edf4eb;border:1px solid #b8cbb5;border-radius:.65rem;margin:1rem 0;padding:.85rem;position:sticky;top:.4rem;box-shadow:0 2px 6px #20352d16}.count-progress p{font-size:.88rem}.count-progress button{width:100%}.count-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0;display:grid}.count-category{background:#fafcf9;border:1px solid #cbd8c8;border-radius:.75rem;min-width:0;padding:1rem}.count-category h4{margin:0;font-size:1.1rem}.count-category span,.count-category label{font-size:.86rem}.count-category label{margin-top:.6rem}.count-category button{width:100%}input.count-quantity{font-variant-numeric:tabular-nums;min-height:3.8rem;margin-bottom:0;padding:.7rem;font-size:1.65rem;font-weight:650}.count-saved{color:#245637;font-weight:650}.count-unfilled{color:#76512b;font-weight:650}.count-pending{color:#76512b;overflow-wrap:anywhere;padding-top:.55rem;font-size:.88rem}.count-review{background:#edf4eb;border:2px solid #466d4e;border-radius:.7rem;margin:1rem 0;padding:1rem}.count-confirm{align-items:start;gap:.75rem;margin:1rem 0;display:flex}.count-confirm input{width:1.5rem;min-width:1.5rem;min-height:1.5rem;margin:.3rem 0 0}.count-history{border-top:1px solid #dce3db;margin-top:1.5rem}.count-history ol{padding-left:1.2rem}.count-history li{overflow-wrap:anywhere;border-bottom:1px solid #e7ebe6;padding:.7rem 0}@media (width<=38rem){.count-grid{grid-template-columns:1fr}.count-heading button,.count-review button{width:100%}}.count-reconciliation{background:#fff;border:2px solid #9aaa98;border-radius:.8rem;margin-block:1.4rem;padding:clamp(.7rem,2vw,1.2rem)}.count-reconciliation>p,.review-actions>p,.comparison-systems p{margin-block:.8rem}.comparison-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.comparison-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin-block:.8rem;display:grid}.comparison-values dt{color:#516258;font-size:.9rem}.comparison-values dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:.2rem 0 0;font-weight:700}.review-reference,.approval-history,.count-reconciliation small{overflow-wrap:anywhere}.review-actions{gap:.7rem;margin-block:1.3rem;display:grid}.comparison-category,.operational-grid>article{overflow-wrap:anywhere;min-width:0}@media (width<=34rem){.comparison-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
