.task-file-tool .upload { scroll-margin-top: 90px; }
.task-file-tool .upload[data-drag="active"] { outline: 2px dashed #28645b; outline-offset: -7px; }
.task-file-tool .task-status:empty { display: none; }
.task-file-tool .workspace > * + * { margin-top: 16px; }
.task-file-tool .field-grid {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px 16px;
  min-width: 0;
  padding: 0;
  margin-inline: 0;
  border: 0;
}
.task-file-tool .field-grid label, .task-file-tool .range-field {
  display: grid;
  gap: 4px;
  font-size: .92rem;
}
.task-file-tool .field-grid .toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.task-file-tool :is(input[type="checkbox"], input[type="range"]) { accent-color: #28645b; }
.task-file-tool input[type="checkbox"] { width: 18px; height: 18px; }
.task-file-tool input[type="range"] { width: 100%; min-height: 44px; margin: 0; }
.task-file-tool figure { min-width: 0; margin-inline: 0; }
.task-file-tool figcaption { margin-bottom: 5px; color: #52616e; font-size: .87rem; font-weight: 650; }
.task-file-tool :is(figure > img, figure > canvas) {
  display: block;
  max-width: 100%;
  border: 1px solid #d9d4c9;
  border-radius: 10px;
  background: #f1f0eb;
}
.task-file-tool .file-facts { margin-block: 8px; color: #52616e; font-size: .87rem; }
.task-file-tool .file-facts:empty { display: none; }
.task-file-tool .workspace summary { padding-block: 8px; font-weight: 650; cursor: pointer; }
.task-file-tool .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.task-file-tool .pair figure { margin-block: 0; }
.task-file-tool .pair > figure > img {
  width: 100%;
  height: clamp(160px, 24vw, 360px);
  object-fit: contain;
}
.task-file-tool img[data-transparent="true"] {
  background: conic-gradient(#ecebe5 25%, #fff 0 50%, #ecebe5 0 75%, #fff 0) 0 0 / 20px 20px;
}
@media (max-width: 690px) {
  .task-file-tool .pair { grid-template-columns: minmax(0, 1fr); }
  .task-file-tool .pair > figure > img { height: clamp(180px, 58vw, 290px); }
}
