@layer reset, tokens, legado, componentes; @layer legado {

.cm-editorial { font-size: 1rem; line-height: 1.7; }
.cm-editorial h2 { font-size: 1.45rem; color: #003c87; margin: 0 0 14px; font-weight: 800; }
.cm-editorial h3 { font-size: 1.15rem; color: #1a1a1a; margin: 26px 0 10px; font-weight: 700; }
.cm-editorial p { margin: 0 0 14px; color: #2d3748; }
.cm-editorial ul, .cm-editorial ol { margin: 0 0 16px; padding-left: 22px; color: #2d3748; }
.cm-editorial li { margin-bottom: 8px; line-height: 1.6; }
.cm-editorial a { color: #003c87; text-decoration: underline; }
.cjda-table-title { font-size: 1.15rem; color: #003c87; margin: 8px 0 12px; font-weight: 700; }
.cjda-table { width: 100%; border-collapse: collapse; }
.cjda-table th, .cjda-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; text-align: left; font-size: 0.95rem; vertical-align: top; }
.cjda-table th { background: #f1f5f9; font-weight: 700; color: #1a1a1a; }
.cjda-table tr.is-current td { background: rgba(0, 60, 135, 0.06); font-weight: 600; }
body.dark-mode .cm-editorial h2 { color: #64b5ff; }
body.dark-mode .cm-editorial h3 { color: #e8e8e8; }
body.dark-mode .cm-editorial p, body.dark-mode .cm-editorial li { color: #cbd5e0; }
body.dark-mode .cm-editorial a { color: #64b5ff; }
body.dark-mode .cjda-table-title { color: #64b5ff; }
body.dark-mode .cjda-table th { background: #1e293b; color: #e8e8e8; }
body.dark-mode .cjda-table th, body.dark-mode .cjda-table td { border-bottom-color: #2d3748; }
body.dark-mode .cjda-table tr.is-current td { background: rgba(100, 181, 255, 0.12); }

}
