@media (min-width: 981px) {
  .app-shell {
    transition: grid-template-columns 0.22s cubic-bezier(0.2, 0, 0, 1);
  }

  .app-shell:has(> .sidebar:is(:hover, :focus-within)) {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  @media (prefers-reduced-motion: reduce) {
    .app-shell {
      transition: none;
    }
  }

  .sidebar {
    scrollbar-width: none;
  }

  .sidebar::-webkit-scrollbar {
    height: 0;
    width: 0;
  }

  .sidebar:is(:hover, :focus-within) {
    overflow-y: auto;
    scrollbar-color: rgba(255, 255, 255, 0.42) transparent;
    scrollbar-width: thin;
  }

  .sidebar:is(:hover, :focus-within)::-webkit-scrollbar {
    height: 8px;
    width: 8px;
  }

  .sidebar:is(:hover, :focus-within)::-webkit-scrollbar-track {
    background: transparent;
  }

  .sidebar:is(:hover, :focus-within)::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.42);
    border-radius: 999px;
  }

  .sidebar:is(:hover, :focus-within) .nav-label,
  .sidebar:is(:hover, :focus-within) .sync-copy {
    white-space: normal;
  }

  .sidebar:is(:hover, :focus-within) .nav-label {
    flex: 1 1 auto;
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: normal;
  }
}

/* Ícones decorativos do menu: mesma área em desktop e no drawer móvel. */
.sidebar .nav-icon-3d {
  display: block;
  flex: 0 0 30px;
  height: 30px;
  object-fit: contain;
  width: 30px;
}

.sidebar .nav-list a,
.sidebar:is(:hover, :focus-within) .nav-list a {
  padding-block: 7px;
}

@media (min-width: 981px) {
  .sidebar:not(:hover):not(:focus-within) .nav-list a {
    padding-block: 6px;
  }
}
