/* HST AI: large unobtrusive reaction emoji, keep count legible. */
.msg .hst-reaction-rail{gap:13px;margin-left:12px}
.msg .hst-react-token{font-size:38px!important;line-height:1.1;vertical-align:middle;padding:0!important;gap:4px}
.msg .hst-react-number{font-size:16px;font-weight:900}
.msg:has(.hst-reaction-rail:not(:empty)) .bubble>.text{max-width:calc(100% - 175px)}
@media(max-width:760px){
 .msg .hst-react-token{font-size:34px!important}
 .msg .hst-react-number{font-size:15px}
 .msg:has(.hst-reaction-rail:not(:empty)) .bubble>.text{max-width:calc(100% - 135px)}
}
/* Profile actions. Each icon is an actual accessible button. */
.cloud-profile-card{max-height:calc(100dvh - 28px);overflow-y:auto;scrollbar-width:thin}
.hst-contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:23px}
.hst-contact-action{display:flex;min-width:0;align-items:center;flex-direction:column;gap:9px;background:none;border:0;cursor:pointer;color:#24455d;font:800 12px/1.28 Inter,Segoe UI,Arial,sans-serif}
.hst-contact-action i{display:grid;place-items:center;font:normal 31px/1 "Apple Color Emoji","Segoe UI Emoji",sans-serif;width:76px;max-width:100%;height:76px;aspect-ratio:1;background:linear-gradient(150deg,#fff,#edf8fc);border:3px solid #f69545;border-radius:50%;box-shadow:0 5px 14px rgba(24,72,87,.16);transition:transform .18s,box-shadow .18s}
.hst-contact-action:hover i,.hst-contact-action:focus-visible i{transform:translateY(-3px) scale(1.055);box-shadow:0 6px 25px rgba(251,141,51,.38)}
.hst-contact-action:focus-visible{outline:2px solid #ec841c;outline-offset:4px;border-radius:11px}
.hst-contact-action[aria-pressed="true"] i{border-color:#81b6d0;background:#e1edf2}
.hst-contact-action:disabled{cursor:wait;opacity:.54}
.hst-contact-action span{max-width:100%;overflow-wrap:anywhere;text-align:center}
.hst-contact-tip{font-size:12px;color:#496a7d;min-height:15px;margin:17px 0 0;line-height:1.45;overflow-wrap:anywhere}
.hst-contact-tip[data-error="true"]{color:#b34330}
.hst-direct-toast{position:fixed;right:18px;top:90px;z-index:10015;background:#113248;color:white;border:1px solid #ffd0a0;border-radius:15px;padding:13px 19px;max-width:min(370px,calc(100vw - 30px));box-shadow:0 12px 35px #00192f61;font-size:14px;font-weight:750}
.hst-direct-toast[hidden]{display:none!important}
/* Only the two authorised accounts can load content in this panel. */
.hst-direct-overlay{position:fixed;inset:0;z-index:10012;display:flex;justify-content:flex-end;background:rgba(7,29,48,.54);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.hst-direct-overlay[hidden]{display:none!important}
.hst-direct-panel{width:min(445px,100vw);height:100dvh;display:flex;flex-direction:column;background:linear-gradient(160deg,#fbffff,#f0fbff 67%,#f0f9f0);border-left:1px solid #e2f3ec;box-shadow:-20px 0 80px #06223c66;color:#14334d}
.hst-direct-header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 22px 17px;border-bottom:1px solid #deebee}
.hst-direct-header small{font-size:10px;letter-spacing:.08em;color:#e77f26;text-transform:uppercase;font-weight:900}
.hst-direct-header h2{margin:4px 0 0;font-size:23px;line-height:1.14}
.hst-direct-x{width:39px;height:39px;border:0;border-radius:50%;font-size:26px;background:#e5f3f5;color:#183b53;cursor:pointer;flex:none}
.hst-direct-inbox{padding:18px 16px;overflow:auto;flex:1}
.hst-direct-inbox[hidden],.hst-direct-conversation[hidden]{display:none!important}
.hst-direct-row{display:flex;align-items:center;gap:10px;background:#fff;padding:12px;margin-bottom:11px;border:1px solid #dae9e9;border-radius:17px;box-shadow:0 3px 10px #22526b0c}
.hst-direct-avatar{flex:none;display:grid;place-items:center;width:47px;height:47px;overflow:hidden;border-radius:50%;background:#f3d2a3;color:#295c69;border:2px solid #f89942;font-weight:900}
.hst-direct-avatar img{width:100%;height:100%;object-fit:cover}
.hst-direct-rowinfo{min-width:0;flex:1;display:grid;gap:4px}
.hst-direct-rowinfo strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hst-direct-rowinfo small{color:#55758a;font-size:11px}
.hst-direct-decisions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;max-width:146px}
.hst-direct-decisions button,.hst-direct-open,.hst-direct-cta{padding:9px 11px;border:0;border-radius:12px;background:#ff8a31;color:#152d42;font-weight:900;font-size:12px;cursor:pointer}
.hst-direct-decisions button:nth-child(2){background:#e8eff3;color:#566d7f}
.hst-direct-row button:disabled{opacity:.45;cursor:wait}
.hst-direct-empty,.hst-direct-intro{text-align:center;margin:55px auto;padding:14px;max-width:350px;color:#365d70}
.hst-direct-empty>div,.hst-direct-lock{font-size:54px}
.hst-direct-empty h3,.hst-direct-intro h3{font-size:22px;margin:18px 0 7px;color:#17334c}
.hst-direct-empty p,.hst-direct-intro p{font-size:14px;line-height:1.55;margin:0 0 24px}
.hst-direct-conversation{min-height:0;display:flex;flex:1;flex-direction:column}
.hst-direct-peer{display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid #e4f0ef}
.hst-direct-peer button{background:transparent;border:0;color:#2b647e;font-weight:750;cursor:pointer}
.hst-direct-peer strong{font-size:14px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hst-direct-peer span{margin-left:auto;color:#357c68;font-size:11px;font-weight:800}
.hst-direct-log{flex:1;overflow-y:auto;min-height:0;padding:21px 19px 18px;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin}
.hst-direct-message{max-width:83%;align-self:flex-start;border-radius:18px 18px 18px 5px;padding:11px 13px;background:#f5ffff;border:1px solid #d8ebed;box-shadow:0 3px 12px rgba(16,70,85,.06)}
.hst-direct-message.mine{align-self:flex-end;background:#fff1dc;border-color:#ffdbab;border-radius:18px 18px 5px 18px}
.hst-direct-text{font:500 14px/1.4 Inter,Segoe UI,Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
.hst-direct-message time{display:block;text-align:right;font-size:10px;color:#81949d;margin-top:7px}
.hst-direct-conversation form{display:flex;align-items:flex-end;gap:8px;padding:13px 13px 18px;border-top:1px solid #dbede9}
.hst-direct-conversation textarea{width:100%;min-height:47px;max-height:140px;resize:vertical;padding:12px;border:1px solid #d5e6e6;border-radius:14px;background:#fff;font:500 14px Inter,Segoe UI,Arial,sans-serif;color:#123d59;outline:none}
.hst-direct-conversation textarea:focus{border-color:#f99b41;box-shadow:0 0 0 3px #ffa34432}
.hst-direct-conversation form button{flex:none;border:0;background:#ff8a2f;padding:14px 15px;border-radius:13px;font-weight:900;color:#153047;cursor:pointer}
.hst-direct-conversation form button:disabled{opacity:.55}
.hst-direct-notice{min-height:17px;color:#b04728;font-size:11px;padding:2px 15px 11px}
.v-top-nav #hstDirectOpen{position:relative;white-space:nowrap}
.hst-direct-badge{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:30px;padding:0 4px;font-weight:900;background:#ff802d;color:white;font-size:10px;margin-left:3px}
.hst-direct-badge[hidden]{display:none!important}
.hst-muted-manager{margin:14px 16px;padding:13px;border:1px solid #375a6f;border-radius:15px;background:#102b42;color:#fff}
.hst-muted-manager>button{width:100%;padding:8px;color:white;font-weight:850;border:0;background:#23435e;border-radius:11px;cursor:pointer}
.hst-muted-row{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:9px 2px;border-bottom:1px solid #365a6d;font-size:12px}
.hst-muted-row button{padding:7px 10px;background:#ff9a50;color:#122c42;border:0;border-radius:8px;font-weight:850;cursor:pointer}
.hst-muted-manager p{color:#b8d0d9;font-size:12px}
@media(max-width:760px){
 .hst-contact-action i{width:63px;height:63px;font-size:27px}
 .hst-contact-action{font-size:11px}
 .hst-contact-actions{gap:4px}
 .hst-direct-panel{width:100vw}
 .hst-direct-header{padding:16px}
 .hst-direct-header h2{font-size:20px}
 .hst-direct-inbox{padding:11px}
 .hst-direct-row{gap:7px}
 .hst-direct-rowinfo strong{font-size:12px}
 .hst-direct-decisions{max-width:121px}
 .hst-direct-decisions button{font-size:11px;padding:7px}
 .v-top-nav #hstDirectOpen{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hst-contact-action i{transition:none}}
