
    /* ---------- 角色 → 侧栏办公室可见性 ---------- */
    /* CEO：仅保留 CEO 办公室，隐藏 CFO 办公室 / 项目&组织 / 产品管理 */
    body.lof-role-ceo .lof-office-tree[data-office="cfo"],
    body.lof-role-ceo .lof-office-tree[data-office="pm"],
    body.lof-role-ceo .lof-office-tree[data-office="pdm"] { display: none !important; }
    /* CFO：仅保留 CFO 办公室，隐藏 CEO 办公室 / 项目&组织 / 产品管理 */
    body.lof-role-cfo .lof-office-tree[data-office="ceo"],
    body.lof-role-cfo .lof-office-tree[data-office="pm"],
    body.lof-role-cfo .lof-office-tree[data-office="pdm"] { display: none !important; }
    /* 项可见（默认角色）：CEO / CFO / CXO 三个办公室模块默认全部展示，不再隐藏 CEO / CFO 办公室 */
    /* （如需恢复「仅 CXO」的旧行为，取消下面注释即可）
    body.lof-role-xiang .lof-office-tree[data-office="ceo"],
    body.lof-role-xiang .lof-office-tree[data-office="cfo"] { display: none !important; } */
    /* 全克坚：全部可见（默认，无隐藏规则） */
    /* 普克坚：隐藏 CEO 办公室 / CFO 办公室 / 项目&组织 / 产品管理 */
    body.lof-role-pu .lof-office-tree[data-office="ceo"],
    body.lof-role-pu .lof-office-tree[data-office="cfo"],
    body.lof-role-pu .lof-office-tree[data-office="pm"],
    body.lof-role-pu .lof-office-tree[data-office="pdm"] { display: none !important; }
    /* 普克坚：办公室入口全部隐藏后，顶部分割线也一并隐藏 */
    body.lof-role-pu #lof-divider-top { display: none !important; }

    /* ---------- 账户弹窗 ---------- */
    .lof-acct-overlay {
      position: fixed; inset: 0; z-index: 300000;
      background: rgba(15, 23, 42, 0.36);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    }
    .lof-acct-overlay.is-open { opacity: 1; pointer-events: auto; }
    .lof-acct-modal {
      width: 400px; max-width: calc(100vw - 40px);
      background: #fff; border-radius: 16px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.04);
      transform: translateY(8px) scale(0.98); transition: transform 0.2s ease;
      overflow: hidden;
    }
    .lof-acct-overlay.is-open .lof-acct-modal { transform: translateY(0) scale(1); }
    .lof-acct-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 20px 12px;
    }
    .lof-acct-title { font-size: 16px; font-weight: 600; color: #1a1a1a; }
    .lof-acct-close {
      width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: rgba(0,0,0,0.4); font-size: 20px; line-height: 1;
      transition: background 0.15s, color 0.15s;
    }
    .lof-acct-close:hover { background: #f2f3f5; color: rgba(0,0,0,0.7); }
    .lof-acct-body { padding: 4px 16px 18px; }
    .lof-acct-section + .lof-acct-section { margin-top: 8px; }
    .lof-acct-section-title {
      font-size: 12px; font-weight: 500; color: rgba(0,0,0,0.4);
      padding: 8px 4px 6px; letter-spacing: 0.02em;
    }
    .lof-acct-roles { display: flex; flex-direction: column; gap: 4px; }
    .lof-acct-role {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 12px; border-radius: 12px; cursor: pointer;
      border: 1px solid transparent; transition: background 0.15s, border-color 0.15s;
    }
    .lof-acct-role:hover { background: #f7f8fa; }
    .lof-acct-role.is-active { background: #eff4ff; border-color: rgba(39,111,245,0.25); }
    .lof-acct-role-avatar {
      width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0.01em;
    }
    .lof-acct-role[data-role="ceo"]  .lof-acct-role-avatar { background: linear-gradient(135deg,#4f7cff,#276ff5); }
    .lof-acct-role[data-role="cfo"]  .lof-acct-role-avatar { background: linear-gradient(135deg,#22c1a6,#0ea47f); }
    .lof-acct-role[data-role="xiang"] .lof-acct-role-avatar { background: linear-gradient(135deg,#38bdf8,#0ea5e9); }
    .lof-acct-role[data-role="quan"] .lof-acct-role-avatar { background: linear-gradient(135deg,#f59e0b,#f97316); }
    .lof-acct-role[data-role="pu"]   .lof-acct-role-avatar { background: linear-gradient(135deg,#a78bfa,#8b5cf6); }
    /* 「八月九号版本」：缩写为 8/9，字号收小一档避免挤压 */
    .lof-acct-role[data-role="aug09"] .lof-acct-role-avatar {
      background: linear-gradient(135deg,#64748b,#334155); font-size: 13px; letter-spacing: -0.02em;
    }
    /* ---------- 「英文版本 / 中文版本」：界面语言快速切换入口 ----------
       与角色无关（不写 lof-role / 不占选中态），只是把设置页里的
       「语言 = English / 简体中文」提到账户面板，方便一键切换。
       中英两套文案同时写在 DOM 里，靠 .is-en 切显示，避免改文本节点被
       i18n 的 MutationObserver 二次翻译。 */
    .lof-acct-role.lof-acct-lang { margin-top: 6px; }
    .lof-acct-lang .lof-acct-role-avatar {
      background: linear-gradient(135deg,#818cf8,#6366f1);
    }
    .lof-acct-lang .lof-acct-lang-en { display: none; }
    .lof-acct-lang.is-en .lof-acct-lang-zh { display: none; }
    .lof-acct-lang.is-en .lof-acct-lang-en { display: inline; }
    .lof-acct-role-info { flex: 1; min-width: 0; }
    .lof-acct-role-name { font-size: 14px; font-weight: 600; color: #1a1a1a; }
    .lof-acct-role-desc {
      font-size: 12px; color: rgba(0,0,0,0.45); margin-top: 2px;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .lof-acct-check { color: #276ff5; flex-shrink: 0; opacity: 0; transition: opacity 0.15s; }
    .lof-acct-role.is-active .lof-acct-check { opacity: 1; }
    .lof-acct-divider { height: 1px; background: #f0f1f3; margin: 12px 4px; }
    .lof-acct-logout {
      width: 100%; border: none; background: #fff5f5; color: #ff4d4f;
      font-size: 14px; font-weight: 600; padding: 12px; border-radius: 12px;
      cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
      transition: background 0.15s;
      font-family: inherit;
    }
    .lof-acct-logout:hover { background: #ffe9e9; }
  