:root{color:#162033;background:#eef2f7;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}input,textarea,button{font:inherit}.loginPage{background:linear-gradient(135deg,#dcfce7,#eef2ff);place-items:center;min-height:100vh;display:grid}.loginCard{background:#fff;border:1px solid #e5e7eb;border-radius:28px;flex-direction:column;gap:12px;width:390px;padding:32px;display:flex;box-shadow:0 18px 50px #0f172a1f}.loginCard h1{margin:8px 0 0}.loginCard p,.loginCard span{color:#64748b}.loginCard input,.insight input,.insight textarea{border:1px solid #d1d5db;border-radius:12px;width:100%;padding:10px 12px}.logo.large{width:56px;height:56px}.wide{justify-content:center;width:100%}.app{min-height:100vh;display:flex}.sidebar{color:#fff;background:#0f172a;flex-direction:column;gap:28px;width:260px;padding:24px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand span{color:#94a3b8;font-size:13px;display:block}.logo{background:#16a34a;border-radius:14px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}nav{flex-direction:column;gap:8px;display:flex}nav a{color:#cbd5e1;border-radius:12px;align-items:center;gap:10px;padding:12px;text-decoration:none;display:flex}nav a.active,nav a:hover{color:#fff;background:#1e293b}main{flex:1;padding:24px;overflow:auto}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.metrics.five{grid-template-columns:repeat(5,minmax(0,1fr))}.metric{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 8px 22px #0f172a0d}.metric div{color:#16a34a}.metric.warn div{color:#f97316}.metric span{color:#64748b;margin-top:8px;font-size:13px;display:block}.metric strong{font-size:28px}.workspace{grid-template-columns:320px minmax(420px,1fr) 300px;gap:16px;height:calc(100vh - 150px);display:grid}.workspace.expanded{grid-template-columns:340px minmax(450px,1fr) 360px}.conversationList,.chatPanel,.insightPanel{background:#fff;border:1px solid #e5e7eb;border-radius:22px;overflow:hidden;box-shadow:0 8px 22px #0f172a0d}.panelTitle{border-bottom:1px solid #e5e7eb;padding:16px 18px;font-weight:800}.conversation{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eef2f7;width:100%;padding:14px 16px}.conversation.selected{background:#f0fdf4}.conversation p{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:6px 0;overflow:hidden}.row{justify-content:space-between;gap:12px;display:flex}.small{color:#64748b;font-size:12px}.chatPanel{flex-direction:column;display:flex}.chatHeader{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.chatHeader h2{margin:0;font-size:20px}.chatHeader p{color:#64748b;margin:4px 0 0;font-size:13px}.modeSwitch{background:#f1f5f9;border-radius:12px;padding:4px;display:flex}.modeSwitch button{cursor:pointer;background:0 0;border:0;border-radius:10px;padding:8px 10px}.modeSwitch button.on{color:#fff;background:#16a34a}.messages{background:#f8fafc;flex:1;padding:18px;overflow:auto}.bubble{background:#fff;border:1px solid #e5e7eb;border-radius:16px;max-width:76%;margin:10px 0;padding:10px 12px}.bubble.out{background:#dcfce7;border-color:#bbf7d0;margin-left:auto}.bubble span{color:#64748b;font-size:11px}.bubble p{margin:4px 0 0}.replyBox{background:#fff;border-top:1px solid #e5e7eb;padding:14px}.replyBox textarea{resize:none;width:100%;height:86px;font:inherit;border:1px solid #d1d5db;border-radius:14px;padding:12px}.actions{justify-content:flex-end;gap:10px;margin-top:10px;display:flex}.actions button,.templateRow button,.miniSection button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;align-items:center;gap:6px;padding:10px 14px;display:flex}.templateRow{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.templateRow span{gap:4px;display:inline-flex}.templateRow button{padding:7px 10px;font-size:12px}.templateRow .sendTpl{color:#fff;background:#0f172a;border-color:#0f172a}.policyBox{color:#166534;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:9px 10px;font-size:12px;display:flex}.policyBox.warn{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.policyBox span{color:inherit;flex:1}.policyBox button{cursor:pointer;background:#fff;border:0;border-radius:10px;padding:6px 8px}.miniSection{border-top:1px solid #e5e7eb;padding:14px 16px}.miniSection p{color:#475569;border-bottom:1px solid #eef2f7;padding-bottom:10px;font-size:13px}.miniSection span{color:#64748b}.miniSection button{margin-top:6px;padding:6px 9px;font-size:12px}.actions button.primary,button.primary{color:#fff;background:#16a34a;border-color:#16a34a}.insightPanel{overflow:auto}.insight{border-bottom:1px solid #eef2f7;flex-direction:column;gap:9px;padding:16px 18px;display:flex}.insight strong{align-items:center;gap:6px;display:flex}.insight p{color:#475569;margin:3px 0}.insight em{color:#16a34a;font-style:normal}.insight span{color:#64748b;max-height:44px;margin-top:4px;font-size:13px;display:block;overflow:hidden}.funnel p{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:5px 0;display:flex}.funnel p span{margin:0}.funnel p b{color:#166534;background:#dcfce7;border-radius:999px;padding:2px 8px}.empty{color:#64748b;place-items:center;height:100%;display:grid}@media (width<=1100px){.sidebar{display:none}.metrics{grid-template-columns:repeat(2,1fr)}.workspace{grid-template-columns:1fr;height:auto}.conversationList,.chatPanel,.insightPanel{min-height:360px}}.simPage{background:linear-gradient(135deg,#dcfce7,#e0f2fe);min-height:100vh;padding:28px}.simShell{grid-template-columns:300px minmax(420px,1fr) 320px;gap:18px;max-width:1400px;margin:0 auto;display:grid}.simConfig,.phoneMock,.simInsight{background:#fff;border:1px solid #e5e7eb;border-radius:28px;overflow:hidden;box-shadow:0 18px 50px #0f172a1a}.simConfig,.simInsight{padding:22px}.simConfig h1{margin:0 0 8px;font-size:24px}.simConfig p,.simConfig span,.simInsight p{color:#64748b}.simConfig label{flex-direction:column;gap:6px;margin:14px 0;font-weight:700;display:flex}.simConfig a.backLink{color:#16a34a;margin-top:14px;font-weight:700;text-decoration:none;display:block}.simConfig button.wide{justify-content:center;align-items:center;gap:8px;margin-top:8px;display:flex}.phoneMock{background:#efeae2;flex-direction:column;height:calc(100vh - 56px);display:flex}.phoneMock header{color:#fff;background:#075e54;flex-direction:column;padding:16px 18px;display:flex}.phoneMock header span{color:#d1fae5;font-size:12px}.phoneMessages{background:linear-gradient(#efeae2eb,#efeae2eb);flex:1;padding:18px;overflow:auto}.phoneBubble{border-radius:14px;max-width:78%;margin:10px 0;padding:9px 12px;box-shadow:0 1px 2px #00000014}.phoneBubble.customer{background:#fff;margin-right:auto}.phoneBubble.agent{background:#dcf8c6;margin-left:auto}.phoneBubble small{color:#64748b;margin-bottom:3px;font-size:11px;display:block}.phoneBubble p{white-space:pre-wrap;margin:0}.phoneMock footer{background:#f0f2f5;gap:10px;padding:12px;display:flex}.phoneMock textarea{resize:none;border:0;border-radius:18px;flex:1;height:74px;padding:12px}.phoneMock footer button{border-radius:18px;align-items:center;gap:7px;display:flex}.simEmpty{color:#64748b;text-align:center;place-items:center;height:100%;display:grid}.simInsight h2{margin-top:0}.simInsight h3{margin-bottom:8px}.simInsight span{color:#475569;white-space:pre-wrap;max-height:130px;font-size:13px;display:block;overflow:auto}@media (width<=1100px){.simShell{grid-template-columns:1fr}.phoneMock{height:720px}}.loginError{background:#fee2e2;border-radius:10px;padding:8px 10px;color:#b91c1c!important}.loginHint{color:#64748b!important;font-size:12px!important}nav button{color:#cbd5e1;cursor:pointer;text-align:left;font:inherit;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;width:100%;padding:12px;text-decoration:none;display:flex}nav button.active,nav button:hover{color:#fff;background:#1e293b}.adminPage{background:#fff;border:1px solid #e5e7eb;border-radius:22px;min-height:calc(100vh - 150px);padding:24px;box-shadow:0 8px 22px #0f172a0d}.adminPage h2{margin-top:0}.adminGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0;display:grid}.adminGrid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:18px}.adminGrid b{color:#16a34a;font-size:28px;display:block}.adminGrid span,.adminRow small,.adminCard span{color:#64748b}.adminRow{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.adminCard{white-space:pre-wrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:14px}.simStatus{color:#166534;background:#ecfdf5;border-top:1px solid #bbf7d0;padding:8px 14px;font-size:13px}.simStatus.error{color:#b91c1c;background:#fef2f2;border-top-color:#fecaca}.phoneImage{background:#fff;border-radius:10px;max-width:100%;margin-top:4px;display:block}.sendMode{color:#64748b;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:12px;display:flex}.sendMode label{color:#162033;align-items:center;gap:6px;font-weight:700;display:flex}.sendMode input{width:auto}.compactPanel .insight p{font-size:13px}.flowSteps p{align-items:center;gap:10px;display:flex}.flowSteps p b{color:#166534;background:#dcfce7;border-radius:999px;place-items:center;width:22px;height:22px;font-size:12px;display:grid}.flowSteps p span{color:#475569;max-height:none;margin:0}.uploadBox{grid-template-columns:180px minmax(180px,1fr) minmax(220px,1fr) auto;align-items:center;gap:10px;margin:16px 0;display:grid}.uploadBox select,.uploadBox input{border:1px solid #d1d5db;border-radius:12px;padding:10px 12px}.uploadBox span{color:#166534;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;grid-column:1/-1;padding:9px 10px}@media (width<=1100px){.uploadBox{grid-template-columns:1fr}.sendMode{flex-direction:column;align-items:flex-start}}.listTitle{justify-content:space-between;align-items:center;display:flex}.listTitle em{color:#334155;background:#eef2ff;border-radius:999px;padding:2px 9px;font-size:12px;font-style:normal}.imConversation{grid-template-columns:42px minmax(0,1fr);gap:12px;padding:14px;display:grid}.avatar{color:#fff;background:linear-gradient(135deg,#16a34a,#0ea5e9);border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:13px;font-weight:800;display:grid}.convTop{justify-content:space-between;align-items:center;gap:10px;display:flex}.convTop strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.convTop time{color:#94a3b8;flex:none;font-size:11px}.imConversation p{color:#64748b;margin:4px 0 8px;font-size:13px}.convMeta{flex-wrap:wrap;gap:6px;display:flex}.tag{color:#64748b;background:#f1f5f9;border-radius:999px;align-items:center;padding:2px 7px;font-size:11px;display:inline-flex}.tag.risk{color:#991b1b;background:#fee2e2}.modeSwitch button{min-width:68px}.handoffBox{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.handoffBox button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:8px 12px}.handoffBox small{color:#94a3b8;font-size:11px}.handoffPill{color:#075985;background:#e0f2fe;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800}.handoffPill.live{color:#166534;background:#dcfce7}.sendHint{color:#94a3b8;margin-top:8px;font-size:12px}.templatePicker{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-bottom:10px;display:grid}.templatePicker select{background:#fff;border:1px solid #d1d5db;border-radius:12px;min-width:0;padding:9px 10px}.templatePicker button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:9px 12px}.templatePicker button:disabled{opacity:.45;cursor:not-allowed}.templatePicker .sendTpl{color:#fff;background:#0f172a;border-color:#0f172a}@media (width<=1100px){.templatePicker{grid-template-columns:1fr}}.workspace.chatOnly{grid-template-columns:340px minmax(520px,1fr);height:calc(100vh - 150px)}.flowAdminGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.flowAdminGrid .adminCard{flex-direction:column;gap:9px;display:flex}.flowAdminGrid input,.flowAdminGrid textarea{border:1px solid #d1d5db;border-radius:12px;width:100%;padding:10px 12px}.flowAdminGrid textarea{resize:vertical;min-height:86px}.flowAdminGrid button{cursor:pointer;border:1px solid #16a34a;border-radius:12px;align-self:flex-start;padding:9px 12px}@media (width<=1100px){.workspace.chatOnly,.flowAdminGrid{grid-template-columns:1fr}}.workspace.noTopMetrics{height:calc(100vh - 48px)}.templatePicker.single{grid-template-columns:1fr}.templatePicker.single select{width:100%}.handoffBox{gap:8px}.handoffBox small,.sendHint{display:none}.handoffToggle{cursor:pointer;background:#f1f5f9;border:1px solid #d1d5db;border-radius:999px;grid-template-columns:1fr 1fr;gap:0;width:184px;height:38px;padding:3px;display:grid;position:relative;overflow:hidden}.handoffToggle span{z-index:2;color:#64748b;place-items:center;font-size:12px;font-weight:800;display:grid;position:relative}.handoffToggle i{z-index:1;border-radius:999px;width:88px;height:30px;transition:left .18s,background .18s;position:absolute;top:3px;box-shadow:0 2px 8px #0f172a1f}.handoffToggle.auto i{background:#16a34a;left:3px}.handoffToggle.human i{background:#0ea5e9;left:91px}.handoffToggle.auto span:first-child,.handoffToggle.human span:nth-child(2){color:#fff}.handoffPill,.handoffBox{display:none}.groupBar{background:#f8fafc;border-bottom:1px solid #eef2f7;grid-template-columns:1fr;gap:8px;padding:10px 12px;display:grid}.groupBar select,.groupBar input,.customerTools select{background:#fff;border:1px solid #d1d5db;border-radius:12px;min-width:0;padding:8px 10px}.groupBar div{grid-template-columns:minmax(0,1fr) 36px;gap:6px;display:grid}.groupBar button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;font-weight:900}.customerTools{align-items:center;gap:8px;margin-top:8px;display:flex}.ghostDanger{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:12px;padding:8px 10px}.chatHeader{align-items:flex-start}.chatHeader>div:first-child{min-width:0}.conversationSearch{background:#fff;border:1px solid #d1d5db;border-radius:12px;width:100%;padding:9px 10px}.emptyList{color:#94a3b8;text-align:center;padding:28px 16px;font-size:13px}.convRight{flex:none;align-items:center;gap:7px;display:flex}.unreadDot{background:#ef4444;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 3px #fee2e2}.tag.unread{color:#b91c1c;background:#fee2e2}.chatImage{background:#fff;border:1px solid #e5e7eb;border-radius:12px;max-width:min(320px,100%);margin-top:6px;display:block}.imageAction{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;align-items:center;gap:6px;padding:10px 14px;display:flex}.imageAction input{display:none}.docBubble{color:#0f172a;background:#fff;border:1px solid #d1d5db;border-radius:12px;align-items:center;gap:8px;margin-top:6px;padding:10px 12px;font-weight:700;text-decoration:none;display:inline-flex}.productReview{grid-template-columns:280px 1fr;gap:16px;margin-top:12px;display:grid}.productReview aside{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;gap:8px;max-height:680px;padding:10px;display:flex;overflow:auto}.productReview aside button{text-align:left;cursor:pointer;background:#fff;border:1px solid #eef2f7;border-radius:14px;padding:12px}.productReview aside button.active{background:#ecfdf5;border-color:#86efac}.productReview aside b,.reviewHeader b{display:block}.productReview aside span,.reviewHeader span{color:#64748b;margin-top:4px;font-size:12px;display:block}.productReview section{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px;box-shadow:0 8px 22px #0f172a0d}.reviewHeader{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.reviewActions{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.reviewActions button{color:#166534;cursor:pointer;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:8px 10px;font-weight:800}.reviewGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.reviewGrid label{color:#64748b;font-size:12px}.reviewGrid input,.reviewDesc,.factAdd input,.factAdd select,.factRow input,.factRow select,.priceAdd input,.priceRow input{border:1px solid #d1d5db;border-radius:10px;width:100%;margin-top:4px;padding:8px}.reviewDesc{resize:vertical;min-height:70px;margin:10px 0}.saveHint{color:#16a34a;font-size:12px;font-style:normal}.factAdd,.factRow,.priceAdd,.priceRow{align-items:center;gap:8px;margin:8px 0;display:grid}.factAdd{grid-template-columns:90px 1fr 1.4fr 80px auto}.factRow{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;grid-template-columns:90px 1fr 1.4fr 80px 80px 64px 64px;padding:8px}.priceAdd{grid-template-columns:1.5fr 90px 80px 1fr 90px 90px auto}.priceRow{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;grid-template-columns:1.7fr 90px 80px 1fr 80px 64px 64px;padding:8px}.factAdd button,.factRow button,.priceAdd button,.priceRow button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:8px}.verify{color:#475569;align-items:center;gap:5px;font-size:12px;display:flex}.assetList details{background:#fbfdff;border:1px solid #e5e7eb;border-radius:12px;margin:8px 0;padding:10px}.assetList summary{cursor:pointer;font-weight:700}.assetList pre{white-space:pre-wrap;color:#475569;max-height:180px;font-size:12px;line-height:1.5;overflow:auto}@media (width<=1200px){.productReview,.factAdd,.factRow,.priceAdd,.priceRow,.reviewGrid{grid-template-columns:1fr}}.tag.handoff{color:#991b1b;background:#fee2e2;font-weight:800}.handoffAlert{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:12px;margin-top:8px;padding:8px 10px;font-size:12px;font-weight:800;display:inline-flex}.imConversation{padding:0}.convClick{text-align:left;cursor:pointer;background:0 0;border:0;gap:12px;width:100%;padding:14px 16px;display:flex}.convManage{gap:8px;padding:0 16px 12px 62px;display:flex}.convManage select{color:#475569;background:#fff;border:1px solid #d1d5db;border-radius:10px;flex:1;padding:7px 8px;font-size:12px}.convManage button{color:#b91c1c;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:10px;padding:7px 10px;font-size:12px}.imConversation{position:relative}.convMore{color:#94a3b8;letter-spacing:1px;cursor:pointer;background:0 0;border:0;border-radius:999px;width:30px;height:30px;font-weight:900;line-height:1;position:absolute;top:12px;right:12px}.convMore:hover{color:#334155;background:#f1f5f9}.convMenu{z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:8px;width:190px;padding:10px;display:flex;position:absolute;top:44px;right:12px;box-shadow:0 16px 40px #0f172a29}.convMenu label{color:#64748b;flex-direction:column;gap:6px;font-size:12px;display:flex}.convMenu select{color:#334155;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:8px}.convMenu button{cursor:pointer;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:8px}.convManage{display:none!important}.convMore{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffc2;top:10px;right:10px}.convMenu{background:#fffffff5;border:1px solid #e2e8f0e6;border-radius:18px;grid-template-columns:1fr auto;align-items:end;gap:10px;width:310px;padding:10px 12px;display:grid;top:42px;right:10px;box-shadow:0 18px 44px #0f172a2e}.convMenu label{color:#64748b;min-width:0;font-size:11px;font-weight:700}.convMenu select{color:#0f172a;background:#f8fafc;border-color:#dbe3ee;border-radius:12px;height:38px;font-weight:700}.convMenu button{white-space:nowrap;border-radius:12px;height:38px;padding:0 14px;font-weight:800}.convMenu button.danger{color:#dc2626;background:#fff5f5;border-color:#fecaca}.convMenu button.danger:hover{background:#fee2e2}.imConversation,.conversationList{overflow:visible}.convTop strong{white-space:nowrap;text-overflow:ellipsis;max-width:180px;overflow:hidden}.convMeta{min-height:19px;display:none}.convStatusBar{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;grid-template-columns:1fr 1fr;gap:0;margin-top:8px;font-size:12px;font-weight:800;line-height:1;display:grid;overflow:hidden}.convStatusBar span{text-align:center;padding:7px 10px}.convStatusBar span+span{background:#ffffff8c;border-left:1px solid #3b82f62e}.convStatusBar.attention{color:#be123c;background:#fff1f2;border-color:#fecaca}.convStatusBar.attention span+span{background:#fee2e2;border-left-color:#f43f5e2e}.convClick{padding-right:48px}.convMore{top:11px}.convMenu label{flex:1}.convMenu button{height:auto}.convMenu select{height:36px}.convStatusBar{display:none!important}.convMeta{align-items:center;gap:6px;min-height:19px;margin-top:0;display:flex!important}.tag{color:#64748b;background:#f1f5f9;border-radius:999px;align-items:center;padding:2px 7px;font-size:11px;font-weight:600;line-height:1.35;display:inline-flex}.tag.ai{color:#166534;background:#dcfce7}.tag.human{color:#075985;background:#e0f2fe}.tag.handoff,.tag.unread{color:#b91c1c;background:#fee2e2}.convClick{padding:14px 46px 14px 16px}.convMain p{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:6px 0;overflow:hidden}.convMore{top:12px;right:10px}.convMenu{align-items:stretch;gap:8px;width:220px;display:flex}.convMeta{width:100%;overflow:hidden;flex-flow:row!important;align-items:center!important;gap:6px!important;display:flex!important}.convMeta .tag{white-space:nowrap;flex:none;padding:2px 7px;font-size:11px}.convMain{min-width:0}.convClick{align-items:flex-start}.convMain p{max-width:100%}.conversationList.imList{overflow:hidden}.conversation.imConversation{cursor:default!important;background:#fff!important;border:0!important;border-bottom:1px solid #eef2f7!important;width:100%!important;padding:0!important;display:block!important;position:relative!important}.conversation.imConversation.selected{background:#f0fdf4!important}.conversation.imConversation .convClick{text-align:left!important;cursor:pointer!important;box-sizing:border-box!important;background:0 0!important;border:0!important;align-items:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;padding:14px 46px 14px 16px!important;display:flex!important}.conversation.imConversation .avatar{flex:0 0 42px!important;width:42px!important;height:42px!important}.conversation.imConversation .convMain{flex:auto!important;min-width:0!important;max-width:100%!important;display:block!important}.conversation.imConversation .convTop{justify-content:space-between!important;align-items:center!important;gap:8px!important;min-width:0!important;display:flex!important}.conversation.imConversation .convTop strong{white-space:nowrap!important;text-overflow:ellipsis!important;min-width:0!important;max-width:170px!important;display:block!important;overflow:hidden!important}.conversation.imConversation .convRight{flex:none!important;align-items:center!important;gap:6px!important;display:flex!important}.conversation.imConversation p{color:#64748b!important;white-space:nowrap!important;text-overflow:ellipsis!important;max-width:100%!important;margin:6px 0!important;font-size:13px!important;line-height:1.35!important;display:block!important;overflow:hidden!important}.conversation.imConversation .convMeta{flex-flow:row!important;align-items:center!important;gap:6px!important;width:auto!important;min-height:18px!important;display:flex!important;overflow:visible!important}.conversation.imConversation .convMeta .tag{white-space:nowrap!important;border-radius:999px!important;flex:none!important;align-items:center!important;padding:2px 7px!important;font-size:11px!important;font-weight:600!important;line-height:1.35!important;display:inline-flex!important}.conversation.imConversation .convMore{color:#94a3b8!important;z-index:4!important;background:0 0!important;border:0!important;border-radius:999px!important;place-items:center!important;width:28px!important;height:28px!important;padding:0!important;display:grid!important;position:absolute!important;top:12px!important;right:10px!important}.conversation.imConversation .convMenu{z-index:30!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;align-items:stretch!important;gap:8px!important;width:220px!important;padding:10px!important;display:flex!important;position:absolute!important;top:42px!important;right:10px!important;box-shadow:0 16px 40px #0f172a29!important}.conversation.imConversation .convMenu label{color:#64748b!important;flex:1!important;min-width:0!important;font-size:11px!important}.conversation.imConversation .convMenu select{background:#fff!important;border:1px solid #d1d5db!important;border-radius:10px!important;width:100%!important;height:36px!important}.conversation.imConversation .convMenu button{white-space:nowrap!important;border-radius:10px!important;height:36px!important;padding:0 10px!important}.conversation.imConversation .convManage,.conversation.imConversation .convStatusBar{display:none!important}.conversation.imConversation .convMeta{align-items:center!important;width:auto!important;min-height:20px!important;display:flex!important}.statusChip{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:3px 10px;font-size:11px;font-weight:800;line-height:1.35;display:inline-flex}.statusChip.auto{color:#166534;background:#dcfce7}.statusChip.pending{color:#b91c1c;background:#fee2e2}.statusChip.human{color:#075985;background:#e0f2fe}.conversation.imConversation .convMeta .tag{display:none!important}.receipt{color:#64748b;white-space:nowrap;background:#f1f5f9;border-radius:999px;align-items:center;gap:3px;padding:2px 6px;font-size:11px;font-weight:700;line-height:1.25;display:inline-flex}.receipt:before{content:"✓";font-weight:900}.receipt.delivered:before,.receipt.read:before{content:"✓✓"}.receipt.read{color:#1d4ed8;background:#dbeafe}.receipt.delivered{color:#0e7490;background:#ecfeff}.receipt.failed{color:#b91c1c;background:#fee2e2}.receipt.failed:before{content:"!"}.bubble .receipt{width:max-content;margin-top:6px}.bubble.out .receipt{margin-left:auto}.conversation.imConversation .convRight .receipt{padding:1px 5px;font-size:10px}.conversation.imConversation .convRight{max-width:130px}.attentionChip{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:3px 9px;font-size:11px;font-weight:800;line-height:1.35;display:inline-flex}.attentionChip.neutral{color:#64748b;background:#f1f5f9}.attentionChip.focus{color:#92400e;background:#fef3c7}.attentionChip.warn{color:#c2410c;background:#ffedd5}.attentionChip.danger{color:#b91c1c;background:#fee2e2}.convNextAction{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:6px;font-size:12px;line-height:1.35;display:block;overflow:hidden}.aiEvidence{background:#eff6ff;border:1px solid #dbeafe;border-radius:14px;gap:8px;margin-top:10px;padding:10px;display:grid}.aiEvidence>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.aiEvidence>div b{color:#1e3a8a;font-size:13px}.aiEvidence>div span{color:#64748b;font-size:12px}.aiEvidence article{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:9px 10px}.aiEvidence small{color:#2563eb;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.aiEvidence strong{color:#0f172a;margin-top:2px;font-size:12px;display:block}.aiEvidence em{color:#64748b;margin-top:3px;font-size:11px;font-style:normal;display:block}.aiEvidence p{color:#475569;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:4px 0 0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.trustChip{border-radius:999px;padding:2px 6px;font-size:10px;line-height:1.2;display:inline-flex}.trustChip.verified{color:#166534;background:#dcfce7}.trustChip.mixed{color:#92400e;background:#fef3c7}.trustChip.unverified{color:#b91c1c;background:#fee2e2}.trustChip.reference{color:#64748b;background:#f1f5f9}.trustOverview{grid-template-columns:180px 180px minmax(0,1fr);align-items:center;gap:12px;margin:16px 0;display:grid}.trustOverview div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:14px}.trustOverview b{color:#16a34a;font-size:24px;display:block}.trustOverview span{color:#64748b;font-size:12px}.trustOverview p{color:#475569;background:#eff6ff;border:1px solid #dbeafe;border-radius:16px;margin:0;padding:14px}@media (width<=1100px){.trustOverview{grid-template-columns:1fr}}.assetReviewPanel{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px;display:grid}.assetReviewPanel>em{color:#16a34a;grid-column:1/-1;font-size:12px;font-style:normal}.assetReviewPanel article{background:#fff;border:1px solid #fecaca;border-radius:16px;gap:10px;padding:14px;display:grid}.assetReviewPanel article.verified{background:#f0fdf4;border-color:#bbf7d0}.assetReviewPanel b{color:#0f172a;display:block}.assetReviewPanel span{color:#64748b;margin-top:4px;font-size:12px;display:block}.assetReviewPanel label{color:#334155;align-items:center;gap:6px;font-size:13px;font-weight:800;display:flex}.assetReviewPanel p{color:#475569;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}@media (width<=1100px){.assetReviewPanel{grid-template-columns:1fr}}.assetBindForm{grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1fr) auto;gap:8px;display:grid}.assetBindForm select,.assetBindForm input{background:#fff;border:1px solid #d1d5db;border-radius:10px;min-width:0;padding:8px}.assetBindForm input:disabled{color:#94a3b8;background:#f1f5f9}.assetBindForm button{color:#fff;cursor:pointer;white-space:nowrap;background:#16a34a;border:1px solid #16a34a;border-radius:10px;padding:8px 10px}@media (width<=1100px){.assetBindForm{grid-template-columns:1fr}}.dashboardFocus{grid-template-columns:360px minmax(0,1fr);gap:16px;margin:14px 0 20px;display:grid}.dashboardFocus aside,.dashboardFocus section{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden}.dashboardFocus aside{flex-direction:column;max-height:480px;display:flex;overflow:auto}.dashboardFocus aside button{text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #e5e7eb;padding:14px 16px}.dashboardFocus aside button.active{background:#ecfdf5}.dashboardFocus aside button div{justify-content:space-between;align-items:center;gap:8px;display:flex}.dashboardFocus aside button b{font-size:15px}.dashboardFocus aside button span{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;padding:2px 8px;font-size:12px}.dashboardFocus aside button small{color:#94a3b8;margin-top:4px;display:block}.dashboardFocus aside button p{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin:6px 0 0;overflow:hidden}.focusHeader{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.focusHeader b{font-size:18px;display:block}.focusHeader span{color:#64748b;font-size:13px}.focusHeader button{color:#fff;cursor:pointer;white-space:nowrap;background:#16a34a;border:1px solid #16a34a;border-radius:12px;padding:9px 12px}.focusSummary{border-bottom:1px solid #e5e7eb;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 16px;display:grid}.focusSummary span{color:#475569;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:8px;font-size:12px;overflow:hidden}.focusMessages{max-height:330px;padding:14px 16px;overflow:auto}.focusBubble{background:#fff;border:1px solid #e5e7eb;border-radius:16px;max-width:78%;margin:9px 0;padding:9px 11px}.focusBubble.out{background:#dcfce7;border-color:#bbf7d0;margin-left:auto}.focusBubble small{color:#64748b;font-size:11px;display:block}.focusBubble p{white-space:pre-wrap;color:#162033;margin:4px 0 0}@media (width<=1100px){.dashboardFocus{grid-template-columns:1fr}.focusSummary{grid-template-columns:repeat(2,minmax(0,1fr))}}.integrationHealthCard{margin:14px 0 18px}.healthHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.healthHeader button{color:#fff;cursor:pointer;background:#16a34a;border:1px solid #16a34a;border-radius:12px;padding:8px 12px;font-weight:800}.healthHeader button:disabled{opacity:.55;cursor:wait}.healthRows{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.healthRows>div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.healthRows span,.healthRows small,.healthRows em{display:block}.healthRows span{color:#64748b;font-size:12px}.healthRows strong{margin-top:4px;font-size:20px;display:block}.healthRows small{color:#334155;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-weight:800;overflow:hidden}.healthRows em{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:12px;font-style:normal;overflow:hidden}.healthRows .ok{background:#f0fdf4;border-color:#bbf7d0}.healthRows .ok strong{color:#166534}.healthRows .bad{background:#fff1f2;border-color:#fecaca}.healthRows .bad strong{color:#b91c1c}.healthRows .pending{background:#fff7ed;border-color:#fed7aa}.healthRows .pending strong{color:#c2410c}.healthTime{color:#94a3b8;margin-top:10px;display:block}@media (width<=1100px){.healthRows{grid-template-columns:1fr}}.workspace.chatOnly.withCustomerSide{grid-template-columns:320px minmax(500px,1fr) 300px;height:calc(100vh - 150px)}.customerSidePanel{background:#fff;border:1px solid #e5e7eb;border-radius:22px;overflow:auto;box-shadow:0 8px 22px #0f172a0d}.customerSidePanel section{border-bottom:1px solid #eef2f7;padding:16px}.customerSidePanel h3{margin:0 0 12px;font-size:15px}.sideIdentity{align-items:center;gap:10px;margin-bottom:12px;display:flex}.sideIdentity b{display:block}.sideIdentity span{color:#64748b;word-break:break-all;font-size:12px;display:block}.customerSidePanel dl{grid-template-columns:72px minmax(0,1fr);gap:8px 10px;margin:0;display:grid}.customerSidePanel dt{color:#94a3b8;font-size:12px}.customerSidePanel dd{color:#334155;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:13px;overflow:hidden}.nextAction{color:#166534;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;margin:12px 0 0;padding:10px;font-size:13px}.memoryTags{flex-wrap:wrap;gap:6px;display:flex}.memoryTags span{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:4px 8px;font-size:12px}.memoryTags em,.memoryText.muted{color:#94a3b8;font-style:normal}.memoryText{color:#475569;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:10px 0 0;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}@media (width<=1200px){.workspace.chatOnly.withCustomerSide{grid-template-columns:300px minmax(450px,1fr)}.customerSidePanel{display:none}}@media (width<=1100px){.workspace.chatOnly.withCustomerSide{grid-template-columns:1fr;height:auto}.customerSidePanel{min-height:260px;display:block}}.sideSectionTitle{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.sideSectionTitle h3{margin:0}.sideSectionTitle button{color:#fff;cursor:pointer;background:#16a34a;border:1px solid #16a34a;border-radius:10px;padding:6px 10px;font-size:12px}.opportunityForm{grid-template-columns:1fr 1fr;gap:8px;display:grid}.opportunityForm label{color:#64748b;flex-direction:column;gap:5px;font-size:12px;display:flex}.opportunityForm label.wide{grid-column:1/-1}.opportunityForm input,.opportunityForm select{color:#162033;background:#fff;border:1px solid #d1d5db;border-radius:10px;width:100%;padding:8px 9px;font-size:13px}.sideSaveHint{color:#16a34a;margin-top:8px;font-size:12px;font-style:normal;display:block}.replyBox.locked{background:#f8fafc}.replyBox.locked textarea,.replyBox.locked select{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.policyBox.locked{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.imageAction.disabled,.actions button:disabled{opacity:.5;cursor:not-allowed}.imageAction.disabled{color:#94a3b8;background:#f1f5f9}.app{height:100vh;min-height:100vh;overflow:hidden}main{height:100vh;padding:16px;overflow:hidden}.workspace.chatOnly.withCustomerSide{align-items:stretch;min-height:0;grid-template-columns:340px minmax(560px,1fr) 320px!important;height:calc(100vh - 32px)!important}.workspace.chatOnly.withCustomerSide>.conversationList,.workspace.chatOnly.withCustomerSide>.chatPanel,.workspace.chatOnly.withCustomerSide>.customerSidePanel{height:100%;min-height:0}.conversationList.imList{overscroll-behavior:contain;flex-direction:column;min-height:0;display:flex;overflow:visible auto!important}.conversationList.imList .panelTitle{z-index:8;background:#fff;position:sticky;top:0}.conversationList.imList .groupBar{z-index:7;background:#fff;border-bottom:1px solid #eef2f7;position:sticky;top:53px}.chatPanel{min-height:0}.chatPanel .messages{flex:auto;min-height:0;overflow-y:auto}.chatPanel .replyBox{flex:none}.customerSidePanel{overscroll-behavior:contain;min-height:0;overflow-y:auto!important}.conversation.imConversation:last-child{border-bottom:0!important}@media (width<=1200px){.workspace.chatOnly.withCustomerSide{grid-template-columns:320px minmax(520px,1fr)!important;height:calc(100vh - 32px)!important}}@media (width<=1100px){.app{height:auto;overflow:auto}main{height:auto;padding:16px;overflow:auto}.workspace.chatOnly.withCustomerSide{grid-template-columns:1fr!important;height:auto!important}.conversationList.imList{max-height:70vh}.chatPanel,.customerSidePanel{height:auto!important}}.workspace.chatOnly.withCustomerSide{grid-template-columns:320px minmax(420px,1fr) 280px!important}@media (width>=1600px){.workspace.chatOnly.withCustomerSide{grid-template-columns:340px minmax(560px,1fr) 320px!important}}.replyBox textarea{color:#0f172a;min-height:92px;line-height:1.45}.replyBox textarea:focus{border-color:#2563eb;outline:2px solid #2563eb38;box-shadow:0 0 0 3px #2563eb14}.replyMeta{color:#64748b;justify-content:space-between;align-items:center;gap:10px;margin-top:7px;font-size:12px;display:flex}.replyMeta span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.replyEvidence{background:#f8fbff;max-height:136px;margin:0 0 10px;overflow:auto}.replyEvidence article{padding:8px 9px}.replyEvidence small{justify-content:space-between}.replyEvidence small i{font-style:normal}.replyEvidence p{font-size:12px;line-height:1.4}.actions{align-items:center}.actions button:disabled,.actions button.primary:disabled{opacity:1;color:#94a3b8!important;background:#f1f5f9!important;border-color:#d1d5db!important}.imageAction.disabled{pointer-events:none}.conversation.imConversation.selected{box-shadow:inset 3px 0 #16a34a}.conversation.imConversation:hover{background:#f8fafc!important}.conversation.imConversation.selected:hover{background:#f0fdf4!important}.chatHeader p{white-space:nowrap;text-overflow:ellipsis;max-width:min(680px,100%);overflow:hidden}.policyBox b{white-space:nowrap}.policyBox span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}@media (width<=1300px){.replyEvidence{max-height:112px}.actions button,.imageAction{padding:9px 10px}.chatHeader{padding:14px 16px}}@media (width<=1200px){.workspace.chatOnly.withCustomerSide{grid-template-columns:320px minmax(0,1fr)!important}.customerSidePanel{display:none}}@media (width<=1100px){.workspace.chatOnly.withCustomerSide{grid-template-columns:1fr!important;height:auto!important}.customerSidePanel{display:block}}.workspace.chatOnly.customerDrawerLayout{align-items:stretch;min-height:0;position:relative;grid-template-columns:320px minmax(0,1fr)!important;height:calc(100vh - 32px)!important}.workspace.chatOnly.customerDrawerLayout>.conversationList,.workspace.chatOnly.customerDrawerLayout>.chatPanel{height:100%;min-height:0}.chatHeaderActions{flex:none;align-items:center;gap:10px;display:flex}.customerInfoButton{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d1d5db;border-radius:999px;align-items:center;gap:6px;height:38px;padding:0 13px;font-size:12px;font-weight:800;display:inline-flex}.customerInfoButton:hover{background:#f8fafc;border-color:#94a3b8}.customerDrawerBackdrop{z-index:40;cursor:pointer;background:#0f172a29;border:0;position:absolute;inset:0}.customerSidePanel.customerDrawer{z-index:45;border-radius:22px;width:min(380px,100% - 24px);height:100%;animation:.16s ease-out drawerIn;position:absolute;top:0;bottom:0;right:0;box-shadow:-18px 0 44px #0f172a2e;display:block!important}.drawerTitle{z-index:2;background:#fff;border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;display:flex;position:sticky;top:0}.drawerTitle b{font-size:15px}.drawerTitle button{cursor:pointer;color:#475569;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;place-items:center;width:32px;height:32px;display:grid}.drawerTitle button:hover{color:#0f172a;background:#f1f5f9}@keyframes drawerIn{0%{opacity:.7;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@media (width>=1600px){.workspace.chatOnly.customerDrawerLayout{grid-template-columns:340px minmax(0,1fr)!important}.customerSidePanel.customerDrawer{width:420px}}@media (width<=1100px){.workspace.chatOnly.customerDrawerLayout{grid-template-columns:1fr!important;height:auto!important}.workspace.chatOnly.customerDrawerLayout>.conversationList,.workspace.chatOnly.customerDrawerLayout>.chatPanel{height:auto!important}.chatHeader{flex-wrap:wrap}.chatHeaderActions{justify-content:space-between;width:100%}.customerSidePanel.customerDrawer{width:auto;height:auto;max-height:calc(100vh - 24px);position:fixed;inset:12px}.customerDrawerBackdrop{position:fixed}}
