.hg-chat-desk,.hg-chat-widget{--chat-brand:#d94812;--chat-line:#e4e6eb;--chat-ink:#20242b;--chat-muted:#6b7280;color:var(--chat-ink);font-family:inherit;font-size:14px;line-height:1.6}.hg-chat-desk *,.hg-chat-widget *{box-sizing:border-box}.hg-chat-desk button,.hg-chat-widget button{cursor:pointer;font:inherit;border:0;border-radius:8px;padding:8px 12px;background:#f2f3f5;color:inherit}.hg-chat-desk button:disabled,.hg-chat-widget button:disabled{opacity:.5;cursor:not-allowed}.hg-chat-desk a:focus-visible,.hg-chat-desk button:focus-visible,.hg-chat-widget a:focus-visible,.hg-chat-widget button:focus-visible{outline:2px solid var(--chat-brand);outline-offset:2px}.hg-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:70!important;background:var(--chat-brand)!important;color:white!important;border-radius:28px!important;box-shadow:0 6px 24px #24282f26;padding:12px 22px!important;font-weight:600!important}.hg-chat-invite{position:fixed;right:24px;bottom:86px;width:280px;padding:20px;background:#fff;border:1px solid var(--chat-line);border-radius:16px;box-shadow:0 10px 35px #2222;z-index:71}.hg-chat-invite>button:first-child{float:right;padding:0 7px;background:none}.hg-chat-invite p{margin:8px 0}.hg-chat-window{position:fixed;right:24px;bottom:84px;z-index:75;width:400px;height:min(700px,calc(100dvh - 112px));min-height:320px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--chat-line);border-radius:16px;box-shadow:0 16px 55px #17212c2e;overflow:hidden;outline:0}.hg-chat-conversation>header,.hg-chat-window>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px;border-bottom:1px solid var(--chat-line);background:#fff}.hg-chat-window>header strong{font-size:18px}.hg-chat-window header small{display:block;color:var(--chat-muted);font-size:12px}.hg-chat-window header small.is-online{color:#258144}.hg-chat-window header button{font-size:25px;padding:0 10px;background:none}.hg-chat-welcome{padding:12px 18px;background:#fff7f2;border-bottom:1px solid #fae2d5}.hg-chat-welcome small{color:#a84921}.hg-chat-welcome p{margin:4px 0;font-size:13px}.hg-chat-messages{flex:1;min-height:100px;overflow-y:auto;overscroll-behavior:contain;padding:16px;background:#f6f7f9}.hg-chat-message{margin:0 0 18px;max-width:90%;width:fit-content;overflow-wrap:anywhere}.hg-chat-message small{display:block;color:var(--chat-muted);font-size:11px;margin-bottom:5px}.hg-chat-message>div{white-space:pre-wrap;background:#fff;border:1px solid #e9ebef;padding:10px 13px;border-radius:4px 14px 14px 14px}.hg-chat-message.is-self{margin-left:auto}.hg-chat-message.is-self>div{background:#fff0e8;border-color:#ffd8c4;border-radius:14px 4px 14px 14px}.hg-chat-message.is-system{max-width:100%;margin:12px auto;text-align:center;font-size:12px;color:var(--chat-muted)}.hg-chat-message.is-system>div{background:transparent;border:0;padding:0}.hg-chat-message img{max-width:100%;max-height:240px;display:block;border-radius:6px;margin-top:5px}.hg-chat-window nav{display:flex;border-block:1px solid var(--chat-line)}.hg-chat-window nav>*{flex:1;text-align:center;font-size:13px;padding:10px 5px;color:var(--chat-brand);background:#fff;border-radius:0;text-decoration:none}.hg-chat-compose{padding:12px;background:#fff;border-top:1px solid var(--chat-line);flex-shrink:0}.hg-chat-window>.hg-chat-messages{min-height:0}.hg-chat-window>.hg-chat-consent,.hg-chat-window>header,.hg-chat-window>nav{flex-shrink:0}@media (max-height:600px){.hg-chat-window .hg-chat-welcome{display:none}.hg-chat-compose textarea{height:70px}}.hg-chat-compose>div{display:flex;gap:8px;align-items:center;justify-content:space-between}.hg-chat-compose textarea{display:block;width:100%;resize:none;border:0;padding:8px 3px;outline:0;color:var(--chat-ink);background:#fff;font:inherit}.hg-chat-compose textarea:focus{box-shadow:inset 0 -2px var(--chat-brand)}.hg-chat-compose small{font-size:11px;color:var(--chat-muted)}.hg-chat-primary{background:var(--chat-brand)!important;color:#fff!important}.hg-chat-upload{cursor:pointer;font-size:13px;color:var(--chat-brand);position:relative;padding:6px}.hg-chat-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.hg-chat-upload:focus-within{outline:2px solid var(--chat-brand)}.hg-chat-consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:var(--chat-muted);padding:8px 12px}.hg-chat-consent input{margin-top:3px;flex-shrink:0;accent-color:var(--chat-brand)}.hg-chat-tip{font-size:12px;background:#fff5e9;padding:9px 12px;margin:0}.hg-chat-tip button{padding:0;background:none;text-decoration:underline;color:var(--chat-brand)}.hg-chat-error{background:#fff0ef;color:#ad2626;margin:0;padding:8px 12px;font-size:12px;overflow-wrap:anywhere}.hg-chat-error a,.hg-chat-error button{margin-left:10px}.hg-chat-muted{color:var(--chat-muted);font-size:12px}.hg-chat-form{padding:20px;overflow-y:auto;flex:1}.hg-chat-form label:not(.hg-chat-consent){display:block;margin:8px 0;font-size:13px}.hg-chat-desk select,.hg-chat-form input:not([type=checkbox]),.hg-chat-form textarea{width:100%;padding:8px;border:1px solid var(--chat-line);border-radius:6px;background:#fff;color:var(--chat-ink);font:inherit}.hg-chat-form .hg-chat-qr{width:200px;max-width:100%;margin:12px auto;display:block}.hg-chat-form>button{margin-top:12px}.hg-chat-desk{padding:24px;height:calc(100dvh - 100px);min-height:550px;display:flex;flex-direction:column;gap:12px}.hg-chat-desk-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.hg-chat-desk-heading h1{margin:0;font-size:26px;color:var(--theme-text)}.hg-chat-desk-heading p{margin:0;color:var(--chat-muted);font-size:11px;letter-spacing:1px}.hg-chat-desk-heading label{color:var(--theme-text)}.hg-chat-desk-grid{display:grid;grid-template-columns:230px minmax(280px,1fr) 230px;flex:1;min-height:0;border:1px solid var(--chat-line);border-radius:12px;overflow:hidden;background:#fff}.hg-chat-list{overflow-y:auto;border-right:1px solid var(--chat-line)}.hg-chat-list>nav{display:flex;padding:10px 6px;gap:2px}.hg-chat-list>nav button{font-size:12px;padding:6px 9px}.hg-chat-list>nav button[aria-pressed=true]{background:#fff0e8;color:var(--chat-brand)}.hg-chat-list>button{display:block;text-align:left;width:100%;padding:14px 12px;border-radius:0;background:#fff;border-bottom:1px solid var(--chat-line)}.hg-chat-list>button.is-selected{background:#fff0e8}.hg-chat-list button small,.hg-chat-list button span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--chat-muted)}.hg-chat-list em{background:var(--chat-brand);color:white;border-radius:20px;padding:0 6px;float:right;font-style:normal}.hg-chat-list>p{padding:0 12px}.hg-chat-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.hg-chat-conversation>header{flex-wrap:wrap;padding:10px;font-size:12px}.hg-chat-conversation .hg-chat-compose select{font-size:12px;max-width:100%;text-overflow:ellipsis}.hg-chat-details{overflow-y:auto;padding:15px;border-left:1px solid var(--chat-line);font-size:12px;overflow-wrap:anywhere}.hg-chat-details h3{font-size:14px;margin:10px 0}.hg-chat-details section{padding-bottom:15px;border-bottom:1px solid var(--chat-line)}.hg-chat-details a{display:block;color:var(--chat-brand);margin:6px 0}.hg-chat-details button{margin-top:8px}.hg-chat-empty{margin:auto;text-align:center;color:var(--chat-muted)}.hg-chat-back{display:none}@media (max-width:1100px){.hg-chat-desk-grid{grid-template-columns:190px minmax(280px,1fr)}.hg-chat-details{grid-column:1/-1;max-height:180px;border-top:1px solid var(--chat-line);display:flex;gap:16px;flex-wrap:wrap}.hg-chat-desk-grid{grid-template-rows:minmax(300px,1fr) auto}}@media (max-width:767px){.hg-chat-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));font-size:14px}.hg-chat-window{inset:0;width:100%;height:100dvh;max-height:100dvh;min-height:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}.hg-chat-window input:not([type=checkbox]),.hg-chat-window textarea{font-size:16px}.hg-chat-invite{right:12px;bottom:75px}.hg-chat-desk{padding:10px;height:calc(100dvh - 60px);min-height:400px}.hg-chat-desk-heading h1{font-size:21px}.hg-chat-desk-heading label{font-size:12px}.hg-chat-desk-grid{display:flex;flex-direction:column}.hg-chat-list{flex:1}.hg-chat-conversation,.hg-chat-desk.has-selection .hg-chat-list,.hg-chat-details{display:none}.hg-chat-desk.has-selection .hg-chat-conversation{display:flex;flex:1;min-height:0}.hg-chat-desk.has-selection .hg-chat-details{display:flex;max-height:130px;flex-shrink:0}.hg-chat-back{display:block}.hg-chat-conversation textarea{font-size:16px}}.hg-chat-enabled .hg-legacy-consult-bar{display:none}@media (max-width:767px){body:has(.hg-consult-actions) .hg-chat-launcher{display:none}}