#estensia-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    background: #1b5e3b;
    padding: 0;
}
#estensia-chat-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#estensia-chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 360px;
    max-width: calc(100vw - 24px);
    height: 560px;
    max-height: calc(100dvh - 110px);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 99999;
    font-family: inherit, sans-serif;
    color: #1a1a1a;
}
#estensia-chat-window.is-open { display: flex; }
#estensia-header {
    background: #1b5e3b;
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#estensia-header-left { display: flex; align-items: center; gap: 10px; }
#estensia-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #f4e9c8; }
#estensia-name { font-weight: 700; font-size: 16px; }
#estensia-role { font-size: 12px; color: #d9efe3; }
.estensia-control {
    cursor: pointer; font-size: 20px; background: transparent;
    border: none; color: #fff; line-height: 1;
}
#estensia-welcome { padding: 12px 15px 8px; font-size: 14px; color: #333; }
#estensia-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.estensia-quick-btn {
    border: 1px solid #1b5e3b; background: #f3faf6; color: #1b5e3b;
    border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer;
}
#estensia-messages { flex: 1; overflow-y: auto; padding: 8px 15px 12px; }
.estensia-user, .estensia-bot { margin: 8px 0; display: flex; }
.estensia-user { justify-content: flex-end; }
.estensia-bot span, .estensia-user span {
    display: inline-block; max-width: 85%; padding: 8px 12px; border-radius: 14px;
    font-size: 14px; line-height: 1.45; white-space: pre-wrap;
}
.estensia-bot span { background: #f3faf6; }
.estensia-user span { background: #1b5e3b; color: #fff; }
a.estensia-product-link {
    display: inline-block; margin-top: 6px; color: #1b5e3b; font-weight: 600;
}
#estensia-privacy { font-size: 11px; color: #777; padding: 0 15px 6px; }
#estensia-input-area {
    display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #eee;
}
#estensia-input {
    flex: 1; border: 1px solid #ddd; border-radius: 20px; padding: 8px 12px; font-size: 14px;
}
#estensia-send {
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: #1b5e3b; color: #fff; cursor: pointer; font-size: 16px;
}
