.demo-app.demo-app-agent-seller {
  container: agent-seller / inline-size;
  min-height: 0;
  background: #fff;
}
.demo-app-agent-seller .demo-body {
  min-height: 0;
  padding: 26px;
}
.as-history {
  color: var(--demo-ink);
  font-size: 13px;
}
.as-history [hidden] {
  display: none;
}
.as-heading h3 {
  max-width: 25ch;
  text-wrap: balance;
}
.as-heading p {
  margin-top: 7px;
  color: var(--demo-muted);
  font-size: 12px;
}
.as-chart {
  margin: 28px 0 0;
}
.as-plot {
  position: relative;
  height: 264px;
  margin-top: 28px;
}
.as-value-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.as-value-paths path {
  vector-effect: non-scaling-stroke;
}
.as-grid {
  fill: none;
  stroke: #edf0f2;
  stroke-width: 1;
}
.as-value-area {
  fill: #eaf5ef;
}
.as-path-without {
  fill: none;
  stroke: #8c959d;
  stroke-width: 2;
  stroke-dasharray: 5 5;
}
.as-path-with {
  fill: none;
  stroke: #087451;
  stroke-width: 3;
  stroke-linecap: round;
}
.as-milestone {
  position: absolute;
  left: var(--point-x);
  top: var(--point-y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #215a46;
}
.as-point {
  width: 17px;
  height: 17px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #087451;
  outline: 2px solid #087451;
}
.as-point-label {
  position: absolute;
  bottom: calc(50% + 18px);
  left: 50%;
  width: 115px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
/* Line ends sit at x 616 of 640; the without path ends at y 207 of 272 and
   rises toward it, so its label sits above the end, clear of the line. */
.as-end {
  position: absolute;
  right: 3.75%;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.as-end b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.as-end-with {
  top: 0;
  color: #087451;
}
.as-end-without {
  bottom: calc(23.9% + 8px);
  color: #5f6a75;
}
.as-history ::selection {
  color: #123d2b;
  background: #bce8d1;
}
@container agent-seller (max-width:460px) {
  .demo-app-agent-seller .demo-body {
    padding: 20px 16px;
  }
  .as-chart {
    margin-top: 23px;
  }
  .as-plot {
    height: 228px;
    margin-top: 36px;
  }
  .as-point-label {
    width: 90px;
    font-size: 11px;
  }
  .as-end {
    font-size: 11px;
  }
  .as-end b {
    font-size: 16px;
  }
  .as-end-with {
    top: -30px;
  }
}
.as-chart[data-draw="waiting"] :is(.as-value-paths, .as-milestone, .as-end) {
  visibility: hidden;
}
.as-chart[data-draw="playing"] .as-value-paths {
  animation: as-wipe var(--draw) cubic-bezier(0.4, 0, 0.2, 1) both;
}
.as-chart[data-draw="playing"] .as-milestone {
  animation: as-arrive 360ms var(--reach) ease-out both;
}
.as-chart[data-draw="playing"] .as-end {
  animation: as-arrive 420ms var(--draw) ease-out both;
}
@keyframes as-wipe {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes as-arrive {
  from {
    opacity: 0;
    scale: 0.6;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .as-chart[data-draw] :is(.as-value-paths, .as-milestone, .as-end) {
    visibility: visible;
    animation: none;
  }
}
