/* Healthcareau – chat and calls, like WhatsApp (candidate dashboard and Chats in the admin). */
.hcx{--hcx-acc:var(--brand,#0d5e56);--hcx-acc2:#1fa855;--hcx-bg:#efeae2;--hcx-dots:rgba(84,101,111,.07);--hcx-head:#f0f2f5;--hcx-them:#fff;--hcx-me:#d9fdd3;--hcx-ink:#111b21;--hcx-muted:#667781;--hcx-muted2:#54656f;--hcx-line:#e2e5e7;--hcx-input:#fff;--hcx-icon:#54656f;--hcx-day:#fff;--hcx-tick:#53bdeb;--hcx-wave:#b4bdc3;--hcx-note:#ffeecd;--hcx-hover:rgba(11,20,26,.06);--hcx-q:rgba(11,20,26,.05);--hcx-qbar:#06cf9c;--hcx-pop:#fff;--hcx-shadow:0 1px .5px rgba(11,20,26,.13)}
.hca-dark .hcx,.hcx.dark{--hcx-acc:#00a884;--hcx-acc2:#00a884;--hcx-bg:#0b141a;--hcx-dots:rgba(233,237,239,.035);--hcx-head:#202c33;--hcx-them:#202c33;--hcx-me:#005c4b;--hcx-ink:#e9edef;--hcx-muted:#8696a0;--hcx-muted2:#8696a0;--hcx-line:#2a3942;--hcx-input:#2a3942;--hcx-icon:#aebac1;--hcx-day:#182229;--hcx-wave:#55656e;--hcx-note:#182229;--hcx-hover:rgba(233,237,239,.06);--hcx-q:rgba(233,237,239,.06);--hcx-pop:#233138}
.hcx,.hcx *{box-sizing:border-box}
.hcx-i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.hcx-spin{display:inline-block;width:22px;height:22px;border-radius:50%;border:2.5px solid rgba(0,0,0,.12);border-top-color:var(--hcx-acc,#0d5e56);animation:hcxSpin .8s linear infinite;vertical-align:middle}
@keyframes hcxSpin{to{transform:rotate(360deg)}}
.hcx button{font-family:inherit}
.hcx button:focus-visible,.hcx a:focus-visible,.hcx-call button:focus-visible{outline:2px solid var(--hcx-acc,#0d5e56);outline-offset:2px}

/* ---------- the chat */
.hcx-chat{position:relative;display:flex;flex-direction:column;height:100%;min-height:0;background:var(--hcx-bg);color:var(--hcx-ink);overflow:hidden;font-size:14.2px}
.hcx-head{position:relative;z-index:3;display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 10px 8px 14px;background:var(--hcx-head);border-bottom:1px solid var(--hcx-line)}
.hcx-back{display:none!important}
.hcx-who{flex:1;min-width:0;display:grid;line-height:1.3}
.hcx-who b{font-size:16px;font-weight:600;color:var(--hcx-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-st{font-size:12.5px;color:var(--hcx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-st.typing{color:var(--hcx-acc2);font-weight:500}
.hcx-ha{display:flex;align-items:center;gap:2px;flex:none}
.hcx-hb{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hcx-icon);cursor:pointer;text-decoration:none;flex:none}
.hcx-hb:hover{background:var(--hcx-hover);color:var(--hcx-ink)}
.hcx-hb .hcx-i{width:22px;height:22px}
.hcx-av{position:relative;flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:hsl(var(--h,170) 38% 45%);color:#fff;font-weight:700;font-size:15px;letter-spacing:.02em}
.hcx-av>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;border-radius:50%;object-fit:cover;display:block}
.hcx-av.team{background:#fff;box-shadow:inset 0 0 0 1px var(--hcx-line)}
.hcx-av.team>img{object-fit:contain;padding:5px}
.hcx-av.on::after{content:"";position:absolute;right:-1px;bottom:0;width:12px;height:12px;border-radius:50%;background:#25d366;border:2px solid var(--hcx-head)}
.hcx-av.xl{width:118px;height:118px;font-size:42px}
.hcx-pushbar{position:relative;z-index:2;display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;background:#fff7e0;border-bottom:1px solid #f1e2b6;color:#5c4a12;font-size:13px;line-height:1.35}
.hcx-pushbar[hidden]{display:none}
.hcx-pushbar>.hcx-i{color:#b07d00}
.hcx-pushbar span{flex:1}
.hca-dark .hcx-pushbar{background:#2a2410;border-color:#3d3418;color:#f0dfa6}
.hcx-body{position:relative;flex:1;min-height:0}
.hcx-log{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:8px max(3%,12px) 10px;background-color:var(--hcx-bg);background-image:radial-gradient(var(--hcx-dots) 1.2px,transparent 1.4px),radial-gradient(var(--hcx-dots) 1.2px,transparent 1.4px);background-size:26px 26px;background-position:0 0,13px 13px;outline:none;-webkit-overflow-scrolling:touch}
.hcx-log-in{display:flex;flex-direction:column;min-height:100%;justify-content:flex-end}
.hcx-loading{display:flex;align-items:center;justify-content:center;gap:10px;margin:auto;padding:30px;color:var(--hcx-muted);font-size:14px}
.hcx-loading.err{color:#b42318;flex-wrap:wrap;text-align:center}
.hcx-note{display:flex;gap:8px;align-items:flex-start;align-self:center;max-width:440px;margin:4px auto 10px;padding:7px 12px;border-radius:8px;background:var(--hcx-note);color:var(--hcx-muted2);font-size:12.5px;line-height:1.45;text-align:left;box-shadow:var(--hcx-shadow)}
.hcx-note .hcx-i{width:14px;height:14px;margin-top:2px}
.hcx-older{display:flex;justify-content:center;padding:6px 0 10px}
.hcx-link{border:0;background:none;padding:4px 6px;color:var(--hcx-acc);font-weight:600;font-size:13.5px;cursor:pointer;text-decoration:none}
.hcx-link:hover{text-decoration:underline}
.hcx-day{position:sticky;top:4px;z-index:2;display:flex;justify-content:center;margin:12px 0 6px;pointer-events:none}
.hcx-day span{padding:5px 12px;border-radius:8px;background:var(--hcx-day);color:var(--hcx-muted2);font-size:12.5px;box-shadow:var(--hcx-shadow);transition:opacity .3s}
.hcx-day.stuck span{opacity:0}
.hcx-log.scr .hcx-day.stuck span{opacity:1}
.hcx-unr{display:flex;justify-content:center;margin:10px calc(-1 * max(3%,12px)) 6px;padding:5px 0;background:rgba(255,255,255,.3)}
.hca-dark .hcx-unr{background:rgba(0,0,0,.2)}
.hcx-unr span{padding:4px 14px;border-radius:8px;background:var(--hcx-them);color:var(--hcx-muted2);font-size:12.5px;box-shadow:var(--hcx-shadow)}
.hcx-empty{display:grid;justify-items:center;gap:6px;max-width:400px;margin:auto;padding:22px 20px;border-radius:14px;background:var(--hcx-them);text-align:center;color:var(--hcx-muted2);font-size:13.5px;line-height:1.5;box-shadow:var(--hcx-shadow)}
.hcx-empty>.hcx-i{width:36px;height:36px;color:var(--hcx-acc)}
.hcx-empty b{color:var(--hcx-ink);font-size:16px}
.hcx-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px}
.hcx-chip{border:1px solid var(--hcx-line);border-radius:16px;background:var(--hcx-head);color:var(--hcx-ink);padding:6px 11px;font-size:13px;cursor:pointer}
.hcx-chip:hover{border-color:var(--hcx-acc);color:var(--hcx-acc)}

/* messages */
.hcx-m{position:relative;display:flex;margin:1px 0;transition:transform .15s}
.hcx-m.me{justify-content:flex-end}
.hcx-m.first{margin-top:7px}
.hcx-b{position:relative;max-width:min(78%,560px);min-width:64px;padding:6px 8px 7px 9px;border-radius:8px;background:var(--hcx-them);color:var(--hcx-ink);font-size:14.2px;line-height:1.4;box-shadow:var(--hcx-shadow);overflow-wrap:anywhere;word-break:break-word}
.hcx-m.me .hcx-b{background:var(--hcx-me)}
.hcx-m.first.them .hcx-b{border-top-left-radius:0}
.hcx-m.first.me .hcx-b{border-top-right-radius:0}
.hcx-m.first.them .hcx-b::before,.hcx-m.first.me .hcx-b::before{content:"";position:absolute;top:0;width:8px;height:13px}
.hcx-m.first.them .hcx-b::before{left:-8px;background:var(--hcx-them);clip-path:polygon(0 0,100% 0,100% 100%)}
.hcx-m.first.me .hcx-b::before{right:-8px;background:var(--hcx-me);clip-path:polygon(0 0,100% 0,0 100%)}
.hcx-m.flash .hcx-b{animation:hcxFlash 1.4s ease}
@keyframes hcxFlash{0%,40%{box-shadow:0 0 0 3px rgba(37,211,102,.45)}100%{box-shadow:var(--hcx-shadow)}}
.hcx-by{display:block;margin:0 0 2px;font-size:12.8px;font-weight:600;color:hsl(var(--h,170) 55% 36%)}
.hca-dark .hcx-by{color:hsl(var(--h,170) 60% 68%)}
.hcx-txt{display:block;white-space:pre-wrap}
.hcx-txt a{color:#027eb5;text-decoration:underline}
.hca-dark .hcx-txt a{color:#53bdeb}
.hcx-meta{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:15px;color:var(--hcx-muted);white-space:nowrap}
/* the time in the bottom corner of the bubble; .hcx-sp keeps room for it at the end of the last line */
.hcx-b>.hcx-meta{position:absolute;right:7px;bottom:4px}
.hcx-sp{display:inline-block;width:40px;height:1px;vertical-align:baseline}
.hcx-m.me .hcx-sp{width:60px}
.hcx-tk{display:inline-flex;color:var(--hcx-muted)}
.hcx-tk svg{width:17px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hcx-tk.read{color:var(--hcx-tick)}
.hcx-tk .hcx-i{width:13px;height:13px;stroke-width:2}
.hcx-tk.fail{color:#ea0038}
.hcx-delt{color:var(--hcx-muted);font-style:italic}
.hcx-delt .hcx-i{width:15px;height:15px;margin-right:5px;vertical-align:-3px}
.hcx-mm{position:absolute;top:2px;right:2px;z-index:1;display:grid;place-items:center;width:26px;height:24px;padding:0;border:0;border-radius:0 8px 0 12px;background:radial-gradient(at top right,var(--hcx-them) 55%,transparent 75%);color:var(--hcx-muted);cursor:pointer;opacity:0;transition:opacity .12s}
.hcx-m.me .hcx-mm{background:radial-gradient(at top right,var(--hcx-me) 55%,transparent 75%)}
.hcx-m:hover .hcx-mm,.hcx-mm:focus-visible,.hcx-mm[aria-expanded=true]{opacity:1}
@media (pointer:coarse){.hcx-mm{display:none}}
.hcx-q{display:grid;width:100%;margin:0 0 5px;padding:5px 9px 6px;border:0;border-left:4px solid var(--hcx-qbar);border-radius:6px;background:var(--hcx-q);text-align:left;color:inherit;cursor:pointer;font:inherit;font-size:13px;line-height:1.35}
.hcx-q b{color:var(--hcx-qbar);font-size:12.8px}
.hcx-q span{color:var(--hcx-muted2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-media{position:relative;display:block;width:min(300px,64vw);max-height:380px;margin:-3px -5px 3px -6px;padding:0;border:0;border-radius:6px;overflow:hidden;background:rgba(0,0,0,.08);cursor:zoom-in}
.hcx-m.k-image:not(:has(.hcx-txt)) .hcx-media{margin-bottom:-4px}
.hcx-media img{display:block;width:100%;height:100%;object-fit:cover}
.hcx-media>.hcx-meta{position:absolute;right:5px;bottom:4px;top:auto;margin:0;padding:1px 6px 1px 8px;border-radius:10px;background:rgba(0,0,0,.38);color:#fff}
.hcx-media>.hcx-meta .hcx-tk{color:#fff}
.hcx-media>.hcx-meta .hcx-tk.read{color:#8fdcff}
.hcx-doc{position:relative;display:flex;align-items:center;gap:10px;min-width:min(250px,60vw);max-width:330px;margin:-2px -4px 4px -5px;padding:9px 10px;border-radius:6px;background:var(--hcx-q);color:inherit;text-decoration:none}
.hcx-doc:hover{background:rgba(11,20,26,.08)}
.hcx-doc-ic{display:grid;place-items:center;flex:none;width:34px;height:42px;border-radius:4px;background:#8696a0;color:#fff;font-size:9.5px;font-weight:800;letter-spacing:.02em;clip-path:polygon(0 0,72% 0,100% 22%,100% 100%,0 100%)}
.hcx-doc-ic.pdf{background:#e2363b}.hcx-doc-ic.doc{background:#2b5fb4}.hcx-doc-ic.xls{background:#1f7a4a}.hcx-doc-ic.ppt{background:#d2522b}
.hcx-doc-t{flex:1;min-width:0;display:grid;line-height:1.3}
.hcx-doc-t b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-doc-t small{color:var(--hcx-muted);font-size:12px}
.hcx-doc-dl{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--hcx-wave);color:var(--hcx-muted);flex:none}
.hcx-doc-dl .hcx-i{width:17px;height:17px}
.hcx-txt.only{min-height:6px}
.hcx-voice{display:flex;align-items:center;gap:6px;width:min(290px,66vw);padding:1px 0 0}
.hcx-vp{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hcx-muted2);cursor:pointer}
.hcx-vp .hcx-i{width:28px;height:28px}
.hcx-vw{flex:1;min-width:0;display:grid;gap:1px}
.hcx-vbar{position:relative;display:block;height:30px;cursor:pointer;touch-action:none}
.hcx-wave{display:flex;align-items:center;gap:2px;height:100%}
.hcx-wave i{flex:1;max-width:3.5px;min-width:2px;height:calc(var(--v) * .9px + 2px);border-radius:2px;background:var(--hcx-wave)}
.hcx-vfill{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--pos,0) * 100%) 0 0)}
.hcx-vfill .hcx-wave i{background:var(--hcx-acc2)}
.hcx-m.me .hcx-vfill .hcx-wave i{background:#1d9a7a}
.hcx-vt{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--hcx-muted);font-variant-numeric:tabular-nums}
.hcx-vt .hcx-meta{float:none;top:0;margin:0}
.hcx-vs{flex:none;min-width:34px;padding:3px 7px;border:0;border-radius:12px;background:var(--hcx-q);color:var(--hcx-muted2);font-size:11.5px;font-weight:700;cursor:pointer}
.hcx-callm{display:flex;align-items:center;gap:10px;min-width:210px;padding:3px 2px 1px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hcx-cmi{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--hcx-q);color:var(--hcx-muted2)}
.hcx-callm.missed .hcx-cmi{color:#ea0038}
.hcx-cmt{flex:1;min-width:0;display:grid;line-height:1.3}
.hcx-cmt b{font-weight:500}
.hcx-cmt small{display:flex;align-items:center;gap:3px;color:var(--hcx-muted);font-size:12.5px}
.hcx-cmt small .hcx-i{width:14px;height:14px;stroke-width:2.2}
.hcx-i.red{color:#ea0038}.hcx-i.grn{color:#1fa855}
.hcx-callm>.hcx-meta{float:none;align-self:flex-end;top:0;margin:0 0 -2px 4px}
.hcx-prog{position:absolute;inset:0;z-index:2;display:grid;place-items:center;width:46px;height:46px;margin:auto;border-radius:50%;background:rgba(11,20,26,.45);color:#fff;cursor:pointer}
.hcx-prog::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(#fff calc(var(--p,0) * 1%),rgba(255,255,255,.25) 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px))}
.hcx-prog.fail{background:#ea0038}
.hcx-prog.fail::before{display:none}
.hcx-doc .hcx-prog,.hcx-voice .hcx-prog{position:relative;inset:auto;width:34px;height:34px;margin:0;flex:none;background:var(--hcx-acc)}
.hcx-m.pend .hcx-media img{filter:brightness(.85)}

/* bottom of the chat */
.hcx-fab{position:absolute;right:16px;bottom:14px;z-index:4;display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:var(--hcx-head);color:var(--hcx-icon);box-shadow:0 1px 3px rgba(11,20,26,.3);cursor:pointer}
.hcx-fab[hidden]{display:none}
.hcx-fab em{position:absolute;top:-6px;right:-5px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#25d366;color:#fff;font-size:11px;font-style:normal;font-weight:700}
.hcx-fab em[hidden]{display:none}
.hcx-drop{position:absolute;inset:8px;z-index:6;display:grid;place-items:center;border:2px dashed var(--hcx-acc);border-radius:14px;background:rgba(255,255,255,.88);text-align:center;pointer-events:none}
.hca-dark .hcx-drop{background:rgba(11,20,26,.9)}
.hcx-drop[hidden]{display:none}
.hcx-drop div{display:grid;justify-items:center;gap:4px;color:var(--hcx-ink)}
.hcx-drop .hcx-i{width:36px;height:36px;color:var(--hcx-acc)}
.hcx-drop span{color:var(--hcx-muted);font-size:13px}
.hcx-comp{position:relative;z-index:3;padding:6px 10px calc(8px + env(safe-area-inset-bottom,0px));background:var(--hcx-head)}
.hcx-rbar{display:flex;align-items:center;gap:6px;margin:0 0 6px;padding:6px 6px 6px 10px;border-left:4px solid var(--hcx-qbar);border-radius:8px;background:var(--hcx-input)}
.hcx-rbar[hidden]{display:none}
.hcx-rq{flex:1;min-width:0;display:grid;font-size:13px;line-height:1.35}
.hcx-rq b{color:var(--hcx-qbar)}
.hcx-rq span{color:var(--hcx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-crow{display:flex;align-items:flex-end;gap:4px}
.hcx-crow[hidden]{display:none}
.hcx-cb{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hcx-icon);cursor:pointer}
.hcx-cb:hover{background:var(--hcx-hover)}
.hcx-cb .hcx-i{width:23px;height:23px}
.hcx-inw{flex:1;min-width:0;display:flex;align-items:flex-end;min-height:42px;padding:0 4px 0 14px;border-radius:21px;background:var(--hcx-input);box-shadow:0 1px .5px rgba(11,20,26,.06)}
.hcx-inw .hcx-cam{width:38px;height:42px}
.hcx textarea.hcx-in{flex:1;min-width:0;min-height:42px;max-height:140px;margin:0;padding:11px 0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;outline:0!important;resize:none;color:var(--hcx-ink);font:inherit;font-size:15px;line-height:20px}
.hcx textarea.hcx-in::placeholder{color:var(--hcx-muted)}
.hcx-send{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--hcx-acc);color:#fff;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.18);transition:transform .1s}
.hcx-send:active{transform:scale(.94)}
.hcx-send .hcx-i{width:22px;height:22px}
.hcx-send .hcx-i.m{display:none}
.hcx-send.mic .hcx-i.s{display:none}
.hcx-send.mic .hcx-i.m{display:block}
.hcx-send .hcx-i.s{margin-left:2px}
.hcx-rec{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 0 0 2px}
.hcx-rec[hidden]{display:none}
.hcx-rec .hcx-cb{color:#ea0038}
.hcx-rdot{width:10px;height:10px;border-radius:50%;background:#ea0038;animation:hcxBlink 1s ease-in-out infinite;flex:none}
@keyframes hcxBlink{50%{opacity:.25}}
.hcx-rt{min-width:42px;font-size:15px;font-variant-numeric:tabular-nums;color:var(--hcx-ink)}
.hcx-rlv{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:2px;height:30px;overflow:hidden}
.hcx-rlv i{flex:none;width:3px;height:calc(var(--v) * 1px);min-height:2px;border-radius:2px;background:var(--hcx-muted)}
.hcx-file{display:none}

/* menus, sheets, photo viewer, messages at the bottom of the screen */
.hcx-pop,.hcx-toast,.hcx-cpill,.hcx-lb{font-family:var(--hcx-font,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif)}
.hcx-pop{position:fixed;z-index:100070;min-width:210px;padding:6px 0;border-radius:10px;background:#fff;color:#111b21;box-shadow:0 8px 24px rgba(11,20,26,.2),0 2px 6px rgba(11,20,26,.12);animation:hcxIn .12s ease}
.hcx-pop.dark{background:#233138;color:#e9edef}
@keyframes hcxIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.hcx-pop button{display:flex;align-items:center;gap:13px;width:100%;padding:10px 18px 10px 16px;border:0;background:transparent;color:inherit;font:inherit;font-size:14.5px;text-align:left;cursor:pointer}
.hcx-pop button:hover,.hcx-pop button:focus-visible{background:rgba(11,20,26,.06);outline:0}
.hcx-pop.dark button:hover{background:rgba(255,255,255,.06)}
.hcx-pop button .hcx-i{color:#54656f;width:20px;height:20px}
.hcx-pop.dark button .hcx-i{color:#aebac1}
.hcx-pop button.bad,.hcx-pop button.bad .hcx-i{color:#ea0038}
.hcx-sheet{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:16px;background:rgba(11,20,26,.45);animation:hcxFade .15s ease}
@keyframes hcxFade{from{opacity:0}to{opacity:1}}
.hcx-sheet-in{display:flex;flex-direction:column;width:min(560px,100%);max-height:100%;border-radius:14px;background:var(--hcx-head);color:var(--hcx-ink);box-shadow:0 18px 50px rgba(0,0,0,.3);overflow:hidden}
.hcx-sheet-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 8px 10px 18px;font-size:16px}
.hcx-pv{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;padding:6px 16px 12px;overflow:auto;min-height:0}
.hcx-pv.one{grid-template-columns:1fr}
.hcx-pv-img{display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#000}
.hcx-pv.one .hcx-pv-img{aspect-ratio:auto;max-height:50vh;display:grid;place-items:center}
.hcx-pv-img img{width:100%;height:100%;object-fit:cover;display:block}
.hcx-pv.one .hcx-pv-img img{object-fit:contain;max-height:50vh}
.hcx-pv-doc{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:var(--hcx-input)}
.hcx-pv-doc>span:last-child{display:grid;min-width:0}
.hcx-pv-doc b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-pv-doc small{color:var(--hcx-muted)}
.hcx-sheet-f{display:flex;align-items:center;gap:8px;padding:10px 12px 12px 16px;border-top:1px solid var(--hcx-line)}
.hcx input.hcx-cap{flex:1;min-width:0;height:44px;margin:0;padding:0 14px;border:0;border-radius:22px;background:var(--hcx-input);color:var(--hcx-ink);font:inherit;font-size:15px;box-shadow:none;outline:0}
.hcx-dlg{height:min(560px,100%)}
.hcx-plist{flex:1;overflow:auto;min-height:0;padding-bottom:6px}
.hcx-lb{position:fixed;inset:0;z-index:100060;display:grid;grid-template-rows:auto 1fr;background:rgba(11,20,26,.95);color:#fff;animation:hcxFade .15s ease}
.hcx-lb-h{display:flex;align-items:center;gap:6px;padding:calc(env(safe-area-inset-top,0px) + 10px) 12px 10px 18px}
.hcx-lb-t{flex:1;min-width:0;font-size:14px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-lb-b,.hcx-lb-n{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;text-decoration:none}
.hcx-lb-b:hover,.hcx-lb-n:hover{background:rgba(255,255,255,.2)}
.hcx-lb .hcx-i{width:22px;height:22px}
.hcx-lb figure{display:grid;place-items:center;align-content:center;min-height:0;margin:0;padding:0 70px 24px}
.hcx-lb img{max-width:100%;max-height:calc(100vh - 140px);border-radius:4px;object-fit:contain}
.hcx-lb figcaption{max-width:680px;margin-top:12px;font-size:14.5px;text-align:center}
.hcx-lb-n{position:absolute;top:50%;margin-top:-22px}
.hcx-lb-n.prev{left:14px}.hcx-lb-n.next{right:14px}
.hcx-lb-n.next .hcx-i{transform:rotate(180deg)}
.hcx-lb-n[hidden]{display:none}
.hcx-toast{position:fixed;left:50%;bottom:28px;z-index:100080;max-width:min(560px,calc(100% - 32px));padding:12px 18px;border-radius:12px;background:#111b21;color:#fff;font-size:14px;line-height:1.4;box-shadow:0 10px 30px rgba(0,0,0,.3);transform:translate(-50%,24px);opacity:0;visibility:hidden;transition:all .2s;pointer-events:none;text-align:center}
.hcx-toast.on{transform:translate(-50%,0);opacity:1;visibility:visible}
.hcx-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 16px;border:1px solid var(--hcx-line,#d1d7db);border-radius:18px;background:#fff;color:#111b21;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.hcx-btn.pri{border-color:var(--hcx-acc,#0d5e56);background:var(--hcx-acc,#0d5e56);color:#fff}
.hcx-btn.sm{height:32px;padding:0 13px;font-size:13px}

/* ---------- the candidate's chat on the dashboard */
.hcx-solo{position:relative;height:calc(100vh - 250px);min-height:500px;max-height:860px;border:1px solid var(--line,#e2e5e7);border-radius:16px;overflow:hidden;background:var(--hcx-bg);box-shadow:var(--shadow,0 1px 3px rgba(0,0,0,.06))}
.hcx-solo.hcx-full{position:fixed;left:0;right:0;top:0;bottom:auto;z-index:100;height:100%;min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none}
.hcx-solo.hcx-full .hcx-back{display:grid!important}
.hcx-solo.hcx-full .hcx-head{padding-top:calc(8px + env(safe-area-inset-top,0px))}
html.hcx-lock,html.hcx-lock body{overflow:hidden!important;overscroll-behavior:none}

/* ---------- Chats in the admin (like WhatsApp Web) */
.hcx-wrap{margin:12px 20px 0 2px}
.hcx-app{position:relative;display:grid;grid-template-columns:minmax(300px,32%) minmax(0,1fr);height:calc(100vh - 32px - 112px);min-height:540px;border:1px solid #d1d7db;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 1px 3px rgba(11,20,26,.06);color:#111b21}
.hcx-boot{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;color:#667781}
.hcx-side{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e9edef;background:#fff}
.hcx-side-h{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 6px 18px}
.hcx-side-h b{font-size:22px;font-weight:700;letter-spacing:-.01em}
.hcx-side-a{display:flex;gap:2px}
.hcx-search{display:flex;align-items:center;gap:10px;height:38px;margin:4px 12px 8px;padding:0 12px;border-radius:9px;background:#f0f2f5;color:#54656f}
.hcx-search .hcx-i{width:17px;height:17px}
.hcx .hcx-search input{flex:1;min-width:0;height:36px;min-height:0;margin:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;color:#111b21;font-size:14.5px}
.hcx-filt{display:flex;gap:8px;padding:0 12px 10px}
.hcx-filt button{padding:6px 13px;border:0;border-radius:16px;background:#f0f2f5;color:#54656f;font-size:13.5px;cursor:pointer}
.hcx-filt button[aria-pressed=true]{background:#d9fdd3;color:#0a7d5a;font-weight:600}
.hcx-list{flex:1;min-height:0;overflow-y:auto}
.hcx-it{display:flex;align-items:center;gap:13px;width:100%;padding:0 14px 0 14px;border:0;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hcx-it .hcx-av{width:48px;height:48px;font-size:17px}
.hcx-it .hcx-av.on::after{border-color:#fff}
.hcx-it:hover{background:#f5f6f6}
.hcx-it.on{background:#f0f2f5}
.hcx-it-m{flex:1;min-width:0;display:grid;gap:3px;padding:13px 0;border-bottom:1px solid #f0f2f5}
.hcx-it-r{display:flex;align-items:center;gap:8px;min-width:0}
.hcx-it-r b{flex:1;min-width:0;font-size:15.5px;font-weight:500;color:#111b21;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-it-r time{flex:none;font-size:12px;color:#667781}
.hcx-it.unread .hcx-it-r time{color:#1fa855;font-weight:600}
.hcx-it-p{flex:1;min-width:0;display:flex;align-items:center;gap:3px;color:#667781;font-size:13.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcx-it-p>span:not(.hcx-tk){display:inline-flex;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis}
.hcx-it-p .hcx-tk{flex:none;margin-right:1px}
.hcx-it-p .hcx-i{width:15px;height:15px}
.hcx-it-p .red{color:#ea0038}
.hcx-it-p i{display:inline-flex;align-items:center;gap:4px}
.hcx-it.unread .hcx-it-p{color:#111b21;font-weight:500}
.hcx-it-r em{flex:none;display:grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#25d366;color:#fff;font-size:11.5px;font-style:normal;font-weight:700}
.hcx-typ{color:#1fa855!important;font-style:normal;font-weight:500}
.hcx-none{padding:28px 22px;color:#667781;font-size:14px;text-align:center;line-height:1.5}
.hcx-lmore{display:block;margin:10px auto 16px}
.hcx-main{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:#f0f2f5}
.hcx-main>.hcx-chat{flex:1}
.hcx-intro{display:grid;justify-items:center;gap:12px;max-width:540px;margin:auto;padding:30px 24px;text-align:center;color:#54656f;font-size:14.5px;line-height:1.55}
.hcx-intro-ic{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#d9fdd3;color:#0a7d5a}
.hcx-intro-ic .hcx-i{width:40px;height:40px}
.hcx-intro h2{margin:6px 0 0;font-size:26px;font-weight:600;color:#111b21}
.hcx-intro p{margin:0}
.hcx-intro-c{display:flex;align-items:center;gap:14px;width:100%;margin-top:10px;padding:14px 16px;border-radius:12px;background:#fff;text-align:left;box-shadow:0 1px 3px rgba(11,20,26,.08)}
.hcx-intro-c>.hcx-i{width:26px;height:26px;color:#0a7d5a}
.hcx-intro-c>span{flex:1;display:grid;gap:2px}
.hcx-intro-c b{color:#111b21}
.hcx-intro-c small{font-size:13px;color:#667781}
.hcx-intro-f{display:flex;align-items:center;gap:6px;margin-top:16px!important;font-size:13px;color:#8696a0}
.hcx-intro-f .hcx-i{width:14px;height:14px}
.hcx-app .hcx-sheet{position:absolute}
.hcx-app .hcx-head .hcx-av{width:42px;height:42px}
@media (max-width:782px){
  .hcx-wrap{margin:0}
  .hcx-app{position:fixed;top:46px;left:0;right:0;bottom:0;z-index:9989;height:auto;min-height:0;grid-template-columns:minmax(0,1fr);border:0;border-radius:0;box-shadow:none}
  .hcx-app .hcx-main{display:none}
  .hcx-app.open .hcx-side{display:none}
  .hcx-app.open .hcx-main{display:flex}
  .hcx-app .hcx-back{display:grid!important}
  .hcx-head{padding-left:4px}
  .hcx-ha .hcx-hb{width:38px}
  .hcx-b{max-width:86%}
}
@media (max-width:859px){
  .hcx-solo .hcx-b{max-width:86%}
  .hcx-solo.hcx-full .hcx-head{padding-left:4px}
}

/* ---------- calls */
html.hcx-incall,html.hcx-incall body{overflow:hidden!important}
.hcx-call{position:fixed;inset:0;z-index:100050;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;background:#0b141a;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;animation:hcxFade .18s ease}
.hcx-call.min{display:none}
.hcx-call{--hcx-acc:var(--brand,#0d5e56)}
.hcx-cbg{position:absolute;inset:-60px;background:#0b141a center/cover no-repeat;filter:blur(36px) brightness(.42) saturate(1.15);transform:scale(1.15)}
.hcx-rv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000;opacity:0;transition:opacity .35s}
.hcx-call.rvid .hcx-rv{opacity:1}
.hcx-rv.fit{object-fit:contain;background:transparent}
.hcx-rv.fit.fill{object-fit:cover}
.hcx-call::before{content:"";position:absolute;inset:0 0 auto;z-index:1;height:170px;background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,0));opacity:0;transition:opacity .35s;pointer-events:none}
.hcx-call.rvid::before{opacity:1}
.hcx-ra{display:none}
.hcx-ctop{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:calc(env(safe-area-inset-top,0px) + 12px) 14px 0}
.hcx-ctop-r{justify-self:end}
.hcx-cenc{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;opacity:.72}
.hcx-cenc .hcx-i{width:13px;height:13px}
.hcx-rmute{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:14px;background:rgba(0,0,0,.45);font-size:12.5px}
.hcx-rmute .hcx-i{width:15px;height:15px}
.hcx-cwho{position:relative;z-index:2;align-self:start;display:grid;justify-items:center;gap:6px;margin-top:8vh;padding:0 20px;text-align:center}
.hcx-cav{margin-bottom:12px}
.hcx-call[data-state=incoming] .hcx-cav .hcx-av,.hcx-call[data-state=outgoing] .hcx-cav .hcx-av{animation:hcxRing 1.8s ease-out infinite}
@keyframes hcxRing{0%{box-shadow:0 0 0 0 rgba(255,255,255,.28)}70%{box-shadow:0 0 0 28px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.hcx-cname{font-size:27px;font-weight:600;line-height:1.2;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.hcx-cby{font-size:14px;opacity:.75}
.hcx-cby:empty{display:none}
.hcx-cst{font-size:15.5px;opacity:.86;font-variant-numeric:tabular-nums;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.hcx-call[data-state=recon] .hcx-cst{color:#ffd279}
.hcx-call.rvid .hcx-cwho{justify-items:start;margin:12px 0 0;padding:0 20px;text-align:left}
.hcx-call.rvid .hcx-cav{display:none}
.hcx-call.rvid .hcx-cname{font-size:19px}
.hcx-call.rvid .hcx-cst{font-size:13.5px}
.hcx-lvw{position:absolute;z-index:3;right:16px;top:calc(env(safe-area-inset-top,0px) + 62px);display:none;width:min(26vw,190px);aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:#000;box-shadow:0 8px 28px rgba(0,0,0,.45)}
.hcx-call.lvid .hcx-lvw{display:block}
.hcx-call:not(.rvid).lvid .hcx-lvw{width:min(30vw,210px)}
.hcx-lv{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.hcx-csnd{position:relative;z-index:3;justify-self:center;align-self:end;display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;padding:10px 16px;border:0;border-radius:22px;background:#fff;color:#111b21;font:inherit;font-weight:600;cursor:pointer}
.hcx-csnd[hidden]{display:none}
.hcx-cbar{position:relative;z-index:3;grid-row:3;display:flex;justify-content:center;gap:clamp(14px,5vw,30px);padding:22px 16px calc(env(safe-area-inset-bottom,0px) + 30px);background:linear-gradient(transparent,rgba(0,0,0,.55))}
.hcx-cbw{display:grid;justify-items:center;gap:7px}
.hcx-cbw small{font-size:12.5px;opacity:.85}
.hcx-cbtn{display:grid;place-items:center;width:62px;height:62px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.17);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .1s,background .15s}
.hcx-cbtn:active{transform:scale(.94)}
.hcx-cbtn:hover{background:rgba(255,255,255,.26)}
.hcx-cbtn .hcx-i{width:27px;height:27px}
.hcx-cbtn.on,.hcx-cbtn.off{background:#fff;color:#111b21}
.hcx-cbtn.red{background:#ea0038}
.hcx-cbtn.red:hover{background:#c8002f}
.hcx-cbtn.grn{background:#25d366}
.hcx-cbtn.grn:hover{background:#1fb95a}
.hcx-cbtn.pulse{animation:hcxPulse 1.5s ease-out infinite}
@keyframes hcxPulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)}70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
.hcx-cbtn.sm{width:42px;height:42px;background:rgba(255,255,255,.12)}
.hcx-cbtn.sm .hcx-i{width:22px;height:22px}
.hcx-cbtn:disabled{opacity:.4;cursor:default}
.hcx-call[data-state=ended] .hcx-cst{font-size:17px;opacity:1}
.hcx-call[data-state=ended] .hcx-cav .hcx-av{animation:none;opacity:.8}
/* Busy, like a phone line: a red "Busy" and what to do next. */
.hcx-cnote{display:none;max-width:330px;margin-top:4px;font-size:14.5px;line-height:1.45;opacity:.82;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.hcx-call[data-state=busy] .hcx-cnote,.hcx-call[data-state=closed] .hcx-cnote{display:block}
/* The office is closed: an amber "Office closed", the message, when it opens again, and the message read out. */
.hcx-call[data-state=closed] .hcx-cnote{max-width:360px;opacity:.9}
.hcx-call[data-state=closed] .hcx-cst{margin-top:2px;padding:5px 14px;border-radius:16px;background:#f2b83d;color:#2b2100;font-size:15px;font-weight:600;letter-spacing:.02em;opacity:1;text-shadow:none}
.hcx-call[data-state=closed] .hcx-cav .hcx-av{animation:none}
.hcx-call[data-state=closed] [data-c=min]{visibility:hidden}
.hcx-call[data-state=busy] .hcx-cenc,.hcx-call[data-state=closed] .hcx-cenc{visibility:hidden}
.hcx-copen{display:block;margin-top:12px;font-size:13.5px;line-height:1.45;opacity:.95}
.hcx-copen .hcx-i{display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px}
.hcx-csay{display:none;align-items:center;gap:8px;margin-top:16px;padding:9px 16px;border:0;border-radius:22px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:14px;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hcx-csay:hover{background:rgba(255,255,255,.22)}
.hcx-csay b{font-weight:500}
.hcx-csay .hcx-i{width:18px;height:18px}
.hcx-call[data-state=closed] .hcx-csay{display:inline-flex}
.hcx-eq{display:none;align-items:flex-end;gap:2px;width:18px;height:16px}
.hcx-eq i{flex:1;height:30%;border-radius:1px;background:#f2b83d;animation:hcxEq .9s ease-in-out infinite}
.hcx-eq i:nth-child(2){animation-delay:.2s}.hcx-eq i:nth-child(3){animation-delay:.4s}
@keyframes hcxEq{0%,100%{height:25%}50%{height:100%}}
.hcx-call.saying .hcx-csay .hcx-eq{display:flex}
.hcx-call.saying .hcx-csay>.hcx-i{display:none}
a.hcx-cbtn{color:#fff;text-decoration:none}
a.hcx-cbtn:focus{color:#fff}
.hcx-call[data-state=busy] .hcx-cst{margin-top:2px;padding:5px 14px;border-radius:16px;background:#ea0038;font-size:15px;font-weight:600;letter-spacing:.02em;opacity:1;text-shadow:none}
.hcx-call[data-state=busy] .hcx-cav .hcx-av{opacity:.85}
.hcx-call[data-state=busy] [data-c=min]{visibility:hidden}
/* Who tried to call while you were on this call. */
.hcx-cwait{position:absolute;z-index:4;bottom:calc(env(safe-area-inset-bottom,0px) + 150px);left:50%;width:min(440px,calc(100% - 24px));transform:translateX(-50%)}
.hcx-cwait:empty{display:none}
.hcx-cw{display:flex;align-items:center;gap:11px;padding:10px 8px 10px 12px;border-radius:16px;background:rgba(32,44,51,.94);box-shadow:0 10px 30px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:hcxIn .2s ease}
.hcx-cw>.hcx-av{width:40px;height:40px;font-size:15px}
.hcx-cw>span:not(.hcx-av){flex:1;min-width:0}
.hcx-cw b{display:block;font-size:14.5px;font-weight:600}
.hcx-cw small{display:block;margin-top:1px;font-size:12.5px;line-height:1.35;opacity:.78}
.hcx-cw-x{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;opacity:.75}
.hcx-cw-x:hover{background:rgba(255,255,255,.12);opacity:1}
.hcx-cw-x .hcx-i{width:18px;height:18px}
.hcx-cpill{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);left:50%;z-index:100055;display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:9px 16px;border:0;border-radius:24px;background:#1fa855;color:#fff;font:inherit;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer;transform:translateX(-50%);animation:hcxUp .15s ease}
.hcx-cpill .hcx-i{width:18px;height:18px}
.hcx-cpill span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.hcx-cpill b{padding-left:8px;border-left:1px solid rgba(255,255,255,.4);white-space:nowrap}
body.admin-bar .hcx-cpill{top:42px}
@media (max-width:600px){.hcx-cname{font-size:24px}.hcx-cbtn{width:58px;height:58px}.hcx-cpill b{display:none}}
@media (prefers-reduced-motion:reduce){.hcx-cbtn.pulse,.hcx-call .hcx-av,.hcx-rdot,.hcx-eq i{animation:none!important}.hcx-m{transition:none}}

/* The dashboard styles every button inside it (#hca button: size, colour, margin, shadow); keep the chat's own. */
#hcaChatMount .hcx-hb{width:40px;height:40px;color:var(--hcx-icon)}
#hcaChatMount .hcx-hb:hover{color:var(--hcx-ink)}
#hcaChatMount .hcx-cb{width:42px;height:42px;color:var(--hcx-icon)}
#hcaChatMount .hcx-inw .hcx-cam{width:38px;height:42px}
#hcaChatMount .hcx-rec .hcx-cb{color:#ea0038}
#hcaChatMount .hcx-send{width:44px;height:44px;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.18)}
#hcaChatMount .hcx-fab{width:42px;height:42px;color:var(--hcx-icon);box-shadow:0 1px 3px rgba(11,20,26,.3)}
#hcaChatMount .hcx-mm{width:26px;height:24px;color:var(--hcx-muted)}
#hcaChatMount .hcx-media{width:min(300px,64vw);margin:-3px -5px 3px -6px}
#hcaChatMount .hcx-m.k-image:not(:has(.hcx-txt)) .hcx-media{margin-bottom:-4px}
#hcaChatMount .hcx-q{width:100%;margin:0 0 5px;line-height:1.35}
#hcaChatMount .hcx-vp{width:36px;height:36px;color:var(--hcx-muted2)}
#hcaChatMount .hcx-vs{min-width:34px;color:var(--hcx-muted2)}
#hcaChatMount .hcx-callm{min-width:210px;line-height:1.3}
#hcaChatMount .hcx-chip{color:var(--hcx-ink)}
#hcaChatMount .hcx-chip:hover{color:var(--hcx-acc)}
#hcaChatMount .hcx-link{color:var(--hcx-acc)}
#hcaChatMount .hcx-btn{height:36px;color:#111b21}
#hcaChatMount .hcx-btn.sm{height:32px}
#hcaChatMount .hcx-btn.pri{color:#fff}
#hcaChatMount a.hcx-doc{color:var(--hcx-ink)}
#hcaChatMount .hcx-txt a{color:#027eb5}
.hca-dark #hcaChatMount .hcx-txt a{color:#53bdeb}
#hcaChatMount .hcx-prog{color:#fff}
.hcx-av.hcx-bav{background:var(--hcx-acc)}

/* ---------- phones: no zoom when typing (iPhone zooms into text boxes under 16px), keyboard, edges (5.23) */
.hcx{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (hover:none) and (pointer:coarse){
  .hcx-in,.hcx-cap,.hcx-search input,.hcx-mod input,.hcx-qr input{font-size:16px!important}
}
.hcx-solo.hcx-full{width:100%;max-width:100vw;overflow:hidden}
.hcx-solo.hcx-full .hcx-chat,.hcx-solo.hcx-full .hcx-body,.hcx-solo.hcx-full .hcx-log{max-width:100%;overflow-x:hidden}
.hcx-log{overscroll-behavior:contain}
.hcx-solo.hcx-full.kb .hcx-comp{padding-bottom:8px}
.hcx-head .hcx-ha{flex:none}
.hcx-head .hcx-who{min-width:0}
.hcx-head .hcx-who b,.hcx-head .hcx-who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- calls like a phone app (5.23): floating video window, green bar, decline with a message */
.hcx-call.mini{inset:auto 16px calc(env(safe-area-inset-bottom,0px) + 96px) auto;width:clamp(116px,26vw,220px);height:auto;aspect-ratio:3/4;display:block;border-radius:16px;box-shadow:0 12px 34px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.12);cursor:grab;touch-action:none;animation:hcxIn .18s ease}
.hcx-call.mini[style*="left"]{right:auto;bottom:auto}
.hcx-call.mini:active{cursor:grabbing}
.hcx-call.mini>*:not(.hcx-rv):not(.hcx-ra){display:none!important}
.hcx-call.mini::before{display:none}
.hcx-call.mini .hcx-rv{object-fit:cover!important;background:#000}
.hcx-call.mini::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 -40px 30px -24px rgba(0,0,0,.45)}
@media (min-width:783px){.hcx-call.mini{aspect-ratio:4/3;width:clamp(200px,22vw,300px);bottom:24px;right:24px}}
.hcx-ctop-r{display:flex;align-items:center;justify-content:flex-end;gap:8px}
/* the green "return to the call" bar on phones, like WhatsApp */
@media (max-width:782px){
  .hcx-cpill{left:0;right:0;top:0;transform:none;max-width:none;width:100%;justify-content:center;border-radius:0;padding:calc(env(safe-area-inset-top,0px) + 9px) 16px 9px;box-shadow:none}
  .hcx-cpill b{display:inline!important;font-weight:500;opacity:.9}
  body.admin-bar .hcx-cpill{top:46px}
}
/* decline with a message */
.hcx-qr{position:absolute;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 18px);z-index:6;display:grid;gap:6px;width:min(440px,calc(100% - 24px));padding:14px;border-radius:20px;background:rgba(32,44,51,.96);box-shadow:0 18px 48px rgba(0,0,0,.5);transform:translateX(-50%);animation:hcxUp .18s ease;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.hcx-qr>b{padding:2px 6px 6px;font-size:13px;font-weight:600;letter-spacing:.02em;opacity:.7}
.hcx-qr>button{display:block;width:100%;padding:12px 14px;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:15px;text-align:left;cursor:pointer}
.hcx-qr>button:hover,.hcx-qr>button:focus-visible{background:rgba(255,255,255,.16);outline:0}
.hcx-qr-f{display:flex;gap:8px;margin-top:4px}
.hcx-qr-f input{flex:1;min-width:0;height:46px;margin:0;padding:0 14px;border:0;border-radius:23px;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-size:15px;outline:0;box-shadow:none}
.hcx-qr-f input::placeholder{color:rgba(255,255,255,.6)}
.hcx-qr-f .hcx-send{flex:none}
.hcx-qr .hcx-qr-x{text-align:center;background:transparent;color:rgba(255,255,255,.75)}
@media (hover:none) and (pointer:coarse){.hcx-qr-f input{font-size:16px}}
@keyframes hcxUp{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media (max-width:782px){.hcx-cpill{animation:hcxIn .15s ease}}

/* ---------- the Chats window (opened on its own, like the WhatsApp app) (5.23) */
body.hca-chat-win .hcx-wrap{margin:0}
body.hca-chat-win .hcx-app{position:fixed;inset:0;height:auto;min-height:0;border:0;border-radius:0;box-shadow:none;z-index:9989}
@media (max-width:782px){body.hca-chat-win .hcx-app{top:0}}
.hcx-side-h .hcx-hb[data-ia="win"] .hcx-i{width:20px;height:20px}

/* ---------- Calls list (5.23) */
.hcx-cl{gap:4px;padding-right:8px;cursor:default}
.hcx-cl-a{flex:1;min-width:0;display:flex;align-items:center;gap:13px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hcx-cl .hcx-hb{flex:none;color:#008069}
.hcx-cl .hcx-hb:hover{background:rgba(0,128,105,.08)}
.hcx-cl b.red,.hcx-it-p.red{color:#ea0038}
.hcx-cl .hcx-it-p>.hcx-i:first-child{width:14px;height:14px}
.hca-dark .hcx-cl .hcx-hb,.hcx.dark .hcx-cl .hcx-hb{color:#00a884}
.hcx-call.qr-open .hcx-cbar{visibility:hidden}
.hcx-qr{background:#202c33}
.hcx-cpill{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.hcx-cpill .t{flex:none;font-variant-numeric:tabular-nums}
@media (max-width:782px){.hcx-cpill .n{display:none}.hcx-cpill b{order:1;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;padding-left:0;border-left:0}.hcx-cpill .t{order:2;padding-left:6px}}

/* ---------- phones: like the WhatsApp app (5.24) */
.hcx-at-in{display:none}
.hcx,.hcx button,.hcx a,.hcx [data-a],.hcx-call button{-webkit-tap-highlight-color:transparent}
.hcx-chat,.hcx-call,.hcx-app{touch-action:manipulation}
.hcx-m.new{animation:hcxMsgIn .22s cubic-bezier(.2,.8,.3,1)}
@keyframes hcxMsgIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hcx-m.new{animation:none}}
@media (max-width:859px){
  .hcx-chat{font-size:16px}
  .hcx-b{font-size:16px;line-height:1.36;padding:6px 9px 8px 10px;border-radius:10px}
  .hcx-m.first.them .hcx-b{border-top-left-radius:0}
  .hcx-m.first.me .hcx-b{border-top-right-radius:0}
  .hcx-m{margin:2px 0}
  .hcx-m.first{margin-top:8px}
  .hcx-meta{font-size:11.5px;gap:4px}
  .hcx-b>.hcx-meta{right:8px;bottom:5px}
  .hcx-sp{width:44px}
  .hcx-m.me .hcx-sp{width:68px}
  .hcx-by{font-size:13.5px;margin-bottom:1px}
  .hcx-q{font-size:14px}
  .hcx-q b{font-size:13.5px}
  .hcx-doc-t b{font-size:15px}
  .hcx-cmt b{font-size:15.5px}
  .hcx-log{padding:8px 10px 12px}
  .hcx-day span{font-size:13px;padding:5px 12px}
  /* header: big name, 44px buttons */
  .hcx-head{min-height:58px;gap:6px;padding:6px 4px 6px 4px}
  .hcx-who b{font-size:17px}
  .hcx-st{font-size:13px}
  .hcx-hb,#hcaChatMount .hcx-hb{width:44px;height:44px}
  .hcx-hb .hcx-i{width:23px;height:23px}
  /* composer: a white pill with the paper clip and camera inside, and a round green button */
  .hcx-comp{padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px)) 8px;background:transparent}
  .hcx-crow{gap:6px}
  .hcx-at-out,#hcaChatMount .hcx-at-out{display:none}
  .hcx-at-in,#hcaChatMount .hcx-at-in{display:grid;width:40px;height:48px}
  .hcx-inw{min-height:48px;padding:0 2px 0 16px;border-radius:24px;box-shadow:0 1px 1.5px rgba(11,20,26,.13)}
  .hcx textarea.hcx-in{min-height:48px;padding:13px 0!important;line-height:22px}
  .hcx-inw .hcx-cam,#hcaChatMount .hcx-inw .hcx-cam{width:40px;height:48px}
  .hcx-send,#hcaChatMount .hcx-send{width:48px;height:48px}
  .hcx-send .hcx-i{width:24px;height:24px}
  .hcx-rec{min-height:48px}
  .hcx-fab,#hcaChatMount .hcx-fab{width:44px;height:44px}
}
@media (hover:none) and (pointer:coarse){
  /* long press opens our message menu (with Copy), so the phone's own text-selection menu stays out of the way */
  .hcx-b{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
  .hcx-hb:active,.hcx-cb:active,.hcx-fab:active{background:var(--hcx-hover)}
  .hcx-m:active .hcx-b{filter:brightness(.96)}
  .hcx-send:active{transform:scale(.92)}
}
.hca-dark .hcx-inw{box-shadow:none}

/* ---------- contact info (tap the name at the top) (5.24) */
.hcx-whob,#hcaChatMount .hcx-whob{flex:1;min-width:0;display:flex;align-items:center;gap:10px;width:auto;height:auto;margin:0;padding:2px 6px 2px 2px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hcx-whob:hover{background:var(--hcx-hover)}
.hcx-info{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;background:var(--hcx-head);color:var(--hcx-ink);animation:hcxInfoIn .2s cubic-bezier(.2,.8,.3,1)}
.hcx-info.out{animation:hcxInfoOut .18s ease forwards}
@keyframes hcxInfoIn{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes hcxInfoOut{to{transform:translateX(24px);opacity:0}}
.hcx-info-h{display:flex;align-items:center;gap:8px;min-height:58px;padding:6px 8px calc(6px);padding-top:calc(6px + env(safe-area-inset-top,0px));background:var(--hcx-head);border-bottom:1px solid var(--hcx-line)}
.hcx-info-h b{font-size:17px;font-weight:600}
.hcx-info-b{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
.hcx-info-me{display:grid;justify-items:center;gap:4px;padding:26px 16px 22px;background:var(--hcx-input);text-align:center;margin-bottom:10px}
.hcx-info-me .hcx-av{width:96px;height:96px;font-size:32px;margin-bottom:10px}
.hcx-info-me>b{font-size:21px;font-weight:600}
.hcx-info-me>span:not(.hcx-av){color:var(--hcx-muted);font-size:14px}
.hcx-info-a{display:flex;justify-content:center;gap:12px;margin-top:16px;flex-wrap:wrap}
.hcx-info-a>button,.hcx-info-a>a,#hcaChatMount .hcx-info-a>button{display:grid;justify-items:center;gap:6px;width:96px;height:auto;padding:12px 6px 10px;border:1px solid var(--hcx-line);border-radius:12px;background:transparent;color:var(--hcx-acc);font:inherit;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer}
.hcx-info-a .hcx-i{width:24px;height:24px}
.hcx-info-a>*:hover{background:var(--hcx-hover)}
.hcx-info-s{margin:0 0 10px;padding:14px 16px;background:var(--hcx-input)}
.hcx-info-s>b{display:flex;justify-content:space-between;margin-bottom:10px;font-size:14px;font-weight:600;color:var(--hcx-muted2)}
.hcx-info-s>b small{font-weight:500;color:var(--hcx-muted)}
.hcx-info-s p{margin:0;color:var(--hcx-muted);font-size:14px}
.hcx-info-hrs p{display:flex;align-items:center;gap:9px;color:var(--hcx-ink)}
.hcx-info-hrs p .hcx-i{flex:none;width:18px;height:18px;color:var(--hcx-icon)}
.hcx-info-hrs p span{flex:1;min-width:0}
.hcx-info-hrs em{flex:none;padding:3px 9px;border-radius:12px;background:var(--hcx-hover,#f0f2f5);color:var(--hcx-muted);font-size:12.5px;font-style:normal;font-weight:600}
.hcx-info-hrs em.on{background:rgba(37,211,102,.16);color:#128c4b}
.hcx-info-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:4px}
.hcx-info-g button,#hcaChatMount .hcx-info-g button{display:block;width:100%;height:auto;aspect-ratio:1;padding:0;border:0;border-radius:6px;overflow:hidden;background:var(--hcx-q);cursor:zoom-in}
.hcx-info-g img{display:block;width:100%;height:100%;object-fit:cover}
.hcx-info-d{display:flex;align-items:center;gap:12px;padding:8px 0;color:inherit;text-decoration:none;border-bottom:1px solid var(--hcx-line)}
.hcx-info-d:last-child{border-bottom:0}
.hcx-info-d>span:last-child{min-width:0;display:grid}
.hcx-info-d b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcx-info-d small{color:var(--hcx-muted);font-size:12.5px}
.hcx-info-n{display:flex;gap:8px;align-items:flex-start;margin:6px 16px 0;color:var(--hcx-muted);font-size:13px;line-height:1.45}
.hcx-info-n .hcx-i{flex:none;width:15px;height:15px;margin-top:2px}
@media (prefers-reduced-motion:reduce){.hcx-info,.hcx-info.out{animation:none}}

/* ---------- phones: when the chat is open, only the chat shows (5.24.1). The rest of the page is hidden, so it
   can't peek out below the message box, for example behind the iPhone's see-through address bar and keyboard bar. */
html.hcx-lock,html.hcx-lock body{background:#efeae2!important}
html.hcx-lock body:has(#hca.hca-dark),html.hcx-lock:has(#hca.hca-dark){background:#0b141a!important}
html.hcx-lock #hca,html.hcx-lock #hca *{visibility:hidden!important}
html.hcx-lock #hca .hcx-solo.hcx-full,html.hcx-lock #hca .hcx-solo.hcx-full *{visibility:visible!important}
html.hcx-lock #hca .hcx-solo.hcx-full [hidden]{display:none!important}
