.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-bici {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
}

.page-bici #main {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.bici-workspace {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #002d21;
}

.report-library {
  padding-top: 0;
}

.report-toolbar-actions {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.report-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.report-card h3,
#report-detail-title {
  text-transform: uppercase;
}

.report-thumbnail {
  height: clamp(150px, 21vw, 235px);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.report-thumbnail img {
  width: 100%;
  height: auto;
}

.report-thumbnail-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: linear-gradient(145deg, #154234, #0a241d);
}

.report-thumbnail-placeholder .eyebrow {
  margin: 0;
}

.report-card > .report-subtitle,
#report-detail-content > .report-subtitle {
  color: var(--gold);
}

.report-pdf-actions {
  margin-top: 24px;
}

.report-publish-form fieldset {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.report-publish-form fieldset:disabled {
  opacity: .55;
}

.report-publish-form input::file-selector-button {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--gold);
  padding: 6px 10px;
  margin-right: 10px;
  cursor: pointer;
}

.publish-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--gold);
  font-size: 13px;
}

#publishing-setup {
  margin: 20px 0 0;
}

@media (max-width: 650px) {
  .report-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .report-toolbar-actions .sort-control {
    margin: 0;
  }

  #open-publish-report {
    min-height: 40px;
    padding: 9px 12px;
    gap: 9px;
  }
}
