<div style="display:inline-flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:6px;background:#fef2f2;border-left:4px solid #ef4444;box-shadow:0 4px 16px rgba(0,0,0,0.12);min-width:280px;max-width:420px;font-family:'Satoshi',sans-serif;position:relative;">
<span style="font-size:1.1rem;flex-shrink:0;line-height:1.4;">✕</span>
<div style="flex:1;min-width:0;">
<div style="font-weight:700;font-size:0.875rem;color:#b91c1c;margin-bottom:2px;">Something went wrong</div>
<div style="font-size:0.8125rem;color:#991b1b;line-height:1.45;">We couldn't save your changes. Please try again.</div>
</div>
<button style="background:none;border:none;cursor:pointer;color:#991b1b;font-size:1.1rem;line-height:1;padding:0;flex-shrink:0;opacity:0.5;margin-top:1px;">×</button>
</div>
<div style="display:inline-flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:6px;background:{{bgColor}};border-left:4px solid {{borderColor}};box-shadow:0 4px 16px rgba(0,0,0,0.12);min-width:280px;max-width:420px;font-family:'Satoshi',sans-serif;position:relative;">
<span style="font-size:1.1rem;flex-shrink:0;line-height:1.4;">{{icon}}</span>
<div style="flex:1;min-width:0;">
{{#if title}}<div style="font-weight:700;font-size:0.875rem;color:{{titleColor}};margin-bottom:2px;">{{title}}</div>{{/if}}
<div style="font-size:0.8125rem;color:{{messageColor}};line-height:1.45;">{{message}}</div>
</div>
{{#if dismissible}}
<button style="background:none;border:none;cursor:pointer;color:{{messageColor}};font-size:1.1rem;line-height:1;padding:0;flex-shrink:0;opacity:0.5;margin-top:1px;">×</button>
{{/if}}
</div>
{
"type": "error",
"title": "Something went wrong",
"message": "We couldn't save your changes. Please try again.",
"icon": "✕",
"bgColor": "#fef2f2",
"borderColor": "#ef4444",
"titleColor": "#b91c1c",
"messageColor": "#991b1b",
"dismissible": true
}
Floating notification shown after user actions — script saved, post scheduled, delete confirmed etc. Appears in: top-right of screen on most tool pages. The real app also uses Drupal status messages for page-level feedback.