.qso-graph-page {
  max-width: none;
  width: 100%;
}

.qso-graph-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.qso-graph-heading h1 {
  font-size: 30px;
  margin: 0 0 6px;
}

.qso-graph-heading p {
  color: #667085;
  margin: 0;
}

.qso-graph-filter {
  border: 1px solid #d7dce2;
  border-radius: 6px;
  padding: 16px;
}

.qso-graph-icon-button {
  align-items: center;
  display: inline-flex;
  flex: 0 0 44px;
  justify-content: center;
  width: 44px;
}

.qso-graph-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 14px 2px 10px;
}

.qso-graph-summary span {
  color: #667085;
}

.qso-graph-summary strong {
  color: #20252b;
  font-size: 20px;
  margin-right: 4px;
}

.qso-graph-stage {
  background: #f8fafb;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  min-height: 680px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.qso-graph-canvas {
  height: min(72vh, 900px);
  min-height: 680px;
  width: 100%;
}

.qso-graph-back-button {
  left: 50%;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  z-index: 5;
}

.qso-graph-back-button[hidden] {
  display: none;
}

.qso-graph-fullscreen-button {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 6;
}

.qso-graph-stage:fullscreen,
.qso-graph-stage:-webkit-full-screen {
  border: 0;
  border-radius: 0;
  height: 100vh;
  min-height: 0;
}

.qso-graph-stage:fullscreen .qso-graph-canvas,
.qso-graph-stage:-webkit-full-screen .qso-graph-canvas {
  height: 100vh;
  min-height: 0;
}

.qso-graph-loading {
  align-items: center;
  background: rgba(248, 250, 251, 0.88);
  display: flex;
  flex-direction: column;
  gap: 12px;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 4;
}

.qso-graph-loading[hidden] {
  display: none;
}

.qso-graph-note {
  color: #667085;
  font-size: 14px;
  padding: 10px 2px 0;
}

.qso-graph-message {
  margin: 14px 0 0;
}

@media (max-width: 767.98px) {
  .qso-graph-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .qso-graph-heading h1 {
    font-size: 25px;
  }

  .qso-graph-stage,
  .qso-graph-canvas {
    min-height: 540px;
  }

  .qso-graph-canvas {
    height: 68vh;
  }
}
