@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-B2xhLi22.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-CMZtQduZ.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-CGAr0uHJ.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CaVNZxsx.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-CFHvXkgd.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-C2S99t-D.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#f4f5fa;--color-surface:#fff;--color-surface-alt:#f7f8fc;--color-border:#e7e9f0;--color-border-strong:#d4d7e2;--color-text:#0f172a;--color-text-secondary:#475569;--color-text-muted:#94a3b8;--color-primary:#4f46e5;--color-primary-hover:#4338ca;--color-primary-active:#3730a3;--color-primary-soft:#eef2ff;--color-primary-soft-strong:#e0e7ff;--color-primary-text:#4338ca;--color-success:#16a34a;--color-success-soft:#dcfce7;--color-success-text:#15803d;--color-danger:#dc2626;--color-danger-soft:#fef2f2;--color-danger-text:#b91c1c;--color-warning:#d97706;--color-warning-soft:#fffbeb;--color-warning-text:#92400e;--color-info:#0284c7;--color-info-soft:#e0f2fe;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-full:999px;--shadow-sm:0 1px 2px #0f172a0d;--shadow-card:0 1px 2px #0f172a0a, 0 1px 1px #0f172a05;--shadow-md:0 4px 16px #0f172a14;--shadow-lg:0 16px 40px #0f172a29;--nav-height:60px;font-feature-settings:"cv11", "ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter Variable,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent}body{background:var(--color-bg);color:var(--color-text);margin:0;font-size:14px;line-height:1.45}h1,h2,h3,h4{font-weight:600;line-height:1.25}button,input,select,textarea{color:inherit;font-family:inherit}button{touch-action:manipulation}input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:9px 11px;font-size:14px;transition:border-color .15s,box-shadow .15s}input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft);outline:none}button:not([class]){border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;padding:9px 14px;font-size:14px}a{color:var(--color-primary)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--color-border-strong);border-radius:var(--radius-full);background-clip:content-box;border:2px solid #0000}:focus-visible{outline:2px solid var(--color-primary);outline-offset:1px}.login-form input,.global-search input,.inbox-filters select,.lead-card input,.lead-card select,.lead-card textarea,.chat-find-bar input,.chat-text-input-wrapper textarea,.chat-input textarea,.kanban-toolbar select,.kanban-add-stage input,.distribution-list input[type=number],.employees-add-form input,.employees-add-form select,.modal-box select,.modal-box input,.modal-box textarea,.voice-templates-form input,.voice-templates-form select,.text-templates-form input,.text-templates-form select,.text-templates-form textarea,.my-tasks-complete-form textarea,.note-edit-form textarea,.lead-card-tags+input{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:10px 12px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.login-form input:focus,.global-search input:focus,.inbox-filters select:focus,.lead-card input:focus,.lead-card select:focus,.lead-card textarea:focus,.chat-find-bar input:focus,.chat-text-input-wrapper textarea:focus,.chat-input textarea:focus,.kanban-toolbar select:focus,.kanban-add-stage input:focus,.distribution-list input[type=number]:focus,.employees-add-form input:focus,.employees-add-form select:focus,.modal-box select:focus,.modal-box input:focus,.modal-box textarea:focus,.voice-templates-form input:focus,.voice-templates-form select:focus,.text-templates-form input:focus,.text-templates-form select:focus,.text-templates-form textarea:focus,.my-tasks-complete-form textarea:focus,.note-edit-form textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft);outline:none}.login-form button,.chat-input button,.lead-card button:not(.lead-card-history-toggle):not(.lead-card-tag-chip button):not(.lead-card-back-btn),.distribution-editor button,.permissions-detail button,.kanban-add-stage button,.voice-preview button,.template-picker-item button,.voice-templates-form button,.text-templates-form button,.employees-toolbar button,.employees-add-form button[type=submit],.lead-detail-open-btn,.my-tasks-tabs button.active{border-radius:var(--radius-md);background:var(--color-primary);color:#fff;cursor:pointer;border:none;padding:10px 16px;font-size:14px;font-weight:500;transition:background-color .15s,box-shadow .15s,transform 50ms}.login-form button:hover:not(:disabled),.chat-input button:hover:not(:disabled),.lead-card button:hover:not(:disabled):not(.lead-card-history-toggle):not(.lead-card-tag-chip button):not(.lead-card-back-btn),.distribution-editor button:hover:not(:disabled),.permissions-detail button:hover:not(:disabled),.kanban-add-stage button:hover:not(:disabled),.voice-preview button:hover:not(:disabled),.template-picker-item button:hover:not(:disabled),.voice-templates-form button:hover:not(:disabled),.text-templates-form button:hover:not(:disabled),.employees-toolbar button:hover,.employees-add-form button[type=submit]:hover:not(:disabled),.lead-detail-open-btn:hover{background:var(--color-primary-hover)}.login-form button:active:not(:disabled),.lead-card button:active:not(:disabled):not(.lead-card-history-toggle):not(.lead-card-tag-chip button):not(.lead-card-back-btn){transform:translateY(1px)}.login-form button:disabled,.chat-input button:disabled,.lead-card button:disabled,.distribution-editor button:disabled,.permissions-detail button:disabled,.kanban-add-stage button:disabled,.voice-preview button:disabled,.template-picker-item button:disabled,.employees-add-form button[type=submit]:disabled{opacity:.5;cursor:default}.inbox-bulk-bar button,.employees-actions button,.sessions-list button,.modal-actions button,.lead-detail-history-toggle,.lead-card-history-toggle,.lead-card-back-btn,.my-tasks-list>li>button,.notification-dropdown-header button,.chat-find-bar button{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-secondary);cursor:pointer;padding:8px 14px;font-size:13px;transition:background-color .15s,border-color .15s,color .15s}.inbox-bulk-bar button:hover,.employees-actions button:hover,.sessions-list button:hover,.modal-actions button:hover,.lead-detail-history-toggle:hover,.lead-card-history-toggle:hover,.lead-card-back-btn:hover,.my-tasks-list>li>button:hover,.notification-dropdown-header button:hover,.chat-find-bar button:hover{background:var(--color-surface-alt);border-color:var(--color-border-strong);color:var(--color-text)}.analytics-page h2,.distribution-editor h2,.permissions-managers h2,.permissions-detail h2,.employees-toolbar h2,.voice-templates-form h2,.voice-templates-list h2,.text-templates-form h2,.text-templates-list h2{color:var(--color-text);margin:0 0 10px;font-size:15px;font-weight:600}.login-screen{background:linear-gradient(180deg, #eef2ff 0%, var(--color-bg) 320px);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-form{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:340px;max-width:100%;box-shadow:var(--shadow-lg);flex-direction:column;gap:14px;padding:32px 28px;display:flex}.login-form h1{margin:0 0 4px;font-size:20px}.login-form label{color:var(--color-text-secondary);flex-direction:column;gap:6px;font-size:13px;font-weight:500;display:flex}.login-form button{margin-top:4px;padding:12px}.error{color:var(--color-danger);margin:0;font-size:13px}.app-shell{background:var(--color-bg);flex-direction:column;height:100vh;display:flex}.top-nav{height:var(--nav-height);background:var(--color-surface);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-sm);z-index:30;flex-shrink:0;align-items:center;gap:4px;padding:0 16px;display:flex;position:relative}.nav-brand{color:var(--color-text);white-space:nowrap;flex-shrink:0;align-items:center;gap:8px;margin-right:8px;font-size:15px;font-weight:700;display:flex}.nav-brand-mark{background:var(--color-primary);color:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:flex}.nav-links{flex:1;align-items:center;gap:2px;min-width:0;display:flex}.nav-links-scroll{scrollbar-width:none;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.nav-links-scroll::-webkit-scrollbar{display:none}.top-nav button{border-radius:var(--radius-md);cursor:pointer;color:var(--color-text-secondary);white-space:nowrap;background:0 0;border:none;flex-shrink:0;padding:8px 12px;font-size:13px;font-weight:500;transition:background-color .15s,color .15s}.top-nav button:hover{background:var(--color-surface-alt);color:var(--color-text)}.top-nav button.active{background:var(--color-primary-soft);color:var(--color-primary-text);font-weight:600}.nav-divider{background:var(--color-border);flex-shrink:0;align-self:stretch;width:1px;margin:10px 6px}.nav-admin-group{flex-shrink:0;position:relative}.nav-admin-toggle{border-radius:var(--radius-md);cursor:pointer;color:var(--color-text-secondary);white-space:nowrap;background:0 0;border:none;padding:8px 12px;font-size:13px;font-weight:500;list-style:none;display:block}.nav-admin-toggle::-webkit-details-marker{display:none}.nav-admin-toggle:hover{background:var(--color-surface-alt);color:var(--color-text)}.nav-admin-toggle.active{background:var(--color-primary-soft);color:var(--color-primary-text);font-weight:600}.nav-admin-dropdown{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:200px;box-shadow:var(--shadow-lg);z-index:35;flex-direction:column;gap:1px;margin-top:6px;padding:6px;display:none;position:absolute;top:100%;left:0}.nav-admin-group[open]>.nav-admin-dropdown{display:flex}.nav-admin-dropdown button{text-align:left;width:100%}.nav-admin-mobile{display:none}.nav-right{flex-shrink:0;align-items:center;gap:4px;margin-left:8px;display:flex}.nav-burger{border-radius:var(--radius-md);cursor:pointer;width:36px;height:36px;color:var(--color-text);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;display:none}.nav-burger:hover{background:var(--color-surface-alt)}.nav-burger-bar{background:currentColor;border-radius:2px;width:18px;height:2px;display:block;position:relative}.nav-burger-bar:before,.nav-burger-bar:after{content:"";background:currentColor;border-radius:2px;width:18px;height:2px;position:absolute;left:0}.nav-burger-bar:before{top:-6px}.nav-burger-bar:after{top:6px}.mobile-nav-overlay{display:none}.nav-waiting-badge{border-radius:var(--radius-full);background:var(--color-danger);color:#fff;margin-left:4px;padding:1px 6px;font-size:11px;font-weight:600;display:inline-block}.nav-logout{color:var(--color-danger-text)!important}@media (width<=860px){.nav-links{top:var(--nav-height);background:var(--color-surface);border-right:1px solid var(--color-border);width:280px;max-width:82vw;box-shadow:var(--shadow-lg);z-index:45;flex-direction:column;align-items:stretch;gap:2px;padding:10px;transition:transform .2s;position:fixed;bottom:0;left:0;overflow:hidden auto;transform:translate(-100%)}.nav-links.open{transform:translate(0)}.nav-links-scroll{flex-direction:column;align-items:stretch;overflow-x:hidden}.top-nav button{text-align:left;padding:11px 12px}.nav-divider{display:none}.nav-burger{display:flex}.nav-admin-group{display:none}.nav-admin-mobile{flex-direction:column;gap:1px;margin-top:6px;display:flex}.nav-admin-mobile:before{content:"Управление";text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted);padding:8px 12px 4px;font-size:11px;font-weight:600}.mobile-nav-overlay.open{inset:0;top:var(--nav-height);z-index:40;background:#0f172a52;display:block;position:fixed}.nav-brand span:not(.nav-brand-mark){display:none}}.global-search{width:240px;margin-left:8px;position:relative}.global-search input{box-sizing:border-box;width:100%;padding:8px 12px;font-size:13px}.global-search-results{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);width:340px;max-width:88vw;max-height:420px;box-shadow:var(--shadow-lg);z-index:35;margin-top:6px;position:absolute;top:100%;right:0;overflow-y:auto}.global-search-group-title{text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted);padding:10px 12px 4px;font-size:11px;font-weight:600}.global-search-item{border:none;border-bottom:1px solid var(--color-border);background:var(--color-surface);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:9px 12px;display:flex}.global-search-item:hover{background:var(--color-surface-alt)}.global-search-item:disabled{opacity:.5;cursor:default}.global-search-item-title{font-size:13px;font-weight:500}.global-search-item-sub{color:var(--color-text-muted);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}@media (width<=860px){.global-search{width:130px;margin-left:4px}.status-toggle-label{display:none}.status-toggle-button{padding:6px 9px}}.inbox-layout{height:calc(100vh - var(--nav-height));background:var(--color-surface);min-height:0;display:flex}.analytics-page{height:calc(100vh - var(--nav-height));box-sizing:border-box;flex-direction:column;gap:28px;width:100%;max-width:1400px;padding:28px;display:flex;overflow-y:auto}.analytics-list{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin:0;padding:0;list-style:none;overflow:hidden}.analytics-list li{border-bottom:1px solid var(--color-border);justify-content:space-between;gap:8px;padding:10px 14px;font-size:14px;display:flex}.analytics-list li:last-child{border-bottom:none}.analytics-count{color:var(--color-primary-text);font-weight:600}.analytics-table-wrap{border:1px solid var(--color-border);border-radius:var(--radius-md);overflow-x:auto}.analytics-table{border-collapse:collapse;width:100%;font-size:14px}.analytics-table th,.analytics-table td{text-align:left;border-bottom:1px solid var(--color-border);white-space:nowrap;padding:10px 14px}.analytics-table th{background:var(--color-surface-alt);color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.02em;font-size:12px;font-weight:600}.analytics-table tr:last-child td{border-bottom:none}.analytics-empty{color:var(--color-text-muted);font-size:13px}@media (width<=860px){.analytics-page{gap:20px;max-width:100%;padding:16px}}.sidebar{border-right:1px solid var(--color-border);background:var(--color-surface);flex-direction:row;flex-shrink:0;width:424px;min-height:0;display:flex}.sidebar-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.inbox-folders{border-right:1px solid var(--color-border);background:var(--color-surface-alt);flex-direction:column;flex-shrink:0;gap:2px;width:84px;padding:8px 4px;display:flex;overflow-y:auto}.inbox-folder{border-radius:var(--radius-md);color:var(--color-text-secondary);cursor:pointer;background:0 0;border:none;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;font-size:11px;line-height:1.2;display:flex}.inbox-folder-active{background:var(--color-primary-soft);color:var(--color-primary-text);font-weight:600}.inbox-folder-icon{font-size:22px;line-height:1;position:relative}.inbox-folder-badge{background:var(--color-primary);color:#fff;text-align:center;border-radius:9px;min-width:18px;padding:1px 5px;font-size:11px;font-weight:600;position:absolute;top:-6px;right:-12px}.inbox-folder-label{text-overflow:ellipsis;white-space:nowrap;max-width:76px;overflow:hidden}.inbox-filters{border-bottom:1px solid var(--color-border);flex-wrap:wrap;flex-shrink:0;gap:8px;padding:12px;display:flex}.inbox-filters select{flex:1;min-width:110px;padding:7px 8px;font-size:12px}.inbox-tab-btn{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);cursor:pointer;white-space:nowrap;border-radius:6px;padding:7px 10px;font-size:12px}.inbox-tab-btn-active{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-text)}.inbox-bulk-bar{background:var(--color-warning-soft);border-bottom:1px solid var(--color-border);flex-shrink:0;align-items:center;gap:8px;padding:10px 12px;font-size:13px;display:flex}.conversation-bulk-checkbox{flex-shrink:0;margin-top:2px}.chat-error{color:var(--color-danger);margin:0 16px 8px;font-size:13px}.conversation-list-wrap{flex:1;min-height:0}.conversation-list-empty{color:var(--color-text-muted);text-align:center;padding:32px 20px;font-size:14px}.conversation-list-row{border-bottom:1px solid var(--color-border);cursor:pointer;align-items:flex-start;gap:10px;padding:12px 16px;transition:background-color .1s;display:flex;overflow:hidden}.conversation-list-row-main{flex:1;min-width:0}.avatar-img,.avatar-fallback{object-fit:cover;border-radius:50%;flex-shrink:0}.avatar-fallback{color:#fff;text-transform:uppercase;justify-content:center;align-items:center;font-weight:600;display:flex}.conversation-list-row:hover{background:var(--color-surface-alt)}.conversation-subchats{border-top:1px dashed var(--color-border);margin-top:4px}.conversation-subchat{white-space:nowrap;border-radius:6px;align-items:center;gap:8px;font-size:12px;display:flex;overflow:hidden}.conversation-subchat.unanswered{background:var(--color-danger-soft);box-shadow:inset 3px 0 0 var(--color-danger);padding-left:6px}.conversation-subchat:hover{background:#0000000f}.conversation-subchat-label{text-overflow:ellipsis;flex-shrink:0;max-width:45%;font-weight:600;overflow:hidden}.conversation-subchat-preview{opacity:.75;text-overflow:ellipsis;min-width:0;overflow:hidden}.conversation-list-row.unanswered:hover{filter:brightness(.97)}.message-actions{opacity:0;margin-left:6px;transition:opacity .1s}.message:hover .message-actions{opacity:1}.message-actions button{cursor:pointer;color:inherit;background:0 0;border:none;padding:0 3px;font-size:12px}.conversation-list-row.active{background:var(--color-primary-soft);box-shadow:inset 3px 0 0 var(--color-primary)}.conversation-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.conversation-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.conversation-time{color:var(--color-text-muted);flex-shrink:0;font-size:12px}.conversation-pin-icon{margin-right:4px}.conversation-pin-btn{cursor:pointer;opacity:0;background:0 0;border:none;border-radius:50%;flex-shrink:0;width:20px;height:20px;padding:0;font-size:12px;line-height:1;transition:opacity .1s}.conversation-list-row:hover .conversation-pin-btn{opacity:.6}.conversation-pin-btn:hover{background:var(--color-surface-alt);opacity:1!important}.conversation-list-row.active:has(.conversation-pin-icon){background:var(--color-primary-soft)}.conversation-preview-row{justify-content:space-between;align-items:center;gap:6px;margin-top:2px;display:flex}.conversation-preview{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.conversation-preview.unread{color:var(--color-text);font-weight:600}.conversation-unread-dot{background:var(--color-primary);border-radius:50%;flex-shrink:0;width:9px;height:9px}.conversation-badges{flex-wrap:nowrap;gap:5px;min-height:20px;margin-top:6px;display:flex;overflow:hidden}.badge{border-radius:var(--radius-full);background:var(--color-surface-alt);color:var(--color-text-secondary);white-space:nowrap;flex-shrink:0;padding:3px 8px;font-size:11px;font-weight:500}.badge.more{color:var(--color-text-muted);background:0 0;padding:3px 2px}.badge.tag{background:var(--color-primary-soft);color:var(--color-primary-text)}.badge.status{background:var(--color-info-soft);color:#075985}.badge.sla-violated{background:var(--color-danger-soft);color:var(--color-danger-text);font-weight:600}.badge.task-due{background:var(--color-primary-soft-strong);color:#3730a3}.badge.task-due.task-overdue{background:var(--color-danger-soft);color:var(--color-danger-text);font-weight:600}.badge.waiting-timer.waiting-gray{color:#475569;background:#eef0f3}.badge.waiting-timer.waiting-yellow{background:var(--color-warning-soft);color:var(--color-warning-text)}.badge.waiting-timer.waiting-red{background:var(--color-danger-soft);color:var(--color-danger-text)}main{flex:1;min-width:0}.chat-window{background:var(--color-surface);flex-direction:column;height:100%;display:flex;position:relative}.chat-drop-overlay{z-index:15;border:2px dashed var(--color-primary);pointer-events:none;background:#2563eb14;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.chat-drop-overlay span{background:var(--color-surface);border-radius:var(--radius-md);color:var(--color-primary);box-shadow:var(--shadow-md);padding:8px 16px;font-size:14px;font-weight:500}.message-photo{border-radius:var(--radius-md);max-width:240px;max-height:240px;display:block}.message-sticker{max-width:120px;max-height:120px}.message-caption{margin-top:6px}.message-document{color:var(--color-primary-text);font-size:13px;font-weight:500;text-decoration:none;display:inline-block}.message-document:hover{text-decoration:underline}.message-location,.message-contact,.message-unknown{font-size:13px}.message-location{color:var(--color-primary-text);text-decoration:none}.message-location:hover{text-decoration:underline}.message-unknown{color:var(--color-text-muted);font-style:italic}.chat-file-preview-image{border-radius:var(--radius-md);max-width:100%;max-height:300px}.chat-window-empty{color:var(--color-text-muted);justify-content:center;align-items:center;font-size:14px}.chat-header{border-bottom:1px solid var(--color-border);align-items:center;gap:12px;padding:14px 20px;font-weight:600;display:flex}.chat-header-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.chat-back-btn,.chat-info-btn,.chat-link-btn{background:var(--color-surface-alt);border-radius:var(--radius-md);cursor:pointer;width:32px;height:32px;color:var(--color-text);border:none;flex-shrink:0;justify-content:center;align-items:center;font-size:16px}.chat-back-btn,.chat-info-btn{display:none}.chat-link-btn{display:flex}.chat-notes-filter{color:var(--color-text-secondary);flex-shrink:0;align-items:center;gap:4px;font-size:12px;font-weight:400;display:flex}.chat-find-bar{border-bottom:1px solid var(--color-border);background:var(--color-surface-alt);align-items:center;gap:8px;padding:8px 16px;display:flex}.chat-find-bar input{flex:1;padding:7px 10px;font-size:13px}.chat-find-count{color:var(--color-text-muted);white-space:nowrap;font-size:12px}.chat-find-bar button{padding:5px 9px}.search-highlight{animation:1.5s ease-out search-highlight-flash}@keyframes search-highlight-flash{0%{background:var(--color-warning-soft)}to{background:0 0}}.chat-text-input-wrapper{flex:1;min-width:0;position:relative}.chat-text-input-wrapper textarea{box-sizing:border-box;resize:none;width:100%;max-height:160px;padding:11px 14px;font-family:inherit;font-size:14px;line-height:1.4;overflow-y:auto}.chat-template-dropdown{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);max-height:240px;box-shadow:var(--shadow-lg);z-index:5;margin-bottom:6px;position:absolute;bottom:100%;left:0;right:0;overflow-y:auto}.chat-template-dropdown-item{border:none;border-bottom:1px solid var(--color-border);background:var(--color-surface);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:8px 10px;display:flex}.chat-template-dropdown-item:hover{background:var(--color-surface-alt)}.chat-template-dropdown-title{font-size:13px;font-weight:500}.chat-template-dropdown-preview{color:var(--color-text-muted);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}.chat-template-missing-warning{color:var(--color-danger-text);margin:0;padding:4px 16px;font-size:12px}.chat-messages{background:var(--color-bg);flex-direction:column;flex:1;gap:10px;padding:20px;display:flex;overflow-y:auto}.message{border-radius:var(--radius-md);max-width:62%;box-shadow:var(--shadow-sm);padding:9px 13px;font-size:14px}.message.in{background:var(--color-surface);border-bottom-left-radius:3px;align-self:flex-start}.message.out{background:var(--color-primary-soft-strong);border-bottom-right-radius:3px;align-self:flex-end}.message-text{white-space:pre-wrap;word-break:break-word}.message-time{color:var(--color-text-muted);text-align:right;margin-top:4px;font-size:11px}.chat-input{border-top:1px solid var(--color-border);background:var(--color-surface);align-items:flex-end;gap:8px;padding:14px 20px;display:flex}.chat-input textarea{flex:1;padding:11px 14px}.chat-input button{padding:11px 18px}.chat-input-note{background:var(--color-warning-soft)!important}.chat-input .chat-mode-toggle{flex-shrink:0;background:var(--color-surface-alt)!important;color:var(--color-text-secondary)!important}.chat-day-separator{justify-content:center;margin:10px 0;display:flex}.chat-day-separator span{color:var(--color-text-secondary);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-full);padding:3px 12px;font-size:11px;font-weight:500}.message-sender{font-weight:600}.message-read-status{color:var(--color-text-muted)}.chat-pinned-notes{border-bottom:1px solid var(--color-border);background:var(--color-warning-soft);flex-direction:column;gap:4px;padding:8px 16px;display:flex}.chat-pinned-note{border-radius:var(--radius-sm);background:0 0;justify-content:space-between;align-items:center;gap:8px;padding:2px 0;font-size:12px;display:flex}.chat-pinned-note-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-pinned-note button{cursor:pointer;color:var(--color-text-muted);background:0 0;border:none;flex-shrink:0}.note-entry{background:var(--color-warning-soft);border-radius:var(--radius-md);align-self:stretch;padding:9px 13px;font-size:13px}.note-header{color:var(--color-warning-text);align-items:center;gap:6px;margin-bottom:4px;font-size:11px;display:flex}.note-icon{text-transform:uppercase;background:#fde68a;border-radius:3px;padding:1px 5px;font-size:10px;font-style:normal;font-weight:600}.note-author{font-weight:600}.note-entry-system{background:var(--color-primary-soft)}.note-entry-system .note-header{color:var(--color-primary-text)}.note-entry-system .note-icon{background:var(--color-primary);color:#fff}.note-edited-badge{color:var(--color-warning-text)}.note-text{white-space:pre-wrap;word-break:break-word}.note-actions{gap:10px;margin-top:6px;display:flex}.note-actions button{color:var(--color-warning-text);cursor:pointer;background:0 0;border:none;padding:0;font-size:11px;text-decoration:underline}.note-edit-form{flex-direction:column;gap:4px;display:flex}.note-edit-form textarea{padding:6px 8px;font-size:13px}.note-edit-actions{gap:8px;display:flex}.inbox-waiting-filter{color:var(--color-text-secondary);align-items:center;gap:4px;font-size:12px;display:flex}.lead-detail-last-note{background:var(--color-warning-soft);border-radius:var(--radius-sm);white-space:pre-wrap;padding:6px 8px}@media (width<=860px){.chat-back-btn,.chat-info-btn{display:flex}.chat-header{padding:12px 14px}.chat-messages{padding:14px}.message{max-width:82%}.chat-input{padding:10px 12px}.chat-toolbar{padding:0 12px 10px}}.lead-card{border-left:1px solid var(--color-border);background:var(--color-surface);flex-direction:column;flex-shrink:0;gap:14px;width:320px;padding:20px;display:flex;overflow-y:auto}.lead-card h2{margin:0;font-size:16px}.lead-card-back-btn{background:var(--color-surface-alt);border-radius:var(--radius-md);cursor:pointer;color:var(--color-text-secondary);border:none;align-self:flex-start;padding:7px 12px;font-size:13px;display:none}.lead-card-info{background:var(--color-surface-alt);border-radius:var(--radius-md);margin:0;padding:10px 12px;font-size:13px}.lead-card-info dt{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.02em;margin-top:8px;font-size:11px}.lead-card-info dt:first-child{margin-top:0}.lead-card-info dd{margin:2px 0 0}.lead-card label{color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.02em;flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.lead-card-checkbox{text-transform:none;align-items:center;font-weight:500;flex-direction:row!important}.lead-card-tags{flex-wrap:wrap;gap:6px;display:flex}.lead-card-tags:empty{display:none}.lead-card-tag-chip{background:var(--color-primary-soft);color:var(--color-primary-text);border-radius:var(--radius-full);text-transform:none;align-items:center;gap:5px;padding:3px 6px 3px 10px;font-size:12px;font-weight:500;display:inline-flex}.lead-card-tag-chip button{cursor:pointer;width:16px;height:16px;color:var(--color-primary-text);background:#2563eb1f;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:12px;line-height:1;display:inline-flex}.lead-card-checkbox input{width:auto}.lead-card-lost-reason{background:var(--color-danger-soft);border-radius:var(--radius-md);border:1px solid #fecaca;padding:10px 12px;font-size:13px}.lead-card-lost-reason p{color:var(--color-danger-text);margin:4px 0 0}.lead-detail-badge{border-radius:var(--radius-sm);margin-bottom:10px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block}.lead-detail-reengaged{background:var(--color-info-soft);color:#075985}.lead-detail-duplicate-warning{background:var(--color-warning-soft);border-radius:var(--radius-md);color:var(--color-warning-text);border:1px solid #fde68a;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;font-size:13px;display:flex}.lead-detail-account-unavailable{background:var(--color-danger-soft);border-radius:var(--radius-md);color:var(--color-danger-text);border:1px solid #fecaca;margin-bottom:12px;padding:10px 12px;font-size:13px;font-weight:600}.lead-card-readonly-hint{color:var(--color-text-muted);text-transform:none;font-size:11px;font-weight:400}.saved-hint{color:var(--color-success-text);margin:0;font-size:12px;font-weight:500}@media (width<=860px){.lead-card{border-left:none;width:100%}.lead-card-back-btn{display:inline-flex}.inbox-layout{position:relative;overflow:hidden}.inbox-layout[data-mobile-pane=list] main,.inbox-layout[data-mobile-pane=list] .lead-card,.inbox-layout[data-mobile-pane=chat] .sidebar,.inbox-layout[data-mobile-pane=chat] .lead-card,.inbox-layout[data-mobile-pane=lead] .sidebar,.inbox-layout[data-mobile-pane=lead] main{display:none}.sidebar,main,.lead-card{width:100%}}.permissions-page-wrapper{flex-direction:column;display:flex}.permissions-page{min-height:calc(100vh - var(--nav-height));background:var(--color-surface);display:flex}.distribution-editor{border-top:1px solid var(--color-border);max-width:520px;padding:28px}.distribution-hint{color:var(--color-text-muted);margin:0 0 16px;font-size:12px;line-height:1.5}.distribution-list{margin:0 0 16px;padding:0;list-style:none}.distribution-list li{align-items:center;gap:10px;margin-bottom:8px;display:flex}.distribution-name{flex:1;font-size:14px}.distribution-list input[type=number]{width:74px;padding:7px 8px}.distribution-percent{text-align:right;width:50px;color:var(--color-primary-text);font-size:13px;font-weight:600}.permissions-managers{border-right:1px solid var(--color-border);background:var(--color-surface-alt);flex-shrink:0;width:260px;padding:20px;overflow-y:auto}.permissions-managers ul{margin:0;padding:0;list-style:none}.permissions-managers li{border-radius:var(--radius-md);cursor:pointer;align-items:center;gap:6px;padding:9px 12px;font-size:14px;transition:background-color .1s;display:flex}.permissions-managers li:hover{background:var(--color-surface)}.permissions-managers li.active{background:var(--color-primary-soft);color:var(--color-primary-text);font-weight:500}.permissions-detail{flex:1;max-width:440px;padding:28px}.permission-row{cursor:pointer;align-items:center;gap:8px;margin-bottom:12px;font-size:14px;display:flex}@media (width<=860px){.permissions-page{flex-direction:column;min-height:0}.permissions-managers{border-right:none;border-bottom:1px solid var(--color-border);width:100%;max-height:220px}.permissions-detail,.distribution-editor{max-width:100%;padding:18px}}.kanban-page{height:calc(100vh - var(--nav-height));background:var(--color-bg);flex-direction:column;display:flex}.kanban-toolbar{border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;display:flex}.kanban-toolbar select{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:7px 10px;font-size:13px}.kanban-readonly-hint{color:var(--color-text-muted);background:var(--color-surface-alt);border-radius:var(--radius-full);padding:4px 10px;font-size:12px}.kanban-stuck-filter{color:var(--color-text-secondary);align-items:center;gap:6px;margin-left:auto;font-size:13px;display:flex}.kanban-board{flex:1;gap:14px;padding:16px;display:flex;overflow-x:auto}.kanban-column{background:var(--color-surface-alt);border-radius:var(--radius-lg);border:1px solid var(--color-border);flex-direction:column;flex-shrink:0;width:270px;max-height:100%;display:flex}.kanban-column.over{background:var(--color-primary-soft);border-color:var(--color-primary)}.kanban-column-header{border-bottom:1px solid var(--color-border);align-items:center;gap:6px;padding:12px 14px;font-size:13px;font-weight:600;display:flex}.kanban-stage-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.kanban-stage-title.editable{cursor:text;border-radius:var(--radius-sm)}.kanban-stage-system-badge{color:var(--color-text-muted);font-size:11px;font-weight:400}.kanban-stage-title.editable:hover{background:var(--color-surface)}.kanban-stage-rename{border:1px solid var(--color-primary);border-radius:var(--radius-sm);flex:1;min-width:0;padding:3px 6px;font-family:inherit;font-size:13px;font-weight:600}.kanban-count{color:var(--color-text-muted);background:var(--color-surface);border-radius:var(--radius-full);flex-shrink:0;padding:1px 7px;font-size:12px;font-weight:400}.kanban-stage-delete{width:22px;height:22px;color:var(--color-text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;flex-shrink:0;font-size:16px;line-height:1}.kanban-stage-delete:hover{background:var(--color-danger-soft);color:var(--color-danger-text)}.kanban-add-stage{background:var(--color-surface-alt);border:1px dashed var(--color-border-strong);border-radius:var(--radius-lg);flex-direction:column;flex-shrink:0;gap:8px;width:220px;height:fit-content;padding:12px;display:flex}.kanban-add-stage input{padding:8px 10px;font-size:13px}.kanban-add-stage button{padding:8px;font-size:13px}.kanban-stage-limit{border-bottom:1px solid var(--color-border);padding:6px 14px 8px;font-size:11px}.kanban-stage-limit-label{color:var(--color-text-muted);cursor:pointer}.kanban-stage-limit-label:hover{color:var(--color-primary-text)}.kanban-stage-limit-input{border:1px solid var(--color-primary);border-radius:var(--radius-sm);width:70px;padding:3px 5px;font-size:11px}.kanban-column-body{flex-direction:column;flex:1;gap:8px;padding:10px;display:flex;overflow-y:auto}.kanban-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:grab;touch-action:none;box-shadow:var(--shadow-sm);padding:11px 12px;font-size:13px;transition:box-shadow .15s,border-color .15s}.kanban-card:hover{box-shadow:var(--shadow-md);border-color:var(--color-border-strong)}.kanban-card.readonly{cursor:default}.kanban-card.stuck{border:1.5px solid var(--color-danger)}.kanban-card-name{font-weight:600}.kanban-card-stage-age{color:var(--color-text-muted);margin-top:4px;font-size:11px}.kanban-card-task.overdue{color:var(--color-danger-text);font-weight:600}@media (width<=860px){.kanban-toolbar{gap:8px;padding:10px 12px}.kanban-board{gap:10px;padding:12px}.kanban-column,.kanban-add-stage{width:240px}}.lead-detail-overlay{z-index:20;background:#0f172a47;position:fixed;inset:0}.lead-detail-panel{background:var(--color-surface);width:380px;max-width:92vw;box-shadow:var(--shadow-lg);z-index:21;flex-direction:column;padding:24px;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}.lead-detail-close{background:var(--color-surface-alt);cursor:pointer;width:32px;height:32px;color:var(--color-text-secondary);border:none;border-radius:50%;font-size:18px;line-height:1;position:absolute;top:16px;right:16px}.lead-detail-close:hover{background:var(--color-border)}.lead-detail-panel h2{margin:0 0 16px;padding-right:36px;font-size:17px}.lead-detail-info{margin:0 0 20px}.lead-detail-info dt{text-transform:uppercase;letter-spacing:.02em;color:var(--color-text-muted);margin-top:14px;font-size:11px}.lead-detail-info dt:first-child{margin-top:0}.lead-detail-info dd{margin:3px 0 0;font-size:14px}.lead-detail-tasks h3{text-transform:uppercase;letter-spacing:.02em;color:var(--color-text-muted);margin:16px 0 8px;font-size:13px}.voice-panel{align-items:center;gap:8px;padding:8px 16px 12px;display:flex}.voice-recording{color:var(--color-text-secondary);align-items:center;gap:8px;font-size:13px;display:flex}.voice-recording button{border-radius:var(--radius-md);background:var(--color-danger);color:#fff;cursor:pointer;border:none;padding:7px 14px}.recording-dot{background:var(--color-danger);border-radius:50%;width:8px;height:8px;animation:1s infinite pulse;display:inline-block}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.voice-preview audio,.voice-preview video{height:34px}.voice-error{color:var(--color-danger);font-size:12px}.chat-toolbar{flex-wrap:wrap;align-items:flex-start;gap:6px;padding:0 20px 10px;display:flex}.chat-toolbar .voice-panel{gap:6px;padding:0}.chat-toolbar-btn{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);width:56px;height:46px;color:var(--color-text-secondary);cursor:pointer;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:2px;padding:4px 2px;font-size:10px;line-height:1.1;transition:background-color .15s,border-color .15s,color .15s;display:flex}.chat-toolbar-btn:hover{background:var(--color-surface-alt);border-color:var(--color-border-strong);color:var(--color-text)}.chat-toolbar-btn-icon{font-size:17px;line-height:1}.chat-toolbar-divider{background:var(--color-border);align-self:stretch;width:1px;margin:2px}.template-picker{position:relative}.template-picker-list{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);width:280px;max-height:260px;box-shadow:var(--shadow-lg);z-index:20;padding:8px;position:absolute;bottom:52px;left:0;overflow-y:auto}.template-picker-item{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:8px;padding:7px 5px;font-size:13px;display:flex}.template-picker-item button{flex-shrink:0;padding:5px 10px;font-size:12px}.templates-page{height:calc(100vh - var(--nav-height));background:var(--color-surface);flex-direction:column;display:flex;overflow-y:auto}.templates-page .voice-templates-page,.templates-page .text-templates-page{border-bottom:1px solid var(--color-border);height:auto;overflow-y:visible}.voice-templates-page,.text-templates-page{height:calc(100vh - var(--nav-height));flex-wrap:wrap;gap:32px;padding:28px;display:flex;overflow-y:auto}.text-template-folder{color:var(--color-text-muted);margin:12px 0 4px;font-size:12px}.text-template-preview{color:var(--color-text-secondary);white-space:pre-wrap;flex-basis:100%;margin:0;font-size:12px}.voice-templates-form,.text-templates-form{flex-direction:column;flex-shrink:0;gap:12px;width:280px;display:flex}.voice-templates-form label,.text-templates-form label{color:var(--color-text-secondary);flex-direction:column;gap:4px;font-size:13px;font-weight:500;display:flex}.voice-templates-shared,.text-templates-shared{align-items:center;flex-direction:row!important}.voice-templates-list,.text-templates-list{flex:1;min-width:260px}.voice-templates-list ul,.text-templates-list ul{margin:0;padding:0;list-style:none}.voice-templates-list li,.text-templates-list li{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;display:flex}.voice-templates-title,.text-templates-title{min-width:140px;font-size:14px;font-weight:500}@media (width<=860px){.voice-templates-page,.text-templates-page{gap:20px;padding:16px}.voice-templates-form,.text-templates-form{width:100%}}.employees-page{height:calc(100vh - var(--nav-height));background:var(--color-surface);padding:28px;overflow-y:auto}.employees-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.employees-toolbar h2{margin:0;font-size:17px}.employees-add-form{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-alt);flex-direction:column;gap:12px;max-width:440px;margin-bottom:22px;padding:18px;display:flex}.employees-add-form label{color:var(--color-text-secondary);flex-direction:column;gap:4px;font-size:13px;font-weight:500;display:flex}.employees-dept-checkboxes{flex-direction:column;gap:4px;font-size:13px;display:flex}.employees-table-wrap{border:1px solid var(--color-border);border-radius:var(--radius-md);overflow-x:auto}.employees-table{border-collapse:collapse;width:100%;font-size:13px}.employees-table th,.employees-table td{text-align:left;border-bottom:1px solid var(--color-border);white-space:nowrap;padding:10px 12px}.employees-table th{background:var(--color-surface-alt);color:var(--color-text-secondary);text-transform:uppercase;font-size:11px;font-weight:600}.employee-inactive{opacity:.55}.employees-actions{gap:6px;display:flex}.employees-actions button{padding:5px 10px;font-size:12px}@media (width<=860px){.employees-page{padding:16px}.employees-add-form{max-width:100%}}.modal-overlay{z-index:60;background:#0f172a66;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-box{background:var(--color-surface);border-radius:var(--radius-lg);width:440px;max-width:100%;max-height:86vh;box-shadow:var(--shadow-lg);padding:24px;overflow-y:auto}.modal-box h2{margin:0 0 10px;font-size:17px}.modal-box select,.modal-box input,.modal-box textarea{box-sizing:border-box;width:100%;margin-top:8px}.modal-box label{color:var(--color-text-secondary);margin-top:14px;font-size:13px;font-weight:500;display:block}.modal-error{color:var(--color-danger-text);margin:8px 0 0;font-size:13px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.modal-actions button:last-child{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.modal-actions button:last-child:hover{background:var(--color-primary-hover)}.generated-password{letter-spacing:1px;background:var(--color-surface-alt);border-radius:var(--radius-md);text-align:center;margin:12px 0;padding:14px;font-size:20px;font-weight:600;display:block}.sessions-list{margin:0;padding:0;list-style:none}.sessions-list li{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:13px;display:flex}.sessions-list button{flex-shrink:0}.lead-detail-history-toggle,.lead-card-history-toggle{text-align:center;width:100%;margin-top:10px}.lead-history-list{max-height:260px;margin:10px 0 0;padding:0;list-style:none;overflow-y:auto}.lead-history-list li{border-bottom:1px solid var(--color-border);padding:8px 0;font-size:12px}.lead-history-meta{color:var(--color-text-muted);margin-bottom:2px}.lead-history-summary{word-break:break-word}.audit-change{word-break:break-word;max-width:320px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.lead-custom-fields{border-top:1px solid var(--color-border);flex-direction:column;gap:8px;padding-top:14px;display:flex}.lead-custom-fields h3{text-transform:uppercase;letter-spacing:.02em;color:var(--color-text-muted);margin:0;font-size:12px}.custom-field-group h4{color:var(--color-text-muted);margin:8px 0 4px;font-size:12px}.custom-field-row{flex-direction:column;gap:4px;margin-bottom:8px;font-size:13px;display:flex}.custom-field-multiselect{flex-direction:column;gap:2px;display:flex}.broker-affise-link-row{margin-top:6px}.broker-affise-link-row input{max-width:480px}.lead-broker-accounts{border-top:1px solid var(--color-border);flex-direction:column;gap:10px;padding-top:14px;display:flex}.lead-broker-accounts h3{text-transform:uppercase;letter-spacing:.02em;color:var(--color-text-muted);margin:0;font-size:12px}.broker-account-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-alt);flex-direction:column;gap:6px;padding:12px;display:flex}.broker-account-card h4{margin:0 0 4px;font-size:13px}.broker-account-affise-link{margin-bottom:4px}.broker-account-affise-link-row{gap:6px;display:flex}.broker-account-affise-link-row input{flex:1;min-width:0}.broker-account-add-btn{border:1px dashed var(--color-border-strong);border-radius:var(--radius-md);color:var(--color-primary-text);cursor:pointer;background:0 0;padding:9px;font-size:13px}.broker-account-add-btn:hover{background:var(--color-primary-soft)}.broker-account-sync-fields{color:var(--color-text-secondary);background:var(--color-surface);border-radius:var(--radius-sm);flex-direction:column;gap:2px;padding:6px 8px;font-size:11px;display:flex}.my-tasks-page{height:calc(100vh - var(--nav-height));max-width:760px;margin:0 auto;padding:28px 20px;overflow-y:auto}.my-tasks-tabs{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:18px;display:flex}.my-tasks-tabs button{border:1px solid var(--color-border);border-radius:var(--radius-full);background:var(--color-surface);color:var(--color-text-secondary);cursor:pointer;padding:7px 14px;font-size:13px;font-weight:500;transition:all .15s}.my-tasks-tabs button:hover{border-color:var(--color-border-strong)}.my-tasks-tabs button.active{border-color:var(--color-primary)}.my-tasks-manager-counts{margin-bottom:22px}.my-tasks-list{margin:0;padding:0;list-style:none}.my-tasks-list li{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-sm);margin-bottom:10px;padding:14px}.my-tasks-list li.overdue{background:var(--color-danger-soft);border-color:#fca5a5}.my-tasks-row{flex-wrap:wrap;align-items:baseline;gap:10px 12px;font-size:14px;display:flex}.my-tasks-type{font-weight:600}.my-tasks-due{color:var(--color-text-secondary)}.my-tasks-assignee{color:var(--color-text-muted);margin-left:auto;font-size:12px}.my-tasks-comment{color:var(--color-text-secondary);margin:6px 0 0;font-size:13px}.my-tasks-lead-row{flex-wrap:wrap;align-items:baseline;gap:10px 14px;margin-top:6px;font-size:13px;display:flex}.my-tasks-lead-name{font-weight:600}.my-tasks-lead-link{color:var(--color-primary-text);font-weight:500;text-decoration:none}.my-tasks-lead-link:hover{text-decoration:underline}.my-tasks-result{color:var(--color-success-text);margin:6px 0 0;font-size:13px}.my-tasks-complete-form{margin-top:10px}.my-tasks-complete-form textarea{box-sizing:border-box;width:100%}@media (width<=860px){.my-tasks-page{padding:16px}.my-tasks-assignee{margin-left:0}}.notification-center{margin-left:4px;position:relative}.notification-bell{cursor:pointer;border-radius:var(--radius-md);color:var(--color-text-secondary);background:0 0;border:none;padding:7px 10px;font-size:17px;position:relative}.notification-bell:hover{background:var(--color-surface-alt)}.notification-bell .nav-waiting-badge{position:absolute;top:2px;right:2px}.notification-toast{z-index:70;background:var(--color-surface);border:1px solid var(--color-border);border-left:4px solid var(--color-primary);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);cursor:pointer;width:320px;max-width:calc(100vw - 32px);padding:14px 16px;position:fixed;top:16px;left:auto;right:16px}.notification-toast strong{margin-bottom:4px;font-size:14px;display:block}.notification-toast p{color:var(--color-text-secondary);margin:0;font-size:13px}.notification-dropdown{z-index:40;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:360px;max-width:calc(100vw - 24px);max-height:440px;margin-top:6px;position:absolute;top:100%;right:0;overflow-y:auto}.notification-dropdown-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;font-size:13px;font-weight:600;display:flex}.notification-dropdown-header button{padding:5px 9px;font-weight:400}.notification-list{margin:0;padding:0;list-style:none}.notification-list li{border-bottom:1px solid var(--color-border);cursor:pointer;padding:11px 14px}.notification-list li.unread{background:var(--color-primary-soft)}.notification-list li.read{opacity:.65}.notification-item-title{font-size:13px;font-weight:600}.notification-item-body{color:var(--color-text-secondary);white-space:pre-wrap;margin-top:2px;font-size:12px}.notification-item-time{color:var(--color-text-muted);margin-top:4px;font-size:11px}.notification-setting-row{color:var(--color-text);align-items:center;gap:8px;margin-top:12px;font-size:13px;display:flex}.notification-setting-row input[type=checkbox]{width:auto;margin-top:0}.notification-settings-list{margin:4px 0 0;padding:0;list-style:none}.notification-mandatory-hint{color:var(--color-text-muted);font-size:12px}.notification-telegram-status{color:var(--color-text-secondary);word-break:break-all;margin-top:8px;font-size:13px}@media (width<=480px){.notification-dropdown{top:var(--nav-height);width:auto;position:fixed;left:8px;right:8px}}.status-toggle{margin-left:4px;position:relative}.status-toggle-button{background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-full);cursor:pointer;color:var(--color-text-secondary);align-items:center;gap:6px;padding:6px 12px;font-size:13px;display:flex}.status-toggle-button:hover{border-color:var(--color-border-strong)}.status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.status-dot-online{background:var(--color-success)}.status-dot-break{background:var(--color-warning)}.status-dot-offline{background:#9ca3af}.status-toggle-dropdown{z-index:40;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);width:170px;margin:6px 0 0;padding:4px 0;list-style:none;position:absolute;top:100%;right:0}.status-toggle-dropdown li{cursor:pointer;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.status-toggle-dropdown li:hover{background:var(--color-surface-alt)}.schedule-grid{grid-template-columns:100px 1fr 1fr auto;align-items:center;gap:8px 10px;margin:8px 0;display:grid}.schedule-grid input[type=time]{border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:6px}.vacation-list{margin:8px 0;padding:0;list-style:none}.vacation-list li{justify-content:space-between;align-items:center;padding:6px 0;font-size:13px;display:flex}@media (width<=480px){.schedule-grid{grid-template-columns:1fr}}@media (hover:none){.message-actions{opacity:1}}.emoji-picker{position:absolute;bottom:6px;right:6px}.emoji-picker-popup{z-index:50;background:var(--color-surface);border-radius:10px;position:fixed;box-shadow:0 6px 24px #0000002e}.emoji-picker-popup em-emoji-picker{max-height:55vh}.chat-input .emoji-picker .emoji-picker-toggle,.chat-input .emoji-picker .emoji-picker-toggle:hover:not(:disabled){color:inherit;box-shadow:none;background:0 0;border-radius:6px;padding:4px;font-size:20px;font-weight:400;line-height:1}.chat-input .emoji-picker .emoji-picker-toggle:hover:not(:disabled){background:var(--color-surface-alt)}.chat-text-input-wrapper textarea{padding-right:40px}.chat-subchats{border-bottom:1px solid var(--color-border);background:var(--color-surface);gap:6px;padding:6px 16px;display:flex;overflow-x:auto}.chat-subchats .chat-subchat{border:1px solid var(--color-border);background:var(--color-surface-alt);color:inherit;cursor:pointer;text-align:left;border-radius:12px;flex-direction:column;flex-shrink:0;align-items:flex-start;gap:2px;max-width:220px;padding:5px 12px;font-size:13px;display:inline-flex}.chat-subchats .chat-subchat-name{align-items:center;gap:6px;font-weight:600;display:inline-flex}.chat-subchats .chat-subchat-preview{opacity:.75;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;overflow:hidden}.chat-subchats .chat-subchat.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.badge.chat-count{background:var(--color-surface-alt)}.top-nav{box-shadow:none;gap:6px;padding:0 20px}.nav-brand{letter-spacing:-.01em;margin-right:16px;font-size:16px}.nav-brand-mark{background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border-radius:9px;width:30px;height:30px;font-size:14px;box-shadow:0 4px 10px #6366f14d}.top-nav button,.nav-admin-toggle{color:var(--color-text-secondary);padding:8px 12px;font-size:14px}.top-nav button.active,.nav-admin-toggle.active{background:var(--color-primary-soft);color:var(--color-primary-text)}.nav-waiting-badge{background:#ef4444;margin-left:6px;padding:1px 7px;font-size:11px;line-height:16px}.notification-bell{border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;padding:0;display:flex}.notification-bell .nav-waiting-badge{text-align:center;border:2px solid var(--color-surface);min-width:18px;margin:0;padding:0 5px;top:3px;right:1px}@media (width>=861px){.nav-logout{display:none!important}}.status-toggle-button{background:0 0;border:1px solid #0000;gap:10px;padding:4px 10px 4px 4px}.status-toggle-button:hover{background:var(--color-surface-alt);border-color:var(--color-border)}.profile-avatar{width:34px;height:34px;color:var(--color-primary-text);background:linear-gradient(135deg,#e0e7ff,#ede9fe);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex;position:relative}.profile-avatar-dot{border:2px solid var(--color-surface);width:11px;height:11px;position:absolute;bottom:-1px;right:-1px}.status-toggle-label{flex-direction:column;align-items:flex-start;line-height:1.2;display:flex}.profile-name{color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:13px;font-weight:600;overflow:hidden}.profile-status{color:var(--color-text-muted);font-size:12px}.status-toggle-backdrop{z-index:39;position:fixed;inset:0}.status-toggle-dropdown{border-radius:12px;width:220px;padding:6px}.status-toggle-dropdown li{border-radius:8px}.status-toggle-dropdown li.selected{background:var(--color-primary-soft);color:var(--color-primary-text);font-weight:500}.status-toggle-dropdown .profile-menu-head{cursor:default;border-bottom:1px solid var(--color-border);border-radius:0;flex-direction:column;align-items:flex-start;gap:2px;margin-bottom:4px;padding:8px 12px 10px}.status-toggle-dropdown .profile-menu-head:hover{background:0 0}.status-toggle-dropdown .profile-menu-head span{color:var(--color-text-muted);font-size:12px}.status-toggle-dropdown .profile-menu-logout{border-top:1px solid var(--color-border);color:var(--color-danger-text);border-radius:0 0 8px 8px;margin-top:4px}@media (width<=860px){.profile-name{display:none}}.conversation-list-row{border-bottom:1px solid #f0f1f6;padding:12px 16px}.conversation-list-row.unanswered{background:#fff7f7;box-shadow:inset 3px 0 #ef4444}.conversation-list-row.unanswered:hover{filter:none;background:#fff0f0}.conversation-list-row:has(.conversation-pin-icon){background:0 0}.conversation-list-row.unanswered:has(.conversation-pin-icon){background:#fff7f7}:is(.conversation-list-row.active,.conversation-list-row.active:has(.conversation-pin-icon)){background:var(--color-primary-soft);box-shadow:inset 3px 0 0 var(--color-primary)}.conversation-pin-icon{opacity:.8;font-size:12px}.seg{background:#eceef5;border-radius:10px;flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.seg .seg-btn{color:var(--color-text-secondary);cursor:pointer;box-shadow:none;background:0 0;border:none;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}.seg .seg-btn:hover{color:var(--color-text);background:#fff9}.seg .seg-btn.active{background:var(--color-surface);color:var(--color-text);box-shadow:0 1px 2px #0f172a14,0 1px 3px #0f172a0f}.analytics-page>section{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:20px 22px}.analytics-page>section>h2{letter-spacing:-.01em;margin-top:0;font-size:17px}.analytics-page .analytics-table-wrap,.analytics-page .analytics-list{box-shadow:none}.analytics-table th{letter-spacing:.04em;color:var(--color-text-muted);background:var(--color-surface-alt);font-size:11px}.analytics-table td{font-variant-numeric:tabular-nums}.analytics-page{gap:20px;max-width:1440px}.dashboard{flex-direction:column;gap:16px;display:flex}.dashboard-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.dashboard-head h1{letter-spacing:-.02em;margin:0;font-size:26px}.dashboard-head p{color:var(--color-text-muted);margin:4px 0 0}.kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}@media (width<=1280px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.kpi-card,.dashboard-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.kpi-card{min-width:0;padding:16px 18px}.kpi-label{color:var(--color-text-secondary);align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.kpi-accent{border-radius:3px;flex-shrink:0;width:8px;height:8px}.kpi-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;margin-top:10px;font-size:28px;font-weight:700;overflow:hidden}.kpi-foot{flex-wrap:wrap;align-items:center;gap:8px;min-height:20px;margin-top:6px;display:flex}.kpi-hint{color:var(--color-text-muted);font-size:12px}.kpi-delta{border-radius:var(--radius-full);padding:1px 7px;font-size:12px;font-weight:600}.kpi-delta.up{color:#047857;background:#ecfdf5}.kpi-delta.down{color:#b91c1c;background:#fef2f2}.kpi-delta.flat{color:var(--color-text-muted);background:var(--color-surface-alt)}.dashboard-card{padding:18px 20px}.dashboard-card-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.dashboard-card-head h3{margin:0;font-size:15px}.dashboard-muted{color:var(--color-text-muted);font-size:12px}.dashboard-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}@media (width<=1000px){.dashboard-two{grid-template-columns:minmax(0,1fr)}}.dashboard-skeleton{border-radius:var(--radius-md);background:linear-gradient(90deg,#f1f2f7 25%,#f7f8fc 50%,#f1f2f7 75%) 0 0/200% 100%;height:180px;animation:1.2s linear infinite dashboard-shimmer}@keyframes dashboard-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.trend-legend{color:var(--color-text-secondary);flex-wrap:wrap;align-items:center;gap:16px;min-height:18px;margin-bottom:8px;font-size:12px;display:flex}.trend-legend i{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.trend-hover{color:var(--color-text);margin-left:auto;font-weight:500}.trend-svg{width:100%;height:240px;display:block}.trend-grid{stroke:#eef0f5;stroke-width:1px;vector-effect:non-scaling-stroke}.trend-axis{fill:var(--color-text-muted);font-size:11px}.funnel{flex-direction:column;gap:14px;display:flex}.funnel-head{justify-content:space-between;align-items:baseline;margin-bottom:6px;display:flex}.funnel-label{font-weight:500}.funnel-value{font-variant-numeric:tabular-nums;font-weight:700}.funnel-step{color:var(--color-text-muted);margin-left:8px;font-size:12px;font-weight:500}.funnel-track{border-radius:var(--radius-full);background:#f1f2f7;height:10px;overflow:hidden}.funnel-bar{border-radius:var(--radius-full);height:100%;transition:width .4s}.mini-table{border-collapse:collapse;width:100%;font-size:13px}.mini-table th{text-align:left;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);padding:0 8px 8px;font-size:11px;font-weight:600}.mini-table td{font-variant-numeric:tabular-nums;border-top:1px solid #f0f1f6;padding:10px 8px}.mini-table th:first-child,.mini-table td:first-child{padding-left:0}.mini-pill{border-radius:var(--radius-full);color:#047857;background:#ecfdf5;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.analytics-page{margin:0 auto}.notification-bell .nav-waiting-badge{top:-2px;right:-6px}.chat-entry{flex-direction:column;display:flex}.chat-messages{background:#eef0f6;gap:8px;padding:20px 28px}.message{border-radius:16px;max-width:min(62%,560px);padding:9px 13px 7px;box-shadow:0 1px 1px #0f172a0f}.message.in{border-bottom-left-radius:5px}.message.out{background:#e3e6ff;border-bottom-right-radius:5px}.message-time{font-size:11px}.chat-day-separator span{background:#ffffffd9;border:none;font-weight:500;box-shadow:0 1px 1px #0f172a0d}.inbox-folders{background:var(--color-surface);gap:4px;width:80px;padding:10px 6px}.inbox-folder{gap:6px;padding:8px 2px 7px}.inbox-folder:hover{background:var(--color-surface-alt)}.inbox-folder-active{background:var(--color-primary-soft)}.folder-glyph{letter-spacing:.02em;border-radius:11px;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:600;display:flex}.folder-glyph-all{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6)}.folder-glyph-new{color:#b45309;background:#fef3c7}.folder-glyph-manager{color:#4338ca;background:#e0e7ff}.folder-glyph-retention{color:#047857;background:#d1fae5}.inbox-folder-badge{border:2px solid var(--color-surface);background:#ef4444;line-height:14px;top:-5px;right:-9px}.inbox-folder-icon{font-size:0}.lead-card{background:#fafbfd;gap:12px;width:340px}.lead-card-profile{align-items:center;gap:14px;padding:4px 2px 6px;display:flex}.lead-card-profile-text{min-width:0}.lead-card-profile h2{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.lead-card-profile span{color:var(--color-text-muted);margin-top:2px;font-size:13px;display:block}.lead-card-info{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;grid-template-columns:auto 1fr;align-items:baseline;gap:6px 12px;padding:12px 14px;display:grid}.lead-card-info dt,.lead-card-info dt:first-child{margin:0}.lead-card-info dd{text-align:right;font-variant-numeric:tabular-nums;margin:0;font-weight:500}.lead-card-group{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;flex-direction:column;gap:12px;padding:14px;display:flex}.lead-card-group-title{color:var(--color-text);letter-spacing:0;margin:0;font-size:13px;font-weight:600}.lead-card label{color:var(--color-text-muted);letter-spacing:.03em;font-size:11px;font-weight:500}.lead-card label select,.lead-card label input,.lead-card label textarea{text-transform:none;letter-spacing:0;color:var(--color-text);padding:8px 10px;font-size:14px}.lead-card-readonly-hint{text-transform:none;letter-spacing:0;font-weight:400}.lead-card-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.lead-card .lead-card-actions .lead-card-secondary-btn{background:var(--color-surface);color:var(--color-primary-text);border:1px solid var(--color-primary-soft-strong)}.lead-card .lead-card-actions .lead-card-secondary-btn:hover:not(:disabled),.conversation-list-row.active:hover{background:var(--color-primary-soft)}.kanban-toolbar{gap:10px;padding:14px 20px}.kanban-board{gap:14px;padding:18px 20px}.kanban-column{background:#eef0f6;border:none;border-radius:14px;width:290px}.kanban-column.over{background:var(--color-primary-soft-strong);box-shadow:inset 0 0 0 2px var(--color-primary)}.kanban-column-header{border-bottom:none;padding:14px 14px 10px;font-size:14px}.kanban-stage-title{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:8px;display:flex;overflow:hidden}.kanban-stage-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.kanban-count{color:var(--color-text-secondary);border-radius:var(--radius-full);background:#ffffffe6;padding:1px 9px;font-size:12px;font-weight:600}.kanban-stage-settings{width:28px;height:28px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.kanban-stage-settings:hover,.kanban-stage-settings.open{color:var(--color-text);background:#fffc}.kanban-stage-settings-panel{background:var(--color-surface);box-shadow:var(--shadow-sm);border-radius:10px;flex-direction:column;gap:8px;margin:0 10px 6px;padding:10px;display:flex}.kanban-stage-settings-panel .kanban-stage-limit{padding:0}.kanban-stage-delete-btn{color:var(--color-danger-text);cursor:pointer;background:0 0;border:none;align-self:flex-start;padding:2px 0;font-size:12px}.kanban-column-body{gap:8px;padding:4px 10px 12px}.kanban-column-empty{text-align:center;color:var(--color-text-muted);border:1.5px dashed #d8dbe6;border-radius:10px;padding:18px 0;font-size:12px}.kanban-card{border:1px solid #0000;border-radius:12px;padding:12px;box-shadow:0 1px 2px #0f172a0f}.kanban-card:hover{border-color:var(--color-primary-soft-strong);box-shadow:0 6px 16px #0f172a14}.kanban-card.stuck{border:1px solid #fca5a5;box-shadow:inset 3px 0 #ef4444,0 1px 2px #0f172a0f}.kanban-card-top{align-items:center;gap:10px;display:flex}.kanban-card-head{flex:1;min-width:0}.kanban-card-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.kanban-card-manager{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.kanban-card-waiting{background:#ef4444;border-radius:50%;flex-shrink:0;width:8px;height:8px;box-shadow:0 0 0 3px #fee2e2}.kanban-card-preview{color:var(--color-text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:8px;font-size:12.5px;display:-webkit-box;overflow:hidden}.kanban-card-meta{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.kanban-card-stage-age{color:var(--color-text-muted);background:var(--color-surface-alt);border-radius:var(--radius-full);margin:0;padding:2px 8px;font-size:11px}.kanban-card-tag{color:var(--color-primary-text);background:var(--color-primary-soft);border-radius:var(--radius-full);padding:2px 8px;font-size:11px}.kanban-card-task{color:var(--color-primary-text);margin-top:8px;font-size:11.5px}.report-page{background:var(--color-bg);padding:28px 32px}.report-head h2{letter-spacing:-.02em;border:none;margin:0;padding:0;font-size:26px}.report-head p{color:var(--color-text-muted);margin:4px 0 0}.report-filters{margin:20px 0 16px}.report-filters-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.report-filters-row .seg{flex-wrap:nowrap}.report-compare{color:var(--color-text-secondary);align-items:center;gap:8px;margin-left:4px;font-size:13px;display:flex}.report-page .analytics-table-wrap{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);overflow-x:auto}.report-page h2:not(.report-head h2),.report-page h3{margin-top:28px;font-size:17px}@media (width<=860px){.status-toggle-label{display:none}.status-toggle-button{padding:2px}.report-page{padding:16px}}
