/* CE presentation override: hide Pro-only network sidebar entries. */
/* v1.7 marks these entries with a Heroicons Star path. Keep :has() bounded
   to the sidebar menu's direct children; do not target global spans. */
.flex-1.min-h-0 > .flex.flex-col.gap-1\.5.pt-2.px-3 > *:has(svg path[d^="M10.788 3.21"]),
.flex.flex-col.gap-1\.5.pt-2.px-3 > *:has(svg path[d^="M10.788 3.21"]),
.flex.flex-col.gap-1.pt-2.px-3 > *:has(svg path[d^="M10.788 3.21"]),
.flex.flex-col.gap-1.pt-2.px-3 > .relative.w-full:has(svg path[d^="M10.788 3.21"]) {
  display: none !important;
}

/* Settings: hide only the individual Pro setting card. The selector is
   scoped to React's data-setting-id wrapper to avoid touching tooltips,
   buttons, or arbitrary spans elsewhere in the app. */
[data-setting-id] > *:has(svg path[d^="M10.788 3.21"]) {
  display: none !important;
}

/* Keep the settings heading DOM intact; only make its Pro star invisible
   so React cannot lose a tooltip anchor during reconciliation. */
div[class~="max-w-[720px]"][class~="gap-12"] svg:has(path[d^="M10.788 3.21"]) {
  visibility: hidden !important;
}
