:root {
  --tsm-ink: #172033;
  --tsm-muted: #65748b;
  --tsm-soft: #f4f7fb;
  --tsm-panel: #ffffff;
  --tsm-line: #dce5ef;
  --tsm-primary: #3157d5;
  --tsm-green: #0f9f6e;
  --tsm-yellow: #f0b429;
  --tsm-shadow: 0 16px 44px rgba(23, 32, 51, 0.10);
}

body.npc-apps-files {
  background: var(--tsm-soft);
  color: var(--tsm-ink);
}

html.dark-mode body.npc-apps-files,
body.npc-apps-files.dark-mode {
  --tsm-ink: #e8eef9;
  --tsm-muted: #9aa8bd;
  --tsm-soft: #0e1726;
  --tsm-panel: #151f31;
  --tsm-line: #27364f;
  --tsm-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

body.npc-apps-files,
body.npc-apps-files .nk-app-root,
body.npc-apps-files .nk-main,
body.npc-apps-files .nk-wrap,
body.npc-apps-files .nk-content,
body.npc-apps-files .nk-content-inner,
body.npc-apps-files .nk-content-body,
body.npc-apps-files .nk-fmg,
body.npc-apps-files .nk-fmg-body {
  min-height: 100vh;
  background: var(--tsm-soft) !important;
}

.nk-header.is-light {
  border-bottom: 1px solid var(--tsm-line);
  background: color-mix(in srgb, var(--tsm-panel) 94%, transparent) !important;
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.nk-header-app-logo .icon {
  display: grid;
  place-items: center;
  border-radius: 8px !important;
  background: #e8f1ff !important;
  color: var(--tsm-primary) !important;
}

.nk-header-app-info .sub-text {
  color: var(--tsm-muted);
  font-weight: 700;
}

.nk-header-app-info .lead-text {
  color: var(--tsm-ink);
  font-weight: 900;
}

.user-avatar,
.quick-icon {
  border-radius: 8px !important;
}

.user-avatar {
  background: color-mix(in srgb, var(--tsm-primary) 12%, var(--tsm-panel)) !important;
  color: var(--tsm-primary) !important;
}

.nk-fmg {
  background: var(--tsm-soft);
}

.nk-fmg-aside {
  border-right: 1px solid var(--tsm-line);
  background: var(--tsm-panel) !important;
}

.nk-fmg-aside-wrap {
  padding: 18px 16px;
}

.nk-fmg-menu {
  display: grid;
  gap: 6px;
}

.nk-fmg-menu-item {
  min-height: 44px;
  border-radius: 7px;
  color: #43516a;
  font-weight: 800;
}

.nk-fmg-menu-item .icon {
  color: #7182a0;
}

.nk-fmg-menu li.active > .nk-fmg-menu-item,
.nk-fmg-menu-item:hover {
  background: #eaf0ff !important;
  color: var(--tsm-primary) !important;
}

.nk-fmg-menu li.active > .nk-fmg-menu-item .icon,
.nk-fmg-menu-item:hover .icon {
  color: var(--tsm-primary) !important;
}

.nk-fmg-status {
  padding: 16px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-panel) 84%, var(--tsm-soft));
}

.nk-fmg-status-title {
  color: var(--tsm-ink);
  letter-spacing: 0;
}

.progress,
.progress-bar {
  border-radius: 999px;
}

.progress-bar {
  background: var(--tsm-primary);
}

.nk-fmg-body {
  background: var(--tsm-soft);
  min-width: 0;
}

.nk-fmg-body-head {
  min-height: 72px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--tsm-line);
  background: var(--tsm-panel);
}

.nk-fmg-search {
  max-width: 520px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-panel) 86%, var(--tsm-soft));
}

.nk-fmg-search .form-control {
  min-height: 44px;
  color: var(--tsm-ink);
}

.nk-fmg-actions .btn,
.nk-block-tools .btn,
.modal .btn {
  border-radius: 7px;
  font-weight: 800;
}

.btn-primary {
  border-color: var(--tsm-primary) !important;
  background: var(--tsm-primary) !important;
  box-shadow: 0 12px 24px rgba(49, 87, 213, 0.18);
}

.btn-light {
  border-color: var(--tsm-line) !important;
  background: color-mix(in srgb, var(--tsm-panel) 78%, var(--tsm-soft)) !important;
  color: var(--tsm-ink) !important;
}

.nk-fmg-body-content {
  padding: 28px;
  min-height: calc(100vh - 65px);
  background: var(--tsm-soft);
}

.page-title {
  color: var(--tsm-ink);
  font-size: 1.62rem;
  letter-spacing: 0;
}

.nk-block-head {
  margin-bottom: 18px;
}

.nk-block-title,
.tb-head,
.sub-text {
  letter-spacing: 0 !important;
}

.nk-fmg-listing {
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: var(--tsm-panel);
  box-shadow: var(--tsm-shadow);
  overflow: hidden;
}

.nk-files-head {
  border-bottom: 1px solid var(--tsm-line);
  background: color-mix(in srgb, var(--tsm-panel) 84%, var(--tsm-soft));
}

.nk-files-head .nk-file-item {
  min-height: 48px;
}

.nk-files-list {
  min-height: 260px;
}

.nk-files-view-list .nk-file-item {
  min-height: 62px;
  border-color: var(--tsm-line);
}

.nk-files-view-list .nk-file-item:hover {
  background: color-mix(in srgb, var(--tsm-panel) 78%, var(--tsm-soft));
}

.nk-file-name .title,
.nk-file-name-text .title {
  color: var(--tsm-ink);
  font-weight: 800;
}

.nk-file-icon-type svg {
  width: 38px;
  height: 38px;
}

.nk-file-desc {
  color: var(--tsm-muted);
}

.nk-file-actions .btn-trigger,
.btn-trigger {
  border-radius: 7px;
}

.dropdown-menu {
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.14);
}

.modal-content,
.card {
  border-radius: 8px !important;
}

.modal-content {
  border: 1px solid var(--tsm-line);
  box-shadow: 0 28px 80px rgba(23, 32, 51, 0.24);
}

.upload-zone {
  border: 2px dashed #9db2d6 !important;
  background: #f8fbfe !important;
}

.nk-upload-list,
#queuedFiles {
  gap: 8px;
}

.nk-upload-item,
#queuedFiles > li {
  border-radius: 7px;
  background: color-mix(in srgb, var(--tsm-panel) 82%, var(--tsm-soft));
}

.ts-manager-state {
  display: grid;
  min-height: min(420px, calc(100vh - 220px));
  place-items: center;
  padding: 44px 22px;
  text-align: center;
}

.ts-manager-state-card {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: var(--tsm-panel);
  box-shadow: var(--tsm-shadow);
}

.ts-manager-state-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-primary) 14%, var(--tsm-panel));
  color: var(--tsm-primary);
  font-size: 24px;
}

.ts-manager-state-title {
  margin: 0 0 8px;
  color: var(--tsm-ink);
  font-size: 1.25rem;
  font-weight: 900;
}

.ts-manager-state-copy {
  margin: 0 auto 22px;
  color: var(--tsm-muted);
  line-height: 1.6;
}

.ts-manager-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ts-empty-row {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 34px 20px;
  text-align: center;
}

.ts-empty-row h4 {
  margin-bottom: 8px;
  color: var(--tsm-ink);
  font-weight: 900;
}

.ts-empty-row p {
  max-width: 440px;
  margin: 0 auto 18px;
  color: var(--tsm-muted);
}

.ts-signed-out .nk-fmg-status-info {
  color: var(--tsm-muted);
}

body.npc-apps-files .card,
body.npc-apps-files .modal-content,
body.npc-apps-files .dropdown-menu,
body.npc-apps-files .data-list,
body.npc-apps-files .card-aside {
  border-color: var(--tsm-line) !important;
  background: var(--tsm-panel) !important;
  color: var(--tsm-ink);
}

body.npc-apps-files .card {
  box-shadow: var(--tsm-shadow);
}

body.npc-apps-files .nk-block-title,
body.npc-apps-files .lead-text,
body.npc-apps-files .data-label,
body.npc-apps-files .data-value,
body.npc-apps-files .user-info .lead-text,
body.npc-apps-files .dropdown-menu a,
body.npc-apps-files .link-list-menu a {
  color: var(--tsm-ink) !important;
}

body.npc-apps-files .nk-block-des,
body.npc-apps-files .nk-block-des p,
body.npc-apps-files .data-head,
body.npc-apps-files .overline-title,
body.npc-apps-files .user-info .sub-text,
body.npc-apps-files .nk-fmg-status-info,
body.npc-apps-files .tb-sub {
  color: var(--tsm-muted) !important;
}

body.npc-apps-files .data-item,
body.npc-apps-files .card-inner,
body.npc-apps-files .card-inner-group,
body.npc-apps-files .link-list-menu li {
  border-color: var(--tsm-line) !important;
}

body.npc-apps-files.dark-mode .bg-lighter,
body.npc-apps-files.dark-mode .bg-light,
body.npc-apps-files.dark-mode .dropdown-inner {
  background: color-mix(in srgb, var(--tsm-panel) 82%, var(--tsm-soft)) !important;
}

body.npc-apps-files.dark-mode .btn-trigger:hover,
body.npc-apps-files.dark-mode .nk-quick-nav-icon:hover,
body.npc-apps-files.dark-mode .link-list-menu a:hover,
body.npc-apps-files.dark-mode .link-list-menu a.active,
body.npc-apps-files.dark-mode .dropdown-menu a:hover {
  background: #1f2d45 !important;
  color: #ffffff !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover {
  background: #1f2d45 !important;
  color: #ffffff !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item .icon,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover .icon,
body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item .nk-fmg-menu-text,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover .nk-fmg-menu-text {
  color: #ffffff !important;
}

body.npc-apps-files.dark-mode .form-control,
body.npc-apps-files.dark-mode .custom-select {
  border-color: var(--tsm-line) !important;
  background: var(--tsm-form-bg, #101a2a) !important;
  color: var(--tsm-ink) !important;
}

body.npc-apps-files.dark-mode .modal-content,
body.npc-apps-files.dark-mode .card,
body.npc-apps-files.dark-mode .card-inner {
  --tsm-form-bg: var(--tsm-panel);
}

body.npc-apps-files.dark-mode .form-control-wrap,
body.npc-apps-files.dark-mode .form-control-group {
  --tsm-form-bg: #101a2a;
}

body.npc-apps-files.dark-mode .modal-content .form-control-wrap,
body.npc-apps-files.dark-mode .modal-content .form-control-group,
body.npc-apps-files.dark-mode .card .form-control-wrap,
body.npc-apps-files.dark-mode .card .form-control-group {
  --tsm-form-bg: var(--tsm-panel);
}

body.npc-apps-files.dark-mode .form-select,
body.npc-apps-files.dark-mode textarea.form-control,
body.npc-apps-files.dark-mode .tagContainer,
body.npc-apps-files.dark-mode .input-group-text {
  border-color: var(--tsm-line) !important;
  background: var(--tsm-form-bg, #101a2a) !important;
  color: var(--tsm-ink) !important;
}

body.npc-apps-files.dark-mode .form-control:focus,
body.npc-apps-files.dark-mode .form-select:focus,
body.npc-apps-files.dark-mode textarea.form-control:focus {
  border-color: #5d78ff !important;
  background: var(--tsm-form-bg, #101a2a) !important;
  color: #f8fbff !important;
  box-shadow: 0 0 0 3px rgba(93, 120, 255, 0.14) !important;
}

body.npc-apps-files.dark-mode .form-control::placeholder,
body.npc-apps-files.dark-mode textarea.form-control::placeholder {
  color: #73839f !important;
  opacity: 1;
}

body.npc-apps-files.dark-mode .form-control:disabled,
body.npc-apps-files.dark-mode .form-control[readonly],
body.npc-apps-files.dark-mode .form-select:disabled {
  border-color: #2b3b52 !important;
  background: #111a29 !important;
  color: #7f91ad !important;
  -webkit-text-fill-color: #7f91ad;
}

body.npc-apps-files.dark-mode .form-label,
body.npc-apps-files.dark-mode .form-label-group .form-label,
body.npc-apps-files.dark-mode .custom-control-label,
body.npc-apps-files.dark-mode .form-note {
  background: transparent !important;
  color: #a8b7ce !important;
  text-shadow: none !important;
}

body.npc-apps-files.dark-mode .form-label-outlined {
  background: var(--tsm-form-bg, #101a2a) !important;
  color: #a8b7ce !important;
  text-shadow: none !important;
}

body.npc-apps-files.dark-mode .focused .form-label-outlined,
body.npc-apps-files.dark-mode .form-control:focus ~ .form-label-outlined {
  color: #dce6ff !important;
}

body.npc-apps-files.dark-mode .tagBox {
  border-color: #3b4f6d !important;
  background: #1d2b42 !important;
  color: #eef5ff !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-header-wrap {
    min-height: 64px;
  }

  body.npc-apps-files .nk-header-app-name {
    min-width: 0;
  }

  body.npc-apps-files .nk-header-app-info {
    min-width: 0;
  }

  body.npc-apps-files .nk-header-app-info .lead-text,
  body.npc-apps-files .nk-header-app-info .sub-text {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nk-fmg-body-content {
    padding: 18px;
    min-height: calc(100vh - 65px);
  }

  .nk-fmg-listing {
    border-radius: 8px;
  }

  .nk-fmg-aside-wrap {
    padding: 14px;
  }

  .nk-fmg-aside.content-active {
    box-shadow: 16px 0 50px rgba(0, 0, 0, 0.18);
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-header .container-fluid {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.npc-apps-files .nk-header-app-logo .icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  body.npc-apps-files .nk-header-app-info .sub-text {
    font-size: 0.68rem;
  }

  body.npc-apps-files .nk-header-app-info .lead-text {
    font-size: 0.94rem;
  }

  .nk-fmg-body-content {
    padding: 16px 14px 24px;
  }

  .page-title {
    font-size: 1.35rem;
  }

  .ts-manager-state-card {
    padding: 22px 18px;
  }

  .ts-manager-state {
    min-height: 360px;
    padding: 24px 12px;
  }

  .ts-manager-state-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ts-manager-state-actions .btn {
    width: 100%;
  }

  .nk-files-view-list .nk-file-item {
    align-items: flex-start;
  }
}

/* Manager shell polish pass */
body.npc-apps-files {
  --tsm-content-max: 1240px;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.npc-apps-files .nk-header-fixed {
  position: sticky;
  top: 0;
}

body.npc-apps-files .nk-header-wrap {
  min-height: 66px;
}

body.npc-apps-files .nk-header-app-name {
  gap: 12px;
}

body.npc-apps-files .nk-header-app-logo .icon {
  width: 42px;
  height: 42px;
  font-size: 1.25rem;
}

body.npc-apps-files .nk-header-app-info .sub-text {
  margin-bottom: 2px;
  font-size: 0.72rem;
  letter-spacing: 0;
}

body.npc-apps-files .nk-header-app-info .lead-text {
  font-size: 0.98rem;
  letter-spacing: 0;
}

body.npc-apps-files .nk-fmg {
  min-height: calc(100vh - 66px);
}

body.npc-apps-files .nk-fmg-aside {
  flex: 0 0 248px;
  width: 248px;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  min-height: calc(100vh - 66px);
  padding: 22px 16px 18px;
}

body.npc-apps-files .nk-fmg-menu {
  gap: 8px;
}

body.npc-apps-files .nk-fmg-menu-item {
  min-height: 44px;
  padding: 0 14px;
}

body.npc-apps-files .nk-fmg-menu-item .icon {
  font-size: 1.15rem;
}

body.npc-apps-files .nk-fmg-status {
  padding: 18px;
}

body.npc-apps-files .nk-fmg-status-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

body.npc-apps-files .nk-fmg-status-info {
  margin-top: 12px;
  font-size: 0.82rem;
}

body.npc-apps-files .nk-fmg-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

body.npc-apps-files .nk-fmg-body-head {
  min-height: 74px;
  justify-content: space-between;
  padding-right: max(28px, calc((100% - var(--tsm-content-max)) / 2));
  padding-left: max(28px, calc((100% - var(--tsm-content-max)) / 2));
}

body.npc-apps-files .nk-fmg-search {
  width: min(520px, 48vw);
  max-width: none;
}

body.npc-apps-files .nk-fmg-search .icon {
  color: var(--tsm-muted);
}

body.npc-apps-files .nk-fmg-body-content {
  width: min(var(--tsm-content-max), 100%);
  min-height: auto;
  margin: 0 auto;
  padding: 28px 28px 40px;
}

body.npc-apps-files .nk-block-head {
  margin-bottom: 22px;
}

body.npc-apps-files .page-title {
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 950;
}

body.npc-apps-files .nk-fmg-listing {
  margin-top: 0;
  border-radius: 8px;
}

body.npc-apps-files .nk-files-head {
  min-height: 54px;
}

body.npc-apps-files .nk-files-head .nk-file-item {
  min-height: 54px;
  padding-right: 20px;
  padding-left: 20px;
}

body.npc-apps-files .tb-head {
  color: var(--tsm-ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: none;
}

body.npc-apps-files .nk-files-list {
  min-height: 0;
}

body.npc-apps-files .nk-files-list .ts-empty-row {
  width: 100%;
  min-height: clamp(260px, 34vh, 360px);
  padding: 44px 20px;
}

body.npc-apps-files .ts-empty-row > div {
  display: grid;
  justify-items: center;
}

body.npc-apps-files .ts-empty-row > div::before {
  content: "\e982";
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-primary) 13%, var(--tsm-panel));
  color: var(--tsm-primary);
  font-family: "Nioicon";
  font-size: 1.45rem;
  line-height: 1;
}

body.npc-apps-files .ts-empty-row h4 {
  font-size: 1.35rem;
  line-height: 1.2;
}

body.npc-apps-files .ts-empty-row p {
  max-width: 520px;
  font-size: 0.94rem;
}

body.npc-apps-files .ts-manager-state {
  min-height: clamp(340px, 48vh, 520px);
}

body.npc-apps-files .ts-manager-state-card {
  box-shadow: 0 22px 58px rgba(23, 32, 51, 0.11);
}

body.npc-apps-files.dark-mode .nk-header.is-light,
body.npc-apps-files.dark-mode .nk-fmg-body-head,
body.npc-apps-files.dark-mode .nk-fmg-aside,
body.npc-apps-files.dark-mode .nk-fmg-listing,
body.npc-apps-files.dark-mode .nk-files-head,
body.npc-apps-files.dark-mode .ts-manager-state-card {
  background: var(--tsm-panel) !important;
  border-color: var(--tsm-line) !important;
}

body.npc-apps-files.dark-mode .nk-fmg-search,
body.npc-apps-files.dark-mode .ts-empty-row > div::before {
  background: color-mix(in srgb, var(--tsm-panel) 84%, var(--tsm-soft)) !important;
}

@media (max-width: 1199px) {
  body.npc-apps-files .nk-fmg-aside {
    flex-basis: 232px;
    width: 232px;
  }

  body.npc-apps-files .nk-fmg-body-head {
    padding-right: 24px;
    padding-left: 24px;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-header-fixed {
    position: sticky;
  }

  body.npc-apps-files .nk-fmg-aside {
    width: 280px;
  }

  body.npc-apps-files .nk-fmg-body-content {
    width: 100%;
    padding: 22px 18px 34px;
  }

  body.npc-apps-files .nk-block-between.position-relative {
    align-items: center;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-header-wrap {
    min-height: 62px;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding: 20px 14px 30px;
  }

  body.npc-apps-files .nk-fmg-listing {
    border-radius: 7px;
  }

  body.npc-apps-files .nk-files-head .nk-file-item {
    padding-right: 14px;
    padding-left: 14px;
  }

  body.npc-apps-files .nk-files-list .ts-empty-row {
    min-height: 300px;
    padding: 34px 16px;
  }
}

/* Manager spacing and upload modal polish */
body.npc-apps-files {
  --tsm-content-max: 1120px;
}

body.npc-apps-files .nk-fmg-body-head {
  min-height: 70px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: max(56px, calc((100% - var(--tsm-content-max)) / 2 + 28px));
  padding-left: max(56px, calc((100% - var(--tsm-content-max)) / 2 + 28px));
}

body.npc-apps-files .nk-fmg-body-content {
  padding-top: 32px;
}

body.npc-apps-files .nk-block-head-sm {
  margin-bottom: 18px !important;
}

body.npc-apps-files .nk-fmg-listing {
  min-height: clamp(420px, 56vh, 620px);
}

body.npc-apps-files .nk-files-list .ts-empty-row {
  min-height: clamp(320px, 42vh, 440px);
}

body.npc-apps-files .nk-fmg-search {
  width: min(620px, 54vw);
}

#file-upload .modal-dialog {
  max-width: min(680px, calc(100vw - 28px));
}

#file-upload .modal-content {
  overflow: hidden;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 8px !important;
  background: var(--tsm-panel) !important;
}

#file-upload .close {
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-panel) 88%, var(--tsm-soft));
  color: var(--tsm-muted);
  opacity: 1;
}

#file-upload .modal-body-md {
  padding: 34px 40px 30px !important;
}

#file-upload .nk-upload-form {
  display: block !important;
  text-align: center !important;
}

#file-upload .nk-upload-form .title {
  margin: 0 0 18px !important;
  color: var(--tsm-ink);
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: 0;
}

#file-upload #uploadInit {
  text-align: left !important;
}

#file-upload #uploadZoneConfig {
  display: grid !important;
  width: 100% !important;
  min-height: 158px !important;
  height: auto !important;
  margin: 0 !important;
  place-items: center !important;
  border: 2px dashed #9bb1ee !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(49, 87, 213, 0.035), rgba(15, 159, 110, 0.025)),
    color-mix(in srgb, var(--tsm-panel) 78%, var(--tsm-soft)) !important;
}

#file-upload #uploadZoneConfig:hover,
#file-upload #uploadZoneConfig.dz-drag-hover {
  border-color: var(--tsm-primary) !important;
  background: color-mix(in srgb, var(--tsm-primary) 6%, var(--tsm-panel)) !important;
}

#file-upload #uploadZoneConfig .dz-message {
  margin: 0 !important;
}

#file-upload #messageBox {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  color: var(--tsm-muted);
  font-size: 0.98rem !important;
  font-weight: 750;
  line-height: 1.45;
  text-align: center !important;
}

#file-upload #messageBoxText {
  font-style: normal;
}

#file-upload #messageBoxText span {
  color: var(--tsm-ink);
  font-weight: 900;
}

#file-upload #folderButton {
  color: var(--tsm-primary);
  font-weight: 950;
  cursor: pointer;
}

#file-upload #queuedFiles {
  display: grid !important;
  max-height: 250px !important;
  margin: 18px 0 0 !important;
  padding: 0 4px 0 0 !important;
  gap: 8px !important;
  overflow-y: auto !important;
  list-style: none !important;
}

#file-upload #queuedFiles > li,
#file-upload #queuedFiles > li.ts-manager-file-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  gap: 12px;
  align-items: center;
  justify-content: initial !important;
  min-height: 46px;
  padding: 10px 12px !important;
  border: 1px solid color-mix(in srgb, var(--tsm-line) 84%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-panel) 86%, var(--tsm-soft)) !important;
  color: var(--tsm-ink);
  font-size: 0.92rem !important;
  font-weight: 850 !important;
}

#file-upload .ts-manager-file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--tsm-ink);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#file-upload .ts-manager-file-size {
  color: var(--tsm-muted);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

#file-upload .ts-manager-file-remove {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--tsm-primary) !important;
  cursor: pointer;
}

#file-upload .ts-manager-file-remove:hover {
  background: color-mix(in srgb, var(--tsm-primary) 12%, var(--tsm-panel));
}

#file-upload #paginationButtons .nk-modal-action {
  margin-top: 26px;
}

#file-upload #paginationButtons .btn-toolbar {
  float: none !important;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

#file-upload #paginationButtons li {
  margin: 0 !important;
}

#file-upload #paginationCancelButton,
#file-upload #paginationBackButton {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--tsm-primary);
  font-weight: 900;
  cursor: pointer;
}

#file-upload #paginationNextButton {
  min-width: 108px;
  min-height: 44px;
}

#file-upload #nk-configure-form {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

#file-upload #nk-configure-form > .row {
  margin: 0 !important;
}

#file-upload #nk-configure-form .col-sm,
#file-upload #nk-configure-form .configure-zone {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

#file-upload #nk-configure-form .nav-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-primary) 9%, var(--tsm-panel));
}

#file-upload #nk-configure-form .nav-item {
  width: 100%;
}

#file-upload #nk-configure-form .nav-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--tsm-ink);
  font-weight: 950;
}

#file-upload #nk-configure-form .nav-link.active {
  background: var(--tsm-panel) !important;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.10);
}

#file-upload #nk-configure-form .form-group {
  margin-bottom: 13px;
}

#file-upload #nk-configure-form .form-control,
#file-upload #nk-configure-form .form-select,
#file-upload #nk-configure-form .tagContainer {
  min-height: 44px;
  border-color: var(--tsm-line);
  border-radius: 7px;
  color: var(--tsm-ink);
}

#file-upload #transferSettings {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

#file-upload #transferSettings .card {
  border-radius: 8px !important;
}

body.npc-apps-files.dark-mode #file-upload #uploadZoneConfig,
body.npc-apps-files.dark-mode #file-upload #queuedFiles > li,
body.npc-apps-files.dark-mode #file-upload .ts-manager-file-remove:hover {
  background: color-mix(in srgb, var(--tsm-panel) 84%, var(--tsm-soft)) !important;
}

body.npc-apps-files.dark-mode #file-upload .modal-content,
body.npc-apps-files.dark-mode #file-upload .form-control,
body.npc-apps-files.dark-mode #file-upload .form-select,
body.npc-apps-files.dark-mode #file-upload .tagContainer {
  background: var(--tsm-panel) !important;
  color: var(--tsm-ink) !important;
}

@media (max-width: 767px) {
  body.npc-apps-files .nk-fmg-search {
    width: 100%;
  }

  #file-upload .modal-body-md {
    padding: 28px 22px 24px !important;
  }

  #file-upload #uploadZoneConfig {
    min-height: 150px !important;
  }

  #file-upload #paginationButtons .btn-toolbar {
    justify-content: space-between;
  }
}

/* Final manager shell correction: remove legacy fixed-header spacer and make the file area behave like an app. */
body.npc-apps-files .nk-content.p-0,
body.npc-apps-files .nk-content-inner,
body.npc-apps-files .nk-content-body,
body.npc-apps-files .nk-fmg,
body.npc-apps-files .nk-fmg-body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.npc-apps-files .nk-wrap {
  padding-top: 0 !important;
}

body.npc-apps-files .nk-fmg-body-head {
  top: 67px;
  z-index: 5;
  gap: 16px;
  min-height: 70px;
  margin-top: 0 !important;
  padding: 12px 36px !important;
  border-top: 0 !important;
}

body.npc-apps-files .nk-fmg-search {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
}

body.npc-apps-files .nk-fmg-actions {
  flex: 0 0 auto;
}

body.npc-apps-files .nk-fmg-actions .nk-block-tools {
  margin: 0;
}

body.npc-apps-files .nk-fmg-body-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 36px 42px !important;
}

body.npc-apps-files .nk-block-head-sm {
  margin-bottom: 22px !important;
}

body.npc-apps-files .nk-fmg-listing {
  width: 100%;
  min-height: clamp(430px, 58vh, 660px);
}

body.npc-apps-files .nk-files-view-group .nk-files-list {
  display: grid !important;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 74px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid color-mix(in srgb, var(--tsm-line) 86%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-panel) 96%, var(--tsm-soft));
  box-shadow: none;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file:hover {
  border-color: color-mix(in srgb, var(--tsm-primary) 34%, var(--tsm-line));
  background: var(--tsm-panel);
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file .nk-file-info {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 20px;
  align-items: center;
}

body.npc-apps-files .nk-files-view-group .nk-file-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

body.npc-apps-files .nk-files-view-group .nk-file-icon {
  flex: 0 0 42px;
}

body.npc-apps-files .nk-files-view-group .nk-file-icon-type svg {
  width: 42px;
  height: 42px;
}

body.npc-apps-files .nk-files-view-group .nk-file-name,
body.npc-apps-files .nk-files-view-group .nk-file-name-text,
body.npc-apps-files .nk-files-view-group .nk-file-name-text .title {
  min-width: 0;
  max-width: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-name-text .title {
  display: block;
  overflow: hidden;
  color: var(--tsm-ink);
  font-size: 0.96rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  color: var(--tsm-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc li {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 4px 9px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  color: #52627b;
  white-space: nowrap;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc li::before,
body.npc-apps-files .nk-files-view-group .nk-file-desc li::after {
  content: none !important;
  display: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-actions {
  align-self: center;
}

body.npc-apps-files .nk-files-view-group .nk-file-actions .btn-trigger {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

body.npc-apps-files .nk-files-group > .title {
  margin: 0;
  padding: 12px 16px 0;
  color: #3d4c64;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file,
body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-desc li {
  background: color-mix(in srgb, var(--tsm-panel) 88%, var(--tsm-soft)) !important;
}

@media (max-width: 1199px) {
  body.npc-apps-files .nk-fmg-body-head {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-content.p-0 {
    margin-top: 0 !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding: 22px 18px 34px !important;
  }
}

@media (max-width: 767px) {
  body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file,
  body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file .nk-file-info {
    grid-template-columns: minmax(0, 1fr);
  }

  body.npc-apps-files .nk-files-view-group .nk-file-actions {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  body.npc-apps-files .nk-files-view-group .nk-file-desc {
    justify-content: flex-start;
    padding-left: 54px;
  }
}

/* Compact manager grid pass */
body.npc-apps-files .nk-fmg-aside {
  flex: 0 0 232px !important;
  width: 232px !important;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  padding: 18px 12px 16px !important;
}

body.npc-apps-files .nk-fmg-menu {
  gap: 4px !important;
}

body.npc-apps-files .nk-fmg-menu-item {
  min-height: 38px !important;
  padding: 0 11px !important;
  gap: 10px;
  border-radius: 7px;
  font-size: 0.9rem;
}

body.npc-apps-files .nk-fmg-menu-item .icon {
  width: 22px;
  font-size: 1.05rem !important;
}

body.npc-apps-files .nk-fmg-status {
  padding: 14px !important;
}

body.npc-apps-files .nk-fmg-status-title {
  margin-bottom: 12px !important;
}

body.npc-apps-files .nk-fmg-body-head {
  padding: 10px 32px !important;
}

body.npc-apps-files .nk-fmg-search {
  position: relative;
  align-items: center;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--tsm-panel) !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  color: #5e6f8b !important;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

body.npc-apps-files .nk-fmg-search .form-control {
  width: 100%;
  min-height: 42px;
  padding: 0 16px 0 42px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 42px;
}

body.npc-apps-files .nk-fmg-body-content {
  padding: 24px 32px 38px !important;
}

body.npc-apps-files .page-title {
  font-size: clamp(1.45rem, 1.7vw, 1.72rem) !important;
}

body.npc-apps-files .nk-fmg-listing {
  min-height: clamp(420px, 57vh, 620px);
  border-color: #d9e3f1;
  box-shadow: 0 18px 46px rgba(23, 32, 51, 0.07);
}

body.npc-apps-files .nk-files-head {
  min-height: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

body.npc-apps-files .nk-files-head .nk-file-item {
  min-height: auto !important;
  padding: 16px 18px 2px !important;
  border-bottom: 0 !important;
}

body.npc-apps-files .nk-files-head + .searchDiv,
body.npc-apps-files .nk-files-head + .searchDiv + .filesDiv,
body.npc-apps-files .nk-files-head + .searchDiv + .foldersDiv {
  border-top: 0 !important;
}

body.npc-apps-files .nk-files-group {
  border-top: 0 !important;
}

body.npc-apps-files .nk-files-group > .title {
  padding: 8px 18px 0 !important;
  border-top: 0 !important;
  color: #41516a;
}

body.npc-apps-files .nk-files-view-group .nk-files-list {
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)) !important;
  gap: 14px !important;
  padding: 14px 18px 18px !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file {
  min-height: 172px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 18px !important;
  border-color: #dbe5f1;
  background:
    linear-gradient(180deg, rgba(49, 87, 213, 0.035), rgba(255, 255, 255, 0) 58%),
    var(--tsm-panel);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.045);
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file:hover {
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.09);
  transform: translateY(-1px);
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file .nk-file-info {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 0 !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-title {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

body.npc-apps-files .nk-files-view-group .nk-file-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  place-items: center;
  border-radius: 8px;
  background: #eaf0ff;
}

body.npc-apps-files .nk-files-view-group .nk-file-icon-type svg {
  width: 32px;
  height: 32px;
}

body.npc-apps-files .nk-files-view-group .nk-file-name-text .title {
  font-size: 0.98rem;
  line-height: 1.25;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc {
  justify-content: flex-start;
  gap: 7px;
  padding-left: 60px;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc li {
  min-height: 26px;
  padding: 3px 8px;
  font-size: 0.78rem;
}

body.npc-apps-files .nk-files-view-group .nk-file-actions {
  position: absolute;
  top: 14px;
  right: 14px;
}

body.npc-apps-files .nk-files-view-group .nk-file-actions .btn-trigger {
  width: 32px;
  height: 32px;
  background: color-mix(in srgb, var(--tsm-panel) 72%, #eaf0ff);
}

@media (min-width: 1400px) {
  body.npc-apps-files .nk-files-view-group .nk-files-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 1199px) {
  body.npc-apps-files .nk-fmg-aside {
    flex-basis: 218px !important;
    width: 218px !important;
  }

  body.npc-apps-files .nk-fmg-body-head,
  body.npc-apps-files .nk-fmg-body-content {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

@media (max-width: 767px) {
  body.npc-apps-files .nk-fmg-body-content {
    padding: 20px 18px 32px !important;
  }

  body.npc-apps-files .nk-files-head .nk-file-item,
  body.npc-apps-files .nk-files-group > .title {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px 14px 16px !important;
  }
}

/* Manager grid polish v2 */
body.npc-apps-files .nk-fmg-body {
  margin-left: -28px !important;
  width: calc(100% + 28px) !important;
}

body.npc-apps-files .nk-fmg-body-head {
  width: calc(100vw - 232px) !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
}

@media (min-width: 1400px) {
  body.npc-apps-files .nk-files-view-group .nk-files-list {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  }
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file {
  min-height: 152px;
  align-content: start;
}

body.npc-apps-files .nk-files-view-group .nk-file-title {
  padding-right: 38px;
}

body.npc-apps-files .nk-files-view-group .nk-file-name-text .title {
  display: -webkit-box;
  min-height: 2.45em;
  white-space: normal;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc {
  margin-top: 2px;
  padding-left: 60px;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

body.npc-apps-files .nk-fmg-menu-item {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

@media (max-width: 1199px) {
  body.npc-apps-files .nk-fmg-body {
    margin-left: -42px !important;
    width: calc(100% + 42px) !important;
  }

  body.npc-apps-files .nk-fmg-body-head {
    width: calc(100vw - 218px) !important;
  }
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  body.npc-apps-files .nk-files-view-group .nk-file-title {
    padding-right: 34px;
  }
}

/* Trash page grid */
body.ts-trash-page .nk-files-view-list .nk-files-head {
  display: none !important;
}

body.ts-trash-page .nk-fmg-listing {
  min-height: clamp(420px, 58vh, 620px);
}

body.ts-trash-page .nk-files-view-list .filesListTab {
  display: grid !important;
  min-height: 0;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  gap: 10px;
  padding: 0 !important;
}

body.ts-trash-page .nk-files-view-list .filesListTab .ts-empty-row {
  grid-column: 1 / -1;
}

body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file {
  position: relative;
  display: grid !important;
  min-height: 150px;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(49, 87, 213, 0.035), rgba(255, 255, 255, 0) 58%),
    var(--tsm-panel);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.045);
}

body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file:hover {
  border-color: color-mix(in srgb, var(--tsm-primary) 30%, #dbe5f1);
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.09);
  transform: translateY(-1px);
}

body.ts-trash-page .nk-files-view-list .custom-control {
  display: none !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-info {
  min-width: 0;
  padding: 0 !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-title {
  display: grid;
  min-width: 0;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 40px;
}

body.ts-trash-page .nk-files-view-list .nk-file-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
}

body.ts-trash-page .nk-files-view-list .nk-file-icon-type svg {
  width: 32px;
  height: 32px;
}

body.ts-trash-page .nk-files-view-list .nk-file-name,
body.ts-trash-page .nk-files-view-list .nk-file-name-text,
body.ts-trash-page .nk-files-view-list .nk-file-name-text .title {
  min-width: 0;
  max-width: none !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-name-text .title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--tsm-ink);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.ts-trash-page .nk-files-view-list .nk-file-meta,
body.ts-trash-page .nk-files-view-list .nk-file-members {
  display: inline-flex;
  width: auto !important;
  min-height: 26px;
  align-items: center;
  justify-self: start;
  margin: 0 0 0 60px !important;
  padding: 3px 8px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  color: #52627b;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

body.ts-trash-page .nk-files-view-list .nk-file-members {
  margin-top: -38px !important;
  margin-left: 150px !important;
}

body.ts-trash-page .nk-files-view-list .tb-lead {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.ts-trash-page .nk-files-view-list .nk-file-actions {
  position: absolute;
  top: 14px;
  right: 14px;
}

body.ts-trash-page .nk-files-view-list .nk-file-actions .btn-trigger {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: color-mix(in srgb, var(--tsm-panel) 72%, #eaf0ff);
}

body.ts-trash-page.dark-mode .nk-files-view-list .nk-file-item.nk-file,
body.ts-trash-page.dark-mode .nk-files-view-list .nk-file-meta,
body.ts-trash-page.dark-mode .nk-files-view-list .nk-file-members {
  background: color-mix(in srgb, var(--tsm-panel) 88%, var(--tsm-soft)) !important;
}

@media (max-width: 767px) {
  body.ts-trash-page .nk-files-view-list .filesListTab {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px !important;
  }
}

body.ts-trash-page .nk-files-view-list .nk-file-info,
body.ts-trash-page .nk-files-view-list .nk-file-title {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-meta,
body.ts-trash-page .nk-files-view-list .nk-file-members {
  position: absolute !important;
  top: 86px;
  left: 78px;
  z-index: 1;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 3px 8px !important;
  border: 0 !important;
  border-radius: 7px;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  color: #52627b;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

body.ts-trash-page .nk-files-view-list .nk-file-members {
  left: 188px;
  top: 86px;
}

body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file {
  height: auto !important;
  min-height: 74px !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-meta,
body.ts-trash-page .nk-files-view-list .nk-file-members {
  height: 26px !important;
  max-height: 26px !important;
  overflow: hidden;
}

/* Manager shell/card stabilization pass */
html:has(body.npc-apps-files),
body.npc-apps-files {
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  overflow: hidden !important;
}

body.npc-apps-files .nk-app-root,
body.npc-apps-files .nk-main,
body.npc-apps-files .nk-wrap {
  width: 100%;
  max-width: 100%;
  height: 100svh;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.npc-apps-files .nk-header-fixed {
  position: sticky !important;
  top: 0;
  width: 100%;
  height: 66px;
  min-height: 66px;
  flex: 0 0 66px;
}

body.npc-apps-files .nk-content.p-0 {
  height: calc(100svh - 66px);
  min-height: 0 !important;
  overflow: hidden !important;
}

body.npc-apps-files .nk-content.p-0 > .nk-content-inner,
body.npc-apps-files .nk-content.p-0 > .nk-content-inner > .nk-content-body,
body.npc-apps-files .nk-fmg {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.npc-apps-files .nk-fmg {
  display: flex !important;
}

body.npc-apps-files .nk-fmg-aside {
  flex: 0 0 232px !important;
  width: 232px !important;
  max-width: 232px !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  display: flex;
  height: 100% !important;
  min-height: 0 !important;
  flex-direction: column;
  padding: 18px 14px 16px !important;
}

body.npc-apps-files .nk-fmg-aside-bottom {
  margin-top: auto;
}

body.npc-apps-files .nk-fmg-body {
  display: flex !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto;
  flex-direction: column;
  margin-left: 0 !important;
  overflow: hidden !important;
}

body.npc-apps-files .nk-fmg-body-head {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  min-height: 58px !important;
  flex: 0 0 auto;
  gap: 16px;
  padding: 10px 28px !important;
  border-top: 0 !important;
}

body.npc-apps-files .nk-fmg-search {
  width: 100% !important;
  max-width: none !important;
}

body.npc-apps-files .nk-fmg-body-content {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  flex: 1 1 auto;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 22px 28px 28px !important;
}

body.npc-apps-files .nk-block-head-sm {
  max-width: 1280px;
  margin: 0 auto 16px !important;
}

body.npc-apps-files .nk-fmg-listing {
  width: min(1280px, 100%);
  min-height: 0 !important;
  margin: 0 auto !important;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 51, 0.06);
}

body.npc-apps-files .nk-files-head {
  min-height: 38px !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

body.npc-apps-files .nk-files-head .nk-file-item {
  min-height: 38px !important;
  padding: 12px 14px 0 !important;
  border-bottom: 0 !important;
}

body.npc-apps-files .nk-files-group {
  border-top: 0 !important;
}

body.npc-apps-files .nk-files-group > .title {
  margin: 0 !important;
  padding: 6px 14px 2px !important;
  color: #465873;
  font-size: 0.76rem;
}

body.npc-apps-files .nk-files-view-group .nk-files-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 320px)) !important;
  justify-content: start;
  align-content: start;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 12px 14px 16px !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file {
  position: relative;
  display: grid !important;
  width: 100% !important;
  min-height: 98px !important;
  height: auto !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
  align-content: start;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: var(--tsm-panel);
  box-shadow: none;
  transform: none;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file:hover {
  border-color: color-mix(in srgb, var(--tsm-primary) 34%, #dbe5f1);
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.07);
  transform: translateY(-1px);
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file .nk-file-info {
  display: grid !important;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 0 !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-title {
  display: grid !important;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding-right: 28px !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-icon {
  display: grid;
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
  place-items: center;
  border-radius: 8px;
  background: #edf2ff;
}

body.npc-apps-files .nk-files-view-group .nk-file-icon-type svg {
  width: 24px !important;
  height: 24px !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-name-text .title {
  display: block !important;
  min-height: 0 !important;
  overflow: hidden;
  color: var(--tsm-ink);
  font-size: 0.88rem !important;
  font-weight: 900;
  line-height: 1.22 !important;
  white-space: nowrap;
  overflow-wrap: anywhere;
  word-break: normal;
  text-overflow: ellipsis;
}

body.npc-apps-files .nk-files-view-group .nk-file-desc {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 5px !important;
  margin: 0 !important;
  padding-left: 43px !important;
  color: var(--tsm-muted);
}

body.npc-apps-files .nk-files-view-group .nk-file-desc li {
  display: inline-flex;
  min-height: 22px !important;
  align-items: center;
  gap: 4px;
  margin: 0 !important;
  padding: 2px 6px !important;
  border-radius: 6px;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  color: #586983;
  font-size: 0.72rem !important;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

body.npc-apps-files .nk-files-view-group .nk-file-actions {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-actions .btn-trigger {
  width: 28px !important;
  height: 28px !important;
  border-radius: 7px;
}

body.npc-apps-files .nk-files-list .ts-empty-row {
  min-height: clamp(220px, 32vh, 320px) !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file {
  border-color: var(--tsm-line);
  background: var(--tsm-panel);
}

@media (max-width: 1199px) {
  body.npc-apps-files .nk-fmg-aside {
    flex-basis: 216px !important;
    width: 216px !important;
    max-width: 216px !important;
  }
}

@media (max-width: 991px) {
  html:has(body.npc-apps-files),
  body.npc-apps-files,
  body.npc-apps-files .nk-app-root,
  body.npc-apps-files .nk-main,
  body.npc-apps-files .nk-wrap {
    overflow: auto !important;
  }

  body.npc-apps-files .nk-content.p-0,
  body.npc-apps-files .nk-content.p-0 > .nk-content-inner,
  body.npc-apps-files .nk-content.p-0 > .nk-content-inner > .nk-content-body,
  body.npc-apps-files .nk-fmg {
    height: auto;
    min-height: calc(100svh - 66px) !important;
    overflow: visible !important;
  }

  body.npc-apps-files .nk-fmg-body {
    height: auto !important;
    min-height: calc(100svh - 66px) !important;
    overflow: visible !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    overflow: visible !important;
    padding: 20px 16px 28px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Final manager toolbar and card alignment */
body.npc-apps-files .nk-fmg-body-head {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

body.npc-apps-files .nk-fmg-search {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  width: auto !important;
}

body.npc-apps-files .nk-fmg-actions {
  flex: 0 0 auto !important;
}

body.npc-apps-files .nk-fmg-actions .nk-block-tools {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  margin: 0 !important;
}

body.npc-apps-files .nk-fmg-actions .btn {
  min-height: 42px;
  white-space: nowrap;
}

body.npc-apps-files .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing {
  width: min(1020px, 100%) !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-name,
body.npc-apps-files .nk-files-view-group .nk-file-name-text,
body.npc-apps-files .nk-files-view-group .nk-file-name-text .title,
body.npc-apps-files .nk-files-view-group .betterText {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-title {
  padding-right: 34px !important;
}

/* Manager transfer cards final pass */
body.npc-apps-files,
body.npc-apps-files * {
  box-sizing: border-box;
}

body.npc-apps-files .nk-fmg-body-head {
  height: 62px !important;
  min-height: 62px !important;
  padding: 9px 28px !important;
  border-bottom: 1px solid var(--tsm-line) !important;
  background: var(--tsm-panel) !important;
}

body.npc-apps-files .nk-fmg-search {
  display: flex !important;
  height: 42px !important;
  min-height: 42px !important;
  align-items: center !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 8px !important;
  background: var(--tsm-panel) !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px 0 42px !important;
  color: var(--tsm-ink) !important;
  font-size: 0.86rem !important;
  font-weight: 700;
}

body.npc-apps-files .nk-fmg-body-content {
  padding: 22px 28px 32px !important;
}

body.npc-apps-files .nk-block-head-sm {
  margin-bottom: 16px !important;
}

body.npc-apps-files .page-title {
  font-size: 1.55rem !important;
  line-height: 1.15 !important;
}

body.npc-apps-files .nk-fmg-listing {
  width: min(1180px, 100%) !important;
  overflow: visible !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 8px !important;
  background: var(--tsm-panel) !important;
  box-shadow: 0 14px 38px rgba(23, 32, 51, 0.065) !important;
}

body.npc-apps-files .nk-files,
body.npc-apps-files .nk-files-group,
body.npc-apps-files .nk-files-list {
  overflow: visible !important;
}

body.npc-apps-files .nk-files-head {
  height: 40px !important;
  min-height: 40px !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

body.npc-apps-files .nk-files-head .nk-file-item {
  height: 40px !important;
  min-height: 40px !important;
  padding: 12px 16px 0 !important;
  border-bottom: 0 !important;
}

body.npc-apps-files .nk-files-group > .title {
  padding: 2px 16px 4px !important;
  color: #43536b !important;
  font-size: 0.76rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.ts-trash-page .nk-files-view-list .filesListTab,
body.npc-apps-files .searchTab {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 350px)) !important;
  justify-content: start !important;
  align-content: start !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 12px 16px 18px !important;
}

body.npc-apps-files .ts-transfer-card {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 124px !important;
  height: auto !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: visible !important;
  border: 1px solid #dbe5f1 !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(49, 87, 213, 0.045), rgba(49, 87, 213, 0) 62%),
    var(--tsm-panel) !important;
  box-shadow: none !important;
  transform: none !important;
}

body.npc-apps-files .ts-transfer-card:has(.dropdown.show),
body.npc-apps-files .ts-transfer-card:has(.ts-card-dropdown.show) {
  z-index: 1000 !important;
}

body.npc-apps-files .ts-transfer-card:hover {
  border-color: color-mix(in srgb, var(--tsm-primary) 34%, #dbe5f1) !important;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08) !important;
  transform: translateY(-1px) !important;
}

body.npc-apps-files .ts-card-main {
  display: grid !important;
  min-width: 0 !important;
  gap: 12px !important;
  padding: 0 !important;
}

body.npc-apps-files .ts-card-title {
  display: grid !important;
  min-width: 0 !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 0 36px 0 0 !important;
}

body.npc-apps-files .ts-card-icon {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #eef3ff !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
}

body.npc-apps-files .ts-card-name,
body.npc-apps-files .ts-card-name .nk-file-name-text {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
}

body.npc-apps-files .ts-card-name .title {
  display: -webkit-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  color: var(--tsm-ink) !important;
  font-size: 0.93rem !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  text-decoration: none !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.npc-apps-files .ts-card-name .title:hover {
  color: var(--tsm-primary) !important;
}

body.npc-apps-files .ts-transfer-card.ts-plain-name .ts-card-name .title {
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  -webkit-line-clamp: initial !important;
  -webkit-box-orient: initial !important;
}

body.npc-apps-files .ts-transfer-card.ts-has-path .ts-card-name .title {
  overflow-wrap: anywhere !important;
}

body.npc-apps-files .ts-card-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 0 0 54px !important;
}

body.npc-apps-files .ts-card-meta li {
  display: inline-flex !important;
  min-height: 24px !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel)) !important;
  color: #586983 !important;
  font-size: 0.73rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-actions {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 20 !important;
}

body.npc-apps-files .ts-card-menu-button {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #eef3ff !important;
  color: #52627b !important;
}

body.npc-apps-files .ts-card-menu-button::after {
  display: none !important;
}

body.npc-apps-files .ts-card-menu-button:hover,
body.npc-apps-files .show > .ts-card-menu-button {
  background: var(--tsm-primary) !important;
  color: #fff !important;
}

body.npc-apps-files .ts-card-dropdown {
  z-index: 5000 !important;
  min-width: 190px !important;
  padding: 8px !important;
  overflow: hidden !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 8px !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a {
  display: flex !important;
  min-height: 36px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 7px !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a:hover {
  background: #eef3ff !important;
}

body.ts-trash-page .nk-files-view-list .nk-files-head {
  display: none !important;
}

body.ts-trash-page .nk-files-view-list .filesListTab {
  min-height: clamp(260px, 42vh, 460px) !important;
}

body.ts-trash-page .ts-transfer-card {
  min-height: 126px !important;
}

body.npc-apps-files .ts-empty-row {
  grid-column: 1 / -1;
}

body.npc-apps-files.dark-mode .ts-transfer-card,
body.npc-apps-files.dark-mode .ts-card-icon,
body.npc-apps-files.dark-mode .ts-card-menu-button,
body.npc-apps-files.dark-mode .ts-card-meta li {
  background: color-mix(in srgb, var(--tsm-panel) 86%, var(--tsm-soft)) !important;
  border-color: var(--tsm-line) !important;
}

body.npc-apps-files.dark-mode .ts-card-menu-button:hover,
body.npc-apps-files.dark-mode .show > .ts-card-menu-button {
  background: var(--tsm-primary) !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-head {
    display: none !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding: 18px 14px 26px !important;
  }

  body.npc-apps-files .nk-block-head-sm,
  body.npc-apps-files .nk-fmg-listing {
    width: 100% !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.ts-trash-page .nk-files-view-list .filesListTab,
  body.npc-apps-files .searchTab {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .ts-card-title {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.npc-apps-files .ts-card-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  body.npc-apps-files .ts-card-meta {
    padding-left: 48px !important;
  }
}

/* Manager compact structure pass */
body.npc-apps-files .nk-fmg-body-head {
  height: 60px !important;
  min-height: 60px !important;
  padding: 8px 26px !important;
}

body.npc-apps-files .nk-fmg-search {
  max-width: 760px !important;
  height: 40px !important;
  min-height: 40px !important;
  border-color: #d7e2f0 !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  left: 15px !important;
  color: #60718c !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  height: 38px !important;
  min-height: 38px !important;
  padding-left: 42px !important;
  color: var(--tsm-ink) !important;
}

body.npc-apps-files .nk-fmg-body-content {
  padding: 20px 26px 32px !important;
}

body.npc-apps-files .nk-block-head-sm {
  width: min(1080px, 100%) !important;
  margin: 0 0 14px !important;
}

body.npc-apps-files .page-title {
  font-size: 1.45rem !important;
}

body.npc-apps-files .nk-fmg-listing {
  width: min(1080px, 100%) !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-files-head {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: center !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.npc-apps-files .nk-files-head .nk-file-item {
  display: flex !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.npc-apps-files .nk-files-head .nk-file-info {
  display: flex !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
}

body.npc-apps-files .nk-files-head .dropdown {
  display: inline-flex !important;
}

body.npc-apps-files .nk-files-head #sortViaText {
  display: inline-flex !important;
  min-height: 32px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border: 1px solid #d7e2f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #34445c !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

body.npc-apps-files .nk-files-head #sortViaText::before {
  content: "Sort:";
  color: #74829a;
  font-weight: 800;
}

body.npc-apps-files .nk-files-head #sortViaText::after {
  margin-left: 2px;
}

body.npc-apps-files .nk-files-group > .title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #43536b !important;
  font-size: 0.78rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.ts-trash-page .nk-files-view-list .filesListTab,
body.npc-apps-files .searchTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 292px)) !important;
  gap: 8px !important;
  justify-content: start !important;
  align-content: start !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.npc-apps-files .ts-transfer-card {
  min-height: 86px !important;
  max-width: 292px !important;
  gap: 7px !important;
  padding: 10px 11px !important;
  border-color: #dbe5f1 !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02) !important;
}

body.npc-apps-files .ts-transfer-card:hover {
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.07) !important;
}

body.npc-apps-files .ts-card-main {
  gap: 7px !important;
}

body.npc-apps-files .ts-card-title {
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding-right: 30px !important;
}

body.npc-apps-files .ts-card-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 7px !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg {
  width: 19px !important;
  height: 19px !important;
}

body.npc-apps-files .ts-card-name .title {
  font-size: 0.82rem !important;
  line-height: 1.22 !important;
}

body.npc-apps-files .ts-transfer-card.ts-has-path .ts-card-name .title,
body.npc-apps-files .ts-transfer-card.ts-spaced-name .ts-card-name .title {
  -webkit-line-clamp: 2 !important;
}

body.npc-apps-files .ts-card-meta {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  min-width: 0 !important;
  padding: 0 0 0 38px !important;
  overflow: hidden !important;
  color: #65748b !important;
}

body.npc-apps-files .ts-card-meta li {
  display: inline-flex !important;
  min-height: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #65748b !important;
  font-size: 0.71rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta li + li::before {
  content: "";
  display: inline-block !important;
  width: 3px;
  height: 3px;
  margin: 0 7px 0 6px;
  border-radius: 999px;
  background: #a8b4c6;
}

body.npc-apps-files .ts-card-meta .downloads span {
  overflow: hidden;
  max-width: 74px;
  text-overflow: ellipsis;
}

body.npc-apps-files .ts-card-meta .members {
  flex: 0 0 auto;
  padding: 1px 6px !important;
  border-radius: 999px !important;
  background: #edf2ff !important;
  color: #465875 !important;
}

body.npc-apps-files .ts-card-meta .members::before {
  display: none !important;
}

body.npc-apps-files .ts-card-menu-button {
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  border-radius: 7px !important;
}

body.npc-apps-files .ts-card-actions {
  top: 9px !important;
  right: 9px !important;
}

body.npc-apps-files .ts-card-dropdown {
  min-width: 180px !important;
}

body.ts-trash-page .nk-files-view-list .filesListTab {
  min-height: 0 !important;
}

body.ts-trash-page .ts-transfer-card {
  min-height: 88px !important;
}

body.ts-trash-page .nk-files-view-list .nk-files-head {
  display: none !important;
}

body.npc-apps-files.dark-mode .nk-fmg-search,
body.npc-apps-files.dark-mode .nk-files-head #sortViaText,
body.npc-apps-files.dark-mode .ts-transfer-card {
  background: var(--tsm-panel) !important;
  border-color: var(--tsm-line) !important;
}

body.npc-apps-files.dark-mode .ts-card-meta .members {
  background: #1f2d45 !important;
  color: #e8eef9 !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-content {
    padding: 18px 14px 28px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.ts-trash-page .nk-files-view-list .filesListTab,
  body.npc-apps-files .searchTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.npc-apps-files .ts-transfer-card {
    max-width: none !important;
  }
}

/* Manager file manager final structure pass */
body.npc-apps-files,
body.npc-apps-files .nk-app-root,
body.npc-apps-files .nk-main,
body.npc-apps-files .nk-wrap,
body.npc-apps-files .nk-fmg,
body.npc-apps-files .nk-fmg-body {
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-fmg-body-head,
body.npc-apps-files .nk-fmg-body-content {
  padding-right: max(28px, calc((100% - 1140px) / 2)) !important;
  padding-left: max(28px, calc((100% - 1140px) / 2)) !important;
}

body.npc-apps-files .nk-fmg-body-head {
  height: 62px !important;
  min-height: 62px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

body.npc-apps-files .nk-fmg-search {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid #d7e2f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  top: 50% !important;
  left: 16px !important;
  transform: translateY(-50%) !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px 0 44px !important;
  font-size: 0.84rem !important;
  line-height: 40px !important;
}

body.npc-apps-files .nk-fmg-body-content {
  padding-top: 20px !important;
  padding-bottom: 36px !important;
}

body.npc-apps-files .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing {
  width: min(1140px, 100%) !important;
  max-width: 1140px !important;
}

body.npc-apps-files .nk-block-head-sm {
  margin-bottom: 16px !important;
}

body.npc-apps-files .nk-block-between {
  align-items: center !important;
}

body.npc-apps-files .nk-fmg-listing {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-files {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.npc-apps-files .nk-files-head {
  order: 2 !important;
  align-self: flex-start !important;
  margin: 0 !important;
}

body.npc-apps-files .nk-files-group {
  order: 1 !important;
}

body.npc-apps-files .nk-files-head #sortViaText {
  min-height: 28px !important;
  padding: 5px 9px !important;
  border-radius: 7px !important;
  color: #4a5a72 !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .nk-files-head #sortViaText::before {
  content: "Sort";
  color: #8290a5;
  font-weight: 800;
}

body.npc-apps-files .nk-files-group > .title {
  margin: 0 !important;
  padding: 0 !important;
  color: #1d293d !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.ts-trash-page .nk-files-view-list .filesListTab,
body.npc-apps-files .searchTab {
  grid-template-columns: repeat(auto-fill, minmax(330px, 360px)) !important;
  gap: 10px !important;
  padding: 0 !important;
}

body.npc-apps-files .ts-transfer-card {
  min-height: 74px !important;
  max-width: 360px !important;
  padding: 10px 12px 9px !important;
  border: 1px solid #d7e2f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02) !important;
}

body.npc-apps-files .ts-card-main {
  gap: 5px !important;
}

body.npc-apps-files .ts-card-title {
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: center !important;
  min-height: 34px !important;
  padding-right: 32px !important;
}

body.npc-apps-files .ts-card-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 8px !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg {
  width: 20px !important;
  height: 20px !important;
}

body.npc-apps-files .ts-card-name .title {
  width: 100% !important;
  color: #141d31 !important;
  font-size: 0.84rem !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

body.npc-apps-files .ts-transfer-card.ts-short-name .ts-card-name .title {
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  -webkit-line-clamp: initial !important;
  -webkit-box-orient: initial !important;
}

body.npc-apps-files .ts-transfer-card.ts-long-name .ts-card-name .title,
body.npc-apps-files .ts-transfer-card.ts-has-path .ts-card-name .title {
  display: -webkit-box !important;
  overflow: hidden !important;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.npc-apps-files .ts-card-meta {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 0 0 41px !important;
  overflow: hidden !important;
}

body.npc-apps-files .ts-card-meta li {
  display: inline-flex !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #62718a !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.npc-apps-files .ts-card-meta li + li::before {
  width: 3px !important;
  height: 3px !important;
  margin: 0 7px !important;
  background: #b1bccb !important;
}

body.npc-apps-files .ts-card-meta .date,
body.npc-apps-files .ts-card-meta .size,
body.npc-apps-files .ts-card-meta .downloads {
  flex: 0 1 auto !important;
}

body.npc-apps-files .ts-card-meta .downloads span {
  max-width: none !important;
}

body.npc-apps-files .ts-card-meta .members {
  flex: 0 0 auto !important;
  padding: 1px 6px !important;
  border-radius: 999px !important;
  background: #edf2ff !important;
  color: #485b76 !important;
}

body.npc-apps-files .ts-card-actions {
  top: 9px !important;
  right: 10px !important;
}

body.npc-apps-files .ts-card-menu-button {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  background: #f0f4ff !important;
}

body.npc-apps-files .ts-card-dropdown {
  min-width: 176px !important;
  padding: 7px !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a {
  min-height: 34px !important;
  padding: 7px 9px !important;
  font-size: 0.82rem !important;
}

body.ts-trash-page .nk-files-head {
  display: none !important;
}

body.ts-trash-page .nk-files {
  gap: 10px !important;
}

body.ts-trash-page .ts-transfer-card {
  min-height: 74px !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-head,
  body.npc-apps-files .nk-fmg-body-content {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.ts-trash-page .nk-files-view-list .filesListTab,
  body.npc-apps-files .searchTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.npc-apps-files .ts-transfer-card {
    max-width: none !important;
  }
}

/* Manager file manager final alignment pass */
body.npc-apps-files .nk-fmg-body-head,
body.npc-apps-files .nk-fmg-body-content {
  padding-right: 28px !important;
  padding-left: 28px !important;
}

body.npc-apps-files .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing {
  width: min(1140px, 100%) !important;
  max-width: 1140px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.npc-apps-files .nk-files {
  position: relative !important;
  display: block !important;
}

body.npc-apps-files .nk-files-head {
  position: absolute !important;
  top: -2px !important;
  right: 0 !important;
  z-index: 2 !important;
  order: initial !important;
}

body.npc-apps-files .nk-files-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  order: initial !important;
}

body.npc-apps-files .nk-files-group > .title {
  display: flex !important;
  min-height: 30px !important;
  align-items: center !important;
  padding-right: 150px !important;
}

body.npc-apps-files .nk-files-head #sortViaText::before {
  content: "Sort";
}

body.ts-trash-page .nk-files-head {
  display: none !important;
}

body.ts-trash-page .nk-files-group > .title {
  padding-right: 0 !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  height: auto !important;
  min-height: 74px !important;
  max-width: 360px !important;
  gap: 5px !important;
  padding: 10px 12px 9px !important;
  border: 1px solid #d7e2f0 !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02) !important;
  transform: none !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card:hover {
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.07) !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-title {
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 9px !important;
  min-height: 34px !important;
  padding-right: 32px !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type svg {
  width: 20px !important;
  height: 20px !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-name .title {
  color: #141d31 !important;
  font-size: 0.84rem !important;
  line-height: 1.18 !important;
  overflow-wrap: anywhere !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-meta {
  display: flex !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 41px !important;
  border: 0 !important;
  background: transparent !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-meta li {
  display: inline-flex !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 0.72rem !important;
  line-height: 1.2 !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-meta li + li {
  margin-left: 12px !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-meta li + li::before {
  margin-left: -6px !important;
  margin-right: 6px !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-meta .members {
  padding: 1px 6px !important;
  border-radius: 999px !important;
  background: #edf2ff !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-actions {
  top: 9px !important;
  right: 10px !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-head,
  body.npc-apps-files .nk-fmg-body-content {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body.npc-apps-files .nk-files-head {
    position: static !important;
    margin-bottom: 6px !important;
  }

  body.npc-apps-files .nk-files-group > .title {
    padding-right: 0 !important;
  }
}

/* TransferSize manager rebuild: one coherent file-manager surface. */
body.npc-apps-files {
  --tsm-page: #f3f6fb;
  --tsm-panel: #ffffff;
  --tsm-border: #d9e3f0;
  --tsm-border-strong: #c7d5e8;
  --tsm-ink: #141d31;
  --tsm-muted: #64748b;
  --tsm-faint: #93a3ba;
  --tsm-blue: #3157d5;
  --tsm-blue-soft: #eef3ff;
  --tsm-card-shadow: 0 14px 34px rgba(28, 39, 62, 0.06);
  background: var(--tsm-page) !important;
  color: var(--tsm-ink) !important;
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-header.is-light {
  height: 64px !important;
  min-height: 64px !important;
  border-bottom: 1px solid var(--tsm-border) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-header-wrap {
  min-height: 64px !important;
}

body.npc-apps-files .nk-header-app-name {
  gap: 12px !important;
}

body.npc-apps-files .nk-header-app-logo .icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  background: #edf3ff !important;
  color: var(--tsm-blue) !important;
}

body.npc-apps-files .nk-header-app-info .sub-text {
  margin-bottom: 1px !important;
  color: #66758d !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-header-app-info .lead-text {
  color: var(--tsm-ink) !important;
  font-size: 0.98rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-fmg,
body.npc-apps-files .nk-fmg-body,
body.npc-apps-files .nk-content,
body.npc-apps-files .nk-content-body {
  background: var(--tsm-page) !important;
}

body.npc-apps-files .nk-fmg-aside {
  flex: 0 0 228px !important;
  width: 228px !important;
  border-right: 1px solid var(--tsm-border) !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  padding: 24px 18px 18px !important;
}

body.npc-apps-files .nk-fmg-menu {
  gap: 4px !important;
}

body.npc-apps-files .nk-fmg-menu-item {
  min-height: 38px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  color: #475873 !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .nk-fmg-menu-item .icon {
  margin-right: 12px !important;
  color: #70819c !important;
  font-size: 1.05rem !important;
}

body.npc-apps-files:not(.dark-mode) .nk-fmg-menu li.active > .nk-fmg-menu-item,
body.npc-apps-files:not(.dark-mode) .nk-fmg-menu-item:hover {
  background: #edf3ff !important;
  color: var(--tsm-blue) !important;
}

body.npc-apps-files:not(.dark-mode) .nk-fmg-menu li.active > .nk-fmg-menu-item .icon,
body.npc-apps-files:not(.dark-mode) .nk-fmg-menu-item:hover .icon {
  color: var(--tsm-blue) !important;
}

body.npc-apps-files .nk-fmg-status {
  padding: 16px !important;
  border: 1px solid var(--tsm-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-fmg-body {
  min-width: 0 !important;
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-fmg-body-head {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 70px !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 14px 28px !important;
  border-bottom: 1px solid var(--tsm-border) !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-sizing: border-box !important;
}

body.npc-apps-files .nk-fmg-search {
  flex: 1 1 720px !important;
  width: auto !important;
  max-width: 760px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  border: 1px solid var(--tsm-border-strong) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(20, 29, 49, 0.02) !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  top: 50% !important;
  left: 16px !important;
  color: #536780 !important;
  transform: translateY(-50%) !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px 0 44px !important;
  color: var(--tsm-ink) !important;
  font-size: 0.88rem !important;
  font-weight: 750 !important;
  line-height: 42px !important;
}

body.npc-apps-files .nk-fmg-search .form-control::placeholder {
  color: #9cadaf !important;
}

body.npc-apps-files .nk-fmg-actions {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

body.npc-apps-files .nk-fmg-actions .nk-block-tools {
  display: flex !important;
  flex-wrap: nowrap !important;
}

body.npc-apps-files .nk-fmg-actions .btn-primary {
  height: 44px !important;
  min-width: 118px !important;
  justify-content: center !important;
  border-radius: 9px !important;
  box-shadow: 0 16px 26px rgba(49, 87, 213, 0.17) !important;
}

body.npc-apps-files .nk-fmg-body-content {
  width: 100% !important;
  padding: 24px 28px 44px !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

body.npc-apps-files .nk-block-head-sm {
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  margin: 0 0 18px !important;
}

body.npc-apps-files .page-title {
  margin: 0 !important;
  color: var(--tsm-ink) !important;
  font-size: 1.42rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-fmg-listing {
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid var(--tsm-border) !important;
  border-radius: 12px !important;
  background: var(--tsm-panel) !important;
  box-shadow: var(--tsm-card-shadow) !important;
}

body.npc-apps-files .nk-fmg-listing > .nk-block-head-xs {
  display: none !important;
}

body.npc-apps-files .toggle-expand-content {
  padding: 0 !important;
}

body.npc-apps-files .nk-files {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  overflow: visible !important;
}

body.npc-apps-files .nk-files-head {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  min-height: 58px !important;
  align-items: center !important;
  justify-content: space-between !important;
  order: 0 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--tsm-border) !important;
  background: #fff !important;
}

body.npc-apps-files .nk-files-head::before {
  content: "Transfers";
  color: var(--tsm-ink);
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0;
}

body.ts-trash-page .nk-files-head {
  display: none !important;
}

body.npc-apps-files .nk-files-head .nk-file-item,
body.npc-apps-files .nk-files-head .nk-file-info {
  display: flex !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.npc-apps-files .nk-files-head #sortViaText {
  display: inline-flex !important;
  min-height: 32px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--tsm-border) !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  color: #33445d !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.npc-apps-files .nk-files-head #sortViaText::before {
  content: "Sort:";
  color: #7a89a0;
  font-weight: 850;
}

body.npc-apps-files .searchDiv {
  padding: 16px !important;
}

body.npc-apps-files .nk-files-group {
  order: 1 !important;
  padding: 16px !important;
}

body.npc-apps-files .nk-files-group > .title {
  display: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.npc-apps-files .searchTab,
body.ts-trash-page .nk-files-view-list .filesListTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 14px !important;
  align-items: stretch !important;
  align-content: start !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-fmg-listing {
  width: min(760px, 100%) !important;
}

body.ts-trash-page .nk-files-view-list .filesListTab {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.npc-apps-files .ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  position: relative !important;
  display: grid !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 124px !important;
  height: auto !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 13px !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow: visible !important;
  border: 1px solid #d8e3f0 !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(49, 87, 213, 0.035), rgba(49, 87, 213, 0) 58%),
    #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

body.npc-apps-files .ts-transfer-card:hover {
  border-color: #b9c9e2 !important;
  box-shadow: 0 14px 28px rgba(28, 39, 62, 0.08) !important;
}

body.npc-apps-files .ts-card-main {
  display: grid !important;
  min-width: 0 !important;
  gap: 12px !important;
  padding: 0 !important;
}

body.npc-apps-files .ts-card-title,
body.ts-trash-page .nk-files-view-list .ts-card-title {
  display: grid !important;
  min-width: 0 !important;
  min-height: 46px !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 13px !important;
  align-items: center !important;
  padding: 0 42px 0 0 !important;
}

body.npc-apps-files .ts-card-icon,
body.ts-trash-page .nk-files-view-list .ts-card-icon {
  display: grid !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  place-items: center !important;
  border-radius: 10px !important;
  background: var(--tsm-blue-soft) !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type svg {
  width: 28px !important;
  height: 28px !important;
}

body.npc-apps-files .ts-card-name,
body.npc-apps-files .ts-card-name .nk-file-name-text {
  min-width: 0 !important;
  width: 100% !important;
}

body.npc-apps-files .ts-card-name .title,
body.ts-trash-page .nk-files-view-list .ts-card-name .title {
  display: -webkit-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: var(--tsm-ink) !important;
  font-size: 0.94rem !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.npc-apps-files .ts-card-name .title:hover {
  color: var(--tsm-blue) !important;
}

body.npc-apps-files .ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-card-meta {
  display: grid !important;
  min-width: 0 !important;
  grid-template-columns: repeat(3, minmax(72px, auto)) auto !important;
  gap: 12px !important;
  align-items: end !important;
  margin: 0 !important;
  padding: 0 0 0 59px !important;
  overflow: visible !important;
}

body.npc-apps-files .ts-card-meta li,
body.ts-trash-page .nk-files-view-list .ts-card-meta li {
  position: relative !important;
  display: grid !important;
  min-width: 0 !important;
  min-height: 0 !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #42526b !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta li::before,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::before {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #8a9ab0 !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

body.npc-apps-files .ts-card-meta .date::before {
  content: "Uploaded" !important;
}

body.npc-apps-files .ts-card-meta .size::before {
  content: "Size" !important;
}

body.npc-apps-files .ts-card-meta .downloads::before {
  content: "Downloads" !important;
}

body.npc-apps-files .ts-card-meta .downloads .icon {
  display: none !important;
}

body.npc-apps-files .ts-card-meta .members {
  display: inline-flex !important;
  min-height: 26px !important;
  align-items: center !important;
  align-self: end !important;
  justify-content: center !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: #edf3ff !important;
  color: #475a78 !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
}

body.npc-apps-files .ts-card-meta .members::before {
  display: none !important;
}

body.npc-apps-files .ts-card-actions,
body.ts-trash-page .nk-files-view-list .ts-card-actions {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 20 !important;
}

body.npc-apps-files .ts-card-menu-button {
  display: grid !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #eef3ff !important;
  color: #4f6079 !important;
}

body.npc-apps-files .ts-card-menu-button::after {
  display: none !important;
}

body.npc-apps-files .show > .ts-card-menu-button,
body.npc-apps-files .ts-card-menu-button:hover {
  background: var(--tsm-blue) !important;
  color: #fff !important;
}

body.npc-apps-files .ts-card-dropdown {
  min-width: 188px !important;
  padding: 8px !important;
  border: 1px solid var(--tsm-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 48px rgba(28, 39, 62, 0.16) !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a {
  min-height: 38px !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a:hover {
  background: #f0f4ff !important;
}

body.npc-apps-files .ts-empty-row {
  min-height: 220px !important;
  grid-column: 1 / -1 !important;
}

body.npc-apps-files.dark-mode {
  --tsm-page: #0f1725;
  --tsm-panel: #151f31;
  --tsm-border: #26354d;
  --tsm-border-strong: #33445f;
  --tsm-ink: #e9eef8;
  --tsm-muted: #9aa8bd;
  --tsm-blue-soft: #203153;
}

body.npc-apps-files.dark-mode .nk-header.is-light,
body.npc-apps-files.dark-mode .nk-fmg-aside,
body.npc-apps-files.dark-mode .nk-fmg-body-head,
body.npc-apps-files.dark-mode .nk-fmg-listing,
body.npc-apps-files.dark-mode .nk-files-head,
body.npc-apps-files.dark-mode .ts-transfer-card,
body.npc-apps-files.dark-mode .nk-fmg-search {
  background: var(--tsm-panel) !important;
}

body.npc-apps-files.dark-mode .ts-transfer-card {
  border-color: var(--tsm-border) !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-aside {
    width: 280px !important;
  }

  body.npc-apps-files .nk-fmg-body-head {
    display: none !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding: 22px 14px 34px !important;
  }

  body.npc-apps-files .nk-block-head-sm,
  body.npc-apps-files .nk-fmg-listing {
    width: 100% !important;
    max-width: none !important;
  }

  body.npc-apps-files .nk-files-head {
    min-height: 54px !important;
    padding: 12px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.npc-apps-files .searchTab,
  body.ts-trash-page .nk-files-view-list .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.npc-apps-files .ts-transfer-card,
  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
    min-height: 122px !important;
    padding: 14px !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .ts-card-title,
  body.ts-trash-page .nk-files-view-list .ts-card-title {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding-right: 38px !important;
  }

  body.npc-apps-files .ts-card-icon,
  body.ts-trash-page .nk-files-view-list .ts-card-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  body.npc-apps-files .ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-left: 53px !important;
  }

  body.npc-apps-files .ts-card-meta .members {
    justify-self: start !important;
  }
}

/* TransferSize manager final structure pass. Keep this block last. */
body.npc-apps-files,
body.npc-apps-files * {
  box-sizing: border-box !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files {
  min-width: 0 !important;
  overflow-x: hidden !important;
  background: #f3f6fb !important;
  color: #172033 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", Helvetica, Arial, sans-serif !important;
}

body.npc-apps-files .nk-wrap,
body.npc-apps-files .nk-content,
body.npc-apps-files .nk-content-inner,
body.npc-apps-files .nk-content-body,
body.npc-apps-files .nk-fmg {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-header.is-light {
  height: 66px !important;
  min-height: 66px !important;
  border-bottom: 1px solid #d9e3f0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-header-wrap {
  min-height: 66px !important;
}

body.npc-apps-files .nk-header-app-name {
  display: inline-flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 12px !important;
}

body.npc-apps-files .nk-header-app-logo,
body.npc-apps-files .nk-header-app-logo .icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 10px !important;
}

body.npc-apps-files .nk-header-app-logo .icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
}

body.npc-apps-files .nk-header-app-info {
  display: grid !important;
  gap: 2px !important;
}

body.npc-apps-files .nk-header-app-info .sub-text {
  color: #62728a !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

body.npc-apps-files .nk-header-app-info .lead-text {
  color: #121a2c !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
}

body.npc-apps-files .nk-fmg-aside {
  width: 228px !important;
  min-width: 228px !important;
  border-right: 1px solid #dbe4f0 !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-menu {
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
}

body.npc-apps-files .nk-fmg-menu-item {
  min-height: 40px !important;
  gap: 13px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  color: #51627b !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .nk-fmg-menu-item .icon {
  width: 20px !important;
  min-width: 20px !important;
  font-size: 17px !important;
}

body.npc-apps-files:not(.dark-mode) .nk-fmg-menu li.active .nk-fmg-menu-item,
body.npc-apps-files:not(.dark-mode) .nk-fmg-menu-item:hover {
  background: #eaf0ff !important;
  color: #3157d5 !important;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  padding: 36px 18px 18px !important;
}

body.npc-apps-files .nk-fmg-aside-bottom {
  padding: 0 18px 18px !important;
}

body.npc-apps-files .nk-fmg-status {
  padding: 15px !important;
  border-radius: 10px !important;
}

body.npc-apps-files .nk-fmg-body {
  width: calc(100vw - 228px) !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-fmg-body-head {
  display: flex !important;
  width: 100% !important;
  min-height: 70px !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 13px 30px !important;
  border-bottom: 1px solid #dbe4f0 !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-search {
  position: relative !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  border: 1px solid #cad7e8 !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  width: 18px !important;
  height: 18px !important;
  color: #516783 !important;
  transform: translateY(-50%) !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px 0 45px !important;
  border: 0 !important;
  color: #172033 !important;
  font-size: 0.86rem !important;
  font-weight: 760 !important;
  line-height: 42px !important;
}

body.npc-apps-files .nk-fmg-search .form-control::placeholder {
  color: #9babc1 !important;
}

body.npc-apps-files .nk-fmg-actions {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
}

body.npc-apps-files .nk-fmg-actions .btn-primary {
  height: 44px !important;
  min-width: 118px !important;
  padding: 0 18px !important;
  justify-content: center !important;
  border-radius: 9px !important;
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 30px rgba(49, 87, 213, 0.18) !important;
}

body.npc-apps-files .nk-fmg-body-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 26px 30px 46px !important;
  overflow: visible !important;
}

body.npc-apps-files .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing {
  width: min(1480px, 100%) !important;
  max-width: 1480px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.npc-apps-files .page-title {
  margin: 0 !important;
  color: #172033 !important;
  font-size: 1.42rem !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
}

body.npc-apps-files .nk-block-head-sm {
  margin-bottom: 18px !important;
}

body.npc-apps-files .nk-fmg-listing {
  overflow: visible !important;
  border: 1px solid #d6e1ee !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 22px 56px rgba(28, 39, 62, 0.06) !important;
}

body.npc-apps-files .nk-files {
  overflow: visible !important;
}

body.npc-apps-files .nk-files-head {
  min-height: 56px !important;
  padding: 13px 16px !important;
  border-bottom: 1px solid #dce5f0 !important;
  background: #fff !important;
}

body.npc-apps-files .nk-files-head::before {
  content: "Transfers" !important;
  color: #172033 !important;
  font-size: 0.94rem !important;
  font-weight: 950 !important;
}

body.ts-trash-page .nk-files-head {
  display: none !important;
}

body.npc-apps-files .nk-files-head #sortViaText {
  min-height: 32px !important;
  padding: 6px 10px !important;
  border: 1px solid #cad7e8 !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  color: #27364d !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files .nk-files-head #sortViaText::before {
  content: "Sort by" !important;
  margin-right: 5px !important;
  color: #748399 !important;
}

body.npc-apps-files .nk-files-group {
  padding: 14px !important;
}

body.npc-apps-files .nk-files-group > .title {
  display: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.npc-apps-files .searchTab,
body.ts-trash-page .nk-files-view-list .filesListTab {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
  align-content: start !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

body.npc-apps-files .ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  position: relative !important;
  display: grid !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 140px !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid #d5e0ee !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #fff, #fbfdff) !important;
  box-shadow: none !important;
}

body.npc-apps-files .ts-transfer-card:hover {
  border-color: #b8c8df !important;
  box-shadow: 0 14px 30px rgba(24, 35, 58, 0.08) !important;
}

body.npc-apps-files .ts-card-main {
  display: grid !important;
  gap: 12px !important;
  min-width: 0 !important;
}

body.npc-apps-files .ts-card-title,
body.ts-trash-page .nk-files-view-list .ts-card-title {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 42px 0 0 !important;
}

body.npc-apps-files .ts-card-icon,
body.ts-trash-page .nk-files-view-list .ts-card-icon {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: #eef3ff !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type svg {
  width: 26px !important;
  height: 26px !important;
}

body.npc-apps-files .ts-card-name,
body.npc-apps-files .ts-card-name .nk-file-name-text,
body.ts-trash-page .nk-files-view-list .ts-card-name,
body.ts-trash-page .nk-files-view-list .ts-card-name .nk-file-name-text {
  min-width: 0 !important;
  width: 100% !important;
}

body.npc-apps-files .ts-card-name .title,
body.ts-trash-page .nk-files-view-list .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #172033 !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  line-height: 1.22 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.npc-apps-files .ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-card-meta {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 7px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 54px !important;
  list-style: none !important;
}

body.npc-apps-files .ts-card-meta li,
body.ts-trash-page .nk-files-view-list .ts-card-meta li {
  display: grid !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 38px !important;
  align-content: center !important;
  justify-self: stretch !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 1px solid #e4ebf5 !important;
  border-radius: 8px !important;
  background: #f7f9fd !important;
  white-space: normal !important;
}

body.npc-apps-files .ts-card-meta li::before,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::before {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .ts-meta-label,
body.ts-trash-page .nk-files-view-list .ts-meta-label {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  color: #7a8aa2 !important;
  font-size: 0.56rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-overflow: clip !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-meta-value,
body.ts-trash-page .nk-files-view-list .ts-meta-value {
  display: flex !important;
  min-width: 0 !important;
  width: 100% !important;
  align-items: center !important;
  gap: 3px !important;
  overflow: visible !important;
  color: #314158 !important;
  font-size: 0.7rem !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-meta-value .icon {
  display: none !important;
}

body.npc-apps-files .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-status-pill {
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #eaf0ff !important;
  color: #40536e !important;
}

body.npc-apps-files .ts-card-actions,
body.ts-trash-page .nk-files-view-list .ts-card-actions {
  position: absolute !important;
  top: 13px !important;
  right: 13px !important;
  z-index: 30 !important;
}

body.npc-apps-files .ts-card-menu-button {
  display: grid !important;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #eef3ff !important;
  color: #52647e !important;
}

body.npc-apps-files .ts-card-menu-button::after {
  display: none !important;
}

body.npc-apps-files .ts-card-dropdown {
  min-width: 196px !important;
  padding: 8px !important;
  overflow: visible !important;
  border: 1px solid #d4deeb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 22px 50px rgba(24, 35, 58, 0.16) !important;
  z-index: 3000 !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  color: #24324a !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a:hover {
  background: #f1f5ff !important;
}

body.ts-trash-page .nk-fmg-listing {
  width: min(860px, 100%) !important;
  max-width: 860px !important;
  padding: 14px !important;
}

body.ts-trash-page .nk-files-group,
body.ts-trash-page .nk-files-view-list .filesListTab {
  padding: 0 !important;
}

body.ts-trash-page .nk-files-view-list .filesListTab {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.ts-trash-page .nk-files-view-list .ts-transfer-card {
  min-height: 126px !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.npc-apps-files .ts-empty-row {
  grid-column: 1 / -1 !important;
  min-height: 260px !important;
  border: 1px dashed #d6e1ee !important;
  border-radius: 12px !important;
  background: #fbfdff !important;
}

body.npc-apps-files.dark-mode {
  background: #0f1725 !important;
  color: #edf3ff !important;
}

body.npc-apps-files.dark-mode .nk-header.is-light,
body.npc-apps-files.dark-mode .nk-fmg-aside,
body.npc-apps-files.dark-mode .nk-fmg-body-head,
body.npc-apps-files.dark-mode .nk-fmg-listing,
body.npc-apps-files.dark-mode .nk-files-head,
body.npc-apps-files.dark-mode .ts-transfer-card,
body.npc-apps-files.dark-mode .nk-fmg-search,
body.npc-apps-files.dark-mode .ts-card-dropdown {
  border-color: #29374f !important;
  background: #151f31 !important;
  color: #edf3ff !important;
}

body.npc-apps-files.dark-mode .page-title,
body.npc-apps-files.dark-mode .ts-card-name .title,
body.npc-apps-files.dark-mode .nk-header-app-info .lead-text {
  color: #edf3ff !important;
}

body.npc-apps-files.dark-mode .ts-card-meta li,
body.npc-apps-files.dark-mode .nk-files-head #sortViaText,
body.npc-apps-files.dark-mode .ts-card-menu-button {
  border-color: #29374f !important;
  background: #1d2a42 !important;
}

body.npc-apps-files.dark-mode .ts-meta-value,
body.npc-apps-files.dark-mode .nk-fmg-search .form-control {
  color: #edf3ff !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-header.is-light,
  body.npc-apps-files .nk-header-wrap {
    height: 66px !important;
    min-height: 66px !important;
  }

  body.npc-apps-files .nk-fmg-aside {
    width: min(286px, 86vw) !important;
    min-width: 0 !important;
  }

  body.npc-apps-files .nk-fmg-body {
    width: 100% !important;
  }

  body.npc-apps-files .nk-fmg-body-head {
    display: none !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding: 22px 14px 36px !important;
  }

  body.npc-apps-files .nk-block-head-sm,
  body.npc-apps-files .nk-fmg-listing {
    width: 100% !important;
    max-width: none !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.npc-apps-files .searchTab,
  body.ts-trash-page .nk-files-view-list .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .page-title {
    font-size: 1.25rem !important;
  }

  body.npc-apps-files .nk-fmg-listing {
    border-radius: 11px !important;
  }

  body.npc-apps-files .nk-files-head {
    min-height: 52px !important;
    padding: 11px 12px !important;
  }

  body.npc-apps-files .nk-files-group {
    padding: 10px !important;
  }

  body.npc-apps-files .ts-transfer-card,
  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
    min-height: 144px !important;
    padding: 13px !important;
  }

  body.npc-apps-files .ts-card-title,
  body.ts-trash-page .nk-files-view-list .ts-card-title {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 11px !important;
    min-height: 40px !important;
    padding-right: 40px !important;
  }

  body.npc-apps-files .ts-card-icon,
  body.ts-trash-page .nk-files-view-list .ts-card-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body.npc-apps-files .ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-left: 51px !important;
  }

  body.npc-apps-files .ts-card-meta li,
  body.ts-trash-page .nk-files-view-list .ts-card-meta li {
    min-height: 36px !important;
    padding: 5px 7px !important;
  }

  body.npc-apps-files .ts-meta-label,
  body.ts-trash-page .nk-files-view-list .ts-meta-label {
    font-size: 0.54rem !important;
  }

  body.npc-apps-files .ts-meta-value,
  body.ts-trash-page .nk-files-view-list .ts-meta-value {
    font-size: 0.68rem !important;
  }
}

body.npc-apps-files .ts-card-meta li.members,
body.ts-trash-page .nk-files-view-list .ts-card-meta li.members {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  align-content: center !important;
  align-items: initial !important;
  align-self: auto !important;
  justify-content: stretch !important;
  justify-self: stretch !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 1px solid #e4ebf5 !important;
  border-radius: 8px !important;
  background: #f7f9fd !important;
}

body.npc-apps-files .ts-card-meta li.members .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-card-meta li.members .ts-status-pill {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #eaf0ff !important;
  color: #40536e !important;
  font-size: 0.7rem !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
}

/* Highest-specificity card metadata reset. Must remain last. */
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 0 0 54px !important;
  overflow: visible !important;
  color: inherit !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  align-content: center !important;
  align-items: initial !important;
  align-self: auto !important;
  justify-content: stretch !important;
  justify-self: stretch !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 1px solid #e4ebf5 !important;
  border-radius: 8px !important;
  background: #f7f9fd !important;
  color: #314158 !important;
  font-size: initial !important;
  font-weight: initial !important;
  line-height: initial !important;
  white-space: normal !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  color: #7889a2 !important;
  font-size: 0.57rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  overflow: visible !important;
  color: #314158 !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  width: fit-content !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #eaf0ff !important;
  color: #40536e !important;
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding-left: 51px !important;
  }

  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash {
    min-height: 168px !important;
  }

  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li.members {
    grid-column: 1 / -1 !important;
  }
}

/* Manager alignment correction pass. Keep after all previous manager overrides. */
body.npc-apps-files .nk-fmg-body-head {
  min-height: 76px !important;
  padding: 17px 30px 15px !important;
  border-bottom: 1px solid #dce5f0 !important;
  background: #f3f6fb !important;
}

body.npc-apps-files .nk-fmg-search {
  height: 44px !important;
  min-height: 44px !important;
  border-color: #c6d4e6 !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  left: 18px !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  padding-left: 48px !important;
}

body.npc-apps-files .nk-fmg-body-content {
  padding-top: 22px !important;
}

body.npc-apps-files .nk-fmg-aside-bottom {
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 0 0 20px !important;
}

body.npc-apps-files .nk-fmg-status {
  width: 100% !important;
  min-height: 132px !important;
  padding: 18px !important;
  border-radius: 11px !important;
}

body.npc-apps-files .nk-fmg-status-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  font-size: 0.92rem !important;
}

body.npc-apps-files .nk-fmg-status .progress {
  height: 6px !important;
  margin-bottom: 12px !important;
  border-radius: 999px !important;
}

body.npc-apps-files .nk-fmg-status-info {
  margin-bottom: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .nk-fmg-status-action .link {
  font-size: 0.78rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files .nk-fmg-listing {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-files {
  overflow: visible !important;
  border: 1px solid #d5e0ee !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 22px 56px rgba(28, 39, 62, 0.06) !important;
}

body.npc-apps-files .nk-files-head {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border-bottom-color: #d5e0ee !important;
}

body.npc-apps-files .nk-files-group {
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
  padding-left: 0 !important;
}

body.npc-apps-files .ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  min-height: 132px !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-content {
    padding-top: 22px !important;
  }

  body.npc-apps-files .nk-fmg-aside-bottom {
    padding: 0 0 20px !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
    padding-left: 0 !important;
  }
}

/* Manager production polish pass. Keep absolutely last. */
body.npc-apps-files {
  --ts-manager-aside: 248px;
  --ts-manager-content: 1120px;
}

body.npc-apps-files .nk-fmg-aside {
  width: var(--ts-manager-aside) !important;
  min-width: var(--ts-manager-aside) !important;
}

body.npc-apps-files .nk-fmg-body {
  width: calc(100vw - var(--ts-manager-aside)) !important;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  padding: 28px 18px 18px !important;
}

body.npc-apps-files .nk-fmg-aside-bottom {
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 0 18px 18px !important;
}

body.npc-apps-files .nk-fmg-status {
  width: 100% !important;
  min-height: 146px !important;
  padding: 18px !important;
  border: 1px solid #d7e2ef !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.npc-apps-files .nk-fmg-status-title {
  margin-bottom: 16px !important;
}

body.npc-apps-files .nk-fmg-body-head {
  min-height: 70px !important;
  padding: 13px 30px !important;
  justify-content: flex-start !important;
}

body.npc-apps-files .nk-fmg-search {
  flex: 1 1 var(--ts-manager-content) !important;
  max-width: var(--ts-manager-content) !important;
}

body.npc-apps-files .nk-fmg-search .icon {
  left: 17px !important;
}

body.npc-apps-files .nk-fmg-search .form-control {
  padding-left: 48px !important;
}

body.npc-apps-files .nk-fmg-body-content {
  padding: 24px 30px 46px !important;
}

body.npc-apps-files .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing {
  width: min(var(--ts-manager-content), 100%) !important;
  max-width: var(--ts-manager-content) !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.npc-apps-files .nk-fmg-listing {
  overflow: visible !important;
  border: 1px solid #d5e0ee !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 44px rgba(28, 39, 62, 0.055) !important;
}

body.npc-apps-files .nk-files {
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-files-head {
  min-height: 56px !important;
  padding: 13px 16px !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border-bottom: 1px solid #d5e0ee !important;
}

body.npc-apps-files .nk-files-group {
  padding: 14px !important;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.npc-apps-files .searchTab,
body.ts-trash-page .nk-files-view-list .filesListTab {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
  align-content: start !important;
}

body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child),
body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child),
body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) {
  width: min(560px, 100%) !important;
  max-width: 560px !important;
}

body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child) .filesTab,
body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child) .searchTab,
body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) .filesListTab {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.npc-apps-files .ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  min-height: 112px !important;
  padding: 14px !important;
  border: 1px solid #d5e0ee !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.npc-apps-files .ts-card-main,
body.ts-trash-page .nk-files-view-list .ts-card-main {
  gap: 10px !important;
}

body.npc-apps-files .ts-card-title,
body.ts-trash-page .nk-files-view-list .ts-card-title {
  min-height: 40px !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 12px !important;
}

body.npc-apps-files .ts-card-icon,
body.ts-trash-page .nk-files-view-list .ts-card-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 9px !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type svg {
  width: 24px !important;
  height: 24px !important;
}

body.npc-apps-files .ts-card-name .title,
body.ts-trash-page .nk-files-view-list .ts-card-name .title {
  font-size: 0.91rem !important;
  line-height: 1.22 !important;
}

body.npc-apps-files .ts-card-meta,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.npc-apps-files .ts-card-meta li,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 26px !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 8px !important;
  border: 1px solid #e2e9f4 !important;
  border-radius: 999px !important;
  background: #f7f9fd !important;
  color: #42526b !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta li::before,
body.npc-apps-files .ts-card-meta li::after,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::before,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .ts-meta-label,
body.ts-trash-page .nk-files-view-list .ts-meta-label {
  display: inline !important;
  width: auto !important;
  color: #7b8ca4 !important;
  font-size: 0.63rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.npc-apps-files .ts-meta-value,
body.ts-trash-page .nk-files-view-list .ts-meta-value {
  display: inline-flex !important;
  width: auto !important;
  align-items: center !important;
  gap: 3px !important;
  color: #314158 !important;
  font-size: 0.74rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.npc-apps-files .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-status-pill {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #314158 !important;
}

body.ts-trash-page .nk-files-view-list .ts-card-actions {
  top: 14px !important;
  right: 14px !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-aside {
    width: min(286px, 86vw) !important;
    min-width: 0 !important;
  }

  body.npc-apps-files .nk-fmg-body {
    width: 100% !important;
  }

  body.npc-apps-files .nk-fmg-body-content {
    padding: 22px 14px 36px !important;
  }

  body.npc-apps-files .nk-block-head-sm,
  body.npc-apps-files .nk-fmg-listing,
  body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child),
  body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child),
  body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) {
    width: 100% !important;
    max-width: none !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.npc-apps-files .searchTab,
  body.ts-trash-page .nk-files-view-list .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .ts-card-meta,
  body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
    padding-left: 0 !important;
  }
}

body.npc-apps-files .nk-fmg-aside-bottom {
  padding: 0 !important;
}

body.npc-apps-files .nk-fmg-status-info {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

/* Manager full-width correction. Keep after the production polish pass. */
body.npc-apps-files {
  --ts-manager-content: none;
}

body.npc-apps-files .nk-fmg-body-head,
body.ts-trash-page .nk-fmg-body-head {
  width: 100% !important;
  padding-right: 30px !important;
  padding-left: 30px !important;
}

body.npc-apps-files .nk-fmg-search,
body.ts-trash-page .nk-fmg-search {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

body.npc-apps-files .nk-fmg-body-content,
body.ts-trash-page .nk-fmg-body-content {
  width: 100% !important;
  padding-right: 30px !important;
  padding-left: 30px !important;
}

body.npc-apps-files .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing,
body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child),
body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child),
body.ts-trash-page .nk-fmg-listing,
body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) {
  width: 100% !important;
  max-width: none !important;
}

body.ts-trash-page .nk-files-view-list .filesListTab {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
}

body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child) .filesTab,
body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child) .searchTab,
body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) .filesListTab {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
}

body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  min-height: 153px !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-content,
  body.ts-trash-page .nk-fmg-body-content {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body.ts-trash-page .nk-files-view-list .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child) .filesTab,
  body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child) .searchTab,
  body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
    min-height: 168px !important;
  }
}

/* Manager consistency pass: Home, Trash, search, cards, and dark mode. */
body.npc-apps-files {
  --ts-manager-shell: #f3f7fc;
  --ts-manager-panel: #ffffff;
  --ts-manager-ink: #172033;
  --ts-manager-muted: #5d6f8b;
  --ts-manager-soft: #f7faff;
  --ts-manager-border: #cfdbeb;
  --ts-manager-blue: #3157d5;
  --ts-manager-gap: 30px;
  background: var(--ts-manager-shell) !important;
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-fmg {
  min-height: calc(100vh - 65px) !important;
  background: var(--ts-manager-shell) !important;
}

body.npc-apps-files .nk-fmg-body {
  width: calc(100vw - 228px) !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

body.npc-apps-files .nk-fmg-body-head,
body.ts-trash-page .nk-fmg-body-head {
  display: flex !important;
  width: 100% !important;
  min-height: 86px !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 21px var(--ts-manager-gap) !important;
  border-bottom: 1px solid #d9e3f0 !important;
  background: var(--ts-manager-panel) !important;
}

body.npc-apps-files .nk-fmg-search,
body.ts-trash-page .nk-fmg-search {
  position: relative !important;
  display: flex !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center !important;
  margin: 0 !important;
  border: 1px solid var(--ts-manager-border) !important;
  border-radius: 9px !important;
  background: var(--ts-manager-panel) !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-fmg-search .icon,
body.ts-trash-page .nk-fmg-search .icon {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  color: #5f7291 !important;
  transform: translateY(-50%) !important;
}

body.npc-apps-files .nk-fmg-search .form-control,
body.ts-trash-page .nk-fmg-search .form-control {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px 0 45px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ts-manager-ink) !important;
  font-size: 0.86rem !important;
  font-weight: 760 !important;
  line-height: 42px !important;
}

body.npc-apps-files .nk-fmg-search .form-control::placeholder,
body.ts-trash-page .nk-fmg-search .form-control::placeholder {
  color: #9aacbf !important;
}

body.npc-apps-files .nk-fmg-actions,
body.npc-apps-files .nk-fmg-actions .nk-block-tools,
body.npc-apps-files .nk-fmg-actions .nk-block-tools > li {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.npc-apps-files .nk-fmg-actions .btn-primary {
  height: 44px !important;
  min-width: 118px !important;
  padding: 0 18px !important;
}

body.npc-apps-files .nk-fmg-body-content,
body.ts-trash-page .nk-fmg-body-content {
  width: 100% !important;
  max-width: none !important;
  padding: 26px var(--ts-manager-gap) 48px !important;
  overflow: visible !important;
}

body.npc-apps-files .nk-block-head-sm,
body.ts-trash-page .nk-block-head-sm,
body.npc-apps-files .nk-fmg-listing,
body.ts-trash-page .nk-fmg-listing,
body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child),
body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child),
body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.npc-apps-files .nk-block-head-sm,
body.ts-trash-page .nk-block-head-sm {
  margin-bottom: 24px !important;
}

body.npc-apps-files .nk-block-head-sm .page-title,
body.ts-trash-page .nk-block-head-sm .page-title {
  margin: 0 !important;
  color: var(--ts-manager-ink) !important;
  font-size: 1.45rem !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
}

body.npc-apps-files .nk-fmg-listing,
body.ts-trash-page .nk-fmg-listing {
  overflow: visible !important;
  padding: 0 !important;
  border: 1px solid var(--ts-manager-border) !important;
  border-radius: 12px !important;
  background: var(--ts-manager-panel) !important;
  box-shadow: 0 22px 56px rgba(28, 39, 62, 0.06) !important;
}

body.npc-apps-files .nk-files,
body.ts-trash-page .nk-files {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  flex-direction: column !important;
  overflow: visible !important;
}

body.npc-apps-files .nk-files-head,
body.ts-trash-page .nk-files-view-list .nk-files-head {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  min-height: 56px !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #dbe5f1 !important;
  background: var(--ts-manager-panel) !important;
}

body.npc-apps-files .nk-files-head::before {
  content: "Transfers" !important;
  color: var(--ts-manager-ink) !important;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.ts-trash-page .nk-files-view-list .nk-files-head::before {
  content: "Trashed Files" !important;
}

body.npc-apps-files .nk-files-head .nk-file-item,
body.npc-apps-files .nk-files-head .nk-file-info,
body.ts-trash-page .nk-files-view-list .nk-files-head .nk-file-item,
body.ts-trash-page .nk-files-view-list .nk-files-head .nk-file-info {
  display: flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.ts-trash-page .nk-files-view-list .nk-files-head .nk-file-info > .tb-head:not(#sortViaText),
body.ts-trash-page .nk-files-view-list .nk-files-head .nk-file-meta,
body.ts-trash-page .nk-files-view-list .nk-files-head .nk-file-members {
  display: none !important;
}

body.npc-apps-files .nk-files-head #sortViaText,
body.ts-trash-page .nk-files-view-list .nk-files-head #sortViaText {
  display: inline-flex !important;
  min-height: 32px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--ts-manager-border) !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  color: #27364d !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.npc-apps-files .nk-files-head #sortViaText::before,
body.ts-trash-page .nk-files-view-list .nk-files-head #sortViaText::before {
  content: "Sort by" !important;
  color: #748399 !important;
  font-weight: 850 !important;
}

body.npc-apps-files .searchDiv,
body.npc-apps-files .nk-files-group,
body.ts-trash-page .nk-files-view-list .filesListTab {
  padding: 14px !important;
}

body.npc-apps-files .nk-files-group > .title,
body.ts-trash-page .nk-files-group > .title {
  display: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list,
body.npc-apps-files .searchTab,
body.ts-trash-page .nk-files-view-list .filesListTab,
body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child) .filesTab,
body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child) .searchTab,
body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) .filesListTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
  align-content: start !important;
  overflow: visible !important;
}

body.npc-apps-files .ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 118px !important;
  margin: 0 !important;
  padding: 14px 46px 14px 14px !important;
  border: 1px solid #d4e0ee !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: none !important;
}

body.npc-apps-files .ts-transfer-card:hover,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card:hover {
  border-color: #aebfda !important;
  box-shadow: 0 14px 30px rgba(24, 35, 58, 0.08) !important;
}

body.npc-apps-files .ts-card-main,
body.ts-trash-page .nk-files-view-list .ts-card-main {
  display: grid !important;
  gap: 11px !important;
  min-width: 0 !important;
}

body.npc-apps-files .ts-card-title,
body.ts-trash-page .nk-files-view-list .ts-card-title {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
}

body.npc-apps-files .ts-card-icon,
body.ts-trash-page .nk-files-view-list .ts-card-icon {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: #eef4ff !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type svg {
  width: 23px !important;
  height: 23px !important;
}

body.npc-apps-files .ts-card-name,
body.npc-apps-files .ts-card-name .nk-file-name-text,
body.ts-trash-page .nk-files-view-list .ts-card-name,
body.ts-trash-page .nk-files-view-list .ts-card-name .nk-file-name-text {
  width: 100% !important;
  min-width: 0 !important;
}

body.npc-apps-files .ts-card-name .title,
body.ts-trash-page .nk-files-view-list .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: var(--ts-manager-ink) !important;
  font-size: 0.91rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.npc-apps-files .ts-card-meta,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.npc-apps-files .ts-card-meta li,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 27px !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  border: 1px solid #e1e9f5 !important;
  border-radius: 999px !important;
  background: #f7faff !important;
  color: #40536e !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta li::before,
body.npc-apps-files .ts-card-meta li::after,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::before,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .ts-meta-label,
body.ts-trash-page .nk-files-view-list .ts-meta-label {
  display: inline !important;
  width: auto !important;
  color: #7a8aa2 !important;
  font-size: 0.56rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-meta-value,
body.ts-trash-page .nk-files-view-list .ts-meta-value {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 3px !important;
  color: #314158 !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-meta-value .icon,
body.ts-trash-page .nk-files-view-list .ts-meta-value .icon {
  display: none !important;
}

body.npc-apps-files .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-status-pill {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #314158 !important;
}

body.npc-apps-files .ts-card-actions,
body.ts-trash-page .nk-files-view-list .ts-card-actions {
  position: absolute !important;
  top: 13px !important;
  right: 13px !important;
  z-index: 50 !important;
}

body.npc-apps-files .ts-card-menu-button,
body.ts-trash-page .nk-files-view-list .ts-card-menu-button {
  display: grid !important;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #eef3ff !important;
  color: #52647e !important;
}

body.npc-apps-files .ts-card-menu-button::after,
body.ts-trash-page .nk-files-view-list .ts-card-menu-button::after {
  display: none !important;
}

body.npc-apps-files .ts-card-dropdown,
body.ts-trash-page .nk-files-view-list .ts-card-dropdown {
  min-width: 208px !important;
  padding: 8px !important;
  overflow: visible !important;
  border: 1px solid #d4deeb !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 50px rgba(24, 35, 58, 0.16) !important;
  z-index: 3000 !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a,
body.ts-trash-page .nk-files-view-list .ts-card-dropdown .link-list-opt a {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  color: #24324a !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
}

body.npc-apps-files .ts-card-dropdown .link-list-opt a:hover,
body.ts-trash-page .nk-files-view-list .ts-card-dropdown .link-list-opt a:hover {
  background: #f1f5ff !important;
}

body.npc-apps-files .nk-fmg-status {
  min-height: 152px !important;
  padding: 16px !important;
}

body.npc-apps-files.dark-mode,
body.npc-apps-files.dark-mode .nk-fmg {
  --ts-manager-shell: #0f1725;
  --ts-manager-panel: #151f2e;
  --ts-manager-ink: #edf3ff;
  --ts-manager-muted: #a8b7ce;
  --ts-manager-soft: #1b283a;
  --ts-manager-border: #2b3b52;
  background: var(--ts-manager-shell) !important;
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .nk-header.is-light,
body.npc-apps-files.dark-mode .nk-fmg-aside,
body.npc-apps-files.dark-mode .nk-fmg-body-head,
body.npc-apps-files.dark-mode .nk-fmg-listing,
body.npc-apps-files.dark-mode .nk-files-head,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-files-head,
body.npc-apps-files.dark-mode .nk-fmg-search,
body.npc-apps-files.dark-mode .ts-transfer-card,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files.dark-mode .nk-fmg-status {
  border-color: var(--ts-manager-border) !important;
  background: var(--ts-manager-panel) !important;
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu-item,
body.npc-apps-files.dark-mode .nk-fmg-menu-text,
body.npc-apps-files.dark-mode .nk-header-app-info .lead-text,
body.npc-apps-files.dark-mode .nk-block-head-sm .page-title,
body.npc-apps-files.dark-mode .nk-files-head::before,
body.npc-apps-files.dark-mode .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-name .title {
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .nk-header-app-info .sub-text,
body.npc-apps-files.dark-mode .nk-fmg-status-info,
body.npc-apps-files.dark-mode .ts-meta-label,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-meta-label {
  color: var(--ts-manager-muted) !important;
}

body.npc-apps-files.dark-mode .active > .nk-fmg-menu-item,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover {
  background: #203151 !important;
  color: #9db8ff !important;
}

body.npc-apps-files.dark-mode .nk-fmg-search .form-control,
body.npc-apps-files.dark-mode.ts-trash-page .nk-fmg-search .form-control,
body.npc-apps-files.dark-mode .ts-meta-value,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-meta-value,
body.npc-apps-files.dark-mode .ts-status-pill,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-status-pill {
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .ts-card-meta li,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-meta li,
body.npc-apps-files.dark-mode .ts-card-icon,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-icon,
body.npc-apps-files.dark-mode .ts-card-menu-button,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-menu-button,
body.npc-apps-files.dark-mode .nk-files-head #sortViaText,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-files-head #sortViaText {
  border-color: #34465f !important;
  background: #1b283a !important;
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .ts-card-dropdown,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-dropdown,
body.npc-apps-files.dark-mode .dropdown-menu {
  border-color: var(--ts-manager-border) !important;
  background: #172234 !important;
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .ts-card-dropdown .link-list-opt a,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-dropdown .link-list-opt a {
  color: var(--ts-manager-ink) !important;
}

body.npc-apps-files.dark-mode .ts-card-dropdown .link-list-opt a:hover,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-dropdown .link-list-opt a:hover {
  background: #223350 !important;
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body {
    width: 100% !important;
  }

  body.npc-apps-files .nk-fmg-body-content,
  body.ts-trash-page .nk-fmg-body-content {
    padding: 22px 14px 38px !important;
  }

  body.npc-apps-files .nk-block-head-sm,
  body.ts-trash-page .nk-block-head-sm {
    margin-bottom: 18px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list,
  body.npc-apps-files .searchTab,
  body.ts-trash-page .nk-files-view-list .filesListTab,
  body.npc-apps-files .nk-fmg-listing:has(.filesTab > .ts-transfer-card:only-child) .filesTab,
  body.npc-apps-files .nk-fmg-listing:has(.searchTab > .ts-transfer-card:only-child) .searchTab,
  body.ts-trash-page .nk-fmg-listing:has(.filesListTab > .ts-transfer-card:only-child) .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.npc-apps-files .ts-transfer-card,
  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
    min-height: 116px !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files {
    --ts-manager-gap: 14px;
  }

  body.npc-apps-files .nk-fmg-listing,
  body.ts-trash-page .nk-fmg-listing {
    border-radius: 10px !important;
  }

  body.npc-apps-files .nk-files-head,
  body.ts-trash-page .nk-files-view-list .nk-files-head {
    padding: 11px 12px !important;
  }

  body.npc-apps-files .searchDiv,
  body.npc-apps-files .nk-files-group,
  body.ts-trash-page .nk-files-view-list .filesListTab {
    padding: 12px !important;
  }

  body.npc-apps-files .ts-transfer-card,
  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
    padding: 13px 44px 13px 13px !important;
  }

  body.npc-apps-files .ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta {
    gap: 6px !important;
  }
}

/* Beat remaining Dashlite group/list specificity for transfer tiles. */
body.npc-apps-files .nk-files-view-group .nk-files-list,
body.npc-apps-files .nk-files-view-group .filesTab,
body.npc-apps-files .searchDiv .searchTab,
body.npc-apps-files .searchTab {
  margin: 0 !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card {
  display: block !important;
  min-height: 118px !important;
  padding: 14px 46px 14px 14px !important;
  gap: 0 !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card .ts-card-title,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card .ts-card-title,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card .ts-card-title {
  padding: 0 !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card .ts-card-meta li,
body.npc-apps-files.dark-mode .searchTab .nk-file-item.nk-file.ts-transfer-card .ts-card-meta li,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card .ts-card-meta li {
  border-color: #34465f !important;
  background: #1b283a !important;
  color: #dce8fa !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card .ts-meta-label,
body.npc-apps-files.dark-mode .searchTab .nk-file-item.nk-file.ts-transfer-card .ts-meta-label,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card .ts-meta-label {
  color: #9fb0c8 !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card .ts-meta-value,
body.npc-apps-files.dark-mode .searchTab .nk-file-item.nk-file.ts-transfer-card .ts-meta-value,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card .ts-meta-value,
body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card .ts-status-pill,
body.npc-apps-files.dark-mode .searchTab .nk-file-item.nk-file.ts-transfer-card .ts-status-pill,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card .ts-status-pill {
  background: transparent !important;
  color: #e7efff !important;
}

/* Detail pages: clicked transfers/folders use Dashlite's list markup, but should render like manager cards. */
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  min-height: 56px !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #dbe5f1 !important;
  border-radius: 12px 12px 0 0 !important;
  background: var(--ts-manager-panel) !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head::before {
  content: "Files" !important;
  color: var(--ts-manager-ink) !important;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head::before {
  content: "Transfers" !important;
  color: var(--ts-manager-ink) !important;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-item,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-info,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-item,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-info {
  display: flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-info > .tb-head:not(#sortViaText),
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-meta,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-members,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-info > .tb-head:not(#sortViaText),
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head .nk-file-members {
  display: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
  align-content: start !important;
  padding: 14px !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 14px 46px 14px 14px !important;
  border: 1px solid #d4e0ee !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover {
  border-color: #aebfda !important;
  box-shadow: 0 14px 30px rgba(24, 35, 58, 0.08) !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-main {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 11px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-title {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: #eef4ff !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .nk-file-name-text,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .nk-file-name-text {
  width: 100% !important;
  min-width: 0 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: var(--ts-manager-ink) !important;
  font-size: 0.91rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 26px !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 1px solid #e1e9f5 !important;
  border-radius: 999px !important;
  background: #f7faff !important;
  color: #40536e !important;
  white-space: nowrap !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li::before,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li::after,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li::before,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-meta-label {
  display: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-status-pill,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-status-pill {
  color: #314158 !important;
  font-size: 0.74rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-actions,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-actions {
  position: absolute !important;
  top: 13px !important;
  right: 13px !important;
  z-index: 50 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly {
  padding-right: 14px !important;
}

body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-files-head,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-files-head,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  border-color: var(--ts-manager-border) !important;
  background: var(--ts-manager-panel) !important;
  color: var(--ts-manager-ink) !important;
}

body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta > li,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta > li,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-icon {
  border-color: #34465f !important;
  background: #1b283a !important;
  color: var(--ts-manager-ink) !important;
}

body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-meta-value,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-status-pill,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta .ts-status-pill {
  color: #dce8fa !important;
}

@media (max-width: 991px) {
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 575px) {
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head {
    padding: 11px 12px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab {
    padding: 12px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
    min-height: 108px !important;
    padding: 13px 44px 13px 13px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly {
    padding-right: 13px !important;
  }
}

/* Final manager typography/card polish: reduce bulky weights and quiet the metadata. */
body.npc-apps-files,
body.ts-transfer-detail-page,
body.ts-folder-detail-page {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.npc-apps-files .nk-header-app-info .sub-text,
body.npc-apps-files .nk-fmg-menu-text,
body.npc-apps-files .form-control,
body.npc-apps-files .btn,
body.npc-apps-files .link {
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-header-app-info .lead-text,
body.npc-apps-files .nk-block-title.page-title,
body.npc-apps-files .ts-files-panel-title,
body.npc-apps-files .nk-files-head::before {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files .ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  min-height: 116px !important;
  padding: 15px 50px 15px 16px !important;
  border-color: #d8e3f1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card:hover,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card:hover,
body.npc-apps-files .ts-transfer-card:hover,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover {
  border-color: #b9c9df !important;
  box-shadow: 0 14px 28px rgba(23, 35, 59, 0.06) !important;
}

body.npc-apps-files .ts-card-main,
body.ts-trash-page .nk-files-view-list .ts-card-main,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-main {
  gap: 12px !important;
}

body.npc-apps-files .ts-card-title,
body.ts-trash-page .nk-files-view-list .ts-card-title,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-title {
  grid-template-columns: 36px minmax(0, 1fr) !important;
  min-height: 36px !important;
  gap: 12px !important;
}

body.npc-apps-files .ts-card-icon,
body.ts-trash-page .nk-files-view-list .ts-card-icon,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 9px !important;
  background: #f1f5ff !important;
}

body.npc-apps-files .ts-card-icon .nk-file-icon-type,
body.npc-apps-files .ts-card-icon .nk-file-icon-type svg,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list .ts-card-icon .nk-file-icon-type svg,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon .nk-file-icon-type,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon .nk-file-icon-type svg,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon .nk-file-icon-type,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon .nk-file-icon-type svg {
  width: 22px !important;
  height: 22px !important;
}

body.npc-apps-files .ts-card-name .title,
body.ts-trash-page .nk-files-view-list .ts-card-name .title,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .title {
  color: #17233a !important;
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  line-height: 1.26 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .ts-card-meta,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(2, max-content) !important;
  gap: 7px 8px !important;
  align-items: start !important;
  justify-content: start !important;
  margin: 0 0 0 48px !important;
  padding: 0 !important;
}

body.npc-apps-files .ts-card-meta li,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta > li {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 24px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  border: 1px solid #e5edf7 !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
  color: #41506a !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta li::before,
body.npc-apps-files .ts-card-meta li::after,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::before,
body.ts-trash-page .nk-files-view-list .ts-card-meta li::after,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta li::before,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta li::after,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta li::before,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta li::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .ts-meta-label,
body.ts-trash-page .nk-files-view-list .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-meta-label {
  display: inline !important;
  color: #7d8ba2 !important;
  font-size: 0.56rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.npc-apps-files .ts-meta-value,
body.ts-trash-page .nk-files-view-list .ts-meta-value,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-meta-value,
body.npc-apps-files .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-status-pill,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-status-pill,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #2f3d55 !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

body.npc-apps-files .ts-meta-value .icon,
body.ts-trash-page .nk-files-view-list .ts-meta-value .icon,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-meta-value .icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-meta-value .icon {
  color: #7d8ba2 !important;
  font-size: 0.72rem !important;
}

body.npc-apps-files .ts-card-menu-button,
body.ts-trash-page .nk-files-view-list .ts-card-menu-button,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-menu-button,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-menu-button {
  background: #f1f5ff !important;
  color: #546783 !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files.dark-mode .searchTab .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files.dark-mode .ts-transfer-card,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  border-color: #26364e !important;
  background: #121b2a !important;
  color: #dce8fa !important;
}

body.npc-apps-files.dark-mode .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-name .title,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-name .title,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-name .title {
  color: #eef5ff !important;
}

body.npc-apps-files.dark-mode .ts-card-icon,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-icon,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.npc-apps-files.dark-mode .ts-card-menu-button,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-card-menu-button,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-menu-button,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-menu-button {
  background: #1d2a40 !important;
  color: #c8d7f1 !important;
}

body.npc-apps-files.dark-mode .ts-card-meta li,
body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta > li,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-meta > li {
  border-color: #2a3a54 !important;
  background: #172337 !important;
  color: #dce8fa !important;
}

body.npc-apps-files.dark-mode .ts-meta-label,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-meta-label,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-meta-label,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-meta-label {
  color: #94a7c4 !important;
}

body.npc-apps-files.dark-mode .ts-meta-value,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-meta-value,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-meta-value,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-meta-value,
body.npc-apps-files.dark-mode .ts-status-pill,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-status-pill,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-status-pill,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-status-pill {
  color: #e5eefc !important;
}

@media (max-width: 767px) {
  body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
  body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card,
  body.npc-apps-files .ts-transfer-card,
  body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
    padding: 14px 46px 14px 14px !important;
  }

  body.npc-apps-files .ts-card-meta,
  body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-left: 0 !important;
  }
}

/* Exact app markup specificity for calmer metadata text. */
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #8190a8 !important;
  font-size: 0.55rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  color: #35455f !important;
  font-size: 0.71rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #99aabe !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  color: #e0ebfa !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .ts-card-name .title,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .ts-card-name .title,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .title,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .title {
  color: #eef5ff !important;
  -webkit-text-fill-color: #eef5ff !important;
}

.ts-document-open-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #edf3ff;
  color: #3559dc;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.ts-document-open-button:hover {
  color: #2747bd;
  background: #e2ebff;
}

.dark-mode .ts-document-open-button {
  background: #202c43;
  color: #9ab3ff;
}

/* Transfer card rebuild. Keep this last. */
body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  padding: 16px 52px 16px 16px !important;
  overflow: visible !important;
  border: 1px solid #d6e1ef !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card:hover,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover {
  border-color: #aec0dc !important;
  box-shadow: 0 14px 32px rgba(28, 39, 62, 0.07) !important;
}

body.npc-apps-files .ts-card-main,
body.ts-trash-page .nk-files-view-list .ts-card-main,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-main {
  display: grid !important;
  min-width: 0 !important;
  gap: 12px !important;
}

body.npc-apps-files .ts-card-title,
body.ts-trash-page .nk-files-view-list .ts-card-title,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-title {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 12px !important;
}

body.npc-apps-files .ts-card-icon,
body.ts-trash-page .nk-files-view-list .ts-card-icon,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-icon {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: #f0f5ff !important;
}

body.npc-apps-files .ts-card-name,
body.npc-apps-files .ts-card-name .nk-file-name-text,
body.ts-trash-page .nk-files-view-list .ts-card-name,
body.ts-trash-page .nk-files-view-list .ts-card-name .nk-file-name-text,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .nk-file-name-text,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .nk-file-name-text {
  min-width: 0 !important;
  width: 100% !important;
}

body.npc-apps-files .ts-card-name .title,
body.ts-trash-page .nk-files-view-list .ts-card-name .title,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #182236 !important;
  font-size: 0.91rem !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.28 !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 9px !important;
  border: 1px solid #e4ebf5 !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  color: #34435a !important;
  white-space: nowrap !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  display: block !important;
  min-width: max-content !important;
  color: #7a8aa3 !important;
  font-size: 0.58rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  display: inline-flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #28384f !important;
  font-size: 0.75rem !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-actions,
body.ts-trash-page .nk-files-view-list .ts-card-actions,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-actions,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-actions {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 20 !important;
}

body.npc-apps-files .ts-card-menu-button,
body.ts-trash-page .nk-files-view-list .ts-card-menu-button,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-menu-button,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-menu-button {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
  color: #526685 !important;
}

body.npc-apps-files .ts-card-quick-actions,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-card-quick-actions,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-card-quick-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 1px !important;
}

body.npc-apps-files .ts-document-open-button,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-document-open-button,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-document-open-button {
  display: inline-flex !important;
  width: auto !important;
  min-height: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: 1px solid #cbd8f2 !important;
  border-radius: 8px !important;
  background: #edf3ff !important;
  color: #3157d5 !important;
  font-size: 0.76rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head::before,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-head::before {
  display: none !important;
  content: none !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files.dark-mode .searchTab .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  border-color: #293952 !important;
  background: #131e2f !important;
}

body.npc-apps-files.dark-mode .ts-card-name .title,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-name .title,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-card-name .title {
  color: #eef5ff !important;
  -webkit-text-fill-color: #eef5ff !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #2b3c56 !important;
  background: #18243a !important;
}

body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  color: #e5eefc !important;
}

body.npc-apps-files.dark-mode .ts-document-open-button,
body.ts-transfer-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-document-open-button,
body.ts-folder-detail-page.dark-mode .nk-files-view-list:not(.is-compact) .ts-document-open-button {
  border-color: #314364 !important;
  background: #1d2a42 !important;
  color: #a9bdff !important;
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-trash-page .nk-files-view-list .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Manager transfer cards production pass. Keep this at the very end. */
body.npc-apps-files .nk-fmg-body > .nk-content,
body.npc-apps-files .nk-fmg-body .container,
body.npc-apps-files .nk-fmg-body .container-fluid {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.npc-apps-files .nk-fmg-body-head {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 16px 32px !important;
  border-bottom: 1px solid var(--tsm-line) !important;
  background: var(--tsm-panel) !important;
}

body.npc-apps-files .nk-fmg-body-head .nk-fmg-search {
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}

body.npc-apps-files .nk-fmg-body-head .nk-fmg-actions {
  flex: 0 0 auto !important;
}

body.npc-apps-files .nk-fmg-body-content {
  width: 100% !important;
  max-width: none !important;
  padding: 24px 32px 48px !important;
}

body.npc-apps-files .nk-block-head {
  margin-bottom: 20px !important;
}

body.npc-apps-files .nk-block-title.page-title {
  color: var(--tsm-ink) !important;
  font-size: 1.38rem !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .nk-fmg-listing,
body.npc-apps-files .nk-files,
body.npc-apps-files .nk-files-group {
  width: 100% !important;
  max-width: none !important;
}

body.npc-apps-files .nk-files-view-group,
body.npc-apps-files .nk-files-view-list:not(.is-compact) {
  overflow: visible !important;
  border: 1px solid #cfdaea !important;
  border-radius: 10px !important;
  background: var(--tsm-panel) !important;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.06) !important;
}

body.npc-apps-files .nk-files-head {
  min-height: 52px !important;
  padding: 0 18px !important;
  border-bottom: 1px solid #d9e3f0 !important;
  background: var(--tsm-panel) !important;
}

body.npc-apps-files .nk-files-head .nk-file-item {
  min-height: 52px !important;
  padding: 0 !important;
}

body.npc-apps-files .nk-files-group > .title,
body.npc-apps-files .nk-files-head .tb-head,
body.npc-apps-files .nk-files-head #sortViaText {
  color: #172033 !important;
  font-size: 0.9rem !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.npc-apps-files .nk-files-view-group .nk-files-list.filesTab,
body.npc-apps-files .nk-files-view-group .nk-files-list.searchTab,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 14px !important;
}

body.npc-apps-files .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files .nk-files-view-group .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files .searchTab .nk-file-item.nk-file.ts-transfer-card,
body.ts-trash-page .nk-files-view-list .nk-file-item.nk-file.ts-transfer-card,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 126px !important;
  padding: 14px 48px 14px 14px !important;
  overflow: visible !important;
  border: 1px solid #d4dfef !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.npc-apps-files .nk-file-item.nk-file.ts-transfer-card:hover {
  border-color: #aebfda !important;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08) !important;
}

body.npc-apps-files .ts-card-main {
  display: grid !important;
  min-width: 0 !important;
  gap: 11px !important;
}

body.npc-apps-files .ts-card-title {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  min-width: 0 !important;
  align-items: start !important;
  gap: 12px !important;
}

body.npc-apps-files .ts-card-icon {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
}

body.npc-apps-files .ts-card-icon svg {
  width: 24px !important;
  height: 24px !important;
}

body.npc-apps-files .ts-card-name,
body.npc-apps-files .ts-card-name .nk-file-name-text {
  min-width: 0 !important;
  width: 100% !important;
}

body.npc-apps-files .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #182236 !important;
  font-size: 0.88rem !important;
  font-weight: 720 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.npc-apps-files .ts-card-kind {
  margin-top: 4px !important;
  overflow: hidden !important;
  color: #61718a !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
}

body.npc-apps-files .ts-card-meta > li {
  display: grid !important;
  min-width: 0 !important;
  min-height: 32px !important;
  align-content: center !important;
  gap: 3px !important;
  padding: 6px 8px !important;
  border: 1px solid #e1e9f5 !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
}

body.npc-apps-files .ts-card-meta > li::before,
body.npc-apps-files .ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .ts-card-meta .ts-meta-label {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: #7c8ba2 !important;
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-meta .ts-meta-value,
body.npc-apps-files .ts-card-meta .ts-status-pill {
  display: inline-flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #26364d !important;
  font-size: 0.72rem !important;
  font-weight: 720 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-card-actions {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 30 !important;
}

body.npc-apps-files .ts-card-menu-button {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
  color: #50647f !important;
}

body.npc-apps-files .ts-card-dropdown {
  z-index: 1200 !important;
  min-width: 196px !important;
  border: 1px solid #dbe5f2 !important;
  border-radius: 9px !important;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.16) !important;
}

body.npc-apps-files .ts-card-quick-actions {
  display: flex !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

body.npc-apps-files .ts-document-open-button {
  display: inline-flex !important;
  min-height: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 7px 10px !important;
  border: 1px solid #cbd8f2 !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
  color: #3157d5 !important;
  font-size: 0.75rem !important;
  font-weight: 720 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.npc-apps-files .ts-transfer-card-folder_node {
  cursor: pointer !important;
}

body.npc-apps-files .ts-transfer-path {
  display: flex !important;
  grid-column: 1 / -1 !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 34px !important;
  margin-bottom: 2px !important;
  color: #8090a8 !important;
  font-size: 0.78rem !important;
  font-weight: 650 !important;
}

body.npc-apps-files .ts-transfer-path button {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #3157d5 !important;
  font: inherit !important;
  cursor: pointer !important;
}

body.npc-apps-files .ts-transfer-path span {
  color: #94a2b8 !important;
}

body.npc-apps-files.dark-mode .nk-fmg-body-head,
body.npc-apps-files.dark-mode .nk-files-view-group,
body.npc-apps-files.dark-mode .nk-files-view-list:not(.is-compact),
body.npc-apps-files.dark-mode .nk-files-head,
body.npc-apps-files.dark-mode .nk-file-item.nk-file.ts-transfer-card {
  border-color: #293952 !important;
  background: #151f31 !important;
}

body.npc-apps-files.dark-mode .nk-files-group > .title,
body.npc-apps-files.dark-mode .nk-files-head .tb-head,
body.npc-apps-files.dark-mode .nk-files-head #sortViaText,
body.npc-apps-files.dark-mode .ts-card-name .title {
  color: #edf4ff !important;
  -webkit-text-fill-color: #edf4ff !important;
}

body.npc-apps-files.dark-mode .ts-card-kind,
body.npc-apps-files.dark-mode .ts-card-meta .ts-meta-label {
  color: #9aa8bd !important;
}

body.npc-apps-files.dark-mode .ts-card-icon,
body.npc-apps-files.dark-mode .ts-card-menu-button,
body.npc-apps-files.dark-mode .ts-card-meta > li,
body.npc-apps-files.dark-mode .ts-document-open-button {
  border-color: #2c3d58 !important;
  background: #1b2940 !important;
}

body.npc-apps-files.dark-mode .ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode .ts-card-meta .ts-status-pill {
  color: #e4ecfb !important;
}

@media (min-width: 1600px) {
  body.npc-apps-files .nk-files-view-group .nk-files-list.filesTab,
  body.npc-apps-files .nk-files-view-group .nk-files-list.searchTab,
  body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.npc-apps-files .nk-fmg-body-head,
  body.npc-apps-files .nk-fmg-body-content {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  body.npc-apps-files .nk-files-view-group .nk-files-list.filesTab,
  body.npc-apps-files .nk-files-view-group .nk-files-list.searchTab,
  body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-file-item.nk-file.ts-transfer-card {
    min-height: 0 !important;
    padding: 14px 44px 14px 14px !important;
  }

  body.npc-apps-files .ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card-folder_node .nk-file-desc.ts-card-meta,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-folder_node .nk-file-desc.ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-folder_node .nk-file-desc.ts-card-meta {
  grid-template-columns: minmax(0, 170px) !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly {
  min-height: 138px !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  padding: 6px 8px !important;
}

body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 575px) {
  body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
  min-height: 168px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  gap: 10px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  margin-top: 0 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button {
  align-self: start !important;
}

body.npc-apps-files .ts-transfer-card-folder_node .ts-card-kind,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-folder_node .ts-card-kind,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-folder_node .ts-card-kind {
  display: block !important;
  visibility: visible !important;
  color: #61718a !important;
}

/* Transfer detail folder browser. Folder nodes are navigation, not file cards. */
body.npc-apps-files .filesListTab .ts-transfer-folder-node {
  appearance: none !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  width: min(420px, 100%) !important;
  min-height: 86px !important;
  align-items: center !important;
  gap: 13px !important;
  padding: 15px 16px !important;
  border: 1px solid #cfdced !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #172033 !important;
  box-shadow: 0 14px 34px rgba(31, 45, 76, 0.06) !important;
  cursor: pointer !important;
  font: inherit !important;
  text-align: left !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-node:hover,
body.npc-apps-files .filesListTab .ts-transfer-folder-node:focus-visible {
  border-color: #8fa6ff !important;
  box-shadow: 0 16px 40px rgba(53, 88, 213, 0.14) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-icon {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 11px !important;
  background: #eef3ff !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-icon svg {
  width: 27px !important;
  height: 27px !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-copy {
  display: grid !important;
  min-width: 0 !important;
  gap: 7px !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-name {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #172033 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  color: #51637f !important;
  font-size: 0.75rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-meta span {
  display: inline-flex !important;
  min-height: 24px !important;
  align-items: center !important;
  padding: 4px 8px !important;
  border: 1px solid #e1e9f5 !important;
  border-radius: 999px !important;
  background: #f6f8fc !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-open {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #3157db !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .filesListTab .ts-transfer-folder-open .icon {
  font-size: 1rem !important;
}

body.npc-apps-files .ts-card-name .ts-card-title-static {
  cursor: default !important;
  text-decoration: none !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-node {
  border-color: #263858 !important;
  background: #111c2e !important;
  color: #eef4ff !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-node:hover,
body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-node:focus-visible {
  border-color: #6385ff !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24) !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-icon {
  background: #1d2b46 !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-name {
  color: #eef4ff !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-meta {
  color: #aebdd3 !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-meta span {
  border-color: #2b3d5d !important;
  background: #17243b !important;
}

body.npc-apps-files.dark-mode .filesListTab .ts-transfer-folder-open {
  color: #8ba4ff !important;
}

@media (max-width: 575px) {
  body.npc-apps-files .filesListTab .ts-transfer-folder-node {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    min-height: 82px !important;
    gap: 11px !important;
    padding: 13px !important;
  }

  body.npc-apps-files .filesListTab .ts-transfer-folder-icon {
    width: 40px !important;
    height: 40px !important;
  }

  body.npc-apps-files .filesListTab .ts-transfer-folder-open {
    display: none !important;
  }
}

/* Trash browsing: same card model as Home, but opened transfers are read-only. */
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 16px !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab > .ts-transfer-card,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-trash {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 132px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 16px !important;
  border: 1px solid #d8e4f3 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.04) !important;
  cursor: pointer !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-trash:hover {
  border-color: #9db4ff !important;
  box-shadow: 0 16px 38px rgba(49, 87, 219, 0.11) !important;
  transform: translateY(-1px) !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-main {
  display: grid !important;
  min-width: 0 !important;
  gap: 13px !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-title {
  display: grid !important;
  min-width: 0 !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-icon {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 11px !important;
  background: #eef3ff !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-icon .nk-file-icon-type,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-icon .nk-file-icon-type svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-name,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .nk-file-name-text {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-name .title {
  display: -webkit-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #172033 !important;
  font-size: 0.92rem !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-kind {
  margin-top: 4px !important;
  color: #64748b !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-meta {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-meta > li {
  display: inline-flex !important;
  min-height: 26px !important;
  max-width: 100% !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 5px 9px !important;
  border: 1px solid #e2eaf5 !important;
  border-radius: 999px !important;
  background: #f7f9fd !important;
  color: #51637f !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-meta > li::before,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-meta-label {
  color: #7890af !important;
  font-size: 0.58rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-meta-value {
  color: #24324a !important;
  font-weight: 850 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-actions {
  position: static !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-self: start !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-menu-button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: #eef3ff !important;
  color: #51637f !important;
}

body.ts-trash-detail-page .ts-trash-readonly-notice {
  display: flex !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid #d8e4f3 !important;
  border-radius: 10px !important;
  background: #f7f9fd !important;
  color: #465b78 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
}

body.ts-trash-detail-page .ts-trash-readonly-notice .icon {
  color: #3157db !important;
  font-size: 1rem !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-trash,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab > .ts-transfer-card {
  border-color: #263858 !important;
  background: #111c2e !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-meta-value {
  color: #eef4ff !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-kind,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-meta-label {
  color: #aebdd3 !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-icon,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-menu-button,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-trash .ts-card-meta > li,
body.npc-apps-files.dark-mode.ts-trash-detail-page .ts-trash-readonly-notice {
  border-color: #2b3d5d !important;
  background: #17243b !important;
  color: #d8e5ff !important;
}

@media (max-width: 575px) {
  body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
  }

  body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-trash {
    min-height: 124px !important;
    padding: 14px !important;
  }
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .ts-card-main {
  display: grid !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  gap: 13px !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .ts-card-title {
  height: auto !important;
  min-height: 44px !important;
  grid-template-rows: auto !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .nk-file-desc.ts-card-meta {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
  align-content: start !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .nk-file-desc.ts-card-meta > li {
  position: static !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 28px !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .nk-file-desc.ts-card-meta .ts-meta-value {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  line-height: 1 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .nk-file-desc.ts-card-meta > li > .ts-meta-label,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash .nk-file-desc.ts-card-meta > li > .ts-meta-value {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

/* Transfer detail cards: keep opened transfers readable, including trashed read-only transfers. */
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 16px !important;
  overflow: visible !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-path,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-path,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-trash-readonly-notice,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-trash-readonly-notice {
  grid-column: 1 / -1 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow: visible !important;
  border: 1px solid #d8e4f3 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.04) !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  gap: 12px !important;
  overflow: visible !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title {
  display: grid !important;
  min-width: 0 !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon {
  display: inline-flex !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 11px !important;
  background: #eef3ff !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-name-text,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-name-text {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name .title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name .title {
  display: -webkit-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #172033 !important;
  font-size: 0.92rem !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-kind,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-kind {
  margin-top: 4px !important;
  color: #64748b !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: none !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-items: center !important;
  align-content: start !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li {
  position: static !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 28px !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  border: 1px solid #e2eaf5 !important;
  border-radius: 8px !important;
  background: #f7f9fd !important;
  color: #51637f !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::before,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::after,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::before,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  line-height: 1 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #7890af !important;
  font-size: 0.58rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #24324a !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

body.ts-trash-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions,
body.ts-trash-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button {
  display: none !important;
}

body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node {
  border-color: #263858 !important;
  background: #111c2e !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #eef4ff !important;
}

body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-kind,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-kind,
body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #aebdd3 !important;
}

body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon,
body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li {
  border-color: #2b3d5d !important;
  background: #17243b !important;
}

@media (max-width: 575px) {
  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
    padding: 14px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
}

/* Fixed-size opened-transfer cards. Content should never decide card height. */
body.ts-transfer-detail-page,
body.ts-folder-detail-page {
  --ts-opened-transfer-card-height: 158px;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  grid-auto-rows: var(--ts-opened-transfer-card-height) !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
  height: var(--ts-opened-transfer-card-height) !important;
  min-height: var(--ts-opened-transfer-card-height) !important;
  max-height: var(--ts-opened-transfer-card-height) !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main {
  height: 100% !important;
  grid-template-rows: 46px 32px 28px !important;
  gap: 8px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta {
  display: grid !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 32px !important;
  height: 32px !important;
  align-content: center !important;
  gap: 2px !important;
  overflow: hidden !important;
  white-space: normal !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions {
  display: flex !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions-empty,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions-empty {
  visibility: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button {
  display: inline-flex !important;
  min-height: 28px !important;
  height: 28px !important;
  padding: 5px 10px !important;
  white-space: nowrap !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node {
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  align-content: center !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-copy,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-copy {
  min-width: 0 !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-name,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-name {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 575px) {
  body.ts-transfer-detail-page,
  body.ts-folder-detail-page {
    --ts-opened-transfer-card-height: 164px;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final compact opened-transfer layout. Keep nested file/folder cards equal without dead space. */
body.ts-transfer-detail-page,
body.ts-folder-detail-page {
  --ts-opened-transfer-card-height: 116px;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  grid-auto-rows: var(--ts-opened-transfer-card-height) !important;
  gap: 10px !important;
  padding: 14px !important;
  align-items: start !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
  width: 100% !important;
  height: var(--ts-opened-transfer-card-height) !important;
  min-height: var(--ts-opened-transfer-card-height) !important;
  max-height: var(--ts-opened-transfer-card-height) !important;
  margin: 0 !important;
  border: 1px solid #d4e0ee !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
  display: block !important;
  padding: 14px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main {
  display: grid !important;
  height: 100% !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: 40px 30px !important;
  grid-template-areas:
    "title action"
    "meta meta" !important;
  gap: 10px 12px !important;
  align-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-title {
  grid-area: title !important;
  display: grid !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  min-width: 0 !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 10px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-name-text,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-name-text {
  min-width: 0 !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name .title,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #172033 !important;
  font-size: 0.86rem !important;
  font-weight: 760 !important;
  line-height: 1.18 !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-kind,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-kind {
  display: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta {
  grid-area: meta !important;
  display: grid !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  min-width: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 30px !important;
  min-height: 30px !important;
  align-content: center !important;
  gap: 1px !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  border: 1px solid #e2eaf5 !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
  white-space: normal !important;
  overflow: hidden !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::before,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::after,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::before,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #7a8da8 !important;
  font-size: 0.53rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #24324a !important;
  font-size: 0.68rem !important;
  font-weight: 760 !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions {
  grid-area: action !important;
  display: flex !important;
  width: auto !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions-empty,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-quick-actions-empty {
  display: none !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-document-open-button {
  display: inline-flex !important;
  height: 30px !important;
  min-height: 30px !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 9px !important;
  border-radius: 7px !important;
  font-size: 0.74rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 14px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-icon,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
}

body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-name,
body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-name {
  font-size: 0.86rem !important;
  font-weight: 760 !important;
}

body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node {
  border-color: #263858 !important;
  background: #111c2e !important;
}

@media (max-width: 575px) {
  body.ts-transfer-detail-page,
  body.ts-folder-detail-page {
    --ts-opened-transfer-card-height: 128px;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .ts-card-main {
    grid-template-rows: 42px 30px !important;
  }

  body.ts-transfer-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta,
  body.ts-folder-detail-page .nk-files-view-list:not(.is-compact) .ts-transfer-card-readonly .nk-file-desc.ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Trash mirrors Home transfers. Same grid and cards; only the action menu differs. */
body.ts-trash-page .nk-files-view-list:not(.is-compact) .filesListTab {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  align-content: start !important;
  padding: 28px !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-trash {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 126px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 16px 52px 16px 16px !important;
  border: 1px solid #d4e0ee !important;
  border-radius: 10px !important;
  outline: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:focus,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:focus-within {
  border-color: #aebfda !important;
  box-shadow: 0 14px 30px rgba(24, 35, 58, 0.08) !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-main {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-title {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  min-height: 42px !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-icon {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  place-items: center !important;
  border-radius: 10px !important;
  background: #eef4ff !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-name,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-name .nk-file-name-text {
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #172033 !important;
  font-size: 0.9rem !important;
  font-weight: 760 !important;
  line-height: 1.18 !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-kind {
  display: block !important;
  margin-top: 5px !important;
  overflow: hidden !important;
  color: #5f718d !important;
  font-size: 0.74rem !important;
  font-weight: 690 !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta > li {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  align-content: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 6px 9px !important;
  border: 1px solid #e2eaf5 !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
  white-space: normal !important;
  overflow: hidden !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta > li::before,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta .ts-meta-label,
body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta .ts-meta-value {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #7a8da8 !important;
  font-size: 0.55rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #24324a !important;
  font-size: 0.7rem !important;
  font-weight: 760 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-actions {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 50 !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-menu-button {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 8px !important;
}

body.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-dropdown {
  min-width: 190px !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta > li,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-icon,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-menu-button {
  border-color: #263858 !important;
  background: #111c2e !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-name .title,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #eef4ff !important;
}

body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .ts-card-kind,
body.npc-apps-files.dark-mode.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #aebdd3 !important;
}

@media (min-width: 1600px) {
  body.ts-trash-page .nk-files-view-list:not(.is-compact) .filesListTab {
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)) !important;
  }
}

@media (max-width: 575px) {
  body.ts-trash-page .nk-files-view-list:not(.is-compact) .filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 14px !important;
  }

  body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
    min-height: 132px !important;
    padding: 14px 48px 14px 14px !important;
  }

  body.ts-trash-page .nk-files-view-list:not(.is-compact) .nk-file-desc.ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final Trash normalization: Trash must visually mirror Home transfer cards. */
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
  align-content: start !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card.ts-transfer-card-trash {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 126px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 48px 14px 14px !important;
  overflow: visible !important;
  border: 1px solid #d4dfef !important;
  border-radius: 9px !important;
  outline: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:hover,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:focus,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card:focus-within {
  border-color: #aebfda !important;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08) !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-main {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 11px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-title {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  min-width: 0 !important;
  min-height: 36px !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon svg,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon .nk-file-icon-type,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon .nk-file-icon-type svg {
  width: 24px !important;
  height: 24px !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .nk-file-name-text {
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .title {
  display: -webkit-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #182236 !important;
  font-size: 0.88rem !important;
  font-weight: 720 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-kind {
  display: block !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  color: #61718a !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  position: static !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 32px !important;
  align-content: center !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  overflow: hidden !important;
  border: 1px solid #e1e9f5 !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  color: #7c8ba2 !important;
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #26364d !important;
  font-size: 0.72rem !important;
  font-weight: 720 !important;
  line-height: 1.1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-actions {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  z-index: 50 !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-menu-button {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  place-items: center !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
  color: #50647f !important;
}

body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
  border-color: #293952 !important;
  background: #151f31 !important;
}

body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-menu-button,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #2c3d58 !important;
  background: #1b2940 !important;
}

body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .title,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  color: #edf4ff !important;
  -webkit-text-fill-color: #edf4ff !important;
}

body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-kind,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #9aa8bd !important;
}

@media (min-width: 1600px) {
  body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 575px) {
  body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card {
    min-height: 0 !important;
    padding: 14px 44px 14px 14px !important;
  }

  body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Trash/Home exact computed alignment. */
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-title {
  min-height: 38px !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon {
  width: 36px !important;
  height: 34px !important;
  min-width: 36px !important;
  margin-right: 8px !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon svg,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon .nk-file-icon-type,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-icon .nk-file-icon-type svg {
  width: 22px !important;
  height: 22px !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name {
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .nk-file-name-text {
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  padding: 0 24px 0 0 !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-name .title,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-name-text .title {
  display: flow-root !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 0 -40px !important;
  padding: 2px 0 2px 40px !important;
  overflow: hidden !important;
  color: #182236 !important;
  font-size: 0.88rem !important;
  font-weight: 720 !important;
  line-height: 1.22 !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  min-height: 34px !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  font-size: 0.58rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta .ts-status-pill {
  display: flex !important;
  font-size: 0.75rem !important;
  font-weight: 750 !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-actions {
  top: 8px !important;
  right: 8px !important;
  z-index: 50 !important;
}

body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .ts-card-menu-button {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 7px !important;
}

/* Opened transfer/folder views: utility rows should not reserve file-card height. */
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab {
  grid-auto-rows: auto !important;
  align-content: start !important;
  gap: 12px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 14px !important;
}

body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab > .ts-transfer-path,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab > .ts-transfer-path,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab > .ts-trash-readonly-notice,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-files-list.filesListTab > .ts-trash-readonly-notice {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .filesListTab .ts-transfer-folder-node,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .nk-file-item.nk-file.ts-transfer-card-readonly {
  height: var(--ts-opened-transfer-card-height) !important;
  min-height: var(--ts-opened-transfer-card-height) !important;
  max-height: var(--ts-opened-transfer-card-height) !important;
}

/* The redesigned manager uses the top search/upload bar on mobile too. Hide old page-title toolbar controls. */
body.nk-body.npc-apps-files .nk-fmg-body-content .nk-block-head .nk-block-tools.g-1,
body.nk-body.npc-apps-files .nk-fmg-body-content .nk-block-head .search-wrap[data-search="search"] {
  display: none !important;
}

/* Keep the fixed sidebar and the manager body on the same grid line. */
body.nk-body.npc-apps-files {
  --ts-manager-sidebar-width: 248px;
}

@media (min-width: 992px) {
  body.nk-body.npc-apps-files .nk-fmg {
    gap: 0 !important;
    padding-left: var(--ts-manager-sidebar-width) !important;
  }

  body.nk-body.npc-apps-files .nk-fmg-aside {
    flex: 0 0 var(--ts-manager-sidebar-width) !important;
    width: var(--ts-manager-sidebar-width) !important;
    min-width: var(--ts-manager-sidebar-width) !important;
    max-width: var(--ts-manager-sidebar-width) !important;
  }

  body.nk-body.npc-apps-files .nk-fmg-body {
    flex: 1 1 calc(100vw - var(--ts-manager-sidebar-width)) !important;
    width: calc(100vw - var(--ts-manager-sidebar-width)) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  body.nk-body.npc-apps-files .nk-fmg-body-head {
    width: 100% !important;
    margin-left: 0 !important;
    border-left: 0 !important;
    background: #fff !important;
  }
}

@media (max-width: 991px) {
  body.nk-body.npc-apps-files .nk-fmg {
    padding-left: 0 !important;
  }

  body.nk-body.npc-apps-files .nk-fmg-body {
    width: 100% !important;
    flex-basis: 100% !important;
  }
}

/* Card action menu button: keep shape/color stable while hovered, focused, or open. */
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:hover,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:focus,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:active,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button.show,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button[aria-expanded="true"],
body.nk-body.npc-apps-files .ts-card-actions .show > .ts-card-menu-button {
  display: inline-flex !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: #eef4ff !important;
  color: #50647f !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button::before,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:hover::before,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:focus::before,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:active::before,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button.show::before,
body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button[aria-expanded="true"]::before,
body.nk-body.npc-apps-files .ts-card-actions .show > .ts-card-menu-button::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

body.nk-body.npc-apps-files .ts-card-actions .ts-card-menu-button:focus-visible {
  box-shadow: 0 0 0 2px rgba(49, 87, 213, 0.16) !important;
}

body.nk-body.npc-apps-files.dark-mode .ts-card-actions .ts-card-menu-button,
body.nk-body.npc-apps-files.dark-mode .ts-card-actions .ts-card-menu-button:hover,
body.nk-body.npc-apps-files.dark-mode .ts-card-actions .ts-card-menu-button:focus,
body.nk-body.npc-apps-files.dark-mode .ts-card-actions .ts-card-menu-button:active,
body.nk-body.npc-apps-files.dark-mode .ts-card-actions .ts-card-menu-button.show,
body.nk-body.npc-apps-files.dark-mode .ts-card-actions .ts-card-menu-button[aria-expanded="true"],
body.nk-body.npc-apps-files.dark-mode .ts-card-actions .show > .ts-card-menu-button {
  border-color: transparent !important;
  background: #1b2940 !important;
  color: #c8d7f1 !important;
}

/* Manager upload modal refresh. */
#file-upload .modal-dialog {
  max-width: min(720px, calc(100vw - 32px)) !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

#file-upload .modal-content {
  max-height: calc(100vh - 48px);
}

#file-upload .modal-body-md {
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  padding: 28px 34px 24px !important;
}

#file-upload #uploadInit > br {
  display: none !important;
}

#file-upload .ts-manager-file-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

#file-upload .ts-manager-add-file-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #9bb1ee;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-primary) 4%, var(--tsm-panel));
  color: var(--tsm-ink);
  font-weight: 900;
  cursor: pointer;
}

#file-upload .ts-manager-add-file-button em {
  color: var(--tsm-primary);
  font-size: 1.08rem;
}

#file-upload .ts-manager-file-summary-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0 4px;
  color: var(--tsm-ink);
  font-weight: 950;
}

#file-upload .ts-manager-file-summary-bar span {
  color: var(--tsm-muted);
  font-weight: 850;
}

#file-upload .ts-manager-clear-files-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tsm-primary);
  cursor: pointer;
}

#file-upload .ts-manager-clear-files-button:hover {
  background: color-mix(in srgb, var(--tsm-primary) 10%, var(--tsm-panel));
}

#file-upload #queuedFiles {
  max-height: 222px !important;
  margin-top: 4px !important;
  gap: 7px !important;
}

#file-upload #queuedFiles > li,
#file-upload #queuedFiles > li.ts-manager-file-row {
  grid-template-columns: 30px minmax(0, 1fr) auto 30px !important;
  min-height: 44px !important;
  padding: 8px 10px !important;
}

#file-upload .ts-manager-file-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-primary) 10%, var(--tsm-panel));
  color: var(--tsm-primary);
}

body.ts-manager-upload-configuring #file-upload #uploadZoneConfig {
  min-height: 60px !important;
  margin-bottom: 10px !important;
}

body.ts-manager-upload-has-files #file-upload #uploadZoneConfig,
body.ts-manager-upload-active #file-upload #uploadZoneConfig {
  display: none !important;
}

body.ts-manager-upload-configuring #file-upload #messageBox {
  font-size: 0.92rem !important;
}

body.ts-manager-upload-configuring #file-upload .ts-manager-file-actions {
  margin-top: 10px;
}

body.ts-manager-upload-configuring #file-upload .ts-manager-add-file-button {
  min-height: 38px;
}

body.ts-manager-upload-configuring #file-upload #queuedFiles {
  max-height: 88px !important;
}

body.ts-manager-upload-configuring #file-upload #queuedFiles > li,
body.ts-manager-upload-configuring #file-upload #queuedFiles > li.ts-manager-file-row {
  min-height: 40px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

body.ts-manager-upload-configuring #file-upload .nk-upload-form .title {
  margin-bottom: 14px !important;
}

body.ts-manager-upload-status #file-upload #nk-upload-form,
body.ts-manager-upload-status #file-upload #nk-configure-form,
body.ts-manager-upload-status #file-upload #paginationButtons,
body.ts-manager-upload-active #file-upload #nk-upload-form,
body.ts-manager-upload-active #file-upload #nk-configure-form,
body.ts-manager-upload-active #file-upload #paginationButtons {
  display: none !important;
}

body.ts-manager-upload-status #file-upload #nk-status-form,
body.ts-manager-upload-active #file-upload #nk-status-form,
body.ts-manager-upload-active #file-upload #uploadingSpinner {
  display: block !important;
}

body.ts-manager-upload-active #file-upload #uploadStatus,
body.ts-manager-upload-active #file-upload .modal-content > .close {
  display: none !important;
}

#file-upload #nk-configure-form {
  margin-top: 14px;
  border-top: 1px solid var(--tsm-line);
  padding-top: 14px !important;
}

#file-upload #nk-configure-form .tab-content {
  padding: 0 !important;
}

#file-upload #normalConfig {
  display: grid;
  gap: 8px;
}

#file-upload #normalConfig .form-group {
  margin-bottom: 0 !important;
}

#file-upload #emailTransfer > .form-group + .form-group {
  margin-top: 8px !important;
}

#file-upload #normalConfig .form-control,
#file-upload #normalConfig .tagContainer {
  min-height: 40px !important;
  font-size: 0.9rem;
}

#file-upload .tagContainer {
  display: flex;
  align-items: center;
  padding: 0 12px !important;
}

#file-upload .tagContainer #emailField {
  min-height: 40px !important;
  padding: 0 !important;
}

#file-upload .ts-legacy-transfer-settings-trigger,
#file-upload #transferSettings {
  display: none !important;
}

#file-upload .ts-manager-upload-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

#file-upload .ts-manager-upload-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 54px;
  align-items: center;
  align-content: center;
  row-gap: 1px;
  padding: 0 12px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-panel) 84%, var(--tsm-soft));
  color: var(--tsm-ink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

#file-upload .ts-manager-upload-option em {
  position: absolute;
  top: 50%;
  left: 18px;
  grid-row: 1 / 3;
  transform: translateY(-50%);
  color: var(--tsm-primary);
  font-size: 1.05rem;
}

#file-upload .ts-manager-upload-option span {
  grid-column: 1;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}

#file-upload .ts-manager-upload-option small {
  grid-column: 1;
  justify-self: center;
  color: var(--tsm-primary);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
  white-space: nowrap;
}

#file-upload .ts-manager-upload-option.is-active,
#file-upload .ts-manager-upload-option:focus-within {
  border-color: color-mix(in srgb, var(--tsm-primary) 72%, var(--tsm-line));
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.08);
}

#file-upload .ts-manager-upload-option.is-locked {
  border-color: color-mix(in srgb, #d7b64e 58%, var(--tsm-line));
  background: color-mix(in srgb, #fff4c9 26%, var(--tsm-panel));
}

#file-upload .ts-manager-upload-option.is-locked em,
#file-upload .ts-manager-upload-option.is-locked small {
  color: #9a7400;
}

#file-upload .ts-manager-upload-option-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#file-upload .ts-manager-option-panel {
  margin-top: 10px;
}

#file-upload .ts-manager-option-panel[hidden] {
  display: none !important;
}

#file-upload .ts-manager-option-panel .form-control,
#file-upload .ts-manager-option-panel .form-select {
  min-height: 43px !important;
}

#file-upload .ts-manager-payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
}

#file-upload .ts-manager-storage-panel {
  display: grid;
  gap: 10px;
}

#file-upload .ts-manager-notifications-panel {
  display: grid;
  gap: 6px;
}

#file-upload .ts-manager-preview-panel {
  display: grid;
  gap: 6px;
}

#file-upload .ts-manager-download-limit-panel {
  display: grid;
  gap: 10px;
}

#file-upload .ts-manager-storage-upgrade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, #d7b64e 58%, var(--tsm-line));
  border-radius: 8px;
  background: color-mix(in srgb, #fff4c9 32%, var(--tsm-panel));
  color: var(--tsm-ink);
  font-weight: 850;
}

#file-upload .ts-manager-storage-upgrade[hidden] {
  display: none !important;
}

#file-upload .ts-manager-storage-upgrade em,
#file-upload .ts-manager-storage-upgrade a {
  color: #9a7400;
  font-weight: 950;
}

#file-upload .ts-manager-storage-upgrade span {
  min-width: 0;
}

#file-upload .ts-manager-download-limit-upgrade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, #d7b64e 58%, var(--tsm-line));
  border-radius: 8px;
  background: color-mix(in srgb, #fff4c9 32%, var(--tsm-panel));
  color: var(--tsm-ink);
  font-weight: 850;
}

#file-upload .ts-manager-download-limit-upgrade[hidden] {
  display: none !important;
}

#file-upload .ts-manager-download-limit-upgrade em,
#file-upload .ts-manager-download-limit-upgrade a {
  color: #9a7400;
  font-weight: 950;
}

#file-upload .ts-manager-download-limit-upgrade span {
  min-width: 0;
}

#file-upload .ts-manager-download-limit-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--tsm-panel);
}

#file-upload .ts-manager-download-limit-control .form-control {
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#file-upload .ts-manager-download-limit-control button {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--tsm-line);
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  color: var(--tsm-primary);
  cursor: pointer;
}

#file-upload .ts-manager-download-limit-control button:disabled {
  color: color-mix(in srgb, var(--tsm-muted) 80%, var(--tsm-ink));
  background: color-mix(in srgb, var(--tsm-soft) 70%, var(--tsm-panel));
  cursor: not-allowed;
}

#file-upload .ts-manager-notifications-signin {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, #d7b64e 58%, var(--tsm-line));
  border-radius: 8px;
  background: color-mix(in srgb, #fff4c9 32%, var(--tsm-panel));
  color: var(--tsm-ink);
  font-weight: 850;
}

#file-upload .ts-manager-notifications-signin[hidden] {
  display: none !important;
}

#file-upload .ts-manager-notifications-signin em {
  color: #9a7400;
}

#file-upload .ts-manager-preview-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--tsm-primary) 36%, var(--tsm-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel));
  color: var(--tsm-ink);
  font-weight: 850;
}

#file-upload .ts-manager-preview-callout em {
  color: var(--tsm-primary);
}

#file-upload .ts-manager-notification-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  color: var(--tsm-ink);
  font-weight: 850;
}

#file-upload .ts-manager-notification-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#file-upload .ts-manager-notification-switch i {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tsm-line) 76%, var(--tsm-panel));
  transition: background 160ms ease;
}

#file-upload .ts-manager-notification-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(18, 32, 54, 0.18);
  transition: transform 160ms ease;
}

#file-upload .ts-manager-notification-switch input:checked + i {
  background: var(--tsm-primary);
}

#file-upload .ts-manager-notification-switch input:checked + i::after {
  transform: translateX(20px);
}

#file-upload .ts-manager-notification-switch input:disabled + i {
  opacity: 0.58;
}

#file-upload #paginationButtons .nk-modal-action {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--tsm-line);
}

#file-upload #paginationButtons .btn-toolbar {
  justify-content: flex-end !important;
  padding: 0 !important;
}

#file-upload #paginationNextButton {
  display: inline-flex;
  width: auto !important;
  min-width: 104px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  padding: 0 24px !important;
  gap: 0;
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(49, 87, 213, 0.18);
}

#file-upload #paginationNextButton.is-uploading {
  width: 48px !important;
  min-width: 48px !important;
  padding: 0 !important;
}

#file-upload #uploadButtonSpin {
  margin: 0 !important;
}

body.npc-apps-files.dark-mode #file-upload .ts-manager-add-file-button,
body.npc-apps-files.dark-mode #file-upload .ts-manager-upload-option,
body.npc-apps-files.dark-mode #file-upload .ts-manager-file-icon,
body.npc-apps-files.dark-mode #file-upload .ts-manager-clear-files-button:hover {
  background: color-mix(in srgb, var(--tsm-panel) 86%, var(--tsm-soft)) !important;
}

body.npc-apps-files.dark-mode #file-upload .ts-manager-storage-upgrade,
body.npc-apps-files.dark-mode #file-upload .ts-manager-download-limit-upgrade {
  background: color-mix(in srgb, #f8c94a 12%, var(--tsm-panel)) !important;
}

body.npc-apps-files.dark-mode #file-upload #nk-configure-form,
body.npc-apps-files.dark-mode #file-upload #paginationButtons .nk-modal-action {
  border-color: var(--tsm-line) !important;
}

@media (max-width: 767px) {
  #file-upload .modal-dialog {
    max-width: calc(100vw - 24px) !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }

  #file-upload .modal-body-md {
    max-height: calc(100vh - 24px);
    padding: 24px 18px 18px !important;
  }

  #file-upload .ts-manager-file-actions,
  #file-upload .ts-manager-upload-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

body.ts-manager-upload-configuring #file-upload #uploadZoneConfig {
    min-height: 58px !important;
  }

  body.ts-manager-upload-configuring #file-upload #queuedFiles {
    max-height: 86px !important;
  }

  #file-upload .ts-manager-upload-options {
    grid-template-columns: 1fr;
  }

  #file-upload .ts-manager-payment-panel {
    grid-template-columns: 1fr;
  }

  #file-upload .ts-manager-storage-upgrade {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #file-upload .ts-manager-storage-upgrade a {
    grid-column: 2;
  }

  #file-upload #paginationButtons .btn-toolbar {
    justify-content: space-between !important;
  }
}

/* Final manager chrome override. Keep this last so vendor/page rules cannot undo it. */
body.npc-apps-files .nk-header-app-name {
  align-items: center !important;
  gap: 10px !important;
}

body.npc-apps-files .nk-header-app-logo.ts-manager-brand-logo {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  flex: 0 0 42px !important;
  place-items: center !important;
  border: 1px solid color-mix(in srgb, var(--tsm-primary) 16%, var(--tsm-line)) !important;
  border-radius: 10px !important;
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-panel)) !important;
  box-shadow: 0 10px 22px rgba(49, 87, 213, 0.08) !important;
}

body.npc-apps-files .nk-header-app-logo.ts-manager-brand-logo img {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
}

body.npc-apps-files .nk-fmg-aside-wrap {
  padding: 14px 18px 16px !important;
}

body.npc-apps-files .nk-fmg-aside-top {
  padding-top: 8px !important;
}

body.npc-apps-files .nk-fmg-menu {
  display: grid !important;
  gap: 3px !important;
}

body.npc-apps-files .nk-fmg-menu > li {
  margin: 0 !important;
}

body.npc-apps-files .nk-fmg-menu-item {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  color: #465777 !important;
  font-size: 0.9rem !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
}

body.npc-apps-files .nk-fmg-menu-item .icon {
  display: inline-grid !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  place-items: center !important;
  margin: 0 !important;
  color: #6f80a0 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

body.npc-apps-files .nk-fmg-menu-text {
  line-height: 1 !important;
}

body.npc-apps-files:not(.dark-mode) .nk-fmg-menu li.active > .nk-fmg-menu-item,
body.npc-apps-files:not(.dark-mode) .nk-fmg-menu-item:hover {
  background: color-mix(in srgb, var(--tsm-primary) 11%, var(--tsm-panel)) !important;
  color: var(--tsm-primary) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tsm-primary) 10%, transparent) !important;
}

body.npc-apps-files:not(.dark-mode) .nk-fmg-menu li.active > .nk-fmg-menu-item .icon,
body.npc-apps-files:not(.dark-mode) .nk-fmg-menu-item:hover .icon {
  color: var(--tsm-primary) !important;
}

body.npc-apps-files.dark-mode .nk-header-app-logo.ts-manager-brand-logo {
  border-color: rgba(121, 148, 255, 0.22) !important;
  background: rgba(121, 148, 255, 0.12) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu-item {
  color: #c5d0e5 !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu-item .icon {
  color: #9aaccb !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover {
  background: rgba(121, 148, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(121, 148, 255, 0.2) !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item .icon,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover .icon {
  color: #9eb3ff !important;
}

/* Storage card: compact, stable loading state, and no progress track for uncapped accounts. */
body.npc-apps-files .nk-fmg-status {
  min-height: 108px !important;
  padding: 12px 15px !important;
  border-radius: 11px !important;
}

body.npc-apps-files .nk-fmg-status-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 9px !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
}

body.npc-apps-files .nk-fmg-status-title .icon {
  font-size: 1.05rem !important;
}

body.npc-apps-files .nk-fmg-status .progress {
  display: none !important;
  height: 5px !important;
  margin: 0 0 8px !important;
  border-radius: 999px !important;
}

body.npc-apps-files .nk-fmg-status.is-storage-capped .progress {
  display: flex !important;
}

body.npc-apps-files .nk-fmg-status-info {
  display: block !important;
  min-height: 17px !important;
  margin: 0 0 4px !important;
  font-size: 0.8rem !important;
  font-weight: 850 !important;
  line-height: 17px !important;
}

body.npc-apps-files .nk-fmg-status-info:empty::before {
  content: "";
  display: block;
  width: 96px;
  height: 12px;
  margin-top: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5ebf4 0%, #f4f7fb 46%, #e5ebf4 100%);
  background-size: 220% 100%;
  animation: ts-storage-skeleton 1.1s ease-in-out infinite;
}

body.npc-apps-files .nk-fmg-status-action {
  min-height: 17px !important;
  margin-top: 0 !important;
}

body.npc-apps-files .nk-fmg-status-action .link {
  font-size: 0.76rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files .nk-fmg-status.is-storage-uncapped .nk-fmg-status-info {
  margin-top: 2px !important;
}

body.npc-apps-files.dark-mode .nk-fmg-status-info:empty::before {
  background: linear-gradient(90deg, #263650 0%, #344869 46%, #263650 100%);
  background-size: 220% 100%;
}

@keyframes ts-storage-skeleton {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

/* Manager uploader recipient field: keep the email-token input aligned with other controls. */
#file-upload #emailTransfer .tagContainer {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  min-height: 40px !important;
  height: auto !important;
  padding: 3px 12px !important;
  gap: 6px !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 7px !important;
  overflow-y: auto !important;
}

#file-upload #emailTransfer .tagContainer #emailField {
  flex: 1 1 150px !important;
  width: auto !important;
  min-width: 120px !important;
  min-height: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 30px !important;
}

#file-upload #emailTransfer .tagContainer #emailField:focus {
  box-shadow: none !important;
}

#file-upload #emailTransfer .tagContainer.has-tags #emailField {
  flex: 0 1 72px !important;
  min-width: 72px !important;
  width: 72px !important;
}

#file-upload #emailTransfer .tagBox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 0 8px !important;
}

/* Language selector: real choices, compact header footprint, and clear recommendation. */
body.npc-apps-files .nk-header {
  z-index: 9200 !important;
}

body.npc-apps-files .nk-header-tools,
body.npc-apps-files .nk-quick-nav {
  position: relative !important;
  z-index: 9210 !important;
  overflow: visible !important;
}

body.npc-apps-files .language-dropdown {
  display: list-item !important;
  position: relative !important;
  z-index: 9220 !important;
}

body.npc-apps-files .language-dropdown .dropdown-toggle::after {
  display: none !important;
}

body.npc-apps-files .language-dropdown .nk-quick-nav-icon {
  display: inline-flex !important;
  width: 32px !important;
  height: 22px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files .language-dropdown .nk-quick-nav-icon::before,
body.npc-apps-files .language-dropdown .nk-quick-nav-icon::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .language-dropdown .nk-quick-nav-icon:hover,
body.npc-apps-files .language-dropdown .nk-quick-nav-icon:focus {
  background: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files .language-dropdown .quick-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.npc-apps-files .language-dropdown .quick-icon .ts-language-flag-img,
body.npc-apps-files .language-dropdown .quick-icon img.icon {
  display: block !important;
  width: 30px !important;
  height: 20px !important;
  border-radius: 3px !important;
  object-fit: cover !important;
  box-shadow: none !important;
}

body.npc-apps-files .language-dropdown .quick-icon .ts-language-flag-emoji {
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

body.npc-apps-files .language-dropdown .dropdown-menu {
  width: min(330px, calc(100vw - 24px)) !important;
  padding: 8px !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 10px !important;
  background: var(--tsm-panel) !important;
  box-shadow: 0 20px 42px rgba(25, 39, 68, 0.16) !important;
  z-index: 9230 !important;
}

body.npc-apps-files .language-list {
  display: grid !important;
  gap: 4px !important;
  max-height: min(460px, 70vh) !important;
  overflow-y: auto !important;
  padding: 0 !important;
}

body.npc-apps-files .language-list li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

body.npc-apps-files .language-list .language-item {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--tsm-ink) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body.npc-apps-files .language-list .language-item:hover,
body.npc-apps-files .language-list .language-item.is-current {
  background: #f4f7ff !important;
}

body.npc-apps-files .language-list .language-item.is-current {
  box-shadow: inset 0 0 0 1px rgba(53, 91, 219, 0.12) !important;
}

body.npc-apps-files .ts-language-flag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 24px !important;
  border-radius: 4px !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.npc-apps-files .ts-language-flag-img {
  display: block !important;
  width: 36px !important;
  height: 24px !important;
  border-radius: 4px !important;
  object-fit: cover !important;
}

body.npc-apps-files .ts-language-flag-emoji {
  display: inline-flex !important;
  width: 36px !important;
  height: 24px !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
}

body.npc-apps-files .ts-language-copy {
  display: grid !important;
  gap: 1px !important;
  min-width: 0 !important;
}

body.npc-apps-files .language-name {
  color: var(--tsm-ink) !important;
  font-size: 0.88rem !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

body.npc-apps-files .ts-language-meta {
  color: var(--tsm-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

body.npc-apps-files .ts-language-badges {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

body.npc-apps-files .ts-language-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #edf3ff !important;
  color: var(--tsm-primary) !important;
  font-size: 0.66rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.npc-apps-files .ts-language-badge.is-current {
  background: var(--tsm-primary) !important;
  color: #ffffff !important;
}

body.npc-apps-files.dark-mode .language-dropdown .nk-quick-nav-icon,
body.npc-apps-files.dark-mode .language-dropdown .quick-icon,
body.npc-apps-files.dark-mode .ts-language-flag {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .language-dropdown .dropdown-menu {
  border-color: #2b3b52 !important;
  background: #111a29 !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34) !important;
}

body.npc-apps-files.dark-mode .language-list .language-item {
  border: 0 !important;
  background: transparent !important;
  color: #f8fbff !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .language-list .language-item:hover,
body.npc-apps-files.dark-mode .language-list .language-item.is-current {
  background: rgba(255, 255, 255, 0.055) !important;
}

body.npc-apps-files.dark-mode .language-list .language-item.is-current {
  background: rgba(88, 118, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(121, 148, 255, 0.16) !important;
}

body.npc-apps-files.dark-mode .language-name {
  color: #f8fbff !important;
}

body.npc-apps-files.dark-mode .ts-language-meta {
  color: #9aaccb !important;
}

body.npc-apps-files.dark-mode .ts-language-badge {
  background: rgba(121, 148, 255, 0.16) !important;
  color: #9eb3ff !important;
}

body.npc-apps-files.dark-mode .ts-language-badge.is-current {
  background: #5b75ff !important;
  color: #ffffff !important;
}

/* Payment settings: make the empty subscription state feel intentional. */
body.npc-apps-files.ts-page-account .card-inner-lg {
  padding: 28px !important;
}

body.npc-apps-files.ts-page-account .nk-block-head-lg {
  margin-bottom: 26px !important;
}

body.npc-apps-files.ts-page-account .nk-block-title {
  color: var(--tsm-ink) !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files.ts-page-account .nk-block-des p {
  color: var(--tsm-muted) !important;
  font-size: 0.9rem !important;
}

body.npc-apps-files.ts-page-account .sp-plan {
  border: 1px solid var(--tsm-line) !important;
  border-radius: 10px !important;
  background: var(--tsm-panel) !important;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.08) !important;
  overflow: hidden !important;
}

body.npc-apps-files.ts-page-account .sp-plan > .row {
  min-height: 168px !important;
}

body.npc-apps-files.ts-page-account .sp-plan-info {
  padding: 24px 26px 14px !important;
}

body.npc-apps-files.ts-page-account .sp-plan-name .title {
  margin: 0 !important;
}

body.npc-apps-files.ts-page-account .sp-plan-name .title a {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  color: var(--tsm-ink) !important;
  text-decoration: none !important;
}

body.npc-apps-files.ts-page-account #planName {
  font-size: 1.38rem !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

body.npc-apps-files.ts-page-account #planBadge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files.ts-page-account .sp-plan-desc {
  padding: 0 26px 24px !important;
  margin: 0 !important;
  border-top: 0 !important;
}

body.npc-apps-files.ts-page-account .sp-plan-desc ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}

body.npc-apps-files.ts-page-account .sp-plan-desc li {
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
  padding: 0 !important;
}

body.npc-apps-files.ts-page-account .sp-plan-desc p {
  display: grid !important;
  gap: 4px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--tsm-panel) 80%, var(--tsm-soft)) !important;
  color: var(--tsm-ink) !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files.ts-page-account .sp-plan-desc .text-soft {
  display: block !important;
  color: var(--tsm-muted) !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.npc-apps-files.ts-page-account .sp-plan-action {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  height: 100% !important;
  min-height: 168px !important;
  padding: 24px !important;
  border-left: 1px solid var(--tsm-line) !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-soft)), color-mix(in srgb, var(--tsm-panel) 84%, var(--tsm-soft))) !important;
}

body.npc-apps-files.ts-page-account .sp-plan-btn .btn {
  min-width: 136px !important;
  min-height: 42px !important;
  justify-content: center !important;
}

body.npc-apps-files.ts-page-account .sp-plan-note {
  max-width: 260px !important;
  margin: 0 !important;
  color: var(--tsm-muted) !important;
  font-size: 0.78rem !important;
  font-style: normal !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

body.npc-apps-files.ts-page-account .ts-payment-empty-state {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

body.npc-apps-files.ts-page-account .ts-payment-panel {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 14px !important;
  min-height: 164px !important;
  padding: 18px !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 10px !important;
  background: var(--tsm-panel) !important;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.06) !important;
}

body.npc-apps-files.ts-page-account .ts-payment-panel-icon {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  background: #eaf0ff !important;
  color: var(--tsm-primary) !important;
  font-size: 1.15rem !important;
}

body.npc-apps-files.ts-page-account .ts-payment-panel h5 {
  margin: 0 0 6px !important;
  color: var(--tsm-ink) !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files.ts-page-account .ts-payment-panel p {
  margin: 0 0 12px !important;
  color: var(--tsm-muted) !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.npc-apps-files.ts-page-account .ts-payment-feature-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

body.npc-apps-files.ts-page-account .ts-payment-feature-list span,
body.npc-apps-files.ts-page-account .ts-payment-muted-pill {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--tsm-panel) 76%, var(--tsm-soft)) !important;
  color: var(--tsm-ink) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
}

body.npc-apps-files.ts-page-account #updatePlan {
  margin-top: 18px !important;
  border: 1px solid var(--tsm-line) !important;
  border-radius: 10px !important;
  background: var(--tsm-panel) !important;
  overflow: hidden !important;
}

body.npc-apps-files.ts-page-account #updatePlan .data-head,
body.npc-apps-files.ts-page-account #updatePlan .data-item {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.npc-apps-files.dark-mode.ts-page-account .sp-plan,
body.npc-apps-files.dark-mode.ts-page-account .ts-payment-panel,
body.npc-apps-files.dark-mode.ts-page-account #updatePlan {
  background: #151f31 !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu-item {
  color: #c9d5ea !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu-item .icon {
  color: #95a8c5 !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover {
  background: rgba(91, 117, 255, 0.18) !important;
  color: #f8fbff !important;
}

body.npc-apps-files.dark-mode .nk-fmg-menu li.active > .nk-fmg-menu-item .icon,
body.npc-apps-files.dark-mode .nk-fmg-menu-item:hover .icon {
  color: #8fa5ff !important;
}

body.npc-apps-files.dark-mode.ts-page-account .card.card-bordered,
body.npc-apps-files.dark-mode.ts-page-account .card-aside,
body.npc-apps-files.dark-mode.ts-page-account .card-inner {
  background: #151f31 !important;
  border-color: rgba(121, 148, 255, 0.18) !important;
}

body.npc-apps-files.dark-mode.ts-page-account .user-info .lead-text,
body.npc-apps-files.dark-mode.ts-page-account .link-list-menu a,
body.npc-apps-files.dark-mode.ts-page-account .sp-plan-name .title a,
body.npc-apps-files.dark-mode.ts-page-account #planName {
  color: #f8fbff !important;
}

body.npc-apps-files.dark-mode.ts-page-account .user-info .sub-text,
body.npc-apps-files.dark-mode.ts-page-account .link-list-menu a .icon {
  color: #9aaccb !important;
}

body.npc-apps-files.dark-mode.ts-page-account .link-list-menu a.active,
body.npc-apps-files.dark-mode.ts-page-account .link-list-menu a:hover {
  background: rgba(91, 117, 255, 0.14) !important;
  color: #ffffff !important;
}

/* Transfer card stat boxes: keep every edge visible in dark and light mode. */
body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  position: relative !important;
  border: 1px solid #d6e2f1 !important;
  background-clip: padding-box !important;
  box-shadow: inset 0 0 0 1px rgba(143, 164, 195, 0.18) !important;
  overflow: visible !important;
}

body.npc-apps-files.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #3a4e70 !important;
  box-shadow: inset 0 0 0 1px rgba(121, 148, 255, 0.18) !important;
}

body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  top: -1px !important;
  right: -1px !important;
  left: -1px !important;
  height: 1px !important;
  border-radius: 7px 7px 0 0 !important;
  background: #d6e2f1 !important;
  pointer-events: none !important;
}

body.npc-apps-files.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta > li::before {
  background: #50678d !important;
}

body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border: 1px solid #d6e2f1 !important;
  box-shadow: inset 0 0 0 1px rgba(143, 164, 195, 0.18) !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #3a4e70 !important;
  box-shadow: inset 0 0 0 1px rgba(121, 148, 255, 0.2) !important;
}

body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  top: -1px !important;
  right: -1px !important;
  left: -1px !important;
  height: 1px !important;
  border-radius: 7px 7px 0 0 !important;
  background: #d6e2f1 !important;
  pointer-events: none !important;
}

body.nk-body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before {
  background: #50678d !important;
}

body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #d1def0 !important;
  border-top-color: #a9bdd8 !important;
  box-shadow:
    inset 0 1px 0 #a9bdd8,
    inset 0 0 0 1px rgba(143, 164, 195, 0.18) !important;
}

body.npc-apps-files.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #425a7e !important;
  border-top-color: #6680a8 !important;
  box-shadow:
    inset 0 1px 0 #6680a8,
    inset 0 0 0 1px rgba(121, 148, 255, 0.22) !important;
}

body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before {
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  height: 2px !important;
  z-index: 1 !important;
  background: #a9bdd8 !important;
}

body.npc-apps-files.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before {
  background: #6680a8 !important;
}

/* Empty Home/Trash states should stay dark and the list header should not show sort controls. */
body.npc-apps-files.dark-mode .nk-files-list .ts-empty-row,
body.npc-apps-files.dark-mode .ts-empty-row {
  border-color: #2b3b52 !important;
  background: #111a29 !important;
  color: #eef5ff !important;
}

body.npc-apps-files.dark-mode .ts-empty-row > div::before {
  background: #1b283d !important;
  color: #8fa5ff !important;
}

body.npc-apps-files.dark-mode .ts-empty-row h4 {
  color: #eef5ff !important;
  -webkit-text-fill-color: #eef5ff !important;
}

body.npc-apps-files.dark-mode .ts-empty-row p {
  color: #a8b7ce !important;
}

body.npc-apps-files.dark-mode .ts-empty-row .btn-light {
  border-color: #34465f !important;
  background: #1b283a !important;
  color: #f8fbff !important;
}

/* Dark-mode account menu: keep the global dropdown hover color out of the user menu. */
body.npc-apps-files.dark-mode .user-dropdown .dropdown-menu {
  background: #111a29 !important;
  border-color: #2b3b52 !important;
}

body.npc-apps-files.dark-mode .user-dropdown .dropdown-inner:not(.user-card-wrap) {
  background: transparent !important;
}

body.npc-apps-files.dark-mode .user-dropdown .link-list a {
  background: transparent !important;
  background-color: transparent !important;
  color: #eef5ff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .user-dropdown .link-list a:hover,
body.npc-apps-files.dark-mode .user-dropdown .link-list a:focus {
  background: rgba(255, 255, 255, 0.055) !important;
  background-color: rgba(255, 255, 255, 0.055) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .user-dropdown .link-list a.dark-switch.active,
body.npc-apps-files.dark-mode .user-dropdown .link-list a.dark-switch.active:hover,
body.npc-apps-files.dark-mode .user-dropdown .link-list a.dark-switch.active:focus {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .nk-fmg-body-head,
body.ts-trash-page.dark-mode .nk-fmg-body-head {
  background: #0f1725 !important;
  border-color: #26364e !important;
}

body.npc-apps-files.dark-mode .nk-fmg-search,
body.ts-trash-page.dark-mode .nk-fmg-search {
  background: #101a2a !important;
  border-color: #31425e !important;
}

body.npc-apps-files.dark-mode .nk-fmg-search:focus-within,
body.ts-trash-page.dark-mode .nk-fmg-search:focus-within {
  border-color: #5876ff !important;
  box-shadow: 0 0 0 3px rgba(88, 118, 255, 0.16) !important;
}

/* Account and plans pages use nested Dashlite content containers, not the
   transfer-list body. Keep their panels away from the sidebar edge. */
body.nk-body.npc-apps-files.ts-page-account .nk-fmg-body > .nk-content,
body.nk-body.npc-apps-files.ts-page-plans .nk-fmg-body > .nk-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 32px !important;
  background: var(--tsm-soft) !important;
}

body.nk-body.npc-apps-files.ts-page-account .nk-fmg-body .container,
body.nk-body.npc-apps-files.ts-page-account .nk-fmg-body .container-fluid,
body.nk-body.npc-apps-files.ts-page-plans .nk-fmg-body .container,
body.nk-body.npc-apps-files.ts-page-plans .nk-fmg-body .container-fluid {
  width: 100% !important;
  max-width: 1280px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.nk-body.npc-apps-files.ts-page-account .card.card-bordered,
body.nk-body.npc-apps-files.ts-page-plans .nk-block-lg {
  width: 100% !important;
  max-width: 1280px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.nk-body.npc-apps-files.ts-page-plans .pricing {
  height: 100% !important;
}

@media (max-width: 991.98px) {
  body.nk-body.npc-apps-files.ts-page-account .nk-fmg-body > .nk-content,
  body.nk-body.npc-apps-files.ts-page-plans .nk-fmg-body > .nk-content {
    padding: 24px !important;
  }
}

@media (max-width: 575.98px) {
  body.nk-body.npc-apps-files.ts-page-account .nk-fmg-body > .nk-content,
  body.nk-body.npc-apps-files.ts-page-plans .nk-fmg-body > .nk-content {
    padding: 16px !important;
  }
}

/* Keep list header dropdowns above transfer card action buttons. */
body.nk-body.npc-apps-files .nk-fmg-listing .nk-files-head,
body.nk-body.npc-apps-files .nk-files-view-list .nk-files-head {
  position: relative !important;
  z-index: 7000 !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files .nk-fmg-listing .nk-files-head .dropdown,
body.nk-body.npc-apps-files .nk-files-view-list .nk-files-head .dropdown {
  position: relative !important;
  z-index: 7010 !important;
}

body.nk-body.npc-apps-files .nk-fmg-listing .nk-files-head .dropdown-menu,
body.nk-body.npc-apps-files .nk-files-view-list .nk-files-head .dropdown-menu {
  z-index: 7020 !important;
}

body.nk-body.npc-apps-files.modal-open .nk-fmg-listing .nk-files-head,
body.nk-body.npc-apps-files.modal-open .nk-files-view-list .nk-files-head,
body.nk-body.npc-apps-files.modal-open .nk-fmg-listing .nk-files-head .dropdown,
body.nk-body.npc-apps-files.modal-open .nk-files-view-list .nk-files-head .dropdown,
body.nk-body.npc-apps-files.modal-open .nk-fmg-listing .nk-files-head .dropdown-menu,
body.nk-body.npc-apps-files.modal-open .nk-files-view-list .nk-files-head .dropdown-menu {
  z-index: 0 !important;
  pointer-events: none;
}

body.nk-body.npc-apps-files .nk-fmg-listing .filesTab,
body.nk-body.npc-apps-files .nk-fmg-listing .searchTab,
body.nk-body.npc-apps-files .nk-files-view-list .filesListTab {
  position: relative !important;
  z-index: 1 !important;
}

body.npc-apps-files.modal-open .modal-backdrop {
  z-index: 9400 !important;
}

body.npc-apps-files #file-upload.modal {
  z-index: 9500 !important;
}

body.npc-apps-files #file-upload .modal-dialog {
  position: relative !important;
  z-index: 9510 !important;
}

#profile-edit .modal-content {
  background: #ffffff;
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

#profile-edit .modal-body {
  background: #ffffff;
  border-radius: 8px;
}

#profile-edit .form-note {
  min-height: 18px;
  color: #526484;
  font-weight: 700;
}

body.dark-mode #profile-edit .modal-content,
body.dark-mode #profile-edit .modal-body {
  background: #101924;
  border-color: #24344a;
}

body.dark-mode #profile-edit .form-note {
  color: #b6c6e3;
}

@media (max-width: 575.98px) {
  #profile-edit .modal-dialog {
    margin: 12px;
  }

  #profile-edit .modal-body {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 24px 20px;
  }
}

body.nk-body.npc-apps.apps-only.has-apps-sidebar.npc-apps-files.ts-page-account.dark-mode .nk-fmg .nk-fmg-aside .nk-fmg-menu li.active > a.nk-fmg-menu-item,
body.nk-body.npc-apps.apps-only.has-apps-sidebar.npc-apps-files.ts-page-account.dark-mode .nk-fmg .nk-fmg-aside .nk-fmg-menu a.nk-fmg-menu-item:hover {
  background: #203151 !important;
  background-color: #203151 !important;
  background-image: none !important;
  color: #f8fbff !important;
}

body.nk-body.npc-apps.apps-only.has-apps-sidebar.npc-apps-files.ts-page-account.dark-mode .nk-fmg .nk-fmg-aside .nk-fmg-menu li.active > a.nk-fmg-menu-item .icon,
body.nk-body.npc-apps.apps-only.has-apps-sidebar.npc-apps-files.ts-page-account.dark-mode .nk-fmg .nk-fmg-aside .nk-fmg-menu li.active > a.nk-fmg-menu-item .nk-fmg-menu-text {
  color: #f8fbff !important;
}

body.npc-apps-files.dark-mode.ts-page-account .sp-plan-action {
  background: linear-gradient(135deg, rgba(91, 117, 255, 0.16), rgba(20, 31, 49, 0.92)) !important;
}

body.npc-apps-files.dark-mode.ts-page-account .ts-payment-panel-icon {
  background: rgba(91, 117, 255, 0.16) !important;
}

@media (max-width: 1199.98px) {
  body.npc-apps-files.ts-page-account .ts-payment-empty-state {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767.98px) {
  body.npc-apps-files.ts-page-account .card-inner-lg {
    padding: 20px !important;
  }

  body.npc-apps-files.ts-page-account .sp-plan > .row {
    min-height: 0 !important;
  }

  body.npc-apps-files.ts-page-account .sp-plan-action {
    min-height: 0 !important;
    border-top: 1px solid var(--tsm-line) !important;
    border-left: 0 !important;
  }

  body.npc-apps-files.ts-page-account .sp-plan-desc ul {
    grid-template-columns: 1fr !important;
  }

  body.npc-apps-files.ts-page-account .ts-payment-panel {
    min-height: 0 !important;
  }
}

@media (max-width: 575.98px) {
  body.npc-apps-files .language-dropdown .nk-quick-nav-icon {
    width: 32px !important;
    height: 22px !important;
  }

  body.npc-apps-files .language-dropdown .quick-icon {
    width: 30px !important;
    height: 22px !important;
  }

  body.npc-apps-files .language-dropdown .quick-icon .ts-language-flag-img,
  body.npc-apps-files .language-dropdown .quick-icon img.icon {
    width: 30px !important;
    height: 20px !important;
  }
}

body.npc-apps-files.dark-mode.ts-page-account .nk-fmg-menu li.active > a.nk-fmg-menu-item,
body.npc-apps-files.dark-mode.ts-page-account .nk-fmg-menu a.nk-fmg-menu-item:hover {
  background-color: rgba(91, 117, 255, 0.18) !important;
  background-image: none !important;
  color: #f8fbff !important;
}

body.npc-apps-files.dark-mode.ts-page-account .nk-fmg-menu li.active > a.nk-fmg-menu-item .icon,
body.npc-apps-files.dark-mode.ts-page-account .nk-fmg-menu a.nk-fmg-menu-item:hover .icon,
body.npc-apps-files.dark-mode.ts-page-account .nk-fmg-menu li.active > a.nk-fmg-menu-item .nk-fmg-menu-text,
body.npc-apps-files.dark-mode.ts-page-account .nk-fmg-menu a.nk-fmg-menu-item:hover .nk-fmg-menu-text {
  color: #f8fbff !important;
}

body.npc-apps-files.dark-mode.ts-page-account .link-list-menu a.active,
body.npc-apps-files.dark-mode.ts-page-account .link-list-menu a:hover {
  background: rgba(91, 117, 255, 0.14) !important;
  color: #ffffff !important;
}

/* Final compact dropdown pass: keep hover rows inset and menus tight. */
body.npc-apps-files .dropdown-menu {
  padding: 6px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background-clip: padding-box !important;
}

body.npc-apps-files .dropdown-menu-xs {
  min-width: 132px !important;
  max-width: 132px !important;
}

body.npc-apps-files .dropdown-menu .link-list,
body.npc-apps-files .dropdown-menu .link-list-opt,
body.npc-apps-files .dropdown-menu .link-check {
  margin: 0 !important;
  padding: 0 !important;
}

body.npc-apps-files .dropdown-menu .link-list li,
body.npc-apps-files .dropdown-menu .link-list-opt li,
body.npc-apps-files .dropdown-menu .link-check li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

body.npc-apps-files .dropdown-menu .link-list a,
body.npc-apps-files .dropdown-menu .link-list-opt a,
body.npc-apps-files .dropdown-menu .link-check li a {
  display: flex !important;
  min-height: 32px !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 10px !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--tsm-ink) !important;
  font-size: 0.78rem !important;
  font-weight: 760 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  transition: background-color 0.14s ease, color 0.14s ease !important;
}

body.npc-apps-files .dropdown-menu .link-list-opt a.active {
  padding-right: 30px !important;
}

body.npc-apps-files .dropdown-menu .link-list-opt a.active::after,
body.npc-apps-files .dropdown-menu .link-check li.active > a::after,
body.npc-apps-files .dropdown-menu .link-check li a.active::after {
  right: 10px !important;
}

body.npc-apps-files .dropdown-menu .link-list a:hover,
body.npc-apps-files .dropdown-menu .link-list a:focus,
body.npc-apps-files .dropdown-menu .link-list-opt a:hover,
body.npc-apps-files .dropdown-menu .link-list-opt a:focus,
body.npc-apps-files .dropdown-menu .link-list-opt a.active,
body.npc-apps-files .dropdown-menu .link-check li a:hover,
body.npc-apps-files .dropdown-menu .link-check li a:focus,
body.npc-apps-files .dropdown-menu .link-check li a.active {
  background: #eef3ff !important;
  color: #3157d5 !important;
}

body.npc-apps-files .dropdown-menu .link-list .icon,
body.npc-apps-files .dropdown-menu .link-list-opt .icon,
body.npc-apps-files .dropdown-menu .link-check .icon {
  width: 18px !important;
  min-width: 18px !important;
  font-size: 1rem !important;
}

body.npc-apps-files .dropdown-menu .opt-head {
  min-height: 0 !important;
  padding: 4px 10px 5px !important;
  color: var(--tsm-muted) !important;
  font-size: 0.62rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.npc-apps-files .dropdown-menu .divider {
  height: 1px !important;
  margin: 5px 2px !important;
  background: var(--tsm-line) !important;
}

body.npc-apps-files .dropdown-inner:not(.user-card-wrap) {
  padding: 6px !important;
}

body.npc-apps-files.dark-mode .dropdown-menu .link-list a,
body.npc-apps-files.dark-mode .dropdown-menu .link-list-opt a,
body.npc-apps-files.dark-mode .dropdown-menu .link-check li a {
  background: transparent !important;
  color: #eef5ff !important;
}

body.npc-apps-files.dark-mode .dropdown-menu .link-list a:hover,
body.npc-apps-files.dark-mode .dropdown-menu .link-list a:focus,
body.npc-apps-files.dark-mode .dropdown-menu .link-list-opt a:hover,
body.npc-apps-files.dark-mode .dropdown-menu .link-list-opt a:focus,
body.npc-apps-files.dark-mode .dropdown-menu .link-list-opt a.active,
body.npc-apps-files.dark-mode .dropdown-menu .link-check li a:hover,
body.npc-apps-files.dark-mode .dropdown-menu .link-check li a:focus,
body.npc-apps-files.dark-mode .dropdown-menu .link-check li a.active {
  background: rgba(91, 117, 255, 0.16) !important;
  color: #ffffff !important;
}

/* Final transfer list border correction. The panel owns the frame; card metadata should not draw faux top strokes. */
body.nk-body.npc-apps-files .nk-fmg-listing:has(> .toggle-expand-content[data-content="recent-files"]),
body.nk-body.npc-apps-files.ts-trash-page .nk-fmg-listing {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.nk-body.npc-apps-files .nk-fmg-listing > .nk-block-head-xs {
  display: none !important;
}

body.nk-body.npc-apps-files .toggle-expand-content.expanded[data-content="recent-files"],
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) {
  width: 100% !important;
  overflow: hidden !important;
  border: 1px solid var(--ts-manager-border, var(--tsm-line)) !important;
  border-radius: 12px !important;
  background: var(--ts-manager-panel, var(--tsm-panel)) !important;
  box-shadow: 0 22px 56px rgba(28, 39, 62, 0.06) !important;
}

body.nk-body.npc-apps-files.dark-mode .toggle-expand-content.expanded[data-content="recent-files"],
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) {
  border-color: #29374f !important;
  background: #151f31 !important;
}

body.nk-body.npc-apps-files .toggle-expand-content.expanded[data-content="recent-files"] .nk-files,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) {
  border-radius: 12px !important;
}

body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #e1e9f5 !important;
  border-top-color: #e1e9f5 !important;
  box-shadow: none !important;
}

body.nk-body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #2c3d58 !important;
  border-top-color: #2c3d58 !important;
  box-shadow: none !important;
}

body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

/* Keep the real list panel border visible. Older rules moved the header over the top edge. */
body.nk-body.npc-apps-files .toggle-expand-content.expanded[data-content="recent-files"] {
  position: relative !important;
  box-sizing: border-box !important;
}

body.nk-body.npc-apps-files .toggle-expand-content.expanded[data-content="recent-files"] > .nk-files.nk-files-view-group {
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.nk-body.npc-apps-files .toggle-expand-content.expanded[data-content="recent-files"] .nk-files-head,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) > .nk-files-head {
  top: 0 !important;
}

body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #e1e9f5 !important;
  border-top-color: #e1e9f5 !important;
  box-shadow: none !important;
}

body.npc-apps-files.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li,
body.nk-body.npc-apps-files.dark-mode.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  border-color: #2c3d58 !important;
  border-top-color: #2c3d58 !important;
  box-shadow: none !important;
}

body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.npc-apps-files .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .nk-files-view-group .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files .searchTab .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-trash-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-transfer-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-folder-detail-page .nk-files.nk-files-view-list:not(.is-compact) .ts-transfer-card .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

/* Sidebar storage card: bottom-aligned and tighter title/action spacing. */
body.npc-apps-files .nk-fmg-aside-wrap {
  min-height: 100% !important;
}

body.npc-apps-files .nk-fmg-aside-bottom {
  display: flex !important;
  min-height: 0 !important;
  margin-top: auto !important;
  padding: 16px 0 0 !important;
  align-items: flex-end !important;
}

body.npc-apps-files .nk-fmg-status {
  display: flex !important;
  min-height: 108px !important;
  flex-direction: column !important;
  padding: 12px 14px 8px !important;
}

body.npc-apps-files .nk-fmg-status-title {
  gap: 3px !important;
  margin-bottom: 9px !important;
}

body.npc-apps-files .nk-fmg-status-title .icon {
  width: auto !important;
  min-width: 16px !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

body.npc-apps-files .nk-fmg-status-title span {
  margin-left: 0 !important;
}

body.npc-apps-files .nk-fmg-status-info {
  margin-bottom: 2px !important;
}

body.npc-apps-files .nk-fmg-status-action {
  margin-top: auto !important;
  padding-top: 2px !important;
}

@media (max-width: 991.98px) {
  body.npc-apps-files .nk-fmg-aside-wrap {
    min-height: calc(100vh - 65px) !important;
  }

  body.npc-apps-files .nk-fmg-aside-bottom {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Mobile manager menu toggle: avoid the inherited circle + square focus stack. */
body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"] {
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--tsm-ink) !important;
  box-shadow: none !important;
  outline: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}

body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]::before,
body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]::after {
  display: none !important;
  content: none !important;
}

body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"] .icon {
  display: inline-flex !important;
  width: 1em !important;
  height: 1em !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  color: inherit !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
}

body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:hover,
body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:focus,
body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:focus-visible,
body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:active,
body.npc-apps-files .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"].active {
  border-color: rgba(101, 118, 255, 0.2) !important;
  background: rgba(101, 118, 255, 0.1) !important;
  color: var(--tsm-ink) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.npc-apps-files.dark-mode .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"] {
  color: #eef5ff !important;
}

body.npc-apps-files.dark-mode .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:hover,
body.npc-apps-files.dark-mode .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:focus,
body.npc-apps-files.dark-mode .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:focus-visible,
body.npc-apps-files.dark-mode .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"]:active,
body.npc-apps-files.dark-mode .nk-header .toggle.nk-quick-nav-icon[data-target="files-aside"].active {
  border-color: rgba(121, 148, 255, 0.24) !important;
  background: rgba(121, 148, 255, 0.12) !important;
  color: #ffffff !important;
}

/* Manager upload modal: give the queued-files step a little more breathing room. */
body.npc-apps-files:not(.ts-manager-upload-configuring):not(.ts-manager-upload-status):not(.ts-manager-upload-active) #file-upload .modal-content {
  min-height: 430px !important;
}

body.npc-apps-files:not(.ts-manager-upload-configuring):not(.ts-manager-upload-status):not(.ts-manager-upload-active) #file-upload .modal-body-md {
  min-height: 428px !important;
}

body.npc-apps-files:not(.ts-manager-upload-configuring):not(.ts-manager-upload-status):not(.ts-manager-upload-active) #file-upload #queuedFiles {
  max-height: 270px !important;
}

body.npc-apps-files:not(.ts-manager-upload-configuring):not(.ts-manager-upload-status):not(.ts-manager-upload-active) #file-upload #paginationButtons .nk-modal-action {
  margin-top: 34px !important;
}

body.npc-apps-files.ts-manager-upload-configuring #file-upload .ts-manager-file-actions {
  display: none !important;
}

/* Manager upload options: use the same focused customize sheet pattern as the main uploader. */
#file-upload .modal-body-md {
  position: relative;
}

#file-upload .ts-manager-option-panel,
#file-upload .ts-manager-option-sheet[hidden] {
  display: none !important;
}

body.npc-apps-files.ts-manager-option-sheet-open #file-upload .modal-dialog {
  max-width: min(720px, calc(100vw - 32px)) !important;
}

body.npc-apps-files.ts-manager-option-sheet-open #file-upload .modal-content {
  overflow: hidden !important;
}

body.npc-apps-files.ts-manager-option-sheet-open #file-upload .modal-body-md {
  overflow: hidden !important;
}

body.npc-apps-files.ts-manager-option-sheet-open #file-upload .modal-content > .close,
body.npc-apps-files.ts-manager-option-sheet-open #file-upload #paginationButtons {
  visibility: hidden !important;
  pointer-events: none !important;
}

#file-upload .ts-manager-option-sheet {
  position: absolute;
  inset: auto 0 0;
  z-index: 20;
  display: grid;
  width: 100%;
  height: 75%;
  max-height: calc(100% - 24px);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 26px 22px 20px;
  overflow: hidden;
  border-top: 1px solid var(--tsm-line);
  border-radius: 8px 8px 0 0;
  background: var(--tsm-panel);
  color: var(--tsm-ink);
  box-shadow: 0 -22px 46px rgba(15, 23, 42, 0.22);
  animation: ts-manager-option-sheet-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ts-manager-option-sheet-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#file-upload .ts-manager-option-sheet-grabber {
  justify-self: center;
  width: 48px;
  height: 4px;
  margin-top: -16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tsm-muted) 30%, transparent);
}

#file-upload .ts-manager-option-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--tsm-line);
}

#file-upload .ts-manager-option-sheet-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--tsm-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

#file-upload .ts-manager-option-sheet-head h4 {
  margin: 0;
  color: var(--tsm-ink);
  font-size: 1.24rem;
  line-height: 1.15;
  font-weight: 950;
}

#file-upload .ts-manager-option-sheet-head button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-soft) 58%, var(--tsm-panel));
  color: var(--tsm-ink);
  cursor: pointer;
}

#file-upload .ts-manager-option-sheet-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#file-upload .ts-manager-option-sheet-tab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tsm-soft) 42%, var(--tsm-panel));
  color: var(--tsm-ink);
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

#file-upload .ts-manager-option-sheet-tab em {
  color: var(--tsm-primary);
  font-size: 0.96rem;
}

#file-upload .ts-manager-option-sheet-tab span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#file-upload .ts-manager-option-sheet-tab.is-active {
  border-color: color-mix(in srgb, var(--tsm-primary) 78%, var(--tsm-line));
  background: color-mix(in srgb, var(--tsm-primary) 9%, var(--tsm-panel));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--tsm-primary) 12%, transparent);
}

#file-upload .ts-manager-option-sheet-tab.is-locked {
  border-color: color-mix(in srgb, #d7b64e 58%, var(--tsm-line));
  background: color-mix(in srgb, #fff4c9 24%, var(--tsm-panel));
}

#file-upload .ts-manager-option-sheet-tab.is-locked em {
  color: #9a7400;
}

#file-upload .ts-manager-option-sheet-content {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

#file-upload .ts-manager-option-sheet-callout,
#file-upload .ts-manager-option-sheet-upgrade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--tsm-ink);
  font-weight: 900;
}

#file-upload .ts-manager-option-sheet-callout {
  border: 1px solid color-mix(in srgb, var(--tsm-primary) 18%, transparent);
  background: color-mix(in srgb, var(--tsm-primary) 8%, var(--tsm-soft));
}

#file-upload .ts-manager-option-sheet-upgrade {
  border: 1px solid color-mix(in srgb, #d7b64e 58%, var(--tsm-line));
  background: color-mix(in srgb, #fff4c9 30%, var(--tsm-panel));
}

#file-upload .ts-manager-option-sheet-callout em,
#file-upload .ts-manager-option-sheet-upgrade em {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tsm-primary) 10%, var(--tsm-panel));
  color: var(--tsm-primary);
}

#file-upload .ts-manager-option-sheet-upgrade em,
#file-upload .ts-manager-option-sheet-upgrade a {
  color: #9a7400;
  font-weight: 950;
}

#file-upload .ts-manager-option-sheet-field {
  display: grid;
  gap: 7px;
  color: var(--tsm-muted);
  font-weight: 900;
}

#file-upload .ts-manager-option-sheet-field .form-control,
#file-upload .ts-manager-option-sheet-field .form-select {
  min-height: 46px !important;
}

#file-upload .ts-manager-option-sheet-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

#file-upload .ts-manager-option-sheet-switch {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--tsm-muted);
  font-weight: 950;
}

#file-upload .ts-manager-option-sheet-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#file-upload .ts-manager-option-sheet-switch i {
  position: relative;
  display: block;
  width: 48px;
  height: 26px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tsm-muted) 24%, var(--tsm-panel));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tsm-line) 78%, transparent);
}

#file-upload .ts-manager-option-sheet-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  content: "";
  transition: transform 0.16s ease;
}

#file-upload .ts-manager-option-sheet-switch input:checked + i {
  background: var(--tsm-primary);
}

#file-upload .ts-manager-option-sheet-switch input:checked + i::after {
  transform: translateX(22px);
}

#file-upload .ts-manager-option-sheet-switch input:disabled + i {
  opacity: 0.55;
}

#file-upload .ts-manager-option-sheet-download-limit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px 46px;
  border: 1px solid var(--tsm-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--tsm-panel);
}

#file-upload .ts-manager-option-sheet-download-limit .form-control {
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#file-upload .ts-manager-option-sheet-download-limit button {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--tsm-line);
  background: color-mix(in srgb, var(--tsm-primary) 9%, var(--tsm-panel));
  color: var(--tsm-primary);
  cursor: pointer;
}

#file-upload .ts-manager-option-sheet-download-limit button:disabled {
  color: var(--tsm-muted);
  background: color-mix(in srgb, var(--tsm-soft) 68%, var(--tsm-panel));
  cursor: not-allowed;
}

#file-upload .ts-manager-option-sheet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--tsm-line);
}

#file-upload .ts-manager-option-sheet-secondary,
#file-upload .ts-manager-option-sheet-primary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 950;
  cursor: pointer;
}

#file-upload .ts-manager-option-sheet-secondary {
  border: 1px solid var(--tsm-primary);
  background: transparent;
  color: var(--tsm-primary);
}

#file-upload .ts-manager-option-sheet-primary {
  border: 1px solid var(--tsm-primary);
  background: var(--tsm-primary);
  color: #fff;
}

@media (max-width: 767px) {
  body.npc-apps-files.ts-manager-option-sheet-open #file-upload .modal-dialog {
    max-width: calc(100vw - 32px) !important;
    margin-inline: auto !important;
  }

  #file-upload .ts-manager-option-sheet {
    height: 75%;
    max-height: calc(100% - 18px);
    padding: 24px 18px 18px;
  }

  #file-upload .ts-manager-option-sheet-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  #file-upload .ts-manager-option-sheet {
    animation: none;
  }
}

@media (max-width: 767px) {
  body.npc-apps-files:not(.ts-manager-upload-configuring):not(.ts-manager-upload-status):not(.ts-manager-upload-active) #file-upload .modal-content {
    min-height: min(520px, calc(100vh - 24px)) !important;
  }

  body.npc-apps-files:not(.ts-manager-upload-configuring):not(.ts-manager-upload-status):not(.ts-manager-upload-active) #file-upload .modal-body-md {
    min-height: min(518px, calc(100vh - 24px)) !important;
  }
}
.ts-manager-load-more {
  display: flex;
  justify-content: center;
  padding: 18px 12px 24px;
}

.ts-manager-load-more .btn {
  min-width: 190px;
}

/* Dashboard home facelift: a quieter shell and one clean surface per transfer. */
body.nk-body.npc-apps-files.ts-dashboard-home {
  --ts-dashboard-bg: #f5f7fb;
  --ts-dashboard-panel: #ffffff;
  --ts-dashboard-ink: #172033;
  --ts-dashboard-muted: #697890;
  --ts-dashboard-line: #dfe7f1;
  --ts-dashboard-primary: #3157d5;
  background: var(--ts-dashboard-bg) !important;
  color: var(--ts-dashboard-ink) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ts-dashboard-home .nk-header-app-info .sub-text,
body.ts-dashboard-home .nk-fmg-menu-item,
body.ts-dashboard-home .nk-fmg-search .form-control {
  font-weight: 500 !important;
}

body.ts-dashboard-home .nk-header-app-info .lead-text,
body.ts-dashboard-home .nk-fmg-actions .btn-primary,
body.ts-dashboard-home .nk-fmg-status-title,
body.ts-dashboard-home .nk-fmg-status-action a {
  font-weight: 700 !important;
}

body.ts-dashboard-home .nk-fmg-menu {
  gap: 5px !important;
}

body.ts-dashboard-home .nk-fmg-menu-item {
  min-height: 44px !important;
  border-radius: 11px !important;
  font-size: 0.91rem !important;
}

body.ts-dashboard-home:not(.dark-mode) .nk-fmg-menu li.active .nk-fmg-menu-item {
  background: #e9efff !important;
  box-shadow: inset 0 0 0 1px rgba(49, 87, 213, 0.08) !important;
}

body.ts-dashboard-home .nk-fmg-body-head {
  min-height: 76px !important;
  padding-block: 14px !important;
}

body.ts-dashboard-home .nk-fmg-search {
  height: 48px !important;
  min-height: 48px !important;
  border-color: #d8e1ed !important;
  border-radius: 12px !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.ts-dashboard-home .nk-fmg-search:focus-within {
  border-color: rgba(49, 87, 213, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(49, 87, 213, 0.09) !important;
}

body.ts-dashboard-home .nk-fmg-search .form-control {
  height: 46px !important;
  min-height: 46px !important;
  color: var(--ts-dashboard-ink) !important;
  font-size: 0.92rem !important;
  line-height: 46px !important;
}

body.ts-dashboard-home .nk-fmg-search .form-control::placeholder {
  color: #8a99ad !important;
  font-weight: 400 !important;
}

body.ts-dashboard-home .nk-fmg-actions .btn-primary {
  height: 48px !important;
  min-width: 122px !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  box-shadow: 0 10px 22px rgba(49, 87, 213, 0.2) !important;
}

body.ts-dashboard-home .nk-fmg-body-content {
  padding: 32px 34px 52px !important;
}

body.ts-dashboard-home .nk-block-head-sm,
body.ts-dashboard-home .nk-fmg-listing {
  width: min(1540px, 100%) !important;
  max-width: 1540px !important;
}

body.ts-dashboard-home .nk-block-head-sm {
  margin-bottom: 26px !important;
}

body.ts-dashboard-home .ts-dashboard-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--ts-dashboard-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.ts-dashboard-home .page-title {
  color: var(--ts-dashboard-ink) !important;
  font-size: clamp(1.65rem, 2.2vw, 2rem) !important;
  font-weight: 720 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
}

body.ts-dashboard-home .ts-dashboard-intro {
  margin: 8px 0 0;
  color: var(--ts-dashboard-muted);
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.5;
}

body.ts-dashboard-home .nk-fmg-listing,
body.ts-dashboard-home .toggle-expand-content.expanded[data-content="recent-files"],
body.ts-dashboard-home .toggle-expand-content.expanded[data-content="recent-files"] > .nk-files.nk-files-view-group {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ts-dashboard-home .nk-fmg-listing > .nk-block-head-xs {
  display: none !important;
}

body.ts-dashboard-home .nk-files-head {
  display: flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
  padding: 0 2px !important;
  border: 0 !important;
  background: transparent !important;
}

body.ts-dashboard-home .nk-files-head::before {
  display: none !important;
  content: none !important;
}

body.ts-dashboard-home .ts-list-heading {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.ts-dashboard-home .ts-list-title {
  color: var(--ts-dashboard-ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

body.ts-dashboard-home .ts-list-count {
  color: var(--ts-dashboard-muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
}

body.ts-dashboard-home .nk-files-head > .nk-file-item,
body.ts-dashboard-home .nk-files-head .nk-file-info {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body.ts-dashboard-home .nk-files-head #sortViaText {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border-color: #d8e1ed !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #344258 !important;
  font-size: 0.8rem !important;
  font-weight: 650 !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
}

body.ts-dashboard-home .nk-files-head #sortViaText:hover {
  border-color: #b9c8dc !important;
  background: #fff !important;
}

body.ts-dashboard-home .nk-files-head #sortViaText::before {
  color: #7a899d !important;
  font-weight: 500 !important;
}

body.ts-dashboard-home .nk-files-group,
body.ts-dashboard-home .searchDiv {
  padding: 0 !important;
}

body.ts-dashboard-home .nk-files-group > .title,
body.ts-dashboard-home .searchDiv > .title {
  display: none !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .nk-files-view-group .nk-files-list,
body.nk-body.npc-apps-files.ts-dashboard-home .searchTab {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 154px !important;
  padding: 18px !important;
  overflow: visible !important;
  border: 1px solid var(--ts-dashboard-line) !important;
  border-radius: 16px !important;
  background: var(--ts-dashboard-panel) !important;
  box-shadow: 0 1px 2px rgba(20, 31, 50, 0.025), 0 8px 22px rgba(20, 31, 50, 0.035) !important;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card:hover {
  z-index: 2 !important;
  border-color: #bdcbe0 !important;
  box-shadow: 0 2px 5px rgba(20, 31, 50, 0.04), 0 16px 34px rgba(20, 31, 50, 0.08) !important;
  transform: translateY(-2px) !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card:focus-within {
  border-color: rgba(49, 87, 213, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(49, 87, 213, 0.1) !important;
}

body.ts-dashboard-home .ts-card-main {
  display: flex !important;
  min-width: 0 !important;
  min-height: 116px !important;
  flex-direction: column !important;
  gap: 0 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-title {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  min-width: 0 !important;
  min-height: 48px !important;
  align-items: center !important;
  gap: 13px !important;
  padding: 0 40px 0 0 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-icon {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  place-items: center !important;
  border: 1px solid rgba(49, 87, 213, 0.06) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, #f2f5ff, #e9efff) !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-icon .nk-file-icon-type,
body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-icon .nk-file-icon-type svg {
  width: 28px !important;
  height: 28px !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-name .title {
  display: block !important;
  overflow: hidden !important;
  color: var(--ts-dashboard-ink) !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.28 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-name .title:hover {
  color: var(--ts-dashboard-primary) !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-kind {
  margin-top: 4px !important;
  overflow: hidden !important;
  color: var(--ts-dashboard-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px 10px !important;
  margin: auto 0 0 !important;
  padding: 15px 0 0 !important;
  border-top: 1px solid #edf1f6 !important;
  color: inherit !important;
  list-style: none !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta > li {
  position: static !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta > li::before,
body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta > li::after {
  display: none !important;
  content: none !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta > li + li::before {
  position: static !important;
  display: block !important;
  width: 3px !important;
  height: 3px !important;
  flex: 0 0 3px !important;
  margin-right: 3px !important;
  border-radius: 50% !important;
  background: #a8b4c4 !important;
  content: "" !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  overflow: visible !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
  text-overflow: clip !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #8390a3 !important;
  font-weight: 500 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #4e5d73 !important;
  font-weight: 650 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-actions {
  top: 15px !important;
  right: 15px !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-menu-button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #718099 !important;
  transition: color 0.16s ease, background-color 0.16s ease !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-menu-button:hover,
body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-menu-button:focus {
  background: #eef3fb !important;
  color: var(--ts-dashboard-primary) !important;
}

body.ts-dashboard-home .ts-card-quick-actions-empty {
  display: none !important;
}

body.ts-dashboard-home .ts-manager-load-more {
  padding: 22px 0 0 !important;
}

body.ts-dashboard-home .ts-manager-load-more .btn {
  min-height: 42px;
  border-color: #d8e1ed;
  border-radius: 11px;
  background: #fff;
  color: #344258;
  font-weight: 650;
}

body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode {
  --ts-dashboard-bg: #0d1522;
  --ts-dashboard-panel: #141f30;
  --ts-dashboard-ink: #f2f6fc;
  --ts-dashboard-muted: #9baac0;
  --ts-dashboard-line: #293951;
}

body.ts-dashboard-home.dark-mode .nk-files-head,
body.ts-dashboard-home.dark-mode .nk-fmg-listing,
body.ts-dashboard-home.dark-mode .toggle-expand-content.expanded[data-content="recent-files"] {
  background: transparent !important;
}

body.ts-dashboard-home.dark-mode .nk-files-head #sortViaText {
  border-color: #32445f !important;
  background: #141f30 !important;
  color: #dce6f5 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode .ts-card-icon {
  border-color: rgba(125, 149, 255, 0.1) !important;
  background: linear-gradient(145deg, #202e49, #1a2740) !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta {
  border-top-color: #25354d !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label {
  color: #8e9eb6 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value {
  color: #c5d1e2 !important;
}

body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode .ts-card-menu-button:hover,
body.nk-body.npc-apps-files.ts-dashboard-home.dark-mode .ts-card-menu-button:focus {
  background: #20304a !important;
  color: #9eb0ff !important;
}

body.ts-dashboard-home.dark-mode .ts-manager-load-more .btn {
  border-color: #32445f;
  background: #141f30;
  color: #dce6f5;
}

@media (max-width: 1199px) {
  body.ts-dashboard-home .nk-fmg-body-content {
    padding: 28px 24px 44px !important;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .nk-files-view-group .nk-files-list,
  body.nk-body.npc-apps-files.ts-dashboard-home .searchTab {
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.ts-dashboard-home .nk-fmg-body-content {
    padding: 24px 16px 36px !important;
  }

  body.ts-dashboard-home .nk-block-head-sm {
    margin-bottom: 22px !important;
  }

  body.ts-dashboard-home .page-title {
    font-size: 1.62rem !important;
  }

  body.ts-dashboard-home .ts-dashboard-intro {
    max-width: 310px;
    font-size: 0.88rem;
  }

  body.ts-dashboard-home .nk-files-head {
    min-height: 40px !important;
    margin-bottom: 12px !important;
  }

  body.ts-dashboard-home .nk-files-head #sortViaText {
    min-height: 36px !important;
    padding: 7px 10px !important;
  }

  body.ts-dashboard-home .nk-files-head #sortViaText::before {
    display: none !important;
    content: none !important;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .nk-files-view-group .nk-files-list,
  body.nk-body.npc-apps-files.ts-dashboard-home .searchTab {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card {
    min-height: 148px !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body.ts-dashboard-home .ts-card-main {
    min-height: 114px !important;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .ts-card-actions {
    top: 13px !important;
    right: 13px !important;
  }
}

@media (max-width: 420px) {
  body.ts-dashboard-home .ts-list-count {
    display: none;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta {
    gap: 6px 8px !important;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-label,
  body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card .nk-file-desc.ts-card-meta .ts-meta-value {
    font-size: 0.73rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card,
  body.ts-dashboard-home .nk-fmg-search {
    transition: none !important;
  }

  body.nk-body.npc-apps-files.ts-dashboard-home .ts-transfer-card:hover {
    transform: none !important;
  }
}
