.ai-chat-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;padding:24px;box-sizing:border-box;z-index:10120}.ai-chat-modal-container{position:relative;bottom:auto;right:auto;width:min(420px,100%);max-height:min(90vh,calc(100vh - 48px));min-height:320px;background-color:var(--brand-neutral-paper);border:1px solid var(--color-border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 16px 40px rgb(106 6 32/.18);font-family:var(--brand-font-interface);color:var(--brand-neutral-ink)}.ai-chat-modal-header{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:15px 18px;background-color:var(--brand-primary-burgundy);color:var(--brand-dashboard-on-burgundy)}.ai-chat-modal-title{display:flex;align-items:center;gap:12px}.ai-chat-modal-heading,.ai-chat-modal-title h3{margin:0;font-family:var(--brand-font-statement)!important;font-size:18px!important;font-weight:var(--font-weight-bold)!important;line-height:1.2!important;letter-spacing:-.02em;color:var(--brand-dashboard-on-burgundy)!important}.user-email-indicator{color:var(--brand-primary-peony);margin-top:2px;font-family:var(--brand-font-interface)}.ai-chat-modal-title .avatar{width:48px;height:48px;flex-shrink:0;border:0;border-radius:0;overflow:visible;display:flex;align-items:center;justify-content:center;background:transparent}.ai-chat-modal-title .avatar img{width:48px!important;height:48px!important;-o-object-fit:contain;object-fit:contain;filter:brightness(0) invert(1) sepia(.35) saturate(2.2) hue-rotate(295deg)}.close-button{background:transparent;border:none;cursor:pointer;color:var(--brand-primary-peony);padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;font-family:var(--brand-font-interface)}.close-button:hover{background:color-mix(in srgb,var(--brand-primary-peony) 18%,transparent);opacity:1}.ai-chat-modal-body{flex:1;min-height:0;padding:0;background-color:var(--brand-neutral-paper);display:flex;flex-direction:column;overflow:hidden;font-family:var(--brand-font-interface)}.chat-messages{flex:1;min-height:0;padding:20px;overflow-y:auto;border-bottom:1px solid var(--color-border)}.message{margin-bottom:15px;display:flex;align-items:flex-start}.message.user{justify-content:flex-end}.message.ai{justify-content:flex-start}.message-content{display:flex;align-items:flex-start;gap:8px;max-width:80%}.message.user .message-content{flex-direction:row-reverse}.ai-avatar{width:24px;height:24px;border-radius:50%;overflow:hidden;flex-shrink:0}.message-text{background-color:var(--brand-neutral-cream);padding:10px 12px;border-radius:12px;position:relative;color:var(--brand-neutral-ink);font-family:var(--brand-font-interface);flex:1;min-width:0}.message.user .message-text{background-color:var(--brand-primary-burgundy);color:var(--brand-dashboard-on-burgundy)!important}.message.ai .message-text{background-color:var(--color-surface);color:var(--brand-neutral-ink);border:1px solid var(--color-border)}.message-text p{margin:0;font-size:var(--font-size-body);line-height:1.4;color:inherit}.message.user .message-text p{color:var(--brand-dashboard-on-burgundy)!important}.message-text .formatted-message{color:inherit!important}.message.user .message-text .formatted-message{color:var(--brand-dashboard-on-burgundy)!important}.message-text .formatted-message *{color:inherit!important}.message.user .message-text .formatted-message *{color:var(--brand-dashboard-on-burgundy)!important}.typing-indicator{display:flex;gap:4px;align-items:center}.typing-indicator span{width:6px;height:6px;border-radius:50%;background-color:#9ca3af;animation:typing 1.4s ease-in-out infinite}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.chat-input-form{padding:15px 20px;border-top:1px solid var(--color-border);background:var(--brand-neutral-paper)}.input-group{display:flex;gap:8px;align-items:center}.chat-input{flex:1;padding:10px 12px;border:1px solid var(--color-border);border-radius:20px;outline:none;background:var(--color-surface);font-family:var(--brand-font-interface);color:var(--brand-neutral-ink);transition:border-color .2s}.chat-input:focus{border-color:var(--brand-primary-burgundy)}.chat-input:disabled{background-color:var(--brand-neutral-cream);cursor:not-allowed}.send-button{width:36px;height:36px;border-radius:50%;border:none;background-color:var(--brand-primary-burgundy);color:var(--brand-dashboard-on-burgundy);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .2s}.send-button:hover:not(:disabled){background-color:var(--color-primary-dark);transform:scale(1.05)}.send-button:disabled{background-color:var(--brand-burgundy-45);cursor:not-allowed;transform:none}.contact-form-toggle{padding:10px 20px;border-top:1px solid var(--color-border);background-color:var(--brand-neutral-cream)}.toggle-button{width:100%;padding:8px 12px;background:none;border:1px solid var(--color-border);border-radius:6px;color:var(--brand-primary-burgundy);font-family:var(--brand-font-interface);cursor:pointer;transition:all .2s}.toggle-button:hover{background-color:var(--brand-hot-rose-15);border-color:var(--brand-primary-burgundy)}.contact-form-section{padding:20px;flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;background:var(--brand-neutral-paper)}.form-actions{display:flex;gap:10px;margin-top:15px}.ai-back-button{flex:1;padding:12px;background-color:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:24px;cursor:pointer;transition:all .2s;max-width:60px;display:flex;align-items:center;justify-content:center}.ai-back-button:hover:not(:disabled){background-color:#e5e7eb}.ai-back-button:disabled{opacity:.5;cursor:not-allowed}.query-form{display:flex;flex-direction:column;gap:15px}.query-form input,.query-form textarea{width:100%;padding:12px 15px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);color:var(--brand-neutral-ink);font-size:var(--font-size-body);font-family:var(--brand-font-interface);transition:border-color .3s ease,box-shadow .3s ease;resize:vertical;box-sizing:border-box}.query-form input::-moz-placeholder,.query-form textarea::-moz-placeholder{color:var(--color-text-muted);font-family:var(--brand-font-interface)}.query-form input::placeholder,.query-form textarea::placeholder{color:var(--color-text-muted);font-family:var(--brand-font-interface)}.query-form input:focus,.query-form textarea:focus{border-color:var(--brand-primary-burgundy);outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--brand-primary-burgundy) 18%,transparent)}.query-form input:disabled,.query-form textarea:disabled{background-color:var(--brand-neutral-cream);cursor:not-allowed;opacity:.7}textarea.query-form-message{max-height:76px!important;resize:vertical}.submit-button{flex:2;padding:12px 16px;background-color:var(--brand-primary-burgundy);color:var(--brand-dashboard-on-burgundy)!important;border:none;border-radius:999px;font-family:var(--brand-font-interface);font-weight:var(--font-weight-bold);letter-spacing:.02em;text-transform:uppercase;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px rgb(106 6 32/.18)}.submit-button:hover:not(:disabled){background-color:var(--color-primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px rgb(106 6 32/.22)}.submit-button:disabled{background-color:var(--brand-burgundy-45);color:var(--brand-dashboard-on-burgundy)!important;cursor:not-allowed;transform:none;box-shadow:none;opacity:.7}.email-input-in-chat{padding:16px;margin:8px 0}.email-input-message{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:16px}.email-input-header h4{margin:0 0 8px;font-family:var(--brand-font-statement);font-size:var(--font-size-body);font-weight:var(--font-weight-bold);color:var(--brand-primary-burgundy)}.email-input-header p{margin:0 0 16px;font-family:var(--brand-font-interface);font-size:var(--font-size-small);color:var(--color-text-muted);line-height:1.4}.email-input-field{width:100%;padding:10px 12px;border:1px solid var(--color-border);border-radius:8px;margin-bottom:12px;box-sizing:border-box;font-family:var(--brand-font-interface);color:var(--brand-neutral-ink)}.email-input-field:focus{outline:none;border-color:var(--brand-primary-burgundy);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand-primary-burgundy) 16%,transparent)}.email-input-buttons{display:flex;gap:8px;justify-content:flex-end}.email-input-buttons .submit-button{background-color:var(--brand-primary-burgundy);color:var(--brand-dashboard-on-burgundy)!important;border:none;padding:8px 16px;border-radius:999px;cursor:pointer;transition:background-color .2s;flex:none}.email-input-buttons .submit-button:hover:not(:disabled){background-color:var(--color-primary-dark)}.email-input-buttons .submit-button:disabled{background-color:var(--brand-burgundy-45);cursor:not-allowed}.cancel-button{background-color:var(--brand-neutral-cream);color:var(--brand-primary-burgundy);border:1px solid var(--color-border);padding:8px 16px;border-radius:999px;font-family:var(--brand-font-interface);cursor:pointer;transition:background-color .2s}.cancel-button:hover{background-color:var(--brand-hot-rose-15)}.query-attachments-section{margin-top:8px}.query-attachments-label{color:var(--brand-neutral-cocoa);margin-bottom:6px;display:block;font-family:var(--brand-font-interface)}.query-attachments-limit-message{margin:0 0 8px;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:8px 12px}.query-attachments-error{margin:6px 0 8px;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:8px 12px;display:block}.query-attachments-preview{display:flex;flex-wrap:nowrap;gap:6px;margin-bottom:8px;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;-webkit-overflow-scrolling:touch}.query-attachments-preview::-webkit-scrollbar{height:4px}.query-attachments-preview::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.query-attachment-chip{position:relative;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:6px;background:var(--color-surface);border:1px solid var(--color-border);transition:all .2s ease;flex-shrink:0;max-width:140px}.query-attachment-chip:hover{background:var(--brand-neutral-cream);border-color:color-mix(in srgb,var(--brand-primary-burgundy) 28%,var(--color-border))}.query-attachment-preview-trigger{background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:4px;overflow:hidden}.query-attachment-preview-trigger:focus{outline:2px solid var(--brand-primary-burgundy);outline-offset:2px}.query-attachment-thumb{width:28px;height:28px;min-width:28px;min-height:28px;border-radius:4px;overflow:hidden;background:#e2e8f0;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid rgba(15,23,42,.08)}.query-attachment-thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.query-attachment-icon{width:18px;height:18px;min-width:18px;min-height:18px;border:2px solid #64748b;border-radius:3px;position:relative;display:inline-block;flex-shrink:0}.query-attachment-icon:after{content:"";position:absolute;inset:3px;border:2px solid #64748b;border-top:none;border-radius:1px}.query-attachment-label{font-size:11px;font-family:var(--brand-font-interface);color:var(--brand-neutral-ink);max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:var(--font-weight-medium)}.query-attachment-remove{position:absolute;top:-6px;right:-6px;background:transparent;border:none;cursor:pointer;color:var(--color-on-primary);padding:0;width:18px;height:18px;min-width:18px;min-height:18px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;z-index:1}.query-attachment-remove:hover{background:#ef4444;color:var(--color-on-primary)}.query-attachment-preview-overlay{position:fixed;inset:0;z-index:10130;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:40px;cursor:pointer}.query-attachment-preview-overlay img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;cursor:default;border-radius:4px}.query-attachment-preview-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border:none;background:rgba(255,255,255,.15);color:var(--color-on-primary);font-size:24px;line-height:1;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}.query-attachment-preview-close:hover{background:rgba(255,255,255,.25)}.query-attachment-upload{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px dashed color-mix(in srgb,var(--brand-primary-burgundy) 28%,var(--color-border));border-radius:10px;background:var(--color-surface);cursor:pointer;transition:all .2s ease}.query-attachment-upload:hover{background:var(--brand-hot-rose-15);border-color:var(--brand-primary-burgundy)}.query-attachment-upload--disabled{cursor:not-allowed;opacity:.7}.query-attachment-upload--disabled:hover{background:var(--color-surface);border-color:color-mix(in srgb,var(--brand-primary-burgundy) 28%,var(--color-border))}.query-attachment-upload--disabled .query-attachment-upload-label{cursor:not-allowed}.query-attachment-upload--disabled .query-attachment-upload-icon,.query-attachment-upload--disabled .query-attachment-upload-text{color:var(--color-text-muted)}.query-attachment-upload input[type=file]{display:none}.query-attachment-upload-label{display:flex;align-items:center;gap:8px;cursor:pointer;width:100%}.query-attachment-upload-text{color:var(--brand-primary-burgundy);font-family:var(--brand-font-interface)}.query-attachment-upload-icon{width:20px;height:20px;color:var(--brand-primary-burgundy)}.query-attachment-upload-loading{display:flex;align-items:center;gap:8px;padding:8px 12px;color:var(--brand-neutral-cocoa);font-family:var(--brand-font-interface)}@media (min-width:768px) and (max-width:1199px){.ai-chat-modal-overlay{padding-left:24px;padding-right:24px;justify-content:center}body:has(.event-dashboard-sidebar-active) .ai-chat-modal-overlay{padding-left:236px}}@media (max-width:768px){.ai-chat-modal-container{width:min(420px,100%);max-height:min(85vh,calc(100vh - 48px));min-height:320px}.chat-messages{padding:15px}.message-content{max-width:85%}.chat-input-form{padding:12px 15px}.contact-form-toggle{padding:8px 15px}.contact-form-section{padding:15px}.query-form input,.query-form textarea{padding:10px 12px;font-size:var(--font-size-body)}.submit-button{padding:12px}}@media (max-width:480px){.ai-chat-modal-overlay{padding:16px}.ai-chat-modal-container{width:100%;max-height:min(90vh,calc(100vh - 32px));min-height:280px}.ai-chat-modal-header{padding:12px 15px}.ai-chat-modal-title h3{font-size:16px}.ai-chat-modal-title .avatar{width:42px;height:42px}.ai-chat-modal-title .avatar img{width:42px!important;height:42px!important}}