{"version":3,"sources":["ai-chat.css"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"ai-chat.css","sourcesContent":[".ai-chat-message-heading {\n    font-size: 0.75rem;\n    margin-bottom: 0.35rem;\n}\n\n.ai-chat-message-heading .ai-chat-msg-role {\n    margin-bottom: 0;\n    letter-spacing: 0.03em;\n}\n\n.ai-chat-message-heading-assistant .ai-chat-msg-role {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.35rem;\n}\n\n.ai-chat-message-role-label {\n    display: inline-block;\n    text-transform: inherit;\n}\n\n.ai-chat-msg-role {\n    font-weight: 600;\n    margin-bottom: 0.35rem;\n    text-transform: uppercase;\n}\n\n.ai-chat-msg-role-user {\n    color: var(--bs-primary, #0d6efd);\n}\n\n.ai-chat-msg-role-assistant {\n    color: var(--ai-chat-primary, var(--bs-success, #198754));\n}\n\n.ai-chat-messages .ai-chat-message-item {\n    position: relative;\n    padding: 0.25rem 0;\n}\n\n.ai-chat-messages .ai-chat-message-item + .ai-chat-message-item::before {\n    content: '';\n    display: block;\n    width: 100%;\n    margin: 0.5rem auto 0.75rem;\n    border-top: 1px solid var(--bs-border-color, #dee2e6);\n}\n\n.ai-chat-messages .ai-chat-message-item p:last-child {\n    margin-bottom: 0;\n}\n\n.ai-chat-messages .ai-chat-message-body {\n    position: relative;\n    padding: 0;\n    overflow-wrap: break-word;\n    word-break: break-word;\n    min-width: 0;\n}\n\n.ai-chat-messages .ai-chat-message-body sup {\n    font-size: 0.75em;\n    line-height: 0;\n}\n\n.ai-chat-messages .ai-chat-citation-list {\n    margin: 0.75rem 0 0;\n    padding-left: 1.25rem;\n}\n\n.ai-chat-messages .ai-chat-citation-item + .ai-chat-citation-item {\n    margin-top: 0.25rem;\n}\n\n.ai-chat-messages .ai-chat-citation-item a {\n    word-break: break-word;\n}\n\n.ai-partial-transcript {\n    font-style: italic;\n    opacity: 0.7;\n}\n\n.ai-chat-messages .message-buttons-container {\n    position: absolute;\n    right: 0.1rem;\n    bottom: 0;\n    display: inline-flex;\n    align-items: center;\n    gap: 0.35rem;\n    width: auto;\n    max-width: max-content;\n    opacity: 0;\n    pointer-events: none;\n    transition: opacity 0.15s ease-in-out;\n    background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.96);\n    padding: 0.2rem 0.35rem;\n    border-radius: 999px;\n    box-shadow: 0 1px 3px rgba(var(--bs-body-color-rgb, 33, 37, 41), 0.08);\n    margin-bottom: 1rem;\n    transform: translateY(50%);\n    z-index: 1;\n}\n\n.ai-chat-messages .ai-chat-message-item:hover .message-buttons-container,\n.ai-chat-messages .ai-chat-message-item:focus-within .message-buttons-container {\n    opacity: 1;\n    pointer-events: auto;\n}\n\n.ai-chat-messages .message-buttons-container:has(.tts-playing) {\n    opacity: 1;\n    pointer-events: auto;\n}\n\n.ai-chat-messages .message-buttons-container > .button-message-toolbox {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    flex: 0 0 auto;\n    width: 1.75rem;\n    height: 1.75rem;\n    margin: 0 !important;\n    padding: 0 !important;\n    border-radius: 50%;\n    color: var(--bs-secondary-color, #6c757d) !important;\n    text-decoration: none;\n}\n\n.ai-chat-messages .message-buttons-container .ai-chat-message-assistant-feedback {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.35rem;\n}\n\n.ai-chat-messages .message-buttons-container > .button-message-toolbox:hover,\n.ai-chat-messages .message-buttons-container > .button-message-toolbox:focus {\n    color: var(--bs-body-color, #212529) !important;\n    text-decoration: none;\n}\n\n.ai-chat-messages .message-buttons-container > .button-message-toolbox.text-success,\n.ai-chat-messages .message-buttons-container > .button-message-toolbox.text-success:hover,\n.ai-chat-messages .message-buttons-container > .button-message-toolbox.text-success:focus {\n    color: var(--bs-success, #198754) !important;\n    text-decoration: none;\n}\n\n.ai-chat-messages .message-buttons-container > .button-message-toolbox.text-success svg {\n    color: inherit !important;\n    fill: currentColor;\n}\n\n.ai-chat-messages .message-buttons-container .tts-playing {\n    color: var(--ai-chat-primary, var(--bs-success, #198754));\n}\n\n@keyframes spark-burst {\n    0% {\n        transform: scale(1);\n        opacity: 1;\n    }\n    20% {\n        transform: scale(1.8);\n        opacity: 0.7;\n    }\n    40% {\n        transform: scale(0.9);\n        opacity: 1;\n    }\n    60% {\n        transform: scale(1.3);\n    }\n    100% {\n        transform: scale(1);\n    }\n}\n\n.spark-effect i,\n.spark-effect svg {\n    display: inline-block;\n    animation: spark-burst 0.5s ease-out;\n}\n\n.ai-chat-messages .ai-bot-icon {\n    color: currentColor;\n    display: inline-block;\n    animation: none;\n}\n\n@keyframes ai-chat-streaming-effect {\n    0% { opacity: 1; transform: rotate(0deg); }\n    10% { opacity: 0.3; transform: rotate(0deg); }\n    20% { opacity: 1; transform: rotate(0deg); }\n    30% { opacity: 0.3; transform: rotate(0deg); }\n    40% { opacity: 1; transform: rotate(0deg); }\n    50% { opacity: 0.3; transform: rotate(0deg); }\n    60% { opacity: 1; transform: rotate(0deg); }\n    80% { opacity: 1; transform: rotate(360deg); }\n    100% { opacity: 1; transform: rotate(360deg); }\n}\n\n.ai-chat-messages .ai-streaming-icon {\n    color: currentColor;\n    display: inline-block;\n    animation: ai-chat-streaming-effect 4s ease-in-out infinite;\n}\n\n.ai-chat-messages pre {\n    position: relative;\n    margin: 0;\n}\n\n.ai-chat-messages .ai-code-block {\n    border: 1px solid var(--bs-border-color, #dee2e6);\n    border-radius: 0.5rem;\n    overflow: hidden;\n    margin: 0.75rem 0;\n    background: var(--bs-body-bg, #fff);\n}\n\n.ai-chat-messages .ai-code-header {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    padding: 0.5rem 1rem;\n    font-size: 0.8rem;\n    min-height: 2rem;\n}\n\n.ai-chat-messages .ai-code-lang {\n    font-weight: 600;\n    color: var(--bs-body-color, #212529);\n    text-transform: capitalize;\n}\n\n.ai-chat-messages .ai-code-lang i {\n    color: var(--bs-secondary-color, #6c757d);\n    margin-right: 0.25rem;\n}\n\n.ai-chat-messages .ai-code-copy-btn {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.3rem;\n    padding: 0.2rem;\n    font-size: 0.8rem;\n    background: transparent;\n    border: none;\n    cursor: pointer;\n    color: var(--bs-secondary-color, #6c757d);\n    transition: color 0.15s;\n    white-space: nowrap;\n}\n\n.ai-chat-messages .ai-code-copy-btn:hover {\n    color: var(--bs-body-color, #212529);\n}\n\n.ai-chat-messages .ai-code-block pre {\n    margin: 0;\n    background: transparent !important;\n}\n\n.ai-chat-messages .ai-code-block pre code.hljs {\n    background: transparent !important;\n    padding: 0.75rem 1rem 1rem;\n}\n\n.ai-chat-messages pre code.hljs {\n    white-space: pre-wrap;\n    word-wrap: break-word;\n    overflow-wrap: break-word;\n    border-radius: 0.375rem;\n}\n\n.ai-chat-doc-bar {\n    border-bottom: 1px solid var(--bs-border-color, #dee2e6);\n}\n\n.ai-chat-drag-over {\n    outline: 2px dashed var(--bs-primary, #0d6efd) !important;\n    outline-offset: -2px;\n    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.05) !important;\n}\n\n.ai-chat-notification {\n    margin: 0.75rem 0 0.25rem;\n    padding: 0.625rem 0.875rem;\n    border-radius: 0.5rem;\n    border: 1px solid var(--bs-border-color, #dee2e6);\n    background-color: var(--bs-tertiary-bg, #f8f9fa);\n    font-size: 0.875rem;\n    line-height: 1.4;\n}\n\n.ai-chat-notification-content {\n    display: flex;\n    align-items: center;\n    gap: 0.5rem;\n}\n\n.ai-chat-notification-icon {\n    flex-shrink: 0;\n    font-size: 1rem;\n    opacity: 0.8;\n}\n\n.ai-chat-notification-text {\n    flex: 1;\n}\n\n.ai-chat-notification-dismiss {\n    flex-shrink: 0;\n    opacity: 0.5;\n    transition: opacity 0.15s;\n}\n\n.ai-chat-notification-dismiss:hover {\n    opacity: 1;\n}\n\n.ai-chat-notification-actions {\n    display: flex;\n    gap: 0.375rem;\n    margin-top: 0.5rem;\n    padding-top: 0.5rem;\n    border-top: 1px solid var(--bs-border-color, #dee2e6);\n}\n\n.ai-chat-notification-actions .btn {\n    font-size: 0.8125rem;\n    padding: 0.1875rem 0.625rem;\n}\n\n.ai-chat-notification-typing {\n    border-color: var(--ai-chat-primary, var(--bs-success, #198754));\n    background-color: rgba(var(--ai-chat-primary-rgb, var(--bs-success-rgb, 25, 135, 84)), 0.05);\n}\n\n.ai-chat-notification-typing .ai-chat-notification-icon {\n    color: var(--ai-chat-primary, var(--bs-success, #198754));\n    animation: ai-chat-typing-pulse 1.5s ease-in-out infinite;\n}\n\n@keyframes ai-chat-typing-pulse {\n    0%, 100% { opacity: 0.4; }\n    50% { opacity: 1; }\n}\n\n.ai-chat-notification-transfer {\n    border-color: var(--bs-warning, #ffc107);\n    background-color: rgba(var(--bs-warning-rgb, 255, 193, 7), 0.06);\n}\n\n.ai-chat-notification-transfer .ai-chat-notification-icon {\n    color: var(--bs-warning, #ffc107);\n    animation: ai-chat-transfer-pulse 2s ease-in-out infinite;\n}\n\n@keyframes ai-chat-transfer-pulse {\n    0%, 100% { transform: scale(1); opacity: 0.7; }\n    50% { transform: scale(1.1); opacity: 1; }\n}\n\n.ai-chat-notification-ended,\n.ai-chat-notification-session-ended,\n.ai-chat-notification-conversation-ended {\n    border-color: var(--bs-secondary, #6c757d);\n    background-color: rgba(var(--bs-secondary-rgb, 108, 117, 125), 0.05);\n}\n\n.ai-chat-notification-ended .ai-chat-notification-icon,\n.ai-chat-notification-session-ended .ai-chat-notification-icon,\n.ai-chat-notification-conversation-ended .ai-chat-notification-icon {\n    color: var(--bs-secondary, #6c757d);\n}\n\n.ai-chat-notification-info,\n.ai-chat-notification-agent-connected {\n    border-color: var(--bs-info, #0dcaf0);\n    background-color: rgba(var(--bs-info-rgb, 13, 202, 240), 0.05);\n}\n\n.ai-chat-notification-info .ai-chat-notification-icon,\n.ai-chat-notification-agent-connected .ai-chat-notification-icon {\n    color: var(--bs-info, #0dcaf0);\n}\n\n.ai-chat-notification-warning,\n.ai-chat-notification-agent-reconnecting {\n    border-color: var(--bs-warning, #ffc107);\n    background-color: rgba(var(--bs-warning-rgb, 255, 193, 7), 0.06);\n}\n\n.ai-chat-notification-warning .ai-chat-notification-icon,\n.ai-chat-notification-agent-reconnecting .ai-chat-notification-icon {\n    color: var(--bs-warning, #ffc107);\n}\n\n.ai-chat-notification-error,\n.ai-chat-notification-connection-lost {\n    border-color: var(--bs-danger, #dc3545);\n    background-color: rgba(var(--bs-danger-rgb, 220, 53, 69), 0.05);\n}\n\n.ai-chat-notification-error .ai-chat-notification-icon,\n.ai-chat-notification-connection-lost .ai-chat-notification-icon {\n    color: var(--bs-danger, #dc3545);\n}\n"]}
