        .chat-fab {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #2E6F4E;
            color: #FFFFFF;
            border: none;
            border-radius: 50px;
            padding: 13px 18px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 600;
            box-shadow: 0 10px 25px rgba(46, 111, 78, 0.32);
            cursor: pointer;
            z-index: 1050;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .chat-fab:hover {
            background-color: #24593E;
            transform: translateY(-2px);
        }

        .chat-window {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 340px;
            max-width: calc(100vw - 32px);
            height: 500px;
            max-height: calc(100vh - 110px);
            background-color: #FFFFFF;
            border-radius: 20px;
            border: 1px solid #CBE0D3;
            box-shadow: 0 18px 40px rgba(25, 48, 36, 0.22);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 1060;
            transition: width 0.25s ease, height 0.25s ease, bottom 0.25s ease, right 0.25s ease, border-radius 0.25s ease;
        }

        .chat-window.open {
            display: flex;
        }

        .chat-window.expanded {
            width: 480px;
            max-width: calc(100vw - 24px);
            height: 82vh;
            max-height: calc(100vh - 96px);
        }

        @media (max-width: 520px) {
            .chat-window.expanded {
                width: calc(100vw - 16px);
                right: 8px;
                bottom: 76px;
                height: calc(100vh - 90px);
                max-height: calc(100vh - 90px);
            }
        }

        .chat-header {
            background-color: #2E6F4E;
            color: #FFFFFF;
            padding: 14px 14px 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-shrink: 0;
        }

        .chat-header-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .chat-avatar {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.18);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .chat-header-title {
            font-size: 14px;
            font-weight: 600;
            display: block;
            line-height: 1.2;
        }

        .chat-header-status {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.88);
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 2px;
        }

        .status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: #7CE8A8;
        }

        .chat-header-actions {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .chat-action-btn {
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.9);
            cursor: pointer;
            padding: 6px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease;
        }

        .chat-action-btn:hover {
            background-color: rgba(255, 255, 255, 0.16);
            color: #FFFFFF;
        }

        .chat-messages {
            flex-grow: 1;
            padding: 14px;
            overflow-y: auto;
            background-color: #F4F9F6;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .msg {
            max-width: 86%;
            padding: 10px 14px;
            border-radius: 14px;
            font-size: 13px;
            line-height: 1.45;
            word-wrap: break-word;
            white-space: pre-line;
        }

        .msg-bot {
            background-color: #FFFFFF;
            color: #233329;
            border: 1px solid #D4E4DA;
            align-self: flex-start;
            border-bottom-left-radius: 4px;
        }

        .msg-user {
            background-color: #2E6F4E;
            color: #FFFFFF;
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }
		
		        /* Avaliação de utilidade da resposta */
        .msg-feedback {
            margin-top: 8px;
            padding-top: 6px;
            border-top: 1px solid #E8F1EC;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            color: #5C7365;
        }

        .feedback-btn {
            background-color: #F4F9F6;
            border: 1px solid #C6DDD0;
            color: #2E6F4E;
            border-radius: 8px;
            padding: 3px 8px;
            font-size: 11px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .feedback-btn:hover {
            background-color: #E2EFE7;
            border-color: #2E6F4E;
        }

        .feedback-btn.nao:hover {
            background-color: #FEE2E2;
            border-color: #DC2626;
            color: #991B1B;
        }
        .feedback-comment-box {
            margin-top: 8px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            width: 100%;
        }

        .feedback-comment-input {
            width: 100%;
            border: 1px solid #C6DDD0;
            border-radius: 8px;
            padding: 6px 8px;
            font-size: 12px;
            font-family: inherit;
            color: #233329;
            resize: none;
            outline: none;
        }

        .feedback-comment-input:focus {
            border-color: #2E6F4E;
        }

        .feedback-comment-actions {
            display: flex;
            justify-content: flex-end;
            gap: 6px;
        }

        .feedback-send-btn {
            background-color: #2E6F4E;
            color: #FFFFFF;
            border: none;
            border-radius: 8px;
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
        }

        .feedback-send-btn:hover {
            background-color: #24593E;
        }

        .feedback-skip-btn {
            background: transparent;
            border: none;
            color: #5C7365;
            font-size: 11px;
            font-family: inherit;
            cursor: pointer;
            padding: 4px 6px;
        }


        /* Sugestões em coluna com rolagem suave */
        .chat-suggestions {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 10px 12px;
            background-color: #F4F9F6;
            border-top: 1px solid #E1EDE6;
            max-height: 122px;
            overflow-y: auto;
            flex-shrink: 0;
        }

        .suggestion-chip {
            display: block;
            width: 100%;
            text-align: left;
            background-color: #FFFFFF;
            border: 1px solid #C6DDD0;
            color: #2E6F4E;
            border-radius: 12px;
            padding: 8px 12px;
            font-size: 12px;
            font-weight: 500;
            font-family: inherit;
            cursor: pointer;
            transition: background-color 0.2s ease, border-color 0.2s ease;
            flex-shrink: 0;
        }

        .suggestion-chip:hover {
            background-color: #E2EFE7;
            border-color: #2E6F4E;
        }

        .chat-input-area {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            background-color: #FFFFFF;
            border-top: 1px solid #D4E4DA;
            flex-shrink: 0;
        }

        .chat-input {
            flex-grow: 1;
            border: 1px solid #C6DDD0;
            border-radius: 20px;
            padding: 9px 14px;
            font-size: 13px;
            font-family: inherit;
            color: #233329;
            outline: none;
        }

        .chat-input:focus {
            border-color: #2E6F4E;
        }

        .chat-send {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: #2E6F4E;
            color: #FFFFFF;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
            transition: background-color 0.2s ease;
        }

        .chat-send:hover {
            background-color: #24593E;
        }
