.fixedPopupPanels {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  max-height: 100%;
}
.fixedPopupPanels .viewport {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  pointer-events: auto;
}
.fixedPopupPanels.fullHeight .viewport {
  height: 100%;
}
.fixedPopupPanels.narrow {
  width: 23.75rem;
}
.fixedPopupPanels.half {
  width: 35.75rem;
}
.fixedPopupPanels > .body {
  pointer-events: inherit;
  padding: 0;
}
:global(.enact-locale-right-to-left) .fixedPopupPanels > .body {
  padding: 0;
}
.fixedPopupPanels:global(.neutral) {
  background-color: transparent;
}
.fixedPopupPanels:global(.neutral) .viewport {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%);
  outline-color: var(--sand-overlay-outline-color, transparent);
  outline-style: var(--sand-overlay-outline-style, none);
  outline-width: 0.0625rem;
  outline-offset: -0.0625rem;
}
.fixedPopupPanels:global(.neutral).scrimTranslucent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 90%);
}
.fixedPopupPanels:global(.neutral).scrimNone .viewport,
.fixedPopupPanels:global(.neutral).scrimTransparent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 95%);
}
:global(.enact-a11y-high-contrast) .fixedPopupPanels:global(.neutral):global(.highContrast) {
  background-color: transparent;
}
:global(.enact-a11y-high-contrast) .fixedPopupPanels:global(.neutral):global(.highContrast) .viewport {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%);
  outline-color: var(--sand-overlay-outline-color, #7c848b);
  outline-style: var(--sand-overlay-outline-style, solid);
  outline-width: 0.0625rem;
  outline-offset: -0.0625rem;
}
:global(.enact-a11y-high-contrast) .fixedPopupPanels:global(.neutral):global(.highContrast).scrimTranslucent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 0, 0, 0));
}
:global(.enact-a11y-high-contrast) .fixedPopupPanels:global(.neutral):global(.highContrast).scrimNone .viewport,
:global(.enact-a11y-high-contrast) .fixedPopupPanels:global(.neutral):global(.highContrast).scrimTransparent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 0, 0, 0));
}
.fixedPopupPanels:global(.light) {
  background-color: transparent;
}
.fixedPopupPanels:global(.light) .viewport {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%);
  outline-color: var(--sand-overlay-outline-color, transparent);
  outline-style: var(--sand-overlay-outline-style, none);
  outline-width: 0.0625rem;
  outline-offset: -0.0625rem;
}
.fixedPopupPanels:global(.light).scrimTranslucent .viewport {
  background-color: rgb(var(--sand-alert-overlay-bg-color-rgb, 187, 187, 187), 90%);
}
.fixedPopupPanels:global(.light).scrimNone .viewport,
.fixedPopupPanels:global(.light).scrimTransparent .viewport {
  background-color: rgb(var(--sand-alert-overlay-bg-color-rgb, 187, 187, 187), 95%);
}
.fixedPopupPanels:global(.game) {
  background-color: transparent;
}
.fixedPopupPanels:global(.game) .viewport {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%);
  outline-color: var(--sand-overlay-outline-color, transparent);
  outline-style: var(--sand-overlay-outline-style, none);
  outline-width: 0.0625rem;
  outline-offset: -0.0625rem;
}
.fixedPopupPanels:global(.game).scrimTranslucent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 90%);
}
.fixedPopupPanels:global(.game).scrimNone .viewport,
.fixedPopupPanels:global(.game).scrimTransparent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 95%);
}
:global(.green) .fixedPopupPanels:global(.game) {
  background-color: transparent;
}
:global(.green) .fixedPopupPanels:global(.game) .viewport {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%);
  outline-color: var(--sand-overlay-outline-color, transparent);
  outline-style: var(--sand-overlay-outline-style, none);
  outline-width: 0.0625rem;
  outline-offset: -0.0625rem;
}
:global(.green) .fixedPopupPanels:global(.game).scrimTranslucent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 90%);
}
:global(.green) .fixedPopupPanels:global(.game).scrimNone .viewport,
:global(.green) .fixedPopupPanels:global(.game).scrimTransparent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 95%);
}
:global(.orange) .fixedPopupPanels:global(.game) {
  background-color: transparent;
}
:global(.orange) .fixedPopupPanels:global(.game) .viewport {
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 0.75rem rgb(var(--sand-shadow-color-rgb, 0, 0, 0), 30%);
  outline-color: var(--sand-overlay-outline-color, transparent);
  outline-style: var(--sand-overlay-outline-style, none);
  outline-width: 0.0625rem;
  outline-offset: -0.0625rem;
}
:global(.orange) .fixedPopupPanels:global(.game).scrimTranslucent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 90%);
}
:global(.orange) .fixedPopupPanels:global(.game).scrimNone .viewport,
:global(.orange) .fixedPopupPanels:global(.game).scrimTransparent .viewport {
  background-color: rgb(var(--sand-overlay-bg-color-rgb, 87, 94, 102), 95%);
}
.panel {
  padding: 0;
  max-height: calc(100vh - 5rem );
}
.panel > .body {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem 1rem;
  flex: 1 1 auto;
}
