@kenz1117/dsh-ui-usage-billing 0.9.16 → 0.9.18

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<=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_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_reconcileNotice{border:1px solid color-mix(in srgb, var(--dsw-alias-border-l1) 78%, transparent);background:color-mix(in srgb, var(--dsw-alias-bg-layer-2) 62%, transparent);color:var(--dsw-alias-label-secondary);border-radius:10px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:12px;line-height:1.55;display:flex}.VWh0dG_reconcileIcon{color:var(--dsw-alias-label-tertiary);flex:none;margin-top:1px;display:inline-flex}.VWh0dG_reconcileText{flex:1}.VWh0dG_reconcileDismiss{color:var(--dsw-alias-label-tertiary);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;flex:none;padding:2px 8px;font-size:12px;line-height:1.4;transition:color .15s,background-color .15s}.VWh0dG_reconcileDismiss:hover{color:var(--dsw-alias-label-primary);background:color-mix(in srgb, var(--dsw-alias-label-primary) 8%, transparent)}.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-primary);font-size:13px;font-weight:600}.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_heatmapRangeSwitch{gap:4px;margin-left:auto;display:inline-flex}.VWh0dG_heatmapRangeButton{border:1px solid var(--dsw-alias-border-l1);color:var(--dsw-alias-text-secondary);cursor:pointer;background:0 0;border-radius:6px;padding:2px 8px;font-size:11px;line-height:1.4}.VWh0dG_heatmapRangeButtonActive{color:var(--dsw-alias-text-primary);border-color:currentColor;font-weight:600}.VWh0dG_heatmapYear{flex-direction:column;gap:6px;display:flex}.VWh0dG_heatmapYearBody{align-items:flex-start;gap:6px;display:flex}.VWh0dG_heatmapYearWeekdays{color:var(--dsw-alias-text-tertiary);flex:none;grid-template-rows:repeat(7,11px);gap:3px;padding-top:12px;font-size:9px;line-height:11px;display:grid}.VWh0dG_heatmapYearWeekday{white-space:nowrap;text-align:right;height:11px}.VWh0dG_heatmapYearMonths{min-width:max-content;color:var(--dsw-alias-text-tertiary);grid-template-columns:repeat(52,11px);gap:3px;font-size:9px;line-height:12px;display:grid;overflow:visible}.VWh0dG_heatmapYearMonth{white-space:nowrap;overflow:visible}.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,333 +63,347 @@ window.__ModuleLoader__.load({
63
63
  document.head.appendChild(tag);
64
64
  }
65
65
  var UsageBilling_module_css_default = {
66
- "subscriptionGoldFlow": "VWh0dG_subscriptionGoldFlow",
67
- "triggerPopAlert": "VWh0dG_triggerPopAlert",
68
- "heroSideValue": "VWh0dG_heroSideValue",
69
- "balanceDays": "VWh0dG_balanceDays",
70
- "floatSub": "VWh0dG_floatSub",
71
- "currencyButton": "VWh0dG_currencyButton",
72
- "deltaUp": "VWh0dG_deltaUp",
73
- "floatSubPlan": "VWh0dG_floatSubPlan",
74
- "triggerSpark": "VWh0dG_triggerSpark",
75
- "shareSegPeak": "VWh0dG_shareSegPeak",
76
- "tabNav": "VWh0dG_tabNav",
77
- "panelTitle": "VWh0dG_panelTitle",
78
- "unpricedHint": "VWh0dG_unpricedHint",
79
- "budgetInput": "VWh0dG_budgetInput",
80
- "balanceDetailClose": "VWh0dG_balanceDetailClose",
81
- "triggerPopUpdated": "VWh0dG_triggerPopUpdated",
82
- "triggerSparkHot": "VWh0dG_triggerSparkHot",
83
- "balanceDaysLow": "VWh0dG_balanceDaysLow",
84
- "providerGroupBalance": "VWh0dG_providerGroupBalance",
85
- "subscriptionWindow": "VWh0dG_subscriptionWindow",
86
- "triggerPopLabel": "VWh0dG_triggerPopLabel",
87
- "budgetFillOver": "VWh0dG_budgetFillOver",
88
- "siteRow": "VWh0dG_siteRow",
89
- "budgetInputWrap": "VWh0dG_budgetInputWrap",
90
- "siteRowCalls": "VWh0dG_siteRowCalls",
91
- "peakAlertSelect": "VWh0dG_peakAlertSelect",
92
- "providerGroupHead": "VWh0dG_providerGroupHead",
93
- "modelTableScroll": "VWh0dG_modelTableScroll",
94
- "switchKnob": "VWh0dG_switchKnob",
66
+ "kpiGreen": "VWh0dG_kpiGreen",
95
67
  "tokenModelBar": "VWh0dG_tokenModelBar",
96
- "triggerPopFootStatus": "VWh0dG_triggerPopFootStatus",
97
- "shareSeg": "VWh0dG_shareSeg",
98
- "triggerPopFoot": "VWh0dG_triggerPopFoot",
99
- "heroGaugeSvg": "VWh0dG_heroGaugeSvg",
100
- "currencyButtonActive": "VWh0dG_currencyButtonActive",
101
- "subscriptionAuto": "VWh0dG_subscriptionAuto",
102
- "roundsEmpty": "VWh0dG_roundsEmpty",
103
- "headTitleRow": "VWh0dG_headTitleRow",
104
- "uncataloguedTag": "VWh0dG_uncataloguedTag",
105
- "subscriptionHead": "VWh0dG_subscriptionHead",
106
- "budgetLabel": "VWh0dG_budgetLabel",
107
- "rounds": "VWh0dG_rounds",
108
- "budgetUnit": "VWh0dG_budgetUnit",
109
- "pricingChevron": "VWh0dG_pricingChevron",
110
- "roundsFlagBadge": "VWh0dG_roundsFlagBadge",
111
- "numCol": "VWh0dG_numCol",
112
- "roundsBarColPeak": "VWh0dG_roundsBarColPeak",
113
- "heatmapYearCell": "VWh0dG_heatmapYearCell",
114
- "shareSegUser": "VWh0dG_shareSegUser",
115
- "heatmapCellEmpty": "VWh0dG_heatmapCellEmpty",
116
- "liveTierOff": "VWh0dG_liveTierOff",
117
- "peakAlertHint": "VWh0dG_peakAlertHint",
118
68
  "peakAlertPeak": "VWh0dG_peakAlertPeak",
119
- "healthBad": "VWh0dG_healthBad",
120
- "subscriptionStatus": "VWh0dG_subscriptionStatus",
121
- "subscriptionMeta": "VWh0dG_subscriptionMeta",
122
- "triggerSparkBar": "VWh0dG_triggerSparkBar",
123
- "roundsBars": "VWh0dG_roundsBars",
124
- "balanceDetailValue": "VWh0dG_balanceDetailValue",
125
- "kpiLabel": "VWh0dG_kpiLabel",
126
- "siteRowName": "VWh0dG_siteRowName",
127
- "roundsBarCol": "VWh0dG_roundsBarCol",
128
- "triggerPopBadgeDirect": "VWh0dG_triggerPopBadgeDirect",
129
- "tabButton": "VWh0dG_tabButton",
130
- "triggerPopFootNote": "VWh0dG_triggerPopFootNote",
131
- "healthDot": "VWh0dG_healthDot",
132
- "bucketSep": "VWh0dG_bucketSep",
133
- "floatModeRow": "VWh0dG_floatModeRow",
69
+ "triggerPopMetricValue": "VWh0dG_triggerPopMetricValue",
134
70
  "switchOn": "VWh0dG_switchOn",
135
- "peakAlertPreview": "VWh0dG_peakAlertPreview",
136
- "rangeButtonActive": "VWh0dG_rangeButtonActive",
137
- "floatModeBtnOn": "VWh0dG_floatModeBtnOn",
138
- "shareSegOff": "VWh0dG_shareSegOff",
139
- "liveTierPeak": "VWh0dG_liveTierPeak",
140
- "roundsBarWrap": "VWh0dG_roundsBarWrap",
141
- "roundsAxis": "VWh0dG_roundsAxis",
142
- "costCol": "VWh0dG_costCol",
143
- "bandTag": "VWh0dG_bandTag",
144
- "subscriptionTrack": "VWh0dG_subscriptionTrack",
145
- "rangeButton": "VWh0dG_rangeButton",
146
- "heroGaugeCenter": "VWh0dG_heroGaugeCenter",
147
- "budgetValue": "VWh0dG_budgetValue",
148
- "chartTooltipDate": "VWh0dG_chartTooltipDate",
149
- "delta": "VWh0dG_delta",
150
- "triggerSub": "VWh0dG_triggerSub",
151
- "triggerPopFootTitle": "VWh0dG_triggerPopFootTitle",
152
- "pricingTable": "VWh0dG_pricingTable",
153
- "kpiValue": "VWh0dG_kpiValue",
154
- "siteKindUnknown": "VWh0dG_siteKindUnknown",
155
- "dashboardModal": "VWh0dG_dashboardModal",
156
- "estimatedTag": "VWh0dG_estimatedTag",
157
- "subscriptionPct": "VWh0dG_subscriptionPct",
71
+ "tabPanelIn": "VWh0dG_tabPanelIn",
72
+ "subscriptionFillOver": "VWh0dG_subscriptionFillOver",
73
+ "budgetHint": "VWh0dG_budgetHint",
74
+ "triggerPopBadgeDirect": "VWh0dG_triggerPopBadgeDirect",
75
+ "chartStack": "VWh0dG_chartStack",
158
76
  "roundsBarLabel": "VWh0dG_roundsBarLabel",
159
- "roundsBar": "VWh0dG_roundsBar",
160
- "heatmap": "VWh0dG_heatmap",
161
- "heatmapGrid": "VWh0dG_heatmapGrid",
162
- "floatModeBtn": "VWh0dG_floatModeBtn",
163
- "peakAlert": "VWh0dG_peakAlert",
164
- "peakAlertClose": "VWh0dG_peakAlertClose",
165
- "exportLabel": "VWh0dG_exportLabel",
166
- "chartEmpty": "VWh0dG_chartEmpty",
77
+ "heatmapYearWeekday": "VWh0dG_heatmapYearWeekday",
78
+ "healthOk": "VWh0dG_healthOk",
79
+ "balanceDetailClose": "VWh0dG_balanceDetailClose",
80
+ "shareSegAssistant": "VWh0dG_shareSegAssistant",
81
+ "pricingTable": "VWh0dG_pricingTable",
82
+ "unpricedHint": "VWh0dG_unpricedHint",
83
+ "chartLegend": "VWh0dG_chartLegend",
84
+ "budgetValue": "VWh0dG_budgetValue",
85
+ "roundsBarColPeak": "VWh0dG_roundsBarColPeak",
86
+ "subscriptionMeta": "VWh0dG_subscriptionMeta",
87
+ "roundsFlagBadge": "VWh0dG_roundsFlagBadge",
88
+ "numCol": "VWh0dG_numCol",
89
+ "providerGroupBalanceLabel": "VWh0dG_providerGroupBalanceLabel",
90
+ "triggerPopSwitchBtn": "VWh0dG_triggerPopSwitchBtn",
91
+ "shareValue": "VWh0dG_shareValue",
167
92
  "trigger": "VWh0dG_trigger",
168
- "subscriptionFillWarn": "VWh0dG_subscriptionFillWarn",
169
- "billing-trigger": "VWh0dG_billing-trigger",
170
93
  "triggerPopMetricLabel": "VWh0dG_triggerPopMetricLabel",
171
- "exportButton": "VWh0dG_exportButton",
172
- "triggerPopSubscription": "VWh0dG_triggerPopSubscription",
173
- "kpiGreen": "VWh0dG_kpiGreen",
174
- "healthBadgeOk": "VWh0dG_healthBadgeOk",
175
- "peakAlertCountdown": "VWh0dG_peakAlertCountdown",
176
- "heatmapFooter": "VWh0dG_heatmapFooter",
177
- "siteKindDirect": "VWh0dG_siteKindDirect",
178
- "subscriptionTier": "VWh0dG_subscriptionTier",
179
- "triggerPopRow": "VWh0dG_triggerPopRow",
180
- "closeButton": "VWh0dG_closeButton",
181
- "tokenModelPartIn": "VWh0dG_tokenModelPartIn",
182
- "rateBadgeLive": "VWh0dG_rateBadgeLive",
183
- "providerGroupName": "VWh0dG_providerGroupName",
184
- "peakAlertPanelBody": "VWh0dG_peakAlertPanelBody",
185
- "chartLegend": "VWh0dG_chartLegend",
186
- "healthBadgeBad": "VWh0dG_healthBadgeBad",
187
- "tabPanelIn": "VWh0dG_tabPanelIn",
94
+ "dashboardTitle": "VWh0dG_dashboardTitle",
95
+ "healthBad": "VWh0dG_healthBad",
96
+ "subscriptionGrid": "VWh0dG_subscriptionGrid",
97
+ "subscriptionWindowLabel": "VWh0dG_subscriptionWindowLabel",
98
+ "balanceDays": "VWh0dG_balanceDays",
99
+ "heatmap": "VWh0dG_heatmap",
100
+ "heatmapYearMonths": "VWh0dG_heatmapYearMonths",
101
+ "budget": "VWh0dG_budget",
102
+ "chartLine": "VWh0dG_chartLine",
103
+ "floatSubName": "VWh0dG_floatSubName",
104
+ "bucketOfficial": "VWh0dG_bucketOfficial",
105
+ "currencyButtonActive": "VWh0dG_currencyButtonActive",
106
+ "heroSideLabel": "VWh0dG_heroSideLabel",
107
+ "triggerSpark": "VWh0dG_triggerSpark",
108
+ "siteRowCost": "VWh0dG_siteRowCost",
109
+ "bandPrice": "VWh0dG_bandPrice",
188
110
  "tableScroll": "VWh0dG_tableScroll",
111
+ "shareSegPeak": "VWh0dG_shareSegPeak",
112
+ "bandTagOff": "VWh0dG_bandTagOff",
113
+ "siteRowMeta": "VWh0dG_siteRowMeta",
114
+ "railButton": "VWh0dG_railButton",
115
+ "dashboardHead": "VWh0dG_dashboardHead",
116
+ "subscriptionTrack": "VWh0dG_subscriptionTrack",
117
+ "tokenModelPartOut": "VWh0dG_tokenModelPartOut",
189
118
  "heatmapHover": "VWh0dG_heatmapHover",
190
- "rateBadgeBuiltin": "VWh0dG_rateBadgeBuiltin",
191
- "heroGaugeTrack": "VWh0dG_heroGaugeTrack",
192
- "heatmapCell": "VWh0dG_heatmapCell",
193
- "chartBarPlaceholder": "VWh0dG_chartBarPlaceholder",
194
- "healthIdle": "VWh0dG_healthIdle",
195
- "liveCostSep": "VWh0dG_liveCostSep",
196
- "triggerPopSwitchCount": "VWh0dG_triggerPopSwitchCount",
197
- "peakAlertCorner": "VWh0dG_peakAlertCorner",
198
- "triggerIcon": "VWh0dG_triggerIcon",
199
- "shareTrack": "VWh0dG_shareTrack",
200
- "pluginInfoRow": "VWh0dG_pluginInfoRow",
201
- "heroSideItem": "VWh0dG_heroSideItem",
202
- "triggerPopStrong": "VWh0dG_triggerPopStrong",
203
- "dashboardIn": "VWh0dG_dashboardIn",
204
- "balanceDetailTitle": "VWh0dG_balanceDetailTitle",
205
- "triggerPopBars": "VWh0dG_triggerPopBars",
119
+ "liveTierOff": "VWh0dG_liveTierOff",
206
120
  "floatTargets": "VWh0dG_floatTargets",
207
- "tokenModelShareRow": "VWh0dG_tokenModelShareRow",
121
+ "balanceDetailRow": "VWh0dG_balanceDetailRow",
122
+ "flatTag": "VWh0dG_flatTag",
123
+ "dashboardIn": "VWh0dG_dashboardIn",
124
+ "tokenPanel": "VWh0dG_tokenPanel",
125
+ "peakAlertPanelLabel": "VWh0dG_peakAlertPanelLabel",
126
+ "triggerIcon": "VWh0dG_triggerIcon",
127
+ "bucketStatSub": "VWh0dG_bucketStatSub",
128
+ "shareSegTool": "VWh0dG_shareSegTool",
129
+ "providerGroupMeta": "VWh0dG_providerGroupMeta",
130
+ "heroGaugePctOver": "VWh0dG_heroGaugePctOver",
131
+ "subscriptionPct": "VWh0dG_subscriptionPct",
132
+ "shareSegOff": "VWh0dG_shareSegOff",
133
+ "deltaUp": "VWh0dG_deltaUp",
134
+ "estimatedTag": "VWh0dG_estimatedTag",
208
135
  "siteRowTitle": "VWh0dG_siteRowTitle",
209
- "subscriptionCard": "VWh0dG_subscriptionCard",
210
- "subscriptionWindowLabel": "VWh0dG_subscriptionWindowLabel",
211
- "heroCurrency": "VWh0dG_heroCurrency",
136
+ "balanceDaysBadgeLow": "VWh0dG_balanceDaysBadgeLow",
137
+ "triggerPopMetricHighlight": "VWh0dG_triggerPopMetricHighlight",
138
+ "chartTooltip": "VWh0dG_chartTooltip",
139
+ "healthIdle": "VWh0dG_healthIdle",
140
+ "subscriptionFill": "VWh0dG_subscriptionFill",
141
+ "heatmapCell": "VWh0dG_heatmapCell",
142
+ "peakAlertCheck": "VWh0dG_peakAlertCheck",
143
+ "floatSub": "VWh0dG_floatSub",
144
+ "shareLegend": "VWh0dG_shareLegend",
145
+ "peakAlert": "VWh0dG_peakAlert",
146
+ "triggerSparkHot": "VWh0dG_triggerSparkHot",
147
+ "triggerPopTitle": "VWh0dG_triggerPopTitle",
212
148
  "heroGaugePct": "VWh0dG_heroGaugePct",
213
- "budgetTrack": "VWh0dG_budgetTrack",
214
- "balanceDetailGrid": "VWh0dG_balanceDetailGrid",
215
- "tabPanel": "VWh0dG_tabPanel",
216
- "na": "VWh0dG_na",
217
- "chartSvg": "VWh0dG_chartSvg",
149
+ "modelCell": "VWh0dG_modelCell",
150
+ "floatModeRow": "VWh0dG_floatModeRow",
151
+ "triggerPopName": "VWh0dG_triggerPopName",
152
+ "siteKindDirect": "VWh0dG_siteKindDirect",
153
+ "shareSegUser": "VWh0dG_shareSegUser",
154
+ "heatmapFooter": "VWh0dG_heatmapFooter",
155
+ "roundsBar": "VWh0dG_roundsBar",
156
+ "heatmapLegend": "VWh0dG_heatmapLegend",
218
157
  "triggerPopFootNotes": "VWh0dG_triggerPopFootNotes",
219
- "triggerPopTitleMonth": "VWh0dG_triggerPopTitleMonth",
220
- "budgetControls": "VWh0dG_budgetControls",
221
- "budgetHint": "VWh0dG_budgetHint",
222
- "settingsHead": "VWh0dG_settingsHead",
223
- "bandTagOff": "VWh0dG_bandTagOff",
224
- "dashboardHead": "VWh0dG_dashboardHead",
225
- "providerGroupMeta": "VWh0dG_providerGroupMeta",
158
+ "panelHint": "VWh0dG_panelHint",
159
+ "rateBadgeLive": "VWh0dG_rateBadgeLive",
160
+ "chartLegendLine": "VWh0dG_chartLegendLine",
161
+ "pricingChevron": "VWh0dG_pricingChevron",
162
+ "closeButton": "VWh0dG_closeButton",
163
+ "exportLabel": "VWh0dG_exportLabel",
164
+ "liveQuotaCrit": "VWh0dG_liveQuotaCrit",
226
165
  "heatmapYearGrid": "VWh0dG_heatmapYearGrid",
227
- "pluginInfoLink": "VWh0dG_pluginInfoLink",
228
- "providerGroup": "VWh0dG_providerGroup",
229
- "peakAlertPanel": "VWh0dG_peakAlertPanel",
230
- "peakAlertPanelHead": "VWh0dG_peakAlertPanelHead",
231
- "balanceDaysBadge": "VWh0dG_balanceDaysBadge",
232
- "peakAlertPanelLabel": "VWh0dG_peakAlertPanelLabel",
233
- "balanceDetailHead": "VWh0dG_balanceDetailHead",
234
- "triggerBody": "VWh0dG_triggerBody",
235
- "heroReadout": "VWh0dG_heroReadout",
236
- "liveCostItem": "VWh0dG_liveCostItem",
237
- "peakAlertField": "VWh0dG_peakAlertField",
238
- "pricingChevronOpen": "VWh0dG_pricingChevronOpen",
239
- "bucketSummary": "VWh0dG_bucketSummary",
240
- "budgetHead": "VWh0dG_budgetHead",
241
- "triggerPopSwitchBtn": "VWh0dG_triggerPopSwitchBtn",
242
- "healthBadge": "VWh0dG_healthBadge",
243
- "dashboardSubtitle": "VWh0dG_dashboardSubtitle",
244
- "siteRowMeta": "VWh0dG_siteRowMeta",
245
- "flatTag": "VWh0dG_flatTag",
246
- "balanceCell": "VWh0dG_balanceCell",
247
- "chartTooltipSwatch": "VWh0dG_chartTooltipSwatch",
248
- "tokenModelPartOut": "VWh0dG_tokenModelPartOut",
166
+ "budgetFillOver": "VWh0dG_budgetFillOver",
167
+ "healthBadgeOk": "VWh0dG_healthBadgeOk",
168
+ "triggerPopFootStatus": "VWh0dG_triggerPopFootStatus",
169
+ "shareItem": "VWh0dG_shareItem",
170
+ "kpiDetail": "VWh0dG_kpiDetail",
171
+ "triggerPopMetric": "VWh0dG_triggerPopMetric",
172
+ "peakAlertClose": "VWh0dG_peakAlertClose",
173
+ "triggerRow": "VWh0dG_triggerRow",
174
+ "bucketThird": "VWh0dG_bucketThird",
175
+ "balanceDetailPop": "VWh0dG_balanceDetailPop",
176
+ "panelTitle": "VWh0dG_panelTitle",
177
+ "heatmapYearMonth": "VWh0dG_heatmapYearMonth",
178
+ "tokenModelParts": "VWh0dG_tokenModelParts",
179
+ "exportButton": "VWh0dG_exportButton",
180
+ "peakAlertSelect": "VWh0dG_peakAlertSelect",
181
+ "reconcileNotice": "VWh0dG_reconcileNotice",
182
+ "exportBar": "VWh0dG_exportBar",
183
+ "triggerPopFootStrong": "VWh0dG_triggerPopFootStrong",
184
+ "heatmapRangeSwitch": "VWh0dG_heatmapRangeSwitch",
185
+ "triggerAmount": "VWh0dG_triggerAmount",
186
+ "kpiLabel": "VWh0dG_kpiLabel",
187
+ "triggerSparkBar": "VWh0dG_triggerSparkBar",
188
+ "triggerPopStrong": "VWh0dG_triggerPopStrong",
189
+ "heatmapYear": "VWh0dG_heatmapYear",
190
+ "heroCurrency": "VWh0dG_heroCurrency",
191
+ "settingsTitle": "VWh0dG_settingsTitle",
192
+ "subscriptionTier": "VWh0dG_subscriptionTier",
193
+ "triggerPopSwitcher": "VWh0dG_triggerPopSwitcher",
194
+ "panelHead": "VWh0dG_panelHead",
195
+ "tabButtonActive": "VWh0dG_tabButtonActive",
196
+ "liveTierPeak": "VWh0dG_liveTierPeak",
197
+ "heatmapYearScroll": "VWh0dG_heatmapYearScroll",
198
+ "chartTooltipRow": "VWh0dG_chartTooltipRow",
199
+ "pricingToggle": "VWh0dG_pricingToggle",
200
+ "emptyRow": "VWh0dG_emptyRow",
201
+ "triggerPopSwitchCount": "VWh0dG_triggerPopSwitchCount",
202
+ "reconcileDismiss": "VWh0dG_reconcileDismiss",
203
+ "triggerPopFootTitle": "VWh0dG_triggerPopFootTitle",
249
204
  "heroSideSpacer": "VWh0dG_heroSideSpacer",
250
- "dashboardTitle": "VWh0dG_dashboardTitle",
251
- "heroLabel": "VWh0dG_heroLabel",
252
- "railButton": "VWh0dG_railButton",
253
- "peakAlertNum": "VWh0dG_peakAlertNum",
254
- "kpiGrid": "VWh0dG_kpiGrid",
205
+ "uncataloguedTag": "VWh0dG_uncataloguedTag",
206
+ "rateBadge": "VWh0dG_rateBadge",
207
+ "subscriptionName": "VWh0dG_subscriptionName",
208
+ "tabNav": "VWh0dG_tabNav",
209
+ "rangeButton": "VWh0dG_rangeButton",
255
210
  "heroMeta": "VWh0dG_heroMeta",
256
- "triggerPopMetric": "VWh0dG_triggerPopMetric",
257
- "triggerPopFootStrong": "VWh0dG_triggerPopFootStrong",
258
- "modelDot": "VWh0dG_modelDot",
259
- "triggerPopValueStack": "VWh0dG_triggerPopValueStack",
260
- "modelProvider": "VWh0dG_modelProvider",
261
- "providerGroupBadge": "VWh0dG_providerGroupBadge",
262
- "roundsBarColOff": "VWh0dG_roundsBarColOff",
263
- "panelHint": "VWh0dG_panelHint",
264
- "floatSubName": "VWh0dG_floatSubName",
265
- "shareSegTool": "VWh0dG_shareSegTool",
266
- "triggerPopFootStatusLow": "VWh0dG_triggerPopFootStatusLow",
267
- "budget": "VWh0dG_budget",
268
- "pluginInfoValue": "VWh0dG_pluginInfoValue",
269
- "siteKindSite": "VWh0dG_siteKindSite",
270
- "chartWrap": "VWh0dG_chartWrap",
271
- "bucketCost": "VWh0dG_bucketCost",
272
- "heroGaugePctOver": "VWh0dG_heroGaugePctOver",
211
+ "switchKnob": "VWh0dG_switchKnob",
212
+ "heatmapYearWeekdays": "VWh0dG_heatmapYearWeekdays",
213
+ "planTag": "VWh0dG_planTag",
214
+ "heroGaugeSvg": "VWh0dG_heroGaugeSvg",
215
+ "shareTrack": "VWh0dG_shareTrack",
216
+ "heatmapGrid": "VWh0dG_heatmapGrid",
217
+ "floatSubPlan": "VWh0dG_floatSubPlan",
218
+ "triggerPop": "VWh0dG_triggerPop",
219
+ "roundsAxis": "VWh0dG_roundsAxis",
220
+ "pluginInfoRow": "VWh0dG_pluginInfoRow",
221
+ "triggerSub": "VWh0dG_triggerSub",
222
+ "heroLabel": "VWh0dG_heroLabel",
223
+ "peakAlertText": "VWh0dG_peakAlertText",
224
+ "bucketStatValue": "VWh0dG_bucketStatValue",
225
+ "costCol": "VWh0dG_costCol",
226
+ "delta": "VWh0dG_delta",
227
+ "modelTableScroll": "VWh0dG_modelTableScroll",
228
+ "settingsHint": "VWh0dG_settingsHint",
229
+ "bucketSep": "VWh0dG_bucketSep",
230
+ "chartLegendBar": "VWh0dG_chartLegendBar",
231
+ "peakAlertPanel": "VWh0dG_peakAlertPanel",
232
+ "heatmapCellEmpty": "VWh0dG_heatmapCellEmpty",
273
233
  "chartBar": "VWh0dG_chartBar",
274
- "subscriptionGrid": "VWh0dG_subscriptionGrid",
275
- "tokenModelParts": "VWh0dG_tokenModelParts",
276
- "kpiDetail": "VWh0dG_kpiDetail",
277
- "subscriptionName": "VWh0dG_subscriptionName",
278
- "heroSide": "VWh0dG_heroSide",
279
- "triggerWrap": "VWh0dG_triggerWrap",
280
- "shareValue": "VWh0dG_shareValue",
281
- "budgetOverPulse": "VWh0dG_budgetOverPulse",
282
- "chartTooltip": "VWh0dG_chartTooltip",
283
- "heroTop": "VWh0dG_heroTop",
284
- "rateBadge": "VWh0dG_rateBadge",
285
- "balanceDetailPop": "VWh0dG_balanceDetailPop",
234
+ "triggerPopValueStack": "VWh0dG_triggerPopValueStack",
286
235
  "dashboardRight": "VWh0dG_dashboardRight",
287
- "heroGaugeArcOver": "VWh0dG_heroGaugeArcOver",
288
- "triggerPopOpenBtn": "VWh0dG_triggerPopOpenBtn",
289
- "roundsBarFlagged": "VWh0dG_roundsBarFlagged",
290
- "hero": "VWh0dG_hero",
291
- "peakAlertText": "VWh0dG_peakAlertText",
236
+ "healthBadgeBad": "VWh0dG_healthBadgeBad",
237
+ "liveCostBar": "VWh0dG_liveCostBar",
238
+ "liveCostItem": "VWh0dG_liveCostItem",
239
+ "providerGroupBalance": "VWh0dG_providerGroupBalance",
240
+ "peakAlertPreview": "VWh0dG_peakAlertPreview",
241
+ "siteRow": "VWh0dG_siteRow",
292
242
  "pricingToggleText": "VWh0dG_pricingToggleText",
293
- "currencyToggle": "VWh0dG_currencyToggle",
294
- "balanceDetailLabel": "VWh0dG_balanceDetailLabel",
295
- "deltaDown": "VWh0dG_deltaDown",
296
- "chartLine": "VWh0dG_chartLine",
297
- "triggerPop": "VWh0dG_triggerPop",
298
- "panelHead": "VWh0dG_panelHead",
299
- "chartDot": "VWh0dG_chartDot",
300
- "chartLegendBar": "VWh0dG_chartLegendBar",
301
- "modelCell": "VWh0dG_modelCell",
302
- "floatTarget": "VWh0dG_floatTarget",
303
- "planTag": "VWh0dG_planTag",
304
- "emptyRow": "VWh0dG_emptyRow",
305
- "triggerAmount": "VWh0dG_triggerAmount",
306
- "bucketStatSub": "VWh0dG_bucketStatSub",
307
- "shareLegend": "VWh0dG_shareLegend",
308
- "pricingToggle": "VWh0dG_pricingToggle",
243
+ "chartTooltipSwatch": "VWh0dG_chartTooltipSwatch",
244
+ "subscriptionExhausted": "VWh0dG_subscriptionExhausted",
245
+ "budgetTrack": "VWh0dG_budgetTrack",
246
+ "reconcileText": "VWh0dG_reconcileText",
247
+ "triggerPopLabel": "VWh0dG_triggerPopLabel",
248
+ "subscriptionAuto": "VWh0dG_subscriptionAuto",
309
249
  "peakAlertIn": "VWh0dG_peakAlertIn",
310
- "heroGauge": "VWh0dG_heroGauge",
311
- "chartAxisLabel": "VWh0dG_chartAxisLabel",
312
- "providerGroupBalanceLabel": "VWh0dG_providerGroupBalanceLabel",
313
- "heatmapYearScroll": "VWh0dG_heatmapYearScroll",
314
- "triggerPopBadge": "VWh0dG_triggerPopBadge",
315
- "triggerPopMetrics": "VWh0dG_triggerPopMetrics",
316
- "bucketOfficial": "VWh0dG_bucketOfficial",
317
- "bucketStatLabel": "VWh0dG_bucketStatLabel",
318
- "tokenPanel": "VWh0dG_tokenPanel",
319
- "chartStack": "VWh0dG_chartStack",
320
- "bucketThird": "VWh0dG_bucketThird",
321
- "triggerPopValue": "VWh0dG_triggerPopValue",
322
- "subscriptionFill": "VWh0dG_subscriptionFill",
323
- "triggerPopTitle": "VWh0dG_triggerPopTitle",
324
- "pluginInfo": "VWh0dG_pluginInfo",
325
- "pluginInfoLabel": "VWh0dG_pluginInfoLabel",
326
- "peakAlertTag": "VWh0dG_peakAlertTag",
327
- "peakAlertCheck": "VWh0dG_peakAlertCheck",
250
+ "kpiGrid": "VWh0dG_kpiGrid",
251
+ "peakAlertCountdown": "VWh0dG_peakAlertCountdown",
252
+ "settingsHead": "VWh0dG_settingsHead",
253
+ "roundsBarColOff": "VWh0dG_roundsBarColOff",
328
254
  "heroValue": "VWh0dG_heroValue",
329
255
  "bucketStat": "VWh0dG_bucketStat",
330
- "shareDot": "VWh0dG_shareDot",
331
- "modelTable": "VWh0dG_modelTable",
332
- "heroSideLabel": "VWh0dG_heroSideLabel",
333
- "exportBar": "VWh0dG_exportBar",
334
- "chartLegendLine": "VWh0dG_chartLegendLine",
335
- "subscriptionExhausted": "VWh0dG_subscriptionExhausted",
336
- "subscriptionFillOver": "VWh0dG_subscriptionFillOver",
337
- "kpiTile": "VWh0dG_kpiTile",
338
- "panel": "VWh0dG_panel",
339
- "heroGaugeArc": "VWh0dG_heroGaugeArc",
256
+ "balanceCell": "VWh0dG_balanceCell",
340
257
  "siteKindTag": "VWh0dG_siteKindTag",
341
- "triggerPopBar": "VWh0dG_triggerPopBar",
342
- "providerGroupList": "VWh0dG_providerGroupList",
343
- "dashboard": "VWh0dG_dashboard",
344
- "triggerRow": "VWh0dG_triggerRow",
345
- "budgetFill": "VWh0dG_budgetFill",
258
+ "triggerPopFootStatusLow": "VWh0dG_triggerPopFootStatusLow",
259
+ "modelTable": "VWh0dG_modelTable",
260
+ "roundsBarWrap": "VWh0dG_roundsBarWrap",
261
+ "heatmapYearCell": "VWh0dG_heatmapYearCell",
262
+ "heatmapRangeButtonActive": "VWh0dG_heatmapRangeButtonActive",
346
263
  "siteRowCallsLow": "VWh0dG_siteRowCallsLow",
347
- "triggerPopMetricValue": "VWh0dG_triggerPopMetricValue",
348
- "triggerPopFootName": "VWh0dG_triggerPopFootName",
349
- "triggerPopHead": "VWh0dG_triggerPopHead",
350
- "budgetFillWarn": "VWh0dG_budgetFillWarn",
351
- "siteRowCost": "VWh0dG_siteRowCost",
352
- "shareSegAssistant": "VWh0dG_shareSegAssistant",
353
- "triggerPopEmpty": "VWh0dG_triggerPopEmpty",
354
- "chartTooltipRow": "VWh0dG_chartTooltipRow",
355
- "triggerPopMetricHighlight": "VWh0dG_triggerPopMetricHighlight",
264
+ "providerGroupBadge": "VWh0dG_providerGroupBadge",
265
+ "kpiValue": "VWh0dG_kpiValue",
266
+ "triggerBody": "VWh0dG_triggerBody",
267
+ "bucketSummary": "VWh0dG_bucketSummary",
268
+ "dashboardSubtitle": "VWh0dG_dashboardSubtitle",
269
+ "peakAlertNum": "VWh0dG_peakAlertNum",
270
+ "modelProvider": "VWh0dG_modelProvider",
271
+ "peakAlertPanelHead": "VWh0dG_peakAlertPanelHead",
356
272
  "chartGrid": "VWh0dG_chartGrid",
357
273
  "rangeToggle": "VWh0dG_rangeToggle",
358
- "healthOk": "VWh0dG_healthOk",
359
- "triggerPopName": "VWh0dG_triggerPopName",
360
- "pricingTip": "VWh0dG_pricingTip",
361
- "liveQuotaCrit": "VWh0dG_liveQuotaCrit",
362
- "balanceDetailRow": "VWh0dG_balanceDetailRow",
363
- "dashboardBody": "VWh0dG_dashboardBody",
364
- "tabButtonActive": "VWh0dG_tabButtonActive",
365
- "bandPriceOff": "VWh0dG_bandPriceOff",
366
274
  "chartCrosshair": "VWh0dG_chartCrosshair",
367
- "balanceDaysBadgeLow": "VWh0dG_balanceDaysBadgeLow",
368
- "subscriptionPlan": "VWh0dG_subscriptionPlan",
275
+ "peakAlertField": "VWh0dG_peakAlertField",
276
+ "roundsFlagMark": "VWh0dG_roundsFlagMark",
277
+ "triggerPopAlert": "VWh0dG_triggerPopAlert",
278
+ "dashboardBody": "VWh0dG_dashboardBody",
279
+ "dashboard": "VWh0dG_dashboard",
280
+ "rounds": "VWh0dG_rounds",
281
+ "triggerPopHead": "VWh0dG_triggerPopHead",
282
+ "panel": "VWh0dG_panel",
283
+ "balanceDetailGrid": "VWh0dG_balanceDetailGrid",
284
+ "providerGroupHead": "VWh0dG_providerGroupHead",
369
285
  "peakAlertOff": "VWh0dG_peakAlertOff",
370
- "settingsHint": "VWh0dG_settingsHint",
286
+ "peakAlertTag": "VWh0dG_peakAlertTag",
287
+ "subscriptionReset": "VWh0dG_subscriptionReset",
288
+ "heroTop": "VWh0dG_heroTop",
289
+ "tokenModelShareRow": "VWh0dG_tokenModelShareRow",
290
+ "heroGaugeTrack": "VWh0dG_heroGaugeTrack",
291
+ "pricingTip": "VWh0dG_pricingTip",
292
+ "switch": "VWh0dG_switch",
293
+ "hero": "VWh0dG_hero",
294
+ "na": "VWh0dG_na",
295
+ "balanceDetailValue": "VWh0dG_balanceDetailValue",
296
+ "triggerPopSubscription": "VWh0dG_triggerPopSubscription",
297
+ "subscriptionHead": "VWh0dG_subscriptionHead",
298
+ "triggerPopBadgeSub": "VWh0dG_triggerPopBadgeSub",
299
+ "providerGroup": "VWh0dG_providerGroup",
300
+ "budgetFill": "VWh0dG_budgetFill",
301
+ "chartWrap": "VWh0dG_chartWrap",
302
+ "floatModeBtnOn": "VWh0dG_floatModeBtnOn",
303
+ "heroGaugeCenter": "VWh0dG_heroGaugeCenter",
304
+ "dashboardModal": "VWh0dG_dashboardModal",
305
+ "healthDot": "VWh0dG_healthDot",
306
+ "healthBadge": "VWh0dG_healthBadge",
307
+ "liveCostSep": "VWh0dG_liveCostSep",
308
+ "heroGaugeArc": "VWh0dG_heroGaugeArc",
309
+ "triggerPopUpdated": "VWh0dG_triggerPopUpdated",
310
+ "bandPriceOff": "VWh0dG_bandPriceOff",
311
+ "heatmapYearBody": "VWh0dG_heatmapYearBody",
312
+ "deltaDown": "VWh0dG_deltaDown",
313
+ "heroGaugeArcOver": "VWh0dG_heroGaugeArcOver",
314
+ "balanceDaysLow": "VWh0dG_balanceDaysLow",
315
+ "kpiTile": "VWh0dG_kpiTile",
316
+ "providerGroupName": "VWh0dG_providerGroupName",
317
+ "floatTarget": "VWh0dG_floatTarget",
318
+ "pricingChevronOpen": "VWh0dG_pricingChevronOpen",
319
+ "triggerPopFootNote": "VWh0dG_triggerPopFootNote",
320
+ "siteRowCalls": "VWh0dG_siteRowCalls",
321
+ "balanceDaysBadge": "VWh0dG_balanceDaysBadge",
322
+ "roundsBarFlagged": "VWh0dG_roundsBarFlagged",
323
+ "tokenModelPartIn": "VWh0dG_tokenModelPartIn",
324
+ "trendPanel": "VWh0dG_trendPanel",
325
+ "currencyButton": "VWh0dG_currencyButton",
326
+ "bandTag": "VWh0dG_bandTag",
327
+ "heroReadout": "VWh0dG_heroReadout",
328
+ "floatSubHead": "VWh0dG_floatSubHead",
329
+ "peakAlertHint": "VWh0dG_peakAlertHint",
330
+ "floatTargetLabel": "VWh0dG_floatTargetLabel",
331
+ "subscriptionWindow": "VWh0dG_subscriptionWindow",
332
+ "heroMain": "VWh0dG_heroMain",
333
+ "budgetLabel": "VWh0dG_budgetLabel",
334
+ "triggerPopMetrics": "VWh0dG_triggerPopMetrics",
335
+ "triggerPopOpenBtn": "VWh0dG_triggerPopOpenBtn",
336
+ "budgetHead": "VWh0dG_budgetHead",
337
+ "roundsEmpty": "VWh0dG_roundsEmpty",
338
+ "tabPanel": "VWh0dG_tabPanel",
339
+ "reconcileIcon": "VWh0dG_reconcileIcon",
340
+ "billing-trigger": "VWh0dG_billing-trigger",
341
+ "chartAxisLabel": "VWh0dG_chartAxisLabel",
342
+ "triggerPopRow": "VWh0dG_triggerPopRow",
343
+ "chartSvg": "VWh0dG_chartSvg",
344
+ "providerGroupList": "VWh0dG_providerGroupList",
345
+ "providerGroupTitle": "VWh0dG_providerGroupTitle",
346
+ "triggerPopEmpty": "VWh0dG_triggerPopEmpty",
347
+ "triggerMeta": "VWh0dG_triggerMeta",
348
+ "triggerPopFoot": "VWh0dG_triggerPopFoot",
349
+ "rangeButtonActive": "VWh0dG_rangeButtonActive",
350
+ "heroSide": "VWh0dG_heroSide",
351
+ "chartDot": "VWh0dG_chartDot",
352
+ "subscriptionCard": "VWh0dG_subscriptionCard",
353
+ "subscriptionStatus": "VWh0dG_subscriptionStatus",
354
+ "budgetInputWrap": "VWh0dG_budgetInputWrap",
355
+ "triggerWrap": "VWh0dG_triggerWrap",
356
+ "triggerPopBars": "VWh0dG_triggerPopBars",
357
+ "triggerPopValue": "VWh0dG_triggerPopValue",
358
+ "balanceDetailHead": "VWh0dG_balanceDetailHead",
359
+ "pluginInfoLink": "VWh0dG_pluginInfoLink",
360
+ "pluginInfo": "VWh0dG_pluginInfo",
361
+ "currencyToggle": "VWh0dG_currencyToggle",
362
+ "peakAlertCorner": "VWh0dG_peakAlertCorner",
363
+ "heatmapRangeButton": "VWh0dG_heatmapRangeButton",
364
+ "shareDot": "VWh0dG_shareDot",
365
+ "heroSideItem": "VWh0dG_heroSideItem",
366
+ "bucketStatLabel": "VWh0dG_bucketStatLabel",
367
+ "modelDot": "VWh0dG_modelDot",
368
+ "subscriptionGoldFlow": "VWh0dG_subscriptionGoldFlow",
371
369
  "triggerPopMuted": "VWh0dG_triggerPopMuted",
372
- "triggerMeta": "VWh0dG_triggerMeta",
373
- "bucketStatValue": "VWh0dG_bucketStatValue",
374
- "liveCostBar": "VWh0dG_liveCostBar",
375
- "floatTargetLabel": "VWh0dG_floatTargetLabel",
376
- "heroMain": "VWh0dG_heroMain",
377
- "bandPrice": "VWh0dG_bandPrice",
378
- "providerGroupTitle": "VWh0dG_providerGroupTitle",
379
- "floatSubHead": "VWh0dG_floatSubHead",
380
- "triggerPopSwitcher": "VWh0dG_triggerPopSwitcher",
381
- "switch": "VWh0dG_switch",
382
- "subscriptionReset": "VWh0dG_subscriptionReset",
383
- "shareItem": "VWh0dG_shareItem",
370
+ "siteKindSite": "VWh0dG_siteKindSite",
371
+ "headTitleRow": "VWh0dG_headTitleRow",
372
+ "pluginInfoLabel": "VWh0dG_pluginInfoLabel",
384
373
  "peakAlertCenter": "VWh0dG_peakAlertCenter",
385
374
  "liveQuotaWarn": "VWh0dG_liveQuotaWarn",
386
- "trendPanel": "VWh0dG_trendPanel",
375
+ "peakAlertPanelBody": "VWh0dG_peakAlertPanelBody",
376
+ "budgetControls": "VWh0dG_budgetControls",
377
+ "triggerPopTitleMonth": "VWh0dG_triggerPopTitleMonth",
387
378
  "modelName": "VWh0dG_modelName",
388
- "triggerPopBadgeSub": "VWh0dG_triggerPopBadgeSub",
389
- "heatmapLegend": "VWh0dG_heatmapLegend",
390
- "settingsTitle": "VWh0dG_settingsTitle",
379
+ "shareSeg": "VWh0dG_shareSeg",
380
+ "budgetInput": "VWh0dG_budgetInput",
381
+ "tabButton": "VWh0dG_tabButton",
382
+ "balanceDetailTitle": "VWh0dG_balanceDetailTitle",
383
+ "triggerPopFootName": "VWh0dG_triggerPopFootName",
384
+ "siteRowName": "VWh0dG_siteRowName",
385
+ "subscriptionFillWarn": "VWh0dG_subscriptionFillWarn",
391
386
  "heroGaugeLabel": "VWh0dG_heroGaugeLabel",
392
- "roundsFlagMark": "VWh0dG_roundsFlagMark"
387
+ "siteKindUnknown": "VWh0dG_siteKindUnknown",
388
+ "budgetOverPulse": "VWh0dG_budgetOverPulse",
389
+ "roundsBars": "VWh0dG_roundsBars",
390
+ "bucketCost": "VWh0dG_bucketCost",
391
+ "budgetUnit": "VWh0dG_budgetUnit",
392
+ "chartBarPlaceholder": "VWh0dG_chartBarPlaceholder",
393
+ "balanceDetailLabel": "VWh0dG_balanceDetailLabel",
394
+ "triggerPopBar": "VWh0dG_triggerPopBar",
395
+ "floatModeBtn": "VWh0dG_floatModeBtn",
396
+ "rateBadgeBuiltin": "VWh0dG_rateBadgeBuiltin",
397
+ "budgetFillWarn": "VWh0dG_budgetFillWarn",
398
+ "heroGauge": "VWh0dG_heroGauge",
399
+ "heroSideValue": "VWh0dG_heroSideValue",
400
+ "triggerPopBadge": "VWh0dG_triggerPopBadge",
401
+ "staleNotice": "VWh0dG_staleNotice",
402
+ "chartTooltipDate": "VWh0dG_chartTooltipDate",
403
+ "subscriptionPlan": "VWh0dG_subscriptionPlan",
404
+ "roundsBarCol": "VWh0dG_roundsBarCol",
405
+ "pluginInfoValue": "VWh0dG_pluginInfoValue",
406
+ "chartEmpty": "VWh0dG_chartEmpty"
393
407
  };
394
408
  //#endregion
395
409
  //#region src/client/plan-knowledge.ts
@@ -1490,14 +1504,17 @@ window.__ModuleLoader__.load({
1490
1504
  color: ""
1491
1505
  };
1492
1506
  /**
1493
- * Render the daily stacked cost bars plus the total-calls line.
1507
+ * Render the daily bars plus the total-calls line.
1494
1508
  * @param props.data - sorted daily rows (ascending date).
1495
- * @param props.models - the model legend, in bar order.
1509
+ * @param props.models - the model legend, in bar order (used by the `cost` metric).
1496
1510
  * @param props.currency - display currency for the cost labels.
1511
+ * @param props.metric - `cost` (stacked per-model CNY, default) or `tokens` (single-color total tokens).
1497
1512
  */
1498
- function TrendChart({ data, models = [], currency = "cny" }) {
1513
+ function TrendChart({ data, models = [], currency = "cny", metric = "cost" }) {
1499
1514
  const [hover, setHover] = (0, react.useState)(null);
1500
1515
  const money = (cny) => formatMoney(currency === "usd" ? cnyToUsd(cny) : cny, currency);
1516
+ const axisOf = (value) => metric === "tokens" ? shortNumber$1(value) : money(value);
1517
+ const valueOf = (d) => metric === "tokens" ? d.tokens ?? 0 : d.cost;
1501
1518
  const layout = (0, react.useMemo)(() => {
1502
1519
  const n = data.length;
1503
1520
  if (n === 0) return null;
@@ -1507,7 +1524,7 @@ window.__ModuleLoader__.load({
1507
1524
  if (n === 1) return PAD$2.left + plotW / 2;
1508
1525
  return PAD$2.left + plotW * i / (n - 1);
1509
1526
  };
1510
- const maxCost = Math.max(...data.map((d) => Math.max(d.cost, Object.values(d.byModel ?? {}).reduce((sum, v) => sum + v, 0))), 1e-4);
1527
+ 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);
1511
1528
  const yCost = (value) => PAD$2.top + plotH - value / maxCost * plotH;
1512
1529
  const maxCalls = Math.max(...data.map((d) => d.calls), 1);
1513
1530
  const yCalls = (value) => PAD$2.top + plotH - value / maxCalls * plotH;
@@ -1523,12 +1540,12 @@ window.__ModuleLoader__.load({
1523
1540
  barW,
1524
1541
  bars: data.flatMap((d, i) => {
1525
1542
  const x = inner(i) - barW / 2;
1526
- if (models.length === 0) return [{
1543
+ if (models.length === 0 || metric === "tokens") return [{
1527
1544
  date: d.date,
1528
1545
  model: TOTAL_MODEL,
1529
1546
  x,
1530
1547
  base: 0,
1531
- value: d.cost,
1548
+ value: valueOf(d),
1532
1549
  topRounded: true
1533
1550
  }];
1534
1551
  let topKey = null;
@@ -1567,7 +1584,11 @@ window.__ModuleLoader__.load({
1567
1584
  return `${i === 0 ? "M" : "L"}${inner(i)} ${y}`;
1568
1585
  }).join(" ")
1569
1586
  };
1570
- }, [data, models]);
1587
+ }, [
1588
+ data,
1589
+ models,
1590
+ metric
1591
+ ]);
1571
1592
  if (layout === null) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1572
1593
  className: UsageBilling_module_css_default.chartEmpty,
1573
1594
  children: "暂无趋势数据"
@@ -1606,7 +1627,7 @@ window.__ModuleLoader__.load({
1606
1627
  y: y + 3,
1607
1628
  textAnchor: "end",
1608
1629
  className: UsageBilling_module_css_default.chartAxisLabel,
1609
- children: money(value)
1630
+ children: axisOf(value)
1610
1631
  })] }, `cost-${idx}`);
1611
1632
  }),
1612
1633
  bars.map((bar) => {
@@ -1676,7 +1697,7 @@ window.__ModuleLoader__.load({
1676
1697
  className: UsageBilling_module_css_default.chartTooltipDate,
1677
1698
  children: activePoint.date
1678
1699
  }),
1679
- models.filter((model) => (activePoint.byModel?.[model.key] ?? 0) > 0).map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1700
+ metric !== "tokens" && models.filter((model) => (activePoint.byModel?.[model.key] ?? 0) > 0).map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1680
1701
  className: UsageBilling_module_css_default.chartTooltipRow,
1681
1702
  children: [
1682
1703
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
@@ -1693,7 +1714,7 @@ window.__ModuleLoader__.load({
1693
1714
  children: [
1694
1715
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: UsageBilling_module_css_default.chartLegendBar }),
1695
1716
  "总计 ",
1696
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: money(activePoint.cost) })
1717
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: metric === "tokens" ? shortNumber$1(activePoint.tokens ?? 0) : money(activePoint.cost) })
1697
1718
  ]
1698
1719
  }),
1699
1720
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -1706,7 +1727,7 @@ window.__ModuleLoader__.load({
1706
1727
  })
1707
1728
  ]
1708
1729
  }),
1709
- models.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1730
+ models.length > 0 && metric !== "tokens" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1710
1731
  className: UsageBilling_module_css_default.chartLegend,
1711
1732
  children: [models.map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1712
1733
  className: UsageBilling_module_css_default.chartTooltipSwatch,
@@ -2710,6 +2731,21 @@ window.__ModuleLoader__.load({
2710
2731
  "color-mix(in srgb, var(--dsw-static-green-500) 70%, var(--dsw-alias-bg-layer-2))",
2711
2732
  "var(--dsw-static-green-500)"
2712
2733
  ];
2734
+ /** 月份缩写(年度热力图横轴标签,GitHub 风格)。 */
2735
+ const MONTH_ABBR = [
2736
+ "Jan",
2737
+ "Feb",
2738
+ "Mar",
2739
+ "Apr",
2740
+ "May",
2741
+ "Jun",
2742
+ "Jul",
2743
+ "Aug",
2744
+ "Sep",
2745
+ "Oct",
2746
+ "Nov",
2747
+ "Dec"
2748
+ ];
2713
2749
  /** Local-time `YYYY-MM-DD` stamp (matches the dashboard's day keys). */
2714
2750
  function dayStamp(date) {
2715
2751
  const pad = (n) => String(n).padStart(2, "0");
@@ -2838,25 +2874,71 @@ window.__ModuleLoader__.load({
2838
2874
  const monthWeeks = (0, react.useMemo)(() => buildMonthWeeks(days, now ?? /* @__PURE__ */ new Date()), [days, now]);
2839
2875
  if (range === "year") {
2840
2876
  const yearWeeks = buildYearWeeks(days, now ?? /* @__PURE__ */ new Date());
2877
+ const monthLabels = [];
2878
+ let lastMonth = -1;
2879
+ yearWeeks.forEach((week, i) => {
2880
+ const m = Number(week[0]?.date.slice(5, 7) ?? 0);
2881
+ if (m !== lastMonth) {
2882
+ monthLabels.push({
2883
+ index: i,
2884
+ label: MONTH_ABBR[m - 1] ?? ""
2885
+ });
2886
+ lastMonth = m;
2887
+ }
2888
+ });
2841
2889
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2842
- className: UsageBilling_module_css_default.heatmap,
2843
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2844
- className: UsageBilling_module_css_default.heatmapYearScroll,
2845
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2846
- className: UsageBilling_module_css_default.heatmapYearGrid,
2847
- role: "img",
2848
- "aria-label": "yearly cost heatmap",
2849
- "data-testid": "heatmap-year-grid",
2850
- children: yearWeeks.flat().map((cell) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
2851
- type: "button",
2852
- className: UsageBilling_module_css_default.heatmapYearCell,
2853
- "data-testid": "heatmap-year-cell",
2854
- "data-level": cell.level,
2855
- style: { background: LEVEL_COLORS[cell.level] },
2856
- title: `${cell.date} · ${money(cell.value)}`,
2857
- "aria-label": `${cell.date}: ${money(cell.value)}`
2858
- }, cell.date))
2859
- })
2890
+ className: UsageBilling_module_css_default.heatmapYear,
2891
+ "data-testid": "heatmap-year",
2892
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2893
+ className: UsageBilling_module_css_default.heatmapYearBody,
2894
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2895
+ className: UsageBilling_module_css_default.heatmapYearWeekdays,
2896
+ "aria-hidden": "true",
2897
+ children: [
2898
+ {
2899
+ label: "Mon",
2900
+ row: 1
2901
+ },
2902
+ {
2903
+ label: "Wed",
2904
+ row: 3
2905
+ },
2906
+ {
2907
+ label: "Fri",
2908
+ row: 5
2909
+ }
2910
+ ].map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2911
+ className: UsageBilling_module_css_default.heatmapYearWeekday,
2912
+ style: { gridRow: item.row },
2913
+ children: item.label
2914
+ }, item.label))
2915
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2916
+ className: UsageBilling_module_css_default.heatmapYearScroll,
2917
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2918
+ className: UsageBilling_module_css_default.heatmapYearMonths,
2919
+ "aria-hidden": "true",
2920
+ "data-testid": "heatmap-year-months",
2921
+ children: monthLabels.map((m) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2922
+ className: UsageBilling_module_css_default.heatmapYearMonth,
2923
+ style: { gridColumn: m.index + 1 },
2924
+ children: m.label
2925
+ }, m.index))
2926
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2927
+ className: UsageBilling_module_css_default.heatmapYearGrid,
2928
+ role: "img",
2929
+ "aria-label": "yearly cost heatmap",
2930
+ "data-testid": "heatmap-year-grid",
2931
+ children: yearWeeks.flat().map((cell) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
2932
+ type: "button",
2933
+ className: UsageBilling_module_css_default.heatmapYearCell,
2934
+ "data-testid": "heatmap-year-cell",
2935
+ "data-level": cell.level,
2936
+ style: { background: LEVEL_COLORS[cell.level] },
2937
+ title: `${cell.date} · ${money(cell.value)}`,
2938
+ "aria-label": `${cell.date}: ${money(cell.value)}`
2939
+ }, cell.date))
2940
+ })]
2941
+ })]
2860
2942
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2861
2943
  className: UsageBilling_module_css_default.heatmapFooter,
2862
2944
  children: [
@@ -3100,6 +3182,9 @@ window.__ModuleLoader__.load({
3100
3182
  "billing.trend": "每日费用与调用趋势",
3101
3183
  "billing.trend7d": "7 天",
3102
3184
  "billing.trend30d": "30 天",
3185
+ "billing.trendMetric": "趋势指标",
3186
+ "billing.trendMetricCost": "费用",
3187
+ "billing.trendMetricTokens": "Token",
3103
3188
  "billing.trendEmpty": "暂无趋势数据",
3104
3189
  "billing.budget": "本月预算",
3105
3190
  "billing.sessions": "会话明细",
@@ -3139,6 +3224,8 @@ window.__ModuleLoader__.load({
3139
3224
  "billing.estimatedPricing": "估算价",
3140
3225
  "billing.balanceDays": "约可撑 {days} 天",
3141
3226
  "billing.balanceLowBody": "{name} 余额 {balance},约可撑 {days} 天,请及时充值",
3227
+ "billing.reconcileDrift": "系统监控到{provider}官方余额变动 {spent},本面板记录 {today},差额通常由其它工具或 API 的消耗所致",
3228
+ "billing.reconcileDismiss": "知道了",
3142
3229
  "billing.subscriptions": "订阅套餐",
3143
3230
  "billing.subscriptionNotConfigured": "未配置密钥",
3144
3231
  "billing.subscriptionUnauthorized": "密钥无效",
@@ -3161,6 +3248,7 @@ window.__ModuleLoader__.load({
3161
3248
  "billing.floatNoTargetsHint": "暂无可选的订阅通道。",
3162
3249
  "billing.floatPrev": "上一张订阅",
3163
3250
  "billing.floatNext": "下一张订阅",
3251
+ "billing.subscriptionsStale": "订阅额度刷新失败,以下为缓存数据",
3164
3252
  "billing.heatmapLess": "少",
3165
3253
  "billing.heatmapMore": "多",
3166
3254
  "billing.currency": "币种",
@@ -3178,7 +3266,7 @@ window.__ModuleLoader__.load({
3178
3266
  "billing.costAbbr": "费用",
3179
3267
  "billing.tabOverview": "概览",
3180
3268
  "billing.tabTrends": "趋势",
3181
- "billing.tabProviders": "明细",
3269
+ "billing.tabProviders": "账单",
3182
3270
  "billing.tabDetails": "统计",
3183
3271
  "billing.tabPricing": "费率",
3184
3272
  "billing.tabSettings": "设置",
@@ -3322,6 +3410,9 @@ window.__ModuleLoader__.load({
3322
3410
  "billing.trend": "Daily cost & calls",
3323
3411
  "billing.trend7d": "7D",
3324
3412
  "billing.trend30d": "30D",
3413
+ "billing.trendMetric": "Trend metric",
3414
+ "billing.trendMetricCost": "Cost",
3415
+ "billing.trendMetricTokens": "Tokens",
3325
3416
  "billing.trendEmpty": "No trend data yet",
3326
3417
  "billing.budget": "Monthly budget",
3327
3418
  "billing.sessions": "Sessions",
@@ -3361,6 +3452,8 @@ window.__ModuleLoader__.load({
3361
3452
  "billing.estimatedPricing": "Estimated",
3362
3453
  "billing.balanceDays": "~{days} days left",
3363
3454
  "billing.balanceLowBody": "{name} balance {balance}, ~{days} days left, please top up",
3455
+ "billing.reconcileDrift": "Detected {provider} official balance moved {spent}, this panel recorded {today}; the gap usually comes from other tools or APIs consuming too",
3456
+ "billing.reconcileDismiss": "Got it",
3364
3457
  "billing.subscriptions": "Subscriptions",
3365
3458
  "billing.subscriptionNotConfigured": "Key not set",
3366
3459
  "billing.subscriptionUnauthorized": "Bad key",
@@ -3383,6 +3476,7 @@ window.__ModuleLoader__.load({
3383
3476
  "billing.floatNoTargetsHint": "No subscription channel available.",
3384
3477
  "billing.floatPrev": "Previous subscription",
3385
3478
  "billing.floatNext": "Next subscription",
3479
+ "billing.subscriptionsStale": "Subscription refresh failed — showing cached data",
3386
3480
  "billing.heatmapLess": "Less",
3387
3481
  "billing.heatmapMore": "More",
3388
3482
  "billing.currency": "Currency",
@@ -3400,7 +3494,7 @@ window.__ModuleLoader__.load({
3400
3494
  "billing.costAbbr": "cost",
3401
3495
  "billing.tabOverview": "Overview",
3402
3496
  "billing.tabTrends": "Trends",
3403
- "billing.tabProviders": "Details",
3497
+ "billing.tabProviders": "Bills",
3404
3498
  "billing.tabDetails": "Stats",
3405
3499
  "billing.tabPricing": "Rates",
3406
3500
  "billing.tabSettings": "Settings",
@@ -3685,8 +3779,8 @@ window.__ModuleLoader__.load({
3685
3779
  /** 会话明细面板最多展示的行数(完整长尾在服务端另有一层封顶)。 */
3686
3780
  const SESSION_DISPLAY_LIMIT = 20;
3687
3781
  /**
3688
- * Tab 定义(顺序即渲染顺序):概览=主数字/KPI/热力图,趋势=趋势图/每轮费用,
3689
- * 明细=厂商计费与订阅,统计=工作区/会话明细,费率=模型单价表,设置=预算与峰谷提醒。
3782
+ * Tab 定义(顺序即渲染顺序):概览=主数字/KPI/热力图,账单=厂商计费与订阅,
3783
+ * 用量=Token 用量,趋势=趋势图/每轮费用,费率=模型单价表,设置=预算与峰谷提醒。
3690
3784
  * 导出供测试断言 tab 与文案 key 对齐、decor 锚点落在正确分区。
3691
3785
  */
3692
3786
  const DASHBOARD_TABS = [
@@ -3694,6 +3788,10 @@ window.__ModuleLoader__.load({
3694
3788
  id: "overview",
3695
3789
  labelKey: "billing.tabOverview"
3696
3790
  },
3791
+ {
3792
+ id: "providers",
3793
+ labelKey: "billing.tabProviders"
3794
+ },
3697
3795
  {
3698
3796
  id: "token",
3699
3797
  labelKey: "billing.tabToken"
@@ -3702,10 +3800,6 @@ window.__ModuleLoader__.load({
3702
3800
  id: "trends",
3703
3801
  labelKey: "billing.tabTrends"
3704
3802
  },
3705
- {
3706
- id: "providers",
3707
- labelKey: "billing.tabProviders"
3708
- },
3709
3803
  {
3710
3804
  id: "pricing",
3711
3805
  labelKey: "billing.tabPricing"
@@ -4149,22 +4243,34 @@ window.__ModuleLoader__.load({
4149
4243
  }
4150
4244
  }
4151
4245
  /**
4152
- * 拉取订阅套餐剩余额度(供订阅面板);失败返回空列表。
4153
- * @returns the quota rows, or an empty list on any failure.
4246
+ * 拉取官方余额差对账提示(drift 时非空),供余额面板展示;失败返回 undefined。
4247
+ * @returns the reconcile notice, or undefined on any failure / no drift.
4154
4248
  */
4155
- async function fetchSubscriptions() {
4249
+ async function fetchReconcile() {
4156
4250
  try {
4157
- const response = await fetch(SUBSCRIPTIONS_PATH$1);
4158
- if (!response.ok) return [];
4251
+ const response = await fetch(BALANCE_PATH);
4252
+ if (!response.ok) return void 0;
4159
4253
  const text = await response.text();
4160
4254
  const parsed = JSON.parse(text);
4161
- if (parsed !== null && typeof parsed === "object" && "quotas" in parsed) return parsed.quotas;
4162
- return [];
4255
+ if (parsed !== null && typeof parsed === "object" && "reconcile" in parsed) return parsed.reconcile;
4256
+ return;
4163
4257
  } catch {
4164
- return [];
4258
+ return;
4165
4259
  }
4166
4260
  }
4167
4261
  /**
4262
+ * 拉取订阅套餐剩余额度(供订阅面板);失败返回空列表。
4263
+ * @returns the quota rows, or an empty list on any failure.
4264
+ */
4265
+ async function fetchSubscriptions() {
4266
+ const response = await fetch(SUBSCRIPTIONS_PATH$1);
4267
+ if (!response.ok) throw new Error(`subscriptions HTTP ${String(response.status)}`);
4268
+ const text = await response.text();
4269
+ const parsed = JSON.parse(text);
4270
+ if (parsed !== null && typeof parsed === "object" && "quotas" in parsed) return parsed.quotas;
4271
+ throw new Error("subscriptions: invalid response");
4272
+ }
4273
+ /**
4168
4274
  * 拉取中转站额度(New API / Sub2API 的余额与滚动窗口);失败返回空列表。
4169
4275
  * @returns the relay-site quota rows, or an empty list on any failure.
4170
4276
  */
@@ -4539,10 +4645,31 @@ window.__ModuleLoader__.load({
4539
4645
  })]
4540
4646
  });
4541
4647
  }
4542
- function BillingDashboard({ stats, t, onClose, health, balances, quotas, relayQuotas, currency, onCurrency, turns, renderSlot, budgetEnabled, budgetAmount, onToggleBudget, onBudgetAmount, peakConfig, onPeakConfig, onPreviewPeak, floatPrefs, onFloatPrefs }) {
4648
+ function BillingDashboard({ stats, t, onClose, health, balances, reconcile, quotas, relayQuotas, currency, onCurrency, turns, renderSlot, budgetEnabled, budgetAmount, onToggleBudget, onBudgetAmount, peakConfig, onPeakConfig, onPreviewPeak, floatPrefs, onFloatPrefs, quotasStale }) {
4649
+ const [trendMetric, setTrendMetric] = (0, react.useState)("cost");
4543
4650
  const { total, byModel, byDay } = stats;
4544
4651
  const [tab, setTab] = (0, react.useState)("overview");
4545
4652
  const [trendDays, setTrendDays] = (0, react.useState)(7);
4653
+ const [reconcileDismissedDay, setReconcileDismissedDay] = (0, react.useState)(() => {
4654
+ try {
4655
+ return window.localStorage.getItem("dsh-billing:reconcile-dismissed") ?? "";
4656
+ } catch {
4657
+ return "";
4658
+ }
4659
+ });
4660
+ const dayStampLocal = () => {
4661
+ const d = /* @__PURE__ */ new Date();
4662
+ const pad = (n) => String(n).padStart(2, "0");
4663
+ return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
4664
+ };
4665
+ const dismissReconcile = (0, react.useCallback)(() => {
4666
+ const day = dayStampLocal();
4667
+ setReconcileDismissedDay(day);
4668
+ try {
4669
+ window.localStorage.setItem("dsh-billing:reconcile-dismissed", day);
4670
+ } catch {}
4671
+ }, []);
4672
+ const [heatmapRange, setHeatmapRange] = (0, react.useState)("month");
4546
4673
  const subscriptionOptions = (0, react.useMemo)(() => quotas.filter((quota) => quota.status === "ok" && quota.windows.length > 0).map((quota) => ({
4547
4674
  id: quota.provider,
4548
4675
  label: quota.displayName
@@ -4652,7 +4779,6 @@ window.__ModuleLoader__.load({
4652
4779
  const monthPrefix = today.slice(0, 7);
4653
4780
  const yearPrefix = today.slice(0, 4);
4654
4781
  const monthCost = dates.reduce((sum, d) => sum + (d.startsWith(monthPrefix) ? byDay[d]?.cost ?? 0 : 0), 0);
4655
- const monthCalls = dates.reduce((sum, d) => sum + (d.startsWith(monthPrefix) ? byDay[d]?.calls ?? 0 : 0), 0);
4656
4782
  const yearCost = dates.reduce((sum, d) => sum + (d.startsWith(yearPrefix) ? byDay[d]?.cost ?? 0 : 0), 0);
4657
4783
  const monthCostProjected = (0, react.useMemo)(() => {
4658
4784
  return projectMonthCost(byDay, monthPrefix, today) + quotas.reduce((sum, quota) => sum + (quota.planType === "code" ? quota.subscriptionAmount ?? 0 : 0), 0);
@@ -4703,7 +4829,8 @@ window.__ModuleLoader__.load({
4703
4829
  date,
4704
4830
  cost: day?.cost ?? 0,
4705
4831
  calls: day?.calls ?? 0,
4706
- byModel
4832
+ byModel,
4833
+ tokens: day === void 0 ? 0 : day.input + day.output + day.cacheHit + day.cacheMiss
4707
4834
  };
4708
4835
  }), [
4709
4836
  trendDates,
@@ -4844,7 +4971,8 @@ window.__ModuleLoader__.load({
4844
4971
  children: [
4845
4972
  t("billing.lastUpdated"),
4846
4973
  " ",
4847
- latestDate
4974
+ latestDate,
4975
+ stats.timezone === void 0 ? null : ` · ${stats.timezone.name} (${stats.timezone.offset})`
4848
4976
  ]
4849
4977
  })
4850
4978
  ] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -4914,6 +5042,57 @@ window.__ModuleLoader__.load({
4914
5042
  className: UsageBilling_module_css_default.tabPanel,
4915
5043
  "data-testid": "billing-tab-panel-overview",
4916
5044
  children: [
5045
+ reconcile?.kind === "drift" && reconcile.spent !== void 0 && reconcileDismissedDay !== dayStampLocal() && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5046
+ className: UsageBilling_module_css_default.reconcileNotice,
5047
+ "data-testid": "billing-reconcile-notice",
5048
+ role: "note",
5049
+ children: [
5050
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5051
+ className: UsageBilling_module_css_default.reconcileIcon,
5052
+ "aria-hidden": "true",
5053
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
5054
+ width: "14",
5055
+ height: "14",
5056
+ viewBox: "0 0 24 24",
5057
+ fill: "none",
5058
+ stroke: "currentColor",
5059
+ strokeWidth: "2",
5060
+ strokeLinecap: "round",
5061
+ strokeLinejoin: "round",
5062
+ children: [
5063
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
5064
+ cx: "12",
5065
+ cy: "12",
5066
+ r: "9"
5067
+ }),
5068
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
5069
+ x1: "12",
5070
+ y1: "10",
5071
+ x2: "12",
5072
+ y2: "16"
5073
+ }),
5074
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
5075
+ x1: "12",
5076
+ y1: "7.5",
5077
+ x2: "12.01",
5078
+ y2: "7.5"
5079
+ })
5080
+ ]
5081
+ })
5082
+ }),
5083
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5084
+ className: UsageBilling_module_css_default.reconcileText,
5085
+ children: t("billing.reconcileDrift").replace("{provider}", reconcile.provider ?? "").replace("{spent}", money(reconcile.spent)).replace("{today}", money(reconcile.todayOfficialCost ?? 0))
5086
+ }),
5087
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
5088
+ type: "button",
5089
+ className: UsageBilling_module_css_default.reconcileDismiss,
5090
+ "data-testid": "billing-reconcile-dismiss",
5091
+ onClick: dismissReconcile,
5092
+ children: t("billing.reconcileDismiss")
5093
+ })
5094
+ ]
5095
+ }),
4917
5096
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
4918
5097
  className: UsageBilling_module_css_default.hero,
4919
5098
  "data-testid": "billing-hero",
@@ -4923,31 +5102,20 @@ window.__ModuleLoader__.load({
4923
5102
  className: UsageBilling_module_css_default.heroTop,
4924
5103
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4925
5104
  className: UsageBilling_module_css_default.heroMain,
4926
- children: [
4927
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4928
- className: UsageBilling_module_css_default.heroLabel,
4929
- children: t("billing.monthCost")
4930
- }),
4931
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4932
- className: UsageBilling_module_css_default.heroReadout,
4933
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4934
- className: UsageBilling_module_css_default.heroCurrency,
4935
- "aria-hidden": "true",
4936
- children: currency === "usd" ? "$" : "¥"
4937
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4938
- className: UsageBilling_module_css_default.heroValue,
4939
- children: money(monthCost).slice(1)
4940
- })]
4941
- }),
4942
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4943
- className: UsageBilling_module_css_default.heroMeta,
4944
- children: [
4945
- monthCalls.toLocaleString(),
4946
- " ",
4947
- t("billing.calls")
4948
- ]
4949
- })
4950
- ]
5105
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5106
+ className: UsageBilling_module_css_default.heroLabel,
5107
+ children: t("billing.monthCost")
5108
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5109
+ className: UsageBilling_module_css_default.heroReadout,
5110
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5111
+ className: UsageBilling_module_css_default.heroCurrency,
5112
+ "aria-hidden": "true",
5113
+ children: currency === "usd" ? "$" : "¥"
5114
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5115
+ className: UsageBilling_module_css_default.heroValue,
5116
+ children: money(monthCost).slice(1)
5117
+ })]
5118
+ })]
4951
5119
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4952
5120
  className: UsageBilling_module_css_default.heroGauge,
4953
5121
  "data-testid": "billing-hero-gauge",
@@ -5133,27 +5301,46 @@ window.__ModuleLoader__.load({
5133
5301
  "data-testid": "billing-panel-heatmap",
5134
5302
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5135
5303
  className: UsageBilling_module_css_default.panelHead,
5136
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
5137
- className: UsageBilling_module_css_default.panelTitle,
5138
- children: t("billing.heatmap")
5139
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5140
- className: UsageBilling_module_css_default.panelHint,
5141
- "data-testid": "billing-heatmap-summary",
5142
- children: [
5143
- t("billing.activeDays"),
5144
- " ",
5145
- activeDays,
5146
- " · ",
5147
- t("billing.streakDays"),
5148
- " ",
5149
- streakDays
5150
- ]
5151
- })]
5304
+ children: [
5305
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
5306
+ className: UsageBilling_module_css_default.panelTitle,
5307
+ children: t("billing.heatmap")
5308
+ }),
5309
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5310
+ className: UsageBilling_module_css_default.heatmapRangeSwitch,
5311
+ "data-testid": "billing-heatmap-range",
5312
+ role: "group",
5313
+ "aria-label": t("billing.heatmap"),
5314
+ children: ["month", "year"].map((r) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
5315
+ type: "button",
5316
+ className: clsx(UsageBilling_module_css_default.heatmapRangeButton, heatmapRange === r && UsageBilling_module_css_default.heatmapRangeButtonActive),
5317
+ "data-testid": `billing-heatmap-range-${r}`,
5318
+ "aria-pressed": heatmapRange === r,
5319
+ onClick: () => {
5320
+ setHeatmapRange(r);
5321
+ },
5322
+ children: r === "month" ? t("billing.heatmapMonth") : t("billing.heatmapYear")
5323
+ }, r))
5324
+ }),
5325
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5326
+ className: UsageBilling_module_css_default.panelHint,
5327
+ "data-testid": "billing-heatmap-summary",
5328
+ children: [
5329
+ t("billing.activeDays"),
5330
+ " ",
5331
+ activeDays,
5332
+ " · ",
5333
+ t("billing.streakDays"),
5334
+ " ",
5335
+ streakDays
5336
+ ]
5337
+ })
5338
+ ]
5152
5339
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UsageHeatmap, {
5153
5340
  days: heatmapDays,
5154
5341
  currency,
5155
5342
  t,
5156
- range: "month"
5343
+ range: heatmapRange
5157
5344
  })]
5158
5345
  })
5159
5346
  ]
@@ -5500,6 +5687,21 @@ window.__ModuleLoader__.load({
5500
5687
  children: days === 7 ? t("billing.trend7d") : t("billing.trend30d")
5501
5688
  }, days))
5502
5689
  }),
5690
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5691
+ className: UsageBilling_module_css_default.rangeToggle,
5692
+ role: "group",
5693
+ "aria-label": t("billing.trendMetric"),
5694
+ children: ["cost", "tokens"].map((m) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
5695
+ type: "button",
5696
+ className: clsx(UsageBilling_module_css_default.rangeButton, trendMetric === m && UsageBilling_module_css_default.rangeButtonActive),
5697
+ "aria-pressed": trendMetric === m,
5698
+ "data-testid": `billing-trend-metric-${m}`,
5699
+ onClick: () => {
5700
+ setTrendMetric(m);
5701
+ },
5702
+ children: m === "cost" ? t("billing.trendMetricCost") : t("billing.trendMetricTokens")
5703
+ }, m))
5704
+ }),
5503
5705
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5504
5706
  className: UsageBilling_module_css_default.panelHint,
5505
5707
  children: latestDate
@@ -5508,7 +5710,8 @@ window.__ModuleLoader__.load({
5508
5710
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TrendChart, {
5509
5711
  data: trend,
5510
5712
  models: chartModels,
5511
- currency
5713
+ currency,
5714
+ metric: trendMetric
5512
5715
  })]
5513
5716
  }),
5514
5717
  turns.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
@@ -5714,251 +5917,259 @@ window.__ModuleLoader__.load({
5714
5917
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
5715
5918
  className: UsageBilling_module_css_default.panel,
5716
5919
  "data-testid": "billing-panel-providers",
5717
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5718
- className: UsageBilling_module_css_default.panelHead,
5719
- children: [
5720
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
5721
- className: UsageBilling_module_css_default.panelTitle,
5722
- children: t("billing.providerBilling")
5723
- }),
5724
- renderSlot("billing.dashboard.decor", { position: "models" }),
5725
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5726
- className: UsageBilling_module_css_default.panelHint,
5727
- children: stats.updatedAt !== void 0 ? `${t("billing.lastUpdated")} ${formatClock(stats.updatedAt)}` : ""
5728
- })
5729
- ]
5730
- }), providerGroups.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5731
- className: UsageBilling_module_css_default.emptyRow,
5732
- "data-testid": "billing-provider-empty",
5733
- children: t("billing.noData")
5734
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5735
- className: UsageBilling_module_css_default.providerGroupList,
5736
- "data-testid": "billing-provider-groups",
5737
- children: providerGroups.map((group) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5738
- className: UsageBilling_module_css_default.providerGroup,
5739
- "data-testid": "billing-provider-group",
5920
+ children: [
5921
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5922
+ className: UsageBilling_module_css_default.panelHead,
5740
5923
  children: [
5741
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5742
- className: UsageBilling_module_css_default.providerGroupHead,
5743
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5744
- className: UsageBilling_module_css_default.providerGroupTitle,
5745
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5746
- className: clsx(UsageBilling_module_css_default.healthDot, group.dot),
5747
- "aria-hidden": "true"
5748
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5749
- className: UsageBilling_module_css_default.providerGroupName,
5750
- children: providerName(group.name)
5751
- })]
5752
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5753
- className: UsageBilling_module_css_default.providerGroupMeta,
5754
- children: [group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5755
- className: UsageBilling_module_css_default.providerGroupBadge,
5756
- "data-testid": "billing-provider-sub-count",
5757
- children: [group.subscriptions.length, " 套餐"]
5758
- }), !hideBalanceForGroup(group) && group.balance !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5759
- className: UsageBilling_module_css_default.providerGroupBalance,
5760
- "data-testid": "billing-provider-balance",
5924
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
5925
+ className: UsageBilling_module_css_default.panelTitle,
5926
+ children: t("billing.providerBilling")
5927
+ }),
5928
+ renderSlot("billing.dashboard.decor", { position: "models" }),
5929
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5930
+ className: UsageBilling_module_css_default.panelHint,
5931
+ children: stats.updatedAt !== void 0 ? `${t("billing.lastUpdated")} ${formatClock(stats.updatedAt)}` : ""
5932
+ })
5933
+ ]
5934
+ }),
5935
+ quotasStale && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5936
+ className: UsageBilling_module_css_default.staleNotice,
5937
+ "data-testid": "billing-subscriptions-stale",
5938
+ children: t("billing.subscriptionsStale")
5939
+ }),
5940
+ providerGroups.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5941
+ className: UsageBilling_module_css_default.emptyRow,
5942
+ "data-testid": "billing-provider-empty",
5943
+ children: t("billing.noData")
5944
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5945
+ className: UsageBilling_module_css_default.providerGroupList,
5946
+ "data-testid": "billing-provider-groups",
5947
+ children: providerGroups.map((group) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5948
+ className: UsageBilling_module_css_default.providerGroup,
5949
+ "data-testid": "billing-provider-group",
5950
+ children: [
5951
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5952
+ className: UsageBilling_module_css_default.providerGroupHead,
5953
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5954
+ className: UsageBilling_module_css_default.providerGroupTitle,
5761
5955
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5762
- className: UsageBilling_module_css_default.providerGroupBalanceLabel,
5763
- children: t("billing.balance")
5764
- }), renderBalance(group.balance)]
5956
+ className: clsx(UsageBilling_module_css_default.healthDot, group.dot),
5957
+ "aria-hidden": "true"
5958
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5959
+ className: UsageBilling_module_css_default.providerGroupName,
5960
+ children: providerName(group.name)
5961
+ })]
5962
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5963
+ className: UsageBilling_module_css_default.providerGroupMeta,
5964
+ children: [group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5965
+ className: UsageBilling_module_css_default.providerGroupBadge,
5966
+ "data-testid": "billing-provider-sub-count",
5967
+ children: [group.subscriptions.length, " 套餐"]
5968
+ }), !hideBalanceForGroup(group) && group.balance !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5969
+ className: UsageBilling_module_css_default.providerGroupBalance,
5970
+ "data-testid": "billing-provider-balance",
5971
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5972
+ className: UsageBilling_module_css_default.providerGroupBalanceLabel,
5973
+ children: t("billing.balance")
5974
+ }), renderBalance(group.balance)]
5975
+ })]
5765
5976
  })]
5766
- })]
5767
- }),
5768
- group.models.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5769
- className: clsx(UsageBilling_module_css_default.tableScroll, UsageBilling_module_css_default.modelTableScroll),
5770
- "data-testid": "billing-table-scroll",
5771
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("table", {
5772
- className: UsageBilling_module_css_default.modelTable,
5773
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5774
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("billing.model") }),
5775
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5776
- className: UsageBilling_module_css_default.numCol,
5777
- children: t("billing.calls")
5778
- }),
5779
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5780
- className: UsageBilling_module_css_default.numCol,
5781
- children: t("billing.inputTokens")
5782
- }),
5783
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5784
- className: UsageBilling_module_css_default.numCol,
5785
- children: t("billing.outputTokens")
5786
- }),
5787
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5788
- className: UsageBilling_module_css_default.numCol,
5789
- children: t("billing.cacheHitRate")
5790
- }),
5791
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5792
- className: UsageBilling_module_css_default.numCol,
5793
- children: t("billing.actual")
5794
- })
5795
- ] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: group.models.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5796
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5797
- className: UsageBilling_module_css_default.modelCell,
5798
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5799
- className: UsageBilling_module_css_default.modelName,
5800
- children: [
5801
- row.name,
5802
- row.uncatalogued && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5803
- className: UsageBilling_module_css_default.uncataloguedTag,
5804
- "data-testid": "billing-uncatalogued-tag",
5805
- children: t("billing.uncatalogued")
5806
- }),
5807
- row.estimatedPricing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5808
- className: UsageBilling_module_css_default.estimatedTag,
5809
- "data-testid": "billing-estimated-tag",
5810
- children: t("billing.estimatedPricing")
5811
- })
5812
- ]
5813
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5814
- className: UsageBilling_module_css_default.modelProvider,
5815
- children: providerName(row.provider)
5816
- })] })
5817
- }) }),
5818
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5819
- className: UsageBilling_module_css_default.numCol,
5820
- children: row.calls.toLocaleString()
5821
- }),
5822
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5823
- className: UsageBilling_module_css_default.numCol,
5824
- children: formatTokens(row.input)
5825
- }),
5826
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5827
- className: UsageBilling_module_css_default.numCol,
5828
- children: formatTokens(row.output)
5829
- }),
5830
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5831
- className: UsageBilling_module_css_default.numCol,
5832
- children: formatPercent(row.cacheHitRate)
5833
- }),
5834
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
5835
- className: UsageBilling_module_css_default.numCol,
5836
- children: row.plan ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5837
- className: UsageBilling_module_css_default.planTag,
5838
- children: t("billing.subscriptionIncluded")
5839
- }) : row.actual !== void 0 ? (() => {
5840
- const official = row.officialCost;
5841
- const third = row.actual - official;
5842
- if (official > 0 && third > 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5843
- className: UsageBilling_module_css_default.bucketCost,
5977
+ }),
5978
+ group.models.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5979
+ className: clsx(UsageBilling_module_css_default.tableScroll, UsageBilling_module_css_default.modelTableScroll),
5980
+ "data-testid": "billing-table-scroll",
5981
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("table", {
5982
+ className: UsageBilling_module_css_default.modelTable,
5983
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
5984
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", { children: t("billing.model") }),
5985
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5986
+ className: UsageBilling_module_css_default.numCol,
5987
+ children: t("billing.calls")
5988
+ }),
5989
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5990
+ className: UsageBilling_module_css_default.numCol,
5991
+ children: t("billing.inputTokens")
5992
+ }),
5993
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5994
+ className: UsageBilling_module_css_default.numCol,
5995
+ children: t("billing.outputTokens")
5996
+ }),
5997
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
5998
+ className: UsageBilling_module_css_default.numCol,
5999
+ children: t("billing.cacheHitRate")
6000
+ }),
6001
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
6002
+ className: UsageBilling_module_css_default.numCol,
6003
+ children: t("billing.actual")
6004
+ })
6005
+ ] }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", { children: group.models.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
6006
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6007
+ className: UsageBilling_module_css_default.modelCell,
6008
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
6009
+ className: UsageBilling_module_css_default.modelName,
5844
6010
  children: [
5845
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5846
- className: UsageBilling_module_css_default.bucketOfficial,
5847
- children: money(official)
5848
- }),
5849
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5850
- className: UsageBilling_module_css_default.bucketSep,
5851
- children: "/"
6011
+ row.name,
6012
+ row.uncatalogued && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6013
+ className: UsageBilling_module_css_default.uncataloguedTag,
6014
+ "data-testid": "billing-uncatalogued-tag",
6015
+ children: t("billing.uncatalogued")
5852
6016
  }),
5853
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5854
- className: UsageBilling_module_css_default.bucketThird,
5855
- children: money(third)
6017
+ row.estimatedPricing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6018
+ className: UsageBilling_module_css_default.estimatedTag,
6019
+ "data-testid": "billing-estimated-tag",
6020
+ children: t("billing.estimatedPricing")
5856
6021
  })
5857
6022
  ]
5858
- });
5859
- return money(row.actual);
5860
- })() : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5861
- className: UsageBilling_module_css_default.na,
5862
- children: "—"
5863
- })
5864
- })
5865
- ] }, row.key)) })]
5866
- })
5867
- }),
5868
- group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5869
- className: UsageBilling_module_css_default.subscriptionGrid,
5870
- "data-testid": "billing-subscriptions-grid",
5871
- children: group.subscriptions.map((quota) => {
5872
- const statusText = subscriptionStatusText(quota.status, t);
5873
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5874
- className: UsageBilling_module_css_default.subscriptionCard,
5875
- "data-testid": "billing-subscription-card",
5876
- children: [
5877
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5878
- className: UsageBilling_module_css_default.subscriptionHead,
5879
- children: [
5880
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5881
- className: UsageBilling_module_css_default.subscriptionName,
5882
- children: providerName(quota.displayName)
5883
- }),
5884
- quota.planType === "code" && (() => {
5885
- const tier = tierInfoOf(quota.provider);
5886
- const tierFee = tier !== void 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", tier.currency === "USD" ? `$${tier.amount}` : `¥${tier.amount}`) : void 0;
5887
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5888
- className: UsageBilling_module_css_default.subscriptionPlan,
5889
- "data-kind": "code",
5890
- children: [
5891
- tierFee ?? (quota.subscriptionAmount !== void 0 && quota.subscriptionAmount > 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", money(quota.subscriptionAmount)) : t("billing.planTypeCode")),
5892
- tier?.label !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5893
- className: UsageBilling_module_css_default.subscriptionTier,
5894
- "data-testid": `billing-tier-${quota.provider}`,
5895
- children: tier.label
5896
- }),
5897
- tier !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5898
- className: UsageBilling_module_css_default.subscriptionAuto,
5899
- "data-testid": `billing-auto-${quota.provider}`,
5900
- children: t("billing.subscriptionAutoDetect")
5901
- })
5902
- ]
5903
- });
5904
- })(),
5905
- quota.planType === "token" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5906
- className: UsageBilling_module_css_default.subscriptionPlan,
5907
- "data-kind": "token",
5908
- children: t("billing.planTypeToken")
5909
- }),
5910
- quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5911
- className: UsageBilling_module_css_default.subscriptionPlan,
5912
- children: quota.plan
5913
- })
5914
- ]
6023
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6024
+ className: UsageBilling_module_css_default.modelProvider,
6025
+ children: providerName(row.provider)
6026
+ })] })
6027
+ }) }),
6028
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
6029
+ className: UsageBilling_module_css_default.numCol,
6030
+ children: row.calls.toLocaleString()
5915
6031
  }),
5916
- statusText !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5917
- className: UsageBilling_module_css_default.subscriptionStatus,
5918
- children: statusText
6032
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
6033
+ className: UsageBilling_module_css_default.numCol,
6034
+ children: formatTokens(row.input)
5919
6035
  }),
5920
- quota.windows.length === 0 && statusText === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5921
- className: UsageBilling_module_css_default.subscriptionStatus,
5922
- children: t("billing.subscriptionNoApi")
6036
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
6037
+ className: UsageBilling_module_css_default.numCol,
6038
+ children: formatTokens(row.output)
5923
6039
  }),
5924
- quota.windows.map((window) => (() => {
5925
- const used = Math.min(100, Math.max(0, window.usedPercent));
5926
- const exhausted = Math.min(100, Math.max(0, window.remainingPercent)) <= 0;
5927
- return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5928
- className: UsageBilling_module_css_default.subscriptionWindow,
6040
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
6041
+ className: UsageBilling_module_css_default.numCol,
6042
+ children: formatPercent(row.cacheHitRate)
6043
+ }),
6044
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
6045
+ className: UsageBilling_module_css_default.numCol,
6046
+ children: row.plan ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6047
+ className: UsageBilling_module_css_default.planTag,
6048
+ children: t("billing.subscriptionIncluded")
6049
+ }) : row.actual !== void 0 ? (() => {
6050
+ const official = row.officialCost;
6051
+ const third = row.actual - official;
6052
+ if (official > 0 && third > 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
6053
+ className: UsageBilling_module_css_default.bucketCost,
6054
+ children: [
6055
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6056
+ className: UsageBilling_module_css_default.bucketOfficial,
6057
+ children: money(official)
6058
+ }),
6059
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6060
+ className: UsageBilling_module_css_default.bucketSep,
6061
+ children: "/"
6062
+ }),
6063
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6064
+ className: UsageBilling_module_css_default.bucketThird,
6065
+ children: money(third)
6066
+ })
6067
+ ]
6068
+ });
6069
+ return money(row.actual);
6070
+ })() : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6071
+ className: UsageBilling_module_css_default.na,
6072
+ children: "—"
6073
+ })
6074
+ })
6075
+ ] }, row.key)) })]
6076
+ })
6077
+ }),
6078
+ group.subscriptions.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
6079
+ className: UsageBilling_module_css_default.subscriptionGrid,
6080
+ "data-testid": "billing-subscriptions-grid",
6081
+ children: group.subscriptions.map((quota) => {
6082
+ const statusText = subscriptionStatusText(quota.status, t);
6083
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6084
+ className: UsageBilling_module_css_default.subscriptionCard,
6085
+ "data-testid": "billing-subscription-card",
6086
+ children: [
6087
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6088
+ className: UsageBilling_module_css_default.subscriptionHead,
5929
6089
  children: [
5930
6090
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5931
- className: UsageBilling_module_css_default.subscriptionWindowLabel,
5932
- children: subscriptionWindowLabel(window.kind, t)
6091
+ className: UsageBilling_module_css_default.subscriptionName,
6092
+ children: providerName(quota.displayName)
5933
6093
  }),
5934
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5935
- className: UsageBilling_module_css_default.subscriptionTrack,
5936
- "aria-hidden": "true",
5937
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5938
- className: clsx(UsageBilling_module_css_default.subscriptionFill, used >= 100 && UsageBilling_module_css_default.subscriptionFillOver, used >= 80 && used < 100 && UsageBilling_module_css_default.subscriptionFillWarn),
5939
- style: { width: `${used}%` }
5940
- })
6094
+ quota.planType === "code" && (() => {
6095
+ const tier = tierInfoOf(quota.provider);
6096
+ const tierFee = tier !== void 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", tier.currency === "USD" ? `$${tier.amount}` : `¥${tier.amount}`) : void 0;
6097
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
6098
+ className: UsageBilling_module_css_default.subscriptionPlan,
6099
+ "data-kind": "code",
6100
+ children: [
6101
+ tierFee ?? (quota.subscriptionAmount !== void 0 && quota.subscriptionAmount > 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", money(quota.subscriptionAmount)) : t("billing.planTypeCode")),
6102
+ tier?.label !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6103
+ className: UsageBilling_module_css_default.subscriptionTier,
6104
+ "data-testid": `billing-tier-${quota.provider}`,
6105
+ children: tier.label
6106
+ }),
6107
+ tier !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6108
+ className: UsageBilling_module_css_default.subscriptionAuto,
6109
+ "data-testid": `billing-auto-${quota.provider}`,
6110
+ children: t("billing.subscriptionAutoDetect")
6111
+ })
6112
+ ]
6113
+ });
6114
+ })(),
6115
+ quota.planType === "token" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6116
+ className: UsageBilling_module_css_default.subscriptionPlan,
6117
+ "data-kind": "token",
6118
+ children: t("billing.planTypeToken")
5941
6119
  }),
5942
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
5943
- className: UsageBilling_module_css_default.subscriptionMeta,
5944
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5945
- className: clsx(UsageBilling_module_css_default.subscriptionPct, exhausted && UsageBilling_module_css_default.subscriptionExhausted),
5946
- children: exhausted ? t("billing.subscriptionExhausted") : t("billing.subscriptionRemaining").replace("{pct}", String(window.remainingPercent))
5947
- }), window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
5948
- className: UsageBilling_module_css_default.subscriptionReset,
5949
- children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
5950
- })]
6120
+ quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6121
+ className: UsageBilling_module_css_default.subscriptionPlan,
6122
+ children: quota.plan
5951
6123
  })
5952
6124
  ]
5953
- }, window.kind);
5954
- })())
5955
- ]
5956
- }, quota.provider);
6125
+ }),
6126
+ statusText !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
6127
+ className: UsageBilling_module_css_default.subscriptionStatus,
6128
+ children: statusText
6129
+ }),
6130
+ quota.windows.length === 0 && statusText === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
6131
+ className: UsageBilling_module_css_default.subscriptionStatus,
6132
+ children: t("billing.subscriptionNoApi")
6133
+ }),
6134
+ quota.windows.map((window) => (() => {
6135
+ const used = Math.min(100, Math.max(0, window.usedPercent));
6136
+ const exhausted = Math.min(100, Math.max(0, window.remainingPercent)) <= 0;
6137
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
6138
+ className: UsageBilling_module_css_default.subscriptionWindow,
6139
+ children: [
6140
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6141
+ className: UsageBilling_module_css_default.subscriptionWindowLabel,
6142
+ children: subscriptionWindowLabel(window.kind, t)
6143
+ }),
6144
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6145
+ className: UsageBilling_module_css_default.subscriptionTrack,
6146
+ "aria-hidden": "true",
6147
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6148
+ className: clsx(UsageBilling_module_css_default.subscriptionFill, used >= 100 && UsageBilling_module_css_default.subscriptionFillOver, used >= 80 && used < 100 && UsageBilling_module_css_default.subscriptionFillWarn),
6149
+ style: { width: `${used}%` }
6150
+ })
6151
+ }),
6152
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
6153
+ className: UsageBilling_module_css_default.subscriptionMeta,
6154
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6155
+ className: clsx(UsageBilling_module_css_default.subscriptionPct, exhausted && UsageBilling_module_css_default.subscriptionExhausted),
6156
+ children: exhausted ? t("billing.subscriptionExhausted") : t("billing.subscriptionRemaining").replace("{pct}", String(window.remainingPercent))
6157
+ }), window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6158
+ className: UsageBilling_module_css_default.subscriptionReset,
6159
+ children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
6160
+ })]
6161
+ })
6162
+ ]
6163
+ }, window.kind);
6164
+ })())
6165
+ ]
6166
+ }, quota.provider);
6167
+ })
5957
6168
  })
5958
- })
5959
- ]
5960
- }, group.name))
5961
- })]
6169
+ ]
6170
+ }, group.name))
6171
+ })
6172
+ ]
5962
6173
  }),
5963
6174
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5964
6175
  className: UsageBilling_module_css_default.exportBar,
@@ -6443,7 +6654,9 @@ window.__ModuleLoader__.load({
6443
6654
  const [stats, setStats] = (0, react.useState)(EMPTY_STATS);
6444
6655
  const [health, setHealth] = (0, react.useState)(IDLE_HEALTH);
6445
6656
  const [balances, setBalances] = (0, react.useState)([]);
6657
+ const [reconcile, setReconcile] = (0, react.useState)(void 0);
6446
6658
  const [quotas, setQuotas] = (0, react.useState)([]);
6659
+ const [quotasStale, setQuotasStale] = (0, react.useState)(false);
6447
6660
  const [relayQuotas, setRelayQuotas] = (0, react.useState)([]);
6448
6661
  const [currency, setCurrency] = (0, react.useState)("cny");
6449
6662
  const [floatPrefs, setFloatPrefs] = (0, react.useState)(() => loadFloatWindowPrefs());
@@ -6470,8 +6683,16 @@ window.__ModuleLoader__.load({
6470
6683
  fetchBalances().then((list) => {
6471
6684
  if (list.length > 0) setBalances(list);
6472
6685
  });
6686
+ fetchReconcile().then((notice) => {
6687
+ setReconcile(notice);
6688
+ });
6473
6689
  fetchSubscriptions().then((list) => {
6474
- if (list.length > 0) setQuotas(list);
6690
+ if (list.length > 0) {
6691
+ setQuotas(list);
6692
+ setQuotasStale(false);
6693
+ } else setQuotasStale(false);
6694
+ }).catch(() => {
6695
+ setQuotasStale(true);
6475
6696
  });
6476
6697
  fetchRelayQuotas().then((list) => {
6477
6698
  if (list.length > 0) setRelayQuotas(list);
@@ -6719,6 +6940,7 @@ window.__ModuleLoader__.load({
6719
6940
  onClose: close,
6720
6941
  health,
6721
6942
  balances,
6943
+ ...reconcile === void 0 ? {} : { reconcile },
6722
6944
  quotas,
6723
6945
  relayQuotas,
6724
6946
  currency,
@@ -6733,7 +6955,8 @@ window.__ModuleLoader__.load({
6733
6955
  onPeakConfig: updatePeakConfig,
6734
6956
  onPreviewPeak: previewPeak,
6735
6957
  floatPrefs,
6736
- onFloatPrefs: updateFloatPrefs
6958
+ onFloatPrefs: updateFloatPrefs,
6959
+ quotasStale
6737
6960
  }),
6738
6961
  (peakHit !== null || peakPreview !== null) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PeakAlertBanner, {
6739
6962
  hit: peakHit ?? peakPreview,