#plan {
  flex-grow: 1;
}
/* #juries { */
/* flex-grow: 0; */
/* width: fit-content; */
/* max-width: 50%; */
/* } */

#juries ul {
  display: table;
}
#juries ul li {
  display: table-row;
}
#juries ul li a {
  padding: 0 5px;
  width: 100%;
  flex: 1;
}
#juries .problem-line-number {
  padding: 10px 0px;
  width: 100%;
}

.row-button {
  flex-direction: row;
  cursor: pointer;
  margin: 0.5em 20px;
  border-radius: 10px;
  background: var(--secondary);
  padding: 20px;
  width: 45%;
  max-width: 30%;
  text-align: center;
}
.row-button:hover {
  background: var(--light-accent);
  color: var(--text);
}

.row-button.active {
  background: var(--dark);
  color: var(--light-text);
}

#possible-rounds > div {
  display: none;
}

#possible-rounds > div.show {
  display: block;
}

.forbidden_problems .btn {
  visibility: hidden;
}

.forbidden_problems .problem-line[data-type="p"] .problem-eternal-rejected {
  visibility: visible;
}
.forbidden_problems .problem-line[data-type="t"] .problem-rejected {
  visibility: visible;
}

.jury-change-btn {
  font-size: 2em;
  width: 200px;
  text-align: center;
  cursor: pointer;
  flex: 0;
  margin: 0 10px;
}

.jury-change-btn.active {
  color: var(--accent);
}

.jury-remark {
  display: none;
  flex: 1;
}
#juries.remarks .jury-remark {
  display: unset;
}
