/* Preznta for individuals (/me): Preznta's identity, no organization entries. */
html.personal-edition [data-sidebar-library="templates"],
html.personal-edition #editor-designer-entry,
html.personal-edition button[onclick="toggleSidebarLibrary('brand')"],
html.personal-edition .organization-cover-section,
html.personal-edition .photo-library-search,
html.personal-edition .photo-library-user-head,
html.personal-edition #photo-library-user-groups,
html.personal-edition .logo-resource-grid,
html.personal-edition .logo-resource-grid + [role=status],
html.personal-edition [data-page-catalog],
html.personal-edition [data-page-catalog] + .designer-empty,
html.personal-edition .dm-lib-section:has([data-org]),
html.personal-edition .slide-smart-layout { display: none !important; }
html.personal-edition .creative-intro p { visibility: hidden; height: 0; margin: 0; }

/* Free colours: «+» opens the system colour picker; the chosen colour joins the palette. */
.shape-brand-swatch.pz-free-color { position: relative; display: inline-grid; place-items: center; cursor: pointer; background: conic-gradient(#ff4d4d, #ffcc33, #33cc66, #33bbff, #6655ff, #ff44cc, #ff4d4d) !important; }
.shape-brand-swatch.pz-free-color span { width: 60%; height: 60%; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #1d2a32; font: 700 12px/1 sans-serif; }
.shape-brand-swatch.pz-free-color input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Usage and subscription. */
.pz-usage { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--desktop-line, #e4e9ed); border-radius: 14px; background: #fff; margin: 0 0 16px; }
.pz-usage > b { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #1d2a32; }
.pz-usage > b svg { width: 16px; height: 16px; color: #0290fe; }
.pz-usage small { font-size: 11px; color: #6f7f89; line-height: 1.6; }
.pz-meter { display: grid; gap: 5px; }
.pz-meter span { display: flex; justify-content: space-between; font-size: 11.5px; color: #4b5c66; }
.pz-meter span b { font-weight: 700; color: #1d2a32; direction: ltr; }
.pz-meter i { height: 6px; border-radius: 6px; background: #eef2f5; position: relative; overflow: hidden; }
.pz-meter i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #0200fc, #0290fe 60%, #01cbfb); }
.pz-usage.is-pro { background: linear-gradient(160deg, #f2f8ff, #fff 60%); border-color: #cfe5ff; }
.pz-cta { height: 40px; padding: 0 16px; border: 0; border-radius: 11px; background: #0290fe; color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px #0290fe3d; }
.pz-cta:hover { background: #0278e0; }
.pz-cta:disabled { opacity: .6; cursor: wait; }
.pz-ghost { height: 38px; padding: 0 14px; border: 1px solid #dfe5ea; border-radius: 11px; background: #fff; color: #1d2a32; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.pz-account .pz-usage { max-width: 420px; }

/* The paywall: Preznta's taken-apart mark, the price, one clear action. */
.pz-paywall { width: min(440px, 92vw); padding: 30px 28px 24px; border: 0; border-radius: 24px; box-shadow: 0 30px 90px #0f1d4a55; text-align: center; color: #1d2a32; }
.pz-paywall::backdrop { background: #0b1430a6; backdrop-filter: blur(3px); }
.pz-paywall-art { height: 150px; display: grid; place-items: center; padding-top: 34px; margin-bottom: 18px; }
.pz-paywall .entry-slides { width: 118px; height: 82px; }
.pz-paywall h2 { margin: 6px 0 6px; font-size: 22px; font-weight: 800; }
.pz-paywall p { margin: 0 auto 16px; max-width: 34ch; font-size: 13px; line-height: 1.7; color: #5b6c76; }
.pz-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 14px; }
.pz-price b { font-size: 34px; font-weight: 800; color: #0200fc; }
.pz-price span { font-size: 13px; color: #6f7f89; }
.pz-paywall ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; text-align: start; }
.pz-paywall li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.pz-paywall li svg { width: 16px; height: 16px; color: #0290fe; flex: none; }
.pz-paywall-actions { display: grid; gap: 8px; }
.pz-paywall-actions .pz-cta { height: 46px; font-size: 14px; }
.pz-paywall-actions .pz-ghost { border: 0; color: #6f7f89; }
.pz-paywall > small { display: block; margin-top: 12px; font-size: 10.5px; color: #8b99a2; }

/* Entry */
.pz-entry-actions { display: grid; justify-items: center; gap: 6px; }
.pz-entry .entry-description { max-width: 46ch; margin-inline: auto; }
.pz-usage .pz-ai { display: flex; align-items: center; gap: 6px; color: #3c4b55; }
.pz-usage .pz-ai svg { width: 14px; height: 14px; color: #0290fe; }
.pz-usage .pz-ai b { color: #0d1720; }
