.admin-page .admin-main>.admin-toast-stack,.redazione-shell .admin-main>.admin-toast-stack,.affiliate-toast-stack {
    position:fixed; z-index:210; top:auto; bottom:22px; right:24px; display:grid; gap:10px;
    width:min(390px,calc(100% - 32px)); max-height:calc(100dvh - 40px); overflow-y:auto;
    padding:2px; pointer-events:none;
}
.admin-toast-stack>[data-admin-alert],.affiliate-toast-stack>[data-affiliate-toast] {
    --notice-accent:#6ed3a6; position:relative; display:grid; grid-template-columns:20px minmax(0,1fr) 28px;
    align-items:center; gap:11px; min-height:54px; margin:0; padding:11px 10px 11px 15px;
    border:1px solid #35493f; border-left:3px solid var(--notice-accent); border-radius:5px;
    background:#191e1b; color:#e1e9e5; box-shadow:0 6px 20px #0004;
    font-size:13px; font-weight:400; line-height:1.5; pointer-events:auto; animation:none;
}
.admin-toast-stack>[data-admin-alert].is-error,.affiliate-toast-stack>[data-affiliate-toast].is-error {
    --notice-accent:#f0959f; border-color:#5f3a40; border-left-color:var(--notice-accent); background:#251b1d; color:#f2d9dd;
}
.admin-toast-stack>[data-admin-alert]>i,.affiliate-toast-stack>[data-affiliate-toast]>i {
    display:grid; place-items:center; width:20px; height:20px; margin:0; padding:0; border:0; border-radius:0;
    background:transparent; color:var(--notice-accent); font-size:16px; font-weight:600; font-style:normal;
}
.admin-toast-stack>[data-admin-alert]>i .ui-icon,.affiliate-toast-stack>[data-affiliate-toast]>i .ui-icon { width:19px; height:19px; }
.admin-toast-stack>[data-admin-alert]>span,.affiliate-toast-stack>[data-affiliate-toast]>span { display:grid; gap:3px; min-width:0; overflow-wrap:anywhere; font-size:13px; font-weight:400; line-height:1.5; }
.admin-toast-stack>[data-admin-alert]>span>strong,.affiliate-toast-stack>[data-affiliate-toast]>span>strong { color:inherit; font-size:13px; font-weight:600; }
.admin-toast-stack>[data-admin-alert]>span>small,.affiliate-toast-stack>[data-affiliate-toast]>span>small { color:inherit; font-size:12px; font-weight:400; }
.admin-toast-stack>[data-admin-alert] ul { margin:3px 0 0; padding-left:16px; }
.admin-toast-stack>[data-admin-alert]>button,.affiliate-toast-stack>[data-affiliate-toast]>button {
    position:relative; display:grid; place-items:center; width:28px; height:28px; min-height:0; padding:0;
    border:0; border-radius:3px; background:transparent; color:#a6b1aa; cursor:pointer;
}
.admin-toast-stack>[data-admin-alert]>button:hover,.affiliate-toast-stack>[data-affiliate-toast]>button:hover { background:#ffffff0d; color:#fff; }
.admin-toast-stack>[data-admin-alert]>button .ui-icon,.affiliate-toast-stack>[data-affiliate-toast]>button .ui-icon { width:16px; height:16px; }
.access-error[data-auto-dismiss],.affiliate-message[data-auto-dismiss] { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.access-error[data-auto-dismiss]>span,.affiliate-message[data-auto-dismiss]>span { min-width:0; overflow-wrap:anywhere; }
.access-error [data-dismiss-notice],.affiliate-login-panel .affiliate-message [data-dismiss-notice] { display:grid; place-items:center; flex:none; width:28px; min-height:28px; margin:-2px -5px -2px 0; padding:4px; border:0; border-radius:3px; background:transparent; color:inherit; cursor:pointer; }
.access-error [data-dismiss-notice]:hover,.affiliate-login-panel .affiliate-message [data-dismiss-notice]:hover { background:#ffffff0d; }
[data-dismiss-notice] .ui-icon { width:16px; height:16px; }
[data-notice-closing] { pointer-events:none!important; }
html[data-theme="light"] .affiliate-toast-stack>[data-affiliate-toast] { background:#f7fcf9; border-color:#b9d8c7; border-left-color:#27855b; color:#244c38; --notice-accent:#27855b; }
html[data-theme="light"] .affiliate-toast-stack>[data-affiliate-toast].is-error { background:#fff8f8; border-color:#e4bfc4; border-left-color:#af4554; color:#772d38; --notice-accent:#af4554; }
html[data-theme="light"] .affiliate-toast-stack>[data-affiliate-toast]>button { color:inherit; }
html[data-theme="light"] .affiliate-toast-stack>[data-affiliate-toast]>button:hover { background:#0000000a; color:inherit; }
@media(max-width:700px) {
    .admin-page .admin-main>.admin-toast-stack,.redazione-shell .admin-main>.admin-toast-stack,.affiliate-toast-stack { top:auto; bottom:12px; right:12px; width:calc(100% - 24px); max-height:calc(100dvh - 24px); }
    .admin-toast-stack>[data-admin-alert],.affiliate-toast-stack>[data-affiliate-toast] { padding-right:8px; }
}
