/* Notices: the result of an action floats at the top middle of the screen, over the page and as big as its words.
   It never moves the layout, stacks when there are several, and stays until its X is pressed. Light and dark follow
   the tokens in app.css. */
.notice-stack { position: fixed; top: 58px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex;
                flex-direction: column; align-items: center; gap: 6px; width: max-content; max-width: min(720px, 92vw);
                pointer-events: none; }
.notice-stack .toasts { display: contents; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 8px 10px 8px 14px;
         border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--radius); background: var(--card);
         color: var(--ink); box-shadow: 0 6px 22px rgba(0, 0, 0, .18); font-size: .9rem; line-height: 1.35; }
.toast.ok { border-left-color: var(--green); }
.toast.bad { border-left-color: var(--red); }
.toast-x { flex: none; text-decoration: none; color: var(--muted); font-size: 1.15rem; line-height: 1; padding: 0 4px;
           border-radius: 4px; }
.toast-x:hover { color: var(--ink); background: var(--paper); }
.toast-x:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; color: var(--ink); }
@media (max-width: 760px) { .notice-stack { top: 64px; width: 92vw; } .toast { width: 100%; } }
