/* Operation feedback does not shift page content. */
html body .flash, html body .flash-item { display: none; }
.site-notifications {
  position: fixed; inset: auto max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) auto;
  margin: 0; padding: 0; border: 0; background: transparent; color: #202b3a;
  width: min(390px, calc(100vw - 32px)); max-height: calc(100dvh - 40px);
  overflow: auto; z-index: 2147483647; pointer-events: none;
}
.site-notifications:popover-open { display: block; }
.site-toast {
  display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 0; padding: 15px 14px 15px 17px;
  border: 1px solid #dce1e7; border-left: 4px solid #56759a; border-radius: 10px;
  background: #fff; box-shadow: 0 5px 24px #15223826; pointer-events: auto;
  font: 14px/1.5 Inter, sans-serif; animation: toast-enter .18s ease-out;
}
.site-toast--success { border-left-color: #31825b; }
.site-toast--error { border-left-color: #c44848; }
.site-toast--warning { border-left-color: #ad7a20; }
.site-toast-content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.site-toast-content a { color: #305f98; text-decoration: underline; }
html body .site-toast .site-toast-close {
  flex: 0 0 28px; width: 28px; min-height: 28px; height: 28px; margin: -3px -3px 0 0; padding: 0;
  border: 0; border-radius: 5px; background: transparent; color: #667487;
  box-shadow: none; font: 23px/28px sans-serif; cursor: pointer;
}
html body .site-toast .site-toast-close:hover { background: #edf1f5; color: #202b3a; }
.site-toast-close:focus-visible { outline: 2px solid #56759a; outline-offset: 2px; }
@keyframes toast-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .site-toast { animation: none; } }
@media (max-width: 480px) { .site-notifications { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); } }
