:root{--lc-base-color: #2f9df4;--lc-agent-bubble-color: #ffffff;--lc-agent-bubble-text: #344054;--lc-customer-bubble-color: #2f9df4;--lc-customer-bubble-text: #ffffff;--lc-chat-background: #f8fafc;--dc-radius: 14px;--dc-max-width: 960px}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#eef2f6;color:#1f2937;-webkit-font-smoothing:antialiased}.dc-shell{display:flex;align-items:stretch;justify-content:center;height:100vh;height:100dvh;background:var(--lc-chat-background)}.dc-shell--desktop{padding:24px;background:linear-gradient(135deg,var(--lc-base-color) 0%,#dbeafe 100%)}.dc-shell__frame{display:flex;flex-direction:column;width:100%;max-width:var(--dc-max-width);background:var(--lc-chat-background);overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px)}.dc-shell--desktop .dc-shell__frame{height:100%;border-radius:18px;box-shadow:0 12px 40px #0f172a2e}.dc-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--lc-base-color);color:#fff;flex-shrink:0;padding-top:calc(12px + env(safe-area-inset-top,0px))}.dc-header__identity{display:flex;align-items:center;gap:10px;min-width:0}.dc-header__avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#ffffff40}.dc-header__avatar--fallback{display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase}.dc-header__meta{display:flex;flex-direction:column;line-height:1.2;min-width:0}.dc-header__name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-header__status{font-size:12px;opacity:.85}.dc-header__status.is-online:before{content:"● ";color:#4ade80}.dc-header__mute{background:transparent;border:0;font-size:20px;cursor:pointer;padding:6px;border-radius:8px}.dc-header__mute.is-muted{opacity:.55}.dc-transcript{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}.dc-transcript__empty{margin:auto;text-align:center;color:#94a3b8;padding:24px}.dc-transcript__loadmore{text-align:center}.dc-transcript__reconnect{text-align:center;color:#b45309;font-size:12px;padding:6px}.dc-msg{display:flex;flex-wrap:wrap}.dc-msg--agent{justify-content:flex-start}.dc-msg--customer{justify-content:flex-end}.dc-msg__bubble{max-width:78%;padding:10px 12px;border-radius:var(--dc-radius);font-size:14.5px;line-height:1.45;overflow-wrap:break-word;word-break:break-word}.dc-msg--agent .dc-msg__bubble{background:var(--lc-agent-bubble-color);color:var(--lc-agent-bubble-text);border-bottom-left-radius:4px;box-shadow:0 1px 2px #0f172a14}.dc-msg--customer .dc-msg__bubble{background:var(--lc-customer-bubble-color);color:var(--lc-customer-bubble-text);border-bottom-right-radius:4px}.dc-msg__text{margin:0;white-space:pre-wrap}.dc-msg__meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:4px;font-size:11px;color:inherit}.dc-msg__time{opacity:.75}.dc-msg__error{flex-basis:100%;margin:2px 4px 0;font-size:11px;line-height:1.35;color:#b91c1c;text-align:right;overflow-wrap:anywhere}.dc-media__img{max-width:260px;max-height:320px;border-radius:8px;display:block}.dc-zoom{display:block;padding:0;border:0;background:none;cursor:zoom-in}.dc-lightbox{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#0f172af0}.dc-lightbox::backdrop{background:#0f172af0}.dc-lightbox__surface{display:flex;flex-direction:column;gap:10px;width:100%;height:100%;padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px));border:0;background:none;color:#fff;font:inherit;cursor:zoom-out}.dc-lightbox__img{flex:1;width:100%;min-height:0;object-fit:contain}.dc-lightbox__caption{max-height:25%;overflow-y:auto;font-size:14px;text-align:center;overflow-wrap:anywhere}.dc-lightbox__close{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px;width:44px;height:44px;border:0;border-radius:50%;background:#0f172ab3;color:#fff;font-size:18px;cursor:pointer}.dc-media__video{max-width:260px;border-radius:8px}.dc-media__audio{width:220px}.dc-media__caption{margin:6px 0 0;font-size:13px}.dc-media--doc{display:inline-flex;align-items:center;gap:6px;max-width:100%;font-weight:600;text-decoration:none;color:inherit}.dc-doc__name{min-width:0;overflow-wrap:anywhere}.dc-msg__location{color:inherit;text-decoration:underline}.dc-msg__pending{font-style:italic;opacity:.8}.dc-tpl__header{font-weight:700;margin:0 0 4px}.dc-tpl__body{margin:0;white-space:pre-wrap}.dc-tpl__footer-text{margin:8px 0 6px;font-size:12.5px}.dc-tpl__img{max-width:240px;border-radius:8px;display:block;margin-bottom:6px}.dc-status{display:inline-flex;font-size:12px;opacity:.75}.dc-status--pending{opacity:.6}.dc-status--read{opacity:1;color:#7dd3fc;font-weight:600;text-shadow:0 0 1px rgba(2,6,23,.55)}.dc-status--failed .dc-status__retry{border:0;background:transparent;cursor:pointer;color:inherit;font-size:13px}.dc-composer{border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}.dc-composer__draft{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.dc-composer__draft-name{flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-composer__draft-x{border:0;background:transparent;cursor:pointer;font-size:14px;color:#64748b}.dc-composer__row{display:flex;align-items:center;gap:8px;padding:10px 12px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.dc-composer__input{flex:1;resize:none;border:1px solid #e2e8f0;border-radius:20px;padding:9px 14px;font:inherit;font-size:14.5px;max-height:120px;min-height:40px;outline:none;background:#f8fafc}.dc-composer__input:focus{border-color:var(--lc-base-color);background:#fff}.dc-composer__right{display:flex;align-items:center;gap:6px}.dc-composer__counter{font-size:11px;color:#94a3b8}.dc-composer__notready{font-size:11px;color:#94a3b8;margin-right:6px;animation:dc-blink 1.2s ease-in-out infinite}@keyframes dc-blink{0%,to{opacity:1}50%{opacity:.35}}.dc-composer__error{padding:4px 14px 8px;font-size:12px;color:#dc2626}.dc-icon-btn{border:0;background:transparent;font-size:20px;cursor:pointer;padding:4px;border-radius:8px}.dc-btn{border:0;border-radius:10px;padding:9px 16px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.dc-btn--primary{background:var(--lc-base-color);color:#fff}.dc-btn--primary:disabled{opacity:.5;cursor:not-allowed}.dc-btn--ghost{background:#e2e8f0;color:#334155;font-size:12.5px}.dc-btn--reply{display:block;width:100%;margin-top:6px;background:var(--lc-base-color);color:#fff;border-radius:8px}.dc-btn--cta{display:block;width:100%;margin-top:6px;background:transparent;border:1.5px solid var(--lc-base-color);color:var(--lc-base-color);border-radius:8px}.dc-composer__send{width:40px;height:40px;padding:0;border-radius:50%;font-size:16px}.dc-prechat{flex:1;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:24px 16px}.dc-shell--mobile .dc-prechat{padding-top:40px}.dc-prechat__card{width:100%;max-width:460px;background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 20px #0f172a14}.dc-prechat__title{margin:0 0 4px;font-size:18px}.dc-prechat__subtitle{margin:0 0 18px;color:#64748b;font-size:14px}.dc-prechat__field{margin-bottom:14px}.dc-prechat__label{display:block;font-size:13.5px;font-weight:600;margin-bottom:6px}.dc-prechat__required{color:#dc2626}.dc-prechat__input{width:100%;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;font:inherit;font-size:14.5px;background:#f8fafc}.dc-prechat__input:focus{outline:none;border-color:var(--lc-base-color);background:#fff}.dc-prechat__options{display:flex;flex-direction:column;gap:8px}.dc-prechat__option{display:flex;align-items:center;gap:8px;font-size:14.5px}.dc-prechat__counter{float:right;font-size:11px;color:#94a3b8;margin-top:4px}.dc-prechat__error{display:block;color:#dc2626;font-size:12.5px;margin-top:4px}.dc-prechat__submit{width:100%;margin-top:8px}.dc-booting{height:100vh;height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#64748b;font-size:14px}.dc-booting__spinner{width:34px;height:34px;border:3px solid #e2e8f0;border-top-color:var(--lc-base-color);border-radius:50%;animation:dc-spin .8s linear infinite}@keyframes dc-spin{to{transform:rotate(360deg)}}.dc-error{flex:1;display:flex;align-items:center;justify-content:center;padding:24px}.dc-error__card{text-align:center;max-width:360px;background:#fff;border-radius:16px;padding:32px 24px;box-shadow:0 4px 20px #0f172a14}.dc-error__icon{font-size:44px}.dc-error__title{margin:10px 0 6px;font-size:18px}.dc-error__body{margin:0 0 18px;color:#64748b;font-size:14px}.dc-toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translate(-50%);width:max-content;display:flex;align-items:flex-start;gap:10px;background:#1e293b;color:#fff;padding:10px 12px 10px 16px;border-radius:12px;font-size:13.5px;line-height:1.4;max-width:min(calc(100vw - 24px),520px);z-index:1000;box-shadow:0 8px 24px #0f172a4d;animation:dc-toast-in .2s ease-out}.dc-toast--error{background:#b91c1c}.dc-toast__msg{overflow-wrap:anywhere}.dc-toast__close{flex:0 0 auto;border:0;background:transparent;color:inherit;font-size:12px;line-height:1;padding:2px 4px;cursor:pointer;opacity:.85}.dc-toast__close:hover{opacity:1}@keyframes dc-toast-in{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@media(max-width:767px){.dc-msg__bubble{max-width:85%}}
