.results-fullscreen-button {
  display: inline-flex;
}

.results-section.is-results-fullscreen,
.results-section:fullscreen,
.results-section:-webkit-full-screen {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 10px;
  overflow: auto;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.results-section.results-fullscreen-fallback {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.results-section.is-results-fullscreen .results-heading {
  gap: 8px;
}

.results-section.is-results-fullscreen .eyebrow,
.results-section.is-results-fullscreen #resultsHeading {
  display: none;
}

.results-section.is-results-fullscreen .result-summary {
  margin-top: 0;
  font-size: 0.78rem;
}

.results-section.is-results-fullscreen .table-wrap {
  height: var(--fitted-table-height, auto);
  margin-top: 10px;
  overflow: hidden;
}

.results-section.is-results-fullscreen .table-wrap > table {
  width: 100%;
  min-width: 1280px;
  transform: scale(var(--table-fit-scale, 1));
  transform-origin: top left;
}

.results-section.is-results-fullscreen .pagination {
  margin-top: 10px;
}

html.results-fullscreen-fallback-active,
html.results-fullscreen-fallback-active body {
  overflow: hidden;
}

@media (max-width: 380px) {
  .result-actions {
    gap: 6px;
  }
}
