/* Búzios Garden — branded Raya WebChat, lightweight and responsive */
#alite-chat-root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;color:#223c2d}
#alite-chat-root [hidden]{display:none!important}
.alite-chat-launcher{position:fixed;bottom:22px;right:24px;z-index:9995;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px);transition:opacity .24s,transform .24s,visibility .24s}
.alite-chat-launcher.alite-chat-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.alite-chat-button{position:relative;width:58px;height:58px;border-radius:50%;background:#234c35;color:white;display:flex;align-items:center;justify-content:center;border:1px solid #d9c998;cursor:pointer;box-shadow:0 6px 22px #152a1c4d;transition:background .2s,transform .2s}
.alite-chat-button:hover{background:#52734a;transform:translateY(-2px)}
.alite-chat-button svg{width:29px;height:29px}
.alite-chat-badge{position:absolute;top:-6px;right:-4px;min-width:20px;height:20px;border-radius:50%;background:#b65737;color:white;font:700 12px/20px system-ui;text-align:center;border:2px solid #fff}
.alite-chat-window{position:fixed;bottom:91px;right:24px;z-index:9996;width:min(380px,calc(100vw - 28px));height:min(570px,calc(100dvh - 114px));background:#fffdf7;border:1px solid #cbd8c5;border-radius:18px;box-shadow:0 18px 56px #172f2340;display:flex;flex-direction:column;overflow:hidden}
.alite-chat-header{background:#173c2b;color:#fff;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;flex:none}
.alite-chat-header strong{display:block;font:22px Georgia,serif}
.alite-chat-header small{display:block;color:#d7dfc9;font:11px system-ui;margin-top:3px}
.alite-chat-header button{color:#fff;font-size:28px;line-height:30px;border:0;background:none;cursor:pointer;width:34px;height:34px}
.alite-chat-gate{padding:19px;overflow:auto;flex:1}
.alite-chat-eyebrow{font:700 10px system-ui;letter-spacing:.14em;color:#9a8d5d}
.alite-chat-gate h3{font:28px Georgia,serif;color:#18372a;margin:9px 0}
.alite-chat-gate p{font:13px/1.5 system-ui;color:#536c59;margin:0 0 17px}
.alite-chat-gate form{display:flex;flex-direction:column;gap:12px}
.alite-chat-gate label{font:600 12px system-ui;color:#314b38;display:flex;flex-direction:column;gap:5px}
.alite-chat-gate input:not([type=checkbox]){font:14px system-ui;min-height:41px;width:100%;box-sizing:border-box;border:1px solid #cedacb;border-radius:10px;background:white;padding:10px 12px;outline:0;color:#213b29}
.alite-chat-gate input:focus{border-color:#517753;box-shadow:0 0 0 2px #c9dfc6}
.alite-chat-gate input::placeholder{font-size:12px;color:#9aa99c}
.alite-chat-gate label.alite-chat-consent{display:block;font-weight:400;font-size:11px;line-height:1.5}
.alite-chat-consent input{width:auto;margin-right:5px}
.alite-chat-consent a{color:#315d3b!important;text-decoration:underline}
#aliteChatEnter{background:#244e34;border:0;border-radius:11px;color:white;font:700 14px system-ui;min-height:46px;cursor:pointer}
#aliteChatEnter:hover{background:#56804c}
#aliteChatEnter:disabled{opacity:.7}
#aliteChatGateError,#aliteChatMessageError{color:#a72e2e;font:11px system-ui;min-height:0;margin:4px 0}
.alite-chat-conversation{min-height:0;flex:1;display:flex;flex-direction:column}
.alite-chat-messages{flex:1;overflow-y:auto;padding:17px 13px;background:#f2f6ef;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.alite-chat-message{max-width:84%;align-self:flex-start;padding:9px 12px;background:white;border:1px solid #d6e2d4;border-radius:12px 12px 12px 3px;font:13px/1.48 system-ui;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 4px #162b1510}
.alite-chat-message.self{align-self:flex-end;background:#dcebd5;border-radius:12px 12px 3px 12px}
.alite-chat-message span{display:block}
.alite-chat-message small{display:block;font-size:9px;color:#778b78;text-align:right;margin-top:5px}
.alite-chat-message img,.alite-chat-message video{max-width:230px;width:100%;border-radius:7px}
.alite-chat-message audio{max-width:220px}
.alite-chat-message a{color:#295b3a;text-decoration:underline}
.alite-chat-composer{background:#fff;padding:12px 10px;display:flex;gap:6px;align-items:center;border-top:1px solid #dce7d8;flex:none}
.alite-chat-composer input[type=text]{flex:1;min-width:0;box-sizing:border-box;font:14px system-ui;border:1px solid #c8d6c5;border-radius:9px;background:white;color:#1e3528;padding:10px}
.alite-chat-composer button{border:0;border-radius:9px;background:#2a553b;color:#fff;font-size:19px;min-width:39px;height:39px;cursor:pointer}
.alite-chat-composer button:hover{background:#59824f}
#aliteChatMessageError{margin:0;padding:0 12px;background:#fff}
@media(max-width:520px){.alite-chat-launcher{bottom:17px;right:15px}.alite-chat-window{inset:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.alite-chat-header{padding-top:calc(13px + env(safe-area-inset-top))}.alite-chat-composer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.alite-chat-composer input[type=text]{font-size:16px}.alite-chat-gate{padding:22px 18px}.alite-chat-launcher:has(+.alite-chat-window:not([hidden])){display:none}}
@media(prefers-reduced-motion:reduce){.alite-chat-launcher,.alite-chat-button{transition:none}}

.alite-chat-menu-title{display:block;color:#285238;margin-bottom:8px;font-size:13px}
.alite-chat-menu-choices{display:flex;flex-wrap:wrap;gap:6px}
.alite-chat-menu-choice{color:#2a593b;background:#fcfdfc;border:1px solid #79a07a;border-radius:18px;padding:7px 11px;font:600 12px system-ui;cursor:pointer}
.alite-chat-menu-choice:hover{background:#2a593b;color:#fff}
.alite-chat-message a{overflow-wrap:anywhere}

/* Compact identification gate: viewport-friendly without sacrificing tap targets */
.alite-chat-gate{padding:12px 18px;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:0;box-sizing:border-box}
.alite-chat-gate h3{font-size:24px;line-height:1.12;margin:3px 0}
.alite-chat-gate>p{font-size:12px;line-height:1.3;margin:0 0 7px}
.alite-chat-gate form{gap:8px}
.alite-chat-gate label{font-size:11px;gap:4px}
.alite-chat-gate input:not([type=checkbox]){min-height:39px;padding:8px 11px}
.alite-chat-gate label.alite-chat-consent{font-size:10px;line-height:1.35}
.alite-chat-gate label.alite-chat-consent input{vertical-align:middle}
#aliteChatEnter{min-height:40px}
@media(max-height:660px) and (min-width:521px){
 .alite-chat-window{height:min(520px,calc(100dvh - 84px));bottom:72px}
 .alite-chat-gate{justify-content:flex-start;padding:10px 14px}
 .alite-chat-gate h3{font-size:22px}
}
@media(max-width:520px){
 .alite-chat-gate{justify-content:center;padding:10px 18px}
 .alite-chat-gate form{gap:8px}
}

/* Eliminate trivial overflow in desktop chat identification */
@media(min-width:521px){
 .alite-chat-gate{padding-top:8px;padding-bottom:8px}
 .alite-chat-gate form{gap:7px}
 .alite-chat-gate>p{margin-bottom:4px}
}
