@mkbabb/glass-ui 3.7.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/README.md +1 -6
  2. package/dist/CardAction-DuArVky-.js +157 -0
  3. package/dist/{CommandShortcut-CY0aQTz5.js → CommandShortcut-CefCj5mt.js} +7 -7
  4. package/dist/{ContextMenuSubContent-BeDz7G6f.js → ContextMenuSubContent-Bhg4f5jX.js} +3 -3
  5. package/dist/{DataTable-gtPOLZvl.js → DataTable-CUHMukiQ.js} +4 -4
  6. package/dist/DeckProgress-Dmk4_AKN.js +23 -0
  7. package/dist/{DialogContent-DG1YMR-P.js → DialogContent-BRkT1cjP.js} +3 -3
  8. package/dist/{DialogFooter-BCIaDP15.js → DialogFooter-Gprw8H_A.js} +1 -1
  9. package/dist/{HoverPopover-DXpOEw1P.js → HoverPopover-2LOIW34a.js} +1 -1
  10. package/dist/{IconTooltip-Cu86JR4e.js → IconTooltip-yefK7cJc.js} +1 -1
  11. package/dist/{MetricBadge-D-bRaQUD.js → MetricBadge-lTc002u2.js} +1 -1
  12. package/dist/{Notification-B5WHP3_1.js → Notification-BxK8LZMw.js} +1 -1
  13. package/dist/{NumberFieldContent-CLNVR1iY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
  14. package/dist/{PopoverContent-F1bWnYoh.js → PopoverContent-BId6ggf_.js} +1 -1
  15. package/dist/{Progress-c4vo4ALi.js → Progress-iEuD9pxG.js} +4 -4
  16. package/dist/{ScrollingText-BEp377U5.js → ScrollingText-BPP84wKo.js} +2 -2
  17. package/dist/{SelectScrollDownButton-DAo5NmY_.js → SelectScrollDownButton-T32cVFeM.js} +4 -4
  18. package/dist/{SelectSeparator-COFMJGng.js → SelectSeparator-C4Ql0gzV.js} +1 -1
  19. package/dist/{TabsList-COqIdW7i.js → TabsList-B8CVOQPC.js} +2 -2
  20. package/dist/{Toaster-BMaeziJJ.js → Toaster-1rYWrmAm.js} +1 -1
  21. package/dist/{ToggleGroupItem-C-AIkBUw.js → ToggleGroupItem-Cev4pOVK.js} +5 -5
  22. package/dist/animated-digit.js +1 -1
  23. package/dist/api/index.d.ts +5 -3
  24. package/dist/aurora.js +339 -408
  25. package/dist/{badge-DHQrc_GQ.js → badge-BvwvT50i.js} +4 -4
  26. package/dist/badge.js +1 -1
  27. package/dist/{button-CAywcrhO.js → button-DN39cGqL.js} +13 -12
  28. package/dist/button.js +1 -1
  29. package/dist/canvas.d.ts +1 -0
  30. package/dist/canvas.js +3 -0
  31. package/dist/card.js +1 -1
  32. package/dist/carousel.js +106 -105
  33. package/dist/collapsible.js +1 -1
  34. package/dist/{color-DjJCAQ6f.js → color-8jBjWiJ6.js} +22 -14
  35. package/dist/color.js +2 -2
  36. package/dist/command.js +1 -1
  37. package/dist/compile-DAjIoEy2.js +158 -0
  38. package/dist/components/custom/aurora/composables/atoms.d.ts +90 -25
  39. package/dist/components/custom/aurora/composables/color.d.ts +0 -12
  40. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +34 -23
  41. package/dist/components/custom/aurora/constants/presets.d.ts +10 -7
  42. package/dist/components/custom/aurora/constants/renderMode.d.ts +22 -0
  43. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
  44. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
  45. package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -1
  46. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
  47. package/dist/components/custom/aurora/index.d.ts +3 -3
  48. package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +1 -1
  49. package/dist/components/custom/constellation/Constellation.vue.d.ts +40 -5
  50. package/dist/components/custom/constellation/constellationField.d.ts +110 -5
  51. package/dist/components/custom/constellation/index.d.ts +2 -2
  52. package/dist/components/custom/dock/DockSeparator.vue.d.ts +3 -0
  53. package/dist/components/custom/dock/GlassDock.vue.d.ts +57 -67
  54. package/dist/components/custom/dock/composables/dockContext.d.ts +7 -0
  55. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +57 -0
  56. package/dist/components/custom/dock/composables/index.d.ts +3 -0
  57. package/dist/components/custom/dock/composables/useDockHold.d.ts +61 -0
  58. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -59
  59. package/dist/components/custom/dock/index.d.ts +4 -1
  60. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +13 -0
  61. package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +23 -5
  62. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +2 -0
  63. package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +2 -0
  64. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +20 -5
  65. package/dist/components/custom/goo-blob/index.d.ts +1 -1
  66. package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -1
  67. package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -2
  68. package/dist/components/custom/goo-blob/types.d.ts +8 -0
  69. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +92 -0
  70. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +49 -0
  71. package/dist/components/custom/tabs/index.d.ts +2 -5
  72. package/dist/components/ui/button/index.d.ts +1 -1
  73. package/dist/components/ui/card/Card.vue.d.ts +28 -10
  74. package/dist/components/ui/card/index.d.ts +1 -1
  75. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
  76. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
  77. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +3 -4
  78. package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -4
  79. package/dist/components/ui/slider/Slider.vue.d.ts +3 -1
  80. package/dist/components/ui/slider/index.d.ts +14 -7
  81. package/dist/components/ui/tabs/TabsList.vue.d.ts +1 -1
  82. package/dist/composables/color/index.d.ts +19 -0
  83. package/dist/composables/context/createContext.d.ts +1 -1
  84. package/dist/composables/dom/index.d.ts +1 -1
  85. package/dist/composables/dom/useResolveTokenColor.d.ts +27 -0
  86. package/dist/composables/glass/canvas2d/index.d.ts +2 -1
  87. package/dist/composables/glass/canvas2d/resolveCanvasColor.d.ts +20 -0
  88. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +15 -1
  89. package/dist/composables/glass/index.d.ts +3 -1
  90. package/dist/composables/glass/useSpecularTracking.d.ts +33 -0
  91. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +1 -1
  92. package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +4 -0
  93. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +1 -1
  94. package/dist/composables/motion/core/index.d.ts +1 -0
  95. package/dist/configurator.js +1 -1
  96. package/dist/confirm-dialog.js +2 -2
  97. package/dist/constellation.js +143 -74
  98. package/dist/context-menu.js +2 -2
  99. package/dist/controls.js +1 -1
  100. package/dist/data-table.js +1 -1
  101. package/dist/deck-progress.d.ts +1 -0
  102. package/dist/deck-progress.js +2 -0
  103. package/dist/dialog.js +2 -2
  104. package/dist/dock.js +468 -354
  105. package/dist/{dockContext-DLgrVWsU.js → dockContext-BKeIMmNk.js} +1 -1
  106. package/dist/dom.js +6 -6
  107. package/dist/{dropdown-menu-BWpwutt0.js → dropdown-menu-D77jX6Df.js} +4 -4
  108. package/dist/dropdown-menu.js +1 -1
  109. package/dist/fonts/README.md +26 -18
  110. package/dist/forms.js +5 -5
  111. package/dist/fourier-field.js +35 -35
  112. package/dist/glass-panel.js +7 -7
  113. package/dist/glass-ui.css +1 -1
  114. package/dist/glass-ui.js +154 -169
  115. package/dist/goo-blob.js +361 -274
  116. package/dist/header-ribbon.js +1 -1
  117. package/dist/hover-card.js +1 -1
  118. package/dist/hover-popover.js +1 -1
  119. package/dist/icon-tooltip.js +1 -1
  120. package/dist/index.d.ts +1 -2
  121. package/dist/instrument-chassis.js +1 -1
  122. package/dist/instrument-rail.js +1 -1
  123. package/dist/label.js +1 -1
  124. package/dist/labeled-field.js +5 -5
  125. package/dist/{menuItemVariants-B4eFR5Ix.js → menuItemVariants-CCoBNkU5.js} +1 -1
  126. package/dist/metric-badge.js +1 -1
  127. package/dist/metric-stack.js +1 -1
  128. package/dist/motion-core.js +65 -65
  129. package/dist/motion.js +1 -1
  130. package/dist/notification.js +1 -1
  131. package/dist/number-field.js +1 -1
  132. package/dist/paper-backdrop.js +1 -1
  133. package/dist/popover.js +1 -1
  134. package/dist/progress.js +1 -1
  135. package/dist/pulse.js +2 -2
  136. package/dist/reactive.js +2 -2
  137. package/dist/resolveCanvasColor-BBiYfp8g.js +11 -0
  138. package/dist/scrolling-text.js +1 -1
  139. package/dist/search.js +9 -9
  140. package/dist/select.js +3 -3
  141. package/dist/separator.js +1 -1
  142. package/dist/{sheet-Cv1uO-Gq.js → sheet-VZEtNFvO.js} +2 -2
  143. package/dist/sheet.js +1 -1
  144. package/dist/slider-DC2mwuoe.js +142 -0
  145. package/dist/slider.js +1 -1
  146. package/dist/sortable-list.js +2 -2
  147. package/dist/status-dot.js +17 -16
  148. package/dist/styles/animations.css +6 -2
  149. package/dist/styles/components.css +1 -1
  150. package/dist/styles/dock/density.css +230 -0
  151. package/dist/styles/dock/layer-group.css +263 -0
  152. package/dist/styles/dock/layers.css +355 -0
  153. package/dist/styles/dock/morph.css +244 -0
  154. package/dist/styles/dock/overflow.css +201 -0
  155. package/dist/styles/dock/shell.css +457 -0
  156. package/dist/styles/dock-controls.css +187 -50
  157. package/dist/styles/dock.css +65 -1181
  158. package/dist/styles/fonts.css +0 -25
  159. package/dist/styles/glass.css +482 -102
  160. package/dist/styles/index.css +12 -11
  161. package/dist/styles/theme.css +60 -2
  162. package/dist/styles/tokens.css +625 -72
  163. package/dist/styles/typography.css +52 -69
  164. package/dist/styles/utilities.css +91 -40
  165. package/dist/styles/view-transition.css +12 -40
  166. package/dist/switch.js +1 -1
  167. package/dist/tabs.js +183 -152
  168. package/dist/timeline.js +3 -3
  169. package/dist/toast.js +1 -1
  170. package/dist/toggle-group.js +1 -1
  171. package/dist/tooltip.js +1 -1
  172. package/dist/typewriter.js +1 -1
  173. package/dist/{useCanvas2D-C31yfUGY.js → useCanvas2D-ClrQuZtp.js} +2 -1
  174. package/dist/{useConfiguratorState-B24TcgIn.js → useConfiguratorState-DxAqksK6.js} +24 -13
  175. package/dist/useResolveTokenColor-r9pnNjqK.js +24 -0
  176. package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
  177. package/dist/{useTextHighlight-aMPdEpkq.js → useTextHighlight-DON84L8w.js} +1 -1
  178. package/dist/{useTouchGate-YQRwyUGU.js → useTouchGate-WFyJYsth.js} +1 -1
  179. package/dist/vReveal-CqaCz_mC.js +44 -0
  180. package/dist/watercolor-dot.js +1 -1
  181. package/package.json +67 -36
  182. package/src/fonts/README.md +26 -18
  183. package/src/styles/animations.css +6 -2
  184. package/src/styles/dock/density.css +230 -0
  185. package/src/styles/dock/layer-group.css +263 -0
  186. package/src/styles/dock/layers.css +355 -0
  187. package/src/styles/dock/morph.css +244 -0
  188. package/src/styles/dock/overflow.css +201 -0
  189. package/src/styles/dock/shell.css +457 -0
  190. package/src/styles/dock-controls.css +187 -50
  191. package/src/styles/dock.css +65 -1181
  192. package/src/styles/fonts.css +0 -25
  193. package/src/styles/glass.css +482 -102
  194. package/src/styles/index.css +12 -11
  195. package/src/styles/theme.css +60 -2
  196. package/src/styles/tokens.css +625 -72
  197. package/src/styles/typography.css +52 -69
  198. package/src/styles/utilities.css +91 -40
  199. package/src/styles/view-transition.css +12 -40
  200. package/dist/CardAction-D8nSE62a.js +0 -163
  201. package/dist/DiscoGlyph-ZoBYpoxI.js +0 -132
  202. package/dist/GlyphFace-Ce_oe3tM.js +0 -51
  203. package/dist/UnderlineTabs-D_c1iYo-.js +0 -39
  204. package/dist/compile-iM4IUB66.js +0 -158
  205. package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +0 -7
  206. package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +0 -4
  207. package/dist/components/custom/disco-glyph/DiscoGlyph.vue.d.ts +0 -58
  208. package/dist/components/custom/disco-glyph/index.d.ts +0 -1
  209. package/dist/components/custom/glass-carousel/GlassCarousel.vue.d.ts +0 -36
  210. package/dist/components/custom/glass-carousel/GlassCarouselItem.vue.d.ts +0 -28
  211. package/dist/components/custom/glass-carousel/index.d.ts +0 -4
  212. package/dist/components/custom/glass-carousel/useGlassCarousel.d.ts +0 -30
  213. package/dist/components/custom/glyph-face/GlyphFace.vue.d.ts +0 -64
  214. package/dist/components/custom/glyph-face/index.d.ts +0 -2
  215. package/dist/components/custom/glyph-face/keys.d.ts +0 -9
  216. package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +0 -73
  217. package/dist/components/custom/responsive-tabs/index.d.ts +0 -2
  218. package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +0 -27
  219. package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +0 -60
  220. package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +0 -20
  221. package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +0 -39
  222. package/dist/disco-glyph.d.ts +0 -1
  223. package/dist/disco-glyph.js +0 -2
  224. package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
  225. package/dist/glass-carousel.d.ts +0 -1
  226. package/dist/glass-carousel.js +0 -214
  227. package/dist/glyph-face.d.ts +0 -1
  228. package/dist/glyph-face.js +0 -3
  229. package/dist/keys-Dyf_uTs5.js +0 -9
  230. package/dist/responsive-tabs.d.ts +0 -1
  231. package/dist/responsive-tabs.js +0 -95
  232. package/dist/slider-BA9wIs5e.js +0 -130
  233. package/dist/styles/disco-glyph.css +0 -26
  234. package/dist/styles/glyph-face.css +0 -92
  235. package/dist/useViewTransition-DaN5Zrox.js +0 -21
  236. package/dist/vReveal-BE2TsPoR.js +0 -24
  237. package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
  238. package/src/styles/disco-glyph.css +0 -26
  239. package/src/styles/glyph-face.css +0 -92
  240. /package/dist/{CollapsibleContent-D7UNsXQr.js → CollapsibleContent-CP9qF1v4.js} +0 -0
  241. /package/dist/{ContextMenuContent-DGKZX1Du.js → ContextMenuContent-DDa0v27s.js} +0 -0
  242. /package/dist/{HoverCardContent-Bn0UBMY9.js → HoverCardContent-B6CcQ8He.js} +0 -0
  243. /package/dist/{InstrumentChassis-BLJBl1BW.js → InstrumentChassis-C2f6cBaQ.js} +0 -0
  244. /package/dist/{InstrumentRail-BElFwKyt.js → InstrumentRail-CUJ05YVG.js} +0 -0
  245. /package/dist/{Label-DBc7bKzZ.js → Label-zRfbQdCn.js} +0 -0
  246. /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-B1GkAjNb.js} +0 -0
  247. /package/dist/{PaperBackdrop-DCGoGatv.js → PaperBackdrop-CqwjnfLv.js} +0 -0
  248. /package/dist/{SelectGroup-BcaFjvP4.js → SelectGroup-BFiod7X2.js} +0 -0
  249. /package/dist/{Separator-DZyqsCum.js → Separator-D7sD7RKj.js} +0 -0
  250. /package/dist/{Switch-2rsAtDfA.js → Switch-LDKLmmgx.js} +0 -0
  251. /package/dist/{TooltipProvider-CD2IXfRv.js → TooltipProvider-CmZzCuaG.js} +0 -0
  252. /package/dist/{_plugin-vue_export-helper-gLzyemvl.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
  253. /package/dist/composables/{dom → motion}/useTextHighlight.d.ts +0 -0
  254. /package/dist/{createContext-CvNyBk4o.js → createContext-B44Sah_H.js} +0 -0
  255. /package/dist/{useGlassRenderer-HebgSEgN.js → useGlassRenderer-5I0YkI4t.js} +0 -0
  256. /package/dist/{useInterval-D3USn0yc.js → useInterval-Dsmqwi03.js} +0 -0
  257. /package/dist/{useResizeObserver-CSyxGxIX.js → useResizeObserver-CWCbk5Px.js} +0 -0
  258. /package/dist/{useSpringMount-LRZqJTaF.js → useSpringMount-BJSHcLl3.js} +0 -0
  259. /package/dist/{useTimer-DEJonOZa.js → useTimer-3xqf_54b.js} +0 -0
  260. /package/dist/{useUserInvalidAria-CQKjEfwP.js → useUserInvalidAria-DoJKMZ3s.js} +0 -0
  261. /package/dist/{useViewportReady-K96m-Mdv.js → useViewportReady-RIr5Wgkh.js} +0 -0
@@ -59,7 +59,10 @@
59
59
  .glass-overlay,
60
60
  .glass-card,
61
61
  .glass-specular-track,
62
- .dock-icon-button {
62
+ .dock-icon-button,
63
+ .dock-tab-button,
64
+ .dock-select-trigger,
65
+ .dock-dropdown-trigger {
63
66
  position: relative;
64
67
  }
65
68
 
@@ -85,7 +88,10 @@
85
88
  .glass-overlay::before,
86
89
  .glass-card::before,
87
90
  .glass-specular-track::before,
88
- .dock-icon-button::before {
91
+ .dock-icon-button::before,
92
+ .dock-tab-button::before,
93
+ .dock-select-trigger::before,
94
+ .dock-dropdown-trigger::before {
89
95
  content: "";
90
96
  position: absolute;
91
97
  inset: 0;
@@ -100,31 +106,46 @@
100
106
  `var(--mouse-x, 50%)` floor is the centred fallback. */
101
107
  --specular-x: var(--mouse-x, 50%);
102
108
  --specular-y: var(--mouse-y, 50%);
103
- /* The catch-light intensity floor at rest; hover/active lift it (the
104
- interaction-light state machine below). */
105
- --specular-intensity: 0.35;
106
- /* The travelling catch-light — a soft warm-white circular glow centred
107
- on the tracked pointer position (NOT iOS blue; keeps the warm-cream
108
- identity). The `--specular-intensity` multiplier drives the layer
109
- `opacity`, not a per-stop alpha (a registered-`@property` var() nested
110
- in an hsl() alpha computes to 0 in Chromium). */
109
+ /* The catch-light intensity at REST — reads the token cohort
110
+ (tokens.css §specular-intensity), default 0 so a static, unwired
111
+ surface is CLEAN and the @property `initial-value: 0` dormancy is no
112
+ longer defeated by a floor. Hover/active lift it through the same
113
+ cohort (the interaction-light state machine below). */
114
+ --specular-intensity: var(--glass-specular-intensity-rest, 0);
115
+ /* AX.W52 D19 — a thin, BOUNDED, pointer-anchored EDGE gleam (not the prior
116
+ full-plate central disc that washed small tiles muddy). The geometry is an
117
+ EXPLICIT-radius circle bounded by `--glass-specular-size` (36% of the
118
+ plate) whose falloff reaches `/0` well INSIDE the plate (70%) — a tracked
119
+ catch-light reading the surface near the lit edge, NEVER a whole-surface
120
+ wash. The core is genuinely WARM-CREAM (L < 100% so the warm hue survives;
121
+ the prior `hsl(40 30% 100%)` blew out to white). The `--specular-intensity`
122
+ multiplier drives the layer `opacity`, NOT a per-stop alpha (a
123
+ registered-`@property` var() nested in an hsl() alpha computes to 0 in
124
+ Chromium — the cross-engine-safe path); the per-stop alphas are literals so
125
+ even the lifted hover/active states read as a lens, not a flash. */
111
126
  background: radial-gradient(
112
- circle at var(--specular-x, 50%) var(--specular-y, 50%),
113
- hsl(40 30% 100% / 0.55) 0%,
114
- hsl(40 30% 100% / 0.22) 22%,
115
- transparent 55%
127
+ circle var(--glass-specular-size, 36%) at var(--specular-x, 50%) var(--specular-y, 50%),
128
+ hsl(40 35% 92% / 0.5) 0%,
129
+ hsl(40 35% 92% / 0) 70%,
130
+ transparent 100%
116
131
  );
117
- opacity: var(--specular-intensity, 0.35);
118
- /* Clip the glow to the plate so it rides the surface. `mask-image`
119
- Baseline 2023-12-07; a non-supporting engine ignores it and the
120
- `inset: 0` + radius-inherit already bound the glow. */
132
+ opacity: var(--specular-intensity, 0);
133
+ /* Clip the gleam to ITS OWN radius (not the whole plate) so it stays a
134
+ bounded glint. `mask-image` Baseline 2023-12-07; a non-supporting engine
135
+ ignores it and the `inset: 0` + radius-inherit + the in-paint falloff
136
+ already bound the gleam to the surface. */
121
137
  mask-image: radial-gradient(
122
- circle at var(--specular-x, 50%) var(--specular-y, 50%),
138
+ circle var(--glass-specular-size, 36%) at var(--specular-x, 50%) var(--specular-y, 50%),
123
139
  black 0%,
124
- black 55%,
125
- transparent 75%
140
+ black 60%,
141
+ transparent 100%
126
142
  );
127
- mix-blend-mode: screen;
143
+ /* AX.W52 D19 — `plus-lighter` (additive but HDR-clamped, Safari 16.4+) over
144
+ the prior `screen` (a non-linear lightener that lifted the whole tile
145
+ toward white — the muddy-card defect). A non-supporting engine degrades to
146
+ a plain low-alpha warm overlay (the gleam composes normally — no blend, no
147
+ blowout), the no-workaround floor; NOT a `screen` fallback. */
148
+ mix-blend-mode: plus-lighter;
128
149
  /* Smooth the position + intensity between pointer samples (the typed
129
150
  @property regs make the percentage stops interpolable). */
130
151
  transition:
@@ -141,9 +162,16 @@
141
162
  .dark .glass-overlay::before,
142
163
  .dark .glass-card::before,
143
164
  .dark .glass-specular-track::before,
144
- .dark .dock-icon-button::before {
145
- /* Softer over the deep canvas — the screen blend lifts harder on dark. */
146
- --specular-intensity: 0.22;
165
+ .dark .dock-icon-button::before,
166
+ .dark .dock-tab-button::before,
167
+ .dark .dock-select-trigger::before,
168
+ .dark .dock-dropdown-trigger::before {
169
+ /* Softer over the deep canvas — `plus-lighter` still lifts on dark, so the
170
+ `.dark` cohort runs a lower hover/active rung (tokens.css §specular-
171
+ intensity `.dark` arm); the rest rung is already 0 so the dark arm only
172
+ softens hover/active via the cohort. The rest rung re-reads the (dark)
173
+ token here so a dark `:root` override resolves. */
174
+ --specular-intensity: var(--glass-specular-intensity-rest, 0);
147
175
  }
148
176
 
149
177
  /* (c) Interaction-light lockstep — hover/active lift the intensity in the
@@ -158,8 +186,11 @@
158
186
  .glass-overlay:hover::before,
159
187
  .glass-card:hover::before,
160
188
  .glass-specular-track:hover::before,
161
- .dock-icon-button:hover::before {
162
- --specular-intensity: 0.6;
189
+ .dock-icon-button:hover::before,
190
+ .dock-tab-button:hover::before,
191
+ .dock-select-trigger:hover::before,
192
+ .dock-dropdown-trigger:hover::before {
193
+ --specular-intensity: var(--glass-specular-intensity-hover, 0.1);
163
194
  }
164
195
  .glass-material:active::before,
165
196
  .glass-wash:active::before,
@@ -169,8 +200,26 @@
169
200
  .glass-overlay:active::before,
170
201
  .glass-card:active::before,
171
202
  .glass-specular-track:active::before,
172
- .dock-icon-button:active::before {
173
- --specular-intensity: 0.85;
203
+ .dock-icon-button:active::before,
204
+ .dock-tab-button:active::before,
205
+ .dock-select-trigger:active::before,
206
+ .dock-dropdown-trigger:active::before {
207
+ --specular-intensity: var(--glass-specular-intensity-active, 0.16);
208
+ }
209
+
210
+ /* AX.W45-TUNE C5 — the SELECTED dock control reads as the keyframes-dock glass
211
+ register: a glass-tier active fill (`--dock-control-active-bg` → the floating
212
+ plate, tokens.css) WITH the specular gleam waking over it, not a flat ink
213
+ stamp. The CSS `:active` pseudo above only fires on press-down; a SELECTED tile
214
+ (`.is-active` / `[aria-pressed]` / `[aria-expanded]` / `[aria-current]`) holds
215
+ the gleam lit so the selected element reads as a lit glass tier the substrate
216
+ shows through (the model the user named, `pass-3:13`). Family-scoped addition
217
+ on the dock-control `::before`, line-disjoint from the shared recipe above. */
218
+ .dock-icon-button:is(.is-active, .active, [aria-pressed="true"], [aria-expanded="true"], [aria-current="page"])::before,
219
+ .dock-tab-button:is(.is-active, .active, [aria-pressed="true"], [aria-expanded="true"], [aria-current="page"])::before,
220
+ .dock-select-trigger:is(.is-active, .active, [aria-pressed="true"], [aria-expanded="true"], [aria-current="page"])::before,
221
+ .dock-dropdown-trigger:is(.is-active, .active, [aria-pressed="true"], [aria-expanded="true"], [aria-current="page"])::before {
222
+ --specular-intensity: var(--glass-specular-intensity-active, 0.16);
174
223
  }
175
224
 
176
225
  /* ── Five-tier surface ladder (v0.8.0; visual only, no geometry) ──
@@ -262,6 +311,76 @@
262
311
  box-shadow: var(--glass-material-rim), var(--glass-shadow-overlay);
263
312
  }
264
313
 
314
+ /* ── Adaptive legibility: the bright-backdrop bucket (AX.W55 — the iOS-26/27
315
+ "locally darken the glass over light content" move; G2) ──────────────────
316
+ When a consumer sets `--glass-backdrop: light` on any ancestor (a near-white
317
+ card surface, a pale aurora bleed, a bright data grid), the `@container
318
+ style()` read engages here and LIFTS the tint toward ink: `--glass-tint-
319
+ strength` climbs from the `0%` rest default to the bounded AA floor
320
+ (`--glass-tint-strength-aa`, ≤24% — translucent floor preserved) and `--glass-
321
+ tint-source` re-points from `var(--card)` to the warm-ink `--glass-tint-ink`.
322
+ Both are INHERITING custom properties the rungs' `background:` composite
323
+ already reads, so re-pointing them on the material group re-resolves the
324
+ EXISTING `color-mix(in oklab, <rung bg>, …)` toward ink — ZERO new compositing
325
+ seam, the literal darken-over-light recipe. The `.glass-*::before` specular
326
+ `plus-lighter` gleam (W52) is untouched (it composes ON the darkened plate;
327
+ the darkening is the orthogonal oklab-tint axis). No `@supports` wrapper:
328
+ style queries introduce no new `container-type` value (every element is a
329
+ style container by default), so an engine without style-query support parses
330
+ the unknown at-rule as invalid, drops the block, and keeps the zero-delta
331
+ glass (the graceful degradation — the surface is today's-glass, the pre-W55
332
+ state; see utilities.css §density for the same precedent). */
333
+ @container style(--glass-backdrop: light) {
334
+ .glass-material,
335
+ .glass-wash,
336
+ .glass-quiet,
337
+ .glass-resting,
338
+ .glass-floating,
339
+ .glass-overlay,
340
+ .glass-card {
341
+ --glass-tint-source: var(--glass-tint-ink);
342
+ --glass-tint-strength: var(--glass-tint-strength-aa);
343
+ }
344
+ }
345
+
346
+ /* AX.W55 — the `contrast-color()` foreground-ink flip (Chrome 147+/Safari 26+).
347
+ A PROGRESSIVE-ENHANCEMENT layer, NEVER the load-bearing floor (Open-Q #5
348
+ ratified): the declarative bucket above already carries AA on ALL engines (it
349
+ darkens the translucent plate so dark text clears ~11:1 over white at the 18%
350
+ floor — the live π readback ratifies). On a supporting engine `contrast-color()`
351
+ REFINES the foreground-ink pick natively, anchored on the LIGHT BACKDROP signal
352
+ (`--card`, the warm-white surface base the bright bucket implies) — NOT on the
353
+ ink. `contrast-color(var(--card))` over the light backdrop resolves to the
354
+ maximally-legible DARK ink (anchoring on the dark ink instead would invert to
355
+ white, illegible on the still-light translucent plate). The bucket is the floor;
356
+ this is the native refinement. Scoped to the bright bucket. */
357
+ @supports (color: contrast-color(white)) {
358
+ @container style(--glass-backdrop: light) {
359
+ .glass-material,
360
+ .glass-wash,
361
+ .glass-quiet,
362
+ .glass-resting,
363
+ .glass-floating,
364
+ .glass-overlay,
365
+ .glass-card {
366
+ color: contrast-color(var(--card));
367
+ }
368
+ }
369
+ }
370
+
371
+ /* ── The opaque escape (AX.W54) ───────────────────
372
+ The level-0 endpoint of the SAME glass machinery — a solid `--card` plate
373
+ (the opacity seam → 1) with `blur(0)` (the blur seam → 0), routed through
374
+ the ONE `--glass-level` knob. NOT a parallel solid `background:` recipe:
375
+ a `.glass-*` surface that ALSO carries `.glass-opaque` keeps its glass edge,
376
+ rim, and under-shadow (a solid plate with a glass edge, not a bare div), and
377
+ the @supports fallback + the a11y brackets compose coherently. This is the
378
+ explicit opt-out from the MAXIMAL glass default (dense data, forced-colors,
379
+ a consumer that wants a flat surface). */
380
+ .glass-opaque {
381
+ --glass-level: 0;
382
+ }
383
+
265
384
  /* ── Content-aware under-shadow modifier (AV.W15 M4) ──────────────
266
385
  Apple raises the under-shadow over text (so the glass reads as
267
386
  lifting OFF the text) and drops it over solid light. The modifier
@@ -394,11 +513,17 @@
394
513
  background: var(--glass-bg-wash);
395
514
  backdrop-filter: var(--glass-blur-wash);
396
515
  color: var(--muted-foreground);
516
+ /* AX.W52 §6 doctrine — the surface legs ride the bezier `--ease-standard`;
517
+ the `scale` leg is reconciled onto `--spring-smooth` (was `--spring-snappy`)
518
+ so the icon-button hover settles on the SAME ONE register as `.btn-pill` /
519
+ `.tap-squish` / `btn-interactive` (the gate asserts one scale register
520
+ across all four). The press still reads crisp — `--spring-smooth` ζ=0.86
521
+ settles fast without a visible bounce. */
397
522
  transition:
398
523
  background var(--duration-fast) var(--ease-standard),
399
524
  border-color var(--duration-fast) var(--ease-standard),
400
525
  color var(--duration-fast) var(--ease-standard),
401
- scale var(--duration-normal) var(--spring-snappy);
526
+ scale var(--duration-normal) var(--spring-smooth);
402
527
  }
403
528
 
404
529
  .glass-btn:hover:not(:disabled) {
@@ -434,17 +559,40 @@
434
559
  .btn-pill {
435
560
  @apply inline-flex items-center justify-center cursor-pointer font-medium border-none;
436
561
 
437
- gap: 0.375rem;
562
+ /* AX.W52 §6 identity base — `scale: 1` at rest so the hover/press scale
563
+ below animates the `scale` longhand (not `transform`) coherently and
564
+ does not flicker the stacking context into being (AQ.W3 §W3.2). */
565
+ scale: 1;
566
+ /* AX.W51 D18 — the pill GEOMETRY rides the ONE `--ui-scale` comfort axis.
567
+ gap / padding scale by the master scalar; the font reads the
568
+ `--control-text` register (`calc(--type-small * --ui-scale)`, the same
569
+ `text-sm` register the Button CVA paints), so a bare `.btn-pill` consumer
570
+ and a `<Button>` agree on the control font, and ONE `--ui-scale` override
571
+ grows the pill's height (via padding) + gap + font in lockstep. Desktop
572
+ default is the identity (scale 1 → the prior proportion). */
573
+ gap: calc(0.375rem * var(--ui-scale));
438
574
  border-radius: var(--radius-pill);
439
- padding: 0.5rem 1rem;
440
- font-size: 1rem;
575
+ padding: calc(0.5rem * var(--ui-scale)) calc(1rem * var(--ui-scale));
576
+ font-size: var(--control-text);
577
+ /* AX.W52 — the ONE coherent button transition (RED witness 5/6). The
578
+ SURFACE legs (bg/border/box-shadow/color/opacity) ride the bezier
579
+ `--ease-standard` (a colour cross-fade reads as a wobble on a spring);
580
+ the TRANSFORM leg (`scale`) rides `--spring-smooth` (the sub-perceptual
581
+ settle), so the hover lift + the surface cross-fade read as ONE glide.
582
+ The DEAD `transform` leg is retired — the variants animate the `scale`
583
+ longhand. CRITICAL: `.tap-squish` (composed alongside on the button
584
+ base, utilities.css) ALSO lists this full coherent set, so neither
585
+ class's `transition` shorthand can clobber the other down to a
586
+ scale-only animation — the cascade bug that left every button
587
+ transitioning ONLY `scale` (the live-readback RED, RED witness 5). The
588
+ doctrine: surface-props→bezier, transform→spring (tokens.css §2). */
441
589
  transition:
442
590
  background-color var(--duration-fast) var(--ease-standard),
443
591
  border-color var(--duration-fast) var(--ease-standard),
444
592
  box-shadow var(--duration-fast) var(--ease-standard),
445
593
  color var(--duration-fast) var(--ease-standard),
446
594
  opacity var(--duration-fast) var(--ease-standard),
447
- transform var(--duration-fast) var(--ease-standard);
595
+ scale var(--duration-fast) var(--spring-smooth);
448
596
  }
449
597
 
450
598
  .btn-pill > * {
@@ -458,23 +606,52 @@
458
606
  pointer-events: none;
459
607
  }
460
608
 
609
+ /* ── Glass-button backdrop ─────────────────────────────────────────────
610
+ AX.W52 — the `glass`/`glass-wash` Button variants compose `.glass-wash`,
611
+ which resolves `--glass-blur-wash` = `blur(1px)` — a sub-perceptual
612
+ diffusion authored for a small detail TILE, not a button the user reads
613
+ as "glass" (the live readback found the glass variants at a negligible
614
+ 1px). A hero control wants a real glass blur. `.btn-glass` re-points the
615
+ backdrop at `--glass-blur-btn` (the `quiet`-tier 10px radius + the gentle
616
+ `saturate(1.05) brightness(1.02)` light-concentration), so the glass
617
+ button variants actually read as liquid glass while the wash TILE tier
618
+ keeps its 1px untouched. Declares the UNPREFIXED `backdrop-filter` ONLY —
619
+ Lightning CSS emits the `-webkit-` companion per the single-source
620
+ authorship discipline above (hand-authoring both forms makes Lightning
621
+ dedup-and-keep-prefixed, which modern Chromium then drops). */
622
+ .btn-glass {
623
+ backdrop-filter: var(--glass-blur-btn);
624
+ }
625
+
461
626
  /* ── Pill input ───────────────────────────────── */
462
627
  .input-pill {
463
628
  @apply flex w-full;
464
629
 
465
- height: 2.5rem;
630
+ /* AX.W51 D18 — the input pill rides the ONE `--ui-scale` comfort axis: the
631
+ height reads the `--control-h-md` cohort (`max(calc(2.5rem * --ui-scale),
632
+ --control-floor)`, the h-10 register with the WCAG-44px coarse clamp), the
633
+ font reads `--control-text`, the inline padding scales — so ONE override
634
+ grows the field's height + padding + font in lockstep. Desktop default is
635
+ the identity. */
636
+ height: var(--control-h-md);
466
637
  border-radius: var(--radius-pill);
467
- /* AW.W13 — the resting field edge reads as an enclosed control at rest.
468
- Was `--glass-border-wash` (~8%α), which nearly vanished on cream; the
469
- lift to `--surface-tint-15` (15%α — ~2× the prior floor) makes the
470
- edge legible without going loud. The `:focus-visible` accent ring +
471
- the `:user-invalid`/`[aria-invalid]` destructive ring below still win
472
- by order + specificity, so this only raises the resting alpha. */
473
- border: 1.5px solid var(--surface-tint-15);
638
+ /* AW.W13 — the resting field edge reads as an enclosed control at rest
639
+ (~15%α — ~2× the prior 8% glass-wash floor that vanished on cream). The
640
+ `:focus-visible` accent ring + the `:user-invalid`/`[aria-invalid]`
641
+ destructive ring below still win by order + specificity.
642
+ AX.W54 — moved off the srgb `--surface-tint-15` fork onto the glass
643
+ border seam (`--glass-border-floating`, the matching 15%α rung) so the
644
+ pill is ONE glass model with the rest of the ladder, not a divergent
645
+ tint axis. */
646
+ border: 1.5px solid var(--glass-border-floating);
474
647
  background: var(--glass-bg-quiet);
475
- backdrop-filter: var(--glass-blur-wash);
476
- padding: 0 1rem;
477
- font-size: 1rem;
648
+ /* AX.W54 — the pill reads as REAL glass: the quiet-tier 10px blur (the
649
+ same `--glass-blur-quiet` its `--glass-bg-quiet` background pairs with),
650
+ not the sub-perceptual `blur(1px)` wash it carried — and the
651
+ `--glass-level` knob now clarifies it in lockstep with every surface. */
652
+ backdrop-filter: var(--glass-blur-quiet);
653
+ padding: 0 calc(1rem * var(--ui-scale));
654
+ font-size: var(--control-text);
478
655
  color: var(--foreground);
479
656
  transition:
480
657
  background-color var(--duration-fast) var(--ease-standard),
@@ -565,32 +742,6 @@
565
742
  border-color: var(--surface-tint-15);
566
743
  }
567
744
 
568
- /* ── Deck-position rail (AW.W16) ──────────────────────────────────────
569
- A CSS recipe that RESTYLES the shipped `<Progress variant="default">`
570
- (the reka-ui ProgressRoot track + its indicator child) into the thin
571
- bottom-of-deck position rail. It composes the EXISTING fill — it does NOT
572
- re-author a second track/range mechanic. Every visual axis is a
573
- `--progress-rail-*` token, so a consumer/dark-flip re-tints with zero
574
- library edit (`:root { --progress-rail-fill: … }`). The viewport-pinned
575
- chrome (`position: fixed`, `env(safe-area-inset-bottom)`, the z-index) is
576
- CONSUMER-supplied — this recipe owns only the LOOK. */
577
- .glass-progress-rail {
578
- /* The track hairline — the rail reads as a thin sliver, not a 16px bar. */
579
- height: var(--progress-rail-h, 3px);
580
- border-radius: 0;
581
- background: var(--progress-rail-track, color-mix(in srgb, var(--foreground) 8%, transparent));
582
- }
583
-
584
- /* The fill — the shipped ProgressIndicator child. A leading-edge glow on the
585
- fill's trailing edge reads as a moving position head. */
586
- .glass-progress-rail > * {
587
- border-radius: 0;
588
- background: var(--progress-rail-fill, var(--primary));
589
- box-shadow:
590
- var(--progress-rail-glow-x, 4px) 0 var(--progress-rail-glow-blur, 8px)
591
- color-mix(in srgb, var(--progress-rail-fill, var(--primary)) var(--progress-rail-glow-strength, 55%), transparent);
592
- }
593
-
594
745
  /* ── AW.W23 — chromatic edge dispersion (the polished-glass rim fringe) ──
595
746
  An opt-in `.glass-chromatic` composes the warm/cool oklab fringe OVER the
596
747
  W22 uniform rim (it does NOT replace it — the rim still rides each rung's
@@ -605,50 +756,279 @@
605
756
  }
606
757
  }
607
758
 
608
- /* ── AW.W23 — corner-shape: squircle PE (Chrome 139+) ───────────────────────
609
- The literal iOS-26 superellipse corner geometry that `backdrop-filter`,
610
- borders, and shadows follow. `@supports (corner-shape: squircle)`-gated over
611
- the un-gated `border-radius` round, which stays the fallback at zero cost on
612
- every other engine (Safari/Firefox). The `corner-shape` decl sits ONLY inside
613
- the `@supports` block — a leak onto the un-gated base would break the round
614
- fallback on a partial-support engine. */
615
- @supports (corner-shape: squircle) {
616
- @layer components {
617
- .glass-card,
618
- .glass-btn,
619
- .btn-pill {
620
- corner-shape: squircle;
759
+ /* ── Deck-position rail (AW.W16 · AX.W24) ───────────────────────────────────
760
+ A Tailwind `@utility` that RESTYLES the shipped `<Progress variant="default">`
761
+ (the reka-ui ProgressRoot track + its indicator child) into the thin
762
+ bottom-of-deck position rail. It composes the EXISTING fill — it does NOT
763
+ re-author a second track/range mechanic. Every visual axis is a
764
+ `--progress-rail-*` token, so a consumer/dark-flip re-tints with zero library
765
+ edit (`:root { --progress-rail-fill: … }`). The viewport-pinned chrome
766
+ (`position: fixed`, `env(safe-area-inset-bottom)`, the z-index) is CONSUMER-
767
+ supplied — this recipe owns only the LOOK.
768
+
769
+ AX.W24 — WHY `@utility`, not `@layer components`. The rail RESTYLES the default
770
+ Progress: it must override the `h-4` height + `rounded-pill` radius utilities the
771
+ variant bakes. Those utilities live in `@layer utilities`, which ALWAYS outranks
772
+ `@layer components` regardless of source order, so the prior `@layer components`
773
+ recipe's `height: 3px` was a silent no-op (the rail painted as a 16px bar). An
774
+ `@utility` lands the recipe IN `@layer utilities` alongside `h-4`, where a single-
775
+ class selector wins the geometry by source order — the idiomatic Tailwind-v4 way
776
+ to author a restyle-class that out-ranks base utilities (the `btn-audacious` /
777
+ `cartoon-surface` pattern).
778
+
779
+ The COLOUR fix is the SEPARATE token-read-at-source path (NOT a layer-juggle):
780
+ `ProgressDefault` reads `--progress-fill`/`--progress-track` and dropped its
781
+ `bg-secondary`/`bg-primary` utilities, so this recipe FEEDS those tokens rather
782
+ than fighting a utility colour. The `--progress-fill` set on the rail root cascades
783
+ to the indicator child (a CSS custom property inherits), so the indicator reads the
784
+ override hue. */
785
+ @utility glass-progress-rail {
786
+ /* The track hairline + zero radius — the rail reads as a thin square sliver, not
787
+ the variant's 16px `rounded-pill` bar. A single-class @utility ties `h-4`/
788
+ `rounded-pill` on SPECIFICITY (both 0,1,0) and Tailwind's utility sort can emit
789
+ `h-4` later, so the bare tie loses. The doubled-class self-reference (`&&` →
790
+ `.glass-progress-rail.glass-progress-rail`, specificity 0,2,0) wins the geometry
791
+ DETERMINISTICALLY over the base utilities regardless of emit order — the precise,
792
+ contained way to out-rank a base utility without `!important`. */
793
+ && {
794
+ height: var(--progress-rail-h, 3px);
795
+ border-radius: 0;
796
+ }
797
+ /* Feed the token-read default variant — these route the consumer's
798
+ `--progress-rail-*` axes into the `--progress-fill`/`--progress-track` tokens
799
+ the variant reads at source (the cascade-correct colour path). */
800
+ --progress-track: var(
801
+ --progress-rail-track,
802
+ color-mix(in srgb, var(--foreground) 8%, transparent)
803
+ );
804
+ --progress-fill: var(--progress-rail-fill, var(--primary));
805
+
806
+ /* The fill — the shipped ProgressIndicator child. The indicator paints the
807
+ inherited `--progress-fill`; the leading-edge glow is re-authored (AX.W24 F2)
808
+ as a TRAILING right-edge INSET box-shadow that lives INSIDE the indicator's
809
+ own box. The prior `4px 0 8px` OUTSET rightward shadow extended PAST the fill
810
+ boundary into the ProgressRoot's load-bearing `overflow-hidden` clip and was
811
+ eaten — invisible at every value. An `inset` shadow offset leftward
812
+ (`inset -Npx 0 …`) brightens just inside the indicator's right (leading) edge
813
+ — the moving position head — and never crosses the fill boundary, so the clip
814
+ cannot eat it (the clip is never lifted; that would re-break the default
815
+ Progress look for every other consumer). `box-shadow` is a separate property
816
+ from `background`, so it composes cleanly over the token-read fill. */
817
+ && > * {
818
+ border-radius: 0;
819
+ box-shadow:
820
+ inset
821
+ calc(-1 * var(--progress-rail-glow-x, 4px))
822
+ 0
823
+ var(--progress-rail-glow-blur, 8px)
824
+ calc(-1 * var(--progress-rail-glow-spread, 2px))
825
+ color-mix(
826
+ in srgb,
827
+ hsl(0 0% 100%) var(--progress-rail-glow-strength, 55%),
828
+ transparent
829
+ );
830
+ }
831
+ }
832
+
833
+ /* ── AX.W56 — the rounded-vs-squircle POLICY (re-homes AW.W23's squircle) ─────
834
+ Cards, glass buttons, and pills stay ROUND. The earlier AW.W23 block applied
835
+ `corner-shape: squircle` to `.glass-card`/`.glass-btn`/`.btn-pill`, which
836
+ inverted the design intent — the superellipse is imperceptible at a 16px card
837
+ radius or a stadium pill, so the squircle on those surfaces was visual cost
838
+ without read. The squircle is RE-HOMED onto the one surface where it reads: the
839
+ big-dock card shell (`dock.css` → `var(--corner-shape-bigdock)` under
840
+ `@supports (corner-shape: superellipse(2))`). This is a clean break — no alias,
841
+ no `--corner-shape-card` decl here (it resolves `round`, the default, so a
842
+ `corner-shape` rule would be a no-op). The `--corner-shape-*` token axis lives
843
+ in `theme.css`; a consumer who WANTS a squircle card opts in by re-pointing
844
+ `--corner-shape-card` at `superellipse(var(--corner-k-squircle))`. Do NOT
845
+ re-add a squircle rule to the card/button/pill surfaces — they are round by
846
+ policy. */
847
+
848
+ /* ── AX.W56(R1) — squircle coupling onto the overlay-band glass surfaces ───────
849
+ W54 makes GLASS the default for the Dialog + Sheet content surfaces; W56 couples
850
+ the SQUIRCLE onto them too. Both ride `.glass-floating` at the large
851
+ `--radius-dialog` (16px) modal radius where the superellipse READS — the same
852
+ iOS-26 idiom the big-dock card shell carries. The compound selectors scope the
853
+ shape to the dialog/sheet content ONLY (the `.rounded-dialog` class the
854
+ DialogContent surface composes, the `.sheet-animate` class the SheetContent
855
+ surface composes via `sheetVariants`) so it never leaks onto a bare
856
+ `.glass-floating` panel. Mirrors the big-dock idiom EXACTLY: an `@supports`-
857
+ gated ENHANCEMENT (Chrome 139+, no FF/Safari 2026) over the `border-radius`
858
+ round CONTRACT — the squircle is the better tier, NOT a degraded fallback. The
859
+ shape is the tokenized `var(--corner-shape-{dialog,sheet})` (theme.css) so it is
860
+ as overridable as the radius; a consumer dials either back to round by
861
+ re-pointing the alias. The `@supports` condition tests the LITERAL
862
+ `superellipse(2)` (a `var()` is not evaluable in an `@supports` query) — the same
863
+ Chrome-139 feature the token resolves to. */
864
+ @layer components {
865
+ @supports (corner-shape: superellipse(2)) {
866
+ .glass-floating.rounded-dialog {
867
+ corner-shape: var(--corner-shape-dialog);
868
+ }
869
+ .glass-floating.sheet-animate {
870
+ corner-shape: var(--corner-shape-sheet);
621
871
  }
622
872
  }
623
873
  }
624
874
 
625
- /* ── Accessibility: reduced transparency ────────── */
875
+ /* ── Accessibility: reduced transparency ──────────
876
+ AX.W54 — the gestalt collapse: ONE `--glass-level: 0` replaces the ten per-rung
877
+ opacity+blur clobbers. The level-0 path resolves solid `--card` + `blur(0)`
878
+ through the SAME machinery (the opacity seam → 1, the blur seam → 0), so every
879
+ glass surface — current and future — flattens with no per-rung enumeration. The
880
+ grain + highlight kills stay (they sit off the level axis). */
626
881
  @media (prefers-reduced-transparency: reduce) {
627
882
  :root {
628
- --glass-opacity-wash: 1;
629
- --glass-opacity-quiet: 1;
630
- --glass-opacity-resting: 1;
631
- --glass-opacity-floating: 1;
632
- --glass-opacity-overlay: 1;
633
- --glass-blur-wash: none;
634
- --glass-blur-quiet: none;
635
- --glass-blur-resting: none;
636
- --glass-blur-floating: none;
637
- --glass-blur-overlay: none;
638
- --glass-blur-dock: none;
883
+ --glass-level: 0;
639
884
  --glass-grain-opacity: 0;
640
885
  --glass-highlight: 0 0 0 0 transparent;
641
886
  }
642
887
  }
643
888
 
644
- /* ── Accessibility: high contrast ───────────────── */
889
+ /* ── Accessibility: high contrast ─────────────────
890
+ AX.W54 — a single bounded `--glass-level: 0.3` (mostly-solid, not fully flat)
891
+ replaces the five per-rung opacity clobbers: every rung firms up toward solid
892
+ for AA while keeping a hint of the glass register. ONE knob, every rung.
893
+
894
+ AX.W55 — the Clear↔Tinted user-escape (Apple's iOS-26.2 analog) COORDINATES the
895
+ two axes here: the OPACITY axis rides W54's `--glass-level` (firm up toward solid)
896
+ AND the TINT axis biases toward ink — `--glass-tint-source` → the warm-ink +
897
+ `--glass-tint-strength` → the AA floor, the same darken the automatic bright
898
+ bucket applies, now reached by the explicit "more contrast" user request. The two
899
+ axes stay DISTINCT (level = opacity+blur, tint = darken) but share the bracket so
900
+ a high-contrast user gets BOTH a firmer plate and the ink-tint legibility lift —
901
+ one coordinated escape, not two parallel forks. */
645
902
  @media (prefers-contrast: more) {
646
903
  :root {
647
- --glass-opacity-wash: 0.85;
648
- --glass-opacity-quiet: 0.90;
649
- --glass-opacity-resting: 0.94;
650
- --glass-opacity-floating: 0.98;
651
- --glass-opacity-overlay: 1;
904
+ --glass-level: 0.3;
905
+ --glass-tint-source: var(--glass-tint-ink);
906
+ --glass-tint-strength: var(--glass-tint-strength-aa);
907
+ }
908
+ }
909
+
910
+ /* ── Accessibility: forced-colors (Windows High Contrast) glass-language skin ──
911
+ AX.W36 — when the OS forces a palette (Windows High Contrast), the platform
912
+ strips the whole decorative glass register: `backdrop-filter` is dropped, the
913
+ `--glass-*` inset/box-shadow rungs vanish, and every meaning-bearing chroma
914
+ flattens to one system color. A `.glass-floating` Dialog over a `.glass-resting`
915
+ Card would read as two borderless transparent rectangles with no edge, and a
916
+ green-vs-red StatusDot would resolve to one indistinguishable dot. This skin
917
+ restores the STRUCTURE the glass chrome encoded — it does NOT pin glass-ui's
918
+ brand colours (no `forced-color-adjust: none`); the chrome is decorative and
919
+ YIELDS to the user's forced palette (css forced-colors guidance). Only the
920
+ standard WHC system keywords are used (`Canvas`/`CanvasText`/`Highlight`) — no
921
+ glass-ui token leaks into the WHC arm.
922
+
923
+ COORDINATES WITH W54 — the same `--glass-level: 0` opaque escape the reduced-
924
+ transparency / high-contrast brackets ride. Setting the ONE clarity knob to 0
925
+ collapses the `--glass-bg-*` opacity recipe to solid `--card` + `blur(0)` through
926
+ the SAME machinery (no parallel solid recipe), so the platform sees opaque plates
927
+ it maps to `Canvas`. The grain + highlight kills match the reduce bracket (they
928
+ sit off the level axis). The W55 tint axis is moot under WHC (the user's palette
929
+ supersedes the ink-darken) but harmless — the opaque plate is system-painted. */
930
+ @media (forced-colors: active) {
931
+ :root {
932
+ --glass-level: 0;
933
+ --glass-grain-opacity: 0;
934
+ --glass-highlight: 0 0 0 0 transparent;
935
+ }
936
+
937
+ /* Every glass-material ladder rung relied on `backdrop-filter` + an inset
938
+ `box-shadow` rim for its silhouette — both gone under WHC. Restore a real
939
+ `border` keyed to the system text colour so each tier pane reads as a boxed
940
+ region. The selector group MIRRORS the ladder definition above (one source,
941
+ not a hand-rolled re-list) so a future rung added to the material group
942
+ inherits the WHC edge for free — and a `.glass-material` div that became one
943
+ via the GlassPanel retire gets the edge with no per-component arm. */
944
+ .glass-material,
945
+ .glass-wash,
946
+ .glass-quiet,
947
+ .glass-resting,
948
+ .glass-floating,
949
+ .glass-overlay,
950
+ .glass-card {
951
+ border: 1px solid CanvasText;
952
+ }
953
+
954
+ /* The floating + overlay rungs (Dialog / Sheet / Popover / DropdownMenu /
955
+ HoverCard compose them) get the canonical `Canvas` fill so the modal reads as
956
+ a DISTINCT boxed region OVER the page, not a transparent overlap — the
957
+ hierarchy survives. The `CanvasText` edge above already draws the box; this
958
+ opaque fill separates the floating layer from the content beneath it. */
959
+ .glass-floating,
960
+ .glass-overlay {
961
+ background: Canvas;
962
+ }
963
+
964
+ /* The decorative specular catch-light (`::before`) + grain overlay (`::after`)
965
+ paint nothing meaningful once chroma collapses — yield them entirely (the
966
+ same decorative-chrome cede the `--glass-level: 0` opaque escape performs on
967
+ the body). They are NOT part of the structure the skin restores. */
968
+ .glass-material::before,
969
+ .glass-wash::before,
970
+ .glass-quiet::before,
971
+ .glass-resting::before,
972
+ .glass-floating::before,
973
+ .glass-overlay::before,
974
+ .glass-card::before,
975
+ .glass-wash::after,
976
+ .glass-quiet::after,
977
+ .glass-resting::after,
978
+ .glass-floating::after,
979
+ .glass-overlay::after {
980
+ display: none;
981
+ }
982
+
983
+ /* Meaning-bearing hue identity → a bordered glyph that keeps ok/warn/error
984
+ distinguishable by a WHC-HONORED system color, NOT a glass-ui hue (which WHC
985
+ strips to one fill). StatusDot reflects its variant onto `data-status`
986
+ (StatusDot.vue) and the inner dot carries `.status-dot__dot`; the
987
+ `role="img"` + `aria-label` accessible name already ships, so this is the
988
+ VISUAL differentiation only. A bare bordered dot + the per-status fill triplet
989
+ below means a sighted WHC user can still tell the row apart.
990
+
991
+ `!important` IS load-bearing here: StatusDot paints the dot fill via an INLINE
992
+ `:style="dotStyle"` (`background-color`, specificity 1,0,0,0), which outranks
993
+ any stylesheet selector AND which forced-colors then `forced-color-adjust:
994
+ auto`-remaps to a single Canvas-white — collapsing the row to one indistinct
995
+ dot. The WHC arm must override that inline fill, and inline can only be beaten
996
+ by `!important`; this is the documented forced-colors degradation path (the
997
+ arm only activates under WHC). The component keeps its inline hue in normal
998
+ mode untouched. */
999
+ .status-dot__dot {
1000
+ border: 1px solid CanvasText;
1001
+ /* The bordered ring alone separates a dot from its surround; the per-status
1002
+ fill below adds the WHC-honored distinction. */
1003
+ }
1004
+ /* The inner painted fill (`.status-dot__fill`, `h-full w-full`) + the pulse ring
1005
+ carry the SAME inline glass-ui hue StatusDot paints — under WHC they cover the
1006
+ outer `.status-dot__dot` glyph with a `forced-color-adjust`-remapped Canvas
1007
+ fill (the row collapses to one white dot even with the outer system color set).
1008
+ Yield them so the outer bordered + system-color glyph is the sole visible dot. */
1009
+ .status-dot__fill,
1010
+ .status-dot__pulse {
1011
+ display: none;
1012
+ }
1013
+ /* The ok/warn/error/idle distinction rides the standard WHC keyword palette:
1014
+ active (ok) → Highlight (the affirmative system accent)
1015
+ paused (warn) → Mark (the marked/attention system color)
1016
+ error → CanvasText (a solid filled dot — the strongest weight)
1017
+ idle/custom → Canvas (a hollow dot — only the CanvasText ring reads)
1018
+ Each stays distinguishable by the system color the user's palette assigns,
1019
+ never glass-ui chroma. The `!important` beats the component's inline fill. */
1020
+ .status-dot__dot[data-status="active"] {
1021
+ background: Highlight !important;
1022
+ }
1023
+ .status-dot__dot[data-status="paused"] {
1024
+ background: Mark !important;
1025
+ }
1026
+ .status-dot__dot[data-status="error"] {
1027
+ background: CanvasText !important;
1028
+ }
1029
+ .status-dot__dot[data-status="idle"],
1030
+ .status-dot__dot[data-status="custom"] {
1031
+ background: Canvas !important;
652
1032
  }
653
1033
  }
654
1034