.inc-ai-chat {
    position: fixed;
    right: 22px;
    bottom: var(--inc-ai-chat-bottom, 22px);
    z-index: 9997;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: #111827;
}

.inc-ai-chat__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #c9dbea;
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    background: rgba(255, 255, 255, .96);
    color: #092f5f;
    box-shadow: 0 16px 38px rgba(8, 40, 73, .18);
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.inc-ai-chat__toggle-badge {
    position: absolute;
    top: -3px;
    right: -4px;
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(239, 68, 68, .28);
}

.inc-ai-chat__toggle-badge[hidden] {
    display: none;
}

.inc-ai-chat__toggle:hover {
    border-color: #82cce2;
    box-shadow: 0 18px 44px rgba(8, 40, 73, .24);
    transform: translateY(-1px);
}

.inc-ai-chat__toggle-avatar,
.inc-ai-chat__header-avatar {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9fcff, #e8fff3);
    overflow: hidden;
}

.inc-ai-chat__toggle-avatar {
    width: 46px;
    height: 46px;
    box-shadow: inset 0 0 0 1px rgba(21, 155, 141, .18);
}

.inc-ai-chat__toggle-avatar img,
.inc-ai-chat__header-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inc-ai-chat__toggle-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
    text-align: left;
}

.inc-ai-chat__toggle-title,
.inc-ai-chat__toggle-subtitle {
    display: block;
    line-height: 1.1;
    white-space: nowrap;
}

.inc-ai-chat__toggle-title {
    font-size: 15px;
    letter-spacing: 0;
    font-weight: 750;
}

.inc-ai-chat__toggle-subtitle {
    color: #4b657d;
    font-size: 12px;
    font-weight: 500;
}

.inc-ai-chat__panel {
    position: absolute;
    right: 0;
    bottom: 62px;
    display: none;
    width: min(400px, calc(100vw - 28px));
    max-height: min(720px, calc(100vh - 112px));
    overflow: hidden;
    border: 1px solid rgba(168, 190, 214, .58);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.inc-ai-chat.is-open .inc-ai-chat__panel {
    display: flex;
    flex-direction: column;
}

.inc-ai-chat.is-conversation-view .inc-ai-chat__panel {
    height: min(720px, calc(100vh - 112px));
}

.inc-ai-chat__header {
    display: grid;
    flex: 0 0 auto;
    gap: 9px;
    padding: 10px 14px 8px;
    border-bottom: 1px solid #edf1f7;
    background: #fff;
    color: #111827;
}

.inc-ai-chat__topbar {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    gap: 8px;
}

.inc-ai-chat__home {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #172033;
    cursor: pointer;
}

.inc-ai-chat__home svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.inc-ai-chat__home[aria-current="page"] {
    background: #1f7af2;
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 122, 242, .24);
}

.inc-ai-chat__tab {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: #1f7af2;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    padding: 8px 17px;
    box-shadow: 0 8px 18px rgba(31, 122, 242, .24);
    border: 0;
    cursor: pointer;
}

.inc-ai-chat__tab[aria-current="false"] {
    background: #edf3f8;
    color: #172033;
    box-shadow: none;
}

.inc-ai-chat__tab span {
    color: currentColor;
    font-size: 9px;
}

.inc-ai-chat__home-panel {
    display: grid;
    gap: 28px;
    padding: 8px 6px 18px;
}

.inc-ai-chat__home-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
}

.inc-ai-chat__home-logo {
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    overflow: hidden;
}

.inc-ai-chat__home-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inc-ai-chat__home-brand strong,
.inc-ai-chat__home-brand span span {
    display: block;
}

.inc-ai-chat__home-brand strong {
    color: #172033;
    font-size: 14px;
    font-weight: 760;
}

.inc-ai-chat__home-brand span span {
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
}

.inc-ai-chat__home-help {
    display: grid;
    gap: 10px;
    padding: 0 10px;
}

.inc-ai-chat__home-help > span {
    color: #172033;
    font-size: 13px;
    font-weight: 760;
}

.inc-ai-chat__start {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: #f3f6fa;
    color: #172033;
    font-size: 14px;
    font-weight: 760;
    padding: 14px 14px;
    text-align: left;
    cursor: pointer;
}

.inc-ai-chat__start span {
    color: #1f7af2;
}

.inc-ai-chat__start b {
    margin-left: auto;
    color: #64748b;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.inc-ai-chat__conversation-head {
    display: grid;
    gap: 7px;
}

.inc-ai-chat__team-presence {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 0 4px 2px;
    text-align: center;
}

.inc-ai-chat__team-presence[hidden] {
    display: none;
}

.inc-ai-chat__team-avatars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
}

.inc-ai-chat__team-avatar {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-left: -6px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fff;
    font-size: 12px;
    font-weight: 760;
    box-shadow: 0 7px 14px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.inc-ai-chat__team-avatar:first-child {
    margin-left: 0;
}

.inc-ai-chat__team-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inc-ai-chat__team-avatars[data-count="0"] .inc-ai-chat__team-avatar {
    background: linear-gradient(135deg, #d5dbe3, #94a3b8);
}

.inc-ai-chat__team-presence.is-online .inc-ai-chat__team-avatar {
    background: linear-gradient(135deg, #1f7af2, #18b892);
}

.inc-ai-chat__team-presence strong {
    color: #172033;
    font-size: 13px;
    font-weight: 760;
}

.inc-ai-chat__team-presence > span:last-child {
    color: #64748b;
    font-size: 11px;
}

.inc-ai-chat.is-home-view .inc-ai-chat__conversation-head,
.inc-ai-chat.is-home-view .inc-ai-chat__conversation-body {
    display: none;
}

.inc-ai-chat.is-conversation-view .inc-ai-chat__home-panel {
    display: none;
}

.inc-ai-chat__conversation-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.inc-ai-chat.has-contact-capture .inc-ai-chat__conversation-body,
.inc-ai-chat.has-survey .inc-ai-chat__conversation-body {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.inc-ai-chat__header-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding: 6px 4px 0;
}

.inc-ai-chat__header-avatar {
    width: 34px;
    height: 34px;
    box-shadow: inset 0 0 0 1px rgba(21, 155, 141, .18);
}

.inc-ai-chat__header strong,
.inc-ai-chat__header-identity span span {
    display: block;
}

.inc-ai-chat__header strong {
    color: #172033;
    font-size: 13px;
    font-weight: 720;
}

.inc-ai-chat__header-identity span span {
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}

.inc-ai-chat__chevron {
    margin-left: auto;
    color: #7b8794;
    font-size: 18px;
}

.inc-ai-chat__actions {
    position: relative;
    justify-self: end;
}

.inc-ai-chat__actions-toggle {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #9aa4b2;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.inc-ai-chat__actions-toggle:hover,
.inc-ai-chat__actions-toggle[aria-expanded="true"] {
    background: #f2f5f9;
    color: #485465;
}

.inc-ai-chat__actions-menu {
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 4;
    display: grid;
    gap: 2px;
    width: 230px;
    padding: 10px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
}

.inc-ai-chat__actions-menu[hidden] {
    display: none;
}

.inc-ai-chat__actions-menu strong {
    display: block;
    padding: 5px 8px 8px;
    color: #65758a;
    font-size: 12px;
    font-weight: 650;
}

.inc-ai-chat__actions-menu button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 9px 8px;
    background: transparent;
    color: #27364a;
    font-size: 13px;
    font-weight: 560;
    text-align: left;
    cursor: pointer;
}

.inc-ai-chat__actions-menu button:hover {
    background: #f4f8fc;
    color: #0f5faa;
}

.inc-ai-chat__actions-menu button span {
    display: inline-grid;
    place-items: center;
    width: 18px;
    color: #1c2b3f;
    font-size: 15px;
}

.inc-ai-chat__notice {
    margin: 8px 12px 0;
    padding: 8px 10px;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    background: #f7f9fc;
    color: #5f6b7a;
    font-size: 11px;
    line-height: 1.4;
}

.inc-ai-chat__operator-status {
    margin: 8px 12px 0;
    padding: 8px 10px;
    border: 1px solid #c9dbea;
    border-radius: 12px;
    background: #f3f8ff;
    color: #31556f;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.inc-ai-chat__operator-status.is-online {
    border-color: #a9e8d2;
    background: #e9fff5;
    color: #087247;
}

.inc-ai-chat__quick {
    position: relative;
    display: grid;
    padding: 8px 12px 0;
    overflow: visible;
}

.inc-ai-chat__quick-toggle,
.inc-ai-chat__quick-list button {
    border: 1px solid #d8e2ef;
    border-radius: 999px;
    padding: 6px 9px;
    background: #fff;
    color: #31546f;
    font-size: 11.5px;
    font-weight: 560;
    white-space: nowrap;
    cursor: pointer;
}

.inc-ai-chat__quick-toggle {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fbff;
}

.inc-ai-chat__quick-toggle span {
    color: #7b8794;
    font-size: 14px;
}

.inc-ai-chat__quick-toggle:hover,
.inc-ai-chat__quick-toggle[aria-expanded="true"],
.inc-ai-chat__quick-list button:hover {
    border-color: #9cc7f5;
    background: #f5f9ff;
    color: #175eaa;
}

.inc-ai-chat__quick-list {
    position: absolute;
    top: 42px;
    left: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .16);
}

.inc-ai-chat__quick-list[hidden] {
    display: none;
}

.inc-ai-chat__quick-list button[data-operator="1"] {
    border-color: #bbe9d8;
    background: #f0fff8;
    color: #087247;
}

.inc-ai-chat__quick-list button[data-contact="1"] {
    border-color: #d8e2ef;
    background: #f8fbff;
    color: #0c4b8f;
}

.inc-ai-chat.is-operator-mode .inc-ai-chat__quick-list button:not([data-operator="1"]):not([data-contact="1"]) {
    display: none;
}

.inc-ai-chat__messages {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 12px 10px 10px;
    background:
        linear-gradient(180deg, #fff 0%, #fbfcfe 100%),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(17, 24, 39, .018) 18px 19px);
}

.inc-ai-chat.has-contact-capture .inc-ai-chat__messages,
.inc-ai-chat.has-survey .inc-ai-chat__messages {
    flex: 0 1 auto;
    max-height: 220px;
}

.inc-ai-chat__date-separator {
    align-self: center;
    color: #263244;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    text-transform: capitalize;
    padding: 5px 8px;
}

.inc-ai-chat__message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 92%;
    font-size: 14px;
    line-height: 1.45;
}

.inc-ai-chat__message-bubble {
    display: block;
    border: 1px solid #e4e9f0;
    border-radius: 13px;
    background: #f1f3f6;
    color: #102033;
    padding: 10px 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .04);
}

.inc-ai-chat__message-bubble a {
    color: #1266d6;
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inc-ai-chat__message--user .inc-ai-chat__message-bubble a {
    color: #fff;
}

.inc-ai-chat__feedback {
    display: inline-flex;
    align-self: flex-start;
    gap: 4px;
    margin: -6px 0 0 32px;
}

.inc-ai-chat__feedback button {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #e1e8f2;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    cursor: pointer;
}

.inc-ai-chat__feedback button:hover,
.inc-ai-chat__feedback button.is-selected {
    border-color: #9cc7f5;
    background: #f2f8ff;
    color: #1f7af2;
}

.inc-ai-chat__feedback button:disabled {
    cursor: wait;
    opacity: .72;
}

.inc-ai-chat__message-author {
    display: block;
    margin-bottom: 3px;
    color: #0f5132;
    font-size: 12px;
    font-weight: 760;
}

.inc-ai-chat__message-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef6ff;
}

.inc-ai-chat__message-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inc-ai-chat__message--user {
    justify-content: flex-end;
    align-self: flex-end;
}

.inc-ai-chat__message--user .inc-ai-chat__message-bubble {
    border-color: #1f7af2;
    background: #1f7af2;
    color: #fff;
    border-bottom-right-radius: 6px;
}

.inc-ai-chat__message--assistant {
    align-self: flex-start;
}

.inc-ai-chat__message--operator {
    align-self: flex-start;
}

.inc-ai-chat__message--operator .inc-ai-chat__message-bubble {
    border-color: #ccebdc;
    background: #eefcf6;
}

.inc-ai-chat__message--system {
    align-self: center;
    justify-content: center;
    max-width: 94%;
    font-size: 12px;
    text-align: center;
}

.inc-ai-chat__message--system .inc-ai-chat__message-bubble {
    border-color: #edf1f7;
    background: #f7f9fc;
    color: #697586;
    box-shadow: none;
}

.inc-ai-chat__message--loading .inc-ai-chat__message-bubble {
    color: #5c7188;
    font-style: italic;
}

.inc-ai-chat__typing {
    margin: 0 16px 12px;
    align-self: flex-start;
    width: fit-content;
    max-width: calc(100% - 32px);
    border: 1px solid #d8e7f7;
    border-radius: 999px;
    background: #fff;
    color: #42617e;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 11px;
}

.inc-ai-chat__typing[hidden] {
    display: none;
}

.inc-ai-chat__contact-capture {
    display: grid;
    gap: 8px;
    margin: 0 14px 12px;
    border: 1px solid #d8e7f7;
    border-radius: 16px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.inc-ai-chat.has-contact-capture .inc-ai-chat__contact-capture {
    scroll-margin-bottom: 14px;
}

.inc-ai-chat__contact-capture[hidden] {
    display: none;
}

.inc-ai-chat__contact-capture strong {
    color: #172033;
    font-size: 13px;
    font-weight: 760;
}

.inc-ai-chat__contact-capture span {
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

.inc-ai-chat__contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

.inc-ai-chat__contact-consent input {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    padding: 0;
}

.inc-ai-chat__contact-consent span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.inc-ai-chat__contact-capture div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.inc-ai-chat__contact-capture input:not([type="checkbox"]),
.inc-ai-chat__contact-capture textarea {
    width: 100%;
    border: 1px solid #d8e2ef;
    border-radius: 11px;
    background: #fbfdff;
    color: #172033;
    font: inherit;
    font-size: 12px;
    line-height: 1.35;
    padding: 9px 10px;
}

.inc-ai-chat__contact-capture textarea {
    resize: vertical;
    min-height: 58px;
}

.inc-ai-chat__contact-capture input:not([type="checkbox"]):focus,
.inc-ai-chat__contact-capture textarea:focus {
    border-color: #1f7af2;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(31, 122, 242, .12);
}

.inc-ai-chat__contact-capture button {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    background: #1f7af2;
    color: #fff;
    font-size: 12px;
    font-weight: 760;
    padding: 9px 13px;
    cursor: pointer;
}

.inc-ai-chat__contact-capture button:disabled {
    opacity: .62;
    cursor: wait;
}

.inc-ai-chat__survey {
    display: grid;
    gap: 9px;
    margin: 0 14px 12px;
    border: 1px solid #d8e7f7;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    padding: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.inc-ai-chat.has-survey .inc-ai-chat__survey {
    scroll-margin-bottom: 14px;
}

.inc-ai-chat__survey[hidden] {
    display: none;
}

.inc-ai-chat__survey strong {
    color: #172033;
    font-size: 13px;
    font-weight: 760;
}

.inc-ai-chat__survey > span {
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

.inc-ai-chat__survey-rating {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.inc-ai-chat__survey-rating button {
    min-height: 34px;
    border: 1px solid #d8e2ef;
    border-radius: 10px;
    background: #fff;
    color: #31546f;
    font-size: 13px;
    font-weight: 760;
    cursor: pointer;
}

.inc-ai-chat__survey-rating button:hover,
.inc-ai-chat__survey-rating button.is-selected {
    border-color: #1f7af2;
    background: #eaf4ff;
    color: #0f5faa;
}

.inc-ai-chat__survey-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #4f6075;
    font-size: 11.5px;
    line-height: 1.35;
}

.inc-ai-chat__survey-row > span {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 720;
}

.inc-ai-chat__survey-row label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.inc-ai-chat__survey-row input {
    width: 13px;
    height: 13px;
    margin: 0;
}

.inc-ai-chat__survey textarea {
    width: 100%;
    min-height: 56px;
    border: 1px solid #d8e2ef;
    border-radius: 11px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 12px;
    line-height: 1.35;
    padding: 9px 10px;
    resize: vertical;
}

.inc-ai-chat__survey textarea:focus {
    border-color: #1f7af2;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(31, 122, 242, .12);
}

.inc-ai-chat__survey-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inc-ai-chat__survey-actions button {
    border: 1px solid #d8e2ef;
    border-radius: 999px;
    background: #fff;
    color: #31546f;
    font-size: 12px;
    font-weight: 760;
    padding: 8px 12px;
    cursor: pointer;
}

.inc-ai-chat__survey-actions button[type="submit"] {
    border-color: #1f7af2;
    background: #1f7af2;
    color: #fff;
}

.inc-ai-chat__survey-actions button:disabled {
    opacity: .62;
    cursor: wait;
}

.inc-ai-chat__form {
    display: block;
    padding: 8px 10px 6px;
    border-top: 1px solid #edf1f7;
    background: #fff;
}

.inc-ai-chat__composer {
    display: grid;
    gap: 7px;
    min-width: 0;
    border: 1px solid #1f7af2;
    border-radius: 16px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 0 1px rgba(31, 122, 242, .04);
}

.inc-ai-chat__composer:focus-within {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(31, 122, 242, .15);
}

.inc-ai-chat__composer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.inc-ai-chat__tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.inc-ai-chat__tool,
.inc-ai-chat__emoji-picker button {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.inc-ai-chat__tool:hover,
.inc-ai-chat__emoji-picker button:hover {
    background: #f2f5f9;
    color: #1f7af2;
}

.inc-ai-chat__tool.is-disabled {
    color: #7a8fa3;
    cursor: not-allowed;
    opacity: .72;
}

.inc-ai-chat__emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 0 3px;
}

.inc-ai-chat__emoji-picker[hidden] {
    display: none;
}

.inc-ai-chat__input {
    width: 100%;
    resize: none;
    min-height: 24px;
    max-height: 112px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #172033;
    font: inherit;
    line-height: 1.4;
    overflow-y: auto;
}

.inc-ai-chat__input:focus {
    outline: 0;
}

.inc-ai-chat__send {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: #1f7af2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.inc-ai-chat__send:hover {
    background: #1767d3;
}

.inc-ai-chat__send:disabled {
    opacity: .62;
    cursor: wait;
}

.inc-ai-chat__foot {
    padding: 0 0 7px;
    color: #9aa4b2;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 640px) {
    .inc-ai-chat {
        right: 14px;
        bottom: var(--inc-ai-chat-mobile-bottom, 14px);
    }

    .inc-ai-chat__toggle {
        padding: 7px;
    }

    .inc-ai-chat__toggle-copy {
        display: none;
    }

    .inc-ai-chat__toggle-avatar {
        width: 52px;
        height: 52px;
    }

    .inc-ai-chat__panel {
        right: -4px;
        bottom: 56px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 105px);
    }

    .inc-ai-chat.is-conversation-view .inc-ai-chat__panel {
        height: calc(100vh - 105px);
    }

    .inc-ai-chat__contact-capture div {
        grid-template-columns: 1fr;
    }

    .inc-ai-chat.has-contact-capture .inc-ai-chat__messages {
        max-height: 160px;
    }
}
