.notification-stack {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}
.notification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #b9d6dc;
    border-left: 4px solid #0b7185;
    border-radius: 10px;
    color: #163644;
    background: #fff;
    box-shadow: 0 12px 36px rgba(7, 26, 43, .2);
    font: 600 14px/1.45 Inter, ui-sans-serif, system-ui, sans-serif;
    overflow-wrap: anywhere;
    pointer-events: auto;
}
.notification[data-type="success"] { border-left-color: #23845c; }
.notification[data-type="warning"] { border-left-color: #b7781b; }
.notification[data-type="error"] { border-left-color: #b13e3e; }
.notification > span { flex: 1; }
.notification > button {
    flex: none;
    padding: 0 2px;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.notification > button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 480px) {
    .notification-stack { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
}
