.chart { max-width: var(--measure-wide); margin: 44px auto; padding: 0 var(--pad-x); }

.netchart { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.netchart__panel { background: var(--bg-alt); padding: 0 0 26px; }
.netchart__head { text-align: center; color: #fff; font-weight: 700; font-size: 17px; padding: 16px; }
/* the fund type sits under the Before/After label, unbold, so the banner keeps
   one bold word and the qualifier reads as a subtitle rather than a parenthesis */
.netchart__kind { display: block; font-weight: 400; font-size: 14px; color: rgba(255,255,255,.82); margin-top: 3px; }
.netchart__panel--before .netchart__head { background: var(--blue); }
.netchart__panel--after  .netchart__head { background: #0B0B0B; }
.netchart__sub { text-align: center; color: var(--ink); font-weight: 500; font-size: 15px; padding: 18px 16px 4px; }
.netchart__svg { width: 100%; height: auto; display: block; }
.netchart__foot { text-align: center; color: var(--ink-soft); font-size: 16px; padding: 8px 16px 0; }
@media (max-width: 680px) { .netchart { grid-template-columns: 1fr; } }

.net-edge { stroke: #7Fb2d6; stroke-width: 1; opacity: .5; transition: opacity .2s var(--ease), stroke .2s var(--ease); }
.netchart__panel--after .net-edge { stroke: #2E7Fc0; }
.net-node { cursor: pointer; }
.net-node circle { fill: var(--navy); transition: r .15s var(--ease), fill .15s var(--ease); }
.netchart__panel--after .net-node circle { fill: #0B0B0B; }
.net-label { fill: var(--ink); font-size: 14px; font-family: var(--font); }

.ring-band { fill: none; stroke-linecap: round; }
.ring-arrow { fill: #ffffff; stroke: #0C5D96; stroke-width: .5; }
.netchart__panel--before .net-node circle { stroke: #fff; stroke-width: 1.6; }

.netchart.in .net-edge { animation: edge-in .8s var(--ease) both; }
@keyframes edge-in { from { opacity: 0; } to { opacity: .5; } }

.net-node:hover circle, .net-node:focus-visible circle { fill: var(--blue); r: 8; }
.net-node.dim { opacity: .28; }
.net-edge.hot { opacity: 1; stroke: var(--blue); stroke-width: 1.6; }
@media (prefers-reduced-motion: reduce) { .netchart.in .net-edge { animation: none; } }

.net-tip {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0;
  background: var(--navy); color: #fff; font-size: 14px; line-height: 1.35;
  padding: 7px 11px; border-radius: 6px; max-width: 220px; text-align: center;
  white-space: normal; transition: opacity .12s var(--ease);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.net-tip.show { opacity: 1; }

.flow { display: grid; grid-template-columns: 104px 1fr 48px 1fr; align-items: stretch; gap: 0 12px; }

.flow__legend { display: flex; flex-direction: column; padding-top: 36px; }
.flow__legend--repeat { display: none; }
.flow__legend-item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.flow__legend-item img { width: 46px; height: 46px; object-fit: contain; }
.flow__legend-item span { color: var(--ink-body); font-size: 14px; line-height: 1.25; }

.flow__panel { display: flex; flex-direction: column; background: var(--bg-alt); border-radius: 12px; overflow: hidden; }
.flow__head { color: #fff; font-weight: 700; font-size: 17px; text-align: center; padding: 18px 16px; }
.flow__head--twin { background: var(--blue); }
.flow__head--native { background: #0B0B0B; }
.flow__body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 18px 26px; }

.flow__owns { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow__owns img { width: 52px; height: 52px; object-fit: contain; }
.flow__owns span { color: var(--ink-body); font-size: 16px; }

.flow__down { width: 26px; height: 26px; flex: 0 0 auto; }
.flow__box { width: 100%; background: #E2E5E8; border-radius: 4px; padding: 13px 14px; text-align: center; color: var(--ink); font-size: 15px; line-height: 1.35; }
.flow__text { margin: 0; text-align: center; color: var(--ink-body); font-size: 15px; line-height: 1.4; }

.flow__between { display: flex; align-items: center; justify-content: center; }
.flow__between svg { width: 40px; height: 34px; }

/* On a phone the two panels stack, one above the other, and the key stays
   beside each of them rather than moving to a row above. It names who takes
   part at each stage, so read across from a stage it is a key; set above the
   panel it reads as a heading for the whole diagram, which it is not. That is
   why the repeat key, hidden while the two panels sit side by side, is shown
   here: once they stack, each one needs its own.

   The column is narrow, so the icons and labels come down with it and the
   labels keep their line break — "Transfer agents" over two lines, not run
   together on one. */
@media (max-width: 860px) {
  /* the column and what sits in it shrink together with the screen, so the key
     is as large as there is room for rather than phone-sized on a tablet */
  .flow { grid-template-columns: clamp(62px, 11vw, 104px) 1fr; gap: 18px 10px; }
  .flow__legend { padding-top: 30px; }
  .flow__legend--repeat { display: flex; }
  .flow__legend-item { gap: 6px; }
  .flow__legend-item img { width: clamp(30px, 5.6vw, 46px); height: clamp(30px, 5.6vw, 46px); }
  .flow__legend-item span { font-size: clamp(12px, 1.7vw, 14px); }
  /* the arrow between the two funds turns to point down the page, and spans
     both columns so it sits under the panel rather than under the key */
  .flow__between { grid-column: 1 / -1; }
  .flow__between svg { width: 40px; height: 34px; transform: rotate(90deg); }
  .flow__head { font-size: 16px; padding: 14px 12px; }
  .flow__body { gap: 12px; padding: 18px 14px 22px; }
  .flow__box { font-size: 14px; padding: 11px 12px; }
  .flow__text { font-size: 14px; }
}

.ftable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ftable caption { text-align: center; color: var(--ink); font-weight: 500; font-size: 20px; margin-bottom: 20px; }
.ftable th, .ftable td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.ftable thead th { color: var(--ink); font-weight: 700; font-size: 14px; vertical-align: bottom; }
.ftable thead th.is-filq { color: var(--blue); }
.ftable tbody th { text-align: left; font-weight: 400; color: var(--ink-body); }
.ftable tbody tr:hover { background: var(--bg-alt); }
.ftable .yes { color: #1E7A46; font-weight: 700; }
.ftable .no  { color: var(--ink-soft); }
.ftable td.is-filq { background: rgba(1,111,174,.05); }
.article__body .ftable__note {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: none;
}
@media (max-width: 640px) {
  .ftable { font-size: 14px; }
  .ftable th, .ftable td { padding: 10px 6px; }
}

/* ---- Partner stack map ---------------------------------------------------- */
.stackmap { margin: 40px 0; display: flex; flex-direction: column; align-items: center; }
.stackmap__radial { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; overflow: visible; }
.stackmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stackmap__ring,
.stackmap__spoke { fill: none; stroke: var(--blue-link); stroke-width: .35; stroke-dasharray: .6 2.2; stroke-linecap: round; }
.stackmap__ring { opacity: .5; }
.stackmap__spoke { opacity: .4; transition: opacity .2s ease, stroke-width .2s ease; }
.stackmap__spoke.is-active { opacity: 1; stroke-width: .6; }

.stackmap__hub {
  position: absolute; left: 50%; top: 50%; margin-left: -18%; margin-top: -18%;
  width: 36%; aspect-ratio: 1 / 1; z-index: 2;
  display: block; object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(10, 46, 69, .22));
}

.stackmap__node {
  position: absolute; margin-left: -11.5%; margin-top: -11.5%;
  width: 23%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 10px; text-align: center;
  box-shadow: 0 6px 18px rgba(10, 46, 69, .10);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.stackmap__node:hover,
.stackmap__node:focus-visible,
.stackmap__node.is-active {
  transform: scale(1.07);
  box-shadow: 0 14px 28px rgba(10, 46, 69, .20);
  border-color: var(--blue-link); outline: none; z-index: 3;
}
.stackmap__logo { width: 96px; height: auto; max-height: 46px; object-fit: contain; display: block; }
.stackmap__wordmark { display: flex; align-items: center; justify-content: center; width: 100%; font: 700 clamp(20px, 3.4vw, 26px)/1 var(--font); color: var(--navy); letter-spacing: 0; text-align: center; }
.stackmap__role { font-size: clamp(11px, 2.3vw, 14px); font-weight: 400; color: var(--ink-body); line-height: 1.25; }

.stackmap__list { display: none; }
.stackmap__caption { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 16px; }

/* Mobile: swap the radial for a legible stacked list */
@media (max-width: 560px) {
  .stackmap__radial { display: none; }
  .article__body .stackmap__list { display: block; width: 100%; list-style: none; margin: 0; padding: 0; }

  /* FILQ head of the stack */
  .stackmap__li--hub { display: block; text-align: center; background: #b63029;
    border-radius: 14px; padding: 14px 18px; margin: 0 0 4px; }
  .stackmap__li--hub .stackmap__li-name { display: block; font-size: 20px; font-weight: 700; color: #fff; }
  .stackmap__li--hub .stackmap__li-role { display: block; text-align: center; margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .82); }

  /* partner rows strung on a connecting spine */
  .stackmap__li:not(.stackmap__li--hub) { position: relative; display: flex; align-items: center; gap: 14px;
    padding: 12px 8px 12px 46px; min-height: 42px; }
  .stackmap__li:not(.stackmap__li--hub)::after { content: ""; position: absolute; left: 20px; top: 0; bottom: 0;
    width: 2px; background: var(--line); z-index: 0; }
  .stackmap__li:not(.stackmap__li--hub):last-child::after { bottom: 50%; }
  .stackmap__li:not(.stackmap__li--hub)::before { content: ""; position: absolute; left: 15px; top: 50%;
    transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%;
    background: var(--blue-link); box-shadow: 0 0 0 3px #fff; z-index: 1; }
  .stackmap__li img { max-width: 120px; max-height: 28px; width: auto; object-fit: contain; }
  .stackmap__wordmark--list { justify-content: flex-start; width: 120px; max-height: 28px; font-size: 20px; color: var(--navy); text-align: left; }
  .stackmap__li-role { margin-left: auto; text-align: right; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
}
