/*
 * MATRIXALIGNER PUBLIC EXPERIENCE V1
 *
 * Public product rule:
 * - trust and governance operate under the hood
 * - members see simple product actions
 * - AI disclosure remains user-facing
 * - internal runtime / certification / pentest states stay private
 *
 * This stylesheet hides presentation only.
 * It does not disable or mutate backend authorities.
 */

/* Internal runtime-status language */
.evidence-runtime-state,
.message-runtime-note,
.matrix-identity-gateway-runtime,
.trust-passport-runtime-status {
  display: none !important;
}

/* Trust machinery belongs under the hood */
.matrix-appeals-transparency-panel,
#matrix-appeals-transparency-panel,
#matrix-appeals-button,
.trust-feed-runtime {
  display: none !important;
}

/* Internal certification dashboard */
.matrix-runtime-certification-panel,
#matrix-runtime-certification-panel {
  display: none !important;
}

/* Internal counters that do not belong in member UX */
#matrix-pentest-finding-count,
#matrix-appeal-count,
#matrix-appeal-decision-count,
#matrix-abuse-report-count {
  display: none !important;
}

/*
 * AI disclosure itself remains public.
 * Only its engineering/runtime state is hidden.
 */
#matrix-ai-disclosure-runtime-state {
  display: none !important;
}

/* Other internal binding/certification states */
#matrix-evidence-runtime-state,
#matrix-provenance-runtime-state,
#matrix-corrections-runtime-state,
#matrix-communities-runtime-state,
#matrix-messages-runtime-state,
#matrix-media-runtime-state,
#matrix-jahcore-runtime-state,
#matrix-ecosystem-runtime-state,
#matrix-discovery-runtime-state,
#matrix-security-runtime-state,
#matrix-trust-passport-runtime-status {
  display: none !important;
}

/*
 * Existing reporting control is not promoted publicly until
 * the single Admin-report form is intentionally bound.
 */
#matrix-report-abuse-button {
  display: none !important;
}

/* ==========================================================
   MATRIXALIGNER PUBLIC POLISH V1
   ========================================================== */

[data-matrix-public-hidden] {
  display: none !important;
}

/* Public surfaces should read as product UI, not engineering UI. */
body {
  text-rendering: optimizeLegibility;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

/* Cleaner visual rhythm for surviving member-facing cards. */
main section,
main article {
  scroll-margin-top: 88px;
}

/* Avoid empty shells after internal cards are removed. */
section:empty,
article:empty {
  display: none !important;
}
