/*!
 * Promptense Image — supplemental styles ONLY.
 * The Image tool renders with the CORE app's design system (the .pt-* classes in
 * promptense.css), so it matches Quick Prompt / Custom Prompt and inherits all four
 * colour schemes. This file adds only the few bits the core sheet doesn't already have,
 * all expressed with the core --pt-* tokens (no private palette, no @media override).
 *
 * The standalone [promptense_image] shortcode renders its mount with BOTH the
 * .promptense-mount class and a data-pt-scheme attribute, so the core tokens resolve
 * there too; this just gives that mount the same inner padding as the core app body.
 */
.promptense-image-mount { padding: 22px; }

/* Small muted helper line (interaction description). */
.pt-hint { font-size: 12.5px; color: var(--pt-muted); margin: 6px 0 0; }

/* Trial start error (shown inside the upgrade panel if the trial can't start). */
.pt-img-trial-err { margin: 12px 0 0; padding: 9px 12px; font-size: 13px; font-weight: 600;
  color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; }

/* Pre-copy advisory for avatar tools (Jogg/HeyGen) — amber caution, non-blocking. */
.pt-img-sensitive { margin: 0 0 12px; padding: 10px 13px; border-radius: 8px; font-size: 13px;
  color: #92400e; background: #fffbeb; border: 1px solid #fcd34d; }
.pt-img-sensitive strong { display: block; color: #92400e; }
.pt-img-sensitive p { margin: 4px 0 0; color: #a16207; }

/* Bottom-of-tool footnote (the "Any other tool" asterisk note). */
.pt-img-note { font-size: 12.5px; color: var(--pt-muted); font-style: italic; margin: 14px 0 0; line-height: 1.5; }

/* "Add a subject" directing notice (shown while Subject is empty; Copy/Save disabled too). */
.pt-img-subject-msg { margin: 0 0 12px; padding: 9px 12px; font-size: 13px; font-weight: 600;
  color: var(--pt-accent); background: var(--pt-accent-dim); border: 1px solid var(--pt-div);
  border-radius: 8px; }

/* Per-service official-docs link. */
.pt-doclink { margin: 8px 0 0; font-size: 13px; }
.pt-doclink a { color: var(--pt-accent); text-decoration: none; }
.pt-doclink a:hover { text-decoration: underline; }

/* Jogg.ai avatar "Detail Prompt Generator" section header. */
.pt-img-avatar-h { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--pt-div);
  font-size: 13px; color: var(--pt-text); text-transform: none; letter-spacing: 0; }

/* Per-field click-to-apply pills: a touch tighter than the main chip rows. */
.pt-img-picks { margin-top: 8px; }
.pt-img-picks .pt-chip { font-size: 12.5px; padding: 5px 11px; }

/* Benefits list inside the upgrade/marketing panel. */
.pt-img-benefits { list-style: none; padding: 0; margin: 2px auto 18px; max-width: 32em; text-align: left; display: inline-block; }
.pt-img-benefits li { position: relative; padding: 4px 0 4px 26px; font-size: 14px; color: var(--pt-text); }
.pt-img-benefits li::before { content: '✓'; position: absolute; left: 4px; color: var(--pt-accent); font-weight: 700; }

/* Toast (theme-agnostic, deliberately dark on every scheme). */
.pt-img-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(10px);
  background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 100001; }
.pt-img-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Centred confirmation (Copy) — in the middle of the view, not the footer. */
.pt-img-toast-center { bottom: auto; top: 50%; transform: translate(-50%, -50%) scale(.96);
  padding: 16px 26px; font-size: 16px; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 16px 50px rgba(0,0,0,.45); }
.pt-img-toast-center.show { transform: translate(-50%, -50%) scale(1); }

/* Saved "My pills" + admin-approved shared blocks (reusable field snippets). */
.pt-img-myblocks { margin-top: 6px; }
.pt-chip-block { border-style: dashed; }
.pt-chip-block .pt-chip-x { opacity: .55; font-weight: 700; }
.pt-chip-block .pt-chip-x:hover { opacity: 1; color: #dc2626; }
/* "Save as pill / Share with team" link-style actions under a field. */
.pt-img-saveblock { display: flex; gap: 14px; margin-top: 7px; }
.pt-linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 12.5px;
  font-weight: 600; color: var(--pt-accent); }
.pt-linklike:hover { text-decoration: underline; }
