/* One position and semantic palette across operational pages and modal contexts. */
.sigo-toast-region {
  position: fixed; inset: 20px 20px auto auto; z-index: 3000; display: grid; gap: 10px;
  width: min(400px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px);
  margin: 0; padding: 3px; border: 0; background: transparent; overflow: auto;
  color: #20242b; font-family: Inter,'Segoe UI',sans-serif; box-sizing: border-box;
}
.sigo-toast-region[popover]:not(:popover-open) { display: none; }
.sigo-toast { display: grid; grid-template-columns: 24px minmax(0,1fr) 28px; align-items: start; gap: 10px; padding: 14px; background: #fff; border: 1px solid #cbd5e3; border-radius: 10px; box-shadow: 0 8px 28px #172c4a1c; font-size: 13px; line-height: 1.5; }
.sigo-toast-content { min-width: 0; }
.sigo-toast-content p { margin: 0; overflow-wrap: anywhere; color: #20242b; }
.sigo-toast-icon { display: grid; place-items: center; width: 22px; height: 22px; font-weight: 700; border-radius: 50%; background: #eef3ff; color: #2452d6; }
.sigo-toast-error { border-color: #dcb2b6; }
.sigo-toast-error .sigo-toast-icon { background: #fbe9ec; color: #a22d37; }
.sigo-toast-warning .sigo-toast-icon { background: #fff2d6; color: #855700; }
.sigo-toast-success .sigo-toast-icon { background: #e4f3eb; color: #176344; }
.sigo-toast .sigo-toast-close { display: grid; place-items: center; width: 28px; height: 28px; min-width: 28px; min-height: 28px; padding: 0; margin: -3px -3px 0 0; border: 0; border-radius: 5px; background: transparent; color: #596577; font-size: 20px; line-height: 1; }
.sigo-toast .sigo-toast-close:hover { background: #f0f3f8; color: #20242b; }
.sigo-toast .sigo-toast-retry,.sigo-toast-content a { display: inline-block; width: auto; min-height: 28px; font: inherit; font-weight: 600; color: #2452d6; background: transparent; border: 0; padding: 4px 0; margin-top: 6px; margin-right: 12px; }
.sigo-toast :is(button,a):focus-visible { outline: 2px solid #2452d6; outline-offset: 2px; }
@media (max-width: 640px) { .sigo-toast-region { inset: 12px 12px auto auto; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); } }
@media (prefers-reduced-motion: no-preference) {
  .sigo-toast { animation: sigo-toast-in 140ms ease-out; }
  @keyframes sigo-toast-in { from {opacity: 0; transform: translateY(-4px);} to {opacity: 1; transform: translateY(0);} }
}
@media (prefers-reduced-motion: reduce) { .sigo-toast { animation: none; transition: none; } }
