/* ERA Normativa – estilos */
.era-norm{margin:1.5em 0;font-size:.97em}
.era-norm table{width:100%;border-collapse:collapse;margin:0 0 .5em}
.era-norm caption{caption-side:top;text-align:left;font-weight:600;padding:0 0 .5em;color:#222}
.era-norm th,.era-norm td{border:1px solid #d9d9d9;padding:.55em .7em;vertical-align:top;text-align:left}
.era-norm thead th{background:#f3f4f6;font-weight:600}
.era-norm tbody th{background:#fafafa;font-weight:600;width:28%}
.era-norm thead th small{display:block;font-weight:400;color:#666;font-size:.8em}
.era-norm .era-ref a{white-space:nowrap;font-size:.9em}
.era-fuente-linea{font-size:.85em;color:#555;margin:.4em 0 0}
.era-norm-notas{padding-left:1.3em}
.era-norm-notas li{margin:.3em 0}
.era-norm-aviso{border-left:4px solid #c9a227;background:#fff9e6;padding:.8em 1em}
.era-norm-aviso p{margin:0;font-size:.92em}
.era-norm-fuentes ol{padding-left:1.4em}
.era-norm-fuentes li{margin:.5em 0;font-size:.92em;word-break:break-word}
.era-norm-fuentes cite{font-style:italic}
/* comparativa: desplazable en móvil */
.era-norm-comparativa{overflow-x:auto}
.era-norm-comparativa table{min-width:640px}
/* calculadora */
.era-norm-calc{border:1px solid #e3e3e3;border-radius:8px;padding:1.2em 1.3em;background:#fcfcfc}
.era-calc-titulo{margin:0 0 .8em;font-size:1.15em}
.era-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.8em 1em}
.era-campo label{display:block;font-size:.85em;color:#444;margin-bottom:.25em}
.era-campo input,.era-campo select{width:100%;padding:.45em .5em;border:1px solid #bbb;border-radius:4px;font-size:1em;background:#fff}
.era-chk{display:block;margin:.8em 0 0;font-size:.9em}
.era-acciones{margin-top:1em;display:flex;gap:.6em;flex-wrap:wrap}
.era-btn{background:#1f3a5f;color:#fff;border:0;border-radius:4px;padding:.55em 1.1em;font-size:.95em;cursor:pointer}
.era-btn-sec{background:#fff;color:#1f3a5f;border:1px solid #1f3a5f}
.era-btn:hover{opacity:.9}
.era-resumen{margin:1.2em 0 .8em;padding:.9em 1em;border-radius:6px;border:1px solid}
.era-resumen.ok{background:#eef8f0;border-color:#9ad0a8}
.era-resumen.ko{background:#fdeeee;border-color:#e9a3a3}
.era-resumen p{margin:0 0 .3em}
.era-regla-linea{font-size:.85em;color:#555}
.era-opciones td,.era-opciones th{font-size:.9em}
.era-opciones tr.cumple td:first-child{border-left:4px solid #3c9d57}
.era-opciones tr.nocumple td:first-child{border-left:4px solid #d9534f}
.era-checks{list-style:none;margin:0;padding:0}
.era-checks li{margin:.15em 0;line-height:1.3}
.era-checks li.ok{color:#1d6b32}
.era-checks li.ko{color:#a12622}
.era-checks small{color:#666;font-weight:400}
.era-err{color:#a12622}
@media (max-width:640px){.era-norm tbody th{width:auto}.era-opciones{display:block;overflow-x:auto}}
