/* Guía de luz y color: esquemas accesibles y adaptables, sin JavaScript. */
.light-guide .rich-copy{min-width:0}
.light-guide h2[id]{scroll-margin-top:7rem}
.light-figure{margin:1.5rem 0 1.8rem;padding:1.15rem;border:2px solid var(--night);background:#e9f1fa;box-shadow:5px 5px 0 var(--yellow)}
.light-figure figcaption{margin-top:.85rem;color:var(--muted);font-size:.9rem;line-height:1.5}
.light-spectrum,.light-paths>div,.light-mixes>div,.light-rays>div,.light-sky>div{min-width:0;padding:1rem;border:2px solid var(--night);background:var(--paper)}
.light-spectrum-top{display:flex;align-items:center;justify-content:center;gap:clamp(.35rem,2vw,1rem);font-weight:850;text-align:center}
.light-spectrum-top b{color:#164e82;font-size:1.6rem}
.light-prism{color:#164e82;font-size:2.2rem;line-height:1}
.light-spectrum-band{height:3.1rem;margin:1rem 0 .6rem;border:2px solid var(--night);background:linear-gradient(90deg,#7651af 0%,#3864c5 19%,#47a483 39%,#f2d64a 60%,#ef9a48 79%,#d54854 100%)}
.light-spectrum-labels{display:flex;justify-content:space-between;gap:.35rem;text-align:center;font-size:.8rem;line-height:1.25}
.light-spectrum-labels>*{min-width:0}.light-spectrum-labels strong{color:var(--night)}.light-spectrum-labels small{font-size:.75rem;font-weight:500}
.light-paths,.light-sky{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.light-paths>div,.light-sky>div{text-align:center}
.light-paths>div:nth-child(2),.light-sky>div:nth-child(2){background:#fff4cf}
.light-paths-mark{display:grid;place-items:center;min-height:3.6rem;color:#164e82;font-size:2rem;font-weight:900;white-space:nowrap}
.light-paths-source{color:#c46d12}
.light-paths strong,.light-mixes strong,.light-rays strong,.light-sky strong{display:block;color:var(--night)}
.light-paths small,.light-mixes small,.light-rays small,.light-sky small{display:block;margin-top:.4rem;color:var(--muted);font-size:.84rem;line-height:1.35}
.light-mixes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.light-mixes>div:first-child{background:#e9f5f5}.light-mixes>div:last-child{background:#fff4cf}
.light-mixes span,.light-rays span,.light-sky span{display:block;color:var(--coral-dark);font-size:.75rem;font-weight:900;letter-spacing:.04em}
.light-mix-equation{display:flex;align-items:center;justify-content:center;gap:.55rem;margin:1rem 0;font-size:1.2rem}
.light-swatch{display:block;flex:none;width:2.4rem;height:2.4rem;border:2px solid var(--night);border-radius:50%}
.light-red{background:#db4f55}.light-green{background:#42a56e}.light-yellow{background:#f4d94c}.light-cyan{background:#5bd1da}
.light-rays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.light-rays strong{min-height:5.1rem;margin:.65rem 0 .3rem;white-space:nowrap;text-align:center;font-family:ui-monospace,Consolas,monospace;font-size:1.25rem;line-height:1.25;color:#164e82}
.light-rays>div:nth-child(2),.light-rays>div:nth-child(3){background:#f1f5e5}
.light-sky strong{min-height:2.3rem;margin:.8rem 0 .3rem;font-size:1.25rem;white-space:nowrap;color:#164e82}
.light-practice{margin:1.3rem 0;padding:1.1rem 1.2rem;border:2px solid var(--night);background:#fff8dd}
.light-practice>p{margin:0 0 .7rem}.light-practice details{border-top:1px solid var(--line);padding-top:.65rem}
.light-practice summary{width:max-content;max-width:100%;min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--coral-dark);font-weight:850;text-decoration:underline;text-underline-offset:3px}
.light-practice details p{margin:.5rem 0 0}.light-credit{margin-top:2rem!important;font-size:.9rem;color:var(--muted)}
.light-guide :focus-visible{outline:3px solid var(--coral-dark);outline-offset:3px}
@media(max-width:740px){.light-paths,.light-sky{grid-template-columns:1fr}}
@media(max-width:550px){.light-figure{padding:.8rem}.light-mixes,.light-rays{grid-template-columns:1fr}.light-spectrum-top{font-size:.85rem}.light-spectrum-labels{font-size:.65rem}.light-spectrum-labels small{font-size:.62rem}.light-practice{padding:1rem}}
