/* Approved Inbox v24, scoped to this workspace. ERP shell styles remain shared. */
.hx-inbox{--font-inter:Inter}
.hx-inbox{--background:#fff;--foreground:#192331;--card:#fff;--popover:#fff;--primary:#3159da;--secondary:#f4f5f7;--muted:#f4f5f7;--muted-foreground:#687280;--accent:#f0f1f3;--destructive:#b73333;--border:#e6e8ec;--ring:#3159da;--sidebar:#fafbfc;--radius:10px;--blue:#3159da;--ink:#192331;--sub:#687280;--line:#e6e8ec;--surface:#f6f7f9;}
:where(.hx-inbox) .dark{--background:#15191f;--foreground:#f1f3f7;--card:#1d222b;--popover:#1d222b;--primary:#708ff3;--secondary:#272d37;--muted:#272d37;--muted-foreground:#a8b0bc;--accent:#303744;--destructive:#ed7b7b;--border:#3a424f;--ring:#708ff3;--sidebar:#191e26;}
:where(.hx-inbox) *{box-sizing:border-box;border-color:var(--line)}
.hx-inbox,.hx-inbox{margin:0;width:100%;height:100%;font-family:var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}
:where(.hx-inbox) button,:where(.hx-inbox) input,:where(.hx-inbox) textarea{font:inherit}
:where(.hx-inbox) button{cursor:pointer}
:where(.hx-inbox) button:disabled{cursor:default}
:where(.hx-inbox) button,:where(.hx-inbox) input,:where(.hx-inbox) textarea{outline-offset:3px}
:where(.hx-inbox) button:focus-visible{outline:2px solid var(--blue)}
:where(.hx-inbox) button{transition:background-color 120ms,color 120ms,box-shadow 120ms,transform 100ms}
:where(.hx-inbox) button:active:not(:disabled){transform:translateY(1px)}
:where(.hx-inbox) svg{width:18px;height:18px;stroke-width:1.75;flex-shrink:0}
:where(.hx-inbox) h1,:where(.hx-inbox) h2,:where(.hx-inbox) h3,:where(.hx-inbox) p{margin:0}
:where(.hx-inbox) button svg{pointer-events:none}
:where(.hx-inbox) input::placeholder,:where(.hx-inbox) textarea::placeholder{color:#8b939e}
:where(.hx-inbox) button[data-slot=button]{min-height:44px;border-radius:9px;font-size:14px;gap:8px}
:where(.hx-inbox) button[data-slot=button]:focus-visible{box-shadow:none}
:where(.hx-inbox) input[data-slot=input]{height:44px;min-height:44px;border-radius:9px;font-size:14px;box-shadow:none;padding:0 12px;background:#fff;border:1px solid var(--line)}
:where(.hx-inbox) textarea[data-slot=textarea]{box-shadow:none;resize:none;border-radius:9px;font-size:14px;line-height:1.55;background:#fff;padding:12px;border:1px solid var(--line)}
:where(.hx-inbox) input[data-slot=input]:focus,:where(.hx-inbox) textarea[data-slot=textarea]:focus{border-color:var(--blue);box-shadow:0 0 0 3px #3159da10}
:where(.hx-inbox) .demo-page{height:100dvh;overflow:hidden;background:#eef0f3;display:flex;flex-direction:column}
:where(.hx-inbox) .preview-toolbar{height:48px;min-height:48px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #dfe2e8;z-index:5;gap:14px}
:where(.hx-inbox) .preview-label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;white-space:nowrap}
:where(.hx-inbox) .preview-caption{font-weight:400;color:var(--sub)}
:where(.hx-inbox) .preview-dot{height:7px;width:7px;border-radius:50%;background:var(--blue);margin-right:3px}
:where(.hx-inbox) .sample-tag{font-size:11px;font-weight:500;color:#687280;border:1px solid var(--line);padding:3px 7px;border-radius:5px;margin-left:4px}
:where(.hx-inbox) .preview-tabs[data-slot=tabs-list]{height:34px!important;background:#f1f2f4;padding:3px;border-radius:7px;gap:2px}
:where(.hx-inbox) .preview-tabs button{padding:4px 11px!important;font-size:12px!important;gap:7px;color:var(--sub);height:28px!important}
:where(.hx-inbox) .preview-tabs button[data-active]{color:var(--ink);background:white;box-shadow:0 1px 3px #16213b15}
:where(.hx-inbox) .preview-tabs svg{width:15px;height:15px}
:where(.hx-inbox) .preview-actions{display:flex;align-items:center;gap:8px}
:where(.hx-inbox) .review-button{font-size:12px!important;min-height:34px!important;height:34px;padding:0 8px!important;color:#46505f}
:where(.hx-inbox) .review-button svg{width:14px;height:14px}
:where(.hx-inbox) .preview-actions .icon-button{height:34px!important;width:34px!important;min-height:34px!important}
:where(.hx-inbox) .preview-stage{flex:1;min-height:0;padding:14px;display:flex;justify-content:center;align-items:stretch}
:where(.hx-inbox) .app-frame{container-type:inline-size;width:100%;height:100%;overflow:hidden;border:1px solid #dfe2e8;border-radius:12px;background:#fff;box-shadow:0 5px 24px #17233b06;position:relative}
:where(.hx-inbox) .phone-preview .preview-stage{padding:18px}
:where(.hx-inbox) .phone-preview .app-frame{width:375px;max-width:100%;height:812px;max-height:100%;border-radius:22px;box-shadow:0 15px 45px #18202c20;border:1px solid #cdd2da}
:where(.hx-inbox) .app-shell[data-slot=sidebar-wrapper]{min-height:0;height:100%;width:100%;}
:where(.hx-inbox) .erp-nav[data-slot=sidebar]{width:208px;min-width:208px;border-right:1px solid var(--line);background:#fafbfc}
:where(.hx-inbox) .brand-header{height:78px;display:flex;justify-content:center;padding:22px 23px}
:where(.hx-inbox) .brand-header img{width:105px;height:auto;object-fit:contain;object-position:left;max-height:34px}
:where(.hx-inbox) .nav-content{padding:8px 12px}
:where(.hx-inbox) .nav-label{color:#89919d;font-size:11px;font-weight:600;padding:12px;letter-spacing:.025em}
:where(.hx-inbox) .nav-item[data-slot=sidebar-menu-button]{height:42px;border-radius:7px;padding:0 12px;gap:10px;color:#596474;font-size:13px;font-weight:450}
:where(.hx-inbox) .nav-item svg{height:17px;width:17px;color:#798493}
:where(.hx-inbox) .nav-item.nav-active{background:white;color:#26354a;box-shadow:0 1px 5px #172b4210;font-weight:600}
:where(.hx-inbox) .nav-item.nav-active svg{color:var(--blue)}
:where(.hx-inbox) .nav-count{margin-left:auto;color:var(--blue);font-size:11px}
:where(.hx-inbox) .nav-divider{height:1px;background:var(--line);margin:20px 10px 8px}
:where(.hx-inbox) .workspace-switcher{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:12px 6px;border-top:1px solid var(--line)}
:where(.hx-inbox) .workspace-switcher strong{display:block;font-size:12px;font-weight:600}
:where(.hx-inbox) .workspace-switcher small{display:block;font-size:11px;color:var(--sub);margin-top:3px}
:where(.hx-inbox) .workspace-switcher>svg{width:12px;height:12px;margin-left:auto;color:#8a939f}
:where(.hx-inbox) .org-logo{width:30px;height:30px;background:#292c2c;color:#fff;display:flex;justify-content:center;align-items:center;font:italic 28px Georgia,serif;border-radius:7px}
:where(.hx-inbox) .erp-body{flex:1;min-width:0;display:flex;flex-direction:column;background:#fff}
:where(.hx-inbox) .global-header{height:56px;min-height:56px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 22px}
:where(.hx-inbox) .breadcrumb{display:flex;gap:10px;align-items:center;color:var(--sub);font-size:12px}
:where(.hx-inbox) .breadcrumb strong{font-weight:500;color:#343e4d}
:where(.hx-inbox) .breadcrumb svg{width:12px;height:12px;color:#a3abb5}
:where(.hx-inbox) .global-actions{display:flex;align-items:center;gap:12px}
:where(.hx-inbox) .connection{display:flex;align-items:center;gap:6px;font-size:11px;color:#77818d;margin-right:4px}
:where(.hx-inbox) .connection>span,:where(.hx-inbox) .tiny-dot{width:5px;height:5px;border-radius:50%;background:#2d8d64}
:where(.hx-inbox) .operator-profile{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:500;height:44px}
:where(.hx-inbox) .operator-profile>span,:where(.hx-inbox) .operator-card>span{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5175ef,#3152cf);color:#fff;width:28px;height:28px;border-radius:50%;font-size:12px}
:where(.hx-inbox) .operator-profile svg{width:12px;height:12px;color:#8b929e}
:where(.hx-inbox) .icon-button[data-slot=button]{height:44px;width:44px;min-width:44px;min-height:44px;padding:0;flex-shrink:0;border-radius:9px;color:#737d8b;background:transparent}
:where(.hx-inbox) .icon-button:hover{background:#f1f3f5}
:where(.hx-inbox) .icon-button.is-active{color:var(--blue);background:#f1f2f4}
:where(.hx-inbox) .primary[data-slot=button],:where(.hx-inbox) .primary{background:linear-gradient(135deg,#4770ed,#3155d3);color:white!important;border:1px solid #3155d3;box-shadow:0 2px 4px #3159da20}
:where(.hx-inbox) .primary:hover:not(:disabled){background:linear-gradient(135deg,#3c65e1,#2747bf);box-shadow:0 3px 8px #3159da26}
:where(.hx-inbox) .primary:disabled{background:#eceef2!important;border-color:#e7e9ed!important;color:#a1a8b4!important;opacity:1!important;box-shadow:none}
:where(.hx-inbox) .global-actions .icon-button{color:#8b94a0}
:where(.hx-inbox) .inbox-workspace{position:relative;flex:1;display:flex;min-height:0;min-width:0;overflow:hidden;container-name:inbox;container-type:inline-size}
:where(.hx-inbox) .conversation-list{width:314px;min-width:314px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fff}
:where(.hx-inbox) .list-header{padding:19px 16px 0;border-bottom:1px solid var(--line)}
:where(.hx-inbox) .list-title{display:flex;align-items:center;gap:8px;margin-bottom:14px}
:where(.hx-inbox) .list-title h1{font-size:20px;font-weight:650;letter-spacing:-.5px}
:where(.hx-inbox) .total-count{color:var(--blue);font-size:11px;line-height:19px;min-width:23px;text-align:center;border:1px solid #cdd6f8;border-radius:6px;font-weight:600}
:where(.hx-inbox) .shift-toggle{margin-left:auto;font-size:11px;font-weight:500;color:#687280;display:flex;align-items:center;gap:6px;min-height:30px;border:1px solid var(--line);padding:0 8px;border-radius:6px}
:where(.hx-inbox) .shift-dot{width:5px;height:5px;border-radius:50%;background:#228458}
:where(.hx-inbox) .shift-toggle svg{width:12px;height:12px}
:where(.hx-inbox) .shift-toggle:hover{background:#f6f7f8}
:where(.hx-inbox) .search-actions{display:flex;gap:5px;align-items:center}
:where(.hx-inbox) .search-actions .search-field{flex:1;width:0}
:where(.hx-inbox) .search-actions .icon-button{width:34px;min-width:34px;height:38px;min-height:38px}
:where(.hx-inbox) .search-actions .primary{width:36px;min-width:36px}
:where(.hx-inbox) .search-field{position:relative;display:flex;align-items:center;min-width:0}
:where(.hx-inbox) .search-field>svg{position:absolute;left:11px;pointer-events:none;width:16px;height:16px;color:#929ba7}
:where(.hx-inbox) .search-field input[data-slot=input]{padding-left:33px;padding-right:26px;background:#f7f8fa;border:1px solid #f0f1f3;font-size:12px;height:38px;min-height:38px;border-radius:7px;min-width:0}
:where(.hx-inbox) .search-field>button{position:absolute;right:3px;display:grid;place-items:center;width:30px;height:30px;color:#89919d;border-radius:5px}
:where(.hx-inbox) .search-field>button svg{width:13px;height:13px}
:where(.hx-inbox) .conversation-tabs[data-slot=tabs-list]{width:100%;height:45px!important;justify-content:flex-start;gap:22px;padding:0;margin-top:9px}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger]{flex:0 0 auto;height:45px;font-size:12px;padding:0 1px;font-weight:500;gap:7px;color:#77818e}
:where(.hx-inbox) .conversation-tabs button[data-active]{color:#244cc9}
:where(.hx-inbox) .conversation-tabs button:after{bottom:0!important;height:2px!important;background:#3159da!important;border-radius:1px}
:where(.hx-inbox) .conversation-tabs button>span{font-size:10px;color:inherit;background:#f3f4f6;border-radius:4px;padding:2px 5px;line-height:1}
:where(.hx-inbox) .conversation-rows{overflow-y:auto;flex:1;padding:5px 0;scrollbar-width:thin}
:where(.hx-inbox) .conversation-row{height:76px;width:100%;display:flex;align-items:center;padding:11px 16px;gap:11px;text-align:left;position:relative;border-bottom:1px solid #f2f3f5}
:where(.hx-inbox) .conversation-row:hover{background:#f7f8fa}
:where(.hx-inbox) .conversation-row.selected{background:#f4f5f7}
:where(.hx-inbox) .conversation-row.selected:before{content:"";position:absolute;left:0;top:15px;bottom:15px;background:var(--blue);width:3px;border-radius:0 3px 3px 0}
:where(.hx-inbox) .guest-avatar{width:39px;height:39px;min-width:39px;background:#eceef1;color:#626d7d;font-size:12px;font-weight:550;border-radius:50%;display:flex;justify-content:center;align-items:center;position:relative;letter-spacing:-.4px}
:where(.hx-inbox) .channel-mark{position:absolute;bottom:-2px;right:-3px;background:white;border:2px solid white;border-radius:50%;width:16px;height:16px;display:grid;place-items:center}
:where(.hx-inbox) .channel-mark svg{width:13px;height:13px;stroke:#258259;stroke-width:1.8}
:where(.hx-inbox) .conversation-copy{min-width:0;flex:1}
:where(.hx-inbox) .row-top,:where(.hx-inbox) .row-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between}
:where(.hx-inbox) .row-top{margin-bottom:7px}
:where(.hx-inbox) .row-top strong{font-size:12px;line-height:17px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:where(.hx-inbox) .unread .row-top strong{font-weight:650;color:#152136}
:where(.hx-inbox) .row-top time{font-size:10px;white-space:nowrap;color:#8a929e}
:where(.hx-inbox) .row-bottom{height:18px}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7a8491;min-width:0}
:where(.hx-inbox) .row-bottom b{font-weight:500;color:var(--color-warning-dark)}
:where(.hx-inbox) .unread .row-bottom>span:first-child{color:#5f6b7a}
:where(.hx-inbox) .unread-count{background:#3159da;color:#fff;font-size:10px;min-width:17px;line-height:17px;text-align:center;border-radius:5px;font-weight:600}
:where(.hx-inbox) .list-footer{height:36px;min-height:36px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#949ca7}
:where(.hx-inbox) .chat-panel{flex:1;min-width:0;display:flex;flex-direction:column;background:#f8f9fb;position:relative}
:where(.hx-inbox) .chat-header{height:70px;min-height:70px;background:#fff;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--line);gap:12px;z-index:2}
:where(.hx-inbox) .chat-header>.guest-avatar{width:36px;height:36px;min-width:36px;font-size:11px}
:where(.hx-inbox) .chat-identity{min-width:0;flex:1}
:where(.hx-inbox) .chat-identity h2{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:21px}
:where(.hx-inbox) .chat-identity p{font-size:11px;line-height:18px;color:#8b939e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .whatsapp-label{color:#77818d}
:where(.hx-inbox) .chat-actions{display:flex;align-items:center;gap:2px}
:where(.hx-inbox) .chat-actions .icon-button{height:38px;width:38px;min-height:38px;min-width:38px}
:where(.hx-inbox) .back-button[data-slot=button]{display:none}
:where(.hx-inbox) .message-history{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#dce0e6 transparent;overscroll-behavior:contain}
:where(.hx-inbox) .message-lane{width:100%;max-width:860px;margin:0 auto;padding:0 26px 20px}
:where(.hx-inbox) .date-divider{display:flex;align-items:center;justify-content:center;gap:13px;padding:24px 0;color:#929ba7;font-size:10px}
:where(.hx-inbox) .date-divider>span{height:1px;background:#e8ebef;width:44px}
:where(.hx-inbox) .message-row{display:flex;gap:5px;align-items:center;position:relative;margin-bottom:16px}
:where(.hx-inbox) .message-row.in{justify-content:flex-start;padding-right:55px}
:where(.hx-inbox) .message-row.out{justify-content:flex-end;padding-left:55px}
:where(.hx-inbox) .message-stack{max-width:88%;position:relative;min-width:0}
:where(.hx-inbox) .message-bubble{max-width:560px;border:1px solid #e5e8ed;padding:11px 14px 7px;border-radius:11px;background:#fff;box-shadow:0 1px 2px #11223903}
:where(.hx-inbox) .in .message-bubble{border-bottom-left-radius:3px}
:where(.hx-inbox) .out .message-bubble{background:#f0f2f5;border:1px solid #e8ebef;border-bottom-right-radius:3px}
:where(.hx-inbox) .message-text{font-size:13px;line-height:1.65;color:#303b49;white-space:pre-wrap;overflow-wrap:anywhere}
:where(.hx-inbox) .sender-line{display:flex;align-items:center;gap:6px;font-size:11px;color:#788391;margin-bottom:7px;min-width:0}
:where(.hx-inbox) .account-icon{display:inline-flex;align-items:center;justify-content:center;height:22px;width:22px;min-width:22px;border-radius:5px;font-weight:600;font-size:11px;color:#fff;line-height:1}
:where(.hx-inbox) .locus-account{background:#30383b;font-family:Georgia,serif;font-style:italic;font-size:18px;font-weight:400}
:where(.hx-inbox) .horex-account{background:linear-gradient(140deg,#4b72ed,#3152ce)}
:where(.hx-inbox) .sender-name{font-weight:600;color:#3157b9}
:where(.hx-inbox) .sender-account{color:#667383;font-size:11px}
:where(.hx-inbox) .sender-divider{color:#a4abb6}
:where(.hx-inbox) .message-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#97a0ac;font-size:9px;margin-top:6px;min-height:14px}
:where(.hx-inbox) .message-meta svg{width:13px;height:13px;color:#6985c5;stroke-width:1.65}
:where(.hx-inbox) .message-more[data-slot=button]{width:28px;min-width:28px;height:32px;min-height:32px;opacity:0;color:#94a0af;order:1}
:where(.hx-inbox) .out .message-more{order:-1}
:where(.hx-inbox) .message-row:hover .message-more,:where(.hx-inbox) .message-more:focus-visible,:where(.hx-inbox) .message-more[aria-expanded=true]{opacity:1}
:where(.hx-inbox) .message-more svg{width:16px;height:16px}
:where(.hx-inbox) .timeline-event{display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin:7px auto 19px;padding:7px 10px;color:#87919f;font-size:10px;border-radius:6px;flex-wrap:wrap}
:where(.hx-inbox) .timeline-event:hover{background:#eef0f3}
:where(.hx-inbox) .timeline-event strong{font-size:10px;font-weight:500;color:#75808f}
:where(.hx-inbox) .timeline-event>svg{width:13px;height:13px}
:where(.hx-inbox) .timeline-event>svg:last-child{width:11px;height:11px}
:where(.hx-inbox) .template-label{display:flex;align-items:center;gap:4px;font-size:9px;color:#87919f;margin:2px 0 8px}
:where(.hx-inbox) .template-label svg{width:11px;height:11px}
:where(.hx-inbox) .history-end{height:2px}
:where(.hx-inbox) .composer-area{background:#fff;border-top:1px solid var(--line);padding:10px 26px 8px}
:where(.hx-inbox) .composer-inner{max-width:808px;margin:0 auto}
:where(.hx-inbox) .composer-context{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;gap:8px;height:30px}
:where(.hx-inbox) .account-selector{display:flex;align-items:center;gap:7px;color:#8a939e;font-size:10px;padding:3px 2px;border-radius:5px;min-height:30px}
:where(.hx-inbox) .account-selector:hover{background:#f4f5f7}
:where(.hx-inbox) .account-selector .account-icon{width:18px;height:18px;min-width:18px;font-size:14px}
:where(.hx-inbox) .account-selector .horex-account{font-size:9px}
:where(.hx-inbox) .account-selector strong{font-weight:500;color:#5f6d7e}
:where(.hx-inbox) .account-selector>svg{width:10px;height:10px}
:where(.hx-inbox) .ai-reply{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:500;color:#62708a;min-height:30px;border-radius:5px;padding:0 6px}
:where(.hx-inbox) .ai-reply:hover{background:#f3f4f7;color:var(--blue)}
:where(.hx-inbox) .ai-reply svg{width:14px;height:14px}
:where(.hx-inbox) .composer-row{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid #dce1e8;border-radius:12px;padding:5px;transition:border-color 150ms,box-shadow 150ms}
:where(.hx-inbox) .composer-row:focus-within{border-color:#8aa2ec;box-shadow:0 0 0 3px #3159da09}
:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{border:0;box-shadow:none!important;padding:11px 3px;height:44px;min-height:44px;max-height:152px;flex:1;min-width:0;background:transparent;border-radius:0;font-size:13px;line-height:22px;resize:none;display:block;scrollbar-width:thin;outline:none}
:where(.hx-inbox) .composer-row .icon-button{border-radius:8px;width:44px;height:44px;min-width:44px;min-height:44px}
:where(.hx-inbox) .send-button svg{height:19px;width:19px}
:where(.hx-inbox) .composer-hint{font-size:9px;color:#a0a7b1;display:flex;justify-content:space-between;gap:8px;margin:7px 1px 0;min-height:13px}
:where(.hx-inbox) .draft-hint{white-space:nowrap}
:where(.hx-inbox) .mobile-hint{display:none}
:where(.hx-inbox) .guest-panel{width:296px;min-width:296px;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;animation:hx-inbox-panel-appear 180ms ease-out}
:where(.hx-inbox) .guest-panel-header{display:flex;align-items:center;justify-content:space-between;height:70px;min-height:70px;border-bottom:1px solid var(--line);padding:0 18px}
:where(.hx-inbox) .guest-panel-header h2{font-size:12px;font-weight:600;color:#4e5a69}
:where(.hx-inbox) .guest-panel-header .icon-button{height:34px;width:34px;min-height:34px;min-width:34px}
:where(.hx-inbox) .guest-panel-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
:where(.hx-inbox) .guest-profile{padding:27px 20px 20px;display:flex;flex-direction:column;align-items:center}
:where(.hx-inbox) .guest-avatar.large{height:60px;width:60px;font-size:18px;background:#eef0f3;color:#647083}
:where(.hx-inbox) .guest-avatar.large .channel-mark{height:20px;width:20px}
:where(.hx-inbox) .guest-avatar.large .channel-mark svg{width:16px;height:16px}
:where(.hx-inbox) .guest-profile h2{font-size:15px;font-weight:600;margin-top:13px;line-height:23px}
:where(.hx-inbox) .guest-profile p{font-size:11px;color:#89929e;line-height:20px}
:where(.hx-inbox) .loyalty-label{display:flex;align-items:center;gap:4px;margin-top:9px;color:#7d8794;font-size:10px;border:1px solid var(--line);border-radius:5px;padding:3px 6px}
:where(.hx-inbox) .loyalty-label svg{width:10px;height:10px}
:where(.hx-inbox) .guest-stats{display:grid;grid-template-columns:.8fr 1.25fr 1fr;margin:0 16px 7px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
:where(.hx-inbox) .guest-stats>div{text-align:center;border-right:1px solid var(--line)}
:where(.hx-inbox) .guest-stats>div:last-child{border:0}
:where(.hx-inbox) .guest-stats strong{display:block;font-size:16px;line-height:22px;font-weight:550;letter-spacing:-.3px;white-space:nowrap}
:where(.hx-inbox) .guest-stats small{font-size:8px;font-weight:500;color:#a0a7b1;letter-spacing:0}
:where(.hx-inbox) .guest-stats span{display:block;color:#939ba6;font-size:9px;margin-top:4px}
:where(.hx-inbox) .detail-section{margin:0 18px;padding:17px 0;border-bottom:1px solid var(--line)}
:where(.hx-inbox) .detail-section:last-child{border:0}
:where(.hx-inbox) .section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;min-height:22px}
:where(.hx-inbox) .section-heading h3{font-size:11px;font-weight:600;color:#596575}
:where(.hx-inbox) .section-heading>.secondary{font-size:10px}
:where(.hx-inbox) .section-heading .icon-button{width:26px;height:26px;min-width:26px;min-height:26px}
:where(.hx-inbox) .section-heading .icon-button svg{width:14px;height:14px}
:where(.hx-inbox) .guest-note{padding:1px 0 2px}
:where(.hx-inbox) .guest-note+.guest-note{margin-top:14px}
:where(.hx-inbox) .guest-note p{font-size:11px;color:#6f7b8a;line-height:1.65}
:where(.hx-inbox) .guest-note>span{display:block;font-size:9px;color:#a1a8b2;margin-top:7px}
:where(.hx-inbox) .order-row{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:left;padding:11px 0;border-bottom:1px solid #f0f1f4;border-radius:3px}
:where(.hx-inbox) .order-row:last-child{border-bottom:0;padding-bottom:0}
:where(.hx-inbox) .order-row:hover{background:#f8f9fb}
:where(.hx-inbox) .order-icon{width:27px;height:29px;display:grid;place-items:center;border:1px solid #e9ecf0;border-radius:5px;color:#8c98a8;background:white}
:where(.hx-inbox) .order-icon svg{height:13px;width:13px}
:where(.hx-inbox) .order-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
:where(.hx-inbox) .order-info strong{font-size:11px;font-weight:500;display:flex;justify-content:space-between;color:#506074;gap:8px}
:where(.hx-inbox) .order-info strong>span{font-size:10px;color:#7a8798;font-weight:400}
:where(.hx-inbox) .order-info>span{font-size:9px;color:#a0a8b3}
:where(.hx-inbox) .order-row>svg{width:11px;height:11px;color:#a9b0ba;margin-top:4px}
:where(.hx-inbox) .order-status{display:inline-flex;align-items:center;gap:4px;color:var(--color-gray-500);font-size:9px;line-height:14px}
:where(.hx-inbox) .order-status svg{width:10px;height:10px}
:where(.hx-inbox) .order-status.active{color:var(--color-warning-dark)}
:where(.hx-inbox) .contact-row{display:flex;gap:9px;align-items:flex-start;margin-top:15px}
:where(.hx-inbox) .contact-row>svg{width:14px;height:14px;color:#8c97a7;margin-top:2px}
:where(.hx-inbox) .contact-row span{font-size:9px;color:#a0a8b4}
:where(.hx-inbox) .contact-row p{font-size:11px;color:#7a8797;margin-top:4px}
:where(.hx-inbox) .detail-sheet[data-slot=sheet-content],:where(.hx-inbox) .workflow-sheet[data-slot=sheet-content]{width:420px;max-width:100vw;gap:0;background:#fff;border-left:1px solid var(--line);box-shadow:-12px 0 40px #16213b12}
:where(.hx-inbox) .detail-sheet[data-slot=sheet-content]{width:340px}
:where(.hx-inbox) .panel-title[data-slot=sheet-header]{height:74px;min-height:74px;padding:15px 22px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
:where(.hx-inbox) .panel-title [data-slot=sheet-title]{font-size:17px;font-weight:600;letter-spacing:-.3px}
:where(.hx-inbox) .workflow-body{flex:1;min-height:0;overflow:auto;padding:24px;overscroll-behavior:contain}
:where(.hx-inbox) .workflow-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line);background:#fff;flex-shrink:0;padding-bottom:max(16px,env(safe-area-inset-bottom))}
:where(.hx-inbox) .workflow-footer button{white-space:normal}
:where(.hx-inbox) .workflow-sheet input[data-slot=input]{margin-top:7px}
:where(.hx-inbox) .field-label{font-size:13px;font-weight:600;display:block;color:#4b5769;margin-top:24px;margin-bottom:8px}
:where(.hx-inbox) .field-help{font-size:12px;color:#9099a7;line-height:1.6;margin-top:10px}
:where(.hx-inbox) .secondary{font-size:13px;color:#7c8796;line-height:1.7}
:where(.hx-inbox) .recipient-summary{display:flex;align-items:center;gap:12px;margin-bottom:24px}
:where(.hx-inbox) .recipient-summary>div{display:flex;flex-direction:column;gap:5px}
:where(.hx-inbox) .recipient-summary strong{font-size:14px;font-weight:600}
:where(.hx-inbox) .recipient-summary span:not(.guest-avatar,.channel-mark){font-size:12px;color:#8c96a4}
:where(.hx-inbox) .recipient-summary>svg{width:24px;height:24px;color:#3159da}
:where(.hx-inbox) .note-input[data-slot=textarea]{height:170px;font-size:14px}
:where(.hx-inbox) .settings-input[data-slot=textarea]{height:280px;font-size:14px}
:where(.hx-inbox) .action-menu[data-slot=dropdown-menu-content]{min-width:218px;width:auto;max-width:calc(100vw - 16px);padding:5px;background:#fff;border:1px solid #e5e8ed;box-shadow:0 8px 25px #1b2a421a;border-radius:10px}
:where(.hx-inbox) .action-menu [data-slot=dropdown-menu-item]{min-height:44px;padding:0 10px;gap:10px;font-size:13px;color:#526073;cursor:pointer;border-radius:6px}
:where(.hx-inbox) .action-menu [data-slot=dropdown-menu-item]:focus,:where(.hx-inbox) .action-menu [data-slot=dropdown-menu-item][data-highlighted]{background:#f2f4f7;color:#25469e}
:where(.hx-inbox) .action-menu svg{width:16px;height:16px}
:where(.hx-inbox) .action-menu .account-icon{height:22px;width:22px}
:where(.hx-inbox) .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:55px 22px;gap:12px;color:#9ba5b2}
:where(.hx-inbox) .empty-state>svg{width:30px;height:30px;stroke-width:1.4}
:where(.hx-inbox) .empty-state h3{font-size:15px;color:#566477;font-weight:550;line-height:1.5}
:where(.hx-inbox) .empty-state p{font-size:12px;color:#8a96a5;line-height:1.7}
:where(.hx-inbox) .empty-state button{margin-top:8px;font-size:12px!important}
:where(.hx-inbox) .message-row.fresh{animation:hx-inbox-message-appear 180ms ease-out}
:where(.hx-inbox) .message-bubble.failed{border-color:#ce7373}
:where(.hx-inbox) .failed .message-meta,:where(.hx-inbox) .failed .message-meta svg{color:#b34343}
:where(.hx-inbox) .retry-button{display:flex;align-items:center;gap:5px;font-size:11px;color:#b34343;margin:3px 0 0 auto;min-height:32px;padding:0 3px}
:where(.hx-inbox) .retry-button svg{width:12px;height:12px}
:where(.hx-inbox) .reaction-chip{display:flex;align-items:center;gap:4px;width:max-content;padding:3px 7px;font-size:10px;border:1px solid #dbe0e8;border-radius:10px;background:#fff;color:#758393;margin-top:-2px;position:relative}
:where(.hx-inbox) .reaction-chip svg{width:11px;height:11px}
:where(.hx-inbox) .out .reaction-chip{margin-left:auto}
:where(.hx-inbox) .pending-attachment{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:5px 8px;border-radius:7px;margin-bottom:8px;font-size:12px;color:#637187}
:where(.hx-inbox) .pending-attachment>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.hx-inbox) .pending-attachment .icon-button{width:30px;height:30px;min-width:30px;min-height:30px}
:where(.hx-inbox) .attachment-card{display:flex;align-items:center;gap:10px;margin:6px 0;font-size:12px;overflow-wrap:anywhere}
:where(.hx-inbox) .attachment-card svg{color:#7787a1}
:where(.hx-inbox) .attachment-card small{display:block;font-size:10px;color:#95a0af;margin-top:4px}
:where(.hx-inbox) .timeline-note{display:flex;gap:9px;margin:10px auto 18px;padding:11px 13px;border:1px dashed #dfe3e9;max-width:420px;border-radius:7px;background:#fff}
:where(.hx-inbox) .timeline-note>svg{width:13px;height:13px;color:#8794a8;margin-top:3px}
:where(.hx-inbox) .timeline-note strong{font-size:10px;font-weight:550;color:#68768b}
:where(.hx-inbox) .timeline-note strong>span{font-weight:400;color:#97a2b1}
:where(.hx-inbox) .timeline-note p{font-size:12px;margin-top:5px;line-height:1.6;color:#6d7b8f}
:where(.hx-inbox) .demo-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 14px 13px 16px;background:#fff;border:1px solid #dce2ec;box-shadow:0 8px 40px #1426441c;border-radius:10px;z-index:100;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);width:max-content;font-size:12px;color:#536178;animation:hx-inbox-toast-appear 150ms ease-out}
:where(.hx-inbox) .demo-toast>svg{color:#39825f;height:17px;width:17px}
:where(.hx-inbox) .demo-toast>button{height:28px;width:28px;display:grid;place-items:center;margin-left:8px;color:#929ca9;flex-shrink:0}
:where(.hx-inbox) .demo-toast>button svg{width:14px;height:14px}
:where(.hx-inbox) .new-messages-button{position:absolute;bottom:157px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;border:1px solid #dce2ec;background:#fff;box-shadow:0 3px 10px #122d4510;color:#3159da;border-radius:16px;padding:8px 12px;font-size:12px;white-space:nowrap}
:where(.hx-inbox) .new-messages-button svg{height:13px;width:13px}
:where(.hx-inbox) .suggestion-card{display:block;width:100%;text-align:left;border:1px solid #e0e5ee;border-radius:10px;padding:17px;margin-bottom:12px}
:where(.hx-inbox) .suggestion-card:hover{border-color:#899fdb;box-shadow:0 3px 10px #233d5f08}
:where(.hx-inbox) .suggestion-card>span{font-size:11px;font-weight:600;color:#8995a6}
:where(.hx-inbox) .suggestion-card p{font-size:14px;line-height:1.7;margin:9px 0 12px;color:#45546b}
:where(.hx-inbox) .suggestion-card small{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:11px;color:#3159da}
:where(.hx-inbox) .suggestion-card svg{height:12px;width:12px}
:where(.hx-inbox) .ai-loading{display:flex;justify-content:center;align-items:center;gap:9px;height:140px;color:#8390a4;font-size:13px}
:where(.hx-inbox) .hx-inbox-spin{animation:hx-inbox-spin 900ms linear infinite}
:where(.hx-inbox) .template-preview{border:1px solid var(--line);border-radius:10px;padding:18px;margin-top:26px}
:where(.hx-inbox) .eyebrow{display:block;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#919cab;font-weight:550}
:where(.hx-inbox) .template-preview .sender-line{margin-top:18px;margin-bottom:11px}
:where(.hx-inbox) .template-preview p{font-size:14px;line-height:1.7;color:#59677b}
:where(.hx-inbox) .template-info{display:flex;align-items:center;gap:6px;font-size:11px;color:#54816a;margin-top:14px}
:where(.hx-inbox) .template-info>span{margin-left:auto;color:#8c98a7}
:where(.hx-inbox) .template-info svg{width:13px;height:13px}
:where(.hx-inbox) .template-picker{min-width:270px!important;max-width:calc(100vw - 32px);background:#fff;border:1px solid var(--line);z-index:80!important}
:where(.hx-inbox) .template-picker [data-slot=combobox-item]{min-height:44px;padding:10px 12px;font-size:13px}
:where(.hx-inbox) .template-language{margin-left:auto;color:#94a0b0;font-size:10px}
:where(.hx-inbox) .workflow-body [data-slot=input-group]{height:44px;min-height:44px;border-color:var(--line);border-radius:8px;box-shadow:none}
:where(.hx-inbox) .workflow-body [data-slot=input-group] input{font-size:14px;min-width:0}
:where(.hx-inbox) .forward-preview{border-left:2px solid #a7b4d2;background:#f7f8fa;padding:12px 15px;display:flex;gap:10px;border-radius:0 7px 7px 0}
:where(.hx-inbox) .forward-preview svg{width:14px;height:14px;color:#909eb4;margin-top:4px}
:where(.hx-inbox) .forward-preview p{font-size:12px;color:#78879d;line-height:1.7;max-height:110px;overflow:auto;white-space:pre-wrap}
:where(.hx-inbox) .recipient-list{margin-top:14px}
:where(.hx-inbox) .recipient-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:12px 6px;border-bottom:1px solid #edf0f4}
:where(.hx-inbox) .recipient-row>span:nth-child(2){min-width:0;flex:1}
:where(.hx-inbox) .recipient-row strong{display:block;font-size:13px;font-weight:550;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
:where(.hx-inbox) .recipient-row small{display:block;font-size:11px;color:#96a0b0;margin-top:4px}
:where(.hx-inbox) .radio-mark{width:20px;height:20px;border:1px solid #d5dce6;border-radius:50%;display:grid;place-items:center}
:where(.hx-inbox) .radio-mark svg{width:12px;height:12px;color:white}
:where(.hx-inbox) .chosen .radio-mark{background:#3159da;border-color:#3159da}
:where(.hx-inbox) .recipient-row:hover{background:#f7f8fa}
:where(.hx-inbox) .order-detail-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#98a2b1}
:where(.hx-inbox) .order-detail-heading .order-status{font-size:12px}
:where(.hx-inbox) .order-detail-heading svg{height:14px;width:14px}
:where(.hx-inbox) .order-customer{font-size:21px;font-weight:550;margin-top:28px;margin-bottom:6px}
:where(.hx-inbox) .order-lines{margin-top:32px}
:where(.hx-inbox) .order-lines>div{display:flex;gap:15px;justify-content:space-between;margin:20px 0;font-size:13px;color:#77859a}
:where(.hx-inbox) .order-lines strong{font-size:12px;font-weight:500;white-space:nowrap;color:#566781}
:where(.hx-inbox) .order-lines .order-total{padding-top:18px;border-top:1px solid var(--line);font-weight:600;color:#445773}
:where(.hx-inbox) .order-instruction{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);padding:15px;margin-top:25px;border-radius:8px}
:where(.hx-inbox) .order-instruction svg{width:16px;height:16px;color:#8b98ab}
:where(.hx-inbox) .order-instruction p{font-size:13px;color:#728096;line-height:1.6}
:where(.hx-inbox) .review-title{font-size:25px;line-height:1.3;font-weight:550;letter-spacing:-.8px;margin:14px 0}
:where(.hx-inbox) .review-point{display:flex;gap:16px;padding:21px 0;border-bottom:1px solid var(--line)}
:where(.hx-inbox) .review-point>span{font-size:12px;font-weight:500;color:#9aa6b9;padding-top:3px}
:where(.hx-inbox) .review-point h3{font-size:14px;font-weight:550;margin-bottom:7px}
:where(.hx-inbox) .review-point p{font-size:12px;color:#8c98a9;line-height:1.7}
:where(.hx-inbox) .demo-explanation{padding:23px 0;font-size:12px;color:#8a96a7;line-height:1.75}
:where(.hx-inbox) .demo-explanation strong{font-size:13px;color:#67778e;font-weight:550}
:where(.hx-inbox) .demo-explanation p{margin-top:8px}
:where(.hx-inbox) .help-row{display:flex;gap:12px;margin-top:28px}
:where(.hx-inbox) .help-row>svg{color:#8a99ae;margin-top:2px}
:where(.hx-inbox) .help-row h3{font-size:14px;font-weight:550}
:where(.hx-inbox) .help-row p{font-size:12px;line-height:1.7;color:#8a97aa;margin-top:8px}
:where(.hx-inbox) .operator-card{display:flex;flex-direction:column;align-items:center;padding:20px 0 35px}
:where(.hx-inbox) .operator-card>span{width:56px;height:56px;font-size:23px}
:where(.hx-inbox) .operator-card h2{margin-top:15px;font-size:20px;font-weight:550}
:where(.hx-inbox) .operator-card p{font-size:13px;color:#95a0b0;margin-top:6px}
:where(.hx-inbox) .secondary-button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);min-height:44px;border-radius:8px;font-size:13px;color:#718099}
:where(.hx-inbox) .full{width:100%}
@keyframes hx-inbox-message-appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes hx-inbox-panel-appear{from{opacity:.4;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@keyframes hx-inbox-spin{to{transform:rotate(360deg)}}
@keyframes hx-inbox-toast-appear{from{opacity:0;bottom:18px}to{opacity:1;bottom:24px}}
:where(.hx-inbox) .row-top strong{font-size:14px}
:where(.hx-inbox) .row-top time{font-size:11px;color:#727d8b}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:12px;color:#727e8d}
:where(.hx-inbox) .conversation-row{height:73px}
:where(.hx-inbox) .message-text{font-size:14px}
:where(.hx-inbox) .message-meta{font-size:11px;color:#7d8897}
:where(.hx-inbox) .sender-name{font-size:12px}
:where(.hx-inbox) .sender-account{font-size:12px}
:where(.hx-inbox) .template-label{font-size:11px;color:#758294}
:where(.hx-inbox) .timeline-event,:where(.hx-inbox) .timeline-event strong,:where(.hx-inbox) .date-divider{font-size:11px;color:#7d8797}
:where(.hx-inbox) .composer-hint{font-size:10px;color:#7c8797}
:where(.hx-inbox) .account-selector{font-size:11px}
:where(.hx-inbox) .list-footer{font-size:11px;color:#7e899a}
:where(.hx-inbox) .nav-label{font-size:11px;color:#738094}
:where(.hx-inbox) .guest-profile p{font-size:12px;color:#728094}
:where(.hx-inbox) .section-heading h3{font-size:12px;color:#566578}
:where(.hx-inbox) .guest-note p{font-size:12px;color:#67768a}
:where(.hx-inbox) .guest-note>span{font-size:11px;color:#7c899d}
:where(.hx-inbox) .guest-stats span{font-size:11px;color:#788598}
:where(.hx-inbox) .guest-stats small{font-size:10px;color:#788598}
:where(.hx-inbox) .order-info strong{font-size:12px}
:where(.hx-inbox) .order-info>span{font-size:11px;color:#7c899e}
:where(.hx-inbox) .order-info strong>span{font-size:11px;color:#68798f}
:where(.hx-inbox) .order-status{font-size:11px}
:where(.hx-inbox) .contact-row span{font-size:11px;color:#7d8b9e}
:where(.hx-inbox) .contact-row p{font-size:12px;color:#687b94}
:where(.hx-inbox) .loyalty-label{font-size:11px;color:#758399}
:where(.hx-inbox) .field-help{color:#738196}
:where(.hx-inbox) .secondary{color:#6b7a90}
:where(.hx-inbox) .review-point p,:where(.hx-inbox) .demo-explanation,:where(.hx-inbox) .help-row p{color:#738297}
:where(.hx-inbox) .search-actions .icon-button,:where(.hx-inbox) .search-actions .primary{width:44px;min-width:44px;height:44px;min-height:44px}
:where(.hx-inbox) .search-field input[data-slot=input]{height:44px;min-height:44px}
:where(.hx-inbox) .shift-toggle{min-height:44px}
:where(.hx-inbox) .chat-actions .icon-button,:where(.hx-inbox) .guest-panel-header .icon-button,:where(.hx-inbox) .section-heading .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}
:where(.hx-inbox) .message-more[data-slot=button]{width:44px;min-width:44px;height:44px;min-height:44px}
:where(.hx-inbox) .composer-context{height:38px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{min-height:38px}
:where(.hx-inbox) .message-stack{max-width:calc(100% - 49px)}
@container (max-width:1150px){:where(.hx-inbox) .erp-nav[data-slot=sidebar]{display:none}
:where(.hx-inbox) .global-header{padding:0 16px}
:where(.hx-inbox) .conversation-list{width:294px;min-width:294px}}
@container inbox (max-width:920px){:where(.hx-inbox) .chat-header{padding:0 15px;gap:9px}
:where(.hx-inbox) .chat-header>.guest-avatar{display:none}
:where(.hx-inbox) .chat-actions{gap:0}
:where(.hx-inbox) .message-lane{padding-left:18px;padding-right:18px}
:where(.hx-inbox) .message-row.in{padding-right:12px}
:where(.hx-inbox) .message-row.out{padding-left:12px}
:where(.hx-inbox) .message-stack{max-width:92%}
:where(.hx-inbox) .composer-area{padding-left:18px;padding-right:18px}
:where(.hx-inbox) .identity-phone{display:none}}
@container (max-width:780px){:where(.hx-inbox) .erp-nav[data-slot=sidebar],:where(.hx-inbox) .global-header{display:none}
:where(.hx-inbox) .conversation-list{width:100%;min-width:0;flex:1}
:where(.hx-inbox) .show-chat .conversation-list{display:none}
:where(.hx-inbox) .show-list .chat-panel{display:none}
:where(.hx-inbox) .chat-header{height:65px;min-height:65px;padding:0 9px;gap:5px}
:where(.hx-inbox) .back-button[data-slot=button]{display:flex}
:where(.hx-inbox) .chat-actions .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}
:where(.hx-inbox) .chat-identity h2{font-size:14px}
:where(.hx-inbox) .chat-identity p{font-size:11px}
:where(.hx-inbox) .help-button[data-slot=button]{display:none}
:where(.hx-inbox) .message-lane{padding:0 12px 14px}
:where(.hx-inbox) .date-divider{padding:19px 0;font-size:10px}
:where(.hx-inbox) .message-text{font-size:15px;line-height:1.6}
:where(.hx-inbox) .message-stack{max-width:calc(100% - 47px)}
:where(.hx-inbox) .message-row{margin-bottom:14px;gap:3px}
:where(.hx-inbox) .message-row.in,:where(.hx-inbox) .message-row.out{padding:0}
:where(.hx-inbox) .message-bubble{padding:10px 12px 7px;border-radius:11px}
:where(.hx-inbox) .sender-line{font-size:11px;gap:6px}
:where(.hx-inbox) .sender-name{font-size:12px}
:where(.hx-inbox) .sender-account{font-size:11px}
:where(.hx-inbox) .sender-line .account-icon{width:23px;height:23px;min-width:23px}
:where(.hx-inbox) .message-meta{font-size:10px}
:where(.hx-inbox) .message-more[data-slot=button]{opacity:1;width:44px;min-width:44px;height:44px;min-height:44px;color:#8b97a9}
:where(.hx-inbox) .composer-area{padding:7px 10px max(7px,env(safe-area-inset-bottom))}
:where(.hx-inbox) .composer-context{margin-bottom:6px;height:34px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{min-height:34px}
:where(.hx-inbox) .account-selector{font-size:10px}
:where(.hx-inbox) .ai-reply{font-size:11px}
:where(.hx-inbox) .composer-row{gap:4px;padding:4px;border-radius:12px}
:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{font-size:16px;padding:10px 0;line-height:24px}
:where(.hx-inbox) .composer-row .icon-button{width:44px;min-width:44px}
:where(.hx-inbox) .keyboard-hint{display:none}
:where(.hx-inbox) .mobile-hint{display:inline}
:where(.hx-inbox) .composer-hint{font-size:9px;margin-top:5px}
:where(.hx-inbox) .list-header{padding:19px 16px 0}
:where(.hx-inbox) .list-title{margin-bottom:15px}
:where(.hx-inbox) .list-title h1{font-size:23px}
:where(.hx-inbox) .shift-toggle{min-height:44px;font-size:12px;padding:0 11px}
:where(.hx-inbox) .search-actions{gap:6px}
:where(.hx-inbox) .search-actions .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}
:where(.hx-inbox) .search-field input[data-slot=input]{height:44px;min-height:44px;font-size:14px}
:where(.hx-inbox) .conversation-tabs[data-slot=tabs-list]{height:49px!important;gap:27px}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger]{height:49px;font-size:13px}
:where(.hx-inbox) .conversation-row{height:78px;padding:13px 17px;gap:12px}
:where(.hx-inbox) .guest-avatar{width:42px;height:42px;min-width:42px;font-size:13px}
:where(.hx-inbox) .row-top strong{font-size:14px}
:where(.hx-inbox) .row-top time{font-size:11px}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:12px}
:where(.hx-inbox) .list-footer{height:39px;font-size:11px}
:where(.hx-inbox) .row-top{margin-bottom:7px}
:where(.hx-inbox) .unread-count{font-size:11px;line-height:19px;min-width:19px}
:where(.hx-inbox) .total-count{font-size:12px;line-height:21px}
:where(.hx-inbox) .timeline-event{font-size:10px;margin-bottom:18px}
:where(.hx-inbox) .new-messages-button{bottom:153px}}
@media (min-width:601px){:where(.hx-inbox) .demo-phone-sheet[data-slot=sheet-content]{width:375px;max-width:calc(100vw - 36px);height:calc(100dvh - 84px);max-height:812px;top:66px;bottom:auto;left:50%;right:auto;transform:translateX(-50%);border-radius:22px;overflow:hidden}
:where(.hx-inbox) .demo-phone-sheet .panel-title{height:65px;min-height:65px;padding:10px 14px}
:where(.hx-inbox) .demo-phone-sheet .workflow-body{padding:20px}
:where(.hx-inbox) .demo-phone-sheet .workflow-footer{padding:14px 20px}
:where(.hx-inbox) .demo-phone-sheet .workflow-footer button{font-size:12px!important}
:where(.hx-inbox) .demo-phone-sheet .guest-panel-scroll .guest-profile{padding-top:22px}}
@media (max-width:600px){:where(.hx-inbox) .preview-toolbar{height:44px;min-height:44px;padding:0 10px;gap:8px}
:where(.hx-inbox) .preview-label{font-size:12px;gap:5px}
:where(.hx-inbox) .preview-caption,:where(.hx-inbox) .sample-tag,:where(.hx-inbox) .preview-tabs,:where(.hx-inbox) .review-button{display:none!important}
:where(.hx-inbox) .preview-actions{gap:0}
:where(.hx-inbox) .preview-stage,:where(.hx-inbox) .phone-preview .preview-stage{padding:0}
:where(.hx-inbox) .app-frame,:where(.hx-inbox) .phone-preview .app-frame{border:0;border-radius:0;width:100%;height:100%;box-shadow:none}
:where(.hx-inbox) .preview-actions .icon-button{height:40px;min-height:40px;width:40px;min-width:40px}
:where(.hx-inbox) .preview-toolbar [data-slot=tabs]{margin-left:auto}
:where(.hx-inbox) .detail-sheet[data-slot=sheet-content],:where(.hx-inbox) .workflow-sheet[data-slot=sheet-content]{width:100%;max-width:100%;border:0}
:where(.hx-inbox) .panel-title[data-slot=sheet-header]{height:65px;min-height:65px;padding:10px 14px}
:where(.hx-inbox) .workflow-body{padding:20px}
:where(.hx-inbox) .workflow-footer{padding-left:20px;padding-right:20px}
:where(.hx-inbox) .workflow-footer button{font-size:13px!important}
:where(.hx-inbox) .workflow-body input[data-slot=input],:where(.hx-inbox) .workflow-body textarea[data-slot=textarea],:where(.hx-inbox) .workflow-body [data-slot=input-group] input{font-size:16px}
:where(.hx-inbox) .detail-section{margin:0 22px;padding:19px 0}
:where(.hx-inbox) .guest-profile{padding:25px 20px}
:where(.hx-inbox) .guest-profile h2{font-size:18px}
:where(.hx-inbox) .guest-profile p{font-size:13px}
:where(.hx-inbox) .guest-stats{margin:0 22px 7px;padding:18px 0}
:where(.hx-inbox) .guest-stats strong{font-size:19px}
:where(.hx-inbox) .guest-stats span{font-size:11px}
:where(.hx-inbox) .guest-stats small{font-size:9px}
:where(.hx-inbox) .section-heading h3{font-size:13px}
:where(.hx-inbox) .section-heading .icon-button{height:44px;min-height:44px;width:44px;min-width:44px}
:where(.hx-inbox) .guest-note p{font-size:13px}
:where(.hx-inbox) .guest-note>span{font-size:11px}
:where(.hx-inbox) .order-info strong{font-size:13px}
:where(.hx-inbox) .order-info strong>span{font-size:12px}
:where(.hx-inbox) .order-info>span{font-size:11px}
:where(.hx-inbox) .order-status{font-size:11px}
:where(.hx-inbox) .order-row{padding:14px 0}
:where(.hx-inbox) .contact-row span{font-size:11px}
:where(.hx-inbox) .contact-row p{font-size:13px}
:where(.hx-inbox) .demo-toast{bottom:14px;font-size:12px}
:where(.hx-inbox) .template-picker{min-width:260px!important}
:where(.hx-inbox) .recipient-row{padding-top:14px;padding-bottom:14px}}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) *,:where(.hx-inbox) *::before,:where(.hx-inbox) *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
:where(.hx-inbox) .icon-button[data-slot=button]{border-color:transparent}
:where(.hx-inbox) .icon-button.primary[data-slot=button]{border-color:#3155d3}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger],:where(.hx-inbox) .preview-tabs button[data-slot=tabs-trigger]{border-color:transparent}
:where(.hx-inbox) .review-button[data-slot=button]{border-color:transparent}
:where(.hx-inbox) .brand-header{align-items:flex-start}
:where(.hx-inbox) .brand-header img{width:105px;height:34px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{min-height:44px}
:where(.hx-inbox) .composer-context{height:44px}
@container (max-width:780px){:where(.hx-inbox) .composer-context{height:44px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{min-height:44px}
:where(.hx-inbox) .sender-account{font-size:12px}
:where(.hx-inbox) .message-meta{font-size:11px}
:where(.hx-inbox) .date-divider{font-size:11px}
:where(.hx-inbox) .composer-hint{color:#7c8797;font-size:10px}}
:where(.hx-inbox) .template-language{margin-right:19px}
:where(.hx-inbox) .template-toggle{min-width:44px;min-height:44px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent}
:where(.hx-inbox) .template-toggle:hover{background:#f4f5f7}
:where(.hx-inbox) .new-account-picker{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}
:where(.hx-inbox) .new-account-picker strong{font-size:13px;font-weight:500}
:where(.hx-inbox) .new-account-picker>svg{width:14px;height:14px;margin-left:auto;color:#7a899c}
:where(.hx-inbox) .demo-page{position:relative;height:100%;max-height:100%;min-height:0;min-width:0}
:where(.hx-inbox) .app-shell,:where(.hx-inbox) .erp-body,:where(.hx-inbox) .conversation-list,:where(.hx-inbox) .chat-panel{min-height:0}
:where(.hx-inbox) .message-history{flex:1 1 0}
:where(.hx-inbox) .composer-area{flex-shrink:0}
@container (min-width:781px){:where(.hx-inbox) .brand-header{height:56px;padding:13px 23px}
:where(.hx-inbox) .brand-header img{width:98px;height:30px}
:where(.hx-inbox) .nav-item[data-slot=sidebar-menu-button]{height:38px}
:where(.hx-inbox) .nav-content{padding-top:4px}
:where(.hx-inbox) .icon-button[data-slot=button]{width:32px;min-width:32px;height:32px;min-height:32px;border-radius:7px}
:where(.hx-inbox) .icon-button svg{width:16px;height:16px}
:where(.hx-inbox) .global-header{height:48px;min-height:48px}
:where(.hx-inbox) .global-actions{gap:10px}
:where(.hx-inbox) .operator-profile{height:32px}
:where(.hx-inbox) .list-header{padding:14px 16px 0}
:where(.hx-inbox) .list-title{margin-bottom:10px}
:where(.hx-inbox) .list-title h1{font-size:19px}
:where(.hx-inbox) .shift-toggle{min-height:28px;height:28px;padding:0 7px;border-color:transparent;font-size:11px}
:where(.hx-inbox) .search-actions .icon-button,:where(.hx-inbox) .search-actions .primary{width:34px;min-width:34px;height:34px;min-height:34px;border-radius:7px}
:where(.hx-inbox) .search-actions .search-field input[data-slot=input]{height:36px;min-height:36px;font-size:12px}
:where(.hx-inbox) .conversation-tabs[data-slot=tabs-list]{height:38px!important;margin-top:7px}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger]{height:38px;font-size:12px}
:where(.hx-inbox) .conversation-row{height:66px;padding-top:9px;padding-bottom:9px}
:where(.hx-inbox) .conversation-row .guest-avatar{height:36px;width:36px;min-width:36px;font-size:11px}
:where(.hx-inbox) .row-top{margin-bottom:4px}
:where(.hx-inbox) .row-top strong{font-size:13px}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:12px}
:where(.hx-inbox) .list-footer{height:30px;min-height:30px;font-size:10px}
:where(.hx-inbox) .chat-header,:where(.hx-inbox) .guest-panel-header{height:58px;min-height:58px}
:where(.hx-inbox) .chat-header{padding-left:22px;padding-right:22px}
:where(.hx-inbox) .chat-actions{gap:5px}
:where(.hx-inbox) .chat-actions .icon-button,:where(.hx-inbox) .guest-panel-header .icon-button{height:32px;width:32px;min-height:32px;min-width:32px}
:where(.hx-inbox) .message-more[data-slot=button]{height:30px;width:30px;min-height:30px;min-width:30px;border:0}
:where(.hx-inbox) .message-stack{max-width:calc(100% - 35px)}
:where(.hx-inbox) .composer-area{padding:7px 24px 6px}
:where(.hx-inbox) .composer-context{height:28px;margin-bottom:6px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{height:28px;min-height:28px}
:where(.hx-inbox) .composer-row{padding:4px;gap:7px;border-radius:10px}
:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{height:40px;min-height:40px;padding:10px 3px;line-height:20px;font-size:14px}
:where(.hx-inbox) .composer-row .icon-button{width:38px;min-width:38px;height:40px;min-height:40px;border-radius:7px}
:where(.hx-inbox) .composer-row .send-button svg{height:18px;width:18px}
:where(.hx-inbox) .composer-hint{font-size:10px;margin-top:5px;min-height:12px}
:where(.hx-inbox) .guest-panel-header{padding:0 17px}
:where(.hx-inbox) .guest-profile{padding:19px 18px 14px}
:where(.hx-inbox) .guest-profile .guest-avatar.large{width:48px;height:48px;min-width:48px;font-size:16px}
:where(.hx-inbox) .guest-profile h2{margin-top:10px;font-size:14px;line-height:21px}
:where(.hx-inbox) .guest-profile p{line-height:18px}
:where(.hx-inbox) .loyalty-label{margin-top:7px;padding:2px 6px;font-size:10px}
:where(.hx-inbox) .guest-stats{padding:12px 0;margin-bottom:0}
:where(.hx-inbox) .guest-stats strong{font-size:16px}
:where(.hx-inbox) .detail-section{padding:13px 0}
:where(.hx-inbox) .section-heading{min-height:28px;margin-bottom:7px}
:where(.hx-inbox) .section-heading .icon-button{height:28px;width:28px;min-height:28px;min-width:28px}
:where(.hx-inbox) .guest-note>span{margin-top:5px}
:where(.hx-inbox) .order-row{padding-top:10px;padding-bottom:10px}}
@media (max-height:720px) and (min-width:781px){:where(.hx-inbox) .preview-stage{padding:8px}
:where(.hx-inbox) .preview-toolbar{height:40px;min-height:40px}
:where(.hx-inbox) .composer-hint{display:none}
:where(.hx-inbox) .phone-preview .composer-hint{display:flex}}
.hx-inbox{--blue:#315ff4;--primary:#315ff4;--ink:#1b2332;--sub:#7a8496;--line:#edf0f5;--surface:#fff;--ring:#315ff4}
:where(.hx-inbox) .app-frame{container-name:app;border:1px solid #e5e9f0;border-radius:14px;box-shadow:0 12px 40px #23355508}
:where(.hx-inbox) .demo-page{background:#f0f3f8}
:where(.hx-inbox) .preview-toolbar{height:42px;min-height:42px;padding:0 21px;border-bottom:1px solid #e8ecf3}
:where(.hx-inbox) .preview-label{font-size:12px;color:#273449;letter-spacing:-.1px}
:where(.hx-inbox) .preview-caption{color:#8891a1}
:where(.hx-inbox) .preview-dot{background:#315ff4;width:6px;height:6px}
:where(.hx-inbox) .preview-stage{padding:12px}
:where(.hx-inbox) .preview-tabs[data-slot=tabs-list]{height:30px!important;background:#f2f4f8;border-radius:8px;padding:2px}
:where(.hx-inbox) .preview-tabs button{height:26px!important;font-size:11px!important;padding:3px 10px!important;border:0}
:where(.hx-inbox) .preview-tabs button[data-active]{box-shadow:0 1px 3px #24385815;border-radius:6px}
:where(.hx-inbox) .sample-tag{font-size:10px;color:#7e899a;border-color:#e9edf3;border-radius:5px}
:where(.hx-inbox) .preview-actions .icon-button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}
:where(.hx-inbox) .erp-nav[data-slot=sidebar]{width:196px;min-width:196px;background:#161d2d;border:0;color:#fff}
:where(.hx-inbox) .brand-header{height:64px;padding:18px 24px;justify-content:flex-start;align-items:flex-start}
:where(.hx-inbox) .brand-header img{filter:brightness(0) invert(1);width:96px;height:29px;opacity:.96}
:where(.hx-inbox) .nav-content{padding:12px 12px}
:where(.hx-inbox) .nav-label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:550;color:#717d93;padding:13px 12px}
:where(.hx-inbox) .nav-item[data-slot=sidebar-menu-button]{height:38px;padding:0 11px;font-size:12px;letter-spacing:-.15px;font-weight:450;color:#aeb9cc;border-radius:8px;gap:10px}
:where(.hx-inbox) .nav-item svg{height:16px;width:16px;color:#8594ae;stroke-width:1.6}
:where(.hx-inbox) .nav-item:hover{background:#ffffff08!important;color:#fff}
:where(.hx-inbox) .nav-item.nav-active{background:#2a3651!important;color:#fff;box-shadow:none;font-weight:550}
:where(.hx-inbox) .nav-item.nav-active svg{color:#88a4ff}
:where(.hx-inbox) .nav-count{color:#a4b9ff;font-size:10px;background:#3b4c73;border-radius:5px;min-width:18px;text-align:center;line-height:18px}
:where(.hx-inbox) .nav-divider{background:#ffffff0d;margin:24px 10px 10px}
:where(.hx-inbox) .workspace-switcher{border-color:#ffffff0c;padding:12px 6px;gap:9px}
:where(.hx-inbox) .workspace-switcher strong{color:#e2e8f3;font-size:11px}
:where(.hx-inbox) .workspace-switcher small{color:#72809b;font-size:10px}
:where(.hx-inbox) .workspace-switcher>svg{color:#63718b}
:where(.hx-inbox) .org-logo{background:#ffffff0b;color:#d5dfef;border:1px solid #ffffff0d;font-size:23px;width:29px;height:29px;border-radius:8px}
:where(.hx-inbox) .global-header{height:48px;min-height:48px;padding:0 22px;border-bottom:1px solid #edf0f5}
:where(.hx-inbox) .breadcrumb{font-size:11px;gap:9px;color:#8e98a9}
:where(.hx-inbox) .breadcrumb strong{color:#4c5d77;font-weight:500}
:where(.hx-inbox) .global-actions{gap:9px}
:where(.hx-inbox) .connection{font-size:10px;color:#8694a8;gap:5px}
:where(.hx-inbox) .connection>span{background:#36a77c;width:4px;height:4px}
:where(.hx-inbox) .operator-profile{font-size:11px;color:#4c5970;gap:7px;height:32px}
:where(.hx-inbox) .operator-profile>span{background:#edf2ff;color:#315ff4;font-size:11px;font-weight:650;width:27px;height:27px}
:where(.hx-inbox) .icon-button[data-slot=button]{border:0;background:transparent;color:#8c98ab;border-radius:8px;width:32px;min-width:32px;height:32px;min-height:32px}
:where(.hx-inbox) .icon-button svg{width:17px;height:17px;stroke-width:1.6}
:where(.hx-inbox) .icon-button:hover{background:#f1f5fc;color:#315ff4}
:where(.hx-inbox) .icon-button.is-active{background:#eef3ff;color:#315ff4}
:where(.hx-inbox) .primary[data-slot=button],:where(.hx-inbox) .primary{background:#315ff4;color:#fff!important;border-color:#315ff4;box-shadow:0 3px 7px #315ff423}
:where(.hx-inbox) .primary:hover:not(:disabled){background:#244ee1;box-shadow:0 4px 12px #315ff42b}
:where(.hx-inbox) .primary:disabled{background:#edf1f8!important;border-color:transparent!important;color:#b7c2d5!important;box-shadow:none}
:where(.hx-inbox) .conversation-list{width:298px;min-width:298px;border-right:1px solid #eaf0f7}
:where(.hx-inbox) .list-header{padding:17px 17px 0;border-bottom:1px solid #edf1f7}
:where(.hx-inbox) .list-title{gap:8px;margin-bottom:13px}
:where(.hx-inbox) .list-title h1{font-size:22px;font-weight:650;letter-spacing:-.8px;color:#14233a}
:where(.hx-inbox) .total-count{border:0;background:#eef3ff;color:#315ff4;font-size:10px;line-height:20px;min-width:22px;border-radius:6px}
:where(.hx-inbox) .shift-toggle{min-height:26px;height:26px;border:0;border-radius:16px;font-size:10px;font-weight:500;background:#f1faf5;color:#3f8b66;padding:0 9px;gap:5px}
:where(.hx-inbox) .shift-toggle:not(.on){background:#f3f5f8;color:#8592a6}
:where(.hx-inbox) .shift-dot{background:#41a579;width:4px;height:4px}
:where(.hx-inbox) .search-actions{gap:5px}
:where(.hx-inbox) .search-actions .icon-button,:where(.hx-inbox) .search-actions .primary{height:32px;width:32px;min-height:32px;min-width:32px;border-radius:9px}
:where(.hx-inbox) .search-actions .primary{border-radius:10px}
:where(.hx-inbox) .search-field input[data-slot=input],:where(.hx-inbox) .search-actions .search-field input[data-slot=input]{height:36px;min-height:36px;font-size:11px;background:#f5f7fa;border:0;border-radius:8px;padding-left:31px;color:#4f607b}
:where(.hx-inbox) .search-field>svg{color:#9da9bb;width:14px;height:14px;left:10px}
:where(.hx-inbox) .conversation-tabs[data-slot=tabs-list]{height:45px!important;margin-top:5px;gap:7px;align-items:center;padding:0}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger]{height:28px!important;padding:0 10px!important;border:0;border-radius:7px!important;font-size:11px;font-weight:500;color:#8d99ad;gap:6px}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger][data-active]{background:#17243b!important;color:#fff;box-shadow:none}
:where(.hx-inbox) .conversation-tabs button:after{display:none!important}
:where(.hx-inbox) .conversation-tabs button>span{font-size:9px;background:#f0f3f7;color:#8491a8;padding:2px 4px}
:where(.hx-inbox) .conversation-tabs button[data-active]>span{color:#c6d4ef;background:#ffffff16}
:where(.hx-inbox) .conversation-rows{padding:8px 7px;scrollbar-width:thin}
:where(.hx-inbox) .conversation-row{height:68px;padding:11px 10px;border:0;border-radius:10px;margin-bottom:3px;gap:10px}
:where(.hx-inbox) .conversation-row:hover{background:#f6f8fc}
:where(.hx-inbox) .conversation-row.selected{background:#eef3ff}
:where(.hx-inbox) .conversation-row.selected:before{display:none}
:where(.hx-inbox) .guest-avatar{width:37px;height:37px;min-width:37px;border-radius:13px;background:#ece9fc;color:#7153a6;font-size:11px;font-weight:600;letter-spacing:-.1px}
:where(.hx-inbox) .avatar-anna{background:#ede7fb;color:#8060ab}
:where(.hx-inbox) .avatar-daniel{background:var(--color-gray-200);color:var(--color-gray-600)}
:where(.hx-inbox) .avatar-elena{background:var(--color-gray-100);color:var(--color-gray-500)}
:where(.hx-inbox) .avatar-omar{background:#e2edfb;color:#527fac}
:where(.hx-inbox) .avatar-sophie{background:#fae4ed;color:#aa5e82}
:where(.hx-inbox) .avatar-mikhail{background:var(--color-gray-200);color:var(--color-gray-600)}
:where(.hx-inbox) .avatar-maya{background:var(--color-gray-200);color:var(--color-gray-500)}
:where(.hx-inbox) .avatar-alex{background:#e6eafc;color:#656fb0}
:where(.hx-inbox) .conversation-row .guest-avatar{width:37px;height:37px;min-width:37px;font-size:11px}
:where(.hx-inbox) .channel-mark{right:-3px;bottom:-3px;background:#fff;border:2px solid #fff;width:15px;height:15px}
:where(.hx-inbox) .channel-mark svg{height:12px;width:12px;color:#369771;stroke:#369771}
:where(.hx-inbox) .row-top{margin-bottom:5px}
:where(.hx-inbox) .row-top strong{font-size:12px;font-weight:550;color:#3b4b63;letter-spacing:-.2px}
:where(.hx-inbox) .unread .row-top strong{font-weight:650;color:#20334e}
:where(.hx-inbox) .row-top time{font-size:10px;color:#9aa5b7;letter-spacing:-.1px}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:11px;color:#8b98ab}
:where(.hx-inbox) .unread .row-bottom>span:first-child{color:#73849e}
:where(.hx-inbox) .unread-count{background:#315ff4;color:#fff;min-width:17px;line-height:17px;border-radius:6px;font-size:9px;box-shadow:0 2px 5px #315ff415}
:where(.hx-inbox) .list-footer{height:32px;min-height:32px;border-color:#f0f3f8;color:#9ba6b6;font-size:9px;gap:5px}
:where(.hx-inbox) .tiny-dot{background:#61b49d;width:4px;height:4px}
:where(.hx-inbox) .chat-panel{background:#fff}
:where(.hx-inbox) .chat-header{height:61px;min-height:61px;background:#fff;border-bottom:1px solid #f0f3f8;padding:0 25px;gap:11px}
:where(.hx-inbox) .chat-header>.guest-avatar{height:34px;width:34px;min-width:34px;border-radius:12px;font-size:10px}
:where(.hx-inbox) .chat-identity h2{font-size:13px;color:#243751;letter-spacing:-.25px;font-weight:600;line-height:21px}
:where(.hx-inbox) .chat-identity p{font-size:10px;color:#9ba7b8;line-height:17px}
:where(.hx-inbox) .whatsapp-label{color:#8494aa}
:where(.hx-inbox) .chat-actions{gap:6px}
:where(.hx-inbox) .chat-actions .icon-button{height:32px;width:32px;min-height:32px;min-width:32px}
:where(.hx-inbox) .message-history{background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)}
:where(.hx-inbox) .message-lane{max-width:810px;padding:0 30px 17px}
:where(.hx-inbox) .date-divider{font-size:10px;color:#a4aec0;padding:23px 0;gap:11px}
:where(.hx-inbox) .date-divider>span{width:27px;background:#edf1f8}
:where(.hx-inbox) .message-row{gap:7px;margin-bottom:20px}
:where(.hx-inbox) .message-row.in{padding-right:80px}
:where(.hx-inbox) .message-row.out{padding-left:80px}
:where(.hx-inbox) .message-stack{max-width:calc(100% - 35px)}
:where(.hx-inbox) .message-bubble{padding:12px 16px 8px;border:1px solid #e9eef6;border-radius:16px;box-shadow:0 3px 12px #20365c04;background:#fff;max-width:490px}
:where(.hx-inbox) .in .message-bubble{border-bottom-left-radius:5px}
:where(.hx-inbox) .out .message-bubble{background:#315ff4;border:1px solid #315ff4;border-radius:16px 16px 5px 16px;box-shadow:0 4px 13px #315ff417}
:where(.hx-inbox) .message-text{font-size:14px;line-height:1.6;letter-spacing:-.1px;color:#445771}
:where(.hx-inbox) .out .message-text{color:#fff}
:where(.hx-inbox) .message-stack>.sender-line{justify-content:flex-end;margin:0 4px 6px;gap:5px;height:22px;font-size:10px}
:where(.hx-inbox) .sender-line .account-icon{height:20px;width:20px;min-width:20px;border-radius:6px}
:where(.hx-inbox) .account-icon{border-radius:6px}
:where(.hx-inbox) .locus-account{background:#243041;font-size:16px}
:where(.hx-inbox) .horex-account{background:#315ff4;box-shadow:none;font-size:10px}
:where(.hx-inbox) .sender-name{font-size:11px;color:#657790;font-weight:600}
:where(.hx-inbox) .sender-divider{color:#bdc6d4}
:where(.hx-inbox) .sender-account{font-size:10px;color:#94a2b7}
:where(.hx-inbox) .message-meta{font-size:10px;color:#a1afc3;margin-top:6px;gap:5px}
:where(.hx-inbox) .message-meta svg{width:13px;height:13px;color:#91a5c4}
:where(.hx-inbox) .out .message-meta,:where(.hx-inbox) .out .message-meta svg{color:#d2ddff}
:where(.hx-inbox) .template-label{font-size:10px;color:#c3d2ff;margin-bottom:7px;gap:5px}
:where(.hx-inbox) .template-label svg{width:11px;height:11px}
:where(.hx-inbox) .message-more[data-slot=button]{border:0;background:transparent;box-shadow:none;width:28px;height:28px;min-width:28px;min-height:28px;color:#a7b4c7;opacity:0}
:where(.hx-inbox) .message-more svg{width:16px;height:16px}
:where(.hx-inbox) .message-more:hover{background:#eef3fc;color:#5f7cb1}
:where(.hx-inbox) .timeline-event,:where(.hx-inbox) .timeline-event strong{font-size:10px;color:#9daac0}
:where(.hx-inbox) .timeline-event{gap:5px;margin:1px auto 16px;padding:6px 9px;border-radius:12px}
:where(.hx-inbox) .timeline-event:hover{background:#f1f5fc}
:where(.hx-inbox) .timeline-event svg{width:12px;height:12px}
:where(.hx-inbox) .timeline-note{background:var(--color-gray-50);border:1px solid var(--color-gray-200);border-radius:12px;padding:12px 15px;color:var(--color-gray-500)}
:where(.hx-inbox) .composer-area{background:#fff;border-top:0;padding:9px 27px 16px;flex-shrink:0;box-shadow:0 -10px 25px #ffffffed}
:where(.hx-inbox) .composer-inner{max-width:750px}
:where(.hx-inbox) .composer-context{height:28px;margin:0 2px 7px;gap:8px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{min-height:28px;height:28px;border-radius:7px;font-size:10px;color:#9aa8bc}
:where(.hx-inbox) .account-selector strong{color:#74869f;font-weight:500}
:where(.hx-inbox) .account-selector .account-icon{height:17px;width:17px;min-width:17px;font-size:13px;border-radius:5px}
:where(.hx-inbox) .account-selector .horex-account{font-size:9px}
:where(.hx-inbox) .ai-reply{font-size:10px;color:#5578d7;gap:5px;padding:0 8px}
:where(.hx-inbox) .ai-reply:hover{background:#f0f4ff;color:#315ff4}
:where(.hx-inbox) .ai-reply svg{width:13px;height:13px}
:where(.hx-inbox) .composer-row{border:1px solid #e2e8f2;border-radius:14px;box-shadow:0 4px 16px #253a5a05;padding:5px;gap:7px;background:#fff}
:where(.hx-inbox) .composer-row:focus-within{border-color:#9bb4ff;box-shadow:0 4px 16px #315ff40a,0 0 0 3px #315ff406}
:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{font-size:14px;line-height:20px;min-height:40px;padding:10px 3px;color:#3c5070}
:where(.hx-inbox) .composer-row .message-input::placeholder{color:#a2aec0}
:where(.hx-inbox) .composer-row .icon-button{height:38px;width:38px;min-height:38px;min-width:38px;border-radius:10px;color:#8f9fb8}
:where(.hx-inbox) .composer-row .send-button{background:#315ff4;border-color:#315ff4;color:#fff;box-shadow:0 3px 8px #315ff420;border-radius:11px}
:where(.hx-inbox) .composer-row .send-button svg{width:17px;height:17px;stroke-width:1.8}
:where(.hx-inbox) .composer-hint{display:none!important}
:where(.hx-inbox) .guest-panel{width:278px;min-width:278px;border-left:1px solid #edf1f7;background:#fff}
:where(.hx-inbox) .guest-panel-header{height:61px;min-height:61px;border-color:#f0f3f8;padding:0 19px}
:where(.hx-inbox) .guest-panel-header h2{font-size:11px;color:#7989a0;font-weight:500}
:where(.hx-inbox) .guest-panel-header .icon-button{height:28px;width:28px;min-height:28px;min-width:28px}
:where(.hx-inbox) .guest-profile{padding:24px 18px 16px}
:where(.hx-inbox) .guest-profile .guest-avatar.large{height:54px;width:54px;min-width:54px;border-radius:19px;font-size:17px;background:#ede7fb;color:#8060ab}
:where(.hx-inbox) .guest-profile .guest-avatar.large .channel-mark{height:17px;width:17px}
:where(.hx-inbox) .guest-profile .guest-avatar.large .channel-mark svg{height:13px;width:13px}
:where(.hx-inbox) .guest-profile h2{font-size:14px;color:#324563;font-weight:600;letter-spacing:-.3px;margin-top:12px;line-height:22px}
:where(.hx-inbox) .guest-profile p{font-size:11px;color:#95a2b6;line-height:18px}
:where(.hx-inbox) .loyalty-label{background:var(--color-gray-50);border:0;color:var(--color-gray-500);font-size:9px;border-radius:5px;padding:3px 6px;margin-top:8px;gap:4px}
:where(.hx-inbox) .loyalty-label svg{width:9px;height:9px}
:where(.hx-inbox) .guest-stats{margin:0 18px 4px;border:1px solid #edf1f7;border-radius:10px;padding:14px 0;grid-template-columns:.75fr 1.3fr 1fr}
:where(.hx-inbox) .guest-stats>div{border-color:#edf1f7}
:where(.hx-inbox) .guest-stats strong{font-size:18px;color:#3c5070;font-weight:550;letter-spacing:-.6px;line-height:22px}
:where(.hx-inbox) .guest-stats small{font-size:8px;color:#a2aec0;letter-spacing:0}
:where(.hx-inbox) .guest-stats span{font-size:9px;color:#9cabc0;margin-top:4px}
:where(.hx-inbox) .detail-section{margin:0 19px;padding:14px 0;border-color:#f0f3f8}
:where(.hx-inbox) .section-heading{min-height:27px;margin-bottom:9px}
:where(.hx-inbox) .section-heading h3{font-size:11px;color:#7b8da9;font-weight:550}
:where(.hx-inbox) .section-heading .icon-button{height:27px;width:27px;min-height:27px;min-width:27px}
:where(.hx-inbox) .section-heading .icon-button svg{width:13px;height:13px}
:where(.hx-inbox) .guest-note{border:1px solid var(--color-gray-200);background:var(--color-gray-50);padding:10px 12px;border-radius:9px}
:where(.hx-inbox) .guest-note p{font-size:11px;color:var(--color-gray-500);line-height:1.65}
:where(.hx-inbox) .guest-note>span{font-size:9px;color:var(--color-gray-400);margin-top:7px}
:where(.hx-inbox) .guest-note+.guest-note{margin-top:7px}
:where(.hx-inbox) .order-row{padding:11px 0;border-color:#f2f5fa;gap:9px}
:where(.hx-inbox) .order-icon{height:28px;width:28px;border:0;border-radius:9px;background:#f0f4fc;color:#7f98be}
:where(.hx-inbox) .order-icon svg{height:13px;width:13px}
:where(.hx-inbox) .order-info strong{font-size:11px;color:#607797;font-weight:500}
:where(.hx-inbox) .order-info strong>span{font-size:10px;color:#879ab5}
:where(.hx-inbox) .order-info>span{font-size:9px;color:#a4b1c5}
:where(.hx-inbox) .order-status{font-size:9px;color:var(--color-gray-500)}
:where(.hx-inbox) .order-status.active{color:var(--color-warning-dark)}
:where(.hx-inbox) .order-status svg{width:10px;height:10px}
:where(.hx-inbox) .order-row>svg{color:#b0bed3}
:where(.hx-inbox) .contact-row{gap:9px;margin-top:13px}
:where(.hx-inbox) .contact-row>svg{color:#99abc5;width:13px;height:13px}
:where(.hx-inbox) .contact-row span{font-size:9px;color:#a9b6c9}
:where(.hx-inbox) .contact-row p{font-size:11px;color:#8297b5;line-height:17px;margin-top:2px}
:where(.hx-inbox) .workflow-sheet[data-slot=sheet-content],:where(.hx-inbox) .detail-sheet[data-slot=sheet-content]{border-left:1px solid #eaf0f8;box-shadow:-15px 0 50px #233a5d12}
:where(.hx-inbox) .panel-title[data-slot=sheet-header]{border-color:#edf1f7;height:66px;min-height:66px}
:where(.hx-inbox) .panel-title [data-slot=sheet-title]{font-size:17px;color:#294162;font-weight:600;letter-spacing:-.4px}
:where(.hx-inbox) .workflow-footer{border-color:#edf1f7}
:where(.hx-inbox) .workflow-footer button[data-slot=button]{height:38px;min-height:38px;font-size:12px;border-radius:10px}
:where(.hx-inbox) .workflow-body input[data-slot=input],:where(.hx-inbox) .workflow-body textarea[data-slot=textarea]{border-color:#e4ebf5;border-radius:10px;color:#536c90}
:where(.hx-inbox) .workflow-body [data-slot=input-group]{border-color:#e4ebf5;border-radius:10px}
:where(.hx-inbox) .field-label{font-size:12px;color:#627b9f;font-weight:500}
:where(.hx-inbox) .secondary,:where(.hx-inbox) .field-help{color:#91a0b6;font-size:12px}
:where(.hx-inbox) .suggestion-card{border-color:#e4ecf9;border-radius:14px}
:where(.hx-inbox) .suggestion-card:hover{border-color:#9bb6ff;background:#fcfdff}
:where(.hx-inbox) .suggestion-card>span{color:#7693c5}
:where(.hx-inbox) .suggestion-card p{color:#567096}
:where(.hx-inbox) .template-preview{border-color:#e7eef8;border-radius:13px}
:where(.hx-inbox) .template-preview p{color:#617b9e}
:where(.hx-inbox) .action-menu[data-slot=dropdown-menu-content]{border:1px solid #e8eef8;border-radius:12px;box-shadow:0 8px 28px #243e681c;padding:5px}
:where(.hx-inbox) .action-menu [data-slot=dropdown-menu-item]{font-size:12px;color:#6d84a7;border-radius:8px;min-height:36px}
:where(.hx-inbox) .action-menu [data-slot=dropdown-menu-item][data-highlighted]{background:#f0f5ff;color:#315ff4}
:where(.hx-inbox) .empty-state>svg{color:#b9c9e2}
:where(.hx-inbox) .empty-state h3{color:#6f87aa}
:where(.hx-inbox) .empty-state p{color:#9aabc3}
:where(.hx-inbox) .empty-state button[data-slot=button]{border-color:#e7eef8;color:#7088ad;font-size:11px!important;min-height:34px;box-shadow:none}
:where(.hx-inbox) .out .message-bubble.failed{border-color:#cb6060;background:#fff9f8;box-shadow:none}
:where(.hx-inbox) .out .message-bubble.failed .message-text{color:#a75555}
:where(.hx-inbox) .out .failed .message-meta,:where(.hx-inbox) .out .failed .message-meta svg{color:#c47979}
@container inbox (max-width:1150px){:where(.hx-inbox) .erp-nav[data-slot=sidebar]{display:none}}
@container inbox (max-width:920px){:where(.hx-inbox) .message-row.in{padding-right:12px}
:where(.hx-inbox) .message-row.out{padding-left:12px}
:where(.hx-inbox) .message-lane{padding-left:22px;padding-right:22px}
:where(.hx-inbox) .chat-header{padding-left:17px;padding-right:17px}
:where(.hx-inbox) .composer-area{padding-left:20px;padding-right:20px}}
@container inbox (max-width:780px){:where(.hx-inbox) .global-header{display:none}
:where(.hx-inbox) .conversation-list{width:100%;min-width:0}
:where(.hx-inbox) .chat-header{height:62px;min-height:62px;padding:0 10px;gap:5px}
:where(.hx-inbox) .chat-identity h2{font-size:14px;color:#253c60}
:where(.hx-inbox) .chat-identity p{font-size:11px}
:where(.hx-inbox) .chat-actions{gap:0}
:where(.hx-inbox) .chat-actions .icon-button,:where(.hx-inbox) .back-button[data-slot=button]{height:42px;min-height:42px;width:42px;min-width:42px}
:where(.hx-inbox) .chat-actions .icon-button svg,:where(.hx-inbox) .back-button svg{width:18px;height:18px}
:where(.hx-inbox) .message-lane{padding:0 12px 16px}
:where(.hx-inbox) .message-row{margin-bottom:17px;gap:3px}
:where(.hx-inbox) .message-row.in,:where(.hx-inbox) .message-row.out{padding:0}
:where(.hx-inbox) .message-stack{max-width:calc(100% - 35px)}
:where(.hx-inbox) .message-bubble{padding:11px 14px 7px;border-radius:16px;max-width:100%}
:where(.hx-inbox) .message-text{font-size:15px;line-height:1.55}
:where(.hx-inbox) .message-stack>.sender-line{margin:0 4px 5px;font-size:10px;height:22px}
:where(.hx-inbox) .sender-line .account-icon{width:21px;height:21px;min-width:21px}
:where(.hx-inbox) .sender-name{font-size:11px}
:where(.hx-inbox) .sender-account{font-size:10px}
:where(.hx-inbox) .message-meta{font-size:10px}
:where(.hx-inbox) .message-more[data-slot=button]{opacity:1;width:32px;min-width:32px;height:44px;min-height:44px;color:#bdc8d9}
:where(.hx-inbox) .composer-area{padding:6px 12px max(12px,env(safe-area-inset-bottom));box-shadow:0 -8px 20px #ffffffec}
:where(.hx-inbox) .composer-context{height:30px;margin:0 2px 5px}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{min-height:30px;height:30px}
:where(.hx-inbox) .composer-row{padding:4px;border-radius:14px;gap:4px}
:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{font-size:16px;min-height:44px;line-height:24px;padding:10px 1px}
:where(.hx-inbox) .composer-row .icon-button{height:44px;min-height:44px;width:40px;min-width:40px;border-radius:11px}
:where(.hx-inbox) .composer-row .send-button{width:42px;min-width:42px}
:where(.hx-inbox) .list-header{padding:18px 16px 0}
:where(.hx-inbox) .list-title{margin-bottom:13px}
:where(.hx-inbox) .list-title h1{font-size:25px}
:where(.hx-inbox) .shift-toggle{min-height:32px;height:32px;padding:0 10px;font-size:11px}
:where(.hx-inbox) .total-count{font-size:11px}
:where(.hx-inbox) .search-actions .icon-button,:where(.hx-inbox) .search-actions .primary{width:40px;min-width:40px;height:40px;min-height:40px;border-radius:11px}
:where(.hx-inbox) .search-field input[data-slot=input],:where(.hx-inbox) .search-actions .search-field input[data-slot=input]{font-size:14px;height:42px;min-height:42px;padding-left:34px}
:where(.hx-inbox) .conversation-tabs[data-slot=tabs-list]{height:48px!important;gap:8px}
:where(.hx-inbox) .conversation-tabs button[data-slot=tabs-trigger]{height:30px!important;padding:0 11px!important;font-size:12px}
:where(.hx-inbox) .conversation-rows{padding:8px}
:where(.hx-inbox) .conversation-row{height:74px;padding:12px 11px;gap:12px;margin-bottom:2px;border-radius:12px}
:where(.hx-inbox) .conversation-row .guest-avatar{height:40px;width:40px;min-width:40px;border-radius:14px;font-size:12px}
:where(.hx-inbox) .row-top strong{font-size:14px}
:where(.hx-inbox) .row-top time{font-size:11px}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:12px}
:where(.hx-inbox) .row-top{margin-bottom:6px}
:where(.hx-inbox) .unread-count{font-size:10px;line-height:18px;min-width:18px}
:where(.hx-inbox) .list-footer{font-size:10px;height:33px;min-height:33px}}
@media (max-width:600px){:where(.hx-inbox) .preview-toolbar{height:37px;min-height:37px;padding:0 11px}
:where(.hx-inbox) .preview-stage{padding:0}
:where(.hx-inbox) .app-frame{border:0;border-radius:0}
:where(.hx-inbox) .preview-label{font-size:11px}
:where(.hx-inbox) .workflow-footer button[data-slot=button]{min-height:44px;height:44px}
:where(.hx-inbox) .panel-title .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}
:where(.hx-inbox) .guest-profile{padding-top:24px}
:where(.hx-inbox) .guest-profile h2{font-size:17px}
:where(.hx-inbox) .guest-profile p{font-size:12px}
:where(.hx-inbox) .guest-stats{padding:18px 0;margin-left:20px;margin-right:20px}
:where(.hx-inbox) .guest-stats strong{font-size:21px}
:where(.hx-inbox) .guest-stats span{font-size:11px}
:where(.hx-inbox) .guest-stats small{font-size:9px}
:where(.hx-inbox) .detail-section{margin:0 21px;padding:18px 0}
:where(.hx-inbox) .section-heading h3{font-size:12px}
:where(.hx-inbox) .section-heading .icon-button{height:36px;min-height:36px;width:36px;min-width:36px}
:where(.hx-inbox) .guest-note{padding:13px 15px}
:where(.hx-inbox) .guest-note p{font-size:13px}
:where(.hx-inbox) .guest-note>span{font-size:11px}
:where(.hx-inbox) .order-row{padding:15px 0}
:where(.hx-inbox) .order-info strong{font-size:13px}
:where(.hx-inbox) .order-info strong>span{font-size:12px}
:where(.hx-inbox) .order-info>span{font-size:11px}
:where(.hx-inbox) .order-status{font-size:11px}
:where(.hx-inbox) .contact-row span{font-size:11px}
:where(.hx-inbox) .contact-row p{font-size:13px}
:where(.hx-inbox) .action-menu [data-slot=dropdown-menu-item]{min-height:44px;font-size:13px}}
@keyframes hx-inbox-message-appear{from{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
:where(.hx-inbox) .lucide{stroke-width:1.5!important}
:where(.hx-inbox) .icon-button svg,:where(.hx-inbox) .nav-item svg{width:16px;height:16px}
:where(.hx-inbox) .global-actions .icon-button svg{width:15px;height:15px}
:where(.hx-inbox) .chat-identity h2,:where(.hx-inbox) .row-top strong,:where(.hx-inbox) .guest-profile h2,:where(.hx-inbox) .message-text{color:#273c59}
:where(.hx-inbox) .secondary,:where(.hx-inbox) .field-help,:where(.hx-inbox) .row-bottom>span:first-child,:where(.hx-inbox) .sender-account,:where(.hx-inbox) .guest-profile p,:where(.hx-inbox) .date-divider,:where(.hx-inbox) .guest-note>span{color:#8090a8}
:where(.hx-inbox) .sender-name{color:#536c90}
:where(.hx-inbox) .out .message-text{color:#fff}
:where(.hx-inbox) .examples-picker{display:flex;align-items:center;gap:5px;border:0;background:transparent;height:28px;font-size:11px;color:#6e84a6;padding:0 8px;border-radius:6px}
:where(.hx-inbox) .examples-picker:hover{background:#f1f5fd}
:where(.hx-inbox) .examples-picker svg{width:12px;height:12px}
:where(.hx-inbox) .activity-card{display:flex;align-items:center;gap:12px;width:100%;max-width:465px;padding:15px 16px;margin:3px auto 20px;text-align:left;background:#fff;border:1px solid #dce6f6;border-radius:14px;box-shadow:0 4px 18px #304e7e06}
:where(.hx-inbox) .activity-card:hover{border-color:#a6bdf6;box-shadow:0 5px 18px #315ff40c}
:where(.hx-inbox) .activity-icon{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:#eff4ff;color:#6587db}
:where(.hx-inbox) .activity-icon svg{width:16px;height:16px}
:where(.hx-inbox) .activity-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
:where(.hx-inbox) .activity-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
:where(.hx-inbox) .activity-title>strong{font-size:12px;color:#385475;font-weight:600;letter-spacing:-.2px}
:where(.hx-inbox) .activity-status{font-size:9px;color:#4c9a79;background:#eff9f4;border-radius:5px;padding:2px 5px}
:where(.hx-inbox) .activity-status.preparing{color:var(--color-warning-dark);background:var(--color-warning-light)}
:where(.hx-inbox) .activity-sub{font-size:10px;color:#8090a8}
:where(.hx-inbox) .activity-foot{font-size:9px;color:#a3b0c4}
:where(.hx-inbox) .activity-foot>span{color:#7990b1}
:where(.hx-inbox) .activity-amount{font-size:19px;font-weight:550;color:#36567f;letter-spacing:-.6px;display:flex;align-items:baseline;gap:4px}
:where(.hx-inbox) .activity-amount small{font-size:8px;color:#91a2bc;letter-spacing:0}
:where(.hx-inbox) .activity-card>svg{height:12px;width:12px;color:#a9b9d0}
:where(.hx-inbox) .campaign-bubble{width:320px;max-width:100%;overflow:hidden}
:where(.hx-inbox) .out .campaign-bubble{background:#fff;border:1px solid #dee7f6;color:#273c59;box-shadow:0 5px 22px #38588908;padding:0 0 8px}
:where(.hx-inbox) .campaign-source{display:flex;align-items:center;gap:5px;font-size:9px;color:#6682ad;padding:10px 12px;border-bottom:1px solid #edf2fa}
:where(.hx-inbox) .campaign-source>span:last-child{margin-left:auto;font-size:8px;color:#98a9c2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .campaign-dot{height:4px;width:4px;border-radius:50%;background:#315ff4}
:where(.hx-inbox) .message-image{display:block;width:100%;border:0;background:none;text-align:left;overflow:hidden}
:where(.hx-inbox) .message-image img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}
:where(.hx-inbox) .campaign-bubble .template-label{padding:13px 14px 0;margin-bottom:3px;color:#36567f;font-size:11px}
:where(.hx-inbox) .template-label>strong{font-weight:500}
:where(.hx-inbox) .campaign-bubble .template-code{padding:0 14px;color:#92a3bd;font-size:9px;margin:0 0 8px}
:where(.hx-inbox) .template-code{font-size:9px;color:#c3d2ff;margin:-3px 0 9px;overflow-wrap:anywhere}
:where(.hx-inbox) .campaign-bubble .message-text{color:#4d6586;padding:0 14px;font-size:13px;line-height:1.65}
:where(.hx-inbox) .campaign-bubble .message-meta,:where(.hx-inbox) .campaign-bubble .message-meta svg{color:#8fa4c3}
:where(.hx-inbox) .campaign-bubble .message-meta{padding:0 14px;margin-top:10px}
:where(.hx-inbox) .out .read-status{stroke:#b8ddff!important}
:where(.hx-inbox) .campaign-bubble .read-status{stroke:#315ff4!important}
:where(.hx-inbox) .voice-note{display:flex;align-items:center;gap:10px;min-width:215px;padding:5px 0 4px;color:#6c85a9}
:where(.hx-inbox) .voice-note>button{width:31px;height:31px;border:0;border-radius:50%;background:#315ff4;color:#fff;display:grid;place-items:center}
:where(.hx-inbox) .voice-note>button svg{width:13px;height:13px}
:where(.hx-inbox) .voice-track{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}
:where(.hx-inbox) .voice-track>span{font-size:10px;color:#8399b9}
:where(.hx-inbox) .voice-track input{width:100%;height:3px;accent-color:#315ff4;cursor:pointer}
:where(.hx-inbox) .voice-note>time{font-size:10px;color:#8da1bd;min-width:28px}
:where(.hx-inbox) .document-message{display:flex;align-items:center;gap:10px;padding:8px 0 13px;text-align:left;border-bottom:1px solid #ffffff24;margin-bottom:9px;min-width:225px}
:where(.hx-inbox) .pdf-icon{display:grid;place-items:center;width:32px;height:38px;background:#ffffff16;color:#fff;border:1px solid #ffffff22;border-radius:7px;font-size:8px;font-weight:600;letter-spacing:.5px}
:where(.hx-inbox) .document-message>span:nth-child(2){flex:1;min-width:0}
:where(.hx-inbox) .document-message strong{display:block;font-size:12px;color:#fff;font-weight:500}
:where(.hx-inbox) .document-message small{display:block;font-size:9px;color:#c7d6ff;margin-top:4px}
:where(.hx-inbox) .document-message>svg{width:13px;height:13px;color:#c1d2ff}
:where(.hx-inbox) .unavailable-media{display:flex;align-items:flex-start;gap:11px;min-width:210px;padding:6px 0;color:#a8b7cd}
:where(.hx-inbox) .unavailable-media>svg{width:21px;height:21px}
:where(.hx-inbox) .unavailable-media strong{display:block;font-size:11px;color:#8598b4;font-weight:500}
:where(.hx-inbox) .unavailable-media span{display:block;font-size:10px;color:#a0b0c8;margin-top:4px;max-width:190px;line-height:1.5}
:where(.hx-inbox) .unavailable-media button{font-size:10px;color:#527ddb;margin-top:9px;border:0;background:none}
:where(.hx-inbox) .full-campaign-image{display:block;width:100%;border-radius:13px;border:1px solid #e3ebf8}
:where(.hx-inbox) .template-hero{width:100%;display:block;border-radius:8px;margin-top:16px}
:where(.hx-inbox) .document-preview{padding:8px 0}
:where(.hx-inbox) .document-preview h2{font-family:Georgia,serif;white-space:pre-line;font-size:29px;font-weight:400;line-height:1.2;letter-spacing:-.8px;color:#263e5e;margin:22px 0 13px}
:where(.hx-inbox) .document-preview>p{font-size:11px;color:#9aaac2;margin-bottom:32px}
:where(.hx-inbox) .document-preview>div{padding:17px 0;border-top:1px solid #eaf0f8;display:flex;flex-wrap:wrap;gap:7px}
:where(.hx-inbox) .document-preview>div strong{font-size:13px;font-weight:500;color:#587393;flex:1}
:where(.hx-inbox) .document-preview>div>span{font-size:11px;color:#6e86a7}
:where(.hx-inbox) .document-preview>div p{width:100%;font-size:11px;color:#9baec6}
:where(.hx-inbox) .document-preview>small{display:block;margin-top:30px;color:#a3b3ca;font-size:10px}
:where(.hx-inbox) .reservation-confirmed{display:flex;align-items:center;gap:6px;font-size:11px;color:#5d9c7f}
:where(.hx-inbox) .reservation-confirmed svg{width:14px;height:14px}
:where(.hx-inbox) .reservation-facts{margin-top:25px}
:where(.hx-inbox) .reservation-facts>div{display:flex;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid #eaf0f8;color:#859bb9;font-size:12px}
:where(.hx-inbox) .reservation-facts svg{width:16px;height:16px}
:where(.hx-inbox) .reservation-facts strong{margin-left:auto;font-weight:500;color:#5c799f}
@container inbox (max-width:780px){:where(.hx-inbox) .activity-card{gap:8px;padding:12px;margin-bottom:18px;border-radius:13px}
:where(.hx-inbox) .activity-icon{width:29px;min-width:29px;height:29px;border-radius:9px}
:where(.hx-inbox) .activity-title{gap:5px}
:where(.hx-inbox) .activity-title>strong{font-size:12px}
:where(.hx-inbox) .activity-sub{font-size:10px}
:where(.hx-inbox) .activity-amount{font-size:18px}
:where(.hx-inbox) .activity-foot{font-size:9px}
:where(.hx-inbox) .activity-card>svg{display:none}
:where(.hx-inbox) .campaign-bubble{width:286px}
:where(.hx-inbox) .campaign-bubble .message-text{font-size:14px}
:where(.hx-inbox) .message-text{font-size:15px}
:where(.hx-inbox) .message-meta{font-size:10px}
:where(.hx-inbox) .voice-note{min-width:205px}
:where(.hx-inbox) .document-message{min-width:205px}}
@media (max-width:600px){:where(.hx-inbox) .examples-picker{font-size:10px;height:28px}
:where(.hx-inbox) .preview-actions .review-button{display:none!important}}
.hx-inbox{--inbox-text:#243147;--inbox-muted:#64748b}
:where(.hx-inbox) .brand-header img{filter:none;opacity:1}
:where(.hx-inbox) .secondary,:where(.hx-inbox) .field-help,:where(.hx-inbox) .row-bottom>span:first-child,:where(.hx-inbox) .row-top time,:where(.hx-inbox) .sender-account,:where(.hx-inbox) .guest-profile p,:where(.hx-inbox) .date-divider,:where(.hx-inbox) .guest-note>span,:where(.hx-inbox) .guest-stats span,:where(.hx-inbox) .guest-stats small,:where(.hx-inbox) .order-info>span,:where(.hx-inbox) .order-info strong>span,:where(.hx-inbox) .contact-row span,:where(.hx-inbox) .contact-row p,:where(.hx-inbox) .activity-sub,:where(.hx-inbox) .activity-foot,:where(.hx-inbox) .activity-foot>span,:where(.hx-inbox) .activity-amount small,:where(.hx-inbox) .campaign-source,:where(.hx-inbox) .campaign-source>span:last-child,:where(.hx-inbox) .campaign-bubble .template-code,:where(.hx-inbox) .voice-track>span,:where(.hx-inbox) .voice-note>time,:where(.hx-inbox) .unavailable-media strong,:where(.hx-inbox) .unavailable-media span,:where(.hx-inbox) .document-preview>p,:where(.hx-inbox) .document-preview>div p,:where(.hx-inbox) .document-preview>small,:where(.hx-inbox) .reservation-facts>div{color:var(--inbox-muted)}
:where(.hx-inbox) .sender-name,:where(.hx-inbox) .guest-panel-header h2,:where(.hx-inbox) .section-heading h3,:where(.hx-inbox) .order-info strong,:where(.hx-inbox) .message-text,:where(.hx-inbox) .campaign-bubble .message-text,:where(.hx-inbox) .document-preview>div strong{color:var(--inbox-text)}
:where(.hx-inbox) .sender-account{font-size:11px}
:where(.hx-inbox) .sender-name{font-size:11px}
:where(.hx-inbox) .message-meta,:where(.hx-inbox) .message-meta svg{color:var(--inbox-muted)}
:where(.hx-inbox) .out .message-text{color:#fff}
:where(.hx-inbox) .out .message-meta,:where(.hx-inbox) .out .message-meta svg{color:#e2eaff}
:where(.hx-inbox) .out .campaign-bubble .message-text{color:var(--inbox-text)}
:where(.hx-inbox) .out .campaign-bubble .message-meta,:where(.hx-inbox) .out .campaign-bubble .message-meta svg{color:var(--inbox-muted)}
:where(.hx-inbox) .row-bottom>span:first-child{font-size:12px}
:where(.hx-inbox) .row-top strong{font-size:13px}
:where(.hx-inbox) .guest-note p{color:var(--color-gray-600);font-size:12px}
:where(.hx-inbox) .guest-note>span,:where(.hx-inbox) .guest-stats span,:where(.hx-inbox) .order-info>span,:where(.hx-inbox) .order-info strong>span,:where(.hx-inbox) .contact-row span{font-size:10px}
:where(.hx-inbox) .order-info strong,:where(.hx-inbox) .contact-row p{font-size:12px}
:where(.hx-inbox) .order-status{font-size:10px;color:var(--color-gray-600)}
:where(.hx-inbox) .order-status.active,:where(.hx-inbox) .activity-status.preparing{color:var(--color-warning-dark)}
:where(.hx-inbox) .activity-title>strong{font-size:13px;color:var(--inbox-text)}
:where(.hx-inbox) .activity-sub{font-size:11px}
:where(.hx-inbox) .activity-foot{font-size:10px}
:where(.hx-inbox) .activity-status{font-size:10px;color:#268257}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .account-selector strong{color:var(--inbox-muted)}
:where(.hx-inbox) .account-selector,:where(.hx-inbox) .ai-reply{font-size:11px}
:where(.hx-inbox) .message-stack>.sender-line{height:22px}
:where(.hx-inbox) .chat-actions .icon-button,:where(.hx-inbox) .composer-row .attach-button,:where(.hx-inbox) .search-actions .icon-button:not(.primary){color:var(--inbox-muted)}
:where(.hx-inbox) .out .message-bubble.failed .message-text{color:#a75555}
:where(.hx-inbox) .out .failed .message-meta,:where(.hx-inbox) .out .failed .message-meta svg{color:#a75555}
@container inbox (max-width:780px){:where(.hx-inbox) .row-top strong{font-size:14px}
:where(.hx-inbox) .message-more[data-slot=button]{color:#64748b}
:where(.hx-inbox) .activity-title>strong{font-size:12px}
:where(.hx-inbox) .activity-sub{font-size:11px}
:where(.hx-inbox) .activity-foot{font-size:10px}}
@media (min-width:601px){:where(.hx-inbox) .demo-phone-sheet[data-slot=sheet-content]{top:60px;height:calc(100dvh - 78px)}}
.hx-inbox,.hx-inbox{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
:where(.hx-inbox) *{box-sizing:border-box}
:where(.hx-inbox) h1,:where(.hx-inbox) h2,:where(.hx-inbox) h3,:where(.hx-inbox) h4,:where(.hx-inbox) p,:where(.hx-inbox) ul,:where(.hx-inbox) ol{margin:0}
:where(.hx-inbox) ul,:where(.hx-inbox) ol{list-style:none;padding:0}
:where(.hx-inbox) button,:where(.hx-inbox) input,:where(.hx-inbox) textarea{font:inherit;color:inherit}
:where(.hx-inbox) button{background:none;border:0;padding:0}
:where(.hx-inbox) button:disabled{cursor:default}
:where(.hx-inbox) a{color:inherit}
:where(.hx-inbox) img{max-width:100%;height:auto}
:where(.hx-inbox) svg{display:inline-block;vertical-align:middle;flex-shrink:0}
:where(.hx-inbox) textarea{resize:none}
:where(.hx-inbox) input,:where(.hx-inbox) textarea{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px;width:100%;min-width:0}
:where(.hx-inbox) input::placeholder,:where(.hx-inbox) textarea::placeholder{color:#8090a8}
:where(.hx-inbox) button:focus-visible,:where(.hx-inbox) input:focus-visible,:where(.hx-inbox) textarea:focus-visible{outline:2px solid #315ff4;outline-offset:3px}
:where(.hx-inbox) [hidden]{display:none!important}
:where(.hx-inbox) .icon-button[data-slot=button]{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
:where(.hx-inbox) [data-slot=button]:not(.icon-button):not(.account-selector):not(.examples-picker):not(.new-account-picker){display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border-radius:9px;min-height:34px}
:where(.hx-inbox) .secondary-button{border:1px solid #dfe5ef;background:#fff;color:#36465d}
:where(.hx-inbox) .app-shell[data-slot=sidebar-wrapper]{display:flex;min-height:0}
:where(.hx-inbox) .erp-nav{display:flex;flex-direction:column}
:where(.hx-inbox) .nav-content{flex:1;overflow:auto}
:where(.hx-inbox) .nav-menu{display:flex;flex-direction:column;gap:5px}
:where(.hx-inbox) .nav-item{width:100%;display:flex;align-items:center;text-align:left;white-space:nowrap}
:where(.hx-inbox) .nav-item span:not(.nav-count){overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .sidebar-footer{padding:8px 12px}
:where(.hx-inbox) .preview-tabs{display:flex;align-items:center}
:where(.hx-inbox) .preview-tabs button,:where(.hx-inbox) .conversation-tabs button{display:flex;align-items:center;border-radius:6px}
:where(.hx-inbox) .preview-tabs button[aria-selected=true]{background:#fff;box-shadow:0 1px 4px #20355b12;color:#243147}
:where(.hx-inbox) .conversation-tabs{display:flex;align-items:center}
:where(.hx-inbox) .conversation-tabs button[data-active]{background:#1c2638;color:#fff}
:where(.hx-inbox) .conversation-tabs button:not([data-active]){background:transparent}
:where(.hx-inbox) .conversation-tabs button>span{background:#ffffff12}
:where(.hx-inbox) .search-field input{padding-left:33px}
:where(.hx-inbox) .search-field>svg{position:absolute;left:11px}
:where(.hx-inbox) .ds-search-clear{position:absolute;right:4px;top:50%;transform:translateY(-50%)}
:where(.hx-inbox) .ds-search-clear svg{width:13px;height:13px}
:where(.hx-inbox) .ds-search-clear:not(.visible){visibility:hidden}
:where(.hx-inbox) .ds-search-clear.visible{visibility:visible}
:where(.hx-inbox) .erp-action-menu{position:relative;display:inline-flex;flex-shrink:0}
:where(.hx-inbox) .erp-action-menu__trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px}
:where(.hx-inbox) .pure-dropdown-menu{display:none}
:where(.hx-inbox) .pure-dropdown-menu.open{display:block}
:where(.hx-inbox) .action-menu{width:max-content;min-width:185px;max-width:calc(100vw - 16px);overflow:auto;background:#fff;border:1px solid #e3e8f0;border-radius:12px;padding:5px;box-shadow:0 9px 35px #12244122;z-index:100000}
:where(.hx-inbox) .action-menu button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:9px 12px;border-radius:7px;color:#36465d;white-space:nowrap}
:where(.hx-inbox) .action-menu button:hover,:where(.hx-inbox) .action-menu button:focus-visible{background:#edf2ff;color:#315ff4}
:where(.hx-inbox) .action-menu svg{width:16px;height:16px}
:where(.hx-inbox) .message-row.out>.message-menu{order:-1}
:where(.hx-inbox) .message-row:hover .message-more,:where(.hx-inbox) .message-row:focus-within .message-more{opacity:1}
:where(.hx-inbox) .message-menu:has(.open) .message-more{opacity:1}
:where(.hx-inbox) .message-menu .action-menu{box-shadow:0 10px 32px #12244126}
:where(.hx-inbox) .message-row .message-more[data-slot=button]{border:0;box-shadow:none;background:none;padding:0}
:where(.hx-inbox) .composer-row .message-input{background:transparent;border:0;box-shadow:none;outline:none}
:where(.hx-inbox) .composer-row:focus-within .message-input{outline:none}
:where(.hx-inbox) .composer-row{align-items:flex-end}
:where(.hx-inbox) .composer-row>.erp-action-menu{align-self:flex-end}
:where(.hx-inbox) .composer-row .attach-button[data-slot=button]{background:none;border:0;box-shadow:none;height:32px;min-height:32px;width:30px;min-width:30px;border-radius:6px;margin:3px 0}
:where(.hx-inbox) .composer-row .attach-button svg{width:15px;height:15px}
:where(.hx-inbox) .composer-row .attach-button:hover{background:#eef2f9}
:where(.hx-inbox) .send-button{align-self:flex-end;margin-bottom:3px}
:where(.hx-inbox) .message-text{white-space:pre-wrap;overflow-wrap:anywhere}
:where(.hx-inbox) .pending-template{display:flex;align-items:center;gap:7px;background:#edf2ff;color:#365eb4;border-radius:7px;margin-bottom:7px;padding:4px 8px;font-size:11px}
:where(.hx-inbox) .pending-template>span{flex:1}
:where(.hx-inbox) .pending-template>svg{width:13px;height:13px}
:where(.hx-inbox) .pending-template .icon-button{width:25px;min-width:25px;height:25px;min-height:25px}
:where(.hx-inbox) .pending-template .icon-button svg{width:12px;height:12px}
:where(.hx-inbox) #workflow-dialog{border:0;padding:0;margin:0;max-width:none;max-height:none;width:100vw;height:100dvh;background:transparent;overflow:hidden;color:#243147}
:where(.hx-inbox) #workflow-dialog::backdrop{background:#101b2b35;backdrop-filter:blur(3px);animation:hx-inbox-overlay-in 180ms ease-out}
:where(.hx-inbox) #workflow-dialog .workflow-sheet{position:absolute;right:0;top:0;bottom:0;height:100%;display:flex;flex-direction:column;margin:0;animation:hx-inbox-sheet-in 200ms cubic-bezier(.2,.75,.2,1)}
:where(.hx-inbox) #workflow-dialog.closing .workflow-sheet{animation:hx-inbox-sheet-out 180ms ease-in forwards}
:where(.hx-inbox) #workflow-dialog.closing::backdrop{animation:hx-inbox-overlay-out 180ms forwards}
:where(.hx-inbox) .workflow-body{min-height:0}
:where(.hx-inbox) .workflow-body.guest-panel-scroll{padding:0}
:where(.hx-inbox) .workflow-footer[hidden]{display:none}
:where(.hx-inbox) .field-label{display:block;margin:20px 0 9px}
:where(.hx-inbox) .field-help{line-height:1.6;margin-top:10px}
:where(.hx-inbox) .recipient-summary{display:flex;align-items:center;gap:12px;margin-bottom:22px}
:where(.hx-inbox) .recipient-summary>svg{width:20px;height:20px;color:#315ff4}
:where(.hx-inbox) .recipient-summary strong{display:block;font-size:14px}
:where(.hx-inbox) .recipient-summary span{display:block;font-size:12px;color:#64748b;margin-top:3px}
:where(.hx-inbox) .new-account-picker{border:1px solid #dfe5ef;border-radius:10px;height:42px;min-width:160px;padding:8px 12px!important}
:where(.hx-inbox) .new-account-picker strong{font-size:13px}
:where(.hx-inbox) .new-account-picker>svg{margin-left:auto;width:15px;height:15px}
:where(.hx-inbox) .template-combobox{position:relative}
:where(.hx-inbox) .template-combobox>input{padding-right:40px}
:where(.hx-inbox) .template-combobox>button{position:absolute;right:0;top:0;width:40px;height:44px;display:grid;place-items:center}
:where(.hx-inbox) .template-combobox>button svg{width:16px;height:16px}
:where(.hx-inbox) .template-picker{position:absolute;top:calc(100% + 6px);left:0;width:100%;min-width:0!important;padding:5px;border-radius:12px;box-shadow:0 10px 30px #14254121;overflow:auto}
:where(.hx-inbox) .template-picker.opens-up{top:auto;bottom:calc(100% + 6px)}
:where(.hx-inbox) .template-picker>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border-radius:7px}
:where(.hx-inbox) .template-picker>button:hover,:where(.hx-inbox) .template-picker>button:focus{background:#edf2ff;color:#315ff4;outline:0}
:where(.hx-inbox) .empty-options{padding:15px}
:where(.hx-inbox) .template-hero{height:auto}
:where(.hx-inbox) .full-campaign-image{height:auto}
:where(.hx-inbox) .voice-note audio{display:none}
@keyframes hx-inbox-sheet-in{from{opacity:.4;translate:24px 0}to{opacity:1;translate:0 0}}
@keyframes hx-inbox-sheet-out{to{opacity:0;translate:24px 0}}
@keyframes hx-inbox-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes hx-inbox-overlay-out{to{opacity:0}}
@media (min-width:601px){:where(.hx-inbox) #workflow-dialog.phone-dialog .workflow-sheet{left:50%;right:auto;top:60px;bottom:auto;transform:translateX(-50%);height:calc(100dvh - 78px);max-height:812px;width:375px;border-radius:22px;overflow:hidden}
:where(.hx-inbox) .phone-dialog .workflow-body{padding:20px}
:where(.hx-inbox) .phone-dialog .workflow-body.guest-panel-scroll{padding:0}
:where(.hx-inbox) .phone-dialog .workflow-footer{padding:14px 20px}
:where(.hx-inbox) .phone-dialog .panel-title{padding:12px 16px}}
@media (max-width:600px){:where(.hx-inbox) #workflow-dialog .workflow-sheet{width:100%;max-width:100%;border:0}
:where(.hx-inbox) .workflow-body input,:where(.hx-inbox) .workflow-body textarea{font-size:16px}
:where(.hx-inbox) .workflow-footer button{min-height:44px}
:where(.hx-inbox) .preview-tabs{display:none!important}}
@container inbox (max-width:780px){:where(.hx-inbox) .message-row>.message-menu .message-more{opacity:1}
:where(.hx-inbox) .composer-row .attach-button[data-slot=button]{width:34px;min-width:34px;height:44px;min-height:44px;margin:0;background:none;border:0;box-shadow:none}
:where(.hx-inbox) .composer-row .attach-button svg{width:15px;height:15px}
:where(.hx-inbox) .send-button{margin-bottom:0}}
:where(.hx-inbox) .message-history{background:#f6f8fc}
:where(.hx-inbox) .message-lane{padding-bottom:16px}
:where(.hx-inbox) .message-row{margin-bottom:15px}
:where(.hx-inbox) .date-divider{padding:17px 0;color:#66758b}
:where(.hx-inbox) .composer-area{box-shadow:0 -8px 22px #fff}
:where(.hx-inbox) .order-ticket{width:min(100%,440px);margin:18px auto 22px;border-radius:14px;overflow:hidden;background:#fff;border:1px solid #d6dfed;box-shadow:0 6px 18px #2035520d;color:#243147}
:where(.hx-inbox) .ticket-topline{display:flex;align-items:center;justify-content:space-between;padding:12px 18px 8px;background:#202d45;color:#c8d4e8;font-size:10px;letter-spacing:.055em}
:where(.hx-inbox) .ticket-topline>span{display:flex;gap:7px;align-items:center}
:where(.hx-inbox) .ticket-topline svg{width:14px;height:14px}
:where(.hx-inbox) .ticket-topline time{letter-spacing:0;color:#aebed8}
:where(.hx-inbox) .ticket-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px 17px;background:#202d45;color:white}
:where(.hx-inbox) .ticket-title h3{font-size:19px;font-weight:650;letter-spacing:-.5px}
:where(.hx-inbox) .ticket-status{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:550;background:var(--color-warning-light);color:var(--color-warning-dark)}
:where(.hx-inbox) .ticket-status>span{height:5px;width:5px;border-radius:50%;background:var(--color-warning)}
:where(.hx-inbox) .ticket-items{display:flex;flex-direction:column;gap:10px;padding:16px 18px;font-size:13px}
:where(.hx-inbox) .ticket-items>span{display:flex;align-items:center;gap:10px}
:where(.hx-inbox) .ticket-items b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:5px;background:#f0f3f8;color:#5b6980;font-size:10px;font-weight:550}
:where(.hx-inbox) .ticket-bottom{display:flex;justify-content:space-between;align-items:center;padding:13px 18px 15px;border-top:1px dashed #dbe2ee}
:where(.hx-inbox) .ticket-bottom>div{display:flex;align-items:baseline;gap:14px}
:where(.hx-inbox) .ticket-bottom>div>span{font-size:11px;color:#64748b}
:where(.hx-inbox) .ticket-bottom strong{font-size:23px;letter-spacing:-.7px;font-weight:650;color:#19253b}
:where(.hx-inbox) .ticket-bottom small{font-size:10px;letter-spacing:0;font-weight:500}
:where(.hx-inbox) .ticket-bottom button{display:flex;align-items:center;gap:5px;color:#315ff4;font-size:12px;font-weight:550;padding:7px 0 7px 8px}
:where(.hx-inbox) .ticket-bottom button svg{width:14px;height:14px}
:where(.hx-inbox) .ticket-delivery{display:flex;align-items:center;gap:6px;padding:10px 18px;border-top:1px solid #e8edf5;background:#fbfcfe;font-size:10px;color:#52637b}
:where(.hx-inbox) .ticket-delivery svg{width:12px;height:12px}
:where(.hx-inbox) .ticket-delivery>span{margin-left:auto;color:#7a899f}
:where(.hx-inbox) .order-sheet .workflow-body{padding:0 22px 22px;background:#fff}
:where(.hx-inbox) .order-sheet .panel-title{border-bottom:0}
:where(.hx-inbox) .order-overview{padding:19px 18px 14px;border-radius:12px;background:var(--color-gray-100);border:1px solid var(--color-gray-200);margin:0 0 23px}
:where(.hx-inbox) .order-overline{font-size:10px;font-weight:600;letter-spacing:.075em;color:var(--color-gray-600)}
:where(.hx-inbox) .order-overview-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}
:where(.hx-inbox) .order-overview-title h3{font-size:23px;letter-spacing:-.65px;line-height:1.3;font-weight:650;color:var(--color-gray-800)}
:where(.hx-inbox) .order-overview-title p{font-size:11px;color:var(--color-gray-600);margin-top:5px}
:where(.hx-inbox) .order-overview-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--color-gray-200);color:var(--color-gray-600)}
:where(.hx-inbox) .order-overview-icon svg{width:18px;height:18px}
:where(.hx-inbox) .order-progress{display:flex;justify-content:space-between;gap:0;margin-top:22px}
:where(.hx-inbox) .order-progress li{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--color-gray-500)}
:where(.hx-inbox) .order-progress li:before{content:"";position:absolute;top:10px;left:-50%;right:50%;height:1px;background:var(--color-gray-300)}
:where(.hx-inbox) .order-progress li:first-child:before{display:none}
:where(.hx-inbox) .order-progress li>span{position:relative;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;font-size:9px;background:var(--color-gray-100);border:1px solid var(--color-gray-300)}
:where(.hx-inbox) .order-progress li>span svg{width:11px;height:11px}
:where(.hx-inbox) .order-progress li b{font-size:9px;font-weight:500}
:where(.hx-inbox) .order-progress .done>span{background:var(--color-success-light);border-color:var(--color-success-light);color:var(--color-success-dark)}
:where(.hx-inbox) .order-progress .current{color:var(--color-warning-dark)}
:where(.hx-inbox) .order-progress .current>span{background:var(--color-warning);border-color:var(--color-warning);color:#fff;box-shadow:0 0 0 3px var(--color-warning-light)}
:where(.hx-inbox) .order-progress .current b{font-weight:650}
:where(.hx-inbox) .order-date{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--color-gray-500);padding-top:16px}
:where(.hx-inbox) .order-date svg{width:11px;height:11px}
:where(.hx-inbox) .order-detail-block{margin:20px 0}
:where(.hx-inbox) .order-block-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
:where(.hx-inbox) .order-block-heading h3{font-size:13px;font-weight:650;color:#243147}
:where(.hx-inbox) .order-block-heading>span{font-size:10px;color:#7b899d}
:where(.hx-inbox) .order-block-heading>svg{width:15px;height:15px;color:#7890b0}
:where(.hx-inbox) .order-dish{display:flex;align-items:center;gap:11px;margin-top:16px}
:where(.hx-inbox) .dish-qty{display:grid;place-items:center;width:26px;height:28px;background:#edf2fa;border:1px solid #e2e9f4;border-radius:7px;font-size:11px;color:#596f93}
:where(.hx-inbox) .order-dish>div{flex:1;min-width:0}
:where(.hx-inbox) .order-dish strong{display:block;font-size:12px;font-weight:550;color:#243147}
:where(.hx-inbox) .order-dish>div>span{font-size:10px;color:#78869b;display:block;margin-top:3px}
:where(.hx-inbox) .order-dish>b{font-size:11px;white-space:nowrap;font-weight:550;color:#35465f}
:where(.hx-inbox) .order-price{padding:15px 18px;background:#f5f7fb;border-radius:10px;margin:22px 0;color:#67758a}
:where(.hx-inbox) .order-price>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:0 0 9px}
:where(.hx-inbox) .order-price .price-total{margin:14px 0 0;padding-top:12px;border-top:1px solid #e0e6ef;color:#25354f;font-weight:550}
:where(.hx-inbox) .price-total>strong{font-size:27px;letter-spacing:-.8px;font-weight:650}
:where(.hx-inbox) .price-total small{font-size:11px;letter-spacing:0;font-weight:500}
:where(.hx-inbox) .delivery-block>strong{font-size:13px;font-weight:550}
:where(.hx-inbox) .delivery-block p{font-size:12px;margin-top:5px;color:#516580}
:where(.hx-inbox) .delivery-block>span{font-size:11px;color:#697e9c;display:block;margin-top:4px}
:where(.hx-inbox) .kitchen-note{background:var(--color-gray-50);border:1px solid var(--color-gray-200);border-left:3px solid var(--color-gray-500);border-radius:8px;padding:11px 14px;margin-top:19px}
:where(.hx-inbox) .kitchen-note>span{display:flex;align-items:center;gap:6px;color:var(--color-gray-600);font-size:9px;font-weight:600;letter-spacing:.045em}
:where(.hx-inbox) .kitchen-note svg{width:12px;height:12px}
:where(.hx-inbox) .kitchen-note p{margin-top:6px;font-size:12px;color:var(--color-gray-700)}
:where(.hx-inbox) .order-back{margin-top:22px}
:where(.hx-inbox) .order-back .primary{width:100%;height:38px}
:where(.hx-inbox) .guest-profile{padding-top:20px}
:where(.hx-inbox) .guest-stats{background:#f7f9fd;border-color:#e8edf5}
:where(.hx-inbox) .guest-stats strong{color:#20314d}
:where(.hx-inbox) .guest-note{border-left:3px solid var(--color-gray-500)}
:where(.hx-inbox) .order-row.current-order{background:var(--color-gray-100);border:1px solid var(--color-gray-200);border-left:3px solid var(--color-gray-500);padding:11px 12px;border-radius:9px;margin:0 0 5px}
:where(.hx-inbox) .order-info strong{font-size:12px;font-weight:600}
:where(.hx-inbox) .order-info strong>span{font-size:10px}
:where(.hx-inbox) .order-info strong>span b{font-size:15px;color:#243147;font-weight:600}
:where(.hx-inbox) .order-row:not(.current-order){padding:13px 3px}
:where(.hx-inbox) .order-row.current-order:hover{background:var(--color-gray-100)}
:where(.hx-inbox) .contact-row .icon-button{margin-left:auto;height:28px;min-height:28px;width:28px;min-width:28px}
:where(.hx-inbox) .contact-row .icon-button svg{width:13px;height:13px}
@container inbox (max-width:780px){:where(.hx-inbox) .order-ticket{border-radius:12px;margin:14px auto 18px}
:where(.hx-inbox) .ticket-topline{padding:10px 13px 7px;font-size:9px}
:where(.hx-inbox) .ticket-title{padding:0 13px 13px}
:where(.hx-inbox) .ticket-title h3{font-size:18px}
:where(.hx-inbox) .ticket-status{font-size:10px}
:where(.hx-inbox) .ticket-items{padding:13px;font-size:12px;gap:8px}
:where(.hx-inbox) .ticket-bottom{padding:10px 13px}
:where(.hx-inbox) .ticket-bottom>div{gap:7px}
:where(.hx-inbox) .ticket-bottom strong{font-size:22px}
:where(.hx-inbox) .ticket-bottom>div>span{font-size:10px}
:where(.hx-inbox) .ticket-delivery{padding:9px 13px;font-size:10px}
:where(.hx-inbox) .message-history{background:#f5f7fb}}
:where(.hx-inbox) .ai-settings-intro{display:flex;align-items:center;gap:12px;margin-bottom:25px}
:where(.hx-inbox) .ai-settings-intro>span{width:36px;height:36px;border-radius:10px;background:#edf2ff;color:#315ff4;display:grid;place-items:center}
:where(.hx-inbox) .ai-settings-intro svg{width:18px;height:18px}
:where(.hx-inbox) .ai-settings-intro h3{font-size:15px;font-weight:600;color:#25354f;letter-spacing:-.25px}
:where(.hx-inbox) .ai-settings-intro p{font-size:12px;color:#6c7b90;margin-top:3px}
:where(.hx-inbox) .workflow-body .settings-input[data-slot=textarea]{min-height:140px;height:154px;max-height:220px;font-size:13px;line-height:1.7;padding:13px 14px;color:#334762;background:#fff;border-color:#d4deed;resize:vertical}
:where(.hx-inbox) .prompt-help{display:flex;align-items:center;gap:6px;font-size:11px;color:#708099;margin-top:10px}
:where(.hx-inbox) .prompt-help svg{width:13px;height:13px}
:where(.hx-inbox) .ai-example{margin-top:28px;background:#f4f7fc;border:1px solid #e4eaf4;border-radius:12px;padding:17px}
:where(.hx-inbox) .ai-example-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}
:where(.hx-inbox) .ai-example-heading strong{font-size:12px;font-weight:600;color:#2c3f5c}
:where(.hx-inbox) .ai-example-heading>span{font-size:9px;padding:3px 6px;border-radius:5px;background:#e7edf8;color:#647a9c}
:where(.hx-inbox) .example-guest{font-size:12px;color:#475b78;border-radius:10px 10px 10px 3px;padding:10px 12px;background:white;max-width:90%;border:1px solid #e4eaf3}
:where(.hx-inbox) .example-assistant{margin:12px 0 0 20px;padding:12px 14px;background:#315ff4;border-radius:12px 12px 3px 12px;color:white;box-shadow:0 3px 10px #315ff414}
:where(.hx-inbox) .example-assistant>span{display:flex;align-items:center;gap:5px;font-size:10px;color:#dae5ff}
:where(.hx-inbox) .example-assistant svg{width:12px;height:12px}
:where(.hx-inbox) .example-assistant p{font-size:13px;line-height:1.6;margin-top:7px}
:where(.hx-inbox) .example-principles{display:flex;flex-direction:column;gap:7px;margin-top:17px;font-size:11px;color:var(--color-gray-600)}
:where(.hx-inbox) .example-principles>span{display:flex;align-items:center;gap:6px}
:where(.hx-inbox) .example-principles svg{width:12px;height:12px}
@media (max-width:600px){:where(.hx-inbox) .workflow-body .settings-input[data-slot=textarea]{font-size:16px;height:190px;line-height:1.6}
:where(.hx-inbox) .order-sheet .workflow-body{padding:0 18px 18px}}
:where(.hx-inbox) .back-button[data-slot=button]{display:none}
@container inbox (max-width:780px){:where(.hx-inbox) .back-button[data-slot=button]{display:inline-flex}}
:where(.hx-inbox) .demo-toast{top:54px;bottom:auto;pointer-events:none;animation:hx-inbox-notification-in 150ms ease-out;max-width:min(430px,calc(100vw - 24px))}
:where(.hx-inbox) .demo-toast>button{pointer-events:auto}
@keyframes hx-inbox-notification-in{from{opacity:0;translate:0 -5px}to{opacity:1;translate:0 0}}
@container inbox (max-width:780px){:where(.hx-inbox) .help-button[data-slot=button]{display:none}}
:where(.hx-inbox) .ticket-items{padding:8px 14px;gap:3px;font-size:12px}
:where(.hx-inbox) .ticket-item{display:flex;align-items:center;gap:8px;min-width:0;height:20px}
:where(.hx-inbox) .ticket-item>b{flex:0 0 20px;width:20px;height:20px;margin:0;border-radius:4px;font-size:10px}
:where(.hx-inbox) .ticket-item>span{min-width:0;line-height:20px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:where(.hx-inbox) .ticket-more{display:flex;align-items:center;gap:6px;align-self:flex-start;margin:0 0 0 28px;padding:3px 0;color:#315ff4;font-size:11px;font-weight:550;min-height:26px}
:where(.hx-inbox) .ticket-more:hover{color:#153aba}
:where(.hx-inbox) .ticket-more svg{width:13px;height:13px}
:where(.hx-inbox) .ticket-delivery>.ticket-area{margin-left:0;margin-right:auto;color:#52637b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.hx-inbox) .ticket-delivery>span:last-child{white-space:nowrap;font-size:10px;margin-left:0}
:where(.hx-inbox) .workflow-context{flex-shrink:0}
:where(.hx-inbox) .order-sheet .workflow-context{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 22px 16px;font-size:11px;color:#64748b;border-bottom:1px solid #e5eaf2}
:where(.hx-inbox) .pinned-order-status{display:inline-flex;align-items:center;gap:6px;color:var(--color-warning-dark);font-weight:550;font-size:12px}
:where(.hx-inbox) .pinned-order-status i{width:6px;height:6px;background:var(--color-warning);border-radius:50%}
:where(.hx-inbox) .pinned-order-status.delivered{color:var(--color-success-dark)}
:where(.hx-inbox) .pinned-order-status.delivered i{background:var(--color-success)}
:where(.hx-inbox) .order-sheet .workflow-body{padding-top:18px}
:where(.hx-inbox) .order-sheet .workflow-footer{justify-content:space-between;align-items:center;box-shadow:0 -5px 20px #20355208;gap:12px}
:where(.hx-inbox) .pinned-order-total>span{display:block;font-size:10px;color:#64748b}
:where(.hx-inbox) .pinned-order-total strong{display:block;font-size:25px;font-weight:650;letter-spacing:-.7px;color:#1b2940;white-space:nowrap}
:where(.hx-inbox) .pinned-order-total small{font-size:11px;font-weight:500;letter-spacing:0}
:where(.hx-inbox) .order-item-list{margin:0;padding:0;list-style:none}
:where(.hx-inbox) .order-dish{align-items:flex-start;padding:13px 0;margin:0;border-bottom:1px solid #eef1f6;gap:10px}
:where(.hx-inbox) .order-dish:last-child{border:0}
:where(.hx-inbox) .order-dish .dish-qty{flex:0 0 26px}
:where(.hx-inbox) .order-dish strong{line-height:1.5;overflow-wrap:anywhere}
:where(.hx-inbox) .order-dish>div>small{display:block;color:#64748b;font-size:10px;margin-top:4px}
:where(.hx-inbox) .order-dish>b{padding-top:3px;flex-shrink:0}
:where(.hx-inbox) .order-overview{margin-bottom:16px}
:where(.hx-inbox) .order-detail-block .order-block-heading{margin-bottom:3px}
:where(.hx-inbox) .order-price>div:last-child{margin-bottom:0}
:where(.hx-inbox) .avatar-sarah{background:var(--color-gray-200);color:var(--color-gray-600)}
:where(.hx-inbox) .composer-row{align-items:center}
:where(.hx-inbox) .composer-row>.erp-action-menu{height:44px;align-self:flex-end;align-items:center;justify-content:center}
:where(.hx-inbox) .composer-row .attach-button[data-slot=button]{margin:0;align-self:center}
:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{min-height:44px;line-height:20px;padding-top:12px;padding-bottom:12px}
:where(.hx-inbox) .composer-row .send-button{align-self:flex-end;margin-bottom:3px}
@container inbox (max-width:780px){:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{line-height:24px;padding-top:10px;padding-bottom:10px}
:where(.hx-inbox) .composer-row .send-button{margin-bottom:0}
:where(.hx-inbox) .ticket-more{min-height:28px}}
:where(.hx-inbox) #workflow-dialog.assistant-dialog .workflow-sheet{left:0;right:auto;width:440px;border-right:1px solid #dde5f2;border-left:0;animation:hx-inbox-assistant-in 220ms cubic-bezier(.2,.75,.2,1)}
:where(.hx-inbox) #workflow-dialog.assistant-dialog.closing .workflow-sheet{animation:hx-inbox-assistant-out 180ms ease-in forwards}
:where(.hx-inbox) .assistant-dialog .panel-title{height:72px;min-height:72px;border-bottom:1px solid var(--color-gray-200);padding:16px 24px;background:#fff}
:where(.hx-inbox) .assistant-dialog .panel-title h2{color:var(--color-gray-800);font-size:20px;font-weight:650;letter-spacing:-.6px}
:where(.hx-inbox) .assistant-dialog .panel-close[data-slot=button]{color:var(--color-gray-600);background:transparent;border:0;border-radius:50%;width:32px;min-width:32px;height:32px;min-height:32px}
:where(.hx-inbox) .assistant-dialog .workflow-context{padding:18px 24px 20px;background:#fff;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .reply-context-label{font-size:10px;color:var(--color-gray-500);margin-bottom:9px;font-weight:550;text-transform:uppercase;letter-spacing:.065em}
:where(.hx-inbox) .assistant-context{border-left:2px solid var(--color-gray-800);padding-left:12px}
:where(.hx-inbox) .assistant-context>span{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--color-gray-800)}
:where(.hx-inbox) .assistant-context time{font-size:10px;color:var(--color-gray-500);font-weight:400;margin-left:auto}
:where(.hx-inbox) .assistant-context p{margin-top:6px;font-size:14px;line-height:1.55;color:var(--color-gray-800);white-space:pre-wrap;overflow-wrap:anywhere;max-height:min(120px,18dvh);overflow:auto}
:where(.hx-inbox) .assistant-dialog .workflow-body{padding:20px 24px 24px;background:#fff}
:where(.hx-inbox) .suggestions-intro{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
:where(.hx-inbox) .suggestions-intro>span{font-size:12px;color:var(--color-gray-800);font-weight:550}
:where(.hx-inbox) .suggestions-intro small{font-size:10px;color:var(--color-gray-500)}
:where(.hx-inbox) .suggestion-options{display:flex;flex-direction:column;gap:12px}
:where(.hx-inbox) .suggestion-options .suggestion-card{display:block;text-align:left;width:100%;margin:0;padding:16px 18px;border-radius:12px;border:1px solid var(--color-gray-200);background:#fff;transition:background 130ms,border-color 130ms,translate 130ms,box-shadow 130ms}
:where(.hx-inbox) .suggestion-options .suggestion-0{background:#fff;border-color:var(--color-gray-200)}
:where(.hx-inbox) .suggestion-options .suggestion-card>span{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--color-gray-700);font-weight:600}
:where(.hx-inbox) .suggestion-card>span>b{font-size:9px;font-weight:550;color:var(--color-gray-500)}
:where(.hx-inbox) .suggestion-options .suggestion-card p{font-size:14px;line-height:1.6;color:var(--color-gray-800);margin:10px 0 14px}
:where(.hx-inbox) .suggestion-options .suggestion-card small{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:11px;color:var(--color-gray-800);font-weight:600}
:where(.hx-inbox) .suggestion-options .suggestion-card small svg{width:13px;height:13px}
:where(.hx-inbox) .suggestion-options .suggestion-card:hover{border-color:var(--color-gray-500);background:var(--color-gray-50);translate:2px 0;box-shadow:0 3px 10px #20355b08}
:where(.hx-inbox) .suggestion-options .suggestion-card:active{translate:0 0;scale:.992}
:where(.hx-inbox) .assistant-dialog .workflow-footer{justify-content:flex-start;align-items:center;padding:15px 24px;gap:10px;font-size:11px;color:var(--color-gray-500);background:#fff;border-color:var(--color-gray-200)}
:where(.hx-inbox) .assistant-dialog .workflow-footer>svg{width:16px;height:16px;color:var(--color-gray-500)}
:where(.hx-inbox) .assistant-dialog .workflow-footer strong{color:var(--color-gray-600);font-weight:400}
:where(.hx-inbox) #workflow-dialog.phone-dialog.assistant-dialog .workflow-sheet{left:50%;right:auto;width:375px;max-width:100%}
@keyframes hx-inbox-assistant-in{from{translate:-100% 0;opacity:.7}to{translate:0 0;opacity:1}}
@keyframes hx-inbox-assistant-out{to{translate:-100% 0;opacity:0}}
@media (max-width:600px){:where(.hx-inbox) #workflow-dialog.assistant-dialog .workflow-sheet{width:100%;max-width:100%}
:where(.hx-inbox) .assistant-dialog .panel-title{padding:14px 18px;height:64px;min-height:64px}
:where(.hx-inbox) .assistant-dialog .workflow-context{padding:14px 18px 16px}
:where(.hx-inbox) .assistant-dialog .workflow-body{padding:18px}
:where(.hx-inbox) .assistant-dialog .workflow-footer{padding:14px 18px}
:where(.hx-inbox) .order-sheet .workflow-context{padding:0 18px 14px}
:where(.hx-inbox) .order-sheet .workflow-footer{padding:12px 18px}
:where(.hx-inbox) .suggestion-options .suggestion-card p{font-size:15px}}
:where(.hx-inbox) #reaction-picker{position:fixed;inset:auto;margin:0;padding:8px;width:292px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;border:1px solid #dbe4f2;border-radius:16px;background:#fff;color:#263953;box-shadow:0 9px 35px #15294c26;animation:hx-inbox-reaction-in 140ms ease-out}
:where(.hx-inbox) .quick-reactions{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;align-items:center}
:where(.hx-inbox) .emoji-choice{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:38px;border-radius:9px;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:24px;line-height:1;transition:background 100ms,scale 100ms}
:where(.hx-inbox) .emoji-choice:hover{background:#edf2ff;scale:1.13}
:where(.hx-inbox) .emoji-choice[aria-pressed=true]{background:#e8efff;box-shadow:inset 0 0 0 1px #9ab4f3}
:where(.hx-inbox) .quick-reactions .more-reactions[data-slot=button]{width:34px;min-width:34px;height:34px;min-height:34px;background:#f0f4fa;border:0;box-shadow:none;border-radius:50%;margin:auto}
:where(.hx-inbox) .more-reactions svg{height:15px;width:15px}
:where(.hx-inbox) .reaction-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:#71829b;padding:7px 5px 0;min-height:25px}
:where(.hx-inbox) .reaction-caption .remove-reaction[data-slot=button]{color:#315ff4;padding:0 3px;min-height:25px;font-size:11px}
:where(.hx-inbox) .expanded-reactions{border-top:1px solid #e9eef6;margin-top:8px;padding-top:10px}
:where(.hx-inbox) .reaction-search{margin-bottom:10px}
:where(.hx-inbox) .reaction-search input{padding:8px 10px;border-radius:8px;font-size:13px;height:36px;background:#f7f9fc;border-color:#e5ebf5}
:where(.hx-inbox) .emoji-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;max-height:230px;overflow:auto;padding:2px}
:where(.hx-inbox) .reaction-empty{grid-column:1/-1;padding:16px;font-size:12px;color:#71829b;text-align:center}
:where(.hx-inbox) .reaction-chip{padding:3px 7px;border-color:#b5c8ef;border-radius:12px;background:#edf3ff;gap:5px;min-height:26px;margin-top:-2px}
:where(.hx-inbox) .reaction-chip>span{font-size:16px;line-height:1.1}
:where(.hx-inbox) .reaction-chip small{font-size:10px;color:#3159b9}
:where(.hx-inbox) .reaction-chip:hover{background:#e1ebff}
@keyframes hx-inbox-reaction-in{from{opacity:0;scale:.95;translate:0 4px}to{opacity:1;scale:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) #workflow-dialog.assistant-dialog .workflow-sheet,:where(.hx-inbox) #workflow-dialog.assistant-dialog.closing .workflow-sheet,:where(.hx-inbox) #reaction-picker{animation:none}
:where(.hx-inbox) .suggestion-options .suggestion-card,:where(.hx-inbox) .emoji-choice{transition:none}}
:where(.hx-inbox) .ticket-topline{padding:8px 14px 4px;font-size:9px}
:where(.hx-inbox) .ticket-topline svg{width:12px;height:12px}
:where(.hx-inbox) .ticket-title{padding:0 14px 9px;gap:8px}
:where(.hx-inbox) .ticket-title h3{font-size:17px;line-height:24px}
:where(.hx-inbox) .ticket-status{padding:3px 7px;font-size:10px}
:where(.hx-inbox) .ticket-bottom{padding:6px 14px;gap:8px}
:where(.hx-inbox) .ticket-bottom>div{gap:7px}
:where(.hx-inbox) .ticket-bottom>div>span{font-size:10px}
:where(.hx-inbox) .ticket-bottom strong{font-size:21px}
:where(.hx-inbox) .ticket-bottom button{font-size:11px;min-height:32px;padding:4px 0 4px 5px}
:where(.hx-inbox) .ticket-delivery{padding:7px 14px}
:where(.hx-inbox) .order-ticket{width:min(100%,400px);margin-top:14px;margin-bottom:18px}
:where(.hx-inbox) .assistant-dialog .workflow-sheet button:focus-visible{outline-color:var(--color-gray-600)}
:where(.hx-inbox) .reaction-search input{font-size:16px}
:where(.hx-inbox) .call-event{display:flex;align-items:center;gap:11px;width:min(100%,400px);margin:18px auto;padding:13px 14px;border:1px solid var(--color-gray-200);border-left:3px solid var(--color-gray-600);border-radius:10px;background:#fff;text-align:left;transition:border-color 140ms,box-shadow 140ms}
:where(.hx-inbox) .call-event-icon{color:var(--color-gray-600);display:grid;place-items:center;flex:0 0 22px}
:where(.hx-inbox) .call-event-icon svg{width:19px;height:19px}
:where(.hx-inbox) .call-event-copy{flex:1;min-width:0}
:where(.hx-inbox) .call-event-copy>strong{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--color-gray-800)}
:where(.hx-inbox) .call-event-copy>strong>span{font-size:9px;font-weight:500;color:var(--color-gray-600)}
:where(.hx-inbox) .call-event-copy>small{display:flex;gap:12px;font-size:10px;color:var(--color-gray-500);margin-top:5px}
:where(.hx-inbox) .call-event-copy>small>span{color:var(--color-gray-500)}
:where(.hx-inbox) .call-duration{padding-left:12px;border-left:1px solid var(--color-gray-200);display:flex;flex-direction:column;align-items:center}
:where(.hx-inbox) .call-duration strong{font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.6px;color:var(--color-gray-800);font-variant-numeric:tabular-nums}
:where(.hx-inbox) .call-duration small{font-size:8px;letter-spacing:.035em;color:var(--color-gray-500);margin-top:3px}
:where(.hx-inbox) .call-event>svg{width:12px;height:12px;color:var(--color-gray-500)}
:where(.hx-inbox) .call-event:hover{border-color:var(--color-gray-400);box-shadow:0 3px 12px #1e293b0b}
:where(.hx-inbox) .reservation-event{display:flex;align-items:stretch;width:min(100%,400px);margin:18px auto 22px;padding:14px;gap:16px;background:#fff;border:1px solid var(--color-gray-200);border-radius:12px;text-align:left;box-shadow:0 5px 15px #1e293b08;transition:border-color 140ms,box-shadow 140ms}
:where(.hx-inbox) .reservation-date{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:flex-start;width:62px;min-width:62px;height:84px;border-radius:8px;background:var(--color-gray-800);color:#fff}
:where(.hx-inbox) .reservation-date small{font-size:9px;letter-spacing:.14em;color:var(--color-gray-300);font-weight:550}
:where(.hx-inbox) .reservation-date strong{font-size:34px;line-height:1.1;font-weight:600;letter-spacing:-1px;margin:3px 0}
:where(.hx-inbox) .reservation-date>span{font-size:9px;color:var(--color-gray-300)}
:where(.hx-inbox) .reservation-summary{min-width:0;flex:1}
:where(.hx-inbox) .reservation-eyebrow{display:block;font-size:8px;letter-spacing:.09em;color:var(--color-gray-500);font-weight:600}
:where(.hx-inbox) .reservation-time{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:3px 0}
:where(.hx-inbox) .reservation-time>strong{font-size:26px;font-weight:600;line-height:1.25;letter-spacing:-.7px;color:var(--color-gray-800)}
:where(.hx-inbox) .reservation-time>span{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--color-gray-600);white-space:nowrap}
:where(.hx-inbox) .reservation-time svg{width:13px;height:13px}
:where(.hx-inbox) .reservation-location{display:block;font-size:11px;color:var(--color-gray-600);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .reservation-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px dashed var(--color-gray-200);margin-top:12px;padding-top:9px}
:where(.hx-inbox) .reservation-bottom>span{display:flex;align-items:center;gap:4px;font-size:10px;color:var(--color-gray-600)}
:where(.hx-inbox) .reservation-bottom small{display:flex;align-items:center;gap:3px;font-size:10px;color:var(--color-gray-700);white-space:nowrap}
:where(.hx-inbox) .reservation-bottom svg{height:12px;width:12px}
:where(.hx-inbox) .reservation-event:hover{border-color:var(--color-gray-400);box-shadow:0 5px 15px #1e293b10}
:where(.hx-inbox) .booking-hero{padding:20px 0;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .booking-hero .eyebrow{color:var(--color-gray-500)}
:where(.hx-inbox) .booking-hero>div{display:flex;align-items:center;gap:20px;margin:10px 0}
:where(.hx-inbox) .booking-hero strong{font-size:43px;letter-spacing:-1.6px;line-height:1.15;color:var(--color-gray-800);font-weight:600}
:where(.hx-inbox) .booking-hero>div>span{max-width:100px;font-size:13px;color:var(--color-gray-500)}
:where(.hx-inbox) .booking-hero>p{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--color-gray-600)}
:where(.hx-inbox) .booking-hero svg{width:14px;height:14px}
:where(.hx-inbox) .booking-guest{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:24px 0 8px}
:where(.hx-inbox) .booking-facts{display:flex;flex-direction:column;margin-top:20px;gap:22px}
:where(.hx-inbox) .booking-facts>div{display:flex;align-items:center;gap:13px}
:where(.hx-inbox) .booking-facts svg{width:17px;height:17px;color:var(--color-gray-500)}
:where(.hx-inbox) .booking-facts>div>span{font-size:10px;color:var(--color-gray-500)}
:where(.hx-inbox) .booking-facts strong{display:block;font-size:13px;font-weight:500;color:var(--color-gray-800);margin-top:3px}
:where(.hx-inbox) .booking-record{border-top:1px solid var(--color-gray-200);margin-top:30px;padding-top:15px;font-size:10px;color:var(--color-gray-500)}
:where(.hx-inbox) .call-detail-hero{display:flex;flex-direction:column;align-items:flex-start;padding:8px 0 24px;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .call-detail-hero>svg{width:24px;height:24px;color:var(--color-gray-600);margin-bottom:17px}
:where(.hx-inbox) .call-detail-hero>span{font-size:12px;color:var(--color-gray-600)}
:where(.hx-inbox) .call-detail-hero>strong{font-size:52px;font-weight:550;line-height:1.2;letter-spacing:-2px;color:var(--color-gray-800);margin-top:7px}
:where(.hx-inbox) .call-detail-hero small{font-size:10px;color:var(--color-gray-500);margin-top:4px}
@container inbox (max-width:780px){:where(.hx-inbox) .call-event{padding:12px 11px;gap:8px}
:where(.hx-inbox) .call-event-copy>strong{font-size:11px;gap:5px}
:where(.hx-inbox) .call-event-copy>small{gap:9px}
:where(.hx-inbox) .call-duration strong{font-size:19px}
:where(.hx-inbox) .call-event>svg{display:none}
:where(.hx-inbox) .reservation-event{gap:12px;padding:12px}
:where(.hx-inbox) .reservation-date{width:54px;min-width:54px;height:77px}
:where(.hx-inbox) .reservation-date strong{font-size:31px}
:where(.hx-inbox) .reservation-time>strong{font-size:24px}
:where(.hx-inbox) .reservation-time>span{font-size:10px}
:where(.hx-inbox) .reservation-bottom small{font-size:9px}
:where(.hx-inbox) .reservation-bottom{gap:5px}}
:where(.hx-inbox) .guest-profile-link{display:flex;align-items:center;justify-content:center;gap:5px;margin:12px auto 0;min-height:30px;font-size:11px;font-weight:550;color:#315ff4}
:where(.hx-inbox) .guest-profile-link svg{height:13px;width:13px}
:where(.hx-inbox) .guest-profile-link:hover{text-decoration:underline;text-underline-offset:3px}
:where(.hx-inbox) #workflow-dialog.profile-dialog .workflow-sheet{width:680px;max-width:100%}
:where(.hx-inbox) .full-profile-hero{display:flex;align-items:center;gap:18px;padding:4px 0 22px}
:where(.hx-inbox) .full-profile-hero .guest-avatar{width:60px;min-width:60px;height:60px;font-size:21px}
:where(.hx-inbox) .full-profile-hero h2{font-size:25px;letter-spacing:-.6px;font-weight:600;margin:5px 0}
:where(.hx-inbox) .full-profile-hero p{font-size:12px;color:var(--color-gray-600)}
:where(.hx-inbox) .full-profile-hero .eyebrow{font-size:9px;color:#8b93a3}
:where(.hx-inbox) .profile-stat-strip{display:grid;grid-template-columns:1fr 1.3fr 1fr;padding:18px 0;border-top:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1;margin-bottom:25px}
:where(.hx-inbox) .profile-stat-strip>div{padding:0 16px;border-right:1px solid #e7ebf1}
:where(.hx-inbox) .profile-stat-strip>div:first-child{padding-left:0}
:where(.hx-inbox) .profile-stat-strip>div:last-child{border:0}
:where(.hx-inbox) .profile-stat-strip strong{display:block;font-size:22px;font-weight:600;color:#243147;letter-spacing:-.6px;white-space:nowrap}
:where(.hx-inbox) .profile-stat-strip strong small{font-size:9px;font-weight:500;letter-spacing:0}
:where(.hx-inbox) .profile-stat-strip span{display:block;font-size:10px;color:#79869b;margin-top:3px}
:where(.hx-inbox) .full-profile-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:25px}
:where(.hx-inbox) .full-profile-grid h3{font-size:13px;font-weight:600;color:#243147}
:where(.hx-inbox) .full-profile-grid section{margin-bottom:24px}
:where(.hx-inbox) .profile-contact{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:16px;font-size:11px}
:where(.hx-inbox) .profile-contact>span{color:#7e8b9f}
:where(.hx-inbox) .profile-contact>strong{font-weight:500;font-size:13px;color:#31415c}
:where(.hx-inbox) .profile-copy[data-slot=button]{padding:3px 0!important;min-height:25px!important;font-size:10px;color:#315ff4}
:where(.hx-inbox) .profile-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:7px}
:where(.hx-inbox) .profile-section-heading>span{font-size:10px;color:#7e8b9f}
:where(.hx-inbox) .profile-section-heading .icon-button{width:28px;min-width:28px;height:28px;min-height:28px}
:where(.hx-inbox) .profile-section-heading svg{width:14px;height:14px}
:where(.hx-inbox) .profile-order{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;width:100%;border-bottom:1px solid #edf0f5;padding:13px 0}
:where(.hx-inbox) .profile-order>span{display:flex;flex-direction:column;gap:5px}
:where(.hx-inbox) .profile-order>span:nth-child(2){margin-left:auto;text-align:right}
:where(.hx-inbox) .profile-order strong,:where(.hx-inbox) .profile-order b{font-size:12px;font-weight:550}
:where(.hx-inbox) .profile-order small{font-size:10px;color:#78869b}
:where(.hx-inbox) .profile-order .is-preparing{color:var(--color-warning-dark)}
:where(.hx-inbox) .profile-order .is-delivered{color:var(--color-success-dark)}
:where(.hx-inbox) .profile-order>svg{width:12px;height:12px;color:#8fa0b7}
:where(.hx-inbox) .profile-order:hover{background:#fafbfe}
@media (max-width:600px){:where(.hx-inbox) .full-profile-grid{grid-template-columns:1fr;gap:0}
:where(.hx-inbox) .full-profile-hero h2{font-size:23px}
:where(.hx-inbox) .profile-stat-strip>div{padding:0 8px}
:where(.hx-inbox) .profile-stat-strip strong{font-size:20px}}
:where(.hx-inbox) #workflow-dialog.phone-dialog.profile-dialog .workflow-sheet{width:375px}
:where(.hx-inbox) .phone-dialog.profile-dialog .full-profile-grid{grid-template-columns:1fr;gap:0}
:where(.hx-inbox) .order-sheet .panel-title[data-slot=sheet-header]{height:78px;min-height:78px;padding:14px 22px 8px;border:0;align-items:center}
:where(.hx-inbox) .order-sheet .panel-title h2{font-size:20px;font-weight:650;letter-spacing:-.6px;color:var(--color-gray-800);line-height:1.3}
:where(.hx-inbox) .order-header-meta{font-size:10px;color:var(--color-gray-500);margin-top:4px}
:where(.hx-inbox) .order-sheet .workflow-context{padding:2px 22px 12px;font-size:11px;color:var(--color-gray-500);border-color:var(--color-gray-200)}
:where(.hx-inbox) .pinned-order-status{font-size:11px;font-weight:550;color:var(--color-warning-dark)}
:where(.hx-inbox) .pinned-order-status i{height:5px;width:5px;background:var(--color-warning)}
:where(.hx-inbox) .order-sheet .workflow-body{padding:18px 22px 22px;color:var(--color-gray-800);scrollbar-width:thin}
:where(.hx-inbox) .order-recipient{padding:0 0 17px;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .order-recipient-label{font-size:9px;letter-spacing:.08em;color:var(--color-gray-500);font-weight:500}
:where(.hx-inbox) .order-recipient>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:6px}
:where(.hx-inbox) .order-recipient strong{font-size:14px;font-weight:600;color:var(--color-gray-800)}
:where(.hx-inbox) .order-recipient>div>span{font-size:10px;color:var(--color-gray-500);white-space:nowrap}
:where(.hx-inbox) .order-recipient p{font-size:12px;margin-top:4px;color:var(--color-gray-600)}
:where(.hx-inbox) .order-team-note{display:block;padding:0 0 0 11px;border-left:2px solid var(--color-gray-500);margin:16px 0 20px}
:where(.hx-inbox) .order-team-note>span{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--color-gray-600);font-weight:550}
:where(.hx-inbox) .order-team-note svg{width:12px;height:12px}
:where(.hx-inbox) .order-team-note p{font-size:12px;line-height:1.55;color:var(--color-gray-600);margin-top:4px}
:where(.hx-inbox) .order-contents{margin-top:20px}
:where(.hx-inbox) .order-contents-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
:where(.hx-inbox) .order-contents-heading h3{font-size:14px;font-weight:600;color:var(--color-gray-800)}
:where(.hx-inbox) .order-contents-heading>span{font-size:10px;color:var(--color-gray-500)}
:where(.hx-inbox) .order-lines-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
:where(.hx-inbox) .order-lines-table .quantity-column{width:30px}
:where(.hx-inbox) .order-lines-table .amount-column{width:52px}
:where(.hx-inbox) .order-lines-table th{font-size:9px;font-weight:500;color:var(--color-gray-500);border-bottom:1px solid var(--color-gray-200);padding:0 0 8px}
:where(.hx-inbox) .order-lines-table th:last-child{text-align:right}
:where(.hx-inbox) .order-line td{padding:12px 0;border-bottom:1px solid var(--color-gray-200);vertical-align:top;font-size:12px;line-height:1.5;color:var(--color-gray-800)}
:where(.hx-inbox) .order-line td:first-child{color:var(--color-gray-500)}
:where(.hx-inbox) .order-line td:nth-child(2){padding-right:10px}
:where(.hx-inbox) .order-line td:last-child{text-align:right;font-size:12px;font-weight:500}
:where(.hx-inbox) .order-line strong{display:block;font-size:12px;line-height:1.5;font-weight:550;overflow-wrap:anywhere;color:var(--color-gray-800)}
:where(.hx-inbox) .order-line td>span{display:block;font-size:10px;line-height:1.5;color:var(--color-gray-500);margin-top:3px}
:where(.hx-inbox) .order-line:last-child td{border-bottom:0}
:where(.hx-inbox) .order-breakdown{padding:17px 0 0;border-top:1px solid var(--color-gray-200);margin-top:10px;font-size:11px;color:var(--color-gray-500)}
:where(.hx-inbox) .order-breakdown>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px}
:where(.hx-inbox) .order-breakdown>div:last-child{margin-bottom:0}
:where(.hx-inbox) .order-breakdown>div>span:first-child{min-width:0}
:where(.hx-inbox) .order-breakdown>div>span:last-child{flex-shrink:0;white-space:nowrap}
:where(.hx-inbox) .order-discount-details{display:block;margin-top:4px;color:var(--color-gray-700);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
:where(.hx-inbox) .order-discount-details>span{display:block}
:where(.hx-inbox) .order-sheet .workflow-footer{padding:15px 22px;border-color:var(--color-gray-200);box-shadow:0 -3px 12px #1e293b05}
:where(.hx-inbox) .order-final-total{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}
:where(.hx-inbox) .order-final-total>span>b{display:block;font-size:13px;font-weight:600;color:var(--color-gray-800)}
:where(.hx-inbox) .order-final-total>span>small{display:block;font-size:9px;color:var(--color-gray-500);margin-top:3px}
:where(.hx-inbox) .order-final-total>strong{font-size:25px;line-height:1.2;letter-spacing:-.7px;font-weight:650;color:var(--color-gray-800);white-space:nowrap}
:where(.hx-inbox) .order-final-total>strong>small{font-size:10px;letter-spacing:0;font-weight:500;margin-right:3px}
@media (max-width:600px){:where(.hx-inbox) .order-sheet .panel-title[data-slot=sheet-header]{padding:12px 18px 8px;height:73px;min-height:73px}
:where(.hx-inbox) .order-sheet .workflow-context{padding:1px 18px 11px}
:where(.hx-inbox) .order-sheet .workflow-body{padding:16px 18px 20px}
:where(.hx-inbox) .order-sheet .workflow-footer{padding:14px 18px}
:where(.hx-inbox) .order-recipient>div{flex-wrap:wrap;gap:3px 9px}
:where(.hx-inbox) .order-recipient strong{font-size:14px}
:where(.hx-inbox) .order-line strong{font-size:13px}
:where(.hx-inbox) .order-team-note p{font-size:12px}
:where(.hx-inbox) .order-lines-table .quantity-column{width:28px}}
/* Reserve readable caption/media width before the image's intrinsic size arrives. */
.hx-inbox .message-stack.photo-stack{width:320px}
:where(.hx-inbox) .message-bubble.photo-bubble,:where(.hx-inbox) .out .message-bubble.photo-bubble{
  width:100%; max-width:100%; padding:4px; border:1px solid #e3e5e9;
  background:#fff; border-radius:15px; box-shadow:0 2px 7px #18202708;
}
:where(.hx-inbox) .photo-preview{
  display:block; position:relative; width:100%; max-width:100%; overflow:hidden;
  border-radius:11px; padding:0; background:var(--color-gray-100); cursor:zoom-in;
}
:where(.hx-inbox) .photo-preview img{display:block;width:100%;height:auto;max-height:280px;object-fit:contain}
:where(.hx-inbox) .photo-open-hint{
  position:absolute;right:8px;top:8px;width:26px;height:26px;display:grid;place-items:center;
  color:white;background:#0f172a80;border:1px solid #ffffff3d;border-radius:7px;
  opacity:0;transition:opacity 140ms;
}
:where(.hx-inbox) .photo-open-hint svg{width:15px;height:15px}
:where(.hx-inbox) .photo-preview:hover .photo-open-hint,:where(.hx-inbox) .photo-preview:focus-visible .photo-open-hint{opacity:1}
:where(.hx-inbox) .photo-bubble .message-text,:where(.hx-inbox) .out .photo-bubble .message-text{
  color:var(--color-gray-800);font-size:13px;line-height:1.55;padding:9px 8px 1px;
}
:where(.hx-inbox) .photo-bubble .message-meta,:where(.hx-inbox) .out .photo-bubble .message-meta{
  color:var(--color-gray-500);padding:2px 8px 3px;margin-top:2px;
}
:where(.hx-inbox) .out .photo-bubble .message-meta svg{color:var(--color-gray-500)}
:where(.hx-inbox) .out .photo-bubble .read-status{stroke:#315ff4!important}
:where(.hx-inbox) .photo-bubble.failed{border-color:#cb6060!important}
:where(.hx-inbox) .pending-attachment.pending-photo{padding:6px;gap:11px;border-radius:10px;background:#fff;color:var(--color-gray-800)}
:where(.hx-inbox) .pending-photo>img{display:block;width:64px;height:64px;object-fit:cover;border-radius:6px;flex:none}
:where(.hx-inbox) .pending-photo>span{font-size:12px;font-weight:500}
:where(.hx-inbox) .pending-photo small{display:block;color:#7b817c;font-size:11px;font-weight:400;margin-top:5px}
:where(.hx-inbox) .pending-photo .icon-button{align-self:flex-start;margin:2px}
:where(.hx-inbox) #photo-dialog{
  position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;height:100dvh;
  max-width:none;max-height:none;background:transparent;color:var(--color-gray-50);overflow:hidden;
}
:where(.hx-inbox) #photo-dialog::backdrop{background:#0f172ac9;backdrop-filter:blur(5px)}
:where(.hx-inbox) .photo-viewer{
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  width:100%;height:100%;background:var(--color-gray-900);animation:hx-inbox-photo-in 160ms ease-out;
}
:where(.hx-inbox) .photo-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:14px 26px;gap:20px}
:where(.hx-inbox) .photo-author{display:flex;align-items:center;gap:10px;min-width:0}
:where(.hx-inbox) .photo-author>div{min-width:0}
:where(.hx-inbox) .photo-author h2{font-size:13px;line-height:20px;font-weight:550;color:var(--color-gray-50);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .photo-author p{font-size:11px;line-height:18px;color:var(--color-gray-400)}
:where(.hx-inbox) .photo-author .account-icon,:where(.hx-inbox) .photo-guest-avatar{width:32px;height:32px;min-width:32px;background:var(--color-gray-800);color:var(--color-gray-50);border:1px solid #ffffff1a}
:where(.hx-inbox) .photo-author .account-icon{font-size:23px;border-radius:8px}
:where(.hx-inbox) .photo-author .horex-account{font-size:16px}
:where(.hx-inbox) .photo-guest-avatar{display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:500}
:where(.hx-inbox) .photo-viewer .icon-button[data-slot=button]{display:grid;place-items:center;background:transparent;color:var(--color-gray-200);border:1px solid #ffffff29;border-radius:50%;width:36px;min-width:36px;height:36px;min-height:36px;box-shadow:none;padding:0}
:where(.hx-inbox) .photo-viewer .icon-button:hover{background:#ffffff17}
:where(.hx-inbox) .photo-viewer .icon-button:disabled{opacity:.3;cursor:default}
:where(.hx-inbox) .photo-viewer .icon-button svg{width:17px;height:17px}
:where(.hx-inbox) .photo-viewer .icon-button:focus-visible{outline:2px solid var(--color-gray-100);outline-offset:4px}
:where(.hx-inbox) .photo-viewer-canvas{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;padding:4px 28px 16px}
:where(.hx-inbox) .photo-viewer-canvas img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}
:where(.hx-inbox) .photo-viewer-footer{width:min(100%,720px);justify-self:center;padding:0 26px 20px}
:where(.hx-inbox) .photo-caption{font-size:13px;line-height:1.6;color:var(--color-gray-100);white-space:pre-wrap;max-height:100px;overflow:auto;overflow-wrap:anywhere;margin:0 0 10px}
:where(.hx-inbox) .photo-gallery-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--color-gray-400);font-size:11px;min-height:36px}
:where(.hx-inbox) .photo-gallery-nav>div{display:flex;gap:8px}
:where(.hx-inbox) .photo-previous svg{transform:rotate(180deg)}
@keyframes hx-inbox-photo-in{from{opacity:0;transform:scale(.99)}to{opacity:1;transform:scale(1)}}
@media (min-width:601px){:where(.hx-inbox) #photo-dialog.phone-viewer .photo-viewer{position:absolute;left:50%;top:60px;transform:translateX(-50%);width:375px;max-width:100%;height:calc(100dvh - 78px);max-height:812px;border-radius:22px;overflow:hidden;animation:none}
:where(.hx-inbox) .phone-viewer .photo-viewer-header{padding:16px}
:where(.hx-inbox) .phone-viewer .photo-viewer-canvas{padding:0 12px 12px}
:where(.hx-inbox) .phone-viewer .photo-viewer-footer{padding:4px 18px 18px}}
@media (max-width:600px){:where(.hx-inbox) .photo-viewer-header{padding:12px 16px}
:where(.hx-inbox) .photo-viewer-canvas{padding:0 10px 12px}
:where(.hx-inbox) .photo-viewer-footer{padding:4px 18px max(16px,env(safe-area-inset-bottom))}
:where(.hx-inbox) .photo-viewer .icon-button[data-slot=button]{width:40px;min-width:40px;height:40px;min-height:40px}
:where(.hx-inbox) .photo-bubble .message-text,:where(.hx-inbox) .out .photo-bubble .message-text{font-size:14px}}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) .photo-viewer{animation:none}
:where(.hx-inbox) .photo-open-hint{transition:none}}
.hx-inbox,.hx-inbox{
  height:100svh;height:100dvh;min-height:0;
  overflow:hidden;overscroll-behavior:none;
}
:where(.hx-inbox) .preview-stage{overflow:hidden}
:where(.hx-inbox) .app-frame,:where(.hx-inbox) .app-shell,:where(.hx-inbox) .erp-body,:where(.hx-inbox) .chat-panel{min-height:0;max-height:100%;overflow:hidden}
:where(.hx-inbox) #workflow-dialog,:where(.hx-inbox) #photo-dialog{position:fixed;top:0;bottom:auto;height:100svh;height:100dvh}
@media (max-width:600px){:where(.hx-inbox) .demo-page:has(.inbox-workspace.show-chat) .preview-toolbar{display:none}}
:where(.hx-inbox) .composer-row .composer-measure[data-slot=textarea]{
  position:fixed!important;left:-10000px!important;top:0!important;
  height:0!important;min-height:0!important;max-height:none!important;
  visibility:hidden!important;pointer-events:none;overflow:hidden!important;
}
@media (pointer:coarse){:where(.hx-inbox) .composer-row .message-input[data-slot=textarea]{font-size:16px}}
@container inbox (max-width:780px){:where(.hx-inbox) .inbox-workspace.swipe-preview .conversation-list{
    display:flex;position:absolute;inset:0;width:100%;min-width:0;
    transform:translateX(var(--list-swipe-x,0px));pointer-events:none;
  }
:where(.hx-inbox) .inbox-workspace.swipe-preview .chat-panel{
    display:flex;flex:0 0 100%;width:100%;z-index:2;
    transform:translateX(var(--chat-swipe-x,0px));
    box-shadow:-8px 0 28px #151c271a;will-change:transform;
  }
:where(.hx-inbox) .inbox-workspace.swipe-settling .chat-panel,:where(.hx-inbox) .inbox-workspace.swipe-settling .conversation-list{
    transition:transform 190ms cubic-bezier(.2,.7,.2,1);pointer-events:none;
  }}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) .inbox-workspace.swipe-preview .conversation-list{transform:none}
:where(.hx-inbox) .inbox-workspace.swipe-preview .chat-panel{transform:none;box-shadow:none}
:where(.hx-inbox) .inbox-workspace.swipe-settling .chat-panel,:where(.hx-inbox) .inbox-workspace.swipe-settling .conversation-list{transition:none}}
:where(.hx-inbox) .operator-typing{display:flex;align-items:center;gap:7px;min-width:0;line-height:17px;padding:0 3px 5px;color:var(--color-gray-600);font-size:11px}
:where(.hx-inbox) .typing-copy{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .typing-copy strong{font-weight:550;color:var(--color-gray-700)}
:where(.hx-inbox) .typing-dots{display:inline-flex;align-items:center;gap:2px;flex:none;width:13px;height:13px}
:where(.hx-inbox) .typing-dots i{width:3px;height:3px;border-radius:50%;background:var(--color-gray-500);animation:hx-inbox-operator-typing-pulse 1.2s ease-in-out infinite}
:where(.hx-inbox) .typing-dots i:nth-child(2){animation-delay:150ms}
:where(.hx-inbox) .typing-dots i:nth-child(3){animation-delay:300ms}
@keyframes hx-inbox-operator-typing-pulse{0%,70%,100%{opacity:.3}35%{opacity:1}}
@container inbox (max-width:780px){:where(.hx-inbox) .operator-typing{font-size:11px;padding-bottom:4px}}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) .typing-dots i{animation:none;opacity:.7}}
:where(.hx-inbox) .conversation-notes{position:relative;flex:none;min-width:0;background:var(--color-gray-50);border-bottom:1px solid var(--color-gray-200);color:var(--color-gray-700)}
:where(.hx-inbox) .conversation-notes summary{display:flex;align-items:flex-start;gap:9px;padding:9px 58px 9px 24px;cursor:pointer;list-style:none}
:where(.hx-inbox) .conversation-notes summary::-webkit-details-marker{display:none}
:where(.hx-inbox) .conversation-notes summary:focus-visible{outline:2px solid var(--color-gray-600);outline-offset:-3px;border-radius:3px}
:where(.hx-inbox) .conversation-notes summary:hover{background:var(--color-gray-100)}
:where(.hx-inbox) .conversation-note-icon{width:15px;height:15px;flex:none;color:var(--color-gray-600);margin-top:2px}
:where(.hx-inbox) .conversation-notes-copy{flex:1;min-width:0}
:where(.hx-inbox) .conversation-notes-heading{display:flex;align-items:center;gap:6px;min-height:17px;font-size:10px;line-height:17px;color:var(--color-gray-600)}
:where(.hx-inbox) .conversation-notes-heading strong{font-weight:600}
:where(.hx-inbox) .conversation-notes-count{font-variant-numeric:tabular-nums;font-weight:600}
:where(.hx-inbox) .conversation-notes-private{margin-left:4px;color:var(--color-gray-500);font-size:9px}
:where(.hx-inbox) .conversation-notes-preview{display:grid;gap:3px;margin-top:1px;font-size:12px;line-height:18px}
:where(.hx-inbox) .conversation-notes-preview>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}
:where(.hx-inbox) .conversation-notes-preview.multiple>span{-webkit-line-clamp:1}
:where(.hx-inbox) .conversation-notes-disclosure{display:flex;align-items:center;gap:3px;flex:none;align-self:center;color:var(--color-gray-600);font-size:10px;line-height:18px}
:where(.hx-inbox) .conversation-notes-disclosure svg{height:13px;width:13px;transition:transform 140ms ease}
:where(.hx-inbox) .conversation-notes .notes-hide,:where(.hx-inbox) .conversation-notes details[open] .notes-show,:where(.hx-inbox) .conversation-notes details[open] .conversation-notes-preview{display:none}
:where(.hx-inbox) .conversation-notes details[open] .notes-hide{display:inline}
:where(.hx-inbox) .conversation-notes details[open] .conversation-notes-disclosure svg{transform:rotate(180deg)}
:where(.hx-inbox) .conversation-notes-full{max-height:min(200px,25dvh);overflow:auto;overscroll-behavior:contain;padding:0 24px 10px 48px;scrollbar-width:thin;scrollbar-color:var(--color-gray-300) transparent}
:where(.hx-inbox) .conversation-notes-full:focus-visible{outline:2px solid var(--color-gray-600);outline-offset:-3px}
:where(.hx-inbox) .conversation-notes-full article{padding:9px 0;border-top:1px solid var(--color-gray-200)}
:where(.hx-inbox) .conversation-notes-full article:first-child{padding-top:0;border:0}
:where(.hx-inbox) .conversation-notes-full p{font-size:12px;line-height:19px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--color-gray-700);margin:0}
:where(.hx-inbox) .conversation-notes-full small{display:block;font-size:10px;line-height:15px;color:var(--color-gray-500);margin-top:4px}
:where(.hx-inbox) .conversation-note-add{display:inline-flex;align-items:center;gap:5px;padding:6px 0;background:transparent;border:0;color:var(--color-gray-600);font:inherit;font-size:11px;cursor:pointer}
:where(.hx-inbox) .conversation-note-add svg{width:13px;height:13px}
:where(.hx-inbox) .conversation-note-add:hover{color:var(--color-gray-800)}
:where(.hx-inbox) .conversation-notes-hide{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:5px;background:none;color:var(--color-gray-500);cursor:pointer}
:where(.hx-inbox) .conversation-notes:has(details[open]) .conversation-notes-hide{top:2px;transform:none}
:where(.hx-inbox) .conversation-notes-hide svg{width:13px;height:13px}
:where(.hx-inbox) .conversation-notes-hide:hover{background:var(--color-gray-200);color:var(--color-gray-700)}
:where(.hx-inbox) .chat-actions .header-note-action{position:relative}
:where(.hx-inbox) .chat-actions .header-note-action[data-action=notes-show]{color:var(--color-gray-600);background:var(--color-gray-50)}
:where(.hx-inbox) .header-note-count{position:absolute;top:0;right:0;display:grid;place-items:center;min-width:13px;height:13px;padding:0 2px;border-radius:4px;background:var(--color-gray-600);color:white;font-size:9px;line-height:13px;font-weight:600}
@container inbox (max-width:780px){:where(.hx-inbox) .conversation-notes summary{padding:8px 49px 8px 15px;gap:8px;min-height:44px}
:where(.hx-inbox) .conversation-notes-preview{font-size:12px;line-height:17px}
:where(.hx-inbox) .conversation-notes-full{padding:0 15px 8px 38px}
:where(.hx-inbox) .conversation-notes-full p{font-size:12px;line-height:18px}
:where(.hx-inbox) .conversation-note-add{min-height:36px}
:where(.hx-inbox) .conversation-notes-hide{right:5px;width:36px;height:36px}
:where(.hx-inbox) .conversation-notes:has(details[open]) .conversation-notes-hide{top:4px}}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) .conversation-notes-disclosure svg{transition:none}}
:where(.hx-inbox) [hidden]{display:none!important}
:where(.hx-inbox) .account-identity{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--color-gray-600)}
:where(.hx-inbox) .account-identity strong{color:var(--color-gray-800);font-weight:550}
:where(.hx-inbox) .text-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 10px;color:var(--color-gray-700);font-size:13px;font-weight:550;border-radius:7px}
:where(.hx-inbox) .text-button:hover{background:var(--color-gray-100)}
:where(.hx-inbox) .composer-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:1.5;padding:8px 2px;color:var(--color-gray-600)}
:where(.hx-inbox) .composer-notice>.text-button{flex-shrink:0}
:where(.hx-inbox) .check-host{margin:0 0 10px}
:where(.hx-inbox) .draft-check{border:1px solid var(--color-gray-200);border-radius:12px;padding:13px 15px;background:#fff;box-shadow:0 2px 12px #0f172a06}
:where(.hx-inbox) .draft-check header{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--color-gray-800)}
:where(.hx-inbox) .draft-check header>svg{width:17px;height:17px;color:var(--color-gray-600)}
:where(.hx-inbox) .draft-check header .icon-button{margin-left:auto;width:30px;height:30px;min-width:30px;min-height:30px}
:where(.hx-inbox) .check-reason{font-size:12px;color:var(--color-gray-500);margin:4px 0 12px;line-height:1.5}
:where(.hx-inbox) .check-comparison{display:grid;grid-template-columns:90px 1fr;gap:8px 12px;font-size:13px;max-height:130px;overflow:auto}
:where(.hx-inbox) .check-comparison>span{color:var(--color-gray-500)}
:where(.hx-inbox) .check-comparison p{color:var(--color-gray-700);white-space:pre-wrap;overflow-wrap:anywhere}
:where(.hx-inbox) .check-comparison .improved{color:var(--color-gray-800)}
:where(.hx-inbox) .check-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
:where(.hx-inbox) .check-actions button{font-size:12px;min-height:36px;padding:7px 12px}
:where(.hx-inbox) .checking{display:flex;align-items:center;gap:9px;font-size:13px}
:where(.hx-inbox) .checking>svg{width:15px;height:15px}
:where(.hx-inbox) .checking button{margin-left:auto}
:where(.hx-inbox) .connection.is-offline{color:var(--color-warning-dark)}
:where(.hx-inbox) .connection.is-offline>span{background:var(--color-warning)}
:where(.hx-inbox) .inbox-workspace{position:relative}
:where(.hx-inbox) .shift-gate{position:absolute;inset:0;z-index:12;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
:where(.hx-inbox) .shift-gate-symbol{color:var(--color-gray-600);padding:15px;border:1px solid var(--color-gray-200);border-radius:16px;margin-bottom:22px}
:where(.hx-inbox) .shift-gate-symbol svg{width:26px;height:26px}
:where(.hx-inbox) .shift-gate h2{font-size:25px;font-weight:600;color:var(--color-gray-800);letter-spacing:-.7px}
:where(.hx-inbox) .shift-gate>p{max-width:320px;text-align:center;font-size:14px;line-height:1.6;color:var(--color-gray-500);margin:12px 0 22px}
:where(.hx-inbox) .shift-gate .primary{margin-top:26px;padding:10px 24px;min-height:44px}
:where(.hx-inbox) .off-shift>.conversation-list,:where(.hx-inbox) .off-shift>.chat-panel,:where(.hx-inbox) .off-shift>.guest-panel{visibility:hidden}
:where(.hx-inbox) .active-team{display:flex;align-items:center;gap:12px;padding:12px 0;font-size:14px}
:where(.hx-inbox) .active-team>span:last-child{display:grid;gap:3px}
:where(.hx-inbox) .active-team small{font-size:12px;color:var(--color-gray-500)}
:where(.hx-inbox) .mini-avatar{width:36px;height:36px;display:grid;place-items:center;background:var(--color-gray-100);border:1px solid var(--color-gray-200);border-radius:50%;font-size:13px;color:var(--color-gray-600)}
:where(.hx-inbox) .shift-summary h3{font-size:23px;color:var(--color-gray-800)}
:where(.hx-inbox) .shift-summary p{font-size:14px;color:var(--color-gray-500);margin:8px 0 30px}
:where(.hx-inbox) .small-heading{font-size:13px;font-weight:550;color:var(--color-gray-500);margin-bottom:10px}
:where(.hx-inbox) .history-load,:where(.hx-inbox) .list-load{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px;font-size:12px;color:var(--color-gray-600);margin:8px 0}
:where(.hx-inbox) .history-load svg{width:13px;height:13px}
:where(.hx-inbox) .history-load:hover,:where(.hx-inbox) .list-load:hover{background:var(--color-gray-100);border-radius:8px}
:where(.hx-inbox) .search-highlight .message-bubble{outline:2px solid var(--color-gray-400);outline-offset:4px}
:where(.hx-inbox) .search-highlight{scroll-margin:25px}
:where(.hx-inbox) .scenario-intro{font-size:14px;color:var(--color-gray-500);line-height:1.6;margin:0 0 16px}
:where(.hx-inbox) .scenario-list>button{display:flex;width:100%;align-items:center;text-align:left;padding:13px 0;gap:16px;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .scenario-list>button>span{flex:1;min-width:0}
:where(.hx-inbox) .scenario-list strong{display:block;font-size:14px;color:var(--color-gray-800);font-weight:550}
:where(.hx-inbox) .scenario-list small{display:block;font-size:12px;line-height:1.5;color:var(--color-gray-500);margin-top:4px}
:where(.hx-inbox) .scenario-list svg{width:14px;height:14px;color:var(--color-gray-500)}
:where(.hx-inbox) .scenario-list>button:hover strong{color:var(--color-gray-700)}
:where(.hx-inbox) .template-variables .field-label{margin:14px 0 0;font-size:13px}
:where(.hx-inbox) .template-variables .field-label>span{font-size:11px;color:var(--color-gray-500);margin-left:5px}
:where(.hx-inbox) .template-variables input{display:block;margin-top:7px}
:where(.hx-inbox) .template-provider-button{display:block;text-align:center;border-top:1px solid var(--color-gray-200);padding:11px 0 3px;margin-top:16px;font-size:13px;color:var(--color-gray-600)}
:where(.hx-inbox) .template-preview>strong{font-size:16px;display:block;margin-bottom:10px}
:where(.hx-inbox) .template-preview>small{display:block;margin-top:16px;color:var(--color-gray-500);font-size:12px}
:where(.hx-inbox) .template-support-note{font-size:13px;color:var(--color-gray-600);line-height:1.5;margin-top:14px}
:where(.hx-inbox) .template-error,:where(.hx-inbox) .settings-error,:where(.hx-inbox) .link-error{font-size:13px;color:#a45143;margin-top:10px}
:where(.hx-inbox) .prompt-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--color-gray-500);margin-top:10px}
:where(.hx-inbox) .settings-input[readonly]{background:var(--color-gray-50);color:var(--color-gray-600)}
:where(.hx-inbox) .quiet-state{padding:34px 6px;text-align:center}
:where(.hx-inbox) .quiet-state>svg{width:27px;height:27px;color:var(--color-gray-500);margin:0 auto 16px}
:where(.hx-inbox) .quiet-state>.guest-avatar{margin:0 auto 18px}
:where(.hx-inbox) .quiet-state h3{font-size:19px;font-weight:550;color:var(--color-gray-800);margin-bottom:10px}
:where(.hx-inbox) .quiet-state p{font-size:14px;line-height:1.6;color:var(--color-gray-500);max-width:320px;margin:0 auto 22px}
:where(.hx-inbox) .feedback-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-left:3px solid var(--color-gray-500);padding:12px 15px;margin:0 0 22px;border-radius:4px 10px 10px 4px}
:where(.hx-inbox) .feedback-banner>div{min-width:0}
:where(.hx-inbox) .feedback-banner strong{font-size:12px;display:block;color:var(--color-gray-600)}
:where(.hx-inbox) .feedback-banner span{display:block;font-size:12px;color:var(--color-gray-500);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.hx-inbox) .feedback-banner button{font-size:12px;flex-shrink:0}
:where(.hx-inbox) .feedback-context{border-left:2px solid var(--color-gray-500);padding-left:16px;margin-bottom:25px}
:where(.hx-inbox) .feedback-context>span{font-size:11px;letter-spacing:.04em;color:var(--color-gray-500)}
:where(.hx-inbox) .feedback-context>strong{display:block;font-size:24px;color:var(--color-gray-600);margin:8px 0}
:where(.hx-inbox) .feedback-context p{font-size:15px;line-height:1.6;color:var(--color-gray-800)}
:where(.hx-inbox) .feedback-context small{display:block;font-size:12px;color:var(--color-gray-500);margin-top:8px}
:where(.hx-inbox) .guest-important{display:flex;align-items:center;gap:10px;margin:12px 0 20px;background:var(--color-gray-50);border:1px solid var(--color-gray-200);border-radius:9px;padding:12px;color:#955133;font-size:13px}
:where(.hx-inbox) .guest-important svg{width:18px;height:18px;flex-shrink:0}
:where(.hx-inbox) .guest-important strong{display:block;font-size:11px;margin-bottom:3px}
:where(.hx-inbox) .guest-panel .guest-stats{font-variant-numeric:tabular-nums}
:where(.hx-inbox) .order-payment{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--color-gray-200);border-bottom:1px solid var(--color-gray-200);padding:12px 0;margin:18px 0;color:var(--color-gray-600);font-size:12px}
:where(.hx-inbox) .order-payment strong{font-weight:550}
:where(.hx-inbox) .order-payment.partial,:where(.hx-inbox) .order-payment.unpaid{color:var(--color-warning-dark)}
:where(.hx-inbox) .order-payment.refunded{color:var(--color-gray-500)}
:where(.hx-inbox) .ticket-delivery>span:last-child{text-align:right}
:where(.hx-inbox) .message-type{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--color-gray-500);margin-bottom:5px}
:where(.hx-inbox) .message-type svg{width:13px;height:13px}
:where(.hx-inbox) .message-video{display:block;max-width:100%;width:280px;max-height:230px;border-radius:10px;background:var(--color-gray-900)}
:where(.hx-inbox) .document-message{text-decoration:none;color:inherit}
:where(.hx-inbox) .suggestion-loading{font-size:14px;padding:22px 2px;color:var(--color-gray-600)}
:where(.hx-inbox) .suggestion-loading>svg{width:17px;height:17px;vertical-align:-3px;margin-right:8px}
:where(.hx-inbox) .skeleton-line{height:13px;background:var(--color-gray-100);border-radius:5px;margin:28px 0 0;animation:hx-inbox-soft-pulse 1.2s ease-in-out infinite alternate}
:where(.hx-inbox) .skeleton-line.short{width:72%;margin-top:14px}
@keyframes hx-inbox-soft-pulse{to{opacity:.45}}
:where(.hx-inbox) .assessment-workspace{height:100%;min-height:0;overflow:auto;background:#fff;padding:24px 28px;flex:1}
:where(.hx-inbox) .assessment-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:27px}
:where(.hx-inbox) .assessment-heading .text-button{padding-left:0}
:where(.hx-inbox) .assessment-heading h1{font-size:25px;font-weight:600;color:var(--color-gray-800);letter-spacing:-.7px;margin:7px 0}
:where(.hx-inbox) .assessment-heading p{font-size:14px;color:var(--color-gray-500)}
:where(.hx-inbox) .assessment-period{font-size:12px;color:var(--color-gray-500)}
:where(.hx-inbox) .assessment-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--color-gray-200);border-bottom:1px solid var(--color-gray-200);padding:20px 0;margin-bottom:25px;gap:20px}
:where(.hx-inbox) .assessment-stats>div{border-left:1px solid var(--color-gray-200);padding-left:20px}
:where(.hx-inbox) .assessment-stats>div:first-child{border:0;padding-left:0}
:where(.hx-inbox) .assessment-stats span{font-size:12px;color:var(--color-gray-500);display:block}
:where(.hx-inbox) .assessment-stats strong{font-size:30px;font-weight:550;color:var(--color-gray-800);display:block;margin-top:11px;letter-spacing:-1px}
:where(.hx-inbox) .assessment-stats strong small{font-size:13px;color:var(--color-gray-400);font-weight:400;letter-spacing:0}
:where(.hx-inbox) .assessment-stats .needs-attention strong{color:var(--color-warning-dark)}
:where(.hx-inbox) .assessment-filters{display:flex;align-items:center;justify-content:space-between;gap:15px}
:where(.hx-inbox) .assessment-tabs{display:flex;gap:8px}
:where(.hx-inbox) .assessment-tabs .selected{background:var(--color-gray-100);color:var(--color-gray-700)}
:where(.hx-inbox) .assessment-filters .search-field{max-width:260px}
:where(.hx-inbox) .assessment-table-head,:where(.hx-inbox) .assessment-row{display:grid;grid-template-columns:minmax(220px,1fr) 130px 60px 90px;gap:15px;align-items:center;width:100%;text-align:left}
:where(.hx-inbox) .assessment-table-head{font-size:11px;color:var(--color-gray-500);padding:23px 10px 12px;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .assessment-row{padding:17px 10px;border-bottom:1px solid var(--color-gray-200)}
:where(.hx-inbox) .assessment-row:hover{background:var(--color-gray-50)}
:where(.hx-inbox) .assessment-guest{display:flex;align-items:center;gap:12px;min-width:0}
:where(.hx-inbox) .assessment-guest>span:last-child{min-width:0}
:where(.hx-inbox) .assessment-guest strong{font-size:14px;color:var(--color-gray-800);display:block;font-weight:550}
:where(.hx-inbox) .assessment-guest small{font-size:12px;color:var(--color-gray-500);display:block;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:where(.hx-inbox) .assessment-guest .guest-avatar{flex-shrink:0}
:where(.hx-inbox) .assessment-category{font-size:12px;color:var(--color-gray-500)}
:where(.hx-inbox) .assessment-score{font-size:19px;color:var(--color-gray-600);font-variant-numeric:tabular-nums}
:where(.hx-inbox) .assessment-score small{font-size:11px;color:var(--color-gray-400);margin-left:2px}
:where(.hx-inbox) .assessment-score.low{color:var(--color-danger-dark)}
:where(.hx-inbox) .sentiment{text-transform:capitalize;font-size:11px;color:var(--color-gray-500)}
:where(.hx-inbox) .sentiment.positive{color:var(--color-success-dark)}
:where(.hx-inbox) .sentiment.negative{color:var(--color-danger-dark)}
:where(.hx-inbox) .analysis-identity{display:flex;gap:12px;align-items:center}
:where(.hx-inbox) .analysis-identity>div{flex:1}
:where(.hx-inbox) .analysis-identity h3{font-size:18px;color:var(--color-gray-800)}
:where(.hx-inbox) .analysis-identity p{font-size:12px;color:var(--color-gray-500);margin-top:5px}
:where(.hx-inbox) .analysis-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0;font-size:12px;color:var(--color-gray-500)}
:where(.hx-inbox) .analysis-tags>span{border:1px solid var(--color-gray-200);border-radius:6px;padding:5px 8px}
:where(.hx-inbox) .analysis-section{margin:26px 0}
:where(.hx-inbox) .analysis-section h3{font-size:13px;color:var(--color-gray-500);font-weight:500;margin-bottom:9px}
:where(.hx-inbox) .analysis-section p{font-size:15px;line-height:1.6;color:var(--color-gray-700)}
:where(.hx-inbox) .analysis-quote{border-left:2px solid var(--color-gray-400);padding:4px 0 4px 15px;font-size:15px;line-height:1.6;color:var(--color-gray-700)}
:where(.hx-inbox) .analysis-quote footer{font-size:12px;color:var(--color-gray-500);margin-top:8px}
:where(.hx-inbox) .analysis-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
:where(.hx-inbox) .analysis-actions button{font-size:13px;min-height:40px}
@container inbox (max-width:780px){:where(.hx-inbox) .check-comparison{grid-template-columns:1fr;gap:5px}
:where(.hx-inbox) .check-comparison>span{font-size:11px}
:where(.hx-inbox) .check-comparison p{margin-bottom:6px}
:where(.hx-inbox) .check-actions{gap:5px}
:where(.hx-inbox) .check-actions button{padding:7px 9px;font-size:12px;min-height:40px}
:where(.hx-inbox) .draft-check{padding:10px 12px}
:where(.hx-inbox) .check-reason{font-size:12px}
:where(.hx-inbox) .composer-notice{font-size:12px}
:where(.hx-inbox) .account-identity{font-size:12px}
:where(.hx-inbox) .assessment-workspace{padding:15px}
:where(.hx-inbox) .assessment-heading{margin-bottom:18px}
:where(.hx-inbox) .assessment-heading h1{font-size:22px}
:where(.hx-inbox) .assessment-heading p{font-size:13px}
:where(.hx-inbox) .assessment-period{display:none}
:where(.hx-inbox) .assessment-stats{grid-template-columns:repeat(2,1fr);gap:20px 15px;padding:17px 0}
:where(.hx-inbox) .assessment-stats>div{padding-left:0;border:0}
:where(.hx-inbox) .assessment-stats strong{font-size:26px}
:where(.hx-inbox) .assessment-filters{display:block}
:where(.hx-inbox) .assessment-filters .search-field{max-width:none;margin-top:14px}
:where(.hx-inbox) .assessment-tabs{gap:2px}
:where(.hx-inbox) .assessment-tabs button{font-size:11px;padding:7px}
:where(.hx-inbox) .assessment-table-head{display:none}
:where(.hx-inbox) .assessment-row{grid-template-columns:minmax(0,1fr) 40px;gap:10px;padding:17px 0}
:where(.hx-inbox) .assessment-category,:where(.hx-inbox) .assessment-row>.sentiment{display:none}
:where(.hx-inbox) .assessment-guest{gap:9px}
:where(.hx-inbox) .assessment-guest strong{font-size:13px}
:where(.hx-inbox) .assessment-guest small{font-size:11px}
:where(.hx-inbox) .assessment-row .guest-avatar{width:32px;height:32px}
:where(.hx-inbox) .ticket-delivery{gap:7px}
:where(.hx-inbox) .ticket-delivery>span:last-child{font-size:10px}
:where(.hx-inbox) .feedback-banner{padding:10px;gap:5px}
:where(.hx-inbox) .feedback-banner button{padding:5px;font-size:11px}}
@media (prefers-reduced-motion:reduce){:where(.hx-inbox) .skeleton-line{animation:none}}
@media (max-width:600px){:where(.hx-inbox) #workflow-dialog.phone-dialog.assistant-dialog .workflow-sheet{left:0;right:0;width:100%;max-width:100%;transform:none}}
:where(.hx-inbox) .order-table-location{display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 20px}
:where(.hx-inbox) .order-table-location svg{width:16px;height:16px}

/* Production host: preserve the ERP height chain and the approved content scale. */
.hx-inbox .message-stack>.sender-line{height:auto;min-height:22px;flex-wrap:wrap}
.hx-inbox .sender-identities{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
.hx-inbox .sender-avatar{position:relative;display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;overflow:hidden;border-radius:50%;background:var(--color-gray-100);color:var(--color-gray-600);font-size:9px;font-weight:500;line-height:1}
.hx-inbox .sender-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.hx-inbox .sender-name,.hx-inbox .sender-account{min-width:0;max-width:100%;overflow-wrap:anywhere}

.hx-inbox .shift-team-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 8px;font-size:11px;color:var(--color-gray-600)}
.hx-inbox .shift-team-heading>span:first-child{display:flex;align-items:center;gap:7px}
.hx-inbox .shift-team-heading b{font-size:11px;font-weight:500;min-width:20px;line-height:20px;text-align:center;border-radius:5px;background:var(--color-gray-100);color:var(--color-gray-600)}
.hx-inbox .shift-team{list-style:none;margin:0;padding:0}
.hx-inbox .operator-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;padding:12px 0;border-bottom:1px solid var(--color-gray-200)}
.hx-inbox .operator-row:last-child{border-bottom:0}
.hx-inbox .operator-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--color-gray-100);color:var(--color-gray-600);font-size:11px;font-weight:500;letter-spacing:.1px}
.hx-inbox .operator-row>strong{min-width:0;font-size:13px;line-height:1.45;font-weight:500;color:var(--color-gray-800);overflow-wrap:anywhere}
.hx-inbox .operator-row>time{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--color-gray-600)}

.hx-inbox .message-bubble.campaign-bubble{width:360px;max-width:100%;background:#fff;border:1px solid #e3e5e9;color:#243147;padding:0 0 8px;overflow:hidden}
.hx-inbox .campaign-bubble .photo-preview{width:100%;border-radius:0}
.hx-inbox .campaign-source{display:grid;grid-template-columns:14px auto minmax(0,1fr);gap:7px;align-items:start;padding:10px 14px;font-size:11px;line-height:1.45;color:#526071;border-bottom-color:#e8ebef}
.hx-inbox .campaign-source>svg,.hx-inbox .template-label>svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}
.hx-inbox .campaign-source>span:last-child{min-width:0;margin:0;text-align:end;font-size:11px;color:#526071;white-space:normal;overflow-wrap:anywhere}
.hx-inbox .campaign-bubble .template-label,.hx-inbox .photo-bubble .template-label{font-size:12px;line-height:1.45;color:#526071;padding:10px 14px 0;gap:7px}
.hx-inbox .template-label>strong{min-width:0;overflow-wrap:anywhere}
.hx-inbox .campaign-bubble .message-text{padding:0 14px;color:#243147}
.hx-inbox .out .message-bubble:not(.campaign-bubble):not(.photo-bubble) .template-label{color:#fff}
.hx-inbox{height:100%;min-height:0;min-width:0;overflow:hidden;background:#fff;position:relative;color:var(--color-gray-800);font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;container:inbox / inline-size}
.hx-inbox [hidden]{display:none!important}
.hx-inbox .inbox-workspace{height:100%;min-height:0;display:flex;overflow:hidden}
.hx-inbox button{font-family:inherit;line-height:1.4;box-shadow:none}
:where(.hx-inbox) button:where(:not(.primary):not(.send-button):not(.reaction-chip):not(.template-option):not(.suggestion-card)){background:transparent}
.hx-inbox h1,.hx-inbox h2,.hx-inbox h3,.hx-inbox p{margin:0}
.hx-inbox .conversation-list{min-height:0;flex:none}
.hx-inbox .chat-panel{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}
.hx-inbox .message-history{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none}
.hx-inbox .message-lane{padding-bottom:16px}
.hx-inbox .message-lane>[data-timeline]{display:flow-root}
.hx-inbox .message-lane .order-ticket{margin-bottom:18px}
.hx-inbox .conversation-rows{flex:1;overflow:auto;min-height:0;overscroll-behavior:contain}
.hx-inbox .conversation-row{border:0;border-radius:0;text-align:start}
.hx-inbox .guest-avatar{background:var(--color-gray-200);color:var(--color-gray-600)}
.hx-inbox .account-icon img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.hx-inbox .message-audio{display:block;width:280px;max-width:100%;height:42px}
.hx-inbox .message-bubble:has(.message-audio){max-width:100%}
.hx-inbox .message-bubble p{overflow-wrap:anywhere}
.hx-inbox .message-stack{min-width:0}
.hx-inbox .message-more{align-self:center}
.hx-inbox .composer-area{flex-shrink:0;position:relative}
.hx-inbox .composer-row{display:flex;align-items:center}
.hx-inbox .composer-row .message-input{min-width:0;width:100%;min-height:44px;border:0;outline:0;box-shadow:none;padding:10px 0;line-height:24px;font-size:16px;resize:none}
.hx-inbox .composer-row .icon-button{flex:none;align-self:center;width:38px;min-width:38px;height:38px;min-height:38px;display:grid;place-items:center;padding:0}
.hx-inbox .composer-row .send-button{align-self:flex-end}
.hx-inbox .composer-row .attach-button{align-self:flex-end}
.hx-inbox .composer-row .attach-button{align-self:center}
.hx-inbox .composer-context{height:34px;min-height:34px;margin-bottom:5px}
.hx-inbox .account-identity,.hx-inbox .ai-reply{font-size:12px;min-height:34px}
.hx-inbox .composer-notice{font-size:12px;padding:10px 0;line-height:1.5}
.hx-inbox .draft-check{max-height:min(290px,40dvh);overflow:auto;border:1px solid var(--color-gray-200);background:var(--color-gray-50);border-radius:10px;margin-bottom:10px;padding:12px}
.hx-inbox .draft-check header,.hx-inbox .draft-check footer{display:flex;align-items:center;gap:10px;justify-content:space-between}
.hx-inbox .draft-check footer{justify-content:flex-end;margin-top:10px}
.hx-inbox .check-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.hx-inbox .check-comparison small{display:block;color:var(--color-gray-500);margin-bottom:4px}
.hx-inbox .check-comparison p{font-size:13px;white-space:pre-wrap}
.hx-inbox .check-issues p,.hx-inbox .send-error{font-size:12px;color:#9a492f}
.hx-inbox .search-match .message-bubble{outline:2px solid var(--color-gray-500);outline-offset:3px}
.hx-inbox .quiet-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:36px 22px;min-height:180px;text-align:center}
.hx-inbox .quiet-state h3{font-size:17px;font-weight:550;color:var(--color-gray-800)}
.hx-inbox .quiet-state p{font-size:13px;max-width:340px;color:var(--color-gray-500);line-height:1.6}
.hx-inbox .quiet-state>svg{color:var(--color-gray-500);width:25px;height:25px}
.hx-inbox .inbox-action-list{display:grid;gap:8px}
.hx-inbox .inbox-action-list button{justify-content:flex-start;padding:10px 12px}
.hx-inbox #workflow-dialog .workflow-sheet{max-height:100%;display:flex;flex-direction:column}
.hx-inbox #workflow-dialog .workflow-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.hx-inbox #workflow-dialog .workflow-context,.hx-inbox #workflow-dialog .workflow-footer,.hx-inbox #workflow-dialog .panel-title{flex:none}
.hx-inbox #workflow-dialog .panel-title{background:#fff;color:var(--color-gray-800)}
.hx-inbox #workflow-dialog .panel-title h2{color:var(--color-gray-800)}
.hx-inbox #workflow-dialog .workflow-context{background:var(--color-gray-50);color:var(--color-gray-800);border-color:var(--color-gray-200)}
.hx-inbox .assistant-question{border-left:2px solid var(--color-gray-400);margin:10px 0 0;padding-left:12px}
.hx-inbox .assistant-question>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;margin-bottom:7px}
.hx-inbox .assistant-question p{font-size:14px;line-height:1.55;max-height:120px;overflow:auto}
.hx-inbox .suggestion-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:16px}
.hx-inbox .suggestion-list-heading>span{color:var(--color-gray-500)}
.hx-inbox .suggestion-label{display:flex;gap:9px;font-size:12px;font-weight:600;color:var(--color-gray-700)}
.hx-inbox .suggestion-label>span{font-size:10px;color:var(--color-gray-500)}
.hx-inbox .suggestion-card{width:100%;text-align:start}
.hx-inbox .suggestion-use{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:18px;font-size:12px;color:var(--color-gray-700)}
.hx-inbox .suggestion-footer{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--color-gray-500);line-height:1.6}
.hx-inbox .workflow-body .field-label{display:block;margin:18px 0 8px;font-size:12px;color:var(--color-gray-600)}
.hx-inbox .workflow-body input[data-slot=input],.hx-inbox .workflow-body textarea{width:100%;max-width:100%;color:var(--color-gray-800)}
.hx-inbox .workflow-body textarea{padding:12px;min-height:120px;line-height:1.6;resize:vertical}
.hx-inbox .workflow-body .field-help{font-size:12px;line-height:1.5;margin-top:10px}
.hx-inbox .settings-intro h3{font-size:21px;font-weight:550;margin:7px 0}
.hx-inbox .settings-intro .secondary{margin-top:10px}
.hx-inbox .workflow-footer{gap:10px;align-items:center;justify-content:flex-end}
.hx-inbox .workflow-footer .primary,.hx-inbox .workflow-footer .secondary-button{padding:9px 15px}
.hx-inbox .template-list{display:grid;max-height:240px;overflow:auto;margin:14px 0;gap:5px}
.hx-inbox .template-option{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:start;padding:11px 12px;background:#fff;border:1px solid var(--color-gray-200);border-radius:8px;min-height:55px}
.hx-inbox .template-option.selected{border-color:var(--color-gray-500);background:var(--color-gray-100)}
.hx-inbox .template-option strong{font-size:13px;display:block;overflow-wrap:anywhere}
.hx-inbox .template-option small{font-size:11px;color:var(--color-gray-500);display:block;margin-top:3px}
.hx-inbox .template-preview{padding:18px;border:1px solid var(--color-gray-200);border-radius:12px;background:var(--color-gray-50);line-height:1.65;white-space:pre-wrap;font-size:14px}
.hx-inbox .template-preview strong{font-size:13px;display:block;margin-bottom:10px}
.hx-inbox .template-preview small{display:block;margin-top:10px;color:var(--color-gray-500)}
.hx-inbox .order-footer-total{margin-right:auto;display:flex;flex-direction:column;gap:2px}
.hx-inbox .order-footer-total>span{font-size:11px;color:var(--color-gray-500)}
.hx-inbox .order-footer-total strong{font-size:25px;font-weight:600}
.hx-inbox .order-footer-total small{font-size:12px;font-weight:500}
.hx-inbox .hx-reaction-picker{position:fixed;margin:0;padding:10px;width:260px;border:1px solid var(--color-gray-200);background:#fff;border-radius:15px;box-shadow:0 8px 35px #202a2926;max-width:calc(100vw - 16px)}
.hx-inbox .reaction-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}
.hx-inbox .reaction-quick button{height:48px;font-size:25px;border:0;border-radius:9px}
.hx-inbox .reaction-quick button:hover{background:var(--color-gray-100)}
.hx-inbox .assessment-workspace{width:100%;min-height:0;overflow:auto;padding:28px;display:block}
.hx-inbox .assessment-heading{margin-bottom:26px}
.hx-inbox .assessment-heading h1{font-size:26px;font-weight:550;margin-top:5px}
.hx-inbox .assessment-kpis{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--color-gray-200);border-radius:14px;padding:18px;margin-bottom:24px}
.hx-inbox .assessment-kpis>div{display:flex;flex-direction:column;padding:4px 18px;border-inline-end:1px solid var(--color-gray-200);gap:8px}
.hx-inbox .assessment-kpis>div:last-child{border:0}
.hx-inbox .assessment-kpis span{font-size:12px;color:var(--color-gray-500)}
.hx-inbox .assessment-kpis strong{font-size:28px;font-weight:550}
.hx-inbox .assessment-controls{display:flex;justify-content:space-between;gap:20px;margin-bottom:15px}
.hx-inbox .assessment-tabs{display:flex;gap:12px}
.hx-inbox .assessment-row{width:100%;display:flex;align-items:center;gap:18px;text-align:start;padding:18px 0;border:0;border-bottom:1px solid var(--color-gray-200)}
.hx-inbox .assessment-row>span:nth-child(2){flex:1;min-width:0}
.hx-inbox .assessment-row strong{font-size:14px;font-weight:550}
.hx-inbox .assessment-row p{font-size:13px;line-height:1.6;margin:6px 0;color:var(--color-gray-600)}
.hx-inbox .assessment-row small{font-size:11px;color:var(--color-gray-500)}
.hx-inbox .assessment-score{width:65px;height:58px;flex:none;display:flex;align-items:center;justify-content:center;gap:3px;font-size:24px;color:var(--color-gray-700);background:var(--color-gray-100);border-radius:10px}
.hx-inbox .assessment-score.critical{background:var(--color-danger-light);color:var(--color-danger-dark)}
.hx-inbox .assessment-detail-score{display:flex;gap:20px;align-items:center;margin-bottom:26px}
.hx-inbox .assessment-detail-score>strong{font-size:35px}.hx-inbox .assessment-detail-score small{font-size:13px}
.hx-inbox .assessment-detail-section{padding:18px 0;border-bottom:1px solid var(--color-gray-200)}.hx-inbox .assessment-detail-section h3{font-size:13px;margin-bottom:9px}.hx-inbox .assessment-detail-section p{font-size:14px;line-height:1.65}
body.inbox-active.hx-inbox-chat .main>.header{display:none}
@container inbox (max-width:780px){.hx-inbox .show-chat>.conversation-list{display:none}.hx-inbox .show-list>.chat-panel{display:none}.hx-inbox .conversation-list{width:100%;min-width:0}.hx-inbox .back-button{display:grid}.hx-inbox .chat-panel{width:100%}.hx-inbox .composer-area{padding:6px 10px max(6px,env(safe-area-inset-bottom))}.hx-inbox .message-stack{max-width:calc(100% - 34px)}.hx-inbox .message-more{width:30px;min-width:30px;min-height:44px;height:44px;padding:0}.hx-inbox .message-text{font-size:15px;line-height:1.5}.hx-inbox .message-row{gap:3px}.hx-inbox .check-comparison{grid-template-columns:1fr}.hx-inbox .assessment-workspace{padding:18px}.hx-inbox .assessment-kpis{grid-template-columns:1fr 1fr;gap:16px}.hx-inbox .assessment-controls{flex-direction:column}}
@media(max-width:600px){.hx-inbox #workflow-dialog .workflow-sheet{width:100%;max-width:100%;left:0;right:0;transform:none;border-radius:0}.hx-inbox #workflow-dialog .workflow-body{padding:20px}.hx-inbox #workflow-dialog .workflow-context{padding:16px 20px}.hx-inbox #workflow-dialog .workflow-footer{padding:14px 20px max(14px,env(safe-area-inset-bottom))}.hx-inbox .workflow-body input,.hx-inbox .workflow-body textarea{font-size:16px}.hx-inbox .template-list{max-height:200px}}
.hx-inbox[dir=rtl] .conversation-row{text-align:right}.hx-inbox[dir=rtl] .message-row.in{direction:rtl}.hx-inbox[dir=rtl] .message-row.out{direction:ltr}.hx-inbox [data-inbox-source]{unicode-bidi:plaintext}
@media(prefers-reduced-motion:reduce){.hx-inbox *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Production filters retain the approved compact chips and real totals. */
.hx-inbox .conversation-tabs button[data-slot=tabs-trigger]{gap:6px;padding:0 9px!important;min-width:0;white-space:nowrap}
.hx-inbox .conversation-tabs button[aria-selected=true]{background:var(--color-gray-800);color:#fff}
.hx-inbox .conversation-tabs .filter-count{font-size:10px;line-height:1;min-width:17px;text-align:center;padding:3px 4px;background:var(--color-gray-200);color:var(--color-gray-600);font-variant-numeric:tabular-nums}
.hx-inbox .conversation-tabs button[aria-selected=true] .filter-count{background:#ffffff20;color:#fff}
.hx-inbox .conversation-row.selected{background:var(--color-gray-100)}
.hx-inbox .conversation-row:hover{background:var(--color-gray-50)}
.hx-inbox .ticket-status[data-status=delivered],.hx-inbox .ticket-status[data-status=completed]{background:var(--color-success-light);color:var(--color-success-dark)}
.hx-inbox .ticket-status[data-status=delivered]>span,.hx-inbox .ticket-status[data-status=completed]>span{background:var(--color-success)}
.hx-inbox .ticket-status[data-status=cancelled]{background:var(--color-danger-light);color:var(--color-danger-dark)}
.hx-inbox .ticket-status[data-status=cancelled]>span{background:var(--color-danger)}
@container inbox (max-width:780px){.hx-inbox .inbox-workspace.swipe-preview .conversation-list{display:flex;position:absolute;inset:0;transform:translateX(var(--list-swipe-x,0px))}.hx-inbox .inbox-workspace.swipe-preview .chat-panel{display:flex;transform:translateX(var(--chat-swipe-x,0px));z-index:2}}

.hx-inbox .inbox-mobile-help{display:none}
@container inbox (max-width:780px){.hx-inbox .inbox-mobile-help{display:grid;place-items:center}}

/* Conversation pages append in place; browser anchoring must not double our anchor correction. */
.hx-inbox .conversation-rows{overflow-anchor:none}
.hx-inbox .list-pagination{min-height:36px;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;color:var(--color-gray-500);font-size:12px}
.hx-inbox .list-pagination[hidden]{display:none}
.hx-inbox .list-pagination svg{width:15px;height:15px}
.hx-inbox .list-retry{padding:6px 10px;font-size:12px;color:var(--color-gray-700);text-decoration:underline;text-underline-offset:3px}

/* Channel identity (Instagram/Messenger pilots): colored channel marks, real
   contact photos, and a channel chip in the chat header / composer. */
:where(.hx-inbox) .guest-avatar{position:relative}
:where(.hx-inbox) .guest-avatar .avatar-photo{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover}
:where(.hx-inbox) .channel-mark.channel-instagram{background:#E1306C;border-color:#fff}
:where(.hx-inbox) .channel-mark.channel-instagram svg{stroke:#fff;color:#fff}
:where(.hx-inbox) .channel-mark.channel-messenger{background:#1877F2;border-color:#fff}
:where(.hx-inbox) .channel-mark.channel-messenger svg{stroke:#fff;color:#fff}
:where(.hx-inbox) .channel-mark.channel-whatsapp{background:#25D366;border-color:#fff}
:where(.hx-inbox) .channel-mark.channel-whatsapp svg{stroke:#fff;color:#fff}
:where(.hx-inbox) .channel-chip{display:inline-flex;align-items:center;gap:4px;font-weight:550}
:where(.hx-inbox) .channel-chip svg{width:13px;height:13px;stroke-width:2}
:where(.hx-inbox) .channel-chip.channel-instagram svg{stroke:#E1306C;color:#E1306C}
:where(.hx-inbox) .channel-chip.channel-messenger svg{stroke:#1877F2;color:#1877F2}
:where(.hx-inbox) .channel-chip.channel-whatsapp svg{stroke:#258259;color:#258259}
:where(.hx-inbox) .composer-context .channel-chip{margin-left:2px}

/* Business line selection reuses PureDropdown and its viewport/keyboard lifecycle. */
.hx-inbox .composer-context:has(.reply-line-dropdown){height:auto;min-height:34px}
.hx-inbox .account-identity:has(.reply-line-dropdown){min-width:0;flex:1;gap:7px}
.hx-inbox .reply-line-dropdown{width:auto;min-width:0;max-width:360px;flex:0 1 auto}
.hx-inbox .reply-line-dropdown .pure-dropdown-trigger{height:34px;min-height:34px;padding:0;border:0;background:transparent;box-shadow:none;gap:6px;border-radius:0}
.hx-inbox .reply-line-dropdown .pure-dropdown-trigger:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
.hx-inbox .reply-line-dropdown .dd-text{font-size:12px}
.hx-inbox .reply-line-option{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}
.hx-inbox .reply-line-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.hx-inbox .reply-line-option small{font-size:11px;color:var(--color-gray-500)}
.hx-inbox .reply-line-dropdown .pure-dropdown-menu{min-width:240px}
.hx-inbox .reply-via-label{flex:none}
.hx-inbox .account-identity>.account-icon,.hx-inbox .composer-context>.ai-reply{flex:none}
@media(max-width:768px){
  .hx-inbox .composer-context:has(.reply-line-dropdown){min-height:44px}
  .hx-inbox .reply-line-dropdown .pure-dropdown-trigger{height:44px;min-height:44px}
  .hx-inbox .account-identity:has(.reply-line-dropdown)>.account-icon,
  .hx-inbox .account-identity:has(.reply-line-dropdown)>.channel-chip{display:none}
  .hx-inbox .composer-context:has(.reply-line-dropdown)>.ai-reply{width:44px;height:44px;overflow:hidden;font-size:0;padding:0;justify-content:center}
  .hx-inbox .composer-context:has(.reply-line-dropdown)>.ai-reply svg{width:18px;height:18px}
}
:where(.hx-inbox) .identity-hint{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:7px 10px;border:1px solid #d7e3f8;background:#f2f7ff;border-radius:10px;font-size:12px;color:#3f4c61}
:where(.hx-inbox) .identity-hint svg{width:14px;height:14px;stroke:#3159da;flex-shrink:0}
:where(.hx-inbox) .identity-hint span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.hx-inbox) .identity-hint .hint-link{border:0;background:#3159da;color:#fff;font-size:12px;font-weight:550;padding:5px 10px;border-radius:8px;cursor:pointer}
:where(.hx-inbox) .identity-hint .icon-button.hint-dismiss{width:22px;height:22px}
.hx-inbox .note-conflict{margin:14px 0;padding:12px;border:1px solid #e8b86c;border-radius:10px;background:#fff8e8;color:#653d0e;line-height:1.45}
.hx-inbox .note-conflict[hidden]{display:none}
.hx-inbox .note-conflict p{margin:7px 0}
.hx-inbox .note-conflict blockquote{margin:8px 0;padding:8px 10px;border-left:3px solid #d99a35;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}
.hx-inbox .note-history{margin-top:16px}
.hx-inbox .note-history h3{font-size:14px;margin:0 0 8px}
.hx-inbox .note-history-entry{padding:10px 0;border-top:1px solid #e4e9f1}
.hx-inbox .note-history-entry small{display:block;color:#65748b}
.hx-inbox .note-history-entry p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}

.hx-inbox .inbox-line-filter:not(:empty){margin:2px 0 12px}
.hx-inbox .inbox-line-dropdown{width:100%}
.hx-inbox .inbox-line-dropdown .pure-dropdown-trigger{min-height:40px;height:40px}
.hx-inbox .inbox-line-dropdown .dd-text{min-width:0}
.hx-inbox .inbox-line-dropdown .reply-line-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:768px){.hx-inbox .inbox-line-dropdown .pure-dropdown-trigger{min-height:44px;height:44px}}
