:root{font-family:system-ui,Microsoft YaHei,sans-serif;color:#202e28;background:#f3f7f3;--green:#24543e;--green-deep:#173f30;--line:#d8e3db;--muted:#5a6f61}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#e9f2ea,#f3f7f3 14rem)}header{padding:1rem max(1rem,calc((100vw - 72rem)/2));display:flex;align-items:center;gap:1rem;background:linear-gradient(90deg,#123527,var(--green-deep) 55%,#1d5240);color:#fff;box-shadow:0 2px 14px #12352759}header strong{font-size:1.15rem;letter-spacing:.12em}header span{opacity:.85}header button{margin-left:auto;background:#ffffff1f;border-color:#ffffff73}header button:hover{background:#ffffff38}main{width:min(calc(100% - 2rem),72rem);margin:2rem auto}h1{font-size:1.6rem;margin:.3rem 0}h2{font-size:1.12rem;margin:0 0 1rem;padding-left:.55rem;border-left:4px solid #3d9970}.bar{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin-bottom:1rem}.bar h1{margin-right:auto}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.25rem;margin-bottom:1rem;box-shadow:0 1px 3px #173f300d,0 10px 26px -20px #173f3059}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));gap:1rem;margin-bottom:1rem}.grid .panel{margin-bottom:0}.login{max-width:26rem;margin:3.5rem auto;box-shadow:0 18px 44px -18px #173f3059}.login label{display:grid;gap:.4rem;margin:1rem 0}dl{display:grid;grid-template-columns:1fr auto;gap:.65rem;margin:0}dt{color:#43564a}dd{margin:0;text-align:right;font-weight:600}input,select,button{font:inherit;border:1px solid #adbfb4;border-radius:8px;padding:.5rem .68rem;background:#fff}input:focus,select:focus{outline:none;border-color:#3d9970;box-shadow:0 0 0 3px #3d99702e}button{cursor:pointer;color:#fff;background:var(--green);border-color:var(--green);transition:filter .15s,transform .05s}button:hover:not(:disabled){filter:brightness(1.1)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:default;opacity:.46}button.danger{background:#913934;border-color:#913934}.muted,small{color:var(--muted);font-weight:400}.online{color:#226346}.status span{background:#edf3ee;border:1px solid #dde7df;border-radius:99px;padding:.18rem .65rem}.status strong:before{content:"";display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:#c0392b;margin-right:.45rem}.status strong.online:before{background:#2e9e63}.fert-value{font-size:1.45rem;font-weight:750;color:var(--green)}.muted .fert-value{color:inherit}.fert-bar{display:block;width:9rem;max-width:100%;height:.45rem;background:#e2ece4;border-radius:99px;overflow:hidden;margin:.35rem 0 .3rem auto}.fert-bar i{display:block;height:100%;background:linear-gradient(90deg,#57a773,var(--green));border-radius:99px;transition:width .6s ease}[role=alert]{color:#863335;background:#fbeeee;border:1px solid #eccaca;border-radius:10px;padding:.7rem 1rem}
