@erpsquad/common 1.11.13 → 1.11.14

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 (712) hide show
  1. package/dist/api-client/index.esm.js +2 -2
  2. package/dist/chunks/{DynamicDependentField-CUQlRksh.esm.js → DynamicDependentField-BwLdGBvh.esm.js} +2 -2
  3. package/dist/chunks/{DynamicDependentField-CUQlRksh.esm.js.map → DynamicDependentField-BwLdGBvh.esm.js.map} +1 -1
  4. package/dist/chunks/{DynamicDependentField-De5hIa2G.js → DynamicDependentField-ZiLPczW8.js} +2 -2
  5. package/dist/chunks/{DynamicDependentField-De5hIa2G.js.map → DynamicDependentField-ZiLPczW8.js.map} +1 -1
  6. package/dist/chunks/{ERPUIProvider-a11UHlA2.js → ERPUIProvider-DOPwl5-1.js} +3 -3
  7. package/dist/chunks/{ERPUIProvider-a11UHlA2.js.map → ERPUIProvider-DOPwl5-1.js.map} +1 -1
  8. package/dist/chunks/{ERPUIProvider-CE2TFUwH.esm.js → ERPUIProvider-DXfZ8sB6.esm.js} +3 -3
  9. package/dist/chunks/{ERPUIProvider-CE2TFUwH.esm.js.map → ERPUIProvider-DXfZ8sB6.esm.js.map} +1 -1
  10. package/dist/chunks/EditorSection-64HiL7gY.js +848 -0
  11. package/dist/chunks/EditorSection-64HiL7gY.js.map +1 -0
  12. package/dist/chunks/EditorSection-BXLlzUSL.esm.js +849 -0
  13. package/dist/chunks/EditorSection-BXLlzUSL.esm.js.map +1 -0
  14. package/dist/chunks/{FORMS-BSkTeBm_.esm.js → FORMS-ZBLy1PtI.esm.js} +8 -8
  15. package/dist/chunks/{FORMS-BSkTeBm_.esm.js.map → FORMS-ZBLy1PtI.esm.js.map} +1 -1
  16. package/dist/chunks/{FORMS-BxycFROH.js → FORMS-am5yxCdl.js} +7 -7
  17. package/dist/chunks/{FORMS-BxycFROH.js.map → FORMS-am5yxCdl.js.map} +1 -1
  18. package/dist/chunks/{FlexibleReduxExample-D72G_SVm.esm.js → FlexibleReduxExample-BSHPmnEV.esm.js} +4 -4
  19. package/dist/chunks/{FlexibleReduxExample-D72G_SVm.esm.js.map → FlexibleReduxExample-BSHPmnEV.esm.js.map} +1 -1
  20. package/dist/chunks/{FlexibleReduxExample-BP0K3ZqC.js → FlexibleReduxExample-CZ2vLTGy.js} +4 -4
  21. package/dist/chunks/{FlexibleReduxExample-BP0K3ZqC.js.map → FlexibleReduxExample-CZ2vLTGy.js.map} +1 -1
  22. package/dist/chunks/SectionFlowEditor-0p4pKU_R.esm.js +13132 -0
  23. package/dist/chunks/SectionFlowEditor-0p4pKU_R.esm.js.map +1 -0
  24. package/dist/chunks/SectionFlowEditor-BvJgo0VH.js +13131 -0
  25. package/dist/chunks/SectionFlowEditor-BvJgo0VH.js.map +1 -0
  26. package/dist/chunks/{action-bar-B_EUV2Bt.js → action-bar-Chzs2wrL.js} +9 -6
  27. package/dist/chunks/action-bar-Chzs2wrL.js.map +1 -0
  28. package/dist/chunks/{action-bar-B8EkHk4R.esm.js → action-bar-DZUhKVMM.esm.js} +10 -7
  29. package/dist/chunks/action-bar-DZUhKVMM.esm.js.map +1 -0
  30. package/dist/chunks/{actionCreator-DW6F8f7X.esm.js → actionCreator-4xU0-Q45.esm.js} +3 -3
  31. package/dist/chunks/{actionCreator-DW6F8f7X.esm.js.map → actionCreator-4xU0-Q45.esm.js.map} +1 -1
  32. package/dist/chunks/{actionCreator-D2PZfYi7.js → actionCreator-B7XTLcC3.js} +2 -2
  33. package/dist/chunks/{actionCreator-D2PZfYi7.js.map → actionCreator-B7XTLcC3.js.map} +1 -1
  34. package/dist/chunks/{actionCreator-Cm77Rmfx.esm.js → actionCreator-BS4wKtzs.esm.js} +2 -2
  35. package/dist/chunks/{actionCreator-Cm77Rmfx.esm.js.map → actionCreator-BS4wKtzs.esm.js.map} +1 -1
  36. package/dist/chunks/{actionCreator-DyXbdzac.esm.js → actionCreator-CbYMftlq.esm.js} +3 -3
  37. package/dist/chunks/{actionCreator-DyXbdzac.esm.js.map → actionCreator-CbYMftlq.esm.js.map} +1 -1
  38. package/dist/chunks/{actionCreator-C1EgKt0Q.js → actionCreator-CsznY4jv.js} +2 -2
  39. package/dist/chunks/{actionCreator-C1EgKt0Q.js.map → actionCreator-CsznY4jv.js.map} +1 -1
  40. package/dist/chunks/{actionCreator-D68eU9au.esm.js → actionCreator-Cvdfd9rk.esm.js} +2 -2
  41. package/dist/chunks/{actionCreator-D68eU9au.esm.js.map → actionCreator-Cvdfd9rk.esm.js.map} +1 -1
  42. package/dist/chunks/{actionCreator-DEVJN_Xh.js → actionCreator-CxF0fSo3.js} +2 -2
  43. package/dist/chunks/{actionCreator-DEVJN_Xh.js.map → actionCreator-CxF0fSo3.js.map} +1 -1
  44. package/dist/chunks/{actionCreator-DhKsKoNK.js → actionCreator-DIPsxXwE.js} +2 -2
  45. package/dist/chunks/{actionCreator-DhKsKoNK.js.map → actionCreator-DIPsxXwE.js.map} +1 -1
  46. package/dist/chunks/{actionCreator-CLs2lr2h.js → actionCreator-DfnX-Cj5.js} +2 -2
  47. package/dist/chunks/{actionCreator-CLs2lr2h.js.map → actionCreator-DfnX-Cj5.js.map} +1 -1
  48. package/dist/chunks/{actionCreator-BwQrLjXs.esm.js → actionCreator-zPFtOF5Q.esm.js} +2 -2
  49. package/dist/chunks/{actionCreator-BwQrLjXs.esm.js.map → actionCreator-zPFtOF5Q.esm.js.map} +1 -1
  50. package/dist/chunks/add-template-BEXBctrZ.js +10 -0
  51. package/dist/chunks/add-template-BEXBctrZ.js.map +1 -0
  52. package/dist/chunks/add-template-KR3uQtQn.esm.js +11 -0
  53. package/dist/chunks/add-template-KR3uQtQn.esm.js.map +1 -0
  54. package/dist/chunks/{address-modal-BR-jph_I.esm.js → address-modal-BHMulxKl.esm.js} +2 -2
  55. package/dist/chunks/{address-modal-BR-jph_I.esm.js.map → address-modal-BHMulxKl.esm.js.map} +1 -1
  56. package/dist/chunks/{address-modal-BHIlP-pd.js → address-modal-CLk4mppo.js} +2 -2
  57. package/dist/chunks/{address-modal-BHIlP-pd.js.map → address-modal-CLk4mppo.js.map} +1 -1
  58. package/dist/chunks/{ai-summary-Cs2CC-P1.esm.js → ai-summary-BRGrVUW4.esm.js} +2 -2
  59. package/dist/chunks/{ai-summary-Cs2CC-P1.esm.js.map → ai-summary-BRGrVUW4.esm.js.map} +1 -1
  60. package/dist/chunks/{ai-summary-7COdbF1n.js → ai-summary-CEgn0zWt.js} +2 -2
  61. package/dist/chunks/{ai-summary-7COdbF1n.js.map → ai-summary-CEgn0zWt.js.map} +1 -1
  62. package/dist/chunks/{api-DBmWILBN.esm.js → api-CWWVUc7a.esm.js} +19 -19
  63. package/dist/chunks/{api-DBmWILBN.esm.js.map → api-CWWVUc7a.esm.js.map} +1 -1
  64. package/dist/chunks/{api-DcArDfpV.js → api-CfErA7gR.js} +12 -1
  65. package/dist/chunks/{api-DcArDfpV.js.map → api-CfErA7gR.js.map} +1 -1
  66. package/dist/chunks/{api-w8De9u1Z.esm.js → api-Dx-X9Ldj.esm.js} +14 -3
  67. package/dist/chunks/{api-w8De9u1Z.esm.js.map → api-Dx-X9Ldj.esm.js.map} +1 -1
  68. package/dist/chunks/{appbar-D9sgcNKx.js → appbar-7so1JFFV.js} +2 -2
  69. package/dist/chunks/{appbar-D9sgcNKx.js.map → appbar-7so1JFFV.js.map} +1 -1
  70. package/dist/chunks/{appbar-DhAOoNnx.esm.js → appbar-CWQidHXA.esm.js} +2 -2
  71. package/dist/chunks/{appbar-DhAOoNnx.esm.js.map → appbar-CWQidHXA.esm.js.map} +1 -1
  72. package/dist/chunks/{approval-wrapper-Da93X7F6.esm.js → approval-wrapper-BbINW2PS.esm.js} +2 -2
  73. package/dist/chunks/{approval-wrapper-Da93X7F6.esm.js.map → approval-wrapper-BbINW2PS.esm.js.map} +1 -1
  74. package/dist/chunks/{approval-wrapper-Ci-cW-m0.js → approval-wrapper-BrMP1u_K.js} +2 -2
  75. package/dist/chunks/{approval-wrapper-Ci-cW-m0.js.map → approval-wrapper-BrMP1u_K.js.map} +1 -1
  76. package/dist/chunks/{chat-bot-padqRWR_.js → chat-bot-BAYqYRHn.js} +2 -2
  77. package/dist/chunks/{chat-bot-padqRWR_.js.map → chat-bot-BAYqYRHn.js.map} +1 -1
  78. package/dist/chunks/{chat-bot-BByP2-kp.esm.js → chat-bot-D2YpccfL.esm.js} +2 -2
  79. package/dist/chunks/{chat-bot-BByP2-kp.esm.js.map → chat-bot-D2YpccfL.esm.js.map} +1 -1
  80. package/dist/chunks/common-DAuIvqzb.esm.js +930 -0
  81. package/dist/chunks/common-DAuIvqzb.esm.js.map +1 -0
  82. package/dist/chunks/common-bz4AeHEF.js +929 -0
  83. package/dist/chunks/common-bz4AeHEF.js.map +1 -0
  84. package/dist/chunks/{common-utility-DWsblyLc.esm.js → common-utility-CjDVS-hT.esm.js} +2 -2
  85. package/dist/chunks/common-utility-CjDVS-hT.esm.js.map +1 -0
  86. package/dist/chunks/{common-utility-CARAexqF.js → common-utility-DRKuh2H0.js} +2 -2
  87. package/dist/chunks/common-utility-DRKuh2H0.js.map +1 -0
  88. package/dist/chunks/company-selection-modal-B7jFVWWs.js.map +1 -1
  89. package/dist/chunks/company-selection-modal-Dn2L_skh.esm.js.map +1 -1
  90. package/dist/chunks/{constant-Bwg2s_Sn.esm.js → constant-BXPcBhJN.esm.js} +35 -5
  91. package/dist/chunks/constant-BXPcBhJN.esm.js.map +1 -0
  92. package/dist/chunks/{constant-ZYAN_teD.js → constant-BXeJD4Af.js} +35 -5
  93. package/dist/chunks/constant-BXeJD4Af.js.map +1 -0
  94. package/dist/chunks/{custom-editor-CDTvJeBu.js → custom-editor-BPQayjzn.js} +2 -2
  95. package/dist/chunks/{custom-editor-CDTvJeBu.js.map → custom-editor-BPQayjzn.js.map} +1 -1
  96. package/dist/chunks/{custom-editor-Bxyz1m2D.esm.js → custom-editor-C7z-wQTO.esm.js} +3 -3
  97. package/dist/chunks/{custom-editor-Bxyz1m2D.esm.js.map → custom-editor-C7z-wQTO.esm.js.map} +1 -1
  98. package/dist/chunks/{custom-form-Bpb9HiXs.esm.js → custom-form-D35Wdpli.esm.js} +6 -6
  99. package/dist/chunks/{custom-form-Bpb9HiXs.esm.js.map → custom-form-D35Wdpli.esm.js.map} +1 -1
  100. package/dist/chunks/{custom-form-CdvLAqkM.js → custom-form-taIFQqpi.js} +6 -6
  101. package/dist/chunks/{custom-form-CdvLAqkM.js.map → custom-form-taIFQqpi.js.map} +1 -1
  102. package/dist/chunks/{dashboard-Bm3qCxyp.js → dashboard-CiFDhaen.js} +3 -3
  103. package/dist/chunks/{dashboard-Bm3qCxyp.js.map → dashboard-CiFDhaen.js.map} +1 -1
  104. package/dist/chunks/{dashboard-IQPv8qb9.esm.js → dashboard-DjaJSt0T.esm.js} +3 -3
  105. package/dist/chunks/{dashboard-IQPv8qb9.esm.js.map → dashboard-DjaJSt0T.esm.js.map} +1 -1
  106. package/dist/chunks/default-data-6IxhqPTP.esm.js.map +1 -1
  107. package/dist/chunks/default-data-yreKVx_z.js.map +1 -1
  108. package/dist/chunks/{dynamic-report-CdpkTznt.esm.js → dynamic-report-BpLx4dan.esm.js} +4 -4
  109. package/dist/chunks/{dynamic-report-CdpkTznt.esm.js.map → dynamic-report-BpLx4dan.esm.js.map} +1 -1
  110. package/dist/chunks/{dynamic-report-Dfk4XuTh.js → dynamic-report-o7m1ueU6.js} +4 -4
  111. package/dist/chunks/{dynamic-report-Dfk4XuTh.js.map → dynamic-report-o7m1ueU6.js.map} +1 -1
  112. package/dist/chunks/{dynamic-rows-mkgzMFjL.js → dynamic-rows-BExLpMXN.js} +2 -2
  113. package/dist/chunks/{dynamic-rows-mkgzMFjL.js.map → dynamic-rows-BExLpMXN.js.map} +1 -1
  114. package/dist/chunks/{dynamic-rows-D64m-Z1j.esm.js → dynamic-rows-bcDhQVUH.esm.js} +2 -2
  115. package/dist/chunks/{dynamic-rows-D64m-Z1j.esm.js.map → dynamic-rows-bcDhQVUH.esm.js.map} +1 -1
  116. package/dist/chunks/{dynamic-text-editor-DvQu_USR.js → dynamic-text-editor-CgisZkH-.js} +2 -2
  117. package/dist/chunks/{dynamic-text-editor-DvQu_USR.js.map → dynamic-text-editor-CgisZkH-.js.map} +1 -1
  118. package/dist/chunks/{dynamic-text-editor-Bq0VZD_0.esm.js → dynamic-text-editor-RulcgEGu.esm.js} +2 -2
  119. package/dist/chunks/{dynamic-text-editor-Bq0VZD_0.esm.js.map → dynamic-text-editor-RulcgEGu.esm.js.map} +1 -1
  120. package/dist/chunks/{edit-section-modal-JhrBM1O-.esm.js → edit-section-modal-DWROaARn.esm.js} +2 -2
  121. package/dist/chunks/edit-section-modal-DWROaARn.esm.js.map +1 -0
  122. package/dist/chunks/{edit-section-modal-BptwBP9b.js → edit-section-modal-R-TdrVeI.js} +2 -2
  123. package/dist/chunks/edit-section-modal-R-TdrVeI.js.map +1 -0
  124. package/dist/chunks/{filter-DnQLBnHo.esm.js → filter-4Mw1FICb.esm.js} +12 -6
  125. package/dist/chunks/filter-4Mw1FICb.esm.js.map +1 -0
  126. package/dist/chunks/{filter-D9Cx0Qtl.js → filter-CuXTJGCb.js} +11 -5
  127. package/dist/chunks/filter-CuXTJGCb.js.map +1 -0
  128. package/dist/chunks/{footer-lIzpfeIl.esm.js → footer-DSTT0FgX.esm.js} +2 -2
  129. package/dist/chunks/{footer-lIzpfeIl.esm.js.map → footer-DSTT0FgX.esm.js.map} +1 -1
  130. package/dist/chunks/{footer-bayElP1z.js → footer-Dl1Ykqxv.js} +2 -2
  131. package/dist/chunks/{footer-bayElP1z.js.map → footer-Dl1Ykqxv.js.map} +1 -1
  132. package/dist/chunks/{form-fields-BwxsvB9F.js → form-fields-BvDB0wY0.js} +2 -2
  133. package/dist/chunks/{form-fields-BwxsvB9F.js.map → form-fields-BvDB0wY0.js.map} +1 -1
  134. package/dist/chunks/{form-fields-BrayYpMV.esm.js → form-fields-Ci4OvmUu.esm.js} +2 -2
  135. package/dist/chunks/{form-fields-BrayYpMV.esm.js.map → form-fields-Ci4OvmUu.esm.js.map} +1 -1
  136. package/dist/chunks/{form-parser-Bvj6Zc2Z.js → form-parser-DS2hGFOW.js} +2 -2
  137. package/dist/chunks/{form-parser-Bvj6Zc2Z.js.map → form-parser-DS2hGFOW.js.map} +1 -1
  138. package/dist/chunks/{form-parser-BJRyYk98.esm.js → form-parser-DcPAoaI6.esm.js} +2 -2
  139. package/dist/chunks/{form-parser-BJRyYk98.esm.js.map → form-parser-DcPAoaI6.esm.js.map} +1 -1
  140. package/dist/chunks/{form-section-rVAcKmDS.js → form-section-CH3nvoyy.js} +5 -5
  141. package/dist/chunks/{form-section-rVAcKmDS.js.map → form-section-CH3nvoyy.js.map} +1 -1
  142. package/dist/chunks/{form-section-ooB5n5n5.esm.js → form-section-DayjB4au.esm.js} +5 -5
  143. package/dist/chunks/{form-section-ooB5n5n5.esm.js.map → form-section-DayjB4au.esm.js.map} +1 -1
  144. package/dist/chunks/{fullScreen-B6c2INGa.js → fullScreen-DBPnd6AA.js} +3 -3
  145. package/dist/chunks/{fullScreen-B6c2INGa.js.map → fullScreen-DBPnd6AA.js.map} +1 -1
  146. package/dist/chunks/{fullScreen-DS2-TuVH.esm.js → fullScreen-qdL0hjMe.esm.js} +3 -3
  147. package/dist/chunks/{fullScreen-DS2-TuVH.esm.js.map → fullScreen-qdL0hjMe.esm.js.map} +1 -1
  148. package/dist/chunks/{global-search-D0pVrSP1.js → global-search-BXrlGacV.js} +2 -2
  149. package/dist/chunks/{global-search-D0pVrSP1.js.map → global-search-BXrlGacV.js.map} +1 -1
  150. package/dist/chunks/{global-search-C3ZxZGB8.esm.js → global-search-CfMsZ-6E.esm.js} +2 -2
  151. package/dist/chunks/{global-search-C3ZxZGB8.esm.js.map → global-search-CfMsZ-6E.esm.js.map} +1 -1
  152. package/dist/chunks/{grid-view-DhnSmYaa.js → grid-view-DZce2PjW.js} +2 -2
  153. package/dist/chunks/{grid-view-DhnSmYaa.js.map → grid-view-DZce2PjW.js.map} +1 -1
  154. package/dist/chunks/{grid-view-Br1N0sdf.esm.js → grid-view-Wj0cWJhW.esm.js} +2 -2
  155. package/dist/chunks/{grid-view-Br1N0sdf.esm.js.map → grid-view-Wj0cWJhW.esm.js.map} +1 -1
  156. package/dist/chunks/{header-Dob8vfUx.esm.js → header-DAP2CthE.esm.js} +4 -4
  157. package/dist/chunks/{header-Dob8vfUx.esm.js.map → header-DAP2CthE.esm.js.map} +1 -1
  158. package/dist/chunks/{header-Bv0VHJ6c.js → header-GKYuNyw-.js} +4 -4
  159. package/dist/chunks/{header-Bv0VHJ6c.js.map → header-GKYuNyw-.js.map} +1 -1
  160. package/dist/chunks/{header-enhanced-Donxzxfw.esm.js → header-enhanced-Dr4Tc_mF.esm.js} +2 -2
  161. package/dist/chunks/{header-enhanced-Donxzxfw.esm.js.map → header-enhanced-Dr4Tc_mF.esm.js.map} +1 -1
  162. package/dist/chunks/{header-enhanced-CTtr4Pe-.js → header-enhanced-Y4qTE0ff.js} +2 -2
  163. package/dist/chunks/{header-enhanced-CTtr4Pe-.js.map → header-enhanced-Y4qTE0ff.js.map} +1 -1
  164. package/dist/chunks/{index-ALqg8b5U.esm.js → index-sxk1LkzI.esm.js} +2 -2
  165. package/dist/chunks/{index-ALqg8b5U.esm.js.map → index-sxk1LkzI.esm.js.map} +1 -1
  166. package/dist/chunks/{inline-edit-fields-tkexTfJu.esm.js → inline-edit-fields-B1X4Axpt.esm.js} +2 -2
  167. package/dist/chunks/{inline-edit-fields-tkexTfJu.esm.js.map → inline-edit-fields-B1X4Axpt.esm.js.map} +1 -1
  168. package/dist/chunks/{inline-edit-fields-Betje5F6.js → inline-edit-fields-eSq3RRjR.js} +2 -2
  169. package/dist/chunks/{inline-edit-fields-Betje5F6.js.map → inline-edit-fields-eSq3RRjR.js.map} +1 -1
  170. package/dist/chunks/{inventory-reports-title-bar-C7sOZnCf.esm.js → inventory-reports-title-bar-D8XpVL1k.esm.js} +3 -3
  171. package/dist/chunks/{inventory-reports-title-bar-C7sOZnCf.esm.js.map → inventory-reports-title-bar-D8XpVL1k.esm.js.map} +1 -1
  172. package/dist/chunks/{inventory-reports-title-bar-BF7AuiaE.js → inventory-reports-title-bar-DERFvWJE.js} +3 -3
  173. package/dist/chunks/{inventory-reports-title-bar-BF7AuiaE.js.map → inventory-reports-title-bar-DERFvWJE.js.map} +1 -1
  174. package/dist/chunks/{item-response-details-oFDZqbwX.esm.js → item-response-details-DOyzieZp.esm.js} +4 -4
  175. package/dist/chunks/{item-response-details-oFDZqbwX.esm.js.map → item-response-details-DOyzieZp.esm.js.map} +1 -1
  176. package/dist/chunks/{item-response-details-Detcy-bT.js → item-response-details-DPZKqRug.js} +4 -4
  177. package/dist/chunks/{item-response-details-Detcy-bT.js.map → item-response-details-DPZKqRug.js.map} +1 -1
  178. package/dist/chunks/{listing-kWwVSCCH.js → listing-CLH5aLLT.js} +4 -4
  179. package/dist/chunks/{listing-kWwVSCCH.js.map → listing-CLH5aLLT.js.map} +1 -1
  180. package/dist/chunks/{listing-BIwPAwDj.esm.js → listing-TXbvRzUP.esm.js} +4 -4
  181. package/dist/chunks/{listing-BIwPAwDj.esm.js.map → listing-TXbvRzUP.esm.js.map} +1 -1
  182. package/dist/chunks/{location-select-Co3yS2Qn.esm.js → location-select-Bj9aLxV0.esm.js} +2 -2
  183. package/dist/chunks/{location-select-Co3yS2Qn.esm.js.map → location-select-Bj9aLxV0.esm.js.map} +1 -1
  184. package/dist/chunks/{location-select-CrTin8mq.js → location-select-DzqrknmO.js} +2 -2
  185. package/dist/chunks/{location-select-CrTin8mq.js.map → location-select-DzqrknmO.js.map} +1 -1
  186. package/dist/chunks/{material-editable-table-CjtgcYTA.js → material-editable-table-5tndaI0V.js} +3 -3
  187. package/dist/chunks/{material-editable-table-CjtgcYTA.js.map → material-editable-table-5tndaI0V.js.map} +1 -1
  188. package/dist/chunks/{material-editable-table-ChD0DhXw.esm.js → material-editable-table-BKTGb4v1.esm.js} +3 -3
  189. package/dist/chunks/{material-editable-table-ChD0DhXw.esm.js.map → material-editable-table-BKTGb4v1.esm.js.map} +1 -1
  190. package/dist/chunks/{module-reducer-wwGUCVCs.js → module-reducer-BFrec-43.js} +2 -2
  191. package/dist/chunks/{module-reducer-wwGUCVCs.js.map → module-reducer-BFrec-43.js.map} +1 -1
  192. package/dist/chunks/{module-reducer-DJnOQQeS.esm.js → module-reducer-BhnljAy1.esm.js} +2 -2
  193. package/dist/chunks/{module-reducer-DJnOQQeS.esm.js.map → module-reducer-BhnljAy1.esm.js.map} +1 -1
  194. package/dist/chunks/{notification-menu-Cm55sfoj.esm.js → notification-menu-B7Jh6wmO.esm.js} +3 -3
  195. package/dist/chunks/{notification-menu-Cm55sfoj.esm.js.map → notification-menu-B7Jh6wmO.esm.js.map} +1 -1
  196. package/dist/chunks/{notification-menu-D9NWAvoZ.js → notification-menu-B7Se4fO6.js} +2 -2
  197. package/dist/chunks/{notification-menu-D9NWAvoZ.js.map → notification-menu-B7Se4fO6.js.map} +1 -1
  198. package/dist/chunks/{page-action-B3Jh4ITW.esm.js → page-action-3kxiffM3.esm.js} +4 -4
  199. package/dist/chunks/{page-action-B3Jh4ITW.esm.js.map → page-action-3kxiffM3.esm.js.map} +1 -1
  200. package/dist/chunks/{page-action-Drb4HiNc.js → page-action-A9jg4HH1.js} +4 -4
  201. package/dist/chunks/{page-action-Drb4HiNc.js.map → page-action-A9jg4HH1.js.map} +1 -1
  202. package/dist/chunks/{page-navigator-Bt1ZX2Uf.js → page-navigator-D7ZlgvXV.js} +2 -2
  203. package/dist/chunks/{page-navigator-Bt1ZX2Uf.js.map → page-navigator-D7ZlgvXV.js.map} +1 -1
  204. package/dist/chunks/{page-navigator-Cp0hmfhW.esm.js → page-navigator-DT5thk7T.esm.js} +2 -2
  205. package/dist/chunks/{page-navigator-Cp0hmfhW.esm.js.map → page-navigator-DT5thk7T.esm.js.map} +1 -1
  206. package/dist/chunks/{page-view-BshoJwrs.js → page-view-BGFVKE0d.js} +3 -3
  207. package/dist/chunks/{page-view-BshoJwrs.js.map → page-view-BGFVKE0d.js.map} +1 -1
  208. package/dist/chunks/{page-view-DC-S9vtU.esm.js → page-view-BS6O37yz.esm.js} +3 -3
  209. package/dist/chunks/{page-view-DC-S9vtU.esm.js.map → page-view-BS6O37yz.esm.js.map} +1 -1
  210. package/dist/chunks/{quick-approval-modal-M4mOc3VS.esm.js → quick-approval-modal-CAW-x6b5.esm.js} +2 -2
  211. package/dist/chunks/{quick-approval-modal-M4mOc3VS.esm.js.map → quick-approval-modal-CAW-x6b5.esm.js.map} +1 -1
  212. package/dist/chunks/{quick-approval-modal-Ckrkmjkl.js → quick-approval-modal-dc5AaSxs.js} +2 -2
  213. package/dist/chunks/{quick-approval-modal-Ckrkmjkl.js.map → quick-approval-modal-dc5AaSxs.js.map} +1 -1
  214. package/dist/chunks/{reducer-CrtUk_W3.esm.js → reducer-B-_XPKUq.esm.js} +3 -3
  215. package/dist/chunks/{reducer-CrtUk_W3.esm.js.map → reducer-B-_XPKUq.esm.js.map} +1 -1
  216. package/dist/chunks/{reducer-BTBP8UD4.esm.js → reducer-B-ehhPul.esm.js} +2 -2
  217. package/dist/chunks/{reducer-BTBP8UD4.esm.js.map → reducer-B-ehhPul.esm.js.map} +1 -1
  218. package/dist/chunks/{reducer-BHyZsdtk.js → reducer-BEMhiGFQ.js} +2 -2
  219. package/dist/chunks/{reducer-BHyZsdtk.js.map → reducer-BEMhiGFQ.js.map} +1 -1
  220. package/dist/chunks/{reducer-DPXa1mB5.js → reducer-CkWclHbN.js} +2 -2
  221. package/dist/chunks/{reducer-DPXa1mB5.js.map → reducer-CkWclHbN.js.map} +1 -1
  222. package/dist/chunks/{reducer-CUXI9fY3.esm.js → reducer-D1pUeHvd.esm.js} +2 -2
  223. package/dist/chunks/{reducer-CUXI9fY3.esm.js.map → reducer-D1pUeHvd.esm.js.map} +1 -1
  224. package/dist/chunks/{reducer-Cwtyv5b4.js → reducer-EEoFGAVV.js} +3 -3
  225. package/dist/chunks/{reducer-Cwtyv5b4.js.map → reducer-EEoFGAVV.js.map} +1 -1
  226. package/dist/chunks/{reducer-CVG2dtjZ.js → reducer-RjoBDU1j.js} +2 -2
  227. package/dist/chunks/{reducer-CVG2dtjZ.js.map → reducer-RjoBDU1j.js.map} +1 -1
  228. package/dist/chunks/{reducer-rdfC4LIG.esm.js → reducer-SLdyZxfq.esm.js} +2 -2
  229. package/dist/chunks/{reducer-rdfC4LIG.esm.js.map → reducer-SLdyZxfq.esm.js.map} +1 -1
  230. package/dist/chunks/{reducer-sGv2FmSj.esm.js → reducer-wJ-3T9dQ.esm.js} +3 -3
  231. package/dist/chunks/{reducer-sGv2FmSj.esm.js.map → reducer-wJ-3T9dQ.esm.js.map} +1 -1
  232. package/dist/chunks/{reducer-ujMQ0L5_.js → reducer-yTOIeGFg.js} +2 -2
  233. package/dist/chunks/{reducer-ujMQ0L5_.js.map → reducer-yTOIeGFg.js.map} +1 -1
  234. package/dist/chunks/{reports-title-bar-BJ7A6SmB.js → reports-title-bar-BORLcY1u.js} +4 -4
  235. package/dist/chunks/{reports-title-bar-BJ7A6SmB.js.map → reports-title-bar-BORLcY1u.js.map} +1 -1
  236. package/dist/chunks/{reports-title-bar-B8JTn7Ul.esm.js → reports-title-bar-Dd9esqeX.esm.js} +4 -4
  237. package/dist/chunks/{reports-title-bar-B8JTn7Ul.esm.js.map → reports-title-bar-Dd9esqeX.esm.js.map} +1 -1
  238. package/dist/chunks/{route-page-map-Dn-SAbdf.js → route-page-map-BQuAxbji.js} +2 -2
  239. package/dist/chunks/{route-page-map-Dn-SAbdf.js.map → route-page-map-BQuAxbji.js.map} +1 -1
  240. package/dist/chunks/{route-page-map-DkWoisiB.esm.js → route-page-map-Dx7Hv4ob.esm.js} +2 -2
  241. package/dist/chunks/{route-page-map-DkWoisiB.esm.js.map → route-page-map-Dx7Hv4ob.esm.js.map} +1 -1
  242. package/dist/chunks/{routes-CoCmY90I.esm.js → routes-BxjZuAM7.esm.js} +4 -4
  243. package/dist/chunks/{routes-CoCmY90I.esm.js.map → routes-BxjZuAM7.esm.js.map} +1 -1
  244. package/dist/chunks/{routes-Cs2E7oAc.js → routes-CT2ZJyoM.js} +4 -4
  245. package/dist/chunks/{routes-Cs2E7oAc.js.map → routes-CT2ZJyoM.js.map} +1 -1
  246. package/dist/chunks/{schedule-report-xnMShSOU.js → schedule-report-C_CnIly0.js} +6 -6
  247. package/dist/chunks/{schedule-report-xnMShSOU.js.map → schedule-report-C_CnIly0.js.map} +1 -1
  248. package/dist/chunks/{schedule-report-B5nyK1uE.esm.js → schedule-report-DuV2sMAA.esm.js} +6 -6
  249. package/dist/chunks/{schedule-report-B5nyK1uE.esm.js.map → schedule-report-DuV2sMAA.esm.js.map} +1 -1
  250. package/dist/chunks/{schedule-report-modal-LKJLZBDX.js → schedule-report-modal-9Sww9CMi.js} +3 -3
  251. package/dist/chunks/{schedule-report-modal-LKJLZBDX.js.map → schedule-report-modal-9Sww9CMi.js.map} +1 -1
  252. package/dist/chunks/{schedule-report-modal-Dcld1u__.esm.js → schedule-report-modal-D46FqbKz.esm.js} +3 -3
  253. package/dist/chunks/{schedule-report-modal-Dcld1u__.esm.js.map → schedule-report-modal-D46FqbKz.esm.js.map} +1 -1
  254. package/dist/chunks/{searchable-select-CvmvzflO.js → searchable-select-CK7NDlC_.js} +5 -5
  255. package/dist/chunks/{searchable-select-CvmvzflO.js.map → searchable-select-CK7NDlC_.js.map} +1 -1
  256. package/dist/chunks/{searchable-select-BNErtrmc.esm.js → searchable-select-UrarL3yl.esm.js} +5 -5
  257. package/dist/chunks/{searchable-select-BNErtrmc.esm.js.map → searchable-select-UrarL3yl.esm.js.map} +1 -1
  258. package/dist/chunks/{share-modal-B7bmQDz6.esm.js → share-modal-BbcQPTCp.esm.js} +3 -3
  259. package/dist/chunks/{share-modal-B7bmQDz6.esm.js.map → share-modal-BbcQPTCp.esm.js.map} +1 -1
  260. package/dist/chunks/{share-modal-7-fMdfwB.js → share-modal-DQNABE5p.js} +3 -3
  261. package/dist/chunks/{share-modal-7-fMdfwB.js.map → share-modal-DQNABE5p.js.map} +1 -1
  262. package/dist/chunks/{share-modal-enhanced-LzvFBkw7.esm.js → share-modal-enhanced-BG_REa0g.esm.js} +2 -2
  263. package/dist/chunks/{share-modal-enhanced-LzvFBkw7.esm.js.map → share-modal-enhanced-BG_REa0g.esm.js.map} +1 -1
  264. package/dist/chunks/{share-modal-enhanced-K3F95FBr.js → share-modal-enhanced-CSK7xB98.js} +2 -2
  265. package/dist/chunks/{share-modal-enhanced-K3F95FBr.js.map → share-modal-enhanced-CSK7xB98.js.map} +1 -1
  266. package/dist/chunks/{sidebarScreen-Cu3so7yG.esm.js → sidebarScreen-CDJYW58B.esm.js} +4 -4
  267. package/dist/chunks/{sidebarScreen-Cu3so7yG.esm.js.map → sidebarScreen-CDJYW58B.esm.js.map} +1 -1
  268. package/dist/chunks/{sidebarScreen-D6RdJmE_.js → sidebarScreen-CL8b4ZKO.js} +4 -4
  269. package/dist/chunks/{sidebarScreen-D6RdJmE_.js.map → sidebarScreen-CL8b4ZKO.js.map} +1 -1
  270. package/dist/chunks/{store-BJ-oYaJ9.esm.js → store-Btf42rjc.esm.js} +6 -6
  271. package/dist/chunks/{store-BJ-oYaJ9.esm.js.map → store-Btf42rjc.esm.js.map} +1 -1
  272. package/dist/chunks/{store-dnWK9iUF.js → store-C2Jq1vUE.js} +6 -6
  273. package/dist/chunks/{store-dnWK9iUF.js.map → store-C2Jq1vUE.js.map} +1 -1
  274. package/dist/chunks/{table-pjhCRENP.esm.js → table-3Rtk7bfw.esm.js} +3 -3
  275. package/dist/chunks/{table-pjhCRENP.esm.js.map → table-3Rtk7bfw.esm.js.map} +1 -1
  276. package/dist/chunks/{table-yoFD3IYO.js → table-JLBLtl-l.js} +3 -3
  277. package/dist/chunks/{table-yoFD3IYO.js.map → table-JLBLtl-l.js.map} +1 -1
  278. package/dist/chunks/{table-form-7QGuKo_u.js → table-form-BDB6k6Ka.js} +2 -2
  279. package/dist/chunks/{table-form-7QGuKo_u.js.map → table-form-BDB6k6Ka.js.map} +1 -1
  280. package/dist/chunks/{table-form-CNutzib7.esm.js → table-form-Cj09aAhr.esm.js} +2 -2
  281. package/dist/chunks/{table-form-CNutzib7.esm.js.map → table-form-Cj09aAhr.esm.js.map} +1 -1
  282. package/dist/chunks/{template-editor-router-Blq_7tbC.esm.js → template-editor-router-DQXyZXcp.esm.js} +2 -2
  283. package/dist/chunks/{template-editor-router-Blq_7tbC.esm.js.map → template-editor-router-DQXyZXcp.esm.js.map} +1 -1
  284. package/dist/chunks/{template-editor-router-BSESCNID.js → template-editor-router-DSM9raJw.js} +2 -2
  285. package/dist/chunks/{template-editor-router-BSESCNID.js.map → template-editor-router-DSM9raJw.js.map} +1 -1
  286. package/dist/chunks/{template-modal-DP-8WrJA.esm.js → template-modal-CK2xKQKB.esm.js} +7 -6
  287. package/dist/chunks/template-modal-CK2xKQKB.esm.js.map +1 -0
  288. package/dist/chunks/{template-modal-jF46oWQM.js → template-modal-D3Y04F74.js} +6 -5
  289. package/dist/chunks/template-modal-D3Y04F74.js.map +1 -0
  290. package/dist/chunks/{template-name-modal-Dctn8t3t.esm.js → template-name-modal-26pzkeXv.esm.js} +12 -5
  291. package/dist/chunks/template-name-modal-26pzkeXv.esm.js.map +1 -0
  292. package/dist/chunks/{template-name-modal-CeqxIE2r.js → template-name-modal-DRs3R4iy.js} +12 -5
  293. package/dist/chunks/template-name-modal-DRs3R4iy.js.map +1 -0
  294. package/dist/chunks/{templates-Cb8eycox.js → templates-CpxORHHg.js} +8 -8
  295. package/dist/chunks/templates-CpxORHHg.js.map +1 -0
  296. package/dist/chunks/{templates-B9XdPGUq.esm.js → templates-Df3djbmI.esm.js} +9 -9
  297. package/dist/chunks/templates-Df3djbmI.esm.js.map +1 -0
  298. package/dist/chunks/{text-measurement-Ds7tr1Kv.esm.js → text-measurement-Bvw_viaS.esm.js} +2 -2
  299. package/dist/chunks/{text-measurement-Ds7tr1Kv.esm.js.map → text-measurement-Bvw_viaS.esm.js.map} +1 -1
  300. package/dist/chunks/{text-measurement-7rGbhzLN.js → text-measurement-DRYlij2S.js} +2 -2
  301. package/dist/chunks/{text-measurement-7rGbhzLN.js.map → text-measurement-DRYlij2S.js.map} +1 -1
  302. package/dist/chunks/{translations-C8G8AtUJ.js → translations-BHuYJsWp.js} +2 -2
  303. package/dist/chunks/{translations-C8G8AtUJ.js.map → translations-BHuYJsWp.js.map} +1 -1
  304. package/dist/chunks/{translations-B1tUxNsa.esm.js → translations-DYY2KK4N.esm.js} +3 -3
  305. package/dist/chunks/{translations-B1tUxNsa.esm.js.map → translations-DYY2KK4N.esm.js.map} +1 -1
  306. package/dist/chunks/{uom-field-wrapper-MYSrjipD.esm.js → uom-field-wrapper-Cor3MpzB.esm.js} +2 -2
  307. package/dist/chunks/{uom-field-wrapper-MYSrjipD.esm.js.map → uom-field-wrapper-Cor3MpzB.esm.js.map} +1 -1
  308. package/dist/chunks/{uom-field-wrapper-BHmSiaXi.js → uom-field-wrapper-Cz7QX2a_.js} +2 -2
  309. package/dist/chunks/{uom-field-wrapper-BHmSiaXi.js.map → uom-field-wrapper-Cz7QX2a_.js.map} +1 -1
  310. package/dist/chunks/{upload-excel-De5rbiL8.js → upload-excel-Dr6K-CAH.js} +2 -2
  311. package/dist/chunks/{upload-excel-De5rbiL8.js.map → upload-excel-Dr6K-CAH.js.map} +1 -1
  312. package/dist/chunks/{upload-excel-Bg-8pqKr.esm.js → upload-excel-HPdSmJQk.esm.js} +2 -2
  313. package/dist/chunks/{upload-excel-Bg-8pqKr.esm.js.map → upload-excel-HPdSmJQk.esm.js.map} +1 -1
  314. package/dist/chunks/{use-translations-CKS4yvGw.js → use-translations-C1Ggg0W6.js} +2 -2
  315. package/dist/chunks/{use-translations-CKS4yvGw.js.map → use-translations-C1Ggg0W6.js.map} +1 -1
  316. package/dist/chunks/{use-translations-CwqmNNF8.esm.js → use-translations-DLuZZda6.esm.js} +2 -2
  317. package/dist/chunks/{use-translations-CwqmNNF8.esm.js.map → use-translations-DLuZZda6.esm.js.map} +1 -1
  318. package/dist/chunks/{useAccountSetting-CQKsZpDR.esm.js → useAccountSetting-B-Fl9KZe.esm.js} +2 -2
  319. package/dist/chunks/{useAccountSetting-CQKsZpDR.esm.js.map → useAccountSetting-B-Fl9KZe.esm.js.map} +1 -1
  320. package/dist/chunks/{useAccountSetting-De-p6HcN.js → useAccountSetting-ouGcJ20y.js} +2 -2
  321. package/dist/chunks/{useAccountSetting-De-p6HcN.js.map → useAccountSetting-ouGcJ20y.js.map} +1 -1
  322. package/dist/chunks/{useCheckSkuAndName-DzRLmhaW.esm.js → useCheckSkuAndName-Bu1OPPqo.esm.js} +2 -2
  323. package/dist/chunks/{useCheckSkuAndName-DzRLmhaW.esm.js.map → useCheckSkuAndName-Bu1OPPqo.esm.js.map} +1 -1
  324. package/dist/chunks/{useCheckSkuAndName-vsjrM5X-.js → useCheckSkuAndName-CYsOfbJv.js} +2 -2
  325. package/dist/chunks/{useCheckSkuAndName-vsjrM5X-.js.map → useCheckSkuAndName-CYsOfbJv.js.map} +1 -1
  326. package/dist/chunks/{useReduxIntegration-B5pZYr9t.js → useReduxIntegration-4ziMWLT9.js} +2 -2
  327. package/dist/chunks/{useReduxIntegration-B5pZYr9t.js.map → useReduxIntegration-4ziMWLT9.js.map} +1 -1
  328. package/dist/chunks/{useReduxIntegration-D5y8PRkW.esm.js → useReduxIntegration-C5Ijdb41.esm.js} +2 -2
  329. package/dist/chunks/{useReduxIntegration-D5y8PRkW.esm.js.map → useReduxIntegration-C5Ijdb41.esm.js.map} +1 -1
  330. package/dist/chunks/{useUniquenessCheck-Pm-163jN.esm.js → useUniquenessCheck-Bq2b6mKm.esm.js} +2 -2
  331. package/dist/chunks/{useUniquenessCheck-Pm-163jN.esm.js.map → useUniquenessCheck-Bq2b6mKm.esm.js.map} +1 -1
  332. package/dist/chunks/{useUniquenessCheck-DZ3mosj1.js → useUniquenessCheck-L2KUVT1S.js} +2 -2
  333. package/dist/chunks/{useUniquenessCheck-DZ3mosj1.js.map → useUniquenessCheck-L2KUVT1S.js.map} +1 -1
  334. package/dist/chunks/{useVendorAICompare-DhZckL5o.js → useVendorAICompare-DWlQ7-7s.js} +2 -2
  335. package/dist/chunks/{useVendorAICompare-DhZckL5o.js.map → useVendorAICompare-DWlQ7-7s.js.map} +1 -1
  336. package/dist/chunks/{useVendorAICompare-BeU9KXTT.esm.js → useVendorAICompare-q5O-KxvE.esm.js} +2 -2
  337. package/dist/chunks/{useVendorAICompare-BeU9KXTT.esm.js.map → useVendorAICompare-q5O-KxvE.esm.js.map} +1 -1
  338. package/dist/chunks/value-editor-BSTPNizm.esm.js +262 -0
  339. package/dist/chunks/value-editor-BSTPNizm.esm.js.map +1 -0
  340. package/dist/chunks/value-editor-CtTHzN7P.js +261 -0
  341. package/dist/chunks/value-editor-CtTHzN7P.js.map +1 -0
  342. package/dist/chunks/{vendor-ai-summary-VtIIS5e1.esm.js → vendor-ai-summary-DESIWWfy.esm.js} +3 -3
  343. package/dist/chunks/{vendor-ai-summary-VtIIS5e1.esm.js.map → vendor-ai-summary-DESIWWfy.esm.js.map} +1 -1
  344. package/dist/chunks/{vendor-ai-summary-C-_Tmn05.js → vendor-ai-summary-YK-kEok5.js} +3 -3
  345. package/dist/chunks/{vendor-ai-summary-C-_Tmn05.js.map → vendor-ai-summary-YK-kEok5.js.map} +1 -1
  346. package/dist/components/action-bar/action-bar/index.esm.js +1 -1
  347. package/dist/components/action-bar/action-bar/index.js +1 -1
  348. package/dist/components/action-bar/index.esm.js +1 -1
  349. package/dist/components/action-bar/index.js +1 -1
  350. package/dist/components/address-modal/index.esm.js +1 -1
  351. package/dist/components/address-modal/index.js +1 -1
  352. package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
  353. package/dist/components/ai-summary/ai-summary/index.js +1 -1
  354. package/dist/components/ai-summary/index.esm.js +1 -1
  355. package/dist/components/ai-summary/index.js +1 -1
  356. package/dist/components/appbar/appbar/index.esm.js +1 -1
  357. package/dist/components/appbar/appbar/index.js +1 -1
  358. package/dist/components/appbar/index.esm.js +1 -1
  359. package/dist/components/appbar/index.js +1 -1
  360. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
  361. package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
  362. package/dist/components/approval-wrapper/index.esm.js +1 -1
  363. package/dist/components/approval-wrapper/index.js +1 -1
  364. package/dist/components/chat-bot/index.esm.js +1 -1
  365. package/dist/components/chat-bot/index.js +1 -1
  366. package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
  367. package/dist/components/custom-forms/FORMS/index.js +1 -1
  368. package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
  369. package/dist/components/custom-forms/grid-view/grid-view/index.js +1 -1
  370. package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
  371. package/dist/components/custom-forms/grid-view/index.js +1 -1
  372. package/dist/components/custom-forms/index.esm.js +2 -2
  373. package/dist/components/custom-forms/index.js +2 -2
  374. package/dist/components/department-add-modal/index.esm.js +1 -1
  375. package/dist/components/department-add-modal/index.js +1 -1
  376. package/dist/components/designation-add-modal/index.esm.js +1 -1
  377. package/dist/components/designation-add-modal/index.js +1 -1
  378. package/dist/components/editor/custom-editor/index.esm.js +1 -1
  379. package/dist/components/editor/custom-editor/index.js +1 -1
  380. package/dist/components/editor/index.esm.js +1 -1
  381. package/dist/components/editor/index.js +1 -1
  382. package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
  383. package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
  384. package/dist/components/examples/index.esm.js +1 -1
  385. package/dist/components/examples/index.js +1 -1
  386. package/dist/components/filter/components/index.esm.js +1 -1
  387. package/dist/components/filter/components/index.js +1 -1
  388. package/dist/components/filter/components/value-editor/index.esm.js +1 -1
  389. package/dist/components/filter/components/value-editor/index.js +1 -1
  390. package/dist/components/filter/fields/index.esm.js +1 -0
  391. package/dist/components/filter/fields/index.esm.js.map +1 -1
  392. package/dist/components/filter/fields/index.js +1 -0
  393. package/dist/components/filter/fields/index.js.map +1 -1
  394. package/dist/components/filter/filter/index.esm.js +1 -1
  395. package/dist/components/filter/filter/index.js +1 -1
  396. package/dist/components/filter/index.esm.js +2 -2
  397. package/dist/components/filter/index.js +2 -2
  398. package/dist/components/footer/footer/index.esm.js +1 -1
  399. package/dist/components/footer/footer/index.js +1 -1
  400. package/dist/components/footer/index.esm.js +1 -1
  401. package/dist/components/footer/index.js +1 -1
  402. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
  403. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
  404. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
  405. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
  406. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
  407. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.js +1 -1
  408. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
  409. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
  410. package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +4 -4
  411. package/dist/components/form-control/form-builder/form-builder-element/index.js +4 -4
  412. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
  413. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
  414. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
  415. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
  416. package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
  417. package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
  418. package/dist/components/form-control/form-builder/index.esm.js +4 -4
  419. package/dist/components/form-control/form-builder/index.js +4 -4
  420. package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
  421. package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
  422. package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
  423. package/dist/components/form-control/form-parser/form-section/index.js +1 -1
  424. package/dist/components/form-control/form-parser/index.esm.js +2 -2
  425. package/dist/components/form-control/form-parser/index.js +2 -2
  426. package/dist/components/form-control/index.esm.js +6 -6
  427. package/dist/components/form-control/index.js +6 -6
  428. package/dist/components/header/components/global-search/index.esm.js +1 -1
  429. package/dist/components/header/components/global-search/index.js +1 -1
  430. package/dist/components/header/components/index.esm.js +1 -1
  431. package/dist/components/header/components/index.js +1 -1
  432. package/dist/components/header/components/notification-menu/index.esm.js +1 -1
  433. package/dist/components/header/components/notification-menu/index.js +1 -1
  434. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
  435. package/dist/components/header/components/notification-menu/notification-menu/index.js +1 -1
  436. package/dist/components/header/header/index.esm.js +1 -1
  437. package/dist/components/header/header/index.js +1 -1
  438. package/dist/components/header/header-enhanced/index.esm.js +1 -1
  439. package/dist/components/header/header-enhanced/index.js +1 -1
  440. package/dist/components/header/index.esm.js +5 -5
  441. package/dist/components/header/index.js +5 -5
  442. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  443. package/dist/components/header/redux/actionCreator/index.js +1 -1
  444. package/dist/components/header/redux/index.esm.js +2 -2
  445. package/dist/components/header/redux/index.js +2 -2
  446. package/dist/components/header/redux/reducer/index.esm.js +1 -1
  447. package/dist/components/header/redux/reducer/index.js +1 -1
  448. package/dist/components/index.esm.js +36 -36
  449. package/dist/components/index.js +36 -36
  450. package/dist/components/inventory-reports-title-bar/index.esm.js +3 -3
  451. package/dist/components/inventory-reports-title-bar/index.js +3 -3
  452. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
  453. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
  454. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  455. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
  456. package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
  457. package/dist/components/inventory-reports-title-bar/redux/index.js +2 -2
  458. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
  459. package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
  460. package/dist/components/listing/index.esm.js +1 -1
  461. package/dist/components/listing/index.js +1 -1
  462. package/dist/components/listing/listing/index.esm.js +1 -1
  463. package/dist/components/listing/listing/index.js +1 -1
  464. package/dist/components/location-select/index.esm.js +1 -1
  465. package/dist/components/location-select/index.js +1 -1
  466. package/dist/components/material-editable-table/components/index.esm.js +1 -1
  467. package/dist/components/material-editable-table/components/index.js +1 -1
  468. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
  469. package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
  470. package/dist/components/material-editable-table/index.esm.js +2 -2
  471. package/dist/components/material-editable-table/index.js +2 -2
  472. package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
  473. package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
  474. package/dist/components/material-table/components/index.esm.js +1 -1
  475. package/dist/components/material-table/components/index.js +1 -1
  476. package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
  477. package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
  478. package/dist/components/material-table/index.esm.js +1 -1
  479. package/dist/components/material-table/index.js +1 -1
  480. package/dist/components/material-table/material-table/index.esm.js +1 -1
  481. package/dist/components/material-table/material-table/index.js +1 -1
  482. package/dist/components/page-navigator/components/index.esm.js +1 -1
  483. package/dist/components/page-navigator/components/index.js +1 -1
  484. package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
  485. package/dist/components/page-navigator/components/page-action/index.js +1 -1
  486. package/dist/components/page-navigator/index.esm.js +2 -2
  487. package/dist/components/page-navigator/index.js +2 -2
  488. package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
  489. package/dist/components/page-navigator/page-navigator/index.js +1 -1
  490. package/dist/components/parties-modal/index.esm.js +1 -1
  491. package/dist/components/parties-modal/index.js +1 -1
  492. package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
  493. package/dist/components/parties-modal/parties-modal/index.js +1 -1
  494. package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
  495. package/dist/components/providers/ERPUIProvider/index.js +1 -1
  496. package/dist/components/providers/index.esm.js +1 -1
  497. package/dist/components/providers/index.js +1 -1
  498. package/dist/components/quick-approval-modal/index.esm.js +1 -1
  499. package/dist/components/quick-approval-modal/index.js +1 -1
  500. package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
  501. package/dist/components/quick-approval-modal/quick-approval-modal/index.js +1 -1
  502. package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
  503. package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
  504. package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
  505. package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
  506. package/dist/components/reports/dynamic-report/index.esm.js +2 -2
  507. package/dist/components/reports/dynamic-report/index.js +2 -2
  508. package/dist/components/reports/index.esm.js +2 -2
  509. package/dist/components/reports/index.js +2 -2
  510. package/dist/components/reports-title-bar/index.esm.js +3 -3
  511. package/dist/components/reports-title-bar/index.js +3 -3
  512. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  513. package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
  514. package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
  515. package/dist/components/reports-title-bar/redux/index.js +2 -2
  516. package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
  517. package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
  518. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
  519. package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
  520. package/dist/components/rfq-response/index.esm.js +1 -1
  521. package/dist/components/rfq-response/index.js +1 -1
  522. package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
  523. package/dist/components/rfq-response/item-response-details/index.js +1 -1
  524. package/dist/components/schedule-report/index.esm.js +2 -2
  525. package/dist/components/schedule-report/index.js +2 -2
  526. package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
  527. package/dist/components/schedule-report/schedule-report/index.js +1 -1
  528. package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
  529. package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
  530. package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
  531. package/dist/components/searchable-select/index.esm.js +1 -1
  532. package/dist/components/searchable-select/index.js +1 -1
  533. package/dist/components/share-modal/index.esm.js +4 -4
  534. package/dist/components/share-modal/index.js +4 -4
  535. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  536. package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
  537. package/dist/components/share-modal/redux/index.esm.js +2 -2
  538. package/dist/components/share-modal/redux/index.js +2 -2
  539. package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
  540. package/dist/components/share-modal/redux/reducer/index.js +1 -1
  541. package/dist/components/share-modal/share-modal/index.esm.js +1 -1
  542. package/dist/components/share-modal/share-modal/index.js +1 -1
  543. package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
  544. package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
  545. package/dist/components/team-add-modal/index.esm.js +1 -1
  546. package/dist/components/team-add-modal/index.js +1 -1
  547. package/dist/components/uom-field-wrapper/index.esm.js +1 -1
  548. package/dist/components/uom-field-wrapper/index.js +1 -1
  549. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
  550. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
  551. package/dist/components/upload-excel/index.esm.js +1 -1
  552. package/dist/components/upload-excel/index.js +1 -1
  553. package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
  554. package/dist/components/upload-excel/upload-excel/index.js +1 -1
  555. package/dist/components/vendor-ai-summary/index.esm.js +1 -1
  556. package/dist/components/vendor-ai-summary/index.js +1 -1
  557. package/dist/constants/index.esm.js +1 -1
  558. package/dist/constants/index.js +1 -1
  559. package/dist/hooks/index.esm.js +6 -6
  560. package/dist/hooks/index.js +6 -6
  561. package/dist/hooks/use-translations/index.esm.js +1 -1
  562. package/dist/hooks/use-translations/index.js +1 -1
  563. package/dist/hooks/useAccountSetting/index.esm.js +1 -1
  564. package/dist/hooks/useAccountSetting/index.js +1 -1
  565. package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
  566. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  567. package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
  568. package/dist/hooks/useReduxIntegration/index.js +1 -1
  569. package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
  570. package/dist/hooks/useUniquenessCheck/index.js +1 -1
  571. package/dist/index.esm.js +106 -98
  572. package/dist/index.esm.js.map +1 -1
  573. package/dist/index.js +104 -96
  574. package/dist/index.js.map +1 -1
  575. package/dist/layout/fullScreen/index.esm.js +1 -1
  576. package/dist/layout/fullScreen/index.js +1 -1
  577. package/dist/layout/index.esm.js +2 -2
  578. package/dist/layout/index.js +2 -2
  579. package/dist/layout/sidebarScreen/index.esm.js +1 -1
  580. package/dist/layout/sidebarScreen/index.js +1 -1
  581. package/dist/redux/index.esm.js +3 -3
  582. package/dist/redux/index.js +3 -3
  583. package/dist/runtime/index.esm.js +3 -3
  584. package/dist/runtime/index.js +2 -2
  585. package/dist/src/components/filter/components/date-range-value.d.ts +14 -0
  586. package/dist/src/views/template-editor/components/EditorCanvas/FreeCanvas.d.ts +52 -0
  587. package/dist/src/views/template-editor/components/EditorCanvas/FreeElement.d.ts +48 -0
  588. package/dist/src/views/template-editor/components/EditorCanvas.d.ts +48 -12
  589. package/dist/src/views/template-editor/components/EditorHeader.d.ts +6 -0
  590. package/dist/src/views/template-editor/components/EditorSection.d.ts +1 -0
  591. package/dist/src/views/template-editor/components/SectionFlowEditor.d.ts +2 -3
  592. package/dist/src/views/template-editor/components/SectionFormatPanel.d.ts +2 -1
  593. package/dist/src/views/template-editor/components/controllers/TableControls.d.ts +42 -0
  594. package/dist/src/views/template-editor/components/controllers/TextControls.d.ts +3 -0
  595. package/dist/src/views/template-editor/components/stationery/StationeryPreview.d.ts +24 -0
  596. package/dist/src/views/template-editor/components/stationery/StationerySidebar.d.ts +9 -0
  597. package/dist/src/views/template-editor/engine/ai.d.ts +12 -0
  598. package/dist/src/views/template-editor/engine/app.d.ts +1 -0
  599. package/dist/src/views/template-editor/engine/controls.d.ts +4 -0
  600. package/dist/src/views/template-editor/engine/design-canvas.d.ts +24 -0
  601. package/dist/src/views/template-editor/engine/editor.d.ts +17 -0
  602. package/dist/src/views/template-editor/engine/engine.d.ts +18 -0
  603. package/dist/src/views/template-editor/engine/icons.d.ts +91 -0
  604. package/dist/src/views/template-editor/engine/letterpads.d.ts +1 -0
  605. package/dist/src/views/template-editor/engine/model.d.ts +20 -0
  606. package/dist/src/views/template-editor/engine/paginator.d.ts +30 -0
  607. package/dist/src/views/template-editor/engine/picker.d.ts +20 -0
  608. package/dist/src/views/template-editor/engine/schema.d.ts +647 -0
  609. package/dist/src/views/template-editor/engine/stationery-app.d.ts +10 -0
  610. package/dist/src/views/template-editor/engine/stationery-doc.d.ts +62 -0
  611. package/dist/src/views/template-editor/engine/stationery-free-element.d.ts +22 -0
  612. package/dist/src/views/template-editor/engine/stationery-store.d.ts +154 -0
  613. package/dist/src/views/template-editor/engine/templatebuilder.d.ts +51 -0
  614. package/dist/src/views/template-editor/engine/templates.d.ts +11 -0
  615. package/dist/src/views/template-editor/icons/custom-styled-icon.d.ts +7 -0
  616. package/dist/src/views/template-editor/icons/edit.d.ts +4 -0
  617. package/dist/src/views/template-editor/icons/trash.d.ts +4 -0
  618. package/dist/src/views/template-editor/types/editor.d.ts +20 -108
  619. package/dist/src/views/template-editor/types/stationery.d.ts +66 -0
  620. package/dist/src/views/template-editor/utils/common.d.ts +28 -1
  621. package/dist/src/views/template-editor/utils/compiler.d.ts +12 -0
  622. package/dist/src/views/template-editor/utils/constant.d.ts +4 -1
  623. package/dist/src/views/template-editor/utils/section-attrs.d.ts +6 -0
  624. package/dist/src/views/template-editor/utils/table-inline.d.ts +43 -0
  625. package/dist/style.css +4619 -33
  626. package/dist/utils/api/index.esm.js +1 -1
  627. package/dist/utils/api/index.js +1 -1
  628. package/dist/utils/common/index.esm.js +1 -1
  629. package/dist/utils/common/index.js +1 -1
  630. package/dist/utils/common-utility/index.esm.js +1 -1
  631. package/dist/utils/common-utility/index.js +1 -1
  632. package/dist/utils/index.esm.js +8 -8
  633. package/dist/utils/index.js +4 -4
  634. package/dist/utils/server/index.esm.js +2 -2
  635. package/dist/utils/text-measurement/index.esm.js +1 -1
  636. package/dist/utils/text-measurement/index.js +1 -1
  637. package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
  638. package/dist/views/afterAuth/dashboard/index.js +1 -1
  639. package/dist/views/afterAuth/index.esm.js +2 -2
  640. package/dist/views/afterAuth/index.js +2 -2
  641. package/dist/views/afterAuth/page-view/index.esm.js +1 -1
  642. package/dist/views/afterAuth/page-view/index.js +1 -1
  643. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  644. package/dist/views/form-builder/custom-form/index.js +1 -1
  645. package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
  646. package/dist/views/form-builder/element-edit-forms/index.js +1 -1
  647. package/dist/views/form-builder/form-fields/index.esm.js +1 -1
  648. package/dist/views/form-builder/form-fields/index.js +1 -1
  649. package/dist/views/form-builder/index.esm.js +4 -4
  650. package/dist/views/form-builder/index.js +4 -4
  651. package/dist/views/form-builder/redux/index.esm.js +1 -1
  652. package/dist/views/form-builder/redux/index.js +1 -1
  653. package/dist/views/index.esm.js +45 -37
  654. package/dist/views/index.esm.js.map +1 -1
  655. package/dist/views/index.js +42 -34
  656. package/dist/views/index.js.map +1 -1
  657. package/dist/views/template-editor/add-template/index.esm.js +1 -1
  658. package/dist/views/template-editor/add-template/index.js +1 -1
  659. package/dist/views/template-editor/components/index.esm.js +7 -6
  660. package/dist/views/template-editor/components/index.esm.js.map +1 -1
  661. package/dist/views/template-editor/components/index.js +4 -3
  662. package/dist/views/template-editor/components/index.js.map +1 -1
  663. package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
  664. package/dist/views/template-editor/edit-section-modal/index.js +1 -1
  665. package/dist/views/template-editor/index.esm.js +28 -20
  666. package/dist/views/template-editor/index.esm.js.map +1 -1
  667. package/dist/views/template-editor/index.js +20 -12
  668. package/dist/views/template-editor/index.js.map +1 -1
  669. package/dist/views/template-editor/routes/index.esm.js +1 -1
  670. package/dist/views/template-editor/routes/index.js +1 -1
  671. package/dist/views/template-editor/template-modal/index.esm.js +1 -1
  672. package/dist/views/template-editor/template-modal/index.js +1 -1
  673. package/dist/views/template-editor/template-name-modal/index.esm.js +1 -1
  674. package/dist/views/template-editor/template-name-modal/index.js +1 -1
  675. package/dist/views/template-editor/templates/index.esm.js +1 -1
  676. package/dist/views/template-editor/templates/index.js +1 -1
  677. package/dist/views/template-editor/utils/index.esm.js +13 -6
  678. package/dist/views/template-editor/utils/index.js +9 -2
  679. package/dist/views/template-editor/utils/index.js.map +1 -1
  680. package/package.json +1 -1
  681. package/dist/chunks/SectionFlowEditor-D_zGaLTv.js +0 -5478
  682. package/dist/chunks/SectionFlowEditor-D_zGaLTv.js.map +0 -1
  683. package/dist/chunks/SectionFlowEditor-rpYvUYCA.esm.js +0 -5479
  684. package/dist/chunks/SectionFlowEditor-rpYvUYCA.esm.js.map +0 -1
  685. package/dist/chunks/action-bar-B8EkHk4R.esm.js.map +0 -1
  686. package/dist/chunks/action-bar-B_EUV2Bt.js.map +0 -1
  687. package/dist/chunks/add-template-BK-2FnRj.js +0 -10
  688. package/dist/chunks/add-template-BK-2FnRj.js.map +0 -1
  689. package/dist/chunks/add-template-C880g-xF.esm.js +0 -11
  690. package/dist/chunks/add-template-C880g-xF.esm.js.map +0 -1
  691. package/dist/chunks/common-C5AokA7z.js +0 -368
  692. package/dist/chunks/common-C5AokA7z.js.map +0 -1
  693. package/dist/chunks/common-CaomnEjX.esm.js +0 -369
  694. package/dist/chunks/common-CaomnEjX.esm.js.map +0 -1
  695. package/dist/chunks/common-utility-CARAexqF.js.map +0 -1
  696. package/dist/chunks/common-utility-DWsblyLc.esm.js.map +0 -1
  697. package/dist/chunks/constant-Bwg2s_Sn.esm.js.map +0 -1
  698. package/dist/chunks/constant-ZYAN_teD.js.map +0 -1
  699. package/dist/chunks/edit-section-modal-BptwBP9b.js.map +0 -1
  700. package/dist/chunks/edit-section-modal-JhrBM1O-.esm.js.map +0 -1
  701. package/dist/chunks/filter-D9Cx0Qtl.js.map +0 -1
  702. package/dist/chunks/filter-DnQLBnHo.esm.js.map +0 -1
  703. package/dist/chunks/template-modal-DP-8WrJA.esm.js.map +0 -1
  704. package/dist/chunks/template-modal-jF46oWQM.js.map +0 -1
  705. package/dist/chunks/template-name-modal-CeqxIE2r.js.map +0 -1
  706. package/dist/chunks/template-name-modal-Dctn8t3t.esm.js.map +0 -1
  707. package/dist/chunks/templates-B9XdPGUq.esm.js.map +0 -1
  708. package/dist/chunks/templates-Cb8eycox.js.map +0 -1
  709. package/dist/chunks/value-editor-CbiP4U-V.js +0 -135
  710. package/dist/chunks/value-editor-CbiP4U-V.js.map +0 -1
  711. package/dist/chunks/value-editor-K2ox4TX9.esm.js +0 -136
  712. package/dist/chunks/value-editor-K2ox4TX9.esm.js.map +0 -1
package/dist/style.css CHANGED
@@ -9868,32 +9868,4356 @@ th .hbs-placeholder {
9868
9868
 
9869
9869
  .formSection--Button :disabled {
9870
9870
  color: rgba(0, 0, 0, 0.25);
9871
- }.editSectionModal--Divider {
9872
- border-color: #eeeff1;
9871
+ }.companySelectionModal--Divider {
9872
+ border-color: #d3d3d4;
9873
+ }
9874
+ .companySelectionModal--DialogTitle {
9875
+ border-bottom: 1px solid #bdbebf;
9876
+ }
9877
+ .companySelectionModal--SectionTitle {
9878
+ padding-left: 1.5rem;
9879
+ }
9880
+ .companySelectionModal--DialogContents {
9881
+ padding: 1.5rem !important;
9882
+ }
9883
+ .companySelectionModal--DialogAction {
9884
+ justify-content: flex-end !important;
9885
+ padding: 0.5rem 1.5rem !important;
9886
+ background-color: #d3d3d4;
9887
+ }
9888
+ .companySelectionModal--DialogAction--WhiteBtn {
9889
+ background-color: #fff !important;
9890
+ color: #1f2125;
9891
+ }:root,
9892
+ .templates,
9893
+ .pb {
9894
+
9895
+ /* ── Brand ──────────────────────────────────────────────── */
9896
+ --brand-green: #2EB273;
9897
+ --brand-green-deep: #1A8A56;
9898
+ --brand-green-dark: #146B43;
9899
+ --brand-navy: #001866;
9900
+ --brand-navy-soft: #1B2C6E;
9901
+
9902
+ /* ── Primary scale (green) ──────────────────────────────── */
9903
+ --green-50: #F1FBF6;
9904
+ --green-100: #E2F5EC;
9905
+ --green-200: #C8EBD8;
9906
+ --green-300: #A7DEC2;
9907
+ --green-400: #6DCB9D;
9908
+ --green-500: #2EB273;
9909
+ --green-600: #1A8A56;
9910
+ --green-700: #146B43;
9911
+ --green-800: #0E4D31;
9912
+ --green-900: #073220;
9913
+
9914
+ /* ── Neutrals — warm-tinted, calm ───────────────────────── */
9915
+ --n-0: #FFFFFF;
9916
+ --n-25: #FCFCFD;
9917
+ --n-50: #F7F8F9;
9918
+ --n-75: #F2F3F5;
9919
+ --n-100: #ECEDEF;
9920
+ --n-150: #E1E3E6;
9921
+ --n-200: #D2D5D9;
9922
+ --n-300: #B6BABF;
9923
+ --n-400: #9498A0;
9924
+ --n-450: #767B83;
9925
+ /* AA-capable mid-grey — quaternary text floor (4.5:1 on white) */
9926
+ --n-500: #6D7178;
9927
+ --n-600: #54585F;
9928
+ --n-700: #3D4046;
9929
+ --n-800: #25272C;
9930
+ --n-900: #15171B;
9931
+ --n-950: #0B0C0F;
9932
+
9933
+ /* ── Surfaces ───────────────────────────────────────────── */
9934
+ --surface-canvas: var(--n-25);
9935
+ /* page bg */
9936
+ --surface-raised: var(--n-0);
9937
+ /* cards, top bar, main panels */
9938
+ --surface-sunken: var(--n-50);
9939
+ /* sidebars, toolbars */
9940
+ --surface-muted: var(--n-75);
9941
+ /* inactive inputs, subtle wells */
9942
+ --surface-hover: var(--n-75);
9943
+ --surface-active: var(--n-100);
9944
+ --surface-overlay: rgba(15, 17, 21, 0.32);
9945
+ /* modal/sheet scrim (added 2A) */
9946
+ --surface-overlay-strong: rgba(15, 17, 21, 0.56);
9947
+ /* fullscreen scrim (added 2A) */
9948
+ --surface-inverse: var(--n-900);
9949
+ /* tooltip, snackbar surface (added 2A) */
9950
+ --text-on-inverse: var(--n-0);
9951
+ /* text on inverse surface (added 2A) */
9952
+
9953
+ /* ── Borders ────────────────────────────────────────────── */
9954
+ --border-subtle: var(--n-100);
9955
+ --border-default: var(--n-150);
9956
+ --border-strong: var(--n-200);
9957
+ --border-divider: var(--n-100);
9958
+ /* inline cell dividers (added 2A) */
9959
+ --border-focus: var(--green-500);
9960
+ --border-focus-ai: var(--ai-fg);
9961
+ /* added 2A */
9962
+ --border-focus-danger: var(--danger);
9963
+ /* added 2A */
9964
+
9965
+ /* ── Text ───────────────────────────────────────────────── */
9966
+ --text-primary: var(--n-900);
9967
+ --text-secondary: var(--n-700);
9968
+ --text-tertiary: var(--n-500);
9969
+ --text-quaternary: var(--n-450);
9970
+ /* a11y 4.3 — was n-400 (2.89:1, sub-AA on real text) */
9971
+ --text-disabled: var(--n-300);
9972
+ --text-inverse: var(--n-0);
9973
+ --text-brand: var(--green-700);
9974
+ /* a11y 4.4 — was green-600 (4.36:1, just-misses AA for text) */
9975
+ --text-brand-strong: var(--green-700);
9976
+
9977
+ /* ── Action role — 3-tier brand indirection (primitive → brand → role)
9978
+ Components consume --color-action ONLY; a new product/white-label
9979
+ theme reskins by overriding --brand-action, never by touching a
9980
+ component (gap-audit F1). Fill is green-700 so white text clears AA
9981
+ at 6.53:1 — brand-green #2EB273 (2.72:1) stays for logo/identity. ── */
9982
+ --brand-action: var(--green-700);
9983
+ /* tier 2 — overridable per product/theme */
9984
+ --brand-action-hover: var(--green-800);
9985
+ --brand-action-active: var(--green-900);
9986
+ --color-action: var(--brand-action);
9987
+ /* tier 3 — the role components use */
9988
+ --color-action-hover: var(--brand-action-hover);
9989
+ --color-action-active: var(--brand-action-active);
9990
+ --color-on-action: #FFFFFF;
9991
+ /* text/icon on action fill */
9992
+
9993
+ /* ── Semantic colors ────────────────────────────────────── */
9994
+ --success: #0C8C6A;
9995
+ /* OWN teal-shifted ramp (~+15° off brand green) so brand green never signals routine status (1.1/7.1) */
9996
+ --success-bg: #D8F3EB;
9997
+ --success-bg-strong: #B6E8D8;
9998
+
9999
+ --warning: #B26B0F;
10000
+ --warning-bg: #FEF1DD;
10001
+ --warning-bg-strong: #FCDFB1;
10002
+
10003
+ --danger: #C2363A;
10004
+ --danger-bg: #FBE3E5;
10005
+ --danger-bg-strong: #F5C7CB;
10006
+
10007
+ --info: #2A6FDB;
10008
+ --info-bg: #E6EEF9;
10009
+ --info-bg-strong: #CDDDF3;
10010
+
10011
+ --neutral-bg: var(--n-100);
10012
+ --neutral-fg: var(--n-700);
10013
+
10014
+ /* ── Row selection (brand-tinted, dark-aware) ──────────── */
10015
+ --row-selected-bg: #EAF1FB;
10016
+ /* neutral/info tint — NOT brand green (1.1) */
10017
+ --row-selected-bg-hover: #D9E7F8;
10018
+
10019
+ /* ── Semantic strong-fg (text on *-bg-strong) — added 2A ── */
10020
+ --success-fg-strong: #07543F;
10021
+ /* teal-dark — matches de-branded success ramp */
10022
+ --warning-fg-strong: #5C3604;
10023
+ --danger-fg-strong: #7A1A1F;
10024
+ --info-fg-strong: #133A7E;
10025
+
10026
+ /* ── AI accent (purple) — for AI-suggested fields, agents ── */
10027
+ --ai-fg: #6D45D9;
10028
+ --ai-bg: #EFE9FC;
10029
+ --ai-bg-strong: #DDD0F8;
10030
+ --ai-fg-deep: #5535B8;
10031
+ /* filled-AI button bg (added 2A) */
10032
+ --ai-on-fill: #FFFFFF;
10033
+ /* text on ai-fg-deep (added 2A) */
10034
+
10035
+ /* ── Tag palette (8 hues, low-chroma) ───────────────────── */
10036
+ --tag-slate-bg: #ECEDEF;
10037
+ --tag-slate-fg: #3D4046;
10038
+ --tag-green-bg: #E2F5EC;
10039
+ --tag-green-fg: #1A6B43;
10040
+ --tag-blue-bg: #E6EEF9;
10041
+ --tag-blue-fg: #1F4FA8;
10042
+ --tag-purple-bg: #EFE9FC;
10043
+ --tag-purple-fg: #5535B8;
10044
+ --tag-amber-bg: #FEF1DD;
10045
+ --tag-amber-fg: #8A540B;
10046
+ --tag-rose-bg: #FCE5E8;
10047
+ --tag-rose-fg: #A8232A;
10048
+ --tag-teal-bg: #DDF3F1;
10049
+ --tag-teal-fg: #156B66;
10050
+ --tag-pink-bg: #FBE4F1;
10051
+ --tag-pink-fg: #9D2B6F;
10052
+
10053
+ /* ── Typography ─────────────────────────────────────────── */
10054
+ --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
10055
+ --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
10056
+
10057
+ /* compact scale — Attio-tight
10058
+ Half-step tokens (3xs, 2_5xs) added during audit to absorb stray sizes
10059
+ (9.5px, 10.5px, 11.5px) that were hardcoded across components. */
10060
+ --text-3xs: 9px;
10061
+ /* @restricted — numeric count-chips ONLY, never words (a11y 1.4); enforced by the font-size disallow-list in .stylelintrc.json. Legit count-chip uses opt in with a stylelint-disable-line comment. */
10062
+ --text-2_5xs: 10px;
10063
+ /* meta, kbd, eyebrows — section heads */
10064
+ --text-2xs: 10px;
10065
+ /* @deprecated — duplicate of --text-2_5xs; migrate to --text-2_5xs (1.2) */
10066
+ --text-xs: 11px;
10067
+ /* table meta, captions, footer text */
10068
+ --text-sm: 12px;
10069
+ /* default body in dense UI, buttons, chips, table cells */
10070
+ --text-md: 13px;
10071
+ /* preferred body, primary buttons */
10072
+ --text-base: 14px;
10073
+ /* page titles in narrow chrome */
10074
+ --text-lg: 15px;
10075
+ /* page title default */
10076
+ --text-xl: 18px;
10077
+ /* h2 */
10078
+ --text-2xl: 22px;
10079
+ /* h1 */
10080
+ --text-3xl: 26px;
10081
+ /* display */
10082
+ --text-4xl: 32px;
10083
+ /* hero */
10084
+ --text-5xl: 44px;
10085
+ /* hero page title */
10086
+
10087
+ --leading-1: 1;
10088
+ /* @kind font */
10089
+ /* single-line dense cells (added 2A) */
10090
+ --leading-tight-1: 1.15;
10091
+ /* @kind font */
10092
+ /* dense headings (added 2A) */
10093
+ --leading-tight: 1.25;
10094
+ /* @kind font */
10095
+ --leading-snug: 1.35;
10096
+ /* @kind font */
10097
+ --leading-normal: 1.5;
10098
+ /* @kind font */
10099
+
10100
+ /* Font weights — explicit tokens so HC theme can shift +100 (added 2A) */
10101
+ --fw-regular: 400;
10102
+ /* @kind font */
10103
+ --fw-medium: 500;
10104
+ /* @kind font */
10105
+ --fw-semibold: 600;
10106
+ /* @kind font */
10107
+ --fw-bold: 700;
10108
+ /* @kind font */
10109
+
10110
+ --tracking-tight: -0.018em;
10111
+ /* @kind font */
10112
+ /* display */
10113
+ --tracking-snug: -0.011em;
10114
+ /* @kind font */
10115
+ /* headings */
10116
+ --tracking-normal: -0.003em;
10117
+ /* @kind font */
10118
+ /* body — Attio is barely-tracked */
10119
+ --tracking-wide: 0.04em;
10120
+ /* @kind font */
10121
+ /* uppercase eyebrows */
10122
+
10123
+ /* ── Spacing — 4px grid ─────────────────────────────────── */
10124
+ --s-0: 0px;
10125
+ --s-1: 2px;
10126
+ --s-2: 4px;
10127
+ --s-3: 6px;
10128
+ --s-4: 8px;
10129
+ --s-5: 10px;
10130
+ --s-6: 12px;
10131
+ --s-7: 14px;
10132
+ /* added 2A — absorbs ~80 stray 14px values across composites */
10133
+ --s-8: 16px;
10134
+ --s-10: 20px;
10135
+ --s-12: 24px;
10136
+ --s-16: 32px;
10137
+ --s-20: 40px;
10138
+ --s-24: 48px;
10139
+ --s-32: 64px;
10140
+
10141
+ /* ── Radius ─────────────────────────────────────────────── */
10142
+ --r-xs: 3px;
10143
+ --r-sm: 4px;
10144
+ --r-md: 6px;
10145
+ /* default — buttons, inputs, chips */
10146
+ --r-lg: 8px;
10147
+ /* cards, popovers */
10148
+ --r-xl: 10px;
10149
+ /* sheets, modals */
10150
+ --r-2xl: 14px;
10151
+ --r-full: 9999px;
10152
+
10153
+ /* ── Shadows — ultra subtle ─────────────────────────────── */
10154
+ --shadow-xs: 0 1px 0 rgba(15, 17, 21, .04);
10155
+ --shadow-sm: 0 1px 2px rgba(15, 17, 21, .04),
10156
+ 0 0 0 1px rgba(15, 17, 21, .04);
10157
+ --shadow-md: 0 2px 4px rgba(15, 17, 21, .04),
10158
+ 0 1px 2px rgba(15, 17, 21, .04),
10159
+ 0 0 0 1px rgba(15, 17, 21, .05);
10160
+ --shadow-lg: 0 12px 32px -8px rgba(15, 17, 21, .14),
10161
+ 0 4px 8px -2px rgba(15, 17, 21, .06),
10162
+ 0 0 0 1px rgba(15, 17, 21, .04);
10163
+ --shadow-xl: 0 24px 48px -12px rgba(15, 17, 21, .22),
10164
+ 0 8px 16px -4px rgba(15, 17, 21, .08),
10165
+ 0 0 0 1px rgba(15, 17, 21, .04);
10166
+ --shadow-focus: 0 0 0 3px rgba(46, 178, 115, .18);
10167
+ --shadow-focus-ai: 0 0 0 3px rgba(109, 69, 217, .18);
10168
+ --shadow-focus-danger: 0 0 0 3px rgba(194, 54, 58, .18);
10169
+ /* added 2A */
10170
+ --shadow-inset-divider-b: inset 0 -1px 0 var(--border-subtle);
10171
+ /* added 2A */
10172
+ --shadow-inset-divider-t: inset 0 1px 0 var(--border-subtle);
10173
+ /* added 2A */
10174
+
10175
+ /* ── Motion ─────────────────────────────────────────────── */
10176
+ --ease-out: cubic-bezier(.16, 1, .3, 1);
10177
+ /* @kind other */
10178
+ --ease-in-out: cubic-bezier(.65, 0, .35, 1);
10179
+ /* @kind other */
10180
+ --ease-emphasized: cubic-bezier(.2, 0, 0, 1);
10181
+ /* @kind other */
10182
+ /* modal entry (added 2A) */
10183
+ --ease-decelerate: cubic-bezier(0, 0, .2, 1);
10184
+ /* @kind other */
10185
+ /* sheet entry (added 2A) */
10186
+ --dur-fast: 120ms;
10187
+ /* @kind other */
10188
+ --dur-base: 180ms;
10189
+ /* @kind other */
10190
+ --dur-slow: 260ms;
10191
+ /* @kind other */
10192
+
10193
+ /* ── Component heights — Attio-compact ──────────────────── */
10194
+ --h-xs: 20px;
10195
+ --h-sm: 24px;
10196
+ --h-md: 28px;
10197
+ /* default buttons, inputs */
10198
+ --h-lg: 32px;
10199
+ --row-h: 30px;
10200
+ /* table row */
10201
+ --row-h-c: 28px;
10202
+ /* table row, compact */
10203
+
10204
+ /* ── Layout ─────────────────────────────────────────────── */
10205
+ --sidebar-w: 220px;
10206
+ --sidebar-w-mini: 56px;
10207
+ --topbar-h: 44px;
10208
+ --subbar-h: 40px;
10209
+ --content-pad-x: 20px;
10210
+ --content-pad-y: 16px;
10211
+
10212
+ /* ── Responsive scale standards ─────────────────────────────
10213
+ Five breakpoints (added 2A). Tokens above are *desktop* values.
10214
+ Mobile/tablet overrides live in responsive.css. */
10215
+ --bp-sm: 480px;
10216
+ --bp-md: 768px;
10217
+ --bp-mobile: 640px;
10218
+ /* @deprecated alias — use --bp-md/--bp-sm (1.2) */
10219
+ --bp-tablet: 1024px;
10220
+ /* @deprecated alias — use --bp-lg (1.2) */
10221
+ --bp-lg: 1280px;
10222
+ --bp-xl: 1440px;
10223
+ --bp-2xl: 1920px;
10224
+
10225
+ /* Container-query breakpoints — for composites that need to
10226
+ respond to their container width, not the viewport (added 2A) */
10227
+ --cq-sm: 360px;
10228
+ --cq-md: 600px;
10229
+ --cq-lg: 900px;
10230
+
10231
+ /* Touch-target floor for mobile (WCAG 2.5.5 ≥ 44px) */
10232
+ --touch-min: 44px;
10233
+ /* @kind spacing */
10234
+
10235
+ /* Interactive hit-target floor — decoupled from painted size (T1).
10236
+ Fine pointer 32px; coarse (touch) bumped to --touch-min below. */
10237
+ --hit-min: 32px;
10238
+ /* @kind spacing */
10239
+
10240
+ /* ── Z-index scale (added 2A) — every overlay must use these.
10241
+ Raw values (49, 48, 30, 2, 1) flagged in audit are replaced. */
10242
+ --z-base: 1;
10243
+ /* @kind other */
10244
+ --z-sticky: 20;
10245
+ /* @kind other */
10246
+ --z-dropdown: 30;
10247
+ /* @kind other */
10248
+ --z-drawer: 35;
10249
+ /* @kind other */
10250
+ --z-popover: 40;
10251
+ /* @kind other */
10252
+ --z-tooltip: 45;
10253
+ /* @kind other */
10254
+ --z-modal-scrim: 48;
10255
+ /* @kind other */
10256
+ --z-modal: 50;
10257
+ /* @kind other */
10258
+ --z-toast: 60;
10259
+ /* @kind other */
10260
+ --z-debug: 99;
10261
+ /* @kind other */
10262
+
10263
+ /* Density mode — set by responsive.css per breakpoint.
10264
+ Components consume these instead of hardcoding heights. */
10265
+ --h-control: var(--h-md);
10266
+ /* default control height */
10267
+ --h-control-sm: var(--h-sm);
10268
+ --h-row: var(--row-h);
10269
+ --pad-x: var(--content-pad-x);
10270
+ --pad-y: var(--content-pad-y);
10271
+
10272
+ }
10273
+
10274
+ /* ═══════════════════════════════════════════════════════════════
10275
+ ERPForce PDF / Document Template Builder
10276
+ Builder chrome + the paginated A4 document (.pbd-*)
10277
+ Light theme · matches Reports app · uses v2 tokens
10278
+ ═══════════════════════════════════════════════════════════════ */
10279
+
10280
+ html,
10281
+ body {
10282
+ height: 100%;
10283
+ }
10284
+
10285
+ body {
10286
+ background: var(--surface-sunken);
10287
+ overflow: hidden;
10288
+ }
10289
+
10290
+ #root {
10291
+ height: 100%;
10292
+ }
10293
+
10294
+ .pb,
10295
+ .pb *,
10296
+ .pb *::before,
10297
+ .pb *::after {
10298
+ box-sizing: border-box;
10299
+ }
10300
+
10301
+ .pb {
10302
+ height: 100%;
10303
+ display: flex;
10304
+ flex-direction: column;
10305
+ color: var(--text-primary);
10306
+ font-family: var(--font-sans);
10307
+ font-size: var(--text-sm);
10308
+ line-height: 1.5;
10309
+ }
10310
+
10311
+ /* ── top bar ────────────────────────────────────────────────── */
10312
+ .pb-top {
10313
+ height: 48px;
10314
+ flex-shrink: 0;
10315
+ display: flex;
10316
+ align-items: center;
10317
+ gap: var(--s-5);
10318
+ padding: 0 var(--s-6);
10319
+ background: var(--surface-raised);
10320
+ border-bottom: 1px solid var(--border-default);
10321
+ z-index: var(--z-sticky);
10322
+ }
10323
+
10324
+ .pb-brand {
10325
+ display: flex;
10326
+ align-items: center;
10327
+ gap: var(--s-4);
10328
+ }
10329
+
10330
+ .pb-brand img {
10331
+ height: 18px;
10332
+ width: auto;
10333
+ display: block;
10334
+ }
10335
+
10336
+ .pb-brand-tag {
10337
+ font-size: var(--text-2_5xs);
10338
+ font-weight: 700;
10339
+ letter-spacing: var(--tracking-wide);
10340
+ text-transform: uppercase;
10341
+ color: var(--text-quaternary);
10342
+ padding: 3px 7px;
10343
+ border: 1px solid var(--border-default);
10344
+ border-radius: var(--r-sm);
10345
+ }
10346
+
10347
+ .pb-crumb {
10348
+ display: flex;
10349
+ align-items: center;
10350
+ gap: var(--s-3);
10351
+ font-size: var(--text-sm);
10352
+ color: var(--text-tertiary);
10353
+ }
10354
+
10355
+ .pb-crumb svg {
10356
+ width: 13px;
10357
+ height: 13px;
10358
+ }
10359
+
10360
+ .pb-crumb b {
10361
+ color: var(--text-primary);
10362
+ font-weight: 600;
10363
+ }
10364
+
10365
+ .pb-doc-input {
10366
+ font: inherit;
10367
+ font-size: var(--text-sm);
10368
+ font-weight: 600;
10369
+ color: var(--text-primary);
10370
+ border: 1px solid transparent;
10371
+ border-radius: var(--r-sm);
10372
+ padding: 3px 7px;
10373
+ max-width: 240px;
10374
+ background: transparent;
10375
+ }
10376
+
10377
+ .pb-doc-input:hover {
10378
+ border-color: var(--border-default);
10379
+ }
10380
+
10381
+ .pb-doc-input:focus {
10382
+ border-color: var(--border-focus);
10383
+ box-shadow: var(--shadow-focus);
10384
+ outline: none;
10385
+ background: var(--surface-raised);
10386
+ }
10387
+
10388
+ .pb-top-sp {
10389
+ flex: 1;
10390
+ }
10391
+
10392
+ /* generic buttons */
10393
+ .pbtn {
10394
+ display: inline-flex;
10395
+ align-items: center;
10396
+ gap: var(--s-3);
10397
+ height: 30px;
10398
+ padding: 0 var(--s-5);
10399
+ border-radius: var(--r-md);
10400
+ font-size: var(--text-sm);
10401
+ font-weight: 500;
10402
+ color: var(--text-secondary);
10403
+ border: 1px solid var(--border-default);
10404
+ background: var(--surface-raised);
10405
+ white-space: nowrap;
10406
+ transition: background var(--dur-fast), border-color var(--dur-fast);
10407
+ }
10408
+
10409
+ .pbtn svg {
10410
+ width: 14px;
10411
+ height: 14px;
10412
+ }
10413
+
10414
+ .pbtn:hover {
10415
+ background: var(--surface-hover);
10416
+ color: var(--text-primary);
10417
+ }
10418
+
10419
+ .pbtn--primary {
10420
+ background: var(--color-action);
10421
+ border-color: transparent;
10422
+ color: var(--color-on-action);
10423
+ box-shadow: var(--shadow-sm);
10424
+ }
10425
+
10426
+ .pbtn--primary:hover {
10427
+ background: var(--color-action-hover);
10428
+ color: var(--color-on-action);
10429
+ }
10430
+
10431
+ .pbtn--ai {
10432
+ background: var(--ai-fg-deep);
10433
+ border-color: transparent;
10434
+ color: #fff;
10435
+ }
10436
+
10437
+ .pbtn--ai:hover {
10438
+ background: var(--ai-fg);
10439
+ color: #fff;
10440
+ }
10441
+
10442
+ .pbtn--ghost {
10443
+ border-color: transparent;
10444
+ background: transparent;
10445
+ }
10446
+
10447
+ .pbtn--ghost:hover {
10448
+ background: var(--surface-hover);
10449
+ }
10450
+
10451
+ .pbtn--sm {
10452
+ height: 26px;
10453
+ padding: 0 var(--s-4);
10454
+ font-size: var(--text-xs);
10455
+ }
10456
+
10457
+ .pbtn--icon {
10458
+ width: 30px;
10459
+ padding: 0;
10460
+ justify-content: center;
10461
+ }
10462
+
10463
+ .pbtn.is-on {
10464
+ background: var(--green-50);
10465
+ border-color: var(--green-300);
10466
+ color: var(--text-brand-strong);
10467
+ }
10468
+
10469
+ .pbtn:disabled {
10470
+ opacity: .45;
10471
+ cursor: not-allowed;
10472
+ }
10473
+
10474
+ /* segmented */
10475
+ .pb-seg {
10476
+ display: inline-flex;
10477
+ background: var(--surface-muted);
10478
+ border-radius: var(--r-md);
10479
+ padding: 2px;
10480
+ gap: 2px;
10481
+ }
10482
+
10483
+ .pb-seg button {
10484
+ height: 24px;
10485
+ padding: 0 var(--s-4);
10486
+ border-radius: var(--r-sm);
10487
+ font-size: var(--text-xs);
10488
+ font-weight: 500;
10489
+ color: var(--text-tertiary);
10490
+ display: inline-flex;
10491
+ align-items: center;
10492
+ gap: var(--s-2);
10493
+ }
10494
+
10495
+ .pb-seg button svg {
10496
+ width: 12px;
10497
+ height: 12px;
10498
+ }
10499
+
10500
+ .pb-seg button.is-active {
10501
+ background: var(--surface-raised);
10502
+ color: var(--text-primary);
10503
+ box-shadow: var(--shadow-xs);
10504
+ font-weight: 600;
10505
+ }
10506
+
10507
+ .pb-seg button:not(.is-active):hover {
10508
+ color: var(--text-secondary);
10509
+ }
10510
+
10511
+ /* ── body 3-column workspace ────────────────────────────────── */
10512
+ .pb-body {
10513
+ flex: 1;
10514
+ display: flex;
10515
+ min-height: 0;
10516
+ }
10517
+
10518
+ /* left rail */
10519
+ .pb-rail {
10520
+ width: 248px;
10521
+ flex-shrink: 0;
10522
+ background: var(--surface-raised);
10523
+ border-right: 1px solid var(--border-default);
10524
+ display: flex;
10525
+ flex-direction: column;
10526
+ min-height: 0;
10527
+ }
10528
+
10529
+ .pb-rail--collapsed {
10530
+ width: 0;
10531
+ overflow: hidden;
10532
+ border: 0;
10533
+ }
10534
+
10535
+ .pb-rail-tabs {
10536
+ display: flex;
10537
+ padding: var(--s-4) var(--s-4) 0;
10538
+ gap: var(--s-2);
10539
+ }
10540
+
10541
+ .pb-rail-tab {
10542
+ flex: 1;
10543
+ height: 28px;
10544
+ border-radius: var(--r-md);
10545
+ font-size: var(--text-xs);
10546
+ font-weight: 600;
10547
+ color: var(--text-tertiary);
10548
+ display: inline-flex;
10549
+ align-items: center;
10550
+ justify-content: center;
10551
+ gap: var(--s-2);
10552
+ }
10553
+
10554
+ .pb-rail-tab svg {
10555
+ width: 13px;
10556
+ height: 13px;
10557
+ }
10558
+
10559
+ .pb-rail-tab.is-active {
10560
+ background: var(--surface-active);
10561
+ color: var(--text-primary);
10562
+ }
10563
+
10564
+ .pb-rail-body {
10565
+ flex: 1;
10566
+ overflow: auto;
10567
+ padding: var(--s-4);
10568
+ scrollbar-width: thin;
10569
+ }
10570
+
10571
+ /* field tree */
10572
+ .pb-fnote {
10573
+ font-size: var(--text-xs);
10574
+ color: var(--text-tertiary);
10575
+ line-height: 1.5;
10576
+ margin-bottom: var(--s-5);
10577
+ padding: var(--s-4) var(--s-5);
10578
+ background: var(--surface-muted);
10579
+ border-radius: var(--r-md);
10580
+ }
10581
+
10582
+ .pb-fnote code {
10583
+ font-family: var(--font-mono);
10584
+ font-size: 10.5px;
10585
+ color: var(--text-brand-strong);
10586
+ background: var(--green-50);
10587
+ padding: 1px 4px;
10588
+ border-radius: 3px;
10589
+ }
10590
+
10591
+ .pb-fgroup {
10592
+ margin-bottom: var(--s-2);
10593
+ }
10594
+
10595
+ .pb-fgroup-h {
10596
+ display: flex;
10597
+ align-items: center;
10598
+ gap: var(--s-3);
10599
+ width: 100%;
10600
+ height: 30px;
10601
+ padding: 0 var(--s-3);
10602
+ border-radius: var(--r-md);
10603
+ font-size: var(--text-sm);
10604
+ font-weight: 600;
10605
+ color: var(--text-secondary);
10606
+ }
10607
+
10608
+ .pb-fgroup-h:hover {
10609
+ background: var(--surface-hover);
10610
+ }
10611
+
10612
+ .pb-fgroup-h svg.pb-fchev {
10613
+ width: 13px;
10614
+ height: 13px;
10615
+ color: var(--text-quaternary);
10616
+ transition: transform var(--dur-fast);
10617
+ }
10618
+
10619
+ .pb-fgroup-h.is-open svg.pb-fchev {
10620
+ transform: rotate(90deg);
10621
+ }
10622
+
10623
+ .pb-fgroup-ic {
10624
+ width: 22px;
10625
+ height: 22px;
10626
+ border-radius: var(--r-sm);
10627
+ display: grid;
10628
+ place-items: center;
10629
+ background: var(--surface-muted);
10630
+ color: var(--text-tertiary);
10631
+ }
10632
+
10633
+ .pb-fgroup-ic svg {
10634
+ width: 13px;
10635
+ height: 13px;
10636
+ }
10637
+
10638
+ .pb-fgroup-c {
10639
+ font-size: var(--text-2xs);
10640
+ color: var(--text-quaternary);
10641
+ margin-left: auto;
10642
+ font-variant-numeric: tabular-nums;
10643
+ }
10644
+
10645
+ .pb-fields {
10646
+ display: flex;
10647
+ flex-direction: column;
10648
+ padding: var(--s-1) 0 var(--s-3) 30px;
10649
+ gap: 1px;
10650
+ }
10651
+
10652
+ .pb-field {
10653
+ display: flex;
10654
+ align-items: center;
10655
+ gap: var(--s-3);
10656
+ height: 28px;
10657
+ padding: 0 var(--s-3);
10658
+ border-radius: var(--r-sm);
10659
+ cursor: pointer;
10660
+ }
10661
+
10662
+ .pb-field:hover {
10663
+ background: var(--green-50);
10664
+ }
10665
+
10666
+ .pb-field-tag {
10667
+ font-family: var(--font-mono);
10668
+ font-size: 10.5px;
10669
+ color: var(--text-brand-strong);
10670
+ white-space: nowrap;
10671
+ }
10672
+
10673
+ .pb-field-lbl {
10674
+ font-size: var(--text-xs);
10675
+ color: var(--text-tertiary);
10676
+ margin-left: auto;
10677
+ white-space: nowrap;
10678
+ overflow: hidden;
10679
+ text-overflow: ellipsis;
10680
+ }
10681
+
10682
+ .pb-field-ins {
10683
+ width: 18px;
10684
+ height: 18px;
10685
+ border-radius: 4px;
10686
+ display: grid;
10687
+ place-items: center;
10688
+ color: var(--brand-green);
10689
+ opacity: 0;
10690
+ flex-shrink: 0;
10691
+ }
10692
+
10693
+ .pb-field:hover .pb-field-ins {
10694
+ opacity: 1;
10695
+ }
10696
+
10697
+ .pb-field-ins svg {
10698
+ width: 12px;
10699
+ height: 12px;
10700
+ }
10701
+
10702
+ .pb-field--loop .pb-field-tag {
10703
+ color: var(--ai-fg);
10704
+ }
10705
+
10706
+ /* template switcher list */
10707
+ .pb-tlist {
10708
+ display: flex;
10709
+ flex-direction: column;
10710
+ gap: var(--s-2);
10711
+ }
10712
+
10713
+ .pb-titem {
10714
+ display: flex;
10715
+ align-items: center;
10716
+ gap: var(--s-4);
10717
+ padding: var(--s-4);
10718
+ border-radius: var(--r-md);
10719
+ border: 1px solid var(--border-subtle);
10720
+ cursor: pointer;
10721
+ text-align: left;
10722
+ }
10723
+
10724
+ .pb-titem:hover {
10725
+ border-color: var(--border-strong);
10726
+ background: var(--surface-hover);
10727
+ }
10728
+
10729
+ .pb-titem.is-active {
10730
+ border-color: var(--green-400);
10731
+ background: var(--green-50);
10732
+ }
10733
+
10734
+ .pb-titem-ic {
10735
+ width: 30px;
10736
+ height: 30px;
10737
+ border-radius: var(--r-md);
10738
+ display: grid;
10739
+ place-items: center;
10740
+ flex-shrink: 0;
10741
+ }
10742
+
10743
+ .pb-titem-ic svg {
10744
+ width: 15px;
10745
+ height: 15px;
10746
+ }
10747
+
10748
+ .pb-titem-t {
10749
+ font-size: var(--text-sm);
10750
+ font-weight: 600;
10751
+ }
10752
+
10753
+ .pb-titem-s {
10754
+ font-size: var(--text-xs);
10755
+ color: var(--text-tertiary);
10756
+ margin-top: 1px;
10757
+ }
10758
+
10759
+ /* ── center: editor + preview ───────────────────────────────── */
10760
+ .pb-center {
10761
+ flex: 1;
10762
+ display: flex;
10763
+ min-width: 0;
10764
+ min-height: 0;
10765
+ }
10766
+
10767
+ /* code editor */
10768
+ .pb-editor {
10769
+ width: 44%;
10770
+ min-width: 360px;
10771
+ max-width: 620px;
10772
+ flex-shrink: 0;
10773
+ display: flex;
10774
+ flex-direction: column;
10775
+ background: #fbfbfc;
10776
+ border-right: 1px solid var(--border-default);
10777
+ min-height: 0;
10778
+ }
10779
+
10780
+ .pb-editor--hidden {
10781
+ display: none;
10782
+ }
10783
+
10784
+ .pb-editor-bar {
10785
+ height: 36px;
10786
+ flex-shrink: 0;
10787
+ display: flex;
10788
+ align-items: center;
10789
+ gap: var(--s-4);
10790
+ padding: 0 var(--s-5);
10791
+ border-bottom: 1px solid var(--border-subtle);
10792
+ background: var(--surface-raised);
10793
+ }
10794
+
10795
+ .pb-editor-bar-t {
10796
+ font-size: var(--text-xs);
10797
+ font-weight: 600;
10798
+ color: var(--text-secondary);
10799
+ display: flex;
10800
+ align-items: center;
10801
+ gap: var(--s-3);
10802
+ }
10803
+
10804
+ .pb-editor-bar-t svg {
10805
+ width: 13px;
10806
+ height: 13px;
10807
+ color: var(--text-tertiary);
10808
+ }
10809
+
10810
+ .pb-editor-dirty {
10811
+ width: 6px;
10812
+ height: 6px;
10813
+ border-radius: 50%;
10814
+ background: var(--warning);
10815
+ }
10816
+
10817
+ .pb-editor-wrap {
10818
+ flex: 1;
10819
+ position: relative;
10820
+ min-height: 0;
10821
+ overflow: hidden;
10822
+ display: flex;
10823
+ }
10824
+
10825
+ .pb-gutter {
10826
+ flex-shrink: 0;
10827
+ padding: 12px 0;
10828
+ text-align: right;
10829
+ background: #f4f5f7;
10830
+ color: var(--text-quaternary);
10831
+ font-family: var(--font-mono);
10832
+ font-size: 11px;
10833
+ line-height: 1.55;
10834
+ user-select: none;
10835
+ overflow: hidden;
10836
+ border-right: 1px solid var(--border-subtle);
10837
+ }
10838
+
10839
+ .pb-gutter-inner span {
10840
+ display: block;
10841
+ padding: 0 10px 0 12px;
10842
+ }
10843
+
10844
+ .pb-code-scroll {
10845
+ flex: 1;
10846
+ position: relative;
10847
+ overflow: hidden;
10848
+ min-width: 0;
10849
+ }
10850
+
10851
+ .pb-code-area,
10852
+ .pb-code-hl {
10853
+ margin: 0;
10854
+ padding: 12px 14px;
10855
+ font-family: var(--font-mono);
10856
+ font-size: 11px;
10857
+ line-height: 1.55;
10858
+ tab-size: 2;
10859
+ white-space: pre;
10860
+ word-wrap: normal;
10861
+ box-sizing: border-box;
10862
+ }
10863
+
10864
+ .pb-code-hl {
10865
+ position: absolute;
10866
+ top: 0;
10867
+ left: 0;
10868
+ right: 0;
10869
+ pointer-events: none;
10870
+ color: var(--n-800);
10871
+ overflow: visible;
10872
+ will-change: transform;
10873
+ }
10874
+
10875
+ .pb-code-area {
10876
+ position: absolute;
10877
+ inset: 0;
10878
+ overflow: auto;
10879
+ background: transparent;
10880
+ color: transparent;
10881
+ caret-color: var(--n-900);
10882
+ border: 0;
10883
+ outline: none;
10884
+ resize: none;
10885
+ -webkit-text-fill-color: transparent;
10886
+ scrollbar-width: thin;
10887
+ }
10888
+
10889
+ .pb-code-area::selection {
10890
+ background: rgba(46, 178, 115, .24);
10891
+ -webkit-text-fill-color: transparent;
10892
+ }
10893
+
10894
+ /* token colors */
10895
+ .tk-mus {
10896
+ color: var(--ai-fg);
10897
+ }
10898
+
10899
+ .tk-blk {
10900
+ color: #1f7a4d;
10901
+ font-weight: 600;
10902
+ }
10903
+
10904
+ .tk-tag {
10905
+ color: #2a6fdb;
10906
+ }
10907
+
10908
+ .tk-attr {
10909
+ color: #8a540b;
10910
+ }
10911
+
10912
+ .tk-str {
10913
+ color: #1a8a56;
10914
+ }
10915
+
10916
+ .tk-com {
10917
+ color: var(--text-quaternary);
10918
+ font-style: italic;
10919
+ }
10920
+
10921
+ /* preview surface */
10922
+ .pb-preview {
10923
+ flex: 1;
10924
+ min-width: 0;
10925
+ display: flex;
10926
+ flex-direction: column;
10927
+ background: #4b4f54;
10928
+ min-height: 0;
10929
+ }
10930
+
10931
+ .pb-preview-bar {
10932
+ height: 36px;
10933
+ flex-shrink: 0;
10934
+ display: flex;
10935
+ align-items: center;
10936
+ gap: var(--s-4);
10937
+ padding: 0 var(--s-5);
10938
+ background: var(--surface-raised);
10939
+ border-bottom: 1px solid var(--border-default);
10940
+ }
10941
+
10942
+ .pb-preview-bar-t {
10943
+ font-size: var(--text-xs);
10944
+ font-weight: 600;
10945
+ color: var(--text-secondary);
10946
+ }
10947
+
10948
+ .pb-preview-pages {
10949
+ font-size: var(--text-xs);
10950
+ color: var(--text-tertiary);
10951
+ font-variant-numeric: tabular-nums;
10952
+ }
10953
+
10954
+ .pb-zoom {
10955
+ display: inline-flex;
10956
+ align-items: center;
10957
+ gap: var(--s-2);
10958
+ }
10959
+
10960
+ .pb-zoom-val {
10961
+ font-size: var(--text-xs);
10962
+ color: var(--text-tertiary);
10963
+ min-width: 38px;
10964
+ text-align: center;
10965
+ font-variant-numeric: tabular-nums;
10966
+ }
10967
+
10968
+ .pb-zbtn {
10969
+ width: 24px;
10970
+ height: 24px;
10971
+ border-radius: var(--r-sm);
10972
+ display: grid;
10973
+ place-items: center;
10974
+ color: var(--text-tertiary);
10975
+ }
10976
+
10977
+ .pb-zbtn:hover {
10978
+ background: var(--surface-hover);
10979
+ color: var(--text-primary);
10980
+ }
10981
+
10982
+ .pb-preview-scroll {
10983
+ flex: 1;
10984
+ overflow: auto;
10985
+ padding: 28px;
10986
+ scrollbar-width: thin;
10987
+ }
10988
+
10989
+ .pb-pages {
10990
+ display: flex;
10991
+ flex-direction: column;
10992
+ align-items: center;
10993
+ gap: 22px;
10994
+ transform-origin: top center;
10995
+ }
10996
+
10997
+ /* selection halo on a doc block */
10998
+ .pb-sel-outline {
10999
+ outline: 2px solid var(--ai-fg);
11000
+ outline-offset: 2px;
11001
+ border-radius: 2px;
11002
+ }
11003
+
11004
+ .pbd [data-block] {
11005
+ cursor: default;
11006
+ }
11007
+
11008
+ .pb-pick .pbd [data-block] {
11009
+ cursor: pointer;
11010
+ }
11011
+
11012
+ .pb-pick .pbd [data-block]:hover {
11013
+ outline: 1.5px dashed var(--info);
11014
+ outline-offset: 2px;
11015
+ }
11016
+
11017
+ /* ── AI panel (right dock) ──────────────────────────────────── */
11018
+ .pb-ai {
11019
+ width: 340px;
11020
+ flex-shrink: 0;
11021
+ background: var(--surface-raised);
11022
+ border-left: 1px solid var(--border-default);
11023
+ display: flex;
11024
+ flex-direction: column;
11025
+ min-height: 0;
11026
+ }
11027
+
11028
+ .pb-ai--collapsed {
11029
+ width: 0;
11030
+ overflow: hidden;
11031
+ border: 0;
11032
+ }
11033
+
11034
+ .pb-ai-head {
11035
+ flex-shrink: 0;
11036
+ display: flex;
11037
+ align-items: center;
11038
+ gap: var(--s-4);
11039
+ padding: var(--s-5) var(--s-5) var(--s-4);
11040
+ border-bottom: 1px solid var(--border-subtle);
11041
+ }
11042
+
11043
+ .pb-ai-spark {
11044
+ width: 26px;
11045
+ height: 26px;
11046
+ border-radius: var(--r-md);
11047
+ background: var(--ai-fg);
11048
+ color: #fff;
11049
+ display: grid;
11050
+ place-items: center;
11051
+ box-shadow: 0 1px 2px rgba(85, 53, 184, .3);
11052
+ }
11053
+
11054
+ .pb-ai-spark svg {
11055
+ width: 15px;
11056
+ height: 15px;
11057
+ }
11058
+
11059
+ .pb-ai-head-t {
11060
+ font-size: var(--text-sm);
11061
+ font-weight: 600;
11062
+ }
11063
+
11064
+ .pb-ai-head-s {
11065
+ font-size: var(--text-xs);
11066
+ color: var(--text-tertiary);
11067
+ margin-top: 1px;
11068
+ }
11069
+
11070
+ .pb-ai-scroll {
11071
+ flex: 1;
11072
+ overflow: auto;
11073
+ padding: var(--s-5);
11074
+ display: flex;
11075
+ flex-direction: column;
11076
+ gap: var(--s-5);
11077
+ scrollbar-width: thin;
11078
+ }
11079
+
11080
+ .pb-msg {
11081
+ display: flex;
11082
+ gap: var(--s-4);
11083
+ font-size: var(--text-sm);
11084
+ line-height: 1.5;
11085
+ }
11086
+
11087
+ .pb-msg-av {
11088
+ width: 22px;
11089
+ height: 22px;
11090
+ border-radius: var(--r-sm);
11091
+ flex-shrink: 0;
11092
+ display: grid;
11093
+ place-items: center;
11094
+ }
11095
+
11096
+ .pb-msg-av svg {
11097
+ width: 13px;
11098
+ height: 13px;
11099
+ }
11100
+
11101
+ .pb-msg--ai .pb-msg-av {
11102
+ background: var(--ai-bg);
11103
+ color: var(--ai-fg);
11104
+ }
11105
+
11106
+ .pb-msg--user .pb-msg-av {
11107
+ background: var(--surface-active);
11108
+ color: var(--text-secondary);
11109
+ }
11110
+
11111
+ .pb-msg-body {
11112
+ flex: 1;
11113
+ min-width: 0;
11114
+ padding-top: 2px;
11115
+ color: var(--text-secondary);
11116
+ }
11117
+
11118
+ .pb-msg-body b {
11119
+ color: var(--text-primary);
11120
+ font-weight: 600;
11121
+ }
11122
+
11123
+ .pb-msg-body code {
11124
+ font-family: var(--font-mono);
11125
+ font-size: 10.5px;
11126
+ background: var(--surface-muted);
11127
+ padding: 1px 4px;
11128
+ border-radius: 3px;
11129
+ color: var(--text-brand-strong);
11130
+ }
11131
+
11132
+ .pb-msg--user .pb-msg-body {
11133
+ color: var(--text-primary);
11134
+ }
11135
+
11136
+ .pb-msg-tag {
11137
+ display: inline-flex;
11138
+ align-items: center;
11139
+ gap: 5px;
11140
+ margin-top: var(--s-3);
11141
+ font-size: var(--text-xs);
11142
+ font-weight: 600;
11143
+ color: var(--ai-fg);
11144
+ background: var(--ai-bg);
11145
+ border-radius: var(--r-sm);
11146
+ padding: 3px 7px;
11147
+ }
11148
+
11149
+ .pb-msg-tag svg {
11150
+ width: 11px;
11151
+ height: 11px;
11152
+ }
11153
+
11154
+ .pb-msg-undo {
11155
+ margin-top: var(--s-3);
11156
+ font-size: var(--text-xs);
11157
+ font-weight: 600;
11158
+ color: var(--text-tertiary);
11159
+ text-decoration: underline;
11160
+ text-underline-offset: 2px;
11161
+ }
11162
+
11163
+ .pb-msg-undo:hover {
11164
+ color: var(--text-primary);
11165
+ }
11166
+
11167
+ .pb-ai-typing {
11168
+ display: flex;
11169
+ gap: 4px;
11170
+ padding: 4px 0;
11171
+ }
11172
+
11173
+ .pb-ai-typing i {
11174
+ width: 6px;
11175
+ height: 6px;
11176
+ border-radius: 50%;
11177
+ background: var(--ai-fg);
11178
+ opacity: .4;
11179
+ animation: pb-blink 1.2s infinite;
11180
+ }
11181
+
11182
+ .pb-ai-typing i:nth-child(2) {
11183
+ animation-delay: .2s;
11184
+ }
11185
+
11186
+ .pb-ai-typing i:nth-child(3) {
11187
+ animation-delay: .4s;
11188
+ }
11189
+
11190
+ @keyframes pb-blink {
11191
+
11192
+ 0%,
11193
+ 60%,
11194
+ 100% {
11195
+ opacity: .25;
11196
+ }
11197
+
11198
+ 30% {
11199
+ opacity: 1;
11200
+ }
11201
+ }
11202
+
11203
+ .pb-ai-foot {
11204
+ flex-shrink: 0;
11205
+ border-top: 1px solid var(--border-subtle);
11206
+ padding: var(--s-4);
11207
+ }
11208
+
11209
+ /* AI scope selector — pick which part of the document to improve */
11210
+ .pb-scope {
11211
+ position: relative;
11212
+ display: flex;
11213
+ flex-wrap: wrap;
11214
+ align-items: center;
11215
+ gap: var(--s-3);
11216
+ margin-bottom: var(--s-4);
11217
+ }
11218
+
11219
+ .pb-scope-lbl {
11220
+ font-size: var(--text-xs);
11221
+ font-weight: 600;
11222
+ color: var(--text-tertiary);
11223
+ }
11224
+
11225
+ .pb-scope-btn {
11226
+ display: inline-flex;
11227
+ align-items: center;
11228
+ gap: var(--s-2);
11229
+ height: 28px;
11230
+ padding: 0 var(--s-3);
11231
+ border-radius: var(--r-md);
11232
+ font-size: var(--text-xs);
11233
+ font-weight: 600;
11234
+ color: var(--text-secondary);
11235
+ background: var(--surface-raised);
11236
+ border: 1px solid var(--border-default);
11237
+ }
11238
+
11239
+ .pb-scope-btn:hover {
11240
+ border-color: var(--ai-bg-strong);
11241
+ }
11242
+
11243
+ .pb-scope-btn>svg {
11244
+ width: 13px;
11245
+ height: 13px;
11246
+ color: var(--ai-fg);
11247
+ }
11248
+
11249
+ .pb-scope-btn>svg:last-child {
11250
+ width: 12px;
11251
+ height: 12px;
11252
+ color: var(--text-quaternary);
11253
+ margin-left: -1px;
11254
+ }
11255
+
11256
+ .pb-scope-btn.is-scoped {
11257
+ color: var(--ai-fg-deep);
11258
+ background: var(--ai-bg);
11259
+ border-color: var(--ai-bg-strong);
11260
+ }
11261
+
11262
+ .pb-scope-menu {
11263
+ position: absolute;
11264
+ bottom: calc(100% + 6px);
11265
+ left: 0;
11266
+ z-index: 40;
11267
+ width: 248px;
11268
+ max-height: 320px;
11269
+ overflow-y: auto;
11270
+ background: var(--surface-raised);
11271
+ border: 1px solid var(--border-default);
11272
+ border-radius: var(--r-lg);
11273
+ box-shadow: var(--shadow-xl);
11274
+ padding: var(--s-2);
11275
+ scrollbar-width: thin;
11276
+ }
11277
+
11278
+ .pb-scope-menu button {
11279
+ display: flex;
11280
+ align-items: center;
11281
+ gap: var(--s-3);
11282
+ width: 100%;
11283
+ padding: var(--s-3);
11284
+ border-radius: var(--r-sm);
11285
+ font-size: var(--text-sm);
11286
+ color: var(--text-secondary);
11287
+ text-align: left;
11288
+ }
11289
+
11290
+ .pb-scope-menu button:hover {
11291
+ background: var(--ai-bg);
11292
+ color: var(--ai-fg-deep);
11293
+ }
11294
+
11295
+ .pb-scope-menu button.is-current {
11296
+ color: var(--ai-fg-deep);
11297
+ font-weight: 600;
11298
+ }
11299
+
11300
+ .pb-scope-menu button svg {
11301
+ width: 14px;
11302
+ height: 14px;
11303
+ flex-shrink: 0;
11304
+ color: var(--ai-fg);
11305
+ }
11306
+
11307
+ .pb-scope-menu button span {
11308
+ flex: 1;
11309
+ }
11310
+
11311
+ .pb-scope-menu button .pb-scope-chk,
11312
+ .pb-scope-menu button svg:last-child:not(:first-child) {
11313
+ color: var(--brand-green);
11314
+ }
11315
+
11316
+ .pb-scope-sep {
11317
+ font-size: var(--text-2_5xs);
11318
+ font-weight: 700;
11319
+ letter-spacing: .04em;
11320
+ text-transform: uppercase;
11321
+ color: var(--text-quaternary);
11322
+ padding: var(--s-3) var(--s-3) var(--s-1);
11323
+ }
11324
+
11325
+ .pb-scope-hint {
11326
+ font-size: var(--text-2_5xs);
11327
+ color: var(--ai-fg);
11328
+ background: var(--ai-bg);
11329
+ border-radius: var(--r-full);
11330
+ padding: 3px 9px;
11331
+ }
11332
+
11333
+ .pb-msg-scope {
11334
+ display: inline-flex;
11335
+ align-items: center;
11336
+ gap: 4px;
11337
+ font-size: var(--text-2_5xs);
11338
+ font-weight: 700;
11339
+ color: var(--ai-fg-deep);
11340
+ background: var(--ai-bg);
11341
+ border-radius: var(--r-sm);
11342
+ padding: 2px 6px;
11343
+ margin-bottom: 4px;
11344
+ vertical-align: middle;
11345
+ }
11346
+
11347
+ .pb-msg-scope svg {
11348
+ color: var(--ai-fg);
11349
+ }
11350
+
11351
+ .pb-chips {
11352
+ display: flex;
11353
+ flex-wrap: wrap;
11354
+ gap: var(--s-2);
11355
+ margin-bottom: var(--s-4);
11356
+ }
11357
+
11358
+ .pb-chip {
11359
+ display: inline-flex;
11360
+ align-items: center;
11361
+ gap: 5px;
11362
+ height: 26px;
11363
+ padding: 0 var(--s-4);
11364
+ border-radius: var(--r-full);
11365
+ font-size: var(--text-xs);
11366
+ font-weight: 500;
11367
+ color: var(--text-secondary);
11368
+ border: 1px solid var(--border-default);
11369
+ background: var(--surface-raised);
11370
+ }
11371
+
11372
+ .pb-chip svg {
11373
+ width: 12px;
11374
+ height: 12px;
11375
+ color: var(--ai-fg);
11376
+ }
11377
+
11378
+ .pb-chip:hover {
11379
+ background: var(--ai-bg);
11380
+ border-color: var(--ai-bg-strong);
11381
+ color: var(--ai-fg-deep);
11382
+ }
11383
+
11384
+ .pb-ai-input {
11385
+ display: flex;
11386
+ align-items: flex-end;
11387
+ gap: var(--s-3);
11388
+ border: 1px solid var(--border-default);
11389
+ border-radius: var(--r-lg);
11390
+ padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5);
11391
+ background: var(--surface-raised);
11392
+ }
11393
+
11394
+ .pb-ai-input:focus-within {
11395
+ border-color: var(--border-focus-ai);
11396
+ box-shadow: var(--shadow-focus-ai);
11397
+ }
11398
+
11399
+ .pb-ai-input textarea {
11400
+ flex: 1;
11401
+ border: 0;
11402
+ outline: none;
11403
+ resize: none;
11404
+ font-size: var(--text-sm);
11405
+ line-height: 1.45;
11406
+ max-height: 96px;
11407
+ background: transparent;
11408
+ }
11409
+
11410
+ .pb-ai-send {
11411
+ width: 28px;
11412
+ height: 28px;
11413
+ border-radius: var(--r-md);
11414
+ background: var(--ai-fg-deep);
11415
+ color: #fff;
11416
+ display: grid;
11417
+ place-items: center;
11418
+ flex-shrink: 0;
11419
+ }
11420
+
11421
+ .pb-ai-send svg {
11422
+ width: 14px;
11423
+ height: 14px;
11424
+ }
11425
+
11426
+ .pb-ai-send:disabled {
11427
+ background: var(--surface-active);
11428
+ color: var(--text-quaternary);
11429
+ }
11430
+
11431
+ /* inline suggestion card (selected element) */
11432
+ .pb-inline {
11433
+ border: 1px solid var(--ai-bg-strong);
11434
+ border-radius: var(--r-md);
11435
+ background: color-mix(in oklch, var(--ai-bg) 45%, var(--surface-raised));
11436
+ padding: var(--s-4);
11437
+ }
11438
+
11439
+ .pb-inline-h {
11440
+ display: flex;
11441
+ align-items: center;
11442
+ gap: var(--s-3);
11443
+ font-size: var(--text-xs);
11444
+ font-weight: 600;
11445
+ color: var(--ai-fg-deep);
11446
+ margin-bottom: var(--s-3);
11447
+ }
11448
+
11449
+ .pb-inline-h svg {
11450
+ width: 13px;
11451
+ height: 13px;
11452
+ }
11453
+
11454
+ .pb-inline-acts {
11455
+ display: flex;
11456
+ flex-direction: column;
11457
+ gap: var(--s-2);
11458
+ }
11459
+
11460
+ .pb-inline-act {
11461
+ display: flex;
11462
+ align-items: center;
11463
+ gap: var(--s-3);
11464
+ height: 28px;
11465
+ padding: 0 var(--s-4);
11466
+ border-radius: var(--r-sm);
11467
+ font-size: var(--text-sm);
11468
+ color: var(--text-secondary);
11469
+ background: var(--surface-raised);
11470
+ border: 1px solid var(--border-subtle);
11471
+ text-align: left;
11472
+ }
11473
+
11474
+ .pb-inline-act svg {
11475
+ width: 13px;
11476
+ height: 13px;
11477
+ color: var(--ai-fg);
11478
+ }
11479
+
11480
+ .pb-inline-act:hover {
11481
+ border-color: var(--ai-bg-strong);
11482
+ color: var(--text-primary);
11483
+ }
11484
+
11485
+ /* toast */
11486
+ .pb-toast {
11487
+ position: fixed;
11488
+ bottom: 22px;
11489
+ left: 50%;
11490
+ transform: translateX(-50%);
11491
+ z-index: var(--z-toast);
11492
+ background: var(--surface-inverse);
11493
+ color: var(--text-on-inverse);
11494
+ font-size: var(--text-sm);
11495
+ font-weight: 500;
11496
+ padding: var(--s-4) var(--s-6);
11497
+ border-radius: var(--r-md);
11498
+ box-shadow: var(--shadow-lg);
11499
+ display: flex;
11500
+ align-items: center;
11501
+ gap: var(--s-3);
11502
+ animation: pb-toast-in var(--dur-base) var(--ease-out);
11503
+ }
11504
+
11505
+ .pb-toast svg {
11506
+ width: 14px;
11507
+ height: 14px;
11508
+ color: var(--green-400);
11509
+ }
11510
+
11511
+ @keyframes pb-toast-in {
11512
+ from {
11513
+ opacity: 0;
11514
+ transform: translate(-50%, 8px);
11515
+ }
11516
+ }
11517
+
11518
+ /* ═══════════════ GALLERY (landing) ═══════════════════════════ */
11519
+ .pb-gallery {
11520
+ flex: 1;
11521
+ overflow: auto;
11522
+ background: var(--surface-canvas);
11523
+ }
11524
+
11525
+ .pb-gal-inner {
11526
+ max-width: 1120px;
11527
+ margin: 0 auto;
11528
+ padding: 40px 32px 64px;
11529
+ }
11530
+
11531
+ .pb-gal-eye {
11532
+ font-size: var(--text-2_5xs);
11533
+ font-weight: 700;
11534
+ letter-spacing: var(--tracking-wide);
11535
+ text-transform: uppercase;
11536
+ color: var(--text-brand);
11537
+ }
11538
+
11539
+ .pb-gal-h {
11540
+ font-size: var(--text-3xl);
11541
+ font-weight: 700;
11542
+ letter-spacing: var(--tracking-tight);
11543
+ margin-top: var(--s-3);
11544
+ }
11545
+
11546
+ .pb-gal-sub {
11547
+ font-size: var(--text-base);
11548
+ color: var(--text-tertiary);
11549
+ margin-top: var(--s-3);
11550
+ max-width: 620px;
11551
+ line-height: 1.5;
11552
+ }
11553
+
11554
+ .pb-gal-ai {
11555
+ display: flex;
11556
+ align-items: center;
11557
+ gap: var(--s-6);
11558
+ margin-top: var(--s-12);
11559
+ padding: var(--s-8);
11560
+ border: 1px solid var(--ai-bg-strong);
11561
+ border-radius: var(--r-xl);
11562
+ background: linear-gradient(180deg, color-mix(in oklch, var(--ai-bg) 50%, var(--surface-raised)), var(--surface-raised) 80px);
11563
+ }
11564
+
11565
+ .pb-gal-ai-spark {
11566
+ width: 40px;
11567
+ height: 40px;
11568
+ border-radius: var(--r-lg);
11569
+ background: var(--ai-fg);
11570
+ color: #fff;
11571
+ display: grid;
11572
+ place-items: center;
11573
+ flex-shrink: 0;
11574
+ box-shadow: 0 2px 6px rgba(85, 53, 184, .3);
11575
+ }
11576
+
11577
+ .pb-gal-ai-spark svg {
11578
+ width: 22px;
11579
+ height: 22px;
11580
+ }
11581
+
11582
+ .pb-gal-ai-field {
11583
+ flex: 1;
11584
+ display: flex;
11585
+ align-items: center;
11586
+ gap: var(--s-4);
11587
+ background: var(--surface-raised);
11588
+ border: 1px solid var(--border-default);
11589
+ border-radius: var(--r-lg);
11590
+ padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5);
11591
+ }
11592
+
11593
+ .pb-gal-ai-field:focus-within {
11594
+ border-color: var(--border-focus-ai);
11595
+ box-shadow: var(--shadow-focus-ai);
11596
+ }
11597
+
11598
+ .pb-gal-ai-field input {
11599
+ flex: 1;
11600
+ border: 0;
11601
+ outline: none;
11602
+ font-size: var(--text-md);
11603
+ background: transparent;
11604
+ }
11605
+
11606
+ .pb-gal-sec {
11607
+ margin-top: var(--s-16);
11608
+ }
11609
+
11610
+ .pb-gal-sec-h {
11611
+ font-size: var(--text-sm);
11612
+ font-weight: 600;
11613
+ color: var(--text-secondary);
11614
+ margin-bottom: var(--s-6);
11615
+ display: flex;
11616
+ align-items: center;
11617
+ gap: var(--s-3);
11618
+ }
11619
+
11620
+ .pb-gal-sec-h .pb-fgroup-c {
11621
+ margin-left: 0;
11622
+ }
11623
+
11624
+ .pb-gal-grid {
11625
+ display: grid;
11626
+ grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
11627
+ gap: var(--s-6);
11628
+ }
11629
+
11630
+ .pb-card {
11631
+ border: 1px solid var(--border-default);
11632
+ border-radius: var(--r-lg);
11633
+ background: var(--surface-raised);
11634
+ overflow: hidden;
11635
+ position: relative;
11636
+ cursor: pointer;
11637
+ transition: box-shadow var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
11638
+ }
11639
+
11640
+ .pb-card-primary {
11641
+ position: absolute;
11642
+ top: 10px;
11643
+ right: 10px;
11644
+ z-index: 2;
11645
+ display: inline-flex;
11646
+ align-items: center;
11647
+ gap: 4px;
11648
+ font-size: var(--text-2_5xs);
11649
+ font-weight: 800;
11650
+ letter-spacing: .05em;
11651
+ text-transform: uppercase;
11652
+ color: var(--color-on-action);
11653
+ background: var(--color-action);
11654
+ border-radius: var(--r-full);
11655
+ padding: 3px 9px 3px 7px;
11656
+ box-shadow: var(--shadow-sm);
11657
+ }
11658
+
11659
+ .pb-card-primary svg {
11660
+ width: 11px;
11661
+ height: 11px;
11662
+ }
11663
+
11664
+ /* template-variant picker (toolbar) */
11665
+ .pb-varpick {
11666
+ position: relative;
11667
+ }
11668
+
11669
+ .pb-varpick .pb-stnpick-menu {
11670
+ right: auto;
11671
+ left: 0;
11672
+ width: 332px;
11673
+ }
11674
+
11675
+ .pb-varpick-dot {
11676
+ width: 11px;
11677
+ height: 11px;
11678
+ border-radius: var(--r-full);
11679
+ flex-shrink: 0;
11680
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
11681
+ }
11682
+
11683
+ .pb-varpick-star {
11684
+ display: inline-grid;
11685
+ place-items: center;
11686
+ width: 15px;
11687
+ height: 15px;
11688
+ border-radius: 50%;
11689
+ background: var(--color-action);
11690
+ color: var(--color-on-action);
11691
+ flex-shrink: 0;
11692
+ }
11693
+
11694
+ .pb-varpick-star svg {
11695
+ width: 10px;
11696
+ height: 10px;
11697
+ }
11698
+
11699
+ .pb-varpick-tag {
11700
+ margin-left: auto;
11701
+ font-size: var(--text-2_5xs);
11702
+ font-weight: 800;
11703
+ letter-spacing: .04em;
11704
+ text-transform: uppercase;
11705
+ color: var(--brand-green);
11706
+ background: var(--green-50, rgba(46, 178, 115, .1));
11707
+ border: 1px solid var(--green-100, rgba(46, 178, 115, .25));
11708
+ border-radius: var(--r-full);
11709
+ padding: 2px 7px;
11710
+ }
11711
+
11712
+ .pb-varpick-menu .pb-stnpick-foot button:disabled {
11713
+ opacity: .6;
11714
+ cursor: default;
11715
+ }
11716
+
11717
+ .pb-card:hover {
11718
+ border-color: var(--border-strong);
11719
+ box-shadow: var(--shadow-md);
11720
+ transform: translateY(-2px);
11721
+ }
11722
+
11723
+ .pb-card-thumb {
11724
+ height: 156px;
11725
+ background: var(--surface-sunken);
11726
+ border-bottom: 1px solid var(--border-subtle);
11727
+ position: relative;
11728
+ overflow: hidden;
11729
+ display: grid;
11730
+ place-items: center;
11731
+ }
11732
+
11733
+ .pb-card-mini {
11734
+ width: 116px;
11735
+ background: #fff;
11736
+ box-shadow: var(--shadow-md);
11737
+ transform: scale(1);
11738
+ border-radius: 2px;
11739
+ overflow: hidden;
11740
+ }
11741
+
11742
+ .pb-card-meta {
11743
+ padding: var(--s-5);
11744
+ display: flex;
11745
+ align-items: flex-start;
11746
+ gap: var(--s-4);
11747
+ }
11748
+
11749
+ .pb-card-ic {
11750
+ width: 30px;
11751
+ height: 30px;
11752
+ border-radius: var(--r-md);
11753
+ display: grid;
11754
+ place-items: center;
11755
+ flex-shrink: 0;
11756
+ }
11757
+
11758
+ .pb-card-ic svg {
11759
+ width: 15px;
11760
+ height: 15px;
11761
+ }
11762
+
11763
+ .pb-card-t {
11764
+ font-size: var(--text-sm);
11765
+ font-weight: 600;
11766
+ }
11767
+
11768
+ .pb-card-s {
11769
+ font-size: var(--text-xs);
11770
+ color: var(--text-tertiary);
11771
+ margin-top: 2px;
11772
+ line-height: 1.4;
11773
+ }
11774
+
11775
+ /* accent helpers */
11776
+ .acc-green {
11777
+ background: var(--green-100);
11778
+ color: var(--green-700);
11779
+ }
11780
+
11781
+ .acc-blue {
11782
+ background: var(--info-bg);
11783
+ color: var(--info);
11784
+ }
11785
+
11786
+ .acc-purple {
11787
+ background: var(--ai-bg);
11788
+ color: var(--ai-fg);
11789
+ }
11790
+
11791
+ .acc-amber {
11792
+ background: var(--warning-bg);
11793
+ color: var(--warning);
11794
+ }
11795
+
11796
+ .acc-teal {
11797
+ background: var(--tag-teal-bg);
11798
+ color: var(--tag-teal-fg);
11799
+ }
11800
+
11801
+ .acc-rose {
11802
+ background: var(--tag-rose-bg);
11803
+ color: var(--tag-rose-fg);
11804
+ }
11805
+
11806
+ .acc-slate {
11807
+ background: var(--tag-slate-bg);
11808
+ color: var(--tag-slate-fg);
11809
+ }
11810
+
11811
+ .acc-navy {
11812
+ background: #E3E8F7;
11813
+ color: var(--brand-navy);
11814
+ }
11815
+
11816
+ /* ═══════════════ PREVIEW-FIRST BUILDER ═══════════════════════ */
11817
+ /* slim option bar (à la print preview) */
11818
+ .pb-bar {
11819
+ height: 50px;
11820
+ flex-shrink: 0;
11821
+ display: flex;
11822
+ align-items: center;
11823
+ gap: var(--s-5);
11824
+ padding: 0 var(--s-6);
11825
+ background: var(--surface-raised);
11826
+ border-bottom: 1px solid var(--border-default);
11827
+ z-index: var(--z-sticky);
11828
+ }
11829
+
11830
+ .pb-bar-title {
11831
+ display: flex;
11832
+ align-items: center;
11833
+ gap: var(--s-4);
11834
+ min-width: 0;
11835
+ }
11836
+
11837
+ .pb-bar-back {
11838
+ display: inline-flex;
11839
+ align-items: center;
11840
+ gap: var(--s-3);
11841
+ height: 30px;
11842
+ padding: 0 var(--s-4) 0 var(--s-3);
11843
+ border-radius: var(--r-md);
11844
+ font-size: var(--text-sm);
11845
+ font-weight: 500;
11846
+ color: var(--text-secondary);
11847
+ }
11848
+
11849
+ .pb-bar-back:hover {
11850
+ background: var(--surface-hover);
11851
+ color: var(--text-primary);
11852
+ }
11853
+
11854
+ .pb-bar-back svg {
11855
+ width: 15px;
11856
+ height: 15px;
11857
+ }
11858
+
11859
+ .pb-bar-doc {
11860
+ display: flex;
11861
+ align-items: center;
11862
+ gap: var(--s-3);
11863
+ }
11864
+
11865
+ .pb-bar-doc-ic {
11866
+ width: 24px;
11867
+ height: 24px;
11868
+ border-radius: var(--r-sm);
11869
+ display: grid;
11870
+ place-items: center;
11871
+ flex-shrink: 0;
11872
+ }
11873
+
11874
+ .pb-bar-doc-ic svg {
11875
+ width: 14px;
11876
+ height: 14px;
11877
+ }
11878
+
11879
+ .pb-bar-name {
11880
+ font: inherit;
11881
+ font-size: var(--text-sm);
11882
+ font-weight: 600;
11883
+ color: var(--text-primary);
11884
+ border: 1px solid transparent;
11885
+ border-radius: var(--r-sm);
11886
+ padding: 3px 7px;
11887
+ max-width: 220px;
11888
+ background: transparent;
11889
+ }
11890
+
11891
+ .pb-bar-name:hover {
11892
+ border-color: var(--border-default);
11893
+ }
11894
+
11895
+ .pb-bar-name:focus {
11896
+ border-color: var(--border-focus);
11897
+ box-shadow: var(--shadow-focus);
11898
+ outline: none;
11899
+ }
11900
+
11901
+ .pb-bar-sp {
11902
+ flex: 1;
11903
+ }
11904
+
11905
+ .pb-bar-grp {
11906
+ display: flex;
11907
+ align-items: center;
11908
+ gap: var(--s-3);
11909
+ }
11910
+
11911
+ .pb-bar-grp+.pb-bar-grp {
11912
+ padding-inline-start: var(--s-5);
11913
+ border-inline-start: 1px solid var(--border-subtle);
11914
+ }
11915
+
11916
+ .pb-bar-lbl {
11917
+ font-size: var(--text-2_5xs);
11918
+ font-weight: 700;
11919
+ letter-spacing: var(--tracking-wide);
11920
+ text-transform: uppercase;
11921
+ color: var(--text-quaternary);
11922
+ }
11923
+
11924
+ .pb-toggle {
11925
+ display: inline-flex;
11926
+ align-items: center;
11927
+ gap: var(--s-3);
11928
+ font-size: var(--text-sm);
11929
+ color: var(--text-secondary);
11930
+ cursor: pointer;
11931
+ white-space: nowrap;
11932
+ }
11933
+
11934
+ .pb-toggle input {
11935
+ accent-color: var(--brand-green);
11936
+ width: 14px;
11937
+ height: 14px;
11938
+ }
11939
+
11940
+ /* dark stage + preview */
11941
+ .pb-stage {
11942
+ flex: 1;
11943
+ position: relative;
11944
+ min-height: 0;
11945
+ display: flex;
11946
+ background: #4b4f54;
11947
+ overflow: hidden;
11948
+ }
11949
+
11950
+ .pb-stage-scroll {
11951
+ flex: 1;
11952
+ overflow: auto;
11953
+ padding: 30px 24px 80px;
11954
+ scrollbar-width: thin;
11955
+ }
11956
+
11957
+ .pb-stage .pb-pages {
11958
+ display: flex;
11959
+ flex-direction: column;
11960
+ align-items: center;
11961
+ gap: 22px;
11962
+ transform-origin: top center;
11963
+ }
11964
+
11965
+ /* floating zoom pill */
11966
+ .pb-zoomfloat {
11967
+ position: absolute;
11968
+ bottom: 18px;
11969
+ left: 50%;
11970
+ transform: translateX(-50%);
11971
+ z-index: var(--z-popover);
11972
+ display: inline-flex;
11973
+ align-items: center;
11974
+ gap: var(--s-2);
11975
+ background: rgba(20, 23, 27, .82);
11976
+ backdrop-filter: blur(6px);
11977
+ border-radius: var(--r-full);
11978
+ padding: 5px 8px;
11979
+ box-shadow: var(--shadow-lg);
11980
+ }
11981
+
11982
+ .pb-zoomfloat button {
11983
+ width: 26px;
11984
+ height: 26px;
11985
+ border-radius: var(--r-full);
11986
+ display: grid;
11987
+ place-items: center;
11988
+ color: #d4d6d9;
11989
+ }
11990
+
11991
+ .pb-zoomfloat button.pb-zf-text-btn {
11992
+ width: auto;
11993
+ padding: 0 10px;
11994
+ gap: 4px;
11995
+ display: flex;
11996
+ font-size: var(--text-xs);
11997
+ font-weight: 500;
11998
+ }
11999
+
12000
+ .pb-zoomfloat button:hover {
12001
+ background: rgba(255, 255, 255, .12);
12002
+ color: #fff;
12003
+ }
12004
+
12005
+ .pb-zoomfloat .pb-zoom-val {
12006
+ color: #fff;
12007
+ font-size: var(--text-xs);
12008
+ min-width: 40px;
12009
+ text-align: center;
12010
+ font-variant-numeric: tabular-nums;
12011
+ }
12012
+
12013
+ .pb-zoomfloat .pb-zoom-pages {
12014
+ color: #9da1a6;
12015
+ font-size: var(--text-xs);
12016
+ padding-left: var(--s-3);
12017
+ margin-left: var(--s-2);
12018
+ border-left: 1px solid rgba(255, 255, 255, .16);
12019
+ }
12020
+
12021
+ /* slide-in customize drawer */
12022
+ .pb-drawer {
12023
+ position: absolute;
12024
+ top: 0;
12025
+ right: 0;
12026
+ bottom: 0;
12027
+ width: 408px;
12028
+ background: var(--surface-raised);
12029
+ border-left: 1px solid var(--border-default);
12030
+ box-shadow: -12px 0 32px -16px rgba(0, 0, 0, .4);
12031
+ display: flex;
12032
+ flex-direction: column;
12033
+ transform: translateX(0);
12034
+ transition: transform var(--dur-slow) var(--ease-out), width var(--dur-base);
12035
+ z-index: var(--z-drawer);
12036
+ min-height: 0;
12037
+ }
12038
+
12039
+ .pb-drawer--wide {
12040
+ width: 660px;
12041
+ }
12042
+
12043
+ .pb-drawer--closed {
12044
+ transform: translateX(101%);
12045
+ box-shadow: none;
12046
+ }
12047
+
12048
+ .pb-drawer-tabs {
12049
+ flex-shrink: 0;
12050
+ display: flex;
12051
+ align-items: center;
12052
+ gap: var(--s-2);
12053
+ padding: var(--s-4) var(--s-4) 0;
12054
+ border-bottom: 1px solid var(--border-subtle);
12055
+ }
12056
+
12057
+ .pb-dtab {
12058
+ height: 32px;
12059
+ padding: 0 var(--s-5);
12060
+ border-radius: var(--r-md) var(--r-md) 0 0;
12061
+ font-size: var(--text-sm);
12062
+ font-weight: 500;
12063
+ color: var(--text-tertiary);
12064
+ display: inline-flex;
12065
+ align-items: center;
12066
+ gap: var(--s-3);
12067
+ border-bottom: 2px solid transparent;
12068
+ margin-bottom: -1px;
12069
+ }
12070
+
12071
+ .pb-dtab svg {
12072
+ width: 14px;
12073
+ height: 14px;
12074
+ }
12075
+
12076
+ .pb-dtab.is-active {
12077
+ color: var(--text-primary);
12078
+ font-weight: 600;
12079
+ border-bottom-color: var(--brand-green);
12080
+ }
12081
+
12082
+ .pb-dtab:not(.is-active):hover {
12083
+ color: var(--text-secondary);
12084
+ }
12085
+
12086
+ .pb-drawer-close {
12087
+ margin-left: auto;
12088
+ width: 30px;
12089
+ height: 30px;
12090
+ border-radius: var(--r-md);
12091
+ display: grid;
12092
+ place-items: center;
12093
+ color: var(--text-tertiary);
12094
+ margin-bottom: 2px;
12095
+ }
12096
+
12097
+ .pb-drawer-close:hover {
12098
+ background: var(--surface-hover);
12099
+ color: var(--text-primary);
12100
+ }
12101
+
12102
+ .pb-drawer-close svg {
12103
+ width: 15px;
12104
+ height: 15px;
12105
+ }
12106
+
12107
+ .pb-drawer-body {
12108
+ flex: 1;
12109
+ min-height: 0;
12110
+ display: flex;
12111
+ }
12112
+
12113
+ /* brand / header-footer form */
12114
+ .pb-form {
12115
+ flex: 1;
12116
+ overflow: auto;
12117
+ padding: var(--s-6);
12118
+ scrollbar-width: thin;
12119
+ }
12120
+
12121
+ .pb-form-note {
12122
+ font-size: var(--text-xs);
12123
+ color: var(--text-tertiary);
12124
+ line-height: 1.5;
12125
+ margin-bottom: var(--s-6);
12126
+ padding: var(--s-4) var(--s-5);
12127
+ background: var(--ai-bg);
12128
+ border-radius: var(--r-md);
12129
+ color: var(--ai-fg-deep);
12130
+ display: flex;
12131
+ gap: var(--s-3);
12132
+ }
12133
+
12134
+ .pb-form-note svg {
12135
+ width: 14px;
12136
+ height: 14px;
12137
+ flex-shrink: 0;
12138
+ margin-top: 1px;
12139
+ }
12140
+
12141
+ .pb-form-sec {
12142
+ font-size: var(--text-2_5xs);
12143
+ font-weight: 700;
12144
+ letter-spacing: var(--tracking-wide);
12145
+ text-transform: uppercase;
12146
+ color: var(--text-quaternary);
12147
+ margin: var(--s-6) 0 var(--s-4);
12148
+ }
12149
+
12150
+ .pb-fld {
12151
+ display: flex;
12152
+ flex-direction: column;
12153
+ gap: var(--s-2);
12154
+ margin-bottom: var(--s-5);
12155
+ }
12156
+
12157
+ .pb-fld label {
12158
+ font-size: var(--text-xs);
12159
+ font-weight: 500;
12160
+ color: var(--text-secondary);
12161
+ }
12162
+
12163
+ .pb-fld input,
12164
+ .pb-fld textarea {
12165
+ height: 32px;
12166
+ border: 1px solid var(--border-default);
12167
+ border-radius: var(--r-md);
12168
+ padding: 0 var(--s-4);
12169
+ font-size: var(--text-sm);
12170
+ background: var(--surface-raised);
12171
+ color: var(--text-primary);
12172
+ }
12173
+
12174
+ .pb-fld textarea {
12175
+ height: auto;
12176
+ padding: var(--s-3) var(--s-4);
12177
+ resize: vertical;
12178
+ min-height: 52px;
12179
+ line-height: 1.45;
12180
+ }
12181
+
12182
+ .pb-fld input:focus,
12183
+ .pb-fld textarea:focus {
12184
+ border-color: var(--border-focus);
12185
+ box-shadow: var(--shadow-focus);
12186
+ outline: none;
12187
+ }
12188
+
12189
+ .pb-fld-row {
12190
+ display: grid;
12191
+ grid-template-columns: 1fr 1fr;
12192
+ gap: var(--s-4);
12193
+ }
12194
+
12195
+ .pb-fld-tag {
12196
+ font-family: var(--font-mono);
12197
+ font-size: 10px;
12198
+ color: var(--ai-fg-deep);
12199
+ }
12200
+
12201
+ /* swatches */
12202
+ .pb-swatches {
12203
+ display: flex;
12204
+ gap: var(--s-3);
12205
+ flex-wrap: wrap;
12206
+ }
12207
+
12208
+ .pb-swatch {
12209
+ width: 30px;
12210
+ height: 30px;
12211
+ border-radius: var(--r-md);
12212
+ border: 2px solid transparent;
12213
+ cursor: pointer;
12214
+ position: relative;
12215
+ }
12216
+
12217
+ .pb-swatch.is-sel {
12218
+ border-color: var(--text-primary);
12219
+ box-shadow: 0 0 0 2px var(--surface-raised) inset;
12220
+ }
12221
+
12222
+ /* HTML tab layout inside drawer */
12223
+ .pb-htmltab {
12224
+ flex: 1;
12225
+ display: flex;
12226
+ min-height: 0;
12227
+ min-width: 0;
12228
+ }
12229
+
12230
+ .pb-htmltab .pb-rail {
12231
+ width: 220px;
12232
+ }
12233
+
12234
+ .pb-htmltab .pb-editor {
12235
+ width: auto;
12236
+ flex: 1;
12237
+ min-width: 0;
12238
+ max-width: none;
12239
+ border-right: 0;
12240
+ }
12241
+
12242
+ .pb-ai-dock {
12243
+ flex: 1;
12244
+ min-height: 0;
12245
+ }
12246
+
12247
+ /* ═══════════════════════════════════════════════════════════════
12248
+ v3 — classic ERP designer shell (left rail · canvas · dock)
12249
+ ═══════════════════════════════════════════════════════════════ */
12250
+ .pb-bar-div {
12251
+ width: 1px;
12252
+ height: 20px;
12253
+ background: var(--border-default);
12254
+ }
12255
+
12256
+ .pb-bar-stat {
12257
+ display: inline-flex;
12258
+ align-items: center;
12259
+ gap: var(--s-2);
12260
+ font-size: var(--text-xs);
12261
+ font-weight: 600;
12262
+ padding: 3px 9px;
12263
+ border-radius: var(--r-full);
12264
+ margin-left: var(--s-2);
12265
+ white-space: nowrap;
12266
+ }
12267
+
12268
+ .pb-bar-stat svg {
12269
+ width: 12px;
12270
+ height: 12px;
12271
+ }
12272
+
12273
+ .pb-bar-stat.is-saved {
12274
+ color: var(--text-tertiary);
12275
+ }
12276
+
12277
+ .pb-bar-stat.is-dirty {
12278
+ color: var(--warning-fg-strong);
12279
+ background: var(--warning-bg);
12280
+ }
12281
+
12282
+ .pb-bar-dirty {
12283
+ color: var(--warning);
12284
+ display: grid;
12285
+ place-items: center;
12286
+ }
12287
+
12288
+ .pb-bar-dirty svg {
12289
+ width: 12px;
12290
+ height: 12px;
12291
+ }
12292
+
12293
+ .pb-srv {
12294
+ display: inline-flex;
12295
+ align-items: center;
12296
+ gap: var(--s-2);
12297
+ font-size: var(--text-xs);
12298
+ font-weight: 600;
12299
+ color: var(--text-brand-strong);
12300
+ background: var(--green-50);
12301
+ border: 1px solid var(--green-200);
12302
+ border-radius: var(--r-full);
12303
+ padding: 3px 9px;
12304
+ margin-right: var(--s-2);
12305
+ }
12306
+
12307
+ .pb-srv svg {
12308
+ width: 12px;
12309
+ height: 12px;
12310
+ }
12311
+
12312
+ .pb-work {
12313
+ flex: 1;
12314
+ display: flex;
12315
+ min-height: 0;
12316
+ }
12317
+
12318
+ /* left rail */
12319
+ .pb-side {
12320
+ width: 312px;
12321
+ flex-shrink: 0;
12322
+ background: var(--surface-raised);
12323
+ border-right: 1px solid var(--border-default);
12324
+ display: flex;
12325
+ flex-direction: column;
12326
+ min-height: 0;
12327
+ }
12328
+
12329
+ .pb-side-head {
12330
+ flex-shrink: 0;
12331
+ padding: var(--s-5) var(--s-6) var(--s-4);
12332
+ border-bottom: 1px solid var(--border-subtle);
12333
+ display: flex;
12334
+ align-items: baseline;
12335
+ gap: var(--s-3);
12336
+ }
12337
+
12338
+ .pb-side-h-t {
12339
+ font-size: var(--text-2_5xs);
12340
+ font-weight: 700;
12341
+ letter-spacing: var(--tracking-wide);
12342
+ text-transform: uppercase;
12343
+ color: var(--text-quaternary);
12344
+ }
12345
+
12346
+ .pb-side-h-s {
12347
+ font-size: var(--text-sm);
12348
+ font-weight: 600;
12349
+ color: var(--text-primary);
12350
+ margin-left: auto;
12351
+ }
12352
+
12353
+ .pb-side-collapse {
12354
+ width: 24px;
12355
+ height: 24px;
12356
+ border-radius: var(--r-sm);
12357
+ display: grid;
12358
+ place-items: center;
12359
+ color: var(--text-tertiary);
12360
+ margin-left: var(--s-3);
12361
+ flex-shrink: 0;
12362
+ }
12363
+
12364
+ .pb-side-collapse:hover {
12365
+ background: var(--surface-hover);
12366
+ color: var(--text-primary);
12367
+ }
12368
+
12369
+ .pb-side-collapse svg {
12370
+ width: 15px;
12371
+ height: 15px;
12372
+ }
12373
+
12374
+ .pb-side-scroll {
12375
+ flex: 1;
12376
+ overflow: auto;
12377
+ scrollbar-width: thin;
12378
+ }
12379
+
12380
+ /* control sections */
12381
+ .cx-sec {
12382
+ border-bottom: 1px solid var(--border-subtle);
12383
+ }
12384
+
12385
+ .cx-sec-h {
12386
+ display: flex;
12387
+ align-items: center;
12388
+ gap: var(--s-4);
12389
+ width: 100%;
12390
+ height: 42px;
12391
+ padding: 0 var(--s-6);
12392
+ text-align: left;
12393
+ }
12394
+
12395
+ .cx-sec-h:hover {
12396
+ background: var(--surface-hover);
12397
+ }
12398
+
12399
+ .cx-sec-ic {
12400
+ width: 24px;
12401
+ height: 24px;
12402
+ border-radius: var(--r-sm);
12403
+ display: grid;
12404
+ place-items: center;
12405
+ background: var(--surface-muted);
12406
+ color: var(--text-tertiary);
12407
+ flex-shrink: 0;
12408
+ }
12409
+
12410
+ .cx-sec-ic svg {
12411
+ width: 14px;
12412
+ height: 14px;
12413
+ }
12414
+
12415
+ .cx-sec-t {
12416
+ font-size: var(--text-md);
12417
+ font-weight: 600;
12418
+ color: var(--text-primary);
12419
+ flex: 1;
12420
+ }
12421
+
12422
+ .cx-sec-chev {
12423
+ width: 15px;
12424
+ height: 15px;
12425
+ color: var(--text-quaternary);
12426
+ transition: transform var(--dur-fast);
12427
+ }
12428
+
12429
+ .cx-sec.is-open .cx-sec-chev {
12430
+ transform: rotate(180deg);
12431
+ }
12432
+
12433
+ .cx-sec-body {
12434
+ padding: var(--s-3) var(--s-6) var(--s-6);
12435
+ }
12436
+
12437
+ .cx-hint {
12438
+ font-size: var(--text-xs);
12439
+ color: var(--text-tertiary);
12440
+ line-height: 1.5;
12441
+ margin-bottom: var(--s-4);
12442
+ padding: var(--s-3) var(--s-4);
12443
+ background: var(--surface-muted);
12444
+ border-radius: var(--r-sm);
12445
+ }
12446
+
12447
+ .cx-divline {
12448
+ height: 1px;
12449
+ background: var(--border-subtle);
12450
+ margin: var(--s-5) 0;
12451
+ }
12452
+
12453
+ .cx-row {
12454
+ display: flex;
12455
+ align-items: center;
12456
+ gap: var(--s-4);
12457
+ min-height: 34px;
12458
+ padding: var(--s-2) 0;
12459
+ }
12460
+
12461
+ .cx-row-l {
12462
+ display: flex;
12463
+ flex-direction: column;
12464
+ gap: 1px;
12465
+ flex-shrink: 0;
12466
+ }
12467
+
12468
+ .cx-row-lbl {
12469
+ font-size: var(--text-sm);
12470
+ color: var(--text-secondary);
12471
+ }
12472
+
12473
+ .cx-row-sub {
12474
+ font-size: var(--text-2_5xs);
12475
+ color: var(--text-quaternary);
12476
+ }
12477
+
12478
+ .cx-row-c {
12479
+ margin-left: auto;
12480
+ display: flex;
12481
+ justify-content: flex-end;
12482
+ min-width: 0;
12483
+ }
12484
+
12485
+ .cx-row:has(.cx-seg.is-full),
12486
+ .cx-row:has(.cx-area),
12487
+ .cx-row:has(.cx-range) {
12488
+ align-items: flex-start;
12489
+ flex-direction: column;
12490
+ gap: var(--s-3);
12491
+ }
12492
+
12493
+ .cx-row:has(.cx-seg.is-full) .cx-row-c,
12494
+ .cx-row:has(.cx-area) .cx-row-c,
12495
+ .cx-row:has(.cx-range) .cx-row-c {
12496
+ margin-left: 0;
12497
+ width: 100%;
12498
+ justify-content: stretch;
12499
+ }
12500
+
12501
+ /* toggle switch */
12502
+ .cx-switch {
12503
+ width: 34px;
12504
+ height: 20px;
12505
+ border-radius: var(--r-full);
12506
+ background: var(--n-200);
12507
+ position: relative;
12508
+ transition: background var(--dur-base);
12509
+ flex-shrink: 0;
12510
+ }
12511
+
12512
+ .cx-switch.is-on {
12513
+ background: var(--brand-green);
12514
+ }
12515
+
12516
+ .cx-switch-dot {
12517
+ position: absolute;
12518
+ top: 2px;
12519
+ left: 2px;
12520
+ width: 16px;
12521
+ height: 16px;
12522
+ border-radius: 50%;
12523
+ background: #fff;
12524
+ box-shadow: var(--shadow-sm);
12525
+ transition: transform var(--dur-base) var(--ease-out);
12526
+ }
12527
+
12528
+ .cx-switch.is-on .cx-switch-dot {
12529
+ transform: translateX(14px);
12530
+ }
12531
+
12532
+ /* segmented */
12533
+ .cx-seg {
12534
+ display: inline-flex;
12535
+ background: var(--surface-muted);
12536
+ border-radius: var(--r-md);
12537
+ padding: 2px;
12538
+ gap: 2px;
12539
+ }
12540
+
12541
+ .cx-seg.is-full {
12542
+ display: flex;
12543
+ width: 100%;
12544
+ }
12545
+
12546
+ .cx-seg button {
12547
+ height: 26px;
12548
+ padding: 0 var(--s-4);
12549
+ border-radius: var(--r-sm);
12550
+ font-size: var(--text-xs);
12551
+ font-weight: 500;
12552
+ color: var(--text-tertiary);
12553
+ white-space: nowrap;
12554
+ display: inline-flex;
12555
+ align-items: center;
12556
+ justify-content: center;
12557
+ gap: var(--s-2);
12558
+ }
12559
+
12560
+ .cx-seg.is-full button {
12561
+ flex: 1;
12562
+ }
12563
+
12564
+ .cx-seg button svg {
12565
+ width: 13px;
12566
+ height: 13px;
12567
+ }
12568
+
12569
+ .cx-seg button.is-active {
12570
+ background: var(--surface-raised);
12571
+ color: var(--text-primary);
12572
+ box-shadow: var(--shadow-xs);
12573
+ font-weight: 600;
12574
+ }
12575
+
12576
+ .cx-seg button:not(.is-active):hover {
12577
+ color: var(--text-secondary);
12578
+ }
12579
+
12580
+ /* select */
12581
+ .cx-select {
12582
+ height: 30px;
12583
+ border: 1px solid var(--border-default);
12584
+ border-radius: var(--r-md);
12585
+ padding: 0 var(--s-4);
12586
+ font-size: var(--text-sm);
12587
+ background: var(--surface-raised);
12588
+ color: var(--text-primary);
12589
+ min-width: 150px;
12590
+ cursor: pointer;
12591
+ }
12592
+
12593
+ .cx-select:focus {
12594
+ border-color: var(--border-focus);
12595
+ box-shadow: var(--shadow-focus);
12596
+ outline: none;
12597
+ }
12598
+
12599
+ /* range */
12600
+ .cx-range {
12601
+ display: flex;
12602
+ align-items: center;
12603
+ gap: var(--s-4);
12604
+ width: 100%;
12605
+ }
12606
+
12607
+ .cx-range input[type=range] {
12608
+ flex: 1;
12609
+ accent-color: var(--brand-green);
12610
+ height: 4px;
12611
+ }
12612
+
12613
+ .cx-range-v {
12614
+ font-size: var(--text-xs);
12615
+ color: var(--text-secondary);
12616
+ font-variant-numeric: tabular-nums;
12617
+ min-width: 40px;
12618
+ text-align: right;
12619
+ }
12620
+
12621
+ /* text inputs */
12622
+ .cx-input {
12623
+ height: 30px;
12624
+ border: 1px solid var(--border-default);
12625
+ border-radius: var(--r-md);
12626
+ padding: 0 var(--s-4);
12627
+ font-size: var(--text-sm);
12628
+ background: var(--surface-raised);
12629
+ color: var(--text-primary);
12630
+ width: 100%;
12631
+ min-width: 0;
12632
+ }
12633
+
12634
+ .cx-input:focus {
12635
+ border-color: var(--border-focus);
12636
+ box-shadow: var(--shadow-focus);
12637
+ outline: none;
12638
+ }
12639
+
12640
+ .cx-area {
12641
+ height: auto;
12642
+ min-height: 54px;
12643
+ padding: var(--s-3) var(--s-4);
12644
+ resize: vertical;
12645
+ line-height: 1.45;
12646
+ }
12647
+
12648
+ /* swatches */
12649
+ .cx-swatches {
12650
+ display: flex;
12651
+ gap: var(--s-3);
12652
+ flex-wrap: wrap;
12653
+ justify-content: flex-end;
12654
+ }
12655
+
12656
+ .cx-swatch {
12657
+ width: 26px;
12658
+ height: 26px;
12659
+ border-radius: var(--r-md);
12660
+ border: 2px solid transparent;
12661
+ cursor: pointer;
12662
+ }
12663
+
12664
+ .cx-swatch.is-sel {
12665
+ border-color: var(--text-primary);
12666
+ box-shadow: 0 0 0 2px var(--surface-raised) inset;
12667
+ }
12668
+
12669
+ /* line-items editor */
12670
+ .cx-items {
12671
+ display: flex;
12672
+ flex-direction: column;
12673
+ gap: var(--s-4);
12674
+ }
12675
+
12676
+ .cx-item {
12677
+ border: 1px solid var(--border-default);
12678
+ border-radius: var(--r-md);
12679
+ padding: var(--s-4);
12680
+ background: var(--surface-canvas);
12681
+ }
12682
+
12683
+ .cx-item-top {
12684
+ display: flex;
12685
+ align-items: center;
12686
+ gap: var(--s-3);
12687
+ }
12688
+
12689
+ .cx-item-n {
12690
+ width: 18px;
12691
+ height: 18px;
12692
+ border-radius: var(--r-xs);
12693
+ background: var(--surface-active);
12694
+ color: var(--text-tertiary);
12695
+ font-size: var(--text-2xs);
12696
+ font-weight: 700;
12697
+ display: grid;
12698
+ place-items: center;
12699
+ flex-shrink: 0;
12700
+ }
12701
+
12702
+ .cx-item-name {
12703
+ flex: 1;
12704
+ }
12705
+
12706
+ .cx-item-move {
12707
+ display: flex;
12708
+ gap: 2px;
12709
+ flex-shrink: 0;
12710
+ }
12711
+
12712
+ .cx-item-move button {
12713
+ width: 24px;
12714
+ height: 24px;
12715
+ border-radius: var(--r-sm);
12716
+ display: grid;
12717
+ place-items: center;
12718
+ color: var(--text-tertiary);
12719
+ }
12720
+
12721
+ .cx-item-move button:hover {
12722
+ background: var(--surface-hover);
12723
+ color: var(--text-primary);
12724
+ }
12725
+
12726
+ .cx-item-move button:disabled {
12727
+ opacity: .3;
12728
+ cursor: not-allowed;
12729
+ }
12730
+
12731
+ .cx-item-move button svg {
12732
+ width: 13px;
12733
+ height: 13px;
12734
+ }
12735
+
12736
+ .cx-item-del:hover {
12737
+ background: var(--danger-bg) !important;
12738
+ color: var(--danger) !important;
12739
+ }
12740
+
12741
+ .cx-item-grid {
12742
+ display: grid;
12743
+ grid-template-columns: repeat(4, 1fr);
12744
+ gap: var(--s-3);
12745
+ margin-top: var(--s-3);
12746
+ }
12747
+
12748
+ .cx-item-grid--2 {
12749
+ grid-template-columns: 1fr 1fr;
12750
+ }
12751
+
12752
+ .cx-item-grid label {
12753
+ display: flex;
12754
+ flex-direction: column;
12755
+ gap: 2px;
12756
+ }
12757
+
12758
+ .cx-item-grid label span {
12759
+ font-size: var(--text-2_5xs);
12760
+ color: var(--text-quaternary);
12761
+ font-weight: 600;
12762
+ letter-spacing: .02em;
12763
+ }
12764
+
12765
+ .cx-item-grid .cx-input {
12766
+ height: 28px;
12767
+ padding: 0 var(--s-3);
12768
+ }
12769
+
12770
+ .cx-add {
12771
+ display: flex;
12772
+ align-items: center;
12773
+ justify-content: center;
12774
+ gap: var(--s-2);
12775
+ height: 32px;
12776
+ border: 1px dashed var(--border-strong);
12777
+ border-radius: var(--r-md);
12778
+ font-size: var(--text-sm);
12779
+ font-weight: 500;
12780
+ color: var(--text-secondary);
12781
+ }
12782
+
12783
+ .cx-add:hover {
12784
+ border-color: var(--brand-green);
12785
+ color: var(--text-brand-strong);
12786
+ background: var(--green-50);
12787
+ }
12788
+
12789
+ .cx-add svg {
12790
+ width: 14px;
12791
+ height: 14px;
12792
+ }
12793
+
12794
+ /* table-column / document-field editors */
12795
+ .cx-cols {
12796
+ display: flex;
12797
+ flex-direction: column;
12798
+ gap: var(--s-3);
12799
+ }
12800
+
12801
+ .cx-col {
12802
+ border: 1px solid var(--border-default);
12803
+ border-radius: var(--r-md);
12804
+ padding: var(--s-3) var(--s-4);
12805
+ background: var(--surface-canvas);
12806
+ }
12807
+
12808
+ .cx-col-top {
12809
+ display: flex;
12810
+ align-items: center;
12811
+ gap: var(--s-2);
12812
+ }
12813
+
12814
+ .cx-grip {
12815
+ color: var(--text-disabled);
12816
+ display: grid;
12817
+ place-items: center;
12818
+ flex-shrink: 0;
12819
+ cursor: grab;
12820
+ }
12821
+
12822
+ .cx-grip svg {
12823
+ width: 14px;
12824
+ height: 14px;
12825
+ }
12826
+
12827
+ .cx-col-lbl {
12828
+ flex: 1;
12829
+ height: 28px;
12830
+ }
12831
+
12832
+ .cx-col-bind {
12833
+ display: flex;
12834
+ align-items: center;
12835
+ gap: var(--s-3);
12836
+ margin-top: var(--s-3);
12837
+ }
12838
+
12839
+ .cx-col-bind .cx-select {
12840
+ flex: 1;
12841
+ min-width: 0;
12842
+ height: 28px;
12843
+ }
12844
+
12845
+ .cx-col-bind .cx-seg {
12846
+ flex-shrink: 0;
12847
+ }
12848
+
12849
+ .cx-col-bind .cx-seg button {
12850
+ width: 26px;
12851
+ padding: 0;
12852
+ }
12853
+
12854
+ .cx-ph-tag {
12855
+ font-family: var(--font-mono);
12856
+ font-size: 10px;
12857
+ color: var(--ai-fg-deep);
12858
+ background: var(--ai-bg);
12859
+ border-radius: var(--r-sm);
12860
+ padding: 3px 6px;
12861
+ white-space: nowrap;
12862
+ overflow: hidden;
12863
+ text-overflow: ellipsis;
12864
+ max-width: 130px;
12865
+ }
12866
+
12867
+ /* lens bar above the canvas */
12868
+ .pb-lensbar {
12869
+ position: absolute;
12870
+ top: 12px;
12871
+ left: 50%;
12872
+ transform: translateX(-50%);
12873
+ z-index: var(--z-popover);
12874
+ display: flex;
12875
+ flex-wrap: wrap;
12876
+ align-items: center;
12877
+ justify-content: center;
12878
+ gap: var(--s-3);
12879
+ width: max-content;
12880
+ max-width: min(calc(100% - 24px), 640px);
12881
+ }
12882
+
12883
+ .pb-lens {
12884
+ display: inline-flex;
12885
+ background: rgba(20, 23, 27, .82);
12886
+ backdrop-filter: blur(6px);
12887
+ border-radius: var(--r-full);
12888
+ padding: 3px;
12889
+ box-shadow: var(--shadow-lg);
12890
+ flex-shrink: 0;
12891
+ }
12892
+
12893
+ .pb-lens button {
12894
+ display: inline-flex;
12895
+ align-items: center;
12896
+ gap: var(--s-2);
12897
+ height: 28px;
12898
+ padding: 0 var(--s-5);
12899
+ border-radius: var(--r-full);
12900
+ font-size: var(--text-xs);
12901
+ font-weight: 600;
12902
+ color: #c4c7cb;
12903
+ white-space: nowrap;
12904
+ }
12905
+
12906
+ .pb-lens button svg {
12907
+ width: 13px;
12908
+ height: 13px;
12909
+ }
12910
+
12911
+ .pb-lens button.is-active {
12912
+ background: #fff;
12913
+ color: var(--n-900);
12914
+ }
12915
+
12916
+ .pb-edithint-inline {
12917
+ display: inline-flex;
12918
+ align-items: center;
12919
+ gap: var(--s-2);
12920
+ font-size: var(--text-xs);
12921
+ color: #d4d6d9;
12922
+ background: rgba(20, 23, 27, .7);
12923
+ backdrop-filter: blur(6px);
12924
+ padding: 5px 10px;
12925
+ border-radius: var(--r-full);
12926
+ max-width: 100%;
12927
+ min-width: 0;
12928
+ }
12929
+
12930
+ .pb-edithint-inline svg {
12931
+ width: 12px;
12932
+ height: 12px;
12933
+ color: var(--green-400);
12934
+ flex-shrink: 0;
12935
+ }
12936
+
12937
+ .pb-edithint-inline--ph svg {
12938
+ color: var(--ai-bg-strong);
12939
+ }
12940
+
12941
+ /* field picker dropdown (Edit lens) */
12942
+ .pb-fp {
12943
+ position: fixed;
12944
+ z-index: 9999;
12945
+ display: flex;
12946
+ flex-direction: column;
12947
+ overflow: hidden;
12948
+ background: var(--surface-raised);
12949
+ border: 1px solid var(--border-default);
12950
+ border-radius: var(--r-lg);
12951
+ box-shadow: var(--shadow-xl);
12952
+ }
12953
+
12954
+ .pb-fp-head {
12955
+ display: flex;
12956
+ align-items: center;
12957
+ gap: var(--s-3);
12958
+ padding: var(--s-3) var(--s-4);
12959
+ border-bottom: 1px solid var(--border-subtle);
12960
+ }
12961
+
12962
+ .pb-fp-head svg {
12963
+ width: 14px;
12964
+ height: 14px;
12965
+ color: var(--text-tertiary);
12966
+ flex-shrink: 0;
12967
+ }
12968
+
12969
+ .pb-fp-head input {
12970
+ flex: 1;
12971
+ min-width: 0;
12972
+ border: 0;
12973
+ outline: none;
12974
+ background: transparent;
12975
+ font: inherit;
12976
+ font-size: var(--text-sm);
12977
+ color: var(--text-primary);
12978
+ }
12979
+
12980
+ .pb-fp-list {
12981
+ overflow-y: auto;
12982
+ padding: var(--s-2);
12983
+ scrollbar-width: thin;
12984
+ }
12985
+
12986
+ .pb-fp-grp+.pb-fp-grp {
12987
+ margin-top: var(--s-2);
12988
+ }
12989
+
12990
+ .pb-fp-grp-h {
12991
+ font-size: var(--text-2_5xs);
12992
+ font-weight: 700;
12993
+ letter-spacing: .04em;
12994
+ text-transform: uppercase;
12995
+ color: var(--text-quaternary);
12996
+ padding: var(--s-2) var(--s-3) var(--s-1);
12997
+ }
12998
+
12999
+ .pb-fp-item {
13000
+ display: flex;
13001
+ align-items: center;
13002
+ gap: var(--s-3);
13003
+ width: 100%;
13004
+ padding: var(--s-3);
13005
+ border-radius: var(--r-sm);
13006
+ font-size: var(--text-sm);
13007
+ color: var(--text-secondary);
13008
+ text-align: left;
13009
+ }
13010
+
13011
+ .pb-fp-item:hover {
13012
+ background: var(--surface-hover);
13013
+ color: var(--text-primary);
13014
+ }
13015
+
13016
+ .pb-fp-item.is-current {
13017
+ color: var(--text-brand-strong);
13018
+ font-weight: 600;
13019
+ }
13020
+
13021
+ .pb-fp-item-l {
13022
+ flex: 1;
13023
+ }
13024
+
13025
+ .pb-fp-item svg {
13026
+ width: 14px;
13027
+ height: 14px;
13028
+ color: var(--brand-green);
13029
+ flex-shrink: 0;
13030
+ }
13031
+
13032
+ .pb-fp-empty {
13033
+ padding: var(--s-6);
13034
+ text-align: center;
13035
+ font-size: var(--text-sm);
13036
+ color: var(--text-tertiary);
13037
+ }
13038
+
13039
+ .pb-fp-foot {
13040
+ padding: var(--s-3) var(--s-4);
13041
+ border-top: 1px solid var(--border-subtle);
13042
+ font-size: var(--text-2_5xs);
13043
+ color: var(--text-tertiary);
13044
+ background: var(--surface-sunken);
13045
+ line-height: 1.4;
13046
+ }
13047
+
13048
+ /* placeholder chips in the document (Placeholders lens) */
13049
+ .pbd .pbd-ph {
13050
+ font-family: var(--font-mono);
13051
+ font-size: .82em;
13052
+ color: var(--ai-fg-deep);
13053
+ background: #efe9fc;
13054
+ border: 1px solid #ddd0f8;
13055
+ border-radius: 3px;
13056
+ padding: 0 4px;
13057
+ white-space: normal;
13058
+ word-break: break-all;
13059
+ }
13060
+
13061
+ /* read-only template-source note */
13062
+ .pb-editor-note {
13063
+ display: flex;
13064
+ align-items: flex-start;
13065
+ gap: var(--s-3);
13066
+ padding: var(--s-3) var(--s-5);
13067
+ font-size: var(--text-xs);
13068
+ color: var(--text-brand-strong);
13069
+ background: var(--green-50);
13070
+ border-bottom: 1px solid var(--border-subtle);
13071
+ line-height: 1.45;
13072
+ }
13073
+
13074
+ .pb-editor-note svg {
13075
+ width: 13px;
13076
+ height: 13px;
13077
+ flex-shrink: 0;
13078
+ margin-top: 1px;
13079
+ color: var(--brand-green);
13080
+ }
13081
+
13082
+ /* edit hint chip */
13083
+ .pb-edithint {
13084
+ position: absolute;
13085
+ top: 14px;
13086
+ left: 50%;
13087
+ transform: translateX(-50%);
13088
+ z-index: var(--z-popover);
13089
+ display: inline-flex;
13090
+ align-items: center;
13091
+ gap: var(--s-3);
13092
+ background: rgba(20, 23, 27, .86);
13093
+ backdrop-filter: blur(6px);
13094
+ color: #eceef0;
13095
+ font-size: var(--text-xs);
13096
+ font-weight: 500;
13097
+ padding: 6px 8px 6px 12px;
13098
+ border-radius: var(--r-full);
13099
+ box-shadow: var(--shadow-lg);
13100
+ }
13101
+
13102
+ .pb-edithint svg {
13103
+ width: 14px;
13104
+ height: 14px;
13105
+ color: var(--green-400);
13106
+ }
13107
+
13108
+ .pb-edithint button {
13109
+ width: 20px;
13110
+ height: 20px;
13111
+ border-radius: 50%;
13112
+ display: grid;
13113
+ place-items: center;
13114
+ color: #aeb2b7;
13115
+ }
13116
+
13117
+ .pb-edithint button:hover {
13118
+ background: rgba(255, 255, 255, .14);
13119
+ color: #fff;
13120
+ }
13121
+
13122
+ .pb-edithint button svg {
13123
+ width: 12px;
13124
+ height: 12px;
13125
+ color: inherit;
13126
+ }
13127
+
13128
+ /* right dock */
13129
+ .pb-dock {
13130
+ width: 340px;
13131
+ flex-shrink: 0;
13132
+ background: var(--surface-raised);
13133
+ border-left: 1px solid var(--border-default);
13134
+ display: flex;
13135
+ flex-direction: column;
13136
+ min-height: 0;
13137
+ position: relative;
13138
+ }
13139
+
13140
+ .pb-dock--wide {
13141
+ width: 600px;
13142
+ }
13143
+
13144
+ .pb-dock-resizer {
13145
+ position: absolute;
13146
+ top: 0;
13147
+ left: -3px;
13148
+ width: 7px;
13149
+ height: 100%;
13150
+ cursor: col-resize;
13151
+ z-index: 2;
13152
+ }
13153
+
13154
+ .pb-dock-resizer:hover {
13155
+ background: linear-gradient(90deg, transparent, rgba(46, 178, 115, .35), transparent);
13156
+ }
13157
+
13158
+ .pb-dock .pb-htmltab {
13159
+ flex: 1;
13160
+ }
13161
+
13162
+ .pb-dock-close {
13163
+ width: 28px;
13164
+ height: 28px;
13165
+ border-radius: var(--r-md);
13166
+ display: grid;
13167
+ place-items: center;
13168
+ color: var(--text-tertiary);
13169
+ }
13170
+
13171
+ .pb-dock-close:hover {
13172
+ background: var(--surface-hover);
13173
+ color: var(--text-primary);
13174
+ }
13175
+
13176
+ .pb-dock-close svg {
13177
+ width: 15px;
13178
+ height: 15px;
13179
+ }
13180
+
13181
+ .pb-zoomwrap {
13182
+ transform-origin: top center;
13183
+ }
13184
+
13185
+ /* editor read-only / warn note + custom-lock banner */
13186
+ .pb-editor-note--warn {
13187
+ color: var(--warning-fg-strong);
13188
+ background: var(--warning-bg);
13189
+ }
13190
+
13191
+ .pb-editor-note--warn svg {
13192
+ color: var(--warning);
13193
+ }
13194
+
13195
+ .cx-lockbanner {
13196
+ display: flex;
13197
+ align-items: flex-start;
13198
+ gap: var(--s-3);
13199
+ margin: var(--s-5) var(--s-6) 0;
13200
+ padding: var(--s-4) var(--s-5);
13201
+ font-size: var(--text-xs);
13202
+ line-height: 1.45;
13203
+ color: var(--warning-fg-strong);
13204
+ background: var(--warning-bg);
13205
+ border: 1px solid var(--warning-bg-strong);
13206
+ border-radius: var(--r-md);
13207
+ }
13208
+
13209
+ .cx-lockbanner svg {
13210
+ width: 14px;
13211
+ height: 14px;
13212
+ flex-shrink: 0;
13213
+ margin-top: 1px;
13214
+ color: var(--warning);
13215
+ }
13216
+
13217
+ .cx-lockbanner-body {
13218
+ display: flex;
13219
+ flex-direction: column;
13220
+ align-items: flex-start;
13221
+ gap: var(--s-3);
13222
+ }
13223
+
13224
+ .cx-lockbanner-btn {
13225
+ display: inline-flex;
13226
+ align-items: center;
13227
+ gap: var(--s-2);
13228
+ padding: var(--s-2) var(--s-3);
13229
+ font: inherit;
13230
+ font-weight: 600;
13231
+ color: var(--warning-fg-strong);
13232
+ background: #fff;
13233
+ border: 1px solid var(--warning-bg-strong);
13234
+ border-radius: var(--r-sm);
13235
+ cursor: pointer;
13236
+ }
13237
+
13238
+ .cx-lockbanner-btn:hover {
13239
+ background: var(--warning-bg-strong);
13240
+ }
13241
+
13242
+ .cx-lockbanner-btn svg {
13243
+ margin-top: 0;
13244
+ }
13245
+
13246
+ .cx-customnote {
13247
+ display: flex;
13248
+ flex-direction: column;
13249
+ align-items: flex-start;
13250
+ gap: var(--s-3);
13251
+ padding: var(--s-2) 0;
13252
+ }
13253
+
13254
+ .cx-customnote p {
13255
+ margin: 0;
13256
+ font-size: var(--text-xs);
13257
+ line-height: 1.5;
13258
+ color: var(--text-tertiary);
13259
+ }
13260
+
13261
+ .cx-customnote .cx-lockbanner-btn {
13262
+ width: auto;
13263
+ white-space: nowrap;
13264
+ }
13265
+
13266
+ .cx-lockbanner-btn svg {
13267
+ width: 13px;
13268
+ height: 13px;
13269
+ flex-shrink: 0;
13270
+ }
13271
+
13272
+ /* ── Dynamic Table editor (cx-tbl-*) ─────────────────────── */
13273
+ .cx-tbl-editor {
13274
+ padding: 0 var(--s-4) var(--s-4);
13275
+ display: flex;
13276
+ flex-direction: column;
13277
+ gap: var(--s-3);
13278
+ }
13279
+
13280
+ .cx-tbl-source {
13281
+ display: flex;
13282
+ align-items: center;
13283
+ gap: var(--s-3);
13284
+ background: var(--surface-sunken);
13285
+ border: 1px solid var(--border-subtle);
13286
+ border-radius: var(--r-md);
13287
+ padding: var(--s-2) var(--s-3);
13288
+ }
13289
+
13290
+ .cx-tbl-source .cx-ph-tag {
13291
+ flex: 1;
13292
+ font-size: var(--text-2_5xs);
13293
+ }
13294
+
13295
+ .cx-tbl-cols-hd {
13296
+ display: flex;
13297
+ align-items: center;
13298
+ justify-content: space-between;
13299
+ padding: var(--s-2) 0;
13300
+ font-size: var(--text-xs);
13301
+ font-weight: 600;
13302
+ color: var(--text-secondary);
13303
+ }
13304
+
13305
+ /* ── Add Table Dialog ─────────────────────────────────────── */
13306
+ .cx-dialog-overlay {
13307
+ position: fixed;
13308
+ inset: 0;
13309
+ z-index: 9999;
13310
+ display: grid;
13311
+ place-items: center;
13312
+ background: rgba(0, 0, 0, .45);
13313
+ backdrop-filter: blur(2px);
9873
13314
  }
9874
- .editSectionModal--DialogTitle {
9875
- padding: 0.75rem 1.5rem !important;
9876
- border-bottom: 1px solid #d3d3d4;
13315
+
13316
+ .cx-dialog {
13317
+ background: var(--surface-raised);
13318
+ border: 1px solid var(--border-default);
13319
+ border-radius: var(--r-lg);
13320
+ width: 420px;
13321
+ max-width: 95vw;
13322
+ display: flex;
13323
+ flex-direction: column;
13324
+ box-shadow: var(--shadow-xl);
9877
13325
  }
9878
- .editSectionModal--SectionTitle {
9879
- padding-left: 1.5rem;
13326
+
13327
+ .cx-dialog-head {
13328
+ display: flex;
13329
+ align-items: center;
13330
+ padding: var(--s-4) var(--s-5);
13331
+ border-bottom: 1px solid var(--border-subtle);
13332
+ font-weight: 600;
13333
+ font-size: var(--text-sm);
13334
+ color: var(--text-primary);
9880
13335
  }
9881
- .editSectionModal--DialogContents {
9882
- padding: 1.5rem !important;
13336
+
13337
+ .cx-dialog-close {
13338
+ margin-left: auto;
13339
+ width: 26px;
13340
+ height: 26px;
13341
+ display: grid;
13342
+ place-items: center;
13343
+ color: var(--text-tertiary);
13344
+ border-radius: var(--r-sm);
9883
13345
  }
9884
- .editSectionModal--DialogAction {
9885
- justify-content: flex-end !important;
9886
- padding: 0.5rem 1.5rem !important;
9887
- background-color: #eeeff1;
13346
+
13347
+ .cx-dialog-close:hover {
13348
+ background: var(--surface-hover);
13349
+ color: var(--text-primary);
9888
13350
  }
9889
- .editSectionModal--DialogAction--WhiteBtn {
9890
- background-color: #fff !important;
9891
- color: #1f2125;
13351
+
13352
+ .cx-dialog-close svg {
13353
+ width: 14px;
13354
+ height: 14px;
13355
+ }
13356
+
13357
+ .cx-dialog-body {
13358
+ padding: var(--s-5);
13359
+ display: flex;
13360
+ flex-direction: column;
13361
+ gap: var(--s-4);
13362
+ }
13363
+
13364
+ .cx-dialog-body .cx-hint {
13365
+ margin: 0;
13366
+ }
13367
+
13368
+ .cx-dialog-lbl {
13369
+ font-size: var(--text-xs);
13370
+ font-weight: 500;
13371
+ color: var(--text-secondary);
13372
+ }
13373
+
13374
+ .cx-dialog-body .cx-ph-tag {
13375
+ font-size: var(--text-2_5xs);
13376
+ }
13377
+
13378
+ .cx-dialog-foot {
13379
+ display: flex;
13380
+ align-items: center;
13381
+ justify-content: flex-end;
13382
+ gap: var(--s-3);
13383
+ padding: var(--s-4) var(--s-5);
13384
+ border-top: 1px solid var(--border-subtle);
13385
+ }
13386
+
13387
+ /* V2 SVG and Button reset - required for icons (overrides hardcoded fills like white on white) */
13388
+ :where(.pb, .templates, .cx-dialog) button,
13389
+ button:where(.pbtn, .pb-bar-back) {
13390
+ font: inherit;
13391
+ cursor: pointer;
13392
+ background: none;
13393
+ border: 0;
13394
+ color: inherit;
13395
+ letter-spacing: inherit;
13396
+ }
13397
+
13398
+ :where(.pb, .templates, .pbtn, .te-sidebar, .cx-dialog, .pb-bar) svg:not(.MuiSvgIcon-root) {
13399
+ fill: none;
13400
+ stroke: currentColor;
13401
+ stroke-linecap: round;
13402
+ stroke-linejoin: round;
13403
+ }/* ═══════════════════════════════════════════════════════════════
13404
+ ERPForce PDF Builder — the document (.pbd-*)
13405
+ A real A4 paginated document. Same CSS drives screen preview,
13406
+ measurement pass, and @media print output.
13407
+ Tunable per-doc via CSS vars set by AI / inline edits:
13408
+ --pbd-accent heading rules, doctype, grand total
13409
+ --pbd-head-weight letterhead company weight
13410
+ data-density="compact" tightens the line-item table.
13411
+ ═══════════════════════════════════════════════════════════════ */
13412
+
13413
+ .pbd {
13414
+ --pbd-accent: #1B2C6E;
13415
+ --pbd-ink: #14171b;
13416
+ --pbd-muted: #6a6f76;
13417
+ --pbd-faint: #9aa0a6;
13418
+ --pbd-line: #e4e6e9;
13419
+ --pbd-line-strong: #c9ccd0;
13420
+ --pbd-fill: #f6f7f8;
13421
+ --pbd-head-weight: 700;
13422
+ --pbd-pad-y: 6.5px;
13423
+ color: var(--pbd-ink);
13424
+ font-family: 'Inter', sans-serif;
13425
+ font-size: 11px; line-height: 1.45;
13426
+ font-feature-settings: 'tnum';
13427
+ font-variant-numeric: tabular-nums;
13428
+ }
13429
+
13430
+ /* ── Page shell (built by the paginator / editor) ─────────────── */
13431
+ .pbd-page { width: var(--pbd-page-w, 794px); min-height: var(--pbd-page-h, 1123px); background: #fff; position: relative; flex-shrink: 0;
13432
+ box-shadow: 0 6px 30px rgba(0,0,0,.4); display: flex; flex-direction: column; }
13433
+ .pbd-page-inner { flex: 1; padding: 54px 52px 56px; display: flex; flex-direction: column; overflow-x: auto; }
13434
+
13435
+ /* running header / footer */
13436
+ .pbd-runhead { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px;
13437
+ padding: 0 16px; border-bottom: .8px solid var(--pbd-line); font-size: 8px; color: var(--pbd-muted); }
13438
+ .pbd-runhead img { height: 11px; opacity: .9; }
13439
+ .pbd-runhead .rh-l { font-weight: 700; color: var(--pbd-ink); }
13440
+ .pbd-runhead .rh-r { margin-left: auto; font-family: 'JetBrains Mono', monospace; }
13441
+ .pbd-runfoot { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px;
13442
+ padding: 0 16px; border-top: .8px solid var(--pbd-line); font-size: 8px; color: var(--pbd-muted); }
13443
+ .pbd-runfoot .rf-l { color: var(--pbd-muted); }
13444
+ .pbd-runfoot .rf-r { margin-left: auto; font-variant-numeric: tabular-nums; }
13445
+
13446
+ /* ── letterhead ─────────────────────────────────────────────── */
13447
+ .pbd-lh { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px;
13448
+ padding-bottom: 14px; border-bottom: 2.5px solid var(--pbd-accent); }
13449
+ .pbd-lh-co { display: flex; flex-direction: column; gap: 2px; max-width: 56%; }
13450
+ .pbd-logo { height: var(--pbd-logo-h, 24px); width: auto; display: block; margin-bottom: 7px; }
13451
+
13452
+ /* compact letterhead — saves vertical space on the masthead */
13453
+ .pbd[data-head="compact"] .pbd-lh { padding-bottom: 9px; gap: 18px; }
13454
+ .pbd[data-head="compact"] .pbd-logo { margin-bottom: 4px; }
13455
+ .pbd[data-head="compact"] .pbd-co-name { font-size: 12.5px; }
13456
+ .pbd[data-head="compact"] .pbd-co-line { font-size: 8px; line-height: 1.35; }
13457
+ .pbd[data-head="compact"] .pbd-doctype { font-size: 19px; }
13458
+ .pbd[data-head="compact"] .pbd-ref { margin-top: 4px; font-size: 9px; }
13459
+ .pbd[data-head="compact"] .pbd-status { margin-top: 5px; }
13460
+ .pbd-co-name { font-size: 14px; font-weight: var(--pbd-head-weight); letter-spacing: -.01em; color: var(--pbd-ink); }
13461
+ .pbd-co-line { font-size: 9px; color: var(--pbd-muted); }
13462
+ .pbd-lh-doc { text-align: right; flex-shrink: 0; }
13463
+ .pbd-doctype { font-size: 23px; font-weight: 700; letter-spacing: -.02em; color: var(--pbd-accent); text-transform: uppercase; line-height: 1.08; }
13464
+ .pbd-ref { font-size: 9.5px; color: var(--pbd-muted); margin-top: 7px; font-family: 'JetBrains Mono', monospace; }
13465
+ .pbd-ref b { color: var(--pbd-ink); font-weight: 600; }
13466
+ .pbd-status { display: inline-block; margin-top: 8px; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
13467
+ padding: 3px 8px; border-radius: 3px; }
13468
+ .pbd-status--draft { color: #8a540b; background: #fef1dd; }
13469
+ .pbd-status--paid { color: #156b43; background: #e2f5ec; }
13470
+ .pbd-status--due { color: #a8232a; background: #fce5e8; }
13471
+
13472
+ /* ── parties (bill to / ship to / from) ─────────────────────── */
13473
+ .pbd-parties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
13474
+ .pbd-parties--2 { grid-template-columns: 1fr 1fr; }
13475
+ .pbd-party-h { font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--pbd-faint); margin-bottom: 5px; }
13476
+ .pbd-party-name { font-size: 11.5px; font-weight: 600; color: var(--pbd-ink); }
13477
+ .pbd-party-line { font-size: 9.5px; color: var(--pbd-muted); line-height: 1.5; }
13478
+
13479
+ /* ── meta strip ─────────────────────────────────────────────── */
13480
+ .pbd-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px 18px; margin-top: 18px;
13481
+ padding: 12px 16px; background: var(--pbd-fill); border: 1px solid var(--pbd-line); border-radius: 6px; }
13482
+ .pbd-meta-item { display: flex; flex-direction: column; gap: 1px; }
13483
+ .pbd-meta-k { font-size: 7.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pbd-faint); }
13484
+ .pbd-meta-v { font-size: 10.5px; font-weight: 600; color: var(--pbd-ink); }
13485
+ .pbd-meta--3 { grid-template-columns: repeat(3, 1fr); }
13486
+ .pbd-meta--2 { grid-template-columns: repeat(2, 1fr); }
13487
+
13488
+ /* ── section heading ────────────────────────────────────────── */
13489
+ .pbd-h { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pbd-accent);
13490
+ margin: 22px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--pbd-line); }
13491
+ .pbd-intro { font-size: 10px; color: var(--pbd-muted); line-height: 1.55; margin-top: 16px; }
13492
+
13493
+ /* ── line-item table (the hard part) ────────────────────────── */
13494
+ .pbd-items-wrap { margin-top: 14px; }
13495
+ .pbd-items { width: 100%; border-collapse: collapse; }
13496
+ .pbd-items thead th { font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff;
13497
+ background: var(--pbd-accent); text-align: right; padding: 7px 9px; white-space: nowrap; }
13498
+ .pbd-items thead th:first-child { text-align: left; border-radius: 3px 0 0 0; }
13499
+ .pbd-items thead th:last-child { border-radius: 0 3px 0 0; }
13500
+ .pbd-items thead th.l { text-align: left; }
13501
+ .pbd-items tbody td { font-size: 10px; padding: var(--pbd-pad-y) 9px; text-align: right; border-bottom: 1px solid var(--pbd-line);
13502
+ color: #2c2f35; white-space: nowrap; vertical-align: top; }
13503
+ .pbd-items tbody td.l { text-align: left; }
13504
+ .pbd-items tbody tr:nth-child(even) td { background: #fafbfb; }
13505
+ .pbd-items .it-no { color: var(--pbd-faint); font-size: 9px; width: 22px; }
13506
+ .pbd-items .it-desc { white-space: normal; max-width: 230px; }
13507
+ .pbd-items .it-desc b { font-weight: 600; color: var(--pbd-ink); }
13508
+ .pbd-items .it-sku { display: block; font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--pbd-faint); margin-top: 1px; }
13509
+ .pbd-items .it-tax { color: var(--pbd-muted); font-size: 9px; }
13510
+ .pbd-items .it-disc { color: #156b43; }
13511
+ .pbd-items tfoot td { font-size: 9.5px; padding: 6px 9px; }
13512
+
13513
+ /* "continued" caption when a table breaks across pages */
13514
+ .pbd-items-cont { font-size: 8px; font-style: italic; color: var(--pbd-faint); padding: 4px 9px 0; text-align: right; }
13515
+
13516
+ /* density */
13517
+ .pbd[data-density="compact"] { --pbd-pad-y: 4px; }
13518
+ .pbd[data-density="compact"] .pbd-items thead th { padding: 5px 8px; }
13519
+ .pbd[data-density="comfortable"] { --pbd-pad-y: 9px; }
13520
+
13521
+ /* ── totals ─────────────────────────────────────────────────── */
13522
+ .pbd-totals-wrap { display: flex; justify-content: flex-end; margin-top: 14px; }
13523
+ .pbd-totals { width: 280px; }
13524
+ .pbd-tot-row { display: flex; justify-content: space-between; padding: 5px 10px; font-size: 10px; color: var(--pbd-muted); }
13525
+ .pbd-tot-row .pbd-tot-v { color: var(--pbd-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
13526
+ .pbd-tot-row--sub { border-top: 1px solid var(--pbd-line); }
13527
+ .pbd-tot-row--disc .pbd-tot-v { color: #156b43; }
13528
+ .pbd-tot-grand { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 10px; margin-top: 4px;
13529
+ background: var(--pbd-accent); color: #fff; border-radius: 5px; }
13530
+ .pbd-tot-grand .pbd-tot-k { font-size: 10px; font-weight: 600; letter-spacing: .02em; }
13531
+ .pbd-tot-grand .pbd-tot-v { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
13532
+ .pbd-amountwords { margin-top: 10px; font-size: 9px; color: var(--pbd-muted); font-style: italic; }
13533
+ .pbd-amountwords b { font-style: normal; color: var(--pbd-ink); }
13534
+
13535
+ /* ── notes / terms / signature ──────────────────────────────── */
13536
+ .pbd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; }
13537
+ .pbd-notes-h { font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pbd-faint); margin-bottom: 5px; }
13538
+ .pbd-notes-body { font-size: 9.5px; color: var(--pbd-muted); line-height: 1.55; }
13539
+ .pbd-notes-body ol, .pbd-notes-body ul { margin: 0; padding-left: 14px; display: flex; flex-direction: column; gap: 3px; }
13540
+ .pbd-pay { font-size: 9.5px; color: var(--pbd-muted); line-height: 1.7; }
13541
+ .pbd-pay b { color: var(--pbd-ink); font-weight: 600; }
13542
+ .pbd-pay .k { display: inline-block; min-width: 92px; color: var(--pbd-faint); }
13543
+
13544
+ .pbd-sign { display: flex; gap: 48px; margin-top: 36px; }
13545
+ .pbd-sign-line { flex: 1; max-width: 220px; }
13546
+ .pbd-sign-rule { border-top: 1px solid var(--pbd-ink); padding-top: 5px; font-size: 9px; color: var(--pbd-muted); }
13547
+ .pbd-sign-rule b { color: var(--pbd-ink); display: block; font-size: 10px; }
13548
+
13549
+ .pbd-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--pbd-line); display: flex; justify-content: space-between;
13550
+ font-size: 8.5px; color: var(--pbd-faint); }
13551
+ .pbd-foot b { color: var(--pbd-muted); }
13552
+
13553
+ /* paid / draft stamp overlay */
13554
+ .pbd-stamp { position: absolute; top: 180px; right: 60px; transform: rotate(-14deg); border: 3px solid; border-radius: 8px;
13555
+ padding: 6px 18px; font-size: 26px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .16; pointer-events: none; }
13556
+ .pbd-stamp--paid { color: #156b43; border-color: #156b43; }
13557
+ .pbd-stamp--due { color: #a8232a; border-color: #a8232a; }
13558
+
13559
+ /* ── inline WYSIWYG edit affordances ─────────────────────────── */
13560
+ .pb-editable [data-edit] { cursor: text; border-radius: 2px; transition: background .12s, box-shadow .12s; }
13561
+ .pb-editable [data-edit]:hover { background: rgba(46,178,115,.10); box-shadow: 0 0 0 2px rgba(46,178,115,.16); }
13562
+ .pb-editable [data-edit].is-editing { background: #fff; box-shadow: 0 0 0 2px var(--brand-green); outline: none; }
13563
+ .pb-editable [data-edit].is-editing:empty::before { content: 'Type…'; color: var(--pbd-faint); }
13564
+ .pbd-ed:focus { outline: none; }
13565
+
13566
+ /* ── template WYSIWYG edit affordances (Edit lens) ── */
13567
+ .pb-tpl-editable .pbd-lit { cursor: text; border-radius: 2px; transition: background .12s, box-shadow .12s; }
13568
+ .pb-tpl-editable .pbd-lit:hover { background: rgba(46,178,115,.10); box-shadow: 0 0 0 2px rgba(46,178,115,.16); }
13569
+ .pb-tpl-editable .pbd-lit.is-editing { background: #fff; box-shadow: 0 0 0 2px var(--brand-green); outline: none; }
13570
+ /* field chips: friendly, click-to-pick (not monospace, no raw paths) */
13571
+ .pb-tpl-editable .pbd-ph { font-family: inherit; font-size: .92em; cursor: pointer; padding: 0 4px 0 6px;
13572
+ display: inline-flex; align-items: center; gap: 3px; transition: box-shadow .12s, background .12s; }
13573
+ .pb-tpl-editable .pbd-ph::after { content: '▾'; font-size: .72em; opacity: .55; margin-left: 1px; }
13574
+ .pb-tpl-editable .pbd-ph:hover { background: #e6dcff; box-shadow: 0 0 0 2px rgba(110,86,207,.30); }
13575
+
13576
+ /* field-inspector pills (Fields preview mode) */
13577
+ .pbd-ph { font-family: 'JetBrains Mono', monospace; font-size: .82em; color: var(--ai-fg-deep);
13578
+ background: #efe9fc; border: 1px solid #ddd0f8; border-radius: 3px; padding: 0 4px; white-space: normal; word-break: break-all; }
13579
+
13580
+ /* ── financial report rows ──────────────────────────────────── */
13581
+ .pbd-items tr.is-section td, .pbd-items tr.is-section th { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
13582
+ color: var(--pbd-faint); padding-top: 13px; border-bottom: 0; background: #fff !important; }
13583
+ .pbd-items tr.is-sub td { font-weight: 700; color: var(--pbd-ink); border-top: 1px solid var(--pbd-line-strong); background: var(--pbd-fill) !important; }
13584
+ .pbd-items tr.is-grand td { font-weight: 700; font-size: 11px; color: #fff; background: var(--pbd-accent) !important; }
13585
+ .pbd-items .pd-indent { padding-left: 22px; }
13586
+ .pbd-items .pd-neg { color: #b4282d; }
13587
+ .pbd-items .pd-pos { color: #156b43; }
13588
+
13589
+ /* KPI strip (reports) */
13590
+ .pbd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
13591
+ .pbd-kpi { border: 1px solid var(--pbd-line); border-radius: 5px; padding: 9px 11px; }
13592
+ .pbd-kpi-l { font-size: 8px; color: var(--pbd-faint); text-transform: uppercase; letter-spacing: .04em; }
13593
+ .pbd-kpi-v { font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin-top: 3px; color: var(--pbd-ink); }
13594
+ .pbd-kpi-s { font-size: 8px; color: var(--pbd-muted); margin-top: 2px; }
13595
+
13596
+ /* ═══════════════════════════════════════════════════════════════
13597
+ KSA bilingual (ZATCA) Tax Invoice · .kx-*
13598
+ Self-contained English/Arabic invoice. Arabic runs RTL with the
13599
+ Kufi face; table styling is scoped under .kx-items-wrap so it
13600
+ survives the paginator's continuation rebuild (which keeps the
13601
+ wrap attributes but resets the table to class="pbd-items").
13602
+ ═══════════════════════════════════════════════════════════════ */
13603
+ .kx-ar, .kx-ar-h, .kx-ar-sm, .kx-col-ar, .kx-title-ar,
13604
+ .kx-tot-ar, [dir="rtl"] { font-family: 'Noto Kufi Arabic', 'Inter', sans-serif; }
13605
+
13606
+ /* ── header ─────────────────────────────────────────────────── */
13607
+ .kx-head { border-bottom: 2.5px solid var(--pbd-accent); padding-bottom: 12px; }
13608
+ .kx-head-row { display: flex; align-items: center; gap: 16px; }
13609
+ .kx-logo { height: 26px; width: auto; }
13610
+ .kx-title-block { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; }
13611
+ .kx-title { font-size: 22px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pbd-ink); }
13612
+ .kx-title-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pbd-accent); }
13613
+ .kx-title-ar { font-size: 23px; font-weight: 700; color: var(--pbd-accent); }
13614
+ .kx-head-tag { font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-align: center;
13615
+ color: var(--pbd-accent); border: 1.2px solid var(--pbd-accent); border-radius: 5px; padding: 4px 7px; line-height: 1.25; }
13616
+ .kx-head-no { display: flex; justify-content: space-between; margin-top: 9px; }
13617
+ .kx-head-no-en, .kx-head-no-ar { display: flex; align-items: baseline; gap: 7px; }
13618
+ .kx-head-no .kx-k { font-size: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pbd-faint); }
13619
+ .kx-head-no-ar .kx-k { text-transform: none; letter-spacing: 0; font-size: 9.5px; }
13620
+ .kx-head-no b { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--pbd-accent); }
13621
+
13622
+ /* ── seller / buyer cards ───────────────────────────────────── */
13623
+ .kx-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
13624
+ .kx-party { border: 1px solid var(--pbd-line-strong); border-radius: 7px; overflow: hidden; }
13625
+ .kx-party-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 11px;
13626
+ background: var(--pbd-fill); border-bottom: 1px solid var(--pbd-line); }
13627
+ .kx-party-bar span:first-child { font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--pbd-accent); }
13628
+ .kx-party-bar .kx-ar { font-size: 11px; font-weight: 700; color: var(--pbd-accent); }
13629
+ .kx-party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 6px 12px; }
13630
+ .kx-col-ar { text-align: right; }
13631
+ .kx-name { font-size: 11px; font-weight: 700; color: var(--pbd-ink); line-height: 1.35; }
13632
+ .kx-col-ar .kx-name { font-size: 12px; }
13633
+ .kx-line { font-size: 8.5px; color: var(--pbd-muted); line-height: 1.5; margin-top: 1px; }
13634
+ .kx-col-ar .kx-line { font-size: 9.5px; }
13635
+ .kx-kv { display: flex; gap: 6px; font-size: 8.5px; margin-top: 4px; }
13636
+ .kx-col-ar .kx-kv { flex-direction: row-reverse; }
13637
+ .kx-kv span { color: var(--pbd-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; min-width: 46px; }
13638
+ .kx-col-ar .kx-kv span { text-transform: none; letter-spacing: 0; min-width: 64px; }
13639
+ .kx-kv b { font-family: 'JetBrains Mono', monospace; color: var(--pbd-ink); font-weight: 600; }
13640
+
13641
+ /* ── meta strip ─────────────────────────────────────────────── */
13642
+ .kx-meta { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 10px;
13643
+ border: 1px solid var(--pbd-line-strong); border-radius: 7px; overflow: hidden; }
13644
+ .kx-meta-item { padding: 6px 10px; border-right: 1px solid var(--pbd-line); display: flex; flex-direction: column; gap: 3px; }
13645
+ .kx-meta-item:last-child { border-right: 0; }
13646
+ .kx-meta-k { font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pbd-faint);
13647
+ display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
13648
+ .kx-meta-k .kx-ar { font-size: 8.5px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--pbd-muted); font-style: normal; }
13649
+ .kx-meta-v { font-size: 9.5px; font-weight: 700; color: var(--pbd-ink); font-variant-numeric: tabular-nums; }
13650
+
13651
+ /* ── line-item table (scoped to the wrap so splits keep styling) ── */
13652
+ .kx-items-wrap { margin-top: 8px; }
13653
+ .kx-items-wrap .pbd-items thead th { font-size: 7.5px; line-height: 1.2; padding: 5px 6px; vertical-align: top; }
13654
+ .kx-items-wrap .pbd-items thead th .kx-ar-h { display: block; font-size: 8px; font-weight: 600; opacity: .9; margin-top: 2px; }
13655
+ .kx-items-wrap .pbd-items tbody td { font-size: 9px; padding: 3.5px 6px; vertical-align: middle; }
13656
+ .kx-items-wrap .pbd-items .it-no { width: 18px; }
13657
+ .kx-items-wrap .kx-sku { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; color: var(--pbd-ink); }
13658
+ .kx-items-wrap .kx-desc { white-space: normal; min-width: 150px; max-width: 220px; }
13659
+ .kx-items-wrap .kx-desc b { font-weight: 600; color: var(--pbd-ink); display: block; }
13660
+ .kx-items-wrap .kx-desc .kx-ar { display: block; font-size: 9px; color: var(--pbd-muted); margin-top: 2px; direction: rtl; }
13661
+ .kx-items-wrap .kx-unit { display: block; }
13662
+ .kx-items-wrap .kx-ar-sm { display: block; font-size: 8px; color: var(--pbd-muted); margin-top: 1px; }
13663
+ .kx-items-wrap .kx-rate { color: var(--pbd-muted); }
13664
+
13665
+ /* edit mode: the field chips ("Total with tax", "Tax amount"…) are wider than
13666
+ the sample numbers they stand in for, and headers/chips are nowrap — across
13667
+ 11 columns that pushes the table past the page edge. Let headers and chips
13668
+ wrap in template-edit mode so the width:100% table can shrink back to fit. */
13669
+ .pb-tpl-editable .pbd-items thead th { white-space: normal; }
13670
+ .pb-tpl-editable .pbd-items tbody td { padding-left: 4px; padding-right: 4px; }
13671
+ .pb-tpl-editable .pbd-items tbody .pbd-ph {
13672
+ font-size: .8em; line-height: 1.12; padding: 0 2px; }
13673
+
13674
+ /* ── totals (ZATCA grid: EN label · value · AR label) ───────── */
13675
+ .kx-totals { margin-top: 10px; }
13676
+ .kx-tot-grid { border: 1px solid var(--pbd-line-strong); border-radius: 7px; overflow: hidden; }
13677
+ .kx-tot-row { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center;
13678
+ border-bottom: 1px solid var(--pbd-line); }
13679
+ .kx-tot-row:last-child { border-bottom: 0; }
13680
+ .kx-tot-en { font-size: 9.5px; font-weight: 600; color: var(--pbd-ink); padding: 4px 12px; }
13681
+ .kx-tot-v { font-size: 10.5px; font-weight: 700; color: var(--pbd-ink); text-align: center; padding: 4px 12px;
13682
+ font-variant-numeric: tabular-nums; border-left: 1px solid var(--pbd-line); border-right: 1px solid var(--pbd-line); background: #fff; }
13683
+ .kx-tot-ar { font-size: 10px; font-weight: 600; color: var(--pbd-muted); text-align: right; padding: 4px 12px; }
13684
+ .kx-tot-grand { background: var(--pbd-fill); }
13685
+ .kx-tot-grand .kx-tot-en, .kx-tot-grand .kx-tot-ar { font-weight: 800; color: var(--pbd-ink); }
13686
+ .kx-tot-grand .kx-tot-v { font-size: 12px; }
13687
+ .kx-tot-due { background: var(--pbd-accent); }
13688
+ .kx-tot-due .kx-tot-en, .kx-tot-due .kx-tot-ar { color: #fff; font-weight: 800; }
13689
+ .kx-tot-due .kx-tot-v { color: #fff; font-size: 13px; background: transparent; border-color: rgba(255,255,255,.28); }
13690
+
13691
+ .kx-words { margin-top: 8px; border: 1px dashed var(--pbd-line-strong); border-radius: 7px; overflow: hidden; }
13692
+ .kx-words-row { display: flex; gap: 10px; align-items: baseline; padding: 5px 12px; }
13693
+ .kx-words-row:first-child { border-bottom: 1px solid var(--pbd-line); }
13694
+ .kx-words-k { font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pbd-faint); white-space: nowrap; }
13695
+ .kx-words-row[dir="rtl"] .kx-words-k { text-transform: none; letter-spacing: 0; font-size: 9.5px; }
13696
+ .kx-words-v { font-size: 9.5px; font-weight: 600; color: var(--pbd-ink); }
13697
+ .kx-words-row[dir="rtl"] .kx-words-v { font-size: 10.5px; }
13698
+
13699
+ /* ── QR + bank details ──────────────────────────────────────── */
13700
+ .kx-bankqr { display: flex; gap: 16px; margin-top: 10px; align-items: stretch; }
13701
+ .kx-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
13702
+ border: 1px solid var(--pbd-line-strong); border-radius: 7px; padding: 11px; width: 152px; flex-shrink: 0; }
13703
+ .kx-qr img { width: 124px; height: 124px; display: block; }
13704
+ .kx-qr-cap { font-size: 7px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--pbd-faint); text-align: center; line-height: 1.35; }
13705
+ .kx-qr-cap .kx-ar { display: block; font-size: 8.5px; text-transform: none; letter-spacing: 0; color: var(--pbd-muted); margin-top: 1px; }
13706
+ .kx-bank { flex: 1; border: 1px solid var(--pbd-line-strong); border-radius: 7px; overflow: hidden; }
13707
+ .kx-bank-h { display: flex; justify-content: space-between; padding: 5px 11px; background: var(--pbd-fill); border-bottom: 1px solid var(--pbd-line); }
13708
+ .kx-bank-h span:first-child { font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--pbd-accent); }
13709
+ .kx-bank-h .kx-ar { font-size: 11px; font-weight: 700; color: var(--pbd-accent); }
13710
+ .kx-bank-tbl { width: 100%; border-collapse: collapse; }
13711
+ .kx-bank-tbl td { font-size: 9px; padding: 4px 11px; border-bottom: 1px solid var(--pbd-line); color: var(--pbd-ink); }
13712
+ .kx-bank-tbl tr:last-child td { border-bottom: 0; }
13713
+ .kx-bank-tbl tr:nth-child(even) td { background: #fafbfb; }
13714
+ .kx-bank-k { width: 130px; color: var(--pbd-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 7.5px; }
13715
+ .kx-bank-k .kx-ar { float: right; text-transform: none; letter-spacing: 0; font-size: 9px; color: var(--pbd-muted); font-weight: 600; }
13716
+ .kx-bank-tbl td:not(.kx-bank-k) { font-family: 'JetBrains Mono', monospace; font-weight: 600; }
13717
+
13718
+ /* ── footer note ────────────────────────────────────────────── */
13719
+ .kx-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--pbd-line); text-align: center;
13720
+ font-size: 8.5px; color: var(--pbd-faint); line-height: 1.5; }
13721
+
13722
+
13723
+ @media print {
13724
+ html, body { height: auto !important; overflow: visible !important; background: #fff !important; }
13725
+ .pb-top, .pb-bar, .pb-rail, .pb-editor, .pb-ai, .pb-drawer, .pb-side, .pb-dock, .pb-edithint, .pb-lensbar, .pb-lens, .pb-edithint-inline, .pb-preview-bar, .pb-zoomfloat, .tweaks-panel, .pb-toast { display: none !important; }
13726
+ .pb, .pb-body, .pb-work, .pb-center, .pb-preview, .pb-stage, .pb-stage-scroll { display: block !important; height: auto !important; overflow: visible !important; background: #fff !important; }
13727
+ .pb-editable [data-edit]:hover { background: none !important; box-shadow: none !important; }
13728
+ .pb-preview-scroll, .pb-stage-scroll { overflow: visible !important; padding: 0 !important; background: #fff !important; }
13729
+ .pb-pages { transform: none !important; gap: 0 !important; display: block !important; }
13730
+ .pb-zoomwrap { transform: none !important; margin: 0 !important; width: auto !important; }
13731
+ .pbd-page { box-shadow: none !important; margin: 0 auto !important; page-break-after: always; break-after: page; }
13732
+ .pbd-page:last-child { page-break-after: auto; break-after: auto; }
13733
+ .pbd-items thead th, .pbd-tot-grand, .pbd-meta, .pbd-status, .pbd-items tr.is-grand td, .pbd-items tr.is-sub td, .pbd-runhead, .pbd-runfoot, .pbd-stamp,
13734
+ .kx-items-wrap .pbd-items thead th, .kx-tot-due, .kx-tot-grand, .kx-party-bar, .kx-bank-h, .kx-meta {
13735
+ -webkit-print-color-adjust: exact; print-color-adjust: exact; }
13736
+ }
13737
+ .pbd-page-inner table:not(.pbd-items) { min-width: max-content; }
13738
+ /* ═══════════════════════════════════════════════════════════════
13739
+ ERPForce PDF Builder — Stationery Master
13740
+ The reusable header + footer + watermark that every document
13741
+ template inherits. Brand colour (--st-brand) is independent of
13742
+ the per-document accent (--pbd-accent).
13743
+ Builds on styles.css (chrome) + doc.css (.pbd document).
13744
+ ═══════════════════════════════════════════════════════════════ */
13745
+
13746
+ .st { --st-brand: #2EB273; }
13747
+
13748
+ /* the A4 sheet is a flex column: header · body(grows) · footer */
13749
+ .st .pbd-page { display: flex; flex-direction: column; overflow: hidden; }
13750
+ .st .pbd-page > * { position: relative; z-index: 1; }
13751
+ .st .pbd-page-inner { flex: 1; padding: 26px 52px 22px; }
13752
+
13753
+ /* ── watermark (behind everything, centred over the whole page) ── */
13754
+ .st .pbd-page > .st-wm { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; }
13755
+ .st-wm img { display: block; max-width: 70%; height: auto; filter: grayscale(1); }
13756
+
13757
+ /* ════════════════ HEADER MASTER ══════════════════════════════ */
13758
+ .st-head { display: flex; align-items: flex-start; gap: 28px; padding: 30px 52px 14px;
13759
+ border-bottom: 2.5px solid var(--st-brand); }
13760
+ .st-logo { width: auto; display: block; }
13761
+ .st-id { display: flex; flex-direction: column; gap: 2px; }
13762
+ .st-name-en { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--pbd-ink); line-height: 1.2; }
13763
+ .st-name-ar { font-family: 'Noto Kufi Arabic', 'Cairo', 'IBM Plex Sans Arabic', 'Tahoma', sans-serif; font-size: 15px; font-weight: 600;
13764
+ color: #3a3f46; line-height: 1.4; direction: rtl; unicode-bidi: embed; }
13765
+ .st-tagline { font-size: 9.5px; font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; color: var(--st-brand); margin-top: 2px; }
13766
+ .st-head-col { display: flex; flex-direction: column; gap: 3px; }
13767
+
13768
+ /* variant — standard: logo left, identity right */
13769
+ .st-head--standard { justify-content: space-between; }
13770
+ .st-head--standard .st-id,
13771
+ .st-head--standard .st-name-en,
13772
+ .st-head--standard .st-name-ar,
13773
+ .st-head--standard .st-tagline { text-align: right; width: 100%; align-items: flex-end; }
13774
+
13775
+ /* variant — split (client letterhead): logo+web left, bilingual name right */
13776
+ .st-head--split { justify-content: space-between; }
13777
+ .st-head--split .st-id,
13778
+ .st-head--split .st-name-en,
13779
+ .st-head--split .st-name-ar,
13780
+ .st-head--split .st-tagline { text-align: right; width: 100%; align-items: flex-end; }
13781
+
13782
+ /* variant — centered */
13783
+ .st-head--centered { flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-top: 26px; }
13784
+ .st-head--centered .st-id,
13785
+ .st-head--centered .st-name-en,
13786
+ .st-head--centered .st-name-ar,
13787
+ .st-head--centered .st-tagline { text-align: center; width: 100%; align-items: center; }
13788
+ .st-head--centered .st-logo { margin-bottom: 2px; }
13789
+
13790
+ /* variant — compact (continuation pages / dense docs) */
13791
+ .st-head--compact { align-items: center; justify-content: space-between; padding: 11px 52px; gap: 16px; }
13792
+ .st-head--compact .st-head-cmp-l { display: flex; align-items: center; gap: 10px; }
13793
+ .st-head--compact .st-name-en { font-size: 11.5px; }
13794
+ .st-head--compact .st-tagline { margin-top: 0; }
13795
+
13796
+ /* ════════════════ BODY · doc-title bar ═══════════════════════ */
13797
+ /* the body masthead (doctype / number) — separate from the letterhead.
13798
+ uses the DOCUMENT accent, proving it is independent of --st-brand. */
13799
+ .st .pbd-page-inner > .st-doctitle:first-child { margin-top: 4px; }
13800
+ .st-doctitle { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 4px; }
13801
+ .st-doctitle-l { display: flex; flex-direction: column; align-items: flex-start; }
13802
+ .st-doctype { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--pbd-accent); text-transform: uppercase; line-height: 1.05; white-space: nowrap; }
13803
+ .st-doctype-rule { width: 38px; height: 3px; background: var(--pbd-accent); border-radius: 2px; margin-top: 7px; }
13804
+ .st-doctitle-r { text-align: right; flex-shrink: 0; }
13805
+
13806
+ /* ════════════════ FOOTER MASTER ══════════════════════════════ */
13807
+ .st-foot { margin-top: auto; }
13808
+ .st-foot-band { background: var(--st-brand); color: #fff; display: flex; align-items: center; justify-content: center;
13809
+ flex-wrap: wrap; gap: 6px 22px; padding: 7px 52px; font-size: 10px; font-weight: 700; letter-spacing: .05em;
13810
+ font-family: 'JetBrains Mono', monospace; }
13811
+ .st-foot-band span { position: relative; }
13812
+ .st-foot-band span + span::before { content: '|'; position: absolute; left: -12px; opacity: .5; font-weight: 400; }
13813
+ .st-foot-contact { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px;
13814
+ padding: 8px 52px 0; font-size: 9px; color: var(--pbd-muted); }
13815
+ .st-foot-contact span { display: inline-flex; align-items: center; gap: 5px; position: relative; }
13816
+ .st-foot-contact span + span::before { content: '·'; position: absolute; left: -9px; color: var(--pbd-faint); }
13817
+ .st-foot-contact svg { width: 11px; height: 11px; color: var(--st-brand); flex-shrink: 0; }
13818
+ .st-foot-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px;
13819
+ padding: 6px 52px 14px; font-size: 8px; color: var(--pbd-faint); }
13820
+ .st-foot-meta .st-foot-pg { font-variant-numeric: tabular-nums; margin-left: auto; }
13821
+
13822
+ /* continuation pages — slim single-line footer (no reg band / contact) */
13823
+ .st-foot--compact { border-top: 1px solid rgba(20,23,27,.08); }
13824
+ .st-foot--compact .st-foot-meta { padding-top: 8px; padding-bottom: 12px; }
13825
+
13826
+ /* ════════════════ PRE-PRINTED reserved margins ═══════════════ */
13827
+ .st-reserve { display: grid; place-items: center; flex-shrink: 0;
13828
+ background: repeating-linear-gradient(135deg, transparent, transparent 7px, rgba(99,102,108,.06) 7px, rgba(99,102,108,.06) 8px); }
13829
+ .st-reserve--top { border-bottom: 1.5px dashed var(--border-strong); }
13830
+ .st-reserve--bot { border-top: 1.5px dashed var(--border-strong); }
13831
+ .st-reserve span { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 600; letter-spacing: .03em;
13832
+ text-transform: uppercase; color: var(--text-quaternary); background: rgba(255,255,255,.7); padding: 3px 10px; border-radius: var(--r-full); }
13833
+ .st-reserve svg { width: 12px; height: 12px; }
13834
+
13835
+ /* ════════════════ APP CHROME extras ═════════════════════════ */
13836
+ /* dock the toolbar on top; canvas scroll fills the rest */
13837
+ .st-stage { flex-direction: column; }
13838
+ /* a clean, non-overlapping toolbar above the canvas */
13839
+ .st-toolbar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; width: 100%;
13840
+ padding: var(--s-3) var(--s-5); background: var(--surface-raised); border-bottom: 1px solid var(--border-subtle);
13841
+ box-shadow: var(--shadow-xs); }
13842
+ .st-toolbar-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; color: var(--text-secondary); }
13843
+ .st-toolbar-lbl svg { width: 13px; height: 13px; color: var(--green-500); }
13844
+ .st-toolbar-sp { flex: 1; }
13845
+
13846
+ /* sample-content toggle */
13847
+ .st-sample-tg { display: inline-flex; align-items: center; gap: var(--s-2); height: 28px; padding: 0 var(--s-3) 0 5px;
13848
+ border-radius: var(--r-full); font-size: var(--text-xs); font-weight: 600; color: var(--text-secondary);
13849
+ background: var(--surface-muted); border: 1px solid var(--border-subtle); }
13850
+ .st-sample-tg:hover { background: var(--surface-sunken); }
13851
+ .st-sample-tg.is-on { color: var(--green-700); background: var(--green-50); border-color: var(--green-200); }
13852
+ .st-sample-tg .cx-switch { pointer-events: none; }
13853
+ .st-sample-tg.is-on .cx-switch { background: var(--green-500); }
13854
+ .st-sample-tg.is-on .cx-switch .cx-switch-dot { transform: translateX(14px); }
13855
+
13856
+ .st-docchips { display: flex; gap: 4px; }
13857
+ .st-docchip { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: var(--r-full);
13858
+ font-size: var(--text-xs); font-weight: 600; color: var(--text-secondary); background: var(--surface-muted);
13859
+ border: 1px solid var(--border-subtle); white-space: nowrap; }
13860
+ .st-docchip svg { width: 12px; height: 12px; }
13861
+ .st-docchip:hover { background: var(--surface-sunken); color: var(--text-primary); }
13862
+ .st-docchip.is-active { background: var(--n-900); color: #fff; border-color: var(--n-900); }
13863
+ .st-docchip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
13864
+
13865
+ /* blank letterpad placeholder (default view) */
13866
+ .st-blank { flex: 1; display: grid; place-items: center; min-height: 360px; }
13867
+ .st-blank span { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pbd-faint);
13868
+ border: 1px dashed var(--border-subtle); border-radius: var(--r-full); padding: 4px 14px; opacity: .55; }
13869
+
13870
+ /* ── Edit / Preview lens, re-skinned light for the docked toolbar ── */
13871
+ .st-toolbar .pb-lens { background: var(--surface-muted); border: 1px solid var(--border-subtle); box-shadow: none; backdrop-filter: none; padding: 2px; }
13872
+ .st-toolbar .pb-lens button { color: var(--text-tertiary); height: 26px; padding: 0 var(--s-4); }
13873
+ .st-toolbar .pb-lens button.is-active { background: var(--surface-raised); color: var(--text-primary); box-shadow: var(--shadow-xs); }
13874
+ .st-edithint { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 500; color: var(--text-brand-strong); }
13875
+ .st-edithint svg { width: 13px; height: 13px; color: var(--green-500); }
13876
+
13877
+ /* ── inline-editable text affordance (on the page) ────────────── */
13878
+ .st-ed { cursor: text; border-radius: 3px; outline: none; transition: box-shadow var(--dur-fast), background var(--dur-fast); }
13879
+ .st-head.is-edit .st-ed, .st-foot.is-edit .st-ed-inline { /* box-shadow removed as FreeWrap handles outlines */ }
13880
+ .st-head.is-edit .st-ed { padding: 0 3px; margin: 0 -3px; }
13881
+ .st-ed:hover { background: rgba(46,178,115,.05); }
13882
+ .st-ed:focus { background: rgba(46,178,115,.05); }
13883
+ .st-ed[data-empty="true"]::before { content: attr(data-ph); color: var(--pbd-faint); font-style: italic; opacity: .7; }
13884
+ .st-ed-inline[data-empty="true"]::before { content: attr(data-ph); opacity: .6; font-style: italic; }
13885
+ .st-ed-inline { cursor: text; border-radius: 3px; outline: none; padding: 0 2px; transition: box-shadow var(--dur-fast), background var(--dur-fast); }
13886
+ .st-foot-band .st-ed-inline:hover { background: rgba(255,255,255,.22); }
13887
+ .st-foot-band .st-ed-inline:focus { background: rgba(255,255,255,.28); box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
13888
+ .st-foot-contact .st-ed-inline:hover, .st-foot-meta .st-ed-inline:hover { background: rgba(46,178,115,.12); box-shadow: 0 0 0 1px rgba(46,178,115,.45); }
13889
+ .st-foot-contact .st-ed-inline:focus, .st-foot-meta .st-ed-inline:focus { background: rgba(46,178,115,.06); box-shadow: 0 0 0 1.5px var(--brand-green); }
13890
+
13891
+ /* ── logo replace slot on the canvas (edit mode) ──────────────── */
13892
+ .st-logo-slot { position: relative; display: inline-flex; align-items: center; cursor: pointer; border-radius: var(--r-sm); }
13893
+ .st-logo-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
13894
+ .st-logo-slot .st-logo-hint { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px;
13895
+ display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 9px; font-weight: 600; color: #fff;
13896
+ background: var(--n-900); padding: 3px 7px; border-radius: var(--r-full); opacity: 0; pointer-events: none; transition: opacity var(--dur-fast); z-index: 5; }
13897
+ .st-logo-slot .st-logo-hint svg { width: 10px; height: 10px; }
13898
+ .st-logo-slot:hover { box-shadow: 0 0 0 2px rgba(46,178,115,.5); }
13899
+ .st-logo-slot:hover .st-logo-hint { opacity: 1; }
13900
+
13901
+ /* ── logo upload control in the rail ──────────────────────────── */
13902
+ .st-logo-up { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) 0 var(--s-2); }
13903
+ .st-logo-up-preview { width: 78px; height: 46px; flex-shrink: 0; border: 1px solid var(--border-subtle); border-radius: var(--r-md);
13904
+ background: var(--surface-muted); display: grid; place-items: center; padding: 6px; }
13905
+ .st-logo-up-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
13906
+ .st-logo-up-actions { display: flex; flex-direction: column; gap: var(--s-2); }
13907
+ .cx-btn { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); height: 30px; padding: 0 var(--s-4);
13908
+ border-radius: var(--r-md); font-size: var(--text-xs); font-weight: 600; color: #fff; background: var(--n-900); cursor: pointer; white-space: nowrap; }
13909
+ .cx-btn:hover { background: var(--n-800); }
13910
+ .cx-btn svg { width: 13px; height: 13px; }
13911
+ .cx-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
13912
+ .cx-btn--ghost { background: var(--surface-muted); color: var(--text-secondary); border: 1px solid var(--border-subtle); }
13913
+ .cx-btn--ghost:hover { background: var(--surface-sunken); color: var(--text-primary); }
13914
+ .cx-btn--sm { height: 28px; }
13915
+
13916
+ /* ── stationery PRESET bar (top bar of the Master editor) ─────── */
13917
+ .st-presetbar { display: inline-flex; align-items: center; gap: var(--s-2); }
13918
+ .st-preset-pick { position: relative; display: inline-flex; align-items: center; }
13919
+ .st-preset-select { -webkit-appearance: none; appearance: none; height: 30px; max-width: 190px; padding: 0 26px 0 11px;
13920
+ border-radius: var(--r-md); border: 1px solid var(--border-subtle); background: var(--surface-muted); cursor: pointer;
13921
+ font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); text-overflow: ellipsis; }
13922
+ .st-preset-select:hover { background: var(--surface-sunken); }
13923
+ .st-preset-caret { position: absolute; right: 8px; width: 13px; height: 13px; color: var(--text-tertiary); pointer-events: none; }
13924
+ .st-preset-name { height: 30px; width: 168px; padding: 0 10px; border-radius: var(--r-md);
13925
+ border: 1px solid transparent; background: transparent; font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); }
13926
+ .st-preset-name:hover { border-color: var(--border-subtle); background: var(--surface-muted); }
13927
+ .st-preset-name:focus { border-color: var(--brand-green); background: var(--surface-raised); box-shadow: 0 0 0 3px var(--green-100, rgba(46,178,115,.18)); outline: none; }
13928
+ .st-preset-acts { display: inline-flex; gap: 2px; }
13929
+ .st-preset-acts button { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center;
13930
+ color: var(--text-tertiary); }
13931
+ .st-preset-acts button:hover { background: var(--surface-sunken); color: var(--text-primary); }
13932
+ .st-preset-acts button:disabled { opacity: .35; pointer-events: none; }
13933
+ .st-preset-acts button svg { width: 14px; height: 14px; }
13934
+ .st-preset-acts button:last-child:hover { background: var(--danger-bg); color: var(--danger); }
13935
+ .pb-bar-stat-count { font-size: var(--text-2_5xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
13936
+ color: var(--text-quaternary); padding: 0 var(--s-2); }
13937
+
13938
+ /* ── builder toolbar: stationery picker dropdown ─────────────── */
13939
+ /* lift the top bar above the floating lens pill (z-popover) so the
13940
+ stationery dropdown isn't painted over by the Edit/Preview controls */
13941
+ .pb-bar { z-index: var(--z-tooltip); }
13942
+ .pb-stnpick { position: relative; }
13943
+ .pb-stnpick-btn { display: inline-flex; align-items: center; gap: var(--s-2); height: 30px; max-width: 220px; padding: 0 8px 0 10px;
13944
+ border-radius: var(--r-md); border: 1px solid var(--border-subtle); background: var(--surface-muted);
13945
+ font-size: var(--text-xs); font-weight: 600; color: var(--text-primary); cursor: pointer; }
13946
+ .pb-stnpick-btn:hover { background: var(--surface-sunken); }
13947
+ .pb-stnpick-btn.is-open { border-color: var(--brand-green); box-shadow: 0 0 0 3px var(--green-100, rgba(46,178,115,.16)); }
13948
+ .pb-stnpick-btn > svg { width: 13px; height: 13px; color: var(--text-tertiary); flex-shrink: 0; }
13949
+ .pb-stnpick-btn > svg:last-child { color: var(--text-quaternary); }
13950
+ .pb-stnpick-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
13951
+ .pb-stnpick-dot { width: 11px; height: 11px; border-radius: var(--r-full); flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
13952
+
13953
+ .pb-stnpick-menu { position: absolute; top: calc(100% + 6px); right: 0; width: 288px; z-index: 60;
13954
+ background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-lg);
13955
+ box-shadow: var(--shadow-lg, 0 16px 40px rgba(0,0,0,.18)); padding: var(--s-2); }
13956
+ .pb-stnpick-grp { font-size: var(--text-2_5xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
13957
+ color: var(--text-quaternary); padding: var(--s-3) var(--s-3) var(--s-2); }
13958
+ .pb-stnpick-grp:not(:first-child) { border-top: 1px solid var(--border-subtle); margin-top: var(--s-2); }
13959
+ .pb-stnpick-item { display: flex; align-items: center; gap: var(--s-3); width: 100%; padding: var(--s-2) var(--s-3);
13960
+ border-radius: var(--r-md); text-align: left; cursor: pointer; color: var(--text-primary); }
13961
+ .pb-stnpick-item:hover { background: var(--surface-muted); }
13962
+ .pb-stnpick-item.is-sel { background: var(--green-50, rgba(46,178,115,.08)); }
13963
+ .pb-stnpick-item > .pb-stnpick-dot { margin: 2px 1px; }
13964
+ .pb-stnpick-ic { width: 13px; display: grid; place-items: center; color: var(--text-tertiary); }
13965
+ .pb-stnpick-ic svg { width: 14px; height: 14px; }
13966
+ .pb-stnpick-itemt { flex: 1; display: flex; flex-direction: column; font-size: var(--text-sm); font-weight: 600; line-height: 1.2; min-width: 0; }
13967
+ .pb-stnpick-itemt small { font-size: var(--text-2_5xs); font-weight: 500; color: var(--text-tertiary); margin-top: 2px;
13968
+ text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
13969
+ .pb-stnpick-item > svg { width: 15px; height: 15px; color: var(--brand-green); flex-shrink: 0; }
13970
+ .pb-stnpick-foot { border-top: 1px solid var(--border-subtle); margin-top: var(--s-2); padding-top: var(--s-2); }
13971
+ .pb-stnpick-foot button { display: flex; align-items: center; gap: var(--s-2); width: 100%; padding: var(--s-2) var(--s-3);
13972
+ border-radius: var(--r-md); font-size: var(--text-xs); font-weight: 600; color: var(--text-secondary); cursor: pointer; }
13973
+ .pb-stnpick-foot button:hover { background: var(--surface-muted); color: var(--text-primary); }
13974
+ .pb-stnpick-foot button svg { width: 14px; height: 14px; color: var(--text-tertiary); }
13975
+
13976
+ /* ── builder: body masthead/footer SUPPRESSED when a stationery owns them ──
13977
+ Every template body ships with its own .pbd-lh company letterhead and
13978
+ .pbd-foot footer. When the document uses a Stationery preset / Pre-printed
13979
+ / Blank, the stationery (or nothing) provides those — so we hide the body's
13980
+ built-in company block + footer but KEEP the doc-type/number bar. Applied to
13981
+ the live pages AND the off-screen measure surface so pagination stays exact. */
13982
+ .pb-stn .pbd-lh .pbd-logo,
13983
+ .pb-stn .pbd-lh .pbd-lh-co { display: none !important; }
13984
+ .pb-stn .pbd-lh { border-bottom: none; padding-bottom: 0; margin-bottom: 2px; gap: 0; }
13985
+ .pb-stn .pbd-lh-doc { text-align: left; }
13986
+ .pb-stn .pbd-foot { display: none !important; }
13987
+
13988
+ /* mode segmented in the top bar */
13989
+ .st-mode { display: inline-flex; background: var(--surface-muted); border-radius: var(--r-md); padding: 2px; gap: 2px; }.st-mode button { height: 26px; padding: 0 var(--s-4); border-radius: var(--r-sm); font-size: var(--text-xs); font-weight: 600;
13990
+ color: var(--text-tertiary); display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap; }
13991
+ .st-mode button svg { width: 13px; height: 13px; }
13992
+ .st-mode button.is-active { background: var(--surface-raised); color: var(--text-primary); box-shadow: var(--shadow-xs); }
13993
+
13994
+ /* registration-items editor (rail) */
13995
+ .st-reg { display: flex; flex-direction: column; gap: var(--s-3); }
13996
+ .st-reg-row { display: flex; align-items: center; gap: var(--s-2); }
13997
+ .st-reg-row .cx-input { height: 28px; }
13998
+ .st-reg-row .st-reg-lbl { width: 92px; flex-shrink: 0; }
13999
+ .st-reg-del { width: 26px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-tertiary); flex-shrink: 0; }
14000
+ .st-reg-del:hover { background: var(--danger-bg); color: var(--danger); }
14001
+ .st-reg-del svg { width: 13px; height: 13px; }
14002
+
14003
+ /* rail brand-colour swatches incl. a custom picker */
14004
+ .st-brandsw { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: flex-end; align-items: center; }
14005
+ .st-brandsw .cx-swatch { width: 26px; height: 26px; }
14006
+ .st-brandsw .st-swatch-custom { position: relative; width: 26px; height: 26px; border-radius: var(--r-md); overflow: hidden;
14007
+ border: 1px dashed var(--border-strong); display: grid; place-items: center; cursor: pointer; }
14008
+ .st-brandsw .st-swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
14009
+ .st-brandsw .st-swatch-custom svg { width: 13px; height: 13px; color: var(--text-tertiary); }
14010
+
14011
+ /* preprinted hint card in rail */
14012
+ .st-prehint { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); margin: 0 0 var(--s-4); font-size: var(--text-xs);
14013
+ line-height: 1.5; color: var(--ai-fg-deep); background: var(--ai-bg); border-radius: var(--r-md); }
14014
+ .st-prehint svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
14015
+
14016
+ /* small caption under variant picker */
14017
+ .st-variantnote { font-size: var(--text-2_5xs); color: var(--text-quaternary); margin-top: var(--s-3); line-height: 1.4; }
14018
+
14019
+ /* print */
14020
+ @media print {
14021
+ /* A4 with NO browser margins → removes the date/title chrome AND keeps
14022
+ the 794×1123px page on a single sheet (no footer spilling to page 2) */
14023
+ @page { size: A4 portrait; margin: 0; }
14024
+ html, body { width: 794px; height: auto !important; margin: 0 !important; background: #fff !important; }
14025
+ .pb-bar, .pb-side, .st-toolbar, .st-stage > .st-toolbar, .pb-zoomfloat, .pb-toast, .pb-lensbar, .pb-lens { display: none !important; }
14026
+ .pb, .pb-work, .pb-stage, .st-stage, .pb-stage-scroll { display: block !important; height: auto !important; min-height: 0 !important; overflow: visible !important; background: #fff !important; padding: 0 !important; }
14027
+ .pb-zoomwrap { transform: none !important; margin: 0 !important; width: auto !important; }
14028
+ .pb-pages { gap: 0 !important; transform: none !important; }
14029
+ .pbd-page { box-shadow: none !important; margin: 0 !important; min-height: 1122px !important; break-after: page; page-break-after: always; }
14030
+ .pbd-page:last-child { break-after: auto; page-break-after: auto; }
14031
+ .st-ed, .st-ed-inline { box-shadow: none !important; background: none !important; }
14032
+ .st-logo-slot .st-logo-hint { display: none !important; }
14033
+ .st-reserve { background: none !important; border: none !important; }
14034
+ .st-reserve span { display: none !important; }
14035
+ .st-head, .st-foot-band, .pbd-items thead th, .pbd-tot-grand, .st-doctype, .pbd-status { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
14036
+ }
14037
+ .st-free-content {
14038
+ display: flex;
14039
+ align-items: center;
14040
+ justify-content: center;
14041
+ height: 100%;
14042
+ width: 100%;
14043
+ }
14044
+ .st-free-content > * {
14045
+ margin: 0 !important;
14046
+ width: 100% !important;
14047
+ box-sizing: border-box !important;
14048
+ word-break: break-word;
14049
+ pointer-events: none !important;
14050
+ }
14051
+ /* ═══════════════════════════════════════════════════════════════
14052
+ ERPForce Stationery — creative letterhead directions · v2
14053
+ Six distinct "letter pad" treatments, all on the same A4 sheet
14054
+ (794×1123) and the same brand kit:
14055
+ · green mark #2EB273 / deep #1A8A56 · ink #1A1F26
14056
+ · Inter (text) + JetBrains Mono (codes) + Noto Kufi Arabic (RTL)
14057
+ Each is a full pad: header + (blank body) + footer.
14058
+ ═══════════════════════════════════════════════════════════════ */
14059
+ :root {
14060
+ --lp-green: #2EB273;
14061
+ --lp-green-deep: #1A8A56;
14062
+ --lp-green-dark: #146B43;
14063
+ --lp-ink: #1A1F26;
14064
+ --lp-ink-soft: #3D4046;
14065
+ --lp-muted: #6D7178;
14066
+ --lp-faint: #9aa0a8;
14067
+ --lp-line: #e6e8eb;
14068
+ --lp-line-soft: #f0f1f3;
14069
+ --lp-mg: 64px; /* baseline content margin */
14070
+ }
14071
+
14072
+ /* the sheet */
14073
+ .lp { width: 794px; height: 1123px; background: #fff; position: relative; overflow: hidden;
14074
+ font-family: 'Inter', sans-serif; color: var(--lp-ink); display: flex; flex-direction: column;
14075
+ -webkit-font-smoothing: antialiased; }
14076
+ .lp * { box-sizing: border-box; }
14077
+ .lp-mono { font-family: 'JetBrains Mono', monospace; }
14078
+ .lp-ar { font-family: 'Noto Kufi Arabic', 'Tahoma', sans-serif; }
14079
+
14080
+ /* layering: decorative elements behind, content in front */
14081
+ .lp > * { position: relative; z-index: 1; }
14082
+ .lp > .lp-wm { position: absolute; z-index: 0; }
14083
+
14084
+ /* faint corner watermark shared by all — subtle, never over content */
14085
+ .lp-wm { position: absolute; inset: 0; pointer-events: none; }
14086
+ .lp-wm img { position: absolute; right: -60px; bottom: 88px; width: 360px; filter: grayscale(1); opacity: .035; }
14087
+
14088
+ /* the blank body area (where document content would flow) */
14089
+ .lp-body { flex: 1; position: relative; }
14090
+ .lp-bodyhint { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
14091
+ font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--lp-faint);
14092
+ opacity: .45; white-space: nowrap; }
14093
+
14094
+ .lp-logo { display: block; width: auto; }
14095
+ .lp-name-en { font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
14096
+ .lp-name-ar { font-weight: 600; line-height: 1.45; color: var(--lp-ink-soft); display: inline-block; }
14097
+
14098
+ /* ───────────────────────────────────────────────────────────────
14099
+ 1 · LEFT SPINE — a full-height colour spine carries the brand
14100
+ ─────────────────────────────────────────────────────────────── */
14101
+ .lp--spine { padding-left: 44px; }
14102
+ .lp--spine .sp-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 44px;
14103
+ background: linear-gradient(180deg, var(--lp-green), var(--lp-green-deep)); z-index: 2; }
14104
+ .lp--spine .sp-rail .sp-mark { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); width: 22px; }
14105
+ .lp--spine .sp-rail span { position: absolute; bottom: 40px; left: 50%; transform: translate(-50%,0) rotate(180deg);
14106
+ writing-mode: vertical-rl; color: rgba(255,255,255,.92); font-size: 8.5px; letter-spacing: .34em;
14107
+ text-transform: uppercase; font-weight: 600; }
14108
+ .lp--spine .sp-head { display: flex; justify-content: space-between; align-items: flex-start;
14109
+ padding: 70px 64px 0 40px; }
14110
+ .lp--spine .sp-logo { height: 38px; }
14111
+ .lp--spine .lp-name-en { font-size: 16px; }
14112
+ .lp--spine .lp-name-ar { font-size: 14px; margin-top: 3px; }
14113
+ .lp--spine .sp-head-r { text-align: right; padding-top: 2px; }
14114
+ .lp--spine .sp-tag { margin-top: 8px; font-size: 9px; color: var(--lp-green-deep); letter-spacing: .04em; }
14115
+ .lp--spine .sp-foot { padding: 0 64px 56px 40px; display: flex; justify-content: space-between;
14116
+ align-items: flex-end; gap: 24px; }
14117
+ .lp--spine .sp-foot::before { content: ''; position: absolute; left: 40px; right: 64px; top: -22px;
14118
+ height: 1px; background: var(--lp-line); }
14119
+ .lp--spine .sp-foot-l { font-size: 9px; color: var(--lp-muted); line-height: 1.85; }
14120
+ .lp--spine .sp-foot-r { font-size: 8.5px; color: var(--lp-faint); text-align: right; line-height: 1.85; letter-spacing: .03em; }
14121
+
14122
+ /* ───────────────────────────────────────────────────────────────
14123
+ 2 · MONOGRAM CREST — centred, formal, double-rule divider
14124
+ ─────────────────────────────────────────────────────────────── */
14125
+ .lp--crest { align-items: center; text-align: center; }
14126
+ .lp--crest .cr-head { padding: 78px 80px 0; display: flex; flex-direction: column; align-items: center;
14127
+ gap: 16px; width: 100%; }
14128
+ .lp--crest .cr-mark { width: 52px; }
14129
+ .lp--crest .lp-name-en { font-size: 22px; letter-spacing: .015em; }
14130
+ .lp--crest .lp-name-ar { font-size: 16px; margin-top: -2px; }
14131
+ .lp--crest .cr-rule { display: flex; align-items: center; gap: 14px; width: 300px; margin-top: 6px; }
14132
+ .lp--crest .cr-rule::before, .lp--crest .cr-rule::after { content: ''; height: 1px; flex: 1; background: var(--lp-line); }
14133
+ .lp--crest .cr-rule span { font-size: 8px; letter-spacing: .3em; text-transform: uppercase;
14134
+ color: var(--lp-green-deep); font-weight: 600; white-space: nowrap; }
14135
+ .lp--crest .cr-foot { width: 100%; padding: 0 80px 56px; display: flex; flex-direction: column;
14136
+ align-items: center; gap: 12px; }
14137
+ .lp--crest .cr-foot-rule { width: 64px; height: 2px; background: var(--lp-green); }
14138
+ .lp--crest .cr-reg { display: flex; gap: 22px; font-size: 9px; color: var(--lp-muted); letter-spacing: .02em; }
14139
+ .lp--crest .cr-reg b { color: var(--lp-ink); font-weight: 600; }
14140
+ .lp--crest .cr-contact { font-size: 8.5px; color: var(--lp-faint); letter-spacing: .05em; }
14141
+
14142
+ /* ───────────────────────────────────────────────────────────────
14143
+ 3 · COLOUR BLOCK — bold solid header, logo reversed white
14144
+ ─────────────────────────────────────────────────────────────── */
14145
+ .lp--block .bl-head { background: linear-gradient(120deg, var(--lp-green-deep), var(--lp-green));
14146
+ padding: 52px 64px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
14147
+ .lp--block .bl-mark { width: 46px; filter: brightness(0) invert(1); }
14148
+ .lp--block .bl-head-r { text-align: right; }
14149
+ .lp--block .lp-name-en { font-size: 20px; color: #fff; }
14150
+ .lp--block .lp-name-ar { font-size: 15px; color: rgba(255,255,255,.92); margin-top: 2px; }
14151
+ .lp--block .bl-tag { margin-top: 9px; font-size: 9px; color: rgba(255,255,255,.85);
14152
+ letter-spacing: .1em; text-transform: uppercase; }
14153
+ .lp--block .bl-foot { padding: 0 64px 52px; }
14154
+ .lp--block .bl-foot-rule { height: 3px; width: 56px; background: var(--lp-green); margin-bottom: 16px; }
14155
+ .lp--block .bl-foot-row { display: flex; justify-content: space-between; align-items: baseline;
14156
+ gap: 18px; font-size: 9px; color: var(--lp-muted); letter-spacing: .02em; }
14157
+ .lp--block .bl-foot-row b { color: var(--lp-ink); font-weight: 600; }
14158
+
14159
+ /* ───────────────────────────────────────────────────────────────
14160
+ 4 · HAIRLINE MINIMAL — Swiss, one rule, lots of air
14161
+ ─────────────────────────────────────────────────────────────── */
14162
+ .lp--min .mn-head { padding: 72px 64px 20px; display: flex; justify-content: space-between; align-items: flex-end; }
14163
+ .lp--min .mn-logo { width: 92px; }
14164
+ .lp--min .mn-head-r { text-align: right; }
14165
+ .lp--min .lp-name-en { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
14166
+ .lp--min .lp-name-ar { font-size: 12px; margin-top: 3px; font-weight: 500; }
14167
+ .lp--min .mn-rule { height: 1px; background: var(--lp-ink); margin: 0 64px; }
14168
+ .lp--min .mn-foot { padding: 18px 64px 56px; display: flex; justify-content: space-between; align-items: flex-end; }
14169
+ .lp--min .mn-foot-rule { height: 1px; background: var(--lp-line); margin: 0 64px 18px; }
14170
+ .lp--min .mn-foot-l, .lp--min .mn-foot-r { font-size: 8.5px; color: var(--lp-faint); letter-spacing: .07em; line-height: 1.9; }
14171
+ .lp--min .mn-foot-r { text-align: right; }
14172
+ .lp--min .mn-dot { color: var(--lp-green); }
14173
+
14174
+ /* ───────────────────────────────────────────────────────────────
14175
+ 5 · CORNER ACCENT — geometric angled shape, modern
14176
+ ─────────────────────────────────────────────────────────────── */
14177
+ .lp--corner .cn-shape { position: absolute; top: 0; right: 0; width: 260px; height: 188px; z-index: 0;
14178
+ background: linear-gradient(135deg, var(--lp-green) 0%, var(--lp-green-deep) 100%);
14179
+ clip-path: polygon(100% 0, 100% 100%, 0 0); }
14180
+ .lp--corner .cn-shape2 { position: absolute; top: 0; right: 0; width: 140px; height: 140px; z-index: 0;
14181
+ background: rgba(255,255,255,.16); clip-path: polygon(100% 0, 100% 100%, 0 0); }
14182
+ .lp--corner .cn-head { padding: 76px 64px 0; }
14183
+ .lp--corner .cn-logo { width: 118px; margin-bottom: 18px; }
14184
+ .lp--corner .lp-name-en { font-size: 18px; }
14185
+ .lp--corner .lp-name-ar { font-size: 14px; margin-top: 2px; }
14186
+ .lp--corner .cn-tag { margin-top: 9px; font-size: 9px; color: var(--lp-green-deep); letter-spacing: .04em; }
14187
+ .lp--corner .cn-foot { padding: 0 64px 56px; display: flex; align-items: center; gap: 16px; }
14188
+ .lp--corner .cn-foot-bar { width: 32px; height: 32px; flex-shrink: 0; background: var(--lp-green);
14189
+ clip-path: polygon(0 0, 100% 100%, 0 100%); }
14190
+ .lp--corner .cn-foot-txt { font-size: 9px; color: var(--lp-muted); line-height: 1.75; letter-spacing: .02em; }
14191
+ .lp--corner .cn-foot-txt b { color: var(--lp-ink); font-weight: 600; }
14192
+
14193
+ /* ───────────────────────────────────────────────────────────────
14194
+ 6 · INDUSTRIAL MONO — technical, monospace, full footer band
14195
+ ─────────────────────────────────────────────────────────────── */
14196
+ .lp--mono .mo-head { padding: 64px 64px 0; }
14197
+ .lp--mono .mo-top { display: flex; align-items: center; gap: 20px; }
14198
+ .lp--mono .mo-logo { width: 104px; }
14199
+ .lp--mono .mo-id { border-left: 2px solid var(--lp-green); padding-left: 18px; }
14200
+ .lp--mono .lp-name-en { font-size: 17px; }
14201
+ .lp--mono .lp-name-ar { font-size: 13px; margin-top: 2px; }
14202
+ .lp--mono .mo-meta { margin-top: 22px; display: flex; gap: 0; border: 1px solid var(--lp-line);
14203
+ border-radius: 8px; overflow: hidden; }
14204
+ .lp--mono .mo-meta div { flex: 1; padding: 11px 16px; border-right: 1px solid var(--lp-line); }
14205
+ .lp--mono .mo-meta div:last-child { border-right: 0; }
14206
+ .lp--mono .mo-meta .k { font-size: 7px; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-faint); }
14207
+ .lp--mono .mo-meta .v { font-size: 10px; color: var(--lp-ink); margin-top: 3px; }
14208
+ .lp--mono .mo-foot-band { background: var(--lp-ink); color: #fff; padding: 14px 64px;
14209
+ display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 8.5px;
14210
+ letter-spacing: .06em; }
14211
+ .lp--mono .mo-foot-band .g { color: var(--lp-green); }
14212
+ .lp--mono .mo-foot-contact { padding: 11px 64px 0; font-size: 8.5px; color: var(--lp-faint);
14213
+ text-align: center; letter-spacing: .06em; }
14214
+ .black-outlined-btn {
14215
+ color: #1f2125 !important;
9892
14216
  }.companySelectionModal--Divider {
9893
- border-color: #eeeff1;
14217
+ border-color: #d3d3d4;
9894
14218
  }
9895
14219
  .companySelectionModal--DialogTitle {
9896
- border-bottom: 1px solid #d3d3d4;
14220
+ border-bottom: 1px solid #bdbebf;
9897
14221
  }
9898
14222
  .companySelectionModal--SectionTitle {
9899
14223
  padding-left: 1.5rem;
@@ -9904,36 +14228,298 @@ th .hbs-placeholder {
9904
14228
  .companySelectionModal--DialogAction {
9905
14229
  justify-content: flex-end !important;
9906
14230
  padding: 0.5rem 1.5rem !important;
9907
- background-color: #eeeff1;
14231
+ background-color: #d3d3d4;
9908
14232
  }
9909
14233
  .companySelectionModal--DialogAction--WhiteBtn {
9910
14234
  background-color: #fff !important;
9911
14235
  color: #1f2125;
9912
- }.black-outlined-btn {
9913
- color: #1f2125 !important;
9914
- }.companySelectionModal--Divider {
9915
- border-color: #eeeff1;
14236
+ }.templates {
14237
+ padding: 0rem 2rem;
14238
+ width: 100%;
14239
+ }.editSectionModal--Divider {
14240
+ border-color: #d3d3d4;
9916
14241
  }
9917
- .companySelectionModal--DialogTitle {
9918
- border-bottom: 1px solid #d3d3d4;
14242
+ .editSectionModal--DialogTitle {
14243
+ padding: 0.75rem 1.5rem !important;
14244
+ border-bottom: 1px solid #bdbebf;
9919
14245
  }
9920
- .companySelectionModal--SectionTitle {
14246
+ .editSectionModal--SectionTitle {
9921
14247
  padding-left: 1.5rem;
9922
14248
  }
9923
- .companySelectionModal--DialogContents {
14249
+ .editSectionModal--DialogContents {
9924
14250
  padding: 1.5rem !important;
9925
14251
  }
9926
- .companySelectionModal--DialogAction {
14252
+ .editSectionModal--DialogAction {
9927
14253
  justify-content: flex-end !important;
9928
14254
  padding: 0.5rem 1.5rem !important;
9929
- background-color: #eeeff1;
14255
+ background-color: #d3d3d4;
9930
14256
  }
9931
- .companySelectionModal--DialogAction--WhiteBtn {
14257
+ .editSectionModal--DialogAction--WhiteBtn {
9932
14258
  background-color: #fff !important;
9933
14259
  color: #1f2125;
9934
- }.templates {
9935
- padding: 0rem 2rem;
9936
- width: 100%;
14260
+ }.pbtn {
14261
+ display: inline-flex;
14262
+ align-items: center;
14263
+ gap: var(--s-3);
14264
+ height: 30px;
14265
+ padding: 0 var(--s-5);
14266
+ border-radius: var(--r-md);
14267
+ font-size: var(--text-sm);
14268
+ font-weight: 500;
14269
+ color: var(--text-secondary);
14270
+ border: 1px solid var(--border-default);
14271
+ background: var(--surface-raised);
14272
+ white-space: nowrap;
14273
+ transition: background var(--dur-fast), border-color var(--dur-fast);
14274
+ cursor: pointer;
14275
+ font-family: var(--font-sans);
14276
+ }
14277
+
14278
+ .pbtn svg {
14279
+ width: 14px;
14280
+ height: 14px;
14281
+ }
14282
+
14283
+ .pbtn:hover {
14284
+ background: var(--surface-hover);
14285
+ color: var(--text-primary);
14286
+ }
14287
+
14288
+ .pbtn--primary {
14289
+ background: var(--color-action);
14290
+ border-color: transparent;
14291
+ color: var(--color-on-action);
14292
+ box-shadow: var(--shadow-sm);
14293
+ }
14294
+
14295
+ .pbtn--primary:hover {
14296
+ background: var(--color-action-hover);
14297
+ color: var(--color-on-action);
14298
+ }
14299
+
14300
+ .pbtn--ghost {
14301
+ border-color: transparent;
14302
+ background: transparent;
14303
+ }
14304
+
14305
+ .pbtn--ghost:hover {
14306
+ background: var(--surface-hover);
14307
+ }
14308
+
14309
+ .pbtn--sm {
14310
+ height: 26px;
14311
+ padding: 0 var(--s-4);
14312
+ font-size: var(--text-xs);
14313
+ }
14314
+
14315
+ .pbtn:disabled {
14316
+ opacity: 0.45;
14317
+ cursor: not-allowed;
14318
+ }
14319
+
14320
+ .pb-seg {
14321
+ display: inline-flex;
14322
+ background: var(--surface-muted);
14323
+ border-radius: var(--r-md);
14324
+ padding: 2px;
14325
+ gap: 2px;
14326
+ }
14327
+
14328
+ .pb-seg button {
14329
+ height: 24px;
14330
+ padding: 0 var(--s-4);
14331
+ border-radius: var(--r-sm);
14332
+ font-size: var(--text-xs);
14333
+ font-weight: 500;
14334
+ color: var(--text-tertiary);
14335
+ display: inline-flex;
14336
+ align-items: center;
14337
+ gap: var(--s-2);
14338
+ background: transparent;
14339
+ border: none;
14340
+ cursor: pointer;
14341
+ font-family: var(--font-sans);
14342
+ }
14343
+
14344
+ .pb-seg button svg {
14345
+ width: 12px;
14346
+ height: 12px;
14347
+ }
14348
+
14349
+ .pb-seg button.is-active {
14350
+ background: var(--surface-raised);
14351
+ color: var(--text-primary);
14352
+ box-shadow: var(--shadow-xs);
14353
+ font-weight: 600;
14354
+ }
14355
+
14356
+ .pb-seg button:not(.is-active):hover {
14357
+ color: var(--text-secondary);
14358
+ }
14359
+
14360
+ .pb-lens {
14361
+ display: inline-flex;
14362
+ background: rgba(20, 23, 27, 0.82);
14363
+ backdrop-filter: blur(6px);
14364
+ border-radius: var(--r-full);
14365
+ padding: 3px;
14366
+ box-shadow: var(--shadow-lg);
14367
+ flex-shrink: 0;
14368
+ }
14369
+
14370
+ .pb-lens button {
14371
+ display: inline-flex;
14372
+ align-items: center;
14373
+ gap: var(--s-2);
14374
+ height: 28px;
14375
+ padding: 0 var(--s-5);
14376
+ border-radius: var(--r-full);
14377
+ font-size: var(--text-xs);
14378
+ font-weight: 600;
14379
+ color: #c4c7cb;
14380
+ white-space: nowrap;
14381
+ background: transparent;
14382
+ border: none;
14383
+ cursor: pointer;
14384
+ font-family: var(--font-sans);
14385
+ }
14386
+
14387
+ .pb-lens button svg {
14388
+ width: 13px;
14389
+ height: 13px;
14390
+ }
14391
+
14392
+ .pb-lens button.is-active {
14393
+ background: #fff;
14394
+ color: var(--n-900);
14395
+ }
14396
+
14397
+ .pb-bar-stat {
14398
+ display: inline-flex;
14399
+ align-items: center;
14400
+ gap: var(--s-2);
14401
+ font-size: var(--text-xs);
14402
+ font-weight: 600;
14403
+ padding: 3px 9px;
14404
+ border-radius: var(--r-full);
14405
+ margin-left: var(--s-2);
14406
+ white-space: nowrap;
14407
+ }
14408
+
14409
+ .pb-bar-stat svg {
14410
+ width: 12px;
14411
+ height: 12px;
14412
+ }
14413
+
14414
+ .pb-bar-stat.is-dirty {
14415
+ color: var(--warning-fg-strong);
14416
+ background: var(--warning-bg);
14417
+ }
14418
+
14419
+ .pb-bar-dirty {
14420
+ color: var(--warning);
14421
+ display: grid;
14422
+ place-items: center;
14423
+ }
14424
+
14425
+ .pb-bar-dirty svg {
14426
+ width: 12px;
14427
+ height: 12px;
14428
+ }
14429
+
14430
+ .cx-switch {
14431
+ width: 34px;
14432
+ height: 20px;
14433
+ border-radius: var(--r-full);
14434
+ background: var(--n-200);
14435
+ position: relative;
14436
+ transition: background var(--dur-base);
14437
+ flex-shrink: 0;
14438
+ border: none;
14439
+ cursor: pointer;
14440
+ display: inline-block;
14441
+ padding: 0;
14442
+ }
14443
+
14444
+ .cx-switch.is-on {
14445
+ background: var(--brand-green);
14446
+ }
14447
+
14448
+ .cx-switch-dot {
14449
+ position: absolute;
14450
+ top: 2px;
14451
+ left: 2px;
14452
+ width: 16px;
14453
+ height: 16px;
14454
+ border-radius: 50%;
14455
+ background: #fff;
14456
+ box-shadow: var(--shadow-sm);
14457
+ transition: transform var(--dur-base) var(--ease-out);
14458
+ }
14459
+
14460
+ .cx-switch.is-on .cx-switch-dot {
14461
+ transform: translateX(14px);
14462
+ }
14463
+
14464
+ .st-sample-tg {
14465
+ display: flex;
14466
+ align-items: center;
14467
+ gap: var(--s-3);
14468
+ border-radius: var(--r-full);
14469
+ padding-right: var(--s-4);
14470
+ background: transparent;
14471
+ border: none;
14472
+ font: inherit;
14473
+ color: inherit;
14474
+ cursor: pointer;
14475
+ }
14476
+
14477
+ .st-docchips {
14478
+ display: flex;
14479
+ gap: 4px;
14480
+ align-items: center;
14481
+ margin-left: var(--s-2);
14482
+ }
14483
+
14484
+ .st-docchip {
14485
+ display: inline-flex;
14486
+ align-items: center;
14487
+ gap: 5px;
14488
+ height: 28px;
14489
+ padding: 0 11px;
14490
+ border-radius: var(--r-full);
14491
+ font-size: var(--text-xs);
14492
+ font-weight: 600;
14493
+ color: var(--text-secondary);
14494
+ background: var(--surface-muted);
14495
+ border: 1px solid var(--border-subtle);
14496
+ white-space: nowrap;
14497
+ cursor: pointer;
14498
+ transition: all var(--dur-fast);
14499
+ }
14500
+
14501
+ .st-docchip svg {
14502
+ width: 14px;
14503
+ height: 14px;
14504
+ color: inherit;
14505
+ }
14506
+
14507
+ .st-docchip:hover {
14508
+ background: var(--surface-sunken);
14509
+ color: var(--text-primary);
14510
+ }
14511
+
14512
+ .st-docchip.is-active {
14513
+ background: var(--n-900);
14514
+ color: #fff;
14515
+ border-color: var(--n-900);
14516
+ }
14517
+
14518
+ .st-docchip-dot {
14519
+ width: 8px;
14520
+ height: 8px;
14521
+ border-radius: 50%;
14522
+ flex-shrink: 0;
9937
14523
  }.dashboard-heading {
9938
14524
  margin-bottom: 1.5rem;
9939
14525
  }