.toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    display: grid;
    gap: 10px;
    width: min(420px, calc(100vw - 32px));
}

.toast {
    border: 1px solid #fde68a;
    border-radius: 8px;
    background: #fffbeb;
    box-shadow: var(--shadow, 0 10px 30px rgba(31, 41, 55, 0.08));
    color: #7c4a03;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
}

.toast.is-success {
    border-color: #86c9a0;
    background: #edf9f0;
    color: #205e36;
}

.toast.is-error {
    border-color: #f3a4a4;
    background: #fff0f0;
    color: #9b1c1c;
}

.toast.is-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}

.toast.has-message-copy,
.btp-workflow-notice.has-message-copy,
.btp-spec-confirmation-blockers.has-message-copy,
.btp-specification-stale-notice.has-message-copy {
    position: relative;
    padding-right: 48px;
    user-select: text;
}

.message-copy-button {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 5px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
}

.message-copy-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
