/* Small composer palette; the conversation and its controls remain usable. */
.experience-expression-buttons { position: relative; flex-shrink: 0; align-self: flex-end; }
.experience-expression-buttons > .icon-button[aria-expanded=true] { background: #e0e7eb; color: #008069; }
.expression-panel { --expression-bg: #fff; --expression-soft: #f3f5f6; --expression-line: #e5e9eb; --expression-ink: #223039; --expression-muted: #667781; position: absolute; z-index: 30; left: -4px; bottom: calc(100% + 12px); width: min(370px, calc(100vw - 44px)); max-width: calc(100vw - 44px); display: flex; flex-direction: column; padding: 0; border: 1px solid var(--expression-line); border-radius: 13px; background: var(--expression-bg); color: var(--expression-ink); box-shadow: 0 8px 28px #111b2129; text-align: left; font-size: 12px; overflow: hidden; }
.expression-panel button { font: inherit; color: inherit; cursor: pointer; }
.expression-tabs { display: flex; gap: 6px; padding: 7px 9px; align-items: center; border-bottom: 1px solid var(--expression-line); }
.expression-tabs > button, .expression-sources > button { border: 0; background: none; padding: 8px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.expression-tabs > button .icon { width: 17px; height: 17px; }
.expression-tabs > button.active { color: #008069; background: #e9f3ee; }
.expression-tabs > .expression-close { margin-left: auto; padding: 7px; color: var(--expression-muted); }
.expression-sources { display: flex; align-items: center; gap: 2px; padding: 5px 8px 0; overflow-x: auto; scrollbar-width: thin; flex-shrink: 0; }
.expression-sources > button { font-size: 11px; padding: 7px 8px; color: var(--expression-muted); border-bottom: 2px solid transparent; border-radius: 0; }
.expression-sources .icon { width: 13px; height: 13px; }
.expression-sources > button.active { color: var(--expression-ink); border-bottom-color: #00a884; }
.expression-search { display: flex; align-items: center; gap: 7px; background: var(--expression-soft); color: var(--expression-muted); border: 1px solid var(--expression-line); border-radius: 16px; margin: 8px 10px; padding: 0 10px; }
.expression-search .icon { width: 14px; height: 14px; flex-shrink: 0; }
.expression-search input { min-width: 0; width: 100%; background: none; border: 0; box-shadow: none; padding: 8px 0; margin: 0; font-size: 11px; color: var(--expression-ink); outline-offset: 3px; }
.expression-content { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; min-height: 150px; max-height: min(300px, 36vh); padding: 8px 10px 12px; }
.expression-stickers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.expression-sticker-cell { position: relative; min-width: 0; }
.expression-sticker, .expression-create-button { width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; padding: 5px; border: 0; border-radius: 8px; background: transparent; }
.expression-sticker:hover, .expression-create-button:hover, .expression-panel button:focus-visible { background: var(--expression-soft); outline-offset: -2px; }
.expression-sticker:disabled { opacity: .5; cursor: progress; }
.expression-sticker img { width: 100%; height: 100%; object-fit: contain; }
.expression-placeholder { color: var(--expression-line); }
.expression-placeholder .icon { width: 27px; height: 27px; }
.expression-create-button { border: 1px solid var(--expression-line); background: var(--expression-soft); color: var(--expression-muted) !important; }
.expression-create-button span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.expression-create-button .icon { width: 22px; height: 22px; }
.expression-create-button small { font-size: 10px; }
.expression-empty { color: var(--expression-muted); font-size: 12px; line-height: 1.6; padding: 10px 3px 0; margin: 0; }
.expression-status { color: var(--expression-muted); font-size: 11px; margin: 10px 0 0; }
.expression-phone-help { margin: 0 0 9px; color: var(--expression-muted); font-size: 10px; line-height: 1.6; }
.expression-phone-help summary { cursor: pointer; width: fit-content; }
.expression-phone-help p { margin: 7px 0; padding: 8px; background: var(--expression-soft); border-radius: 7px; }
.expression-create-button small { white-space: normal; text-align: center; }
.expression-unavailable { color: var(--expression-muted); font-size: 9px; overflow-wrap: anywhere; }
.expression-emoji-categories { display: flex; gap: 8px; border-bottom: 1px solid var(--expression-line); padding: 5px 10px; }
.expression-emoji-categories .icon-button { width: 32px; height: 29px; color: var(--expression-muted); }
.expression-content h3 { font-size: 11px; font-weight: 500; color: var(--expression-muted); margin: 7px 2px; }
.expression-panel .experience-emoji-grid { gap: 1px; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-bottom: 12px; }
.expression-panel .experience-emoji { padding: 5px 1px; font-size: 24px; line-height: 1.3; }
.sticker-attachment { position: relative; width: fit-content; max-width: 100%; }
.sticker-attachment .attachment-sticker { height: 128px; width: 128px; max-width: 100%; object-fit: contain; }
.experience-save-sticker { position: absolute; right: -8px; bottom: 2px; display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; padding: 4px; border: 1px solid #d9e2e5; border-radius: 50%; background: #fffffff0; color: #667781; cursor: pointer; opacity: .7; }
.experience-save-sticker .icon { height: 14px; width: 14px; }
.experience-save-sticker:hover, .experience-save-sticker:focus-visible { opacity: 1; }
.experience-save-sticker[aria-pressed=true] { color: #9b7900; opacity: 1; }
.experience-save-sticker[aria-pressed=true] .icon { fill: #e8c84a; }
.expression-sticker-cell .experience-save-sticker { right: 0; bottom: 0; height: 21px; width: 21px; padding: 3px; }
.expression-sticker-cell .experience-save-sticker .icon { height: 12px; width: 12px; }
/* Keep the native sticker silhouette instead of the photo/file bubble. */
.message-row .message-bubble.sticker-bubble, .inbox .message-bubble.sticker-bubble, .internal-page .message-bubble.sticker-bubble, .personal-message .personal-bubble.sticker-bubble,
html[data-appearance=dark] .message-row .message-bubble.sticker-bubble, html[data-appearance=dark] .inbox .message-bubble.sticker-bubble, html[data-appearance=dark] .internal-page .message-bubble.sticker-bubble, html[data-appearance=dark] .personal-message .personal-bubble.sticker-bubble { background: transparent; border-color: transparent; box-shadow: none; padding: 4px 10px 4px 4px; }
.sticker-bubble .message-meta, .sticker-bubble .personal-message-meta { width: fit-content; margin-top: 4px; padding: 2px 5px; border-radius: 5px; background: #ffffffc9; color: #596b76; }
.customer-profile-name { display: block; border: 0; background: transparent; padding: 0; text-align: left; font-family: inherit; cursor: pointer; }
.customer-profile-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.customer-profile-name:focus-visible { outline: 2px solid #00a884; outline-offset: 4px; border-radius: 2px; }
.brand .brand-mark.brand-store-mark { width: 42px; height: 34px; background: #fff; border-radius: 6px; padding: 1px; }
.brand-store-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.login-operator-corner img { object-fit: contain; }
.chat-welcome-logo { width: min(260px, 70%); height: auto; object-fit: contain; border-radius: 14px; margin-bottom: 22px; }
.branded-empty { padding: 28px; }
html[data-appearance=dark] .expression-panel { --expression-bg: #202c33; --expression-soft: #2a3942; --expression-line: #364852; --expression-ink: #e9edef; --expression-muted: #aebac1; box-shadow: 0 8px 28px #0006; }
html[data-appearance=dark] .expression-tabs > button.active { background: #00a8841a; color: #78d9b9; }
html[data-appearance=dark] .experience-expression-buttons > .icon-button[aria-expanded=true] { background: #33454f; color: #78d9b9; }
html[data-appearance=dark] .experience-save-sticker { background: #263740ee; color: #c0cbd0; border-color: #48606d; }
html[data-appearance=dark] .experience-save-sticker[aria-pressed=true] { color: #e8c84a; }
html[data-appearance=dark] .sticker-bubble .message-meta, html[data-appearance=dark] .sticker-bubble .personal-message-meta { background: #202c33cf; color: #b7c9d0; }
@media (max-width: 700px) { .expression-panel { width: min(345px, calc(100vw - 72px)); max-width: calc(100vw - 72px); left: -7px; } .expression-sticker, .expression-create-button { height: 57px; } .expression-content { max-height: min(280px, 34vh); } }
@supports (width: 1cqw) { .composer, .personal-composer, .group-chat-compose { container-type: inline-size; } .expression-panel { max-width: min(calc(100vw - 72px), calc(100cqw - 48px)); } }

.conversation-search-row { display:flex; align-items:center; gap:5px; margin:0 14px 12px; }
.conversation-search-row .search-wrap { flex:1; min-width:0; margin:0; }
.conversation-filter-compact { position:relative; display:grid; place-items:center; flex:0 0 30px; width:30px; height:36px; border-radius:7px; color:#8b999f; cursor:pointer; }
.conversation-filter-compact > .icon { width:16px; height:16px; pointer-events:none; }
.conversation-filter-compact > select { position:absolute; inset:0; margin:0; width:100%; height:100%; padding:0; opacity:0; cursor:pointer; }
.conversation-filter-compact:hover,.conversation-filter-compact:focus-within { background:#82939c14; }
.conversation-filter-compact:focus-within { outline:2px solid #00a884; outline-offset:2px; }
.conversation-filter-compact.active { color:#008069; }
.conversation-filter-compact.active::after { content:''; position:absolute; top:6px; right:4px; width:4px; height:4px; background:currentColor; border-radius:50%; pointer-events:none; }
.chat-call-notice { display:flex; justify-content:center; align-items:center; gap:8px; width:fit-content; max-width:90%; margin:13px auto; padding:8px 11px; color:#667781; background:#f5f7f8d9; border-radius:8px; font-size:11px; }
.chat-call-notice .icon { width:15px; height:15px; }
.chat-call-notice time { font-size:9px; opacity:.8; }
.checkout-template-tools { display:flex; gap:6px; flex-wrap:wrap; margin:14px 0; }
.checkout-template-tools .secondary-button { padding:7px 9px; font-size:11px; }
.checkout-template-preview { white-space:pre-wrap; overflow-wrap:anywhere; font-family:inherit; font-size:12px; line-height:1.7; padding:14px; margin:10px 0; border:1px solid var(--line); border-radius:9px; background:#f3f6f7; color:#33434b; }
.pickup-print-brand { display:flex; align-items:center; gap:20px; border-bottom:1px solid #ddd; padding-bottom:15px; margin-bottom:16px; break-inside:avoid; }
.pickup-print-brand img { width:125px; height:93px; object-fit:contain; flex-shrink:0; }
.experience-print-content ul { padding-left:20px; margin:6px 0 12px; }
.experience-print-content li { margin:5px 0; }
html[data-appearance=dark] .chat-call-notice { background:#202c33df; color:#aebac1; }
html[data-appearance=dark] .checkout-template-preview { background:#202c33; color:#e9edef; border-color:#364852; }
html[data-appearance=dark] .conversation-filter-compact.active { color:#78d9b9; }
@media print { .pickup-print-brand img { width:32mm; height:24mm; } .pickup-print-brand h1 { color:#111; } }

/* Version 1: the supplied transparent originals stay transparent everywhere. */
.brand-store-mark,.brand-store-logo,.login-operator-corner,.login-operator-corner img,.chat-welcome-logo { background:transparent!important; border:0; box-shadow:none; }
.chat-welcome-logo { object-fit:contain; padding:0; width:min(310px,65vw); height:auto; max-height:270px; border-radius:0; }
.brand-store-logo { object-fit:contain; }
.primary-button,.commerce-search .secondary-button,.commerce-product .secondary-button,.commerce-pagination .secondary-button,.checkout-proposal-action .secondary-button { background:var(--theme-accent,var(--blue))!important; color:var(--theme-ink,#202020)!important; border-color:var(--theme-accent,var(--blue))!important; font-weight:650; }
.primary-button:disabled,.commerce-pagination button:disabled,.commerce-product button:disabled { opacity:.4; cursor:not-allowed; }
.customer-search-picker { display:grid; gap:7px; }
.customer-search-picker>input { width:100%; }
.customer-search-results { display:grid; gap:3px; max-height:220px; overflow:auto; }
.customer-search-result { display:block; width:100%; text-align:left; padding:10px 12px; background:var(--canvas); color:var(--ink); border:1px solid var(--line); border-radius:7px; cursor:pointer; }
.customer-search-result:hover { border-color:var(--theme-accent,var(--blue)); }
.customer-search-result small { display:block; margin-top:3px; color:var(--muted); overflow-wrap:anywhere; }
.customer-search-picker .small-text { margin:0; }
.top-nav-count.unread-count,.number-badge.unread-count,.internal-team-tab .unread-count { background:var(--theme-accent,var(--blue)); color:var(--theme-ink,#202020); font-weight:750; }
button.message-quote { width:100%; text-align:left; cursor:pointer; color:inherit; font:inherit; }
button.message-quote:hover { filter:brightness(.94); }
.quoted-message-focus { outline:3px solid var(--theme-accent,var(--blue)); outline-offset:3px; border-radius:8px; background:var(--theme-soft,var(--blue-soft)); }
.notification-history { margin-top:18px; border-top:1px solid var(--line); padding-top:14px; }
.notification-history>summary { cursor:pointer; color:var(--muted); font-size:12px; }
.notification-history .notifications-list { margin-top:12px; }
.proposal-product { display:grid; grid-template-columns:20px 85px minmax(0,1fr); align-items:start; gap:14px; }
.proposal-product-details { display:grid; gap:9px; min-width:0; }
.proposal-product-details>strong { overflow-wrap:anywhere; }
.proposal-product-details .field { margin:0; }
.proposal-product select { width:100%; }
.proposal-product input[type=number] { width:110px; }
.product-image-button { border:0; padding:0; background:transparent; cursor:zoom-in; }
.product-image-button img { width:85px; height:85px; object-fit:contain; border-radius:6px; }
.product-image-full { display:block; max-width:100%; max-height:75vh; margin:auto; object-fit:contain; }
.proposal-product-image:empty { display:none; }
.proposal-product:has(.proposal-product-image:empty) { grid-template-columns:20px minmax(0,1fr); }
.proposal-totals { margin:20px 0 8px; padding:16px; border-radius:10px; }
.proposal-public .brand>div { display:block!important; }
.proposal-public .brand-name { display:block!important; color:#fff; }
.proposal-public .brand-sub { display:block!important; color:#ffd43b; }
.shared-customer-messages { max-height:52vh; overflow:auto; display:grid; gap:10px; padding:8px; margin:12px 0; }
.shared-customer-message { background:var(--canvas); padding:12px; border:1px solid var(--line); border-radius:10px; overflow-wrap:anywhere; }
.shared-customer-message>strong,.shared-customer-message>time { font-size:11px; }
.shared-customer-message>time { color:var(--muted); }
.shared-customer-message.shared-note { border-color:var(--theme-accent,var(--blue)); }
.shared-customer-message .inline-media { max-height:250px; }
@media(max-width:600px){.proposal-product{grid-template-columns:20px 60px minmax(0,1fr);gap:8px}.product-image-button img{width:60px;height:60px}.proposal-public{padding:18px}.proposal-product-details select{font-size:12px}}
@media print{.pickup-print-brand img{background:transparent!important}}
.message-extra-actions { display:inline-flex; gap:3px; align-items:center; align-self:center; flex-shrink:0; }
.message-extra-actions .icon-button { width:27px; height:27px; padding:5px; color:var(--muted); background:transparent; }
.message-extra-actions .icon-button:hover { color:var(--theme-text,var(--ink)); background:var(--theme-soft,var(--blue-soft)); }
.message-extra-actions .message-delete-button:hover { color:var(--danger); }
.message-reactions { display:flex; gap:4px; flex-wrap:wrap; margin-top:5px; }
.message-reaction { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:20px; background:var(--surface); color:var(--ink); padding:2px 7px; font-size:16px; cursor:pointer; }
.message-reaction small { margin-left:4px; font-size:10px; }
.message-reaction.mine { border-color:var(--theme-accent,var(--blue)); background:var(--theme-soft,var(--blue-soft)); }
.message-reaction-picker { position:fixed; z-index:1000; box-shadow:0 8px 35px #0003; border:1px solid var(--line); border-radius:14px; background:var(--surface); color:var(--ink); padding:7px; }
.message-reaction-common { display:flex; justify-content:space-between; gap:2px; }
.reaction-emoji { border:0; background:transparent; padding:6px; min-width:35px; font-size:24px; line-height:1.2; border-radius:9px; cursor:pointer; }
.reaction-emoji:hover { background:var(--theme-soft,var(--blue-soft)); }
.message-reaction-all { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; max-height:230px; overflow:auto; padding-top:8px; }
.message-reaction-all[hidden] { display:none; }
.reaction-remove { grid-column:1/-1; padding:8px; }
.composer-image-tray { display:flex; align-items:center; gap:12px; flex-basis:100%; padding:8px; margin-bottom:8px; border:1px solid var(--theme-accent,var(--blue)); background:var(--theme-soft,var(--blue-soft)); border-radius:9px; }
.composer-image-tray img { width:65px; height:65px; object-fit:contain; border-radius:6px; }
.composer-image-tray>span { flex:1; min-width:0; }
.composer-image-tray strong,.composer-image-tray small { display:block; font-size:11px; }
.composer-image-tray small { margin-top:5px; color:var(--muted); }
.personal-message { gap:3px; }
.personal-message .message-extra-actions { flex-direction:column; }
@media(max-width:600px){.message-row{gap:3px}.message-extra-actions{flex-direction:column}.message-extra-actions .icon-button{width:23px;height:23px;padding:4px}.composer-image-tray small{font-size:10px}}
.message-delivery{display:inline-flex;align-items:center;flex:none;color:#89969d;line-height:1;vertical-align:middle}.message-delivery .icon{width:18px;height:15px;stroke-width:2;color:inherit}.message-delivery.is-read{color:#53bdeb}.message-delivery.is-failed{color:#df5c68}
.composer-image-open{padding:0;border:0;background:transparent;cursor:zoom-in;flex:none;border-radius:7px;overflow:hidden}.composer-image-open img{display:block}
