/* MARK FUEL — the message on the sign-in screen (#mfAuthNotice): "session ended, sign in again", a wrong password,
   a pending order, a lost connection. One calm card in the brand's colours instead of the old yellow/gold box:
   an icon, a coloured edge on the reading side and readable text. auth-notice.js sets data-tone:
   "info" (nothing went wrong on the student's side) or "error" (the default: something to fix). */
html body #mfAuthNotice:empty{display:none!important}
html body #mfAuthNotice:not(:empty){
  --n-bg:#FEF1EF;--n-line:#F4C4BE;--n-edge:#C9341F;--n-ink:#8F1D12;
  display:flex!important;align-items:flex-start;gap:10px;
  margin:0 0 4px!important;padding:12px 14px!important;
  border:1px solid var(--n-line)!important;border-inline-start:4px solid var(--n-edge)!important;border-radius:14px!important;
  background:var(--n-bg)!important;color:var(--n-ink)!important;
  font-size:14px!important;font-weight:700;line-height:1.65;text-align:start!important;
  box-shadow:0 6px 18px -14px rgba(11,46,89,.45);
  animation:mf-notice-in .22s cubic-bezier(.2,.7,.2,1) both;
}
html body #mfAuthNotice[data-tone=info]:not(:empty){--n-bg:#F2F7FE;--n-line:#D8E5F2;--n-edge:#378AE6;--n-ink:#0B2E59}
html body #mfAuthNotice:not(:empty)::before{
  content:"";flex:none;width:20px;height:20px;margin-top:2px;background:var(--n-edge);
  -webkit-mask:var(--n-icon) center/contain no-repeat;mask:var(--n-icon) center/contain no-repeat;
  --n-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 5.2a1.3 1.3 0 0 1 1.3 1.3v4.2a1.3 1.3 0 0 1-2.6 0V8.5A1.3 1.3 0 0 1 12 7.2Zm0 10.9a1.45 1.45 0 1 1 0-2.9 1.45 1.45 0 0 1 0 2.9Z'/%3E%3C/svg%3E");
}
html body #mfAuthNotice[data-tone=info]:not(:empty)::before{
  --n-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 4.6a1.45 1.45 0 1 1 0 2.9 1.45 1.45 0 0 1 0-2.9Zm0 4.4a1.3 1.3 0 0 1 1.3 1.3v4.9a1.3 1.3 0 0 1-2.6 0v-4.9A1.3 1.3 0 0 1 12 11Z'/%3E%3C/svg%3E");
}
html[data-theme=dark] body #mfAuthNotice:not(:empty){--n-bg:#3A1D1F;--n-line:#6B2C2C;--n-edge:#FF8A7D;--n-ink:#FFD3CD;box-shadow:none}
html[data-theme=dark] body #mfAuthNotice[data-tone=info]:not(:empty){--n-bg:#16304F;--n-line:#2A4C78;--n-edge:#72B9ED;--n-ink:#EAF2FF}
@keyframes mf-notice-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html body #mfAuthNotice:not(:empty){animation:none}}
