:root{font-family:Inter,"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;color:#19332e;background:#f4f7f1;font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{height:72px;max-width:960px;margin:auto;padding:10px 22px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#193d34;color:#fff;font-weight:700}.brand strong{display:block;font-size:18px}.brand small{display:block;color:#73827a;font-size:11px}.text-button{border:0;background:none;color:#365a50;font-weight:600;padding:10px}.bottom-nav{position:fixed;z-index:5;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e2e9df;padding:7px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:none;color:#76847b;padding:10px 13px;border-radius:12px;font-size:14px}.bottom-nav button.active{background:#e0efe6;color:#1b5a43;font-weight:700}main{max-width:960px;margin:0 auto;padding:8px 20px 112px}.hero{padding:26px;border-radius:25px;background:linear-gradient(135deg,#183f37,#357c62);color:white;box-shadow:0 16px 35px #173d3424}.hero .eyebrow{color:#bde4cb;font-size:12px;letter-spacing:.13em}.hero h1{font-size:26px;margin:8px 0 7px;line-height:1.3}.hero p{color:#d7ece0;margin:0;line-height:1.55}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.stat,.card{background:#fff;border:1px solid #e7ece4;border-radius:20px;box-shadow:0 4px 18px #233a2808}.stat{padding:18px}.stat b{display:block;font-size:25px}.stat span{color:#78847b;font-size:12px}.card{padding:20px;margin:16px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 10px}h1,h2,h3{margin:0}h2{font-size:18px}h3{font-size:16px}.muted{color:#758178}.small{font-size:12px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.stack{display:grid;gap:13px}.inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.device-title{font-weight:700}.pill{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;background:#e7f4e9;color:#286247}.pill.warn{background:#fff1d8;color:#8a5a16}.pill.danger{background:#fce7df;color:#9a4832}.divider{border:0;border-top:1px solid #edf0eb;margin:18px 0}button,input,select,textarea{font:inherit}button{cursor:pointer}.button{border:0;border-radius:13px;background:#245d48;color:white;font-weight:700;padding:12px 17px;min-height:44px}.button.secondary{background:#e5efe7;color:#225443}.button.ghost{background:#f1f4ef;color:#3c5046}.button.danger{background:#fbe8e1;color:#9a422f}.button:disabled{opacity:.5;cursor:not-allowed}.wide{width:100%}.field{display:grid;gap:7px}.field label{font-weight:650;font-size:13px}.field input,.field select,.field textarea{width:100%;min-height:44px;border:1px solid #d8e2d8;background:white;border-radius:12px;padding:10px 12px;color:#203b33;outline-color:#31785b}.field textarea{min-height:92px;resize:vertical}.field small{color:#728078}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.check{display:flex;align-items:center;gap:10px;font-weight:600}.check input{width:19px;height:19px;accent-color:#276549}.question{border-top:1px solid #edf0eb;padding:16px 0}.question:first-child{border:0;padding-top:0}.question p{line-height:1.55;margin:10px 0}.question .choices{display:grid;gap:5px;color:#5e6d63;font-size:14px}.question .answer{color:#2c7554;font-weight:650}.tabs{display:flex;gap:7px;overflow:auto;margin:15px 0}.tabs button{white-space:nowrap;border:0;background:#e8eee6;border-radius:10px;padding:9px 12px;color:#4c6254}.tabs button.active{background:#245d48;color:white}.empty{text-align:center;padding:32px 12px;color:#738078}.auth{max-width:420px;margin:7vh auto}.auth h1{font-size:28px}.auth p{color:#708079;line-height:1.5}.auth .card{padding:25px}.notice{background:#fff5e1;border-radius:13px;padding:12px 14px;color:#835a22;font-size:13px;line-height:1.5}#toast{position:fixed;z-index:10;left:50%;bottom:88px;transform:translateX(-50%);background:#183b31;color:#fff;padding:11px 17px;border-radius:13px;box-shadow:0 10px 30px #0003;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;text-align:center}#toast.show{opacity:1}@media(max-width:620px){.topbar{height:64px;padding:9px 17px}main{padding:5px 15px 105px}.hero{padding:22px}.hero h1{font-size:23px}.card{padding:17px}.grid{gap:8px}.stat{padding:14px}.stat b{font-size:22px}.two{grid-template-columns:1fr}}
