/* Scoped to the company shared-files list; other platform tables are unchanged. */
.shared-files-view > section.panel > .table-scroll::before {
  content: '双击打开 · 右键显示操作';
  display: block;
  color: #657b78;
  font-size: 12px;
  padding: 0 16px 9px;
}
.shared-files-view > section.panel > .table-scroll > table > tbody > tr.shared-file-selected {
  background: #eff8f4;
}
.shared-files-view > section.panel > .table-scroll > table > tbody > tr > td:last-child {
  min-width: 220px;
}
.shared-files-view > section.panel > .table-scroll > table > tbody > tr > td:last-child > button.link {
  min-height: 30px;
  margin: 2px 14px 2px 0;
  padding: 3px 2px;
  line-height: 1.4;
  white-space: nowrap;
}
.shared-file-context-menu {
  position: fixed;
  z-index: 10000;
  width: 210px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #d9e4df;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 47, 41, .18);
}
.shared-file-context-heading {
  padding: 7px 10px 8px;
  border-bottom: 1px solid #edf2ef;
  color: #788b83;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shared-file-context-item {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #274b42;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}
.shared-file-context-item:hover,
.shared-file-context-item:focus-visible {
  background: #eaf5f0;
  outline: 2px solid #6aae93;
  outline-offset: -2px;
}
.shared-file-context-item.shared-file-context-danger { color: #a13e3e; }
@media (max-width: 700px) {
  .shared-files-view > section.panel > .table-scroll > table > tbody > tr > td:last-child > button.link {
    min-height: 40px;
    margin-right: 12px;
  }
}
