#waybot-launcher{position:fixed;right:20px;bottom:70px;z-index:80;display:flex;align-items:center;gap:8px;padding:6px 15px 6px 6px;border:1px solid #b8c6a6;border-radius:40px;background:#f7f7f2;color:#171918;box-shadow:0 3px 18px #0002;font-size:13px;font-weight:600}#waybot-launcher img{width:60px;height:60px;object-fit:contain}#waybot-chat{position:fixed;inset:auto 20px 20px auto;margin:0;padding:0;width:410px;max-width:calc(100vw - 32px);height:650px;max-height:calc(100dvh - 40px);border:1px solid #bbc4af;border-radius:18px;background:#f7f7f2;box-shadow:0 10px 50px #0003;overflow:hidden;color:#171918}#waybot-chat[open]{display:flex;flex-direction:column}#waybot-chat::backdrop{background:#10191755;backdrop-filter:none}.waybot-heading{display:flex;align-items:center;gap:10px;padding:15px 18px;background:#191d1e;color:#fff;border-top:4px solid #ff1737;flex-shrink:0}.waybot-heading>div{flex:1}.waybot-heading img{object-fit:contain}.waybot-heading h2{font-size:20px;letter-spacing:0;margin:0}.waybot-heading p{font-size:11px;margin:3px 0 0;color:#e1e5dc}.waybot-close{background:transparent;border:0;color:white;font-size:27px;padding:4px 8px}.waybot-messages{flex:1;min-height:90px;overflow:auto;padding:16px;overscroll-behavior:contain}.waybot-message{margin-bottom:12px;padding:12px 14px;border-radius:12px;background:#e9eedf;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.waybot-message strong{font-size:10px;letter-spacing:.5px}.waybot-message p{white-space:pre-wrap;margin:5px 0 0}.waybot-message a{display:block;margin-top:9px;text-decoration:underline;font-size:12px}.waybot-user{background:#fff;border:1px solid #dce1d4;margin-left:22px}.waybot-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 8px}.waybot-suggestions button{font-size:11px;background:transparent;border:1px solid #bcc6b0;border-radius:18px;padding:7px 10px;color:#171918}.waybot-status{margin:0;padding:0 16px;font-size:12px;color:#6e392d;line-height:1.5}.waybot-form{padding:10px 16px}.waybot-input-label{display:block;font-size:11px;margin-bottom:5px}.waybot-form>div{display:flex;gap:8px}.waybot-form textarea{flex:1;min-width:0;resize:none;border:1px solid #b9c4ad;border-radius:8px;padding:10px;background:white;color:#171918;font:16px 'DM Sans',Arial,sans-serif;line-height:1.4}.waybot-form button{align-self:stretch;background:#dbff6b;color:#000;-webkit-text-fill-color:#000;border:0;border-radius:8px;font-size:12px;font-weight:600;padding:0 15px}.waybot-form button:disabled{opacity:.55}.waybot-footer{display:flex;justify-content:space-between;padding:0 16px;align-items:center;font-size:12px}.waybot-footer a{text-decoration:underline}.waybot-clear{border:0;background:transparent;color:#171918;font-size:12px;text-decoration:underline;padding:4px}.waybot-note{margin:7px 16px 13px;font-size:10px;color:#65705d;line-height:1.5}@media(max-width:500px){#waybot-chat{inset:auto 10px 10px auto;width:calc(100% - 20px);max-width:none;max-height:calc(100dvh - 20px)}.waybot-heading{padding:12px 14px}}

/* Choose a conversation language before opening the composer. */
.waybot-language{flex:1;min-height:0;overflow:auto;padding:24px 20px;text-align:center;overscroll-behavior:contain}.waybot-language[hidden]{display:none}.waybot-language h3{font-size:21px;margin:8px 0;letter-spacing:0}.waybot-language p{font-size:14px;line-height:1.5;margin:0 0 24px}.waybot-language>div{display:grid;gap:12px}.waybot-language button{width:100%;min-height:48px;border:1px solid #b8c6a6;border-radius:10px;background:#e9eedf;color:#171918;font-size:16px;font-weight:600;padding:12px}.waybot-language button:hover{background:#dbff6b}.waybot-language button:focus-visible{outline:3px solid #698923;outline-offset:2px}.waybot-awaiting-language .waybot-messages,.waybot-awaiting-language .waybot-suggestions,.waybot-awaiting-language .waybot-form,.waybot-awaiting-language .waybot-status,.waybot-awaiting-language .waybot-clear{display:none}.waybot-change-language{background:transparent;border:0;font-size:11px;color:#171918;text-decoration:underline;padding:6px 0}.waybot-change-language[hidden]{display:none}.waybot-footer{gap:8px;flex-wrap:wrap}@media(max-height:450px){.waybot-language{padding:10px 16px}.waybot-language h3{font-size:18px;margin:0 0 4px}.waybot-language p{margin-bottom:10px}.waybot-language>div{gap:6px}.waybot-language button{min-height:44px;padding:8px}}

/* Six matched poses: hand rises to the mouth, then the question mark appears. */
.waybot-launcher-art{display:block;flex:0 0 60px;width:60px;height:60px;background-repeat:no-repeat;background-size:300% 200%;background-position:100% 100%}.waybot-launcher-art img{display:block}.waybot-launcher-art.waybot-sprite-ready{background-image:url("/assets/waybot-thinking-sprite.webp");animation:waybot-think 7s steps(1,end) infinite}.waybot-sprite-ready img{visibility:hidden}.waybot-launcher-art.waybot-motion-paused{animation-play-state:paused}@keyframes waybot-think{0%,18%{background-position:0% 0%}20%{background-position:50% 0%}22%{background-position:100% 0%}24%{background-position:0% 100%}26%{background-position:50% 100%}34%,70%{background-position:100% 100%}74%{background-position:50% 100%}76%{background-position:0% 100%}78%{background-position:100% 0%}80%{background-position:50% 0%}82%,100%{background-position:0% 0%}}@media(prefers-reduced-motion:reduce){.waybot-launcher-art.waybot-sprite-ready{animation:none;background-image:none}.waybot-sprite-ready img{visibility:visible}}

/* Fit the visible phone screen, including the space above its keyboard. */
.waybot-heading>div{min-width:0}.waybot-messages{min-height:0;flex:1 1 0}.waybot-form,.waybot-suggestions,.waybot-footer,.waybot-note,.waybot-status{flex-shrink:0}@media(max-width:600px){#waybot-chat{--waybot-safe-top:max(10px,env(safe-area-inset-top,0px));--waybot-safe-bottom:max(10px,env(safe-area-inset-bottom,0px));top:calc(var(--waybot-view-top,0px) + var(--waybot-safe-top));bottom:auto;left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));width:auto;max-width:none;height:calc(var(--waybot-view-height,100dvh) - var(--waybot-safe-top) - var(--waybot-safe-bottom));max-height:calc(var(--waybot-view-height,100dvh) - var(--waybot-safe-top) - var(--waybot-safe-bottom))}.waybot-heading{padding:10px 14px}.waybot-form{padding:8px 14px}.waybot-compact .waybot-suggestions,.waybot-compact .waybot-note{display:none}.waybot-compact .waybot-footer{padding-bottom:8px}.waybot-compact .waybot-form textarea{height:48px;min-height:48px}.waybot-messages{padding:12px}}@media(max-height:450px){#waybot-chat .waybot-suggestions,#waybot-chat .waybot-note{display:none}}

.waybot-language-art{display:block;width:auto;height:clamp(80px,18dvh,132px);max-width:100%;object-fit:contain;margin:14px auto 0}@media(max-height:700px){.waybot-language-art{height:90px;margin-top:10px}}@media(max-height:450px){.waybot-language-art{height:72px;margin-top:8px}}

@media(max-height:700px){.waybot-language{padding:16px 16px 10px}.waybot-language p{margin-bottom:16px}.waybot-language>div{gap:10px}}

@media(max-width:600px), (pointer:coarse){
 #waybot-launcher{
  right:calc(12px + env(safe-area-inset-right,0px));
  bottom:calc(12px + env(safe-area-inset-bottom,0px));
 }
}
