.task-view .attachments > button.wc-upload-file,
.task-view .attachments > button.wc-gallery-button {
  display:inline-flex!important;width:auto!important;min-height:44px;align-items:center!important;justify-content:flex-start!important;
  vertical-align:middle;gap:8px;margin:0 16px 12px 0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#44546f!important;
  text-transform:none!important;cursor:pointer;white-space:nowrap;
}
.task-view .attachments > button.wc-gallery-button:hover:not(:disabled) {background:transparent!important;color:#172b4d!important;}
.wc-gallery-button .icon {display:inline-flex;align-items:center;justify-content:center;}
.task-view .attachments > button.wc-gallery-button > span:not(.icon) {font:inherit!important;}
/* Keep both upload actions available even before the first attachment. */
.task-view .content.attachments {display:block!important;}
.task-view .action-buttons > button:has(svg[data-icon="paperclip"]),
.task-view .comments-container .comments-heading {display:none!important;}

@media (pointer:coarse) {
  .kanban .task-item > .handle {touch-action:none!important;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;inline-size:36px!important;}
  .kanban .task-item > .handle::after {font-size:22px!important;}
  .sortable-fallback {pointer-events:none!important;opacity:.9!important;transform-origin:center!important;}
}

.kanban .task-item,.kanban .task-item * {
  -webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;
}
.kanban .task-item img,.kanban .task-item a {-webkit-user-drag:none;}
