@font-face{font-family:ExtraaraChat;src:url('./assets/IBMPlexSans-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:ExtraaraChat;src:url('./assets/IBMPlexSans-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:ExtraaraChat;src:url('./assets/IBMPlexSans-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
:root{--ec-teal:#12615b;--ec-ink:#14212b;--ec-paper:#f3efe7;--ec-soft:#d9e5e2;--ec-muted:#52616b;--ec-line:#d8e0e2;--ec-error:#9d3524}

.ec-preview,.ec-widget,.ec-launcher{font-family:ExtraaraChat,'IBM Plex Sans',sans-serif;color:var(--ec-ink);font-size:16px;line-height:1.5;box-sizing:border-box}
.ec-preview *,.ec-widget *,.ec-launcher *{box-sizing:border-box}
.ec-preview{position:fixed;inset:0 0 auto;z-index:2147483001;min-height:64px;background:#fff;border-bottom:1px solid var(--ec-line);display:flex;align-items:center;gap:20px;padding:8px 24px}
.ec-preview-title{font-weight:600;font-size:14px;line-height:1.35;white-space:nowrap}.ec-preview-title small{display:block;color:var(--ec-muted);font-size:12px;font-weight:400;margin-top:2px}
.ec-preview-controls{display:flex;align-items:center;gap:12px;margin-left:auto}
.ec-preview label{font-size:13px;color:var(--ec-muted)}
.ec-preview select{font:inherit;font-size:14px;background:#fff;border:1px solid #9aa9ab;border-radius:4px;padding:8px 28px 8px 10px;color:var(--ec-ink);min-height:40px;max-width:170px}
.ec-preview button,.ec-preview a{font:inherit;font-size:13px;color:var(--ec-teal);background:none;border:0;padding:8px;cursor:pointer;min-height:40px;text-decoration:underline;text-underline-offset:4px}
.ec-preview a[aria-current]{color:var(--ec-ink);font-weight:600;text-decoration-thickness:2px}.ec-preview-languages{display:flex;gap:0}
.ec-widget{position:fixed;right:24px;bottom:92px;width:408px;height:auto;max-height:min(676px,calc(100dvh - 180px));background:#fff;box-shadow:0 14px 56px #14212b2b,0 4px 12px #14212b12;border-radius:12px;z-index:2147483000;overflow:hidden;display:flex;flex-direction:column;text-align:left;isolation:isolate}
.ec-widget[hidden],.ec-widget [hidden],.ec-preview [hidden]{display:none!important}
.ec-header{padding:22px 24px 18px;border-bottom:1px solid var(--ec-line);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;background:#fff}
.ec-logo{width:146px;height:38px;display:block}
.ec-icon-btn{padding:0;width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:var(--ec-muted);border-radius:4px;cursor:pointer;flex-shrink:0}
.ec-icon-btn:hover{background:var(--ec-paper);color:var(--ec-ink)}
.ec-widget svg,.ec-launcher svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ec-body{padding:25px 24px 24px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#a5bbb5 transparent}
.ec-status{display:flex;align-items:center;gap:8px;color:var(--ec-teal);font-size:13px;font-weight:500;margin:0 0 22px}
.ec-status::before{content:'';display:block;width:7px;height:7px;border-radius:50%;background:var(--ec-teal);flex-shrink:0}
.ec-status[data-available=false]{color:var(--ec-muted)}.ec-status[data-available=false]::before{background:transparent;border:1px solid var(--ec-muted)}
.ec-widget h2{font:600 27px/1.2 ExtraaraChat,sans-serif;letter-spacing:-.025em;margin:0 0 12px;max-width:22ch;text-wrap:balance;color:var(--ec-ink)}
.ec-widget p{font:400 15px/1.55 ExtraaraChat,sans-serif;margin:0 0 22px;color:var(--ec-muted)}
.ec-welcome{padding-bottom:8px}.ec-welcome h2{font-size:30px;max-width:18ch}.ec-welcome p{margin-bottom:30px;font-size:16px}
.ec-button{font:500 16px/1.4 ExtraaraChat,sans-serif;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;border:1px solid transparent;border-radius:5px;background:var(--ec-teal);color:#fff;padding:12px 16px;cursor:pointer;text-decoration:none}
.ec-button:hover{background:#0a4b46}.ec-button:disabled{background:#e1e9e6;color:#52616b;cursor:wait}
.ec-secondary{background:#fff;border-color:#9fb3b0;color:var(--ec-teal)}.ec-secondary:hover{background:var(--ec-soft)}
.ec-text-button{font:400 14px/1.5 ExtraaraChat,sans-serif;background:none;border:0;color:var(--ec-teal);text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:10px 0;cursor:pointer;display:block;text-align:center;width:100%}
.ec-text-button:hover{text-decoration-thickness:2px}.ec-welcome .ec-text-button{margin-top:8px}
.ec-footer{padding:12px 24px;background:var(--ec-paper);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;min-height:46px}
.ec-footer span{font-size:12px;color:var(--ec-muted)}.ec-footer a{font-size:12px;line-height:1.5;color:var(--ec-teal);text-decoration:underline;text-underline-offset:3px;padding:3px 0}
.ec-launcher{position:fixed;right:24px;bottom:24px;display:flex;align-items:center;gap:12px;z-index:2147483000;border:0;border-radius:6px;background:var(--ec-teal);color:#fff;min-height:52px;padding:14px 20px;cursor:pointer;box-shadow:0 5px 18px #14212b1f;font-weight:500;font-size:16px}
.ec-launcher:hover{background:#0a4b46}.ec-launcher .ec-live-dot{width:7px;height:7px;border-radius:50%;background:#c8e6d4;display:inline-block}
.ec-field{display:block;margin-bottom:17px}.ec-label{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:500;margin-bottom:7px}.ec-counter{font-size:12px;font-weight:400;color:var(--ec-muted);font-variant-numeric:tabular-nums}
.ec-widget input,.ec-widget textarea{display:block;width:100%;font:400 16px/1.5 ExtraaraChat,sans-serif;color:var(--ec-ink);border:1px solid #899b9d;border-radius:4px;padding:10px 12px;background:#fff;box-shadow:none;caret-color:var(--ec-teal)}
.ec-widget textarea{resize:vertical;min-height:110px;max-height:180px}.ec-widget input::placeholder,.ec-widget textarea::placeholder{color:#66777c;opacity:1}
.ec-widget :is(input,textarea):focus{outline:2px solid var(--ec-teal);outline-offset:2px;border-color:var(--ec-teal)}
.ec-widget [aria-invalid=true]{border-color:var(--ec-error)}
.ec-widget .ec-error-text{font-size:13px;line-height:1.45;color:var(--ec-error);margin:6px 0 0}
.ec-widget .ec-help{font-size:12px;line-height:1.5;margin:14px 0 0;color:var(--ec-muted)}
.ec-widget .ec-draft-note{font-size:13px;color:var(--ec-teal);margin-bottom:16px}
.ec-error-banner{background:#fcf0ec;padding:14px;margin-bottom:18px;border-radius:4px;font-size:14px;color:#7f2b1d}.ec-error-banner strong{display:block;margin-bottom:4px}
.ec-conversation-top{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.ec-monogram{width:38px;height:38px;background:var(--ec-soft);color:var(--ec-teal);border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:600;flex-shrink:0}
.ec-person{font-size:15px;font-weight:500}.ec-person small{display:block;font-size:12px;font-weight:400;color:var(--ec-teal)}
.ec-messages{display:flex;flex-direction:column;gap:14px;min-height:180px;max-height:272px;overflow:auto;overscroll-behavior:contain;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:#a5bbb5 transparent}
.ec-bubble{max-width:90%;padding:12px 15px;background:var(--ec-paper);border-radius:2px 12px 12px 12px;color:var(--ec-ink);font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start}
.ec-bubble[data-from=visitor]{align-self:flex-end;background:var(--ec-teal);color:#fff;border-radius:12px 2px 12px 12px}
.ec-bubble small{display:block;font-size:11px;line-height:1.4;margin-top:5px;color:#d9e5e2}.ec-bubble small[data-unsent=true]{color:#fff;text-decoration:underline;text-underline-offset:3px}
.ec-composer{border-top:1px solid var(--ec-line);padding-top:14px;margin-top:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.ec-composer label{grid-column:1/-1;font-size:13px;font-weight:500}.ec-composer textarea{resize:none;min-height:72px;height:72px;max-height:120px;grid-column:1;line-height:1.45}
.ec-composer button{width:46px;height:46px;min-height:46px;padding:0;margin-bottom:1px}
.ec-conversation-actions{display:flex;justify-content:space-between;gap:16px;margin-top:8px}.ec-conversation-actions .ec-text-button{font-size:12px;width:auto;text-align:left}
.ec-loader{width:32px;height:32px;border:2px solid var(--ec-soft);border-top-color:var(--ec-teal);border-radius:50%;margin:5px 0 24px;animation:ec-spin 1s linear infinite}
.ec-widget .ec-wait-hint{font-size:13px;margin:24px 0 0}
.ec-check{color:var(--ec-teal);margin:4px 0 22px;width:36px!important;height:36px!important}
.ec-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:is(.ec-preview,.ec-widget,.ec-launcher) :focus-visible,.ec-launcher:focus-visible{outline:3px solid var(--ec-teal);outline-offset:4px}.ec-launcher:focus-visible{outline-color:var(--ec-ink)}
:is(.ec-widget,.ec-preview) ::selection{background:var(--ec-soft);color:var(--ec-ink)}
@keyframes ec-enter{from{transform:translateY(7px)}to{transform:translateY(0)}}@keyframes ec-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.ec-preview{height:110px;flex-wrap:wrap;gap:3px 12px;padding:8px 14px;align-content:center}.ec-preview-title{flex:1;font-size:13px}.ec-preview-title small{font-size:11px}.ec-preview-controls{margin:0;flex:1 0 100%;gap:6px}.ec-preview-controls label{display:none}.ec-preview select{max-width:145px;font-size:13px;min-height:36px;padding-top:5px;padding-bottom:5px}.ec-preview-controls button{font-size:12px;padding:5px;min-height:36px}.ec-preview-languages{margin-left:auto}.ec-preview-languages a{font-size:12px;min-height:36px}.ec-widget{right:12px;bottom:82px;width:min(408px,calc(100vw - 24px));max-height:calc(100dvh - 204px);border-radius:12px}.ec-header{padding:14px 18px 12px}.ec-logo{width:134px;height:35px}.ec-body{padding:20px 18px}.ec-widget h2{font-size:25px}.ec-status{margin-bottom:18px}.ec-welcome p{margin-bottom:24px}.ec-launcher{right:12px;bottom:16px;min-height:50px;padding:12px 17px}.ec-footer{padding:10px 18px}.ec-widget textarea{min-height:88px}.ec-field{margin-bottom:14px}.ec-messages{min-height:120px;max-height:200px}.ec-conversation-top{margin-bottom:14px}.ec-composer textarea{min-height:60px;height:60px}}
@media(max-height:650px){.ec-widget{bottom:76px;max-height:calc(100dvh - 154px)}.ec-messages{min-height:80px;max-height:130px}.ec-header{padding-top:10px;padding-bottom:10px}.ec-body{padding-top:16px;padding-bottom:16px}}
@media(prefers-reduced-motion:reduce){.ec-widget,.ec-loader{animation:none}}
.ec-launcher{min-height:44px;padding:9px 14px;gap:9px;background:#faf8f4;color:var(--ec-teal);border:1px solid #a5b8b2;border-radius:7px;box-shadow:none;font-size:14px;font-weight:500;right:24px;bottom:24px;transition:background .15s,color .15s,border-color .15s}
.ec-launcher:hover{background:var(--ec-soft);color:#0a4b46;border-color:var(--ec-teal)}
.ec-launcher svg{width:19px;height:19px}.ec-launcher[hidden]{display:none!important}
.ec-widget{right:24px;bottom:24px;width:380px;max-height:calc(100dvh - 64px);box-shadow:0 10px 36px #14212b24;border-radius:12px;transform-origin:bottom right}
.ec-header{padding:16px 20px 12px;gap:12px;background:#faf8f4;align-items:center}
.ec-identity{display:grid;gap:6px}.ec-logo{width:120px;height:31px}
.ec-header-status .ec-status{margin:0;font-size:12px;line-height:1.4;gap:6px}.ec-status::before{width:5px;height:5px}
.ec-identity{min-width:0}.ec-agent{display:flex;align-items:center;gap:10px;min-width:0;margin-top:4px}
.ec-agent-avatar{display:block;width:32px;height:32px;flex-shrink:0;border-radius:50%;object-fit:cover;background:var(--ec-soft)}
.ec-agent .ec-status{min-width:0;overflow-wrap:anywhere}
.ec-icon-btn{width:36px;height:36px;min-height:36px}.ec-icon-btn svg{width:18px;height:18px}
.ec-body{padding:20px;scrollbar-gutter:stable}
.ec-widget h2,.ec-welcome h2{font-size:23px;line-height:1.25;letter-spacing:-.018em;margin-bottom:18px;max-width:25ch}
.ec-widget p{font-size:14px;line-height:1.55;margin-bottom:18px}
.ec-welcome{padding:2px 0 0}.ec-welcome h2{margin-bottom:20px}.ec-welcome .ec-text-button{margin-top:4px}
.ec-button{font-size:15px;min-height:46px;padding:11px 14px;transition:background .15s,color .15s}
.ec-button svg{width:19px;height:19px;transition:transform .18s cubic-bezier(.16,1,.3,1)}.ec-button:hover svg{transform:translateX(3px)}
.ec-composer .ec-button:hover svg{transform:translateY(-2px)}
.ec-text-button{font-size:13px;min-height:40px;padding:9px 0}
.ec-footer{padding:3px 20px 12px;background:#fff;min-height:32px;justify-content:flex-end}.ec-footer a{font-size:11px;min-height:24px;display:inline-flex;align-items:center}
.ec-field{margin-bottom:14px}.ec-label{font-size:13px}.ec-widget textarea{min-height:96px}
.ec-widget .ec-help{font-size:11px;margin-top:12px}.ec-widget .ec-draft-note{font-size:12px}
.ec-messages{min-height:180px;max-height:270px;gap:12px}.ec-bubble{font-size:14px;padding:11px 13px}.ec-composer{margin-top:4px}
.ec-composer textarea{min-height:66px;height:66px}.ec-composer button{min-height:44px;width:44px;height:44px}
.ec-conversation-actions{gap:12px}.ec-conversation-actions .ec-text-button{font-size:11px}
.ec-loader{width:24px;height:24px;margin:2px 0 20px}.ec-check{width:30px!important;height:30px!important;margin-bottom:18px}
.ec-preview{inset:auto auto 12px 16px;display:block;min-height:0;height:auto;padding:0;border:0;border-radius:4px;background:#faf8f4;color:var(--ec-muted);font-size:11px;max-width:190px;z-index:2147483001}
.ec-preview summary{cursor:pointer;list-style:none;padding:7px 10px;line-height:1.4;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
.ec-preview summary::-webkit-details-marker{display:none}.ec-preview summary span{font-size:11px;font-weight:500;color:var(--ec-muted)}.ec-preview summary small{font-size:10px;color:var(--ec-muted)}
.ec-preview[open] summary{background:var(--ec-soft);border-radius:4px;color:var(--ec-ink)}
.ec-preview-drawer{position:absolute;bottom:calc(100% + 8px);left:0;width:310px;max-width:calc(100vw - 32px);padding:16px;background:#fff;border:1px solid #a5b8b2;border-radius:8px}
.ec-preview-drawer p{font-size:12px;margin:10px 0 12px;color:var(--ec-muted)}
.ec-preview-controls{display:grid;grid-template-columns:1fr;gap:8px;margin:0;flex:none}.ec-preview-controls label{display:block;font-size:12px}
.ec-preview-controls select{max-width:none;width:100%;font-size:13px;min-height:38px}.ec-preview-controls button{padding:5px 0;min-height:30px;font-size:12px;text-align:left}
.ec-preview-languages{display:flex;margin:0;gap:12px}.ec-preview-languages a{padding:2px 0;min-height:30px;font-size:12px}
.ec-preview summary:focus-visible{outline:2px solid var(--ec-teal);outline-offset:3px}
@media(max-width:760px){
 .ec-launcher{right:12px;bottom:max(16px,env(safe-area-inset-bottom));padding:9px 12px;min-height:44px;font-size:13px}
 .ec-widget{right:12px;bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-height:calc(100dvh - 64px)}
 .ec-header{padding:14px 18px 11px}.ec-body{padding:18px}.ec-widget h2,.ec-welcome h2{font-size:22px}.ec-logo{width:112px;height:29px}
 .ec-widget textarea{min-height:90px}.ec-composer textarea{min-height:64px;height:64px}.ec-messages{min-height:150px;max-height:230px}
 .ec-footer{padding:2px 18px 10px}.ec-preview{left:12px;bottom:17px;max-width:190px}.ec-preview summary{padding:5px 7px;gap:1px 6px;max-width:176px}
 .ec-chat-open .ec-preview{top:8px;bottom:auto}.ec-chat-open .ec-preview-drawer{top:calc(100% + 8px);bottom:auto}
}
@media(prefers-reduced-motion:reduce){.ec-button,.ec-button svg,.ec-launcher{transition:none}.ec-button:hover svg{transform:none}}
html[data-ep-motion=off] :is(.ec-launcher,.ec-button,.ec-button svg){transition:none}
html[data-ep-motion=off] .ec-button:hover svg{transform:none}
html[data-ep-motion=off] .ec-loader{animation:none}
.ec-topics{display:grid;gap:0;border-top:1px solid var(--ec-line);margin:6px 0 8px}
.ec-topic{font:500 15px/1.4 ExtraaraChat,sans-serif;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:51px;padding:13px 0;color:var(--ec-teal);background:transparent;border:0;border-bottom:1px solid var(--ec-line);cursor:pointer}
.ec-topic:hover{color:#0a4b46;background:#f5f8f6}.ec-topic svg{width:17px;height:17px;transition:transform .18s cubic-bezier(.16,1,.3,1)}.ec-topic:hover svg{transform:translateX(3px)}
.ec-back,.ec-add-note{font:400 13px/1.45 ExtraaraChat,sans-serif;cursor:pointer;background:none;border:0;color:var(--ec-teal);text-align:left;min-height:32px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}
.ec-back{margin:-6px 0 8px;display:flex;align-items:center;gap:7px}.ec-back svg{order:-1;width:15px;height:15px;transform:rotate(180deg)}.ec-add-note{margin:0 0 16px}
.ec-widget .ec-reply-intro{margin-top:-8px;margin-bottom:18px;font-size:13px}
.ec-widget select{font:400 15px/1.4 ExtraaraChat,sans-serif;width:100%;min-height:44px;color:var(--ec-ink);background:#fff;border:1px solid #899b9d;border-radius:4px;padding:10px 12px;appearance:auto}
.ec-widget select:focus{outline:2px solid var(--ec-teal);outline-offset:2px;border-color:var(--ec-teal)}
.ec-widget #ec-question{height:76px;min-height:76px;max-height:150px;resize:vertical}
.ec-input-help{font-size:12px;color:var(--ec-muted);display:block;margin-top:5px}
.ec-inquiry-summary{display:grid;gap:4px;padding:2px 0;margin:4px 0 24px;font-size:14px}.ec-inquiry-summary span{color:var(--ec-muted)}
html[data-ep-motion=off] .ec-topic svg{transition:none}html[data-ep-motion=off] .ec-topic:hover svg{transform:none}
@media(prefers-reduced-motion:reduce){.ec-topic svg{transition:none}.ec-topic:hover svg{transform:none}}

.ec-footer[data-form=true]{display:grid;gap:7px;background:#faf8f4;border-top:1px solid var(--ec-line);padding:12px 20px 9px;justify-content:stretch}.ec-footer[data-form=true] a{justify-self:end}
@media(max-width:760px){.ec-footer[data-form=true]{padding:10px 18px 7px;gap:5px}}
.ec-bubble .ec-automatic{font-size:11px;font-weight:500;line-height:1.4;color:var(--ec-muted);margin:0 0 5px;white-space:normal}
.ec-bubble[data-from=system]{background:var(--ec-paper)}
.ec-header-status .ec-status{max-width:30ch}
.ec-composer{grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:end;padding-top:12px}
.ec-composer #ec-compose{min-height:44px;height:44px;max-height:128px;resize:none;line-height:1.4;padding:10px 12px;overflow-y:hidden}
.ec-composer .ec-button{align-self:end;margin:0;width:44px;height:44px;min-height:44px}
.ec-conversation-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;margin-top:8px}
.ec-conversation-actions .ec-text-button{font-size:12px;min-height:44px;line-height:1.45;padding:11px 0;text-align:left}
.ec-conversation-actions [data-action=end]{color:var(--ec-muted);white-space:nowrap}
.ec-conversation-actions [data-action=end]:hover{color:var(--ec-ink)}
.ec-footer:not([data-form=true]){justify-content:center;padding-top:0}
.ec-bubble[data-from=visitor] small{font-size:11px;line-height:1.4;color:#d9e5e2}
.ec-messages{padding-top:16px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12px);mask-image:linear-gradient(to bottom,transparent,#000 12px)}
.ec-conversation-actions [data-action=end],.ec-footer a{text-decoration:none}
.ec-conversation-actions [data-action=end]:is(:hover,:focus-visible),.ec-footer a:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:3px}
