:root{color-scheme:light;--bg:#f3f6fb;--panel:#ffffff;--line:#e5eaf2;--text:#0f172a;--muted:#64748b;--accent:#2563eb;--danger:#dc2626;--inbound:#ffffff;--outbound:#dbeafe}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);overflow:hidden}button,textarea,input,select{font:inherit}.layout{height:100vh;display:grid;grid-template-columns:280px 1fr;overflow:hidden}.sidebar{background:#0f172a;color:#fff;padding:24px 18px;border-right:1px solid rgba(255,255,255,.08)}.brand{display:flex;align-items:center;gap:14px;margin-bottom:28px}.brand__badge{width:56px!important;height:56px!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#f2f7fd)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow-soft)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden;padding:0!important}.brand__title{font-weight:700;font-size:18px}.brand__subtitle{color:#ffffffa6;font-size:13px;margin-top:4px}.menu{display:flex;flex-direction:column;gap:10px}.menu__item{text-align:left;border:0;border-radius:14px;padding:14px 16px;background:transparent;color:#fff;cursor:pointer}.menu__item--active{background:#2563eb33;color:#dbeafe}.menu__item:disabled{opacity:.45;cursor:not-allowed}.content{padding:20px 28px;min-height:0;overflow:hidden;display:flex;flex-direction:column}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:12px}.topbar h1{margin:0 0 4px;font-size:30px;line-height:1.1}.topbar p{margin:0;color:var(--muted);font-size:15px}.refresh{border:0;border-radius:14px;background:var(--accent);color:#fff;padding:12px 18px;cursor:pointer;box-shadow:0 10px 24px #2563eb38}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:0 10px 28px #0f172a0d}.stat-card__label{color:var(--muted);font-size:13px;margin-bottom:10px}.stat-card__value{font-size:28px;font-weight:800}.workspace{display:grid;grid-template-columns:380px 1fr;gap:18px;flex:1;min-height:0;overflow:hidden;height:calc(100vh - 170px)}.list-panel{display:flex;flex-direction:column}.list-panel,.chat-panel{background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 35px #0f172a0f;overflow:hidden;min-height:0}.panel__header{padding:18px 20px;border-bottom:1px solid var(--line);color:var(--muted)}.conversation-list{padding:14px;display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow:auto}.conversation-card{width:100%;text-align:left;border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;cursor:pointer}.conversation-card--active{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb1f}.conversation-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.conversation-card__status{color:var(--muted);font-size:12px;font-weight:700}.conversation-card__id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;margin-bottom:8px;word-break:break-all}.conversation-card__meta{color:var(--muted);font-size:13px;margin-top:4px}.chat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.chat-header{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.chat-header__main{min-width:0}.chat-header__title{font-size:18px;font-weight:700;margin-bottom:6px}.chat-header__meta{color:var(--muted);font-size:14px;margin-top:4px}.status-row{display:flex;align-items:center;gap:10px;margin-top:14px}.status-row__label{font-size:14px;color:var(--muted)}.status-row__select{border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px}.contact-box{min-width:320px;max-width:360px;border:1px solid var(--line);border-radius:18px;padding:14px;background:#f8fafc}.contact-box__title{font-weight:700;margin-bottom:10px}.contact-box__row{margin-top:6px;font-size:14px}.contact-box__muted{color:var(--muted);word-break:break-all}.contact-box__input{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-top:8px;background:#fff}.contact-box__button{margin-top:10px;width:100%;border:0;border-radius:12px;background:var(--accent);color:#fff;padding:11px 14px;cursor:pointer}.contact-box__empty{color:var(--muted);font-size:14px}.chat-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:0;overflow:hidden}.chat-messages{padding:18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#f8fafc;display:flex;flex-direction:column;gap:12px;min-height:0;height:100%}.notes-panel{border-left:1px solid var(--line);background:#fff;padding:16px;display:flex;flex-direction:column;gap:12px}.notes-panel__title{font-weight:800;font-size:16px}.notes-panel__input{width:100%;min-height:100px;resize:vertical;border:1px solid var(--line);border-radius:14px;padding:12px 14px}.notes-panel__button{border:0;border-radius:14px;background:#0f172a;color:#fff;padding:11px 14px;cursor:pointer}.notes-panel__list{display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:0}.notes-panel__empty{color:var(--muted);font-size:14px}.note-card{border:1px solid var(--line);border-radius:14px;padding:12px;background:#f8fafc}.note-card__date{color:var(--muted);font-size:12px;margin-bottom:6px}.note-card__text{white-space:pre-wrap;line-height:1.45;font-size:14px}.bubble{max-width:72%;padding:12px 14px;border-radius:18px;border:1px solid var(--line);background:var(--inbound)}.bubble--inbound{align-self:flex-start}.bubble--outbound{align-self:flex-end;background:var(--outbound);border-color:#bfdbfe}.bubble__author{color:var(--muted);font-size:12px;margin-bottom:6px}.bubble__text{font-size:15px;line-height:1.45;white-space:pre-wrap}.composer{border-top:1px solid var(--line);padding:14px;display:grid;grid-template-columns:1fr 150px;gap:12px;background:#fff}.composer__input{width:100%;min-height:88px;resize:vertical;border:1px solid var(--line);border-radius:14px;padding:12px 14px;outline:none}.composer__send{border:0;border-radius:14px;background:var(--accent);color:#fff;cursor:pointer}.channel{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;background:#eef2ff;color:#3730a3}.channel--webchat{background:#dbeafe;color:#1d4ed8}.channel--telegram{background:#e0f2fe;color:#0369a1}.channel--vk{background:#e0e7ff;color:#4338ca}.channel--max{background:#ede9fe;color:#6d28d9}.state{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin:14px}.state--error{color:var(--danger);border-color:#fecaca;background:#fef2f2;margin-bottom:18px}@media (max-width: 1380px){.chat-header{flex-direction:column}.contact-box{min-width:100%;max-width:none}.chat-body{grid-template-columns:1fr}.notes-panel{border-left:0;border-top:1px solid var(--line)}}@media (max-width: 1180px){.workspace{grid-template-columns:1fr}.conversation-list{max-height:none}.chat-panel{min-height:70vh}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 960px){.layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.content{padding:18px}.topbar{flex-direction:column}.composer{grid-template-columns:1fr}.bubble{max-width:100%}}@media (max-width: 640px){.stats-grid{grid-template-columns:1fr}}.filters{display:flex;gap:12px;margin-bottom:18px}.filters__select{border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px 14px}.chat-header__left{display:flex;flex-direction:column;gap:8px}.chat-header__controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}.chat-header__select{border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px}.topbar__meta{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}.conversation-card--new{border-color:#f59e0b;background:linear-gradient(180deg,#fffaf0,#fff);box-shadow:0 0 0 2px #f59e0b1f}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.status-badge--new{background:#fef3c7;color:#92400e}.status-badge--open{background:#dbeafe;color:#1d4ed8}.status-badge--waiting_client{background:#e0f2fe;color:#0369a1}.status-badge--waiting_operator{background:#ede9fe;color:#6d28d9}.status-badge--closed{background:#dcfce7;color:#166534}.status-badge--spam{background:#fee2e2;color:#b91c1c}.status-badge--escalated{background:#ffe4e6;color:#be123c}.conversation-card__top-left{display:flex;align-items:center;gap:8px;min-width:0}.unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:700;line-height:1;box-shadow:0 6px 16px #ef444440}.topbar__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.operator-switch{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:#fff}.operator-switch__text{display:flex;flex-direction:column;gap:2px}.operator-switch__status{font-size:13px;font-weight:700}.operator-switch__status.is-online{color:#15803d}.operator-switch__status.is-offline{color:#b45309}.operator-switch__note{font-size:11px;color:var(--muted)}.operator-switch__button{border:0;border-radius:10px;padding:10px 12px;cursor:pointer;font-size:13px;font-weight:700;white-space:nowrap}.operator-switch__button.is-online{background:#fee2e2;color:#991b1b}.operator-switch__button.is-offline{background:#dcfce7;color:#166534}.operator-switch__button:disabled{opacity:.65;cursor:not-allowed}.content{min-height:0!important;height:calc(100vh - 40px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.workspace{flex:1 1 auto!important;min-height:0!important;height:100%!important;overflow:hidden!important;align-items:stretch!important}.list-panel,.chat-panel{min-height:0!important;height:100%!important}@media (max-width: 1380px){.content{height:auto!important;min-height:calc(100vh - 40px)!important}.workspace,.chat-panel,.list-panel{height:auto!important}.chat-body{grid-template-columns:1fr!important;height:auto!important}.chat-messages{max-height:55vh!important}}body{overflow:hidden}.layout{height:100vh!important;overflow:hidden!important}.sidebar{height:100vh!important;overflow-y:auto!important}.content{height:100vh!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:10px!important;padding:12px 20px!important}.topbar h1{margin:0 0 4px!important;font-size:30px!important}.topbar p,.filters{margin:0!important}.workspace{display:grid!important;grid-template-columns:380px minmax(0,1fr)!important;gap:18px!important;min-height:0!important;height:100%!important;overflow:hidden!important}.list-panel,.chat-panel{min-height:0!important;height:100%!important;overflow:hidden!important}.conversation-list{max-height:none!important;min-height:0!important;height:100%!important;overflow-y:auto!important}.chat-body{min-height:0!important;height:100%!important;overflow:hidden!important;display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important}.chat-messages{min-height:0!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important}.notes-panel{min-height:0!important;overflow:hidden!important}.notes-panel__list{min-height:0!important;overflow-y:auto!important}.topbar__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px 14px}.list-pagination__text{font-size:13px;color:var(--muted)}.refresh--secondary{padding:10px 14px;box-shadow:none}@media (max-width: 1380px){body{overflow:auto}.layout,.sidebar{height:auto!important;overflow:visible!important}.content{height:auto!important;overflow:visible!important;display:block!important;padding:16px!important}.workspace{grid-template-columns:1fr!important;height:auto!important;overflow:visible!important}.list-panel,.chat-panel{height:auto!important}.chat-body{grid-template-columns:1fr!important;height:auto!important}.chat-messages{max-height:55vh!important}}.content{padding:8px 14px!important;height:100vh!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:6px!important;overflow:hidden!important}.topbar{margin-bottom:0!important}.topbar h1{margin:0 0 2px!important;font-size:24px!important}.topbar p{font-size:13px!important}.filters{margin:0!important;padding:0!important}.filters__select{padding:6px 10px!important}.workspace{height:calc(100vh - 96px)!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;gap:12px!important}.list-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:0!important;height:100%!important}.conversation-list{min-height:0!important;height:100%!important;overflow-y:auto!important}.chat-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:0!important;height:100%!important}.chat-header{padding:8px 10px!important;gap:10px!important;align-items:flex-start!important}.chat-header__title{font-size:16px!important;margin-bottom:2px!important}.chat-header__meta{font-size:12px!important;margin-top:2px!important}.chat-header__controls{gap:8px!important}.chat-header__select{padding:8px 10px!important}.contact-box{min-width:260px!important;max-width:280px!important;padding:10px!important}.contact-box__title{margin-bottom:6px!important}.contact-box__input{margin-top:6px!important;padding:8px 10px!important}.contact-box__button{margin-top:8px!important;padding:9px 12px!important}.chat-messages{min-height:0!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 12px!important}.bubble{max-width:78%!important}.composer{padding:8px 10px!important;gap:8px!important}.composer__input{min-height:64px!important}@media (max-width: 1380px){.workspace{grid-template-columns:1fr!important;height:auto!important}.chat-header{flex-direction:column!important}.contact-box{min-width:100%!important;max-width:none!important}.chat-messages{max-height:55vh!important}}.chat-header__toggle{border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px 12px;cursor:pointer;white-space:nowrap}.chat-header{align-items:flex-start!important}:root{--bg:#eef3f8;--panel:#ffffff;--panel-soft:#f7f9fc;--line:#dbe4ef;--line-strong:#c9d6e4;--text:#1f2d3d;--muted:#708499;--accent:#3390ec;--accent-dark:#2a7fd1;--accent-soft:#e8f3ff;--danger:#dc5b5b;--success:#3ba55d;--shadow:0 10px 30px rgba(41,72,102,.08);--shadow-soft:0 6px 18px rgba(41,72,102,.06);--inbound:#ffffff;--outbound:#e8f4ff}body{background:radial-gradient(circle at top left,rgba(51,144,236,.08),transparent 20%),linear-gradient(180deg,#f4f7fb,#edf2f7)!important;color:var(--text)}.layout{background:transparent!important}.sidebar{background:#f8fbffe0!important;color:var(--text)!important;border-right:1px solid var(--line)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset -1px 0 #ffffff80}.brand{margin-bottom:22px!important}.brand__badge{background:linear-gradient(135deg,#49a4ff,#2c83dd)!important;box-shadow:0 10px 22px #3390ec40;color:#fff}.brand__title{color:var(--text)!important;font-size:17px!important;letter-spacing:-.01em}.brand__subtitle{color:var(--muted)!important}.menu__item{color:var(--text)!important;border-radius:14px!important;padding:12px 14px!important;transition:.18s ease}.menu__item--active{background:var(--accent-soft)!important;color:var(--accent-dark)!important;font-weight:600;box-shadow:inset 0 0 0 1px #3390ec1f}.content{background:transparent!important}.topbar{padding:6px 4px 2px!important}.topbar h1{color:var(--text)!important;letter-spacing:-.02em}.topbar p{color:var(--muted)!important}.refresh{background:var(--accent)!important;color:#fff!important;border-radius:12px!important;padding:10px 14px!important;box-shadow:0 8px 20px #3390ec38!important;transition:.18s ease}.refresh:hover{background:var(--accent-dark)!important;transform:translateY(-1px)}.refresh:disabled{opacity:.55;cursor:not-allowed;transform:none}.filters{display:flex;gap:10px;flex-wrap:wrap;padding:2px 4px 8px}.filters__select,.status-row__select,.chat-header__select{border:1px solid var(--line)!important;background:#fff!important;color:var(--text)!important;border-radius:12px!important;padding:9px 12px!important;box-shadow:0 1px #fffc inset}.workspace{gap:14px!important}.list-panel,.chat-panel{background:#ffffffeb!important;border:1px solid rgba(206,218,232,.9)!important;border-radius:20px!important;box-shadow:var(--shadow)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.panel__header{background:linear-gradient(180deg,#fbfdff,#f6f9fd);color:var(--muted)!important;font-size:13px;border-bottom:1px solid var(--line)!important}.conversation-list{padding:10px!important;gap:10px!important}.conversation-card{border:1px solid transparent!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:var(--shadow-soft)!important;transition:.16s ease;padding:13px!important}.conversation-card:hover{transform:translateY(-1px);border-color:#d8e6f5!important;background:#f9fcff!important}.conversation-card--active{border-color:#b7d8fb!important;background:linear-gradient(180deg,#f5fbff,#edf7ff)!important;box-shadow:0 0 0 3px #3390ec1a,var(--shadow-soft)!important}.conversation-card__id{color:#4f6478!important;font-size:11px!important}.conversation-card__meta{color:var(--muted)!important;font-size:12px!important}.channel{border-radius:999px!important;padding:5px 9px!important;font-weight:700!important;letter-spacing:.01em;border:1px solid transparent}.channel--webchat{background:#eaf6ff!important;color:#2376c7!important}.channel--telegram{background:#e8f7ff!important;color:#1680c7!important}.channel--vk{background:#eef0ff!important;color:#4f67d8!important}.channel--max{background:#f1ebff!important;color:#7b4de0!important}.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#f1f5f9;color:#516476}.status-badge--new{background:#e9f4ff;color:#2376c7}.status-badge--open{background:#ecfbf0;color:#2d8b57}.status-badge--waiting_client{background:#fff4df;color:#b7791f}.status-badge--waiting_operator{background:#f3edff;color:#7a50d5}.status-badge--closed{background:#eef2f6;color:#607284}.status-badge--spam{background:#ffe8e8;color:#c74c4c}.status-badge--escalated{background:#ffeede;color:#c97721}.chat-header{background:linear-gradient(180deg,#fbfdff,#f7fbff)!important;border-bottom:1px solid var(--line)!important}.chat-header__title{color:var(--text)!important;letter-spacing:-.01em}.chat-header__meta{color:var(--muted)!important}.contact-box{background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:var(--shadow-soft)!important}.contact-box__title{color:var(--text)}.contact-box__input{border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important}.contact-box__button{border-radius:12px!important;background:var(--accent)!important;box-shadow:none!important}.chat-messages{background:linear-gradient(180deg,#fbfdffeb,#f3f7fcf2)!important;padding:14px!important;gap:10px!important}.bubble{border-radius:18px!important;border:1px solid rgba(214,224,235,.95)!important;box-shadow:0 4px 10px #2c49640d!important;padding:10px 12px!important}.bubble__author{color:#7a8da1!important;font-size:11px!important;margin-bottom:5px!important}.composer{background:#fff!important;border-top:1px solid var(--line)!important}.composer__input{border:1px solid var(--line)!important;border-radius:14px!important;background:#fbfdff!important;box-shadow:inset 0 1px 2px #1c34540a}.composer__send{border-radius:14px!important;background:linear-gradient(180deg,#41a0ff,#2f8de9)!important;box-shadow:0 10px 18px #3390ec38}.composer__send:hover{filter:brightness(.98)}.state{border-radius:16px!important;background:#ffffffeb!important;box-shadow:var(--shadow-soft)!important}.state--error{background:#fff5f5!important;border-color:#ffd4d4!important}@media (max-width: 1380px){.sidebar{-webkit-backdrop-filter:none;backdrop-filter:none}.workspace{grid-template-columns:1fr!important}.list-panel,.chat-panel{border-radius:18px!important}}:root{--bg:#edf3f9;--bg-soft:#f7fbff;--panel:#ffffff;--panel-2:#f8fbfe;--line:#d8e3ee;--line-soft:#e7eef6;--text:#243447;--muted:#7f92a6;--accent:#3390ec;--accent-dark:#2b7fd1;--accent-soft:#eaf4ff;--shadow:0 8px 24px rgba(36,52,71,.08);--shadow-soft:0 4px 14px rgba(36,52,71,.05);--inbound:#ffffff;--outbound:#eaf4ff}body{background:radial-gradient(circle at top left,rgba(51,144,236,.08),transparent 22%),linear-gradient(180deg,#f5f8fc,#edf3f9);color:var(--text);overflow:hidden}.layout{height:100vh!important;overflow:hidden!important;background:transparent!important}.sidebar{background:#f8fbffeb!important;color:var(--text)!important;border-right:1px solid var(--line)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset -1px 0 #ffffffb3;padding:18px 16px!important}.brand{gap:12px!important;margin-bottom:20px!important}.brand__badge{width:56px!important;height:56px!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#f2f7fd)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow-soft)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden}.brand__logo{width:100%!important;height:100%!important;object-fit:cover!important;display:block}.brand__title{color:var(--text)!important;font-size:18px!important;font-weight:700!important;letter-spacing:-.01em}.brand__subtitle{color:var(--muted)!important;font-size:13px!important}.menu{gap:8px!important}.menu__item{color:var(--text)!important;border-radius:14px!important;padding:12px 14px!important;transition:all .18s ease}.menu__item:hover:not(:disabled){background:#eef5fc!important}.menu__item--active{background:var(--accent-soft)!important;color:var(--accent-dark)!important;box-shadow:inset 0 0 0 1px #3390ec24;font-weight:700}.menu__item:disabled{opacity:.5}.content{height:100vh!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:8px!important;overflow:hidden!important;padding:10px 14px!important;background:transparent!important}.topbar{margin:0!important;padding:2px 4px 0!important;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.topbar h1{margin:0 0 2px!important;font-size:26px!important;line-height:1.1;color:var(--text)!important;letter-spacing:-.02em}.topbar p{margin:0!important;font-size:13px!important;color:var(--muted)!important}.topbar__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}.refresh{background:linear-gradient(180deg,#47a2fb,#328fe9)!important;color:#fff!important;border-radius:14px!important;padding:10px 14px!important;box-shadow:0 8px 18px #3390ec38!important;border:0!important;transition:.18s ease}.refresh:hover{background:linear-gradient(180deg,#3e9cf7,#2a82d7)!important;transform:translateY(-1px)}.refresh--secondary{background:#fff!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:none!important}.filters{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:0!important;padding:0 2px!important}.filters__select,.chat-header__select{border:1px solid var(--line)!important;border-radius:14px!important;background:#fffffff2!important;color:var(--text)!important;padding:10px 12px!important;box-shadow:0 1px #fffc inset}.workspace{min-height:0!important;height:100%!important;overflow:hidden!important;display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;gap:14px!important}.list-panel,.chat-panel{min-height:0!important;height:100%!important;overflow:hidden!important;background:#fffffff0!important;border:1px solid var(--line)!important;border-radius:22px!important;box-shadow:var(--shadow)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.list-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important}.panel__header{padding:14px 16px!important;border-bottom:1px solid var(--line-soft)!important;background:linear-gradient(180deg,#fcfeff,#f7fbff)!important;color:var(--muted)!important;font-size:13px!important}.conversation-list{min-height:0!important;height:100%!important;overflow-y:auto!important;padding:10px!important;gap:10px!important}.conversation-card{border:1px solid transparent!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:var(--shadow-soft)!important;padding:13px 14px!important;transition:all .16s ease}.conversation-card:hover{transform:translateY(-1px);border-color:#d7e7f7!important;background:#fbfdff!important}.conversation-card--active{border-color:#b8d8f8!important;background:linear-gradient(180deg,#f4faff,#edf7ff)!important;box-shadow:0 0 0 3px #3390ec1a,var(--shadow-soft)!important}.conversation-card__status,.conversation-card__meta{color:var(--muted)!important;font-size:12px!important}.conversation-card__id{color:#53687d!important;font-size:11px!important}.channel{border-radius:999px!important;padding:5px 10px!important;font-size:12px!important;font-weight:700!important}.channel--webchat{background:#eaf4ff!important;color:#2478c8!important}.channel--telegram{background:#e7f6ff!important;color:#1781c8!important}.channel--vk{background:#ecefff!important;color:#536bdd!important}.channel--max{background:#f2eaff!important;color:#7b52df!important}.unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:700;box-shadow:0 6px 14px #3390ec33}.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#eef3f8;color:#617487}.status-badge--new{background:#eaf4ff;color:#2478c8}.status-badge--open{background:#ecfaf0;color:#2d8a58}.status-badge--waiting_client{background:#fff5df;color:#b77c21}.status-badge--waiting_operator{background:#f2ecff;color:#7a50d6}.status-badge--closed{background:#eef2f6;color:#627688}.status-badge--spam{background:#ffe9e9;color:#c85252}.status-badge--escalated{background:#fff0e0;color:#c77c2b}.chat-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important}.chat-header{padding:12px 14px!important;border-bottom:1px solid var(--line-soft)!important;background:linear-gradient(180deg,#fcfeff,#f7fbff)!important;gap:12px!important;align-items:flex-start!important}.chat-header__title{font-size:17px!important;color:var(--text)!important;margin-bottom:2px!important;letter-spacing:-.01em}.chat-header__meta{color:var(--muted)!important;font-size:12px!important}.chat-header__controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-header__toggle{border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;color:var(--text)!important;padding:8px 12px!important;cursor:pointer}.contact-box{background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:var(--shadow-soft)!important;min-width:260px!important;max-width:280px!important;padding:10px!important}.contact-box__title{color:var(--text);font-weight:700;margin-bottom:6px!important}.contact-box__input{border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;padding:9px 11px!important;margin-top:6px!important}.contact-box__button{border-radius:12px!important;background:var(--accent)!important;box-shadow:none!important;margin-top:8px!important;padding:10px 12px!important}.contact-box__button:hover{background:var(--accent-dark)!important}.contact-box__row{margin-top:4px!important;font-size:12px!important}.chat-messages{min-height:0!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:14px!important;background:linear-gradient(180deg,#fcfefff2,#f4f8fdf5)!important;display:flex!important;flex-direction:column!important;gap:10px!important}.bubble{max-width:78%!important;border-radius:18px!important;border:1px solid rgba(214,224,235,.95)!important;box-shadow:0 4px 10px #2c49640d!important;padding:10px 12px!important}.bubble--inbound{background:#fff!important}.bubble--outbound{background:linear-gradient(180deg,#eef7ff,#e4f1ff)!important;border-color:#cfe4fb!important}.bubble__author{color:#7b8ea2!important;font-size:11px!important;margin-bottom:5px!important}.bubble__text{font-size:14px!important;line-height:1.45!important;color:var(--text)!important}.composer{border-top:1px solid var(--line-soft)!important;padding:10px 12px!important;gap:10px!important;background:#fff!important}.composer__input{border:1px solid var(--line)!important;border-radius:16px!important;background:#fbfdff!important;box-shadow:inset 0 1px 2px #1c34540a;min-height:72px!important}.composer__input:focus{outline:none;border-color:#b8d8fa!important;box-shadow:0 0 0 3px #3390ec14}.composer__send{border-radius:16px!important;background:linear-gradient(180deg,#47a2fb,#328fe9)!important;box-shadow:0 10px 18px #3390ec38}.state{border-radius:16px!important;background:#fffffff0!important;box-shadow:var(--shadow-soft)!important}.state--error{background:#fff5f5!important;border-color:#ffd8d8!important}@media (max-width: 1380px){body{overflow:auto}.layout{height:auto!important}.sidebar{-webkit-backdrop-filter:none;backdrop-filter:none}.content{height:auto!important;overflow:visible!important}.workspace{grid-template-columns:1fr!important;height:auto!important}.list-panel,.chat-panel{border-radius:18px!important;height:auto!important}.chat-header{flex-direction:column!important}.contact-box{min-width:100%!important;max-width:none!important}.chat-messages{max-height:55vh!important}}.calls-list{display:flex;flex-direction:column;gap:10px}.call-card{text-align:left}.call-detail-box{min-width:320px!important;max-width:360px!important}.call-detail-grid{display:grid;gap:6px;margin:8px 0 12px}.call-detail-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.call-comment{min-height:120px!important;margin-top:10px}.call-detail-stream{align-items:flex-start!important}@media (max-width: 1380px){.call-detail-box{min-width:100%!important;max-width:none!important}}.quick-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}.quick-filter{border:1px solid rgba(148,163,184,.35);background:#ffffffeb;color:#1f2937;border-radius:999px;padding:9px 14px;cursor:pointer;font-size:14px;font-weight:650;transition:.16s ease;box-shadow:0 8px 18px #0f172a0f}.quick-filter:hover{transform:translateY(-1px);border-color:#3390ec73;box-shadow:0 12px 24px #0f172a17}.quick-filter--active{color:#075985;border-color:#3390ec8c;background:linear-gradient(180deg,#eff8fffa,#dbeafef5)}.quick-filter--danger.quick-filter--active,.quick-filter--danger:hover{color:#991b1b;border-color:#ef44446b;background:linear-gradient(180deg,#fff5f5fa,#fee2e2eb)}.quick-filter--warning.quick-filter--active,.quick-filter--warning:hover{color:#92400e;border-color:#f59e0b6b;background:linear-gradient(180deg,#fffbebfa,#fef3c7eb)}.call-card--missed-inbound{border-color:#ef44446b!important;box-shadow:inset 4px 0 #ef4444db,0 10px 26px #7f1d1d14!important}.call-card--unclassified:not(.call-card--missed-inbound){box-shadow:inset 4px 0 #f59e0bc7,0 10px 26px #78350f0f!important}.call-raw-status{display:block;margin-top:3px;color:#94a3b8;font-size:12px;word-break:break-word}.call-audio-box{display:grid;gap:8px;margin:12px 0;padding:12px;border-radius:16px;background:#f8fafceb;border:1px solid rgba(148,163,184,.22)}.call-audio-box__title{font-size:13px;font-weight:800;color:#334155}.call-audio-box__player{width:100%;min-width:0}@media (max-width: 780px){.quick-filters{gap:8px}.quick-filter{padding:8px 11px;font-size:13px}}.advanced-filters{position:relative;z-index:8;margin:0 0 14px;border:1px solid rgba(148,163,184,.28);border-radius:18px;background:#ffffffdb;box-shadow:0 10px 24px #0f172a0f;overflow:hidden}.advanced-filters__summary{cursor:pointer;list-style:none;padding:12px 16px;font-size:14px;font-weight:750;color:#334155;-webkit-user-select:none;user-select:none}.advanced-filters__summary::-webkit-details-marker{display:none}.advanced-filters__summary:after{content:"↓";float:right;opacity:.55}.advanced-filters[open] .advanced-filters__summary:after{content:"↑"}.filters--calls-advanced{margin:0!important;padding:0 14px 14px;position:relative;z-index:9}.content{display:flex!important;flex-direction:column!important;min-width:0}.quick-filters,.advanced-filters,.filters{flex:0 0 auto}.workspace{flex:1 1 auto!important;min-height:0!important}.list-panel,.chat-panel{min-height:0!important}@media (max-width: 780px){.advanced-filters__summary{font-size:13px;padding:11px 13px}.filters--calls-advanced{padding:0 10px 12px}}html,body,#root{height:100%}body{overflow:hidden!important}.layout{height:100vh!important;min-height:0!important;overflow:hidden!important}.content{height:100vh!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.topbar,.quick-filters,.advanced-filters{flex:0 0 auto!important}.workspace--calls{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:hidden!important;display:grid!important}.workspace--calls .list-panel,.workspace--calls .chat-panel{min-height:0!important;height:100%!important;overflow:hidden!important}.workspace--calls .conversation-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding-right:8px}.workspace--calls .chat-panel{overflow-y:auto!important}.workspace--calls .chat-header{align-items:flex-start!important}.workspace--calls .contact-box{max-height:none!important}.panel__header--calls{gap:12px;align-items:flex-start!important}.panel__subtext{margin-top:4px;color:#64748b;font-size:12px}.pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination__button{border:1px solid rgba(148,163,184,.35);background:#fffffff5;color:#1f2937;border-radius:999px;padding:7px 11px;cursor:pointer;font-size:12px;font-weight:750}.pagination__button:disabled{opacity:.45;cursor:not-allowed}.pagination__label{font-size:12px;font-weight:750;color:#64748b;min-width:48px;text-align:center}.refresh--muted{background:#ffffffeb!important;color:#475569!important;border:1px solid rgba(148,163,184,.35)!important;box-shadow:0 8px 18px #0f172a0f!important}@media (max-width: 1380px){body{overflow:auto!important}.layout,.content{height:auto!important;overflow:visible!important}.workspace--calls{overflow:visible!important}.workspace--calls .list-panel,.workspace--calls .chat-panel{height:auto!important;overflow:visible!important}.workspace--calls .conversation-list{max-height:55vh!important}}.analytics-page{min-height:0;overflow-y:auto;padding:0 2px 28px}.analytics-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.analytics-toolbar h2{margin:0 0 4px;font-size:24px;line-height:1.15;color:#0f172a}.analytics-toolbar p{margin:0;color:#64748b;font-size:14px}.analytics-periods{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.analytics-grid{display:grid;gap:14px;margin-bottom:14px}.analytics-grid--kpi{grid-template-columns:repeat(4,minmax(0,1fr))}.analytics-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-card,.analytics-panel{border:1px solid rgba(148,163,184,.24);background:#ffffffeb;border-radius:22px;box-shadow:0 14px 34px #0f172a12}.analytics-card{padding:16px;display:grid;gap:7px;min-height:118px}.analytics-card span{color:#64748b;font-size:13px;font-weight:750}.analytics-card strong{color:#0f172a;font-size:30px;line-height:1;letter-spacing:-.03em}.analytics-card small{color:#64748b;font-size:12px;line-height:1.35}.analytics-card--primary{background:linear-gradient(180deg,#eff8fffa,#ffffffeb);border-color:#3390ec47}.analytics-card--danger{background:linear-gradient(180deg,#fff5f5fa,#ffffffeb);border-color:#ef444447}.analytics-card--warning{background:linear-gradient(180deg,#fffbebfa,#ffffffeb);border-color:#f59e0b47}.analytics-panel{padding:16px;min-height:320px}.analytics-panel__header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:14px}.analytics-panel__header h3{margin:0;font-size:17px;color:#0f172a}.analytics-panel__header span{color:#94a3b8;font-size:12px;font-weight:750}.analytics-bars{display:grid;gap:8px}.analytics-bar-row{display:grid;grid-template-columns:92px minmax(0,1fr) 52px;align-items:center;gap:10px;font-size:12px;color:#475569}.analytics-bar{height:10px;border-radius:999px;background:#e2e8f0e6;overflow:hidden}.analytics-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38bdf8,#2563eb)}.analytics-bar-row__value{text-align:right;font-weight:800;color:#0f172a}.analytics-hours{height:246px;display:grid;grid-template-columns:repeat(24,minmax(20px,1fr));gap:6px;align-items:end}.analytics-hour{min-width:0;display:grid;gap:5px;align-items:end;text-align:center}.analytics-hour__bar{height:170px;display:flex;align-items:end;justify-content:center;border-radius:12px;background:#f1f5f9e6;overflow:hidden}.analytics-hour__bar span{display:block;width:100%;background:linear-gradient(180deg,#60a5fa,#2563eb);border-radius:12px 12px 0 0}.analytics-hour__label,.analytics-hour__value{font-size:11px;color:#64748b}.analytics-hour__value{font-weight:800;color:#0f172a}.analytics-table{display:grid;gap:6px}.analytics-table__row{display:grid;grid-template-columns:1.4fr .7fr .8fr .8fr;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafceb;font-size:13px;color:#334155}.analytics-table--three .analytics-table__row{grid-template-columns:1fr .8fr .5fr}.analytics-table__row--head{background:transparent;color:#94a3b8;font-size:12px;font-weight:850;padding-top:0;padding-bottom:4px}.analytics-table__row span:not(:first-child){text-align:right;font-weight:750}@media (max-width: 1280px){.analytics-grid--kpi{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid--two{grid-template-columns:1fr}.analytics-toolbar{flex-direction:column}.analytics-periods{justify-content:flex-start}}@media (max-width: 760px){.analytics-grid--kpi{grid-template-columns:1fr}.analytics-hour__value{display:none}.analytics-table__row{grid-template-columns:1fr .55fr .65fr .65fr;font-size:12px;padding:9px}.analytics-table--three .analytics-table__row{grid-template-columns:1fr .8fr .5fr}}.internal-notifications{position:fixed;top:18px;right:18px;z-index:9999;display:flex;flex-direction:column;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none}.internal-notification{pointer-events:auto;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;padding:14px 14px 13px;border-radius:18px;background:#101828f5;color:#fff;box-shadow:0 18px 50px #0f172a47;cursor:pointer}.internal-notification__title{font-weight:800;font-size:14px;line-height:1.25;margin-bottom:4px}.internal-notification__text{font-size:13px;line-height:1.35;opacity:.92;word-break:break-word}.internal-notification__meta{margin-top:7px;font-size:11px;line-height:1.2;opacity:.68;text-transform:uppercase;letter-spacing:.06em}.internal-notification__close{width:28px;height:28px;border:0;border-radius:999px;background:#ffffff1f;color:#fff;font-size:20px;line-height:1;cursor:pointer}.internal-notification__close:hover{background:#fff3}@media (max-width: 720px){.internal-notifications{top:10px;right:10px;left:10px;width:auto}}.message-attachments{display:flex;flex-direction:column;gap:8px;margin-top:8px}.message-attachment{display:inline-flex;align-items:center;max-width:320px;border-radius:14px;overflow:hidden;text-decoration:none;font-size:13px}.message-attachment--photo{background:#0f172a0f}.message-attachment--photo img{display:block;max-width:320px;max-height:260px;width:auto;height:auto;object-fit:contain;border-radius:14px}.message-attachment--link,.message-attachment--unknown{padding:9px 11px;background:#0f172a14;color:inherit}.bubble--outbound .message-attachment--link,.bubble--outbound .message-attachment--unknown{background:#ffffff2e}.call-page{display:flex;flex-direction:column;gap:16px}.call-page__header{padding:12px 0;border-bottom:1px solid #e5e9f2}.call-page__title{font-size:18px;font-weight:600}.call-page__meta{font-size:13px;color:#6b7280;margin-top:4px}.call-page__grid{display:grid;grid-template-columns:360px 1fr;gap:20px}.call-block{background:#fff;border:1px solid #e5e9f2;border-radius:10px;padding:14px}.call-block__title{font-size:14px;font-weight:600;margin-bottom:10px}.call-page{display:flex!important;flex-direction:column!important;gap:18px!important;padding:4px 4px 18px!important}.call-page__hero{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:16px!important;padding:18px!important;border:1px solid #e5e9f2!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important}.call-page__eyebrow{font-size:12px!important;color:#6b7280!important;margin-bottom:4px!important}.call-page__title{font-size:22px!important;line-height:1.2!important;font-weight:700!important;color:#111827!important}.call-page__meta{margin-top:6px!important;font-size:13px!important;color:#6b7280!important}.call-page__grid{display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr)!important;gap:14px!important}.call-block{background:#fff!important;border:1px solid #e5e9f2!important;border-radius:18px!important;padding:16px!important;box-shadow:0 10px 28px #0f172a0a!important}.call-block--wide{grid-column:1 / -1!important}.call-block__title{font-size:15px!important;font-weight:700!important;color:#111827!important;margin-bottom:12px!important}.call-detail-grid{display:grid!important;gap:8px!important}.call-detail-row{display:flex!important;justify-content:space-between!important;gap:12px!important;padding:9px 0!important;border-bottom:1px solid #eef2f7!important;font-size:13px!important}.call-detail-row:last-child{border-bottom:0!important}.call-detail-row span{color:#6b7280!important}.call-detail-row strong{color:#111827!important;font-weight:600!important;text-align:right!important}.call-detail-row--wide{display:grid!important;gap:4px!important}.call-detail-row--wide strong{text-align:left!important;word-break:break-all!important}.call-audio-box{display:grid!important;gap:12px!important}.call-audio-box__player{width:100%!important}.call-empty-note{padding:14px!important;border-radius:12px!important;background:#f8fafc!important;color:#6b7280!important;font-size:14px!important}.call-form-label{display:grid!important;gap:8px!important;margin-bottom:14px!important;font-size:13px!important;font-weight:600!important;color:#374151!important}.call-comment{min-height:110px!important;margin-top:0!important}.call-save-button{width:100%!important;justify-content:center!important;min-height:42px!important}.workspace--calls .chat-messages.call-detail-stream{display:none!important}@media (max-width: 1200px){.call-page__grid{grid-template-columns:1fr!important}.call-block--wide{grid-column:auto!important}}.omni-tooltip{display:inline-block;margin-left:6px;width:16px;height:16px;border-radius:50%;background:#e5e7eb;color:#374151;font-size:11px;line-height:16px;text-align:center;cursor:pointer;position:relative}.omni-tooltip__content{position:absolute;bottom:22px;left:50%;transform:translate(-50%);background:#111827;color:#fff;padding:8px 10px;border-radius:8px;font-size:12px;width:240px;display:none;z-index:20}.omni-tooltip:hover .omni-tooltip__content{display:block}:root{--omni-navy: #0f172a;--omni-blue: #2563eb;--omni-blue-faint: #eaf1ff;--omni-canvas: #f3f6fb;--omni-ink: #14233a;--omni-line: #e5eaf2;--omni-muted: #64748b}.omni-v3.layout{grid-template-columns:228px minmax(0,1fr)!important;height:100dvh!important;min-width:0;background:var(--omni-canvas)!important;color:var(--omni-ink)}.omni-v3 button,.omni-v3 select,.omni-v3 input,.omni-v3 textarea{font-family:inherit}.omni-v3 button:focus-visible,.omni-v3 input:focus-visible,.omni-v3 textarea:focus-visible,.omni-v3 select:focus-visible{outline:3px solid rgba(37,99,235,.44)!important;outline-offset:2px!important}.omni-v3 .omni-icon{flex-shrink:0;display:inline-block;vertical-align:middle}.omni-v3 .sidebar{padding:25px 14px 16px!important;background:var(--omni-navy)!important;color:#f4f7ff!important;display:flex;flex-direction:column;min-width:0;border:none!important}.omni-v3 .brand{gap:12px!important;margin:0 10px 41px!important;align-items:center}.omni-v3 .brand__badge{width:43px!important;height:43px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;background:#fff!important}.omni-v3 .brand__logo{width:100%;height:100%;object-fit:contain}.omni-v3 .brand__title{font-size:23px!important;font-weight:800!important;line-height:1.05;letter-spacing:-.035em;color:#fff!important}.omni-v3 .brand__subtitle{color:#a5b2ca!important;font-size:10px!important;margin-top:6px!important;letter-spacing:.02em}.omni-v3 .sidebar__section-label{padding:0 15px;margin-bottom:12px;color:#8e9eb9;font-size:11px;font-weight:600;letter-spacing:.01em}.omni-v3 .menu{gap:4px!important}.omni-v3 .menu__item{min-height:46px!important;padding:11px 14px!important;display:flex;align-items:center;gap:12px;text-align:left;border-radius:10px!important;background:transparent!important;color:#b5c3db!important;font-size:13px!important;font-weight:600;transition:background .12s ease,color .12s ease;box-shadow:none!important;border:1px solid transparent!important}.omni-v3 .menu__item:hover{background:#fff1!important;color:#fff!important}.omni-v3 .menu__item--active,.omni-v3 .menu__item--active:hover{background:#263c62!important;color:#fff!important;border:1px solid rgba(255,255,255,.075)!important}.omni-v3 .menu__item--active .omni-icon{color:#86b2ff}.omni-v3 .menu__item span:nth-child(2){flex:1}.omni-v3 .menu__counter{background:#2563eb;color:#fff;min-width:23px;height:20px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;font-size:11px}.omni-v3 .sidebar__bottom{margin-top:auto;padding:12px 8px 0}.omni-v3 .sidebar__service{display:flex;align-items:center;gap:9px;font-size:11px;color:#aebdd6;padding:12px 7px 17px}.omni-v3 .sidebar__service-dot{width:7px;height:7px;background:#94a3b8;border-radius:50%}.omni-v3 .sidebar__service-dot.is-online{background:#4adeaa;box-shadow:0 0 0 3px #4adeaa1f}.omni-v3 .sidebar__account{border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:9px;padding-top:15px}.omni-v3 .sidebar__avatar{display:grid;place-items:center;color:#dbeafe;background:#314b77;width:33px;height:33px;border-radius:10px;font-weight:700}.omni-v3 .sidebar__account-details{display:grid;min-width:0;flex:1;gap:2px}.omni-v3 .sidebar__account-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.omni-v3 .sidebar__account-details small{font-size:10px;color:#9cabc3}.omni-v3 .sidebar__logout{padding:7px;color:#a5b5cc;background:transparent;border:0;cursor:pointer;border-radius:8px}.omni-v3 .sidebar__logout:hover{color:#fff;background:#ffffff17}.omni-v3 .content{padding:25px 28px 24px!important;background:var(--omni-canvas)!important;min-width:0;min-height:0;overflow:hidden}.omni-v3 .topbar{margin:0 0 22px!important;padding:0!important;align-items:center!important;gap:16px;min-height:54px}.omni-v3 .topbar__heading{min-width:0}.omni-v3 .topbar h1{font-size:27px!important;letter-spacing:-.045em!important;color:#14233a!important;font-weight:760!important;margin:0 0 5px!important}.omni-v3 .topbar p{font-size:12px!important;line-height:1.4;color:var(--omni-muted)!important}.omni-v3 .topbar__meta{flex-direction:row!important;display:flex!important;align-items:center!important;gap:11px!important;margin:0!important;padding:0!important;flex-wrap:nowrap!important}.omni-v3 .topbar__icon-button,.omni-v3 .topbar__refresh{border:1px solid #dbe3ee!important;background:#fff!important;color:#36465c!important;min-height:37px;border-radius:10px!important;box-shadow:none!important;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.omni-v3 .topbar__icon-button{width:38px;padding:0}.omni-v3 .topbar__refresh{padding:0 12px;font-size:12px;font-weight:600}.omni-v3 .topbar__refresh:hover,.omni-v3 .topbar__icon-button:hover{border-color:#adc4ec!important;color:var(--omni-blue)!important}.omni-v3 .operator-switch{display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;padding:4px 5px 4px 13px!important;margin:0!important;background:#fff!important;border:1px solid #dbe3ee!important;border-radius:11px!important;box-shadow:none!important}.omni-v3 .operator-switch__text{display:flex!important;flex-direction:column;gap:1px;align-items:flex-start!important}.omni-v3 .operator-switch__status{font-size:12px!important;font-weight:700!important;white-space:nowrap}.omni-v3 .operator-switch__status.is-online{color:#13826d!important}.omni-v3 .operator-switch__status.is-offline{color:#b45309!important}.omni-v3 .operator-switch__note{font-size:10px;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.omni-v3 .operator-switch__button{min-width:78px;padding:8px 11px!important;border-radius:8px!important;font-size:11px!important;font-weight:650;box-shadow:none!important}.omni-v3 .operator-switch__button.is-online{background:#e7f6f1!important;color:#117e67!important;border:0!important}.omni-v3 .operator-switch__button.is-offline{background:#eaf1ff!important;color:#2259b6!important;border:0!important}.omni-v3 .workspace--omni{display:grid!important;height:100%!important;grid-template-columns:minmax(295px,350px) minmax(0,1fr)!important;gap:0!important;min-width:0;border:1px solid #dce5f0;border-radius:16px;box-shadow:0 10px 38px #11284f0b;overflow:hidden}.omni-v3 .workspace--omni .list-panel,.omni-v3 .workspace--omni .chat-panel{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;height:100%!important}.omni-v3 .workspace--omni .list-panel{border-right:1px solid #e3eaf3!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-width:0;background:#fff!important}.omni-v3 .queue-top{padding:21px 18px 14px;background:#fff;border-bottom:1px solid #edf0f5}.omni-v3 .queue-top__heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:17px}.omni-v3 .queue-top h2{margin:0 0 3px;font-size:15px;letter-spacing:-.02em;line-height:1.25;font-weight:760;color:#162740}.omni-v3 .queue-top p{margin:0;color:#8592a4;font-size:11px}.omni-v3 .queue-top__count{min-width:28px;padding:5px 8px;text-align:center;border-radius:8px;background:#edf3ff;color:#255aba;font-weight:750;font-size:11px}.omni-v3 .queue-search{min-height:40px;display:flex;align-items:center;gap:9px;border-radius:10px;padding:0 11px;background:#f6f8fc;border:1px solid #e9eef5;color:#8797aa;margin-bottom:10px}.omni-v3 .queue-search:focus-within{border-color:#91b4f8;box-shadow:0 0 0 3px #2563eb14}.omni-v3 .queue-search input{min-width:0;width:100%;padding:9px 0;outline:none!important;border:none;background:transparent;color:#172a44;font-size:12px}.omni-v3 .queue-search input::placeholder{color:#96a3b5}.omni-v3 .queue-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.omni-v3 .queue-filters .filters__select{min-width:0;width:100%;padding:9px!important;background:#fff!important;font-size:11px!important;font-weight:600;border-radius:9px!important;border:1px solid #e5ebf3!important;box-shadow:none!important}.omni-v3 .conversation-list{display:flex!important;flex-direction:column;gap:0!important;padding:0!important;background:#fff}.omni-v3 .conversation-card,.omni-v3 .conversation-card:hover{display:block;width:100%;border-radius:0!important;border:0!important;border-bottom:1px solid #f0f3f7!important;border-left:3px solid transparent!important;padding:16px 16px 15px!important;background:#fff!important;box-shadow:none!important;text-align:left;cursor:pointer;transition:background .13s ease,border-color .13s ease;transform:none!important}.omni-v3 .conversation-card:hover{background:#f9fbfe!important}.omni-v3 .conversation-card--active,.omni-v3 .conversation-card--active:hover{background:#f0f6ff!important;border-left-color:var(--omni-blue)!important;border-bottom-color:#e8eff8!important}.omni-v3 .conversation-card__top{display:flex!important;align-items:flex-start;gap:6px;justify-content:space-between!important;margin:0 0 10px}.omni-v3 .conversation-card__identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.omni-v3 .conversation-avatar{width:36px;height:36px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:14px;font-weight:800;background:#e9effa;color:#365987}.omni-v3 .conversation-avatar--telegram{background:#dff4ff;color:#1377ad}.omni-v3 .conversation-avatar--vk{background:#e5edff;color:#336dd9}.omni-v3 .conversation-avatar--max{background:#f1ebff;color:#7951b9}.omni-v3 .conversation-avatar--webchat{background:#e6f6f5;color:#177b76}.omni-v3 .conversation-card__identity-text{display:grid;flex:1;min-width:0;gap:4px}.omni-v3 .conversation-card__identity-text strong{font-weight:690;color:#182a43;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.omni-v3 .conversation-card__source{font-size:10px;color:#8796aa}.omni-v3 .conversation-card__time{flex-shrink:0;white-space:nowrap;font-size:10px;color:#8594a7;margin-top:3px}.omni-v3 .conversation-card__preview{font-size:12px;line-height:1.5;color:#728198;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 10px 46px}.omni-v3 .conversation-card__bottom{display:flex;align-items:center;justify-content:space-between;margin-left:46px;min-height:22px}.omni-v3 .conversation-card__bottom .status-badge{font-size:10px!important;padding:4px 8px!important;font-weight:650!important;border-radius:6px!important;box-shadow:none!important}.omni-v3 .conversation-card__bottom .unread-badge{min-width:20px;height:20px;border-radius:6px;font-size:10px;box-shadow:none}.omni-v3 .list-pagination{padding:10px 14px!important;margin:0!important;border-top:1px solid #edf0f5;background:#fff}.omni-v3 .list-pagination__text{font-size:11px;white-space:nowrap}.omni-v3 .list-pagination .refresh{border-radius:8px!important;font-size:11px;padding:7px 9px!important;box-shadow:none!important}.omni-v3 .queue-empty{padding:35px 22px;display:grid;gap:7px;text-align:center}.omni-v3 .queue-empty strong{font-size:13px;color:#36445b}.omni-v3 .queue-empty span{color:#8090a5;font-size:12px}.omni-v3 .workspace--omni .chat-panel{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;position:relative;min-width:0}.omni-v3 .chat-header{padding:16px 23px 14px!important;border-bottom:1px solid #e9eef5!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;gap:14px;align-items:flex-start}.omni-v3 .chat-header__left{display:flex!important;min-width:0;flex-direction:column;flex:1;gap:5px}.omni-v3 .chat-header__title{font-size:17px!important;color:#182b45!important;font-weight:750!important;letter-spacing:-.025em;line-height:1.35;margin:0!important}.omni-v3 .chat-header__meta{display:flex!important;gap:9px;align-items:center;color:#8392a6!important;font-size:11px!important}.omni-v3 .chat-header__meta .channel{padding:4px 8px!important;border-radius:6px!important;font-size:10px!important;font-weight:700!important}.omni-v3 .chat-header__ref{font-size:10px;color:#a7b1be}.omni-v3 .chat-header__controls{display:flex!important;gap:8px!important;align-items:center;flex-wrap:wrap;margin:10px 0 0!important}.omni-v3 .chat-header__select,.omni-v3 .chat-header__toggle{border:1px solid #e0e7f0!important;background:#fff!important;border-radius:8px!important;color:#42536b!important;font-size:11px!important;padding:8px 9px!important;font-weight:600!important;box-shadow:none!important}.omni-v3 .chat-header__toggle:hover{background:#f4f8ff!important;color:#1f5bbb!important}.omni-v3 .contact-box{border:1px solid #e2e9f3!important;border-radius:12px!important;background:#fff!important;box-shadow:0 12px 36px #0f172a1a!important;padding:15px!important}.omni-v3 .chat-messages{min-height:0;padding:26px clamp(20px,5%,72px) 22px!important;background:#f7f9fc!important;overflow-y:auto;display:flex!important;flex-direction:column;gap:15px!important}.omni-v3 .bubble{margin:0!important;padding:13px 16px 12px!important;border-radius:13px!important;max-width:min(76%,690px)!important;width:max-content!important;background:#fff!important;border:1px solid #e4eaf2!important;box-shadow:none!important;color:#17283f;overflow-wrap:anywhere}.omni-v3 .bubble--inbound{border-bottom-left-radius:5px!important;align-self:flex-start!important}.omni-v3 .bubble--outbound{background:#e6efff!important;border-color:#d4e4ff!important;border-bottom-right-radius:5px!important;align-self:flex-end!important}.omni-v3 .bubble__author{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#78879a!important;font-size:10px!important;margin-bottom:9px!important}.omni-v3 .bubble__author span{color:#40536c;font-weight:700}.omni-v3 .bubble__author time{color:#98a4b4;font-weight:500}.omni-v3 .bubble__text{color:#22354c!important;white-space:pre-wrap;font-size:13px!important;line-height:1.58!important}.omni-v3 .message-attachment img{max-width:245px;max-height:220px;border-radius:8px;object-fit:cover}.omni-v3 .composer{padding:13px 23px 15px!important;gap:9px!important;display:grid!important;background:#fff!important;border-top:1px solid #e7edf5!important;border-radius:0!important}.omni-v3 .composer__input{resize:vertical;min-height:65px!important;max-height:150px;padding:12px 13px!important;border:1px solid #e4eaf3!important;border-radius:10px!important;background:#f9fbfe!important;font-size:13px!important;line-height:1.45;box-shadow:none!important}.omni-v3 .composer__input::placeholder{color:#a3adbb}.omni-v3 .composer__actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.omni-v3 .composer__hint{font-size:10px;color:#a1aab9}.omni-v3 .composer__send{display:inline-flex!important;align-items:center;gap:9px;justify-content:center;border:0!important;background:var(--omni-blue)!important;color:#fff!important;padding:10px 16px!important;border-radius:9px!important;font-size:12px;font-weight:700;box-shadow:none!important;cursor:pointer}.omni-v3 .composer__send:disabled{opacity:.47;cursor:default}.omni-v3 .chat-empty{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:10px;min-height:100%;padding:40px;background:#f7f9fc}.omni-v3 .chat-empty__icon{display:grid;place-items:center;width:62px;height:62px;border:1px solid #dce7f7;border-radius:18px;background:#fff;color:#4c78ba;margin-bottom:4px}.omni-v3 .chat-empty strong{font-size:16px;color:#22334a}.omni-v3 .chat-empty>span:last-child{max-width:270px;color:#8897aa;font-size:12px;line-height:1.5}.omni-v3 .workspace--calls{gap:14px!important}.omni-v3 .workspace--calls .list-panel,.omni-v3 .workspace--calls .chat-panel,.omni-v3 .analytics-panel,.omni-v3 .analytics-card,.omni-v3 .call-block{border:1px solid #e0e8f2!important;background:#fff!important;border-radius:13px!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.omni-v3 .analytics-card--primary{background:#eaf1ff!important}.omni-v3 .analytics-card--danger{background:#fff5f5!important}.omni-v3 .analytics-card--warning{background:#fffaf0!important}.omni-v3 .analytics-page{border-radius:12px}.omni-v3 .call-page__hero{background:#f7faff!important;border-radius:12px!important;box-shadow:none!important}@media (max-width: 1420px){.omni-v3.layout{grid-template-columns:200px minmax(0,1fr)!important}.omni-v3 .content{padding:22px 19px!important}.omni-v3 .workspace--omni{grid-template-columns:minmax(270px,315px) minmax(0,1fr)!important}.omni-v3 .chat-messages{padding-left:26px!important;padding-right:26px!important}}@media (max-width: 1120px){.omni-v3.layout{grid-template-columns:68px minmax(0,1fr)!important}.omni-v3 .sidebar{padding:19px 10px 12px!important}.omni-v3 .brand{margin:0 auto 34px!important}.omni-v3 .brand__copy,.omni-v3 .sidebar__section-label,.omni-v3 .menu__item span,.omni-v3 .sidebar__service,.omni-v3 .sidebar__account-details{display:none!important}.omni-v3 .menu__item{justify-content:center;padding:12px!important}.omni-v3 .sidebar__bottom{padding:0}.omni-v3 .sidebar__account{flex-direction:column;gap:10px}.omni-v3 .sidebar__logout{padding:6px}.omni-v3 .workspace--omni{grid-template-columns:minmax(255px,300px) minmax(0,1fr)!important}}@media (max-width: 760px){.omni-v3 .content{padding:15px 12px!important}.omni-v3 .topbar{flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-bottom:14px!important}.omni-v3 .topbar h1{font-size:23px!important}.omni-v3 .topbar__meta{justify-content:space-between}.omni-v3 .operator-switch__note{display:none}.omni-v3 .workspace--omni{grid-template-columns:42% minmax(0,1fr)!important}.omni-v3 .queue-top{padding:13px 9px}.omni-v3 .queue-top__heading{display:none}.omni-v3 .queue-filters{grid-template-columns:1fr}.omni-v3 .conversation-card,.omni-v3 .conversation-card:hover{padding:12px 8px!important}.omni-v3 .conversation-card__identity{gap:6px}.omni-v3 .conversation-avatar,.omni-v3 .conversation-card__time{display:none}.omni-v3 .conversation-card__preview,.omni-v3 .conversation-card__bottom{margin-left:0}.omni-v3 .chat-header{padding:12px!important}.omni-v3 .chat-header__select{max-width:100%}.omni-v3 .chat-messages{padding:12px!important}.omni-v3 .bubble{max-width:94%!important}.omni-v3 .composer{padding:10px!important}.omni-v3 .composer__hint{display:none}.omni-v3 .composer__actions{justify-content:flex-end}}@media (max-width: 540px){.omni-v3.layout{grid-template-columns:56px minmax(0,1fr)!important}.omni-v3 .workspace--omni{grid-template-columns:minmax(110px,36%) minmax(0,1fr)!important}.omni-v3 .conversation-card__source,.omni-v3 .conversation-card__preview{display:none}.omni-v3 .queue-filters .filters__select{font-size:10px!important}.omni-v3 .bubble__text{font-size:12px!important}.omni-v3 .chat-header__controls{gap:6px!important}.omni-v3 .chat-header__select{max-width:150px}.omni-v3 .topbar__refresh span{display:none}}@media (prefers-reduced-motion: reduce){.omni-v3 *,.omni-v3 *:before,.omni-v3 *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
