/* Reused from 多级代理报表√: shell styles, source snapshot 2026-09-11. */
.sidebar {
  position: relative;
  z-index: 8;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--sidebar);
  transition: width .18s ease;
}

.brand {
  display: flex;
  align-items: center;
  height: 62px;
  padding: 0 21px;
  background: #00162a;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  white-space: nowrap;
}

.brand.is-collapsed {
  justify-content: center;
  padding: 0;
}

.brand-icon {
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.brand-text {
  margin-left: 10px;
  color: #e8eef4;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .5px;
}

.menu-search {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  color: #9da9b5;
  background: #fff;
}

.menu-search.is-collapsed {
  justify-content: center;
  padding: 0;
}

.menu-search > i {
  flex: none;
  margin-right: 7px;
  color: #a9b1b9;
  font-size: 14px;
}

.menu-search.is-collapsed > i {
  margin-right: 0;
}

.menu-search .el-input__inner {
  height: 30px;
  padding: 0;
  color: #606266;
  line-height: 30px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.side-menu {
  width: 100%;
  height: calc(100vh - 96px);
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 0;
  scrollbar-width: none;
}

.side-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.side-menu .el-menu-item,
.side-menu .el-submenu__title {
  height: 50px;
  padding-left: 18px !important;
  line-height: 50px;
  font-size: 14px;
}

.side-menu .el-submenu .el-menu-item {
  min-width: 0;
  height: 44px;
  padding-left: 43px !important;
  line-height: 44px;
  background: #00162a !important;
}

.side-menu .el-menu-item i,
.side-menu .el-submenu__title i {
  width: 18px;
  margin-right: 7px;
  color: #8294a6;
  font-size: 15px;
  text-align: center;
}

.side-menu .el-submenu__title:hover,
.side-menu .el-menu-item:hover {
  color: #fff !important;
  background: #05213a !important;
}

.side-menu .el-menu-item.is-active {
  color: #fff !important;
  font-weight: 600;
  background: var(--sidebar-active) !important;
}

.side-menu.el-menu--collapse .el-menu-item,
.side-menu.el-menu--collapse .el-submenu__title {
  padding: 0 !important;
  text-align: center;
}

.side-menu.el-menu--collapse .el-menu-item i,
.side-menu.el-menu--collapse .el-submenu__title i {
  margin: 0;
}

.main-shell {
  min-width: 0;
  height: 100vh;
  overflow: hidden;
}

.topbar {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 0 !important;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.collapse-btn.el-button {
  width: 40px;
  height: var(--topbar-height);
  padding: 0 !important;
  color: #656d75;
  font-size: 14px;
  border: 0 !important;
  border-right: 1px solid #f2f3f5 !important;
  border-radius: 0;
  background: #fff;
}

.collapse-btn.el-button:hover,
.collapse-btn.el-button:focus {
  color: var(--primary);
  background: #f7f9fb;
}

.top-actions {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
  color: #303133;
  font-size: 14px;
  white-space: nowrap;
}

.site-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #303133;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 20px;
}

.timezone-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.timezone-meta,
.ip-meta,
.time-meta {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.country-flag {
  display: block;
  flex: none;
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.system-notification-popover.el-popover {
  width: min(360px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px);
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(31, 45, 61, .16);
}

.system-notification-drawer,
.notification-business-detail-drawer {
  max-width: 100%;
}

.system-notification-drawer .el-drawer__body,
.notification-business-detail-drawer .el-drawer__body {
  height: 100%;
  overflow: hidden;
}

@media (max-width: 768px) {
  .system-notification-drawer,
  .notification-business-detail-drawer {
    width: 100% !important;
  }
}

.user-trigger {
  height: var(--topbar-height);
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: #30363c;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.collapse-btn:focus-visible,
.notification-button:focus-visible,
.user-trigger:focus-visible {
  outline: 2px solid rgba(25, 144, 255, .34);
  outline-offset: -2px;
}

.global-tabs {
  position: relative;
  z-index: 7;
  flex: none;
  min-width: 0;
  height: var(--global-tabs-height);
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #e6e9ed;
}

.global-route-tabs {
  width: 100%;
  min-width: 0;
}

.global-route-tabs > .el-tabs__header {
  height: var(--global-tabs-height);
  margin: 0;
  border-bottom: 0 !important;
}

.global-route-tabs .el-tabs__nav-wrap,
.global-route-tabs .el-tabs__nav-scroll,
.global-route-tabs .el-tabs__nav,
.global-route-tabs .el-tabs__item {
  height: var(--global-tabs-height);
}

.global-route-tabs .el-tabs__nav-wrap::after {
  display: none;
}

.global-route-tabs .el-tabs__nav-wrap.is-scrollable {
  padding: 0 26px;
}

.global-route-tabs .el-tabs__nav-prev,
.global-route-tabs .el-tabs__nav-next {
  width: 26px;
  height: var(--global-tabs-height);
  color: #606266;
  background: #fff;
  font-size: 13px;
  line-height: var(--global-tabs-height);
  text-align: center;
}

.global-route-tabs .el-tabs__nav-prev {
  border-right: 1px solid #ebeef5;
}

.global-route-tabs .el-tabs__nav-next {
  border-left: 1px solid #ebeef5;
}

.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border: 0 !important;
  border-radius: 0;
}

.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__item {
  width: auto;
  min-width: 90px;
  max-width: none;
  height: var(--global-tabs-height);
  padding: 0 7px !important;
  white-space: nowrap;
  color: #303133;
  font-size: 13px;
  font-weight: 400;
  line-height: var(--global-tabs-height);
  text-align: center;
  border-left: 0 !important;
  border-right: 1px solid #ebeef5 !important;
  background: #fff;
}

.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__item:hover {
  color: var(--primary);
  background: #ecf5ff;
}

.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
  color: #fff;
  font-weight: 500;
  background: var(--sidebar);
}

.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__item .el-icon-close {
  top: 0;
  width: 12px !important;
  height: 12px;
  margin-left: 5px;
  visibility: hidden;
  color: currentColor;
  font-size: 11px;
  line-height: 12px;
}

.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__item:hover .el-icon-close,
.global-route-tabs.el-tabs--card > .el-tabs__header .el-tabs__item.is-active .el-icon-close {
  visibility: visible;
}

.global-route-tabs .el-tabs__item .el-icon-close:hover {
  color: inherit;
  background: transparent;
}

.global-route-tabs .el-tabs__content {
  display: none;
}
