@mountaya/studio-react 0.0.0-stage → 0.1.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 (992) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/LICENCE.fr.txt +280 -0
  3. package/LICENSE.txt +262 -0
  4. package/README.md +1087 -2
  5. package/THIRD-PARTY-NOTICES.txt +149 -0
  6. package/dist/AgentMarkdown-RNLATZYN.cjs +213 -0
  7. package/dist/AgentMarkdown-RNLATZYN.cjs.map +1 -0
  8. package/dist/AgentMarkdown-TMN6E2XC.js +206 -0
  9. package/dist/AgentMarkdown-TMN6E2XC.js.map +1 -0
  10. package/dist/ContextMenuPopup-EOYN42YZ.js +468 -0
  11. package/dist/ContextMenuPopup-EOYN42YZ.js.map +1 -0
  12. package/dist/ContextMenuPopup-VQLAYYYZ.cjs +470 -0
  13. package/dist/ContextMenuPopup-VQLAYYYZ.cjs.map +1 -0
  14. package/dist/CopilotPanel-CCLEYZUN.js +29 -0
  15. package/dist/CopilotPanel-CCLEYZUN.js.map +1 -0
  16. package/dist/CopilotPanel-LYPMTDKX.cjs +38 -0
  17. package/dist/CopilotPanel-LYPMTDKX.cjs.map +1 -0
  18. package/dist/DateTimePickerField-FZRKJ2SU.js +53 -0
  19. package/dist/DateTimePickerField-FZRKJ2SU.js.map +1 -0
  20. package/dist/DateTimePickerField-NB456C6F.cjs +55 -0
  21. package/dist/DateTimePickerField-NB456C6F.cjs.map +1 -0
  22. package/dist/DirectionsModal-4Y346QFU.cjs +291 -0
  23. package/dist/DirectionsModal-4Y346QFU.cjs.map +1 -0
  24. package/dist/DirectionsModal-DRPO2654.js +289 -0
  25. package/dist/DirectionsModal-DRPO2654.js.map +1 -0
  26. package/dist/DuplicateItineraryModal-2QGWI7E7.js +321 -0
  27. package/dist/DuplicateItineraryModal-2QGWI7E7.js.map +1 -0
  28. package/dist/DuplicateItineraryModal-WFGMU6JL.cjs +323 -0
  29. package/dist/DuplicateItineraryModal-WFGMU6JL.cjs.map +1 -0
  30. package/dist/EditCollectionModal-4QYP53SX.js +90 -0
  31. package/dist/EditCollectionModal-4QYP53SX.js.map +1 -0
  32. package/dist/EditCollectionModal-T2TMAO53.cjs +92 -0
  33. package/dist/EditCollectionModal-T2TMAO53.cjs.map +1 -0
  34. package/dist/EmbedSnippetCode-NMFCQ7TF.cjs +62 -0
  35. package/dist/EmbedSnippetCode-NMFCQ7TF.cjs.map +1 -0
  36. package/dist/EmbedSnippetCode-TGBSWDMD.js +60 -0
  37. package/dist/EmbedSnippetCode-TGBSWDMD.js.map +1 -0
  38. package/dist/EmbedTablePreview-3RRHM63Q.js +72 -0
  39. package/dist/EmbedTablePreview-3RRHM63Q.js.map +1 -0
  40. package/dist/EmbedTablePreview-Z3W62MRV.cjs +74 -0
  41. package/dist/EmbedTablePreview-Z3W62MRV.cjs.map +1 -0
  42. package/dist/ExportModal-5NUZZPXN.cjs +267 -0
  43. package/dist/ExportModal-5NUZZPXN.cjs.map +1 -0
  44. package/dist/ExportModal-H7OYP6CK.js +265 -0
  45. package/dist/ExportModal-H7OYP6CK.js.map +1 -0
  46. package/dist/FileDropzone-GKPMAZF5.cjs +41 -0
  47. package/dist/FileDropzone-GKPMAZF5.cjs.map +1 -0
  48. package/dist/FileDropzone-GRXY4FXR.js +39 -0
  49. package/dist/FileDropzone-GRXY4FXR.js.map +1 -0
  50. package/dist/LocationPermissionModal-AFHI5J4S.cjs +92 -0
  51. package/dist/LocationPermissionModal-AFHI5J4S.cjs.map +1 -0
  52. package/dist/LocationPermissionModal-MURJ5DDB.js +90 -0
  53. package/dist/LocationPermissionModal-MURJ5DDB.js.map +1 -0
  54. package/dist/ManageCollectionsModal-E3IUHUTO.cjs +402 -0
  55. package/dist/ManageCollectionsModal-E3IUHUTO.cjs.map +1 -0
  56. package/dist/ManageCollectionsModal-FIHSZXSR.js +400 -0
  57. package/dist/ManageCollectionsModal-FIHSZXSR.js.map +1 -0
  58. package/dist/NewCollectionModal-7TBWVA3G.js +75 -0
  59. package/dist/NewCollectionModal-7TBWVA3G.js.map +1 -0
  60. package/dist/NewCollectionModal-QFQYCKCG.cjs +77 -0
  61. package/dist/NewCollectionModal-QFQYCKCG.cjs.map +1 -0
  62. package/dist/RoadAccessModal-DNUJV5PC.js +57 -0
  63. package/dist/RoadAccessModal-DNUJV5PC.js.map +1 -0
  64. package/dist/RoadAccessModal-WLLL2ASZ.cjs +59 -0
  65. package/dist/RoadAccessModal-WLLL2ASZ.cjs.map +1 -0
  66. package/dist/SegmentColorPicker-7Y4JEPFC.cjs +81 -0
  67. package/dist/SegmentColorPicker-7Y4JEPFC.cjs.map +1 -0
  68. package/dist/SegmentColorPicker-UNLPITUA.js +79 -0
  69. package/dist/SegmentColorPicker-UNLPITUA.js.map +1 -0
  70. package/dist/SegmentGroupModal-F54FZUR2.cjs +32 -0
  71. package/dist/SegmentGroupModal-F54FZUR2.cjs.map +1 -0
  72. package/dist/SegmentGroupModal-KBU7OPNJ.js +23 -0
  73. package/dist/SegmentGroupModal-KBU7OPNJ.js.map +1 -0
  74. package/dist/ShareCollectionModal-TWYE6JJ4.cjs +82 -0
  75. package/dist/ShareCollectionModal-TWYE6JJ4.cjs.map +1 -0
  76. package/dist/ShareCollectionModal-VXSRHX4S.js +80 -0
  77. package/dist/ShareCollectionModal-VXSRHX4S.js.map +1 -0
  78. package/dist/ShareModal-HLYNE7OL.js +115 -0
  79. package/dist/ShareModal-HLYNE7OL.js.map +1 -0
  80. package/dist/ShareModal-WISND27S.cjs +117 -0
  81. package/dist/ShareModal-WISND27S.cjs.map +1 -0
  82. package/dist/VideoExportWizard-BSDWA3B5.js +44 -0
  83. package/dist/VideoExportWizard-BSDWA3B5.js.map +1 -0
  84. package/dist/VideoExportWizard-UOHR4MNS.cjs +53 -0
  85. package/dist/VideoExportWizard-UOHR4MNS.cjs.map +1 -0
  86. package/dist/WaypointDetailsModal-LK5LBK6S.js +270 -0
  87. package/dist/WaypointDetailsModal-LK5LBK6S.js.map +1 -0
  88. package/dist/WaypointDetailsModal-MEMOLLUY.cjs +272 -0
  89. package/dist/WaypointDetailsModal-MEMOLLUY.cjs.map +1 -0
  90. package/dist/WaypointWorkbench-DCCLBURG.cjs +1204 -0
  91. package/dist/WaypointWorkbench-DCCLBURG.cjs.map +1 -0
  92. package/dist/WaypointWorkbench-NRCLGU23.js +1202 -0
  93. package/dist/WaypointWorkbench-NRCLGU23.js.map +1 -0
  94. package/dist/chunk-22BNE3YV.js +13 -0
  95. package/dist/chunk-22BNE3YV.js.map +1 -0
  96. package/dist/chunk-24RNBTO2.cjs +154 -0
  97. package/dist/chunk-24RNBTO2.cjs.map +1 -0
  98. package/dist/chunk-2DDL2LIJ.cjs +65 -0
  99. package/dist/chunk-2DDL2LIJ.cjs.map +1 -0
  100. package/dist/chunk-2GAMKPS2.cjs +16 -0
  101. package/dist/chunk-2GAMKPS2.cjs.map +1 -0
  102. package/dist/chunk-2K4HCCZJ.cjs +51 -0
  103. package/dist/chunk-2K4HCCZJ.cjs.map +1 -0
  104. package/dist/chunk-2MHWH3TS.cjs +119 -0
  105. package/dist/chunk-2MHWH3TS.cjs.map +1 -0
  106. package/dist/chunk-2MQBPZNR.cjs +12 -0
  107. package/dist/chunk-2MQBPZNR.cjs.map +1 -0
  108. package/dist/chunk-2QSPCXLM.js +84 -0
  109. package/dist/chunk-2QSPCXLM.js.map +1 -0
  110. package/dist/chunk-32WRG44G.js +66 -0
  111. package/dist/chunk-32WRG44G.js.map +1 -0
  112. package/dist/chunk-32XMYLEB.js +9 -0
  113. package/dist/chunk-32XMYLEB.js.map +1 -0
  114. package/dist/chunk-3BEHHSVE.cjs +790 -0
  115. package/dist/chunk-3BEHHSVE.cjs.map +1 -0
  116. package/dist/chunk-3HF2XZKQ.js +8 -0
  117. package/dist/chunk-3HF2XZKQ.js.map +1 -0
  118. package/dist/chunk-3K2NX5FH.js +51 -0
  119. package/dist/chunk-3K2NX5FH.js.map +1 -0
  120. package/dist/chunk-3Q23QKNI.cjs +26 -0
  121. package/dist/chunk-3Q23QKNI.cjs.map +1 -0
  122. package/dist/chunk-3TQV2M4C.cjs +16 -0
  123. package/dist/chunk-3TQV2M4C.cjs.map +1 -0
  124. package/dist/chunk-3XDKDTE6.js +16 -0
  125. package/dist/chunk-3XDKDTE6.js.map +1 -0
  126. package/dist/chunk-46EARJWC.js +288 -0
  127. package/dist/chunk-46EARJWC.js.map +1 -0
  128. package/dist/chunk-4DQOJIUV.js +96 -0
  129. package/dist/chunk-4DQOJIUV.js.map +1 -0
  130. package/dist/chunk-4T52NAVT.js +10 -0
  131. package/dist/chunk-4T52NAVT.js.map +1 -0
  132. package/dist/chunk-4TPRVQGY.js +12 -0
  133. package/dist/chunk-4TPRVQGY.js.map +1 -0
  134. package/dist/chunk-4TX5E63A.cjs +12 -0
  135. package/dist/chunk-4TX5E63A.cjs.map +1 -0
  136. package/dist/chunk-4VKJF24B.js +22 -0
  137. package/dist/chunk-4VKJF24B.js.map +1 -0
  138. package/dist/chunk-4Z734K3L.js +15 -0
  139. package/dist/chunk-4Z734K3L.js.map +1 -0
  140. package/dist/chunk-4ZRSEOZM.js +629 -0
  141. package/dist/chunk-4ZRSEOZM.js.map +1 -0
  142. package/dist/chunk-52T3VZR5.js +55 -0
  143. package/dist/chunk-52T3VZR5.js.map +1 -0
  144. package/dist/chunk-56DP2X7U.js +15 -0
  145. package/dist/chunk-56DP2X7U.js.map +1 -0
  146. package/dist/chunk-5AHT62LO.js +24 -0
  147. package/dist/chunk-5AHT62LO.js.map +1 -0
  148. package/dist/chunk-5BR4CTVV.cjs +17 -0
  149. package/dist/chunk-5BR4CTVV.cjs.map +1 -0
  150. package/dist/chunk-5CTZOFDV.cjs +17 -0
  151. package/dist/chunk-5CTZOFDV.cjs.map +1 -0
  152. package/dist/chunk-5F55MFIX.cjs +45 -0
  153. package/dist/chunk-5F55MFIX.cjs.map +1 -0
  154. package/dist/chunk-5FMQJ4A4.cjs +362 -0
  155. package/dist/chunk-5FMQJ4A4.cjs.map +1 -0
  156. package/dist/chunk-5PMEAMHS.js +82 -0
  157. package/dist/chunk-5PMEAMHS.js.map +1 -0
  158. package/dist/chunk-676DNRSN.js +85 -0
  159. package/dist/chunk-676DNRSN.js.map +1 -0
  160. package/dist/chunk-6H2F7JKL.js +179 -0
  161. package/dist/chunk-6H2F7JKL.js.map +1 -0
  162. package/dist/chunk-6HMRMON7.js +10 -0
  163. package/dist/chunk-6HMRMON7.js.map +1 -0
  164. package/dist/chunk-6NKPZ3LT.cjs +14 -0
  165. package/dist/chunk-6NKPZ3LT.cjs.map +1 -0
  166. package/dist/chunk-6TG2HZDG.js +75 -0
  167. package/dist/chunk-6TG2HZDG.js.map +1 -0
  168. package/dist/chunk-6WU7XEQA.cjs +103 -0
  169. package/dist/chunk-6WU7XEQA.cjs.map +1 -0
  170. package/dist/chunk-6YD325QI.cjs +90 -0
  171. package/dist/chunk-6YD325QI.cjs.map +1 -0
  172. package/dist/chunk-7B6TUEL5.js +20 -0
  173. package/dist/chunk-7B6TUEL5.js.map +1 -0
  174. package/dist/chunk-7KS5F27H.js +33 -0
  175. package/dist/chunk-7KS5F27H.js.map +1 -0
  176. package/dist/chunk-A2N6553V.cjs +295 -0
  177. package/dist/chunk-A2N6553V.cjs.map +1 -0
  178. package/dist/chunk-A66FJAVG.js +44 -0
  179. package/dist/chunk-A66FJAVG.js.map +1 -0
  180. package/dist/chunk-AF43JU4W.js +27 -0
  181. package/dist/chunk-AF43JU4W.js.map +1 -0
  182. package/dist/chunk-AHGHAWYR.js +99 -0
  183. package/dist/chunk-AHGHAWYR.js.map +1 -0
  184. package/dist/chunk-AKN5KIZT.js +1969 -0
  185. package/dist/chunk-AKN5KIZT.js.map +1 -0
  186. package/dist/chunk-ANTDR5MJ.cjs +12 -0
  187. package/dist/chunk-ANTDR5MJ.cjs.map +1 -0
  188. package/dist/chunk-AQ5JIIAE.js +26 -0
  189. package/dist/chunk-AQ5JIIAE.js.map +1 -0
  190. package/dist/chunk-ARHO5MLJ.js +10 -0
  191. package/dist/chunk-ARHO5MLJ.js.map +1 -0
  192. package/dist/chunk-BAYGKSWY.cjs +26 -0
  193. package/dist/chunk-BAYGKSWY.cjs.map +1 -0
  194. package/dist/chunk-BEJ5I724.js +8 -0
  195. package/dist/chunk-BEJ5I724.js.map +1 -0
  196. package/dist/chunk-BFNXXLVV.cjs +34 -0
  197. package/dist/chunk-BFNXXLVV.cjs.map +1 -0
  198. package/dist/chunk-BFQJDFGB.js +57 -0
  199. package/dist/chunk-BFQJDFGB.js.map +1 -0
  200. package/dist/chunk-CHEQJ6N7.cjs +2214 -0
  201. package/dist/chunk-CHEQJ6N7.cjs.map +1 -0
  202. package/dist/chunk-CJOJWZM7.js +92 -0
  203. package/dist/chunk-CJOJWZM7.js.map +1 -0
  204. package/dist/chunk-CJRSFC45.cjs +578 -0
  205. package/dist/chunk-CJRSFC45.cjs.map +1 -0
  206. package/dist/chunk-CWQ4WHPI.cjs +46 -0
  207. package/dist/chunk-CWQ4WHPI.cjs.map +1 -0
  208. package/dist/chunk-D3INXUFT.js +360 -0
  209. package/dist/chunk-D3INXUFT.js.map +1 -0
  210. package/dist/chunk-D6CDAYZ6.cjs +18 -0
  211. package/dist/chunk-D6CDAYZ6.cjs.map +1 -0
  212. package/dist/chunk-DDPXRXRD.cjs +23 -0
  213. package/dist/chunk-DDPXRXRD.cjs.map +1 -0
  214. package/dist/chunk-DUUPWSOZ.cjs +14 -0
  215. package/dist/chunk-DUUPWSOZ.cjs.map +1 -0
  216. package/dist/chunk-DVWYOHOB.cjs +43 -0
  217. package/dist/chunk-DVWYOHOB.cjs.map +1 -0
  218. package/dist/chunk-DZPHWBMC.cjs +11 -0
  219. package/dist/chunk-DZPHWBMC.cjs.map +1 -0
  220. package/dist/chunk-E26FROI3.js +68 -0
  221. package/dist/chunk-E26FROI3.js.map +1 -0
  222. package/dist/chunk-E7ZTDAQW.cjs +37 -0
  223. package/dist/chunk-E7ZTDAQW.cjs.map +1 -0
  224. package/dist/chunk-ECI4EKIV.cjs +94 -0
  225. package/dist/chunk-ECI4EKIV.cjs.map +1 -0
  226. package/dist/chunk-EN5RWYHP.cjs +28 -0
  227. package/dist/chunk-EN5RWYHP.cjs.map +1 -0
  228. package/dist/chunk-ET3UASEF.cjs +91 -0
  229. package/dist/chunk-ET3UASEF.cjs.map +1 -0
  230. package/dist/chunk-EW5SY246.cjs +97 -0
  231. package/dist/chunk-EW5SY246.cjs.map +1 -0
  232. package/dist/chunk-EWWHVV7R.cjs +18 -0
  233. package/dist/chunk-EWWHVV7R.cjs.map +1 -0
  234. package/dist/chunk-F2LZZC6X.js +90 -0
  235. package/dist/chunk-F2LZZC6X.js.map +1 -0
  236. package/dist/chunk-F6VFOI4U.cjs +12 -0
  237. package/dist/chunk-F6VFOI4U.cjs.map +1 -0
  238. package/dist/chunk-FGX3TEU4.cjs +12 -0
  239. package/dist/chunk-FGX3TEU4.cjs.map +1 -0
  240. package/dist/chunk-FK4F24KE.js +10 -0
  241. package/dist/chunk-FK4F24KE.js.map +1 -0
  242. package/dist/chunk-FLIGKB6K.js +313 -0
  243. package/dist/chunk-FLIGKB6K.js.map +1 -0
  244. package/dist/chunk-G2NDWNFB.cjs +185 -0
  245. package/dist/chunk-G2NDWNFB.cjs.map +1 -0
  246. package/dist/chunk-G2XORRLH.js +15 -0
  247. package/dist/chunk-G2XORRLH.js.map +1 -0
  248. package/dist/chunk-GIZN7NX5.cjs +25 -0
  249. package/dist/chunk-GIZN7NX5.cjs.map +1 -0
  250. package/dist/chunk-GM2BQ24D.js +47 -0
  251. package/dist/chunk-GM2BQ24D.js.map +1 -0
  252. package/dist/chunk-GMQJZ5N7.cjs +50 -0
  253. package/dist/chunk-GMQJZ5N7.cjs.map +1 -0
  254. package/dist/chunk-GT7RJOAA.cjs +315 -0
  255. package/dist/chunk-GT7RJOAA.cjs.map +1 -0
  256. package/dist/chunk-GWGUMPOL.js +9 -0
  257. package/dist/chunk-GWGUMPOL.js.map +1 -0
  258. package/dist/chunk-GWVKSSE3.cjs +154 -0
  259. package/dist/chunk-GWVKSSE3.cjs.map +1 -0
  260. package/dist/chunk-GY7UMPHT.cjs +99 -0
  261. package/dist/chunk-GY7UMPHT.cjs.map +1 -0
  262. package/dist/chunk-HMVBS5DU.js +150 -0
  263. package/dist/chunk-HMVBS5DU.js.map +1 -0
  264. package/dist/chunk-HXHA2C7C.js +169 -0
  265. package/dist/chunk-HXHA2C7C.js.map +1 -0
  266. package/dist/chunk-IHMOFX2A.js +208 -0
  267. package/dist/chunk-IHMOFX2A.js.map +1 -0
  268. package/dist/chunk-II6C3LU2.cjs +49 -0
  269. package/dist/chunk-II6C3LU2.cjs.map +1 -0
  270. package/dist/chunk-IOOAFCSR.cjs +58 -0
  271. package/dist/chunk-IOOAFCSR.cjs.map +1 -0
  272. package/dist/chunk-IQZSIOMM.js +10 -0
  273. package/dist/chunk-IQZSIOMM.js.map +1 -0
  274. package/dist/chunk-J2H3WIUM.cjs +12 -0
  275. package/dist/chunk-J2H3WIUM.cjs.map +1 -0
  276. package/dist/chunk-J62OBSUE.cjs +54 -0
  277. package/dist/chunk-J62OBSUE.cjs.map +1 -0
  278. package/dist/chunk-JFJVSJUX.cjs +16 -0
  279. package/dist/chunk-JFJVSJUX.cjs.map +1 -0
  280. package/dist/chunk-JI2M77Y7.cjs +68 -0
  281. package/dist/chunk-JI2M77Y7.cjs.map +1 -0
  282. package/dist/chunk-JLSOLL3C.js +31 -0
  283. package/dist/chunk-JLSOLL3C.js.map +1 -0
  284. package/dist/chunk-JRME3LCP.cjs +41 -0
  285. package/dist/chunk-JRME3LCP.cjs.map +1 -0
  286. package/dist/chunk-JUD3CWTI.cjs +2005 -0
  287. package/dist/chunk-JUD3CWTI.cjs.map +1 -0
  288. package/dist/chunk-JVFHF3LE.cjs +11 -0
  289. package/dist/chunk-JVFHF3LE.cjs.map +1 -0
  290. package/dist/chunk-JVS2WNKQ.js +26 -0
  291. package/dist/chunk-JVS2WNKQ.js.map +1 -0
  292. package/dist/chunk-JXAFIYLV.js +94 -0
  293. package/dist/chunk-JXAFIYLV.js.map +1 -0
  294. package/dist/chunk-K2E744ST.cjs +18 -0
  295. package/dist/chunk-K2E744ST.cjs.map +1 -0
  296. package/dist/chunk-K2ZEMBJ7.js +56 -0
  297. package/dist/chunk-K2ZEMBJ7.js.map +1 -0
  298. package/dist/chunk-KCXNMLKB.js +22 -0
  299. package/dist/chunk-KCXNMLKB.js.map +1 -0
  300. package/dist/chunk-KMMDPXY4.js +35 -0
  301. package/dist/chunk-KMMDPXY4.js.map +1 -0
  302. package/dist/chunk-KMSGFBAJ.cjs +78 -0
  303. package/dist/chunk-KMSGFBAJ.cjs.map +1 -0
  304. package/dist/chunk-KPD7K4XQ.cjs +11 -0
  305. package/dist/chunk-KPD7K4XQ.cjs.map +1 -0
  306. package/dist/chunk-KUD3B3BA.js +12 -0
  307. package/dist/chunk-KUD3B3BA.js.map +1 -0
  308. package/dist/chunk-L62LSMJ5.js +9 -0
  309. package/dist/chunk-L62LSMJ5.js.map +1 -0
  310. package/dist/chunk-LB57H6LF.cjs +261 -0
  311. package/dist/chunk-LB57H6LF.cjs.map +1 -0
  312. package/dist/chunk-LCPKNSC4.cjs +48 -0
  313. package/dist/chunk-LCPKNSC4.cjs.map +1 -0
  314. package/dist/chunk-LE3W2CSF.cjs +84 -0
  315. package/dist/chunk-LE3W2CSF.cjs.map +1 -0
  316. package/dist/chunk-LG736CNC.js +13 -0
  317. package/dist/chunk-LG736CNC.js.map +1 -0
  318. package/dist/chunk-LGNTAZ3L.cjs +33 -0
  319. package/dist/chunk-LGNTAZ3L.cjs.map +1 -0
  320. package/dist/chunk-LHXINV6N.cjs +47 -0
  321. package/dist/chunk-LHXINV6N.cjs.map +1 -0
  322. package/dist/chunk-LLZUTIQB.cjs +24 -0
  323. package/dist/chunk-LLZUTIQB.cjs.map +1 -0
  324. package/dist/chunk-LPGXRU7R.cjs +12 -0
  325. package/dist/chunk-LPGXRU7R.cjs.map +1 -0
  326. package/dist/chunk-MA2BBWF5.cjs +96 -0
  327. package/dist/chunk-MA2BBWF5.cjs.map +1 -0
  328. package/dist/chunk-MLGORMWF.js +23 -0
  329. package/dist/chunk-MLGORMWF.js.map +1 -0
  330. package/dist/chunk-MO7XCKLA.js +62 -0
  331. package/dist/chunk-MO7XCKLA.js.map +1 -0
  332. package/dist/chunk-N37UE6RQ.cjs +1797 -0
  333. package/dist/chunk-N37UE6RQ.cjs.map +1 -0
  334. package/dist/chunk-N6NWKUOR.cjs +60 -0
  335. package/dist/chunk-N6NWKUOR.cjs.map +1 -0
  336. package/dist/chunk-NI5CAMFC.js +568 -0
  337. package/dist/chunk-NI5CAMFC.js.map +1 -0
  338. package/dist/chunk-NNLCZGZK.js +21 -0
  339. package/dist/chunk-NNLCZGZK.js.map +1 -0
  340. package/dist/chunk-NWHFUVYX.js +97 -0
  341. package/dist/chunk-NWHFUVYX.js.map +1 -0
  342. package/dist/chunk-OMDB6ZB2.cjs +176 -0
  343. package/dist/chunk-OMDB6ZB2.cjs.map +1 -0
  344. package/dist/chunk-P5W4TRJO.cjs +33 -0
  345. package/dist/chunk-P5W4TRJO.cjs.map +1 -0
  346. package/dist/chunk-PADS6TDO.js +89 -0
  347. package/dist/chunk-PADS6TDO.js.map +1 -0
  348. package/dist/chunk-PFLNOHBT.js +92 -0
  349. package/dist/chunk-PFLNOHBT.js.map +1 -0
  350. package/dist/chunk-PTLYNDZS.cjs +13 -0
  351. package/dist/chunk-PTLYNDZS.cjs.map +1 -0
  352. package/dist/chunk-QC3X4DAW.cjs +71 -0
  353. package/dist/chunk-QC3X4DAW.cjs.map +1 -0
  354. package/dist/chunk-QPTICYGD.cjs +272 -0
  355. package/dist/chunk-QPTICYGD.cjs.map +1 -0
  356. package/dist/chunk-QZ7W2E4U.cjs +319 -0
  357. package/dist/chunk-QZ7W2E4U.cjs.map +1 -0
  358. package/dist/chunk-RJJPUPOY.cjs +97 -0
  359. package/dist/chunk-RJJPUPOY.cjs.map +1 -0
  360. package/dist/chunk-RRSMCCFS.js +43 -0
  361. package/dist/chunk-RRSMCCFS.js.map +1 -0
  362. package/dist/chunk-S6VCR6F5.js +91 -0
  363. package/dist/chunk-S6VCR6F5.js.map +1 -0
  364. package/dist/chunk-S7Y2GMYJ.cjs +89 -0
  365. package/dist/chunk-S7Y2GMYJ.cjs.map +1 -0
  366. package/dist/chunk-SIMEDLX3.cjs +645 -0
  367. package/dist/chunk-SIMEDLX3.cjs.map +1 -0
  368. package/dist/chunk-SQYF7HKF.cjs +59 -0
  369. package/dist/chunk-SQYF7HKF.cjs.map +1 -0
  370. package/dist/chunk-ST7BNVC2.cjs +13 -0
  371. package/dist/chunk-ST7BNVC2.cjs.map +1 -0
  372. package/dist/chunk-SZVRMMLS.js +16 -0
  373. package/dist/chunk-SZVRMMLS.js.map +1 -0
  374. package/dist/chunk-T27LICRD.js +2212 -0
  375. package/dist/chunk-T27LICRD.js.map +1 -0
  376. package/dist/chunk-TAU5HGJ3.cjs +11 -0
  377. package/dist/chunk-TAU5HGJ3.cjs.map +1 -0
  378. package/dist/chunk-TOM7TV5E.js +25 -0
  379. package/dist/chunk-TOM7TV5E.js.map +1 -0
  380. package/dist/chunk-TSRUDRT3.js +59 -0
  381. package/dist/chunk-TSRUDRT3.js.map +1 -0
  382. package/dist/chunk-U4FX33MW.js +257 -0
  383. package/dist/chunk-U4FX33MW.js.map +1 -0
  384. package/dist/chunk-UBOPWQWC.cjs +28 -0
  385. package/dist/chunk-UBOPWQWC.cjs.map +1 -0
  386. package/dist/chunk-UFE26GNF.js +42 -0
  387. package/dist/chunk-UFE26GNF.js.map +1 -0
  388. package/dist/chunk-UMQQVTEO.js +257 -0
  389. package/dist/chunk-UMQQVTEO.js.map +1 -0
  390. package/dist/chunk-UWY3SFAS.js +10 -0
  391. package/dist/chunk-UWY3SFAS.js.map +1 -0
  392. package/dist/chunk-V6EIIZPJ.js +57 -0
  393. package/dist/chunk-V6EIIZPJ.js.map +1 -0
  394. package/dist/chunk-V6G6W5CF.cjs +61 -0
  395. package/dist/chunk-V6G6W5CF.cjs.map +1 -0
  396. package/dist/chunk-VC4ZBWOK.js +152 -0
  397. package/dist/chunk-VC4ZBWOK.js.map +1 -0
  398. package/dist/chunk-VJRF6ILX.js +35 -0
  399. package/dist/chunk-VJRF6ILX.js.map +1 -0
  400. package/dist/chunk-VNSLCFO4.js +787 -0
  401. package/dist/chunk-VNSLCFO4.js.map +1 -0
  402. package/dist/chunk-W7GAP7ST.js +21 -0
  403. package/dist/chunk-W7GAP7ST.js.map +1 -0
  404. package/dist/chunk-WFUASJHS.js +64 -0
  405. package/dist/chunk-WFUASJHS.js.map +1 -0
  406. package/dist/chunk-WIKSIT3M.js +46 -0
  407. package/dist/chunk-WIKSIT3M.js.map +1 -0
  408. package/dist/chunk-WKLZLFLY.cjs +32 -0
  409. package/dist/chunk-WKLZLFLY.cjs.map +1 -0
  410. package/dist/chunk-WNB5HYON.cjs +10 -0
  411. package/dist/chunk-WNB5HYON.cjs.map +1 -0
  412. package/dist/chunk-WO5P2XBP.js +86 -0
  413. package/dist/chunk-WO5P2XBP.js.map +1 -0
  414. package/dist/chunk-WPYC4NGZ.cjs +46 -0
  415. package/dist/chunk-WPYC4NGZ.cjs.map +1 -0
  416. package/dist/chunk-WQRYZY67.cjs +89 -0
  417. package/dist/chunk-WQRYZY67.cjs.map +1 -0
  418. package/dist/chunk-WVCYVMJU.js +11 -0
  419. package/dist/chunk-WVCYVMJU.js.map +1 -0
  420. package/dist/chunk-WX25G2S3.js +116 -0
  421. package/dist/chunk-WX25G2S3.js.map +1 -0
  422. package/dist/chunk-X4FE7RRQ.js +23 -0
  423. package/dist/chunk-X4FE7RRQ.js.map +1 -0
  424. package/dist/chunk-X6EIJNOQ.cjs +67 -0
  425. package/dist/chunk-X6EIJNOQ.cjs.map +1 -0
  426. package/dist/chunk-XUBATJH6.js +1769 -0
  427. package/dist/chunk-XUBATJH6.js.map +1 -0
  428. package/dist/chunk-XUMREYMG.js +293 -0
  429. package/dist/chunk-XUMREYMG.js.map +1 -0
  430. package/dist/chunk-XYAJ2FS2.js +31 -0
  431. package/dist/chunk-XYAJ2FS2.js.map +1 -0
  432. package/dist/chunk-YKES5P4H.cjs +58 -0
  433. package/dist/chunk-YKES5P4H.cjs.map +1 -0
  434. package/dist/chunk-YYAQ75AV.cjs +216 -0
  435. package/dist/chunk-YYAQ75AV.cjs.map +1 -0
  436. package/dist/chunk-YZ3NJKVV.js +42 -0
  437. package/dist/chunk-YZ3NJKVV.js.map +1 -0
  438. package/dist/chunk-Z5ECTUMN.cjs +104 -0
  439. package/dist/chunk-Z5ECTUMN.cjs.map +1 -0
  440. package/dist/chunk-ZAKVHYDL.cjs +28 -0
  441. package/dist/chunk-ZAKVHYDL.cjs.map +1 -0
  442. package/dist/chunk-ZF34JXGU.js +39 -0
  443. package/dist/chunk-ZF34JXGU.js.map +1 -0
  444. package/dist/chunk-ZHGWDP2M.cjs +101 -0
  445. package/dist/chunk-ZHGWDP2M.cjs.map +1 -0
  446. package/dist/chunk-ZLHTQQLT.js +13 -0
  447. package/dist/chunk-ZLHTQQLT.js.map +1 -0
  448. package/dist/chunk-ZPAMY3IZ.cjs +25 -0
  449. package/dist/chunk-ZPAMY3IZ.cjs.map +1 -0
  450. package/dist/chunk-ZR63UB4V.js +42 -0
  451. package/dist/chunk-ZR63UB4V.js.map +1 -0
  452. package/dist/chunk-ZRCEB3KL.js +11 -0
  453. package/dist/chunk-ZRCEB3KL.js.map +1 -0
  454. package/dist/chunk-ZRGQNRQI.cjs +36 -0
  455. package/dist/chunk-ZRGQNRQI.cjs.map +1 -0
  456. package/dist/chunk-ZVY4IL7O.cjs +22 -0
  457. package/dist/chunk-ZVY4IL7O.cjs.map +1 -0
  458. package/dist/chunk-ZWIVKODQ.js +49 -0
  459. package/dist/chunk-ZWIVKODQ.js.map +1 -0
  460. package/dist/chunk-ZYF2HNMZ.js +10 -0
  461. package/dist/chunk-ZYF2HNMZ.js.map +1 -0
  462. package/dist/copilot/index.cjs +43 -0
  463. package/dist/copilot/index.cjs.map +1 -0
  464. package/dist/copilot/index.d.cts +66 -0
  465. package/dist/copilot/index.d.ts +66 -0
  466. package/dist/copilot/index.js +30 -0
  467. package/dist/copilot/index.js.map +1 -0
  468. package/dist/directionsPdf-GITP3SCP.cjs +274 -0
  469. package/dist/directionsPdf-GITP3SCP.cjs.map +1 -0
  470. package/dist/directionsPdf-TDKVUBCU.js +272 -0
  471. package/dist/directionsPdf-TDKVUBCU.js.map +1 -0
  472. package/dist/embed/index.cjs +1816 -0
  473. package/dist/embed/index.cjs.map +1 -0
  474. package/dist/embed/index.d.cts +300 -0
  475. package/dist/embed/index.d.ts +300 -0
  476. package/dist/embed/index.js +1809 -0
  477. package/dist/embed/index.js.map +1 -0
  478. package/dist/headless/index.cjs +408 -0
  479. package/dist/headless/index.cjs.map +1 -0
  480. package/dist/headless/index.d.cts +23 -0
  481. package/dist/headless/index.d.ts +23 -0
  482. package/dist/headless/index.js +31 -0
  483. package/dist/headless/index.js.map +1 -0
  484. package/dist/hostRegistry-BTG-KkRY.d.cts +115 -0
  485. package/dist/hostRegistry-BTG-KkRY.d.ts +115 -0
  486. package/dist/import/index.cjs +433 -0
  487. package/dist/import/index.cjs.map +1 -0
  488. package/dist/import/index.d.cts +169 -0
  489. package/dist/import/index.d.ts +169 -0
  490. package/dist/import/index.js +421 -0
  491. package/dist/import/index.js.map +1 -0
  492. package/dist/index-CELBpE13.d.cts +4198 -0
  493. package/dist/index-nqc3A-ty.d.ts +4198 -0
  494. package/dist/index.cjs +10597 -0
  495. package/dist/index.cjs.map +1 -0
  496. package/dist/index.d.cts +4949 -0
  497. package/dist/index.d.ts +4949 -0
  498. package/dist/index.js +9907 -0
  499. package/dist/index.js.map +1 -0
  500. package/dist/map/index.cjs +122 -0
  501. package/dist/map/index.cjs.map +1 -0
  502. package/dist/map/index.d.cts +988 -0
  503. package/dist/map/index.d.ts +988 -0
  504. package/dist/map/index.js +25 -0
  505. package/dist/map/index.js.map +1 -0
  506. package/dist/routingGuidePictures-CxgXiuNd.d.cts +22 -0
  507. package/dist/routingGuidePictures-CxgXiuNd.d.ts +22 -0
  508. package/dist/studioStrings-lNvOeC1g.d.cts +72 -0
  509. package/dist/studioStrings-lNvOeC1g.d.ts +72 -0
  510. package/dist/styles.css +14677 -0
  511. package/dist/testing/index.cjs +357 -0
  512. package/dist/testing/index.cjs.map +1 -0
  513. package/dist/testing/index.d.cts +319 -0
  514. package/dist/testing/index.d.ts +319 -0
  515. package/dist/testing/index.js +344 -0
  516. package/dist/testing/index.js.map +1 -0
  517. package/dist/video/index.cjs +53 -0
  518. package/dist/video/index.cjs.map +1 -0
  519. package/dist/video/index.d.cts +127 -0
  520. package/dist/video/index.d.ts +127 -0
  521. package/dist/video/index.js +44 -0
  522. package/dist/video/index.js.map +1 -0
  523. package/package.json +227 -4
  524. package/src/agent/components/ActivityRow.tsx +226 -0
  525. package/src/agent/components/AgentEntityIndicator.tsx +67 -0
  526. package/src/agent/components/AgentMarkdown.tsx +530 -0
  527. package/src/agent/components/ChatComposer.tsx +161 -0
  528. package/src/agent/components/ChatTranscript.tsx +1358 -0
  529. package/src/agent/components/CopilotPanel.tsx +415 -0
  530. package/src/agent/components/CopilotStates.tsx +238 -0
  531. package/src/agent/components/CopilotTranscript.tsx +191 -0
  532. package/src/agent/components/MessageFeedback.tsx +100 -0
  533. package/src/agent/hooks/useAgentChatTransport.ts +61 -0
  534. package/src/agent/hooks/useAgentErrorCopy.ts +27 -0
  535. package/src/agent/hooks/useCopilotOpen.ts +68 -0
  536. package/src/agent/providers/AgentThreadsProvider.tsx +360 -0
  537. package/src/agent/providers/PromptPanelConversation.tsx +135 -0
  538. package/src/agent/rules/drawnNode.ts +24 -0
  539. package/src/alerts/components/MapAlerts.tsx +127 -0
  540. package/src/cache/hooks/useStudioCache.ts +40 -0
  541. package/src/cache/rules/studioCache.ts +145 -0
  542. package/src/collab/components/PeerEntityIndicator.tsx +150 -0
  543. package/src/collab/components/PresenceRoster.tsx +113 -0
  544. package/src/collab/components/peerLock.tsx +59 -0
  545. package/src/collab/hooks/useCollabOrganizationId.ts +24 -0
  546. package/src/collab/hooks/usePeerLockLabel.ts +41 -0
  547. package/src/collections/components/CollectionFormModal.tsx +280 -0
  548. package/src/collections/components/CollectionMultiSelect.tsx +640 -0
  549. package/src/collections/components/EditCollectionModal.tsx +114 -0
  550. package/src/collections/components/ManageCollectionsModal.tsx +692 -0
  551. package/src/collections/components/NewCollectionModal.tsx +87 -0
  552. package/src/collections/components/ShareCollectionModal.tsx +150 -0
  553. package/src/collections/hooks/useEntityCollections.ts +126 -0
  554. package/src/collections/hooks/useEveryPage.ts +33 -0
  555. package/src/controls/components/MapControlTooltip.tsx +84 -0
  556. package/src/controls/components/PoiOverlayMenu.tsx +342 -0
  557. package/src/controls/components/StudioControls.tsx +278 -0
  558. package/src/controls/rules/constants.ts +34 -0
  559. package/src/copilot/hooks/useStudioCopilotInset.ts +39 -0
  560. package/src/copilot/index.ts +29 -0
  561. package/src/directions/components/DirectionsModal.tsx +447 -0
  562. package/src/directions/components/directionsPdf.tsx +557 -0
  563. package/src/embed/components/DefaultViewControl.tsx +159 -0
  564. package/src/embed/components/EmbedBaseMapPicker.tsx +107 -0
  565. package/src/embed/components/EmbedCodeSection.tsx +329 -0
  566. package/src/embed/components/EmbedColumnsSection.tsx +167 -0
  567. package/src/embed/components/EmbedConfigForm.tsx +239 -0
  568. package/src/embed/components/EmbedElementSwitcher.tsx +87 -0
  569. package/src/embed/components/EmbedFieldControl.tsx +488 -0
  570. package/src/embed/components/EmbedGeneralSection.tsx +279 -0
  571. package/src/embed/components/EmbedKeyPanel.tsx +138 -0
  572. package/src/embed/components/EmbedSnippetCode.tsx +154 -0
  573. package/src/embed/components/EmbedStage.tsx +505 -0
  574. package/src/embed/components/EmbedTablePreview.tsx +134 -0
  575. package/src/embed/components/EmbedThemePicker.tsx +74 -0
  576. package/src/embed/components/EmbedTintPicker.tsx +76 -0
  577. package/src/embed/components/EmbedWizard.tsx +1031 -0
  578. package/src/embed/hooks/useEmbedCode.ts +170 -0
  579. package/src/embed/hooks/useEmbedCollectionItineraries.ts +42 -0
  580. package/src/embed/hooks/useEmbedLayerOptions.ts +75 -0
  581. package/src/embed/hooks/useEmbedPreviewCamera.ts +169 -0
  582. package/src/embed/index.ts +48 -0
  583. package/src/fullscreen/components/FullscreenHeader.tsx +77 -0
  584. package/src/fullscreen/components/FullscreenModal.tsx +80 -0
  585. package/src/fullscreen/components/WizardLayout.tsx +129 -0
  586. package/src/guards/components/AgentDrivingGuard.tsx +59 -0
  587. package/src/guards/components/UnsavedEditsGuard.tsx +210 -0
  588. package/src/guards/hooks/useReportUnsavedForm.ts +34 -0
  589. package/src/guards/hooks/useUnsavedEditsGuard.ts +44 -0
  590. package/src/headless/hooks/useAgentDriving.ts +21 -0
  591. package/src/headless/hooks/useBeginSegmentEdit.ts +89 -0
  592. package/src/headless/hooks/useBeginWaypointEdit.ts +74 -0
  593. package/src/headless/hooks/useCapabilitySet.ts +65 -0
  594. package/src/headless/hooks/useCollabResources.ts +148 -0
  595. package/src/headless/hooks/useCollectionScope.ts +37 -0
  596. package/src/headless/hooks/useEditActions.ts +250 -0
  597. package/src/headless/hooks/useEscapeKey.ts +43 -0
  598. package/src/headless/hooks/useInlineRename.ts +276 -0
  599. package/src/headless/hooks/useLiveAwareSegments.ts +88 -0
  600. package/src/headless/hooks/useLiveAwareWaypoints.ts +39 -0
  601. package/src/headless/hooks/useMapHoveredRow.ts +76 -0
  602. package/src/headless/hooks/usePlatformViewer.ts +452 -0
  603. package/src/headless/hooks/usePluginSlot.ts +235 -0
  604. package/src/headless/hooks/useRowEmphasis.ts +66 -0
  605. package/src/headless/hooks/useSegmentList.ts +428 -0
  606. package/src/headless/hooks/useSegmentRow.ts +366 -0
  607. package/src/headless/hooks/useSegmentRowActions.ts +267 -0
  608. package/src/headless/hooks/useShallowSelector.ts +145 -0
  609. package/src/headless/hooks/useStableMembers.ts +74 -0
  610. package/src/headless/hooks/useStoreSlice.ts +52 -0
  611. package/src/headless/hooks/useStreetViewCorridor.ts +120 -0
  612. package/src/headless/hooks/useStudioApi.ts +18 -0
  613. package/src/headless/hooks/useStudioDispatch.ts +181 -0
  614. package/src/headless/hooks/useStudioDispatchCount.ts +147 -0
  615. package/src/headless/hooks/useStudioDispatchUnsafe.ts +111 -0
  616. package/src/headless/hooks/useStudioEntitlement.ts +29 -0
  617. package/src/headless/hooks/useStudioFailureAlert.ts +67 -0
  618. package/src/headless/hooks/useStudioObserve.ts +38 -0
  619. package/src/headless/hooks/useStudioPreferences.ts +8 -0
  620. package/src/headless/hooks/useStudioSignedIn.ts +12 -0
  621. package/src/headless/hooks/useStudioStore.ts +72 -0
  622. package/src/headless/hooks/useStudioUnits.ts +23 -0
  623. package/src/headless/hooks/useStudioUrl.ts +24 -0
  624. package/src/headless/hooks/useStudioUserId.ts +5 -0
  625. package/src/headless/hooks/useStudioVerbHeld.ts +43 -0
  626. package/src/headless/hooks/useStudioViewer.ts +19 -0
  627. package/src/headless/hooks/useStudioViewerEntitlement.ts +40 -0
  628. package/src/headless/hooks/useStudioViewerItineraryLimit.ts +34 -0
  629. package/src/headless/hooks/useStudioViewerPreferences.ts +44 -0
  630. package/src/headless/hooks/useStudioViewerUnits.ts +50 -0
  631. package/src/headless/hooks/useStudioViewerUserId.ts +23 -0
  632. package/src/headless/hooks/useUiStore.ts +91 -0
  633. package/src/headless/hooks/useUiStoreShallow.ts +43 -0
  634. package/src/headless/hooks/useWaypointDetailsDialog.ts +52 -0
  635. package/src/headless/hooks/useWaypointList.ts +89 -0
  636. package/src/headless/hooks/useWaypointRow.ts +227 -0
  637. package/src/headless/hooks/useWaypointRowActions.ts +166 -0
  638. package/src/headless/index.ts +287 -0
  639. package/src/headless/providers/billingGate.tsx +129 -0
  640. package/src/headless/providers/copilot.tsx +155 -0
  641. package/src/headless/providers/mountayaStudio.tsx +126 -0
  642. package/src/headless/providers/navigationBlocker.tsx +91 -0
  643. package/src/headless/providers/notify.tsx +36 -0
  644. package/src/headless/providers/organizations.tsx +267 -0
  645. package/src/headless/providers/plugins.tsx +173 -0
  646. package/src/headless/providers/studio.tsx +1295 -0
  647. package/src/headless/providers/studioStrings.tsx +243 -0
  648. package/src/headless/rules/inputMethod.ts +19 -0
  649. package/src/hooks/useAgreementLimits.ts +165 -0
  650. package/src/hooks/useLayerCatalogOptions.ts +106 -0
  651. package/src/host/components/MountayaStudioHost.tsx +1018 -0
  652. package/src/host/hooks/useEmbeddedStudio.ts +24 -0
  653. package/src/host/hooks/useItineraryActivation.ts +126 -0
  654. package/src/host/hooks/useMemberGrants.ts +51 -0
  655. package/src/host/hooks/useStudioHostSurfaces.ts +100 -0
  656. package/src/host/hooks/useStudioPluginBinding.ts +133 -0
  657. package/src/host/hooks/useStudioSessionHeld.ts +111 -0
  658. package/src/host/hooks/useStudioToolBus.ts +127 -0
  659. package/src/host/hooks/useStudioToolContext.ts +175 -0
  660. package/src/host/providers/hostRegistry.tsx +144 -0
  661. package/src/host/providers/hostSurface.tsx +47 -0
  662. package/src/host/providers/hostVideo.tsx +73 -0
  663. package/src/import/components/DraftEntityList.tsx +298 -0
  664. package/src/import/components/FileDropInput.tsx +261 -0
  665. package/src/import/components/FileDropzone.tsx +97 -0
  666. package/src/import/components/ImportItineraryContent.tsx +133 -0
  667. package/src/import/components/ImportPreviewLegend.tsx +50 -0
  668. package/src/import/components/ImportPrimer.tsx +113 -0
  669. package/src/import/index.ts +32 -0
  670. package/src/import/providers/ImportRoutingGuideProvider.tsx +319 -0
  671. package/src/import/rules/routingGuidePictures.ts +20 -0
  672. package/src/index.ts +633 -0
  673. package/src/internal/components/Glyph.tsx +34 -0
  674. package/src/internal/components/MarkerGlyph.tsx +23 -0
  675. package/src/internal/components/MountayaMark.tsx +142 -0
  676. package/src/internal/hooks/useTextOverflow.ts +90 -0
  677. package/src/internal/providers/studioEditorRoot.tsx +42 -0
  678. package/src/internal/rules/editorRoot.ts +9 -0
  679. package/src/internal/rules/missingSeam.ts +32 -0
  680. package/src/itinerary/components/ActivityGuideModal.tsx +345 -0
  681. package/src/itinerary/components/ActivitySelect.tsx +204 -0
  682. package/src/itinerary/components/AddWaypointButton.tsx +151 -0
  683. package/src/itinerary/components/AscentInput.tsx +65 -0
  684. package/src/itinerary/components/Characteristics.tsx +129 -0
  685. package/src/itinerary/components/CursorReadout.tsx +66 -0
  686. package/src/itinerary/components/DistanceInput.tsx +67 -0
  687. package/src/itinerary/components/DraftProvenanceBanner.tsx +79 -0
  688. package/src/itinerary/components/DuplicateItineraryModal.tsx +341 -0
  689. package/src/itinerary/components/EditorSaveFooter.tsx +424 -0
  690. package/src/itinerary/components/ItineraryActionsMenu.tsx +655 -0
  691. package/src/itinerary/components/ItineraryForm.tsx +887 -0
  692. package/src/itinerary/components/ItineraryHeaderIdentity.tsx +121 -0
  693. package/src/itinerary/components/ItineraryHeaderMeta.tsx +68 -0
  694. package/src/itinerary/components/ItineraryHeaderTitle.tsx +88 -0
  695. package/src/itinerary/components/ItineraryIdentityFields.tsx +153 -0
  696. package/src/itinerary/components/ItineraryProfilePanel.tsx +619 -0
  697. package/src/itinerary/components/ItineraryProfileSheet.tsx +219 -0
  698. package/src/itinerary/components/ItinerarySubHeader.tsx +236 -0
  699. package/src/itinerary/components/PendingProfile.tsx +142 -0
  700. package/src/itinerary/components/PlaceCard.tsx +35 -0
  701. package/src/itinerary/components/PlaceMark.tsx +76 -0
  702. package/src/itinerary/components/ProfileAnalysisBars.tsx +84 -0
  703. package/src/itinerary/components/ProfileBar.tsx +215 -0
  704. package/src/itinerary/components/ProfileHeaderControls.tsx +116 -0
  705. package/src/itinerary/components/ProfileHeaderFigures.tsx +119 -0
  706. package/src/itinerary/components/ProfilePaceControl.tsx +97 -0
  707. package/src/itinerary/components/ProfileStat.tsx +76 -0
  708. package/src/itinerary/components/ProfileStatStrip.tsx +38 -0
  709. package/src/itinerary/components/RoadAccessModal.tsx +76 -0
  710. package/src/itinerary/components/RouteTypeControl.tsx +73 -0
  711. package/src/itinerary/components/SegmentGroupModal.tsx +311 -0
  712. package/src/itinerary/components/SegmentGroupRangePicker.tsx +228 -0
  713. package/src/itinerary/components/StagingCreateFooter.tsx +185 -0
  714. package/src/itinerary/components/StudioItineraryProfile.tsx +620 -0
  715. package/src/itinerary/components/SuggestForm.tsx +256 -0
  716. package/src/itinerary/components/SuggestFormActions.tsx +124 -0
  717. package/src/itinerary/components/SuggestionResultRow.tsx +98 -0
  718. package/src/itinerary/components/SuggestionResultsList.tsx +85 -0
  719. package/src/itinerary/components/WaypointAmenityPicker.tsx +105 -0
  720. package/src/itinerary/components/WaypointDetailFields.tsx +604 -0
  721. package/src/itinerary/components/WaypointDetailsModal.tsx +134 -0
  722. package/src/itinerary/components/WaypointDetailsRows.tsx +707 -0
  723. package/src/itinerary/components/WaypointDetailsView.tsx +389 -0
  724. package/src/itinerary/components/WaypointIconCircle.tsx +211 -0
  725. package/src/itinerary/components/WaypointIconPicker.tsx +82 -0
  726. package/src/itinerary/components/WaypointMarkers.tsx +293 -0
  727. package/src/itinerary/components/WaypointPreviewCard.tsx +56 -0
  728. package/src/itinerary/components/WaypointSectionNav.tsx +151 -0
  729. package/src/itinerary/components/WaypointSwitcher.tsx +143 -0
  730. package/src/itinerary/components/WaypointWorkbench.tsx +263 -0
  731. package/src/itinerary/hooks/useDuplicateDraft.ts +205 -0
  732. package/src/itinerary/hooks/useDuplicateSource.ts +69 -0
  733. package/src/itinerary/hooks/useFriendlyNameBanks.ts +26 -0
  734. package/src/itinerary/hooks/useItineraryEditable.ts +89 -0
  735. package/src/itinerary/hooks/useItineraryPace.ts +103 -0
  736. package/src/itinerary/hooks/useItinerarySubject.ts +117 -0
  737. package/src/itinerary/hooks/useOpenItineraryEditable.ts +39 -0
  738. package/src/itinerary/hooks/useProfileOverlay.tsx +61 -0
  739. package/src/itinerary/hooks/useProfileSeries.ts +95 -0
  740. package/src/itinerary/hooks/useProfileVisibility.ts +149 -0
  741. package/src/itinerary/hooks/useSeedDraftOrganization.ts +85 -0
  742. package/src/itinerary/hooks/useSegmentGroupSave.ts +143 -0
  743. package/src/itinerary/hooks/useStartFromSuggestion.ts +63 -0
  744. package/src/itinerary/hooks/useStudioItinerary.ts +35 -0
  745. package/src/itinerary/hooks/useSuggestionPin.ts +36 -0
  746. package/src/itinerary/hooks/useWaypointCardWords.ts +51 -0
  747. package/src/itinerary/hooks/useWaypointCreateFollowUp.ts +158 -0
  748. package/src/itinerary/hooks/useWaypointDetailsEditor.ts +280 -0
  749. package/src/itinerary/hooks/useWaypointSectionEntries.ts +114 -0
  750. package/src/itinerary/providers/ActivityGuideProvider.tsx +113 -0
  751. package/src/itinerary/providers/ItineraryViewProvider.tsx +146 -0
  752. package/src/itinerary/rules/amenityGlyphs.ts +25 -0
  753. package/src/itinerary/rules/cursorReadoutData.ts +34 -0
  754. package/src/itinerary/rules/profileCursor.ts +11 -0
  755. package/src/itinerary/rules/profileModel.ts +98 -0
  756. package/src/itinerary/rules/shownFocus.ts +11 -0
  757. package/src/itinerary/rules/waypointGlyphs.ts +42 -0
  758. package/src/itinerary/stores/profileHover.ts +54 -0
  759. package/src/lists/components/AddSegmentButton.tsx +240 -0
  760. package/src/lists/components/EditActions.tsx +153 -0
  761. package/src/lists/components/EditorListSection.tsx +117 -0
  762. package/src/lists/components/EditorSegmentRow.tsx +458 -0
  763. package/src/lists/components/ItineraryAddSegmentButton.tsx +66 -0
  764. package/src/lists/components/ItinerarySegmentList.tsx +301 -0
  765. package/src/lists/components/ItineraryWaypointList.tsx +257 -0
  766. package/src/lists/components/SegmentList.tsx +549 -0
  767. package/src/lists/components/SegmentSeam.tsx +292 -0
  768. package/src/lists/components/WaypointList.tsx +232 -0
  769. package/src/map/components/ContextMenuPopup.tsx +913 -0
  770. package/src/map/components/MapAnchoredPopup.tsx +284 -0
  771. package/src/map/components/SegmentViaPopup.tsx +133 -0
  772. package/src/map/hooks/useAccessRestrictions.ts +25 -0
  773. package/src/map/hooks/useEmbedConstraints.ts +359 -0
  774. package/src/map/hooks/useEmbedDisplaySeed.ts +61 -0
  775. package/src/map/hooks/useEmbedReady.ts +137 -0
  776. package/src/map/hooks/useHeldTileSources.ts +65 -0
  777. package/src/map/hooks/useSegmentColor.ts +24 -0
  778. package/src/map/hooks/useSpecificationLayers.ts +25 -0
  779. package/src/map/hooks/useStudioConstraints.ts +135 -0
  780. package/src/map/hooks/useStudioContextMenu.ts +34 -0
  781. package/src/map/hooks/useStudioContextMenuWaypoint.ts +119 -0
  782. package/src/map/hooks/useStudioEditCommitReporter.ts +56 -0
  783. package/src/map/hooks/useStudioEditEngine.ts +270 -0
  784. package/src/map/hooks/useStudioEnrichment.ts +117 -0
  785. package/src/map/hooks/useStudioItinerarySelection.ts +484 -0
  786. package/src/map/hooks/useStudioLayersScope.ts +34 -0
  787. package/src/map/hooks/useStudioMapBindings.ts +178 -0
  788. package/src/map/hooks/useStudioMapEditSeams.ts +161 -0
  789. package/src/map/hooks/useStudioMapSync.ts +127 -0
  790. package/src/map/hooks/useStudioOverlay.ts +75 -0
  791. package/src/map/hooks/useStudioOverlayWithdrawal.ts +52 -0
  792. package/src/map/hooks/useStudioOverlaysEntitled.ts +12 -0
  793. package/src/map/hooks/useStudioPeerDrafts.ts +126 -0
  794. package/src/map/hooks/useStudioPoiLayers.ts +110 -0
  795. package/src/map/hooks/useStudioPreviewSync.ts +205 -0
  796. package/src/map/hooks/useStudioSegmentEditing.ts +239 -0
  797. package/src/map/hooks/useStudioSegmentViaPrompt.ts +38 -0
  798. package/src/map/hooks/useStudioSplitPicking.ts +411 -0
  799. package/src/map/hooks/useStudioSuggestionPicking.ts +178 -0
  800. package/src/map/hooks/useStudioTimestamp.ts +226 -0
  801. package/src/map/hooks/useStudioUrlState.ts +340 -0
  802. package/src/map/hooks/useStudioWaypointEditing.ts +251 -0
  803. package/src/map/hooks/useStudioZoneEditing.ts +260 -0
  804. package/src/map/hooks/useStudioZoneOriginPicking.ts +129 -0
  805. package/src/map/hooks/useStudioZoneSelection.ts +240 -0
  806. package/src/map/hooks/useTileLayers.ts +33 -0
  807. package/src/map/index.ts +67 -0
  808. package/src/map/rules/editKeyboard.ts +216 -0
  809. package/src/map/rules/editTooltip.ts +222 -0
  810. package/src/map/rules/nearerEscape.ts +107 -0
  811. package/src/map/rules/poiGlyphs.ts +40 -0
  812. package/src/modals/components/AppModal.tsx +280 -0
  813. package/src/modals/components/ConfirmModal.tsx +223 -0
  814. package/src/modals/components/ExportModal.tsx +538 -0
  815. package/src/modals/components/LocationPermissionModal.tsx +129 -0
  816. package/src/modals/components/ModalFooter.tsx +187 -0
  817. package/src/modals/hooks/useConfirmGate.tsx +209 -0
  818. package/src/modals/hooks/useDiscardGuard.tsx +168 -0
  819. package/src/panels/components/EditShortcutHint.tsx +115 -0
  820. package/src/panels/components/FloatingOverlay.tsx +243 -0
  821. package/src/panels/components/GlyphPickerGrid.tsx +84 -0
  822. package/src/panels/components/PanelRouter.tsx +133 -0
  823. package/src/panels/components/PickerCard.tsx +108 -0
  824. package/src/panels/components/RadioOptionCard.tsx +116 -0
  825. package/src/panels/components/SidenavContentBody.tsx +56 -0
  826. package/src/panels/components/SidenavContentFooter.tsx +27 -0
  827. package/src/panels/components/SidenavContentHeader.tsx +172 -0
  828. package/src/panels/components/SidenavFormActions.tsx +96 -0
  829. package/src/panels/components/StudioFormStack.tsx +44 -0
  830. package/src/panels/components/StudioHeader.tsx +117 -0
  831. package/src/panels/components/StudioLayersPanel.tsx +909 -0
  832. package/src/panels/components/StudioPreferencesPanel.tsx +199 -0
  833. package/src/panels/rules/studioHeader.ts +68 -0
  834. package/src/plugins/components/PluginBoundary.tsx +62 -0
  835. package/src/plugins/components/PluginContextMenuActions.tsx +73 -0
  836. package/src/plugins/components/PluginControls.tsx +101 -0
  837. package/src/plugins/components/PluginHeldView.tsx +77 -0
  838. package/src/plugins/components/PluginMenuItems.tsx +63 -0
  839. package/src/plugins/components/PluginProfileHeader.tsx +71 -0
  840. package/src/plugins/components/PluginProfilePlot.tsx +134 -0
  841. package/src/plugins/components/PluginSlotItems.tsx +55 -0
  842. package/src/primitives/components/ActivityIcon.tsx +106 -0
  843. package/src/primitives/components/AllowlistField.tsx +508 -0
  844. package/src/primitives/components/CopyIconButton.tsx +80 -0
  845. package/src/primitives/components/DateTimeInput.tsx +133 -0
  846. package/src/primitives/components/DateTimePickerField.tsx +101 -0
  847. package/src/primitives/components/DescriptiveMenuItem.tsx +80 -0
  848. package/src/primitives/components/DialogSubject.tsx +102 -0
  849. package/src/primitives/components/DisabledMenuItem.tsx +45 -0
  850. package/src/primitives/components/DisabledReason.tsx +34 -0
  851. package/src/primitives/components/EmptyState.tsx +186 -0
  852. package/src/primitives/components/ErrorAlert.tsx +35 -0
  853. package/src/primitives/components/ErrorBoundary.tsx +55 -0
  854. package/src/primitives/components/FieldLabel.tsx +34 -0
  855. package/src/primitives/components/FormErrorAlert.tsx +33 -0
  856. package/src/primitives/components/GroupLabelledBy.tsx +31 -0
  857. package/src/primitives/components/LanguageSelect.tsx +139 -0
  858. package/src/primitives/components/ListSkeleton.tsx +64 -0
  859. package/src/primitives/components/MarqueeText.tsx +61 -0
  860. package/src/primitives/components/OrganizationScopeItem.tsx +146 -0
  861. package/src/primitives/components/OrganizationSelect.tsx +149 -0
  862. package/src/primitives/components/PointField.tsx +75 -0
  863. package/src/primitives/components/PrivacyControl.tsx +127 -0
  864. package/src/primitives/components/RenameInput.tsx +159 -0
  865. package/src/primitives/components/RequiredLabelWithHelp.tsx +76 -0
  866. package/src/primitives/components/SegmentIcon.tsx +43 -0
  867. package/src/primitives/components/SegmentIconLabel.tsx +37 -0
  868. package/src/primitives/components/SpeedInput.tsx +222 -0
  869. package/src/primitives/components/StudioSectionBoundary.tsx +56 -0
  870. package/src/primitives/components/StudioSegmentedControl.tsx +23 -0
  871. package/src/primitives/components/UnitPickerField.tsx +62 -0
  872. package/src/primitives/components/UnitPickerGrid.tsx +71 -0
  873. package/src/primitives/components/WarningAlert.tsx +34 -0
  874. package/src/primitives/hooks/useCompactLayout.ts +30 -0
  875. package/src/primitives/hooks/useSpeedControlLabel.ts +28 -0
  876. package/src/primitives/rules/activityBadge.ts +87 -0
  877. package/src/publication/components/PublicationBadge.tsx +42 -0
  878. package/src/publication/components/PublicationDot.tsx +31 -0
  879. package/src/publication/components/PublicationNotice.tsx +115 -0
  880. package/src/publication/components/PublicationSettledPill.tsx +43 -0
  881. package/src/publication/components/PublicationStatus.tsx +52 -0
  882. package/src/publication/components/UnpublishedPanel.tsx +133 -0
  883. package/src/publication/hooks/usePublicationHint.ts +235 -0
  884. package/src/publication/hooks/usePublishAct.ts +101 -0
  885. package/src/publication/hooks/usePublishItinerary.ts +27 -0
  886. package/src/publication/hooks/usePublishZone.ts +27 -0
  887. package/src/publication/hooks/usePublishableScope.ts +23 -0
  888. package/src/publication/hooks/usePublishedItinerary.ts +83 -0
  889. package/src/rows/components/ReadOnlySegmentRow.tsx +155 -0
  890. package/src/rows/components/RouteMetricLine.tsx +90 -0
  891. package/src/rows/components/RowMetadata.tsx +92 -0
  892. package/src/rows/components/SegmentRow.tsx +381 -0
  893. package/src/rows/components/SegmentRowActions.tsx +187 -0
  894. package/src/rows/components/SegmentRowBody.tsx +197 -0
  895. package/src/rows/components/StudioToggleRow.tsx +71 -0
  896. package/src/rows/components/SuggestionList.tsx +100 -0
  897. package/src/rows/components/SuggestionRowLayout.tsx +164 -0
  898. package/src/rows/components/WaypointRow.tsx +175 -0
  899. package/src/rows/components/WaypointRowLayout.tsx +278 -0
  900. package/src/rows/components/lockChrome.tsx +106 -0
  901. package/src/rules/menuActions.ts +149 -0
  902. package/src/rules/sizing.ts +127 -0
  903. package/src/rules/studioConfig.ts +719 -0
  904. package/src/search/components/CategoryTabs.tsx +136 -0
  905. package/src/search/components/ResultRow.tsx +242 -0
  906. package/src/search/components/ResultsList.tsx +182 -0
  907. package/src/search/components/SearchInput.tsx +100 -0
  908. package/src/search/components/SearchTab.tsx +614 -0
  909. package/src/sections/components/RailSwitcher.tsx +179 -0
  910. package/src/sections/components/SectionCard.tsx +48 -0
  911. package/src/sections/components/SectionHead.tsx +42 -0
  912. package/src/sections/components/SectionTabs.tsx +231 -0
  913. package/src/segments/components/SegmentColorCircle.tsx +118 -0
  914. package/src/segments/components/SegmentColorPicker.tsx +134 -0
  915. package/src/segments/components/SegmentModeControl.tsx +118 -0
  916. package/src/segments/components/SegmentRowMenu.tsx +449 -0
  917. package/src/segments/components/SegmentRowPopover.tsx +163 -0
  918. package/src/segments/components/SegmentSelect.tsx +116 -0
  919. package/src/segments/components/SegmentSpeedControl.tsx +299 -0
  920. package/src/share/components/ShareLinkManage.tsx +699 -0
  921. package/src/share/components/ShareModal.tsx +182 -0
  922. package/src/share/components/ShareSheet.tsx +178 -0
  923. package/src/share/components/ShareViewModal.tsx +131 -0
  924. package/src/share/hooks/useCanManageShareLink.ts +51 -0
  925. package/src/studio/components/MountayaStudio.tsx +1170 -0
  926. package/src/studio/components/MountayaStudioViewer.tsx +775 -0
  927. package/src/studio/hooks/useEmbeddedStudioConfig.ts +60 -0
  928. package/src/studio/hooks/useViewerActivation.ts +47 -0
  929. package/src/studio/hooks/useViewerCollectionSpecification.ts +58 -0
  930. package/src/studio/hooks/useViewerEmbedConfig.ts +74 -0
  931. package/src/studio/hooks/useViewerFraming.ts +211 -0
  932. package/src/studio/hooks/useViewerMapBindings.ts +109 -0
  933. package/src/styles.css +3993 -0
  934. package/src/testing/collections.ts +40 -0
  935. package/src/testing/hostRegistry.tsx +109 -0
  936. package/src/testing/index.ts +65 -0
  937. package/src/testing/itinerary.ts +297 -0
  938. package/src/testing/mountayaClient.tsx +218 -0
  939. package/src/testing/viewer.tsx +171 -0
  940. package/src/theme/components/StudioPortalScope.tsx +130 -0
  941. package/src/theme/hooks/useResolvedStudioTheme.ts +37 -0
  942. package/src/theme/rules/density.ts +157 -0
  943. package/src/theme/rules/mountayaStudioTheme.ts +114 -0
  944. package/src/theme/rules/passwordManager.ts +20 -0
  945. package/src/theme/rules/tokenStyle.ts +18 -0
  946. package/src/theme/rules/tokens.ts +71 -0
  947. package/src/theme/rules/tone.ts +34 -0
  948. package/src/theme/rules/zIndex.ts +40 -0
  949. package/src/video/components/CameraStep.tsx +82 -0
  950. package/src/video/components/DirectingScrim.tsx +28 -0
  951. package/src/video/components/DirectorChat.tsx +79 -0
  952. package/src/video/components/FormatStep.tsx +487 -0
  953. package/src/video/components/ModeCards.tsx +141 -0
  954. package/src/video/components/PlanNumberField.tsx +54 -0
  955. package/src/video/components/PreviewControls.tsx +212 -0
  956. package/src/video/components/PreviewStage.tsx +319 -0
  957. package/src/video/components/PreviewSurface.tsx +247 -0
  958. package/src/video/components/PreviewWatermark.tsx +77 -0
  959. package/src/video/components/ProfileOverlayCanvas.tsx +195 -0
  960. package/src/video/components/ProfileStep.tsx +254 -0
  961. package/src/video/components/RecordProgress.tsx +117 -0
  962. package/src/video/components/ReviewStep.tsx +244 -0
  963. package/src/video/components/ShotList.tsx +452 -0
  964. package/src/video/components/VideoExportWizard.tsx +829 -0
  965. package/src/video/components/WizardDirectingIndicator.tsx +57 -0
  966. package/src/video/components/WizardFooter.tsx +112 -0
  967. package/src/video/hooks/usePreviewPlanRefresh.ts +91 -0
  968. package/src/video/hooks/useVideoItinerarySubject.ts +18 -0
  969. package/src/video/hooks/useVideoOrganizationId.ts +30 -0
  970. package/src/video/hooks/useVideoPreviewSeed.ts +203 -0
  971. package/src/video/hooks/useVideoProfileSeed.ts +53 -0
  972. package/src/video/hooks/useVideoPublication.ts +29 -0
  973. package/src/video/hooks/useVideoRouteReady.ts +52 -0
  974. package/src/video/hooks/useVideoRouteSync.ts +100 -0
  975. package/src/video/hooks/useVideoTileTransform.ts +88 -0
  976. package/src/video/index.ts +24 -0
  977. package/src/video/providers/DirectorChatProvider.tsx +293 -0
  978. package/src/video/rules/changeTo.ts +20 -0
  979. package/src/zone/components/ZoneActionsMenu.tsx +305 -0
  980. package/src/zone/components/ZoneAvailabilityFields.tsx +98 -0
  981. package/src/zone/components/ZoneForm.tsx +622 -0
  982. package/src/zone/components/ZoneInheritedContext.tsx +70 -0
  983. package/src/zone/components/ZoneLevelSelect.tsx +86 -0
  984. package/src/zone/components/ZoneMetadataFields.tsx +89 -0
  985. package/src/zone/components/ZoneMethodSelect.tsx +90 -0
  986. package/src/zone/components/ZoneModeSelect.tsx +98 -0
  987. package/src/zone/components/ZoneRangeInput.tsx +129 -0
  988. package/src/zone/components/ZoneReachabilityFields.tsx +120 -0
  989. package/src/zone/components/ZoneSubHeader.tsx +188 -0
  990. package/src/zone/components/ZoneVisibility.tsx +94 -0
  991. package/src/zone/hooks/useStudioReachabilityStart.ts +79 -0
  992. package/src/zone/hooks/useStudioZonesBrowsed.ts +32 -0
package/src/styles.css ADDED
@@ -0,0 +1,3993 @@
1
+ /*
2
+ * @mountaya/studio-react: the studio surface.
3
+ *
4
+ * Kept apart from `@mountaya/elements-react`'s sheet because the two serve different consumers.
5
+ * That one paints the map controls and the elevation profile, and every application mounting a
6
+ * zoom button loads it. This one paints the studio, which is opted into by installing this
7
+ * package: the same split the built-graph gate holds for the JavaScript, applied to the CSS so
8
+ * an application that never renders a studio never downloads its rules. The sheet this package
9
+ * publishes composes Mantine's, then that one, then this one (`scripts/compose-styles.mjs`), so
10
+ * a studio's application imports `@mountaya/studio-react/styles.css` and nothing else.
11
+ *
12
+ * The theming seam is the same one: every dimension and colour reads a `--mtya-*` custom
13
+ * property with a default, so an application restyles by setting a handful of variables on any
14
+ * ancestor rather than by out-specifying these selectors.
15
+ *
16
+ * **Two token systems meet here, and they are not fought.** These components are Mantine's, so
17
+ * they also read `--mantine-*`, but the SCHEME is read off this package's own attribute on the
18
+ * studio root rather than Mantine's on the html root (see `.mtya-studio`). The rule is that
19
+ * `--mtya-*` names what MOUNTAYA decided (a row's rhythm, a seam's affordance) and Mantine's
20
+ * own props and tokens carry everything a Mantine consumer already knows how to change. A
21
+ * variable that merely restates a Mantine token would be a second name for one decision.
22
+ *
23
+ * No `light-dark()`. LightningCSS lowers it into a polyfill that collapses to `transparent` in
24
+ * production, the same reason `@mountaya/elements-react`'s sheet avoids it.
25
+ */
26
+
27
+ /* ------------------------------------------------------------------------------------------
28
+ * The one spacing step Mantine's scale does not carry
29
+ * ---------------------------------------------------------------------------------------- */
30
+
31
+ /*
32
+ * `xxs` is the step below `xs`, and these components space by it: the gap between a row's
33
+ * label and its caption, the inset inside a rename field, the rhythm of a panel's second line.
34
+ *
35
+ * Mantine resolves `gap="xxs"` to `var(--mantine-spacing-xxs)` whether or not a theme declares
36
+ * one: `getSize` builds the variable reference from the key without consulting the scale. So a
37
+ * key nobody declared produces a reference to nothing, the declaration is invalid at computed
38
+ * value time, and the browser drops it: every one of those gaps collapses to zero, in silence,
39
+ * in a consumer's application while reading correctly under a theme that declares it. Nothing
40
+ * throws and nothing looks wrong in review; the rows are simply tighter than they are designed
41
+ * to be.
42
+ *
43
+ * It is a DEFAULT rather than a decision taken away from the consumer, and the precedence is
44
+ * the same one every `--mtya-*` default below relies on: Mantine writes its variables from a
45
+ * `<style>` element the provider renders inside the React tree, which resolves after a sheet
46
+ * loaded in the head, so a theme declaring its own `xxs` overrides this and a theme that does
47
+ * not gets a working step.
48
+ *
49
+ * `boundary.test.ts` fails any spacing key this package names that is neither on Mantine's own
50
+ * scale nor declared here.
51
+ *
52
+ * The font size of the same name is declared beside it, for the rules of this sheet that read
53
+ * `var(--mantine-font-size-xxs)`: with nothing declared the reference is to nothing, `font-size`
54
+ * inherits and the text is drawn at its parent's size. `styles.test.ts` fails a font size this
55
+ * sheet reads that is neither on Mantine's own scale nor declared here.
56
+ *
57
+ * It answers nothing for a component's `fz="xxs"`. Mantine resolves a spacing key without
58
+ * consulting the scale and a font-size key by it: the reference is built only for a key the
59
+ * theme's `fontSizes` declares, and any other key is written as it stands, which is no font
60
+ * size. So a component that passes the key is drawn at this size only under a theme that
61
+ * declares `fontSizes.xxs`, which `mountayaStudioTheme` does.
62
+ */
63
+ :root {
64
+ --mantine-font-size-xxs: 0.625rem;
65
+ --mantine-spacing-xxs: 0.25rem;
66
+ }
67
+
68
+ /* ------------------------------------------------------------------------------------------
69
+ * The studio root
70
+ * ---------------------------------------------------------------------------------------- */
71
+
72
+ /*
73
+ * `.mtya-studio` is the element `MountayaStudioHost` renders around everything, and several
74
+ * separate things hang off it.
75
+ *
76
+ * **The tokens.** Every `--mtya-*` this sheet and `@mountaya/elements-react`'s read is declared
77
+ * here once, at its default. That sheet ALSO assigns its own block on each element root (see
78
+ * its `.mtya-profile` for why a published package must not write to `:root`), so an element
79
+ * mounted inside a studio shadows what is declared here and takes its values from the host's
80
+ * `tokens` prop instead, which lands inline on the element and outranks both. The two are not
81
+ * in conflict: this block is what every studio surface reads, and the inline style is what
82
+ * reaches an element.
83
+ *
84
+ * **The colour scheme.** `data-mtya-color-scheme` is written here and read by both sheets, so a
85
+ * studio and the map chrome inside it can never disagree. Mantine's own
86
+ * `[data-mantine-color-scheme]` is a different attribute on a different element (the html
87
+ * root), so an embed reading it would draw light map controls under dark panels when it renders
88
+ * a dark studio inside a light page.
89
+ *
90
+ * **The container.** `container-type: inline-size` is what makes the queries below measure the
91
+ * STUDIO rather than the viewport. A studio is a region of somebody's page (beside a sidenav,
92
+ * inside a split view, in a modal), and a `@media (max-width: 36em)` asks about a window that
93
+ * may be three times the width of the panel it is deciding for.
94
+ *
95
+ * **The base.** Mantine's sheet states the text colour, the font and `color-scheme` on `body` and
96
+ * `:root`, from variables a provided design system writes on this root instead, so nothing above
97
+ * the root reads them. The root restates that base, so an unstyled node inside a dark studio
98
+ * inherits the studio's text colour rather than the page's. Under a design system the host
99
+ * provides above the studio the same variables resolve to that provider's base, which is the
100
+ * page's already, and a variable no sheet declares leaves the property inherited.
101
+ */
102
+ .mtya-studio {
103
+ --mtya-accent: #1c7ed6;
104
+ --mtya-activity-badge-bg: rgba(0, 0, 0, 0.04);
105
+ --mtya-activity-badge-size: 1.75rem;
106
+ --mtya-activity-glyph-color: rgb(100, 116, 139);
107
+ --mtya-activity-glyph-size: 1rem;
108
+ --mtya-brand-font: inherit;
109
+ --mtya-control-bg: #ffffff;
110
+ --mtya-control-bg-hover: #f1f3f5;
111
+ --mtya-control-fg: #212529;
112
+ --mtya-control-fg-disabled: #adb5bd;
113
+ --mtya-control-gap: 4px;
114
+ --mtya-control-radius: 8px;
115
+ --mtya-control-shadow: 0 1px 3px rgb(0 0 0 / 5%), 0 1px 2px rgb(0 0 0 / 10%);
116
+ --mtya-control-size: 36px;
117
+ --mtya-dimmed: #868e96;
118
+ --mtya-edge-inset: 16px;
119
+ --mtya-focus-ring: #1c7ed6;
120
+ --mtya-focus-ring-color: #339af0;
121
+ --mtya-focus-ring-offset: 2px;
122
+ --mtya-focus-ring-width: 2px;
123
+ --mtya-font: system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
124
+ --mtya-layer-thumb-height: 52px;
125
+ --mtya-layer-thumb-height-sm: 40px;
126
+ --mtya-panel-bg: #ffffff;
127
+ --mtya-panel-border: #dee2e6;
128
+ --mtya-panel-fg: #212529;
129
+ --mtya-panel-radius: 12px;
130
+ --mtya-panel-width: 280px;
131
+ --mtya-profile-axis-font-size: 11px;
132
+ --mtya-profile-axis-size: 68px;
133
+ --mtya-profile-band-size: 8px;
134
+ --mtya-profile-chart-size: 120px;
135
+ --mtya-profile-cursor: #212529;
136
+ --mtya-profile-cursor-dash: 3 3;
137
+ --mtya-profile-grid-color: #dee2e6;
138
+ --mtya-profile-lit-fill: rgb(233 80 30 / 12%);
139
+ --mtya-profile-navigator-handle: #212529;
140
+ --mtya-profile-navigator-size: 36px;
141
+ --mtya-profile-navigator-veil: rgb(255 255 255 / 62%);
142
+ --mtya-profile-padding: 12px 16px;
143
+ --mtya-profile-section-gap: 4px;
144
+ --mtya-profile-tooltip-bg: #ffffff;
145
+ --mtya-profile-tooltip-fg: #212529;
146
+ --mtya-profile-tooltip-shadow: 0 2px 8px rgb(0 0 0 / 12%);
147
+ --mtya-profile-waypoint-color: #868e96;
148
+ --mtya-profile-waypoint-line: 1px dashed #adb5bd;
149
+ --mtya-profile-waypoint-open-size: 24px;
150
+ --mtya-profile-waypoint-size: 8px;
151
+ --mtya-profile-xaxis-size: 34px;
152
+ --mtya-place-mark-color: #3b82f6;
153
+ --mtya-place-mark-size: 28px;
154
+ --mtya-search-input-color: #404040;
155
+ --mtya-search-input-color-dark: var(--mantine-color-dark-0);
156
+ --mtya-search-input-held-bg: var(--mantine-color-gray-1);
157
+ --mtya-search-input-held-bg-dark: var(--mantine-color-dark-5);
158
+ --mtya-search-row-hover-bg: var(--mantine-color-gray-1);
159
+ --mtya-search-row-selected-bg: var(--mantine-color-blue-light);
160
+ --mtya-segment-swatch-radius: 50%;
161
+ --mtya-table-border: #dee2e6;
162
+ --mtya-table-card-gap: 8px;
163
+ --mtya-table-cell-padding: 8px 12px;
164
+ --mtya-table-font-size: 13px;
165
+ --mtya-table-header-font-size: 11px;
166
+ --mtya-table-padding: 12px 16px;
167
+ --mtya-table-row-hover: #f1f3f5;
168
+ --mtya-table-spark-base: #dee2e6;
169
+ --mtya-table-spark-inline-size: 140px;
170
+ --mtya-table-spark-size: 28px;
171
+ --mtya-tooltip-bg: #212529;
172
+ --mtya-tooltip-fg: #ffffff;
173
+ --mtya-waypoint-card-gap: 16px;
174
+ --mtya-waypoint-card-mark-color: #3b82f6;
175
+ --mtya-waypoint-card-mark-fg: #fff;
176
+ --mtya-waypoint-card-mark-size: 36px;
177
+ container-name: mtya-studio;
178
+ container-type: inline-size;
179
+ font-family: var(--mantine-font-family);
180
+ font-size: var(--mantine-font-size-md);
181
+ -webkit-font-smoothing: var(--mantine-webkit-font-smoothing);
182
+ -moz-osx-font-smoothing: var(--mantine-moz-font-smoothing);
183
+ line-height: var(--mantine-line-height);
184
+ color: var(--mantine-color-text);
185
+ color-scheme: var(--mantine-color-scheme);
186
+ }
187
+
188
+ /*
189
+ * The dark scheme, as the handful of tokens that actually differ.
190
+ *
191
+ * A second full copy of the block above would be two lists to keep in step, and the drift is
192
+ * invisible: a token that stayed light in the dark block simply paints the light value.
193
+ *
194
+ * Two selectors, since the scheme is stated in two places. `MountayaStudioHost` writes the
195
+ * attribute on the studio root itself, the element that carries `.mtya-studio`, which a
196
+ * descendant selector never matches; a page that states the scheme around a studio matches the
197
+ * second.
198
+ */
199
+ .mtya-studio[data-mtya-color-scheme="dark"],
200
+ [data-mtya-color-scheme="dark"] .mtya-studio {
201
+ --mtya-control-bg: #25262b;
202
+ --mtya-control-bg-hover: #373a40;
203
+ --mtya-control-fg: #c1c2c5;
204
+ --mtya-control-fg-disabled: #5c5f66;
205
+ --mtya-panel-bg: #25262b;
206
+ --mtya-panel-fg: #c1c2c5;
207
+ --mtya-panel-border: #373a40;
208
+ --mtya-tooltip-bg: #f1f3f5;
209
+ --mtya-tooltip-fg: #141517;
210
+ --mtya-activity-badge-bg: rgb(255 255 255 / 6%);
211
+ --mtya-activity-glyph-color: #909296;
212
+ --mtya-search-row-hover-bg: var(--mantine-color-dark-6);
213
+ }
214
+
215
+ /*
216
+ * The node every portalled surface lands in.
217
+ *
218
+ * It renders nothing of its own (Mantine appends into it), and it is INSIDE the studio root on
219
+ * purpose: a `Menu.Dropdown` portalled to `document.body` sits outside the token block and the
220
+ * scheme attribute above, so it paints with whatever the page says. `StudioPortalScope` points
221
+ * every portalled surface beneath it here, which is what keeps a dropdown, a tooltip and a modal
222
+ * inside the studio's own cascade.
223
+ *
224
+ * Zero-sized rather than absent: it has to be a real element for a portal to find it, and a
225
+ * zero-sized one occupies no space in whatever layout the studio root is running.
226
+ */
227
+ .mtya-studio-portal {
228
+ display: contents;
229
+ }
230
+
231
+ /*
232
+ * A dialog fills the studio, not the window.
233
+ *
234
+ * Mantine bounds a dialog by the window: its inner box and its overlay are `position: fixed` and
235
+ * a full-screen dialog is `100dvh` tall. A studio is often one region of a page, and a dialog it
236
+ * opens belongs to that region, so the rules below bound the parts the studio's theme names
237
+ * (`mtya-modal`, `mtya-modal-overlay`, `mtya-modal-inner`, `mtya-modal-content`) by the studio's
238
+ * root instead. Each is scoped under `.mtya-studio`, so a dialog drawn with the theme outside a
239
+ * studio keeps Mantine's own bounds.
240
+ *
241
+ * The root is the containing block, under `:where()` so the rule weighs nothing: a host that
242
+ * positions the root with a class of its own (`absolute`, `fixed`) keeps its position.
243
+ *
244
+ * The inner box is sticky and at most a window tall, because a root can be taller than the
245
+ * window: an application that mounts its whole page inside one host scrolls inside the root. A
246
+ * dialog opened there keeps to the part of the root on screen rather than centring itself on the
247
+ * whole page. A root that fits in the window is exactly the box the dialog fills.
248
+ *
249
+ * The side gutter of a centred dialog is a share of the studio's width (`cqw` against the
250
+ * `mtya-studio` container) rather than of the window's, so a narrow studio on a wide screen does
251
+ * not squeeze its dialogs. A dialog that states an `xOffset` of its own writes it inline and
252
+ * keeps it.
253
+ *
254
+ * Mantine's full-screen height sits on a three-class selector, which the last rule outweighs, so
255
+ * the bound holds whichever copy of Mantine's sheet is in charge and in whatever order. It also
256
+ * lifts the height cap the rule before it gives a centred dialog: Mantine lifts it for a
257
+ * full-screen dialog in a layered rule, which an unlayered one outranks whatever its weight.
258
+ */
259
+ :where(.mtya-studio) {
260
+ position: relative;
261
+ }
262
+
263
+ .mtya-studio .mtya-modal {
264
+ --modal-x-offset: 5cqw;
265
+ position: absolute;
266
+ inset: 0;
267
+ }
268
+
269
+ .mtya-studio .mtya-modal-overlay {
270
+ position: absolute;
271
+ }
272
+
273
+ .mtya-studio .mtya-modal-inner {
274
+ position: sticky;
275
+ top: 0;
276
+ bottom: auto;
277
+ height: min(100%, 100dvh);
278
+ }
279
+
280
+ .mtya-studio .mtya-modal-content {
281
+ --modal-content-max-height: calc(100% - var(--modal-y-offset) * 2);
282
+ }
283
+
284
+ .mtya-studio .mtya-modal[data-full-screen] .mtya-modal-content {
285
+ --modal-content-height: 100%;
286
+ --modal-content-max-height: none;
287
+ }
288
+
289
+ /*
290
+ * A part shown by the STUDIO's width, the container-query mirror of Mantine's `visibleFrom`.
291
+ *
292
+ * Mantine's prop asks the window, and a dialog fills the studio, which a page that embeds one
293
+ * makes narrower than the window: a surface laid out by the window's width would show the
294
+ * columns of a wide screen in a narrow frame. These ask the `mtya-studio` container at
295
+ * Mantine's own breakpoints, written out because a container condition reads no variable. In a
296
+ * studio that fills the window the two answer the same.
297
+ *
298
+ * `visible-from-<size>` hides the part in a studio narrower than the breakpoint. The rules
299
+ * weigh two classes, so a component's own `display` does not bring the part back.
300
+ */
301
+ @container mtya-studio (width < 36em) {
302
+ .mtya-studio .mtya-studio-visible-from-xs {
303
+ display: none;
304
+ }
305
+ }
306
+
307
+ @container mtya-studio (width < 48em) {
308
+ .mtya-studio .mtya-studio-visible-from-sm {
309
+ display: none;
310
+ }
311
+ }
312
+
313
+ @container mtya-studio (width < 62em) {
314
+ .mtya-studio .mtya-studio-visible-from-md {
315
+ display: none;
316
+ }
317
+ }
318
+
319
+ @container mtya-studio (width < 75em) {
320
+ .mtya-studio .mtya-studio-visible-from-lg {
321
+ display: none;
322
+ }
323
+ }
324
+
325
+ /* ------------------------------------------------------------------------------------------
326
+ * A labelled field's control
327
+ * ---------------------------------------------------------------------------------------- */
328
+
329
+ /*
330
+ * The body a picker field lays under its Input.Wrapper (the unit, theme, tint and base map
331
+ * pickers, the allowlist): an `xs` gap under the field's description, none under a bare label,
332
+ * whose own margin spaces it. Mantine offsets only an input of the wrapper's own, so a body of
333
+ * cards or of two controls takes its gap here.
334
+ *
335
+ * Under `:where()`, so the rule weighs nothing: a host whose theme lays its fields out on an
336
+ * anatomy of its own (one gap from a field's text to its control, whatever the control) keeps
337
+ * it, which an inline margin would outrank.
338
+ */
339
+ :where(.mtya-field-control[data-described]) {
340
+ margin-top: var(--mantine-spacing-xs);
341
+ }
342
+
343
+ /* ------------------------------------------------------------------------------------------
344
+ * Segment rows
345
+ * ---------------------------------------------------------------------------------------- */
346
+
347
+ /*
348
+ * The colour swatch that opens a segment's recolour popover.
349
+ *
350
+ * A pointer cursor and a focus ring are the whole affordance: the swatch IS the control, so it
351
+ * carries no border of its own, since a ring around a colour reads as part of the colour.
352
+ */
353
+ .mtya-segment-swatch {
354
+ cursor: pointer;
355
+ border-radius: var(--mtya-segment-swatch-radius, 50%);
356
+ }
357
+
358
+ .mtya-segment-swatch:focus-visible {
359
+ outline: var(--mtya-focus-ring-width, 2px) solid var(--mtya-focus-ring-color, #339af0);
360
+ outline-offset: var(--mtya-focus-ring-offset, 2px);
361
+ }
362
+
363
+ /* ------------------------------------------------------------------------------------------
364
+ * The inline rename field
365
+ *
366
+ * A global sheet rather than a CSS module, so the isolation is the `mtya-` prefix plus the
367
+ * class gate, which fails any class this entry renders and does not paint. The doubled
368
+ * selector below (`.mtya-rename-input.mtya-rename-input`) is not a typo: see its own comment.
369
+ * ---------------------------------------------------------------------------------------- */
370
+ /*
371
+ * `.mtya-rename-column` is the editable name column: the field stacked over its error/details
372
+ * line. It is the flex child of the row's nowrap group (flex:1 + min-width:0), the
373
+ * same footprint the static name text occupies. It also publishes the resting name's
374
+ * typography as custom properties (the component sets them from the caller's tokens),
375
+ * which both this column and the field below read, so the two boxes are identical
376
+ * by construction rather than by two declarations agreeing.
377
+ */
378
+ .mtya-rename-column {
379
+ flex: 1;
380
+ min-width: 0;
381
+ font-size: var(--mtya-rename-fz);
382
+ font-weight: var(--mtya-rename-fw);
383
+ line-height: var(--mtya-rename-lh);
384
+ }
385
+
386
+ /*
387
+ * `.mtya-rename-root` lets the input shrink within the column so a long name truncates rather
388
+ * than pushing the row's menu out.
389
+ */
390
+ .mtya-rename-root {
391
+ min-width: 0;
392
+ }
393
+
394
+ /*
395
+ * `.mtya-rename-input` is the inline rename field shared by the itinerary and collection rows.
396
+ * Paired with variant="unstyled" it strips Mantine's bordered control, so the
397
+ * field reads as the resting name turned editable: the same font and line height
398
+ * with no vertical padding and no min-height, so it is exactly as tall as the name
399
+ * line and the row never grows. The edit boundary is a box-shadow ring, painted
400
+ * outside the box model, so unlike a 1px border it adds no height and never shifts
401
+ * the row. A negative inline margin offsets the field's own horizontal padding so
402
+ * the text keeps the name's exact position while the ring sits a few pixels around
403
+ * it: the feel of slowly double-clicking a file name in macOS Finder. A consumer may
404
+ * load Mantine's unlayered sheet (`@mantine/core/styles.css`) beside this one, where a
405
+ * single-class rule only ties Mantine's and loses the source-order tie; the sizing
406
+ * resets below double their class to outrank Mantine's single-class input rules
407
+ * without inline-style overrides.
408
+ */
409
+ .mtya-rename-input {
410
+ padding-inline: var(--mantine-spacing-xxs);
411
+ /* A negative inline margin offsets the field's own horizontal padding so the text
412
+ keeps the name's exact position while the ring sits a few pixels around it. */
413
+ margin-inline: calc(var(--mantine-spacing-xxs) * -1);
414
+ background-color: var(--mantine-color-body);
415
+ border-radius: var(--mantine-radius-sm);
416
+ box-shadow: 0 0 0 1px var(--mantine-color-gray-4);
417
+ }
418
+
419
+ /*
420
+ * The sizing resets collapse the field onto the resting name's text line exactly.
421
+ *
422
+ * The type is the load-bearing part. A form control does not inherit type from its
423
+ * container by default, and Mantine then gives the input a size of its own
424
+ * (`--input-fz` and a line height driven off `--input-height`, 36px at the theme's
425
+ * `sm`), neither of which knows anything about the text the field is standing in for.
426
+ * Spelling the field's own font size and line height here would make it agree with the
427
+ * `xs` list rows and disagree with every other caller, nudging the row a pixel or two
428
+ * taller the moment a rename opens. Reading the caller's own tokens instead is what
429
+ * makes the two boxes the same box.
430
+ *
431
+ * They are custom properties and not `inherit`: the field is nested inside Mantine's
432
+ * input wrapper, which carries a line height of its own, so an inherited one reaches
433
+ * the field as the WRAPPER's value, and the row would grow by exactly that difference.
434
+ * A custom property passes through any number of wrappers untouched.
435
+ *
436
+ * The remaining resets zero the vertical margin, padding, and border, so the field's
437
+ * box IS its line box. Doubling the class (`.mtya-rename-input.mtya-rename-input`) raises the
438
+ * specificity above Mantine's single-class input rules so these win without `!important`.
439
+ */
440
+ .mtya-rename-input.mtya-rename-input {
441
+ height: auto;
442
+ min-height: 0;
443
+ padding-block: 0;
444
+ margin-block: 0;
445
+ font-family: inherit;
446
+ font-size: var(--mtya-rename-fz);
447
+ font-weight: var(--mtya-rename-fw);
448
+ line-height: var(--mtya-rename-lh);
449
+ border: 0;
450
+ }
451
+
452
+ /*
453
+ * The field is auto-focused the instant a rename starts, so the focus ring is the
454
+ * live edit affordance: a 2px ring in the primary color reads clearly as "this is
455
+ * being edited" and is unmistakably distinct from a static input border.
456
+ */
457
+ .mtya-rename-input:focus,
458
+ .mtya-rename-input:focus-visible {
459
+ outline: none;
460
+ box-shadow: 0 0 0 2px var(--mantine-primary-color-filled);
461
+ }
462
+
463
+ /*
464
+ * An invalid draft (a name `displayNameSchema` of `@mountaya/studio` refuses) outlines the
465
+ * field in red, at rest and while focused, to match the red error text shown below it.
466
+ */
467
+ .mtya-rename-input[aria-invalid="true"],
468
+ .mtya-rename-input[aria-invalid="true"]:focus {
469
+ box-shadow: 0 0 0 2px var(--mantine-color-red-6);
470
+ }
471
+
472
+ /* ------------------------------------------------------------------------------------------
473
+ * A plugin's own view, held while an agent run drives
474
+ * ---------------------------------------------------------------------------------------- */
475
+
476
+ /*
477
+ * The studio holds a contribution's `view` inert for the length of a run and dims it the way a
478
+ * disabled control is dimmed, so it reads as coming back. The outer element keeps the pointer:
479
+ * what is inert takes no hover, and the tooltip that names the lock needs one.
480
+ */
481
+ .mtya-plugin-held {
482
+ cursor: not-allowed;
483
+ }
484
+
485
+ .mtya-plugin-held-view {
486
+ opacity: 0.6;
487
+ }
488
+
489
+ /* ------------------------------------------------------------------------------------------
490
+ * The three-dots menu trigger
491
+ * ---------------------------------------------------------------------------------------- */
492
+
493
+ /*
494
+ * Keeps a `…` trigger showing its hover background for as long as its dropdown stays open, so
495
+ * the trigger reads as active while the user scans the menu. Mantine sets `data-expanded` on
496
+ * the trigger child when the dropdown opens, so this reproduces ActionIcon's own `:hover`
497
+ * treatment keyed on that attribute: same variables, same loading/disabled guard.
498
+ *
499
+ * Unlayered, so it wins over the layered Mantine hover rule on the frames where both apply.
500
+ */
501
+ .mtya-menu-trigger[data-expanded]:where(:not([data-loading], :disabled, [data-disabled])) {
502
+ color: var(--ai-hover-color, var(--ai-color));
503
+ background-color: var(--ai-hover, var(--mantine-primary-color-filled-hover));
504
+ }
505
+
506
+ /* ------------------------------------------------------------------------------------------
507
+ * The editor list, its gutter, and the group chip
508
+ * ---------------------------------------------------------------------------------------- */
509
+
510
+ /*
511
+ * mtya-editor-list is the bordered container the editor rows sit in. Its 1px border and small
512
+ * radius match the form inputs above the list so the section reads as one family
513
+ * with them. Each direct child is one row, padded on all sides; a 1px divider sits
514
+ * between adjacent rows (never above the first or below the last), so the rows read
515
+ * as a continuous list inside one frame. An empty mtya-editor-list keeps its border so the
516
+ * section's footprint is stable before the first row lands.
517
+ */
518
+ .mtya-editor-list {
519
+ border: 1px solid var(--mantine-color-default-border);
520
+ border-radius: var(--mantine-radius-sm);
521
+ }
522
+
523
+ /*
524
+ * An editor's list of segments or waypoints can grow long (an itinerary's chain has no
525
+ * bound of its own), so each row skips its layout and paint while scrolled out of view
526
+ * and reserves its height instead, letting the mtya-editor-list paint only the rows on screen with
527
+ * no virtualization machinery. The reserved size is the height the row last rendered
528
+ * at, falling back to a two-line row (the icon disk beside a name over its dimmed
529
+ * subtitle, inside the xs padding) before it has ever been measured, so a row that
530
+ * expands into an inline edit keeps its real height once it has been seen.
531
+ */
532
+ .mtya-editor-list > * {
533
+ contain-intrinsic-size: auto 60px;
534
+ padding: var(--mantine-spacing-xs);
535
+ content-visibility: auto;
536
+ cursor: pointer;
537
+ }
538
+
539
+ /*
540
+ * Each row highlights on hover (and stays held while its action menu is open, via
541
+ * the data-menu-open the row sets) with the same neutral gray the itinerary list
542
+ * rows and the map controls use. The background lives on the padded row element so
543
+ * the highlight (and the pointer cursor) covers the ENTIRE row including its
544
+ * padding, matching the itinerary list's whole-row hover affordance.
545
+ *
546
+ * data-map-hovered takes the SAME highlight from the other direction: the pointer is
547
+ * over this row's geometry on the map rather than over the row. One treatment for one
548
+ * meaning ("this is the one you are pointing at"), so the two surfaces answer each
549
+ * other in the same visual language rather than inventing a second highlight.
550
+ */
551
+ .mtya-editor-list > *:hover,
552
+ .mtya-editor-list > *[data-menu-open],
553
+ .mtya-editor-list > *[data-map-hovered] {
554
+ background-color: var(--mantine-color-gray-1);
555
+ }
556
+
557
+ /*
558
+ * Mantine's palette shades hold one value in both schemes, so the grey above is near-white
559
+ * under the dark scheme's light text. The dark scheme paints the same three states in the dark
560
+ * shade the place editor's rows use.
561
+ *
562
+ * The scheme sits in `:where()`, which adds nothing to the specificity: the dark rule weighs
563
+ * what the light one weighs and wins by coming after it, so every rule that paints over a
564
+ * hovered row in the light scheme paints over it in the dark one too.
565
+ */
566
+ :where([data-mtya-color-scheme="dark"]) .mtya-editor-list > *:hover,
567
+ :where([data-mtya-color-scheme="dark"]) .mtya-editor-list > *[data-menu-open],
568
+ :where([data-mtya-color-scheme="dark"]) .mtya-editor-list > *[data-map-hovered] {
569
+ background-color: var(--mantine-color-dark-6);
570
+ }
571
+
572
+ /*
573
+ * While a row is renaming the inline input owns the pointer, so the row is no
574
+ * longer a single click target: drop the pointer cursor to the default arrow, the
575
+ * same posture the itinerary list row takes while editing.
576
+ */
577
+ .mtya-editor-list > *[data-editing] {
578
+ cursor: default;
579
+ }
580
+
581
+ /*
582
+ * A read-only row (a surface that grants no editor capability, such as the public share view)
583
+ * is not a click target at all: it neither selects nor edits, so it drops the pointer
584
+ * cursor for good. It KEEPS the hover background: hovering still emphasizes the row's
585
+ * entity on the map, so the highlight reads as "this is the one you are looking at".
586
+ */
587
+ .mtya-editor-list > *[data-readonly] {
588
+ cursor: default;
589
+ }
590
+
591
+ /*
592
+ * mtya-editor-list-empty wraps the empty-state explainer that fills the mtya-editor-list
593
+ * before the first row lands. It is not a click target, so it opts out of the row hover
594
+ * background and the pointer cursor the rules above give every direct child (its higher
595
+ * specificity, `.mtya-editor-list > .mtya-editor-list-empty`, overrides them), leaving the
596
+ * explainer reading as static copy rather than a selectable row.
597
+ *
598
+ * It also gives back the BLOCK half of that padding, keeping only the inline half.
599
+ * The explainer inside is the shared empty state at its inline size, which already
600
+ * insets itself vertically by xs; the row's own xs padding stacked on top of it would
601
+ * make an empty list stand half a row taller than the single-height rows that replace it.
602
+ * Zeroing it HERE rather than in the shared empty state is deliberate (that block
603
+ * has other consumers whose spacing is its own), and the inline padding stays, so the
604
+ * explainer starts on the same inline edge every row does.
605
+ */
606
+ .mtya-editor-list > .mtya-editor-list-empty {
607
+ padding-block: 0;
608
+ cursor: default;
609
+ }
610
+
611
+ .mtya-editor-list > .mtya-editor-list-empty:hover {
612
+ background-color: transparent;
613
+ }
614
+
615
+ .mtya-editor-list > * + * {
616
+ border-top: 1px solid var(--mantine-color-default-border);
617
+ }
618
+
619
+ /*
620
+ * mtya-segment-seam is the gutter above a row: a zero-height sibling of the rows rather than
621
+ * anything rendered inside one. It has to be a sibling, because every direct child
622
+ * of the mtya-editor-list carries `content-visibility: auto`, which implies paint containment:
623
+ * an affordance drawn inside a row and offset above it would simply be clipped away.
624
+ * It takes back the row treatment the rules above give every direct child: no
625
+ * padding and no height (so the list is exactly as tall as it would be without seams), no
626
+ * pointer cursor, no hover background, and content-visibility reset to visible with
627
+ * no reserved intrinsic size, or every mtya-segment-seam would hold back a row's worth of space
628
+ * for content that is one absolutely-positioned pill.
629
+ *
630
+ * It KEEPS the border-top `.mtya-editor-list > * + *` gives it, which is the point: the
631
+ * mtya-segment-seam IS the divider between two rows rather than an extra line beside one.
632
+ * Its z-index lifts the overflowing pill above the neighbouring rows' backgrounds.
633
+ */
634
+ .mtya-editor-list > .mtya-segment-seam {
635
+ position: relative;
636
+ z-index: 2;
637
+ block-size: 0;
638
+ contain-intrinsic-size: none;
639
+ padding: 0;
640
+ content-visibility: visible;
641
+ cursor: default;
642
+ }
643
+
644
+ .mtya-editor-list > .mtya-segment-seam:hover,
645
+ .mtya-editor-list > .mtya-segment-seam[data-menu-open] {
646
+ background-color: transparent;
647
+ }
648
+
649
+ /*
650
+ * The mtya-segment-seam already drew the divider, so the row directly beneath it must not
651
+ * draw a second one. This is also what keeps the FIRST row free of a divider above it: it
652
+ * follows the leading mtya-segment-seam, so without this the leading mtya-segment-seam would
653
+ * introduce a line the list never had.
654
+ */
655
+ .mtya-editor-list > .mtya-segment-seam + * {
656
+ border-top: 0;
657
+ }
658
+
659
+ /*
660
+ * The pill straddles the divider, overflowing symmetrically out of the zero-height
661
+ * mtya-segment-seam, and sits at the row's inline end so it never covers a segment name. It is
662
+ * transparent AND pointer-transparent at rest, so an invisible control can never
663
+ * swallow a click meant for the row padding underneath it.
664
+ */
665
+ .mtya-segment-seam-controls {
666
+ position: absolute;
667
+ inset-block-start: 0;
668
+ inset-inline-end: var(--mantine-spacing-xs);
669
+ display: flex;
670
+ gap: var(--mantine-spacing-xxs);
671
+ pointer-events: none;
672
+ opacity: 0;
673
+ transform: translateY(-50%);
674
+ }
675
+
676
+ @media (prefers-reduced-motion: no-preference) {
677
+ .mtya-segment-seam-controls {
678
+ transition: opacity 100ms ease;
679
+ }
680
+ }
681
+
682
+ /*
683
+ * The reveal is pure CSS: hovering either of the two rows the mtya-segment-seam sits between,
684
+ * or the pill itself, so it survives the pointer travelling onto it, fades it in.
685
+ * No React state and no re-render on pointer move, which matters on a long chain
686
+ * where every row is memoized.
687
+ *
688
+ * The one exception is an OPEN engine picker: its dropdown is portalled out of the
689
+ * mtya-segment-seam, so the pointer moving into it leaves every hover selector above and the pill
690
+ * would fade out from under the menu it just opened. The mtya-segment-seam sets data-menu-open
691
+ * for exactly that span, which is the same trick a row uses to hold its highlight
692
+ * under its own kebab.
693
+ */
694
+ .mtya-editor-list > *:hover + .mtya-segment-seam .mtya-segment-seam-controls,
695
+ .mtya-editor-list > .mtya-segment-seam:has(+ *:hover) .mtya-segment-seam-controls,
696
+ .mtya-editor-list > .mtya-segment-seam:hover .mtya-segment-seam-controls,
697
+ .mtya-editor-list > .mtya-segment-seam[data-menu-open] .mtya-segment-seam-controls {
698
+ pointer-events: auto;
699
+ opacity: 1;
700
+ }
701
+
702
+ /*
703
+ * Reaching for a gutter's merge names its two operands: the row ABOVE the mtya-segment-seam and the
704
+ * row BELOW it take the same hover background they would take on their own, so the
705
+ * verb reads as "these two, into one" before it is clicked rather than after. The pair
706
+ * is expressed the only way CSS can reach backwards (the row is selected by what
707
+ * FOLLOWS it), which is also why this is one rule and not a React hover state: the
708
+ * reveal above drives the gutter without re-rendering a chain of memoized rows, and a
709
+ * merge preview must not be the thing that reintroduces it.
710
+ *
711
+ * The map half of the same preview is dispatched from the pill, since no stylesheet
712
+ * can light a line in a tile.
713
+ */
714
+ .mtya-editor-list > *:has(+ .mtya-segment-seam [data-merge]:hover),
715
+ .mtya-editor-list > .mtya-segment-seam:has([data-merge]:hover) + * {
716
+ background-color: var(--mantine-color-gray-1);
717
+ }
718
+
719
+ /* The merge pair in the dark scheme, in the shade a hovered row takes there. */
720
+ :where([data-mtya-color-scheme="dark"])
721
+ .mtya-editor-list
722
+ > *:has(+ .mtya-segment-seam [data-merge]:hover),
723
+ :where([data-mtya-color-scheme="dark"])
724
+ .mtya-editor-list
725
+ > .mtya-segment-seam:has([data-merge]:hover)
726
+ + * {
727
+ background-color: var(--mantine-color-dark-6);
728
+ }
729
+
730
+ /*
731
+ * A mtya-segment-seam that introduces a group grows from zero to its content: it carries the run's
732
+ * chip, which is the group's header. Every other mtya-segment-seam stays exactly zero-height, so
733
+ * the list gains height only where a group actually starts.
734
+ *
735
+ * The pill stays anchored to the seam's TOP edge (the divider it replaces), which is
736
+ * where its absolute positioning already puts it, so growing the mtya-editor-list moves the chip
737
+ * down without moving the accelerator.
738
+ */
739
+ .mtya-editor-list > .mtya-segment-seam[data-group-start] {
740
+ block-size: auto;
741
+ padding-block: var(--mantine-spacing-xxs);
742
+ padding-inline: var(--mantine-spacing-xs);
743
+ }
744
+
745
+ /*
746
+ * mtya-group-chip is the run's header: the one control the whole group shares, and the way
747
+ * into its editor. The mtya-segment-seam it sits in drops the pointer cursor every other row gets,
748
+ * so the chip takes it back: it IS a click target, and nothing else in the gutter is
749
+ * at rest. Its Pencil is the affordance that says so, revealed on hover and on
750
+ * keyboard focus with the same opacity fade the accelerator pill uses, so the chip
751
+ * reads as a label until it is reached for. A chip held inert while the co-pilot
752
+ * drives keeps the default cursor rather than promising a click it will not take,
753
+ * keyed on aria-disabled, because the chip stays a real, focusable button while it is
754
+ * inert so its tooltip can still say why.
755
+ */
756
+ .mtya-group-chip {
757
+ display: inline-flex;
758
+ gap: var(--mantine-spacing-xxs);
759
+ align-items: center;
760
+ cursor: pointer;
761
+ }
762
+
763
+ .mtya-group-chip[aria-disabled="true"] {
764
+ cursor: default;
765
+ }
766
+
767
+ .mtya-group-chip-glyph {
768
+ opacity: 0;
769
+ }
770
+
771
+ .mtya-group-chip:hover .mtya-group-chip-glyph,
772
+ .mtya-group-chip:focus-visible .mtya-group-chip-glyph {
773
+ opacity: 1;
774
+ }
775
+
776
+ @media (prefers-reduced-motion: no-preference) {
777
+ .mtya-group-chip-glyph {
778
+ transition: opacity 100ms ease;
779
+ }
780
+ }
781
+
782
+ /*
783
+ * A grouped row carries a rail in its group's colour along its inline start, painted
784
+ * INSIDE the row, which is why paint containment is a non-issue here, unlike the
785
+ * seam's overflowing pill. The rail rounds off at the run's two ends so a group reads
786
+ * as one continuous bracket down the list rather than as N separate stripes.
787
+ *
788
+ * Grouped rows are otherwise untouched: no nesting, no collapsing, no accordion. A
789
+ * member is a full row you can rename, recolour, reshape, and delete exactly as an
790
+ * ungrouped one, because grouping never affects editing.
791
+ */
792
+ .mtya-editor-list > *[data-grouped] {
793
+ position: relative;
794
+ }
795
+
796
+ .mtya-editor-list > *[data-grouped]::before {
797
+ position: absolute;
798
+ inset-block: 0;
799
+ inset-inline-start: 0;
800
+ inline-size: 3px;
801
+ content: "";
802
+ background-color: var(--group-color);
803
+ }
804
+
805
+ .mtya-editor-list > *[data-group-first]::before {
806
+ border-start-start-radius: 3px;
807
+ border-start-end-radius: 3px;
808
+ }
809
+
810
+ .mtya-editor-list > *[data-group-last]::before {
811
+ border-end-start-radius: 3px;
812
+ border-end-end-radius: 3px;
813
+ }
814
+
815
+ /*
816
+ * mtya-editor-list-limit-tooltip renders the limit notice's sentences on their own lines: the
817
+ * copy carries an explicit newline between them, and pre-line honors that break (and still
818
+ * wraps a long line) so the notice reads as short lines rather than one dense run.
819
+ */
820
+ .mtya-editor-list-limit-tooltip {
821
+ white-space: pre-line;
822
+ }
823
+
824
+ /*
825
+ * The cap explainer's glyph. It paints from `currentColor` like every published glyph, so the
826
+ * dimmed treatment is a colour on the element rather than a prop on the component, which is
827
+ * also what keeps it a Mantine decision a consumer can retheme.
828
+ */
829
+ .mtya-editor-list-limit-glyph {
830
+ color: var(--mantine-color-dimmed);
831
+ }
832
+
833
+ /*
834
+ * mtya-dashed-add gives an "add" control a ghost, dashed outline so it reads as a placeholder
835
+ * to fill rather than as a primary action. It pairs with Mantine's `variant="default"` (the
836
+ * neutral outline) and swaps only the solid border for a dashed one, so the control still
837
+ * inherits the theme's button height, radius and hover from that variant.
838
+ */
839
+ .mtya-dashed-add {
840
+ border-style: dashed;
841
+ }
842
+
843
+ /*
844
+ * The floating panel shell.
845
+ *
846
+ * It caps against its positioned wrapper (a caller anchors and, on a narrow viewport, bounds
847
+ * that box) and lays the title and body out as a column, so the title stays put and the body
848
+ * below it is what scrolls.
849
+ *
850
+ * The width is one load-bearing value: narrow enough to overlay a map without reading as a
851
+ * drawer. Below the panel's breakpoint it fills the anchor box instead, so a picker never runs
852
+ * off a phone screen.
853
+ */
854
+ .mtya-studio-panel {
855
+ display: flex;
856
+ flex-direction: column;
857
+ width: 340px;
858
+ max-height: 100%;
859
+ }
860
+
861
+ @container mtya-studio (max-width: 36em) {
862
+ .mtya-studio-panel {
863
+ width: 100%;
864
+ }
865
+ }
866
+
867
+ /*
868
+ * The body takes the height left under the title and scrolls inside it. `min-height: 0` is
869
+ * what lets a flex child shrink below its content, so the scroll engages instead of the whole
870
+ * shell growing.
871
+ */
872
+ .mtya-panel-body {
873
+ flex: 1 1 auto;
874
+ min-height: 0;
875
+ }
876
+
877
+ /*
878
+ * The reveal marquee: one clipped line that scrolls its hidden tail into view.
879
+ *
880
+ * The clip is the fixed-width frame the text scrolls inside, and it is the stable measuring
881
+ * frame: the hook observes THIS element rather than the inner text, because the text's own
882
+ * width changes the moment the marquee expands it, which would feed the measurement back into
883
+ * itself.
884
+ */
885
+ .mtya-marquee-clip {
886
+ display: flex;
887
+ align-items: center;
888
+ min-width: 0;
889
+ overflow: hidden;
890
+ }
891
+
892
+ /*
893
+ * The text is the single row of content. As the flex child it shrinks to the clip: `min-width: 0`
894
+ * lets it shrink past its content so the ellipsis can paint, and `max-width: 100%` pins it to
895
+ * the clip, so a long line truncates at rest.
896
+ */
897
+ .mtya-marquee-text {
898
+ min-width: 0;
899
+ max-width: 100%;
900
+ overflow: hidden;
901
+ text-overflow: ellipsis;
902
+ white-space: nowrap;
903
+ }
904
+
905
+ /*
906
+ * On hover or focus of the marquee HOST, an overflowing line reveals its tail: the width cap
907
+ * lifts, the flex sizing freezes so the text grows to full length, and the animation translates
908
+ * it left by the measured overflow and back.
909
+ *
910
+ * The trigger is an ancestor marked `data-marquee-host` rather than the text itself, so one
911
+ * hover drives every line a row or card owns: a title and its subtitle move together instead
912
+ * of whichever one the pointer happens to be over. The reveal is decorative, so it is gated
913
+ * behind `prefers-reduced-motion` and never runs for a line that fits.
914
+ */
915
+ @media (prefers-reduced-motion: no-preference) {
916
+ [data-marquee-host]:where(:hover, :focus-within) .mtya-marquee-text[data-overflowing="true"] {
917
+ flex: 0 0 auto;
918
+ max-width: none;
919
+ overflow: visible;
920
+ animation: mtya-marquee var(--marquee-duration, 4s) ease-in-out infinite alternate;
921
+ }
922
+ }
923
+
924
+ @keyframes mtya-marquee {
925
+ 0%,
926
+ 12% {
927
+ transform: translateX(0);
928
+ }
929
+
930
+ 88%,
931
+ 100% {
932
+ transform: translateX(calc(-1 * var(--marquee-shift, 0px)));
933
+ }
934
+ }
935
+
936
+ /*
937
+ * `.mtya-picker-card` is the shared picker-card surface for the terrain, overlay, and unit
938
+ * grids: a bordered, padded tile with a media slot on top and a left-aligned name
939
+ * below on the card's own surface. The padding comes from the Radio.Card
940
+ * `p` prop so the text content breathes; image media opts out of it via
941
+ * `.mtya-picker-card-media-image`. Selection turns the 1px border primary (Mantine's
942
+ * built-in data-checked mod) and reveals the ring overlay below, plus a primary-tinted
943
+ * media, rather than a floating chip, and hover hints with the neutral gray-4 border
944
+ * so the focus target is obvious without extra chrome.
945
+ */
946
+ .mtya-picker-card {
947
+ position: relative;
948
+ overflow: hidden;
949
+ border: 1px solid var(--mantine-color-default-border);
950
+ transition: border-color 120ms ease;
951
+ }
952
+
953
+ /*
954
+ * The selection ring is an overlay rather than an inset box-shadow on the card itself.
955
+ * The layers thumbnail bleeds to the card edges (`.mtya-picker-card-media-image`), and a
956
+ * box-shadow on the card paints BENEATH its children, so the image would cover the ring on
957
+ * the bled top/side edges while it stayed visible over the footer, making the ring read
958
+ * thicker at the footer than around the image. This ::after paints ABOVE the image, so the
959
+ * 1px primary ring sits uniformly around the whole card. It is always present (a
960
+ * pseudo-element cannot transition in and out of existence, so the ring fades via opacity)
961
+ * and inert to pointer events; it stays invisible until the card is checked.
962
+ * overflow:hidden on the card clips it to the rounded inner edge.
963
+ */
964
+ .mtya-picker-card::after {
965
+ position: absolute;
966
+ inset: 0;
967
+ pointer-events: none;
968
+ content: "";
969
+ border-radius: inherit;
970
+ box-shadow: inset 0 0 0 1px var(--mantine-primary-color-filled);
971
+ opacity: 0;
972
+ transition: opacity 120ms ease;
973
+ }
974
+
975
+ /*
976
+ * `.mtya-picker-card-media` is the top slot. It left-aligns its child so the preferences unit
977
+ * symbol ("km · m") reads as a label flush with the name below rather than a centered
978
+ * caption. It carries no fixed height: the preferences symbol sizes itself, and
979
+ * image media (below) sets its own height through the Image `h` prop.
980
+ */
981
+ .mtya-picker-card-media {
982
+ display: flex;
983
+ align-items: center;
984
+ justify-content: flex-start;
985
+ }
986
+
987
+ /*
988
+ * The image media bleeds the layers thumbnail out of the card padding so it touches
989
+ * the top and side edges: negative top/inline margins cancel the card's padding
990
+ * on those sides, and an xxs bottom margin sets the gap above the title. Image
991
+ * cards trim the card's bottom padding to a matching xxs (Radio.Card pb), so the
992
+ * title sits with even space above and below. The card's overflow:hidden + radius
993
+ * clip the image corners to the card shape.
994
+ */
995
+ .mtya-picker-card-media-image {
996
+ margin: calc(-1 * var(--mantine-spacing-xs)) calc(-1 * var(--mantine-spacing-xs))
997
+ var(--mantine-spacing-xxs);
998
+ }
999
+
1000
+ /*
1001
+ * `.mtya-picker-card-name` is the caption row under the media. It carries the label's own xs
1002
+ * font size with a tight line-height so the row stays compact, and frames the single line.
1003
+ * The even gap above and below the title comes from the card, not this row: the
1004
+ * media's xxs bottom margin sets the space above, and image cards trim the card's
1005
+ * bottom padding to a matching xxs so the space below equals it. The shared
1006
+ * MarqueeText inside owns the clip + ellipsis + hover reveal, so this row only
1007
+ * provides the font context for it.
1008
+ */
1009
+ .mtya-picker-card-name {
1010
+ display: flex;
1011
+ align-items: center;
1012
+ font-size: var(--mantine-font-size-xs);
1013
+ line-height: 1.25;
1014
+ }
1015
+
1016
+ /*
1017
+ * `.mtya-picker-card-name-text` carries the medium weight of the caption's label text;
1018
+ * MarqueeText's own text rule handles the truncation, ellipsis, and hover-reveal sizing, so
1019
+ * this only sets the weight on top of it.
1020
+ */
1021
+ .mtya-picker-card-name-text {
1022
+ font-weight: 500;
1023
+ }
1024
+
1025
+ .mtya-picker-card:where(:hover) {
1026
+ border-color: var(--mantine-color-gray-4);
1027
+ }
1028
+
1029
+ /*
1030
+ * The checked card turns its base 1px border primary and reveals the selection-ring
1031
+ * overlay (`.mtya-picker-card::after` above), so selecting a card adds no border width and
1032
+ * never shifts the row height (a 2px border would). The ring fades in via the overlay's
1033
+ * opacity transition and paints above the bled thumbnail, so it reads uniformly around the
1034
+ * whole card rather than thicker at the footer than around the image.
1035
+ */
1036
+ .mtya-picker-card:where([data-checked]) {
1037
+ border-color: var(--mantine-primary-color-filled);
1038
+ }
1039
+
1040
+ .mtya-picker-card:where([data-checked])::after {
1041
+ opacity: 1;
1042
+ }
1043
+
1044
+ /*
1045
+ * The active card tints its media primary, not its name: in preferences the media
1046
+ * holds the unit symbol ("km · m"), which must turn primary to mark the selection
1047
+ * while the name stays the default color. In layers the media is an <img> so the
1048
+ * color is inert there and selection rides on the primary border and the ring overlay alone.
1049
+ */
1050
+ .mtya-picker-card:where([data-checked]) .mtya-picker-card-media {
1051
+ color: var(--mantine-primary-color-filled);
1052
+ }
1053
+
1054
+ /*
1055
+ * A locked card desaturates its media and surfaces a not-allowed cursor so the
1056
+ * swap-blocked state reads at a glance; the section header already carries the
1057
+ * explanatory tooltip.
1058
+ *
1059
+ * The lock is keyed on data-locked, which the card sets itself, not on Mantine's
1060
+ * data-disabled: Radio.Card renders an UnstyledButton, which forwards `disabled`
1061
+ * to the native <button> and emits no matching mod, so a [data-disabled] selector
1062
+ * would never match here.
1063
+ *
1064
+ * It stays HIT-TESTABLE, deliberately. The lock blocks the swap, not the reading of
1065
+ * what is being withheld: `pointer-events: none` takes the card out of hit testing
1066
+ * and with it every :hover, including the one the name's marquee scrolls on, which
1067
+ * is the only way to read a title too long for the card. A card locked to organization
1068
+ * members is exactly the card whose full name matters most, so a reader outside an
1069
+ * organization must not be the one person who cannot see it. Nothing is lost by letting
1070
+ * the pointer land: the card is a native disabled <button>, so it dispatches no click,
1071
+ * and both grids guard their own select path as well. Hit-testable is also what makes
1072
+ * the not-allowed cursor visible at all.
1073
+ */
1074
+ .mtya-picker-card[data-locked="true"] {
1075
+ cursor: not-allowed;
1076
+ filter: grayscale(1);
1077
+ }
1078
+
1079
+ /*
1080
+ * The shared hover lift must not read as an invitation on a card that cannot be
1081
+ * picked, so a locked card holds the neutral border the pointer found it with.
1082
+ */
1083
+ .mtya-picker-card[data-locked="true"]:where(:hover) {
1084
+ border-color: var(--mantine-color-default-border);
1085
+ }
1086
+
1087
+ /*
1088
+ * The transient alert over the map: one banner, pinned bottom-centre.
1089
+ *
1090
+ * Anchored here rather than inline so the two positions are one declaration each and a host
1091
+ * restyling their map's chrome can reach them, and because the raised variant is a `calc()` over
1092
+ * theme spacing, a value that belongs in a stylesheet rather than assembled in a render.
1093
+ *
1094
+ * `z-index: 3` is above the map canvas and below MapLibre's popups and every portalled dialog.
1095
+ * An alert that covered a confirm would be unanswerable, and one under the canvas is invisible.
1096
+ */
1097
+ .mtya-map-alert {
1098
+ position: absolute;
1099
+ bottom: var(--mantine-spacing-md);
1100
+ left: 50%;
1101
+ z-index: 3;
1102
+ transform: translateX(-50%);
1103
+ }
1104
+
1105
+ /*
1106
+ * Lifted clear of the elevation panel while an itinerary is open, so neither surface covers the
1107
+ * other. The panel publishes no measured height; 64px is the allotment for its characteristics
1108
+ * row, chart and surface bars, and a host whose panel differs overrides this rule or passes
1109
+ * `style`.
1110
+ */
1111
+ .mtya-map-alert[data-raised="true"] {
1112
+ bottom: calc(var(--mantine-spacing-md) + 64px + var(--mantine-spacing-xs));
1113
+ }
1114
+
1115
+ /*
1116
+ * The dialog shell's header band.
1117
+ *
1118
+ * Flush with the body padding and carrying a hairline divider, so the title reads as a distinct
1119
+ * band above the content rather than floating over it. The bottom margin opens a calm gap to the
1120
+ * first body row.
1121
+ *
1122
+ * Set here rather than on a Mantine theme, which is the difference between a shell that works in
1123
+ * one application and one that ships. Theme-level `classNames` resolve only under the theme that
1124
+ * registers them; a consumer mounts this under their own provider, and a dialog whose divider and
1125
+ * title weight lived in a theme entry would render bare for everyone who did not know to add one.
1126
+ */
1127
+ .mtya-modal-header {
1128
+ align-items: flex-start;
1129
+ padding-bottom: var(--mantine-spacing-sm);
1130
+ margin-bottom: var(--mantine-spacing-md);
1131
+ border-bottom: 1px solid var(--mantine-color-default-border);
1132
+ }
1133
+
1134
+ /*
1135
+ * The one weight and size every dialog heading shares, so a Manage, a Share and a Delete heading
1136
+ * read identically.
1137
+ *
1138
+ * The class is doubled to raise its specificity to (0,2,0). It lands on Mantine's own <h2>, whose
1139
+ * root class already declares font-size and font-weight at (0,1,0): a tie that would otherwise be
1140
+ * settled by stylesheet injection order, which is not something a heading's weight should depend
1141
+ * on.
1142
+ *
1143
+ * `min-width` lets the title box give up width inside the header's flex row. Without it a long
1144
+ * subject line holds its content width and widens the dialog past its `size` instead of
1145
+ * ellipsising inside it.
1146
+ */
1147
+ .mtya-modal-title.mtya-modal-title {
1148
+ min-width: 0;
1149
+ font-size: var(--mantine-font-size-md);
1150
+ font-weight: 600;
1151
+ line-height: 1.3;
1152
+ }
1153
+
1154
+ /*
1155
+ * The header's left column: the icon accent beside the title and description stack, held as ONE
1156
+ * flex child so the header band's space-between still pushes the close button to the far edge.
1157
+ * `flex` and `min-width` are the first two links in the chain that lets a long name shrink rather
1158
+ * than shove the close button off the card.
1159
+ */
1160
+ .mtya-modal-heading {
1161
+ flex: 1;
1162
+ min-width: 0;
1163
+ }
1164
+
1165
+ /* Stacks the title over its description: the third link in that chain, since a single element
1166
+ * holding its content width holds the whole line's. */
1167
+ .mtya-modal-heading-text {
1168
+ min-width: 0;
1169
+ }
1170
+
1171
+ /*
1172
+ * A header with no second line (a confirm, whose body is that sentence): the title stands at the
1173
+ * middle of the glyph's tile rather than at its top edge, where one line beside a taller tile
1174
+ * reads as fallen out of step with it. The height is the tile's (Mantine's `lg` ThemeIcon), so a
1175
+ * title long enough to wrap outgrows it and starts level with the tile's top again.
1176
+ */
1177
+ .mtya-modal-heading-text:where([data-solo]) {
1178
+ justify-content: center;
1179
+ min-height: calc(2.125rem * var(--mantine-scale, 1));
1180
+ }
1181
+
1182
+ /*
1183
+ * The dimmed line under the title, and the element the dialog's aria-describedby points at.
1184
+ *
1185
+ * The weight is restated because a caller may pass a composed node here (a glyph, a name and its
1186
+ * measurements) rather than text, and it must read at body weight even sitting in a header band
1187
+ * beside a 600 heading. It is always a SIBLING of the <h2>, never a child: the heading is the
1188
+ * dialog's accessible name and carries the title alone.
1189
+ */
1190
+ .mtya-modal-description {
1191
+ min-width: 0;
1192
+ font-weight: var(--mantine-font-weight-regular);
1193
+ line-height: 1.4;
1194
+ }
1195
+
1196
+ /*
1197
+ * The route metric line lets itself shrink inside whatever encloses it. min-width: 0 is
1198
+ * the load-bearing half: a flex child refuses to shrink below its content width by
1199
+ * default, so the content would stay at its natural width and an enclosing button's
1200
+ * overflow: hidden would cut it, which is how a duration loses its last glyph ("4h 6mi").
1201
+ *
1202
+ * white-space: normal undoes a button label's nowrap so the content wraps instead. A
1203
+ * metric line is several separate elements, so text-overflow has nothing to ellipsize
1204
+ * across; wrapping to a second line is the only way to guarantee nothing is ever cut
1205
+ * mid-glyph, and it reads fine in a narrow panel.
1206
+ */
1207
+ .mtya-route-metric-line {
1208
+ flex: 1;
1209
+ min-width: 0;
1210
+ white-space: normal;
1211
+ }
1212
+
1213
+ /*
1214
+ * A metric value reserves the width it takes in the emphasized weight: a hidden copy of its text
1215
+ * (its `data-text`), drawn at that weight with no height, sits under it, and the value is as wide
1216
+ * as the wider of the two. Moving the emphasis between rows then reflows nothing, where a line
1217
+ * that only fits in the regular weight would otherwise wrap under the pointer in a narrow column
1218
+ * and push every row below it down. The copy is hidden, so it is neither seen nor read aloud.
1219
+ * The value is centred in that width, so the room the regular weight leaves is shared by the
1220
+ * separators on either side rather than all landing before the next one.
1221
+ */
1222
+ .mtya-route-metric-value {
1223
+ display: inline-flex;
1224
+ flex-direction: column;
1225
+ align-items: center;
1226
+ }
1227
+
1228
+ .mtya-route-metric-value::after {
1229
+ visibility: hidden;
1230
+ height: 0;
1231
+ overflow: hidden;
1232
+ font-weight: 600;
1233
+ user-select: none;
1234
+ content: attr(data-text);
1235
+ }
1236
+
1237
+ /*
1238
+ * The settings toggle row: the Switch root, laid out as a full-width line so the label
1239
+ * sits flush left and the track flush right. The hover tint is rounded and stays inside
1240
+ * the container's own inset: the row is mounted in an `xs` dropdown and an `sm` panel,
1241
+ * so a full-bleed band would need to know which, and would be wrong in one of them.
1242
+ */
1243
+ .mtya-toggle-row {
1244
+ width: 100%;
1245
+ cursor: pointer;
1246
+ border-radius: var(--mantine-radius-sm);
1247
+ }
1248
+
1249
+ .mtya-toggle-row:where(:hover) {
1250
+ background-color: var(--mantine-color-default-hover);
1251
+ }
1252
+
1253
+ /*
1254
+ * The row's body is the Switch body, which Mantine renders as the <label> bound to the
1255
+ * input, so it is the click target. Stretching it full width with its own padding makes
1256
+ * the entire row (glyph, label, the gap, and the track) toggle the value, with the
1257
+ * padding on the xxs step so a list of these stays dense enough to read as one block.
1258
+ * space-between pins the label left and the track right.
1259
+ */
1260
+ .mtya-toggle-row-body {
1261
+ justify-content: space-between;
1262
+ width: 100%;
1263
+ padding: var(--mantine-spacing-xxs);
1264
+ cursor: pointer;
1265
+ }
1266
+
1267
+ /*
1268
+ * Force the pointer cursor across the whole row. Mantine drives the label's cursor
1269
+ * through a CSS variable that the inner Text and label wrapper resolve to the default
1270
+ * arrow, so the label would read as non-interactive even though the body is the click
1271
+ * target; painting every descendant pointer makes the entire row read as clickable.
1272
+ */
1273
+ /* The `> *` idiom below is flagged as descending-specificity against
1274
+ `.mtya-editor-list > .mtya-segment-seam:has([data-merge]:hover) + *` higher in this file. The
1275
+ override that rule warns about cannot occur: that selector sets `background-color` alone, and
1276
+ every rule suppressed here sets layout (cursor, padding, intrinsic size, a divider border).
1277
+ Reordering to satisfy the check would move a hover treatment past unrelated layout for a
1278
+ conflict that does not exist. */
1279
+ /* biome-ignore lint/style/noDescendingSpecificity: different properties; see above. */
1280
+ .mtya-toggle-row-body * {
1281
+ cursor: pointer;
1282
+ }
1283
+
1284
+ /*
1285
+ * The radio option card is the shared selectable-option surface: a bordered, padded row
1286
+ * whose whole area is the radio target. It carries the same selection vocabulary
1287
+ * `.mtya-picker-card` uses, so a mode card in a wizard, a format in an export rail and a
1288
+ * terrain tile in a layers panel all announce hover and selection identically: a
1289
+ * hairline border at rest, the neutral gray-4 on hover, and a primary border plus the
1290
+ * ring overlay when checked.
1291
+ */
1292
+ .mtya-radio-option-card {
1293
+ position: relative;
1294
+ overflow: hidden;
1295
+ border: 1px solid var(--mantine-color-default-border);
1296
+ transition: border-color 120ms ease;
1297
+ }
1298
+
1299
+ /*
1300
+ * The selection ring is an overlay rather than an inset box-shadow on the card itself: a
1301
+ * box-shadow paints BENEATH the card's children, so any leading media that bleeds toward
1302
+ * an edge would cover it unevenly. This ::after paints ABOVE, so the 1px primary ring
1303
+ * reads uniformly around the whole card. It is always present (a pseudo-element cannot
1304
+ * transition in and out of existence, so it fades via opacity) and inert to pointer
1305
+ * events; overflow: hidden clips it to the rounded inner edge.
1306
+ */
1307
+ .mtya-radio-option-card::after {
1308
+ position: absolute;
1309
+ inset: 0;
1310
+ pointer-events: none;
1311
+ content: "";
1312
+ border-radius: inherit;
1313
+ box-shadow: inset 0 0 0 1px var(--mantine-primary-color-filled);
1314
+ opacity: 0;
1315
+ transition: opacity 120ms ease;
1316
+ }
1317
+
1318
+ .mtya-radio-option-card:where(:hover) {
1319
+ border-color: var(--mantine-color-gray-4);
1320
+ }
1321
+
1322
+ /*
1323
+ * The checked card turns its base 1px border primary and reveals the ring overlay, so
1324
+ * selecting adds no border width and never shifts the row height (a 2px border would).
1325
+ */
1326
+ .mtya-radio-option-card:where([data-checked]) {
1327
+ border-color: var(--mantine-primary-color-filled);
1328
+ }
1329
+
1330
+ .mtya-radio-option-card:where([data-checked])::after {
1331
+ opacity: 1;
1332
+ }
1333
+
1334
+ .mtya-radio-option-card:where([data-disabled]) {
1335
+ cursor: not-allowed;
1336
+ opacity: 0.6;
1337
+ }
1338
+
1339
+ .mtya-radio-option-card:where([data-disabled]):where(:hover) {
1340
+ border-color: var(--mantine-color-default-border);
1341
+ }
1342
+
1343
+ /*
1344
+ * A theme's respectReducedMotion only covers Mantine's own JS transitions, so the raw CSS
1345
+ * ones above need their own guard.
1346
+ */
1347
+ @media (prefers-reduced-motion: reduce) {
1348
+ .mtya-radio-option-card,
1349
+ .mtya-radio-option-card::after {
1350
+ transition: none;
1351
+ }
1352
+ }
1353
+
1354
+ /* ------------------------------------------------------------------------------------------
1355
+ * Studio header
1356
+ * ---------------------------------------------------------------------------------------- */
1357
+
1358
+ /*
1359
+ * The brand lockup a host mounts at the top of its own nav: a mark beside a two-line column.
1360
+ *
1361
+ * Both boxes carry `min-width: 0` for the reason the sidenav header's pair do: a flex item
1362
+ * refuses to shrink past its content unless it does, and that refusal travels, so a long title
1363
+ * widens the whole row past a narrow panel unless the chain is unbroken from the row down to
1364
+ * the text that gives way.
1365
+ */
1366
+ .mtya-studio-header,
1367
+ .mtya-studio-header-column {
1368
+ min-width: 0;
1369
+ }
1370
+
1371
+ /*
1372
+ * The wordmark. The FACE is a token rather than a stack, because a published package cannot
1373
+ * assume the host loaded any particular one: Mountaya's own is Mont, and a default naming it
1374
+ * would resolve to the fallback in every application that does not have it. Unset, the wordmark
1375
+ * is set in whatever the studio around it is set in, which is always a working answer.
1376
+ *
1377
+ * It breaks an unbreakable word rather than overrunning: a host's product name is free to wrap,
1378
+ * and one with no space in it has nowhere to.
1379
+ */
1380
+ .mtya-studio-header-title {
1381
+ font-family: var(--mtya-brand-font);
1382
+ overflow-wrap: anywhere;
1383
+ }
1384
+
1385
+ /* ------------------------------------------------------------------------------------------
1386
+ * Sidenav panel chrome
1387
+ * ---------------------------------------------------------------------------------------- */
1388
+
1389
+ /*
1390
+ * The header pins a panel's leading affordance and title to the top of its scrolling viewport,
1391
+ * so both stay in reach while the fields scroll beneath. The body background fills the cell to
1392
+ * occlude that content, and the bottom border reads the theme's default border colour so this
1393
+ * edge and the footer's read as one system.
1394
+ *
1395
+ * The negative top and inline margins cancel `SidenavContentBody`'s `md` padding, so the
1396
+ * divider spans the panel's full width and the header seats flush at the very top; the padding
1397
+ * restores the inset around the title. That is the whole reason the header has to be the body's
1398
+ * first child: the breakout is calibrated to exactly that inset.
1399
+ *
1400
+ * A global sheet rather than a CSS module, so the isolation is the `mtya-` prefix.
1401
+ */
1402
+ .mtya-sidenav-header {
1403
+ position: sticky;
1404
+ top: 0;
1405
+ /* 3 beats the z-index:2 labels inside Mantine SegmentedControl content. */
1406
+ z-index: 3;
1407
+ padding: var(--mantine-spacing-md) var(--mantine-spacing-md) var(--mantine-spacing-sm);
1408
+ margin-inline: calc(-1 * var(--mantine-spacing-md));
1409
+ margin-top: calc(-1 * var(--mantine-spacing-md));
1410
+ background-color: var(--mantine-color-body);
1411
+ border-bottom: 1px solid var(--mantine-color-default-border);
1412
+ }
1413
+
1414
+ /*
1415
+ * The header's leading half: the affordance beside the title column.
1416
+ *
1417
+ * Both carry `min-width: 0` because a flex item refuses to shrink past its content unless it
1418
+ * does, and that refusal travels: a subtitle that could truncate perfectly well still widens
1419
+ * the whole header past a narrow panel when an ancestor between them is holding its content
1420
+ * width. The chain has to be unbroken from the panel down to the text that gives way.
1421
+ */
1422
+ .mtya-sidenav-title-group,
1423
+ .mtya-sidenav-title-column {
1424
+ min-width: 0;
1425
+ }
1426
+
1427
+ /*
1428
+ * The column also breaks an unbreakable word rather than overrunning. A title is free to wrap
1429
+ * onto a second line (that is what the column is a stack for), but a name with no space in it
1430
+ * has nowhere to wrap, and the panel would carry the overflow.
1431
+ */
1432
+ .mtya-sidenav-title-column {
1433
+ overflow-wrap: anywhere;
1434
+ }
1435
+
1436
+ /*
1437
+ * The footer is the header's mirror at the bottom edge, holding the panel's primary action.
1438
+ *
1439
+ * `margin-top: auto` seats it at the bottom of its flex-column parent when the content is
1440
+ * shorter than the viewport; when the content overflows, that margin collapses and the sticky
1441
+ * position pins the footer to the viewport bottom while the fields scroll under it. The
1442
+ * vertical padding is symmetric so the gap below the action matches the gap above it, and the
1443
+ * negative bottom margin keeps the background flush against the panel's own bottom edge.
1444
+ */
1445
+ .mtya-sidenav-footer {
1446
+ position: sticky;
1447
+ bottom: 0;
1448
+ /* 3 beats the z-index:2 labels inside Mantine SegmentedControl content. */
1449
+ z-index: 3;
1450
+ padding: var(--mantine-spacing-sm) var(--mantine-spacing-md);
1451
+ margin-inline: calc(-1 * var(--mantine-spacing-md));
1452
+ margin-top: auto;
1453
+ margin-bottom: calc(-1 * var(--mantine-spacing-md));
1454
+ background-color: var(--mantine-color-body);
1455
+ border-top: 1px solid var(--mantine-color-default-border);
1456
+ }
1457
+
1458
+ /*
1459
+ * The line of keyboard shortcuts an editing footer shows above its save button. Each shortcut
1460
+ * keeps its key and its verb together, and the line wraps between shortcuts, centred under the
1461
+ * full-width button, so a narrow sidenav breaks it into rows rather than cutting a chord.
1462
+ */
1463
+ .mtya-edit-shortcuts {
1464
+ display: flex;
1465
+ flex-wrap: wrap;
1466
+ gap: var(--mantine-spacing-xxs) var(--mantine-spacing-sm);
1467
+ justify-content: center;
1468
+ }
1469
+
1470
+ .mtya-edit-shortcut {
1471
+ white-space: nowrap;
1472
+ }
1473
+
1474
+ /* ------------------------------------------------------------------------------------------
1475
+ * Activity badge
1476
+ * ---------------------------------------------------------------------------------------- */
1477
+
1478
+ /*
1479
+ * The soft tinted chip that frames an activity's silhouette.
1480
+ *
1481
+ * A square, so every row's icon column stays aligned whatever the activity draws, and
1482
+ * `flex: none` so it does not shrink inside a row's nowrap group. The size and background read
1483
+ * from custom properties the component writes, which is what lets a taller surface scale the
1484
+ * chip up without a second class.
1485
+ */
1486
+ .mtya-activity-badge {
1487
+ display: flex;
1488
+ flex: none;
1489
+ align-items: center;
1490
+ justify-content: center;
1491
+ width: var(--mtya-activity-badge-size, 1.75rem);
1492
+ height: var(--mtya-activity-badge-size, 1.75rem);
1493
+ background-color: var(--mtya-activity-badge-bg, rgba(0, 0, 0, 0.04));
1494
+ border-radius: var(--mantine-radius-sm, 0.25rem);
1495
+ }
1496
+
1497
+ /*
1498
+ * The silhouette inside it, drawn in one neutral tint.
1499
+ *
1500
+ * The glyph paints from `currentColor`, so tinting is a colour on this element rather than a
1501
+ * mask over an image, which is the whole reason the badge reads the marker seam instead of
1502
+ * carrying artwork of its own. `contain` fits a tall figure inside the square without
1503
+ * distorting it.
1504
+ */
1505
+ .mtya-activity-glyph {
1506
+ width: var(--mtya-activity-glyph-size, 1rem);
1507
+ height: var(--mtya-activity-glyph-size, 1rem);
1508
+ color: var(--mtya-activity-glyph-color, rgb(100, 116, 139));
1509
+ object-fit: contain;
1510
+ }
1511
+
1512
+ /* ------------------------------------------------------------------------------------------
1513
+ * Dialog subject line
1514
+ * ---------------------------------------------------------------------------------------- */
1515
+
1516
+ /*
1517
+ * The subject line is one shrink chain, which is why its rules sit together rather than on the
1518
+ * elements: a chain reads as a chain only when its links do.
1519
+ *
1520
+ * The row and the name are the two links that give up width. `min-width: 0` is what lets a flex
1521
+ * item shrink past its own content at all: without it the line holds its content width and
1522
+ * widens the dialog past its size instead of ellipsising inside it.
1523
+ */
1524
+ .mtya-dialog-subject,
1525
+ .mtya-dialog-subject-name {
1526
+ min-width: 0;
1527
+ }
1528
+
1529
+ /*
1530
+ * Everything that is NOT the name holds its shape: a glyph, a segment name, and two short
1531
+ * fixed-form numbers. A distance that ellipsises has stopped being a distance, so the name is
1532
+ * the only part that yields.
1533
+ */
1534
+ .mtya-dialog-subject-pinned {
1535
+ flex: 0 0 auto;
1536
+ }
1537
+
1538
+ /*
1539
+ * The LanguageSelect's selected-option check, made visually identical to a default Mantine
1540
+ * Select's.
1541
+ *
1542
+ * The picker replaces Mantine's option content with its own row (the mark and the label), which
1543
+ * replaces Mantine's check markup with it, so the only way to match the default is to re-apply
1544
+ * the exact rules its internal `optionsDropdownCheckIcon` class carries. Without them the bare
1545
+ * check renders at full opacity and reads heavier than every other Select's on the page.
1546
+ *
1547
+ * The `:where(...)` ancestor keeps specificity at (0,1,0) so it never fights the option's own
1548
+ * colour, exactly as Mantine's own rule does.
1549
+ */
1550
+ .mtya-language-select-check {
1551
+ width: 0.8em;
1552
+ min-width: 0.8em;
1553
+ height: 0.8em;
1554
+ opacity: 0.4;
1555
+ }
1556
+
1557
+ :where([data-combobox-selected]) .mtya-language-select-check {
1558
+ opacity: 1;
1559
+ }
1560
+
1561
+ /*
1562
+ * The publication state's coloured mark, for the header's status line.
1563
+ *
1564
+ * It runs at the cap height of the xs text it sits beside, so the pair reads as one word with
1565
+ * a bullet rather than as a label hung off a swatch, and it never shrinks: it is 8px of
1566
+ * meaning and there is nothing to gain by giving any of it back to the line.
1567
+ */
1568
+ .mtya-publication-dot {
1569
+ flex: 0 0 auto;
1570
+ width: 8px;
1571
+ height: 8px;
1572
+ border-radius: var(--mantine-radius-xl);
1573
+ }
1574
+
1575
+ /*
1576
+ * `.mtya-fullscreen-content` is the full-screen surface's dialog box, as tall as the box the
1577
+ * dialog fills: the studio, or the window outside one. It is a size container, so a surface
1578
+ * inside it sizes a part by the dialog's own height (`cqh`) rather than by the window's.
1579
+ */
1580
+ .mtya-fullscreen-content {
1581
+ container: mtya-fullscreen / size;
1582
+ }
1583
+
1584
+ /*
1585
+ * `.mtya-fullscreen-body` is the dialog's body, held to the dialog's full height so the shell
1586
+ * inside it has a height to fill.
1587
+ */
1588
+ .mtya-fullscreen-body {
1589
+ height: 100%;
1590
+ }
1591
+
1592
+ /*
1593
+ * `.mtya-fullscreen-shell` is the full-screen surface's Modal body: a full-height flex column
1594
+ * (header / main / optional footer) so the header and footer pin to the top and bottom
1595
+ * without sticky positioning: the column shell makes sticky unnecessary.
1596
+ */
1597
+ .mtya-fullscreen-shell {
1598
+ display: flex;
1599
+ flex-direction: column;
1600
+ height: 100%;
1601
+ }
1602
+
1603
+ /*
1604
+ * `.mtya-wizard-layout` lays out a full-screen wizard under its header: the rail that lists its
1605
+ * sections, the open section, and the stage that shows what the section changes.
1606
+ *
1607
+ * In a studio of the medium breakpoint's width and up the three stand side by side: the rail at
1608
+ * `--mtya-section-rail-width` and the open section at `--mtya-wizard-panel-width`, both of
1609
+ * which `WizardLayout` writes on the layout, and the stage in the room they leave. In a
1610
+ * narrower studio they stack: the stage on top at a share of the dialog's height, the rail
1611
+ * across the page under it with its sections side by side, and the open section in the room
1612
+ * that is left, scrolling on its own.
1613
+ *
1614
+ * A section that is a page of its own (`data-page`) takes the stage's room as well: the stage
1615
+ * is not drawn, and the section reads at a page's width.
1616
+ *
1617
+ * The breakpoint is a container query on the studio rather than a media query, because a
1618
+ * wizard fills the studio and a studio embedded in a page is narrower than the window. The
1619
+ * value is Mantine's `md` written out, since a container condition reads no variable. The
1620
+ * stage's share is `cqh` against the full-screen dialog's size container, so it follows the
1621
+ * dialog in a studio shorter than the window.
1622
+ */
1623
+ .mtya-wizard-sections {
1624
+ /* The tabs' own root draws no box: the layout under it is the shell's column child. */
1625
+ display: contents;
1626
+ }
1627
+
1628
+ .mtya-wizard-layout {
1629
+ display: grid;
1630
+ flex: 1;
1631
+ grid-template-areas: "stage" "rail" "panel";
1632
+ grid-template-rows: auto auto minmax(0, 1fr);
1633
+ grid-template-columns: minmax(0, 1fr);
1634
+ min-width: 0;
1635
+ min-height: 0;
1636
+ }
1637
+
1638
+ .mtya-wizard-layout[data-page] {
1639
+ grid-template-areas: "rail" "panel";
1640
+ grid-template-rows: auto minmax(0, 1fr);
1641
+ }
1642
+
1643
+ .mtya-wizard-rail {
1644
+ grid-area: rail;
1645
+ border-top: 1px solid var(--mantine-color-default-border);
1646
+ }
1647
+
1648
+ /*
1649
+ * The open section. It scrolls on its own, and on the y axis only: a focus ring or a slider
1650
+ * thumb grazing the column's edge must never mint a horizontal scrollbar.
1651
+ */
1652
+ .mtya-wizard-panel {
1653
+ grid-area: panel;
1654
+ min-width: 0;
1655
+ min-height: 0;
1656
+ padding: var(--mantine-spacing-md);
1657
+ overflow-x: hidden;
1658
+ overflow-y: auto;
1659
+ /* The room a scrollbar takes is kept whether or not a section scrolls, so the fields of a
1660
+ * short section and of a long one start at the same edge. */
1661
+ scrollbar-gutter: stable;
1662
+ }
1663
+
1664
+ /*
1665
+ * A section that is a page of its own stands on the canvas a settings page draws its cards on,
1666
+ * held to a reading measure.
1667
+ */
1668
+ .mtya-wizard-layout[data-page] .mtya-wizard-panel {
1669
+ background-color: var(--mantine-color-gray-0);
1670
+ }
1671
+
1672
+ [data-mtya-color-scheme="dark"] .mtya-wizard-layout[data-page] .mtya-wizard-panel {
1673
+ background-color: var(--mantine-color-dark-8);
1674
+ }
1675
+
1676
+ .mtya-wizard-page {
1677
+ width: 100%;
1678
+ max-width: 800px;
1679
+ margin-inline: auto;
1680
+ }
1681
+
1682
+ .mtya-wizard-stage {
1683
+ display: flex;
1684
+ flex-direction: column;
1685
+ grid-area: stage;
1686
+ min-width: 0;
1687
+ height: 40cqh;
1688
+ min-height: 0;
1689
+ }
1690
+
1691
+ .mtya-wizard-layout[data-page] .mtya-wizard-stage {
1692
+ display: none;
1693
+ }
1694
+
1695
+ @container mtya-studio (width >= 62em) {
1696
+ .mtya-wizard-layout {
1697
+ grid-template-areas: "rail panel stage";
1698
+ grid-template-rows: minmax(0, 1fr);
1699
+ grid-template-columns:
1700
+ var(--mtya-section-rail-width) var(--mtya-wizard-panel-width)
1701
+ minmax(0, 1fr);
1702
+ }
1703
+
1704
+ .mtya-wizard-layout[data-page] {
1705
+ grid-template-areas: "rail panel";
1706
+ grid-template-rows: minmax(0, 1fr);
1707
+ grid-template-columns: var(--mtya-section-rail-width) minmax(0, 1fr);
1708
+ }
1709
+
1710
+ .mtya-wizard-rail {
1711
+ border-top: 0;
1712
+ }
1713
+
1714
+ .mtya-wizard-panel {
1715
+ border-right: 1px solid var(--mantine-color-default-border);
1716
+ }
1717
+
1718
+ .mtya-wizard-layout[data-page] .mtya-wizard-panel {
1719
+ padding: var(--mantine-spacing-xl);
1720
+ border-right: 0;
1721
+ }
1722
+
1723
+ .mtya-wizard-stage {
1724
+ height: auto;
1725
+ }
1726
+ }
1727
+
1728
+ /*
1729
+ * `.mtya-fullscreen-header` draws the divider beneath a full-screen surface's top bar. The flex
1730
+ * shell makes the header static, so only the bottom border is set here.
1731
+ */
1732
+ .mtya-fullscreen-header {
1733
+ border-bottom: 1px solid var(--mantine-color-default-border);
1734
+ }
1735
+
1736
+ /*
1737
+ * `.mtya-fullscreen-header-identity` holds the surface's title and the subject beside it. It
1738
+ * takes the room the bar has left beside its other parts and gives its own up before they do,
1739
+ * so a long name never pushes the close button out of the bar.
1740
+ *
1741
+ * `.mtya-fullscreen-header-subject` is the identity line after the title. It is the part that
1742
+ * yields: the title holds its width, and the subject ellipsises its name inside what is left.
1743
+ * In a studio narrower than Mantine's `sm` the subject stands under the title, at the bar's
1744
+ * full width, and the dot that separates the two on one line is not drawn.
1745
+ */
1746
+ .mtya-fullscreen-header-identity {
1747
+ display: flex;
1748
+ flex: 1;
1749
+ flex-direction: column;
1750
+ gap: 0;
1751
+ align-items: flex-start;
1752
+ min-width: 0;
1753
+ }
1754
+
1755
+ .mtya-fullscreen-header-title {
1756
+ flex: none;
1757
+ max-width: 100%;
1758
+ }
1759
+
1760
+ .mtya-fullscreen-header-subject {
1761
+ min-width: 0;
1762
+ max-width: 100%;
1763
+ }
1764
+
1765
+ .mtya-fullscreen-header-dot {
1766
+ display: none;
1767
+ }
1768
+
1769
+ @container mtya-studio (width >= 48em) {
1770
+ .mtya-fullscreen-header-identity {
1771
+ flex-direction: row;
1772
+ gap: var(--mantine-spacing-md);
1773
+ align-items: center;
1774
+ }
1775
+
1776
+ .mtya-fullscreen-header-dot {
1777
+ display: block;
1778
+ }
1779
+ }
1780
+
1781
+ /*
1782
+ * `.mtya-fullscreen-footer` draws the divider above a full-screen surface's bottom bar. The flex
1783
+ * shell makes the footer static, so only the top border is set here.
1784
+ */
1785
+ .mtya-fullscreen-footer {
1786
+ border-top: 1px solid var(--mantine-color-default-border);
1787
+ }
1788
+
1789
+ /*
1790
+ * `.mtya-fullscreen-stage` makes a full-screen surface's main area a full-height flex column
1791
+ * that takes the row's slack. min-height:0 lets a scrolling child shrink within the column
1792
+ * rather than overflowing it, and min-width:0 lets the column shrink below its
1793
+ * content's intrinsic width so a wide child (a long snippet line) scrolls inside its
1794
+ * own box on the x axis instead of widening the column past the modal.
1795
+ */
1796
+ .mtya-fullscreen-stage {
1797
+ display: flex;
1798
+ flex-direction: column;
1799
+ min-width: 0;
1800
+ min-height: 0;
1801
+ }
1802
+
1803
+ /*
1804
+ * `.mtya-preview-stage` is the video wizard's preview stage. It fills the room the wizard's
1805
+ * layout gives its stage: the row's full height beside the open section, and the stage's share
1806
+ * of the dialog's height where the layout stacks.
1807
+ */
1808
+ .mtya-preview-stage {
1809
+ flex: 1;
1810
+ min-height: 0;
1811
+ }
1812
+
1813
+ /*
1814
+ * `.mtya-fullscreen-compass-rose` supplies the control tokens the published rose paints from.
1815
+ * It reads them off the nearest ancestor that declares them, and the studio declares them
1816
+ * on the control stack alone: a full-screen surface is outside that stack, where the rose would
1817
+ * otherwise fall back to its light-only defaults and disappear against a dark shell.
1818
+ *
1819
+ * The scheme split is a light default plus a [data-mtya-color-scheme="dark"] override
1820
+ * rather than the CSS light-dark() function, for the reason stated at the top of this file:
1821
+ * lowered, the value is invalid and the fills fall back to the parent `<svg fill="none">`,
1822
+ * leaving only the hardcoded orange north needle. The disc paints the control surface so it
1823
+ * blends into the button it sits in; the "N" and the south needle share --mtya-control-fg,
1824
+ * the needle at the rose's own lower opacity so it stays subordinate to the north one.
1825
+ */
1826
+ .mtya-fullscreen-compass-rose {
1827
+ --mtya-control-bg: var(--mantine-color-default);
1828
+ --mtya-control-fg: #525252;
1829
+ }
1830
+
1831
+ [data-mtya-color-scheme="dark"] .mtya-fullscreen-compass-rose {
1832
+ --mtya-control-fg: var(--mantine-color-dark-0);
1833
+ }
1834
+
1835
+ /*
1836
+ * `.mtya-point-armed-pulse` breathes a soft blue glow around the endpoint button while a
1837
+ * map-pick is armed, signalling that the map waits for a click. The glow is
1838
+ * a box-shadow keyed off the theme primary blue (mixed toward transparent so the
1839
+ * ring fades), so it tracks the light/dark palette. It is decorative (applied
1840
+ * to the button alongside, not in place of, its text), so the accessible name is
1841
+ * untouched.
1842
+ */
1843
+ .mtya-point-armed-pulse {
1844
+ animation: mtya-point-armed-pulse 1600ms ease-in-out infinite;
1845
+ }
1846
+
1847
+ /*
1848
+ * The armed button is disabled (the map, not the button, takes the next click),
1849
+ * but Mantine dims disabled buttons and paints them gray, which would hide the
1850
+ * pulse and the blue waiting-for-a-click cue. Restore full opacity and restate the
1851
+ * light-blue surface/text so the disabled armed button still reads as the blue
1852
+ * pulsing "waiting" state, just non-clickable. The cursor stays the default
1853
+ * disabled arrow so it cannot be pressed.
1854
+ */
1855
+ .mtya-point-armed-pulse:disabled,
1856
+ .mtya-point-armed-pulse[data-disabled] {
1857
+ color: var(--mantine-color-blue-light-color);
1858
+ background-color: var(--mantine-color-blue-light);
1859
+ opacity: 1;
1860
+ }
1861
+
1862
+ @keyframes mtya-point-armed-pulse {
1863
+ 0%,
1864
+ 100% {
1865
+ box-shadow: 0 0 0 0 color-mix(in srgb, var(--mantine-color-blue-5) 50%, transparent);
1866
+ }
1867
+ 50% {
1868
+ box-shadow: 0 0 0 6px color-mix(in srgb, var(--mantine-color-blue-5) 0%, transparent);
1869
+ }
1870
+ }
1871
+
1872
+ /* The pulse is decorative; hold a single static glow when the user asks for
1873
+ reduced motion so the armed state still reads without the breathing loop. */
1874
+ @media (prefers-reduced-motion: reduce) {
1875
+ .mtya-point-armed-pulse {
1876
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--mantine-color-blue-5) 40%, transparent);
1877
+ animation: none;
1878
+ }
1879
+ }
1880
+
1881
+ /* ------------------------------------------------------------------------------------------
1882
+ * The floating panel anchor
1883
+ * ---------------------------------------------------------------------------------------- */
1884
+
1885
+ /*
1886
+ * The positioned wrapper the open floating panel renders into. Its position/right/top insets
1887
+ * stay inline, because they are computed against the control column's own geometry in
1888
+ * TypeScript; this class carries only what a media query can express.
1889
+ *
1890
+ * The flex column lets the panel inside cap its own height against this box, so a long picker
1891
+ * scrolls its body rather than growing past the viewport.
1892
+ */
1893
+ .mtya-studio-panel-anchor {
1894
+ display: flex;
1895
+ flex-direction: column;
1896
+ }
1897
+
1898
+ /*
1899
+ * Below xs the panel is anchored on the LEFT as well, so it spans the viewport between the two
1900
+ * insets instead of keeping a fixed width that would run off a phone screen, and its height is
1901
+ * capped to whatever is left under its own top inset (published inline as `--mtya-panel-top`),
1902
+ * so the cap tracks the anchor and the two can never drift.
1903
+ */
1904
+ @container mtya-studio (max-width: 36em) {
1905
+ .mtya-studio-panel-anchor {
1906
+ left: var(--mantine-spacing-md);
1907
+ max-height: calc(100dvh - var(--mtya-panel-top) - var(--mantine-spacing-md));
1908
+ }
1909
+ }
1910
+
1911
+ /*
1912
+ * The thumbnail filling the top media slot of each layer card. Compact enough that the card row
1913
+ * stays inside the floating panel's narrow width without dominating its vertical space, and a
1914
+ * step shorter below the panel's own narrow breakpoint so more of a long picker fits the capped
1915
+ * panel height there.
1916
+ *
1917
+ * The height lives here rather than on the Image's `h` style prop on purpose: a responsive
1918
+ * Mantine style prop injects a per-instance <style> element beside the element, which would sit
1919
+ * inside every card (extra nodes on a grid that renders dozens), and it pollutes the card's text
1920
+ * content. One class covers every card.
1921
+ */
1922
+ .mtya-layers-card-thumb {
1923
+ height: var(--mtya-layer-thumb-height, 52px);
1924
+ }
1925
+
1926
+ @container mtya-studio (max-width: 36em) {
1927
+ .mtya-layers-card-thumb {
1928
+ height: var(--mtya-layer-thumb-height-sm, 40px);
1929
+ }
1930
+ }
1931
+
1932
+ /* ------------------------------------------------------------------------------------------
1933
+ * Search
1934
+ * ---------------------------------------------------------------------------------------- */
1935
+
1936
+ /*
1937
+ * The search field skins as a member of the floating control family: the same soft shadow, md
1938
+ * radius, and neutral glyph/text colour the map controls wear. Mantine's `default` variant emits
1939
+ * `--ai-bg` and `--ai-hover` as INLINE styles (its varsResolver sets them whenever a variant is
1940
+ * present), and an inline style outranks a class, so the background cannot be driven through a
1941
+ * custom property from here; the held tint paints `background-color` directly instead.
1942
+ *
1943
+ * The class carries a `-studio-` infix and MUST keep it. `@mountaya/elements-react` publishes
1944
+ * a `.mtya-search-input` of its own for the bare input inside its `SearchControl`, where the
1945
+ * `.mtya-search-field` wrapper is what carries the surface, so that rule strips the input's
1946
+ * own `background` and `border`. This stylesheet bundles that one, and the two rules have
1947
+ * equal specificity, so under a shared name the studio's declarations below would win where
1948
+ * they OVERLAP and the two elements-react declares alone would still land: the bar would render
1949
+ * transparent and frameless over the map while keeping this file's colour, radius and shadow,
1950
+ * which reads as a styling bug in the theme rather than as a name collision. The custom
1951
+ * properties keep their published `--mtya-search-input-*` names: they are a theming contract
1952
+ * (see theme/rules/tokens.ts) and they collide with nothing.
1953
+ */
1954
+ .mtya-studio-search-input {
1955
+ /*
1956
+ * A notch under the sm default so the query and placeholder read a touch smaller than the
1957
+ * surrounding chrome, matching the result rows. Font only; the control keeps its height.
1958
+ */
1959
+ font-size: var(--mantine-font-size-xs);
1960
+ color: var(--mtya-search-input-color, #404040);
1961
+ border-radius: var(--mantine-radius-md);
1962
+ box-shadow: var(--mantine-shadow-sm);
1963
+ }
1964
+
1965
+ /*
1966
+ * The neutral colour above reads on a light surface; on a dark embed the query text would sit
1967
+ * dark-on-dark, so it flips to the soft light grey the control glyphs use. An attribute selector
1968
+ * rather than the `light-dark()` function, for the reason stated at the top of this file:
1969
+ * LightningCSS lowers `light-dark()` into a toggle polyfill and drops the companion declaration
1970
+ * in code-split CSS, collapsing the value.
1971
+ */
1972
+ [data-mtya-color-scheme="dark"] .mtya-studio-search-input {
1973
+ color: var(--mtya-search-input-color-dark, var(--mantine-color-dark-0));
1974
+ }
1975
+
1976
+ /*
1977
+ * The held tint mirrors an open control panel: while the results dropdown is open the bar reads
1978
+ * as the same grey-held surface. `data-active` is set on the input by the owner whenever the
1979
+ * dropdown shows. The border drops to TRANSPARENT rather than being removed so the bar reads as
1980
+ * one continuous surface with the dropdown flush beneath it while keeping its 1px border box, so
1981
+ * the field never shifts as the state flips.
1982
+ */
1983
+ .mtya-studio-search-input[data-active] {
1984
+ background-color: var(--mtya-search-input-held-bg, var(--mantine-color-gray-1));
1985
+ border-color: transparent;
1986
+ }
1987
+
1988
+ [data-mtya-color-scheme="dark"] .mtya-studio-search-input[data-active] {
1989
+ background-color: var(--mtya-search-input-held-bg-dark, var(--mantine-color-dark-5));
1990
+ }
1991
+
1992
+ /*
1993
+ * Focus dissolves the bar's border instead of flipping it to Mantine's primary: the field reads
1994
+ * as a frameless surface the moment it engages. Mantine's layered input styles drive the focus
1995
+ * border through `--input-bd-focus` and paint a ring; these rules are unlayered, so re-pointing
1996
+ * that variable and the border colour at transparent wins without `!important`. A text input
1997
+ * matches `:focus-visible` on pointer focus too, a UA heuristic this accepts, so one treatment
1998
+ * covers keyboard and pointer.
1999
+ */
2000
+ .mtya-studio-search-input:focus,
2001
+ .mtya-studio-search-input:focus-within,
2002
+ .mtya-studio-search-input:focus-visible {
2003
+ --input-bd-focus: transparent;
2004
+ outline: none;
2005
+ border-color: transparent;
2006
+ }
2007
+
2008
+ /*
2009
+ * The results panel floats beneath the bar, anchored to the prompt ROW (the bar plus whatever
2010
+ * sits beside it) rather than to the column: `inset-inline: 0` spans that row's full width, so
2011
+ * the dropdown's right edge lands flush with the trailing control however wide it is, while its
2012
+ * left edge stays on the bar's. The top inset clears the bar by one xs step, and the z-index
2013
+ * sits it above its row siblings within the anchor's stacking band (above the map, below
2014
+ * portalled menus). Absolute, out of flow, is what frees it to overhang the column.
2015
+ */
2016
+ .mtya-search-dropdown {
2017
+ position: absolute;
2018
+ inset-block-start: calc(100% + var(--mantine-spacing-xs));
2019
+ inset-inline: 0;
2020
+ z-index: 1;
2021
+ }
2022
+
2023
+ /*
2024
+ * The positioning context for the assistant tab: the bar sits in normal flow and the tab row is
2025
+ * absolutely placed beneath it. Relative only, with no z-index, so the tab row's negative one
2026
+ * lands it behind the bar within this stacking band rather than behind the map.
2027
+ */
2028
+ .mtya-search-bar-row {
2029
+ position: relative;
2030
+ }
2031
+
2032
+ /*
2033
+ * The tab row places the assistant tab below the bar and centres it. It is pulled up so the
2034
+ * tab's top hides behind the bar (the z-index keeps it behind and the bar's opaque background
2035
+ * covers it), spans the bar's width, and centres with flexbox. Centring lives HERE rather than
2036
+ * as a transform on the button on purpose: Mantine's Button writes its own transform on
2037
+ * `:active`, which would override a translateX centring and make the tab jump aside on press,
2038
+ * dropping the click.
2039
+ */
2040
+ .mtya-search-ai-tab-row {
2041
+ position: absolute;
2042
+ inset-block-start: calc(100% - 11px);
2043
+ inset-inline: 0;
2044
+ z-index: -1;
2045
+ display: flex;
2046
+ justify-content: center;
2047
+ }
2048
+
2049
+ /*
2050
+ * The tab itself: rounded bottom corners and a soft shadow so it reads as a tab emerging from
2051
+ * behind the field. `height: auto` is load-bearing: Mantine's fixed button height would clip
2052
+ * the label once the top padding pushes it down; with it the padding grows the tab so the whole
2053
+ * label sits in the visible, peeking part.
2054
+ */
2055
+ .mtya-search-ai-tab {
2056
+ height: auto;
2057
+ padding-inline: var(--mantine-spacing-xl);
2058
+ padding-top: 15px;
2059
+ padding-bottom: 5px;
2060
+ border-radius: 0 0 var(--mantine-radius-md) var(--mantine-radius-md);
2061
+ box-shadow: var(--mantine-shadow-sm);
2062
+ }
2063
+
2064
+ /*
2065
+ * The two-column dropdown must never reflow as results land. The category labels never change,
2066
+ * so the rail self-sizes to the longest one ONCE and then holds that width (`flex-shrink: 0`
2067
+ * keeps it from collapsing, and the reserved badge slot keeps a counted tab the same width as an
2068
+ * uncounted one). The root spans the fixed-width dropdown so the block fills it rather than
2069
+ * shrink-wrapping to the longest row, and the panel takes the remainder and clips its rows
2070
+ * (`min-width: 0`) instead of widening to its content.
2071
+ */
2072
+ .mtya-search-tabs {
2073
+ width: 100%;
2074
+ }
2075
+
2076
+ .mtya-search-tabs-list {
2077
+ flex-shrink: 0;
2078
+ }
2079
+
2080
+ .mtya-search-tabs-panel {
2081
+ flex: 1 1 0;
2082
+ min-width: 0;
2083
+ }
2084
+
2085
+ /*
2086
+ * The reserved count column on every tab: a fixed minimum width sized for the two-digit cap, so
2087
+ * the slot (and therefore the rail) stays the same width whether or not the tab carries a
2088
+ * count, with the badge pinned to the slot's trailing edge.
2089
+ */
2090
+ .mtya-search-tabs-badge {
2091
+ display: inline-flex;
2092
+ justify-content: flex-end;
2093
+ min-width: 2rem;
2094
+ }
2095
+
2096
+ /*
2097
+ * A settled-empty category is a disabled vertical tab. The default variant's tab border is
2098
+ * transparent at rest and turns visible on hover, and Mantine's own disabled-hover rule clears
2099
+ * only the background, leaving that border to paint an inline-end line on an inert tab. Holding
2100
+ * it transparent is what makes the empty category read as fully inert. A disabled tab is never
2101
+ * active, so this cannot touch the active tab's indicator.
2102
+ */
2103
+ .mtya-search-tabs-tab:where([data-disabled]):hover {
2104
+ border-color: transparent;
2105
+ }
2106
+
2107
+ /*
2108
+ * The same tab is non-selectable, but its 0 count must read like any populated category's, so
2109
+ * it holds full opacity rather than Mantine's disabled fade. The not-allowed cursor and the
2110
+ * absent hover border carry the non-interactive state instead, and the count never dims.
2111
+ */
2112
+ .mtya-search-tabs-tab:where([data-disabled]) {
2113
+ opacity: 1;
2114
+ }
2115
+
2116
+ /*
2117
+ * One search hit: an ARIA `option` inside the parent's `listbox`. `content-visibility: auto`
2118
+ * pairs with `contain-intrinsic-size` so a category's rows skip layout and paint while scrolled
2119
+ * out of view while still reserving their height: the list paints only what is on screen
2120
+ * without virtualization machinery. It is also the marquee host: hovering or focusing the row
2121
+ * drives the title's and subtitle's reveal from one place.
2122
+ */
2123
+ .mtya-search-row {
2124
+ min-height: 44px;
2125
+ contain-intrinsic-size: auto 52px;
2126
+ padding-block: var(--mantine-spacing-xs);
2127
+ padding-inline: var(--mantine-spacing-sm);
2128
+ content-visibility: auto;
2129
+ overflow: hidden;
2130
+ cursor: pointer;
2131
+ list-style: none;
2132
+ border-radius: var(--mantine-radius-sm);
2133
+ }
2134
+
2135
+ .mtya-search-row:where(:hover, :focus-within) {
2136
+ background-color: var(--mtya-search-row-hover-bg, var(--mantine-color-gray-1));
2137
+ }
2138
+
2139
+ /*
2140
+ * The keyboard cursor's row wins over the hover surface, so an arrow-key selection stays
2141
+ * visually distinct from the row the pointer happens to be over.
2142
+ */
2143
+ .mtya-search-row[data-selected] {
2144
+ background-color: var(--mtya-search-row-selected-bg, var(--mantine-color-blue-light));
2145
+ }
2146
+
2147
+ /*
2148
+ * The title column shrinks and clips (`flex: 1` plus `min-width: 0`) so the bounded activity
2149
+ * cluster sits beside it without wrapping, keeping the name and description the row's priority.
2150
+ */
2151
+ .mtya-search-row-title-column {
2152
+ flex: 1;
2153
+ min-width: 0;
2154
+ overflow: hidden;
2155
+ }
2156
+
2157
+ /*
2158
+ * The trailing cluster of compatible-activity glyphs. `flex-shrink: 0` keeps it from collapsing
2159
+ * inside the row's nowrap group, so the bounded cluster stays fully visible while the title
2160
+ * column absorbs all of the row's width pressure.
2161
+ */
2162
+ .mtya-search-row-activities {
2163
+ flex-shrink: 0;
2164
+ }
2165
+
2166
+ /*
2167
+ * The row's first line, carried inside the shared marquee: bold at the xs size, so it reads as
2168
+ * the hit's identity. The marquee owns the clip, the ellipsis and the hover reveal; this sets
2169
+ * only the type.
2170
+ */
2171
+ .mtya-search-row-title {
2172
+ font-size: var(--mantine-font-size-xs);
2173
+ font-weight: 700;
2174
+ }
2175
+
2176
+ /*
2177
+ * The dimmed description line beneath it, at the same size, matching the second line every other
2178
+ * row in the studio carries.
2179
+ */
2180
+ .mtya-search-row-secondary {
2181
+ font-size: var(--mantine-font-size-xs);
2182
+ color: var(--mantine-color-dimmed);
2183
+ }
2184
+
2185
+ /* ------------------------------------------------------------------------------------------
2186
+ * Export dialog
2187
+ * ---------------------------------------------------------------------------------------- */
2188
+
2189
+ /*
2190
+ * The dialog body: a rail of every format on the left, a detail pane for the selected one on the
2191
+ * right, separated by a hairline. Both columns stretch to the taller of the two (always the
2192
+ * rail, whose contents never change), which is what makes the dialog's height constant and lets
2193
+ * the pane anchor its own controls.
2194
+ */
2195
+ .mtya-export-split {
2196
+ display: grid;
2197
+ grid-template-columns: 14rem 1fr;
2198
+ gap: var(--mantine-spacing-lg);
2199
+ align-items: stretch;
2200
+
2201
+ /*
2202
+ * Pinned to its tallest state (the formats that carry a variant row the others do not), so
2203
+ * the dialog is one height whichever format is being browsed. It also opens inside an
2204
+ * embedded studio iframe, where a footer that moved as the selection changed could land
2205
+ * outside the frame. The reserve is the difference between the two states only, and because
2206
+ * the receipt is bottom-anchored the slack lands as breathing room above it rather than as an
2207
+ * empty box in the middle of the pane.
2208
+ */
2209
+ min-height: 19rem;
2210
+ }
2211
+
2212
+ .mtya-export-rail {
2213
+ padding-right: var(--mantine-spacing-lg);
2214
+ border-right: 1px solid var(--mantine-color-default-border);
2215
+ }
2216
+
2217
+ /*
2218
+ * The pane fills the rail's height so its trailing controls can be bottom-anchored.
2219
+ * `min-width: 0` lets long hint text wrap instead of widening the grid column.
2220
+ */
2221
+ .mtya-export-detail {
2222
+ min-width: 0;
2223
+ height: 100%;
2224
+ }
2225
+
2226
+ /*
2227
+ * The receipt is pushed to the bottom of the pane, so the file that will land sits at an
2228
+ * identical position for every format: neither the description's length nor the variant control
2229
+ * can move it, and it stays directly above the button that produces it.
2230
+ */
2231
+ .mtya-export-outcome {
2232
+ margin-top: auto;
2233
+ }
2234
+
2235
+ /*
2236
+ * The receipt frames the one thing the dialog is for: the file that will land. A subtle surface
2237
+ * and hairline set it apart from the pane's prose without competing with the rail's cards.
2238
+ */
2239
+ .mtya-export-receipt {
2240
+ padding: var(--mantine-spacing-xs);
2241
+ background-color: var(--mantine-color-default-hover);
2242
+ border: 1px solid var(--mantine-color-default-border);
2243
+ border-radius: var(--mantine-radius-default);
2244
+ }
2245
+
2246
+ /*
2247
+ * The receipt names the file, so it is set in the monospace face: a filename is a literal, and
2248
+ * reading it as one makes the extension unambiguous.
2249
+ */
2250
+ .mtya-export-filename {
2251
+ font-family: var(--mantine-font-family-monospace);
2252
+ }
2253
+
2254
+ /* ------------------------------------------------------------------------------------------
2255
+ * The co-pilot conversation
2256
+ * ---------------------------------------------------------------------------------------- */
2257
+
2258
+ /*
2259
+ * Each tool action reads as a discrete, quiet agent action rather than a plain text line: a
2260
+ * hairline border and a faint raised surface group the status line and its disclosure into one
2261
+ * contained row, set apart from the reply prose without shouting. `overflow: hidden` clips the
2262
+ * disclosure button's rectangular hover fill to the container's rounded corners.
2263
+ */
2264
+ .mtya-activity-row {
2265
+ overflow: hidden;
2266
+ background-color: var(--mantine-color-default);
2267
+ border: 1px solid var(--mantine-color-default-border);
2268
+ border-radius: var(--mantine-radius-sm);
2269
+ }
2270
+
2271
+ /*
2272
+ * The collapsed row is a full-width disclosure button; the padding gives the hover surface room
2273
+ * and matches the static row so glyphs align whether or not a row has details. The container
2274
+ * owns the corner radius, so the button carries none.
2275
+ */
2276
+ .mtya-activity-row-button {
2277
+ width: 100%;
2278
+ padding: var(--mantine-spacing-xxs) var(--mantine-spacing-xs);
2279
+ }
2280
+
2281
+ .mtya-activity-row-button:hover {
2282
+ background-color: var(--mantine-color-default-hover);
2283
+ }
2284
+
2285
+ /* A row with nothing to expand renders as a plain line, at the button's padding so its status
2286
+ glyph lines up with the expandable rows beside it. */
2287
+ .mtya-activity-row-static {
2288
+ padding: var(--mantine-spacing-xxs) var(--mantine-spacing-xs);
2289
+ }
2290
+
2291
+ /* The label takes the row's free space and truncates, so the collapsed line stays one line and
2292
+ the chevron pins to the trailing edge. */
2293
+ .mtya-activity-row-label {
2294
+ flex: 1;
2295
+ min-width: 0;
2296
+ }
2297
+
2298
+ /* The chevron turns a quarter when the row opens. `currentColor` tracks the dimmed treatment;
2299
+ the rotation is suppressed under reduced motion. */
2300
+ .mtya-activity-row-chevron {
2301
+ color: var(--mantine-color-dimmed);
2302
+ transition: transform 150ms ease;
2303
+ }
2304
+
2305
+ .mtya-activity-row-chevron[data-open] {
2306
+ transform: rotate(90deg);
2307
+ }
2308
+
2309
+ @media (prefers-reduced-motion: reduce) {
2310
+ .mtya-activity-row-chevron {
2311
+ transition: none;
2312
+ }
2313
+ }
2314
+
2315
+ /* The expanded detail (the tool name, the settled summary, or the error) wraps a long
2316
+ unbroken token or URL instead of widening the row past the panel. */
2317
+ .mtya-activity-row-detail {
2318
+ overflow-wrap: anywhere;
2319
+ }
2320
+
2321
+ /*
2322
+ * The captured tool input can carry long JSON lines. Mantine's Code already scrolls its own
2323
+ * overflow; capping it at the row width keeps a wide value scrolling inside its own block (the
2324
+ * JSON stays readable and unwrapped), so it never widens the panel.
2325
+ */
2326
+ .mtya-activity-row-input {
2327
+ max-width: 100%;
2328
+ overflow-x: auto;
2329
+ }
2330
+
2331
+ /*
2332
+ * The rendered markdown stacks its blocks on a uniform vertical rhythm. A flex gap gives every
2333
+ * block the same spacing without per-block margins, and `overflow-wrap: anywhere` breaks a long
2334
+ * autolinked URL inside the narrow chat column instead of letting it widen the panel.
2335
+ */
2336
+ .mtya-markdown {
2337
+ display: flex;
2338
+ flex-direction: column;
2339
+ gap: var(--mantine-spacing-xxs);
2340
+ overflow-wrap: anywhere;
2341
+ }
2342
+
2343
+ /* The block elements ship their own margins; zeroing them makes the flex gap above the single
2344
+ source of spacing between blocks. */
2345
+ .mtya-markdown :where(p, ul, ol, pre, blockquote, table) {
2346
+ margin: 0;
2347
+ }
2348
+
2349
+ /* A quoted passage is marked with a leading rule and dimmed text rather than a full callout,
2350
+ which keeps it legible in the narrow chat column. */
2351
+ .mtya-markdown-blockquote {
2352
+ padding-inline-start: var(--mantine-spacing-xs);
2353
+ color: var(--mantine-color-dimmed);
2354
+ border-inline-start: 2px solid var(--mantine-color-default-border);
2355
+ }
2356
+
2357
+ /*
2358
+ * A fenced block drops to the extra-small type scale so a wide sample stays readable in the
2359
+ * narrow column, and scrolls a long line inside its own block (capped at the column width), so
2360
+ * the panel itself never gains a horizontal scrollbar.
2361
+ */
2362
+ .mtya-markdown-code {
2363
+ max-width: 100%;
2364
+ overflow-x: auto;
2365
+ font-size: var(--mantine-font-size-xs);
2366
+ }
2367
+
2368
+ /* A GFM table scrolls horizontally instead of widening the panel, at the extra-small type scale
2369
+ so more columns fit before it has to. */
2370
+ .mtya-markdown-table {
2371
+ overflow-x: auto;
2372
+ font-size: var(--mantine-font-size-xs);
2373
+ }
2374
+
2375
+ /*
2376
+ * The composer is a bordered chat input: a soft frame around the unstyled textarea and its
2377
+ * control row. The border lifts to the primary filled colour while anything inside is focused,
2378
+ * so the input reads as active without a heavy focus ring.
2379
+ */
2380
+ .mtya-chat-composer {
2381
+ display: flex;
2382
+ flex-direction: column;
2383
+ gap: var(--mantine-spacing-xs);
2384
+ padding: var(--mantine-spacing-sm);
2385
+ background-color: var(--mantine-color-body);
2386
+ border: 1px solid var(--mantine-color-default-border);
2387
+ border-radius: var(--mantine-radius-default);
2388
+ }
2389
+
2390
+ .mtya-chat-composer:focus-within {
2391
+ border-color: var(--mantine-primary-color-filled);
2392
+ }
2393
+
2394
+ /*
2395
+ * The composer frame owns the inset, so the textarea sits flush on every side. Mantine's
2396
+ * unstyled variant zeroes a textarea's horizontal padding, but a multiline input still carries
2397
+ * a size-based vertical padding set inline, so `padding-block: 0` levels the top with the sides
2398
+ * and the composer's own padding becomes the single uniform inset. A long unbroken draft token
2399
+ * then wraps rather than forcing a horizontal scroll, so the frame keeps its width whatever is
2400
+ * typed.
2401
+ */
2402
+ .mtya-chat-composer textarea {
2403
+ padding-block: 0;
2404
+ overflow-wrap: anywhere;
2405
+ }
2406
+
2407
+ /*
2408
+ * The wrap guard every transcript turn shares: `overflow-wrap: anywhere` breaks a long unbroken
2409
+ * token or URL so it can never widen the panel, and `min-width: 0` lets the flex column child
2410
+ * shrink so a wide child is contained rather than stretching the column. `overflow-wrap` is
2411
+ * inherited, so this one rule reaches every turn's descendant text (the reply prose, the error
2412
+ * alert, the confirmation summary) from one place.
2413
+ *
2414
+ * `content-visibility: auto` skips layout and paint for a turn scrolled out of view and reserves
2415
+ * its height instead. Turn heights vary widely (a one-line tool row, a tall markdown reply), so
2416
+ * the reserved size falls back to a short turn only until a turn has rendered once; the
2417
+ * remembered real height then anchors the scroll so revisiting earlier turns stays stable.
2418
+ */
2419
+ .mtya-chat-turn {
2420
+ min-width: 0;
2421
+ contain-intrinsic-size: auto 48px;
2422
+ content-visibility: auto;
2423
+ overflow-wrap: anywhere;
2424
+ }
2425
+
2426
+ /*
2427
+ * The reader's own words are shaped into a trailing-aligned bubble: the large radius rounds the
2428
+ * soft surface, and `word-break` keeps even a pasted URL wrapping inside the bubble instead of
2429
+ * pushing it wider.
2430
+ */
2431
+ .mtya-chat-user-bubble {
2432
+ word-break: break-word;
2433
+ border-radius: var(--mantine-radius-lg);
2434
+ }
2435
+
2436
+ /*
2437
+ * The option row undoes what a Mantine Button does to multi-line content, because the question
2438
+ * card stacks an option's label over its description inside one.
2439
+ *
2440
+ * The button ROOT sets `text-align: center`, which is inherited, so `justify` (which only moves
2441
+ * the flex box holding [section | label]) leaves the text itself centred inside a stack as wide
2442
+ * as its widest line, and a card of options would render its labels down the middle. The LABEL
2443
+ * sets nowrap plus `overflow: hidden` with no ellipsis, so a description one pixel too wide
2444
+ * would be cut mid-glyph rather than trailing off.
2445
+ */
2446
+ .mtya-chat-option-row {
2447
+ text-align: left;
2448
+ }
2449
+
2450
+ /*
2451
+ * The hover paint is withheld from an inert row. The card reports inertness with
2452
+ * `data-disabled` rather than the native attribute (the row the reader just activated has to
2453
+ * keep its focus, which a disabled control drops), so the guard has to read that attribute too;
2454
+ * `:not(:disabled)` alone would let a settled card light up under the pointer as if it could
2455
+ * still be picked.
2456
+ */
2457
+ .mtya-chat-option-row:not(:disabled):not([data-disabled]):hover {
2458
+ background-color: var(--mantine-color-default-hover);
2459
+ }
2460
+
2461
+ /*
2462
+ * The content inside the button. `min-width: 0` is the load-bearing half: a flex child refuses
2463
+ * to shrink below its content width by default, so the content would stay at its natural width
2464
+ * and the label's `overflow: hidden` would cut it. `white-space: normal` undoes the button
2465
+ * label's nowrap so the content wraps instead of being cut mid-glyph.
2466
+ */
2467
+ .mtya-chat-option-body {
2468
+ flex: 1;
2469
+ min-width: 0;
2470
+ white-space: normal;
2471
+ }
2472
+
2473
+ /*
2474
+ * The pending-reply loader. Mantine's `respectReducedMotion` reaches its JS transitions only,
2475
+ * and a dots loader animates on raw CSS keyframes with no static variant to switch to, so the
2476
+ * reduced-motion guard lands here: the pulse stops and the three dots stay drawn, which keeps
2477
+ * the "composing" signal instead of trading it for a blank lane. The rule reaches the dots
2478
+ * themselves rather than the wrapper, since they are what carries the animation.
2479
+ */
2480
+ @media (prefers-reduced-motion: reduce) {
2481
+ .mtya-chat-thinking * {
2482
+ animation-duration: 0s;
2483
+ animation-iteration-count: 1;
2484
+ }
2485
+ }
2486
+
2487
+ /* ------------------------------------------------------------------------------------------
2488
+ * The itinerary editor's own surfaces
2489
+ * ---------------------------------------------------------------------------------------- */
2490
+
2491
+ /*
2492
+ * `.mtya-activity-guide-head` and `.mtya-activity-guide-row` share one column template, so every
2493
+ * capability glyph lands under the header that names it. The template is declared twice rather
2494
+ * than through a single grid over all cells because each row needs to carry its own background
2495
+ * for the held state, which a flat grid of cells cannot do.
2496
+ */
2497
+ .mtya-activity-guide-head,
2498
+ .mtya-activity-guide-row {
2499
+ display: grid;
2500
+ grid-template-columns: 11.5rem minmax(0, 1fr) 7.5rem 7.5rem 7.5rem;
2501
+ gap: var(--mantine-spacing-xs);
2502
+ }
2503
+
2504
+ /*
2505
+ * The head carries the whole primer: each capability is named once, glyphed once, and
2506
+ * defined once, directly above the column of marks that compares it. A definition here costs
2507
+ * a short line read where it is needed; the same definitions in prose blocks above the table
2508
+ * would put a wall of text between the reader and the answer.
2509
+ *
2510
+ * Its cells top-align so the glyphs and the names stay on one baseline however many
2511
+ * lines a translated definition takes: bottom-aligning lifts a column whose definition
2512
+ * wraps, and the names stop reading as one row. A single rule separates the
2513
+ * definitions from the data. The first two columns are deliberately unheaded: a column
2514
+ * of activity glyphs and a column of terrain phrases announce themselves.
2515
+ */
2516
+ .mtya-activity-guide-head {
2517
+ align-items: start;
2518
+ padding: 0 var(--mantine-spacing-xs) var(--mantine-spacing-sm);
2519
+ margin-block-end: var(--mantine-spacing-xs);
2520
+ border-block-end: 1px solid var(--mantine-color-default-border);
2521
+ }
2522
+
2523
+ /* `.mtya-activity-guide-head-mark` stacks a column's glyph, name and definition above its marks. */
2524
+ .mtya-activity-guide-head-mark {
2525
+ display: flex;
2526
+ flex-direction: column;
2527
+ gap: 3px;
2528
+ align-items: center;
2529
+ color: var(--mantine-color-dimmed);
2530
+ text-align: center;
2531
+ }
2532
+
2533
+ /*
2534
+ * `.mtya-activity-guide-head-label` holds a capability's name on one line. The names are kept
2535
+ * short enough in every language to fit the column, and nowrap makes that a guarantee rather
2536
+ * than a hope: a wrapped name would sit the column titles off the baseline of each other.
2537
+ */
2538
+ .mtya-activity-guide-head-label {
2539
+ font-size: var(--mantine-font-size-xxs);
2540
+ font-weight: 600;
2541
+ line-height: 1.3;
2542
+ color: var(--mantine-color-text);
2543
+ text-transform: uppercase;
2544
+ letter-spacing: 0.04em;
2545
+ white-space: nowrap;
2546
+ }
2547
+
2548
+ /*
2549
+ * `.mtya-activity-guide-head-gloss` is the column's definition: a handful of words, allowed to
2550
+ * wrap onto a second line so a longer translation stays readable rather than truncating the one
2551
+ * thing that makes the column legible. text-wrap:balance keeps those two lines even.
2552
+ */
2553
+ .mtya-activity-guide-head-gloss {
2554
+ font-size: var(--mantine-font-size-xxs);
2555
+ line-height: 1.3;
2556
+ color: var(--mantine-color-dimmed);
2557
+ text-wrap: balance;
2558
+ }
2559
+
2560
+ /*
2561
+ * `.mtya-activity-guide-body` scrolls within a fixed height, so the dialog stays the same size
2562
+ * as the catalog grows: new activities lengthen the scroll, never the modal. The cap is set just
2563
+ * below a laptop's comfortable dialog height so the footnote and the action row stay in view.
2564
+ */
2565
+ .mtya-activity-guide-body {
2566
+ max-height: 25rem;
2567
+ overflow-y: auto;
2568
+ }
2569
+
2570
+ /*
2571
+ * `.mtya-activity-guide-group` heads each category inside the scrolling body. It takes a top
2572
+ * margin on every group after the first so the categories read as bands, and none on the first
2573
+ * so the table starts flush under its header.
2574
+ */
2575
+ .mtya-activity-guide-group {
2576
+ margin-block: var(--mantine-spacing-sm) var(--mantine-spacing-xxs);
2577
+ }
2578
+
2579
+ .mtya-activity-guide-body > *:first-child.mtya-activity-guide-group {
2580
+ margin-block-start: 0;
2581
+ }
2582
+
2583
+ /*
2584
+ * `.mtya-activity-guide-row` is one activity. It carries no rule of its own: the rows are held
2585
+ * apart by their padding and by the category headings, and the columns are already aligned, so
2586
+ * a rule between every pair would only add noise. The hover tint is the sole row-level chrome,
2587
+ * and it doubles as the cue that a fuller explanation waits behind the row.
2588
+ */
2589
+ .mtya-activity-guide-row {
2590
+ position: relative;
2591
+ align-items: center;
2592
+ padding: 7px var(--mantine-spacing-xs);
2593
+ cursor: help;
2594
+ border-radius: var(--mantine-radius-sm);
2595
+ transition: background-color 120ms ease;
2596
+ }
2597
+
2598
+ .mtya-activity-guide-row:hover:not([data-selected]) {
2599
+ background-color: var(--mantine-color-default-hover);
2600
+ }
2601
+
2602
+ @media (prefers-reduced-motion: reduce) {
2603
+ .mtya-activity-guide-row {
2604
+ transition: none;
2605
+ }
2606
+ }
2607
+
2608
+ /*
2609
+ * The held row takes the primary tint plus an accent bar on its leading edge, so the
2610
+ * activity the form currently carries is findable without the row implying it can be
2611
+ * clicked. The bar is a pseudo-element, so the row's height never shifts between states.
2612
+ */
2613
+ .mtya-activity-guide-row[data-selected] {
2614
+ background-color: var(--mantine-primary-color-light);
2615
+ }
2616
+
2617
+ .mtya-activity-guide-row[data-selected]::before {
2618
+ position: absolute;
2619
+ inset-block: 4px;
2620
+ inset-inline-start: 0;
2621
+ width: 2px;
2622
+ content: "";
2623
+ background-color: var(--mantine-primary-color-filled);
2624
+ border-radius: 2px;
2625
+ }
2626
+
2627
+ /*
2628
+ * `.mtya-activity-guide-name` holds the glyph and the activity's name. min-width:0 lets a long
2629
+ * name truncate inside its fixed column rather than pushing the capability columns out of
2630
+ * alignment with the header above them.
2631
+ */
2632
+ .mtya-activity-guide-name {
2633
+ display: flex;
2634
+ gap: var(--mantine-spacing-xs);
2635
+ align-items: center;
2636
+ min-width: 0;
2637
+ }
2638
+
2639
+ /*
2640
+ * `.mtya-activity-guide-description` is held to a single line. Every activity is summarised in a
2641
+ * short phrase, so the row height is constant and the table's height is simply its row count: no
2642
+ * row can wrap and push the body into a scroll. A phrase long enough to overrun its column
2643
+ * (a longer translation) truncates rather than wrapping, keeping that guarantee.
2644
+ */
2645
+ .mtya-activity-guide-description {
2646
+ min-width: 0;
2647
+ overflow: hidden;
2648
+ text-overflow: ellipsis;
2649
+ white-space: nowrap;
2650
+ }
2651
+
2652
+ /* `.mtya-activity-guide-mark` centres the capability glyph under its header. */
2653
+ .mtya-activity-guide-mark {
2654
+ display: flex;
2655
+ justify-content: center;
2656
+ }
2657
+
2658
+ /*
2659
+ * `.mtya-elevation-sheet-sheet` is the compact-viewport form of the docked elevation profile: a
2660
+ * bottom sheet that spans the viewport edge to edge instead of the desktop dock's inset
2661
+ * card. --mtya-sheet-drag carries the live finger offset during a drag and is written
2662
+ * through a ref (never per-frame React state), so a gesture costs no re-render;
2663
+ * it is cleared on release and the sheet settles onto its snap.
2664
+ */
2665
+ .mtya-elevation-sheet-sheet {
2666
+ touch-action: none;
2667
+ transform: translateY(var(--mtya-sheet-drag, 0px));
2668
+ }
2669
+
2670
+ /*
2671
+ * `.mtya-elevation-sheet-handle` is the full-width grab target above the profile content. It is
2672
+ * a real button so a keyboard and a screen reader reach the snap cycle too: a drag
2673
+ * gesture alone would leave the analysis section unreachable without a pointer.
2674
+ */
2675
+ .mtya-elevation-sheet-handle {
2676
+ display: flex;
2677
+ align-items: center;
2678
+ justify-content: center;
2679
+ width: 100%;
2680
+ padding: var(--mantine-spacing-xxs) 0;
2681
+ touch-action: none;
2682
+ cursor: grab;
2683
+ background: transparent;
2684
+ border: 0;
2685
+ }
2686
+
2687
+ .mtya-elevation-sheet-handle:active {
2688
+ cursor: grabbing;
2689
+ }
2690
+
2691
+ /* `.mtya-elevation-sheet-grip` is the 36x4 rounded bar that reads as "drag me". */
2692
+ .mtya-elevation-sheet-grip {
2693
+ width: 36px;
2694
+ height: 4px;
2695
+ background-color: var(--mantine-color-default-border);
2696
+ border-radius: var(--mantine-radius-xl);
2697
+ }
2698
+
2699
+ @media (prefers-reduced-motion: no-preference) {
2700
+ .mtya-elevation-sheet-sheet {
2701
+ transition: transform 150ms ease;
2702
+ }
2703
+
2704
+ /*
2705
+ * While the finger is down the sheet must track it exactly, so the settle
2706
+ * transition is suppressed for the duration of the gesture.
2707
+ */
2708
+ .mtya-elevation-sheet-sheet[data-dragging="true"] {
2709
+ transition: none;
2710
+ }
2711
+ }
2712
+
2713
+ /*
2714
+ * `.mtya-import-legend-solid` and `.mtya-import-legend-dashed` are the legend's stroke samples.
2715
+ * They are drawn as a border on a fixed-width span rather than as an icon because what they
2716
+ * stand for IS a stroke: a glyph would be a picture of a line where the line itself is
2717
+ * available.
2718
+ *
2719
+ * The samples carry no color. The map paints each segment's pair in that segment's
2720
+ * own hue, so a legend swatch in any one of them would claim to be about that
2721
+ * segment; the neutral text color says "this is what a stroke of this kind means"
2722
+ * and nothing more.
2723
+ *
2724
+ * The solid sample keeps the full text color while its label is dimmed with the
2725
+ * rest of the caption: the sample is the whole distinction between the two rows, so
2726
+ * it is the one thing here that must not fade.
2727
+ */
2728
+ .mtya-import-legend-solid,
2729
+ .mtya-import-legend-dashed {
2730
+ display: inline-block;
2731
+ flex: none;
2732
+ width: 20px;
2733
+ border-top-color: var(--mantine-color-text);
2734
+ border-top-width: 2px;
2735
+ }
2736
+
2737
+ .mtya-import-legend-solid {
2738
+ border-top-style: solid;
2739
+ }
2740
+
2741
+ .mtya-import-legend-dashed {
2742
+ border-top-color: var(--mantine-color-dimmed);
2743
+ border-top-style: dashed;
2744
+ }
2745
+
2746
+ /*
2747
+ * The two comparison captures are photographs of a map, so they carry no edge of
2748
+ * their own against the dialog surface: the hairline is what stops a pale ridge or
2749
+ * a snowfield from bleeding into the background. The aspect ratio is pinned so the
2750
+ * pair stays the same height whatever the source crop, which is the whole point of
2751
+ * showing them side by side.
2752
+ *
2753
+ * The scheme split is a light default plus a [data-mtya-color-scheme="dark"]
2754
+ * override rather than the CSS light-dark() function, for the reason stated at the top of
2755
+ * this file: lowered, both fallbacks emit and the property resets to its initial value.
2756
+ */
2757
+ /*
2758
+ * A 21:9 letterbox, not 16:9: the dialog stacks two of these rows above its prose, and
2759
+ * every row of height here is height the reader has to scroll past to reach the
2760
+ * argument. A route is a long thin thing photographed from above, so the vertical band
2761
+ * a squarer crop adds is empty hillside; cutting it lets the capture be framed
2762
+ * TIGHTER on the ground instead, which is what makes the two lines legible at the
2763
+ * ~285px the pair actually renders at.
2764
+ */
2765
+ .mtya-routing-guide-comparison {
2766
+ aspect-ratio: 21 / 9;
2767
+ object-fit: cover;
2768
+ border: 1px solid var(--mantine-color-gray-3);
2769
+ }
2770
+
2771
+ [data-mtya-color-scheme="dark"] .mtya-routing-guide-comparison {
2772
+ border-color: var(--mantine-color-dark-4);
2773
+ }
2774
+
2775
+ /*
2776
+ * `.mtya-routing-guide-pair` holds one comparison's two captures: side by side in a studio of
2777
+ * Mantine's `xs` width and up, stacked in a narrower one. The breakpoint reads the studio
2778
+ * rather than the window, since the guide is a dialog of a studio that may be one region of a
2779
+ * page.
2780
+ */
2781
+ .mtya-routing-guide-pair {
2782
+ display: grid;
2783
+ grid-template-columns: minmax(0, 1fr);
2784
+ gap: var(--mantine-spacing-xs);
2785
+ }
2786
+
2787
+ @container mtya-studio (width >= 36em) {
2788
+ .mtya-routing-guide-pair {
2789
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2790
+ }
2791
+ }
2792
+
2793
+ /*
2794
+ * The frame exists to anchor the caption over the capture. Which picture is which is a
2795
+ * property of the picture, so the label rides on it instead of claiming a text row of
2796
+ * its own under each one: two before/after rows plus their prose is a tall dialog,
2797
+ * and those rows are the cheapest height to give back. It also keeps the pairing
2798
+ * unambiguous once the pair wraps to a single column in a narrow studio, where
2799
+ * captions underneath read as a caption for the image below them.
2800
+ */
2801
+ .mtya-routing-guide-frame {
2802
+ position: relative;
2803
+ }
2804
+
2805
+ /*
2806
+ * Both captures are the same light topo raster in either colour scheme, so a single
2807
+ * appearance covers both and no scheme override is needed: a near-opaque white pill
2808
+ * stays legible over contour lines without hiding the ground it sits on.
2809
+ */
2810
+ .mtya-routing-guide-caption {
2811
+ position: absolute;
2812
+ inset-block-end: var(--mantine-spacing-xxs);
2813
+ inset-inline-start: var(--mantine-spacing-xxs);
2814
+ padding: 2px var(--mantine-spacing-xs);
2815
+ color: var(--mantine-color-dark-9);
2816
+ background-color: rgb(255 255 255 / 0.9);
2817
+ border-radius: var(--mantine-radius-sm);
2818
+ }
2819
+
2820
+ /*
2821
+ * `.mtya-itinerary-identity-line` is the whole identity row. It carries `min-width: 0` for the
2822
+ * same reason its ancestors in SidenavContentHeader do: the chain that lets the name below give
2823
+ * up its width has to be unbroken from the panel down, and a single link holding its content
2824
+ * width holds the whole line's.
2825
+ *
2826
+ * `.mtya-itinerary-identity-activity` is the activity glyph + its translated name, and it is the
2827
+ * ONE element on the identity line whose length is not bounded by the data model: an activity
2828
+ * name runs as long as the language makes it ("Randonnée en raquettes", "Ski de randonnée
2829
+ * nordique"). It gives up its width first (`min-width: 0` is what lets a flex item
2830
+ * shrink past its content at all), so the measurements beside it keep their shape and
2831
+ * the name ellipsises instead.
2832
+ *
2833
+ * Without this the line would grow: the editor panel is a vertical scroller, and a
2834
+ * scroller that is not clipped on the other axis answers content wider than itself
2835
+ * with a HORIZONTAL scrollbar. A 340px panel that slides sideways is never what the
2836
+ * reader wanted, so the line is built so it cannot happen.
2837
+ */
2838
+ .mtya-itinerary-identity-line,
2839
+ .mtya-itinerary-identity-activity,
2840
+ .mtya-itinerary-identity-activity-name {
2841
+ min-width: 0;
2842
+ }
2843
+
2844
+ /*
2845
+ * `.mtya-profile-strip-row` is the strip's one line of stat cells. The gap tightens below the sm
2846
+ * breakpoint so more cells fit before the strip has to scroll at all.
2847
+ *
2848
+ * The gap lives here rather than on the Group's responsive `gap` prop on purpose:
2849
+ * a responsive Mantine style prop injects a per-instance <style> element beside
2850
+ * the element, which would land inside the very row whose height is load-bearing
2851
+ * for the elevation panel's fit budget.
2852
+ */
2853
+ .mtya-profile-strip-row {
2854
+ gap: var(--mantine-spacing-xl);
2855
+ }
2856
+
2857
+ @container mtya-studio (max-width: 48em) {
2858
+ .mtya-profile-strip-row {
2859
+ gap: var(--mantine-spacing-md);
2860
+ }
2861
+ }
2862
+
2863
+ /*
2864
+ * The segment chooser in the profile's header, which narrows where the studio does.
2865
+ *
2866
+ * A CSS rule rather than a responsive style prop. Mantine's `w={{ base: 120, sm: 180 }}` injects
2867
+ * a per-instance `<style>` element beside the field and measures the VIEWPORT, so a studio in a
2868
+ * narrow pane of a wide window would read the window and stay wide. This measures the studio,
2869
+ * and costs no extra node.
2870
+ */
2871
+ .mtya-profile-segment-select {
2872
+ inline-size: 180px;
2873
+ }
2874
+
2875
+ @container mtya-studio (max-width: 48em) {
2876
+ .mtya-profile-segment-select {
2877
+ inline-size: 120px;
2878
+ }
2879
+ }
2880
+
2881
+ /*
2882
+ * `.mtya-group-range-box` is the bordered container the range rows sit in, matching the editor
2883
+ * list's frame so the picker reads as the same kind of list the sidenav shows. It scrolls
2884
+ * rather than growing without bound: a long chain must not push the modal's footer
2885
+ * off the viewport.
2886
+ *
2887
+ * It is a `<fieldset>`, because the chevrons inside it are one control over one run
2888
+ * rather than unrelated buttons, so the chrome a browser gives a fieldset is taken back
2889
+ * here: its inset margin, its padding (the rows carry their own), and above all
2890
+ * `min-inline-size: min-content`, which would otherwise stop the box shrinking inside the
2891
+ * modal's column and defeat the row names' truncation.
2892
+ */
2893
+ .mtya-group-range-box {
2894
+ min-inline-size: 0;
2895
+ max-block-size: 240px;
2896
+ padding: 0;
2897
+ margin: 0;
2898
+ overflow-y: auto;
2899
+ border: 1px solid var(--mantine-color-default-border);
2900
+ border-radius: var(--mantine-radius-sm);
2901
+ }
2902
+
2903
+ /*
2904
+ * One collection in the membership picker's dropdown.
2905
+ *
2906
+ * The same off-screen skipping the editor list and the search results use: an organization's
2907
+ * collection tree is its own to grow, and the dropdown lays out every option that matches the
2908
+ * search, so on a large workspace most of what it holds is scrolled out of view and laid out
2909
+ * on every keystroke. The reserved size is one line of an `xs` option, which is what these are;
2910
+ * `auto` means the real height replaces it as soon as an option has been rendered once.
2911
+ *
2912
+ * Deliberately on the OPTION rather than a windowing hook over the list. Mantine's combobox
2913
+ * navigates by querying option nodes, and the listbox names its active row with
2914
+ * `aria-activedescendant`: both resolve through the DOM node, so a list that removed the
2915
+ * off-screen ones would stop arrowing past the window and would announce nothing.
2916
+ */
2917
+ .mtya-collection-option {
2918
+ contain-intrinsic-size: auto 28px;
2919
+ content-visibility: auto;
2920
+ }
2921
+
2922
+ /*
2923
+ * The rows get the same off-screen skipping the editor list gives its own, for the
2924
+ * same reason: this box shows the WHOLE chain inside 240px, so on a long itinerary
2925
+ * most of what it holds is scrolled out of view, and laying all of it out on every
2926
+ * chevron press is work nobody sees. The reserved size is a single-line row: these
2927
+ * carry a name and at most a badge, so they never grow the way an editor row does.
2928
+ */
2929
+ /* biome-ignore lint/style/noDescendingSpecificity: different properties; see `.mtya-toggle-row-body *`. */
2930
+ .mtya-group-range-box > * {
2931
+ contain-intrinsic-size: auto 36px;
2932
+ padding: var(--mantine-spacing-xs);
2933
+ content-visibility: auto;
2934
+ }
2935
+
2936
+ /* biome-ignore lint/style/noDescendingSpecificity: different properties; see `.mtya-toggle-row-body *`. */
2937
+ .mtya-group-range-box > * + * {
2938
+ border-top: 1px solid var(--mantine-color-default-border);
2939
+ }
2940
+
2941
+ /*
2942
+ * A row inside the chosen run carries a solid rail in the group's colour along its
2943
+ * inline start, the same signal the editor list paints on a grouped row, so the
2944
+ * picker and the list agree on what "in this group" looks like. The rail is drawn
2945
+ * INSIDE the row box, so nothing depends on the row overflowing.
2946
+ */
2947
+ .mtya-group-range-row {
2948
+ position: relative;
2949
+ }
2950
+
2951
+ .mtya-group-range-row[data-selected]::before {
2952
+ position: absolute;
2953
+ inset-block: 0;
2954
+ inset-inline-start: 0;
2955
+ inline-size: 3px;
2956
+ content: "";
2957
+ background-color: var(--group-color);
2958
+ }
2959
+
2960
+ /* The run's two ends round the rail off, so it reads as one continuous bracket. */
2961
+ .mtya-group-range-row[data-run-first]::before {
2962
+ border-start-start-radius: 3px;
2963
+ border-start-end-radius: 3px;
2964
+ }
2965
+
2966
+ .mtya-group-range-row[data-run-last]::before {
2967
+ border-end-start-radius: 3px;
2968
+ border-end-end-radius: 3px;
2969
+ }
2970
+
2971
+ /*
2972
+ * A row already held by another group is a hard stop: it can never join this one, so
2973
+ * it is dimmed to read as unavailable while staying legible enough to explain itself
2974
+ * through the badge naming its owner.
2975
+ */
2976
+ .mtya-group-range-row[data-foreign] {
2977
+ opacity: 0.55;
2978
+ }
2979
+
2980
+ /*
2981
+ * `.mtya-suggestion-list-box` is the bordered frame route candidates sit in, drawn by
2982
+ * SuggestionList for the suggestions panel and for the co-pilot's conversation alike, so a
2983
+ * candidate offered in either reads as the same thing. It is its OWN copy of the editor-list
2984
+ * frame (deliberately not shared with the segment/waypoint editors' EditorListSection), because
2985
+ * the rows it holds answer to a different gesture: hovering previews a route, and nothing is
2986
+ * renamed or recoloured. The frame itself still reads as one family with the editors (a 1px
2987
+ * border and small radius matching the form inputs, each direct child one padded row with a
2988
+ * hairline divider between adjacent rows).
2989
+ */
2990
+ .mtya-suggestion-list-box {
2991
+ border: 1px solid var(--mantine-color-default-border);
2992
+ border-radius: var(--mantine-radius-sm);
2993
+ }
2994
+
2995
+ /* biome-ignore lint/style/noDescendingSpecificity: different properties; see `.mtya-toggle-row-body *`. */
2996
+ .mtya-suggestion-list-box > * {
2997
+ padding: var(--mantine-spacing-xs);
2998
+ cursor: pointer;
2999
+ }
3000
+
3001
+ /*
3002
+ * Each row highlights on hover with the neutral surface. The background lives on the
3003
+ * padded row element so the highlight and the pointer cursor cover the ENTIRE row
3004
+ * including its padding, which is exactly the area that previews the route, so what
3005
+ * lights up is what responds.
3006
+ */
3007
+ .mtya-suggestion-list-box > *:hover {
3008
+ background-color: var(--mantine-color-default-hover);
3009
+ }
3010
+
3011
+ /*
3012
+ * The selected row (via the data-selected the row sets: the candidate the map previews,
3013
+ * or the pick a settled conversation card records) is signalled by its EDGE taking the
3014
+ * primary color, never by a fill, so the hover paint still reads on the selected row
3015
+ * instead of being swallowed by it. A row has no border of its own (the frame owns the
3016
+ * border and the dividers between rows), so the edge is an inset ring, which costs no
3017
+ * layout the way an added border would and leaves the divider system untouched.
3018
+ */
3019
+ .mtya-suggestion-list-box > *[data-selected] {
3020
+ box-shadow: inset 0 0 0 1px var(--mantine-primary-color-filled);
3021
+ }
3022
+
3023
+ /*
3024
+ * An inert row (via the data-inert the row sets: a settled conversation card, or every row
3025
+ * while a pick lands) takes no action, so it drops the pointer and the hover paint that
3026
+ * promise one. One it does not single out is dimmed as well, the way a row held elsewhere
3027
+ * is, so a settled card reads as its pick against the candidates passed over.
3028
+ */
3029
+ .mtya-suggestion-list-box > [data-inert] {
3030
+ cursor: default;
3031
+ }
3032
+
3033
+ .mtya-suggestion-list-box > [data-inert]:hover {
3034
+ background-color: transparent;
3035
+ }
3036
+
3037
+ .mtya-suggestion-list-box > [data-inert]:not([data-selected]) {
3038
+ opacity: 0.55;
3039
+ }
3040
+
3041
+ /*
3042
+ * `.mtya-suggestion-list-empty-row` wraps the empty-state explainer that fills the frame when a
3043
+ * generation resolved with no candidates. It is not a click target, so it opts out of the row
3044
+ * hover background and the pointer cursor the rules above give every direct child (its higher
3045
+ * specificity, `.mtya-suggestion-list-box > .mtya-suggestion-list-empty-row`, overrides them),
3046
+ * leaving the explainer reading as static copy rather than a selectable row, matching
3047
+ * the segment/waypoint empty-row opt-out.
3048
+ */
3049
+ .mtya-suggestion-list-box > .mtya-suggestion-list-empty-row {
3050
+ cursor: default;
3051
+ background-color: transparent;
3052
+ }
3053
+
3054
+ .mtya-suggestion-list-box > .mtya-suggestion-list-empty-row:hover {
3055
+ background-color: transparent;
3056
+ }
3057
+
3058
+ /* biome-ignore lint/style/noDescendingSpecificity: different properties; see `.mtya-toggle-row-body *`. */
3059
+ .mtya-suggestion-list-box > * + * {
3060
+ border-top: 1px solid var(--mantine-color-default-border);
3061
+ }
3062
+
3063
+ /*
3064
+ * The embed snippet's code block is constrained to its container so a long iframe src URL
3065
+ * scrolls horizontally inside the block rather than widening the wizard's stage column, which
3066
+ * would overflow the modal on the x axis. The root clips, and the inner <pre> Mantine renders
3067
+ * scrolls on overflow.
3068
+ */
3069
+ .mtya-embed-snippet {
3070
+ max-width: 100%;
3071
+ overflow: hidden;
3072
+ }
3073
+
3074
+ .mtya-embed-snippet pre {
3075
+ overflow-x: auto;
3076
+ }
3077
+
3078
+ /*
3079
+ * A table's side of the embed wizard's stage: the element on the canvas a settings page draws
3080
+ * its cards on, since the table paints a card of its own. It scrolls on both axes inside the
3081
+ * stage, so a table of many rows or many columns never widens the wizard, and the frame holds
3082
+ * the table to a reading width in a stage wider than a table needs.
3083
+ */
3084
+ .mtya-embed-table-stage {
3085
+ flex: 1;
3086
+ min-width: 0;
3087
+ min-height: 0;
3088
+ padding: var(--mantine-spacing-md);
3089
+ overflow: auto;
3090
+ background-color: var(--mantine-color-gray-0);
3091
+ }
3092
+
3093
+ [data-mtya-color-scheme="dark"] .mtya-embed-table-stage {
3094
+ background-color: var(--mantine-color-dark-8);
3095
+ }
3096
+
3097
+ .mtya-embed-table-frame {
3098
+ width: 100%;
3099
+ max-width: 60rem;
3100
+ margin-inline: auto;
3101
+ }
3102
+
3103
+ /*
3104
+ * The place of a step of the embed's code in its list: a figure in a disc, at the height of the
3105
+ * step's title, so the steps read in order down the page.
3106
+ */
3107
+ .mtya-embed-step-mark {
3108
+ display: flex;
3109
+ flex: none;
3110
+ align-items: center;
3111
+ justify-content: center;
3112
+ width: 1.375rem;
3113
+ height: 1.375rem;
3114
+ font-size: var(--mantine-font-size-xs);
3115
+ font-weight: 600;
3116
+ font-variant-numeric: tabular-nums;
3117
+ color: var(--mantine-primary-color-light-color);
3118
+ background-color: var(--mantine-primary-color-light);
3119
+ border-radius: var(--mantine-radius-xl);
3120
+ }
3121
+
3122
+ /* The mark beside the wizard's status line keeps its own width while the line gives way. */
3123
+ .mtya-embed-status-mark {
3124
+ display: flex;
3125
+ flex: none;
3126
+ }
3127
+
3128
+ /*
3129
+ * The POI picker's trigger, painted from the SAME control tokens the published map controls
3130
+ * read (`--mtya-control-*` on `.mtya-controls`, with the values here as fallbacks for a
3131
+ * consumer who has not declared them). It cannot use `.mtya-control-button` itself: that rule
3132
+ * fixes a square `--mtya-control-size` box, and this control is a labelled pill with a leading
3133
+ * glyph and a trailing status badge. What it shares is everything a reader compares it against
3134
+ * (the surface, the radius, the shadow, the hover and held greys), so the one control on the
3135
+ * LEFT of the map reads as the same kind of thing as the stack on the right.
3136
+ *
3137
+ * The held state keys off `data-expanded` rather than `aria-pressed`: this is a Menu trigger,
3138
+ * not a toggle, so Mantine marks it open with that attribute and there is no pressed state to
3139
+ * read. Every rule pairs the class with `:not(:disabled, [data-disabled])`, which lifts it
3140
+ * above Mantine's own variant colours regardless of stylesheet order, and Mantine's `default`
3141
+ * variant emits its background as an INLINE style, which a class cannot override, so the
3142
+ * background is painted directly rather than through its `--btn-*` variables.
3143
+ */
3144
+ .mtya-poi-trigger {
3145
+ color: var(--mtya-control-fg, #212529);
3146
+ background-color: var(--mtya-control-bg, #ffffff);
3147
+ box-shadow: var(--mtya-control-shadow, 0 1px 3px rgb(0 0 0 / 5%), 0 1px 2px rgb(0 0 0 / 10%));
3148
+ }
3149
+
3150
+ .mtya-poi-trigger:not(:disabled, [data-disabled]):hover,
3151
+ .mtya-poi-trigger:not(:disabled, [data-disabled]):active,
3152
+ .mtya-poi-trigger[data-expanded]:not(:disabled, [data-disabled]) {
3153
+ background-color: var(--mtya-control-bg-hover, #f1f3f5);
3154
+ }
3155
+
3156
+ .mtya-poi-trigger:disabled,
3157
+ .mtya-poi-trigger[data-disabled] {
3158
+ color: var(--mtya-control-fg-disabled, #adb5bd);
3159
+ }
3160
+
3161
+ /*
3162
+ * Mantine seats a button's left section an `xs` gap from the label, a touch wide for a
3163
+ * labelled control this small. The attribute selector reaches Mantine's left-section span,
3164
+ * whose own class is hashed: `data-position` is the stable hook.
3165
+ */
3166
+ .mtya-poi-trigger [data-position="left"] {
3167
+ margin-inline-end: var(--mantine-spacing-xxs);
3168
+ }
3169
+
3170
+ /*
3171
+ * .mtya-subheader-band is the publication strip directly under the editor's header. It breaks
3172
+ * out of the panel's `md` padding the same way the sidenav header does at the top edge, so its
3173
+ * bottom divider spans the full panel width and the two chrome edges read as one system rather
3174
+ * than as a header and a floating card.
3175
+ *
3176
+ * It does NOT stick. The header above it stays in reach while the segment list scrolls because
3177
+ * the back affordance and the title are navigation; publication is a decision the reader makes
3178
+ * once, and a second pinned row would spend a third of a 340px panel's height on chrome before
3179
+ * a single segment showed.
3180
+ *
3181
+ * The padding is symmetric because the band is one row: the state and the act on it sit on the
3182
+ * same baseline, so there is no second line for a heavier bottom inset to balance. The negative
3183
+ * top margin cancels the panel's `md` gap so the band seats flush against the header's own
3184
+ * divider: two hairlines with a gap between them would read as an empty row.
3185
+ */
3186
+ .mtya-subheader-band {
3187
+ padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
3188
+ margin-inline: calc(-1 * var(--mantine-spacing-md));
3189
+ margin-top: calc(-1 * var(--mantine-spacing-md));
3190
+ border-bottom: 1px solid var(--mantine-color-default-border);
3191
+ }
3192
+
3193
+ /*
3194
+ * .mtya-subheader-status is the dot + word + age group, and .mtya-subheader-age the dimmed
3195
+ * trailer inside it. The band's flexible end: `min-width: 0` is what lets a flex item shrink
3196
+ * past its content, so a long translation gives up its width here rather than pushing the
3197
+ * action off the panel. What survives the squeeze is what matters: the mark and the state
3198
+ * word come first, and only the dimmed age behind them ellipsises.
3199
+ */
3200
+ .mtya-subheader-status,
3201
+ .mtya-subheader-age {
3202
+ min-width: 0;
3203
+ }
3204
+
3205
+ /*
3206
+ * .mtya-subheader-settled is the settled pill, and it carries no act of its own: the band
3207
+ * states what the public sees, and the itinerary action menu one row above owns the verbs,
3208
+ * withdrawal included.
3209
+ *
3210
+ * It is a Button by shape only. The element is a div, so it is not focusable and answers no
3211
+ * press, and these two rules finish the job for the pointer: no hover, no click cursor,
3212
+ * nothing that invites one.
3213
+ *
3214
+ * It is deliberately NOT a disabled button. A greyed-out control reads as an action the panel
3215
+ * has broken; a lime, checked, unpressable one reads as the answer, "this is live", which is
3216
+ * what the row is actually saying.
3217
+ */
3218
+ .mtya-subheader-settled {
3219
+ pointer-events: none;
3220
+ cursor: default;
3221
+ }
3222
+
3223
+ /* ------------------------------------------------------------------------------------------
3224
+ * A place's own mark
3225
+ * ---------------------------------------------------------------------------------------- */
3226
+
3227
+ /*
3228
+ * `.mtya-place-mark` is the picture the tile server paints on the map: a waypoint's glyph
3229
+ * centred in a disc filled with the waypoint's colour. Every surface that names one place (a
3230
+ * dialog header, a row's affordance, a full-screen editor's hero) draws it from here, so a
3231
+ * reader who clicked a pin meets the same shape wherever the click took them.
3232
+ *
3233
+ * Both dimensions read a custom property with a default, so a host retints or resizes every
3234
+ * mark at once from any ancestor, and the component that renders one sets the two values for
3235
+ * the instance rather than carrying a style object per size.
3236
+ *
3237
+ * The glyph colour is white rather than a token: the disc is filled with an author-chosen hex
3238
+ * that a scheme token knows nothing about, and white is what the sprite generator paints.
3239
+ */
3240
+ .mtya-place-mark {
3241
+ display: inline-flex;
3242
+ flex: 0 0 auto;
3243
+ align-items: center;
3244
+ justify-content: center;
3245
+ width: var(--mtya-place-mark-size, 28px);
3246
+ height: var(--mtya-place-mark-size, 28px);
3247
+ color: #fff;
3248
+ background-color: var(--mtya-place-mark-color, #3b82f6);
3249
+ border-radius: 50%;
3250
+ }
3251
+
3252
+ /*
3253
+ * The halo is for the one place a mark is the SUBJECT rather than an affordance: a full-screen
3254
+ * editor's hero. Two rings of the mark's own colour, mixed far toward transparent, so the disc
3255
+ * sits in a glow rather than behind a border. At a header's size this reads as a smudge, which
3256
+ * is why it is opt-in rather than the default.
3257
+ */
3258
+ .mtya-place-mark[data-halo] {
3259
+ box-shadow:
3260
+ 0 0 0 6px color-mix(in srgb, var(--mtya-place-mark-color, #3b82f6) 14%, transparent),
3261
+ 0 0 0 14px color-mix(in srgb, var(--mtya-place-mark-color, #3b82f6) 7%, transparent);
3262
+ }
3263
+
3264
+ /* ------------------------------------------------------------------------------------------
3265
+ * The place editor
3266
+ *
3267
+ * The full-screen workbench a waypoint is written in: its sections' cards and fields, on the
3268
+ * stage, beside the published card. Everything here is prefixed `mtya-pe-` and sits in one
3269
+ * block, because it belongs to that one surface rather than to the chrome it borrows from. The
3270
+ * rail that lists the sections is the block after this one, which the read-only dialog shares.
3271
+ *
3272
+ * Every rule below restates a treatment Mountaya's own application ALREADY has, in the one place
3273
+ * a published package cannot reach it from: the settings list row's hover, the page canvas its
3274
+ * section cards sit on, the reading measure its fields are held to. They are here because those
3275
+ * live in that application's own stylesheet, which this package does not depend on and must
3276
+ * not.
3277
+ * ---------------------------------------------------------------------------------------- */
3278
+
3279
+ /*
3280
+ * The stage's scrolling column. The full-screen shell makes the header and footer static, so
3281
+ * this is the one thing that scrolls, and on the y axis only, because a focus ring or a slider
3282
+ * thumb grazing the column's edge must never mint a horizontal scrollbar.
3283
+ */
3284
+ .mtya-pe-scroll {
3285
+ flex: 1;
3286
+ min-width: 0;
3287
+ min-height: 0;
3288
+ overflow-x: hidden;
3289
+ overflow-y: auto;
3290
+ }
3291
+
3292
+ /*
3293
+ * The canvas a section card sits on, the relationship a settings page draws, where white
3294
+ * bordered cards read as raised against a page a hair darker than they are. Without it a
3295
+ * bordered card on a white shell reads as a hairline box drawn on nothing, which is how a
3296
+ * settings page stops looking like one.
3297
+ */
3298
+ .mtya-pe-canvas {
3299
+ background-color: var(--mantine-color-gray-0);
3300
+ }
3301
+
3302
+ [data-mtya-color-scheme="dark"] .mtya-pe-canvas {
3303
+ background-color: var(--mantine-color-dark-8);
3304
+ }
3305
+
3306
+ /*
3307
+ * The right-hand aside: the live preview beside a stage whose own content is the page. The
3308
+ * mirror of `.mtya-section-rail`, whose divider is on the other edge: a
3309
+ * border on the wrong side reads as a gap between two panels rather than as the seam between
3310
+ * them.
3311
+ */
3312
+ .mtya-pe-aside {
3313
+ flex-shrink: 0;
3314
+ min-height: 0;
3315
+ overflow-x: hidden;
3316
+ overflow-y: auto;
3317
+ }
3318
+
3319
+ @container mtya-studio (width >= 48em) {
3320
+ .mtya-pe-aside {
3321
+ border-left: 1px solid var(--mantine-color-default-border);
3322
+ }
3323
+ }
3324
+
3325
+ /*
3326
+ * The reading column a section's fields are held to: the measure of Mantine's `sm` container,
3327
+ * wide enough for a two-column field row, narrow enough that a label and its control stay on one
3328
+ * eye movement.
3329
+ */
3330
+ .mtya-pe-sheet {
3331
+ width: 100%;
3332
+ max-width: 720px;
3333
+ margin-inline: auto;
3334
+ }
3335
+
3336
+ /*
3337
+ * The grid of the sections whose cards are not prose-shaped: two columns where the stage has
3338
+ * the room for two cards a glyph grid fits in, one where it has not. The stage is what is
3339
+ * measured (`mtya-wp-stage`), since the rail and the summary beside it take their share of the
3340
+ * studio first. The gap is `CARD_GAP`, which the component writes as `--mtya-pe-card-gap` so
3341
+ * the sections that stack their cards and the sections that grid them keep one rhythm.
3342
+ */
3343
+ .mtya-pe-card-grid {
3344
+ display: grid;
3345
+ grid-template-columns: minmax(0, 1fr);
3346
+ gap: var(--mtya-pe-card-gap);
3347
+ }
3348
+
3349
+ @container mtya-wp-stage (width >= 46em) {
3350
+ .mtya-pe-card-grid {
3351
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3352
+ }
3353
+ }
3354
+
3355
+ /*
3356
+ * The amenity picker's tiles, by the room the studio has: two a row in a studio of Mantine's
3357
+ * `sm` width and up, one in a narrower studio.
3358
+ *
3359
+ * Two at the reading measure, and that is a LEGIBILITY figure rather than a density one: three
3360
+ * columns fit the English vocabulary and clip the French, where "Assistance personnelle" and
3361
+ * "Point de chronométrage" run past the tile and ellipsise. A service a reader has to decode
3362
+ * from its first nine letters is worse than a longer list, and this list is scanned once per
3363
+ * place rather than read.
3364
+ */
3365
+ .mtya-pe-tile-grid {
3366
+ display: grid;
3367
+ grid-template-columns: minmax(0, 1fr);
3368
+ gap: var(--mantine-spacing-xs);
3369
+ }
3370
+
3371
+ @container mtya-studio (width >= 48em) {
3372
+ .mtya-pe-tile-grid {
3373
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3374
+ }
3375
+ }
3376
+
3377
+ /*
3378
+ * One service tile in the amenity picker: a glyph, its word, and the tick that closes the row.
3379
+ *
3380
+ * `Checkbox.Card` paints its own surface, border and selected state from the theme; what it does
3381
+ * not do is lay its children out, because it has no idea what a caller put inside one. This is
3382
+ * that row, and the label between the two fixed ends is the part that gives up width, so a long
3383
+ * service name wraps rather than pushing the tick out of the tile. It WRAPS rather than
3384
+ * ellipsises: the grid stretches every tile in a row to the tallest of them, so a second line
3385
+ * costs the row and not the reader.
3386
+ */
3387
+ .mtya-pe-tile {
3388
+ display: flex;
3389
+ gap: var(--mantine-spacing-sm);
3390
+ align-items: center;
3391
+ }
3392
+
3393
+ .mtya-pe-tile-label {
3394
+ flex: 1;
3395
+ min-width: 0;
3396
+ }
3397
+
3398
+ /*
3399
+ * A field row of two: two controls side by side in a studio of Mantine's `sm` width and up, one
3400
+ * under the other in a narrower studio, where half a phone's width cuts an email address or a
3401
+ * web address short.
3402
+ */
3403
+ .mtya-pe-field-pair {
3404
+ display: grid;
3405
+ grid-template-columns: minmax(0, 1fr);
3406
+ gap: var(--mantine-spacing-md);
3407
+ }
3408
+
3409
+ @container mtya-studio (width >= 48em) {
3410
+ .mtya-pe-field-pair {
3411
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3412
+ }
3413
+ }
3414
+
3415
+ /*
3416
+ * A row of a list a card edits: a photo, a link, a custom field. Its fields stand on one line
3417
+ * with its delete at the end in a studio of Mantine's `xs` width and up. In a narrower studio
3418
+ * the fields stack and the delete stays level with the first, so no field is cut to a few
3419
+ * characters. A row whose fields weigh the same (`data-even`) splits its width evenly, and one
3420
+ * that pairs an address with a few words gives the address twice the room.
3421
+ */
3422
+ .mtya-pe-entry {
3423
+ display: grid;
3424
+ grid-template-columns: minmax(0, 1fr) auto;
3425
+ gap: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
3426
+ align-items: start;
3427
+ }
3428
+
3429
+ .mtya-pe-entry-field {
3430
+ grid-column: 1;
3431
+ min-width: 0;
3432
+ }
3433
+
3434
+ /*
3435
+ * The delete stands level with the control of the first field: under a bare control's top
3436
+ * edge, and on the baseline of a labelled one, whose label takes the room above it.
3437
+ */
3438
+ .mtya-pe-entry-remove {
3439
+ grid-row: 1;
3440
+ grid-column: 2;
3441
+ align-self: start;
3442
+ margin-top: var(--mantine-spacing-xxs);
3443
+ }
3444
+
3445
+ .mtya-pe-entry[data-even] .mtya-pe-entry-remove {
3446
+ align-self: end;
3447
+ margin-top: 0;
3448
+ margin-bottom: var(--mantine-spacing-xxs);
3449
+ }
3450
+
3451
+ @container mtya-studio (width >= 36em) {
3452
+ .mtya-pe-entry {
3453
+ grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
3454
+ gap: var(--mantine-spacing-md);
3455
+ }
3456
+
3457
+ .mtya-pe-entry[data-even] {
3458
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
3459
+ }
3460
+
3461
+ .mtya-pe-entry-field {
3462
+ grid-column: auto;
3463
+ }
3464
+
3465
+ .mtya-pe-entry-remove {
3466
+ grid-column: 3;
3467
+ }
3468
+ }
3469
+
3470
+ /* ------------------------------------------------------------------------------------------
3471
+ * Sections listed down one side
3472
+ *
3473
+ * A surface laid out in sections lists them down its leading side, the open one beside them:
3474
+ * the arrangement the account and organization pages use for their own navigation. The waypoint
3475
+ * dialogs and the full-screen wizards share the parts below, prefixed `mtya-section-` (the rail,
3476
+ * the list, a section's heading) and `mtya-rail-switcher` (the line a rail opens on).
3477
+ *
3478
+ * The treatments restate that navigation's, which lives in the application's own stylesheet
3479
+ * and is out of this package's reach: a dense row of a dimmed glyph and a name, the quiet fill
3480
+ * under the pointer, and the open row on the primary colour's light fill behind a bar at its
3481
+ * leading edge. Every colour is a scheme-aware Mantine variable, so no rule needs a dark twin.
3482
+ * ---------------------------------------------------------------------------------------- */
3483
+
3484
+ /*
3485
+ * The rail: what the surface is open on, then its sections. A column beside the open section
3486
+ * in a wide studio, `--mtya-section-rail-width` wide, where it scrolls on its own; a band
3487
+ * across the surface in a narrow one.
3488
+ */
3489
+ .mtya-section-rail {
3490
+ display: flex;
3491
+ flex-shrink: 0;
3492
+ flex-direction: column;
3493
+ gap: var(--mantine-spacing-sm);
3494
+ min-width: 0;
3495
+ padding: var(--mantine-spacing-sm) var(--mantine-spacing-md);
3496
+ border-bottom: 1px solid var(--mantine-color-default-border);
3497
+ }
3498
+
3499
+ @container mtya-studio (width >= 62em) {
3500
+ .mtya-section-rail {
3501
+ gap: var(--mantine-spacing-md);
3502
+ width: var(--mtya-section-rail-width, 17.5rem);
3503
+ padding: var(--mantine-spacing-md);
3504
+ overflow-x: hidden;
3505
+ overflow-y: auto;
3506
+ border-right: 1px solid var(--mantine-color-default-border);
3507
+ border-bottom: 0;
3508
+ }
3509
+ }
3510
+
3511
+ /*
3512
+ * What the rail is open on, and the way to another: one compact line at an input's height,
3513
+ * hairlined, holding a mark, a name cut with an ellipsis and a chevron. Where there is nothing
3514
+ * else to open, the same line is no button and reacts to nothing.
3515
+ */
3516
+ .mtya-rail-switcher {
3517
+ display: flex;
3518
+ gap: var(--mantine-spacing-xs);
3519
+ align-items: center;
3520
+ width: 100%;
3521
+ min-width: 0;
3522
+ min-height: 2.25rem;
3523
+ padding: var(--mantine-spacing-xxs) var(--mantine-spacing-xs);
3524
+ font: inherit;
3525
+ color: var(--mantine-color-text);
3526
+ text-align: start;
3527
+ background-color: var(--mantine-color-body);
3528
+ border: 1px solid var(--mantine-color-default-border);
3529
+ border-radius: var(--mantine-radius-sm);
3530
+ transition: background-color 120ms ease;
3531
+ }
3532
+
3533
+ button.mtya-rail-switcher {
3534
+ cursor: pointer;
3535
+ }
3536
+
3537
+ button.mtya-rail-switcher:where(:hover, [aria-expanded="true"]) {
3538
+ background-color: var(--mantine-color-default-hover);
3539
+ }
3540
+
3541
+ button.mtya-rail-switcher:where(:disabled) {
3542
+ cursor: not-allowed;
3543
+ background-color: var(--mantine-color-body);
3544
+ }
3545
+
3546
+ .mtya-rail-switcher-name {
3547
+ flex: 1;
3548
+ min-width: 0;
3549
+ overflow: hidden;
3550
+ text-overflow: ellipsis;
3551
+ font-size: var(--mantine-font-size-sm);
3552
+ font-weight: 500;
3553
+ white-space: nowrap;
3554
+ }
3555
+
3556
+ /*
3557
+ * A name that is one of a fixed vocabulary is never cut: it takes a second line where one is
3558
+ * too short for it, and the control grows by that line.
3559
+ */
3560
+ .mtya-rail-switcher:where([data-wraps]) .mtya-rail-switcher-name {
3561
+ overflow: visible;
3562
+ line-height: 1.3;
3563
+ white-space: normal;
3564
+ }
3565
+
3566
+ .mtya-rail-switcher-end {
3567
+ display: flex;
3568
+ flex: none;
3569
+ color: var(--mantine-color-dimmed);
3570
+ }
3571
+
3572
+ /*
3573
+ * The mark of an option that is no place on a map: a glyph on the quiet tile a settings row
3574
+ * leads with, at the size the switcher's own line holds.
3575
+ */
3576
+ .mtya-rail-switcher-mark {
3577
+ display: flex;
3578
+ flex: none;
3579
+ align-items: center;
3580
+ justify-content: center;
3581
+ width: 1.375rem;
3582
+ height: 1.375rem;
3583
+ color: var(--mantine-primary-color-light-color);
3584
+ background-color: var(--mantine-primary-color-light);
3585
+ border-radius: var(--mantine-radius-sm);
3586
+ }
3587
+
3588
+ /*
3589
+ * The sections, as a list. One under the other wherever it stands in a column; in a rail that
3590
+ * lies across a narrow studio it scrolls sideways, every section one swipe away and none
3591
+ * wrapped onto a second line. It draws no scrollbar there: the row cut at the rail's edge is
3592
+ * what says there is more, and a bar under the rows would underline the open one.
3593
+ */
3594
+ .mtya-section-nav {
3595
+ display: flex;
3596
+ flex-direction: column;
3597
+ gap: var(--mantine-spacing-xxs);
3598
+ min-width: 0;
3599
+ }
3600
+
3601
+ @container mtya-studio (width < 62em) {
3602
+ .mtya-section-rail .mtya-section-nav {
3603
+ flex-direction: row;
3604
+ overflow-x: auto;
3605
+ scrollbar-width: none;
3606
+ }
3607
+ }
3608
+
3609
+ /*
3610
+ * One section: its glyph, dimmed until the row is under the pointer or open, its name, and
3611
+ * what stands at its end (how much it records, or the mark of something to attend to).
3612
+ */
3613
+ .mtya-section-nav-item {
3614
+ position: relative;
3615
+ display: flex;
3616
+ flex: none;
3617
+ gap: var(--mantine-spacing-xs);
3618
+ align-items: center;
3619
+ min-width: 0;
3620
+ padding: var(--mantine-spacing-xxs) var(--mantine-spacing-sm);
3621
+ font: inherit;
3622
+ font-size: var(--mantine-font-size-sm);
3623
+ line-height: var(--mantine-line-height);
3624
+ color: var(--mantine-color-text);
3625
+ text-align: start;
3626
+ white-space: nowrap;
3627
+ cursor: pointer;
3628
+ background-color: transparent;
3629
+ border: 0;
3630
+ border-radius: var(--mantine-radius-sm);
3631
+ transition: background-color 120ms ease;
3632
+ }
3633
+
3634
+ .mtya-section-nav-item:where(:hover) {
3635
+ background-color: var(--mantine-color-default-hover);
3636
+ }
3637
+
3638
+ .mtya-section-nav-item:where(:focus-visible),
3639
+ .mtya-rail-switcher:where(:focus-visible) {
3640
+ outline: 2px solid var(--mantine-primary-color-filled);
3641
+ outline-offset: -2px;
3642
+ }
3643
+
3644
+ .mtya-section-nav-item[data-active] {
3645
+ font-weight: 500;
3646
+ color: var(--mantine-primary-color-light-color);
3647
+ background-color: var(--mantine-primary-color-light);
3648
+ }
3649
+
3650
+ .mtya-section-nav-item[data-active]:where(:hover) {
3651
+ background-color: var(--mantine-primary-color-light-hover);
3652
+ }
3653
+
3654
+ /* A held row is listed and opens nothing: it reads dimmed, and keeps the fill it stands on. */
3655
+ .mtya-section-nav-item:where(:disabled) {
3656
+ cursor: not-allowed;
3657
+ opacity: 0.55;
3658
+ }
3659
+
3660
+ .mtya-section-nav-item:where(:disabled):where(:hover):not([data-active]) {
3661
+ background-color: transparent;
3662
+ }
3663
+
3664
+ .mtya-section-nav-glyph {
3665
+ display: flex;
3666
+ flex: none;
3667
+ color: var(--mantine-color-dimmed);
3668
+ }
3669
+
3670
+ .mtya-section-nav-item:where(:hover, [data-active]) .mtya-section-nav-glyph {
3671
+ color: inherit;
3672
+ }
3673
+
3674
+ .mtya-section-nav-label {
3675
+ flex: 1;
3676
+ min-width: 0;
3677
+ overflow: hidden;
3678
+ text-overflow: ellipsis;
3679
+ }
3680
+
3681
+ .mtya-section-nav-end {
3682
+ display: flex;
3683
+ flex: none;
3684
+ align-items: center;
3685
+ }
3686
+
3687
+ .mtya-section-nav-count {
3688
+ font-size: var(--mantine-font-size-xs);
3689
+ font-variant-numeric: tabular-nums;
3690
+ color: var(--mantine-color-dimmed);
3691
+ }
3692
+
3693
+ .mtya-section-nav-item[data-active] .mtya-section-nav-count {
3694
+ color: inherit;
3695
+ }
3696
+
3697
+ /* Something to attend to is said in orange whatever the row's own colour, as a warning is. */
3698
+ .mtya-section-nav-attention {
3699
+ display: flex;
3700
+ color: var(--mantine-color-orange-filled);
3701
+ }
3702
+
3703
+ /*
3704
+ * In a column the open section carries a bar at its leading edge, squared off on that side.
3705
+ * Lying across a narrow studio's rail it is a pill, and every row there is a finger's target.
3706
+ */
3707
+ @container mtya-studio (width >= 62em) {
3708
+ .mtya-section-rail .mtya-section-nav-item[data-active] {
3709
+ border-start-start-radius: 0;
3710
+ border-end-start-radius: 0;
3711
+ }
3712
+
3713
+ .mtya-section-rail .mtya-section-nav-item[data-active]::before {
3714
+ position: absolute;
3715
+ inset-block: 0;
3716
+ inset-inline-start: 0;
3717
+ width: 2px;
3718
+ content: "";
3719
+ background-color: var(--mantine-primary-color-filled);
3720
+ }
3721
+ }
3722
+
3723
+ @container mtya-studio (width < 48em) {
3724
+ .mtya-section-rail .mtya-section-nav-item,
3725
+ .mtya-section-rail .mtya-rail-switcher {
3726
+ min-height: 2.75rem;
3727
+ }
3728
+ }
3729
+
3730
+ /*
3731
+ * The heading a section opens on: the section's name and the sentence saying what it holds. It
3732
+ * is the page title of a settings page, at the size a dialog's own title is drawn in. What
3733
+ * stands at its end (the one act that concerns the section as a whole) keeps its own width
3734
+ * beside the words, level with the name.
3735
+ */
3736
+ .mtya-section-head {
3737
+ display: flex;
3738
+ gap: var(--mantine-spacing-sm);
3739
+ align-items: flex-start;
3740
+ }
3741
+
3742
+ .mtya-section-head-words {
3743
+ display: flex;
3744
+ flex: 1;
3745
+ flex-direction: column;
3746
+ gap: var(--mantine-spacing-xxs);
3747
+ min-width: 0;
3748
+ }
3749
+
3750
+ .mtya-section-head-action {
3751
+ flex: none;
3752
+ }
3753
+
3754
+ .mtya-section-title {
3755
+ margin: 0;
3756
+ font-size: var(--mantine-font-size-md);
3757
+ font-weight: 600;
3758
+ line-height: 1.3;
3759
+ }
3760
+
3761
+ /*
3762
+ * A card's own heading, where a section holds more than one card. A heading element rather
3763
+ * than a paragraph, so the section's outline is its cards.
3764
+ */
3765
+ .mtya-section-card-title {
3766
+ margin: 0;
3767
+ font-size: var(--mantine-font-size-sm);
3768
+ font-weight: 600;
3769
+ line-height: var(--mantine-line-height);
3770
+ }
3771
+
3772
+ /* ------------------------------------------------------------------------------------------
3773
+ * The waypoint dialogs' sections
3774
+ *
3775
+ * The editor and the read-only dialog lay the shared rail and list out their own way.
3776
+ * Everything here is prefixed `mtya-wp-`.
3777
+ * ---------------------------------------------------------------------------------------- */
3778
+
3779
+ /*
3780
+ * The editor's row under its header: the rail, the open section and the summary. Stacked in a
3781
+ * studio narrower than Mantine's `md`, where the rail lies across the top.
3782
+ */
3783
+ .mtya-wp-layout {
3784
+ display: flex;
3785
+ flex: 1;
3786
+ flex-direction: column;
3787
+ min-width: 0;
3788
+ min-height: 0;
3789
+ }
3790
+
3791
+ @container mtya-studio (width >= 62em) {
3792
+ .mtya-wp-layout {
3793
+ flex-direction: row;
3794
+ }
3795
+ }
3796
+
3797
+ /*
3798
+ * The stage: the open section, in the room the rail and the summary leave it. It is a size
3799
+ * container, so what a section lays side by side follows the stage's own width, and it is
3800
+ * padded by the studio's: a phone keeps the gutter every other surface of the studio has.
3801
+ */
3802
+ .mtya-wp-stage {
3803
+ flex: 1;
3804
+ padding: var(--mantine-spacing-md);
3805
+ container: mtya-wp-stage / inline-size;
3806
+ }
3807
+
3808
+ @container mtya-studio (width >= 48em) {
3809
+ .mtya-wp-stage {
3810
+ padding: var(--mantine-spacing-xl);
3811
+ }
3812
+ }
3813
+
3814
+ /*
3815
+ * The read-only dialog's body. It is its own size container, so the arrangement follows the
3816
+ * dialog's width and not the window's: a dialog is narrow on a phone and in a narrow studio
3817
+ * alike.
3818
+ */
3819
+ .mtya-wp-view {
3820
+ container: mtya-wp-view / inline-size;
3821
+ }
3822
+
3823
+ /*
3824
+ * Narrow, the sections stand one under the other, each under its own heading, and the list of
3825
+ * them is not drawn: every fact is one scroll away, with nothing to open first.
3826
+ */
3827
+ .mtya-wp-view-layout {
3828
+ display: flex;
3829
+ flex-direction: column;
3830
+ gap: var(--mantine-spacing-lg);
3831
+ }
3832
+
3833
+ .mtya-wp-view-nav {
3834
+ display: none;
3835
+ }
3836
+
3837
+ .mtya-wp-view-panel {
3838
+ display: flex;
3839
+ flex-direction: column;
3840
+ gap: var(--mantine-spacing-sm);
3841
+ min-width: 0;
3842
+ }
3843
+
3844
+ /*
3845
+ * Wide, the sections are listed beside the open one. The row keeps one height whatever the
3846
+ * open section holds, and the section scrolls inside it: a dialog that grew and shrank with
3847
+ * each section would move the list under the pointer that is choosing from it.
3848
+ */
3849
+ @container mtya-wp-view (width >= 34em) {
3850
+ .mtya-wp-view-split {
3851
+ flex-direction: row;
3852
+ height: 22rem;
3853
+ }
3854
+
3855
+ .mtya-wp-view-split .mtya-wp-view-nav {
3856
+ display: block;
3857
+ flex: none;
3858
+ width: 12.5rem;
3859
+ overflow-y: auto;
3860
+ }
3861
+
3862
+ .mtya-wp-view-split .mtya-wp-view-panel {
3863
+ display: none;
3864
+ flex: 1;
3865
+ overflow-y: auto;
3866
+ }
3867
+
3868
+ .mtya-wp-view-split .mtya-wp-view-panel[data-active] {
3869
+ display: flex;
3870
+ }
3871
+
3872
+ .mtya-wp-view-nav .mtya-section-nav-item[data-active] {
3873
+ border-start-start-radius: 0;
3874
+ border-end-start-radius: 0;
3875
+ }
3876
+
3877
+ .mtya-wp-view-nav .mtya-section-nav-item[data-active]::before {
3878
+ position: absolute;
3879
+ inset-block: 0;
3880
+ inset-inline-start: 0;
3881
+ width: 2px;
3882
+ content: "";
3883
+ background-color: var(--mantine-primary-color-filled);
3884
+ }
3885
+ }
3886
+
3887
+ /*
3888
+ * The facts of one section, as a list of a name and its value: the dimmed name in one column
3889
+ * and the value beside it, starting where every other value starts. A value runs to as many
3890
+ * lines as it needs and breaks inside a long address, so it never meets its name. In a dialog
3891
+ * too narrow for two columns the value stands under its name.
3892
+ */
3893
+ .mtya-wp-facts {
3894
+ display: grid;
3895
+ grid-template-columns: minmax(0, 1fr);
3896
+ gap: 0;
3897
+ margin: 0;
3898
+ font-size: var(--mantine-font-size-sm);
3899
+ }
3900
+
3901
+ .mtya-wp-facts dt {
3902
+ color: var(--mantine-color-dimmed);
3903
+ }
3904
+
3905
+ .mtya-wp-facts dd {
3906
+ min-width: 0;
3907
+ margin: 0 0 var(--mantine-spacing-xs);
3908
+ overflow-wrap: anywhere;
3909
+ }
3910
+
3911
+ .mtya-wp-facts dd:last-child {
3912
+ margin-bottom: 0;
3913
+ }
3914
+
3915
+ @container mtya-wp-view (width >= 24em) {
3916
+ .mtya-wp-facts {
3917
+ grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr);
3918
+ gap: var(--mantine-spacing-xs) var(--mantine-spacing-md);
3919
+ }
3920
+
3921
+ .mtya-wp-facts dd {
3922
+ margin-bottom: 0;
3923
+ }
3924
+ }
3925
+
3926
+ /* The services a waypoint offers, each a glyph and its name in a hairlined pill. */
3927
+ .mtya-wp-chips {
3928
+ display: flex;
3929
+ flex-wrap: wrap;
3930
+ gap: var(--mantine-spacing-xs);
3931
+ padding: 0;
3932
+ margin: 0;
3933
+ list-style: none;
3934
+ }
3935
+
3936
+ .mtya-wp-chip {
3937
+ display: inline-flex;
3938
+ gap: var(--mantine-spacing-xxs);
3939
+ align-items: center;
3940
+ padding: 0.125rem var(--mantine-spacing-xs);
3941
+ font-size: var(--mantine-font-size-sm);
3942
+ border: 1px solid var(--mantine-color-default-border);
3943
+ border-radius: var(--mantine-radius-xl);
3944
+ }
3945
+
3946
+ /*
3947
+ * A waypoint's photos, as many to a row as fit at a width a photo still reads at. Each keeps
3948
+ * one shape whatever the picture's own, with its caption under it.
3949
+ */
3950
+ .mtya-wp-photos {
3951
+ display: grid;
3952
+ grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
3953
+ gap: var(--mantine-spacing-sm);
3954
+ }
3955
+
3956
+ .mtya-wp-photo {
3957
+ min-width: 0;
3958
+ margin: 0;
3959
+ }
3960
+
3961
+ .mtya-wp-photo img {
3962
+ display: block;
3963
+ width: 100%;
3964
+ aspect-ratio: 4 / 3;
3965
+ object-fit: cover;
3966
+ background-color: var(--mantine-color-default-hover);
3967
+ border-radius: var(--mantine-radius-sm);
3968
+ }
3969
+
3970
+ .mtya-wp-photo figcaption {
3971
+ margin-top: var(--mantine-spacing-xxs);
3972
+ font-size: var(--mantine-font-size-xs);
3973
+ color: var(--mantine-color-dimmed);
3974
+ overflow-wrap: anywhere;
3975
+ }
3976
+
3977
+ .mtya-wp-links {
3978
+ display: flex;
3979
+ flex-direction: column;
3980
+ gap: var(--mantine-spacing-xxs);
3981
+ padding: 0;
3982
+ margin: 0;
3983
+ font-size: var(--mantine-font-size-sm);
3984
+ overflow-wrap: anywhere;
3985
+ list-style: none;
3986
+ }
3987
+
3988
+ @media (prefers-reduced-motion: reduce) {
3989
+ .mtya-section-nav-item,
3990
+ .mtya-rail-switcher {
3991
+ transition: none;
3992
+ }
3993
+ }