/* BodyHealth · системні сповіщення (мокап 28 B, скруглення збалансоване: 10 px — одна змінна). Замінює toastr. */
.bh-toasts { --bh-toast-r: 10px; position: fixed; top: 16px; right: 16px; z-index: 100000; display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: calc(100vw - 32px); pointer-events: none; }
.bh-toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; position: relative;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255,255,255,.75); border-radius: var(--bh-toast-r);
  box-shadow: 0 10px 30px rgba(20,35,60,.14), 0 1px 2px rgba(20,35,60,.08);
  font: 13.5px/1.35 Inter, -apple-system, "Segoe UI", Arial, sans-serif; color: #1b2430; cursor: default;
  animation: bhToastIn .26s cubic-bezier(.2,.8,.2,1); }
.bh-toast.is-out { animation: bhToastOut .2s ease-in forwards; }
.bh-toast__ic { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #003d82; }
.bh-toast__ic svg { width: 16px; height: 16px; }
.bh-toast--success .bh-toast__ic { background: #2f9e6b; }
.bh-toast--error .bh-toast__ic { background: #d64545; }
.bh-toast--warning .bh-toast__ic { background: #d99a20; }
.bh-toast--info .bh-toast__ic { background: #003d82; }
.bh-toast__tx { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bh-toast__tt { font-weight: 600; }
.bh-toast__ms { color: #4d5866; font-size: 12.5px; margin-top: 2px; }
.bh-toast__tm { font-size: 11px; color: #98a2ae; white-space: nowrap; margin-top: 2px; }
.bh-toast__x { position: absolute; top: -8px; left: -8px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #e3e7ec; background: #fff; color: #6b7684;
  font: 14px/1 Arial; padding: 0; cursor: pointer; opacity: 0; transition: opacity .15s; box-shadow: 0 1px 3px rgba(20,35,60,.15); }
.bh-toast:hover .bh-toast__x, .bh-toast__x:focus-visible { opacity: 1; }
/* дії всередині (напр. «Скасувати» у задачах) */
.bh-toast .btn, .bh-toast button:not(.bh-toast__x) { margin-top: 8px; font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1; color: #003d82; background: rgba(0,61,130,.08); border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.bh-toast .btn:hover, .bh-toast button:not(.bh-toast__x):hover { background: rgba(0,61,130,.14); }
.bh-toast a { color: #003d82; text-decoration: underline; }
@keyframes bhToastIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bhToastOut { to { opacity: 0; transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) { .bh-toast, .bh-toast.is-out { animation: none; } }
@media (max-width: 480px) { .bh-toasts { top: 8px; right: 8px; left: 8px; width: auto; max-width: none; } }
