:root{--background:#f4f5f2;--surface:#fff;--surface-soft:#f8f8f6;--text:#161915;--muted:#687067;--border:#e4e7e1;--green:#244c36;--green-soft:#e8f0eb;--lime:#c8e36a;--danger:#b33232;--danger-soft:#fff0ee;--warning:#9a6715;--warning-soft:#fff7e5;--shadow:0 18px 50px #222e2512}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--background);color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#183626;flex-direction:column;height:100vh;padding:28px 22px;display:flex;position:sticky;top:0}.brand{color:var(--lime);align-items:center;gap:12px;margin-bottom:42px;display:flex}.brand div,.sidebarFoot div:last-child{flex-direction:column;gap:3px;display:flex}.brand strong{color:#fff;font-size:18px}.brand span,.sidebarFoot span{color:#ffffff94;font-size:12px}.sidebar nav{flex-direction:column;gap:7px;display:flex}.navItem{color:#ffffffad;border-radius:10px;padding:12px 14px;font-size:14px;text-decoration:none;transition:all .16s}.navItem:hover,.navItem.active{color:#fff;background:#ffffff17}.navItem.active{box-shadow:inset 3px 0 0 var(--lime)}.sidebarFoot{background:#ffffff0f;border-radius:12px;align-items:center;gap:10px;margin-top:auto;padding:14px;display:flex}.sidebarFoot strong{font-size:13px}.statusDot{background:var(--lime);border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 5px #c8e36a1f}.main{width:min(1380px,100%);padding:42px 46px 26px}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;display:flex}.eyebrow{color:var(--green);letter-spacing:.18em;margin:0 0 7px;font-size:11px;font-weight:800}h1{letter-spacing:-.04em;margin:0;font-size:clamp(30px,4vw,46px);line-height:1.05}.subtitle{color:var(--muted);margin:10px 0 0;font-size:15px}.refreshButton{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:11px 15px;font-weight:700;display:inline-flex}.refreshButton:disabled{opacity:.55;cursor:not-allowed}.connectionPanel{border:1px solid var(--border);background:#ffffffa6;border-radius:14px;margin-bottom:24px;padding:18px}.connectionPanel label{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:700;display:block}.storeInputRow{grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;display:grid}.storeInputRow input,.storeInputRow select{border:1px solid var(--border);min-width:0;color:var(--text);background:#fff;border-radius:9px;outline:none;padding:11px 12px}.storeInputRow input:focus,.storeInputRow select:focus{border-color:var(--green);box-shadow:0 0 0 3px #244c3617}.storeInputRow button{background:var(--green);color:#fff;border:0;border-radius:9px;padding:11px 18px;font-weight:800}.metricsGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.metricCard,.panel,.emptyState,.errorBox{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px}.metricCard{flex-direction:column;justify-content:center;min-height:154px;padding:22px;display:flex}.metricCard span{color:var(--muted);font-size:13px;font-weight:700}.metricCard strong{letter-spacing:-.04em;margin:10px 0 8px;font-size:clamp(26px,3vw,36px)}.metricCard small{color:var(--muted)}.metricCard.critical{background:var(--danger-soft);border-color:#f1c7c1}.dashboardGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.panel{min-height:260px;padding:22px}.panel.wide{grid-column:span 2}.panelHeader{justify-content:space-between;margin-bottom:24px;display:flex}.panelHeader h2{margin:0 0 5px;font-size:18px}.panelHeader p,.muted{color:var(--muted);margin:0;font-size:13px}.progressList{flex-direction:column;gap:22px;display:flex}.progressItem>div:first-child{justify-content:space-between;margin-bottom:8px;font-size:13px;display:flex}.progressTrack{background:#edf0ec;border-radius:99px;height:8px;overflow:hidden}.progressTrack span{border-radius:inherit;background:var(--green);min-width:3px;height:100%;display:block}.statusList{flex-direction:column;gap:4px;display:flex}.statusRow{border-bottom:1px solid var(--border);justify-content:space-between;padding:12px 0;font-size:13px;display:flex}.statusRow:last-child{border-bottom:0}.miniGrid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.miniValue{background:var(--surface-soft);border-radius:12px;flex-direction:column;justify-content:center;min-height:82px;padding:14px;display:flex}.miniValue strong{font-size:25px}.miniValue span{color:var(--muted);margin-top:4px;font-size:12px}.criticalText strong{color:var(--danger)}.healthGrid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.healthItem{background:var(--surface-soft);border-radius:12px;align-items:center;gap:10px;min-height:92px;padding:14px;display:flex}.healthItem>div{flex-direction:column;gap:6px;display:flex}.healthItem span{color:var(--muted);font-size:12px}.healthItem strong{font-size:16px}.healthDot{border-radius:50%;flex:none;width:9px;height:9px}.healthDot.good{background:#429461}.healthDot.warning{background:#dda637}.knowledgeNumber{letter-spacing:-.06em;color:var(--green);margin-top:38px;font-size:56px;font-weight:800}.alertsList{flex-direction:column;gap:10px;display:flex}.alertItem,.allGood{background:var(--surface-soft);border-radius:11px;gap:12px;padding:13px;display:flex}.alertItem p,.allGood p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.4}.alertItem strong,.allGood strong{font-size:13px}.alertMarker{background:#769282;border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.alertItem.critical .alertMarker{background:var(--danger)}.alertItem.warning .alertMarker{background:#dda637}.allGood span{background:var(--green-soft);width:26px;height:26px;color:var(--green);border-radius:50%;place-items:center;font-weight:900;display:grid}.emptyState,.errorBox{text-align:center;margin-top:50px;padding:52px 24px}.emptyState{color:var(--green)}.emptyState h2{color:var(--text);margin:18px 0 8px}.emptyState p{max-width:520px;color:var(--muted);margin:0 auto;line-height:1.6}.errorBox{background:var(--danger-soft);color:var(--danger);border-color:#f1c7c1;flex-direction:column;gap:7px;display:flex}.footer{color:var(--muted);text-align:right;padding:24px 4px 0;font-size:12px}@media (max-width:1100px){.metricsGrid,.dashboardGrid{grid-template-columns:repeat(2,1fr)}.panel.wide{grid-column:span 2}.healthGrid{grid-template-columns:repeat(2,1fr)}}.humanOrderPixReceipts{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.humanOrderPixReceipts>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.humanOrderPixReceipts>header>div{flex-direction:column;gap:2px;display:flex}.humanOrderPixReceipts>header small{color:var(--muted);font-size:10px;font-weight:800}.humanOrderPixReceiptList{flex-direction:column;gap:8px;display:flex}.humanOrderPixReceipt{border:1px solid var(--border);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.humanOrderPixReceipt>div,.humanOrderPixWaiting,.humanOrderPixConfirmed{flex-direction:column;gap:3px;display:flex}.humanOrderPixReceipt span,.humanOrderPixWaiting span,.humanOrderPixConfirmed span{color:var(--muted);font-size:11px;line-height:1.4}.humanOrderPixReceipt button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:9px;flex:none;min-height:36px;padding:0 12px;font-weight:800}.humanOrderPixReceipt button:disabled{opacity:.55;cursor:not-allowed}.humanOrderPixWaiting,.humanOrderPixConfirmed{border:1px solid var(--border);border-radius:10px;padding:10px}.humanOrderPixConfirmed{border-color:var(--green);background:var(--green-soft)}.humanOrderPixConfirmed strong{color:var(--green)}@media (max-width:760px){.shell{display:block}.sidebar{width:100%;height:auto;padding:18px;position:static}.sidebar nav{display:none}.brand{margin-bottom:0}.sidebarFoot{display:none}.main{padding:26px 16px}.topbar{align-items:flex-end}.storeInputRow,.metricsGrid,.dashboardGrid,.healthGrid{grid-template-columns:1fr}.panel.wide{grid-column:auto}.storeInputRow button{width:100%}}.conversationsConsole{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;margin-top:22px;overflow:hidden}.consoleHeader{border-bottom:1px solid var(--border);justify-content:space-between;align-items:end;gap:20px;padding:22px;display:flex}.consoleHeader h2{margin:0;font-size:22px}.consoleControls{gap:8px;display:flex}.consoleControls input,.consoleControls select,.consoleControls button{border:1px solid var(--border);background:#fff;border-radius:9px;padding:10px 12px}.consoleControls button{background:var(--green);color:#fff;border-color:var(--green);font-weight:800}.consoleError{background:var(--danger-soft);color:var(--danger);border-radius:10px;margin:14px 22px 0;padding:12px;font-size:13px}.conversationWorkspace{grid-template-columns:360px 1fr;min-height:650px;display:grid}.conversationList{border-right:1px solid var(--border);background:#fafbf9;overflow-y:auto}.conversationRow{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;gap:12px;width:100%;padding:16px;display:flex}.conversationRow:hover,.conversationRow.selected{background:var(--green-soft)}.conversationRow.selected{box-shadow:inset 4px 0 0 var(--green)}.avatar{background:var(--green);color:#fff;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.conversationPreview{flex:1;min-width:0}.conversationPreview>div{justify-content:space-between;gap:10px;display:flex}.conversationPreview strong{font-size:13px}.conversationPreview time{color:var(--muted);font-size:11px}.conversationPreview p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:6px 0;font-size:12px;overflow:hidden}.conversationStatus{color:var(--muted);background:#edf0ec;border-radius:99px;padding:3px 7px;font-size:10px;font-weight:800;display:inline-flex}.conversationStatus.HUMAN{color:#8e5a0a;background:#fff1d3}.conversationStatus.OPEN{background:var(--green-soft);color:var(--green)}.chatPanel{background:#f4f6f2;flex-direction:column;min-width:0;display:flex}.chatHeader{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.chatHeader>div{flex-direction:column;gap:4px;display:flex}.chatHeader span{color:var(--muted);font-size:12px}.chatHeader button{background:var(--green);color:#fff;border:0;border-radius:9px;padding:10px 13px;font-weight:800}.chatHeader button.release{color:var(--green);background:#dce7df}.messageTimeline{flex-direction:column;flex:1;gap:10px;padding:22px;display:flex;overflow-y:auto}.messageBubble{background:#fff;border-radius:13px;max-width:min(76%,620px);padding:11px 13px;box-shadow:0 6px 20px #2332270d}.messageBubble.customer{align-self:flex-start}.messageBubble.olivia,.messageBubble.human{background:#dfeee3;align-self:flex-end}.messageBubble.human{background:#fff0cb}.messageBubble>span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800}.messageBubble p{white-space:pre-wrap;margin:5px 0 7px;font-size:14px;line-height:1.45}.messageBubble time{color:var(--muted);text-align:right;font-size:10px;display:block}.replyComposer{border-top:1px solid var(--border);background:#fff;grid-template-columns:1fr auto;gap:10px;padding:16px;display:grid}.replyComposer textarea{resize:vertical;border:1px solid var(--border);min-height:72px;font:inherit;border-radius:10px;padding:12px}.replyComposer button{background:var(--green);color:#fff;border:0;border-radius:10px;min-width:100px;font-weight:800}.replyComposer button:disabled,.replyComposer textarea:disabled{opacity:.55;cursor:not-allowed}.chatEmpty,.consoleEmpty{min-height:280px;color:var(--muted);text-align:center;align-content:center;place-items:center;padding:30px;display:grid}@media (max-width:900px){.consoleHeader{flex-direction:column;align-items:stretch}.consoleControls{grid-template-columns:1fr 1fr;display:grid}.consoleControls button{grid-column:span 2}.conversationWorkspace{grid-template-columns:1fr}.conversationList{border-right:0;border-bottom:1px solid var(--border);max-height:340px}.chatPanel{min-height:620px}}.conversationStatus.WAITING_HUMAN{background:var(--warning-soft);color:var(--warning);font-weight:800}.conversationsConsole{flex-direction:column;height:calc(100vh - 32px);min-height:620px;max-height:900px;scroll-margin-top:16px;display:flex}.conversationsConsole .consoleHeader{background:var(--surface);z-index:5;flex:none}.conversationsConsole .conversationWorkspace{flex:auto;height:auto;min-height:0;overflow:hidden}.conversationsConsole .conversationList{overscroll-behavior:contain;height:100%;min-height:0;overflow-y:auto}.conversationsConsole .chatPanel{background:var(--surface);flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.conversationsConsole .chatHeader{z-index:4;background:var(--surface);border-bottom:1px solid var(--border);flex:none;position:relative}.conversationsConsole .messageTimeline{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;overflow-y:auto}.conversationsConsole .replyComposer{z-index:4;background:var(--surface);border-top:1px solid var(--border);flex:none;position:relative}.conversationsConsole .replyComposer textarea{resize:vertical;max-height:130px}@media (max-width:760px){.conversationsConsole{height:calc(100vh - 16px);min-height:560px;max-height:none}.conversationsConsole .conversationWorkspace{min-height:0}}.authPage{background:radial-gradient(circle at top left, #c8e36a2e, transparent 34%), radial-gradient(circle at bottom right, #244c361f, transparent 38%), var(--background);place-items:center;min-height:100vh;padding:28px;display:grid}.authCard{border:1px solid var(--border);background:var(--surface);width:min(460px,100%);box-shadow:var(--shadow);border-radius:20px;padding:36px}.authBrand{color:var(--green);align-items:center;gap:13px;margin-bottom:34px;display:flex}.authBrand>div{flex-direction:column;gap:3px;display:flex}.authBrand strong{color:var(--text);font-size:20px}.authBrand span{color:var(--muted);font-size:12px}.authHeading{margin-bottom:28px}.authHeading h1{margin:0;font-size:34px}.authHeading>p:last-child{color:var(--muted);margin:12px 0 0;font-size:14px;line-height:1.6}.authForm{flex-direction:column;gap:9px;display:flex}.authForm label{color:var(--text);margin-top:7px;font-size:13px;font-weight:700}.authForm input{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:10px;outline:none;padding:13px 14px}.authForm input:focus{border-color:var(--green);box-shadow:0 0 0 3px #244c361a}.authForm button{background:var(--green);color:#fff;border:0;border-radius:10px;width:100%;margin-top:14px;padding:13px 16px;font-weight:800}.authForm button:disabled{opacity:.6;cursor:not-allowed}.authError{background:var(--danger-soft);color:var(--danger);border-radius:9px;margin-top:8px;padding:11px 12px;font-size:13px;line-height:1.45}.authLoading{min-width:260px;color:var(--green);flex-direction:column;align-items:center;gap:8px;display:flex}.authLoading strong{color:var(--text);margin-top:8px;font-size:20px}.authLoading span{color:var(--muted);font-size:13px}.sessionBadge{z-index:100;border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:14px;align-items:center;gap:14px;max-width:min(390px,100vw - 32px);padding:11px 12px 11px 15px;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 12px 36px #18362624}.sessionBadge>div{flex-direction:column;gap:2px;min-width:0;display:flex}.sessionBadge strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sessionBadge span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.sessionBadge button{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;flex:none;padding:8px 11px;font-size:12px;font-weight:800}.tenantSelector{z-index:70;border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:11px;align-items:center;gap:9px;padding:9px 11px;display:flex;position:fixed;top:96px;right:46px;box-shadow:0 10px 30px #1836261a}.tenantSelector label{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:800}.tenantSelector select{border:1px solid var(--border);max-width:300px;color:var(--text);background:#fff;border-radius:8px;padding:8px 10px;font-weight:700}@media (max-width:760px){.authPage{padding:18px}.authCard{padding:26px 22px}.tenantSelector{top:84px;left:16px;right:16px}.tenantSelector select{width:100%;min-width:0}.sessionBadge{max-width:none;bottom:16px;left:16px;right:16px}}.customerWallet{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;margin-top:24px;padding:24px}.customerWalletHeader{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.customerWalletHeader h2{margin:4px 0 7px;font-size:26px}.customerWalletHeader p:last-child{color:var(--muted);margin:0}.customerWalletCount{color:var(--green);background:#244c3614;border-radius:999px;flex:none;padding:9px 12px;font-size:12px}.customerSearch{gap:10px;margin-bottom:20px;display:flex}.customerSearch input{border:1px solid var(--border);min-width:0;color:var(--text);background:#fff;border-radius:10px;outline:none;flex:1;padding:11px 13px}.customerSearch input:focus{border-color:var(--green);box-shadow:0 0 0 3px #244c361a}.customerSearch button{background:var(--green);color:#fff;border:0;border-radius:10px;padding:10px 15px;font-weight:800}.customerSearch button:disabled{opacity:.6;cursor:not-allowed}.customerSearch .secondaryButton{border:1px solid var(--border);color:var(--text);background:#fff}.customerWalletGrid{grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:18px;display:grid}.customerList,.customerDetail{border:1px solid var(--border);background:#fff;border-radius:14px;min-height:420px}.customerList{overflow:hidden}.customerRow{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:#fff;justify-content:space-between;align-items:center;gap:14px;padding:15px 16px;display:flex}.customerRow:last-child{border-bottom:0}.customerRow:hover,.customerRow.selected{background:#244c360f}.customerRow.selected{box-shadow:inset 3px 0 0 var(--green)}.customerRow>div{flex-direction:column;gap:3px;min-width:0;display:flex}.customerRow strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customerRow span,.customerRow small{color:var(--muted);font-size:12px}.customerRow small{flex:none}.customerDetail{padding:20px}.customerDetailHeader{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:18px;display:flex}.customerDetailHeader>div{min-width:0}.customerDetailHeader>div>span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:800}.customerDetailHeader h3{margin:5px 0;font-size:23px}.customerDetailHeader p{color:var(--muted);margin:0}.customerStatus{color:var(--green);background:#244c361a;border-radius:999px;flex:none;padding:7px 10px;font-size:11px;font-weight:800}.customerDetailActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.customerWhatsappButton{color:#10361f;white-space:nowrap;background:#25d366;border:0;border-radius:10px;justify-content:center;align-items:center;min-height:34px;padding:8px 13px;font-size:12px;font-weight:800;text-decoration:none;transition:transform .15s,filter .15s;display:inline-flex}.customerWhatsappButton:not(:disabled):hover{filter:brightness(.96);transform:translateY(-1px)}.customerWhatsappButton:disabled{opacity:.6;cursor:wait}.customerWhatsappButton:focus-visible{outline-offset:2px;outline:3px solid #25d36640}.customerSection{padding-top:20px}.customerSection+.customerSection{border-top:1px solid var(--border);margin-top:20px}.customerSection h4{margin:0 0 12px;font-size:15px}.addressList{gap:10px;display:grid}.addressCard{border:1px solid var(--border);background:var(--background);border-radius:11px;padding:13px 14px}.addressCard>div{align-items:center;gap:8px;margin-bottom:5px;display:flex}.addressCard>div span{color:var(--green);background:#244c3617;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}.addressCard p{color:var(--text);margin:3px 0;font-size:13px}.addressCard small{color:var(--muted);margin-top:5px;line-height:1.45;display:block}.customerOrders{gap:8px;display:grid}.customerOrderRow{border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:11px 13px;display:flex}.customerOrderRow>div{flex-direction:column;gap:3px;display:flex}.customerOrderRow>div:last-child{text-align:right}.customerOrderRow span{color:var(--muted);font-size:11px}.customerEmpty{min-height:180px;color:var(--muted);text-align:center;place-items:center;padding:26px;display:grid}@media (max-width:900px){.customerWalletGrid{grid-template-columns:1fr}.customerList,.customerDetail{min-height:auto}}@media (max-width:640px){.customerWallet{padding:18px}.customerWalletHeader,.customerSearch{flex-direction:column}.customerSearch button{width:100%}.customerOrderRow{align-items:flex-start}}.analyticsSection{margin:28px 0}.analyticsHeader{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px;display:flex}.analyticsHeader h2{letter-spacing:-.025em;margin:0;font-size:24px}.analyticsHeader>div:first-child>p:last-child{color:var(--muted);margin:7px 0 0;font-size:14px}.analyticsPeriod{align-items:center;gap:10px;display:flex}.analyticsPeriod label{color:var(--muted);font-size:12px;font-weight:700}.analyticsPeriod select{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;outline:none;padding:10px 34px 10px 12px}.analyticsPeriod select:focus{border-color:var(--green);box-shadow:0 0 0 3px #244c3617}.analyticsPeriod select:disabled{opacity:.6}.analyticsLoading{border:1px solid var(--border);background:var(--surface);color:var(--muted);box-shadow:var(--shadow);border-radius:16px;padding:28px}.analyticsMetrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.analyticsMetric{border:1px solid var(--border);background:var(--surface);min-height:135px;box-shadow:var(--shadow);border-radius:15px;flex-direction:column;justify-content:center;padding:20px;display:flex}.analyticsMetric>span{color:var(--muted);font-size:12px;font-weight:700}.analyticsMetric strong{letter-spacing:-.035em;margin:8px 0 7px;font-size:clamp(24px,3vw,32px)}.analyticsMetric small{color:var(--muted);font-size:12px}.analyticsMetric.critical{background:var(--danger-soft);border-color:#f1c7c1}.analyticsMetric.critical strong{color:var(--danger)}.analyticsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.analyticsCard{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:260px;box-shadow:var(--shadow);border-radius:16px;padding:22px}.analyticsCard.wide{grid-column:span 2}.analyticsCard>header{margin-bottom:20px}.analyticsCard h3{margin:0 0 5px;font-size:17px}.analyticsCard header p{color:var(--muted);margin:0;font-size:12px}.analyticsRanking{flex-direction:column;display:flex}.analyticsRankingRow{border-bottom:1px solid var(--border);grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;display:grid}.analyticsRankingRow:last-child{border-bottom:0}.analyticsRank{background:var(--green-soft);width:26px;height:26px;color:var(--green);border-radius:8px;place-items:center;font-size:11px;font-weight:800;display:grid}.analyticsRankingRow>div{flex-direction:column;gap:3px;min-width:0;display:flex}.analyticsRankingRow strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.analyticsRankingRow small{color:var(--muted);font-size:11px}.analyticsRankingRow>b{white-space:nowrap;font-size:12px}.analyticsEmpty{color:var(--muted);margin:0;padding:18px 0;font-size:13px}.weekdayChart{flex-direction:column;gap:13px;display:flex}.weekdayRow{grid-template-columns:36px minmax(100px,1fr) 36px 90px;align-items:center;gap:10px;font-size:12px;display:grid}.weekdayRow>span{font-weight:700}.weekdayRow>strong{text-align:right}.weekdayRow>small{color:var(--muted);text-align:right}.weekdayTrack{background:#edf0ec;border-radius:99px;height:9px;overflow:hidden}.weekdayFill{border-radius:inherit;background:var(--green);min-width:2px;height:100%}.hourlyChart{grid-template-columns:repeat(24,minmax(12px,1fr));align-items:end;gap:4px;height:220px;padding-top:8px;display:grid}.hourlyColumn{text-align:center;grid-template-rows:1fr 20px;gap:7px;min-width:0;height:100%;display:grid}.hourlyBarArea{background:var(--surface-soft);border-radius:5px;align-items:flex-end;min-height:0;display:flex}.hourlyBar{background:var(--green);border-radius:5px 5px 2px 2px;width:100%;min-height:2px;transition:height .18s}.hourlyColumn span{color:var(--muted);font-size:9px;overflow:hidden}.analyticsFoot{color:var(--muted);justify-content:space-between;gap:16px;margin-top:14px;font-size:11px;display:flex}@media (max-width:1050px){.analyticsMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.analyticsHeader,.analyticsPeriod{flex-direction:column;align-items:stretch}.analyticsMetrics,.analyticsGrid{grid-template-columns:1fr}.analyticsCard.wide{grid-column:auto}.weekdayRow{grid-template-columns:34px minmax(70px,1fr) 30px}.weekdayRow>small{display:none}.hourlyChart{grid-template-columns:repeat(24,22px);overflow-x:auto}.analyticsFoot{flex-direction:column}}.conversationsConsoleV2{border-radius:18px;height:calc(100vh - 24px);min-height:680px;max-height:980px}.conversationsConsoleV2 .consoleHeaderV2{flex-direction:column;align-items:stretch;gap:15px;padding:18px 20px 14px;display:flex}.consoleTitleRow{justify-content:space-between;align-items:center;gap:16px;display:flex}.consoleTitleRow h2{margin:2px 0 0}.humanModeBadge{background:var(--green-soft);color:var(--green);border-radius:999px;flex:none;align-items:center;gap:8px;padding:8px 11px;font-size:11px;font-weight:800;display:inline-flex}.humanModeBadge>span{background:var(--green);border-radius:50%;width:8px;height:8px}.operationModeControl{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.humanModeBadge.oliviaModeBadge{color:#2563eb;background:#2563eb1a}.humanModeBadge.oliviaModeBadge>span{background:#2563eb}.operationModeButton{color:#0f172a;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #0f172a24;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;transition:border-color .15s,background .15s,opacity .15s}.operationModeButton:hover:not(:disabled){background:#0f172a0a;border-color:#0f172a3d}.operationModeButton:disabled{cursor:wait;opacity:.6}.consoleSearchRow{grid-template-columns:minmax(220px,1fr) minmax(170px,230px) auto;align-items:end;gap:10px;display:grid}.consoleSearchBox,.operatorField{flex-direction:column;gap:5px;display:flex}.consoleSearchBox>span,.operatorField>span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800}.consoleSearchBox input,.operatorField input{border:1px solid var(--border);width:100%;min-height:42px;font:inherit;background:#fff;border-radius:10px;padding:10px 12px}.consoleRefreshButton{border:1px solid var(--border);min-height:42px;color:var(--green);background:#fff;border-radius:10px;padding:0 15px;font-weight:800}.consoleTabs{gap:7px;padding-bottom:2px;display:flex;overflow-x:auto}.consoleTabs button{border:1px solid var(--border);min-height:34px;color:var(--muted);background:#fff;border-radius:999px;flex:none;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:800;display:inline-flex}.consoleTabs button strong{background:#edf0ec;border-radius:999px;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:10px;display:grid}.consoleTabs button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.conversationsConsoleV2 .conversationWorkspace{background:#fff;grid-template-columns:minmax(330px,390px) minmax(0,1fr)}.conversationsConsoleV2 .conversationList{background:#fff}.conversationListHeader{z-index:3;border-bottom:1px solid var(--border);min-height:42px;color:var(--muted);background:#fff;justify-content:space-between;align-items:center;gap:8px;padding:9px 14px;font-size:10px;display:flex;position:sticky;top:0}.conversationListHeader>span{background:var(--warning-soft);color:var(--warning);border-radius:999px;padding:4px 7px;font-weight:800}.conversationsConsoleV2 .conversationRow{cursor:pointer;gap:11px;min-height:94px;padding:13px 14px;position:relative}.conversationsConsoleV2 .conversationRow.waiting:before{content:"";background:var(--warning);width:3px;position:absolute;inset:0 auto 0 0}.conversationsConsoleV2 .conversationRow.selected{background:var(--green-soft)}.conversationsConsoleV2 .avatar{width:46px;height:46px;font-size:12px;position:relative}.conversationsConsoleV2 .conversationRow.needsReply .avatar:after{content:"";background:var(--warning);border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;bottom:1px;right:0}.conversationPreviewTop{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.conversationPreviewTop strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:13px;overflow:hidden}.conversationPreviewTop time{color:var(--muted);flex:none;font-size:10px}.conversationPhone{color:var(--muted);margin-top:2px;font-size:10px;display:block}.conversationsConsoleV2 .conversationPreview p{color:var(--muted);margin:5px 0 7px;font-size:12px}.conversationRowMeta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.needsReplyBadge{background:var(--warning-soft);color:var(--warning);border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;display:inline-flex}.conversationsConsoleV2 .chatPanel{background:#f5f7f4}.chatHeaderV2{gap:10px;min-height:70px;padding:11px 16px}.chatCustomerAvatar{background:var(--green);color:#fff;border-radius:50%;flex:none;place-items:center;width:43px;height:43px;font-size:12px;font-weight:800;display:grid}.chatCustomerIdentity{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.chatCustomerIdentity>strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:14px;overflow:hidden}.chatCustomerIdentity>span{color:var(--muted);font-size:11px}.chatStatus{width:fit-content;color:var(--muted);margin-top:2px;font-size:10px;font-weight:800}.chatStatus.WAITING_HUMAN,.chatStatus.OPEN{color:var(--warning)}.chatStatus.HUMAN{color:var(--green)}.chatHeaderAction{flex:none}.chatHeaderAction button{background:var(--green);color:#fff;border:0;border-radius:9px;min-height:38px;padding:0 13px;font-weight:800}.conversationOwned,.conversationClosed{border-radius:999px;align-items:center;min-height:34px;padding:0 10px;font-size:10px;font-weight:800;display:inline-flex}.conversationOwned{background:var(--green-soft);color:var(--green)}.conversationClosed{color:var(--muted);background:#edf0ec}.mobileBack{width:36px;height:36px;color:var(--text);background:#edf0ec;border:0;border-radius:50%;flex:none;place-items:center;font-size:18px;display:none}.conversationsConsoleV2 .messageTimeline{gap:8px;padding:18px 20px}.conversationsConsoleV2 .messageBubble{border:1px solid var(--border);max-width:min(78%,620px);padding:9px 11px 7px;box-shadow:0 4px 14px #2332270a}.conversationsConsoleV2 .messageBubble.customer{background:#fff;border-top-left-radius:4px}.conversationsConsoleV2 .messageBubble.human{background:var(--green-soft);border-top-right-radius:4px}.conversationsConsoleV2 .messageBubble.olivia{background:#edf0ec;border-top-right-radius:4px}.conversationsConsoleV2 .messageBubble.system{max-width:min(90%,680px);box-shadow:none;color:var(--muted);text-align:center;background:0 0;border:0;align-self:center}.conversationsConsoleV2 .messageBubble.system>span{display:none}.conversationsConsoleV2 .messageBubble.system time{text-align:center}.conversationImageLink{color:var(--green);margin-top:7px;font-size:10px;font-weight:800;text-decoration:none;display:block}.conversationImage{object-fit:contain;border-radius:10px;width:auto;max-width:min(100%,380px);max-height:380px;margin-bottom:5px;display:block}.conversationDocument{border:1px solid var(--border);min-width:min(310px,100%);color:var(--text);background:#fff;border-radius:10px;align-items:center;gap:10px;margin-top:7px;padding:10px;text-decoration:none;display:flex}.conversationDocumentIcon{width:42px;height:42px;color:var(--green);background:#edf0ec;border-radius:8px;flex:none;place-items:center;font-size:10px;font-weight:900;display:grid}.conversationDocument>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.conversationDocument strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.conversationDocument small{color:var(--green);font-size:10px;font-weight:800}.conversationMediaLoading,.conversationMediaUnavailable{color:var(--muted);background:#edf0ec;border-radius:9px;margin-top:7px;padding:10px;font-size:11px}.conversationMediaUnavailable{flex-direction:column;gap:3px;display:flex}.replyComposerWrap{border-top:1px solid var(--border);background:#fff;flex:none}.conversationsConsoleV2 .replyComposer{border-top:0;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:11px 13px 5px;display:grid}.conversationsConsoleV2 .replyComposer textarea{resize:none;min-height:48px;max-height:120px;padding:12px}.conversationsConsoleV2 .replyComposer button{min-width:90px;min-height:48px}.composerNotice{color:var(--muted);padding:8px 13px 0;font-size:11px}.composerHint{color:var(--muted);padding:0 13px 8px;font-size:9px;display:block}.chatEmptyV2{min-height:100%}.chatEmptyIcon{margin-bottom:8px;font-size:36px}.chatEmptyV2 h3{color:var(--text);margin:0 0 5px}.chatEmptyV2 p{max-width:380px;margin:0}.chatEmptyV2>span{background:var(--warning-soft);color:var(--warning);border-radius:999px;margin-top:12px;padding:6px 9px;font-size:11px;font-weight:800}.conversationsConsoleV2 .consoleEmpty{flex-direction:column;gap:5px;min-height:230px;display:flex}@media (max-width:900px){.conversationsConsoleV2 .conversationWorkspace{grid-template-columns:320px minmax(0,1fr)}}@media (max-width:760px){.conversationsConsoleV2{border-radius:12px;height:calc(100dvh - 12px);min-height:560px;max-height:none}.conversationsConsoleV2 .consoleHeaderV2{gap:11px;padding:13px}.consoleTitleRow{flex-direction:column;align-items:flex-start;gap:7px}.humanModeBadge{padding:6px 9px;font-size:10px}.consoleSearchRow{grid-template-columns:1fr}.consoleRefreshButton{display:none}.consoleTabs{margin-right:-13px;padding-right:13px}.conversationsConsoleV2 .conversationWorkspace{min-height:0;display:block}.conversationsConsoleV2 .conversationList,.conversationsConsoleV2 .chatPanel{border:0;width:100%;height:100%;max-height:none}.conversationsConsoleV2 .conversationWorkspace.hasSelection .conversationList,.conversationsConsoleV2 .conversationWorkspace:not(.hasSelection) .chatPanel{display:none}.mobileBack{display:grid}.chatHeaderV2{min-height:64px;padding:9px 10px}.chatCustomerAvatar{width:38px;height:38px}.chatCustomerIdentity>strong{font-size:13px}.chatHeaderAction button{max-width:115px;min-height:34px;padding:5px 8px;font-size:10px}.conversationOwned,.conversationClosed{text-align:center;max-width:105px;min-height:30px;padding:4px 8px;font-size:9px}.conversationsConsoleV2 .messageTimeline{padding:13px 10px}.conversationsConsoleV2 .messageBubble{max-width:88%}.conversationImage{max-height:310px}.conversationsConsoleV2 .replyComposer{padding:8px 8px 4px}.conversationsConsoleV2 .replyComposer button{min-width:68px;padding:0 9px}.composerHint{display:none}}.sessionBadge{z-index:1;width:fit-content;max-width:min(390px,100% - 44px);margin:18px 22px 22px auto;position:relative;bottom:auto;left:auto;right:auto}.consoleTabs{scrollbar-width:none}.consoleTabs::-webkit-scrollbar{display:none}@media (max-width:760px){.sessionBadge{width:auto;max-width:none;margin:10px 16px 16px;position:relative;bottom:auto;left:auto;right:auto}.conversationsConsoleV2 .consoleHeaderV2{gap:8px;padding:10px 12px 8px}.consoleTitleRow h2{font-size:26px;line-height:1.05}.conversationsConsoleV2 .eyebrow{margin-bottom:3px;font-size:10px}.humanModeBadge{padding:5px 8px;font-size:10px}.consoleSearchRow{gap:7px}.consoleSearchBox,.operatorField{gap:3px}.consoleSearchBox input,.operatorField input{min-height:38px;padding:8px 10px}.consoleTabs button{min-height:31px;padding:5px 9px}.conversationListHeader{min-height:38px;padding:7px 12px}}.conversationOwnedActions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.chatHeaderAction .closeConversationButton{color:#9f2f2f;background:#b5343412;border:1px solid #b534343d}.chatHeaderAction .closeConversationButton:hover:not(:disabled){background:#b534341f;border-color:#b534346b}.chatHeaderAction .closeConversationButton:disabled{cursor:not-allowed;opacity:.55}@media (max-width:760px){.conversationOwnedActions{flex-direction:column;align-items:stretch;gap:6px;width:100%}.conversationOwnedActions .conversationOwned{text-align:center}.chatHeaderAction .closeConversationButton{width:100%}}.conversationsConsoleV2 .replyComposer{grid-template-columns:auto minmax(0,1fr) auto}.composerFileInput{display:none}.conversationsConsoleV2 .replyComposer .attachmentButton{width:48px;min-width:48px;min-height:48px;color:var(--text);background:#edf0ec;place-items:center;padding:0;font-size:19px;display:grid}.composerAttachment{border:1px solid var(--border);background:#f7f8f6;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;margin:8px 13px 0;padding:9px 10px;display:flex}.composerAttachment>div{align-items:center;gap:9px;min-width:0;display:flex}.composerAttachmentIcon{background:var(--green-soft);width:38px;height:38px;color:var(--green);border-radius:8px;flex:none;place-items:center;font-size:10px;font-weight:900;display:grid}.composerAttachment>div>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.composerAttachment strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.composerAttachment small{color:var(--muted);font-size:10px}.composerAttachmentRemove{width:32px;height:32px;color:var(--text);cursor:pointer;background:#e8ebe7;border:0;border-radius:50%;flex:none;font-size:20px}@media (max-width:760px){.conversationsConsoleV2 .replyComposer .attachmentButton{width:44px;min-width:44px}.composerAttachment{margin:7px 8px 0}}.conversationsConsoleV2 .chatPanel{position:relative}.conversationOwnedActions{flex-wrap:wrap;align-items:center;gap:7px}.chatHeaderAction .launchOrderButton{background:var(--green);color:#fff}.conversationOrderOverlay{z-index:30;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#141e1738;justify-content:flex-end;display:flex;position:absolute;inset:0}.conversationOrderPanel{background:#fff;width:min(610px,100%);height:100%;padding:18px;overflow-y:auto;box-shadow:-12px 0 35px #1e2d2226}.conversationOrderPanel>header{z-index:5;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:14px;margin:-18px -18px 16px;padding:15px 18px;display:flex;position:sticky;top:-18px}.conversationOrderPanel>header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.conversationOrderPanel>header small{color:var(--green);letter-spacing:.06em;font-size:10px;font-weight:900}.conversationOrderPanel>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.conversationOrderPanel>header button{border:1px solid var(--border);min-height:36px;color:var(--text);cursor:pointer;background:#f4f6f3;border-radius:9px;padding:0 12px;font-weight:800}.orderServiceMode{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px;display:grid}.orderServiceMode button{border:1px solid var(--border);min-height:42px;color:var(--text);cursor:pointer;background:#fff;border-radius:10px;font-weight:800}.orderServiceMode button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.orderServiceMode button:disabled{opacity:.5;cursor:not-allowed}.orderProductSearch{border:1px solid var(--border);width:100%;min-height:42px;font:inherit;background:#fff;border-radius:10px;margin-bottom:10px;padding:0 12px}.orderCatalogSummary{color:var(--muted);justify-content:space-between;gap:10px;margin:8px 0 10px;font-size:11px;display:flex}.orderProductList{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.orderProductCard{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:11px;min-width:0;padding:12px}.orderProductCard:hover{border-color:var(--green);background:var(--green-soft)}.orderProductCard strong,.orderProductCard span,.orderProductCard small{display:block}.orderProductCard strong{margin-bottom:5px;font-size:13px}.orderProductCard span{color:var(--green);font-size:12px;font-weight:900}.orderProductCard small{color:var(--muted);margin-top:4px;font-size:10px}.orderProductEditor{border:1px solid var(--border);background:#fafbf9;border-radius:12px;margin:14px 0;padding:14px}.orderProductEditorHeader{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.orderModifierGroup{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}.orderModifierRow{justify-content:space-between;align-items:center;gap:10px;padding:7px 0;display:flex}.orderModifierRow>div:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.orderModifierRow small{color:var(--muted);font-size:10px}.orderModifierQuantity,.humanOrderCartQuantity{align-items:center;gap:8px;display:inline-flex}.orderModifierQuantity button,.humanOrderCartQuantity button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:8px;width:30px;height:30px;font-weight:900}.orderProductEditor textarea{border:1px solid var(--border);resize:vertical;width:100%;min-height:65px;font:inherit;border-radius:9px;margin-top:5px;padding:10px}.addOrderItemButton,.humanOrderConfirmButton{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:10px;width:100%;min-height:44px;margin-top:10px;font-weight:900}.addOrderItemButton:disabled,.humanOrderConfirmButton:disabled{opacity:.55;cursor:not-allowed}.humanOrderCartItems{flex-direction:column;gap:8px;margin-top:14px;display:flex}.humanOrderCartItem{border:1px solid var(--border);background:#fff;border-radius:11px;padding:11px}.humanOrderCartItemTop{justify-content:space-between;gap:10px;display:flex}.humanOrderCartItemActions{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.humanOrderCartModifiers{color:var(--muted);margin-top:5px;font-size:10px}.humanOrderRemoveItem{color:var(--danger);cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:800}.humanOrderCartSummary,.humanOrderCheckout,.humanOrderSuccess{border:1px solid var(--border);background:#fafbf9;border-radius:12px;margin-top:15px;padding:14px}.humanOrderCartTotal{border-top:1px solid var(--border);justify-content:space-between;gap:12px;margin-top:10px;padding-top:10px;font-size:14px;font-weight:900;display:flex}.humanOrderField{flex-direction:column;gap:5px;margin-top:10px;font-size:12px;font-weight:800;display:flex}.humanOrderField select,.humanOrderField input{border:1px solid var(--border);min-height:42px;font:inherit;background:#fff;border-radius:9px;padding:0 10px}.humanOrderPaymentOptions{grid-template-columns:repeat(2,1fr);gap:7px;margin-top:8px;display:grid}.humanOrderPaymentOptions button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:9px;min-height:39px;font-weight:800}.humanOrderPaymentOptions button.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.humanOrderPixNotice,.humanOrderWarning,.humanOrderCheckoutHint{color:var(--muted);margin-top:9px;font-size:11px;line-height:1.4;display:block}.humanOrderWarning{color:var(--warning)}.humanOrderCheckoutSummary{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}.humanOrderSuccess{border-color:var(--green);background:var(--green-soft);flex-direction:column;gap:5px;display:flex}.humanOrderSuccess strong{color:var(--green)}@media (max-width:760px){.conversationOrderOverlay{z-index:100;background:#fff;position:fixed;inset:0}.conversationOrderPanel{width:100%;height:100dvh;box-shadow:none;padding:14px}.conversationOrderPanel>header{margin:-14px -14px 14px;padding:13px 14px;top:-14px}.orderProductList{grid-template-columns:1fr}.humanOrderPaymentOptions{grid-template-columns:1fr 1fr}.chatHeaderAction .launchOrderButton,.chatHeaderAction .closeConversationButton{min-height:34px;padding:0 9px;font-size:10px}}.conversationsConsoleV2 .conversationRow.unread .conversationPreviewTop strong{font-weight:900}.conversationsConsoleV2 .conversationRow.unread .conversationPreview p{color:var(--text);font-weight:800}.conversationsConsoleV2 .conversationRow.unread .conversationPreviewTop time{color:var(--green);font-weight:800}.conversationsConsoleV2 .conversationPreviewTop strong{flex:auto}.conversationUnreadBadge{background:var(--green);color:#fff;border-radius:999px;flex:none;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:10px;font-weight:900;line-height:1;display:inline-flex}@keyframes smartfoodiaHumanHelpPulse{0%,to{transform:scale(1);box-shadow:0 0 #b332322e}50%{transform:scale(1.025);box-shadow:0 0 0 7px #b3323214}}.consoleTabs button.needsHumanAttention{color:#8e2929;background:#fff0ee;border-color:#d86d62;animation:1.15s ease-in-out infinite smartfoodiaHumanHelpPulse}.consoleTabs button.needsHumanAttention strong{color:#fff;background:#b33232}.conversationOrderOverlay.conversationOrderSplit{z-index:1000;border:1px solid var(--border);background:#fff;border-radius:18px;grid-template-columns:minmax(340px,.8fr) minmax(520px,1.2fr);gap:0;padding:0;display:grid;position:fixed;inset:22px;overflow:hidden;box-shadow:0 24px 80px #141c1647}.conversationOrderHistory{border-right:1px solid var(--border);background:#f5f6f3;flex-direction:column;min-width:0;min-height:0;display:flex}.conversationOrderHistory>header{border-bottom:1px solid var(--border);background:#fff;flex-direction:column;flex:none;gap:7px;padding:18px 20px;display:flex}.conversationOrderHistory>header>div{flex-direction:column;gap:3px;display:flex}.conversationOrderHistory>header small{color:var(--green);letter-spacing:.12em;font-size:10px;font-weight:900}.conversationOrderHistory>header strong{font-size:18px}.conversationOrderHistory>header>span{color:var(--muted);font-size:12px;line-height:1.45}.conversationOrderHistoryTimeline{flex-direction:column;flex:auto;gap:10px;min-height:0;padding:18px;display:flex;overflow-y:auto}.conversationOrderForm{background:#fff;min-width:0;min-height:0;overflow-y:auto}.conversationOrderForm .conversationOrderPanel{width:100%;max-width:none;min-height:100%;box-shadow:none;border:0;border-radius:0;margin:0}@media (max-width:980px){.conversationOrderOverlay.conversationOrderSplit{border-radius:14px;grid-template-rows:minmax(220px,38vh) minmax(0,1fr);grid-template-columns:1fr;inset:8px}.conversationOrderHistory{border-right:0;border-bottom:1px solid var(--border)}.conversationOrderHistoryTimeline{padding:12px}}.chatHeaderV2{flex-wrap:wrap}.chatHeaderAction{flex:520px;min-width:0;max-width:100%}.conversationOwnedActions{justify-content:flex-end;width:100%;max-width:100%}.conversationOwnedActions>*{flex:none}@media (max-width:1100px){.chatHeaderAction{flex-basis:100%}.conversationOwnedActions{justify-content:flex-start}}.conversationsConsoleV2 .consoleTitleRow{flex-wrap:wrap;align-items:flex-start}.conversationsConsoleV2 .operationModeControl{flex:0 auto;justify-content:flex-end;width:auto;max-width:100%}.conversationsConsoleV2 .humanModeBadge,.conversationsConsoleV2 .operationModeButton{white-space:nowrap}.conversationsConsoleV2 .chatHeaderAction{flex:0 auto;width:auto;max-width:100%;margin-left:auto}.conversationsConsoleV2 .chatHeaderAction>button{width:auto;min-width:150px;max-width:none;padding-left:16px;padding-right:16px}.conversationsConsoleV2 .conversationOwnedActions{flex-wrap:wrap;justify-content:flex-end;width:auto;max-width:100%}.conversationsConsoleV2 .conversationOwnedActions>*{flex:none;width:auto;max-width:none}@media (max-width:1100px){.conversationsConsoleV2 .chatHeaderAction{flex:0 auto;margin-left:auto}.conversationsConsoleV2 .conversationOwnedActions{justify-content:flex-end}}@media (max-width:760px){.conversationsConsoleV2 .operationModeControl{justify-content:flex-start;width:100%}.conversationsConsoleV2 .chatHeaderAction{width:100%;margin-left:0}.conversationsConsoleV2 .chatHeaderAction>button{width:100%;min-width:0}.conversationsConsoleV2 .conversationOwnedActions{flex-direction:column;align-items:stretch;width:100%}.conversationsConsoleV2 .conversationOwnedActions>*{width:100%}}.conversationsConsoleV2 .customerWaitingTime{background:var(--warning-soft);width:fit-content;color:var(--warning);border-radius:999px;align-items:center;margin:1px 0 6px;padding:3px 7px;font-size:10px;font-weight:800;line-height:1.2;display:inline-flex}.conversationsConsoleV2 .conversationRow.needsReply .customerWaitingTime:before{content:"●";margin-right:5px;font-size:7px}.conversationsConsoleV2 .newMessageIndicatorWrap{z-index:20;pointer-events:none;justify-content:center;height:0;display:flex;position:relative}.conversationsConsoleV2 .newMessageIndicator{color:#1f2937;cursor:pointer;pointer-events:auto;background:#fff;border:1px solid #00000014;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:7px 14px;font-size:12px;font-weight:800;line-height:1;display:inline-flex;position:absolute;bottom:12px;box-shadow:0 4px 14px #0000001f}.conversationsConsoleV2 .newMessageIndicator:hover{transform:translateY(-1px)}.conversationsConsoleV2 .newMessageIndicator span{font-size:16px;line-height:1}
