/* Communication surfaces: luminous glass with opaque-enough reading layers. */
.hn-comms, .hn-comms-toolbar { --hc-ink:#203647;--hc-muted:#647888;--hc-accent:#147c98;--hc-line:rgba(118,158,179,.23);--hc-glass:rgba(250,253,255,.94);--hc-soft:rgba(234,244,249,.75);--hc-card:rgba(255,255,255,.84);--hc-shadow:0 24px 80px rgba(24,62,84,.18),inset 0 1px 0 rgba(255,255,255,.98);color:var(--hc-ink);font-size:14px;line-height:1.55; }
[data-theme="dark"] .hn-comms,[data-theme="dark"] .hn-comms-toolbar { --hc-ink:#e1edf5;--hc-muted:#a1b8c8;--hc-accent:#79d5ed;--hc-line:rgba(138,179,207,.23);--hc-glass:rgba(22,37,54,.97);--hc-soft:rgba(44,64,86,.72);--hc-card:rgba(38,55,74,.88);--hc-shadow:0 24px 80px rgba(0,0,0,.36),inset 0 1px 0 rgba(201,230,255,.12); }
.hn-comms [hidden],.hn-comms-toolbar[hidden],.hn-comms-toolbar [hidden]{display:none!important}
.hn-comms button,.hn-comms-toolbar button { font:inherit; }
.hn-comms button:focus-visible,.hn-comms a:focus-visible,.hn-comms textarea:focus-visible,.hn-comms [tabindex]:focus-visible,.hn-comms-toolbar button:focus-visible {outline:3px solid #40a4d0;outline-offset:4px}
.hn-comms-toolbar {display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:54px;margin:0 0 20px;position:relative;z-index:5}
.hn-comms-icon-btn {display:grid;place-items:center;position:relative;width:50px;height:50px;flex:none;color:var(--hc-ink);border:1px solid rgba(157,182,199,.27);border-radius:50%;background:linear-gradient(145deg,var(--hc-card),var(--hc-soft));box-shadow:0 5px 16px rgba(42,88,118,.08),inset 0 1px 0 rgba(255,255,255,.8);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:transform .2s,box-shadow .2s}
.hn-comms-icon-btn:hover {transform:translateY(-2px);box-shadow:0 8px 20px rgba(42,88,118,.15)}
.hn-comms-icon-btn[aria-expanded="true"] {color:var(--hc-accent);border-color:var(--hc-accent)}
.hn-comms-badge {position:absolute;right:-3px;top:-4px;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:#c64251;border:2px solid var(--bg-main,#fff);color:white;font-size:10px;font-weight:700;line-height:15px;text-align:center;box-shadow:0 2px 7px #a5253330}
.hn-comms-contact-trigger {position:fixed;z-index:1030;right:24px;bottom:24px;display:flex;align-items:center;gap:11px;padding:0;border:0;background:transparent;color:var(--hc-ink)}
.hn-comms .hn-comms-contact-trigger:focus {outline:none}
.hn-comms .hn-comms-contact-trigger:focus-visible>i {outline:3px solid #40a4d0;outline-offset:4px}
.hn-comms-contact-trigger>span {font-size:12px;padding:8px 13px;border:1px solid var(--hc-line);border-radius:12px;background:var(--hc-glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 5px 18px #233f5c12}
.hn-comms-contact-trigger>i {width:57px;height:57px;display:grid;place-items:center;border-radius:50%;color:white;background:linear-gradient(140deg,#48abc1,#126c8c);border:1px solid #aeeaff7a;box-shadow:0 7px 22px #175d8740,inset 0 1px 0 #d7f7ff8c;font-style:normal;transition:transform .2s}
.hn-comms-contact-trigger:hover>i{transform:translateY(-3px)}
.hn-comms-overlay{position:fixed;inset:0;z-index:2200;display:flex;justify-content:flex-end;align-items:flex-start;padding:90px 30px 28px;background:rgba(16,41,61,.2);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);overscroll-behavior:contain}
.hn-comms-dialog{width:430px;max-width:100%;max-height:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid var(--hc-line);border-radius:25px;background:radial-gradient(ellipse at top right,rgba(177,223,243,.24),transparent 50%),var(--hc-glass);box-shadow:var(--hc-shadow);backdrop-filter:blur(28px) saturate(130%);-webkit-backdrop-filter:blur(28px) saturate(130%);outline:none}
.hn-comms-heading{display:flex;align-items:center;gap:12px;flex:none;padding:23px 21px 20px;border-bottom:1px solid var(--hc-line)}
.hn-comms-heading-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:15px;background:var(--hc-soft);border:1px solid var(--hc-line);color:var(--hc-accent)}
.hn-comms-heading>div{min-width:0;flex:1}
.hn-comms-eyebrow{font-size:8px;letter-spacing:1.7px;color:var(--hc-muted);font-weight:700}
.hn-comms-heading h2{font-size:20px;line-height:1.3;letter-spacing:-.35px;margin:3px 0 4px;color:var(--hc-ink);font-weight:700}
.hn-comms-heading p{margin:0;color:var(--hc-muted);font-size:11px;line-height:1.5}
.hn-comms-close{width:36px;height:36px;border:1px solid var(--hc-line);border-radius:50%;color:var(--hc-muted);background:var(--hc-card);display:grid;place-items:center;flex:none}
.hn-comms-view{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.hn-comms-list-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 21px;font-size:10px;color:var(--hc-muted);flex:none}
.hn-comms-text-btn{padding:5px 0;border:0;background:transparent;color:var(--hc-accent);font-size:11px!important;font-weight:600!important}
.hn-comms-text-btn:disabled{cursor:default;opacity:.45}
.hn-comms-notices{padding:0 17px 6px;overflow:auto;min-height:130px;overscroll-behavior:contain}
.hn-comms-notice{margin:0 0 10px;padding:17px;background:var(--hc-card);border:1px solid var(--hc-line);border-radius:15px;position:relative;overflow-wrap:anywhere}
.hn-comms-notice.is-unread{border-color:rgba(32,145,181,.4);background:linear-gradient(120deg,rgba(96,197,222,.09),transparent),var(--hc-card)}
.hn-comms-notice-top{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--hc-muted);margin-bottom:8px}
.hn-comms-unread-dot{width:6px;height:6px;border-radius:50%;background:var(--hc-accent);flex:none}
.hn-comms-notice h3{font-size:14px;font-weight:650;line-height:1.55;color:var(--hc-ink);margin:0 0 7px}
.hn-comms-notice p{font-size:12px;line-height:1.75;white-space:pre-wrap;color:var(--hc-muted);margin:0}
.hn-comms-list-footer{flex:none;padding:10px 21px 17px;display:flex;align-items:center;justify-content:center;gap:12px;border-top:1px solid var(--hc-line)}
.hn-comms-list-footer>a{font-size:11px;color:var(--hc-accent);display:flex;align-items:center;gap:5px}
.hn-comms-secondary{border:1px solid var(--hc-line);padding:8px 13px;min-height:36px;border-radius:10px;background:var(--hc-card);color:var(--hc-accent);font-size:11px!important;font-weight:600!important}
.hn-comms-error{display:flex;align-items:center;gap:10px;background:rgba(212,87,64,.1);border-bottom:1px solid rgba(209,110,85,.25);color:#a74131;padding:12px 20px;font-size:12px;flex:none}
[data-theme="dark"] .hn-comms-error{color:#ffb3a0}
.hn-comms-error>span{flex:1}.hn-comms-error>button{border:0;background:transparent;color:inherit;white-space:nowrap;text-decoration:underline;padding:5px}
.hn-comms-empty{padding:32px 18px;text-align:center;color:var(--hc-muted);font-size:12px;line-height:1.8}
.hn-comms-empty strong{display:block;font-size:15px;color:var(--hc-ink);margin:0 0 7px}
.hn-comms-empty-icon{margin:0 auto 18px;display:grid;place-items:center;width:72px;height:72px;color:var(--hc-accent);border:1px solid var(--hc-line);border-radius:25px;background:var(--hc-soft)}
.hn-comms-gate{padding:32px 26px;text-align:center;overflow:auto}.hn-comms-gate h3{font-size:19px;color:var(--hc-ink);margin:0 0 10px}.hn-comms-gate p{font-size:13px;color:var(--hc-muted);line-height:1.8;margin:0 0 22px}.hn-comms-gate>.hn-comms-text-btn{display:block;margin:15px auto 0}
.hn-comms-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:white!important;background:linear-gradient(135deg,#258dac,#176f94);border:1px solid #48a5be;border-radius:12px;padding:12px 18px;min-height:45px;font-size:12px;font-weight:600;box-shadow:0 5px 12px #13678a20}
.hn-comms-chat{display:flex;flex-direction:column;min-height:0;height:min(570px,66dvh);position:relative}
.hn-comms-chat-context{display:flex;justify-content:center;align-items:center;gap:7px;padding:11px 20px;font-size:10px;color:var(--hc-muted);background:var(--hc-soft);flex:none}
.hn-comms-transcript{flex:1;min-height:120px;overflow:auto;padding:19px 20px;overscroll-behavior:contain;scrollbar-width:thin}
.hn-comms-older{display:block;margin:0 auto 18px}
.hn-comms-message{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0 0 17px;overflow-wrap:anywhere}
.hn-comms-message.is-own{align-items:flex-end}
.hn-comms-message-author{font-size:9px;font-weight:600;color:var(--hc-muted);padding:0 4px}
.hn-comms-message-body{margin:0;max-width:89%;padding:11px 14px;border-radius:15px 15px 15px 4px;border:1px solid var(--hc-line);background:var(--hc-card);color:var(--hc-ink);font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}
.hn-comms-message.is-own .hn-comms-message-body{color:white;background:linear-gradient(125deg,#2e8faa,#1c789b);border-color:#398fac;border-radius:15px 15px 4px 15px}
.hn-comms-message-meta{font-size:9px;color:var(--hc-muted);padding:0 4px}
.hn-comms-composer{padding:12px 15px 14px;border-top:1px solid var(--hc-line);background:var(--hc-card);flex:none;margin:0}
.hn-comms-composer textarea{display:block;resize:none;width:100%;max-height:130px;min-height:62px;padding:11px 12px;background:var(--hc-soft);color:var(--hc-ink);border:1px solid var(--hc-line);border-radius:12px;font-size:13px;line-height:1.6;box-sizing:border-box}
.hn-comms-composer textarea::placeholder{color:var(--hc-muted)}
.hn-comms-composer-bottom{display:flex;align-items:center;gap:8px;padding:8px 0 0;font-size:8px;color:var(--hc-muted)}
#hnCommsComposerHint{flex:1}#hnCommsCounter{white-space:nowrap}
.hn-comms-send{display:grid;place-items:center;width:37px;height:35px;padding:0;border-radius:10px;border:1px solid #398ead;background:linear-gradient(125deg,#2e8faa,#1c789b);color:white;flex:none}
.hn-comms-send:disabled{opacity:.4;cursor:default}
.hn-comms-new-messages{position:absolute;bottom:141px;align-self:center;padding:6px 13px;border-radius:20px;border:1px solid var(--hc-line);background:var(--hc-glass);color:var(--hc-accent);font-size:11px!important;box-shadow:0 3px 10px #153d6a15}
.hn-comms-contact{padding:8px 22px 22px;overflow:auto}.hn-comms-contact-note{font-size:12px;color:var(--hc-muted);margin:12px 0 18px}
.hn-comms-contact-card{display:flex;align-items:center;gap:14px;padding:16px 14px;margin:0 0 11px;border:1px solid var(--hc-line);border-radius:16px;background:var(--hc-card);color:var(--hc-ink)!important;transition:transform .2s,border-color .2s}
.hn-comms-contact-card:hover{transform:translateY(-2px);border-color:var(--hc-accent)}
.hn-comms-service-icon{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:13px;background:#e3eff9;color:#2b82b8}
.hn-comms-gmail .hn-comms-service-icon{background:#fff0eb;color:#c7624b}.hn-comms-zalo .hn-comms-service-icon{background:#e6f0ff;color:#146ddd}
[data-theme="dark"] .hn-comms-service-icon{background:#253e53;color:#8ed2fc}[data-theme="dark"] .hn-comms-gmail .hn-comms-service-icon{background:#4e3430;color:#ffb5a0}[data-theme="dark"] .hn-comms-zalo .hn-comms-service-icon{background:#233c60;color:#9dc6ff}
.hn-comms-contact-card>span:nth-child(2){flex:1;min-width:0}.hn-comms-contact-card strong{display:block;font-size:14px;font-weight:650;margin-bottom:3px}.hn-comms-contact-card small{display:block;font-size:11px;color:var(--hc-muted);overflow-wrap:anywhere}.hn-comms-contact-card>svg{color:var(--hc-muted)}
.hn-comms-zalo-mark{font-size:14px;font-weight:800;letter-spacing:-1px}
.hn-comms-contact-bottom{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:8px;color:var(--hc-muted);font-size:10px}.hn-comms-contact-bottom a{color:var(--hc-accent)}
.hn-comms-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:992px){.hn-comms-toolbar.has-page-intro{margin-bottom:-54px}.hn-comms-toolbar.has-page-intro+.hn-page-intro{padding-right:140px;min-height:74px}.hn-comms-overlay[data-panel="contact"]{align-items:flex-end;padding-bottom:98px}}
@media(max-width:991px){.hn-comms-overlay{padding:85px 22px 22px}.hn-comms-toolbar{margin-bottom:15px;min-height:45px;gap:10px}.hn-comms-icon-btn{width:45px;height:45px}.hn-comms-contact-trigger{right:20px;bottom:22px}.hn-comms-contact-trigger>span{font-size:11px}.hn-comms-overlay[data-panel="contact"]{align-items:flex-end;padding-bottom:92px}}
@media(max-width:540px){.hn-comms-overlay,.hn-comms-overlay[data-panel="contact"]{padding:12px 10px max(12px,env(safe-area-inset-bottom));align-items:flex-end}.hn-comms-dialog{width:100%;max-height:calc(100dvh - 24px);border-radius:22px}.hn-comms-heading{padding:19px 17px;gap:10px}.hn-comms-heading h2{font-size:19px}.hn-comms-heading-icon{width:40px;height:40px}.hn-comms-heading p{font-size:10px}.hn-comms-close{width:36px;height:36px}.hn-comms-contact-trigger{right:17px;bottom:calc(22px + env(safe-area-inset-bottom))}.hn-comms-contact-trigger>span{max-width:140px;font-size:10px;padding:7px 10px}.hn-comms-contact-trigger>i{width:51px;height:51px}.hn-comms-notices{min-height:160px;max-height:60dvh;padding-inline:12px}.hn-comms-list-actions{padding:13px 16px}.hn-comms-list-actions>span{font-size:9px}.hn-comms-list-actions .hn-comms-text-btn{font-size:10px!important}.hn-comms-chat{height:calc(100dvh - 159px);max-height:650px}.hn-comms-transcript{padding:17px 14px}.hn-comms-composer textarea{font-size:16px}.hn-comms-composer-bottom{font-size:8px}.hn-comms-contact{padding:8px 17px 19px}.hn-comms-contact-card{padding:14px 12px}.hn-comms-contact-note{font-size:12px}.hn-comms-toolbar.has-page-intro{margin-bottom:-45px}.hn-comms-toolbar.has-page-intro+.hn-page-intro h1{padding-right:118px;min-height:45px;display:flex;align-items:center;font-size:26px}.hn-comms-toolbar.has-page-intro+.hn-page-intro p{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.hn-comms *,.hn-comms-toolbar *{transition:none!important;scroll-behavior:auto!important}}

/* One shared toolbar moves into the mobile header; counters and focus stay intact. */
.hn-mobile-shortcuts:empty,.hn-comms-toolbar .hn-mobile-account{display:none}
@media(max-width:991px){
    .hn-topbar.has-mobile-shortcuts{gap:8px;padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))}
    .hn-topbar.has-mobile-shortcuts .hn-topbar-title{gap:0;min-width:0;flex-shrink:0}
    .hn-topbar.has-mobile-shortcuts .hn-topbar-actions{gap:0;flex-shrink:0;margin-left:auto}
    .hn-topbar.has-mobile-shortcuts .hn-topbar-actions>:is(.hn-youtube,.hn-top-divider,.hn-wallet-pill,.hn-login-btn){display:none}
    .hn-topbar .hn-mobile-shortcuts{display:flex;align-items:center}
    .hn-topbar .hn-comms-toolbar{gap:4px;min-height:44px;margin:0;padding:0;z-index:auto}
    .hn-topbar .hn-comms-icon-btn{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%;color:var(--hc-ink)!important;text-decoration:none;box-shadow:0 3px 9px rgba(42,88,118,.07),inset 0 1px 0 rgba(255,255,255,.6)}
    .hn-topbar .hn-comms-icon-btn[aria-expanded="true"]{color:var(--hc-accent)!important}
    .hn-topbar .hn-comms-icon-btn svg{width:21px;height:21px}
    .hn-topbar .hn-comms-icon-btn:hover{transform:none}
    .hn-topbar .hn-mobile-account{display:grid}
    .hn-topbar .hn-mobile-account:focus-visible{outline:3px solid #40a4d0;outline-offset:2px}
    .hn-topbar .hn-comms-badge,.hn-topbar .hn-cart-badge{top:-2px;right:-1px}
    .hn-topbar.has-mobile-shortcuts .hn-menu{min-width:40px;width:40px;min-height:44px;padding-inline:10px}
}
@media(max-width:374px){
    .hn-topbar.has-mobile-shortcuts .hn-mobile-brand>span{display:none}
    .hn-topbar.has-mobile-shortcuts .hn-mobile-brand{gap:0}
}
