:root{
  --bg:#F8F8F5;--surface:#FFFFFF;--line:#D8E3F0;--accent:#A4C2E8;
  --primary:#4A63D9;--primary-mid:#7E93E8;--ink:#2C3556;--text:#161B24;
  --radius-card:14px;--radius-pill:24px;
  --shadow-soft:0 10px 30px rgba(44,53,86,.10);--shadow-lift:0 14px 38px rgba(44,53,86,.18);
}
@font-face{font-family:'Manrope';src:url('/fonts/Manrope-VariableFont_wght.ttf') format('truetype-variations');font-weight:200 800;font-display:swap;font-style:normal;}
*{box-sizing:border-box}
html{font-family:'Manrope',system-ui,sans-serif;color:var(--text);background:var(--bg);scroll-behavior:smooth}
body{margin:0;line-height:1.5}
a{color:var(--primary);text-decoration:none}

/* top nav + footer */
.site-nav{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:var(--surface);border-bottom:1px solid var(--line)}
.site-nav .brand{font-weight:800;color:var(--ink);font-size:16px}
.site-nav .brand span{color:var(--primary)}
.site-nav .links{display:flex;gap:18px;font-size:13px;font-weight:600;color:#5b6472}
.site-footer{padding:28px 24px;background:var(--ink);color:#cdd6e6;font-size:13px;text-align:center}
.site-footer a{color:#fff}
/* Build identity: present but deliberately quiet - diagnostic, not content. */
.build-stamp{margin-top:8px;font-size:11px;letter-spacing:.04em;opacity:.55;font-variant-numeric:tabular-nums}

/* buttons + chips */
.btn{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;border-radius:var(--radius-pill);padding:10px 18px;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.chip{font-size:13px;font-weight:600;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-pill);padding:7px 14px;cursor:pointer}
.chip:hover{border-color:var(--primary);color:var(--primary)}

/* layout container */
.wrap{max-width:1040px;margin:0 auto;padding:0 24px}

/* landing hero + search */
.landing-hero{text-align:center;padding:56px 24px 28px;background:radial-gradient(120% 100% at 50% 0,#fff,var(--bg))}
.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--primary);font-weight:800}
.landing-hero h1{margin:12px 0 8px;font-size:38px;font-weight:800;color:var(--ink);line-height:1.1}
.landing-hero .lead{margin:0 auto 22px;max-width:54ch;color:#5b6472;font-size:16px}
.scale-line{margin:0 auto 22px;font-weight:700;color:var(--ink)}
.scale-line b{color:var(--primary)}
.searchbox{display:flex;max-width:560px;margin:0 auto;background:#fff;border:1.5px solid var(--primary);border-radius:var(--radius-pill);overflow:hidden;box-shadow:0 8px 22px rgba(74,99,217,.14)}
.searchbox input{flex:1;border:none;padding:15px 20px;font-size:16px;font-family:inherit;outline:none;color:var(--text)}
.searchbox .btn-primary{border-radius:0;padding:0 24px}
.autocomplete{position:relative;max-width:560px;margin:0 auto}
.ac-list{position:absolute;left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:6px;overflow:hidden;text-align:left;box-shadow:var(--shadow-soft);z-index:10}
.ac-item{padding:11px 18px;font-size:15px;border-top:1px solid #f0f3f8;cursor:pointer}
.ac-item:first-child{border-top:none}
.ac-item[aria-selected="true"],.ac-item:hover{background:#f3f6ff}
.hint{margin-top:14px;font-size:13px;color:#9aa3b2}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}

/* profile hero — light, calm, editorial (Fintech Calm: "quiet, never shouting").
   Deep tones are reserved as sparing accents, not a heavy dark block. */
.profile-hero{padding:52px 24px 40px;color:var(--text);background:var(--bg);border-bottom:1px solid var(--line)}
.profile-hero .wrap{padding:0 24px}
.profile-hero .eyebrow{color:var(--primary)}
.profile-hero h1{margin:10px 0 16px;font-size:38px;font-weight:800;line-height:1.06;color:var(--ink);letter-spacing:-.015em}
.profile-hero .desc{color:#1e2732;max-width:68ch;font-size:15.5px;line-height:1.7}
.profile-hero .desc :is(h1,h2,h3){color:var(--ink)}
/* Let the metrics band break out of the reading-width column so its 4 columns get
   room to breathe (fixes cramped wrapping); the intro paragraph stays narrow. */
.profile-hero .desc:has(.row){max-width:none}
/* Neutralize legacy inline styles (the old brand blue, tiny 10-13px spans) baked into
   the generator's description HTML so it reads as clean editorial copy on the light hero. */
.profile-hero .desc span{font-size:15.5px !important;color:#1e2732 !important;font-weight:400 !important}
.profile-hero .desc b,.profile-hero .desc strong{color:var(--ink) !important;font-weight:700 !important}
.profile-hero .desc a{color:var(--primary) !important;text-decoration:underline;font-weight:600 !important}
/* The generator emits the key figures as a structured 4-column band (.row > .dataColumn)
   that was rendering as a vertical jumble. Present it as a pitch-deck metrics band. */
.profile-hero .desc .header{margin:18px 0 14px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#566072}
.profile-hero .desc .row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;
  background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft);overflow:hidden}
.profile-hero .desc .dataColumn{padding:20px 22px;border-left:1px solid var(--line)}
.profile-hero .desc .dataColumn:first-child{border-left:none}
.profile-hero .desc .dataColumn span{font-size:12.5px !important;color:#29323e !important;line-height:1.55;font-weight:500}
.profile-hero .desc .dataColumn :is(b,strong){color:var(--ink) !important;font-weight:800 !important}
/* the generator's inline 17px "headline" figures become each cell's hero number */
.profile-hero .desc .dataColumn [style*="17px"]{display:inline-block;font-size:22px !important;line-height:1.15;letter-spacing:-.01em;margin-bottom:4px}
.profile-hero .desc .dataColumn span strong:not([style*="17px"]){color:var(--primary) !important}
@media (max-width:900px){ .profile-hero .desc .row{grid-template-columns:repeat(2,1fr)} }
@media (max-width:540px){ .profile-hero .desc .row{grid-template-columns:1fr} }
/* cross-link to this manager's static SEO summary page */
.seo-summary-link{display:inline-block;margin-top:22px;font-size:13px;font-weight:700;color:var(--primary);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .15s}
.seo-summary-link:hover{border-bottom-color:var(--primary)}

/* sticky pill nav */
.pill-nav{position:sticky;top:0;z-index:20;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;padding:12px;background:var(--surface);border-bottom:1px solid var(--line)}
.pill-nav a{font-size:13px;font-weight:600;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-pill);padding:6px 14px}
.pill-nav a.active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* section cards — each section is a clean surface card on the off-white page */
.wrap > *:first-child{margin-top:24px}
.section-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:26px 30px;margin:0 0 18px;box-shadow:var(--shadow-soft)}
.section-card h2{margin:0 0 6px;font-size:21px;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.section-card > h2::before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;background:var(--primary);margin-right:10px;vertical-align:middle}
.section-card .lead{margin:0 0 18px;color:#2a333f;max-width:74ch;font-size:14.5px;line-height:1.62}
.section-grid{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}
/* min-width:0 lets a wide table's column shrink so the table scrolls inside it
   instead of overflowing and overlapping the chart (e.g. the 7-col Regulators table). */
.section-grid .col-table{flex:1.5 1 440px;min-width:0}
.section-grid .col-chart{flex:1 1 300px;min-width:260px}
.section-grid .col-table > div{overflow-x:auto}
/* Tables after the first get the whole card, not the ~54% the table column leaves once the
   chart takes its share - a wide grid (Asset Classes' per-adviser detail) is unreadable in
   537px. They still scroll inside themselves when they exceed even the full width. */
.wide-tables{margin-top:4px}
.wide-tables > div{overflow-x:auto;margin-bottom:16px}
/* Relying Advisers has no data table yet — center its content in the card
   (stack the text + chart, centered) until a table is added. */
#Relying_Advisers .section-grid{flex-direction:column;align-items:center;text-align:center;gap:12px}
#Relying_Advisers .lead{margin-left:auto;margin-right:auto;margin-bottom:10px}
/* This section centres its chart and copy, but the summary line above them was left-aligned
   inside an auto-centred block - so it lined up with neither the heading nor the content. */
#Relying_Advisers .lead h3{margin:0 0 2px;text-align:center}
#Relying_Advisers .col-table,#Relying_Advisers .col-chart{width:100%;max-width:640px}
.section-chart{width:100%;height:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.not-applicable{color:#8a93a3;font-style:italic;padding:10px 0}
/* Explanatory lead text arrives from the section metadata wrapped in <h2>, so it rendered at
   21px/800 - heading weight for a sentence of body copy (Filing Advisers' definition of a
   filing adviser). Set as an aside instead: italic, regular weight, body size. */
.section-card .lead h2{font-style:italic;font-weight:400;font-size:14px;line-height:1.5;color:#5b6472;margin:0}
/* The generated summary line (extra_sectiontext: "...controls 142 Relying Advisers",
   "Regulated by 9 regulatory bodies...", "9 asset classes, reported by 36 of 36...") is a
   stat about the section, not a heading for it - it arrived at 16px/700, competing with the
   section title right above it. */
.section-card .lead h3{font-size:13.5px;font-weight:600;color:#5b6472;line-height:1.45;margin:0 0 2px}

/* data tables */
.data-table{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0;font-size:13.5px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.data-table th{background:#f3f6fc;color:#455063;text-align:left;padding:11px 14px;font-weight:700;font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid var(--line)}
.data-table td{padding:10px 14px;border-top:1px solid #eef2f6;white-space:nowrap;color:var(--text)}
.data-table tr:nth-child(even) td{background:#fafbfe}
.data-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}
/* Footer styling belongs to a real totals row. Applied to every table's last row it made the
   last asset class, regulator and portfolio company read as an aggregate (see TotalsRowTest). */
.data-table:not(.no-totals) tr:last-child td{font-weight:700;color:var(--ink);background:#eef2f9;border-top:1.5px solid var(--line)}

/* locked-cell teaser — a subtle, intentional placeholder (not a smeary blur) */
.locked-cell{position:relative;display:inline-flex;align-items:center}
.locked-cell .masked{user-select:none;color:#b7c0d3;letter-spacing:3px;font-weight:700}
.unlock-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--primary);background:#eaf0ff;border:1px solid #d4ddff;border-radius:var(--radius-pill);padding:5px 12px;margin-top:12px}

/* cta — demote the generator's <h2>-wrapped pitch copy to quiet body text
   (it is not a section header) for a calmer editorial hierarchy */
.cta-block{margin-top:16px}
.cta-block .copy :is(h1,h2,h3){font-size:14.5px;font-weight:600;line-height:1.5;color:#7a8397;margin:0}
/* The explanation paragraph is body copy wearing an <h2> from the section metadata: 14.5px/600
   and centred, which reads as a second CTA and is hard going over three or four lines. Set it
   as an aside - italic, regular weight, left-aligned within the centred column. */
.cta-block .copy.explain :is(h1,h2,h3){font-size:13px;font-weight:400;font-style:italic;
  line-height:1.6;text-align:left;color:#7a8397}

@media (max-width:640px){
  .landing-hero h1{font-size:28px}
  .profile-hero h1{font-size:26px}
  .section-grid{flex-direction:column}
}
[x-cloak]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* Profile mindmap (Mind Elixir) — collapsible relationship panel, starts closed */
.profile-mindmap-wrap{padding:24px 0 8px}
.mindmap-panel > summary.mindmap-heading{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:9px;font-size:18px;font-weight:700;color:var(--primary);user-select:none}
.mindmap-panel > summary.mindmap-heading::-webkit-details-marker{display:none}
.mindmap-panel > summary.mindmap-heading::before{content:"\25B8";font-size:13px;transition:transform .15s ease}
.mindmap-panel[open] > summary.mindmap-heading::before{transform:rotate(90deg)}
#profile-mindmap{width:100%;height:620px;margin-top:14px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-soft);overflow:hidden}
@media (max-width:720px){ #profile-mindmap{height:460px} }
