:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15201b;background:#f4f6f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#eef2ef}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;background:#f7f8f7}.topbar{height:64px;display:grid;grid-template-columns:320px 1fr 320px;align-items:center;padding:0 22px;background:#fff;border-bottom:1px solid #dfe5e1;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-size:18px;color:#123d2d}.brand b{font-weight:750}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#fff;font-weight:800;background:linear-gradient(145deg,#154b36,#2d8460);box-shadow:0 5px 14px #123d2d33}.workspace{justify-self:center;padding:9px 14px;border:1px solid #dfe5e1;border-radius:10px;font-size:13px;font-weight:650}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#21a56c;margin-right:7px}.chevron{margin-left:14px;color:#738078}.top-actions{display:flex;align-items:center;justify-self:end;gap:12px}.top-actions button,.icon-button,.more{border:0;background:transparent;color:#66746c;font-size:20px}.user-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f1ed;color:#19533b;font-size:12px;font-weight:800}.workspace-grid{display:grid;grid-template-columns:340px minmax(420px,1fr) 300px;height:calc(100vh - 88px);max-width:1680px;margin:auto;background:#fff}.inbox-panel,.context-panel{border-right:1px solid #e1e6e3;min-height:0;background:#fbfcfb}.context-panel{border-right:0;border-left:1px solid #e1e6e3;padding:24px 22px;overflow:auto}.panel-heading{display:flex;justify-content:space-between;align-items:end;padding:24px 20px 14px}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:800;color:#7d8b83}.panel-heading h1{margin:4px 0 0;font-family:Georgia,serif;font-size:27px;color:#183f30}.search{height:40px;margin:0 16px 12px;padding:0 12px;display:flex;align-items:center;gap:8px;border:1px solid #dfe5e1;border-radius:10px;background:#fff;color:#829087}.search input{border:0;outline:0;width:100%;background:transparent;font-size:13px}.filters{display:flex;gap:6px;padding:0 16px 14px}.filters button{border:0;border-radius:18px;padding:7px 11px;background:transparent;color:#647169;font-size:12px}.filters button.active{background:#e7f1ec;color:#174c36;font-weight:750}.filters em{font-style:normal;background:#1d6749;color:#fff;border-radius:8px;padding:1px 5px;margin-left:5px}.conversation-list{overflow:auto;height:calc(100% - 145px)}.conversation{width:100%;border:0;border-left:3px solid transparent;background:transparent;display:grid;grid-template-columns:46px 1fr auto;gap:11px;padding:14px 16px;text-align:left}.conversation:hover{background:#f3f7f5}.conversation.selected{background:#ebf3ef;border-left-color:#1d6749}.avatar{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;font-size:12px;font-weight:800}.channel{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;font-size:9px;font-weight:800;color:#fff}.avatar .channel{position:absolute;right:-2px;bottom:-1px;border:2px solid white;width:18px;height:18px}.channel-fb{background:#6657d9}.channel-zalo{background:#0878e8}.conversation-copy{min-width:0}.conversation-copy strong{display:block;font-size:13px;margin:2px 0 6px}.conversation-copy strong i{font-style:normal;font-size:9px;background:#fff1e8;color:#bd5e21;padding:3px 5px;border-radius:5px;margin-left:6px}.conversation-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6d7972;font-size:12px}.conversation-meta{text-align:right}.conversation-meta time{display:block;color:#89938d;font-size:10px}.conversation-meta b{display:inline-grid;place-items:center;background:#1d6749;color:#fff;width:19px;height:19px;border-radius:50%;font-size:10px;margin-top:8px}.chat-panel{min-width:0;display:grid;grid-template-rows:72px 1fr auto;background:#f6f8f7}.chat-header{display:flex;align-items:center;gap:12px;padding:0 20px;background:#fff;border-bottom:1px solid #e1e6e3}.chat-header h2{font-size:15px;margin:0 0 4px}.chat-header p{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;color:#758179}.chat-header .channel{width:15px;height:15px}.avatar.large{width:39px;height:39px}.more{margin-left:auto}.back{display:none;border:0;background:none;font-size:28px;color:#174c36}.timeline{overflow:auto;padding:24px clamp(18px,5vw,70px);background-image:radial-gradient(#cfd8d2 .7px,transparent .7px);background-size:20px 20px}.day-label{width:max-content;margin:0 auto 22px;padding:5px 10px;border-radius:10px;background:#e8ece9;color:#68746d;font-size:10px}.message-row{display:flex;margin:12px 0}.message-row.out{justify-content:flex-end}.bubble{max-width:72%;padding:11px 13px;border-radius:14px 14px 14px 4px;background:#fff;box-shadow:0 1px 2px #1a382a12}.out .bubble{background:#245f46;color:#fff;border-radius:14px 14px 4px}.bubble p{margin:0;line-height:1.45;font-size:13px}.bubble span{display:block;text-align:right;font-size:9px;color:#829087;margin-top:5px}.out .bubble span{color:#cce2d7}.system-note{width:max-content;max-width:90%;margin:23px auto 0;padding:8px 12px;border:1px solid #d6e4dc;background:#f8fbf9;border-radius:9px;color:#5b6961;font-size:10px}.system-note span{color:#2c8a61}.composer{padding:12px 18px 16px;background:#fff;border-top:1px solid #e1e6e3}.composer-tabs{display:flex;align-items:center;gap:5px;margin-bottom:9px}.composer-tabs button{border:0;background:transparent;color:#78847d;padding:5px 8px;font-size:11px}.composer-tabs button.active{color:#1d6749;font-weight:750;background:#edf5f1;border-radius:6px}.composer-tabs span{margin-left:auto;color:#9a6c2b;background:#fff6e9;padding:4px 7px;border-radius:5px;font-size:9px;font-weight:700;text-transform:uppercase}.composer textarea{display:block;width:100%;min-height:74px;resize:vertical;border:1px solid #d8e0db;border-radius:10px;padding:11px 12px;outline:0;line-height:1.45;font-size:13px}.composer textarea:focus{border-color:#4b9575;box-shadow:0 0 0 3px #4b95751c}.evidence{display:flex;align-items:center;gap:7px;margin:8px 0;color:#7b8880;font-size:10px}.evidence button{border:0;background:#eff3f1;color:#526158;border-radius:5px;padding:4px 7px}.evidence small{margin-left:auto}.notice{padding:8px 10px;margin:8px 0;border-radius:7px;background:#fff7e9;color:#785523;font-size:11px}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.composer-actions>div{display:flex;gap:7px}.composer-actions button{border-radius:8px;padding:9px 12px;font-size:11px;font-weight:700}.secondary,.approve{border:1px solid #d6ded9;background:#fff;color:#4e5d54}.approve.done{border-color:#6daa8d;color:#176442;background:#eef7f2}.send{border:0;background:#1d6749;color:#fff}.customer-card{text-align:center;padding-bottom:22px;border-bottom:1px solid #e6ebe8}.avatar.xl{width:62px;height:62px;margin:auto;font-size:16px}.customer-card h3{margin:11px 0 5px}.customer-card p{display:flex;justify-content:center;align-items:center;gap:5px;color:#758179;font-size:11px}.identity{display:inline-block;padding:5px 8px;border-radius:6px;background:#fff4e4;color:#96672a;font-size:9px;font-weight:700}.context-panel section{padding:18px 0;border-bottom:1px solid #e6ebe8}.context-panel h4{margin:0 0 12px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#728078}.context-panel section p{font-size:12px;line-height:1.5;color:#455249}.context-panel section small{display:block;color:#8b958f;line-height:1.4;font-size:9px}.context-panel dl{margin:0}.context-panel dl div{display:flex;justify-content:space-between;margin:10px 0;font-size:11px}.context-panel dt{color:#829087}.context-panel dd{margin:0;font-weight:650}.priority{color:#bf5d25}.context-panel ul{list-style:none;margin:0;padding:0}.context-panel li{font-size:11px;margin:9px 0}.ok{color:#25865f;margin-right:7px}.warn{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:#e99a39;color:#fff;font-size:9px;margin-right:7px}.full-button{width:100%;margin-top:20px;padding:10px;border:1px solid #d9e1dc;border-radius:8px;background:#fff;color:#315443;font-size:11px;font-weight:700}.demo-banner{position:fixed;z-index:8;bottom:0;left:0;right:0;height:24px;display:grid;place-items:center;background:#203f33;color:#d8e8e0;font-size:9px;letter-spacing:.11em;font-weight:750}.demo-banner{position:static;inset:auto}@media (max-width:1050px){.workspace-grid{grid-template-columns:310px 1fr}.context-panel{display:none}.topbar{grid-template-columns:250px 1fr 150px}}@media (max-width:700px){.topbar{height:56px;grid-template-columns:1fr auto;padding:0 14px}.workspace{display:none}.brand{font-size:16px}.workspace-grid{height:calc(100vh - 80px);display:block;position:relative;overflow:hidden}.inbox-panel,.chat-panel{display:none;height:100%}.inbox-panel.mobile-open,.chat-panel.mobile-open{display:grid}.inbox-panel.mobile-open{grid-template-rows:auto auto auto 1fr}.conversation-list{height:auto}.chat-panel.mobile-open{grid-template-rows:64px 1fr auto}.back{display:block}.timeline{padding:20px 14px}.bubble{max-width:86%}.composer{padding:10px}.evidence small{display:none}.composer-actions{align-items:stretch}.composer-actions,.composer-actions>div{flex-wrap:wrap}.composer-actions button{flex:1;white-space:nowrap}.secondary{min-width:100%}.top-actions button{display:none}}.gate{min-height:100vh;display:grid;place-items:center;padding:16px;background:#eef2ef}.gate-card{width:min(460px,100%);background:#fff;border:1px solid #dfe5e1;border-radius:16px;padding:28px 24px;box-shadow:0 10px 30px #123d2d14}.gate-card h1{font-family:Georgia,serif;font-size:24px;color:#183f30;margin:22px 0 10px}.gate-card p{color:#4d5a53;font-size:14px;line-height:1.55}.gate-button{display:inline-block;margin-top:8px;padding:11px 16px;border:0;border-radius:10px;background:#1d6749;color:#fff;font-weight:700;text-decoration:none;font-size:14px}.gate-demo{margin-top:22px;font-size:12px}.gate-demo a{color:#2d8460}.live-tabs{justify-self:center;display:flex;gap:6px}.live-tabs button{border:0;border-radius:18px;padding:8px 14px;background:transparent;color:#4d5a53;font-size:13px;font-weight:650}.live-tabs button.active{background:#e7f1ec;color:#174c36}.shop-picker{max-width:220px;padding:8px 10px;border:1px solid #dfe5e1;border-radius:10px;background:#fff;font-size:13px}.live-grid{grid-template-columns:340px minmax(0,1fr);height:calc(100vh - 64px)}.chat-panel>.empty-state{grid-row:1/-1}.empty-state{padding:28px 20px;text-align:center;color:#66746c;font-size:13px}.empty-state.center{display:grid;place-items:center;height:100%}.muted{color:#748179;font-size:12px;line-height:1.5}.pad{padding:0 20px}.composer-tabs select{border:1px solid #dfe5e1;border-radius:8px;padding:4px 8px;background:#fff;font-size:12px;color:#355445}.notice.job-accepted,.notice.job-delivered{background:#eaf6ef;color:#1d6749}.notice.job-failed,.notice.job-unknown,.notice.job-cancelled{background:#fff3e6;color:#9a5b1f}.channels-page{max-width:820px;margin:0 auto;padding:8px 16px 40px}.channels-page .panel-heading{padding-left:0;padding-right:0}.channels-page>.notice{margin-bottom:14px}.channel-card{background:#fff;border:1px solid #dfe5e1;border-radius:14px;padding:18px 20px;margin-bottom:14px}.channel-card h2{font-size:15px;margin:0}.channel-card-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.channel-card .approve{margin:12px 0 4px}.account-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid #edf1ee}.account-row small{color:#829087;font-size:11px}.account-status{margin:6px 0 4px;font-size:12px;font-weight:650}.account-status.ok{color:#1d6749}.account-status.warn{color:#b0611f}.account-status.off{color:#7d8b83}.page-list{list-style:none;margin:12px 0 0;padding:0}.page-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #edf1ee;font-size:13px}.page-list small{color:#829087}button:disabled{opacity:.55;cursor:not-allowed}@media (max-width:700px){.app-shell .topbar{grid-template-columns:auto 1fr auto;gap:8px}.app-shell .topbar .brand>span:last-child{display:none}.live-tabs{justify-self:start}.live-tabs button{padding:7px 9px;font-size:12px}.shop-picker{max-width:120px}.live-grid{height:calc(100vh - 56px)}.account-row,.page-list li{flex-direction:column;align-items:stretch}}@media (max-width:700px){.app-shell .topbar .top-actions{display:flex}.app-shell .topbar .workspace{display:inline-block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.channel-card button,.page-list button{border-radius:8px;padding:9px 12px;font-size:12px;font-weight:700;border:1px solid transparent}.channel-card .secondary{background:#fff;border-color:#d9e1dc;color:#315443}.channel-card .approve,.page-list .send{background:#1d6749;color:#fff}.channels-page h1,.gate-card h1{font-family:inherit;font-weight:750;letter-spacing:-.01em}.live-grid .chat-panel{grid-template-rows:auto minmax(0,1fr) auto}.chat-top .chat-header{height:72px}.escalate-button{font-size:12px!important;font-weight:700;color:#9a5b1f!important;border:1px solid #f0d6bb!important;border-radius:8px;padding:6px 10px;background:#fff8f1!important}.escalation-banner{padding:8px 20px;font-size:12px;background:#fff3e6;color:#7a4a17;border-bottom:1px solid #f0d6bb}.escalation-banner.prio-urgent{background:#fde8e8;color:#8f1d1d}.escalate-form{display:flex;gap:8px;padding:10px 20px;background:#fff;border-bottom:1px solid #e1e6e3;flex-wrap:wrap}.escalate-form select,.escalate-form input{border:1px solid #dfe5e1;border-radius:8px;padding:7px 9px;font-size:12px;background:#fff}.escalate-form input{flex:1;min-width:180px}.escalate-form button{border:0;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:700;background:#1d6749;color:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#4d5a53}.field.wide,.field:has(textarea){grid-column:1/-1}.field input,.field textarea,.field select{border:1px solid #dfe5e1;border-radius:8px;padding:8px 10px;font-size:13px;background:#fff;resize:vertical}.field small{color:#8b958f;font-size:11px}.row-actions{display:inline-flex;gap:8px;flex-wrap:wrap}.channel-card.danger{border-color:#e9b4b4;background:#fff7f7}.queue-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.queue-item p{font-size:13px;margin:8px 0}.due{margin-left:auto;font-size:12px;font-weight:700;color:#1d6749}.due.overdue{color:#b42318}.prio-badge{font-size:10px;font-weight:800;padding:3px 7px;border-radius:6px;background:#e8ece9;color:#4d5a53}.prio-badge.prio-urgent{background:#fde8e8;color:#8f1d1d}.prio-badge.prio-high{background:#fff1e8;color:#bd5e21}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;font-size:12px}@media (max-width:700px){.form-grid{grid-template-columns:1fr}.live-tabs{overflow-x:auto;max-width:calc(100vw - 150px)}.live-tabs button{white-space:nowrap}}.license-banner{padding:10px 20px;background:#fff4e4;color:#7a4a17;border-bottom:1px solid #f0d6bb;font-size:13px}.license-banner a{color:#1d6749;font-weight:700}.app-shell:has(.live-tabs){display:flex;flex-direction:column;height:100vh;min-height:0}.app-shell:has(.live-tabs) .live-grid{flex:1;height:auto;min-height:0;width:100%}.app-shell:has(.live-tabs) .channels-page{flex:1;overflow:auto;width:100%;margin:0 auto}@media (max-width:700px){.app-shell:has(.live-tabs) .live-grid{height:auto}}.row-actions{align-items:center}.row-actions .approve,.row-actions .secondary{margin:0}.toggle-row{justify-content:flex-start;gap:16px}@media (max-width:700px){.app-shell:has(.live-tabs) .topbar{grid-template-columns:auto 1fr;grid-template-rows:auto auto;height:auto;padding:8px 12px;row-gap:6px}.app-shell:has(.live-tabs) .topbar .top-actions{justify-self:end}.app-shell:has(.live-tabs) .live-tabs{grid-column:1/-1;grid-row:2;justify-self:stretch;max-width:none;overflow-x:auto}.app-shell:has(.live-tabs) .topbar .workspace{max-width:200px}}@media (max-width:700px){.live-grid .composer-tabs{flex-wrap:wrap;gap:6px}.live-grid .composer-tabs>button.active{display:none}.live-grid .composer-tabs>select{flex:1;min-width:0}.live-grid .composer-tabs>span{width:100%;margin-left:0}}.guide-card details>summary{cursor:pointer;list-style:none;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}.guide-card details>summary::-webkit-details-marker{display:none}.guide-card details>summary h2:before{content:"▸ ";color:#1d6749}.guide-card details[open]>summary h2:before{content:"▾ "}.guide-card details>summary .muted{font-size:12px}.guide-card h3{font-size:13px;margin:18px 0 6px;color:#174c36}.guide-card ul,.guide-card ol{margin:0;padding-left:20px;font-size:13px;line-height:1.55;color:#34433b}.guide-card li{margin:4px 0}.guide-steps li::marker{font-weight:800;color:#1d6749}.guide-faq{margin:0;font-size:13px;line-height:1.5}.guide-faq dt{font-weight:700;color:#34433b;margin-top:10px}.guide-faq dd{margin:2px 0 0;color:#5b6961}.guide-inline{margin-top:10px;border-top:1px solid #edf1ee;padding-top:10px}.guide-inline>summary{cursor:pointer;list-style:none}.guide-inline>summary::-webkit-details-marker{display:none}.guide-inline>summary h3{display:inline;font-size:13px;color:#1d6749;margin:0}.guide-inline>summary h3:before{content:"▸ "}.guide-inline[open]>summary h3:before{content:"▾ "}.guide-inline h4{font-size:13px;margin:14px 0 4px;color:#174c36}.guide-inline p,.guide-inline ul,.guide-inline ol{font-size:13px;line-height:1.55;color:#34433b;margin:0}.guide-inline ul,.guide-inline ol{padding-left:20px}.guide-inline li{margin:4px 0}.guide-status{margin-top:10px!important;padding:8px 10px;border-radius:7px;background:#fff7e9;color:#785523!important}
