/* The editorial desk: three paper lanes on the turf (pre-match kits,
   post-match reports, story finder), each card a status chip and one next
   step. The lanes are the top-level surfaces and carry the hard shadow; the
   cards inside them only take the subtle border. */

.pitch-site--app .editorial-desk {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 78rem;
  width: 100%;
}

.pitch-site--app .editorial-desk__bar {
  align-items: center;
  color: var(--ps-cream-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 16px;
}

.pitch-site--app .editorial-desk__covering {
  margin: 0;
}

.pitch-site--app .editorial-desk__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-inline-start: auto;
}

.pitch-site--app .editorial-desk__filter {
  border: 1px solid var(--ps-cream-soft);
  border-radius: 999px;
  color: var(--ps-cream);
  font-size: 14px;
  padding: 4px 12px;
  text-decoration: none;
}

.pitch-site--app .editorial-desk__filter:hover {
  border-color: var(--ps-yellow);
}

.pitch-site--app .editorial-desk__filter.is-active {
  background: var(--ps-cream);
  border-color: var(--ps-cream);
  color: var(--ps-ink);
  font-weight: 600;
}

.pitch-site--app .editorial-desk__lanes {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pitch-site--app .editorial-desk__lane {
  background: var(--ps-paper);
  border: 2px solid var(--ps-ink);
  border-radius: 10px;
  box-shadow: var(--ps-hard-shadow);
  color: var(--ps-ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  min-width: 0;
  padding: 14px;
}

.pitch-site--app .editorial-desk__lane--setup {
  align-self: center;
  max-width: 34rem;
}

.pitch-site--app .editorial-desk__lane-head {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.pitch-site--app .editorial-desk__heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.pitch-site--app .editorial-desk__count {
  color: var(--ps-ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-inline-start: auto;
}

.pitch-site--app .editorial-desk__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  min-height: 0;
  padding: 0;
}

.pitch-site--app .editorial-desk__card {
  background: var(--ps-paper-raised);
  border: 1px solid rgba(14, 17, 17, 0.14);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px;
}

.pitch-site--app .editorial-desk__card-top {
  align-items: center;
  color: var(--ps-ink-soft);
  display: flex;
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 8px;
  margin: 0;
}

.pitch-site--app .editorial-desk__card-top > :last-child {
  margin-inline-start: auto;
}

.pitch-site--app .editorial-desk__lead {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pitch-site--app .editorial-desk__title {
  color: var(--ps-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.pitch-site--app .editorial-desk__title:hover {
  text-decoration: underline;
}

.pitch-site--app .editorial-desk__title--story {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
}

.pitch-site--app .editorial-desk__facts {
  align-items: center;
  color: var(--ps-ink-soft);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 4px 12px;
  margin: 0;
}

.pitch-site--app .editorial-desk__fact {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}

.pitch-site--app .editorial-desk__figure-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pitch-site--app .editorial-desk__figure > :last-child {
  color: var(--ps-ink);
  font-weight: 600;
}

.pitch-site--app .editorial-desk__form {
  display: inline-flex;
  gap: 3px;
}

.pitch-site--app .editorial-desk__form .form-result {
  font-size: 12px;
  height: 18px;
  min-inline-size: 18px;
}

.pitch-site--app .editorial-desk__sub {
  color: var(--ps-ink-soft);
  font-size: 13px;
  margin: 0;
}

.pitch-site--app .editorial-desk__sub a {
  color: inherit;
  text-decoration: none;
}

.pitch-site--app .editorial-desk__sub a:hover {
  color: var(--ps-ink);
  text-decoration: underline;
}

.pitch-site--app .editorial-desk__steps {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pitch-site--app .editorial-desk__step {
  align-self: flex-start;
  font-size: 13px;
  min-height: 0;
  min-width: 0;
  padding: 4px 10px;
}

.pitch-site--app .editorial-desk__empty {
  color: var(--ps-ink-soft);
  font-size: 14px;
  margin: 0;
}

.pitch-site--app .editorial-desk__all {
  color: var(--ps-ink);
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
  text-decoration: none;
}

.pitch-site--app .editorial-desk__all::after {
  content: " \2192";
}

.pitch-site--app .editorial-desk__all:hover {
  text-decoration: underline;
}

/* Where the stage is locked to the viewport the desk takes the turf the
   overlay leaves, and a long lane scrolls inside itself. */
@media (min-width: 75rem) and (min-height: 45rem) {
  .pitch-site--app .editorial-desk {
    flex: 1 1 0;
    min-height: 0;
  }

  .pitch-site--app .editorial-desk__lanes {
    align-items: stretch;
    flex: 1 1 0;
    min-height: 0;
  }

  .pitch-site--app .editorial-desk__cards {
    overflow-y: auto;
  }
}

@media (max-width: 49.999rem) {
  .pitch-site--app .editorial-desk__lanes {
    grid-template-columns: minmax(0, 1fr);
  }

  .pitch-site--app .editorial-desk__filters {
    margin-inline-start: 0;
  }
}
