.vc-chat-launch,.vc-chat-panel{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;box-sizing:border-box}
/* B13 2e: an explicit base font-size/line-height on the panel root, so a host page's own base font
   size (e.g. vuantravel.com's 18px on <html>) cannot cascade into any of our elements that do not set
   their own font-size and widen their rendered text past the fixed-width panel. */
.vc-chat-panel{font-size:15px;line-height:1.4}
.vc-chat-launch{position:fixed;right:18px;bottom:18px;z-index:2147483000;border:0;background:#E1251B;color:#fff;border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.28);transition:bottom .15s ease}
.vc-chat-launch.vc-chat-head-mode{padding:0;overflow:hidden}
.vc-chat-head-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;display:block}
.vc-chat-launch:focus-visible,.vc-chat-panel :focus-visible{outline:2px solid rgba(0,0,0,.4);outline-offset:2px}
.vc-chat-panel .vc-chat-pill input:focus,.vc-chat-panel .vc-chat-pill input:focus-visible{outline:none}
.vc-chat-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;border-radius:9px;background:#E1251B;color:#fff;font-family:inherit;font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff}
@media(max-width:600px){.vc-chat-launch{right:10px;bottom:calc(14px + env(safe-area-inset-bottom))}}
.vc-chat-panel{position:fixed;right:18px;bottom:84px;width:min(328px,calc(100vw - 24px));height:min(455px,calc(100dvh - 110px));min-height:240px;z-index:2147483001;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.28),0 1px 0 rgba(0,0,0,.06);color:#050505;overflow:hidden}
.vc-chat-panel[hidden]{display:none}
.vc-chat-head{position:relative;display:flex;align-items:center;gap:8px;background:#fff;color:#050505;padding:6px 10px;border-bottom:1px solid #ececec;flex:none;box-sizing:border-box}
.vc-chat-avatar-wrap{position:relative;flex:none}
.vc-chat-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;display:block;background:#f0f0f0}
.vc-chat-dot{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;background:#31A24C;border:2px solid #fff}
.vc-chat-dot[hidden]{display:none}
.vc-chat-namewrap{display:flex;flex-direction:column;flex:1;min-width:0}
.vc-chat-title{font-family:inherit;font-weight:600;font-size:15px;color:#050505;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vc-chat-statusline{font-family:inherit;font-weight:400;font-size:12px;color:#8a8d91;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:15px}
.vc-chat-head-right{display:flex;align-items:center;flex:none}
.vc-chat-icon{width:36px;height:36px;border:0;background:none;color:var(--vc-accent);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.vc-chat-icon:hover{background:#f2f2f2}
.vc-chat-hotline{position:absolute;top:46px;right:48px;background:#fff;border-radius:10px;box-shadow:0 2px 14px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);display:flex;flex-direction:column;z-index:10;min-width:230px;overflow:hidden}
.vc-chat-hotline a{display:block;padding:12px 14px;color:#050505;text-decoration:none;font-size:14px}
.vc-chat-hotline a:hover{background:#f2f2f2}
.vc-chat-body{padding:0;overflow:hidden;overflow-x:hidden;flex:1;display:flex;flex-direction:column;position:relative;min-height:0;max-width:100%}
.vc-chat-onboard,.vc-chat-reopen{display:grid;gap:12px;padding:14px;overflow:auto;max-height:100%}
.vc-chat-onboard input:not([type=checkbox]),.vc-chat-reopen input{font:inherit;width:100%;box-sizing:border-box;border:1px solid #dddfe2;border-radius:8px;padding:10px;min-height:44px}
.vc-chat-onboard label{font-size:13px;line-height:1.5}
.vc-chat-turnstile{min-height:65px;width:100%;max-width:300px;box-sizing:border-box}
.vc-chat-onboard a{color:var(--vc-accent)}
.vc-chat-panel button:not(.vc-chat-close):not(.vc-chat-icon){font-family:inherit;font-weight:700;font-size:14px;cursor:pointer}
.vc-chat-onboard button[type=submit],.vc-chat-reopen button[type=submit]{background:var(--vc-accent);color:#fff;border:0;border-radius:8px;padding:10px;min-height:44px}
.vc-chat-menu-reopen,.vc-chat-reopen-link{background:none;border:0;color:var(--vc-accent);font-size:12px;padding:6px 14px;text-align:left}
.vc-chat-status{margin:0;padding:0 14px 6px;color:#a12018;font-size:12px}
.vc-chat-status:empty{display:none}
.vc-chat-list{display:flex;flex:1;flex-direction:column;gap:2px;overflow:auto;overflow-x:hidden;min-height:0;padding:10px 10px 4px;scrollbar-width:thin;scrollbar-gutter:stable;box-sizing:border-box;max-width:100%}
.vc-chat-list::-webkit-scrollbar{width:6px}
.vc-chat-list::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:3px}
.vc-chat-msgs{display:flex;flex-direction:column;gap:2px}
.vc-chat-separator{align-self:center;color:#8a8d91;font-size:12px;margin:12px 0 6px}
.vc-chat-message{position:relative;display:flex;align-items:flex-end;gap:6px;max-width:100%;margin-top:2px}
.vc-chat-message.pos-start,.vc-chat-message.pos-solo{margin-top:8px}
.vc-chat-message.theirs{justify-content:flex-start;padding-left:30px}
.vc-chat-message.mine{justify-content:flex-end}
.vc-chat-msg-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none;position:absolute;left:0;bottom:0}
.vc-chat-bubble{max-width:70%;padding:8px 12px;border-radius:18px;font-size:15px;line-height:20px;overflow-wrap:anywhere;white-space:pre-wrap;position:relative}
.vc-chat-message.theirs .vc-chat-bubble{background:#f0f0f0;color:#050505}
.vc-chat-message.mine .vc-chat-bubble{background-color:#4541F9;background-image:linear-gradient(180deg,#523BFA 0%,#304FF8 100%);background-attachment:fixed;color:#fff}
.vc-chat-message.theirs.pos-start .vc-chat-bubble,.vc-chat-message.theirs.pos-middle .vc-chat-bubble{border-bottom-left-radius:4px}
.vc-chat-message.theirs.pos-middle .vc-chat-bubble,.vc-chat-message.theirs.pos-end .vc-chat-bubble{border-top-left-radius:4px}
.vc-chat-message.mine.pos-start .vc-chat-bubble,.vc-chat-message.mine.pos-middle .vc-chat-bubble{border-bottom-right-radius:4px}
.vc-chat-message.mine.pos-middle .vc-chat-bubble,.vc-chat-message.mine.pos-end .vc-chat-bubble{border-top-right-radius:4px}
.vc-chat-bubble img{display:block;max-width:100%;max-height:220px;border-radius:12px;margin-top:4px}
.vc-chat-bubble small{display:block;opacity:.75;font-size:11px}
.vc-chat-bubble.has-file{background:transparent!important;padding:0}
.vc-chat-audio{display:block;max-width:240px;height:40px}
.vc-chat-file{display:flex;align-items:center;gap:10px;min-width:180px;max-width:240px;padding:8px 10px;border-radius:14px;background:#f0f2f5;text-decoration:none;color:#050505}
.vc-chat-message.mine .vc-chat-file{background:#f0f2f5;color:#050505}
.vc-chat-file-icon{width:34px;height:34px;flex:none;border-radius:50%;background:#e4e6ea;font-size:17px;display:flex;align-items:center;justify-content:center}
.vc-chat-file-info{display:flex;flex-direction:column;min-width:0;flex:1}
.vc-chat-file-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vc-chat-file-size{font-size:11px;opacity:.75}
.vc-chat-quote{font-size:12px;color:#8a8d91;background:#f5f5f5;border-left:2px solid #dcdcdc;padding:4px 8px;margin-bottom:2px;border-radius:6px;max-width:70%}
.vc-chat-message.mine .vc-chat-quote{align-self:flex-end}
.vc-chat-reaction-badge{position:absolute;right:-4px;bottom:-6px;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.08);font-size:11px;display:flex;align-items:center;justify-content:center}
.vc-chat-message.recalled{background:transparent;border:1px solid #dcdcdc;color:#8a8d91;font-style:italic;border-radius:14px;padding:8px 12px;max-width:70%}
/* B8a-5: these used to be normal flex siblings of the bubble/avatar, so their width (never shrinking)
   was added to the message row's content width on EVERY row (opacity:0 still occupies layout), pushing
   the row's scrollable overflow past the list's clientWidth and showing a permanent horizontal
   scrollbar on desktop. Taking them out of flow (position:absolute, floating just above the bubble)
   keeps the row's own width exactly at the bubble+avatar size and removes the overflow entirely. */
.vc-chat-hover-actions{position:absolute;top:-34px;display:flex;gap:2px;opacity:0;z-index:3;background:#fff;border-radius:16px;box-shadow:0 1px 4px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.05);padding:2px}
.vc-chat-message.mine .vc-chat-hover-actions{right:0}
.vc-chat-message.theirs .vc-chat-hover-actions{left:30px}
.vc-chat-message:hover .vc-chat-hover-actions,.vc-chat-hover-actions:focus-within,.vc-chat-message.selected .vc-chat-hover-actions{opacity:1}
.vc-chat-hover-actions button{width:28px;height:28px;border-radius:50%;border:0;background:transparent;color:#65676b;display:flex;align-items:center;justify-content:center;cursor:pointer}
.vc-chat-hover-actions button:hover{background:#f2f2f2}
.vc-chat-overlay{position:absolute;inset:0;z-index:5;background:#0005;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.vc-chat-overlay.menu,.vc-chat-overlay.reactions{background:transparent;display:block}
.vc-chat-actions,.vc-chat-confirm,.vc-chat-reactions,.vc-chat-rate{background:#fff;color:#333;box-shadow:0 2px 14px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);border-radius:8px;overflow:hidden;max-width:100%;box-sizing:border-box}
.vc-chat-actions{display:flex;flex-direction:column;min-width:160px;border-radius:10px}
.vc-chat-overlay.menu .vc-chat-actions{position:fixed;overflow:visible}
.vc-chat-overlay.menu .vc-chat-actions.vc-menu-below::before{content:'';position:absolute;top:-6px;left:var(--vc-tail-x,18px);width:12px;height:12px;background:#fff;transform:translateX(-50%) rotate(45deg)}
.vc-chat-overlay.menu .vc-chat-actions.vc-menu-above::after{content:'';position:absolute;bottom:-6px;left:var(--vc-tail-x,18px);width:12px;height:12px;background:#fff;transform:translateX(-50%) rotate(45deg)}
.vc-chat-actions button{background:#fff;border:0;color:#050505;min-height:36px;padding:8px 14px;text-align:left;font-family:inherit!important;font-weight:400!important;font-size:14px!important}
.vc-chat-actions button:hover{background:#f2f2f2}
.vc-chat-overlay.sheet{align-items:flex-end;padding:10px}
.vc-chat-overlay.sheet .vc-chat-actions{width:100%;border-radius:12px;animation:vc-sheet .16s ease-out}
.vc-chat-overlay.sheet .vc-chat-actions button{min-height:50px;padding:14px 16px;font-family:inherit!important;font-weight:400!important;font-size:15px!important}
.vc-chat-overlay.reactions .vc-chat-reactions{position:fixed;display:inline-flex;align-items:center;gap:4px;padding:7px;border-radius:30px;width:max-content;max-width:calc(100vw - 16px)}
.vc-chat-reactions button{width:34px;height:34px;border:0;background:none;font-size:32px!important;line-height:1;border-radius:50%;cursor:pointer;transition:transform .12s;display:flex;align-items:center;justify-content:center;flex:none}
.vc-chat-reactions button:hover{transform:scale(1.2) translateY(-4px)}
.vc-chat-reactions .vc-chat-reaction-more{background:#e4e6ea;font-size:20px!important;width:34px;height:34px}
.vc-chat-confirm,.vc-chat-rate{padding:20px;width:280px;line-height:1.5;border-radius:12px}
.vc-chat-confirm strong,.vc-chat-rate strong{font-size:16px;display:block;margin-bottom:8px}
.vc-chat-confirm p{font-size:14px}
.vc-chat-stars{display:flex;gap:4px;margin:10px 0}
.vc-chat-stars button{width:28px;height:28px;border:0;background:none;color:#dcdcdc;font-size:24px!important;cursor:pointer;padding:0}
.vc-chat-stars button.on{color:#F6BE00}
.vc-chat-rate textarea{width:100%;box-sizing:border-box;border:1px solid #dddfe2;border-radius:8px;padding:8px;font:inherit;min-height:60px;resize:vertical}
.vc-chat-action-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.vc-chat-action-buttons button{padding:10px 14px;border:0;border-radius:8px;min-height:40px;background:#f0f0f0;color:#050505}
.vc-chat-action-buttons .danger{background:var(--vc-accent);color:#fff}
.vc-chat-reply-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;background:#f5f5f5;border-top:1px solid #ececec;font-size:12px;color:#65676b;flex:none}
.vc-chat-reply-bar[hidden]{display:none}
/* B13 2c/2b: consent notice shown until the first send, and the inline Turnstile box that only takes
   space once a send actually needs it (appearance:interaction-only keeps it visually empty otherwise). */
.vc-chat-consent-line{padding:2px 14px 8px;text-align:center;font-size:11px;line-height:1.4;color:#8a8d91;flex:none;box-sizing:border-box}
.vc-chat-consent-line a{color:var(--vc-accent)}
.vc-chat-ts-inline{width:100%;max-width:300px;margin:0 auto;box-sizing:border-box;flex:none}
.vc-chat-ts-inline[hidden]{display:none}
.vc-chat-fail{color:#ffd9d6!important}
.vc-chat-retry{display:inline-block;margin-top:2px;background:none;border:0;color:inherit;text-decoration:underline;font-size:11px!important;font-weight:600!important;padding:0;cursor:pointer}
.vc-chat-reply-x{background:none;border:0;color:#65676b;font-size:16px;cursor:pointer;padding:0 4px}
.vc-chat-compose{display:flex;align-items:center;gap:4px;padding:8px;border-top:1px solid #ececec;flex:none}
.vc-chat-pill{flex:1;display:flex;align-items:center;background:#f0f2f5;border-radius:18px;padding:0 6px 0 12px;position:relative;min-width:0}
.vc-chat-pill input{flex:1;border:0;background:none;font:inherit;font-size:15px;padding:8px 0;min-width:0;outline:none}
.vc-chat-emoji-in{border:0;background:none;color:#8a8d91;width:28px;height:28px;cursor:pointer;flex:none}
.vc-chat-like,.vc-chat-mic,.vc-chat-photo{width:36px;height:36px;border:0;background:none;color:var(--vc-accent);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.vc-chat-like:hover,.vc-chat-mic:hover,.vc-chat-photo:hover{background:#f2f2f2}
.vc-chat-emoji-panel{position:absolute;bottom:44px;left:0;background:#fff;border-radius:10px;box-shadow:0 2px 14px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);display:grid;grid-template-columns:repeat(6,1fr);gap:2px;padding:6px;max-width:260px;z-index:6}
.vc-chat-emoji-panel button{border:0;background:none;font-size:18px!important;padding:4px;cursor:pointer;border-radius:6px}
.vc-chat-emoji-panel button:hover{background:#f2f2f2}
.vc-chat-recording{display:flex;align-items:center;gap:10px;padding:8px 14px;background:#fff0ef;border-top:1px solid #ececec;flex:none}
.vc-chat-recording button{border:0;background:none;color:var(--vc-accent);width:32px;height:32px;cursor:pointer}
.vc-chat-recording span{flex:1;text-align:center;color:var(--vc-accent);font-family:inherit;font-weight:600;font-size:14px}
.vc-chat-wifi-notice{margin:8px 14px;padding:10px;border:1px solid var(--vc-accent);border-radius:8px;font-size:13px}
.vc-chat-wifi-actions{display:flex;gap:10px;margin-top:8px}
.vc-chat-siblings{display:flex;gap:6px;padding:0 14px 6px;overflow:auto}
.vc-chat-siblings button{background:#f0f0f0;border:0;border-radius:12px;padding:4px 10px;font-size:12px!important}
.vc-chat-push{background:#fff;color:#a12018;border:1px solid var(--vc-accent);border-radius:8px;padding:8px;margin:0 14px 8px}
.vc-chat-intro{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 18px 10px;gap:6px;box-sizing:border-box;width:100%;max-width:100%}
.vc-chat-intro-avatar{width:60px;height:60px;border-radius:50%;object-fit:cover;background:#f0f0f0}
.vc-chat-intro-name{font-family:inherit;font-weight:700;font-size:17px;color:#050505}
.vc-chat-intro-info{margin:0;font-family:inherit;font-weight:400;font-size:13px;color:#8a8d91;max-width:100%;width:100%;line-height:1.4;box-sizing:border-box}
.vc-chat-menu-reopen{display:block;width:100%;text-align:center;background:none;border:0;color:#8a8d91!important;font-family:inherit!important;font-weight:400!important;font-size:12px!important;padding:6px 14px 10px}
.vc-chat-reopen-link{display:block;width:100%;text-align:center;background:none;border:0;color:#8a8d91;font-size:12px;padding:4px 14px}
.vc-chat-notify-line{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 14px;color:#8a8d91;font-size:12px;text-align:center;flex-wrap:wrap}
.vc-chat-notify-line button{background:none;border:0;color:var(--vc-accent)!important;font-family:inherit!important;font-weight:600!important;font-size:12px!important;cursor:pointer;padding:0}
.vc-chat-recalled-pill{display:inline-block;border:1px solid #dcdcdc;color:#8a8d91;font-style:italic;font-size:13px;border-radius:14px;padding:6px 12px}
.vc-chat-message.recalled.mine{justify-content:flex-end}
.vc-chat-message.recalled.theirs{justify-content:flex-start;padding-left:30px}
.vc-chat-reaction-more{width:40px;height:40px;border:0;background:#f0f0f0;color:#65676b;font-family:inherit;font-weight:600;font-size:20px!important;border-radius:50%;cursor:pointer}
@keyframes vc-sheet{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:600px){.vc-chat-panel{left:0;right:0;top:0;bottom:0;width:100%;height:100%;border-radius:0}}
@media(hover:none){.vc-chat-hover-actions{display:none}}
@media(prefers-reduced-motion:reduce){.vc-chat-panel,.vc-chat-launch,.vc-chat-overlay.sheet .vc-chat-actions,.vc-chat-reactions button{scroll-behavior:auto;animation:none;transition:none}}

/* B9 (owner 29/10 17:58): calmer accent, bigger icons, Messenger-style name menu */
.vc-chat-panel{--vc-accent:#CC3B34}
.vc-chat-head .vc-chat-icon svg{width:20px;height:20px}
.vc-chat-like svg,.vc-chat-mic svg,.vc-chat-photo svg{width:22px;height:22px}
.vc-chat-emoji-in svg{width:20px;height:20px}
.vc-chat-emoji-in{width:30px;height:30px;display:flex;align-items:center;justify-content:center}
.vc-chat-namebtn{display:inline-flex;align-items:center;gap:4px;max-width:100%;border:0;background:none;padding:2px 6px;margin:-2px -6px;border-radius:6px;cursor:pointer;color:#050505;font:inherit;text-align:left}
.vc-chat-namebtn:hover{background:#f2f2f2}
.vc-chat-chev{display:flex;color:var(--vc-accent);flex:none}
.vc-chat-profile{position:absolute;top:50px;left:8px;background:#fff;border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.1);padding:8px;z-index:10;min-width:250px;display:flex;flex-direction:column}
.vc-chat-profile a{display:flex;align-items:center;gap:12px;padding:8px;border-radius:6px;color:#050505;text-decoration:none;font-family:inherit;font-weight:500;font-size:15px;line-height:20px}
.vc-chat-profile a:hover{background:#f2f2f2}
.vc-chat-profile-ic{display:flex;color:#050505;flex:none}

/* UX 29/10/2026: điện thoại — chat là một mục trong thanh đáy, không còn bong bóng nổi. */
.fc-chat{background:#0d2b4e;cursor:pointer;position:relative}
.fc-chat .fc-badge{position:absolute;top:2px;right:8px;min-width:18px;height:18px;border-radius:9px;background:#E1251B;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff}
@media (max-width:899px){.vc-chat-launch{display:none!important}}
@media (min-width:900px){.fc-chat{display:none!important}}

/* B9c 30/10/2026: nút chat chèn vào mọi cụm nút kênh (Messenger/Zalo/WhatsApp), luôn nổi bật nhất. */
a.vc-chan-opener{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:999px;background:#E1251B;color:#fff!important;font-weight:700;text-decoration:none!important;position:relative;line-height:1}
a.vc-chan-opener svg{flex:none}
a.vc-chan-opener:hover{background:#c71f16}
a.vc-chan-opener .vc-chan-badge{position:absolute;top:-8px;right:-8px;background:#0d2b4e;color:#fff;font-size:10px;font-weight:700;border-radius:999px;padding:2px 6px}
a.vc-chan-card{display:flex;flex-direction:column;gap:4px;border:2px solid #E1251B;border-radius:12px;padding:16px;background:#fff6f5}
a.vc-chan-foot{font-weight:700}
.cta-row .vc-chan-quiet,.grid.contact .vc-chan-quiet{background:transparent!important;border:1px solid #d9d9d9!important;color:#444!important;box-shadow:none!important}
