.ac-pinned-card{appearance:none;display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;text-align:left;padding:16px 14px;margin:0 0 14px;border:1px solid var(--palette-line,#e7e7e4);border-left:3px solid var(--palette-line,#e7e7e4);border-radius:16px;background:var(--card-bg,#fff);color:var(--text,#323232);font:inherit;cursor:pointer;box-shadow:0 5px 16px #ce4c0b0b}.ac-pinned-card:focus-visible,.ac-message-action:focus-visible{outline:3px solid var(--palette-ink,#292928);outline-offset:3px}.ac-team-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:14px;background:#f3f3f3;color:#dd510c;font-size:27px}.ac-card-copy{display:grid;gap:5px;min-width:0;flex:1}.ac-card-copy strong{display:flex;align-items:center;gap:7px;font-weight:600;font-size:14px;color:var(--heading,#2f2f2f)}.ac-card-copy strong .ac-pin{font-size:15px;color:#f68b20;transform:rotate(25deg)}.ac-card-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--text-light,#737373)}.ac-card-copy small{font-size:10px;color:var(--text-light,#737373)}.ac-pinned-card.unread{background:linear-gradient(110deg,#f5f5f5,var(--card-bg,#fff));border-color:var(--palette-line,#e7e7e4);border-left-color:var(--palette-line,#e7e7e4)}.ac-unread-dot{width:8px;height:8px;border-radius:50%;background:#dd510c;flex:0 0 8px}.ac-announcement{align-self:flex-start;box-sizing:border-box;max-width:100%;width:100%;padding:16px;margin:0 0 12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:5px 18px 18px;background:var(--card-bg,#fff);color:var(--text,#343434);box-shadow:0 4px 12px #44444406;overflow-wrap:anywhere}.ac-announcement .ac-message-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;font-weight:600;color:var(--heading,#2f2f2f)}.ac-announcement .ac-message-head .material-symbols-rounded{color:#dd510c;font-size:18px}.ac-announcement .ac-message-head small{font-size:10px;font-weight:400;color:var(--text-light,#737373)}.ac-announcement p{white-space:pre-wrap;font-size:13px;line-height:1.9;margin:12px 0}.ac-announcement>img{width:100%;max-height:360px;object-fit:contain;display:block;border-radius:11px;margin-top:12px;cursor:zoom-in}.ac-announcement time{display:block;text-align:right;font-size:10px;color:var(--text-light,#737373);margin-top:10px}.ac-message-action{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;width:100%;padding:9px 12px;border:1px solid var(--palette-line,#e7e7e4);border-radius:10px;background:#f6f6f6;color:#c4480a;font:inherit;font-size:12px;cursor:pointer;text-align:left}.ac-readonly-note{flex-shrink:0;margin:0;padding:12px 16px;border-top:1px solid var(--border,#e4e4e4);color:var(--text-light,#737373);font-size:11px;line-height:1.6;text-align:center;background:var(--card-bg,#fff)}body.dark-theme .ac-pinned-card.unread{background:#303030}body.dark-theme .ac-team-icon,body.dark-theme .ac-message-action{background:#353535;color:#fbcdb5}#chat-modal:has(.ac-readonly-note){z-index:400140!important}@media(max-width:480px){.ac-announcement{padding:13px}.ac-card-copy strong{font-size:13px}}



#chat-modal #chat-composer-form.ac-composer-hidden,#drawer-chat-thread-subview #drawer-chat-composer.ac-composer-hidden{display:none!important}
#chat-lightbox-modal{z-index:400150!important}

/* Conversation list: shared desktop popup and mobile drawer controls. */
.imv-chat-toolbar{flex:0 0 auto;min-width:0;padding:12px 0 8px;color:var(--heading,#2c2c2c);font-family:var(--font-firago,sans-serif)}
#drawer-chat-list-subview>.imv-chat-toolbar{padding:12px 16px 8px}
.imv-chat-search{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 12px;border:1px solid var(--border,#e6e6e6);border-radius:18px;background:var(--input-bg,var(--card-bg,#f6f6f6));box-sizing:border-box}
.imv-chat-search>svg{color:var(--text-light,#627477);flex-shrink:0}
.imv-chat-search input{appearance:none;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:var(--heading,#2c2c2c);font:400 14px var(--font-firago,sans-serif);min-width:0;width:100%;padding:10px 0;margin:0;height:auto}
.imv-chat-search input::placeholder{color:var(--text-light,#627477);opacity:1}
.imv-chat-search input::-webkit-search-cancel-button{display:none}
.imv-chat-search:focus-within{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}
.imv-chat-clear{appearance:none;flex:0 0 44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--heading,#2c2c2c);font-size:24px;cursor:pointer}
.imv-chat-clear[hidden]{display:none!important}
.imv-chat-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 8px}
.imv-chat-filters button{appearance:none;flex:1 1 auto;min-height:44px;box-sizing:border-box;border:0;border-radius:14px;padding:8px 12px;font:500 12px var(--font-firago,sans-serif);background:var(--light,#f3f3f3);color:var(--heading,#2c2c2c);cursor:pointer}
.imv-chat-filters button[aria-pressed=true]{background:var(--heading,#2c2c2c);color:var(--card-bg,#fff)}
.imv-chat-results{margin:0;color:var(--text-light,#627477);font-size:12px;line-height:1.6}
#chat-list-container.imv-chat-list,#drawer-chat-list-items.imv-chat-list{min-height:0;gap:4px;padding-top:0;padding-bottom:16px;overscroll-behavior:contain}
.imv-chat-list .imv-chat-row{appearance:none;display:flex;align-items:center;gap:12px;flex-shrink:0;width:100%;box-sizing:border-box;border:0;border-radius:18px;padding:12px;text-align:left;font:inherit;background:transparent;color:var(--heading,#2c2c2c);cursor:pointer;box-shadow:none}
.imv-chat-list .imv-chat-row.unread{background:var(--light,#f6f6f6)}
.imv-chat-avatar{position:relative;display:grid;place-items:center;overflow:hidden;flex:0 0 44px;height:44px;border-radius:50%;background:var(--light,#e2f3f1);color:var(--heading,#2c2c2c);font:600 16px var(--font-firago,sans-serif)}
.imv-chat-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.imv-chat-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.imv-chat-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.imv-chat-row-top strong{font-size:13px;line-height:1.6;font-weight:600;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.imv-chat-row-top time{flex-shrink:0;color:var(--text-light,#627477);font-size:11px;font-weight:400}
.imv-chat-preview,.imv-chat-place{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-light,#627477);font-size:12px;line-height:1.6}
.imv-chat-place{font-size:11px}
.imv-chat-place:empty{display:none}
.imv-chat-unread{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:var(--primary,#c2470a)}
.imv-chat-empty{margin:4px 0;padding:24px 16px;border-radius:18px;background:var(--light,#f6f6f6);color:var(--text-light,#627477);font-size:13px;line-height:1.8;text-align:center}
.imv-chat-retry{min-height:44px;border:1px solid var(--border,#e6e6e6);border-radius:14px;background:var(--card-bg,#fff);color:var(--heading,#2c2c2c);font:inherit;cursor:pointer}
.imv-chat-toolbar button:focus-visible,.imv-chat-list button:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}
.imv-chat-toolbar button:hover,.imv-chat-list button:hover{transform:none!important;translate:none!important;scale:none;rotate:none!important}
.imv-chat-list .imv-chat-row:hover{background:var(--light,#f1f1f1)}
.imv-chat-list .ac-pinned-card{margin:0 0 6px;border:0;border-radius:18px;background:var(--light,#f6f6f6);box-shadow:none;padding:12px;min-height:80px}
.imv-chat-list .ac-pinned-card.unread{background:var(--light,#f6f6f6)}
.imv-chat-list .ac-card-copy small{font-size:11px}
body.dark-theme .imv-chat-toolbar{color:var(--heading,#f1f1f1)}
body.dark-theme .imv-chat-filters button,body.dark-theme .imv-chat-row.unread,body.dark-theme .imv-chat-empty,body.dark-theme .imv-chat-list .ac-pinned-card,body.dark-theme .imv-chat-list .imv-chat-row:hover,body.dark-theme .imv-chat-avatar{background:#272c30}
body.dark-theme .imv-chat-filters button[aria-pressed=true]{background:#f1f1f1;color:#2c2c2c}
@media(max-width:480px){.imv-chat-search input{font-size:16px}.imv-chat-list .imv-chat-row{padding:12px 8px}.imv-chat-filters button{padding-inline:10px}}

#drawer-chat-list-subview>.imv-chat-toolbar{box-sizing:border-box;width:100%}
#drawer-chat-list-items.imv-chat-list{display:flex;flex-direction:column;flex:1 1 auto;overflow-y:auto;box-sizing:border-box;width:100%;padding-inline:16px}
.imv-chat-filters button{flex:1 1 0;min-width:0;overflow-wrap:normal;line-height:1.5}

/* Keep composer controls on one row, including after voice wraps the input. */
body #chat-modal #chat-composer-form:not(.ac-composer-hidden),body #drawer-chat-thread-subview #drawer-chat-composer:not(.ac-composer-hidden){display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px!important;align-items:end!important;flex:none!important;min-width:0;box-sizing:border-box}
#chat-composer-form>#btn-chat-photo,#drawer-chat-composer>.drawer-chat-photo-btn{grid-column:1;grid-row:1}
#chat-composer-form>.imv-voice-field,#drawer-chat-composer>.imv-voice-field,#chat-composer-form>#chat-message-input,#drawer-chat-composer>#drawer-chat-input{grid-column:2;grid-row:1;min-width:0;width:100%;box-sizing:border-box}
#chat-composer-form>button[type=submit],#drawer-chat-composer>button[type=submit]{grid-column:3;grid-row:1}
body #chat-composer-form>#btn-chat-photo,body #drawer-chat-composer>.drawer-chat-photo-btn,body #chat-composer-form>button[type=submit],body #drawer-chat-composer>button[type=submit]{display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px;min-height:44px;margin:0!important;padding:0!important;border:0!important;border-radius:14px!important;box-sizing:border-box;cursor:pointer;transform:none!important}
body #chat-composer-form>#btn-chat-photo,body #drawer-chat-composer>.drawer-chat-photo-btn{background:var(--light,#f6f6f6)!important;color:var(--heading,#2c2c2c)!important}
body #chat-composer-form>button[type=submit],body #drawer-chat-composer>button[type=submit]{background:var(--heading,#2c2c2c)!important;color:var(--card-bg,#fff)!important}
#chat-composer-form .imv-voice-field,#drawer-chat-composer .imv-voice-field{position:relative;display:block;min-height:44px}
#chat-composer-form #chat-message-input,#drawer-chat-composer #drawer-chat-input{width:100%!important;min-width:0;height:44px;min-height:44px;box-sizing:border-box;margin:0!important;padding:0 46px 0 12px!important;line-height:1.5}
#chat-composer-form .imv-voice-field>.imv-voice-button,#drawer-chat-composer .imv-voice-field>.imv-voice-button{display:flex;align-items:center;justify-content:center;position:absolute;right:2px;top:auto;bottom:2px;min-width:40px;min-height:40px;width:40px;height:40px;padding:8px;margin:0;border:0;background:transparent;transform:none!important;box-sizing:border-box}
#chat-composer-form>.imv-chat-attachment,#drawer-chat-composer>.imv-chat-attachment,#chat-composer-form>.imv-chat-status,#drawer-chat-composer>.imv-chat-status{grid-column:1/-1;min-width:0}
#chat-composer-form button:hover,#drawer-chat-composer button:hover{transform:none!important;translate:none!important;scale:none;rotate:none!important}
#chat-composer-form button:focus-visible,#drawer-chat-composer button:focus-visible{outline:2px solid var(--palette-ink,#292928);outline-offset:2px}
body.dark-theme #chat-composer-form>#btn-chat-photo,body.dark-theme #drawer-chat-composer>.drawer-chat-photo-btn{background:#272c30!important}

#chat-composer-form>#btn-chat-photo>.material-symbols-rounded,#drawer-chat-composer>.drawer-chat-photo-btn>.material-symbols-rounded{display:none!important}
#chat-composer-form>#btn-chat-photo::before,#drawer-chat-composer>.drawer-chat-photo-btn::before{content:"";display:block;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%205l1.5-2h5L16%205h4a1%201%200%200%201%201%201v13a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V6a1%201%200%200%201%201-1z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%205l1.5-2h5L16%205h4a1%201%200%200%201%201%201v13a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V6a1%201%200%200%201%201-1z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
#chat-composer-form #chat-message-input,#drawer-chat-composer #drawer-chat-input{border-radius:18px!important;border:1px solid var(--border,#e6e6e6);background:var(--background,#f6f6f6);color:var(--text,#2c2c2c);font:400 14px/1.5 var(--font-firago,sans-serif)}
@media(max-width:480px){#chat-composer-form #chat-message-input,#drawer-chat-composer #drawer-chat-input{font-size:16px}}

/* Website chat follows the shared neutral surfaces and carrot accent. */
@layer inclusive-palette {
:is(#chat-modal,#chat-list-modal,#drawer-view-messages,#drawer-chat-thread-subview,#drawer-chat-list-subview){--primary:var(--palette-action,#111);--secondary:var(--palette-action,#111);--background:var(--palette-surface,#f8f8f8);--card-bg:var(--palette-paper,#fff);--heading:var(--palette-ink,#292928);--text:var(--palette-ink,#292928);--text-light:var(--palette-muted,#70706d);--border:var(--palette-line,#e7e7e4);--light:var(--palette-surface,#f8f8f8);--input-bg:var(--palette-surface,#f8f8f8);--chat-sent:var(--palette-hover,#eeeeec)}
body #chat-modal .chat-bubble.sent,body #drawer-chat-thread-subview .outgoing .drawer-chat-bubble{background:var(--chat-sent)!important;color:var(--text)!important}
body #chat-modal .chat-bubble.received,body #drawer-chat-thread-subview .incoming .drawer-chat-bubble{background:var(--card-bg)!important;color:var(--text)!important;border:1px solid var(--border)}
:is(.chat-guide-avatar,.chat-guide-bubble){outline:2px solid #27805d;outline-offset:2px}
.chat-guide-bubble{outline-offset:-2px}
body.dark-theme :is(.chat-guide-avatar,.chat-guide-bubble){outline-color:#86cba6}
body #chat-modal .chat-bubble.sent .chat-message-meta,body #drawer-chat-thread-subview .outgoing .drawer-chat-bubble .chat-message-meta{color:var(--text-light)!important}
body #chat-composer-form>button[type=submit],body #drawer-chat-composer>button[type=submit]{background:var(--palette-action,#111)!important;color:#fff!important}
body #chat-composer-form .imv-voice-button,body #drawer-chat-composer .imv-voice-button{color:var(--text)!important}
:is(#chat-list-modal,#drawer-chat-list-subview) .imv-chat-filters button[aria-pressed=true]{background:var(--palette-action,#111)!important;color:#fff!important}
:is(#chat-modal,#chat-list-modal,#drawer-view-messages) .ac-team-icon,:is(#chat-modal,#drawer-view-messages) .ac-message-action{background:var(--card-bg);color:var(--text);border-color:var(--border)}
:is(#chat-modal,#chat-list-modal,#drawer-view-messages) .ac-unread-dot{background:#e76814}
:is(#chat-modal,#chat-list-modal,#drawer-view-messages) .ac-pinned-card.unread{background:var(--card-bg);border-color:var(--border);border-left-color:var(--palette-line,#e7e7e4)}
:is(#chat-modal,#drawer-view-messages) .ac-announcement .ac-message-head .material-symbols-rounded{color:var(--text)}
:is(#chat-list-modal,#drawer-chat-list-subview) .imv-chat-unread{background:#e76814!important}
body.dark-theme :is(#chat-list-modal,#drawer-view-messages) :is(.imv-chat-row.unread,.imv-chat-empty,.ac-pinned-card,.imv-chat-avatar),body.dark-theme :is(#chat-list-modal,#drawer-view-messages) .imv-chat-filters button:not([aria-pressed=true]){background:var(--light)!important}

}
