@whoa-chat/react 0.2.0 → 0.3.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.
- package/dist/locales/bg.json +11 -0
- package/dist/locales/da.json +11 -0
- package/dist/locales/de.json +11 -0
- package/dist/locales/en.json +11 -0
- package/dist/locales/es.json +11 -0
- package/dist/locales/fr.json +12 -0
- package/dist/locales/index.d.ts +168 -0
- package/dist/locales/it.json +11 -0
- package/dist/locales/ja.json +11 -0
- package/dist/locales/nl.json +11 -0
- package/dist/locales/pl.json +13 -0
- package/dist/locales/pt-BR.json +11 -0
- package/dist/locales/pt-PT.json +11 -0
- package/dist/locales/sv.json +11 -0
- package/dist/locales/zh-CN.json +11 -0
- package/dist/locales/zh-TW.json +11 -0
- package/dist/src/AssistantNote.js +1 -1
- package/dist/src/ChatThread.js +2 -2
- package/dist/src/EmailTranscript.d.ts +6 -0
- package/dist/src/EmailTranscript.js +1 -0
- package/dist/src/EventRow.js +2 -2
- package/dist/src/FormattedText.js +5 -5
- package/dist/src/MerchantPanel.js +1 -1
- package/dist/src/ReviewCard.js +1 -1
- package/dist/src/StoreAvatar.d.ts +2 -0
- package/dist/src/StoreAvatar.js +1 -1
- package/dist/src/chatApi.d.ts +3 -0
- package/dist/src/chatApi.js +1 -1
- package/dist/src/supportChat.css +107 -75
- package/package.json +6 -2
package/dist/src/supportChat.css
CHANGED
|
@@ -175,24 +175,27 @@ html[data-theme="dark"] {
|
|
|
175
175
|
|
|
176
176
|
.srv-body { padding: 18px 20px 18px; }
|
|
177
177
|
|
|
178
|
-
.srv-fixed { display: flex; gap: 12px; align-items: center; padding: 12px
|
|
178
|
+
.srv-fixed { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #edf8f1; background: color-mix(in srgb, #12a150 9%, var(--sc-surface)); }
|
|
179
179
|
.srv-check {
|
|
180
|
-
|
|
180
|
+
position: absolute;
|
|
181
|
+
right: -3px;
|
|
182
|
+
bottom: -3px;
|
|
181
183
|
display: inline-flex;
|
|
182
184
|
align-items: center;
|
|
183
185
|
justify-content: center;
|
|
184
|
-
width:
|
|
185
|
-
height:
|
|
186
|
+
width: 18px;
|
|
187
|
+
height: 18px;
|
|
186
188
|
border-radius: 50%;
|
|
187
189
|
background: #12a150;
|
|
188
190
|
color: #fff;
|
|
189
|
-
box-shadow: 0 0 0
|
|
191
|
+
box-shadow: 0 0 0 2px #fff;
|
|
192
|
+
box-shadow: 0 0 0 2px var(--sc-surface);
|
|
190
193
|
}
|
|
191
194
|
.srv-check-path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: srv-draw 0.45s 0.35s ease-out forwards; }
|
|
192
195
|
.srv-fixed-main { flex: 1; min-width: 0; }
|
|
193
|
-
.srv-agent-ring { flex: none; display: inline-flex; padding: 2px; border-radius: 50%; background: var(--srv-grad); box-shadow: 0 6px 14px -6px rgba(224, 64, 200, 0.6); }
|
|
196
|
+
.srv-agent-ring { position: relative; flex: none; display: inline-flex; padding: 2px; border-radius: 50%; background: var(--srv-grad); box-shadow: 0 6px 14px -6px rgba(224, 64, 200, 0.6); }
|
|
194
197
|
.srv-agent-ring .sc-avatar { background: var(--srv-grad); box-shadow: 0 0 0 2px #fff; box-shadow: 0 0 0 2px var(--sc-surface); }
|
|
195
|
-
.srv-eyebrow { display: block; font-size: 12px; font-weight:
|
|
198
|
+
.srv-eyebrow { display: block; font-size: 12px; font-weight: 600; color: #0e7a3a; color: color-mix(in srgb, #0e7a3a var(--sc-dk), #fff); }
|
|
196
199
|
.srv-fixed-text { margin: 1px 0 0; font-size: 14px; line-height: 1.4; font-weight: 550; color: var(--sc-ink); overflow-wrap: anywhere; }
|
|
197
200
|
|
|
198
201
|
.srv-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
|
|
@@ -512,7 +515,7 @@ html[data-theme="dark"] {
|
|
|
512
515
|
white-space: nowrap;
|
|
513
516
|
cursor: pointer;
|
|
514
517
|
}
|
|
515
|
-
.ibx-pill--brand { border: 0; color: #fff; background: linear-gradient(100deg, #
|
|
518
|
+
.ibx-pill--brand { border: 0; color: #fff; background: linear-gradient(100deg, #1673e0 0%, #3d95ee 55%, #6cbdf5 100%); box-shadow: 0 6px 16px -8px rgba(22, 115, 224, 0.7); }
|
|
516
519
|
.ibx-link { border: 0; background: none; padding: 0 4px; font: inherit; font-size: 13px; color: var(--sc-ink-3); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
|
|
517
520
|
.ibx-push-on { display: inline-flex; align-items: center; gap: 6px; }
|
|
518
521
|
.ibx-note { font-size: 12px; color: var(--sc-ink-2); max-width: 260px; line-height: 1.35; }
|
|
@@ -532,7 +535,7 @@ html[data-theme="dark"] {
|
|
|
532
535
|
.ibx-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: inherit; text-decoration: none; border-bottom: 1px solid #f2f2f2; border-bottom: 1px solid color-mix(in srgb, #f2f2f2 var(--sc-tint), var(--sc-line)); }
|
|
533
536
|
.ibx-item:hover { background: #fafafa; background: color-mix(in srgb, #fafafa var(--sc-tint), var(--sc-surface)); }
|
|
534
537
|
.ibx-item--active { background: var(--sc-soft); }
|
|
535
|
-
.ibx-item-avatar { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; color: #fff; background: linear-gradient(135deg, #
|
|
538
|
+
.ibx-item-avatar { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 650; color: #fff; background: linear-gradient(135deg, #1673e0, #1673e0 60%, #6cbdf5); }
|
|
536
539
|
.ibx-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
537
540
|
.ibx-item-text strong { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
538
541
|
.ibx-item-text span { font-size: 13px; color: var(--sc-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
@@ -706,7 +709,7 @@ html[data-theme="dark"] {
|
|
|
706
709
|
}
|
|
707
710
|
.rc-target span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
708
711
|
.rc-target em { flex: none; width: 26px; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #e040c8, #a53af0); }
|
|
709
|
-
@keyframes rc-glow { 50% { box-shadow: 0 0 0 2px #
|
|
712
|
+
@keyframes rc-glow { 50% { box-shadow: 0 0 0 2px #1673e0, 0 0 0 9px rgba(22, 115, 224, 0.08); } }
|
|
710
713
|
.rc-cursor { position: absolute; right: 26%; bottom: 14px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); animation: rc-cursor 2.2s ease-in-out infinite; }
|
|
711
714
|
@keyframes rc-cursor { 0%, 100% { transform: translate(10px, 8px); } 50% { transform: translate(0, 0); } }
|
|
712
715
|
.rc-link-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
|
|
@@ -846,17 +849,17 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
846
849
|
.rc-widget-row em, .rc-bundle-bar em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; color: #0b7a3c; color: color-mix(in srgb, #0b7a3c var(--sc-dk), #fff); background: rgba(18, 161, 80, 0.12); }
|
|
847
850
|
|
|
848
851
|
/* Private notes: the team's own, in yellow, never shown to the merchant. */
|
|
849
|
-
.sc-note { align-self: stretch; margin: 2px 0; padding: 10px 14px 12px; border-radius: 14px; background: #
|
|
850
|
-
.sc-note-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: #
|
|
852
|
+
.sc-note { align-self: stretch; margin: 2px 0; padding: 10px 14px 12px; border-radius: 14px; background: #fff4e6; background: color-mix(in srgb, #fff4e6 var(--sc-tint), var(--sc-surface)); border: 1px solid #f7d9b5; color: #40260f; color: color-mix(in srgb, #40260f var(--sc-dk), #fff); animation: sc-in 0.2s ease-out both; }
|
|
853
|
+
.sc-note-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: #9a5410; color: color-mix(in srgb, #9a5410 var(--sc-dk), #fff); }
|
|
851
854
|
.sc-note-head span { margin-left: auto; font-weight: 400; color: #a08a3a; color: color-mix(in srgb, #a08a3a var(--sc-dk), #fff); }
|
|
852
855
|
.sc-note-body { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
853
|
-
.sc-mention { display: inline-flex; padding: 0 6px; border-radius: 6px; background: rgba(
|
|
854
|
-
.sc-note-bar { display: flex; align-items: center; gap: 8px; margin: 8px 16px -2px; padding: 7px 12px; border-radius: 12px; background: #
|
|
856
|
+
.sc-mention { display: inline-flex; padding: 0 6px; border-radius: 6px; background: rgba(240, 140, 50, 0.2); color: #7a3f08; color: color-mix(in srgb, #7a3f08 var(--sc-dk), #fff); font-weight: 650; }
|
|
857
|
+
.sc-note-bar { display: flex; align-items: center; gap: 8px; margin: 8px 16px -2px; padding: 7px 12px; border-radius: 12px; background: #ffe9d2; background: color-mix(in srgb, #ffe9d2 var(--sc-tint), var(--sc-surface)); color: #8a4b0c; color: color-mix(in srgb, #8a4b0c var(--sc-dk), #fff); font-size: 13px; font-weight: 550; }
|
|
855
858
|
.sc-note-bar span { flex: 1; min-width: 0; }
|
|
856
859
|
.sc-note-bar button { border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: #6b5300; color: color-mix(in srgb, #6b5300 var(--sc-dk), #fff); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
|
|
857
860
|
.sc-note-bar--reply { background: var(--sc-soft); color: var(--sc-ink-2); }
|
|
858
861
|
.sc-note-bar--reply button { color: var(--sc-ink); }
|
|
859
|
-
.sc-composer--note { background: #
|
|
862
|
+
.sc-composer--note { background: #fff8f0; background: color-mix(in srgb, #fff8f0 var(--sc-tint), var(--sc-surface)); border-color: #f3c896; box-shadow: 0 0 0 3px rgba(240, 150, 60, 0.18); }
|
|
860
863
|
.sc-composer--note .sc-send { background: #b8860b; }
|
|
861
864
|
.sc-suggest { display: flex; gap: 6px; margin: 8px 16px -2px; }
|
|
862
865
|
.sc-suggest button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 5px; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; background: var(--sc-surface); font: inherit; font-size: 13px; font-weight: 600; color: var(--sc-ink); cursor: pointer; box-shadow: 0 4px 12px -8px rgba(0, 0, 0, 0.3); }
|
|
@@ -887,7 +890,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
887
890
|
.sc-file-chip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--sc-line); border-radius: 14px; background: #fff; background: var(--sc-surface); font: inherit; color: var(--sc-ink); text-align: left; cursor: pointer; }
|
|
888
891
|
.sc-file-chip:hover { background: var(--sc-soft); }
|
|
889
892
|
.sc-file-chip svg { flex: none; color: var(--sc-ink-3); }
|
|
890
|
-
.sc-file-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; font-size: 10px; font-weight: 750; letter-spacing: 0.03em; color: #fff; background: linear-gradient(135deg, #
|
|
893
|
+
.sc-file-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; font-size: 10px; font-weight: 750; letter-spacing: 0.03em; color: #fff; background: linear-gradient(135deg, #1673e0, #1673e0 60%, #6cbdf5); }
|
|
891
894
|
.sc-file-text, .sc-pending-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
|
|
892
895
|
.sc-file-text strong, .sc-pending-text strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
893
896
|
.sc-file-text span, .sc-pending-text span { font-size: 12px; color: var(--sc-ink-3); }
|
|
@@ -898,18 +901,18 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
898
901
|
.sc-pending-item { position: relative; flex: none; display: flex; align-items: center; gap: 8px; width: 200px; padding: 6px 28px 6px 6px; border: 1px solid var(--sc-line); border-radius: 12px; background: #fff; background: var(--sc-surface); }
|
|
899
902
|
.sc-pending-item img { flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
|
|
900
903
|
.sc-pending-item button { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--sc-soft); color: var(--sc-ink-2); cursor: pointer; }
|
|
901
|
-
.sc-pending-item--busy::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #
|
|
904
|
+
.sc-pending-item--busy::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #1673e0, #1673e0, #6cbdf5); background-size: 200% 100%; animation: scl-shimmer 1s linear infinite; }
|
|
902
905
|
.sc-pending-item--error { border-color: rgba(215, 44, 13, 0.4); }
|
|
903
906
|
.sc-pending-item--error .sc-pending-text span { color: #b42318; color: color-mix(in srgb, #b42318 var(--sc-dk), #fff); }
|
|
904
907
|
.sc-shell { position: relative; }
|
|
905
|
-
.sc-shell--drop { box-shadow: inset 0 0 0 2px #
|
|
906
|
-
.sc-drop { position: absolute; inset: 8px; z-index: 5; display: flex; align-items: center; justify-content: center; border: 2px dashed #
|
|
908
|
+
.sc-shell--drop { box-shadow: inset 0 0 0 2px #1673e0; }
|
|
909
|
+
.sc-drop { position: absolute; inset: 8px; z-index: 5; display: flex; align-items: center; justify-content: center; border: 2px dashed #1673e0; border-radius: 14px; background: rgba(255, 255, 255, 0.92); background: color-mix(in srgb, var(--sc-surface) 92%, transparent); font-size: 15px; font-weight: 650; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); pointer-events: none; }
|
|
907
910
|
|
|
908
911
|
/* Availability: when a person will answer, in the merchant's time. */
|
|
909
912
|
.sc-empty-card { margin-top: 18px; text-align: left; display: flex; justify-content: center; }
|
|
910
913
|
.av-card { width: min(100%, 400px); padding: 16px; border-radius: 20px; border: 1px solid var(--sc-line); background: #fff; background: var(--sc-surface); color: var(--sc-ink); box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.25); animation: srv-rise 0.35s ease-out both; text-align: left; }
|
|
911
914
|
.av-head { display: flex; gap: 12px; align-items: flex-start; }
|
|
912
|
-
.av-moon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #
|
|
915
|
+
.av-moon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #6cbdf5, #1673e0 60%, #1673e0); box-shadow: 0 8px 18px -8px rgba(22, 115, 224, 0.7); }
|
|
913
916
|
.av-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; background: rgba(245, 165, 36, 0.15); color: #8a5300; color: color-mix(in srgb, #8a5300 var(--sc-dk), #fff); }
|
|
914
917
|
.av-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f5a524; }
|
|
915
918
|
.av-head h3 { margin: 6px 0 2px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
|
|
@@ -917,7 +920,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
917
920
|
|
|
918
921
|
.av-strip { margin: 16px 0 6px; }
|
|
919
922
|
.av-track { position: relative; height: 12px; border-radius: 999px; background: #f1f1f3; background: color-mix(in srgb, #f1f1f3 var(--sc-tint), var(--sc-surface)); overflow: hidden; }
|
|
920
|
-
.av-block { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #
|
|
923
|
+
.av-block { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #1673e0, #1673e0 60%, #6cbdf5); opacity: 0.9; }
|
|
921
924
|
.av-now { position: absolute; left: 0; top: -2px; bottom: -2px; width: 3px; border-radius: 2px; background: #0d0d0d; background: var(--sc-strong, #0d0d0d); }
|
|
922
925
|
.av-ticks { position: relative; height: 16px; margin-top: 4px; font-size: 11px; color: var(--sc-ink-3); }
|
|
923
926
|
.av-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
|
|
@@ -973,8 +976,8 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
973
976
|
.mp-bubble:hover { background: #ececee; background: color-mix(in srgb, #ececee var(--sc-tint), var(--sc-surface)); }
|
|
974
977
|
.mp-files { display: block; margin-top: 4px; font-size: 12px; color: var(--sc-ink-3); }
|
|
975
978
|
.mp-rich { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; }
|
|
976
|
-
.mp-rich--review { background: linear-gradient(120deg, rgba(255, 107, 44, 0.1), rgba(
|
|
977
|
-
.mp-rich--review img { border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(
|
|
979
|
+
.mp-rich--review { background: linear-gradient(120deg, rgba(255, 107, 44, 0.1), rgba(22, 115, 224, 0.09) 55%, rgba(22, 115, 224, 0.12)); }
|
|
980
|
+
.mp-rich--review img { border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(22, 115, 224, 0.6); }
|
|
978
981
|
.mp-rich--review div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
979
982
|
.mp-rich--review strong { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
980
983
|
.mp-stars { display: inline-flex; align-items: center; gap: 1px; font-size: 12px; color: var(--sc-ink-2); }
|
|
@@ -989,7 +992,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
989
992
|
.mp-btn--plain:hover { background: var(--sc-soft); }
|
|
990
993
|
.mp-btn--dark { border-color: transparent; background: var(--sc-ink); color: #fff; color: var(--sc-on-strong, #fff); }
|
|
991
994
|
.mp-btn--dark:hover { background: #2a2a2a; }
|
|
992
|
-
.mp-btn--brand { border-color: transparent; color: #fff; background: linear-gradient(100deg, #
|
|
995
|
+
.mp-btn--brand { border-color: transparent; color: #fff; background: linear-gradient(100deg, #1673e0 0%, #3d95ee 55%, #6cbdf5 100%); box-shadow: 0 8px 18px -8px rgba(22, 115, 224, 0.75); }
|
|
993
996
|
.mp-btn--brand:hover { filter: brightness(1.06); }
|
|
994
997
|
.mp-more { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(13, 13, 13, 0.75); background: rgba(var(--sc-overlay-rgb), 0.75); color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
|
|
995
998
|
@keyframes mp-in { from { opacity: 0; transform: translateY(12px) scale(0.95); } to { opacity: 1; transform: none; } }
|
|
@@ -1013,7 +1016,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
1013
1016
|
.sc-gif-btn { width: auto; padding: 0 6px; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; border-radius: 8px; }
|
|
1014
1017
|
.ct-pop { position: absolute; left: 8px; bottom: calc(100% + 8px); z-index: 20; box-sizing: border-box; width: min(340px, calc(100vw - 40px)); padding: 10px; border-radius: 18px; background: #fff; background: var(--sc-surface); box-shadow: 0 20px 44px -16px rgba(13, 13, 13, 0.35), 0 0 0 1px rgba(13, 13, 13, 0.06); animation: mp-in 0.2s ease-out both; }
|
|
1015
1018
|
.ct-search { box-sizing: border-box; width: 100%; height: 34px; padding: 0 12px; border: 1px solid var(--sc-line); border-radius: 999px; font: inherit; font-size: 13.5px; outline: none; }
|
|
1016
|
-
.ct-search:focus { border-color: #
|
|
1019
|
+
.ct-search:focus { border-color: #1673e0; }
|
|
1017
1020
|
.ct-tabs { display: flex; gap: 4px; margin-top: 8px; }
|
|
1018
1021
|
.ct-tab { flex: 1; height: 30px; border: 0; border-radius: 10px; background: none; font-size: 17px; cursor: pointer; }
|
|
1019
1022
|
.ct-tab--on, .ct-tab:hover { background: var(--sc-soft); }
|
|
@@ -1023,7 +1026,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
1023
1026
|
.ct-gifs { columns: 2; column-gap: 6px; max-height: 300px; overflow-y: auto; margin-top: 8px; }
|
|
1024
1027
|
.ct-gifs button { display: block; width: 100%; margin-bottom: 6px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--sc-soft); cursor: pointer; break-inside: avoid; }
|
|
1025
1028
|
.ct-gifs img { display: block; width: 100%; }
|
|
1026
|
-
.ct-gifs button:hover { outline: 2px solid #
|
|
1029
|
+
.ct-gifs button:hover { outline: 2px solid #1673e0; }
|
|
1027
1030
|
.ct-empty { grid-column: 1 / -1; margin: 16px 4px; font-size: 13px; color: var(--sc-ink-3); text-align: center; }
|
|
1028
1031
|
.ct-credit { display: block; margin-top: 6px; font-size: 10.5px; color: var(--sc-ink-3); text-align: right; }
|
|
1029
1032
|
|
|
@@ -1034,7 +1037,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
1034
1037
|
.sc-link-suggest button.sc-shortcut--on, .sc-link-suggest button:hover { background: var(--sc-soft); }
|
|
1035
1038
|
.sc-link-suggest .sc-shortcut-text { min-width: 0; }
|
|
1036
1039
|
.sc-link-suggest .sc-shortcut-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1037
|
-
.sc-shortcut-key { flex: none; padding: 2px 8px; border-radius: 7px; background: rgba(
|
|
1040
|
+
.sc-shortcut-key { flex: none; padding: 2px 8px; border-radius: 7px; background: rgba(22, 115, 224, 0.1); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); font-size: 12.5px; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
1038
1041
|
.sc-shortcut-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
|
|
1039
1042
|
.sc-shortcut-text strong { font-size: 13.5px; font-weight: 600; }
|
|
1040
1043
|
.sc-shortcut-text span { font-size: 12.5px; color: var(--sc-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
@@ -1042,7 +1045,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
1042
1045
|
/* Reminders */
|
|
1043
1046
|
.rm-wrap { position: relative; }
|
|
1044
1047
|
.rm-button { display: inline-flex; align-items: center; gap: 6px; }
|
|
1045
|
-
.rm-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 12px; border-radius: 999px; background: rgba(
|
|
1048
|
+
.rm-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 12px; border-radius: 999px; background: rgba(22, 115, 224, 0.1); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); font-size: 13px; font-weight: 600; }
|
|
1046
1049
|
.rm-chip--due { background: #fff1d6; background: color-mix(in srgb, #fff1d6 var(--sc-tint), var(--sc-surface)); color: #8a5300; color: color-mix(in srgb, #8a5300 var(--sc-dk), #fff); }
|
|
1047
1050
|
.rm-chip button { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.7); background: color-mix(in srgb, var(--sc-surface) 70%, transparent); color: inherit; cursor: pointer; }
|
|
1048
1051
|
.rm-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; box-sizing: border-box; width: 280px; padding: 12px; border-radius: 18px; background: #fff; background: var(--sc-surface); box-shadow: 0 20px 44px -16px rgba(13, 13, 13, 0.35), 0 0 0 1px rgba(13, 13, 13, 0.06); display: flex; flex-direction: column; gap: 8px; animation: mp-in 0.2s ease-out both; }
|
|
@@ -1054,7 +1057,7 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
1054
1057
|
.rm-custom { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--sc-ink-3); }
|
|
1055
1058
|
.rm-custom input, .rm-note { box-sizing: border-box; height: 34px; padding: 0 10px; border: 1px solid var(--sc-line); border-radius: 10px; font: inherit; font-size: 13px; }
|
|
1056
1059
|
.rm-set { width: 100%; }
|
|
1057
|
-
.rm-badge { padding: 1px 7px; border-radius: 999px; background: rgba(
|
|
1060
|
+
.rm-badge { padding: 1px 7px; border-radius: 999px; background: rgba(22, 115, 224, 0.1); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); font-size: 11px; font-weight: 650; white-space: nowrap; }
|
|
1058
1061
|
.rm-badge--due { background: #fff1d6; background: color-mix(in srgb, #fff1d6 var(--sc-tint), var(--sc-surface)); color: #8a5300; color: color-mix(in srgb, #8a5300 var(--sc-dk), #fff); }
|
|
1059
1062
|
|
|
1060
1063
|
/* Saved replies panel */
|
|
@@ -1070,12 +1073,12 @@ html.scl-split body { margin-right: var(--scl-split-w); transition: margin-right
|
|
|
1070
1073
|
.sp-form textarea { font: inherit; font-size: 14px; padding: 10px; border: 1px solid var(--sc-line); border-radius: 10px; resize: vertical; }
|
|
1071
1074
|
|
|
1072
1075
|
/* Several reminders, each with its message */
|
|
1073
|
-
.rm-button--set { background: rgba(
|
|
1074
|
-
.rm-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #
|
|
1076
|
+
.rm-button--set { background: rgba(22, 115, 224, 0.1); border-color: transparent; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1077
|
+
.rm-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #0f5fc4; color: #fff; font-size: 11px; font-weight: 700; }
|
|
1075
1078
|
.rm-pop { width: 320px; }
|
|
1076
1079
|
.rm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
1077
|
-
.rm-list li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(
|
|
1078
|
-
.rm-when { flex: none; font-size: 12px; font-weight: 700; color: #
|
|
1080
|
+
.rm-list li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(22, 115, 224, 0.07); }
|
|
1081
|
+
.rm-when { flex: none; font-size: 12px; font-weight: 700; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); padding-top: 1px; }
|
|
1079
1082
|
.rm-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
|
|
1080
1083
|
.rm-text em { font-style: normal; font-size: 11.5px; color: var(--sc-ink-3); }
|
|
1081
1084
|
.rm-list button { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; background: var(--sc-surface); color: var(--sc-ink-2); cursor: pointer; }
|
|
@@ -1085,9 +1088,9 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1085
1088
|
.rm-presets button span:last-child { font-size: 11.5px; color: var(--sc-ink-3); }
|
|
1086
1089
|
.rm-custom { grid-column: 1 / -1; font-size: 11.5px; color: var(--sc-ink-3); }
|
|
1087
1090
|
.rm-custom input { width: 100%; height: 30px; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--sc-ink); background: transparent; }
|
|
1088
|
-
.rm-presets .rm-on, .rm-custom.rm-on { border-color: #
|
|
1091
|
+
.rm-presets .rm-on, .rm-custom.rm-on { border-color: #1673e0; box-shadow: 0 0 0 1px #1673e0; background: rgba(22, 115, 224, 0.05); }
|
|
1089
1092
|
.sc-note--reminder { background: #f3ecff; background: color-mix(in srgb, #f3ecff var(--sc-tint), var(--sc-surface)); border-color: #ddc8ff; border-color: color-mix(in srgb, #ddc8ff var(--sc-tint), var(--sc-line)); color: #3b1d6e; color: color-mix(in srgb, #3b1d6e var(--sc-dk), #fff); }
|
|
1090
|
-
.sc-note--reminder .sc-note-head { color: #
|
|
1093
|
+
.sc-note--reminder .sc-note-head { color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1091
1094
|
.sc-note--reminder .sc-note-head span { color: #8f6cc7; }
|
|
1092
1095
|
|
|
1093
1096
|
/* Merchant panel beside the conversation */
|
|
@@ -1103,7 +1106,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1103
1106
|
.ibx-store-btn--on { background: var(--sc-soft); }
|
|
1104
1107
|
.mi-panel { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
|
|
1105
1108
|
.mi-hero { display: flex; align-items: center; gap: 10px; }
|
|
1106
|
-
.mi-avatar { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #
|
|
1109
|
+
.mi-avatar { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1673e0, #1673e0 60%, #6cbdf5); }
|
|
1107
1110
|
.mi-hero div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
|
|
1108
1111
|
.mi-hero strong { font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1109
1112
|
.mi-hero span { font-size: 12.5px; color: var(--sc-ink-3); }
|
|
@@ -1119,7 +1122,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1119
1122
|
.mi-time { display: flex; flex-direction: column; line-height: 1.35; }
|
|
1120
1123
|
.mi-time b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
|
|
1121
1124
|
.mi-time span { font-size: 12px; color: var(--sc-ink-3); }
|
|
1122
|
-
.mi-time em { font-style: normal; font-size: 11.5px; color: #
|
|
1125
|
+
.mi-time em { font-style: normal; font-size: 11.5px; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1123
1126
|
.mi-night { color: #3b1d6e; color: color-mix(in srgb, #3b1d6e var(--sc-dk), #fff); }
|
|
1124
1127
|
.mi-tag { padding: 1px 8px; border-radius: 999px; background: var(--sc-soft); font-size: 11.5px; font-weight: 650; color: var(--sc-ink-2); }
|
|
1125
1128
|
.mi-tag--plus { background: rgba(18, 161, 80, 0.12); color: #0b7a3c; color: color-mix(in srgb, #0b7a3c var(--sc-dk), #fff); }
|
|
@@ -1177,8 +1180,8 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1177
1180
|
.rail-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 62px; padding: 8px 0 6px; border-radius: 14px; color: #a7a2b3; text-decoration: none; font-size: 10.5px; font-weight: 600; transition: background 0.15s, color 0.15s; }
|
|
1178
1181
|
.rail-item:hover { background: rgba(255, 255, 255, 0.06); background: color-mix(in srgb, var(--sc-surface) 6%, transparent); color: #fff; }
|
|
1179
1182
|
.rail-item--on { background: rgba(255, 255, 255, 0.1); background: color-mix(in srgb, var(--sc-surface) 10%, transparent); color: #fff; }
|
|
1180
|
-
.rail-item--on::before { content: ""; position: absolute; left: -7px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #
|
|
1181
|
-
.rail-badge { position: absolute; top: 3px; right: 9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #
|
|
1183
|
+
.rail-item--on::before { content: ""; position: absolute; left: -7px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #1673e0, #6cbdf5); }
|
|
1184
|
+
.rail-badge { position: absolute; top: 3px; right: 9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #1673e0; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; box-sizing: border-box; }
|
|
1182
1185
|
.rail-badge--live { background: #12a150; }
|
|
1183
1186
|
@media (max-width: 700px) {
|
|
1184
1187
|
.ibx-frame { flex-direction: column-reverse; }
|
|
@@ -1200,7 +1203,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1200
1203
|
.mx-name span { font-size: 12.5px; color: var(--sc-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1201
1204
|
.mx-installed { font-size: 12.5px; color: var(--sc-ink-3); white-space: nowrap; }
|
|
1202
1205
|
.mx-chat { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--sc-line); font-size: 12px; font-weight: 600; white-space: nowrap; }
|
|
1203
|
-
.mx-chat--open { border-color: transparent; background: rgba(
|
|
1206
|
+
.mx-chat--open { border-color: transparent; background: rgba(22, 115, 224, 0.1); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1204
1207
|
.mx-chat--resolved { border-color: transparent; background: rgba(18, 161, 80, 0.1); color: #0b7a3c; color: color-mix(in srgb, #0b7a3c var(--sc-dk), #fff); }
|
|
1205
1208
|
.mx-pages { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 10px; border-top: 1px solid var(--sc-line); font-size: 13px; }
|
|
1206
1209
|
.mx-pages a { color: var(--sc-ink); font-weight: 600; }
|
|
@@ -1251,7 +1254,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1251
1254
|
.ibx-filter .ibx-filter-on span { background: rgba(255, 255, 255, 0.2); background: color-mix(in srgb, var(--sc-surface) 20%, transparent); }
|
|
1252
1255
|
.ibx-status { display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; line-height: 18px; white-space: nowrap; vertical-align: middle; }
|
|
1253
1256
|
.ibx-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
1254
|
-
.ibx-status--open { background: rgba(
|
|
1257
|
+
.ibx-status--open { background: rgba(22, 115, 224, 0.1); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1255
1258
|
.ibx-status--resolved { background: rgba(18, 161, 80, 0.1); color: #0b7a3c; color: color-mix(in srgb, #0b7a3c var(--sc-dk), #fff); }
|
|
1256
1259
|
.ibx-thread-title strong { display: inline-flex; align-items: center; gap: 8px; }
|
|
1257
1260
|
.ibx-item-meta { gap: 5px; }
|
|
@@ -1267,7 +1270,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1267
1270
|
.srv-shot--after span { background: #0e7a3a; }
|
|
1268
1271
|
|
|
1269
1272
|
/* The brand gradient fills only the review card's button. Everything else carries it as a border, or uses a solid colour. */
|
|
1270
|
-
:root { --sc-grad: linear-gradient(100deg, #
|
|
1273
|
+
:root { --sc-grad: linear-gradient(100deg, #1673e0 0%, #3d95ee 55%, #6cbdf5 100%); }
|
|
1271
1274
|
.mp-btn--brand, .rc-open--brand, .ibx-pill--brand {
|
|
1272
1275
|
border: 1.5px solid transparent;
|
|
1273
1276
|
background: linear-gradient(#fff, #fff) padding-box, var(--sc-grad) border-box; background: linear-gradient(var(--sc-surface), var(--sc-surface)) padding-box, var(--sc-grad) border-box;
|
|
@@ -1314,17 +1317,17 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1314
1317
|
.rail { width: 68px; gap: 0; padding: calc(14px + env(safe-area-inset-top)) 0 14px; background: #fbfbfc; background: color-mix(in srgb, #fbfbfc var(--sc-tint), var(--sc-surface)); border-right: 1px solid var(--sc-line); }
|
|
1315
1318
|
.rail-logo { display: inline-flex; margin-bottom: 18px; border-radius: 10px; transition: transform 0.15s; }
|
|
1316
1319
|
.rail-logo:hover { transform: scale(1.05); }
|
|
1317
|
-
.rail-logo img { display: block; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(
|
|
1320
|
+
.rail-logo img { display: block; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(22, 115, 224, 0.7); }
|
|
1318
1321
|
.rail-items { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
|
|
1319
1322
|
.rail-item { position: relative; display: flex; flex-direction: column; align-items: center; width: auto; padding: 0; border-radius: 0; background: none !important; color: #6b6b75; color: color-mix(in srgb, #6b6b75 var(--sc-dk), #fff); text-decoration: none; }
|
|
1320
1323
|
.rail-item::before { display: none; }
|
|
1321
1324
|
.rail-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; transition: background 0.15s, color 0.15s, transform 0.1s; }
|
|
1322
1325
|
.rail-item:hover .rail-icon { background: #f0f0f3; background: color-mix(in srgb, #f0f0f3 var(--sc-tint), var(--sc-surface)); color: var(--sc-ink); }
|
|
1323
1326
|
.rail-item:active .rail-icon { transform: scale(0.96); }
|
|
1324
|
-
.rail-item--on .rail-icon { background: #
|
|
1327
|
+
.rail-item--on .rail-icon { background: #e6f3fe; background: color-mix(in srgb, #e6f3fe var(--sc-tint), var(--sc-surface)); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1325
1328
|
.rail-item--on .rail-icon::before { content: ""; position: absolute; left: -13px; top: 11px; width: 4px; height: 20px; border-radius: 0 4px 4px 0; background: var(--sc-grad); }
|
|
1326
1329
|
.rail-label { display: none; }
|
|
1327
|
-
.rail-badge { position: absolute; top: 3px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: #
|
|
1330
|
+
.rail-badge { position: absolute; top: 3px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: #1673e0; color: #fff; font-style: normal; font-size: 9.5px; font-weight: 700; line-height: 15px; text-align: center; box-sizing: border-box; box-shadow: 0 0 0 2px #fbfbfc; }
|
|
1328
1331
|
.rail-badge--live { background: #12a150; }
|
|
1329
1332
|
.rail-badge--live::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 0 0 2px rgba(18, 161, 80, 0.45); animation: rail-ping 1.8s ease-out infinite; }
|
|
1330
1333
|
@keyframes rail-ping { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
|
|
@@ -1334,7 +1337,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1334
1337
|
.rail [data-tip]::after { content: attr(data-tip); position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-4px, -50%); padding: 5px 9px; border-radius: 8px; background: #16131d; background: var(--sc-strong, #16131d); color: #fff; color: var(--sc-on-strong, #fff); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.12s, transform 0.12s; z-index: 60; }
|
|
1335
1338
|
.rail [data-tip]:hover::after, .rail [data-tip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
|
|
1336
1339
|
.rail-item:focus-visible { outline: none; }
|
|
1337
|
-
.rail-item:focus-visible .rail-icon { box-shadow: 0 0 0 2px #
|
|
1340
|
+
.rail-item:focus-visible .rail-icon { box-shadow: 0 0 0 2px #1673e0; }
|
|
1338
1341
|
@media (max-width: 700px) {
|
|
1339
1342
|
.rail { flex-direction: row; box-sizing: border-box; width: 100%; padding: 4px 8px calc(4px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--sc-line); background: #fff; background: var(--sc-surface); }
|
|
1340
1343
|
.rail-logo, .rail-me { display: none; }
|
|
@@ -1489,7 +1492,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1489
1492
|
.rm-days button:hover, .rm-times button:hover { background: var(--sc-soft); }
|
|
1490
1493
|
.rm-days button[aria-pressed="true"], .rm-times button[aria-pressed="true"] { border-color: transparent; background: #16131d; background: var(--sc-strong, #16131d); color: #fff; color: var(--sc-on-strong, #fff); }
|
|
1491
1494
|
.rm-days button[aria-pressed="true"] b, .rm-days button[aria-pressed="true"] small { color: #fff; }
|
|
1492
|
-
.rm-summary { font-style: normal; font-size: 12px; font-weight: 600; color: #
|
|
1495
|
+
.rm-summary { font-style: normal; font-size: 12px; font-weight: 600; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1493
1496
|
|
|
1494
1497
|
/* Products: price and stock, and how the product sells on subscription. */
|
|
1495
1498
|
.rc-product-facts { display: flex; gap: 18px; margin-top: 10px; }
|
|
@@ -1540,7 +1543,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1540
1543
|
.mp-mini-text strong { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1541
1544
|
.mp-mini-text span { font-size: 12px; color: var(--sc-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1542
1545
|
.mp-mini--order .mp-mini-pic { color: #c2410c; color: color-mix(in srgb, #c2410c var(--sc-dk), #fff); background: rgba(255, 107, 44, 0.1); }
|
|
1543
|
-
.mp-mini--subscription .mp-mini-pic { color: #
|
|
1546
|
+
.mp-mini--subscription .mp-mini-pic { color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); background: rgba(22, 115, 224, 0.09); }
|
|
1544
1547
|
.mp-mini--offer .mp-mini-pic { color: #1d4ed8; color: color-mix(in srgb, #1d4ed8 var(--sc-dk), #fff); background: #eff6ff; background: color-mix(in srgb, #eff6ff var(--sc-tint), var(--sc-surface)); }
|
|
1545
1548
|
.mp-mini--product .mp-mini-pic { color: #0f766e; color: color-mix(in srgb, #0f766e var(--sc-dk), #fff); background: #e6f6f4; background: color-mix(in srgb, #e6f6f4 var(--sc-tint), var(--sc-surface)); }
|
|
1546
1549
|
.mp-mini--link { padding: 8px 12px; }
|
|
@@ -1548,7 +1551,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1548
1551
|
/* Away: a slim line under the chat, not a card. Tapping it shows the hours. */
|
|
1549
1552
|
.av-line { align-self: stretch; margin: 2px 0; border-radius: 14px; background: #f6f5fa; background: color-mix(in srgb, #f6f5fa var(--sc-tint), var(--sc-surface)); color: var(--sc-ink-2); }
|
|
1550
1553
|
.av-line-row { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 12px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
|
|
1551
|
-
.av-line-moon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #e9e5f6; background: color-mix(in srgb, #e9e5f6 var(--sc-tint), var(--sc-surface)); color: #
|
|
1554
|
+
.av-line-moon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #e9e5f6; background: color-mix(in srgb, #e9e5f6 var(--sc-tint), var(--sc-surface)); color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1552
1555
|
.av-line-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
|
|
1553
1556
|
.av-line-text strong { font-size: 13px; font-weight: 650; color: var(--sc-ink); }
|
|
1554
1557
|
.av-line-text span { font-size: 12px; color: var(--sc-ink-3); }
|
|
@@ -1631,6 +1634,10 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1631
1634
|
/* Reviewed: a star in the bottom right corner badge, gold for 4 or 5 stars, grey for 3 or fewer. */
|
|
1632
1635
|
.st-star { position: absolute; right: -2px; bottom: -2px; display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; border-radius: 50%; background: #f5b301; box-shadow: 0 0 0 2px #fff; box-shadow: 0 0 0 2px var(--sc-surface); }
|
|
1633
1636
|
.st-star--low { background: #a1a1aa; }
|
|
1637
|
+
/* Paying: a cash badge, green, gold once they have reviewed too. */
|
|
1638
|
+
.st-cash { position: absolute; right: -2px; bottom: -2px; display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 2px #fff; box-shadow: 0 0 0 2px var(--sc-surface); }
|
|
1639
|
+
.st-cash--gold { background: #f5b301; }
|
|
1640
|
+
.st-cash svg { width: 8px; height: 8px; }
|
|
1634
1641
|
.st-star svg { width: 8px; height: 8px; }
|
|
1635
1642
|
|
|
1636
1643
|
/* Development store: a code badge in the corner. */
|
|
@@ -1713,7 +1720,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1713
1720
|
/* The AI: an answer card in the thread with its tool steps (like ChatGPT's), team only. */
|
|
1714
1721
|
.ai-note { align-self: stretch; max-width: min(100%, 40rem); margin: 0 auto; padding: 12px 14px; border-radius: 16px; border: 1px solid #e0e7ff; border: 1px solid color-mix(in srgb, #e0e7ff var(--sc-tint), var(--sc-line)); background: linear-gradient(180deg, #f7f8ff, #fff 60px); background: linear-gradient(180deg, color-mix(in srgb, #f7f8ff var(--sc-tint), var(--sc-surface)), var(--sc-surface) 60px); }
|
|
1715
1722
|
.ai-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; }
|
|
1716
|
-
.ai-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #6366f1, #
|
|
1723
|
+
.ai-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #6366f1, #6cbdf5); color: #fff; align-self: center; }
|
|
1717
1724
|
.ai-head strong { font-size: 13.5px; }
|
|
1718
1725
|
.ai-asked { flex: 1 1 100%; color: var(--sc-ink-3); font-size: 12.5px; }
|
|
1719
1726
|
.ai-steps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid #e0e7ff; border-left: 2px solid color-mix(in srgb, #e0e7ff var(--sc-tint), var(--sc-line)); }
|
|
@@ -1736,7 +1743,7 @@ textarea.rm-note { height: auto; padding: 8px 10px; resize: none; line-height: 1
|
|
|
1736
1743
|
.ai-foot { margin: 10px 0 0; font-size: 11.5px; color: var(--sc-ink-3); }
|
|
1737
1744
|
|
|
1738
1745
|
/* The AI's replies: an "AI" label by its name, and for the team a line that opens its lookups. */
|
|
1739
|
-
.sc-ai-label { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: linear-gradient(135deg, #6366f1, #
|
|
1746
|
+
.sc-ai-label { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: linear-gradient(135deg, #6366f1, #6cbdf5); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; vertical-align: 2px; }
|
|
1740
1747
|
.ai-note { padding: 6px 8px; border-radius: 12px; border: 1px solid #e0e7ff; border: 1px solid color-mix(in srgb, #e0e7ff var(--sc-tint), var(--sc-line)); background: #f7f8ff; background: color-mix(in srgb, #f7f8ff var(--sc-tint), var(--sc-surface)); }
|
|
1741
1748
|
.ai-summary { display: flex; align-items: center; gap: 8px; width: 100%; padding: 2px 4px; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #4338ca; color: color-mix(in srgb, #4338ca var(--sc-dk), #fff); cursor: pointer; }
|
|
1742
1749
|
.ai-summary .ai-badge { width: 18px; height: 18px; border-radius: 6px; }
|
|
@@ -1818,11 +1825,12 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
1818
1825
|
.rm-cal-grid button { height: 30px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 12.5px; color: var(--sc-ink); cursor: pointer; font-variant-numeric: tabular-nums; }
|
|
1819
1826
|
.rm-cal-grid button:hover:not(:disabled) { background: var(--sc-soft); }
|
|
1820
1827
|
.rm-cal-grid button:disabled { color: var(--sc-ink-3); opacity: 0.45; cursor: default; }
|
|
1821
|
-
.rm-cal-grid .rm-cal-today { font-weight: 700; color: #
|
|
1828
|
+
.rm-cal-grid .rm-cal-today { font-weight: 700; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
1822
1829
|
.rm-cal-grid button[aria-pressed="true"] { background: #16131d; background: var(--sc-strong, #16131d); color: #fff; color: var(--sc-on-strong, #fff); }
|
|
1823
1830
|
|
|
1824
1831
|
/* While the AI works: its current step as text with a light sweeping across (like ChatGPT), and the seconds so far. */
|
|
1825
|
-
.ai-shimmer { background: linear-gradient(90deg, var(--sc-ink-3) 0%, var(--sc-ink-3)
|
|
1832
|
+
.ai-shimmer { display: inline-block; font-weight: 550; background: linear-gradient(90deg, var(--sc-ink-3) 0%, var(--sc-ink-3) 30%, var(--sc-accent, #1673e0) 45%, color-mix(in srgb, var(--sc-accent, #1673e0) 45%, #fff) 52%, var(--sc-accent, #1673e0) 59%, var(--sc-ink-3) 72%, var(--sc-ink-3) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ai-shimmer 2.2s linear infinite, ai-say 0.25s ease-out both; }
|
|
1833
|
+
@keyframes ai-say { from { opacity: 0; transform: translateY(3px); } }
|
|
1826
1834
|
@keyframes ai-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
|
|
1827
1835
|
.ai-seconds { color: var(--sc-ink-3); font-variant-numeric: tabular-nums; font-size: 12.5px; }
|
|
1828
1836
|
@media (prefers-reduced-motion: reduce) { .ai-shimmer { animation: none; color: var(--sc-ink-2); } }
|
|
@@ -2006,13 +2014,13 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2006
2014
|
.sc-composer--draft { background: #f5f8ff; background: color-mix(in srgb, #f5f8ff var(--sc-tint), var(--sc-surface)); border-color: #8aa7e8; box-shadow: 0 0 0 3px rgba(47, 111, 224, 0.14); }
|
|
2007
2015
|
.sc-composer--draft .sc-send { background: #2f6fe0; }
|
|
2008
2016
|
.sc-draft-bar { background: #e8efff; background: color-mix(in srgb, #e8efff var(--sc-tint), var(--sc-surface)); color: #2a4fa8; color: color-mix(in srgb, #2a4fa8 var(--sc-dk), #fff); }
|
|
2009
|
-
.sc-draft-before { margin: 6px 10px 0; padding: 8px 10px; border-radius: 10px; background: #
|
|
2017
|
+
.sc-draft-before { margin: 6px 10px 0; padding: 8px 10px; border-radius: 10px; background: #fff4e6; background: color-mix(in srgb, #fff4e6 var(--sc-tint), var(--sc-surface)); border: 1px solid #f7d9b5; font-size: 12.5px; line-height: 1.45; color: #40260f; color: color-mix(in srgb, #40260f var(--sc-dk), #fff); white-space: pre-wrap; }
|
|
2010
2018
|
.sc-draft-card { margin: 6px 10px 0; font-size: 12px; color: var(--sc-ink-3); }
|
|
2011
2019
|
.sc-draft-before strong { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.01em; }
|
|
2012
2020
|
.sc-draft-editing { padding: 6px 14px 4px; font-size: 13px; font-style: italic; color: #3557b7; color: color-mix(in srgb, #3557b7 var(--sc-dk), #fff); }
|
|
2013
2021
|
|
|
2014
2022
|
/* The country flag as a round badge on the store's picture, top right. */
|
|
2015
|
-
.st-flag { position: absolute; top: -2px;
|
|
2023
|
+
.st-flag { position: absolute; top: -2px; left: -2px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; border-radius: 50%; overflow: hidden; background: #fff; background: var(--sc-surface); box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0, 0, 0, 0.25); box-shadow: 0 0 0 2px var(--sc-surface), 0 1px 3px rgba(0, 0, 0, 0.25); font-style: normal; }
|
|
2016
2024
|
.st-flag span { font-size: 16px; line-height: 1; transform: translateY(1px); }
|
|
2017
2025
|
|
|
2018
2026
|
/* Flat round flag, and the bottom-right dev/lock badge, the same size as the online dot. */
|
|
@@ -2079,7 +2087,7 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2079
2087
|
@media (max-width: 420px) { .sc-aic--tiles { grid-template-columns: 1fr; } }
|
|
2080
2088
|
|
|
2081
2089
|
/* Online now: green dot top left of the store avatar (the flag is top right). */
|
|
2082
|
-
.st-online { position: absolute; top: -2px;
|
|
2090
|
+
.st-online { position: absolute; top: -2px; right: -2px; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px #fff; box-shadow: 0 0 0 2px var(--sc-surface); }
|
|
2083
2091
|
.st-online::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: st-online-pulse 2s ease-out infinite; }
|
|
2084
2092
|
@keyframes st-online-pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.2); opacity: 0; } }
|
|
2085
2093
|
@media (prefers-reduced-motion: reduce) { .st-online::after { animation: none; } }
|
|
@@ -2101,8 +2109,10 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2101
2109
|
.sc-note-body { white-space: normal; }
|
|
2102
2110
|
|
|
2103
2111
|
/* The open conversation: darker than hover and a purple bar, so it never reads like an unread (blue) row. */
|
|
2104
|
-
|
|
2105
|
-
.ibx-item
|
|
2112
|
+
/* Rows sit inset with round corners and no lines; the open one is a soft sky blue card. */
|
|
2113
|
+
.ibx-item { margin: 2px 8px; padding: 12px 12px; border-bottom: 0; border-radius: 16px; }
|
|
2114
|
+
.ibx-item.ibx-item--active { background: #e8f3fe; background: color-mix(in srgb, #e8f3fe var(--sc-tint), var(--sc-surface)); box-shadow: none; }
|
|
2115
|
+
.ibx-item.ibx-item--active:hover { background: #ddeefd; background: color-mix(in srgb, #ddeefd var(--sc-tint), var(--sc-surface)); }
|
|
2106
2116
|
|
|
2107
2117
|
/* Inbox: ours (right) soft indigo, the merchant's (left) light grey, so the two sides read apart at a glance. */
|
|
2108
2118
|
.ibx-thread .sc-row--merchant .sc-bubble:not(.sc-bubble--ai) { background: #eef1ff; background: color-mix(in srgb, #eef1ff var(--sc-tint), var(--sc-surface)); border: 1px solid #dde3ff; border: 1px solid color-mix(in srgb, #dde3ff var(--sc-tint), var(--sc-line)); }
|
|
@@ -2111,7 +2121,7 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2111
2121
|
|
|
2112
2122
|
/* The store's avatar beside the merchant's messages (team view), at the foot of each run. */
|
|
2113
2123
|
.sc-row-av { flex: none; width: 28px; align-self: flex-end; display: flex; }
|
|
2114
|
-
.sc-row-av .st-flag, .sc-row-av .st-lock, .sc-row-av .st-code, .sc-row-av .st-star, .sc-row-av .st-online { display: none; }
|
|
2124
|
+
.sc-row-av .st-flag, .sc-row-av .st-lock, .sc-row-av .st-code, .sc-row-av .st-star, .sc-row-av .st-cash, .sc-row-av .st-online { display: none; }
|
|
2115
2125
|
|
|
2116
2126
|
/* Team: the hover menu beside a message (react, reply, edit, delete), and a deleted message. */
|
|
2117
2127
|
.sc-msg-stack { position: relative; }
|
|
@@ -2128,13 +2138,13 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2128
2138
|
.sc-macts-emoji button:hover { transform: scale(1.25); background: none; }
|
|
2129
2139
|
@media (hover: none) { .sc-row:hover .sc-macts:not(.sc-macts--on) { display: none; } }
|
|
2130
2140
|
/* A reply's quote of the message it answers, and the "Replying to" bar over the composer. */
|
|
2131
|
-
.sc-quote { display: grid; gap: 1px; width: 100%; margin: 0 0 6px; padding: 5px 10px; border: 0; border-left: 3px solid #
|
|
2132
|
-
.sc-quote strong { font-size: 12px; color: #
|
|
2141
|
+
.sc-quote { display: grid; gap: 1px; width: 100%; margin: 0 0 6px; padding: 5px 10px; border: 0; border-left: 3px solid #1673e0; border-radius: 8px; background: rgba(22, 115, 224, 0.08); font: inherit; text-align: left; cursor: pointer; }
|
|
2142
|
+
.sc-quote strong { font-size: 12px; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
2133
2143
|
.sc-quote span { font-size: 12.5px; color: var(--sc-ink-3, #616161); color: var(--sc-ink-3, color-mix(in srgb, #616161 var(--sc-dk), #fff)); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
|
2134
2144
|
.sc-replying { display: flex; align-items: center; gap: 10px; margin: 0 12px 6px; padding: 8px 10px; border-radius: 12px; background: var(--sc-soft); }
|
|
2135
|
-
.sc-replying-bar { flex: none; width: 3px; align-self: stretch; border-radius: 3px; background: #
|
|
2145
|
+
.sc-replying-bar { flex: none; width: 3px; align-self: stretch; border-radius: 3px; background: #1673e0; }
|
|
2136
2146
|
.sc-replying-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
|
|
2137
|
-
.sc-replying-text strong { font-size: 12.5px; color: #
|
|
2147
|
+
.sc-replying-text strong { font-size: 12.5px; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); }
|
|
2138
2148
|
.sc-replying-text span { font-size: 13px; color: var(--sc-ink-3, #616161); color: var(--sc-ink-3, color-mix(in srgb, #616161 var(--sc-dk), #fff)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2139
2149
|
.sc-replying button { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; font-size: 18px; color: var(--sc-ink-3); cursor: pointer; }
|
|
2140
2150
|
/* Reactions under a message. */
|
|
@@ -2142,7 +2152,7 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2142
2152
|
.sc-row--merchant .sc-reacts { justify-content: flex-end; }
|
|
2143
2153
|
.sc-react { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; background: var(--sc-surface); font: inherit; font-size: 14px; line-height: 1.3; cursor: pointer; }
|
|
2144
2154
|
.sc-react span { font-size: 11.5px; font-weight: 650; color: var(--sc-ink-3); }
|
|
2145
|
-
.sc-react--mine { border-color: rgba(
|
|
2155
|
+
.sc-react--mine { border-color: rgba(22, 115, 224, 0.45); background: rgba(22, 115, 224, 0.08); }
|
|
2146
2156
|
.sc-react:disabled { cursor: default; }
|
|
2147
2157
|
.sc-deleted { display: flex; flex-direction: column; gap: 2px; max-width: min(80%, 34rem); padding: 6px 12px; border: 1px dashed var(--sc-line); border-radius: 14px; font-size: 13px; color: var(--sc-ink-3, #8a8a8a); color: var(--sc-ink-3, color-mix(in srgb, #8a8a8a var(--sc-dk), #fff)); }
|
|
2148
2158
|
.sc-deleted--merchant { align-self: flex-end; text-align: right; }
|
|
@@ -2200,7 +2210,7 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2200
2210
|
.av-line-close:hover { background: rgba(0, 0, 0, 0.06); background: rgba(var(--sc-overlay-rgb), 0.06); }
|
|
2201
2211
|
|
|
2202
2212
|
/* Recording a review the tracker missed, from the store panel. */
|
|
2203
|
-
.mi-review-add { margin-left: 8px; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: #
|
|
2213
|
+
.mi-review-add { margin-left: 8px; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: #0f5fc4; color: color-mix(in srgb, #0f5fc4 var(--sc-dk), #fff); cursor: pointer; }
|
|
2204
2214
|
.mi-review-mark { display: grid; gap: 6px; }
|
|
2205
2215
|
.mi-stars { display: inline-flex; gap: 2px; }
|
|
2206
2216
|
.mi-stars button { border: 0; background: none; padding: 0 1px; font-size: 20px; line-height: 1; color: #d9d9e0; cursor: pointer; }
|
|
@@ -2237,7 +2247,7 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2237
2247
|
|
|
2238
2248
|
/* The preview's reply box: answer straight from the preview, like a chat composer. */
|
|
2239
2249
|
.mp-reply { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 4px 4px 14px; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; background: var(--sc-surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: border-color 0.15s, box-shadow 0.15s; }
|
|
2240
|
-
.mp-reply:focus-within { border-color: #
|
|
2250
|
+
.mp-reply:focus-within { border-color: #1673e0; box-shadow: 0 0 0 3px rgba(22, 115, 224, 0.15); }
|
|
2241
2251
|
.mp-reply input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--sc-ink); }
|
|
2242
2252
|
.mp-reply button { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--sc-soft); color: var(--sc-ink-3); cursor: pointer; transition: background 0.15s, color 0.15s; }
|
|
2243
2253
|
.mp-reply button.mp-reply-send--on { background: var(--sc-ink); color: #fff; color: var(--sc-on-strong, #fff); }
|
|
@@ -2251,7 +2261,7 @@ button.ai-toggle:hover { background: var(--sc-soft); color: var(--sc-ink); }
|
|
|
2251
2261
|
.rm-clock { align-self: flex-start; padding: 6px 10px; border: 1px solid var(--sc-line); border-radius: 10px; font: inherit; font-size: 13px; }
|
|
2252
2262
|
/* Sneak peek: whether a teammate is writing a note or a reply to the merchant. */
|
|
2253
2263
|
.sc-typing-kind { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #e8f0fe; background: color-mix(in srgb, #e8f0fe var(--sc-tint), var(--sc-surface)); color: #2f5fb3; color: color-mix(in srgb, #2f5fb3 var(--sc-dk), #fff); font-style: normal; font-size: 11px; font-weight: 650; }
|
|
2254
|
-
.sc-typing-kind--note { background: #
|
|
2264
|
+
.sc-typing-kind--note { background: #ffecd6; background: color-mix(in srgb, #ffecd6 var(--sc-tint), var(--sc-surface)); color: #9a5410; color: color-mix(in srgb, #9a5410 var(--sc-dk), #fff); }
|
|
2255
2265
|
|
|
2256
2266
|
/* Dark theme: the store's events (right bar Activity box and the chat) and the composer's highlights set their colours
|
|
2257
2267
|
through their own variables, so they get dark values here. */
|
|
@@ -2276,7 +2286,7 @@ html[data-theme="dark"] .sc-hl--customer { --hl: rgba(120, 120, 230, 0.28); }
|
|
|
2276
2286
|
/* Images placed in the text: in the editor (dimmed while uploading) and in the sent message, where they stand. */
|
|
2277
2287
|
.sc-rich-img { display: block; margin: 6px 0; }
|
|
2278
2288
|
.sc-rich-img img { display: block; max-width: min(100%, 320px); max-height: 220px; border-radius: 10px; border: 1px solid var(--sc-line); }
|
|
2279
|
-
.sc-rich-img.ProseMirror-selectednode img { outline: 2px solid #
|
|
2289
|
+
.sc-rich-img.ProseMirror-selectednode img { outline: 2px solid #1673e0; outline-offset: 2px; }
|
|
2280
2290
|
.sc-rich-img--busy img { opacity: 0.5; }
|
|
2281
2291
|
.sc-rich-img-name { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--sc-soft); font-size: 13px; color: var(--sc-ink-2); }
|
|
2282
2292
|
.sc-inline-img { margin: 8px 0; }
|
|
@@ -2292,11 +2302,11 @@ html[data-theme="dark"] .sc-hl--customer { --hl: rgba(120, 120, 230, 0.28); }
|
|
|
2292
2302
|
.sc-draft-cardrow { display: grid; gap: 6px; margin-top: 8px; }
|
|
2293
2303
|
.sc-draft-peek { width: 300px; max-width: 100%; height: 222px; overflow: hidden; border-radius: 14px; pointer-events: none; }
|
|
2294
2304
|
.sc-draft-peek > * { transform: scale(0.72); transform-origin: top left; width: 139%; }
|
|
2295
|
-
.sc-draft-card button { margin-left: 2px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: #
|
|
2305
|
+
.sc-draft-card button { margin-left: 2px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: #1673e0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
|
|
2296
2306
|
/* "New messages" when one arrives while the reader is further up the chat. */
|
|
2297
2307
|
.sc-newbelow-wrap { position: sticky; top: calc(100% - 56px); height: 0; z-index: 5; display: flex; justify-content: center; pointer-events: none; }
|
|
2298
|
-
.sc-newbelow { pointer-events: auto; padding: 7px 14px; border: 0; border-radius: 999px; background: #
|
|
2299
|
-
.sc-newbelow:hover { background: #
|
|
2308
|
+
.sc-newbelow { pointer-events: auto; padding: 7px 14px; border: 0; border-radius: 999px; background: #1673e0; color: #fff; font: inherit; font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px -6px rgba(60, 40, 160, 0.55); cursor: pointer; }
|
|
2309
|
+
.sc-newbelow:hover { background: #1673e0; }
|
|
2300
2310
|
/* Under the team's first message: a person wrote it, not the AI. */
|
|
2301
2311
|
.sc-human { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; padding: 3px 10px 3px 6px; border-radius: 999px; background: #eef4fe; background: color-mix(in srgb, #eef4fe var(--sc-tint), var(--sc-surface)); color: #174ea6; color: color-mix(in srgb, #174ea6 var(--sc-dk), #fff); font-size: 12px; font-weight: 600; }
|
|
2302
2312
|
.sc-human svg { flex: none; color: #1a73e8; color: color-mix(in srgb, #1a73e8 var(--sc-dk), #fff); }
|
|
@@ -2337,8 +2347,8 @@ html[data-theme="dark"] .sc-ctx .sc-ctx-bar { box-shadow: 0 4px 14px rgba(0, 0,
|
|
|
2337
2347
|
.sc-ctx-bar { display: flex; gap: 2px; padding: 4px; border-radius: 999px; transform-origin: 50% 100%; animation: sc-ctx-pop 0.22s cubic-bezier(0.25, 1.35, 0.5, 1) both; }
|
|
2338
2348
|
.sc-ctx-bar button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 26px; line-height: 1; cursor: pointer; transition: transform 0.12s ease-out, background-color 0.12s; }
|
|
2339
2349
|
.sc-ctx-bar button:active { transform: scale(1.22); }
|
|
2340
|
-
.sc-ctx-bar button[aria-checked="true"] { background: rgba(
|
|
2341
|
-
.sc-ctx-bar button:focus-visible { outline: 2px solid rgba(
|
|
2350
|
+
.sc-ctx-bar button[aria-checked="true"] { background: rgba(22, 115, 224, 0.16); box-shadow: inset 0 0 0 1.5px rgba(22, 115, 224, 0.5); }
|
|
2351
|
+
.sc-ctx-bar button:focus-visible { outline: 2px solid rgba(22, 115, 224, 0.7); outline-offset: -2px; }
|
|
2342
2352
|
.sc-ctx-menu { min-width: 220px; max-width: calc(100vw - 32px); padding: 6px; border-radius: 16px; transform-origin: 50% 0; animation: sc-ctx-pop 0.22s cubic-bezier(0.25, 1.35, 0.5, 1) both; }
|
|
2343
2353
|
.sc-ctx-menu--above { transform-origin: 50% 100%; }
|
|
2344
2354
|
.sc-ctx-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
|
|
@@ -2484,7 +2494,29 @@ html[data-theme="dark"] .sc-ctx .sc-ctx-bar { box-shadow: 0 4px 14px rgba(0, 0,
|
|
|
2484
2494
|
.cc-tone--accent.cc-badge, .cc-tone--accent.cc-stat { background: color-mix(in srgb, #fbe7f7 var(--sc-tint), var(--sc-surface)); }
|
|
2485
2495
|
.cc-tone--accent, .cc-tone--accent .cc-stat-value { color: color-mix(in srgb, #a3218e var(--sc-dk), #fff); }
|
|
2486
2496
|
|
|
2487
|
-
/* A link the merchant
|
|
2488
|
-
.sc-opened-mark { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 3px; vertical-align: -3px; border-radius: 50%; background: #
|
|
2497
|
+
/* A link the merchant clicked (team only): a blue check on white, after plain words or inside a badge. */
|
|
2498
|
+
.sc-opened-mark { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 3px; vertical-align: -3px; border-radius: 50%; background: #fff; background: var(--sc-surface); box-shadow: 0 0 0 1px var(--sc-line); color: #1673e0; color: color-mix(in srgb, #1673e0 var(--sc-dk), #fff); cursor: default; }
|
|
2499
|
+
.sc-opened-mark--in { width: 14px; height: 14px; margin-left: 1px; vertical-align: 0; box-shadow: none; }
|
|
2489
2500
|
.cc-item-main { flex: 1; min-width: 0; }
|
|
2490
2501
|
.cc-list--spaced .cc-item, .cc-list--spaced .cc-item:first-child, .cc-list--spaced .cc-item:last-child { border-top: 0; padding: 8px 10px; border-radius: 10px; }
|
|
2502
|
+
|
|
2503
|
+
/* A note's actions sit left of its time and only show on hover, so the note never grows and its time stays at the
|
|
2504
|
+
right edge; their 28px buttons overhang the 18px header instead of stretching it. */
|
|
2505
|
+
.sc-note-head .sc-macts + span { margin-left: 0; }
|
|
2506
|
+
@media (hover: hover) {
|
|
2507
|
+
.sc-note-head .sc-macts { display: inline-flex; visibility: hidden; margin: -6px 0 -6px auto; }
|
|
2508
|
+
.sc-note:hover .sc-note-head .sc-macts, .sc-note-head .sc-macts--on { visibility: visible; }
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
/* "Email me a transcript" in a chat header: an icon button, then a small card that asks first. */
|
|
2512
|
+
.sc-tr { position: relative; display: inline-flex; }
|
|
2513
|
+
.sc-tr-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
|
|
2514
|
+
.sc-tr-btn:hover { background: var(--sc-soft); }
|
|
2515
|
+
.sc-tr-scrim { position: fixed; inset: 0; z-index: 40; }
|
|
2516
|
+
.sc-tr-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 41; box-sizing: border-box; width: 260px; padding: 14px; border-radius: 16px; background: #fff; background: var(--sc-surface); color: var(--sc-ink); text-align: left; box-shadow: 0 20px 44px -16px rgba(13, 13, 13, 0.35), 0 0 0 1px rgba(13, 13, 13, 0.06); display: flex; flex-direction: column; gap: 8px; animation: mp-in 0.2s ease-out both; }
|
|
2517
|
+
.sc-tr-pop strong { font-size: 14px; }
|
|
2518
|
+
.sc-tr-pop p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--sc-ink-2); }
|
|
2519
|
+
.sc-tr-pop .sc-tr-err { color: #b3261e; color: color-mix(in srgb, #b3261e var(--sc-dk), #fff); }
|
|
2520
|
+
.sc-tr-pop .sc-tr-done { color: var(--sc-ink); }
|
|
2521
|
+
.sc-tr-send { align-self: flex-start; padding: 8px 16px; border: 0; border-radius: 999px; background: #1673e0; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
|
|
2522
|
+
.sc-tr-send:disabled { opacity: 0.6; cursor: default; }
|