.toast-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-weight: var(--fw-medium);
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-spring);
}
.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.chart-tip {
  position: fixed;
  padding: 8px 12px;
  opacity: 0;
  transition: opacity 120ms var(--ease-out), transform 120ms var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}
.chart-tip.show {
  opacity: 1;
}
.chart-tip .tt-label {
  font-size: 10.5px;
  font-weight: var(--fw-medium);
  opacity: .72;
}
.chart-tip .tt-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--fw-bold);
  margin-top: 1px;
  letter-spacing: -.01em;
}
.toast-stack > * {
  animation: mo-toast 380ms var(--ease-spring) backwards;
}
@media (prefers-reduced-motion: reduce) {
  .toast-stack > * {
    animation: none;
  }
}
.chart-tip {
  transform: translate(-50%, calc(-100% - 4px)) scale(.96);
  min-width: 132px;
  max-width: min(280px, calc(100vw - 16px));
  z-index: 80;
}
.chart-tip.show {
  transform: translate(-50%, calc(-100% - 12px)) scale(1);
  transition: opacity 120ms var(--ease-out), transform 120ms var(--ease-out), left 90ms var(--ease-out), top 90ms var(--ease-out);
}
.chart-tip.bas {
  transform: translate(-50%, 4px) scale(.96);
}
.chart-tip.bas.show {
  transform: translate(-50%, 12px) scale(1);
}
.chart-tip .tt-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid color-mix(in srgb, var(--bg-app) 24%, transparent);
}
.chart-tip .tt-detail[hidden] {
  display: none;
}
.chart-tip .tt-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  opacity: .88;
}
.chart-tip .tt-row b {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
}
@media (max-width: 767px) {
  .toast-stack {
    bottom: calc(84px + env(safe-area-inset-bottom));
    right: 12px;
    left: 12px;
  }
}
.bandeau {
  border-radius: 16px;
}
.toast {
  color: var(--ds-text);
  box-shadow: var(--ds-shadow-pop);
  font: 500 13px/1.4 var(--ds-font);
}
.chart-tip,
.a21-bulle {
  color: var(--ds-text);
  box-shadow: var(--ds-shadow-pop);
}
.toast {
  background: var(--ds-surface);
  border: 0;
  border-radius: var(--ds-r-in);
}
.chart-tip,
.a21-bulle {
  background: var(--ds-active);
  border: 0;
  border-radius: var(--ds-r);
}
.toast-stack.tp {
  display: block;
  width: 320px;
  height: 0;
  gap: 0;
}
.tp-toast {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--ds-border, #e4e4e7);
  border-radius: 12px;
  background: var(--ds-surface, #fff);
  background-clip: padding-box;
  font: 500 13.5px/1.4 var(--font, 'Geist', system-ui, sans-serif);
  color: var(--ds-text, #18181b);
  pointer-events: auto;
  user-select: none;
  z-index: calc(100 - var(--i, 0));
  transform-origin: 50% 100%;
  transform: translateY(calc(min(var(--i, 0), 10) * -12px)) scale(calc(1 - var(--i, 0) * .06));
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s cubic-bezier(.22, 1, .36, 1);
}
.tp-toast::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 100%;
  height: 11px;
}
.tp-toast:not(.tp-devant) > * {
  opacity: 0;
  transition: opacity .25s;
}
.tp-ouvert .tp-toast {
  transform: translateY(calc(var(--haut, 0px) * -1));
}
.tp-ouvert .tp-toast > * {
  opacity: 1;
}
.tp-toast.tp-loin {
  opacity: 0;
  pointer-events: none;
}
.tp-ouvert .tp-toast.tp-loin {
  opacity: 1;
  pointer-events: auto;
}
.tp-toast.tp-entre {
  opacity: 0;
  transform: translateY(150%);
  transition: none;
}
.tp-toast.tp-sort {
  opacity: 0;
  transform: translateY(150%);
  pointer-events: none;
  z-index: 0;
}
.tp-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.tp-ico svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--success, #2f7d57);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tp-warning .tp-ico svg {
  stroke: var(--warning, #a16207);
}
.tp-error .tp-ico svg {
  stroke: var(--danger, #b4483a);
}
.tp-texte {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tp-x {
  all: unset;
  position: absolute;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ds-text-3, #a1a1aa);
}
.tp-x:hover {
  background: color-mix(in srgb, var(--ds-text, #18181b) 8%, transparent);
  color: var(--ds-text, #18181b);
}
.tp-x:focus-visible {
  outline: 2px solid var(--ds-text, #18181b);
  outline-offset: 1px;
}
.tp-x svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
@media (max-width: 767px) {
  .toast-stack.tp {
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-toast {
    transition: opacity .2s;
  }
  .tp-toast.tp-entre,
  .tp-toast.tp-sort {
    transform: none;
  }
}
.toast-stack.tp > * {
  animation: none;
}
.tp-toast {
  padding: 12px 40px 12px 16px;
  gap: 12px;
  font-weight: 400;
  box-shadow: 0 8px 24px -8px rgba(24, 24, 27, .2);
}
.tp-ico svg {
  stroke-width: 2;
}
.tp-x {
  top: 8px;
  right: 8px;
}
