/* Global task notices must not inherit route-wrapper layout rules. */
body #root .generationCompletionToast {
  position: fixed !important;
  inset: 50dvh auto auto 50vw !important;
  z-index: 12500 !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: 0 !important;
  padding: 20px 64px 20px 20px;
  border: 1px solid #e5defa;
  border-radius: 16px;
  background: #fff;
  color: #25243a;
  box-shadow: 0 20px 70px rgb(30 25 70 / 28%);
  font-size: 14px;
}
body #root .generationCompletionToast > span {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body #root .generationCompletionToast > span > small {
  display: block;
  margin-top: 6px;
  color: #68677b;
  font-size: 12px;
}
body #root .generationCompletionToast button {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #6554e8;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
body #root .generationCompletionToast .generationCompletionDismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 8px;
  background: transparent;
  color: #66647a;
  font-size: 22px;
}
body #root .generationCompletionToast button:focus-visible {
  outline: 3px solid #a79bef;
  outline-offset: 2px;
}
@media (max-width: 540px) {
  body #root .generationCompletionToast {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 20px 20px;
  }
  body #root .generationCompletionToast > span { padding-right: 32px; }
}
