@luci-dev/capture 0.5.8 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/a11y.d.ts +3 -2
- package/dist/a11y.d.ts.map +1 -1
- package/dist/a11y.js +85 -13
- package/dist/a11y.js.map +1 -1
- package/dist/color.d.ts.map +1 -1
- package/dist/color.js +40 -8
- package/dist/color.js.map +1 -1
- package/dist/component.d.ts +22 -5
- package/dist/component.d.ts.map +1 -1
- package/dist/component.js +160 -46
- package/dist/component.js.map +1 -1
- package/dist/dom.d.ts +8 -6
- package/dist/dom.d.ts.map +1 -1
- package/dist/dom.js +99 -11
- package/dist/dom.js.map +1 -1
- package/dist/font.d.ts.map +1 -1
- package/dist/font.js +17 -3
- package/dist/font.js.map +1 -1
- package/dist/icon.js +12 -12
- package/dist/icon.js.map +1 -1
- package/dist/luci-capture.js +7098 -2681
- package/dist/model.d.ts +6 -7
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +13 -4
- package/dist/model.js.map +1 -1
- package/dist/page.d.ts +17 -3
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +287 -16
- package/dist/page.js.map +1 -1
- package/dist/responsive.d.ts +3 -1
- package/dist/responsive.d.ts.map +1 -1
- package/dist/responsive.js +23 -3
- package/dist/responsive.js.map +1 -1
- package/dist/section.d.ts +2 -1
- package/dist/section.d.ts.map +1 -1
- package/dist/section.js +28 -18
- package/dist/section.js.map +1 -1
- package/dist/spacing.d.ts +2 -0
- package/dist/spacing.d.ts.map +1 -1
- package/dist/spacing.js +50 -8
- package/dist/spacing.js.map +1 -1
- package/dist/states.d.ts +6 -0
- package/dist/states.d.ts.map +1 -1
- package/dist/states.js +81 -12
- package/dist/states.js.map +1 -1
- package/dist/text.d.ts +7 -1
- package/dist/text.d.ts.map +1 -1
- package/dist/text.js +175 -26
- package/dist/text.js.map +1 -1
- package/dist/ui/check.d.ts +14 -0
- package/dist/ui/check.d.ts.map +1 -1
- package/dist/ui/check.js +71 -55
- package/dist/ui/check.js.map +1 -1
- package/dist/ui/devSettings.d.ts +67 -2
- package/dist/ui/devSettings.d.ts.map +1 -1
- package/dist/ui/devSettings.js +152 -7
- package/dist/ui/devSettings.js.map +1 -1
- package/dist/ui/index.d.ts +6 -2
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +6 -2
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/mount.d.ts +15 -1
- package/dist/ui/mount.d.ts.map +1 -1
- package/dist/ui/mount.js +5 -0
- package/dist/ui/mount.js.map +1 -1
- package/dist/ui/onSpec.d.ts +61 -0
- package/dist/ui/onSpec.d.ts.map +1 -0
- package/dist/ui/onSpec.js +516 -0
- package/dist/ui/onSpec.js.map +1 -0
- package/dist/ui/projectLabel.d.ts +11 -0
- package/dist/ui/projectLabel.d.ts.map +1 -0
- package/dist/ui/projectLabel.js +15 -0
- package/dist/ui/projectLabel.js.map +1 -0
- package/dist/ui/remap.d.ts.map +1 -1
- package/dist/ui/remap.js +7 -3
- package/dist/ui/remap.js.map +1 -1
- package/dist/ui/specWatcher.d.ts +79 -0
- package/dist/ui/specWatcher.d.ts.map +1 -0
- package/dist/ui/specWatcher.js +702 -0
- package/dist/ui/specWatcher.js.map +1 -0
- package/dist/ui/styles.d.ts +4 -1
- package/dist/ui/styles.d.ts.map +1 -1
- package/dist/ui/styles.js +343 -2
- package/dist/ui/styles.js.map +1 -1
- package/dist/ui/toolbar.d.ts +15 -1
- package/dist/ui/toolbar.d.ts.map +1 -1
- package/dist/ui/toolbar.js +233 -64
- package/dist/ui/toolbar.js.map +1 -1
- package/dist/ui/tools.d.ts +5 -4
- package/dist/ui/tools.d.ts.map +1 -1
- package/dist/ui/tools.js +44 -13
- package/dist/ui/tools.js.map +1 -1
- package/dist/ui/updateBanner.d.ts +13 -0
- package/dist/ui/updateBanner.d.ts.map +1 -0
- package/dist/ui/updateBanner.js +105 -0
- package/dist/ui/updateBanner.js.map +1 -0
- package/package.json +3 -3
package/dist/ui/styles.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
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";
|
|
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-nose-pink-300);\n --luci-color-danger-bg: color-mix(in srgb, var(--luci-color-nose-pink-300) 18%, transparent);\n --luci-color-danger-hover: color-mix(in srgb, var(--luci-color-nose-pink-300) 26%, transparent);\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-nose-pink-300);\n --luci-color-danger-bg: color-mix(in srgb, var(--luci-color-nose-pink-300) 18%, transparent);\n --luci-color-danger-hover: color-mix(in srgb, var(--luci-color-nose-pink-300) 26%, transparent);\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/* Mode poses: Framing (Capture), Listening (Team Feedback) */\n.luci .luci-frame,.luci .luci-bubble{transform-box:fill-box}\n.luci .luci-frame{transform-origin:50% 50%}\n.luci .luci-bubble{transform-origin:0 100%}\n\n@keyframes luci-focus{0%,100%{transform:scale(1.08)}35%,75%{transform:scale(1)}}\n@keyframes luci-heard-1{0%{opacity:0;transform:translateY(6px)}10%,84%{opacity:1;transform:translateY(0)}94%,100%{opacity:0;transform:translateY(0)}}\n@keyframes luci-heard-2{0%,28%{opacity:0;transform:translateY(6px)}38%,84%{opacity:1;transform:translateY(0)}94%,100%{opacity:0;transform:translateY(0)}}\n\n/* Framing (Capture mode): the pick frame settles on the card, the paw taps it, 4 s */\n.luci-pose-frame .luci-frame{animation:luci-focus 4s ease-in-out infinite}\n.luci-pose-frame .luci-arm{animation:luci-tap 4s ease-in-out infinite}\n.luci-pose-frame .luci-eye{animation:luci-blink 6s ease-in-out infinite 1s}\n.luci-pose-frame .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite}\n/* Listening (Team Feedback mode): two notes arrive in turn, the near ear flicks to the second, 7 s */\n.luci-pose-listen .luci-bubble-1{animation:luci-heard-1 7s ease-in-out infinite}\n.luci-pose-listen .luci-bubble-2{animation:luci-heard-2 7s ease-in-out infinite}\n.luci-pose-listen .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite -4s}\n.luci-pose-listen .luci-body{animation:luci-breathe 4.5s ease-in-out infinite}\n.luci-pose-listen .luci-eye{animation:luci-blink 6s ease-in-out infinite 2s}\n.luci-pose-listen .luci-tail{animation:luci-sway 5s 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),\n.luci-theme [role=\"tab\"][aria-selected=\"true\"]:not(.btn-primary),\n.luci-theme [role=\"tab\"][aria-selected=\"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-body); 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 2-column export settings */\n.settings-grid { display: grid; grid-template-columns: repeat(2, 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.warning, .status-dot.amber { background: var(--luci-color-warning); box-shadow: 0 0 0 2px var(--luci-color-warning-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/* Grouped project actions (Save to project + Unsave/Remove + Make it a rule), separate from the 4 icon actions */\n.project-actions {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n border-radius: var(--luci-radius-lg);\n background: var(--luci-color-surface-raised);\n border: 1px solid var(--luci-color-stroke-subtle);\n}\n.project-actions-row { display: flex; align-items: center; gap: var(--luci-space-8); flex-wrap: wrap; }\n.project-actions-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; font-size: var(--luci-type-small-size); }\n\n/* Updates section in Settings */\n.upd-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); }\n.upd-card { display: flex; flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-12); border-radius: var(--luci-radius-lg); background: var(--luci-color-surface-sunken); }\n.upd-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.upd-status-text { font-weight: 600; font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n.upd-notes { display: flex; flex-direction: column; gap: var(--luci-space-4); 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); font-size: var(--luci-type-small-size); }\n.upd-notes-body { margin: 0; font: var(--luci-type-small-weight) var(--luci-type-small-size)/var(--luci-type-small-line) var(--luci-font-body); white-space: pre-wrap; word-break: break-word; color: var(--luci-color-ink); max-height: 160px; overflow-y: auto; }\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\n/* After-Edit Blink (v0.7): calm ~900ms pulse ring and small fading status pill */\n.blink-ring {\n position: fixed;\n z-index: 2147483645;\n pointer-events: none;\n box-sizing: border-box;\n border-radius: var(--luci-radius-sm);\n box-shadow: 0 0 0 2px var(--luci-color-primary), 0 0 0 6px color-mix(in srgb, var(--luci-color-primary) 24%, transparent);\n animation: luci-blink-pulse 900ms cubic-bezier(0.2, 0, 0, 1) forwards;\n}\n@keyframes luci-blink-pulse {\n 0% { opacity: 0; transform: scale(0.985); }\n 18% { opacity: 1; transform: scale(1); }\n 70% { opacity: 0.9; transform: scale(1.008); }\n 100% { opacity: 0; transform: scale(1.015); }\n}\n@media (prefers-reduced-motion: reduce) {\n .blink-ring { animation: luci-blink-fade 900ms ease-out forwards; }\n}\n@keyframes luci-blink-fade {\n 0% { opacity: 0.95; }\n 75% { opacity: 0.85; }\n 100% { opacity: 0; }\n}\n.blink-pill {\n position: fixed;\n z-index: 2147483646;\n pointer-events: none;\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-4);\n padding: 3px var(--luci-space-8);\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-muzzle-900);\n color: var(--luci-color-muzzle-50);\n font: 600 var(--luci-type-micro-size)/1.3 var(--luci-font-body);\n box-shadow: var(--luci-shadow-float);\n white-space: nowrap;\n}\n.blink-pill-dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--luci-color-primary);\n flex: none;\n}\n";
|
|
2
|
+
/** Calm On spec UI styles (v0.7): pill, list panel, rule provenance, challenge banner, hover badge. */
|
|
3
|
+
export declare const ON_SPEC_CSS = "\n@keyframes luci-paw-settle {\n 0% { opacity: 0.45; transform: translateY(-2px) scale(0.92); }\n 100% { opacity: 1; transform: translateY(0) scale(1); }\n}\n@keyframes luci-os-spin {\n to { transform: rotate(-360deg); }\n}\n.os-paw-earned {\n display: inline-flex;\n animation: luci-paw-settle 200ms ease-out both;\n}\n.os-spin {\n display: inline-flex;\n animation: luci-os-spin 0.8s linear infinite;\n}\n.luci-theme button.os-btn-done,\n.luci-theme button.os-btn-done:hover:not(:disabled) {\n background: var(--luci-color-success-bg);\n color: var(--luci-color-success);\n}\n@media (prefers-reduced-motion: reduce) {\n .os-paw-earned, .os-spin { animation: none; }\n}\n.luci-theme button.os-pill {\n position: fixed;\n bottom: var(--luci-space-12);\n left: var(--luci-space-12);\n z-index: 2147483646;\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-8);\n min-height: 36px;\n padding: 6px var(--luci-space-16) 6px var(--luci-space-12);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n font: 500 var(--luci-type-small-size)/var(--luci-type-small-line) var(--luci-font-body);\n box-shadow: var(--luci-shadow-edge), var(--luci-shadow-float);\n cursor: pointer;\n transition: background-color var(--luci-motion-fast);\n}\n.luci-theme button.os-pill[data-side=\"right\"] { left: auto; right: var(--luci-space-12); }\n.luci-theme button.os-pill:hover:not(:disabled) { background: var(--luci-color-bar-hover); }\n.luci-theme button.os-pill:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n@media (prefers-reduced-motion: reduce) { .luci-theme button.os-pill { transition: none; } }\n\n/* Annotate-style on-page component pins & highlight overlay */\n.highlight.os-highlight {\n position: fixed;\n z-index: 2147483644;\n pointer-events: none;\n box-sizing: border-box;\n border: 2px solid var(--luci-color-pick);\n border-radius: var(--luci-radius-sm);\n background: color-mix(in srgb, var(--luci-color-pick) 8%, transparent);\n}\n.luci-theme button.os-pin {\n position: fixed;\n z-index: 2147483645;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: var(--luci-space-4);\n min-width: 28px;\n min-height: 28px;\n padding: 4px 7px;\n border: 0;\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n font: 600 var(--luci-type-micro-size)/1 var(--luci-font-body);\n box-shadow: var(--luci-shadow-edge), var(--luci-shadow-float);\n cursor: pointer;\n transition: transform var(--luci-motion-fast), background-color var(--luci-motion-fast);\n}\n.luci-theme button.os-pin::before { inset: -8px; }\n.luci-theme button.os-pin[data-spec-state=\"on-spec\"] { background: var(--luci-color-success-bg); color: var(--luci-color-success); }\n.luci-theme button.os-pin[data-spec-state=\"drift\"] { background: var(--luci-color-warning-bg); color: var(--luci-color-warning); }\n.luci-theme button.os-pin[data-spec-state=\"excused\"] { background: var(--luci-color-surface-raised); color: var(--luci-color-ink); }\n.luci-theme button.os-pin[data-spec-state=\"no-rule\"] { background: var(--luci-color-bar); color: var(--luci-color-bar-ink); }\n.luci-theme button.os-pin:hover:not(:disabled) { transform: scale(1.06); }\n.luci-theme button.os-pin[data-spec-state=\"on-spec\"]:hover:not(:disabled) { background: var(--luci-color-success-bg); }\n.luci-theme button.os-pin[data-spec-state=\"drift\"]:hover:not(:disabled) { background: var(--luci-color-warning-bg); }\n.luci-theme button.os-pin[data-selected=\"true\"] { box-shadow: 0 0 0 2px var(--luci-color-focus), var(--luci-shadow-float); }\n.luci-theme button.os-pin:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.os-pin-count { font-weight: 700; line-height: 1; }\n@media (prefers-reduced-motion: reduce) { .luci-theme button.os-pin { transition: none; } }\n\n/* Single-component popover anchored right beside a clicked pin */\n.os-popover {\n position: fixed;\n z-index: 2147483647;\n max-height: min(65vh, 520px);\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-16);\n background: var(--luci-color-surface);\n color: var(--luci-color-ink);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-xl);\n box-shadow: var(--luci-elevation);\n overflow-y: auto;\n overscroll-behavior: contain;\n font-family: var(--luci-font-body);\n}\n\n.os-panel {\n position: fixed;\n bottom: 56px;\n left: var(--luci-space-12);\n z-index: 2147483646;\n width: min(460px, calc(100vw - 24px));\n max-height: min(72vh, 620px);\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-12);\n padding: var(--luci-space-20);\n background: var(--luci-color-surface);\n color: var(--luci-color-ink);\n border-radius: var(--luci-radius-xl);\n box-shadow: var(--luci-elevation);\n overflow-y: auto;\n overscroll-behavior: contain;\n font-family: var(--luci-font-body);\n}\n.os-panel[data-side=\"right\"] { left: auto; right: var(--luci-space-12); }\n.os-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: nowrap; }\n.os-title { display: inline-flex; align-items: center; gap: var(--luci-space-8); margin: 0; white-space: nowrap; font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); }\n.os-head-actions { display: inline-flex; align-items: center; gap: var(--luci-space-4); flex-wrap: nowrap; flex: none; }\n.os-summary { margin: 0; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.os-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-8); }\n.os-row {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-surface-raised);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-lg);\n}\n.os-row-top { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: nowrap; }\n.os-row-right { display: inline-flex; align-items: center; gap: var(--luci-space-4); flex: none; }\n.os-comp-meta { min-width: 0; flex: 1; }\n.os-comp-heading { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.luci-theme button.os-comp-link {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 2px;\n min-height: 0;\n padding: 2px 4px;\n margin: -2px -4px;\n border-radius: var(--luci-radius-sm);\n text-align: left;\n white-space: normal;\n font-weight: 400;\n max-width: 100%;\n}\n.luci-theme button.os-comp-link::before { display: none; }\n.os-comp-name { font-weight: 600; color: var(--luci-color-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n.os-comp-snippet { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); color: var(--luci-color-ink-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n.os-comp-sel { font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); color: var(--luci-color-ink-secondary); word-break: break-all; }\n.os-on-spec-line { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.os-badge {\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-4);\n padding: 2px var(--luci-space-8);\n border-radius: var(--luci-radius-full);\n font-size: var(--luci-type-micro-size);\n font-weight: 600;\n white-space: nowrap;\n}\n.os-badge[data-state=\"on-spec\"] { background: var(--luci-color-success-bg); color: var(--luci-color-success); }\n.os-badge[data-state=\"drift\"] { background: var(--luci-color-warning-bg); color: var(--luci-color-warning); }\n.os-badge[data-state=\"no-rule\"] { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-secondary); }\n.os-badge[data-state=\"excused\"] { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.os-sub { margin: 0; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.os-diffs { margin: 0; padding-left: var(--luci-space-16); display: flex; flex-direction: column; gap: var(--luci-space-4); font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n.os-actions { display: flex; align-items: center; gap: var(--luci-space-8); flex-wrap: wrap; }\n.os-inline-box {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-surface-sunken);\n border-radius: var(--luci-radius-md);\n}\n.os-inline-box input {\n width: 100%;\n box-sizing: border-box;\n padding: 6px var(--luci-space-8);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n font: inherit;\n}\n.os-challenge {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-warning-bg);\n color: var(--luci-color-ink);\n border-radius: var(--luci-radius-md);\n font-size: var(--luci-type-small-size);\n}\n.os-why {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-4);\n padding: var(--luci-space-12);\n background: var(--luci-color-surface-sunken);\n border-radius: var(--luci-radius-md);\n font-size: var(--luci-type-small-size);\n}\n.os-history { margin: var(--luci-space-4) 0 0; padding-left: var(--luci-space-16); display: flex; flex-direction: column; gap: var(--luci-space-4); color: var(--luci-color-ink-secondary); }\n.os-role-prompt {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-primary-soft);\n border-radius: var(--luci-radius-lg);\n font-size: var(--luci-type-small-size);\n}\n.os-role-choices { display: flex; gap: var(--luci-space-4); flex-wrap: wrap; }\n.os-hover-badge {\n position: fixed;\n z-index: 2147483645;\n pointer-events: none;\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-4);\n padding: 3px var(--luci-space-8);\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n font: 600 var(--luci-type-micro-size)/1.3 var(--luci-font-body);\n box-shadow: var(--luci-shadow-float);\n white-space: nowrap;\n}\n.upd-banner {\n position: fixed;\n top: var(--luci-space-12);\n right: var(--luci-space-12);\n z-index: 2147483646;\n width: min(360px, 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 background: var(--luci-color-surface);\n color: var(--luci-color-ink);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-xl);\n box-shadow: var(--luci-elevation);\n font-family: var(--luci-font-body);\n}\n.upd-banner-top { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); }\n.upd-banner-title { display: inline-flex; align-items: center; gap: var(--luci-space-8); font-weight: 600; font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n.upd-banner-sub { margin: 0; font-size: var(--luci-type-small-size); color: var(--luci-color-ink-secondary); }\n.upd-banner-actions { display: flex; align-items: center; gap: var(--luci-space-8); flex-wrap: wrap; }\n.upd-banner-result { display: flex; flex-direction: column; gap: var(--luci-space-4); font-size: var(--luci-type-small-size); color: var(--luci-color-ink-secondary); }\n.upd-notes { display: flex; flex-direction: column; gap: var(--luci-space-4); padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); font-size: var(--luci-type-small-size); }\n.upd-notes-body { margin: 0; font: var(--luci-type-small-weight) var(--luci-type-small-size)/var(--luci-type-small-line) var(--luci-font-body); white-space: pre-wrap; word-break: break-word; color: var(--luci-color-ink); max-height: 140px; overflow-y: auto; }\n";
|
|
4
|
+
export declare const FULL_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-nose-pink-300);\n --luci-color-danger-bg: color-mix(in srgb, var(--luci-color-nose-pink-300) 18%, transparent);\n --luci-color-danger-hover: color-mix(in srgb, var(--luci-color-nose-pink-300) 26%, transparent);\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-nose-pink-300);\n --luci-color-danger-bg: color-mix(in srgb, var(--luci-color-nose-pink-300) 18%, transparent);\n --luci-color-danger-hover: color-mix(in srgb, var(--luci-color-nose-pink-300) 26%, transparent);\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/* Mode poses: Framing (Capture), Listening (Team Feedback) */\n.luci .luci-frame,.luci .luci-bubble{transform-box:fill-box}\n.luci .luci-frame{transform-origin:50% 50%}\n.luci .luci-bubble{transform-origin:0 100%}\n\n@keyframes luci-focus{0%,100%{transform:scale(1.08)}35%,75%{transform:scale(1)}}\n@keyframes luci-heard-1{0%{opacity:0;transform:translateY(6px)}10%,84%{opacity:1;transform:translateY(0)}94%,100%{opacity:0;transform:translateY(0)}}\n@keyframes luci-heard-2{0%,28%{opacity:0;transform:translateY(6px)}38%,84%{opacity:1;transform:translateY(0)}94%,100%{opacity:0;transform:translateY(0)}}\n\n/* Framing (Capture mode): the pick frame settles on the card, the paw taps it, 4 s */\n.luci-pose-frame .luci-frame{animation:luci-focus 4s ease-in-out infinite}\n.luci-pose-frame .luci-arm{animation:luci-tap 4s ease-in-out infinite}\n.luci-pose-frame .luci-eye{animation:luci-blink 6s ease-in-out infinite 1s}\n.luci-pose-frame .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite}\n/* Listening (Team Feedback mode): two notes arrive in turn, the near ear flicks to the second, 7 s */\n.luci-pose-listen .luci-bubble-1{animation:luci-heard-1 7s ease-in-out infinite}\n.luci-pose-listen .luci-bubble-2{animation:luci-heard-2 7s ease-in-out infinite}\n.luci-pose-listen .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite -4s}\n.luci-pose-listen .luci-body{animation:luci-breathe 4.5s ease-in-out infinite}\n.luci-pose-listen .luci-eye{animation:luci-blink 6s ease-in-out infinite 2s}\n.luci-pose-listen .luci-tail{animation:luci-sway 5s 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),\n.luci-theme [role=\"tab\"][aria-selected=\"true\"]:not(.btn-primary),\n.luci-theme [role=\"tab\"][aria-selected=\"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-body); 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 2-column export settings */\n.settings-grid { display: grid; grid-template-columns: repeat(2, 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.warning, .status-dot.amber { background: var(--luci-color-warning); box-shadow: 0 0 0 2px var(--luci-color-warning-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/* Grouped project actions (Save to project + Unsave/Remove + Make it a rule), separate from the 4 icon actions */\n.project-actions {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n border-radius: var(--luci-radius-lg);\n background: var(--luci-color-surface-raised);\n border: 1px solid var(--luci-color-stroke-subtle);\n}\n.project-actions-row { display: flex; align-items: center; gap: var(--luci-space-8); flex-wrap: wrap; }\n.project-actions-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; font-size: var(--luci-type-small-size); }\n\n/* Updates section in Settings */\n.upd-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); }\n.upd-card { display: flex; flex-direction: column; gap: var(--luci-space-8); padding: var(--luci-space-12); border-radius: var(--luci-radius-lg); background: var(--luci-color-surface-sunken); }\n.upd-card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.upd-status-text { font-weight: 600; font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n.upd-notes { display: flex; flex-direction: column; gap: var(--luci-space-4); 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); font-size: var(--luci-type-small-size); }\n.upd-notes-body { margin: 0; font: var(--luci-type-small-weight) var(--luci-type-small-size)/var(--luci-type-small-line) var(--luci-font-body); white-space: pre-wrap; word-break: break-word; color: var(--luci-color-ink); max-height: 160px; overflow-y: auto; }\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\n/* After-Edit Blink (v0.7): calm ~900ms pulse ring and small fading status pill */\n.blink-ring {\n position: fixed;\n z-index: 2147483645;\n pointer-events: none;\n box-sizing: border-box;\n border-radius: var(--luci-radius-sm);\n box-shadow: 0 0 0 2px var(--luci-color-primary), 0 0 0 6px color-mix(in srgb, var(--luci-color-primary) 24%, transparent);\n animation: luci-blink-pulse 900ms cubic-bezier(0.2, 0, 0, 1) forwards;\n}\n@keyframes luci-blink-pulse {\n 0% { opacity: 0; transform: scale(0.985); }\n 18% { opacity: 1; transform: scale(1); }\n 70% { opacity: 0.9; transform: scale(1.008); }\n 100% { opacity: 0; transform: scale(1.015); }\n}\n@media (prefers-reduced-motion: reduce) {\n .blink-ring { animation: luci-blink-fade 900ms ease-out forwards; }\n}\n@keyframes luci-blink-fade {\n 0% { opacity: 0.95; }\n 75% { opacity: 0.85; }\n 100% { opacity: 0; }\n}\n.blink-pill {\n position: fixed;\n z-index: 2147483646;\n pointer-events: none;\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-4);\n padding: 3px var(--luci-space-8);\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-muzzle-900);\n color: var(--luci-color-muzzle-50);\n font: 600 var(--luci-type-micro-size)/1.3 var(--luci-font-body);\n box-shadow: var(--luci-shadow-float);\n white-space: nowrap;\n}\n.blink-pill-dot {\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--luci-color-primary);\n flex: none;\n}\n\n\n@keyframes luci-paw-settle {\n 0% { opacity: 0.45; transform: translateY(-2px) scale(0.92); }\n 100% { opacity: 1; transform: translateY(0) scale(1); }\n}\n@keyframes luci-os-spin {\n to { transform: rotate(-360deg); }\n}\n.os-paw-earned {\n display: inline-flex;\n animation: luci-paw-settle 200ms ease-out both;\n}\n.os-spin {\n display: inline-flex;\n animation: luci-os-spin 0.8s linear infinite;\n}\n.luci-theme button.os-btn-done,\n.luci-theme button.os-btn-done:hover:not(:disabled) {\n background: var(--luci-color-success-bg);\n color: var(--luci-color-success);\n}\n@media (prefers-reduced-motion: reduce) {\n .os-paw-earned, .os-spin { animation: none; }\n}\n.luci-theme button.os-pill {\n position: fixed;\n bottom: var(--luci-space-12);\n left: var(--luci-space-12);\n z-index: 2147483646;\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-8);\n min-height: 36px;\n padding: 6px var(--luci-space-16) 6px var(--luci-space-12);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n font: 500 var(--luci-type-small-size)/var(--luci-type-small-line) var(--luci-font-body);\n box-shadow: var(--luci-shadow-edge), var(--luci-shadow-float);\n cursor: pointer;\n transition: background-color var(--luci-motion-fast);\n}\n.luci-theme button.os-pill[data-side=\"right\"] { left: auto; right: var(--luci-space-12); }\n.luci-theme button.os-pill:hover:not(:disabled) { background: var(--luci-color-bar-hover); }\n.luci-theme button.os-pill:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n@media (prefers-reduced-motion: reduce) { .luci-theme button.os-pill { transition: none; } }\n\n/* Annotate-style on-page component pins & highlight overlay */\n.highlight.os-highlight {\n position: fixed;\n z-index: 2147483644;\n pointer-events: none;\n box-sizing: border-box;\n border: 2px solid var(--luci-color-pick);\n border-radius: var(--luci-radius-sm);\n background: color-mix(in srgb, var(--luci-color-pick) 8%, transparent);\n}\n.luci-theme button.os-pin {\n position: fixed;\n z-index: 2147483645;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: var(--luci-space-4);\n min-width: 28px;\n min-height: 28px;\n padding: 4px 7px;\n border: 0;\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n font: 600 var(--luci-type-micro-size)/1 var(--luci-font-body);\n box-shadow: var(--luci-shadow-edge), var(--luci-shadow-float);\n cursor: pointer;\n transition: transform var(--luci-motion-fast), background-color var(--luci-motion-fast);\n}\n.luci-theme button.os-pin::before { inset: -8px; }\n.luci-theme button.os-pin[data-spec-state=\"on-spec\"] { background: var(--luci-color-success-bg); color: var(--luci-color-success); }\n.luci-theme button.os-pin[data-spec-state=\"drift\"] { background: var(--luci-color-warning-bg); color: var(--luci-color-warning); }\n.luci-theme button.os-pin[data-spec-state=\"excused\"] { background: var(--luci-color-surface-raised); color: var(--luci-color-ink); }\n.luci-theme button.os-pin[data-spec-state=\"no-rule\"] { background: var(--luci-color-bar); color: var(--luci-color-bar-ink); }\n.luci-theme button.os-pin:hover:not(:disabled) { transform: scale(1.06); }\n.luci-theme button.os-pin[data-spec-state=\"on-spec\"]:hover:not(:disabled) { background: var(--luci-color-success-bg); }\n.luci-theme button.os-pin[data-spec-state=\"drift\"]:hover:not(:disabled) { background: var(--luci-color-warning-bg); }\n.luci-theme button.os-pin[data-selected=\"true\"] { box-shadow: 0 0 0 2px var(--luci-color-focus), var(--luci-shadow-float); }\n.luci-theme button.os-pin:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.os-pin-count { font-weight: 700; line-height: 1; }\n@media (prefers-reduced-motion: reduce) { .luci-theme button.os-pin { transition: none; } }\n\n/* Single-component popover anchored right beside a clicked pin */\n.os-popover {\n position: fixed;\n z-index: 2147483647;\n max-height: min(65vh, 520px);\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-16);\n background: var(--luci-color-surface);\n color: var(--luci-color-ink);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-xl);\n box-shadow: var(--luci-elevation);\n overflow-y: auto;\n overscroll-behavior: contain;\n font-family: var(--luci-font-body);\n}\n\n.os-panel {\n position: fixed;\n bottom: 56px;\n left: var(--luci-space-12);\n z-index: 2147483646;\n width: min(460px, calc(100vw - 24px));\n max-height: min(72vh, 620px);\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-12);\n padding: var(--luci-space-20);\n background: var(--luci-color-surface);\n color: var(--luci-color-ink);\n border-radius: var(--luci-radius-xl);\n box-shadow: var(--luci-elevation);\n overflow-y: auto;\n overscroll-behavior: contain;\n font-family: var(--luci-font-body);\n}\n.os-panel[data-side=\"right\"] { left: auto; right: var(--luci-space-12); }\n.os-head { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: nowrap; }\n.os-title { display: inline-flex; align-items: center; gap: var(--luci-space-8); margin: 0; white-space: nowrap; font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); }\n.os-head-actions { display: inline-flex; align-items: center; gap: var(--luci-space-4); flex-wrap: nowrap; flex: none; }\n.os-summary { margin: 0; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.os-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--luci-space-8); }\n.os-row {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-surface-raised);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-lg);\n}\n.os-row-top { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: nowrap; }\n.os-row-right { display: inline-flex; align-items: center; gap: var(--luci-space-4); flex: none; }\n.os-comp-meta { min-width: 0; flex: 1; }\n.os-comp-heading { display: flex; flex-direction: column; gap: 2px; min-width: 0; }\n.luci-theme button.os-comp-link {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 2px;\n min-height: 0;\n padding: 2px 4px;\n margin: -2px -4px;\n border-radius: var(--luci-radius-sm);\n text-align: left;\n white-space: normal;\n font-weight: 400;\n max-width: 100%;\n}\n.luci-theme button.os-comp-link::before { display: none; }\n.os-comp-name { font-weight: 600; color: var(--luci-color-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n.os-comp-snippet { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); color: var(--luci-color-ink-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }\n.os-comp-sel { font: var(--luci-type-code-weight) 12px/1.4 var(--luci-font-code); color: var(--luci-color-ink-secondary); word-break: break-all; }\n.os-on-spec-line { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); flex-wrap: wrap; }\n.os-badge {\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-4);\n padding: 2px var(--luci-space-8);\n border-radius: var(--luci-radius-full);\n font-size: var(--luci-type-micro-size);\n font-weight: 600;\n white-space: nowrap;\n}\n.os-badge[data-state=\"on-spec\"] { background: var(--luci-color-success-bg); color: var(--luci-color-success); }\n.os-badge[data-state=\"drift\"] { background: var(--luci-color-warning-bg); color: var(--luci-color-warning); }\n.os-badge[data-state=\"no-rule\"] { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-secondary); }\n.os-badge[data-state=\"excused\"] { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.os-sub { margin: 0; color: var(--luci-color-ink-secondary); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n.os-diffs { margin: 0; padding-left: var(--luci-space-16); display: flex; flex-direction: column; gap: var(--luci-space-4); font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n.os-actions { display: flex; align-items: center; gap: var(--luci-space-8); flex-wrap: wrap; }\n.os-inline-box {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-surface-sunken);\n border-radius: var(--luci-radius-md);\n}\n.os-inline-box input {\n width: 100%;\n box-sizing: border-box;\n padding: 6px var(--luci-space-8);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n font: inherit;\n}\n.os-challenge {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-warning-bg);\n color: var(--luci-color-ink);\n border-radius: var(--luci-radius-md);\n font-size: var(--luci-type-small-size);\n}\n.os-why {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-4);\n padding: var(--luci-space-12);\n background: var(--luci-color-surface-sunken);\n border-radius: var(--luci-radius-md);\n font-size: var(--luci-type-small-size);\n}\n.os-history { margin: var(--luci-space-4) 0 0; padding-left: var(--luci-space-16); display: flex; flex-direction: column; gap: var(--luci-space-4); color: var(--luci-color-ink-secondary); }\n.os-role-prompt {\n display: flex;\n flex-direction: column;\n gap: var(--luci-space-8);\n padding: var(--luci-space-12);\n background: var(--luci-color-primary-soft);\n border-radius: var(--luci-radius-lg);\n font-size: var(--luci-type-small-size);\n}\n.os-role-choices { display: flex; gap: var(--luci-space-4); flex-wrap: wrap; }\n.os-hover-badge {\n position: fixed;\n z-index: 2147483645;\n pointer-events: none;\n display: inline-flex;\n align-items: center;\n gap: var(--luci-space-4);\n padding: 3px var(--luci-space-8);\n border-radius: var(--luci-radius-full);\n background: var(--luci-color-bar);\n color: var(--luci-color-bar-ink);\n font: 600 var(--luci-type-micro-size)/1.3 var(--luci-font-body);\n box-shadow: var(--luci-shadow-float);\n white-space: nowrap;\n}\n.upd-banner {\n position: fixed;\n top: var(--luci-space-12);\n right: var(--luci-space-12);\n z-index: 2147483646;\n width: min(360px, 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 background: var(--luci-color-surface);\n color: var(--luci-color-ink);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-xl);\n box-shadow: var(--luci-elevation);\n font-family: var(--luci-font-body);\n}\n.upd-banner-top { display: flex; align-items: center; justify-content: space-between; gap: var(--luci-space-8); }\n.upd-banner-title { display: inline-flex; align-items: center; gap: var(--luci-space-8); font-weight: 600; font-size: var(--luci-type-small-size); color: var(--luci-color-ink); }\n.upd-banner-sub { margin: 0; font-size: var(--luci-type-small-size); color: var(--luci-color-ink-secondary); }\n.upd-banner-actions { display: flex; align-items: center; gap: var(--luci-space-8); flex-wrap: wrap; }\n.upd-banner-result { display: flex; flex-direction: column; gap: var(--luci-space-4); font-size: var(--luci-type-small-size); color: var(--luci-color-ink-secondary); }\n.upd-notes { display: flex; flex-direction: column; gap: var(--luci-space-4); padding: var(--luci-space-8) var(--luci-space-12); border-radius: var(--luci-radius-md); background: var(--luci-color-surface-sunken); font-size: var(--luci-type-small-size); }\n.upd-notes-body { margin: 0; font: var(--luci-type-small-weight) var(--luci-type-small-size)/var(--luci-type-small-line) var(--luci-font-body); white-space: pre-wrap; word-break: break-word; color: var(--luci-color-ink); max-height: 140px; overflow-y: auto; }\n";
|
|
2
5
|
//# sourceMappingURL=styles.d.ts.map
|