/* Documents (docs/design-system.md, Surfaces): a 760px column - the list
   of documents as one panel, the space used and the document count as a
   second. A document opens in a modal with its name, description and text. */

/* What documents are for, between the header and the list. */
.niche-knowledge__explanation {
  margin: 0 0 var(--space-8);
  font-size: var(--text-body);
  color: var(--color-text);
}

.niche-knowledge__sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.niche-knowledge__placeholder {
  display: flex;
  justify-content: center;
  padding: var(--space-12);
}

.niche-knowledge__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.niche-knowledge__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

/* The delete control sits flush with the panel's padding. */
.niche-knowledge__row .button--toolbar {
  margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-2)) calc(-1 * var(--space-2)) 0;
}

.niche-knowledge__row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  overflow-wrap: break-word;
}

.niche-knowledge__space {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.niche-knowledge__note {
  margin: 0;
  font-size: var(--text-note);
  color: var(--color-text-muted);
}
