.ks-youtube-editor {
  margin: .65rem 0 1rem;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #f8fafc;
  color: #1f2937;
  font-size: .9rem;
}

.ks-youtube-editor > summary {
  padding: .55rem .8rem;
  color: #094067;
  cursor: pointer;
  font-weight: 600;
}

.ks-youtube-editor-body {
  display: grid;
  gap: .65rem;
  padding: 0 .8rem .8rem;
}

.ks-youtube-editor-body p { margin: 0; }
.ks-youtube-editor [hidden],
.ks-youtube-editor [data-status]:empty { display: none; }

.ks-youtube-editor [data-embed],
.ks-youtube-editor [data-width],
.ks-youtube-editor [data-height] {
  padding: .4rem .5rem;
  border: 1px solid #aebccc;
  border-radius: 4px;
  background: #fff;
  color: inherit;
}

.ks-youtube-editor [data-embed] {
  display: block;
  width: 100%;
  margin-top: .25rem;
  resize: vertical;
}

.ks-youtube-editor-size {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .9rem;
  margin-bottom: .65rem;
}

.ks-youtube-editor [data-preview] { max-width: 32rem; }
.ks-youtube-editor [data-preview] iframe { border-radius: 4px; }
