/* Archive browser and desktop-height containment for the enterprise file center. */
@media (min-width: 781px) {
  .app.file-storage-layout-active .content {
    display: flex;
    flex-direction: column;
  }

  .app.file-storage-layout-active .file-storage-prototype {
    display: flex;
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .app.file-storage-layout-active .file-storage-prototype .file-storage-main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .app.file-storage-layout-active .file-storage-prototype .file-storage-panel {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
  }

  .app.file-storage-layout-active .file-storage-prototype .file-storage-list {
    min-height: 0;
    overflow: auto;
  }
}

.file-storage-prototype .file-storage-row > span:nth-of-type(1),
.file-storage-prototype .fs-recycle-row > span:nth-of-type(1) {
  white-space: nowrap;
  color: #52708a;
}

.file-storage-prototype .fs-preview-archive {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.file-storage-prototype .fs-archive-tools,
.file-storage-prototype .fs-archive-crumb {
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid #e7edf1;
}

.file-storage-prototype .fs-archive-tools {
  justify-content: space-between;
  background: #fbfcfd;
}

.file-storage-prototype .fs-archive-crumb {
  overflow: auto;
  color: #748a99;
  white-space: nowrap;
}

.file-storage-prototype .fs-archive-crumb button,
.file-storage-prototype .fs-archive-name {
  border: 0;
  background: transparent;
  color: #087c58;
  font: inherit;
  cursor: pointer;
}

.file-storage-prototype .fs-preview-archive table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.file-storage-prototype .fs-preview-archive thead {
  position: sticky;
  top: 0;
  background: #f7fafb;
  color: #6e8595;
}

.file-storage-prototype .fs-preview-archive th,
.file-storage-prototype .fs-preview-archive td {
  height: 46px;
  padding: 0 22px;
  border-bottom: 1px solid #edf2f4;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-storage-prototype .fs-preview-archive th:last-child,
.file-storage-prototype .fs-preview-archive td:last-child {
  width: 220px;
  color: #5f7d90;
}

.file-storage-prototype .fs-preview-archive tr.folder:hover {
  background: #eef8f5;
}

.file-storage-prototype .fs-archive-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 0;
  color: #1d415d;
}

.file-storage-prototype .fs-preview-archive > table {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.file-storage-prototype .fs-preview-archive > table thead,
.file-storage-prototype .fs-preview-archive > table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.file-storage-prototype .fs-preview-archive-note {
  margin: 12px 20px;
  color: #6e8595;
}

@media (max-width: 780px) {
  .file-storage-prototype .fs-preview-archive th,
  .file-storage-prototype .fs-preview-archive td {
    padding: 0 12px;
  }

  .file-storage-prototype .fs-preview-archive th:last-child,
  .file-storage-prototype .fs-preview-archive td:last-child {
    width: 145px;
  }
}
