/* SIAPS - ondas discretas, restritas a parte inferior do menu.
   Somente decoracao; nao modifica os controles nem o conteudo. */
@media (min-width: 801px) {
  .sidebar { position: relative; isolation: isolate; overflow: hidden; }
  .sidebar::before, .sidebar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 165px;
    pointer-events: none;
    z-index: 0;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .sidebar::before {
    opacity: .55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 165' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop stop-color='%23065e68'/%3E%3Cstop offset='.6' stop-color='%230a414e'/%3E%3Cstop offset='1' stop-color='%230f293e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 55 C72 15 156 106 280 45 L280 165 L0 165 Z' fill='url(%23a)'/%3E%3C/svg%3E");
  }
  .sidebar::after {
    opacity: .60;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 165' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop stop-color='%230c8584'/%3E%3Cstop offset='.55' stop-color='%23065b65'/%3E%3Cstop offset='1' stop-color='%230d2a3c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 108 C100 83 170 142 280 100 L280 165 L0 165 Z' fill='url(%23b)'/%3E%3C/svg%3E");
  }
  .sidebar > * { position: relative; z-index: 1; }
  @media (prefers-reduced-motion: no-preference) {
    /* No looping animation: calm fixed accent. */
  }
}
