.customer-chat-launch{position:fixed;right:20px;bottom:calc(100px + env(safe-area-inset-bottom,0px));z-index:1050;display:inline-flex;align-items:center;gap:9px;padding:14px 19px;border:1px solid #ffffff80;border-radius:50px;background:#235e57;color:#fff!important;font:600 14px/1.2 system-ui,sans-serif;text-decoration:none;box-shadow:0 6px 24px #0003;min-height:50px;box-sizing:border-box}.customer-chat-launch:hover{background:#16483f}.customer-chat-launch:focus-visible,.customer-chat-header :focus-visible{outline:3px solid #dcaa51;outline-offset:3px}.customer-chat-window{position:fixed;inset:auto 20px calc(95px + env(safe-area-inset-bottom,0px)) auto;margin:0;padding:0;width:min(420px,calc(100vw - 24px));height:min(680px,calc(100dvh - 125px));max-width:none;max-height:none;overflow:hidden;border:1px solid #c3d4ce;border-radius:20px;background:#f5f8f7;color:#233c35;box-shadow:0 15px 70px #0004;font:14px/1.5 system-ui,sans-serif}.customer-chat-window[open]{display:flex;flex-direction:column}.customer-chat-window::backdrop{background:#112b2426}.customer-chat-window.is-expanded{inset:0;width:100vw;height:100dvh;border:0;border-radius:0}.customer-chat-header{display:flex;align-items:center;gap:6px;background:#235e57;color:#fff;padding:14px 12px;flex-shrink:0}.customer-chat-header>div{flex:1;min-width:0}.customer-chat-header strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.customer-chat-header small{display:block;font-size:11px;color:#d2e7df}.customer-chat-header button,.customer-chat-header>a{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;padding:0;border:1px solid #ffffff50;border-radius:10px;background:#ffffff12;color:#fff;cursor:pointer;text-decoration:none;font:24px/1 system-ui,sans-serif}.customer-chat-header button:hover,.customer-chat-header>a:hover{background:#ffffff28}.customer-chat-window iframe{width:100%;border:0;flex:1;min-height:0;background:#f5f8f7}.customer-chat-loading{margin:0;padding:12px;text-align:center;font-size:12px}.customer-chat-loading[hidden]{display:none}.customer-chat-signin{padding:30px;line-height:1.8}.customer-chat-signin h2{font:700 25px/1.3 system-ui,sans-serif}.customer-chat-signin a{display:inline-flex;padding:11px 18px;border-radius:10px;background:#235e57;color:#fff;text-decoration:none;font-weight:600}.customer-chat-embedded{margin:0;padding:15px;box-sizing:border-box;background:#f5f8f7;font:14px/1.5 system-ui,sans-serif;color:#243c35}.customer-chat-embedded *{box-sizing:border-box}.customer-chat-embedded .chat-title{margin:10px 0 16px;gap:8px}.customer-chat-embedded .chat-title h1{font-size:22px}.customer-chat-embedded .chat-title p{margin:5px 0}.customer-chat-embedded .chat-ticket{padding:12px}.customer-chat-embedded .chat-transcript{padding:10px}.customer-chat-embedded .chat-message{min-width:0;max-width:94%}.customer-chat-embedded .chat-new{padding:14px}.customer-chat-embedded .chat-workspace{padding-bottom:12px}.customer-chat-embedded nav[role=navigation]{display:flex;gap:8px;flex-wrap:wrap}.customer-chat-embedded nav svg{width:18px;height:18px}html:has(.customer-chat-window[open]){overflow:hidden}@media(max-width:480px){.customer-chat-launch{right:14px;padding:13px 16px;bottom:calc(94px + env(safe-area-inset-bottom,0px))}.customer-chat-window{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));height:min(620px,calc(100dvh - 110px));border-radius:16px}.customer-chat-header{padding:11px 10px}.customer-chat-header small{font-size:10px}}
.customer-chat-badge{position:fixed;right:14px;bottom:calc(140px + env(safe-area-inset-bottom,0px));z-index:1052;min-width:24px;height:24px;padding:2px 6px;box-sizing:border-box;border:2px solid #fff;border-radius:20px;background:#bc304d;color:#fff;font:700 12px/16px system-ui,sans-serif;text-align:center;pointer-events:none}.customer-chat-alert{position:fixed;right:20px;bottom:calc(165px + env(safe-area-inset-bottom,0px));z-index:1051;max-width:min(300px,calc(100vw - 40px));padding:12px 16px;border:1px solid #bbd4c9;border-radius:13px;background:#fff;color:#254e43;box-shadow:0 5px 25px #0002;font:600 13px/1.5 system-ui,sans-serif;text-align:left;cursor:pointer}.customer-chat-badge[hidden],.customer-chat-alert[hidden]{display:none!important}@media(max-width:480px){.customer-chat-badge{right:8px;bottom:calc(134px + env(safe-area-inset-bottom,0px))}.customer-chat-alert{right:14px;bottom:calc(158px + env(safe-area-inset-bottom,0px))}}
/* Shared theme tokens are copied into the isolated conversation document by its parent. */
[data-customer-chat]{--chat-primary:var(--c-primary,var(--brand,#235e57));--chat-on-primary:var(--c-on-primary,#fff);--chat-background:var(--c-background,var(--bg,#f5f8f7));--chat-surface:var(--c-surface,var(--card-bg,#fff));--chat-text:var(--c-text-on-surface,var(--text,#243c35));--chat-muted:var(--c-muted-on-surface,var(--muted,#64776e));--chat-border:var(--border,#c3d4ce);--chat-font:inherit}
.customer-chat-launch,.customer-chat-signin a{background:var(--chat-primary,#235e57);color:var(--chat-on-primary,#fff)!important;font-family:var(--chat-font,system-ui,sans-serif)}.customer-chat-launch:hover{background:color-mix(in srgb,var(--chat-primary,#235e57) 88%,#000)}.customer-chat-window,.customer-chat-window iframe{background:var(--chat-background,#f5f8f7);color:var(--chat-text,#243c35);border-color:var(--chat-border,#c3d4ce);font-family:var(--chat-font,system-ui,sans-serif)}.customer-chat-header{background:var(--chat-primary,#235e57);color:var(--chat-on-primary,#fff)}.customer-chat-header small{color:inherit;opacity:.85}.customer-chat-header button,.customer-chat-header>a{color:inherit;border-color:currentColor;background:transparent}.customer-chat-alert{background:var(--chat-surface,#fff);color:var(--chat-text,#243c35);border-color:var(--chat-border,#c3d4ce);font-family:var(--chat-font,system-ui,sans-serif)}.customer-chat-signin h2{font-family:inherit}.customer-chat-embedded{background:var(--chat-background,#f5f8f7);color:var(--chat-text,#243c35);font-family:var(--chat-font,system-ui,sans-serif)}
.customer-chat-embedded .chat-workspace,.customer-chat-embedded .chat-title h1,.customer-chat-embedded .chat-message p,.customer-chat-embedded .chat-message-meta strong{color:var(--chat-text,#243c35)}.customer-chat-embedded .chat-title p,.customer-chat-embedded .chat-hint,.customer-chat-embedded .chat-ticket p,.customer-chat-embedded .chat-ticket small,.customer-chat-embedded .chat-message-meta,.customer-chat-embedded .chat-retention-note,.customer-chat-embedded .chat-compose-help{color:var(--chat-muted,#64776e)}
.customer-chat-embedded .chat-ticket,.customer-chat-embedded .chat-new,.customer-chat-embedded .chat-empty,.customer-chat-embedded .chat-compose-shell,.customer-chat-embedded .chat-add-panel,.customer-chat-embedded .chat-message,.customer-chat-embedded .chat-tabs a,.customer-chat-embedded .chat-secondary,.customer-chat-embedded .chat-back,.customer-chat-embedded .chat-workspace input:not([type=hidden]),.customer-chat-embedded .chat-workspace textarea,.customer-chat-embedded .chat-workspace select{background:var(--chat-surface,#fff);color:var(--chat-text,#243c35);border-color:var(--chat-border,#c3d4ce)}
.customer-chat-embedded .chat-transcript{background:var(--chat-background,#f5f8f7);border-color:var(--chat-border,#c3d4ce)}.customer-chat-embedded .chat-message.is-mine,.customer-chat-embedded .chat-ticket.unread,.customer-chat-embedded .chat-reference,.customer-chat-embedded .chat-selection-chip,.customer-chat-embedded .chat-new-replies{background:color-mix(in srgb,var(--chat-primary,#235e57) 14%,var(--chat-surface,#fff));color:var(--chat-text,#243c35);border-color:var(--chat-border,#c3d4ce)}.customer-chat-embedded .chat-new summary,.customer-chat-embedded .chat-workspace label,.customer-chat-embedded .chat-add-menu summary,.customer-chat-embedded .chat-add-panel>button{color:var(--chat-text,#243c35)}.customer-chat-embedded .chat-send-plane,.customer-chat-embedded .chat-tabs a[aria-current],.customer-chat-embedded .chat-ticket-symbol{background:var(--chat-primary,#235e57);color:var(--chat-on-primary,#fff);border-color:var(--chat-primary,#235e57)}.customer-chat-embedded .chat-compose-shell textarea::placeholder{color:var(--chat-muted,#64776e)}.customer-chat-embedded .chat-add-panel>button:hover,.customer-chat-embedded .chat-add-menu[open] summary{background:color-mix(in srgb,var(--chat-primary,#235e57) 14%,var(--chat-surface,#fff))}
