:root{color-scheme:light;--font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;--brand: #1e4fb8;--brand-600: #1a45a2;--brand-700: #163b8a;--brand-50: #eef3fd;--brand-100: #dbe5fa;--brand-200: #b7cbf4;--brand-ink: #14306e;--citron: #f4c430;--citron-ink: #3d2e00;--nuit: #0f1c3f;--bg: #f4f6fa;--surface: #ffffff;--surface-2: #f8f9fc;--surface-3: #eef1f7;--hover: rgba(15, 28, 63, .045);--border: #e2e6ef;--border-strong: #c9d0de;--text: #131a2e;--text-2: #3d4660;--text-muted: #6a7389;--danger: #c2261d;--danger-bg: #fdecea;--warning: #b45309;--warning-bg: #fef3c7;--warning-border: #fcd34d;--success: #2f6f45;--success-bg: #e2f1e6;--st-draft: #94a3b8;--st-pending: #f59e0b;--st-confirmed: #16a34a;--st-cancelled: #dc2626;--st-unreachable: #7c3aed;--st-shipped: #2563eb;--st-delivered: #0d9488;--st-returned: #ea580c;--series-1: #2a78d6;--series-2: #1baf7a;--series-3: #eb6834;--series-4: #6250d6;--chart-grid: #eceeed;--chart-axis: #cfd6d3;--bubble-in: #ffffff;--bubble-agent: #e8eefc;--bubble-human: #1e4fb8;--bubble-human-ink: #ffffff;--sidebar-bg: #0f1c3f;--sidebar-ink: #b4bfdb;--sidebar-ink-strong: #ffffff;--sidebar-active: rgba(255, 255, 255, .1);--radius-sm: 7px;--radius: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 0 rgba(15, 28, 63, .04);--shadow: 0 1px 0 rgba(15, 28, 63, .04), 0 2px 8px -2px rgba(15, 28, 63, .06);--shadow-lg: 0 18px 48px -12px rgba(15, 28, 63, .28);--zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='white' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3Cpath d='M0 0l8 8M56 0l-8 8M0 56l8-8M56 56l-8-8'/%3E%3C/g%3E%3C/svg%3E");--topbar-h: 60px;--sidebar-w: 236px}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font);font-size:14px;line-height:1.5;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,h4{margin:0;font-weight:650;letter-spacing:-.01em}p{margin:0}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button{font:inherit;color:inherit}img{max-width:100%}code,.mono{font-family:var(--mono);font-size:.92em}.muted{color:var(--text-muted)}.small{font-size:12.5px}.strong{font-weight:600}.nowrap{white-space:nowrap}.center{text-align:center}.right{text-align:right}.num{text-align:right;font-variant-numeric:tabular-nums}.pre{white-space:pre-wrap}.grow{flex:1}.row{display:flex;align-items:center}.row.between,.between{justify-content:space-between}.row.wrap{flex-wrap:wrap}.gap-xs{gap:4px}.gap-sm{gap:8px}.stack-sm{display:flex;flex-direction:column;gap:10px}.stack-md{display:flex;flex-direction:column;gap:16px}.stack-lg{display:flex;flex-direction:column;gap:24px}.mt-md{margin-top:16px}.pad-sm{padding:8px 0}.pad-md{padding:20px}.text-danger{color:var(--danger)}.text-success{color:var(--success)}.text-warning{color:var(--warning)}.is-disabled{opacity:.5;pointer-events:none}.is-refreshing{opacity:.6;transition:opacity .2s}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:18px;letter-spacing:-.02em}.brand-mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(140deg,#14b8a6,var(--brand) 70%);color:#fff;box-shadow:0 2px 6px #0f766e59}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:var(--radius-sm);border:1px solid transparent;background:var(--surface);font-weight:550;font-size:13.5px;cursor:pointer;white-space:nowrap;text-decoration:none!important;transition:background .15s,border-color .15s,box-shadow .15s,color .15s}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-sm{height:30px;padding:0 10px;font-size:12.5px;gap:5px}.btn-lg{height:44px;padding:0 18px;font-size:14.5px}.btn-block{width:100%}.btn-primary{background:var(--brand);color:#fff;box-shadow:var(--shadow-sm)}.btn-primary:hover:not(:disabled){background:var(--brand-600)}.btn-ghost{background:var(--surface);border-color:var(--border);color:var(--text)}.btn-ghost:hover:not(:disabled){background:var(--surface-3);border-color:var(--border-strong)}.btn-ghost.active{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning)}.btn-ghost.danger,.icon-btn.danger{color:var(--danger)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#a31f17}.btn-warning{background:#f59e0b;color:#1f1300}.btn-warning:hover:not(:disabled){background:#d97706}.btn-urgent{background:#d97706;color:#fff;box-shadow:0 0 #d9770699;animation:urgent-pulse 1.6s infinite}.btn-urgent:hover:not(:disabled){background:#b45309}@keyframes urgent-pulse{0%{box-shadow:0 0 #d977068c}70%{box-shadow:0 0 0 10px #d9770600}to{box-shadow:0 0 #d9770600}}.btn-ghost-inv{background:#ffffff1a;color:#fff;border-color:#fff3}.btn-ghost-inv:hover{background:#ffffff2e}.btn-meta{background:#1877f2}.btn-meta:hover:not(:disabled){background:#0f66d8}.icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-sm);border:0;background:transparent;color:var(--text-2);cursor:pointer;position:relative;flex:none}.icon-btn:hover:not(:disabled){background:var(--hover);color:var(--text)}.icon-btn:disabled{opacity:.35;cursor:not-allowed}.input{width:100%;height:36px;padding:0 11px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-size:13.5px;transition:border-color .15s,box-shadow .15s}textarea.input{height:auto;padding:8px 11px;resize:vertical;line-height:1.5}.input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #1e4fb82e}.input:disabled{background:var(--surface-3);color:var(--text-muted)}.select{width:auto;min-width:140px;padding-right:30px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7873' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;cursor:pointer}.field .select,.form-grid .select{width:100%}.input-group{display:flex;gap:8px}.input-suffix{position:relative}.input-suffix .input{padding-right:30px}.input-suffix span{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:12px;pointer-events:none}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field-label{font-size:12.5px;font-weight:600;color:var(--text-2)}.hint{font-size:12px;color:var(--text-muted)}.form{display:flex;flex-direction:column;gap:14px;margin-top:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.span-2{grid-column:span 2}.form-error{padding:9px 12px;border-radius:var(--radius-sm);background:var(--danger-bg);color:var(--danger);font-size:13px}.checkbox{display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-weight:500}.checkbox input{width:16px;height:16px;accent-color:var(--brand)}.switch-row{display:inline-flex;align-items:flex-start;gap:10px;cursor:pointer}.switch{position:relative;flex:none;width:36px;height:20px;border-radius:999px;border:0;background:var(--border-strong);cursor:pointer;padding:0;transition:background .15s}.switch.on{background:var(--brand)}.switch-knob{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}.switch.on .switch-knob{transform:translate(16px)}.switch-text{display:flex;flex-direction:column;gap:1px;padding-top:1px}.switch-label{font-weight:500}.segmented{display:inline-flex;padding:3px;gap:2px;background:var(--surface-3);border:1px solid var(--border);border-radius:9px;flex-wrap:wrap}.segmented button{border:0;background:transparent;padding:5px 12px;border-radius:6px;cursor:pointer;font-weight:550;font-size:13px;color:var(--text-2)}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.segmented-sm button{padding:3px 9px;font-size:12px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:16px;overflow-x:auto;scrollbar-width:none}.tab{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;color:var(--text-2);font-weight:550;cursor:pointer;white-space:nowrap}.tab:hover{color:var(--text)}.tab.active{color:var(--brand-700);border-bottom-color:var(--brand)}.tab-count{min-width:22px;padding:0 6px;border-radius:999px;background:var(--surface-3);color:var(--text-2);font-size:11.5px;font-weight:600;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}.tab.active .tab-count{background:var(--brand-100);color:var(--brand-ink)}.pill{display:inline-flex;align-items:center;gap:5px;padding:2px 9px 2px 8px;border-radius:999px;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap;border:1px solid transparent}.pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.pill-draft{background:#f1f5f9;color:#475569;border-color:#e2e8f0}.pill-pending{background:#fef3c7;color:#92400e;border-color:#fde68a}.pill-confirmed{background:#dcfce7;color:#166534;border-color:#bbf7d0}.pill-cancelled{background:#fee2e2;color:#991b1b;border-color:#fecaca}.pill-unreachable{background:#ede9fe;color:#5b21b6;border-color:#ddd6fe}.pill-shipped{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}.pill-delivered{background:#ccfbf1;color:#115e59;border-color:#99f6e4}.pill-returned{background:#ffedd5;color:#9a3412;border-color:#fed7aa}.pill-urgent{background:#f59e0b;color:#1f1300}.pill.pulse:before{animation:blink 1s infinite}@keyframes blink{50%{opacity:.2}}.status-dot{display:inline-block;width:8px;height:8px;border-radius:2px;flex:none}.dot-draft{background:var(--st-draft)}.dot-pending{background:var(--st-pending)}.dot-confirmed{background:var(--st-confirmed)}.dot-cancelled{background:var(--st-cancelled)}.dot-unreachable{background:var(--st-unreachable)}.dot-shipped{background:var(--st-shipped)}.dot-delivered{background:var(--st-delivered)}.dot-returned{background:var(--st-returned)}.badge{display:inline-flex;align-items:center;padding:1px 7px;border-radius:5px;font-size:11.5px;font-weight:600;background:var(--surface-3);color:var(--text-2)}.tag{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:5px;font-size:11.5px;font-weight:600;line-height:18px;white-space:nowrap}.tag-warn{background:var(--warning-bg);color:var(--warning)}.tag-agent{background:var(--brand-50);color:var(--brand-700)}.tag-human{background:#eef2ff;color:#3730a3}.ia-badge{display:inline-block;padding:0 5px;border-radius:4px;background:var(--brand);color:#fff;font-size:10px;font-weight:700;line-height:15px;letter-spacing:.03em}.role{display:inline-block;padding:2px 8px;border-radius:5px;font-size:12px;font-weight:600}.role-owner{background:var(--brand-100);color:var(--brand-ink)}.role-admin{background:#e0e7ff;color:#3730a3}.channel{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.channel svg{flex:none}.channel-messenger svg{color:#0a7cff}.channel-instagram svg{color:#d62976}.channel-whatsapp svg{color:#16a34a}.channel-simulator svg{color:#7c3aed}.channel-api svg,.channel-manual svg{color:var(--text-muted)}.channel span{color:var(--text-2)}.avatar{border-radius:50%;object-fit:cover;flex:none;display:inline-grid;place-items:center}.avatar-initials{background:linear-gradient(135deg,var(--brand-100),#e0f2fe);color:var(--brand-ink);font-weight:650}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}.live-dot.on{background:#22c55e;box-shadow:0 0 0 3px #22c55e33}.live-dot.off{background:#94a3b8}.ind{display:inline-block;width:8px;height:8px;border-radius:50%;vertical-align:middle}.ind-on{background:#16a34a;box-shadow:0 0 0 3px #16a34a26}.ind-off{background:#cbd5e1}.app{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-w);background:var(--sidebar-bg);color:var(--sidebar-ink);display:flex;flex-direction:column;z-index:40}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;height:var(--topbar-h);padding:0 18px;color:#fff}.sidebar-close{display:none;color:var(--sidebar-ink)}.nav{flex:1;padding:10px;display:flex;flex-direction:column;gap:2px;overflow-y:auto}.nav-item{display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:8px;color:var(--sidebar-ink);font-weight:520;text-decoration:none!important;transition:background .15s,color .15s}.nav-item:hover{background:#ffffff0f;color:var(--sidebar-ink-strong)}.nav-item.active{background:var(--sidebar-active);color:var(--sidebar-ink-strong);box-shadow:inset 3px 0 #2dd4bf}.nav-badge{margin-left:auto;min-width:20px;padding:0 6px;border-radius:999px;background:#f59e0b;color:#1f1300;font-size:11px;font-weight:700;line-height:19px;text-align:center}.nav-badge-urgent{background:#ef4444;color:#fff;animation:blink 1.2s infinite}.sidebar-foot{display:flex;align-items:center;gap:8px;padding:14px 20px;font-size:12px;border-top:1px solid rgba(255,255,255,.07)}.scrim{display:none}.main{flex:1;min-width:0;margin-left:var(--sidebar-w);display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:30;height:var(--topbar-h);display:flex;align-items:center;gap:12px;padding:0 24px;background:#ffffffeb;-webkit-backdrop-filter:saturate(1.4) blur(8px);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--border)}.burger{display:none}.topbar-shop-name{font-weight:650;font-size:15px}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:6px}.topbar-btn{width:38px;height:38px}.dot-count{position:absolute;top:3px;right:2px;min-width:17px;padding:0 4px;border-radius:999px;background:var(--danger);color:#fff;font-size:10px;font-weight:700;line-height:17px;text-align:center;border:2px solid var(--surface)}.user-btn{display:inline-flex;align-items:center;gap:8px;padding:4px 8px 4px 4px;border:1px solid transparent;border-radius:999px;background:transparent;cursor:pointer}.user-btn:hover{background:var(--hover)}.user-name{font-weight:550;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{flex:1;min-width:0;display:flex;flex-direction:column}.page{width:100%;max-width:1360px;margin:0 auto;padding:24px 28px 48px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-head h1{font-size:22px}.page-sub{color:var(--text-muted);margin-top:3px}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.back-link{display:inline-flex;align-items:center;gap:5px;margin-bottom:10px;color:var(--text-muted);font-weight:550;font-size:13px}.section-h{display:flex;align-items:center;gap:8px;font-size:15px;margin-bottom:10px}.section-title{font-size:13px;font-weight:550;color:var(--text-muted);margin-bottom:10px}.dropdown{position:relative}.dropdown-panel{position:absolute;right:0;top:calc(100% + 8px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);z-index:60;overflow:hidden}.dropdown-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--border)}.notif-panel{width:380px;max-width:calc(100vw - 24px)}.notif-perm{display:flex;align-items:center;gap:7px;width:100%;padding:8px 16px;border:0;border-bottom:1px solid var(--border);background:var(--brand-50);color:var(--brand-700);font-size:12.5px;font-weight:550;cursor:pointer;text-align:left}.notif-list{max-height:420px;overflow-y:auto}.notif-item{display:flex;gap:11px;width:100%;padding:11px 16px;border:0;border-bottom:1px solid var(--border);background:transparent;text-align:left;cursor:pointer}.notif-item:hover{background:var(--surface-2)}.notif-item.unread{background:#f5fbfa}.notif-item.unread .notif-title:after{content:"";display:inline-block;width:7px;height:7px;margin-left:6px;border-radius:50%;background:var(--brand);vertical-align:middle}.notif-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--surface-3);color:var(--text-2)}.notif-handoff .notif-icon,.notif-call_waiting .notif-icon{background:var(--warning-bg);color:var(--warning)}.notif-order_confirmed .notif-icon{background:#dcfce7;color:#166534}.notif-order_cancelled .notif-icon,.notif-sync_error .notif-icon{background:#fee2e2;color:#991b1b}.notif-order_unreachable .notif-icon{background:#ede9fe;color:#5b21b6}.notif-text{display:flex;flex-direction:column;min-width:0}.notif-title{font-weight:600}.notif-body{color:var(--text-2);font-size:13px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.notif-time{color:var(--text-muted);font-size:11.5px;margin-top:2px}.user-panel{width:240px;padding:6px}.user-panel-head{display:flex;flex-direction:column;padding:8px 10px 10px;border-bottom:1px solid var(--border);margin-bottom:4px}.menu-item{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--text);cursor:pointer;text-align:left;text-decoration:none!important}.menu-item:hover{background:var(--hover)}.menu-item.danger{color:var(--danger)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 0}.card-head h3{font-size:14.5px}.card-body{padding:14px 18px 18px}.card-note{margin-top:12px;font-size:12.5px;color:var(--text-muted)}.table-card{overflow:hidden}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px 20px;color:var(--text-muted)}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 24px;gap:6px}.empty-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--brand-50);color:var(--brand);margin-bottom:8px}.empty-title{font-weight:650;font-size:15px}.empty-text{color:var(--text-muted);max-width:420px}.empty-action{margin-top:12px}.table-scroll{overflow-x:auto}.table{width:100%;border-collapse:collapse}.table th{padding:10px 14px;text-align:left;font-size:12.5px;font-weight:500;color:var(--text-muted);background:var(--surface-2);border-bottom:1px solid var(--border);white-space:nowrap}.table th.num{text-align:right}.table th.center{text-align:center}.table td{padding:11px 14px;border-bottom:1px solid var(--border);vertical-align:middle}.table tbody tr:last-child td{border-bottom:0}.table-hover tbody tr{cursor:pointer}.table-wide{min-width:860px}.table-hover tbody tr:hover,.table tbody tr.selected{background:#f4faf9}.table-compact th,.table-compact td{padding:8px 18px}.rank{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:9px;border-radius:6px;background:var(--surface-3);font-size:11px;font-weight:650;color:var(--text-2)}.pagination{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-top:1px solid var(--border);font-size:13px}.pagination-btns{display:flex;align-items:center;gap:4px}.pagination-page{min-width:56px;text-align:center;font-variant-numeric:tabular-nums}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}.search{position:relative;flex:1;min-width:220px;max-width:420px}.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.search .input{padding-left:34px}.overlay{position:fixed;inset:0;z-index:100;background:#0a14126b;display:grid;place-items:center;padding:20px;animation:fade .15s ease-out}@keyframes fade{0%{opacity:0}}.modal{width:100%;max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);animation:pop .18s ease-out}@keyframes pop{0%{transform:translateY(8px) scale(.98);opacity:0}}.modal-head,.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-head h2{font-size:16px}.modal-body{padding:18px 20px;overflow-y:auto}.modal-foot,.drawer-foot{display:flex;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 var(--radius-lg) var(--radius-lg);flex-wrap:wrap}.overlay-drawer{place-items:stretch end;padding:0}.drawer{width:min(560px,100vw);height:100vh;display:flex;flex-direction:column;background:var(--surface);box-shadow:var(--shadow-lg);animation:slide .2s ease-out}@keyframes slide{0%{transform:translate(30px);opacity:0}}.drawer-title{font-weight:650;font-size:16px}.drawer-title-row{display:flex;align-items:center;gap:10px}.drawer-body{flex:1;overflow-y:auto;padding:20px}.drawer-foot{border-radius:0}.toasts{position:fixed;right:20px;bottom:20px;z-index:200;display:flex;flex-direction:column;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}.toast{pointer-events:auto;display:flex;gap:11px;padding:13px 12px 13px 14px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--brand);box-shadow:var(--shadow-lg);animation:pop .2s ease-out}.toast-success{border-left-color:#16a34a}.toast-success .toast-icon{color:#16a34a}.toast-error{border-left-color:var(--danger)}.toast-error .toast-icon{color:var(--danger)}.toast-warning{border-left-color:#f59e0b}.toast-warning .toast-icon{color:#d97706}.toast-info .toast-icon{color:var(--brand)}.toast-urgent{background:#fffbeb;border-color:#fcd34d;border-left-color:#d97706}.toast-urgent .toast-icon{color:#d97706;animation:blink 1s infinite}.toast-icon{flex:none;margin-top:1px}.toast-content{flex:1;min-width:0}.toast-title{font-weight:650}.toast-body{color:var(--text-2);font-size:13px;margin-top:1px;word-wrap:break-word}.toast-action{margin-top:9px}.toast-close{width:26px;height:26px;margin:-4px -2px 0 0}.callbar{position:fixed;left:50%;bottom:20px;transform:translate(calc(-50% + var(--sidebar-w) / 2));z-index:150;display:flex;align-items:center;gap:8px;padding:8px 8px 8px 16px;border-radius:999px;background:#0c2e2b;color:#fff;box-shadow:var(--shadow-lg);max-width:calc(100vw - 24px);flex-wrap:wrap}.callbar-pulse{width:10px;height:10px;border-radius:50%;background:#22c55e;animation:blink 1.2s infinite}.callbar-info{display:flex;flex-direction:column;line-height:1.2;margin-right:8px}.callbar-timer{font-family:var(--mono);font-size:12px;color:#b4bfdb}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);background:var(--surface)}.auth-aside{display:flex;flex-direction:column;justify-content:space-between;padding:36px 44px;background:radial-gradient(1200px 500px at -10% 110%,rgba(45,212,191,.25),transparent 60%),linear-gradient(160deg,#0c2e2b,#0f4b46);color:#e6f2f0}.auth-aside .brand{color:#fff}.auth-pitch h2{font-size:28px;line-height:1.25;max-width:460px;color:#fff}.auth-pitch ul{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-direction:column;gap:14px}.auth-pitch li{display:flex;gap:11px;align-items:flex-start;color:#c4dfdb}.auth-pitch li svg{flex:none;margin-top:2px;color:#5eead4}.auth-foot{font-size:12.5px;color:#8fb5af}.auth-main{display:grid;place-items:center;padding:32px 20px}.auth-card{width:100%;max-width:380px}.auth-card h1{font-size:24px;margin-bottom:4px}.auth-brand-mobile{display:none;margin-bottom:24px}.auth-switch{margin-top:20px;text-align:center;color:var(--text-muted)}.overview{display:flex;flex-direction:column;gap:16px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:14px 16px;box-shadow:var(--shadow-sm);min-width:0}.kpi-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.kpi-label{font-size:12.5px;font-weight:600;color:var(--text-2)}.kpi-icon{color:var(--text-muted)}.kpi-value{margin-top:6px;font-size:24px;font-weight:700;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-sub{margin-top:2px;font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-accent{background:linear-gradient(160deg,var(--brand-50),var(--surface) 70%);border-color:var(--brand-200)}.kpi-accent .kpi-icon,.kpi-accent .kpi-value{color:var(--brand-700)}.grid-2-1{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px}.grid-1-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:16px;align-items:start}.chart{width:100%;min-width:0}.chart-empty{display:grid;place-items:center;height:200px;color:var(--text-muted);text-align:center;padding:20px}.chart-tip{background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow);padding:9px 11px;font-size:12.5px;min-width:160px}.chart-tip-title{color:var(--text-muted);margin-bottom:5px;text-transform:capitalize}.chart-tip-row{display:flex;align-items:center;gap:7px;line-height:1.7}.chart-tip-row strong{font-variant-numeric:tabular-nums}.chart-tip-key{width:12px;height:2px;border-radius:1px}.recharts-legend-item-text{color:var(--text-2)!important}.barlist{display:flex;flex-direction:column;gap:9px}.barlist-row{display:grid;grid-template-columns:minmax(90px,130px) minmax(0,1fr) auto;align-items:center;gap:10px;font-size:13px}.barlist-label{color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.barlist-status{display:inline-flex;align-items:center;gap:7px}.barlist-track{height:8px;background:var(--surface-3);border-radius:4px;overflow:hidden}.barlist-fill{height:100%;border-radius:4px;min-width:2px;transition:width .3s}.barlist-value{font-variant-numeric:tabular-nums;font-weight:600;text-align:right;white-space:nowrap;font-size:12.5px}.order-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px}.cancel-box{margin-top:12px;padding:12px;border-radius:var(--radius);background:#fef6f6;border:1px solid #fde0de;display:flex;flex-direction:column;gap:10px}.items{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.item-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border)}.item-row:last-child{border-bottom:0}.item-img{width:44px;height:44px;border-radius:8px;object-fit:cover;background:var(--surface-3)}.item-img-empty{display:grid;place-items:center;color:var(--text-muted)}.item-qty{color:var(--text-2);font-size:13px;white-space:nowrap}.item-total{white-space:nowrap;min-width:80px;text-align:right}.totals{margin-top:10px;margin-left:auto;width:min(280px,100%);display:flex;flex-direction:column;gap:4px;font-size:13.5px}.totals>div{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums}.totals-grand{margin-top:4px;padding-top:8px;border-top:1px solid var(--border);font-weight:700;font-size:15px}.timeline{list-style:none;margin:0;padding:0;position:relative}.timeline:before{content:"";position:absolute;left:12px;top:6px;bottom:6px;width:1px;background:var(--border)}.tl-item{position:relative;display:flex;gap:12px;padding-bottom:14px}.tl-icon{position:relative;z-index:1;flex:none;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--surface-3);color:var(--text-2);border:2px solid var(--surface)}.tl-agent .tl-icon{background:var(--brand-100);color:var(--brand-700)}.tl-human .tl-icon{background:#e0e7ff;color:#3730a3}.tl-customer .tl-icon{background:#fef3c7;color:#92400e}.tl-body{min-width:0;padding-top:2px}.tl-title{font-weight:600;font-size:13.5px}.tl-desc{color:var(--text-2);font-size:13px}.tl-time{color:var(--text-muted);font-size:12px}.new-items{display:flex;flex-direction:column;gap:8px}.new-item{display:grid;grid-template-columns:minmax(140px,1.3fr) minmax(120px,1.5fr) 90px 100px 64px 110px 34px;gap:6px;align-items:center}.new-item .select{min-width:0;width:100%}.input-qty{text-align:center;padding:0 6px}.inbox{display:grid;grid-template-columns:340px minmax(0,1fr) 300px;height:calc(100vh - var(--topbar-h));min-height:0;background:var(--surface)}.inbox-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border);background:var(--surface)}.inbox-list-head{padding:16px 14px 10px;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--border)}.inbox-list-head h1{font-size:18px}.inbox-list-head .search{max-width:none;min-width:0}.filter-pills{display:flex;flex-wrap:wrap;gap:5px}.fpill{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12.5px;font-weight:550;cursor:pointer}.fpill:hover{background:var(--surface-3)}.fpill.active{background:var(--brand);color:#fff;border-color:var(--brand)}.fpill-warn.active{background:#d97706;border-color:#d97706}.channel-filter{display:flex;gap:4px}.chan-btn{display:inline-grid;place-items:center;height:30px;min-width:34px;padding:0 8px;border-radius:7px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600;cursor:pointer}.chan-btn.active{border-color:var(--brand);background:var(--brand-50);color:var(--brand-700);box-shadow:inset 0 0 0 1px var(--brand)}.inbox-items{flex:1;overflow-y:auto;min-height:0}.conv-item{display:flex;gap:11px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid var(--border);background:transparent;text-align:left;cursor:pointer;position:relative}.conv-item:hover{background:var(--surface-2)}.conv-item.active{background:#eef8f6}.conv-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--brand)}.conv-item.needs-human{background:#fffbeb}.conv-item.needs-human.active{background:#fef3c7}.conv-avatar{position:relative;flex:none}.conv-channel{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--surface);box-shadow:0 0 0 1.5px var(--surface)}.conv-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.conv-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.conv-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-item.unread .conv-name,.conv-item.unread .conv-preview{font-weight:700;color:var(--text)}.conv-time{flex:none;font-size:11.5px;color:var(--text-muted)}.conv-preview{font-size:13px;color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-tags{display:flex;align-items:center;gap:5px;margin-top:3px;flex-wrap:wrap}.conv-tags .pill{font-size:11px;line-height:16px;padding:0 7px 0 6px}.unread-count{margin-left:auto;min-width:19px;padding:0 5px;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;line-height:19px;text-align:center}.load-more{border-radius:0;border-width:0 0 1px}.inbox-empty{grid-column:span 2;display:grid;place-items:center;background:var(--surface-2)}.thread{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--surface-2)}.thread-head{display:flex;align-items:center;gap:11px;padding:10px 16px;min-height:62px;background:var(--surface);border-bottom:1px solid var(--border)}.thread-back,.info-toggle{display:none}.thread-title{flex:1;min-width:0}.thread-title>.strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-sub{display:flex;align-items:center;gap:10px;font-size:12.5px}.mode-badge{display:inline-flex;align-items:center;gap:4px;padding:0 7px;border-radius:5px;font-weight:600;font-size:11.5px;line-height:19px}.mode-agent{background:var(--brand-50);color:var(--brand-700)}.mode-human{background:#eef2ff;color:#3730a3}.thread-actions{display:flex;align-items:center;gap:6px}.handoff-banner{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fef3c7;border-bottom:1px solid #fcd34d;color:#78350f;font-size:13.5px}.handoff-banner>svg{flex:none;color:#d97706}.handoff-banner>div{flex:1;min-width:0}.thread-msgs{flex:1;overflow-y:auto;padding:18px 20px 10px;min-height:0;background-color:var(--surface-2);background-image:radial-gradient(rgba(30,79,184,.05) 1px,transparent 1px);background-size:18px 18px}.day-sep{display:flex;justify-content:center;margin:14px 0 10px;font-size:11.5px;font-weight:600;color:var(--text-muted);text-transform:capitalize}.day-sep:before,.day-sep:after{content:"";flex:1;height:1px;background:var(--border);margin:auto 12px;max-width:120px}.msg-row{display:flex;flex-direction:column;margin:3px 0;max-width:100%}.msg-row.in{align-items:flex-start}.msg-row.out{align-items:flex-end}.msg-author{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:var(--text-muted);margin:6px 4px 3px}.bubble{max-width:min(520px,78%);padding:8px 12px;border-radius:14px;background:var(--bubble-in);border:1px solid var(--border);box-shadow:var(--shadow-sm);word-wrap:break-word;overflow-wrap:anywhere}.msg-row.in .bubble{border-bottom-left-radius:4px}.msg-row.out .bubble{border-bottom-right-radius:4px}.bubble-agent{background:var(--bubble-agent);border-color:#cde9e3}.bubble-human{background:var(--bubble-human);color:var(--bubble-human-ink);border-color:var(--bubble-human)}.bubble-human a,.bubble-human .chip{color:#fff}.bubble-failed{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}.bubble-text{white-space:pre-wrap;font-size:14px;line-height:1.5;unicode-bidi:plaintext}.bubble-reply{background:#fff7e6;border-color:#f8c97a;box-shadow:0 0 0 2px #f59e0b2e}.reply-tag,.summary-tag,.audio-tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:650;color:#b45309;margin-bottom:3px}.summary-tag{color:var(--brand-700)}.audio-tag{color:var(--text-muted)}.bubble-summary{border-left:3px solid var(--brand)}.bubble-img-link{display:block;margin:-2px -6px 6px}.bubble-img{display:block;max-width:240px;max-height:240px;border-radius:10px;object-fit:cover}.bubble-link{display:inline-block;margin-top:6px;font-size:12.5px;font-weight:600}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.chip{display:inline-flex;align-items:center;padding:4px 11px;border-radius:999px;border:1px solid var(--brand-200);background:var(--surface);color:var(--brand-700);font-size:12.5px;font-weight:600;line-height:1.4}.chip-action{cursor:pointer;transition:background .15s}.chip-action:hover:not(:disabled){background:var(--brand-50)}.chip-action:disabled{opacity:.5;cursor:default}.product-mini{display:flex;align-items:center;gap:10px;margin-bottom:6px}.product-mini img,.product-mini-ph{width:48px;height:48px;border-radius:8px;object-fit:cover;background:var(--surface-3);display:grid;place-items:center;color:var(--text-muted)}.msg-meta{display:flex;align-items:center;gap:3px;font-size:11px;color:var(--text-muted);margin:2px 5px 0}.tick-read{color:#2563eb}.tick-failed{color:var(--danger)}.msg-system{margin:10px auto;max-width:80%;padding:5px 12px;border-radius:999px;background:var(--surface-3);color:var(--text-2);font-size:12.5px;text-align:center;width:fit-content}.msg-system-time{color:var(--text-muted);font-size:11px;margin-left:4px}.call-card{display:flex;align-items:center;gap:10px;padding:10px 12px;min-width:220px;max-width:340px;border-radius:12px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--text);text-decoration:none!important}a.call-card:hover{border-color:var(--brand-200)}.call-card-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--brand-50);color:var(--brand)}.call-card-text{display:flex;flex-direction:column;font-size:13px;min-width:0;flex:1}.call-card-text span{color:var(--text-2)}.call-card-link{font-size:12.5px;font-weight:600;color:var(--brand)}.composer{display:flex;align-items:flex-end;gap:8px;padding:10px 14px;background:var(--surface);border-top:1px solid var(--border)}.composer-input{min-height:40px;max-height:160px;resize:none;field-sizing:content;border-radius:20px;padding:9px 14px}.composer-send{flex:none;width:40px;height:40px;padding:0;border-radius:50%}.inbox-side{border-left:1px solid var(--border);background:var(--surface);overflow-y:auto;min-height:0}.side-panel{padding:18px 16px;display:flex;flex-direction:column;gap:20px}.side-contact{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding-bottom:16px;border-bottom:1px solid var(--border)}.side-close{display:none}.side-card{display:flex;flex-direction:column;gap:4px;padding:10px 12px;margin-bottom:8px;border:1px solid var(--border);border-radius:var(--radius);color:var(--text);text-decoration:none!important;transition:border-color .15s,background .15s}.side-card:hover{border-color:var(--brand-200);background:var(--surface-2)}.side-card .muted.small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.typing{display:inline-flex;gap:4px;padding:12px 14px}.typing span{width:7px;height:7px;border-radius:50%;background:var(--brand);opacity:.4;animation:bounce 1.2s infinite}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.transcript{display:flex;flex-direction:column}.transcript-wrap{max-height:70vh;overflow-y:auto;padding:4px}.bubble-customer{background:var(--bubble-in)}.unspoken{color:var(--text-muted);text-decoration:line-through;text-decoration-color:#6b787399;opacity:.8}.interrupted-tag{display:inline-block;margin-top:5px;padding:0 6px;border-radius:4px;background:var(--warning-bg);color:var(--warning);font-size:10.5px;font-weight:700;line-height:16px;text-transform:lowercase}.audio-player{width:100%}.dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0;font-size:13.5px}.dl dt{color:var(--text-muted)}.dl dd{margin:0;text-align:right}.live-calls{margin-bottom:22px}.live-empty{padding:16px 18px}.live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.live-card{padding:16px;display:flex;flex-direction:column;gap:12px}.live-card-urgent{border-color:#f59e0b;background:#fffbeb;box-shadow:0 0 0 3px #f59e0b26}.live-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--brand-50);color:var(--brand)}.live-card-urgent .live-icon{background:#fde68a;color:#92400e;animation:blink 1.2s infinite}.live-summary{color:var(--text-2)}.products-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.product{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);transition:box-shadow .15s,opacity .15s}.product:hover{box-shadow:var(--shadow)}.product.is-hidden{opacity:.65}.product-img{position:relative;aspect-ratio:4 / 3;background:var(--surface-3);display:grid;place-items:center}.product-img img{width:100%;height:100%;object-fit:cover}.src-badge{position:absolute;left:8px;top:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:650;background:#ffffffeb;color:var(--text-2);box-shadow:var(--shadow-sm)}.src-meta_catalog{color:#1d4ed8}.src-facebook_post{color:#1877f2}.src-instagram_post{color:#c13584}.hidden-badge{position:absolute;right:8px;top:8px;display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:#0f1a17cc;color:#fff;font-size:11px;font-weight:600}.product-body{padding:12px 14px;display:flex;flex-direction:column;gap:8px;flex:1}.product-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.9em}.product-price{font-weight:700;font-size:15px}.opts{display:flex;flex-wrap:wrap;gap:4px}.opt{padding:1px 7px;border-radius:5px;border:1px solid var(--border);font-size:11.5px;color:var(--text-2)}.opt-color{background:var(--surface-2)}.product-controls{margin-top:auto;padding-top:8px;border-top:1px solid var(--border);display:flex;flex-direction:column;align-items:flex-start;gap:8px}.product-foot{display:flex;justify-content:space-between;gap:8px}.product-foot span,.product-foot a{display:inline-flex;align-items:center;gap:4px}.runs-card{position:sticky;top:calc(var(--topbar-h) + 16px)}.runs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.run{display:flex;gap:9px}.run-icon{flex:none;margin-top:2px}.run-success .run-icon{color:#16a34a}.run-error .run-icon{color:var(--danger)}.run-running .run-icon{color:var(--brand)}.run-body{flex:1;min-width:0}.sim-layout{display:grid;grid-template-columns:minmax(340px,420px) minmax(0,1fr);gap:24px;align-items:start}.sim-chat{display:flex;flex-direction:column;gap:12px;align-items:center}.phone{width:100%;max-width:400px;height:min(720px,calc(100vh - 250px));min-height:500px;display:flex;flex-direction:column;border-radius:36px;border:10px solid #0f1a17;background:#efeae2;box-shadow:var(--shadow-lg),inset 0 0 0 1px #ffffff0d;overflow:hidden;position:relative}.phone-notch{position:absolute;left:50%;top:0;transform:translate(-50%);width:120px;height:20px;background:#0f1a17;border-radius:0 0 14px 14px;z-index:2}.phone-head{display:flex;align-items:center;gap:10px;padding:26px 12px 10px;background:#0b5f58;color:#fff}.phone-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff3}.phone-title{display:flex;flex-direction:column;line-height:1.2;flex:1}.phone-title span{font-size:11.5px;color:#c6ece6}.phone-reset{color:#fff}.phone-reset:hover:not(:disabled){background:#ffffff26;color:#fff}.phone-msgs{flex:1;overflow-y:auto;padding:12px 10px;min-height:0}.phone-msgs .bubble{max-width:85%;font-size:13.5px}.phone-msgs .msg-row.in .bubble{background:#fff}.phone-msgs .msg-row.in.by-customer{align-items:flex-end}.phone-msgs .msg-row.in.by-customer .bubble{background:#d9fdd3;border-color:#c3eebb;border-bottom-left-radius:14px;border-bottom-right-radius:4px}.phone-msgs .msg-row.out{align-items:flex-start}.phone-msgs .msg-row.out .bubble{background:#fff;border-color:#e7e3dc;border-bottom-right-radius:14px;border-bottom-left-radius:4px}.phone-msgs .msg-row.out .bubble-human{background:#eef2ff;color:var(--text)}.phone-hint{display:flex;flex-direction:column;align-items:center;gap:8px;margin:40px 20px;padding:14px;border-radius:12px;background:#ffffffbf;color:var(--text-2);text-align:center;font-size:13px}.phone-hint svg{color:var(--brand)}.phone-examples{display:flex;gap:6px;padding:8px 10px 0;overflow-x:auto;scrollbar-width:thin}.phone-examples .chip{flex:none;white-space:nowrap;background:#fff}.phone-composer{display:flex;gap:6px;padding:8px 10px 12px}.phone-composer .input{border-radius:20px;height:40px;border-color:transparent;padding:0 14px}.sim-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.sim-voice .card-body>p{margin-bottom:14px}.voice-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.voice-transcript{min-height:220px;max-height:60vh;overflow-y:auto;padding:10px;margin-bottom:10px;border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border)}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}.settings-nav{position:sticky;top:calc(var(--topbar-h) + 16px);display:flex;flex-direction:column;gap:2px}.settings-nav-item{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:7px;color:var(--text-2);font-weight:520;text-decoration:none!important}.settings-nav-item:hover{background:var(--hover);color:var(--text)}.settings-main{display:flex;flex-direction:column;gap:16px;min-width:0}.settings-section{scroll-margin-top:calc(var(--topbar-h) + 16px)}.settings-section-head{display:flex;gap:12px;align-items:flex-start;padding:18px 20px 0}.settings-section-head h2{font-size:16px}.settings-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:9px;background:var(--brand-50);color:var(--brand)}.settings-section-body{padding:18px 20px 20px}.section-foot{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}.explain{margin-top:14px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border);color:var(--text-2);font-size:13px}.conn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.conn{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-wrap:wrap}.conn-on{border-color:#bbe5d6;background:#f6fcf9}.conn-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;color:#fff}.conn-facebook{background:#1877f2}.conn-instagram{background:linear-gradient(45deg,#f9ce34,#ee2a7b 50%,#6228d7)}.conn-whatsapp{background:#25d366}.conn-catalog{background:#334155}.conn-body{flex:1;min-width:120px;display:flex;flex-direction:column;gap:2px}.conn-detail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conn-act{display:flex;gap:6px;flex-wrap:wrap}.conn-actions{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}.webhook-box{margin-top:18px;padding:14px 16px;border-radius:var(--radius);background:var(--surface-2);border:1px dashed var(--border-strong);display:flex;flex-direction:column;gap:10px}.webhook-title{display:flex;align-items:center;gap:7px;font-weight:650}.kv{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.kv-k{min-width:150px;font-size:12.5px;font-weight:600;color:var(--text-2)}.kv-v{flex:1;min-width:160px;padding:6px 10px;border-radius:6px;background:var(--surface);border:1px solid var(--border);font-size:12.5px;overflow-x:auto;white-space:nowrap}.code-block{margin-top:14px;border-radius:var(--radius);background:#0f1a17;color:#d5e7e3;overflow:hidden}.code-head{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 6px 14px;background:#ffffff0d}.code-head .muted{color:#93aaa5}.code-head .btn-ghost{background:transparent;color:#d5e7e3;border-color:#ffffff26}.code-block pre{margin:0;padding:14px;font-family:var(--mono);font-size:12.5px;line-height:1.6;overflow-x:auto}.integrations{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}.integration{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm)}.integration>span:nth-child(2){flex:1;font-weight:550}@media(max-width:1280px){.inbox{grid-template-columns:300px minmax(0,1fr)}.inbox-side{position:fixed;right:0;top:var(--topbar-h);bottom:0;width:320px;z-index:35;box-shadow:var(--shadow-lg);transform:translate(100%);transition:transform .2s}.inbox-side.open{transform:none}.info-toggle,.side-close{display:inline-grid}.side-close{display:inline-flex}.inbox-empty{grid-column:span 1}}@media(max-width:1100px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2-1,.grid-1-2,.products-layout{grid-template-columns:minmax(0,1fr)}.runs-card{position:static}.sim-layout{grid-template-columns:minmax(0,1fr)}.new-item{grid-template-columns:repeat(6,minmax(0,1fr)) 34px}.new-item>:nth-child(1),.new-item>:nth-child(2){grid-column:span 3}.new-item>:nth-child(2):last-of-type{grid-column:span 6}}@media(max-width:900px){.sidebar{transform:translate(-100%);transition:transform .2s;box-shadow:var(--shadow-lg)}.nav-open .sidebar{transform:none}.nav-open .scrim{display:block;position:fixed;inset:0;z-index:39;background:#0a141266}.sidebar-close{display:inline-grid}.main{margin-left:0}.burger{display:inline-grid}.topbar{padding:0 12px}.page{padding:18px 16px 40px}.callbar{transform:translate(-50%)}.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-nav{position:static;flex-direction:row;overflow-x:auto;padding-bottom:4px}.settings-nav-item{white-space:nowrap;border:1px solid var(--border);background:var(--surface)}.auth{grid-template-columns:minmax(0,1fr)}.auth-aside{display:none}.auth-brand-mobile{display:block}}@media(max-width:760px){.inbox{grid-template-columns:minmax(0,1fr)}.inbox.has-selection .inbox-list{display:none}.inbox:not(.has-selection) .thread,.inbox:not(.has-selection) .inbox-empty{display:none}.thread-back{display:inline-grid}.inbox-side{width:100%}.form-grid,.conn-grid{grid-template-columns:minmax(0,1fr)}.span-2{grid-column:span 1}.user-name{display:none}.thread-head{padding:8px 10px;gap:8px}.thread-actions .btn{padding:0 10px}.thread-sub{flex-wrap:wrap;gap:2px 8px}.bubble{max-width:88%}.page-head h1{font-size:20px}}@media(max-width:520px){.btn-label{display:none}.kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.kpi-value{font-size:19px}.phone{border-width:6px;border-radius:24px}.barlist-row{grid-template-columns:minmax(80px,100px) minmax(0,1fr) auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.meta-result{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px;border-radius:10px;margin:12px 0;font-size:14px}.meta-result>div{flex-basis:100%}.meta-result .btn{margin-left:auto}.meta-ok{background:var(--success-bg);color:var(--success);border:1px solid var(--success)}.meta-err{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger)}.meta-steps{margin-top:16px;padding:14px 16px;border:1px dashed var(--border-strong);border-radius:10px}.meta-steps ol{margin:8px 0 12px;padding-left:20px;display:grid;gap:10px}.meta-steps .kv{margin-top:6px}.meta-features{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px}.meta-feature{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.diag{margin:14px 0;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);display:grid;gap:10px}.diag-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.diag-meter{height:8px;border-radius:4px;background:var(--surface-3);overflow:hidden}.diag-meter span{display:block;height:100%;background:var(--success);transition:width .15s}.diag-steps{list-style:none;margin:0;padding:0;display:grid;gap:6px}.diag-step{display:grid;grid-template-columns:12px minmax(150px,220px) 1fr;gap:8px;align-items:baseline;font-size:13px}.diag-dot{width:10px;height:10px;border-radius:50%;background:var(--border-strong);align-self:center}.diag-ok .diag-dot{background:var(--success)}.diag-warn .diag-dot{background:#d97706}.diag-error .diag-dot{background:var(--danger)}.diag-error .diag-text{color:var(--danger)}.diag-text{word-break:break-word}.diag-log ol{margin:6px 0 0;padding-left:18px;max-height:220px;overflow:auto;font-size:12px;display:grid;gap:2px}.diag-log-err{color:var(--danger)}@media(max-width:640px){.diag-step{grid-template-columns:12px 1fr}.diag-text{grid-column:2}}body{font-size:14px;font-feature-settings:"tnum" 1}h1,h2,h3,h4{font-weight:600;letter-spacing:-.015em}.brand{font-weight:600;letter-spacing:-.03em}.brand-mark{border-radius:8px;background:var(--brand);box-shadow:inset 0 -2px #0000002e}.brand-word:after{content:"";display:inline-block;width:6px;height:6px;margin-left:3px;border-radius:2px;background:var(--citron);transform:rotate(45deg) translateY(-1px)}.sidebar{background:var(--sidebar-bg);isolation:isolate}.sidebar:before{content:"";position:absolute;inset:auto 0 0;height:260px;background-image:var(--zellige);background-size:56px 56px;opacity:.07;-webkit-mask-image:linear-gradient(to top,#000 10%,transparent);mask-image:linear-gradient(to top,#000 10%,transparent);pointer-events:none;z-index:-1}.nav-item{font-weight:450;border-radius:7px}.nav-item.active{background:#ffffff14;box-shadow:inset 3px 0 0 var(--citron);font-weight:500}.nav-badge{background:var(--citron);color:var(--citron-ink)}.sidebar-foot{border-top-color:#ffffff14}.btn{border-radius:8px;font-weight:500}.btn-primary{background:var(--brand);border-color:var(--brand);box-shadow:inset 0 -1px #00000029}.btn-primary:hover:not(:disabled){background:var(--brand-600);border-color:var(--brand-600)}.input:focus,.input:focus-visible{border-color:var(--brand)}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.card{border-radius:12px;box-shadow:var(--shadow)}.role{display:inline-flex;align-items:center;gap:4px;font-weight:500}.role-owner{background:#fdf3cf;color:var(--citron-ink)}.role-admin{background:var(--brand-50);color:var(--brand-ink)}.role-agent{background:var(--surface-3);color:var(--text-2)}.role-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.role-card{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.role-card .role{align-self:flex-start}@media(max-width:760px){.role-legend{grid-template-columns:1fr}}.auth-aside{position:relative;overflow:hidden;background:var(--nuit);color:#dfe5f5;isolation:isolate}.auth-aside:before{content:"";position:absolute;inset:0;background-image:var(--zellige);background-size:64px 64px;opacity:.045;z-index:-1}.auth-aside:after{content:"";position:absolute;right:-150px;bottom:-60px;width:380px;height:520px;border-radius:190px 190px 0 0;background:var(--brand);opacity:.5;z-index:-1}.auth-pitch h2{font-size:34px;font-weight:500;line-height:1.18;letter-spacing:-.025em;max-width:13em}.auth-pitch>p{margin-top:14px;max-width:34em;color:#b4bfdb;font-size:15px}.auth-chat{margin-top:34px;display:flex;flex-direction:column;gap:8px;max-width:380px}.auth-chat .ab{max-width:85%;padding:9px 13px;border-radius:16px;font-size:14px;line-height:1.4;opacity:0;transform:translateY(6px);animation:auth-in .45s ease-out forwards}.auth-chat .ab-in{align-self:flex-start;background:#fff;color:var(--text);border-bottom-left-radius:5px}.auth-chat .ab-out{align-self:flex-end;background:#dbe5fa;color:var(--brand-ink);border-bottom-right-radius:5px}.auth-chat .ab-who{display:block;font-size:11.5px;font-weight:500;color:var(--brand);margin-bottom:2px}.auth-chat .ab-done{align-self:flex-end;display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:var(--citron);color:var(--citron-ink);font-size:13px;font-weight:500}.auth-chat .ab:nth-child(1){animation-delay:.2s}.auth-chat .ab:nth-child(2){animation-delay:.9s}.auth-chat .ab:nth-child(3){animation-delay:1.7s}.auth-chat .ab:nth-child(4){animation-delay:2.4s}@keyframes auth-in{to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.auth-chat .ab{animation:none;opacity:1;transform:none}}.auth-foot{color:#8d98b8}.auth-card h1{font-size:28px;font-weight:600;letter-spacing:-.025em}.phone{border-radius:28px}.phone-head{background:var(--nuit)}.composer-tool{flex:none;color:var(--text-muted)}.composer-tool:hover:not(:disabled){color:var(--brand)}.phone-composer.is-recording{background:#fff4f2}.rec-indicator{flex:1;display:flex;align-items:center;gap:8px;padding:0 6px;color:var(--danger);font-weight:500}.rec-dot{width:9px;height:9px;border-radius:50%;background:var(--danger);animation:blink 1s infinite}.phone-hint-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.phone-hint-list li{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:var(--surface-3);color:var(--text-2)}.audio-block{display:flex;flex-direction:column;gap:6px}.bubble-audio{width:min(260px,100%);height:34px}.one-click{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 20px;border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,#1877f2 10%,var(--surface)),var(--surface));border:1px solid color-mix(in srgb,#1877f2 30%,transparent)}.one-click>div{flex:1 1 320px}.one-click-title{font-weight:700;font-size:1.05rem;margin-bottom:4px}.one-click-opt{display:flex;gap:8px;align-items:flex-start;margin-top:10px;cursor:pointer}.one-click-opt input{margin-top:3px}.meta-advanced{margin-top:14px}.meta-advanced>summary{cursor:pointer;color:var(--text-muted)}
