.has-model-atlas {
  min-height: 0 !important;
}
.model-atlas {
  --atlas-plum: #3b244c;
  --atlas-mint: #a8e5c9;
  --atlas-paper: #f4f0f6;
  --atlas-ink: #352c40;
  color: var(--atlas-ink);
  font-family: Manrope, system-ui, sans-serif;
}
.atlas-summary {
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0 8px;
  color: var(--atlas-plum);
  font-weight: 650;
}
.atlas-plot {
  height: 440px;
  position: relative;
  background: var(--atlas-paper);
  overflow: hidden;
  border: 1px solid rgba(59, 36, 76, 0.18);
}
.atlas-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y pinch-zoom;
  cursor: crosshair;
}
.atlas-canvas:focus-visible {
  outline: 3px solid var(--atlas-plum);
  outline-offset: -4px;
}
.atlas-axis-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.atlas-axis-title {
  position: absolute;
  font-size: 12px;
  line-height: 1.4;
  color: var(--atlas-plum);
  font-weight: 600;
}
.atlas-axis-title-y {
  left: 14px;
  top: 5px;
}
.atlas-axis-title-x {
  left: 8px;
  right: 8px;
  bottom: 5px;
  text-align: center;
}
.atlas-y-tick {
  position: absolute;
  left: 0;
  font-size: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: right;
  transform: translateY(-50%);
}
.atlas-x-tick {
  position: absolute;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.atlas-zero-label {
  font-size: 11px;
  font-weight: 650;
}
.atlas-tooltip {
  position: absolute;
  z-index: 2;
  max-width: min(288px, calc(100% - 16px));
  background: var(--atlas-plum);
  color: var(--atlas-paper);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.6;
  pointer-events: none;
  border: 1px solid var(--atlas-mint);
  box-shadow: 0 7px 20px rgba(53, 44, 64, 0.15);
}
.atlas-tooltip[hidden] {
  display: none;
}
.atlas-readout {
  font-size: 12px;
  line-height: 1.65;
  margin: 11px 0 0;
  min-height: 40px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.atlas-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 13px;
}
.atlas-help {
  font-size: 12px;
  line-height: 1.55;
  margin: 0 auto 0 0;
  max-width: 55ch;
  color: var(--atlas-ink);
}
.model-atlas .atlas-step {
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  background: var(--atlas-paper);
  color: var(--atlas-plum);
  border: 1px solid rgba(59, 36, 76, 0.4);
  min-height: 38px;
  padding: 7px 11px;
  white-space: nowrap;
  cursor: pointer;
}
.model-atlas .atlas-step:hover:not(:disabled) {
  background: var(--atlas-mint);
}
.model-atlas .atlas-step:disabled {
  opacity: 0.45;
  cursor: default;
}
.model-atlas button:focus-visible,
.atlas-table-fallback summary:focus-visible,
.atlas-table-wrap:focus-visible {
  outline: 3px solid var(--atlas-plum);
  outline-offset: 3px;
}
.model-atlas button:active:not(:disabled) {
  transform: translateY(1px);
}
.atlas-table-fallback {
  border-top: 1px solid rgba(59, 36, 76, 0.22);
  padding: 11px 0 0;
  font-size: 12px;
}
.atlas-table-fallback > summary {
  font-weight: 650;
  cursor: pointer;
  width: fit-content;
  min-height: 30px;
  line-height: 1.6;
  color: var(--atlas-plum);
}
.atlas-table-wrap {
  overflow: auto;
  max-height: 440px;
  margin-top: 12px;
}
.atlas-table-wrap table {
  border-collapse: collapse;
  width: 100%;
  min-width: 530px;
  font-size: 12px;
  line-height: 1.5;
}
.atlas-table-wrap th {
  background: var(--atlas-plum);
  color: var(--atlas-paper);
  text-align: left;
  position: sticky;
  top: 0;
  font-weight: 600;
  padding: 10px;
}
.atlas-table-wrap td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(59, 36, 76, 0.15);
  vertical-align: top;
}
.atlas-table-wrap th:first-child {
  width: 40%;
}
.atlas-model-link {
  font: inherit;
  font-weight: 600;
  background: none;
  color: var(--atlas-plum);
  border: 0;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.atlas-value {
  font-variant-numeric: tabular-nums;
}
.atlas-table-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.atlas-table-pager > span {
  font-size: 12px;
  text-align: center;
}
.atlas-empty {
  position: absolute;
  inset: 30% 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--atlas-paper);
  color: var(--atlas-ink);
  font-size: 14px;
  line-height: 1.7;
  padding: 16px;
  border: 1px solid rgba(59, 36, 76, 0.2);
}
.atlas-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}
@media (max-width: 700px) {
  .atlas-plot {
    height: 380px;
  }
  .atlas-summary {
    line-height: 1.6;
  }
  .atlas-axis-title-x {
    font-size: 11px;
  }
  .atlas-toolbar {
    flex-wrap: wrap;
  }
  .atlas-help {
    flex-basis: 100%;
    max-width: none;
    margin-bottom: 4px;
  }
  .model-atlas .atlas-step {
    min-height: 44px;
    padding: 10px 14px;
  }
  .atlas-readout {
    min-height: 60px;
  }
  .atlas-table-pager {
    flex-wrap: wrap;
  }
  .atlas-table-pager > span {
    order: 3;
    flex-basis: 100%;
  }
  .atlas-empty {
    inset: 20% 7%;
    font-size: 12px;
  }
  .atlas-zero-label {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .model-atlas * {
    animation: none !important;
    transition: none !important;
  }
  .model-atlas button:active {
    transform: none !important;
  }
}
.atlas-plot {
  background: var(--atlas-plum);
}
.atlas-axis-labels {
  color: var(--atlas-paper);
}
.atlas-axis-title {
  color: var(--atlas-mint);
}
.atlas-canvas:focus-visible {
  outline-color: var(--atlas-mint);
}
.atlas-zero-label {
  color: var(--atlas-mint);
}
.atlas-zero-label,
.atlas-axis-title-x {
  font-size: 12px;
}
