/* ============================================================================
 * admin-only-side-panels.css
 * הסתרת לחצני סרגל-הצד של LibreChat ממשתמשים שאינם אדמינים:
 *   • "בניית ועריכת סוכנים" (com_sidepanel_agent_builder)
 *   • "הגדרות MCP"          (com_nav_setting_mcp)
 * וכן תוכן פאנל ה-MCP עצמו אם נשמר כפאנל הפעיל (com_ui_mcp_servers) — רשת ביטחון.
 *
 * המנגנון: ברירת המחדל = מוסתר (html:not(.cti-lc-admin)). הסקריפט
 * admin-only-side-panels.js מוסיף את המחלקה `cti-lc-admin` ל-<html> רק עבור
 * אדמינים, וכך חושף מחדש את הלחצנים. משתמשים רגילים לעולם לא יראו אותם — גם
 * לפני שהתפקיד נקבע — כי קובץ ה-CSS הזה (render-blocking) נטען לפני ש-React
 * מרנדר את הסרגל.
 *
 * התוויות תלויות-שפה ולכן כלולות גם בעברית (ברירת המחדל) וגם באנגלית.
 * ============================================================================ */

/* לחצני הסרגל (NavIconButton) — בונה הסוכנים + הגדרות MCP */
html:not(.cti-lc-admin) button[aria-label="בניית ועריכת סוכנים"],
html:not(.cti-lc-admin) button[aria-label="Agent Builder"],
html:not(.cti-lc-admin) button[aria-label="הגדרות MCP"],
html:not(.cti-lc-admin) button[aria-label="MCP Settings"] {
  display: none !important;
}

/* רשת ביטחון: תוכן פאנל ה-MCP, אם נשמר כפאנל הפעיל ב-localStorage
   (לפאנל הסוכנים אין role=region יציב — שם מסתמכים על איפוס side:active-panel
   ב-admin-only-side-panels.js). */
html:not(.cti-lc-admin) [role="region"][aria-label="שרתי MCP"],
html:not(.cti-lc-admin) [role="region"][aria-label="MCP Servers"] {
  display: none !important;
}
