.all-submissions-table thead th.reviews_stats {
  color: var(--color-fg-muted);
}
.all-submissions-table thead th.reviews_stats div {
  font-size: 0.75rem;
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table thead th.title {
    width: 130px;
  }
}
@media only screen and (min-width: 1280px) {
  .all-submissions-table thead th.title {
    width: 260px;
  }
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table thead th.comments {
    width: 110px;
  }
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table thead th.organization_name {
    width: 110px;
  }
}
.all-submissions-table tbody tr[data-archived=True] {
  background-color: var(--color-base-200);
}
.all-submissions-table tbody td.title {
  position: relative;
  padding-block-start: 15px;
  font-weight: var(--font-weight-bold);
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table tbody td.title {
    display: flex;
    align-items: center;
  }
}
@media only screen and (min-width: 1280px) {
  .all-submissions-table tbody td.title {
    display: table-cell;
  }
}
.all-submissions-table tbody td.comments {
  display: table-cell;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  background: url("./../images/quote-outline.e5f1c530def6.svg") transparent no-repeat center center;
  background-size: 24px;
}
.all-submissions-table tbody td.reviews_stats {
  display: none;
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table tbody td.reviews_stats {
    display: table-cell;
  }
}
.all-submissions-table tbody td.fund, .all-submissions-table tbody td.round, .all-submissions-table tbody td.screening_status {
  hyphens: auto;
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table tbody td.organization_name {
    padding-inline-start: 15px;
  }
}
.all-submissions-table tbody td > span.mobile-label {
  display: inline-block;
  width: 90px;
}
.all-submissions-table tbody td > span.mobile-label.phase, .all-submissions-table tbody td > span.mobile-label.title {
  display: none;
}
@media only screen and (min-width: 1024px) {
  .all-submissions-table tbody td > span.mobile-label {
    display: none;
  }
}

.form--report-frequency .form__group--schedule {
  display: flex;
  align-items: center;
}
.form--report-frequency .form__group.id_occurrence {
  width: 15%;
}
.form--report-frequency .form__group.id_frequency {
  margin: 0;
}
.form__file-list ul {
  margin: 0.5rem 0;
}
.form__help {
  margin: 0;
  color: var(--color-fg-muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.profile .form__help {
  margin-block-start: 0;
}
.form__item {
  position: relative;
  padding-block-start: 0.5rem;
}
.form__select {
  max-width: 385px;
}
.form__select:has(.choices) {
  background: none;
}
.form__select select[multiple=multiple] {
  display: block;
}
.form select.invalid,
.form input[type=url].invalid,
.form input[type=date].invalid,
.form input[type=time].invalid,
.form input[type=email].invalid,
.form input[type=number].invalid,
.form input[type=password].invalid,
.form input[type=datetime-local].invalid {
  --input-color: var(--color-error);
}
.form__error select,
.form__error input[type=url],
.form__error input[type=text],
.form__error input[type=date],
.form__error input[type=time],
.form__error input[type=email],
.form__error input[type=number],
.form__error input[type=password],
.form__error input[type=datetime-local] {
  --input-color: var(--color-error);
}
.form__error-text {
  max-width: 200px;
  padding: 5px;
  margin: 20px 0 0;
  color: var(--color-error-content);
  background: var(--color-error);
  z-index: 2;
}
@media only screen and (min-width: 1024px) {
  .form__error-text {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    max-width: auto;
    margin: 0;
  }
  .form__error-text::before {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-start: -10px;
    border-color: transparent var(--color-error) transparent transparent;
    border-style: solid;
    border-width: 5px 10px 5px 0;
    content: "";
  }
}
.form input[type=file] {
  position: absolute;
  inset-inline-start: -9999px;
}
@media (scripting: none) {
  .form input[type=file] {
    display: block;
  }
}
.form__comments ul#id_visibility {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reviews-list {
  position: relative;
  table-layout: auto;
}
.reviews-list__th:first-child {
  font-weight: 600;
}
.reviews-list__td {
  max-width: 340px;
  min-width: 240px;
  padding: 20px;
}
.reviews-list__td--author > div {
  display: flex;
  align-items: center;
}
.reviews-list__td--author > div img {
  margin-inline-start: 7px;
}
.reviews-list__th, .reviews-list__td {
  display: table-cell;
  height: auto;
  vertical-align: top;
}
.reviews-list__th:first-child, .reviews-list__td:first-child {
  width: 160px;
  background-color: var(--color-base-200);
}
.reviews-list__th--author {
  position: sticky;
  inset-block-start: 0;
  background-color: var(--color-base-100);
}

.reviews-sidebar__decision {
  position: relative;
  font-size: 14px;
  border-block-start: 1px solid var(--color-base-300);
  border-block-end: 1px solid var(--color-base-300);
  margin-block-end: 20px;
  padding-block-start: 10px;
}
.reviews-sidebar__item--decision {
  margin-block-end: 10px;
  font-weight: var(--font-weight-semibold);
}
.reviews-sidebar__item--decision:first-child .reviews-sidebar__outcome::before, .reviews-sidebar__item--decision:first-child .reviews-sidebar__outcome::after {
  position: absolute;
  inset-block-start: -23px;
  inset-inline-start: 5px;
}
.reviews-sidebar__item--decision:first-child .reviews-sidebar__outcome::after {
  width: 0;
  height: 0;
  content: "";
  border-bottom: 12px solid var(--color-white);
  border-inline-end: 8px solid transparent;
  border-inline-start: 8px solid transparent;
  inset-block-start: -21px;
}
.reviews-sidebar__item--decision:first-child .reviews-sidebar__outcome::before {
  width: 0;
  height: 0;
  content: "";
  border-bottom: 12px solid var(--color-base-300);
  border-inline-end: 8px solid transparent;
  border-inline-start: 8px solid transparent;
}
.reviews-sidebar__item.no-response {
  color: var(--color-fg-muted);
}
.reviews-sidebar__item .yes {
  color: var(--color-success);
}
.reviews-sidebar__item .maybe {
  color: var(--color-warning);
}
.reviews-sidebar__item .no {
  color: var(--color-error);
}
.reviews-sidebar__no-reviews {
  color: var(--color-base-300);
}
.reviews-sidebar__name {
  position: relative;
  display: flex;
  align-items: center;
}
.reviews-sidebar__name img {
  margin-inline-start: 7px;
}
.reviews-sidebar__outcome {
  position: relative;
}
.reviews-sidebar__outcome.agree {
  color: var(--color-success);
}
.reviews-sidebar__outcome.disagree {
  color: var(--color-error);
}

.reviews-summary {
  display: none;
  background-color: transparent;
}
@media only screen and (min-width: 1024px) {
  .reviews-summary {
    display: table;
  }
}
.reviews-summary__tr {
  vertical-align: top;
  border-block-end: 0;
}
.reviews-summary__td {
  padding: 10px;
  vertical-align: middle;
  text-align: center;
}
.reviews-summary__td-width {
  width: max-content;
}

.counts-separator {
  color: var(--color-base-300);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
@media only screen and (min-width: 768px) {
  .sidebar {
    width: 345px;
  }
}
.sidebar__inner {
  padding: 20px;
  border: 1px solid var(--color-base-300);
}
@media only screen and (min-width: 768px) {
  .sidebar__inner--actions--instructions {
    margin-block-start: 10px;
    margin-inline-start: 10px;
  }
}
.sidebar__project {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  align-self: flex-start;
  inset-block-start: 2rem;
}
.sidebar__paf-approvals--pending {
  color: var(--color-base-300);
}
.sidebar__paf-approvals--approved {
  color: var(--color-black);
}

.two-factor {
  position: relative;
}
.two-factor__back {
  position: absolute;
  inset-block-start: 0.5rem;
}
.two-factor h1,
.two-factor h2 {
  font-weight: 700;
}
.two-factor .mb-3 {
  margin-block-end: 1rem;
}

label[for=id_generator-token] {
  margin-inline-end: 0.5rem;
}

#id_generator-token {
  -moz-appearance: textfield;
  line-height: 1.5;
  width: 8ch;
  padding: 3px;
}
#id_generator-token::-webkit-outer-spin-button, #id_generator-token::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wrapper {
  width: 100%;
}
.wrapper--sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .wrapper--sidebar {
    flex-direction: row;
  }
  .wrapper--sidebar > div:last-child {
    flex-basis: 210px;
  }
}
.wrapper--status-bar-outer {
  padding: 20px 0;
  background-color: var(--color-base-100);
  border-block-end: 3px solid var(--color-base-200);
}
.wrapper--status-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-block-end: 20px;
}
@media only screen and (min-width: 768px) {
  .wrapper--status-bar-inner {
    margin-block-end: 0;
  }
}
