#ai-booking-chatbot{--cg-forest:var(--sx-forest,#103c31);--cg-action:var(--sx-action,#17604e);--cg-surface:var(--sx-surface,#fff);--cg-soft:var(--sx-soft,#f3f6f2);--cg-text:var(--sx-text,#152e27);--cg-muted:var(--sx-secondary-text,#5b6b64);--cg-border:var(--sx-border,#dbe3da);--cg-tint:var(--sx-tint,#e3efdf);position:fixed;right:18px;bottom:24px;z-index:1080;font-size:15px}
    html[data-bs-theme="dark"] #ai-booking-chatbot{--cg-surface:#1b2420;--cg-soft:#222d28;--cg-text:#f1f5f0;--cg-muted:#a9b8b0;--cg-border:#2f3d36;--cg-tint:#26372c;--cg-action:#7fc4a5}
    #ai-booking-chatbot .sx-ai-chatbot__toggle{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:18px;padding:14px 18px;background:var(--cg-forest);color:#fff;box-shadow:0 14px 30px rgba(16,60,49,.28);font-weight:700;min-height:52px}
    #ai-booking-chatbot .sx-ai-chatbot__toggle:focus-visible{outline:3px solid #c4e678;outline-offset:2px}
    #ai-booking-chatbot .sx-ai-chatbot__toggle i{font-size:1.15rem}
    #ai-booking-chatbot .sx-ai-chatbot__panel{position:absolute;right:0;bottom:66px;width:min(420px,calc(100vw - 24px));height:min(640px,calc(100vh - 120px));display:flex;flex-direction:column;border-radius:24px;background:var(--cg-surface);border:1px solid var(--cg-border);box-shadow:0 24px 60px rgba(8,23,20,.24);overflow:hidden;color:var(--cg-text)}
    #ai-booking-chatbot .sx-ai-chatbot__header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 14px 14px 18px;background:var(--cg-forest);color:#fff}
    #ai-booking-chatbot .sx-ai-chatbot__header strong{display:flex;align-items:center;gap:8px;font-size:1.02rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
    #ai-booking-chatbot .sx-ai-chatbot__header-actions{display:flex;gap:6px;flex:0 0 auto}
    #ai-booking-chatbot .sx-ai-chatbot__icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:rgba(255,255,255,.12);color:#fff;width:38px;height:38px;border-radius:12px;font-size:1.05rem;padding:0}
    #ai-booking-chatbot .sx-ai-chatbot__icon-btn:hover{background:rgba(255,255,255,.22)}
    #ai-booking-chatbot .sx-ai-chatbot__ai{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 18px;border-bottom:1px solid var(--cg-border);background:var(--cg-soft);font-size:.8rem;color:var(--cg-muted)}
    #ai-booking-chatbot .sx-ai-chatbot__ai label{white-space:nowrap;display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--cg-text);font-weight:600}
    #ai-booking-chatbot .sx-ai-chatbot__ai input{accent-color:var(--cg-action);width:16px;height:16px}
    #ai-booking-chatbot .sx-ai-chatbot__timeline{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding:16px 18px;overscroll-behavior:contain}
    /* Transcript rows keep their natural height when a long answer fills the panel. */
    #ai-booking-chatbot .sx-ai-chatbot__timeline > *{flex-shrink:0}
    #ai-booking-chatbot .sx-ai-chatbot__bubble{padding:11px 14px;border-radius:18px;line-height:1.55;font-size:.93rem;max-width:88%;white-space:normal;overflow-wrap:anywhere}
    #ai-booking-chatbot .sx-ai-chatbot__bubble.is-assistant{background:var(--cg-soft);color:var(--cg-text);border-top-left-radius:6px;align-self:flex-start}
    #ai-booking-chatbot .sx-ai-chatbot__bubble.is-user{background:var(--cg-forest);color:#fff;align-self:flex-end;border-top-right-radius:6px}
    #ai-booking-chatbot .sx-ai-chatbot__bubble.is-urgent{background:#fdecea;color:#7a1d14;border:1px solid #f3b8b0;font-weight:600}
    html[data-bs-theme="dark"] #ai-booking-chatbot .sx-ai-chatbot__bubble.is-urgent{background:#3a1d1a;color:#ffd6d0;border-color:#6b2a22}
    #ai-booking-chatbot .sx-ai-chatbot__bubble.is-typing{color:var(--cg-muted);display:inline-flex;align-items:center;gap:8px;background:var(--cg-soft);align-self:flex-start}
    #ai-booking-chatbot .sx-ai-chatbot__bubble.is-typing::after{content:"";width:28px;height:8px;border-radius:999px;background:linear-gradient(90deg,rgba(23,96,78,.15),rgba(23,96,78,.55),rgba(23,96,78,.15));animation:sxAiTyping 1.1s linear infinite}
    #ai-booking-chatbot .sx-ai-chatbot__badge{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--cg-tint);color:var(--cg-action);font-size:.68rem;font-weight:700;vertical-align:middle}
    #ai-booking-chatbot .sx-ai-chatbot__links{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start;max-width:92%}
    #ai-booking-chatbot .sx-ai-chatbot__links a{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;border:1px solid var(--cg-border);background:var(--cg-surface);color:var(--cg-action);font-size:.82rem;font-weight:650;text-decoration:none;min-height:34px}
    #ai-booking-chatbot .sx-ai-chatbot__links a:hover{border-color:var(--cg-action)}
    #ai-booking-chatbot .sx-ai-chatbot__links a.is-primary{background:var(--cg-forest);border-color:var(--cg-forest);color:#fff}
    #ai-booking-chatbot .sx-ai-chatbot__links a.is-call{background:#b42318;border-color:#b42318;color:#fff}
    #ai-booking-chatbot .sx-ai-chatbot__quick{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;margin:0 -18px;padding:2px 18px 4px;scrollbar-width:none;align-self:stretch;grid-template-columns:none}
    #ai-booking-chatbot .sx-ai-chatbot__quick::-webkit-scrollbar{display:none}
    #ai-booking-chatbot .sx-ai-chatbot__quick button{flex:0 0 auto;width:auto;border:1px solid var(--cg-border);background:var(--cg-surface);color:var(--cg-action);border-radius:999px;padding:7px 13px;font-weight:650;font-size:13px;line-height:1.2;white-space:nowrap;min-height:34px;text-align:center}
    #ai-booking-chatbot .sx-ai-chatbot__quick button:hover{border-color:var(--cg-action);color:var(--cg-action)}
    #ai-booking-chatbot .sx-ai-chatbot__summary{margin:0 18px 10px;padding:12px 14px;border-radius:16px;background:var(--cg-soft);border:1px solid var(--cg-border)}
    #ai-booking-chatbot .sx-ai-chatbot__summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
    #ai-booking-chatbot .sx-ai-chatbot__summary-head strong{font-size:.9rem}
    #ai-booking-chatbot .sx-ai-chatbot__summary-pill{padding:3px 9px;border-radius:999px;background:var(--cg-tint);color:var(--cg-action);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
    #ai-booking-chatbot .sx-ai-chatbot__summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    #ai-booking-chatbot .sx-ai-chatbot__summary-item span{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:var(--cg-muted)}
    #ai-booking-chatbot .sx-ai-chatbot__summary-item strong{display:block;font-size:.86rem;line-height:1.35}
    #ai-booking-chatbot .sx-ai-chatbot__compose{display:flex;gap:8px;padding:10px 14px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--cg-border)}
    #ai-booking-chatbot .sx-ai-chatbot__compose .form-control{min-height:46px;border-radius:14px;font-size:16px;background:var(--cg-soft);border:1px solid var(--cg-border);color:var(--cg-text)}
    #ai-booking-chatbot .sx-ai-chatbot__compose .btn{min-width:46px;border-radius:14px;background:var(--cg-forest);border-color:var(--cg-forest);color:#fff}
    #ai-booking-chatbot .sx-ai-chatbot__actions{display:flex;justify-content:flex-end;padding:0 14px}
    #ai-booking-chatbot .sx-ai-chatbot__actions .btn:not(.d-none){margin-bottom:8px;border-radius:999px}
    #ai-booking-chatbot .sx-ai-chatbot__footnote{margin:0;padding:0 18px 10px;color:var(--cg-muted);font-size:.75rem;line-height:1.3;text-align:center}
    #ai-booking-chatbot .sx-ai-chatbot__action-row{display:flex;justify-content:flex-start}
    #ai-booking-chatbot .sx-ai-chatbot__login-action{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:var(--cg-forest);color:#fff;font-weight:650;text-decoration:none;font-size:.85rem}
    @keyframes sxAiTyping{0%{opacity:.3;transform:translateX(-4px)}50%{opacity:1;transform:translateX(0)}100%{opacity:.3;transform:translateX(4px)}}
    @media (max-width: 767.98px){
        #ai-booking-chatbot{right:12px;bottom:16px}
        #ai-booking-chatbot .sx-ai-chatbot__toggle span{display:none}
        #ai-booking-chatbot .sx-ai-chatbot__toggle{padding:0;width:54px;height:54px;justify-content:center}
        #ai-booking-chatbot .sx-ai-chatbot__panel{position:fixed;inset:0;width:100%;height:100%;height:100dvh;border-radius:0;border:0;padding-bottom:env(safe-area-inset-bottom)}
        #ai-booking-chatbot .sx-ai-chatbot__header{padding-top:max(16px,env(safe-area-inset-top))}
        #ai-booking-chatbot .sx-ai-chatbot__summary-grid{grid-template-columns:1fr}
        #ai-booking-chatbot .sx-ai-chatbot__bubble{max-width:94%}
    }
    html.sx-chat-open-mobile, html.sx-chat-open-mobile body{overflow:hidden}
    /* The site applies a global !important radius to buttons and fields; restore the widget's own shapes. */
    #ai-booking-chatbot .sx-ai-chatbot__quick button,
    #ai-booking-chatbot .sx-ai-chatbot__links a,
    #ai-booking-chatbot .sx-ai-chatbot__login-action{border-radius:999px !important}
    #ai-booking-chatbot .sx-ai-chatbot__toggle{border-radius:18px !important}
    #ai-booking-chatbot .sx-ai-chatbot__icon-btn,
    #ai-booking-chatbot .sx-ai-chatbot__compose .form-control,
    #ai-booking-chatbot .sx-ai-chatbot__compose .btn{border-radius:14px !important}
    @media (prefers-reduced-motion: reduce){#ai-booking-chatbot .sx-ai-chatbot__bubble.is-typing::after{animation:none}}
