.investi-funds-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(203, 107, 253, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(46, 126, 206, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(12, 14, 24, 0.56), rgba(18, 23, 38, 0.44));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.24);
}

html:not([data-mode="dark"]) .investi-funds-shell {
  background:
    radial-gradient(circle at top right, rgba(203, 107, 253, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(46, 126, 206, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 252, 0.96));
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 18px 40px rgba(20, 24, 40, 0.08);
}

.investi-funds-shell::before,
.investi-funds-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.85;
}

.investi-funds-shell::before {
  top: 16px;
  right: 42px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(124, 177, 255, 0.2), transparent 68%);
}

.investi-funds-shell::after {
  bottom: 18px;
  left: 22px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(203, 107, 253, 0.14), transparent 70%);
}

.investi-funds-directory {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 18px;
}

.investi-funds-page-heading {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
}

.investi-funds-page-heading .investi-funds-title {
  margin: 0;
  color: var(--heading-color);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.investi-funds-jumpbar {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.investi-funds-jumpbar .investi-jump-selector {
  margin: 0;
}

.investi-funds-toc {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.investi-funds-toc__card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(123, 197, 255, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(203, 107, 253, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--glass-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.investi-funds-toc__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.08));
  opacity: 0.44;
  pointer-events: none;
}

html:not([data-mode="dark"]) .investi-funds-toc__card {
  background:
    radial-gradient(circle at top right, rgba(123, 197, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(203, 107, 253, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
  border-color: rgba(178, 188, 209, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 34px rgba(20, 24, 40, 0.08);
}

.investi-funds-toc__head,
.investi-funds-toc__nav {
  position: relative;
  z-index: 1;
}

.investi-funds-toc__head {
  margin-bottom: 16px;
}

.investi-funds-toc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.investi-funds-toc__eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: color-mix(in srgb, var(--accent-color) 58%, transparent);
}

.investi-funds-toc__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.15;
}

.investi-funds-toc__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.investi-funds-toc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.investi-funds-toc__link:hover,
.investi-funds-toc__link:focus-visible {
  border-color: color-mix(in srgb, var(--accent-color) 60%, var(--glass-border));
  background: color-mix(in srgb, var(--accent-color) 12%, rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.investi-funds-toc__logo {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 78%, rgba(255, 255, 255, 0.24));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    color-mix(in srgb, var(--card-bg-secondary) 88%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 0 0 auto;
}

.investi-funds-toc__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-mode="dark"] .investi-funds-toc__logo,
[data-mode="dark"] .investi-funds-group__logo {
  background: #fff;
  border-color: color-mix(in srgb, #fff 24%, var(--glass-border));
}

.investi-funds-toc__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.investi-funds-toc__name {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}

.investi-funds-toc__meta {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.investi-funds-empty {
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--glass-bg);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(0, 0, 0, 0.12);
}

.investi-funds-group {
  position: relative;
  scroll-margin-top: 120px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(13, 15, 25, 0.38), rgba(19, 22, 35, 0.24));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.1);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
}

html:not([data-mode="dark"]) .investi-funds-group {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.98));
  border-color: rgba(178, 188, 209, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(20, 24, 40, 0.08);
}

.investi-funds-group__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 18px;
  padding: 16px 18px 0;
  margin-bottom: 10px;
}

.investi-funds-group__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.investi-funds-group__logo {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 78%, rgba(255, 255, 255, 0.28));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    color-mix(in srgb, var(--card-bg-secondary) 88%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 0 0 auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 26px rgba(0, 0, 0, 0.14);
}

.investi-funds-group__logo::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.investi-funds-group__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.investi-funds-group__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.investi-funds-group__intro h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.12;
}

.investi-funds-group__intro p,
.investi-funds-group__eyebrow {
  margin: 0;
  color: var(--text-secondary);
}

.investi-funds-group__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.investi-funds-group__eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: color-mix(in srgb, var(--accent-color) 58%, transparent);
}

.investi-funds-group__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.investi-funds-group__link,
.investi-funds-download {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.investi-funds-group__link::before,
.investi-funds-download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 36%, transparent 64%, rgba(255, 255, 255, 0.08));
  opacity: 0.65;
  pointer-events: none;
}

.investi-funds-group__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 36%, var(--glass-border));
  background: color-mix(in srgb, var(--accent-color) 16%, var(--glass-bg));
  color: var(--text-color);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.investi-funds-group__link:hover {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color) 24%, var(--glass-bg));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.investi-funds-table-wrap {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(13, 15, 25, 0.7), rgba(19, 22, 35, 0.58));
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.12);
}

html:not([data-mode="dark"]) .investi-funds-table-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 249, 253, 1));
  border-color: rgba(178, 188, 209, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 20px rgba(20, 24, 40, 0.06);
}

.investi-funds-table-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.investi-funds-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  min-width: 720px;
}

.investi-funds-table th:nth-child(1),
.investi-funds-table td:nth-child(1) { width: 22%; }
.investi-funds-table th:nth-child(2),
.investi-funds-table td:nth-child(2) { width: 42%; }
.investi-funds-table th:nth-child(3),
.investi-funds-table td:nth-child(3) { width: 20%; }
.investi-funds-table th:nth-child(4),
.investi-funds-table td:nth-child(4) { width: 16%; }

.investi-funds-table th,
.investi-funds-table td {
  font-variant-numeric: tabular-nums;
  padding: 4px 14px;
}

.investi-funds-table th {
  text-align: right;
}

.investi-funds-table thead th {
  background: var(--fs-sticky-surface, #080a12);
  color: var(--text-secondary);
  cursor: default;
  backdrop-filter: none;
  font-size: 10px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html:not([data-mode="dark"]) .investi-funds-table thead th {
  background: var(--fs-sticky-surface, #f5f7fb);
  color: #5c677d;
}

.investi-funds-table td {
  background: transparent;
}

.investi-funds-table td .cell-content {
  min-height: 32px;
  align-items: center;
}

.investi-funds-table .col-name .cell-content {
  justify-content: flex-start;
  margin: 0;
  text-align: left;
}

.investi-funds-table .col-name strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.investi-funds-market-group-label th {
  padding-top: 14px;
  padding-bottom: 6px;
  text-align: left;
  color: var(--accent-color);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investi-funds-market-toggle {
  display: inline-flex;
  margin: 0 0 18px;
}

.investi-funds-table tbody tr:hover td {
  background: var(--glass-hover);
}

html:not([data-mode="dark"]) .investi-funds-table tbody tr:hover td {
  background: rgba(37, 99, 235, 0.04);
}

.investi-funds-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 44%, var(--glass-border));
  background: color-mix(in srgb, var(--accent-color) 18%, var(--glass-bg));
  color: var(--text-color);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(0, 0, 0, 0.08);
}

.investi-funds-download:hover {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color) 28%, var(--glass-bg));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 22px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

html:not([data-mode="dark"]) .investi-funds-group__link,
html:not([data-mode="dark"]) .investi-funds-download,
html:not([data-mode="dark"]) .investi-funds-toc__link {
  border-color: rgba(151, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.92);
  color: #243042;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(20, 24, 40, 0.08);
}

html:not([data-mode="dark"]) .investi-funds-group__link:hover,
html:not([data-mode="dark"]) .investi-funds-download:hover,
html:not([data-mode="dark"]) .investi-funds-toc__link:hover,
html:not([data-mode="dark"]) .investi-funds-toc__link:focus-visible {
  border-color: rgba(59, 130, 246, 0.42);
  background: rgba(239, 246, 255, 0.96);
}

html:not([data-mode="dark"]) .investi-funds-toc__logo,
html:not([data-mode="dark"]) .investi-funds-group__logo {
  background: #fff;
  border-color: rgba(178, 188, 209, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 20px rgba(20, 24, 40, 0.08);
}

[data-mode="dark"] .investi-funds-table-wrap,
[data-mode="dark"] .investi-funds-table thead th {
  --fs-sticky-surface: rgba(12, 18, 30, 1);
}

@media (max-width: 900px) {
  .investi-funds-shell {
    padding: 14px 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
}

@media (max-width: 900px) {
  .investi-funds-group__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .investi-funds-group__meta {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .investi-funds-shell {
    padding: 14px 0;
    overflow-x: clip;
  }

  .investi-funds-jumpbar {
    margin-bottom: 16px;
  }

  .investi-funds-toc {
    margin-bottom: 18px;
  }

  .investi-funds-toc__card {
    padding: 16px;
    border-radius: 18px;
  }

  .investi-funds-toc__nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .investi-funds-shell::before {
    top: 8px;
    right: 10px;
    width: 120px;
    height: 120px;
  }

  .investi-funds-shell::after {
    left: 2px;
    bottom: 6px;
    width: 160px;
    height: 160px;
  }

  .investi-funds-group {
    border-radius: 12px;
  }

  .investi-funds-group__head {
    padding: 14px 16px 0;
  }

  .investi-funds-group__brand {
    align-items: flex-start;
  }

  .investi-funds-group__logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .investi-funds-table-wrap {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .investi-funds-table {
    min-width: 560px;
  }

  .investi-funds-table th,
  .investi-funds-table td {
    padding: 4px 10px;
  }

  .investi-funds-table td .cell-content {
    min-height: 30px;
  }
}
