/* The documents column: two tabs in the header; the documents in a stack
   of folder groups, one open, the closed ones keeping to the top and the
   bottom around it; the decisions flat. Black and white, as the plan. */

.docs__tabs {
  display: flex;
  gap: 12px;
}

.docs__tab {
  cursor: pointer;
}

.docs__tab--off {
  font-weight: 400;
  color: #999;
}

.docs .plan__card--closed {
  opacity: 0.5;
}

.docs .plan__card--superseded .plan__text {
  text-decoration: line-through;
}

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

.docs__group {
  flex: none;
  border-top: 1px solid #ccc;
}

.docs__group--open {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.docs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
}

.docs__group:not(.docs__group--open) .docs__head {
  cursor: pointer;
  color: #666;
}

.docs__group--open .docs__name {
  font-weight: 600;
}

.docs__count {
  font-size: 11px;
}

.docs__in-force,
.docs__decisions {
  margin: 0 12px 8px;
  font-size: 12px;
  color: #666;
}

/* a link to a document of the project */
.md__inner {
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}

.md__inner--deleted {
  text-decoration: line-through;
}

.md__inner--missing {
  color: #999;
  text-decoration: underline dotted;
  cursor: help;
}
