aside nav {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 3px;
}

aside .credentials {
  flex: 0 0 auto;
}

pre {
  max-height: 540px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #080a0d;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  font-size: 11px;
}

details {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}

details summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

fieldset {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

legend {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 0 6px;
}

#transparency-head .stat strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#impact-summary {
  margin: 18px 0;
}

#archive-result,
#retention-plan {
  min-height: 150px;
}

#execute-retention {
  margin-top: 14px;
}

.count.valid {
  color: var(--accent);
}

.count.invalid {
  color: var(--red);
}

@media (max-width: 750px) {
  aside nav {
    max-height: 320px;
    overflow: auto;
  }

  .section-head > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}
