/* The licenses page: each part a line that opens to its whole license, wrapped to the page, a phone's included. */
.license {
  max-width: 720px;
  border-bottom: 1px solid var(--border);
}

.license summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
}

.license-name {
  color: var(--text-page-muted);
  font-size: 14px;
}

.license-text {
  margin: 0 0 18px;
  font: 13px / 1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.license summary::after {
  content: "+";
  margin-left: auto;
  color: var(--text-page-muted);
}

.license[open] summary::after {
  content: "−";
}
