@altertable/data-app-react 0.77.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,16 +1,19 @@
1
- import { At as ownedSource, Bt as Sheet, C as ContentSkeleton, Ct as breakdownState, D as TextContent, Dt as useDetailNavigation, E as DataAppFrame, Et as DetailView, G as useDeclaredResult, H as AppViewResultsContext, Ht as Tooltip, Jt as InspectionContext, Kt as Kbd, L as IconButton, Mt as mountDataApp, O as Stack, Ot as DataSectionBoundary, Qt as Button, R as useDataAppAnnotations, S as withWidgetBoundary, St as resolveActions, T as DataValue$1, Tt as DetailRoutes, U as assertAppFilters, Ut as TooltipProvider, V as createDataHooks, W as getViewDefinition, Xt as AppIcon, Yt as useInspectionDefaults, Zt as EmptyState, _t as exportDatasets, a as TextWidget$1, an as injectStyles, bt as DateTimeTooltip, d as MetricWidget$1, en as classNames, f as VisualizationWidget$1, gt as datasetTable, h as ExplorationActionControl, ht as RegisteredBinding, i as chartColor, in as injectDataAppStyles, it as Skeleton, m as comparisonChange, mt as MetricRecords, n as createDataContext, nn as useDateFormatting, nt as Select, o as TableWidget$1, p as metricComparison, pt as sectionContent, qt as shortcuts, rn as useDataApp, t as SectionHeading, tn as DateFormattingContext, tt as DateTimeRangePicker, ut as SearchSuggestionsContext, vt as registeredEvidence, w as getAnnotationProps, wt as DetailContent, yt as DateDisplay, z as AnnotationTooltip } from "./chunks/SectionHeading-Bz5RIXit.js";
1
+ import { $t as DateFormattingContext, At as SegmentedTab, B as useDeclaredResult, Bt as Tooltip, C as Stack, Ct as useDetailNavigation, Et as ownedSource, Ft as TabPanels, Gt as shortcuts, I as createDataHooks, It as Tabs, Jt as AppIcon, Kt as InspectionContext, L as AppViewResultsContext, M as IconButton, N as useDataAppAnnotations, Ot as mountDataApp, P as AnnotationTooltip, Pt as TabPanel, Q as dateTimeRangeLabel, Qt as classNames, R as assertAppFilters, Rt as Sheet, S as TextContent, St as DetailView, Vt as TooltipProvider, Wt as Kbd, X as DateTimeRangePicker, Xt as Button, Yt as EmptyState, Z as Select, _ as ContentSkeleton, a as DataTable, b as Notice, bt as DetailContent, ct as searchItems, dt as RegisteredBinding, en as useDateFormatting, et as Skeleton, ft as datasetTable, g as withWidgetBoundary, gt as DateTimeTooltip, h as DataWidget, ht as DateDisplay, i as chartColor, jt as SegmentedTabList, l as ExplorationActionControl, lt as sectionContent, mt as registeredEvidence, n as createDataContext, nn as injectDataAppStyles, o as DataTableEmptyRow, ot as SearchSuggestionsContext, pt as exportDatasets, qt as useInspectionDefaults, rn as injectStyles, t as SectionHeading, tn as useDataApp, ut as MetricRecords, v as ContentSkeletonBody, vt as resolveActions, wt as DataSectionBoundary, x as DataAppFrame, xt as DetailRoutes, y as getAnnotationProps, yt as breakdownState, z as getViewDefinition } from "./chunks/SectionHeading-BAZB-Fnf.js";
2
2
  import { getDataAppTransport, navigateNewTab, navigateNewWindowOrTab } from "@altertable/data-app/client";
3
3
  import { KEY_SEPARATOR, fixedUnitMilliseconds, invariant } from "@altertable/data-app/internal";
4
4
  import { useCallback, useContext, useEffect, useEffectEvent, useImperativeHandle, useReducer, useRef, useState } from "react";
5
5
  import { autoUpdate, flip, offset, shift, useFloating, useMergeRefs } from "@floating-ui/react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Eye, EyeOff, GripVertical, LoaderCircle, Minus, Trash2, X } from "lucide-react";
8
- import { formatCount, formatDateRange, formatDateTime, formatMetric, formatPercent, parseDateTime } from "@altertable/data-app/format";
8
+ import { formatCount, formatDateRange, formatDateTime, formatMetric, formatPercent, parseDateTime, pluralize } from "@altertable/data-app/format";
9
9
  import { parseDataAppAnnotationDraft, parseExternalUrl } from "@altertable/data-app/contract";
10
10
  import { createPortal } from "react-dom";
11
11
  //#region src/ui/DataApp.tsx
12
- /** Executes the primary view and its summary views, and owns controls, inspection, exports, and stories. */
13
12
  function DataApp(props) {
13
+ if (!props.view) return /* @__PURE__ */ jsx(DataAppFrame, { ...props });
14
+ return /* @__PURE__ */ jsx(ViewDataApp, { ...props });
15
+ }
16
+ function ViewDataApp(props) {
14
17
  const { summaryViews = [], ...appProps } = props;
15
18
  const { clientFilters } = getViewDefinition(props.view);
16
19
  return /* @__PURE__ */ jsx(AppFilterControls, {
@@ -85,6 +88,7 @@ function PrimaryDataApp(props) {
85
88
  ...controls,
86
89
  queries: allResults.flatMap(({ queries }) => queries ?? []),
87
90
  refreshing: allResults.some(({ refreshing }) => refreshing),
91
+ viewRefreshing: primary.refreshing,
88
92
  refetch() {
89
93
  for (const { refetch } of allResults) refetch();
90
94
  },
@@ -123,7 +127,10 @@ function PrimaryDataApp(props) {
123
127
  value: {
124
128
  primaryView: view,
125
129
  clientFilters,
126
- results: new Map(results).set(view, result)
130
+ results: new Map(results).set(view, {
131
+ ...result,
132
+ refreshing: primary.refreshing
133
+ })
127
134
  },
128
135
  children: /* @__PURE__ */ jsx(DetailRoutes, {
129
136
  details,
@@ -168,6 +175,478 @@ function GridItem({ children, span = 1, className, ...props }) {
168
175
  });
169
176
  }
170
177
  //#endregion
178
+ //#region src/ui/DataValue.tsx
179
+ /** Bind inline content to displayed data. Keep static wording outside this span. */
180
+ function DataValue$1({ reading, loadingFallback, children, ...props }) {
181
+ return /* @__PURE__ */ jsx("span", {
182
+ ...props,
183
+ "aria-busy": reading.loading || props["aria-busy"],
184
+ children: reading.loading ? loadingFallback : children(reading.value)
185
+ });
186
+ }
187
+ //#endregion
188
+ //#region src/ui/metric-comparison.ts
189
+ /** Label a comparison from the input that produced the displayed result. Null means the
190
+ * requested previous period has no comparable value; zero remains a measured value. */
191
+ function dateTimeMetricComparison(displayedInput, values, options = {}) {
192
+ if (!displayedInput.comparison) return void 0;
193
+ function label(range) {
194
+ return dateTimeRangeLabel(range, options);
195
+ }
196
+ return {
197
+ current: {
198
+ value: values.current,
199
+ formattedValue: formatMetric(values.current, values.format),
200
+ periodLabel: label(displayedInput.range)
201
+ },
202
+ previous: {
203
+ value: values.previous,
204
+ formattedValue: values.previous === null ? "Not available" : formatMetric(values.previous, values.format),
205
+ periodLabel: label(displayedInput.comparison)
206
+ },
207
+ favorableDirection: values.favorableDirection
208
+ };
209
+ }
210
+ /** A zero or missing baseline has no meaningful relative percentage. */
211
+ function comparisonChange({ current, previous, favorableDirection }) {
212
+ const percent = previous?.value ? (current.value - previous.value) / Math.abs(previous.value) * 100 : null;
213
+ const direction = percent === null || Math.abs(percent) < .05 ? "flat" : percent > 0 ? "up" : "down";
214
+ return {
215
+ percent,
216
+ direction,
217
+ tone: direction === "flat" || !favorableDirection ? "neutral" : direction === favorableDirection ? "good" : "bad",
218
+ icon: direction === "up" ? "trendUp" : direction === "down" ? "trendDown" : "trendFlat"
219
+ };
220
+ }
221
+ //#endregion
222
+ //#region src/ui/metric.ts
223
+ function metricComparison(metric, reading, options = {}) {
224
+ if (reading.loading || !reading.value.period) return void 0;
225
+ return dateTimeMetricComparison(reading.value.period, {
226
+ current: reading.value.current,
227
+ previous: reading.value.previous ?? null,
228
+ format: metric.format,
229
+ favorableDirection: metric.favorableDirection
230
+ }, options);
231
+ }
232
+ //#endregion
233
+ //#region src/ui/widget-views.ts
234
+ function validateWidgetViews(views, selected) {
235
+ const ids = new Set(views.map((view) => view.id));
236
+ invariant(views.length > 0 && ids.size === views.length && views.every((view) => !!view.id.trim()), "Widget tab IDs must be nonempty and unique.");
237
+ invariant(ids.has(selected), `Unknown widget tab: ${selected}.`);
238
+ }
239
+ //#endregion
240
+ //#region src/ui/WidgetViewTabs.tsx
241
+ function WidgetViewTabs({ label, views, selectedKey, onSelectionChange, className, ...props }) {
242
+ validateWidgetViews(views, selectedKey);
243
+ return /* @__PURE__ */ jsx("div", {
244
+ ...props,
245
+ className: classNames("altertable-widget-view-tabs", className),
246
+ children: /* @__PURE__ */ jsxs(Tabs, {
247
+ selectedKey,
248
+ onSelectionChange: (key) => onSelectionChange(String(key)),
249
+ children: [/* @__PURE__ */ jsx(SegmentedTabList, {
250
+ "aria-label": label,
251
+ children: views.map((view) => /* @__PURE__ */ jsx(SegmentedTab, {
252
+ id: view.id,
253
+ children: view.label
254
+ }, view.id))
255
+ }), /* @__PURE__ */ jsx(TabPanels, { children: views.map((view) => /* @__PURE__ */ jsx(TabPanel, {
256
+ id: view.id,
257
+ children: view.isEmpty ? /* @__PURE__ */ jsx(EmptyState, { ...view.emptyFallback }) : view.content
258
+ }, view.id)) })]
259
+ })
260
+ });
261
+ }
262
+ //#endregion
263
+ //#region src/ui/VisualizationWidget.tsx
264
+ /** Compose an unframed visual with the shared heading and inspection. */
265
+ function VisualizationWidget$1(props) {
266
+ if ("views" in props && props.views) return /* @__PURE__ */ jsx(VisualizationWidgetWithViews, { ...props });
267
+ if ("reading" in props) {
268
+ const { reading, children, isEmpty, emptyFallback, skeleton, footer, ...shell } = props;
269
+ return /* @__PURE__ */ jsx(DataWidget, {
270
+ ...shell,
271
+ reading,
272
+ isEmpty,
273
+ emptyFallback,
274
+ skeleton,
275
+ footer,
276
+ children: (data) => /* @__PURE__ */ jsx("div", {
277
+ className: "altertable-visualization-widget-content",
278
+ children: children(data)
279
+ })
280
+ });
281
+ }
282
+ const { visual, loading = false, loadingContent, footer, ...shell } = props;
283
+ if (loading) return /* @__PURE__ */ jsx(DataWidget, {
284
+ ...shell,
285
+ footer,
286
+ "aria-busy": true,
287
+ children: /* @__PURE__ */ jsx("div", {
288
+ className: "altertable-visualization-widget-content",
289
+ children: loadingContent ?? /* @__PURE__ */ jsx(ContentSkeletonBody, { variant: "panel" })
290
+ })
291
+ });
292
+ return /* @__PURE__ */ jsx(DataWidget, {
293
+ ...shell,
294
+ footer,
295
+ children: /* @__PURE__ */ jsx("div", {
296
+ className: "altertable-visualization-widget-content",
297
+ children: visual
298
+ })
299
+ });
300
+ }
301
+ function VisualizationWidgetWithViews({ reading, views, viewLabel, initialView, isEmpty, emptyFallback, skeleton, footer, ...shell }) {
302
+ const [selected, setSelected] = useState(initialView ?? views[0]?.id ?? "");
303
+ validateWidgetViews(views, selected);
304
+ return /* @__PURE__ */ jsx(DataWidget, {
305
+ ...shell,
306
+ reading,
307
+ isEmpty,
308
+ emptyFallback,
309
+ skeleton,
310
+ footer,
311
+ children: (data) => /* @__PURE__ */ jsx("div", {
312
+ className: "altertable-visualization-widget-content",
313
+ children: /* @__PURE__ */ jsx(WidgetViewTabs, {
314
+ label: viewLabel,
315
+ views: views.map((view) => ({
316
+ id: view.id,
317
+ label: view.label,
318
+ content: view.render(data),
319
+ isEmpty: false,
320
+ emptyFallback
321
+ })),
322
+ selectedKey: selected,
323
+ onSelectionChange: setSelected
324
+ })
325
+ })
326
+ });
327
+ }
328
+ //#endregion
329
+ //#region src/ui/MetricWidget.tsx
330
+ function MetricWidget$1(props) {
331
+ const dateFormatting = useDateFormatting();
332
+ if ("metric" in props) {
333
+ const { metric, reading, ...rest } = props;
334
+ if (reading.loading) return /* @__PURE__ */ jsx(MetricWidgetContent$1, {
335
+ ...rest,
336
+ label: metric.label,
337
+ evidence: metric.evidence,
338
+ loading: true
339
+ });
340
+ return /* @__PURE__ */ jsx(MetricWidgetContent$1, {
341
+ ...rest,
342
+ label: metric.label,
343
+ value: reading.value.current,
344
+ format: metric.format,
345
+ evidence: metric.evidence,
346
+ comparison: metricComparison(metric, reading, dateFormatting)
347
+ });
348
+ }
349
+ return /* @__PURE__ */ jsx(MetricWidgetContent$1, { ...props });
350
+ }
351
+ function MetricWidgetContent$1({ label, annotationId, value, content, format, loading = false, description, comparison, evidence, records, action, status, visual, className, ...props }) {
352
+ return /* @__PURE__ */ jsx(VisualizationWidget$1, {
353
+ ...props,
354
+ className: classNames("altertable-metric-widget", className),
355
+ title: label,
356
+ annotationId,
357
+ evidence,
358
+ records,
359
+ "aria-busy": loading || props["aria-busy"],
360
+ action,
361
+ status,
362
+ visual: /* @__PURE__ */ jsx(MetricVisual, {
363
+ loading,
364
+ value,
365
+ content,
366
+ format,
367
+ comparison,
368
+ description,
369
+ visual
370
+ })
371
+ });
372
+ }
373
+ function MetricVisual({ loading, value, content, format, comparison, description, visual }) {
374
+ const shownValue = format ? formatMetric(value, format) : content;
375
+ const change = comparison ? comparisonChange(comparison) : null;
376
+ const shownTrend = change?.percent != null ? /* @__PURE__ */ jsxs("span", {
377
+ className: "altertable-metric-change",
378
+ "data-tone": change.tone,
379
+ children: [
380
+ /* @__PURE__ */ jsx(AppIcon, {
381
+ name: change.icon,
382
+ size: 14
383
+ }),
384
+ Math.abs(change.percent).toFixed(1),
385
+ "% vs",
386
+ " ",
387
+ comparison?.previous?.periodLabel?.toLowerCase() ?? "previous period"
388
+ ]
389
+ }) : comparison?.previous?.value === null ? /* @__PURE__ */ jsx("span", {
390
+ className: "altertable-metric-change",
391
+ "data-tone": "neutral",
392
+ children: "Previous period unavailable"
393
+ }) : null;
394
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
395
+ /* @__PURE__ */ jsxs("div", {
396
+ className: "altertable-metric-reading",
397
+ children: [/* @__PURE__ */ jsx("strong", {
398
+ className: "altertable-metric-value",
399
+ "data-unavailable": shownValue === "—" || void 0,
400
+ children: loading ? /* @__PURE__ */ jsx(Skeleton, { className: "altertable-metric-loading-value" }) : shownValue
401
+ }), shownTrend && /* @__PURE__ */ jsx("span", {
402
+ className: "altertable-metric-trend",
403
+ children: shownTrend
404
+ })]
405
+ }),
406
+ description && /* @__PURE__ */ jsx("small", {
407
+ className: "altertable-metric-description",
408
+ children: description
409
+ }),
410
+ visual && /* @__PURE__ */ jsx("div", {
411
+ className: "altertable-metric-visual",
412
+ children: visual
413
+ })
414
+ ] });
415
+ }
416
+ //#endregion
417
+ //#region src/ui/TableWidget.tsx
418
+ function TableWidget$1(props) {
419
+ const { pagination, limit, columns } = props;
420
+ invariant(!pagination || Number.isSafeInteger(pagination.pageSize) && pagination.pageSize >= 1, "TableWidget pagination.pageSize must be a positive integer.");
421
+ invariant(limit === void 0 || Number.isSafeInteger(limit) && limit >= 1, "TableWidget limit must be a positive integer.");
422
+ const columnIds = columns.map((column) => column.id);
423
+ invariant(columnIds.length > 0 && columnIds.every((id) => !!id.trim()) && new Set(columnIds).size === columnIds.length, "TableWidget column IDs must be nonempty and unique.");
424
+ if (props.reading) {
425
+ const { reading, skeletonRows, ...rest } = props;
426
+ return /* @__PURE__ */ jsx(TableWidgetContent$1, {
427
+ ...rest,
428
+ rows: reading.loading ? [] : reading.value,
429
+ loading: reading.loading,
430
+ skeletonRows
431
+ });
432
+ }
433
+ return /* @__PURE__ */ jsx(TableWidgetContent$1, { ...props });
434
+ }
435
+ function TableWidgetContent$1({ title, count, showCount = true, onClearFilters, description, columns, rows, rowKey, action, evidence, search, limit, pagination, emptyFallback, noMatchesFallback, loading = false, skeletonRows, ...props }) {
436
+ const keys = rows.map(rowKey);
437
+ invariant(keys.every((key) => typeof key === "string" ? !!key.trim() : Number.isFinite(key)) && new Set(keys.map(String)).size === keys.length, "TableWidget row keys must be nonempty and unique.");
438
+ const rowKeys = JSON.stringify(keys);
439
+ const pageSize = pagination === false || limit !== void 0 ? null : pagination?.pageSize ?? 10;
440
+ const [pageState, setPageState] = useState({
441
+ page: 0,
442
+ rowKeys,
443
+ searchValue: search?.value,
444
+ pageSize
445
+ });
446
+ if (pageState.rowKeys !== rowKeys || pageState.searchValue !== search?.value || pageState.pageSize !== pageSize) setPageState({
447
+ page: 0,
448
+ rowKeys,
449
+ searchValue: search?.value,
450
+ pageSize
451
+ });
452
+ const hits = search ? searchItems(rows, search.value, {
453
+ attributes: search.attributes,
454
+ mode: search.mode,
455
+ fuzzyThreshold: search.fuzzyThreshold
456
+ }) : rows.map((item) => ({
457
+ item,
458
+ score: 0,
459
+ matches: {}
460
+ }));
461
+ const pageCount = pageSize ? Math.max(1, Math.ceil(hits.length / pageSize)) : 1;
462
+ const page = Math.min(pageState.page, pageCount - 1);
463
+ const start = pageSize ? page * pageSize : 0;
464
+ const visible = hits.slice(start, pageSize ? start + pageSize : Math.max(0, limit ?? hits.length));
465
+ const pager = pageSize && pageCount > 1 && /* @__PURE__ */ jsxs("nav", {
466
+ className: "altertable-table-pagination",
467
+ "aria-label": "Table pages",
468
+ children: [/* @__PURE__ */ jsxs("span", {
469
+ className: "altertable-table-pagination-range",
470
+ children: [
471
+ formatCount(start + 1),
472
+ "–",
473
+ formatCount(start + visible.length),
474
+ " of",
475
+ " ",
476
+ formatCount(hits.length),
477
+ " ",
478
+ pluralize(hits.length, "result")
479
+ ]
480
+ }), /* @__PURE__ */ jsxs("span", {
481
+ className: "altertable-table-pagination-controls",
482
+ children: [
483
+ /* @__PURE__ */ jsxs("span", { children: [
484
+ "Page ",
485
+ page + 1,
486
+ " of ",
487
+ pageCount
488
+ ] }),
489
+ /* @__PURE__ */ jsx(Tooltip, {
490
+ content: "Previous page",
491
+ children: /* @__PURE__ */ jsx(Button, {
492
+ size: "icon-compact",
493
+ "aria-label": "Previous page",
494
+ disabled: page === 0,
495
+ onClick: () => setPageState({
496
+ page: page - 1,
497
+ rowKeys,
498
+ searchValue: search?.value,
499
+ pageSize
500
+ }),
501
+ children: /* @__PURE__ */ jsx(AppIcon, {
502
+ name: "previousMonth",
503
+ size: 16
504
+ })
505
+ })
506
+ }),
507
+ /* @__PURE__ */ jsx(Tooltip, {
508
+ content: "Next page",
509
+ children: /* @__PURE__ */ jsx(Button, {
510
+ size: "icon-compact",
511
+ "aria-label": "Next page",
512
+ disabled: page >= pageCount - 1,
513
+ onClick: () => setPageState({
514
+ page: page + 1,
515
+ rowKeys,
516
+ searchValue: search?.value,
517
+ pageSize
518
+ }),
519
+ children: /* @__PURE__ */ jsx(AppIcon, {
520
+ name: "nextMonth",
521
+ size: 16
522
+ })
523
+ })
524
+ })
525
+ ]
526
+ })]
527
+ });
528
+ return /* @__PURE__ */ jsx(VisualizationWidget$1, {
529
+ ...props,
530
+ className: classNames("altertable-table-widget", props.className),
531
+ title,
532
+ count: loading || !showCount ? void 0 : count ?? hits.length,
533
+ description,
534
+ action,
535
+ evidence,
536
+ "aria-busy": loading || props["aria-busy"],
537
+ footer: pager,
538
+ visual: /* @__PURE__ */ jsx("div", {
539
+ className: "altertable-table-widget-content",
540
+ children: /* @__PURE__ */ jsx(TableWidgetTable, {
541
+ columns,
542
+ visible,
543
+ rowKey,
544
+ rowCount: rows.length,
545
+ matchCount: hits.length,
546
+ search,
547
+ emptyFallback,
548
+ noMatchesFallback,
549
+ onClearFilters,
550
+ loading,
551
+ skeletonRows: skeletonRows ?? limit ?? (pagination ? pagination.pageSize : void 0) ?? 5
552
+ })
553
+ })
554
+ });
555
+ }
556
+ /** Each page or inspection mount owns its input and recovery focus. */
557
+ function TableWidgetTable({ columns, visible, rowKey, rowCount, matchCount, search, emptyFallback, noMatchesFallback, onClearFilters, loading, skeletonRows }) {
558
+ const tableRef = useRef(null);
559
+ const searchInputRef = useRef(null);
560
+ const searchRef = useMergeRefs([searchInputRef, search?.inputProps?.ref]);
561
+ const searchable = search && {
562
+ label: search.label,
563
+ placeholder: search.placeholder,
564
+ value: search.value,
565
+ onChange: search.onChange,
566
+ resetValue: search.resetValue,
567
+ inputProps: {
568
+ ...search.inputProps,
569
+ ref: searchRef
570
+ },
571
+ itemCount: rowCount
572
+ };
573
+ const searchHasNoMatches = rowCount > 0 && matchCount === 0 && !!search;
574
+ const canClearSearch = searchHasNoMatches && search && search.value !== (search.resetValue ?? "");
575
+ function clearSearch() {
576
+ search?.onChange(search.resetValue ?? "");
577
+ requestAnimationFrame(() => (searchInputRef.current ?? tableRef.current)?.focus());
578
+ }
579
+ function clearFilters() {
580
+ onClearFilters?.();
581
+ tableRef.current?.focus();
582
+ }
583
+ const emptyContent = searchHasNoMatches || rowCount === 0 && !!onClearFilters ? noMatchesFallback ?? {
584
+ title: "No matching results",
585
+ description: searchHasNoMatches ? "Try a different search." : "Try different filters."
586
+ } : emptyFallback;
587
+ const recovery = canClearSearch ? /* @__PURE__ */ jsx(Button, {
588
+ onClick: clearSearch,
589
+ children: "Clear search"
590
+ }) : rowCount === 0 && onClearFilters ? /* @__PURE__ */ jsx(Button, {
591
+ onClick: clearFilters,
592
+ children: "Clear filters"
593
+ }) : void 0;
594
+ const emptyAction = recovery ? /* @__PURE__ */ jsxs(Fragment$1, { children: [emptyContent.action, recovery] }) : emptyContent.action;
595
+ return /* @__PURE__ */ jsxs(DataTable, {
596
+ ref: tableRef,
597
+ tabIndex: -1,
598
+ searchable: loading ? void 0 : searchable,
599
+ "aria-busy": loading || void 0,
600
+ children: [/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: columns.map((column) => /* @__PURE__ */ jsx("th", {
601
+ scope: "col",
602
+ "data-type": column.type,
603
+ children: column.header
604
+ }, column.id)) }) }), /* @__PURE__ */ jsx("tbody", {
605
+ "aria-hidden": loading || void 0,
606
+ children: loading ? Array.from({ length: Math.min(100, Math.max(0, Math.trunc(skeletonRows) || 0)) }, (_, row) => /* @__PURE__ */ jsx("tr", { children: columns.map((column) => /* @__PURE__ */ jsx("td", {
607
+ "data-type": column.type,
608
+ children: /* @__PURE__ */ jsx(Skeleton, { style: {
609
+ width: "70%",
610
+ height: "1lh"
611
+ } })
612
+ }, column.id)) }, row)) : visible.length === 0 ? /* @__PURE__ */ jsx(DataTableEmptyRow, {
613
+ colSpan: columns.length,
614
+ ...emptyContent,
615
+ action: emptyAction
616
+ }) : visible.map((hit) => /* @__PURE__ */ jsx("tr", { children: columns.map((column, index) => index === 0 ? /* @__PURE__ */ jsx("th", {
617
+ scope: "row",
618
+ "data-type": column.type,
619
+ children: column.cell(hit.item, hit)
620
+ }, column.id) : /* @__PURE__ */ jsx("td", {
621
+ "data-type": column.type,
622
+ children: column.cell(hit.item, hit)
623
+ }, column.id)) }, rowKey(hit.item)))
624
+ })]
625
+ });
626
+ }
627
+ //#endregion
628
+ //#region src/ui/TextWidget.tsx
629
+ function TextWidget$1(props) {
630
+ const content = props.reading ? props.reading.loading ? null : props.children(props.reading.value) : props.children;
631
+ const { reading, children: _, className, ...shell } = props;
632
+ const loading = reading?.loading === true;
633
+ return /* @__PURE__ */ jsx(DataWidget, {
634
+ ...shell,
635
+ className: classNames("altertable-text-widget", className),
636
+ evidence: shell.evidence,
637
+ "aria-busy": loading || shell["aria-busy"],
638
+ children: /* @__PURE__ */ jsx(TextContent, { children: loading ? /* @__PURE__ */ jsxs("div", {
639
+ className: "altertable-text-widget-skeleton",
640
+ "aria-hidden": "true",
641
+ children: [
642
+ /* @__PURE__ */ jsx(Skeleton, {}),
643
+ /* @__PURE__ */ jsx(Skeleton, {}),
644
+ /* @__PURE__ */ jsx(Skeleton, {})
645
+ ]
646
+ }) : content })
647
+ });
648
+ }
649
+ //#endregion
171
650
  //#region src/widgets.tsx
172
651
  function MetricWidgetContent({ metric, source, records, actions, action, ...presentation }) {
173
652
  const navigation = useDetailNavigation();
@@ -413,7 +892,7 @@ function Comparison(props) {
413
892
  return /* @__PURE__ */ jsx(ComparisonContent, { ...props });
414
893
  }
415
894
  function ComparisonContent({ label, current, previous, favorableDirection, emphasis = "standard" }) {
416
- const max = Math.max(current.value, previous?.value ?? 0, 1);
895
+ const max = Math.max(Math.abs(current.value), Math.abs(previous?.value ?? 0)) || 1;
417
896
  const { percent, tone, icon } = comparisonChange({
418
897
  current,
419
898
  previous,
@@ -430,7 +909,7 @@ function ComparisonContent({ label, current, previous, favorableDirection, empha
430
909
  "data-period": "current",
431
910
  children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: current.periodLabel ?? "Current period" }), /* @__PURE__ */ jsx("strong", { children: current.formattedValue })] }), /* @__PURE__ */ jsx("span", {
432
911
  className: "altertable-comparison-track",
433
- children: /* @__PURE__ */ jsx("span", { style: { width: `${current.value / max * 100}%` } })
912
+ children: /* @__PURE__ */ jsx("span", { style: { width: trackWidth(current.value, max) } })
434
913
  })]
435
914
  }),
436
915
  previous && /* @__PURE__ */ jsxs("div", {
@@ -438,7 +917,7 @@ function ComparisonContent({ label, current, previous, favorableDirection, empha
438
917
  "data-period": "previous",
439
918
  children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: previous.periodLabel ?? "Previous period" }), /* @__PURE__ */ jsx("strong", { children: previous.formattedValue })] }), /* @__PURE__ */ jsx("span", {
440
919
  className: "altertable-comparison-track",
441
- children: /* @__PURE__ */ jsx("span", { style: { width: `${(previous.value ?? 0) / max * 100}%` } })
920
+ children: /* @__PURE__ */ jsx("span", { style: { width: trackWidth(previous.value ?? 0, max) } })
442
921
  })]
443
922
  }),
444
923
  /* @__PURE__ */ jsx("p", {
@@ -452,12 +931,15 @@ function ComparisonContent({ label, current, previous, favorableDirection, empha
452
931
  Math.abs(percent).toFixed(1),
453
932
  "% vs",
454
933
  " ",
455
- previous?.periodLabel?.toLowerCase() ?? "previous period"
934
+ previous?.periodLabel ?? "previous period"
456
935
  ] })
457
936
  })
458
937
  ]
459
938
  });
460
939
  }
940
+ function trackWidth(value, max) {
941
+ return `${Math.max(0, value / max) * 100}%`;
942
+ }
461
943
  //#endregion
462
944
  //#region src/ui/useHasNearedViewport.ts
463
945
  /** Start requests slightly before a section scrolls into view so it is ready on arrival. */
@@ -1229,11 +1711,11 @@ function injectDataAppAnnotationStyles(options = {}) {
1229
1711
  return injectStyles({
1230
1712
  name: "injectDataAppAnnotationStyles",
1231
1713
  attribute: "data-altertable-annotation-styles",
1232
- css: "/* packages/data-app-react/src/tokens.css */\n@layer atbl.tokens {\n :root {\n --atbl-background: var(--atbl-palette-background);\n --atbl-surface: var(--atbl-palette-surface);\n --atbl-subtle: var(--atbl-palette-subtle);\n --atbl-backdrop: #0f171e38;\n --atbl-text: var(--atbl-palette-text);\n --atbl-muted: var(--atbl-palette-muted);\n --atbl-border: var(--atbl-palette-border);\n --atbl-accent: var(--atbl-palette-accent);\n --atbl-on-accent: var(--atbl-palette-on-accent);\n --atbl-positive: var(--atbl-palette-positive);\n --atbl-danger: var(--atbl-palette-danger);\n --atbl-code-surface: #f4f6f9;\n --atbl-code-text: #273242;\n --atbl-mono-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n --atbl-focus-ring-offset: 2px;\n --atbl-focus-ring-inset: -1px;\n --atbl-font: var(--atbl-input-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, ui-sans-serif, sans-serif);\n --atbl-space-xs: 5px;\n --atbl-space-sm: 10px;\n --atbl-space-md: 16px;\n --atbl-space-lg: 24px;\n --atbl-space-xl: 32px;\n --atbl-content-width: 1920px;\n --atbl-control-height: 2.375rem;\n --atbl-control-compact-height: 1.875rem;\n --atbl-control-icon-size: 1rem;\n --atbl-control-padding-inline: .75rem;\n --atbl-control-padding-block: .375rem;\n --atbl-control-gap: .5rem;\n --atbl-control-disabled-opacity: .5;\n --atbl-dropdown-padding: calc(var(--atbl-control-padding-block) * 2 / 3);\n --atbl-dropdown-item-padding-block: var(--atbl-control-padding-block);\n --atbl-dropdown-item-padding-inline: calc(var(--atbl-control-padding-inline) * 3 / 4);\n --atbl-dropdown-item-gap: 2px;\n --atbl-radius-control: 7px;\n --atbl-radius-surface: 12px;\n --atbl-radius-overlay: 16px;\n --atbl-shadow-surface: 0 3px 16px #141c280d;\n --atbl-shadow-overlay: 0 18px 50px #00000029;\n --atbl-shadow-control: 0 1px 3px #0000001a;\n --atbl-cursor-action: pointer;\n --atbl-cursor-disabled: default;\n --atbl-cursor-help: help;\n --atbl-cursor-busy: progress;\n --atbl-duration-fast: .12s;\n --atbl-duration-normal: .18s;\n --atbl-duration-slow: .24s;\n --atbl-ease-standard: ease;\n --atbl-ease-enter: cubic-bezier(.2, .7, .2, 1);\n --atbl-chart-1: color-mix(in srgb, var(--atbl-input-chart-1, #285fc0) var(--atbl-chart-strength), white);\n --atbl-chart-2: color-mix(in srgb, var(--atbl-input-chart-2, #a95319) var(--atbl-chart-strength), white);\n --atbl-chart-3: color-mix(in srgb, var(--atbl-input-chart-3, #147862) var(--atbl-chart-strength), white);\n --atbl-chart-4: color-mix(in srgb, var(--atbl-input-chart-4, #7243aa) var(--atbl-chart-strength), white);\n --atbl-chart-5: color-mix(in srgb, var(--atbl-input-chart-5, #aa3958) var(--atbl-chart-strength), white);\n --atbl-chart-6: color-mix(in srgb, var(--atbl-input-chart-6, #475569) var(--atbl-chart-strength), white);\n --atbl-chart-7: color-mix(in srgb, var(--atbl-input-chart-7, #285fc0) var(--atbl-chart-strength), white);\n --atbl-chart-8: color-mix(in srgb, var(--atbl-input-chart-8, #a95319) var(--atbl-chart-strength), white);\n --atbl-type-emphasis-weight: 680;\n --atbl-type-meta-weight: 500;\n --atbl-type-page-size: clamp(1.375rem, 2.4vw, 1.75rem);\n --atbl-type-section-size: 1.25rem;\n --atbl-type-widget-size: var(--atbl-type-label-size);\n --atbl-type-body-size: .875rem;\n --atbl-type-label-size: .8125rem;\n --atbl-type-meta-size: .75rem;\n --atbl-type-metric-size: clamp(1.625rem, 3vw, 2.125rem);\n --atbl-type-heading-weight: 650;\n --atbl-type-label-weight: 600;\n --atbl-type-body-leading: 1.65;\n --atbl-type-label-leading: 1.4;\n --atbl-type-heading-leading: 1.3;\n --atbl-type-metric-leading: 1.08;\n --atbl-text-measure: 70ch;\n }\n}\n\n/* packages/data-app-react/src/appearance.css */\n@layer atbl.tokens {\n :root {\n --atbl-palette-background: #fff;\n --atbl-palette-surface: #fff;\n --atbl-palette-subtle: #f6f7f7;\n --atbl-palette-text: #202124;\n --atbl-palette-muted: #687078;\n --atbl-palette-border: #e3e6e8;\n --atbl-palette-accent: var(--atbl-input-accent, var(--atbl-text));\n --atbl-palette-on-accent: var(--atbl-input-on-accent, #fff);\n --atbl-palette-positive: #147862;\n --atbl-palette-danger: #b42318;\n --atbl-chart-strength: 100%;\n }\n\n :root[data-atbl-theme=\"dark\"] {\n --atbl-palette-background: #151719;\n --atbl-palette-surface: #202326;\n --atbl-palette-subtle: #292d31;\n --atbl-palette-text: #f2f3f4;\n --atbl-palette-muted: #aeb5bc;\n --atbl-palette-border: #3b4248;\n }\n\n :root[data-atbl-base-color=\"slate\"] {\n --atbl-palette-background: #f8fafc;\n --atbl-palette-surface: #fff;\n --atbl-palette-subtle: #f1f5f9;\n --atbl-palette-text: #17212f;\n --atbl-palette-muted: #607083;\n --atbl-palette-border: #dce3ea;\n }\n\n :root[data-atbl-base-color=\"slate\"][data-atbl-theme=\"dark\"] {\n --atbl-palette-background: #111820;\n --atbl-palette-surface: #1b2530;\n --atbl-palette-subtle: #263340;\n --atbl-palette-text: #f0f4f8;\n --atbl-palette-muted: #a8b5c3;\n --atbl-palette-border: #3a4857;\n }\n\n :root[data-atbl-base-color=\"warm\"] {\n --atbl-palette-background: #fbfaf8;\n --atbl-palette-surface: #fff;\n --atbl-palette-subtle: #f5f2ed;\n --atbl-palette-text: #292723;\n --atbl-palette-muted: #736e66;\n --atbl-palette-border: #e8e2da;\n }\n\n :root[data-atbl-base-color=\"warm\"][data-atbl-theme=\"dark\"] {\n --atbl-palette-background: #1b1916;\n --atbl-palette-surface: #25221e;\n --atbl-palette-subtle: #302c27;\n --atbl-palette-text: #f5f1eb;\n --atbl-palette-muted: #bcb3a8;\n --atbl-palette-border: #494239;\n }\n\n :root[data-atbl-theme=\"dark\"] {\n --atbl-palette-accent: var(--atbl-input-dark-accent, var(--atbl-text));\n --atbl-palette-on-accent: var(--atbl-input-on-accent, var(--atbl-background));\n --atbl-palette-positive: #6bc39a;\n --atbl-palette-danger: #f97066;\n --atbl-backdrop: #0000008c;\n --atbl-code-surface: #242a31;\n --atbl-code-text: #e5e9ef;\n --atbl-chart-strength: 60%;\n }\n\n :root[data-atbl-density=\"compact\"] {\n --atbl-control-height: 2.125rem;\n --atbl-control-compact-height: 1.625rem;\n --atbl-control-gap: .375rem;\n --atbl-control-padding-inline: .625rem;\n --atbl-control-padding-block: .25rem;\n --atbl-space-xs: 4px;\n --atbl-space-sm: 8px;\n --atbl-space-md: 12px;\n --atbl-space-lg: 18px;\n --atbl-space-xl: 24px;\n }\n\n :root[data-atbl-density=\"spacious\"] {\n --atbl-control-height: 2.625rem;\n --atbl-control-compact-height: 2.125rem;\n --atbl-control-gap: .625rem;\n --atbl-control-padding-inline: 1rem;\n --atbl-control-padding-block: .5rem;\n --atbl-space-xs: 6px;\n --atbl-space-sm: 12px;\n --atbl-space-md: 20px;\n --atbl-space-lg: 30px;\n --atbl-space-xl: 40px;\n }\n\n :root[data-atbl-radius=\"none\"] {\n --atbl-radius-control: 0px;\n --atbl-radius-surface: 0px;\n --atbl-radius-overlay: 0px;\n }\n\n :root[data-atbl-radius=\"small\"] {\n --atbl-radius-control: 4px;\n --atbl-radius-surface: 7px;\n --atbl-radius-overlay: 9px;\n }\n\n :root[data-atbl-radius=\"large\"] {\n --atbl-radius-control: 10px;\n --atbl-radius-surface: 18px;\n --atbl-radius-overlay: 24px;\n }\n\n :root[data-atbl-elevation=\"flat\"] {\n --atbl-shadow-surface: none;\n --atbl-shadow-overlay: none;\n --atbl-shadow-control: none;\n }\n\n :root[data-atbl-elevation=\"raised\"] {\n --atbl-shadow-surface: 0 8px 28px #141c281a;\n --atbl-shadow-overlay: 0 24px 72px #0000003d;\n --atbl-shadow-control: 0 2px 6px #00000029;\n }\n\n @media (forced-colors: active) {\n :root {\n --atbl-focus-color: Highlight !important;\n --atbl-on-accent: HighlightText !important;\n }\n }\n}\n\n/* packages/data-app-react/src/base.css */\n@layer atbl.base {\n :where([class^=\"altertable-\"], [class*=\" altertable-\"]) {\n box-sizing: border-box;\n }\n\n :where([class^=\"altertable-\"], [class*=\" altertable-\"]) * {\n box-sizing: border-box;\n }\n\n :where([class^=\"starter-\"], [class*=\" starter-\"]) * {\n box-sizing: border-box;\n }\n\n :where([class^=\"altertable-\"], [class*=\" altertable-\"]) button {\n font: inherit;\n }\n\n :root[data-atbl-appearance] {\n scrollbar-gutter: stable;\n font-family: var(--atbl-font);\n color: var(--atbl-text);\n background: var(--atbl-background);\n font-synthesis: none;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n }\n\n :root[data-atbl-frame-sizing=\"content\"] {\n overflow: hidden;\n scrollbar-gutter: auto;\n }\n\n :root {\n --atbl-frame-visible-height: calc(100dvh - var(--atbl-frame-inset-top, 0px) - var(--atbl-frame-inset-bottom, 0px));\n }\n\n :root[data-atbl-theme=\"light\"] {\n --buncss-light: initial;\n --buncss-dark: ;\n color-scheme: light;\n }\n\n :root[data-atbl-theme=\"dark\"] {\n --buncss-light: ;\n --buncss-dark: initial;\n color-scheme: dark;\n }\n\n :root[data-atbl-appearance] body, :root[data-atbl-appearance] #root {\n margin: 0;\n }\n\n .altertable-sr-only {\n position: fixed;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n }\n}\n\n/* packages/data-app-react/src/annotations/colors.css */\n@layer atbl.components {\n :root {\n --atbl-annotation-accent: #c026d3;\n --atbl-annotation-accent-hover: #a21caf;\n --atbl-annotation-on-accent: #fff;\n }\n\n .altertable-annotation-trigger, .altertable-annotation-composer {\n --atbl-control-selected-surface: var(--atbl-annotation-accent);\n --atbl-control-selected-text: var(--atbl-annotation-on-accent);\n --atbl-focus-outline: 2px solid var(--atbl-annotation-accent);\n }\n\n .altertable-annotation-trigger[aria-pressed=\"true\"], .altertable-annotation-trigger:not([aria-pressed]) {\n background: var(--atbl-annotation-accent);\n color: var(--atbl-annotation-on-accent);\n border-color: #0000;\n }\n\n .altertable-annotation-trigger[aria-pressed=\"true\"]:hover:not(:disabled) {\n --atbl-control-selected-surface: var(--atbl-annotation-accent-hover);\n }\n\n .altertable-annotation-trigger:not([aria-pressed]) {\n --atbl-control-hover-surface: var(--atbl-annotation-accent-hover);\n --atbl-control-pressed-surface: var(--atbl-annotation-accent-hover);\n }\n}\n\n/* packages/data-app-react/src/ui/Button.css */\n@layer atbl.components {\n .altertable-button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: var(--atbl-control-gap);\n min-height: var(--atbl-control-height);\n padding: var(--atbl-control-padding-block) var(--atbl-control-padding-inline);\n border: 1px solid var(--atbl-border);\n border-radius: var(--atbl-radius-control);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n font: inherit;\n font-size: var(--atbl-type-label-size);\n font-weight: var(--atbl-type-label-weight);\n line-height: var(--atbl-type-label-leading);\n overflow-wrap: anywhere;\n transition: background-color var(--atbl-duration-fast) var(--atbl-ease-standard), border-color var(--atbl-duration-fast) var(--atbl-ease-standard), color var(--atbl-duration-fast) var(--atbl-ease-standard);\n -webkit-tap-highlight-color: transparent;\n max-inline-size: 100%;\n }\n\n .altertable-button[data-size=\"icon\"] {\n width: var(--atbl-control-height);\n min-width: var(--atbl-control-height);\n height: var(--atbl-control-height);\n min-height: var(--atbl-control-height);\n flex: none;\n padding: 0;\n }\n\n .altertable-button[data-variant=\"primary\"] {\n border-color: var(--atbl-text);\n background: var(--atbl-text);\n color: var(--atbl-background);\n --atbl-control-hover-surface: color-mix(in srgb, var(--atbl-text) 92%, var(--atbl-background));\n --atbl-control-pressed-surface: color-mix(in srgb, var(--atbl-text) 84%, var(--atbl-background));\n }\n\n .altertable-button[data-variant=\"outline\"] {\n box-shadow: none;\n }\n\n .altertable-button[data-variant=\"elevated\"] {\n box-shadow: var(--atbl-shadow-surface);\n }\n\n .altertable-button[data-variant=\"ghost\"] {\n box-shadow: none;\n background: none;\n border-color: #0000;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-button {\n transition: none;\n }\n }\n\n .altertable-button[data-size=\"compact\"] {\n min-height: var(--atbl-control-compact-height);\n padding: calc(var(--atbl-control-padding-block) * 2 / 3) calc(var(--atbl-control-padding-inline) * 2 / 3);\n font-size: var(--atbl-type-meta-size);\n }\n\n .altertable-button[data-size=\"icon-compact\"] {\n width: var(--atbl-control-compact-height);\n min-width: var(--atbl-control-compact-height);\n height: var(--atbl-control-compact-height);\n min-height: var(--atbl-control-compact-height);\n flex: none;\n padding: 0;\n }\n\n .altertable-button[data-size^=\"icon\"] > svg {\n inline-size: var(--atbl-control-icon-size);\n block-size: var(--atbl-control-icon-size);\n }\n\n .altertable-button[data-variant=\"inline\"] {\n --atbl-control-hover-surface: transparent;\n --atbl-control-pressed-surface: transparent;\n --atbl-control-open-surface: transparent;\n box-shadow: none;\n font: inherit;\n text-underline-offset: .2em;\n background: none;\n border: 0;\n border-radius: 0;\n min-height: 0;\n padding: 0;\n }\n\n .altertable-button[data-variant=\"inline\"]:-webkit-any(:hover, [data-hovered]):not(:-webkit-any(:disabled, [data-disabled])) {\n text-decoration: underline;\n }\n\n .altertable-button[data-variant=\"inline\"]:-moz-any(:hover, [data-hovered]):not(:-moz-any(:disabled, [data-disabled])) {\n text-decoration: underline;\n }\n\n .altertable-button[data-variant=\"inline\"]:is(:hover, [data-hovered]):not(:is(:disabled, [data-disabled])) {\n text-decoration: underline;\n }\n}\n\n/* packages/data-app-react/src/ui/Tooltip.css */\n@layer atbl.components {\n .altertable-tooltip-trigger {\n display: inline-flex;\n align-items: center;\n }\n\n .altertable-tooltip-trigger[data-variant=\"chart\"] {\n display: flex;\n align-items: flex-end;\n width: 100%;\n min-width: 0;\n height: 100%;\n }\n\n .altertable-tooltip-content {\n z-index: 1300;\n border: 1px solid var(--atbl-border);\n border-radius: var(--atbl-radius-control);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n box-shadow: var(--atbl-shadow-overlay);\n font: var(--atbl-type-meta-weight) var(--atbl-type-meta-size) / var(--atbl-type-label-leading) var(--atbl-font);\n white-space: normal;\n overflow-wrap: anywhere;\n pointer-events: none;\n animation: altertable-tooltip-in var(--atbl-duration-fast) ease-out;\n width: max-content;\n max-width: min(240px, 100vw - 24px);\n padding: 6px 9px;\n }\n\n .altertable-tooltip-content[data-variant=\"hint\"] {\n pointer-events: auto;\n }\n\n .altertable-tooltip-content[data-instant] {\n animation: none;\n }\n\n .altertable-tooltip-content[data-variant=\"chart\"] {\n display: grid;\n font-variant-numeric: tabular-nums;\n gap: 2px;\n padding: 8px 10px;\n }\n\n .altertable-tooltip-content[data-variant=\"chart\"] strong {\n font-size: var(--atbl-type-body-size);\n font-weight: 650;\n line-height: 1.2;\n }\n\n @keyframes altertable-tooltip-in {\n from {\n opacity: 0;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-tooltip-content {\n animation: none;\n }\n }\n\n .altertable-chart-tooltip-row {\n display: flex;\n align-items: flex-start;\n gap: 6px;\n }\n\n .altertable-chart-tooltip-marker {\n flex-shrink: 0;\n width: 8px;\n height: 8px;\n margin-top: .3em;\n }\n\n .altertable-chart-tooltip-reading {\n overflow-wrap: anywhere;\n min-width: 0;\n }\n}\n\n/* packages/data-app-react/src/ui/Kbd.css */\n@layer atbl.components {\n .altertable-kbd {\n display: inline-flex;\n border: 1px solid var(--atbl-border);\n background: var(--atbl-subtle);\n color: var(--atbl-muted);\n font: var(--atbl-type-label-weight) var(--atbl-type-meta-size) / var(--atbl-type-label-leading) var(--atbl-font);\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n border-radius: 5px;\n justify-content: center;\n align-items: center;\n min-width: 1.6em;\n padding: 2px 5px;\n }\n\n .altertable-button[data-variant=\"primary\"] .altertable-kbd {\n color: inherit;\n border-color: color-mix(in srgb, currentColor 30%, transparent);\n background: none;\n }\n}\n\n/* packages/data-app-react/src/annotations/AnnotationBar.css */\n@layer atbl.components {\n .altertable-annotation-bar, .altertable-annotation-bar-panel {\n --bar-surface: #202326;\n --bar-text: #f2f3f4;\n --bar-muted: #aeb5bc;\n --bar-border: #3b4248;\n --bar-danger: #ffa6a0;\n --bar-danger-surface: #572723;\n --atbl-control-selected-surface: var(--atbl-subtle);\n --atbl-control-selected-text: var(--bar-text);\n --atbl-control-disabled-opacity: 1;\n --atbl-surface: var(--bar-surface);\n --atbl-text: var(--bar-text);\n --atbl-muted: var(--bar-muted);\n --atbl-border: var(--bar-border);\n --atbl-focus-outline: 2px solid var(--atbl-annotation-accent);\n --atbl-subtle: color-mix(in srgb, var(--bar-text) 8%, var(--bar-surface));\n color: var(--bar-text);\n background: var(--bar-surface);\n font: 14px / 1.5 var(--atbl-font);\n box-sizing: border-box;\n border: 1px solid var(--bar-border);\n box-shadow: 0 8px 28px #0003;\n }\n\n .altertable-tooltip-content:has( > .altertable-annotation-bar-tooltip) {\n --bar-surface: #202326;\n --bar-text: #f2f3f4;\n --bar-muted: #aeb5bc;\n --bar-border: #3b4248;\n --bar-danger: #ffa6a0;\n --bar-danger-surface: #572723;\n --atbl-control-selected-surface: var(--atbl-subtle);\n --atbl-control-selected-text: var(--bar-text);\n --atbl-control-disabled-opacity: 1;\n --atbl-surface: var(--bar-surface);\n --atbl-text: var(--bar-text);\n --atbl-muted: var(--bar-muted);\n --atbl-border: var(--bar-border);\n --atbl-focus-outline: 2px solid var(--atbl-annotation-accent);\n --atbl-subtle: color-mix(in srgb, var(--bar-text) 8%, var(--bar-surface));\n color: var(--bar-text);\n background: var(--bar-surface);\n font: 14px / 1.5 var(--atbl-font);\n box-sizing: border-box;\n border: 1px solid var(--bar-border);\n box-shadow: 0 8px 28px #0003;\n }\n\n .altertable-annotation-bar[data-theme=\"dark\"], .altertable-annotation-bar-panel[data-theme=\"dark\"] {\n --bar-surface: #f2f3f4;\n --bar-text: #151719;\n --bar-muted: #505963;\n --bar-border: #dfe3e6;\n --bar-danger: #b42318;\n --bar-danger-surface: #ffe3e3;\n }\n\n .altertable-tooltip-content:has( > .altertable-annotation-bar-tooltip[data-theme=\"dark\"]) {\n --bar-surface: #f2f3f4;\n --bar-text: #151719;\n --bar-muted: #505963;\n --bar-border: #dfe3e6;\n --bar-danger: #b42318;\n --bar-danger-surface: #ffe3e3;\n }\n\n .altertable-annotation-bar {\n position: fixed;\n z-index: 1200;\n display: flex;\n border-radius: 18px;\n align-items: center;\n gap: 4px;\n max-width: calc(100vw - 24px);\n padding: 8px;\n bottom: 16px;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .altertable-annotation-bar .altertable-button, .altertable-annotation-bar-panel .altertable-button {\n color: var(--bar-muted);\n font: inherit;\n flex-shrink: 0;\n width: auto;\n transition: none;\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-count {\n white-space: nowrap;\n color: var(--bar-text);\n padding-inline-start: 6px;\n padding-inline-end: 6px;\n }\n\n .altertable-annotation-bar .altertable-button[data-atbl-internal-drag-handle] {\n --atbl-cursor-action: grab;\n touch-action: none;\n }\n\n .altertable-annotation-bar .altertable-button[data-atbl-internal-drag-handle]:active {\n --atbl-cursor-action: grabbing;\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n --atbl-control-hover-surface: var(--atbl-annotation-accent-hover);\n --atbl-control-pressed-surface: var(--atbl-annotation-accent-hover);\n background: var(--atbl-annotation-accent);\n color: var(--atbl-annotation-on-accent);\n border-color: #0000;\n border-radius: 12px;\n padding-inline-start: 14px;\n padding-inline-end: 14px;\n font-weight: 600;\n line-height: 1.25;\n }\n\n .altertable-annotation-bar-panel {\n position: fixed;\n z-index: 1201;\n overflow: auto;\n border-radius: 16px;\n width: min(420px, 100vw - 24px);\n max-height: min(440px, 45vh);\n margin: 0;\n padding: 6px;\n }\n\n .altertable-annotation-bar-panel header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 4px 8px;\n }\n\n .altertable-annotation-bar-row {\n display: flex;\n border-radius: 10px;\n align-items: center;\n gap: 8px;\n padding: 4px;\n }\n\n .altertable-annotation-bar-row:hover, .altertable-annotation-bar-row:focus-within {\n background: var(--atbl-subtle);\n }\n\n .altertable-annotation-bar-row + .altertable-annotation-bar-row {\n border-top: 1px solid var(--bar-border);\n }\n\n .altertable-annotation-bar-panel .altertable-annotation-bar-open {\n display: grid;\n text-align: left;\n flex: 1;\n justify-content: stretch;\n gap: 2px;\n min-width: 0;\n height: auto;\n padding: 4px 6px;\n }\n\n .altertable-annotation-bar-open strong {\n color: var(--bar-text);\n font-weight: 600;\n }\n\n .altertable-annotation-bar-open span {\n color: var(--bar-muted);\n overflow-wrap: anywhere;\n font-size: 13px;\n }\n\n .altertable-annotation-bar-panel .altertable-annotation-bar-open:hover:not(:disabled) {\n background: none;\n }\n\n .altertable-annotation-bar-error {\n position: absolute;\n background: var(--bar-surface);\n color: var(--bar-text);\n border: 1px solid var(--bar-border);\n border-radius: 10px;\n padding: 8px 12px;\n font-size: 12px;\n bottom: calc(100% + 8px);\n left: 0;\n right: 0;\n }\n\n @media (max-width: 420px) {\n .altertable-annotation-bar {\n gap: 0;\n padding: 6px;\n font-size: 12px;\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n padding-inline-start: 10px;\n padding-inline-end: 10px;\n }\n }\n\n @media (max-width: 360px) {\n .altertable-annotation-bar .altertable-button[data-size=\"icon-compact\"] {\n width: 26px;\n min-width: 26px;\n }\n }\n\n .altertable-tooltip-content:has( > .altertable-annotation-bar-tooltip) {\n font-size: 12px;\n line-height: 1.3;\n }\n\n .altertable-annotation-bar .altertable-button:hover:not(:disabled), .altertable-annotation-bar-panel .altertable-button:hover:not(:disabled) {\n color: var(--bar-text);\n background: var(--atbl-subtle);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send:hover:not(:disabled) {\n color: var(--atbl-annotation-on-accent);\n background: var(--atbl-annotation-accent-hover);\n }\n\n .altertable-annotation-bar .altertable-button:disabled, .altertable-annotation-bar-panel .altertable-button:disabled {\n color: var(--bar-muted);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send:disabled {\n color: var(--bar-muted);\n background: var(--atbl-subtle);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n position: relative;\n }\n\n .altertable-annotation-bar-send[data-pending] .altertable-annotation-bar-send-label {\n visibility: hidden;\n }\n\n .altertable-annotation-bar-spinner {\n position: absolute;\n animation: 1s linear infinite annotation-bar-spin;\n margin: auto;\n inset: 0;\n }\n\n @keyframes annotation-bar-spin {\n to {\n rotate: 360deg;\n }\n }\n\n .altertable-annotation-discard-description {\n color: var(--atbl-muted);\n font: 14px / 1.55 var(--atbl-font);\n margin: 0;\n }\n\n .altertable-annotation-discard-confirm {\n color: var(--atbl-danger);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-annotation-bar-spinner {\n animation: none;\n }\n }\n\n .altertable-annotation-bar .altertable-button[aria-pressed=\"true\"] {\n color: var(--bar-text);\n background: var(--atbl-subtle);\n }\n\n .altertable-annotation-undo {\n position: fixed;\n z-index: 1202;\n display: flex;\n border: 1px solid var(--atbl-border);\n border-radius: var(--atbl-radius-overlay);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n box-shadow: var(--atbl-shadow-overlay);\n font: 13px / 1.5 var(--atbl-font);\n align-items: center;\n gap: 12px;\n padding: 8px 12px;\n bottom: 16px;\n left: 16px;\n }\n\n .altertable-annotation-thumbnail {\n border: 1px solid var(--bar-border);\n overflow: hidden;\n background: var(--bar-surface);\n --atbl-cursor-action: zoom-in;\n border-radius: 6px;\n flex-shrink: 0;\n width: 56px;\n height: 40px;\n padding: 0;\n }\n\n .altertable-annotation-thumbnail img {\n object-fit: contain;\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .altertable-annotation-thumbnail:focus-visible {\n outline: 2px solid var(--atbl-annotation-accent);\n outline-offset: 2px;\n }\n\n .altertable-annotation-preview {\n display: block;\n object-fit: contain;\n width: 100%;\n max-height: 65vh;\n }\n\n .altertable-annotation-undo[data-bar-visible] {\n bottom: 88px;\n }\n\n .altertable-annotation-undo[data-inline] {\n position: static;\n box-shadow: none;\n border-radius: 8px;\n margin-top: 6px;\n }\n\n .altertable-sheet.altertable-annotation-image-dialog[data-placement=\"center\"] {\n width: min(960px, 100vw - 32px);\n }\n}\n\n/* packages/data-app-react/src/ui/Sheet.css */\n@layer atbl.components {\n :root:has(.altertable-sheet:modal) {\n overflow: hidden;\n }\n\n .altertable-sheet:not([open]) {\n display: none;\n }\n\n .altertable-sheet {\n position: fixed;\n inset: var(--atbl-frame-inset-top, 0px) 0 auto auto;\n height: var(--atbl-frame-visible-height);\n overflow: visible;\n border: 0;\n border-left: 1px solid var(--atbl-border);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n box-shadow: var(--atbl-shadow-overlay);\n font: var(--atbl-type-body-size) / var(--atbl-type-label-leading) var(--atbl-font);\n opacity: 0;\n transition: translate var(--atbl-duration-slow) cubic-bezier(.22, 1, .36, 1), opacity var(--atbl-duration-slow) var(--atbl-ease-standard);\n border-radius: 0;\n width: min(640px, 100vw);\n max-width: none;\n max-height: none;\n margin: 0;\n padding: 0;\n translate: 100%;\n }\n\n .altertable-sheet[data-wide] {\n width: min(960px, 100vw);\n }\n\n .altertable-sheet[open] {\n opacity: 1;\n translate: 0;\n }\n\n @starting-style {\n .altertable-sheet[open] {\n opacity: 0;\n translate: 100%;\n }\n }\n\n .altertable-sheet[open][data-closing] {\n opacity: 0;\n transition-timing-function: ease-in;\n translate: 100%;\n }\n\n .altertable-sheet::backdrop {\n background: var(--atbl-backdrop);\n opacity: 0;\n transition: opacity var(--atbl-duration-slow) var(--atbl-ease-standard);\n }\n\n .altertable-sheet[open]::backdrop {\n opacity: 1;\n }\n\n .altertable-sheet[open][data-closing]::backdrop {\n opacity: 0;\n }\n\n @starting-style {\n .altertable-sheet[open]::backdrop {\n opacity: 0;\n }\n }\n\n .altertable-sheet-shell {\n display: grid;\n grid-template-rows: auto minmax(0, 1fr) auto;\n height: 100%;\n }\n\n .altertable-sheet-header {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: var(--atbl-space-md);\n padding: var(--atbl-space-lg) calc((var(--atbl-space-lg) + var(--atbl-space-xl)) / 2) calc((var(--atbl-space-md) + var(--atbl-space-lg)) / 2);\n border-bottom: 1px solid var(--atbl-border);\n }\n\n .altertable-sheet-header h2 {\n font-size: var(--atbl-type-section-size);\n font-weight: var(--atbl-type-heading-weight);\n line-height: var(--atbl-type-heading-leading);\n letter-spacing: -.02em;\n overflow-wrap: anywhere;\n margin: 0;\n }\n\n .altertable-sheet-header p {\n color: var(--atbl-muted);\n font-size: var(--atbl-type-label-size);\n margin: 4px 0 0;\n line-height: 1.45;\n }\n\n .altertable-sheet-actions {\n display: flex;\n align-items: center;\n gap: 4px;\n margin: -4px -8px 0 0;\n }\n\n .altertable-sheet-close {\n color: var(--atbl-muted);\n }\n\n .altertable-sheet-body {\n overflow-y: auto;\n overscroll-behavior: contain;\n padding: var(--atbl-space-lg) calc((var(--atbl-space-lg) + var(--atbl-space-xl)) / 2) calc(var(--atbl-space-xl) + var(--atbl-space-md) / 2);\n min-height: 0;\n }\n\n .altertable-sheet-footer {\n padding: var(--atbl-space-md) calc((var(--atbl-space-lg) + var(--atbl-space-xl)) / 2);\n border-top: 1px solid var(--atbl-border);\n }\n\n @media (min-width: 601px) {\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"]) {\n inset: var(--atbl-frame-inset-top, 0px) auto auto 0;\n border-left: 0;\n border-right: 1px solid var(--atbl-border);\n translate: -100%;\n }\n\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"])[open] {\n translate: 0;\n }\n\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"])[open][data-closing] {\n translate: -100%;\n }\n\n @starting-style {\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"])[open] {\n translate: -100%;\n }\n }\n }\n\n @media (max-width: 960px) {\n .altertable-sheet[data-wide] {\n inset: auto 0 var(--atbl-frame-inset-bottom, 0px);\n box-shadow: none;\n border: 0;\n translate: 0 100%;\n }\n\n .altertable-sheet[data-wide][open] {\n translate: 0;\n }\n\n .altertable-sheet[data-wide][open][data-closing] {\n translate: 0 100%;\n }\n\n @starting-style {\n .altertable-sheet[data-wide][open] {\n translate: 0 100%;\n }\n }\n }\n\n @media (max-width: 600px) {\n .altertable-sheet {\n inset: auto 0 var(--atbl-frame-inset-bottom, 0px);\n box-shadow: none;\n border: 0;\n translate: 0 100%;\n }\n\n .altertable-sheet[open] {\n translate: 0;\n }\n\n .altertable-sheet[open][data-closing] {\n translate: 0 100%;\n }\n\n @starting-style {\n .altertable-sheet[open] {\n translate: 0 100%;\n }\n }\n\n .altertable-sheet-header {\n padding: 20px 20px 16px;\n }\n\n .altertable-sheet-body {\n padding: 20px 20px 32px;\n }\n\n .altertable-sheet-footer {\n padding: 14px 20px;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-sheet, .altertable-sheet[open][data-closing] {\n transition: none;\n translate: 0;\n }\n\n .altertable-sheet::backdrop {\n transition: none;\n }\n\n @starting-style {\n .altertable-sheet[open] {\n translate: 0;\n }\n }\n }\n\n .altertable-sheet[data-placement=\"center\"] {\n inset: var(--atbl-frame-inset-top, 0px) 0 var(--atbl-frame-inset-bottom, 0px);\n max-height: calc(var(--atbl-frame-visible-height) - 32px);\n border: 1px solid var(--atbl-border, #e3e6e8);\n border-radius: var(--atbl-radius-overlay);\n width: min(480px, 100vw - 32px);\n height: -moz-fit-content;\n height: fit-content;\n margin: auto;\n translate: 0;\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-shell {\n height: auto;\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-header {\n padding: 20px 24px 16px;\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-body {\n padding: 0 24px 20px;\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-footer {\n padding: 16px 24px;\n }\n}\n\n/* packages/data-app-react/src/ui/GradientScroll.css */\n@layer atbl.components {\n .altertable-gradient-scroll {\n overflow: auto;\n --atbl-scroll-fade-size: 1.5rem;\n min-width: 0;\n min-height: 0;\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"] {\n overflow-x: hidden;\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"] {\n overflow-y: hidden;\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"][data-fade-start][data-fade-end] {\n mask-image: linear-gradient(to bottom, transparent, black var(--atbl-scroll-fade-size), black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"][data-fade-start]:not([data-fade-end]) {\n mask-image: linear-gradient(to bottom, transparent, black var(--atbl-scroll-fade-size));\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"][data-fade-end]:not([data-fade-start]) {\n mask-image: linear-gradient(to bottom, black, black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"][data-fade-start][data-fade-end] {\n mask-image: linear-gradient(to right, transparent, black var(--atbl-scroll-fade-size), black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"][data-fade-start]:not([data-fade-end]) {\n mask-image: linear-gradient(to right, transparent, black var(--atbl-scroll-fade-size));\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"][data-fade-end]:not([data-fade-start]) {\n mask-image: linear-gradient(to right, black, black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n}\n\n/* packages/data-app-react/src/ui/Focus.css */\n@layer atbl.interaction {\n [data-atbl-focus=\"inset\"][data-atbl-internal-focus-state=\"focused\"][data-focused] {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:-webkit-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:-moz-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:is(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:has( > input:focus-visible) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:-webkit-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:-moz-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:is(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-internal-prose] a:focus-visible {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"][data-atbl-internal-focus-state=\"focused\"][data-focused] {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"inset\"]:-webkit-any(:focus-visible, [data-focus-visible]) {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"inset\"]:-moz-any(:focus-visible, [data-focus-visible]) {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"inset\"]:is(:focus-visible, [data-focus-visible]) {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"]:-webkit-any(:focus-within, [data-focus-within], [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"]:-moz-any(:focus-within, [data-focus-within], [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"]:is(:focus-within, [data-focus-within], [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"] input:focus-visible {\n outline: none;\n }\n\n @media (forced-colors: active) {\n [data-atbl-focus]:-webkit-any(:focus-visible, :focus-within, [data-focus-visible]) {\n outline-color: highlight !important;\n }\n\n [data-atbl-focus]:-moz-any(:focus-visible, :focus-within, [data-focus-visible]) {\n outline-color: highlight !important;\n }\n\n [data-atbl-focus]:is(:focus-visible, :focus-within, [data-focus-visible]) {\n outline-color: highlight !important;\n }\n\n [data-atbl-internal-prose] a:focus-visible {\n outline-color: highlight !important;\n }\n }\n}\n\n/* packages/data-app-react/src/interaction.css */\n@layer atbl.interaction {\n [data-atbl-control=\"default\"] {\n cursor: default;\n }\n\n [data-atbl-control=\"action\"], [data-atbl-internal-prose] a {\n cursor: var(--atbl-cursor-action);\n }\n\n [data-atbl-control=\"help\"] {\n cursor: var(--atbl-cursor-help);\n }\n\n [data-atbl-control=\"text\"] {\n cursor: text;\n font-size: var(--atbl-control-text-size, var(--atbl-type-body-size));\n }\n\n @media (max-width: 560px), (any-pointer: coarse) {\n [data-atbl-control=\"text\"] {\n font-size: max(16px, var(--atbl-control-text-size, var(--atbl-type-body-size)));\n }\n }\n\n [data-atbl-control]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], [data-unavailable]) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], [data-unavailable]) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control]:is(:disabled, [data-disabled], [aria-disabled=\"true\"], [data-unavailable]) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control]:has( > input:disabled) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control=\"action\"]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"action\"]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"action\"]:is(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"help\"]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"help\"]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"help\"]:is(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control]:has( > input:disabled) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control][aria-busy=\"true\"]:not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n cursor: var(--atbl-cursor-busy);\n }\n\n [data-atbl-control][aria-busy=\"true\"]:not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n cursor: var(--atbl-cursor-busy);\n }\n\n [data-atbl-control][aria-busy=\"true\"]:not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n cursor: var(--atbl-cursor-busy);\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):-webkit-any(:hover, [data-hovered], [data-focused], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):-moz-any(:hover, [data-hovered], [data-focused], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):is(:hover, [data-hovered], [data-focused], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):-webkit-any(:active, [data-pressed]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-surface)));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):-moz-any(:active, [data-pressed]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-surface)));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):is(:active, [data-pressed]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-surface)));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-open-surface, var(--atbl-surface));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-open-surface, var(--atbl-surface));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is([aria-expanded=\"true\"], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-open-surface, var(--atbl-surface));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any([data-variant=\"outline\"], [data-variant=\"elevated\"]):-webkit-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n border-color: var(--atbl-control-open-border, var(--atbl-muted));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any([data-variant=\"outline\"], [data-variant=\"elevated\"]):-moz-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n border-color: var(--atbl-control-open-border, var(--atbl-muted));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is([data-variant=\"outline\"], [data-variant=\"elevated\"]):is([aria-expanded=\"true\"], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n border-color: var(--atbl-control-open-border, var(--atbl-muted));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any([aria-pressed=\"true\"], [data-selected], [aria-current=\"true\"], :has( > input:checked)):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any([aria-pressed=\"true\"], [data-selected], [aria-current=\"true\"], :has( > input:checked)):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is([aria-pressed=\"true\"], [data-selected], [aria-current=\"true\"], :has( > input:checked)):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-webkit-any(:hover, [data-hovered]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, color-mix(in srgb, var(--atbl-text) 4%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-moz-any(:hover, [data-hovered]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, color-mix(in srgb, var(--atbl-text) 4%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:is(:hover, [data-hovered]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, color-mix(in srgb, var(--atbl-text) 4%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-webkit-any(:active, [data-pressed]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-moz-any(:active, [data-pressed]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:is(:active, [data-pressed]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"field\"], [data-atbl-internal-surface=\"control\"][data-variant=\"outline\"], [data-atbl-internal-surface=\"control\"][data-variant=\"elevated\"]):-webkit-any(:hover, [data-hovered]):not(:-webkit-any(:disabled, :has(input:disabled), [data-disabled], [aria-disabled=\"true\"], [data-invalid], [aria-invalid=\"true\"], :has(input[aria-invalid=\"true\"]))) {\n border-color: var(--atbl-control-hover-border, color-mix(in srgb, var(--atbl-muted) 45%, var(--atbl-border)));\n }\n\n :where([data-atbl-internal-surface=\"field\"], [data-atbl-internal-surface=\"control\"][data-variant=\"outline\"], [data-atbl-internal-surface=\"control\"][data-variant=\"elevated\"]):-moz-any(:hover, [data-hovered]):not(:-moz-any(:disabled, :has(input:disabled), [data-disabled], [aria-disabled=\"true\"], [data-invalid], [aria-invalid=\"true\"], :has(input[aria-invalid=\"true\"]))) {\n border-color: var(--atbl-control-hover-border, color-mix(in srgb, var(--atbl-muted) 45%, var(--atbl-border)));\n }\n\n :where([data-atbl-internal-surface=\"field\"], [data-atbl-internal-surface=\"control\"][data-variant=\"outline\"], [data-atbl-internal-surface=\"control\"][data-variant=\"elevated\"]):is(:hover, [data-hovered]):not(:is(:disabled, :has(input:disabled), [data-disabled], [aria-disabled=\"true\"], [data-invalid], [aria-invalid=\"true\"], :has(input[aria-invalid=\"true\"]))) {\n border-color: var(--atbl-control-hover-border, color-mix(in srgb, var(--atbl-muted) 45%, var(--atbl-border)));\n }\n\n [data-atbl-internal-surface=\"field\"]:-webkit-any([data-invalid], [aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-internal-surface=\"field\"]:-moz-any([data-invalid], [aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-internal-surface=\"field\"]:is([data-invalid], [aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-internal-surface=\"field\"]:has(input[aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-control=\"text\"]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n color: var(--atbl-muted);\n }\n\n [data-atbl-control=\"text\"]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n color: var(--atbl-muted);\n }\n\n [data-atbl-control=\"text\"]:is(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n color: var(--atbl-muted);\n }\n}\n\n/* packages/data-app-react/src/annotations/styles.css */\n@layer atbl.tokens, atbl.base, atbl.components, atbl.interaction;\n",
1714
+ css: "/* packages/data-app-react/src/tokens.css */\n@layer atbl.tokens {\n :root {\n --atbl-background: var(--atbl-palette-background);\n --atbl-surface: var(--atbl-palette-surface);\n --atbl-subtle: var(--atbl-palette-subtle);\n --atbl-backdrop: #0f171e38;\n --atbl-text: var(--atbl-palette-text);\n --atbl-muted: var(--atbl-palette-muted);\n --atbl-border: var(--atbl-palette-border);\n --atbl-accent: var(--atbl-palette-accent);\n --atbl-on-accent: var(--atbl-palette-on-accent);\n --atbl-positive: var(--atbl-palette-positive);\n --atbl-danger: var(--atbl-palette-danger);\n --atbl-code-surface: #f4f6f9;\n --atbl-code-text: #273242;\n --atbl-mono-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n --atbl-focus-ring-offset: 2px;\n --atbl-focus-ring-inset: -1px;\n --atbl-internal-focus-ring-space: calc(var(--atbl-focus-ring-offset) + 2px);\n --atbl-internal-chart-muted-opacity: .35;\n --atbl-font: var(--atbl-input-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, ui-sans-serif, sans-serif);\n --atbl-space-xs: 5px;\n --atbl-space-sm: 10px;\n --atbl-space-md: 16px;\n --atbl-space-lg: 24px;\n --atbl-space-xl: 32px;\n --atbl-content-width: 1920px;\n --atbl-control-height: 2.375rem;\n --atbl-control-compact-height: 1.875rem;\n --atbl-control-icon-size: 1rem;\n --atbl-control-padding-inline: .75rem;\n --atbl-control-padding-block: .375rem;\n --atbl-control-gap: .5rem;\n --atbl-control-disabled-opacity: .5;\n --atbl-dropdown-padding: calc(var(--atbl-control-padding-block) * 2 / 3);\n --atbl-dropdown-item-padding-block: var(--atbl-control-padding-block);\n --atbl-dropdown-item-padding-inline: calc(var(--atbl-control-padding-inline) * 3 / 4);\n --atbl-dropdown-item-gap: 2px;\n --atbl-radius-control: 7px;\n --atbl-radius-surface: 12px;\n --atbl-radius-overlay: 16px;\n --atbl-shadow-surface: 0 3px 16px #141c280d;\n --atbl-shadow-overlay: 0 18px 50px #00000029;\n --atbl-shadow-control: 0 1px 3px #0000001a;\n --atbl-cursor-action: pointer;\n --atbl-cursor-disabled: default;\n --atbl-cursor-help: help;\n --atbl-cursor-busy: progress;\n --atbl-duration-fast: .12s;\n --atbl-duration-normal: .18s;\n --atbl-duration-slow: .24s;\n --atbl-ease-standard: ease;\n --atbl-ease-enter: cubic-bezier(.2, .7, .2, 1);\n --atbl-chart-1: color-mix(in srgb, var(--atbl-input-chart-1, #285fc0) var(--atbl-chart-strength), white);\n --atbl-chart-2: color-mix(in srgb, var(--atbl-input-chart-2, #a95319) var(--atbl-chart-strength), white);\n --atbl-chart-3: color-mix(in srgb, var(--atbl-input-chart-3, #147862) var(--atbl-chart-strength), white);\n --atbl-chart-4: color-mix(in srgb, var(--atbl-input-chart-4, #7243aa) var(--atbl-chart-strength), white);\n --atbl-chart-5: color-mix(in srgb, var(--atbl-input-chart-5, #aa3958) var(--atbl-chart-strength), white);\n --atbl-chart-6: color-mix(in srgb, var(--atbl-input-chart-6, #475569) var(--atbl-chart-strength), white);\n --atbl-chart-7: color-mix(in srgb, var(--atbl-input-chart-7, #285fc0) var(--atbl-chart-strength), white);\n --atbl-chart-8: color-mix(in srgb, var(--atbl-input-chart-8, #a95319) var(--atbl-chart-strength), white);\n --atbl-type-emphasis-weight: 680;\n --atbl-type-meta-weight: 500;\n --atbl-type-page-size: clamp(1.375rem, 2.4vw, 1.75rem);\n --atbl-type-section-size: 1.25rem;\n --atbl-type-widget-size: var(--atbl-type-label-size);\n --atbl-type-body-size: .875rem;\n --atbl-type-label-size: .8125rem;\n --atbl-type-meta-size: .75rem;\n --atbl-type-metric-size: clamp(1.625rem, 3vw, 2.125rem);\n --atbl-type-heading-weight: 650;\n --atbl-type-label-weight: 600;\n --atbl-type-body-leading: 1.65;\n --atbl-type-label-leading: 1.4;\n --atbl-type-heading-leading: 1.3;\n --atbl-type-metric-leading: 1.08;\n --atbl-text-measure: 70ch;\n }\n}\n\n/* packages/data-app-react/src/appearance.css */\n@layer atbl.tokens {\n :root {\n --atbl-palette-background: #fff;\n --atbl-palette-surface: #fff;\n --atbl-palette-subtle: #f6f7f7;\n --atbl-palette-text: #202124;\n --atbl-palette-muted: #687078;\n --atbl-palette-border: #e3e6e8;\n --atbl-palette-accent: var(--atbl-input-accent, var(--atbl-text));\n --atbl-palette-on-accent: var(--atbl-input-on-accent, #fff);\n --atbl-palette-positive: #147862;\n --atbl-palette-danger: #b42318;\n --atbl-chart-strength: 100%;\n }\n\n :root[data-atbl-theme=\"dark\"] {\n --atbl-palette-background: #151719;\n --atbl-palette-surface: #202326;\n --atbl-palette-subtle: #292d31;\n --atbl-palette-text: #f2f3f4;\n --atbl-palette-muted: #aeb5bc;\n --atbl-palette-border: #3b4248;\n }\n\n :root[data-atbl-base-color=\"slate\"] {\n --atbl-palette-background: #f8fafc;\n --atbl-palette-surface: #fff;\n --atbl-palette-subtle: #f1f5f9;\n --atbl-palette-text: #17212f;\n --atbl-palette-muted: #607083;\n --atbl-palette-border: #dce3ea;\n }\n\n :root[data-atbl-base-color=\"slate\"][data-atbl-theme=\"dark\"] {\n --atbl-palette-background: #111820;\n --atbl-palette-surface: #1b2530;\n --atbl-palette-subtle: #263340;\n --atbl-palette-text: #f0f4f8;\n --atbl-palette-muted: #a8b5c3;\n --atbl-palette-border: #3a4857;\n }\n\n :root[data-atbl-base-color=\"warm\"] {\n --atbl-palette-background: #fbfaf8;\n --atbl-palette-surface: #fff;\n --atbl-palette-subtle: #f5f2ed;\n --atbl-palette-text: #292723;\n --atbl-palette-muted: #736e66;\n --atbl-palette-border: #e8e2da;\n }\n\n :root[data-atbl-base-color=\"warm\"][data-atbl-theme=\"dark\"] {\n --atbl-palette-background: #1b1916;\n --atbl-palette-surface: #25221e;\n --atbl-palette-subtle: #302c27;\n --atbl-palette-text: #f5f1eb;\n --atbl-palette-muted: #bcb3a8;\n --atbl-palette-border: #494239;\n }\n\n :root[data-atbl-theme=\"dark\"] {\n --atbl-palette-accent: var(--atbl-input-dark-accent, var(--atbl-text));\n --atbl-palette-on-accent: var(--atbl-input-on-accent, var(--atbl-background));\n --atbl-palette-positive: #6bc39a;\n --atbl-palette-danger: #f97066;\n --atbl-backdrop: #0000008c;\n --atbl-code-surface: #242a31;\n --atbl-code-text: #e5e9ef;\n --atbl-chart-strength: 60%;\n }\n\n :root[data-atbl-density=\"compact\"] {\n --atbl-control-height: 2.125rem;\n --atbl-control-compact-height: 1.625rem;\n --atbl-control-gap: .375rem;\n --atbl-control-padding-inline: .625rem;\n --atbl-control-padding-block: .25rem;\n --atbl-space-xs: 4px;\n --atbl-space-sm: 8px;\n --atbl-space-md: 12px;\n --atbl-space-lg: 18px;\n --atbl-space-xl: 24px;\n }\n\n :root[data-atbl-density=\"spacious\"] {\n --atbl-control-height: 2.625rem;\n --atbl-control-compact-height: 2.125rem;\n --atbl-control-gap: .625rem;\n --atbl-control-padding-inline: 1rem;\n --atbl-control-padding-block: .5rem;\n --atbl-space-xs: 6px;\n --atbl-space-sm: 12px;\n --atbl-space-md: 20px;\n --atbl-space-lg: 30px;\n --atbl-space-xl: 40px;\n }\n\n :root[data-atbl-radius=\"none\"] {\n --atbl-radius-control: 0px;\n --atbl-radius-surface: 0px;\n --atbl-radius-overlay: 0px;\n }\n\n :root[data-atbl-radius=\"small\"] {\n --atbl-radius-control: 4px;\n --atbl-radius-surface: 7px;\n --atbl-radius-overlay: 9px;\n }\n\n :root[data-atbl-radius=\"large\"] {\n --atbl-radius-control: 10px;\n --atbl-radius-surface: 18px;\n --atbl-radius-overlay: 24px;\n }\n\n :root[data-atbl-elevation=\"flat\"] {\n --atbl-shadow-surface: none;\n --atbl-shadow-overlay: none;\n --atbl-shadow-control: none;\n }\n\n :root[data-atbl-elevation=\"raised\"] {\n --atbl-shadow-surface: 0 8px 28px #141c281a;\n --atbl-shadow-overlay: 0 24px 72px #0000003d;\n --atbl-shadow-control: 0 2px 6px #00000029;\n }\n\n @media (forced-colors: active) {\n :root {\n --atbl-focus-color: Highlight !important;\n --atbl-on-accent: HighlightText !important;\n }\n }\n}\n\n/* packages/data-app-react/src/base.css */\n@layer atbl.base {\n :where([class^=\"altertable-\"], [class*=\" altertable-\"]) {\n box-sizing: border-box;\n }\n\n :where([class^=\"altertable-\"], [class*=\" altertable-\"]) * {\n box-sizing: border-box;\n }\n\n :where([class^=\"starter-\"], [class*=\" starter-\"]) * {\n box-sizing: border-box;\n }\n\n :where([class^=\"altertable-\"], [class*=\" altertable-\"]) button {\n font: inherit;\n }\n\n :root[data-atbl-appearance] {\n scrollbar-gutter: stable;\n font-family: var(--atbl-font);\n color: var(--atbl-text);\n background: var(--atbl-background);\n font-synthesis: none;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n }\n\n :root[data-atbl-frame-sizing=\"content\"] {\n overflow: hidden;\n scrollbar-gutter: auto;\n }\n\n :root {\n --atbl-frame-visible-height: calc(100dvh - var(--atbl-frame-inset-top, 0px) - var(--atbl-frame-inset-bottom, 0px));\n }\n\n :root[data-atbl-theme=\"light\"] {\n --buncss-light: initial;\n --buncss-dark: ;\n color-scheme: light;\n }\n\n :root[data-atbl-theme=\"dark\"] {\n --buncss-light: ;\n --buncss-dark: initial;\n color-scheme: dark;\n }\n\n :root[data-atbl-appearance] body, :root[data-atbl-appearance] #root {\n margin: 0;\n }\n\n .altertable-sr-only {\n position: fixed;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n }\n\n @keyframes altertable-busy-pulse {\n to {\n opacity: .35;\n }\n }\n}\n\n/* packages/data-app-react/src/annotations/colors.css */\n@layer atbl.components {\n :root {\n --atbl-annotation-accent: #c026d3;\n --atbl-annotation-accent-hover: #a21caf;\n --atbl-annotation-on-accent: #fff;\n }\n\n .altertable-annotation-trigger, .altertable-annotation-composer {\n --atbl-control-selected-surface: var(--atbl-annotation-accent);\n --atbl-control-selected-text: var(--atbl-annotation-on-accent);\n --atbl-focus-outline: 2px solid var(--atbl-annotation-accent);\n }\n\n .altertable-annotation-trigger[aria-pressed=\"true\"], .altertable-annotation-trigger:not([aria-pressed]) {\n background: var(--atbl-annotation-accent);\n color: var(--atbl-annotation-on-accent);\n border-color: #0000;\n }\n\n .altertable-annotation-trigger[aria-pressed=\"true\"]:hover:not(:disabled) {\n --atbl-control-selected-surface: var(--atbl-annotation-accent-hover);\n }\n\n .altertable-annotation-trigger:not([aria-pressed]) {\n --atbl-control-hover-surface: var(--atbl-annotation-accent-hover);\n --atbl-control-pressed-surface: var(--atbl-annotation-accent-hover);\n }\n}\n\n/* packages/data-app-react/src/ui/Button.css */\n@layer atbl.components {\n .altertable-button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: var(--atbl-control-gap);\n min-height: var(--atbl-control-height);\n padding: var(--atbl-control-padding-block) var(--atbl-control-padding-inline);\n border: 1px solid var(--atbl-border);\n border-radius: var(--atbl-radius-control);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n font: inherit;\n font-size: var(--atbl-type-label-size);\n font-weight: var(--atbl-type-label-weight);\n line-height: var(--atbl-type-label-leading);\n overflow-wrap: anywhere;\n transition: background-color var(--atbl-duration-fast) var(--atbl-ease-standard), border-color var(--atbl-duration-fast) var(--atbl-ease-standard), color var(--atbl-duration-fast) var(--atbl-ease-standard);\n -webkit-tap-highlight-color: transparent;\n max-inline-size: 100%;\n }\n\n .altertable-button[data-size=\"icon\"] {\n width: var(--atbl-control-height);\n min-width: var(--atbl-control-height);\n height: var(--atbl-control-height);\n min-height: var(--atbl-control-height);\n flex: none;\n padding: 0;\n }\n\n .altertable-button[data-variant=\"primary\"] {\n border-color: var(--atbl-accent);\n background: var(--atbl-accent);\n color: var(--atbl-on-accent);\n --atbl-control-hover-surface: color-mix(in srgb, var(--atbl-accent) 92%, var(--atbl-on-accent));\n --atbl-control-pressed-surface: color-mix(in srgb, var(--atbl-accent) 84%, var(--atbl-on-accent));\n --atbl-control-open-surface: var(--atbl-control-pressed-surface);\n --atbl-control-selected-surface: var(--atbl-control-pressed-surface);\n --atbl-control-selected-text: var(--atbl-on-accent);\n }\n\n .altertable-button[data-variant=\"outline\"] {\n box-shadow: none;\n }\n\n .altertable-button[data-variant=\"elevated\"] {\n box-shadow: var(--atbl-shadow-surface);\n }\n\n .altertable-button[data-variant=\"ghost\"] {\n --atbl-control-open-surface: var(--atbl-subtle);\n box-shadow: none;\n background: none;\n border-color: #0000;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-button {\n transition: none;\n }\n }\n\n .altertable-button[data-size=\"compact\"] {\n min-height: var(--atbl-control-compact-height);\n padding: calc(var(--atbl-control-padding-block) * 2 / 3) calc(var(--atbl-control-padding-inline) * 2 / 3);\n font-size: var(--atbl-type-meta-size);\n }\n\n .altertable-button[data-size=\"icon-compact\"] {\n width: var(--atbl-control-compact-height);\n min-width: var(--atbl-control-compact-height);\n height: var(--atbl-control-compact-height);\n min-height: var(--atbl-control-compact-height);\n flex: none;\n padding: 0;\n }\n\n .altertable-button[data-size^=\"icon\"] > svg {\n inline-size: var(--atbl-control-icon-size);\n block-size: var(--atbl-control-icon-size);\n }\n\n .altertable-button[data-variant=\"inline\"] {\n --atbl-control-hover-surface: transparent;\n --atbl-control-pressed-surface: transparent;\n --atbl-control-open-surface: transparent;\n box-shadow: none;\n font: inherit;\n text-underline-offset: .2em;\n background: none;\n border: 0;\n border-radius: 0;\n min-height: 0;\n padding: 0;\n }\n\n .altertable-button[data-variant=\"inline\"]:-webkit-any(:hover, [data-hovered]):not(:-webkit-any(:disabled, [data-disabled])) {\n text-decoration: underline;\n }\n\n .altertable-button[data-variant=\"inline\"]:-moz-any(:hover, [data-hovered]):not(:-moz-any(:disabled, [data-disabled])) {\n text-decoration: underline;\n }\n\n .altertable-button[data-variant=\"inline\"]:is(:hover, [data-hovered]):not(:is(:disabled, [data-disabled])) {\n text-decoration: underline;\n }\n}\n\n/* packages/data-app-react/src/ui/Tooltip.css */\n@layer atbl.components {\n .altertable-tooltip-trigger {\n display: inline-flex;\n align-items: center;\n }\n\n .altertable-tooltip-trigger[data-variant=\"chart\"] {\n display: flex;\n align-items: flex-end;\n width: 100%;\n min-width: 0;\n height: 100%;\n }\n\n .altertable-tooltip-content {\n z-index: 1300;\n border: 1px solid var(--atbl-border);\n border-radius: var(--atbl-radius-control);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n box-shadow: var(--atbl-shadow-overlay);\n font: var(--atbl-type-meta-weight) var(--atbl-type-meta-size) / var(--atbl-type-label-leading) var(--atbl-font);\n white-space: normal;\n overflow-wrap: anywhere;\n pointer-events: none;\n animation: altertable-tooltip-in var(--atbl-duration-fast) ease-out;\n width: max-content;\n max-width: min(240px, 100vw - 24px);\n padding: 6px 9px;\n }\n\n .altertable-tooltip-content[data-variant=\"hint\"] {\n pointer-events: auto;\n }\n\n .altertable-tooltip-content[data-instant] {\n animation: none;\n }\n\n .altertable-tooltip-content[data-variant=\"chart\"] {\n display: grid;\n font-variant-numeric: tabular-nums;\n gap: 2px;\n padding: 8px 10px;\n }\n\n .altertable-tooltip-content[data-variant=\"chart\"] strong {\n font-size: var(--atbl-type-body-size);\n font-weight: var(--atbl-type-heading-weight);\n line-height: 1.2;\n }\n\n @keyframes altertable-tooltip-in {\n from {\n opacity: 0;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-tooltip-content {\n animation: none;\n }\n }\n\n .altertable-chart-tooltip-row {\n display: flex;\n align-items: flex-start;\n gap: 6px;\n }\n\n .altertable-chart-tooltip-marker {\n flex-shrink: 0;\n width: 8px;\n height: 8px;\n margin-top: .3em;\n }\n\n .altertable-chart-tooltip-reading {\n overflow-wrap: anywhere;\n min-width: 0;\n }\n}\n\n/* packages/data-app-react/src/ui/Kbd.css */\n@layer atbl.components {\n .altertable-kbd {\n display: inline-flex;\n border: 1px solid var(--atbl-border);\n background: var(--atbl-subtle);\n color: var(--atbl-muted);\n font: var(--atbl-type-label-weight) var(--atbl-type-meta-size) / var(--atbl-type-label-leading) var(--atbl-font);\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n border-radius: 5px;\n justify-content: center;\n align-items: center;\n min-width: 1.6em;\n padding: 2px 5px;\n }\n\n .altertable-button[data-variant=\"primary\"] .altertable-kbd {\n color: inherit;\n border-color: color-mix(in srgb, currentColor 30%, transparent);\n background: none;\n }\n}\n\n/* packages/data-app-react/src/annotations/AnnotationBar.css */\n@layer atbl.components {\n .altertable-annotation-bar, .altertable-annotation-bar-panel {\n --bar-surface: #202326;\n --bar-text: #f2f3f4;\n --bar-muted: #aeb5bc;\n --bar-border: #3b4248;\n --bar-danger: #ffa6a0;\n --bar-danger-surface: #572723;\n --atbl-control-selected-surface: var(--atbl-subtle);\n --atbl-control-selected-text: var(--bar-text);\n --atbl-control-disabled-opacity: 1;\n --atbl-surface: var(--bar-surface);\n --atbl-text: var(--bar-text);\n --atbl-muted: var(--bar-muted);\n --atbl-border: var(--bar-border);\n --atbl-focus-outline: 2px solid var(--atbl-annotation-accent);\n --atbl-subtle: color-mix(in srgb, var(--bar-text) 8%, var(--bar-surface));\n color: var(--bar-text);\n background: var(--bar-surface);\n font: 14px / 1.5 var(--atbl-font);\n box-sizing: border-box;\n border: 1px solid var(--bar-border);\n box-shadow: 0 8px 28px #0003;\n }\n\n .altertable-tooltip-content:has( > .altertable-annotation-bar-tooltip) {\n --bar-surface: #202326;\n --bar-text: #f2f3f4;\n --bar-muted: #aeb5bc;\n --bar-border: #3b4248;\n --bar-danger: #ffa6a0;\n --bar-danger-surface: #572723;\n --atbl-control-selected-surface: var(--atbl-subtle);\n --atbl-control-selected-text: var(--bar-text);\n --atbl-control-disabled-opacity: 1;\n --atbl-surface: var(--bar-surface);\n --atbl-text: var(--bar-text);\n --atbl-muted: var(--bar-muted);\n --atbl-border: var(--bar-border);\n --atbl-focus-outline: 2px solid var(--atbl-annotation-accent);\n --atbl-subtle: color-mix(in srgb, var(--bar-text) 8%, var(--bar-surface));\n color: var(--bar-text);\n background: var(--bar-surface);\n font: 14px / 1.5 var(--atbl-font);\n box-sizing: border-box;\n border: 1px solid var(--bar-border);\n box-shadow: 0 8px 28px #0003;\n }\n\n .altertable-annotation-bar[data-theme=\"dark\"], .altertable-annotation-bar-panel[data-theme=\"dark\"] {\n --bar-surface: #f2f3f4;\n --bar-text: #151719;\n --bar-muted: #505963;\n --bar-border: #dfe3e6;\n --bar-danger: #b42318;\n --bar-danger-surface: #ffe3e3;\n }\n\n .altertable-tooltip-content:has( > .altertable-annotation-bar-tooltip[data-theme=\"dark\"]) {\n --bar-surface: #f2f3f4;\n --bar-text: #151719;\n --bar-muted: #505963;\n --bar-border: #dfe3e6;\n --bar-danger: #b42318;\n --bar-danger-surface: #ffe3e3;\n }\n\n .altertable-annotation-bar {\n position: fixed;\n z-index: 1200;\n display: flex;\n border-radius: 18px;\n align-items: center;\n gap: 4px;\n max-width: calc(100vw - 24px);\n padding: 8px;\n bottom: 16px;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .altertable-annotation-bar .altertable-button, .altertable-annotation-bar-panel .altertable-button {\n color: var(--bar-muted);\n font: inherit;\n flex-shrink: 0;\n width: auto;\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-count {\n white-space: nowrap;\n color: var(--bar-text);\n padding-inline-start: 6px;\n padding-inline-end: 6px;\n }\n\n .altertable-annotation-bar .altertable-button[data-atbl-internal-drag-handle] {\n --atbl-cursor-action: grab;\n touch-action: none;\n }\n\n .altertable-annotation-bar .altertable-button[data-atbl-internal-drag-handle]:active {\n --atbl-cursor-action: grabbing;\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n --atbl-control-hover-surface: var(--atbl-annotation-accent-hover);\n --atbl-control-pressed-surface: var(--atbl-annotation-accent-hover);\n background: var(--atbl-annotation-accent);\n color: var(--atbl-annotation-on-accent);\n font-weight: var(--atbl-type-label-weight);\n border-color: #0000;\n border-radius: 12px;\n padding-inline-start: 14px;\n padding-inline-end: 14px;\n line-height: 1.25;\n }\n\n .altertable-annotation-bar-panel {\n position: fixed;\n z-index: 1201;\n overflow: auto;\n border-radius: 16px;\n width: min(420px, 100vw - 24px);\n max-height: min(440px, 45vh);\n margin: 0;\n padding: 6px;\n }\n\n .altertable-annotation-bar-panel header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 4px 8px;\n }\n\n .altertable-annotation-bar-row {\n display: flex;\n border-radius: 10px;\n align-items: center;\n gap: 8px;\n padding: 4px;\n }\n\n .altertable-annotation-bar-row:hover, .altertable-annotation-bar-row:focus-within {\n background: var(--atbl-subtle);\n }\n\n .altertable-annotation-bar-row + .altertable-annotation-bar-row {\n border-top: 1px solid var(--bar-border);\n }\n\n .altertable-annotation-bar-panel .altertable-annotation-bar-open {\n display: grid;\n text-align: left;\n flex: 1;\n justify-content: stretch;\n gap: 2px;\n min-width: 0;\n height: auto;\n padding: 4px 6px;\n }\n\n .altertable-annotation-bar-open strong {\n color: var(--bar-text);\n font-weight: var(--atbl-type-label-weight);\n }\n\n .altertable-annotation-bar-open span {\n color: var(--bar-muted);\n overflow-wrap: anywhere;\n font-size: 13px;\n }\n\n .altertable-annotation-bar-panel .altertable-annotation-bar-open {\n --atbl-control-hover-surface: transparent;\n --atbl-control-pressed-surface: transparent;\n }\n\n .altertable-annotation-bar-error {\n position: absolute;\n background: var(--bar-surface);\n color: var(--bar-text);\n border: 1px solid var(--bar-border);\n border-radius: 10px;\n padding: 8px 12px;\n font-size: 12px;\n bottom: calc(100% + 8px);\n left: 0;\n right: 0;\n }\n\n @media (max-width: 420px) {\n .altertable-annotation-bar {\n gap: 0;\n padding: 6px;\n font-size: 12px;\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n padding-inline-start: 10px;\n padding-inline-end: 10px;\n }\n }\n\n @media (max-width: 360px) {\n .altertable-annotation-bar .altertable-button[data-size=\"icon-compact\"] {\n width: 26px;\n min-width: 26px;\n }\n }\n\n .altertable-tooltip-content:has( > .altertable-annotation-bar-tooltip) {\n font-size: 12px;\n line-height: 1.3;\n }\n\n .altertable-annotation-bar .altertable-button:hover:not(:disabled), .altertable-annotation-bar-panel .altertable-button:hover:not(:disabled) {\n color: var(--bar-text);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n --atbl-control-hover-surface: var(--atbl-annotation-accent-hover);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send:hover:not(:disabled) {\n color: var(--atbl-annotation-on-accent);\n }\n\n .altertable-annotation-bar .altertable-button:disabled, .altertable-annotation-bar-panel .altertable-button:disabled {\n color: var(--bar-muted);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send:disabled {\n color: var(--bar-muted);\n background: var(--atbl-subtle);\n }\n\n .altertable-annotation-bar .altertable-annotation-bar-send {\n position: relative;\n }\n\n .altertable-annotation-bar-send[data-pending] .altertable-annotation-bar-send-label {\n visibility: hidden;\n }\n\n .altertable-annotation-bar-spinner {\n position: absolute;\n animation: .9s linear infinite annotation-bar-spin;\n margin: auto;\n inset: 0;\n }\n\n @keyframes annotation-bar-spin {\n to {\n rotate: 360deg;\n }\n }\n\n .altertable-annotation-discard-description {\n color: var(--atbl-muted);\n font: 14px / 1.55 var(--atbl-font);\n margin: 0;\n }\n\n .altertable-annotation-discard-confirm {\n color: var(--atbl-danger);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-annotation-bar-spinner {\n animation: 1.2s ease-in-out infinite alternate altertable-busy-pulse;\n }\n }\n\n .altertable-annotation-bar .altertable-button {\n --atbl-control-selected-text: var(--bar-text);\n }\n\n .altertable-annotation-undo {\n position: fixed;\n z-index: 1202;\n display: flex;\n border: 1px solid var(--atbl-border);\n border-radius: var(--atbl-radius-overlay);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n box-shadow: var(--atbl-shadow-overlay);\n font: 13px / 1.5 var(--atbl-font);\n align-items: center;\n gap: 12px;\n padding: 8px 12px;\n bottom: 16px;\n left: 16px;\n }\n\n .altertable-annotation-thumbnail {\n border: 1px solid var(--bar-border);\n overflow: hidden;\n background: var(--bar-surface);\n --atbl-cursor-action: zoom-in;\n border-radius: 6px;\n flex-shrink: 0;\n width: 56px;\n height: 40px;\n padding: 0;\n }\n\n .altertable-annotation-thumbnail img {\n object-fit: contain;\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .altertable-annotation-thumbnail:focus-visible {\n outline: 2px solid var(--atbl-annotation-accent);\n outline-offset: 2px;\n }\n\n .altertable-annotation-preview {\n display: block;\n object-fit: contain;\n width: 100%;\n max-height: 65vh;\n }\n\n .altertable-annotation-undo[data-bar-visible] {\n bottom: 88px;\n }\n\n .altertable-annotation-undo[data-inline] {\n position: static;\n box-shadow: none;\n border-radius: 8px;\n margin-top: 6px;\n }\n\n .altertable-sheet.altertable-annotation-image-dialog[data-placement=\"center\"] {\n width: min(960px, 100vw - 32px);\n }\n}\n\n/* packages/data-app-react/src/ui/Sheet.css */\n@layer atbl.components {\n :root:has(.altertable-sheet:modal) {\n overflow: hidden;\n }\n\n .altertable-sheet:not([open]) {\n display: none;\n }\n\n .altertable-sheet {\n position: fixed;\n inset: var(--atbl-frame-inset-top, 0px) 0 auto auto;\n height: var(--atbl-frame-visible-height);\n overflow: visible;\n border: 0;\n border-left: 1px solid var(--atbl-border);\n background: var(--atbl-surface);\n color: var(--atbl-text);\n box-shadow: var(--atbl-shadow-overlay);\n font: var(--atbl-type-body-size) / var(--atbl-type-label-leading) var(--atbl-font);\n opacity: 0;\n transition: translate var(--atbl-duration-slow) cubic-bezier(.22, 1, .36, 1), opacity var(--atbl-duration-slow) var(--atbl-ease-standard);\n border-radius: 0;\n width: min(640px, 100vw);\n max-width: none;\n max-height: none;\n margin: 0;\n padding: 0;\n translate: 100%;\n }\n\n .altertable-sheet[data-wide] {\n width: min(960px, 100vw);\n }\n\n .altertable-sheet[open] {\n opacity: 1;\n translate: 0;\n }\n\n @starting-style {\n .altertable-sheet[open] {\n opacity: 0;\n translate: 100%;\n }\n }\n\n .altertable-sheet[open][data-closing] {\n opacity: 0;\n transition-timing-function: ease-in;\n translate: 100%;\n }\n\n .altertable-sheet::backdrop {\n background: var(--atbl-backdrop);\n opacity: 0;\n transition: opacity var(--atbl-duration-slow) var(--atbl-ease-standard);\n }\n\n .altertable-sheet[open]::backdrop {\n opacity: 1;\n }\n\n .altertable-sheet[open][data-closing]::backdrop {\n opacity: 0;\n }\n\n @starting-style {\n .altertable-sheet[open]::backdrop {\n opacity: 0;\n }\n }\n\n .altertable-sheet-shell {\n display: grid;\n grid-template-rows: auto minmax(0, 1fr) auto;\n height: 100%;\n }\n\n .altertable-sheet-header {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: var(--atbl-space-md);\n padding: var(--atbl-space-lg) calc((var(--atbl-space-lg) + var(--atbl-space-xl)) / 2) calc((var(--atbl-space-md) + var(--atbl-space-lg)) / 2);\n border-bottom: 1px solid var(--atbl-border);\n }\n\n .altertable-sheet-header h2 {\n font-size: var(--atbl-type-section-size);\n font-weight: var(--atbl-type-heading-weight);\n line-height: var(--atbl-type-heading-leading);\n letter-spacing: -.02em;\n overflow-wrap: anywhere;\n margin: 0;\n }\n\n .altertable-sheet-header p {\n color: var(--atbl-muted);\n font-size: var(--atbl-type-label-size);\n margin: 4px 0 0;\n line-height: 1.45;\n }\n\n .altertable-sheet-actions {\n display: flex;\n align-items: center;\n gap: 4px;\n margin: -4px -8px 0 0;\n }\n\n .altertable-sheet-close {\n color: var(--atbl-muted);\n }\n\n .altertable-sheet-body {\n overflow-y: auto;\n overscroll-behavior: contain;\n --atbl-internal-sheet-body-inset: var(--atbl-space-lg);\n padding: var(--atbl-internal-sheet-body-inset) calc((var(--atbl-space-lg) + var(--atbl-space-xl)) / 2) calc(var(--atbl-space-xl) + var(--atbl-space-md) / 2);\n min-height: 0;\n }\n\n .altertable-sheet-footer {\n padding: var(--atbl-space-md) calc((var(--atbl-space-lg) + var(--atbl-space-xl)) / 2);\n border-top: 1px solid var(--atbl-border);\n }\n\n @media (min-width: 601px) {\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"]) {\n inset: var(--atbl-frame-inset-top, 0px) auto auto 0;\n border-left: 0;\n border-right: 1px solid var(--atbl-border);\n translate: -100%;\n }\n\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"])[open] {\n translate: 0;\n }\n\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"])[open][data-closing] {\n translate: -100%;\n }\n\n @starting-style {\n .altertable-sheet:where([data-placement=\"side\"][data-side=\"left\"])[open] {\n translate: -100%;\n }\n }\n }\n\n @media (max-width: 960px) {\n .altertable-sheet[data-wide] {\n inset: auto 0 var(--atbl-frame-inset-bottom, 0px);\n box-shadow: none;\n border: 0;\n translate: 0 100%;\n }\n\n .altertable-sheet[data-wide][open] {\n translate: 0;\n }\n\n .altertable-sheet[data-wide][open][data-closing] {\n translate: 0 100%;\n }\n\n @starting-style {\n .altertable-sheet[data-wide][open] {\n translate: 0 100%;\n }\n }\n }\n\n @media (max-width: 600px) {\n .altertable-sheet {\n inset: auto 0 var(--atbl-frame-inset-bottom, 0px);\n box-shadow: none;\n border: 0;\n translate: 0 100%;\n }\n\n .altertable-sheet[open] {\n translate: 0;\n }\n\n .altertable-sheet[open][data-closing] {\n translate: 0 100%;\n }\n\n @starting-style {\n .altertable-sheet[open] {\n translate: 0 100%;\n }\n }\n\n .altertable-sheet-header {\n padding: var(--atbl-space-md) var(--atbl-space-md) var(--atbl-space-md);\n }\n\n .altertable-sheet-body {\n --atbl-internal-sheet-body-inset: var(--atbl-space-md);\n padding: var(--atbl-internal-sheet-body-inset) var(--atbl-space-md) var(--atbl-space-xl);\n }\n\n .altertable-sheet-footer {\n padding: var(--atbl-space-sm) var(--atbl-space-md);\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .altertable-sheet, .altertable-sheet[open][data-closing] {\n transition: none;\n translate: 0;\n }\n\n .altertable-sheet::backdrop {\n transition: none;\n }\n\n @starting-style {\n .altertable-sheet[open] {\n translate: 0;\n }\n }\n }\n\n .altertable-sheet[data-placement=\"center\"] {\n inset: var(--atbl-frame-inset-top, 0px) 0 var(--atbl-frame-inset-bottom, 0px);\n max-height: calc(var(--atbl-frame-visible-height) - 32px);\n border: 1px solid var(--atbl-border, #e3e6e8);\n border-radius: var(--atbl-radius-overlay);\n width: min(480px, 100vw - 32px);\n height: -moz-fit-content;\n height: fit-content;\n margin: auto;\n translate: 0;\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-shell {\n height: auto;\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-header {\n padding: var(--atbl-space-lg) var(--atbl-space-lg) var(--atbl-space-md);\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-body {\n --atbl-internal-sheet-body-inset: 0px;\n padding: 0 var(--atbl-space-lg) var(--atbl-space-lg);\n }\n\n .altertable-sheet[data-placement=\"center\"] .altertable-sheet-footer {\n padding: var(--atbl-space-md) var(--atbl-space-lg);\n }\n}\n\n/* packages/data-app-react/src/ui/GradientScroll.css */\n@layer atbl.components {\n .altertable-gradient-scroll {\n overflow: auto;\n --atbl-scroll-fade-size: 1.5rem;\n min-width: 0;\n min-height: 0;\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"] {\n overflow-x: hidden;\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"] {\n overflow-y: hidden;\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"][data-fade-start][data-fade-end] {\n mask-image: linear-gradient(to bottom, transparent, black var(--atbl-scroll-fade-size), black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"][data-fade-start]:not([data-fade-end]) {\n mask-image: linear-gradient(to bottom, transparent, black var(--atbl-scroll-fade-size));\n }\n\n .altertable-gradient-scroll[data-axis=\"vertical\"][data-fade-end]:not([data-fade-start]) {\n mask-image: linear-gradient(to bottom, black, black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"][data-fade-start][data-fade-end] {\n mask-image: linear-gradient(to right, transparent, black var(--atbl-scroll-fade-size), black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"][data-fade-start]:not([data-fade-end]) {\n mask-image: linear-gradient(to right, transparent, black var(--atbl-scroll-fade-size));\n }\n\n .altertable-gradient-scroll[data-axis=\"horizontal\"][data-fade-end]:not([data-fade-start]) {\n mask-image: linear-gradient(to right, black, black calc(100% - var(--atbl-scroll-fade-size)), transparent);\n }\n}\n\n/* packages/data-app-react/src/ui/Focus.css */\n@layer atbl.interaction {\n [data-atbl-focus=\"ring\"]:-webkit-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:-moz-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:is(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"ring\"]:has( > input:focus-visible) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:-webkit-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:-moz-any(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:is(:focus-visible, [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-internal-prose] a:focus-visible {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-offset);\n }\n\n [data-atbl-focus=\"inset\"]:-webkit-any(:focus-visible, [data-focus-visible]) {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"inset\"]:-moz-any(:focus-visible, [data-focus-visible]) {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"inset\"]:is(:focus-visible, [data-focus-visible]) {\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"]:-webkit-any(:focus-within, [data-focus-within], [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"]:-moz-any(:focus-within, [data-focus-within], [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"]:is(:focus-within, [data-focus-within], [data-focus-visible]) {\n outline: var(--atbl-focus-outline, 1px solid var(--atbl-focus-color, var(--atbl-muted)));\n outline-offset: var(--atbl-focus-ring-inset);\n }\n\n [data-atbl-focus=\"group\"] input:focus-visible {\n outline: none;\n }\n\n @media (forced-colors: active) {\n [data-atbl-focus]:-webkit-any(:focus-visible, :focus-within, [data-focus-visible]) {\n outline-color: highlight !important;\n }\n\n [data-atbl-focus]:-moz-any(:focus-visible, :focus-within, [data-focus-visible]) {\n outline-color: highlight !important;\n }\n\n [data-atbl-focus]:is(:focus-visible, :focus-within, [data-focus-visible]) {\n outline-color: highlight !important;\n }\n\n [data-atbl-internal-prose] a:focus-visible {\n outline-color: highlight !important;\n }\n }\n}\n\n/* packages/data-app-react/src/interaction.css */\n@layer atbl.interaction {\n [data-atbl-control=\"default\"] {\n cursor: default;\n }\n\n [data-atbl-control=\"action\"], [data-atbl-internal-prose] a {\n cursor: var(--atbl-cursor-action);\n }\n\n [data-atbl-control=\"help\"] {\n cursor: var(--atbl-cursor-help);\n }\n\n [data-atbl-control=\"action\"] {\n -webkit-user-select: none;\n user-select: none;\n }\n\n :-webkit-any([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"], [data-atbl-internal-surface=\"tab\"]):not(:-webkit-any([data-atbl-control=\"text\"], [data-atbl-control=\"help\"])) {\n -webkit-user-select: none;\n user-select: none;\n }\n\n :-moz-any([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"], [data-atbl-internal-surface=\"tab\"]):not(:-moz-any([data-atbl-control=\"text\"], [data-atbl-control=\"help\"])) {\n -webkit-user-select: none;\n user-select: none;\n }\n\n :is([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"], [data-atbl-internal-surface=\"tab\"]):not(:is([data-atbl-control=\"text\"], [data-atbl-control=\"help\"])) {\n -webkit-user-select: none;\n user-select: none;\n }\n\n [data-atbl-control=\"text\"] {\n cursor: text;\n font-size: var(--atbl-control-text-size, var(--atbl-type-body-size));\n }\n\n @media (max-width: 560px), (any-pointer: coarse) {\n [data-atbl-control=\"text\"] {\n font-size: max(16px, var(--atbl-control-text-size, var(--atbl-type-body-size)));\n }\n }\n\n [data-atbl-control]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], [data-unavailable]) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], [data-unavailable]) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control]:is(:disabled, [data-disabled], [aria-disabled=\"true\"], [data-unavailable]) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control]:has( > input:disabled) {\n cursor: var(--atbl-cursor-disabled);\n }\n\n [data-atbl-control=\"action\"]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"action\"]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"action\"]:is(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"help\"]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"help\"]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control=\"help\"]:is(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control]:has( > input:disabled) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-internal-surface=\"field\"]:has(input:disabled) {\n opacity: var(--atbl-control-disabled-opacity);\n }\n\n [data-atbl-control][aria-busy=\"true\"]:not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n cursor: var(--atbl-cursor-busy);\n }\n\n [data-atbl-control][aria-busy=\"true\"]:not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n cursor: var(--atbl-cursor-busy);\n }\n\n [data-atbl-control][aria-busy=\"true\"]:not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n cursor: var(--atbl-cursor-busy);\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any(:hover, [data-hovered], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any(:hover, [data-hovered], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is(:hover, [data-hovered], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"option\"]):-webkit-any(:hover, [data-hovered], [data-focused], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"option\"]):-moz-any(:hover, [data-hovered], [data-focused], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"option\"]):is(:hover, [data-hovered], [data-focused], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, var(--atbl-subtle));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):-webkit-any(:active, [data-pressed]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-surface)));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):-moz-any(:active, [data-pressed]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-surface)));\n }\n\n :where([data-atbl-internal-surface=\"control\"], [data-atbl-internal-surface=\"option\"]):is(:active, [data-pressed]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-surface)));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-open-surface, var(--atbl-surface));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-open-surface, var(--atbl-surface));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is([aria-expanded=\"true\"], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-open-surface, var(--atbl-surface));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any([data-variant=\"outline\"], [data-variant=\"elevated\"]):-webkit-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n border-color: var(--atbl-control-open-border, var(--atbl-muted));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any([data-variant=\"outline\"], [data-variant=\"elevated\"]):-moz-any([aria-expanded=\"true\"], [data-open=\"true\"]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n border-color: var(--atbl-control-open-border, var(--atbl-muted));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is([data-variant=\"outline\"], [data-variant=\"elevated\"]):is([aria-expanded=\"true\"], [data-open=\"true\"]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n border-color: var(--atbl-control-open-border, var(--atbl-muted));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-webkit-any([aria-pressed=\"true\"], [data-selected], [aria-current=\"true\"], :has( > input:checked)):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):-moz-any([aria-pressed=\"true\"], [data-selected], [aria-current=\"true\"], :has( > input:checked)):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"control\"]):is([aria-pressed=\"true\"], [data-selected], [aria-current=\"true\"], :has( > input:checked)):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-selected-surface, var(--atbl-subtle));\n color: var(--atbl-control-selected-text, var(--atbl-text));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-webkit-any(:hover, [data-hovered]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, color-mix(in srgb, var(--atbl-text) 4%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-moz-any(:hover, [data-hovered]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, color-mix(in srgb, var(--atbl-text) 4%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:is(:hover, [data-hovered]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-hover-surface, color-mix(in srgb, var(--atbl-text) 4%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-webkit-any(:active, [data-pressed]):not(:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:-moz-any(:active, [data-pressed]):not(:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"option\"])[data-selected]:is(:active, [data-pressed]):not(:is(:disabled, [data-disabled], [aria-disabled=\"true\"], :has( > input:disabled))) {\n background: var(--atbl-control-pressed-surface, color-mix(in srgb, var(--atbl-text) 8%, var(--atbl-control-selected-surface, var(--atbl-subtle))));\n }\n\n :where([data-atbl-internal-surface=\"field\"], [data-atbl-internal-surface=\"control\"][data-variant=\"outline\"], [data-atbl-internal-surface=\"control\"][data-variant=\"elevated\"]):-webkit-any(:hover, [data-hovered]):not(:-webkit-any(:disabled, :has(input:disabled), [data-disabled], [aria-disabled=\"true\"], [data-invalid], [aria-invalid=\"true\"], :has(input[aria-invalid=\"true\"]))) {\n border-color: var(--atbl-control-hover-border, color-mix(in srgb, var(--atbl-muted) 45%, var(--atbl-border)));\n }\n\n :where([data-atbl-internal-surface=\"field\"], [data-atbl-internal-surface=\"control\"][data-variant=\"outline\"], [data-atbl-internal-surface=\"control\"][data-variant=\"elevated\"]):-moz-any(:hover, [data-hovered]):not(:-moz-any(:disabled, :has(input:disabled), [data-disabled], [aria-disabled=\"true\"], [data-invalid], [aria-invalid=\"true\"], :has(input[aria-invalid=\"true\"]))) {\n border-color: var(--atbl-control-hover-border, color-mix(in srgb, var(--atbl-muted) 45%, var(--atbl-border)));\n }\n\n :where([data-atbl-internal-surface=\"field\"], [data-atbl-internal-surface=\"control\"][data-variant=\"outline\"], [data-atbl-internal-surface=\"control\"][data-variant=\"elevated\"]):is(:hover, [data-hovered]):not(:is(:disabled, :has(input:disabled), [data-disabled], [aria-disabled=\"true\"], [data-invalid], [aria-invalid=\"true\"], :has(input[aria-invalid=\"true\"]))) {\n border-color: var(--atbl-control-hover-border, color-mix(in srgb, var(--atbl-muted) 45%, var(--atbl-border)));\n }\n\n [data-atbl-internal-surface=\"field\"]:-webkit-any([data-invalid], [aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-internal-surface=\"field\"]:-moz-any([data-invalid], [aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-internal-surface=\"field\"]:is([data-invalid], [aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-internal-surface=\"field\"]:has(input[aria-invalid=\"true\"]) {\n border-color: var(--atbl-danger);\n --atbl-focus-color: var(--atbl-danger);\n }\n\n [data-atbl-control=\"text\"]:-webkit-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n color: var(--atbl-muted);\n }\n\n [data-atbl-control=\"text\"]:-moz-any(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n color: var(--atbl-muted);\n }\n\n [data-atbl-control=\"text\"]:is(:disabled, [data-disabled], [aria-disabled=\"true\"]) {\n color: var(--atbl-muted);\n }\n\n @media (forced-colors: active) {\n :-webkit-any([data-atbl-internal-surface], .react-aria-Tab, .react-aria-CalendarCell)[data-selected] {\n outline: 2px solid highlight;\n outline-offset: -2px;\n }\n\n :-moz-any([data-atbl-internal-surface], .react-aria-Tab, .react-aria-CalendarCell)[data-selected] {\n outline: 2px solid highlight;\n outline-offset: -2px;\n }\n\n :is([data-atbl-internal-surface], .react-aria-Tab, .react-aria-CalendarCell)[data-selected] {\n outline: 2px solid highlight;\n outline-offset: -2px;\n }\n }\n}\n\n/* packages/data-app-react/src/annotations/styles.css */\n@layer atbl.tokens, atbl.base, atbl.components, atbl.interaction;\n",
1233
1715
  options
1234
1716
  });
1235
1717
  }
1236
1718
  //#endregion
1237
- export { AnnotationBar, AnnotationTarget, Breakdown, Button, Comparison, DataApp, DataSection, DataValue, DateDisplay, DateTimeRangePicker, DateTimeTooltip, DetailContent, DetailView, EmptyState, ExternalLink, Grid, GridItem, IconButton, MetricWidget, PeriodSummary, Ranking, SectionHeading, Skeleton, Stack, TableWidget, TextContent, TextWidget, Tooltip, TooltipProvider, UpdatedAt, VisualizationWidget, chartColor, createDataContext, createDataHooks, defineDataIdentifiers, injectDataAppAnnotationStyles, injectDataAppStyles, mountDataApp, useDataAppAnnotations, useDateFormatting, useDetailNavigation };
1719
+ export { AnnotationBar, AnnotationTarget, Breakdown, Button, Comparison, DataApp, DataSection, DataValue, DateDisplay, DateTimeRangePicker, DateTimeTooltip, DetailContent, DetailView, EmptyState, ExternalLink, Grid, GridItem, IconButton, MetricWidget, Notice, PeriodSummary, Ranking, SectionHeading, Skeleton, Stack, TableWidget, TextContent, TextWidget, Tooltip, TooltipProvider, UpdatedAt, VisualizationWidget, chartColor, createDataContext, createDataHooks, defineDataIdentifiers, injectDataAppAnnotationStyles, injectDataAppStyles, mountDataApp, useDataAppAnnotations, useDateFormatting, useDetailNavigation };
1238
1720
 
1239
1721
  //# sourceMappingURL=index.js.map