/* Mentes Claras 28.5.46 R1 / 28.5.47 · contraste TTS corregido */
.mc28546{
  /* Consola técnica deliberadamente aislada de tokens de superficie potencialmente oscuros. */
  --mc28546-panel:#ffffff;
  --mc28546-ink:#10243d;
  --mc28546-muted:#4b6178;
  --mc28546-line:#8da1b5;
  --mc28546-soft:#f1f5f9;
  display:grid;gap:20px;color:var(--mc28546-ink)
}
.mc28546-privacy{margin:.25rem 0 .9rem;padding:.7rem .85rem;border-radius:10px;border:1px solid color-mix(in srgb,var(--mc-secondary,#2fd5c4) 55%,var(--mc28546-line));background:color-mix(in srgb,var(--mc-secondary,#2fd5c4) 10%,var(--mc28546-panel));color:var(--mc28546-ink)!important;font-size:.88rem}
.mc28546-resume-hint{margin:.25rem 0 .9rem;padding:.55rem .7rem;border-radius:9px;border:1px solid color-mix(in srgb,var(--mc-primary,#6c4ff8) 30%,var(--mc28546-line));background:color-mix(in srgb,var(--mc-primary,#6c4ff8) 9%,var(--mc28546-panel));color:var(--mc28546-ink)!important;font-size:.84rem!important}
.mc284-a11y[data-tts-status="speaking"] [data-read-main]{box-shadow:0 0 0 3px color-mix(in srgb,var(--mc-secondary,#2fd5c4) 45%,transparent)}
.mc284-a11y[data-tts-status="paused"] [data-read-pause]{background:#745200!important;color:#fff!important}
.mc284-a11y[data-tts-status="completed"] .mc284-tts-state{border-color:#1d7f58}
.mc28546-hero{padding:clamp(25px,4vw,44px);border-radius:26px;background:radial-gradient(circle at 88% 8%,rgba(67,221,201,.17),transparent 30%),linear-gradient(135deg,#071d31,#17375a 60%,#38265d);color:#fff}
.mc28546-hero h1{margin:.18em 0;color:#fff!important;font-size:clamp(2.2rem,4vw,3.8rem)}
.mc28546-hero p{max-width:820px;color:#e2edf7!important}
.mc28546-hero .eyebrow{color:#7ef3e6!important}
.mc28546-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.mc28546-card,.mc28546-demo{color:var(--mc28546-ink)!important;border:1px solid var(--mc28546-line);background:var(--mc28546-panel)}
.mc28546-card{padding:20px;border-radius:18px}
.mc28546-card strong.metric{display:block;color:var(--mc28546-ink)!important;font-size:2rem}
.mc28546-card p,.mc28546-demo p,.mc28546-demo .muted{color:var(--mc28546-muted)!important}
.mc28546-card .eyebrow,.mc28546-demo>.eyebrow,.mc28546-demo .mc28545-head .eyebrow{color:#0b6b68!important;font-weight:900}
.mc28546-demo{padding:22px;border-radius:18px}
.mc28546-demo h2,.mc28546-demo h3,.mc28546-demo strong{color:var(--mc28546-ink)!important}
.mc28546-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}
.mc28546-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mc28546-capabilities div{padding:12px;border:1px solid color-mix(in srgb,var(--mc28546-line) 72%,transparent);border-radius:12px;background:var(--mc28546-soft);color:var(--mc28546-ink)}
.mc28546-capabilities dt{font-size:.75rem;color:var(--mc28546-muted)!important}
.mc28546-capabilities dd{margin:4px 0 0;color:var(--mc28546-ink)!important;font-weight:900;overflow-wrap:anywhere}
.mc28546 pre{max-height:480px;overflow:auto;padding:14px;border:1px solid #394a60;border-radius:12px;background:#101827;color:#eef6ff;font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}
/* Blindaje de contraste independiente de la clase de tema del body. */
.mc28546 .mc28546-card,
.mc28546 .mc28546-demo{background:#fff!important;color:#10243d!important;border-color:#8da1b5!important}
.mc28546 .mc28546-card :where(p,small,.muted,span:not(.eyebrow)),
.mc28546 .mc28546-demo :where(p,small,.muted){color:#4b6178!important}
.mc28546 .mc28546-card :where(h2,h3,h4,strong),
.mc28546 .mc28546-demo :where(h2,h3,h4,strong){color:#10243d!important}
.mc28546 .mc28546-hero .eyebrow{color:#7ef3e6!important}
.mc28546 .mc28546-hero p{color:#e2edf7!important}
.mc28546 .mc28546-hero h1{color:#fff!important}
.mc28546 .mc28546-capabilities div{background:#f1f5f9!important;color:#10243d!important;border-color:#9aabba!important}
.mc28546 .mc28546-capabilities dt{color:#4b6178!important}
.mc28546 .mc28546-capabilities dd{color:#10243d!important}
.mc28546 pre{background:#101827!important;color:#eef6ff!important;border-color:#465a72!important}
@media(max-width:900px){.mc28546-grid{grid-template-columns:1fr}.mc28546-capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mc28546-capabilities{grid-template-columns:1fr}.mc28546-actions>*{width:100%}}
@media(forced-colors:active){.mc28546-privacy,.mc28546-resume-hint,.mc28546-card,.mc28546-demo,.mc28546-capabilities div{border:1px solid CanvasText!important;background:Canvas!important;color:CanvasText!important}.mc28546-hero{background:Canvas!important;color:CanvasText!important}.mc28546-hero :where(h1,p,.eyebrow){color:CanvasText!important}.mc28546 pre{background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important}}

/* TTS R3 voice selector cumulative */
.mc28546 .mc28546-card,.mc28546 .mc28546-demo{background:#fff!important;color:#10243d!important;border-color:#91a4b8!important}.mc28546 .mc28546-card :is(h1,h2,h3,h4,h5,h6,strong,b,dd),.mc28546 .mc28546-demo :is(h1,h2,h3,h4,h5,h6,strong,b,dd){color:#10243d!important}.mc28546 .mc28546-card :is(p,small,li,dt,.muted),.mc28546 .mc28546-demo :is(p,small,li,dt,.muted){color:#435a72!important}.mc28546 .mc28546-capabilities>div{background:#eef3f8!important;color:#10243d!important}.mc28546 .mc28546-hero h1{color:#fff!important}.mc28546 .mc28546-hero p{color:#e6f0f8!important}.mc28546 .mc28546-hero .eyebrow{color:#7ef3e6!important}
