/* HENDAR UALL-H — complete communications experience, RTL/LTR responsive */
.hendar-chat-widget-v084 {
  --hcw-brand-950: #062f36;
  --hcw-brand-900: #084c52;
  --hcw-brand-800: #076b64;
  --hcw-brand-700: #0b8175;
  --hcw-brand-600: #0f9d8b;
  --hcw-brand-500: #14b8a6;
  --hcw-brand-100: #d9f7f1;
  --hcw-brand-50: #effcf9;
  --hcw-ink: #152330;
  --hcw-muted: #667582;
  --hcw-line: #dce5e8;
  --hcw-surface: #ffffff;
  --hcw-canvas: #edf4f3;
  --hcw-mine: #d7f8e7;
  --hcw-danger: #e64858;
  --hcw-warning: #f59e0b;
  --hcw-left-safe: 0px;
  --hcw-right-safe: 0px;
  position: fixed;
  z-index: 11020;
  right: calc(22px + var(--hcw-right-safe));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: max-content;
  color: var(--hcw-ink);
  direction: rtl;
  font-family: Tajawal, "Noto Sans Arabic", "Noto Kufi Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
.hendar-chat-widget-v084[dir="ltr"] { direction: ltr; }
.hendar-chat-widget-v084[data-hcw-anchor="right"] { right: auto; left: calc(22px + var(--hcw-left-safe)); }
.hendar-chat-widget-v084 *, .hendar-chat-widget-v084 *::before, .hendar-chat-widget-v084 *::after { box-sizing: border-box; }
.hendar-chat-widget-v084 [hidden] { display: none !important; }
.hendar-chat-widget-v084 button, .hendar-chat-widget-v084 input, .hendar-chat-widget-v084 textarea, .hendar-chat-widget-v084 select { font: inherit; }
.hendar-chat-widget-v084 button, .hendar-chat-widget-v084 label { -webkit-tap-highlight-color: transparent; }
.hendar-chat-widget-v084 .hcw-ui-icon, .hendar-chat-widget-v084 .hcw-call-icon, .hendar-chat-widget-v084 .hcw-chat-mark { display: block; width: 21px; height: 21px; flex: 0 0 auto; }
.hendar-chat-widget-v084 .hcw-chat-mark-frame { fill: none; stroke: currentColor; stroke-width: 1.7; }
.hendar-chat-widget-v084 .hcw-chat-mark-bridge { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.hendar-chat-widget-v084 .hcw-chat-mark circle { fill: currentColor; }

.hendar-chat-widget-v084 .hcw-launcher { display: flex; align-items: center; gap: 11px; }
.hendar-chat-widget-v084 .hcw-launcher-button { position: relative; display: grid; width: 58px; height: 58px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 35%); border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--hcw-brand-600), var(--hcw-brand-900)); box-shadow: 0 15px 35px rgb(6 47 54 / 28%), inset 0 1px 0 rgb(255 255 255 / 22%); cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.hendar-chat-widget-v084 .hcw-launcher-button:hover { transform: translateY(-2px); box-shadow: 0 19px 40px rgb(6 47 54 / 34%), inset 0 1px 0 rgb(255 255 255 / 28%); filter: saturate(1.08); }
.hendar-chat-widget-v084 .hcw-launcher-button:active { transform: translateY(0) scale(.97); }
.hendar-chat-widget-v084 .hcw-launcher-icon .hcw-chat-mark { width: 29px; height: 29px; }
.hendar-chat-widget-v084 .hcw-support-launcher { color: var(--hcw-brand-900); background: rgb(255 255 255 / 96%); border-color: rgb(8 76 82 / 18%); font-size: 24px; font-weight: 800; }
.hendar-chat-widget-v084 .hcw-unread-badge { position: absolute; top: -7px; inset-inline-end: -7px; display: grid; min-width: 23px; height: 23px; padding-inline: 6px; place-items: center; border: 3px solid #fff; border-radius: 999px; background: var(--hcw-danger); color: #fff; font-size: 10px; font-weight: 800; }
.hendar-chat-widget-v084 .hcw-scrim { display: none; }

.hendar-chat-widget-v084 .hcw-drawer { position: absolute; right: 0; bottom: 74px; display: grid; width: min(510px, calc(100vw - var(--hcw-left-safe) - var(--hcw-right-safe) - 44px)); height: min(790px, calc(100vh - 118px)); min-width: 390px; min-height: 540px; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border: 1px solid rgb(8 76 82 / 14%); border-radius: 28px; background: var(--hcw-surface); box-shadow: 0 30px 90px rgb(3 30 37 / 28%), 0 4px 16px rgb(3 30 37 / 10%); transform-origin: bottom right; animation: hcw-drawer-enter 210ms cubic-bezier(.2,.75,.25,1) both; }
.hendar-chat-widget-v084[data-hcw-anchor="right"] .hcw-drawer { right: auto; left: 0; transform-origin: bottom left; }
@keyframes hcw-drawer-enter { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.hendar-chat-widget-v084 .hcw-drawer-header { position: relative; z-index: 6; display: grid; gap: 11px; padding: 16px 17px 13px; border-block-end: 1px solid var(--hcw-line); background: rgb(255 255 255 / 94%); box-shadow: 0 4px 14px rgb(20 56 62 / 4%); backdrop-filter: blur(18px) saturate(1.35); }
.hendar-chat-widget-v084 .hcw-header-primary { display: flex; min-width: 0; align-items: center; gap: 11px; }
.hendar-chat-widget-v084 .hcw-heading { display: flex; min-width: 0; flex: 1; align-items: center; gap: 11px; }
.hendar-chat-widget-v084 .hcw-conversation-avatar { position: relative; display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; overflow: hidden; border: 1px solid rgb(15 157 139 / 18%); border-radius: 16px; background: linear-gradient(145deg, var(--hcw-brand-50), #d7f7ee); color: var(--hcw-brand-800); font-size: 14px; font-weight: 850; }
.hendar-chat-widget-v084 .hcw-conversation-avatar::after { position: absolute; right: 3px; bottom: 3px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #23c483; content: ""; }
.hendar-chat-widget-v084 .hcw-conversation-avatar .hcw-chat-mark { width: 26px; height: 26px; }
.hendar-chat-widget-v084 .hcw-heading-text { display: grid; min-width: 0; align-content: center; }
.hendar-chat-widget-v084 .hcw-eyebrow { overflow: hidden; color: var(--hcw-brand-700); font-size: 9px; font-weight: 850; letter-spacing: .13em; line-height: 1.2; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-title { overflow: hidden; color: var(--hcw-ink); font-size: 17px; font-weight: 800; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-subtitle { overflow: hidden; color: var(--hcw-muted); font-size: 10.5px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.hendar-chat-widget-v084 .hcw-icon-button { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 13px; background: transparent; color: #42545f; cursor: pointer; transition: background 150ms ease, color 150ms ease, transform 150ms ease, border-color 150ms ease; }
.hendar-chat-widget-v084 .hcw-icon-button:hover { border-color: rgb(15 157 139 / 17%); background: var(--hcw-brand-50); color: var(--hcw-brand-800); transform: translateY(-1px); }
.hendar-chat-widget-v084 .hcw-voice-call-button, .hendar-chat-widget-v084 .hcw-video-call-button { background: var(--hcw-brand-50); color: var(--hcw-brand-800); }
.hendar-chat-widget-v084 .hcw-close-button { color: #75838d; }
.hendar-chat-widget-v084 .hcw-back-button { flex: 0 0 38px; }
.hendar-chat-widget-v084[dir="rtl"] .hcw-back-button .hcw-ui-icon { transform: scaleX(-1); }
.hendar-chat-widget-v084 .hcw-header-filters { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 9px; }
.hendar-chat-widget-v084 .hcw-project-selector, .hendar-chat-widget-v084 .hcw-message-search { width: 100%; min-width: 0; height: 39px; border: 1px solid var(--hcw-line); border-radius: 12px; background-color: #f8fbfb; color: #344650; outline: none; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }
.hendar-chat-widget-v084 .hcw-project-selector { padding-inline: 10px 30px; font-size: 11px; }
.hendar-chat-widget-v084 .hcw-message-search { padding-inline: 13px; font-size: 12px; -webkit-appearance: none; }
.hendar-chat-widget-v084 .hcw-project-selector:hover, .hendar-chat-widget-v084 .hcw-message-search:hover { background: #fff; }
.hendar-chat-widget-v084 .hcw-project-selector:focus, .hendar-chat-widget-v084 .hcw-message-search:focus { border-color: var(--hcw-brand-500); background: #fff; box-shadow: 0 0 0 3px rgb(20 184 166 / 12%); }

.hendar-chat-widget-v084 .hcw-panel, .hendar-chat-widget-v084 .hcw-chat-layout, .hendar-chat-widget-v084 .hcw-conversation { min-width: 0; min-height: 0; }
.hendar-chat-widget-v084 .hcw-chat-panel, .hendar-chat-widget-v084 .hcw-chat-layout { height: 100%; }
.hendar-chat-widget-v084 .hcw-chat-layout { position: relative; overflow: hidden; }
.hendar-chat-widget-v084 .hcw-conversation { position: relative; display: grid; height: 100%; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; background: var(--hcw-canvas); }
.hendar-chat-widget-v084 .hcw-status { position: absolute; z-index: 5; top: 10px; left: 50%; max-width: calc(100% - 30px); padding: 8px 13px; border: 1px solid rgb(8 76 82 / 13%); border-radius: 999px; background: rgb(255 255 255 / 94%); box-shadow: 0 8px 22px rgb(6 47 54 / 13%); color: var(--hcw-brand-900); font-size: 11px; font-weight: 700; text-align: center; transform: translateX(-50%); backdrop-filter: blur(10px); }
.hendar-chat-widget-v084 .hcw-status[data-tone="error"] { color: #b42336; }
.hendar-chat-widget-v084 .hcw-status[data-tone="warning"] { color: #9a5b05; }
.hendar-chat-widget-v084 .hcw-load-older { z-index: 2; grid-row: 1; justify-self: center; margin: 9px 0 0; padding: 6px 13px; border: 1px solid rgb(8 76 82 / 13%); border-radius: 999px; background: rgb(255 255 255 / 92%); color: var(--hcw-brand-800); font-size: 10px; font-weight: 750; box-shadow: 0 4px 12px rgb(6 47 54 / 8%); cursor: pointer; }
.hendar-chat-widget-v084 .hcw-messages { position: relative; display: flex; min-height: 0; grid-row: 2; flex-direction: column; gap: 8px; padding: 19px 17px 22px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgb(8 76 82 / 25%) transparent; background-color: #edf4f2; background-image: radial-gradient(circle at 14px 14px, rgb(8 76 82 / 3.5%) 1px, transparent 1.5px), radial-gradient(circle at 42px 42px, rgb(8 76 82 / 2.8%) 1px, transparent 1.5px), linear-gradient(135deg, rgb(255 255 255 / 32%), transparent 42%); background-size: 56px 56px, 56px 56px, 100% 100%; scroll-behavior: smooth; }
.hendar-chat-widget-v084 .hcw-messages::-webkit-scrollbar { width: 6px; }
.hendar-chat-widget-v084 .hcw-messages::-webkit-scrollbar-thumb { border-radius: 8px; background: rgb(8 76 82 / 22%); }
.hendar-chat-widget-v084 .hcw-message { position: relative; display: flex; width: 100%; align-items: flex-end; gap: 7px; direction: ltr; }
.hendar-chat-widget-v084 .hcw-message.is-mine { justify-content: flex-end; }
.hendar-chat-widget-v084 .hcw-message.is-theirs { justify-content: flex-start; }
.hendar-chat-widget-v084 .hcw-message.is-mine .hcw-avatar { display: none; }
.hendar-chat-widget-v084 .hcw-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; overflow: hidden; border: 2px solid rgb(255 255 255 / 80%); border-radius: 50%; background: linear-gradient(145deg, #c7f4e7, #edfdf8); color: var(--hcw-brand-900); font-size: 10px; font-weight: 850; box-shadow: 0 3px 9px rgb(6 47 54 / 10%); }
.hendar-chat-widget-v084 .hcw-bubble { position: relative; display: grid; width: fit-content; max-width: min(79%, 370px); min-width: 92px; gap: 4px; padding: 9px 11px 6px; border: 1px solid rgb(23 47 54 / 8%); border-radius: 16px 16px 16px 5px; background: #fff; box-shadow: 0 2px 7px rgb(18 44 50 / 8%); color: var(--hcw-ink); direction: rtl; text-align: start; }
.hendar-chat-widget-v084[dir="ltr"] .hcw-bubble, .hendar-chat-widget-v084[dir="ltr"] .hcw-message-time { direction: ltr; }
.hendar-chat-widget-v084 .hcw-message.is-mine .hcw-bubble { border-color: rgb(15 157 139 / 13%); border-radius: 16px 16px 5px 16px; background: var(--hcw-mine); }
.hendar-chat-widget-v084 .hcw-bubble::after { position: absolute; bottom: -1px; left: -5px; width: 10px; height: 12px; background: inherit; clip-path: polygon(100% 0, 100% 100%, 0 100%); content: ""; }
.hendar-chat-widget-v084 .hcw-message.is-mine .hcw-bubble::after { right: -5px; left: auto; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.hendar-chat-widget-v084 .hcw-sender { color: var(--hcw-brand-800); font-size: 11px; font-weight: 800; }
.hendar-chat-widget-v084 .hcw-message-body { margin: 0; color: #1e3039; font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; unicode-bidi: plaintext; }
.hendar-chat-widget-v084 .hcw-message.is-deleted .hcw-message-body { color: #829098; font-style: italic; }
.hendar-chat-widget-v084 .hcw-reply { display: grid; gap: 1px; margin-block-end: 3px; padding: 7px 9px; border-inline-start: 3px solid var(--hcw-brand-600); border-radius: 8px; background: rgb(6 47 54 / 6%); color: #50636d; font-size: 10px; }
.hendar-chat-widget-v084 .hcw-reply strong { color: var(--hcw-brand-800); }
.hendar-chat-widget-v084 .hcw-message-time { justify-self: end; color: #718088; direction: rtl; font-size: 8.5px; line-height: 1.2; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-edited { color: #849198; }
.hendar-chat-widget-v084 .hcw-message-actions { position: absolute; z-index: 2; top: -13px; inset-inline-end: 8px; display: flex; gap: 2px; padding: 3px; border: 1px solid rgb(8 76 82 / 12%); border-radius: 10px; background: rgb(255 255 255 / 96%); box-shadow: 0 6px 17px rgb(6 47 54 / 13%); opacity: 0; pointer-events: none; transform: translateY(3px); transition: opacity 130ms ease, transform 130ms ease; }
.hendar-chat-widget-v084 .hcw-message:hover .hcw-message-actions, .hendar-chat-widget-v084 .hcw-message:focus-within .hcw-message-actions { opacity: 1; pointer-events: auto; transform: translateY(0); }
.hendar-chat-widget-v084 .hcw-message-actions button { display: grid; width: 28px; height: 27px; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #60717b; cursor: pointer; }
.hendar-chat-widget-v084 .hcw-message-actions button:hover { background: var(--hcw-brand-50); color: var(--hcw-brand-800); }
.hendar-chat-widget-v084 .hcw-message-actions .hcw-delete-action:hover { background: #fff0f1; color: var(--hcw-danger); }
.hendar-chat-widget-v084 .hcw-message-actions .hcw-ui-icon { width: 14px; height: 14px; }
.hendar-chat-widget-v084 .hcw-message-actions .hcw-control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hendar-chat-widget-v084 .hcw-attachments { display: grid; gap: 5px; }
.hendar-chat-widget-v084 .hcw-attachment { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 8px; border: 1px solid rgb(8 76 82 / 11%); border-radius: 10px; background: rgb(255 255 255 / 63%); color: var(--hcw-brand-900); font-size: 10px; font-weight: 700; text-decoration: none; }
.hendar-chat-widget-v084 .hcw-attachment:hover { border-color: var(--hcw-brand-500); }
.hendar-chat-widget-v084 .hcw-attachment > span:not(.hcw-attachment-icon) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-attachment-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: var(--hcw-brand-100); }
.hendar-chat-widget-v084 .hcw-attachment-icon .hcw-ui-icon { width: 14px; height: 14px; }
.hendar-chat-widget-v084 .hcw-attachment small { color: var(--hcw-muted); font-size: 8px; }
.hendar-chat-widget-v084 .hcw-empty { display: grid; align-self: center; justify-self: center; gap: 5px; width: min(290px, 88%); margin: auto; padding: 24px; border: 1px solid rgb(8 76 82 / 10%); border-radius: 20px; background: rgb(255 255 255 / 72%); color: var(--hcw-muted); text-align: center; box-shadow: 0 10px 28px rgb(6 47 54 / 7%); backdrop-filter: blur(8px); }
.hendar-chat-widget-v084 .hcw-empty strong { color: var(--hcw-ink); font-size: 14px; }
.hendar-chat-widget-v084 .hcw-empty span { font-size: 11px; }

.hendar-chat-widget-v084 .hcw-composer { position: relative; z-index: 4; display: grid; grid-row: 3; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 8px; padding: 11px 12px calc(11px + env(safe-area-inset-bottom, 0px)); border-block-start: 1px solid var(--hcw-line); background: rgb(255 255 255 / 96%); box-shadow: 0 -7px 22px rgb(16 45 50 / 5%); backdrop-filter: blur(14px); }
.hendar-chat-widget-v084 .hcw-reply-preview { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border-inline-start: 3px solid var(--hcw-brand-600); border-radius: 9px; background: var(--hcw-brand-50); color: #4e626c; font-size: 10px; }
.hendar-chat-widget-v084 .hcw-reply-preview > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-cancel-reply { display: grid; width: 26px; height: 26px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgb(8 76 82 / 7%); color: var(--hcw-brand-900); cursor: pointer; }
.hendar-chat-widget-v084 .hcw-cancel-reply .hcw-ui-icon { width: 14px; height: 14px; }
.hendar-chat-widget-v084 .hcw-media-actions { display: flex; align-items: center; gap: 3px; padding-block-end: 2px; }
.hendar-chat-widget-v084 .hcw-attach-button, .hendar-chat-widget-v084 .hcw-camera-button { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: #5b6d76; cursor: pointer; transition: color 140ms ease, background 140ms ease, transform 140ms ease; }
.hendar-chat-widget-v084 .hcw-attach-button:hover, .hendar-chat-widget-v084 .hcw-camera-button:hover { background: var(--hcw-brand-50); color: var(--hcw-brand-800); transform: translateY(-1px); }
.hendar-chat-widget-v084 .hcw-attach-button .hcw-ui-icon, .hendar-chat-widget-v084 .hcw-camera-button .hcw-ui-icon { width: 20px; height: 20px; }
.hendar-chat-widget-v084 .hcw-file-input, .hendar-chat-widget-v084 .hcw-camera-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.hendar-chat-widget-v084 .hcw-message-input { width: 100%; min-height: 44px; max-height: 120px; padding: 11px 15px; resize: none; overflow-y: auto; border: 1px solid var(--hcw-line); border-radius: 22px; background: #f6f9f9; color: var(--hcw-ink); outline: none; line-height: 1.5; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }
.hendar-chat-widget-v084 .hcw-message-input:focus { border-color: var(--hcw-brand-500); background: #fff; box-shadow: 0 0 0 3px rgb(20 184 166 / 10%); }
.hendar-chat-widget-v084 .hcw-message-input::placeholder { color: #8a979e; }
.hendar-chat-widget-v084 .hcw-send-button { display: grid; width: 45px; height: 45px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(145deg, var(--hcw-brand-600), var(--hcw-brand-800)); color: #fff; box-shadow: 0 8px 18px rgb(8 76 82 / 24%); cursor: pointer; transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease; }
.hendar-chat-widget-v084 .hcw-send-button:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 10px 21px rgb(8 76 82 / 30%); }
.hendar-chat-widget-v084 .hcw-send-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.hendar-chat-widget-v084 .hcw-send-button .hcw-ui-icon { width: 20px; height: 20px; }
.hendar-chat-widget-v084[dir="rtl"] .hcw-send-button .hcw-ui-icon { transform: scaleX(-1); }
.hendar-chat-widget-v084 .hcw-send-button .hcw-control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hendar-chat-widget-v084 .hcw-file-summary { grid-column: 1 / -1; display: none; overflow: hidden; color: var(--hcw-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-composer[data-pending-files="true"] .hcw-file-summary { display: block; }

.hendar-chat-widget-v084 .hcw-voice-call { position: absolute; z-index: 12; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; overflow: hidden; padding: 52px 24px 38px; background: radial-gradient(circle at 50% 17%, rgb(45 212 191 / 32%), transparent 32%), linear-gradient(155deg, #0c5f5b 0%, #083f47 48%, #071f2c 100%); color: #fff; text-align: center; isolation: isolate; }
.hendar-chat-widget-v084 .hcw-voice-call::before, .hendar-chat-widget-v084 .hcw-voice-call::after { position: absolute; z-index: -1; width: 280px; height: 280px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 50%; content: ""; }
.hendar-chat-widget-v084 .hcw-voice-call::before { top: -110px; right: -90px; }
.hendar-chat-widget-v084 .hcw-voice-call::after { bottom: -150px; left: -100px; }
.hendar-chat-widget-v084 .hcw-voice-call-identity { display: grid; justify-items: center; gap: 21px; max-width: 360px; }
.hendar-chat-widget-v084 .hcw-voice-call-avatar { position: relative; display: grid; width: 116px; height: 116px; place-items: center; border: 1px solid rgb(255 255 255 / 26%); border-radius: 38px; background: linear-gradient(145deg, rgb(255 255 255 / 23%), rgb(255 255 255 / 8%)); color: #fff; box-shadow: 0 25px 55px rgb(0 0 0 / 28%), inset 0 1px 0 rgb(255 255 255 / 22%); backdrop-filter: blur(16px); }
.hendar-chat-widget-v084 .hcw-voice-call-avatar .hcw-call-icon { width: 44px; height: 44px; }
.hendar-chat-widget-v084 .hcw-voice-call.is-ringing .hcw-voice-call-avatar::before, .hendar-chat-widget-v084 .hcw-voice-call.is-ringing .hcw-voice-call-avatar::after { position: absolute; inset: -13px; border: 1px solid rgb(94 234 212 / 45%); border-radius: 45px; content: ""; animation: hcw-ring-pulse 1.8s ease-out infinite; }
.hendar-chat-widget-v084 .hcw-voice-call.is-ringing .hcw-voice-call-avatar::after { animation-delay: .6s; }
@keyframes hcw-ring-pulse { 0% { opacity: .8; transform: scale(.86); } 100% { opacity: 0; transform: scale(1.3); } }
.hendar-chat-widget-v084 .hcw-voice-call-text { display: grid; gap: 8px; }
.hendar-chat-widget-v084 .hcw-voice-call-text strong { color: #fff; font-size: 24px; font-weight: 800; }
.hendar-chat-widget-v084 .hcw-voice-call-text small { color: rgb(236 254 255 / 76%); font-size: 12px; line-height: 1.7; }
.hendar-chat-widget-v084 .hcw-voice-call-actions { display: flex; max-width: 100%; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 14px 18px; }
.hendar-chat-widget-v084 .hcw-call-action { display: grid; width: 68px; min-height: 89px; grid-template-rows: 58px auto; place-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: rgb(240 253 250 / 90%); cursor: pointer; }
.hendar-chat-widget-v084 .hcw-call-action > .hcw-ui-icon, .hendar-chat-widget-v084 .hcw-call-action > .hcw-call-icon { width: 58px; height: 58px; padding: 17px; border: 1px solid rgb(255 255 255 / 19%); border-radius: 50%; background: rgb(255 255 255 / 13%); box-shadow: 0 10px 25px rgb(0 0 0 / 18%); transition: transform 140ms ease, background 140ms ease; backdrop-filter: blur(10px); }
.hendar-chat-widget-v084 .hcw-call-action:hover > .hcw-ui-icon, .hendar-chat-widget-v084 .hcw-call-action:hover > .hcw-call-icon { transform: translateY(-2px); background: rgb(255 255 255 / 22%); }
.hendar-chat-widget-v084 .hcw-call-action .hcw-control-label { font-size: 10px; font-weight: 700; line-height: 1.25; }
.hendar-chat-widget-v084 .hcw-call-accept > .hcw-ui-icon { background: #20b976; border-color: #36d291; }
.hendar-chat-widget-v084 .hcw-call-reject > .hcw-ui-icon, .hendar-chat-widget-v084 .hcw-call-end > .hcw-ui-icon { background: #e44857; border-color: #f46a76; }
.hendar-chat-widget-v084 .hcw-call-action:disabled { opacity: .48; cursor: wait; }

.hendar-chat-widget-v084 .hcw-roster { position: absolute; z-index: 9; top: 0; right: 0; bottom: 0; display: none; width: min(355px, 88%); grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border-inline-start: 1px solid var(--hcw-line); background: rgb(255 255 255 / 98%); box-shadow: -18px 0 48px rgb(4 40 46 / 18%); direction: inherit; animation: hcw-roster-enter 180ms ease both; }
.hendar-chat-widget-v084[dir="ltr"] .hcw-roster { right: auto; left: 0; box-shadow: 18px 0 48px rgb(4 40 46 / 18%); }
.hendar-chat-widget-v084 .hcw-roster.is-open { display: grid; }
@keyframes hcw-roster-enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.hendar-chat-widget-v084[dir="ltr"] .hcw-roster { animation-name: hcw-roster-enter-ltr; }
@keyframes hcw-roster-enter-ltr { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
.hendar-chat-widget-v084 .hcw-roster-header { display: flex; align-items: center; justify-content: space-between; padding: 17px; border-block-end: 1px solid var(--hcw-line); background: linear-gradient(180deg, #fff, #f8fbfb); }
.hendar-chat-widget-v084 .hcw-roster-header strong { font-size: 15px; }
.hendar-chat-widget-v084 .hcw-roster-count, .hendar-chat-widget-v084 .hcw-member-unread { display: grid; min-width: 23px; height: 23px; padding-inline: 6px; place-items: center; border-radius: 999px; background: var(--hcw-brand-100); color: var(--hcw-brand-800); font-size: 9px; font-style: normal; font-weight: 850; }
.hendar-chat-widget-v084 .hcw-roster-list { min-height: 0; padding: 8px; overflow-y: auto; }
.hendar-chat-widget-v084 .hcw-roster-row { display: flex; align-items: center; gap: 5px; padding: 3px; border-radius: 13px; }
.hendar-chat-widget-v084 .hcw-roster-row:hover { background: #f6fafa; }
.hendar-chat-widget-v084 .hcw-roster-row.is-guest { background: #fffbef; }
.hendar-chat-widget-v084 .hcw-roster-member { display: flex; min-width: 0; flex: 1; align-items: center; gap: 10px; padding: 7px; border: 0; border-radius: 11px; background: transparent; color: var(--hcw-ink); text-align: start; cursor: pointer; }
.hendar-chat-widget-v084 .hcw-roster-member:disabled { cursor: default; }
.hendar-chat-widget-v084 .hcw-member-identity { display: grid; min-width: 0; flex: 1; }
.hendar-chat-widget-v084 .hcw-member-identity strong, .hendar-chat-widget-v084 .hcw-member-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084 .hcw-member-identity strong { font-size: 12px; }
.hendar-chat-widget-v084 .hcw-member-identity small { color: var(--hcw-muted); font-size: 9.5px; }
.hendar-chat-widget-v084 .hcw-call-member { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; padding: 0; border: 1px solid rgb(15 157 139 / 18%); border-radius: 50%; background: var(--hcw-brand-50); color: var(--hcw-brand-800); cursor: pointer; }
.hendar-chat-widget-v084 .hcw-call-member .hcw-call-icon { width: 15px; height: 15px; }
.hendar-chat-widget-v084 .hcw-call-member:hover { background: var(--hcw-brand-700); color: #fff; }
.hendar-chat-widget-v084 .hcw-remove-guest { padding: 6px 7px; border: 1px solid #f3c4c9; border-radius: 8px; background: #fff; color: #b42336; font-size: 9px; cursor: pointer; }
.hendar-chat-widget-v084 .hcw-roster-empty { padding: 32px 18px; color: var(--hcw-muted); text-align: center; }
.hendar-chat-widget-v084 .hcw-guest-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; padding: 12px; border-block-start: 1px solid var(--hcw-line); background: #f7fafa; }
.hendar-chat-widget-v084 .hcw-guest-controls label { display: grid; min-width: 0; gap: 5px; color: var(--hcw-muted); font-size: 9px; }
.hendar-chat-widget-v084 .hcw-guest-input { width: 100%; height: 38px; padding-inline: 10px; border: 1px solid var(--hcw-line); border-radius: 10px; background: #fff; outline: none; }
.hendar-chat-widget-v084 .hcw-add-guest, .hendar-chat-widget-v084 .hcw-copy-diagnostics { min-height: 38px; padding: 7px 12px; border: 0; border-radius: 10px; background: var(--hcw-brand-700); color: #fff; font-weight: 750; cursor: pointer; }

.hendar-chat-widget-v084 .hcw-support-panel { height: 100%; padding: 24px; overflow-y: auto; background: #f5f9f9; }
.hendar-chat-widget-v084 .hcw-support-intro { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: center; }
.hendar-chat-widget-v084 .hcw-support-mark { display: grid; width: 50px; height: 50px; grid-row: span 2; place-items: center; border-radius: 16px; background: #dbeafe; color: #1d4ed8; font-size: 24px; font-weight: 850; }
.hendar-chat-widget-v084 .hcw-support-avatar-mark { font-size: 18px; font-weight: 850; }
.hendar-chat-widget-v084 .hcw-support-intro h3, .hendar-chat-widget-v084 .hcw-support-intro p { margin: 0; }
.hendar-chat-widget-v084 .hcw-support-intro p { color: var(--hcw-muted); font-size: 11px; }
.hendar-chat-widget-v084 .hcw-support-checklist { margin-block: 22px; padding-inline-start: 23px; }
.hendar-chat-widget-v084 .hcw-support-checklist li { margin-block: 8px; }
.hendar-chat-widget-v084 .hcw-support-state { margin-block-end: 10px; color: #087c58; font-weight: 700; }
.hendar-chat-widget-v084 .hcw-support-state[data-online="false"] { color: var(--hcw-danger); }
.hendar-chat-widget-v084 .hcw-diagnostics-preview { max-height: 270px; margin: 0; padding: 14px; overflow: auto; border: 1px solid #1d3740; border-radius: 13px; background: #0c222b; color: #c7f9e9; direction: ltr; font: 10px/1.55 Consolas, "Courier New", monospace; text-align: left; white-space: pre-wrap; }
.hendar-chat-widget-v084 .hcw-support-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.hendar-chat-widget-v084 .hcw-open-support { min-height: 38px; padding: 7px 12px; border: 1px solid var(--hcw-line); border-radius: 10px; background: #fff; color: #344650; font-weight: 700; cursor: pointer; }
.hendar-chat-widget-v084 .hcw-copy-fallback { position: fixed; inset: -9999px auto auto -9999px; }
.hendar-chat-widget-v084 button:focus-visible, .hendar-chat-widget-v084 input:focus-visible, .hendar-chat-widget-v084 select:focus-visible, .hendar-chat-widget-v084 textarea:focus-visible, .hendar-chat-widget-v084 label:focus-within { outline: 3px solid rgb(245 158 11 / 78%); outline-offset: 2px; }

@media (hover: none), (pointer: coarse) {
  .hendar-chat-widget-v084 .hcw-message-actions { position: static; justify-self: end; margin-block-start: 2px; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: .72; pointer-events: auto; transform: none; }
  .hendar-chat-widget-v084 .hcw-message-actions button { width: 27px; height: 24px; }
}
@media (max-width: 640px) {
  .hendar-chat-widget-v084, .hendar-chat-widget-v084[data-hcw-anchor="right"] { right: 0; bottom: 0; left: 0; width: auto; }
  .hendar-chat-widget-v084 .hcw-scrim { display: none !important; }
  .hendar-chat-widget-v084 .hcw-launcher { position: fixed; z-index: 1; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .hendar-chat-widget-v084[dir="ltr"] .hcw-launcher { right: auto; left: 16px; }
  .hendar-chat-widget-v084 .hcw-launcher-button { width: 54px; height: 54px; border-radius: 18px; }
  .hendar-chat-widget-v084.is-open .hcw-launcher { visibility: hidden; pointer-events: none; }
  .hendar-chat-widget-v084 .hcw-drawer, .hendar-chat-widget-v084[data-hcw-anchor="right"] .hcw-drawer { position: fixed; right: 0; bottom: 0; left: 0; width: 100%; height: 100dvh; min-width: 0; min-height: 0; border: 0; border-radius: 0; transform-origin: bottom center; }
  .hendar-chat-widget-v084 .hcw-drawer-header { gap: 9px; padding: calc(9px + env(safe-area-inset-top, 0px)) 10px 10px; }
  .hendar-chat-widget-v084 .hcw-header-primary { gap: 7px; }
  .hendar-chat-widget-v084 .hcw-conversation-avatar { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .hendar-chat-widget-v084 .hcw-title { font-size: 15px; }
  .hendar-chat-widget-v084 .hcw-eyebrow { font-size: 8px; }
  .hendar-chat-widget-v084 .hcw-subtitle { max-width: 165px; font-size: 9.5px; }
  .hendar-chat-widget-v084 .hcw-header-actions { gap: 2px; }
  .hendar-chat-widget-v084 .hcw-icon-button { width: 36px; height: 36px; flex-basis: 36px; border-radius: 12px; }
  .hendar-chat-widget-v084 .hcw-icon-button .hcw-ui-icon, .hendar-chat-widget-v084 .hcw-icon-button .hcw-call-icon { width: 19px; height: 19px; }
  .hendar-chat-widget-v084 .hcw-navigate-button { display: none !important; }
  .hendar-chat-widget-v084 .hcw-header-filters { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 7px; }
  .hendar-chat-widget-v084 .hcw-project-selector, .hendar-chat-widget-v084 .hcw-message-search { height: 37px; border-radius: 11px; }
  .hendar-chat-widget-v084 .hcw-project-selector { padding-inline: 8px 24px; font-size: 10px; }
  .hendar-chat-widget-v084 .hcw-message-search { padding-inline: 10px; font-size: 11px; }
  .hendar-chat-widget-v084 .hcw-messages { gap: 7px; padding: 15px 10px 18px; }
  .hendar-chat-widget-v084 .hcw-bubble { max-width: 82%; }
  .hendar-chat-widget-v084 .hcw-avatar { width: 28px; height: 28px; flex-basis: 28px; }
  .hendar-chat-widget-v084 .hcw-composer { gap: 5px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .hendar-chat-widget-v084 .hcw-media-actions { gap: 0; }
  .hendar-chat-widget-v084 .hcw-attach-button, .hendar-chat-widget-v084 .hcw-camera-button { width: 34px; height: 40px; }
  .hendar-chat-widget-v084 .hcw-message-input { min-height: 43px; padding: 10px 12px; }
  .hendar-chat-widget-v084 .hcw-send-button { width: 43px; height: 43px; }
  .hendar-chat-widget-v084 .hcw-roster { width: 100%; border: 0; box-shadow: none; }
  .hendar-chat-widget-v084 .hcw-voice-call { padding-top: calc(44px + env(safe-area-inset-top, 0px)); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .hendar-chat-widget-v084 .hcw-voice-call-avatar { width: 108px; height: 108px; border-radius: 35px; }
  .hendar-chat-widget-v084 .hcw-voice-call-text strong { font-size: 22px; }
  .hendar-chat-widget-v084 .hcw-support-panel { padding: 18px; }
}
@media (max-width: 380px) {
  .hendar-chat-widget-v084 .hcw-heading { gap: 7px; }
  .hendar-chat-widget-v084 .hcw-conversation-avatar { width: 38px; height: 38px; flex-basis: 38px; }
  .hendar-chat-widget-v084 .hcw-subtitle { max-width: 120px; }
  .hendar-chat-widget-v084 .hcw-icon-button { width: 33px; height: 35px; flex-basis: 33px; }
  .hendar-chat-widget-v084 .hcw-header-actions { gap: 0; }
  .hendar-chat-widget-v084 .hcw-bubble { max-width: 86%; }
  .hendar-chat-widget-v084 .hcw-camera-button { display: none; }
}
@media (max-width: 640px) and (orientation: landscape) and (max-height: 500px) {
  .hendar-chat-widget-v084 .hcw-drawer-header { grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); align-items: center; padding-top: calc(7px + env(safe-area-inset-top, 0px)); }
  .hendar-chat-widget-v084 .hcw-conversation-avatar { width: 38px; height: 38px; flex-basis: 38px; }
  .hendar-chat-widget-v084 .hcw-eyebrow, .hendar-chat-widget-v084 .hcw-subtitle { display: none; }
  .hendar-chat-widget-v084 .hcw-voice-call { flex-direction: row; gap: 28px; padding-inline: 60px; }
  .hendar-chat-widget-v084 .hcw-voice-call-avatar { width: 88px; height: 88px; border-radius: 28px; }
}
@media (prefers-color-scheme: dark) {
  .hendar-chat-widget-v084 { --hcw-ink: #e6f0f1; --hcw-muted: #a0b0b6; --hcw-line: #29444a; --hcw-surface: #10292e; --hcw-canvas: #0d2227; --hcw-mine: #145548; }
  .hendar-chat-widget-v084 .hcw-drawer, .hendar-chat-widget-v084 .hcw-drawer-header, .hendar-chat-widget-v084 .hcw-composer { background: rgb(16 41 46 / 97%); }
  .hendar-chat-widget-v084 .hcw-project-selector, .hendar-chat-widget-v084 .hcw-message-search, .hendar-chat-widget-v084 .hcw-message-input { background: #15343a; color: var(--hcw-ink); }
  .hendar-chat-widget-v084 .hcw-messages { background-color: #0d2227; }
  .hendar-chat-widget-v084 .hcw-bubble { border-color: rgb(255 255 255 / 6%); background: #18353b; color: var(--hcw-ink); }
  .hendar-chat-widget-v084 .hcw-message.is-mine .hcw-bubble { background: var(--hcw-mine); }
  .hendar-chat-widget-v084 .hcw-message-body { color: var(--hcw-ink); }
  .hendar-chat-widget-v084 .hcw-roster { background: #10292e; }
  .hendar-chat-widget-v084 .hcw-roster-row:hover { background: #17363c; }
  .hendar-chat-widget-v084 .hcw-empty { background: rgb(21 52 58 / 88%); }
}
@media (prefers-reduced-motion: reduce) { .hendar-chat-widget-v084 *, .hendar-chat-widget-v084 *::before, .hendar-chat-widget-v084 *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
@media (forced-colors: active) { .hendar-chat-widget-v084 .hcw-launcher-button, .hendar-chat-widget-v084 .hcw-send-button, .hendar-chat-widget-v084 .hcw-call-action > .hcw-ui-icon { border: 2px solid ButtonText; } }

/* UALL-AF: independently scrolling chat panes and collision-free actions. */
.hendar-chat-widget-v084 .hcw-drawer,
.hendar-chat-widget-v084 .hcw-chat-panel,
.hendar-chat-widget-v084 .hcw-chat-layout,
.hendar-chat-widget-v084 .hcw-conversation{min-height:0;overflow:hidden}
.hendar-chat-widget-v084 .hcw-chat-panel{display:block}
.hendar-chat-widget-v084 .hcw-messages{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable}
.hendar-chat-widget-v084 .hcw-composer{min-width:0;max-width:100%;isolation:isolate}
.hendar-chat-widget-v084 .hcw-composer>*{min-width:0}
.hendar-chat-widget-v084 .hcw-header-primary,
.hendar-chat-widget-v084 .hcw-heading,
.hendar-chat-widget-v084 .hcw-header-actions,
.hendar-chat-widget-v084 .hcw-header-filters{min-width:0;max-width:100%}
.hendar-chat-widget-v084 .hcw-direct-reply{display:inline-flex;min-height:30px;align-items:center;justify-self:start;gap:5px;padding:4px 8px;border:0;border-radius:9px;background:transparent;color:var(--hcw-brand-800);font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.hendar-chat-widget-v084 .hcw-direct-reply:hover{background:rgb(15 157 139 / 10%)}
.hendar-chat-widget-v084 .hcw-direct-reply .hcw-ui-icon{width:15px;height:15px}
.hendar-chat-widget-v084 .hcw-direct-reply .hcw-control-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
.hendar-chat-widget-v084 .hcw-bubble:not(.has-message-overflow){padding-inline:11px}
.hendar-chat-widget-v084 .hcw-message-actions{z-index:10}
.hendar-chat-widget-v084 .hcw-roster{min-height:0;overflow:hidden;overscroll-behavior:contain}
.hendar-chat-widget-v084 .hcw-roster-header{gap:8px}
.hendar-chat-widget-v084 .hcw-roster-list{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.hendar-chat-widget-v084 .hcw-roster-close{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;padding:0;border:1px solid var(--hcw-line);border-radius:11px;background:#fff;color:#53666f;font:inherit;font-size:24px;line-height:1;cursor:pointer}
.hendar-chat-widget-v084 .hcw-roster-close:hover{background:var(--hcw-brand-50);color:var(--hcw-brand-800)}

@media (max-width:390px){
  .hendar-chat-widget-v084 .hcw-drawer{height:100dvh;max-height:100dvh}
  .hendar-chat-widget-v084 .hcw-drawer-header{gap:6px;padding:calc(7px + env(safe-area-inset-top,0px)) 7px 7px}
  .hendar-chat-widget-v084 .hcw-header-primary{grid-template-columns:auto minmax(0,1fr);gap:5px 6px}
  .hendar-chat-widget-v084 .hcw-heading{gap:6px}
  .hendar-chat-widget-v084 .hcw-conversation-avatar{width:38px;height:38px;flex-basis:38px}
  .hendar-chat-widget-v084 .hcw-header-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
  .hendar-chat-widget-v084 .hcw-icon-button{width:100%;min-width:0;height:40px;min-height:40px;flex-basis:auto}
  .hendar-chat-widget-v084 .hcw-header-filters{grid-template-columns:minmax(0,1fr);gap:5px}
  .hendar-chat-widget-v084 .hcw-project-selector,
  .hendar-chat-widget-v084 .hcw-message-search{height:39px}
  .hendar-chat-widget-v084 .hcw-messages{padding:8px 6px 10px}
  .hendar-chat-widget-v084 .hcw-bubble{max-width:91%}
  .hendar-chat-widget-v084 .hcw-composer{grid-template-columns:auto minmax(0,1fr) 43px;gap:4px;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px))}
  .hendar-chat-widget-v084 .hcw-attach-button,
  .hendar-chat-widget-v084 .hcw-camera-button{width:36px;height:42px}
  .hendar-chat-widget-v084 .hcw-message-input{min-height:42px;padding:9px 10px}
  .hendar-chat-widget-v084 .hcw-send-button{width:43px;height:43px}
  .hendar-chat-widget-v084 .hcw-roster{width:100%;max-width:100%}
}

/* UALL-I: compact, content-led messaging and accessible mobile controls. */
.hendar-chat-widget-v084 .hcw-project-selector-wrap { position: relative; display: block; min-width: 0; }
.hendar-chat-widget-v084 .hcw-project-selector-wrap .hcw-project-selector { display: block; appearance: none; -webkit-appearance: none; padding-inline: 13px 36px; direction: rtl; text-align: start; text-overflow: ellipsis; white-space: nowrap; }
.hendar-chat-widget-v084[dir="ltr"] .hcw-project-selector-wrap .hcw-project-selector { direction: ltr; }
.hendar-chat-widget-v084 .hcw-project-selector-chevron { position: absolute; z-index: 1; top: 50%; inset-inline-end: 13px; color: var(--hcw-brand-800); font-size: 18px; font-weight: 900; line-height: 1; pointer-events: none; transform: translateY(-55%); }
.hendar-chat-widget-v084 .hcw-bubble { min-width: 0; gap: 2px; padding: 7px 10px 5px; }
.hendar-chat-widget-v084 .hcw-sender { line-height: 1.3; }
.hendar-chat-widget-v084 .hcw-message-body { line-height: 1.42; }
.hendar-chat-widget-v084 .hcw-message-time { margin-block-start: 1px; }
@media (hover: none), (pointer: coarse) {
  .hendar-chat-widget-v084 .hcw-message-actions { position: absolute; z-index: 5; top: 4px; inset-inline-end: 4px; display: block; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
}
.hendar-chat-widget-v084 .hcw-message-menu-trigger { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #718088; cursor: pointer; opacity: .58; }
.hendar-chat-widget-v084 .hcw-message:hover .hcw-message-menu-trigger,
.hendar-chat-widget-v084 .hcw-message-actions.is-open .hcw-message-menu-trigger { background: rgb(255 255 255 / 80%); color: var(--hcw-brand-800); opacity: 1; }
.hendar-chat-widget-v084 .hcw-message-menu-trigger .hcw-ui-icon { width: 16px; height: 16px; }
.hendar-chat-widget-v084 .hcw-message-menu-panel { position: absolute; z-index: 8; top: 32px; inset-inline-end: 0; display: none; min-width: 132px; padding: 5px; border: 1px solid var(--hcw-line); border-radius: 13px; background: rgb(255 255 255 / 98%); box-shadow: 0 14px 34px rgb(6 47 54 / 18%); }
.hendar-chat-widget-v084 .hcw-message-actions.is-open .hcw-message-menu-panel { display: grid; }
.hendar-chat-widget-v084 .hcw-message-menu-panel button { display: flex; width: 100%; height: 38px; align-items: center; justify-content: flex-start; gap: 8px; padding: 7px 9px; border: 0; border-radius: 9px; background: transparent; color: #40545f; cursor: pointer; }
.hendar-chat-widget-v084 .hcw-message-menu-panel button:hover { background: var(--hcw-brand-50); color: var(--hcw-brand-800); }
.hendar-chat-widget-v084 .hcw-message-menu-panel .hcw-delete-action:hover { background: #fff0f1; color: var(--hcw-danger); }
.hendar-chat-widget-v084 .hcw-message-menu-panel .hcw-ui-icon { width: 16px; height: 16px; }
.hendar-chat-widget-v084 .hcw-message-menu-panel .hcw-control-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 11px; font-weight: 750; }
.hendar-chat-widget-v084 .hcw-message.is-theirs .hcw-bubble { padding-inline-end: 34px; }
.hendar-chat-widget-v084 .hcw-message.is-mine .hcw-bubble { padding-inline-start: 34px; }
.hendar-chat-widget-v084 .hcw-image-attachment { position: relative; display: block; width: min(290px, 68vw); max-width: 100%; overflow: hidden; border: 1px solid rgb(8 76 82 / 12%); border-radius: 13px; background: #dbe8e6; color: #fff; text-decoration: none; }
.hendar-chat-widget-v084 .hcw-image-preview { display: block; width: 100%; max-height: 280px; aspect-ratio: 4 / 3; object-fit: cover; background: #dbe8e6; }
.hendar-chat-widget-v084 .hcw-image-meta { position: absolute; right: 7px; bottom: 7px; left: 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; border-radius: 10px; background: rgb(4 40 46 / 72%); color: #fff; backdrop-filter: blur(8px); }
.hendar-chat-widget-v084 .hcw-image-meta strong { font-size: 10px; }
.hendar-chat-widget-v084 .hcw-image-meta small { color: rgb(255 255 255 / 75%); font-size: 8px; }
.hendar-chat-widget-v084 .hcw-call-duration { color: #fff; direction: ltr; font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: .08em; }
.hendar-chat-widget-v084 .hcw-call-swipe { --hcw-swipe-green: #25c87c; --hcw-swipe-red: #f0525f; display: grid; width: min(390px, calc(100vw - 34px)); grid-template-columns: 58px minmax(150px, 1fr) 58px; align-items: center; gap: 9px; }
.hendar-chat-widget-v084 .hcw-call-swipe-choice { display: grid; justify-items: center; gap: 4px; color: rgb(255 255 255 / 68%); font-size: 9px; transition: color 150ms ease, transform 150ms ease; }
.hendar-chat-widget-v084 .hcw-call-swipe-choice .hcw-ui-icon { width: 21px; height: 21px; }
.hendar-chat-widget-v084 .hcw-call-swipe.is-accepting .is-accept { color: #8ff3bd; transform: scale(1.08); }
.hendar-chat-widget-v084 .hcw-call-swipe.is-rejecting .is-reject { color: #ffadb4; transform: scale(1.08); }
.hendar-chat-widget-v084 .hcw-call-swipe-track { position: relative; display: block; height: 64px; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: 999px; background: linear-gradient(90deg, rgb(240 82 95 / 25%), rgb(255 255 255 / 11%) 40% 60%, rgb(37 200 124 / 25%)); box-shadow: inset 0 1px 8px rgb(0 0 0 / 16%); touch-action: none; }
.hendar-chat-widget-v084 .hcw-call-swipe-hint { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / 60%); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.hendar-chat-widget-v084 .hcw-call-swipe-thumb { position: absolute; top: 6px; left: 50%; display: grid; width: 52px; height: 52px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 48%); border-radius: 50%; background: linear-gradient(145deg, #fff, #dff9f1); color: var(--hcw-brand-800); box-shadow: 0 8px 22px rgb(0 0 0 / 28%); cursor: grab; transform: translateX(calc(-50% + var(--hcw-swipe-x, 0px))); transition: box-shadow 140ms ease; touch-action: none; }
.hendar-chat-widget-v084 .hcw-call-swipe-thumb:active { cursor: grabbing; box-shadow: 0 4px 12px rgb(0 0 0 / 25%); }
.hendar-chat-widget-v084 .hcw-call-swipe-thumb .hcw-ui-icon { width: 22px; height: 22px; }
.hendar-chat-widget-v084 .hcw-voice-call.has-call-swipe .hcw-call-accept,
.hendar-chat-widget-v084 .hcw-voice-call.has-call-swipe .hcw-call-reject { position: absolute; width: 1px; height: 1px; min-height: 1px; overflow: hidden; clip-path: inset(50%); }
.hendar-chat-widget-v084 .hcw-voice-call.has-call-swipe { gap: 22px; }

@media (max-width: 640px) {
  .hendar-chat-widget-v084 .hcw-drawer-header { gap: 8px; }
  .hendar-chat-widget-v084 .hcw-header-primary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 8px; }
  .hendar-chat-widget-v084 .hcw-heading { grid-column: 2; min-width: 0; }
  .hendar-chat-widget-v084 .hcw-back-button:not([hidden]) + .hcw-heading { grid-column: 2; }
  .hendar-chat-widget-v084 .hcw-header-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(44px, 1fr)); width: 100%; gap: 5px; padding-block-start: 5px; border-block-start: 1px solid rgb(8 76 82 / 8%); }
  .hendar-chat-widget-v084 .hcw-icon-button { width: 100%; height: 44px; min-width: 44px; flex-basis: 44px; border-radius: 13px; }
  .hendar-chat-widget-v084 .hcw-navigate-button { display: grid !important; }
  .hendar-chat-widget-v084 .hcw-header-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hendar-chat-widget-v084 .hcw-project-selector, .hendar-chat-widget-v084 .hcw-message-search { height: 44px; font-size: 11.5px; }
  .hendar-chat-widget-v084 .hcw-messages { gap: 5px; padding: 10px 8px 12px; }
  .hendar-chat-widget-v084 .hcw-bubble { max-width: 88%; padding-block: 6px 4px; }
  .hendar-chat-widget-v084 .hcw-message { gap: 5px; }
  .hendar-chat-widget-v084 .hcw-attach-button, .hendar-chat-widget-v084 .hcw-camera-button { width: 44px; height: 44px; }
  .hendar-chat-widget-v084 .hcw-composer { grid-template-columns: auto minmax(0, 1fr) 46px; }
  .hendar-chat-widget-v084 .hcw-send-button { width: 46px; height: 46px; }
  .hendar-chat-widget-v084 .hcw-voice-call { gap: 22px; }
  .hendar-chat-widget-v084 .hcw-voice-call-avatar { width: 94px; height: 94px; border-radius: 31px; }
  .hendar-chat-widget-v084 .hcw-call-swipe { width: calc(100vw - 24px); grid-template-columns: 48px minmax(142px, 1fr) 48px; gap: 5px; }
}

/* UALL-AF final cascade lock (must remain after the UALL-I compatibility layer). */
.hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-bubble:not(.has-message-overflow){padding-inline:10px!important}
.hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-message-actions{z-index:10!important}
@media (max-width:390px){
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-drawer{height:100dvh!important;max-height:100dvh!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-drawer-header{gap:6px!important;padding:calc(7px + env(safe-area-inset-top,0px)) 7px 7px!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-header-primary{grid-template-columns:auto minmax(0,1fr)!important;gap:5px 6px!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-heading{gap:6px!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-conversation-avatar{width:38px!important;height:38px!important;flex-basis:38px!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-header-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;flex-wrap:nowrap!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-header-actions>.hcw-icon-button{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;flex-basis:auto!important}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-header-filters{grid-template-columns:minmax(0,1fr)!important;gap:5px!important}
  .hendar-chat-widget-v084 .hcw-project-selector,
  .hendar-chat-widget-v084 .hcw-message-search{height:39px}
  .hendar-chat-widget-v084 .hcw-messages{padding:8px 6px 10px}
  .hendar-chat-widget-v084 .hcw-bubble{max-width:91%}
  .hendar-chat-widget-v084 .hcw-composer{grid-template-columns:auto minmax(0,1fr) 43px;gap:4px;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px))}
  .hendar-chat-widget-v084 .hcw-attach-button,
  .hendar-chat-widget-v084 .hcw-camera-button{width:36px;height:42px}
  .hendar-chat-widget-v084 .hcw-message-input{min-height:42px;padding:9px 10px}
  .hendar-chat-widget-v084 .hcw-send-button{width:43px;height:43px}
  .hendar-chat-widget-v084.hendar-chat-widget-v084 .hcw-roster{width:100%!important;max-width:100%!important}
}
