/* Tema M2: verde-azulado profundo + menta + coral, fondo punteado. Todo cuelga de html[data-nivel="m2"]. */
html[data-nivel="m2"]{--teal:#0D5C63;--teal-deep:#0D5C63;--coral:#E5533D;--yellow:#9FE8D0;--paper:#F2FAF8;--ink:#0B3F45;--ink-soft:#4C7479;--line:rgba(13,92,99,.2);--bd:#0D5C63;--grid:rgba(13,92,99,.12)}
html[data-nivel="m2"] body{background-image:radial-gradient(var(--grid) 1.4px,transparent 1.6px);background-size:18px 18px}
html[data-nivel="m2"] header.top{background:#0D5C63;border-bottom:3px solid #9FE8D0}
html[data-nivel="m2"] header.top .brand-name{color:#fff}
html[data-nivel="m2"] header.top .brand-name::after{content:"M2";margin-left:8px;background:#9FE8D0;color:#0D5C63;border-radius:99px;padding:1px 9px;font:700 .72rem var(--f-mono);letter-spacing:.08em}
html[data-nivel="m2"] header.top .bell{color:#fff}
html[data-nivel="m2"] .ccard{border-radius:6px 22px 6px 22px}
html[data-nivel="m2"] .rt{border-radius:6px 20px 6px 20px}
html[data-nivel="m2"] .semana{background:#9FE8D0}
html[data-nivel="m2"] .bottom{border-top:3px solid #0D5C63}
/* selector M1 | M2 */
.nivel-sw{display:inline-flex;border:2px solid var(--bd);border-radius:99px;overflow:hidden;background:#fff;margin:10px 0 0}
.nivel-sw button{font:700 .85rem var(--f-mono);border:0;background:none;color:var(--ink);padding:6px 20px;cursor:pointer}
.nivel-sw button[aria-pressed=true]{background:var(--bd);color:#fff}
html[data-nivel="m2"] .rtop{background:#0D5C63;border-bottom:3px solid #9FE8D0;color:#fff}
html[data-nivel="m2"] .rtop .x{background:none;border-color:#9FE8D0;color:#fff}
html[data-nivel="m2"] .rtop .rt::after{content:"M2";margin-left:8px;background:#9FE8D0;color:#0D5C63;border-radius:99px;padding:1px 9px;font:700 .7rem var(--f-mono);letter-spacing:.08em;vertical-align:middle}
html[data-nivel="m2"] body.rep.foco .racc a{background:none;border-color:#9FE8D0;color:#fff}
