.chat-launcher{position:fixed;inset-inline-end:22px;bottom:24px;z-index:26;display:flex;align-items:center;gap:9px;min-height:48px;border:1px solid #73d8ca;border-radius:28px;padding:12px 18px;background:#0e514b;color:#fff;box-shadow:0 5px 20px #071f3830;font-weight:700;font-size:15px}.chat-launcher:hover{background:#073f3a}.chat-launcher span{font-size:23px;color:#8debd9}
#chat-dialog{padding:0;border:1px solid #bacac6;border-radius:18px;width:min(440px,calc(100vw - 32px));max-width:100%;max-height:calc(100dvh - 32px);height:710px;margin:auto 20px 20px auto;background:#f7faf9;color:#193a35;overflow:hidden;box-shadow:0 12px 60px #0004}#chat-dialog::backdrop{background:#091e2855}.chat-shell{display:flex;flex-direction:column;height:100%;min-height:0}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 20px;background:#103e3a;color:#fff;flex-shrink:0}.chat-header h2{font-size:22px;letter-spacing:0;line-height:1.4;margin-top:3px}.chat-mode{font-size:13px;color:#a8eee0}.chat-close{width:44px;height:44px;flex-shrink:0;border:1px solid #ffffff50;border-radius:50%;background:transparent;color:#fff;font-size:30px;line-height:1}.chat-notice{padding:12px 20px;font-size:13px;line-height:1.6;background:#e7f3ef;color:#34564e;margin:0}.chat-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:70px;padding:18px 16px}.chat-log{display:flex;flex-direction:column;gap:12px}.chat-message{white-space:pre-wrap;overflow-wrap:anywhere;max-width:94%;padding:12px 14px;border-radius:14px;font-size:16px;line-height:1.65;background:#fff;border:1px solid #d4e3de;align-self:flex-start}.chat-message.user{background:#d5eee5;border-color:#aad4c3;align-self:flex-end}.chat-message strong{display:block;font-size:12px;margin-bottom:5px;color:#456259}.chat-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.chat-choices button,.chat-confirm button,.chat-fallback{min-height:44px;padding:10px 14px;border:1px solid #80a99d;border-radius:9px;background:#fff;color:#214e42;font-size:14px;line-height:1.5}.chat-choices button:hover{background:#e4f1eb}.chat-review{border:1px solid #accdbe;border-radius:12px;padding:16px;margin-top:18px;background:#fff}.chat-review h3{font-size:19px}.chat-review pre{font:inherit;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.chat-review p{font-size:13px;line-height:1.7;margin-bottom:12px}.chat-primary{min-height:46px;padding:10px 16px;border:1px solid #0e514b;border-radius:9px;background:#0e514b;color:#fff;font-weight:700;line-height:1.5}.chat-review .chat-primary{width:100%;font-size:15px}.chat-primary:disabled{opacity:.55;cursor:default}.chat-status{font-size:14px;line-height:1.6;padding-inline:18px;color:#8d2431}.chat-status:empty{display:none}.chat-compose{padding:12px 16px;border-top:1px solid #d6e3df;background:#fff}.chat-compose label{display:block;font-size:13px;margin-bottom:7px}.chat-compose>div{display:flex;gap:8px}.chat-compose input{width:100%;min-width:0;border:1px solid #8fafa4;background:#fff;color:#173e33;border-radius:9px;padding:10px;font-size:16px;min-height:46px}.chat-compose button{flex-shrink:0}.chat-footer{padding:10px 16px 12px;display:flex;align-items:center;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;background:#f7faf9;color:#234c40;font-size:13px}.chat-footer a,.chat-footer button{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;font-size:13px;font-weight:600}.chat-footer button{border:0;background:transparent;color:#456359;padding:0}.chat-footer small{width:100%;font-size:12px;line-height:1.6}.chat-confirm{padding:12px;margin-top:12px;background:#fff0d5;border:1px solid #d5b06b;border-radius:10px}.chat-confirm p{font-size:14px;margin-bottom:8px}.chat-confirm button{display:block;width:100%;margin-top:8px}.chat-fallback{margin:8px 16px}.chat-open{overflow:hidden}.chat-open .mobile-cta,.chat-open .chat-launcher{visibility:hidden}#chat-dialog :focus-visible,.chat-launcher:focus-visible{outline:3px solid #d69314;outline-offset:3px}
@media(max-width:700px){.chat-launcher{bottom:calc(76px + env(safe-area-inset-bottom));inset-inline-end:12px;font-size:14px;padding:10px 14px}#chat-dialog{margin:auto 0 0;width:100%;height:min(740px,100dvh);max-height:100dvh;border-radius:18px 18px 0 0;border-bottom:0}.chat-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.chat-header{padding:14px 16px}.chat-notice{padding:10px 16px}.chat-header h2{font-size:20px}}
@media(max-height:560px){#chat-dialog{height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:0}.chat-notice{max-height:68px;overflow:auto}.chat-header{padding-block:8px}.chat-footer{padding-block:4px}.chat-footer small{display:none}.chat-compose{padding-block:8px}}

.chat-launcher.is-context-hidden{visibility:hidden;pointer-events:none}
