.standing-wave{margin:clamp(2rem,6vw,5rem) 0;padding:clamp(1.25rem,4vw,3rem);border:1px solid #38466f;border-radius:1.2rem;background:linear-gradient(145deg,#101a35,#151a31)}
.standing-wave__intro{max-width:70ch}.standing-wave h2{font-size:clamp(1.6rem,3vw,2.3rem);margin:.35rem 0 1rem}.standing-wave p{line-height:1.7}
.standing-wave__controls{display:grid;grid-template-columns:1fr 1fr auto;gap:1rem;align-items:end;margin:1.5rem 0}
.standing-wave__controls label{display:grid;gap:.5rem;font-weight:650}.standing-wave__controls input{width:100%;accent-color:#ed60c4}.standing-wave__controls output{color:#dca8f4}
.standing-wave__controls button{min-height:44px;padding:.65rem 1rem;border:1px solid #a78ce9;border-radius:999px;background:#211d49;color:#fff;font:inherit;cursor:pointer}
.standing-wave__figure{margin:0;padding:1rem;border-radius:.8rem;background:#09132a}.standing-wave__figure svg{display:block;width:100%;height:auto;min-height:180px}
.standing-wave__figure figcaption{color:#c6cee4;font-size:.95rem;line-height:1.6}.standing-wave__legend{display:flex;flex-wrap:wrap;gap:.6rem 1.25rem;margin:.8rem 0;color:#e7eaf5}
.standing-wave__legend span::before{content:"";display:inline-block;width:.7rem;height:.7rem;margin-right:.45rem;border-radius:50%;background:currentColor}.standing-wave__legend .wave-a{color:#61c5ff}.standing-wave__legend .wave-b{color:#f08acc}.standing-wave__legend .wave-sum{color:#fff}
.standing-wave__formula{padding:1rem 1.2rem;border-left:3px solid #db72d7;background:#151b38;font-size:1.1rem;overflow-wrap:anywhere}.standing-wave__status{color:#b9c9f7}
.standing-wave__caveat{padding:1rem 1.2rem;border:1px solid #846e9b;border-radius:.7rem;background:#1c1a35}.standing-wave__sources{font-size:.98rem}
.standing-wave a{text-decoration:underline}
@media(max-width:760px){.standing-wave__controls{grid-template-columns:1fr}.standing-wave{margin:2rem 0;padding:1.2rem}.standing-wave__figure{padding:.45rem}.standing-wave__figure svg{min-height:150px}.standing-wave__figure svg text{display:none}}
