:root {
  color-scheme: light dark;
  supported-color-schemes: light dark;
}

#root_link {
  position: absolute;
  top: 20px;
  left: 20px;
}

#root_link a {
  color: hsl(210, 75%, 45%);
  font-family: -apple-system, ui-sans-serif, system-ui, Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-decoration: none;
}

#root_link a:hover {
  text-decoration: underline;
}

#page {
  text-align: center;
  width: 800px;
  margin: 40px auto 60px;
}

#page h3 {
  margin-top: 25px;
  margin-bottom: 20px;
  padding-top: 15px;
  font-size: 13pt;
  font-weight: 400;
}

#page h3 .hash {
  margin-right: 2px;
  font-weight: 300;
  font-family: Arial;
  text-decoration: none;
  color: #888;
  visibility: hidden;
}

#page h3:hover .hash {
  visibility: visible;
}

.chart-container {
  margin: 10px 0px 25px;
}

.chart-toggle {
  display: block;
  margin: -5px 0 20px;
  color: #333;
  user-select: none;
  -webkit-user-select: none;
}

.chart-toggle input {
  width: 15px;
  height: 15px;
}

hr {
  width: 100%;
  border-top: 0;
  border-bottom: 1px solid #aaa;
}

.note {
  position: relative;
  width: 580px;
  margin: -10px auto 30px;
  line-height: 145%;
  font-size: 12pt;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px 8px 8px 24px;
}

.note .icon {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 6px;
  fill: #aaa;
}

footer {
  font-family: -apple-system, ui-sans-serif, system-ui, Arial, Helvetica, sans-serif;
  color: #333;
  text-align: center;
  font-size: 10pt;
  margin: 25px 0;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
  }

  #root_link a {
    color: hsl(210, 80%, 60%);
  }

  hr {
    border-bottom-color: #555;
  }

  .note {
    color: #ccc;
    border-color: #666;
  }

  .note .icon {
    fill: #666;
  }

  .chart-toggle {
    color: #ccc;
  }

  footer {
    color: #ccc;
  }
}


/* Chart.js internal stylesheet */

.chartjs-render-monitor {
  animation: chartjs-render-animation 0.001s;
}

@keyframes chartjs-render-animation {
  from {
    opacity: 0.99;
  }

  to {
    opacity: 1;
  }
}

.chartjs-size-monitor,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-shrink {
  position: absolute;
  direction: ltr;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  z-index: -1;
}

.chartjs-size-monitor-expand > div {
  position: absolute;
  width: 1000000px;
  height: 1000000px;
  left: 0;
  top: 0;
}

.chartjs-size-monitor-shrink > div {
  position: absolute;
  width: 200%;
  height: 200%;
  left: 0;
  top: 0;
}
