/* JereChess 2.1 · Análisis: identidad aprobada, sin alterar motor, posiciones, tablero ni persistencia. */
html[data-jc-theme] body[data-jc-theme-module="analisis"]{
 --an-bg:var(--jc21-theme-bg,#080808);--an-text:var(--jc21-theme-text,#fff);
 --an-accent:var(--jc21-theme-accent,#e32936);--an-action:var(--jc21-action-text,var(--an-bg));
 --jc-page:var(--an-bg);--jc-text:var(--an-text);--jc-muted:var(--an-text);
 --jc-panel:var(--an-bg);--jc-panel-alt:var(--an-bg);--jc-surface:var(--an-bg);
 --jc-control:var(--an-bg);--jc-control-hover:var(--an-bg);--jc-border:var(--an-accent);
 --jc-border-strong:var(--an-accent);--jc-primary:var(--an-bg);--jc-primary-hover:var(--an-bg);
 --jc-input:var(--an-bg);--jc-font:Montserrat,Arial,sans-serif;
 background:var(--an-bg)!important;color:var(--an-text)!important;
 font-family:Montserrat,Arial,sans-serif!important;
}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(.shell,.layout,.sidebar,.board-area,.panel,.moves,.chart-wrap,.position-settings,.board-appearance-settings,.engine-grid>div,.analysis-library,.exploration-bar,.pinned-variation,.history-branch,.variation-details,.import-bottom,.ad-placeholder){
 background-color:var(--an-bg)!important;background-image:none!important;color:var(--an-text)!important;
 border-color:var(--an-accent)!important;box-shadow:none!important;
}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(.panel h2,.panel strong,.panel p,.panel small,.panel label,.chart-status,.variation-line,.variation-text,.variation-move,.moves,.move,.move-number,.engine-grid small,.analysis-library p,#counter,#status,#engineStatus,#analysisLibraryStatus){color:var(--an-text)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(.move,.move.black-turn,.move-number,.analysis-item,.variation-item){background:var(--an-bg)!important;border-color:var(--an-accent)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(.move.active,.move[aria-current="true"],.variation-move.active){background:var(--an-accent)!important;color:var(--an-action)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(button:not(.jere-tab):not(.jere-analysis-tab):not(.jc-signout):not(.jc-mobile-toggle):not(.jere-explore-trigger):not(.jc21-theme-trigger):not(.jc21-theme-choice):not(.jere-close):not(.jere-entry-btn),.filebutton){
 background:var(--an-bg)!important;border-color:var(--an-accent)!important;color:var(--an-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(button:not(.jere-tab):not(.jere-analysis-tab):not(.jc-signout):not(.jc-mobile-toggle):not(.jere-explore-trigger):not(.jc21-theme-trigger):not(.jc21-theme-choice):not(.jere-close):not(.jere-entry-btn),.filebutton):is(:hover,:focus-visible){
 background:var(--an-accent)!important;color:var(--an-action)!important;
}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(textarea,input[type=text],select,.board-appearance-settings select,.position-settings select){background:var(--an-bg)!important;color:var(--an-text)!important;border-color:var(--an-accent)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(.chart-wrap,#evalChart,.moves,.board-appearance-settings,.position-settings){border-color:var(--an-accent)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] :is(.analysis-library .eyebrow,.analysis-library .badge,.panel .eyebrow){color:var(--an-accent)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] .jc21-theme-trigger{background:var(--an-bg)!important;color:var(--an-text)!important;border-color:var(--an-accent)!important;}
html[data-jc-theme] body[data-jc-theme-module="analisis"] .jc21-theme-trigger:hover{color:var(--an-accent)!important;}
/* No se modifica #board, .square, .piece, sus temas, ni la barra de evaluación. */
