:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Thai",Tahoma,sans-serif;color:#223b43;background:#f5f8f9;font-synthesis:none;--navy:#123e43;--ink:#223b43;--teal:#168477;--line:#e7ecef;--muted:#829298;--mint:#b6f4d4;--soft:#f4f8f9;--shadow:0 10px 40px #123e4314}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.45}
button{color:inherit}
a{color:var(--teal)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83caba;outline-offset:3px}
button{border:0;background:transparent}
svg.icon{width:20px;height:20px;flex:none;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
svg.icon.small{width:16px;height:16px}
.app-shell{height:100dvh;min-height:600px;display:grid;grid-template-columns:220px minmax(0,1fr);overflow:hidden}
.sidebar{background:var(--navy);color:#a4bfc1;display:flex;flex-direction:column;padding:29px 18px 19px}
.brand{display:flex;align-items:center;gap:11px;padding:0 13px;color:#fff;text-decoration:none}
.brand-symbol{width:39px;height:39px;flex:none;border-radius:12px;background:var(--mint);color:var(--navy);font-size:2.125rem;font-weight:800;display:flex;align-items:center;justify-content:center;line-height:1;letter-spacing:-3px;padding-bottom:7px}
.brand-symbol span{font-size:1.312rem;margin:9px 2px 0 1px}
.brand-name{font-size:1.5rem;font-weight:730;letter-spacing:-.7px}
.brand-subtitle{font-size:0.75rem;letter-spacing:2px;color:#8fb3b2;margin:4px 0 0 64px}
.workspace-card{margin:35px 0 28px;background:#ffffff09;border:1px solid #ffffff14;border-radius:10px;display:flex;align-items:center;gap:10px;padding:12px}
.workspace-avatar{width:32px;height:32px;border-radius:8px;background:#ffffff16;display:grid;place-items:center;font-size:0.875rem;color:#d9ece7}
.workspace-name{font-size:0.75rem;color:#e2f0ed;font-weight:600}
.workspace-label{font-size:0.75rem;color:#93b2b5;margin-top:4px}
.workspace-dot{height:6px;width:6px;border-radius:50%;background:#89dfae;margin-left:auto}
.nav-label{font-size:0.75rem;letter-spacing:1.6px;padding:0 14px;margin-bottom:13px;color:#789da0}
.nav-button{width:100%;padding:12px 14px;border-radius:8px;color:#a6c2c3;display:flex;align-items:center;gap:12px;text-align:left;margin:3px 0;font-size:0.8125rem;min-height:45px}
.nav-button.active{color:var(--navy);background:var(--mint);font-weight:650}
.nav-button:hover:not(.active){background:#ffffff0b;color:#fff}
.nav-counter{font-size:0.75rem;min-width:20px;padding:3px 5px;text-align:center;background:#163e4315;border-radius:5px;margin-left:auto}
.sidebar-bottom{margin-top:auto}
.connection-note{border-top:1px solid #ffffff12;padding:20px 12px;font-size:0.75rem;display:flex;align-items:center;gap:8px}
.status-dot{width:6px;height:6px;border-radius:50%;background:#77dbaa;display:inline-block;flex:none}
.status-dot.offline{background:#e3aa65}
.user-card{display:flex;align-items:center;gap:10px;background:#ffffff08;padding:12px 9px;border-radius:9px}
.user-avatar{width:31px;height:31px;display:grid;place-items:center;background:#d8e7e5;color:#315950;border-radius:50%;font-size:0.75rem;font-weight:700}
.user-name{font-size:0.75rem;color:#ecf4f3}
.user-role{font-size:0.75rem;margin-top:3px}
.user-card .icon-button{color:#9abbbe;margin-left:auto}
.main-shell{min-width:0;display:flex;flex-direction:column;overflow:hidden}
.topbar{background:#fff;min-height:83px;height:83px;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.topbar-left{display:flex;align-items:center;gap:14px}
.page-eyebrow{font-size:0.75rem;letter-spacing:1.4px;color:var(--muted);margin-bottom:6px}
.page-title{font-size:1.25rem;letter-spacing:-.5px;font-weight:650;margin:0}
.topbar-right{display:flex;align-items:center;gap:18px;font-size:0.75rem}
.live-status{display:flex;align-items:center;gap:7px;color:#6f8588}
.trial-badge{background:#fff5df;color:#a56b17;border:1px solid #f8e4bb;padding:7px 10px;border-radius:6px;white-space:nowrap;font-size:0.75rem;display:inline-flex;gap:6px;align-items:center}
.today{color:#8b9ba0;font-size:0.75rem}
.page-content{flex:1;min-height:0;overflow:hidden}
.inbox{height:100%;display:grid;grid-template-columns:325px minmax(340px,1fr) 252px}
.conversation-pane{display:flex;flex-direction:column;background:white;border-right:1px solid var(--line);min-width:0;min-height:0}
.inbox-heading{padding:23px 22px 17px;display:flex;align-items:center;justify-content:space-between}
.inbox-heading h2{font-size:0.9375rem;font-weight:650;margin:0}
.count-badge{font-size:0.75rem;font-weight:600;color:var(--teal);background:#edf7f3;min-width:24px;border-radius:5px;padding:3px 7px;margin-left:6px}
.search-wrap{margin:0 20px 15px;position:relative}
.search-wrap .icon{position:absolute;top:10px;left:11px;color:#94a4ab;width:17px;height:17px}
.search-wrap input{border:1px solid #e9edef;background:#f8fafb;border-radius:7px;width:100%;padding:10px 12px 10px 35px;color:var(--ink);font-size:0.75rem;height:37px}
.search-wrap input::placeholder{color:#98a6ab}
.inbox-tabs{display:flex;gap:5px;padding:0 17px 14px;overflow-x:auto}
.filter-tab{white-space:nowrap;font-size:0.75rem;padding:7px 9px;border-radius:6px;color:#86959a}
.filter-tab.active{background:#eaf6f1;color:#197a65;font-weight:650}
.channel-filter-row{display:flex;gap:5px;padding:10px 19px;border-top:1px solid #f3f5f6;border-bottom:1px solid var(--line)}
.filter-select{min-width:0;font-size:0.75rem;color:#71848b;border:0;background:#fff;padding:5px 3px;max-width:50%;flex:1}
.conversation-list{overflow:auto;flex:1}
.conversation-row{display:flex;align-items:flex-start;gap:11px;padding:18px 17px;border-bottom:1px solid #f1f4f5;width:100%;text-align:left;position:relative;min-height:92px;background:#fff}
.conversation-row:hover{background:#f7faf9}
.conversation-row.selected{background:#eef7f3}
.conversation-row.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#37a787}
.avatar-wrap{position:relative;flex:none}
.avatar{height:39px;width:39px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#49716b;background:#e1eee8;font-size:0.875rem;font-weight:600;overflow:hidden}
.provider-mini{height:15px;width:15px;border:2px solid white;border-radius:50%;position:absolute;right:-1px;bottom:-3px;display:grid;place-items:center;color:white;font-size:0.75rem;font-weight:700;line-height:1}
.conversation-info{min-width:0;flex:1}
.conversation-top{display:flex;align-items:center;gap:5px;margin:0 0 6px}
.contact-name{font-size:0.75rem;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.conversation-time{font-size:0.75rem;color:#9aabb0;white-space:nowrap}
.conversation-preview{color:#85969c;font-size:0.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-bottom:7px;line-height:1.4}
.conversation-bottom{display:flex;justify-content:space-between;align-items:center}
.channel-name{font-size:0.75rem;color:#8c9ca2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.unread-dot{background:#218d74;border-radius:50%;min-width:16px;height:16px;line-height:16px;text-align:center;color:#fff;font-size:0.75rem;padding:0 3px}
.conversation-footer{padding:13px 18px;color:#9aabb0;font-size:0.75rem;border-top:1px solid var(--line);display:flex;align-items:center;gap:6px}
.conversation-footer .icon{width:12px;height:12px}
.chat-pane{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f5f8fa}
.chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border-bottom:1px solid var(--line);padding:17px 25px;min-height:81px}
.chat-person{display:flex;align-items:center;gap:11px;min-width:0}
.chat-person h2{font-size:0.875rem;font-weight:650;margin:0 0 5px}
.person-subtitle{color:#8b9b9f;font-size:0.75rem;display:flex;align-items:center;gap:5px}
.chat-actions{display:flex;align-items:center;gap:8px}
.icon-button{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;color:#8c9da2;flex:none}
.icon-button:hover{background:#f0f5f3;color:#2c7063}
.outline-button,.primary-button,.secondary-button,.danger-button{font-size:0.75rem;font-weight:600;border-radius:7px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;white-space:nowrap}
.outline-button{border:1px solid #dfe8e4;background:white;color:#347665}
.outline-button .icon,.primary-button .icon,.secondary-button .icon{width:15px;height:15px}
.primary-button{background:#198773;color:#fff}
.primary-button:hover{background:#147360}
.secondary-button{border:1px solid #e0e8ea;background:white;color:#667e84}
.secondary-button:hover{background:#f6f9f8}
.danger-button{background:#fff0ef;color:#ba5148}
.chat-stream{flex:1;overflow:auto;padding:22px 28px 10px;display:flex;flex-direction:column;gap:18px;scroll-behavior:smooth}
.date-divider{align-self:center;font-size:0.75rem;color:#92a3a9;display:flex;align-items:center;gap:13px;margin:1px 0 5px}
.date-divider:before,.date-divider:after{content:"";height:1px;width:32px;background:#e2e9ed}
.message{display:flex;gap:9px;max-width:85%;align-self:flex-start;align-items:flex-end}
.message .avatar{width:27px;height:27px;font-size:0.75rem;margin-bottom:20px}
.message-stack{min-width:0}
.message-bubble{font-size:0.75rem;line-height:1.8;background:#fff;border:1px solid #e8edef;border-radius:11px 11px 11px 3px;padding:11px 15px;white-space:pre-wrap;overflow-wrap:anywhere;color:#38535d;box-shadow:0 1px 2px #1e3f4a03}
.message-meta{font-size:0.75rem;color:#a0adb2;margin:6px 3px 0;display:flex;align-items:center;gap:5px}
.message-meta .icon{width:11px;height:11px;color:#6bb29a}
.message.outbound{align-self:flex-end}
.message.outbound .message-bubble{background:#e0f2e9;border-color:#d8eee3;border-radius:11px 11px 3px 11px;color:#326657}
.message.outbound .message-meta{justify-content:flex-end}
.message.note{align-self:center;max-width:95%;width:100%}
.message.note .message-stack{width:100%}
.message.note .message-bubble{background:#fff8e7;border-color:#f4e8c6;color:#8c753d;border-radius:8px}
.note-label{display:flex;gap:6px;align-items:center;font-size:0.75rem;font-weight:650;margin-bottom:5px;color:#a88c48}
.note-label .icon{width:12px;height:12px}
.message-error{font-size:0.75rem;color:#b55a51;line-height:1.5;margin-top:4px;max-width:280px}
.chat-composer-area{padding:16px 24px 15px;background:#f5f8fa}
.reply-context{font-size:0.75rem;color:#8a9ea4;margin:0 0 9px;display:flex;align-items:center;gap:6px}
.composer{background:white;border:1px solid #dde7e9;border-radius:10px;box-shadow:0 3px 10px #27455604}
.composer-tabs{display:flex;gap:17px;align-items:center;margin:0 15px;border-bottom:1px solid #eff3f4}
.composer-tab{font-size:0.75rem;padding:11px 0 9px;color:#91a0a5;border-bottom:2px solid transparent;display:flex;gap:5px;align-items:center}
.composer-tab .icon{width:13px;height:13px}
.composer-tab.active{color:#2d8570;border-color:#2d947c}
.composer.note-mode{border-color:#ecdcb3;background:#fffdf6}
.composer.note-mode .composer-tab.active{color:#a88938;border-color:#b99b4b}
.composer textarea{width:100%;resize:none;border:0;outline:0;padding:13px 15px 6px;min-height:69px;font-size:0.75rem;line-height:1.6;background:transparent;color:#31505a;display:block}
.composer textarea::placeholder{color:#a6b2b7}
.composer-bottom{display:flex;justify-content:space-between;align-items:center;padding:8px 11px 11px;gap:10px}
.composer-hint{font-size:0.75rem;color:#9eadb2;margin-left:5px}
.send-button{font-size:0.75rem;padding:9px 14px;min-height:31px}
.demo-composer-note{text-align:center;font-size:0.75rem;color:#99aaaf;margin-top:10px;line-height:1.6}
.contact-pane{background:white;border-left:1px solid var(--line);overflow:auto;min-height:0}
.contact-pane-heading{font-size:0.75rem;padding:22px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f4f5;min-height:81px}
.contact-pane-heading .icon{color:#a0afb4;width:16px;height:16px}
.contact-identity{text-align:center;padding:27px 16px 21px}
.contact-identity .avatar{height:61px;width:61px;font-size:1.375rem;margin:auto}
.contact-identity h3{font-size:0.875rem;margin:13px 0 6px}
.contact-handle{font-size:0.75rem;color:#8d9fa5;overflow-wrap:anywhere}
.contact-section{margin:0 20px;padding:20px 0;border-top:1px solid #edf1f3}
.section-label{font-size:0.75rem;color:#8d9da3;margin:0 0 15px;font-weight:500}
.detail-row{font-size:0.75rem;display:flex;justify-content:space-between;gap:12px;align-items:center;margin:13px 0;color:#8c9da4}
.detail-row>span:first-child{white-space:nowrap}
.detail-value{color:#4f6b73;text-align:right;overflow-wrap:anywhere;max-width:140px}
.status-chip{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:0.75rem;background:#e9f6ef;color:#2d936e;white-space:nowrap}
.status-chip.pending{background:#fff6e2;color:#b28c38}
.status-chip.resolved{background:#eef1f4;color:#7c8d98}
.status-chip.error,.status-chip.failed{background:#fff0ed;color:#b26a5c}
.status-chip.disabled{background:#eff1f3;color:#909da3}
.status-chip.demo{background:#fff5df;color:#a2833d}
.detail-select{border:0;background:#f7f9fa;border-radius:5px;max-width:126px;min-width:95px;padding:7px;font-size:0.75rem;color:#526f78}
.tag-list{display:flex;flex-wrap:wrap;gap:6px}
.tag{background:#f1f5f7;color:#83969f;font-size:0.75rem;padding:5px 8px;border-radius:5px}
.channel-profile{background:#f7faf9;padding:12px;border:1px solid #e8f0ec;border-radius:7px}
.channel-profile-title{font-size:0.75rem;font-weight:600;display:flex;align-items:center;gap:7px;margin-bottom:7px}
.provider-icon{display:grid;place-items:center;height:30px;width:30px;border-radius:9px;color:white;font-size:0.75rem;font-weight:700;flex:none}
.channel-profile-title .provider-icon{height:20px;width:20px;border-radius:6px;font-size:0.75rem}
.channel-profile p{font-size:0.75rem;color:#8e9fa3;line-height:1.7;margin:0}
.empty-state{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px;text-align:center;color:#8b9da3;gap:14px}
.empty-symbol{width:66px;height:66px;display:grid;place-items:center;border:1px solid #dceae4;border-radius:20px;color:#6ea992;background:#edf6f0;transform:rotate(-5deg);margin-bottom:2px}
.empty-symbol .icon{width:31px;height:31px;transform:rotate(5deg)}
.empty-state h2{font-weight:600;font-size:1.062rem;color:#486970;margin:0}
.empty-state p{font-size:0.75rem;line-height:1.9;max-width:310px;margin:0}
.list-empty{padding:40px 25px;text-align:center;color:#91a2a7;font-size:0.75rem;line-height:1.9}
.mobile-back,.mobile-nav-button{display:none}
.content-page{overflow:auto;height:100%;padding:32px 36px 45px;max-width:1400px;margin:auto}
.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.page-intro h2{font-size:1.375rem;font-weight:650;letter-spacing:-.4px;margin:0 0 9px}
.page-intro p{font-size:0.75rem;line-height:1.8;color:#83969f;margin:0;max-width:640px}
.info-banner{display:flex;align-items:flex-start;gap:12px;padding:17px 20px;border:1px solid #e1ebe5;background:#edf6f1;border-radius:10px;color:#507564;font-size:0.75rem;line-height:1.9;margin-bottom:26px}
.info-banner .icon{margin-top:1px;width:17px;height:17px}
.info-banner strong{display:block;color:#375d4f;font-size:0.75rem;font-weight:600}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin:29px 0 15px;gap:12px}
.section-heading h3{font-size:0.875rem;margin:0;font-weight:600}
.section-heading>span{font-size:0.75rem;color:#93a2a9}
.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:15px}
.account-card{background:white;border:1px solid #e2e9eb;border-radius:10px;padding:19px;min-width:0}
.account-card-head{display:flex;align-items:center;gap:10px;margin-bottom:19px}
.account-card-title{min-width:0;flex:1}
.account-card-title h4{font-size:0.75rem;margin:0 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-card-title p{font-size:0.75rem;color:#92a2a8;margin:0}
.account-card-head .status-chip{font-size:0.75rem;padding:4px 6px}
.account-card dl{margin:0;font-size:0.75rem}
.account-card dl div{display:flex;justify-content:space-between;gap:12px;margin:12px 0}
.account-card dt{color:#8ea0a8;white-space:nowrap}
.account-card dd{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5c7a82}
.webhook-field{display:flex;gap:5px;align-items:center;background:#f6f9fa;border:1px solid #eaf0f2;border-radius:6px;margin-top:14px;padding:6px 5px 6px 9px}
.webhook-field code{font-size:0.75rem;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7e939c}
.webhook-field .icon-button{width:24px;height:24px}
.webhook-field .icon{height:13px;width:13px}
.account-card-actions{border-top:1px solid #edf1f2;margin-top:17px;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.account-card-actions button{font-size:0.75rem}
.toggle{position:relative;width:31px;height:18px;background:#cfd9dd;border-radius:20px;padding:0;flex:none}
.toggle:after{content:"";position:absolute;width:12px;height:12px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}
.toggle.on{background:#359b80}
.toggle.on:after{transform:translateX(13px)}
.toggle-label{display:flex;align-items:center;gap:6px;color:#889ca4;font-size:0.75rem}
.provider-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:13px}
.provider-card{border:1px solid #e4ebed;background:white;border-radius:9px;padding:17px;display:flex;flex-direction:column;align-items:flex-start}
.provider-card-top{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.provider-card h4{font-size:0.75rem;margin:0 0 5px}
.provider-card .account-type{color:#8da0a8;font-size:0.75rem}
.provider-card p{font-size:0.75rem;line-height:1.8;color:#8b9da6;margin:0 0 17px;flex:1}
.provider-card .secondary-button{font-size:0.75rem;padding:7px 11px;min-height:31px;width:100%}
.provider-card.unavailable{background:#f8fafb}
.provider-card.unavailable .provider-icon{filter:saturate(.5);opacity:.7}
.provider-card .planned-label{font-size:0.75rem;color:#98a6ad;border:1px dashed #d6e1e5;border-radius:5px;text-align:center;display:block;width:100%;padding:8px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}
.stat-card{background:#fff;border:1px solid #e5ebee;border-radius:11px;padding:21px}
.stat-label{font-size:0.75rem;color:#91a1a8;display:flex;align-items:center;gap:8px}
.stat-label .icon{width:16px;height:16px;color:#5e9d85}
.stat-value{font-size:2.188rem;font-weight:650;letter-spacing:-1px;margin:19px 0 8px;color:#264b53}
.stat-footnote{font-size:0.75rem;color:#9cabb1}
.analytics-panel{border:1px solid #e2eaed;background:white;border-radius:11px;padding:25px;margin-bottom:23px}
.analytics-panel h3{font-size:0.8125rem;margin:0 0 7px}
.analytics-panel>p{font-size:0.75rem;line-height:1.8;color:#91a4ad;margin:0 0 25px}
.bar-row{display:grid;grid-template-columns:140px minmax(0,1fr) 40px;align-items:center;gap:15px;margin:21px 0;font-size:0.75rem;color:#648089}
.bar-label{display:flex;align-items:center;gap:9px}
.bar-label .provider-icon{width:23px;height:23px;border-radius:7px;font-size:0.75rem}
.bar-track{height:9px;border-radius:6px;background:#f0f5f5;overflow:hidden}
.bar-fill{height:100%;border-radius:6px;background:#7cbca0;min-width:0;transition:width .2s}
.bar-count{text-align:right;font-weight:600}
.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}
.settings-card{background:white;border:1px solid #e2eaed;border-radius:10px;padding:24px}
.settings-card h3{font-size:0.8125rem;margin:0 0 21px}
.settings-card p{font-size:0.75rem;color:#8197a0;line-height:1.9}
.settings-row{padding:15px 0;border-bottom:1px solid #edf1f3;display:flex;justify-content:space-between;gap:15px;font-size:0.75rem;line-height:1.7}
.settings-row:last-child{border-bottom:0}
.settings-row>span{color:#8b9fa8}
.settings-row strong{font-weight:500;text-align:right}
.doc-link{display:flex;gap:12px;text-decoration:none;border:1px solid #e4ecea;border-radius:7px;padding:15px;margin:12px 0;align-items:center}
.doc-link .icon{color:#6ba18a}
.doc-link strong{font-size:0.75rem;display:block;font-weight:600;color:#56796d}
.doc-link span{font-size:0.75rem;display:block;color:#93a6a9;margin-top:5px}
.doc-link>.icon:last-child{margin-left:auto;height:15px;width:15px}
.security-note{border-top:1px solid #eaf0ec;padding-top:15px;margin-top:20px!important;font-size:0.75rem!important}
.modal-backdrop{position:fixed;inset:0;background:#0c2f3e65;backdrop-filter:blur(4px);z-index:30;display:flex;align-items:center;justify-content:center;padding:25px}
.modal{width:490px;max-width:100%;max-height:92dvh;overflow:auto;background:white;border-radius:15px;box-shadow:0 20px 100px #062a4133}
.modal-header{padding:24px 27px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f2}
.modal-header h2{font-size:1.062rem;margin:0}
.modal-body{padding:23px 27px}
.form-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:0.75rem}
.form-field label{font-weight:550;color:#506f77}
.form-field input,.form-field select{padding:11px 12px;border:1px solid #dfe8eb;border-radius:7px;width:100%;background:#fff;color:#45656f;font-size:0.75rem}
.form-field input::placeholder{color:#aab8bf}
.field-hint{font-size:0.75rem;color:#91a4ac;line-height:1.7}
.modal-note{font-size:0.75rem;color:#879da6;line-height:1.9;margin:0 0 22px;background:#f5f9f7;padding:12px 15px;border-radius:7px}
.modal-note a{font-size:0.75rem;display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.form-error{background:#fff1ed;color:#b96a5d;padding:12px;font-size:0.75rem;border-radius:6px;line-height:1.7;margin:12px 0}
.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}
.required-star{color:#be826c;margin-left:3px}
.toast{background:#16433f;color:#e4f6ed;box-shadow:var(--shadow);padding:13px 18px;border-radius:9px;max-width:410px;font-size:0.75rem;line-height:1.7;margin:10px 0;animation:slide-in .2s ease}
.toast.error{background:#7b433b;color:#fff0ec}
#toast-root{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 35px)}
.loading-state{font-size:0.75rem;color:#91a5ae;text-align:center;padding:35px}
.initial-loading{height:100dvh;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:16px;background:#f3f8f6;color:#6d8b80}
.initial-loading .brand-symbol{width:56px;height:56px;font-size:2.938rem}
.initial-loading p{font-size:0.8125rem}
.auth-page{min-height:100dvh;background:#f0f6f3;display:grid;grid-template-columns:1fr 1fr}
.auth-story{background:#123e43;display:flex;flex-direction:column;justify-content:center;padding:70px max(40px,7vw);color:#cce3dc;position:relative;overflow:hidden}
.auth-story:before{content:"";width:450px;height:450px;border:1px solid #fff1;border-radius:50%;position:absolute;right:-210px;bottom:-120px}
.auth-story .brand{padding:0;margin-bottom:60px}
.auth-story h1{font-size:2.5rem;font-weight:600;line-height:1.5;letter-spacing:-1px;color:#eff8f4;margin:0 0 20px}
.auth-story p{font-size:0.8125rem;line-height:2;color:#98bdb5;max-width:350px}
.auth-story .auth-tagline{font-size:0.75rem;letter-spacing:2px;color:#78ad9a;margin-top:55px}
.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:40px}
.auth-form{width:350px;max-width:100%}
.auth-form h2{font-size:1.5rem;margin:0 0 12px;font-weight:600}
.auth-form>p{font-size:0.75rem;color:#8da09e;line-height:1.9;margin:0 0 30px}
.auth-form .form-field input{background:white}
.auth-form .primary-button{width:100%;margin-top:5px;padding:13px}
.auth-footer{font-size:0.75rem;color:#9aabaa;text-align:center;margin-top:25px;line-height:1.9}
.sidebar-scrim{display:none}
.error-panel{margin:20px;border:1px solid #efd4cb;background:#fff9f5;color:#af7463;padding:15px;border-radius:8px;font-size:0.75rem;line-height:1.8}
.error-panel button{display:block;color:#856759;margin-top:10px;text-decoration:underline;padding:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes slide-in{from{transform:translateY(8px);opacity:0}
to{transform:translateY(0);opacity:1}
}
@media(min-width:1600px){.inbox{grid-template-columns:350px minmax(400px,1fr) 280px}
.chat-stream{padding-left:45px;padding-right:45px}
.contact-section{margin-left:25px;margin-right:25px}
.chat-composer-area{padding-left:40px;padding-right:40px}
}
@media(max-width:1270px){.app-shell{grid-template-columns:192px minmax(0,1fr)}
.sidebar{padding-left:12px;padding-right:12px}
.inbox{grid-template-columns:305px minmax(330px,1fr)}
.contact-pane{display:none}
.contact-pane.mobile-open{display:block;position:fixed;right:0;top:83px;bottom:0;width:280px;z-index:12;box-shadow:-10px 0 30px #24495710}
.topbar{padding:0 24px}
.chat-header{padding-left:20px;padding-right:20px}
.today{display:none}
.stat-grid{gap:12px}
.stat-card{padding:18px}
}
@media(max-width:1000px){.app-shell{grid-template-columns:77px minmax(0,1fr)}
.sidebar{padding:25px 12px 14px;align-items:center}
.brand{padding:0;gap:0}
.brand-name,.brand-subtitle,.workspace-card,.nav-label,.nav-button span,.user-card>div:not(.user-avatar),.connection-note,.user-card .icon-button{display:none}
.sidebar nav{margin-top:45px;width:100%}
.nav-button{justify-content:center;padding:12px 0;margin-bottom:10px}
.sidebar-bottom{width:100%}
.user-card{justify-content:center;padding:10px 0}
.sidebar-bottom .nav-button{margin-bottom:22px}
.topbar{min-height:76px;height:76px}
.inbox{grid-template-columns:285px minmax(320px,1fr)}
.chat-person h2{font-size:0.75rem}
.chat-stream{padding:20px}
.chat-composer-area{padding:15px 17px}
.content-page{padding:28px}
.stat-grid{grid-template-columns:repeat(2,1fr)}
.contact-pane.mobile-open{top:76px}
.topbar-right{gap:10px}
.settings-grid{grid-template-columns:1fr}
.auth-story{padding:45px}
.auth-story h1{font-size:2.062rem}
.page-title{font-size:1.125rem}
}
@media(max-width:740px){.app-shell{min-height:0;grid-template-columns:minmax(0,1fr)}
.sidebar{display:none}
.sidebar.mobile-visible{display:flex;position:fixed;inset:0 auto 0 0;width:220px;z-index:25;align-items:stretch;padding:28px 18px 18px}
.sidebar.mobile-visible .brand{padding:0 12px;gap:11px}
.sidebar.mobile-visible .brand-name,.sidebar.mobile-visible .brand-subtitle,.sidebar.mobile-visible .workspace-card,.sidebar.mobile-visible .nav-label,.sidebar.mobile-visible .nav-button span,.sidebar.mobile-visible .connection-note{display:flex}
.sidebar.mobile-visible .nav-button{justify-content:flex-start;padding:12px 14px;margin:3px 0}
.sidebar.mobile-visible nav{margin-top:0}
.sidebar.mobile-visible .user-card{justify-content:flex-start;padding:12px 9px}
.sidebar.mobile-visible .user-card>div:not(.user-avatar){display:block}
.sidebar.mobile-visible .user-card .icon-button{display:grid}
.sidebar.mobile-visible .nav-label{margin-bottom:12px}
.sidebar-scrim.visible{display:block;position:fixed;inset:0;background:#133f4555;z-index:24;backdrop-filter:blur(2px)}
.mobile-nav-button{display:grid}
.topbar{height:72px;min-height:72px;padding:0 16px}
.topbar-left{gap:10px}
.topbar-right .live-status{display:none}
.page-eyebrow{font-size:0.75rem;margin-bottom:4px}
.page-title{font-size:1rem}
.trial-badge{font-size:0.75rem;padding:6px 8px}
.trial-badge .icon{width:12px;height:12px}
.inbox{display:flex}
.conversation-pane{width:100%;border:0}
.chat-pane,.contact-pane{display:none}
.inbox.chat-visible .conversation-pane{display:none}
.inbox.chat-visible .chat-pane{display:flex;width:100%}
.inbox-heading{padding:22px 22px 16px}
.conversation-row{padding:19px 22px;min-height:100px}
.conversation-preview{font-size:0.75rem}
.contact-name{font-size:0.8125rem}
.conversation-time{font-size:0.75rem}
.channel-name{font-size:0.75rem}
.avatar{width:42px;height:42px}
.inbox-tabs{padding-left:20px;gap:10px}
.filter-tab{font-size:0.75rem;padding:8px 10px}
.search-wrap input{font-size:0.75rem;height:41px}
.search-wrap .icon{top:12px}
.channel-filter-row{padding:10px 20px}
.filter-select{font-size:0.75rem}
.chat-header{padding:13px 13px;min-height:77px;gap:8px}
.chat-person{gap:8px}
.mobile-back{display:grid;width:23px}
.chat-person .avatar{height:33px;width:33px;font-size:0.75rem}
.chat-actions{gap:3px}
.chat-actions .outline-button{font-size:0.75rem;padding:8px}
.chat-actions .outline-button .icon{width:13px;height:13px}
.chat-person h2{font-size:0.75rem;margin-bottom:4px}
.person-subtitle{font-size:0.75rem;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.chat-stream{padding:20px 15px}
.message{max-width:91%}
.message-bubble{font-size:0.75rem;padding:10px 13px}
.chat-composer-area{padding:12px 13px}
.composer-hint{font-size:0.75rem}
.contact-pane.mobile-open{top:72px;width:min(300px,85vw);z-index:20}
.content-page{padding:25px 20px}
.page-intro{align-items:flex-start;flex-wrap:wrap;margin-bottom:23px}
.page-intro h2{font-size:1.25rem}
.page-intro p{font-size:0.75rem}
.page-intro .primary-button{font-size:0.75rem;padding:9px 12px}
.info-banner{font-size:0.75rem;padding:15px}
.account-grid{grid-template-columns:1fr}
.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.provider-card{padding:14px}
.provider-card-top{gap:8px}
.provider-card h4{font-size:0.75rem}
.provider-card .provider-icon{height:25px;width:25px;font-size:0.75rem}
.provider-card p{font-size:0.75rem}
.provider-card .account-type{font-size:0.75rem}
.stat-grid{gap:10px}
.stat-card{padding:17px 14px}
.stat-label{font-size:0.75rem;gap:6px}
.stat-value{font-size:1.875rem}
.stat-footnote{font-size:0.75rem}
.analytics-panel{padding:21px 17px}
.bar-row{grid-template-columns:105px minmax(0,1fr) 20px;gap:10px;font-size:0.75rem}
.settings-card{padding:20px}
.modal-backdrop{padding:15px}
.modal-header{padding:21px 22px 17px}
.modal-body{padding:21px 22px}
.modal{max-height:90dvh}
.auth-page{grid-template-columns:1fr}
.auth-story{display:none}
.auth-form-panel{padding:35px 25px}
.auth-form:before{content:"GoChat";display:block;color:#34725e;font-size:1.625rem;font-weight:700;letter-spacing:-1px;margin-bottom:45px}
.auth-form h2{font-size:1.375rem}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}


@media(min-width:1271px){.inbox.details-hidden{grid-template-columns:325px minmax(340px,1fr)}
.inbox.details-hidden .contact-pane{display:none}
}
@media(min-width:1600px){.inbox.details-hidden{grid-template-columns:350px minmax(400px,1fr)}
}


/* Thai text needs readable body sizes at every viewport. */
body{font-size:1rem}
.nav-button,.filter-tab,.filter-select,.primary-button,.secondary-button,.outline-button,.form-field,.form-field input,.form-field select,.detail-select,.detail-row,.settings-row,.doc-link strong,.account-card h4,.provider-card h4,.provider-card .secondary-button,.toast,.contact-name,.conversation-preview{font-size:.875rem}
.message-bubble,#message-body,.auth-form>p,.auth-story p{font-size:1rem;line-height:1.8}
.contact-name{font-weight:650}
.chat-person h2,.inbox-heading h2,.settings-card h3,.analytics-panel h3{font-size:1rem}
.person-subtitle,.channel-name,.message-meta,.field-hint,.provider-card p,.provider-card .account-type,.info-banner,.modal-note,.security-note,.settings-card p,.stat-label,.form-error,.composer-hint{font-size:.875rem!important;line-height:1.7}
.inbox-tabs{overflow-x:auto;flex-shrink:0}
.filter-tab{white-space:nowrap}
.conversation-row{min-height:112px}
.chat-person{min-width:0}
.chat-person h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-person>div{min-width:0}
.chat-header{min-height:90px}
.provider-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}
.account-card-actions{flex-wrap:wrap;gap:10px}
.account-card-actions .secondary-button{font-size:.875rem}
.provider-card .planned-label{font-size:.75rem}
.brand-subtitle{letter-spacing:.5px;margin-left:0;text-align:center}
.nav-label{letter-spacing:1px}
.workspace-name,.user-name{font-size:.875rem}
.workspace-label,.user-role,.page-eyebrow,.today,.trial-badge{font-size:.75rem}
.contact-pane{overflow:auto}
.form-field input:disabled{background:#f3f6f7;color:#70838a}
.bar-label{overflow-wrap:anywhere}
.auth-form{width:390px}
.stat-label{line-height:1.5}
.stat-footnote{line-height:1.6}

@media(max-width:740px){.provider-grid{grid-template-columns:1fr}
.chat-header{flex-wrap:wrap}
.chat-person h2{font-size:.875rem}
.chat-actions{margin-left:auto}
.chat-actions .outline-button{font-size:.75rem}
.message-bubble{font-size:1rem}
.person-subtitle{max-width:180px}
.inbox-tabs{gap:3px}
.filter-tab{font-size:.875rem}
.chat-composer-area{flex-shrink:0}
.auth-form:before{font-size:1.625rem}
.page-eyebrow{display:none}
.conversation-row{min-height:112px}
.page-title{font-size:1.125rem}
}


/* Secondary copy remains readable against the white working surface. */
.person-subtitle,.channel-name,.message-meta,.field-hint,.provider-card p,.provider-card .account-type,.settings-card p,.stat-label,.stat-footnote,.composer-hint,.form-field label,.modal-note,.analytics-panel>p,.doc-link span,.conversation-footer{color:#617780}.message-error,.form-error{color:#9c413b}.workspace-label,.user-role,.connection-note{color:#aec6c8}

/* Shared team tools and FAQ automation extend the original inbox. */
.sidebar nav{min-height:0;overflow-y:auto;flex-shrink:1}
.sidebar-bottom{flex-shrink:0}
.secondary-filters{padding-top:0;flex-shrink:0}
.secondary-filters input{min-width:0;width:45%;background:#fff;border:1px solid #e1e9eb;border-radius:6px;padding:9px 8px;color:#45656f}
.saved-reply-row{display:flex;align-items:center;gap:10px;padding:10px 14px 0;font-size:.875rem}
.saved-reply-row label{color:#617780;display:flex;align-items:center;gap:5px;white-space:nowrap}
.saved-reply-row select{min-width:0;flex:1;border:1px solid #dfe8eb;border-radius:6px;padding:7px;color:#45656f;background:white;font:inherit}
.text-button{padding:3px 0;color:#26745f;font-size:.875rem;line-height:1.6;text-decoration:underline;text-underline-offset:3px;background:none;border:0}
.text-button:hover{color:#123e43}
.text-button.danger{color:#a8483e}
.text-button:disabled{opacity:.5}
.demo-composer-note{line-height:1.6}
.demo-composer-note .text-button{font-size:.875rem;display:inline;margin-left:6px}
.compact-heading,.bot-mode-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.compact-heading .section-label{margin:0}
.contact-profile{margin:15px 0 20px;font-size:.875rem;line-height:1.7}
.contact-profile div{margin:9px 0}
.contact-profile dt{color:#617780}
.contact-profile dd{margin:2px 0 0;overflow-wrap:anywhere;color:#365d66}
.contact-summary{white-space:pre-wrap;font-size:.875rem;line-height:1.8;overflow-wrap:anywhere;margin:7px 0;color:#45656f}
.bot-mode-row{flex-wrap:wrap}
.bot-mode-row .status-chip{font-size:.875rem;line-height:1.6}
.tag{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}
button.tag{cursor:pointer;white-space:normal;text-align:left}
button.tag:hover{border-color:#5c9f84;background:#e0f0e6}
.form-field textarea{padding:11px 12px;border:1px solid #dfe8eb;border-radius:7px;width:100%;background:#fff;color:#45656f;font:inherit;font-size:1rem;line-height:1.7;resize:vertical;min-height:95px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.feature-modal{width:600px}
.feature-modal .form-field,.feature-modal .form-field input,.feature-modal .form-field select{font-size:.875rem}
.feature-modal .modal-note,.feature-modal .checkbox-field{font-size:.875rem}
.checkbox-field{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;color:#365d66;line-height:1.7;margin:0 0 18px;cursor:pointer}
.checkbox-field input{width:18px;height:18px;margin:3px 0 0;accent-color:#2b826b;flex-shrink:0}
input[type=color]{height:44px;padding:5px;width:95px}
input[type=number]{max-width:180px}
.reply-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.reply-card{padding:20px;border:1px solid #e1e9e5;border-radius:10px;background:#fcfefd;display:flex;flex-direction:column;min-width:0}
.reply-card h4{font-size:1rem;margin:0 0 10px;color:#264b53}
.reply-card p{font-size:1rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px;flex:1;color:#45656f}
.inline-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.inline-actions .secondary-button,.export-actions a{text-decoration:none;font-size:.875rem}
.tag-manager{display:flex;flex-wrap:wrap;gap:12px}
.tag-manager-item{display:flex;align-items:center;gap:12px;border:1px solid #e5ece8;border-radius:8px;padding:10px 13px}
.tag-manager-item .tag{margin:0}
.table-scroll{overflow-x:auto;max-width:100%;margin-top:14px}
.data-table{width:100%;border-collapse:collapse;font-size:.875rem;text-align:left;line-height:1.7}
.data-table th{font-weight:600;color:#617780;padding:12px 14px;border-bottom:1px solid #dce8e2;background:#f7faf8;white-space:nowrap}
.data-table td{padding:14px;vertical-align:top;border-bottom:1px solid #e8efeb;color:#365d66;overflow-wrap:anywhere}
.data-table tbody tr:last-child td{border-bottom:0}
.data-table td strong{font-weight:600;font-size:.9375rem}
.table-secondary{display:block;color:#617780;font-size:.875rem;line-height:1.7;margin-top:3px}
.table-secondary.text-button{display:flex;align-items:center;gap:3px;text-align:left}
.table-select{font:inherit;color:#365d66;border:1px solid #dfe8eb;border-radius:6px;padding:8px;background:white;min-width:110px}
.table-select:disabled{background:#f2f6f4}
.table-empty{text-align:center;padding:30px!important;color:#617780!important}
.table-answer,.table-message{white-space:pre-wrap;min-width:170px;max-width:360px;overflow-wrap:anywhere}
.table-answer{max-height:180px;overflow:auto}
.metric-row{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:.875rem;color:#365d66;line-height:1.7;margin-top:18px}
.metric-row strong{font-size:1.125rem;margin-left:5px;color:#264b53}
.bot-metrics{padding:15px 22px;border:1px solid #dfe9e3;border-radius:9px;background:white;margin:0 0 22px}
.bot-settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;margin-bottom:25px}
.days-field{border:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 18px}
.days-field legend{font-size:.875rem;color:#506f77;font-weight:550;margin:0 0 10px}
.days-field label{cursor:pointer}
.days-field label input{position:absolute;opacity:0;pointer-events:none}
.days-field label span{display:block;min-width:40px;padding:8px 7px;border:1px solid #dfe8eb;border-radius:7px;text-align:center;color:#617780;font-size:.875rem}
.days-field input:checked+span{border-color:#418e70;background:#e7f5eb;color:#266047}
.days-field input:focus-visible+span{outline:3px solid #74aa98;outline-offset:2px}
.preview-result{padding:18px;border:1px solid #dce9e0;border-radius:8px;background:#f5faf6;margin-top:20px;font-size:.875rem;line-height:1.8;min-height:95px}
.preview-result strong{color:#365e4b}
.preview-result p{margin:8px 0}
.preview-answer{font-size:1rem!important;white-space:pre-wrap;color:#365d66!important;overflow-wrap:anywhere}
.automation-help{border-top:1px solid #e6eeea;margin-top:25px;padding-top:12px}
.automation-help h4{font-size:.9375rem;font-weight:600;color:#365d66;margin:10px 0}
.automation-help ol{padding-left:22px;font-size:.875rem;line-height:1.9;color:#617780}
.automation-help li{padding:4px 0}
.demo-feature-box{background:#f5f8fa;border:1px solid #e1e9ee;border-radius:8px;padding:17px;margin-top:18px}
.demo-feature-box strong{font-size:.9375rem;color:#365d66;line-height:1.8}
.demo-feature-box p{font-size:.875rem;line-height:1.8;margin:8px 0 15px}
.bot-page .analytics-panel>p{font-size:.875rem}
.tag-presets{margin:-3px 0 18px}
.feature-modal .modal-footer{position:sticky;bottom:-23px;background:white;padding:14px 0;border-top:1px solid #edf1f2}
@media(max-width:1270px){.bot-settings-grid{grid-template-columns:1fr}.bot-preview-card{min-width:0}.bot-mode-row .text-button{font-size:.875rem}.saved-reply-row{flex-wrap:wrap;gap:6px}.saved-reply-row select{flex-basis:100%}}
@media(max-width:1000px){.sidebar nav{margin-top:25px}.sidebar .nav-button{margin-bottom:5px}.sidebar-bottom .nav-button{margin-bottom:12px}.data-table th,.data-table td{padding:11px}.metric-row{gap:12px 20px}}
@media(max-width:740px){.form-grid{grid-template-columns:1fr;gap:0}.reply-grid{grid-template-columns:1fr}.feature-modal{width:100%}.saved-reply-row{flex-wrap:nowrap;font-size:.875rem}.saved-reply-row label{max-width:115px;white-space:normal;line-height:1.4}.saved-reply-row select{flex-basis:auto;max-width:100%;width:100px}.content-page .section-heading{flex-wrap:wrap}.export-actions{align-items:stretch}.export-actions a{flex:1 1 100%;justify-content:center}.tag-manager-item{width:100%;flex-wrap:wrap}.data-table{min-width:510px}.bot-metrics{padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.bot-metrics span{display:flex;flex-direction:column}.bot-metrics strong{margin:4px 0 0}.feature-modal .modal-footer{bottom:-21px}.sidebar.mobile-visible nav{margin-top:0;overflow:auto}}
/* Helpdesk, routing and website channel management */
.sidebar>nav{overflow-y:auto;min-height:0;flex:1;padding-bottom:8px}.sidebar-bottom{flex:none}.desk-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px}.desk-checks{display:flex;align-items:center;flex-wrap:wrap;gap:15px;font-size:.875rem;margin:13px 0 22px}.desk-checks label,.desk-agent-pool label{display:flex;gap:8px;align-items:center}.desk-checks input,.desk-agent-pool input,input[data-desk-select]{width:17px;height:17px;accent-color:#198773;flex:none}.desk-saved-views{display:flex;gap:12px;overflow:auto;padding-bottom:14px;margin-bottom:12px}.queue-shortcut{background:#fff;border:1px solid #dce8e1;border-radius:8px;display:flex;align-items:center;min-width:170px;text-align:left;padding:13px 16px;gap:12px}.queue-shortcut>button:first-child{padding:0;text-align:left;flex:1}.queue-shortcut strong{display:block;font-size:.9375rem;font-weight:600;color:#245749}.queue-shortcut span{font-size:.8125rem;color:#647e72;display:block;margin-top:6px}.queue-shortcut .icon-button{width:22px;height:22px}.queue-shortcut .icon-button .icon{width:15px;height:15px}.desk-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.desk-list-toolbar h3{margin-bottom:4px}.desk-list-toolbar p{margin:0}.desk-list-toolbar .inline-actions{font-size:.875rem}.desk-ellipsis{max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desk-agent-pool{border:1px solid #dce6df;border-radius:7px;padding:15px;margin:10px 0 18px;display:flex;gap:15px;flex-wrap:wrap}.desk-agent-pool legend{font-size:.875rem;color:#64776e;padding:0 5px}.desk-agent-pool label{font-size:.875rem}.desk-flow-explain{font-size:1rem;line-height:1.9;color:#526e62;padding-left:24px}.desk-flow-explain li+li{margin-top:9px}.desk-log-text{max-width:270px;overflow-wrap:anywhere}.desk-stat-value{font-size:1.6rem;line-height:1.5}.desk-current-work{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.desk-current-work>span{font-size:.875rem;color:#647e72}.desk-current-work strong{display:block;font-size:2rem;color:#285647;margin-top:10px;font-weight:600}.desk-sale-total{font-size:2rem;font-weight:600;color:#246a52;margin:20px 0}.desk-widget-origins{font-size:.875rem;color:#546e62;margin:15px 0;overflow-wrap:anywhere}.desk-code{display:block;width:100%;resize:vertical;min-height:95px;background:#f5f8f6;border:1px solid #dce6df;border-radius:6px;padding:14px;font: .875rem/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#365c4c;margin:8px 0 18px;overflow-wrap:anywhere}.analytics-panel .table-secondary{font-size:.875rem;line-height:1.6}.analytics-panel td .tag-list{margin-top:8px}.analytics-panel .field-label{font-size:.875rem}.desk-saved-views button:focus-visible,.desk-saved-views a:focus-visible{outline:3px solid #70bc95;outline-offset:3px}
@media(max-width:1150px){.desk-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-list-toolbar{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:700px){.desk-filter-grid{grid-template-columns:1fr}.desk-list-toolbar{gap:12px}.desk-list-toolbar .inline-actions{flex-wrap:wrap}.desk-current-work{gap:14px}.desk-agent-pool{display:grid;grid-template-columns:1fr 1fr}.desk-ellipsis{max-width:220px}.desk-saved-views{margin-right:-10px}.queue-shortcut{min-width:150px}.desk-code{font-size:.8125rem}.sidebar>nav{overscroll-behavior:contain}}
