    /* 顶部 Header */
    .top-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--header-h);
      background: #fff;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      z-index: 200;
    }

    .top-header__left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .top-header__logo {
      width: 36px;
      height: 36px;
      background: var(--primary);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }

    .top-header__logo svg {
      width: 22px;
      height: 22px;
    }

    .top-header__title {
      font-weight: 600;
      font-size: 16px;
      color: var(--text);
    }

    .top-header__divider {
      width: 1px;
      height: 20px;
      background: var(--border);
    }

    .top-header__company {
      color: var(--text-secondary);
      font-size: 14px;
    }

    .top-header__right {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .top-header__search {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #f5f7fa;
      border: 1px solid transparent;
      border-radius: 20px;
      padding: 8px 16px;
      min-width: 320px;
      transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    }

    .top-header__search:focus-within {
      background: #fff;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
    }

    .top-header__search input {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      color: var(--text);
    }

    .top-header__search input::placeholder {
      color: #bfbfbf;
    }

    .top-header__notify {
      position: relative;
      cursor: pointer;
      color: var(--text-secondary);
      padding: 4px;
      display: flex;
      align-items: center;
    }

    .top-header__notify-dot {
      position: absolute;
      top: 2px;
      right: 2px;
      width: 8px;
      height: 8px;
      background: #ff4d4f;
      border-radius: 50%;
      border: 2px solid #fff;
    }

    .top-header__user {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      padding: 4px 8px 4px 4px;
      border-radius: 8px;
      transition: background 0.2s;
    }

    .top-header__user:hover {
      background: #f5f5f5;
    }

    .top-header__avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #e0e0e0;
    }

    .top-header__user-name {
      font-size: 14px;
      color: var(--text);
    }

    .top-header__user-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 160px;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
      border: 1px solid var(--border);
      padding: 6px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .top-header__user-menu.is-open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .top-header__user-menu button {
      display: block;
      width: 100%;
      padding: 10px 16px;
      border: none;
      background: none;
      text-align: left;
      font-size: 14px;
      color: var(--text);
      cursor: pointer;
    }

    .top-header__user-menu button:hover {
      background: #f5f5f5;
    }

    /* 布局调整 */
    body {
      padding-top: var(--header-h);
    }

    .sidebar {
      top: var(--header-h);
    }

    /* Sidebar */
    .sidebar {
      width: var(--sidebar-w);
      flex-shrink: 0;
      background: var(--sidebar-bg);
      display: flex;
      flex-direction: column;
      position: fixed;
      /* top: 0; 已由上边设置 */
      left: 0;
      bottom: 0;
      z-index: 100;
    }

    .sidebar__nav {
      flex: 1;
      overflow-y: auto;
      padding: 8px 0;
    }

    .sidebar__item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 24px;
      color: var(--sidebar-text);
      cursor: pointer;
      border: none;
      background: transparent;
      width: 100%;
      text-align: left;
      font-size: 14px;
      transition: background 0.2s, color 0.2s;
    }

    .sidebar__item:hover {
      background: var(--sidebar-hover);
      color: #fff;
    }

    .sidebar__item.is-active {
      background: var(--sidebar-active);
      color: #fff;
    }

    .sidebar__item svg {
      flex-shrink: 0;
      opacity: 0.85;
    }

    .sidebar__group-toggle {
      justify-content: space-between;
    }

    .sidebar__chevron {
      transition: transform 0.2s;
    }

    .sidebar__group.is-open .sidebar__chevron {
      transform: rotate(180deg);
    }

    .sidebar__sub {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease;
    }

    .sidebar__group.is-open .sidebar__sub {
      max-height: 320px;
    }

    .sidebar__sub-item {
      padding: 10px 24px 10px 52px;
      color: var(--sidebar-text);
      cursor: pointer;
      font-size: 13px;
      transition: background 0.2s, color 0.2s;
    }

    .sidebar__sub-item:hover {
      background: var(--sidebar-hover);
      color: #fff;
    }

    .sidebar__sub-item.is-active {
      color: var(--sidebar-active);
      background: rgba(24, 144, 255, 0.12);
    }

    .sidebar__footer {
      padding: 16px 24px;
      color: rgba(255, 255, 255, 0.35);
      font-size: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Main column */
    .main-wrap {
      flex: 1;
      margin-left: var(--sidebar-w);
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    /* Content 添加顶部间距 */
    .content {
      padding-top: 24px;
    }

    /* 旧 Header 样式已删除，现使用 .top-header */
