.workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.workspace * {
  box-sizing: border-box;
}

.panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(32, 56, 85, 0.08);
}

.queue-panel {
  padding: 14px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.panel-heading h2,
.schedule-toolbar h2 {
  margin: 0;
  color: #263645;
  font-size: 16px;
  font-weight: 650;
}

.count {
  min-width: 24px;
  padding: 2px 7px;
  color: #33526d;
  text-align: center;
  background: #e8f1f8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.panel-help {
  min-height: 34px;
  margin: 0 0 12px;
  color: #64788b;
  font-size: 12px;
  line-height: 1.4;
}

.button-primary {
  display: block;
  width: 100%;
  padding: 9px 12px;
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  background: #0b70b7;
  border: 1px solid #0b70b7;
  border-radius: 4px;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.button-primary:hover {
  background: #075f9d;
  border-color: #075f9d;
}

.button-primary:focus-visible {
  outline: 3px solid rgba(11, 112, 183, 0.25);
  outline-offset: 2px;
}

#queue {
  min-height: 348px;
}

.schedule-panel {
  min-width: 0;
}

.schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 14px;
  border-bottom: 1px solid #d9e2ec;
}

.status {
  overflow: hidden;
  color: #64788b;
  font-size: 12px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dp {
  overflow: hidden;
}

@media (max-width: 760px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  #queue {
    min-height: 130px;
  }

  .schedule-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .status {
    text-align: left;
    white-space: normal;
  }
}
