.tasks-pro-thread-reply-button,
.tasks-pro-thread-toggle,
.tasks-pro-thread-cancel {
    appearance: none;
    background: transparent;
    border: 0;
    color: #2563eb;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 0;
}

.tasks-pro-thread-reply-button {
    margin-left: 40px;
}

.tasks-pro-thread-replies {
    border-left: 2px solid #e5e7eb;
    margin: 4px 0 14px 30px;
    padding-left: 12px;
}

.tasks-pro-thread-replies > .task-comment {
    margin-bottom: 8px;
}

.tasks-pro-thread-replies .task-info-separator {
    display: none;
}

.tasks-pro-thread-collapsed {
    display: none !important;
}

.tasks-pro-thread-toggle {
    display: block;
    margin: 6px 0;
}

.tasks-pro-thread-summary {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    margin: 4px 0 8px;
}

.tasks-pro-thread-reply-banner {
    align-items: center;
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    color: #1e3a8a;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 7px 10px;
}

.tasks-pro-thread-cancel {
    color: #475569;
    margin-left: 12px;
}

.tasks-pro-thread-tombstone {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-style: italic;
    margin: 8px 0;
    padding: 12px;
}

.tasks-pro-thread-reply-target {
    animation: tasks-pro-thread-target-pulse 1.2s ease-out;
    scroll-margin-top: 24px;
}

@keyframes tasks-pro-thread-target-pulse {
    0% {
        box-shadow: 0 0 0 3px rgba(37, 99, 235, .35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@media (max-width: 767px) {
    .tasks-pro-thread-replies {
        margin-left: 12px;
        padding-left: 8px;
    }

    .tasks-pro-thread-reply-button {
        margin-left: 0;
    }
}
