<div class="ukc-notification-toast-stack">
<div class="stack" role="region" aria-label="Notifications">
<div class="toast fin" role="status">
<span class="ic" aria-hidden="true"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span>
<div class="bd"><p class="k">Done</p><p class="t">Booking CF-20418 confirmed</p><p class="d">Collection Tue 1 Dec, 08:00 to 10:00, dock 4.</p></div>
<button type="button" class="x" aria-label="Dismiss: booking confirmed"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
</div>
<div class="toast undo" role="status">
<span class="ic" aria-hidden="true"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/></svg></span>
<div class="bd"><p class="k">Removed</p><p class="t">Pallet 3 taken off the manifest</p><p class="d">It goes for good in a few seconds.</p><div class="acts"><button type="button" class="btn">Undo</button></div></div>
<button type="button" class="x" aria-label="Dismiss: pallet removed"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
<span class="drain" aria-hidden="true"><i></i></span>
</div>
<div class="toast warn" role="status">
<span class="ic" aria-hidden="true"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg></span>
<div class="bd"><p class="k">Heads up</p><p class="t">Customs form missing for CF-20391</p><p class="d">Add it before 16:00 or the truck leaves without that pallet.</p><div class="acts"><button type="button" class="btn">Add the form</button></div></div>
<button type="button" class="x" aria-label="Dismiss: customs form missing"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
</div>
<div class="toast fail" role="alert">
<span class="ic" aria-hidden="true"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></span>
<div class="bd"><p class="k">Failed</p><p class="t">The delivery note did not save</p><p class="d">You are offline. Your draft is kept on this device.</p><div class="acts"><button type="button" class="btn"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19.5 12a7.5 7.5 0 1 1-2.2-5.3L20 9.5M20 4v5.5h-5.5"/></svg>Try again</button></div></div>
<button type="button" class="x" aria-label="Dismiss: delivery note did not save"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
</div>
</div>
</div>
.ukc-notification-toast-stack { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-notification-toast-stack *, .ukc-notification-toast-stack *::before, .ukc-notification-toast-stack *::after { box-sizing: border-box; }
.ukc-notification-toast-stack :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-notification-toast-stack :where(ul, ol) { padding: 0; list-style: none; }
.ukc-notification-toast-stack :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-notification-toast-stack :where(a) { color: inherit; }
.ukc-notification-toast-stack svg { flex: none; }
.ukc-notification-toast-stack .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 5px 12px; border: var(--uk-border-width) solid var(--line-strong); border-radius: var(--uk-radius-md); background: var(--uk-paper); color: var(--uk-ink); font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--uk-motion-duration) var(--uk-motion-ease), border-color var(--uk-motion-duration) var(--uk-motion-ease); }
.ukc-notification-toast-stack .btn:hover { border-color: var(--uk-ink); }
.ukc-notification-toast-stack .btn.pri { border-color: var(--uk-ink); background: var(--uk-ink); color: var(--uk-paper); }
.ukc-notification-toast-stack .btn.pri:hover { background: color-mix(in srgb, var(--uk-ink) 84%, var(--uk-paper)); }
.ukc-notification-toast-stack .btn:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 2px; }
.ukc-notification-toast-stack .btn:disabled { opacity: 0.45; cursor: default; }
.ukc-notification-toast-stack .stack { display: grid; gap: 8px; max-width: 384px; margin-left: auto; }
.ukc-notification-toast-stack .toast { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 12px 10px 12px 12px; border: var(--uk-border-width) solid var(--uk-line); border-left: 4px solid var(--uk-ink); border-radius: min(var(--uk-radius-lg), 12px); background: var(--uk-surface); box-shadow: var(--uk-shadow-float); overflow: hidden; }
.ukc-notification-toast-stack .ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--uk-radius-full); background: var(--uk-ink); color: var(--uk-paper); }
.ukc-notification-toast-stack .k { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-notification-toast-stack .t { font-size: 14px; font-weight: 600; line-height: 1.35; }
.ukc-notification-toast-stack .d { margin-top: 1px; font-size: 13px; line-height: 1.4; color: var(--uk-muted); }
.ukc-notification-toast-stack .acts { margin-top: 8px; }
.ukc-notification-toast-stack .x { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: var(--uk-radius-sm); background: none; color: var(--uk-muted); cursor: pointer; }
.ukc-notification-toast-stack .x:hover { background: var(--ink-soft); color: var(--uk-ink); }
.ukc-notification-toast-stack .x:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 1px; }
.ukc-notification-toast-stack .undo { border-left-style: double; border-left-color: var(--line-strong); }
.ukc-notification-toast-stack .undo .ic { border: 1.5px solid var(--uk-ink); background: transparent; color: var(--uk-ink); }
.ukc-notification-toast-stack .drain { position: absolute; inset: auto 0 0; height: 3px; background: var(--uk-line); }
.ukc-notification-toast-stack .drain i { display: block; height: 100%; background: var(--uk-ink); transform-origin: 0 50%; animation: ukc-notification-toast-stack-drain 8s linear infinite; }
.ukc-notification-toast-stack .warn { border-left-style: dashed; border-left-color: color-mix(in srgb, var(--uk-highlight) 60%, var(--uk-ink)); }
.ukc-notification-toast-stack .warn .ic { border-radius: min(var(--uk-radius-sm), 4px); background: var(--uk-highlight); color: color-mix(in srgb, var(--uk-ink) 15%, black); }
.ukc-notification-toast-stack .fail { border-color: color-mix(in srgb, var(--uk-danger) 50%, var(--uk-line)); border-left-color: var(--uk-danger); background: color-mix(in srgb, var(--uk-danger) 6%, var(--uk-surface)); }
.ukc-notification-toast-stack .fail .ic { border: 2px solid var(--uk-danger); background: var(--danger-tint); color: var(--uk-danger); }
.ukc-notification-toast-stack .fail .k { font-weight: 700; color: var(--uk-danger); }
@keyframes ukc-notification-toast-stack-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .ukc-notification-toast-stack .drain i { animation: none; transform: scaleX(0.6); } }