.hc-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:24px;align-items:start}.hc-thread{min-width:0;overflow:hidden;padding:0}.hc-thread-head{display:flex;gap:14px;align-items:center;padding:20px 24px;border-bottom:1px solid #dce5e1}.hc-thread-head>.material-symbols-rounded{color:#176b4d;background:#e2f1eb;border-radius:14px;padding:12px}.hc-thread-head p,.hc-control p{color:#697a73;font-size:14px;line-height:1.6;margin:5px 0 0}.hc-transcript{height:clamp(300px,48vh,610px);overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:18px;overscroll-behavior:contain}.hc-message{max-width:88%;align-self:flex-start;background:#f0f4f2;border-radius:4px 16px 16px;padding:14px 16px;overflow-wrap:anywhere}.hc-message.host{align-self:flex-end;background:#e2f1eb;border-radius:16px 4px 16px 16px}.hc-message.system{align-self:center;max-width:100%;background:none;text-align:center;color:#73817b;font-size:12px;padding:4px}.hc-message-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;font-size:12px;margin-bottom:7px;color:#53665d}.hc-message-head time{font-variant-numeric:tabular-nums}.hc-message-body{white-space:pre-wrap;line-height:1.6;font-size:15px;margin:0}.hc-message details{font-size:13px;margin-top:10px;color:#53665d}.hc-message summary{cursor:pointer}.hc-message details p{white-space:pre-wrap;margin:7px 0 0}.hc-delivery{display:block;font-size:11px;margin-top:9px;color:#64756e}.hc-warning{color:#934a27;background:#fff0df;border-radius:9px;padding:8px 10px;font-size:12px;line-height:1.5;margin-top:9px}.hc-message-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.hc-message-actions button{border:1px solid #cedad4;background:white;color:#176b4d;border-radius:8px;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}.hc-compose{padding:20px 24px;border-top:1px solid #dce5e1}.hc-compose>label{display:block;font-weight:600;margin-bottom:9px;font-size:14px}.hc-compose textarea{width:100%;box-sizing:border-box;border:1px solid #cfdcd5;border-radius:12px;background:#fbfcfb;padding:14px;font:inherit;resize:vertical;min-height:95px}.hc-compose-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:12px}.hc-compose-footer p{font-size:12px;color:#697a73;line-height:1.5;margin:0;max-width:36ch}.hc-compose-footer .btn{flex-shrink:0}.hc-sidebar{display:grid;gap:18px;min-width:0}.hc-control{padding:22px}.hc-control h2{font-size:19px;line-height:1.3;margin:10px 0}.hc-kicker{color:#176b4d;font-size:11px;font-weight:700;letter-spacing:.05em}.hc-actions{display:grid;gap:8px;margin:18px 0}.hc-language-label{display:block;font-size:13px;font-weight:600;margin:20px 0 8px}.hc-control select{width:100%;max-width:100%}.hc-note{font-size:12px!important;line-height:1.6;color:#73817b;margin-top:12px}.hc-state{display:inline-flex;padding:8px 12px;border-radius:10px;background:#e2f1eb;color:#176b4d;font-size:13px;font-weight:600}.hc-state[data-state=waiting]{background:#fff0df;color:#934a27}.hc-error{background:#fff0ec;border:1px solid #e4b8a8;color:#973f2e;padding:14px;border-radius:12px;font-size:14px;line-height:1.5}.hc-empty{text-align:center;color:#73817b;margin:auto}.hc-inbox-notice{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;align-items:center;gap:10px;background:#176b4d;color:white;padding:14px 20px;border-radius:14px;box-shadow:0 8px 30px #173e2d26;text-decoration:none;font-size:14px}.hc-inbox-notice[hidden],.hc-workspace [hidden]{display:none!important}.hc-workspace button:disabled{opacity:.5;cursor:not-allowed}.hc-workspace :is(button,textarea,select,summary):focus-visible{outline:3px solid #75b499;outline-offset:3px}
.guest-host-bar{padding:0 0 12px;border-bottom:1px solid var(--guest-line);margin-bottom:12px;flex-shrink:0}.guest-host-state{width:max-content;max-width:100%;min-height:30px;margin:0 0 8px!important;padding:5px 10px;border-radius:999px;background:var(--guest-soft);color:var(--guest-accent)!important;display:inline-flex;align-items:center;gap:7px;font-size:11px!important;font-weight:750;line-height:1.2!important}.guest-host-state>span{width:7px;height:7px;border-radius:50%;background:currentColor}.guest-host-state[data-state=waiting]{background:#fff2dc;color:#85591f!important}.guest-host-state[data-state=closed]{background:#edf1ef;color:#607068!important}.guest-host-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:1px 2px 3px;scrollbar-width:none;overscroll-behavior-inline:contain}.guest-host-actions::-webkit-scrollbar{display:none}.guest-host-action{flex:0 0 auto;min-height:42px;padding:0 13px;border:1px solid color-mix(in srgb,var(--guest-accent) 28%,var(--guest-line));border-radius:13px;background:var(--guest-surface);color:var(--guest-accent);font:inherit;font-size:12px;font-weight:750;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:transform .16s ease,border-color .18s ease,background-color .18s ease}.guest-host-action .material-symbols-rounded{font-size:18px}.guest-host-action.is-primary{background:var(--guest-accent);border-color:var(--guest-accent);color:#fff}.guest-host-action:hover{border-color:var(--guest-accent)}.guest-host-action:active{transform:scale(.98)}.guest-host-action:disabled{opacity:.5;cursor:default}.guest-host-call{margin:0;box-sizing:border-box}.guest-host-feedback,.guest-host-error,.guest-host-bar [data-guest-host-wait]{font-size:11px;line-height:1.45;margin:8px 2px 0}.guest-host-feedback{color:var(--guest-muted)}.guest-host-error{color:#973f2e!important}.guest-host-bar [data-guest-host-wait]{background:#fff3e3;border:1px solid #e9d5b5;border-radius:10px;padding:8px 10px;color:#79502a}.guest-host-bar [hidden]{display:none!important}.guest-bubble.host{background:#e0f1e8;border:1px solid #bfd8ca;align-self:flex-start}.guest-bubble.system{background:transparent;color:#68796f;font-size:12px;text-align:center;align-self:center}.guest-bubble .hc-message-body{font:inherit;line-height:inherit}.guest-bubble .hc-message-head{font-size:11px}.guest-bubble details{font-size:11px;margin-top:8px}.guest-bubble details p{white-space:pre-wrap}.guest-host-bar :is(button,select,a):focus-visible{outline:3px solid #75b499;outline-offset:2px}
@media(max-width:1000px){.hc-workspace{grid-template-columns:minmax(0,1fr)}.hc-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));grid-row:1}.hc-control h2{font-size:17px}.hc-transcript{height:420px}}
@media(max-width:600px){.hc-sidebar{grid-template-columns:1fr}.hc-sidebar>.hc-control:nth-child(2){display:none}.hc-control{padding:18px}.hc-control h2{margin:7px 0}.hc-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-actions button:first-child{grid-column:1/-1}.hc-thread-head,.hc-compose,.hc-transcript{padding:16px}.hc-compose-footer{align-items:stretch;flex-direction:column;gap:10px}.hc-message{max-width:96%}.hc-inbox-notice{bottom:14px;right:14px;left:14px;justify-content:center}.hc-state{margin-top:8px}}
[data-guest-view="chat"] .guest-replies[hidden],[data-guest-view="chat"] .guest-agent-status[hidden]{display:none!important}
.guest-chat-view.has-host-chat{display:flex;flex-direction:column;height:calc(100dvh - 190px);min-height:540px;padding-top:18px;padding-bottom:0}
.has-host-chat .guest-view-head{margin-bottom:10px;flex-shrink:0}
.has-host-chat .guest-view-head h2{font-size:clamp(1.55rem,3vw,2rem);line-height:1.18;letter-spacing:-.04em}
.has-host-chat .guest-view-head p{font-size:13px;margin-top:6px}
.has-host-chat .guest-view-avatar{width:44px;height:44px;font-size:24px}
.has-host-chat .guest-host-bar{margin-bottom:10px}
.guest-chat-view.has-host-chat .guest-chat{height:auto;min-height:160px;flex:1;overflow:hidden;padding:0;background:transparent}
.guest-chat-view.has-host-chat .guest-messages{flex:1;min-height:0;max-height:none;overflow-y:auto}
.has-host-chat .guest-compose,.has-host-chat .guest-replies{flex-shrink:0}.has-host-chat .guest-chat-note{display:none}
@media(max-width:620px){.guest-chat-view.has-host-chat{height:calc(100dvh - 172px - env(safe-area-inset-bottom));min-height:450px;padding-top:10px}.has-host-chat .guest-view-head{margin-bottom:8px}.has-host-chat .guest-view-head p:last-child{display:none}.has-host-chat .guest-host-action{min-height:40px;padding:0 12px}.has-host-chat .guest-host-state{margin-bottom:6px!important}}
@media(prefers-color-scheme:dark){.guest-host-action{background:var(--guest-surface)}.guest-host-action.is-primary{background:var(--guest-accent)}.guest-host-state[data-state=waiting]{background:#473a24;color:#f3d89c!important}.guest-host-bar [data-guest-host-wait]{background:#3b3122;border-color:#5d4b2d;color:#f1d69b}}
