.tss-chatbot {
    bottom: 1.25rem;
    font-family: var(--font-sans, system-ui, sans-serif);
    position: fixed;
    right: 1.25rem;
    z-index: 9999;
}

.tss-chatbot__toggle {
    align-items: center;
    background: #006579;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0, 78, 94, .28);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: .55rem;
    min-height: 3.25rem;
    padding: .7rem 1rem .7rem .7rem;
}

.tss-chatbot__toggle-icon {
    align-items: center;
    background: #d4af37;
    border-radius: 50%;
    color: #131b2e;
    display: inline-flex;
    font-size: 1rem;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    width: 2rem;
}

.tss-chatbot__panel {
    background: #fff;
    border: 1px solid #dae2fd;
    border-radius: 12px;
    bottom: 4.25rem;
    box-shadow: 0 22px 54px rgba(19, 27, 46, .22);
    display: flex;
    flex-direction: column;
    max-height: min(620px, calc(100vh - 6rem));
    overflow: hidden;
    position: absolute;
    right: 0;
    width: min(370px, calc(100vw - 2.5rem));
}

.tss-chatbot__panel[hidden] {
    display: none;
}

.tss-chatbot__header {
    align-items: flex-start;
    background: #004e5e;
    color: #fff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.tss-chatbot__header strong,
.tss-chatbot__header span {
    display: block;
}

.tss-chatbot__header strong {
    font-size: 1rem;
}

.tss-chatbot__header span {
    color: rgba(255,255,255,.78);
    font-size: .82rem;
    margin-top: .15rem;
}

.tss-chatbot__close {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
    padding: 0;
}

.tss-chatbot__messages {
    background: #faf8ff;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .65rem;
    min-height: 220px;
    overflow-y: auto;
    padding: 1rem;
}

.tss-chatbot__message {
    border-radius: 12px;
    font-size: .92rem;
    line-height: 1.55;
    max-width: 88%;
    padding: .7rem .85rem;
}

.tss-chatbot__message a {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
}

.tss-chatbot__message--bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #eaedff;
    color: #131b2e;
}

.tss-chatbot__message--user {
    align-self: flex-end;
    background: #006579;
    color: #fff;
}

.tss-chatbot__suggestions {
    background: #fff;
    border-top: 1px solid #eaedff;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: .75rem 1rem;
}

.tss-chatbot__suggestions button {
    background: #f2f3ff;
    border: 1px solid #dae2fd;
    border-radius: 999px;
    color: #131b2e;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
    padding: .42rem .65rem;
}

.tss-chatbot__form {
    background: #fff;
    border-top: 1px solid #eaedff;
    display: flex;
    gap: .5rem;
    padding: .8rem;
}

.tss-chatbot__form input {
    border: 1px solid #dae2fd;
    border-radius: 8px;
    flex: 1;
    font: inherit;
    min-width: 0;
    padding: .7rem .75rem;
}

.tss-chatbot__form button {
    background: #d4af37;
    border: 0;
    border-radius: 8px;
    color: #131b2e;
    cursor: pointer;
    font-weight: 800;
    padding: .7rem .9rem;
}

@media (max-width: 520px) {
    .tss-chatbot {
        bottom: .9rem;
        right: .9rem;
    }

    .tss-chatbot__panel {
        bottom: 4rem;
        max-height: calc(100vh - 5.5rem);
        width: calc(100vw - 1.8rem);
    }
}