#arturo-support-root {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

.arturo-chat__launcher {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.arturo-chat {
    width: 360px;
    height: 520px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 45px rgba(0,0,0,.22);
    overflow: hidden;
}
.arturo-chat__header {
    height: 68px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.arturo-chat__header small {
    display: block;
    margin-top: 3px;
    opacity: .65;
}

.arturo-chat__close {
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.arturo-chat__messages {
    height: 360px;
    overflow-y: auto;
    padding: 16px;
}

.arturo-chat__message {
    max-width: 82%;
    margin-bottom: 12px;
    padding: 10px 13px;
    border-radius: 12px;
    line-height: 1.4;
    font-size: 14px;
    white-space: pre-wrap;
}

.arturo-chat__message--assistant,
.arturo-chat__message--human {
    background: #f1f1f1;
    margin-right: auto;
}

.arturo-chat__message--user {
    background: #222;
    color: #fff;
    margin-left: auto;
}

.arturo-chat__message--system {
    background: #fff4d6;
    margin: 0 auto 12px;
}

.arturo-chat__form {
    height: 92px;
    box-sizing: border-box;
    border-top: 1px solid #eee;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arturo-chat__file {
    display: none !important;
}

.arturo-chat__input {
    flex: 1;
    min-width: 0;
    height: 54px;
    resize: none;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 9px;
    font: inherit;
}

.arturo-chat__send {
    height: 38px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 480px) {
    #arturo-support-root {
        right: 12px;
        bottom: 12px;
    }

    .arturo-chat {
        width: calc(100vw - 24px);
        height: min(600px, calc(100vh - 40px));
    }
}

.arturo-chat__attach {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1;
    margin: 0;
}

.arturo-chat__attach:hover {
    background: #f2f2f2;
}

.arturo-chat__attach-icon {
    display: block;
    line-height: 1;
}