*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
}

:host {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
}

::slotted([slot=header]) {
  margin-bottom: 16px;
}

::slotted([slot=fileheader]) {
  margin: 16px 0 0 0;
}

::slotted([slot=filefooter]) {
  margin-top: 16px;
}

::slotted([slot=uploadfooter]) {
  margin-top: 20px;
}

.duet-upload {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
}
.duet-upload-item-size {
  font-size: 0.75rem;
  font-weight: 400;
}
.duet-upload-filelist {
  margin-bottom: 25px;
}
.duet-upload-filelist-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 400;
  background-color: rgb(245, 248, 250);
}
.duet-upload-filelist-empty-label {
  font-size: 1rem;
  font-weight: 400;
}
.duet-upload-editable-table-header-hidden {
  display: none;
}

.duet-upload-editable-table tbody .duet-upload-editable-table-data {
  padding: 0 !important;
  border: 0;
}
.duet-upload-editable-table duet-editable-table tfoot,
.duet-upload-editable-table duet-editable-table thead {
  display: none;
}
.duet-upload-editable-table duet-editable-table .duet-editable-table-content {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td {
  padding: 1rem 0 !important;
}
.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child {
  padding-right: 0 !important;
}
.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress, .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending {
  position: relative;
}
.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress, .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button), .duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button) {
  border: 0;
}

duet-paragraph::part(duet-paragraph) {
  word-break: break-word;
}

duet-editable-table tfoot {
  display: none;
}

.upload-bottom-caption {
  margin-top: 12px;
  margin-bottom: 16px;
  line-height: 1.4rem;
}

.items-header {
  display: none;
  flex-direction: row;
  margin-bottom: 0;
}
@media (min-width: 36em) {
  .items-header {
    display: flex;
  }
}
.items-header:not(:last-child), .items-header:not(:first-child) {
  margin-top: 12px;
}
.items-header .category-header {
  width: 35%;
}
.items-header .filename-header {
  width: 65%;
}
.items-header .filename-header.no-category {
  width: 100%;
}

.upload-item-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-content: center;
  align-items: center;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid rgb(212, 223, 229);
}
@media (min-width: 36em) {
  .upload-item-row {
    flex-direction: row;
    gap: 10px;
  }
}
.upload-item-row .item-categories {
  width: 100%;
}
@media (min-width: 36em) {
  .upload-item-row .item-categories {
    width: 35%;
  }
}
.upload-item-row .item-name {
  position: relative;
  bottom: 2px;
  width: 100%;
  text-align: left;
}
@media (min-width: 36em) {
  .upload-item-row .item-name {
    width: 50%;
  }
  .upload-item-row .item-name.no-category {
    width: 85%;
  }
}
.upload-item-row .item-categories .heading,
.upload-item-row .item-name .heading {
  display: block;
}
@media (min-width: 36em) {
  .upload-item-row .item-categories .heading,
  .upload-item-row .item-name .heading {
    display: none;
  }
}
.upload-item-row .item-actions {
  width: 100%;
  margin-left: -8px;
  text-align: left;
}
@media (min-width: 36em) {
  .upload-item-row .item-actions {
    width: 15%;
    padding-top: 0;
    margin-left: auto;
    text-align: right;
  }
}
.upload-item-row .duet-upload-item-name duet-icon {
  position: relative;
  top: 4px;
}
.upload-item-row .duet-upload-item-name duet-progress {
  display: block;
  margin-top: 16px;
}