/* Financial asset section: topic navigation, synthetic relationship maps, and demo finder. */
.financial-page .financial-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--fund-muted);
  font-size: 0.78rem;
}
.financial-page .financial-breadcrumbs a,
.financial-page .financial-back-link {
  color: #426b55;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.financial-page .financial-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.4rem;
  color: #c4d5ca;
  font-size: 0.75rem;
}
.financial-page .financial-hero-meta span::before {
  margin-right: 0.5rem;
  color: var(--fund-lime);
  content: "•";
}
.financial-page .financial-content-section {
  padding-top: 2.8rem;
}
.financial-page .financial-content-section h2 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.045em;
}
.financial-page .financial-content-section > p {
  max-width: 780px;
  color: var(--fund-muted);
  line-height: 1.75;
}
.financial-page .financial-topic-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}
.financial-page .financial-topic-link:hover,
.financial-page .financial-topic-link:focus-visible {
  transform: translateY(-3px);
  border-color: #9db9a2;
  box-shadow: 0 12px 28px rgba(21, 48, 41, 0.08);
}
.financial-page .financial-topic-link h3 {
  color: var(--fund-ink);
}
.financial-page .financial-topic-link .topic-action {
  display: inline-block;
  margin-top: 0.8rem;
  color: #426b55;
  font-size: 0.73rem;
  font-weight: 750;
}
.financial-page .fund-page-hero > .financial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 1.4rem;
}
.financial-hero-actions .financial-primary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--fund-lime);
  border-radius: 5px;
  background: var(--fund-lime);
  color: #14251e;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}
.financial-hero-actions .financial-primary-action:hover,
.financial-hero-actions .financial-primary-action:focus-visible {
  transform: translateY(-2px);
  background: #e5ffa0;
}
.financial-hero-actions > span {
  color: #cad7ce;
  font-size: 0.73rem;
}
.financial-page .fund-topic-card.financial-topic-link {
  height: 100%;
}
.financial-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  flex-shrink: 0;
}
.financial-more-links a {
  color: #254f3d;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}
.financial-more-links a:hover,
.financial-more-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.financial-atlas-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  min-height: 270px;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--fund-line);
  border-radius: 12px;
  background: #fafbf8;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.financial-atlas-preview:hover,
.financial-atlas-preview:focus-visible {
  transform: translateY(-2px);
  border-color: #9db9a2;
  box-shadow: 0 12px 28px rgba(21, 48, 41, 0.09);
}
.financial-atlas-preview-art {
  position: relative;
  display: grid;
  min-height: 270px;
  overflow: hidden;
  place-items: center;
  background-color: #e8f0ea;
  background-image:
    linear-gradient(rgba(99, 139, 112, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 139, 112, 0.1) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 45%, #f6f7ee 0 15%, transparent 16%),
    radial-gradient(ellipse at 73% 55%, #f6f7ee 0 18%, transparent 19%),
    radial-gradient(ellipse at 23% 60%, #f6f7ee 0 17%, transparent 18%);
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto,
    auto;
}
.atlas-preview-route {
  position: absolute;
  width: 75%;
  height: 2px;
  border-radius: 2px;
  background: #138093;
  opacity: 0.7;
  transform-origin: left center;
}
.atlas-preview-route-one {
  top: 45%;
  left: 12%;
  transform: rotate(12deg);
}
.atlas-preview-route-two {
  top: 68%;
  left: 22%;
  background: #b87924;
  transform: rotate(-31deg);
}
.atlas-preview-marker {
  position: absolute;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #117e91;
  box-shadow: 0 4px 12px rgba(21, 48, 41, 0.24);
  color: #fff;
  font-size: 15px;
}
.atlas-preview-marker-port {
  top: 35%;
  left: 25%;
}
.atlas-preview-marker-mine {
  top: 59%;
  left: 53%;
  background: #a8740a;
}
.atlas-preview-marker-data {
  top: 26%;
  left: 72%;
  background: #6f42c1;
}
.atlas-preview-placeholder {
  position: absolute;
  right: 0.8rem;
  bottom: 0.65rem;
  color: #53665b;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.financial-atlas-preview-copy {
  align-self: center;
  padding: clamp(1.3rem, 3vw, 2.2rem);
}
.financial-atlas-preview-copy h2 {
  margin: 0.5rem 0;
  color: var(--fund-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.045em;
}
.financial-atlas-preview-copy p {
  margin: 0;
  color: var(--fund-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}
.financial-atlas-preview-copy .topic-action {
  display: inline-block;
  margin-top: 1rem;
  color: #426b55;
  font-size: 0.75rem;
  font-weight: 750;
}
.financial-explorer {
  margin-top: 3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--fund-line);
  border-radius: 12px;
  background: #fafbf8;
}
.financial-explorer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.financial-explorer-heading h2 {
  margin: 0.45rem 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.05em;
}
.financial-explorer-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--fund-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.financial-demo-label {
  flex-shrink: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d6e2d7;
  border-radius: 999px;
  color: #426b55;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.financial-explorer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}
.financial-map-panel,
.financial-filter-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fund-line);
  border-radius: 9px;
  background: #fff;
}
.financial-map-topline,
.financial-filter-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e8eee8;
}
.financial-map-topline strong,
.financial-filter-panel header strong {
  font-size: 0.78rem;
}
.financial-map-topline span,
.financial-filter-panel header span {
  color: #71817a;
  font-size: 0.67rem;
}
.financial-network-canvas {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background-color: #edf3ee;
  background-image:
    linear-gradient(rgba(99, 139, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 139, 112, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  isolation: isolate;
}
.financial-network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.financial-network-lines path {
  fill: none;
  stroke: rgba(57, 103, 73, 0.55);
  stroke-dasharray: 6 6;
  stroke-width: 2;
}
.financial-network-lines path[hidden] {
  display: none;
}
.financial-network-node {
  position: absolute;
  z-index: 1;
  display: flex;
  width: clamp(72px, 17%, 112px);
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.5rem;
  border: 1px solid #a9c5ae;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(19, 45, 41, 0.09);
  color: #315d46;
  cursor: pointer;
  text-align: center;
  transform: translate(-50%, -50%);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.financial-network-node:hover,
.financial-network-node:focus-visible,
.financial-network-node[aria-pressed="true"] {
  border-color: #315d46;
  background: #e7f1e8;
  outline: 2px solid rgba(216, 242, 120, 0.85);
  transform: translate(-50%, -50%) scale(1.06);
}
.financial-network-node strong {
  color: #263f34;
  font-size: clamp(0.58rem, 1.3vw, 0.72rem);
  line-height: 1.3;
}
.financial-network-node small {
  color: #6a7a71;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.financial-network-node[hidden] {
  display: none;
}
.financial-map-watermark {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  color: rgba(49, 91, 65, 0.62);
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.financial-map-caption {
  padding: 0.7rem 0.9rem;
  color: #74837b;
  font-size: 0.67rem;
  line-height: 1.5;
}
.financial-filter-controls {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e8eee8;
}
.financial-filter-controls label {
  display: grid;
  gap: 0.3rem;
  color: #53665b;
  font-size: 0.69rem;
  font-weight: 700;
}
.financial-filter-controls input,
.financial-filter-controls select {
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d8e2d9;
  border-radius: 5px;
  background: #fff;
  color: #203a30;
  font: inherit;
  font-size: 0.78rem;
}
.financial-result-summary {
  margin: 0;
  padding: 0.7rem 1rem 0;
  color: #53665b;
  font-size: 0.72rem;
  font-weight: 750;
}
.financial-results {
  display: grid;
  gap: 0.5rem;
  max-height: 255px;
  overflow: auto;
  margin: 0;
  padding: 0.65rem 1rem 1rem;
  list-style: none;
}
.financial-result-card {
  padding: 0.7rem;
  border: 1px solid #e4ebe4;
  border-radius: 6px;
  background: #fbfcfa;
}
.financial-result-card strong {
  display: block;
  color: #263f34;
  font-size: 0.76rem;
}
.financial-result-card span,
.financial-result-card p {
  color: #6a7a71;
  font-size: 0.67rem;
}
.financial-result-card p {
  margin: 0.3rem 0 0;
  line-height: 1.5;
}
.financial-no-results {
  padding: 1rem;
  color: #6a7a71;
  font-size: 0.75rem;
  line-height: 1.5;
}
.financial-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.financial-related-link {
  display: block;
  padding: 1rem;
  border: 1px solid var(--fund-line);
  border-radius: 7px;
  background: #fafbf8;
  color: var(--fund-ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}
.financial-related-link:hover,
.financial-related-link:focus-visible {
  border-color: #9db9a2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.financial-page .fund-page-disclaimer {
  line-height: 1.65;
}
@media (max-width: 900px) {
  .financial-more-links {
    flex-shrink: 1;
  }
  .financial-atlas-preview {
    grid-template-columns: 1fr;
  }
  .financial-atlas-preview-art {
    min-height: 230px;
  }
  .financial-explorer-layout {
    grid-template-columns: 1fr;
  }
  .financial-explorer-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 760px) {
  .financial-page .fund-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
  .financial-network-canvas {
    min-height: 260px;
  }
  .financial-related-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .financial-page *,
  .financial-page *::before,
  .financial-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

html[data-theme="dark"] .financial-page .financial-breadcrumbs a,
html[data-theme="dark"] .financial-page .financial-back-link,
html[data-theme="dark"] .financial-topic-link .topic-action,
html[data-theme="dark"] .financial-atlas-preview-copy .topic-action,
html[data-theme="dark"] .financial-more-links a,
html[data-theme="dark"] .financial-related-link {
  color: #b6dfc4;
}

html[data-theme="dark"] .financial-page .financial-topic-link:hover,
html[data-theme="dark"] .financial-page .financial-topic-link:focus-visible,
html[data-theme="dark"] .financial-atlas-preview:hover,
html[data-theme="dark"] .financial-atlas-preview:focus-visible,
html[data-theme="dark"] .financial-related-link:hover,
html[data-theme="dark"] .financial-related-link:focus-visible {
  border-color: #709b7d;
}

html[data-theme="dark"] .financial-atlas-preview,
html[data-theme="dark"] .financial-explorer,
html[data-theme="dark"] .financial-related-link {
  border-color: var(--fund-line);
  background: #172523;
  color: #e6f1ec;
}

html[data-theme="dark"] .financial-atlas-preview-art {
  background-color: #182b26;
  background-image:
    linear-gradient(rgba(166, 204, 179, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 204, 179, 0.08) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 45%, #263c32 0 15%, transparent 16%),
    radial-gradient(ellipse at 73% 55%, #263c32 0 18%, transparent 19%),
    radial-gradient(ellipse at 23% 60%, #263c32 0 17%, transparent 18%);
}

html[data-theme="dark"] .atlas-preview-placeholder {
  color: #b4c6be;
}

html[data-theme="dark"] .financial-explorer-heading h2,
html[data-theme="dark"] .financial-atlas-preview-copy h2 {
  color: #e9f5f0;
}

html[data-theme="dark"] .financial-explorer-heading p,
html[data-theme="dark"] .financial-atlas-preview-copy p {
  color: var(--fund-muted);
}

html[data-theme="dark"] .financial-demo-label {
  border-color: #405b4d;
  color: #b6dfc4;
}

html[data-theme="dark"] .financial-map-panel,
html[data-theme="dark"] .financial-filter-panel {
  border-color: var(--fund-line);
  background: #101b1a;
  color: #e6f1ec;
}

html[data-theme="dark"] .financial-map-topline,
html[data-theme="dark"] .financial-filter-panel header,
html[data-theme="dark"] .financial-filter-controls {
  border-color: #344943;
}

html[data-theme="dark"] .financial-map-topline span,
html[data-theme="dark"] .financial-filter-panel header span,
html[data-theme="dark"] .financial-map-caption,
html[data-theme="dark"] .financial-filter-controls label,
html[data-theme="dark"] .financial-result-summary,
html[data-theme="dark"] .financial-result-card span,
html[data-theme="dark"] .financial-result-card p,
html[data-theme="dark"] .financial-no-results {
  color: #a8bbb2;
}

html[data-theme="dark"] .financial-network-canvas {
  background-color: #14221f;
  background-image:
    linear-gradient(rgba(166, 204, 179, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 204, 179, 0.07) 1px, transparent 1px);
}

html[data-theme="dark"] .financial-network-lines path {
  stroke: rgba(165, 211, 176, 0.68);
}

html[data-theme="dark"] .financial-network-node {
  border-color: #527b65;
  background: #20342f;
  color: #c9efda;
}

html[data-theme="dark"] .financial-network-node:hover,
html[data-theme="dark"] .financial-network-node:focus-visible,
html[data-theme="dark"] .financial-network-node[aria-pressed="true"] {
  border-color: #c9efda;
  background: #294638;
}

html[data-theme="dark"] .financial-network-node strong,
html[data-theme="dark"] .financial-result-card strong {
  color: #e6f1ec;
}

html[data-theme="dark"] .financial-network-node small,
html[data-theme="dark"] .financial-map-watermark {
  color: #a8bbb2;
}

html[data-theme="dark"] .financial-filter-controls input,
html[data-theme="dark"] .financial-filter-controls select {
  border-color: #40564d;
  background: #172523;
  color: #e6f1ec;
  color-scheme: dark;
}

html[data-theme="dark"] .financial-result-card {
  border-color: #344943;
  background: #172523;
}
