/* TCW Studio permanent accordion */

aside {
  height: 100vh;
  overflow-y: auto !important;
  overflow-x: hidden;
  position: sticky;
  top: 0;
  scrollbar-width: thin;
  scrollbar-color: #51597c #12162a;
}

aside::-webkit-scrollbar {
  width: 11px;
}

aside::-webkit-scrollbar-track {
  background: #12162a;
}

aside::-webkit-scrollbar-thumb {
  background: #51597c;
  border-radius: 999px;
  border: 3px solid #12162a;
}

aside > .section {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.tcw-section-toggle {
  width: 100%;
  margin: 0;
  padding: 16px 0 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6f7fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.tcw-section-toggle:hover {
  color: #ffffff;
}

.tcw-section-chevron {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #262b4b;
  color: #cbd2eb;
  transition:
    transform .18s ease,
    background .18s ease;
}

aside > .section.tcw-open .tcw-section-chevron {
  transform: rotate(180deg);
  background: linear-gradient(135deg,#14d9ff,#d622ff);
  color: #07101a;
}

.tcw-section-body {
  padding-bottom: 12px;
}

aside > .section:not(.tcw-open) > .tcw-section-body {
  display: none;
}

.tcw-section-toggle:focus-visible {
  outline: 2px solid rgba(20,217,255,.75);
  outline-offset: 4px;
}

@media(max-width:980px) {
  aside {
    height: auto;
    max-height: none;
    overflow: visible !important;
    position: static;
  }
}