:root{font-family:"Microsoft YaHei",system-ui,sans-serif;color:#17221f;background:#f3f7f5;--green:#0c8f70;--deep:#075e4c;--orange:#ffb52f;--line:#dfe9e5}*{box-sizing:border-box}body{margin:0}.hidden{display:none!important}button,input,select{font:inherit}.login-shell{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,#d9f1e8,transparent 40%),linear-gradient(135deg,#f8fbfa,#eaf4f0)}.login-card{width:min(420px,calc(100% - 32px));padding:38px;border-radius:24px;background:#fff;box-shadow:0 22px 60px #0b533322;text-align:center}.brand-mark,.brand span{display:grid;place-items:center;background:linear-gradient(135deg,var(--green),var(--deep));color:#fff;font-weight:800}.brand-mark{width:64px;height:64px;margin:auto;border-radius:18px;font-size:30px}.login-card h1{margin:18px 0 8px}.login-card p{color:#6b7d77;margin:0 0 28px}.login-card label,.dialog-head~label{display:grid;gap:8px;text-align:left;margin:14px 0;color:#52635e}.login-card input,dialog input,dialog select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:10px;outline:none}.login-card input:focus,dialog input:focus,dialog select:focus{border-color:var(--green);box-shadow:0 0 0 3px #0c8f7018}button{border:0;border-radius:10px;padding:12px 18px;background:var(--green);color:#fff;cursor:pointer}.login-card button{width:100%;margin-top:10px}.error{min-height:24px;margin-top:12px;color:#b42318}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}aside{position:sticky;top:0;height:100vh;padding:24px 16px;background:#102e27;color:#fff;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 24px}.brand span{width:42px;height:42px;border-radius:12px}.brand div{display:grid}.brand small{color:#9cc5b8;margin-top:3px}.brand strong{font-size:17px}nav{display:grid;gap:6px}nav button,.logout{background:transparent;text-align:left;color:#b8d0c9}nav button.active,nav button:hover{background:#ffffff16;color:#fff}.logout{margin-top:auto}.workspace{min-width:0;padding:0 30px 40px}.workspace header{height:88px;display:flex;align-items:center;justify-content:space-between}.workspace header h2{margin:0 0 4px}.workspace header p,.panel p{margin:0;color:#71817c}.user-chip{padding:10px 14px;border-radius:10px;background:#fff;border:1px solid var(--line)}.metrics{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:16px}.metric,.panel{background:#fff;border:1px solid #e5eeea;border-radius:16px;box-shadow:0 8px 30px #163b2e0a}.metric{padding:20px}.metric span{display:block;color:#70817b;font-size:14px}.metric b{display:block;margin-top:10px;font-size:28px}.panel{margin-top:18px;padding:22px}.panel h3{margin:0 0 8px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.rule-grid div{padding:16px;border-radius:12px;background:#f4f8f6}.rule-grid b,.rule-grid span{display:block}.rule-grid span{color:#687a74;margin-top:6px;line-height:1.6}.table-wrap{overflow:auto;margin-top:18px}table{width:100%;border-collapse:collapse;min-width:720px}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid #edf2f0;font-size:14px}th{color:#71817c;font-weight:600;background:#fafcfb}.notice{padding:12px 16px;border-radius:10px;background:#eaf7f2;color:#07654f;margin-bottom:14px}dialog{width:min(520px,calc(100% - 30px));border:0;border-radius:18px;padding:24px;box-shadow:0 30px 80px #0003}dialog::backdrop{background:#0b1f1a80}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between}.dialog-head h3{margin:0}.icon-button,.secondary{background:#edf3f0;color:#263a34}.icon-button{padding:6px 12px;font-size:22px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:980px){.app-shell{grid-template-columns:78px 1fr}.brand div,nav button{font-size:0}.brand span{margin:auto}nav button{height:44px;text-align:center}nav button:before{font-size:13px;content:attr(data-page)}.metrics{grid-template-columns:repeat(2,1fr)}.rule-grid{grid-template-columns:1fr}}@media(max-width:650px){.app-shell{display:block}aside{position:static;width:100%;height:auto;display:block}.brand{padding-bottom:12px}.brand div{display:grid}nav{display:flex;overflow:auto}nav button{font-size:13px;white-space:nowrap}.logout{display:none}.workspace{padding:0 14px 24px}.metrics{grid-template-columns:1fr 1fr}.metric b{font-size:22px}.rule-grid{grid-template-columns:1fr}}
