@font-face{font-family:Figtree;src:url('./figtree.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Inter;src:url('./inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('./instrument-serif-italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}
.ec-bajada-serif,body .wp-site-blocks p.ec-bajada-serif{font-family:'Instrument Serif',Georgia,serif!important;font-style:italic!important;font-weight:400!important;font-size:clamp(1.6rem,2.8vw,2.6rem)!important;line-height:1.3!important;letter-spacing:-.015em;max-width:52ch}
body.page-id-79 .ec-portada-grafito .wp-block-cover__inner-container p.ec-bajada-serif{font-size:clamp(1.6rem,2.8vw,2.6rem)!important;color:#f2f0ea!important}
body.page-id-79 .ec-portada-grafito .wp-block-cover__inner-container h1{color:#f2f0ea!important}
:root,html[data-theme],html[saved-theme]{
 --display:Figtree,Arial,sans-serif;--body:Inter,Arial,sans-serif;
 --f-display:Figtree,Arial,sans-serif;--f-body:Inter,Arial,sans-serif;
 --r-display:Figtree,Arial,sans-serif;--r-body:Inter,Arial,sans-serif;
 --headerFont:Figtree,Arial,sans-serif;--bodyFont:Inter,Arial,sans-serif;
 --font:Inter,Arial,sans-serif;
 --bg:#f3f3f1;--paper:#f3f3f1;--surface:#fff;--surface-2:#ededeb;--panel:#eaeae7;--card:#fff;--sunk:#eaeae7;
 --ink:#171719;--text:#303033;--fg:#242427;--muted:#606064;--soft:#eaeae7;--line:#d1d1cf;
 --blue:#1f5fa6;--blue-soft:#e6edf6;--accent:#1f5fa6;--accent-soft:#b9d3f1;--focus:#1f5fa6;
 --band:#111112;--band-fg:#f2f0ea;--band-soft:#c4d9f1;
 --r-bg:#f3f3f1;--r-ink:#171719;--r-text:#303033;--r-muted:#606064;--r-panel:#eaeae7;--r-line:#d1d1cf;--r-blue:#1f5fa6;--r-blue-soft:#e6edf6;
 --light:#f3f3f1;--lightgray:#d1d1cf;--gray:#68686d;--darkgray:#36363a;--dark:#171719;--secondary:#1f5fa6;--tertiary:#174a7e;--highlight:#e6edf6;
}
html[data-theme=dark],html[saved-theme=dark],body.dark{
 --bg:#111112;--paper:#111112;--surface:#1a1a1c;--surface-2:#242427;--panel:#202022;--card:#1a1a1c;--sunk:#202022;
 --ink:#f2f0ea;--text:#deddd8;--fg:#deddd8;--muted:#bdbdb8;--soft:#242427;--line:#414144;
 --blue:#bfd4ed;--on-blue:#111112;--blue-soft:#202c3b;--accent:#bfd4ed;--focus:#bfd4ed;
 --r-bg:#111112;--r-ink:#f2f0ea;--r-text:#deddd8;--r-muted:#bdbdb8;--r-panel:#202022;--r-line:#414144;--r-blue:#bfd4ed;--r-blue-soft:#202c3b;
 --light:#111112;--lightgray:#414144;--gray:#bdbdb8;--darkgray:#deddd8;--dark:#f2f0ea;--secondary:#bfd4ed;--tertiary:#d5e2f2;--highlight:#202c3b;
}
body{font-family:Inter,Arial,sans-serif;line-height:1.65;background:var(--bg);color:var(--text)}
h1,h2,h3,h4,h5,h6,.article-title,.brand b,.page-title,.page-title a{font-family:Figtree,Arial,sans-serif!important;font-style:normal;letter-spacing:-.025em}
h1,h2{font-weight:750!important}h3,h4{font-weight:650!important}
h1 em,h2 em{font-family:inherit;font-style:normal}
button,input,textarea,select{font-family:Inter,Arial,sans-serif}
button,a,input,textarea,summary{transition:color .2s ease,background-color .2s ease,border-color .2s ease}
a{ text-underline-offset:.2em }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.ec-portada,.ec-navegacion{
 --bg:#111112;--paper:#111112;--surface:#202022;--surface-2:#29292c;--panel:#202022;--card:#202022;--sunk:#202022;
 --ink:#f2f0ea;--text:#deddd8;--fg:#f2f0ea;--muted:#bdbdb8;--soft:#242427;--line:#414144;--blue:#c4d9f1;--blue-soft:#253346;--accent:#bfd4ed;--focus:#bfd4ed;
 background:#111112!important;color:#deddd8;border-color:#414144;
}
.ec-portada h1,.ec-portada h2,.ec-portada h3,.ec-navegacion h1,.ec-navegacion .brand{color:#f2f0ea!important}
.ec-portada .eyebrow,.ec-portada .eb,.ec-portada .sub,.ec-portada .byline,.ec-portada .byline span{color:#bdbdb8}
.ec-portada .pill{color:#d5e2f2;border-color:#79797e}
.ec-navegacion a,.ec-portada a:not(.button):not(.btn){color:#d5e2f2}
.ec-portada .primary{background:#f2f0ea;color:#171719;border-color:#f2f0ea}
.ec-portada .byline img,.ec-portada .autor img,.garden-portrait,.mooc-author img{filter:grayscale(1);}
.ec-identidad{box-sizing:border-box;background:#111112;color:#f2f0ea;border-bottom:1px solid #414144;padding:13px max(20px,calc((100vw - 1280px)/2));display:flex;gap:12px 24px;align-items:center;justify-content:space-between;font:400 .875rem/1.5 Inter,Arial,sans-serif}
.ec-identidad a{color:#f2f0ea;text-decoration:none;background:none!important;font-weight:500}
.ec-identidad .ec-marca{display:flex;align-items:center;gap:12px;font-family:Figtree,Arial,sans-serif;font-size:1rem;font-weight:650}
.ec-identidad img{width:32px;height:32px;object-fit:contain;margin:0;border-radius:0}
.ec-identidad nav{display:flex;gap:18px;flex-wrap:wrap}.ec-identidad a:hover{text-decoration:underline}
.ec-identidad a:focus-visible{outline-color:#bfd4ed}
@media(max-width:600px){.ec-identidad{padding:12px 18px;flex-wrap:wrap}.ec-identidad nav{font-size:.8125rem;gap:16px}h1{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{transition:none!important}}

/* Tarjetas de laboratorios: paleta solicitada para la portada. */
body.page-id-79 main .entry-content > .wp-block-group:has(> #laboratorios){background:#171719!important;color:#f2f0ea!important}
body.page-id-79 main .entry-content > .wp-block-group:has(> #laboratorios) :is(h2,h3,p,strong){color:#f2f0ea!important}
body.page-id-79 main .entry-content > .wp-block-group:has(> #laboratorios) .wp-block-column{background:#202022!important;border-color:#414144!important;border-top-color:#79797e!important;color:#f2f0ea!important}
body.page-id-79 main .entry-content > .wp-block-group:has(> #laboratorios) .wp-block-button__link{background:#f2f0ea!important;color:#171719!important;border-color:#f2f0ea!important;font-style:normal!important}
body.page-id-79 main .entry-content > .wp-block-group:has(> #laboratorios) .wp-block-button__link:hover{background:#d8d7d2!important;border-color:#d8d7d2!important}
body.page-id-79 main .entry-content > .wp-block-group:has(> #laboratorios) a:not(.wp-block-button__link){color:#deddd8!important}
.ec-constelacion{background:#111112;max-width:1200px!important;width:100%;margin:24px auto 0!important}
.ec-constelacion iframe{display:block;border:0;width:100%;height:650px;background:#111112}
.ec-constelacion p{font-size:.875rem!important;color:#bdbdb8!important;margin-top:8px!important}
@media(max-width:600px){.ec-constelacion iframe{height:700px}}

/* Escala más contenida, según revisión de Elver. */
body.page-id-79 .ec-portada-grafito .wp-block-cover__inner-container h1{font-size:clamp(2.5rem,4.5vw,4.7rem)!important;line-height:1.06!important}
body.page-id-79 .wp-site-blocks h2{font-size:clamp(1.65rem,2.6vw,2.65rem)!important;line-height:1.16!important}
body.page-id-79 .wp-site-blocks h3{font-size:clamp(1.15rem,1.5vw,1.45rem)!important;line-height:1.25!important}
.ec-portada h1{font-size:clamp(2rem,3.4vw,3.25rem)!important;line-height:1.12!important}
.ec-bajada-serif,body .wp-site-blocks p.ec-bajada-serif,body.page-id-79 .ec-portada-grafito .wp-block-cover__inner-container p.ec-bajada-serif{font-size:clamp(1.35rem,2vw,2rem)!important}
button,.button,.btn,.wp-block-button__link{font-style:normal!important}
.ec-portada .hero-visual{background:radial-gradient(ellipse,#29292c 0%,transparent 68%)}
.ec-portada .visual-center{font-family:Figtree,Arial,sans-serif;color:#deddd8}
.ec-portada .visual-center strong{color:#f2f0ea}

/* La navegación nueva de la Ruta usa también su propio conjunto pv. */
:root{--pv-ink:#171719;--pv-text:#303033;--pv-muted:#606064;--pv-bg:#f3f3f1;--pv-panel:#eaeae7;--pv-line:#d1d1cf;--pv-brand:#1f5fa6;--pv-brand-soft:#e6edf6}
.ec-navegacion,.ec-portada,html[data-theme=dark],html[saved-theme=dark],body.dark{--pv-ink:#f2f0ea;--pv-text:#deddd8;--pv-muted:#bdbdb8;--pv-bg:#111112;--pv-panel:#303033;--pv-line:#414144;--pv-brand:#bfd4ed;--pv-brand-soft:#253346}
.ec-navegacion .idioma :is(a[aria-current],button[aria-pressed=true]),html[data-theme=dark] .idioma :is(a[aria-current],button[aria-pressed=true]),body.dark .idioma :is(a[aria-current],button[aria-pressed=true]){background:#f2f0ea;color:#171719!important}
.ec-navegacion .brand :is(b,strong){color:#f2f0ea!important}.ec-navegacion .brand small{color:#bdbdb8!important}

/* Las herramientas de trabajo claras mantienen su propia superficie y tinta. */
.pv{--pv-ink:#171719;--pv-text:#303033;--pv-muted:#606064;--pv-panel:#eaeae7;--pv-brand:#1f5fa6;--pv-brand-soft:#e6edf6;--pv-line:#d1d1cf;--ink:#171719;--text:#303033;--muted:#606064;--blue:#1f5fa6;color:#303033}
.ec-portada .pv :is(h1,h2,h3,h4){color:#171719!important}
.pv .pv-btn{background:#1f5fa6!important;color:#fff!important}
html body nav.top nav.indice{background:#111112}
html body nav.top nav.indice a{color:#deddd8;border-color:#414144}
html body nav.top nav.indice a b{color:#bdbdb8}
html body nav.top nav.indice a.activo{background:#f2f0ea;color:#171719}
.ec-portada .pill{color:#d5e2f2!important}
.ec-portada .btn:not(.sec):not(.secondary){background:#f2f0ea;color:#171719}
.ec-navegacion .idioma a[aria-current],.ec-portada .idioma a[aria-current],html[data-theme=dark] .idioma a[aria-current]{background:#f2f0ea!important;color:#171719!important}
.recorrido .n{background:#303033!important;color:#f2f0ea!important}
html:not([data-theme=dark]) .toc .n{color:#171719!important}
.mod .n{color:var(--ink)}
.callout-title{color:var(--ink)}
.callout-title p{color:var(--ink)!important}

html body nav.top nav.indice a{background:#202022!important;color:#deddd8!important}html body nav.top nav.indice a.activo{background:#f2f0ea!important;color:#171719!important}

/* Estados y etiquetas de análisis: conservar las categorías con tinta legible. */
.pstep.final{background:#94630d!important;color:#fff!important}
:root[data-theme=light]{--f2:#176967;--accent-2:#176967;--f7:#48631f}
@media(prefers-color-scheme:light){:root:not([data-theme=dark]):not([saved-theme=dark]){--f2:#176967;--accent-2:#176967;--f7:#48631f}}
html[data-theme=dark] .par-bar div{color:#171719}
.gu-si{background:#356320!important;color:#fff!important}


/* Revisión de contraste del 29-11-2026. */
/* Modo oscuro del sistema en los sitios que lo admiten (el enlace lleva data-tema=auto). */
@media(prefers-color-scheme:dark){:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]){--bg:#111112;--paper:#111112;--surface:#1a1a1c;--surface-2:#242427;--panel:#202022;--card:#1a1a1c;--sunk:#202022;--ink:#f2f0ea;--text:#deddd8;--fg:#deddd8;--muted:#bdbdb8;--soft:#242427;--line:#414144;--blue:#bfd4ed;--on-blue:#111112;--blue-soft:#202c3b;--accent:#bfd4ed;--focus:#bfd4ed;--r-bg:#111112;--r-ink:#f2f0ea;--r-text:#deddd8;--r-muted:#bdbdb8;--r-panel:#202022;--r-line:#414144;--r-blue:#bfd4ed;--r-blue-soft:#202c3b;--pv-ink:#f2f0ea;--pv-text:#deddd8;--pv-muted:#bdbdb8;--pv-bg:#111112;--pv-panel:#303033;--pv-line:#414144;--pv-brand:#bfd4ed;--pv-brand-soft:#253346}}
a.saltar{background:#1f5fa6;color:#fff}
.toc .n{color:#1f5fa6}
:is(.breadcrumb-element,.breadcrumb-container) p{color:var(--darkgray)}
/* Ajustes que solo valen en oscuro: elegido a mano y oscuro del sistema. */
html:is([data-theme=dark],[saved-theme=dark]) .toc .n{color:#bfd4ed!important}
html:is([data-theme=dark],[saved-theme=dark]) section>h2>span.n{color:#bfd4ed!important}
html:is([data-theme=dark],[saved-theme=dark]) .mo-ciclo{color:#deddd8}html:is([data-theme=dark],[saved-theme=dark]) .mo-ciclo b{color:#bfd4ed}html:is([data-theme=dark],[saved-theme=dark]) .mo-ciclo span,html:is([data-theme=dark],[saved-theme=dark]) .momentos-nota{color:#bdbdb8}
html:is([data-theme=dark],[saved-theme=dark]) .card>b{color:#bfd4ed!important}
html:is([data-theme=dark],[saved-theme=dark]) a.saltar{background:#f2f0ea;color:#171719}
@media(prefers-color-scheme:dark){
:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .toc .n{color:#bfd4ed!important}
:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) section>h2>span.n{color:#bfd4ed!important}
:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .mo-ciclo{color:#deddd8}:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .mo-ciclo b{color:#bfd4ed}:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .mo-ciclo span,:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .momentos-nota{color:#bdbdb8}
:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .card>b{color:#bfd4ed!important}
:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) a.saltar{background:#f2f0ea;color:#171719}
:root:has(#ec-identidad-css[data-tema=auto]):not([data-theme=light]):not([saved-theme=light]) .par-bar div{color:#171719}
}

/* Contador y selector de idioma de la barra común (29-11-2026). */
.ec-identidad{flex-wrap:wrap}
.ec-extra{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}
.ec-identidad .ec-idioma{display:inline-flex;align-items:center;gap:2px;border:1px solid #414144;border-radius:999px;padding:3px 4px 3px 9px}
.ec-identidad .ec-idioma svg{width:16px;height:16px;color:#bdbdb8;margin-right:4px}
.ec-identidad .ec-idioma a{padding:3px 9px;border-radius:999px;font-size:.8125rem;font-weight:650;color:#f2f0ea}
.ec-identidad .ec-idioma a[aria-current]{background:#f2f0ea!important;color:#171719!important}
.ec-identidad .ec-contador{display:inline-flex;gap:14px}
.ec-identidad .ec-c{display:inline-flex;align-items:center;gap:6px;color:#bdbdb8;font-size:.8125rem}
.ec-identidad .ec-c svg{width:28px;height:28px;padding:5px;box-sizing:border-box;border-radius:50%;background:#202022;border:1.5px solid #79797e;color:#f2f0ea}
.ec-identidad .ec-c b{color:#f2f0ea;font-family:Figtree,Arial,sans-serif;font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:600px){.ec-identidad .ec-c small{display:none}}
/* Círculos del contador de la Ruta: icono claro sobre grafito. */
.ec-portada .circ,.portada.ec-portada .circ{background:linear-gradient(#202022,#202022) padding-box,linear-gradient(180deg,#bfd4ed,#79797e) border-box!important;color:#f2f0ea!important}
