/* Shared, non-blocking notifications. Only each card intercepts pointer input. */
.gdzpro-toast-wrap {
    --toast-gap: 16px;
    position: fixed;
    top: calc(var(--toast-top, 0px) + max(var(--toast-gap), env(safe-area-inset-top, 0px)));
    right: calc(var(--toast-right, 0px) + max(var(--toast-gap), env(safe-area-inset-right, 0px)));
    left: calc(var(--toast-left, 0px) + max(var(--toast-gap), env(safe-area-inset-left, 0px)));
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-height: calc(var(--toast-height, 100dvh) - 2 * var(--toast-gap) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin: 0;
    padding: 0;
    pointer-events: none;
    font-family: inherit;
}
.gdzpro-toast-wrap:empty { display: none; }
.gdzpro-toast {
    --toast-accent: var(--toast-info, #2867d1);
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: max-content;
    max-width: min(380px, 100%);
    padding: 12px 10px 12px 14px;
    border: 1px solid rgba(21, 35, 58, .08);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    color: #15233a;
    box-shadow: 0 8px 28px rgba(21, 35, 58, .14), 0 2px 6px rgba(21, 35, 58, .05);
    opacity: 0;
    transform: translateY(-8px);
    transition: transform 180ms cubic-bezier(.2, .8, .2, 1), opacity 150ms ease;
    pointer-events: auto;
}
.gdzpro-toast.is-visible { opacity: 1; transform: translateY(0); }
.gdzpro-toast.is-leaving { pointer-events: none; }
.gdzpro-toast[data-toast-type="success"] { --toast-accent: var(--toast-success, #087e55); }
.gdzpro-toast[data-toast-type="error"] { --toast-accent: var(--toast-error, #d13146); }
.gdzpro-toast[data-toast-type="warning"] { --toast-accent: var(--toast-warning, #a4630c); }
.gdzpro-toast-icon { display: flex; align-items: center; justify-content: center; width: 21px; height: 21px; flex: 0 0 21px; color: var(--toast-accent); }
.gdzpro-toast-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.65; stroke-linecap: round; stroke-linejoin: round; }
.gdzpro-toast[data-toast-type="error"] .gdzpro-toast-icon svg { stroke-width: 3.25; }
.gdzpro-toast-copy { min-width: 0; flex: 1; }
.gdzpro-toast-title { display: block; margin: 0 0 3px; color: #15233a; font-size: 14px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.gdzpro-toast-title[hidden] { display: none; }
.gdzpro-toast-text { display: block; max-height: min(220px, 35dvh); overflow: auto; color: #27374e; font-size: 14px; line-height: 1.45; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; overscroll-behavior: contain; }
.gdzpro-toast-energy { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; white-space: nowrap; font-weight: 750; }
.gdzpro-toast-energy > span[aria-hidden] { display: inline-flex; color: var(--gdzpro-energy-color, #ffb400); }
.gdzpro-toast-energy svg { display: block; width: 15px; height: 18px; fill: currentColor; }
.gdzpro-toast-energy-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.gdzpro-toast-close { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 36px; width: 36px; height: 36px; margin: -4px 0; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: #8792a4; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gdzpro-toast-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.gdzpro-toast-close:hover { color: #243c5d; background: #f1f5fa; }
.gdzpro-toast-close:focus-visible { outline: 2px solid #3677de; outline-offset: 1px; }
.gdzpro-toast-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #e9eef5; pointer-events: none; }
.gdzpro-toast-progress-bar { display: block; width: 100%; height: 100%; background: var(--toast-accent); transform-origin: left center; animation: gdzpro-toast-countdown 3000ms linear forwards paused; }
@keyframes gdzpro-toast-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.gdzpro-toast-wrap.is-dialog-toast .gdzpro-toast-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gdzpro-toast-wrap.is-dialog-toast .gdzpro-toast-text { max-height: 2.9em; }
.gdzpro-toast-wrap.is-compact-toast .gdzpro-toast { padding-top: 10px; padding-bottom: 10px; }
.gdzpro-toast-wrap.is-compact-toast .gdzpro-toast-text { max-height: 2.9em; }
body[data-workspace-theme="dark"] .gdzpro-toast { --toast-info: #8ab5ff; --toast-success: #63d7ab; --toast-error: #ff8895; --toast-warning: #f5c170; background: #242b39; border-color: #ffffff14; color: #f2f5fa; box-shadow: 0 8px 28px #0004; }
body[data-workspace-theme="dark"] .gdzpro-toast-title, body[data-workspace-theme="dark"] .gdzpro-toast-text { color: #f2f5fa; }
body[data-workspace-theme="dark"] .gdzpro-toast-close { color: #acb6c8; }
body[data-workspace-theme="dark"] .gdzpro-toast-close:hover { background: #ffffff0d; color: #fff; }
body[data-workspace-theme="dark"] .gdzpro-toast-progress { background: #ffffff12; }
@media (max-width: 600px) {
    .gdzpro-toast-wrap { --toast-gap: 12px; align-items: center; }
    .gdzpro-toast { width: 100%; max-width: 460px; padding: 10px 12px; gap: 10px; }
    .gdzpro-toast-close { width: 40px; height: 40px; flex-basis: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .gdzpro-toast, .gdzpro-toast.is-visible { transform: none; transition: opacity 80ms linear; }
    .gdzpro-toast-progress-bar { animation-timing-function: steps(3, end); }
}
