@kenz1117/dsh-ui-usage-billing 0.9.15 → 0.9.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -53,7 +53,7 @@ window.__ModuleLoader__.load({
53
53
  }
54
54
  //#endregion
55
55
  //#region \0dsh-css:/Users/ken/deepseek-harness/packages/client/ui-usage-billing/src/client/UsageBilling.module.css.mjs
56
- const css = ".VWh0dG_railButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:36px;height:36px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;transition:border-color .16s,color .16s;display:flex}.VWh0dG_railButton:hover,.VWh0dG_railButton:focus-visible{border-color:var(--dsw-static-blue-500);color:var(--dsw-static-blue-500);outline:none}.VWh0dG_railButton svg{stroke-width:2px;width:18px;height:18px}.VWh0dG_trigger{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 82%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 78%, transparent);-webkit-backdrop-filter:blur(10px)saturate(1.2);width:100%;min-width:0;box-shadow:inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 7%, transparent);color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border-radius:14px;align-items:center;gap:10px;padding:9px 12px;transition:border-color .16s,transform .16s,box-shadow .16s;display:flex;position:relative;overflow:hidden}.VWh0dG_trigger:hover,.VWh0dG_trigger:focus-visible{border-color:var(--dsw-static-blue-500);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 10%, transparent), 0 6px 18px -6px color-mix(in srgb, var(--dsw-static-blue-500) 45%, transparent);outline:none;transform:translateY(-1px)}.VWh0dG_triggerIcon{background:linear-gradient(135deg, var(--dsw-static-blue-500), var(--dsw-static-blue-400));width:30px;height:30px;color:var(--dsw-static-neutral-bluish-00);box-shadow:0 3px 10px -3px color-mix(in srgb, var(--dsw-static-blue-500) 60%, transparent), inset 0 1px 0 color-mix(in srgb, var(--dsw-static-neutral-bluish-00) 22%, transparent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.VWh0dG_triggerIcon svg{stroke-width:2px;width:16px;height:16px}.VWh0dG_triggerBody{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.VWh0dG_triggerRow{align-items:baseline;gap:5px;min-width:0;display:inline-flex}.VWh0dG_triggerAmount{color:var(--dsw-alias-label-primary);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:17px;font-weight:700;line-height:21px;overflow:hidden}.VWh0dG_triggerSub{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:14px;overflow:hidden}.VWh0dG_triggerMeta{color:var(--dsw-alias-label-tertiary);white-space:nowrap;letter-spacing:.02em;text-transform:uppercase;text-overflow:ellipsis;min-width:0;font-size:9.5px;font-weight:600;line-height:12px;overflow:hidden}.VWh0dG_triggerSpark{flex:none;align-items:flex-end;gap:2px;height:20px;display:flex}.VWh0dG_triggerSparkBar,.VWh0dG_triggerSparkHot{background:var(--dsw-static-blue-500);opacity:.6;border-radius:1px 1px 0 0;width:3px}.VWh0dG_triggerSparkHot{opacity:1}.VWh0dG_triggerWrap{flex:auto;width:100%;min-width:0;display:block;position:relative;container:VWh0dG_billing-trigger/inline-size}@container VWh0dG_billing-trigger (width<=300px){.VWh0dG_trigger{gap:6px;padding:8px 10px}.VWh0dG_triggerSpark{display:none}}@container VWh0dG_billing-trigger (width<=230px){.VWh0dG_triggerSub{display:none}.VWh0dG_triggerMeta{letter-spacing:0}}@container VWh0dG_billing-trigger (width<=120px){.VWh0dG_triggerIcon,.VWh0dG_triggerSpark,.VWh0dG_triggerSub,.VWh0dG_triggerMeta{display:none}.VWh0dG_trigger{justify-content:center;padding:8px 6px}}.VWh0dG_triggerPop{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 80%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 72%, transparent);-webkit-backdrop-filter:blur(14px)saturate(1.3);box-shadow:0 12px 32px #00000029, inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);opacity:0;pointer-events:none;z-index:10;border-radius:14px;flex-direction:column;gap:5px;padding:10px 12px;transition:opacity .16s,transform .16s;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:hidden;transform:translateY(4px)}.VWh0dG_triggerPop:before{content:\"\";background:linear-gradient(90deg, transparent 0%, var(--dsw-static-amber-500) 30%, var(--dsw-alias-label-primary) 50%, var(--dsw-static-amber-500) 70%, transparent 100%);opacity:.9;pointer-events:none;background-size:200% 100%;height:1.5px;animation:4s ease-in-out infinite VWh0dG_subscriptionGoldFlow;position:absolute;top:0;left:0;right:0}.VWh0dG_triggerWrap:hover .VWh0dG_triggerPop,.VWh0dG_triggerWrap:focus-within .VWh0dG_triggerPop{opacity:1;transform:translateY(0)}.VWh0dG_triggerPopRow{white-space:nowrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.VWh0dG_triggerPopLabel{letter-spacing:.01em;color:var(--dsw-alias-label-tertiary);white-space:nowrap;flex:none;font-size:10.5px;line-height:16px}.VWh0dG_triggerPopValue{min-width:0;color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;justify-content:flex-end;align-items:baseline;gap:8px;font-size:12.5px;font-weight:600;line-height:17px;display:inline-flex}.VWh0dG_triggerPopName{text-overflow:ellipsis;white-space:nowrap;max-width:110px;color:var(--dsw-alias-label-secondary);font-size:12px;font-weight:500;overflow:hidden}.VWh0dG_triggerPopTitle{color:var(--dsw-alias-label-primary);white-space:nowrap;align-items:baseline;gap:8px;font-size:12px;font-weight:700;display:flex}.VWh0dG_triggerPopTitleMonth{color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:500}.VWh0dG_triggerPopStrong{color:var(--dsw-alias-label-primary);margin-left:8px;font-size:12.5px;font-weight:700}.VWh0dG_triggerPopAlert{color:var(--dsw-static-red-500);white-space:nowrap;font-size:11px;line-height:16px}.VWh0dG_triggerPopValueStack{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.VWh0dG_triggerPopMuted{color:var(--dsw-alias-label-tertiary);font-weight:500}.VWh0dG_triggerPopHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_triggerPopUpdated{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:10px}.VWh0dG_triggerPopMetrics{grid-template-columns:1fr 1fr;gap:7px 12px;display:grid}.VWh0dG_triggerPopMetric{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.VWh0dG_triggerPopMetricLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:10px}.VWh0dG_triggerPopMetricValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:700;line-height:18px}.VWh0dG_triggerPopMetricHighlight{color:var(--dsw-static-amber-500)}.VWh0dG_triggerPopFoot{border-top:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 70%, transparent);flex-direction:column;gap:4px;padding-top:6px;display:flex}.VWh0dG_triggerPopFootTitle{text-align:center;letter-spacing:.05em;color:var(--dsw-alias-label-tertiary);border-bottom:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 70%, transparent);padding-bottom:4px;font-size:10px;font-weight:600}.VWh0dG_triggerPopFootNotes{flex-direction:column;gap:1px;min-width:0;display:flex}.VWh0dG_triggerPopFootNote{align-items:baseline;gap:4px;min-width:0;display:flex}.VWh0dG_triggerPopFootName{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.VWh0dG_triggerPopBadge{white-space:nowrap;border-radius:5px;flex:none;padding:1px 6px;font-size:9.5px;font-weight:600;line-height:14px}.VWh0dG_triggerPopBadgeDirect{background:color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent);color:var(--dsw-alias-label-primary)}.VWh0dG_triggerPopBadgeSub{background:color-mix(in srgb, var(--dsw-static-amber-500) 18%, transparent);color:var(--dsw-static-amber-500)}.VWh0dG_triggerPopFootStrong{color:var(--dsw-alias-label-secondary);font-weight:600}.VWh0dG_triggerPopFootStatus{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:700;line-height:18px}.VWh0dG_triggerPopFootStatusLow{color:var(--dsw-static-red-500)}.VWh0dG_triggerPopOpenBtn{pointer-events:auto;border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 80%, transparent);color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-alias-bg-layer-3) 70%, transparent);cursor:pointer;border-radius:999px;flex:none;padding:5px 11px;font-size:11px;font-weight:600;transition:border-color .16s,background-color .16s}.VWh0dG_triggerPopOpenBtn:hover{border-color:var(--dsw-static-blue-500);background:color-mix(in srgb, var(--dsw-static-blue-500) 12%, var(--dsw-alias-bg-layer-3))}.VWh0dG_triggerPopBars{border-top:1px solid var(--dsw-alias-border-l1);align-items:flex-end;gap:4px;height:22px;margin-top:4px;padding-top:8px;display:flex}.VWh0dG_triggerPopBar{background:var(--dsw-static-blue-500);border-radius:2px;flex:1;transition:height .2s}.VWh0dG_dashboardModal{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);width:min(760px,100vw - 48px);max-height:min(760px,88vh);box-shadow:var(--dsw-shadow-lv3);animation:.18s ease-out VWh0dG_dashboardIn}@keyframes VWh0dG_dashboardIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}div[role=presentation]:has(>.dsh-billing-modal)>div[aria-hidden=true]:first-child{backdrop-filter:blur(8px)saturate(1.25)}.VWh0dG_dashboard{flex-direction:column;width:100%;max-height:min(760px,88vh);display:flex}.VWh0dG_dashboardHead{border-bottom:1px solid var(--dsw-alias-border-l1);justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 14px;display:flex}.VWh0dG_dashboardTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:17px;font-weight:600;line-height:24px}.VWh0dG_dashboardSubtitle{color:var(--dsw-alias-label-caption);margin:3px 0 0;font-size:12px;line-height:17px}.VWh0dG_closeButton{width:30px;height:30px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;transition:background-color .14s;display:inline-flex}.VWh0dG_closeButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.VWh0dG_closeButton svg{stroke-width:2px;width:16px;height:16px}.VWh0dG_dashboardBody{flex-direction:column;gap:14px;padding:16px 24px 24px;display:flex;overflow-y:auto}.VWh0dG_tabNav{border-bottom:1px solid var(--dsw-alias-border-l1);align-items:center;gap:4px;padding:10px 24px;display:flex}.VWh0dG_tabButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;padding:5px 14px;font-size:12.5px;font-weight:500;line-height:18px;transition:background-color .16s,color .16s,box-shadow .16s}.VWh0dG_tabButton:hover,.VWh0dG_tabButton:focus-visible{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover);outline:none}.VWh0dG_tabButtonActive,.VWh0dG_tabButtonActive:hover,.VWh0dG_tabButtonActive:focus-visible{background:var(--dsw-static-blue-500);color:var(--dsw-static-neutral-bluish-00);font-weight:600}.VWh0dG_tabPanel{flex-direction:column;gap:14px;animation:.14s ease-out VWh0dG_tabPanelIn;display:flex}@keyframes VWh0dG_tabPanelIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.VWh0dG_hero{border:1px solid var(--dsw-alias-border-l1);background:linear-gradient(180deg, var(--dsw-alias-bg-layer-2), var(--dsw-alias-bg-layer-1));box-shadow:inset 0 1px 0 color-mix(in srgb, var(--dsw-static-neutral-bluish-00) 30%, transparent);border-radius:16px;flex-direction:column;gap:18px;padding:22px 24px;display:flex;position:relative;overflow:hidden}.VWh0dG_heroTop{justify-content:space-between;align-items:center;gap:24px;display:flex}.VWh0dG_heroMain{flex-direction:column;gap:2px;min-width:0;display:flex}.VWh0dG_heroLabel{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;font-size:11px;line-height:16px}.VWh0dG_heroReadout{align-items:baseline;gap:4px;display:flex}.VWh0dG_heroCurrency{letter-spacing:-.01em;color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;font-size:20px;font-weight:600;line-height:30px}.VWh0dG_heroValue{letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:56px;font-weight:700;line-height:64px}.VWh0dG_heroMeta{color:var(--dsw-alias-label-caption);white-space:nowrap;margin-top:4px;font-size:12px;line-height:17px}.VWh0dG_heroGauge{flex:none;width:96px;height:96px;position:relative}.VWh0dG_heroGaugeSvg{width:100%;height:100%;display:block;transform:rotate(-90deg)}.VWh0dG_heroGaugeTrack{fill:none;stroke:var(--dsw-alias-bg-module-platform);stroke-width:9px}.VWh0dG_heroGaugeArc{fill:none;stroke:var(--dsw-static-blue-500);stroke-width:9px;stroke-linecap:round;transition:stroke-dasharray .26s}.VWh0dG_heroGaugeArcOver{stroke:var(--dsw-static-red-500)}.VWh0dG_heroGaugeCenter{flex-direction:column;justify-content:center;align-items:center;gap:1px;display:flex;position:absolute;inset:0}.VWh0dG_heroGaugePct{letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);font-size:18px;font-weight:700;line-height:22px}.VWh0dG_heroGaugePctOver{color:var(--dsw-static-red-500)}.VWh0dG_heroGaugeLabel{color:var(--dsw-alias-label-tertiary);font-size:10px;line-height:14px}.VWh0dG_heroSide{border-top:1px solid var(--dsw-alias-border-l1);align-items:stretch;padding-top:14px;display:flex}.VWh0dG_heroSideItem{flex-direction:column;flex:1;gap:3px;min-width:0;padding-left:16px;display:flex}.VWh0dG_heroSideItem:first-child{padding-left:0}.VWh0dG_heroSideLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:15px}.VWh0dG_heroSideValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap;align-items:baseline;gap:6px;font-size:18px;font-weight:600;line-height:24px;display:inline-flex}.VWh0dG_heroSideSpacer{flex:1;display:block}.VWh0dG_delta{align-items:center;gap:2px;margin-left:4px;font-size:11px;font-weight:600;line-height:17px;display:inline-flex}.VWh0dG_deltaUp{color:var(--dsw-static-green-500)}.VWh0dG_deltaDown{color:var(--dsw-static-red-500)}.VWh0dG_unpricedHint{border:1px solid color-mix(in srgb, var(--dsw-static-amber-500) 30%, transparent);background:color-mix(in srgb, var(--dsw-static-amber-500) 8%, transparent);color:var(--dsw-static-amber-500);border-radius:8px;align-items:center;padding:8px 12px;font-size:11.5px;font-weight:500;line-height:17px;display:flex}.VWh0dG_kpiGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.VWh0dG_kpiTile{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:14px;flex-direction:column;gap:3px;padding:14px 15px;transition:border-color .16s;display:flex;position:relative;overflow:hidden}.VWh0dG_kpiTile:hover{border-color:var(--dsw-alias-border-l2)}.VWh0dG_kpiLabel{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:15px}.VWh0dG_kpiValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:22px;font-weight:600;line-height:28px}.VWh0dG_kpiGreen{color:var(--dsw-static-green-500)}.VWh0dG_kpiDetail{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:15px;overflow:hidden}.VWh0dG_panel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:16px;flex-direction:column;gap:10px;padding:16px 18px;transition:border-color .16s;display:flex}.VWh0dG_panelHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_panelTitle{letter-spacing:-.005em;color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:600;line-height:20px}.VWh0dG_panelHint{color:var(--dsw-alias-label-caption);white-space:nowrap;font-size:11px;line-height:16px}.VWh0dG_pricingTip{color:var(--dsw-alias-label-caption);margin:0 0 2px;font-size:11px;line-height:16px}.VWh0dG_rangeToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.VWh0dG_rangeButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:2px 8px;font-size:11px;line-height:16px;transition:background-color .14s,color .14s}.VWh0dG_rangeButtonActive{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);font-weight:600}.VWh0dG_exportBar{justify-content:flex-end;align-items:center;gap:8px;display:flex}.VWh0dG_exportLabel{color:var(--dsw-alias-label-caption);font-size:11px;line-height:16px}.VWh0dG_exportButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:999px;padding:4px 12px;font-size:11.5px;line-height:16px;transition:border-color .16s,color .16s,background-color .16s}.VWh0dG_exportButton:hover,.VWh0dG_exportButton:focus-visible{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);outline:none}.VWh0dG_shareTrack{background:var(--dsw-alias-bg-module-platform);border-radius:999px;height:10px;display:flex;overflow:hidden}.VWh0dG_shareSeg{height:100%;transition:width .2s}.VWh0dG_shareSegPeak{background:var(--dsw-static-blue-500)}.VWh0dG_shareSegOff{background:color-mix(in srgb, var(--dsw-static-blue-500) 25%, var(--dsw-alias-bg-module-platform))}.VWh0dG_shareSegUser{background:var(--dsw-static-blue-500)}.VWh0dG_shareSegAssistant{background:var(--dsw-static-green-500)}.VWh0dG_shareSegTool{background:var(--dsw-static-amber-500)}.VWh0dG_shareLegend{align-items:center;gap:16px;display:flex}.VWh0dG_shareItem{color:var(--dsw-alias-label-secondary);align-items:baseline;gap:6px;font-size:12px;line-height:17px;display:inline-flex}.VWh0dG_bucketCost{align-items:baseline;gap:3px;display:inline-flex}.VWh0dG_bucketOfficial{color:var(--dsw-static-blue-500);font-weight:600}.VWh0dG_bucketSep{color:var(--dsw-alias-label-dimmed)}.VWh0dG_bucketThird{color:var(--dsw-alias-label-secondary)}.VWh0dG_bucketSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.VWh0dG_bucketStat{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);border-radius:12px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.VWh0dG_bucketStatLabel{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;letter-spacing:.05em;font-size:11px;line-height:15px}.VWh0dG_bucketStatValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:20px;font-weight:700;line-height:26px}.VWh0dG_bucketStatSub{color:var(--dsw-alias-label-caption);font-variant-numeric:tabular-nums;font-size:11px;line-height:16px}.VWh0dG_shareDot{border-radius:50%;flex:none;align-self:center;width:8px;height:8px}.VWh0dG_shareValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-weight:600}.VWh0dG_budget{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:14px;flex-direction:column;gap:8px;padding:12px 16px;display:flex}.VWh0dG_budgetHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_budgetLabel{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}.VWh0dG_budgetValue{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_budgetControls{align-items:center;gap:8px;min-width:0;display:inline-flex}.VWh0dG_budgetInputWrap{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;align-items:center;gap:2px;padding:2px 6px;display:inline-flex}.VWh0dG_budgetInputWrap:focus-within{border-color:var(--dsw-alias-border-l3)}.VWh0dG_budgetUnit{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:16px}.VWh0dG_budgetInput{width:64px;color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:none;padding:0;font-size:12px;line-height:16px}.VWh0dG_budgetInput:focus-visible{outline:none}.VWh0dG_switch{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);cursor:pointer;border-radius:999px;flex:none;width:30px;height:17px;padding:0;transition:background-color .16s,border-color .16s;position:relative}.VWh0dG_switchOn{border-color:var(--dsw-alias-border-l1);background:var(--dsw-alias-label-primary)}.VWh0dG_switchKnob{background:var(--dsw-static-neutral-bluish-00);border-radius:50%;width:11px;height:11px;transition:transform .16s;position:absolute;top:2px;left:2px}.VWh0dG_switchOn .VWh0dG_switchKnob{transform:translate(13px)}.VWh0dG_budgetTrack{background:var(--dsw-alias-bg-module-platform);border-radius:999px;height:6px;overflow:hidden}.VWh0dG_budgetFill{background:var(--dsw-static-blue-500);border-radius:999px;height:100%;transition:width .2s}.VWh0dG_budgetFillWarn{background:var(--dsw-static-amber-500)}.VWh0dG_budgetFillOver{background:var(--dsw-static-red-500);animation:1.6s ease-in-out infinite VWh0dG_budgetOverPulse}@keyframes VWh0dG_budgetOverPulse{50%{opacity:.55}}.VWh0dG_chartWrap{width:100%;position:relative}.VWh0dG_chartSvg{width:100%;height:auto;display:block}.VWh0dG_chartEmpty{height:140px;color:var(--dsw-alias-label-caption);justify-content:center;align-items:center;font-size:13px;display:flex}.VWh0dG_emptyRow{text-align:center;color:var(--dsw-alias-label-caption);padding:28px 0;font-size:13px}.VWh0dG_chartGrid{stroke:var(--dsw-alias-border-l1);stroke-width:1px}.VWh0dG_chartAxisLabel{fill:var(--dsw-alias-label-tertiary);font-size:10px}.VWh0dG_chartBar{fill:var(--dsw-static-blue-500);opacity:.7}.VWh0dG_chartBar:hover{opacity:1}.VWh0dG_chartStack{stroke:var(--dsw-alias-bg-layer-1);stroke-width:.75px}.VWh0dG_chartStack:hover{opacity:.9}.VWh0dG_chartLine{stroke:var(--dsw-static-blue-500);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.VWh0dG_chartCrosshair{stroke:var(--dsw-alias-label-dimmed);stroke-width:1px;stroke-dasharray:3 3}.VWh0dG_chartDot{fill:var(--dsw-static-neutral-bluish-00);stroke:var(--dsw-static-blue-500);stroke-width:2px}.VWh0dG_chartTooltip{pointer-events:none;z-index:2;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);box-shadow:none;white-space:nowrap;border-radius:8px;padding:8px 10px;position:absolute;transform:translate(-50%,calc(-100% - 10px))}.VWh0dG_chartTooltipDate{color:var(--dsw-alias-label-primary);margin-bottom:3px;font-size:11px;font-weight:600}.VWh0dG_chartTooltipRow{color:var(--dsw-alias-label-secondary);align-items:center;gap:5px;font-size:11px;line-height:17px;display:flex}.VWh0dG_chartTooltipRow strong{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-weight:600}.VWh0dG_chartBarPlaceholder{fill:color-mix(in srgb, var(--dsw-alias-label-secondary) 30%, transparent)}.VWh0dG_chartLegendLine{background:var(--dsw-static-blue-500);border-radius:2px;width:10px;height:3px;display:inline-block}.VWh0dG_chartLegendBar{background:var(--dsw-static-blue-500);opacity:.5;border-radius:2px;width:7px;height:7px;display:inline-block}.VWh0dG_chartTooltipSwatch{border-radius:3px;flex:none;width:8px;height:8px;display:inline-block}.VWh0dG_chartLegend{color:var(--dsw-alias-label-tertiary);justify-content:flex-end;gap:14px;margin-top:2px;font-size:11px;display:flex}.VWh0dG_chartLegend span{align-items:center;gap:5px;display:inline-flex}.VWh0dG_tableScroll{border:1px solid var(--dsw-alias-border-l1);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border-radius:12px;overflow:auto}.VWh0dG_modelTable,.VWh0dG_pricingTable{border-collapse:collapse;width:100%;font-size:12.5px}.VWh0dG_modelTable th,.VWh0dG_modelTable td,.VWh0dG_pricingTable th,.VWh0dG_pricingTable td{border-bottom:1px solid var(--dsw-alias-border-l1);text-align:left;white-space:nowrap;padding:9px 12px}.VWh0dG_modelTable tbody tr:last-child td,.VWh0dG_pricingTable tbody tr:last-child td{border-bottom:0}.VWh0dG_modelTable thead th,.VWh0dG_pricingTable thead th{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;letter-spacing:.05em;background:0 0;font-size:11px;font-weight:600}.VWh0dG_modelTable tbody tr,.VWh0dG_pricingTable tbody tr{transition:background-color .12s}.VWh0dG_modelTable tbody tr:hover,.VWh0dG_pricingTable tbody tr:hover{background:0 0}.VWh0dG_numCol{text-align:right;font-variant-numeric:tabular-nums}.VWh0dG_costCol{color:var(--dsw-alias-label-primary);font-weight:600}.VWh0dG_na{color:var(--dsw-alias-label-dimmed)}.VWh0dG_modelCell{align-items:center;gap:8px;display:inline-flex}.VWh0dG_modelDot{border-radius:50%;flex:none;width:9px;height:9px}.VWh0dG_modelName{color:var(--dsw-alias-label-primary);font-weight:500;line-height:16px;display:block}.VWh0dG_modelProvider{color:var(--dsw-alias-label-caption);font-size:10.5px;line-height:14px;display:block}.VWh0dG_pricingToggle{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:0;display:flex}.VWh0dG_pricingToggle:hover .VWh0dG_panelTitle,.VWh0dG_pricingToggle:focus-visible .VWh0dG_panelTitle{color:var(--dsw-alias-label-primary)}.VWh0dG_rateBadge{vertical-align:1px;white-space:nowrap;border-radius:999px;align-items:center;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:500;line-height:14px;display:inline-flex}.VWh0dG_rateBadgeLive{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_siteRow{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.VWh0dG_siteRowName{align-items:center;gap:8px;min-width:0;display:inline-flex}.VWh0dG_siteKindTag{white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:1px 7px;font-size:10.5px;font-weight:600;line-height:16px;display:inline-flex}.VWh0dG_siteKindSite{color:var(--dsw-static-blue-500);background:color-mix(in srgb, var(--dsw-static-blue-500) 14%, transparent)}.VWh0dG_siteKindDirect{color:var(--dsw-static-green-500);background:color-mix(in srgb, var(--dsw-static-green-500) 14%, transparent)}.VWh0dG_siteKindUnknown{color:var(--dsw-static-red-500);background:color-mix(in srgb, var(--dsw-static-red-500) 14%, transparent)}.VWh0dG_siteRowTitle{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;line-height:18px;overflow:hidden}.VWh0dG_siteRowMeta{flex:none;align-items:center;gap:10px;display:inline-flex}.VWh0dG_siteRowCost{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:700;line-height:18px}.VWh0dG_siteRowCalls{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;font-size:11.5px;line-height:17px}.VWh0dG_siteRowCallsLow{color:var(--dsw-static-red-500)}.VWh0dG_rateBadgeBuiltin{color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_pricingToggleText{align-items:baseline;gap:10px;min-width:0;display:flex}.VWh0dG_pricingChevron{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.VWh0dG_pricingChevronOpen{transform:rotate(180deg)}.VWh0dG_bandPrice{align-items:baseline;gap:6px;display:inline-flex}.VWh0dG_bandPriceOff{color:var(--dsw-alias-label-caption)}.VWh0dG_bandPriceOff:before{content:\"/\";color:var(--dsw-alias-label-dimmed);margin-right:4px}.VWh0dG_bandTag{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:1px;font-size:10.5px;line-height:14px;display:inline-flex}.VWh0dG_bandTagOff{color:var(--dsw-static-green-500);font-weight:600}.VWh0dG_bandTag>span:first-child{color:var(--dsw-alias-label-primary);font-weight:500}.VWh0dG_flatTag{color:var(--dsw-alias-label-caption);font-size:10.5px;line-height:14px}.VWh0dG_healthDot{border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.VWh0dG_healthOk{background:var(--dsw-static-green-500)}.VWh0dG_healthBad{background:var(--dsw-static-red-500)}.VWh0dG_healthIdle{background:var(--dsw-static-neutral-bluish-400)}.VWh0dG_dashboardRight{align-items:center;gap:8px;min-width:0;display:flex}.VWh0dG_healthBadge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:3px 9px;font-size:11px;line-height:16px;display:inline-flex}.VWh0dG_healthBadgeOk{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_healthBadgeBad{color:var(--dsw-static-red-500);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_planTag{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;align-items:center;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;display:inline-flex}.VWh0dG_uncataloguedTag{vertical-align:1px;color:var(--dsw-static-amber-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;margin-left:6px;padding:0 6px;font-size:10px;font-weight:600;line-height:16px;display:inline-block}.VWh0dG_estimatedTag{vertical-align:1px;color:var(--dsw-static-blue-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;margin-left:6px;padding:0 6px;font-size:10px;font-weight:600;line-height:16px;display:inline-block}.VWh0dG_liveCostBar{color:var(--dsw-static-neutral-400);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:11px;line-height:16px;display:inline-flex}.VWh0dG_liveCostItem{white-space:nowrap}.VWh0dG_liveCostSep{color:var(--dsw-static-neutral-300)}.VWh0dG_liveTierPeak{color:var(--dsw-static-blue-500);font-weight:600}.VWh0dG_liveTierOff{color:var(--dsw-static-green-500);font-weight:600}.VWh0dG_liveQuotaWarn{color:var(--dsw-static-amber-500);font-weight:600}.VWh0dG_liveQuotaCrit{color:var(--dsw-static-red-500);font-weight:600}.VWh0dG_balanceCell{align-items:center;gap:6px;display:inline-flex;position:relative}.VWh0dG_balanceDays{color:var(--dsw-alias-label-caption);white-space:nowrap;font-size:10.5px;line-height:14px}.VWh0dG_balanceDaysLow{color:var(--dsw-static-red-500);font-weight:600}.VWh0dG_balanceDaysBadge{border:1px solid var(--dsw-alias-label-caption);background:color-mix(in srgb, var(--dsw-alias-label-caption) 10%, transparent);min-width:24px;height:24px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:0 6px;font-size:10.5px;font-weight:600;line-height:1;display:inline-flex}.VWh0dG_balanceDaysBadge:hover{border-color:var(--dsw-alias-label-secondary);background:color-mix(in srgb, var(--dsw-alias-label-caption) 18%, transparent)}.VWh0dG_balanceDaysBadgeLow{color:var(--dsw-static-red-500);border-color:var(--dsw-static-red-500);background:color-mix(in srgb, var(--dsw-static-red-500) 10%, transparent)}.VWh0dG_balanceDetailPop{z-index:20;background:var(--dsw-alias-bg-layer-3);border:1px solid var(--dsw-alias-label-caption);white-space:nowrap;border-radius:8px;flex-direction:column;gap:6px;min-width:180px;padding:8px 10px;display:inline-flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 20px #0000002e}.VWh0dG_balanceDetailHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.VWh0dG_balanceDetailTitle{color:var(--dsw-alias-label-primary);font-size:12px;font-weight:600}.VWh0dG_balanceDetailClose{cursor:pointer;color:var(--dsw-alias-label-caption);background:0 0;border:none;font-size:14px;line-height:1}.VWh0dG_balanceDetailClose:hover{color:var(--dsw-alias-label-primary)}.VWh0dG_balanceDetailGrid{flex-direction:column;gap:4px;display:inline-flex}.VWh0dG_balanceDetailRow{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;justify-content:space-between;gap:16px;font-size:11px;line-height:15px;display:flex}.VWh0dG_balanceDetailLabel{color:var(--dsw-alias-label-caption)}.VWh0dG_balanceDetailValue{color:var(--dsw-alias-label-primary);font-weight:500}body[data-zine-mode] .VWh0dG_trigger,body[data-zine-mode] .VWh0dG_triggerPop,body[data-zine-mode] .VWh0dG_railButton{display:none}body[data-zine-mode] .VWh0dG_dashboardHead{background:#000;border-bottom:2px solid #e8ff00}body[data-zine-mode] .VWh0dG_headTitleRow{align-items:center;gap:8px;margin-top:4px;display:flex}body[data-zine-mode] .VWh0dG_dashboardTitle{color:#e8ff00;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 0 8px #e8ff0066;font-weight:900}body[data-zine-mode] .VWh0dG_dashboardSubtitle{color:#c9d98a;letter-spacing:.08em;text-transform:uppercase;font-size:10px}body[data-zine-mode] .VWh0dG_closeButton{color:#0a0a05;background:#ff2d95;border:1.5px solid #ff2d95;border-radius:0;box-shadow:0 0 10px #ff2d9573}body[data-zine-mode] .VWh0dG_hero{background:#000;border:2.5px solid #e8ff00;border-radius:0;position:relative;box-shadow:0 0 0 1px #0009,0 0 24px #e8ff002e}body[data-zine-mode] .VWh0dG_heroLabel{color:#c9d98a;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:900}body[data-zine-mode] .VWh0dG_heroValue{color:#e8ff00;letter-spacing:-.02em;text-shadow:0 0 12px #e8ff0073;-webkit-text-fill-color:#e8ff00;background:0 0;font-size:38px;font-weight:900}body[data-zine-mode] .VWh0dG_heroMeta{color:#c9d98a;letter-spacing:.06em;text-transform:uppercase;font-size:10.5px}body[data-zine-mode] .VWh0dG_heroSideLabel{color:#c9d98a;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:900}body[data-zine-mode] .VWh0dG_heroSideValue{color:#e8ff00;text-shadow:0 0 6px #e8ff0059}body[data-zine-mode] .VWh0dG_delta{font-weight:900}body[data-zine-mode] .VWh0dG_deltaUp{color:#ff2d95}body[data-zine-mode] .VWh0dG_deltaDown{color:#c9d98a}body[data-zine-mode] .VWh0dG_tabNav{background:#000;border-bottom:2px solid #e8ff00}body[data-zine-mode] .VWh0dG_tabButton{color:#c9d98a;letter-spacing:.08em;text-transform:uppercase;border-radius:0;font-size:10.5px;font-weight:900}body[data-zine-mode] .VWh0dG_tabButton:hover,body[data-zine-mode] .VWh0dG_tabButton:focus-visible{color:#e8ff00;background:#e8ff001f}body[data-zine-mode] .VWh0dG_tabButtonActive,body[data-zine-mode] .VWh0dG_tabButtonActive:hover,body[data-zine-mode] .VWh0dG_tabButtonActive:focus-visible{color:#0a0a05;background:#e8ff00;box-shadow:0 0 10px #e8ff0073}body[data-zine-mode] .VWh0dG_panel{background:#000;border:2px solid #e8ff00;border-radius:0}body[data-zine-mode] .VWh0dG_trendPanel{position:relative}body[data-zine-mode] .VWh0dG_panelTitle{color:#e8ff00;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 0 6px #e8ff0066;font-weight:900}body[data-zine-mode] .VWh0dG_panelHint{color:#c9d98a;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:900}body[data-zine-mode] .VWh0dG_modelTableScroll{background:#000;border:1.5px solid #e8ff0080;border-radius:0}.VWh0dG_currencyToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);border-radius:6px;align-items:center;gap:2px;margin-right:8px;padding:2px;display:inline-flex}.VWh0dG_currencyButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:4px 7px;font-size:11px;font-weight:700;line-height:1}.VWh0dG_currencyButtonActive{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.VWh0dG_subscriptionGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-top:10px;display:grid}.VWh0dG_subscriptionCard{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 75%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 62%, transparent);-webkit-backdrop-filter:blur(12px)saturate(1.3);border-radius:12px;padding:12px 14px;transition:border-color .2s,box-shadow .2s;position:relative;overflow:hidden;box-shadow:0 8px 24px #0000001a}.VWh0dG_subscriptionCard:before{content:\"\";background:linear-gradient(90deg, transparent 0%, var(--dsw-static-amber-500) 30%, var(--dsw-alias-label-primary) 50%, var(--dsw-static-amber-500) 70%, transparent 100%);opacity:.9;pointer-events:none;background-size:200% 100%;height:1.5px;animation:3.6s ease-in-out infinite VWh0dG_subscriptionGoldFlow;position:absolute;top:0;left:0;right:0}@keyframes VWh0dG_subscriptionGoldFlow{0%{background-position:200% 0}to{background-position:-200% 0}}.VWh0dG_subscriptionCard:hover{border-color:color-mix(in srgb, var(--dsw-static-amber-500) 55%, var(--dsw-alias-border-l1));box-shadow:0 10px 30px #00000029}.VWh0dG_subscriptionHead{flex-wrap:wrap;align-items:baseline;gap:6px;margin-bottom:8px;display:flex}.VWh0dG_subscriptionName{font-size:13px;font-weight:700}.VWh0dG_subscriptionPlan{color:var(--dsw-alias-label-secondary);font-size:11px}.VWh0dG_subscriptionPlan[data-kind=code],.VWh0dG_subscriptionPlan[data-kind=token]{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-3);border-radius:999px;padding:1px 8px;font-weight:500}.VWh0dG_subscriptionTier{color:var(--dsw-alias-label-secondary);margin-left:6px}.VWh0dG_subscriptionAuto{color:var(--dsw-static-blue-500);background:color-mix(in srgb, var(--dsw-static-blue-500) 14%, var(--dsw-alias-bg-layer-2));border-radius:999px;margin-left:6px;padding:1px 6px;font-size:10px}.VWh0dG_subscriptionStatus{color:var(--dsw-alias-label-secondary);margin-bottom:6px;font-size:11px}.VWh0dG_subscriptionWindow{align-items:center;gap:10px;margin-top:8px;font-size:11px;display:flex}.VWh0dG_subscriptionWindowLabel{color:var(--dsw-alias-label-secondary);flex:0 0 44px}.VWh0dG_subscriptionTrack{background:var(--dsw-alias-bg-layer-3);border-radius:3px;flex:1;height:6px;overflow:hidden}.VWh0dG_subscriptionFill{background:var(--dsw-static-blue-500);border-radius:3px;height:100%;transition:width .2s;display:block}.VWh0dG_subscriptionFillWarn{background:var(--dsw-static-amber-500)}.VWh0dG_subscriptionFillOver{background:var(--dsw-static-red-500)}.VWh0dG_subscriptionMeta{flex-direction:column;flex:none;align-items:flex-end;gap:2px;display:flex}.VWh0dG_subscriptionPct{text-align:right;font-variant-numeric:tabular-nums;flex:none;min-width:52px}.VWh0dG_subscriptionExhausted{color:var(--dsw-static-red-500);min-width:52px;font-weight:600}.VWh0dG_subscriptionReset{color:var(--dsw-alias-label-caption);white-space:nowrap;flex:none;font-size:10px}.VWh0dG_providerGroupList{flex-direction:column;gap:10px;display:flex}.VWh0dG_providerGroup{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:12px;padding:12px 14px}.VWh0dG_providerGroupHead{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.VWh0dG_providerGroupTitle{align-items:center;gap:7px;min-width:0;display:inline-flex}.VWh0dG_providerGroupName{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600;line-height:18px}.VWh0dG_providerGroupMeta{flex:none;align-items:center;gap:10px;display:inline-flex}.VWh0dG_providerGroupBadge{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;align-items:center;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;display:inline-flex}.VWh0dG_providerGroupBalance{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:baseline;gap:6px;font-size:12px;line-height:17px;display:inline-flex}.VWh0dG_providerGroupBalanceLabel{color:var(--dsw-alias-label-caption);font-size:11px;line-height:17px}.VWh0dG_roundsFlagBadge{color:var(--dsw-static-neutral-bluish-00);background:var(--dsw-static-red-500);border-radius:999px;margin-left:8px;padding:1px 7px;font-size:10px;font-weight:800}.VWh0dG_rounds{margin-top:10px}.VWh0dG_roundsBars{align-items:flex-end;gap:3px;height:124px;padding:16px 2px 0;display:flex;overflow-x:auto}.VWh0dG_roundsBarCol{border-radius:5px 5px 0 0;flex-direction:column;flex:1 0 28px;justify-content:flex-end;align-items:stretch;height:100%;display:flex;position:relative}.VWh0dG_roundsBarColPeak{background:color-mix(in srgb, var(--dsw-static-amber-500) 16%, transparent)}.VWh0dG_roundsBarColOff{background:var(--dsw-alias-bg-module-platform)}.VWh0dG_roundsBarLabel{text-align:center;color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:9px;line-height:1.2;position:absolute;bottom:0;left:0;right:0;overflow:hidden;transform:translateY(-100%)}.VWh0dG_roundsBarWrap{flex:1;align-items:flex-end;min-height:0;display:flex}.VWh0dG_roundsBar{background:var(--dsw-static-blue-500);border-radius:2px 2px 0 0;width:100%;min-height:2px;position:relative}.VWh0dG_roundsBarFlagged{background:var(--dsw-static-red-500);border-radius:2px 2px 0 0;width:100%;min-height:2px;position:relative}.VWh0dG_roundsFlagMark{background:var(--dsw-static-red-500);border-radius:50%;width:7px;height:7px;position:absolute;top:-3px;right:-3px}.VWh0dG_roundsAxis{color:var(--dsw-alias-label-secondary);justify-content:space-between;margin-top:6px;font-size:10px;display:flex}.VWh0dG_roundsEmpty{color:var(--dsw-alias-label-secondary);margin-top:10px;font-size:12px}.VWh0dG_heatmap{margin-top:10px}.VWh0dG_heatmapGrid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.VWh0dG_heatmapCellEmpty{background:var(--dsw-alias-bg-layer-1);height:30px;color:var(--dsw-alias-label-dimmed);font-variant-numeric:tabular-nums;border-radius:8px;justify-content:center;align-items:center;font-size:11px;display:flex}.VWh0dG_heatmapCell{font-variant-numeric:tabular-nums;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;height:30px;padding:0;font-size:11px;display:flex}.VWh0dG_heatmapCell[data-level=\"0\"],.VWh0dG_heatmapCell[data-level=\"1\"],.VWh0dG_heatmapCell[data-level=\"2\"]{color:var(--dsw-alias-label-primary)}.VWh0dG_heatmapCell[data-level=\"3\"],.VWh0dG_heatmapCell[data-level=\"4\"]{color:var(--dsw-static-neutral-bluish-00)}.VWh0dG_heatmapFooter{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;margin-top:10px;font-size:10px;display:flex}.VWh0dG_heatmapLegend{gap:3px;display:inline-flex}.VWh0dG_heatmapLegend i{border-radius:4px;width:14px;height:14px;display:block}.VWh0dG_heatmapHover{font-variant-numeric:tabular-nums;margin-left:auto}.VWh0dG_heatmapYearScroll{padding-bottom:2px;overflow-x:auto}.VWh0dG_heatmapYearGrid{grid-template-rows:repeat(7,11px);grid-auto-flow:column;gap:3px;min-width:max-content;display:grid}.VWh0dG_heatmapYearCell{cursor:pointer;border:0;border-radius:2px;width:11px;height:11px;padding:0}.VWh0dG_triggerPopSubscription{width:auto;left:0;right:0}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionCard{min-width:0}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionHead{row-gap:4px}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionWindow{flex-wrap:wrap;gap:4px 10px}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionWindowLabel{flex:none}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionMeta{min-width:0;max-width:100%}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionPct{min-width:0}.VWh0dG_triggerPopSubscription .VWh0dG_subscriptionReset{white-space:normal;overflow-wrap:anywhere}.VWh0dG_triggerPopEmpty{color:var(--dsw-alias-label-tertiary);padding:2px 0;font-size:11px;line-height:1.5}.VWh0dG_triggerPopSwitcher{justify-content:flex-end;align-items:center;gap:8px;margin-top:2px;display:flex}.VWh0dG_triggerPopSwitchBtn{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:2px 4px;font-size:14px;line-height:1}.VWh0dG_triggerPopSwitchBtn:hover{color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-alias-border-l1) 45%, transparent)}.VWh0dG_triggerPopSwitchCount{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;font-size:10px}.VWh0dG_floatModeRow{gap:8px;margin-bottom:8px;display:flex}.VWh0dG_floatModeBtn{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 75%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 60%, transparent);color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:10px;flex:1;padding:7px 10px;font-size:12px}.VWh0dG_floatModeBtnOn{border-color:var(--dsw-static-blue-500);color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-static-blue-500) 16%, transparent)}.VWh0dG_floatTargets{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.VWh0dG_floatTarget{color:var(--dsw-alias-label-secondary);cursor:pointer;align-items:center;gap:5px;font-size:12px;display:inline-flex}.VWh0dG_floatTargetLabel{color:var(--dsw-alias-label-secondary)}.VWh0dG_pluginInfo{flex-direction:column;gap:8px;margin-top:10px;display:flex}.VWh0dG_pluginInfoRow{align-items:baseline;gap:12px;font-size:12px;display:flex}.VWh0dG_pluginInfoLabel{color:var(--dsw-alias-label-secondary);flex:0 0 72px}.VWh0dG_pluginInfoValue{color:var(--dsw-alias-label-primary);word-break:break-all}.VWh0dG_pluginInfoLink{color:var(--dsw-static-blue-500);word-break:break-all;text-decoration:none}.VWh0dG_pluginInfoLink:hover{text-decoration:underline}.VWh0dG_tokenPanel{flex-direction:column;gap:14px;display:flex}.VWh0dG_tokenModelBar{background:var(--dsw-alias-bg-layer-2);border-radius:999px;height:8px;overflow:hidden}.VWh0dG_tokenModelParts{height:100%;display:flex}.VWh0dG_tokenModelPartIn{background:var(--dsw-static-blue-500)}.VWh0dG_tokenModelPartOut{background:var(--dsw-static-amber-500)}.VWh0dG_tokenModelShareRow{align-items:center;gap:6px;display:inline-flex}@media (width<=640px){.VWh0dG_kpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.VWh0dG_hero{gap:14px}.VWh0dG_heroTop{flex-direction:column;align-items:flex-start;gap:12px}.VWh0dG_heroGauge{width:72px;height:72px}.VWh0dG_heroSide{gap:12px}.VWh0dG_heroSideSpacer{display:none}}.VWh0dG_peakAlert{z-index:2000;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:12px;align-items:center;gap:12px;min-width:300px;max-width:460px;padding:10px 12px;animation:.2s VWh0dG_peakAlertIn;display:flex;position:fixed;box-shadow:0 4px 16px #00000014}.VWh0dG_peakAlertCorner{bottom:18px;right:18px}.VWh0dG_peakAlertCenter{top:20%;left:50%;transform:translate(-50%)}.VWh0dG_peakAlertTag{letter-spacing:.01em;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-3);white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;padding:3px 9px;font-size:11px;font-weight:650;display:inline-flex}.VWh0dG_peakAlertTag:before{content:\"\";background:currentColor;border-radius:50%;width:6px;height:6px}.VWh0dG_peakAlertPeak .VWh0dG_peakAlertTag{color:var(--dsw-static-amber-500)}.VWh0dG_peakAlertOff .VWh0dG_peakAlertTag{color:var(--dsw-static-blue-500)}.VWh0dG_peakAlertCountdown{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);flex:none;font-size:18px;font-weight:700;line-height:1}.VWh0dG_peakAlertText{min-width:0;color:var(--dsw-alias-label-secondary);flex:1;font-size:12px;line-height:18px}.VWh0dG_peakAlertClose{width:20px;height:20px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;font-size:15px;line-height:1;transition:background-color .14s,color .14s;display:inline-flex}.VWh0dG_peakAlertClose:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-2)}@keyframes VWh0dG_peakAlertIn{0%{opacity:0}to{opacity:1}}.VWh0dG_peakAlertPanel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:16px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.VWh0dG_peakAlertPanelHead{justify-content:space-between;align-items:center;gap:10px;display:flex}.VWh0dG_peakAlertPanelLabel{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600}.VWh0dG_peakAlertPanelBody{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.VWh0dG_peakAlertField{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:12px;display:inline-flex}.VWh0dG_peakAlertNum{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:56px;color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;border-radius:6px;padding:4px 6px}.VWh0dG_peakAlertSelect{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);border-radius:6px;padding:4px 6px;font-size:12px}.VWh0dG_peakAlertCheck{color:var(--dsw-alias-label-secondary);align-items:center;gap:6px;font-size:12px;display:inline-flex}.VWh0dG_peakAlertPreview{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);cursor:pointer;border-radius:6px;padding:5px 10px;font-size:12px}.VWh0dG_peakAlertPreview:hover{background:var(--dsw-alias-bg-layer-3)}.VWh0dG_settingsHead{flex-direction:column;gap:4px;margin-bottom:2px;display:flex}.VWh0dG_settingsTitle{letter-spacing:-.005em;color:var(--dsw-alias-label-primary);margin:0;font-size:15px;font-weight:650;line-height:22px}.VWh0dG_settingsHint{color:var(--dsw-alias-label-caption);margin:0;font-size:11px;line-height:16px}.VWh0dG_budgetHint,.VWh0dG_peakAlertHint{color:var(--dsw-alias-label-caption);margin:6px 0 0;font-size:11px;line-height:16px}";
56
+ const css = ".VWh0dG_railButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:36px;height:36px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;transition:border-color .16s,color .16s;display:flex}.VWh0dG_railButton:hover,.VWh0dG_railButton:focus-visible{border-color:var(--dsw-static-blue-500);color:var(--dsw-static-blue-500);outline:none}.VWh0dG_railButton svg{stroke-width:2px;width:18px;height:18px}.VWh0dG_trigger{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 82%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 78%, transparent);-webkit-backdrop-filter:blur(10px)saturate(1.2);width:100%;min-width:0;box-shadow:inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 7%, transparent);color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border-radius:14px;align-items:center;gap:10px;padding:9px 12px;transition:border-color .16s,transform .16s,box-shadow .16s;display:flex;position:relative;overflow:hidden}.VWh0dG_trigger:hover,.VWh0dG_trigger:focus-visible{border-color:var(--dsw-static-blue-500);box-shadow:inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 10%, transparent), 0 6px 18px -6px color-mix(in srgb, var(--dsw-static-blue-500) 45%, transparent);outline:none;transform:translateY(-1px)}.VWh0dG_triggerIcon{background:linear-gradient(135deg, var(--dsw-static-blue-500), var(--dsw-static-blue-400));width:30px;height:30px;color:var(--dsw-static-neutral-bluish-00);box-shadow:0 3px 10px -3px color-mix(in srgb, var(--dsw-static-blue-500) 60%, transparent), inset 0 1px 0 color-mix(in srgb, var(--dsw-static-neutral-bluish-00) 22%, transparent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.VWh0dG_triggerIcon svg{stroke-width:2px;width:16px;height:16px}.VWh0dG_triggerBody{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.VWh0dG_triggerRow{align-items:baseline;gap:5px;min-width:0;display:inline-flex}.VWh0dG_triggerAmount{color:var(--dsw-alias-label-primary);letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:17px;font-weight:700;line-height:21px;overflow:hidden}.VWh0dG_triggerSub{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:14px;overflow:hidden}.VWh0dG_triggerMeta{color:var(--dsw-alias-label-tertiary);white-space:nowrap;letter-spacing:.02em;text-transform:uppercase;text-overflow:ellipsis;min-width:0;font-size:9.5px;font-weight:600;line-height:12px;overflow:hidden}.VWh0dG_triggerSpark{flex:none;align-items:flex-end;gap:2px;height:20px;display:flex}.VWh0dG_triggerSparkBar,.VWh0dG_triggerSparkHot{background:var(--dsw-static-blue-500);opacity:.6;border-radius:1px 1px 0 0;width:3px}.VWh0dG_triggerSparkHot{opacity:1}.VWh0dG_triggerWrap{flex:auto;width:100%;min-width:0;display:block;position:relative;container:VWh0dG_billing-trigger/inline-size}@container VWh0dG_billing-trigger (width<=280px){.VWh0dG_trigger{gap:6px;padding:8px 10px}.VWh0dG_triggerSpark{display:none}}@container VWh0dG_billing-trigger (width<=230px){.VWh0dG_triggerSub{display:none}.VWh0dG_triggerMeta{letter-spacing:0}}@container VWh0dG_billing-trigger (width<=120px){.VWh0dG_triggerIcon,.VWh0dG_triggerSpark,.VWh0dG_triggerSub,.VWh0dG_triggerMeta{display:none}.VWh0dG_trigger{justify-content:center;padding:8px 6px}}.VWh0dG_triggerPop{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 80%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 72%, transparent);-webkit-backdrop-filter:blur(14px)saturate(1.3);box-shadow:0 12px 32px #00000029, inset 0 1px 0 color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent);opacity:0;pointer-events:none;z-index:10;border-radius:14px;flex-direction:column;gap:5px;padding:10px 12px;transition:opacity .16s,transform .16s;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:hidden;transform:translateY(4px)}.VWh0dG_triggerPop:before{content:\"\";background:linear-gradient(90deg, transparent 0%, var(--dsw-static-amber-500) 30%, var(--dsw-alias-label-primary) 50%, var(--dsw-static-amber-500) 70%, transparent 100%);opacity:.9;pointer-events:none;background-size:200% 100%;height:1.5px;animation:4s ease-in-out infinite VWh0dG_subscriptionGoldFlow;position:absolute;top:0;left:0;right:0}.VWh0dG_triggerWrap:hover .VWh0dG_triggerPop,.VWh0dG_triggerWrap:focus-within .VWh0dG_triggerPop{opacity:1;transform:translateY(0)}.VWh0dG_triggerPopRow{white-space:nowrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.VWh0dG_triggerPopLabel{letter-spacing:.01em;color:var(--dsw-alias-label-tertiary);white-space:nowrap;flex:none;font-size:10.5px;line-height:16px}.VWh0dG_triggerPopValue{min-width:0;color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;justify-content:flex-end;align-items:baseline;gap:8px;font-size:12.5px;font-weight:600;line-height:17px;display:inline-flex}.VWh0dG_triggerPopName{text-overflow:ellipsis;white-space:nowrap;max-width:110px;color:var(--dsw-alias-label-secondary);font-size:12px;font-weight:500;overflow:hidden}.VWh0dG_triggerPopTitle{color:var(--dsw-alias-label-primary);white-space:nowrap;align-items:baseline;gap:8px;font-size:12px;font-weight:700;display:flex}.VWh0dG_triggerPopTitleMonth{color:var(--dsw-alias-label-tertiary);font-size:11px;font-weight:500}.VWh0dG_triggerPopStrong{color:var(--dsw-alias-label-primary);margin-left:8px;font-size:12.5px;font-weight:700}.VWh0dG_triggerPopAlert{color:var(--dsw-static-red-500);white-space:nowrap;font-size:11px;line-height:16px}.VWh0dG_triggerPopValueStack{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.VWh0dG_triggerPopMuted{color:var(--dsw-alias-label-tertiary);font-weight:500}.VWh0dG_triggerPopHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_triggerPopUpdated{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:10px}.VWh0dG_triggerPopMetrics{grid-template-columns:1fr 1fr;gap:7px 12px;display:grid}.VWh0dG_triggerPopMetric{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.VWh0dG_triggerPopMetricLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:10px}.VWh0dG_triggerPopMetricValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:700;line-height:18px}.VWh0dG_triggerPopMetricHighlight{color:var(--dsw-static-amber-500)}.VWh0dG_triggerPopFoot{border-top:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 70%, transparent);flex-direction:column;gap:4px;padding-top:6px;display:flex}.VWh0dG_triggerPopFootTitle{text-align:center;letter-spacing:.05em;color:var(--dsw-alias-label-tertiary);border-bottom:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 70%, transparent);padding-bottom:4px;font-size:10px;font-weight:600}.VWh0dG_triggerPopFootNotes{flex-direction:column;gap:1px;min-width:0;display:flex}.VWh0dG_triggerPopFootNote{align-items:baseline;gap:4px;min-width:0;display:flex}.VWh0dG_triggerPopFootName{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.VWh0dG_triggerPopBadge{white-space:nowrap;border-radius:5px;flex:none;padding:1px 6px;font-size:9.5px;font-weight:600;line-height:14px}.VWh0dG_triggerPopBadgeDirect{background:color-mix(in srgb, var(--dsw-alias-label-primary) 12%, transparent);color:var(--dsw-alias-label-primary)}.VWh0dG_triggerPopBadgeSub{background:color-mix(in srgb, var(--dsw-static-amber-500) 18%, transparent);color:var(--dsw-static-amber-500)}.VWh0dG_triggerPopFootStrong{color:var(--dsw-alias-label-secondary);font-weight:600}.VWh0dG_triggerPopFootStatus{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:700;line-height:18px}.VWh0dG_triggerPopFootStatusLow{color:var(--dsw-static-red-500)}.VWh0dG_triggerPopOpenBtn{pointer-events:auto;border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 80%, transparent);color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-alias-bg-layer-3) 70%, transparent);cursor:pointer;border-radius:999px;flex:none;padding:5px 11px;font-size:11px;font-weight:600;transition:border-color .16s,background-color .16s}.VWh0dG_triggerPopOpenBtn:hover{border-color:var(--dsw-static-blue-500);background:color-mix(in srgb, var(--dsw-static-blue-500) 12%, var(--dsw-alias-bg-layer-3))}.VWh0dG_triggerPopBars{border-top:1px solid var(--dsw-alias-border-l1);align-items:flex-end;gap:4px;height:22px;margin-top:4px;padding-top:8px;display:flex}.VWh0dG_triggerPopBar{background:var(--dsw-static-blue-500);border-radius:2px;flex:1;transition:height .2s}.VWh0dG_dashboardModal{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);width:min(760px,100vw - 48px);max-height:min(760px,88vh);box-shadow:var(--dsw-shadow-lv3);animation:.18s ease-out VWh0dG_dashboardIn}@keyframes VWh0dG_dashboardIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:none}}div[role=presentation]:has(>.dsh-billing-modal)>div[aria-hidden=true]:first-child{backdrop-filter:blur(8px)saturate(1.25)}.VWh0dG_dashboard{flex-direction:column;width:100%;max-height:min(760px,88vh);display:flex}.VWh0dG_dashboardHead{border-bottom:1px solid var(--dsw-alias-border-l1);justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 14px;display:flex}.VWh0dG_dashboardTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:17px;font-weight:600;line-height:24px}.VWh0dG_dashboardSubtitle{color:var(--dsw-alias-label-caption);margin:3px 0 0;font-size:12px;line-height:17px}.VWh0dG_closeButton{width:30px;height:30px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;transition:background-color .14s;display:inline-flex}.VWh0dG_closeButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.VWh0dG_closeButton svg{stroke-width:2px;width:16px;height:16px}.VWh0dG_dashboardBody{flex-direction:column;gap:14px;padding:16px 24px 24px;display:flex;overflow-y:auto}.VWh0dG_tabNav{border-bottom:1px solid var(--dsw-alias-border-l1);align-items:center;gap:4px;padding:10px 24px;display:flex}.VWh0dG_tabButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;padding:5px 14px;font-size:12.5px;font-weight:500;line-height:18px;transition:background-color .16s,color .16s,box-shadow .16s}.VWh0dG_tabButton:hover,.VWh0dG_tabButton:focus-visible{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-interactive-bg-hover);outline:none}.VWh0dG_tabButtonActive,.VWh0dG_tabButtonActive:hover,.VWh0dG_tabButtonActive:focus-visible{background:var(--dsw-static-blue-500);color:var(--dsw-static-neutral-bluish-00);font-weight:600}.VWh0dG_tabPanel{flex-direction:column;gap:14px;animation:.14s ease-out VWh0dG_tabPanelIn;display:flex}@keyframes VWh0dG_tabPanelIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.VWh0dG_hero{border:1px solid var(--dsw-alias-border-l1);background:linear-gradient(180deg, var(--dsw-alias-bg-layer-2), var(--dsw-alias-bg-layer-1));box-shadow:inset 0 1px 0 color-mix(in srgb, var(--dsw-static-neutral-bluish-00) 30%, transparent);border-radius:16px;flex-direction:column;gap:18px;padding:22px 24px;display:flex;position:relative;overflow:hidden}.VWh0dG_heroTop{justify-content:space-between;align-items:center;gap:24px;display:flex}.VWh0dG_heroMain{flex-direction:column;gap:2px;min-width:0;display:flex}.VWh0dG_heroLabel{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;font-size:11px;line-height:16px}.VWh0dG_heroReadout{align-items:baseline;gap:4px;display:flex}.VWh0dG_heroCurrency{letter-spacing:-.01em;color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;font-size:20px;font-weight:600;line-height:30px}.VWh0dG_heroValue{letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--dsw-alias-label-primary);font-size:56px;font-weight:700;line-height:64px}.VWh0dG_heroMeta{color:var(--dsw-alias-label-caption);white-space:nowrap;margin-top:4px;font-size:12px;line-height:17px}.VWh0dG_heroGauge{flex:none;width:96px;height:96px;position:relative}.VWh0dG_heroGaugeSvg{width:100%;height:100%;display:block;transform:rotate(-90deg)}.VWh0dG_heroGaugeTrack{fill:none;stroke:var(--dsw-alias-bg-module-platform);stroke-width:9px}.VWh0dG_heroGaugeArc{fill:none;stroke:var(--dsw-static-blue-500);stroke-width:9px;stroke-linecap:round;transition:stroke-dasharray .26s}.VWh0dG_heroGaugeArcOver{stroke:var(--dsw-static-red-500)}.VWh0dG_heroGaugeCenter{flex-direction:column;justify-content:center;align-items:center;gap:1px;display:flex;position:absolute;inset:0}.VWh0dG_heroGaugePct{letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);font-size:18px;font-weight:700;line-height:22px}.VWh0dG_heroGaugePctOver{color:var(--dsw-static-red-500)}.VWh0dG_heroGaugeLabel{color:var(--dsw-alias-label-tertiary);font-size:10px;line-height:14px}.VWh0dG_heroSide{border-top:1px solid var(--dsw-alias-border-l1);align-items:stretch;padding-top:14px;display:flex}.VWh0dG_heroSideItem{flex-direction:column;flex:1;gap:3px;min-width:0;padding-left:16px;display:flex}.VWh0dG_heroSideItem:first-child{padding-left:0}.VWh0dG_heroSideLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:15px}.VWh0dG_heroSideValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap;align-items:baseline;gap:6px;font-size:18px;font-weight:600;line-height:24px;display:inline-flex}.VWh0dG_heroSideSpacer{flex:1;display:block}.VWh0dG_delta{align-items:center;gap:2px;margin-left:4px;font-size:11px;font-weight:600;line-height:17px;display:inline-flex}.VWh0dG_deltaUp{color:var(--dsw-static-green-500)}.VWh0dG_deltaDown{color:var(--dsw-static-red-500)}.VWh0dG_unpricedHint{border:1px solid color-mix(in srgb, var(--dsw-static-amber-500) 30%, transparent);background:color-mix(in srgb, var(--dsw-static-amber-500) 8%, transparent);color:var(--dsw-static-amber-500);border-radius:8px;align-items:center;padding:8px 12px;font-size:11.5px;font-weight:500;line-height:17px;display:flex}.VWh0dG_kpiGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.VWh0dG_kpiTile{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:14px;flex-direction:column;gap:3px;padding:14px 15px;transition:border-color .16s;display:flex;position:relative;overflow:hidden}.VWh0dG_kpiTile:hover{border-color:var(--dsw-alias-border-l2)}.VWh0dG_kpiLabel{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:15px}.VWh0dG_kpiValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:22px;font-weight:600;line-height:28px}.VWh0dG_kpiGreen{color:var(--dsw-static-green-500)}.VWh0dG_kpiDetail{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:15px;overflow:hidden}.VWh0dG_panel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:16px;flex-direction:column;gap:10px;padding:16px 18px;transition:border-color .16s;display:flex}.VWh0dG_panelHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_panelTitle{letter-spacing:-.005em;color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:600;line-height:20px}.VWh0dG_panelHint{color:var(--dsw-alias-label-caption);white-space:nowrap;font-size:11px;line-height:16px}.VWh0dG_pricingTip{color:var(--dsw-alias-label-caption);margin:0 0 2px;font-size:11px;line-height:16px}.VWh0dG_rangeToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.VWh0dG_rangeButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:2px 8px;font-size:11px;line-height:16px;transition:background-color .14s,color .14s}.VWh0dG_rangeButtonActive{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);font-weight:600}.VWh0dG_exportBar{justify-content:flex-end;align-items:center;gap:8px;display:flex}.VWh0dG_exportLabel{color:var(--dsw-alias-label-caption);font-size:11px;line-height:16px}.VWh0dG_exportButton{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:999px;padding:4px 12px;font-size:11.5px;line-height:16px;transition:border-color .16s,color .16s,background-color .16s}.VWh0dG_exportButton:hover,.VWh0dG_exportButton:focus-visible{border-color:var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);outline:none}.VWh0dG_shareTrack{background:var(--dsw-alias-bg-module-platform);border-radius:999px;height:10px;display:flex;overflow:hidden}.VWh0dG_shareSeg{height:100%;transition:width .2s}.VWh0dG_shareSegPeak{background:var(--dsw-static-blue-500)}.VWh0dG_shareSegOff{background:color-mix(in srgb, var(--dsw-static-blue-500) 25%, var(--dsw-alias-bg-module-platform))}.VWh0dG_shareSegUser{background:var(--dsw-static-blue-500)}.VWh0dG_shareSegAssistant{background:var(--dsw-static-green-500)}.VWh0dG_shareSegTool{background:var(--dsw-static-amber-500)}.VWh0dG_shareLegend{align-items:center;gap:16px;display:flex}.VWh0dG_shareItem{color:var(--dsw-alias-label-secondary);align-items:baseline;gap:6px;font-size:12px;line-height:17px;display:inline-flex}.VWh0dG_bucketCost{align-items:baseline;gap:3px;display:inline-flex}.VWh0dG_bucketOfficial{color:var(--dsw-static-blue-500);font-weight:600}.VWh0dG_bucketSep{color:var(--dsw-alias-label-dimmed)}.VWh0dG_bucketThird{color:var(--dsw-alias-label-secondary)}.VWh0dG_bucketSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.VWh0dG_bucketStat{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);border-radius:12px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.VWh0dG_bucketStatLabel{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;letter-spacing:.05em;font-size:11px;line-height:15px}.VWh0dG_bucketStatValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:20px;font-weight:700;line-height:26px}.VWh0dG_bucketStatSub{color:var(--dsw-alias-label-caption);font-variant-numeric:tabular-nums;font-size:11px;line-height:16px}.VWh0dG_shareDot{border-radius:50%;flex:none;align-self:center;width:8px;height:8px}.VWh0dG_shareValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-weight:600}.VWh0dG_budget{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:14px;flex-direction:column;gap:8px;padding:12px 16px;display:flex}.VWh0dG_budgetHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_budgetLabel{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:17px}.VWh0dG_budgetValue{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_budgetControls{align-items:center;gap:8px;min-width:0;display:inline-flex}.VWh0dG_budgetInputWrap{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:6px;align-items:center;gap:2px;padding:2px 6px;display:inline-flex}.VWh0dG_budgetInputWrap:focus-within{border-color:var(--dsw-alias-border-l3)}.VWh0dG_budgetUnit{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:16px}.VWh0dG_budgetInput{width:64px;color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:none;padding:0;font-size:12px;line-height:16px}.VWh0dG_budgetInput:focus-visible{outline:none}.VWh0dG_switch{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-module-platform);cursor:pointer;border-radius:999px;flex:none;width:30px;height:17px;padding:0;transition:background-color .16s,border-color .16s;position:relative}.VWh0dG_switchOn{border-color:var(--dsw-alias-border-l1);background:var(--dsw-alias-label-primary)}.VWh0dG_switchKnob{background:var(--dsw-static-neutral-bluish-00);border-radius:50%;width:11px;height:11px;transition:transform .16s;position:absolute;top:2px;left:2px}.VWh0dG_switchOn .VWh0dG_switchKnob{transform:translate(13px)}.VWh0dG_budgetTrack{background:var(--dsw-alias-bg-module-platform);border-radius:999px;height:6px;overflow:hidden}.VWh0dG_budgetFill{background:var(--dsw-static-blue-500);border-radius:999px;height:100%;transition:width .2s}.VWh0dG_budgetFillWarn{background:var(--dsw-static-amber-500)}.VWh0dG_budgetFillOver{background:var(--dsw-static-red-500);animation:1.6s ease-in-out infinite VWh0dG_budgetOverPulse}@keyframes VWh0dG_budgetOverPulse{50%{opacity:.55}}.VWh0dG_chartWrap{width:100%;position:relative}.VWh0dG_chartSvg{width:100%;height:auto;display:block}.VWh0dG_chartEmpty{height:140px;color:var(--dsw-alias-label-caption);justify-content:center;align-items:center;font-size:13px;display:flex}.VWh0dG_emptyRow{text-align:center;color:var(--dsw-alias-label-caption);padding:28px 0;font-size:13px}.VWh0dG_chartGrid{stroke:var(--dsw-alias-border-l1);stroke-width:1px}.VWh0dG_chartAxisLabel{fill:var(--dsw-alias-label-tertiary);font-size:10px}.VWh0dG_chartBar{fill:var(--dsw-static-blue-500);opacity:.7}.VWh0dG_chartBar:hover{opacity:1}.VWh0dG_chartStack{stroke:var(--dsw-alias-bg-layer-1);stroke-width:.75px}.VWh0dG_chartStack:hover{opacity:.9}.VWh0dG_chartLine{stroke:var(--dsw-static-blue-500);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.VWh0dG_chartCrosshair{stroke:var(--dsw-alias-label-dimmed);stroke-width:1px;stroke-dasharray:3 3}.VWh0dG_chartDot{fill:var(--dsw-static-neutral-bluish-00);stroke:var(--dsw-static-blue-500);stroke-width:2px}.VWh0dG_chartTooltip{pointer-events:none;z-index:2;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);box-shadow:none;white-space:nowrap;border-radius:8px;padding:8px 10px;position:absolute;transform:translate(-50%,calc(-100% - 10px))}.VWh0dG_chartTooltipDate{color:var(--dsw-alias-label-primary);margin-bottom:3px;font-size:11px;font-weight:600}.VWh0dG_chartTooltipRow{color:var(--dsw-alias-label-secondary);align-items:center;gap:5px;font-size:11px;line-height:17px;display:flex}.VWh0dG_chartTooltipRow strong{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-weight:600}.VWh0dG_chartBarPlaceholder{fill:color-mix(in srgb, var(--dsw-alias-label-secondary) 30%, transparent)}.VWh0dG_chartLegendLine{background:var(--dsw-static-blue-500);border-radius:2px;width:10px;height:3px;display:inline-block}.VWh0dG_chartLegendBar{background:var(--dsw-static-blue-500);opacity:.5;border-radius:2px;width:7px;height:7px;display:inline-block}.VWh0dG_chartTooltipSwatch{border-radius:3px;flex:none;width:8px;height:8px;display:inline-block}.VWh0dG_chartLegend{color:var(--dsw-alias-label-tertiary);justify-content:flex-end;gap:14px;margin-top:2px;font-size:11px;display:flex}.VWh0dG_chartLegend span{align-items:center;gap:5px;display:inline-flex}.VWh0dG_tableScroll{border:1px solid var(--dsw-alias-border-l1);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border-radius:12px;overflow:auto}.VWh0dG_modelTable,.VWh0dG_pricingTable{border-collapse:collapse;width:100%;font-size:12.5px}.VWh0dG_modelTable th,.VWh0dG_modelTable td,.VWh0dG_pricingTable th,.VWh0dG_pricingTable td{border-bottom:1px solid var(--dsw-alias-border-l1);text-align:left;white-space:nowrap;padding:9px 12px}.VWh0dG_modelTable tbody tr:last-child td,.VWh0dG_pricingTable tbody tr:last-child td{border-bottom:0}.VWh0dG_modelTable thead th,.VWh0dG_pricingTable thead th{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;letter-spacing:.05em;background:0 0;font-size:11px;font-weight:600}.VWh0dG_modelTable tbody tr,.VWh0dG_pricingTable tbody tr{transition:background-color .12s}.VWh0dG_modelTable tbody tr:hover,.VWh0dG_pricingTable tbody tr:hover{background:0 0}.VWh0dG_numCol{text-align:right;font-variant-numeric:tabular-nums}.VWh0dG_costCol{color:var(--dsw-alias-label-primary);font-weight:600}.VWh0dG_na{color:var(--dsw-alias-label-dimmed)}.VWh0dG_modelCell{align-items:center;gap:8px;display:inline-flex}.VWh0dG_modelDot{border-radius:50%;flex:none;width:9px;height:9px}.VWh0dG_modelName{color:var(--dsw-alias-label-primary);font-weight:500;line-height:16px;display:block}.VWh0dG_modelProvider{color:var(--dsw-alias-label-caption);font-size:10.5px;line-height:14px;display:block}.VWh0dG_pricingToggle{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:0;display:flex}.VWh0dG_pricingToggle:hover .VWh0dG_panelTitle,.VWh0dG_pricingToggle:focus-visible .VWh0dG_panelTitle{color:var(--dsw-alias-label-primary)}.VWh0dG_rateBadge{vertical-align:1px;white-space:nowrap;border-radius:999px;align-items:center;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:500;line-height:14px;display:inline-flex}.VWh0dG_rateBadgeLive{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_siteRow{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.VWh0dG_siteRowName{align-items:center;gap:8px;min-width:0;display:inline-flex}.VWh0dG_siteKindTag{white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:1px 7px;font-size:10.5px;font-weight:600;line-height:16px;display:inline-flex}.VWh0dG_siteKindSite{color:var(--dsw-static-blue-500);background:color-mix(in srgb, var(--dsw-static-blue-500) 14%, transparent)}.VWh0dG_siteKindDirect{color:var(--dsw-static-green-500);background:color-mix(in srgb, var(--dsw-static-green-500) 14%, transparent)}.VWh0dG_siteKindUnknown{color:var(--dsw-static-red-500);background:color-mix(in srgb, var(--dsw-static-red-500) 14%, transparent)}.VWh0dG_siteRowTitle{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;line-height:18px;overflow:hidden}.VWh0dG_siteRowMeta{flex:none;align-items:center;gap:10px;display:inline-flex}.VWh0dG_siteRowCost{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:700;line-height:18px}.VWh0dG_siteRowCalls{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;font-size:11.5px;line-height:17px}.VWh0dG_siteRowCallsLow{color:var(--dsw-static-red-500)}.VWh0dG_rateBadgeBuiltin{color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_pricingToggleText{align-items:baseline;gap:10px;min-width:0;display:flex}.VWh0dG_pricingChevron{width:16px;height:16px;color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s}.VWh0dG_pricingChevronOpen{transform:rotate(180deg)}.VWh0dG_bandPrice{align-items:baseline;gap:6px;display:inline-flex}.VWh0dG_bandPriceOff{color:var(--dsw-alias-label-caption)}.VWh0dG_bandPriceOff:before{content:\"/\";color:var(--dsw-alias-label-dimmed);margin-right:4px}.VWh0dG_bandTag{color:var(--dsw-alias-label-secondary);flex-direction:column;gap:1px;font-size:10.5px;line-height:14px;display:inline-flex}.VWh0dG_bandTagOff{color:var(--dsw-static-green-500);font-weight:600}.VWh0dG_bandTag>span:first-child{color:var(--dsw-alias-label-primary);font-weight:500}.VWh0dG_flatTag{color:var(--dsw-alias-label-caption);font-size:10.5px;line-height:14px}.VWh0dG_healthDot{border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.VWh0dG_healthOk{background:var(--dsw-static-green-500)}.VWh0dG_healthBad{background:var(--dsw-static-red-500)}.VWh0dG_healthIdle{background:var(--dsw-static-neutral-bluish-400)}.VWh0dG_dashboardRight{align-items:center;gap:8px;min-width:0;display:flex}.VWh0dG_healthBadge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:3px 9px;font-size:11px;line-height:16px;display:inline-flex}.VWh0dG_healthBadgeOk{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_healthBadgeBad{color:var(--dsw-static-red-500);background:var(--dsw-alias-bg-layer-2)}.VWh0dG_planTag{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;align-items:center;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;display:inline-flex}.VWh0dG_uncataloguedTag{vertical-align:1px;color:var(--dsw-static-amber-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;margin-left:6px;padding:0 6px;font-size:10px;font-weight:600;line-height:16px;display:inline-block}.VWh0dG_estimatedTag{vertical-align:1px;color:var(--dsw-static-blue-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;margin-left:6px;padding:0 6px;font-size:10px;font-weight:600;line-height:16px;display:inline-block}.VWh0dG_liveCostBar{color:var(--dsw-static-neutral-400);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:11px;line-height:16px;display:inline-flex}.VWh0dG_liveCostItem{white-space:nowrap}.VWh0dG_liveCostSep{color:var(--dsw-static-neutral-300)}.VWh0dG_liveTierPeak{color:var(--dsw-static-blue-500);font-weight:600}.VWh0dG_liveTierOff{color:var(--dsw-static-green-500);font-weight:600}.VWh0dG_liveQuotaWarn{color:var(--dsw-static-amber-500);font-weight:600}.VWh0dG_liveQuotaCrit{color:var(--dsw-static-red-500);font-weight:600}.VWh0dG_balanceCell{align-items:center;gap:6px;display:inline-flex;position:relative}.VWh0dG_balanceDays{color:var(--dsw-alias-label-caption);white-space:nowrap;font-size:10.5px;line-height:14px}.VWh0dG_balanceDaysLow{color:var(--dsw-static-red-500);font-weight:600}.VWh0dG_balanceDaysBadge{border:1px solid var(--dsw-alias-label-caption);background:color-mix(in srgb, var(--dsw-alias-label-caption) 10%, transparent);min-width:24px;height:24px;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:0 6px;font-size:10.5px;font-weight:600;line-height:1;display:inline-flex}.VWh0dG_balanceDaysBadge:hover{border-color:var(--dsw-alias-label-secondary);background:color-mix(in srgb, var(--dsw-alias-label-caption) 18%, transparent)}.VWh0dG_balanceDaysBadgeLow{color:var(--dsw-static-red-500);border-color:var(--dsw-static-red-500);background:color-mix(in srgb, var(--dsw-static-red-500) 10%, transparent)}.VWh0dG_balanceDetailPop{z-index:20;background:var(--dsw-alias-bg-layer-3);border:1px solid var(--dsw-alias-label-caption);white-space:nowrap;border-radius:8px;flex-direction:column;gap:6px;min-width:180px;padding:8px 10px;display:inline-flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 20px #0000002e}.VWh0dG_balanceDetailHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.VWh0dG_balanceDetailTitle{color:var(--dsw-alias-label-primary);font-size:12px;font-weight:600}.VWh0dG_balanceDetailClose{cursor:pointer;color:var(--dsw-alias-label-caption);background:0 0;border:none;font-size:14px;line-height:1}.VWh0dG_balanceDetailClose:hover{color:var(--dsw-alias-label-primary)}.VWh0dG_balanceDetailGrid{flex-direction:column;gap:4px;display:inline-flex}.VWh0dG_balanceDetailRow{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;justify-content:space-between;gap:16px;font-size:11px;line-height:15px;display:flex}.VWh0dG_balanceDetailLabel{color:var(--dsw-alias-label-caption)}.VWh0dG_balanceDetailValue{color:var(--dsw-alias-label-primary);font-weight:500}body[data-zine-mode] .VWh0dG_trigger,body[data-zine-mode] .VWh0dG_triggerPop,body[data-zine-mode] .VWh0dG_railButton{display:none}body[data-zine-mode] .VWh0dG_dashboardHead{background:#000;border-bottom:2px solid #e8ff00}body[data-zine-mode] .VWh0dG_headTitleRow{align-items:center;gap:8px;margin-top:4px;display:flex}body[data-zine-mode] .VWh0dG_dashboardTitle{color:#e8ff00;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 0 8px #e8ff0066;font-weight:900}body[data-zine-mode] .VWh0dG_dashboardSubtitle{color:#c9d98a;letter-spacing:.08em;text-transform:uppercase;font-size:10px}body[data-zine-mode] .VWh0dG_closeButton{color:#0a0a05;background:#ff2d95;border:1.5px solid #ff2d95;border-radius:0;box-shadow:0 0 10px #ff2d9573}body[data-zine-mode] .VWh0dG_hero{background:#000;border:2.5px solid #e8ff00;border-radius:0;position:relative;box-shadow:0 0 0 1px #0009,0 0 24px #e8ff002e}body[data-zine-mode] .VWh0dG_heroLabel{color:#c9d98a;letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:900}body[data-zine-mode] .VWh0dG_heroValue{color:#e8ff00;letter-spacing:-.02em;text-shadow:0 0 12px #e8ff0073;-webkit-text-fill-color:#e8ff00;background:0 0;font-size:38px;font-weight:900}body[data-zine-mode] .VWh0dG_heroMeta{color:#c9d98a;letter-spacing:.06em;text-transform:uppercase;font-size:10.5px}body[data-zine-mode] .VWh0dG_heroSideLabel{color:#c9d98a;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:900}body[data-zine-mode] .VWh0dG_heroSideValue{color:#e8ff00;text-shadow:0 0 6px #e8ff0059}body[data-zine-mode] .VWh0dG_delta{font-weight:900}body[data-zine-mode] .VWh0dG_deltaUp{color:#ff2d95}body[data-zine-mode] .VWh0dG_deltaDown{color:#c9d98a}body[data-zine-mode] .VWh0dG_tabNav{background:#000;border-bottom:2px solid #e8ff00}body[data-zine-mode] .VWh0dG_tabButton{color:#c9d98a;letter-spacing:.08em;text-transform:uppercase;border-radius:0;font-size:10.5px;font-weight:900}body[data-zine-mode] .VWh0dG_tabButton:hover,body[data-zine-mode] .VWh0dG_tabButton:focus-visible{color:#e8ff00;background:#e8ff001f}body[data-zine-mode] .VWh0dG_tabButtonActive,body[data-zine-mode] .VWh0dG_tabButtonActive:hover,body[data-zine-mode] .VWh0dG_tabButtonActive:focus-visible{color:#0a0a05;background:#e8ff00;box-shadow:0 0 10px #e8ff0073}body[data-zine-mode] .VWh0dG_panel{background:#000;border:2px solid #e8ff00;border-radius:0}body[data-zine-mode] .VWh0dG_trendPanel{position:relative}body[data-zine-mode] .VWh0dG_panelTitle{color:#e8ff00;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 0 6px #e8ff0066;font-weight:900}body[data-zine-mode] .VWh0dG_panelHint{color:#c9d98a;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:900}body[data-zine-mode] .VWh0dG_modelTableScroll{background:#000;border:1.5px solid #e8ff0080;border-radius:0}.VWh0dG_currencyToggle{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);border-radius:6px;align-items:center;gap:2px;margin-right:8px;padding:2px;display:inline-flex}.VWh0dG_currencyButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:4px 7px;font-size:11px;font-weight:700;line-height:1}.VWh0dG_currencyButtonActive{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.VWh0dG_subscriptionGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-top:10px;display:grid}.VWh0dG_subscriptionCard{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 75%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 62%, transparent);-webkit-backdrop-filter:blur(12px)saturate(1.3);border-radius:12px;padding:12px 14px;transition:border-color .2s,box-shadow .2s;position:relative;overflow:hidden;box-shadow:0 8px 24px #0000001a}.VWh0dG_subscriptionCard:before{content:\"\";background:linear-gradient(90deg, transparent 0%, var(--dsw-static-amber-500) 30%, var(--dsw-alias-label-primary) 50%, var(--dsw-static-amber-500) 70%, transparent 100%);opacity:.9;pointer-events:none;background-size:200% 100%;height:1.5px;animation:3.6s ease-in-out infinite VWh0dG_subscriptionGoldFlow;position:absolute;top:0;left:0;right:0}@keyframes VWh0dG_subscriptionGoldFlow{0%{background-position:200% 0}to{background-position:-200% 0}}.VWh0dG_subscriptionCard:hover{border-color:color-mix(in srgb, var(--dsw-static-amber-500) 55%, var(--dsw-alias-border-l1));box-shadow:0 10px 30px #00000029}.VWh0dG_subscriptionHead{flex-wrap:wrap;align-items:baseline;gap:6px;margin-bottom:8px;display:flex}.VWh0dG_subscriptionName{font-size:13px;font-weight:700}.VWh0dG_subscriptionPlan{color:var(--dsw-alias-label-secondary);font-size:11px}.VWh0dG_subscriptionPlan[data-kind=code],.VWh0dG_subscriptionPlan[data-kind=token]{color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-3);border-radius:999px;padding:1px 8px;font-weight:500}.VWh0dG_subscriptionTier{color:var(--dsw-alias-label-secondary);margin-left:6px}.VWh0dG_subscriptionAuto{color:var(--dsw-static-blue-500);background:color-mix(in srgb, var(--dsw-static-blue-500) 14%, var(--dsw-alias-bg-layer-2));border-radius:999px;margin-left:6px;padding:1px 6px;font-size:10px}.VWh0dG_subscriptionStatus{color:var(--dsw-alias-label-secondary);margin-bottom:6px;font-size:11px}.VWh0dG_subscriptionWindow{align-items:center;gap:10px;margin-top:8px;font-size:11px;display:flex}.VWh0dG_subscriptionWindowLabel{color:var(--dsw-alias-label-secondary);flex:0 0 44px}.VWh0dG_subscriptionTrack{background:var(--dsw-alias-bg-layer-3);border-radius:3px;flex:1;height:6px;overflow:hidden}.VWh0dG_subscriptionFill{background:var(--dsw-static-blue-500);border-radius:3px;height:100%;transition:width .2s;display:block}.VWh0dG_subscriptionFillWarn{background:var(--dsw-static-amber-500)}.VWh0dG_subscriptionFillOver{background:var(--dsw-static-red-500)}.VWh0dG_subscriptionMeta{flex-direction:column;flex:none;align-items:flex-end;gap:2px;display:flex}.VWh0dG_subscriptionPct{text-align:right;font-variant-numeric:tabular-nums;flex:none;min-width:52px}.VWh0dG_subscriptionExhausted{color:var(--dsw-static-red-500);min-width:52px;font-weight:600}.VWh0dG_subscriptionReset{color:var(--dsw-alias-label-caption);white-space:nowrap;flex:none;font-size:10px}.VWh0dG_providerGroupList{flex-direction:column;gap:10px;display:flex}.VWh0dG_providerGroup{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:12px;padding:12px 14px}.VWh0dG_providerGroupHead{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.VWh0dG_providerGroupTitle{align-items:center;gap:7px;min-width:0;display:inline-flex}.VWh0dG_providerGroupName{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600;line-height:18px}.VWh0dG_providerGroupMeta{flex:none;align-items:center;gap:10px;display:inline-flex}.VWh0dG_providerGroupBadge{color:var(--dsw-static-green-500);background:var(--dsw-alias-bg-layer-2);border-radius:999px;align-items:center;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;display:inline-flex}.VWh0dG_providerGroupBalance{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:baseline;gap:6px;font-size:12px;line-height:17px;display:inline-flex}.VWh0dG_providerGroupBalanceLabel{color:var(--dsw-alias-label-caption);font-size:11px;line-height:17px}.VWh0dG_roundsFlagBadge{color:var(--dsw-static-neutral-bluish-00);background:var(--dsw-static-red-500);border-radius:999px;margin-left:8px;padding:1px 7px;font-size:10px;font-weight:800}.VWh0dG_rounds{margin-top:10px}.VWh0dG_roundsBars{align-items:flex-end;gap:3px;height:124px;padding:16px 2px 0;display:flex;overflow-x:auto}.VWh0dG_roundsBarCol{border-radius:5px 5px 0 0;flex-direction:column;flex:1 0 28px;justify-content:flex-end;align-items:stretch;height:100%;display:flex;position:relative}.VWh0dG_roundsBarColPeak{background:color-mix(in srgb, var(--dsw-static-amber-500) 16%, transparent)}.VWh0dG_roundsBarColOff{background:var(--dsw-alias-bg-module-platform)}.VWh0dG_roundsBarLabel{text-align:center;color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:9px;line-height:1.2;position:absolute;bottom:0;left:0;right:0;overflow:hidden;transform:translateY(-100%)}.VWh0dG_roundsBarWrap{flex:1;align-items:flex-end;min-height:0;display:flex}.VWh0dG_roundsBar{background:var(--dsw-static-blue-500);border-radius:2px 2px 0 0;width:100%;min-height:2px;position:relative}.VWh0dG_roundsBarFlagged{background:var(--dsw-static-red-500);border-radius:2px 2px 0 0;width:100%;min-height:2px;position:relative}.VWh0dG_roundsFlagMark{background:var(--dsw-static-red-500);border-radius:50%;width:7px;height:7px;position:absolute;top:-3px;right:-3px}.VWh0dG_roundsAxis{color:var(--dsw-alias-label-secondary);justify-content:space-between;margin-top:6px;font-size:10px;display:flex}.VWh0dG_roundsEmpty{color:var(--dsw-alias-label-secondary);margin-top:10px;font-size:12px}.VWh0dG_heatmap{margin-top:10px}.VWh0dG_heatmapGrid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.VWh0dG_heatmapCellEmpty{background:var(--dsw-alias-bg-layer-1);height:30px;color:var(--dsw-alias-label-dimmed);font-variant-numeric:tabular-nums;border-radius:8px;justify-content:center;align-items:center;font-size:11px;display:flex}.VWh0dG_heatmapCell{font-variant-numeric:tabular-nums;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;height:30px;padding:0;font-size:11px;display:flex}.VWh0dG_heatmapCell[data-level=\"0\"],.VWh0dG_heatmapCell[data-level=\"1\"],.VWh0dG_heatmapCell[data-level=\"2\"]{color:var(--dsw-alias-label-primary)}.VWh0dG_heatmapCell[data-level=\"3\"],.VWh0dG_heatmapCell[data-level=\"4\"]{color:var(--dsw-static-neutral-bluish-00)}.VWh0dG_heatmapFooter{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;margin-top:10px;font-size:10px;display:flex}.VWh0dG_heatmapLegend{gap:3px;display:inline-flex}.VWh0dG_heatmapLegend i{border-radius:4px;width:14px;height:14px;display:block}.VWh0dG_heatmapHover{font-variant-numeric:tabular-nums;margin-left:auto}.VWh0dG_heatmapYearScroll{padding-bottom:2px;overflow-x:auto}.VWh0dG_heatmapYearGrid{grid-template-rows:repeat(7,11px);grid-auto-flow:column;gap:3px;min-width:max-content;display:grid}.VWh0dG_heatmapYearCell{cursor:pointer;border:0;border-radius:2px;width:11px;height:11px;padding:0}.VWh0dG_triggerPopSubscription{width:auto;left:0;right:0}.VWh0dG_floatSub{flex-direction:column;gap:6px;min-width:0;display:flex}.VWh0dG_floatSubHead{flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex}.VWh0dG_floatSubName{color:var(--dsw-alias-label-primary);font-size:12px;font-weight:700}.VWh0dG_floatSubPlan{color:var(--dsw-alias-label-secondary);font-size:10px}.VWh0dG_floatSub .VWh0dG_subscriptionWindow{flex-wrap:wrap;gap:4px 10px}.VWh0dG_floatSub .VWh0dG_subscriptionWindowLabel{flex:none}.VWh0dG_floatSub .VWh0dG_subscriptionMeta{min-width:0;max-width:100%}.VWh0dG_floatSub .VWh0dG_subscriptionPct{min-width:0}.VWh0dG_floatSub .VWh0dG_subscriptionReset{white-space:normal;overflow-wrap:anywhere}.VWh0dG_triggerPopEmpty{color:var(--dsw-alias-label-tertiary);padding:2px 0;font-size:11px;line-height:1.5}.VWh0dG_triggerPopSwitcher{justify-content:flex-end;align-items:center;gap:8px;margin-top:2px;display:flex}.VWh0dG_triggerPopSwitchBtn{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:2px 4px;font-size:14px;line-height:1}.VWh0dG_triggerPopSwitchBtn:hover{color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-alias-border-l1) 45%, transparent)}.VWh0dG_triggerPopSwitchCount{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;font-size:10px}.VWh0dG_floatModeRow{gap:8px;margin-bottom:8px;display:flex}.VWh0dG_floatModeBtn{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 75%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 60%, transparent);color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:10px;flex:1;padding:7px 10px;font-size:12px}.VWh0dG_floatModeBtnOn{border-color:var(--dsw-static-blue-500);color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-static-blue-500) 16%, transparent)}.VWh0dG_floatTargets{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.VWh0dG_floatTarget{color:var(--dsw-alias-label-secondary);cursor:pointer;align-items:center;gap:5px;font-size:12px;display:inline-flex}.VWh0dG_floatTargetLabel{color:var(--dsw-alias-label-secondary)}.VWh0dG_staleNotice{color:var(--dsw-static-amber-500);background:color-mix(in srgb, var(--dsw-static-amber-500) 12%, transparent);border:1px solid color-mix(in srgb, var(--dsw-static-amber-500) 30%, transparent);border-radius:10px;align-items:center;gap:6px;margin:0 0 10px;padding:8px 10px;font-size:11px;display:flex}.VWh0dG_pluginInfo{flex-direction:column;gap:8px;margin-top:10px;display:flex}.VWh0dG_pluginInfoRow{align-items:baseline;gap:12px;font-size:12px;display:flex}.VWh0dG_pluginInfoLabel{color:var(--dsw-alias-label-secondary);flex:0 0 72px}.VWh0dG_pluginInfoValue{color:var(--dsw-alias-label-primary);word-break:break-all}.VWh0dG_pluginInfoLink{color:var(--dsw-static-blue-500);word-break:break-all;text-decoration:none}.VWh0dG_pluginInfoLink:hover{text-decoration:underline}.VWh0dG_tokenPanel{flex-direction:column;gap:14px;display:flex}.VWh0dG_tokenModelBar{background:var(--dsw-alias-bg-layer-2);border-radius:999px;height:8px;overflow:hidden}.VWh0dG_tokenModelParts{height:100%;display:flex}.VWh0dG_tokenModelPartIn{background:var(--dsw-static-blue-500)}.VWh0dG_tokenModelPartOut{background:var(--dsw-static-amber-500)}.VWh0dG_tokenModelShareRow{align-items:center;gap:6px;display:inline-flex}@media (width<=640px){.VWh0dG_kpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.VWh0dG_hero{gap:14px}.VWh0dG_heroTop{flex-direction:column;align-items:flex-start;gap:12px}.VWh0dG_heroGauge{width:72px;height:72px}.VWh0dG_heroSide{gap:12px}.VWh0dG_heroSideSpacer{display:none}}.VWh0dG_peakAlert{z-index:2000;border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:12px;align-items:center;gap:12px;min-width:300px;max-width:460px;padding:10px 12px;animation:.2s VWh0dG_peakAlertIn;display:flex;position:fixed;box-shadow:0 4px 16px #00000014}.VWh0dG_peakAlertCorner{bottom:18px;right:18px}.VWh0dG_peakAlertCenter{top:20%;left:50%;transform:translate(-50%)}.VWh0dG_peakAlertTag{letter-spacing:.01em;color:var(--dsw-alias-label-secondary);background:var(--dsw-alias-bg-layer-3);white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;padding:3px 9px;font-size:11px;font-weight:650;display:inline-flex}.VWh0dG_peakAlertTag:before{content:\"\";background:currentColor;border-radius:50%;width:6px;height:6px}.VWh0dG_peakAlertPeak .VWh0dG_peakAlertTag{color:var(--dsw-static-amber-500)}.VWh0dG_peakAlertOff .VWh0dG_peakAlertTag{color:var(--dsw-static-blue-500)}.VWh0dG_peakAlertCountdown{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-primary);flex:none;font-size:18px;font-weight:700;line-height:1}.VWh0dG_peakAlertText{min-width:0;color:var(--dsw-alias-label-secondary);flex:1;font-size:12px;line-height:18px}.VWh0dG_peakAlertClose{width:20px;height:20px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;font-size:15px;line-height:1;transition:background-color .14s,color .14s;display:inline-flex}.VWh0dG_peakAlertClose:hover{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-2)}@keyframes VWh0dG_peakAlertIn{0%{opacity:0}to{opacity:1}}.VWh0dG_peakAlertPanel{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:16px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.VWh0dG_peakAlertPanelHead{justify-content:space-between;align-items:center;gap:10px;display:flex}.VWh0dG_peakAlertPanelLabel{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600}.VWh0dG_peakAlertPanelBody{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.VWh0dG_peakAlertField{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:12px;display:inline-flex}.VWh0dG_peakAlertNum{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);width:56px;color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;border-radius:6px;padding:4px 6px}.VWh0dG_peakAlertSelect{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);border-radius:6px;padding:4px 6px;font-size:12px}.VWh0dG_peakAlertCheck{color:var(--dsw-alias-label-secondary);align-items:center;gap:6px;font-size:12px;display:inline-flex}.VWh0dG_peakAlertPreview{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-2);color:var(--dsw-alias-label-primary);cursor:pointer;border-radius:6px;padding:5px 10px;font-size:12px}.VWh0dG_peakAlertPreview:hover{background:var(--dsw-alias-bg-layer-3)}.VWh0dG_settingsHead{flex-direction:column;gap:4px;margin-bottom:2px;display:flex}.VWh0dG_settingsTitle{letter-spacing:-.005em;color:var(--dsw-alias-label-primary);margin:0;font-size:15px;font-weight:650;line-height:22px}.VWh0dG_settingsHint{color:var(--dsw-alias-label-caption);margin:0;font-size:11px;line-height:16px}.VWh0dG_budgetHint,.VWh0dG_peakAlertHint{color:var(--dsw-alias-label-caption);margin:6px 0 0;font-size:11px;line-height:16px}";
57
57
  const tagId = "@kenz1117/dsh-ui-usage-billing/UsageBilling.module.css";
58
58
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
59
59
  const tag = document.createElement("style");
@@ -63,329 +63,334 @@ window.__ModuleLoader__.load({
63
63
  document.head.appendChild(tag);
64
64
  }
65
65
  var UsageBilling_module_css_default = {
66
- "heroSideValue": "VWh0dG_heroSideValue",
67
- "peakAlertPeak": "VWh0dG_peakAlertPeak",
68
- "heroGaugeArc": "VWh0dG_heroGaugeArc",
69
- "subscriptionMeta": "VWh0dG_subscriptionMeta",
70
- "panel": "VWh0dG_panel",
71
- "subscriptionExhausted": "VWh0dG_subscriptionExhausted",
72
- "triggerPopName": "VWh0dG_triggerPopName",
73
- "shareItem": "VWh0dG_shareItem",
74
- "roundsBarFlagged": "VWh0dG_roundsBarFlagged",
75
- "budgetInputWrap": "VWh0dG_budgetInputWrap",
76
- "budgetFill": "VWh0dG_budgetFill",
77
- "budgetOverPulse": "VWh0dG_budgetOverPulse",
78
- "liveCostItem": "VWh0dG_liveCostItem",
79
- "balanceDetailClose": "VWh0dG_balanceDetailClose",
66
+ "balanceDaysLow": "VWh0dG_balanceDaysLow",
67
+ "bucketSummary": "VWh0dG_bucketSummary",
68
+ "kpiGrid": "VWh0dG_kpiGrid",
69
+ "triggerPopMetrics": "VWh0dG_triggerPopMetrics",
70
+ "triggerPopHead": "VWh0dG_triggerPopHead",
71
+ "floatSubHead": "VWh0dG_floatSubHead",
72
+ "siteRowTitle": "VWh0dG_siteRowTitle",
80
73
  "peakAlertPanelHead": "VWh0dG_peakAlertPanelHead",
81
- "panelHead": "VWh0dG_panelHead",
82
- "settingsHead": "VWh0dG_settingsHead",
83
- "providerGroupName": "VWh0dG_providerGroupName",
84
- "triggerSparkBar": "VWh0dG_triggerSparkBar",
85
- "triggerBody": "VWh0dG_triggerBody",
86
- "chartBarPlaceholder": "VWh0dG_chartBarPlaceholder",
87
- "roundsBars": "VWh0dG_roundsBars",
88
- "heroValue": "VWh0dG_heroValue",
89
- "heatmapHover": "VWh0dG_heatmapHover",
90
- "tabPanel": "VWh0dG_tabPanel",
91
- "siteKindSite": "VWh0dG_siteKindSite",
92
- "healthIdle": "VWh0dG_healthIdle",
93
- "liveTierPeak": "VWh0dG_liveTierPeak",
94
- "balanceDetailPop": "VWh0dG_balanceDetailPop",
95
- "triggerPopUpdated": "VWh0dG_triggerPopUpdated",
96
- "rangeButtonActive": "VWh0dG_rangeButtonActive",
97
- "modelProvider": "VWh0dG_modelProvider",
98
- "heroSideItem": "VWh0dG_heroSideItem",
99
- "peakAlertPanel": "VWh0dG_peakAlertPanel",
100
- "budgetHead": "VWh0dG_budgetHead",
101
- "shareSegOff": "VWh0dG_shareSegOff",
102
- "dashboard": "VWh0dG_dashboard",
103
- "triggerMeta": "VWh0dG_triggerMeta",
104
- "closeButton": "VWh0dG_closeButton",
105
- "chartCrosshair": "VWh0dG_chartCrosshair",
106
- "chartGrid": "VWh0dG_chartGrid",
107
- "roundsBarLabel": "VWh0dG_roundsBarLabel",
108
- "na": "VWh0dG_na",
109
- "currencyToggle": "VWh0dG_currencyToggle",
110
- "subscriptionName": "VWh0dG_subscriptionName",
111
- "pluginInfo": "VWh0dG_pluginInfo",
112
- "chartWrap": "VWh0dG_chartWrap",
113
- "heatmapYearScroll": "VWh0dG_heatmapYearScroll",
114
- "modelCell": "VWh0dG_modelCell",
115
- "siteRowCalls": "VWh0dG_siteRowCalls",
116
- "balanceDetailGrid": "VWh0dG_balanceDetailGrid",
117
- "budgetUnit": "VWh0dG_budgetUnit",
74
+ "providerGroupBadge": "VWh0dG_providerGroupBadge",
75
+ "triggerPopSubscription": "VWh0dG_triggerPopSubscription",
118
76
  "heatmapCell": "VWh0dG_heatmapCell",
119
- "peakAlertPanelBody": "VWh0dG_peakAlertPanelBody",
120
- "rangeButton": "VWh0dG_rangeButton",
121
- "roundsBarWrap": "VWh0dG_roundsBarWrap",
122
- "heroGaugePctOver": "VWh0dG_heroGaugePctOver",
77
+ "providerGroupBalance": "VWh0dG_providerGroupBalance",
78
+ "exportButton": "VWh0dG_exportButton",
79
+ "subscriptionAuto": "VWh0dG_subscriptionAuto",
80
+ "subscriptionWindowLabel": "VWh0dG_subscriptionWindowLabel",
81
+ "shareSegAssistant": "VWh0dG_shareSegAssistant",
82
+ "subscriptionWindow": "VWh0dG_subscriptionWindow",
83
+ "siteRowName": "VWh0dG_siteRowName",
84
+ "na": "VWh0dG_na",
85
+ "providerGroupList": "VWh0dG_providerGroupList",
123
86
  "floatTargetLabel": "VWh0dG_floatTargetLabel",
124
- "subscriptionFillWarn": "VWh0dG_subscriptionFillWarn",
125
- "pluginInfoLink": "VWh0dG_pluginInfoLink",
126
- "triggerPopBadgeSub": "VWh0dG_triggerPopBadgeSub",
127
- "providerGroupBadge": "VWh0dG_providerGroupBadge",
128
- "floatTarget": "VWh0dG_floatTarget",
129
- "chartEmpty": "VWh0dG_chartEmpty",
130
- "healthDot": "VWh0dG_healthDot",
131
- "rangeToggle": "VWh0dG_rangeToggle",
132
- "heroSideLabel": "VWh0dG_heroSideLabel",
133
- "triggerPopFoot": "VWh0dG_triggerPopFoot",
134
- "budgetValue": "VWh0dG_budgetValue",
135
- "shareDot": "VWh0dG_shareDot",
136
- "roundsBar": "VWh0dG_roundsBar",
137
- "balanceDetailTitle": "VWh0dG_balanceDetailTitle",
138
- "pluginInfoLabel": "VWh0dG_pluginInfoLabel",
139
- "pricingChevronOpen": "VWh0dG_pricingChevronOpen",
140
- "heroGaugeSvg": "VWh0dG_heroGaugeSvg",
141
- "bucketStat": "VWh0dG_bucketStat",
142
- "subscriptionHead": "VWh0dG_subscriptionHead",
143
- "rounds": "VWh0dG_rounds",
144
- "uncataloguedTag": "VWh0dG_uncataloguedTag",
87
+ "balanceDaysBadge": "VWh0dG_balanceDaysBadge",
88
+ "triggerPopSwitchBtn": "VWh0dG_triggerPopSwitchBtn",
89
+ "triggerSpark": "VWh0dG_triggerSpark",
90
+ "peakAlertCorner": "VWh0dG_peakAlertCorner",
91
+ "peakAlertHint": "VWh0dG_peakAlertHint",
92
+ "heroSide": "VWh0dG_heroSide",
93
+ "balanceDetailGrid": "VWh0dG_balanceDetailGrid",
145
94
  "subscriptionFillOver": "VWh0dG_subscriptionFillOver",
146
- "flatTag": "VWh0dG_flatTag",
147
- "chartTooltipDate": "VWh0dG_chartTooltipDate",
148
- "providerGroupTitle": "VWh0dG_providerGroupTitle",
149
- "triggerPopSwitchCount": "VWh0dG_triggerPopSwitchCount",
95
+ "roundsBars": "VWh0dG_roundsBars",
96
+ "triggerPopFoot": "VWh0dG_triggerPopFoot",
97
+ "floatModeBtnOn": "VWh0dG_floatModeBtnOn",
98
+ "dashboardIn": "VWh0dG_dashboardIn",
99
+ "triggerPopRow": "VWh0dG_triggerPopRow",
100
+ "providerGroupBalanceLabel": "VWh0dG_providerGroupBalanceLabel",
101
+ "dashboardModal": "VWh0dG_dashboardModal",
102
+ "triggerPopValueStack": "VWh0dG_triggerPopValueStack",
103
+ "rateBadgeLive": "VWh0dG_rateBadgeLive",
104
+ "triggerPopMetric": "VWh0dG_triggerPopMetric",
105
+ "subscriptionFill": "VWh0dG_subscriptionFill",
106
+ "heroSideLabel": "VWh0dG_heroSideLabel",
107
+ "currencyToggle": "VWh0dG_currencyToggle",
108
+ "triggerPopEmpty": "VWh0dG_triggerPopEmpty",
109
+ "triggerPopBadge": "VWh0dG_triggerPopBadge",
150
110
  "peakAlertCenter": "VWh0dG_peakAlertCenter",
151
- "triggerPopFootNotes": "VWh0dG_triggerPopFootNotes",
152
- "unpricedHint": "VWh0dG_unpricedHint",
153
- "exportLabel": "VWh0dG_exportLabel",
111
+ "bucketOfficial": "VWh0dG_bucketOfficial",
112
+ "peakAlertPanelBody": "VWh0dG_peakAlertPanelBody",
113
+ "heatmap": "VWh0dG_heatmap",
114
+ "heatmapCellEmpty": "VWh0dG_heatmapCellEmpty",
115
+ "budgetUnit": "VWh0dG_budgetUnit",
116
+ "hero": "VWh0dG_hero",
117
+ "floatModeBtn": "VWh0dG_floatModeBtn",
118
+ "subscriptionExhausted": "VWh0dG_subscriptionExhausted",
119
+ "panelTitle": "VWh0dG_panelTitle",
120
+ "tabButton": "VWh0dG_tabButton",
121
+ "bucketStatLabel": "VWh0dG_bucketStatLabel",
122
+ "bandTagOff": "VWh0dG_bandTagOff",
123
+ "providerGroupTitle": "VWh0dG_providerGroupTitle",
124
+ "budgetValue": "VWh0dG_budgetValue",
154
125
  "triggerPopFootStatus": "VWh0dG_triggerPopFootStatus",
155
- "kpiGreen": "VWh0dG_kpiGreen",
156
- "chartLegendBar": "VWh0dG_chartLegendBar",
157
- "subscriptionGrid": "VWh0dG_subscriptionGrid",
158
- "peakAlert": "VWh0dG_peakAlert",
159
- "shareSegPeak": "VWh0dG_shareSegPeak",
160
- "shareValue": "VWh0dG_shareValue",
161
- "roundsBarCol": "VWh0dG_roundsBarCol",
126
+ "heroReadout": "VWh0dG_heroReadout",
127
+ "healthBadge": "VWh0dG_healthBadge",
128
+ "dashboardTitle": "VWh0dG_dashboardTitle",
129
+ "pricingToggle": "VWh0dG_pricingToggle",
130
+ "heatmapYearScroll": "VWh0dG_heatmapYearScroll",
131
+ "tokenModelBar": "VWh0dG_tokenModelBar",
132
+ "panelHead": "VWh0dG_panelHead",
133
+ "chartEmpty": "VWh0dG_chartEmpty",
134
+ "budgetTrack": "VWh0dG_budgetTrack",
135
+ "dashboardHead": "VWh0dG_dashboardHead",
136
+ "triggerPopFootStatusLow": "VWh0dG_triggerPopFootStatusLow",
137
+ "budgetControls": "VWh0dG_budgetControls",
162
138
  "balanceDetailHead": "VWh0dG_balanceDetailHead",
139
+ "budgetOverPulse": "VWh0dG_budgetOverPulse",
140
+ "chartBar": "VWh0dG_chartBar",
141
+ "dashboard": "VWh0dG_dashboard",
142
+ "siteRowCallsLow": "VWh0dG_siteRowCallsLow",
143
+ "rateBadge": "VWh0dG_rateBadge",
144
+ "rounds": "VWh0dG_rounds",
145
+ "pricingChevron": "VWh0dG_pricingChevron",
146
+ "triggerIcon": "VWh0dG_triggerIcon",
147
+ "triggerPopBadgeDirect": "VWh0dG_triggerPopBadgeDirect",
148
+ "chartLine": "VWh0dG_chartLine",
149
+ "heatmapGrid": "VWh0dG_heatmapGrid",
150
+ "dashboardBody": "VWh0dG_dashboardBody",
151
+ "triggerPopLabel": "VWh0dG_triggerPopLabel",
152
+ "peakAlertTag": "VWh0dG_peakAlertTag",
153
+ "heroGaugePctOver": "VWh0dG_heroGaugePctOver",
154
+ "tabButtonActive": "VWh0dG_tabButtonActive",
155
+ "flatTag": "VWh0dG_flatTag",
163
156
  "heatmapLegend": "VWh0dG_heatmapLegend",
164
- "triggerPopSwitcher": "VWh0dG_triggerPopSwitcher",
165
- "subscriptionTier": "VWh0dG_subscriptionTier",
166
- "peakAlertCorner": "VWh0dG_peakAlertCorner",
167
- "kpiTile": "VWh0dG_kpiTile",
168
- "chartTooltipSwatch": "VWh0dG_chartTooltipSwatch",
169
- "balanceDetailValue": "VWh0dG_balanceDetailValue",
170
- "deltaDown": "VWh0dG_deltaDown",
171
- "healthBad": "VWh0dG_healthBad",
172
157
  "shareSeg": "VWh0dG_shareSeg",
173
- "shareSegTool": "VWh0dG_shareSegTool",
174
- "heroCurrency": "VWh0dG_heroCurrency",
175
- "budgetLabel": "VWh0dG_budgetLabel",
176
- "chartAxisLabel": "VWh0dG_chartAxisLabel",
177
- "bucketThird": "VWh0dG_bucketThird",
178
- "siteRowTitle": "VWh0dG_siteRowTitle",
179
- "subscriptionTrack": "VWh0dG_subscriptionTrack",
180
- "triggerRow": "VWh0dG_triggerRow",
158
+ "pluginInfoLabel": "VWh0dG_pluginInfoLabel",
159
+ "exportBar": "VWh0dG_exportBar",
160
+ "settingsHint": "VWh0dG_settingsHint",
161
+ "subscriptionFillWarn": "VWh0dG_subscriptionFillWarn",
162
+ "trigger": "VWh0dG_trigger",
163
+ "peakAlertPanelLabel": "VWh0dG_peakAlertPanelLabel",
164
+ "siteRowMeta": "VWh0dG_siteRowMeta",
165
+ "pricingTable": "VWh0dG_pricingTable",
181
166
  "tokenModelPartOut": "VWh0dG_tokenModelPartOut",
182
- "tabPanelIn": "VWh0dG_tabPanelIn",
167
+ "roundsBarColOff": "VWh0dG_roundsBarColOff",
168
+ "chartTooltipSwatch": "VWh0dG_chartTooltipSwatch",
169
+ "siteKindDirect": "VWh0dG_siteKindDirect",
170
+ "uncataloguedTag": "VWh0dG_uncataloguedTag",
171
+ "providerGroup": "VWh0dG_providerGroup",
172
+ "peakAlert": "VWh0dG_peakAlert",
173
+ "subscriptionGoldFlow": "VWh0dG_subscriptionGoldFlow",
174
+ "modelName": "VWh0dG_modelName",
175
+ "chartLegendLine": "VWh0dG_chartLegendLine",
176
+ "siteRowCost": "VWh0dG_siteRowCost",
177
+ "pricingChevronOpen": "VWh0dG_pricingChevronOpen",
183
178
  "roundsBarColPeak": "VWh0dG_roundsBarColPeak",
184
- "triggerPopBars": "VWh0dG_triggerPopBars",
185
- "heroReadout": "VWh0dG_heroReadout",
186
- "pluginInfoValue": "VWh0dG_pluginInfoValue",
187
- "tokenModelShareRow": "VWh0dG_tokenModelShareRow",
188
- "heroMeta": "VWh0dG_heroMeta",
189
- "providerGroupMeta": "VWh0dG_providerGroupMeta",
190
- "triggerWrap": "VWh0dG_triggerWrap",
191
- "exportButton": "VWh0dG_exportButton",
192
- "triggerPopFootNote": "VWh0dG_triggerPopFootNote",
193
- "bucketStatSub": "VWh0dG_bucketStatSub",
194
- "switchKnob": "VWh0dG_switchKnob",
195
- "dashboardHead": "VWh0dG_dashboardHead",
196
- "providerGroupBalanceLabel": "VWh0dG_providerGroupBalanceLabel",
197
- "triggerSpark": "VWh0dG_triggerSpark",
198
- "kpiValue": "VWh0dG_kpiValue",
199
- "heroGauge": "VWh0dG_heroGauge",
200
- "kpiDetail": "VWh0dG_kpiDetail",
201
- "modelDot": "VWh0dG_modelDot",
202
- "subscriptionCard": "VWh0dG_subscriptionCard",
203
- "peakAlertSelect": "VWh0dG_peakAlertSelect",
204
- "roundsFlagMark": "VWh0dG_roundsFlagMark",
205
- "pricingToggleText": "VWh0dG_pricingToggleText",
206
- "settingsHint": "VWh0dG_settingsHint",
207
- "peakAlertText": "VWh0dG_peakAlertText",
208
- "dashboardSubtitle": "VWh0dG_dashboardSubtitle",
209
- "bucketCost": "VWh0dG_bucketCost",
210
- "balanceDaysLow": "VWh0dG_balanceDaysLow",
211
179
  "triggerPopTitle": "VWh0dG_triggerPopTitle",
212
- "chartTooltipRow": "VWh0dG_chartTooltipRow",
213
- "peakAlertTag": "VWh0dG_peakAlertTag",
214
- "triggerPop": "VWh0dG_triggerPop",
215
- "billing-trigger": "VWh0dG_billing-trigger",
216
- "heroSideSpacer": "VWh0dG_heroSideSpacer",
217
- "triggerPopMetrics": "VWh0dG_triggerPopMetrics",
218
- "healthBadgeOk": "VWh0dG_healthBadgeOk",
219
- "tokenPanel": "VWh0dG_tokenPanel",
220
- "triggerPopMetricHighlight": "VWh0dG_triggerPopMetricHighlight",
221
- "pricingToggle": "VWh0dG_pricingToggle",
222
- "heroTop": "VWh0dG_heroTop",
223
- "heatmapFooter": "VWh0dG_heatmapFooter",
224
- "triggerPopMetricValue": "VWh0dG_triggerPopMetricValue",
180
+ "modelProvider": "VWh0dG_modelProvider",
181
+ "heroGaugeLabel": "VWh0dG_heroGaugeLabel",
182
+ "chartStack": "VWh0dG_chartStack",
225
183
  "settingsTitle": "VWh0dG_settingsTitle",
226
- "tokenModelBar": "VWh0dG_tokenModelBar",
227
- "triggerPopBadge": "VWh0dG_triggerPopBadge",
228
- "deltaUp": "VWh0dG_deltaUp",
229
- "kpiGrid": "VWh0dG_kpiGrid",
230
- "budgetHint": "VWh0dG_budgetHint",
231
- "triggerPopValueStack": "VWh0dG_triggerPopValueStack",
232
- "triggerPopRow": "VWh0dG_triggerPopRow",
233
- "triggerPopOpenBtn": "VWh0dG_triggerPopOpenBtn",
234
- "triggerPopBar": "VWh0dG_triggerPopBar",
235
- "bandTagOff": "VWh0dG_bandTagOff",
236
- "tabButton": "VWh0dG_tabButton",
237
- "healthOk": "VWh0dG_healthOk",
238
- "balanceDaysBadge": "VWh0dG_balanceDaysBadge",
239
- "subscriptionAuto": "VWh0dG_subscriptionAuto",
240
- "budgetFillOver": "VWh0dG_budgetFillOver",
241
- "rateBadge": "VWh0dG_rateBadge",
184
+ "switchOn": "VWh0dG_switchOn",
185
+ "tabPanel": "VWh0dG_tabPanel",
186
+ "panelHint": "VWh0dG_panelHint",
187
+ "peakAlertCountdown": "VWh0dG_peakAlertCountdown",
188
+ "peakAlertText": "VWh0dG_peakAlertText",
189
+ "shareValue": "VWh0dG_shareValue",
190
+ "chartGrid": "VWh0dG_chartGrid",
191
+ "dashboardRight": "VWh0dG_dashboardRight",
192
+ "roundsFlagBadge": "VWh0dG_roundsFlagBadge",
193
+ "triggerRow": "VWh0dG_triggerRow",
194
+ "triggerPopFootNotes": "VWh0dG_triggerPopFootNotes",
195
+ "bucketStatSub": "VWh0dG_bucketStatSub",
196
+ "switch": "VWh0dG_switch",
242
197
  "siteKindUnknown": "VWh0dG_siteKindUnknown",
198
+ "heatmapHover": "VWh0dG_heatmapHover",
199
+ "deltaDown": "VWh0dG_deltaDown",
200
+ "heatmapYearCell": "VWh0dG_heatmapYearCell",
201
+ "rangeToggle": "VWh0dG_rangeToggle",
202
+ "floatModeRow": "VWh0dG_floatModeRow",
203
+ "staleNotice": "VWh0dG_staleNotice",
204
+ "trendPanel": "VWh0dG_trendPanel",
205
+ "liveCostSep": "VWh0dG_liveCostSep",
206
+ "triggerMeta": "VWh0dG_triggerMeta",
207
+ "shareSegPeak": "VWh0dG_shareSegPeak",
208
+ "siteKindTag": "VWh0dG_siteKindTag",
243
209
  "estimatedTag": "VWh0dG_estimatedTag",
244
- "providerGroupList": "VWh0dG_providerGroupList",
245
- "providerGroup": "VWh0dG_providerGroup",
246
- "triggerIcon": "VWh0dG_triggerIcon",
247
- "providerGroupHead": "VWh0dG_providerGroupHead",
248
- "roundsAxis": "VWh0dG_roundsAxis",
249
- "peakAlertCountdown": "VWh0dG_peakAlertCountdown",
250
- "siteRow": "VWh0dG_siteRow",
251
- "panelTitle": "VWh0dG_panelTitle",
252
- "budget": "VWh0dG_budget",
253
- "pricingTable": "VWh0dG_pricingTable",
254
- "panelHint": "VWh0dG_panelHint",
255
- "shareLegend": "VWh0dG_shareLegend",
256
- "modelName": "VWh0dG_modelName",
257
- "subscriptionPct": "VWh0dG_subscriptionPct",
258
- "triggerPopFootStatusLow": "VWh0dG_triggerPopFootStatusLow",
259
- "bandTag": "VWh0dG_bandTag",
260
- "peakAlertClose": "VWh0dG_peakAlertClose",
261
- "peakAlertNum": "VWh0dG_peakAlertNum",
262
- "subscriptionPlan": "VWh0dG_subscriptionPlan",
263
- "dashboardIn": "VWh0dG_dashboardIn",
264
- "heroSide": "VWh0dG_heroSide",
265
- "dashboardTitle": "VWh0dG_dashboardTitle",
266
- "pricingTip": "VWh0dG_pricingTip",
210
+ "subscriptionGrid": "VWh0dG_subscriptionGrid",
211
+ "peakAlertPanel": "VWh0dG_peakAlertPanel",
212
+ "subscriptionName": "VWh0dG_subscriptionName",
213
+ "heroGaugeArcOver": "VWh0dG_heroGaugeArcOver",
214
+ "unpricedHint": "VWh0dG_unpricedHint",
215
+ "bandPrice": "VWh0dG_bandPrice",
216
+ "budgetLabel": "VWh0dG_budgetLabel",
217
+ "roundsBarCol": "VWh0dG_roundsBarCol",
267
218
  "roundsEmpty": "VWh0dG_roundsEmpty",
268
- "peakAlertCheck": "VWh0dG_peakAlertCheck",
269
- "peakAlertPanelLabel": "VWh0dG_peakAlertPanelLabel",
270
- "currencyButtonActive": "VWh0dG_currencyButtonActive",
271
- "peakAlertHint": "VWh0dG_peakAlertHint",
272
- "modelTable": "VWh0dG_modelTable",
273
- "siteRowMeta": "VWh0dG_siteRowMeta",
274
- "chartBar": "VWh0dG_chartBar",
275
- "floatModeBtn": "VWh0dG_floatModeBtn",
276
- "chartLegendLine": "VWh0dG_chartLegendLine",
277
- "siteRowName": "VWh0dG_siteRowName",
278
- "subscriptionWindowLabel": "VWh0dG_subscriptionWindowLabel",
279
- "triggerSparkHot": "VWh0dG_triggerSparkHot",
280
- "railButton": "VWh0dG_railButton",
219
+ "emptyRow": "VWh0dG_emptyRow",
220
+ "bucketStat": "VWh0dG_bucketStat",
221
+ "triggerPopSwitchCount": "VWh0dG_triggerPopSwitchCount",
222
+ "rangeButtonActive": "VWh0dG_rangeButtonActive",
223
+ "budgetInput": "VWh0dG_budgetInput",
224
+ "heroGaugeSvg": "VWh0dG_heroGaugeSvg",
225
+ "tokenModelParts": "VWh0dG_tokenModelParts",
226
+ "tabPanelIn": "VWh0dG_tabPanelIn",
227
+ "deltaUp": "VWh0dG_deltaUp",
228
+ "bandTag": "VWh0dG_bandTag",
281
229
  "balanceDays": "VWh0dG_balanceDays",
282
- "trendPanel": "VWh0dG_trendPanel",
283
- "chartDot": "VWh0dG_chartDot",
284
- "subscriptionReset": "VWh0dG_subscriptionReset",
285
- "chartLine": "VWh0dG_chartLine",
286
- "triggerPopAlert": "VWh0dG_triggerPopAlert",
287
- "roundsBarColOff": "VWh0dG_roundsBarColOff",
288
- "triggerPopSwitchBtn": "VWh0dG_triggerPopSwitchBtn",
289
- "floatModeBtnOn": "VWh0dG_floatModeBtnOn",
290
- "floatTargets": "VWh0dG_floatTargets",
291
- "switch": "VWh0dG_switch",
292
- "balanceDetailRow": "VWh0dG_balanceDetailRow",
293
- "heatmapCellEmpty": "VWh0dG_heatmapCellEmpty",
294
- "subscriptionFill": "VWh0dG_subscriptionFill",
295
- "liveTierOff": "VWh0dG_liveTierOff",
296
- "shareTrack": "VWh0dG_shareTrack",
297
- "siteKindTag": "VWh0dG_siteKindTag",
298
- "budgetControls": "VWh0dG_budgetControls",
230
+ "heroMeta": "VWh0dG_heroMeta",
231
+ "subscriptionHead": "VWh0dG_subscriptionHead",
232
+ "pricingToggleText": "VWh0dG_pricingToggleText",
233
+ "bucketCost": "VWh0dG_bucketCost",
234
+ "headTitleRow": "VWh0dG_headTitleRow",
235
+ "bandPriceOff": "VWh0dG_bandPriceOff",
236
+ "subscriptionCard": "VWh0dG_subscriptionCard",
237
+ "pricingTip": "VWh0dG_pricingTip",
238
+ "heroGaugeTrack": "VWh0dG_heroGaugeTrack",
239
+ "triggerBody": "VWh0dG_triggerBody",
240
+ "providerGroupMeta": "VWh0dG_providerGroupMeta",
241
+ "shareSegOff": "VWh0dG_shareSegOff",
242
+ "floatSub": "VWh0dG_floatSub",
243
+ "roundsBarLabel": "VWh0dG_roundsBarLabel",
244
+ "triggerPopUpdated": "VWh0dG_triggerPopUpdated",
245
+ "chartWrap": "VWh0dG_chartWrap",
246
+ "siteKindSite": "VWh0dG_siteKindSite",
247
+ "chartTooltip": "VWh0dG_chartTooltip",
248
+ "kpiValue": "VWh0dG_kpiValue",
299
249
  "numCol": "VWh0dG_numCol",
250
+ "triggerPopTitleMonth": "VWh0dG_triggerPopTitleMonth",
251
+ "floatTargets": "VWh0dG_floatTargets",
252
+ "subscriptionPlan": "VWh0dG_subscriptionPlan",
253
+ "pluginInfoLink": "VWh0dG_pluginInfoLink",
254
+ "railButton": "VWh0dG_railButton",
255
+ "chartAxisLabel": "VWh0dG_chartAxisLabel",
256
+ "subscriptionMeta": "VWh0dG_subscriptionMeta",
257
+ "budgetFillOver": "VWh0dG_budgetFillOver",
258
+ "chartCrosshair": "VWh0dG_chartCrosshair",
259
+ "settingsHead": "VWh0dG_settingsHead",
260
+ "heroValue": "VWh0dG_heroValue",
261
+ "pluginInfoRow": "VWh0dG_pluginInfoRow",
262
+ "siteRow": "VWh0dG_siteRow",
263
+ "tokenModelPartIn": "VWh0dG_tokenModelPartIn",
300
264
  "peakAlertPreview": "VWh0dG_peakAlertPreview",
301
- "balanceCell": "VWh0dG_balanceCell",
302
- "budgetTrack": "VWh0dG_budgetTrack",
303
- "bucketStatValue": "VWh0dG_bucketStatValue",
304
- "triggerPopValue": "VWh0dG_triggerPopValue",
265
+ "currencyButtonActive": "VWh0dG_currencyButtonActive",
266
+ "triggerPop": "VWh0dG_triggerPop",
267
+ "heroSideValue": "VWh0dG_heroSideValue",
268
+ "chartBarPlaceholder": "VWh0dG_chartBarPlaceholder",
269
+ "triggerPopMetricValue": "VWh0dG_triggerPopMetricValue",
270
+ "triggerPopMetricLabel": "VWh0dG_triggerPopMetricLabel",
271
+ "triggerPopMetricHighlight": "VWh0dG_triggerPopMetricHighlight",
272
+ "shareSegUser": "VWh0dG_shareSegUser",
273
+ "bucketThird": "VWh0dG_bucketThird",
274
+ "currencyButton": "VWh0dG_currencyButton",
275
+ "peakAlertIn": "VWh0dG_peakAlertIn",
276
+ "peakAlertField": "VWh0dG_peakAlertField",
305
277
  "heroLabel": "VWh0dG_heroLabel",
306
- "costCol": "VWh0dG_costCol",
307
- "bucketSummary": "VWh0dG_bucketSummary",
308
- "chartTooltip": "VWh0dG_chartTooltip",
309
- "dashboardBody": "VWh0dG_dashboardBody",
278
+ "kpiTile": "VWh0dG_kpiTile",
279
+ "heroSideItem": "VWh0dG_heroSideItem",
280
+ "heroMain": "VWh0dG_heroMain",
281
+ "tokenModelShareRow": "VWh0dG_tokenModelShareRow",
282
+ "liveCostBar": "VWh0dG_liveCostBar",
283
+ "triggerPopMuted": "VWh0dG_triggerPopMuted",
310
284
  "modelTableScroll": "VWh0dG_modelTableScroll",
311
- "peakAlertOff": "VWh0dG_peakAlertOff",
312
- "heatmapYearGrid": "VWh0dG_heatmapYearGrid",
313
- "triggerPopFootTitle": "VWh0dG_triggerPopFootTitle",
314
- "balanceDaysBadgeLow": "VWh0dG_balanceDaysBadgeLow",
285
+ "chartDot": "VWh0dG_chartDot",
286
+ "exportLabel": "VWh0dG_exportLabel",
287
+ "rateBadgeBuiltin": "VWh0dG_rateBadgeBuiltin",
288
+ "triggerSparkBar": "VWh0dG_triggerSparkBar",
289
+ "triggerSub": "VWh0dG_triggerSub",
290
+ "peakAlertSelect": "VWh0dG_peakAlertSelect",
291
+ "providerGroupHead": "VWh0dG_providerGroupHead",
315
292
  "chartLegend": "VWh0dG_chartLegend",
316
- "trigger": "VWh0dG_trigger",
293
+ "chartSvg": "VWh0dG_chartSvg",
294
+ "subscriptionStatus": "VWh0dG_subscriptionStatus",
295
+ "triggerSparkHot": "VWh0dG_triggerSparkHot",
296
+ "peakAlertNum": "VWh0dG_peakAlertNum",
297
+ "shareTrack": "VWh0dG_shareTrack",
298
+ "balanceDaysBadgeLow": "VWh0dG_balanceDaysBadgeLow",
299
+ "healthBadgeOk": "VWh0dG_healthBadgeOk",
300
+ "healthOk": "VWh0dG_healthOk",
301
+ "roundsAxis": "VWh0dG_roundsAxis",
302
+ "triggerAmount": "VWh0dG_triggerAmount",
303
+ "triggerPopFootNote": "VWh0dG_triggerPopFootNote",
304
+ "kpiLabel": "VWh0dG_kpiLabel",
305
+ "balanceCell": "VWh0dG_balanceCell",
306
+ "triggerPopFootStrong": "VWh0dG_triggerPopFootStrong",
307
+ "budgetHint": "VWh0dG_budgetHint",
308
+ "modelDot": "VWh0dG_modelDot",
309
+ "heatmapYearGrid": "VWh0dG_heatmapYearGrid",
317
310
  "tableScroll": "VWh0dG_tableScroll",
318
- "pricingChevron": "VWh0dG_pricingChevron",
319
- "subscriptionGoldFlow": "VWh0dG_subscriptionGoldFlow",
320
- "delta": "VWh0dG_delta",
321
- "heatmap": "VWh0dG_heatmap",
322
- "triggerPopMuted": "VWh0dG_triggerPopMuted",
323
- "liveQuotaCrit": "VWh0dG_liveQuotaCrit",
324
- "triggerPopMetric": "VWh0dG_triggerPopMetric",
325
- "triggerPopSubscription": "VWh0dG_triggerPopSubscription",
326
- "tabButtonActive": "VWh0dG_tabButtonActive",
327
- "liveCostSep": "VWh0dG_liveCostSep",
311
+ "kpiGreen": "VWh0dG_kpiGreen",
312
+ "triggerPopName": "VWh0dG_triggerPopName",
313
+ "chartTooltipDate": "VWh0dG_chartTooltipDate",
328
314
  "budgetFillWarn": "VWh0dG_budgetFillWarn",
329
- "triggerPopTitleMonth": "VWh0dG_triggerPopTitleMonth",
330
- "budgetInput": "VWh0dG_budgetInput",
331
- "triggerSub": "VWh0dG_triggerSub",
332
- "chartStack": "VWh0dG_chartStack",
333
- "siteRowCost": "VWh0dG_siteRowCost",
334
- "triggerPopFootName": "VWh0dG_triggerPopFootName",
335
- "bandPriceOff": "VWh0dG_bandPriceOff",
336
- "triggerPopMetricLabel": "VWh0dG_triggerPopMetricLabel",
337
- "headTitleRow": "VWh0dG_headTitleRow",
338
- "roundsFlagBadge": "VWh0dG_roundsFlagBadge",
339
- "triggerPopHead": "VWh0dG_triggerPopHead",
340
- "triggerPopEmpty": "VWh0dG_triggerPopEmpty",
341
- "peakAlertIn": "VWh0dG_peakAlertIn",
342
- "triggerPopFootStrong": "VWh0dG_triggerPopFootStrong",
343
- "triggerPopBadgeDirect": "VWh0dG_triggerPopBadgeDirect",
344
- "tokenModelPartIn": "VWh0dG_tokenModelPartIn",
345
- "balanceDetailLabel": "VWh0dG_balanceDetailLabel",
346
- "exportBar": "VWh0dG_exportBar",
347
- "healthBadge": "VWh0dG_healthBadge",
348
- "dashboardModal": "VWh0dG_dashboardModal",
349
- "peakAlertField": "VWh0dG_peakAlertField",
350
- "emptyRow": "VWh0dG_emptyRow",
315
+ "shareSegTool": "VWh0dG_shareSegTool",
316
+ "triggerPopValue": "VWh0dG_triggerPopValue",
317
+ "liveTierPeak": "VWh0dG_liveTierPeak",
318
+ "floatSubName": "VWh0dG_floatSubName",
319
+ "billing-trigger": "VWh0dG_billing-trigger",
320
+ "roundsBarWrap": "VWh0dG_roundsBarWrap",
321
+ "triggerPopFootTitle": "VWh0dG_triggerPopFootTitle",
322
+ "peakAlertOff": "VWh0dG_peakAlertOff",
323
+ "triggerPopOpenBtn": "VWh0dG_triggerPopOpenBtn",
324
+ "subscriptionTier": "VWh0dG_subscriptionTier",
325
+ "tokenPanel": "VWh0dG_tokenPanel",
326
+ "triggerPopBars": "VWh0dG_triggerPopBars",
327
+ "heroTop": "VWh0dG_heroTop",
328
+ "heroCurrency": "VWh0dG_heroCurrency",
329
+ "balanceDetailRow": "VWh0dG_balanceDetailRow",
330
+ "delta": "VWh0dG_delta",
331
+ "roundsBarFlagged": "VWh0dG_roundsBarFlagged",
332
+ "liveTierOff": "VWh0dG_liveTierOff",
333
+ "modelTable": "VWh0dG_modelTable",
334
+ "healthBadgeBad": "VWh0dG_healthBadgeBad",
335
+ "liveQuotaCrit": "VWh0dG_liveQuotaCrit",
336
+ "closeButton": "VWh0dG_closeButton",
337
+ "triggerPopBar": "VWh0dG_triggerPopBar",
351
338
  "triggerPopStrong": "VWh0dG_triggerPopStrong",
339
+ "bucketStatValue": "VWh0dG_bucketStatValue",
352
340
  "heroGaugeCenter": "VWh0dG_heroGaugeCenter",
353
- "siteRowCallsLow": "VWh0dG_siteRowCallsLow",
354
- "subscriptionStatus": "VWh0dG_subscriptionStatus",
355
- "triggerPopLabel": "VWh0dG_triggerPopLabel",
356
- "shareSegAssistant": "VWh0dG_shareSegAssistant",
341
+ "healthDot": "VWh0dG_healthDot",
342
+ "heroGaugePct": "VWh0dG_heroGaugePct",
343
+ "heatmapFooter": "VWh0dG_heatmapFooter",
344
+ "triggerPopBadgeSub": "VWh0dG_triggerPopBadgeSub",
345
+ "balanceDetailLabel": "VWh0dG_balanceDetailLabel",
346
+ "dashboardSubtitle": "VWh0dG_dashboardSubtitle",
347
+ "switchKnob": "VWh0dG_switchKnob",
348
+ "shareItem": "VWh0dG_shareItem",
349
+ "balanceDetailTitle": "VWh0dG_balanceDetailTitle",
357
350
  "bucketSep": "VWh0dG_bucketSep",
351
+ "subscriptionTrack": "VWh0dG_subscriptionTrack",
352
+ "shareDot": "VWh0dG_shareDot",
353
+ "kpiDetail": "VWh0dG_kpiDetail",
354
+ "modelCell": "VWh0dG_modelCell",
355
+ "costCol": "VWh0dG_costCol",
356
+ "subscriptionReset": "VWh0dG_subscriptionReset",
358
357
  "liveQuotaWarn": "VWh0dG_liveQuotaWarn",
359
- "providerGroupBalance": "VWh0dG_providerGroupBalance",
360
- "heroGaugePct": "VWh0dG_heroGaugePct",
361
- "heroMain": "VWh0dG_heroMain",
362
- "heroGaugeTrack": "VWh0dG_heroGaugeTrack",
363
- "healthBadgeBad": "VWh0dG_healthBadgeBad",
364
- "bucketStatLabel": "VWh0dG_bucketStatLabel",
358
+ "providerGroupName": "VWh0dG_providerGroupName",
359
+ "pluginInfo": "VWh0dG_pluginInfo",
360
+ "triggerPopFootName": "VWh0dG_triggerPopFootName",
361
+ "budgetInputWrap": "VWh0dG_budgetInputWrap",
362
+ "peakAlertClose": "VWh0dG_peakAlertClose",
363
+ "chartTooltipRow": "VWh0dG_chartTooltipRow",
364
+ "peakAlertPeak": "VWh0dG_peakAlertPeak",
365
+ "peakAlertCheck": "VWh0dG_peakAlertCheck",
366
+ "triggerPopSwitcher": "VWh0dG_triggerPopSwitcher",
367
+ "chartLegendBar": "VWh0dG_chartLegendBar",
368
+ "pluginInfoValue": "VWh0dG_pluginInfoValue",
369
+ "healthIdle": "VWh0dG_healthIdle",
370
+ "heroGauge": "VWh0dG_heroGauge",
371
+ "heroGaugeArc": "VWh0dG_heroGaugeArc",
372
+ "balanceDetailPop": "VWh0dG_balanceDetailPop",
373
+ "triggerWrap": "VWh0dG_triggerWrap",
374
+ "floatTarget": "VWh0dG_floatTarget",
375
+ "budgetFill": "VWh0dG_budgetFill",
376
+ "rangeButton": "VWh0dG_rangeButton",
377
+ "balanceDetailValue": "VWh0dG_balanceDetailValue",
378
+ "heroSideSpacer": "VWh0dG_heroSideSpacer",
379
+ "subscriptionPct": "VWh0dG_subscriptionPct",
380
+ "budgetHead": "VWh0dG_budgetHead",
381
+ "roundsFlagMark": "VWh0dG_roundsFlagMark",
382
+ "panel": "VWh0dG_panel",
365
383
  "tabNav": "VWh0dG_tabNav",
366
- "rateBadgeLive": "VWh0dG_rateBadgeLive",
367
- "currencyButton": "VWh0dG_currencyButton",
368
- "liveCostBar": "VWh0dG_liveCostBar",
369
- "rateBadgeBuiltin": "VWh0dG_rateBadgeBuiltin",
370
- "hero": "VWh0dG_hero",
371
- "heroGaugeArcOver": "VWh0dG_heroGaugeArcOver",
372
- "kpiLabel": "VWh0dG_kpiLabel",
373
- "triggerAmount": "VWh0dG_triggerAmount",
374
- "pluginInfoRow": "VWh0dG_pluginInfoRow",
375
- "heatmapGrid": "VWh0dG_heatmapGrid",
376
- "bucketOfficial": "VWh0dG_bucketOfficial",
377
- "shareSegUser": "VWh0dG_shareSegUser",
378
- "heroGaugeLabel": "VWh0dG_heroGaugeLabel",
379
- "tokenModelParts": "VWh0dG_tokenModelParts",
380
- "switchOn": "VWh0dG_switchOn",
381
- "heatmapYearCell": "VWh0dG_heatmapYearCell",
382
- "floatModeRow": "VWh0dG_floatModeRow",
383
- "chartSvg": "VWh0dG_chartSvg",
384
- "subscriptionWindow": "VWh0dG_subscriptionWindow",
385
- "bandPrice": "VWh0dG_bandPrice",
386
- "siteKindDirect": "VWh0dG_siteKindDirect",
387
- "dashboardRight": "VWh0dG_dashboardRight",
388
- "planTag": "VWh0dG_planTag"
384
+ "roundsBar": "VWh0dG_roundsBar",
385
+ "floatSubPlan": "VWh0dG_floatSubPlan",
386
+ "budget": "VWh0dG_budget",
387
+ "siteRowCalls": "VWh0dG_siteRowCalls",
388
+ "balanceDetailClose": "VWh0dG_balanceDetailClose",
389
+ "triggerPopAlert": "VWh0dG_triggerPopAlert",
390
+ "planTag": "VWh0dG_planTag",
391
+ "shareLegend": "VWh0dG_shareLegend",
392
+ "liveCostItem": "VWh0dG_liveCostItem",
393
+ "healthBad": "VWh0dG_healthBad"
389
394
  };
390
395
  //#endregion
391
396
  //#region src/client/plan-knowledge.ts
@@ -1486,14 +1491,17 @@ window.__ModuleLoader__.load({
1486
1491
  color: ""
1487
1492
  };
1488
1493
  /**
1489
- * Render the daily stacked cost bars plus the total-calls line.
1494
+ * Render the daily bars plus the total-calls line.
1490
1495
  * @param props.data - sorted daily rows (ascending date).
1491
- * @param props.models - the model legend, in bar order.
1496
+ * @param props.models - the model legend, in bar order (used by the `cost` metric).
1492
1497
  * @param props.currency - display currency for the cost labels.
1498
+ * @param props.metric - `cost` (stacked per-model CNY, default) or `tokens` (single-color total tokens).
1493
1499
  */
1494
- function TrendChart({ data, models = [], currency = "cny" }) {
1500
+ function TrendChart({ data, models = [], currency = "cny", metric = "cost" }) {
1495
1501
  const [hover, setHover] = (0, react.useState)(null);
1496
1502
  const money = (cny) => formatMoney(currency === "usd" ? cnyToUsd(cny) : cny, currency);
1503
+ const axisOf = (value) => metric === "tokens" ? shortNumber$1(value) : money(value);
1504
+ const valueOf = (d) => metric === "tokens" ? d.tokens ?? 0 : d.cost;
1497
1505
  const layout = (0, react.useMemo)(() => {
1498
1506
  const n = data.length;
1499
1507
  if (n === 0) return null;
@@ -1503,7 +1511,7 @@ window.__ModuleLoader__.load({
1503
1511
  if (n === 1) return PAD$2.left + plotW / 2;
1504
1512
  return PAD$2.left + plotW * i / (n - 1);
1505
1513
  };
1506
- const maxCost = Math.max(...data.map((d) => Math.max(d.cost, Object.values(d.byModel ?? {}).reduce((sum, v) => sum + v, 0))), 1e-4);
1514
+ const maxCost = metric === "tokens" ? Math.max(...data.map((d) => d.tokens ?? 0), 1e-4) : Math.max(...data.map((d) => Math.max(d.cost, Object.values(d.byModel ?? {}).reduce((sum, v) => sum + v, 0))), 1e-4);
1507
1515
  const yCost = (value) => PAD$2.top + plotH - value / maxCost * plotH;
1508
1516
  const maxCalls = Math.max(...data.map((d) => d.calls), 1);
1509
1517
  const yCalls = (value) => PAD$2.top + plotH - value / maxCalls * plotH;
@@ -1519,12 +1527,12 @@ window.__ModuleLoader__.load({
1519
1527
  barW,
1520
1528
  bars: data.flatMap((d, i) => {
1521
1529
  const x = inner(i) - barW / 2;
1522
- if (models.length === 0) return [{
1530
+ if (models.length === 0 || metric === "tokens") return [{
1523
1531
  date: d.date,
1524
1532
  model: TOTAL_MODEL,
1525
1533
  x,
1526
1534
  base: 0,
1527
- value: d.cost,
1535
+ value: valueOf(d),
1528
1536
  topRounded: true
1529
1537
  }];
1530
1538
  let topKey = null;
@@ -1563,7 +1571,11 @@ window.__ModuleLoader__.load({
1563
1571
  return `${i === 0 ? "M" : "L"}${inner(i)} ${y}`;
1564
1572
  }).join(" ")
1565
1573
  };
1566
- }, [data, models]);
1574
+ }, [
1575
+ data,
1576
+ models,
1577
+ metric
1578
+ ]);
1567
1579
  if (layout === null) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1568
1580
  className: UsageBilling_module_css_default.chartEmpty,
1569
1581
  children: "暂无趋势数据"
@@ -1602,7 +1614,7 @@ window.__ModuleLoader__.load({
1602
1614
  y: y + 3,
1603
1615
  textAnchor: "end",
1604
1616
  className: UsageBilling_module_css_default.chartAxisLabel,
1605
- children: money(value)
1617
+ children: axisOf(value)
1606
1618
  })] }, `cost-${idx}`);
1607
1619
  }),
1608
1620
  bars.map((bar) => {
@@ -1672,7 +1684,7 @@ window.__ModuleLoader__.load({
1672
1684
  className: UsageBilling_module_css_default.chartTooltipDate,
1673
1685
  children: activePoint.date
1674
1686
  }),
1675
- models.filter((model) => (activePoint.byModel?.[model.key] ?? 0) > 0).map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1687
+ metric !== "tokens" && models.filter((model) => (activePoint.byModel?.[model.key] ?? 0) > 0).map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1676
1688
  className: UsageBilling_module_css_default.chartTooltipRow,
1677
1689
  children: [
1678
1690
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
@@ -1689,7 +1701,7 @@ window.__ModuleLoader__.load({
1689
1701
  children: [
1690
1702
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: UsageBilling_module_css_default.chartLegendBar }),
1691
1703
  "总计 ",
1692
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: money(activePoint.cost) })
1704
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: metric === "tokens" ? shortNumber$1(activePoint.tokens ?? 0) : money(activePoint.cost) })
1693
1705
  ]
1694
1706
  }),
1695
1707
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -1702,7 +1714,7 @@ window.__ModuleLoader__.load({
1702
1714
  })
1703
1715
  ]
1704
1716
  }),
1705
- models.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1717
+ models.length > 0 && metric !== "tokens" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1706
1718
  className: UsageBilling_module_css_default.chartLegend,
1707
1719
  children: [models.map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1708
1720
  className: UsageBilling_module_css_default.chartTooltipSwatch,
@@ -3096,6 +3108,9 @@ window.__ModuleLoader__.load({
3096
3108
  "billing.trend": "每日费用与调用趋势",
3097
3109
  "billing.trend7d": "7 天",
3098
3110
  "billing.trend30d": "30 天",
3111
+ "billing.trendMetric": "趋势指标",
3112
+ "billing.trendMetricCost": "费用",
3113
+ "billing.trendMetricTokens": "Token",
3099
3114
  "billing.trendEmpty": "暂无趋势数据",
3100
3115
  "billing.budget": "本月预算",
3101
3116
  "billing.sessions": "会话明细",
@@ -3157,6 +3172,7 @@ window.__ModuleLoader__.load({
3157
3172
  "billing.floatNoTargetsHint": "暂无可选的订阅通道。",
3158
3173
  "billing.floatPrev": "上一张订阅",
3159
3174
  "billing.floatNext": "下一张订阅",
3175
+ "billing.subscriptionsStale": "订阅额度刷新失败,以下为缓存数据",
3160
3176
  "billing.heatmapLess": "少",
3161
3177
  "billing.heatmapMore": "多",
3162
3178
  "billing.currency": "币种",
@@ -3318,6 +3334,9 @@ window.__ModuleLoader__.load({
3318
3334
  "billing.trend": "Daily cost & calls",
3319
3335
  "billing.trend7d": "7D",
3320
3336
  "billing.trend30d": "30D",
3337
+ "billing.trendMetric": "Trend metric",
3338
+ "billing.trendMetricCost": "Cost",
3339
+ "billing.trendMetricTokens": "Tokens",
3321
3340
  "billing.trendEmpty": "No trend data yet",
3322
3341
  "billing.budget": "Monthly budget",
3323
3342
  "billing.sessions": "Sessions",
@@ -3379,6 +3398,7 @@ window.__ModuleLoader__.load({
3379
3398
  "billing.floatNoTargetsHint": "No subscription channel available.",
3380
3399
  "billing.floatPrev": "Previous subscription",
3381
3400
  "billing.floatNext": "Next subscription",
3401
+ "billing.subscriptionsStale": "Subscription refresh failed — showing cached data",
3382
3402
  "billing.heatmapLess": "Less",
3383
3403
  "billing.heatmapMore": "More",
3384
3404
  "billing.currency": "Currency",
@@ -4149,16 +4169,12 @@ window.__ModuleLoader__.load({
4149
4169
  * @returns the quota rows, or an empty list on any failure.
4150
4170
  */
4151
4171
  async function fetchSubscriptions() {
4152
- try {
4153
- const response = await fetch(SUBSCRIPTIONS_PATH$1);
4154
- if (!response.ok) return [];
4155
- const text = await response.text();
4156
- const parsed = JSON.parse(text);
4157
- if (parsed !== null && typeof parsed === "object" && "quotas" in parsed) return parsed.quotas;
4158
- return [];
4159
- } catch {
4160
- return [];
4161
- }
4172
+ const response = await fetch(SUBSCRIPTIONS_PATH$1);
4173
+ if (!response.ok) throw new Error(`subscriptions HTTP ${String(response.status)}`);
4174
+ const text = await response.text();
4175
+ const parsed = JSON.parse(text);
4176
+ if (parsed !== null && typeof parsed === "object" && "quotas" in parsed) return parsed.quotas;
4177
+ throw new Error("subscriptions: invalid response");
4162
4178
  }
4163
4179
  /**
4164
4180
  * 拉取中转站额度(New API / Sub2API 的余额与滚动窗口);失败返回空列表。
@@ -4209,113 +4225,22 @@ window.__ModuleLoader__.load({
4209
4225
  }
4210
4226
  }
4211
4227
  /**
4212
- * 完整订阅额度卡片(含进度条):dashboard 与「指定订阅卡」浮窗共用同一视觉。
4213
- * 只依赖单个 quota,不绑定厂商组;testid 与 dashboard 订阅卡一致。
4214
- */
4215
- function SubscriptionCardView({ quota, t, money }) {
4216
- const statusText = subscriptionStatusText(quota.status, t);
4217
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4218
- className: UsageBilling_module_css_default.subscriptionCard,
4219
- "data-testid": "billing-subscription-card",
4220
- children: [
4221
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4222
- className: UsageBilling_module_css_default.subscriptionHead,
4223
- children: [
4224
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4225
- className: UsageBilling_module_css_default.subscriptionName,
4226
- children: quota.displayName
4227
- }),
4228
- quota.planType === "code" && (() => {
4229
- const tier = tierInfoOf(quota.provider);
4230
- const tierFee = tier !== void 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", tier.currency === "USD" ? `$${tier.amount}` : `¥${tier.amount}`) : void 0;
4231
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4232
- className: UsageBilling_module_css_default.subscriptionPlan,
4233
- "data-kind": "code",
4234
- children: [
4235
- tierFee ?? (quota.subscriptionAmount !== void 0 && quota.subscriptionAmount > 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", money(quota.subscriptionAmount)) : t("billing.planTypeCode")),
4236
- tier?.label !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4237
- className: UsageBilling_module_css_default.subscriptionTier,
4238
- "data-testid": `billing-tier-${quota.provider}`,
4239
- children: tier.label
4240
- }),
4241
- tier !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4242
- className: UsageBilling_module_css_default.subscriptionAuto,
4243
- "data-testid": `billing-auto-${quota.provider}`,
4244
- children: t("billing.subscriptionAutoDetect")
4245
- })
4246
- ]
4247
- });
4248
- })(),
4249
- quota.planType === "token" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4250
- className: UsageBilling_module_css_default.subscriptionPlan,
4251
- "data-kind": "token",
4252
- children: t("billing.planTypeToken")
4253
- }),
4254
- quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4255
- className: UsageBilling_module_css_default.subscriptionPlan,
4256
- children: quota.plan
4257
- })
4258
- ]
4259
- }),
4260
- statusText !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4261
- className: UsageBilling_module_css_default.subscriptionStatus,
4262
- children: statusText
4263
- }),
4264
- quota.windows.length === 0 && statusText === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4265
- className: UsageBilling_module_css_default.subscriptionStatus,
4266
- children: t("billing.subscriptionNoApi")
4267
- }),
4268
- quota.windows.map((window) => (() => {
4269
- const used = Math.min(100, Math.max(0, window.usedPercent));
4270
- const exhausted = Math.min(100, Math.max(0, window.remainingPercent)) <= 0;
4271
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4272
- className: UsageBilling_module_css_default.subscriptionWindow,
4273
- children: [
4274
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4275
- className: UsageBilling_module_css_default.subscriptionWindowLabel,
4276
- children: subscriptionWindowLabel(window.kind, t)
4277
- }),
4278
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4279
- className: UsageBilling_module_css_default.subscriptionTrack,
4280
- "aria-hidden": "true",
4281
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4282
- className: clsx(UsageBilling_module_css_default.subscriptionFill, used >= 100 && UsageBilling_module_css_default.subscriptionFillOver, used >= 80 && used < 100 && UsageBilling_module_css_default.subscriptionFillWarn),
4283
- style: { width: `${used}%` }
4284
- })
4285
- }),
4286
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4287
- className: UsageBilling_module_css_default.subscriptionMeta,
4288
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4289
- className: clsx(UsageBilling_module_css_default.subscriptionPct, exhausted && UsageBilling_module_css_default.subscriptionExhausted),
4290
- children: exhausted ? t("billing.subscriptionExhausted") : t("billing.subscriptionRemaining").replace("{pct}", String(window.remainingPercent))
4291
- }), window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4292
- className: UsageBilling_module_css_default.subscriptionReset,
4293
- children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
4294
- })]
4295
- })
4296
- ]
4297
- }, window.kind);
4298
- })())
4299
- ]
4300
- });
4301
- }
4302
- /**
4303
4228
  * Sidebar footer trigger: compact pill in wide mode, icon in rail mode.
4304
4229
  * ZINE 模式下入口由主题插件的贴纸层承担,本触发器由 CSS
4305
4230
  * (body[data-zine-mode] 选择器)隐藏,组件本身无 zine 分支。
4306
4231
  * @param props - framework props plus `wide` column state.
4307
4232
  */
4308
4233
  function UsageBillingTrigger(props) {
4309
- const { wide, t, onOpen, monthCost, todayCost, weekCost, days, vendorStatus, dash, floatPrefs, subscriptions, money } = props;
4234
+ const { wide, t, onOpen, monthCost, todayCost, weekCost, days, vendorStatus, dash, floatPrefs, subscriptions } = props;
4310
4235
  const targetSubs = (0, react.useMemo)(() => floatPrefs.targets.map((id) => subscriptions.find((s) => s.provider === id)).filter((s) => s !== void 0), [floatPrefs.targets, subscriptions]);
4311
4236
  const [subIndex, setSubIndex] = (0, react.useState)(0);
4312
4237
  const effectiveSubIndex = targetSubs.length === 0 ? 0 : Math.min(subIndex, targetSubs.length - 1);
4313
4238
  const currentSub = targetSubs[effectiveSubIndex];
4314
- const stepSub = (delta) => {
4315
- const n = targetSubs.length;
4316
- if (n < 2) return;
4317
- setSubIndex((index) => (index + delta + n) % n);
4318
- };
4239
+ (0, react.useEffect)(() => {
4240
+ if (floatPrefs.mode !== "subscription" || targetSubs.length < 2) return;
4241
+ const timer = setInterval(() => setSubIndex((index) => (index + 1) % targetSubs.length), 1500);
4242
+ return () => clearInterval(timer);
4243
+ }, [floatPrefs.mode, targetSubs.length]);
4319
4244
  const cardIcon = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
4320
4245
  viewBox: "0 0 24 24",
4321
4246
  fill: "none",
@@ -4391,39 +4316,60 @@ window.__ModuleLoader__.load({
4391
4316
  children: floatPrefs.mode === "subscription" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: targetSubs.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4392
4317
  className: UsageBilling_module_css_default.triggerPopEmpty,
4393
4318
  children: t("billing.floatNoTargets")
4394
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [currentSub !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SubscriptionCardView, {
4395
- quota: currentSub,
4396
- t,
4397
- money
4398
- }), targetSubs.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4399
- className: UsageBilling_module_css_default.triggerPopSwitcher,
4400
- "data-testid": "billing-float-switcher",
4401
- children: [
4402
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
4403
- type: "button",
4404
- className: UsageBilling_module_css_default.triggerPopSwitchBtn,
4405
- "data-testid": "billing-float-prev",
4406
- onClick: () => stepSub(-1),
4407
- "aria-label": t("billing.floatPrev"),
4408
- children: "‹"
4409
- }),
4410
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4411
- className: UsageBilling_module_css_default.triggerPopSwitchCount,
4319
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [currentSub !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4320
+ className: UsageBilling_module_css_default.floatSub,
4321
+ "data-testid": "billing-float-subscription",
4322
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4323
+ className: UsageBilling_module_css_default.floatSubHead,
4324
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4325
+ className: UsageBilling_module_css_default.floatSubName,
4326
+ children: currentSub.displayName
4327
+ }), currentSub.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4328
+ className: UsageBilling_module_css_default.floatSubPlan,
4329
+ children: currentSub.plan
4330
+ })]
4331
+ }), currentSub.windows.map((window) => (() => {
4332
+ const used = Math.min(100, Math.max(0, window.usedPercent));
4333
+ const exhausted = Math.min(100, Math.max(0, window.remainingPercent)) <= 0;
4334
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4335
+ className: UsageBilling_module_css_default.subscriptionWindow,
4412
4336
  children: [
4413
- effectiveSubIndex + 1,
4414
- "/",
4415
- targetSubs.length
4337
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4338
+ className: UsageBilling_module_css_default.subscriptionWindowLabel,
4339
+ children: subscriptionWindowLabel(window.kind, t)
4340
+ }),
4341
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4342
+ className: UsageBilling_module_css_default.subscriptionTrack,
4343
+ "aria-hidden": "true",
4344
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4345
+ className: clsx(UsageBilling_module_css_default.subscriptionFill, used >= 100 && UsageBilling_module_css_default.subscriptionFillOver, used >= 80 && used < 100 && UsageBilling_module_css_default.subscriptionFillWarn),
4346
+ style: { width: `${used}%` }
4347
+ })
4348
+ }),
4349
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4350
+ className: UsageBilling_module_css_default.subscriptionMeta,
4351
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4352
+ className: clsx(UsageBilling_module_css_default.subscriptionPct, exhausted && UsageBilling_module_css_default.subscriptionExhausted),
4353
+ children: exhausted ? t("billing.subscriptionExhausted") : t("billing.subscriptionRemaining").replace("{pct}", String(window.remainingPercent))
4354
+ }), window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4355
+ className: UsageBilling_module_css_default.subscriptionReset,
4356
+ children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
4357
+ })]
4358
+ })
4416
4359
  ]
4417
- }),
4418
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
4419
- type: "button",
4420
- className: UsageBilling_module_css_default.triggerPopSwitchBtn,
4421
- "data-testid": "billing-float-next",
4422
- onClick: () => stepSub(1),
4423
- "aria-label": t("billing.floatNext"),
4424
- children: "›"
4425
- })
4426
- ]
4360
+ }, window.kind);
4361
+ })())]
4362
+ }), targetSubs.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4363
+ className: UsageBilling_module_css_default.triggerPopSwitcher,
4364
+ "data-testid": "billing-float-switcher",
4365
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4366
+ className: UsageBilling_module_css_default.triggerPopSwitchCount,
4367
+ children: [
4368
+ effectiveSubIndex + 1,
4369
+ "/",
4370
+ targetSubs.length
4371
+ ]
4372
+ })
4427
4373
  })] }) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4428
4374
  className: UsageBilling_module_css_default.triggerPopMetrics,
4429
4375
  children: [
@@ -4605,19 +4551,15 @@ window.__ModuleLoader__.load({
4605
4551
  })]
4606
4552
  });
4607
4553
  }
4608
- function BillingDashboard({ stats, t, onClose, health, balances, quotas, relayQuotas, currency, onCurrency, turns, renderSlot, budgetEnabled, budgetAmount, onToggleBudget, onBudgetAmount, peakConfig, onPeakConfig, onPreviewPeak, floatPrefs, onFloatPrefs }) {
4554
+ function BillingDashboard({ stats, t, onClose, health, balances, quotas, relayQuotas, currency, onCurrency, turns, renderSlot, budgetEnabled, budgetAmount, onToggleBudget, onBudgetAmount, peakConfig, onPeakConfig, onPreviewPeak, floatPrefs, onFloatPrefs, quotasStale }) {
4555
+ const [trendMetric, setTrendMetric] = (0, react.useState)("cost");
4609
4556
  const { total, byModel, byDay } = stats;
4610
4557
  const [tab, setTab] = (0, react.useState)("overview");
4611
4558
  const [trendDays, setTrendDays] = (0, react.useState)(7);
4612
- const subscriptionOptions = (0, react.useMemo)(() => {
4613
- const map = /* @__PURE__ */ new Map();
4614
- for (const id of Object.keys(SUBSCRIPTION_VENDORS)) map.set(id, SUBSCRIPTION_VENDORS[id] ?? id);
4615
- for (const quota of quotas) map.set(quota.provider, quota.displayName);
4616
- return [...map.entries()].map(([id, label]) => ({
4617
- id,
4618
- label
4619
- }));
4620
- }, [quotas]);
4559
+ const subscriptionOptions = (0, react.useMemo)(() => quotas.filter((quota) => quota.status === "ok" && quota.windows.length > 0).map((quota) => ({
4560
+ id: quota.provider,
4561
+ label: quota.displayName
4562
+ })), [quotas]);
4621
4563
  const [balanceDetailFor, setBalanceDetailFor] = (0, react.useState)();
4622
4564
  const [expandedProject, setExpandedProject] = (0, react.useState)();
4623
4565
  const [usageStatsEnabled, setUsageStatsEnabled] = (0, react.useState)(false);
@@ -4774,7 +4716,8 @@ window.__ModuleLoader__.load({
4774
4716
  date,
4775
4717
  cost: day?.cost ?? 0,
4776
4718
  calls: day?.calls ?? 0,
4777
- byModel
4719
+ byModel,
4720
+ tokens: day === void 0 ? 0 : day.input + day.output + day.cacheHit + day.cacheMiss
4778
4721
  };
4779
4722
  }), [
4780
4723
  trendDates,
@@ -5571,6 +5514,21 @@ window.__ModuleLoader__.load({
5571
5514
  children: days === 7 ? t("billing.trend7d") : t("billing.trend30d")
5572
5515
  }, days))
5573
5516
  }),
5517
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5518
+ className: UsageBilling_module_css_default.rangeToggle,
5519
+ role: "group",
5520
+ "aria-label": t("billing.trendMetric"),
5521
+ children: ["cost", "tokens"].map((m) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
5522
+ type: "button",
5523
+ className: clsx(UsageBilling_module_css_default.rangeButton, trendMetric === m && UsageBilling_module_css_default.rangeButtonActive),
5524
+ "aria-pressed": trendMetric === m,
5525
+ "data-testid": `billing-trend-metric-${m}`,
5526
+ onClick: () => {
5527
+ setTrendMetric(m);
5528
+ },
5529
+ children: m === "cost" ? t("billing.trendMetricCost") : t("billing.trendMetricTokens")
5530
+ }, m))
5531
+ }),
5574
5532
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5575
5533
  className: UsageBilling_module_css_default.panelHint,
5576
5534
  children: latestDate
@@ -5579,7 +5537,8 @@ window.__ModuleLoader__.load({
5579
5537
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TrendChart, {
5580
5538
  data: trend,
5581
5539
  models: chartModels,
5582
- currency
5540
+ currency,
5541
+ metric: trendMetric
5583
5542
  })]
5584
5543
  }),
5585
5544
  turns.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
@@ -5785,251 +5744,259 @@ window.__ModuleLoader__.load({
5785
5744
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
5786
5745
  className: UsageBilling_module_css_default.panel,
5787
5746
  "data-testid": "billing-panel-providers",
5788
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5789
- className: UsageBilling_module_css_default.panelHead,
5790
- children: [
5791
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
5792
- className: UsageBilling_module_css_default.panelTitle,
5793
- children: t("billing.providerBilling")
5794
- }),
5795
- renderSlot("billing.dashboard.decor", { position: "models" }),
5796
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5797
- className: UsageBilling_module_css_default.panelHint,
5798
- children: stats.updatedAt !== void 0 ? `${t("billing.lastUpdated")} ${formatClock(stats.updatedAt)}` : ""
5799
- })
5800
- ]
5801
- }), providerGroups.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5802
- className: UsageBilling_module_css_default.emptyRow,
5803
- "data-testid": "billing-provider-empty",
5804
- children: t("billing.noData")
5805
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5806
- className: UsageBilling_module_css_default.providerGroupList,
5807
- "data-testid": "billing-provider-groups",
5808
- children: providerGroups.map((group) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5809
- className: UsageBilling_module_css_default.providerGroup,
5810
- "data-testid": "billing-provider-group",
5747
+ children: [
5748
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5749
+ className: UsageBilling_module_css_default.panelHead,
5811
5750
  children: [
5812
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5813
- className: UsageBilling_module_css_default.providerGroupHead,
5814
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5815
- className: UsageBilling_module_css_default.providerGroupTitle,
5816
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5817
- className: clsx(UsageBilling_module_css_default.healthDot, group.dot),
5818
- "aria-hidden": "true"
5819
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5820
- className: UsageBilling_module_css_default.providerGroupName,
5821
- children: providerName(group.name)
5822
- })]
5823
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5824
- className: UsageBilling_module_css_default.providerGroupMeta,
5825
- children: [group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5826
- className: UsageBilling_module_css_default.providerGroupBadge,
5827
- "data-testid": "billing-provider-sub-count",
5828
- children: [group.subscriptions.length, " 套餐"]
5829
- }), !hideBalanceForGroup(group) && group.balance !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5830
- className: UsageBilling_module_css_default.providerGroupBalance,
5831
- "data-testid": "billing-provider-balance",
5751
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
5752
+ className: UsageBilling_module_css_default.panelTitle,
5753
+ children: t("billing.providerBilling")
5754
+ }),
5755
+ renderSlot("billing.dashboard.decor", { position: "models" }),
5756
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5757
+ className: UsageBilling_module_css_default.panelHint,
5758
+ children: stats.updatedAt !== void 0 ? `${t("billing.lastUpdated")} ${formatClock(stats.updatedAt)}` : ""
5759
+ })
5760
+ ]
5761
+ }),
5762
+ quotasStale && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5763
+ className: UsageBilling_module_css_default.staleNotice,
5764
+ "data-testid": "billing-subscriptions-stale",
5765
+ children: t("billing.subscriptionsStale")
5766
+ }),
5767
+ providerGroups.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5768
+ className: UsageBilling_module_css_default.emptyRow,
5769
+ "data-testid": "billing-provider-empty",
5770
+ children: t("billing.noData")
5771
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5772
+ className: UsageBilling_module_css_default.providerGroupList,
5773
+ "data-testid": "billing-provider-groups",
5774
+ children: providerGroups.map((group) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5775
+ className: UsageBilling_module_css_default.providerGroup,
5776
+ "data-testid": "billing-provider-group",
5777
+ children: [
5778
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5779
+ className: UsageBilling_module_css_default.providerGroupHead,
5780
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5781
+ className: UsageBilling_module_css_default.providerGroupTitle,
5832
5782
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5833
- className: UsageBilling_module_css_default.providerGroupBalanceLabel,
5834
- children: t("billing.balance")
5835
- }), renderBalance(group.balance)]
5783
+ className: clsx(UsageBilling_module_css_default.healthDot, group.dot),
5784
+ "aria-hidden": "true"
5785
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5786
+ className: UsageBilling_module_css_default.providerGroupName,
5787
+ children: providerName(group.name)
5788
+ })]
5789
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5790
+ className: UsageBilling_module_css_default.providerGroupMeta,
5791
+ children: [group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5792
+ className: UsageBilling_module_css_default.providerGroupBadge,
5793
+ "data-testid": "billing-provider-sub-count",
5794
+ children: [group.subscriptions.length, " 套餐"]
5795
+ }), !hideBalanceForGroup(group) && group.balance !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5796
+ className: UsageBilling_module_css_default.providerGroupBalance,
5797
+ "data-testid": "billing-provider-balance",
5798
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5799
+ className: UsageBilling_module_css_default.providerGroupBalanceLabel,
5800
+ children: t("billing.balance")
5801
+ }), renderBalance(group.balance)]
5802
+ })]
5836
5803
  })]
5837
- })]
5838
- }),
5839
- group.models.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5840
- className: clsx(UsageBilling_module_css_default.tableScroll, UsageBilling_module_css_default.modelTableScroll),
5841
- "data-testid": "billing-table-scroll",
5842
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("table", {
5843
- className: UsageBilling_module_css_default.modelTable,
5844
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5845
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("billing.model") }),
5846
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5847
- className: UsageBilling_module_css_default.numCol,
5848
- children: t("billing.calls")
5849
- }),
5850
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5851
- className: UsageBilling_module_css_default.numCol,
5852
- children: t("billing.inputTokens")
5853
- }),
5854
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5855
- className: UsageBilling_module_css_default.numCol,
5856
- children: t("billing.outputTokens")
5857
- }),
5858
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5859
- className: UsageBilling_module_css_default.numCol,
5860
- children: t("billing.cacheHitRate")
5861
- }),
5862
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5863
- className: UsageBilling_module_css_default.numCol,
5864
- children: t("billing.actual")
5865
- })
5866
- ] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: group.models.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5867
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5868
- className: UsageBilling_module_css_default.modelCell,
5869
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5870
- className: UsageBilling_module_css_default.modelName,
5871
- children: [
5872
- row.name,
5873
- row.uncatalogued && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5874
- className: UsageBilling_module_css_default.uncataloguedTag,
5875
- "data-testid": "billing-uncatalogued-tag",
5876
- children: t("billing.uncatalogued")
5877
- }),
5878
- row.estimatedPricing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5879
- className: UsageBilling_module_css_default.estimatedTag,
5880
- "data-testid": "billing-estimated-tag",
5881
- children: t("billing.estimatedPricing")
5882
- })
5883
- ]
5884
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5885
- className: UsageBilling_module_css_default.modelProvider,
5886
- children: providerName(row.provider)
5887
- })] })
5888
- }) }),
5889
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5890
- className: UsageBilling_module_css_default.numCol,
5891
- children: row.calls.toLocaleString()
5892
- }),
5893
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5894
- className: UsageBilling_module_css_default.numCol,
5895
- children: formatTokens(row.input)
5896
- }),
5897
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5898
- className: UsageBilling_module_css_default.numCol,
5899
- children: formatTokens(row.output)
5900
- }),
5901
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5902
- className: UsageBilling_module_css_default.numCol,
5903
- children: formatPercent(row.cacheHitRate)
5904
- }),
5905
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5906
- className: UsageBilling_module_css_default.numCol,
5907
- children: row.plan ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5908
- className: UsageBilling_module_css_default.planTag,
5909
- children: t("billing.subscriptionIncluded")
5910
- }) : row.actual !== void 0 ? (() => {
5911
- const official = row.officialCost;
5912
- const third = row.actual - official;
5913
- if (official > 0 && third > 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5914
- className: UsageBilling_module_css_default.bucketCost,
5804
+ }),
5805
+ group.models.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5806
+ className: clsx(UsageBilling_module_css_default.tableScroll, UsageBilling_module_css_default.modelTableScroll),
5807
+ "data-testid": "billing-table-scroll",
5808
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("table", {
5809
+ className: UsageBilling_module_css_default.modelTable,
5810
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5811
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("billing.model") }),
5812
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5813
+ className: UsageBilling_module_css_default.numCol,
5814
+ children: t("billing.calls")
5815
+ }),
5816
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5817
+ className: UsageBilling_module_css_default.numCol,
5818
+ children: t("billing.inputTokens")
5819
+ }),
5820
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5821
+ className: UsageBilling_module_css_default.numCol,
5822
+ children: t("billing.outputTokens")
5823
+ }),
5824
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5825
+ className: UsageBilling_module_css_default.numCol,
5826
+ children: t("billing.cacheHitRate")
5827
+ }),
5828
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5829
+ className: UsageBilling_module_css_default.numCol,
5830
+ children: t("billing.actual")
5831
+ })
5832
+ ] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: group.models.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5833
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5834
+ className: UsageBilling_module_css_default.modelCell,
5835
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5836
+ className: UsageBilling_module_css_default.modelName,
5915
5837
  children: [
5916
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5917
- className: UsageBilling_module_css_default.bucketOfficial,
5918
- children: money(official)
5919
- }),
5920
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5921
- className: UsageBilling_module_css_default.bucketSep,
5922
- children: "/"
5838
+ row.name,
5839
+ row.uncatalogued && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5840
+ className: UsageBilling_module_css_default.uncataloguedTag,
5841
+ "data-testid": "billing-uncatalogued-tag",
5842
+ children: t("billing.uncatalogued")
5923
5843
  }),
5924
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5925
- className: UsageBilling_module_css_default.bucketThird,
5926
- children: money(third)
5844
+ row.estimatedPricing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5845
+ className: UsageBilling_module_css_default.estimatedTag,
5846
+ "data-testid": "billing-estimated-tag",
5847
+ children: t("billing.estimatedPricing")
5927
5848
  })
5928
5849
  ]
5929
- });
5930
- return money(row.actual);
5931
- })() : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5932
- className: UsageBilling_module_css_default.na,
5933
- children: "—"
5934
- })
5935
- })
5936
- ] }, row.key)) })]
5937
- })
5938
- }),
5939
- group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5940
- className: UsageBilling_module_css_default.subscriptionGrid,
5941
- "data-testid": "billing-subscriptions-grid",
5942
- children: group.subscriptions.map((quota) => {
5943
- const statusText = subscriptionStatusText(quota.status, t);
5944
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5945
- className: UsageBilling_module_css_default.subscriptionCard,
5946
- "data-testid": "billing-subscription-card",
5947
- children: [
5948
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5949
- className: UsageBilling_module_css_default.subscriptionHead,
5950
- children: [
5951
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5952
- className: UsageBilling_module_css_default.subscriptionName,
5953
- children: providerName(quota.displayName)
5954
- }),
5955
- quota.planType === "code" && (() => {
5956
- const tier = tierInfoOf(quota.provider);
5957
- const tierFee = tier !== void 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", tier.currency === "USD" ? `$${tier.amount}` : `¥${tier.amount}`) : void 0;
5958
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5959
- className: UsageBilling_module_css_default.subscriptionPlan,
5960
- "data-kind": "code",
5961
- children: [
5962
- tierFee ?? (quota.subscriptionAmount !== void 0 && quota.subscriptionAmount > 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", money(quota.subscriptionAmount)) : t("billing.planTypeCode")),
5963
- tier?.label !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5964
- className: UsageBilling_module_css_default.subscriptionTier,
5965
- "data-testid": `billing-tier-${quota.provider}`,
5966
- children: tier.label
5967
- }),
5968
- tier !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5969
- className: UsageBilling_module_css_default.subscriptionAuto,
5970
- "data-testid": `billing-auto-${quota.provider}`,
5971
- children: t("billing.subscriptionAutoDetect")
5972
- })
5973
- ]
5974
- });
5975
- })(),
5976
- quota.planType === "token" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5977
- className: UsageBilling_module_css_default.subscriptionPlan,
5978
- "data-kind": "token",
5979
- children: t("billing.planTypeToken")
5980
- }),
5981
- quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5982
- className: UsageBilling_module_css_default.subscriptionPlan,
5983
- children: quota.plan
5984
- })
5985
- ]
5850
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5851
+ className: UsageBilling_module_css_default.modelProvider,
5852
+ children: providerName(row.provider)
5853
+ })] })
5854
+ }) }),
5855
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5856
+ className: UsageBilling_module_css_default.numCol,
5857
+ children: row.calls.toLocaleString()
5986
5858
  }),
5987
- statusText !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5988
- className: UsageBilling_module_css_default.subscriptionStatus,
5989
- children: statusText
5859
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5860
+ className: UsageBilling_module_css_default.numCol,
5861
+ children: formatTokens(row.input)
5990
5862
  }),
5991
- quota.windows.length === 0 && statusText === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5992
- className: UsageBilling_module_css_default.subscriptionStatus,
5993
- children: t("billing.subscriptionNoApi")
5863
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5864
+ className: UsageBilling_module_css_default.numCol,
5865
+ children: formatTokens(row.output)
5994
5866
  }),
5995
- quota.windows.map((window) => (() => {
5996
- const used = Math.min(100, Math.max(0, window.usedPercent));
5997
- const exhausted = Math.min(100, Math.max(0, window.remainingPercent)) <= 0;
5998
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5999
- className: UsageBilling_module_css_default.subscriptionWindow,
5867
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5868
+ className: UsageBilling_module_css_default.numCol,
5869
+ children: formatPercent(row.cacheHitRate)
5870
+ }),
5871
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5872
+ className: UsageBilling_module_css_default.numCol,
5873
+ children: row.plan ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5874
+ className: UsageBilling_module_css_default.planTag,
5875
+ children: t("billing.subscriptionIncluded")
5876
+ }) : row.actual !== void 0 ? (() => {
5877
+ const official = row.officialCost;
5878
+ const third = row.actual - official;
5879
+ if (official > 0 && third > 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5880
+ className: UsageBilling_module_css_default.bucketCost,
5881
+ children: [
5882
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5883
+ className: UsageBilling_module_css_default.bucketOfficial,
5884
+ children: money(official)
5885
+ }),
5886
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5887
+ className: UsageBilling_module_css_default.bucketSep,
5888
+ children: "/"
5889
+ }),
5890
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5891
+ className: UsageBilling_module_css_default.bucketThird,
5892
+ children: money(third)
5893
+ })
5894
+ ]
5895
+ });
5896
+ return money(row.actual);
5897
+ })() : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5898
+ className: UsageBilling_module_css_default.na,
5899
+ children: "—"
5900
+ })
5901
+ })
5902
+ ] }, row.key)) })]
5903
+ })
5904
+ }),
5905
+ group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5906
+ className: UsageBilling_module_css_default.subscriptionGrid,
5907
+ "data-testid": "billing-subscriptions-grid",
5908
+ children: group.subscriptions.map((quota) => {
5909
+ const statusText = subscriptionStatusText(quota.status, t);
5910
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5911
+ className: UsageBilling_module_css_default.subscriptionCard,
5912
+ "data-testid": "billing-subscription-card",
5913
+ children: [
5914
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5915
+ className: UsageBilling_module_css_default.subscriptionHead,
6000
5916
  children: [
6001
5917
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6002
- className: UsageBilling_module_css_default.subscriptionWindowLabel,
6003
- children: subscriptionWindowLabel(window.kind, t)
5918
+ className: UsageBilling_module_css_default.subscriptionName,
5919
+ children: providerName(quota.displayName)
6004
5920
  }),
6005
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6006
- className: UsageBilling_module_css_default.subscriptionTrack,
6007
- "aria-hidden": "true",
6008
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6009
- className: clsx(UsageBilling_module_css_default.subscriptionFill, used >= 100 && UsageBilling_module_css_default.subscriptionFillOver, used >= 80 && used < 100 && UsageBilling_module_css_default.subscriptionFillWarn),
6010
- style: { width: `${used}%` }
6011
- })
5921
+ quota.planType === "code" && (() => {
5922
+ const tier = tierInfoOf(quota.provider);
5923
+ const tierFee = tier !== void 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", tier.currency === "USD" ? `$${tier.amount}` : `¥${tier.amount}`) : void 0;
5924
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5925
+ className: UsageBilling_module_css_default.subscriptionPlan,
5926
+ "data-kind": "code",
5927
+ children: [
5928
+ tierFee ?? (quota.subscriptionAmount !== void 0 && quota.subscriptionAmount > 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", money(quota.subscriptionAmount)) : t("billing.planTypeCode")),
5929
+ tier?.label !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5930
+ className: UsageBilling_module_css_default.subscriptionTier,
5931
+ "data-testid": `billing-tier-${quota.provider}`,
5932
+ children: tier.label
5933
+ }),
5934
+ tier !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5935
+ className: UsageBilling_module_css_default.subscriptionAuto,
5936
+ "data-testid": `billing-auto-${quota.provider}`,
5937
+ children: t("billing.subscriptionAutoDetect")
5938
+ })
5939
+ ]
5940
+ });
5941
+ })(),
5942
+ quota.planType === "token" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5943
+ className: UsageBilling_module_css_default.subscriptionPlan,
5944
+ "data-kind": "token",
5945
+ children: t("billing.planTypeToken")
6012
5946
  }),
6013
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
6014
- className: UsageBilling_module_css_default.subscriptionMeta,
6015
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6016
- className: clsx(UsageBilling_module_css_default.subscriptionPct, exhausted && UsageBilling_module_css_default.subscriptionExhausted),
6017
- children: exhausted ? t("billing.subscriptionExhausted") : t("billing.subscriptionRemaining").replace("{pct}", String(window.remainingPercent))
6018
- }), window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6019
- className: UsageBilling_module_css_default.subscriptionReset,
6020
- children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
6021
- })]
5947
+ quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5948
+ className: UsageBilling_module_css_default.subscriptionPlan,
5949
+ children: quota.plan
6022
5950
  })
6023
5951
  ]
6024
- }, window.kind);
6025
- })())
6026
- ]
6027
- }, quota.provider);
5952
+ }),
5953
+ statusText !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5954
+ className: UsageBilling_module_css_default.subscriptionStatus,
5955
+ children: statusText
5956
+ }),
5957
+ quota.windows.length === 0 && statusText === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5958
+ className: UsageBilling_module_css_default.subscriptionStatus,
5959
+ children: t("billing.subscriptionNoApi")
5960
+ }),
5961
+ quota.windows.map((window) => (() => {
5962
+ const used = Math.min(100, Math.max(0, window.usedPercent));
5963
+ const exhausted = Math.min(100, Math.max(0, window.remainingPercent)) <= 0;
5964
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5965
+ className: UsageBilling_module_css_default.subscriptionWindow,
5966
+ children: [
5967
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5968
+ className: UsageBilling_module_css_default.subscriptionWindowLabel,
5969
+ children: subscriptionWindowLabel(window.kind, t)
5970
+ }),
5971
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5972
+ className: UsageBilling_module_css_default.subscriptionTrack,
5973
+ "aria-hidden": "true",
5974
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5975
+ className: clsx(UsageBilling_module_css_default.subscriptionFill, used >= 100 && UsageBilling_module_css_default.subscriptionFillOver, used >= 80 && used < 100 && UsageBilling_module_css_default.subscriptionFillWarn),
5976
+ style: { width: `${used}%` }
5977
+ })
5978
+ }),
5979
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5980
+ className: UsageBilling_module_css_default.subscriptionMeta,
5981
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5982
+ className: clsx(UsageBilling_module_css_default.subscriptionPct, exhausted && UsageBilling_module_css_default.subscriptionExhausted),
5983
+ children: exhausted ? t("billing.subscriptionExhausted") : t("billing.subscriptionRemaining").replace("{pct}", String(window.remainingPercent))
5984
+ }), window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5985
+ className: UsageBilling_module_css_default.subscriptionReset,
5986
+ children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
5987
+ })]
5988
+ })
5989
+ ]
5990
+ }, window.kind);
5991
+ })())
5992
+ ]
5993
+ }, quota.provider);
5994
+ })
6028
5995
  })
6029
- })
6030
- ]
6031
- }, group.name))
6032
- })]
5996
+ ]
5997
+ }, group.name))
5998
+ })
5999
+ ]
6033
6000
  }),
6034
6001
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6035
6002
  className: UsageBilling_module_css_default.exportBar,
@@ -6515,9 +6482,9 @@ window.__ModuleLoader__.load({
6515
6482
  const [health, setHealth] = (0, react.useState)(IDLE_HEALTH);
6516
6483
  const [balances, setBalances] = (0, react.useState)([]);
6517
6484
  const [quotas, setQuotas] = (0, react.useState)([]);
6485
+ const [quotasStale, setQuotasStale] = (0, react.useState)(false);
6518
6486
  const [relayQuotas, setRelayQuotas] = (0, react.useState)([]);
6519
6487
  const [currency, setCurrency] = (0, react.useState)("cny");
6520
- const money = (cny) => formatMoney(currency === "usd" ? cnyToUsd(cny) : cny, currency);
6521
6488
  const [floatPrefs, setFloatPrefs] = (0, react.useState)(() => loadFloatWindowPrefs());
6522
6489
  const updateFloatPrefs = (0, react.useCallback)((next) => {
6523
6490
  setFloatPrefs(next);
@@ -6543,7 +6510,12 @@ window.__ModuleLoader__.load({
6543
6510
  if (list.length > 0) setBalances(list);
6544
6511
  });
6545
6512
  fetchSubscriptions().then((list) => {
6546
- if (list.length > 0) setQuotas(list);
6513
+ if (list.length > 0) {
6514
+ setQuotas(list);
6515
+ setQuotasStale(false);
6516
+ } else setQuotasStale(false);
6517
+ }).catch(() => {
6518
+ setQuotasStale(true);
6547
6519
  });
6548
6520
  fetchRelayQuotas().then((list) => {
6549
6521
  if (list.length > 0) setRelayQuotas(list);
@@ -6783,8 +6755,7 @@ window.__ModuleLoader__.load({
6783
6755
  vendorStatus,
6784
6756
  dash,
6785
6757
  floatPrefs,
6786
- subscriptions: quotas,
6787
- money
6758
+ subscriptions: quotas
6788
6759
  }),
6789
6760
  open && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BillingDashboard, {
6790
6761
  stats,
@@ -6806,7 +6777,8 @@ window.__ModuleLoader__.load({
6806
6777
  onPeakConfig: updatePeakConfig,
6807
6778
  onPreviewPeak: previewPeak,
6808
6779
  floatPrefs,
6809
- onFloatPrefs: updateFloatPrefs
6780
+ onFloatPrefs: updateFloatPrefs,
6781
+ quotasStale
6810
6782
  }),
6811
6783
  (peakHit !== null || peakPreview !== null) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PeakAlertBanner, {
6812
6784
  hit: peakHit ?? peakPreview,