/* KDS toolbar: stable component classes, independent of Vue scope hashes. */
html #app .kitchen-monitor .kds-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 4px;
  align-content: space-between;
  flex-direction: column;
}

html #app .kitchen-monitor h2 {
  margin: 10px auto;
  width: 100%;
}

#app .kitchen-monitor .kds-density-control {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  font-size: 14px;
  flex-direction: row;
  align-content: center;
  width: 100%;
  justify-content: flex-end;
  position: absolute;
  top: 10px;
  right: 0;
}

#app .kitchen-monitor .kds-density-select {
  min-height: 2em;
  max-width: 100%;
  font: inherit;
  text-align: center;
}

#app .kitchen-header select {
  min-height: 2.5em;
}

#app .kitchen-header button {
  min-height: 2em;
}

/* Keep long translated titles clear of the controls on narrow screens. */
@media (max-width: 1050px) {
  #app .kitchen-monitor .kds-density-control {
    position: static;
    top: auto;
  }
}

