#fit-cache-dialog {
  width: min(62rem, 94vw);
  max-width: 94vw;
}

.fit-cache-content {
  padding: 0.85rem 1rem 1rem;
}

.fit-cache-content details {
  margin-bottom: 0.85rem;
}

.fit-cache-content dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
}

.fit-cache-content dt {
  font-weight: 600;
}

.fit-cache-content dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.fit-cache-content .dialog-actions,
[data-fit-cache-pages] {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
}

[data-fit-cache-pages]:not(:empty) {
  margin-top: 0.65rem;
}

[data-fit-cache-grid] :is(td, th) {
  min-width: 3rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

[data-fit-cache-grid] th {
  text-align: left;
}

[data-fit-cache-grid] .fit-cache-number {
  text-align: right;
}

.fit-cache-content [hidden],
.fit-cache-content p:empty {
  display: none;
}
