/* Brand frame → Editorial (docs/05-views.md): documents on the left (drop zone on top, the list below
   it scrolling inside the card), house style and EmpCo on the right; the documents card stretches to
   the bottom of the right column. One column below 900px. */
.editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  align-items: stretch;
}

.editorial__documents {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.editorial__list {
  flex: 1 1 0;
  min-height: 160px;
  overflow-y: auto;
  border-top: var(--border);
}

.editorial__list:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.editorial__file {
  overflow-wrap: anywhere;
}

.editorial__date {
  color: var(--muted);
  font-size: 13px;
}

.editorial__view {
  text-align: right;
  white-space: nowrap;
}

/* The pager below the list, inset like the table's cells. */
.editorial__list .pager {
  margin: 0;
  padding: 12px 16px;
  border-top: var(--border);
}

.editorial__empty {
  margin: 0;
  padding: 16px 20px;
  color: var(--muted);
}

@container app (max-width: 899px) {
  .editorial {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial__list {
    flex: none;
    max-height: 60vh;
  }
}
