#h24-chat{font-family:var(--base-font,Arial,sans-serif);color:#333333}.h24-chat-launch,.h24-chat-inline{border:0;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;background:#0c9f76;color:#fff;border-radius:100px;display:inline-flex;align-items:center;gap:8px;padding:13px 18px}.h24-chat-launch{position:fixed;right:16px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:1001;box-shadow:0 6px 24px #143e3433}.h24-chat-launch{width:56px;height:56px;padding:0;justify-content:center;border-radius:50%;border:0;box-shadow:0 3px 12px #143e341f;transition:background .15s,transform .15s}.h24-chat-launch:hover{background:#078563}.h24-chat-launch:active{transform:scale(.96)}.h24-chat-launch svg{display:block;flex-shrink:0}.h24-chat-inline{margin:8px 0;background:#edf7f1;color:#0c9f76;border:1px solid #c8e4d5;font-family:inherit}.h24-chat-dialog{box-sizing:border-box;border:0;border-radius:16px;padding:0;width:min(440px,calc(100vw - 24px));height:min(760px,90dvh);max-height:90dvh;box-shadow:0 20px 80px #09251d40;background:#f7f7f7;color:#333333;overflow:hidden}.h24-chat-dialog[open]{display:flex;flex-direction:column;animation:h24-chat-in .22s ease-out}.h24-chat-dialog *{box-sizing:border-box}.h24-chat-header{display:flex;gap:12px;align-items:center;padding:18px;background:white;border-bottom:1px solid #e8e8e8;flex-shrink:0}.h24-chat-header h2{font-family:var(--title-font,var(--base-font,Arial,sans-serif));font-size:19px;margin:0 0 3px;font-weight:700}.h24-chat-header h2 span{font-size:11px;color:#0c9f76;background:#e7f3eb;padding:3px 6px;border-radius:6px}.h24-chat-header small{font-size:12px;color:#737373}.h24-chat-avatar{background:#0c9f76;color:#fff;border-radius:14px;padding:10px 14px;font-size:26px}.h24-chat-close{margin-left:auto;border:0;background:#f0f5f2;font-size:27px;line-height:1;min-width:44px;min-height:44px;border-radius:50%;cursor:pointer}.h24-chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 16px;scroll-behavior:smooth}.h24-chat-welcome{text-align:center;padding:20px 5px}.h24-chat-spark{display:block;color:#0c9f76;font-size:44px;margin-bottom:16px}.h24-chat-welcome h3{font-family:var(--title-font,var(--base-font,Arial,sans-serif));font-size:24px;margin:0 0 12px}.h24-chat-welcome p{font-size:15px;line-height:1.55;color:#737373}.h24-chat-suggestions{display:grid;gap:9px;margin:24px 0 16px}.h24-chat-suggestions button{border:1px solid #e8e8e8;background:#fff;text-align:left;border-radius:8px;padding:14px;font:inherit;font-size:14px;color:#333333;cursor:pointer}.h24-chat-note{font-size:12px!important}.h24-chat-message{max-width:94%;border:1px solid #e8e8e8;border-radius:17px 17px 17px 5px;background:#fff;padding:14px;margin:0 0 14px;font-size:15px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.h24-chat-message[data-role=user]{background:#0c9f76;color:white;border:0;border-radius:17px 17px 5px 17px;margin-left:auto;width:fit-content}.h24-chat-message a{color:#096c4a;text-decoration:underline;text-underline-offset:3px;font-weight:600}.h24-chat-footer{padding:8px 16px calc(14px + env(safe-area-inset-bottom,0px));background:white;border-top:1px solid #e8e8e8;flex-shrink:0}.h24-chat-footer small{display:block;text-align:center;font-size:10px;line-height:1.5;color:#737373;margin-top:9px}.h24-chat-reset{border:0;background:transparent;color:#737373;font:inherit;font-size:12px;min-height:32px;cursor:pointer}.h24-chat-form{display:flex;gap:8px;align-items:flex-end;padding:7px;border:1px solid #e8e8e8;background:#f7f7f7;border-radius:10px}.h24-chat-form textarea{font:inherit;font-size:16px;line-height:1.5;flex:1;min-width:0;border:0;background:transparent;resize:none;padding:8px;max-height:120px;outline:none;color:#333333}.h24-chat-form:focus-within{outline:2px solid #0c9f76;outline-offset:2px}.h24-chat-send{width:44px;height:44px;flex-shrink:0;background:#0c9f76;border:0;color:white;border-radius:8px;font-size:25px;cursor:pointer}.h24-chat-dialog button:disabled{opacity:.45;cursor:default}.h24-chat-dialog button:focus-visible,.h24-chat-launch:focus-visible,.h24-chat-inline:focus-visible{outline:3px solid #59b78d;outline-offset:3px}.h24-chat-wait{align-items:center;gap:12px;color:#737373;font-size:13px;padding:8px 0 18px}.h24-chat-wait:not([hidden]){display:flex}.h24-chat-dots{display:flex;gap:4px}.h24-chat-dots i{height:6px;width:6px;background:#0c9f76;border-radius:50%;animation:h24-chat-pulse 1.2s infinite}.h24-chat-dots i:nth-child(2){animation-delay:.2s}.h24-chat-dots i:nth-child(3){animation-delay:.4s}.h24-chat-error{background:#fff2e5;color:#80501f;padding:14px;border-radius:14px;margin-bottom:12px;font-size:14px}.h24-chat-error button{border:1px solid #d4a879;background:white;padding:10px;border-radius:8px;color:inherit;cursor:pointer}.h24-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.h24-chat-dialog [hidden]{display:none!important}@keyframes h24-chat-pulse{50%{opacity:.3;transform:translateY(-3px)}}@keyframes h24-chat-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@media(max-width:600px){.h24-chat-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0;top:0;left:0}.h24-chat-header{padding-top:calc(14px + env(safe-area-inset-top,0px))}}@media(prefers-reduced-motion:reduce){.h24-chat-dialog[open],.h24-chat-dots i{animation:none}.h24-chat-scroll{scroll-behavior:auto}}

.h24-chat-launch{isolation:isolate;background:linear-gradient(145deg,#16b68a,#078563);box-shadow:0 5px 18px #07856338;transition:transform .2s,box-shadow .2s}.h24-chat-launch svg{position:relative;z-index:1;filter:drop-shadow(0 1px 1px #00563e26)}.h24-chat-launch::before,.h24-chat-launch::after{content:"";position:absolute;inset:0;z-index:-1;border:0;border-radius:50%;background:#0c9f76;pointer-events:none;opacity:0;animation:h24-chat-ring 2.8s ease-out 3}.h24-chat-launch::after{animation-delay:.65s}.h24-chat-launch:hover{background:linear-gradient(145deg,#12ac81,#067858);box-shadow:0 7px 22px #0785634d;transform:translateY(-2px)}.h24-chat-launch:active{transform:scale(.95)}.h24-chat-open .h24-chat-launch::before,.h24-chat-open .h24-chat-launch::after{animation:none;opacity:0}@keyframes h24-chat-ring{0%{transform:scale(1);opacity:.38}75%,100%{transform:scale(1.55);opacity:0}}@media(prefers-reduced-motion:reduce){.h24-chat-launch{transition:none}.h24-chat-launch::before,.h24-chat-launch::after{animation:none;display:none}}

.h24-chat-mic{width:44px;height:44px;flex-shrink:0;border:0;border-radius:8px;background:#e7f3eb;color:#087858;font-size:22px;cursor:pointer}.h24-chat-mic[aria-pressed=true]{background:#fee7e7;color:#b42318;animation:h24-chat-pulse 1.2s infinite}.h24-chat-voice-note{font-size:12px;line-height:1.4;color:#737373;margin:6px 0}.h24-chat-voice-note:empty{display:none}@media(prefers-reduced-motion:reduce){.h24-chat-mic[aria-pressed=true]{animation:none}}

.h24-chat-wait:not([hidden]){display:grid;grid-template-columns:auto 1fr;padding:12px;background:#f0f7f3;border-radius:12px;margin-bottom:14px}.h24-chat-landscape{grid-column:1/-1;width:100%;height:88px}

/* Desktop overrides are scoped to the widget; legacy site styles stay untouched. */
#h24-chat { font-family: Arial, sans-serif; font-size: 14px; line-height: 1.4; text-align: left; }
#h24-chat button { text-transform: none; letter-spacing: normal; }
#h24-chat .h24-chat-form { margin: 0; }
#h24-chat .h24-chat-header h2 { line-height: 1.3; padding: 0; }
#h24-chat .h24-chat-welcome h3 { line-height: 1.3; padding: 0; }
#h24-chat .h24-chat-dialog { max-width: calc(100vw - 24px); }
@media (min-width: 601px) {
  #h24-chat .h24-chat-launch { right: 24px; bottom: 24px; z-index: 10001; }
  #h24-chat .h24-chat-dialog { position: fixed; inset: auto 24px 24px auto; margin: 0; width: 440px; height: min(720px, calc(100vh - 48px)); height: min(720px, calc(100dvh - 48px)); max-height: calc(100vh - 48px); }
}
@media (max-width: 600px) { #h24-chat .h24-chat-dialog { max-width: 100vw; } }
/* Legacy desktop CSS applies hero/footer decoration to every semantic element. */
#h24-chat .h24-chat-header { background: #fff; box-shadow: none; color: #333; margin: 0; }
#h24-chat .h24-chat-footer { background: #fff; box-shadow: none; color: #333; margin: 0; overflow: visible; width: auto; }
#h24-chat .h24-chat-close { color: #52605b; }

/* The home/search hero overlay must not cover the chat header. */
#h24-chat .h24-chat-header::before,
#h24-chat .h24-chat-header::after { content: none; display: none; }

/* Non-modal chat stays above the page without locking it or adding a backdrop. */
#h24-chat .h24-chat-dialog { position: fixed; z-index: 10002; }
@media (max-width: 600px) {
  #h24-chat .h24-chat-dialog { inset: auto 12px 12px auto; margin: 0; width: calc(100vw - 24px); max-width: calc(100vw - 24px); height: min(640px, 75vh); height: min(640px, 75dvh); max-height: calc(100dvh - 24px); border-radius: 16px; }
}
