.format-source {
  padding: 10px 12px;
  border-top: 1px solid #dce4ed;
  min-width: 0;
}
.format-source summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.file-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
  font-size: 12px;
}
.file-controls input {
  width: 5em;
  padding: 3px;
}
.file-controls select {
  max-width: 16em;
}
.file-source-code,
.file-grid-scroll {
  max-height: 42vh;
  overflow: auto;
  margin: 8px 0;
}
.file-line {
  display: flex;
  align-items: baseline;
  min-width: max-content;
  border-bottom: 1px solid #edf1f5;
}
.file-line > button {
  min-width: 3.2em;
  color: #2b587a;
}
.file-line code {
  white-space: pre;
  font:
    13px/1.55 ui-monospace,
    monospace;
  padding-left: 8px;
}
.file-grid-scroll table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 13px;
}
.file-grid-scroll th,
.file-grid-scroll td {
  border: 1px solid #d5dfe8;
  padding: 0;
}
.file-grid-scroll th {
  background: #eaf1f6;
  padding: 3px;
  position: sticky;
  top: 0;
}
.file-grid-scroll td button {
  border: 0;
  background: transparent;
  color: inherit;
  min-width: 3.2em;
  min-height: 32px;
  width: 100%;
  cursor: pointer;
}
.file-grid-scroll button:hover,
.file-line button:hover,
.format-source .noted {
  background: #fff3d8;
}
.format-source video,
.format-source audio {
  display: block;
  width: 100%;
  max-height: 45vh;
}
