.login-screen{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);text-align:center;width:100%;max-width:400px;padding:40px}.login-title{font-size:var(--text-2xl);font-weight:var(--weight-bold);margin-bottom:8px}.login-subtitle{color:var(--text-muted);font-size:var(--text-base);margin-bottom:24px}.login-form{text-align:left;flex-direction:column;gap:12px;display:flex}.login-label{font-size:var(--text-base);font-weight:var(--weight-medium);color:var(--text-muted)}.login-input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);width:100%;color:var(--text);font-size:var(--text-lg);outline:none;padding:10px 12px;transition:border-color .15s}.login-input:focus{border-color:var(--accent)}.login-input:disabled{opacity:.6}.login-btn{border-radius:var(--radius-sm);background:var(--accent-strong);width:100%;color:var(--accent-ink);font-size:var(--text-lg);font-weight:var(--weight-medium);cursor:pointer;border:none;padding:10px 16px;transition:opacity .15s}.login-btn:hover:not(:disabled){opacity:.9}.login-btn:disabled{opacity:.5;cursor:not-allowed}.login-error{color:var(--red);font-size:var(--text-base)}.login-success p{color:var(--green);margin-bottom:16px}.side{background:var(--deep);flex-direction:column;gap:24px;height:100vh;padding:20px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{padding:4px 8px}.header-title{font-size:15px;line-height:20px;font-weight:var(--weight-semibold);letter-spacing:0}.header-subtitle{font-size:var(--text-xs);color:var(--text-subtle);margin-top:2px;line-height:16px;display:block}.filters{flex-direction:column;gap:16px;display:flex}.group-label{font-size:var(--text-xs);color:var(--text-subtle);margin-bottom:8px;padding:0 8px;line-height:16px}.seg{background:var(--bg);border:1px solid var(--border);border-radius:10px;gap:2px;padding:3px;display:flex}.range-btn{height:28px;color:var(--text-muted);white-space:nowrap;min-width:0;transition:background .15s var(--ease), color .15s var(--ease);background:0 0;border-radius:7px;flex:1;padding:0 8px;font-size:13px}.range-btn:hover{color:var(--text)}.range-btn.active{background:var(--surface-hover);color:var(--text);box-shadow:inset 0 1px #ffffff12}.side-foot{flex-direction:column;gap:8px;margin-top:auto;display:flex}.live{width:100%;height:28px;color:var(--text-muted);text-align:left;background:0 0;align-items:center;gap:8px;padding:0 8px;font-size:13px;display:flex}.auto-refresh-indicator{border-radius:var(--radius-full);background:var(--text-subtle);flex:none;width:7px;height:7px}.auto-refresh-indicator.active{background:var(--green)}.last-refreshed{font-family:var(--font-mono);font-size:var(--text-xs);color:var(--text-subtle);margin-left:auto}.side-btns{grid-template-columns:1fr auto;gap:8px;display:grid}.refresh-btn,.sign-out-btn{border-radius:var(--radius-sm);height:34px;font-size:13px;font-weight:var(--weight-medium);transition:background .15s var(--ease), border-color .15s var(--ease);justify-content:center;align-items:center;gap:8px;padding:0 14px;display:inline-flex}.refresh-btn{background:var(--accent);color:var(--accent-ink)}.refresh-btn:hover:not(:disabled){background:#19d6b6}.refresh-btn:disabled{opacity:.4;cursor:default}.sign-out-btn{border:1px solid var(--border-strong);color:var(--text-muted);background:0 0}.sign-out-btn:hover{color:var(--text);border-color:#ededed38}.refresh-spinner{border:2px solid #04211c40;border-top-color:var(--accent-ink);border-radius:var(--radius-full);width:12px;height:12px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=860px){.side{border-bottom:1px solid var(--border);gap:12px;height:auto;padding:14px 16px;position:static}.brand{flex-wrap:wrap;align-items:baseline;gap:8px;padding:0;display:flex}.header-subtitle{margin:0}.filters{grid-template-columns:1fr 1fr;gap:8px;display:grid}.group-label{display:none}.range-btn{padding:0 4px;font-size:12.5px}.side-foot{flex-direction:row;align-items:center;margin:0}.live{flex:1;padding:0}.last-refreshed{margin-left:4px}.side-btns{display:flex}}@media (width<=420px){.filters{grid-template-columns:1fr}}.summary-bar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);grid-template-columns:repeat(6,minmax(0,1fr));display:grid;overflow:hidden}.summary-card{border-left:1px solid var(--border);background:0 0;border-top:0;border-bottom:0;border-right:0;border-radius:0;flex-direction:column;gap:6px;min-height:112px;padding:18px 20px;display:flex}.summary-card:first-child{border-left:0}.summary-bar>.summary-card:first-child .summary-value{color:var(--accent)}.summary-value{font-size:var(--text-2xl);line-height:30px;font-weight:var(--weight-medium);letter-spacing:-.01em;white-space:nowrap}.summary-value.spend,.summary-value.balance{color:inherit}.summary-detail{font-size:var(--text-xs);color:var(--text-subtle);line-height:16px}.summary-unit{color:var(--text-subtle);letter-spacing:0;margin-left:2px;font-size:13px;font-weight:400}.summary-detail.trend-spike{color:var(--red);font-weight:var(--weight-medium)}.summary-detail.trend-up{color:var(--yellow)}.summary-detail.trend-down{color:var(--green)}@media (width<=1180px){.summary-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card:nth-child(4){border-left:0}.summary-card:nth-child(n+4){border-top:1px solid var(--border)}}@media (width<=860px){.summary-bar{grid-template-columns:1fr 1fr}.summary-card{min-height:96px;padding:14px 16px}.summary-card:nth-child(odd){border-left:0}.summary-card:nth-child(4){border-left:1px solid var(--border)}.summary-card:nth-child(n+3){border-top:1px solid var(--border)}.summary-value{font-size:22px;line-height:26px}}.alerts-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:0 0 6px}.alerts-title{font-size:var(--text-lg);font-weight:var(--weight-medium);color:var(--text);padding:16px 20px 8px}.alerts-list{flex-direction:column;display:flex}.alert-item{border-top:1px solid var(--border);color:var(--text);background:0 0;border-bottom:0;border-left:0;border-right:0;border-radius:0;grid-template-columns:8px 64px 64px 112px 1fr;align-items:baseline;gap:12px;padding:10px 20px;font-size:13px;display:grid}.alert-item:first-child{border-top:0}.alert-icon{background:var(--yellow);color:#0000;border-radius:2px;align-self:center;width:8px;height:8px;font-size:0;overflow:hidden}.alert-critical .alert-icon,.alert-error .alert-icon{background:var(--red)}.alert-level-label{font-weight:var(--weight-medium);color:var(--yellow)}.alert-critical .alert-level-label,.alert-error .alert-level-label{color:var(--red)}.alert-kind{font-family:var(--font-mono);font-size:var(--text-xs);color:var(--text-subtle);border:0;padding:0}.alert-provider{font-weight:var(--weight-medium);min-width:0}.alert-message{color:var(--text-muted);max-width:none}@media (width<=860px){.alert-item{grid-template-columns:8px auto auto 1fr;gap:4px 10px;padding:12px 16px}.alert-message{grid-column:2/-1}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--deep:#0f0f10;--bg:#141415;--surface:#19191b;--surface-hover:#232325;--border:#ededed14;--border-strong:#ededed21;--text:#ededed;--text-muted:#a1a1a6;--text-subtle:#8b8b92;--accent:#00c9a7;--accent-ink:#04211c;--accent-soft:#00c9a71f;--accent-strong:#00c9a7;--accent-text:#ededed;--green:#4cc38a;--green-soft:#4cc38a1f;--yellow:#d9a441;--yellow-soft:#d9a4411f;--red:#e5484d;--red-soft:#e5484d1f;--red-alpha:#e5484d30;--orange:#ededed;--orange-soft:#ededed14;--font-mono:"IBM Plex Mono", ui-monospace, monospace;--ease:cubic-bezier(.22, 1, .36, 1);--text-xs:.75rem;--text-sm:.8125rem;--text-base:.875rem;--text-lg:.9375rem;--text-xl:1.25rem;--text-2xl:1.625rem;--text-3xl:1.75rem;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--radius-full:50%;--radius-lg:14px;--radius-md:12px;--radius-sm:8px;--radius-xs:6px;--radius-2xs:4px}body{background:var(--bg);color:var(--text);font-feature-settings:"cv11", "ss01";font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:20px}.section-title{font-size:var(--text-lg);font-weight:var(--weight-medium);margin-bottom:16px}.chat-metric-card,.engagement-card,.ext-compare-card,.ext-extra-stat,.filegen-chart-card,.job-health-card,.custom-mode-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md)}.summary-label,.chat-metric-label,.engagement-label,.ext-compare-label,.ext-extra-label,.filegen-chart-label,.filegen-total-label,.job-stat-label,.image-gen-stat-label,.video-gen-stat-label{font-size:var(--text-sm);color:var(--text-muted);font-weight:var(--weight-medium)}.empty-state{color:var(--text-muted);font-size:var(--text-base);text-align:center;padding:32px 20px}.view-toggle{background:var(--bg);border-radius:var(--radius-sm);gap:4px;padding:4px;display:flex}.view-toggle-btn{border-radius:var(--radius-xs);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--text-muted);transition:background .15s var(--ease), color .15s var(--ease);background:0 0;padding:6px 14px}.view-toggle-btn:hover{color:var(--text)}.view-toggle-btn.active{background:var(--surface-hover);color:var(--text);box-shadow:inset 0 1px #ffffff12}.summary-card{transition:background .15s,border-color .15s}.summary-card:hover{background:0 0}#root{min-height:100vh}button{cursor:pointer;font-family:inherit;font-size:var(--text-base);color:inherit;background:0 0;border:none}input{font-family:inherit;font-size:var(--text-base)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-xs)}input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.skeleton-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px}.skeleton-title{background:var(--surface-hover);border-radius:var(--radius-xs);width:160px;height:18px;margin-bottom:16px}.skeleton-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.skeleton-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:10px;padding:20px;display:flex}.skeleton-line{background:var(--surface-hover);border-radius:var(--radius-xs);animation:1.5s ease-in-out infinite skeleton-pulse}.skeleton-line.sm{width:60%;height:12px}.skeleton-line.md{width:80%;height:16px}.skeleton-line.lg{width:50%;height:24px}.skeleton-line.full{width:100%;height:200px}@keyframes skeleton-pulse{0%,to{opacity:.4}50%{opacity:.8}}.tab-nav{flex-direction:column;gap:2px;display:flex}.tab-btn{border-radius:var(--radius-sm);height:34px;color:var(--text-muted);text-align:left;font-size:var(--text-base);font-weight:var(--weight-medium);transition:background .15s var(--ease), color .15s var(--ease);background:0 0;align-items:center;padding:0 10px;display:flex}.tab-btn:hover{color:var(--text);background:#ededed0a}.tab-btn.active{background:var(--surface-hover);color:var(--text);box-shadow:inset 0 1px #ffffff0f}.tab-btn.active:before{content:"";background:var(--accent);border-radius:2px;width:3px;height:14px;margin:0 9px 0 -4px}@media (width<=860px){.tab-nav{background:var(--bg);border:1px solid var(--border);border-radius:10px;flex-direction:row;gap:2px;padding:3px}.tab-btn{flex:1;justify-content:center;height:32px;padding:0 6px;font-size:13px}.tab-btn.active:before{display:none}}.shell{background:linear-gradient(90deg, var(--deep) 0 255px, #202022 255px 256px, var(--bg) 256px);grid-template-columns:256px minmax(0,1fr);min-height:100vh;display:grid}.main{flex-direction:column;gap:24px;width:100%;min-width:0;max-width:1240px;padding:28px 32px 64px;display:flex}.page-head{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.page-title{font-size:var(--text-3xl);line-height:32px;font-weight:var(--weight-medium);letter-spacing:-.01em}.loading-screen{min-height:60vh;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:var(--radius-full);width:32px;height:32px;animation:.8s linear infinite spin}.tab-loading{min-height:200px;color:var(--text-muted);font-size:var(--text-base);justify-content:center;align-items:center;display:flex}.error-banner{background:var(--red-soft);color:var(--red);border:1px solid var(--red);border-radius:var(--radius-md);font-size:var(--text-base);padding:12px 16px}[role=tabpanel]{flex-direction:column;gap:24px;display:flex}.gen-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}@media (width<=1180px){.gen-pair{grid-template-columns:minmax(0,1fr)}}@media (width<=860px){.shell{background:var(--bg);grid-template-columns:minmax(0,1fr)}.main{gap:16px;padding:20px 12px 48px}.page-title{font-size:24px;line-height:28px}[role=tabpanel]{gap:16px}}
