:root{--green:#27634a;--ink:#213d30;--muted:#728077;--paper:#f5f7f3;--line:#e1e8df;--amber:#a46b19}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 14px;text-decoration:none}button:hover,a.button:hover{background:#edf4ea}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #86b697;outline-offset:2px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#194a36}.brand{font-weight:750;font-size:22px;letter-spacing:-.7px;text-decoration:none;color:var(--green)}.sidebar{position:fixed;width:242px;height:100dvh;background:#fff;border-right:1px solid var(--line);padding:30px 21px;display:flex;flex-direction:column;gap:30px}.farm-select label,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.farm-select select{width:100%;margin-top:10px}nav{display:flex;flex-direction:column;gap:7px}nav button{border:0;text-align:left;padding:13px;font-weight:600;background:transparent}nav button.selected{background:#e9f2e7;color:var(--green)}#alert-count{float:right;background:#f6e6c8;border-radius:5px;padding:0 5px}.sidebar-bottom{margin-top:auto;display:grid;gap:10px}.sidebar-bottom button{width:100%;font-size:12px}.hint{background:#f1f5eb;padding:14px;border-radius:12px;font-weight:650;font-size:12px}.hint p{font-weight:400;font-size:11px;line-height:1.6;margin-bottom:0}.main{margin-left:242px;padding:36px 38px;max-width:1800px}header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}h1{font-size:30px;letter-spacing:-1px;margin:7px 0 9px}h2{font-size:18px;margin:0 0 14px;letter-spacing:-.3px}h3{font-size:15px;margin:0 0 8px}p{line-height:1.65}.muted{color:var(--muted)}header p{margin:0}.header-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pill{display:inline-block;padding:5px 9px;border-radius:20px;background:#e9f3e7;color:var(--green);font-size:11px;font-weight:650}.pill.warning,.pill.pending,.pill.offline{background:#fff0d5;color:#925f17}.pill.critical,.pill.rejected{background:#fae5df;color:#ad4734}.pill.resolved,.pill.done{background:#e8ece8;color:#68716b}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.stat,.panel,.card{background:white;border:1px solid var(--line);border-radius:14px;padding:21px}.stat .value{font-size:32px;font-weight:650;margin:12px 0 4px}.stat small{color:var(--muted)}.stat-label{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.hero{background:#e6eddf;border:1px solid #d8e4d0;border-radius:14px;padding:24px 28px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.hero h2{font-size:23px}.hero p{margin:0;max-width:600px}.hero-icon{font-size:55px;color:#7c9964}.columns{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-head h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card p{margin:8px 0;color:var(--muted)}.card-top{display:flex;justify-content:space-between;gap:10px}.metrics{display:flex;gap:15px;flex-wrap:wrap;margin-top:16px}.metric strong{display:block;font-size:23px}.metric small{font-size:10px;color:var(--muted)}.row{padding:15px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.row:first-child{border-top:0}.row p{margin:3px 0;font-size:12px;color:var(--muted)}.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.row-actions button{font-size:11px;padding:7px 10px}.empty{text-align:center;padding:38px 20px;color:var(--muted);line-height:1.7}.empty strong{display:block;color:var(--ink);font-size:17px}.chart{height:180px;width:100%;display:block}.chart-label{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:8px 0}.photo{width:100%;height:190px;object-fit:cover;border-radius:9px;margin-bottom:14px}footer{margin-top:30px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}dialog{border:1px solid var(--line);border-radius:16px;max-width:520px;width:calc(100% - 32px);padding:26px;color:var(--ink)}dialog::backdrop{background:#15352280;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}label{display:block;font-size:12px;font-weight:600;margin:14px 0}input,select,textarea{width:100%;padding:11px;border:1px solid #d8e0d5;border-radius:8px;background:white;color:var(--ink);margin-top:6px}textarea{min-height:85px}form>.primary{width:100%;margin-top:10px}.error{background:#ffe8e0;color:#99422f;padding:13px;border-radius:9px;margin:12px 0;font-size:13px}code{overflow-wrap:anywhere;font-size:12px}#device-token{display:block;background:#edf3e9;padding:15px;border-radius:8px}#toast{position:fixed;bottom:24px;right:24px;background:#214e39;color:white;padding:15px 22px;border-radius:11px;z-index:10}.auth-page{display:grid;place-items:center;min-height:100dvh;padding:24px}.auth-shell{display:grid;grid-template-columns:1.1fr 1fr;width:950px;max-width:100%;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:white}.auth-story{padding:45px;background:#e7eedf}.auth-story .eyebrow{display:block;margin-top:55px}.auth-story h1{font-size:45px;line-height:1.12;margin:20px 0}.auth-story p{color:#5b715e}.auth-card{padding:55px 40px}.auth-card details{margin-top:25px}.auth-card summary{cursor:pointer;color:var(--green)}.illustration{height:160px;position:relative;overflow:hidden;font-size:45px;color:#b6974c;padding-left:40px}.field-lines{height:140px;width:500px;border-radius:50%;background:repeating-linear-gradient(160deg,#9eb48b 0px,#9eb48b 15px,#d4dfc6 15px,#d4dfc6 27px);transform:rotate(-8deg);position:absolute;top:72px;left:-20px}@media(min-width:1500px){.main{padding:42px 55px}}@media(max-width:1100px){.grid{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.sidebar{width:205px;padding:24px 15px}.main{margin-left:205px;padding:25px}.stats{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start;flex-direction:column}}@media(max-width:650px){.sidebar{position:static;width:100%;height:auto;padding:20px;gap:15px}.sidebar nav{flex-direction:row;overflow-x:auto}.sidebar nav button{white-space:nowrap}.sidebar-bottom{display:none}.farm-select{display:none}.main{margin:0;padding:20px 15px}.header-actions{gap:7px}.header-actions button,.header-actions a{font-size:12px;padding:9px}.grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.hero{padding:20px}.hero-icon{display:none}.auth-shell{grid-template-columns:1fr}.auth-story{padding:25px}.auth-story .eyebrow{margin-top:25px}.auth-story h1{font-size:34px}.illustration,.auth-story small{display:none}.auth-card{padding:30px 25px}.row{align-items:flex-start}.row-actions{justify-content:flex-end}footer{display:block}h1{font-size:26px}}

@media(max-width:650px){.farm-select{display:block}.sidebar-bottom{display:flex;flex-wrap:wrap;margin-top:0}.sidebar-bottom .hint{display:none}.sidebar-bottom>button,.sidebar-bottom>form{flex:1}}

.account-bar{position:sticky;top:0;z-index:30;min-height:58px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 28px}.account-context{font-size:12px;font-weight:650;color:var(--green)}.account-name{font-weight:400;color:var(--muted)}.account-bar form{margin:0;flex-shrink:0}.sign-out{font-weight:650;border-color:#cbd9cd;padding:9px 16px}.sidebar{top:58px;height:calc(100dvh - 58px);overflow-y:auto}.sidebar nav,.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-bottom:8px}.account-bar+.sidebar+.main{min-height:calc(100dvh - 58px)}
@media(max-width:650px){.account-bar{padding:10px 16px}.account-name{display:none}.sidebar{position:static;height:auto;overflow:visible}.sidebar-bottom{display:block}.sidebar-bottom>button{width:100%}}
