.notification-stack{position:fixed;top:24px;right:24px;z-index:20000;display:grid;gap:12px;width:420px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:auto;pointer-events:none}
.notification-popup{display:flex;align-items:flex-start;gap:16px;padding:16px 18px;border:1px solid #99d5cd;border-left:5px solid #0f766e;border-radius:12px;background:#effcf8;color:#115e59;box-shadow:0 8px 28px #102a4333;font:500 15px/1.5 system-ui,sans-serif;pointer-events:auto;animation:notification-enter .2s ease-out}
.notification-message{flex:1;min-width:0;overflow-wrap:anywhere}
.notification-popup[data-type="info"]{background:#eff6ff;border-color:#93c5fd;border-left-color:#2563eb;color:#1e40af}
.notification-popup[data-type="warning"]{background:#fffbeb;border-color:#fcd34d;border-left-color:#d97706;color:#92400e}
.notification-popup[data-type="error"]{background:#fef2f2;border-color:#fca5a5;border-left-color:#dc2626;color:#991b1b}
.notification-popup .notification-close{flex:none;display:grid;place-items:center;width:28px;height:28px;margin:-3px -5px -3px 0;padding:0;border:0;border-radius:5px;background:transparent;color:inherit;font:24px/1 system-ui,sans-serif;cursor:pointer}
.notification-popup .notification-close[hidden]{display:none}
.notification-close:hover{background:#0000000d}
.notification-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@keyframes notification-enter{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.notification-stack{top:16px;right:16px}}
@media(prefers-reduced-motion:reduce){.notification-popup{animation:none}}
@media print{.notification-stack{display:none!important}}
