.site-chat-toggle{position:fixed;right:24px;bottom:24px;z-index:1100;display:grid;place-items:center;width:58px;height:58px;padding:16px;border:0;border-radius:50%;background:#008779;color:#fff;box-shadow:0 8px 28px #00665840;cursor:pointer;transition:transform .15s,background .15s}.site-chat-toggle:hover{background:#006e62;transform:translateY(-2px)}.site-chat-toggle>svg{width:27px;height:27px}.site-chat-badge{position:absolute;right:-2px;top:-2px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;background:#e35e51;border:2px solid white;border-radius:20px;color:#fff;font:700 10px system-ui}.site-chat-badge[hidden],.site-chat-panel[hidden],.site-chat-preview[hidden]{display:none!important}.site-chat-panel{position:fixed;right:24px;bottom:94px;z-index:1101;display:flex;flex-direction:column;width:370px;height:min(580px,calc(100dvh - 120px));max-width:calc(100vw - 32px);box-sizing:border-box;border:1px solid #dce8e2;border-radius:22px;background:#fff;box-shadow:0 18px 80px #123f3426;overflow:hidden;color:#274238;font:14px system-ui}.site-chat-panel *{box-sizing:border-box}.site-chat-panel>header{display:flex;align-items:center;gap:12px;padding:20px;background:#008779;color:white;flex-shrink:0}.site-chat-panel>header>img{width:40px;height:40px;background:#fff;border-radius:12px;padding:5px}.site-chat-panel>header>div{flex:1;min-width:0;display:grid;gap:5px}.site-chat-panel header strong{font-size:17px}.site-chat-panel header small{font-size:11px;color:#dbefea}.site-chat-panel>header>button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;background:#ffffff20;color:#fff;font:24px system-ui;cursor:pointer}.site-chat-identity{padding:12px 16px 10px;border-bottom:1px solid #eaf0ec;color:#7b9187;font-size:11px;display:grid;gap:5px}.site-chat-identity input{border:0;background:transparent;padding:3px 0;outline:0;font:13px system-ui;color:#3b5b4a;min-width:0;width:100%}.site-chat-identity:focus-within{box-shadow:inset 0 -2px #86c9b8}.site-chat-log{flex:1;min-height:0;overflow:auto;padding:18px 14px;display:flex;flex-direction:column;gap:11px;background:#f2f7f4;overscroll-behavior:contain}.site-chat-welcome{align-self:center;padding:18px;margin:18px 0;color:#6d8b7b;font-size:13px;line-height:1.7;text-align:center;max-width:280px}.site-chat-message{align-self:flex-start;background:#fff;border:1px solid #e4ece6;border-radius:14px 14px 14px 4px;padding:10px 12px;max-width:88%;min-width:50px;overflow-wrap:anywhere}.site-chat-message.own{align-self:flex-end;background:#e0f2e8;border-color:#cde5d7;border-radius:14px 14px 4px 14px}.site-chat-message>p{margin:0;color:#304d3e;font:14px/1.55 system-ui;white-space:pre-wrap}.site-chat-message>time{display:block;text-align:right;margin-top:6px;color:#8aa095;font-size:9px}.site-chat-message img,.site-chat-message video{display:block;max-width:100%;max-height:220px;border-radius:9px}.site-chat-message audio{max-width:100%;width:250px;height:40px}.site-chat-message blockquote{margin:0 0 9px;padding:6px 9px;border-left:3px solid #359c7c;background:#d5ede440;border-radius:5px;color:#648374;font-size:11px}.site-chat-file{display:block;padding:8px 4px;font-size:12px;color:#087b69;text-decoration:underline}.site-chat-notice{color:#a6584a;font:11px/1.5 system-ui;margin:0;padding:0 14px;background:#fff}.site-chat-notice:empty{display:none}.site-chat-compose{display:flex;align-items:flex-end;gap:7px;padding:12px;border-top:1px solid #e3ede6;background:#fff;margin:0}.site-chat-compose textarea{flex:1;min-width:0;min-height:40px;max-height:100px;resize:none;border:1px solid #dce9e1;background:#f7faf8;border-radius:21px;padding:10px 13px;font:14px/20px system-ui;color:#2f4d3d;outline:0}.site-chat-compose textarea:focus{border-color:#6abda4;box-shadow:0 0 0 2px #94cbb426}.site-chat-compose>button{display:grid;place-items:center;width:38px;height:40px;min-height:40px;border:0;flex-shrink:0;padding:0;border-radius:50%;font:20px system-ui;cursor:pointer}.site-chat-attach{background:#f1f6f3;color:#668a77}.site-chat-send{background:#008779;color:#fff}.site-chat-compose>button:disabled{opacity:.5;cursor:wait}.site-chat-compose>input[hidden]{display:none!important}.site-chat-preview{display:flex;gap:10px;align-items:center;padding:10px 14px;background:#edf6f0;font-size:11px;overflow-wrap:anywhere}.site-chat-preview>span{min-width:0;flex:1}.site-chat-preview>button{border:0;background:none;color:#6a8e7a;font-size:22px;padding:0 5px;cursor:pointer}.site-chat-toggle:focus-visible,.site-chat-panel button:focus-visible{outline:3px solid #83cab7;outline-offset:3px}@media(max-width:700px){.site-chat-toggle{bottom:calc(84px + env(safe-area-inset-bottom));right:16px;width:54px;height:54px}}@media(max-width:600px){body.site-chat-open{overflow:hidden!important}.site-chat-panel{position:fixed;inset:0;top:var(--site-chat-top,0px);width:100%;height:var(--site-chat-height,100dvh);max-width:none;border:0;border-radius:0;z-index:2200;box-shadow:none}.site-chat-panel>header{padding:calc(14px + env(safe-area-inset-top)) 16px 14px}.site-chat-compose{padding-bottom:max(12px,env(safe-area-inset-bottom))}.site-chat-compose textarea,.site-chat-identity input{font-size:16px}.site-chat-toggle{z-index:1100}.site-chat-open .site-chat-toggle{display:none}}

.site-chat-profile{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:22px 24px;background:#f6faf8}.site-chat-profile h2{font:650 20px/1.3 system-ui;color:#315944;margin:0}.site-chat-profile>p{font:12px/1.65 system-ui;color:#7c9386;margin:0 0 5px}.site-chat-profile label{display:grid;gap:6px;font:12px system-ui;color:#5e7e6c}.site-chat-profile input{width:100%;padding:12px 14px;border:1px solid #dce7df;border-radius:11px;background:white;font:14px system-ui;color:#2d503d;outline:0}.site-chat-profile input:focus{border-color:#5eb799;box-shadow:0 0 0 3px #8bcab622}.site-chat-begin{margin-top:5px;min-height:44px;padding:12px;border:0;border-radius:12px;background:#008779;color:white;font:600 14px system-ui;cursor:pointer}.site-chat-begin:disabled{opacity:.5}.site-chat-profile[hidden],.site-chat-log[hidden],.site-chat-compose[hidden]{display:none!important}@media(max-width:600px){.site-chat-profile{justify-content:center;padding:24px}.site-chat-profile input{font-size:16px}}
