#cutSceneTools {
  box-sizing: border-box;
  min-width: 0;
  padding: .4rem .65rem .5rem;
  border-block: 1px solid #39424d;
  background: #1c222a;
  color: #eff4fa;
}
#cutSceneTools .scene-tool-heading {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  min-width: 0;
  padding-bottom: .24rem;
  line-height: 1.4;
}
#cutSceneTools strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .88rem;
}
#cutSceneTools small {
  flex: none;
  color: #b9c5d2;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
#cutSceneTools :is(.scene-tool-edits,.scene-tool-create) {
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
#cutSceneTools button {
  flex: none;
  min-height: 44px;
  padding: .3rem .68rem;
  margin: 0;
  border: 1px solid #576471;
  border-radius: .45rem;
  color: #f5f8fc;
  background: #2a333e;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  touch-action: manipulation;
}
#cutSceneTools .scene-tool-create button {
  color: #aadcf6;
  background: transparent;
  border-color: transparent;
  padding-inline: .5rem;
}
#cutSceneTools button:not(:disabled):hover { background: #374b60; }
#cutSceneTools button:focus-visible { outline: 2px solid #9bdcff; outline-offset: -2px; }
#cutSceneTools button:disabled { color: #a8b0b8; opacity: .53; }
#cutSceneTools .scene-tool-status {
  display: block;
  font-size: .8rem;
  color: #c4e7f8;
}
#cutSceneTools .scene-tool-status:empty { display: none; }
.cut-monitor.expanded-editor .wave-timeline:has(#cutSceneTools) {
  min-height: 540px;
  height: auto;
}
.cut-monitor.expanded-editor .wave-timeline:has(#cutSceneTools) .wave-surface {
  max-height: max(180px, 42dvh);
}
@media (min-width: 1000px) {
  #cutSceneTools { display: flex; flex-wrap: wrap; align-items: center; column-gap: .7rem; }
  #cutSceneTools .scene-tool-heading { flex: 1 0 100%; }
  #cutSceneTools .scene-tool-status { flex-basis: 100%; }
}
