/* MIJUONE 1.66.2 — compact, elevated notification stack.
   Preserves Django messages, accessibility semantics and dismissal controls. */
body .mi-flash-stack-v1662.flashes {
  position: fixed; top: 112px; right: clamp(12px, 2.8vw, 42px);
  left: auto; bottom: auto; width: min(390px, calc(100vw - 24px)); max-width: none;
  z-index: 250; margin: 0; padding: 0; display: flex; flex-direction: column;
  align-items: stretch; gap: 11px; pointer-events: none;
}
body .mi-flash-stack-v1662 .mi-flash-v1662.flash {
  --mj-notice-accent: #1d65bd; --mj-notice-tint: #ebf4ff;
  margin:0; padding:15px 41px 16px 14px; box-sizing:border-box;
  display:flex; align-items:flex-start; gap:11px; min-width:0; pointer-events:auto;
  position:relative; overflow:hidden;
  background:#fff; color:#1f3b5c; border:1px solid rgba(168,192,221,.68);
  border-radius:17px; box-shadow:0 16px 52px rgba(24,51,94,.17),0 3px 10px rgba(24,51,94,.04);
  animation:mjNoticeEnter1662 .33s cubic-bezier(.18,.78,.22,1) both;
}
body .mi-flash-stack-v1662 .mi-flash-v1662.success {--mj-notice-accent:#16836a;--mj-notice-tint:#e6f7f2}
body .mi-flash-stack-v1662 .mi-flash-v1662.warning {--mj-notice-accent:#bd7517;--mj-notice-tint:#fff4e2}
body .mi-flash-stack-v1662 .mi-flash-v1662.error {--mj-notice-accent:#bc4150;--mj-notice-tint:#fff0f1}
body .mi-flash-stack-v1662 .mi-flash-v1662 .mi-flash-symbol-v1662 {
  flex:0 0 36px; width:36px; height:36px; border-radius:12px;
  display:grid;place-items:center; background:var(--mj-notice-tint);color:var(--mj-notice-accent);
}
body .mi-flash-stack-v1662 .mi-flash-v1662 .mi-flash-symbol-v1662 .icon {width:19px;height:19px;stroke-width:2.4}
body .mi-flash-stack-v1662 .mi-flash-copy-v1662 {min-width:0;flex:1;padding-top:1px}
body .mi-flash-stack-v1662 .mi-flash-copy-v1662 strong {display:block;font-size:12px;letter-spacing:-.015em;font-weight:850;color:#1c3353;line-height:1.35}
body .mi-flash-stack-v1662 .mi-flash-copy-v1662 p {margin:5px 0 0;font-size:12px;font-weight:550;color:#61748d;line-height:1.55;overflow-wrap:anywhere}
body .mi-flash-stack-v1662 .mi-flash-close-v1662 {position:absolute;top:11px;right:10px; width:27px;height:27px;padding:5px;border-radius:9px;background:transparent;color:#8ba0b8;border:0}
body .mi-flash-stack-v1662 .mi-flash-close-v1662:hover {background:#edf3fb;color:#2f537b}
body .mi-flash-stack-v1662 .mi-flash-close-v1662:focus-visible {outline:3px solid #63a5f9;outline-offset:1px}
body .mi-flash-stack-v1662 .mi-flash-timer-v1662 {position:absolute;bottom:0;left:0;width:100%;height:3px;background:var(--mj-notice-accent);opacity:.42;transform-origin:left;animation:mjNoticeTimer1662 var(--mj-notice-duration,5800ms) linear both}
body .mi-flash-stack-v1662 .mi-flash-v1662:hover .mi-flash-timer-v1662,
body .mi-flash-stack-v1662 .mi-flash-v1662:focus-within .mi-flash-timer-v1662 {animation-play-state:paused}
body .mi-flash-stack-v1662 .mi-flash-v1662.is-exiting {animation:mjNoticeLeave1662 .21s ease-in forwards;pointer-events:none}
@keyframes mjNoticeEnter1662 {from {opacity:0;transform:translate3d(22px,-5px,0) scale(.97)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes mjNoticeLeave1662 {to {opacity:0;transform:translate3d(22px,-8px,0) scale(.97)}}
@keyframes mjNoticeTimer1662 {from{transform:scaleX(1)}to{transform:scaleX(0)}}
/* Search submit feedback: search is tracked on submission, not while typing. */
.mi-search-pulse-feedback-v1662 {display:flex;gap:10px;align-items:center;margin:0 0 12px;padding:11px 14px;border:1px solid #cfe4f3;background:#eef7ff;border-radius:12px;color:#285a8b;font-size:12px;line-height:1.55}
.mi-search-pulse-feedback-v1662 .icon {width:18px;height:18px;flex:0 0 18px;color:#2d78bf}
.mi-search-pulse-feedback-v1662.is-neutral {background:#f6f8fb;border-color:#e1e8f0;color:#6a7d96}
:root[data-theme="dark"] .mi-flash-stack-v1662 .mi-flash-v1662.flash {background:#1d2d48;border-color:#354c6e;box-shadow:0 18px 50px rgba(0,0,0,.32)}
:root[data-theme="dark"] .mi-flash-stack-v1662 .mi-flash-copy-v1662 strong {color:#f0f6ff}
:root[data-theme="dark"] .mi-flash-stack-v1662 .mi-flash-copy-v1662 p {color:#b6c8de}
:root[data-theme="dark"] .mi-search-pulse-feedback-v1662 {background:#1b3552;color:#d6e5f6;border-color:#345576}
@media(max-width:650px){body .mi-flash-stack-v1662.flashes {top:70px;left:12px;right:12px;width:auto;max-width:none}body .mi-flash-stack-v1662 .mi-flash-v1662.flash{padding:12px 37px 13px 12px;border-radius:14px}}
@media(prefers-reduced-motion:reduce){body .mi-flash-stack-v1662 .mi-flash-v1662.flash,body .mi-flash-stack-v1662 .mi-flash-timer-v1662,body .mi-flash-stack-v1662 .mi-flash-v1662.is-exiting{animation:none!important}}
