asta-ui 0.9.6 → 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/css/asta.css +2 -2
  2. package/css/asta.js +175 -45
  3. package/css/components.css +76 -76
  4. package/css/runtime/agent.js +31 -10
  5. package/css/runtime/assist.js +0 -1
  6. package/css/runtime/blocks.js +15 -3
  7. package/css/runtime/core.js +3 -3
  8. package/css/runtime/forms.js +2 -2
  9. package/css/runtime/modules.js +30 -9
  10. package/css/runtime/overlays.js +93 -16
  11. package/css/src/assist.css +4 -4
  12. package/css/src/blocks.css +12 -12
  13. package/css/src/controls.css +3 -3
  14. package/css/src/core.css +23 -23
  15. package/css/src/data.css +10 -10
  16. package/css/src/display.css +5 -5
  17. package/css/src/forms.css +3 -3
  18. package/css/src/overlays.css +16 -16
  19. package/css/tokens.css +3 -0
  20. package/dist/add-to-cart.js +2 -1
  21. package/dist/agent-plan.js +1 -1
  22. package/dist/agent-team.js +1 -1
  23. package/dist/ai-chat.js +1 -1
  24. package/dist/alert.js +1 -1
  25. package/dist/announcement-bar.js +1 -1
  26. package/dist/api-keys.js +1 -1
  27. package/dist/autonomy-dial.js +2 -1
  28. package/dist/avatar-group.js +2 -2
  29. package/dist/avatar.js +1 -1
  30. package/dist/badge.js +1 -1
  31. package/dist/base/add-to-cart.js +2 -1
  32. package/dist/base/agent-plan.js +1 -1
  33. package/dist/base/agent-team.js +1 -1
  34. package/dist/base/ai-chat.js +1 -1
  35. package/dist/base/alert.js +1 -1
  36. package/dist/base/announcement-bar.js +1 -1
  37. package/dist/base/api-keys.js +1 -1
  38. package/dist/base/autonomy-dial.js +2 -1
  39. package/dist/base/avatar-group.js +2 -2
  40. package/dist/base/avatar.js +1 -1
  41. package/dist/base/badge.js +1 -1
  42. package/dist/base/billing.js +2 -2
  43. package/dist/base/booking-slots.js +2 -1
  44. package/dist/base/button.js +1 -1
  45. package/dist/base/candlestick.js +1 -1
  46. package/dist/base/card-checkout.js +2 -1
  47. package/dist/base/cart-drawer.js +2 -1
  48. package/dist/base/change-ledger.js +2 -1
  49. package/dist/base/chat-thread.js +2 -1
  50. package/dist/base/checkbox-aui-052.js +1 -1
  51. package/dist/base/checkbox-aui-053.js +1 -1
  52. package/dist/base/checkbox-aui-054.js +1 -1
  53. package/dist/base/checkbox.js +1 -1
  54. package/dist/base/checkout.js +3 -3
  55. package/dist/base/citations.js +1 -1
  56. package/dist/base/combobox-aui-046.js +1 -1
  57. package/dist/base/combobox-aui-047.js +1 -1
  58. package/dist/base/combobox.js +1 -1
  59. package/dist/base/comments.js +3 -3
  60. package/dist/base/context-meter.js +2 -2
  61. package/dist/base/cookie-consent.js +2 -2
  62. package/dist/base/data-table.js +1 -1
  63. package/dist/base/date-picker-aui-050.js +1 -1
  64. package/dist/base/date-picker-aui-051.js +1 -1
  65. package/dist/base/date-picker.js +1 -1
  66. package/dist/base/dialog.js +1 -1
  67. package/dist/base/drawer.js +1 -1
  68. package/dist/base/dropdown-menu.js +2 -2
  69. package/dist/base/elastic-string.js +2 -1
  70. package/dist/base/empty-state.js +2 -2
  71. package/dist/base/event-calendar.js +1 -1
  72. package/dist/base/fallback-chain.js +1 -1
  73. package/dist/base/field.js +1 -1
  74. package/dist/base/file-manager.js +2 -2
  75. package/dist/base/flash-sale.js +1 -1
  76. package/dist/base/footer-aui-026.js +1 -1
  77. package/dist/base/footer-aui-027.js +1 -1
  78. package/dist/base/footer.js +2 -2
  79. package/dist/base/gravity-pills.js +1 -1
  80. package/dist/base/hold-to-confirm.js +1 -1
  81. package/dist/base/inbox.js +3 -3
  82. package/dist/base/ink-trail.js +2 -1
  83. package/dist/base/input.js +1 -1
  84. package/dist/base/invoice.js +2 -2
  85. package/dist/base/kanban.js +2 -2
  86. package/dist/base/menubar.js +1 -1
  87. package/dist/base/model-picker.js +1 -1
  88. package/dist/base/motion-button.js +1 -1
  89. package/dist/base/navbar-aui-010.js +1 -1
  90. package/dist/base/navbar-aui-011.js +1 -1
  91. package/dist/base/navbar-aui-012.js +1 -1
  92. package/dist/base/navbar-aui-014.js +1 -1
  93. package/dist/base/navbar.js +2 -2
  94. package/dist/base/needle-field.js +1 -1
  95. package/dist/base/notification-center.js +3 -3
  96. package/dist/base/notification-stack.js +2 -1
  97. package/dist/base/now-playing.js +2 -1
  98. package/dist/base/onboarding.js +2 -2
  99. package/dist/base/otp-input-aui-042.js +1 -1
  100. package/dist/base/password-input-aui-040.js +1 -1
  101. package/dist/base/password-input.js +1 -1
  102. package/dist/base/pay-methods.js +2 -1
  103. package/dist/base/payment-received.js +2 -1
  104. package/dist/base/payment-status.js +2 -1
  105. package/dist/base/pixel-reveal.js +1 -1
  106. package/dist/base/plan-switcher.js +2 -1
  107. package/dist/base/popover.js +1 -1
  108. package/dist/base/price-alert.js +1 -1
  109. package/dist/base/price-chart.js +2 -1
  110. package/dist/base/pricing-aui-021.js +1 -1
  111. package/dist/base/pricing-aui-022.js +1 -1
  112. package/dist/base/pricing-aui-023.js +1 -1
  113. package/dist/base/pricing-aui-024.js +1 -1
  114. package/dist/base/pricing.js +2 -2
  115. package/dist/base/prompt-composer.js +1 -1
  116. package/dist/base/radio-group-aui-055.js +1 -1
  117. package/dist/base/radio-group-aui-057.js +1 -1
  118. package/dist/base/radio-group.js +1 -1
  119. package/dist/base/range-slider.js +1 -1
  120. package/dist/base/scramble-text.js +1 -1
  121. package/dist/base/scrub-input.js +1 -1
  122. package/dist/base/seat-picker.js +2 -1
  123. package/dist/base/select-aui-043.js +1 -1
  124. package/dist/base/settings-panel.js +2 -2
  125. package/dist/base/shipment-tracker.js +2 -1
  126. package/dist/base/sidebar.js +2 -2
  127. package/dist/base/sign-in.js +2 -2
  128. package/dist/base/skeleton.js +1 -1
  129. package/dist/base/slider-aui-062.js +1 -1
  130. package/dist/base/slider.js +1 -1
  131. package/dist/base/snap-grid.js +1 -1
  132. package/dist/base/sortable-list.js +1 -1
  133. package/dist/base/spinner.js +1 -1
  134. package/dist/base/split-bill.js +1 -1
  135. package/dist/base/split-flap.js +2 -1
  136. package/dist/base/stepper.js +1 -1
  137. package/dist/base/tabs.js +1 -1
  138. package/dist/base/tag-input-aui-048.js +1 -1
  139. package/dist/base/tag-input.js +1 -1
  140. package/dist/base/team-members.js +3 -3
  141. package/dist/base/testimonials.js +2 -2
  142. package/dist/base/textarea-aui-002.js +1 -1
  143. package/dist/base/textarea-aui-006.js +1 -1
  144. package/dist/base/textarea-aui-007.js +1 -1
  145. package/dist/base/textarea-aui-008.js +1 -1
  146. package/dist/base/textarea-aui-037.js +1 -1
  147. package/dist/base/textarea.js +1 -1
  148. package/dist/base/toast.js +1 -1
  149. package/dist/base/token-swap.js +2 -1
  150. package/dist/base/tool-dock.js +1 -1
  151. package/dist/base/trade-ticket.js +2 -1
  152. package/dist/base/variant-picker.js +2 -1
  153. package/dist/base/wishlist.js +2 -1
  154. package/dist/base/workspace-switcher.js +1 -1
  155. package/dist/base.js +125 -124
  156. package/dist/billing.js +2 -2
  157. package/dist/booking-slots.js +2 -1
  158. package/dist/button.js +1 -1
  159. package/dist/candlestick.js +1 -1
  160. package/dist/card-checkout.js +2 -1
  161. package/dist/cart-drawer.js +2 -1
  162. package/dist/change-ledger.js +2 -1
  163. package/dist/chat-thread.js +2 -1
  164. package/dist/checkbox-aui-052.js +1 -1
  165. package/dist/checkbox-aui-053.js +1 -1
  166. package/dist/checkbox-aui-054.js +1 -1
  167. package/dist/checkbox.js +1 -1
  168. package/dist/checkout.js +3 -3
  169. package/dist/{chunk-EKPTPTKK.js → chunk-2DECQKLI.js} +2 -2
  170. package/dist/{chunk-BEV2X4YL.js → chunk-2RB5T6WP.js} +51 -11
  171. package/dist/{chunk-VNUX5LOC.js → chunk-2SOX7WUL.js} +5 -5
  172. package/dist/{chunk-H4NFBYKY.js → chunk-3G2L5A4O.js} +8 -2
  173. package/dist/{chunk-OKCSTMX3.js → chunk-3LJ72YR4.js} +4 -1
  174. package/dist/{chunk-6RA7LJ3K.js → chunk-3OCWR4L3.js} +13 -8
  175. package/dist/{chunk-RFVKRVTD.js → chunk-3PLPK7QK.js} +3 -3
  176. package/dist/{chunk-TMOEFAXQ.js → chunk-3PLQKAD7.js} +15 -2
  177. package/dist/{chunk-57PESBSZ.js → chunk-3PSV752Q.js} +1 -1
  178. package/dist/{chunk-5N2G462S.js → chunk-3XHG7P5T.js} +2 -2
  179. package/dist/{chunk-X4JYOCFA.js → chunk-4CIRS3OI.js} +18 -17
  180. package/dist/{chunk-XYQI4ZYV.js → chunk-4GWJFDSU.js} +1 -1
  181. package/dist/{chunk-KEMMI76V.js → chunk-4RBIAKO6.js} +2 -2
  182. package/dist/{chunk-YJAZHJY3.js → chunk-56VKEODT.js} +1 -1
  183. package/dist/{chunk-3RMCFFW2.js → chunk-5CAZEFDX.js} +8 -8
  184. package/dist/{chunk-JVTDNOHQ.js → chunk-5OSKT7O3.js} +2 -2
  185. package/dist/{chunk-ZWBJUJTR.js → chunk-5ZQ6PMJT.js} +2 -2
  186. package/dist/{chunk-YPFZXGPT.js → chunk-5ZTFP7P6.js} +1 -1
  187. package/dist/{chunk-P37H477M.js → chunk-633N6IVU.js} +3 -3
  188. package/dist/{chunk-EXX6YSUX.js → chunk-64UK5LOT.js} +2 -2
  189. package/dist/{chunk-TLODJONC.js → chunk-66MJ6EEU.js} +1 -1
  190. package/dist/{chunk-HVFB44HO.js → chunk-6D4LHBWD.js} +2 -2
  191. package/dist/{chunk-D4AYULMF.js → chunk-6NR46VEH.js} +2 -2
  192. package/dist/{chunk-BIYNJDPD.js → chunk-6OZZ24UL.js} +2 -2
  193. package/dist/{chunk-EN6XBXW5.js → chunk-6ZGHPBHD.js} +3 -2
  194. package/dist/{chunk-C2G5BUEG.js → chunk-74WYX24P.js} +23 -14
  195. package/dist/{chunk-FQ4YUKAE.js → chunk-765WRI6C.js} +3 -3
  196. package/dist/{chunk-5RPJPL2V.js → chunk-7HI4HJFN.js} +62 -26
  197. package/dist/{chunk-IVCHYE55.js → chunk-7IOMROVG.js} +13 -8
  198. package/dist/{chunk-ECGJ6D5D.js → chunk-7PHSPBJK.js} +1 -1
  199. package/dist/{chunk-O626XQW2.js → chunk-ALDX2G5E.js} +15 -2
  200. package/dist/{chunk-2PPF4GK5.js → chunk-ALRSHXXA.js} +58 -29
  201. package/dist/{chunk-FT7WZV3D.js → chunk-AMFNY7IA.js} +13 -4
  202. package/dist/{chunk-LKRE4HLZ.js → chunk-AQV7BK73.js} +73 -34
  203. package/dist/{chunk-ZZ25XSK2.js → chunk-B3WWWKHW.js} +2 -1
  204. package/dist/{chunk-OFYGJUKP.js → chunk-BT77ALVB.js} +1 -1
  205. package/dist/{chunk-FOJRZASV.js → chunk-BWAOBM2E.js} +32 -8
  206. package/dist/{chunk-TXC6CCSA.js → chunk-BWYPKOG3.js} +1 -1
  207. package/dist/{chunk-F4CWSZXK.js → chunk-BXNC35OZ.js} +1 -1
  208. package/dist/{chunk-5DLY6FGD.js → chunk-CMOI7V4H.js} +1 -1
  209. package/dist/{chunk-5OHHGQV6.js → chunk-CRGCVJLS.js} +3 -3
  210. package/dist/{chunk-BV5HEXB5.js → chunk-CTWW5QOS.js} +5 -5
  211. package/dist/{chunk-ANL6VX4X.js → chunk-DEAQSJ4Z.js} +1 -1
  212. package/dist/{chunk-2EBWWZPS.js → chunk-DITROAPF.js} +68 -21
  213. package/dist/{chunk-CACW5LH3.js → chunk-DSLKU6QJ.js} +68 -21
  214. package/dist/{chunk-ZGMBQZDV.js → chunk-DUXOV6MO.js} +28 -15
  215. package/dist/{chunk-DWZT455C.js → chunk-DZU5SMC3.js} +5 -5
  216. package/dist/{chunk-VUDTGRS3.js → chunk-EWSQCTIB.js} +1 -1
  217. package/dist/{chunk-FFRJW5O7.js → chunk-FA4A2EGP.js} +2 -2
  218. package/dist/{chunk-NZRQL3SA.js → chunk-FAHOYAQH.js} +1 -1
  219. package/dist/{chunk-NPVUFQGC.js → chunk-FDI2X6DY.js} +1 -1
  220. package/dist/{chunk-JNNMKFEQ.js → chunk-FGN7KDKD.js} +1 -1
  221. package/dist/{chunk-Q5A5OTLI.js → chunk-FOHY7LPU.js} +1 -1
  222. package/dist/{chunk-CBJUY4WE.js → chunk-FPOH7ETA.js} +1 -1
  223. package/dist/chunk-FS2PZKJY.js +43 -0
  224. package/dist/{chunk-XKA3LTJZ.js → chunk-FW45BTSS.js} +2 -2
  225. package/dist/{chunk-UZF7SCRT.js → chunk-G3FPQ3XG.js} +4 -4
  226. package/dist/{chunk-TAAAYFBT.js → chunk-GTS6MKPD.js} +2 -2
  227. package/dist/{chunk-7UMBKY3H.js → chunk-H46UXFHV.js} +1 -1
  228. package/dist/{chunk-B4XRAVHL.js → chunk-H7OVE6OB.js} +3 -3
  229. package/dist/{chunk-7RCBOTWL.js → chunk-HKOPYHLZ.js} +15 -8
  230. package/dist/{chunk-UXRTPEH7.js → chunk-HRQUTQSW.js} +9 -7
  231. package/dist/{chunk-WSL4JGEA.js → chunk-HSDMCZMX.js} +2 -2
  232. package/dist/{chunk-72UKXOMW.js → chunk-IBJA4ZM5.js} +14 -5
  233. package/dist/{chunk-F526V5BA.js → chunk-ID5GN2VU.js} +2 -2
  234. package/dist/{chunk-WO36QUH3.js → chunk-IDEK35SZ.js} +4 -1
  235. package/dist/{chunk-W5M3EHJL.js → chunk-IU4OH5MB.js} +3 -3
  236. package/dist/{chunk-SR4NYQWO.js → chunk-IVR3ZIXB.js} +1 -1
  237. package/dist/{chunk-PSTMF66E.js → chunk-JGZHWQGV.js} +5 -5
  238. package/dist/{chunk-2LM3VHNO.js → chunk-JJ473HJ2.js} +2 -1
  239. package/dist/{chunk-PZ2ZUHC3.js → chunk-JQX5KR7O.js} +15 -5
  240. package/dist/{chunk-TL32C2SQ.js → chunk-K3ASWIQF.js} +8 -2
  241. package/dist/{chunk-UTGEGGSE.js → chunk-K3SP537A.js} +12 -11
  242. package/dist/{chunk-SCQ6A4ZG.js → chunk-KATSSAVI.js} +8 -2
  243. package/dist/{chunk-MUDW65ZT.js → chunk-KCORGXZI.js} +32 -9
  244. package/dist/{chunk-LDTCIVDX.js → chunk-L67VH7II.js} +1 -1
  245. package/dist/{chunk-SPKSRH6G.js → chunk-LGGGLQAD.js} +10 -9
  246. package/dist/{chunk-IDXERBKL.js → chunk-LQR5OD3Z.js} +3 -2
  247. package/dist/{chunk-F7LAUVDJ.js → chunk-M362TW4G.js} +1 -1
  248. package/dist/{chunk-DNROUJ62.js → chunk-MBMY2VYS.js} +11 -6
  249. package/dist/{chunk-N6FMS47F.js → chunk-MEIRPHQO.js} +26 -21
  250. package/dist/{chunk-DU3CZ3K7.js → chunk-MIDBYG4B.js} +17 -4
  251. package/dist/{chunk-OH5VAD27.js → chunk-MKCLD2HJ.js} +1 -1
  252. package/dist/{chunk-FLCT7THQ.js → chunk-MNWZP3S2.js} +1 -1
  253. package/dist/{chunk-OXLBH4QM.js → chunk-MT3VMDV4.js} +1 -1
  254. package/dist/chunk-MVGUQ36E.js +75 -0
  255. package/dist/{chunk-RQNXELUL.js → chunk-MXRBXBE3.js} +1 -1
  256. package/dist/{chunk-IATF2OTU.js → chunk-MYPRORYG.js} +14 -5
  257. package/dist/{chunk-V7JUJQNR.js → chunk-N7XJO5Q4.js} +1 -1
  258. package/dist/{chunk-ISZ7O2Q6.js → chunk-O6GCB7HD.js} +10 -9
  259. package/dist/{chunk-EG7NXGDD.js → chunk-OFUEFWOK.js} +19 -6
  260. package/dist/{chunk-ZUH7XRX7.js → chunk-OFWUA5BO.js} +3 -2
  261. package/dist/{chunk-ZQV2GAWY.js → chunk-OJNEZ5AY.js} +10 -9
  262. package/dist/{chunk-DPLH3EGO.js → chunk-OOK5CF2D.js} +91 -39
  263. package/dist/{chunk-BG2W2KVE.js → chunk-ORZVPZQP.js} +8 -2
  264. package/dist/{chunk-RBTX7TVA.js → chunk-OSZXWKKH.js} +3 -3
  265. package/dist/{chunk-DWA62IYV.js → chunk-OUGWYBWG.js} +3 -3
  266. package/dist/{chunk-QJXVIEB5.js → chunk-P3XPSBST.js} +2 -2
  267. package/dist/{chunk-37JQA6PI.js → chunk-PHI4NQLJ.js} +1 -1
  268. package/dist/{chunk-KEMC4RIF.js → chunk-PLQ6CYRC.js} +1 -1
  269. package/dist/{chunk-JF4BKHFK.js → chunk-PNN2M3V3.js} +2 -2
  270. package/dist/{chunk-45KDL3JM.js → chunk-PZA44CGX.js} +1 -1
  271. package/dist/chunk-Q3KZWQWK.js +389 -0
  272. package/dist/{chunk-DD2TBHSJ.js → chunk-Q6IUIKAE.js} +1 -1
  273. package/dist/{chunk-JAQKJBVJ.js → chunk-QEHCINJG.js} +3 -3
  274. package/dist/{chunk-EOZDJA7Z.js → chunk-QJ7QZWXJ.js} +1 -1
  275. package/dist/{chunk-RSUZHZCG.js → chunk-QKAFDPXO.js} +12 -11
  276. package/dist/{chunk-VS3GQ4JR.js → chunk-QLIA6OT4.js} +7 -5
  277. package/dist/{chunk-3PQTSFOS.js → chunk-QMH6X4OV.js} +1 -1
  278. package/dist/{chunk-FIPWA5KL.js → chunk-QRU57VKP.js} +27 -9
  279. package/dist/{chunk-W6YVDJHX.js → chunk-RAEOJYMR.js} +2 -2
  280. package/dist/{chunk-XNL5BLUR.js → chunk-RJZ37JRF.js} +8 -7
  281. package/dist/{chunk-NVLYF4UL.js → chunk-RPOV3WAK.js} +55 -13
  282. package/dist/{chunk-WNPMHOXE.js → chunk-RQ673YJJ.js} +1 -1
  283. package/dist/{chunk-6322OCI4.js → chunk-RVVYQ6J5.js} +20 -9
  284. package/dist/{chunk-MDB4RFMV.js → chunk-SDUD2HI2.js} +3 -3
  285. package/dist/{chunk-3ZFF6VC5.js → chunk-SK6M4GOD.js} +11 -10
  286. package/dist/{chunk-H4URFOQC.js → chunk-TAN5UNTZ.js} +36 -5
  287. package/dist/chunk-UACKIMP4.js +389 -0
  288. package/dist/{chunk-45IXJ7W7.js → chunk-UINHBFRO.js} +12 -10
  289. package/dist/{chunk-VWYX5IRP.js → chunk-USBGON3T.js} +38 -16
  290. package/dist/{chunk-U6N7CZYN.js → chunk-V4O44BPH.js} +2 -2
  291. package/dist/{chunk-ADZI4ROA.js → chunk-VDUU5243.js} +1 -0
  292. package/dist/{chunk-7MBTBYTJ.js → chunk-VDWLZWAT.js} +3 -3
  293. package/dist/{chunk-CSTI5CTF.js → chunk-VEKYE733.js} +1 -1
  294. package/dist/{chunk-MAKFUH34.js → chunk-VI6565XF.js} +3 -3
  295. package/dist/{chunk-PAXDHYBX.js → chunk-VIFKQE2H.js} +79 -16
  296. package/dist/{chunk-JRD6FENH.js → chunk-VTZDMX2U.js} +18 -9
  297. package/dist/{chunk-WRB66XD3.js → chunk-VYO4JJVI.js} +3 -1
  298. package/dist/{chunk-E4MX3E3B.js → chunk-W723JZDF.js} +22 -7
  299. package/dist/{chunk-U7VX6A6K.js → chunk-WA4HAXEF.js} +40 -15
  300. package/dist/{chunk-LPTY5WXM.js → chunk-WBRRSZW4.js} +2 -2
  301. package/dist/{chunk-44DNL43W.js → chunk-WDOI4U7K.js} +1 -1
  302. package/dist/{chunk-UBTYMAKF.js → chunk-WIX5IGDH.js} +5 -8
  303. package/dist/{chunk-MPH64VG7.js → chunk-WOMLNEGP.js} +3 -3
  304. package/dist/{chunk-JWBGI7FN.js → chunk-WVXAVILO.js} +91 -39
  305. package/dist/{chunk-YRPLUNP4.js → chunk-X4M6RXNL.js} +2 -2
  306. package/dist/{chunk-FDE3S2YK.js → chunk-XCKKECIR.js} +2 -2
  307. package/dist/{chunk-4SLC3EK6.js → chunk-XGNTNUAT.js} +79 -16
  308. package/dist/{chunk-Z5GNX2S3.js → chunk-XN2OBKPK.js} +1 -1
  309. package/dist/{chunk-SDL3JXFN.js → chunk-XSNQN67K.js} +1 -1
  310. package/dist/{chunk-ZE7BT2K4.js → chunk-Y3QA2RIG.js} +70 -13
  311. package/dist/{chunk-25RCKHWV.js → chunk-YDKATODA.js} +3 -2
  312. package/dist/{chunk-5GGS6VP5.js → chunk-YUOEZYRP.js} +1 -1
  313. package/dist/{chunk-OBU2UOYI.js → chunk-YV3D4CPO.js} +2 -2
  314. package/dist/{chunk-6HPSPZTF.js → chunk-YXEAYRUY.js} +10 -9
  315. package/dist/{chunk-R3LWG23K.js → chunk-Z5TG7ZGD.js} +15 -8
  316. package/dist/{chunk-ITGWD7ZY.js → chunk-ZH5A4YKQ.js} +2 -2
  317. package/dist/{chunk-QASSYLQQ.js → chunk-ZJLQDN5R.js} +2 -2
  318. package/dist/{chunk-CZCZB5YP.js → chunk-ZK4DK2SS.js} +1 -1
  319. package/dist/{chunk-24O5V2PQ.js → chunk-ZMCNI37U.js} +1 -1
  320. package/dist/{chunk-BKHH2CJA.js → chunk-ZNH7MSLM.js} +1 -1
  321. package/dist/{chunk-PIE76JKF.js → chunk-ZO25PAJA.js} +1 -1
  322. package/dist/{chunk-RGVRHFKY.js → chunk-ZXHMJKJY.js} +4 -2
  323. package/dist/{chunk-UC55XR76.js → chunk-ZYZHLWFL.js} +8 -2
  324. package/dist/citations.js +1 -1
  325. package/dist/combobox-aui-046.js +1 -1
  326. package/dist/combobox-aui-047.js +1 -1
  327. package/dist/combobox.js +1 -1
  328. package/dist/comments.js +3 -3
  329. package/dist/context-meter.js +2 -2
  330. package/dist/cookie-consent.js +2 -2
  331. package/dist/data-table.js +1 -1
  332. package/dist/date-picker-aui-050.js +1 -1
  333. package/dist/date-picker-aui-051.js +1 -1
  334. package/dist/date-picker.js +1 -1
  335. package/dist/dialog.js +1 -1
  336. package/dist/drawer.js +1 -1
  337. package/dist/dropdown-menu.js +2 -2
  338. package/dist/elastic-string.js +2 -1
  339. package/dist/empty-state.js +2 -2
  340. package/dist/event-calendar.js +1 -1
  341. package/dist/fallback-chain.js +1 -1
  342. package/dist/field.js +1 -1
  343. package/dist/file-manager.js +2 -2
  344. package/dist/flash-sale.js +1 -1
  345. package/dist/footer-aui-026.js +1 -1
  346. package/dist/footer-aui-027.js +1 -1
  347. package/dist/footer.js +2 -2
  348. package/dist/gravity-pills.js +1 -1
  349. package/dist/hold-to-confirm.js +1 -1
  350. package/dist/inbox.js +3 -3
  351. package/dist/index.js +126 -125
  352. package/dist/ink-trail.js +2 -1
  353. package/dist/input.js +1 -1
  354. package/dist/invoice.js +2 -2
  355. package/dist/kanban.js +2 -2
  356. package/dist/menubar.js +1 -1
  357. package/dist/model-picker.js +1 -1
  358. package/dist/motion-button.js +1 -1
  359. package/dist/navbar-aui-010.js +1 -1
  360. package/dist/navbar-aui-011.js +1 -1
  361. package/dist/navbar-aui-012.js +1 -1
  362. package/dist/navbar-aui-014.js +1 -1
  363. package/dist/navbar.js +2 -2
  364. package/dist/needle-field.js +1 -1
  365. package/dist/notification-center.js +3 -3
  366. package/dist/notification-stack.js +2 -1
  367. package/dist/now-playing.js +2 -1
  368. package/dist/onboarding.js +2 -2
  369. package/dist/otp-input-aui-042.js +1 -1
  370. package/dist/password-input-aui-040.js +1 -1
  371. package/dist/password-input.js +1 -1
  372. package/dist/pay-methods.js +2 -1
  373. package/dist/payment-received.js +2 -1
  374. package/dist/payment-status.js +2 -1
  375. package/dist/pixel-reveal.js +1 -1
  376. package/dist/plan-switcher.js +2 -1
  377. package/dist/popover.js +1 -1
  378. package/dist/price-alert.js +1 -1
  379. package/dist/price-chart.js +2 -1
  380. package/dist/pricing-aui-021.js +1 -1
  381. package/dist/pricing-aui-022.js +1 -1
  382. package/dist/pricing-aui-023.js +1 -1
  383. package/dist/pricing-aui-024.js +1 -1
  384. package/dist/pricing.js +2 -2
  385. package/dist/prompt-composer.js +1 -1
  386. package/dist/radio-group-aui-055.js +1 -1
  387. package/dist/radio-group-aui-057.js +1 -1
  388. package/dist/radio-group.js +1 -1
  389. package/dist/range-slider.js +1 -1
  390. package/dist/scramble-text.js +1 -1
  391. package/dist/scrub-input.js +1 -1
  392. package/dist/seat-picker.js +2 -1
  393. package/dist/select-aui-043.js +1 -1
  394. package/dist/settings-panel.js +2 -2
  395. package/dist/shipment-tracker.js +2 -1
  396. package/dist/sidebar.js +2 -2
  397. package/dist/sign-in.js +2 -2
  398. package/dist/skeleton.js +1 -1
  399. package/dist/slider-aui-062.js +1 -1
  400. package/dist/slider.js +1 -1
  401. package/dist/snap-grid.js +1 -1
  402. package/dist/sortable-list.js +1 -1
  403. package/dist/spinner.js +1 -1
  404. package/dist/split-bill.js +1 -1
  405. package/dist/split-flap.js +2 -1
  406. package/dist/stepper.js +1 -1
  407. package/dist/styles.css +3 -0
  408. package/dist/tabs.js +1 -1
  409. package/dist/tag-input-aui-048.js +1 -1
  410. package/dist/tag-input.js +1 -1
  411. package/dist/team-members.js +3 -3
  412. package/dist/testimonials.js +2 -2
  413. package/dist/textarea-aui-002.js +1 -1
  414. package/dist/textarea-aui-006.js +1 -1
  415. package/dist/textarea-aui-007.js +1 -1
  416. package/dist/textarea-aui-008.js +1 -1
  417. package/dist/textarea-aui-037.js +1 -1
  418. package/dist/textarea.js +1 -1
  419. package/dist/toast.js +1 -1
  420. package/dist/token-swap.js +2 -1
  421. package/dist/tool-dock.js +1 -1
  422. package/dist/tooltip.js +1 -1
  423. package/dist/trade-ticket.js +2 -1
  424. package/dist/types/components/kit/api-keys.d.ts +1 -1
  425. package/dist/types/components/kit/base/navbar.d.ts +4 -1
  426. package/dist/types/components/kit/base/sidebar.d.ts +29 -7
  427. package/dist/types/components/kit/navbar.d.ts +4 -1
  428. package/dist/types/components/kit/sidebar.d.ts +29 -7
  429. package/dist/types/components/lab/lab-hooks.d.ts +12 -0
  430. package/dist/types/packages/asta-ui/src/base.d.ts +1 -1
  431. package/dist/types/packages/asta-ui/src/index.d.ts +1 -1
  432. package/dist/variant-picker.js +2 -1
  433. package/dist/wishlist.js +2 -1
  434. package/dist/workspace-switcher.js +1 -1
  435. package/package.json +1 -1
  436. package/dist/chunk-2Z5Z4YYZ.js +0 -57
  437. package/dist/chunk-MVE7RJJ6.js +0 -322
  438. package/dist/chunk-TBMUSER2.js +0 -322
@@ -875,10 +875,10 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
875
875
  @apply bg-ink text-paper shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_1px_2px_rgb(0_0_0/0.16),0_6px_14px_-8px_rgb(0_0_0/0.45)] hover:bg-[color-mix(in_srgb,var(--ink)_84%,var(--paper))];
876
876
  }
877
877
  .asta-btn-accent {
878
- @apply bg-brand text-white hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)];
878
+ @apply bg-brand text-on-brand hover:bg-[color-mix(in_srgb,var(--brand)_88%,black)];
879
879
  }
880
880
  .asta-btn-danger {
881
- @apply bg-[#e5484d] text-white hover:bg-[#d13d42];
881
+ @apply bg-ink text-paper hover:bg-[color-mix(in_srgb,var(--ink)_86%,var(--paper))];
882
882
  }
883
883
  .asta-btn-outline {
884
884
  @apply bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent),0_1px_2px_rgb(0_0_0/0.05)];
@@ -956,10 +956,10 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
956
956
  }
957
957
  .asta-input-error,
958
958
  .asta-input:has(> input[aria-invalid="true"]) {
959
- @apply shadow-[inset_0_0_0_1px_#e5484d] hover:shadow-[inset_0_0_0_1px_#e5484d] focus-within:!shadow-[inset_0_0_0_1px_#e5484d,0_0_0_4px_rgb(229_72_77/0.16)];
959
+ @apply shadow-[inset_0_0_0_1.5px_var(--ink)] hover:shadow-[inset_0_0_0_1.5px_var(--ink)] focus-within:!shadow-[inset_0_0_0_1.5px_var(--ink),0_0_0_4px_color-mix(in_srgb,var(--ink)_12%,transparent)];
960
960
  }
961
961
  .asta-input-success {
962
- @apply shadow-[inset_0_0_0_1px_#30a46c] hover:shadow-[inset_0_0_0_1px_#30a46c] focus-within:!shadow-[inset_0_0_0_1px_#30a46c,0_0_0_4px_rgb(48_164_108/0.16)];
962
+ @apply shadow-[inset_0_0_0_1px_var(--brand)] hover:shadow-[inset_0_0_0_1px_var(--brand)] focus-within:!shadow-[inset_0_0_0_1px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_16%,transparent)];
963
963
  }
964
964
  .asta-input-control {
965
965
  @apply h-full min-w-0 flex-1 bg-transparent outline-none placeholder:text-mute [&::-webkit-search-cancel-button]:hidden;
@@ -975,9 +975,9 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
975
975
  }
976
976
  /* The error or success icon at the end of the field. */
977
977
  .asta-input-status {
978
- @apply h-4 w-4 shrink-0 text-[#e5484d];
978
+ @apply h-4 w-4 shrink-0 text-ink;
979
979
  .asta-input-success > & {
980
- @apply text-[#30a46c];
980
+ @apply text-brand;
981
981
  }
982
982
  }
983
983
 
@@ -995,13 +995,13 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
995
995
  @apply text-[13px] font-medium tracking-[-0.01em] text-ink;
996
996
  }
997
997
  .asta-label-required {
998
- @apply ml-0.5 text-[#e5484d];
998
+ @apply ml-0.5 text-ink;
999
999
  }
1000
1000
  .asta-counter {
1001
1001
  @apply text-[12px] tabular-nums text-mute;
1002
1002
  }
1003
1003
  .asta-error {
1004
- @apply flex items-start gap-1.5 text-[12.5px] leading-snug text-[#e5484d] animate-[asta-field-in_.3s_cubic-bezier(.16,1,.3,1)_both];
1004
+ @apply flex items-start gap-1.5 text-[12.5px] leading-snug text-ink animate-[asta-field-in_.3s_cubic-bezier(.16,1,.3,1)_both];
1005
1005
  & > svg {
1006
1006
  @apply mt-px h-3.5 w-3.5 shrink-0;
1007
1007
  }
@@ -1021,7 +1021,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1021
1021
  }
1022
1022
  .asta-textarea-error,
1023
1023
  .asta-textarea:has(> textarea[aria-invalid="true"]) {
1024
- @apply shadow-[inset_0_0_0_1px_#e5484d] hover:shadow-[inset_0_0_0_1px_#e5484d] focus-within:!shadow-[inset_0_0_0_1px_#e5484d,0_0_0_4px_rgb(229_72_77/0.16)];
1024
+ @apply shadow-[inset_0_0_0_1.5px_var(--ink)] hover:shadow-[inset_0_0_0_1.5px_var(--ink)] focus-within:!shadow-[inset_0_0_0_1.5px_var(--ink),0_0_0_4px_color-mix(in_srgb,var(--ink)_12%,transparent)];
1025
1025
  }
1026
1026
  .asta-textarea-control {
1027
1027
  @apply block w-full resize-none bg-transparent px-3.5 py-3 text-[16px] sm:text-[14px] leading-[1.55] outline-none placeholder:text-mute disabled:cursor-not-allowed;
@@ -1048,7 +1048,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1048
1048
  }
1049
1049
  .asta-select-error > &,
1050
1050
  &[aria-invalid="true"] {
1051
- @apply shadow-[inset_0_0_0_1px_#e5484d] hover:shadow-[inset_0_0_0_1px_#e5484d] focus:!shadow-[inset_0_0_0_1px_#e5484d,0_0_0_3px_rgb(229_72_77/0.16)];
1051
+ @apply shadow-[inset_0_0_0_1.5px_var(--ink)] hover:shadow-[inset_0_0_0_1.5px_var(--ink)] focus:!shadow-[inset_0_0_0_1.5px_var(--ink),0_0_0_3px_color-mix(in_srgb,var(--ink)_12%,transparent)];
1052
1052
  }
1053
1053
  }
1054
1054
  .asta-select-icon {
@@ -1088,13 +1088,13 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1088
1088
  @apply disabled:cursor-not-allowed disabled:opacity-45;
1089
1089
  }
1090
1090
  .asta-checkbox-check {
1091
- @apply pointer-events-none col-start-1 row-start-1 h-3 w-3 scale-50 text-white opacity-0 transition-[opacity,scale] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
1091
+ @apply pointer-events-none col-start-1 row-start-1 h-3 w-3 scale-50 text-on-brand opacity-0 transition-[opacity,scale] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
1092
1092
  input:checked ~ & {
1093
1093
  @apply scale-100 opacity-100;
1094
1094
  }
1095
1095
  }
1096
1096
  .asta-checkbox-dash {
1097
- @apply pointer-events-none col-start-1 row-start-1 h-[2.2px] w-2 scale-x-0 rounded-full bg-white transition-[scale] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
1097
+ @apply pointer-events-none col-start-1 row-start-1 h-[2.2px] w-2 scale-x-0 rounded-full bg-on-brand transition-[scale] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
1098
1098
  input[data-indeterminate] ~ & {
1099
1099
  @apply scale-x-100;
1100
1100
  }
@@ -1151,7 +1151,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1151
1151
  }
1152
1152
  }
1153
1153
  .asta-radio-mark {
1154
- @apply pointer-events-none absolute inset-0 m-auto h-1.5 w-1.5 scale-0 rounded-full bg-white transition-[scale] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
1154
+ @apply pointer-events-none absolute inset-0 m-auto h-1.5 w-1.5 scale-0 rounded-full bg-on-brand transition-[scale] duration-300 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
1155
1155
  input:checked ~ & {
1156
1156
  @apply scale-100;
1157
1157
  }
@@ -1264,19 +1264,19 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1264
1264
  }
1265
1265
  .asta-badge-accent {
1266
1266
  --kit-badge: var(--brand);
1267
- --kit-badge-on: #fff;
1267
+ --kit-badge-on: var(--on-brand);
1268
1268
  }
1269
1269
  .asta-badge-success {
1270
- --kit-badge: #30a46c;
1271
- --kit-badge-on: #fff;
1270
+ --kit-badge: var(--brand);
1271
+ --kit-badge-on: var(--on-brand);
1272
1272
  }
1273
1273
  .asta-badge-warning {
1274
- --kit-badge: #f5a524;
1275
- --kit-badge-on: #1a1300;
1274
+ --kit-badge: var(--ink-2);
1275
+ --kit-badge-on: var(--paper);
1276
1276
  }
1277
1277
  .asta-badge-danger {
1278
- --kit-badge: #e5484d;
1279
- --kit-badge-on: #fff;
1278
+ --kit-badge: var(--ink);
1279
+ --kit-badge-on: var(--paper);
1280
1280
  }
1281
1281
  .asta-badge-solid {
1282
1282
  @apply bg-[var(--kit-badge)] text-[var(--kit-badge-on)];
@@ -1312,7 +1312,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1312
1312
  }
1313
1313
  }
1314
1314
  .asta-count {
1315
- @apply inline-flex h-[18px] min-w-[18px] animate-[asta-pop_.4s_cubic-bezier(.16,1,.3,1)] items-center justify-center rounded-[5px] bg-[#e5484d] px-1 text-[10.5px] font-semibold tabular-nums leading-none text-white shadow-[0_0_0_2px_var(--paper)] motion-reduce:animate-none;
1315
+ @apply inline-flex h-[18px] min-w-[18px] animate-[asta-pop_.4s_cubic-bezier(.16,1,.3,1)] items-center justify-center rounded-[5px] bg-ink px-1 text-[10.5px] font-semibold tabular-nums leading-none text-white shadow-[0_0_0_2px_var(--paper)] motion-reduce:animate-none;
1316
1316
  }
1317
1317
 
1318
1318
  /* ---- Dialog ----
@@ -1382,7 +1382,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1382
1382
  @apply text-ink hover:bg-paper-2 focus:bg-paper-2;
1383
1383
  }
1384
1384
  .asta-menu-item-danger {
1385
- @apply text-[#e5484d] hover:bg-[#e5484d]/10 focus:bg-[#e5484d]/10;
1385
+ @apply text-ink hover:bg-paper-2 focus:bg-paper-2;
1386
1386
  }
1387
1387
  .asta-menu-item-icon {
1388
1388
  @apply inline-flex h-4 w-4 shrink-0 text-mute [&_svg]:h-4 [&_svg]:w-4;
@@ -1435,7 +1435,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1435
1435
  .asta-tab-count {
1436
1436
  @apply rounded-[5px] bg-[color-mix(in_srgb,var(--ink)_7%,transparent)] px-1.5 text-[11px] leading-[18px] tabular-nums text-mute transition-colors duration-300;
1437
1437
  .asta-tab[aria-selected="true"] > & {
1438
- @apply bg-brand text-white;
1438
+ @apply bg-brand text-on-brand;
1439
1439
  }
1440
1440
  }
1441
1441
  .asta-tabs-panel {
@@ -2141,7 +2141,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2141
2141
  @apply text-ink;
2142
2142
  }
2143
2143
  .asta-model-picker-new {
2144
- @apply shrink-0 rounded-[5px] bg-brand px-1.5 text-[10px] font-semibold leading-[16px] text-white;
2144
+ @apply shrink-0 rounded-[5px] bg-brand px-1.5 text-[10px] font-semibold leading-[16px] text-on-brand;
2145
2145
  }
2146
2146
  .asta-model-picker-hint {
2147
2147
  @apply mt-0.5 block truncate text-[12px] text-mute;
@@ -2203,7 +2203,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2203
2203
  .asta-citations-pill {
2204
2204
  @apply mx-px inline-grid h-[18px] min-w-[18px] -translate-y-px cursor-pointer place-items-center rounded-[5px] bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] px-1 align-middle text-[11px] font-semibold leading-none tabular-nums text-ink-2 outline-none;
2205
2205
  @apply transition-[background-color,color,transform] duration-200 hover:bg-[color-mix(in_srgb,var(--ink)_14%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50 active:scale-95;
2206
- @apply aria-expanded:bg-brand aria-expanded:text-white data-lit:bg-brand data-lit:text-white;
2206
+ @apply aria-expanded:bg-brand aria-expanded:text-on-brand data-lit:bg-brand data-lit:text-on-brand;
2207
2207
  }
2208
2208
  .asta-citations-card {
2209
2209
  @apply absolute bottom-full left-1/2 z-50 mb-2 block w-[304px] max-w-[calc(100vw-32px)] -translate-x-1/2 origin-bottom whitespace-normal rounded-xl bg-paper p-3.5 text-left leading-normal;
@@ -2232,7 +2232,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2232
2232
  @apply grid h-[18px] w-[18px] shrink-0 place-items-center rounded-[5px] bg-ink text-[10px] font-semibold uppercase text-paper;
2233
2233
  }
2234
2234
  .asta-citations-tile-2 {
2235
- @apply bg-brand text-white;
2235
+ @apply bg-brand text-on-brand;
2236
2236
  }
2237
2237
  .asta-citations-tile-3 {
2238
2238
  @apply bg-paper-2 text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent)];
@@ -2622,7 +2622,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2622
2622
  }
2623
2623
  }
2624
2624
  .asta-prompt-send {
2625
- @apply ml-auto grid h-8 w-8 shrink-0 cursor-pointer place-items-center rounded-lg bg-brand text-white outline-none transition-[opacity,transform] duration-150 active:scale-95 disabled:cursor-default disabled:opacity-35;
2625
+ @apply ml-auto grid h-8 w-8 shrink-0 cursor-pointer place-items-center rounded-lg bg-brand text-on-brand outline-none transition-[opacity,transform] duration-150 active:scale-95 disabled:cursor-default disabled:opacity-35;
2626
2626
  @apply focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper;
2627
2627
  & > svg {
2628
2628
  @apply h-4 w-4;
@@ -2700,7 +2700,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2700
2700
  @apply text-brand outline-none hover:underline focus-visible:underline;
2701
2701
  }
2702
2702
  .asta-sign-in-alert {
2703
- @apply mt-4 rounded-lg bg-[#e5484d]/10 px-3 py-2 text-[13px] text-[#e5484d] animate-[asta-field-in_.3s_cubic-bezier(.16,1,.3,1)_both];
2703
+ @apply mt-4 rounded-lg bg-paper-2 px-3 py-2 text-[13px] text-ink animate-[asta-field-in_.3s_cubic-bezier(.16,1,.3,1)_both];
2704
2704
  }
2705
2705
  .asta-sign-in-submit {
2706
2706
  @apply mt-5 w-full;
@@ -2727,7 +2727,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2727
2727
  @apply flex min-h-[380px] flex-col items-center justify-center text-center animate-[asta-blk-pop_.5s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:animate-none;
2728
2728
  }
2729
2729
  .asta-sign-in-done-icon {
2730
- @apply flex h-14 w-14 items-center justify-center rounded-full bg-[#30a46c] text-white;
2730
+ @apply flex h-14 w-14 items-center justify-center rounded-full bg-brand text-on-brand;
2731
2731
  & > svg {
2732
2732
  @apply h-7 w-7 animate-[asta-blk-pop_.5s_.15s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:animate-none;
2733
2733
  }
@@ -2755,7 +2755,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2755
2755
  @apply flex flex-col items-center px-8 py-12 text-center animate-[asta-rise_.5s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:animate-none;
2756
2756
  }
2757
2757
  .asta-onboarding-done-icon {
2758
- @apply flex h-12 w-12 items-center justify-center rounded-full bg-brand text-white animate-[asta-blk-pop_.6s_.1s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:animate-none;
2758
+ @apply flex h-12 w-12 items-center justify-center rounded-full bg-brand text-on-brand animate-[asta-blk-pop_.6s_.1s_cubic-bezier(.16,1,.3,1)_both] motion-reduce:animate-none;
2759
2759
  & > svg {
2760
2760
  @apply h-6 w-6;
2761
2761
  }
@@ -2831,7 +2831,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2831
2831
  }
2832
2832
  }
2833
2833
  .asta-onboarding-tick {
2834
- @apply absolute inset-0 flex scale-50 items-center justify-center rounded-full bg-brand text-white opacity-0 transition-[opacity,transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)];
2834
+ @apply absolute inset-0 flex scale-50 items-center justify-center rounded-full bg-brand text-on-brand opacity-0 transition-[opacity,transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)];
2835
2835
  & > svg {
2836
2836
  @apply h-3 w-3;
2837
2837
  }
@@ -2846,7 +2846,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2846
2846
  @apply text-[13px] leading-relaxed text-mute;
2847
2847
  }
2848
2848
  .asta-onboarding-error {
2849
- @apply mt-2 text-[12.5px] text-[#e5484d];
2849
+ @apply mt-2 text-[12.5px] text-ink;
2850
2850
  }
2851
2851
  .asta-onboarding-actions {
2852
2852
  @apply mt-3.5 flex items-center gap-2;
@@ -2878,7 +2878,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2878
2878
  @apply hover:text-ink has-[:checked]:text-ink has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-brand/50;
2879
2879
  }
2880
2880
  .asta-plans-saving {
2881
- @apply rounded-[4px] bg-brand px-1.5 text-[10.5px] leading-[18px] text-white;
2881
+ @apply rounded-[4px] bg-brand px-1.5 text-[10.5px] leading-[18px] text-on-brand;
2882
2882
  }
2883
2883
  .asta-plans-grid {
2884
2884
  @apply grid w-full gap-3 @min-[540px]:grid-cols-3;
@@ -2897,7 +2897,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2897
2897
  @apply text-[15px] font-medium tracking-[-0.01em];
2898
2898
  }
2899
2899
  .asta-plans-flag {
2900
- @apply rounded-[5px] bg-brand px-2 py-0.5 text-[11px] font-medium text-white;
2900
+ @apply rounded-[5px] bg-brand px-2 py-0.5 text-[11px] font-medium text-on-brand;
2901
2901
  }
2902
2902
  .asta-plans-desc {
2903
2903
  @apply mt-1 text-[12.5px] leading-snug text-mute;
@@ -3082,7 +3082,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3082
3082
  @apply block max-h-36 min-h-[36px] flex-1 resize-none bg-transparent py-2 text-[16px] sm:text-[14px] leading-relaxed text-ink outline-none [field-sizing:content] placeholder:text-mute;
3083
3083
  }
3084
3084
  .asta-ai-chat-send {
3085
- @apply relative grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-brand text-white outline-none transition-[opacity,transform] duration-200 active:scale-95 disabled:opacity-35;
3085
+ @apply relative grid h-9 w-9 shrink-0 place-items-center rounded-lg bg-brand text-on-brand outline-none transition-[opacity,transform] duration-200 active:scale-95 disabled:opacity-35;
3086
3086
  @apply focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper [&.htmx-request]:pointer-events-none;
3087
3087
  & > svg {
3088
3088
  @apply h-4 w-4 transition-opacity;
@@ -3116,7 +3116,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3116
3116
  @apply flex h-full min-h-[420px] flex-col items-start justify-center animate-[asta-blk-in_.5s_cubic-bezier(.16,1,.3,1)];
3117
3117
  }
3118
3118
  .asta-checkout-done-icon {
3119
- @apply grid h-12 w-12 place-items-center rounded-full bg-brand text-white animate-[asta-blk-pop_.55s_.1s_cubic-bezier(.16,1,.3,1)_both];
3119
+ @apply grid h-12 w-12 place-items-center rounded-full bg-brand text-on-brand animate-[asta-blk-pop_.55s_.1s_cubic-bezier(.16,1,.3,1)_both];
3120
3120
  & > svg {
3121
3121
  @apply h-5 w-5;
3122
3122
  }
@@ -3171,7 +3171,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3171
3171
  @apply mt-3 text-center text-[12px] text-mute;
3172
3172
  }
3173
3173
  .asta-checkout-error {
3174
- @apply mt-3 text-center text-[12.5px] text-[#e5484d] animate-[asta-field-in_.3s_cubic-bezier(.16,1,.3,1)_both];
3174
+ @apply mt-3 text-center text-[12.5px] text-ink animate-[asta-field-in_.3s_cubic-bezier(.16,1,.3,1)_both];
3175
3175
  }
3176
3176
  .asta-checkout-summary {
3177
3177
  @apply h-max rounded-[14px] bg-paper-2 p-5 md:sticky md:top-4;
@@ -3390,7 +3390,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3390
3390
  .asta-settings-saved-msg {
3391
3391
  @apply flex items-center gap-2;
3392
3392
  & > svg {
3393
- @apply h-4 w-4 shrink-0 text-[#30a46c];
3393
+ @apply h-4 w-4 shrink-0 text-paper;
3394
3394
  }
3395
3395
  }
3396
3396
  .asta-settings-unsaved-msg {
@@ -3500,7 +3500,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3500
3500
  @apply mt-2 min-h-4 px-1 text-[12px] text-mute;
3501
3501
  }
3502
3502
  .asta-team-hint-error {
3503
- @apply text-[#e5484d];
3503
+ @apply text-ink;
3504
3504
  }
3505
3505
  .asta-team-heading {
3506
3506
  @apply mb-1 mt-7 px-1 text-[12px] font-medium text-mute;
@@ -3624,7 +3624,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3624
3624
  }
3625
3625
  /* The ×10 / ×0.1 badge; asta.js writes the text while a modifier is held. */
3626
3626
  .asta-scrub-badge {
3627
- @apply mr-1.5 hidden shrink-0 rounded-[4px] bg-brand px-1 text-[10.5px] font-medium leading-4 tabular-nums text-white;
3627
+ @apply mr-1.5 hidden shrink-0 rounded-[4px] bg-brand px-1 text-[10.5px] font-medium leading-4 tabular-nums text-on-brand;
3628
3628
  }
3629
3629
  .asta-scrub[data-scrubbing][data-mod] {
3630
3630
  & > .asta-scrub-badge {
@@ -3757,7 +3757,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3757
3757
  @apply checked:bg-brand checked:shadow-none focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper-2;
3758
3758
  }
3759
3759
  & > svg {
3760
- @apply pointer-events-none col-start-1 row-start-1 h-3 w-3 scale-50 text-white opacity-0 transition-[opacity,transform] duration-300;
3760
+ @apply pointer-events-none col-start-1 row-start-1 h-3 w-3 scale-50 text-on-brand opacity-0 transition-[opacity,transform] duration-300;
3761
3761
  }
3762
3762
  & > input:checked + svg {
3763
3763
  @apply scale-100 opacity-100;
@@ -3908,7 +3908,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3908
3908
  .asta-api-keys-reveal-title {
3909
3909
  @apply flex flex-wrap items-center gap-2 text-[14px] font-medium;
3910
3910
  & > span:last-child {
3911
- @apply rounded-[5px] bg-brand px-1.5 text-[11px] font-medium leading-5 text-white;
3911
+ @apply rounded-[5px] bg-brand px-1.5 text-[11px] font-medium leading-5 text-on-brand;
3912
3912
  }
3913
3913
  }
3914
3914
  .asta-api-keys-reveal-text {
@@ -4337,7 +4337,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4337
4337
  @apply text-mute/60;
4338
4338
  }
4339
4339
  [aria-current="date"] > & {
4340
- @apply bg-brand font-medium text-white;
4340
+ @apply bg-brand font-medium text-on-brand;
4341
4341
  }
4342
4342
  }
4343
4343
  .asta-event-calendar-events {
@@ -4617,7 +4617,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4617
4617
  @apply grid origin-[50%_15%] place-items-center [&>svg]:h-[18px] [&>svg]:w-[18px];
4618
4618
  }
4619
4619
  .asta-notification-center-badge {
4620
- @apply absolute -right-0.5 -top-0.5 flex h-[18px] min-w-[18px] items-center justify-center overflow-hidden rounded-full bg-brand px-1 text-[10.5px] font-medium tabular-nums text-white shadow-[0_0_0_2px_var(--paper)];
4620
+ @apply absolute -right-0.5 -top-0.5 flex h-[18px] min-w-[18px] items-center justify-center overflow-hidden rounded-full bg-brand px-1 text-[10.5px] font-medium tabular-nums text-on-brand shadow-[0_0_0_2px_var(--paper)];
4621
4621
  & > span {
4622
4622
  @apply block;
4623
4623
  }
@@ -4831,7 +4831,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4831
4831
  @apply overflow-hidden bg-paper-2 !pl-5 !pr-1.5 text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)];
4832
4832
  }
4833
4833
  .asta-motion-button-shine {
4834
- @apply overflow-hidden bg-brand text-white;
4834
+ @apply overflow-hidden bg-brand text-on-brand;
4835
4835
  }
4836
4836
  .asta-motion-button-beam {
4837
4837
  @apply overflow-hidden bg-[color-mix(in_srgb,var(--ink)_10%,transparent)] !p-[1.5px] shadow-none;
@@ -4846,8 +4846,8 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4846
4846
  @apply bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)];
4847
4847
  }
4848
4848
  .asta-motion-button-confirm {
4849
- @apply overflow-hidden bg-paper text-[#e5484d] shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)];
4850
- @apply data-[stage=ask]:bg-[#e5484d] data-[stage=ask]:text-white data-[stage=ask]:shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_1px_2px_rgb(0_0_0/0.16),0_6px_14px_-8px_rgb(0_0_0/0.45)];
4849
+ @apply overflow-hidden bg-paper text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)];
4850
+ @apply data-[stage=ask]:bg-ink data-[stage=ask]:text-paper data-[stage=ask]:shadow-[inset_0_1px_0_rgb(255_255_255/0.18),0_1px_2px_rgb(0_0_0/0.16),0_6px_14px_-8px_rgb(0_0_0/0.45)];
4851
4851
  @apply data-[stage=done]:bg-paper-2 data-[stage=done]:text-ink-2 data-[stage=done]:shadow-none;
4852
4852
  }
4853
4853
  /* roll */
@@ -4877,10 +4877,10 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4877
4877
  @apply block transition-[transform,color] duration-500 ease-[cubic-bezier(.16,1,.3,1)];
4878
4878
  }
4879
4879
  .asta-motion-button-arrow:hover > & {
4880
- @apply translate-x-1 text-white;
4880
+ @apply translate-x-1 text-on-brand;
4881
4881
  }
4882
4882
  .asta-motion-button-arrow:focus-visible > & {
4883
- @apply text-white;
4883
+ @apply text-on-brand;
4884
4884
  }
4885
4885
  }
4886
4886
  .asta-motion-button-wipe {
@@ -4890,7 +4890,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4890
4890
  @apply absolute inset-1.5 rounded-[7px] bg-brand;
4891
4891
  }
4892
4892
  .asta-motion-button-arrows {
4893
- @apply relative ml-2 grid h-8 w-8 place-items-center overflow-hidden text-white;
4893
+ @apply relative ml-2 grid h-8 w-8 place-items-center overflow-hidden text-on-brand;
4894
4894
  & > svg {
4895
4895
  @apply col-start-1 row-start-1 h-4 w-4 transition-transform duration-500 ease-[cubic-bezier(.16,1,.3,1)];
4896
4896
  }
@@ -4932,7 +4932,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4932
4932
  }
4933
4933
  }
4934
4934
  .asta-motion-button-icon-done {
4935
- @apply hidden text-[#30a46c];
4935
+ @apply hidden text-brand;
4936
4936
  [data-done] & {
4937
4937
  @apply block;
4938
4938
  }
@@ -4948,7 +4948,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4948
4948
  }
4949
4949
  /* confirm */
4950
4950
  .asta-motion-button-timer {
4951
- @apply absolute inset-x-0 bottom-0 hidden h-[3px] origin-left bg-white/60;
4951
+ @apply absolute inset-x-0 bottom-0 hidden h-[3px] origin-left bg-paper/60;
4952
4952
  [data-stage="ask"] > & {
4953
4953
  @apply block;
4954
4954
  }
@@ -5073,7 +5073,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5073
5073
  @apply bg-ink text-paper;
5074
5074
  }
5075
5075
  .asta-avatar-brand {
5076
- @apply bg-brand text-white;
5076
+ @apply bg-brand text-on-brand;
5077
5077
  }
5078
5078
  .asta-avatar-soft {
5079
5079
  @apply bg-paper-2 text-ink shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_14%,transparent)];
@@ -5091,13 +5091,13 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5091
5091
  @apply absolute bottom-0 right-0 h-2.5 w-2.5 rounded-full shadow-[0_0_0_2px_var(--paper)];
5092
5092
  background: radial-gradient(closest-side, var(--paper) 48%, var(--mute) 56%);
5093
5093
  &[data-status="online"] {
5094
- background: #30a46c;
5094
+ background: var(--brand);
5095
5095
  }
5096
5096
  &[data-status="away"] {
5097
- background: radial-gradient(closest-side at 30% 30%, var(--paper) 92%, #f5a524 100%);
5097
+ background: radial-gradient(closest-side at 30% 30%, var(--paper) 92%, var(--ink-2) 100%);
5098
5098
  }
5099
5099
  &[data-status="busy"] {
5100
- background: linear-gradient(var(--paper), var(--paper)) center / 60% 20% no-repeat, #e5484d;
5100
+ background: linear-gradient(var(--paper), var(--paper)) center / 60% 20% no-repeat, var(--ink);
5101
5101
  }
5102
5102
  }
5103
5103
  .asta-avatar-xs {
@@ -5453,7 +5453,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5453
5453
  .asta-skeleton {
5454
5454
  @apply relative block h-3 overflow-hidden rounded-full bg-[color-mix(in_srgb,var(--ink)_7%,transparent)];
5455
5455
  @apply before:absolute before:inset-0 before:bg-[linear-gradient(100deg,transparent_20%,color-mix(in_srgb,var(--paper)_70%,transparent)_50%,transparent_80%)] before:content-[''];
5456
- @apply before:animate-[asta-skeleton-shimmer_1.6s_cubic-bezier(.4,0,.2,1)_infinite] motion-reduce:before:hidden;
5456
+ @apply before:animate-[asta-skeleton-shimmer_1.6s_cubic-bezier(.16,1,.3,1)_infinite] motion-reduce:before:hidden;
5457
5457
  }
5458
5458
  .asta-skeleton-circle {
5459
5459
  @apply aspect-square h-auto shrink-0 self-start rounded-full;
@@ -6167,7 +6167,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
6167
6167
  .asta-password-tick {
6168
6168
  @apply relative flex h-4 w-4 shrink-0 items-center justify-center rounded-full shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_20%,transparent)] transition-[background-color,box-shadow] duration-300;
6169
6169
  [data-on] > & {
6170
- @apply bg-brand text-white shadow-none;
6170
+ @apply bg-brand text-on-brand shadow-none;
6171
6171
  }
6172
6172
  & > svg {
6173
6173
  @apply h-2.5 w-2.5;
@@ -6205,7 +6205,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
6205
6205
  @apply contents;
6206
6206
  }
6207
6207
  .asta-tag-input-tag {
6208
- @apply flex h-8 items-center gap-1 rounded-md bg-paper-2 pl-3 pr-1 text-[13px] text-ink transition-colors duration-200 data-[armed]:bg-[#e5484d] data-[armed]:text-white;
6208
+ @apply flex h-8 items-center gap-1 rounded-md bg-paper-2 pl-3 pr-1 text-[13px] text-ink transition-colors duration-200 data-[armed]:bg-ink data-[armed]:text-paper;
6209
6209
  }
6210
6210
  .asta-tag-input-remove {
6211
6211
  @apply flex h-6 w-6 items-center justify-center rounded-[5px] text-mute outline-none transition-colors hover:bg-[color-mix(in_srgb,var(--ink)_8%,transparent)] hover:text-ink focus-visible:ring-2 focus-visible:ring-brand/50;
@@ -6213,7 +6213,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
6213
6213
  @apply h-3 w-3;
6214
6214
  }
6215
6215
  [data-armed] > & {
6216
- @apply text-white hover:bg-white/20;
6216
+ @apply text-paper hover:bg-paper/20;
6217
6217
  }
6218
6218
  }
6219
6219
  .asta-tag-input-field {
@@ -7284,7 +7284,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
7284
7284
  @apply h-3 w-3 scale-50 opacity-0 transition-[opacity,transform] duration-200 ease-[cubic-bezier(.16,1,.3,1)] motion-reduce:transition-none;
7285
7285
  }
7286
7286
  [aria-checked="true"] > & {
7287
- @apply bg-brand text-white shadow-none;
7287
+ @apply bg-brand text-on-brand shadow-none;
7288
7288
  & > svg {
7289
7289
  @apply scale-100 opacity-100;
7290
7290
  }
@@ -7586,16 +7586,16 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
7586
7586
  @apply text-[12px] leading-snug text-mute;
7587
7587
  }
7588
7588
  .asta-navbar-feature {
7589
- @apply relative flex min-h-[200px] flex-col justify-end overflow-hidden rounded-[10px] bg-brand p-4 text-white outline-none transition-opacity duration-300 hover:!opacity-100 focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper;
7589
+ @apply relative flex min-h-[200px] flex-col justify-end overflow-hidden rounded-[10px] bg-brand p-4 text-on-brand outline-none transition-opacity duration-300 hover:!opacity-100 focus-visible:ring-2 focus-visible:ring-brand/50 focus-visible:ring-offset-2 focus-visible:ring-offset-paper;
7590
7590
  .asta-navbar-menu:has(a:hover) & {
7591
7591
  @apply opacity-70;
7592
7592
  }
7593
7593
  /* Two soft circles: <span class="asta-navbar-orb" aria-hidden="true"></span> ×2 */
7594
7594
  & > .asta-navbar-orb {
7595
- @apply absolute -right-10 -top-10 h-40 w-40 rounded-full bg-white/15 transition-transform duration-700 ease-[cubic-bezier(.16,1,.3,1)];
7595
+ @apply absolute -right-10 -top-10 h-40 w-40 rounded-full bg-on-brand/15 transition-transform duration-700 ease-[cubic-bezier(.16,1,.3,1)];
7596
7596
  }
7597
7597
  & > .asta-navbar-orb + .asta-navbar-orb {
7598
- @apply -right-2 top-12 h-20 w-20 bg-white/10;
7598
+ @apply -right-2 top-12 h-20 w-20 bg-on-brand/10;
7599
7599
  }
7600
7600
  &:hover > .asta-navbar-orb {
7601
7601
  @apply scale-125;
@@ -7608,7 +7608,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
7608
7608
  @apply relative text-[15px] font-medium tracking-[-0.01em];
7609
7609
  }
7610
7610
  .asta-navbar-feature-desc {
7611
- @apply relative mt-1 text-[12.5px] leading-snug text-white/80;
7611
+ @apply relative mt-1 text-[12.5px] leading-snug text-on-brand/80;
7612
7612
  }
7613
7613
  .asta-navbar-feature-cta {
7614
7614
  @apply relative mt-3 flex items-center gap-1 text-[13px] font-medium;
@@ -7856,7 +7856,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
7856
7856
  @apply flex shrink-0 [&>*]:h-8 [&>*]:w-8 [&>*]:rounded-[8px] [&>*]:text-[13px];
7857
7857
  }
7858
7858
  .asta-ws-initial {
7859
- @apply grid shrink-0 place-items-center bg-brand font-semibold text-white;
7859
+ @apply grid shrink-0 place-items-center bg-brand font-semibold text-on-brand;
7860
7860
  }
7861
7861
  .asta-ws-name {
7862
7862
  @apply min-w-0 flex-1 truncate text-[13.5px] font-medium text-ink;
@@ -7984,7 +7984,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
7984
7984
  @apply pointer-events-none -translate-y-2 opacity-0;
7985
7985
  }
7986
7986
  [data-state="error"] > & {
7987
- @apply shadow-[inset_0_0_0_1px_#e5484d];
7987
+ @apply shadow-[inset_0_0_0_1.5px_var(--paper)];
7988
7988
  }
7989
7989
  }
7990
7990
  .asta-newsletter-input {
@@ -7993,7 +7993,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
7993
7993
  .asta-newsletter-done {
7994
7994
  @apply pointer-events-none absolute inset-0 flex translate-y-2 items-center gap-2 pl-1 text-[14px] text-paper opacity-0 transition-[opacity,transform] duration-500 ease-[cubic-bezier(.16,1,.3,1)];
7995
7995
  & > span {
7996
- @apply flex h-6 w-6 items-center justify-center rounded-full bg-brand text-white [&>svg]:h-3.5 [&>svg]:w-3.5;
7996
+ @apply flex h-6 w-6 items-center justify-center rounded-full bg-brand text-on-brand [&>svg]:h-3.5 [&>svg]:w-3.5;
7997
7997
  }
7998
7998
  & path {
7999
7999
  @apply [stroke-dashoffset:1] transition-[stroke-dashoffset] delay-200 duration-500;
@@ -8006,7 +8006,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8006
8006
  }
8007
8007
  }
8008
8008
  .asta-newsletter-msg {
8009
- @apply mt-2 h-4 text-[12px] text-[#ff8a8d];
8009
+ @apply mt-2 h-4 text-[12px] text-paper;
8010
8010
  }
8011
8011
  .asta-newsletter-error {
8012
8012
  @apply hidden;
@@ -8032,7 +8032,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8032
8032
  @apply relative flex min-h-10 w-full items-center gap-2 bg-ink px-3 text-paper sm:px-4;
8033
8033
  }
8034
8034
  .asta-announcement-brand {
8035
- @apply bg-brand text-white;
8035
+ @apply bg-brand text-on-brand;
8036
8036
  }
8037
8037
  .asta-announcement-subtle {
8038
8038
  @apply bg-paper-2 text-ink;
@@ -8056,9 +8056,9 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8056
8056
  }
8057
8057
  }
8058
8058
  .asta-announcement-badge {
8059
- @apply shrink-0 rounded-md bg-brand px-1.5 py-0.5 text-[11px] font-medium text-white;
8059
+ @apply shrink-0 rounded-md bg-brand px-1.5 py-0.5 text-[11px] font-medium text-on-brand;
8060
8060
  .asta-announcement-brand & {
8061
- @apply bg-white/15 text-white;
8061
+ @apply bg-on-brand/15 text-on-brand;
8062
8062
  }
8063
8063
  .asta-announcement-subtle & {
8064
8064
  @apply bg-[color-mix(in_srgb,var(--brand)_14%,transparent)] text-brand;
@@ -8067,7 +8067,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8067
8067
  .asta-announcement-link {
8068
8068
  @apply inline-flex shrink-0 items-center gap-1 rounded-sm font-medium text-paper underline-offset-4 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-brand/60;
8069
8069
  .asta-announcement-brand & {
8070
- @apply text-white;
8070
+ @apply text-on-brand;
8071
8071
  }
8072
8072
  .asta-announcement-subtle & {
8073
8073
  @apply text-brand;
@@ -8082,7 +8082,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8082
8082
  .asta-announcement-close {
8083
8083
  @apply grid h-7 w-7 shrink-0 place-items-center rounded-md text-paper/60 outline-none transition-[background-color,color,transform] duration-200 hover:bg-paper/10 hover:text-paper active:scale-90 focus-visible:ring-2 focus-visible:ring-brand/60 [&>svg]:h-3.5 [&>svg]:w-3.5;
8084
8084
  .asta-announcement-brand & {
8085
- @apply text-white/70 hover:bg-white/10 hover:text-white;
8085
+ @apply text-on-brand/70 hover:bg-on-brand/10 hover:text-on-brand;
8086
8086
  }
8087
8087
  .asta-announcement-subtle & {
8088
8088
  @apply text-mute hover:bg-paper hover:text-ink;
@@ -8129,7 +8129,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8129
8129
  @apply text-brand shadow-[inset_0_0_0_1.5px_var(--brand),0_0_0_4px_color-mix(in_srgb,var(--brand)_14%,transparent)];
8130
8130
  }
8131
8131
  [data-state="done"] & {
8132
- @apply bg-brand text-white shadow-none;
8132
+ @apply bg-brand text-on-brand shadow-none;
8133
8133
  & > span {
8134
8134
  @apply scale-50 opacity-0;
8135
8135
  }
@@ -8225,7 +8225,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
8225
8225
  @apply relative;
8226
8226
  }
8227
8227
  .asta-tool-dock-btn {
8228
- @apply relative grid h-9 w-9 cursor-pointer place-items-center rounded-[8px] text-ink-2 outline-none transition-colors duration-150 hover:bg-[color-mix(in_srgb,var(--ink)_7%,transparent)] hover:text-ink focus-visible:shadow-[0_0_0_2px_var(--paper),0_0_0_4px_var(--brand)] disabled:cursor-not-allowed disabled:opacity-35 aria-pressed:text-white aria-pressed:hover:bg-transparent aria-pressed:hover:text-white;
8228
+ @apply relative grid h-9 w-9 cursor-pointer place-items-center rounded-[8px] text-ink-2 outline-none transition-colors duration-150 hover:bg-[color-mix(in_srgb,var(--ink)_7%,transparent)] hover:text-ink focus-visible:shadow-[0_0_0_2px_var(--paper),0_0_0_4px_var(--brand)] disabled:cursor-not-allowed disabled:opacity-35 aria-pressed:text-on-brand aria-pressed:hover:bg-transparent aria-pressed:hover:text-on-brand;
8229
8229
  & > span {
8230
8230
  @apply h-[18px] w-[18px] [&>svg]:h-full [&>svg]:w-full;
8231
8231
  }
@@ -16,7 +16,24 @@
16
16
 
17
17
  const seen = new WeakSet();
18
18
  const onScreen = new Set();
19
- const io = "IntersectionObserver" in window ? new IntersectionObserver((es) => es.forEach((e) => onScreen[e.isIntersecting ? "add" : "delete"](e.target))) : null;
19
+ // The timer only runs while at least one timer is on screen and the tab is visible. New timers are picked up
20
+ // at boot and after every htmx swap, so a tick paints the visible ones and never queries the document.
21
+ let timer = 0;
22
+ const stop = () => {
23
+ clearInterval(timer);
24
+ timer = 0;
25
+ };
26
+ const start = () => {
27
+ if (!timer && onScreen.size && !document.hidden) timer = setInterval(tick, 500);
28
+ };
29
+ const io =
30
+ "IntersectionObserver" in window
31
+ ? new IntersectionObserver((es) => {
32
+ es.forEach((e) => onScreen[e.isIntersecting ? "add" : "delete"](e.target));
33
+ if (onScreen.size) start();
34
+ else stop();
35
+ })
36
+ : null;
20
37
  const fmt = (ms, tenths) => {
21
38
  const s = Math.max(0, ms) / 1000;
22
39
  if (tenths && s < 10) return `${s.toFixed(1)}s`;
@@ -30,6 +47,15 @@
30
47
  const next = fmt(Date.now() - from, !!node.closest(".asta-agent-plan"));
31
48
  if (node.textContent !== next) node.textContent = next;
32
49
  }
50
+ function tick() {
51
+ onScreen.forEach((n) => {
52
+ if (n.isConnected && n.hasAttribute("data-asta-elapsed")) return paint(n);
53
+ onScreen.delete(n);
54
+ seen.delete(n);
55
+ io?.unobserve(n);
56
+ });
57
+ if (!onScreen.size) stop();
58
+ }
33
59
  function scan() {
34
60
  document.querySelectorAll("[data-asta-elapsed]").forEach((n) => {
35
61
  if (seen.has(n)) return;
@@ -38,20 +64,15 @@
38
64
  else onScreen.add(n);
39
65
  paint(n);
40
66
  });
41
- onScreen.forEach((n) => {
42
- if (n.isConnected && n.hasAttribute("data-asta-elapsed")) return paint(n);
43
- onScreen.delete(n);
44
- seen.delete(n);
45
- io?.unobserve(n);
46
- });
67
+ tick();
68
+ start();
47
69
  }
48
- let timer = 0;
49
70
  const run = () => {
50
- clearInterval(timer);
51
- if (!document.hidden) timer = setInterval(scan, 500);
71
+ stop();
52
72
  scan();
53
73
  };
54
74
  document.addEventListener("visibilitychange", run);
75
+ document.addEventListener("htmx:afterSettle", scan);
55
76
 
56
77
  /* ---------- Tool approval ---------- */
57
78
 
@@ -48,7 +48,6 @@
48
48
  });
49
49
  }
50
50
  document.addEventListener("visibilitychange", () => watched.forEach((r) => r.toggleAttribute("data-paused", document.hidden)));
51
- window.addEventListener("pagehide", () => io?.disconnect(), { once: true });
52
51
 
53
52
  /* ---------- Model picker ---------- */
54
53