.studio-help {
  position: relative;
  flex: none;
}
.studio-help > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 12px 18px;
  border-radius: 9px;
  background: var(--accent, #252525);
  color: var(--on, #fff);
  font-weight: 650;
}
.studio-help > summary::-webkit-details-marker {
  display: none;
}
.studio-help-items {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 100;
  width: min(310px, calc(100vw - 32px));
  padding: 10px;
  background: var(--surface, #fff);
  color: var(--text, #252525);
  border: 1px solid var(--line, #ddd);
  border-radius: 12px;
  box-shadow: 0 12px 32px #0002;
}
.studio-help-items button,
.studio-help-items a {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: left;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  white-space: normal;
  line-height: 1.5;
}
.studio-help-items button:disabled {
  opacity: 0.5;
  cursor: default;
}
.studio-help-items a:hover,
.studio-help-items button:not(:disabled):hover {
  background: var(--soft, #eee);
}
.studio-help-items hr {
  border: 0;
  border-top: 1px solid var(--line, #ddd);
  margin: 6px;
}
.studio-help > summary:focus-visible {
  outline: 3px solid #8b9faf;
  outline-offset: 3px;
}

.studio-help > summary > span {
  font-size: 0;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16m-7-7 7 7 7-7' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.studio-help[open] > summary > span {
  transform: rotate(180deg);
}

.module-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.module-menu > summary::-webkit-details-marker {
  display: none;
}
.module-menu > summary::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16m-7-7 7 7 7-7' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.module-menu[open] > summary::after {
  transform: rotate(180deg);
}
