:root{color-scheme:dark;--bg:#08090a;--panel:#0f1011;--surface:#191a1b;--surface2:#202124;--border:rgba(255,255,255,.08);--border2:rgba(255,255,255,.05);--text:#f7f8f8;--muted:#8a8f98;--muted2:#62666d;--accent:#7170ff;--accent2:#5e6ad2;--green:#10b981;--yellow:#f5b942;--red:#ef6461}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -20%,rgba(113,112,255,.13),transparent 32rem),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-feature-settings:"cv01","ss03"}button,input{font:inherit}.topbar{height:72px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border2);background:rgba(8,9,10,.86);backdrop-filter:blur(18px);position:sticky;top:0;z-index:10}.brand,.top-actions{display:flex;align-items:center;gap:12px}.brand>div{display:flex;flex-direction:column;gap:3px}.brand strong{font-size:14px;font-weight:590}.brand span:not(.brand-mark){font-size:11px;color:var(--muted)}.brand-mark{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#828fff,#5e6ad2);color:#fff;font-weight:600;box-shadow:0 0 30px rgba(113,112,255,.28)}.brand-mark.small{width:34px;height:34px;border-radius:9px}.ghost-button,.primary-button{border:1px solid var(--border);border-radius:6px;padding:9px 13px;color:#d0d6e0;background:rgba(255,255,255,.025);cursor:pointer;font-size:12px;font-weight:510;transition:.18s ease}.ghost-button:hover{background:rgba(255,255,255,.06);color:#fff}.ghost-button:disabled{opacity:.55;cursor:wait}.primary-button{width:100%;background:var(--accent2);border-color:var(--accent2);color:#fff;padding:11px 16px}.primary-button:hover{background:#6a75e6}.status-pill,.neutral-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--border);border-radius:999px;font-size:11px;color:#d0d6e0;background:rgba(255,255,255,.02)}.status-pill i{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 10px currentColor}.status-pill.online i{background:var(--green)}.status-pill.error i{background:var(--red)}.container{max-width:1200px;margin:0 auto;padding:64px 32px 72px}.hero{display:grid;grid-template-columns:1fr auto;gap:48px;align-items:end;margin-bottom:42px}.eyebrow{margin:0 0 12px;color:var(--accent);font-size:10px;font-weight:590;letter-spacing:.13em}.hero h1{margin:0;font-size:48px;line-height:1.02;letter-spacing:-1.05px;font-weight:510}.hero-copy{max-width:660px;margin:20px 0 0;color:var(--muted);font-size:15px;line-height:1.65}.refresh-meta{min-width:190px;padding:16px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:4px}.refresh-meta span,.refresh-meta small{color:var(--muted2);font-size:11px}.refresh-meta strong{font-size:15px;font-weight:510}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:54px}.summary-card{padding:20px 22px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.025);box-shadow:inset 0 0 20px rgba(0,0,0,.08)}.summary-card>span{display:block;color:var(--muted);font-size:12px}.summary-card strong{display:block;margin:12px 0 5px;font-size:30px;line-height:1;font-weight:510;letter-spacing:-.6px}.summary-card strong.provider-name{font-size:20px;margin-top:17px}.summary-card small{color:var(--muted2);font-size:11px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.section-heading h2{margin:0;font-size:22px;font-weight:510;letter-spacing:-.3px}.section-actions{display:flex;align-items:center;gap:8px}.primary-compact{border:1px solid var(--accent2);border-radius:6px;padding:7px 11px;color:#fff;background:var(--accent2);cursor:pointer;font-size:11px;font-weight:510}.primary-compact:hover{background:#6a75e6}.oauth-panel{margin:0 0 16px;padding:22px;border:1px solid rgba(113,112,255,.28);border-radius:12px;background:linear-gradient(145deg,rgba(113,112,255,.08),rgba(255,255,255,.02));box-shadow:inset 0 0 34px rgba(113,112,255,.035)}.oauth-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.oauth-head h3{margin:0;font-size:17px;font-weight:590}.oauth-message{margin:15px 0;color:var(--muted);font-size:12px;line-height:1.6}.device-code-wrap{margin:18px 0;padding:15px 17px;border:1px solid var(--border);border-radius:8px;background:#0b0c0d;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 20px}.device-code-wrap span,.device-code-wrap small{color:var(--muted2);font-size:10px}.device-code-wrap strong{grid-row:1/3;grid-column:2;font:500 23px "JetBrains Mono",ui-monospace,monospace;letter-spacing:.08em;color:#d8d8ff}.oauth-actions{display:flex;gap:8px;flex-wrap:wrap}.primary-button.inline{width:auto;padding:9px 13px}.danger-button{border:1px solid rgba(239,100,97,.22);border-radius:6px;padding:9px 13px;color:#ffaaa8;background:rgba(239,100,97,.06);cursor:pointer;font-size:12px}.danger-button:hover{background:rgba(239,100,97,.12)}.oauth-note{margin:15px 0 0;color:var(--muted2);font-size:10px;line-height:1.55}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-card,.loading-card{border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.025);padding:22px;min-height:210px}.account-card:hover{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.12)}.account-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:24px}.account-title{min-width:0}.account-title h3{margin:0 0 7px;font-size:16px;font-weight:590;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-title p{margin:0;color:var(--muted2);font:11px "JetBrains Mono",ui-monospace,monospace}.account-tags{display:flex;align-items:flex-start;gap:6px}.tag{padding:4px 8px;border-radius:999px;border:1px solid var(--border);font-size:10px;color:#d0d6e0}.tag.plan{color:#b7b9ff;border-color:rgba(113,112,255,.28);background:rgba(113,112,255,.08)}.tag.ready{color:#88e3c2;border-color:rgba(16,185,129,.25);background:rgba(16,185,129,.07)}.tag.exhausted,.tag.dead,.tag.error{color:#ffaaa8;border-color:rgba(239,100,97,.25);background:rgba(239,100,97,.07)}.usage-window{margin-top:18px}.usage-row{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:12px}.usage-row span:first-child{color:#d0d6e0}.usage-row span:last-child{color:var(--muted);font-variant-numeric:tabular-nums}.progress-track{height:7px;border-radius:99px;background:rgba(255,255,255,.055);overflow:hidden}.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent2),#828fff);transition:width .4s ease}.progress-fill.warning{background:linear-gradient(90deg,#d99635,#f5b942)}.progress-fill.danger{background:linear-gradient(90deg,#cf4f5b,#ef6461)}.reset-line{margin-top:7px;color:var(--muted2);font-size:10px}.account-footer{display:flex;justify-content:space-between;margin-top:22px;padding-top:14px;border-top:1px solid var(--border2);color:var(--muted2);font-size:10px}.empty-usage{padding:24px 0;color:var(--muted);font-size:12px}.loading-card{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.12);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{padding:12px 14px;margin-bottom:14px;border:1px solid rgba(239,100,97,.25);border-radius:8px;background:rgba(239,100,97,.07);color:#ffaaa8;font-size:12px}.hidden{display:none}footer{max-width:1200px;margin:0 auto;padding:22px 32px 34px;border-top:1px solid var(--border2);display:flex;justify-content:space-between;color:var(--muted2);font-size:10px}.login-page{display:grid;place-items:center;padding:24px}.login-card{width:min(100%,390px);padding:32px;border:1px solid var(--border);border-radius:14px;background:rgba(15,16,17,.94);box-shadow:0 30px 80px rgba(0,0,0,.45)}.login-card .brand-mark{margin-bottom:28px}.login-card h1{margin:0 0 10px;font-size:26px;font-weight:510;letter-spacing:-.55px}.login-card .muted{margin:0 0 26px;color:var(--muted);font-size:13px;line-height:1.55}.login-card form{display:grid;gap:16px}.login-card label{display:grid;gap:7px;color:#d0d6e0;font-size:11px}.login-card input{width:100%;padding:11px 12px;color:var(--text);border:1px solid var(--border);border-radius:6px;background:rgba(255,255,255,.025);outline:0}.login-card input:focus{border-color:rgba(113,112,255,.65);box-shadow:0 0 0 3px rgba(113,112,255,.11)}.login-error{margin:0 0 16px;padding:10px;border-radius:6px;color:#ffaaa8;background:rgba(239,100,97,.08);border:1px solid rgba(239,100,97,.18);font-size:11px}@media(max-width:760px){.topbar{height:auto;padding:16px;align-items:flex-start}.top-actions{flex-wrap:wrap;justify-content:flex-end}.status-pill{display:none}.container{padding:42px 18px 56px}.hero{grid-template-columns:1fr;gap:24px}.hero h1{font-size:36px}.refresh-meta{border-left:0;border-top:1px solid var(--border);padding:16px 0 0}.summary-grid,.account-grid{grid-template-columns:1fr}.summary-grid{gap:8px}.account-head{flex-direction:column}.account-tags{order:-1}footer{margin:0 18px;padding:20px 0;gap:16px;flex-direction:column}}
