.ai-chat { position: fixed; right: 24px; bottom: 24px; z-index: 9999; font-family: "Plus Jakarta Sans", Arial, sans-serif; color: #1f2a22; }
.ai-chat-toggle { display: flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 18px; background: #263c2d; color: #fff; box-shadow: 0 10px 30px rgba(20, 34, 24, .2); cursor: pointer; font: inherit; font-weight: 600; }
.ai-chat-toggle:hover { transform: translateY(-1px); }
.ai-chat-toggle-mark { font-size: 18px; }
.ai-chat-panel { position: absolute; right: 0; bottom: 58px; width: min(380px, calc(100vw - 32px)); height: min(570px, calc(100vh - 110px)); background: #fbfaf5; border: 1px solid rgba(38, 60, 45, .16); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 55px rgba(20, 34, 24, .22); }
.ai-chat-panel:not([hidden]) { display: flex; flex-direction: column; }
.ai-chat-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 15px; background: #263c2d; color: #fff; }
.ai-chat-header strong, .ai-chat-header span { display: block; }
.ai-chat-header strong { font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 500; }
.ai-chat-header span { margin-top: 2px; font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.ai-chat-close { border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 2px 5px; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.ai-chat-message { max-width: 86%; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; white-space: normal; }
.ai-chat-message p { margin: 0; }
.ai-chat-message p + p { margin-top: 9px; }
.ai-chat-message ul, .ai-chat-message ol { margin: 3px 0; padding-left: 20px; }
.ai-chat-message li + li { margin-top: 5px; }
.ai-chat-message strong { font-weight: 700; }
.ai-chat-message-assistant { align-self: flex-start; background: #eceee7; border-bottom-left-radius: 4px; }
.ai-chat-message-user { align-self: flex-end; background: #263c2d; color: #fff; border-bottom-right-radius: 4px; }
.ai-chat-loading { opacity: .65; font-style: italic; }
.ai-chat-suggestions { display: flex; gap: 7px; padding: 0 14px 10px; overflow-x: auto; }
.ai-chat-suggestions button { flex: 0 0 auto; border: 1px solid #cdd4cb; border-radius: 999px; background: transparent; color: #263c2d; padding: 7px 10px; font: inherit; font-size: 10px; cursor: pointer; }
.ai-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid #e2e4de; background: #fff; }
.ai-chat-form textarea { flex: 1; resize: none; min-height: 40px; max-height: 90px; margin: 0; padding: 10px 12px; border: 1px solid #d7dbd4; border-radius: 12px; font: inherit; font-size: 13px; line-height: 1.4; }
.ai-chat-form button { height: 40px; margin: 0; padding: 0 14px; border: 0; border-radius: 11px; background: #263c2d; color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ai-chat-form button:disabled { opacity: .5; cursor: default; }
.ai-chat-note { margin: 0; padding: 0 14px 11px; background: #fff; color: #7a817b; font-size: 9px; text-align: center; }
.ai-chat .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .ai-chat { right: 14px; bottom: 14px; } .ai-chat-toggle { padding: 12px 15px; } .ai-chat-panel { bottom: 55px; width: calc(100vw - 28px); height: min(560px, calc(100vh - 90px)); } }
.ai-chat-contact {
    margin: 8px 0 12px;
}

.ai-chat-contact-button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.ai-chat-contact-button:hover {
    opacity: 0.8;
}
