/* Manager page v4 (7 Nov 2026): the Claude Design spec, 1:1 on the Theme 2.0 tokens (css/theme2/tokens.css already carries the spec's ramp, glass, gain and loss values for both themes).
   Tokens only: no literal colour here. Loaded after components.css and category.css, for manager pages on the v4 path only. */
.cat--v4 { display: flex; flex-direction: column; gap: var(--gap); font-variant-numeric: tabular-nums; }
.cat--v4 > * { min-width: 0; }
/* panels: the spec glass recipe */
.m4-panel { background: color-mix(in srgb, var(--panel) 50%, transparent); border: 1px solid var(--pbd); border-radius: 12px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 1px 2px color-mix(in srgb, var(--tx) 3%, transparent); padding: 20px; position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.m4-panel:hover, .m4-panel:focus-within { z-index: 30; }
.m4-h { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--tx); }
.m4-ph { display: flex; align-items: center; gap: 6px; }
.m4-ph--act, .m4-ph--sim { justify-content: space-between; gap: 12px; padding-bottom: 6px; flex-wrap: wrap; }
.m4-phl { display: flex; align-items: center; gap: 6px; }
.m4-sm { font-size: 12px; color: var(--td); line-height: 1.4; }
.m4-head { margin: 0; font-size: 15px; font-weight: 500; color: var(--t2); }
.m4-empty { margin: 8px 0; font-size: 13px; line-height: 1.5; color: var(--td); }
.m4-big { font-size: 48px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--tx); font-variant-numeric: tabular-nums; }
/* the "i" tooltip */
.m4-itip { position: relative; display: inline-flex; align-items: center; }
.m4-i { width: 20px; height: 20px; border-radius: 50%; border: 0; background: transparent; color: var(--td); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none; }
.m4-i:hover, .m4-i:focus-visible { color: var(--tx); } .m4-i:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; }
.m4-tip { position: absolute; left: 0; top: calc(100% + 8px); width: 280px; max-width: 80vw; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--panelsolid) 94%, transparent); border: 1px solid var(--pbd); backdrop-filter: blur(24px); box-shadow: var(--shadow); font-size: 12px; line-height: 1.55; font-weight: 400; letter-spacing: 0; text-align: left; white-space: normal; color: var(--t2); z-index: 50; pointer-events: none; display: none; }
.m4-itip:hover .m4-tip, .m4-itip:focus-within .m4-tip, .m4-itip.is-open .m4-tip { display: block; }
/* segmented control (range pills, sim toggle) */
.m4-seg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--seg); border: 1px solid var(--pbd); }
.m4-seg button { padding: 6px 14px; border-radius: 8px; border: 0; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; background: transparent; color: var(--td); }
.m4-seg button[aria-selected="true"] { background: var(--panelsolid); color: var(--tx); }
.m4-seg button:disabled { opacity: 0.4; cursor: default; } .m4-seg button:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; }
.m4-sim .m4-seg { padding: 4px; border-radius: 12px; } .m4-sim .m4-seg button { height: 28px; padding: 0 14px; border-radius: 9px; }
/* header and hero */
.m4-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 14px; }
.m4-topl { display: flex; flex-direction: column; gap: 10px; }
.m4-back { font-size: 13px; color: var(--td); text-decoration: none; } .m4-back:hover { opacity: 0.85; }
.m4-h1 { margin: 0; font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--tx); }
.m4-hero { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.m4-hero-n { font-size: 56px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--gain); font-variant-numeric: tabular-nums; }
.m4-hero-n.t2-neg { color: var(--loss); } .m4-hero-n.t2-flat { color: var(--t2); }
.m4-hero-l { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--t2); }
.m4-watch { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--pbd); background: var(--seg); color: var(--t2); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.m4-watch svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .m4-watch[aria-pressed="true"] svg { fill: currentColor; }
/* performance: no panel, a bleed chart */
.m4-perf { display: flex; flex-direction: column; gap: 14px; padding: 6px 0 10px; position: relative; z-index: 1; } .m4-perf:hover, .m4-perf:focus-within { z-index: 30; }
.m4-perf-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.m4-legend { display: flex; gap: 20px; flex-wrap: wrap; }
.m4-lgb { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; font: inherit; font-size: 13px; color: var(--tx); cursor: pointer; padding: 4px 0; } .m4-lgb[aria-pressed="false"] { color: var(--td); } .m4-lgb[aria-pressed="false"] .m4-sw { opacity: 0.35; }
.m4-lgb:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; }
.m4-sw { display: inline-block; width: 20px; height: 2px; border-radius: 2px; } .m4-sw--mgr { height: 3px; background: var(--ramp); } .m4-sw--peer { background: var(--t2); }
.m4-sw--sec { background: repeating-linear-gradient(90deg, var(--td) 0 3px, transparent 3px 6px); } .m4-sw--bars { height: 10px; background: var(--td); opacity: 0.45; }
.m4-chartw { position: relative; height: 300px; margin: 0 calc(-1 * var(--page-x)); }
.m4-chart { position: absolute; inset: 0; }
.m4-grid { stroke: var(--grid); stroke-width: 1; stroke-dasharray: 1 4; }
.m4-bars rect { fill: var(--t2); opacity: 0.6; }
.m4-l { fill: none; stroke-linecap: round; stroke-linejoin: round; } .m4-l--mgr { stroke-width: 2.8; } .m4-l--peer { stroke: var(--t2); stroke-width: 1.4; } .m4-l--sec { stroke: var(--td); stroke-width: 1.4; stroke-dasharray: 2 4; }
.m4-yl { position: absolute; right: var(--page-x); transform: translateY(-120%); font-size: 12px; color: var(--td); pointer-events: none; }
.m4-card { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--panel) 70%, transparent); border: 1px solid var(--pbd); backdrop-filter: blur(24px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; pointer-events: none; white-space: nowrap; }
.m4-card-r { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; color: var(--tx); } .m4-card-d { font-size: 12px; color: var(--td); }
.m4-chip { align-self: flex-start; padding: 3px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; } .m4-chip.is-pos { background: color-mix(in srgb, var(--gain) 16%, transparent); color: var(--gain); } .m4-chip.is-neg { background: color-mix(in srgb, var(--loss) 16%, transparent); color: var(--loss); }
.m4-xl { display: flex; justify-content: space-between; font-size: 12px; color: var(--td); }
/* key information */
.m4-key { gap: 14px; }
.m4-keygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.m4-tile { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; min-width: 0; }
.m4-tilehead { display: flex; align-items: center; gap: 4px; } .m4-tl { font-size: 16px; font-weight: 700; color: var(--tx); }
.m4-go { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--seg); border: 1px solid var(--pbd); display: flex; align-items: center; justify-content: center; color: var(--tx); flex: none; }
.m4-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.m4-tilebody { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.m4-big-wrap { display: flex; flex-direction: column; gap: 6px; flex: 1 1 110px; min-width: 0; }
.m4-bellw, .m4-barsw { position: relative; flex: 3 1 300px; min-width: 0; padding-top: 30px; }
.m4-bell { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.m4-ticks { position: relative; height: 64px; display: flex; align-items: flex-end; justify-content: space-between; }
.m4-tick { flex: none; width: 4px; border-radius: 2px; background: var(--td); opacity: 0.35; } .m4-tick.is-2 { background: var(--r1); opacity: 0.8; } .m4-tick.is-1 { background: var(--r2); opacity: 0.9; } .m4-tick.is-0 { background: var(--r3); opacity: 1; }
.m4-dot { position: absolute; bottom: calc(100% + 8px); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--r3); }
.m4-ql { display: flex; justify-content: space-between; font-size: 11px; color: var(--td); height: 16px; }
.m4-bars { width: 100%; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.m4-bar { display: flex; flex-direction: column; gap: 6px; }
.m4-bl { display: flex; justify-content: space-between; font-size: 12px; color: var(--t2); } .m4-bl b { font-weight: 700; color: var(--tx); }
.m4-bt { display: flex; height: 24px; border-radius: 8px; background: var(--track); overflow: hidden; } .m4-bf { display: flex; height: 100%; } .m4-b1 { background: var(--r2); } .m4-b2 { flex: 1; background: var(--r3); } .m4-bar--peer .m4-b1 { background: var(--t2); opacity: 0.45; } .m4-bar--peer .m4-b2 { background: var(--td); opacity: 0.3; }
.m4-lg { display: flex; gap: 16px; font-size: 11px; color: var(--td); } .m4-lg i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; } .m4-sw1 { background: var(--r2); } .m4-sw2 { background: var(--r3); }
/* three panels */
.m4-row3, .m4-row5 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
/* v4.5: the five key panels sit in one row on desktop (Luke, 7 Nov), two or one per row on smaller screens */
.m4-row5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-3, 12px); } .m4-row5 > .m4-panel { padding: var(--sp-4, 16px); min-width: 0; } .m4-row5 .m4-tile { gap: 12px; } .m4-row5 .m4-tilebody { flex-direction: column; align-items: stretch; flex-wrap: nowrap; } .m4-row5 .m4-bellw, .m4-row5 .m4-barsw { flex: 0 0 auto; width: 100%; padding-top: 22px; } .m4-row5 .m4-big { font-size: 40px; } .m4-row5 .m4-tl, .m4-row5 .m4-h { font-size: 15px; } .m4-keyh { margin: 0; }
.m4-axis { display: flex; justify-content: space-between; margin-top: auto; font-size: 12px; color: var(--td); }
.m4-arcs { position: relative; } .m4-arcs svg { display: block; width: 100%; height: auto; overflow: visible; }
.m4-ax { stroke: var(--grid); stroke-width: 1; } .m4-arc { fill: none; stroke-linecap: round; }
.m4-arc--p90, .m4-arc--p25 { stroke: var(--t2); stroke-width: 1.2; opacity: 0.7; } .m4-arc--med { stroke: var(--t2); stroke-width: 1.5; stroke-dasharray: 4 4; } .m4-arc--me { stroke-width: 3.2; }
.m4-mk { fill: var(--panelsolid); stroke: var(--t2); stroke-width: 1.4; } .m4-mk--med { fill: var(--t2); } .m4-mk--me { fill: var(--r3); stroke: var(--panelsolid); stroke-width: 2; }
.m4-lbls { position: relative; margin-top: 6px; height: 36px; }
.m4-lab { position: absolute; display: flex; flex-direction: column; gap: 1px; transform: translateX(-50%); text-align: center; white-space: nowrap; font-size: 11px; color: var(--td); }
.m4-lab b { font-size: 12px; font-weight: 500; color: var(--t2); font-variant-numeric: tabular-nums; } .m4-lab.is-me b { color: var(--tx); font-weight: 700; } .m4-lab.is-l { transform: none; text-align: left; } .m4-lab.is-r { transform: translateX(-100%); text-align: right; }
.m4-rk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: 1 1 auto; margin-top: 8px; }
.m4-rkt { font-size: 12px; color: var(--td); }
.m4-rkg { display: grid; grid-template-columns: minmax(0, 44px) minmax(0, 1fr) minmax(0, 44px); align-items: center; gap: 4px; width: 100%; } .m4-rkg svg { display: block; width: 100%; height: auto; overflow: visible; }
.m4-rkl { font-size: 12px; color: var(--td); text-align: right; line-height: 1.3; } .m4-rkr { font-size: 12px; color: var(--td); line-height: 1.3; }
.m4-cell { fill: var(--tx); } .m4-med { fill: none; stroke: var(--tx); stroke-width: 1.5; } .m4-me { fill: var(--tx); }
/* asset class mix (existing gauge markup, spec layout). The chart kit draws its own centre figure; the spec has the figure above the half donut, so the kit's centre text is hidden (v4.1). */
.m4-mix .m4-mixbig { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; } .m4-mix .m4-mixbig .m4-big { font-weight: 400; }
.m4-mix .cat-gauge svg { width: 100%; display: block; margin-top: auto; overflow: visible; } .m4-mix .cat-arc { fill: none; stroke-width: 9; cursor: pointer; transition: opacity .2s; }
.m4-mix .cat-legend { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .m4-mix .cat-legend li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--t2); white-space: nowrap; } .m4-mix .cat-legend b { font-weight: 700; color: var(--tx); }
.m4-mix .t2-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.m4-mix .cat-legend li[data-m4-i] { cursor: pointer; border-radius: 6px; } .m4-mix .cat-legend li[data-m4-i]:hover, .m4-mix .cat-legend li[data-m4-i]:focus-visible { background: var(--ghost); outline: none; } .m4-mix .cat-legend li[aria-pressed="true"] b { text-decoration: underline; }
/* top funds and holdings */
.m4-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.m4-acts { display: flex; gap: 6px; }
.m4-btn { display: flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--grid); background: var(--ghost); color: var(--t2); font-size: 12px; font-weight: 500; white-space: nowrap; text-decoration: none; } .m4-btn--p { color: var(--tx); }
.m4-panel .t2-list-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--grid); text-decoration: none; background: transparent; min-height: 0; }
.m4-panel .t2-list-rank { width: 28px; height: 28px; border-radius: 8px; background: var(--ghost); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; color: var(--t2); flex: none; }
.m4-panel .cat-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .m4-panel .t2-name { font-size: 14px; font-weight: 500; color: var(--tx); } .m4-panel .t2-sub { font-size: 12px; color: var(--td); }
.m4-panel .t2-strong { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m4-panel .cat-hold { gap: 6px; padding: 10px 0; align-items: flex-start; } .m4-panel .cat-hold .t2-list-rank { width: auto; height: auto; background: transparent; border-radius: 0; font-size: 13px; font-weight: 400; color: var(--t2); } .m4-panel .cat-hold .t2-list-rank::after { content: '.'; } .m4-panel .cat-hold .cat-row-main { flex: 1 1 auto; } .m4-panel .cat-hold .t2-name { font-size: 13px; font-weight: 400; color: var(--t2); }
.m4-panel .t2-rampbar { display: block; height: 4px; border-radius: 2px; background: var(--track); margin-top: 7px; } .m4-panel .t2-rampbar > i { display: block; height: 100%; border-radius: 2px; background: var(--ramp); }
/* similar funds and competitors */
.m4-sim { gap: 6px; }
.m4-rows { display: flex; flex-direction: column; }
.m4-r { display: grid; grid-template-columns: minmax(0, 1fr) 110px 90px 90px 110px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--grid); color: var(--t2); font-size: 13px; text-decoration: none; }
.m4-rh { border-top: 0; padding: 6px 0; font-size: 12px; color: var(--td); }
.m4-r .n { text-align: right; font-variant-numeric: tabular-nums; } .m4-r .mg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m4-r .nm { display: flex; align-items: center; gap: 12px; min-width: 0; } .m4-r .nm i { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--ghost); display: flex; align-items: center; justify-content: center; font: 500 12px/1 var(--font); font-style: normal; color: var(--t2); }
.m4-r .nm b { font-size: 14px; font-weight: 500; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m4-r .is-ret { font-size: 14px; font-weight: 700; } .m4-r .is-pos { color: var(--gain); } .m4-r .is-neg { color: var(--loss); }
a.m4-r:hover .nm b { text-decoration: underline; } a.m4-r:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; }
.m4-pane[hidden] { display: none; }
/* export and share (flag, off by default) */
/* the scripts own the chart, the tooltips and the toggle; reduced motion keeps everything still */
/* v4.1: on small screens the window card sits above the chart (a card over the lines hides them) */
.m4-cardhost { display: none; } .m4-cardhost .m4-card { position: static; transform: none; display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .m4-panel * { transition: none !important; animation: none !important; } }
/* smaller screens: the spec has no mobile layout, panels stack and the tiles go to one column */
@media (max-width: 1280px) { .m4-row5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .m4-row5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m4-row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m4-keygrid { gap: 24px; } }
@media (max-width: 760px) {
  .m4-h1 { font-size: 36px; } .m4-hero-n { font-size: 44px; } .m4-hero { gap: 8px; }
  .m4-row3, .m4-row5, .m4-row2, .m4-keygrid { grid-template-columns: minmax(0, 1fr); } .m4-keygrid { gap: 16px; }
  .m4-chartw { margin: 0 -16px; } .m4-yl { right: 16px; } .m4-card { left: 16px; transform: none; } .m4-big { font-size: 40px; }
  .m4-r { grid-template-columns: minmax(0, 1fr) 84px; gap: 8px; } .m4-r > span:nth-child(2), .m4-r > span:nth-child(3), .m4-r > span:nth-child(5) { display: none; } .m4-rh > span:nth-child(2), .m4-rh > span:nth-child(3), .m4-rh > span:nth-child(5) { display: none; }
  .m4-top { align-items: flex-start; }
  .m4-itip { position: static; } .m4-tip { left: 16px; right: 16px; width: auto; max-width: none; }
}

/* v4.5 compare call to action */
.m4-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6, 24px); } .m4-cta .m4-sm { margin: 6px 0 0; max-width: 620px; display: block; } .m4-cta .m4-btn { flex: none; }
@media (max-width: 760px) { .m4-cta { flex-direction: column; align-items: stretch; gap: var(--sp-3, 12px); } .m4-cta .m4-btn { text-align: center; justify-content: center; } }
/* v4.5.1: the call to action is a row (copy left, button right) and the five key panels start their content at the same height */
.t2-panel.m4-panel.m4-cta { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; } .m4-cta .m4-ctat { flex: 1 1 auto; min-width: 0; text-align: left; }
.m4-row5 .m4-tilehead, .m4-row5 > .m4-panel > .m4-ph { min-height: 34px; }
@media (max-width: 760px) { .t2-panel.m4-panel.m4-cta { flex-direction: column; align-items: stretch; } }

/* v4.6 website and export (spec bottom section) */
.m4-bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); align-items: stretch; } .m4-bot--one { grid-template-columns: minmax(0, 1fr); }
.m4-web { display: flex; flex-direction: column; gap: 14px; } .m4-web .m4-sm { color: var(--td); }
.m4-visit { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 13px; background: var(--ink); color: var(--inktx); font-size: 14px; font-weight: 500; text-decoration: none; } .m4-visit:focus-visible, .m4-expt:focus-visible, .m4-exgo:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; }
.m4-exp { display: flex; flex-direction: column; gap: 14px; }
.m4-expg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.m4-expt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--grid); background: transparent; color: var(--tx); font: inherit; text-align: left; cursor: pointer; } .m4-expt[aria-pressed="true"] { background: var(--ghost); border-color: var(--pbd); }
.m4-expl { display: flex; flex-direction: column; gap: 2px; } .m4-expl b { font-size: 14px; font-weight: 700; } .m4-expl span { font-size: 12px; color: var(--td); }
.m4-expt.is-soon { opacity: 0.6; cursor: not-allowed; } .m4-soon { position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--ghost); border: 1px solid var(--grid); font-style: normal; font-size: 11px; font-weight: 500; color: var(--t2); }
.m4-exbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--ghost); border: 1px solid var(--grid); } .m4-exbar[hidden] { display: none; } .m4-extx { flex: 1; min-width: 180px; font-size: 13px; color: var(--t2); }
.m4-exbar input { height: 36px; width: 220px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--pbd); background: var(--panelsolid); color: var(--tx); font: inherit; font-size: 13px; box-sizing: border-box; } .m4-exbar input[hidden], .m4-exbar .m4-exgo[hidden] { display: none; }
.m4-exgo { display: flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 10px; border: none; background: var(--ink); color: var(--inktx); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; }
@media (max-width: 1100px) { .m4-expg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .m4-bot { grid-template-columns: minmax(0, 1fr); } .m4-expg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .m4-exbar, .m4-exp { display: none; } }

/* v4.7: fund size labels stay on one row; risk position is a compact cluster; hero hover card follows the pointer */
.m4-lab span { white-space: nowrap; }
.m4-rkg { grid-template-columns: auto 124px auto; justify-content: center; gap: 6px; width: auto; margin: 0 auto; } .m4-rkg svg { width: 124px; }
.m4-rkl, .m4-rkr { max-width: 46px; }
.m4-hv { position: absolute; top: 8px; z-index: 3; pointer-events: none; min-width: 170px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--panel) 82%, transparent); border: 1px solid var(--pbd); backdrop-filter: blur(24px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--t2); } .m4-hv[hidden] { display: none; }
.m4-hv-d { font-size: 12px; color: var(--td); } .m4-hv-r { display: flex; justify-content: space-between; gap: 16px; } .m4-hv-r b { font-weight: 700; color: var(--tx); font-variant-numeric: tabular-nums; } .m4-hv-g.is-pos b { color: var(--gain); } .m4-hv-g.is-neg b { color: var(--loss); }
.m4-hv-line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--t2); opacity: 0.5; pointer-events: none; z-index: 2; } .m4-hv-line[hidden] { display: none; }
.m4-chart { touch-action: pan-y; }

/* v4.10 key information: one shared structure for the five panels (header, headline, sub-line, visual, footer row) */
.t2-panel.m4-kp { display: grid; grid-template-rows: 34px auto 150px minmax(36px, auto); row-gap: 10px; align-content: start; padding: var(--sp-4, 16px); min-width: 0; }
.m4-kh { position: relative; display: flex; align-items: center; gap: 6px; height: 34px; min-width: 0; } .m4-kh--go { padding-right: 40px; }
.m4-kh .m4-tl, .m4-kh .m4-h { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--tx); }
.m4-kh .m4-go { position: absolute; right: 0; top: 0; }
.m4-kv { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.m4-kp .m4-big { font-size: 40px; font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; }
.m4-kp .m4-kv .m4-sm { min-height: 17px; font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m4-kvis { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; margin: 0; }
.m4-kfoot { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.m4-kp .m4-bellw, .m4-kp .m4-barsw { flex: none; width: 100%; padding-top: 0; }
.m4-kp .m4-ticks { height: 100px; } .m4-kp .m4-bars { gap: 14px; }
.m4-kp .m4-rk { margin: 0; gap: 4px; flex: none; } .m4-kp .m4-rkt { text-align: center; }
.m4-kp .m4-arcs svg { width: 100%; height: auto; } .m4-kp .m4-axis { margin-top: 0; }
.m4-mix .cat-gauge svg { margin-top: 0; } .m4-mix .cat-legend { justify-content: flex-start; gap: 6px 14px; }
.m4-kp .m4-lbls { margin-top: 0; } .m4-kp .m4-ql { margin-top: 0; }

.m4-mix .m4-mixbig.m4-kv { margin-top: 0; }
/* v4.11 print: A4 portrait, each section one unbreakable block, no site chrome or interactive controls. */
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  html, body, .m4-panel, .m4-panel * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #t2AppBar, header.t2-nav, #t2Ask, #t2Consent, #t2Catch, #t2Toast, .t2-scrim, .t2-menu, .t2-drawer, #fb-staging-pill, .m4-bot, .m4-watch, #catRange, .m4-acts, .m4-go, .m4-itip, .m4-hv, .m4-hv-line, .m4-exp, .m4-visit, .m4-seg { display: none !important; }
  .m4-top, .m4-perf, .m4-keyh, .m4-row5, .m4-row2, .m4-sim, .m4-bot, .m4-panel { break-inside: avoid-page; page-break-inside: avoid; }
  .m4-top, .m4-keyh, .m4-ph, .m4-kh, .m4-h { break-after: avoid; page-break-after: avoid; }
  .m4-perf { break-before: avoid; }
  main, .t2-page { max-width: none !important; width: auto !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
  .m4-chartw { margin: 0 !important; } .m4-yl { right: 0; }
  .m4-row5 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .m4-row5 > .m4-kp { grid-column: span 2; } .m4-row5 > .m4-kp:nth-child(n+4) { grid-column: span 3; } .m4-row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m4-bot { grid-template-columns: minmax(0, 1fr); }
  .m4-rkg { grid-template-columns: auto 92px auto; gap: 4px; } .m4-rkg svg { width: 92px; } .m4-rkl, .m4-rkr { max-width: 46px; font-size: 10px; overflow-wrap: normal; word-break: keep-all; }
  .m4-bot--one, .m4-web { grid-template-columns: minmax(0, 1fr); }
  .m4-sim .m4-pane[hidden] { display: none; }
  /* the site footer prints only its existing risk and source line (past performance, FE fundinfo), at the end of the last section */
  footer.t2-foot { display: block !important; margin: 12px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; min-height: 0 !important; break-inside: avoid-page; }
  footer.t2-foot > :not(.t2-foot-legal) { display: none !important; }
  footer.t2-foot > .t2-foot-legal { display: block !important; margin: 0 !important; font-size: 10px; line-height: 1.5; color: var(--td); }
}

/* v4.13 export tiles: the MCP tile is a link, pills share one style */
a.m4-expt { text-decoration: none; color: var(--tx); } .m4-soon { white-space: nowrap; }

/* v4.16 (9 Nov 2026): Highest 1Y return heading keeps ", <Manager> funds" for screen readers and search engines; source and past performance line under the list; server rendered text sections */
.m4-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m4-fnote { margin: var(--sp-3, 12px) 0 0; line-height: 1.5; }
.m4-seo { display: flex; flex-direction: column; gap: var(--sp-4, 16px); margin-top: var(--sp-6, 32px); }
@media print { .m4-seo { display: none; } .m4-fnote { display: block !important; font-size: 10px; } }

/* Troy top holdings by fund (11 Nov 2026): ten rows per fund inside the existing cat-troy-d details. Tokens only. */
.m4-thd-h { margin: 0 0 var(--sp-2, 8px); }
.m4-thd-t { margin: 0 0 var(--sp-2, 8px); }
.m4-thd-r { display: grid; grid-template-columns: 28px minmax(0, 1fr) 64px minmax(0, 150px) minmax(0, 170px); gap: var(--sp-3, 12px); align-items: baseline; padding: var(--sp-2, 8px) 0; border-top: 1px solid var(--grid); font-variant-numeric: tabular-nums; }
.m4-thd-r--h { border-top: 0; padding-top: 0; font-size: 12px; color: var(--td); }
.m4-thd-n { min-width: 0; overflow-wrap: anywhere; }
.m4-thd-w { text-align: right; }
.m4-thd-c, .m4-thd-s { min-width: 0; overflow-wrap: anywhere; }
.m4-thd-m { margin: var(--sp-1, 4px) 0 0; line-height: 1.5; }
.m4-thd-risk { margin-bottom: var(--sp-3, 12px); }
@media (max-width: 640px) {
  .m4-thd-r { grid-template-columns: 24px minmax(0, 1fr) auto; row-gap: 2px; }
  .m4-thd-r--h { display: none; }
  .m4-thd-c { grid-column: 2 / 4; }
  .m4-thd-s { grid-column: 2 / 4; }
}

/* Risk position at phone width (11 Nov 2026): the side labels were 46px wide and broke "volatility" mid word. The card is full width there, so give them room. */
@media (max-width: 640px) { .m4-kp .m4-rkl, .m4-kp .m4-rkr { max-width: 80px; font-size: 11px; } }

/* Returns by fund (11 Nov 2026, pack 4): small table for managers with no chart. Tokens only; fund names left, figures right, tabular. */
.m4-rt { margin-top: var(--sp-4, 16px); }
.m4-rt-w { overflow-x: auto; }
.m4-rt-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.m4-rt-t th, .m4-rt-t td { padding: var(--sp-3, 12px) var(--sp-2, 8px); border-top: 1px solid var(--grid); text-align: left; vertical-align: baseline; font-size: 14px; }
.m4-rt-t thead th { border-top: 0; font-size: 12px; font-weight: 600; color: var(--td); }
.m4-rt-t tbody th { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.m4-rt-t .m4-rt-n { text-align: right; white-space: nowrap; font-weight: 700; }
.m4-rt-t .m4-rt-n.is-pos { color: var(--gain); } .m4-rt-t .m4-rt-n.is-neg { color: var(--loss); }
.m4-rt-t thead .m4-rt-n { font-weight: 600; }

/* Similar managers: 1Y gap in words (11 Nov 2026). Neutral colour (no gain/loss), wider last column on desktop, under the name on phones where the old column was hidden. */
.m4-r { grid-template-columns: minmax(0, 1fr) 96px 80px 80px 170px; }
.m4-r .m4-gap { color: var(--t2); font-weight: 500; line-height: 1.3; }
.m4-nmt { display: flex; flex-direction: column; min-width: 0; }
.m4-gapm { display: none; font-size: 12px; color: var(--td); line-height: 1.3; }
.m4-part { display: block; font-size: 11px; font-weight: 400; color: var(--td); line-height: 1.3; }
.m4-simnote { margin: var(--sp-3, 12px) 0 0; }
@media (max-width: 760px) { .m4-r { grid-template-columns: minmax(0, 1fr) 84px; } .m4-gapm { display: block; margin-top: 2px; } .m4-r .m4-nmt b { white-space: normal; } }

/* Similar managers, cleaned up (12 Nov 2026, Luke): four columns (manager, AUM, return, outperformance), one short line under the gap, and the page manager's lead tinted and named. Tokens only; the chip repeats the lead in words so colour is not the only signal. */
.m4-sim [data-m4-pane="comp"] .m4-r { grid-template-columns: minmax(0, 1fr) 90px 100px 240px; }
.m4-sim [data-m4-pane="comp"] .m4-r.is-lead { background: color-mix(in srgb, var(--gain) 7%, transparent); border-radius: 12px; border-top-color: transparent; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.m4-sim [data-m4-pane="comp"] .m4-r.is-lead + .m4-r { border-top-color: transparent; }
.m4-sim [data-m4-pane="comp"] .m4-gap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; line-height: 1.3; }
.m4-gap-t { font-size: 13px; font-weight: 500; color: var(--t2); }
.m4-lead-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--tx); background: color-mix(in srgb, var(--gain) 16%, transparent); border: 1px solid color-mix(in srgb, var(--gain) 38%, transparent); }
.m4-lead-chip svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--gain); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m4-since { font-size: 11px; color: var(--td); }
@media (max-width: 760px) {
  .m4-sim [data-m4-pane="comp"] .m4-r { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .m4-sim [data-m4-pane="comp"] .m4-r > span:nth-child(2) { display: none; }
  .m4-sim [data-m4-pane="comp"] .m4-r > span:nth-child(3) { display: block; }
  .m4-sim [data-m4-pane="comp"] .m4-rh > span:nth-child(4) { display: none; }
  .m4-sim [data-m4-pane="comp"] .m4-r > .m4-gap { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; text-align: left; padding-left: 40px; }
  .m4-sim [data-m4-pane="comp"] .m4-r.is-lead { margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
}

/* Similar funds: rows where this page's manager's fund is ahead use the Similar managers highlight (12 Nov 2026). Nothing is drawn where the other fund is ahead. */
.m4-sim [data-m4-pane="funds"] .m4-nmt { gap: var(--sp-1, 4px); align-items: flex-start; }
.m4-sim [data-m4-pane="funds"] .m4-r.is-lead { background: color-mix(in srgb, var(--gain) 7%, transparent); border-radius: 12px; border-top-color: transparent; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.m4-sim [data-m4-pane="funds"] .m4-r.is-lead + .m4-r { border-top-color: transparent; }
@media (max-width: 760px) { .m4-sim [data-m4-pane="funds"] .m4-r.is-lead { margin: 0 -8px; padding-left: 8px; padding-right: 8px; } }

/* About accordion at the very bottom of the manager page: closed, native details, same look as All funds (12 Nov 2026). */
.m4-seo .cat-all > summary { justify-content: space-between; align-items: center; min-height: 44px; }
.m4-seo .cat-all > summary::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--td); border-bottom: 2px solid var(--td); transform: rotate(45deg); transition: transform .2s; }
.m4-seo .cat-all[open] > summary::after { transform: rotate(-135deg); }
.m4-seo > .cat-about { align-self: stretch; box-sizing: border-box; max-width: none; margin-top: 0; }
.cat-about > summary h2 { margin: 0; }
.cat-about .cat-about-b { margin-top: var(--sp-3, 12px); }
@media (prefers-reduced-motion: reduce) { .m4-seo .cat-all > summary::after { transition: none; } }

/* A link or lock prompt that used to sit inside a footnote (12 Nov 2026): the notes moved to the About these figures block, the link stays under its panel. */
.m4-flink { margin: var(--sp-3, 12px) 0 0; line-height: 1.5; }
