/* Compact prompt tools and a collapsible material library. */
#studioView .prompt-block .prompt-library-entry {
  gap: 6px;
}

#studioView .prompt-block .prompt-library-entry .manual-video-template,
#studioView .prompt-block .prompt-library-entry .manual-style-settings {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #3279d8;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

#studioView .prompt-block .prompt-library-entry .manual-video-template:active,
#studioView .prompt-block .prompt-library-entry .manual-style-settings:active {
  transform: scale(0.97);
}

#studioView .prompt-block .prompt-library-entry .manual-video-template.active,
#studioView .prompt-block .prompt-library-entry .manual-style-settings.active {
  border-color: rgba(37, 99, 235, 0.32);
  background: #edf6ff;
}

#studioView .manual-prompt-actions {
  display: flex;
  justify-content: flex-start;
}

#studioView .manual-prompt-actions .manual-asset-library-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: #f7fbff;
  color: #3279d8;
  font-size: 12px;
  font-weight: 750;
  box-shadow: none;
}

#studioView .manual-asset-library-toggle .asset-library-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

#studioView .manual-asset-library-toggle[aria-expanded="false"] .asset-library-chevron {
  transform: rotate(-135deg) translate(-1px, -1px);
}

#personForm.asset-library-collapsed > .creator-picks {
  display: none !important;
}

html.theme-dark #studioView .prompt-block .prompt-library-entry .manual-video-template,
html.theme-dark #studioView .prompt-block .prompt-library-entry .manual-style-settings,
html.theme-dark #studioView .manual-prompt-actions .manual-asset-library-toggle {
  border-color: rgba(217, 169, 87, 0.38);
  background: rgba(45, 35, 18, 0.76);
  color: #e6c47c;
}

@media (max-width: 380px) {
  #studioView .prompt-block .prompt-library-entry {
    gap: 5px;
  }

  #studioView .prompt-block .prompt-library-entry .manual-prompt-library,
  #studioView .prompt-block .prompt-library-entry .manual-video-template,
  #studioView .prompt-block .prompt-library-entry .manual-style-settings,
  #studioView .prompt-block .prompt-library-entry .manual-hot-replication {
    padding-inline: 10px;
    font-size: 11px;
  }
}
