/* v1.4.34 — architectural hierarchy and contextual action feedback */

.aam-site form.aam-action-notice-host {
  position: relative;
  overflow: visible;
}
.aam-site form.aam-action-notice-host > .aam-form-notice {
  position: absolute;
  z-index: 90;
  right: 0;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: min(300px, calc(100vw - 32px));
  min-height: 0;
  grid-template-columns: 22px minmax(0, 1fr) 25px;
  gap: 7px;
  margin: 0;
  padding: 8px 8px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--notice-accent) 30%, #fff);
  border-bottom-width: 2px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 31, 49, .16);
  transform-origin: right bottom;
  animation: aam-action-toast-in .18s ease-out both;
}
.aam-site form.aam-action-notice-host > .aam-form-notice .aam-form-notice-icon {
  width: 22px;
  height: 22px;
}
.aam-site form.aam-action-notice-host > .aam-form-notice .aam-form-notice-icon svg {
  width: 19px;
  height: 19px;
}
.aam-site form.aam-action-notice-host > .aam-form-notice .aam-form-notice-copy strong {
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}
.aam-site form.aam-action-notice-host > .aam-form-notice .aam-form-notice-copy > span {
  display: none;
}
.aam-site form.aam-action-notice-host > .aam-form-notice .aam-form-notice-close {
  width: 25px;
  height: 25px;
  font-size: 18px;
}
.aam-site form.aam-action-notice-host > .aam-form-notice.is-leaving {
  opacity: 0;
  transform: translateY(4px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

.aam-site .aam-notice-page-host > .aam-form-notice {
  position: fixed;
  z-index: 1600;
  top: 92px;
  right: 22px;
  width: min(370px, calc(100vw - 28px));
  min-height: 0;
  margin: 0;
  padding: 10px 10px 9px 12px;
  border-bottom-width: 3px;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(15, 31, 49, .16);
}

@keyframes aam-action-toast-in {
  from { opacity: 0; transform: translateY(5px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 620px) {
  .aam-site .aam-notice-page-host > .aam-form-notice { top: 76px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .aam-site form.aam-action-notice-host > .aam-form-notice { animation: none; }
}
