@import"https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Space+Grotesk:wght@400;500;600&display=swap";:root{font-family:Space Grotesk,sans-serif;line-height:1.5;font-weight:400;color:#1d1d1f;background-color:#f0f0f3;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--ink: #1d1d1f;--muted: #86868b;--bg: #f0f0f3;--bg-accent: #e5e5ea;--accent: #007aff;--accent-soft: rgba(0, 122, 255, .1);--card-bg: #ffffff;--border: rgba(0, 0, 0, .1)}html,body{margin:0;padding:0;height:100%;overflow:hidden}body{min-width:320px;color:var(--ink);background:radial-gradient(circle at top left,rgba(0,122,255,.05),transparent 45%),radial-gradient(circle at 70% 20%,rgba(88,86,214,.04),transparent 40%),linear-gradient(180deg,var(--bg) 0%,var(--bg-accent) 100%)}#root{height:100%}#root{max-width:1200px;margin:0 auto;padding:2rem}.app{display:flex;flex-direction:column;gap:2rem}.app-header{background:#fbf7efcc;border:1px solid var(--border);border-radius:16px;padding:1.5rem 2rem;box-shadow:0 12px 30px #1f1f1a14}.eyebrow{display:inline-block;font-size:.85rem;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-weight:600}.app-header h1{margin:.5rem 0 .75rem;font-family:Fraunces,serif;font-size:clamp(2rem,3vw,3rem)}.app-header p{margin:0;color:var(--muted);max-width:700px}.header-metrics{margin-top:1.2rem;display:flex;gap:1.5rem;flex-wrap:wrap}.header-metrics .metric-label,.header-metrics .metric-value{display:block}.auto-refresh{margin-left:1rem;display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--muted)}.api-status{margin-left:1rem;display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .7rem;border-radius:999px;border:1px solid var(--border);background:#fffdf7;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.api-status:before{content:"";width:6px;height:6px;border-radius:999px;background:#b16b1d}.api-status.online{color:#1f6f3a;border-color:#1f6f3a4d;background:#f2f8f3}.api-status.online:before{background:#1f6f3a}.api-status.offline{color:#8a1d1d;border-color:#8a1d1d4d;background:#fbf1f1}.api-status.offline:before{background:#8a1d1d}.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.card{border:1px solid var(--border);border-radius:14px;padding:1.5rem;background:var(--card-bg);box-shadow:0 14px 24px #1f1f1a0f;transform:translateY(16px);opacity:0;animation:rise .6s ease forwards;animation-delay:var(--delay)}.card.wide{grid-column:1 / -1}.card-tag{display:inline-block;padding:.25rem .6rem;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:.75rem;font-weight:600;margin-bottom:.8rem}.card h2{margin:0 0 .4rem;font-size:1.2rem}.card p{margin:0;color:var(--muted)}.notice{margin-top:1rem;padding:.75rem 1rem;border-radius:10px;background:#0f4c5c14;color:var(--accent);font-size:.9rem}.notice.error{background:#b122221f;color:#8a1d1d}.queue{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.75rem}.queue-item{padding:.9rem;border-radius:12px;border:1px solid var(--border);background:#fff7ea}.queue-item.is-approved{background:#f2f8f3;border-color:#1f6f3a4d}.queue-item.is-rejected{background:#fbf1f1;border-color:#8a1d1d4d}.queue-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem;font-weight:600}.queue-intent{color:var(--accent)}.queue-status{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}.queue-badges{display:flex;gap:.4rem;align-items:center}.status-new{color:#2f6f4e}.status-processed{color:#1f6f3a}.status-pending{color:#b16b1d}.status-approved{color:#1f6f3a}.status-rejected{color:#8a1d1d}.queue-text{color:var(--ink);font-size:.95rem}.queue-meta{margin-top:.4rem;font-size:.75rem;color:var(--muted)}.queue-actions{margin-top:.6rem;display:flex;gap:.6rem}.queue-action{border-radius:999px;padding:.3rem .9rem;border:1px solid var(--border);font-size:.75rem;cursor:pointer;background:transparent}.queue-action.approve{border-color:#1f6f3a;color:#1f6f3a}.queue-action.reject{border-color:#8a1d1d;color:#8a1d1d}.queue-action.training{border-color:#1d4f8a;color:#1d4f8a}.queue-action:disabled{opacity:.5;cursor:not-allowed}.analytics-grid{display:grid;gap:.8rem;margin-top:1rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.metric{border:1px solid var(--border);border-radius:12px;padding:.8rem;background:#fffdf7}.metric.wide{grid-column:1 / -1}.metric-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.metric-value{font-size:1.4rem;font-weight:600;color:var(--accent)}.metric-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}.metric-list span{background:var(--accent-soft);color:var(--accent);padding:.25rem .6rem;border-radius:999px;font-size:.75rem}.settings-grid{margin-top:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.settings-value{font-size:.95rem;color:var(--ink);padding-top:.2rem;word-break:break-all}.preview-form{margin-top:1rem;display:grid;gap:.8rem}.preview-form label{display:grid;gap:.4rem;font-size:.85rem;color:var(--muted)}.preview-form input,.preview-form textarea{padding:.6rem .7rem;border-radius:10px;border:1px solid var(--border);font-size:.9rem;background:#fffdf7;color:var(--ink)}.preview-form input[type=file]{padding:.45rem .6rem;background:#fffdf7;color:var(--ink)}.preview-form select,.filter-row select{padding:.5rem .7rem;border-radius:10px;border:1px solid var(--border);font-size:.9rem;background:#fffdf7;color:var(--ink)}.preview-form button{justify-self:start;padding:.5rem 1rem;border-radius:999px;border:1px solid var(--accent);background:var(--accent);color:#fff;font-weight:600;cursor:pointer}.preview-form button:disabled{opacity:.6;cursor:not-allowed}.preview-result{margin-top:1rem;display:grid;gap:.6rem}.preview-text{padding:.8rem;background:#fff7ea;border-radius:12px;border:1px solid var(--border);color:var(--ink)}.usage-block{margin-top:1.4rem;display:grid;gap:.6rem}.filter-row{margin-top:.8rem}.filter-row label{display:grid;gap:.4rem;font-size:.85rem;color:var(--muted)}.filter-row input{padding:.6rem .7rem;border-radius:10px;border:1px solid var(--border);font-size:.9rem;background:#fffdf7;color:var(--ink)}.logout-button{margin-left:.8rem;padding:.35rem .9rem;border-radius:999px;border:1px solid #8a1d1d;background:transparent;color:#8a1d1d;font-weight:600;cursor:pointer}.section-divider{margin:1.2rem 0;height:1px;background:var(--border)}.table{margin-top:.6rem;border:1px solid var(--border);border-radius:12px;background:#fffdf7;overflow:hidden}.table-head,.table-row{display:grid;grid-template-columns:2.2fr .8fr .9fr 1fr;gap:.6rem;padding:.7rem .9rem;align-items:center}.table-head{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#f6f2ea;border-bottom:1px solid var(--border)}.table-row{font-size:.9rem;border-bottom:1px solid var(--border)}.table-row:last-child{border-bottom:none}button.ghost{padding:.4rem .8rem;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--ink);cursor:pointer;font-weight:600}button.ghost:disabled{opacity:.6;cursor:not-allowed}.code-block{margin-top:.6rem;padding:.8rem 1rem;border-radius:12px;border:1px solid var(--border);background:#fbf7ee;color:var(--ink);font-size:.85rem;line-height:1.4;white-space:pre-wrap;word-break:break-word}.table-wrap{margin-top:1rem;overflow-x:auto}.policy-table{width:100%;border-collapse:collapse;font-size:.85rem}.policy-table th,.policy-table td{border-bottom:1px solid var(--border);padding:.6rem .5rem;text-align:left;white-space:nowrap}.policy-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.group-risk{color:#b0421a}.group-legal{color:#1d4f8a}.group-workflow{color:#2f6f4e}@keyframes rise{to{transform:translateY(0);opacity:1}}#root:has(.chat-layout),#root:has(.chat-login-wrap){max-width:none;margin:0;padding:0}#root:has(.chat-login-wrap){background:#0a0a0a;overflow:auto}body:has(.chat-login-wrap){background:#0a0a0a;overflow:auto}.chat-layout *::-webkit-scrollbar{width:6px;height:6px}.chat-layout *::-webkit-scrollbar-track{background:transparent}.chat-layout *::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}.chat-layout *::-webkit-scrollbar-thumb:hover{background:#00000040}.theme-dark *::-webkit-scrollbar-thumb{background:#ffffff1f}.theme-dark *::-webkit-scrollbar-thumb:hover{background:#fff3}.chat-layout{height:100%;overflow:hidden;display:grid;grid-template-columns:360px 1fr;background:radial-gradient(ellipse 80% 60% at 10% 20%,rgba(0,85,184,.06),transparent),radial-gradient(ellipse 60% 50% at 90% 80%,rgba(46,170,110,.05),transparent),radial-gradient(ellipse 70% 40% at 50% 50%,rgba(26,143,203,.04),transparent),#f0f2f5;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}.chat-sidebar{border-right:1px solid rgba(0,85,184,.08);background:radial-gradient(ellipse 80% 40% at 20% 90%,rgba(46,170,110,.04),transparent),#fafcfdf0;-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);display:flex;flex-direction:column;overflow:hidden;border-top:3px solid transparent;border-image:linear-gradient(90deg,#0055b8,#2eaa6e) 1}.chat-sidebar-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(0,0,0,.06)}.chat-sidebar-logo{width:42px;height:42px;border-radius:8px;flex-shrink:0;object-fit:contain}.chat-sidebar-brand{flex:1;min-width:0}.chat-brand-name{font-size:16px;font-weight:700;line-height:1.1}.chat-brand-comflex{color:#003d85}.chat-brand-ai{color:#00a651}.chat-brand-sub{font-size:10px;color:#9ca3af;letter-spacing:.3px;margin-top:1px}.chat-sidebar-user{color:#86868b;font-size:11px;margin-top:2px}.chat-sidebar-version{opacity:.5}.chat-sidebar-head .chat-head-actions{margin-left:auto;flex-shrink:0;display:flex;align-items:center;gap:20px}.chat-theme-switch{background:none;border:none;cursor:pointer;padding:0;flex-shrink:0}.chat-theme-track{display:block;width:44px;height:24px;border-radius:12px;background:#d1d1d6;position:relative;transition:background .3s}.chat-theme-switch.dark .chat-theme-track{background:#3c3c3c}.chat-theme-thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 4px #0003}.chat-theme-thumb svg{width:12px;height:12px}.chat-theme-switch.dark .chat-theme-thumb{transform:translate(20px);background:#252526}.chat-ghost-btn{border:1px solid rgba(0,0,0,.12);color:#6e6e73;background:#00000008;border-radius:10px;padding:6px 10px;cursor:pointer;transition:all .2s ease;font-size:13px}.chat-ghost-btn:hover{background:#0000000f;border-color:#0000002e;color:#1d1d1f}.chat-mode{padding:12px 18px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.chat-mode button{border:1px solid rgba(0,0,0,.08);background:#00000005;border-radius:10px;padding:8px 10px;cursor:pointer;color:#86868b;transition:all .2s ease;font-size:13px}.chat-mode button:hover{background:#0000000a}.chat-mode button.active{border-color:#2eaa6e59;color:#1a8a5a;font-weight:600;background:#2eaa6e14}.chat-new-toggle{padding:8px 18px 4px}.chat-new-btn{width:100%;border:1px dashed rgba(46,170,110,.3);border-radius:10px;background:#2eaa6e0a;color:#1a8a5a;font-weight:600;padding:8px 12px;cursor:pointer;transition:all .2s ease;font-size:13px}.chat-new-btn:hover{background:#2eaa6e14;border-color:#2eaa6e66}.chat-search-wrap{padding:4px 18px 8px}.chat-search{width:100%;border:1px solid rgba(0,0,0,.08);border-radius:10px;padding:7px 12px;background:#f5f5f7;color:#1d1d1f;font-size:13px;transition:border-color .2s ease,background .2s ease;box-sizing:border-box}.chat-search:focus{outline:none;border-color:#0055b84d;background:#fff}.chat-search::placeholder{color:#9ca3af}.chat-new{padding:4px 18px 10px;display:flex;flex-direction:column;gap:8px;border-bottom:1px solid rgba(0,0,0,.06)}.chat-new input,.chat-new select{border:1px solid rgba(0,0,0,.1);border-radius:10px;padding:8px 10px;background:#fff;color:#1d1d1f;font-size:13px;transition:border-color .2s ease}.chat-new input:focus,.chat-new select:focus{outline:none;border-color:#007aff80;box-shadow:0 0 0 3px #007aff1a}.chat-new button{border:none;border-radius:10px;background:linear-gradient(135deg,#0055b8,#2eaa6e);color:#fff;font-weight:600;padding:8px 12px;cursor:pointer;transition:all .25s ease;font-size:13px}.chat-new button:hover{filter:brightness(1.08);box-shadow:0 2px 12px #0055b840}.chat-new button:disabled{cursor:not-allowed;opacity:.4;filter:none;box-shadow:none}.chat-list{overflow-y:auto;min-height:0;flex:1;padding:10px 12px 14px;display:flex;flex-direction:column;gap:6px}.chat-list-item{border:1px solid rgba(0,0,0,.06);border-radius:12px;background:#fff;cursor:pointer;padding:10px 12px;text-align:left;transition:all .2s ease;box-shadow:0 1px 3px #0000000a;display:flex;align-items:flex-start;gap:10px}.chat-list-item:hover{background:#f8f8fa;box-shadow:0 2px 8px #0000000f}.chat-list-item.active{border-color:#0055b840;background:linear-gradient(135deg,#0055b80a,#2eaa6e0a);box-shadow:0 2px 8px #0055b814}.chat-list-avatar{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#fff;flex-shrink:0}.chat-list-avatar.web{background:#e8ecf1;color:#555}.chat-list-avatar.avito{background:#f0f0f3}.chat-list-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.chat-list-top{display:flex;align-items:center;gap:6px}.chat-list-name{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;color:#1d1d1f}.chat-list-time{font-size:12px;color:#8e8e93;flex-shrink:0;font-weight:400}.chat-list-preview{font-size:13px;color:#8e8e93;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list-badges{display:flex;align-items:center;gap:6px;margin-top:1px;flex-wrap:wrap}.chat-badge-stage{font-size:11px;color:#b87200;font-weight:500;display:flex;align-items:center;gap:3px}.chat-badge-stage:before{content:"";width:6px;height:6px;border-radius:50%;background:#ff9500;flex-shrink:0}.chat-badge-mode{font-size:11px;color:#8e8e93;font-weight:400}.chat-badge-mode.test{color:#007aff}.chat-badge-mode.real{color:#34c759}.chat-list-typing{display:inline-flex;gap:3px;align-items:center;flex-shrink:0}.chat-list-typing span{width:5px;height:5px;border-radius:50%;background:#2eaa6e;animation:typing-bounce 1.4s ease-in-out infinite}.chat-list-typing span:nth-child(2){animation-delay:.22s}.chat-list-typing span:nth-child(3){animation-delay:.44s}.chat-side-note{font-size:14px;color:#8e8e93;padding:8px}.chat-main{display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;background-color:#edf2f7;background-image:radial-gradient(circle at 10% 10%,rgba(0,85,184,.08) 0%,transparent 50%),radial-gradient(circle at 90% 90%,rgba(46,170,110,.06) 0%,transparent 50%),url("data:image/svg+xml,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 4L44 15.5V36.5L24 48L4 36.5V15.5Z' fill='none' stroke='%230055b8' stroke-opacity='0.04' stroke-width='0.6'/%3E%3Ccircle cx='24' cy='24' r='2' fill='%232eaa6e' fill-opacity='0.03'/%3E%3C/svg%3E");background-size:cover,cover,48px 48px;background-repeat:no-repeat,no-repeat,repeat}.chat-lead-banner{margin:0;padding:8px 20px;background:#007aff0a;border-bottom:1px solid rgba(0,0,0,.05);color:#555;font-size:13px;display:flex;flex-wrap:wrap;gap:6px 20px}.chat-booking-bar{display:flex;align-items:center;gap:12px;padding:7px 20px;background:#ff95000f;border-bottom:1px solid rgba(255,149,0,.18);font-size:13px;flex-wrap:wrap}.chat-booking-info{flex:1;color:#555}.chat-booking-status{font-weight:600;color:#ff9500}.chat-booking-status.master_accepted,.chat-booking-status.completed{color:#34c759}.chat-booking-status.expired,.chat-booking-status.cancelled{color:#ff3b30}.chat-booking-paid{color:#34c759;font-weight:600;font-size:12px}.chat-booking-pay-btn{padding:4px 12px;border-radius:6px;border:1px solid #34c759;background:transparent;color:#34c759;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.chat-booking-pay-btn:hover{background:#34c759;color:#fff}.chat-empty{margin:auto;color:#8e8e93;font-size:16px}.chat-messages{overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;gap:10px;min-height:0}@keyframes msg-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-bubble{max-width:min(520px,80%);border:none;border-radius:20px;padding:10px 14px;font-size:15px;line-height:1.45;white-space:pre-wrap;box-shadow:0 2px 10px #003c8212;animation:msg-in .25s ease both;transition:box-shadow .2s ease,transform .2s ease}.chat-bubble:hover{box-shadow:0 4px 18px #0055b81f;transform:translateY(-1px)}.chat-bubble.client{margin-right:auto;border-radius:20px 20px 20px 4px;color:#1d1d1f}.chat-bubble.assistant{margin-left:auto;color:#fff;border-radius:20px 20px 4px}.chat-bubble.assistant .chat-bubble-time{color:#ffffff80}.chat-bubble.assistant .chat-bubble-funnel{background:#ffffff26;color:#fff;border-color:#fff3}.chat-bubble.assistant .chat-bubble-funnel-alt{display:none}.chat-bubble.assistant .chat-msg-status{color:#ffffff80}.chat-bubble.operator{background:linear-gradient(135deg,#ff9500,#e68600)}.chat-bubble-header,.chat-bubble-role{display:none}.chat-bubble-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.chat-bubble-time{color:#aeaeb2;font-size:11px;flex-shrink:0}.chat-feedback{display:inline-flex;gap:2px;margin-left:6px;vertical-align:middle;background:linear-gradient(135deg,#27ae6026,#0055b826);padding:2px 5px;border-radius:10px}.chat-fb-btn{background:none;border:none;cursor:pointer;font-size:12px;opacity:.5;padding:0 1px;transition:opacity .15s;line-height:1}.chat-fb-btn:hover{opacity:.85}.chat-fb-btn.active{opacity:1}.chat-msg-status{margin-top:4px;font-size:11px;color:#aeaeb2;text-align:right}.chat-msg-status.error{color:#ff3b30}.chat-msg-retry{background:none;border:none;color:#007aff;font-size:11px;cursor:pointer;padding:0;text-decoration:underline}.chat-bubble-funnel{display:inline-flex;gap:6px;align-items:center;border:none;border-radius:8px;padding:2px 8px;font-size:11px;color:#007aff;background:#007aff14;font-weight:500}.chat-bubble-funnel-score{font-weight:700}.chat-bubble-funnel-alt{display:none}.chat-compose{border-top:1px solid rgba(0,0,0,.06);display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 20px 20px;background:#ffffffe6;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);align-items:end}.chat-compose textarea{border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:10px 16px;resize:none;min-height:44px;background:#f5f5f7;color:#1d1d1f;font:inherit;font-size:14px;transition:border-color .2s ease,background .2s ease}.chat-compose textarea:focus{outline:none;border-color:#0055b866;background:#fff;box-shadow:0 0 0 3px #0055b814}.chat-compose button:not(.chat-ghost-btn){border:none;border-radius:50%;background:linear-gradient(135deg,#0055b8,#2eaa6e);color:#fff;font-weight:600;min-width:44px;width:44px;height:44px;padding:0;cursor:pointer;transition:all .25s ease;font-size:18px;display:flex;align-items:center;justify-content:center}.chat-compose button:hover{filter:brightness(1.08);box-shadow:0 2px 16px #0055b84d}.chat-compose button:disabled{opacity:.3;cursor:not-allowed;filter:none;box-shadow:none}.chat-payment-templates{display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px}.chat-payment-tpl-btn{padding:4px 12px;font-size:12px;border-radius:14px;border:1px solid rgba(0,85,184,.3);background:#0055b814;color:#0055b8;cursor:pointer;transition:background .15s}.chat-payment-tpl-btn:hover{background:#0055b82e}.theme-dark .chat-payment-tpl-btn{border-color:#9ec8ff40;background:#9ec8ff14;color:#9ec8ff}.theme-dark .chat-payment-tpl-btn:hover{background:#9ec8ff2e}.chat-compose-staged{grid-column:1 / -1;display:flex;align-items:center;gap:10px;padding:8px 10px;margin-bottom:8px;background:#0055b80f;border:1px solid rgba(0,85,184,.18);border-radius:12px}.theme-dark .chat-compose-staged{background:#9ec8ff14;border-color:#9ec8ff33}.chat-compose-staged-inline{grid-column:unset;margin-bottom:6px}.chat-compose-staged-thumb{width:48px;height:48px;border-radius:8px;flex-shrink:0;background:#0055b81f;color:#0055b8;display:flex;align-items:center;justify-content:center}.theme-dark .chat-compose-staged-thumb{background:#9ec8ff24;color:#9ec8ff}.chat-compose-staged-info{flex:1;min-width:0}.chat-compose-staged-name{font-size:13px;color:#1d1d1f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.theme-dark .chat-compose-staged-name{color:#f5f5f7}.chat-compose-staged-size{font-size:11px;color:#00000080;margin-top:2px}.theme-dark .chat-compose-staged-size{color:#ffffff8c}.chat-compose-staged-remove{background:#d700151a!important;border:1px solid rgba(215,0,21,.25)!important;color:#d70015!important;font-size:13px!important;font-weight:500!important;line-height:1!important;cursor:pointer;padding:8px 14px!important;width:auto!important;height:auto!important;min-width:0!important;border-radius:10px!important;box-shadow:none!important;flex-shrink:0}.theme-dark .chat-compose-staged-remove{background:#ff63631a!important;border-color:#ff63634d!important;color:#ff6b6b!important}.chat-compose-staged-remove:hover{background:#d700152e!important;box-shadow:none!important}.theme-dark .chat-compose-staged-remove:hover{background:#ff63632e!important}.chat-compose-with-attach{position:relative}.chat-compose-with-attach textarea{min-height:80px}.chat-compose-btn-col{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:8px;height:100%}.chat-compose-btn-col button.chat-compose-attach{width:32px!important;height:32px!important;min-width:32px!important;border-radius:16px!important;background:#0055b81a!important;color:#0055b8!important;font-size:15px!important;padding:0!important;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease;border:1px solid rgba(0,85,184,.2)!important}.theme-dark .chat-compose-btn-col button.chat-compose-attach{background:#9ec8ff1f!important;border-color:#9ec8ff40!important;color:#9ec8ff!important}.chat-compose-btn-col button.chat-compose-attach:hover{background:#0055b833!important;box-shadow:none!important}.theme-dark .chat-compose-btn-col button.chat-compose-attach:hover{background:#9ec8ff38!important}.chat-quick-moderation-attach{background:#0055b81a;color:#0055b8;border:1px solid rgba(0,85,184,.25);border-radius:10px;padding:6px 12px;font-size:13px;cursor:pointer;transition:all .15s ease}.chat-quick-moderation-attach:hover:not(:disabled){background:#0055b82e}.chat-quick-moderation-attach:disabled{opacity:.4;cursor:not-allowed}.moderation-attach-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.moderation-attach-btn{background:#0055b81a;color:#0055b8;border:1px solid rgba(0,85,184,.25);border-radius:10px;padding:8px 14px;font-size:13px;cursor:pointer}.moderation-attach-btn:hover{background:#0055b82e}.moderation-attach-name{font-size:12px;color:#1d1d1f;opacity:.7;word-break:break-all}.moderation-attach-remove{background:transparent;border:none;color:#d70015;font-size:18px;cursor:pointer;padding:0 6px}.chat-alert{margin:0 18px 18px;padding:12px 14px;border-radius:12px}.chat-alert.ok{background:#34c7591a;color:#248a3d;border:1px solid rgba(52,199,89,.15)}.chat-alert.error{background:#ff3b3014;color:#d70015;border:1px solid rgba(255,59,48,.12)}@keyframes float-1{0%,to{transform:rotate(-30deg) translateY(0)}50%{transform:rotate(-25deg) translateY(-18px)}}@keyframes float-2{0%,to{transform:rotate(15deg) scale(1)}50%{transform:rotate(20deg) scale(1.08)}}@keyframes float-3{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-14px) rotate(3deg)}}@keyframes float-4{0%,to{transform:rotate(-65deg) translate(0)}50%{transform:rotate(-60deg) translate(12px)}}@keyframes float-5{0%,to{transform:rotate(40deg) scale(1);opacity:.15}50%{transform:rotate(50deg) scale(1.15);opacity:.25}}@keyframes glow-pulse{0%,to{opacity:.4;transform:translate(-50%,-50%) scale(1)}50%{opacity:.7;transform:translate(-50%,-50%) scale(1.1)}}.chat-login-wrap{min-height:100vh;display:grid;place-items:center;background:#0a0a0a;padding:20px;position:relative;overflow:hidden}.chat-login-wrap:before{content:"";position:absolute;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(255,225,77,.08),transparent 70%);top:50%;left:50%;transform:translate(-50%,-50%);animation:glow-pulse 6s ease-in-out infinite;pointer-events:none}.chat-login-shape{position:absolute;z-index:0}.shape-1{width:160px;height:38px;background:#e63946;top:8%;left:3%;transform:rotate(-30deg);border-radius:6px;box-shadow:0 4px 30px #e6394666;animation:float-1 7s ease-in-out infinite}.shape-2{width:100px;height:100px;border:7px solid rgba(255,255,255,.3);top:10%;right:10%;transform:rotate(15deg);border-radius:6px;animation:float-2 9s ease-in-out infinite}.shape-3{width:120px;height:120px;background:#ffe14d;bottom:5%;left:10%;border-radius:6px;box-shadow:0 4px 40px #ffe14d59;animation:float-3 8s ease-in-out infinite}.shape-4{width:140px;height:34px;background:#3b82f6;bottom:15%;right:6%;transform:rotate(-65deg);border-radius:6px;box-shadow:0 4px 30px #3b82f666;animation:float-4 7.5s ease-in-out infinite}.shape-5{width:70px;height:70px;border:5px solid rgba(255,255,255,.15);bottom:42%;right:16%;transform:rotate(40deg);border-radius:50%;animation:float-5 10s ease-in-out infinite}.chat-login-card{width:min(420px,100%);background:#161618e0;border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:36px;display:flex;flex-direction:column;gap:16px;-webkit-backdrop-filter:blur(50px) saturate(1.4);backdrop-filter:blur(50px) saturate(1.4);box-shadow:0 24px 80px #0009,0 0 0 1px #ffffff0a inset,0 1px #ffffff0f inset;position:relative;z-index:1}.chat-login-tag{display:inline-flex;align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:1.5px;color:#ffffff80}.chat-login-card h1{margin:0 0 2px;font-size:24px;font-weight:500;letter-spacing:-.3px;color:#f5f5f7}.chat-login-card h1 strong{font-weight:800;color:#fff}.chat-login-subtitle{margin:0;font-size:13px;color:#fff6;line-height:1.4}.chat-login-card label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;letter-spacing:1px;color:#ffffff80}.chat-login-card input{border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#ffffff0f;padding:12px 14px;color:#f5f5f7;font-size:14px;transition:border-color .2s ease,box-shadow .2s ease}.chat-login-card input:focus{outline:none;border-color:#ffe14d80;box-shadow:0 0 0 3px #ffe14d1a}.chat-login-card input::placeholder{color:#fff3}.chat-login-card button{margin-top:4px;border:none;border-radius:10px;background:#ffe14d;color:#0a0a0a;font-weight:700;padding:12px 14px;cursor:pointer;transition:all .25s ease;font-size:14px;letter-spacing:.3px}.chat-login-card button:hover{filter:brightness(1.1);box-shadow:0 4px 20px #ffe14d4d}.chat-login-card button:disabled{opacity:.4;cursor:not-allowed;filter:none;box-shadow:none}.chat-login-footer{text-align:center;font-size:12px;color:#fff3;margin-top:4px}.chat-login-error{background:#e6394626;color:#ff6b6b;border:1px solid rgba(230,57,70,.2);border-radius:10px;padding:10px 12px;font-size:14px}.chat-bubble.typing{padding:12px 16px 10px;width:fit-content;min-width:70px}.chat-typing-dots{display:flex;gap:6px;align-items:center;height:22px;padding:2px 0}.chat-typing-dots span{width:9px;height:9px;border-radius:50%;background:#007aff;opacity:.45;animation:typing-bounce 1.4s ease-in-out infinite}.chat-typing-dots span:nth-child(2){animation-delay:.22s}.chat-typing-dots span:nth-child(3){animation-delay:.44s}@keyframes typing-bounce{0%,60%,to{transform:translateY(0);opacity:.35}30%{transform:translateY(-7px);opacity:1}}.chat-header{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid rgba(0,0,0,.08);background:#ffffffd9;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);flex-shrink:0}.chat-header-title{font-weight:700;font-size:16px;color:#1d1d1f;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-meta{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0}.chat-header-meta.web{background:#007aff}.chat-header-meta.avito{background:#f0f0f3}.chat-header-lead{font-size:12px;font-weight:500;color:#0055b8;background:#0055b814;border-radius:6px;padding:2px 8px;flex-shrink:0;white-space:nowrap}.chat-header-status{font-size:12px;color:#555;background:#9ca3af1f;border-radius:6px;padding:2px 8px;font-weight:500;flex-shrink:0;white-space:nowrap}.chat-deal-stage{background:#ff95001a;color:#b87200;border:1px solid rgba(255,149,0,.2);border-radius:999px;font-size:11px;padding:2px 8px;font-weight:500;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.chat-draft-badge{font-size:10px;color:#ff9500;flex-shrink:0;line-height:1}.chat-mobile-header{display:none;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(0,0,0,.06);background:#fafafcf2;-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);flex-shrink:0}.chat-back-btn{border:none;background:none;color:#007aff;font-size:16px;font-weight:500;cursor:pointer;padding:4px 0;display:flex;align-items:center;gap:2px;flex-shrink:0}.chat-mobile-title{font-weight:600;font-size:15px;color:#1d1d1f;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:768px){.chat-layout{grid-template-columns:1fr;height:100%;overflow:hidden}.chat-sidebar{height:100%;max-height:none;display:flex}.chat-main{display:none;height:100%}.chat-layout.has-chat .chat-sidebar{display:none}.chat-layout.has-chat .chat-main{display:grid}.chat-mobile-header{display:flex}.chat-header{display:none}.chat-bubble{max-width:88%}.chat-messages{padding:12px;gap:8px}.chat-lead-banner{font-size:12px;padding:8px 12px;gap:4px 12px}.chat-compose{padding:10px 12px 20px;gap:8px}.chat-compose button{min-width:40px;width:40px;height:40px;font-size:16px}.chat-compose textarea{font-size:16px;min-height:44px}.chat-new{padding:8px 14px 12px}.chat-mode{padding:10px 14px}.chat-channel-filter{padding:0 14px 8px}}.chat-channel-filter{padding:0 18px 10px;display:flex;gap:6px}.chat-channel-filter button{border:1px solid rgba(0,0,0,.08);background:#00000005;border-radius:8px;padding:5px 12px;cursor:pointer;color:#86868b;font-size:12px;transition:all .2s ease}.chat-channel-filter button.active{border-color:#007aff4d;color:#007aff;font-weight:600;background:#007aff0f}.chat-status-bar{flex:1;text-align:center;font-size:11px;line-height:24px;color:#999}.chat-avito-toggle{padding:6px 18px 10px;display:flex;align-items:center;gap:8px;font-size:12px;color:#86868b}.chat-ios-switch{position:relative;width:42px;height:24px;border:none;border-radius:12px;cursor:pointer;transition:background .25s ease;padding:0;flex-shrink:0}.chat-ios-switch:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .25s ease}.chat-ios-switch.on{background:#34c759}.chat-ios-switch.on:after{transform:translate(18px)}.chat-ios-switch.off{background:#e0e0e0}.chat-ios-switch:hover{opacity:.85}.chat-avito-mode-label{padding:3px 10px;font-size:11px;font-weight:500;color:#555;background:#0000000d;border-radius:10px}.chat-avito-mode-label{margin-left:auto}.chat-avito-draft{padding:12px 16px;margin:0 16px 8px;background:#fffbe6;border:2px dashed #e6c200;border-radius:12px}.chat-avito-draft-label{font-size:12px;font-weight:600;color:#8a7600;margin-bottom:6px}.chat-avito-draft textarea{width:100%;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:8px;font-size:14px;resize:vertical;font-family:inherit;box-sizing:border-box}.chat-avito-draft-actions{display:flex;gap:8px;margin-top:8px}.chat-avito-draft-approve{background:#34c759;color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s}.chat-avito-draft-approve:hover{background:#2db84d}.chat-avito-draft-reject{background:transparent;color:#ff3b30;border:1px solid #ff3b30;border-radius:8px;padding:8px 16px;font-size:13px;cursor:pointer;transition:all .2s}.chat-avito-draft-reject:hover{background:#ff3b300f}.chat-quick-moderation{padding:10px 16px;margin:0 12px 8px;background:#0055b80f;border:1px solid rgba(0,85,184,.2);border-radius:12px}.chat-quick-moderation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;font-weight:600;color:#0055b8}.chat-quick-moderation-full{background:none;border:none;color:#0055b8;font-size:11px;cursor:pointer;text-decoration:underline;padding:0}.chat-quick-moderation-full:hover{color:#003d82}.chat-quick-moderation-text{width:100%;border:1px solid rgba(0,85,184,.15);border-radius:8px;padding:8px;font-size:14px;resize:vertical;font-family:inherit;box-sizing:border-box;background:#fffc}.chat-quick-moderation-text:focus{outline:none;border-color:#0055b8}.chat-quick-moderation-actions{display:flex;gap:8px;margin-top:8px}.chat-quick-moderation-approve{background:#0055b8;color:#fff;border:none;border-radius:8px;padding:7px 16px;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s}.chat-quick-moderation-approve:hover{background:#003d82}.chat-quick-moderation-approve:disabled{opacity:.5;cursor:not-allowed}.chat-quick-moderation-reject{background:transparent;color:#d32f2f;border:1px solid #d32f2f;border-radius:8px;padding:7px 16px;font-size:13px;cursor:pointer;transition:all .2s}.chat-quick-moderation-reject:hover{background:#d32f2f0f}.theme-dark .chat-quick-moderation{background:#0055b81a;border-color:#0055b84d}.theme-dark .chat-quick-moderation-text{background:#2d2d2dcc;color:#d4d4d4;border-color:#0055b840}.chat-compose-auto{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 12px}.chat-compose-auto-inner{display:flex;align-items:center;gap:8px}.chat-compose-auto-icon{font-size:20px}.chat-compose-auto-label{color:#86868b;font-size:14px;font-style:italic}.moderation-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.moderation-modal{background:#fff;border-radius:12px;width:520px;max-width:92vw;max-height:88vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0003;box-sizing:border-box}.moderation-modal *{box-sizing:border-box}.moderation-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e5e5e5;font-weight:600;font-size:15px}.moderation-close{background:none;border:none;font-size:20px;cursor:pointer;color:#86868b;padding:0 4px}.moderation-body{padding:12px 16px;overflow-y:auto;flex:1}.moderation-section{margin-bottom:10px}.moderation-label{display:block;font-size:12px;font-weight:600;color:#555;margin-bottom:4px}.moderation-original{background:#f5f5f7;border-radius:8px;padding:8px 12px;font-size:13px;line-height:1.45;color:#333;max-height:100px;overflow-y:auto;white-space:pre-wrap}.moderation-stars{display:flex;gap:2px}.moderation-star{background:none;border:none;font-size:22px;cursor:pointer;color:#ccc;padding:0 1px;transition:color .15s}.moderation-star.active{color:#ff9500}.moderation-categories{display:flex;flex-wrap:wrap;gap:5px}.moderation-cat{padding:3px 10px;border-radius:14px;border:1px solid #d1d1d6;background:#fff;font-size:12px;cursor:pointer;color:#555;transition:all .15s;white-space:nowrap}.moderation-cat.active{background:#0055b8;color:#fff;border-color:#0055b8}.moderation-textarea{width:100%;border:1px solid #d1d1d6;border-radius:8px;padding:8px 10px;font-size:13px;font-family:inherit;resize:vertical;line-height:1.45}.moderation-textarea:focus{outline:none;border-color:#0055b8;box-shadow:0 0 0 2px #0055b826}.moderation-comment{width:100%;border:1px solid #d1d1d6;border-radius:8px;padding:6px 10px;font-size:12px;font-family:inherit;resize:vertical;color:#666}.moderation-comment:focus{outline:none;border-color:#0055b8}.moderation-footer{display:flex;gap:8px;padding:10px 16px;border-top:1px solid #e5e5e5;justify-content:flex-end}.moderation-btn{padding:7px 16px;border-radius:8px;border:none;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .15s}.moderation-btn:disabled{opacity:.5;cursor:not-allowed}.moderation-btn.approve{background:#0055b8;color:#fff}.moderation-btn.approve:hover:not(:disabled){background:#004494}.moderation-btn.reject{background:#f5f5f7;color:#d32f2f;border:1px solid #d1d1d6}.moderation-btn.reject:hover:not(:disabled){background:#fce4ec}.chat-bubble.draft{border-left:3px solid #ff9500;cursor:pointer}.chat-draft-btn{display:block;background:#ff9500;color:#fff;font-size:13px;font-weight:600;padding:8px 16px;border-radius:8px;margin-bottom:8px;text-align:center;transition:background .15s;letter-spacing:.2px}.chat-bubble.draft:hover .chat-draft-btn{background:#e68600}.chat-bubble.rejected{border-left:3px solid #ef4444;cursor:default}.chat-rejected-label{display:inline-block;background:#ef4444;color:#fff;font-size:11px;font-weight:600;padding:3px 10px;border-radius:6px;margin-bottom:6px;letter-spacing:.3px}.theme-dark .chat-bubble.rejected{background:#ef444414}.chat-scroll-btn{position:sticky;z-index:10;width:34px;height:34px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#0000001f;color:#555;transition:background .15s,opacity .15s;margin:0 auto;flex-shrink:0}.chat-scroll-btn:hover{background:#0003}.chat-scroll-btn.top{top:8px}.chat-scroll-btn.bottom{bottom:8px}@media(max-width:768px){.chat-scroll-btn{width:40px;height:40px}}.theme-glass .chat-scroll-btn{background:#fff9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#333;box-shadow:0 1px 6px #0000001f}.theme-glass .chat-scroll-btn:hover{background:#ffffffd9}.theme-dark .chat-scroll-btn{background:#00000073;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#ddd;box-shadow:0 1px 6px #0000004d}.theme-dark .chat-scroll-btn:hover{background:#0009;color:#fff}.theme-dark .chat-draft-btn{background:#cc7a00}.theme-dark .chat-bubble.draft:hover .chat-draft-btn{background:#e68600}.theme-glass .chat-main{background-color:#e8ecf1;background-image:radial-gradient(ellipse 70% 50% at 0% 0%,rgba(0,122,255,.07) 0%,transparent 70%),radial-gradient(ellipse 50% 60% at 100% 100%,rgba(88,86,214,.05) 0%,transparent 70%)}.theme-glass .chat-bubble.client{background:#ffffffb8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.5);box-shadow:0 1px 4px #0000000a}.theme-glass .chat-bubble.client .chat-bubble-time{color:#8e8e93}.theme-glass .chat-bubble.assistant{background:#007affe0;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 2px 8px #007aff26}.theme-glass .chat-bubble.assistant .chat-bubble-time{color:#ffffff8c}.theme-glass .chat-bubble.assistant .chat-bubble-funnel{background:#ffffff2e;color:#fff;border-color:#ffffff40}.theme-glass .chat-bubble.operator{background:#ff9500}.theme-glass .chat-bubble{box-shadow:none}.theme-glass .chat-bubble:hover{box-shadow:0 2px 8px #0000000f;transform:none}.theme-glass .chat-sidebar{background:#f2f2f7d9;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-right:1px solid rgba(0,0,0,.08);border-top:none;border-image:none}.theme-glass .chat-sidebar-head{border-bottom-color:#d1d1d6}.theme-glass .chat-list-item{border-color:transparent;box-shadow:none;border-radius:10px}.theme-glass .chat-list-item:hover{background:#e5e5ea;box-shadow:none}.theme-glass .chat-list-item.active{background:#007aff;border-color:transparent;box-shadow:none}.theme-glass .chat-list-item.active .chat-list-name{color:#fff}.theme-glass .chat-list-item.active .chat-list-time,.theme-glass .chat-list-item.active .chat-list-preview{color:#ffffffb3}.theme-glass .chat-list-item.active .chat-badge-stage{color:#fffc}.theme-glass .chat-list-item.active .chat-badge-stage:before{background:#fff}.theme-glass .chat-list-item.active .chat-badge-mode{color:#ffffffb3}.theme-glass .chat-list-avatar.web{background:#e5e5ea;color:#8e8e93}.theme-glass .chat-list-avatar.avito{background:#fff}.theme-glass .chat-mode button.active{border-color:#007aff4d;color:#007aff;background:#007aff14}.theme-glass .chat-new-btn{border-color:#007aff33;background:#007aff0a;color:#007aff}.theme-glass .chat-search{background:#e5e5ea;border-color:transparent}.theme-glass .chat-search:focus{background:#fff;border-color:#007aff}.theme-glass .chat-compose textarea{background:#fff;border-color:#d1d1d6}.theme-glass .chat-compose button:not(.chat-ghost-btn){background:#007aff}.theme-glass .chat-lead-banner{background:#007aff0a;border-bottom-color:#d1d1d6}.theme-dark{background:#1e1e1e!important;color:#d4d4d4}.theme-dark .chat-sidebar{background:#252526;border-right:1px solid #3c3c3c;border-top:none;border-image:none}.theme-dark .chat-sidebar-head{border-bottom-color:#3c3c3c}.theme-dark .chat-brand-comflex{color:#569cd6}.theme-dark .chat-brand-ai{color:#4ec9b0}.theme-dark .chat-brand-sub,.theme-dark .chat-sidebar-user{color:#858585}.theme-dark .chat-mode button{background:#2d2d2d;border-color:#3c3c3c;color:#858585}.theme-dark .chat-mode button.active{border-color:#264f78;color:#569cd6;background:#569cd61a}.theme-dark .chat-list-item{background:#2d2d2d;border-color:#3c3c3c;box-shadow:none}.theme-dark .chat-list-item:hover{background:#37373d;box-shadow:none}.theme-dark .chat-list-item.active{background:#094771;border-color:#007acc}.theme-dark .chat-list-item.active .chat-list-name{color:#fff}.theme-dark .chat-list-item.active .chat-list-time,.theme-dark .chat-list-item.active .chat-list-preview{color:#fff9}.theme-dark .chat-list-name{color:#d4d4d4}.theme-dark .chat-list-time,.theme-dark .chat-list-preview{color:#858585}.theme-dark .chat-list-avatar.web{background:#2d2d2d;color:#858585}.theme-dark .chat-list-avatar.avito,.theme-dark .chat-header-meta.avito{background:transparent}.theme-dark .chat-search{background:#3c3c3c;border-color:#3c3c3c;color:#d4d4d4}.theme-dark .chat-search::placeholder{color:#6a6a6a}.theme-dark .chat-search:focus{border-color:#007acc;background:#1e1e1e}.theme-dark .chat-new-btn{border-color:#3c3c3c;background:#4ec9b00f;color:#4ec9b0}.theme-dark .chat-ghost-btn{border-color:#3c3c3c;color:#858585;background:#2d2d2d}.theme-dark .chat-main{background-color:#1e1e1e;background-image:none}.theme-dark .chat-lead-banner{background:#569cd60f;border-bottom-color:#3c3c3c;color:#858585}.theme-dark .chat-bubble{box-shadow:0 1px 3px #0006}.theme-dark .chat-bubble:hover{box-shadow:0 2px 6px #00000080;transform:none}.theme-dark .chat-bubble.client{background:#2d2d2d;border:1px solid #3c3c3c;color:#d4d4d4}.theme-dark .chat-bubble.assistant{background:#264f78;border:1px solid #1b3a5c}.theme-dark .chat-bubble.assistant .chat-bubble-time{color:#fff6}.theme-dark .chat-bubble.assistant .chat-bubble-funnel{background:#ffffff14;color:#d4d4d4;border-color:#ffffff1f}.theme-dark .chat-bubble.operator{background:#5a3e00;border:1px solid #7a5200}.theme-dark .chat-bubble-time{color:#6a6a6a}.theme-dark .chat-bubble-funnel{background:#ffffff0a;color:#858585;border-color:#3c3c3c}.theme-dark .chat-compose textarea{background:#2d2d2d;border-color:#3c3c3c;color:#d4d4d4}.theme-dark .chat-compose textarea::placeholder{color:#6a6a6a}.theme-dark .chat-compose textarea:focus{border-color:#007acc;background:#1e1e1e}.theme-dark .chat-compose button:not(.chat-ghost-btn){background:#007acc}.theme-dark .chat-alert.error{background:#f443361f;color:#f44336}.theme-dark .chat-alert.ok{background:#4caf501a;color:#4caf50}.theme-dark .chat-empty,.theme-dark .chat-side-note{color:#6a6a6a}.theme-dark .chat-header{border-bottom-color:#3c3c3c;background:#252526f2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.theme-dark .chat-header-title,.theme-dark .chat-header-name{color:#d4d4d4}.theme-dark .chat-header-meta.avito{background:#2d2d2d;color:#0af}.theme-dark .chat-avito-mode-label{color:#858585}.theme-dark .chat-header-lead{color:#569cd6;background:#569cd61f}.theme-dark .chat-header-status{color:#858585;background:#ffffff0f}.theme-dark .chat-deal-stage{background:#ce91781f;color:#ce9178;border-color:#ce917833}.theme-dark .chat-header-meta.web{background:#2d2d2d;color:#858585}.theme-dark .chat-header-meta.avito{background:transparent}.theme-dark .chat-compose{background:#252526f2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.theme-dark .chat-channel-filter button{border-color:#3c3c3c;color:#858585;background:#2d2d2d}.theme-dark .chat-channel-filter button.active{border-color:#007acc;color:#569cd6;background:#569cd61a}.theme-dark .chat-avito-toggle span{color:#858585}.theme-dark .chat-ios-switch{background:#3c3c3c}.theme-dark .chat-ios-switch.on{background:#007acc}.theme-dark .chat-compose-auto{background:#252526f2;border-top-color:#3c3c3c}.theme-dark .chat-compose-auto-icon{color:#569cd6}.theme-dark .chat-compose-auto-label{color:#858585}.theme-dark .chat-refresh-btn{border-color:#3c3c3c;color:#858585;background:#2d2d2d}.theme-dark .chat-avito-draft{background:#252526f2;border-color:#3c3c3c}.theme-dark .chat-avito-draft textarea{background:#2d2d2d;border-color:#3c3c3c;color:#d4d4d4}.theme-dark .chat-booking-bar{background:#5a3e0033;border-bottom-color:#3c3c3c}.theme-dark .chat-booking-info{color:#b0b0b0}.theme-dark .chat-new input,.theme-dark .chat-new select{background:#2d2d2d;border-color:#3c3c3c;color:#d4d4d4}.theme-dark .chat-badge-stage{color:#ce9178}.theme-dark .chat-badge-stage:before{background:#ce9178}.theme-dark .chat-badge-mode{color:#6a6a6a}.theme-dark .chat-badge-mode.test{color:#569cd6}.theme-dark .chat-badge-mode.real{color:#4ec9b0}.theme-dark .chat-mobile-header{background:#1e1e1ef2;border-bottom-color:#3c3c3c}.theme-dark .chat-mobile-title{color:#d4d4d4}.theme-dark .chat-back-btn{color:#569cd6}.theme-dark .moderation-overlay{background:#000000a6}.theme-dark .moderation-modal{background:#2d2d2d;box-shadow:0 8px 32px #00000080}.theme-dark .moderation-header{border-bottom-color:#3c3c3c;color:#d4d4d4}.theme-dark .moderation-close{color:#858585}.theme-dark .moderation-label{color:#9d9d9d}.theme-dark .moderation-original{background:#1e1e1e;color:#d4d4d4}.theme-dark .moderation-star{color:#555}.theme-dark .moderation-cat{background:#3c3c3c;border-color:#505050;color:#d4d4d4}.theme-dark .moderation-cat.active{background:#0055b8;color:#fff;border-color:#0055b8}.theme-dark .moderation-textarea{background:#1e1e1e;border-color:#505050;color:#d4d4d4}.theme-dark .moderation-textarea:focus{border-color:#569cd6;box-shadow:0 0 0 2px #569cd626}.theme-dark .moderation-comment{background:#1e1e1e;border-color:#505050;color:#9d9d9d}.theme-dark .moderation-comment:focus{border-color:#569cd6}.theme-dark .moderation-footer{border-top-color:#3c3c3c}.theme-dark .moderation-btn.reject{background:#3c3c3c;border-color:#505050;color:#ef5350}.theme-dark .moderation-btn.reject:hover:not(:disabled){background:#4a2020}
