@dashspec/renderer 0.1.41 → 0.1.42

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -1
  3. package/dist/FlowMapView-BSTKU7D4.js +458 -0
  4. package/dist/FlowMapView-BSTKU7D4.js.map +1 -0
  5. package/dist/chunk-5LRFKK4I.js +118 -0
  6. package/dist/chunk-5LRFKK4I.js.map +1 -0
  7. package/dist/{chunk-NLKXHTLO.js → chunk-D4GFCPCL.js} +6 -33
  8. package/dist/chunk-D4GFCPCL.js.map +1 -0
  9. package/dist/chunk-E4CT25TF.js +440 -0
  10. package/dist/chunk-E4CT25TF.js.map +1 -0
  11. package/dist/chunk-HUBYJ34E.js +38 -0
  12. package/dist/chunk-HUBYJ34E.js.map +1 -0
  13. package/dist/{chunk-M4WXE3FW.js → chunk-JCPQBIAL.js} +5 -3
  14. package/dist/{chunk-M4WXE3FW.js.map → chunk-JCPQBIAL.js.map} +1 -1
  15. package/dist/{chunk-YOCDUP7X.js → chunk-O4BYNRCA.js} +204 -526
  16. package/dist/chunk-O4BYNRCA.js.map +1 -0
  17. package/dist/{core-DE2SVeij.d.ts → core-B0gU-OwN.d.ts} +34 -1
  18. package/dist/core.d.ts +1 -1
  19. package/dist/core.js +18 -16
  20. package/dist/index.d.ts +33 -4
  21. package/dist/index.js +353 -290
  22. package/dist/index.js.map +1 -1
  23. package/dist/sandbox-RCDZ7SDZ.js +11 -0
  24. package/dist/sandbox.js +3 -2
  25. package/dist/schema.json +12 -0
  26. package/docs/README.md +1 -1
  27. package/docs/api.md +1 -1
  28. package/docs/data.md +8 -0
  29. package/docs/design-systems.md +21 -0
  30. package/docs/getting-started.md +1 -1
  31. package/docs/json-format.md +2 -0
  32. package/docs/widgets.md +2 -1
  33. package/package.json +1 -1
  34. package/dist/chunk-NLKXHTLO.js.map +0 -1
  35. package/dist/chunk-YOCDUP7X.js.map +0 -1
  36. package/dist/sandbox-WEMG76LE.js +0 -10
  37. /package/dist/{sandbox-WEMG76LE.js.map → sandbox-RCDZ7SDZ.js.map} +0 -0
@@ -2047,6 +2047,8 @@ declare const Spec: z.ZodObject<{
2047
2047
  size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
2048
2048
  presentation: z.ZodDefault<z.ZodEnum<["modal", "drawer"]>>;
2049
2049
  open: z.ZodOptional<z.ZodString>;
2050
+ defaultArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
2051
+ availableWhen: z.ZodOptional<z.ZodString>;
2050
2052
  datasources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
2051
2053
  panels: z.ZodRecord<z.ZodString, z.ZodObject<{
2052
2054
  kind: z.ZodString;
@@ -2474,6 +2476,8 @@ declare const Spec: z.ZodObject<{
2474
2476
  }>> | undefined;
2475
2477
  title?: string | undefined;
2476
2478
  open?: string | undefined;
2479
+ defaultArgs?: Record<string, JsonValue> | undefined;
2480
+ availableWhen?: string | undefined;
2477
2481
  }, {
2478
2482
  panels: Record<string, {
2479
2483
  kind: string;
@@ -2554,6 +2558,8 @@ declare const Spec: z.ZodObject<{
2554
2558
  title?: string | undefined;
2555
2559
  presentation?: "modal" | "drawer" | undefined;
2556
2560
  open?: string | undefined;
2561
+ defaultArgs?: Record<string, JsonValue> | undefined;
2562
+ availableWhen?: string | undefined;
2557
2563
  }>>>;
2558
2564
  layouts: z.ZodArray<z.ZodEffects<z.ZodObject<{
2559
2565
  view: z.ZodOptional<z.ZodString>;
@@ -2971,6 +2977,8 @@ declare const Spec: z.ZodObject<{
2971
2977
  }>> | undefined;
2972
2978
  title?: string | undefined;
2973
2979
  open?: string | undefined;
2980
+ defaultArgs?: Record<string, JsonValue> | undefined;
2981
+ availableWhen?: string | undefined;
2974
2982
  }> | undefined;
2975
2983
  tour?: {
2976
2984
  text: string;
@@ -3281,6 +3289,8 @@ declare const Spec: z.ZodObject<{
3281
3289
  title?: string | undefined;
3282
3290
  presentation?: "modal" | "drawer" | undefined;
3283
3291
  open?: string | undefined;
3292
+ defaultArgs?: Record<string, JsonValue> | undefined;
3293
+ availableWhen?: string | undefined;
3284
3294
  }> | undefined;
3285
3295
  tour?: {
3286
3296
  text: string;
@@ -4456,6 +4466,8 @@ declare const Dashboard: z.ZodObject<{
4456
4466
  size: z.ZodDefault<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
4457
4467
  presentation: z.ZodDefault<z.ZodEnum<["modal", "drawer"]>>;
4458
4468
  open: z.ZodOptional<z.ZodString>;
4469
+ defaultArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
4470
+ availableWhen: z.ZodOptional<z.ZodString>;
4459
4471
  datasources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
4460
4472
  panels: z.ZodRecord<z.ZodString, z.ZodObject<{
4461
4473
  kind: z.ZodString;
@@ -4883,6 +4895,8 @@ declare const Dashboard: z.ZodObject<{
4883
4895
  }>> | undefined;
4884
4896
  title?: string | undefined;
4885
4897
  open?: string | undefined;
4898
+ defaultArgs?: Record<string, JsonValue> | undefined;
4899
+ availableWhen?: string | undefined;
4886
4900
  }, {
4887
4901
  panels: Record<string, {
4888
4902
  kind: string;
@@ -4963,6 +4977,8 @@ declare const Dashboard: z.ZodObject<{
4963
4977
  title?: string | undefined;
4964
4978
  presentation?: "modal" | "drawer" | undefined;
4965
4979
  open?: string | undefined;
4980
+ defaultArgs?: Record<string, JsonValue> | undefined;
4981
+ availableWhen?: string | undefined;
4966
4982
  }>>>;
4967
4983
  layouts: z.ZodArray<z.ZodEffects<z.ZodObject<{
4968
4984
  view: z.ZodOptional<z.ZodString>;
@@ -5380,6 +5396,8 @@ declare const Dashboard: z.ZodObject<{
5380
5396
  }>> | undefined;
5381
5397
  title?: string | undefined;
5382
5398
  open?: string | undefined;
5399
+ defaultArgs?: Record<string, JsonValue> | undefined;
5400
+ availableWhen?: string | undefined;
5383
5401
  }> | undefined;
5384
5402
  tour?: {
5385
5403
  text: string;
@@ -5690,6 +5708,8 @@ declare const Dashboard: z.ZodObject<{
5690
5708
  title?: string | undefined;
5691
5709
  presentation?: "modal" | "drawer" | undefined;
5692
5710
  open?: string | undefined;
5711
+ defaultArgs?: Record<string, JsonValue> | undefined;
5712
+ availableWhen?: string | undefined;
5693
5713
  }> | undefined;
5694
5714
  tour?: {
5695
5715
  text: string;
@@ -6003,6 +6023,8 @@ declare const Dashboard: z.ZodObject<{
6003
6023
  }>> | undefined;
6004
6024
  title?: string | undefined;
6005
6025
  open?: string | undefined;
6026
+ defaultArgs?: Record<string, JsonValue> | undefined;
6027
+ availableWhen?: string | undefined;
6006
6028
  }> | undefined;
6007
6029
  tour?: {
6008
6030
  text: string;
@@ -6329,6 +6351,8 @@ declare const Dashboard: z.ZodObject<{
6329
6351
  title?: string | undefined;
6330
6352
  presentation?: "modal" | "drawer" | undefined;
6331
6353
  open?: string | undefined;
6354
+ defaultArgs?: Record<string, JsonValue> | undefined;
6355
+ availableWhen?: string | undefined;
6332
6356
  }> | undefined;
6333
6357
  tour?: {
6334
6358
  text: string;
@@ -6671,6 +6695,11 @@ declare const Modal: z.ZodObject<{
6671
6695
  presentation: z.ZodDefault<z.ZodEnum<["modal", "drawer"]>>;
6672
6696
  /** Bind open state instead of using openModal, e.g. "${state.heatModal.open}". */
6673
6697
  open: z.ZodOptional<z.ZodString>;
6698
+ /** Arguments to reopen with when it has not been opened yet (a host drawer's rail or handle). */
6699
+ defaultArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>>;
6700
+ /** An expression: while false the modal can't be open, and a host drawer (`ui.Drawer`) isn't drawn (e.g. its rail
6701
+ * only on one view: "view == 'flow'"). Default always. */
6702
+ availableWhen: z.ZodOptional<z.ZodString>;
6674
6703
  datasources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
6675
6704
  panels: z.ZodRecord<z.ZodString, z.ZodObject<{
6676
6705
  kind: z.ZodString;
@@ -7098,6 +7127,8 @@ declare const Modal: z.ZodObject<{
7098
7127
  }>> | undefined;
7099
7128
  title?: string | undefined;
7100
7129
  open?: string | undefined;
7130
+ defaultArgs?: Record<string, JsonValue> | undefined;
7131
+ availableWhen?: string | undefined;
7101
7132
  }, {
7102
7133
  panels: Record<string, {
7103
7134
  kind: string;
@@ -7178,6 +7209,8 @@ declare const Modal: z.ZodObject<{
7178
7209
  title?: string | undefined;
7179
7210
  presentation?: "modal" | "drawer" | undefined;
7180
7211
  open?: string | undefined;
7212
+ defaultArgs?: Record<string, JsonValue> | undefined;
7213
+ availableWhen?: string | undefined;
7181
7214
  }>;
7182
7215
 
7183
7216
  declare const Drill: z.ZodObject<{
@@ -7588,7 +7621,7 @@ declare class TransformError extends Error {
7588
7621
  declare function applyTransform(data: unknown, steps: readonly Step[], root: Scope, opts?: TransformOptions): unknown;
7589
7622
 
7590
7623
  /** This package's version. A test keeps it equal to package.json's; bump both together. */
7591
- declare const RENDERER_VERSION = "0.1.41";
7624
+ declare const RENDERER_VERSION = "0.1.42";
7592
7625
  /**
7593
7626
  * Whether `version` satisfies `range`. Supports what documents need: "1.2.3" (that or newer within the major, like
7594
7627
  * "^"), ">=1.2", ">1.2.3", "<2", "<=2.1", "^1.2", "~1.2.3", and several of them separated by spaces (all must hold).
package/dist/core.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, D as Dashboard, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, a$ as Grid, K as Handler, L as HelperSettings, M as Helpers, H as HttpClient, O as HttpClientInternals, P as Id, J as JsonValue, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, N as NetworkOptions, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, R as ResolvedRequest, ac as SCHEMA_URL, S as Scope, ad as Severity, ae as Spec, b0 as StatusTone, af as Template, a as TimeSettings, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-DE2SVeij.js';
1
+ export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, D as Dashboard, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, a$ as Grid, K as Handler, L as HelperSettings, M as Helpers, H as HttpClient, O as HttpClientInternals, P as Id, J as JsonValue, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, N as NetworkOptions, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, R as ResolvedRequest, ac as SCHEMA_URL, S as Scope, ad as Severity, ae as Spec, b0 as StatusTone, af as Template, a as TimeSettings, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-B0gU-OwN.js';
2
2
  import 'zod';
3
3
  import 'react';
package/dist/core.js CHANGED
@@ -20,7 +20,6 @@ import {
20
20
  EventHandler,
21
21
  EventMap,
22
22
  Expression,
23
- ExpressionError,
24
23
  FnProp,
25
24
  Grid,
26
25
  Handler,
@@ -50,38 +49,41 @@ import {
50
49
  buildRequestUrl,
51
50
  buildUrl,
52
51
  builtInWidgetChecks,
53
- collectReferences,
54
- compile,
55
52
  createHelpers,
56
53
  createHttpClient,
57
54
  dashboardJsonSchema,
58
- evaluate,
59
- evaluateSafe,
60
- expressionReferences,
61
55
  graphqlData,
62
- interpolate,
63
- interpolateUrl,
64
56
  isCallbackSource,
65
57
  isSafeUrl,
66
58
  loadDocument,
67
59
  mergeConnections,
68
60
  migrateDocument,
69
- parse,
70
61
  parseDuration,
71
- placeholders,
72
62
  plantDate,
73
63
  plantDayStart,
74
- resolve,
75
64
  resolveBaseUrl,
76
- resolveRequest,
77
65
  safeLink,
78
66
  satisfies,
79
- scope,
80
- stripStrings,
81
- templateReferences,
82
67
  translator,
83
68
  validateDocument
84
- } from "./chunk-YOCDUP7X.js";
69
+ } from "./chunk-O4BYNRCA.js";
70
+ import {
71
+ ExpressionError,
72
+ collectReferences,
73
+ compile,
74
+ evaluate,
75
+ evaluateSafe,
76
+ expressionReferences,
77
+ interpolate,
78
+ interpolateUrl,
79
+ parse,
80
+ placeholders,
81
+ resolve,
82
+ resolveRequest,
83
+ scope,
84
+ stripStrings,
85
+ templateReferences
86
+ } from "./chunk-E4CT25TF.js";
85
87
  export {
86
88
  ACTION_KINDS,
87
89
  ACTION_SCHEMAS,
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AnyWidgetDefinition, T as TreeState, H as HttpClient, R as ResolvedRequest, a as TimeSettings, D as Dashboard, N as NetworkOptions, J as JsonValue, S as Scope, W as WidgetDefinition, b as SlotDefinition, c as SlotRenderOptions, d as WidgetMeta, e as WidgetProps } from './core-DE2SVeij.js';
2
- export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, E as Emit, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, K as Handler, L as HelperSettings, M as Helpers, O as HttpClientInternals, P as Id, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a5 as PanelState, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, ac as SCHEMA_URL, ad as Severity, ae as Spec, af as Template, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, ar as WidgetStore, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-DE2SVeij.js';
1
+ import { A as AnyWidgetDefinition, T as TreeState, H as HttpClient, R as ResolvedRequest, a as TimeSettings, D as Dashboard, N as NetworkOptions, J as JsonValue, S as Scope, W as WidgetDefinition, b as SlotDefinition, c as SlotRenderOptions, d as WidgetMeta, e as WidgetProps } from './core-B0gU-OwN.js';
2
+ export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, E as Emit, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, K as Handler, L as HelperSettings, M as Helpers, O as HttpClientInternals, P as Id, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a5 as PanelState, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, ac as SCHEMA_URL, ad as Severity, ae as Spec, af as Template, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, ar as WidgetStore, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-B0gU-OwN.js';
3
3
  import * as react from 'react';
4
4
  import { CSSProperties, ReactNode, ComponentType } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -182,6 +182,14 @@ interface PartTokens {
182
182
  color?: ModeColor;
183
183
  staleColor?: ModeColor;
184
184
  };
185
+ /** Hover cards drawn above the page (a FlowMap step's card): padding (CSS), radius, border (CSS), blur (px). */
186
+ popover?: {
187
+ padding?: string;
188
+ radius?: number;
189
+ border?: string;
190
+ blur?: number;
191
+ gap?: number;
192
+ };
185
193
  /** The filter bar: its padding (CSS, e.g. "16px") and corner radius (px). */
186
194
  filterBar?: {
187
195
  padding?: string;
@@ -688,6 +696,23 @@ interface UIFilterDef {
688
696
  /** The whole `spec.variables` entry (options, presets, default, maxDays, stepper…). */
689
697
  config: Record<string, unknown>;
690
698
  }
699
+ /**
700
+ * What your own drawer (`ui.Drawer`) receives, for every modal with `presentation: "drawer"`. It stays mounted while
701
+ * closed (so a rail or handle can stay on screen); the dashboard keeps the open state, title and content.
702
+ */
703
+ interface UIDrawerProps {
704
+ /** The modal's id in `spec.modals`. */
705
+ id: string;
706
+ open: boolean;
707
+ /** The modal's title, filled for the open arguments. */
708
+ title: string;
709
+ /** Close it (runs the modal's `close` handlers). */
710
+ onClose: () => void;
711
+ /** Open it again with the arguments it was last opened with (or its `defaultArgs`). */
712
+ onReopen: () => void;
713
+ /** The modal's panels; empty while closed. */
714
+ children: ReactNode;
715
+ }
691
716
  /** What a custom filter bar (`ui.FilterBar`) receives. */
692
717
  interface UIFilterBarProps {
693
718
  /** The filters the bar shows now: not hidden, not placed on the canvas, `visibleWhen` true. */
@@ -731,6 +756,8 @@ interface UIComponents {
731
756
  * where you want to reuse it. Widgets react to its changes like to the built-in bar.
732
757
  */
733
758
  FilterBar?: ComponentType<UIFilterBarProps>;
759
+ /** Your own drawer for `presentation: "drawer"` modals: placement, rail, animation are yours. */
760
+ Drawer?: ComponentType<UIDrawerProps>;
734
761
  /** Your icons for DashSpec's own controls: the filter bar icon and the stepper arrows. */
735
762
  icons?: {
736
763
  filterBar?: ReactNode;
@@ -1209,6 +1236,8 @@ declare function createDashboardRuntime(doc: Dashboard, options?: RuntimeOptions
1209
1236
  }>> | undefined;
1210
1237
  title?: string | undefined;
1211
1238
  open?: string | undefined;
1239
+ defaultArgs?: Record<string, JsonValue> | undefined;
1240
+ availableWhen?: string | undefined;
1212
1241
  }> | undefined;
1213
1242
  tour?: {
1214
1243
  text: string;
@@ -1646,7 +1675,7 @@ declare function useDashboardActions(id: string): {
1646
1675
  };
1647
1676
 
1648
1677
  /** One stylesheet for the renderer's own chrome. Everything reads `--ds-*` tokens. */
1649
- declare const RENDERER_CSS = "\n.ds-root { box-sizing: border-box; font-size: var(--ds-type-body-size); line-height: var(--ds-type-body-line-height); }\n.ds-root *, .ds-root *::before, .ds-root *::after { box-sizing: inherit; }\n.ds-header { display: flex; align-items: baseline; gap: var(--ds-space-md); flex-wrap: wrap; margin-bottom: var(--ds-space-md); }\n.ds-title { margin: 0; font-family: var(--ds-type-title-family); font-size: var(--ds-type-title-size); font-weight: var(--ds-type-title-weight); line-height: var(--ds-type-title-line-height); }\n.ds-desc { color: var(--ds-color-text-subtle); margin: 0; }\n.ds-synced { margin-left: auto; color: var(--ds-color-text-subtle); font-size: var(--ds-type-caption-size); }\n\n.ds-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--ds-space-sm) var(--ds-space-md); margin-bottom: var(--ds-space-lg); }\n.ds-field { display: grid; gap: var(--ds-space-xxs); min-width: 140px; }\n.ds-field > span { font-size: var(--ds-type-label-size); font-weight: var(--ds-type-label-weight); letter-spacing: var(--ds-type-label-letter-spacing); color: var(--ds-color-text-subtle); }\n.ds-input, .ds-select, .ds-btn {\n font: inherit; color: var(--ds-color-text-primary); background: var(--ds-color-surface-card);\n border: 1px solid var(--ds-color-border-control); border-radius: var(--ds-radius-control);\n padding: var(--ds-space-xs) var(--ds-space-sm); min-height: calc(var(--ds-control-height, 36px) - 2px);\n}\n.ds-input:focus-visible, .ds-select:focus-visible, .ds-btn:focus-visible, .ds-chip:focus-visible, .ds-panel:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: 1px; }\n.ds-btn { cursor: pointer; }\n.ds-btn-primary { background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); border-color: transparent; }\n.ds-btn-primary:hover { background: var(--ds-color-action-primary-hover); }\n.ds-inline { display: flex; gap: var(--ds-space-xs); align-items: center; }\n.ds-chips { display: flex; gap: var(--ds-space-xs); flex-wrap: wrap; }\n.ds-chip {\n font: inherit; font-size: var(--ds-type-label-size); cursor: pointer; border-radius: var(--ds-radius-full);\n padding: var(--ds-space-xxs) var(--ds-space-sm); border: 1px solid var(--ds-color-border-default);\n background: var(--ds-color-surface-card); color: var(--ds-color-text-secondary);\n}\n.ds-chip[aria-pressed=\"true\"] { background: var(--ds-color-surface-selection); border-color: var(--ds-color-border-focus); color: var(--ds-color-text-primary); }\n.ds-chip-count { margin-left: var(--ds-space-xxs); color: var(--ds-color-text-subtle); }\n\n.ds-panel {\n height: 100%; display: flex; flex-direction: column; overflow: hidden;\n background: var(--ds-color-surface-card); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-raised);\n padding: var(--ds-space-md) var(--ds-space-lg);\n}\n.ds-panel[data-tone=\"plain\"] { background: transparent; box-shadow: none; padding: 0; overflow: visible; }\n/* A plain panel has no card of its own, so it doesn't clip: borders, rounded ends and dots at its edge stay whole. */\n.ds-panel[data-tone=\"plain\"] > .ds-panel-body { overflow: visible; }\n.ds-panel[data-tone=\"subtle\"] { background: var(--ds-color-surface-sunken); box-shadow: none; }\n.ds-panel[data-selected=\"true\"] { outline: 2px solid var(--ds-color-border-focus); }\n.ds-panel-head { display: flex; align-items: center; gap: var(--ds-space-sm); min-height: 24px; margin-bottom: var(--ds-space-sm); }\n.ds-panel-title { margin: 0; font-family: var(--ds-type-heading-family); font-size: var(--ds-type-heading-size); font-weight: var(--ds-type-heading-weight); line-height: var(--ds-type-heading-line-height); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ds-panel-sub { color: var(--ds-color-text-subtle); font-size: var(--ds-type-caption-size); }\n.ds-panel-tools { margin-left: auto; display: flex; gap: var(--ds-space-xs); align-items: center; }\n.ds-panel-body { flex: 1; min-height: 0; position: relative; }\n.ds-badge { font-size: var(--ds-type-caption-size); border-radius: var(--ds-radius-full); padding: 0 var(--ds-space-xs); }\n.ds-badge-stale { background: var(--ds-color-status-warn-bg); color: var(--ds-color-status-warn-fg); }\n.ds-crumbs { display: flex; gap: var(--ds-space-xxs); font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); }\n.ds-crumbs button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ds-color-action-primary); }\n.ds-state { height: 100%; display: grid; place-items: center; text-align: center; color: var(--ds-color-text-subtle); padding: var(--ds-space-sm); }\n.ds-state-error { color: var(--ds-color-status-bad-fg); }\n.ds-skeleton { height: 100%; border-radius: var(--ds-radius-control); background: linear-gradient(90deg, var(--ds-color-surface-sunken) 25%, var(--ds-color-surface-page) 50%, var(--ds-color-surface-sunken) 75%); background-size: 200% 100%; animation: ds-shimmer 1.4s infinite linear; opacity: .6; }\n.ds-loading { display: block; position: relative; height: 100%; }\n.ds-loading-text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--ds-space-sm); color: var(--ds-color-text-secondary); font-size: var(--ds-type-label-size); }\n@keyframes ds-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }\n@media (prefers-reduced-motion: reduce) { .ds-skeleton { animation: none; } .ds-root .react-grid-item { transition: none !important; } }\n\n.ds-scrim { position: fixed; inset: 0; background: var(--ds-color-surface-scrim); z-index: var(--ds-z-overlay); display: flex; align-items: center; justify-content: center; padding: var(--ds-space-xl); }\n.ds-scrim[data-presentation=\"drawer\"] { justify-content: flex-end; padding: 0; }\n.ds-dialog { position: static; margin: 0; border: 0; inset: auto; background: var(--ds-color-surface-page); color: var(--ds-color-text-primary); border-radius: var(--ds-radius-sheet); box-shadow: var(--ds-shadow-overlay); width: min(100%, var(--ds-dialog-w)); max-height: 100%; overflow: auto; padding: var(--ds-space-lg); }\n.ds-scrim[data-presentation=\"drawer\"] .ds-dialog { height: 100%; border-radius: 0; }\n.ds-dialog-head { display: flex; align-items: center; gap: var(--ds-space-md); margin-bottom: var(--ds-space-md); }\n.ds-dialog-head h2 { margin: 0; font-family: var(--ds-type-title-family); font-size: var(--ds-type-title-size); font-weight: var(--ds-type-title-weight); }\n.ds-close { margin-left: auto; font-size: 20px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ds-color-text-secondary); }\n\n.ds-invalid { border: 1px solid var(--ds-color-status-bad-border); background: var(--ds-color-status-bad-bg); color: var(--ds-color-status-bad-fg); border-radius: var(--ds-radius-card); padding: var(--ds-space-lg); }\n.ds-invalid ul { margin: var(--ds-space-sm) 0 0; padding-left: var(--ds-space-lg); }\n.ds-invalid code { font-size: 12px; }\n\n.ds-root .react-grid-layout { position: relative; }\n.ds-root .react-grid-item { transition: transform 200ms ease; }\n.ds-root .react-grid-item.react-grid-placeholder { background: var(--ds-color-surface-selection); border-radius: var(--ds-radius-card); opacity: .6; }\n.ds-root .react-grid-item > .react-resizable-handle { display: none; }\n.ds-grid-edit .react-grid-item > .react-resizable-handle { display: block; position: absolute; width: 14px; height: 14px; right: 2px; bottom: 2px; cursor: se-resize; }\n.ds-grid-edit .react-grid-item > .react-resizable-handle::after { content: \"\"; position: absolute; right: 3px; bottom: 3px; width: 6px; height: 6px; border-right: 2px solid var(--ds-color-border-control); border-bottom: 2px solid var(--ds-color-border-control); }\n\n/* widgets */\n.ds-plain, .ds-kpi, .ds-tile, .ds-status, .ds-card, .ds-meters button, .ds-legend button, .ds-stages button, .ds-marker, .ds-table th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: inherit; cursor: pointer; }\n.ds-kpi { display: flex; flex-direction: column; gap: var(--ds-space-xxs); width: 100%; height: 100%; justify-content: center; }\n.ds-kpi-value { font-family: var(--ds-type-kpi-family); font-size: var(--ds-type-kpi-size); font-weight: var(--ds-type-kpi-weight); line-height: var(--ds-type-kpi-line-height); font-variant-numeric: tabular-nums; }\n.ds-kpi-unit { font-size: .5em; margin-left: .25em; color: var(--ds-color-text-subtle); font-weight: 500; }\n.ds-kpi-delta { font-size: var(--ds-type-label-size); font-weight: 600; }\n.ds-kpi-sub { color: var(--ds-color-text-subtle); font-size: var(--ds-type-caption-size); font-weight: 400; }\n.ds-progress { display: block; height: 6px; border-radius: var(--ds-radius-full); background: var(--ds-color-surface-sunken); overflow: hidden; }\n.ds-progress > span { display: block; height: 100%; border-radius: inherit; }\n.ds-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: var(--ds-space-xs); flex: none; }\n.ds-pill { display: inline-flex; align-items: center; border: 1px solid; border-radius: var(--ds-radius-full); padding: 0 var(--ds-space-sm); font-size: var(--ds-type-label-size); font-weight: 600; line-height: 22px; white-space: nowrap; }\n.ds-tiles { display: grid; gap: var(--ds-space-sm); height: 100%; align-content: start; }\n.ds-tile { display: grid; gap: var(--ds-space-xxs); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); padding: var(--ds-space-sm) var(--ds-space-md); background: var(--ds-color-surface-card); }\n.ds-tile[data-active] { box-shadow: inset 0 0 0 1px currentColor; }\n.ds-tile-label { display: flex; align-items: center; font-size: var(--ds-type-label-size); color: var(--ds-color-text-secondary); text-transform: capitalize; }\n.ds-tile-value { font-family: var(--ds-type-kpi-family); font-size: calc(var(--ds-type-kpi-size) * .8); font-weight: var(--ds-type-kpi-weight); font-variant-numeric: tabular-nums; }\n.ds-status { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ds-space-xs); }\n.ds-status-label { color: var(--ds-color-text-secondary); }\n.ds-content { overflow: auto; height: 100%; }\n.ds-md-p { margin: 0 0 var(--ds-space-sm); }\n.ds-md-h { margin: 0 0 var(--ds-space-xs); font-family: var(--ds-type-heading-family); }\n.ds-md-list { margin: 0 0 var(--ds-space-sm); padding-left: var(--ds-space-lg); }\n.ds-link { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ds-color-action-primary); text-decoration: underline; text-underline-offset: 2px; }\n.ds-meters { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ds-space-sm); overflow: auto; max-height: 100%; }\n.ds-meters button { display: grid; gap: var(--ds-space-xxs); width: 100%; }\n.ds-meter-head { display: flex; justify-content: space-between; gap: var(--ds-space-sm); }\n.ds-meter-value { font-variant-numeric: tabular-nums; font-weight: 600; }\n.ds-legend { list-style: none; margin: var(--ds-space-sm) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--ds-space-xs) var(--ds-space-md); font-size: var(--ds-type-label-size); }\n.ds-legend li, .ds-legend button { display: inline-flex; align-items: center; gap: var(--ds-space-xxs); }\n.ds-legend .ds-dot { flex-shrink: 0; width: 8px; height: 8px; }\n.ds-segbar { display: flex; width: 100%; height: 14px; border-radius: var(--ds-radius-full); overflow: hidden; gap: 2px; }\n.ds-segbar button { border: 0; padding: 0; cursor: pointer; min-width: 2px; }\n.ds-donut { display: flex; gap: var(--ds-space-md); align-items: center; height: 100%; }\n.ds-donut svg { height: 100%; max-height: 220px; aspect-ratio: 1; }\n.ds-donut .ds-legend { flex-direction: column; margin: 0; }\n.ds-cards { display: grid; gap: var(--ds-space-sm); overflow: auto; max-height: 100%; }\n.ds-card { display: grid; gap: var(--ds-space-sm); border: 1px solid var(--ds-color-border-default); border-top-width: 3px; border-radius: var(--ds-radius-control); padding: var(--ds-space-sm) var(--ds-space-md); background: var(--ds-color-surface-card); }\n.ds-card[data-active] { box-shadow: 0 0 0 2px var(--ds-color-border-focus); }\n.ds-card-head { display: flex; align-items: center; gap: var(--ds-space-xs); justify-content: space-between; }\n.ds-card-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-xxs) var(--ds-space-sm); margin: 0; }\n.ds-card-fields dt { font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); }\n.ds-card-fields dd { margin: 0; font-variant-numeric: tabular-nums; }\n.ds-timeline { display: grid; gap: var(--ds-space-xs); }\n.ds-timeline-lane { display: flex; align-items: center; gap: var(--ds-space-sm); }\n.ds-timeline-name { width: 80px; font-size: var(--ds-type-label-size); color: var(--ds-color-text-secondary); flex: none; }\n.ds-timeline-bar { position: relative; flex: 1; height: 24px; background: var(--ds-color-surface-sunken); border-radius: var(--ds-radius-control); overflow: hidden; }\n.ds-timeline-bar span { position: absolute; top: 0; bottom: 0; cursor: pointer; }\n.ds-timeline-axis { display: flex; justify-content: space-between; font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); }\n.ds-imagemap { position: relative; height: 100%; }\n.ds-imagemap img { width: 100%; height: 100%; object-fit: contain; }\n.ds-marker { position: absolute; transform: translate(-50%, -50%); border: 1px solid; border-radius: var(--ds-radius-control); padding: 1px var(--ds-space-xs); font-size: var(--ds-type-caption-size); white-space: nowrap; }\n.ds-stages { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--ds-space-xs); align-items: center; height: 100%; }\n.ds-stages li { flex: 1; }\n.ds-stages button { display: flex; align-items: center; gap: var(--ds-space-xs); width: 100%; padding: var(--ds-space-xs); border-radius: var(--ds-radius-control); color: var(--ds-color-text-subtle); }\n.ds-stages li[data-state=\"current\"] button { background: var(--ds-color-surface-selection); color: var(--ds-color-text-primary); font-weight: 600; }\n.ds-stages li[data-state=\"done\"] button { color: var(--ds-color-text-secondary); }\n.ds-stage-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ds-color-border-control); font-size: 11px; flex: none; }\n.ds-stages li[data-state=\"done\"] .ds-stage-dot { background: var(--ds-color-status-good-solid); border-color: transparent; color: var(--ds-color-text-on-fill); }\n.ds-stages li[data-state=\"current\"] .ds-stage-dot { background: var(--ds-color-action-primary); border-color: transparent; color: var(--ds-color-action-on-primary); }\n.ds-table-wrap { height: 100%; display: flex; flex-direction: column; }\n.ds-table-scroll { overflow: auto; flex: 1; scrollbar-width: thin; }\n.ds-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }\n.ds-table th, .ds-table td { padding: var(--ds-space-xs) var(--ds-space-sm); border-bottom: 1px solid var(--ds-color-border-default); vertical-align: top; }\n.ds-table-wrap[data-density=\"compact\"] th, .ds-table-wrap[data-density=\"compact\"] td { padding: 2px var(--ds-space-xs); }\n.ds-table th { font-size: var(--ds-type-label-size); font-weight: var(--ds-type-label-weight); color: var(--ds-color-text-subtle); white-space: nowrap; background: var(--ds-color-surface-card); }\n.ds-table thead[data-sticky] th { position: sticky; top: 0; z-index: 1; }\n.ds-table tbody tr { cursor: pointer; }\n.ds-table tbody tr:hover, .ds-table tbody tr:focus-visible { background: var(--ds-color-surface-selection); outline: none; }\n.ds-table tfoot td { font-weight: 600; border-top: 2px solid var(--ds-color-border-default); }\n/* Rich cells (sub line, chips), expandable rows and their detail. */\n.ds-cell { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--ds-space-xxs); }\n.ds-table td[style*=\"right\"] .ds-cell { align-items: flex-end; }\n.ds-cell-sub { color: var(--ds-color-text-secondary); font-size: var(--ds-type-caption-size); font-weight: 600; }\n.ds-chips { display: inline-flex; flex-wrap: wrap; gap: var(--ds-space-xxs); }\n.ds-table tr[aria-expanded] { cursor: pointer; }\n.ds-table tr[data-expanded] > td, .ds-row-detail > td { background: var(--ds-color-surface-sunken); }\n.ds-row-detail > td { padding: var(--ds-space-md); }\n/* Tiles: muted (dashed, greyed) and highlighted (accent border). */\n.ds-tile[data-muted] { border-style: dashed; color: var(--ds-color-text-disabled); background: transparent; }\n.ds-tile[data-muted] .ds-tile-label, .ds-tile[data-muted] .ds-tile-value, .ds-tile[data-muted] .ds-tile-caption { color: var(--ds-color-text-disabled); }\n.ds-tile[data-highlight] { border-width: 2px; }\n.ds-tile[data-highlight=\"warn\"] { border-color: var(--ds-color-status-warn-border); }\n.ds-tile[data-highlight=\"bad\"] { border-color: var(--ds-color-status-bad-border); }\n.ds-tile[data-highlight=\"good\"] { border-color: var(--ds-color-status-good-border); }\n.ds-tile[data-highlight=\"info\"] { border-color: var(--ds-color-status-info-border); }\n.ds-tile[data-highlight=\"neutral\"] { border-color: var(--ds-color-status-neutral-border); }\n.ds-cell-list { display: grid; gap: 2px; }\n.ds-pager { display: flex; justify-content: flex-end; align-items: center; gap: var(--ds-space-sm); padding-top: var(--ds-space-xs); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); }\n\n/* ---- Card anatomy ---- */\n.ds-panel { padding: var(--ds-space-lg); border: 0; }\n.ds-panel-head { margin-bottom: var(--ds-space-md); min-height: 20px; flex-wrap: wrap; row-gap: 2px; }\n.ds-panel-subtitle { margin: 2px 0 0; font-family: var(--ds-type-caption-family); font-size: var(--ds-type-caption-size); line-height: var(--ds-type-caption-line-height); color: var(--ds-color-text-subtle); }\n.ds-panel-title { display: inline-flex; align-items: center; gap: var(--ds-space-xs); min-width: 0; max-width: 100%; }\n.ds-panel-meta { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); white-space: nowrap; }\n.ds-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); white-space: nowrap; }\n.ds-live > span { width: 7px; height: 7px; border-radius: 50%; background: var(--ds-color-status-good-fg); }\n.ds-live[data-stale] > span { background: var(--ds-color-status-warn-fg); }\n.ds-info { position: relative; display: inline-flex; color: var(--ds-color-text-disabled); cursor: help; outline: none; background: none; border: 0; padding: 0; font: inherit; }\n.ds-info:hover, .ds-info:focus-visible { color: var(--ds-color-text-subtle); }\n.ds-tip { position: fixed; z-index: var(--ds-z-tooltip); width: max-content; max-width: 320px; padding: var(--ds-space-sm) var(--ds-space-md); border-radius: var(--ds-radius-control); background: var(--ds-color-chart-tooltip-bg); color: var(--ds-color-chart-tooltip-text); font: 500 var(--ds-type-caption-size)/1.5 var(--ds-font-body); text-align: left; white-space: normal; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 140ms ease, transform 140ms ease; }\n.ds-tip[data-below] { transform: translateY(-4px); }\n.ds-tip[data-open] { opacity: 1; transform: none; }\n@media (prefers-reduced-motion: reduce) { .ds-tip { transition: none; } }\n.ds-tip::after { content: \"\"; position: absolute; left: var(--ds-tip-arrow); top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ds-color-chart-tooltip-bg); }\n.ds-tip[data-below]::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ds-color-chart-tooltip-bg); }\n\n.ds-chip { display: inline-flex; align-items: center; height: var(--ds-chip-height, 22px); padding: 0 var(--ds-chip-padding-x, 8px); border-radius: var(--ds-chip-radius, 6px); border-width: var(--ds-chip-border, 1px); font: var(--ds-chip-weight, 600) var(--ds-chip-font-size, 11px)/1 var(--ds-font-body); white-space: nowrap; background: var(--ds-color-status-neutral-bg); color: var(--ds-color-status-neutral-fg); }\n.ds-chip[data-tone=\"good\"] { background: var(--ds-color-status-good-bg); color: var(--ds-color-status-good-fg); }\n.ds-chip[data-tone=\"bad\"] { background: var(--ds-color-status-bad-bg); color: var(--ds-color-status-bad-fg); }\n.ds-chip[data-tone=\"warn\"] { background: var(--ds-color-status-warn-bg); color: var(--ds-color-status-warn-fg); }\n.ds-chip[data-tone=\"info\"] { background: var(--ds-color-status-info-bg); color: var(--ds-color-status-info-fg); }\n\n.ds-kpi { display: flex; flex-direction: column; gap: var(--ds-space-xs); height: 100%; justify-content: flex-start; }\n.ds-kpi-label { display: flex; align-items: center; gap: var(--ds-space-xs); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); }\n.ds-kpi-main { display: flex; align-items: baseline; gap: 8px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; margin-top: 2px; }\n.ds-kpi-value { font-family: var(--ds-type-kpi-family); font-size: var(--ds-type-kpi-size); font-weight: var(--ds-type-kpi-weight); line-height: var(--ds-type-kpi-line-height); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }\n.ds-kpi[data-size=\"hero\"] .ds-kpi-value { font-size: calc(var(--ds-type-kpi-size) * 1.45); }\n.ds-kpi-unit { font-size: var(--ds-type-caption-size); margin-left: 0; color: var(--ds-color-text-subtle); font-weight: 400; }\n.ds-kpi-empty { font-size: var(--ds-type-body-size); color: var(--ds-color-text-subtle); padding: 6px 0; }\n.ds-kpi-delta { font-size: var(--ds-type-label-size); font-weight: 600; }\n.ds-kpi-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-sm); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); min-height: 22px; }\n\n.ds-tiles { --ds-tiles-gap: var(--ds-space-md); gap: var(--ds-tiles-gap); grid-template-columns: repeat(auto-fit, minmax(max(var(--ds-tile-min, 128px), calc((100% - (var(--ds-tile-cols, 12) - 1) * var(--ds-tiles-gap)) / var(--ds-tile-cols, 12))), 1fr)); }\n.ds-tiles[data-stretch=\"off\"] { grid-template-columns: repeat(auto-fill, minmax(max(var(--ds-tile-min, 128px), calc((100% - (var(--ds-tile-cols, 12) - 1) * var(--ds-tiles-gap)) / var(--ds-tile-cols, 12))), 1fr)); }\n.ds-tiles { overflow-y: auto; scrollbar-width: thin; grid-auto-rows: max-content; padding: 5px; margin: -5px; }\n.ds-tiles > .ds-tile { min-height: max-content; }\n.ds-flow .ds-tiles { height: auto; overflow-y: visible; }\n/* Grid items with fit: the panel takes its natural height (at least the cell's), so the grid can measure it. */\n[data-fit] > .ds-fit { height: 100%; }\n.ds-grid-exact > .react-grid-item { padding-bottom: var(--ds-grid-gap); }\n.ds-fit > .ds-panel { height: auto !important; min-height: 100% !important; }\n/* While measuring, the panel takes only its content's height (no stretching), then goes back. */\n.ds-fit[data-measuring] > .ds-panel { min-height: 0 !important; }\n.ds-fit[data-measuring] .ds-panel-body, .ds-fit[data-measuring] .ds-panel-body > * { flex: none !important; height: auto !important; }\n/* The body still fills a taller card, so footers (a KPI's target chip) stay at the bottom. */\n[data-fit] .ds-panel-body { flex: 1 0 auto; display: flex; flex-direction: column; }\n[data-fit] .ds-panel-body > * { flex: 1 0 auto; }\n[data-fit] .ds-tiles, [data-fit] .ds-table-wrap { height: auto; max-height: none; overflow-y: visible; }\n/* In a fit card the rows set the height, unless the table has its own maxHeight. */\n[data-fit] .ds-table-scroll { flex: none; }\n[data-fit] .ds-table-scroll:not([data-max]) { max-height: none !important; overflow-y: visible; }\n.ds-tiles[data-wrap=\"off\"] { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(var(--ds-tile-min, 128px), 1fr); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }\n.ds-tiles[data-wrap=\"off\"] > * { scroll-snap-align: start; }\n.ds-tile { min-width: 0; overflow-wrap: anywhere; }\n.ds-tile { display: flex; flex-direction: column; gap: 6px; padding: var(--ds-space-md) var(--ds-space-md) var(--ds-space-md); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); text-align: left; min-height: 0; transition: border-color 120ms, background 120ms; }\n.ds-tile[data-clickable]:hover { border-color: var(--ds-color-action-primary); }\n.ds-tile[data-active] { border-color: var(--ds-color-action-primary); background: var(--ds-color-surface-selection); box-shadow: none; }\n.ds-tile-main { display: flex; align-items: baseline; gap: var(--ds-space-xs); flex-wrap: wrap; }\n.ds-tile[data-active] .ds-tile-label { color: var(--ds-color-text-primary); font-weight: 600; }\n.ds-tile-label { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); text-transform: none; gap: 2px; }\n.ds-tile-value { font-family: var(--ds-type-kpi-family); font-size: 24px; line-height: 30px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ds-color-text-primary); }\n.ds-tile-caption { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); margin-top: auto; }\n\n.ds-chart { display: flex; flex-direction: column; height: 100%; }\n.ds-chart-legend { list-style: none; margin: -38px 0 14px auto; padding: 0; display: flex; gap: var(--ds-space-lg); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); position: relative; z-index: 1; max-width: 70%; flex-wrap: wrap; justify-content: flex-end; }\n.ds-panel-tools .ds-chart-legend { margin: 0; max-width: none; }\n.ds-chart-legend li { display: inline-flex; align-items: center; gap: 6px; }\n.ds-swatch { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }\n.ds-swatch-line { width: 16px; border-top: 2px dashed var(--ds-color-text-subtle); display: inline-block; }\n\n.ds-table th, .ds-table td { padding: 12px var(--ds-space-lg); border-bottom: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); }\n.ds-table th { background: var(--ds-color-surface-table-header); color: var(--ds-color-text-secondary); font-size: var(--ds-type-label-size); font-weight: 600; letter-spacing: 0; text-transform: none; border-bottom: 0; }\n.ds-table td { font-size: var(--ds-type-label-size); color: var(--ds-color-text-secondary); vertical-align: middle; }\n.ds-table tbody tr:hover, .ds-table tbody tr:focus-visible { background: var(--ds-color-surface-selection); }\n.ds-table tbody tr[data-muted] td { color: var(--ds-color-text-disabled); }\n.ds-cell-empty { color: var(--ds-color-text-disabled); }\n.ds-table th button { font-weight: 600; }\n\n.ds-header { margin-bottom: var(--ds-space-md); }\n.ds-filters { background: var(--ds-color-surface-card); border-radius: var(--ds-radius-card); padding: var(--ds-space-md) var(--ds-space-lg); align-items: center; gap: var(--ds-space-md); }\n.ds-filters .ds-field { min-width: 0; grid-auto-flow: column; align-items: center; gap: var(--ds-space-xs); }\n.ds-filters .ds-field > span { font-size: var(--ds-type-label-size); }\n.ds-filters .ds-select, .ds-filters .ds-input { color: var(--ds-color-action-primary); border-color: var(--ds-color-border-default); background: var(--ds-color-surface-card); min-height: calc(var(--ds-control-height, 36px) - 2px); }\n.ds-filters .ds-btn { border-color: transparent; background: var(--ds-color-surface-selection); color: var(--ds-color-action-primary); }\n.ds-filters-icon { display: inline-grid; place-items: center; width: calc(var(--ds-control-height, 36px) - 2px); height: calc(var(--ds-control-height, 36px) - 2px); border-radius: var(--ds-radius-control); border: 1px solid var(--ds-color-border-default); color: var(--ds-filter-icon-color, var(--ds-color-text-subtle)); }\n.ds-meters .ds-progress, .ds-card .ds-progress { height: 8px; }\n.ds-badge-stale { border-radius: 6px; padding: 2px 8px; }\n\n/* ---- Motion (all off with prefers-reduced-motion) ---- */\n@keyframes ds-rise { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }\n@keyframes ds-fade { from { opacity: 0; } to { opacity: 1; } }\n@keyframes ds-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n@keyframes ds-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ds-color-status-good-fg) 55%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }\n@keyframes ds-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }\n@keyframes ds-slide-in { from { transform: translateX(100%); } to { transform: none; } }\n@keyframes ds-row-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }\n\n.ds-panel { animation: ds-rise 520ms cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--ds-i, 0) * 45ms); transition: box-shadow 200ms ease, transform 200ms ease, outline-color 200ms ease; }\n.ds-panel-body > :not(.ds-skeleton):not(.ds-loading) { animation: ds-fade 360ms ease both; }\n.ds-filters, .ds-header { animation: ds-fade 400ms ease both; }\n.ds-tile { transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease; }\n.ds-tile[data-clickable]:hover { transform: translateY(-2px); box-shadow: 0 6px 16px color-mix(in srgb, var(--ds-color-action-primary) 10%, transparent); }\n.ds-tile:not([data-clickable]) { cursor: default; }\n.ds-tile:active { transform: translateY(0); }\n.ds-kpi-main { transition: opacity 160ms ease; }\n.ds-kpi-main[data-clickable]:hover .ds-kpi-value { color: var(--ds-color-action-primary); transition: color 160ms ease; }\n.ds-chip { animation: ds-fade 300ms ease both; transition: background 200ms ease, color 200ms ease; }\n.ds-progress > span { transform-origin: left; animation: ds-grow-x 800ms cubic-bezier(.2,.7,.2,1) both; transition: width 500ms cubic-bezier(.2,.7,.2,1); }\n.ds-segbar button { transform-origin: left; animation: ds-grow-x 700ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-timeline-bar span { transform-origin: left; animation: ds-grow-x 700ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-live > span { animation: ds-pulse 2s ease-out infinite; }\n.ds-table tbody tr { animation: ds-row-in 320ms ease both; transition: background 140ms ease; }\n.ds-table tbody tr:nth-child(1) { animation-delay: 20ms; } .ds-table tbody tr:nth-child(2) { animation-delay: 40ms; }\n.ds-table tbody tr:nth-child(3) { animation-delay: 60ms; } .ds-table tbody tr:nth-child(4) { animation-delay: 80ms; }\n.ds-table tbody tr:nth-child(5) { animation-delay: 100ms; } .ds-table tbody tr:nth-child(6) { animation-delay: 120ms; }\n.ds-table tbody tr:nth-child(7) { animation-delay: 140ms; } .ds-table tbody tr:nth-child(8) { animation-delay: 160ms; }\n.ds-table tbody tr:nth-child(9) { animation-delay: 180ms; } .ds-table tbody tr:nth-child(n+10) { animation-delay: 200ms; }\n.ds-stages li[data-state=\"current\"] .ds-stage-dot { animation: ds-pulse 2s ease-out infinite; }\n.ds-scrim { animation: ds-fade 200ms ease both; }\n.ds-dialog { animation: ds-pop 260ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-scrim[data-presentation=\"drawer\"] .ds-dialog { animation: ds-slide-in 300ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-select, .ds-input, .ds-btn, .ds-chip, .ds-link { transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease; }\n.ds-select:hover, .ds-input:hover { border-color: var(--ds-color-action-primary); }\n.ds-grid-edit .react-grid-item > .ds-panel { animation: none; }\n@media (prefers-reduced-motion: reduce) {\n .ds-root *, .ds-root *::before, .ds-root *::after { animation: none !important; transition: none !important; }\n}\n\n/* ---- Filter controls (pills with the value in blue, popovers) ---- */\n.ds-filters { gap: var(--ds-space-sm); padding: 12px var(--ds-space-lg); }\n.ds-dd { position: relative; display: inline-flex; }\n.ds-pill-btn { display: inline-flex; align-items: center; gap: 8px; height: var(--ds-control-height, 36px); padding: 0 12px; border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); color: var(--ds-color-text-primary); font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; white-space: nowrap; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }\n.ds-pill-btn:hover { border-color: var(--ds-color-action-primary); }\n.ds-pill-btn[aria-expanded=\"true\"] { border-color: var(--ds-color-action-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 14%, transparent); }\n.ds-pill-btn > svg:first-child { color: var(--ds-color-text-subtle); }\n.ds-pill-value { color: var(--ds-color-action-primary); font-weight: 500; }\n.ds-pill-value-only { color: var(--ds-control-value-color, var(--ds-color-action-primary)); font-weight: var(--ds-control-value-weight, 500); }\n.ds-pill-chev { color: var(--ds-color-text-subtle); margin-left: 2px; transition: transform 180ms ease; }\n.ds-pill-btn[aria-expanded=\"true\"] .ds-pill-chev { transform: rotate(180deg); color: var(--ds-color-action-primary); }\n\n.ds-pop { z-index: calc(var(--ds-z-overlay) + 10); max-width: min(92vw, 640px); background: var(--ds-color-surface-overlay); border: 1px solid color-mix(in srgb, var(--ds-color-border-default) 70%, transparent); border-radius: 12px; box-shadow: 0 14px 36px rgba(13,13,13,.16), 0 2px 6px rgba(13,13,13,.06); padding: 6px; animation: ds-pop-in 180ms cubic-bezier(.2,.7,.2,1) both; transform-origin: top left; }\n@keyframes ds-pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }\n.ds-menu { display: grid; gap: 2px; max-height: 300px; overflow: auto; outline: none; min-width: var(--ds-menu-min-width, 200px); }\n.ds-pop:has(> .ds-menu) { width: var(--ds-menu-width, auto); }\n.ds-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ds-color-text-primary); font: 400 var(--ds-control-font-size, 13px)/18px var(--ds-font-body); text-align: left; cursor: pointer; transition: background 120ms ease, color 120ms ease; }\n.ds-menu-item:hover, .ds-menu-item:focus-visible { background: color-mix(in srgb, var(--ds-color-action-primary) 8%, transparent); outline: none; }\n.ds-menu-item[aria-selected=\"true\"], .ds-menu-item[aria-pressed=\"true\"] { color: var(--ds-color-action-primary); font-weight: 600; background: var(--ds-color-surface-selection); }\n.ds-menu-label { flex: 1; }\n.ds-menu-count { color: var(--ds-color-text-subtle); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }\n.ds-menu-tick { color: var(--ds-color-action-primary); }\n.ds-menu-empty { padding: 10px; color: var(--ds-color-text-subtle); font-size: 12px; }\n.ds-check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ds-color-border-control); flex: none; display: grid; place-items: center; transition: background 120ms ease, border-color 120ms ease; }\n.ds-check[data-on] { background: var(--ds-color-action-primary); border-color: var(--ds-color-action-primary); }\n.ds-check[data-on]::after { content: \"\"; width: 8px; height: 4px; border: 2px solid var(--ds-color-action-on-primary); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }\n.ds-pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 6px 2px; margin-top: 4px; border-top: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); font-size: 12px; color: var(--ds-color-text-subtle); }\n\n.ds-pop-wide { min-width: 0; }\n.ds-range { display: flex; gap: 6px; }\n.ds-range-presets { display: grid; gap: 2px; align-content: start; min-width: 210px; padding-right: 6px; border-right: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); }\n.ds-cal { padding: 4px 6px; width: 280px; }\n.ds-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }\n.ds-cal-head strong { font: 600 13px/1 var(--ds-font-heading); }\n.ds-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }\n.ds-cal-wd { text-align: center; font-size: 11px; color: var(--ds-color-text-subtle); padding: 4px 0; }\n.ds-cal-day { height: 34px; border: 0; background: transparent; color: var(--ds-color-text-primary); font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; border-radius: 8px; transition: background 120ms ease, color 120ms ease; font-variant-numeric: tabular-nums; }\n.ds-cal-day:hover:not(:disabled) { background: color-mix(in srgb, var(--ds-color-action-primary) 10%, transparent); }\n.ds-cal-day:disabled { color: var(--ds-color-text-disabled); cursor: default; }\n.ds-cal-day[data-in] { background: var(--ds-color-surface-selection); border-radius: 0; }\n.ds-cal-day[data-start], .ds-cal-day[data-end] { background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); font-weight: 600; }\n.ds-cal-error { color: var(--ds-color-status-bad-fg); }\n.ds-apply { height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); font: 600 12px/1 var(--ds-font-body); cursor: pointer; transition: background 140ms ease, opacity 140ms ease; }\n.ds-apply:hover:not(:disabled) { background: var(--ds-color-action-primary-hover); }\n.ds-apply:disabled { opacity: .4; cursor: default; }\n\n.ds-stepper { display: inline-flex; align-items: stretch; gap: 0; }\n.ds-stepper .ds-pill-btn { border-radius: 0; border-left: 0; border-right: 0; }\n/* Between the arrows the select is one piece of the group: no border or ring of its own (square corners would\n draw a box inside the rounded group); keyboard focus gets an inset ring instead. */\n.ds-stepper .ds-pill-btn, .ds-stepper .ds-pill-btn:hover, .ds-stepper .ds-pill-btn[aria-expanded=\"true\"] { border-color: transparent; box-shadow: none; }\n.ds-stepper .ds-pill-btn:focus { outline: none; }\n.ds-stepper .ds-pill-btn:focus-visible, .ds-stepper .ds-step:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: -2px; }\n.ds-step { display: inline-grid; place-items: center; width: var(--ds-control-height, 36px); height: var(--ds-control-height, 36px); border: 1px solid transparent; background: var(--ds-color-surface-selection); color: var(--ds-color-action-primary); font-size: 16px; cursor: pointer; transition: background 140ms ease, opacity 140ms ease; }\n.ds-stepper > .ds-step:first-child { border-radius: var(--ds-radius-control) 0 0 var(--ds-radius-control); }\n.ds-stepper > .ds-step:last-child { border-radius: 0 var(--ds-radius-control) var(--ds-radius-control) 0; }\n.ds-step:hover:not(:disabled) { background: color-mix(in srgb, var(--ds-color-action-primary) 18%, var(--ds-color-surface-card)); }\n.ds-step:disabled { opacity: .4; cursor: default; }\n.ds-cal-head .ds-step { width: 30px; height: 30px; border-radius: 8px; background: transparent; }\n.ds-cal-head .ds-step:hover:not(:disabled) { background: var(--ds-color-surface-selection); }\n\n.ds-search { display: inline-flex; align-items: center; gap: 8px; height: var(--ds-control-height, 36px); padding: 0 12px; border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); color: var(--ds-color-text-subtle); transition: border-color 140ms ease, box-shadow 140ms ease; min-width: 200px; }\n.ds-search:focus-within { border-color: var(--ds-color-action-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 14%, transparent); }\n.ds-search input { border: 0; outline: none; background: transparent; font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); color: var(--ds-color-text-primary); width: 100%; }\n.ds-switch { display: inline-flex; align-items: center; gap: 8px; font-size: var(--ds-control-font-size, 13px); cursor: pointer; }\n.ds-switch input { position: absolute; opacity: 0; width: 0; height: 0; }\n.ds-switch span { width: 34px; height: 20px; border-radius: 999px; background: var(--ds-color-border-control); position: relative; transition: background 160ms ease; }\n.ds-switch span::after { content: \"\"; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform 180ms cubic-bezier(.2,.7,.2,1); }\n.ds-switch input:checked + span { background: var(--ds-color-action-primary); }\n.ds-switch input:checked + span::after { transform: translateX(14px); }\n.ds-switch input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 25%, transparent); }\n.ds-chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--ds-color-border-default); border-radius: 999px; background: var(--ds-color-surface-card); color: var(--ds-color-text-secondary); font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; transition: all 140ms ease; }\n.ds-chip-btn:hover { border-color: var(--ds-color-action-primary); }\n.ds-chip-btn[aria-pressed=\"true\"] { background: var(--ds-color-surface-selection); border-color: var(--ds-color-action-primary); color: var(--ds-color-action-primary); font-weight: 600; }\n.ds-panel-tools .ds-pill-btn { height: 30px; font-size: 12px; }\n\n/* ---- Builder editing: resize from every corner and edge; widgets are inert so a click selects ---- */\n.ds-grid-edit .react-grid-item > .react-resizable-handle { display: block; position: absolute; z-index: 3; opacity: 0; transition: opacity 140ms ease; }\n.ds-grid-edit .react-grid-item:hover > .react-resizable-handle, .ds-grid-edit .react-grid-item:has(.ds-panel[data-selected=\"true\"]) > .react-resizable-handle { opacity: 1; }\n.ds-grid-edit .react-grid-item > .react-resizable-handle::after { content: \"\"; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border: 2px solid var(--ds-color-action-primary); background: var(--ds-color-surface-card); border-radius: 3px; box-shadow: 0 1px 3px rgba(13,13,13,.2); transform: none; right: auto; bottom: auto; }\n.ds-grid-edit .react-resizable-handle-se, .ds-grid-edit .react-resizable-handle-sw, .ds-grid-edit .react-resizable-handle-ne, .ds-grid-edit .react-resizable-handle-nw { width: 18px; height: 18px; }\n.ds-grid-edit .react-resizable-handle-se { right: -7px; bottom: -7px; cursor: nwse-resize; }\n.ds-grid-edit .react-resizable-handle-nw { left: -7px; top: -7px; cursor: nwse-resize; }\n.ds-grid-edit .react-resizable-handle-ne { right: -7px; top: -7px; cursor: nesw-resize; }\n.ds-grid-edit .react-resizable-handle-sw { left: -7px; bottom: -7px; cursor: nesw-resize; }\n.ds-grid-edit .react-resizable-handle-e, .ds-grid-edit .react-resizable-handle-w { top: 50%; width: 14px; height: 28px; margin-top: -14px; cursor: ew-resize; }\n.ds-grid-edit .react-resizable-handle-e { right: -6px; } .ds-grid-edit .react-resizable-handle-w { left: -6px; }\n.ds-grid-edit .react-resizable-handle-n, .ds-grid-edit .react-resizable-handle-s { left: 50%; width: 28px; height: 14px; margin-left: -14px; cursor: ns-resize; }\n.ds-grid-edit .react-resizable-handle-n { top: -6px; } .ds-grid-edit .react-resizable-handle-s { bottom: -6px; }\n.ds-grid-edit .react-resizable-handle-e::after, .ds-grid-edit .react-resizable-handle-w::after { width: 6px; height: 20px; }\n.ds-grid-edit .react-resizable-handle-n::after, .ds-grid-edit .react-resizable-handle-s::after { width: 20px; height: 6px; }\n.ds-grid-edit .react-grid-item.resizing { z-index: 4; }\n.ds-grid-edit .ds-panel-body { user-select: none; }\n.ds-grid-edit .ds-panel [data-ds-part], .ds-grid-edit .ds-panel :is(.ds-panel-title, .ds-kpi-label, .ds-panel-meta, .ds-kpi-main, .ds-kpi-foot, .ds-kpi-sub, .ds-tile, .ds-meters > *, .ds-status, .ds-table-tools, .ds-pager) { cursor: pointer; border-radius: 6px; outline: 1.5px dashed transparent; outline-offset: 2px; transition: outline-color 120ms; }\n.ds-grid-edit .ds-panel[data-selected] :is([data-ds-part], .ds-panel-title, .ds-kpi-label, .ds-panel-meta, .ds-kpi-main, .ds-kpi-foot, .ds-kpi-sub, .ds-tile, .ds-meters > *, .ds-status, .ds-table-tools, .ds-pager):hover { outline-color: color-mix(in srgb, var(--ds-color-action-primary) 55%, transparent); }\n.ds-grid-edit .ds-part-selected, .ds-grid-edit .ds-panel .ds-part-selected { outline: 2px solid var(--ds-color-action-primary) !important; outline-offset: 2px; }\n.ds-grid-edit .ds-panel { user-select: none; }\n\n/* Narrow cards scale their type down instead of overflowing. */\n.ds-panel-body { container-type: inline-size; }\n@container (max-width: 190px) {\n .ds-kpi-value { font-size: calc(var(--ds-type-kpi-size) * .78); line-height: 1.15; }\n .ds-kpi-foot { flex-wrap: wrap; gap: 4px; }\n .ds-tile-value { font-size: 20px; line-height: 24px; }\n}\n@container (max-width: 140px) {\n .ds-kpi-value { font-size: calc(var(--ds-type-kpi-size) * .64); }\n .ds-kpi-unit { display: none; }\n}\n\n/* Dropdown variants */\n.ds-dd[data-block] { display: flex; width: 100%; }\n.ds-dd[data-block] .ds-pill-btn { width: 100%; justify-content: space-between; }\n.ds-dd[data-block] .ds-pill-btn > span { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; }\n.ds-dd[data-plain] .ds-pill-value { color: var(--ds-color-text-primary); font-weight: 400; }\n.ds-dd[data-size=\"sm\"] .ds-pill-btn { height: 30px; padding: 0 8px; font-size: 12px; gap: 4px; }\n\n/* Table tools, filters, pager */\n.ds-table-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }\n.ds-table-tools .ds-search { flex: 1; max-width: 320px; }\n.ds-table-count { margin-left: auto; font-size: 12px; color: var(--ds-color-text-subtle); }\n.ds-table-scroll { position: relative; }\n.ds-table-busy { position: sticky; top: 0; left: 0; height: 2px; margin-bottom: -2px; z-index: 3; overflow: hidden; background: color-mix(in srgb, var(--ds-color-action-primary) 15%, transparent); }\n.ds-table-busy::after { content: \"\"; position: absolute; inset: 0; width: 40%; background: var(--ds-color-action-primary); animation: ds-busy 1s ease-in-out infinite; }\n@keyframes ds-busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }\n.ds-table[aria-busy=\"true\"] tbody { opacity: .55; transition: opacity 160ms ease; }\n.ds-filter-row th { background: var(--ds-color-surface-card); padding: 6px 8px; border-bottom: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); }\n.ds-cell-filter { width: 100%; height: 30px; padding: 0 8px; border: 1px solid var(--ds-color-border-default); border-radius: 6px; background: var(--ds-color-surface-card); font: 400 12px/1 var(--ds-font-body); color: var(--ds-color-text-primary); outline: none; transition: border-color 140ms ease, box-shadow 140ms ease; }\n.ds-cell-filter:focus { border-color: var(--ds-color-action-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 14%, transparent); }\n.ds-sort { display: inline-flex; flex-direction: column; gap: 1px; margin-left: 6px; vertical-align: middle; }\n.ds-sort::before, .ds-sort::after { content: \"\"; width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; opacity: .3; transition: opacity 140ms ease; }\n.ds-sort::before { border-bottom: 4px solid currentColor; }\n.ds-sort::after { border-top: 4px solid currentColor; }\n.ds-sort[data-dir=\"asc\"]::before, .ds-sort[data-dir=\"desc\"]::after { opacity: 1; border-bottom-color: var(--ds-color-action-primary); border-top-color: var(--ds-color-action-primary); }\n.ds-table th button:hover .ds-sort::before, .ds-table th button:hover .ds-sort::after { opacity: .7; }\n.ds-pager { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding-top: 10px; font-size: 12px; color: var(--ds-color-text-subtle); flex-wrap: wrap; }\n.ds-pager-size { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }\n.ds-pages { display: inline-flex; align-items: center; gap: 2px; }\n.ds-pages button { min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--ds-color-text-secondary); font: 500 12px/1 var(--ds-font-body); cursor: pointer; transition: background 140ms ease, color 140ms ease; }\n.ds-pages button:hover:not(:disabled) { background: var(--ds-color-surface-selection); }\n.ds-pages button[aria-current=\"page\"] { background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); }\n.ds-pages button:disabled { opacity: .35; cursor: default; }\n.ds-page-gap { padding: 0 4px; }\n\n/* Container: a flex layout of panels */\n.ds-container { height: 100%; min-height: 0; }\n.ds-container > .ds-panel { flex: var(--ds-child-flex, 1 1 160px); min-width: var(--ds-child-min, 0); height: auto; }\n.ds-container[data-direction=\"column\"] > .ds-panel { min-height: 0; }\n.ds-container-empty { display: grid; place-items: center; height: 100%; min-height: 80px; border: 1.5px dashed var(--ds-color-border-default); border-radius: var(--ds-radius-card); color: var(--ds-color-text-subtle); font-size: 12px; }\n.ds-panel:has(> .ds-panel-body > .ds-container) { overflow: visible; }\n.ds-grid-edit .ds-panel-body:has(> .ds-container) { pointer-events: auto; }\n.ds-grid-edit .ds-container > .ds-panel { cursor: pointer; }\n\n.ds-filters-spacer { flex: 1; }\n.ds-tour-btn { margin-left: auto; align-self: center; height: calc(var(--ds-control-height, 36px) - 6px); padding: 0 var(--ds-space-md); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-full); background: var(--ds-color-surface-card); color: var(--ds-color-action-primary); font: 600 var(--ds-type-label-size)/1 var(--ds-font-body); cursor: pointer; }\n.ds-synced + .ds-tour-btn { margin-left: 0; }\n.ds-tour-btn:focus-visible, .ds-tour button:focus-visible, .ds-tour:focus-visible, .ds-filters-toggle:focus-visible, .ds-filter-panel button:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: 1px; }\n.ds-root [data-tour-active] { outline: 3px solid var(--ds-color-border-focus); outline-offset: 3px; position: relative; z-index: var(--ds-z-raised); }\n.ds-tour { position: fixed; right: auto; bottom: auto; margin: 0; z-index: calc(var(--ds-z-overlay) + 5); width: min(92vw, 340px); background: var(--ds-color-surface-overlay); color: var(--ds-color-text-primary); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-overlay); padding: var(--ds-space-md); animation: ds-pop-in 180ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-tour-head { display: flex; align-items: baseline; gap: var(--ds-space-sm); }\n.ds-tour-title { margin: 0; font-family: var(--ds-type-heading-family); font-size: var(--ds-type-heading-size); font-weight: var(--ds-type-heading-weight); }\n.ds-tour-count { margin-left: auto; font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); font-variant-numeric: tabular-nums; }\n.ds-tour-text { margin: var(--ds-space-sm) 0 var(--ds-space-md); color: var(--ds-color-text-secondary); }\n.ds-tour-foot { display: flex; align-items: center; gap: var(--ds-space-xs); }\n.ds-tour-skip { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ds-color-text-subtle); text-decoration: underline; text-underline-offset: 2px; }\n.ds-filter-drawer { position: relative; display: flex; margin-bottom: var(--ds-space-lg); }\n.ds-filters-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--ds-space-xs); border-radius: var(--ds-radius-full); background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); font-size: var(--ds-type-caption-size); font-weight: 600; }\n.ds-filter-panel { position: absolute; top: calc(100% + var(--ds-space-xs)); left: 0; right: auto; margin: 0; color: var(--ds-color-text-primary); z-index: var(--ds-z-overlay); width: min(92vw, 420px); max-height: 70vh; overflow: auto; background: var(--ds-color-surface-overlay); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-overlay); padding: var(--ds-space-md); animation: ds-pop-in 180ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-filter-panel:focus-visible { outline: 2px solid var(--ds-color-border-focus); }\n.ds-filter-panel-head { display: flex; align-items: center; margin-bottom: var(--ds-space-sm); font-weight: var(--ds-type-heading-weight); }\n.ds-filter-panel .ds-filters { flex-direction: column; align-items: stretch; margin: 0; padding: 0; background: transparent; box-shadow: none; animation: none; }\n.ds-filter-panel .ds-filters-spacer { display: none; }\n.ds-filter-apply, .ds-filter-reset { height: var(--ds-control-height, 36px); padding: 0 16px; border-radius: var(--ds-radius-control); font: 600 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; transition: background 140ms ease, color 140ms ease, opacity 140ms ease, border-color 140ms ease; }\n.ds-filter-apply { border: 0; background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); }\n.ds-filter-apply:hover:not(:disabled) { background: var(--ds-color-action-primary-hover); }\n.ds-filter-reset { border: 1px solid var(--ds-color-border-default); background: var(--ds-color-surface-card); color: var(--ds-color-text-secondary); }\n.ds-filter-reset:hover:not(:disabled) { border-color: var(--ds-color-action-primary); color: var(--ds-color-action-primary); }\n.ds-filter-apply:disabled, .ds-filter-reset:disabled { opacity: .4; cursor: default; }\n/* Flow layout (phones by default): panels wrap like a flex container and grow to fit their content */\n.ds-flow { display: flex; flex-wrap: wrap; align-items: stretch; }\n.ds-flow-item { display: flex; flex-direction: column; min-width: 0; animation: ds-rise 420ms cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--ds-i, 0) * 35ms); }\n.ds-flow-item > * { flex: 1 1 auto !important; min-height: 0; min-width: 0 !important; max-width: none !important; align-self: stretch !important; }\n/* Filter widget: one filter on the canvas */\n.ds-filter-widget { display: flex; align-items: center; min-height: 100%; }\n.ds-filter-widget[data-fill] > * { flex: 1; }\n.ds-filter-widget[data-fill] .ds-dd, .ds-filter-widget[data-fill] .ds-dd > button { width: 100%; }\n.ds-filter-missing { display: grid; place-items: center; height: 100%; min-height: 36px; border: 1.5px dashed var(--ds-color-border-control); border-radius: var(--ds-radius-control); color: var(--ds-color-text-subtle); font-size: var(--ds-type-label-size); }\n.ds-container .ds-filter-widget { min-height: 0; }\n.ds-filter-pick { border-radius: var(--ds-radius-control); cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 120ms; }\n.ds-filter-pick:hover { outline-color: color-mix(in srgb, var(--ds-color-action-primary) 45%, transparent); }\n.ds-filter-pick[data-selected] { outline-color: var(--ds-color-action-primary); }\n.ds-filter-pick * { pointer-events: none; }\n.ds-filters[data-look=\"plain\"] { background: transparent; padding-left: 0; padding-right: 0; box-shadow: none; }\n/* look \"segmented\": the icon and the filters share one sunken track; each filter is a borderless chip on the card\n colour, with no leading icon; the page stepper's arrows use the selection colour. */\n.ds-filters-track { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 2px; border-radius: var(--ds-radius-control); background: var(--ds-color-surface-sunken); }\n.ds-filters[data-look=\"segmented\"] .ds-filters-icon { border: 0; width: auto; padding: 0 var(--ds-space-sm); }\n.ds-filters-icon svg { width: var(--ds-filter-icon-size, 18px); height: var(--ds-filter-icon-size, 18px); }\n.ds-filters[data-look=\"segmented\"] .ds-pill-btn { border: 0; border-radius: calc(var(--ds-radius-control) / 2); background: var(--ds-color-surface-card); box-shadow: none; padding: 0 var(--ds-space-sm); font-family: var(--ds-font-heading); gap: var(--ds-space-xs); }\n.ds-filters[data-look=\"segmented\"] .ds-pill-btn > svg:first-child:not(:last-child) { display: none; }\n.ds-filters[data-look=\"segmented\"] .ds-stepper { gap: 2px; }\n.ds-filters[data-look=\"segmented\"] .ds-step { border: 0; border-radius: calc(var(--ds-radius-control) / 2); background: var(--ds-control-step-bg, var(--ds-color-surface-selection)); width: 32px; }\n.ds-filters[data-editable] { cursor: pointer; outline: 1.5px dashed transparent; outline-offset: 2px; transition: outline-color 120ms; }\n.ds-filters[data-editable]:hover { outline-color: color-mix(in srgb, var(--ds-color-action-primary) 45%, transparent); }\n.ds-filters[data-picked] { outline: 2px solid var(--ds-color-action-primary) !important; }\n/* Small elements in a widget's header, and drag and drop in the Builder */\n.ds-panel-addons { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }\n.ds-panel-addons > .ds-panel { padding: 0; background: none; box-shadow: none; border: 0; min-height: 0; height: auto; }\n.ds-panel-addons > .ds-panel > .ds-panel-head { display: none; }\n.ds-panel-addons .ds-panel-body { container-type: normal; flex: none; }\n.ds-panel-addons .ds-status { padding: 0; }\n.ds-panel[data-nested][draggable=\"true\"] { cursor: grab; }\n.ds-panel[data-drop-over] { outline: 2px dashed var(--ds-color-action-primary) !important; outline-offset: 3px; background-color: color-mix(in srgb, var(--ds-color-action-primary) 6%, var(--ds-color-surface-card)); }\n.ds-panel[data-tone=\"plain\"] { min-height: 0; }\n/* Atoms: the pieces of a hand-built card */\n.ds-atom-text { display: block; line-height: 1.35; font-size: var(--ds-type-body-size); }\n.ds-atom-text[data-size=\"xs\"] { font-size: 11px; } .ds-atom-text[data-size=\"sm\"] { font-size: var(--ds-type-label-size); }\n.ds-atom-text[data-size=\"lg\"] { font-size: 18px; font-family: var(--ds-font-heading); } .ds-atom-text[data-size=\"xl\"] { font-size: 24px; font-family: var(--ds-font-heading); }\n.ds-atom-text[data-weight=\"medium\"] { font-weight: 500; } .ds-atom-text[data-weight=\"bold\"] { font-weight: 700; }\n.ds-atom-value { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--ds-font-heading); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ds-color-text-primary); }\n.ds-atom-value small { font-family: var(--ds-font-body); font-size: var(--ds-type-label-size); font-weight: 400; color: var(--ds-color-text-subtle); }\n.ds-atom-value[data-size=\"xs\"] { font-size: 14px; } .ds-atom-value[data-size=\"sm\"] { font-size: 18px; } .ds-atom-value[data-size=\"md\"] { font-size: 24px; } .ds-atom-value[data-size=\"lg\"] { font-size: 30px; } .ds-atom-value[data-size=\"xl\"] { font-size: 40px; }\n.ds-atom-progress { display: flex; align-items: center; gap: 8px; }\n.ds-atom-progress > span { flex: 1; border-radius: 999px; background: var(--ds-color-surface-sunken); overflow: hidden; }\n.ds-atom-progress > span > span { display: block; height: 100%; border-radius: inherit; transition: width 600ms cubic-bezier(.2,.7,.2,1); }\n.ds-atom-progress small { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); font-variant-numeric: tabular-nums; }\n.ds-atom-icon { display: inline-grid; place-items: center; border-radius: 999px; }\n.ds-atom-divider { border: 0; border-top: 1px solid var(--ds-color-border-default); margin: 4px 0; width: 100%; }\n.ds-atom-divider[data-dashed] { border-top-style: dashed; }\n.ds-atom-divider[data-dir=\"vertical\"] { border-top: 0; border-left: 1px solid var(--ds-color-border-default); width: 0; height: 100%; margin: 0 4px; }\n.ds-container > .ds-panel[data-tone=\"plain\"] { padding: 0; }\n/* Card-less pieces (atoms, badges, filters) size to their content */\n.ds-panel[data-tone=\"plain\"] > .ds-panel-body { container-type: normal; }\n/* Slots: nodes inside nodes */\n.ds-slot { min-width: 0; }\n.ds-pager[data-layout=\"simple\"] { display: flex; align-items: center; justify-content: flex-end; gap: var(--ds-space-sm); flex-wrap: wrap; color: var(--ds-color-text-subtle); font-size: var(--ds-type-label-size); }\n.ds-pager[data-layout=\"simple\"] .ds-pager-range { margin-right: var(--ds-space-xs); }\n.ds-slot[data-slot=\"toolbar\"] { display: flex; flex-wrap: wrap; gap: var(--ds-space-sm); align-items: center; margin-bottom: var(--ds-space-sm); }\n.ds-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-space-xs); height: var(--ds-control-height, 36px); padding: 0 var(--ds-space-md); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); color: var(--ds-color-text-primary); font: 500 var(--ds-type-label-size)/1 var(--ds-font-body); cursor: pointer; white-space: nowrap; transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease; }\n.ds-button[data-size=\"sm\"] { height: calc(var(--ds-control-height, 36px) - 8px); padding: 0 var(--ds-space-sm); }\n.ds-button[data-icon-only] { padding: 0; width: var(--ds-control-height, 36px); }\n.ds-button[data-icon-only][data-size=\"sm\"] { width: calc(var(--ds-control-height, 36px) - 8px); }\n.ds-button[data-variant=\"primary\"] { background: var(--ds-color-action-primary); border-color: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); }\n.ds-button[data-variant=\"subtle\"] { background: var(--ds-color-surface-selection); border-color: transparent; color: var(--ds-color-action-primary); }\n.ds-button[data-variant=\"link\"] { background: none; border-color: transparent; color: var(--ds-color-action-primary); padding: 0; height: auto; }\n.ds-button:hover:not(:disabled) { border-color: var(--ds-color-action-primary); }\n.ds-button[data-variant=\"link\"]:hover:not(:disabled) { text-decoration: underline; border-color: transparent; background: none; }\n.ds-button:disabled { opacity: .4; cursor: default; }\n.ds-root :is(button, [role=\"button\"], a, [tabindex]):focus:not(:focus-visible) { outline: none; }\n.ds-button:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: 1px; }\n.ds-slot[data-slot=\"footer\"] { margin-top: var(--ds-space-sm); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }\n.ds-slot[data-empty] { display: grid; place-items: center; min-height: 44px; border: 1.5px dashed var(--ds-color-border-control); border-radius: var(--ds-radius-control); color: var(--ds-color-text-subtle); font-size: var(--ds-type-label-size); padding: 8px; }\n.ds-slot-hint { pointer-events: none; }\n.ds-panel[data-drop-over] [data-slot][data-empty] { border-color: var(--ds-color-action-primary); color: var(--ds-color-action-primary); background: color-mix(in srgb, var(--ds-color-action-primary) 6%, transparent); }\n.ds-card-body { min-height: 0; }\n.ds-card-body > .ds-panel { flex: none; }\n.ds-tabs { display: flex; flex-direction: column; gap: var(--ds-space-sm); height: 100%; }\n.ds-tabs-bar { display: flex; gap: 2px; border-bottom: 1px solid var(--ds-color-border-default); }\n.ds-tabs-bar button { border: 0; background: none; padding: 8px 12px; font: inherit; font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }\n.ds-tabs-bar button[aria-selected=\"true\"] { color: var(--ds-color-action-primary); border-bottom-color: var(--ds-color-action-primary); font-weight: 600; }\n.ds-tabs-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--ds-space-sm); overflow: auto; }\n.ds-repeater { height: 100%; overflow: auto; }\n.ds-repeater-item { display: flex; flex-direction: column; gap: 8px; }\n.ds-repeater-item > .ds-panel { height: auto; }\n";
1678
+ declare const RENDERER_CSS = "\n.ds-root { box-sizing: border-box; font-size: var(--ds-type-body-size); line-height: var(--ds-type-body-line-height); }\n.ds-root *, .ds-root *::before, .ds-root *::after { box-sizing: inherit; }\n.ds-header { display: flex; align-items: baseline; gap: var(--ds-space-md); flex-wrap: wrap; margin-bottom: var(--ds-space-md); }\n.ds-title { margin: 0; font-family: var(--ds-type-title-family); font-size: var(--ds-type-title-size); font-weight: var(--ds-type-title-weight); line-height: var(--ds-type-title-line-height); }\n.ds-desc { color: var(--ds-color-text-subtle); margin: 0; }\n.ds-synced { margin-left: auto; color: var(--ds-color-text-subtle); font-size: var(--ds-type-caption-size); }\n\n.ds-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--ds-space-sm) var(--ds-space-md); margin-bottom: var(--ds-space-lg); }\n.ds-field { display: grid; gap: var(--ds-space-xxs); min-width: 140px; }\n.ds-field > span { font-size: var(--ds-type-label-size); font-weight: var(--ds-type-label-weight); letter-spacing: var(--ds-type-label-letter-spacing); color: var(--ds-color-text-subtle); }\n.ds-input, .ds-select, .ds-btn {\n font: inherit; color: var(--ds-color-text-primary); background: var(--ds-color-surface-card);\n border: 1px solid var(--ds-color-border-control); border-radius: var(--ds-radius-control);\n padding: var(--ds-space-xs) var(--ds-space-sm); min-height: calc(var(--ds-control-height, 36px) - 2px);\n}\n.ds-input:focus-visible, .ds-select:focus-visible, .ds-btn:focus-visible, .ds-chip:focus-visible, .ds-panel:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: 1px; }\n.ds-btn { cursor: pointer; }\n.ds-btn-primary { background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); border-color: transparent; }\n.ds-btn-primary:hover { background: var(--ds-color-action-primary-hover); }\n.ds-inline { display: flex; gap: var(--ds-space-xs); align-items: center; }\n.ds-chips { display: flex; gap: var(--ds-space-xs); flex-wrap: wrap; }\n.ds-chip {\n font: inherit; font-size: var(--ds-type-label-size); cursor: pointer; border-radius: var(--ds-radius-full);\n padding: var(--ds-space-xxs) var(--ds-space-sm); border: 1px solid var(--ds-color-border-default);\n background: var(--ds-color-surface-card); color: var(--ds-color-text-secondary);\n}\n.ds-chip[aria-pressed=\"true\"] { background: var(--ds-color-surface-selection); border-color: var(--ds-color-border-focus); color: var(--ds-color-text-primary); }\n.ds-chip-count { margin-left: var(--ds-space-xxs); color: var(--ds-color-text-subtle); }\n\n.ds-panel {\n height: 100%; display: flex; flex-direction: column; overflow: hidden;\n background: var(--ds-color-surface-card); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-raised);\n padding: var(--ds-space-md) var(--ds-space-lg);\n}\n.ds-panel[data-tone=\"plain\"] { background: transparent; box-shadow: none; padding: 0; overflow: visible; }\n/* A plain panel has no card of its own, so it doesn't clip: borders, rounded ends and dots at its edge stay whole. */\n.ds-panel[data-tone=\"plain\"] > .ds-panel-body { overflow: visible; }\n.ds-panel[data-tone=\"subtle\"] { background: var(--ds-color-surface-sunken); box-shadow: none; }\n.ds-panel[data-selected=\"true\"] { outline: 2px solid var(--ds-color-border-focus); }\n.ds-panel-head { display: flex; align-items: center; gap: var(--ds-space-sm); min-height: 24px; margin-bottom: var(--ds-space-sm); }\n.ds-panel-title { margin: 0; font-family: var(--ds-type-heading-family); font-size: var(--ds-type-heading-size); font-weight: var(--ds-type-heading-weight); line-height: var(--ds-type-heading-line-height); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.ds-panel-sub { color: var(--ds-color-text-subtle); font-size: var(--ds-type-caption-size); }\n.ds-panel-tools { margin-left: auto; display: flex; gap: var(--ds-space-xs); align-items: center; }\n.ds-panel-body { flex: 1; min-height: 0; position: relative; }\n.ds-badge { font-size: var(--ds-type-caption-size); border-radius: var(--ds-radius-full); padding: 0 var(--ds-space-xs); }\n.ds-badge-stale { background: var(--ds-color-status-warn-bg); color: var(--ds-color-status-warn-fg); }\n.ds-crumbs { display: flex; gap: var(--ds-space-xxs); font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); }\n.ds-crumbs button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ds-color-action-primary); }\n.ds-state { height: 100%; display: grid; place-items: center; text-align: center; color: var(--ds-color-text-subtle); padding: var(--ds-space-sm); }\n.ds-state-error { color: var(--ds-color-status-bad-fg); }\n.ds-skeleton { height: 100%; border-radius: var(--ds-radius-control); background: linear-gradient(90deg, var(--ds-color-surface-sunken) 25%, var(--ds-color-surface-page) 50%, var(--ds-color-surface-sunken) 75%); background-size: 200% 100%; animation: ds-shimmer 1.4s infinite linear; opacity: .6; }\n.ds-loading { display: block; position: relative; height: 100%; }\n.ds-loading-text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--ds-space-sm); color: var(--ds-color-text-secondary); font-size: var(--ds-type-label-size); }\n@keyframes ds-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }\n@media (prefers-reduced-motion: reduce) { .ds-skeleton { animation: none; } .ds-root .react-grid-item { transition: none !important; } }\n\n.ds-scrim { position: fixed; inset: 0; background: var(--ds-color-surface-scrim); z-index: var(--ds-z-overlay); display: flex; align-items: center; justify-content: center; padding: var(--ds-space-xl); }\n.ds-scrim[data-presentation=\"drawer\"] { justify-content: flex-end; padding: 0; }\n.ds-dialog { position: static; margin: 0; border: 0; inset: auto; background: var(--ds-color-surface-page); color: var(--ds-color-text-primary); border-radius: var(--ds-radius-sheet); box-shadow: var(--ds-shadow-overlay); width: min(100%, var(--ds-dialog-w)); max-height: 100%; overflow: auto; padding: var(--ds-space-lg); }\n.ds-scrim[data-presentation=\"drawer\"] .ds-dialog { height: 100%; border-radius: 0; }\n.ds-dialog-head { display: flex; align-items: center; gap: var(--ds-space-md); margin-bottom: var(--ds-space-md); }\n.ds-dialog-head h2 { margin: 0; font-family: var(--ds-type-title-family); font-size: var(--ds-type-title-size); font-weight: var(--ds-type-title-weight); }\n.ds-close { margin-left: auto; font-size: 20px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ds-color-text-secondary); }\n\n.ds-invalid { border: 1px solid var(--ds-color-status-bad-border); background: var(--ds-color-status-bad-bg); color: var(--ds-color-status-bad-fg); border-radius: var(--ds-radius-card); padding: var(--ds-space-lg); }\n.ds-invalid ul { margin: var(--ds-space-sm) 0 0; padding-left: var(--ds-space-lg); }\n.ds-invalid code { font-size: 12px; }\n\n.ds-root .react-grid-layout { position: relative; }\n.ds-root .react-grid-item { transition: transform 200ms ease; }\n.ds-root .react-grid-item.react-grid-placeholder { background: var(--ds-color-surface-selection); border-radius: var(--ds-radius-card); opacity: .6; }\n.ds-root .react-grid-item > .react-resizable-handle { display: none; }\n.ds-grid-edit .react-grid-item > .react-resizable-handle { display: block; position: absolute; width: 14px; height: 14px; right: 2px; bottom: 2px; cursor: se-resize; }\n.ds-grid-edit .react-grid-item > .react-resizable-handle::after { content: \"\"; position: absolute; right: 3px; bottom: 3px; width: 6px; height: 6px; border-right: 2px solid var(--ds-color-border-control); border-bottom: 2px solid var(--ds-color-border-control); }\n\n/* widgets */\n.ds-plain, .ds-kpi, .ds-tile, .ds-status, .ds-card, .ds-meters button, .ds-legend button, .ds-stages button, .ds-marker, .ds-table th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: inherit; cursor: pointer; }\n.ds-kpi { display: flex; flex-direction: column; gap: var(--ds-space-xxs); width: 100%; height: 100%; justify-content: center; }\n.ds-kpi-value { font-family: var(--ds-type-kpi-family); font-size: var(--ds-type-kpi-size); font-weight: var(--ds-type-kpi-weight); line-height: var(--ds-type-kpi-line-height); font-variant-numeric: tabular-nums; }\n.ds-kpi-unit { font-size: .5em; margin-left: .25em; color: var(--ds-color-text-subtle); font-weight: 500; }\n.ds-kpi-delta { font-size: var(--ds-type-label-size); font-weight: 600; }\n.ds-kpi-sub { color: var(--ds-color-text-subtle); font-size: var(--ds-type-caption-size); font-weight: 400; }\n.ds-progress { display: block; height: 6px; border-radius: var(--ds-radius-full); background: var(--ds-color-surface-sunken); overflow: hidden; }\n.ds-progress > span { display: block; height: 100%; border-radius: inherit; }\n.ds-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: var(--ds-space-xs); flex: none; }\n.ds-pill { display: inline-flex; align-items: center; border: 1px solid; border-radius: var(--ds-radius-full); padding: 0 var(--ds-space-sm); font-size: var(--ds-type-label-size); font-weight: 600; line-height: 22px; white-space: nowrap; }\n.ds-tiles { display: grid; gap: var(--ds-space-sm); height: 100%; align-content: start; }\n.ds-tile { display: grid; gap: var(--ds-space-xxs); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); padding: var(--ds-space-sm) var(--ds-space-md); background: var(--ds-color-surface-card); }\n.ds-tile[data-active] { box-shadow: inset 0 0 0 1px currentColor; }\n.ds-tile-label { display: flex; align-items: center; font-size: var(--ds-type-label-size); color: var(--ds-color-text-secondary); text-transform: capitalize; }\n.ds-tile-value { font-family: var(--ds-type-kpi-family); font-size: calc(var(--ds-type-kpi-size) * .8); font-weight: var(--ds-type-kpi-weight); font-variant-numeric: tabular-nums; }\n.ds-status { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ds-space-xs); }\n.ds-status-label { color: var(--ds-color-text-secondary); }\n.ds-content { overflow: auto; height: 100%; }\n.ds-md-p { margin: 0 0 var(--ds-space-sm); }\n.ds-md-h { margin: 0 0 var(--ds-space-xs); font-family: var(--ds-type-heading-family); }\n.ds-md-list { margin: 0 0 var(--ds-space-sm); padding-left: var(--ds-space-lg); }\n.ds-link { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ds-color-action-primary); text-decoration: underline; text-underline-offset: 2px; }\n.ds-meters { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ds-space-sm); overflow: auto; max-height: 100%; }\n.ds-meters button { display: grid; gap: var(--ds-space-xxs); width: 100%; }\n.ds-meter-head { display: flex; justify-content: space-between; gap: var(--ds-space-sm); }\n.ds-meter-value { font-variant-numeric: tabular-nums; font-weight: 600; }\n.ds-legend { list-style: none; margin: var(--ds-space-sm) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--ds-space-xs) var(--ds-space-md); font-size: var(--ds-type-label-size); }\n.ds-legend li, .ds-legend button { display: inline-flex; align-items: center; gap: var(--ds-space-xxs); }\n.ds-legend .ds-dot { flex-shrink: 0; width: 8px; height: 8px; }\n.ds-segbar { display: flex; width: 100%; height: 14px; border-radius: var(--ds-radius-full); overflow: hidden; gap: 2px; }\n.ds-segbar button { border: 0; padding: 0; cursor: pointer; min-width: 2px; }\n.ds-donut { display: flex; gap: var(--ds-space-md); align-items: center; height: 100%; }\n.ds-donut svg { height: 100%; max-height: 220px; aspect-ratio: 1; }\n.ds-donut .ds-legend { flex-direction: column; margin: 0; }\n.ds-cards { display: grid; gap: var(--ds-space-sm); overflow: auto; max-height: 100%; }\n.ds-card { display: grid; gap: var(--ds-space-sm); border: 1px solid var(--ds-color-border-default); border-top-width: 3px; border-radius: var(--ds-radius-control); padding: var(--ds-space-sm) var(--ds-space-md); background: var(--ds-color-surface-card); }\n.ds-card[data-active] { box-shadow: 0 0 0 2px var(--ds-color-border-focus); }\n.ds-card-head { display: flex; align-items: center; gap: var(--ds-space-xs); justify-content: space-between; }\n.ds-card-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ds-space-xxs) var(--ds-space-sm); margin: 0; }\n.ds-card-fields dt { font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); }\n.ds-card-fields dd { margin: 0; font-variant-numeric: tabular-nums; }\n.ds-timeline { display: grid; gap: var(--ds-space-xs); }\n.ds-timeline-lane { display: flex; align-items: center; gap: var(--ds-space-sm); }\n.ds-timeline-name { width: 80px; font-size: var(--ds-type-label-size); color: var(--ds-color-text-secondary); flex: none; }\n.ds-timeline-bar { position: relative; flex: 1; height: 24px; background: var(--ds-color-surface-sunken); border-radius: var(--ds-radius-control); overflow: hidden; }\n.ds-timeline-bar span { position: absolute; top: 0; bottom: 0; cursor: pointer; }\n.ds-timeline-axis { display: flex; justify-content: space-between; font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); }\n.ds-imagemap { position: relative; height: 100%; }\n.ds-imagemap img { width: 100%; height: 100%; object-fit: contain; }\n.ds-marker { position: absolute; transform: translate(-50%, -50%); border: 1px solid; border-radius: var(--ds-radius-control); padding: 1px var(--ds-space-xs); font-size: var(--ds-type-caption-size); white-space: nowrap; }\n.ds-stages { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--ds-space-xs); align-items: center; height: 100%; }\n.ds-stages li { flex: 1; }\n.ds-stages button { display: flex; align-items: center; gap: var(--ds-space-xs); width: 100%; padding: var(--ds-space-xs); border-radius: var(--ds-radius-control); color: var(--ds-color-text-subtle); }\n.ds-stages li[data-state=\"current\"] button { background: var(--ds-color-surface-selection); color: var(--ds-color-text-primary); font-weight: 600; }\n.ds-stages li[data-state=\"done\"] button { color: var(--ds-color-text-secondary); }\n.ds-stage-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ds-color-border-control); font-size: 11px; flex: none; }\n.ds-stages li[data-state=\"done\"] .ds-stage-dot { background: var(--ds-color-status-good-solid); border-color: transparent; color: var(--ds-color-text-on-fill); }\n.ds-stages li[data-state=\"current\"] .ds-stage-dot { background: var(--ds-color-action-primary); border-color: transparent; color: var(--ds-color-action-on-primary); }\n.ds-table-wrap { height: 100%; display: flex; flex-direction: column; }\n.ds-table-scroll { overflow: auto; flex: 1; scrollbar-width: thin; }\n.ds-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }\n.ds-table th, .ds-table td { padding: var(--ds-space-xs) var(--ds-space-sm); border-bottom: 1px solid var(--ds-color-border-default); vertical-align: top; }\n.ds-table-wrap[data-density=\"compact\"] th, .ds-table-wrap[data-density=\"compact\"] td { padding: 2px var(--ds-space-xs); }\n.ds-table th { font-size: var(--ds-type-label-size); font-weight: var(--ds-type-label-weight); color: var(--ds-color-text-subtle); white-space: nowrap; background: var(--ds-color-surface-card); }\n.ds-table thead[data-sticky] th { position: sticky; top: 0; z-index: 1; }\n.ds-table tbody tr { cursor: pointer; }\n.ds-table tbody tr:hover, .ds-table tbody tr:focus-visible { background: var(--ds-color-surface-selection); outline: none; }\n.ds-table tfoot td { font-weight: 600; border-top: 2px solid var(--ds-color-border-default); }\n/* Rich cells (sub line, chips), expandable rows and their detail. */\n.ds-cell { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--ds-space-xxs); }\n.ds-table td[style*=\"right\"] .ds-cell { align-items: flex-end; }\n.ds-cell-sub { color: var(--ds-color-text-secondary); font-size: var(--ds-type-caption-size); font-weight: 600; }\n.ds-chips { display: inline-flex; flex-wrap: wrap; gap: var(--ds-space-xxs); }\n.ds-table tr[aria-expanded] { cursor: pointer; }\n.ds-table tr[data-expanded] > td, .ds-row-detail > td { background: var(--ds-color-surface-sunken); }\n.ds-row-detail > td { padding: var(--ds-space-md); }\n/* Tiles: muted (dashed, greyed) and highlighted (accent border). */\n.ds-tile[data-muted] { border-style: dashed; color: var(--ds-color-text-disabled); background: transparent; }\n.ds-tile[data-muted] .ds-tile-label, .ds-tile[data-muted] .ds-tile-value, .ds-tile[data-muted] .ds-tile-caption { color: var(--ds-color-text-disabled); }\n.ds-tile[data-highlight] { border-width: 2px; }\n.ds-tile[data-highlight=\"warn\"] { border-color: var(--ds-color-status-warn-border); }\n.ds-tile[data-highlight=\"bad\"] { border-color: var(--ds-color-status-bad-border); }\n.ds-tile[data-highlight=\"good\"] { border-color: var(--ds-color-status-good-border); }\n.ds-tile[data-highlight=\"info\"] { border-color: var(--ds-color-status-info-border); }\n.ds-tile[data-highlight=\"neutral\"] { border-color: var(--ds-color-status-neutral-border); }\n.ds-cell-list { display: grid; gap: 2px; }\n.ds-pager { display: flex; justify-content: flex-end; align-items: center; gap: var(--ds-space-sm); padding-top: var(--ds-space-xs); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); }\n\n/* ---- Card anatomy ---- */\n.ds-panel { padding: var(--ds-space-lg); border: 0; }\n.ds-panel-head { margin-bottom: var(--ds-space-md); min-height: 20px; flex-wrap: wrap; row-gap: 2px; }\n.ds-panel-subtitle { margin: 2px 0 0; font-family: var(--ds-type-caption-family); font-size: var(--ds-type-caption-size); line-height: var(--ds-type-caption-line-height); color: var(--ds-color-text-subtle); }\n.ds-panel-title { display: inline-flex; align-items: center; gap: var(--ds-space-xs); min-width: 0; max-width: 100%; }\n.ds-panel-meta { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); white-space: nowrap; }\n.ds-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); white-space: nowrap; }\n.ds-live > span { width: 7px; height: 7px; border-radius: 50%; background: var(--ds-color-status-good-fg); }\n.ds-live[data-stale] > span { background: var(--ds-color-status-warn-fg); }\n.ds-info { position: relative; display: inline-flex; color: var(--ds-color-text-disabled); cursor: help; outline: none; background: none; border: 0; padding: 0; font: inherit; }\n.ds-info:hover, .ds-info:focus-visible { color: var(--ds-color-text-subtle); }\n.ds-tip { position: fixed; z-index: var(--ds-z-tooltip); width: max-content; max-width: 320px; padding: var(--ds-space-sm) var(--ds-space-md); border-radius: var(--ds-radius-control); background: var(--ds-color-chart-tooltip-bg); color: var(--ds-color-chart-tooltip-text); font: 500 var(--ds-type-caption-size)/1.5 var(--ds-font-body); text-align: left; white-space: normal; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 140ms ease, transform 140ms ease; }\n.ds-tip[data-below] { transform: translateY(-4px); }\n.ds-tip[data-open] { opacity: 1; transform: none; }\n@media (prefers-reduced-motion: reduce) { .ds-tip { transition: none; } }\n.ds-tip::after { content: \"\"; position: absolute; left: var(--ds-tip-arrow); top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ds-color-chart-tooltip-bg); }\n.ds-tip[data-below]::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ds-color-chart-tooltip-bg); }\n\n.ds-chip { display: inline-flex; align-items: center; height: var(--ds-chip-height, 22px); padding: 0 var(--ds-chip-padding-x, 8px); border-radius: var(--ds-chip-radius, 6px); border-width: var(--ds-chip-border, 1px); font: var(--ds-chip-weight, 600) var(--ds-chip-font-size, 11px)/1 var(--ds-font-body); white-space: nowrap; background: var(--ds-color-status-neutral-bg); color: var(--ds-color-status-neutral-fg); }\n.ds-chip[data-tone=\"good\"] { background: var(--ds-color-status-good-bg); color: var(--ds-color-status-good-fg); }\n.ds-chip[data-tone=\"bad\"] { background: var(--ds-color-status-bad-bg); color: var(--ds-color-status-bad-fg); }\n.ds-chip[data-tone=\"warn\"] { background: var(--ds-color-status-warn-bg); color: var(--ds-color-status-warn-fg); }\n.ds-chip[data-tone=\"info\"] { background: var(--ds-color-status-info-bg); color: var(--ds-color-status-info-fg); }\n\n.ds-kpi { display: flex; flex-direction: column; gap: var(--ds-space-xs); height: 100%; justify-content: flex-start; }\n.ds-kpi-label { display: flex; align-items: center; gap: var(--ds-space-xs); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); }\n.ds-kpi-main { display: flex; align-items: baseline; gap: 8px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; margin-top: 2px; }\n.ds-kpi-value { font-family: var(--ds-type-kpi-family); font-size: var(--ds-type-kpi-size); font-weight: var(--ds-type-kpi-weight); line-height: var(--ds-type-kpi-line-height); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }\n.ds-kpi[data-size=\"hero\"] .ds-kpi-value { font-size: calc(var(--ds-type-kpi-size) * 1.45); }\n.ds-kpi-unit { font-size: var(--ds-type-caption-size); margin-left: 0; color: var(--ds-color-text-subtle); font-weight: 400; }\n.ds-kpi-empty { font-size: var(--ds-type-body-size); color: var(--ds-color-text-subtle); padding: 6px 0; }\n.ds-kpi-delta { font-size: var(--ds-type-label-size); font-weight: 600; }\n.ds-kpi-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-sm); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); min-height: 22px; }\n\n.ds-tiles { --ds-tiles-gap: var(--ds-space-md); gap: var(--ds-tiles-gap); grid-template-columns: repeat(auto-fit, minmax(max(var(--ds-tile-min, 128px), calc((100% - (var(--ds-tile-cols, 12) - 1) * var(--ds-tiles-gap)) / var(--ds-tile-cols, 12))), 1fr)); }\n.ds-tiles[data-stretch=\"off\"] { grid-template-columns: repeat(auto-fill, minmax(max(var(--ds-tile-min, 128px), calc((100% - (var(--ds-tile-cols, 12) - 1) * var(--ds-tiles-gap)) / var(--ds-tile-cols, 12))), 1fr)); }\n.ds-tiles { overflow-y: auto; scrollbar-width: thin; grid-auto-rows: max-content; padding: 5px; margin: -5px; }\n.ds-tiles > .ds-tile { min-height: max-content; }\n.ds-flow .ds-tiles { height: auto; overflow-y: visible; }\n/* Grid items with fit: the panel takes its natural height (at least the cell's), so the grid can measure it. */\n[data-fit] > .ds-fit { height: 100%; }\n.ds-grid-exact > .react-grid-item { padding-bottom: var(--ds-grid-gap); }\n.ds-fit > .ds-panel { height: auto !important; min-height: 100% !important; }\n/* While measuring, the panel takes only its content's height (no stretching), then goes back. */\n.ds-fit[data-measuring] > .ds-panel { min-height: 0 !important; }\n.ds-fit[data-measuring] .ds-panel-body, .ds-fit[data-measuring] .ds-panel-body > * { flex: none !important; height: auto !important; }\n/* The body still fills a taller card, so footers (a KPI's target chip) stay at the bottom. */\n[data-fit] .ds-panel-body { flex: 1 0 auto; display: flex; flex-direction: column; }\n[data-fit] .ds-panel-body > * { flex: 1 0 auto; }\n[data-fit] .ds-tiles, [data-fit] .ds-table-wrap { height: auto; max-height: none; overflow-y: visible; }\n/* In a fit card the rows set the height, unless the table has its own maxHeight. */\n[data-fit] .ds-table-scroll { flex: none; }\n[data-fit] .ds-table-scroll:not([data-max]) { max-height: none !important; overflow-y: visible; }\n.ds-tiles[data-wrap=\"off\"] { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(var(--ds-tile-min, 128px), 1fr); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; }\n.ds-tiles[data-wrap=\"off\"] > * { scroll-snap-align: start; }\n.ds-tile { min-width: 0; overflow-wrap: anywhere; }\n.ds-tile { display: flex; flex-direction: column; gap: 6px; padding: var(--ds-space-md) var(--ds-space-md) var(--ds-space-md); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); text-align: left; min-height: 0; transition: border-color 120ms, background 120ms; }\n.ds-tile[data-clickable]:hover { border-color: var(--ds-color-action-primary); }\n.ds-tile[data-active] { border-color: var(--ds-color-action-primary); background: var(--ds-color-surface-selection); box-shadow: none; }\n.ds-tile-main { display: flex; align-items: baseline; gap: var(--ds-space-xs); flex-wrap: wrap; }\n.ds-tile[data-active] .ds-tile-label { color: var(--ds-color-text-primary); font-weight: 600; }\n.ds-tile-label { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); text-transform: none; gap: 2px; }\n.ds-tile-value { font-family: var(--ds-type-kpi-family); font-size: 24px; line-height: 30px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ds-color-text-primary); }\n.ds-tile-caption { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); margin-top: auto; }\n\n.ds-chart { display: flex; flex-direction: column; height: 100%; }\n.ds-chart-legend { list-style: none; margin: -38px 0 14px auto; padding: 0; display: flex; gap: var(--ds-space-lg); font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); position: relative; z-index: 1; max-width: 70%; flex-wrap: wrap; justify-content: flex-end; }\n.ds-panel-tools .ds-chart-legend { margin: 0; max-width: none; }\n.ds-chart-legend li { display: inline-flex; align-items: center; gap: 6px; }\n.ds-swatch { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }\n.ds-swatch-line { width: 16px; border-top: 2px dashed var(--ds-color-text-subtle); display: inline-block; }\n\n.ds-table th, .ds-table td { padding: 12px var(--ds-space-lg); border-bottom: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); }\n.ds-table th { background: var(--ds-color-surface-table-header); color: var(--ds-color-text-secondary); font-size: var(--ds-type-label-size); font-weight: 600; letter-spacing: 0; text-transform: none; border-bottom: 0; }\n.ds-table td { font-size: var(--ds-type-label-size); color: var(--ds-color-text-secondary); vertical-align: middle; }\n.ds-table tbody tr:hover, .ds-table tbody tr:focus-visible { background: var(--ds-color-surface-selection); }\n.ds-table tbody tr[data-muted] td { color: var(--ds-color-text-disabled); }\n.ds-cell-empty { color: var(--ds-color-text-disabled); }\n.ds-table th button { font-weight: 600; }\n\n.ds-header { margin-bottom: var(--ds-space-md); }\n.ds-filters { background: var(--ds-color-surface-card); border-radius: var(--ds-radius-card); padding: var(--ds-space-md) var(--ds-space-lg); align-items: center; gap: var(--ds-space-md); }\n.ds-filters .ds-field { min-width: 0; grid-auto-flow: column; align-items: center; gap: var(--ds-space-xs); }\n.ds-filters .ds-field > span { font-size: var(--ds-type-label-size); }\n.ds-filters .ds-select, .ds-filters .ds-input { color: var(--ds-color-action-primary); border-color: var(--ds-color-border-default); background: var(--ds-color-surface-card); min-height: calc(var(--ds-control-height, 36px) - 2px); }\n.ds-filters .ds-btn { border-color: transparent; background: var(--ds-color-surface-selection); color: var(--ds-color-action-primary); }\n.ds-filters-icon { display: inline-grid; place-items: center; width: calc(var(--ds-control-height, 36px) - 2px); height: calc(var(--ds-control-height, 36px) - 2px); border-radius: var(--ds-radius-control); border: 1px solid var(--ds-color-border-default); color: var(--ds-filter-icon-color, var(--ds-color-text-subtle)); }\n.ds-meters .ds-progress, .ds-card .ds-progress { height: 8px; }\n.ds-badge-stale { border-radius: 6px; padding: 2px 8px; }\n\n/* ---- Motion (all off with prefers-reduced-motion) ---- */\n@keyframes ds-rise { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }\n@keyframes ds-fade { from { opacity: 0; } to { opacity: 1; } }\n@keyframes ds-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n@keyframes ds-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ds-color-status-good-fg) 55%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }\n@keyframes ds-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }\n@keyframes ds-slide-in { from { transform: translateX(100%); } to { transform: none; } }\n@keyframes ds-row-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }\n\n.ds-panel { animation: ds-rise 520ms cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--ds-i, 0) * 45ms); transition: box-shadow 200ms ease, transform 200ms ease, outline-color 200ms ease; }\n.ds-panel-body > :not(.ds-skeleton):not(.ds-loading) { animation: ds-fade 360ms ease both; }\n.ds-filters, .ds-header { animation: ds-fade 400ms ease both; }\n.ds-tile { transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease; }\n.ds-tile[data-clickable]:hover { transform: translateY(-2px); box-shadow: 0 6px 16px color-mix(in srgb, var(--ds-color-action-primary) 10%, transparent); }\n.ds-tile:not([data-clickable]) { cursor: default; }\n.ds-tile:active { transform: translateY(0); }\n.ds-kpi-main { transition: opacity 160ms ease; }\n.ds-kpi-main[data-clickable]:hover .ds-kpi-value { color: var(--ds-color-action-primary); transition: color 160ms ease; }\n.ds-chip { animation: ds-fade 300ms ease both; transition: background 200ms ease, color 200ms ease; }\n.ds-progress > span { transform-origin: left; animation: ds-grow-x 800ms cubic-bezier(.2,.7,.2,1) both; transition: width 500ms cubic-bezier(.2,.7,.2,1); }\n.ds-segbar button { transform-origin: left; animation: ds-grow-x 700ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-timeline-bar span { transform-origin: left; animation: ds-grow-x 700ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-live > span { animation: ds-pulse 2s ease-out infinite; }\n.ds-table tbody tr { animation: ds-row-in 320ms ease both; transition: background 140ms ease; }\n.ds-table tbody tr:nth-child(1) { animation-delay: 20ms; } .ds-table tbody tr:nth-child(2) { animation-delay: 40ms; }\n.ds-table tbody tr:nth-child(3) { animation-delay: 60ms; } .ds-table tbody tr:nth-child(4) { animation-delay: 80ms; }\n.ds-table tbody tr:nth-child(5) { animation-delay: 100ms; } .ds-table tbody tr:nth-child(6) { animation-delay: 120ms; }\n.ds-table tbody tr:nth-child(7) { animation-delay: 140ms; } .ds-table tbody tr:nth-child(8) { animation-delay: 160ms; }\n.ds-table tbody tr:nth-child(9) { animation-delay: 180ms; } .ds-table tbody tr:nth-child(n+10) { animation-delay: 200ms; }\n.ds-stages li[data-state=\"current\"] .ds-stage-dot { animation: ds-pulse 2s ease-out infinite; }\n.ds-scrim { animation: ds-fade 200ms ease both; }\n.ds-dialog { animation: ds-pop 260ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-scrim[data-presentation=\"drawer\"] .ds-dialog { animation: ds-slide-in 300ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-select, .ds-input, .ds-btn, .ds-chip, .ds-link { transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease; }\n.ds-select:hover, .ds-input:hover { border-color: var(--ds-color-action-primary); }\n.ds-grid-edit .react-grid-item > .ds-panel { animation: none; }\n@media (prefers-reduced-motion: reduce) {\n .ds-root *, .ds-root *::before, .ds-root *::after { animation: none !important; transition: none !important; }\n}\n\n/* ---- Filter controls (pills with the value in blue, popovers) ---- */\n.ds-filters { gap: var(--ds-space-sm); padding: 12px var(--ds-space-lg); }\n.ds-dd { position: relative; display: inline-flex; }\n.ds-pill-btn { display: inline-flex; align-items: center; gap: 8px; height: var(--ds-control-height, 36px); padding: 0 12px; border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); color: var(--ds-color-text-primary); font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; white-space: nowrap; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }\n.ds-pill-btn:hover { border-color: var(--ds-color-action-primary); }\n.ds-pill-btn[aria-expanded=\"true\"] { border-color: var(--ds-color-action-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 14%, transparent); }\n.ds-pill-btn > svg:first-child { color: var(--ds-color-text-subtle); }\n.ds-pill-value { color: var(--ds-color-action-primary); font-weight: 500; }\n.ds-pill-value-only { color: var(--ds-control-value-color, var(--ds-color-action-primary)); font-weight: var(--ds-control-value-weight, 500); }\n.ds-pill-chev { color: var(--ds-color-text-subtle); margin-left: 2px; transition: transform 180ms ease; }\n.ds-pill-btn[aria-expanded=\"true\"] .ds-pill-chev { transform: rotate(180deg); color: var(--ds-color-action-primary); }\n\n.ds-pop { z-index: calc(var(--ds-z-overlay) + 10); max-width: min(92vw, 640px); background: var(--ds-color-surface-overlay); border: 1px solid color-mix(in srgb, var(--ds-color-border-default) 70%, transparent); border-radius: 12px; box-shadow: 0 14px 36px rgba(13,13,13,.16), 0 2px 6px rgba(13,13,13,.06); padding: 6px; animation: ds-pop-in 180ms cubic-bezier(.2,.7,.2,1) both; transform-origin: top left; }\n@keyframes ds-pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }\n.ds-menu { display: grid; gap: 2px; max-height: 300px; overflow: auto; outline: none; min-width: var(--ds-menu-min-width, 200px); }\n.ds-pop:has(> .ds-menu) { width: var(--ds-menu-width, auto); }\n.ds-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ds-color-text-primary); font: 400 var(--ds-control-font-size, 13px)/18px var(--ds-font-body); text-align: left; cursor: pointer; transition: background 120ms ease, color 120ms ease; }\n.ds-menu-item:hover, .ds-menu-item:focus-visible { background: color-mix(in srgb, var(--ds-color-action-primary) 8%, transparent); outline: none; }\n.ds-menu-item[aria-selected=\"true\"], .ds-menu-item[aria-pressed=\"true\"] { color: var(--ds-color-action-primary); font-weight: 600; background: var(--ds-color-surface-selection); }\n.ds-menu-label { flex: 1; }\n.ds-menu-count { color: var(--ds-color-text-subtle); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }\n.ds-menu-tick { color: var(--ds-color-action-primary); }\n.ds-menu-empty { padding: 10px; color: var(--ds-color-text-subtle); font-size: 12px; }\n.ds-check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ds-color-border-control); flex: none; display: grid; place-items: center; transition: background 120ms ease, border-color 120ms ease; }\n.ds-check[data-on] { background: var(--ds-color-action-primary); border-color: var(--ds-color-action-primary); }\n.ds-check[data-on]::after { content: \"\"; width: 8px; height: 4px; border: 2px solid var(--ds-color-action-on-primary); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }\n.ds-pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 6px 2px; margin-top: 4px; border-top: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); font-size: 12px; color: var(--ds-color-text-subtle); }\n\n.ds-pop-wide { min-width: 0; }\n.ds-range { display: flex; gap: 6px; }\n.ds-range-presets { display: grid; gap: 2px; align-content: start; min-width: 210px; padding-right: 6px; border-right: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); }\n.ds-cal { padding: 4px 6px; width: 280px; }\n.ds-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }\n.ds-cal-head strong { font: 600 13px/1 var(--ds-font-heading); }\n.ds-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }\n.ds-cal-wd { text-align: center; font-size: 11px; color: var(--ds-color-text-subtle); padding: 4px 0; }\n.ds-cal-day { height: 34px; border: 0; background: transparent; color: var(--ds-color-text-primary); font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; border-radius: 8px; transition: background 120ms ease, color 120ms ease; font-variant-numeric: tabular-nums; }\n.ds-cal-day:hover:not(:disabled) { background: color-mix(in srgb, var(--ds-color-action-primary) 10%, transparent); }\n.ds-cal-day:disabled { color: var(--ds-color-text-disabled); cursor: default; }\n.ds-cal-day[data-in] { background: var(--ds-color-surface-selection); border-radius: 0; }\n.ds-cal-day[data-start], .ds-cal-day[data-end] { background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); font-weight: 600; }\n.ds-cal-error { color: var(--ds-color-status-bad-fg); }\n.ds-apply { height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); font: 600 12px/1 var(--ds-font-body); cursor: pointer; transition: background 140ms ease, opacity 140ms ease; }\n.ds-apply:hover:not(:disabled) { background: var(--ds-color-action-primary-hover); }\n.ds-apply:disabled { opacity: .4; cursor: default; }\n\n.ds-stepper { display: inline-flex; align-items: stretch; gap: 0; }\n.ds-stepper .ds-pill-btn { border-radius: 0; border-left: 0; border-right: 0; }\n/* Between the arrows the select is one piece of the group: no border or ring of its own (square corners would\n draw a box inside the rounded group); keyboard focus gets an inset ring instead. */\n.ds-stepper .ds-pill-btn, .ds-stepper .ds-pill-btn:hover, .ds-stepper .ds-pill-btn[aria-expanded=\"true\"] { border-color: transparent; box-shadow: none; }\n.ds-stepper .ds-pill-btn:focus { outline: none; }\n.ds-stepper .ds-pill-btn:focus-visible, .ds-stepper .ds-step:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: -2px; }\n.ds-step { display: inline-grid; place-items: center; width: var(--ds-control-height, 36px); height: var(--ds-control-height, 36px); border: 1px solid transparent; background: var(--ds-color-surface-selection); color: var(--ds-color-action-primary); font-size: 16px; cursor: pointer; transition: background 140ms ease, opacity 140ms ease; }\n.ds-stepper > .ds-step:first-child { border-radius: var(--ds-radius-control) 0 0 var(--ds-radius-control); }\n.ds-stepper > .ds-step:last-child { border-radius: 0 var(--ds-radius-control) var(--ds-radius-control) 0; }\n.ds-step:hover:not(:disabled) { background: color-mix(in srgb, var(--ds-color-action-primary) 18%, var(--ds-color-surface-card)); }\n.ds-step:disabled { opacity: .4; cursor: default; }\n.ds-cal-head .ds-step { width: 30px; height: 30px; border-radius: 8px; background: transparent; }\n.ds-cal-head .ds-step:hover:not(:disabled) { background: var(--ds-color-surface-selection); }\n\n.ds-search { display: inline-flex; align-items: center; gap: 8px; height: var(--ds-control-height, 36px); padding: 0 12px; border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); color: var(--ds-color-text-subtle); transition: border-color 140ms ease, box-shadow 140ms ease; min-width: 200px; }\n.ds-search:focus-within { border-color: var(--ds-color-action-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 14%, transparent); }\n.ds-search input { border: 0; outline: none; background: transparent; font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); color: var(--ds-color-text-primary); width: 100%; }\n.ds-switch { display: inline-flex; align-items: center; gap: 8px; font-size: var(--ds-control-font-size, 13px); cursor: pointer; }\n.ds-switch input { position: absolute; opacity: 0; width: 0; height: 0; }\n.ds-switch span { width: 34px; height: 20px; border-radius: 999px; background: var(--ds-color-border-control); position: relative; transition: background 160ms ease; }\n.ds-switch span::after { content: \"\"; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform 180ms cubic-bezier(.2,.7,.2,1); }\n.ds-switch input:checked + span { background: var(--ds-color-action-primary); }\n.ds-switch input:checked + span::after { transform: translateX(14px); }\n.ds-switch input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 25%, transparent); }\n.ds-chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--ds-color-border-default); border-radius: 999px; background: var(--ds-color-surface-card); color: var(--ds-color-text-secondary); font: 400 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; transition: all 140ms ease; }\n.ds-chip-btn:hover { border-color: var(--ds-color-action-primary); }\n.ds-chip-btn[aria-pressed=\"true\"] { background: var(--ds-color-surface-selection); border-color: var(--ds-color-action-primary); color: var(--ds-color-action-primary); font-weight: 600; }\n.ds-panel-tools .ds-pill-btn { height: 30px; font-size: 12px; }\n\n/* ---- Builder editing: resize from every corner and edge; widgets are inert so a click selects ---- */\n.ds-grid-edit .react-grid-item > .react-resizable-handle { display: block; position: absolute; z-index: 3; opacity: 0; transition: opacity 140ms ease; }\n.ds-grid-edit .react-grid-item:hover > .react-resizable-handle, .ds-grid-edit .react-grid-item:has(.ds-panel[data-selected=\"true\"]) > .react-resizable-handle { opacity: 1; }\n.ds-grid-edit .react-grid-item > .react-resizable-handle::after { content: \"\"; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border: 2px solid var(--ds-color-action-primary); background: var(--ds-color-surface-card); border-radius: 3px; box-shadow: 0 1px 3px rgba(13,13,13,.2); transform: none; right: auto; bottom: auto; }\n.ds-grid-edit .react-resizable-handle-se, .ds-grid-edit .react-resizable-handle-sw, .ds-grid-edit .react-resizable-handle-ne, .ds-grid-edit .react-resizable-handle-nw { width: 18px; height: 18px; }\n.ds-grid-edit .react-resizable-handle-se { right: -7px; bottom: -7px; cursor: nwse-resize; }\n.ds-grid-edit .react-resizable-handle-nw { left: -7px; top: -7px; cursor: nwse-resize; }\n.ds-grid-edit .react-resizable-handle-ne { right: -7px; top: -7px; cursor: nesw-resize; }\n.ds-grid-edit .react-resizable-handle-sw { left: -7px; bottom: -7px; cursor: nesw-resize; }\n.ds-grid-edit .react-resizable-handle-e, .ds-grid-edit .react-resizable-handle-w { top: 50%; width: 14px; height: 28px; margin-top: -14px; cursor: ew-resize; }\n.ds-grid-edit .react-resizable-handle-e { right: -6px; } .ds-grid-edit .react-resizable-handle-w { left: -6px; }\n.ds-grid-edit .react-resizable-handle-n, .ds-grid-edit .react-resizable-handle-s { left: 50%; width: 28px; height: 14px; margin-left: -14px; cursor: ns-resize; }\n.ds-grid-edit .react-resizable-handle-n { top: -6px; } .ds-grid-edit .react-resizable-handle-s { bottom: -6px; }\n.ds-grid-edit .react-resizable-handle-e::after, .ds-grid-edit .react-resizable-handle-w::after { width: 6px; height: 20px; }\n.ds-grid-edit .react-resizable-handle-n::after, .ds-grid-edit .react-resizable-handle-s::after { width: 20px; height: 6px; }\n.ds-grid-edit .react-grid-item.resizing { z-index: 4; }\n.ds-grid-edit .ds-panel-body { user-select: none; }\n.ds-grid-edit .ds-panel [data-ds-part], .ds-grid-edit .ds-panel :is(.ds-panel-title, .ds-kpi-label, .ds-panel-meta, .ds-kpi-main, .ds-kpi-foot, .ds-kpi-sub, .ds-tile, .ds-meters > *, .ds-status, .ds-table-tools, .ds-pager) { cursor: pointer; border-radius: 6px; outline: 1.5px dashed transparent; outline-offset: 2px; transition: outline-color 120ms; }\n.ds-grid-edit .ds-panel[data-selected] :is([data-ds-part], .ds-panel-title, .ds-kpi-label, .ds-panel-meta, .ds-kpi-main, .ds-kpi-foot, .ds-kpi-sub, .ds-tile, .ds-meters > *, .ds-status, .ds-table-tools, .ds-pager):hover { outline-color: color-mix(in srgb, var(--ds-color-action-primary) 55%, transparent); }\n.ds-grid-edit .ds-part-selected, .ds-grid-edit .ds-panel .ds-part-selected { outline: 2px solid var(--ds-color-action-primary) !important; outline-offset: 2px; }\n.ds-grid-edit .ds-panel { user-select: none; }\n\n/* Narrow cards scale their type down instead of overflowing. */\n.ds-panel-body { container-type: inline-size; }\n@container (max-width: 190px) {\n .ds-kpi-value { font-size: calc(var(--ds-type-kpi-size) * .78); line-height: 1.15; }\n .ds-kpi-foot { flex-wrap: wrap; gap: 4px; }\n .ds-tile-value { font-size: 20px; line-height: 24px; }\n}\n@container (max-width: 140px) {\n .ds-kpi-value { font-size: calc(var(--ds-type-kpi-size) * .64); }\n .ds-kpi-unit { display: none; }\n}\n\n/* Dropdown variants */\n.ds-dd[data-block] { display: flex; width: 100%; }\n.ds-dd[data-block] .ds-pill-btn { width: 100%; justify-content: space-between; }\n.ds-dd[data-block] .ds-pill-btn > span { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; }\n.ds-dd[data-plain] .ds-pill-value { color: var(--ds-color-text-primary); font-weight: 400; }\n.ds-dd[data-size=\"sm\"] .ds-pill-btn { height: 30px; padding: 0 8px; font-size: 12px; gap: 4px; }\n\n/* Table tools, filters, pager */\n.ds-table-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }\n.ds-table-tools .ds-search { flex: 1; max-width: 320px; }\n.ds-table-count { margin-left: auto; font-size: 12px; color: var(--ds-color-text-subtle); }\n.ds-table-scroll { position: relative; }\n.ds-table-busy { position: sticky; top: 0; left: 0; height: 2px; margin-bottom: -2px; z-index: 3; overflow: hidden; background: color-mix(in srgb, var(--ds-color-action-primary) 15%, transparent); }\n.ds-table-busy::after { content: \"\"; position: absolute; inset: 0; width: 40%; background: var(--ds-color-action-primary); animation: ds-busy 1s ease-in-out infinite; }\n@keyframes ds-busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }\n.ds-table[aria-busy=\"true\"] tbody { opacity: .55; transition: opacity 160ms ease; }\n.ds-filter-row th { background: var(--ds-color-surface-card); padding: 6px 8px; border-bottom: 1px solid color-mix(in srgb, var(--ds-color-border-default) 60%, transparent); }\n.ds-cell-filter { width: 100%; height: 30px; padding: 0 8px; border: 1px solid var(--ds-color-border-default); border-radius: 6px; background: var(--ds-color-surface-card); font: 400 12px/1 var(--ds-font-body); color: var(--ds-color-text-primary); outline: none; transition: border-color 140ms ease, box-shadow 140ms ease; }\n.ds-cell-filter:focus { border-color: var(--ds-color-action-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-color-action-primary) 14%, transparent); }\n.ds-sort { display: inline-flex; flex-direction: column; gap: 1px; margin-left: 6px; vertical-align: middle; }\n.ds-sort::before, .ds-sort::after { content: \"\"; width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; opacity: .3; transition: opacity 140ms ease; }\n.ds-sort::before { border-bottom: 4px solid currentColor; }\n.ds-sort::after { border-top: 4px solid currentColor; }\n.ds-sort[data-dir=\"asc\"]::before, .ds-sort[data-dir=\"desc\"]::after { opacity: 1; border-bottom-color: var(--ds-color-action-primary); border-top-color: var(--ds-color-action-primary); }\n.ds-table th button:hover .ds-sort::before, .ds-table th button:hover .ds-sort::after { opacity: .7; }\n.ds-pager { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding-top: 10px; font-size: 12px; color: var(--ds-color-text-subtle); flex-wrap: wrap; }\n.ds-pager-size { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }\n.ds-pages { display: inline-flex; align-items: center; gap: 2px; }\n.ds-pages button { min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--ds-color-text-secondary); font: 500 12px/1 var(--ds-font-body); cursor: pointer; transition: background 140ms ease, color 140ms ease; }\n.ds-pages button:hover:not(:disabled) { background: var(--ds-color-surface-selection); }\n.ds-pages button[aria-current=\"page\"] { background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); }\n.ds-pages button:disabled { opacity: .35; cursor: default; }\n.ds-page-gap { padding: 0 4px; }\n\n/* Container: a flex layout of panels */\n.ds-container { height: 100%; min-height: 0; }\n.ds-container > .ds-panel { flex: var(--ds-child-flex, 1 1 160px); min-width: var(--ds-child-min, 0); height: auto; }\n.ds-container[data-direction=\"column\"] > .ds-panel { min-height: 0; }\n.ds-container-empty { display: grid; place-items: center; height: 100%; min-height: 80px; border: 1.5px dashed var(--ds-color-border-default); border-radius: var(--ds-radius-card); color: var(--ds-color-text-subtle); font-size: 12px; }\n.ds-panel:has(> .ds-panel-body > .ds-container) { overflow: visible; }\n.ds-grid-edit .ds-panel-body:has(> .ds-container) { pointer-events: auto; }\n.ds-grid-edit .ds-container > .ds-panel { cursor: pointer; }\n\n.ds-filters-spacer { flex: 1; }\n.ds-tour-btn { margin-left: auto; align-self: center; height: calc(var(--ds-control-height, 36px) - 6px); padding: 0 var(--ds-space-md); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-full); background: var(--ds-color-surface-card); color: var(--ds-color-action-primary); font: 600 var(--ds-type-label-size)/1 var(--ds-font-body); cursor: pointer; }\n.ds-synced + .ds-tour-btn { margin-left: 0; }\n.ds-tour-btn:focus-visible, .ds-tour button:focus-visible, .ds-tour:focus-visible, .ds-filters-toggle:focus-visible, .ds-filter-panel button:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: 1px; }\n.ds-root [data-tour-active] { outline: 3px solid var(--ds-color-border-focus); outline-offset: 3px; position: relative; z-index: var(--ds-z-raised); }\n.ds-tour { position: fixed; right: auto; bottom: auto; margin: 0; z-index: calc(var(--ds-z-overlay) + 5); width: min(92vw, 340px); background: var(--ds-color-surface-overlay); color: var(--ds-color-text-primary); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-overlay); padding: var(--ds-space-md); animation: ds-pop-in 180ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-tour-head { display: flex; align-items: baseline; gap: var(--ds-space-sm); }\n.ds-tour-title { margin: 0; font-family: var(--ds-type-heading-family); font-size: var(--ds-type-heading-size); font-weight: var(--ds-type-heading-weight); }\n.ds-tour-count { margin-left: auto; font-size: var(--ds-type-caption-size); color: var(--ds-color-text-subtle); font-variant-numeric: tabular-nums; }\n.ds-tour-text { margin: var(--ds-space-sm) 0 var(--ds-space-md); color: var(--ds-color-text-secondary); }\n.ds-tour-foot { display: flex; align-items: center; gap: var(--ds-space-xs); }\n.ds-tour-skip { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ds-color-text-subtle); text-decoration: underline; text-underline-offset: 2px; }\n.ds-filter-drawer { position: relative; display: flex; margin-bottom: var(--ds-space-lg); }\n.ds-filters-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--ds-space-xs); border-radius: var(--ds-radius-full); background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); font-size: var(--ds-type-caption-size); font-weight: 600; }\n.ds-filter-panel { position: absolute; top: calc(100% + var(--ds-space-xs)); left: 0; right: auto; margin: 0; color: var(--ds-color-text-primary); z-index: var(--ds-z-overlay); width: min(92vw, 420px); max-height: 70vh; overflow: auto; background: var(--ds-color-surface-overlay); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-overlay); padding: var(--ds-space-md); animation: ds-pop-in 180ms cubic-bezier(.2,.7,.2,1) both; }\n.ds-filter-panel:focus-visible { outline: 2px solid var(--ds-color-border-focus); }\n.ds-filter-panel-head { display: flex; align-items: center; margin-bottom: var(--ds-space-sm); font-weight: var(--ds-type-heading-weight); }\n.ds-filter-panel .ds-filters { flex-direction: column; align-items: stretch; margin: 0; padding: 0; background: transparent; box-shadow: none; animation: none; }\n.ds-filter-panel .ds-filters-spacer { display: none; }\n.ds-filter-apply, .ds-filter-reset { height: var(--ds-control-height, 36px); padding: 0 16px; border-radius: var(--ds-radius-control); font: 600 var(--ds-control-font-size, 13px)/1 var(--ds-font-body); cursor: pointer; transition: background 140ms ease, color 140ms ease, opacity 140ms ease, border-color 140ms ease; }\n.ds-filter-apply { border: 0; background: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); }\n.ds-filter-apply:hover:not(:disabled) { background: var(--ds-color-action-primary-hover); }\n.ds-filter-reset { border: 1px solid var(--ds-color-border-default); background: var(--ds-color-surface-card); color: var(--ds-color-text-secondary); }\n.ds-filter-reset:hover:not(:disabled) { border-color: var(--ds-color-action-primary); color: var(--ds-color-action-primary); }\n.ds-filter-apply:disabled, .ds-filter-reset:disabled { opacity: .4; cursor: default; }\n/* Flow layout (phones by default): panels wrap like a flex container and grow to fit their content */\n.ds-flow { display: flex; flex-wrap: wrap; align-items: stretch; }\n.ds-flow-item { display: flex; flex-direction: column; min-width: 0; animation: ds-rise 420ms cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--ds-i, 0) * 35ms); }\n.ds-flow-item > * { flex: 1 1 auto !important; min-height: 0; min-width: 0 !important; max-width: none !important; align-self: stretch !important; }\n/* Filter widget: one filter on the canvas */\n.ds-filter-widget { display: flex; align-items: center; min-height: 100%; }\n.ds-filter-widget[data-fill] > * { flex: 1; }\n.ds-filter-widget[data-fill] .ds-dd, .ds-filter-widget[data-fill] .ds-dd > button { width: 100%; }\n.ds-filter-missing { display: grid; place-items: center; height: 100%; min-height: 36px; border: 1.5px dashed var(--ds-color-border-control); border-radius: var(--ds-radius-control); color: var(--ds-color-text-subtle); font-size: var(--ds-type-label-size); }\n.ds-container .ds-filter-widget { min-height: 0; }\n.ds-filter-pick { border-radius: var(--ds-radius-control); cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 120ms; }\n.ds-filter-pick:hover { outline-color: color-mix(in srgb, var(--ds-color-action-primary) 45%, transparent); }\n.ds-filter-pick[data-selected] { outline-color: var(--ds-color-action-primary); }\n.ds-filter-pick * { pointer-events: none; }\n.ds-filters[data-look=\"plain\"] { background: transparent; padding-left: 0; padding-right: 0; box-shadow: none; }\n/* look \"segmented\": the icon and the filters share one sunken track; each filter is a borderless chip on the card\n colour, with no leading icon; the page stepper's arrows use the selection colour. */\n.ds-filters-track { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 2px; border-radius: var(--ds-radius-control); background: var(--ds-color-surface-sunken); }\n.ds-filters[data-look=\"segmented\"] .ds-filters-icon { border: 0; width: auto; padding: 0 var(--ds-space-sm); }\n.ds-filters-icon svg { width: var(--ds-filter-icon-size, 18px); height: var(--ds-filter-icon-size, 18px); }\n.ds-filters[data-look=\"segmented\"] .ds-pill-btn { border: 0; border-radius: calc(var(--ds-radius-control) / 2); background: var(--ds-color-surface-card); box-shadow: none; padding: 0 var(--ds-space-sm); font-family: var(--ds-font-heading); gap: var(--ds-space-xs); }\n.ds-filters[data-look=\"segmented\"] .ds-pill-btn > svg:first-child:not(:last-child) { display: none; }\n.ds-filters[data-look=\"segmented\"] .ds-stepper { gap: 2px; }\n.ds-filters[data-look=\"segmented\"] .ds-step { border: 0; border-radius: calc(var(--ds-radius-control) / 2); background: var(--ds-control-step-bg, var(--ds-color-surface-selection)); width: 32px; }\n.ds-filters[data-editable] { cursor: pointer; outline: 1.5px dashed transparent; outline-offset: 2px; transition: outline-color 120ms; }\n.ds-filters[data-editable]:hover { outline-color: color-mix(in srgb, var(--ds-color-action-primary) 45%, transparent); }\n.ds-filters[data-picked] { outline: 2px solid var(--ds-color-action-primary) !important; }\n/* Small elements in a widget's header, and drag and drop in the Builder */\n.ds-panel-addons { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }\n.ds-panel-addons > .ds-panel { padding: 0; background: none; box-shadow: none; border: 0; min-height: 0; height: auto; }\n.ds-panel-addons > .ds-panel > .ds-panel-head { display: none; }\n.ds-panel-addons .ds-panel-body { container-type: normal; flex: none; }\n.ds-panel-addons .ds-status { padding: 0; }\n.ds-panel[data-nested][draggable=\"true\"] { cursor: grab; }\n.ds-panel[data-drop-over] { outline: 2px dashed var(--ds-color-action-primary) !important; outline-offset: 3px; background-color: color-mix(in srgb, var(--ds-color-action-primary) 6%, var(--ds-color-surface-card)); }\n.ds-panel[data-tone=\"plain\"] { min-height: 0; }\n/* Atoms: the pieces of a hand-built card */\n.ds-atom-text { display: block; line-height: 1.35; font-size: var(--ds-type-body-size); }\n.ds-atom-text[data-size=\"xs\"] { font-size: 11px; } .ds-atom-text[data-size=\"sm\"] { font-size: var(--ds-type-label-size); }\n.ds-atom-text[data-size=\"lg\"] { font-size: 18px; font-family: var(--ds-font-heading); } .ds-atom-text[data-size=\"xl\"] { font-size: 24px; font-family: var(--ds-font-heading); }\n.ds-atom-text[data-weight=\"medium\"] { font-weight: 500; } .ds-atom-text[data-weight=\"bold\"] { font-weight: 700; }\n.ds-atom-value { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--ds-font-heading); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ds-color-text-primary); }\n.ds-atom-value small { font-family: var(--ds-font-body); font-size: var(--ds-type-label-size); font-weight: 400; color: var(--ds-color-text-subtle); }\n.ds-atom-value[data-size=\"xs\"] { font-size: 14px; } .ds-atom-value[data-size=\"sm\"] { font-size: 18px; } .ds-atom-value[data-size=\"md\"] { font-size: 24px; } .ds-atom-value[data-size=\"lg\"] { font-size: 30px; } .ds-atom-value[data-size=\"xl\"] { font-size: 40px; }\n.ds-atom-progress { display: flex; align-items: center; gap: 8px; }\n.ds-atom-progress > span { flex: 1; border-radius: 999px; background: var(--ds-color-surface-sunken); overflow: hidden; }\n.ds-atom-progress > span > span { display: block; height: 100%; border-radius: inherit; transition: width 600ms cubic-bezier(.2,.7,.2,1); }\n.ds-atom-progress small { font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); font-variant-numeric: tabular-nums; }\n.ds-atom-icon { display: inline-grid; place-items: center; border-radius: 999px; }\n.ds-atom-divider { border: 0; border-top: 1px solid var(--ds-color-border-default); margin: 4px 0; width: 100%; }\n.ds-atom-divider[data-dashed] { border-top-style: dashed; }\n.ds-atom-divider[data-dir=\"vertical\"] { border-top: 0; border-left: 1px solid var(--ds-color-border-default); width: 0; height: 100%; margin: 0 4px; }\n.ds-container > .ds-panel[data-tone=\"plain\"] { padding: 0; }\n/* Card-less pieces (atoms, badges, filters) size to their content */\n.ds-panel[data-tone=\"plain\"] > .ds-panel-body { container-type: normal; }\n/* Slots: nodes inside nodes */\n.ds-slot { min-width: 0; }\n.ds-pager[data-layout=\"simple\"] { display: flex; align-items: center; justify-content: flex-end; gap: var(--ds-space-sm); flex-wrap: wrap; color: var(--ds-color-text-subtle); font-size: var(--ds-type-label-size); }\n.ds-pager[data-layout=\"simple\"] .ds-pager-range { margin-right: var(--ds-space-xs); }\n.ds-slot[data-slot=\"toolbar\"] { display: flex; flex-wrap: wrap; gap: var(--ds-space-sm); align-items: center; margin-bottom: var(--ds-space-sm); }\n.ds-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-space-xs); height: var(--ds-control-height, 36px); padding: 0 var(--ds-space-md); border: 1px solid var(--ds-color-border-default); border-radius: var(--ds-radius-control); background: var(--ds-color-surface-card); color: var(--ds-color-text-primary); font: 500 var(--ds-type-label-size)/1 var(--ds-font-body); cursor: pointer; white-space: nowrap; transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease; }\n.ds-button[data-size=\"sm\"] { height: calc(var(--ds-control-height, 36px) - 8px); padding: 0 var(--ds-space-sm); }\n.ds-button[data-icon-only] { padding: 0; width: var(--ds-control-height, 36px); }\n.ds-button[data-icon-only][data-size=\"sm\"] { width: calc(var(--ds-control-height, 36px) - 8px); }\n.ds-button[data-variant=\"primary\"] { background: var(--ds-color-action-primary); border-color: var(--ds-color-action-primary); color: var(--ds-color-action-on-primary); }\n.ds-button[data-variant=\"subtle\"] { background: var(--ds-color-surface-selection); border-color: transparent; color: var(--ds-color-action-primary); }\n.ds-button[data-variant=\"link\"] { background: none; border-color: transparent; color: var(--ds-color-action-primary); padding: 0; height: auto; }\n.ds-button:hover:not(:disabled) { border-color: var(--ds-color-action-primary); }\n.ds-button[data-variant=\"link\"]:hover:not(:disabled) { text-decoration: underline; border-color: transparent; background: none; }\n.ds-button:disabled { opacity: .4; cursor: default; }\n.ds-root :is(button, [role=\"button\"], a, [tabindex]):focus:not(:focus-visible) { outline: none; }\n.ds-button:focus-visible { outline: 2px solid var(--ds-color-border-focus); outline-offset: 1px; }\n.ds-slot[data-slot=\"footer\"] { margin-top: var(--ds-space-sm); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }\n.ds-slot[data-empty] { display: grid; place-items: center; min-height: 44px; border: 1.5px dashed var(--ds-color-border-control); border-radius: var(--ds-radius-control); color: var(--ds-color-text-subtle); font-size: var(--ds-type-label-size); padding: 8px; }\n.ds-slot-hint { pointer-events: none; }\n.ds-panel[data-drop-over] [data-slot][data-empty] { border-color: var(--ds-color-action-primary); color: var(--ds-color-action-primary); background: color-mix(in srgb, var(--ds-color-action-primary) 6%, transparent); }\n.ds-card-body { min-height: 0; }\n.ds-card-body > .ds-panel { flex: none; }\n.ds-tabs { display: flex; flex-direction: column; gap: var(--ds-space-sm); height: 100%; }\n.ds-tabs-bar { display: flex; gap: 2px; border-bottom: 1px solid var(--ds-color-border-default); }\n.ds-tabs-bar button { border: 0; background: none; padding: 8px 12px; font: inherit; font-size: var(--ds-type-label-size); color: var(--ds-color-text-subtle); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }\n.ds-tabs-bar button[aria-selected=\"true\"] { color: var(--ds-color-action-primary); border-bottom-color: var(--ds-color-action-primary); font-weight: 600; }\n.ds-tabs-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--ds-space-sm); overflow: auto; }\n.ds-repeater { height: 100%; overflow: auto; }\n.ds-repeater-item { display: flex; flex-direction: column; gap: 8px; }\n.ds-repeater-item > .ds-panel { height: auto; }\n/* FlowMap: a process flow; every colour from the theme, so it works in light and dark */\n.ds-flow { display: block; min-width: 0; }\n.ds-flow-scroll { flex: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }\n.ds-flow-svg { display: block; width: 100%; height: auto; margin: 0 auto; }\n.ds-flow-track { fill: none; stroke: var(--ds-flow-track, var(--ds-color-border-default)); stroke-width: var(--ds-flow-track-width, 6); stroke-linecap: round; stroke-linejoin: round; }\n.ds-flow-track[data-dashed] { stroke-linecap: butt; stroke-dasharray: 5 2.5; }\n.ds-flow-chevron { fill: none; stroke: var(--ds-color-text-subtle); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }\n.ds-flow-tag rect { fill: var(--ds-color-status-info-bg); }\n.ds-flow-tag text { font-family: var(--ds-font-heading); font-size: 11px; font-weight: 500; fill: var(--ds-color-status-info-fg); }\n.ds-flow-tag[data-dim] rect { fill: var(--ds-color-surface-table-header); }\n.ds-flow-tag[data-dim] text { fill: var(--ds-color-text-subtle); }\n.ds-flow-step { cursor: pointer; outline: none; }\n.ds-flow-step[data-untracked] { cursor: default; }\n.ds-flow-step:focus-visible .ds-flow-hit { stroke: var(--ds-color-border-focus); stroke-width: 2; }\n.ds-flow-hit { fill: transparent; pointer-events: all; }\n.ds-flow-label { font-family: var(--ds-font-heading); font-size: 14px; font-weight: 700; fill: var(--ds-color-text-primary); paint-order: stroke; stroke: var(--ds-color-surface-card); stroke-width: 6px; stroke-linejoin: round; }\n.ds-flow-label[data-selected] { font-size: 16px; }\n.ds-flow-step[data-untracked] .ds-flow-label { fill: var(--ds-color-text-disabled); }\n.ds-flow-untracked { fill: var(--ds-color-surface-card); stroke: var(--ds-color-text-disabled); stroke-width: 2; stroke-dasharray: 3 2; }\n.ds-flow-shape { stroke: var(--ds-color-surface-card); stroke-width: 3; paint-order: stroke; }\n.ds-flow-step[data-dim] .ds-flow-shape { fill: var(--ds-color-text-subtle); }\n.ds-flow-step[data-dim] image { filter: grayscale(1); }\n.ds-flow-halo { animation: ds-flow-pulse 1.2s ease-in-out infinite; }\n@keyframes ds-flow-pulse { 50% { opacity: .7; } }\n@media (prefers-reduced-motion: reduce) { .ds-flow-halo { animation: none; } }\n.ds-flow-chip rect { fill: var(--ds-color-surface-table-header); }\n.ds-flow-chip text { font-family: var(--ds-font-body); fill: var(--ds-color-text-primary); }\n.ds-flow-chip-value { font-size: 14px; font-weight: 700; }\n.ds-flow-chip-unit { font-size: 12px; font-weight: 400; fill: var(--ds-color-text-subtle); }\n.ds-flow-chip[data-tone=\"good\"] rect { fill: var(--ds-color-status-good-bg); }\n.ds-flow-chip[data-tone=\"good\"] text, .ds-flow-chip[data-tone=\"good\"] .ds-flow-chip-unit { fill: var(--ds-color-status-good-fg); }\n.ds-flow-chip[data-tone=\"dim\"] text, .ds-flow-chip[data-tone=\"dim\"] .ds-flow-chip-unit { fill: var(--ds-color-text-subtle); }\n.ds-flow-chip[data-tone=\"selected\"] rect { fill: var(--ds-color-surface-selection); }\n.ds-flow-chip[data-tone=\"selected\"] text, .ds-flow-chip[data-tone=\"selected\"] .ds-flow-chip-unit { fill: var(--ds-color-action-primary); }\n.ds-flow-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--ds-font-body); font-size: 12px; color: var(--ds-color-text-primary); }\n.ds-flow-legend li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }\n.ds-panel-tools .ds-flow-legend { flex: none; }\n.ds-flow-hover { position: fixed; z-index: var(--ds-z-tooltip); min-width: 220px; max-width: 320px; padding: 12px; border-radius: 12px; background: var(--ds-color-chart-tooltip-bg); color: var(--ds-color-chart-tooltip-text); box-shadow: var(--ds-shadow-overlay); backdrop-filter: blur(16px); }\n.ds-flow-hover > * { margin: 0; }\n";
1650
1679
 
1651
1680
  /** Every built-in widget: data widgets, layout nodes, the canvas Filter and the atoms. */
1652
1681
  declare const builtInWidgets: WidgetDefinition[];
@@ -1690,4 +1719,4 @@ declare function lazyWidget<S extends z.ZodTypeAny>(def: Omit<WidgetDefinition<S
1690
1719
  fallback?: ReactNode;
1691
1720
  }): WidgetDefinition<S>;
1692
1721
 
1693
- export { AnyWidgetDefinition, BAR, BAR_ICONS, type Breakpoint, CallbackApi, type ColorTokens, ControlField, type CssDeclarations, type CssRules, DS_CLASSES, type DashEvent, DashSpecProvider, type DashSpecSettings, Dashboard, DashboardContext, type DashboardHandle, DashboardRenderer, type DashboardRendererProps, type DashboardRuntime, type DatasourceType, DateControl, DateRangeControl, type DeepPartial, type DesignSystem, type DsClass, type DsSelector, FilterBar, Grid, type GridChangeItem, type HostHooks, HttpClient, JsonValue, type LayoutSpec, ModalHost, MultiSelectControl, NetworkOptions, type NodeScope, type Option, PanelFrame, type PartTokens, RENDERER_CSS, ResolvedRequest, type RuntimeOptions, type ScaleTokens, Scope, ScriptMode, ScriptRunner, SelectControl, Slot, SlotDefinition, type SourceState, type StatusColors, type StatusTone, type TextPart, type Theme, ThemeContext, type ThemeInput, type ThemeMode, ThemeScope, type ThemeScopeProps, TimeSettings, type Tree, type TypeRole, type UIChipsProps, type UIComponents, type UICustomFilterProps, type UIDateProps, type UIDateRangeProps, type UIFilterBarProps, type UIFilterDef, type UIMultiSelectProps, type UISearchProps, type UISelectProps, type UIStateProps, type UIToggleProps, WidgetDefinition, WidgetMeta, WidgetProps, type WidgetRegistry, type WidgetTheme, type WrapOptions, builtInWidgets, checkWidget, combineDesignSystems, createDashboardRuntime, createTheme, createWidgetRegistry, cssRulesToString, defaultTheme, defineDesignSystem, defineWidget, echartsTheme, layoutsForView, lazyWidget, mergeDeep, panelRows, partsCss, presetRange, resolveMode, themeCssVars, themeStylesheet, timeSettingsFor, token, useDashSpecSettings, useDashboard, useDashboardActions, useDashboardState, useNodeScope, useThemeTokens, useTree, widgetChecks, widgetThemeCss, wrapComponent };
1722
+ export { AnyWidgetDefinition, BAR, BAR_ICONS, type Breakpoint, CallbackApi, type ColorTokens, ControlField, type CssDeclarations, type CssRules, DS_CLASSES, type DashEvent, DashSpecProvider, type DashSpecSettings, Dashboard, DashboardContext, type DashboardHandle, DashboardRenderer, type DashboardRendererProps, type DashboardRuntime, type DatasourceType, DateControl, DateRangeControl, type DeepPartial, type DesignSystem, type DsClass, type DsSelector, FilterBar, Grid, type GridChangeItem, type HostHooks, HttpClient, JsonValue, type LayoutSpec, ModalHost, MultiSelectControl, NetworkOptions, type NodeScope, type Option, PanelFrame, type PartTokens, RENDERER_CSS, ResolvedRequest, type RuntimeOptions, type ScaleTokens, Scope, ScriptMode, ScriptRunner, SelectControl, Slot, SlotDefinition, type SourceState, type StatusColors, type StatusTone, type TextPart, type Theme, ThemeContext, type ThemeInput, type ThemeMode, ThemeScope, type ThemeScopeProps, TimeSettings, type Tree, type TypeRole, type UIChipsProps, type UIComponents, type UICustomFilterProps, type UIDateProps, type UIDateRangeProps, type UIDrawerProps, type UIFilterBarProps, type UIFilterDef, type UIMultiSelectProps, type UISearchProps, type UISelectProps, type UIStateProps, type UIToggleProps, WidgetDefinition, WidgetMeta, WidgetProps, type WidgetRegistry, type WidgetTheme, type WrapOptions, builtInWidgets, checkWidget, combineDesignSystems, createDashboardRuntime, createTheme, createWidgetRegistry, cssRulesToString, defaultTheme, defineDesignSystem, defineWidget, echartsTheme, layoutsForView, lazyWidget, mergeDeep, panelRows, partsCss, presetRange, resolveMode, themeCssVars, themeStylesheet, timeSettingsFor, token, useDashSpecSettings, useDashboard, useDashboardActions, useDashboardState, useNodeScope, useThemeTokens, useTree, widgetChecks, widgetThemeCss, wrapComponent };