/* AcrossWealth Fund Chart - styles (inherits the site's global font) */
.afc-card {
  --afc-muted: #9a9a9a;
  --afc-pill-bg: #f2f2f2;
  --afc-pill-active: #5a5a5a;
  --afc-badge-bg: #f0f0f0;
  width: 100%;
}
.afc-title {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .3px;
  margin: 0 0 28px;
}
.afc-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.afc-periods { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.afc-label { font-size: 12px; color: var(--afc-muted); margin-right: 4px; }
.afc-btn {
  border: none;
  background: var(--afc-pill-bg);
  color: #6a6a6a;
  font: inherit;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.afc-btn:hover { background: #e7e7e7; }
.afc-btn.is-active { background: var(--afc-pill-active); color: #fff; }
.afc-btn.is-disabled, .afc-btn:disabled { opacity: .4; cursor: not-allowed; }
.afc-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--afc-badge-bg);
  border-radius: 8px;
  padding: 10px 16px;
  white-space: nowrap;
}
.afc-perf-value {
  font-size: 24px;
  font-weight: 600;
  color: rgba(128, 126, 122, 1);
}
.afc-perf-caption {
  font-size: 12px;
  line-height: 1.3;
  max-width: 110px;
  color: rgba(23, 34, 38, 1);
}
.afc-chart { width: 100%; height: 440px; }

@media (max-width: 640px) {
  .afc-toolbar { flex-direction: column; }
  .afc-title { font-size: 26px; }
  .afc-chart { height: 380px; }
}

/* ---- Document list ([across_fund_documents]) ---- */
.afc-docs { width: 100%; }
.afc-docs-list { display: flex; flex-direction: column; gap: 16px; }
.afc-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(128, 126, 122, 0.1);
  border-radius: 4px;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.afc-doc:hover { background: rgba(128, 126, 122, 0.16); }
.afc-doc-info { min-width: 0; }
.afc-doc-name {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(128, 126, 122, 1);
}
.afc-doc-meta {
  display: block;
  margin-top: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(23, 34, 38, 0.7);
}
.afc-doc-icon { flex: 0 0 auto; display: flex; color: rgba(128, 126, 122, 1); }
.afc-doc-icon svg { width: 24px; height: 24px; }
.afc-docs:not(.is-expanded) .afc-doc-hidden { display: none; }
.afc-docs-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px auto 0;
  padding: 8px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: rgba(128, 126, 122, 1);
}
.afc-docs-toggle span { color: rgba(128, 126, 122, 1); }
.afc-docs-empty { font-size: 13px; color: #9a9a9a; }
