/* DW-152 — fondo de sonrisas y carpetas en las páginas legales (cabecera clara, bloque azul del título). */
:root{--wcp-l:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%2399B0D3' stroke-opacity='.42' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate(14 10) rotate(-12 12 12) scale(0.85)' stroke-width='1.47' d='M3 20.5h18a1.5 1.5 0 0 0 1.5-1.5V8.6a1.5 1.5 0 0 0-1.5-1.5h-9.3L9.9 4.6a1.5 1.5 0 0 0-1.1-.5H3A1.5 1.5 0 0 0 1.5 5.6V19A1.5 1.5 0 0 0 3 20.5Z'/%3E%3Cpath transform='translate(80 22) rotate(9)' d='M0 0Q9.0 6.48 18 0'/%3E%3Cpath transform='translate(104 58) rotate(15 12 12) scale(0.7)' stroke-width='1.79' d='M3 20.5h18a1.5 1.5 0 0 0 1.5-1.5V8.6a1.5 1.5 0 0 0-1.5-1.5h-9.3L9.9 4.6a1.5 1.5 0 0 0-1.1-.5H3A1.5 1.5 0 0 0 1.5 5.6V19A1.5 1.5 0 0 0 3 20.5Z'/%3E%3Cpath transform='translate(22 74) rotate(-16)' d='M0 0Q7.0 5.04 14 0'/%3E%3Cpath transform='translate(54 98) rotate(7 12 12) scale(0.78)' stroke-width='1.60' d='M3 20.5h18a1.5 1.5 0 0 0 1.5-1.5V8.6a1.5 1.5 0 0 0-1.5-1.5h-9.3L9.9 4.6a1.5 1.5 0 0 0-1.1-.5H3A1.5 1.5 0 0 0 1.5 5.6V19A1.5 1.5 0 0 0 3 20.5Z'/%3E%3Cpath transform='translate(112 122) rotate(-7)' d='M0 0Q8.0 5.76 16 0'/%3E%3Cpath transform='translate(62 52) rotate(4)' d='M0 0Q5.5 3.96 11 0'/%3E%3C/g%3E%3C/svg%3E");--wcp-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23A8C8EA' stroke-opacity='.16' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate(14 10) rotate(-12 12 12) scale(0.85)' stroke-width='1.47' d='M3 20.5h18a1.5 1.5 0 0 0 1.5-1.5V8.6a1.5 1.5 0 0 0-1.5-1.5h-9.3L9.9 4.6a1.5 1.5 0 0 0-1.1-.5H3A1.5 1.5 0 0 0 1.5 5.6V19A1.5 1.5 0 0 0 3 20.5Z'/%3E%3Cpath transform='translate(80 22) rotate(9)' d='M0 0Q9.0 6.48 18 0'/%3E%3Cpath transform='translate(104 58) rotate(15 12 12) scale(0.7)' stroke-width='1.79' d='M3 20.5h18a1.5 1.5 0 0 0 1.5-1.5V8.6a1.5 1.5 0 0 0-1.5-1.5h-9.3L9.9 4.6a1.5 1.5 0 0 0-1.1-.5H3A1.5 1.5 0 0 0 1.5 5.6V19A1.5 1.5 0 0 0 3 20.5Z'/%3E%3Cpath transform='translate(22 74) rotate(-16)' d='M0 0Q7.0 5.04 14 0'/%3E%3Cpath transform='translate(54 98) rotate(7 12 12) scale(0.78)' stroke-width='1.60' d='M3 20.5h18a1.5 1.5 0 0 0 1.5-1.5V8.6a1.5 1.5 0 0 0-1.5-1.5h-9.3L9.9 4.6a1.5 1.5 0 0 0-1.1-.5H3A1.5 1.5 0 0 0 1.5 5.6V19A1.5 1.5 0 0 0 3 20.5Z'/%3E%3Cpath transform='translate(112 122) rotate(-7)' d='M0 0Q8.0 5.76 16 0'/%3E%3Cpath transform='translate(62 52) rotate(4)' d='M0 0Q5.5 3.96 11 0'/%3E%3C/g%3E%3C/svg%3E")}
header.top,
html.force-light header.top,
footer.sitefoot:not(.wc-dark){background-image:var(--wcp-l)!important}
.ck-page .ck-hero{background-image:var(--wcp-d)}
/* Las páginas .ck-page se quedan en claro (documento y cabecera fijos). Solo cambia el patrón en cabecera/pie cuando el tema de minube sí pasa a oscuro (no ck-page). */
@media (prefers-color-scheme:dark){
  html:not(.force-light):not(:has(body.ck-page)) header.top,
  html:not(.force-light):not(:has(body.ck-page)) footer.sitefoot:not(.wc-dark){background-image:var(--wcp-d)}
}
html.force-dark header.top,
html.force-dark footer.sitefoot:not(.wc-dark){background-image:var(--wcp-d)}
