.od-chat{position:fixed;bottom:24px;right:24px;z-index:70;font-family:Inter,system-ui,sans-serif;color:#172b35;font-size:14px}
.od-chat [hidden]{display:none!important}
.od-chat button,.od-chat textarea,.od-chat a{font:inherit}
.od-chat button{cursor:pointer}
.od-chat button:focus-visible,.od-chat a:focus-visible,.od-chat textarea:focus-visible{outline:3px solid #00a38d;outline-offset:3px}
.od-chat-launch{background:#143a3b;color:white;padding:12px 18px;border:1px solid #2b5352;border-radius:100px;box-shadow:0 6px 24px #173c3844;transition:transform .2s,background .2s;display:flex;gap:10px;align-items:center;font-weight:650;min-height:48px}
.od-chat-launch:hover{background:#006657;transform:translateY(-2px)}
.od-chat-launch span{color:#69d6c2;font-size:22px}
.od-chat-panel{position:absolute;right:0;bottom:65px;width:min(410px,calc(100vw - 32px));height:min(620px,calc(100dvh - 115px));display:flex;flex-direction:column;background:#f4f8f6;border:1px solid #d9e5de;border-radius:22px;box-shadow:0 16px 60px #153a3840;overflow:hidden;transform-origin:bottom right;animation:od-chat-in .23s cubic-bezier(.2,.75,.25,1)}
.od-chat-header{padding:16px 18px;background:radial-gradient(ellipse at top right,#246655,transparent 70%),#133936;color:#fff;display:flex;justify-content:space-between;gap:12px}
.od-chat-eyebrow{font-size:11px;letter-spacing:.07em;color:#b6e0d5}
.od-chat h2{font-size:24px;font-weight:700;letter-spacing:-.035em;margin:4px 0 9px}
.od-chat-header p{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#d2eee6;margin:0}
.od-chat-header p::before{content:"";width:7px;height:7px;border-radius:50%;background:#9be9cb}
.od-chat-header p[data-state=HUMAN]::before{background:#ffd192}
.od-chat-header button{align-self:flex-start;background:#ffffff18;border:0;border-radius:50%;font-size:23px;color:#fff;width:44px;height:44px;transition:background .18s}
.od-chat-header button:hover{background:#ffffff30}
.od-chat-messages{flex:1;min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#55927f transparent}
.od-chat-message{padding:12px 14px;background:white;border:1px solid #e2e8e0;border-radius:3px 15px 15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-width:92%;align-self:flex-start}
.od-chat-message[data-sender=USER]{background:#143a3b;color:#fff;align-self:flex-end;border-radius:15px 3px 15px 15px;border-color:#143a3b}
.od-chat-message[data-sender=ADMIN]{border-color:#93d7bc;background:#ecfbf4}
.od-chat-message small{display:block;font-size:10px;color:#527269;margin-bottom:4px}
.od-chat-message a{color:#096149;font-weight:700;text-decoration:underline;text-underline-offset:.17em}
.od-chat-shortcuts{display:flex;flex-wrap:wrap;gap:5px;padding:6px 16px}
.od-chat-shortcuts button{border:1px solid #ccdcd4;border-radius:30px;padding:7px 10px;min-height:32px;font-size:12px;color:#23594b;background:#fff;transition:background .18s,border-color .18s}
.od-chat-shortcuts button:hover{background:#e4f5ee;border-color:#88c9b3}
.od-chat-form{display:flex;gap:8px;padding:8px 16px}
.od-chat textarea{resize:none;min-width:0;flex:1;border:1px solid #c7dad0;border-radius:11px;padding:10px;color:#172b35;background:#fff;font-size:16px;line-height:1.35}
.od-chat-form button{background:#006657;color:white;border:0;border-radius:11px;padding:10px 12px;font-size:13px;min-width:68px;transition:background .18s}
.od-chat-form button:hover{background:#0d473c}
.od-chat button:disabled{opacity:.55;cursor:wait}
.od-chat-note{font-size:10px!important;color:#64786f;margin:0;padding:0 18px 7px;line-height:1.5}
.od-chat-contact{font-size:11px!important;color:#006657;padding:0 18px 15px;text-decoration:underline}
.od-chat-error{color:#8e332b;background:#fff2ed;margin:0 18px;padding:8px 10px;font-size:12px}
.od-chat-delivery{color:#23594b;margin:0 16px;padding:4px 0;font-size:12px}
.dark .od-chat-delivery{color:#b8ead8}
.od-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.od-chat-message.is-new{animation:od-chat-in .2s ease-out}
.dark .od-chat-panel{background:#112724;border-color:#2e5148;color:#e8f4ef}
.dark .od-chat-message:not([data-sender=USER]){background:#1b3731;border-color:#36574e}
.dark .od-chat-message a,.dark .od-chat-message small,.dark .od-chat-note,.dark .od-chat-contact{color:#b8ead8}
.dark .od-chat-shortcuts button,.dark .od-chat textarea{background:#17332e;border-color:#3b6357;color:#effaf6}
.dark .od-chat-shortcuts button:hover{background:#244d41}
@keyframes od-chat-in{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:480px){.od-chat{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.od-chat-panel{position:fixed;left:12px;right:12px;width:auto;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 59px);border-radius:17px}.od-chat-shortcuts button{min-height:36px}}
@media(max-height:540px){.od-chat-note{display:none}.od-chat-header{padding:8px 14px}.od-chat-header .od-chat-eyebrow{display:none}.od-chat h2{font-size:17px;margin:0}.od-chat-header button{width:38px;height:38px}.od-chat-shortcuts{flex-wrap:nowrap;overflow:auto}.od-chat-shortcuts button{flex:none}}
@media(prefers-reduced-motion:reduce){.od-chat *{animation:none!important;transition:none!important}}
