:root{color:#334155;background:#f6f8fb;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{align-items:center;background:#16a6b6;border:1px solid #16a6b6;border-radius:5px;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;justify-content:center;min-height:36px;padding:7px 13px}button:hover{background:#098c9c;border-color:#098c9c}button:disabled{cursor:wait;opacity:.65}input,select{background:#fff;border:1px solid #d9e1ea;border-radius:5px;color:#334155;min-height:36px;outline:none;padding:7px 10px}input:focus,select:focus{border-color:#16a6b6;box-shadow:0 0 0 3px #16a6b61f}h1,h2,p{margin-top:0}h1{color:#1e293b;font-size:24px;font-weight:600;line-height:1.25;margin-bottom:0}h2{color:#334155;font-size:15px;font-weight:600;margin-bottom:16px}.eyebrow{color:#16a6b6;font-size:11px;font-weight:600;letter-spacing:0;margin-bottom:7px}.login-page,.error-page{align-items:center;background:#f4f7fa;display:flex;justify-content:center;min-height:100vh;padding:24px}.login-panel{background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 12px 30px #0f172a0f;max-width:390px;padding:32px;width:100%}.login-panel h1{margin:8px 0 27px}form{display:grid;gap:10px}form label{color:#475569;font-size:13px;font-weight:500}.form-error{color:#dc2626;font-size:13px;margin:0}.app-shell{background:#f6f8fb;min-height:100vh}.app-nav{background:#fff;border-bottom:1px solid #e7edf3;display:flex;gap:16px;justify-content:space-between;min-height:58px;padding:10px 18px}.nav-brand{align-items:center;color:#263547;display:flex;font-size:15px;font-weight:600;gap:9px;white-space:nowrap}.brand-mark{align-items:center;background:#16a6b6;border-radius:5px;color:#fff;display:inline-flex;font-family:Arial,sans-serif;font-size:17px;font-weight:700;height:28px;justify-content:center;width:28px}.nav-actions{display:flex;flex-wrap:wrap;gap:3px}.nav-actions button{background:transparent;border-color:transparent;border-radius:5px;color:#607083;font-weight:500;min-height:36px;padding:7px 11px}.nav-actions button:hover{background:#f0f7f8;color:#0d8998}.nav-actions .nav-current{background:#e8f7f8;color:#0d8998}.app-content{min-width:0}.dashboard-page,.admin-page{margin:0 auto;max-width:1580px;padding:26px clamp(18px,3vw,40px) 44px}.dashboard-header,.admin-header{align-items:end;display:flex;gap:20px;justify-content:space-between;margin-bottom:22px}.dashboard-header time{color:#94a3b8;font-size:12px}.metric-grid{display:grid;gap:14px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.metric,.data-panel{background:#fff;border:1px solid #e3eaf1;border-radius:6px;box-shadow:0 1px 2px #0f172a05}.metric{min-height:106px;padding:17px 18px;position:relative}.metric:before{background:#16a6b6;border-radius:1px;content:"";height:28px;left:0;position:absolute;top:20px;width:3px}.metric span{color:#7b8a9b;display:block;font-size:13px;margin-bottom:11px}.metric strong{color:#263547;font-size:25px;font-weight:600}.dashboard-grid,.admin-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.data-panel{padding:18px}.ranking,.source-list,.people-list{list-style:none;margin:0;padding:0}.ranking li,.source-list li,.people-list li{align-items:center;border-top:1px solid #edf1f5;color:#526173;display:flex;font-size:13px;gap:12px;justify-content:space-between;min-height:39px;padding:8px 0}.ranking li:first-child,.source-list li:first-child,.people-list li:first-child{border-top:0}.ranking strong,.source-list strong{color:#344256;font-size:13px;font-weight:600}.source-list small,td small{color:#d97706;display:block;font-size:11px;margin-top:3px}.usage-table-panel,.account-panel{overflow:hidden;padding-bottom:6px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;min-width:720px;width:100%}th,td{border-top:1px solid #edf1f5;color:#5f6e80;font-size:13px;padding:11px 10px;text-align:right;white-space:nowrap}thead th{background:#fafbfd;border-bottom:1px solid #e8edf2;border-top:1px solid #e8edf2;color:#7b8797;font-size:12px;font-weight:500}th:first-child,td:first-child,td:nth-child(2),td:nth-child(3){text-align:left}tbody th{color:#3d4c60;font-weight:500}tbody tr:hover{background:#fbfdfe}td select{min-width:145px}.inline-form{align-items:center;display:flex;gap:8px;margin-bottom:14px}.inline-form input{min-width:0;width:100%}@media(min-width:900px){.app-nav{align-items:stretch;border-bottom:0;border-right:1px solid #e7edf3;flex-direction:column;gap:28px;height:100vh;justify-content:flex-start;left:0;padding:20px 14px;position:fixed;top:0;width:224px;z-index:2}.nav-actions{flex-direction:column}.nav-actions button{justify-content:flex-start;padding-left:12px;width:100%}.nav-actions button:last-child{border-top:1px solid #edf1f5;border-radius:0;margin-top:12px;padding-top:18px}.app-content{margin-left:224px}}@media(max-width:899px){.app-nav{align-items:center}}@media(max-width:800px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.admin-grid{grid-template-columns:1fr}.dashboard-header,.admin-header{align-items:start;flex-direction:column}}@media(max-width:500px){.app-nav{align-items:start;flex-direction:column;gap:4px}.nav-actions{width:100%}.nav-actions button{flex:1}.dashboard-page,.admin-page{padding:20px 14px 36px}.metric{min-height:94px;padding:14px}.metric strong{font-size:21px}h1{font-size:22px}}
