.flash-stack {
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  margin-inline: auto;
  z-index: 100;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}
.flash {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 13px 15px;
  border: var(--border-w-bold) solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  background: var(--surface-raised);
  pointer-events: auto;
}
.flash__icon {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  color: var(--on-color);
  background: var(--secondary);
}
.flash__body {
  flex: 1;
}
.flash__title {
  display: block;
  font-weight: var(--fw-semibold);
}
.flash__text {
  font-size: 13px;
  color: var(--text-muted);
}
.flash__close {
  flex: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  font-family: var(--font-body);
  border-radius: 50%;
}
.flash__close:hover {
  background: rgba(74, 47, 26, 0.08);
  color: var(--text);
}
.flash--notice {
  background: color-mix(in srgb, var(--secondary) 14%, var(--surface-raised));
  border-color: var(--secondary);
}
.flash--notice .flash__icon {
  background: var(--secondary);
}
.flash--alert {
  background: color-mix(in srgb, var(--danger) 12%, var(--surface-raised));
  border-color: var(--danger);
}
.flash--alert .flash__icon {
  background: var(--danger);
}
