.notification-stack { display: grid; gap: 8px; max-height: 40vh; overflow-y: auto; scrollbar-width: thin; }
.notification-stack:empty { display: none; }
.notification-stack:not(:empty) { margin-bottom: 20px; }
.notification { --notification-color: var(--dz-accent, #0f766e); display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--dz-border, #e1e8e5); border-left: 3px solid var(--notification-color); border-radius: 10px; background: white; color: var(--dz-text, #172b2a); font: 14px/1.5 system-ui, sans-serif; animation: notification-enter 180ms ease-out; }
.notification[data-notification-type=error] { --notification-color: #a42b37; }
.notification[data-notification-type=warning] { --notification-color: #805815; }
.notification[data-notification-type=info] { --notification-color: #366b80; }
.notification-icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; color: var(--notification-color); font-weight: 700; }
.notification-copy { flex: 1; min-width: 0; }
.notification-copy strong { display: block; font-size: 12px; color: var(--notification-color); }
.notification-copy p { margin: 2px 0 0; overflow-wrap: anywhere; }
.notification .notification-dismiss { flex: none; display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: -6px -8px -6px 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #62736f; font: 24px/1 system-ui, sans-serif; cursor: pointer; }
.notification-dismiss:hover { background: #f1f5f3; }
.notification-dismiss:focus-visible { outline: 3px solid #0f766e; outline-offset: -3px; }
.notification.is-leaving { animation: notification-leave 140ms ease-in forwards; }
@keyframes notification-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes notification-leave { to { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .notification, .notification.is-leaving { animation: none; } }
@media print { .notification-stack { display: none !important; } }

.notification-dismiss[hidden] { display: none !important; }
