@aiquants/markdown-explorer 0.32.0 → 0.33.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/CHANGELOG.md +47 -0
- package/README.md +4 -3
- package/dist/{EditSurface-BmbDSrrw.js → EditSurface-CWq35IWQ.js} +1 -1
- package/dist/{ExplorerSplit-DPuXOBqs.js → ExplorerSplit-BRY4uy6x.js} +2 -2
- package/dist/{MultiLayout-DKgZ1sBK.js → MultiLayout-DYNGlNy0.js} +2 -2
- package/dist/{NativeScrollBar-C1CtjwBm.js → NativeScrollBar-BsWdvkHa.js} +2 -2
- package/dist/{TreeLayout-BpazybVQ.js → TreeLayout-BQEgZhz9.js} +2 -2
- package/dist/{index-CcXMPCRS.js → index-CO-RgTml.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/{merge-3xGYZqbE.js → merge-D7L_pINl.js} +1 -1
- package/dist/styles/markdown-explorer.css +1 -1
- package/dist/{tapScrollCircle-DacgW2F_.js → tapScrollCircle-CRKZremf.js} +1 -1
- package/docs/behavior/layout.md +10 -8
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.33.0 (2026-11-04) — The tree's lines and expand glyphs lie above opaque row tints, and its colours follow the explorer's theme, on @aiquants/directory-tree 6.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- **The peer `@aiquants/directory-tree` is `^6.0.0` (hosts).** directory-tree 6.0.0 paints its built-in colours from a
|
|
8
|
+
`light-dark()` palette that follows `color-scheme` and no longer reads a `.dark` class, draws the connector lines and
|
|
9
|
+
the expand glyphs on a canvas above the rows (the glyph without its translucent fill), and marks a pending expansion
|
|
10
|
+
busy (`aria-busy` on the tree and the progress cursor) instead of dimming the tree. The explorer paints the row
|
|
11
|
+
states, the names and the lines itself, so the tree's new row colours, the ring of a checked file and the default
|
|
12
|
+
line colour do not reach it; the type icons, now in the 600 / 400 steps of their hues, the glyph without its fill
|
|
13
|
+
and the busy mark do. A host updates the two packages together.
|
|
14
|
+
- **The root declares its theme's `color-scheme` (hosts, readers).** `.aqmx-root` is `color-scheme: light`, and
|
|
15
|
+
`color-scheme: dark` under `theme="dark"`, so the colours the tree paints from its `light-dark()` palette (the type
|
|
16
|
+
icons among them) and the browser's own form controls and scrollbars inside the explorer follow `theme`, whatever
|
|
17
|
+
the page declares. The declaration sits in `@layer components` like every explorer rule, so a host's unlayered rule
|
|
18
|
+
on the root still overrides it.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **The tree's row tints are opaque (readers).** `--aqmx-tree-row-tint` (hovered and gathered rows) is `#f1f1f2` in the
|
|
23
|
+
light scheme and `#1c2436` in the dark one, and `--aqmx-tree-row-accent-tint` (the shown row and rows open as panels)
|
|
24
|
+
`#dce6fc` and `#19387f`: the colours the translucent tints showed over `--aqmx-surface`, so the rows look as before.
|
|
25
|
+
The lines and the expand glyphs drawn above them keep 3:1 against each in both schemes, and the text 7:1.
|
|
26
|
+
|
|
27
|
+
### Removed
|
|
28
|
+
|
|
29
|
+
- **The tree's zero transition under reduced motion.** directory-tree 6.0.0 has no fade on the tree's root element, so
|
|
30
|
+
the explorer no longer sets an `!important` zero `transition-duration` on `.aqmx-explorer-tree-view` under
|
|
31
|
+
`prefers-reduced-motion: reduce`, and the declaration leaves the list of the explorer's `!important` declarations.
|
|
32
|
+
|
|
33
|
+
### Tests
|
|
34
|
+
|
|
35
|
+
- `tests/unit/tokens.test.ts`: the tree's row tints are opaque and the line colour reaches 3:1 against the surface and
|
|
36
|
+
each tint in both schemes; a translucent background in a rule that sets a text colour is refused rather than
|
|
37
|
+
composited; the root declares `color-scheme: light`, and `color-scheme: dark` with the dark theme. The reduced-motion
|
|
38
|
+
test no longer checks the tree's fade.
|
|
39
|
+
- `tests/e2e/tree-row-states.spec.ts`: under forced colors the shown, gathered and open rows in `Highlight` keep the
|
|
40
|
+
ink of their lines as well.
|
|
41
|
+
- `tests/e2e/tree-focus.spec.ts`: the test of the tree's fade under reduced motion goes with the fade.
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
- README: the directory-tree floor and what it brings, the browsers that resolve the tree's `light-dark()` colours,
|
|
46
|
+
the `!important` list without the tree's fade, and the `theme` prop's `color-scheme`. `docs/behavior/layout.md`: the
|
|
47
|
+
busy mark of a pending expansion, the root's `color-scheme`, the opaque tints with the lines above the rows (under
|
|
48
|
+
forced colors as well) and the durations without the tree's fade.
|
|
49
|
+
|
|
3
50
|
## 0.32.0 (2026-11-04) — A narrow panel's header stays one line, the buttons it has no room for moved into an overflow menu, on @aiquants/drag-drop-panels 0.13.0
|
|
4
51
|
|
|
5
52
|
### Breaking
|
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ A single-view (embedding) page never downloads the tree and multi-panel views, w
|
|
|
56
56
|
every row shown when `height` reaches the table's, and boxes no wider than the table — and their write-back through an editor that answers what came of each write (written, changed, a line that would close the fence, unwritable), reads a block's body back and tells them of its other changes,
|
|
57
57
|
the React-free `@aiquants/markdown/code-blocks` that names the `data-code-meta` the sanitizer keeps on `code`, holds the converter's reading of a fenced block's lines and the table labels with their placeholders,
|
|
58
58
|
its Mermaid labels and drawings that finish inside the document when a diagram's text changes or it unmounts mid-drawing, its math diagnostics, gantt sizing, embeds, link cards and their sizes, the React-free `@aiquants/markdown/embeds` the sanitizer worker loads and `@aiquants/markdown/source-lines` the editor and the sanitizer read, and the Node-only link-card handler of `@aiquants/markdown/server`, which needs Node.js 22.13 or later — below the explorer's own floor),
|
|
59
|
-
`@aiquants/directory-tree` ^
|
|
59
|
+
`@aiquants/directory-tree` ^6.0.0 (rows that take paint and text styles only and have no vertical padding, a `removeRootIndent` shift that keeps the root's icon whole, reveals of rows under the scroll bar's buttons, the connector lines and expand glyphs drawn above the rows, its built-in colours from a `light-dark()` palette that follows the explorer's `color-scheme`, and a pending expansion that marks the tree busy without dimming it),
|
|
60
60
|
`@aiquants/drag-drop-panels` ^0.13.0 (the panel headers' move menu, named by the explorer's `panelMove`, their overflow menu, named by `panelMoreActions`, which takes the leading buttons a narrow header's row has no room for, their 44 px buttons under every pointer and the header arrangement the behavior docs follow), `@aiquants/resize-panels` ^2.2.0 (the source of each layout change, by which the tree pane's width is saved),
|
|
61
61
|
`@aiquants/spreadsheet` ^0.19.0 (the grid of those tables — one `role="grid"` with header rows, the content size a box is fitted to, a keyboard move the document follows, a frame around a range that ends where the range does, under a frozen row and in a right-to-left page too, and command chords that type nothing kept from the browser while a cell is being edited,
|
|
62
62
|
read-only where it cannot write and named by its block — which markdown loads only for a document that holds one, and the grid of a table file's preview, whose TSV grammar (`@aiquants/spreadsheet/tsv`) reads a TSV file — `iterateTsvPrefixRows` the rows of a file read partway — and whose operation budget (`SPREADSHEET_MAX_OPERATION_CELLS` of `@aiquants/spreadsheet/view`) bounds its table) and `@aiquants/virtualscroll` ^3.22.1 (44 px scroll-to-edge pills and tap-scroll circles, the pills' text at the body step).
|
|
@@ -64,6 +64,7 @@ A single-view (embedding) page never downloads the tree and multi-panel views, w
|
|
|
64
64
|
- A Markdown parser of your choice on the server that produces HTML and its headings (the explorer sanitizes the HTML before it is sent).
|
|
65
65
|
- Browsers: the multi view's panel-limit notice and the panel headers' move menu use the Popover API (Chrome and Edge 114, Firefox 125, Safari 17 and later). In browsers without it (for example iOS 16), the notice is drawn in place at the stage's corner instead of in the top layer (while the sheet is open it spans the sheet's header, as in every browser), and the move menu does not open: Alt + Shift + an arrow moves a panel there.
|
|
66
66
|
That notice wraps around the sheet's close button with a logical float (`float: inline-end`, Chrome and Edge 118 and later); in browsers without logical floats (before Chrome and Edge 118, the Chromium versions without the Popover API included) a long notice runs partly under the close button.
|
|
67
|
+
The tree's type icons take their colours from `@aiquants/directory-tree`'s `light-dark()` palette (Chrome and Edge 123, Firefox 120, Safari 17.5 and later); a browser without `light-dark()` ignores those declarations, and the icons take their row's text colour.
|
|
67
68
|
|
|
68
69
|
## Installation
|
|
69
70
|
|
|
@@ -281,7 +282,7 @@ under the other document styles (None, Zenn).
|
|
|
281
282
|
to; load it when your documents contain math.
|
|
282
283
|
- Every explorer rule sits in `@layer components`, so your own unlayered rules (or a Tailwind host's utilities) override it — except a few declarations that are `!important` inside the layer, which no unlayered rule of yours can override:
|
|
283
284
|
the document viewer's transparent body background (so the region's `--aqmx-surface` shows through), the outward focus-ring offset of a document's links inside superscripts and subscripts (footnote references:
|
|
284
|
-
`github-markdown.css`, whose `.markdown-body` the viewer puts around the content of every document style, draws a link's ring 2 px inside its box, which on a footnote reference's one-glyph box paints over the glyph), the zero transitions of the resize handle
|
|
285
|
+
`github-markdown.css`, whose `.markdown-body` the viewer puts around the content of every document style, draws a link's ring 2 px inside its box, which on a footnote reference's one-glyph box paints over the glyph), the zero transitions of the resize handle under `prefers-reduced-motion: reduce`, and, under forced colors, the resize handle's focus ring and the text and icon colour inside highlighted tree rows and checked tree settings.
|
|
285
286
|
This is the complete list. Change the rings through the `--aqmx-*` tokens they read (`--aqmx-focus-ring-width`, `--aqmx-focus-ring-offset`); the transitions and the forced-colors system colours read no token.
|
|
286
287
|
- The multi-panel view styles `@aiquants/drag-drop-panels`' chrome only through that package's neutral custom properties, bound with ordinary declarations on the stage to the explorer's tokens: the stage's block and inline padding and the column gap to `--aqmx-space-7` and `--aqmx-space-6`; the panels' surface and border (and those of the bar of hidden panels, an empty column and a hidden panel's stand-in during a drag) to `--aqmx-surface` and `--aqmx-border`; the panel titles (and the text of those parts) to `--aqmx-text`; the header buttons' icons to `--aqmx-text-muted`,
|
|
287
288
|
and on hover to `--aqmx-text` over `--aqmx-surface-sunken`; the custom drag mode's badge (and the pressed drag-mode toggle) to `--aqmx-warning-text` on `--aqmx-warning-surface`; the restore buttons of the bar of hidden panels to `--aqmx-surface` on `--aqmx-accent` (`--aqmx-info-text` while hovered); and the drop placeholders of a drag (text, icon and dashed border) to `--aqmx-accent` on `--aqmx-surface`, the placeholder a drop would land on to `--aqmx-accent-surface`.
|
|
@@ -748,7 +749,7 @@ Spread it into the configuration when your application has no sign-in: it provid
|
|
|
748
749
|
| `storageNamespace` | `string` | Prefix of the browser storage keys (tree settings, expansion state, the multi-view layout, the editor's side-by-side setting and share): 1–64 letters, digits, `.`, `_` or `-`, starting with a letter or digit (anything else throws a `RangeError`). |
|
|
749
750
|
| `locale?` | `"en" \| "ja"` | The UI language (default `"en"`). |
|
|
750
751
|
| `labels?` | `Partial<MarkdownExplorerLabels>` | Per-key overrides; strings that embed a value are functions, except the multi view's templates for `@aiquants/drag-drop-panels` (`MARKDOWN_EXPLORER_LABEL_TEMPLATES`). |
|
|
751
|
-
| `theme?` | `"light" \| "dark"` | The colour scheme (default `"light"`). |
|
|
752
|
+
| `theme?` | `"light" \| "dark"` | The colour scheme (default `"light"`), declared as the root's `color-scheme`, so the colours `@aiquants/directory-tree` paints from its `light-dark()` palette and the browser's own controls and scrollbars inside the explorer follow it, whatever the page declares. |
|
|
752
753
|
| `renderFrame?` | `({ view, children }) => ReactNode` | Wraps each view in your chrome; for example leave the single view without it for embedding. |
|
|
753
754
|
| `renderTreeFailure?` | `(failure) => ReactNode \| undefined` | Renders a tree failure you understand better (by its `code`); `undefined` keeps the explorer's own message. Your node replaces the explorer's callout inside the tree-failure element, which keeps its hooks (`data-testid="markdown-explorer-tree-failure"` and `data-aqmx-failure`); the callout is the failure's only announcement (`role="alert"`), so your node must announce itself (for example with `role="alert"`). |
|
|
754
755
|
| `lockDocumentScroll?` | `boolean` | Stops the page itself from scrolling while the explorer fills the viewport; the explorer must then fit in the viewport (see below). |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as R, jsxs as le } from "react/jsx-runtime";
|
|
2
2
|
import { useState as te, useRef as D, useLayoutEffect as B, useEffectEvent as ve, useEffect as Ne, useImperativeHandle as je, useMemo as J, startTransition as Ye, useCallback as X, useId as Je } from "react";
|
|
3
|
-
import { v as ne, j as me, k as Qe, u as se, l as Ze, m as et, n as tt, o as De, p as nt, q as rt, s as ot, t as it, E as lt, w as st, x as ct, y as at, z as we, A as be, B as ut, G as dt, H as Ee, I as ft, J as mt, K as pt, L as ht } from "./index-
|
|
3
|
+
import { v as ne, j as me, k as Qe, u as se, l as Ze, m as et, n as tt, o as De, p as nt, q as rt, s as ot, t as it, E as lt, w as st, x as ct, y as at, z as we, A as be, B as ut, G as dt, H as Ee, I as ft, J as mt, K as pt, L as ht } from "./index-CO-RgTml.js";
|
|
4
4
|
import { fencedBodyAsRead as gt, planFencedBodyEdit as vt, fencedCodeLanguageOf as wt, SPREADSHEETS_LANGUAGE as bt, readFencedLine as Et, listItemWidthOn as xt, openingFenceOn as St } from "@aiquants/markdown/code-blocks";
|
|
5
5
|
import { history as yt, historyKeymap as kt, defaultKeymap as Tt, historyField as At, redo as It, undo as Ot, isolateHistory as Ct } from "@codemirror/commands";
|
|
6
6
|
import { markdown as Lt, markdownLanguage as Mt } from "@codemirror/lang-markdown";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m, jsxs as L, Fragment as Qe } from "react/jsx-runtime";
|
|
2
|
-
import { u as $, t as At, _ as Pe, S as Je, $ as kt, H as Oe, a0 as Lt, a1 as Pt, o as Ot, a2 as qt, a3 as Ct, a4 as Ft } from "./index-
|
|
2
|
+
import { u as $, t as At, _ as Pe, S as Je, $ as kt, H as Oe, a0 as Lt, a1 as Pt, o as Ot, a2 as qt, a3 as Ct, a4 as Ft } from "./index-CO-RgTml.js";
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import { use as ye, createContext as qe, useState as F, useCallback as w, useMemo as C, useRef as E, useLayoutEffect as H, useEffect as D, useSyncExternalStore as Ce, Suspense as et, useId as Re } from "react";
|
|
5
5
|
import { s as Mt, u as _t, v as tt, x as It, y as Dt, z as Ht, C as $t, F as Zt, A as Ve, B as Bt, D as zt, b as Ee, G as Vt } from "./location-perTmwct.js";
|
|
6
6
|
import { useDirectoryTreeState as jt, DirectoryTree as Kt } from "@aiquants/directory-tree";
|
|
7
|
-
import { TAP_SCROLL_CIRCLE as Gt } from "./tapScrollCircle-
|
|
7
|
+
import { TAP_SCROLL_CIRCLE as Gt } from "./tapScrollCircle-CRKZremf.js";
|
|
8
8
|
import { s as Ut } from "./storage-CmGHg7OA.js";
|
|
9
9
|
import { PanelGroup as Wt, Panel as je, PanelResizeHandle as Xt } from "@aiquants/resize-panels";
|
|
10
10
|
import { a as Yt, u as Qt } from "./useSplitPersistence-Du01PHNg.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as ie, jsx as M } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as Je, use as Ne, useRef as q, useState as $, useLayoutEffect as F, useMemo as D, useSyncExternalStore as Xe, useCallback as L, memo as Ze, useEffect as U, useImperativeHandle as Qe } from "react";
|
|
3
3
|
import { n as ce, e as Me, o as en, P as nn, q as tn } from "./location-perTmwct.js";
|
|
4
|
-
import { M as on, u as J, O as rn, Q as ln, D as sn, i as an, f as cn, R as V, G as un, h as Ae, S as dn, N as mn, U as ke, V as fn, W as Ie, X as pn, Y as Re, Z as gn } from "./index-
|
|
5
|
-
import { S as hn, a as vn, b as wn } from "./ExplorerSplit-
|
|
4
|
+
import { M as on, u as J, O as rn, Q as ln, D as sn, i as an, f as cn, R as V, G as un, h as Ae, S as dn, N as mn, U as ke, V as fn, W as Ie, X as pn, Y as Re, Z as gn } from "./index-CO-RgTml.js";
|
|
5
|
+
import { S as hn, a as vn, b as wn } from "./ExplorerSplit-BRY4uy6x.js";
|
|
6
6
|
import { SCROLL_AREA_SELECTOR as Le, SCROLL_ROOT_SELECTOR as te, PANEL_ACTION_ATTRIBUTE as he, generateColumnIds as yn, sortColumnIds as De, generateColumnId as _e, NO_PANEL_DRAG_ATTRIBUTE as Sn, useDragDropColumns as xn, DEFAULT_DEBUG_CONFIG as ve, DragDropLayout as En } from "@aiquants/drag-drop-panels";
|
|
7
7
|
import { useNavigate as On, useLocation as Pn } from "react-router";
|
|
8
8
|
import { s as bn, r as Cn, w as Tn } from "./storage-CmGHg7OA.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollBar as m } from "@aiquants/virtualscroll";
|
|
3
3
|
import { useCallback as b, useMemo as S, useSyncExternalStore as h } from "react";
|
|
4
|
-
import { u as T, N as d } from "./index-
|
|
5
|
-
import { TAP_SCROLL_CIRCLE as f, NO_TAP_SCROLL_CIRCLE as v } from "./tapScrollCircle-
|
|
4
|
+
import { u as T, N as d } from "./index-CO-RgTml.js";
|
|
5
|
+
import { TAP_SCROLL_CIRCLE as f, NO_TAP_SCROLL_CIRCLE as v } from "./tapScrollCircle-CRKZremf.js";
|
|
6
6
|
const u = (e) => ({ scrollTop: e.scrollTop, scrollHeight: e.scrollHeight, clientHeight: e.clientHeight }), g = (e, t) => e.scrollTop === t.scrollTop && e.scrollHeight === t.scrollHeight && e.clientHeight === t.clientHeight, C = (e) => {
|
|
7
7
|
let t = u(e);
|
|
8
8
|
return {
|
|
@@ -2,8 +2,8 @@ import { jsx as w, jsxs as _ } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as v, useCallback as m, useSyncExternalStore as C, useEffect as h, useState as M } from "react";
|
|
3
3
|
import { useLocation as A } from "react-router";
|
|
4
4
|
import { e as p, c as L } from "./location-perTmwct.js";
|
|
5
|
-
import { u as S, r as y, F as G, e as j, f as H, g as q, h as U, D as $, P as z, i as B } from "./index-
|
|
6
|
-
import { E as Y, a as J, b as K } from "./ExplorerSplit-
|
|
5
|
+
import { u as S, r as y, F as G, e as j, f as H, g as q, h as U, D as $, P as z, i as B } from "./index-CO-RgTml.js";
|
|
6
|
+
import { E as Y, a as J, b as K } from "./ExplorerSplit-BRY4uy6x.js";
|
|
7
7
|
const Q = (t, e) => t.claim !== e.claim || t.readme.status !== e.readme.status ? !1 : t.readme.status === "failed" && e.readme.status === "failed" ? t.readme.failure === e.readme.failure : t.readme.status === "ok" && e.readme.status === "ok" ? t.readme.readme === e.readme.readme : !0, V = (t, e, n) => {
|
|
8
8
|
let r = null;
|
|
9
9
|
return () => {
|
|
@@ -830,7 +830,7 @@ const hn = Object.freeze(["en", "ja"]), ws = "en", qt = (e) => `viewerSpreadshee
|
|
|
830
830
|
q(h, p, { kind: "failed", failure: M.failure });
|
|
831
831
|
return;
|
|
832
832
|
}
|
|
833
|
-
const { mergeDraft: P } = await import("./merge-
|
|
833
|
+
const { mergeDraft: P } = await import("./merge-D7L_pINl.js");
|
|
834
834
|
if (!E(h, p) || I.aborted) return;
|
|
835
835
|
const H = f.get(h);
|
|
836
836
|
H?.flush();
|
|
@@ -1152,7 +1152,7 @@ function ta({
|
|
|
1152
1152
|
}
|
|
1153
1153
|
const na = /* @__PURE__ */ k.forwardRef(ta);
|
|
1154
1154
|
let gt = null;
|
|
1155
|
-
const Sr = () => (gt ??= import("./EditSurface-
|
|
1155
|
+
const Sr = () => (gt ??= import("./EditSurface-CWq35IWQ.js").catch((e) => {
|
|
1156
1156
|
throw gt = null, e;
|
|
1157
1157
|
}), gt), ra = () => {
|
|
1158
1158
|
Sr().catch(() => {
|
|
@@ -1329,7 +1329,7 @@ const xr = "[data-aqmd-fullscreen]", Cu = (e) => e instanceof Element && e.close
|
|
|
1329
1329
|
}),
|
|
1330
1330
|
[i, f]
|
|
1331
1331
|
);
|
|
1332
|
-
}, ka = Ft(() => import("./NativeScrollBar-
|
|
1332
|
+
}, ka = Ft(() => import("./NativeScrollBar-BsWdvkHa.js").then((e) => ({ default: e.NativeScrollBar })));
|
|
1333
1333
|
class Sa extends nr {
|
|
1334
1334
|
state = { failed: !1 };
|
|
1335
1335
|
static getDerivedStateFromError() {
|
|
@@ -1347,7 +1347,7 @@ let Lr = null, wt = null;
|
|
|
1347
1347
|
const Nt = /* @__PURE__ */ new Set(), Ra = (e) => (Nt.add(e), () => {
|
|
1348
1348
|
Nt.delete(e);
|
|
1349
1349
|
}), Ca = () => {
|
|
1350
|
-
wt === null && (wt = import("./tapScrollCircle-
|
|
1350
|
+
wt === null && (wt = import("./tapScrollCircle-CRKZremf.js").then((e) => {
|
|
1351
1351
|
const t = e.TAP_SCROLL_CIRCLE.renderVisual;
|
|
1352
1352
|
if (t === void 0) throw new TypeError("[markdown-explorer] the bars' tap-scroll circle has no look to share");
|
|
1353
1353
|
Lr = t;
|
|
@@ -4671,7 +4671,7 @@ const Zd = () => {
|
|
|
4671
4671
|
});
|
|
4672
4672
|
return i.observe(a, { childList: !0, subtree: !0 }), () => i.disconnect();
|
|
4673
4673
|
}, [t, e]);
|
|
4674
|
-
}, tu = Ft(() => import("./TreeLayout-
|
|
4674
|
+
}, tu = Ft(() => import("./TreeLayout-BQEgZhz9.js").then((e) => ({ default: e.TreeLayout }))), nu = Ft(() => import("./MultiLayout-DYNGlNy0.js").then((e) => ({ default: e.MultiLayout }))), ru = 64, ou = {
|
|
4675
4675
|
request: (e) => {
|
|
4676
4676
|
requestAnimationFrame(e);
|
|
4677
4677
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as _, a6 as L, a7 as s, a8 as R, a9 as e, aa as r, ab as T, ac as A, ad as o } from "./index-
|
|
1
|
+
import { a5 as _, a6 as L, a7 as s, a8 as R, a9 as e, aa as r, ab as T, ac as A, ad as o } from "./index-CO-RgTml.js";
|
|
2
2
|
import { c as O } from "./storage-CmGHg7OA.js";
|
|
3
3
|
import { Y as D, Z as P, _ as S, $ as N, a0 as l, B as i, A as X, a1 as p, D as x, M as U, a2 as t, a3 as C, a4 as c, a5 as f, a6 as F, a7 as d, e as n, i as u, h as H, w as G } from "./location-perTmwct.js";
|
|
4
4
|
import { F as W, Y as B, Z as h, E as m, M as Y, B as b, f as w, i as V, G as v, Q as g, c as k, b as Z } from "./dataRoute-DLhQfdoW.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diff3Merge as d } from "node-diff3";
|
|
2
|
-
import { C, a as R, b as u } from "./index-
|
|
2
|
+
import { C, a as R, b as u } from "./index-CO-RgTml.js";
|
|
3
3
|
const g = (n, o, e, l) => {
|
|
4
4
|
if (o === n || o === e) return { kind: "clean", text: e };
|
|
5
5
|
if (e === n) return { kind: "clean", text: o };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
2
2
|
/*! @aiquants/markdown-explorer — component styles, layered in `components`. The layer order is pinned first (theme, base, components, utilities, as Tailwind CSS declares it), so a Tailwind host's preflight in `base` cannot override the explorer when this sheet is the first to name a layer. */
|
|
3
|
-
@layer theme,base;@layer components{.aqmx-root{--aqmx-space-1:.0625rem;--aqmx-space-2:.125rem;--aqmx-space-3:.1875rem;--aqmx-space-4:.3125rem;--aqmx-space-5:.5rem;--aqmx-space-6:.8125rem;--aqmx-space-7:1.3125rem;--aqmx-space-8:2.125rem;--aqmx-space-9:3.4375rem;--aqmx-control:2.75rem;--aqmx-focus-ring-width:var(--aqmx-space-2);--aqmx-focus-ring-offset:var(--aqmx-space-2);--aqmx-icon:1rem;--aqmx-radius-s:.3125rem;--aqmx-radius-m:.5rem;--aqmx-radius-l:.8125rem;--aqmx-duration-1:89ms;--aqmx-duration-2:.144s;--aqmx-duration-3:.233s;--aqmx-duration-4:.377s;--aqmx-delay-progress:.233s;--aqmx-ease:cubic-bezier(.2, 0, 0, 1);--aqmx-font-size-body:.8125rem;--aqmx-font-size-title:1rem;--aqmx-font-size-display:1.3125rem;--aqmx-line-height-compact:1.382;--aqmx-line-height-prose:1.618;--aqmx-column-measure:40ch;--aqmx-surface:#fff;--aqmx-surface-raised:#f8fafc;--aqmx-surface-sunken:#f1f5f9;--aqmx-border:#cbd5e1;--aqmx-border-strong:#94a3b8;--aqmx-text:#0f172a;--aqmx-text-muted:#3d4a5c;--aqmx-accent:#1d3fa6;--aqmx-accent-surface:#dbeafe;--aqmx-tree-line:#64748b;--aqmx-tree-row-tint:#0f172a0f;--aqmx-tree-row-accent-tint:#2563eb29;--aqmx-focus:#2563eb;--aqmx-info-surface:#eff6ff;--aqmx-info-border:#93c5fd;--aqmx-info-text:#1e3a8a;--aqmx-warning-surface:#fffbeb;--aqmx-warning-border:#fcd34d;--aqmx-warning-text:#78350f;--aqmx-danger-surface:#fef2f2;--aqmx-danger-border:#fca5a5;--aqmx-danger-text:#7f1d1d;--aqmx-syntax-heading:#172554;--aqmx-syntax-link:#1e3a8a;--aqmx-syntax-url:#5b21b6;--aqmx-syntax-code:#7c2d12;--aqmx-syntax-quote:#334155;--aqmx-syntax-mark:#3d4a5c;--aqmx-editor-gutter:#334155;--aqmx-editor-selection:#2563eb36;--aqmx-editor-active-line:#0f172a0d;--aqmx-conflict-ours-tint:#16a34a21;--aqmx-conflict-theirs-tint:#2563eb21;--aqmx-conflict-marker-tint:#d9770636;--aqmx-shadow:0 .0625rem .1875rem #0f172a21, 0 .3125rem .8125rem #0f172a14}.aqmx-root[data-aqmx-theme=dark]{--aqmx-surface:#0f172a;--aqmx-surface-raised:#1e293b;--aqmx-surface-sunken:#020617;--aqmx-border:#334155;--aqmx-border-strong:#64748b;--aqmx-text:#e2e8f0;--aqmx-text-muted:#aab6c8;--aqmx-accent:#bfdbfe;--aqmx-accent-surface:#1e3a8a;--aqmx-tree-line:#94a3b8;--aqmx-tree-row-tint:#e2e8f00f;--aqmx-tree-row-accent-tint:#2563eb70;--aqmx-focus:#60a5fa;--aqmx-info-surface:#172554;--aqmx-info-border:#1d4ed8;--aqmx-info-text:#bfdbfe;--aqmx-warning-surface:#422006;--aqmx-warning-border:#a16207;--aqmx-warning-text:#fde68a;--aqmx-danger-surface:#450a0a;--aqmx-danger-border:#b91c1c;--aqmx-danger-text:#fecaca;--aqmx-syntax-heading:#bfdbfe;--aqmx-syntax-link:#c7d2fe;--aqmx-syntax-url:#ddd6fe;--aqmx-syntax-code:#fdba74;--aqmx-syntax-quote:#cbd5e1;--aqmx-syntax-mark:#cbd5e1;--aqmx-editor-gutter:#cbd5e1;--aqmx-editor-selection:#3b82f657;--aqmx-editor-active-line:#e2e8f00d;--aqmx-conflict-ours-tint:#22c55e36;--aqmx-conflict-theirs-tint:#3b82f636;--aqmx-conflict-marker-tint:#f59e0b36;--aqmx-shadow:0 .0625rem .1875rem #0000008c, 0 .3125rem .8125rem #00000057}@media (pointer:coarse){.aqmx-root{--aqmx-font-size-body:1rem}}@media (forced-colors:active){.aqmx-root.aqmx-root[data-aqmx-theme]{--aqmx-tree-line:CanvasText}}@media (prefers-reduced-motion:reduce){.aqmx-root{--aqmx-duration-1:0s;--aqmx-duration-2:0s;--aqmx-duration-3:0s;--aqmx-duration-4:0s}}.aqmx-root{block-size:100%;min-block-size:0;inline-size:100%;min-inline-size:0;color:var(--aqmx-text);background:var(--aqmx-surface);font-size:var(--aqmx-font-size-body);line-height:var(--aqmx-line-height-compact);flex-direction:column;display:flex;position:relative}.aqmx-root *,.aqmx-root :before,.aqmx-root :after{box-sizing:border-box}.aqmx-icon-button{inline-size:var(--aqmx-control);block-size:var(--aqmx-control);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text-muted);cursor:pointer;transition:background-color var(--aqmx-duration-2) var(--aqmx-ease), color var(--aqmx-duration-2) var(--aqmx-ease);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.aqmx-icon-button:hover{color:var(--aqmx-text);background:var(--aqmx-surface-sunken)}.aqmx-icon-button[aria-pressed=true],.aqmx-icon-button:has(>input:checked),.aqmx-icon-button[aria-expanded=true]{color:var(--aqmx-accent);background:var(--aqmx-accent-surface)}.aqmx-icon-button:disabled{opacity:.382;cursor:not-allowed}.aqmx-icon-button[aria-disabled=true]{cursor:not-allowed}.aqmx-icon-button[aria-disabled=true]:hover{color:var(--aqmx-text-muted);background:0 0}.aqmx-icon-button>svg{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon)}.aqmx-icon-button[aria-disabled=true]>svg{opacity:.382}.aqmx-icon-button:has(>input[type=radio]){position:relative}.aqmx-icon-button>input[type=radio]{opacity:0;cursor:inherit;margin:0;position:absolute;inset:0}.aqmx-root :focus-visible,.aqmx-icon-button:has(>input:focus-visible){outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:var(--aqmx-focus-ring-offset)}.aqmx-callout{gap:var(--aqmx-space-5);padding:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-info-border);border-radius:var(--aqmx-radius-l);color:var(--aqmx-info-text);background:var(--aqmx-info-surface);line-height:var(--aqmx-line-height-prose);display:grid}.aqmx-callout[data-aqmx-tone=warning]{border-color:var(--aqmx-warning-border);color:var(--aqmx-warning-text);background:var(--aqmx-warning-surface)}.aqmx-callout[data-aqmx-tone=danger]{border-color:var(--aqmx-danger-border);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface)}.aqmx-callout-title{font-size:var(--aqmx-font-size-title);font-weight:600;line-height:var(--aqmx-line-height-compact);margin:0}.aqmx-callout-body{margin:0}.aqmx-callout-actions{gap:var(--aqmx-space-5);flex-wrap:wrap;display:flex}.aqmx-callout-action{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-6);border:var(--aqmx-space-1) solid currentColor;border-radius:var(--aqmx-radius-m);color:inherit;font:inherit;cursor:pointer;background:0 0;justify-self:start;align-items:center;font-weight:600;text-decoration:none;display:inline-flex}.aqmx-progress{z-index:2;block-size:var(--aqmx-space-3);pointer-events:none;position:absolute;inset-block-start:0;inset-inline:0;overflow:hidden}.aqmx-progress:before{content:"";background:var(--aqmx-accent);inline-size:38.1966%;animation:aqmx-progress calc(var(--aqmx-duration-4) * 3) var(--aqmx-ease) infinite;position:absolute;inset-block:0}@keyframes aqmx-progress{0%{inset-inline-start:-38.1966%}to{inset-inline-start:100%}}.aqmx-empty{place-content:center;justify-items:center;gap:var(--aqmx-space-6);block-size:100%;padding:var(--aqmx-space-8);color:var(--aqmx-text-muted);text-align:center;line-height:var(--aqmx-line-height-prose);display:grid}.aqmx-empty-title{color:var(--aqmx-text);font-size:var(--aqmx-font-size-title);margin:0;font-weight:600}.aqmx-skeleton{gap:var(--aqmx-space-6);padding:var(--aqmx-space-7);display:grid}.aqmx-skeleton>span{block-size:var(--aqmx-space-6);border-radius:var(--aqmx-radius-s);background:var(--aqmx-surface-sunken);animation:aqmx-pulse calc(var(--aqmx-duration-4) * 4) ease-in-out infinite;display:block}.aqmx-skeleton>span:nth-child(3n+1){inline-size:61.8034%}.aqmx-skeleton>span:nth-child(3n+2){inline-size:100%}.aqmx-skeleton>span:nth-child(3n){inline-size:85.4102%}@keyframes aqmx-pulse{50%{opacity:.618}}.aqmx-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.aqmx-toast{z-index:60;max-inline-size:min(34rem, calc(100% - var(--aqmx-space-8)));padding:var(--aqmx-space-5) var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-warning-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-warning-text);background:var(--aqmx-warning-surface);box-shadow:var(--aqmx-shadow);position:absolute;inset-block-start:var(--aqmx-space-6);inset-inline-end:var(--aqmx-space-7)}@media (prefers-reduced-motion:reduce){.aqmx-progress:before,.aqmx-skeleton>span{animation:none}}@media (forced-colors:active){.aqmx-icon-button[aria-pressed=true],.aqmx-icon-button:has(>input:checked),.aqmx-icon-button[aria-expanded=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.aqmx-icon-button[aria-disabled=true]{color:graytext}.aqmx-root :focus-visible,.aqmx-icon-button:has(>input:focus-visible){outline-color:highlight}.aqmx-progress:before{forced-color-adjust:none;background:highlight}.aqmx-skeleton>span{forced-color-adjust:none;background:graytext}}.aqmx-explorer{gap:var(--aqmx-space-5);block-size:100%;min-block-size:0;min-inline-size:0;padding:var(--aqmx-space-4);color:var(--aqmx-text);background:var(--aqmx-surface);flex-direction:column;display:flex;position:relative;overflow-y:auto}.aqmx-explorer-header{align-items:center;gap:var(--aqmx-space-4);min-block-size:var(--aqmx-control);flex-wrap:wrap;flex:none;display:flex}.aqmx-explorer-source{min-inline-size:min(100%,9rem);block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);background:var(--aqmx-surface-raised);font:inherit;text-overflow:ellipsis;cursor:pointer;flex:9rem}.aqmx-explorer-actions{justify-content:flex-end;align-items:center;gap:var(--aqmx-space-2);flex-wrap:wrap;flex:0 auto;min-inline-size:0;margin-inline-start:auto;display:flex}.aqmx-explorer-body{gap:var(--aqmx-space-5);flex-direction:column;flex:1 1 0;min-block-size:0;min-inline-size:0;display:flex;position:relative}.aqmx-labelled-button{gap:var(--aqmx-space-2);min-inline-size:var(--aqmx-control);inline-size:auto;padding-inline:var(--aqmx-space-3);white-space:nowrap;flex:0 auto;display:inline-flex}.aqmx-labelled-button>svg{flex:none}.aqmx-labelled-button>span{text-overflow:ellipsis;min-inline-size:0;overflow:hidden}.aqmx-explorer-refresh-failure,.aqmx-explorer-expand-all-stop{padding:var(--aqmx-space-4) var(--aqmx-space-5);border:var(--aqmx-space-1) solid;border-radius:var(--aqmx-radius-m);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere;flex:none;margin:0}.aqmx-explorer-refresh-failure{border-color:var(--aqmx-danger-border);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface)}.aqmx-explorer-expand-all-stop{border-color:var(--aqmx-info-border);color:var(--aqmx-info-text);background:var(--aqmx-info-surface)}.aqmx-explorer-actions>.aqmx-labelled-button[data-aqmx-busy=true]>svg{animation:aqmx-explorer-spin calc(var(--aqmx-duration-4) * 3) linear infinite}@keyframes aqmx-explorer-spin{to{rotate:1turn}}.aqmx-explorer-actions>.aqmx-icon-button[aria-busy=true]{cursor:progress}.aqmx-explorer-menu{z-index:50;gap:var(--aqmx-space-1);max-block-size:100%;inline-size:min(21rem,100%);padding:var(--aqmx-space-3);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);display:grid;position:absolute;inset-block-start:0;inset-inline-end:0;overflow-y:auto}.aqmx-explorer-menu-item{align-items:center;gap:var(--aqmx-space-5);inline-size:100%;min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-5);border-radius:var(--aqmx-radius-s);color:var(--aqmx-text);font:inherit;text-align:start;cursor:pointer;transition:background-color var(--aqmx-duration-1) var(--aqmx-ease);background:0 0;border:0;display:flex}.aqmx-explorer-menu-item:hover,.aqmx-explorer-menu-item:focus-visible{background:var(--aqmx-surface-sunken)}.aqmx-explorer-menu-icon{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);color:var(--aqmx-text-muted);flex:none}.aqmx-explorer-menu-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-inline-size:0;overflow:hidden}.aqmx-explorer-menu-value{color:var(--aqmx-accent);font-variant-numeric:tabular-nums;flex:none;font-weight:600}.aqmx-explorer-notices{gap:var(--aqmx-space-5);flex:none;display:grid}.aqmx-explorer-tree-area{min-block-size:calc(var(--aqmx-control) * 3);flex-direction:column;flex:1 1 0;min-inline-size:0;display:flex;position:relative}.aqmx-explorer-tree{flex:1 1 0;min-block-size:0;position:relative}.aqmx-explorer-tree-view{block-size:100%}.aqmx-explorer-tree-progress{z-index:1;align-items:center;gap:var(--aqmx-space-2) var(--aqmx-space-4);max-inline-size:calc(100% - var(--aqmx-space-5) * 3);padding:var(--aqmx-space-3) var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text-muted);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere;pointer-events:none;animation:aqmx-appear var(--aqmx-duration-2) ease-out var(--aqmx-delay-progress) both;flex-wrap:wrap;margin:0;display:flex;position:absolute;inset-block-end:var(--aqmx-space-9);inset-inline-start:var(--aqmx-space-5)}.aqmx-explorer-tree-progress-icon{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);animation:aqmx-explorer-spin calc(var(--aqmx-duration-4) * 3) linear infinite;flex:none}@keyframes aqmx-appear{0%{opacity:0}}.aqmx-explorer-tree-probe{inline-size:0;block-size:var(--aqmx-control);visibility:hidden;pointer-events:none;color:var(--aqmx-tree-line);forced-color-adjust:none;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}.aqmx-explorer-loading{gap:var(--aqmx-space-5);padding:var(--aqmx-space-6) var(--aqmx-space-5);color:var(--aqmx-text-muted);display:grid}.aqmx-explorer-loading-text{margin:0}.aqmx-explorer-loading>.aqmx-skeleton{padding:0}.aqmx-explorer-tree-message{padding:var(--aqmx-space-5);overflow-y:auto}.aqmx-explorer-empty-icon{inline-size:var(--aqmx-space-8);block-size:var(--aqmx-space-8);color:var(--aqmx-border-strong)}.aqmx-explorer-empty-body{margin:0}.aqmx-explorer-tree [role=treeitem]{border-radius:var(--aqmx-radius-s);color:var(--aqmx-text);transition:background-color var(--aqmx-duration-1) var(--aqmx-ease)}.aqmx-explorer-tree [role=treeitem]:hover{color:var(--aqmx-text);background:var(--aqmx-tree-row-tint)}.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true]{color:var(--aqmx-text);background:var(--aqmx-tree-row-tint);box-shadow:inset var(--aqmx-space-2) 0 0 currentColor}.aqmx-explorer-tree [role=treeitem][data-entry-selected=true],.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true]{color:var(--aqmx-accent);background:var(--aqmx-tree-row-accent-tint)}.aqmx-explorer-tree [role=treeitem]:focus-visible{outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true]:focus-visible{box-shadow:inset calc(var(--aqmx-space-2) + var(--aqmx-focus-ring-width)) 0 0 currentColor}.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true]{font-weight:600}.aqmx-explorer-tree [role=treeitem][data-aqmx-children=loading]{animation:aqmx-pulse calc(var(--aqmx-duration-4) * 4) ease-in-out infinite}.aqmx-explorer-tree [role=treeitem][data-aqmx-loop]{color:var(--aqmx-text-muted);font-style:italic}.aqmx-explorer-folder-failed{--aqmx-folder-name-floor:3em;align-items:center;min-inline-size:0;max-inline-size:100%;display:flex}.aqmx-explorer-folder-name{flex:10000 1 var(--aqmx-folder-name-floor);text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;max-inline-size:max-content;overflow:hidden}.aqmx-explorer-folder-error{min-inline-size:0;color:var(--aqmx-danger-text);text-indent:var(--aqmx-space-4);text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;overflow:hidden}.aqmx-explorer-folder-retry{flex:1000000 0 calc(var(--aqmx-icon) + (var(--aqmx-space-3) + var(--aqmx-space-1)) * 2);min-inline-size:calc(var(--aqmx-icon) + (var(--aqmx-space-3) + var(--aqmx-space-1)) * 2);max-inline-size:max-content;min-block-size:var(--aqmx-control);padding:0 var(--aqmx-space-3);border:var(--aqmx-space-1) solid var(--aqmx-danger-border);border-radius:var(--aqmx-radius-s);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface);font:inherit;line-height:var(--aqmx-line-height-compact);cursor:pointer;justify-content:center;align-items:center;margin-inline-start:var(--aqmx-space-4);display:inline-flex;overflow:hidden}.aqmx-explorer-folder-retry:focus-visible{outline-offset:calc(-1 * (var(--aqmx-focus-ring-width) + var(--aqmx-space-1)))}.aqmx-explorer-folder-retry-icon{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);flex:none}.aqmx-explorer-folder-retry-text{min-inline-size:0;text-indent:var(--aqmx-space-3);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.aqmx-explorer-tray{gap:var(--aqmx-space-4);min-block-size:calc(var(--aqmx-control) + (var(--aqmx-space-5) + var(--aqmx-space-1)) * 2);padding:var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);flex-direction:column;flex:0 auto;display:flex;overflow-y:auto}.aqmx-explorer-tray-header{justify-content:space-between;align-items:center;gap:var(--aqmx-space-5);flex:none;display:flex}.aqmx-explorer-tray-title{margin:0;font-weight:600}.aqmx-explorer-tray-button{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-5);border-radius:var(--aqmx-radius-m);color:var(--aqmx-accent);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;font-weight:600}.aqmx-explorer-tray-button:hover{background:var(--aqmx-surface-sunken)}.aqmx-explorer-tray-list{gap:var(--aqmx-space-1);min-block-size:var(--aqmx-control);max-block-size:calc(var(--aqmx-control) * 3);flex:0 auto;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.aqmx-explorer-tray-item{align-items:center;gap:var(--aqmx-space-4);display:flex}.aqmx-explorer-tray-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-inline-size:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden}.aqmx-explorer-tray-open{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-6);border-radius:var(--aqmx-radius-m);color:var(--aqmx-surface);background:var(--aqmx-accent);font:inherit;cursor:pointer;border:0;flex:none;font-weight:600}@media (forced-colors:active){.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true],.aqmx-explorer-tree [role=treeitem][data-entry-selected=true],.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true],.aqmx-explorer-menu-item[aria-checked=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.aqmx-explorer-menu-item[aria-checked=true] *,.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true] *,.aqmx-explorer-tree [role=treeitem][data-entry-selected=true] *,.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true] *{color:inherit!important}.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true]:focus-visible,.aqmx-explorer-tree [role=treeitem][data-entry-selected=true]:focus-visible,.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true]:focus-visible{outline-color:highlighttext}.aqmx-explorer-tray-button,.aqmx-explorer-tray-open,.aqmx-explorer-tray-remove{border:var(--aqmx-space-1) solid ButtonText}}@media (prefers-reduced-motion:reduce){.aqmx-explorer-actions>.aqmx-labelled-button[data-aqmx-busy=true]>svg,.aqmx-explorer-tree-progress-icon,.aqmx-explorer-tree [role=treeitem][data-aqmx-children=loading]{animation:none}.aqmx-explorer-tree-view{transition-duration:0s!important}}.aqmx-document{contain:layout paint;--aqmd-toolbar-inset-block-start:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset));block-size:100%;min-block-size:0;inline-size:100%;min-inline-size:0;color:var(--aqmx-text);background:var(--aqmx-surface);flex-direction:column;display:flex;position:relative;overflow:hidden}.aqmx-document-viewer:has([data-aqmd-scroll-bar]){--aqmd-toolbar-inset-inline-end:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset))}.aqmx-document [data-theme]{background-color:#0000!important}.aqmx-document .markdown-body :is(sup,sub) a{outline-offset:var(--aqmx-focus-ring-offset)!important}.aqmx-document *{scroll-margin:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset))}.aqmx-document :is([data-aqmd-scroll-container],[data-aqmx-document-scroller]):focus-visible{outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-document[aria-busy=true]>:not(.aqmx-progress){opacity:.618;transition:opacity var(--aqmx-duration-3) var(--aqmx-ease)}.aqmx-document-viewer{flex:1 1 0;min-block-size:0;min-inline-size:0}.aqmx-document-notice{margin:var(--aqmx-space-6) var(--aqmx-space-7) 0;overflow-wrap:anywhere;flex:none}.aqmx-document-scroll-row{flex:1 1 0;min-block-size:0}.aqmx-document-failure{min-block-size:0;padding:var(--aqmx-space-7);flex:1 1 0;padding-inline-end:calc(var(--aqmx-space-7) + var(--aqmx-tap-circle-gutter,0px));overflow:auto}.aqmx-document-file{flex-direction:column;flex:1 1 0;min-block-size:0;min-inline-size:0;display:flex}.aqmx-document-spreadsheet-body{min-block-size:0;flex:1 1 0;padding-inline-end:var(--aqmx-tap-circle-gutter,0px);overflow:auto}.aqmx-document-spreadsheet-column{flex-direction:column;min-block-size:100%;display:flex}.aqmx-document-spreadsheet{min-inline-size:0;padding:var(--aqmx-space-6) var(--aqmx-space-7) var(--aqmx-space-7);flex:auto;grid-template:minmax(min-content,1fr)/minmax(0,1fr);display:grid}.aqmx-document-spreadsheet-stage{padding:var(--aqmx-space-7);background:var(--aqmx-surface-sunken);flex:auto;place-items:center;display:grid}.aqmx-document-notice+.aqmx-document-spreadsheet-stage{margin-block-start:var(--aqmx-space-6)}.aqmx-document-spreadsheet-failure{padding:var(--aqmx-space-7);flex:auto}.aqmx-document-spreadsheet>[data-aqmd-spreadsheet]{margin-block:0}.aqmx-sheet-tabs{gap:var(--aqmx-space-3);margin:var(--aqmx-space-6) var(--aqmx-space-7) 0;flex-wrap:wrap;flex:none;display:flex}.aqmx-sheet-tab{min-inline-size:var(--aqmx-control);min-block-size:var(--aqmx-control);max-inline-size:100%;padding-inline:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text-muted);font:inherit;text-align:start;overflow-wrap:anywhere;cursor:pointer;background:0 0;align-items:center;display:inline-flex}.aqmx-sheet-tab:hover{color:var(--aqmx-text);background:var(--aqmx-surface-sunken)}.aqmx-sheet-tab[aria-selected=true]{color:var(--aqmx-accent);background:var(--aqmx-accent-surface);border-color:currentColor;font-weight:600}.aqmx-document-spreadsheet-sheet{flex-direction:column;flex:auto;min-inline-size:0;display:flex}@media (forced-colors:active){.aqmx-sheet-tab[aria-selected=true]{forced-color-adjust:none;color:highlighttext;background:highlight}}.aqmx-document-toolbar{align-items:center;gap:var(--aqmx-space-3);padding:var(--aqmx-space-3) var(--aqmx-space-6);border-block-end:var(--aqmx-space-1) solid var(--aqmx-border);background:var(--aqmx-surface-raised);flex-wrap:wrap;flex:none;display:flex}.aqmx-document-file-icon{color:var(--aqmx-text-muted);flex:none;display:inline-flex}.aqmx-document-file-icon>svg{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon)}.aqmx-document-title{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-inline-size:0;font-weight:600;overflow:hidden}.aqmx-document-level{min-inline-size:var(--aqmx-space-9);color:var(--aqmx-text-muted);font-variant-numeric:tabular-nums;text-align:center;flex:none}.aqmx-document-canvas{touch-action:pan-x pan-y;min-block-size:0;padding:var(--aqmx-space-7);background-color:var(--aqmx-surface-sunken);background-image:radial-gradient(var(--aqmx-border) var(--aqmx-space-1), transparent var(--aqmx-space-1));background-size:var(--aqmx-space-6) var(--aqmx-space-6);flex:1 1 0;grid-template:minmax(0,1fr)/minmax(0,1fr);padding-inline-end:calc(var(--aqmx-space-7) + var(--aqmx-tap-circle-gutter,0px));display:grid;overflow:auto}.aqmx-document-image{margin:auto;display:block}.aqmx-document-image[data-aqmx-image-mode=fit]{object-fit:contain;max-block-size:100%;max-inline-size:100%}.aqmx-document-image[data-aqmx-image-mode=level]{max-block-size:none;max-inline-size:none}.aqmx-document-stage{min-block-size:0;padding:var(--aqmx-space-7);background:var(--aqmx-surface-sunken);flex:1 1 0;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;padding-inline-end:calc(var(--aqmx-space-7) + var(--aqmx-tap-circle-gutter,0px));display:grid;overflow:auto}.aqmx-document-file[data-aqmx-media-type=pdf] .aqmx-document-stage{place-items:stretch stretch;padding:0;padding-inline-end:var(--aqmx-tap-circle-gutter,0px)}.aqmx-document-video{border-radius:var(--aqmx-radius-l);background:var(--aqmx-surface-raised);max-block-size:100%;max-inline-size:100%;box-shadow:var(--aqmx-shadow)}.aqmx-document-audio{inline-size:min(100%, var(--aqmx-column-measure))}.aqmx-document-frame{background:var(--aqmx-surface);border:0;block-size:100%;inline-size:100%}.aqmx-document-inert-link{color:var(--aqmx-text-muted);cursor:not-allowed;text-decoration-style:dotted}.aqmx-document[data-aqmx-document-flow=content]{contain:layout;block-size:auto;overflow:visible}.aqmx-document[data-aqmx-document-flow=content]>*,.aqmx-document[data-aqmx-document-flow=content] .aqmx-document-file>*{flex:none}.aqmx-document[data-aqmx-document-flow=content] .aqmx-document-frame{aspect-ratio:1/1.41421;block-size:auto}.aqmx-document-refresh-bar{flex-direction:column;flex:none;display:flex;container:aqmx-document-bar/inline-size}.aqmx-document-refresh-row{justify-content:flex-end;align-items:center;gap:var(--aqmx-space-2);padding:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset));display:flex}.aqmx-document-column>.aqmx-document-refresh-bar>.aqmx-document-refresh-row{padding-inline-end:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset) + var(--aqmx-page-bar-inset-inline-end,0px))}.aqmx-document-refresh-failure{margin:0 var(--aqmx-space-3) var(--aqmx-space-2);padding:var(--aqmx-space-4) var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-danger-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere}.aqmx-document-refresh-row>.aqmx-icon-button[data-aqmx-busy=true]>svg{animation:aqmx-explorer-spin calc(var(--aqmx-duration-4) * 3) linear infinite}.aqmx-document-refresh-row>.aqmx-icon-button[aria-busy=true]{cursor:progress}@media (prefers-reduced-motion:reduce){.aqmx-document-refresh-row>.aqmx-icon-button[data-aqmx-busy=true]>svg{animation:none}}.aqmx-edit{background:var(--aqmx-surface);flex:1 1 0;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,1fr);min-block-size:0;min-inline-size:0;display:grid;position:relative}.aqmx-edit[data-aqmx-edit-layout=content]{display:block}.aqmx-edit-editor,.aqmx-edit-preview{background:var(--aqmx-surface);min-block-size:0;min-inline-size:0}.aqmx-edit-editor{-webkit-user-select:text;user-select:text}.aqmx-edit-editor:has(.cm-content:focus-visible){outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-edit-preview{flex-direction:column;display:flex;overflow:hidden}.aqmx-edit-preview [data-aqmd-scroll-container]{overflow-anchor:none}.aqmx-edit[data-aqmx-edit-split=beside]{grid-template-columns:minmax(0, calc(var(--aqmx-edit-share) - var(--aqmx-edit-gutter) / 2)) var(--aqmx-edit-gutter) minmax(0, 1fr)}.aqmx-edit[data-aqmx-edit-split=stacked]{grid-template-rows:minmax(0, calc(var(--aqmx-edit-share) - var(--aqmx-edit-gutter) / 2)) var(--aqmx-edit-gutter) minmax(0, 1fr)}.aqmx-edit[data-aqmx-edit-split]>.aqmx-edit-editor{grid-area:1/1}.aqmx-edit[data-aqmx-edit-split=beside]>.aqmx-edit-preview{grid-area:1/3}.aqmx-edit[data-aqmx-edit-split=stacked]>.aqmx-edit-preview{grid-area:3/1}.aqmx-edit[data-aqmx-edit-split]:before{content:"";background:var(--aqmx-border)}.aqmx-edit[data-aqmx-edit-split=beside]:before{inline-size:var(--aqmx-space-1);grid-area:1/2;justify-self:center}.aqmx-edit[data-aqmx-edit-split=stacked]:before{block-size:var(--aqmx-space-1);grid-area:2/1;align-self:center}.aqmx-edit-split{pointer-events:none;position:absolute;inset:0}.aqmx-edit-split-handle{pointer-events:auto}.aqmx-edit-split-probe{inline-size:var(--aqmx-column-measure);visibility:hidden;block-size:0;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}.aqmx-edit:is([data-aqmx-edit-view=editor],[data-aqmx-edit-view=preview])>:is(.aqmx-edit-editor,.aqmx-edit-preview){grid-area:1/1}.aqmx-edit[data-aqmx-edit-view=editor]>.aqmx-edit-preview,.aqmx-edit[data-aqmx-edit-view=preview]>.aqmx-edit-editor{visibility:hidden}.aqmx-edit[data-aqmx-edit-layout=content]>.aqmx-edit-preview{display:block;overflow:visible}.aqmx-edit[data-aqmx-edit-layout=content]>[hidden]{display:none}.aqmx-edit-view{gap:var(--aqmx-space-2);flex:0 auto;min-inline-size:0;display:flex}@container aqmx-document-bar not (min-inline-size:calc(80ch + 24px)){.aqmx-edit-view>.aqmx-labelled-button>span{display:none}}@media (pointer:coarse){@container aqmx-document-bar not (min-inline-size:calc(80ch + 44px)){.aqmx-edit-view>.aqmx-labelled-button>span{display:none}}}.aqmx-edit-editor [data-aqmx-conflict-line=ours]{background-color:var(--aqmx-conflict-ours-tint)}.aqmx-edit-editor [data-aqmx-conflict-line=theirs]{background-color:var(--aqmx-conflict-theirs-tint)}.aqmx-edit-editor [data-aqmx-conflict-line=marker]{background-color:var(--aqmx-conflict-marker-tint)}.aqmx-edit-editor [data-aqmx-conflict-actions]{gap:var(--aqmx-space-3);padding:var(--aqmx-space-3) var(--aqmx-space-6);background-color:var(--aqmx-conflict-marker-tint);font-family:system-ui,sans-serif;font-size:var(--aqmx-font-size-body);line-height:var(--aqmx-line-height-compact);flex-wrap:wrap;display:flex}.aqmx-edit-editor [data-aqmx-conflict-choice]{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border-strong);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);background:var(--aqmx-surface);font:inherit;cursor:pointer;font-weight:600}.aqmx-edit-editor [data-aqmx-conflict-choice]:hover{background:var(--aqmx-surface-sunken)}.aqmx-multi-panel-frame .aqmx-document[data-aqmx-document-flow=content] .cm-panels-top{inset-block-start:var(--aqmx-multi-panel-pinned-block-size)!important}.aqmx-edit-message{min-block-size:0;padding:var(--aqmx-space-7);flex:1 1 0;overflow:auto}.aqmx-edit-grant-actions{gap:var(--aqmx-space-5);flex-wrap:wrap;display:flex}.aqmx-edit-status{min-inline-size:0;padding-inline:var(--aqmx-space-3);color:var(--aqmx-text-muted);text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;margin:0;overflow:hidden}.aqmx-edit-status[data-aqmx-save=conflicts]{color:var(--aqmx-warning-text)}.aqmx-edit-status[data-aqmx-save=failed]{color:var(--aqmx-danger-text)}.aqmx-document-refresh-bar>.aqmx-edit-grant{margin:0 var(--aqmx-space-3) var(--aqmx-space-2)}.aqmx-confirm{inset:var(--aqmx-dialog-top) auto auto var(--aqmx-dialog-left);margin:var(--aqmx-space-7);inline-size:min(34rem, calc(100vw - 2 * var(--aqmx-space-7)));border:var(--aqmx-space-1) solid var(--aqmx-border-strong);border-radius:var(--aqmx-radius-l);max-inline-size:none;color:var(--aqmx-text);background:var(--aqmx-surface);box-shadow:var(--aqmx-shadow);padding:0;position:fixed}.aqmx-confirm::backdrop{background:#0f172a61}.aqmx-confirm-panel{gap:var(--aqmx-space-6);padding:var(--aqmx-space-7);display:grid}.aqmx-confirm-title{font-size:var(--aqmx-font-size-title);font-weight:600;line-height:var(--aqmx-line-height-compact);margin:0}.aqmx-confirm-body{line-height:var(--aqmx-line-height-prose);overflow-wrap:anywhere;margin:0}.aqmx-confirm-actions{justify-content:flex-end;gap:var(--aqmx-space-5);flex-wrap:wrap;display:flex}.aqmx-confirm-actions>.aqmx-callout-action{justify-self:auto}.aqmx-confirm-actions>[data-aqmx-tone=danger]{border-color:var(--aqmx-danger-border);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface)}.aqmx-confirm-actions>[aria-disabled=true]{opacity:.618;cursor:not-allowed}.aqmx-history{inline-size:min(55rem, calc(100vw - 2 * var(--aqmx-space-7)))}.aqmx-history-panel{max-block-size:calc(100vh - 2 * var(--aqmx-space-7));overflow:auto}.aqmx-history-note{color:var(--aqmx-text-muted);margin:0}.aqmx-history-list{gap:var(--aqmx-space-2);max-block-size:34vh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.aqmx-history-entry{align-items:center;gap:var(--aqmx-space-5);inline-size:100%;min-block-size:var(--aqmx-control);padding:var(--aqmx-space-3) var(--aqmx-space-5);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;display:flex}.aqmx-history-entry:hover{background:var(--aqmx-surface-sunken)}.aqmx-history-entry[aria-pressed=true]{color:var(--aqmx-accent);background:var(--aqmx-accent-surface)}.aqmx-history-mark{padding-inline:var(--aqmx-space-4);border:var(--aqmx-space-1) solid currentColor;border-radius:var(--aqmx-radius-s)}.aqmx-history-text{max-block-size:34vh;padding:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);background:var(--aqmx-surface-raised);overflow:auto}.aqmx-history-text>pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.aqmx-multi-stage{--aqmx-multi-panel-body-floor:calc(3rem * var(--aqmx-line-height-prose));--aqdd-stage-padding-block:var(--aqmx-space-7);--aqdd-stage-padding-inline:var(--aqmx-space-6) calc(var(--aqmx-space-6) + var(--aqmx-multi-stage-bar-gutter));--aqdd-column-gap:var(--aqmx-space-6);--aqdd-panel-surface:var(--aqmx-surface);--aqdd-panel-border:var(--aqmx-border);--aqdd-panel-title-color:var(--aqmx-text);--aqdd-header-button-color:var(--aqmx-text-muted);--aqdd-header-button-hover-color:var(--aqmx-text);--aqdd-header-button-hover-surface:var(--aqmx-surface-sunken);--aqdd-custom-badge-color:var(--aqmx-warning-text);--aqdd-custom-badge-surface:var(--aqmx-warning-surface);--aqdd-restore-button-color:var(--aqmx-surface);--aqdd-restore-button-surface:var(--aqmx-accent);--aqdd-restore-button-hover-surface:var(--aqmx-info-text);--aqdd-drop-placeholder-color:var(--aqmx-accent);--aqdd-drop-placeholder-surface:var(--aqmx-surface);--aqdd-drop-placeholder-target-surface:var(--aqmx-accent-surface);background:var(--aqmx-surface-sunken);block-size:100%;min-block-size:0;min-inline-size:0;color:var(--aqmx-text);flex-direction:column;display:flex;position:relative}.aqmx-multi-stage:focus-visible{outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-multi-probe{inline-size:var(--aqmx-column-measure);visibility:hidden;pointer-events:none;block-size:0;font-size:1rem;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}.aqmx-multi-layout{flex:auto;min-block-size:0}.aqmx-multi-skeleton{grid-template-columns:repeat(auto-fit, minmax(min(100%, var(--aqmx-column-measure)), 1fr));align-content:start;gap:var(--aqmx-space-7);padding:var(--aqmx-space-7);display:grid;overflow:hidden}.aqmx-multi-skeleton-column{border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-l);background:var(--aqmx-surface)}.aqmx-multi-column{min-inline-size:0}.aqmx-multi-panel{outline:var(--aqmx-space-1) solid var(--aqmx-border-strong);outline-offset:0;color:var(--aqmx-text)}.aqmx-multi-panel[data-maximized]{outline-color:var(--aqmx-focus)}.aqmx-multi-panel-frame{content-visibility:auto;contain-intrinsic-block-size:auto var(--aqmx-space-9);min-block-size:100%}.aqmx-multi-panel-frame:focus-visible{outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-multi-panel-frame[data-aqmx-maximized=false]{-webkit-user-select:none;user-select:none}.aqmx-multi-panel-frame>.aqmx-document-refresh-bar{z-index:1;background:var(--aqmx-surface);position:sticky;inset-block-start:0}.aqmx-multi-panel-frame{--aqmx-multi-panel-pinned-block-size:0px}.aqmx-multi-panel-frame .aqmx-document[data-aqmx-document-flow=content] *{scroll-margin-block-start:calc(var(--aqmx-multi-panel-pinned-block-size) + var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset))}.aqmx-multi-panel-frame:has(>.aqmx-document[data-aqmx-document-flow=fill]){flex-direction:column;block-size:100%;display:flex}.aqmx-multi-panel-frame>.aqmx-document[data-aqmx-document-flow=fill]{flex:1 1 0;block-size:auto}.aqmx-multi-panel-frame .aqmx-document-toolbar>.aqmx-icon-button{flex-shrink:1;min-inline-size:0}.aqmx-multi-toast{animation:aqmx-multi-toast-in var(--aqmx-duration-3) var(--aqmx-ease)}.aqmx-multi-toast:popover-open{max-inline-size:min(34rem, calc(var(--aqmx-multi-toast-room) - var(--aqmx-space-8)));margin:0;position:fixed;inset:auto;inset-block-start:calc(var(--aqmx-multi-toast-block-start) + var(--aqmx-space-6));inset-inline-end:calc(var(--aqmx-multi-toast-inline-end) + var(--aqmx-space-7));overflow:visible}@keyframes aqmx-multi-toast-in{0%{opacity:0;translate:0 calc(var(--aqmx-space-5) * -1)}}@media (prefers-reduced-motion:reduce){.aqmx-multi-toast{animation:none}}@media (forced-colors:active){.aqmx-multi-stage:focus-visible,.aqmx-multi-stage :focus-visible,.aqmx-multi-panel[data-maximized]{outline-color:highlight}}.aqmx-split-frame{flex-direction:column;flex:auto;min-block-size:0;min-inline-size:0;display:flex;position:relative}.aqmx-rem-probe{visibility:hidden;pointer-events:none;block-size:0;inline-size:1rem;position:absolute;inset-block-start:0;inset-inline-start:0}.aqmx-split{flex:auto;min-block-size:0}.aqmx-split-explorer,.aqmx-split-content{background:var(--aqmx-surface);min-block-size:0}.aqmx-split-explorer{background:var(--aqmx-surface-raised)}.aqmx-split-explorer .aqmx-explorer{margin-inline-end:calc(var(--aqmx-split-band) / 2)}.aqmx-split-content{padding-inline-start:calc(var(--aqmx-split-band) / 2)}.aqmx-split-handle{background:var(--aqmx-surface-raised);transition:background-color var(--aqmx-duration-2) var(--aqmx-ease)}.aqmx-split-handle:hover,.aqmx-split-handle:focus-visible{background:var(--aqmx-surface-sunken)}.aqmx-sheet-bar{padding:var(--aqmx-space-3) var(--aqmx-space-5);border-block-end:var(--aqmx-space-1) solid var(--aqmx-border);background:var(--aqmx-surface-raised);flex:none;align-items:center;display:flex}.aqmx-sheet-toggle,.aqmx-sheet-close{justify-content:center;align-items:center;gap:var(--aqmx-space-5);min-inline-size:var(--aqmx-control);min-block-size:var(--aqmx-control);padding:0 var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);background:var(--aqmx-surface);font:inherit;cursor:pointer;transition:background-color var(--aqmx-duration-2) var(--aqmx-ease);display:inline-flex}.aqmx-sheet-close{z-index:1;color:var(--aqmx-text-muted);background:var(--aqmx-surface);pointer-events:auto;border-color:#0000;padding:0;position:relative}.aqmx-sheet-toggle:hover,.aqmx-sheet-close:hover{background:var(--aqmx-surface-sunken)}.aqmx-sheet-toggle>svg,.aqmx-sheet-close>svg{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);flex:none}.aqmx-sheet{inline-size:min(calc(100vw - var(--aqmx-space-9)), 21rem);border:0;border-inline-end:var(--aqmx-space-1) solid var(--aqmx-border);block-size:100dvh;max-block-size:none;max-inline-size:none;color:var(--aqmx-text);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);margin:0;padding:0;position:fixed;inset-block:0;inset-inline:0 auto}.aqmx-sheet::backdrop{background:#0f172a61}.aqmx-sheet-panel{flex-direction:column;block-size:100%;display:flex;position:relative}.aqmx-sheet-header{z-index:1;padding:var(--aqmx-space-4);pointer-events:none;justify-content:flex-end;align-items:flex-start;display:flex;position:absolute;inset-block-start:0;inset-inline:0}.aqmx-sheet .aqmx-explorer-header>:first-child{min-block-size:var(--aqmx-control);margin-inline-end:calc(var(--aqmx-control) + var(--aqmx-space-4))}.aqmx-sheet .aqmx-explorer-source{flex-basis:100%;min-inline-size:0}.aqmx-sheet-notice-slot>.aqmx-toast{--aqmx-sheet-notice-band:calc(var(--aqmx-control) + var(--aqmx-space-4) * 2);--aqmx-sheet-notice-line:calc(var(--aqmx-line-height-compact) * 1em);--aqmx-sheet-notice-inset:calc((var(--aqmx-sheet-notice-band) - var(--aqmx-sheet-notice-line)) / 2);z-index:0;max-inline-size:none;padding-block:var(--aqmx-sheet-notice-inset) 0;padding-inline:var(--aqmx-space-6) var(--aqmx-space-4);border:0;border-block-end:var(--aqmx-space-1) solid var(--aqmx-warning-border);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere;box-shadow:none;pointer-events:auto;border-radius:0;position:absolute;inset-block:0 auto;inset-inline:0}.aqmx-sheet-notice-slot>.aqmx-toast:before{content:"";float:inline-end;inline-size:calc(var(--aqmx-control) + var(--aqmx-space-4));block-size:calc(var(--aqmx-sheet-notice-band) - var(--aqmx-sheet-notice-inset) - var(--aqmx-space-1))}.aqmx-sheet-notice-slot>.aqmx-toast:after{content:"";block-size:calc(var(--aqmx-sheet-notice-inset) - var(--aqmx-space-1));display:block}.aqmx-sheet-body{isolation:isolate;flex-direction:column;flex:auto;min-block-size:0;display:flex;position:relative;overflow:hidden}.aqmx-document-column{flex-direction:column;min-block-size:0;display:flex}.aqmx-document-column>.aqmx-document{flex:1 1 0;block-size:auto;min-block-size:0}.aqmx-single{flex:auto;position:relative}.aqmx-tree-document{block-size:100%;inline-size:100%}.aqmx-split-fallback,.aqmx-stage-fallback{background:var(--aqmx-surface-sunken);flex:auto;min-block-size:0}@media (forced-colors:active){.aqmx-sheet-toggle[aria-expanded=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.aqmx-sheet-toggle:focus-visible,.aqmx-sheet-close:focus-visible{outline-color:highlight}.aqmx-split-handle:focus-visible{outline:var(--aqmx-focus-ring-width) solid Highlight!important;outline-offset:calc(-1 * var(--aqmx-focus-ring-width))!important}}@media (prefers-reduced-motion:reduce){.aqmx-split-handle,.aqmx-split-handle *{transition-duration:0s!important}}}@layer utilities;
|
|
3
|
+
@layer theme,base;@layer components{.aqmx-root{color-scheme:light;--aqmx-space-1:.0625rem;--aqmx-space-2:.125rem;--aqmx-space-3:.1875rem;--aqmx-space-4:.3125rem;--aqmx-space-5:.5rem;--aqmx-space-6:.8125rem;--aqmx-space-7:1.3125rem;--aqmx-space-8:2.125rem;--aqmx-space-9:3.4375rem;--aqmx-control:2.75rem;--aqmx-focus-ring-width:var(--aqmx-space-2);--aqmx-focus-ring-offset:var(--aqmx-space-2);--aqmx-icon:1rem;--aqmx-radius-s:.3125rem;--aqmx-radius-m:.5rem;--aqmx-radius-l:.8125rem;--aqmx-duration-1:89ms;--aqmx-duration-2:.144s;--aqmx-duration-3:.233s;--aqmx-duration-4:.377s;--aqmx-delay-progress:.233s;--aqmx-ease:cubic-bezier(.2, 0, 0, 1);--aqmx-font-size-body:.8125rem;--aqmx-font-size-title:1rem;--aqmx-font-size-display:1.3125rem;--aqmx-line-height-compact:1.382;--aqmx-line-height-prose:1.618;--aqmx-column-measure:40ch;--aqmx-surface:#fff;--aqmx-surface-raised:#f8fafc;--aqmx-surface-sunken:#f1f5f9;--aqmx-border:#cbd5e1;--aqmx-border-strong:#94a3b8;--aqmx-text:#0f172a;--aqmx-text-muted:#3d4a5c;--aqmx-accent:#1d3fa6;--aqmx-accent-surface:#dbeafe;--aqmx-tree-line:#64748b;--aqmx-tree-row-tint:#f1f1f2;--aqmx-tree-row-accent-tint:#dce6fc;--aqmx-focus:#2563eb;--aqmx-info-surface:#eff6ff;--aqmx-info-border:#93c5fd;--aqmx-info-text:#1e3a8a;--aqmx-warning-surface:#fffbeb;--aqmx-warning-border:#fcd34d;--aqmx-warning-text:#78350f;--aqmx-danger-surface:#fef2f2;--aqmx-danger-border:#fca5a5;--aqmx-danger-text:#7f1d1d;--aqmx-syntax-heading:#172554;--aqmx-syntax-link:#1e3a8a;--aqmx-syntax-url:#5b21b6;--aqmx-syntax-code:#7c2d12;--aqmx-syntax-quote:#334155;--aqmx-syntax-mark:#3d4a5c;--aqmx-editor-gutter:#334155;--aqmx-editor-selection:#2563eb36;--aqmx-editor-active-line:#0f172a0d;--aqmx-conflict-ours-tint:#16a34a21;--aqmx-conflict-theirs-tint:#2563eb21;--aqmx-conflict-marker-tint:#d9770636;--aqmx-shadow:0 .0625rem .1875rem #0f172a21, 0 .3125rem .8125rem #0f172a14}.aqmx-root[data-aqmx-theme=dark]{color-scheme:dark;--aqmx-surface:#0f172a;--aqmx-surface-raised:#1e293b;--aqmx-surface-sunken:#020617;--aqmx-border:#334155;--aqmx-border-strong:#64748b;--aqmx-text:#e2e8f0;--aqmx-text-muted:#aab6c8;--aqmx-accent:#bfdbfe;--aqmx-accent-surface:#1e3a8a;--aqmx-tree-line:#94a3b8;--aqmx-tree-row-tint:#1c2436;--aqmx-tree-row-accent-tint:#19387f;--aqmx-focus:#60a5fa;--aqmx-info-surface:#172554;--aqmx-info-border:#1d4ed8;--aqmx-info-text:#bfdbfe;--aqmx-warning-surface:#422006;--aqmx-warning-border:#a16207;--aqmx-warning-text:#fde68a;--aqmx-danger-surface:#450a0a;--aqmx-danger-border:#b91c1c;--aqmx-danger-text:#fecaca;--aqmx-syntax-heading:#bfdbfe;--aqmx-syntax-link:#c7d2fe;--aqmx-syntax-url:#ddd6fe;--aqmx-syntax-code:#fdba74;--aqmx-syntax-quote:#cbd5e1;--aqmx-syntax-mark:#cbd5e1;--aqmx-editor-gutter:#cbd5e1;--aqmx-editor-selection:#3b82f657;--aqmx-editor-active-line:#e2e8f00d;--aqmx-conflict-ours-tint:#22c55e36;--aqmx-conflict-theirs-tint:#3b82f636;--aqmx-conflict-marker-tint:#f59e0b36;--aqmx-shadow:0 .0625rem .1875rem #0000008c, 0 .3125rem .8125rem #00000057}@media (pointer:coarse){.aqmx-root{--aqmx-font-size-body:1rem}}@media (forced-colors:active){.aqmx-root.aqmx-root[data-aqmx-theme]{--aqmx-tree-line:CanvasText}}@media (prefers-reduced-motion:reduce){.aqmx-root{--aqmx-duration-1:0s;--aqmx-duration-2:0s;--aqmx-duration-3:0s;--aqmx-duration-4:0s}}.aqmx-root{block-size:100%;min-block-size:0;inline-size:100%;min-inline-size:0;color:var(--aqmx-text);background:var(--aqmx-surface);font-size:var(--aqmx-font-size-body);line-height:var(--aqmx-line-height-compact);flex-direction:column;display:flex;position:relative}.aqmx-root *,.aqmx-root :before,.aqmx-root :after{box-sizing:border-box}.aqmx-icon-button{inline-size:var(--aqmx-control);block-size:var(--aqmx-control);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text-muted);cursor:pointer;transition:background-color var(--aqmx-duration-2) var(--aqmx-ease), color var(--aqmx-duration-2) var(--aqmx-ease);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.aqmx-icon-button:hover{color:var(--aqmx-text);background:var(--aqmx-surface-sunken)}.aqmx-icon-button[aria-pressed=true],.aqmx-icon-button:has(>input:checked),.aqmx-icon-button[aria-expanded=true]{color:var(--aqmx-accent);background:var(--aqmx-accent-surface)}.aqmx-icon-button:disabled{opacity:.382;cursor:not-allowed}.aqmx-icon-button[aria-disabled=true]{cursor:not-allowed}.aqmx-icon-button[aria-disabled=true]:hover{color:var(--aqmx-text-muted);background:0 0}.aqmx-icon-button>svg{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon)}.aqmx-icon-button[aria-disabled=true]>svg{opacity:.382}.aqmx-icon-button:has(>input[type=radio]){position:relative}.aqmx-icon-button>input[type=radio]{opacity:0;cursor:inherit;margin:0;position:absolute;inset:0}.aqmx-root :focus-visible,.aqmx-icon-button:has(>input:focus-visible){outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:var(--aqmx-focus-ring-offset)}.aqmx-callout{gap:var(--aqmx-space-5);padding:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-info-border);border-radius:var(--aqmx-radius-l);color:var(--aqmx-info-text);background:var(--aqmx-info-surface);line-height:var(--aqmx-line-height-prose);display:grid}.aqmx-callout[data-aqmx-tone=warning]{border-color:var(--aqmx-warning-border);color:var(--aqmx-warning-text);background:var(--aqmx-warning-surface)}.aqmx-callout[data-aqmx-tone=danger]{border-color:var(--aqmx-danger-border);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface)}.aqmx-callout-title{font-size:var(--aqmx-font-size-title);font-weight:600;line-height:var(--aqmx-line-height-compact);margin:0}.aqmx-callout-body{margin:0}.aqmx-callout-actions{gap:var(--aqmx-space-5);flex-wrap:wrap;display:flex}.aqmx-callout-action{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-6);border:var(--aqmx-space-1) solid currentColor;border-radius:var(--aqmx-radius-m);color:inherit;font:inherit;cursor:pointer;background:0 0;justify-self:start;align-items:center;font-weight:600;text-decoration:none;display:inline-flex}.aqmx-progress{z-index:2;block-size:var(--aqmx-space-3);pointer-events:none;position:absolute;inset-block-start:0;inset-inline:0;overflow:hidden}.aqmx-progress:before{content:"";background:var(--aqmx-accent);inline-size:38.1966%;animation:aqmx-progress calc(var(--aqmx-duration-4) * 3) var(--aqmx-ease) infinite;position:absolute;inset-block:0}@keyframes aqmx-progress{0%{inset-inline-start:-38.1966%}to{inset-inline-start:100%}}.aqmx-empty{place-content:center;justify-items:center;gap:var(--aqmx-space-6);block-size:100%;padding:var(--aqmx-space-8);color:var(--aqmx-text-muted);text-align:center;line-height:var(--aqmx-line-height-prose);display:grid}.aqmx-empty-title{color:var(--aqmx-text);font-size:var(--aqmx-font-size-title);margin:0;font-weight:600}.aqmx-skeleton{gap:var(--aqmx-space-6);padding:var(--aqmx-space-7);display:grid}.aqmx-skeleton>span{block-size:var(--aqmx-space-6);border-radius:var(--aqmx-radius-s);background:var(--aqmx-surface-sunken);animation:aqmx-pulse calc(var(--aqmx-duration-4) * 4) ease-in-out infinite;display:block}.aqmx-skeleton>span:nth-child(3n+1){inline-size:61.8034%}.aqmx-skeleton>span:nth-child(3n+2){inline-size:100%}.aqmx-skeleton>span:nth-child(3n){inline-size:85.4102%}@keyframes aqmx-pulse{50%{opacity:.618}}.aqmx-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.aqmx-toast{z-index:60;max-inline-size:min(34rem, calc(100% - var(--aqmx-space-8)));padding:var(--aqmx-space-5) var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-warning-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-warning-text);background:var(--aqmx-warning-surface);box-shadow:var(--aqmx-shadow);position:absolute;inset-block-start:var(--aqmx-space-6);inset-inline-end:var(--aqmx-space-7)}@media (prefers-reduced-motion:reduce){.aqmx-progress:before,.aqmx-skeleton>span{animation:none}}@media (forced-colors:active){.aqmx-icon-button[aria-pressed=true],.aqmx-icon-button:has(>input:checked),.aqmx-icon-button[aria-expanded=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.aqmx-icon-button[aria-disabled=true]{color:graytext}.aqmx-root :focus-visible,.aqmx-icon-button:has(>input:focus-visible){outline-color:highlight}.aqmx-progress:before{forced-color-adjust:none;background:highlight}.aqmx-skeleton>span{forced-color-adjust:none;background:graytext}}.aqmx-explorer{gap:var(--aqmx-space-5);block-size:100%;min-block-size:0;min-inline-size:0;padding:var(--aqmx-space-4);color:var(--aqmx-text);background:var(--aqmx-surface);flex-direction:column;display:flex;position:relative;overflow-y:auto}.aqmx-explorer-header{align-items:center;gap:var(--aqmx-space-4);min-block-size:var(--aqmx-control);flex-wrap:wrap;flex:none;display:flex}.aqmx-explorer-source{min-inline-size:min(100%,9rem);block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);background:var(--aqmx-surface-raised);font:inherit;text-overflow:ellipsis;cursor:pointer;flex:9rem}.aqmx-explorer-actions{justify-content:flex-end;align-items:center;gap:var(--aqmx-space-2);flex-wrap:wrap;flex:0 auto;min-inline-size:0;margin-inline-start:auto;display:flex}.aqmx-explorer-body{gap:var(--aqmx-space-5);flex-direction:column;flex:1 1 0;min-block-size:0;min-inline-size:0;display:flex;position:relative}.aqmx-labelled-button{gap:var(--aqmx-space-2);min-inline-size:var(--aqmx-control);inline-size:auto;padding-inline:var(--aqmx-space-3);white-space:nowrap;flex:0 auto;display:inline-flex}.aqmx-labelled-button>svg{flex:none}.aqmx-labelled-button>span{text-overflow:ellipsis;min-inline-size:0;overflow:hidden}.aqmx-explorer-refresh-failure,.aqmx-explorer-expand-all-stop{padding:var(--aqmx-space-4) var(--aqmx-space-5);border:var(--aqmx-space-1) solid;border-radius:var(--aqmx-radius-m);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere;flex:none;margin:0}.aqmx-explorer-refresh-failure{border-color:var(--aqmx-danger-border);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface)}.aqmx-explorer-expand-all-stop{border-color:var(--aqmx-info-border);color:var(--aqmx-info-text);background:var(--aqmx-info-surface)}.aqmx-explorer-actions>.aqmx-labelled-button[data-aqmx-busy=true]>svg{animation:aqmx-explorer-spin calc(var(--aqmx-duration-4) * 3) linear infinite}@keyframes aqmx-explorer-spin{to{rotate:1turn}}.aqmx-explorer-actions>.aqmx-icon-button[aria-busy=true]{cursor:progress}.aqmx-explorer-menu{z-index:50;gap:var(--aqmx-space-1);max-block-size:100%;inline-size:min(21rem,100%);padding:var(--aqmx-space-3);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);display:grid;position:absolute;inset-block-start:0;inset-inline-end:0;overflow-y:auto}.aqmx-explorer-menu-item{align-items:center;gap:var(--aqmx-space-5);inline-size:100%;min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-5);border-radius:var(--aqmx-radius-s);color:var(--aqmx-text);font:inherit;text-align:start;cursor:pointer;transition:background-color var(--aqmx-duration-1) var(--aqmx-ease);background:0 0;border:0;display:flex}.aqmx-explorer-menu-item:hover,.aqmx-explorer-menu-item:focus-visible{background:var(--aqmx-surface-sunken)}.aqmx-explorer-menu-icon{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);color:var(--aqmx-text-muted);flex:none}.aqmx-explorer-menu-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-inline-size:0;overflow:hidden}.aqmx-explorer-menu-value{color:var(--aqmx-accent);font-variant-numeric:tabular-nums;flex:none;font-weight:600}.aqmx-explorer-notices{gap:var(--aqmx-space-5);flex:none;display:grid}.aqmx-explorer-tree-area{min-block-size:calc(var(--aqmx-control) * 3);flex-direction:column;flex:1 1 0;min-inline-size:0;display:flex;position:relative}.aqmx-explorer-tree{flex:1 1 0;min-block-size:0;position:relative}.aqmx-explorer-tree-view{block-size:100%}.aqmx-explorer-tree-progress{z-index:1;align-items:center;gap:var(--aqmx-space-2) var(--aqmx-space-4);max-inline-size:calc(100% - var(--aqmx-space-5) * 3);padding:var(--aqmx-space-3) var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text-muted);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere;pointer-events:none;animation:aqmx-appear var(--aqmx-duration-2) ease-out var(--aqmx-delay-progress) both;flex-wrap:wrap;margin:0;display:flex;position:absolute;inset-block-end:var(--aqmx-space-9);inset-inline-start:var(--aqmx-space-5)}.aqmx-explorer-tree-progress-icon{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);animation:aqmx-explorer-spin calc(var(--aqmx-duration-4) * 3) linear infinite;flex:none}@keyframes aqmx-appear{0%{opacity:0}}.aqmx-explorer-tree-probe{inline-size:0;block-size:var(--aqmx-control);visibility:hidden;pointer-events:none;color:var(--aqmx-tree-line);forced-color-adjust:none;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}.aqmx-explorer-loading{gap:var(--aqmx-space-5);padding:var(--aqmx-space-6) var(--aqmx-space-5);color:var(--aqmx-text-muted);display:grid}.aqmx-explorer-loading-text{margin:0}.aqmx-explorer-loading>.aqmx-skeleton{padding:0}.aqmx-explorer-tree-message{padding:var(--aqmx-space-5);overflow-y:auto}.aqmx-explorer-empty-icon{inline-size:var(--aqmx-space-8);block-size:var(--aqmx-space-8);color:var(--aqmx-border-strong)}.aqmx-explorer-empty-body{margin:0}.aqmx-explorer-tree [role=treeitem]{border-radius:var(--aqmx-radius-s);color:var(--aqmx-text);transition:background-color var(--aqmx-duration-1) var(--aqmx-ease)}.aqmx-explorer-tree [role=treeitem]:hover{color:var(--aqmx-text);background:var(--aqmx-tree-row-tint)}.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true]{color:var(--aqmx-text);background:var(--aqmx-tree-row-tint);box-shadow:inset var(--aqmx-space-2) 0 0 currentColor}.aqmx-explorer-tree [role=treeitem][data-entry-selected=true],.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true]{color:var(--aqmx-accent);background:var(--aqmx-tree-row-accent-tint)}.aqmx-explorer-tree [role=treeitem]:focus-visible{outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true]:focus-visible{box-shadow:inset calc(var(--aqmx-space-2) + var(--aqmx-focus-ring-width)) 0 0 currentColor}.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true]{font-weight:600}.aqmx-explorer-tree [role=treeitem][data-aqmx-children=loading]{animation:aqmx-pulse calc(var(--aqmx-duration-4) * 4) ease-in-out infinite}.aqmx-explorer-tree [role=treeitem][data-aqmx-loop]{color:var(--aqmx-text-muted);font-style:italic}.aqmx-explorer-folder-failed{--aqmx-folder-name-floor:3em;align-items:center;min-inline-size:0;max-inline-size:100%;display:flex}.aqmx-explorer-folder-name{flex:10000 1 var(--aqmx-folder-name-floor);text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;max-inline-size:max-content;overflow:hidden}.aqmx-explorer-folder-error{min-inline-size:0;color:var(--aqmx-danger-text);text-indent:var(--aqmx-space-4);text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;overflow:hidden}.aqmx-explorer-folder-retry{flex:1000000 0 calc(var(--aqmx-icon) + (var(--aqmx-space-3) + var(--aqmx-space-1)) * 2);min-inline-size:calc(var(--aqmx-icon) + (var(--aqmx-space-3) + var(--aqmx-space-1)) * 2);max-inline-size:max-content;min-block-size:var(--aqmx-control);padding:0 var(--aqmx-space-3);border:var(--aqmx-space-1) solid var(--aqmx-danger-border);border-radius:var(--aqmx-radius-s);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface);font:inherit;line-height:var(--aqmx-line-height-compact);cursor:pointer;justify-content:center;align-items:center;margin-inline-start:var(--aqmx-space-4);display:inline-flex;overflow:hidden}.aqmx-explorer-folder-retry:focus-visible{outline-offset:calc(-1 * (var(--aqmx-focus-ring-width) + var(--aqmx-space-1)))}.aqmx-explorer-folder-retry-icon{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);flex:none}.aqmx-explorer-folder-retry-text{min-inline-size:0;text-indent:var(--aqmx-space-3);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.aqmx-explorer-tray{gap:var(--aqmx-space-4);min-block-size:calc(var(--aqmx-control) + (var(--aqmx-space-5) + var(--aqmx-space-1)) * 2);padding:var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);flex-direction:column;flex:0 auto;display:flex;overflow-y:auto}.aqmx-explorer-tray-header{justify-content:space-between;align-items:center;gap:var(--aqmx-space-5);flex:none;display:flex}.aqmx-explorer-tray-title{margin:0;font-weight:600}.aqmx-explorer-tray-button{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-5);border-radius:var(--aqmx-radius-m);color:var(--aqmx-accent);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;font-weight:600}.aqmx-explorer-tray-button:hover{background:var(--aqmx-surface-sunken)}.aqmx-explorer-tray-list{gap:var(--aqmx-space-1);min-block-size:var(--aqmx-control);max-block-size:calc(var(--aqmx-control) * 3);flex:0 auto;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.aqmx-explorer-tray-item{align-items:center;gap:var(--aqmx-space-4);display:flex}.aqmx-explorer-tray-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-inline-size:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden}.aqmx-explorer-tray-open{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-6);border-radius:var(--aqmx-radius-m);color:var(--aqmx-surface);background:var(--aqmx-accent);font:inherit;cursor:pointer;border:0;flex:none;font-weight:600}@media (forced-colors:active){.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true],.aqmx-explorer-tree [role=treeitem][data-entry-selected=true],.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true],.aqmx-explorer-menu-item[aria-checked=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.aqmx-explorer-menu-item[aria-checked=true] *,.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true] *,.aqmx-explorer-tree [role=treeitem][data-entry-selected=true] *,.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true] *{color:inherit!important}.aqmx-explorer-tree [role=treeitem][data-entry-item-selected=true]:focus-visible,.aqmx-explorer-tree [role=treeitem][data-entry-selected=true]:focus-visible,.aqmx-explorer-tree [role=treeitem][data-aqmx-open=true]:focus-visible{outline-color:highlighttext}.aqmx-explorer-tray-button,.aqmx-explorer-tray-open,.aqmx-explorer-tray-remove{border:var(--aqmx-space-1) solid ButtonText}}@media (prefers-reduced-motion:reduce){.aqmx-explorer-actions>.aqmx-labelled-button[data-aqmx-busy=true]>svg,.aqmx-explorer-tree-progress-icon,.aqmx-explorer-tree [role=treeitem][data-aqmx-children=loading]{animation:none}}.aqmx-document{contain:layout paint;--aqmd-toolbar-inset-block-start:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset));block-size:100%;min-block-size:0;inline-size:100%;min-inline-size:0;color:var(--aqmx-text);background:var(--aqmx-surface);flex-direction:column;display:flex;position:relative;overflow:hidden}.aqmx-document-viewer:has([data-aqmd-scroll-bar]){--aqmd-toolbar-inset-inline-end:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset))}.aqmx-document [data-theme]{background-color:#0000!important}.aqmx-document .markdown-body :is(sup,sub) a{outline-offset:var(--aqmx-focus-ring-offset)!important}.aqmx-document *{scroll-margin:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset))}.aqmx-document :is([data-aqmd-scroll-container],[data-aqmx-document-scroller]):focus-visible{outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-document[aria-busy=true]>:not(.aqmx-progress){opacity:.618;transition:opacity var(--aqmx-duration-3) var(--aqmx-ease)}.aqmx-document-viewer{flex:1 1 0;min-block-size:0;min-inline-size:0}.aqmx-document-notice{margin:var(--aqmx-space-6) var(--aqmx-space-7) 0;overflow-wrap:anywhere;flex:none}.aqmx-document-scroll-row{flex:1 1 0;min-block-size:0}.aqmx-document-failure{min-block-size:0;padding:var(--aqmx-space-7);flex:1 1 0;padding-inline-end:calc(var(--aqmx-space-7) + var(--aqmx-tap-circle-gutter,0px));overflow:auto}.aqmx-document-file{flex-direction:column;flex:1 1 0;min-block-size:0;min-inline-size:0;display:flex}.aqmx-document-spreadsheet-body{min-block-size:0;flex:1 1 0;padding-inline-end:var(--aqmx-tap-circle-gutter,0px);overflow:auto}.aqmx-document-spreadsheet-column{flex-direction:column;min-block-size:100%;display:flex}.aqmx-document-spreadsheet{min-inline-size:0;padding:var(--aqmx-space-6) var(--aqmx-space-7) var(--aqmx-space-7);flex:auto;grid-template:minmax(min-content,1fr)/minmax(0,1fr);display:grid}.aqmx-document-spreadsheet-stage{padding:var(--aqmx-space-7);background:var(--aqmx-surface-sunken);flex:auto;place-items:center;display:grid}.aqmx-document-notice+.aqmx-document-spreadsheet-stage{margin-block-start:var(--aqmx-space-6)}.aqmx-document-spreadsheet-failure{padding:var(--aqmx-space-7);flex:auto}.aqmx-document-spreadsheet>[data-aqmd-spreadsheet]{margin-block:0}.aqmx-sheet-tabs{gap:var(--aqmx-space-3);margin:var(--aqmx-space-6) var(--aqmx-space-7) 0;flex-wrap:wrap;flex:none;display:flex}.aqmx-sheet-tab{min-inline-size:var(--aqmx-control);min-block-size:var(--aqmx-control);max-inline-size:100%;padding-inline:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text-muted);font:inherit;text-align:start;overflow-wrap:anywhere;cursor:pointer;background:0 0;align-items:center;display:inline-flex}.aqmx-sheet-tab:hover{color:var(--aqmx-text);background:var(--aqmx-surface-sunken)}.aqmx-sheet-tab[aria-selected=true]{color:var(--aqmx-accent);background:var(--aqmx-accent-surface);border-color:currentColor;font-weight:600}.aqmx-document-spreadsheet-sheet{flex-direction:column;flex:auto;min-inline-size:0;display:flex}@media (forced-colors:active){.aqmx-sheet-tab[aria-selected=true]{forced-color-adjust:none;color:highlighttext;background:highlight}}.aqmx-document-toolbar{align-items:center;gap:var(--aqmx-space-3);padding:var(--aqmx-space-3) var(--aqmx-space-6);border-block-end:var(--aqmx-space-1) solid var(--aqmx-border);background:var(--aqmx-surface-raised);flex-wrap:wrap;flex:none;display:flex}.aqmx-document-file-icon{color:var(--aqmx-text-muted);flex:none;display:inline-flex}.aqmx-document-file-icon>svg{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon)}.aqmx-document-title{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-inline-size:0;font-weight:600;overflow:hidden}.aqmx-document-level{min-inline-size:var(--aqmx-space-9);color:var(--aqmx-text-muted);font-variant-numeric:tabular-nums;text-align:center;flex:none}.aqmx-document-canvas{touch-action:pan-x pan-y;min-block-size:0;padding:var(--aqmx-space-7);background-color:var(--aqmx-surface-sunken);background-image:radial-gradient(var(--aqmx-border) var(--aqmx-space-1), transparent var(--aqmx-space-1));background-size:var(--aqmx-space-6) var(--aqmx-space-6);flex:1 1 0;grid-template:minmax(0,1fr)/minmax(0,1fr);padding-inline-end:calc(var(--aqmx-space-7) + var(--aqmx-tap-circle-gutter,0px));display:grid;overflow:auto}.aqmx-document-image{margin:auto;display:block}.aqmx-document-image[data-aqmx-image-mode=fit]{object-fit:contain;max-block-size:100%;max-inline-size:100%}.aqmx-document-image[data-aqmx-image-mode=level]{max-block-size:none;max-inline-size:none}.aqmx-document-stage{min-block-size:0;padding:var(--aqmx-space-7);background:var(--aqmx-surface-sunken);flex:1 1 0;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;padding-inline-end:calc(var(--aqmx-space-7) + var(--aqmx-tap-circle-gutter,0px));display:grid;overflow:auto}.aqmx-document-file[data-aqmx-media-type=pdf] .aqmx-document-stage{place-items:stretch stretch;padding:0;padding-inline-end:var(--aqmx-tap-circle-gutter,0px)}.aqmx-document-video{border-radius:var(--aqmx-radius-l);background:var(--aqmx-surface-raised);max-block-size:100%;max-inline-size:100%;box-shadow:var(--aqmx-shadow)}.aqmx-document-audio{inline-size:min(100%, var(--aqmx-column-measure))}.aqmx-document-frame{background:var(--aqmx-surface);border:0;block-size:100%;inline-size:100%}.aqmx-document-inert-link{color:var(--aqmx-text-muted);cursor:not-allowed;text-decoration-style:dotted}.aqmx-document[data-aqmx-document-flow=content]{contain:layout;block-size:auto;overflow:visible}.aqmx-document[data-aqmx-document-flow=content]>*,.aqmx-document[data-aqmx-document-flow=content] .aqmx-document-file>*{flex:none}.aqmx-document[data-aqmx-document-flow=content] .aqmx-document-frame{aspect-ratio:1/1.41421;block-size:auto}.aqmx-document-refresh-bar{flex-direction:column;flex:none;display:flex;container:aqmx-document-bar/inline-size}.aqmx-document-refresh-row{justify-content:flex-end;align-items:center;gap:var(--aqmx-space-2);padding:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset));display:flex}.aqmx-document-column>.aqmx-document-refresh-bar>.aqmx-document-refresh-row{padding-inline-end:calc(var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset) + var(--aqmx-page-bar-inset-inline-end,0px))}.aqmx-document-refresh-failure{margin:0 var(--aqmx-space-3) var(--aqmx-space-2);padding:var(--aqmx-space-4) var(--aqmx-space-5);border:var(--aqmx-space-1) solid var(--aqmx-danger-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere}.aqmx-document-refresh-row>.aqmx-icon-button[data-aqmx-busy=true]>svg{animation:aqmx-explorer-spin calc(var(--aqmx-duration-4) * 3) linear infinite}.aqmx-document-refresh-row>.aqmx-icon-button[aria-busy=true]{cursor:progress}@media (prefers-reduced-motion:reduce){.aqmx-document-refresh-row>.aqmx-icon-button[data-aqmx-busy=true]>svg{animation:none}}.aqmx-edit{background:var(--aqmx-surface);flex:1 1 0;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,1fr);min-block-size:0;min-inline-size:0;display:grid;position:relative}.aqmx-edit[data-aqmx-edit-layout=content]{display:block}.aqmx-edit-editor,.aqmx-edit-preview{background:var(--aqmx-surface);min-block-size:0;min-inline-size:0}.aqmx-edit-editor{-webkit-user-select:text;user-select:text}.aqmx-edit-editor:has(.cm-content:focus-visible){outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-edit-preview{flex-direction:column;display:flex;overflow:hidden}.aqmx-edit-preview [data-aqmd-scroll-container]{overflow-anchor:none}.aqmx-edit[data-aqmx-edit-split=beside]{grid-template-columns:minmax(0, calc(var(--aqmx-edit-share) - var(--aqmx-edit-gutter) / 2)) var(--aqmx-edit-gutter) minmax(0, 1fr)}.aqmx-edit[data-aqmx-edit-split=stacked]{grid-template-rows:minmax(0, calc(var(--aqmx-edit-share) - var(--aqmx-edit-gutter) / 2)) var(--aqmx-edit-gutter) minmax(0, 1fr)}.aqmx-edit[data-aqmx-edit-split]>.aqmx-edit-editor{grid-area:1/1}.aqmx-edit[data-aqmx-edit-split=beside]>.aqmx-edit-preview{grid-area:1/3}.aqmx-edit[data-aqmx-edit-split=stacked]>.aqmx-edit-preview{grid-area:3/1}.aqmx-edit[data-aqmx-edit-split]:before{content:"";background:var(--aqmx-border)}.aqmx-edit[data-aqmx-edit-split=beside]:before{inline-size:var(--aqmx-space-1);grid-area:1/2;justify-self:center}.aqmx-edit[data-aqmx-edit-split=stacked]:before{block-size:var(--aqmx-space-1);grid-area:2/1;align-self:center}.aqmx-edit-split{pointer-events:none;position:absolute;inset:0}.aqmx-edit-split-handle{pointer-events:auto}.aqmx-edit-split-probe{inline-size:var(--aqmx-column-measure);visibility:hidden;block-size:0;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}.aqmx-edit:is([data-aqmx-edit-view=editor],[data-aqmx-edit-view=preview])>:is(.aqmx-edit-editor,.aqmx-edit-preview){grid-area:1/1}.aqmx-edit[data-aqmx-edit-view=editor]>.aqmx-edit-preview,.aqmx-edit[data-aqmx-edit-view=preview]>.aqmx-edit-editor{visibility:hidden}.aqmx-edit[data-aqmx-edit-layout=content]>.aqmx-edit-preview{display:block;overflow:visible}.aqmx-edit[data-aqmx-edit-layout=content]>[hidden]{display:none}.aqmx-edit-view{gap:var(--aqmx-space-2);flex:0 auto;min-inline-size:0;display:flex}@container aqmx-document-bar not (min-inline-size:calc(80ch + 24px)){.aqmx-edit-view>.aqmx-labelled-button>span{display:none}}@media (pointer:coarse){@container aqmx-document-bar not (min-inline-size:calc(80ch + 44px)){.aqmx-edit-view>.aqmx-labelled-button>span{display:none}}}.aqmx-edit-editor [data-aqmx-conflict-line=ours]{background-color:var(--aqmx-conflict-ours-tint)}.aqmx-edit-editor [data-aqmx-conflict-line=theirs]{background-color:var(--aqmx-conflict-theirs-tint)}.aqmx-edit-editor [data-aqmx-conflict-line=marker]{background-color:var(--aqmx-conflict-marker-tint)}.aqmx-edit-editor [data-aqmx-conflict-actions]{gap:var(--aqmx-space-3);padding:var(--aqmx-space-3) var(--aqmx-space-6);background-color:var(--aqmx-conflict-marker-tint);font-family:system-ui,sans-serif;font-size:var(--aqmx-font-size-body);line-height:var(--aqmx-line-height-compact);flex-wrap:wrap;display:flex}.aqmx-edit-editor [data-aqmx-conflict-choice]{min-block-size:var(--aqmx-control);padding-inline:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border-strong);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);background:var(--aqmx-surface);font:inherit;cursor:pointer;font-weight:600}.aqmx-edit-editor [data-aqmx-conflict-choice]:hover{background:var(--aqmx-surface-sunken)}.aqmx-multi-panel-frame .aqmx-document[data-aqmx-document-flow=content] .cm-panels-top{inset-block-start:var(--aqmx-multi-panel-pinned-block-size)!important}.aqmx-edit-message{min-block-size:0;padding:var(--aqmx-space-7);flex:1 1 0;overflow:auto}.aqmx-edit-grant-actions{gap:var(--aqmx-space-5);flex-wrap:wrap;display:flex}.aqmx-edit-status{min-inline-size:0;padding-inline:var(--aqmx-space-3);color:var(--aqmx-text-muted);text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;margin:0;overflow:hidden}.aqmx-edit-status[data-aqmx-save=conflicts]{color:var(--aqmx-warning-text)}.aqmx-edit-status[data-aqmx-save=failed]{color:var(--aqmx-danger-text)}.aqmx-document-refresh-bar>.aqmx-edit-grant{margin:0 var(--aqmx-space-3) var(--aqmx-space-2)}.aqmx-confirm{inset:var(--aqmx-dialog-top) auto auto var(--aqmx-dialog-left);margin:var(--aqmx-space-7);inline-size:min(34rem, calc(100vw - 2 * var(--aqmx-space-7)));border:var(--aqmx-space-1) solid var(--aqmx-border-strong);border-radius:var(--aqmx-radius-l);max-inline-size:none;color:var(--aqmx-text);background:var(--aqmx-surface);box-shadow:var(--aqmx-shadow);padding:0;position:fixed}.aqmx-confirm::backdrop{background:#0f172a61}.aqmx-confirm-panel{gap:var(--aqmx-space-6);padding:var(--aqmx-space-7);display:grid}.aqmx-confirm-title{font-size:var(--aqmx-font-size-title);font-weight:600;line-height:var(--aqmx-line-height-compact);margin:0}.aqmx-confirm-body{line-height:var(--aqmx-line-height-prose);overflow-wrap:anywhere;margin:0}.aqmx-confirm-actions{justify-content:flex-end;gap:var(--aqmx-space-5);flex-wrap:wrap;display:flex}.aqmx-confirm-actions>.aqmx-callout-action{justify-self:auto}.aqmx-confirm-actions>[data-aqmx-tone=danger]{border-color:var(--aqmx-danger-border);color:var(--aqmx-danger-text);background:var(--aqmx-danger-surface)}.aqmx-confirm-actions>[aria-disabled=true]{opacity:.618;cursor:not-allowed}.aqmx-history{inline-size:min(55rem, calc(100vw - 2 * var(--aqmx-space-7)))}.aqmx-history-panel{max-block-size:calc(100vh - 2 * var(--aqmx-space-7));overflow:auto}.aqmx-history-note{color:var(--aqmx-text-muted);margin:0}.aqmx-history-list{gap:var(--aqmx-space-2);max-block-size:34vh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.aqmx-history-entry{align-items:center;gap:var(--aqmx-space-5);inline-size:100%;min-block-size:var(--aqmx-control);padding:var(--aqmx-space-3) var(--aqmx-space-5);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;display:flex}.aqmx-history-entry:hover{background:var(--aqmx-surface-sunken)}.aqmx-history-entry[aria-pressed=true]{color:var(--aqmx-accent);background:var(--aqmx-accent-surface)}.aqmx-history-mark{padding-inline:var(--aqmx-space-4);border:var(--aqmx-space-1) solid currentColor;border-radius:var(--aqmx-radius-s)}.aqmx-history-text{max-block-size:34vh;padding:var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);background:var(--aqmx-surface-raised);overflow:auto}.aqmx-history-text>pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.aqmx-multi-stage{--aqmx-multi-panel-body-floor:calc(3rem * var(--aqmx-line-height-prose));--aqdd-stage-padding-block:var(--aqmx-space-7);--aqdd-stage-padding-inline:var(--aqmx-space-6) calc(var(--aqmx-space-6) + var(--aqmx-multi-stage-bar-gutter));--aqdd-column-gap:var(--aqmx-space-6);--aqdd-panel-surface:var(--aqmx-surface);--aqdd-panel-border:var(--aqmx-border);--aqdd-panel-title-color:var(--aqmx-text);--aqdd-header-button-color:var(--aqmx-text-muted);--aqdd-header-button-hover-color:var(--aqmx-text);--aqdd-header-button-hover-surface:var(--aqmx-surface-sunken);--aqdd-custom-badge-color:var(--aqmx-warning-text);--aqdd-custom-badge-surface:var(--aqmx-warning-surface);--aqdd-restore-button-color:var(--aqmx-surface);--aqdd-restore-button-surface:var(--aqmx-accent);--aqdd-restore-button-hover-surface:var(--aqmx-info-text);--aqdd-drop-placeholder-color:var(--aqmx-accent);--aqdd-drop-placeholder-surface:var(--aqmx-surface);--aqdd-drop-placeholder-target-surface:var(--aqmx-accent-surface);background:var(--aqmx-surface-sunken);block-size:100%;min-block-size:0;min-inline-size:0;color:var(--aqmx-text);flex-direction:column;display:flex;position:relative}.aqmx-multi-stage:focus-visible{outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-multi-probe{inline-size:var(--aqmx-column-measure);visibility:hidden;pointer-events:none;block-size:0;font-size:1rem;position:absolute;inset-block-start:0;inset-inline-start:0;overflow:hidden}.aqmx-multi-layout{flex:auto;min-block-size:0}.aqmx-multi-skeleton{grid-template-columns:repeat(auto-fit, minmax(min(100%, var(--aqmx-column-measure)), 1fr));align-content:start;gap:var(--aqmx-space-7);padding:var(--aqmx-space-7);display:grid;overflow:hidden}.aqmx-multi-skeleton-column{border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-l);background:var(--aqmx-surface)}.aqmx-multi-column{min-inline-size:0}.aqmx-multi-panel{outline:var(--aqmx-space-1) solid var(--aqmx-border-strong);outline-offset:0;color:var(--aqmx-text)}.aqmx-multi-panel[data-maximized]{outline-color:var(--aqmx-focus)}.aqmx-multi-panel-frame{content-visibility:auto;contain-intrinsic-block-size:auto var(--aqmx-space-9);min-block-size:100%}.aqmx-multi-panel-frame:focus-visible{outline:var(--aqmx-focus-ring-width) solid var(--aqmx-focus);outline-offset:calc(-1 * var(--aqmx-focus-ring-width))}.aqmx-multi-panel-frame[data-aqmx-maximized=false]{-webkit-user-select:none;user-select:none}.aqmx-multi-panel-frame>.aqmx-document-refresh-bar{z-index:1;background:var(--aqmx-surface);position:sticky;inset-block-start:0}.aqmx-multi-panel-frame{--aqmx-multi-panel-pinned-block-size:0px}.aqmx-multi-panel-frame .aqmx-document[data-aqmx-document-flow=content] *{scroll-margin-block-start:calc(var(--aqmx-multi-panel-pinned-block-size) + var(--aqmx-focus-ring-width) + var(--aqmx-focus-ring-offset))}.aqmx-multi-panel-frame:has(>.aqmx-document[data-aqmx-document-flow=fill]){flex-direction:column;block-size:100%;display:flex}.aqmx-multi-panel-frame>.aqmx-document[data-aqmx-document-flow=fill]{flex:1 1 0;block-size:auto}.aqmx-multi-panel-frame .aqmx-document-toolbar>.aqmx-icon-button{flex-shrink:1;min-inline-size:0}.aqmx-multi-toast{animation:aqmx-multi-toast-in var(--aqmx-duration-3) var(--aqmx-ease)}.aqmx-multi-toast:popover-open{max-inline-size:min(34rem, calc(var(--aqmx-multi-toast-room) - var(--aqmx-space-8)));margin:0;position:fixed;inset:auto;inset-block-start:calc(var(--aqmx-multi-toast-block-start) + var(--aqmx-space-6));inset-inline-end:calc(var(--aqmx-multi-toast-inline-end) + var(--aqmx-space-7));overflow:visible}@keyframes aqmx-multi-toast-in{0%{opacity:0;translate:0 calc(var(--aqmx-space-5) * -1)}}@media (prefers-reduced-motion:reduce){.aqmx-multi-toast{animation:none}}@media (forced-colors:active){.aqmx-multi-stage:focus-visible,.aqmx-multi-stage :focus-visible,.aqmx-multi-panel[data-maximized]{outline-color:highlight}}.aqmx-split-frame{flex-direction:column;flex:auto;min-block-size:0;min-inline-size:0;display:flex;position:relative}.aqmx-rem-probe{visibility:hidden;pointer-events:none;block-size:0;inline-size:1rem;position:absolute;inset-block-start:0;inset-inline-start:0}.aqmx-split{flex:auto;min-block-size:0}.aqmx-split-explorer,.aqmx-split-content{background:var(--aqmx-surface);min-block-size:0}.aqmx-split-explorer{background:var(--aqmx-surface-raised)}.aqmx-split-explorer .aqmx-explorer{margin-inline-end:calc(var(--aqmx-split-band) / 2)}.aqmx-split-content{padding-inline-start:calc(var(--aqmx-split-band) / 2)}.aqmx-split-handle{background:var(--aqmx-surface-raised);transition:background-color var(--aqmx-duration-2) var(--aqmx-ease)}.aqmx-split-handle:hover,.aqmx-split-handle:focus-visible{background:var(--aqmx-surface-sunken)}.aqmx-sheet-bar{padding:var(--aqmx-space-3) var(--aqmx-space-5);border-block-end:var(--aqmx-space-1) solid var(--aqmx-border);background:var(--aqmx-surface-raised);flex:none;align-items:center;display:flex}.aqmx-sheet-toggle,.aqmx-sheet-close{justify-content:center;align-items:center;gap:var(--aqmx-space-5);min-inline-size:var(--aqmx-control);min-block-size:var(--aqmx-control);padding:0 var(--aqmx-space-6);border:var(--aqmx-space-1) solid var(--aqmx-border);border-radius:var(--aqmx-radius-m);color:var(--aqmx-text);background:var(--aqmx-surface);font:inherit;cursor:pointer;transition:background-color var(--aqmx-duration-2) var(--aqmx-ease);display:inline-flex}.aqmx-sheet-close{z-index:1;color:var(--aqmx-text-muted);background:var(--aqmx-surface);pointer-events:auto;border-color:#0000;padding:0;position:relative}.aqmx-sheet-toggle:hover,.aqmx-sheet-close:hover{background:var(--aqmx-surface-sunken)}.aqmx-sheet-toggle>svg,.aqmx-sheet-close>svg{inline-size:var(--aqmx-icon);block-size:var(--aqmx-icon);flex:none}.aqmx-sheet{inline-size:min(calc(100vw - var(--aqmx-space-9)), 21rem);border:0;border-inline-end:var(--aqmx-space-1) solid var(--aqmx-border);block-size:100dvh;max-block-size:none;max-inline-size:none;color:var(--aqmx-text);background:var(--aqmx-surface-raised);box-shadow:var(--aqmx-shadow);margin:0;padding:0;position:fixed;inset-block:0;inset-inline:0 auto}.aqmx-sheet::backdrop{background:#0f172a61}.aqmx-sheet-panel{flex-direction:column;block-size:100%;display:flex;position:relative}.aqmx-sheet-header{z-index:1;padding:var(--aqmx-space-4);pointer-events:none;justify-content:flex-end;align-items:flex-start;display:flex;position:absolute;inset-block-start:0;inset-inline:0}.aqmx-sheet .aqmx-explorer-header>:first-child{min-block-size:var(--aqmx-control);margin-inline-end:calc(var(--aqmx-control) + var(--aqmx-space-4))}.aqmx-sheet .aqmx-explorer-source{flex-basis:100%;min-inline-size:0}.aqmx-sheet-notice-slot>.aqmx-toast{--aqmx-sheet-notice-band:calc(var(--aqmx-control) + var(--aqmx-space-4) * 2);--aqmx-sheet-notice-line:calc(var(--aqmx-line-height-compact) * 1em);--aqmx-sheet-notice-inset:calc((var(--aqmx-sheet-notice-band) - var(--aqmx-sheet-notice-line)) / 2);z-index:0;max-inline-size:none;padding-block:var(--aqmx-sheet-notice-inset) 0;padding-inline:var(--aqmx-space-6) var(--aqmx-space-4);border:0;border-block-end:var(--aqmx-space-1) solid var(--aqmx-warning-border);line-height:var(--aqmx-line-height-compact);overflow-wrap:anywhere;box-shadow:none;pointer-events:auto;border-radius:0;position:absolute;inset-block:0 auto;inset-inline:0}.aqmx-sheet-notice-slot>.aqmx-toast:before{content:"";float:inline-end;inline-size:calc(var(--aqmx-control) + var(--aqmx-space-4));block-size:calc(var(--aqmx-sheet-notice-band) - var(--aqmx-sheet-notice-inset) - var(--aqmx-space-1))}.aqmx-sheet-notice-slot>.aqmx-toast:after{content:"";block-size:calc(var(--aqmx-sheet-notice-inset) - var(--aqmx-space-1));display:block}.aqmx-sheet-body{isolation:isolate;flex-direction:column;flex:auto;min-block-size:0;display:flex;position:relative;overflow:hidden}.aqmx-document-column{flex-direction:column;min-block-size:0;display:flex}.aqmx-document-column>.aqmx-document{flex:1 1 0;block-size:auto;min-block-size:0}.aqmx-single{flex:auto;position:relative}.aqmx-tree-document{block-size:100%;inline-size:100%}.aqmx-split-fallback,.aqmx-stage-fallback{background:var(--aqmx-surface-sunken);flex:auto;min-block-size:0}@media (forced-colors:active){.aqmx-sheet-toggle[aria-expanded=true]{forced-color-adjust:none;color:highlighttext;background:highlight}.aqmx-sheet-toggle:focus-visible,.aqmx-sheet-close:focus-visible{outline-color:highlight}.aqmx-split-handle:focus-visible{outline:var(--aqmx-focus-ring-width) solid Highlight!important;outline-offset:calc(-1 * var(--aqmx-focus-ring-width))!important}}@media (prefers-reduced-motion:reduce){.aqmx-split-handle,.aqmx-split-handle *{transition-duration:0s!important}}}@layer utilities;
|
package/docs/behavior/layout.md
CHANGED
|
@@ -60,7 +60,8 @@ When the frame is narrower than 13rem × φ² — a phone, or a narrow window
|
|
|
60
60
|
- **Expand all.** Each press opens every folder and keeps opening the folders inside as their listings land, until the tree is fully open or the press's budget (`expandAll` in the configuration) runs out: at most `maxFolders` listings (500 by default), and a folder whose contents are not known yet only down to `maxDepth` levels (16 by default, the top level being 1). Folders whose contents are known — loaded, or listed by the source up front — always open, as do folders loading or failed.
|
|
61
61
|
A press walks the tree level by level, siblings in the tree's order, so its bulk listings run roughly level by level (a listing that lands early can let a deeper level start while a slower, shallower one is still in flight).
|
|
62
62
|
A folder the reader closes during a press stays closed, and the press does not walk into it. The folders a press opened join the tree's remembered expansion (per source, in browser storage), so a reload lists them again as bulk work, without opening anything beyond them and without an announcement. Hiding the explorer pauses a running press, which continues once the explorer is shown again;
|
|
63
|
-
Collapse all, a source switch and a tree with no rows to show (failed, empty or cleared) end it silently.
|
|
63
|
+
Collapse all, a source switch and a tree with no rows to show (failed, empty or cleared) end it silently.
|
|
64
|
+
While a change of the expansion is pending (folders open and close in a React transition), the tree is marked busy (`aria-busy` on the tree) and shows the progress cursor, and nothing in it is dimmed. A running press does not mark it: each level's change would make the mark and the cursor flicker, and the progress line tells the press's progress instead.
|
|
64
65
|
- **Progress line.** While the source has listings queued or in flight, a line floats at the bottom of the tree area, over the rows and clear of the scroll buttons and the scroll bar, without moving the tree (`markdown-explorer-tree-progress`): "Loading 12 folders…", or "Opening all folders (40 opened, 12 loading)…" during a press. After a press stopped at a limit it shows the loading count alone while listings remain and nothing once none does; it never shows the stop sentence, which would cover the last rows until the next press (see the stop notice below).
|
|
65
66
|
It counts the source's listings whichever rows are drawn, so a reader scrolled away from the loading folders still sees them counted. It appears after `--aqmx-delay-progress` (233 ms), so a single fast listing never flashes it, and it stays the same line while a remembered expansion loads level by level (a listing that lands lets the folders inside it be asked for within the same task), so it does not blink between levels. It is not a live region (see [Announcements](#announcements)).
|
|
66
67
|
- **Stop notice.** A press that stopped at a limit leaves its stop sentence — the text announced at the stop — in a notice in the explorer's body, just above the tree area, below the header, a failed refresh's alert and the host's notices (`markdown-explorer-expand-all-stop`, in the notices' info colours). It sits in the pane's flow, so the tree moves down by its height when the press stops and back when the notice clears, and it never covers a row.
|
|
@@ -340,7 +341,7 @@ Space needs no such rule on buttons, which act when the key is released, and a t
|
|
|
340
341
|
The stage's bar sits in 8 px the stage adds to the inline end of its padding, and has no circle: 49 px before that bar a circle would cover the right-most panel's own bar and circle, and a gutter that holds it (54 px more of the stage's padding) would cost the stage a column at a 1920 px or a 1440 px window. Menus and popovers, the scrollers nested in a document and embedded frames (a PDF's included) keep their native scrollbars and have no circle.
|
|
341
342
|
- The explorer's header wraps rather than cutting a control off: the source switch keeps at least 9rem and the icon buttons wrap below it, so every control stays reachable at the minimum width and at large font sizes.
|
|
342
343
|
A labelled button that is wider on its own than its line — Refresh tree in the header, Refresh document in its bar — shrinks, down to one control wide, and ends its label with an ellipsis (its icon stays whole), so it never pushes the explorer pane or the bar sideways; the cut is visual only, and the button's accessible name stays its whole label. The tree settings menu opens below the header.
|
|
343
|
-
- Durations are 89, 144, 233 and 377 ms (`--aqmx-duration-1` to `--aqmx-duration-4`); with `prefers-reduced-motion: reduce` every explorer duration is 0, the resize handles (the explorer's and the editor's)
|
|
344
|
+
- Durations are 89, 144, 233 and 377 ms (`--aqmx-duration-1` to `--aqmx-duration-4`); with `prefers-reduced-motion: reduce` every explorer duration is 0, the resize handles' (the explorer's and the editor's) included. The drag-and-drop panels follow the setting as well: `@aiquants/drag-drop-panels` leaves out its own transitions and its reorder animation.
|
|
344
345
|
- Line heights are 1 + 1/φ² ≈ 1.382 for the interface and φ ≈ 1.618 for the explorer's own prose (callouts and empty states). A document's text keeps the line height that `@aiquants/markdown` and the document style set (not φ).
|
|
345
346
|
- The type scale is 13, 16 and 21 px (0.8125, 1 and 1.3125rem) for body text, titles and display text: 13 and 21 are consecutive Fibonacci numbers (their ratio ≈ φ), and 16 sits near their geometric mean.
|
|
346
347
|
Under a coarse pointer the body text is 16 px (1rem, the reader's root size): it is the size phones read at, and below it Safari on iOS zooms the page into a focused field such as the source switch. Titles keep 16 px there and stand out by their weight, as the platforms' own headline styles do. Tree rows are in the body size (the explorer overrides `@aiquants/directory-tree`'s own 12 px), and a document's text in that of its document style.
|
|
@@ -349,14 +350,15 @@ Space needs no such rule on buttons, which act when the key is released, and a t
|
|
|
349
350
|
## Colour
|
|
350
351
|
|
|
351
352
|
Text colours reach WCAG 2.2's enhanced 7:1 against every surface and tint they are drawn on, in both colour schemes (the editor's syntax colours over its current line and its conflict tints included); a unit test reads the shipped tokens and checks every pair. The scheme follows the `theme` prop (`data-aqmx-theme` on the root), not the operating system, so a host with its own theme switch stays in control.
|
|
353
|
+
The root declares the scheme as its `color-scheme` (`light` or `dark`), so what colours itself by the scheme inside the explorer follows `theme` too, whatever the page declares: the colours `@aiquants/directory-tree` paints from its `light-dark()` palette (the type icons among them), and the browser's own form controls and scrollbars.
|
|
352
354
|
|
|
353
|
-
Tree rows take
|
|
354
|
-
The two row tints are
|
|
355
|
-
Every text and focus-ring pair is checked against
|
|
355
|
+
Tree rows take their text and background colours from the tokens: rest rows `--aqmx-text` on the surface; hovered and selected rows `--aqmx-text` on `--aqmx-tree-row-tint` (a selected row also has a 2 px bar in its text colour); the shown document and documents open as panels `--aqmx-accent` on `--aqmx-tree-row-accent-tint`.
|
|
356
|
+
The two row tints are opaque: with the tree lines on, `@aiquants/directory-tree` draws the connector lines and the expand glyphs on a canvas above the rows, so no row state covers them, and a hovered folder keeps its glyph.
|
|
357
|
+
Every text and focus-ring pair is checked against `--aqmx-surface`, the opaque surface the explorer pane paints under the tree in the split and in the sheet alike, and against each tint. Lines and glyphs use `--aqmx-tree-line`, which reaches 3:1 against every row state in both schemes (the glyph shows whether a folder is expanded).
|
|
356
358
|
The tree draws them in the colour the browser resolves for the token on a hidden probe, never in the token's text, because a canvas resolves a system colour once and keeps it. The colour is read at run time and again when `theme` changes, when forced colors turn on or off and when the preferred colour scheme changes (which is how the browser reports a switch between a light and a dark forced palette), so a host's override recolours them; without the stylesheet no lines are drawn.
|
|
357
|
-
With the tree lines turned off (a tree setting), the tree draws each expand glyph in its row instead, in `--aqmx-tree-line` as well: the explorer passes the token as the glyph's own colour (`@aiquants/directory-tree`'s `expandIconStyle`), so it follows `theme
|
|
359
|
+
With the tree lines turned off (a tree setting), the tree draws each expand glyph in its row instead, in `--aqmx-tree-line` as well: the explorer passes the token as the glyph's own colour (`@aiquants/directory-tree`'s `expandIconStyle`), so it follows `theme` and a host's override of the token, not the tree's own palette.
|
|
358
360
|
|
|
359
361
|
Under forced colors (Windows High Contrast) the explorer draws its states in system colours: the shown document's row, rows open as panels, gathered rows, a checked tree setting, the open tree settings button and the open sheet toggle get `Highlight` with `HighlightText` (`forced-color-adjust: none` on that element only); focus rings, the resize handles' included, are `Highlight`; an unavailable header button is `GrayText`; the selection tray's buttons get a `ButtonText` border. Shown and gathered rows look the same there.
|
|
360
|
-
The tree's lines and expand glyphs are drawn in `CanvasText` of the palette in force, since forced colors never recolour a canvas; switching to a high-contrast theme of the other lightness with the page open redraws them in the new palette. An expand glyph drawn in its row (tree lines off) takes the palette's text colour, like any text.
|
|
361
|
-
A row in `Highlight`
|
|
362
|
+
The tree's lines and expand glyphs are drawn in `CanvasText` of the palette in force, since forced colors never recolour a canvas; switching to a high-contrast theme of the other lightness with the page open redraws them in the new palette. An expand glyph drawn in its row (tree lines off) takes the palette's text colour, like any text. The canvas lies above every row, so neither a hovered row nor a row in `Highlight` covers them.
|
|
363
|
+
A row in `Highlight` is opaque, so the system colour pair is exact. In the document pane the pressed Fit button is drawn in `Highlight` with `HighlightText` and an unavailable zoom button in `GrayText`; in the multi view focus rings and a maximized panel's outline are `Highlight`, and drag-drop-panels draws the pressed custom-mode toggle in `Highlight` with `HighlightText` and an unavailable move button in `GrayText`.
|
|
362
364
|
The loading cues, which are otherwise only a background, keep a system colour of their own (`forced-color-adjust: none` on them): the progress line over a document being replaced is `Highlight`, and every loading skeleton — the tree's, the multi stage's before its layout is measured, and that of a pane waiting for its first document — is `GrayText`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiquants/markdown-explorer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Markdown document explorer for React Router 8 (framework mode): a source tree with a single-document view and a multi-panel reading view, storage-agnostic server ports, golden-ratio layout and an en / ja UI.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"parse5": "^8.0.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@aiquants/directory-tree": "^
|
|
71
|
+
"@aiquants/directory-tree": "^6.0.0",
|
|
72
72
|
"@aiquants/drag-drop-panels": "^0.13.0",
|
|
73
73
|
"@aiquants/markdown": "^12.1.0",
|
|
74
74
|
"@aiquants/resize-panels": "^2.2.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"react-router": "^8.0.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@aiquants/directory-tree": "
|
|
82
|
+
"@aiquants/directory-tree": "6.0.0",
|
|
83
83
|
"@aiquants/drag-drop-panels": "0.13.0",
|
|
84
84
|
"@aiquants/markdown": "12.1.0",
|
|
85
85
|
"@aiquants/resize-panels": "2.2.0",
|