:root{--mobile-shell-bar-height:66px;--mobile-shell-safe-bottom:calc(var(--mobile-shell-bar-height) + env(safe-area-inset-bottom,0px));--rail-bg:#fff;--sidebar-bg:#fff;--rail-border:#00000014;--sidebar-border:#00000014;--primary:var(--primary-hex,#10b981);--primary-rgb:16,185,129;--primary-hover:#10b98114;--primary-active:#10b9811f;--header-bg:#fff;--header-text:#111827;--header-text-muted:#6b7280;--header-border:#00000014;--header-search-bg:#00000008;--header-search-border:#0000000d;--panel-bg:#fff;--panel-border:#00000014;--panel-header-border:#0000000f;--panel-close-hover:#f3f4f6;--panel-close-text:#6b7280;--panel-close-text-hover:#374151}[data-bs-theme=dark],.darkmode{--rail-bg:#1a1a2e;--sidebar-bg:#1f1f35;--rail-border:#ffffff14;--sidebar-border:#ffffff14;--primary-hover:#10b9811f;--primary-active:#10b9812e;--header-bg:#1a1a2e;--header-text:#f9fafb;--header-text-muted:var(--header-text-muted,#9ca3af);--header-border:#ffffff14;--header-search-bg:#ffffff0d;--header-search-border:#ffffff14;--panel-bg:#1a1a2e;--panel-border:#ffffff14;--panel-header-border:#ffffff0f;--panel-close-hover:#ffffff14;--panel-close-text:var(--header-text-muted,#9ca3af);--panel-close-text-hover:#d1d5db}[data-rail-color=gray]{--rail-bg:#f8f9fa}[data-rail-color=blue]{--rail-bg:#1e293b}[data-rail-color=dark]{--rail-bg:#0f172a}[data-sidebar-color=gray]{--sidebar-bg:#f8f9fa}[data-sidebar-color=blue]{--sidebar-bg:#1e293b}[data-sidebar-color=dark]{--sidebar-bg:#0f172a}.unified-rail,.sidebar-group,.app-shell__sidebar,.dashboard-sidebar,aside.sidebar,.sidebar-inner{--rail-border:#00000014;--sidebar-border:#00000014;--sidebar-text:#111827;--sidebar-foreground-hex:#111827;--sidebar-muted:#111827a6;--sidebar-active-bg:#0000000f;--sidebar-hover-bg:#0000000a;--sidebar-active-text:#111827;--header-text:#111827;--header-text-muted:#6b7280;--muted-foreground-hex:#6b7280}.unified-rail[background-is-dark=true],[data-rail-color=blue] .unified-rail,[data-rail-color=dark] .unified-rail{--rail-border:#ffffff1a;--rail-icon:#ffffffb8;--header-text:#f3f4f6;--header-text-muted:#ffffffa6;--muted-foreground-hex:#ffffffa6}.sidebar-group[background-is-dark=true],.sidebar[background-is-dark=true],[data-sidebar-color=blue] .sidebar-group,[data-sidebar-color=dark] .sidebar-group,[data-sidebar-color=blue] aside.sidebar,[data-sidebar-color=dark] aside.sidebar,[data-sidebar-color=blue] .sidebar-inner,[data-sidebar-color=dark] .sidebar-inner{--sidebar-border:#ffffff1a;--sidebar-text:#f3f4f6;--sidebar-foreground-hex:#f3f4f6;--sidebar-muted:#ffffff8c;--sidebar-active-bg:#ffffff1a;--sidebar-hover-bg:#ffffff0f;--sidebar-active-text:#fff;--header-text:#f3f4f6;--header-text-muted:#ffffffa6;--muted-foreground-hex:#ffffffa6}.sidebar-inner{background-color:var(--sidebar-bg);color:var(--sidebar-text);border-right:0!important}.sidebar:has(.sidebar-inner){border-right:0!important}.unified-rail{--rail-icon:#6b7280}.darkmode .unified-rail,[data-bs-theme=dark] .unified-rail{--rail-icon:#ffffffb8}html.darkmode .unified-rail,html.dark .unified-rail,html[data-bs-theme=dark] .unified-rail,html.darkmode .sidebar-group,html.dark .sidebar-group,html[data-bs-theme=dark] .sidebar-group,html.darkmode .app-shell__sidebar,html.dark .app-shell__sidebar,html[data-bs-theme=dark] .app-shell__sidebar,html.darkmode .dashboard-sidebar,html.dark .dashboard-sidebar,html[data-bs-theme=dark] .dashboard-sidebar,html.darkmode aside.sidebar,html.dark aside.sidebar,html[data-bs-theme=dark] aside.sidebar,html.darkmode .sidebar-inner,html.dark .sidebar-inner,html[data-bs-theme=dark] .sidebar-inner{--rail-bg:#0f172a;--rail-border:#ffffff14;--sidebar-bg:#0f172a;--sidebar-border:#ffffff14;--sidebar-text:#e5e7eb;--sidebar-foreground-hex:#e5e7eb;--sidebar-muted:#e5e7eb8c;--sidebar-active-bg:#ffffff14;--sidebar-hover-bg:#ffffff0d;--sidebar-active-text:#fff;--header-text:#e5e7eb;--header-text-muted:#9ca3af;--muted-foreground-hex:#9ca3af}[data-shell-section=chat] .sidebar-group{background-color:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);flex-shrink:0;margin-left:0!important}[data-shell-section=chat] .content.main_content{flex-direction:row;flex:1;min-width:0;margin-left:0;display:flex;width:100%!important}.dashboard-shell .header{width:auto!important;left:60px!important;right:0!important}@media (max-width:991.98px){.dashboard-shell .header{left:50px!important}}@media (max-width:767.98px){.dashboard-shell .header{left:0!important}}.dashboard-shell .header-left,.dashboard-shell .sidebar-right{display:none!important}.dashboard-shell .page-wrapper{width:auto!important;margin-left:0!important;margin-right:0!important;padding-top:0!important;padding-right:0!important}.dashboard-shell .container,.dashboard-shell .container-fluid{width:100%!important;max-width:none!important}.dashboard-shell .header .user-menu{padding-right:15px!important}@media (max-width:991.98px){.dashboard-shell .sidebar,.dashboard-shell .header{left:50px!important}.dashboard-shell .page-wrapper{margin-left:0!important}}@media (max-width:767.98px){.dashboard-shell .sidebar{left:-575px!important}.dashboard-shell .header{left:0!important}.dashboard-shell .page-wrapper{margin-left:0!important}}.right-panel-overlay{z-index:998;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0003;animation:.2s rpOverlayIn;position:fixed;inset:0}@keyframes rpOverlayIn{0%{opacity:0}to{opacity:1}}.right-panel{z-index:999;background:var(--panel-bg);border-left:1px solid var(--panel-border);flex-direction:column;transition:width .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;top:0;bottom:0;right:0;overflow:hidden;box-shadow:-4px 0 24px #00000014}.right-panel--open{overflow-y:auto}.right-panel__header{border-bottom:1px solid var(--panel-header-border);flex-shrink:0;justify-content:space-between;align-items:center;min-height:52px;padding:12px 16px;display:flex}.right-panel__header-meta{flex:1;min-width:0}.right-panel__header-title{color:var(--header-text);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:14px;font-weight:600;overflow:hidden}.right-panel__header-subtitle{color:var(--header-text-muted);margin:0;font-size:12px}.right-panel__close{cursor:pointer;width:32px;height:32px;color:var(--panel-close-text);background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;transition:all .15s;display:flex}.right-panel__close:hover{background:var(--panel-close-hover);color:var(--panel-close-text-hover)}.right-panel__close i{font-size:18px}.right-panel__tabs{border-bottom:1px solid var(--panel-header-border);flex-shrink:0;display:flex;overflow-x:auto}.right-panel__tabs-item{color:var(--header-text-muted);cursor:pointer;white-space:nowrap;border-bottom:2px solid #0000;padding:10px 16px;font-size:13px;font-weight:500;transition:all .2s}.right-panel__tabs-item:hover{color:var(--primary)}.right-panel__tabs-item.active{color:var(--primary);border-bottom-color:var(--primary)}.right-panel__body{flex:1;padding:16px;overflow-y:auto}.right-panel__footer{border-top:1px solid var(--panel-header-border);flex-shrink:0;justify-content:flex-end;gap:8px;padding:12px 16px;display:flex}.darkmode .right-panel-overlay,[data-bs-theme=dark] .right-panel-overlay{background:#00000080}@media (max-width:767.98px){.right-panel{top:56px;bottom:var(--mobile-shell-safe-bottom);z-index:1007;border-left:0;max-width:100vw;box-shadow:0 -10px 30px #0f172a1f;width:100vw!important}.right-panel-overlay{z-index:1006}.right-panel__body{padding:12px}.right-panel__footer{flex-wrap:wrap;padding:12px}.right-panel__footer>*{flex:100%}}.page-wrapper{flex-direction:column;flex:1;min-width:0;transition:all .35s cubic-bezier(.4,0,.2,1);display:flex}[data-shell-managed-sidebar=true]{z-index:90;flex-direction:column;width:252px;display:flex;background-color:var(--sidebar-bg)!important;border-right-color:var(--sidebar-border)!important;height:100%!important;margin-top:0!important;position:relative!important;top:0!important;left:auto!important}[data-shell-managed-sidebar=true][background-is-dark=true],[data-sidebar-color=blue] [data-shell-managed-sidebar=true],[data-sidebar-color=dark] [data-shell-managed-sidebar=true],.darkmode [data-shell-managed-sidebar=true]{background-color:var(--sidebar-bg)!important}[data-shell-managed-sidebar=true][background-is-dark=true] .sidebar-menu ul li a,[data-sidebar-color=blue] [data-shell-managed-sidebar=true] .sidebar-menu ul li a,[data-sidebar-color=dark] [data-shell-managed-sidebar=true] .sidebar-menu ul li a,.darkmode [data-shell-managed-sidebar=true] .sidebar-menu ul li a{color:#ffffffb3}[data-shell-managed-sidebar=true][background-is-dark=true] .submenu-hdr,[data-sidebar-color=blue] [data-shell-managed-sidebar=true] .submenu-hdr,[data-sidebar-color=dark] [data-shell-managed-sidebar=true] .submenu-hdr,.darkmode [data-shell-managed-sidebar=true] .submenu-hdr{color:#fff6}[data-shell-managed-sidebar=true][background-is-dark=true] .sidebar-menu ul li.active a,[data-sidebar-color=blue] [data-shell-managed-sidebar=true] .sidebar-menu ul li.active a,[data-sidebar-color=dark] [data-shell-managed-sidebar=true] .sidebar-menu ul li.active a,.darkmode [data-shell-managed-sidebar=true] .sidebar-menu ul li.active a{color:#fff}[data-shell-managed-sidebar=true] .sidebar-inner{flex:1;width:100%;height:100%;overflow:hidden auto}[data-shell-managed-sidebar=true] .sidebar-menu{padding:16px 24px;z-index:auto!important;width:100%!important;box-shadow:none!important;background-color:#0000!important;border-right:none!important;position:static!important;top:auto!important;left:auto!important}@media (min-width:992px){[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-collapsed=true]{width:80px;overflow:hidden}[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-collapsed=true] .sidebar-menu ul li a span,[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-collapsed=true] .sidebar-menu ul li.menu-title span{display:none}[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-collapsed=true] .sidebar-menu ul li .submenu-hdr{font-size:0}[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-collapsed=true] .sidebar-menu ul li .submenu-hdr:after{margin-left:0}[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-expanded=true]{width:250px}[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-expanded=true] .sidebar-menu ul>li>a span{display:inline-block}[data-shell-managed-sidebar=true][data-shell-collapsible=true][data-shell-expanded=true] .sidebar-menu .submenu-hdr{display:flex}}@media (max-width:991.98px){[data-shell-managed-sidebar=true]{z-index:997;margin-left:-575px;background:var(--sidebar-bg)!important;position:fixed!important;left:0!important}}@media (max-width:767.98px){[data-shell-managed-sidebar=true]{width:70%}}.slide-nav [data-shell-managed-sidebar=true]{margin-left:0!important}.dashboard-shell .page-wrapper{margin-left:0!important;padding-top:0!important}.dashboard-shell .header{z-index:995;transition:left .28s cubic-bezier(.4,0,.2,1),right .28s cubic-bezier(.4,0,.2,1);position:fixed;left:60px;right:0;width:auto!important}@media (max-width:991.98px){.dashboard-shell .header{left:50px}}.main-wrapper.chat-panel-open .header,.main-wrapper.chat-panel-open .header.unified-header{right:390px!important}.main-wrapper.chat-panel-open .shell-layout-h{padding-right:390px}@media (max-width:767.98px){.main-wrapper.chat-panel-open .header,.main-wrapper.chat-panel-open .header.unified-header{right:0!important}.main-wrapper.chat-panel-open .shell-layout-h{padding-right:0}.shell-layout-h{padding-bottom:var(--mobile-shell-safe-bottom)}.main-wrapper[data-mobile-sidebar-open=true]{overflow:hidden}.main-wrapper[data-mobile-sidebar-open=true] .sidebar-overlay{opacity:1;pointer-events:auto}.shell-main{padding-bottom:max(.75rem,env(safe-area-inset-bottom,0px))!important}.shell-content-wrapper .page-header{flex-direction:column;gap:12px;display:flex;align-items:stretch!important}.shell-content-wrapper .page-header .btn,.shell-content-wrapper .page-header .btn-group,.shell-content-wrapper .page-header .dropdown,.shell-content-wrapper .page-header .ant-select,.shell-content-wrapper .page-header .ant-picker{max-width:100%}.shell-content-wrapper .card-header{flex-wrap:wrap;gap:10px;display:flex;align-items:flex-start!important}.shell-content-wrapper .btn-group{flex-wrap:wrap;width:100%}.shell-content-wrapper .btn-group>.btn{flex:auto}.shell-content-wrapper .table-responsive,.shell-content-wrapper .ant-table-wrapper{-webkit-overflow-scrolling:touch;margin-inline:-.875rem;padding-inline:.875rem;overflow-x:auto}.shell-content-wrapper .table-responsive table{min-width:640px}.universal-chat-panel{flex-direction:column}.universal-chat-panel__sidebar{border-bottom:1px solid #00000014;border-right:none;width:100%;max-width:none;height:50%}.universal-chat-panel__content{height:50%}}.universal-chat-indicator{background:var(--primary-hex,#10b981);pointer-events:none;border-radius:50%;width:8px;height:8px;animation:2s infinite ucpPulse;position:absolute;top:6px;right:10px}.unified-header .quick-chat-toggle .universal-chat-indicator{top:4px;right:4px}@keyframes ucpPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.3)}}[data-shell-section=chat] .shell-layout-h{padding-right:0}[data-shell-section=chat] .shell-main{flex-direction:column;flex:1;min-width:0;display:flex}[data-shell-section=chat] .content.main_content{flex-direction:column;flex:1;display:flex;width:100%!important;max-width:none!important}[data-shell-section=chat] .chat{flex-direction:row;flex:1;min-width:0;display:flex;width:auto!important;margin-right:0!important}.header.unified-header{border-bottom:1px solid var(--header-border);z-index:1000;justify-content:space-between;align-items:center;height:56px;padding:0 16px;transition:left .28s cubic-bezier(.4,0,.2,1),right .28s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;top:0;left:60px;right:0;box-shadow:0 1px 3px #00000005;background:var(--header-bg)!important}@media (max-width:991.98px){.header.unified-header{left:50px}}@media (max-width:767.98px){.header.unified-header{left:0}}.header.unified-header .header-left-group,.header.unified-header .header-right-group{color:var(--header-text)}.header.unified-header .header-left-group{flex:1;align-items:center;gap:16px;min-width:0;display:flex}.header.unified-header .header-search-wrap{background:var(--header-search-bg);border:1px solid var(--header-search-border);cursor:pointer;border-radius:8px;align-items:center;width:252px;padding:6px 12px;transition:all .2s;display:flex}.header.unified-header .header-search-wrap i{color:var(--header-text-muted);margin-right:8px}.header.unified-header .header-search-wrap input{color:var(--header-text);cursor:pointer;background:0 0;border:none;outline:none;width:100%;font-size:13px}.header.unified-header .header-search-wrap .search-kbd{background:var(--header-search-border);color:var(--header-text-muted);border-radius:4px;margin-left:8px;padding:2px 4px;font-size:10px}.header.unified-header .header-search-wrap:hover{border-color:var(--primary);background:var(--primary-hover)}.header.unified-header .header-shortcuts{align-items:center;gap:4px;padding-left:8px;display:flex;overflow-x:auto}.header.unified-header .header-shortcuts .shortcut-divider{background:var(--rail-border);width:1px;height:24px;margin:0 12px}.header.unified-header .header-shortcuts .shortcut-item{color:var(--header-text-muted);border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.header.unified-header .header-shortcuts .shortcut-item i{font-size:16px}.header.unified-header .header-shortcuts .shortcut-item:hover{background:var(--primary-hover);color:var(--primary)}.header.unified-header .header-shortcuts .shortcut-item.active{background:var(--primary);color:#fff}.header.unified-header .header-shortcuts .shortcut-add{width:32px;height:32px;color:var(--header-text-muted);border:1px dashed var(--header-border);border-radius:50%;justify-content:center;align-items:center;margin-left:8px;display:flex}.header.unified-header .header-shortcuts .shortcut-add:hover{color:var(--primary);border-color:var(--primary);background:var(--primary-hover)}.header.unified-header .header-right-group{align-items:center;gap:8px;display:flex}.header.unified-header .header-right-group .user-menu{align-items:center;gap:12px;display:flex}.header.unified-header .header-right-group .nav-link.profile-drop{border-radius:8px;align-items:center;gap:10px;padding:4px;display:flex}.header.unified-header .header-right-group .nav-link.profile-drop:after{display:none!important}.header.unified-header .header-right-group .nav-link.profile-drop:hover{background:#00000008}.header.unified-header .header-right-group .nav-link.profile-drop .user-img{width:32px;height:32px;position:relative}.header.unified-header .header-right-group .nav-link.profile-drop .user-img img{-o-object-fit:cover;object-fit:cover;border-radius:50%;width:100%;height:100%}.header.unified-header .header-right-group .nav-link.profile-drop .user-img .status{border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;bottom:0;right:0}.header.unified-header .header-right-group .nav-link.profile-drop .user-img .status.online{background:var(--primary-hex,#10b981)}.header.unified-header .header-right-group .nav-link.profile-drop .user-info .user-name{color:#111827;font-size:13px;font-weight:600;line-height:1.2;display:block}.header.unified-header .header-right-group .nav-link.profile-drop .user-info .user-role{color:#6b7280;font-size:11px;display:block}.sidebar-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1001;opacity:0;pointer-events:none;background:#0f172a6b;transition:opacity .22s;position:fixed;inset:56px 0 0}.darkmode .header.unified-header .header-search-wrap,[data-bs-theme=dark] .header.unified-header .header-search-wrap{background:#ffffff08;border-color:#ffffff14}.darkmode .header.unified-header .header-search-wrap input,[data-bs-theme=dark] .header.unified-header .header-search-wrap input{color:#d1d5db}.darkmode .header.unified-header .header-search-wrap .search-kbd,[data-bs-theme=dark] .header.unified-header .header-search-wrap .search-kbd{background:#ffffff14}.darkmode .header.unified-header .header-shortcuts .shortcut-item,[data-bs-theme=dark] .header.unified-header .header-shortcuts .shortcut-item{color:var(--header-text-muted,#9ca3af)}.darkmode .header.unified-header .header-shortcuts .shortcut-item:hover,[data-bs-theme=dark] .header.unified-header .header-shortcuts .shortcut-item:hover{color:var(--primary-hex,#10b981)}.darkmode .header.unified-header .header-right-group .nav-link.profile-drop:hover,[data-bs-theme=dark] .header.unified-header .header-right-group .nav-link.profile-drop:hover{background:#ffffff0d}.darkmode .header.unified-header .header-right-group .nav-link.profile-drop .user-info .user-name,[data-bs-theme=dark] .header.unified-header .header-right-group .nav-link.profile-drop .user-info .user-name{color:#f3f4f6}.shell-layout-h{flex-direction:row;width:100%;height:100vh;padding-top:56px;display:flex;overflow:hidden}@media (max-width:767.98px){.header.unified-header{gap:8px;padding:0 10px}.header.unified-header .header-left-group{gap:8px;min-width:0}.header.unified-header .header-search-wrap{flex:1;width:auto;min-width:0;padding:6px 10px}.header.unified-header .header-search-wrap input{font-size:12px}.header.unified-header .header-search-wrap .search-kbd{display:none}.header.unified-header .header-right-group,.header.unified-header .header-right-group .user-menu{gap:4px}.header.unified-header .header-msg-ticket{display:none}.header.unified-header .nav-link.profile-drop{padding:2px!important}html.darkmode .sidebar-overlay,html.dark .sidebar-overlay,html[data-bs-theme=dark] .sidebar-overlay{background:#0206178f}}.shell-content-wrapper{flex-direction:column;width:100%;min-width:0;height:100%;padding-top:0;display:flex;position:relative;overflow:hidden}.sidebar,.sidebar-group,.chat-right-rail{height:100%!important;margin-top:0!important}.shell-main,.page-wrapper{flex:1;overflow:hidden auto;height:100%!important;padding-top:0!important}.shell-main .page-wrapper,.shell-main .content,.page-wrapper .page-wrapper,.page-wrapper .content{min-height:100%;height:auto!important;overflow:visible!important}[data-shell-section=chat] .shell-main,[data-shell-section=chat] .page-wrapper,[data-shell-section=email] .shell-main,[data-shell-section=email] .page-wrapper{overflow:hidden}[data-shell-section=chat] .shell-layout-h{height:100vh;margin-top:0}[data-shell-section=chat] .main_content{flex-direction:column;display:flex;height:100%!important;padding:0!important}[data-shell-section=chat] .chat.chat-messages{flex-direction:row;flex:1;display:flex;position:relative;overflow:hidden;width:100%!important;height:100%!important}[data-shell-section=chat] .chat.chat-messages .chat-messages-area{background:#fdfdfd;flex-direction:column;flex:1;min-width:0;height:100%;display:flex}