/* Live meeting, new look (VETI-6976): toasts follow the Meetings Live Mode design while the
   meeting is on screen -- surface card, border, 3px gold left edge, 12px radius (the design's
   "Anchor created" toast).

   Global on purpose, and only here: FluentToastProvider renders in MainLayout, outside the
   LiveSession component, so its scoped CSS cannot reach it. Gated on a foreground new-look shell
   (.is-foreground), so toasts on every other page -- including while a meeting runs in the
   background mini-player -- keep the app's normal style. Colours are the --tl-* tokens, which
   live-meeting-tokens.css also defines on the toast provider under the same condition. */
body:has(.live-session-shell.lsv2.is-foreground) .fluent-toast-provider .fluent-toast {
    padding: 16px;
    border-radius: var(--tl-radius-card);
    border: 1px solid var(--tl-border);
    border-left: 3px solid var(--tl-gold);
    background-color: var(--tl-surface);
    color: var(--tl-text);
    box-shadow: var(--tl-soft-shadow);
    font-family: Inter, system-ui, sans-serif;
}

body:has(.live-session-shell.lsv2.is-foreground) .fluent-toast-provider .fluent-toast-title {
    font-weight: 500;
    color: var(--tl-text);
}

body:has(.live-session-shell.lsv2.is-foreground) .fluent-toast-provider .fluent-toast-details,
body:has(.live-session-shell.lsv2.is-foreground) .fluent-toast-provider .fluent-toast-small {
    color: var(--tl-text-muted);
}

body:has(.live-session-shell.lsv2.is-foreground) .fluent-toast-provider fluent-button {
    --neutral-fill-stealth-rest: transparent;
    --neutral-fill-stealth-hover: var(--tl-surface-alt);
    --neutral-foreground-rest: var(--tl-text-2);
    --accent-foreground-rest: var(--tl-text-2);
}
