@luci-dev/capture 0.5.5 → 0.5.8
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/LICENSE +1 -1
- package/README.md +15 -0
- package/dist/luci-capture.js +158 -90
- package/dist/ui/devSettings.d.ts +3 -1
- package/dist/ui/devSettings.d.ts.map +1 -1
- package/dist/ui/devSettings.js +13 -10
- package/dist/ui/devSettings.js.map +1 -1
- package/dist/ui/mount.d.ts +1 -1
- package/dist/ui/mount.d.ts.map +1 -1
- package/dist/ui/picker.d.ts +5 -0
- package/dist/ui/picker.d.ts.map +1 -1
- package/dist/ui/picker.js +12 -0
- package/dist/ui/picker.js.map +1 -1
- package/dist/ui/styles.d.ts +1 -1
- package/dist/ui/styles.d.ts.map +1 -1
- package/dist/ui/styles.js +51 -13
- package/dist/ui/styles.js.map +1 -1
- package/dist/ui/toolbar.d.ts +1 -1
- package/dist/ui/toolbar.d.ts.map +1 -1
- package/dist/ui/toolbar.js +30 -22
- package/dist/ui/toolbar.js.map +1 -1
- package/package.json +3 -3
- package/dist/ui/screenshot.d.ts +0 -39
- package/dist/ui/screenshot.d.ts.map +0 -1
- package/dist/ui/screenshot.js +0 -59
- package/dist/ui/screenshot.js.map +0 -1
package/dist/ui/devSettings.d.ts
CHANGED
|
@@ -49,11 +49,13 @@ export interface DevSettingsPanelProps {
|
|
|
49
49
|
/** Capture settings and updater (if passed directly). */
|
|
50
50
|
captureSettings?: CaptureSettings;
|
|
51
51
|
onCaptureSettingsChange?: (s: CaptureSettings) => void;
|
|
52
|
-
/**
|
|
52
|
+
/** Whether Chrome lets Luci use the debugger (the extension; a required permission there), and a way to open help about it. */
|
|
53
53
|
debuggerPermission?: {
|
|
54
54
|
get: () => Promise<boolean>;
|
|
55
55
|
request?: () => void;
|
|
56
56
|
};
|
|
57
|
+
/** Opens Luci's help page, at a section when given ("About the debugger" uses it). */
|
|
58
|
+
onHelp?: (section?: string) => void;
|
|
57
59
|
/** If in feedback mode and there are notes, allow clearing all. */
|
|
58
60
|
feedbackNotesCount?: number;
|
|
59
61
|
onClearAllFeedbackNotes?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devSettings.d.ts","sourceRoot":"","sources":["../../src/ui/devSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAsB,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAG9D,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAE5D,eAAO,MAAM,YAAY;aAAK,SAAS,EAAE,GAAG;aAAE,IAAI,EAAE,GAAG;aAAE,KAAK,EAAE,GAAG;aAAE,OAAO,EAAE,GAAG;aAAE,IAAI,EAAE,GAAG;aAAE,KAAK,EAAE,GAAG;aAAE,MAAM,EAAE,GAAG;aAAE,IAAI,EAAE,GAAG;CAAW,CAAC;AAE5I,eAAO,MAAM,aAAa,kEAMhB,CAAC;AAEX,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,yBAAyB,EAAE,gBAGvC,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C;AAqBD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE3D,MAAM,WAAW,qBAAqB;IACpC,wFAA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AAC;IACpC,wBAAwB,CAAC,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACzD,yDAAyD;IACzD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,uBAAuB,CAAC,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,IAAI,CAAC;IACvD,+HAA+H;IAC/H,kBAAkB,CAAC,EAAE;QACnB,GAAG,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;KACtB,CAAC;IACF,sFAAsF;IACtF,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,mEAAmE;IACnE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;CACtC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,iBA2V5D"}
|
package/dist/ui/devSettings.js
CHANGED
|
@@ -82,10 +82,17 @@ export function DevSettingsPanel(props) {
|
|
|
82
82
|
const [debuggerGranted, setDebuggerGranted] = useState(false);
|
|
83
83
|
useEffect(() => {
|
|
84
84
|
if (props.debuggerPermission?.get) {
|
|
85
|
-
void props.debuggerPermission.get().then(setDebuggerGranted);
|
|
85
|
+
void props.debuggerPermission.get().then(setDebuggerGranted, () => setDebuggerGranted(false));
|
|
86
86
|
}
|
|
87
87
|
}, []);
|
|
88
88
|
const useDebugger = capSettings.useDebugger ?? true;
|
|
89
|
+
/** "About the debugger": the help page at its debugger section, whatever the debugger's state. */
|
|
90
|
+
const openDebuggerHelp = () => {
|
|
91
|
+
if (props.onHelp)
|
|
92
|
+
props.onHelp('debugger-permission');
|
|
93
|
+
else
|
|
94
|
+
props.debuggerPermission?.request?.();
|
|
95
|
+
};
|
|
89
96
|
return (_jsxs("div", { class: "panel", role: "dialog", "aria-label": "Settings", "data-part": "settings", children: [_jsxs("div", { class: "settings-head", children: [_jsx("div", { class: "row", style: { alignItems: 'center', gap: '8px' }, children: _jsx("h2", { children: "Settings" }) }), _jsx(RepoButton, {})] }), _jsxs("div", { class: "project-card", "data-part": "connected-project", children: [_jsxs("div", { class: "project-header", children: [_jsx("span", { class: `status-dot ${activeProject?.project ? 'online' : 'offline'}`, "aria-hidden": "true" }), _jsxs("div", { class: "project-info", children: [_jsx("span", { class: "project-name", children: activeProject?.name ? `Connected to ${activeProject.name}` : 'Not connected to a project' }), activeProject?.project && _jsx("span", { class: "project-path dim", title: activeProject.project, children: activeProject.project }), !activeProject?.project && _jsxs("span", { class: "project-hint dim", children: ["Run ", _jsx("code", { children: "luci serve" }), " in your project terminal"] })] })] }), props.projectInfo?.setUrl && (_jsxs("div", { class: "project-port-row", children: [_jsx("label", { class: "dim", for: "luci-bridge-url", children: "Bridge:" }), _jsx("input", { id: "luci-bridge-url", type: "text", class: "port-input", "data-part": "port-input", value: bridgePortInput, placeholder: "http://127.0.0.1:4545", onChange: (e) => {
|
|
90
97
|
const val = e.currentTarget.value;
|
|
91
98
|
setBridgePortInput(val);
|
|
@@ -101,15 +108,11 @@ export function DevSettingsPanel(props) {
|
|
|
101
108
|
props.onClearAllFeedbackNotes?.();
|
|
102
109
|
setConfirmClear(false);
|
|
103
110
|
}, children: confirmClear ? 'Delete every note on every page?' : 'Clear all notes' }), confirmClear && _jsx("button", { type: "button", onClick: () => setConfirmClear(false), children: "Cancel" })] }))] })), activeTab === 'layout' && (_jsx("div", { class: "tool-settings-body", "data-part": "layout-settings-tab", children: _jsxs("div", { class: "stack", children: [_jsx("span", { class: "field-label", children: "Spacing & layout guidance" }), _jsx("p", { class: "tip-box", children: "Values snap to the page's detected spacing scale (e.g. 4px / 8px). Elements can be moved, resized and spaced freely." }), _jsx("p", { class: "dim", children: "Preview changes live in the browser without modifying code. When finished, Copy prompt generates a structured layout plan for your agent." })] }) })), activeTab === 'capture' && (_jsxs("div", { class: "tool-settings-body", "data-part": "capture-settings-tab", children: [_jsxs("div", { class: "stack", children: [_jsx("span", { class: "field-label", children: "Default file format" }), _jsxs("div", { class: "settings-grid", children: [_jsxs("label", { class: "field-stack", children: [_jsx("span", { class: "dim", children: "Units" }), _jsxs(Select, { "data-setting": "units", value: capSettings.units ?? 'px', onChange: (e) => updateCapSettings({ ...capSettings, units: e.currentTarget.value }), children: [_jsx("option", { value: "px", children: "px" }), _jsx("option", { value: "rem", children: "rem" }), _jsx("option", { value: "both", children: "both" })] })] }), _jsxs("label", { class: "field-stack", children: [_jsx("span", { class: "dim", children: "Colours" }), _jsxs(Select, { "data-setting": "colors", value: capSettings.colors ?? 'hex', onChange: (e) => updateCapSettings({ ...capSettings, colors: e.currentTarget.value }), children: [_jsx("option", { value: "hex", children: "hex" }), _jsx("option", { value: "rgb", children: "rgb" }), _jsx("option", { value: "hsl", children: "hsl" }), _jsx("option", { value: "oklch", children: "oklch" })] })] }), _jsxs("label", { class: "field-stack", title: "The file's source line: the page address, or only the site name", children: [_jsx("span", { class: "dim", children: "Source" }), _jsxs(Select, { "data-setting": "source", value: capSettings.source ?? 'page', onChange: (e) => updateCapSettings({ ...capSettings, source: e.currentTarget.value }), children: [_jsx("option", { value: "page", children: "page address" }), _jsx("option", { value: "site", children: "site name only" })] })] }), _jsxs("label", { class: "field-stack", title: "The file you copy, download and export: Luci's tables, DESIGN.md for Google Stitch, Tailwind CSS, or CSS Variables", children: [_jsx("span", { class: "dim", children: "File" }), _jsxs(Select, { "data-setting": "style", value: capSettings.style ?? 'luci', onChange: (e) => updateCapSettings({ ...capSettings, style: e.currentTarget.value }), children: [_jsx("option", { value: "luci", children: "Luci tables" }), _jsx("option", { value: "stitch", children: "DESIGN.md (Stitch)" }), _jsx("option", { value: "tailwind", children: "Tailwind v4 (@theme)" }), _jsx("option", { value: "tailwind-v3", children: "Tailwind v3 (config.js)" }), _jsx("option", { value: "css-vars", children: "CSS Variables (tokens.css)" })] })] })] })] }), props.debuggerPermission && (_jsxs("div", { class: "project-card", "data-part": "debugger-permission", children: [_jsxs("div", { class: "project-header", children: [_jsx("span", { class: `status-dot ${debuggerGranted && useDebugger ? 'online' : 'offline'}`, "aria-hidden": "true" }), _jsxs("div", { class: "project-info", children: [_jsx("span", { class: "project-name", children: debuggerGranted
|
|
104
|
-
? (useDebugger ? 'Debugger:
|
|
105
|
-
: 'Debugger:
|
|
111
|
+
? (useDebugger ? 'Debugger: on' : 'Debugger: off')
|
|
112
|
+
: 'Debugger: not available' }), _jsx("span", { class: "project-hint dim", children: debuggerGranted
|
|
106
113
|
? (useDebugger
|
|
107
|
-
? '
|
|
108
|
-
: '
|
|
109
|
-
: '
|
|
110
|
-
if (props.debuggerPermission?.request) {
|
|
111
|
-
props.debuggerPermission.request();
|
|
112
|
-
}
|
|
113
|
-
}, children: "Enable in Help" })) })] })), _jsx("hr", { class: "settings-divider" }), _jsxs("div", { class: "stack", children: [_jsx("span", { class: "field-label", children: "Keys" }), _jsxs("div", { class: "shortcut-list", "data-part": "keys", children: [_jsx("span", { children: TOOLS.map(t => _jsxs(_Fragment, { children: [_jsx("kbd", { class: "kbd", children: CAPTURE_KEYS[t] }), " "] })) }), _jsx("span", { class: "dim", children: "Component, Text, Colour, Spacing" }), _jsxs("span", { children: [_jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.page }), " ", _jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.check })] }), _jsx("span", { class: "dim", children: "Whole page, Check a build" }), _jsxs("span", { children: [_jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.basket }), " ", _jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.menu })] }), _jsx("span", { class: "dim", children: "Basket, this menu" }), _jsxs("span", { children: [_jsx("kbd", { class: "kbd", children: "\u2191" }), " ", _jsx("kbd", { class: "kbd", children: "\u2193" })] }), _jsx("span", { class: "dim", children: "Wider or narrower selection" }), _jsx("span", { children: _jsx("kbd", { class: "kbd", children: "Enter" }) }), _jsx("span", { class: "dim", children: "Pick, then take This one" }), _jsx("span", { children: _jsx("kbd", { class: "kbd", children: "Esc" }) }), _jsx("span", { class: "dim", children: "Stop picking, or close the panel" })] })] })] }))] }));
|
|
114
|
+
? 'Luci uses it during a capture for exact states and widths, then detaches it'
|
|
115
|
+
: 'Luci never attaches it: states come from stylesheet rules, widths from a hidden frame')
|
|
116
|
+
: 'Chrome is not letting Luci use it: states come from stylesheet rules, widths from a hidden frame' })] })] }), _jsxs("div", { class: "project-port-row", children: [debuggerGranted && (_jsx("button", { type: "button", class: "btn-secondary", "data-action": "toggle-debugger", onClick: () => updateCapSettings({ ...capSettings, useDebugger: !useDebugger }), children: useDebugger ? "Don't use the debugger" : 'Use the debugger' })), _jsx("button", { type: "button", class: "btn-secondary", "data-action": "debugger-help", onClick: openDebuggerHelp, children: "About the debugger" })] })] })), _jsx("hr", { class: "settings-divider" }), _jsxs("div", { class: "stack", children: [_jsx("span", { class: "field-label", children: "Keys" }), _jsxs("div", { class: "shortcut-list", "data-part": "keys", children: [_jsx("span", { children: TOOLS.map(t => _jsxs(_Fragment, { children: [_jsx("kbd", { class: "kbd", children: CAPTURE_KEYS[t] }), " "] })) }), _jsx("span", { class: "dim", children: "Component, Text, Colour, Spacing" }), _jsxs("span", { children: [_jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.page }), " ", _jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.check })] }), _jsx("span", { class: "dim", children: "Whole page, Check a build" }), _jsxs("span", { children: [_jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.basket }), " ", _jsx("kbd", { class: "kbd", children: CAPTURE_KEYS.menu })] }), _jsx("span", { class: "dim", children: "Basket, this menu" }), _jsxs("span", { children: [_jsx("kbd", { class: "kbd", children: "\u2191" }), " ", _jsx("kbd", { class: "kbd", children: "\u2193" })] }), _jsx("span", { class: "dim", children: "Wider or narrower selection" }), _jsx("span", { children: _jsx("kbd", { class: "kbd", children: "Enter" }) }), _jsx("span", { class: "dim", children: "Pick, then take This one" }), _jsx("span", { children: _jsx("kbd", { class: "kbd", children: "Esc" }) }), _jsx("span", { class: "dim", children: "Stop picking, or close the panel" })] })] })] }))] }));
|
|
114
117
|
}
|
|
115
118
|
//# sourceMappingURL=devSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devSettings.js","sourceRoot":"","sources":["../../src/ui/devSettings.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAoB,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EAAE,kBAAkB,EAAgB,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,CAAC,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAC9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;AAE5D,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAW,CAAC;AAE5I,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,CAAC,YAAY,CAAC;IACrB,OAAO,CAAC,YAAY,CAAC;IACrB,OAAO,CAAC,iBAAiB,CAAC;IAC1B,OAAO,CAAC,eAAe,CAAC;IACxB,OAAO,CAAC,UAAU,CAAC;CACX,CAAC;AAQX,MAAM,CAAC,MAAM,yBAAyB,GAAqB;IACzD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC;IAC7B,MAAM,EAAE,UAAU;CACnB,CA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EACjD,yBAAM,cAAK,KAAK,EAAC,KAAK,oBAAU,GAAO,EACvC,eAAM,KAAK,EAAC,KAAK,iDAAwC,IACrD,IACF,IACF,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
package/dist/ui/mount.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export interface MountOptions {
|
|
|
57
57
|
movable?: boolean;
|
|
58
58
|
/** Where "Use my tokens" finds the person's tokens (v0.4). */
|
|
59
59
|
myTokens?: MyTokensSource;
|
|
60
|
-
/**
|
|
60
|
+
/** Whether Chrome lets Luci use the debugger (the extension; a required permission there), and a way to open help about it. */
|
|
61
61
|
debuggerPermission?: {
|
|
62
62
|
get: () => Promise<boolean>;
|
|
63
63
|
request?: () => void;
|
package/dist/ui/mount.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mount.d.ts","sourceRoot":"","sources":["../../src/ui/mount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAI1E,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAC1C;;;GAGG;AACH,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAG5D,M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G,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,+HAA+H;IAC/H,kBAAkB,CAAC,EAAE;QACnB,GAAG,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;KACtB,CAAC;IACF,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uEAAuE;IACvE,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,KAAK,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IACnG,oDAAoD;IACpD,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,6EAA6E;IAC7E,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,wGAAwG;AACxG,wBAAgB,YAAY,CAAC,OAAO,GAAE,YAAiB,GAAG,aAAa,CAiEtE"}
|
package/dist/ui/picker.d.ts
CHANGED
|
@@ -19,4 +19,9 @@ export declare function firstChildOf(el: Element): Element | null;
|
|
|
19
19
|
export declare function eligibilityOf(el: Element): Eligibility;
|
|
20
20
|
/** "h1 640 × 56" for the hover label. */
|
|
21
21
|
export declare function hoverLabel(el: Element): string;
|
|
22
|
+
/**
|
|
23
|
+
* A touch screen: no hover, so nothing shows what a tap would pick. There picking takes two taps, one to
|
|
24
|
+
* show the element (outline and name) and one on the same element to pick it; the page still scrolls.
|
|
25
|
+
*/
|
|
26
|
+
export declare function touchScreen(win: Window): boolean;
|
|
22
27
|
//# sourceMappingURL=picker.d.ts.map
|
package/dist/ui/picker.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../../src/ui/picker.ts"],"names":[],"mappings":"AAAA,sGAAsG;AACtG,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGlE,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAKnD;AAED,kGAAkG;AAClG,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI,CAKxD;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAa7E;AAED,sFAAsF;AACtF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAS7F;AAED,uFAAuF;AACvF,wBAAgB,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,GAAG,IAAI,CAIpD;AAED,yEAAyE;AACzE,wBAAgB,YAAY,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,GAAG,IAAI,CAExD;AAED,wCAAwC;AACxC,wBAAgB,aAAa,CAAC,EAAE,EAAE,OAAO,GAAG,WAAW,CAEtD;AAED,0CAA0C;AAC1C,wBAAgB,UAAU,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM,CAG9C"}
|
|
1
|
+
{"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../../src/ui/picker.ts"],"names":[],"mappings":"AAAA,sGAAsG;AACtG,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGlE,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAKnD;AAED,kGAAkG;AAClG,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI,CAKxD;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAa7E;AAED,sFAAsF;AACtF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAS7F;AAED,uFAAuF;AACvF,wBAAgB,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,GAAG,IAAI,CAIpD;AAED,yEAAyE;AACzE,wBAAgB,YAAY,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,GAAG,IAAI,CAExD;AAED,wCAAwC;AACxC,wBAAgB,aAAa,CAAC,EAAE,EAAE,OAAO,GAAG,WAAW,CAEtD;AAED,0CAA0C;AAC1C,wBAAgB,UAAU,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM,CAG9C;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEhD"}
|
package/dist/ui/picker.js
CHANGED
|
@@ -70,4 +70,16 @@ export function hoverLabel(el) {
|
|
|
70
70
|
const r = el.getBoundingClientRect();
|
|
71
71
|
return `${el.tagName.toLowerCase()} ${Math.round(r.width)} × ${Math.round(r.height)}`;
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* A touch screen: no hover, so nothing shows what a tap would pick. There picking takes two taps, one to
|
|
75
|
+
* show the element (outline and name) and one on the same element to pick it; the page still scrolls.
|
|
76
|
+
*/
|
|
77
|
+
export function touchScreen(win) {
|
|
78
|
+
try {
|
|
79
|
+
return win.matchMedia('(hover: none)').matches;
|
|
80
|
+
}
|
|
81
|
+
catch {
|
|
82
|
+
return false;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
73
85
|
//# sourceMappingURL=picker.js.map
|
package/dist/ui/picker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"picker.js","sourceRoot":"","sources":["../../src/ui/picker.ts"],"names":[],"mappings":"AAAA,sGAAsG;AACtG,OAAO,EAAE,WAAW,EAAoB,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,4FAA4F;AAC5F,MAAM,UAAU,QAAQ,CAAC,IAAiB;IACxC,KAAK,IAAI,CAAC,GAAgB,IAAI,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;QACvF,IAAI,CAAC,YAAY,OAAO,IAAI,CAAC,CAAC,YAAY,CAAC,iBAAiB,CAAC;YAAE,OAAO,IAAI,CAAC;IAC7E,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,kGAAkG;AAClG,MAAM,UAAU,WAAW,CAAC,KAAY;IACtC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IAClC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,OAAO,IAAI,CAAC,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3F,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAgB,EAAE,CAAC,CAAC,YAAY,OAAO,CAAC,CAAC;IACnE,OAAO,KAAK,IAAI,IAAI,CAAC;AACvB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,GAAa,EAAE,CAAS,EAAE,CAAS;IAC3D,MAAM,OAAO,GAAG,CAAC,IAA2B,EAAkB,EAAE;QAC9D,KAAK,MAAM,EAAE,IAAI,IAAI,C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AC;AAED,wCAAwC;AACxC,MAAM,UAAU,aAAa,CAAC,EAAW;IACvC,OAAO,WAAW,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED,0CAA0C;AAC1C,MAAM,UAAU,UAAU,CAAC,EAAW;IACpC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,EAAE,CAAC;IACrC,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;AACzF,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,GAAW;IACrC,IAAI,CAAC;QAAC,OAAO,GAAG,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC;IAAC,CAAC;IAAC,MAAM,CAAC;QAAC,OAAO,KAAK,CAAC;IAAC,CAAC;AACjF,CAAC"}
|
package/dist/ui/styles.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TOOLBAR_CSS = "\n:host { all: initial; }\n/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 8px 24px rgba(43, 43, 43, 0.14);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n\n/* Luci mascot animations. Works on the layered SVGs (inline) or inside the animated SVG files. */\n.luci .luci-ear,.luci .luci-eye,.luci .luci-tail,.luci .luci-body,.luci .luci-head,.luci .luci-z,.luci .luci-pupil,.luci .luci-arm,.luci .luci-ruler-line{transform-box:fill-box}\n.luci .luci-ear-l{transform-origin:70% 100%}\n.luci .luci-ear-r{transform-origin:30% 100%}\n.luci .luci-eye{transform-origin:50% 50%}\n.luci .luci-body{transform-origin:50% 100%}\n.luci .luci-head{transform-origin:50% 85%}\n.luci .luci-tail-wrap{transform-origin:92% 20%}\n.luci .luci-tail-up{transform-origin:5% 95%}\n.luci .luci-arm{transform-origin:10% 90%}\n.luci .luci-z{transform-origin:50% 50%}\n\n@keyframes luci-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.025)}}\n@keyframes luci-blink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}\n@keyframes luci-slowblink{0%,25%{transform:scaleY(1)}42%,68%{transform:scaleY(.08)}85%,100%{transform:scaleY(1)}}\n@keyframes luci-twitch{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-12deg)}92%{transform:rotate(5deg)}95%{transform:rotate(-6deg)}98%{transform:rotate(0)}}\n@keyframes luci-sway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}\n@keyframes luci-lash{0%{transform:rotate(-9deg)}100%{transform:rotate(9deg)}}\n@keyframes luci-look{0%,18%{transform:translateX(0)}30%,50%{transform:translateX(-4px)}62%,82%{transform:translateX(4px)}94%,100%{transform:translateX(0)}}\n@keyframes luci-z{0%{opacity:0;transform:translate(0,6px) scale(.8)}25%{opacity:1}100%{opacity:0;transform:translate(10px,-20px) scale(1.1)}}\n@keyframes luci-tap{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}\n@keyframes luci-pulse{0%,100%{opacity:1}50%{opacity:.3}}\n@keyframes luci-tilt{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}\n@keyframes luci-bristle{0%{transform:rotate(-2deg)}100%{transform:rotate(2deg)}}\n\n/* Idle: sitting tall */\n.luci-pose-sit .luci-body{animation:luci-breathe 4.5s ease-in-out infinite}\n.luci-pose-sit .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-sit .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite}\n.luci-pose-sit .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Hello: slow blink (add class luci-hello to the sitting pose) */\n.luci-hello .luci-eye{animation:luci-slowblink 5s ease-in-out infinite}\n.luci-hello .luci-head{animation:luci-tilt 5s ease-in-out infinite}\n/* Avatar head */\n.luci-pose-head .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-head .luci-ear-l{animation:luci-twitch 8s ease-in-out infinite 2s}\n/* Watching (empty state) */\n.luci-pose-peek .luci-pupil{animation:luci-look 7s ease-in-out infinite}\n.luci-pose-peek .luci-eye{animation:luci-blink 7s ease-in-out infinite 3s}\n.luci-pose-peek .luci-ear-l{animation:luci-twitch 6s ease-in-out infinite 1s}\n/* Measuring (spacing tool) */\n.luci-pose-measure .luci-ruler-line{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* In the box (capture basket) */\n.luci-pose-box .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-box .luci-pupil{animation:luci-look 9s ease-in-out infinite 1s}\n.luci-pose-box .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n/* Asleep (loading) */\n.luci-pose-sleep .luci-body{animation:luci-breathe 3.5s ease-in-out infinite}\n.luci-pose-sleep .luci-z1{animation:luci-z 3s ease-out infinite}\n.luci-pose-sleep .luci-z2{animation:luci-z 3s ease-out infinite 1.5s}\n/* Content (success) */\n.luci-pose-content .luci-body{animation:luci-breathe 4s ease-in-out infinite}\n.luci-pose-content .luci-tail{animation:luci-sway 6s ease-in-out infinite}\n.luci-pose-content .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite 2s}\n/* Annoyed (error) */\n.luci-pose-annoyed .luci-tail{animation:luci-lash .9s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-ear{animation:luci-bristle .35s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-body{animation:luci-breathe 1.8s ease-in-out infinite}\n/* Turned away (not now) */\n.luci-pose-turned .luci-tail{animation:luci-sway 4s ease-in-out infinite}\n.luci-pose-turned .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n.luci-pose-turned .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n\n/* Tool poses: Pressing, Reading, Swatch, Comparing, Noting, Arranging, Placing, Sketching */\n.luci .luci-button-cap,.luci .luci-highlight,.luci .luci-chip-lift,.luci .luci-tick,.luci .luci-marker,.luci .luci-select-box,.luci .luci-block,.luci .luci-draft{transform-box:fill-box}\n.luci .luci-highlight{transform-origin:0 50%}\n.luci .luci-tick{transform-origin:50% 50%}\n.luci .luci-select-box{transform-origin:0 100%}\n\n@keyframes luci-press{0%,100%{transform:translateY(3px)}50%{transform:translateY(0)}}\n@keyframes luci-select{0%{transform:scaleX(.05);opacity:1}45%,85%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}\n@keyframes luci-scan{0%,15%{transform:translateX(-3px)}50%,65%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-lift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}\n@keyframes luci-glance{0%,40%{transform:translateX(-3px)}50%,90%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-pop{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}\n@keyframes luci-drop{0%{transform:translateY(-8px);opacity:0}20%{opacity:1}35%,85%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:0}}\n@keyframes luci-resize{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}\n@keyframes luci-settle{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}\n@keyframes luci-push{0%,100%{transform:rotate(0)}50%{transform:rotate(5deg)}}\n\n/* Pressing (Component tool) */\n.luci-pose-press .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-press .luci-button-cap{animation:luci-press 1.6s ease-in-out infinite}\n.luci-pose-press .luci-click{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-press .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Reading (Text tool) */\n.luci-pose-read .luci-highlight{animation:luci-select 3.2s ease-in-out infinite}\n.luci-pose-read .luci-pupil{animation:luci-scan 3.2s ease-in-out infinite}\n.luci-pose-read .luci-eye{animation:luci-blink 6s ease-in-out infinite 2s}\n/* Swatch (Colour tool) */\n.luci-pose-swatch .luci-chip-lift{animation:luci-lift 2s ease-in-out infinite}\n.luci-pose-swatch .luci-arm{animation:luci-tap 2s ease-in-out infinite}\n.luci-pose-swatch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n/* Comparing (Check) */\n.luci-pose-compare .luci-pupil{animation:luci-glance 4s ease-in-out infinite}\n.luci-pose-compare .luci-tick{animation:luci-pop 4s ease-in-out infinite}\n.luci-pose-compare .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n.luci-pose-compare .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Noting (Feedback: Annotate) */\n.luci-pose-note .luci-marker{animation:luci-drop 3s ease-out infinite}\n.luci-pose-note .luci-arm{animation:luci-tap 3s ease-in-out infinite}\n.luci-pose-note .luci-eye{animation:luci-blink 6s ease-in-out infinite 1s}\n/* Arranging (Layout: Select) */\n.luci-pose-arrange .luci-select-box{animation:luci-resize 2.4s ease-in-out infinite}\n.luci-pose-arrange .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite}\n.luci-pose-arrange .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Placing (Layout: Insert) */\n.luci-pose-place .luci-block{animation:luci-settle 2s ease-in-out infinite}\n.luci-pose-place .luci-arm{animation:luci-push 2s ease-in-out infinite}\n.luci-pose-place .luci-arrow{animation:luci-pulse 2s ease-in-out infinite}\n/* Sketching (Layout: New page) */\n.luci-pose-sketch .luci-draft{animation:luci-pulse 2.4s ease-in-out infinite}\n.luci-pose-sketch .luci-arm{animation:luci-tap 1.2s ease-in-out infinite}\n.luci-pose-sketch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n\n@media (prefers-reduced-motion: reduce){.luci *{animation:none!important}}\n\n.luci-theme {\n /* Buttons: md is 40 px with 15 px labels (DESIGN.md section 6); a compact surface sets sm as its default */\n --luci-btn-h: 40px;\n --luci-btn-font: 15px;\n --luci-btn-line: 20px;\n --luci-btn-pad: var(--luci-space-16);\n font-family: var(--luci-font-body);\n font-size: var(--luci-type-body-size);\n line-height: var(--luci-type-body-line);\n font-weight: var(--luci-type-body-weight);\n color: var(--luci-color-ink);\n -webkit-font-smoothing: antialiased;\n}\n.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }\n.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }\n.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }\n.luci-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {\n outline: 2px solid var(--luci-color-focus);\n outline-offset: 2px;\n}\n/* Type roles */\n.t-display { font: var(--luci-type-display-weight) var(--luci-type-display-size)/var(--luci-type-display-line) var(--luci-font-display); }\n.t-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); margin: 0; }\n.t-heading { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); margin: 0; }\n.t-small { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); }\n.t-micro { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight); }\n.t-code { font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\n.overline { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight);\n letter-spacing: 0.06em; text-transform: uppercase; color: var(--luci-color-link); }\n/* Icons follow the text colour */\n.icon { flex: none; display: block; }\n/* The mascot */\n.mascot { display: inline-block; flex: none; line-height: 0; }\n.mascot svg { display: block; width: 100%; height: auto; }\n.luci-still, .luci-still * { animation: none !important; }\n.luci-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary); overflow: hidden; }\n/* Reduced motion: UI transitions become instant; the kit's CSS stops the mascot loops */\n@media (prefers-reduced-motion: reduce) {\n .luci-theme *, .luci-theme *::before, .luci-theme *::after { transition-duration: 0s !important; }\n}\n\n\n/*\n * Button (DESIGN.md section 6). Variants: btn-primary, btn-secondary, btn-outline, btn-ghost (also a\n * bare button), btn-danger, btn-link; btn-icon for icon-only (square, round). Sizes: btn-sm 32,\n * btn-md 40, btn-lg 48 (default: the surface's). States: hover, :active (pressed), :focus-visible,\n * :disabled, aria-pressed=\"true\" (toggled on), aria-busy=\"true\" (working).\n */\n.luci-theme button {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n min-height: var(--luci-btn-h);\n padding: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2) var(--luci-btn-pad);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: transparent;\n color: var(--luci-color-ink);\n font-size: var(--luci-btn-font);\n font-weight: 600;\n line-height: var(--luci-btn-line);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n transition: background-color var(--luci-motion-fast), color var(--luci-motion-fast), transform var(--luci-motion-fast);\n}\n/* Every button is a 44 px target, even when it is drawn 32 px tall */\n.luci-theme button::before { content: \"\"; position: absolute; inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)) 0; }\n.luci-theme button:hover:not(:disabled) { background: var(--luci-color-ghost-hover); }\n.luci-theme button:active:not(:disabled) { transform: translateY(1px); }\n.luci-theme button:disabled { color: var(--luci-color-ink-disabled); background: transparent; cursor: not-allowed; }\n.luci-theme button[aria-busy=\"true\"] { cursor: progress; }\n/* On (a tool, a toggle, a segment): one look everywhere, the kit's active tool fill (ginger-400, Charcoal text, 6.9:1) */\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary),\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary):hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n/* A small count on a button */\n.btn-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font: 600 11px/18px var(--luci-font-body); text-align: center; pointer-events: none; }\n\n/* Sizes */\n.luci-theme .btn-sm { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12); }\n.luci-theme .btn-md { --luci-btn-h: 40px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-16); }\n.luci-theme .btn-lg { --luci-btn-h: 48px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-20); }\n\n/* Text with an icon, and icon only */\n.luci-theme .btn-with-ico { display: inline-flex; align-items: center; justify-content: center; gap: var(--luci-space-8); padding-block: 0; }\n.luci-theme .btn-with-ico .icon { margin-inline-start: calc(var(--luci-space-4) * -1); }\n.luci-theme .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--luci-btn-h); height: var(--luci-btn-h); padding: 0; }\n.luci-theme .btn-icon::before { inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)); }\n\n/* Variants */\n.luci-theme .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n.luci-theme .btn-primary:disabled { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-disabled); }\n.luci-theme .btn-secondary { background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-secondary:hover:not(:disabled) { background: var(--luci-color-secondary-hover); }\n.luci-theme .btn-secondary:disabled { background: var(--luci-color-surface-raised); }\n.luci-theme .btn-outline { background: transparent; border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-outline:hover:not(:disabled) { background: var(--luci-color-ghost-hover); border-color: var(--luci-color-stroke-strong); }\n.luci-theme :is(.btn-secondary, .btn-outline):is(.btn-with-ico, .btn-icon) { padding-block: 0; }\n.luci-theme .btn-ghost { background: transparent; }\n.luci-theme .btn-danger { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); }\n.luci-theme .btn-danger:hover:not(:disabled) { background: var(--luci-color-danger-hover); }\n.luci-theme .btn-danger:disabled { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); opacity: 0.5; }\n.luci-theme .btn-link { min-height: 0; padding: 0; border-radius: var(--luci-radius-sm); background: transparent; color: var(--luci-color-link);\n font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;\n transition: text-decoration-color var(--luci-motion-fast); }\n.luci-theme .btn-link:hover:not(:disabled) { background: transparent; text-decoration-color: currentColor; }\n.luci-theme .btn-link:active:not(:disabled) { transform: none; }\n.luci-theme .btn-link::before { inset: -8px -4px; }\n/* Working: the label stays for layout, a ring turns over it */\n.luci-theme button[aria-busy=\"true\"] > * { opacity: 0.4; }\n.badge, .count { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 var(--luci-space-8);\n border-radius: var(--luci-radius-full); font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line);\n font-weight: var(--luci-type-micro-weight); white-space: nowrap; }\n.badge { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.badge.brand { background: var(--luci-color-primary-soft); color: var(--luci-color-link); }\n.count { min-width: 22px; background: var(--luci-color-accent); color: var(--luci-color-on-accent); }\n\n/* Status message and toast: tinted fill, the status icon and coloured title, Charcoal detail, no stroke */\n.status-msg { display: flex; gap: var(--luci-space-12); align-items: flex-start; margin: 0; padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--status-bg); color: var(--luci-color-muzzle-900); }\n.status-msg.success { --status: var(--luci-color-success); --status-bg: var(--luci-color-success-bg); }\n.status-msg.warning { --status: var(--luci-color-warning); --status-bg: var(--luci-color-warning-bg); }\n.status-msg.danger { --status: var(--luci-color-danger); --status-bg: var(--luci-color-danger-bg); }\n.status-msg.info { --status: var(--luci-color-info); --status-bg: var(--luci-color-info-bg); }\n.status-msg > .icon { color: var(--status); margin-top: 2px; }\n.status-msg .status-body { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }\n.status-msg .status-detail { margin: 0; }\n.status-msg .mascot { width: 48px; }\n.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-shadow-float); }\n\n/* Card and panel */\n.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }\n\n/* Input, select and text area */\n.luci-theme :where(input[type=\"text\"], input[type=\"search\"], input[type=\"number\"], input[type=\"url\"], input:not([type]), select, textarea) {\n min-height: var(--luci-btn-h);\n padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background-color: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n transition: border-color var(--luci-motion-fast);\n}\n.luci-theme :where(textarea) { padding: var(--luci-space-8) var(--luci-space-12); resize: vertical; }\n/* Select: the component wraps it with the kit's chevron icon, 12 px from the edge */\n.luci-theme :where(select) { appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; cursor: pointer; }\n.select { position: relative; display: inline-flex; vertical-align: middle; min-width: 0; }\n.select > select { flex: 1 1 auto; min-width: 0; }\n.select > .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }\n.luci-theme :where(input, select, textarea):hover:not(:disabled) { border-color: var(--luci-color-stroke-strong); }\n.luci-theme ::placeholder { color: var(--luci-color-ink-secondary); opacity: 1; }\n.luci-theme :where(input[type=\"checkbox\"], input[type=\"radio\"]) { accent-color: var(--luci-color-primary); }\n.field-error { display: flex; gap: var(--luci-space-4); align-items: center; margin: 0; color: var(--luci-color-danger);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The repository pill: GitHub's mark and Luci's version, in the code font (a link once the repository is public) */\n.luci-theme .repo-btn { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-full); background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink); font: 600 13px/1 var(--luci-font-code); text-decoration: none; white-space: nowrap; }\n.luci-theme .repo-btn .repo-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary-soft); color: var(--luci-color-link); font: 700 10px/1.2 var(--luci-font-sans); text-transform: uppercase; letter-spacing: 0.04em; margin-left: 2px; }\n.luci-theme a.repo-btn:hover { background: var(--luci-color-ghost-hover); }\n.luci-theme a.repo-btn:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.luci-theme .repo-btn .gh-mark { display: block; width: 16px; height: 16px; line-height: 0; }\n.luci-theme .repo-btn .gh-mark svg { display: block; width: 16px; height: 16px; }\n/* Tooltip host: relative positioning and raised z-index on hover so tooltips render above sibling elements */\n.luci-theme [data-tip] { position: relative; }\n.luci-theme [data-tip]:is(:hover, :focus-visible) { z-index: 10; }\n\n/* Tooltip: the text in data-tip; below the element, or above with data-tip-pos=\"above\". Shows after 300 ms. */\n.luci-theme [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + var(--luci-space-8)); z-index: 10;\n width: max-content; max-width: 340px; box-sizing: border-box; padding: 6px 10px; border-radius: var(--luci-radius-md); background: var(--luci-color-ink);\n color: var(--luci-color-surface); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight);\n white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; text-align: left; pointer-events: none; opacity: 0; transform: translate(-50%, -4px);\n transition: opacity var(--luci-motion-exit), transform var(--luci-motion-exit); }\n.luci-theme [data-tip][data-tip-pos=\"above\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);\n transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }\n\n/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align=\"left\") open rightwards to prevent clipping inside cards/panels */\n.luci-theme [data-tip][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child::after,\n.luci-theme .panel .row > [data-tip]:first-child::after {\n left: 0; right: auto; transform: translate(0, -4px);\n}\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:first-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px);\n}\n.luci-theme [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:first-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:first-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Right-aligned tooltips (repo button, last button in rows, cards, or explicit data-tip-align=\"right\") open leftwards */\n.luci-theme .repo-btn[data-tip]::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child::after,\n.luci-theme .panel .row > [data-tip]:last-child::after {\n left: auto; right: 0; transform: translate(0, -4px);\n}\n.luci-theme .repo-btn[data-tip][data-tip-pos=\"above\"]::after,\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:last-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px);\n}\n.luci-theme .repo-btn[data-tip]:is(:hover, :focus-visible)::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:last-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:last-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Empty state: Luci, a title, one line, an optional primary button */\n.empty { display: flex; flex-direction: column; align-items: center; gap: var(--luci-space-12); padding: var(--luci-space-24) var(--luci-space-16); text-align: center; }\n.empty .t-title { margin: 0; }\n.empty p:not(.t-title) { margin: 0; color: var(--luci-color-ink-secondary); }\n\n/* Compact, as the kit gives for the toolbar panel: 32 px buttons, small labels, small body text */\n.luci-theme { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The shell: a column at the window's edge, the toolbar pill first, then cards */\n.shell {\n position: fixed;\n top: var(--luci-space-12);\n right: var(--luci-space-12);\n z-index: 2147483647;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: var(--luci-space-8);\n max-width: calc(100vw - 24px);\n max-height: calc(100vh - 24px);\n /* The column itself is see-through: only the pill and the cards take the pointer */\n pointer-events: none;\n}\n.shell > * { pointer-events: auto; }\n.luci-theme[data-dock=\"left\"] .shell { right: auto; left: var(--luci-space-12); align-items: flex-start; }\n.luci-theme[data-dock=\"left\"] .bar,\n.luci-theme[data-dock=\"left\"] .sub,\n.luci-theme[data-dock=\"left\"] .panel { right: auto; left: var(--luci-space-12); }\n\n/* The toolbar pill (DESIGN.md, On-page toolbar): Charcoal in both themes, float shadow, no stroke */\n.bar {\n --luci-color-focus: var(--luci-color-muzzle-50);\n position: fixed;\n top: var(--luci-space-12);\n right: var(--luci-space-12);\n z-index: 2147483647;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 2px;\n max-width: calc(100vw - 24px);\n padding: var(--luci-space-8);\n border-radius: 32px;\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n box-shadow: var(--luci-shadow-float);\n}\n/* Above the cards, so the tools' tooltips are never under a card */\n.shell > .bar { position: relative; z-index: 2; }\n/* In the column the shell is what is placed: the bar's own offsets would move it a second time */\n.luci-theme .shell > .bar { inset: auto; }\n/*\n * The extension's bar, dragged anywhere (data-h and data-v: the corner it is nearest). Cards open on\n * the side with room: below a bar in the top half, above one in the bottom half, aligned to its side.\n */\n.luci-theme .shell[data-v=\"bottom\"] { flex-direction: column-reverse; }\n.luci-theme .shell[data-h=\"left\"] { align-items: flex-start; }\n.luci-theme .shell[data-h=\"right\"] { align-items: flex-end; }\n.luci-theme .shell[data-movable] > .bar { cursor: grab; touch-action: none; }\n.luci-theme .shell[data-moving] > .bar, .luci-theme .shell[data-moving] > .bar * { cursor: grabbing; user-select: none; }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip]:not([data-tip-align])::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip]:not([data-tip-align]):is(:hover, :focus-visible)::after { transform: translate(-50%, 0); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"left\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"right\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n.luci-theme .bar button { --luci-btn-h: 40px; color: var(--luci-color-bar-ink); }\n.luci-theme .bar .tool, .luci-theme .bar .menu-btn { --luci-btn-h: 48px; }\n.luci-theme .bar button:hover:not(:disabled) { background: var(--luci-color-bar-hover); }\n.luci-theme .bar button:disabled { color: var(--luci-color-muzzle-500); }\n.luci-theme .bar button[aria-pressed=\"true\"],\n.luci-theme .bar button[aria-pressed=\"true\"]:hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n.luci-theme .bar .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .bar .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n/* Disabled on Charcoal: only the icon dims, so it never looks like an \"on\" state */\n.luci-theme .bar .btn-primary:disabled { background: transparent; color: var(--luci-color-muzzle-500); }\n.bar-sep { flex: none; width: 1px; height: 24px; margin: 0 2px; background: var(--luci-color-bar-stroke); }\n/* Luci's head: the menu button */\n.luci-theme .bar .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; padding: 0; cursor: pointer; }\n.luci-theme .bar .menu-btn .luci-avatar { transition: background-color var(--luci-motion-fast); }\n.luci-theme .bar .menu-btn:is(:hover, [aria-pressed=\"true\"]) { background: transparent; }\n.luci-theme .bar .menu-btn:hover .luci-avatar { background: var(--luci-color-primary-hover); }\n.luci-theme .bar .menu-btn[aria-pressed=\"true\"] .luci-avatar { background: var(--luci-color-tool-active); }\n/* The basket: a Collar Lime pill with its count */\n.luci-theme .bar .basket-pill { display: inline-flex; align-items: center; gap: var(--luci-space-8); padding: 0 var(--luci-space-16) 0 var(--luci-space-12);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font-weight: 600; }\n.luci-theme .bar .basket-pill:hover:not(:disabled),\n.luci-theme .bar .basket-pill[aria-pressed=\"true\"],\n.luci-theme .bar .basket-pill[aria-pressed=\"true\"]:hover:not(:disabled),\n.luci-theme .bar button.basket-pill[aria-pressed=\"true\"]:hover:not(:disabled) { background: var(--luci-color-collar-lime-300); color: var(--luci-color-on-accent); }\n.brand { display: inline-flex; align-items: center; gap: var(--luci-space-8); padding: 0 var(--luci-space-8) 0 0;\n font: var(--luci-type-display-weight) var(--luci-type-heading-size)/1 var(--luci-font-display); color: var(--luci-color-bar-ink); }\n/* The dev toolbar's mode switch, on Charcoal */\n.bar .seg { background: var(--luci-color-muzzle-800); align-self: center; }\n.luci-theme .bar .seg button { color: var(--luci-color-bar-ink); }\n.luci-theme .bar .seg button[aria-pressed=\"true\"],\n.luci-theme .bar .seg button[aria-pressed=\"true\"]:hover:not(:disabled) { color: var(--luci-color-on-tool-active); }\n.modes { margin-right: var(--luci-space-4); }\n\n/*\n * The dev toolbar is placed by its host: data-h and data-v name the corner it is nearest, --luci-x and\n * --luci-y its distances from that corner's edges (default bottom right, 12 px, by its button; the\n * person can drag it anywhere). Everything opens from the bar, on the side with room: cards just above\n * a bar in the bottom half, just below one in the top half, aligned to its side. A panel takes the\n * hint's place while it is open. The extension sets none of this (its bar keeps its own place).\n */\n:host([data-h=\"right\"]) :is(.shell, .bar:not(.shell > .bar), .sub:not(.shell > .sub), .panel:not(.shell > .panel), .menu) { left: auto; right: var(--luci-x, 12px); }\n:host([data-h=\"left\"]) :is(.shell, .bar:not(.shell > .bar), .sub:not(.shell > .sub), .panel:not(.shell > .panel), .menu) { right: auto; left: var(--luci-x, 12px); }\n:host([data-h=\"right\"]) .shell { align-items: flex-end; }\n:host([data-h=\"left\"]) .shell { align-items: flex-start; }\n:host([data-v=\"bottom\"]) :is(.shell, .bar:not(.shell > .bar)) { top: auto; bottom: var(--luci-y, 12px); }\n:host([data-v=\"bottom\"]) .shell { flex-direction: column-reverse; }\n:host([data-v=\"bottom\"]) :is(.sub:not(.shell > .sub), .panel:not(.shell > .panel)) { top: auto; bottom: calc(var(--luci-y, 12px) + 72px); }\n:host([data-v=\"bottom\"]) .menu { top: auto; bottom: calc(var(--luci-y, 12px) + 64px); }\n:host([data-v=\"top\"]) :is(.shell, .bar:not(.shell > .bar)) { bottom: auto; top: var(--luci-y, 12px); }\n:host([data-v=\"top\"]) :is(.sub:not(.shell > .sub), .panel:not(.shell > .panel)) { bottom: auto; top: calc(var(--luci-y, 12px) + 72px); }\n:host([data-v=\"top\"]) .menu { bottom: auto; top: calc(var(--luci-y, 12px) + 64px); }\n:host([data-v]) .shell { max-height: calc(100vh - var(--luci-y, 12px) - 12px); }\n:host([data-v]) .panel:not(.shell > .panel) { max-height: min(72vh, calc(100vh - var(--luci-y, 12px) - 96px)); }\n:host([data-v]) .layout-panel:not(.shell > .panel) { max-height: min(80vh, calc(100vh - var(--luci-y, 12px) - 96px)); }\n:host([data-v]) .luci-theme:has(> .panel) > .sub:not([role=\"alert\"]) { display: none; }\n:host([data-v=\"bottom\"]) :is(.sub, .panel, .menu) { animation: luci-rise var(--luci-motion-base, 200ms) both; }\n:host([data-v=\"top\"]) :is(.sub, .panel, .menu) { animation: luci-drop var(--luci-motion-base, 200ms) both; }\n@keyframes luci-rise { from { opacity: 0; transform: translateY(8px); } }\n@keyframes luci-drop { from { opacity: 0; transform: translateY(-8px); } }\n@media (prefers-reduced-motion: reduce) { :host([data-v]) :is(.sub, .panel, .menu) { animation: none; } }\n:host([data-v=\"bottom\"]) .bar [data-tip]:not([data-tip-align])::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n:host([data-v=\"bottom\"]) .bar [data-tip]:not([data-tip-align]):is(:hover, :focus-visible)::after { transform: translate(-50%, 0); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"left\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"right\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n/* The dev toolbar's bar can be dragged by its own background, a separator or Luci */\n:host([data-v]) .bar { cursor: grab; touch-action: none; }\n:host([data-v]) .bar button, :host([data-v]) .bar .menu-btn { cursor: pointer; }\n:host([data-moving]) .bar, :host([data-moving]) .bar * { cursor: grabbing; user-select: none; }\n/* New page's canvas covers the window: its tools and its panel keep clear of the bar */\n:host([data-v=\"bottom\"]) .wf { padding-bottom: calc(var(--luci-y, 12px) + 76px); }\n:host([data-v=\"bottom\"]) .wf-tools { padding-top: var(--luci-space-12); }\n:host([data-v=\"top\"]) .wf-tools { padding-top: calc(var(--luci-y, 12px) + 76px); }\n:host([data-v=\"top\"]) .panel[data-part=\"sketch-panel\"]:not(.shell > .panel) { top: auto; bottom: var(--luci-space-12); }\n\n/* Cards under the pill: the hint while picking, and every panel (radius-xl, float shadow, no stroke) */\n.sub, .panel { background: var(--luci-color-surface); border-radius: var(--luci-radius-xl); box-shadow: var(--luci-shadow-float); }\n.sub {\n position: fixed;\n top: 84px;\n right: var(--luci-space-12);\n z-index: 2147483646;\n width: min(420px, calc(100vw - 24px));\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12) var(--luci-space-16);\n}\n/* In the column, cards drop the stand-alone z-index (flex items honour it even unpositioned) */\n.shell > .sub { position: static; z-index: auto; width: min(560px, calc(100vw - 24px)); }\n.sub p { margin: 0; }\n.sub.with-luci { flex-direction: row; align-items: center; gap: var(--luci-space-16); }\n/* Luci beside a hint inside a card (Layout: placing, new page) */\n.luci-hint { display: flex; align-items: center; gap: var(--luci-space-16); }\n.luci-hint > p { margin: 0; min-width: 0; }\n.sub .sub-body { display: flex; flex-direction: column; gap: var(--luci-space-8); min-width: 0; }\n.keys { color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.panel {\n position: fixed;\n right: var(--luci-space-12);\n bottom: var(--luci-space-12);\n z-index: 2147483646;\n width: min(480px, calc(100vw - 24px));\n max-height: min(72vh, 660px);\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-12);\n padding: var(--luci-space-20);\n overflow-y: auto;\n overscroll-behavior: contain;\n}\n.shell > .panel { position: static; z-index: auto; width: min(560px, calc(100vw - 24px)); max-height: none; flex: 0 1 auto; min-height: 0; }\n.panel > * { flex-shrink: 0; }\n.panel > .items, .panel > .diffs { flex-shrink: 1; }\n.panel h2 { margin: 0; font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); }\n.panel.result-panel { padding: 0; gap: 0; }\n.panel-body { display: flex; flex-direction: column; gap: var(--luci-space-12); padding: var(--luci-space-20) var(--luci-space-20) var(--luci-space-16); }\n\n/* The menu: who Luci is, help, then settings */\n.menu-head { display: flex; align-items: center; gap: var(--luci-space-16); }\n.menu-head > .repo-btn { align-self: flex-start; margin-left: auto; }\n.settings-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-12); }\n.settings-head h2 { margin: 0; }\n/* The extension's invitation: the rest of Luci lives in the person's project. A tint, no stroke, no pop-up */\n.invite { display: flex; flex-direction: column; align-items: flex-start; gap: var(--luci-space-4); padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--luci-color-primary-soft); }\n.invite p { margin: 0; }\n.invite-title { font: var(--luci-type-display-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-display); color: var(--luci-color-ink); }\n.invite-body { color: var(--luci-color-ink); }\n.luci-theme .invite-action { margin-top: var(--luci-space-4); }\n.brand-stack { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.brand-title-line { display: flex; align-items: baseline; gap: var(--luci-space-8); flex-wrap: wrap; }\n.brand-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); color: var(--luci-color-ink); }\n.brand-sub { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); color: var(--luci-color-ink-secondary); }\n.brand-desc { margin: 0; color: var(--luci-color-ink-secondary); }\n/* The first-run greeting */\n.greet { flex-direction: row; align-items: center; gap: var(--luci-space-16); }\n.greet .t-title { margin: 0; }\n\n/* Segmented control */\n.seg { display: inline-flex; align-self: flex-start; gap: var(--luci-space-4); padding: var(--luci-space-4); background: var(--luci-color-surface-sunken); border-radius: var(--luci-radius-full); }\n.luci-theme .seg button { min-height: 28px; padding: 5px var(--luci-space-12); }\n.seg button::before { inset: -8px 0; }\n\n/* Lists: basket items, section files */\n.items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-8); overflow: auto; }\n.items li { display: grid; grid-template-columns: 1fr auto; gap: var(--luci-space-8); align-items: center; padding: var(--luci-space-12);\n background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-lg); }\n.files { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-4); }\n.files li { display: flex; gap: var(--luci-space-8); align-items: center; justify-content: space-between; padding: var(--luci-space-4) var(--luci-space-4) var(--luci-space-4) var(--luci-space-12);\n background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-md); }\n.files li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.files code, [data-part=\"file-view-box\"] code { font: var(--luci-type-code-weight) 12px/1.5 var(--luci-font-code); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.items textarea { grid-column: 1 / -1; min-height: 40px; font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.items input { min-width: 0; }\n/* A basket item: what it is, then its name with Export and Remove in one row, then its note */\n.items .meta { grid-column: 1; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); }\n.items .meta:not(:has(+ .compare-pick)) { grid-column: 1 / -1; }\n.items .compare-pick { grid-column: 2; justify-self: end; gap: var(--luci-space-4); font-size: var(--luci-type-small-size); }\n/* Automatic design check (v0.4) */\n.check-watch { gap: var(--luci-space-8); font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n/* Screenshot mode (v0.4): the hint card is where an image is dropped */\n.sub.image-drop { outline: 2px dashed var(--luci-color-stroke-subtle); outline-offset: -6px; }\n/* Compare mode (v0.4): What, A, B */\n.compare-scroll { max-height: 50vh; overflow: auto; border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.compare { width: 100%; min-width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.compare th, .compare td { padding: var(--luci-space-4) var(--luci-space-8); text-align: left; vertical-align: top; box-sizing: border-box; }\n.compare .col-what, .compare th:first-child, .compare td:first-child { width: 50%; overflow-wrap: break-word; word-break: normal; }\n.compare .col-a, .compare .col-b,\n.compare th:nth-child(2), .compare td:nth-child(2),\n.compare th:nth-child(3), .compare td:nth-child(3) { width: 25%; overflow-wrap: anywhere; word-break: break-word; }\n.compare th { position: sticky; top: 0; background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-secondary); font-weight: 600; }\n.compare tr + tr td { border-top: 1px solid var(--luci-color-stroke-subtle); }\n.items .row { grid-column: 2; flex-wrap: nowrap; }\n.stack { display: flex; flex-direction: column; align-items: stretch; gap: var(--luci-space-8); }\n\n/* The file preview: code you can edit and drag taller */\ntextarea.preview { flex: none; height: 280px; min-height: 120px; max-height: 70vh; padding: var(--luci-space-12); white-space: pre; overflow: auto;\n background: var(--luci-color-surface-raised); font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\ntextarea[data-part=\"instructions\"] { min-height: 64px; }\npre.preview { margin: 0; max-height: 240px; overflow: auto; white-space: pre-wrap; }\npre { margin: 0; overflow: auto; padding: var(--luci-space-12); background: var(--luci-color-surface-sunken); border-radius: var(--luci-radius-sm); white-space: pre; min-height: 80px;\n font: var(--luci-type-code-weight) 12px/var(--luci-type-code-line) var(--luci-font-code); }\n\n.dim { margin: 0; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: 400; }\n.hint { margin: 0; color: var(--luci-color-ink-secondary); }\n/* An error is a status message: tinted fill and the status colour, never colour alone (the words say it) */\n.error { margin: 0; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-danger-bg); color: var(--luci-color-danger); font-weight: 500; }\n.row { display: flex; flex-wrap: wrap; gap: var(--luci-space-8); align-items: center; }\n.file { font: var(--luci-type-code-weight) 12px/1.5 var(--luci-font-code); color: var(--luci-color-ink-secondary); word-break: break-all; }\nlabel { display: inline-flex; gap: var(--luci-space-4); align-items: center; color: var(--luci-color-ink-secondary); }\n\n/* Page overlays while picking: drawn over the host page, never part of it */\n.pick-layer, .pixel-layer { position: fixed; inset: 0; z-index: 2147483640; cursor: crosshair; background: transparent; touch-action: none; }\n.highlight { position: fixed; z-index: 2147483646; pointer-events: none; border: 2px solid var(--luci-color-pick); background: var(--luci-color-pick-fill); border-radius: 2px; }\n.highlight.locked { border-width: 2px; border-style: solid; }\n.highlight.blocked { border-color: var(--luci-color-pick-blocked); background: var(--luci-color-pick-blocked-fill); }\n.pad { position: fixed; z-index: 2147483645; pointer-events: none; border-style: solid; border-color: var(--luci-color-pad-fill); }\n.margin { position: fixed; z-index: 2147483645; pointer-events: none; border-style: solid; border-color: var(--luci-color-margin-fill); }\n@media (prefers-reduced-motion: no-preference) { .highlight { transition: top 60ms, left 60ms, width 60ms, height 60ms; } }\n/* The label and the pixel swatch read like tooltips: Charcoal fill, Muzzle White text */\n.label, .swatch { position: fixed; z-index: 2147483647; pointer-events: none; padding: var(--luci-space-4) var(--luci-space-8); border-radius: var(--luci-radius-md);\n background: var(--luci-color-muzzle-900); color: var(--luci-color-muzzle-50); box-shadow: var(--luci-shadow-float);\n font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); }\n.label { max-width: 360px; white-space: pre-wrap; }\n.label .reason { display: block; color: var(--luci-color-nose-pink-300); font-family: var(--luci-font-body); }\n.swatch { display: flex; gap: var(--luci-space-8); align-items: center; }\n.chip { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--luci-color-bar-stroke); }\n/* Pixel mode's loupe: the pixels around the pointer, 8 times larger, the picked one framed */\n.loupe { position: fixed; z-index: 2147483647; pointer-events: none; width: 120px; height: 120px; border-radius: 50%; image-rendering: pixelated;\n background: var(--luci-color-muzzle-900); box-shadow: 0 0 0 3px var(--luci-color-muzzle-50), var(--luci-shadow-float); }\n\n/* State pills */\n.states-list { display: flex; flex-wrap: wrap; gap: var(--luci-space-4); }\n.state { display: inline-flex; align-items: center; gap: var(--luci-space-4); height: 26px; padding: 0 var(--luci-space-12); border-radius: var(--luci-radius-full);\n background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); font-size: var(--luci-type-small-size); font-weight: 500; }\n.state.default { background: var(--luci-color-primary-soft); color: var(--luci-color-link); font-weight: 600; }\n.state.missing { background: transparent; color: var(--luci-color-ink-secondary); border: 1px dashed var(--luci-color-stroke-strong); }\n.manual-row { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-12); }\n.section-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }\n.manual-actions { display: inline-flex; align-items: center; gap: var(--luci-space-8); flex: none; }\n\n/* Settings and the 3-column export settings */\n.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--luci-space-8); }\n.field-stack { display: flex; flex-direction: column; align-items: stretch; gap: var(--luci-space-4); color: var(--luci-color-ink); }\n.field-label { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: 600; color: var(--luci-color-ink); }\n.field-stack .select, .field-stack select { width: 100%; }\n.settings-appearance { display: flex; flex-direction: column; gap: var(--luci-space-12); }\n/* The words wrap beside the control; the control keeps its place on the right */\n.setting-row { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-12); }\n.setting-copy { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }\n.setting-row > .seg { flex: none; align-self: center; }\n.settings-divider { height: 1px; margin: var(--luci-space-4) 0; border: 0; background: var(--luci-color-stroke-subtle); }\n.shortcut-list { display: grid; grid-template-columns: auto 1fr; gap: var(--luci-space-8) var(--luci-space-12); align-items: center; padding: var(--luci-space-12);\n border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); font-size: var(--luci-type-small-size); }\n.kbd { display: inline-block; min-width: 24px; padding: 2px var(--luci-space-8); border-radius: 6px; background: var(--luci-color-surface-raised); color: var(--luci-color-ink);\n text-align: center; font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); }\n\n/* Connected project status (v0.4.4) */\n.project-card { display: flex; flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.project-header { display: flex; align-items: flex-start; gap: var(--luci-space-8); }\n.status-dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; }\n.status-dot.online { background: var(--luci-color-success); box-shadow: 0 0 0 2px var(--luci-color-success-bg); }\n.status-dot.offline { background: var(--luci-color-stroke-strong); }\n.project-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }\n.project-name { font-weight: 600; color: var(--luci-color-ink); font-size: var(--luci-type-small-size); }\n.project-path { font-size: 11px; color: var(--luci-color-ink-secondary); word-break: break-all; }\n.project-hint { font-size: 11px; color: var(--luci-color-ink-secondary); }\n.project-port-row { display: flex; align-items: center; gap: var(--luci-space-8); margin-top: var(--luci-space-4); }\n.port-input { flex: 1; min-width: 0; padding: 4px var(--luci-space-8); border-radius: var(--luci-radius-sm); border: 1px solid var(--luci-color-stroke-subtle); background: var(--luci-color-surface-raised); font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); color: var(--luci-color-ink); }\n\n/* DevTool tabbed settings (v0.4.4) */\n.setting-tools-header { display: flex; flex-direction: column; gap: var(--luci-space-8); }\n.tool-tabs { display: flex; width: 100%; box-sizing: border-box; }\n.tool-tabs button { flex: 1 1 0; text-align: center; justify-content: center; }\n.tool-settings-body { display: flex; flex-direction: column; gap: var(--luci-space-12); }\n.swatches { display: flex; gap: var(--luci-space-8); flex-wrap: wrap; }\n.luci-theme .swatches button { width: 28px; min-height: 28px; height: 28px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; }\n.luci-theme .swatches button::before { inset: -8px; }\n.luci-theme .swatches button[aria-pressed=\"true\"] { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n\n/* The selected element and its tips */\n.selected-card { display: flex; flex-direction: column; gap: var(--luci-space-12); padding: var(--luci-space-16); border-radius: var(--luci-radius-lg); background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); }\n.selected-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.selected-card h2 { margin: 0; font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); }\n.tip-box { margin: 0; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-secondary);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The file and its actions */\n.md-section { display: flex; flex-direction: column; gap: var(--luci-space-12); padding: var(--luci-space-16) var(--luci-space-20) var(--luci-space-20); background: var(--luci-color-surface-sunken); }\n.md-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.md-title { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); color: var(--luci-color-ink); }\n.file-row { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.scope-pill { flex: none; }\n.actions { gap: var(--luci-space-8); }\n\n/* Design check */\n[data-part=\"check-summary\"] { margin: 0; }\n.row .rule { order: 1; flex-basis: 100%; max-height: 132px; overflow: auto; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.rule code { font: var(--luci-type-code-weight) 12px/1.5 var(--luci-font-code); white-space: pre-wrap; word-break: break-word; }\n.diffs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-4); overflow: auto; min-height: 60px; }\n.diffs li { display: flex; flex-direction: column; gap: 2px; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); }\n.diffs li.high { background: var(--luci-color-warning-bg); color: var(--luci-color-muzzle-900); border-color: transparent; }\n.diffs li.high .dim { color: var(--luci-color-muzzle-700); }\n.diffs label { align-items: flex-start; gap: var(--luci-space-8); color: inherit; }\n.diffs input { flex: none; margin: 3px 0 0; }\n.diffs .dim { padding-left: 21px; }\n\n/* Screenshot diff overlay (v0.4.4) */\n.diff-section { border-top: 1px solid var(--luci-color-stroke-subtle); padding-top: var(--luci-space-8); }\n.diff-controls { display: flex; flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.diff-slider { width: 100%; accent-color: var(--luci-color-primary); cursor: pointer; }\n.diff-overlay { position: fixed; z-index: 2147483644; pointer-events: none; overflow: hidden; box-shadow: 0 0 0 2px var(--luci-color-primary), var(--luci-shadow-float); border-radius: var(--luci-radius-sm); }\n.diff-overlay img { width: 100%; height: 100%; object-fit: fill; display: block; }\n.diff-split-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--luci-color-primary); box-shadow: var(--luci-shadow-float); pointer-events: none; }\n\n/* Loading */\n.loading { display: flex; gap: var(--luci-space-12); align-items: center; margin: 0; color: var(--luci-color-ink); }\n.loading .steps { color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); }\n.loading-sleep { flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-16) 0; text-align: center; }\n.loading-sleep .stack { align-items: center; }\n/* Spins with transform only: the browser keeps it moving off the page's main thread, even while Luci reads a heavy page */\n.spinner { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--luci-color-stroke-strong); border-top-color: var(--luci-color-primary);\n animation: luci-spin 0.8s linear infinite; will-change: transform; }\nbutton .spinner { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; }\n@keyframes luci-spin { to { transform: rotate(360deg); } }\n@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }\n";
|
|
1
|
+
export declare const TOOLBAR_CSS = "\n:host { all: initial; }\n/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28);\n --luci-shadow-edge: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n\n/* Luci mascot animations. Works on the layered SVGs (inline) or inside the animated SVG files. */\n.luci .luci-ear,.luci .luci-eye,.luci .luci-tail,.luci .luci-body,.luci .luci-head,.luci .luci-z,.luci .luci-pupil,.luci .luci-arm,.luci .luci-ruler-line{transform-box:fill-box}\n.luci .luci-ear-l{transform-origin:70% 100%}\n.luci .luci-ear-r{transform-origin:30% 100%}\n.luci .luci-eye{transform-origin:50% 50%}\n.luci .luci-body{transform-origin:50% 100%}\n.luci .luci-head{transform-origin:50% 85%}\n.luci .luci-tail-wrap{transform-origin:92% 20%}\n.luci .luci-tail-up{transform-origin:5% 95%}\n.luci .luci-arm{transform-origin:10% 90%}\n.luci .luci-z{transform-origin:50% 50%}\n\n@keyframes luci-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.025)}}\n@keyframes luci-blink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}\n@keyframes luci-slowblink{0%,25%{transform:scaleY(1)}42%,68%{transform:scaleY(.08)}85%,100%{transform:scaleY(1)}}\n@keyframes luci-twitch{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-12deg)}92%{transform:rotate(5deg)}95%{transform:rotate(-6deg)}98%{transform:rotate(0)}}\n@keyframes luci-sway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}\n@keyframes luci-lash{0%{transform:rotate(-9deg)}100%{transform:rotate(9deg)}}\n@keyframes luci-look{0%,18%{transform:translateX(0)}30%,50%{transform:translateX(-4px)}62%,82%{transform:translateX(4px)}94%,100%{transform:translateX(0)}}\n@keyframes luci-z{0%{opacity:0;transform:translate(0,6px) scale(.8)}25%{opacity:1}100%{opacity:0;transform:translate(10px,-20px) scale(1.1)}}\n@keyframes luci-tap{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}\n@keyframes luci-pulse{0%,100%{opacity:1}50%{opacity:.3}}\n@keyframes luci-tilt{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}\n@keyframes luci-bristle{0%{transform:rotate(-2deg)}100%{transform:rotate(2deg)}}\n\n/* Idle: sitting tall */\n.luci-pose-sit .luci-body{animation:luci-breathe 4.5s ease-in-out infinite}\n.luci-pose-sit .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-sit .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite}\n.luci-pose-sit .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Hello: slow blink (add class luci-hello to the sitting pose) */\n.luci-hello .luci-eye{animation:luci-slowblink 5s ease-in-out infinite}\n.luci-hello .luci-head{animation:luci-tilt 5s ease-in-out infinite}\n/* Avatar head */\n.luci-pose-head .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-head .luci-ear-l{animation:luci-twitch 8s ease-in-out infinite 2s}\n/* Watching (empty state) */\n.luci-pose-peek .luci-pupil{animation:luci-look 7s ease-in-out infinite}\n.luci-pose-peek .luci-eye{animation:luci-blink 7s ease-in-out infinite 3s}\n.luci-pose-peek .luci-ear-l{animation:luci-twitch 6s ease-in-out infinite 1s}\n/* Measuring (spacing tool) */\n.luci-pose-measure .luci-ruler-line{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* In the box (capture basket) */\n.luci-pose-box .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-box .luci-pupil{animation:luci-look 9s ease-in-out infinite 1s}\n.luci-pose-box .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n/* Asleep (loading) */\n.luci-pose-sleep .luci-body{animation:luci-breathe 3.5s ease-in-out infinite}\n.luci-pose-sleep .luci-z1{animation:luci-z 3s ease-out infinite}\n.luci-pose-sleep .luci-z2{animation:luci-z 3s ease-out infinite 1.5s}\n/* Content (success) */\n.luci-pose-content .luci-body{animation:luci-breathe 4s ease-in-out infinite}\n.luci-pose-content .luci-tail{animation:luci-sway 6s ease-in-out infinite}\n.luci-pose-content .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite 2s}\n/* Annoyed (error) */\n.luci-pose-annoyed .luci-tail{animation:luci-lash .9s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-ear{animation:luci-bristle .35s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-body{animation:luci-breathe 1.8s ease-in-out infinite}\n/* Turned away (not now) */\n.luci-pose-turned .luci-tail{animation:luci-sway 4s ease-in-out infinite}\n.luci-pose-turned .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n.luci-pose-turned .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n\n/* Tool poses: Pressing, Reading, Swatch, Comparing, Noting, Arranging, Placing, Sketching */\n.luci .luci-button-cap,.luci .luci-highlight,.luci .luci-chip-lift,.luci .luci-tick,.luci .luci-marker,.luci .luci-select-box,.luci .luci-block,.luci .luci-draft{transform-box:fill-box}\n.luci .luci-highlight{transform-origin:0 50%}\n.luci .luci-tick{transform-origin:50% 50%}\n.luci .luci-select-box{transform-origin:0 100%}\n\n@keyframes luci-press{0%,100%{transform:translateY(3px)}50%{transform:translateY(0)}}\n@keyframes luci-select{0%{transform:scaleX(.05);opacity:1}45%,85%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}\n@keyframes luci-scan{0%,15%{transform:translateX(-3px)}50%,65%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-lift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}\n@keyframes luci-glance{0%,40%{transform:translateX(-3px)}50%,90%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-pop{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}\n@keyframes luci-drop{0%{transform:translateY(-8px);opacity:0}20%{opacity:1}35%,85%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:0}}\n@keyframes luci-resize{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}\n@keyframes luci-settle{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}\n@keyframes luci-push{0%,100%{transform:rotate(0)}50%{transform:rotate(5deg)}}\n\n/* Pressing (Component tool) */\n.luci-pose-press .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-press .luci-button-cap{animation:luci-press 1.6s ease-in-out infinite}\n.luci-pose-press .luci-click{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-press .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Reading (Text tool) */\n.luci-pose-read .luci-highlight{animation:luci-select 3.2s ease-in-out infinite}\n.luci-pose-read .luci-pupil{animation:luci-scan 3.2s ease-in-out infinite}\n.luci-pose-read .luci-eye{animation:luci-blink 6s ease-in-out infinite 2s}\n/* Swatch (Colour tool) */\n.luci-pose-swatch .luci-chip-lift{animation:luci-lift 2s ease-in-out infinite}\n.luci-pose-swatch .luci-arm{animation:luci-tap 2s ease-in-out infinite}\n.luci-pose-swatch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n/* Comparing (Check) */\n.luci-pose-compare .luci-pupil{animation:luci-glance 4s ease-in-out infinite}\n.luci-pose-compare .luci-tick{animation:luci-pop 4s ease-in-out infinite}\n.luci-pose-compare .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n.luci-pose-compare .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Noting (Feedback: Annotate) */\n.luci-pose-note .luci-marker{animation:luci-drop 3s ease-out infinite}\n.luci-pose-note .luci-arm{animation:luci-tap 3s ease-in-out infinite}\n.luci-pose-note .luci-eye{animation:luci-blink 6s ease-in-out infinite 1s}\n/* Arranging (Layout: Select) */\n.luci-pose-arrange .luci-select-box{animation:luci-resize 2.4s ease-in-out infinite}\n.luci-pose-arrange .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite}\n.luci-pose-arrange .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Placing (Layout: Insert) */\n.luci-pose-place .luci-block{animation:luci-settle 2s ease-in-out infinite}\n.luci-pose-place .luci-arm{animation:luci-push 2s ease-in-out infinite}\n.luci-pose-place .luci-arrow{animation:luci-pulse 2s ease-in-out infinite}\n/* Sketching (Layout: New page) */\n.luci-pose-sketch .luci-draft{animation:luci-pulse 2.4s ease-in-out infinite}\n.luci-pose-sketch .luci-arm{animation:luci-tap 1.2s ease-in-out infinite}\n.luci-pose-sketch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n\n@media (prefers-reduced-motion: reduce){.luci *{animation:none!important}}\n\n.luci-theme {\n /* Buttons: md is 40 px with 15 px labels (the brand kit, section 6); a compact surface sets sm as its default */\n --luci-btn-h: 40px;\n --luci-btn-font: 15px;\n --luci-btn-line: 20px;\n --luci-btn-pad: var(--luci-space-16);\n font-family: var(--luci-font-body);\n font-size: var(--luci-type-body-size);\n line-height: var(--luci-type-body-line);\n font-weight: var(--luci-type-body-weight);\n color: var(--luci-color-ink);\n -webkit-font-smoothing: antialiased;\n}\n/*\n * Elevation for cards floating over the page: the float shadow, plus the faint inner edge on Charcoal\n * (the dark theme's cards), so they stay apart from a dark host page of the same colour.\n */\n.luci-theme { --luci-elevation: var(--luci-shadow-float); --luci-elevation-bar: var(--luci-shadow-edge), var(--luci-shadow-float); }\n@media (prefers-color-scheme: dark) { .luci-theme:not([data-theme=\"light\"]) { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); } }\n.luci-theme[data-theme=\"dark\"] { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); }\n.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }\n.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }\n.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }\n.luci-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {\n outline: 2px solid var(--luci-color-focus);\n outline-offset: 2px;\n}\n/* Type roles */\n.t-display { font: var(--luci-type-display-weight) var(--luci-type-display-size)/var(--luci-type-display-line) var(--luci-font-display); }\n.t-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); margin: 0; }\n.t-heading { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); margin: 0; }\n.t-small { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); }\n.t-micro { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight); }\n.t-code { font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\n.overline { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight);\n letter-spacing: 0.06em; text-transform: uppercase; color: var(--luci-color-link); }\n/* Icons follow the text colour */\n.icon { flex: none; display: block; }\n/* The mascot */\n.mascot { display: inline-block; flex: none; line-height: 0; }\n.mascot svg { display: block; width: 100%; height: auto; }\n.luci-still, .luci-still * { animation: none !important; }\n.luci-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary); overflow: hidden; }\n/* Reduced motion: UI transitions become instant; the kit's CSS stops the mascot loops */\n@media (prefers-reduced-motion: reduce) {\n .luci-theme *, .luci-theme *::before, .luci-theme *::after { transition-duration: 0s !important; }\n}\n\n\n/*\n * Button (the brand kit, section 6). Variants: btn-primary, btn-secondary, btn-outline, btn-ghost (also a\n * bare button), btn-danger, btn-link; btn-icon for icon-only (square, round). Sizes: btn-sm 32,\n * btn-md 40, btn-lg 48 (default: the surface's). States: hover, :active (pressed), :focus-visible,\n * :disabled, aria-pressed=\"true\" (toggled on), aria-busy=\"true\" (working).\n */\n.luci-theme button {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n min-height: var(--luci-btn-h);\n padding: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2) var(--luci-btn-pad);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: transparent;\n color: var(--luci-color-ink);\n font-size: var(--luci-btn-font);\n font-weight: 600;\n line-height: var(--luci-btn-line);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n transition: background-color var(--luci-motion-fast), color var(--luci-motion-fast), transform var(--luci-motion-fast);\n}\n/* Every button is a 44 px target, even when it is drawn 32 px tall */\n.luci-theme button::before { content: \"\"; position: absolute; inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)) 0; }\n.luci-theme button:hover:not(:disabled) { background: var(--luci-color-ghost-hover); }\n.luci-theme button:active:not(:disabled) { transform: translateY(1px); }\n.luci-theme button:disabled { color: var(--luci-color-ink-disabled); background: transparent; cursor: not-allowed; }\n.luci-theme button[aria-busy=\"true\"] { cursor: progress; }\n/* On (a tool, a toggle, a segment): one look everywhere, the kit's active tool fill (ginger-400, Charcoal text, 6.9:1) */\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary),\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary):hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n/* A small count on a button */\n.btn-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font: 600 11px/18px var(--luci-font-body); text-align: center; pointer-events: none; }\n\n/* Sizes */\n.luci-theme .btn-sm { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12); }\n.luci-theme .btn-md { --luci-btn-h: 40px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-16); }\n.luci-theme .btn-lg { --luci-btn-h: 48px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-20); }\n\n/* Text with an icon, and icon only */\n.luci-theme .btn-with-ico { display: inline-flex; align-items: center; justify-content: center; gap: var(--luci-space-8); padding-block: 0; }\n.luci-theme .btn-with-ico .icon { margin-inline-start: calc(var(--luci-space-4) * -1); }\n.luci-theme .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--luci-btn-h); height: var(--luci-btn-h); padding: 0; }\n.luci-theme .btn-icon::before { inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)); }\n\n/* Variants */\n.luci-theme .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n.luci-theme .btn-primary:disabled { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-disabled); }\n.luci-theme .btn-secondary { background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-secondary:hover:not(:disabled) { background: var(--luci-color-secondary-hover); }\n.luci-theme .btn-secondary:disabled { background: var(--luci-color-surface-raised); }\n.luci-theme .btn-outline { background: transparent; border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-outline:hover:not(:disabled) { background: var(--luci-color-ghost-hover); border-color: var(--luci-color-stroke-strong); }\n.luci-theme :is(.btn-secondary, .btn-outline):is(.btn-with-ico, .btn-icon) { padding-block: 0; }\n.luci-theme .btn-ghost { background: transparent; }\n.luci-theme .btn-danger { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); }\n.luci-theme .btn-danger:hover:not(:disabled) { background: var(--luci-color-danger-hover); }\n.luci-theme .btn-danger:disabled { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); opacity: 0.5; }\n.luci-theme .btn-link { min-height: 0; padding: 0; border-radius: var(--luci-radius-sm); background: transparent; color: var(--luci-color-link);\n font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;\n transition: text-decoration-color var(--luci-motion-fast); }\n.luci-theme .btn-link:hover:not(:disabled) { background: transparent; text-decoration-color: currentColor; }\n.luci-theme .btn-link:active:not(:disabled) { transform: none; }\n.luci-theme .btn-link::before { inset: -8px -4px; }\n/* Working: the label stays for layout, a ring turns over it */\n.luci-theme button[aria-busy=\"true\"] > * { opacity: 0.4; }\n.badge, .count { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 var(--luci-space-8);\n border-radius: var(--luci-radius-full); font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line);\n font-weight: var(--luci-type-micro-weight); white-space: nowrap; }\n.badge { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.badge.brand { background: var(--luci-color-primary-soft); color: var(--luci-color-link); }\n.count { min-width: 22px; background: var(--luci-color-accent); color: var(--luci-color-on-accent); }\n\n/* Status message and toast: tinted fill, the status icon and coloured title, Charcoal detail, no stroke */\n.status-msg { display: flex; gap: var(--luci-space-12); align-items: flex-start; margin: 0; padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--status-bg); color: var(--luci-color-muzzle-900); }\n.status-msg.success { --status: var(--luci-color-success); --status-bg: var(--luci-color-success-bg); }\n.status-msg.warning { --status: var(--luci-color-warning); --status-bg: var(--luci-color-warning-bg); }\n.status-msg.danger { --status: var(--luci-color-danger); --status-bg: var(--luci-color-danger-bg); }\n.status-msg.info { --status: var(--luci-color-info); --status-bg: var(--luci-color-info-bg); }\n.status-msg > .icon { color: var(--status); margin-top: 2px; }\n.status-msg .status-body { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }\n.status-msg .status-detail { margin: 0; }\n.status-msg .mascot { width: 48px; }\n.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-elevation); }\n\n/* Card and panel */\n.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }\n\n/* Input, select and text area */\n.luci-theme :where(input[type=\"text\"], input[type=\"search\"], input[type=\"number\"], input[type=\"url\"], input:not([type]), select, textarea) {\n min-height: var(--luci-btn-h);\n padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background-color: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n transition: border-color var(--luci-motion-fast);\n}\n.luci-theme :where(textarea) { padding: var(--luci-space-8) var(--luci-space-12); resize: vertical; }\n/* Select: the component wraps it with the kit's chevron icon, 12 px from the edge */\n.luci-theme :where(select) { appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; cursor: pointer; }\n.select { position: relative; display: inline-flex; vertical-align: middle; min-width: 0; }\n.select > select { flex: 1 1 auto; min-width: 0; }\n.select > .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }\n.luci-theme :where(input, select, textarea):hover:not(:disabled) { border-color: var(--luci-color-stroke-strong); }\n.luci-theme ::placeholder { color: var(--luci-color-ink-secondary); opacity: 1; }\n.luci-theme :where(input[type=\"checkbox\"], input[type=\"radio\"]) { accent-color: var(--luci-color-primary); }\n.field-error { display: flex; gap: var(--luci-space-4); align-items: center; margin: 0; color: var(--luci-color-danger);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The repository pill: GitHub's mark and Luci's version, in the code font (a link once the repository is public) */\n.luci-theme .repo-btn { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-full); background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink); font: 600 13px/1 var(--luci-font-code); text-decoration: none; white-space: nowrap; }\n.luci-theme .repo-btn .repo-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary-soft); color: var(--luci-color-link); font: 700 10px/1.2 var(--luci-font-sans); text-transform: uppercase; letter-spacing: 0.04em; margin-left: 2px; }\n.luci-theme a.repo-btn:hover { background: var(--luci-color-ghost-hover); }\n.luci-theme a.repo-btn:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.luci-theme .repo-btn .gh-mark { display: block; width: 16px; height: 16px; line-height: 0; }\n.luci-theme .repo-btn .gh-mark svg { display: block; width: 16px; height: 16px; }\n/* Tooltip host: relative positioning and raised z-index on hover so tooltips render above sibling elements */\n.luci-theme [data-tip] { position: relative; }\n.luci-theme [data-tip]:is(:hover, :focus-visible) { z-index: 10; }\n\n/* Tooltip: the text in data-tip; below the element, or above with data-tip-pos=\"above\". Shows after 300 ms. */\n.luci-theme [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + var(--luci-space-8)); z-index: 10;\n width: max-content; max-width: 340px; box-sizing: border-box; padding: 6px 10px; border-radius: var(--luci-radius-md); background: var(--luci-color-ink);\n color: var(--luci-color-surface); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight);\n white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; text-align: left; pointer-events: none; opacity: 0; transform: translate(-50%, -4px);\n transition: opacity var(--luci-motion-exit), transform var(--luci-motion-exit); }\n.luci-theme [data-tip][data-tip-pos=\"above\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);\n transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }\n\n/*\n * Touch screens have no hover: a tapped button would keep its tooltip until the next tap elsewhere, over\n * the bar and its cards. There they show for keyboard focus only.\n */\n@media (hover: none) { .luci-theme [data-tip]:hover:not(:focus-visible)::after { opacity: 0; transition: none; } }\n\n/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align=\"left\") open rightwards to prevent clipping inside cards/panels */\n.luci-theme [data-tip][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child::after,\n.luci-theme .panel .row > [data-tip]:first-child::after {\n left: 0; right: auto; transform: translate(0, -4px);\n}\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:first-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px);\n}\n.luci-theme [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:first-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:first-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Right-aligned tooltips (repo button, last button in rows, cards, or explicit data-tip-align=\"right\") open leftwards */\n.luci-theme .repo-btn[data-tip]::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child::after,\n.luci-theme .panel .row > [data-tip]:last-child::after {\n left: auto; right: 0; transform: translate(0, -4px);\n}\n.luci-theme .repo-btn[data-tip][data-tip-pos=\"above\"]::after,\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:last-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px);\n}\n.luci-theme .repo-btn[data-tip]:is(:hover, :focus-visible)::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:last-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:last-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Empty state: Luci, a title, one line, an optional primary button */\n.empty { display: flex; flex-direction: column; align-items: center; gap: var(--luci-space-12); padding: var(--luci-space-24) var(--luci-space-16); text-align: center; }\n.empty .t-title { margin: 0; }\n.empty p:not(.t-title) { margin: 0; color: var(--luci-color-ink-secondary); }\n\n/* Compact, as the kit gives for the toolbar panel: 32 px buttons, small labels, small body text */\n.luci-theme { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The shell: a column at the window's edge, the toolbar pill first, then cards */\n.shell {\n position: fixed;\n top: var(--luci-space-12);\n right: var(--luci-space-12);\n z-index: 2147483647;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: var(--luci-space-8);\n max-width: calc(100vw - 24px);\n max-height: calc(100vh - 24px);\n /* The column itself is see-through: only the pill and the cards take the pointer */\n pointer-events: none;\n}\n.shell > * { pointer-events: auto; }\n.luci-theme[data-dock=\"left\"] .shell { right: auto; left: var(--luci-space-12); align-items: flex-start; }\n.luci-theme[data-dock=\"left\"] .bar,\n.luci-theme[data-dock=\"left\"] .sub,\n.luci-theme[data-dock=\"left\"] .panel { right: auto; left: var(--luci-space-12); }\n\n/* The toolbar pill (the brand kit, On-page toolbar): Charcoal in both themes, float shadow, no stroke */\n.bar {\n --luci-color-focus: var(--luci-color-muzzle-50);\n position: fixed;\n top: var(--luci-space-12);\n right: var(--luci-space-12);\n z-index: 2147483647;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 2px;\n max-width: calc(100vw - 24px);\n padding: var(--luci-space-8);\n border-radius: 32px;\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n /* Charcoal in both themes, so always with the inner edge: it stays apart from a dark page */\n box-shadow: var(--luci-elevation-bar);\n}\n/* Above the cards, so the tools' tooltips are never under a card */\n.shell > .bar { position: relative; z-index: 2; }\n/* In the column the shell is what is placed: the bar's own offsets would move it a second time */\n.luci-theme .shell > .bar { inset: auto; }\n/*\n * The extension's bar, dragged anywhere (data-h and data-v: the corner it is nearest). Cards open on\n * the side with room: below a bar in the top half, above one in the bottom half, aligned to its side.\n */\n.luci-theme .shell[data-v=\"bottom\"] { flex-direction: column-reverse; }\n.luci-theme .shell[data-h=\"left\"] { align-items: flex-start; }\n.luci-theme .shell[data-h=\"right\"] { align-items: flex-end; }\n.luci-theme .shell[data-movable] > .bar { cursor: grab; touch-action: none; }\n.luci-theme .shell[data-moving] > .bar, .luci-theme .shell[data-moving] > .bar * { cursor: grabbing; user-select: none; }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip]:not([data-tip-align])::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip]:not([data-tip-align]):is(:hover, :focus-visible)::after { transform: translate(-50%, 0); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"left\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"right\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px); }\n.luci-theme .shell[data-v=\"bottom\"] > .bar [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n.luci-theme .bar button { --luci-btn-h: 40px; color: var(--luci-color-bar-ink); }\n.luci-theme .bar .tool, .luci-theme .bar .menu-btn { --luci-btn-h: 48px; }\n.luci-theme .bar button:hover:not(:disabled) { background: var(--luci-color-bar-hover); }\n.luci-theme .bar button:disabled { color: var(--luci-color-muzzle-500); }\n.luci-theme .bar button[aria-pressed=\"true\"],\n.luci-theme .bar button[aria-pressed=\"true\"]:hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n.luci-theme .bar .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .bar .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n/* Disabled on Charcoal: only the icon dims, so it never looks like an \"on\" state */\n.luci-theme .bar .btn-primary:disabled { background: transparent; color: var(--luci-color-muzzle-500); }\n.bar-sep { flex: none; width: 1px; height: 24px; margin: 0 2px; background: var(--luci-color-bar-stroke); }\n/* Luci's head: the menu button */\n.luci-theme .bar .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; padding: 0; cursor: pointer; }\n.luci-theme .bar .menu-btn .luci-avatar { transition: background-color var(--luci-motion-fast); }\n.luci-theme .bar .menu-btn:is(:hover, [aria-pressed=\"true\"]) { background: transparent; }\n.luci-theme .bar .menu-btn:hover .luci-avatar { background: var(--luci-color-primary-hover); }\n.luci-theme .bar .menu-btn[aria-pressed=\"true\"] .luci-avatar { background: var(--luci-color-tool-active); }\n/* The basket: a Collar Lime pill with its count */\n.luci-theme .bar .basket-pill { display: inline-flex; align-items: center; gap: var(--luci-space-8); padding: 0 var(--luci-space-16) 0 var(--luci-space-12);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font-weight: 600; }\n.luci-theme .bar .basket-pill:hover:not(:disabled),\n.luci-theme .bar .basket-pill[aria-pressed=\"true\"],\n.luci-theme .bar .basket-pill[aria-pressed=\"true\"]:hover:not(:disabled),\n.luci-theme .bar button.basket-pill[aria-pressed=\"true\"]:hover:not(:disabled) { background: var(--luci-color-collar-lime-300); color: var(--luci-color-on-accent); }\n.bar .basket-n { display: none; }\n.brand { display: inline-flex; align-items: center; gap: var(--luci-space-8); padding: 0 var(--luci-space-8) 0 0;\n font: var(--luci-type-display-weight) var(--luci-type-heading-size)/1 var(--luci-font-display); color: var(--luci-color-bar-ink); }\n/* The dev toolbar's mode switch, on Charcoal */\n.bar .seg { background: var(--luci-color-muzzle-800); align-self: center; }\n.luci-theme .bar .seg button { color: var(--luci-color-bar-ink); }\n.luci-theme .bar .seg button[aria-pressed=\"true\"],\n.luci-theme .bar .seg button[aria-pressed=\"true\"]:hover:not(:disabled) { color: var(--luci-color-on-tool-active); }\n.modes { margin-right: var(--luci-space-4); }\n\n/*\n * The dev toolbar is placed by its host: data-h and data-v name the corner it is nearest, --luci-x and\n * --luci-y its distances from that corner's edges (default bottom right, 12 px, by its button; the\n * person can drag it anywhere). Everything opens from the bar, on the side with room: cards just above\n * a bar in the bottom half, just below one in the top half, aligned to its side. A panel takes the\n * hint's place while it is open. --luci-bar-h is the bar's measured height (it can wrap), so a card\n * never opens under it. The extension sets none of this (its bar keeps its own place).\n */\n:host([data-h=\"right\"]) :is(.shell, .bar:not(.shell > .bar), .sub:not(.shell > .sub), .panel:not(.shell > .panel), .menu) { left: auto; right: var(--luci-x, 12px); }\n:host([data-h=\"left\"]) :is(.shell, .bar:not(.shell > .bar), .sub:not(.shell > .sub), .panel:not(.shell > .panel), .menu) { right: auto; left: var(--luci-x, 12px); }\n:host([data-h=\"right\"]) .shell { align-items: flex-end; }\n:host([data-h=\"left\"]) .shell { align-items: flex-start; }\n:host([data-v=\"bottom\"]) :is(.shell, .bar:not(.shell > .bar)) { top: auto; bottom: var(--luci-y, 12px); }\n:host([data-v=\"bottom\"]) .shell { flex-direction: column-reverse; }\n:host([data-v=\"bottom\"]) :is(.sub:not(.shell > .sub), .panel:not(.shell > .panel)) { top: auto; bottom: calc(var(--luci-y, 12px) + var(--luci-bar-h, 64px) + 8px); }\n:host([data-v=\"bottom\"]) .menu { top: auto; bottom: calc(var(--luci-y, 12px) + var(--luci-bar-h, 64px)); }\n:host([data-v=\"top\"]) :is(.shell, .bar:not(.shell > .bar)) { bottom: auto; top: var(--luci-y, 12px); }\n:host([data-v=\"top\"]) :is(.sub:not(.shell > .sub), .panel:not(.shell > .panel)) { bottom: auto; top: calc(var(--luci-y, 12px) + var(--luci-bar-h, 64px) + 8px); }\n:host([data-v=\"top\"]) .menu { bottom: auto; top: calc(var(--luci-y, 12px) + var(--luci-bar-h, 64px)); }\n:host([data-v]) .shell { max-height: calc(100vh - var(--luci-y, 12px) - 12px); }\n:host([data-v]) .panel:not(.shell > .panel) { max-height: min(72vh, calc(100vh - var(--luci-y, 12px) - var(--luci-bar-h, 64px) - 32px)); }\n:host([data-v]) .layout-panel:not(.shell > .panel) { max-height: min(80vh, calc(100vh - var(--luci-y, 12px) - var(--luci-bar-h, 64px) - 32px)); }\n:host([data-v]) .luci-theme:has(> .panel) > .sub:not([role=\"alert\"]) { display: none; }\n:host([data-v=\"bottom\"]) :is(.sub, .panel, .menu) { animation: luci-rise var(--luci-motion-base, 200ms) both; }\n:host([data-v=\"top\"]) :is(.sub, .panel, .menu) { animation: luci-drop var(--luci-motion-base, 200ms) both; }\n@keyframes luci-rise { from { opacity: 0; transform: translateY(8px); } }\n@keyframes luci-drop { from { opacity: 0; transform: translateY(-8px); } }\n@media (prefers-reduced-motion: reduce) { :host([data-v]) :is(.sub, .panel, .menu) { animation: none; } }\n:host([data-v=\"bottom\"]) .bar [data-tip]:not([data-tip-align])::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n:host([data-v=\"bottom\"]) .bar [data-tip]:not([data-tip-align]):is(:hover, :focus-visible)::after { transform: translate(-50%, 0); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"left\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"right\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px); }\n:host([data-v=\"bottom\"]) .bar [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after { transform: translate(0, 0); }\n/* The dev toolbar's bar can be dragged by its own background, a separator or Luci */\n:host([data-v]) .bar { cursor: grab; touch-action: none; }\n:host([data-v]) .bar button, :host([data-v]) .bar .menu-btn { cursor: pointer; }\n:host([data-moving]) .bar, :host([data-moving]) .bar * { cursor: grabbing; user-select: none; }\n/* New page's canvas covers the window: its tools and its panel keep clear of the bar */\n:host([data-v=\"bottom\"]) .wf { padding-bottom: calc(var(--luci-y, 12px) + var(--luci-bar-h, 64px) + 12px); }\n:host([data-v=\"bottom\"]) .wf-tools { padding-top: var(--luci-space-12); }\n:host([data-v=\"top\"]) .wf-tools { padding-top: calc(var(--luci-y, 12px) + var(--luci-bar-h, 64px) + 12px); }\n:host([data-v=\"top\"]) .panel[data-part=\"sketch-panel\"]:not(.shell > .panel) { top: auto; bottom: var(--luci-space-12); }\n\n/*\n * Phones and narrow windows (dev toolbar): the bar spans the window's width in two planned rows instead\n * of wrapping wherever it runs out of room. Row 1: Luci, the mode switch, Close. Row 2: the mode's tools,\n * spread evenly at the 44 px touch target. The first separator is the line break. Cards open full width\n * from the bar, above it (or below a bar dragged to the top).\n */\n@media (max-width: 639px) {\n :host([data-v]) :is(.shell, .bar:not(.shell > .bar), .sub:not(.shell > .sub), .panel:not(.shell > .panel), .menu) { left: 8px; right: 8px; }\n :host([data-v]) :is(.sub:not(.shell > .sub), .panel:not(.shell > .panel)) { width: auto; }\n :host([data-v]) .shell { align-items: stretch; max-width: none; }\n :host([data-v]) .shell > :is(.sub, .panel) { width: auto; }\n :host([data-v]) .bar { justify-content: space-between; row-gap: var(--luci-space-4); column-gap: 0; padding: 6px; border-radius: var(--luci-radius-xl); max-width: none; }\n :host([data-v]) .bar > * { order: 3; }\n :host([data-v]) .bar > :is(.menu-btn, .modes) { order: 0; }\n :host([data-v]) .bar > [data-action=\"close\"] { order: 1; }\n :host([data-v]) .bar > .modes + .bar-sep { order: 2; flex-basis: 100%; width: 0; height: 0; margin: 0; background: none; }\n :host([data-v]) .bar > .bar-sep:not(.modes + .bar-sep) { display: none; }\n :host([data-v]) .bar .modes { flex: 1 1 auto; margin: 0 var(--luci-space-4); }\n :host([data-v]) .bar .modes button { flex: 1 1 0; padding-inline: var(--luci-space-8); }\n :host([data-v]) .luci-theme .bar :is(.tool, .split .caret) { --luci-btn-h: 44px; }\n /* Where notes go, as its dot only (the words stay as its label) */\n :host([data-v]) .bar .conn { width: 28px; height: 44px; justify-content: center; padding: 0; font-size: 0; }\n :host([data-v]) .bar .conn::before { width: 10px; height: 10px; }\n /* Layout's inspector leaves the top of the page in view, where the selected element can be */\n :host([data-v]) .layout-panel:not(.shell > .panel) { max-height: min(45vh, calc(100vh - var(--luci-y, 12px) - var(--luci-bar-h, 64px) - 32px)); }\n /* The basket as its icon and count (its label still says \"Basket, n items\") */\n :host([data-v]) .luci-theme .bar .basket-pill { gap: var(--luci-space-4); padding: 0 var(--luci-space-12) 0 var(--luci-space-8); }\n :host([data-v]) .bar .basket-full { display: none; }\n :host([data-v]) .bar .basket-n { display: inline; }\n}\n\n/* Cards under the pill: the hint while picking, and every panel (radius-xl, float shadow, no stroke) */\n.sub, .panel { background: var(--luci-color-surface); border-radius: var(--luci-radius-xl); box-shadow: var(--luci-elevation); }\n.sub {\n position: fixed;\n top: 84px;\n right: var(--luci-space-12);\n z-index: 2147483646;\n width: min(420px, calc(100vw - 24px));\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12) var(--luci-space-16);\n}\n/* In the column, cards drop the stand-alone z-index (flex items honour it even unpositioned) */\n.shell > .sub { position: static; z-index: auto; width: min(560px, calc(100vw - 24px)); }\n.sub p { margin: 0; }\n.sub.with-luci { flex-direction: row; align-items: center; gap: var(--luci-space-16); }\n/* Luci beside a hint inside a card (Layout: placing, new page) */\n.luci-hint { display: flex; align-items: center; gap: var(--luci-space-16); }\n.luci-hint > p { margin: 0; min-width: 0; }\n.sub .sub-body { display: flex; flex-direction: column; gap: var(--luci-space-8); min-width: 0; }\n.keys { color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.panel {\n position: fixed;\n right: var(--luci-space-12);\n bottom: var(--luci-space-12);\n z-index: 2147483646;\n width: min(480px, calc(100vw - 24px));\n max-height: min(72vh, 660px);\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-12);\n padding: var(--luci-space-20);\n overflow-y: auto;\n overscroll-behavior: contain;\n}\n.shell > .panel { position: static; z-index: auto; width: min(560px, calc(100vw - 24px)); max-height: none; flex: 0 1 auto; min-height: 0; }\n.panel > * { flex-shrink: 0; }\n.panel > .items, .panel > .diffs { flex-shrink: 1; }\n.panel h2 { margin: 0; font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); }\n.panel.result-panel { padding: 0; gap: 0; }\n.panel-body { display: flex; flex-direction: column; gap: var(--luci-space-12); padding: var(--luci-space-20) var(--luci-space-20) var(--luci-space-16); }\n\n/* The menu: who Luci is, help, then settings */\n.menu-head { display: flex; align-items: center; gap: var(--luci-space-16); }\n.menu-head > .repo-btn { align-self: flex-start; margin-left: auto; }\n.settings-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-12); }\n.settings-head h2 { margin: 0; }\n/* The extension's invitation: the rest of Luci lives in the person's project. A tint, no stroke, no pop-up */\n.invite { display: flex; flex-direction: column; align-items: flex-start; gap: var(--luci-space-4); padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--luci-color-primary-soft); }\n.invite p { margin: 0; }\n.invite-title { font: var(--luci-type-display-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-display); color: var(--luci-color-ink); }\n.invite-body { color: var(--luci-color-ink); }\n.luci-theme .invite-action { margin-top: var(--luci-space-4); }\n.brand-stack { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.brand-title-line { display: flex; align-items: baseline; gap: var(--luci-space-8); flex-wrap: wrap; }\n.brand-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); color: var(--luci-color-ink); }\n.brand-sub { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); color: var(--luci-color-ink-secondary); }\n.brand-desc { margin: 0; color: var(--luci-color-ink-secondary); }\n/* The first-run greeting */\n.greet { flex-direction: row; align-items: center; gap: var(--luci-space-16); }\n.greet .t-title { margin: 0; }\n/* The words wrap beside Luci on a narrow window (panels keep their children's size otherwise) */\n.greet > .stack { flex-shrink: 1; min-width: 0; }\n\n/* Segmented control */\n.seg { display: inline-flex; align-self: flex-start; gap: var(--luci-space-4); padding: var(--luci-space-4); background: var(--luci-color-surface-sunken); border-radius: var(--luci-radius-full); }\n.luci-theme .seg button { min-height: 28px; padding: 5px var(--luci-space-12); }\n.seg button::before { inset: -8px 0; }\n\n/* Lists: basket items, section files */\n.items { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-8); overflow: auto; }\n.items li { display: grid; grid-template-columns: 1fr auto; gap: var(--luci-space-8); align-items: center; padding: var(--luci-space-12);\n background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-lg); }\n.files { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-4); }\n.files li { display: flex; gap: var(--luci-space-8); align-items: center; justify-content: space-between; padding: var(--luci-space-4) var(--luci-space-4) var(--luci-space-4) var(--luci-space-12);\n background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-md); }\n.files li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.files code, [data-part=\"file-view-box\"] code { font: var(--luci-type-code-weight) 12px/1.5 var(--luci-font-code); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.items textarea { grid-column: 1 / -1; min-height: 40px; font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.items input { min-width: 0; }\n/* A basket item: what it is, then its name with Export and Remove in one row, then its note */\n.items .meta { grid-column: 1; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); }\n.items .meta:not(:has(+ .compare-pick)) { grid-column: 1 / -1; }\n.items .compare-pick { grid-column: 2; justify-self: end; gap: var(--luci-space-4); font-size: var(--luci-type-small-size); }\n/* Automatic design check (v0.4) */\n.check-watch { gap: var(--luci-space-8); font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n/* Screenshot mode (v0.4): the hint card is where an image is dropped */\n.sub.image-drop { outline: 2px dashed var(--luci-color-stroke-subtle); outline-offset: -6px; }\n/* Compare mode (v0.4): What, A, B */\n.compare-scroll { max-height: 50vh; overflow: auto; border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.compare { width: 100%; min-width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.compare th, .compare td { padding: var(--luci-space-4) var(--luci-space-8); text-align: left; vertical-align: top; box-sizing: border-box; }\n.compare .col-what, .compare th:first-child, .compare td:first-child { width: 50%; overflow-wrap: break-word; word-break: normal; }\n.compare .col-a, .compare .col-b,\n.compare th:nth-child(2), .compare td:nth-child(2),\n.compare th:nth-child(3), .compare td:nth-child(3) { width: 25%; overflow-wrap: anywhere; word-break: break-word; }\n.compare th { position: sticky; top: 0; background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-secondary); font-weight: 600; }\n.compare tr + tr td { border-top: 1px solid var(--luci-color-stroke-subtle); }\n.items .row { grid-column: 2; flex-wrap: nowrap; }\n.stack { display: flex; flex-direction: column; align-items: stretch; gap: var(--luci-space-8); }\n\n/* The file preview: code you can edit and drag taller */\ntextarea.preview { flex: none; height: 280px; min-height: 120px; max-height: 70vh; padding: var(--luci-space-12); white-space: pre; overflow: auto;\n background: var(--luci-color-surface-raised); font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\ntextarea[data-part=\"instructions\"] { min-height: 64px; }\npre.preview { margin: 0; max-height: 240px; overflow: auto; white-space: pre-wrap; }\npre { margin: 0; overflow: auto; padding: var(--luci-space-12); background: var(--luci-color-surface-sunken); border-radius: var(--luci-radius-sm); white-space: pre; min-height: 80px;\n font: var(--luci-type-code-weight) 12px/var(--luci-type-code-line) var(--luci-font-code); }\n\n.dim { margin: 0; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: 400; }\n.hint { margin: 0; color: var(--luci-color-ink-secondary); }\n/* An error is a status message: tinted fill and the status colour, never colour alone (the words say it) */\n.error { margin: 0; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-danger-bg); color: var(--luci-color-danger); font-weight: 500; }\n.row { display: flex; flex-wrap: wrap; gap: var(--luci-space-8); align-items: center; }\n.file { font: var(--luci-type-code-weight) 12px/1.5 var(--luci-font-code); color: var(--luci-color-ink-secondary); word-break: break-all; }\nlabel { display: inline-flex; gap: var(--luci-space-4); align-items: center; color: var(--luci-color-ink-secondary); }\n\n/* Page overlays while picking: drawn over the host page, never part of it */\n.pick-layer, .pixel-layer { position: fixed; inset: 0; z-index: 2147483640; cursor: crosshair; background: transparent; touch-action: none; }\n/* Picking an element by touch takes taps, not drags: the page still scrolls and zooms under the finger */\n.pick-layer { touch-action: pan-x pan-y pinch-zoom; }\n.highlight { position: fixed; z-index: 2147483646; pointer-events: none; border: 2px solid var(--luci-color-pick); background: var(--luci-color-pick-fill); border-radius: 2px; }\n.highlight.locked { border-width: 2px; border-style: solid; }\n.highlight.blocked { border-color: var(--luci-color-pick-blocked); background: var(--luci-color-pick-blocked-fill); }\n.pad { position: fixed; z-index: 2147483645; pointer-events: none; border-style: solid; border-color: var(--luci-color-pad-fill); }\n.margin { position: fixed; z-index: 2147483645; pointer-events: none; border-style: solid; border-color: var(--luci-color-margin-fill); }\n@media (prefers-reduced-motion: no-preference) { .highlight { transition: top 60ms, left 60ms, width 60ms, height 60ms; } }\n/* The label and the pixel swatch read like tooltips: Charcoal fill, Muzzle White text */\n.label, .swatch { position: fixed; z-index: 2147483647; pointer-events: none; padding: var(--luci-space-4) var(--luci-space-8); border-radius: var(--luci-radius-md);\n background: var(--luci-color-muzzle-900); color: var(--luci-color-muzzle-50); box-shadow: var(--luci-elevation-bar);\n font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); }\n.label { max-width: 360px; white-space: pre-wrap; }\n.label .reason { display: block; color: var(--luci-color-nose-pink-300); font-family: var(--luci-font-body); }\n.swatch { display: flex; gap: var(--luci-space-8); align-items: center; }\n.chip { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--luci-color-bar-stroke); }\n/* Pixel mode's loupe: the pixels around the pointer, 8 times larger, the picked one framed */\n.loupe { position: fixed; z-index: 2147483647; pointer-events: none; width: 120px; height: 120px; border-radius: 50%; image-rendering: pixelated;\n background: var(--luci-color-muzzle-900); box-shadow: 0 0 0 3px var(--luci-color-muzzle-50), var(--luci-shadow-float); }\n\n/* State pills */\n.states-list { display: flex; flex-wrap: wrap; gap: var(--luci-space-4); }\n.state { display: inline-flex; align-items: center; gap: var(--luci-space-4); height: 26px; padding: 0 var(--luci-space-12); border-radius: var(--luci-radius-full);\n background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); font-size: var(--luci-type-small-size); font-weight: 500; }\n.state.default { background: var(--luci-color-primary-soft); color: var(--luci-color-link); font-weight: 600; }\n.state.missing { background: transparent; color: var(--luci-color-ink-secondary); border: 1px dashed var(--luci-color-stroke-strong); }\n.manual-row { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-12); }\n.section-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }\n.manual-actions { display: inline-flex; align-items: center; gap: var(--luci-space-8); flex: none; }\n\n/* Settings and the 3-column export settings */\n.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--luci-space-8); }\n.field-stack { display: flex; flex-direction: column; align-items: stretch; gap: var(--luci-space-4); color: var(--luci-color-ink); }\n.field-label { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: 600; color: var(--luci-color-ink); }\n.field-stack .select, .field-stack select { width: 100%; }\n.settings-appearance { display: flex; flex-direction: column; gap: var(--luci-space-12); }\n/* The words wrap beside the control; the control keeps its place on the right */\n.setting-row { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-12); }\n.setting-copy { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }\n.setting-row > .seg { flex: none; align-self: center; }\n.settings-divider { height: 1px; margin: var(--luci-space-4) 0; border: 0; background: var(--luci-color-stroke-subtle); }\n.shortcut-list { display: grid; grid-template-columns: auto 1fr; gap: var(--luci-space-8) var(--luci-space-12); align-items: center; padding: var(--luci-space-12);\n border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); font-size: var(--luci-type-small-size); }\n.kbd { display: inline-block; min-width: 24px; padding: 2px var(--luci-space-8); border-radius: 6px; background: var(--luci-color-surface-raised); color: var(--luci-color-ink);\n text-align: center; font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); }\n\n/* Connected project status (v0.4.4) */\n.project-card { display: flex; flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.project-header { display: flex; align-items: flex-start; gap: var(--luci-space-8); }\n.status-dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; }\n.status-dot.online { background: var(--luci-color-success); box-shadow: 0 0 0 2px var(--luci-color-success-bg); }\n.status-dot.offline { background: var(--luci-color-stroke-strong); }\n.project-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }\n.project-name { font-weight: 600; color: var(--luci-color-ink); font-size: var(--luci-type-small-size); }\n.project-path { font-size: 11px; color: var(--luci-color-ink-secondary); word-break: break-all; }\n.project-hint { font-size: 11px; color: var(--luci-color-ink-secondary); }\n.project-port-row { display: flex; align-items: center; gap: var(--luci-space-8); margin-top: var(--luci-space-4); }\n.port-input { flex: 1; min-width: 0; padding: 4px var(--luci-space-8); border-radius: var(--luci-radius-sm); border: 1px solid var(--luci-color-stroke-subtle); background: var(--luci-color-surface-raised); font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); color: var(--luci-color-ink); }\n\n/* DevTool tabbed settings (v0.4.4) */\n.setting-tools-header { display: flex; flex-direction: column; gap: var(--luci-space-8); }\n.tool-tabs { display: flex; width: 100%; box-sizing: border-box; }\n.tool-tabs button { flex: 1 1 0; text-align: center; justify-content: center; }\n.tool-settings-body { display: flex; flex-direction: column; gap: var(--luci-space-12); }\n.swatches { display: flex; gap: var(--luci-space-8); flex-wrap: wrap; }\n.luci-theme .swatches button { width: 28px; min-height: 28px; height: 28px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; }\n.luci-theme .swatches button::before { inset: -8px; }\n.luci-theme .swatches button[aria-pressed=\"true\"] { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n\n/* The selected element and its tips */\n.selected-card { display: flex; flex-direction: column; gap: var(--luci-space-12); padding: var(--luci-space-16); border-radius: var(--luci-radius-lg); background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); }\n.selected-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.selected-card h2 { margin: 0; font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); }\n.tip-box { margin: 0; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-secondary);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The file and its actions */\n.md-section { display: flex; flex-direction: column; gap: var(--luci-space-12); padding: var(--luci-space-16) var(--luci-space-20) var(--luci-space-20); background: var(--luci-color-surface-sunken); }\n.md-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.md-title { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); color: var(--luci-color-ink); }\n.file-row { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.scope-pill { flex: none; }\n.actions { gap: var(--luci-space-8); }\n\n/* Design check */\n[data-part=\"check-summary\"] { margin: 0; }\n.row .rule { order: 1; flex-basis: 100%; max-height: 132px; overflow: auto; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.rule code { font: var(--luci-type-code-weight) 12px/1.5 var(--luci-font-code); white-space: pre-wrap; word-break: break-word; }\n.diffs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-4); overflow: auto; min-height: 60px; }\n.diffs li { display: flex; flex-direction: column; gap: 2px; padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle); }\n.diffs li.high { background: var(--luci-color-warning-bg); color: var(--luci-color-muzzle-900); border-color: transparent; }\n.diffs li.high .dim { color: var(--luci-color-muzzle-700); }\n.diffs label { align-items: flex-start; gap: var(--luci-space-8); color: inherit; }\n.diffs input { flex: none; margin: 3px 0 0; }\n.diffs .dim { padding-left: 21px; }\n\n/* Screenshot diff overlay (v0.4.4) */\n.diff-section { border-top: 1px solid var(--luci-color-stroke-subtle); padding-top: var(--luci-space-8); }\n.diff-controls { display: flex; flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); }\n.diff-slider { width: 100%; accent-color: var(--luci-color-primary); cursor: pointer; }\n.diff-overlay { position: fixed; z-index: 2147483644; pointer-events: none; overflow: hidden; box-shadow: 0 0 0 2px var(--luci-color-primary), var(--luci-shadow-float); border-radius: var(--luci-radius-sm); }\n.diff-overlay img { width: 100%; height: 100%; object-fit: fill; display: block; }\n.diff-split-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--luci-color-primary); box-shadow: var(--luci-shadow-float); pointer-events: none; }\n\n/* Loading */\n.loading { display: flex; gap: var(--luci-space-12); align-items: center; margin: 0; color: var(--luci-color-ink); }\n.loading .steps { color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); }\n.loading-sleep { flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-16) 0; text-align: center; }\n.loading-sleep .stack { align-items: center; }\n/* Spins with transform only: the browser keeps it moving off the page's main thread, even while Luci reads a heavy page */\n.spinner { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--luci-color-stroke-strong); border-top-color: var(--luci-color-primary);\n animation: luci-spin 0.8s linear infinite; will-change: transform; }\nbutton .spinner { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; }\n@keyframes luci-spin { to { transform: rotate(360deg); } }\n@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }\n";
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
package/dist/ui/styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/ui/styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/ui/styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW,swrEA2ZvB,CAAC"}
|