:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e8eef7;background:#07111f}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#07111f}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.dashboard-shell{width:min(100%,1880px);margin:0 auto;padding:24px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.dashboard-header h1,.auth-panel h1{margin:0;font-size:24px;letter-spacing:0}.dashboard-header p,.auth-panel p{margin:4px 0 0;color:#718096}.refresh-cluster{display:flex;align-items:center;justify-content:flex-end;gap:12px}.refresh-status{display:grid;gap:3px;text-align:right;color:#91a0b7;font-size:12px}.refresh-status small{color:#69778d}.panel,.stat-card{border:1px solid #1d2c42;background:#101d2d;box-shadow:inset 0 1px #ffffff06}.panel{border-radius:8px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat-card{min-height:88px;border-radius:8px;display:flex;align-items:center;gap:14px;padding:16px}.stat-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px}.stat-icon.blue{color:#3b82f6;background:#2563eb33}.stat-icon.amber{color:#f59e0b;background:#d9770633}.stat-icon.green{color:#11c975;background:#16a34a2e}.stat-icon.purple{color:#8b5cf6;background:#6d28d938}.stat-copy{min-width:0}.stat-copy span,.stat-copy small{display:block;overflow:hidden;color:#7f8da3;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.stat-copy strong{display:block;margin:3px 0;font-size:22px;line-height:1.1}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;padding:14px}.toolbar label{display:flex;align-items:center;gap:9px;color:#aeb9ca;font-size:14px}input,select,textarea{color:#dce6f3;border:1px solid #33425a;background:#1b293d;border-radius:8px;padding:9px 11px;outline:none}textarea{resize:vertical}.date-separator{color:#68768c}.icon-button,.auth-panel button,.compliance-dialog button,.pagination button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #33425a;background:#1d2b40;color:#dce6f3;border-radius:8px;padding:10px 14px}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chart-panel{min-height:254px;padding:16px}.trend-panel{min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-header h2{margin:0;font-size:15px}.segmented-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.segmented{display:inline-flex;border:1px solid #2c3a50;background:#172338;border-radius:8px;padding:3px}.segmented button{border:0;background:transparent;color:#8d9bb0;border-radius:6px;padding:5px 9px;font-size:12px}.segmented button.active{color:#f4f7fb;background:#2b3a51}.distribution-body{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:20px}.donut-wrap{width:190px;height:190px}.mini-table-wrap,.usage-table-wrap{overflow:auto}.mini-table,.usage-table,.risk-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.mini-table th,.mini-table td,.usage-table th,.usage-table td,.risk-table th,.risk-table td{border-top:1px solid #26354a;padding:8px;text-align:right;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-table th:first-child,.mini-table td:first-child,.usage-table th:first-child,.usage-table td:first-child,.usage-table th:nth-child(2),.usage-table td:nth-child(2),.usage-table th:nth-child(3),.usage-table td:nth-child(3),.risk-table th,.risk-table td{text-align:left}.mini-table th,.usage-table th,.risk-table th{color:#738096;font-weight:600}.green{color:#11c975!important}.orange{color:#f18a2b!important}.muted{color:#64748b!important}.line-wrap{height:198px}.chart-empty{height:190px;display:grid;place-items:center;color:#77859a}.ops-panel{min-width:0}.ops-panel-header h2{display:inline-flex;align-items:center;gap:8px}.ops-panel-header h2 svg{color:#3b82f6}.ops-legend{display:inline-flex;align-items:center;gap:12px;color:#9aa8bb;font-size:12px}.ops-legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.ops-legend i{width:9px;height:9px;border-radius:999px}.blue-dot{background:#3b82f6}.green-dot{background:#10b981}.ops-combo{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(190px,.65fr);gap:14px;min-height:198px}.ops-throughput{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}.ops-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ops-kpis span{min-width:0;border:1px solid #25354b;background:#0d1728;border-radius:8px;padding:7px 8px;color:#718096;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ops-kpis strong{margin-left:6px;color:#e8eef7;font-size:13px}.ops-line-wrap{height:150px;min-width:0}.ops-queue{min-width:0;overflow:hidden;border:1px solid #26354a;background:#0d1728;border-radius:8px}.ops-queue-head{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #26354a;padding:8px 10px;color:#aeb9ca;font-size:12px;font-weight:700}.ops-queue-head small{color:#6f7d91;font-weight:500}.ops-empty{display:grid;place-items:center;min-height:148px;color:#77859a;font-size:12px}.ops-queue-row{padding:10px}.ops-queue-row+.ops-queue-row{border-top:1px solid #1f2c3e}.ops-row-title,.ops-row-meta{display:flex;align-items:center;gap:8px;min-width:0}.ops-row-title{justify-content:space-between}.ops-row-title strong{min-width:0;color:#f4f7fb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ops-row-title span{color:#f4f7fb;font-weight:700}.ops-row-title em{color:#34d399;font-style:normal;font-weight:800}.ops-progress{height:7px;margin:9px 0;overflow:hidden;border-radius:999px;background:#344256}.ops-progress span{display:block;height:100%;border-radius:inherit;background:#10b981}.ops-row-meta{flex-wrap:wrap;color:#91a0b7;font-size:11px}.ops-row-meta span,.ops-row-meta b{display:inline-flex;align-items:center;gap:5px}.ops-row-meta b{border-radius:999px;padding:2px 7px;color:#c4b5fd;background:#6d28d938}.ops-row-meta b.warning{color:#fbbf24;background:#78350f57}.ops-row-meta b.danger{color:#fca5a5;background:#7f1d1d75}.risk-panel{min-width:0}.risk-table-wrap{max-height:198px;overflow:auto}.risk-table{min-width:560px}.risk-time-col{width:158px}.risk-user-col{width:150px}.risk-action-col{width:116px}.risk-table td:nth-child(3){white-space:normal}.risk-table td:nth-child(3) small{display:block;max-width:100%;margin-top:4px;color:#6f7d91;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.risk-action{display:inline-flex;align-items:center;max-width:100%;border-radius:6px;padding:3px 7px;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.risk-action.danger{color:#fca5a5;background:#7f1d1d75}.risk-action.warning{color:#fbbf24;background:#78350f57}.risk-action.hit{color:#f0abfc;background:#701a7557}.risk-action.pass{color:#34d399;background:#065f4647}.risk-summary{color:#b8c4d4!important}.usage-panel{margin-top:14px;padding:16px}.usage-table{min-width:860px}.recent-usage-panel{display:grid;gap:14px}.recent-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;color:#8d9bb0;font-size:12px}.recent-summary span{display:inline-flex;align-items:center;gap:5px}.recent-summary strong{color:#e8eef7}.recent-chart-wrap{height:280px;min-width:0}.recent-chart-wrap .chart-empty{height:100%}.recent-ranking-table{min-width:760px}.rank-col{width:48px}.request-col,.token-col,.cost-col,.share-col{width:128px}.recent-ranking-table th:nth-child(2),.recent-ranking-table td:nth-child(2){text-align:left}.recent-ranking-table td:first-child{color:#7f8da3;font-weight:700}.muted-row td{color:#64748b!important}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;color:#91a0b7}.error-banner,.inline-error{color:#fecaca;border:1px solid rgba(248,113,113,.35);background:#7f1d1d61;border-radius:8px}.error-banner{padding:12px 14px;margin-bottom:14px}.inline-error{padding:9px 10px;font-size:13px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(100%,390px);display:grid;gap:14px;padding:28px;border:1px solid #1d2c42;background:#101d2d;border-radius:8px}.auth-icon{width:52px;height:52px;display:grid;place-items:center;color:#3b82f6;background:#2563eb2e;border-radius:8px}.compliance-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:20px;background:#030712c7}.compliance-dialog{width:min(100%,680px);display:grid;gap:14px;padding:22px}.compliance-dialog h2,.compliance-dialog p{margin:0}.compliance-dialog p{color:#a4afc0}.compliance-dialog a{color:#60a5fa}.compliance-dialog label,.compliance-dialog code{display:grid;gap:8px}.compliance-dialog code{color:#f8fafc;background:#172338;padding:10px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1100px){.stats-grid,.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.distribution-body,.ops-combo{grid-template-columns:1fr}.donut-wrap{margin:0 auto}}@media(max-width:720px){.dashboard-shell{padding:14px}.dashboard-header,.toolbar,.panel-header,.refresh-cluster{align-items:stretch;flex-direction:column}.refresh-status{text-align:left}.stats-grid,.chart-grid{grid-template-columns:1fr}.toolbar label{flex-wrap:wrap}.ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-copy span,.stat-copy small{white-space:normal}.pagination{justify-content:center;flex-wrap:wrap}.recent-chart-wrap{height:230px}}
