/* Motor de Contenido IA: componentes. Hereda tipografía y color del tema. */
.mcia { margin: 1.75em 0; padding: 1.1em 1.25em; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; background: rgba(0,0,0,.02); }
.mcia .mcia-title { margin: 0 0 .6em; font-weight: 700; font-size: 1.05em; }
.mcia ul, .mcia ol { margin: 0; padding-left: 1.2em; }
.mcia li { margin: .35em 0; }

.mcia-checklist ul { list-style: none; padding-left: 0; }
.mcia-checklist label { display: flex; gap: .6em; align-items: flex-start; cursor: pointer; }
.mcia-checklist input { margin-top: .3em; width: 1.1em; height: 1.1em; flex: none; }
.mcia-checklist li.is-done span { text-decoration: line-through; opacity: .6; }
.mcia-progress { margin: .8em 0 0; font-size: .9em; opacity: .75; }

.mcia-keypoints { border-left: 4px solid currentColor; border-radius: 0 10px 10px 0; }

.mcia-table { padding: 0; overflow-x: auto; background: none; }
.mcia-table table { width: 100%; border-collapse: collapse; margin: 0; }
.mcia-table caption { text-align: left; font-weight: 700; padding: .8em 1em; }
.mcia-table th, .mcia-table td { padding: .6em .9em; border-top: 1px solid rgba(0,0,0,.1); text-align: left; vertical-align: top; }
.mcia-table thead th { background: rgba(0,0,0,.05); border-top: 0; }

.mcia-steps ol { counter-reset: mcia; list-style: none; padding-left: 0; }
.mcia-steps li { counter-increment: mcia; position: relative; padding-left: 2.4em; margin: .8em 0; }
.mcia-steps li::before { content: counter(mcia); position: absolute; left: 0; top: 0; width: 1.7em; height: 1.7em; border-radius: 50%; background: currentColor; text-align: center; line-height: 1.7em; font-weight: 700; font-size: .9em; }
.mcia-steps li::before { color: #fff; background: #333; }

.mcia-faq details { border-top: 1px solid rgba(0,0,0,.1); padding: .7em 0; }
.mcia-faq details:first-of-type { border-top: 0; }
.mcia-faq summary { cursor: pointer; font-weight: 600; }
.mcia-faq details > div { margin-top: .5em; }

.mcia-tip { border-left: 4px solid #2e7d32; border-radius: 0 10px 10px 0; background: rgba(46,125,50,.06); }
.mcia-tip--warning { border-left-color: #b26a00; background: rgba(178,106,0,.07); }
.mcia-tip p:last-child { margin-bottom: 0; }

.mcia-quiz .mcia-q { margin: 0 0 1em; }
.mcia-quiz .mcia-q-text { font-weight: 600; margin: 0 0 .5em; }
.mcia-quiz .mcia-opts { display: grid; gap: .4em; }
.mcia-quiz button.mcia-opt { text-align: left; padding: .6em .8em; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.mcia-quiz button.mcia-opt:hover:not([disabled]) { border-color: rgba(0,0,0,.5); }
.mcia-quiz button.mcia-opt[disabled] { cursor: default; }
.mcia-quiz button.is-right { border-color: #2e7d32; background: rgba(46,125,50,.1); }
.mcia-quiz button.is-wrong { border-color: #c62828; background: rgba(198,40,40,.08); }
.mcia-quiz .mcia-expl { margin: .5em 0 0; font-size: .92em; opacity: .85; }
.mcia-quiz .mcia-result { margin-top: 1em; padding: .9em 1em; border-radius: 8px; background: rgba(0,0,0,.05); }
.mcia-quiz .mcia-result strong { display: block; font-size: 1.1em; }
.mcia-quiz .mcia-retry { margin-top: .6em; padding: .4em .9em; border-radius: 6px; border: 1px solid rgba(0,0,0,.25); background: none; color: inherit; font: inherit; cursor: pointer; }
