#pilotSupportView {
  width: min(100%, 70rem);
}

.pilotSupportToolbar,
.pilotSupportActions,
.pilotSupportListHeader {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.pilotSupportToolbar,
.pilotSupportListHeader {
  justify-content: space-between;
}

.pilotSupportActions button[aria-pressed="true"] {
  color: white;
  background: var(--brand-primary, #6b4598);
}

.pilotSupportStatus:empty {
  display: none;
}

.pilotSupportLayout {
  display: grid;
  grid-template-columns: minmax(15rem, .65fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.pilotSupportLayout .panel {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pilotSupportTickets,
.pilotSupportMessages {
  padding: 0;
  list-style: none;
}

.pilotSupportTickets .project[aria-current="true"] {
  box-shadow: inset .2rem 0 var(--brand-primary, #6b4598);
  background: var(--brand-tint, #f4eef9);
}

.pilotSupportMessages li {
  padding: .85rem 0;
  border-bottom: 1px solid var(--brand-soft, #e1d4ee);
}

.pilotSupportMessage {
  margin: .35rem 0 0;
  white-space: pre-wrap;
}

.pilotSupportDetail textarea {
  display: block;
  width: 100%;
  min-height: 7rem;
  margin-top: .45rem;
  padding: .65rem;
  font: inherit;
  font-weight: 400;
  resize: vertical;
}

.pilotSupportDetail h2,
.pilotSupportListHeader h2 {
  margin-top: 0;
  scroll-margin-top: 1rem;
}

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

  .pilotSupportDetail {
    grid-row: 1;
  }
}
