.agent-chat-message-actions {
    display: flex;
    align-items: center;
    gap: .15rem;
    min-height: 2rem;
    margin-top: .35rem;
}

.agent-chat-message-action {
    display: inline-grid;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: .45rem;
    background: transparent;
    color: #858a94;
    font-size: .8rem;
    transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

.agent-chat-message-action:hover:not(:disabled) {
    background: var(--primary-50);
    color: var(--primary-950);
}

.agent-chat-message-action:focus-visible {
    outline: 2px solid var(--primary-700);
    outline-offset: 1px;
}

.agent-chat-message-action.is-copied {
    background: var(--primary-50);
    color: var(--primary-900);
}

.agent-chat-message-action.is-copy-error { color: #9c2f38; }

.agent-chat-message-action[data-agent-chat-action="reask"] { display: none; }

.is-latest-agent-response
    > .agent-chat-message-actions
    > .agent-chat-message-action[data-agent-chat-action="reask"] {
    display: inline-grid;
}

.agent-chat-message-action:disabled {
    cursor: not-allowed;
    opacity: .35;
}

@media (hover: none) {
    .agent-chat-message-action { color: #6f7480; }
}
