/* SiftingSignal disclosure component
   ------------------------------------
   EU AI Act Article 50 inline "AI-generated" label. Toggled on per
   docs/DISCLOSURE_UX.md §4 when `body[data-disclosure-level="eu"]` is
   set (driven client-side from the `cortex_disclosure` cookie that the
   Cloudflare middleware writes based on CF-IPCountry).

   Default behavior: hidden (US traffic). EU traffic: visible at 24px
   above the post body, same color as body text, immutable from sponsor
   config. Spec lock in docs/DISCLOSURE_UX.md §1.3.
*/

.cortex-ai-label {
  display: none; /* hidden until EU disclosure level is active */
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary, var(--ink, #0F172A));
  margin: 0 0 8px 0;
  background: transparent;
  opacity: 1 !important;
  visibility: visible !important;
}

/* EU traffic: surface the label on every AI-generated post/synthesis. */
body[data-disclosure-level="eu"] .cortex-ai-label {
  display: block;
}

/* Print: survives PDF export when EU mode is active at render time. */
@media print {
  body[data-disclosure-level="eu"] .cortex-ai-label {
    display: block !important;
    color: black !important;
    font-size: 18pt;
  }
}
