.task-view .wc-description-heading > button {display:none!important;}
.task-view .wc-comments-heading {display:flex;align-items:center;margin:24px 0 16px;font-size:18px;font-weight:600;color:#292a2e;}
.task-view .wc-task-actions > .wc-delete-icon-only {width:40px!important;height:40px!important;min-width:40px!important;padding:9px!important;justify-content:center!important;}
.task-view .wc-delete-icon-only .icon {margin:0!important;}
.task-view .wc-task-uploads {display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:0 0 20px;}
.task-view .wc-task-uploads > button {display:inline-flex!important;align-items:center;gap:8px;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#44546f!important;font:inherit!important;cursor:pointer;}
.task-view .wc-task-uploads > button:hover {color:#172b4d!important;background:transparent!important;}
.task-view .heading {position:relative;}
.task-view .heading .close {position:absolute!important;inset:0 0 auto auto;z-index:5;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;touch-action:manipulation;}
@media(max-width:768px){
 .task-view .heading {padding-inline-end:52px!important;}
 .task-view .heading h1.title {min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;}
 .task-view .heading .task-properties {position:static!important;}
}

.task-view .wc-task-uploads > button,
.task-view .wc-task-uploads > button span:not(.icon) {font-size:14px!important;line-height:20px!important;font-weight:600!important;}

/* Upload actions use link styling, including native .button hover states. */
.task-view .wc-task-uploads > button:is(.button,.wc-upload-file,.wc-gallery-button),
.task-view .wc-task-uploads > button:is(.button,.wc-upload-file,.wc-gallery-button):hover:not(:disabled),
.task-view .wc-task-uploads > button:is(.button,.wc-upload-file,.wc-gallery-button):focus-visible,
.task-view .wc-task-uploads > button:is(.button,.wc-upload-file,.wc-gallery-button):active {
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 color:#44546f!important;text-transform:none!important;font-size:14px!important;line-height:20px!important;
}
.task-view .wc-task-uploads > button:is(.button,.wc-upload-file,.wc-gallery-button):hover:not(:disabled) {text-decoration:underline;text-underline-offset:3px;}

.task-view .comments-container .reactions {display:none!important;}
.task-view .comments-container .tiptap__editor-actions {margin-top:8px!important;}

.task-view .comments-container .ProseMirror img,
.task-view .tiptap__task-description .ProseMirror img {max-height:350px!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain;}

/* Remove reserved space for the hidden composer avatar. */
.task-view .comments-container :is(.new-comment-top,.new-comment-bottom) > .media-content {inline-size:100%!important;min-inline-size:0;}
