#ocs-chat-root{--ocs-green:#1f4e3d;--ocs-light:#e8f0ec;--ocs-grey:#f3f3f3;position:fixed;right:20px;bottom:20px;z-index:99990;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.45;color:#222}
#ocs-chat-root *{box-sizing:border-box}
#ocs-chat-root [hidden]{display:none!important}
.ocs-bubble{width:62px;height:62px;border-radius:50%;border:2px solid var(--ocs-green);background:#fff;padding:6px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;transition:transform .2s ease}
.ocs-bubble:hover,.ocs-bubble:focus-visible{transform:scale(1.07);outline:3px solid rgba(31,78,61,.35)}
.ocs-bubble svg{width:100%;height:100%;animation:ocs-spin 14s linear infinite}
.ocs-open .ocs-bubble svg{animation:none}
@keyframes ocs-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ocs-bubble svg{animation:none}.ocs-bubble{transition:none}}
.ocs-panel{position:absolute;right:0;bottom:76px;width:370px;max-width:calc(100vw - 24px);height:540px;max-height:calc(100vh - 110px);background:#fff;border-radius:14px;box-shadow:0 8px 32px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden;border:1px solid #d9d9d9}
.ocs-head{display:flex;align-items:center;gap:10px;background:var(--ocs-green);color:#fff;padding:10px 12px}
.ocs-logo{width:28px;height:28px;border-radius:50%;background:#fff;display:inline-block;padding:1px;flex:none}
.ocs-logo svg{width:100%;height:100%;display:block}
.ocs-title{font-weight:600;flex:1}
.ocs-close{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.ocs-msgs{flex:1;overflow-y:auto;padding:12px;background:#fafafa}
.ocs-row{display:flex;flex-direction:column;margin:6px 0}
.ocs-row.ocs-u{align-items:flex-end}
.ocs-row.ocs-b{align-items:flex-start}
.ocs-msg{max-width:88%;padding:8px 12px;border-radius:12px;word-wrap:break-word;overflow-wrap:anywhere}
.ocs-u .ocs-msg{background:var(--ocs-green);color:#fff;border-bottom-right-radius:4px}
.ocs-u .ocs-msg a{color:#fff}
.ocs-b .ocs-msg{background:var(--ocs-grey);border-bottom-left-radius:4px}
.ocs-msg a{color:var(--ocs-green);text-decoration:underline}
.ocs-fb{display:flex;gap:4px;margin:2px 0 0 4px}
.ocs-fb button{background:none;border:1px solid transparent;border-radius:6px;cursor:pointer;font-size:14px;padding:0 4px;opacity:.55}
.ocs-fb button:hover:not(:disabled){opacity:1}
.ocs-fb button.ocs-sel{opacity:1;border-color:var(--ocs-green);background:var(--ocs-light)}
.ocs-fb button:disabled:not(.ocs-sel){opacity:.2;cursor:default}
.ocs-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px;background:#fafafa}
.ocs-chip{border:1px solid var(--ocs-green);background:#fff;color:var(--ocs-green);border-radius:16px;padding:5px 11px;font-size:13px;cursor:pointer;text-align:left}
.ocs-chip:hover{background:var(--ocs-light)}
.ocs-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e5e5;background:#fff;align-items:flex-end}
.ocs-input{flex:1;resize:none;border:1px solid #c9c9c9;border-radius:10px;padding:8px 10px;font:inherit;max-height:110px;color:#222;background:#fff}
.ocs-input:focus{outline:2px solid rgba(31,78,61,.4);border-color:var(--ocs-green)}
.ocs-send{width:40px;height:40px;border-radius:50%;border:0;background:var(--ocs-green);color:#fff;font-size:17px;cursor:pointer;flex:none}
.ocs-send:disabled{opacity:.5;cursor:default}
.ocs-note{font-size:11px;color:#666;padding:0 12px 9px;background:#fff;line-height:1.35}
.ocs-note a{color:#666}
.ocs-dot{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#888;animation:ocs-blink 1.2s infinite ease-in-out}
.ocs-dot:nth-child(2){animation-delay:.2s}.ocs-dot:nth-child(3){animation-delay:.4s}
@keyframes ocs-blink{0%,80%,100%{opacity:.25}40%{opacity:1}}
@media (max-width:480px){#ocs-chat-root{right:12px;bottom:12px}.ocs-panel{right:-0px;width:calc(100vw - 24px);height:calc(100vh - 96px);bottom:72px}.ocs-input{font-size:16px}}
