:root {
  --normal-blue: #155ee8;
  --normal-fill: #a9cdf7;
  --normal-guide: #9aa3ad;
  --normal-axis: #111;
}

.normal-main {
  width: 100%;
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  padding: clamp(.35rem, 1.4vw, 1.25rem) 0;
  overflow: hidden;
}

.normal-chart-wrap {
  width: 100%;
  max-width: none;
  display: grid;
  justify-items: stretch;
  overflow: hidden;
}

.normal-chart {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: calc(100vh - 205px);
  overflow: visible;
  user-select: none;
  touch-action: none;
}

.normal-curve {
  fill: none;
  stroke: var(--normal-blue);
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
}

.normal-shade {
  fill: var(--normal-fill);
  opacity: .78;
}

.normal-axis {
  stroke: var(--normal-axis);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.normal-tick {
  stroke: var(--normal-axis);
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.normal-tick-label {
  fill: #111;
  font: 23px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sigma-guides {
  display: none;
}

.sigma-guides.visible {
  display: block;
}

.normal-guide {
  stroke: var(--normal-guide);
  stroke-width: 1.5;
  stroke-dasharray: 6 7;
  opacity: .72;
  vector-effect: non-scaling-stroke;
}

.normal-boundary {
  stroke: var(--normal-blue);
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
}

.normal-boundary-dot {
  fill: var(--normal-blue);
}

.normal-hit-area {
  fill: transparent;
  cursor: crosshair;
}

.normal-hit-area:focus-visible {
  outline: none;
}

.normal-percentage {
  display: block;
  margin-top: clamp(-.15rem, -.2vw, 0rem);
  min-height: 1.1em;
  color: var(--normal-blue);
  font: 800 clamp(2.2rem, 4.6vw, 4.8rem)/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}

@media (max-width: 700px) {
  .normal-main {
    min-height: calc(100vh - 80px);
    padding: .15rem;
  }

  .normal-chart-wrap {
    width: 100%;
  }

  .normal-chart {
    max-height: calc(100vh - 165px);
  }

  .normal-tick-label {
    font-size: 28px;
  }

  .normal-percentage {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }
}


.normal-chart-wrap {
  position: relative;
}

.normal-help-button {
  position: absolute;
  top: .35rem;
  right: .35rem;
  z-index: 5;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid #1f355a;
  border-radius: 50%;
  background: #fff;
  color: #1f355a;
  font: 800 1.35rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}

.normal-help-button:hover,
.normal-help-button:focus-visible {
  background: #f1f5fb;
}

.normal-help-button:focus-visible,
.normal-help-close:focus-visible {
  outline: 3px solid #f0e400;
  outline-offset: 3px;
}

.normal-help-dialog {
  width: min(660px, calc(100vw - 2rem));
  max-height: min(78vh, 760px);
  overflow: auto;
  border: 0;
  border-radius: 16px;
  padding: 1.6rem 1.8rem 1.5rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  color: #111;
  background: #fff;
}

.normal-help-dialog::backdrop {
  background: rgba(0, 0, 0, .38);
}

.normal-help-dialog h2 {
  margin: 0 2.5rem 1rem 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.normal-help-dialog p {
  margin: .8rem 0 0;
  line-height: 1.55;
  font-size: 1rem;
}

.normal-help-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #222;
  font: 700 1.7rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}

.normal-help-close:hover {
  background: #eef1f5;
}

@media (max-width: 700px) {
  .normal-help-button {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.2rem;
  }

  .normal-help-dialog {
    padding: 1.3rem 1.25rem 1.2rem;
  }
}

html, body {
  overflow-x: hidden;
}
