.shelf-book .shelf-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shelf-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.shelf-files {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1em;
  row-gap: 0;
  max-width: 100%;
  padding-block: .12em .16em;
}
.shelf-files-label {
  color: var(--s-muted);
  font-size: .86em;
  line-height: 1.3;
}
.shelf-file-options {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  max-width: 100%;
  gap: .2em 1.2em;
}
.shelf-files .shelf-file {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  align-content: center;
  column-gap: .34em;
  min-height: 44px;
  min-width: 44px;
  padding-block: .24em;
  color: var(--s-blue);
  text-decoration: none;
  background: transparent;
  line-height: 1.15;
}
.shelf-file svg {
  grid-row: span 2;
  width: 1.56em;
  height: 1.56em;
  fill: currentColor;
}
.shelf-file-format {
  font-size: .9em;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
.shelf-file-size {
  padding-top: .26em;
  font-size: .73em;
  line-height: 1.2;
  color: var(--s-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.shelf-files .shelf-file:is(:hover,:focus-visible) .shelf-file-format {
  text-decoration-thickness: 2px;
}
.shelf-files .shelf-file:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (forced-colors: active) {
  .shelf-files .shelf-file, .shelf-files .shelf-file-format {color: LinkText;}
  .shelf-file-size, .shelf-files-label {color: CanvasText;}
}
@media print {
  .shelf-files {display: none;}
}
