@kenz1117/dsh-ui-usage-billing 0.7.0 → 0.8.1

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
@@ -24,7 +24,7 @@ window.__ModuleLoader__.load({
24
24
  }
25
25
  //#endregion
26
26
  //#region \0dsh-css:/Users/ken/deepseek-harness/packages/client/ui-usage-billing/src/client/UsageBilling.module.css.mjs
27
- const css = ".VWh0dG_railButton{border:1px solid color-mix(in srgb, var(--dsw-static-blue-500) 28%, var(--dsw-alias-border-l2));background:linear-gradient(135deg, color-mix(in srgb, var(--dsw-static-blue-500) 14%, var(--dsw-alias-bg-layer-1)), var(--dsw-alias-bg-layer-1));width:36px;height:36px;color:var(--dsw-static-blue-500);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;padding:0;transition:border-color .16s,box-shadow .16s,transform .16s,color .16s;display:flex}.VWh0dG_railButton:hover,.VWh0dG_railButton:focus-visible{border-color:color-mix(in srgb, var(--dsw-static-blue-500) 48%, var(--dsw-alias-border-l2));box-shadow:0 4px 14px -6px color-mix(in srgb, var(--dsw-static-blue-500) 55%, transparent);color:var(--dsw-static-blue-400);outline:none;transform:translateY(-1px)}.VWh0dG_railButton svg{stroke-width:2px;width:18px;height:18px}.VWh0dG_trigger{border:1px solid color-mix(in srgb, var(--dsw-static-blue-500) 20%, var(--dsw-alias-border-l1));background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 12%, transparent), transparent 55%), radial-gradient(150% 200% at 100% 110%, color-mix(in srgb, var(--dsw-static-blue-400) 9%, transparent), transparent 60%), var(--dsw-alias-bg-layer-1);width:100%;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative;overflow:hidden}@supports (backdrop-filter:blur(1px)){.VWh0dG_trigger{background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 14%, transparent), transparent 55%), radial-gradient(150% 200% at 100% 110%, color-mix(in srgb, var(--dsw-static-blue-400) 10%, transparent), transparent 60%), color-mix(in srgb, var(--dsw-alias-bg-layer-1) 72%, transparent);backdrop-filter:blur(12px)}}.VWh0dG_trigger:hover,.VWh0dG_trigger:focus-visible{border-color:color-mix(in srgb, var(--dsw-static-blue-500) 42%, var(--dsw-alias-border-l1));box-shadow:0 8px 24px -10px 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:28px;height:28px;color:var(--dsw-static-neutral-bluish-00);box-shadow:0 2px 8px -2px color-mix(in srgb, var(--dsw-static-blue-500) 60%, transparent);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.VWh0dG_triggerIcon svg{stroke-width:1.8px;width:15px;height:15px}.VWh0dG_triggerToday,.VWh0dG_triggerMonth{align-items:baseline;gap:4px;min-width:0;display:flex}.VWh0dG_triggerDivider{background:var(--dsw-alias-border-l1);align-self:stretch;width:1px}.VWh0dG_triggerAmount{color:var(--dsw-alias-label-primary);letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px;font-weight:600;line-height:22px}.VWh0dG_triggerAmountSub{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px;font-weight:600;line-height:18px}.VWh0dG_triggerMeta{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:10.5px;line-height:14px}.VWh0dG_triggerWrap{width:100%;display:block;position:relative}.VWh0dG_triggerPop{border:1px solid color-mix(in srgb, var(--dsw-static-blue-500) 22%, var(--dsw-alias-border-l1));background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 12%, transparent), transparent 55%), var(--dsw-alias-bg-layer-2);box-shadow:0 12px 32px -12px color-mix(in srgb, var(--dsw-alias-label-primary) 30%, transparent);opacity:0;pointer-events:none;z-index:10;border-radius:12px;flex-direction:column;gap:6px;padding:12px 14px;transition:opacity .16s,transform .16s;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;transform:translateY(4px)}@supports (backdrop-filter:blur(1px)){.VWh0dG_triggerPop{background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 14%, transparent), transparent 55%), color-mix(in srgb, var(--dsw-alias-bg-layer-2) 82%, transparent);backdrop-filter:blur(14px)}}.VWh0dG_triggerWrap:hover .VWh0dG_triggerPop,.VWh0dG_triggerWrap:focus-within .VWh0dG_triggerPop{opacity:1;transform:translateY(0)}.VWh0dG_triggerPopRow{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.VWh0dG_triggerPopLabel{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:16px}.VWh0dG_triggerPopValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600;line-height:18px}.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:linear-gradient(180deg, var(--dsw-static-blue-400), var(--dsw-static-blue-500));border-radius:2px;flex:1;transition:height .2s}.VWh0dG_dashboardModal{background:linear-gradient(var(--dsw-alias-bg-layer-2), var(--dsw-alias-bg-layer-2)) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--dsw-static-blue-500) 55%, transparent), color-mix(in srgb, var(--dsw-static-blue-400) 22%, transparent) 45%, color-mix(in srgb, var(--dsw-static-blue-500) 38%, transparent)) border-box;width:min(760px,100vw - 48px);max-height:min(760px,88vh);box-shadow:var(--dsw-shadow-lv3), 0 24px 80px -24px color-mix(in srgb, var(--dsw-static-blue-500) 35%, transparent);border:1px solid #0000;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:linear-gradient(135deg, var(--dsw-static-blue-500), color-mix(in srgb, var(--dsw-static-blue-500) 72%, var(--dsw-static-blue-400)));color:var(--dsw-static-neutral-bluish-00);box-shadow:0 2px 10px -3px color-mix(in srgb, var(--dsw-static-blue-500) 55%, transparent);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 color-mix(in srgb, var(--dsw-static-blue-500) 16%, var(--dsw-alias-border-l1));background:radial-gradient(90% 150% at 6% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 10%, transparent), transparent 60%), radial-gradient(70% 130% at 96% 100%, color-mix(in srgb, var(--dsw-static-blue-400) 8%, transparent), transparent 55%), var(--dsw-alias-bg-layer-1);border-radius:16px;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;display:flex;position:relative;overflow:hidden}.VWh0dG_heroMain{flex-direction:column;gap:4px;min-width:0;display:flex}.VWh0dG_heroLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_heroValue{letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;background:linear-gradient(120deg, var(--dsw-alias-label-primary) 25%, color-mix(in srgb, var(--dsw-static-blue-500) 85%, var(--dsw-alias-label-primary)));color:#0000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:44px;font-weight:600;line-height:52px}.VWh0dG_heroMeta{color:var(--dsw-alias-label-caption);white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_heroSide{border-left:1px solid var(--dsw-alias-border-l1);flex-direction:column;flex:none;gap:10px;padding-left:24px;display:flex}.VWh0dG_heroSideItem{align-items:baseline;gap:8px;display:flex}.VWh0dG_heroSideLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_heroSideValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:16px;font-weight:600;line-height:22px}.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_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,background-color .16s,transform .16s,box-shadow .16s;display:flex;position:relative;overflow:hidden}.VWh0dG_kpiTile:before{content:\"\";background:linear-gradient(90deg, color-mix(in srgb, var(--dsw-static-blue-500) 70%, transparent), transparent);opacity:.7;height:2px;position:absolute;inset:0 0 auto}.VWh0dG_kpiTile:has(.VWh0dG_kpiGreen):before{background:linear-gradient(90deg, color-mix(in srgb, var(--dsw-static-green-500) 70%, transparent), transparent)}.VWh0dG_kpiTile:hover{border-color:var(--dsw-alias-border-l2);background:var(--dsw-alias-interactive-bg-hover);box-shadow:0 6px 16px -8px color-mix(in srgb, var(--dsw-alias-label-primary) 35%, transparent);transform:translateY(-1px)}.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;font-size:21px;font-weight:600;line-height:27px}.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;display:flex}.VWh0dG_panelHead{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.VWh0dG_panelTitle{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_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:color-mix(in srgb, var(--dsw-static-blue-500) 40%, var(--dsw-alias-border-l1));color:var(--dsw-static-blue-500);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:linear-gradient(90deg, var(--dsw-static-blue-500), var(--dsw-static-blue-400))}.VWh0dG_shareSegOff{background:color-mix(in srgb, var(--dsw-static-blue-500) 30%, var(--dsw-alias-bg-module-platform))}.VWh0dG_shareSegUser{background:linear-gradient(90deg, var(--dsw-static-blue-500), var(--dsw-static-blue-400))}.VWh0dG_shareSegAssistant{background:linear-gradient(90deg, var(--dsw-static-green-500), color-mix(in srgb, var(--dsw-static-green-500) 70%, var(--dsw-static-blue-400)))}.VWh0dG_shareSegTool{background:color-mix(in srgb, var(--dsw-static-amber-500) 80%, var(--dsw-alias-bg-module-platform))}.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_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-static-blue-500);background:var(--dsw-static-blue-500)}.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:.35}.VWh0dG_chartBar:hover{opacity:.6}.VWh0dG_chartStack{stroke:var(--dsw-alias-bg-layer-1);stroke-width:.75px}.VWh0dG_chartStack:hover{opacity:.85}.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:2.5px}.VWh0dG_chartTooltip{pointer-events:none;z-index:2;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);box-shadow:var(--dsw-shadow-lv2);white-space:nowrap;border-radius:10px;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_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);background:var(--dsw-alias-bg-module-platform);font-size:11px;font-weight:500}.VWh0dG_modelTable tbody tr,.VWh0dG_pricingTable tbody tr{transition:background-color .12s}.VWh0dG_modelTable tbody tr:hover,.VWh0dG_pricingTable tbody tr:hover{background:var(--dsw-alias-interactive-bg-hover)}.VWh0dG_numCol{text-align:right;font-variant-numeric:tabular-nums}.VWh0dG_costCol{color:var(--dsw-static-blue-500);font-weight:600}.VWh0dG_na{color:var(--dsw-alias-label-dimmed)}.VWh0dG_modelCell{align-items:center;gap:8px;display:inline-flex}.VWh0dG_modelDot{width:9px;height:9px;box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);border-radius:50%;flex:none}.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-static-blue-500)}.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:color-mix(in srgb, var(--dsw-static-green-500) 10%, transparent)}.VWh0dG_rateBadgeBuiltin{color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-bg-module-platform)}.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_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);box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-static-green-500) 18%, transparent)}.VWh0dG_healthBad{background:var(--dsw-static-red-500);box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-static-red-500) 18%, transparent)}.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:color-mix(in srgb, var(--dsw-static-green-500) 10%, transparent)}.VWh0dG_healthBadgeBad{color:var(--dsw-static-red-500);background:color-mix(in srgb, var(--dsw-static-red-500) 10%, transparent)}.VWh0dG_planTag{color:var(--dsw-static-green-500);background:color-mix(in srgb, var(--dsw-static-green-500) 12%, transparent);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:color-mix(in srgb, var(--dsw-static-amber-500) 12%, transparent);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:color-mix(in srgb, var(--dsw-static-blue-500) 12%, transparent);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{flex-direction:column;align-items:flex-end;gap:2px;display:inline-flex}.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}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-muted,#3a4250);background:var(--dsw-alias-bg-layer-2,#232a33);border-radius:6px;align-items:center;gap:2px;margin-right:8px;padding:2px;display:inline-flex}.VWh0dG_currencyButton{color:var(--dsw-alias-text-secondary,#9aa5b1);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-accent-muted,#2f6fed);color:#fff}.VWh0dG_subscriptionGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-top:10px;display:grid}.VWh0dG_subscriptionCard{border:1px solid var(--dsw-alias-border-muted,#3a4250);background:var(--dsw-alias-bg-layer-2,#232a33);border-radius:8px;padding:10px 12px}.VWh0dG_subscriptionHead{align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.VWh0dG_subscriptionName{font-size:13px;font-weight:700}.VWh0dG_subscriptionPlan{color:var(--dsw-alias-text-secondary,#9aa5b1);font-size:11px}.VWh0dG_subscriptionStatus{color:var(--dsw-alias-warning,#e0a63c);margin-bottom:6px;font-size:11px}.VWh0dG_subscriptionWindow{align-items:center;gap:8px;margin-top:6px;font-size:11px;display:flex}.VWh0dG_subscriptionWindowLabel{color:var(--dsw-alias-text-secondary,#9aa5b1);flex:0 0 44px}.VWh0dG_subscriptionTrack{background:var(--dsw-alias-bg-layer-3,#1a2028);border-radius:3px;flex:1;height:5px;overflow:hidden}.VWh0dG_subscriptionFill{background:var(--dsw-alias-accent,#3b82f6);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_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-text-secondary,#9aa5b1);flex:none}.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:color-mix(in srgb, var(--dsw-static-green-500) 12%, transparent);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:#fff;background:#ef4444;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:110px;padding:4px 2px 0;display:flex;overflow-x:auto}.VWh0dG_roundsBarCol{flex-direction:column;flex:1 0 28px;justify-content:flex-end;align-items:stretch;height:100%;display:flex}.VWh0dG_roundsBarLabel{text-align:center;color:var(--dsw-alias-text-secondary,#9aa5b1);white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-bottom:2px;font-size:8px;line-height:1;overflow:hidden}.VWh0dG_roundsBarWrap{flex:1;align-items:flex-end;min-height:0;display:flex}.VWh0dG_roundsBar{background:var(--dsw-alias-accent,#3b82f6);border-radius:2px 2px 0 0;width:100%;min-height:2px;position:relative}.VWh0dG_roundsBarFlagged{outline-offset:1px;background:#ef4444;border-radius:2px 2px 0 0;outline:1.5px solid #ef4444;width:100%;min-height:2px;position:relative}.VWh0dG_roundsFlagMark{background:#ef4444;border-radius:50%;width:7px;height:7px;position:absolute;top:-3px;right:-3px;box-shadow:0 0 4px #ef4444}.VWh0dG_roundsAxis{color:var(--dsw-alias-text-secondary,#9aa5b1);justify-content:space-between;margin-top:6px;font-size:10px;display:flex}.VWh0dG_roundsEmpty{color:var(--dsw-alias-text-secondary,#9aa5b1);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,#6b7480);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,#fff)}.VWh0dG_heatmapFooter{color:var(--dsw-alias-text-secondary,#9aa5b1);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}@media (width<=640px){.VWh0dG_kpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.VWh0dG_hero{flex-direction:column;align-items:flex-start;gap:14px}.VWh0dG_heroSide{border-left:none;border-top:1px solid var(--dsw-alias-border-l1);flex-direction:row;align-self:stretch;gap:20px;padding-top:14px;padding-left:0}}";
27
+ const css = ".VWh0dG_railButton{border:1px solid color-mix(in srgb, var(--dsw-static-blue-500) 28%, var(--dsw-alias-border-l2));background:linear-gradient(135deg, color-mix(in srgb, var(--dsw-static-blue-500) 14%, var(--dsw-alias-bg-layer-1)), var(--dsw-alias-bg-layer-1));width:36px;height:36px;color:var(--dsw-static-blue-500);cursor:pointer;border-radius:10px;flex:none;justify-content:center;align-items:center;padding:0;transition:border-color .16s,box-shadow .16s,transform .16s,color .16s;display:flex}.VWh0dG_railButton:hover,.VWh0dG_railButton:focus-visible{border-color:color-mix(in srgb, var(--dsw-static-blue-500) 48%, var(--dsw-alias-border-l2));box-shadow:0 4px 14px -6px color-mix(in srgb, var(--dsw-static-blue-500) 55%, transparent);color:var(--dsw-static-blue-400);outline:none;transform:translateY(-1px)}.VWh0dG_railButton svg{stroke-width:2px;width:18px;height:18px}.VWh0dG_trigger{border:1px solid color-mix(in srgb, var(--dsw-static-blue-500) 20%, var(--dsw-alias-border-l1));background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 12%, transparent), transparent 55%), radial-gradient(150% 200% at 100% 110%, color-mix(in srgb, var(--dsw-static-blue-400) 9%, transparent), transparent 60%), var(--dsw-alias-bg-layer-1);width:100%;min-width:0;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative;overflow:hidden}@supports (backdrop-filter:blur(1px)){.VWh0dG_trigger{background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 14%, transparent), transparent 55%), radial-gradient(150% 200% at 100% 110%, color-mix(in srgb, var(--dsw-static-blue-400) 10%, transparent), transparent 60%), color-mix(in srgb, var(--dsw-alias-bg-layer-1) 72%, transparent);backdrop-filter:blur(12px)}}.VWh0dG_trigger:hover,.VWh0dG_trigger:focus-visible{border-color:color-mix(in srgb, var(--dsw-static-blue-500) 42%, var(--dsw-alias-border-l1));box-shadow:0 8px 24px -10px 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:28px;height:28px;color:var(--dsw-static-neutral-bluish-00);box-shadow:0 2px 8px -2px color-mix(in srgb, var(--dsw-static-blue-500) 60%, transparent);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.VWh0dG_triggerIcon svg{stroke-width:1.8px;width:15px;height:15px}.VWh0dG_triggerToday,.VWh0dG_triggerMonth{align-items:baseline;gap:4px;min-width:0;display:flex}.VWh0dG_triggerDivider{background:var(--dsw-alias-border-l1);align-self:stretch;width:1px}.VWh0dG_triggerAmount{color:var(--dsw-alias-label-primary);letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px;font-weight:600;line-height:22px}.VWh0dG_triggerAmountSub{color:var(--dsw-alias-label-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px;font-weight:600;line-height:18px}.VWh0dG_triggerMeta{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:10.5px;line-height:14px}.VWh0dG_triggerWrap{flex:auto;width:100%;min-width:0;display:block;position:relative}.VWh0dG_triggerPop{border:1px solid color-mix(in srgb, var(--dsw-static-blue-500) 22%, var(--dsw-alias-border-l1));background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 12%, transparent), transparent 55%), var(--dsw-alias-bg-layer-2);box-shadow:0 12px 32px -12px color-mix(in srgb, var(--dsw-alias-label-primary) 30%, transparent);opacity:0;pointer-events:none;z-index:10;border-radius:12px;flex-direction:column;gap:6px;padding:12px 14px;transition:opacity .16s,transform .16s;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;transform:translateY(4px)}@supports (backdrop-filter:blur(1px)){.VWh0dG_triggerPop{background:radial-gradient(130% 180% at 0% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 14%, transparent), transparent 55%), color-mix(in srgb, var(--dsw-alias-bg-layer-2) 82%, transparent);backdrop-filter:blur(14px)}}.VWh0dG_triggerWrap:hover .VWh0dG_triggerPop,.VWh0dG_triggerWrap:focus-within .VWh0dG_triggerPop{opacity:1;transform:translateY(0)}.VWh0dG_triggerPopRow{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.VWh0dG_triggerPopLabel{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:16px}.VWh0dG_triggerPopValue{color:var(--dsw-alias-label-primary);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600;line-height:18px}.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:linear-gradient(180deg, var(--dsw-static-blue-400), var(--dsw-static-blue-500));border-radius:2px;flex:1;transition:height .2s}.VWh0dG_dashboardModal{background:linear-gradient(var(--dsw-alias-bg-layer-2), var(--dsw-alias-bg-layer-2)) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--dsw-static-blue-500) 55%, transparent), color-mix(in srgb, var(--dsw-static-blue-400) 22%, transparent) 45%, color-mix(in srgb, var(--dsw-static-blue-500) 38%, transparent)) border-box;width:min(760px,100vw - 48px);max-height:min(760px,88vh);box-shadow:var(--dsw-shadow-lv3), 0 24px 80px -24px color-mix(in srgb, var(--dsw-static-blue-500) 35%, transparent);border:1px solid #0000;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:linear-gradient(135deg, var(--dsw-static-blue-500), color-mix(in srgb, var(--dsw-static-blue-500) 72%, var(--dsw-static-blue-400)));color:var(--dsw-static-neutral-bluish-00);box-shadow:0 2px 10px -3px color-mix(in srgb, var(--dsw-static-blue-500) 55%, transparent);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 color-mix(in srgb, var(--dsw-static-blue-500) 16%, var(--dsw-alias-border-l1));background:radial-gradient(90% 150% at 6% 0%, color-mix(in srgb, var(--dsw-static-blue-500) 10%, transparent), transparent 60%), radial-gradient(70% 130% at 96% 100%, color-mix(in srgb, var(--dsw-static-blue-400) 8%, transparent), transparent 55%), var(--dsw-alias-bg-layer-1);border-radius:16px;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;display:flex;position:relative;overflow:hidden}.VWh0dG_heroMain{flex-direction:column;gap:4px;min-width:0;display:flex}.VWh0dG_heroLabel{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_heroValue{letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;background:linear-gradient(120deg, var(--dsw-alias-label-primary) 25%, color-mix(in srgb, var(--dsw-static-blue-500) 85%, var(--dsw-alias-label-primary)));color:#0000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:44px;font-weight:600;line-height:52px}.VWh0dG_heroMeta{color:var(--dsw-alias-label-caption);white-space:nowrap;font-size:12px;line-height:17px}.VWh0dG_heroGauge{flex:none;width:108px;height:108px;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:10px}.VWh0dG_heroGaugeArc{fill:none;stroke:url(#heroGaugeGradient);stroke-width:10px;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:22px;font-weight:700;line-height:26px}.VWh0dG_heroGaugePctOver{color:var(--dsw-static-red-500)}.VWh0dG_heroGaugeLabel{color:var(--dsw-alias-label-tertiary);font-size:10.5px;line-height:14px}.VWh0dG_heroSide{border-left:1px solid var(--dsw-alias-border-l1);flex-direction:column;flex:none;gap:8px;padding-left:24px;display:flex}.VWh0dG_heroSideItem{flex-direction:column;gap:2px;display:flex}.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:17px;font-weight:600;line-height:23px;display:inline-flex}.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_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,background-color .16s,transform .16s,box-shadow .16s;display:flex;position:relative;overflow:hidden}.VWh0dG_kpiTile:before{content:\"\";background:linear-gradient(90deg, color-mix(in srgb, var(--dsw-static-blue-500) 70%, transparent), transparent);opacity:.7;height:2px;position:absolute;inset:0 0 auto}.VWh0dG_kpiTile:has(.VWh0dG_kpiGreen):before{background:linear-gradient(90deg, color-mix(in srgb, var(--dsw-static-green-500) 70%, transparent), transparent)}.VWh0dG_kpiTile:hover{border-color:var(--dsw-alias-border-l2);background:var(--dsw-alias-interactive-bg-hover);box-shadow:0 6px 16px -8px color-mix(in srgb, var(--dsw-alias-label-primary) 35%, transparent);transform:translateY(-1px)}.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_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:color-mix(in srgb, var(--dsw-static-blue-500) 40%, var(--dsw-alias-border-l1));color:var(--dsw-static-blue-500);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:linear-gradient(90deg, var(--dsw-static-blue-500), var(--dsw-static-blue-400))}.VWh0dG_shareSegOff{background:color-mix(in srgb, var(--dsw-static-blue-500) 30%, var(--dsw-alias-bg-module-platform))}.VWh0dG_shareSegUser{background:linear-gradient(90deg, var(--dsw-static-blue-500), var(--dsw-static-blue-400))}.VWh0dG_shareSegAssistant{background:linear-gradient(90deg, var(--dsw-static-green-500), color-mix(in srgb, var(--dsw-static-green-500) 70%, var(--dsw-static-blue-400)))}.VWh0dG_shareSegTool{background:color-mix(in srgb, var(--dsw-static-amber-500) 80%, var(--dsw-alias-bg-module-platform))}.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_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-static-blue-500);background:var(--dsw-static-blue-500)}.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:.35}.VWh0dG_chartBar:hover{opacity:.6}.VWh0dG_chartStack{stroke:var(--dsw-alias-bg-layer-1);stroke-width:.75px}.VWh0dG_chartStack:hover{opacity:.85}.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:2.5px}.VWh0dG_chartTooltip{pointer-events:none;z-index:2;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);box-shadow:var(--dsw-shadow-lv2);white-space:nowrap;border-radius:10px;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_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);background:var(--dsw-alias-bg-module-platform);font-size:11px;font-weight:500}.VWh0dG_modelTable tbody tr,.VWh0dG_pricingTable tbody tr{transition:background-color .12s}.VWh0dG_modelTable tbody tr:hover,.VWh0dG_pricingTable tbody tr:hover{background:var(--dsw-alias-interactive-bg-hover)}.VWh0dG_numCol{text-align:right;font-variant-numeric:tabular-nums}.VWh0dG_costCol{color:var(--dsw-static-blue-500);font-weight:600}.VWh0dG_na{color:var(--dsw-alias-label-dimmed)}.VWh0dG_modelCell{align-items:center;gap:8px;display:inline-flex}.VWh0dG_modelDot{width:9px;height:9px;box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-alias-bg-layer-1) 60%, transparent);border-radius:50%;flex:none}.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-static-blue-500)}.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:color-mix(in srgb, var(--dsw-static-green-500) 10%, transparent)}.VWh0dG_rateBadgeBuiltin{color:var(--dsw-alias-label-tertiary);background:var(--dsw-alias-bg-module-platform)}.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);box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-static-green-500) 18%, transparent)}.VWh0dG_healthBad{background:var(--dsw-static-red-500);box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-static-red-500) 18%, transparent)}.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:color-mix(in srgb, var(--dsw-static-green-500) 10%, transparent)}.VWh0dG_healthBadgeBad{color:var(--dsw-static-red-500);background:color-mix(in srgb, var(--dsw-static-red-500) 10%, transparent)}.VWh0dG_planTag{color:var(--dsw-static-green-500);background:color-mix(in srgb, var(--dsw-static-green-500) 12%, transparent);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:color-mix(in srgb, var(--dsw-static-amber-500) 12%, transparent);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:color-mix(in srgb, var(--dsw-static-blue-500) 12%, transparent);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{flex-direction:column;align-items:flex-end;gap:2px;display:inline-flex}.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}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-muted,#3a4250);background:var(--dsw-alias-bg-layer-2,#232a33);border-radius:6px;align-items:center;gap:2px;margin-right:8px;padding:2px;display:inline-flex}.VWh0dG_currencyButton{color:var(--dsw-alias-text-secondary,#9aa5b1);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-accent-muted,#2f6fed);color:#fff}.VWh0dG_subscriptionGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-top:10px;display:grid}.VWh0dG_subscriptionCard{border:1px solid var(--dsw-alias-border-muted,#3a4250);background:var(--dsw-alias-bg-layer-2,#232a33);border-radius:10px;padding:12px 14px}.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-text-secondary,#9aa5b1);font-size:11px}.VWh0dG_subscriptionPlan[data-kind=code],.VWh0dG_subscriptionPlan[data-kind=token]{color:var(--dsw-alias-label-secondary);background:color-mix(in srgb, var(--dsw-alias-label-secondary) 12%, transparent);border-radius:999px;padding:1px 8px;font-weight:500}.VWh0dG_subscriptionStatus{color:var(--dsw-alias-warning,#e0a63c);margin-bottom:6px;font-size:11px}.VWh0dG_subscriptionWindow{align-items:center;gap:8px;margin-top:6px;font-size:11px;display:flex}.VWh0dG_subscriptionWindowLabel{color:var(--dsw-alias-text-secondary,#9aa5b1);flex:0 0 44px}.VWh0dG_subscriptionTrack{background:var(--dsw-alias-bg-layer-3,#1a2028);border-radius:3px;flex:1;height:5px;overflow:hidden}.VWh0dG_subscriptionFill{background:var(--dsw-alias-accent,#3b82f6);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_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-text-secondary,#9aa5b1);flex:none}.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:color-mix(in srgb, var(--dsw-static-green-500) 12%, transparent);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:#fff;background:#ef4444;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:110px;padding:4px 2px 0;display:flex;overflow-x:auto}.VWh0dG_roundsBarCol{flex-direction:column;flex:1 0 28px;justify-content:flex-end;align-items:stretch;height:100%;display:flex}.VWh0dG_roundsBarLabel{text-align:center;color:var(--dsw-alias-text-secondary,#9aa5b1);white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-bottom:2px;font-size:8px;line-height:1;overflow:hidden}.VWh0dG_roundsBarWrap{flex:1;align-items:flex-end;min-height:0;display:flex}.VWh0dG_roundsBar{background:var(--dsw-alias-accent,#3b82f6);border-radius:2px 2px 0 0;width:100%;min-height:2px;position:relative}.VWh0dG_roundsBarFlagged{outline-offset:1px;background:#ef4444;border-radius:2px 2px 0 0;outline:1.5px solid #ef4444;width:100%;min-height:2px;position:relative}.VWh0dG_roundsFlagMark{background:#ef4444;border-radius:50%;width:7px;height:7px;position:absolute;top:-3px;right:-3px;box-shadow:0 0 4px #ef4444}.VWh0dG_roundsAxis{color:var(--dsw-alias-text-secondary,#9aa5b1);justify-content:space-between;margin-top:6px;font-size:10px;display:flex}.VWh0dG_roundsEmpty{color:var(--dsw-alias-text-secondary,#9aa5b1);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,#6b7480);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,#fff)}.VWh0dG_heatmapFooter{color:var(--dsw-alias-text-secondary,#9aa5b1);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}@media (width<=640px){.VWh0dG_kpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.VWh0dG_hero{flex-direction:column;align-items:flex-start;gap:14px}.VWh0dG_heroGauge{width:96px;height:96px;position:absolute;top:20px;right:24px}.VWh0dG_heroMain{padding-right:112px}.VWh0dG_heroSide{border-left:none;border-top:1px solid var(--dsw-alias-border-l1);flex-direction:row;align-self:stretch;gap:20px;padding-top:14px;padding-left:0}.VWh0dG_heroSideItem{flex-direction:row;align-items:baseline;gap:8px}}";
28
28
  const tagId = "@kenz1117/dsh-ui-usage-billing/UsageBilling.module.css";
29
29
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
30
30
  const tag = document.createElement("style");
@@ -34,201 +34,274 @@ window.__ModuleLoader__.load({
34
34
  document.head.appendChild(tag);
35
35
  }
36
36
  var UsageBilling_module_css_default = {
37
- "subscriptionStatus": "VWh0dG_subscriptionStatus",
38
- "delta": "VWh0dG_delta",
39
- "currencyButtonActive": "VWh0dG_currencyButtonActive",
40
- "healthBad": "VWh0dG_healthBad",
41
- "subscriptionGrid": "VWh0dG_subscriptionGrid",
42
- "chartWrap": "VWh0dG_chartWrap",
43
- "subscriptionFill": "VWh0dG_subscriptionFill",
44
- "kpiTile": "VWh0dG_kpiTile",
45
- "chartTooltipDate": "VWh0dG_chartTooltipDate",
46
- "deltaDown": "VWh0dG_deltaDown",
47
- "healthOk": "VWh0dG_healthOk",
48
- "liveQuotaWarn": "VWh0dG_liveQuotaWarn",
49
- "heroMain": "VWh0dG_heroMain",
50
- "subscriptionCard": "VWh0dG_subscriptionCard",
51
- "railButton": "VWh0dG_railButton",
52
- "subscriptionPlan": "VWh0dG_subscriptionPlan",
53
37
  "providerGroup": "VWh0dG_providerGroup",
54
- "heatmapGrid": "VWh0dG_heatmapGrid",
55
- "uncataloguedTag": "VWh0dG_uncataloguedTag",
56
- "roundsBarFlagged": "VWh0dG_roundsBarFlagged",
57
- "roundsEmpty": "VWh0dG_roundsEmpty",
58
- "kpiLabel": "VWh0dG_kpiLabel",
59
- "kpiValue": "VWh0dG_kpiValue",
60
- "triggerIcon": "VWh0dG_triggerIcon",
38
+ "pricingToggle": "VWh0dG_pricingToggle",
39
+ "heatmapCellEmpty": "VWh0dG_heatmapCellEmpty",
40
+ "heroGaugeSvg": "VWh0dG_heroGaugeSvg",
41
+ "deltaDown": "VWh0dG_deltaDown",
42
+ "kpiDetail": "VWh0dG_kpiDetail",
43
+ "bandPrice": "VWh0dG_bandPrice",
44
+ "heatmap": "VWh0dG_heatmap",
45
+ "heroGaugePctOver": "VWh0dG_heroGaugePctOver",
46
+ "trigger": "VWh0dG_trigger",
47
+ "healthBad": "VWh0dG_healthBad",
48
+ "kpiGrid": "VWh0dG_kpiGrid",
49
+ "roundsBarLabel": "VWh0dG_roundsBarLabel",
50
+ "planTag": "VWh0dG_planTag",
61
51
  "rangeButtonActive": "VWh0dG_rangeButtonActive",
52
+ "chartLegend": "VWh0dG_chartLegend",
53
+ "kpiValue": "VWh0dG_kpiValue",
54
+ "heroGaugeArcOver": "VWh0dG_heroGaugeArcOver",
55
+ "currencyButtonActive": "VWh0dG_currencyButtonActive",
56
+ "headTitleRow": "VWh0dG_headTitleRow",
57
+ "budgetFill": "VWh0dG_budgetFill",
58
+ "rangeButton": "VWh0dG_rangeButton",
59
+ "heroGaugePct": "VWh0dG_heroGaugePct",
60
+ "heroSide": "VWh0dG_heroSide",
61
+ "shareSegUser": "VWh0dG_shareSegUser",
62
+ "chartBar": "VWh0dG_chartBar",
63
+ "chartLegendBar": "VWh0dG_chartLegendBar",
62
64
  "modelName": "VWh0dG_modelName",
65
+ "bandPriceOff": "VWh0dG_bandPriceOff",
66
+ "closeButton": "VWh0dG_closeButton",
63
67
  "healthIdle": "VWh0dG_healthIdle",
64
- "budget": "VWh0dG_budget",
65
- "trigger": "VWh0dG_trigger",
66
- "panelHead": "VWh0dG_panelHead",
67
- "pricingToggleText": "VWh0dG_pricingToggleText",
68
- "liveCostItem": "VWh0dG_liveCostItem",
69
- "deltaUp": "VWh0dG_deltaUp",
70
- "pricingChevron": "VWh0dG_pricingChevron",
71
- "rateBadgeLive": "VWh0dG_rateBadgeLive",
72
- "rangeToggle": "VWh0dG_rangeToggle",
73
- "chartBar": "VWh0dG_chartBar",
74
- "dashboardRight": "VWh0dG_dashboardRight",
75
- "budgetInputWrap": "VWh0dG_budgetInputWrap",
76
- "triggerToday": "VWh0dG_triggerToday",
77
- "exportButton": "VWh0dG_exportButton",
78
- "chartCrosshair": "VWh0dG_chartCrosshair",
79
- "triggerPopBar": "VWh0dG_triggerPopBar",
80
- "dashboardTitle": "VWh0dG_dashboardTitle",
81
- "costCol": "VWh0dG_costCol",
82
- "flatTag": "VWh0dG_flatTag",
83
- "healthBadge": "VWh0dG_healthBadge",
84
- "liveTierPeak": "VWh0dG_liveTierPeak",
85
- "providerGroupHead": "VWh0dG_providerGroupHead",
86
- "subscriptionHead": "VWh0dG_subscriptionHead",
87
- "trendPanel": "VWh0dG_trendPanel",
88
- "switchKnob": "VWh0dG_switchKnob",
89
- "providerGroupBalanceLabel": "VWh0dG_providerGroupBalanceLabel",
90
- "heatmap": "VWh0dG_heatmap",
91
- "dashboard": "VWh0dG_dashboard",
92
- "triggerPopValue": "VWh0dG_triggerPopValue",
93
- "triggerPopLabel": "VWh0dG_triggerPopLabel",
94
- "budgetHead": "VWh0dG_budgetHead",
95
- "triggerAmount": "VWh0dG_triggerAmount",
96
- "healthBadgeOk": "VWh0dG_healthBadgeOk",
97
- "triggerWrap": "VWh0dG_triggerWrap",
68
+ "liveCostSep": "VWh0dG_liveCostSep",
69
+ "subscriptionExhausted": "VWh0dG_subscriptionExhausted",
70
+ "roundsBars": "VWh0dG_roundsBars",
71
+ "panelTitle": "VWh0dG_panelTitle",
72
+ "tableScroll": "VWh0dG_tableScroll",
73
+ "providerGroupName": "VWh0dG_providerGroupName",
74
+ "triggerPop": "VWh0dG_triggerPop",
75
+ "chartSvg": "VWh0dG_chartSvg",
76
+ "subscriptionCard": "VWh0dG_subscriptionCard",
77
+ "heatmapFooter": "VWh0dG_heatmapFooter",
78
+ "tabPanel": "VWh0dG_tabPanel",
79
+ "subscriptionFillOver": "VWh0dG_subscriptionFillOver",
98
80
  "triggerAmountSub": "VWh0dG_triggerAmountSub",
99
- "shareDot": "VWh0dG_shareDot",
100
- "balanceDaysLow": "VWh0dG_balanceDaysLow",
81
+ "triggerWrap": "VWh0dG_triggerWrap",
82
+ "liveTierOff": "VWh0dG_liveTierOff",
83
+ "modelTableScroll": "VWh0dG_modelTableScroll",
84
+ "tabButton": "VWh0dG_tabButton",
85
+ "currencyToggle": "VWh0dG_currencyToggle",
86
+ "pricingTable": "VWh0dG_pricingTable",
87
+ "dashboardModal": "VWh0dG_dashboardModal",
88
+ "heroLabel": "VWh0dG_heroLabel",
101
89
  "panel": "VWh0dG_panel",
102
- "budgetLabel": "VWh0dG_budgetLabel",
103
- "pricingChevronOpen": "VWh0dG_pricingChevronOpen",
104
- "kpiGrid": "VWh0dG_kpiGrid",
105
- "chartLegend": "VWh0dG_chartLegend",
106
- "balanceDays": "VWh0dG_balanceDays",
107
- "subscriptionExhausted": "VWh0dG_subscriptionExhausted",
90
+ "panelHint": "VWh0dG_panelHint",
91
+ "delta": "VWh0dG_delta",
92
+ "shareDot": "VWh0dG_shareDot",
93
+ "flatTag": "VWh0dG_flatTag",
94
+ "subscriptionStatus": "VWh0dG_subscriptionStatus",
95
+ "budgetValue": "VWh0dG_budgetValue",
96
+ "tabNav": "VWh0dG_tabNav",
97
+ "providerGroupMeta": "VWh0dG_providerGroupMeta",
98
+ "kpiTile": "VWh0dG_kpiTile",
99
+ "shareSeg": "VWh0dG_shareSeg",
100
+ "healthBadgeOk": "VWh0dG_healthBadgeOk",
101
+ "exportLabel": "VWh0dG_exportLabel",
102
+ "liveCostItem": "VWh0dG_liveCostItem",
103
+ "heroValue": "VWh0dG_heroValue",
104
+ "chartTooltip": "VWh0dG_chartTooltip",
105
+ "shareTrack": "VWh0dG_shareTrack",
106
+ "providerGroupTitle": "VWh0dG_providerGroupTitle",
107
+ "subscriptionName": "VWh0dG_subscriptionName",
108
+ "pricingToggleText": "VWh0dG_pricingToggleText",
109
+ "roundsBar": "VWh0dG_roundsBar",
110
+ "modelProvider": "VWh0dG_modelProvider",
111
+ "triggerPopRow": "VWh0dG_triggerPopRow",
112
+ "tabPanelIn": "VWh0dG_tabPanelIn",
113
+ "budgetInputWrap": "VWh0dG_budgetInputWrap",
114
+ "currencyButton": "VWh0dG_currencyButton",
115
+ "subscriptionFillWarn": "VWh0dG_subscriptionFillWarn",
116
+ "providerGroupBadge": "VWh0dG_providerGroupBadge",
117
+ "emptyRow": "VWh0dG_emptyRow",
108
118
  "budgetFillOver": "VWh0dG_budgetFillOver",
109
- "subscriptionWindow": "VWh0dG_subscriptionWindow",
110
- "roundsAxis": "VWh0dG_roundsAxis",
119
+ "triggerPopValue": "VWh0dG_triggerPopValue",
120
+ "rangeToggle": "VWh0dG_rangeToggle",
111
121
  "chartStack": "VWh0dG_chartStack",
112
- "triggerMonth": "VWh0dG_triggerMonth",
113
- "kpiDetail": "VWh0dG_kpiDetail",
114
- "triggerPop": "VWh0dG_triggerPop",
115
- "tabButtonActive": "VWh0dG_tabButtonActive",
116
- "shareSeg": "VWh0dG_shareSeg",
117
- "triggerDivider": "VWh0dG_triggerDivider",
118
- "dashboardModal": "VWh0dG_dashboardModal",
119
- "heroMeta": "VWh0dG_heroMeta",
122
+ "heroGaugeLabel": "VWh0dG_heroGaugeLabel",
120
123
  "shareLegend": "VWh0dG_shareLegend",
121
- "emptyRow": "VWh0dG_emptyRow",
124
+ "switchKnob": "VWh0dG_switchKnob",
125
+ "triggerToday": "VWh0dG_triggerToday",
126
+ "bandTag": "VWh0dG_bandTag",
127
+ "liveCostBar": "VWh0dG_liveCostBar",
128
+ "chartLine": "VWh0dG_chartLine",
129
+ "chartEmpty": "VWh0dG_chartEmpty",
130
+ "budgetLabel": "VWh0dG_budgetLabel",
131
+ "dashboardSubtitle": "VWh0dG_dashboardSubtitle",
122
132
  "budgetOverPulse": "VWh0dG_budgetOverPulse",
123
- "shareValue": "VWh0dG_shareValue",
124
- "numCol": "VWh0dG_numCol",
125
- "liveTierOff": "VWh0dG_liveTierOff",
126
- "headTitleRow": "VWh0dG_headTitleRow",
127
- "currencyButton": "VWh0dG_currencyButton",
128
- "tableScroll": "VWh0dG_tableScroll",
129
- "dashboardHead": "VWh0dG_dashboardHead",
130
- "subscriptionName": "VWh0dG_subscriptionName",
131
- "subscriptionPct": "VWh0dG_subscriptionPct",
132
- "providerGroupName": "VWh0dG_providerGroupName",
133
- "providerGroupMeta": "VWh0dG_providerGroupMeta",
133
+ "budgetTrack": "VWh0dG_budgetTrack",
134
+ "chartTooltipDate": "VWh0dG_chartTooltipDate",
135
+ "modelDot": "VWh0dG_modelDot",
136
+ "healthDot": "VWh0dG_healthDot",
137
+ "heroSideLabel": "VWh0dG_heroSideLabel",
138
+ "trendPanel": "VWh0dG_trendPanel",
139
+ "roundsBarWrap": "VWh0dG_roundsBarWrap",
140
+ "dashboardTitle": "VWh0dG_dashboardTitle",
141
+ "triggerAmount": "VWh0dG_triggerAmount",
142
+ "dashboardBody": "VWh0dG_dashboardBody",
143
+ "heroMeta": "VWh0dG_heroMeta",
144
+ "heroGaugeArc": "VWh0dG_heroGaugeArc",
145
+ "shareSegOff": "VWh0dG_shareSegOff",
146
+ "balanceCell": "VWh0dG_balanceCell",
134
147
  "roundsBarCol": "VWh0dG_roundsBarCol",
135
- "heatmapCell": "VWh0dG_heatmapCell",
136
- "chartGrid": "VWh0dG_chartGrid",
137
- "providerGroupTitle": "VWh0dG_providerGroupTitle",
138
- "chartTooltipRow": "VWh0dG_chartTooltipRow",
139
- "tabPanelIn": "VWh0dG_tabPanelIn",
148
+ "subscriptionTrack": "VWh0dG_subscriptionTrack",
149
+ "kpiLabel": "VWh0dG_kpiLabel",
150
+ "providerGroupHead": "VWh0dG_providerGroupHead",
151
+ "heatmapLegend": "VWh0dG_heatmapLegend",
152
+ "subscriptionFill": "VWh0dG_subscriptionFill",
153
+ "hero": "VWh0dG_hero",
154
+ "heroMain": "VWh0dG_heroMain",
155
+ "shareSegAssistant": "VWh0dG_shareSegAssistant",
140
156
  "chartLegendLine": "VWh0dG_chartLegendLine",
141
- "budgetInput": "VWh0dG_budgetInput",
142
- "rounds": "VWh0dG_rounds",
143
- "bandPrice": "VWh0dG_bandPrice",
144
- "panelTitle": "VWh0dG_panelTitle",
145
- "roundsBars": "VWh0dG_roundsBars",
146
- "exportLabel": "VWh0dG_exportLabel",
147
- "heroLabel": "VWh0dG_heroLabel",
148
- "budgetUnit": "VWh0dG_budgetUnit",
149
- "healthBadgeBad": "VWh0dG_healthBadgeBad",
157
+ "dashboardIn": "VWh0dG_dashboardIn",
158
+ "providerGroupBalanceLabel": "VWh0dG_providerGroupBalanceLabel",
159
+ "heroSideItem": "VWh0dG_heroSideItem",
160
+ "numCol": "VWh0dG_numCol",
161
+ "triggerIcon": "VWh0dG_triggerIcon",
162
+ "estimatedTag": "VWh0dG_estimatedTag",
163
+ "roundsBarFlagged": "VWh0dG_roundsBarFlagged",
150
164
  "providerGroupBalance": "VWh0dG_providerGroupBalance",
151
- "hero": "VWh0dG_hero",
165
+ "triggerPopLabel": "VWh0dG_triggerPopLabel",
166
+ "heroGauge": "VWh0dG_heroGauge",
167
+ "triggerMonth": "VWh0dG_triggerMonth",
152
168
  "shareSegPeak": "VWh0dG_shareSegPeak",
153
- "budgetTrack": "VWh0dG_budgetTrack",
154
- "subscriptionTrack": "VWh0dG_subscriptionTrack",
155
- "dashboardBody": "VWh0dG_dashboardBody",
156
- "budgetFillWarn": "VWh0dG_budgetFillWarn",
157
- "pricingToggle": "VWh0dG_pricingToggle",
158
- "providerGroupList": "VWh0dG_providerGroupList",
169
+ "subscriptionPct": "VWh0dG_subscriptionPct",
170
+ "exportButton": "VWh0dG_exportButton",
171
+ "chartCrosshair": "VWh0dG_chartCrosshair",
172
+ "bandTagOff": "VWh0dG_bandTagOff",
173
+ "shareValue": "VWh0dG_shareValue",
174
+ "kpiGreen": "VWh0dG_kpiGreen",
175
+ "liveQuotaCrit": "VWh0dG_liveQuotaCrit",
176
+ "subscriptionGrid": "VWh0dG_subscriptionGrid",
177
+ "subscriptionWindowLabel": "VWh0dG_subscriptionWindowLabel",
178
+ "pricingChevronOpen": "VWh0dG_pricingChevronOpen",
179
+ "railButton": "VWh0dG_railButton",
180
+ "rounds": "VWh0dG_rounds",
159
181
  "roundsFlagMark": "VWh0dG_roundsFlagMark",
160
- "tabPanel": "VWh0dG_tabPanel",
161
- "heatmapFooter": "VWh0dG_heatmapFooter",
162
- "heatmapHover": "VWh0dG_heatmapHover",
163
- "roundsBar": "VWh0dG_roundsBar",
164
- "tabButton": "VWh0dG_tabButton",
165
- "shareSegOff": "VWh0dG_shareSegOff",
182
+ "roundsAxis": "VWh0dG_roundsAxis",
183
+ "heatmapCell": "VWh0dG_heatmapCell",
184
+ "budgetHead": "VWh0dG_budgetHead",
185
+ "heroSideValue": "VWh0dG_heroSideValue",
186
+ "budget": "VWh0dG_budget",
187
+ "providerGroupList": "VWh0dG_providerGroupList",
188
+ "modelTable": "VWh0dG_modelTable",
189
+ "roundsEmpty": "VWh0dG_roundsEmpty",
190
+ "heatmapGrid": "VWh0dG_heatmapGrid",
191
+ "budgetControls": "VWh0dG_budgetControls",
192
+ "na": "VWh0dG_na",
193
+ "triggerDivider": "VWh0dG_triggerDivider",
194
+ "heroGaugeCenter": "VWh0dG_heroGaugeCenter",
166
195
  "modelCell": "VWh0dG_modelCell",
167
- "chartSvg": "VWh0dG_chartSvg",
168
- "shareSegUser": "VWh0dG_shareSegUser",
196
+ "dashboardRight": "VWh0dG_dashboardRight",
197
+ "panelHead": "VWh0dG_panelHead",
169
198
  "switchOn": "VWh0dG_switchOn",
170
- "rangeButton": "VWh0dG_rangeButton",
171
- "triggerMeta": "VWh0dG_triggerMeta",
172
- "heroValue": "VWh0dG_heroValue",
173
- "triggerPopBars": "VWh0dG_triggerPopBars",
174
- "subscriptionFillOver": "VWh0dG_subscriptionFillOver",
175
- "exportBar": "VWh0dG_exportBar",
176
- "modelTable": "VWh0dG_modelTable",
177
- "shareTrack": "VWh0dG_shareTrack",
199
+ "balanceDaysLow": "VWh0dG_balanceDaysLow",
200
+ "heroGaugeTrack": "VWh0dG_heroGaugeTrack",
201
+ "dashboardHead": "VWh0dG_dashboardHead",
202
+ "liveQuotaWarn": "VWh0dG_liveQuotaWarn",
203
+ "triggerPopBar": "VWh0dG_triggerPopBar",
204
+ "deltaUp": "VWh0dG_deltaUp",
205
+ "subscriptionHead": "VWh0dG_subscriptionHead",
206
+ "costCol": "VWh0dG_costCol",
178
207
  "chartTooltipSwatch": "VWh0dG_chartTooltipSwatch",
179
- "subscriptionWindowLabel": "VWh0dG_subscriptionWindowLabel",
180
- "heroSideItem": "VWh0dG_heroSideItem",
208
+ "liveTierPeak": "VWh0dG_liveTierPeak",
209
+ "roundsFlagBadge": "VWh0dG_roundsFlagBadge",
181
210
  "rateBadge": "VWh0dG_rateBadge",
182
- "roundsBarWrap": "VWh0dG_roundsBarWrap",
183
- "budgetValue": "VWh0dG_budgetValue",
184
- "chartEmpty": "VWh0dG_chartEmpty",
185
- "na": "VWh0dG_na",
186
- "chartDot": "VWh0dG_chartDot",
187
- "heatmapCellEmpty": "VWh0dG_heatmapCellEmpty",
188
- "liveQuotaCrit": "VWh0dG_liveQuotaCrit",
189
- "balanceCell": "VWh0dG_balanceCell",
190
- "switch": "VWh0dG_switch",
191
- "estimatedTag": "VWh0dG_estimatedTag",
192
- "shareItem": "VWh0dG_shareItem",
193
- "chartLine": "VWh0dG_chartLine",
194
- "panelHint": "VWh0dG_panelHint",
195
- "planTag": "VWh0dG_planTag",
196
- "heroSideLabel": "VWh0dG_heroSideLabel",
197
- "shareSegTool": "VWh0dG_shareSegTool",
198
- "subscriptionFillWarn": "VWh0dG_subscriptionFillWarn",
199
- "budgetControls": "VWh0dG_budgetControls",
200
- "heroSideValue": "VWh0dG_heroSideValue",
201
- "bandTagOff": "VWh0dG_bandTagOff",
202
- "liveCostBar": "VWh0dG_liveCostBar",
203
- "providerGroupBadge": "VWh0dG_providerGroupBadge",
204
- "bandPriceOff": "VWh0dG_bandPriceOff",
205
- "chartLegendBar": "VWh0dG_chartLegendBar",
206
- "subscriptionReset": "VWh0dG_subscriptionReset",
211
+ "exportBar": "VWh0dG_exportBar",
207
212
  "chartAxisLabel": "VWh0dG_chartAxisLabel",
208
- "heatmapLegend": "VWh0dG_heatmapLegend",
209
- "chartTooltip": "VWh0dG_chartTooltip",
210
- "budgetFill": "VWh0dG_budgetFill",
211
- "modelDot": "VWh0dG_modelDot",
212
- "bandTag": "VWh0dG_bandTag",
213
- "dashboardSubtitle": "VWh0dG_dashboardSubtitle",
214
- "closeButton": "VWh0dG_closeButton",
213
+ "chartWrap": "VWh0dG_chartWrap",
215
214
  "rateBadgeBuiltin": "VWh0dG_rateBadgeBuiltin",
216
- "liveCostSep": "VWh0dG_liveCostSep",
217
- "shareSegAssistant": "VWh0dG_shareSegAssistant",
218
- "tabNav": "VWh0dG_tabNav",
219
- "healthDot": "VWh0dG_healthDot",
220
- "triggerPopRow": "VWh0dG_triggerPopRow",
221
- "kpiGreen": "VWh0dG_kpiGreen",
222
- "modelTableScroll": "VWh0dG_modelTableScroll",
223
- "pricingTable": "VWh0dG_pricingTable",
224
- "heroSide": "VWh0dG_heroSide",
225
- "currencyToggle": "VWh0dG_currencyToggle",
226
- "roundsFlagBadge": "VWh0dG_roundsFlagBadge",
227
- "dashboardIn": "VWh0dG_dashboardIn",
228
- "modelProvider": "VWh0dG_modelProvider",
229
- "roundsBarLabel": "VWh0dG_roundsBarLabel"
215
+ "uncataloguedTag": "VWh0dG_uncataloguedTag",
216
+ "shareItem": "VWh0dG_shareItem",
217
+ "healthBadgeBad": "VWh0dG_healthBadgeBad",
218
+ "balanceDays": "VWh0dG_balanceDays",
219
+ "switch": "VWh0dG_switch",
220
+ "subscriptionReset": "VWh0dG_subscriptionReset",
221
+ "pricingChevron": "VWh0dG_pricingChevron",
222
+ "heatmapHover": "VWh0dG_heatmapHover",
223
+ "triggerMeta": "VWh0dG_triggerMeta",
224
+ "chartDot": "VWh0dG_chartDot",
225
+ "chartTooltipRow": "VWh0dG_chartTooltipRow",
226
+ "chartGrid": "VWh0dG_chartGrid",
227
+ "tabButtonActive": "VWh0dG_tabButtonActive",
228
+ "budgetInput": "VWh0dG_budgetInput",
229
+ "shareSegTool": "VWh0dG_shareSegTool",
230
+ "budgetFillWarn": "VWh0dG_budgetFillWarn",
231
+ "triggerPopBars": "VWh0dG_triggerPopBars",
232
+ "dashboard": "VWh0dG_dashboard",
233
+ "healthOk": "VWh0dG_healthOk",
234
+ "healthBadge": "VWh0dG_healthBadge",
235
+ "subscriptionPlan": "VWh0dG_subscriptionPlan",
236
+ "rateBadgeLive": "VWh0dG_rateBadgeLive",
237
+ "subscriptionWindow": "VWh0dG_subscriptionWindow",
238
+ "budgetUnit": "VWh0dG_budgetUnit"
230
239
  };
231
240
  //#endregion
241
+ //#region src/client/plan-knowledge.ts
242
+ const FALLBACK_RATES = [
243
+ {
244
+ key: "deepseek-v4-flash",
245
+ input: .14,
246
+ cacheHit: .0028,
247
+ output: .28
248
+ },
249
+ {
250
+ key: "deepseek-v4-pro",
251
+ input: .435,
252
+ cacheHit: .003625,
253
+ output: .87
254
+ },
255
+ {
256
+ key: "gpt-5.6-sol",
257
+ input: 5,
258
+ cacheHit: .5,
259
+ output: 30
260
+ },
261
+ {
262
+ key: "gpt-5.6-terra",
263
+ input: 2,
264
+ cacheHit: .2,
265
+ output: 12
266
+ },
267
+ {
268
+ key: "gpt-5.6-luna",
269
+ input: .2,
270
+ cacheHit: .02,
271
+ output: 1.2
272
+ },
273
+ {
274
+ key: "glm-5.2",
275
+ input: 1.4,
276
+ cacheHit: .26,
277
+ output: 4.4
278
+ },
279
+ {
280
+ key: "qwen3.8-max",
281
+ input: 2,
282
+ cacheHit: .21,
283
+ output: 6
284
+ },
285
+ {
286
+ key: "kimi-k3",
287
+ input: 2.82,
288
+ cacheHit: .28,
289
+ output: 14.08
290
+ },
291
+ {
292
+ key: "grok-4.6",
293
+ input: 2,
294
+ cacheHit: .5,
295
+ output: 6
296
+ },
297
+ {
298
+ key: "gemini-2.5-pro",
299
+ input: 1.25,
300
+ cacheHit: .125,
301
+ output: 10
302
+ }
303
+ ];
304
+ //#endregion
232
305
  //#region src/client/pricing.ts
233
306
  /**
234
307
  * USD → CNY rate for display. Source: China Foreign Exchange Trade System
@@ -594,11 +667,22 @@ window.__ModuleLoader__.load({
594
667
  colorVar: "dsw-static-green-400",
595
668
  price: {
596
669
  currency: "CNY",
597
- input: 4,
598
- cacheHit: .4,
599
- output: 12
600
- },
601
- estimated: true
670
+ input: 1,
671
+ cacheHit: .02,
672
+ output: 2
673
+ }
674
+ },
675
+ {
676
+ key: "mimo-v2.5-pro",
677
+ name: "MiMo V2.5 Pro",
678
+ provider: "小米",
679
+ colorVar: "dsw-static-green-400",
680
+ price: {
681
+ currency: "CNY",
682
+ input: 3,
683
+ cacheHit: .025,
684
+ output: 6
685
+ }
602
686
  },
603
687
  {
604
688
  key: "minimax",
@@ -864,6 +948,19 @@ window.__ModuleLoader__.load({
864
948
  "k3": "kimi-k3",
865
949
  "kimi-k3": "kimi-k3"
866
950
  };
951
+ /** 取一个计费键的实时单价(实时覆盖 > dsh-spend 官方价兜底)。 */
952
+ function livePriceOf(key) {
953
+ const resolved = MODEL_KEY_ALIASES[key] ?? key;
954
+ const live = livePrices?.[resolved];
955
+ if (live !== void 0) return live;
956
+ const fallback = FALLBACK_RATES.find((rate) => rate.key.toLowerCase() === resolved.toLowerCase());
957
+ if (fallback === void 0) return void 0;
958
+ return {
959
+ input: fallback.input,
960
+ cacheHit: fallback.cacheHit,
961
+ output: fallback.output
962
+ };
963
+ }
867
964
  /** Lookup a model by its stats key; falls back to the generic `other` entry. */
868
965
  function modelOf(key) {
869
966
  const resolved = MODEL_KEY_ALIASES[key] ?? key;
@@ -874,7 +971,7 @@ window.__ModuleLoader__.load({
874
971
  if (fallback !== void 0) return fallback;
875
972
  throw new Error("MODEL_CATALOG must not be empty");
876
973
  })());
877
- const live = livePrices?.[resolved];
974
+ const live = livePriceOf(resolved);
878
975
  if (live === void 0) return base;
879
976
  return {
880
977
  ...base,
@@ -917,8 +1014,21 @@ window.__ModuleLoader__.load({
917
1014
  })() !== void 0) continue;
918
1015
  if (known.has(rawKey)) continue;
919
1016
  const extra = (liveExtraModels ?? []).find((item) => item.key === rawKey);
1017
+ const fallbackLive = extra === void 0 ? livePriceOf(rawKey) : void 0;
920
1018
  let entry;
921
1019
  if (extra !== void 0) entry = { ...extraEntryOf(extra) };
1020
+ else if (fallbackLive !== void 0) entry = {
1021
+ key: rawKey,
1022
+ name: model.name ?? model.id,
1023
+ provider: model.provider,
1024
+ colorVar: "dsw-static-neutral-400",
1025
+ price: {
1026
+ currency: "USD",
1027
+ input: fallbackLive.input,
1028
+ cacheHit: fallbackLive.cacheHit,
1029
+ output: fallbackLive.output
1030
+ }
1031
+ };
922
1032
  else entry = {
923
1033
  key: MODEL_KEY_ALIASES[model.id] ?? model.id,
924
1034
  name: model.name ?? model.id,
@@ -2275,10 +2385,27 @@ window.__ModuleLoader__.load({
2275
2385
  const monthCost = dates.reduce((sum, d) => sum + (d.startsWith(monthPrefix) ? byDay[d]?.cost ?? 0 : 0), 0);
2276
2386
  const monthCalls = dates.reduce((sum, d) => sum + (d.startsWith(monthPrefix) ? byDay[d]?.calls ?? 0 : 0), 0);
2277
2387
  const yearCost = dates.reduce((sum, d) => sum + (d.startsWith(yearPrefix) ? byDay[d]?.cost ?? 0 : 0), 0);
2278
- const monthCostProjected = (0, react.useMemo)(() => projectMonthCost(byDay, monthPrefix, today), [
2388
+ const monthCostProjected = (0, react.useMemo)(() => {
2389
+ return projectMonthCost(byDay, monthPrefix, today) + quotas.reduce((sum, quota) => sum + (quota.planType === "code" ? quota.subscriptionAmount ?? 0 : 0), 0);
2390
+ }, [
2279
2391
  byDay,
2280
2392
  monthPrefix,
2281
- today
2393
+ today,
2394
+ quotas
2395
+ ]);
2396
+ const heroGauge = (0, react.useMemo)(() => {
2397
+ const budgetPct = budgetEnabled && budgetAmount > 0 ? monthCost / budgetAmount * 100 : NaN;
2398
+ return {
2399
+ pct: Number.isFinite(budgetPct) ? Math.max(0, Math.min(100, budgetPct)) : yearCost > 0 ? Math.max(0, Math.min(100, monthCost / yearCost * 100)) : 0,
2400
+ over: Number.isFinite(budgetPct) && budgetPct >= 100,
2401
+ label: t("billing.budget")
2402
+ };
2403
+ }, [
2404
+ budgetEnabled,
2405
+ budgetAmount,
2406
+ monthCost,
2407
+ yearCost,
2408
+ t
2282
2409
  ]);
2283
2410
  const trendDates = (0, react.useMemo)(() => {
2284
2411
  const out = [];
@@ -2521,6 +2648,53 @@ window.__ModuleLoader__.load({
2521
2648
  })
2522
2649
  ]
2523
2650
  }),
2651
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2652
+ className: UsageBilling_module_css_default.heroGauge,
2653
+ "data-testid": "billing-hero-gauge",
2654
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
2655
+ className: UsageBilling_module_css_default.heroGaugeSvg,
2656
+ viewBox: "0 0 120 120",
2657
+ "aria-hidden": "true",
2658
+ children: [
2659
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("linearGradient", {
2660
+ id: "heroGaugeGradient",
2661
+ x1: "0%",
2662
+ y1: "0%",
2663
+ x2: "100%",
2664
+ y2: "100%",
2665
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("stop", {
2666
+ offset: "0%",
2667
+ stopColor: "var(--dsw-static-blue-500)"
2668
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("stop", {
2669
+ offset: "100%",
2670
+ stopColor: "var(--dsw-static-blue-400)"
2671
+ })]
2672
+ }) }),
2673
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
2674
+ className: UsageBilling_module_css_default.heroGaugeTrack,
2675
+ cx: "60",
2676
+ cy: "60",
2677
+ r: "52"
2678
+ }),
2679
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
2680
+ className: clsx(UsageBilling_module_css_default.heroGaugeArc, heroGauge.over && UsageBilling_module_css_default.heroGaugeArcOver),
2681
+ cx: "60",
2682
+ cy: "60",
2683
+ r: "52",
2684
+ style: { strokeDasharray: `${heroGauge.pct / 100 * 326.7} 326.7` }
2685
+ })
2686
+ ]
2687
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
2688
+ className: UsageBilling_module_css_default.heroGaugeCenter,
2689
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
2690
+ className: clsx(UsageBilling_module_css_default.heroGaugePct, heroGauge.over && UsageBilling_module_css_default.heroGaugePctOver),
2691
+ children: [heroGauge.pct.toFixed(0), "%"]
2692
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2693
+ className: UsageBilling_module_css_default.heroGaugeLabel,
2694
+ children: heroGauge.label
2695
+ })]
2696
+ })]
2697
+ }),
2524
2698
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2525
2699
  className: UsageBilling_module_css_default.heroSide,
2526
2700
  children: [
@@ -3038,13 +3212,26 @@ window.__ModuleLoader__.load({
3038
3212
  children: [
3039
3213
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3040
3214
  className: UsageBilling_module_css_default.subscriptionHead,
3041
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3042
- className: UsageBilling_module_css_default.subscriptionName,
3043
- children: quota.displayName
3044
- }), quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3045
- className: UsageBilling_module_css_default.subscriptionPlan,
3046
- children: quota.plan
3047
- })]
3215
+ children: [
3216
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3217
+ className: UsageBilling_module_css_default.subscriptionName,
3218
+ children: quota.displayName
3219
+ }),
3220
+ quota.planType === "code" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3221
+ className: UsageBilling_module_css_default.subscriptionPlan,
3222
+ "data-kind": "code",
3223
+ children: quota.subscriptionAmount !== void 0 && quota.subscriptionAmount > 0 ? t("billing.subscriptionFeePerMonth").replace("{amount}", money(quota.subscriptionAmount)) : t("billing.planTypeCode")
3224
+ }),
3225
+ quota.planType === "token" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3226
+ className: UsageBilling_module_css_default.subscriptionPlan,
3227
+ "data-kind": "token",
3228
+ children: t("billing.planTypeToken")
3229
+ }),
3230
+ quota.plan !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3231
+ className: UsageBilling_module_css_default.subscriptionPlan,
3232
+ children: quota.plan
3233
+ })
3234
+ ]
3048
3235
  }),
3049
3236
  statusText !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3050
3237
  className: UsageBilling_module_css_default.subscriptionStatus,
@@ -3078,7 +3265,7 @@ window.__ModuleLoader__.load({
3078
3265
  }),
3079
3266
  window.resetsAt !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3080
3267
  className: UsageBilling_module_css_default.subscriptionReset,
3081
- children: t("billing.subscriptionReset").replace("{date}", window.resetsAt.slice(0, 10))
3268
+ children: t("billing.subscriptionReset").replace("{date}", `${localDayStamp(new Date(window.resetsAt).getTime())} ${formatClock(new Date(window.resetsAt).getTime())}`)
3082
3269
  })
3083
3270
  ]
3084
3271
  }, window.kind);
@@ -3944,7 +4131,10 @@ window.__ModuleLoader__.load({
3944
4131
  "billing.tierToPeak": "后转峰时",
3945
4132
  "billing.tierToOff": "后转平价",
3946
4133
  "billing.tierAlertEnterPeak": "{minutes} 分钟后进入峰时(DeepSeek 高峰价 ×2),不急的调用可稍等",
3947
- "billing.tierAlertEnterOff": "{minutes} 分钟后进入平价(价格减半)"
4134
+ "billing.tierAlertEnterOff": "{minutes} 分钟后进入平价(价格减半)",
4135
+ "billing.planTypeCode": "订阅制",
4136
+ "billing.planTypeToken": "按量",
4137
+ "billing.subscriptionFeePerMonth": "{amount}/月"
3948
4138
  };
3949
4139
  const en = {
3950
4140
  "billing.title": "Usage",
@@ -4055,7 +4245,10 @@ window.__ModuleLoader__.load({
4055
4245
  "billing.tierToPeak": "until peak",
4056
4246
  "billing.tierToOff": "until off-peak",
4057
4247
  "billing.tierAlertEnterPeak": "Peak pricing (2x) starts in {minutes} min — non-urgent calls can wait",
4058
- "billing.tierAlertEnterOff": "Off-peak pricing (50% off) starts in {minutes} min"
4248
+ "billing.tierAlertEnterOff": "Off-peak pricing (50% off) starts in {minutes} min",
4249
+ "billing.planTypeCode": "Subscription",
4250
+ "billing.planTypeToken": "Usage",
4251
+ "billing.subscriptionFeePerMonth": "{amount}/mo"
4059
4252
  };
4060
4253
  //#endregion
4061
4254
  //#region src/client/billing-service.ts
package/lib/index.js CHANGED
@@ -4,6 +4,151 @@ import { join } from "node:path";
4
4
  import { defineTool } from "@deepseek-ai/dsh-tools";
5
5
  import { writeFileAtomic } from "@deepseek-ai/dsh-atomic-write";
6
6
  import { credentialRef } from "@deepseek-ai/dsh-credentials";
7
+ //#region lib/types/client/plan-knowledge.js
8
+ /**
9
+ * Plan-knowledge reference (adapted from dsh-spend's `knowledge.js`, MIT):
10
+ * billing-plan shape (code = subscription, token = usage) for known providers,
11
+ * plus official token rates as a pricing fallback for providers whose models
12
+ * are not covered by the built-in catalog or models.dev.
13
+ *
14
+ * The cost model follows dsh-spend's dual-basis:
15
+ * - `code` plan (OpenCode Go, Coding/Token plans, etc.): the monthly cost is
16
+ * the subscription fee, counted into the projected month total.
17
+ * - `token` plan (pay-as-you-go API providers): cost = tokens × unit price.
18
+ *
19
+ * We keep our own live-pricing path (models.dev + OpenRouter) for token plans;
20
+ * this table only fills the subscription amount, the plan type, and a fallback
21
+ * rate for the few models those live sources may miss.
22
+ */
23
+ /**
24
+ * 订阅/计划 provider id → plan 知识(引用 dsh-spend 的 code/token 双口径)。
25
+ * 覆盖我们实际会识别到的订阅通道;其余按量 API 不计入此表(默认 token)。
26
+ */
27
+ const PLAN_KNOWLEDGE = {
28
+ "opencode-go": {
29
+ type: "code",
30
+ subscriptionCny: 70
31
+ },
32
+ opencode: {
33
+ type: "code",
34
+ subscriptionCny: 70
35
+ },
36
+ "kimi-coding": {
37
+ type: "code",
38
+ subscriptionCny: 0
39
+ },
40
+ "zai-coding-cn": {
41
+ type: "code",
42
+ subscriptionCny: 0
43
+ },
44
+ "zai-coding": {
45
+ type: "code",
46
+ subscriptionCny: 0
47
+ },
48
+ "qwen-token-plan": {
49
+ type: "code",
50
+ subscriptionCny: 0
51
+ },
52
+ "qwen-token-plan-cn": {
53
+ type: "code",
54
+ subscriptionCny: 0
55
+ },
56
+ "xiaomi-token-plan-ams": {
57
+ type: "code",
58
+ subscriptionCny: 0
59
+ },
60
+ "xiaomi-token-plan-cn": {
61
+ type: "code",
62
+ subscriptionCny: 0
63
+ },
64
+ "xiaomi-token-plan-sgp": {
65
+ type: "code",
66
+ subscriptionCny: 0
67
+ },
68
+ "volcengine-token-plan": {
69
+ type: "code",
70
+ subscriptionCny: 0
71
+ },
72
+ "ark-token-plan": {
73
+ type: "code",
74
+ subscriptionCny: 0
75
+ },
76
+ "doubao-token-plan": {
77
+ type: "code",
78
+ subscriptionCny: 0
79
+ }
80
+ };
81
+ /** provider id(llm-pi-ai 设置键)→ plan 知识;未命中默认 token。 */
82
+ function planTypeOf(providerId) {
83
+ return PLAN_KNOWLEDGE[providerId]?.type ?? "token";
84
+ }
85
+ /** 订阅月费(人民币元);非 code 或未配置时为 0。 */
86
+ function subscriptionCnyOf(providerId) {
87
+ const entry = PLAN_KNOWLEDGE[providerId];
88
+ return entry?.type === "code" ? entry.subscriptionCny ?? 0 : 0;
89
+ }
90
+ const FALLBACK_RATES = [
91
+ {
92
+ key: "deepseek-v4-flash",
93
+ input: .14,
94
+ cacheHit: .0028,
95
+ output: .28
96
+ },
97
+ {
98
+ key: "deepseek-v4-pro",
99
+ input: .435,
100
+ cacheHit: .003625,
101
+ output: .87
102
+ },
103
+ {
104
+ key: "gpt-5.6-sol",
105
+ input: 5,
106
+ cacheHit: .5,
107
+ output: 30
108
+ },
109
+ {
110
+ key: "gpt-5.6-terra",
111
+ input: 2,
112
+ cacheHit: .2,
113
+ output: 12
114
+ },
115
+ {
116
+ key: "gpt-5.6-luna",
117
+ input: .2,
118
+ cacheHit: .02,
119
+ output: 1.2
120
+ },
121
+ {
122
+ key: "glm-5.2",
123
+ input: 1.4,
124
+ cacheHit: .26,
125
+ output: 4.4
126
+ },
127
+ {
128
+ key: "qwen3.8-max",
129
+ input: 2,
130
+ cacheHit: .21,
131
+ output: 6
132
+ },
133
+ {
134
+ key: "kimi-k3",
135
+ input: 2.82,
136
+ cacheHit: .28,
137
+ output: 14.08
138
+ },
139
+ {
140
+ key: "grok-4.6",
141
+ input: 2,
142
+ cacheHit: .5,
143
+ output: 6
144
+ },
145
+ {
146
+ key: "gemini-2.5-pro",
147
+ input: 1.25,
148
+ cacheHit: .125,
149
+ output: 10
150
+ }
151
+ ];
7
152
  /** 运行时实时覆盖:undefined = 用内置目录与内置汇率(默认值降级)。 */
8
153
  let liveRate;
9
154
  let livePrices;
@@ -285,11 +430,22 @@ const MODEL_CATALOG = [
285
430
  colorVar: "dsw-static-green-400",
286
431
  price: {
287
432
  currency: "CNY",
288
- input: 4,
289
- cacheHit: .4,
290
- output: 12
291
- },
292
- estimated: true
433
+ input: 1,
434
+ cacheHit: .02,
435
+ output: 2
436
+ }
437
+ },
438
+ {
439
+ key: "mimo-v2.5-pro",
440
+ name: "MiMo V2.5 Pro",
441
+ provider: "小米",
442
+ colorVar: "dsw-static-green-400",
443
+ price: {
444
+ currency: "CNY",
445
+ input: 3,
446
+ cacheHit: .025,
447
+ output: 6
448
+ }
293
449
  },
294
450
  {
295
451
  key: "minimax",
@@ -555,6 +711,19 @@ const MODEL_KEY_ALIASES = {
555
711
  "k3": "kimi-k3",
556
712
  "kimi-k3": "kimi-k3"
557
713
  };
714
+ /** 取一个计费键的实时单价(实时覆盖 > dsh-spend 官方价兜底)。 */
715
+ function livePriceOf(key) {
716
+ const resolved = MODEL_KEY_ALIASES[key] ?? key;
717
+ const live = livePrices?.[resolved];
718
+ if (live !== void 0) return live;
719
+ const fallback = FALLBACK_RATES.find((rate) => rate.key.toLowerCase() === resolved.toLowerCase());
720
+ if (fallback === void 0) return void 0;
721
+ return {
722
+ input: fallback.input,
723
+ cacheHit: fallback.cacheHit,
724
+ output: fallback.output
725
+ };
726
+ }
558
727
  /** Lookup a model by its stats key; falls back to the generic `other` entry. */
559
728
  function modelOf(key) {
560
729
  const resolved = MODEL_KEY_ALIASES[key] ?? key;
@@ -565,7 +734,7 @@ function modelOf(key) {
565
734
  if (fallback !== void 0) return fallback;
566
735
  throw new Error("MODEL_CATALOG must not be empty");
567
736
  })());
568
- const live = livePrices?.[resolved];
737
+ const live = livePriceOf(resolved);
569
738
  if (live === void 0) return base;
570
739
  return {
571
740
  ...base,
@@ -593,13 +762,14 @@ function extraEntryOf(extra) {
593
762
  };
594
763
  }
595
764
  /**
596
- * 模型是否可计价:内置目录或 models.dev 补充条目命中。聚合层的计价闸门
597
- * (目录外模型不产生费用,避免兜底档误估)。
765
+ * 模型是否可计价:内置目录、models.dev 补充、或 dsh-spend 官方价兜底命中。
766
+ * 聚合层的计价闸门(目录外模型不产生费用,避免兜底档误估)。
598
767
  */
599
768
  function isPriced(key) {
600
769
  const resolved = MODEL_KEY_ALIASES[key] ?? key;
601
770
  if (MODEL_CATALOG.some((entry) => entry.key === resolved)) return true;
602
- return (liveExtraModels ?? []).some((item) => item.key === resolved);
771
+ if ((liveExtraModels ?? []).some((item) => item.key === resolved)) return true;
772
+ return FALLBACK_RATES.some((rate) => rate.key.toLowerCase() === resolved.toLowerCase());
603
773
  }
604
774
  /**
605
775
  * Price one band's token usage in CNY. The stats `input` field is the TOTAL
@@ -1741,14 +1911,20 @@ function kimiWindow(value, kind) {
1741
1911
  const record = value;
1742
1912
  const limit = numberOrNull(record.limit ?? record.total);
1743
1913
  const remaining = numberOrNull(record.remaining);
1744
- if (remaining === null) return null;
1745
- const usedPercent = limit !== null && limit > 0 ? round1(clampPercent((limit - remaining) / limit * 100) ?? 0) : remaining > 0 ? 0 : 100;
1914
+ if (remaining === null && limit === null && numberOrNull(record.percentage ?? record.usedPercent ?? record.used_percent) === null) return null;
1915
+ const hasLimit = limit !== null && limit > 0;
1916
+ let usedPercent;
1917
+ if (hasLimit) usedPercent = round1(clampPercent((limit - (remaining ?? 0)) / limit * 100) ?? 0);
1918
+ else {
1919
+ const percent = numberOrNull(record.percentage ?? record.usedPercent ?? record.used_percent);
1920
+ usedPercent = percent !== null ? round1(clampPercent(percent) ?? 0) : remaining === null || remaining <= 0 ? 100 : 0;
1921
+ }
1746
1922
  const resetsAt = toIso(record.resetTime ?? record.reset_time ?? record.resetsAt);
1747
1923
  return {
1748
1924
  kind,
1749
1925
  usedPercent,
1750
1926
  remainingPercent: round1(100 - usedPercent),
1751
- remaining,
1927
+ ...remaining !== null ? { remaining } : {},
1752
1928
  ...resetsAt === null ? {} : { resetsAt }
1753
1929
  };
1754
1930
  }
@@ -2295,12 +2471,21 @@ function apply(ctx, config = {}) {
2295
2471
  const rows = [...await collectSubscriptions(keys, identified.filter((item) => item.adapter).map((item) => ({
2296
2472
  provider: item.provider,
2297
2473
  ...item.region === void 0 ? {} : { region: item.region }
2298
- })))];
2474
+ })))].map((row) => {
2475
+ const planType = planTypeOf(row.provider);
2476
+ const subscriptionAmount = subscriptionCnyOf(row.provider);
2477
+ return {
2478
+ ...row,
2479
+ planType,
2480
+ ...planType === "code" && subscriptionAmount > 0 ? { subscriptionAmount } : {}
2481
+ };
2482
+ });
2299
2483
  for (const item of identified) if (!item.adapter) rows.push({
2300
2484
  provider: item.provider,
2301
2485
  displayName: item.displayName,
2302
2486
  status: "ok",
2303
- windows: []
2487
+ windows: [],
2488
+ planType: planTypeOf(item.provider)
2304
2489
  });
2305
2490
  quotaCache = {
2306
2491
  at: Date.now(),
@@ -1,5 +1,5 @@
1
1
  /** Locale dictionaries for the usage billing surface. */
2
- export type UsageBillingKey = 'billing.title' | 'billing.subtitle' | 'billing.cost' | 'billing.todayCost' | 'billing.monthCost' | 'billing.yearCost' | 'billing.monthProjected' | 'billing.liveTurn' | 'billing.liveSession' | 'billing.totalCost' | 'billing.calls' | 'billing.cacheHitRate' | 'billing.tokens' | 'billing.inputTokens' | 'billing.outputTokens' | 'billing.avgCost' | 'billing.trend' | 'billing.trend7d' | 'billing.trend30d' | 'billing.trendEmpty' | 'billing.budget' | 'billing.sessions' | 'billing.project' | 'billing.lastActive' | 'billing.sessionOverflow' | 'billing.budgetTierBody' | 'billing.models' | 'billing.providerBilling' | 'billing.estimated' | 'billing.actual' | 'billing.pricing' | 'billing.showPricing' | 'billing.hidePricing' | 'billing.pricePerM' | 'billing.input' | 'billing.output' | 'billing.cacheHit' | 'billing.peak' | 'billing.offPeak' | 'billing.flat' | 'billing.peakHours' | 'billing.band' | 'billing.openDashboard' | 'billing.close' | 'billing.lastUpdated' | 'billing.noData' | 'billing.todayRate' | 'billing.rateLive' | 'billing.rateBuiltin' | 'billing.balance' | 'billing.balanceUnconfigured' | 'billing.balanceUnauthorized' | 'billing.balanceUnreachable' | 'billing.uncatalogued' | 'billing.estimatedPricing' | 'billing.balanceDays' | 'billing.balanceLowBody' | 'billing.subscriptions' | 'billing.subscriptionNotConfigured' | 'billing.subscriptionUnauthorized' | 'billing.subscriptionUnavailable' | 'billing.subscriptionInvalid' | 'billing.subscriptionRateLimited' | 'billing.subscriptionSession' | 'billing.subscriptionWeekly' | 'billing.subscriptionMonthly' | 'billing.subscriptionBilling' | 'billing.subscriptionRemaining' | 'billing.subscriptionExhausted' | 'billing.subscriptionReset' | 'billing.subscriptionNoApi' | 'billing.heatmapLess' | 'billing.heatmapMore' | 'billing.currency' | 'billing.currencyCny' | 'billing.currencyUsd' | 'billing.heatmap' | 'billing.rounds' | 'billing.anomaly' | 'billing.workspaces' | 'billing.plan' | 'billing.remaining' | 'billing.unknownModel' | 'billing.model' | 'billing.currentRound' | 'billing.costAbbr' | 'billing.tabOverview' | 'billing.tabTrends' | 'billing.tabProviders' | 'billing.tabDetails' | 'billing.tabPricing' | 'billing.export' | 'billing.exportCsvDay' | 'billing.exportCsvSession' | 'billing.exportJson' | 'billing.peakShare' | 'billing.peakShareHint' | 'billing.weekCost' | 'billing.roleCost' | 'billing.roleUser' | 'billing.roleAssistant' | 'billing.roleTool' | 'billing.roleHint' | 'billing.tierPeak' | 'billing.tierOff' | 'billing.tierToPeak' | 'billing.tierToOff' | 'billing.tierAlertEnterPeak' | 'billing.tierAlertEnterOff';
2
+ export type UsageBillingKey = 'billing.title' | 'billing.subtitle' | 'billing.cost' | 'billing.todayCost' | 'billing.monthCost' | 'billing.yearCost' | 'billing.monthProjected' | 'billing.liveTurn' | 'billing.liveSession' | 'billing.totalCost' | 'billing.calls' | 'billing.cacheHitRate' | 'billing.tokens' | 'billing.inputTokens' | 'billing.outputTokens' | 'billing.avgCost' | 'billing.trend' | 'billing.trend7d' | 'billing.trend30d' | 'billing.trendEmpty' | 'billing.budget' | 'billing.sessions' | 'billing.project' | 'billing.lastActive' | 'billing.sessionOverflow' | 'billing.budgetTierBody' | 'billing.models' | 'billing.providerBilling' | 'billing.estimated' | 'billing.actual' | 'billing.pricing' | 'billing.showPricing' | 'billing.hidePricing' | 'billing.pricePerM' | 'billing.input' | 'billing.output' | 'billing.cacheHit' | 'billing.peak' | 'billing.offPeak' | 'billing.flat' | 'billing.peakHours' | 'billing.band' | 'billing.openDashboard' | 'billing.close' | 'billing.lastUpdated' | 'billing.noData' | 'billing.todayRate' | 'billing.rateLive' | 'billing.rateBuiltin' | 'billing.balance' | 'billing.balanceUnconfigured' | 'billing.balanceUnauthorized' | 'billing.balanceUnreachable' | 'billing.uncatalogued' | 'billing.estimatedPricing' | 'billing.balanceDays' | 'billing.balanceLowBody' | 'billing.subscriptions' | 'billing.subscriptionNotConfigured' | 'billing.subscriptionUnauthorized' | 'billing.subscriptionUnavailable' | 'billing.subscriptionInvalid' | 'billing.subscriptionRateLimited' | 'billing.subscriptionSession' | 'billing.subscriptionWeekly' | 'billing.subscriptionMonthly' | 'billing.subscriptionBilling' | 'billing.subscriptionRemaining' | 'billing.subscriptionExhausted' | 'billing.subscriptionReset' | 'billing.subscriptionNoApi' | 'billing.heatmapLess' | 'billing.heatmapMore' | 'billing.currency' | 'billing.currencyCny' | 'billing.currencyUsd' | 'billing.heatmap' | 'billing.rounds' | 'billing.anomaly' | 'billing.workspaces' | 'billing.plan' | 'billing.remaining' | 'billing.unknownModel' | 'billing.model' | 'billing.currentRound' | 'billing.costAbbr' | 'billing.tabOverview' | 'billing.tabTrends' | 'billing.tabProviders' | 'billing.tabDetails' | 'billing.tabPricing' | 'billing.export' | 'billing.exportCsvDay' | 'billing.exportCsvSession' | 'billing.exportJson' | 'billing.peakShare' | 'billing.peakShareHint' | 'billing.weekCost' | 'billing.roleCost' | 'billing.roleUser' | 'billing.roleAssistant' | 'billing.roleTool' | 'billing.roleHint' | 'billing.tierPeak' | 'billing.tierOff' | 'billing.tierToPeak' | 'billing.tierToOff' | 'billing.tierAlertEnterPeak' | 'billing.tierAlertEnterOff' | 'billing.planTypeCode' | 'billing.planTypeToken' | 'billing.subscriptionFeePerMonth';
3
3
  export declare const NS = "usageBilling";
4
4
  export declare const zh: Record<UsageBillingKey, string>;
5
5
  export declare const en: Record<UsageBillingKey, string>;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Plan-knowledge reference (adapted from dsh-spend's `knowledge.js`, MIT):
3
+ * billing-plan shape (code = subscription, token = usage) for known providers,
4
+ * plus official token rates as a pricing fallback for providers whose models
5
+ * are not covered by the built-in catalog or models.dev.
6
+ *
7
+ * The cost model follows dsh-spend's dual-basis:
8
+ * - `code` plan (OpenCode Go, Coding/Token plans, etc.): the monthly cost is
9
+ * the subscription fee, counted into the projected month total.
10
+ * - `token` plan (pay-as-you-go API providers): cost = tokens × unit price.
11
+ *
12
+ * We keep our own live-pricing path (models.dev + OpenRouter) for token plans;
13
+ * this table only fills the subscription amount, the plan type, and a fallback
14
+ * rate for the few models those live sources may miss.
15
+ */
16
+ /** Plan type: code = subscription + quota, token = per-token usage. */
17
+ export type PlanType = 'code' | 'token';
18
+ /** One plan row: provider id (after alias) → plan shape + optional subscription fee. */
19
+ export interface PlanKnowledgeEntry {
20
+ type: PlanType;
21
+ /** 订阅月费(人民币元);code 计划用,计入「本月预计」。 */
22
+ subscriptionCny?: number;
23
+ }
24
+ /**
25
+ * 订阅/计划 provider id → plan 知识(引用 dsh-spend 的 code/token 双口径)。
26
+ * 覆盖我们实际会识别到的订阅通道;其余按量 API 不计入此表(默认 token)。
27
+ */
28
+ export declare const PLAN_KNOWLEDGE: Readonly<Record<string, PlanKnowledgeEntry>>;
29
+ /** provider id(llm-pi-ai 设置键)→ plan 知识;未命中默认 token。 */
30
+ export declare function planTypeOf(providerId: string): PlanType;
31
+ /** 订阅月费(人民币元);非 code 或未配置时为 0。 */
32
+ export declare function subscriptionCnyOf(providerId: string): number;
33
+ export interface FallbackRate {
34
+ /** 归一化模型 id(计费键,与 catalogEntries 的 key 同口径)。 */
35
+ key: string;
36
+ input: number;
37
+ cacheHit: number;
38
+ output: number;
39
+ }
40
+ export declare const FALLBACK_RATES: readonly FallbackRate[];
41
+ //# sourceMappingURL=plan-knowledge.d.ts.map
@@ -169,8 +169,8 @@ export declare const MODEL_KEY_ALIASES: Readonly<Record<string, string>>;
169
169
  /** Lookup a model by its stats key; falls back to the generic `other` entry. */
170
170
  export declare function modelOf(key: string): ModelEntry;
171
171
  /**
172
- * 模型是否可计价:内置目录或 models.dev 补充条目命中。聚合层的计价闸门
173
- * (目录外模型不产生费用,避免兜底档误估)。
172
+ * 模型是否可计价:内置目录、models.dev 补充、或 dsh-spend 官方价兜底命中。
173
+ * 聚合层的计价闸门(目录外模型不产生费用,避免兜底档误估)。
174
174
  */
175
175
  export declare function isPriced(key: string): boolean;
176
176
  /**
@@ -0,0 +1,39 @@
1
+ /**
2
+ * 供应商计费计划知识库(对标 dsh-spend 的 PROVIDER_KNOWLEDGE / PROVIDER_ALIASES)。
3
+ *
4
+ * 每个 provider 归入两种计费口径之一:
5
+ * - `code` —— 订阅制(coding / token / agent plan):费用 = 订阅月费,额度按周期
6
+ * 计量,token 用量不计费(不按 token 扣钱)。
7
+ * - `token` —— 按量制:费用 = token × 单价(由 models.dev / OpenRouter / 内置目录
8
+ * 定价)。无知识库命中的 provider 默认按 token 口径。
9
+ *
10
+ * `aliasOf` 把部署里杂乱的 provider id(glm / kimi / dashscope…)归一化到知识库键,
11
+ * `planOf` 据此返回计费计划;日志出现的 provider 经此自动识别,无需人工配置。
12
+ */
13
+ /** 计费口径:code = 订阅制(计月费),token = 按量制(计 token 单价)。 */
14
+ export type BillingPlanKind = 'code' | 'token';
15
+ /** 订阅月费的币种(只支持单一币种计费,与仪表盘币种一致)。 */
16
+ export type BillingCurrency = 'CNY' | 'USD';
17
+ /** 一个 provider 的计费计划。 */
18
+ export interface BillingPlan {
19
+ /** 计费口径。 */
20
+ kind: BillingPlanKind;
21
+ /** 厂商显示名(未命中知识库时用 provider id 原样)。 */
22
+ label: string;
23
+ /** code 计划的订阅月费(单位 {@link currency});token 计划无此项。 */
24
+ subscriptionMonthly?: number;
25
+ /** 订阅月费币种。 */
26
+ currency?: BillingCurrency;
27
+ /** 订阅额度周期(天);额度按此周期计量。 */
28
+ periodDays?: number;
29
+ }
30
+ /** 归一化 provider id 到知识库键;未命中的原样返回(避免误吞)。 */
31
+ export declare function aliasOf(provider: string): string;
32
+ /**
33
+ * 某 provider 的计费计划:命中的 code 计划返回订阅口径,`PROVIDER_LABELS` 命中的
34
+ * 按量厂商返回 token 口径(无月费);完全未知返回 undefined(调用方按 token 兜底)。
35
+ */
36
+ export declare function planOf(provider: string): BillingPlan | undefined;
37
+ /** 是否已知为订阅制(code)provider。 */
38
+ export declare function isCodePlan(provider: string): boolean;
39
+ //# sourceMappingURL=plans.d.ts.map
@@ -88,6 +88,14 @@ export interface SubscriptionQuota {
88
88
  status: SubscriptionStatus;
89
89
  /** Quota windows, newest-window first; empty when the query failed. */
90
90
  windows: readonly SubscriptionWindow[];
91
+ /**
92
+ * 计费计划类型(引用 dsh-spend 的双口径):
93
+ * - `code` 订阅制:月度费用按订阅月费计入(dsh-spend 的 subscription);
94
+ * - `token` 按量计费:按 token × 单价估算(dsh-spend 的 token plan)。
95
+ */
96
+ planType?: 'code' | 'token';
97
+ /** 订阅月费(人民币元;code 计划用,计入「本月预计」)。 */
98
+ subscriptionAmount?: number;
91
99
  }
92
100
  /** Response of `/api/billing/subscriptions`. */
93
101
  export interface SubscriptionResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kenz1117/dsh-ui-usage-billing",
3
3
  "description": "Usage billing dashboard for DeepSeek Harness: sidebar cost metrics plus a full dashboard modal, priced from a current multi-provider catalog with real usage aggregated from session logs.",
4
- "version": "0.7.0",
4
+ "version": "0.8.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },