:root{--ink:#182522;--muted:#687773;--line:#dfe7e4;--surface:#fff;--canvas:#f3f7f5;--brand:#155f54;--brand-soft:#e4f1ed;--teal:#2d8173;--amber:#b86f12;--amber-soft:#fff1d9;--red:#b94343;--red-soft:#fdeaea;--blue:#356ca5;--radius:8px;--shadow:0 8px 24px rgba(22,53,46,.07);font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--canvas)}button,input{font:inherit;letter-spacing:0}button{cursor:pointer}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:24px 16px;background:#112f2b;color:#fff;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;align-items:center;padding:0 8px 30px}.brand strong{display:block;font-size:17px}.brand small{display:block;color:#a6c3bd;margin-top:3px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#e9b35c;color:#173a34;font-weight:800;font-size:18px}.sidebar nav{display:grid;gap:4px}.nav-button{height:44px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#bcd0cc;display:flex;align-items:center;gap:11px;text-align:left}.nav-button svg{width:18px}.nav-button:hover,.nav-button.active{background:#1c443d;color:#fff}.side-status{margin-top:auto;padding:14px 10px;border-top:1px solid #31524d;display:flex;align-items:center;gap:10px}.side-status strong,.side-status small{display:block}.side-status strong{font-size:13px}.side-status small{margin-top:3px;color:#9bb7b1;font-size:11px}.status-dot{width:8px;height:8px;border-radius:50%;background:#55c898;box-shadow:0 0 0 4px rgba(85,200,152,.12)}main{margin-left:232px;min-height:100vh}.topbar{height:92px;padding:19px 30px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:4;backdrop-filter:blur(8px)}h1,h2,h3,p{margin-top:0}.topbar h1{font-size:24px;margin:2px 0 0}.eyebrow{margin:0;color:var(--teal);font-size:12px;font-weight:700}.top-actions{display:flex;align-items:center;gap:10px}.month-control{height:42px;border:1px solid var(--line);border-radius:7px;padding:5px 10px;background:#fff;display:flex;align-items:center;gap:8px}.month-control span{font-size:12px;color:var(--muted)}.month-control input{border:0;outline:0;color:var(--ink)}.icon-button{width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:7px;color:var(--brand);display:grid;place-items:center}.icon-button svg{width:18px}.content{max-width:1380px;margin:auto;padding:24px 30px 50px}.freshness{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.fresh-card{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:var(--radius);padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.fresh-card.warn{border-left-color:var(--amber)}.fresh-title{display:flex;align-items:center;gap:8px;font-weight:700}.fresh-title svg{width:17px;color:var(--teal)}.fresh-card strong.date{font-size:18px;white-space:nowrap}.fresh-card small{display:block;color:var(--muted);margin-top:6px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:700}.badge.warn{background:var(--amber-soft);color:var(--amber)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:17px}.stat-head{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.stat-head svg{width:18px;color:var(--teal)}.stat strong{display:block;font-size:25px;margin:12px 0 4px}.stat small,.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden}.panel-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px}.panel-head h2{font-size:16px;margin:0}.panel-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.panel-body{padding:20px}.rank-list{display:grid}.rank-row{padding:13px 18px;display:grid;grid-template-columns:30px 34px minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #edf1ef}.rank-row:last-child{border:0}.rank-no{font-size:12px;color:var(--muted)}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:700}.rank-row b,.rank-row small{display:block}.rank-row small{font-size:11px;color:var(--muted);margin-top:3px}.score{font-weight:800;color:var(--brand)}.bars{height:230px;display:flex;align-items:flex-end;gap:12px;padding:20px 5px 0}.bar-item{height:100%;min-width:35px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.bar-item b{font-size:11px;margin-bottom:5px}.bar{width:min(34px,75%);background:var(--teal);border-radius:4px 4px 1px 1px;min-height:5px}.bar-item small{font-size:11px;margin-top:7px;white-space:nowrap;max-width:56px;overflow:hidden;text-overflow:ellipsis}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:720px}th,td{padding:12px 18px;text-align:left;border-bottom:1px solid #edf1ef;font-size:13px}th{color:var(--muted);font-size:11px;background:#f8faf9;white-space:nowrap}tbody tr:hover{background:#fafcfb}.person{display:flex;align-items:center;gap:9px}.person .avatar{width:30px;height:30px}.filters{display:flex;gap:10px;align-items:center}.filters select{height:36px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:0 30px 0 10px}.metric-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.metric{padding:14px;background:#f7faf9;border:1px solid #e8eeec;border-radius:6px}.metric span,.metric small{display:block;color:var(--muted);font-size:11px}.metric b{display:block;margin:7px 0 3px}.empty,.error-state{padding:70px 24px;text-align:center;color:var(--muted)}.empty svg,.error-state svg{width:34px;height:34px;color:#8eaaa4;margin-bottom:12px}.primary{border:0;border-radius:7px;background:var(--brand);color:#fff;padding:11px 18px;font-weight:700}.full{width:100%}.login-view{min-height:100vh;display:grid;place-items:center;padding:20px;background:#edf4f1}.login-panel{width:min(380px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.login-panel .brand-mark{margin-bottom:24px}.login-panel h1{font-size:27px;margin:6px 0}.login-panel label{display:grid;gap:7px;font-size:13px;margin:24px 0 14px}.login-panel input{height:44px;border:1px solid #bdcbc7;border-radius:7px;padding:0 12px;outline:none}.login-panel input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(45,129,115,.13)}.form-error{color:var(--red);font-size:12px;margin:12px 0 0;min-height:18px}.skeleton{height:90px;border-radius:8px;background:linear-gradient(90deg,#edf2f0 25%,#f7f9f8 50%,#edf2f0 75%);background-size:200% 100%;animation:shine 1.3s infinite}.mobile-nav{display:none}@keyframes shine{to{background-position:-200% 0}}@media(max-width:980px){.sidebar{display:none}main{margin-left:0}.topbar{height:78px;padding:14px 18px}.topbar h1{font-size:20px}.content{padding:16px 16px 90px}.stats{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.mobile-nav{position:fixed;z-index:6;display:grid;grid-template-columns:repeat(3,1fr);bottom:0;left:0;right:0;height:68px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line)}.mobile-nav .nav-button{height:100%;border-radius:0;color:var(--muted);display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:11px}.mobile-nav .nav-button.active{background:#fff;color:var(--brand)}.mobile-nav .nav-button svg{width:19px}.freshness{grid-template-columns:1fr}}@media(max-width:600px){.month-control span{display:none}.month-control{padding:4px 7px}.fresh-card{align-items:flex-start}.fresh-card strong.date{font-size:16px}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:21px}.stat:nth-child(n+3){display:none}.panel-head,.panel-body{padding:15px}.bars{gap:5px;height:190px}.bar-item small{font-size:10px}.metric-list{grid-template-columns:1fr}.top-actions{gap:6px}}
