:root{--bg:#f7f8f5;--surface:#fff;--text:#17211c;--muted:#7a827d;--line:#e7e9e5;--green:#1f936f;--shadow:0 10px 30px rgba(25,42,33,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;-webkit-font-smoothing:antialiased}.topbar{height:72px;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 4.5%;position:sticky;top:0;z-index:5;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-size:20px;font-weight:700}.brand-mark{width:30px;height:30px;border-radius:9px;background:#19251f;display:flex;gap:3px;align-items:flex-end;justify-content:center;padding:7px}.brand-mark i{display:block;width:3px;border-radius:3px;background:#a5dfc3}.brand-mark i:nth-child(1){height:7px}.brand-mark i:nth-child(2){height:15px}.brand-mark i:nth-child(3){height:11px}.nav{display:flex;gap:34px;margin-left:70px;height:100%}.nav a{display:flex;align-items:center;color:#777f7a;text-decoration:none;font-size:14px;font-weight:500;position:relative}.nav a.active{color:var(--text)}.nav a.active:after{content:"";height:2px;position:absolute;left:0;right:0;bottom:0;background:#1d8d6a}.header-actions{margin-left:auto;display:flex;align-items:center;gap:16px}.live{font-size:12px;color:#6e7771;background:#f6f8f5;border:1px solid #e8ebe7;border-radius:30px;padding:8px 12px}.live span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36b788;margin-right:7px}.icon-button,.avatar{border:0;background:transparent;cursor:pointer}.icon-button svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.6}.avatar{width:34px;height:34px;border-radius:50%;background:#e5d9c8;color:#5b4b39;font-weight:700;font-size:11px}main{max-width:1180px;margin:auto;padding:60px 30px 80px}.hero{display:flex;justify-content:space-between;align-items:flex-end}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#929993;font-weight:700;margin:0 0 13px}.hero h1{font-size:35px;line-height:1.2;margin:0 0 8px;letter-spacing:-1.2px}.subtitle{color:var(--muted);margin:0;font-size:15px}.refresh{height:48px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:6px 14px;display:grid;grid-template-columns:22px 1fr;column-gap:8px;text-align:left;align-items:center;color:var(--text);cursor:pointer;box-shadow:0 2px 7px rgba(0,0,0,.025)}.refresh svg{grid-row:1/3;width:18px;fill:none;stroke:currentColor;stroke-width:1.7}.refresh span{font-weight:600;font-size:12px;align-self:end}.refresh small{font-size:9px;color:#999;align-self:start}.refresh.loading svg{animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.summary{margin-top:36px;background:#eef5f0;border:1px solid #e1ebe4;border-radius:14px;display:grid;grid-template-columns:repeat(3,1fr);padding:20px 26px}.summary>div{display:flex;align-items:center;gap:13px;border-right:1px solid #dbe5dd;padding-left:25px}.summary>div:first-child{padding-left:0}.summary>div:last-child{border:0}.summary-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;font-size:17px}.mint{background:#d9eee4;color:#238864}.lavender{background:#e8e6f6;color:#655fbd}.peach{background:#f6e7dd;color:#c26f4b}.summary p{font-size:11px;color:#818982;margin:0}.summary strong{display:block;color:var(--text);font-size:14px;margin-top:4px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:48px 0 20px}.section-heading h2{font-size:21px;margin:0 0 6px}.section-heading p{font-size:13px;color:var(--muted);margin:0}.manage{font:inherit;font-size:12px;font-weight:600;color:#52605a;background:transparent;border:0;cursor:pointer}.quota-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.quota-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:23px 24px 20px;box-shadow:var(--shadow);transition:.25s ease}.quota-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(25,42,33,.09)}.card-top{display:flex;align-items:center}.service-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;margin-right:12px;font-weight:700;font-size:12px}.service-icon svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.5}.claude{background:#f6e9df;color:#c86e4f}.codex{background:#def1e8;color:#148364;font-size:20px}.copilot{background:#e9e9ef;color:#282b34}.gemini{background:#e5ecfb;color:#4c76cc;font-size:20px}.card-top h3{font-size:15px;margin:0 0 3px}.card-top p{font-size:10px;color:#939a95;margin:0}.connected{margin-left:auto;color:#218768;background:#e8f5ef;font-size:9px;font-weight:700;padding:5px 9px;border-radius:20px}.connected:before{content:"";display:inline-block;width:5px;height:5px;background:#35ae87;border-radius:50%;margin-right:5px}.quota-copy{display:flex;justify-content:space-between;align-items:end;margin-top:28px}.quota-copy>span{font-size:11px;color:#747d77}.quota-copy strong{font-size:23px;letter-spacing:-.7px}.quota-copy small{font-size:9px;color:#959c97;font-weight:500;letter-spacing:0}.progress{height:7px;background:#edf0ed;border-radius:8px;margin:12px 0 9px;overflow:hidden}.progress i{display:block;width:var(--value);height:100%;background:var(--color);border-radius:8px;transform-origin:left;animation:grow .9s ease both}@keyframes grow{from{transform:scaleX(0)}}.details{display:flex;justify-content:space-between;font-size:9px;color:#9aa09c}.details b{color:#69716c}.model{border-top:1px solid #f0f1ef;margin-top:20px;padding-top:16px;display:flex;justify-content:space-between;font-size:10px;color:#969d98}.model strong{color:#4a544e;font-size:10px}.insight{margin-top:20px;border:1px solid #e1e4ee;background:#f5f5fa;border-radius:14px;padding:20px 24px;display:flex;align-items:center}.sparkle{width:38px;height:38px;border-radius:10px;background:#e6e4f7;color:#6d67c6;display:grid;place-items:center;margin-right:13px}.insight h3{font-size:13px;margin:0 0 4px}.insight p{font-size:10px;color:#848a86;margin:0}.week-bars{height:44px;display:flex;align-items:end;gap:4px;margin-left:auto;margin-right:20px}.week-bars i{width:6px;background:#d3d1e6;border-radius:4px}.week-bars .today{background:#7972cf}.average{border-left:1px solid #dedee5;padding-left:20px;font-size:9px;color:#8e9490}.average strong{display:block;color:#343c37;font-size:15px;margin-top:3px}footer{border-top:1px solid var(--line);max-width:1120px;margin:auto;padding:26px 0 35px;display:flex;color:#9da29f;font-size:10px}footer>span{color:#59635d;font-weight:700;margin-right:25px}footer p{margin:0}footer div{margin-left:auto;display:flex;gap:24px}footer a{color:inherit;text-decoration:none}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,120px);background:#1d2923;color:#fff;border-radius:9px;padding:12px 18px;font-size:12px;transition:.3s;z-index:10}.toast.show{transform:translate(-50%,0)}
body.dark{--bg:#121714;--surface:#1a211d;--text:#edf3ef;--muted:#929c96;--line:#303933;--shadow:none}.dark .topbar{background:rgba(26,33,29,.9)}.dark .summary{background:#1b2922;border-color:#2a3b31}.dark .summary>div{border-color:#314038}.dark .live{background:#202923;border-color:#354039}.dark .insight{background:#202124;border-color:#34363d}.dark .progress{background:#303933}.dark .model{border-color:#303933}.dark .refresh{color:var(--text)}
@media(max-width:750px){.topbar{padding:0 20px}.nav{display:none}.live{display:none}main{padding:40px 18px}.hero{align-items:start}.hero h1{font-size:28px}.refresh small{display:none}.refresh{height:38px}.summary{grid-template-columns:1fr;gap:16px}.summary>div{border-right:0;border-bottom:1px solid #dbe5dd;padding:0 0 16px}.summary>div:last-child{padding-bottom:0}.quota-grid{grid-template-columns:1fr}.insight{flex-wrap:wrap}.week-bars{margin:20px 20px 0 0}.average{margin-top:20px}footer{margin:0 20px}.section-heading{margin-top:36px}}

.quota-card{position:relative}.status-pill{margin-left:auto;font-size:9px;font-weight:700;padding:5px 9px;border-radius:20px;background:#f0f1ef;color:#727a75}.status-pill:before{content:"";display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;margin-right:5px}.status--connected{color:#218768;background:#e8f5ef}.status--not_connected,.status--unavailable{color:#8b7550;background:#f7f1e6}.status--error{color:#ad554d;background:#f9e9e7}.metric-list{margin-top:24px}.quota-metric+.quota-metric{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.quota-metric .quota-copy{margin-top:0}.empty-quota{min-height:116px;margin-top:24px;border:1px dashed var(--line);border-radius:11px;display:flex;flex-direction:column;justify-content:center;padding:18px}.empty-quota strong{font-size:13px}.empty-quota p{font-size:11px;line-height:1.55;color:var(--muted);margin:6px 0 0}.live .status-error-dot{background:#d2685d}.settings-dialog{width:min(620px,calc(100% - 32px));max-height:85vh;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 30px 80px rgba(0,0,0,.2)}.settings-dialog::backdrop{background:rgba(12,20,16,.5);backdrop-filter:blur(3px)}.settings-dialog form{padding:28px}.dialog-header{display:flex;justify-content:space-between;align-items:start}.dialog-header p{font-size:9px;letter-spacing:1.4px;color:#8b938e;margin:0 0 6px}.dialog-header h2{font-size:22px;margin:0}.dialog-close{border:0;background:transparent;color:#89918c;font-size:28px;line-height:1;cursor:pointer}.dialog-help{font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0 22px}.sync-sources{list-style:none;padding:0;margin:0 0 24px;border:1px solid var(--line);border-radius:12px}.sync-sources li{display:flex;justify-content:space-between;gap:24px;padding:13px 15px;border-bottom:1px solid var(--line);font-size:11px}.sync-sources li:last-child{border:0}.sync-sources span{color:var(--muted);text-align:right}.dialog-actions{display:flex;justify-content:flex-end}.dialog-actions button{border-radius:8px;padding:10px 14px;font:600 11px "DM Sans",sans-serif;cursor:pointer}.save-data{border:1px solid #1e8c69;background:#1e8c69;color:white}@media(max-width:600px){.settings-dialog form{padding:20px}.sync-sources li{display:block}.sync-sources span{display:block;text-align:left;margin-top:4px}}
