/*
 * Amgreat (2026-09-24): hides Plane Community's paid-plan nags for every user.
 * Display only: nothing is licensed, unlocked or switched on, and Plane's own
 * "What's new?" and version line stay. Linked into every Plane page by the
 * amgreat-plane-quiet container. Record: server-handbook docs/apps/plane.md.
 */

/* Sidebar footer: the "Community" plan pill, which opens the "Upgrade to a
   paid plan" modal. The footer bar holds nothing else, so it goes too. */
div:has(> button[aria-label="Open paid plans' modal"]),
button[aria-label="Open paid plans' modal"] { display: none !important; }

/* Header: "Star us on GitHub". */
a[href="https://github.com/makeplane/plane"] { display: none !important; }

/* Workspace settings: "Billing & Plans" (a plan and pricing page only). */
a[href$="/settings/billing"], a[href$="/settings/billing/"] { display: none !important; }

/* Help menu: "Contact sales". It has no attribute of its own, so quiet.js marks
   it by its text with data-amgreat-hide. */
[data-amgreat-hide] { display: none !important; }

/* Any remaining link to the pricing page (for example on Active cycles). */
a[href*="plane.so/pricing"] { display: none !important; }
