.active-nav {
  color: #176f63 !important;
  font-weight: 700;
}

.document-panel {
  padding: 0;
}

.document-filters {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 18px;
  padding: 18px 22px 0;
  border-bottom: 1px solid var(--line);
}

.document-table {
  min-width: 1120px;
}

.document-table td:first-child {
  min-width: 280px;
  font-weight: 700;
}

.document-table td:first-child small {
  display: block;
  margin-top: 5px;
  max-width: 440px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.document-modal {
  width: min(94%, 820px);
  max-height: 88%;
}

.tipo-chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3f8;
  color: #405061;
  font-weight: 700;
}

.status-chip.rascunho {
  background: #eef3f8;
  color: #405061;
}

.status-chip.publicado {
  background: #dff4ef;
  color: #0f5149;
}

.status-chip.arquivado {
  background: #f6dfdf;
  color: #943434;
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
}

#documento-current-file {
  display: block;
  margin-top: 6px;
}

@media (max-width: 820px) {
  .document-filters {
    grid-template-columns: 1fr;
  }
}
