.incoming-alert-region-v19 { display:flow-root; flex:none; min-width:0; font-family:inherit; }
.incoming-alert-region-v19:empty { display:none; }
.incoming-alert-card-v19 { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; margin:8px 12px; padding:10px 12px; border:1px solid var(--line,#344047); border-radius:12px; background:var(--panel,#172127); color:var(--text,#edf3f4); }
.incoming-alert-copy-v19 { display:grid; align-content:center; gap:2px; min-width:0; }
.incoming-alert-copy-v19 strong { font-size:14px; overflow-wrap:anywhere; }
.incoming-alert-copy-v19 span,.incoming-alert-hint-v19 { font-size:12px; color:var(--muted,#b3c2c8); }
.incoming-alert-hint-v19 { grid-column:1/-1; }
.incoming-alert-hint-v19:empty { display:none; }
.incoming-alert-actions-v19 { display:flex; gap:4px; flex-wrap:wrap; }
.incoming-alert-actions-v19 button { min-height:44px; padding:8px 10px; border:1px solid var(--line,#344047); border-radius:9px; background:#172127; color:var(--text,#edf3f4); font:inherit; font-size:13px; cursor:pointer; }
.incoming-alert-actions-v19 button:focus-visible { outline:2px solid #8ce9e2; outline-offset:2px; }
@media(max-width:480px) { .incoming-alert-card-v19 { grid-template-columns:minmax(0,1fr); margin:6px 8px; padding:8px 10px; gap:4px; } .incoming-alert-actions-v19 { justify-content:flex-start; } }
@media(prefers-reduced-motion:reduce) { .incoming-alert-region-v19 * { animation:none!important; transition:none!important; } }

/* Reserved shell row remains visible while list or another view is open. */
body:has(> #incomingAlertsV19:not(:empty)) .app-shell {height:calc(100dvh - 30px - var(--incoming-alert-height-v19,0px));}
@media(max-width:720px){body:has(> #incomingAlertsV19:not(:empty)) .app-shell {height:calc(100dvh - var(--incoming-alert-height-v19,0px));}body:has(> #incomingAlertsV19:not(:empty)) .workspace {top:var(--incoming-alert-height-v19,0px);}body:has(> #incomingAlertsV19:not(:empty)) .details-panel {top:var(--incoming-alert-height-v19,0px);}}
html.tarvi-pwa-standalone body:has(> #incomingAlertsV19:not(:empty)) .app-shell {height:calc(100dvh - var(--incoming-alert-height-v19,0px));}

@media(max-width:720px),(max-width:1024px) and (max-height:500px){
 body.chats-real-v1:has(> #incomingAlertsV19:not(:empty)) #workspace {top:var(--incoming-alert-height-v19,0px);height:calc(100dvh - var(--incoming-alert-height-v19,0px));min-height:0;}
 body.chats-real-v1:has(> #incomingAlertsV19:not(:empty)) #workspace:not(.mobile-open):not(.mobile-static) {height:calc(100dvh - var(--incoming-alert-height-v19,0px) - 63px - env(safe-area-inset-bottom,0px));}
 body.chats-real-v1:has(> #incomingAlertsV19:not(:empty)) #workspace.mobile-static {height:calc(100dvh - var(--incoming-alert-height-v19,0px) - 63px - env(safe-area-inset-bottom,0px));}
 body.chats-real-v1:has(> #incomingAlertsV19:not(:empty)) .details-panel {top:var(--incoming-alert-height-v19,0px);}
 body.chats-real-v1:has(> #incomingAlertsV19:not(:empty)) .app-shell {height:calc(100dvh - var(--incoming-alert-height-v19,0px));}
}
