/* Vanilla status toast (status-toast.js): top right, built from tokens: tint fill, ink title and body. Slides in from the top right; still for reduced motion. */
.vn-status-toasts {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  pointer-events: none;
}
.vn-status-toast {
  box-sizing: border-box;
  max-width: min(360px, calc(100vw - 32px));
  padding: var(--vn-space-12, 12px) var(--vn-space-16, 16px);
  border: 1px solid var(--vn-color-accent, #9a7a3c);
  border-radius: var(--vn-radius-12, 12px);
  background: var(--vn-color-surface-tint, color-mix(in srgb, #9a7a3c 11%, #ffffff));
  color: var(--vn-color-ink, #111111);
  font-size: var(--vn-text-base, 15px);
  line-height: var(--vn-leading, 1.45);
  opacity: 0;
  transform: translate(12px, -14px);
  transition: opacity .28s ease, transform .38s cubic-bezier(.2, .8, .2, 1);
}
.vn-status-toast.is-in { opacity: 1; transform: none; }
/* Only the live toast floats over the page, so only it casts a shadow. */
.vn-status-toasts .vn-status-toast { box-shadow: var(--vn-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.12)); }
/* Sizes: small is the toast as it slides in (the default); full takes the whole width of the column. */
.vn-status-toast--full { max-width: none; width: 100%; }
.vn-status-toasts:has(.vn-status-toast--full) { left: var(--vn-space-16, 16px); }
/* With an icon: centered vertically on the left. Same tint fill as the other callouts; the icon takes the accent color. */
.vn-status-toast--icon { display: flex; align-items: center; gap: var(--vn-space-12, 12px); }
.vn-status-toast--icon .vn-status-toast__label { color: var(--vn-color-accent, #9a7a3c); }
.vn-status-toast__icon { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--vn-color-accent, #9a7a3c); }
/* data-tone: periwinkle, sky, lavender, green or red. The tone colors the border, title and icon, and the fill is that color at 11% over the page. */
.vn-status-toast[data-tone] { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 11%, var(--vn-color-bg)); }
.vn-status-toast[data-tone] .vn-status-toast__label, .vn-status-toast[data-tone] .vn-status-toast__icon { color: var(--tone); }
.vn-status-toast__content { min-width: 0; }
.vn-status-toast p { margin: 0; }
.vn-status-toast__label { margin-bottom: 2px !important; color: var(--vn-color-accent, #9a7a3c); font-weight: var(--vn-weight-medium, 500); }
.vn-status-toast__text { overflow-wrap: anywhere; }
/* Without tokens.css (the landing page), dark falls back to the same colours the tokens give. */
html[data-theme="dark"] .vn-status-toast,
html[data-scheme="dark"] .vn-status-toast {
  background: var(--vn-color-surface-tint, color-mix(in srgb, #c4a584 11%, #070707));
}
html[data-theme="dark"] .vn-status-toast,
html[data-scheme="dark"] .vn-status-toast { color: var(--vn-color-ink, #ffffff); }
html[data-theme="dark"] .vn-status-toasts .vn-status-toast,
html[data-scheme="dark"] .vn-status-toasts .vn-status-toast { box-shadow: var(--vn-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.45)); }
@media (prefers-reduced-motion: reduce) {
  .vn-status-toast { transform: none; transition: opacity .2s linear; }
}

