/* Frappe Wiki app renders the "Edit Sidebar" control (wiki/wiki/doctype/wiki_page/templates/web_sidebar.html)
   unconditionally in the HTML for every visitor, including guests — it only gets a click-time redirect-to-login
   guard, not a visibility gate. Hide it for anonymous visitors so the public blog doesn't show editing UI. */
body[frappe-session-status="logged-out"] .sidebar-edit-mode-btn {
  display: none !important;
}
