/* File manager shell and shared controls. */
.pe-app,
.pe-app * {
  box-sizing: border-box;
}

.pe-app {
  width: min(1440px, calc(100vw - 40px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 48px 0 96px;
  color: #182233;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}

.pe-app button,
.pe-app input {
  font: inherit;
}

.pe-app button {
  cursor: pointer;
}

.pe-app button:disabled {
  cursor: default;
}

.pe-app button:focus-visible,
.pe-app input:focus-visible,
.pe-app a:focus-visible {
  outline: 3px solid #848de8;
  outline-offset: 2px;
}

.pe-window {
  overflow: hidden;
  border: 1px solid #e6e9f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(25,37,61,.11), 0 2px 10px rgba(25,37,61,.04);
}

.pe-window-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: #192333;
  color: #fff;
}

.pe-window-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .045em;
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.pe-window-brand strong {
  margin-left: 8px;
  color: #aeb6e8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.pe-brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #a0a9e9;
  color: #192333;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  transform: skew(-6deg);
}

.pe-account {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.pe-account-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #354157;
  color: #d7dcff;
  font-weight: 700;
}

.pe-account-name {
  max-width: 215px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #e0e5ef;
}

.pe-logout {
  border: 1px solid #647085;
  border-radius: 8px;
  padding: 8px 13px;
  background: transparent;
  color: #fff;
  font-weight: 650;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}

.pe-logout:hover {
  background: #344158;
  border-color: #aeb6e8;
}

/* Folder tree and content layout. */
.pe-layout {
  display: grid;
  grid-template-columns: clamp(320px, 28vw, 370px) minmax(0,1fr);
  min-height: 680px;
}

.pe-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 31px 16px 24px;
  border-right: 1px solid #e8ebf2;
  background: #f8f9fd;
}

.pe-sidebar-label {
  margin: 0 12px 13px;
  color: #8b94a5;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .15em;
}

.pe-sidebar-folders-label {
  margin-top: 28px;
}

.pe-sidebar-row {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: calc(var(--pe-depth) * 13px);
}

.pe-sidebar-toggle,
.pe-sidebar-toggle-space {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8490ae;
  font-size: 21px;
  line-height: 1;
}

.pe-sidebar-toggle:hover {
  color: #4454aa;
}

.pe-sidebar-toggle:disabled {
  opacity: .55;
}

.pe-sidebar-toggle span {
  transition: transform .15s;
}

.pe-sidebar-toggle.is-expanded span {
  transform: rotate(90deg);
}

.pe-sidebar-home,
.pe-sidebar-folder {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #465267;
  text-align: left;
  font-size: 13px;
  font-weight: 570;
  transition: background .15s, color .15s;
}

.pe-sidebar-home:hover,
.pe-sidebar-folder:hover {
  background: #e9ecf9;
  color: #283464;
}

.pe-sidebar-home.is-active,
.pe-sidebar-folder.is-active {
  background: #e4e7fa;
  color: #3f4da2;
  font-weight: 720;
}

.pe-sidebar-home-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #6471c9;
  font-size: 24px;
  line-height: 1;
}

.pe-sidebar-folder {
  flex: 1;
  gap: 9px;
}

.pe-sidebar-folder.is-ancestor {
  color: #5966ad;
  font-weight: 680;
}

.pe-sidebar-folder svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #a1a9de;
}

.pe-sidebar-folder span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pe-sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: auto 4px 0;
  padding: 15px;
  border: 1px solid #e1e5f4;
  border-radius: 11px;
  background: #fff;
  color: #727d92;
  font-size: 12px;
  line-height: 1.45;
}

.pe-sidebar-note-icon {
  color: #7581cd;
  font-size: 19px;
  line-height: 1;
}

/* Content header, path navigation, and toolbar. */
.pe-main {
  min-width: 0;
  padding: 30px 38px 0;
}

.pe-intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
}

.pe-eyebrow {
  margin-bottom: 5px;
  color: #8993c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.pe-intro h1 {
  margin: 0;
  color: #172232;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.17;
  letter-spacing: -.045em;
  font-weight: 760;
}

.pe-intro p {
  margin: 10px 0 0;
  color: #788396;
  font-size: 14px;
  line-height: 1.5;
}

.pe-intro-decoration {
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef0ff, #dee2fc);
  color: #8d98dc;
  font-size: 30px;
}

.pe-pathbar {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 8px;
  border: 1px solid #e3e7ef;
  border-radius: 11px;
  background: #fff;
}

.pe-icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  border: 0;
  border-radius: 7px;
  background: #f3f5f9;
  color: #43516a;
  font-size: 22px;
  transition: background .15s, color .15s;
}

.pe-icon-button:hover:not(:disabled) {
  background: #e7eafb;
  color: #3d4ba4;
}

.pe-icon-button:disabled {
  opacity: .4;
}

.pe-refresh {
  font-size: 24px;
}

.pe-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}

.pe-breadcrumb {
  scrollbar-width: none;
}

.pe-breadcrumb::-webkit-scrollbar {
  display: none;
}

.pe-breadcrumb button {
  flex: 0 0 auto;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #647187;
  font-size: 13px;
}

.pe-breadcrumb button:hover {
  background: #edf0fc;
  color: #354498;
}

.pe-breadcrumb button[aria-current="page"] {
  color: #202c46;
  font-weight: 730;
}

.pe-breadcrumb-separator {
  color: #b6becd;
  font-size: 16px;
}

.pe-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 24px 0 25px;
}

.pe-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(350px, 100%);
  padding: 0 14px;
  border: 1px solid #e0e5ee;
  border-radius: 9px;
  background: #f9fafd;
  color: #8b95a5;
  transition: border-color .15s, box-shadow .15s;
}

.pe-search:focus-within {
  border-color: #a0a9e9;
  box-shadow: 0 0 0 3px #e8eafd;
}

.pe-search span {
  font-size: 25px;
  line-height: 1;
}

.pe-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: none !important;
  background: transparent;
  color: #202b3d;
  font-size: 13px;
  box-shadow: none !important;
}

.pe-search input::placeholder {
  color: #9da6b4;
}

.pe-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pe-download-notice {
  margin: -8px 0 20px;
  padding: 11px 14px;
  border: 1px solid #dfe4f7;
  border-radius: 9px;
  background: #f4f5ff;
  color: #5260a7;
  font-size: 12px;
  line-height: 1.5;
}

.pe-download-notice[hidden] {
  display: none;
}

.pe-text-button {
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5966ad;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pe-text-button:hover:not(:disabled) {
  background: #f0f1fc;
  color: #36459b;
}

.pe-text-button:disabled {
  color: #adb4c0;
}

.pe-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 0;
  border-radius: 9px;
  background: #9ea6e6;
  color: #131e29;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s;
}

.pe-primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #b0b7f1;
  box-shadow: 0 6px 16px rgba(95,104,183,.19);
}

.pe-primary-button:disabled {
  background: #e8eaf1;
  color: #a7adbb;
  box-shadow: none;
}

.pe-primary-button > span:first-child {
  font-size: 19px;
  line-height: 1;
}

/* Folder and file rows. */
.pe-content {
  min-height: 340px;
}

.pe-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pe-section-title h2 {
  margin: 0;
  color: #263146;
  font-size: 15px;
  font-weight: 760;
}

.pe-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 20px;
  background: #eef0f6;
  color: #748093;
  font-size: 11px;
  font-weight: 700;
}

.pe-file-section {
  margin-bottom: 22px;
}

.pe-file-table {
  overflow: hidden;
  border: 1px solid #e6e9f0;
  border-radius: 11px;
}

.pe-table-head,
.pe-file-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.8fr) minmax(90px,.55fr) minmax(110px,.65fr) minmax(80px,.45fr) minmax(100px,.5fr);
  align-items: center;
  gap: 12px;
}

.pe-table-head {
  min-height: 43px;
  padding: 0 20px 0 53px;
  border-bottom: 1px solid #e8ebf2;
  background: #f8f9fc;
  color: #8a94a4;
  font-size: 11px;
  font-weight: 740;
  letter-spacing: .03em;
}

.pe-table-head span:last-child {
  text-align: right;
}

.pe-file-row {
  min-height: 63px;
  padding: 7px 20px 7px 17px;
  border-bottom: 1px solid #eef0f5;
  background: #fff;
  color: #657184;
  font-size: 12px;
  transition: background .12s;
  cursor: pointer;
}

.pe-file-row:last-child {
  border-bottom: 0;
}

.pe-file-row:hover {
  background: #f9faff;
}

.pe-file-row.is-selected {
  background: #eff1ff;
}

.pe-file-primary {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.pe-file-check {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #7b86d2;
  cursor: pointer;
}

.pe-file-check-space {
  flex: 0 0 17px;
}

.pe-file-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 38px;
  border-radius: 6px;
  background: #e9ebfb;
  color: #6773bd;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.pe-folder-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 38px;
  color: #929cdf;
}

.pe-folder-icon svg {
  width: 32px;
  height: 32px;
}

.pe-file-icon[data-type="pdf"] {
  background: #ffebe9;
  color: #da605b;
}

.pe-file-icon[data-type="zip"],
.pe-file-icon[data-type="rar"] {
  background: #fff1db;
  color: #ba8145;
}

.pe-file-icon[data-type="mp4"],
.pe-file-icon[data-type="mov"] {
  background: #e7f4f0;
  color: #458e78;
}

.pe-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #2b3548;
  text-align: left;
  font-size: 12px;
  font-weight: 650;
}

.pe-file-name:hover {
  color: #4d5db1;
}

.pe-folder-row .pe-file-name {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pe-file-type,
.pe-file-date,
.pe-file-size {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pe-folder-open {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #5967bc;
  font-size: 12px;
  font-weight: 740;
  white-space: nowrap;
}

.pe-folder-open:hover {
  background: #e7eafa;
  color: #344598;
}

.pe-download-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #5967bc !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.pe-download-link:hover {
  background: #e7eafa;
  color: #344598 !important;
}

.pe-download-link span:first-child {
  font-size: 15px;
}

/* Empty state and status line. */
.pe-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 270px;
  padding: 35px;
  text-align: center;
}

.pe-empty[hidden] {
  display: none;
}

.pe-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #f0f2fb;
  color: #9aa4db;
  font-size: 35px;
}

.pe-empty h2 {
  margin: 0 0 5px;
  color: #3f4c63;
  font-size: 17px;
}

.pe-empty p {
  margin: 0;
  color: #8a95a5;
  font-size: 13px;
}

.pe-empty button {
  margin-top: 12px;
}

.pe-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  margin: 0 -38px;
  padding: 12px 38px;
  border-top: 1px solid #edf0f5;
  color: #8993a3;
  font-size: 11px;
}

/* Responsive layout for narrower desktop, tablet, and phone widths. */
@media (max-width: 1150px) {
  .pe-layout {
    grid-template-columns: clamp(320px, 30vw, 350px) minmax(0,1fr);
  }
  .pe-main {
    padding: 26px 25px 0;
  }
  .pe-statusbar {
    margin: 0 -25px;
    padding: 12px 25px;
  }
  .pe-table-head,
  .pe-file-row {
    grid-template-columns: minmax(155px, 1fr) 85px 80px;
    gap: 7px;
  }
  .pe-table-head span:nth-child(2),
  .pe-table-head span:nth-child(3),
  .pe-file-type,
  .pe-file-date {
    display: none;
  }
}

@media (max-width: 820px) {
  .pe-app {
    width: calc(100vw - 24px);
    margin: 24px 0 60px;
  }
  .pe-window-bar {
    padding: 13px 18px;
  }
  .pe-layout {
    display: block;
    min-height: 0;
  }
  .pe-sidebar {
    display: none;
  }
  .pe-main {
    padding: 25px 20px 0;
  }
  .pe-statusbar {
    margin: 0 -20px;
    padding: 12px 20px;
  }
  .pe-table-head,
  .pe-file-row {
    grid-template-columns: minmax(155px, 1fr) 85px 80px;
  }
  .pe-table-head span:nth-child(2),
  .pe-table-head span:nth-child(3),
  .pe-file-type,
  .pe-file-date {
    display: none;
  }
}

@media (max-width: 560px) {
  .pe-window {
    border-radius: 13px;
  }
  .pe-window-bar {
    min-height: 62px;
  }
  .pe-window-brand {
    font-size: 12px;
  }
  .pe-window-brand strong,
  .pe-account-name,
  .pe-account-avatar {
    display: none;
  }
  .pe-logout {
    padding: 7px 9px;
    font-size: 11px;
  }
  .pe-main {
    padding: 22px 15px 0;
  }
  .pe-intro {
    padding-bottom: 22px;
  }
  .pe-intro-decoration {
    display: none;
  }
  .pe-intro h1 {
    font-size: 31px;
  }
  .pe-intro p {
    font-size: 12px;
  }
  .pe-toolbar {
    flex-wrap: wrap;
    margin: 18px 0 21px;
  }
  .pe-search {
    width: 100%;
  }
  .pe-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .pe-table-head,
  .pe-file-row {
    grid-template-columns: minmax(120px,1fr) 70px;
    padding-right: 10px;
  }
  .pe-table-head span:nth-child(4),
  .pe-file-size {
    display: none;
  }
  .pe-file-primary {
    gap: 7px;
  }
  .pe-file-icon,
  .pe-folder-icon {
    width: 29px;
    height: 33px;
    font-size: 8px;
  }
  .pe-file-name {
    font-size: 11px;
  }
  .pe-download-link {
    padding: 6px;
    font-size: 11px;
  }
  .pe-statusbar {
    margin: 0 -15px;
    padding: 12px 15px;
  }
}

/* Elementor's site-wide button/input rules use !important. Keep this local
explorer's controls visually distinct without changing the site theme. */
#partner-explorer button {
  box-shadow: none !important;
  text-transform: none !important;
  line-height: 1.25 !important;
}

#partner-explorer .pe-logout {
  padding: 8px 13px !important;
  border: 1px solid #647085 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #fff !important;
}

#partner-explorer .pe-logout:hover {
  border-color: #aeb6e8 !important;
  background: #344158 !important;
}

#partner-explorer .pe-sidebar-home,
#partner-explorer .pe-sidebar-folder {
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #465267 !important;
  text-align: left !important;
}

#partner-explorer .pe-sidebar-home {
  padding: 10px 12px !important;
}

#partner-explorer .pe-sidebar-folder {
  padding: 9px 8px !important;
}

#partner-explorer .pe-sidebar-toggle {
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #8490ae !important;
}

#partner-explorer .pe-sidebar-toggle:hover {
  color: #4454aa !important;
}

#partner-explorer .pe-sidebar-folder.is-ancestor {
  color: #5966ad !important;
}

#partner-explorer .pe-sidebar-home:hover,
#partner-explorer .pe-sidebar-folder:hover {
  background: #e9ecf9 !important;
  color: #283464 !important;
}

#partner-explorer .pe-sidebar-home.is-active,
#partner-explorer .pe-sidebar-folder.is-active {
  background: #e4e7fa !important;
  color: #3f4da2 !important;
}

#partner-explorer .pe-icon-button {
  width: 37px !important;
  height: 37px !important;
  min-height: 37px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #f3f5f9 !important;
  color: #43516a !important;
}

#partner-explorer .pe-icon-button:hover:not(:disabled) {
  background: #e7eafb !important;
  color: #3d4ba4 !important;
}

#partner-explorer .pe-breadcrumb button {
  padding: 7px 8px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #647187 !important;
}

#partner-explorer .pe-breadcrumb button:hover {
  background: #edf0fc !important;
  color: #354498 !important;
}

#partner-explorer .pe-breadcrumb button[aria-current="page"] {
  color: #202c46 !important;
}

#partner-explorer .pe-text-button {
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #5966ad !important;
}

#partner-explorer .pe-text-button:hover:not(:disabled) {
  background: #f0f1fc !important;
  color: #36459b !important;
}

#partner-explorer .pe-text-button:disabled {
  color: #adb4c0 !important;
}

#partner-explorer .pe-primary-button {
  min-height: 42px !important;
  padding: 10px 17px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #9ea6e6 !important;
  color: #131e29 !important;
}

#partner-explorer .pe-primary-button:hover:not(:disabled) {
  background: #b0b7f1 !important;
}

#partner-explorer .pe-primary-button:disabled {
  background: #e8eaf1 !important;
  color: #a7adbb !important;
}

#partner-explorer .pe-folder-open {
  min-height: 0 !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #5967bc !important;
}

#partner-explorer .pe-folder-open:hover {
  background: #e7eafa !important;
  color: #344598 !important;
}

#partner-explorer .pe-file-name {
  min-height: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #2b3548 !important;
  text-align: left !important;
}

#partner-explorer .pe-file-name:hover {
  color: #4d5db1 !important;
}

#partner-explorer .pe-search {
  font-size: 13px !important;
}

#partner-explorer .pe-search input {
  height: 42px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: normal !important;
}

@media (max-width: 560px) {
  #partner-explorer .pe-logout {
    padding: 7px 9px !important;
  }
}

@media (max-width: 560px) {
  #partner-explorer .pe-file-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    line-height: 1.3 !important;
  }
}

@media (max-width: 560px) {
  #partner-explorer .pe-folder-row .pe-file-name {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

@media (min-width: 1025px) {
  html[lang="de-DE"]:has(#partner-explorer) .elementor-10267 .elementor-element-4846fbe {
    transform: translateX(34px) !important;
  }
}
