@redacto.io/consent-sdk-react 5.2.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/.turbo/turbo-build.log +24 -0
  2. package/CHANGELOG.md +12 -0
  3. package/dist/index.d.mts +24 -1
  4. package/dist/index.d.ts +24 -1
  5. package/dist/index.js +149 -206
  6. package/dist/index.mjs +148 -206
  7. package/dist/privacy-center.d.mts +178 -39
  8. package/dist/privacy-center.d.ts +178 -39
  9. package/dist/privacy-center.js +10534 -6795
  10. package/dist/privacy-center.mjs +7922 -4181
  11. package/package.json +1 -1
  12. package/src/RedactoNoticeConsent/RedactoNoticeConsent.tsx +16 -20
  13. package/src/RedactoNoticeConsent/api/index.ts +21 -103
  14. package/src/RedactoNoticeConsentInline/RedactoNoticeConsentInline.tsx +5 -4
  15. package/src/RedactoNoticeConsentInline/api/index.ts +64 -117
  16. package/src/RedactoPrivacyCenter/NotificationsPage.tsx +174 -0
  17. package/src/RedactoPrivacyCenter/PrivacyCenterHomePage.tsx +3 -0
  18. package/src/RedactoPrivacyCenter/api/actions.ts +136 -8
  19. package/src/RedactoPrivacyCenter/api/client.ts +176 -15
  20. package/src/RedactoPrivacyCenter/components/ConsentManager.tsx +722 -273
  21. package/src/RedactoPrivacyCenter/components/ConsentManagerCells.tsx +187 -0
  22. package/src/RedactoPrivacyCenter/components/ConsentManagerColumns.tsx +65 -165
  23. package/src/RedactoPrivacyCenter/components/ConsentManagerExpandedRow.tsx +179 -0
  24. package/src/RedactoPrivacyCenter/components/ConsentManagerGroupedColumns.tsx +318 -0
  25. package/src/RedactoPrivacyCenter/components/ConsentManagerProductCards.tsx +333 -0
  26. package/src/RedactoPrivacyCenter/components/ConsentManagerPurposeCards.tsx +102 -0
  27. package/src/RedactoPrivacyCenter/components/ConsentManagerTableSkeleton.tsx +6 -2
  28. package/src/RedactoPrivacyCenter/components/DataRequest/PurposeSelectionSection.tsx +15 -0
  29. package/src/RedactoPrivacyCenter/components/ModifyConsentModal.tsx +8 -5
  30. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationBell.tsx +160 -0
  31. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationCTAButton.tsx +18 -0
  32. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationDropdown.tsx +54 -0
  33. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationDropdownItem.tsx +57 -0
  34. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationIcon.tsx +19 -0
  35. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationListPanel.tsx +92 -0
  36. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationRefreshButton.tsx +20 -0
  37. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationRow.tsx +58 -0
  38. package/src/RedactoPrivacyCenter/components/NotificationHub/StatCard.tsx +10 -0
  39. package/src/RedactoPrivacyCenter/components/NotificationHub/useNotificationActions.ts +112 -0
  40. package/src/RedactoPrivacyCenter/components/NotificationHub/utils.ts +27 -0
  41. package/src/RedactoPrivacyCenter/components/PrivacyCenterLayout.tsx +105 -55
  42. package/src/RedactoPrivacyCenter/components/types.ts +2 -5
  43. package/src/RedactoPrivacyCenter/context/NavigationContext.tsx +2 -2
  44. package/src/RedactoPrivacyCenter/context/PageChromeContext.tsx +21 -1
  45. package/src/RedactoPrivacyCenter/lib/api.ts +147 -28
  46. package/src/RedactoPrivacyCenter/lib/consent-manager/utils.tsx +4 -2
  47. package/src/RedactoPrivacyCenter/lib/constants.ts +78 -1
  48. package/src/RedactoPrivacyCenter/lib/types.ts +205 -36
  49. package/src/RedactoPrivacyCenter/lib/utils.ts +3 -0
  50. package/src/RedactoPrivacyCenter/locales/as/translation.json +12 -1
  51. package/src/RedactoPrivacyCenter/locales/bho/translation.json +12 -1
  52. package/src/RedactoPrivacyCenter/locales/bn/translation.json +12 -1
  53. package/src/RedactoPrivacyCenter/locales/brx/translation.json +12 -1
  54. package/src/RedactoPrivacyCenter/locales/doi/translation.json +12 -1
  55. package/src/RedactoPrivacyCenter/locales/en/translation.json +42 -1
  56. package/src/RedactoPrivacyCenter/locales/gom/translation.json +12 -1
  57. package/src/RedactoPrivacyCenter/locales/gu/translation.json +12 -1
  58. package/src/RedactoPrivacyCenter/locales/hi/translation.json +15 -1
  59. package/src/RedactoPrivacyCenter/locales/kn/translation.json +12 -1
  60. package/src/RedactoPrivacyCenter/locales/ks/translation.json +12 -1
  61. package/src/RedactoPrivacyCenter/locales/mai/translation.json +12 -1
  62. package/src/RedactoPrivacyCenter/locales/ml/translation.json +12 -1
  63. package/src/RedactoPrivacyCenter/locales/mni-Mtei/translation.json +12 -1
  64. package/src/RedactoPrivacyCenter/locales/mr/translation.json +12 -1
  65. package/src/RedactoPrivacyCenter/locales/ne/translation.json +12 -1
  66. package/src/RedactoPrivacyCenter/locales/or/translation.json +12 -1
  67. package/src/RedactoPrivacyCenter/locales/pa/translation.json +12 -1
  68. package/src/RedactoPrivacyCenter/locales/sa/translation.json +12 -1
  69. package/src/RedactoPrivacyCenter/locales/sat/translation.json +12 -1
  70. package/src/RedactoPrivacyCenter/locales/sd/translation.json +12 -1
  71. package/src/RedactoPrivacyCenter/locales/ta/translation.json +12 -1
  72. package/src/RedactoPrivacyCenter/locales/te/translation.json +12 -1
  73. package/src/RedactoPrivacyCenter/locales/ur/translation.json +12 -1
  74. package/src/RedactoPrivacyCenter/styles/injectStyles.ts +1027 -0
  75. package/src/RedactoPrivacyCenter/styles/variables.css +5 -0
  76. package/src/RedactoPrivacyCenter/table/AdvancedTable.tsx +36 -16
  77. package/src/RedactoPrivacyCenter/table/AdvancedTablePagination.tsx +4 -12
  78. package/src/RedactoPrivacyCenter/ui/PCInput.tsx +1 -1
  79. package/src/RedactoPrivacyCenter/ui/PCPopover.tsx +23 -1
  80. package/src/RedactoPrivacyCenter/ui/PCSelect.tsx +51 -5
  81. package/src/RedactoPrivacyCenter/ui/ThemeToggle.tsx +2 -4
  82. package/src/index.ts +5 -0
  83. package/src/privacy-center.ts +8 -3
  84. package/src/shared/api-errors.ts +171 -0
@@ -100,6 +100,8 @@ export const injectPCStyles = () => {
100
100
  --pc-z-popover: 1060;
101
101
  --pc-z-tooltip: 1070;
102
102
  --pc-icon-filter: 0;
103
+ --pc-consent-toolbar-control-height: 2rem;
104
+ --pc-navbar-actions-control-height: var(--pc-consent-toolbar-control-height);
103
105
  --pc-sidebar-mobile-width: 280px;
104
106
  --pc-sidebar-collapsed-width: 80px;
105
107
  --pc-sidebar-expanded-width: 300px;
@@ -135,6 +137,8 @@ export const injectPCStyles = () => {
135
137
  --pc-border-color-focus: #60a5fa;
136
138
  --pc-sidebar-shadow: 14px 0 36px rgba(2, 6, 23, 0.42), 1px 0 0 rgba(148, 163, 184, 0.08);
137
139
  --pc-icon-filter: 1;
140
+ --pc-consent-toolbar-control-height: 2rem;
141
+ --pc-navbar-actions-control-height: var(--pc-consent-toolbar-control-height);
138
142
  }
139
143
  `;
140
144
  document.head.appendChild(variablesStyle);
@@ -970,6 +974,516 @@ export const injectPCStyles = () => {
970
974
  }
971
975
  }
972
976
 
977
+ .pc-navbar-actions {
978
+ align-items: center !important;
979
+ }
980
+ .pc-navbar-language-select {
981
+ width: auto !important;
982
+ min-width: 120px !important;
983
+ max-width: min(65vw, 320px) !important;
984
+ }
985
+ .pc-navbar-language-select .pc-select {
986
+ box-sizing: border-box !important;
987
+ height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
988
+ min-height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
989
+ max-height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
990
+ padding: 0 0.625rem !important;
991
+ border-color: var(--pc-border-color) !important;
992
+ border-radius: 0.5rem !important;
993
+ background-color: var(--pc-bg-primary) !important;
994
+ box-shadow: none !important;
995
+ font-size: 0.8125rem !important;
996
+ line-height: 1 !important;
997
+ }
998
+ .pc-navbar-language-select .pc-select > span:nth-child(2) {
999
+ line-height: 1.25 !important;
1000
+ }
1001
+ .pc-navbar-language-select .pc-select svg {
1002
+ width: 12px;
1003
+ height: 12px;
1004
+ }
1005
+ .pc-navbar-icon-btn {
1006
+ box-sizing: border-box !important;
1007
+ width: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
1008
+ height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
1009
+ min-width: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
1010
+ min-height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem)) !important;
1011
+ border: 1px solid var(--pc-border-color) !important;
1012
+ border-radius: 0.5rem !important;
1013
+ background-color: var(--pc-bg-primary) !important;
1014
+ color: var(--pc-text-primary) !important;
1015
+ padding: 0 !important;
1016
+ }
1017
+ .pc-navbar-icon-btn:hover:not(:disabled) {
1018
+ background-color: var(--pc-bg-hover) !important;
1019
+ border-color: var(--pc-border-color-hover) !important;
1020
+ }
1021
+
1022
+ /* Manage Consent specific shell + table polish */
1023
+ .pc-consent-manager-surface {
1024
+ width: 100%;
1025
+ margin: 0;
1026
+ padding-top: 0.25rem;
1027
+ }
1028
+ .pc-consent-shell-card .pc-consent-tabs-row {
1029
+ align-items: center !important;
1030
+ justify-content: space-between !important;
1031
+ padding-top: 0.125rem !important;
1032
+ padding-bottom: 0.375rem !important;
1033
+ }
1034
+ .pc-consent-shell-card .pc-consent-tabs-left {
1035
+ display: flex !important;
1036
+ align-items: center !important;
1037
+ min-width: 0 !important;
1038
+ }
1039
+ .pc-consent-shell-card .pc-consent-view-toggle {
1040
+ margin-left: auto !important;
1041
+ display: flex !important;
1042
+ align-items: center !important;
1043
+ gap: 0.625rem !important;
1044
+ padding-right: 0.5rem !important;
1045
+ flex-shrink: 0 !important;
1046
+ margin-bottom: 0.0625rem !important;
1047
+ }
1048
+ .pc-consent-shell-card .pc-consent-view-toggle-label {
1049
+ white-space: nowrap !important;
1050
+ font-size: 0.75rem !important;
1051
+ color: var(--pc-text-secondary) !important;
1052
+ }
1053
+ .pc-consent-shell-card .pc-consent-view-toggle-group {
1054
+ box-shadow: none !important;
1055
+ border: 1px solid var(--pc-border-color) !important;
1056
+ background-color: var(--pc-bg-secondary) !important;
1057
+ }
1058
+ .pc-consent-shell-card .pc-consent-view-toggle-btn {
1059
+ color: var(--pc-text-secondary);
1060
+ }
1061
+ .pc-consent-shell-card .pc-consent-view-toggle-btn:hover:not(.is-active) {
1062
+ background-color: var(--pc-bg-hover) !important;
1063
+ color: var(--pc-text-primary) !important;
1064
+ }
1065
+ .pc-consent-shell-card .pc-consent-view-toggle-btn.is-active {
1066
+ background-color: var(--pc-primary) !important;
1067
+ color: var(--pc-text-inverse) !important;
1068
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
1069
+ }
1070
+ .pc-consent-shell-card .pc-filters-responsive {
1071
+ gap: 0.75rem !important;
1072
+ }
1073
+ @media (min-width: 768px) {
1074
+ .pc-consent-shell-card .pc-filters-responsive {
1075
+ align-items: center !important;
1076
+ }
1077
+ }
1078
+ .pc-consent-shell-card .pc-search-responsive {
1079
+ max-width: none !important;
1080
+ }
1081
+ .pc-consent-shell-card .pc-search-responsive > div {
1082
+ width: 100% !important;
1083
+ }
1084
+ .pc-consent-shell-card .pc-search-responsive [style*="border"] {
1085
+ border-color: var(--pc-border-color) !important;
1086
+ box-shadow: none !important;
1087
+ }
1088
+ .pc-consent-shell-card .pc-search-responsive .pc-input-affix {
1089
+ box-sizing: border-box !important;
1090
+ height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1091
+ min-height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1092
+ max-height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1093
+ align-items: stretch !important;
1094
+ }
1095
+ .pc-consent-shell-card .pc-search-responsive .pc-input-affix > span:first-of-type,
1096
+ .pc-consent-shell-card .pc-search-responsive .pc-input-affix > button {
1097
+ align-self: center !important;
1098
+ }
1099
+ .pc-consent-shell-card .pc-search-responsive .pc-input {
1100
+ box-sizing: border-box !important;
1101
+ height: 100% !important;
1102
+ min-height: 0 !important;
1103
+ max-height: none !important;
1104
+ padding: 0.25rem 0.5rem !important;
1105
+ line-height: 1.25 !important;
1106
+ font-size: 0.75rem !important;
1107
+ }
1108
+ .pc-consent-shell-card .pc-filter-select .pc-select {
1109
+ box-sizing: border-box !important;
1110
+ height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1111
+ min-height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1112
+ max-height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1113
+ padding: 0.25rem 0.5rem !important;
1114
+ line-height: 1 !important;
1115
+ font-size: 0.75rem !important;
1116
+ }
1117
+ .pc-consent-shell-card .pc-filter-select .pc-select > span:nth-child(2) {
1118
+ line-height: 1.25 !important;
1119
+ }
1120
+ .pc-consent-shell-card .pc-filters-summary {
1121
+ font-size: 0.6875rem !important;
1122
+ color: var(--pc-text-secondary) !important;
1123
+ }
1124
+ .pc-consent-desktop-view {
1125
+ display: block;
1126
+ }
1127
+ .pc-consent-mobile-view {
1128
+ display: none;
1129
+ }
1130
+ .pc-consent-mobile-list {
1131
+ display: flex;
1132
+ flex-direction: column;
1133
+ gap: 0.625rem;
1134
+ }
1135
+ .pc-consent-mobile-card {
1136
+ display: flex;
1137
+ flex-direction: column;
1138
+ gap: 0.5rem;
1139
+ border: 1px solid var(--pc-border-color);
1140
+ border-radius: var(--pc-border-radius-lg);
1141
+ background-color: var(--pc-bg-primary);
1142
+ padding: 0.625rem 0.75rem;
1143
+ box-shadow: none;
1144
+ }
1145
+ .pc-consent-mobile-card-header {
1146
+ display: flex;
1147
+ align-items: flex-start;
1148
+ justify-content: space-between;
1149
+ gap: 0.5rem;
1150
+ flex-wrap: wrap;
1151
+ }
1152
+ .pc-consent-mobile-product-head {
1153
+ display: flex;
1154
+ align-items: flex-start;
1155
+ gap: 0.5rem;
1156
+ min-width: 0;
1157
+ flex: 1 1 180px;
1158
+ }
1159
+ .pc-consent-mobile-avatar {
1160
+ display: inline-flex;
1161
+ align-items: center;
1162
+ justify-content: center;
1163
+ width: 24px;
1164
+ height: 24px;
1165
+ border-radius: 0.4375rem;
1166
+ font-size: 0.6875rem;
1167
+ font-weight: 700;
1168
+ line-height: 1;
1169
+ flex-shrink: 0;
1170
+ }
1171
+ .pc-consent-mobile-subtle-text {
1172
+ margin: 0 !important;
1173
+ margin-top: 0.125rem !important;
1174
+ font-size: 0.6875rem !important;
1175
+ line-height: 1.2 !important;
1176
+ color: var(--pc-text-secondary) !important;
1177
+ display: -webkit-box;
1178
+ -webkit-line-clamp: 2;
1179
+ -webkit-box-orient: vertical;
1180
+ overflow: hidden;
1181
+ word-break: break-word;
1182
+ }
1183
+ .pc-consent-mobile-chip-row {
1184
+ display: flex;
1185
+ flex-wrap: wrap;
1186
+ gap: 0.375rem;
1187
+ }
1188
+ .pc-consent-mobile-status-chip {
1189
+ font-size: 0.65625rem !important;
1190
+ font-weight: 600 !important;
1191
+ padding: 0.125rem 0.4375rem !important;
1192
+ }
1193
+ .pc-consent-mobile-activity-row {
1194
+ display: flex;
1195
+ flex-direction: column;
1196
+ gap: 0.125rem;
1197
+ min-width: 0;
1198
+ }
1199
+ .pc-consent-mobile-meta-grid {
1200
+ display: grid;
1201
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1202
+ gap: 0.5rem 0.625rem;
1203
+ }
1204
+ .pc-consent-mobile-meta-label {
1205
+ margin: 0 !important;
1206
+ margin-bottom: 0.1875rem !important;
1207
+ font-size: 0.625rem !important;
1208
+ text-transform: uppercase;
1209
+ letter-spacing: 0.05em;
1210
+ color: var(--pc-text-tertiary) !important;
1211
+ }
1212
+ .pc-consent-mobile-action-cell {
1213
+ display: flex;
1214
+ flex-direction: column;
1215
+ align-items: flex-start;
1216
+ justify-content: flex-end;
1217
+ }
1218
+ .pc-consent-mobile-expand-btn {
1219
+ width: 100%;
1220
+ display: flex;
1221
+ align-items: center;
1222
+ justify-content: space-between;
1223
+ border: 1px solid var(--pc-border-color);
1224
+ border-radius: var(--pc-border-radius-md);
1225
+ background-color: var(--pc-bg-secondary);
1226
+ color: var(--pc-text-primary);
1227
+ font-size: 0.75rem;
1228
+ font-weight: 600;
1229
+ padding: 0.375rem 0.5rem;
1230
+ cursor: pointer;
1231
+ }
1232
+ .pc-consent-mobile-purpose-list {
1233
+ display: flex;
1234
+ flex-direction: column;
1235
+ gap: 0.5rem;
1236
+ padding-top: 0.125rem;
1237
+ }
1238
+ .pc-consent-mobile-purpose-item {
1239
+ border: 1px solid var(--pc-border-color);
1240
+ border-radius: var(--pc-border-radius-md);
1241
+ background-color: var(--pc-bg-secondary);
1242
+ padding: 0.5rem;
1243
+ }
1244
+ .pc-consent-mobile-purpose-head {
1245
+ display: flex;
1246
+ align-items: flex-start;
1247
+ justify-content: space-between;
1248
+ gap: 0.5rem;
1249
+ margin-bottom: 0.375rem;
1250
+ }
1251
+ .pc-consent-mobile-empty {
1252
+ border: 1px solid var(--pc-border-color);
1253
+ border-radius: var(--pc-border-radius-lg);
1254
+ background-color: var(--pc-bg-primary);
1255
+ padding: 0.75rem;
1256
+ }
1257
+ .pc-consent-shell-card .pc-export-button-responsive {
1258
+ display: inline-flex !important;
1259
+ align-items: center !important;
1260
+ }
1261
+ .pc-consent-shell-card .pc-export-button-responsive button {
1262
+ box-sizing: border-box !important;
1263
+ height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1264
+ min-height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1265
+ max-height: var(--pc-consent-toolbar-control-height, 2rem) !important;
1266
+ padding: 0 0.625rem !important;
1267
+ line-height: 1 !important;
1268
+ border-color: var(--pc-border-color) !important;
1269
+ box-shadow: none !important;
1270
+ font-size: 0.75rem !important;
1271
+ }
1272
+ .pc-consent-shell-card .pc-filters-row-responsive {
1273
+ gap: 0.5rem !important;
1274
+ }
1275
+ @media (min-width: 768px) {
1276
+ .pc-consent-shell-card .pc-search-responsive {
1277
+ width: 310px !important;
1278
+ min-width: 310px !important;
1279
+ flex: 0 0 310px !important;
1280
+ }
1281
+ .pc-consent-shell-card .pc-filters-row-responsive {
1282
+ align-items: center !important;
1283
+ justify-content: flex-start !important;
1284
+ margin-left: 0 !important;
1285
+ flex: 1 1 auto !important;
1286
+ width: auto !important;
1287
+ }
1288
+ .pc-consent-shell-card .pc-filter-select {
1289
+ width: auto !important;
1290
+ min-width: 0 !important;
1291
+ flex: 0 0 auto !important;
1292
+ }
1293
+ .pc-consent-shell-card .pc-filter-select:first-child {
1294
+ width: 128px !important;
1295
+ min-width: 128px !important;
1296
+ }
1297
+ .pc-consent-shell-card .pc-filter-select:nth-child(2) {
1298
+ width: 136px !important;
1299
+ min-width: 136px !important;
1300
+ }
1301
+ .pc-consent-shell-card .pc-filters-summary {
1302
+ margin-left: auto !important;
1303
+ }
1304
+ }
1305
+ @media (max-width: 767px) {
1306
+ .pc-consent-desktop-view {
1307
+ display: none;
1308
+ }
1309
+ .pc-consent-mobile-view {
1310
+ display: block;
1311
+ }
1312
+ .pc-consent-shell-card .pc-consent-tabs-row {
1313
+ flex-wrap: wrap !important;
1314
+ padding-bottom: 0.375rem !important;
1315
+ }
1316
+ .pc-consent-shell-card .pc-consent-view-toggle-label {
1317
+ display: none !important;
1318
+ }
1319
+ .pc-consent-shell-card .pc-consent-view-toggle {
1320
+ width: 100% !important;
1321
+ justify-content: flex-end !important;
1322
+ padding-right: 0 !important;
1323
+ margin-bottom: 0 !important;
1324
+ }
1325
+ .pc-consent-shell-card .pc-filters-row-responsive {
1326
+ width: 100% !important;
1327
+ }
1328
+ .pc-consent-shell-card .pc-filters-summary {
1329
+ align-self: flex-start !important;
1330
+ }
1331
+ .pc-consent-pagination-wrap {
1332
+ margin-top: 0.5rem;
1333
+ }
1334
+ }
1335
+ @media (min-width: 768px) {
1336
+ .pc-consent-desktop-view {
1337
+ display: block;
1338
+ }
1339
+ .pc-consent-mobile-view {
1340
+ display: none;
1341
+ }
1342
+ }
1343
+ @media (max-width: 420px) {
1344
+ .pc-consent-mobile-meta-grid {
1345
+ grid-template-columns: 1fr;
1346
+ }
1347
+ }
1348
+
1349
+ .pc-consent-table-container {
1350
+ border: 1px solid var(--pc-border-color) !important;
1351
+ border-bottom: none !important;
1352
+ border-radius: var(--pc-border-radius-lg) var(--pc-border-radius-lg) 0 0 !important;
1353
+ box-shadow: none !important;
1354
+ overflow: hidden !important;
1355
+ }
1356
+ .pc-consent-table {
1357
+ table-layout: fixed;
1358
+ width: 100%;
1359
+ }
1360
+ .pc-consent-table th:first-child,
1361
+ .pc-consent-table td:first-child {
1362
+ width: 32px !important;
1363
+ min-width: 32px !important;
1364
+ max-width: 32px !important;
1365
+ }
1366
+ .pc-consent-table th:nth-child(2),
1367
+ .pc-consent-table td:nth-child(2) {
1368
+ width: 38% !important;
1369
+ min-width: 260px !important;
1370
+ }
1371
+ .pc-consent-table th:nth-child(3),
1372
+ .pc-consent-table td:nth-child(3) {
1373
+ width: 15% !important;
1374
+ min-width: 120px !important;
1375
+ }
1376
+ .pc-consent-table th:nth-child(4),
1377
+ .pc-consent-table td:nth-child(4) {
1378
+ width: 20% !important;
1379
+ min-width: 160px !important;
1380
+ }
1381
+ .pc-consent-table th:last-child,
1382
+ .pc-consent-table td:last-child {
1383
+ width: 27% !important;
1384
+ min-width: 180px !important;
1385
+ }
1386
+ .pc-consent-table-purpose th:first-child,
1387
+ .pc-consent-table-purpose td:first-child {
1388
+ width: 28% !important;
1389
+ min-width: 220px !important;
1390
+ max-width: none !important;
1391
+ text-align: left !important;
1392
+ padding-left: 0.875rem !important;
1393
+ padding-right: 0.875rem !important;
1394
+ }
1395
+ .pc-consent-table-purpose th:nth-child(2),
1396
+ .pc-consent-table-purpose td:nth-child(2) {
1397
+ width: 18% !important;
1398
+ min-width: 140px !important;
1399
+ }
1400
+ .pc-consent-table-purpose th:nth-child(3),
1401
+ .pc-consent-table-purpose td:nth-child(3) {
1402
+ width: 14% !important;
1403
+ min-width: 110px !important;
1404
+ }
1405
+ .pc-consent-table-purpose th:nth-child(4),
1406
+ .pc-consent-table-purpose td:nth-child(4) {
1407
+ width: 16% !important;
1408
+ min-width: 140px !important;
1409
+ }
1410
+ .pc-consent-table-purpose th:nth-child(5),
1411
+ .pc-consent-table-purpose td:nth-child(5) {
1412
+ width: 14% !important;
1413
+ min-width: 120px !important;
1414
+ }
1415
+ .pc-consent-table-purpose th:nth-child(6),
1416
+ .pc-consent-table-purpose td:nth-child(6) {
1417
+ width: 10% !important;
1418
+ min-width: 90px !important;
1419
+ }
1420
+ .pc-consent-table-purpose th:nth-child(7),
1421
+ .pc-consent-table-purpose td:nth-child(7) {
1422
+ width: 10% !important;
1423
+ min-width: 90px !important;
1424
+ text-align: right !important;
1425
+ }
1426
+ .pc-consent-table-purpose .pc-consent-table-head-cell:first-child,
1427
+ .pc-consent-table-purpose .pc-consent-table-row td:first-child {
1428
+ text-align: left !important;
1429
+ padding-left: 0.875rem !important;
1430
+ padding-right: 0.875rem !important;
1431
+ }
1432
+ .pc-consent-table-head-cell {
1433
+ font-size: 0.65rem !important;
1434
+ letter-spacing: 0.06em !important;
1435
+ text-transform: uppercase !important;
1436
+ color: var(--pc-text-primary) !important;
1437
+ font-weight: 600 !important;
1438
+ padding-top: 0.625rem !important;
1439
+ padding-bottom: 0.625rem !important;
1440
+ background-color: var(--pc-bg-secondary) !important;
1441
+ }
1442
+ .pc-consent-table-row td {
1443
+ padding-top: 0.5rem !important;
1444
+ padding-bottom: 0.5rem !important;
1445
+ vertical-align: middle !important;
1446
+ -webkit-user-select: none !important;
1447
+ user-select: none !important;
1448
+ }
1449
+ .pc-consent-table-head-cell:first-child,
1450
+ .pc-consent-table-row td:first-child {
1451
+ text-align: center !important;
1452
+ padding-left: 0.375rem !important;
1453
+ padding-right: 0.375rem !important;
1454
+ }
1455
+ .pc-consent-table-expanded-row:hover {
1456
+ background-color: transparent !important;
1457
+ }
1458
+ .pc-consent-table-expanded-row td {
1459
+ border-top: none !important;
1460
+ }
1461
+ .pc-consent-table-expanded-cell {
1462
+ padding: 0 !important;
1463
+ background-color: transparent !important;
1464
+ }
1465
+ /* Keep parent + expanded child hover in sync */
1466
+ .pc-consent-table-row:hover + .pc-consent-table-expanded-row .pc-consent-expanded-surface,
1467
+ .pc-consent-table-row:hover + .pc-consent-table-expanded-row .pc-consent-expanded-card,
1468
+ .pc-consent-table-row:hover + .pc-consent-table-expanded-row .pc-consent-expanded-card th,
1469
+ .pc-consent-table-row:hover + .pc-consent-table-expanded-row .pc-consent-expanded-card td,
1470
+ .pc-consent-table-expanded-row:hover .pc-consent-expanded-surface,
1471
+ .pc-consent-table-expanded-row:hover .pc-consent-expanded-card,
1472
+ .pc-consent-table-expanded-row:hover .pc-consent-expanded-card th,
1473
+ .pc-consent-table-expanded-row:hover .pc-consent-expanded-card td {
1474
+ background-color: var(--pc-bg-hover) !important;
1475
+ }
1476
+
1477
+ .pc-consent-pagination-wrap {
1478
+ border-top: none !important;
1479
+ border-left: 1px solid var(--pc-border-color);
1480
+ border-right: 1px solid var(--pc-border-color);
1481
+ border-bottom: 1px solid var(--pc-border-color);
1482
+ border-radius: 0 0 var(--pc-border-radius-lg) var(--pc-border-radius-lg);
1483
+ padding: 0.125rem 0.75rem 0.375rem;
1484
+ background-color: var(--pc-bg-primary);
1485
+ }
1486
+
973
1487
  /* ─── Case Details Page ───────────────────────────────────────────────── */
974
1488
 
975
1489
  .pc-case-page {
@@ -1718,6 +2232,519 @@ export const injectPCStyles = () => {
1718
2232
  .pc-request-submit-revoke-notice-text {
1719
2233
  color: var(--pc-text-primary);
1720
2234
  }
2235
+
2236
+ /* ─── Notification Hub ────────────────────────────────────────────────── */
2237
+
2238
+ .pc-notification-panel {
2239
+ background-color: var(--pc-bg-primary);
2240
+ border-radius: var(--pc-border-radius-lg);
2241
+ border: 1px solid var(--pc-border-color);
2242
+ overflow: hidden;
2243
+ width: 100%;
2244
+ display: flex;
2245
+ flex-direction: column;
2246
+ }
2247
+
2248
+ .pc-notification-panel-header {
2249
+ display: flex;
2250
+ align-items: center;
2251
+ justify-content: space-between;
2252
+ padding: 1rem 1.5rem;
2253
+ border-bottom: 1px solid var(--pc-border-color);
2254
+ }
2255
+
2256
+ .pc-notification-row {
2257
+ display: flex;
2258
+ align-items: flex-start;
2259
+ gap: 1rem;
2260
+ padding: 1rem 1.5rem;
2261
+ border-bottom: 1px solid var(--pc-border-color);
2262
+ transition: background-color 0.15s ease;
2263
+ cursor: pointer;
2264
+ background-color: transparent;
2265
+ }
2266
+
2267
+ .pc-notification-row[data-read="false"] {
2268
+ background-color: var(--pc-bg-secondary);
2269
+ }
2270
+
2271
+ .pc-notification-row:hover {
2272
+ background-color: var(--pc-bg-tertiary) !important;
2273
+ }
2274
+
2275
+ .pc-notification-dropdown-row {
2276
+ display: flex;
2277
+ align-items: flex-start;
2278
+ gap: 0.75rem;
2279
+ padding: 0.875rem 1rem;
2280
+ cursor: pointer;
2281
+ transition: background-color 0.15s ease;
2282
+ background-color: transparent;
2283
+ }
2284
+
2285
+ .pc-notification-dropdown-row[data-read="false"] {
2286
+ background-color: var(--pc-bg-secondary);
2287
+ }
2288
+
2289
+ .pc-notification-dropdown-row:hover {
2290
+ background-color: var(--pc-bg-tertiary) !important;
2291
+ }
2292
+
2293
+ .pc-notification-icon {
2294
+ border-radius: 50%;
2295
+ display: flex;
2296
+ align-items: center;
2297
+ justify-content: center;
2298
+ flex-shrink: 0;
2299
+ background-color: var(--pc-notification-icon-bg, transparent);
2300
+ }
2301
+
2302
+ .pc-notification-icon-lg {
2303
+ width: 40px;
2304
+ height: 40px;
2305
+ margin-top: 0.125rem;
2306
+ }
2307
+
2308
+ .pc-notification-icon-sm {
2309
+ width: 36px;
2310
+ height: 36px;
2311
+ }
2312
+
2313
+ .pc-notification-unread-dot-lg {
2314
+ display: inline-block;
2315
+ width: 6px;
2316
+ height: 6px;
2317
+ border-radius: 50%;
2318
+ background-color: var(--pc-primary);
2319
+ flex-shrink: 0;
2320
+ }
2321
+
2322
+ .pc-notification-unread-dot-sm {
2323
+ width: 8px;
2324
+ height: 8px;
2325
+ border-radius: 50%;
2326
+ background-color: var(--pc-primary);
2327
+ flex-shrink: 0;
2328
+ margin-top: 0.375rem;
2329
+ }
2330
+
2331
+ .pc-notification-badge {
2332
+ position: absolute;
2333
+ top: 2px;
2334
+ right: 2px;
2335
+ min-width: 16px;
2336
+ height: 16px;
2337
+ border-radius: 9999px;
2338
+ background-color: #ef4444;
2339
+ color: #ffffff;
2340
+ font-size: 0.625rem;
2341
+ font-weight: 700;
2342
+ display: flex;
2343
+ align-items: center;
2344
+ justify-content: center;
2345
+ padding: 0 4px;
2346
+ line-height: 1;
2347
+ pointer-events: none;
2348
+ }
2349
+
2350
+ .pc-notification-cta {
2351
+ font-weight: 500;
2352
+ cursor: pointer;
2353
+ transition: opacity 0.15s ease;
2354
+ line-height: 1.3;
2355
+ }
2356
+
2357
+ .pc-notification-cta:hover {
2358
+ opacity: 0.85;
2359
+ }
2360
+
2361
+ .pc-notification-cta-sm {
2362
+ font-size: 0.6875rem;
2363
+ padding: 0.1875rem 0.5rem;
2364
+ border-radius: 0.25rem;
2365
+ }
2366
+
2367
+ .pc-notification-cta-lg {
2368
+ font-size: 0.75rem;
2369
+ padding: 0.25rem 0.75rem;
2370
+ border-radius: 0.375rem;
2371
+ }
2372
+
2373
+ .pc-notification-cta--primary {
2374
+ border: 1px solid var(--pc-primary);
2375
+ background-color: var(--pc-primary);
2376
+ color: #ffffff;
2377
+ }
2378
+
2379
+ .pc-notification-cta--danger {
2380
+ border: 1px solid #dc2626;
2381
+ background-color: #dc2626;
2382
+ color: #ffffff;
2383
+ }
2384
+
2385
+ .pc-notification-cta--secondary {
2386
+ border: 1px solid var(--pc-border-color);
2387
+ background-color: transparent;
2388
+ color: var(--pc-text-secondary);
2389
+ }
2390
+
2391
+ .pc-notification-status-badge {
2392
+ font-size: 0.6875rem;
2393
+ font-weight: 500;
2394
+ padding: 0.125rem 0.5rem;
2395
+ border-radius: 9999px;
2396
+ }
2397
+
2398
+ .pc-notification-bell-btn {
2399
+ display: flex;
2400
+ align-items: center;
2401
+ justify-content: center;
2402
+ box-sizing: border-box;
2403
+ width: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem));
2404
+ height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem));
2405
+ min-width: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem));
2406
+ min-height: var(--pc-navbar-actions-control-height, var(--pc-consent-toolbar-control-height, 2rem));
2407
+ border: 1px solid var(--pc-border-color);
2408
+ background: var(--pc-bg-primary);
2409
+ cursor: pointer;
2410
+ border-radius: 0.5rem;
2411
+ color: var(--pc-text-primary);
2412
+ transition: color 0.3s ease, background-color 0.15s ease, border-color 0.15s ease;
2413
+ padding: 0;
2414
+ }
2415
+ .pc-notification-bell-btn svg {
2416
+ width: 14px;
2417
+ height: 14px;
2418
+ }
2419
+
2420
+ .pc-notification-bell-btn:hover {
2421
+ background-color: var(--pc-bg-hover);
2422
+ border-color: var(--pc-border-color-hover);
2423
+ }
2424
+
2425
+ .pc-notification-filter-tab {
2426
+ background: none;
2427
+ border: none;
2428
+ font-size: 0.8125rem;
2429
+ cursor: pointer;
2430
+ padding: 0.75rem 1rem;
2431
+ transition: color 0.15s ease, border-color 0.15s ease;
2432
+ }
2433
+
2434
+ .pc-notification-pagination-btn {
2435
+ font-size: 0.8125rem;
2436
+ font-weight: 500;
2437
+ padding: 0.375rem 0.75rem;
2438
+ border-radius: 0.375rem;
2439
+ border: 1px solid var(--pc-border-color);
2440
+ background-color: transparent;
2441
+ cursor: pointer;
2442
+ }
2443
+
2444
+ .pc-notification-link-btn {
2445
+ background: none;
2446
+ border: none;
2447
+ color: var(--pc-primary);
2448
+ font-size: 0.8125rem;
2449
+ font-weight: 500;
2450
+ cursor: pointer;
2451
+ padding: 0;
2452
+ }
2453
+
2454
+ .pc-notification-refresh-btn {
2455
+ display: flex;
2456
+ align-items: center;
2457
+ justify-content: center;
2458
+ background: none;
2459
+ border: none;
2460
+ color: var(--pc-text-secondary);
2461
+ padding: 0.25rem;
2462
+ border-radius: 0.375rem;
2463
+ transition: color 0.15s ease;
2464
+ cursor: pointer;
2465
+ }
2466
+
2467
+ .pc-notification-refresh-btn:hover:not(:disabled) {
2468
+ color: var(--pc-text-primary);
2469
+ }
2470
+
2471
+ .pc-notification-refresh-btn:disabled {
2472
+ cursor: default;
2473
+ opacity: 0.5;
2474
+ }
2475
+
2476
+ .pc-notification-refresh-btn--spinning > svg {
2477
+ animation: pc-spin 1s linear infinite;
2478
+ }
2479
+
2480
+ /* Keyboard focus rings for Notification Hub interactive controls */
2481
+ .pc-notification-cta:focus-visible,
2482
+ .pc-notification-bell-btn:focus-visible:not(:disabled),
2483
+ .pc-notification-filter-tab:focus-visible:not(:disabled),
2484
+ .pc-notification-pagination-btn:focus-visible:not(:disabled),
2485
+ .pc-notification-link-btn:focus-visible:not(:disabled),
2486
+ .pc-notification-refresh-btn:focus-visible:not(:disabled) {
2487
+ outline: 2px solid var(--pc-border-color-focus);
2488
+ outline-offset: 2px;
2489
+ }
2490
+
2491
+ .pc-notification-stat-card {
2492
+ display: flex;
2493
+ flex-direction: column;
2494
+ align-items: center;
2495
+ justify-content: center;
2496
+ gap: 0.375rem;
2497
+ padding: 1.25rem 1rem;
2498
+ background-color: var(--pc-bg-primary);
2499
+ border: 1px solid var(--pc-border-color);
2500
+ border-radius: var(--pc-border-radius-lg);
2501
+ }
2502
+
2503
+ .pc-notification-back-btn {
2504
+ display: inline-flex;
2505
+ align-items: center;
2506
+ gap: 0.25rem;
2507
+ background: none;
2508
+ border: none;
2509
+ color: var(--pc-primary);
2510
+ font-size: 0.8125rem;
2511
+ font-weight: 500;
2512
+ cursor: pointer;
2513
+ padding: 0.25rem 0;
2514
+ align-self: flex-start;
2515
+ }
2516
+
2517
+ .pc-notification-empty-state {
2518
+ padding: 3rem;
2519
+ text-align: center;
2520
+ color: var(--pc-text-secondary);
2521
+ font-size: 0.875rem;
2522
+ }
2523
+
2524
+ .pc-notification-dropdown-empty-state {
2525
+ padding: 2rem 1rem;
2526
+ text-align: center;
2527
+ color: var(--pc-text-secondary);
2528
+ font-size: 0.8125rem;
2529
+ }
2530
+
2531
+ .pc-notification-dropdown-footer {
2532
+ padding: 0.75rem 1rem;
2533
+ border-top: 1px solid var(--pc-border-color);
2534
+ display: flex;
2535
+ justify-content: center;
2536
+ }
2537
+
2538
+ .pc-notification-page {
2539
+ width: 100%;
2540
+ display: flex;
2541
+ flex-direction: column;
2542
+ gap: 1.25rem;
2543
+ }
2544
+
2545
+ .pc-notification-stats-grid {
2546
+ display: grid;
2547
+ grid-template-columns: repeat(4, 1fr);
2548
+ gap: 1rem;
2549
+ width: 100%;
2550
+ }
2551
+
2552
+ .pc-notification-stat-value {
2553
+ font-size: 1.75rem;
2554
+ font-weight: 700;
2555
+ line-height: 1.2;
2556
+ }
2557
+
2558
+ .pc-notification-stat-label {
2559
+ font-size: 0.8125rem;
2560
+ color: var(--pc-text-secondary);
2561
+ font-weight: 500;
2562
+ }
2563
+
2564
+ .pc-notification-bell-wrapper {
2565
+ display: inline-flex;
2566
+ position: relative;
2567
+ }
2568
+
2569
+ .pc-notification-popover-offset {
2570
+ transform: translateX(-65px) !important;
2571
+ }
2572
+
2573
+ .pc-notification-dropdown {
2574
+ width: 380px;
2575
+ max-height: 480px;
2576
+ display: flex;
2577
+ flex-direction: column;
2578
+ padding: 0;
2579
+ }
2580
+
2581
+ .pc-notification-dropdown-title {
2582
+ font-size: 0.9375rem;
2583
+ font-weight: 600;
2584
+ color: var(--pc-text-primary);
2585
+ }
2586
+
2587
+ .pc-notification-header-actions {
2588
+ display: flex;
2589
+ align-items: center;
2590
+ gap: 0.75rem;
2591
+ }
2592
+
2593
+ .pc-notification-dropdown-list {
2594
+ overflow-y: auto;
2595
+ flex: 1;
2596
+ }
2597
+
2598
+ .pc-notification-link-btn-arrow {
2599
+ display: flex;
2600
+ align-items: center;
2601
+ gap: 0.25rem;
2602
+ }
2603
+
2604
+ .pc-notification-dropdown-row:not(:last-child) {
2605
+ border-bottom: 1px solid var(--pc-border-color);
2606
+ }
2607
+
2608
+ .pc-notification-dropdown-content {
2609
+ flex: 1;
2610
+ min-width: 0;
2611
+ }
2612
+
2613
+ .pc-notification-dropdown-title-text {
2614
+ margin: 0;
2615
+ font-size: 0.8125rem;
2616
+ line-height: 1.4;
2617
+ font-weight: 400;
2618
+ color: var(--pc-text-primary);
2619
+ }
2620
+
2621
+ .pc-notification-dropdown-row[data-read="false"] .pc-notification-dropdown-title-text {
2622
+ font-weight: 600;
2623
+ }
2624
+
2625
+ .pc-notification-status-badge {
2626
+ color: #2563eb;
2627
+ background-color: #eff6ff;
2628
+ }
2629
+
2630
+ .pc-notification-dropdown-description {
2631
+ margin: 0.125rem 0 0;
2632
+ font-size: 0.75rem;
2633
+ line-height: 1.4;
2634
+ color: var(--pc-text-secondary);
2635
+ overflow: hidden;
2636
+ text-overflow: ellipsis;
2637
+ white-space: nowrap;
2638
+ }
2639
+
2640
+ .pc-notification-dropdown-time {
2641
+ margin: 0.25rem 0 0;
2642
+ font-size: 0.6875rem;
2643
+ color: var(--pc-text-tertiary);
2644
+ }
2645
+
2646
+ .pc-notification-dropdown-ctas {
2647
+ display: flex;
2648
+ gap: 0.375rem;
2649
+ margin-top: 0.375rem;
2650
+ }
2651
+
2652
+ .pc-notification-row-content {
2653
+ flex: 1;
2654
+ min-width: 0;
2655
+ }
2656
+
2657
+ .pc-notification-row-title-line {
2658
+ display: flex;
2659
+ align-items: center;
2660
+ gap: 0.5rem;
2661
+ flex-wrap: wrap;
2662
+ margin-bottom: 0.25rem;
2663
+ }
2664
+
2665
+ .pc-notification-row-title {
2666
+ font-size: 0.875rem;
2667
+ font-weight: 400;
2668
+ color: var(--pc-text-primary);
2669
+ }
2670
+
2671
+ .pc-notification-row[data-read="false"] .pc-notification-row-title {
2672
+ font-weight: 600;
2673
+ }
2674
+
2675
+ .pc-notification-row-description {
2676
+ margin: 0;
2677
+ font-size: 0.8125rem;
2678
+ color: var(--pc-text-secondary);
2679
+ line-height: 1.5;
2680
+ }
2681
+
2682
+ .pc-notification-row-ctas {
2683
+ display: flex;
2684
+ gap: 0.5rem;
2685
+ margin-top: 0.5rem;
2686
+ }
2687
+
2688
+ .pc-notification-row-time {
2689
+ font-size: 0.75rem;
2690
+ color: var(--pc-text-tertiary);
2691
+ flex-shrink: 0;
2692
+ white-space: nowrap;
2693
+ margin-top: 0.125rem;
2694
+ }
2695
+
2696
+ .pc-notification-panel-title {
2697
+ margin: 0;
2698
+ font-size: 1rem;
2699
+ font-weight: 600;
2700
+ color: var(--pc-text-primary);
2701
+ }
2702
+
2703
+ .pc-notification-panel-count {
2704
+ margin-left: 0.5rem;
2705
+ font-size: 0.75rem;
2706
+ font-weight: 500;
2707
+ color: var(--pc-text-tertiary);
2708
+ }
2709
+
2710
+ .pc-notification-filter-tabs {
2711
+ display: flex;
2712
+ gap: 0;
2713
+ border-bottom: 1px solid var(--pc-border-color);
2714
+ padding: 0 1.5rem;
2715
+ }
2716
+
2717
+ .pc-notification-filter-tab {
2718
+ border-bottom: 2px solid transparent;
2719
+ color: var(--pc-text-secondary);
2720
+ font-weight: 400;
2721
+ }
2722
+
2723
+ .pc-notification-filter-tab[data-active="true"] {
2724
+ border-bottom-color: var(--pc-primary);
2725
+ color: var(--pc-primary);
2726
+ font-weight: 600;
2727
+ }
2728
+
2729
+ .pc-notification-pagination {
2730
+ display: flex;
2731
+ align-items: center;
2732
+ justify-content: center;
2733
+ gap: 0.75rem;
2734
+ padding: 1rem 1.5rem;
2735
+ border-top: 1px solid var(--pc-border-color);
2736
+ }
2737
+
2738
+ .pc-notification-pagination-range {
2739
+ font-size: 0.75rem;
2740
+ color: var(--pc-text-secondary);
2741
+ }
2742
+
2743
+ .pc-notification-pagination-btn:disabled {
2744
+ cursor: default;
2745
+ color: var(--pc-text-tertiary);
2746
+ opacity: 0.5;
2747
+ }
1721
2748
  `;
1722
2749
 
1723
2750
  document.head.appendChild(style);