/* CloudPelizzon CP-DOCS v0.9.12 / R17.4 — 16/10/2026
   Correção direcionada ao catálogo /modulos, INDEPENDENTE do perfil admin/client.
   Não altera o conteúdo armazenado em páginas. */
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content .cp174-dark-module-card,
html[data-cpdocs-theme="dark"] body.cp174-module-route main.content .cp174-dark-module-card,
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.doc-grid,.module-grid) > :is(a,article,section,div),
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.module-card,.doc-card){
 background:#0d293e!important;
 background-image:linear-gradient(145deg,#12364c 0%,#0c2438 100%)!important;
 border:1px solid #397f9d!important;
 color:#ecfaff!important;
 box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
}
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content .cp174-dark-module-card :is(h1,h2,h3,h4,h5,h6,b,strong,p,small,span,em),
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.doc-grid,.module-grid)>* :is(h2,h3,h4,p,b,strong,small,span),
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.module-card,.doc-card) :is(h2,h3,h4,p,b,strong,small,span) {
 color:#e8f7ff!important;opacity:1!important;text-shadow:none!important;
}
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content .cp174-dark-module-card a,
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.doc-grid,.module-grid) a,
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.module-card,.doc-card) a {
 color:#73dfff!important;opacity:1!important;text-decoration-color:#57cdec!important;
}
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content .cp174-dark-module-card:hover,
html[data-cpdocs-theme="dark"] body.cp174-module-route .doc-content :is(.doc-grid,.module-grid)>*:hover {
 border-color:#73dfff!important;
 box-shadow:0 0 0 1px #28b9f56a,0 12px 30px #0008!important;
}
/* Contraste seguro no tema claro, sem forçar o fundo escuro. */
html[data-cpdocs-theme="light"] body.cp174-module-route .doc-content :is(.doc-grid,.module-grid)>* :is(h2,h3,h4,a,b,strong,p,small,span){color:#17374d!important;opacity:1!important;}
html[data-cpdocs-theme="light"] body.cp174-module-route .doc-content :is(.doc-grid,.module-grid)>* a {color:#005d87!important;}
