.feedback-toast {
  --feedback-accent: #12bd48;
  position: fixed; z-index: 10000;
  top: max(18px,env(safe-area-inset-top)); right: max(18px,env(safe-area-inset-right));
  display: grid; grid-template-columns: 16px minmax(0,1fr) 20px; align-items: center; gap: 8px;
  width: max-content; min-width: min(224px,calc(100vw - 24px)); max-width: min(340px,calc(100vw - 24px));
  min-height: 42px; box-sizing: border-box; padding: 9px 8px 11px 11px;
  overflow: hidden; border: 1px solid #e9edef; border-left: 3px solid var(--feedback-accent); border-radius: 8px;
  background: #fff; color: #344047; box-shadow: 0 7px 22px #172b451a;
  font-family: inherit; font-size: 12px; line-height: 18px; letter-spacing: 0; text-align: left;
}
.feedback-toast[hidden] { display: none; }
.feedback-toast[data-type="error"] { --feedback-accent: #d83d4b; }
.feedback-toast[data-type="info"] { --feedback-accent: #1885bd; }
.feedback-toast-icon { display: grid; place-items: center; box-sizing: border-box; width: 16px; height: 16px; color: var(--feedback-accent); }
.feedback-toast-icon svg { width: 16px; height: 16px; }
.feedback-toast[data-type="success"] .feedback-toast-icon { border: 1.5px solid currentColor; border-radius: 50%; }
.feedback-toast[data-type="success"] .feedback-toast-icon svg { width: 10px; height: 10px; stroke-width: 2.5px; }
.feedback-toast-text { min-width: 0; overflow-wrap: anywhere; }
.feedback-toast-close { display: grid; place-items: center; width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #8b969c; cursor: pointer; }
.feedback-toast-close svg { width: 12px; height: 12px; }
.feedback-toast-close:hover,.feedback-toast-close:focus-visible { background: #edf2f4; color: #344047; }
.feedback-toast-close:focus-visible { outline: 2px solid #1885bd; outline-offset: 2px; }
.feedback-toast-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--feedback-accent); opacity: .65; transform-origin: left; animation: feedback-countdown linear forwards; }
@keyframes feedback-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media(max-width:600px) {
  .feedback-toast { top: max(12px,env(safe-area-inset-top)); right: max(12px,env(safe-area-inset-right)); }
}
@media(prefers-reduced-motion:reduce) {
  .feedback-toast-progress { animation: none; }
}
