:root {
  --navy: #062653;
  --navy-2: #021a3d;
  --gold: #c9982f;
  --gold-2: #e2b451;
  --ink: #0d1b2f;
  --muted: #5d6b7e;
  --line: #dbe2ec;
  --soft: #f6f8fb;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg,#fff 0%,#f8fbff 45%,#fff 100%); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.grid { display: grid; gap: 18px; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(219,226,236,.85); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); box-shadow: 0 10px 28px rgba(6,38,83,.05); }
.nav { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.brand-mark img { display: block; width: 220px; max-width: 100%; height: auto; }
.brand-mark { position: relative; display: inline-flex; align-items: center; overflow: hidden; border-radius: 8px; flex: 0 0 auto; }
.brand-mark.logo-animated img, .footer-logo.logo-animated { animation: logoFloat 5.8s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(201,152,47,.12)); }
.brand-mark.logo-animated::after { content: ""; position: absolute; inset: 0; width: 36%; transform: translateX(-140%) skewX(-18deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent); animation: logoShine 4.8s ease-in-out infinite; pointer-events: none; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: var(--navy); font-size: .9rem; font-weight: 700; line-height: 1.2; flex: 1 1 auto; }
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn) { border-radius: 999px; padding: 9px 10px; }
.nav-links a:not(.btn):hover { background: #eef4fb; }
.nav-links .btn { min-height: 44px; padding: 10px 16px; border-radius: 8px; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); padding: 10px 14px; font-weight: 900; box-shadow: 0 8px 18px rgba(6,38,83,.08); }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 11px 18px; font-weight: 800; cursor: pointer; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 14px 28px rgba(6,38,83,.2); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--white); }
.btn-outline { border-color: var(--gold); background: var(--white); color: var(--navy); }
.btn-danger { background: #b42318; color: var(--white); }
.muted { color: var(--muted); line-height: 1.6; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 32%,rgba(255,255,255,.72) 53%,rgba(255,255,255,.08) 100%), url("/assets/images/home-hero-bg.png") center right / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg,rgba(255,255,255,0),#fff); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 430px); gap: 44px; align-items: center; min-height: 650px; padding: 64px 0 86px; }
.hero-copy-block { max-width: 680px; }
h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }
h1 { margin: 0; max-width: 650px; color: var(--navy-2); font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: .98; letter-spacing: 0; }
.section-title { margin: 0 0 14px; color: var(--navy-2); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.section-copy, .hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.hero p { max-width: 610px; font-size: 1.16rem; }
.eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 14px; border: 1px solid rgba(201,152,47,.34); border-radius: 999px; background: rgba(255,255,255,.78); color: #8b650f; padding: 8px 13px; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.center { display: flex; margin-left: auto; margin-right: auto; }
.trust-row { display: flex; gap: 14px; align-items: center; margin: 26px 0; color: var(--navy); font-weight: 700; }
.trust-avatar { display: grid; width: 52px; height: 52px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--navy); color: var(--gold-2); box-shadow: 0 14px 28px rgba(6,38,83,.18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin-top: 28px; }
.hero-metrics span { border: 1px solid rgba(219,226,236,.85); border-radius: 8px; background: rgba(255,255,255,.72); padding: 12px 14px; box-shadow: 0 10px 25px rgba(6,38,83,.07); }
.hero-metrics strong, .hero-metrics small { display: block; }
.hero-metrics small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.card { border: 1px solid rgba(219,226,236,.92); border-radius: 8px; background: rgba(255,255,255,.96); padding: 24px; box-shadow: 0 22px 55px rgba(6,38,83,.12); }
.lead-card { align-self: center; border-top: 6px solid var(--navy); }
.lead-card h3 { margin: 0; color: var(--navy-2); font-size: 1.55rem; }
.field { display: grid; gap: 7px; }
.field span { color: var(--navy); font-size: .88rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); padding: 12px 13px; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.section { padding: 72px 0; }
.trust-strip, .why-row, .kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-strip { margin-top: -48px; position: relative; z-index: 2; align-items: stretch; }
.trust-item, .why-item, .kpi, .dashboard-card { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 20px; }
.trust-item, .why-item { box-shadow: 0 16px 36px rgba(6,38,83,.08); }
.trust-item { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px 14px; align-content: start; min-height: 126px; padding: 22px; }
.trust-item span { display: inline-grid; width: 38px; height: 38px; place-items: center; grid-row: 1 / span 2; border-radius: 50%; background: linear-gradient(135deg,#fff7e4,#eac76d); color: var(--navy); font-size: .75rem; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(201,152,47,.28); }
.trust-item strong { display: block; color: var(--navy-2); font-size: .98rem; line-height: 1.25; }
.trust-item .section-copy { margin: 0; font-size: .9rem; line-height: 1.45; }
.why-item { transition: transform .18s ease, box-shadow .18s ease; }
.why-item:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(6,38,83,.12); }
.kpi { display: grid; gap: 9px; align-content: center; min-height: 92px; }
.kpi small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.25; }
.kpi strong { display: block; color: var(--navy-2); font-size: 1.65rem; line-height: 1; font-weight: 900; }
.why-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #f6ead2; color: var(--navy); }
.action-rail { background: var(--navy); color: var(--white); padding: 26px 0; }
.action-rail-inner { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.rail-item { display: flex; align-items: center; gap: 12px; border-right: 1px solid rgba(255,255,255,.22); padding: 10px; }
.rail-item small { display: block; color: rgba(255,255,255,.78); line-height: 1.4; }
.page-intro { max-width: 760px; margin-bottom: 28px; }
.page-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .45fr); gap: 28px; align-items: start; }
.profile-card p { margin: 0 0 10px; }
.contact-layout { align-items: start; }
.site-footer { border-top: 1px solid rgba(219,226,236,.9); background: linear-gradient(180deg,#f8fafc 0%,#eef4fa 54%,#e8f0f8 100%); color: #32445b; padding: 48px 0 22px; font-size: .94rem; line-height: 1.65; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .9fr .8fr; gap: 28px; align-items: start; }
.footer-logo { width: 270px; max-width: 100%; height: auto; margin-bottom: 14px; }
.footer-brand p, .footer-credentials p, .footer-contact p, .footer-disclaimer p { margin: 0 0 10px; }
.footer-brand strong, .footer-credentials strong, .footer-contact strong { color: var(--navy-2); }
.footer-credentials h3, .footer-contact h3, .footer-disclaimer h3 { margin: 0 0 12px; color: var(--navy-2); font-family: Arial, Helvetica, sans-serif; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-credentials span { display: inline-flex; border-radius: 999px; background: #f6ead2; color: #7b570c; padding: 6px 10px; font-weight: 900; }
.footer-contact a:not(.footer-admin-link) { color: var(--navy); font-weight: 900; }
.footer-admin-link { color: var(--muted); font-size: .86rem; text-decoration: underline; }
.footer-disclaimer { grid-column: 1 / -1; border: 1px solid rgba(201,152,47,.28); border-radius: 8px; background: rgba(255,255,255,.72); padding: 18px 20px; }
.footer-disclaimer p { color: #43556b; font-size: .88rem; line-height: 1.7; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(6,38,83,.12); padding-top: 18px; color: var(--muted); font-size: .84rem; }
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes logoShine {
  0%, 52% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  62% { opacity: .8; }
  84%, 100% { transform: translateX(320%) skewX(-18deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark.logo-animated img, .footer-logo.logo-animated, .brand-mark.logo-animated::after { animation: none; }
}
@media (max-width: 1220px) {
  .nav { gap: 16px; }
  .brand-mark img { width: 190px; }
  .nav-links { gap: 7px; font-size: .82rem; }
  .nav-links a:not(.btn) { padding: 8px 7px; }
  .nav-links .btn { padding: 9px 12px; }
}
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 270px minmax(0,1fr); background: #f4f7fb; }
.admin-shell.sidebar-collapsed { grid-template-columns: 78px minmax(0,1fr); }
.sidebar { position: relative; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg,#061f47,#02152f); color: var(--white); padding: 18px 14px; transition: width .2s ease; }
.sidebar-toggle { position: absolute; top: 12px; right: -14px; z-index: 3; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--gold); color: var(--navy-2); font-size: 1.1rem; line-height: 1; font-weight: 900; cursor: pointer; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.admin-sidebar-logo { width: 220px; max-width: 100%; height: auto; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar a { display: flex; min-height: 42px; align-items: center; border-radius: 8px; color: rgba(255,255,255,.86); padding: 10px 14px; font-weight: 800; }
.sidebar a.active, .sidebar a:hover { background: linear-gradient(135deg,var(--gold),#ad7e1c); color: var(--white); }
.sidebar-security { margin-top: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 14px; background: rgba(255,255,255,.05); }
.sidebar-collapsed .admin-sidebar-logo { width: 50px; height: 50px; object-fit: cover; object-position: left center; }
.sidebar-collapsed .sidebar-text, .sidebar-collapsed .sidebar-security { display: none; }
.sidebar-collapsed .sidebar { align-items: center; padding: 18px 10px; }
.sidebar-collapsed .sidebar nav { width: 100%; }
.sidebar-collapsed .sidebar a { justify-content: center; min-height: 46px; padding: 10px 6px; font-size: 0; }
.sidebar-collapsed .sidebar a::first-letter { font-size: 0; }
.sidebar-collapsed .sidebar a::before { content: attr(data-short); font-size: .9rem; font-weight: 900; }
.admin-main { padding: 22px; min-width: 0; }
.admin-main .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.admin-main .kpi-grid .kpi { min-height: 108px; align-content: center; padding: 20px 22px; }
.admin-main .kpi-grid .kpi-aum { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; }
.admin-main .kpi-grid .kpi-aum small { font-size: .92rem; }
.admin-main .kpi-grid .kpi-aum strong { font-size: 2rem; white-space: nowrap; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-topbar h1 { font-family: Arial, Helvetica, sans-serif; font-size: 1.5rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.dashboard-grid-roomy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.dashboard-grid > *, .dashboard-grid-roomy > * { min-width: 0; }
.dashboard-card-wide { grid-column: 1 / -1; }
.dashboard-card { margin-bottom: 18px; min-width: 0; }
.dashboard-card h2 { margin: 0 0 20px; color: var(--navy-2); line-height: 1.15; }
.dashboard-card .admin-topbar { margin-bottom: 22px; }
.business-overview-card { margin-top: 20px; padding: 22px; overflow: hidden; }
.business-overview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.business-overview-head h2 { margin: 0 0 14px; font-family: Arial, Helvetica, sans-serif; font-size: 1.25rem; color: #1b2636; }
.business-tabs { display: flex; flex-wrap: wrap; gap: 28px; color: #8a919b; font-size: .95rem; }
.business-tabs a { position: relative; padding-bottom: 4px; color: #8a919b; }
.business-tabs a.active { color: #315bff; }
.business-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 999px; background: #315bff; }
.business-tabs a:hover { color: var(--navy); }
.business-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.business-controls select { width: auto; min-width: 108px; min-height: 34px; border-radius: 4px; padding: 5px 8px; background: #fff; color: #4d5561; font-size: .9rem; }
.vertical-chart { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; min-height: 330px; padding: 26px 0 12px; }
.chart-y-axis { display: grid; grid-template-rows: repeat(6, 1fr); color: #3f4650; font-size: .86rem; text-align: right; padding-top: 2px; padding-bottom: 40px; }
.chart-y-axis span { transform: translateY(-50%); }
.chart-plot { position: relative; min-width: 0; }
.chart-grid-line { position: relative; display: block; height: calc((100% - 40px) / 5); border-top: 1px dashed rgba(120,132,148,.35); }
.chart-grid-line:last-of-type { border-bottom: 1px dashed rgba(120,132,148,.35); }
.chart-bars { position: absolute; inset: 0 0 0 0; display: grid; grid-template-columns: repeat(var(--bar-count, 3), minmax(42px, 1fr)); align-items: end; gap: clamp(14px, 3vw, 62px); padding: 0 5% 0 5%; overflow-x: auto; overflow-y: hidden; }
.vertical-bar-item { position: relative; display: grid; height: calc(100% - 40px); align-items: end; justify-items: center; align-self: start; }
.vertical-bar { width: min(38px, 70%); min-height: 4px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg,#49cfa0,#29af83); box-shadow: 0 10px 22px rgba(41,175,131,.18); z-index: 2; }
.vertical-bar-value { position: absolute; left: 50%; top: 8px; z-index: 8; display: grid; gap: 3px; min-width: 190px; transform: translateX(-50%) translateY(-4px); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: var(--navy); color: #fff; padding: 9px 11px; font-size: .76rem; font-weight: 800; line-height: 1.25; text-align: left; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 14px 28px rgba(6,38,83,.24); transition: opacity .14s ease, transform .14s ease; }
.vertical-bar-value strong { color: #fff; font-size: .82rem; }
.vertical-bar-value span { color: rgba(255,255,255,.88); }
.vertical-bar-item:hover .vertical-bar-value, .vertical-bar-item:focus .vertical-bar-value, .vertical-bar-item:focus-within .vertical-bar-value, .vertical-bar-item.show-tip .vertical-bar-value { opacity: 1; transform: translateX(-50%) translateY(0); }
.vertical-bar-label { position: absolute; top: calc(100% + 12px); color: #303640; font-size: .86rem; transform: rotate(-48deg); transform-origin: left top; white-space: nowrap; }
.allocation-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.company-allocation-grid, .fund-allocation-row { grid-template-columns: minmax(0, 1fr); }
.allocation-card { padding: 20px 22px; }
.fund-allocation-card .bar-chart { gap: 18px; }
.fund-allocation-card .bar-row { grid-template-columns: minmax(260px, 1.4fr) minmax(280px, 2fr) minmax(130px, auto); gap: 12px 18px; }
.fund-allocation-card .bar-track { grid-column: auto; height: 20px; }
.fund-allocation-card .bar-label { font-size: .88rem; }
.fund-allocation-card .bar-value { font-size: .88rem; }
.chart-card-head { align-items: flex-start; margin-bottom: 18px; }
.chart-card-head h2 { margin-bottom: 6px; }
.chart-card-head .btn { min-height: 40px; padding: 9px 14px; white-space: nowrap; }
.bar-chart { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 16px; align-items: end; }
.bar-label { color: var(--navy-2); font-size: .86rem; font-weight: 850; line-height: 1.25; overflow-wrap: anywhere; }
.bar-track { grid-column: 1 / -1; height: 18px; border: 1px solid rgba(219,226,236,.95); border-radius: 999px; background: #edf3f9; overflow: hidden; box-shadow: inset 0 1px 2px rgba(6,38,83,.05); }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.bar-fill.fund-bar { background: linear-gradient(90deg, #0b4f8f, #d4a12a); }
.bar-value { color: var(--navy); font-size: .86rem; font-weight: 900; text-align: right; white-space: nowrap; }
.empty-chart { border: 1px dashed rgba(6,38,83,.18); border-radius: 8px; background: #f8fbff; color: var(--muted); padding: 16px; font-size: .9rem; line-height: 1.45; }
.donut-layout { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: 22px; align-items: center; }
.donut-chart { position: relative; aspect-ratio: 1; width: min(100%, 240px); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(6,38,83,.08), 0 18px 38px rgba(6,38,83,.12); }
.donut-chart::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px rgba(219,226,236,.85); }
.donut-hole { position: absolute; inset: 24%; z-index: 2; display: grid; place-content: center; gap: 5px; text-align: center; color: var(--navy-2); }
.donut-hole span { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.donut-hole strong { color: var(--navy-2); font-size: 1.05rem; line-height: 1.15; }
.donut-legend { display: grid; gap: 9px; min-width: 0; }
.donut-legend-row { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 9px; align-items: center; border: 1px solid rgba(219,226,236,.8); border-radius: 8px; background: #fbfdff; padding: 9px 10px; outline: none; }
.donut-legend-row:hover, .donut-legend-row:focus { border-color: rgba(201,152,47,.7); box-shadow: 0 10px 22px rgba(6,38,83,.08); }
.donut-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(6,38,83,.04); }
.donut-label { color: var(--navy-2); font-size: .82rem; font-weight: 850; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-legend-row strong { color: var(--navy); font-size: .82rem; white-space: nowrap; }
.donut-legend-row em { color: var(--muted); font-size: .8rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.donut-tooltip { position: absolute; left: 18px; bottom: calc(100% + 8px); z-index: 10; display: grid; gap: 4px; min-width: 230px; max-width: 320px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: var(--navy); color: #fff; padding: 10px 12px; font-size: .78rem; line-height: 1.3; opacity: 0; pointer-events: none; transform: translateY(4px); box-shadow: 0 16px 32px rgba(6,38,83,.24); transition: opacity .14s ease, transform .14s ease; }
.donut-tooltip b { font-size: .84rem; color: #fff; }
.donut-tooltip span { color: rgba(255,255,255,.88); }
.donut-legend-row:hover .donut-tooltip, .donut-legend-row:focus .donut-tooltip, .donut-legend-row.show-tip .donut-tooltip { opacity: 1; transform: translateY(0); }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; }
.toolbar .btn { min-width: 150px; }
.filter-panel { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 14px; align-items: end; }
.filter-actions { display: flex; gap: 10px; align-items: center; }
.filter-actions .btn { min-height: 44px; }
.report-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.report-metric-grid > div { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; padding: 16px; }
.report-metric-grid span { color: var(--muted); font-size: .82rem; font-weight: 800; }
.report-metric-grid strong { color: var(--navy-2); font-size: 1.15rem; line-height: 1.2; }
.report-center-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; align-items: start; }
.report-group { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; padding: 16px; min-width: 0; }
.report-group h3 { margin: 0 0 4px; color: var(--navy-2); font-size: 1.02rem; }
.report-link { display: grid; gap: 4px; border: 1px solid rgba(219,226,236,.9); border-radius: 8px; background: var(--white); padding: 12px; color: var(--ink); }
.report-link:hover { border-color: rgba(201,152,47,.65); box-shadow: 0 12px 22px rgba(6,38,83,.06); }
.report-link strong { color: var(--navy-2); font-size: .94rem; }
.report-link span { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.export-toolbar { justify-content: flex-start; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-actions form { margin: 0; }
.row-actions .btn { min-height: 40px; padding: 8px 14px; }
.quick-actions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; min-width: 0; }
.quick-actions-grid .btn { width: 100%; min-height: 48px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
th { color: var(--navy); font-size: .78rem; text-transform: uppercase; }
.compact-table { font-size: .82rem; }
.compact-table th, .compact-table td { padding: 10px 12px; vertical-align: middle; }
.clients-table-wrap { overflow-x: auto; }
.clients-table { min-width: 1180px; table-layout: auto; }
.clients-table th, .clients-table td { white-space: nowrap; }
.clients-table .client-name-cell { min-width: 190px; white-space: normal; line-height: 1.25; }
.clients-table .amount-cell { min-width: 120px; font-weight: 800; color: var(--navy-2); }
.nowrap-actions { flex-wrap: nowrap; min-width: 260px; }
.nowrap-actions .btn { min-width: 76px; padding: 8px 12px; min-height: 36px; }
.client-portfolio-card { padding: 22px; }
.client-portfolio-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.client-portfolio-head h2 { margin: 0 0 12px; }
.client-meta-row { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.client-meta-row span { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; flex: 0 0 auto; border: 1px solid rgba(219,226,236,.95); border-radius: 8px; background: #f8fbff; color: #23354f; padding: 8px 10px; font-size: .82rem; white-space: nowrap; }
.client-meta-row strong { color: var(--navy); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.portfolio-table-wrap { max-width: 100%; overflow-x: auto; }
.portfolio-table { min-width: 1900px; table-layout: auto; font-size: .8rem; }
.portfolio-table th, .portfolio-table td { padding: 9px 10px; vertical-align: middle; white-space: nowrap; }
.portfolio-table th { position: sticky; top: 0; z-index: 2; background: #f8fbff; }
.portfolio-table th:first-child, .portfolio-table td:first-child { position: sticky; left: 0; z-index: 3; min-width: 360px; max-width: 360px; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 1px 0 0 var(--line); }
.portfolio-table th:first-child { z-index: 4; background: #f8fbff; }
.portfolio-table td:nth-child(n+4), .portfolio-table th:nth-child(n+4) { text-align: right; }
.portfolio-table tbody tr:hover td { background: #f8fbff; }
.portfolio-table tbody tr:hover td:first-child { background: #f8fbff; }
.portfolio-table tbody tr:last-child th { background: #fff8e7; color: var(--navy-2); }
.allocation-table-wrap table { min-width: 1700px; }
.allocation-input-table input, .allocation-input-table select { min-width: 110px; padding: 9px 10px; }
.allocation-input-table td:nth-child(1) input { min-width: 210px; }
.allocation-input-table td:nth-child(2) input { min-width: 320px; }
.scheme-live-data { min-width: 240px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.scheme-live-data strong, .scheme-live-data small { display: block; }
.scheme-live-data strong { color: var(--navy-2); font-size: .82rem; }
.fund-picker-backdrop { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center; padding: 72px 16px 24px; background: rgba(4,22,48,.34); }
.fund-picker-backdrop.open { display: flex; }
.fund-picker-panel { width: min(720px, 100%); max-height: min(76vh, 680px); overflow: hidden; border: 1px solid rgba(6,38,83,.18); border-radius: 10px; background: #fff; box-shadow: 0 28px 70px rgba(6,38,83,.26); }
.fund-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.fund-picker-head strong { color: var(--navy-2); font-size: 1.05rem; }
.fund-picker-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 900; cursor: pointer; }
.fund-picker-search { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.fund-picker-search input { width: 100%; }
.fund-picker-list { max-height: 430px; overflow-y: auto; padding: 8px; }
.fund-picker-option { width: 100%; border: 0; border-radius: 8px; background: #fff; padding: 11px 12px; text-align: left; color: var(--navy); cursor: pointer; }
.fund-picker-option:hover, .fund-picker-option:focus { outline: none; background: #edf4ff; }
.fund-picker-option small { display: block; margin-top: 3px; color: var(--muted); }
.fund-picker-empty { padding: 18px; color: var(--muted); }
.proposal-document { background: #eef3f9; padding: 18px; }
.proposal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }
.proposal-page { max-width: 1120px; margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 34px; color: #18253a; box-shadow: 0 24px 60px rgba(6,38,83,.12); }
.proposal-cover { border-bottom: 2px solid rgba(201,152,47,.28); margin-bottom: 24px; padding-bottom: 18px; }
.proposal-cover img { width: 260px; max-width: 100%; height: auto; margin-bottom: 18px; }
.proposal-cover h2 { margin: 0 0 10px; color: var(--navy-2); font-size: 2.2rem; }
.proposal-disclaimer { border-left: 4px solid var(--gold); background: #fff9ea; padding: 12px 14px; color: #5c4a21; }
.proposal-page h3 { margin: 28px 0 12px; color: var(--navy-2); font-size: 1.25rem; }
.proposal-page .table-wrap { overflow-x: visible; }
.proposal-page table { min-width: 0; table-layout: auto; font-size: .74rem; }
.proposal-page th, .proposal-page td { padding: 7px 8px; vertical-align: middle; overflow-wrap: anywhere; }
.proposal-page th { line-height: 1.15; }
.proposal-page .table-wrap table { min-width: 0; }
.nav-performance-list { display: grid; gap: 10px; }
.nav-performance-card { display: grid; grid-template-columns: minmax(230px, 1.35fr) minmax(220px, .9fr) minmax(260px, 1.05fr); gap: 14px; align-items: stretch; border: 1px solid rgba(219,226,236,.95); border-radius: 10px; background: linear-gradient(180deg,#fff,#f8fbff); padding: 14px; box-shadow: 0 10px 24px rgba(6,38,83,.05); }
.nav-fund-main { display: grid; gap: 4px; }
.nav-fund-main strong { color: var(--navy-2); font-size: .9rem; line-height: 1.25; }
.nav-fund-main span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.nav-fund-main small { color: #6d7888; font-size: .76rem; line-height: 1.35; }
.nav-fund-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nav-fund-values div, .return-chip-grid span { border: 1px solid rgba(219,226,236,.82); border-radius: 8px; background: #fff; padding: 8px 9px; }
.nav-fund-values span, .return-chip-grid small { display: block; color: var(--muted); font-size: .66rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.nav-fund-values strong, .return-chip-grid strong { display: block; margin-top: 3px; color: var(--navy-2); font-size: .82rem; line-height: 1.15; white-space: nowrap; }
.return-chip-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.return-chip-grid span { text-align: center; padding: 7px 5px; }
.return-chip-grid strong { font-size: .74rem; }
.proposal-footer { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--navy); font-size: .86rem; text-align: center; }
.fund-data-hint { border: 1px dashed rgba(201,152,47,.55); border-radius: 8px; padding: 10px 12px; background: #fffaf0; color: #5b4922; }
@media print {
  body { background: #fff; }
  .no-print, .sidebar, .admin-topbar, .whatsapp-float { display: none !important; }
  .admin-shell { display: block; background: #fff; }
  .admin-main { padding: 0; }
  .proposal-document { padding: 0; background: #fff; border: 0; }
  .proposal-page { max-width: none; border: 0; border-radius: 0; box-shadow: none; padding: 16mm 12mm; }
  .proposal-page h2 { font-size: 1.45rem; }
  .proposal-page h3 { break-after: avoid; }
  .proposal-page p { font-size: .78rem; line-height: 1.35; }
  .proposal-page .table-wrap { overflow: visible; border-radius: 4px; }
  .proposal-page table { width: 100%; min-width: 0 !important; table-layout: fixed; page-break-inside: auto; font-size: .58rem; }
  .proposal-page th, .proposal-page td { padding: 3.5px 4px; line-height: 1.18; word-break: break-word; overflow-wrap: anywhere; }
  .proposal-page h3 { margin: 13px 0 7px; font-size: .98rem; }
  .nav-performance-list { gap: 6px; }
  .nav-performance-card { grid-template-columns: 1.35fr .88fr 1.05fr; gap: 7px; border-radius: 5px; padding: 7px; box-shadow: none; page-break-inside: avoid; }
  .nav-fund-main strong { font-size: .64rem; line-height: 1.14; }
  .nav-fund-main span, .nav-fund-main small { font-size: .55rem; }
  .nav-fund-values { gap: 4px; }
  .nav-fund-values div, .return-chip-grid span { border-radius: 4px; padding: 4px; }
  .nav-fund-values span, .return-chip-grid small { font-size: .46rem; letter-spacing: 0; }
  .nav-fund-values strong { font-size: .56rem; white-space: normal; }
  .return-chip-grid { gap: 3px; }
  .return-chip-grid strong { font-size: .52rem; white-space: normal; }
  .proposal-cover { margin-bottom: 12px; padding-bottom: 10px; }
  .proposal-cover img { width: 170px; margin-bottom: 10px; }
  .proposal-page tr { page-break-inside: avoid; page-break-after: auto; }
  .proposal-footer { position: fixed; left: 12mm; right: 12mm; bottom: 8mm; background: #fff; }
  @page { size: A4; margin: 10mm; }
}
.status { display: inline-flex; border-radius: 6px; background: #e9f1ff; color: var(--navy); padding: 4px 8px; font-size: .76rem; font-weight: 800; }
.status.DONE, .status.MEETING_DONE, .status.INVESTMENT_STARTED { background: #e9f8ef; color: #19714a; }
.status.OVERDUE, .status.NOT_INTERESTED { background: #fdecea; color: #a7352d; }
.login-page { display: grid; min-height: 100vh; place-items: center; background: #f6f8fb; padding: 24px; }
.login-card { width: min(100%, 460px); }
.login-logo { display: block; width: 330px; max-width: 100%; margin: 0 auto 18px; }
.flash { border-radius: 8px; background: #eaf8ef; color: #15613e; padding: 12px; }
.error { color: #b42318; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 20; border-radius: 999px; background: #128c7e; color: #fff; padding: 13px 18px; box-shadow: 0 14px 34px rgba(0,0,0,.18); font-weight: 800; }
.health-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.health-item { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; display: grid; gap: 6px; }
.health-item span { color: #19714a; font-weight: 800; }
.health-item.bad { border-color: #f1b8b2; background: #fff8f7; }
.health-item.bad span { color: #b42318; }

.client-portal-body { min-height: 100vh; background: #e9e9e9; color: #18253a; font-family: Arial, Helvetica, sans-serif; }
.client-app-shell { width: min(100%, 620px); min-height: 100vh; margin: 0 auto; background: #ececec; box-shadow: 0 0 0 1px rgba(6,38,83,.08), 0 24px 80px rgba(6,38,83,.16); }
.client-main { padding: 14px 14px 92px; }
.client-topbar { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 74px; padding: 12px 16px; background: linear-gradient(120deg,#6578f3 0%,#34d7dc 100%); color: #fff; box-shadow: 0 5px 12px rgba(6,38,83,.28); }
.client-topbar strong, .client-topbar small { display: block; line-height: 1.2; }
.client-topbar strong { font-size: 1.05rem; }
.client-topbar small { opacity: .86; font-size: .72rem; }
.client-logo { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 7px 18px rgba(0,0,0,.16); overflow: hidden; }
.client-logo img { width: 44px; height: 44px; object-fit: contain; }
.client-top-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; font-size: 1.25rem; font-weight: 900; }
.client-bottom-nav { position: fixed; left: 50%; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); width: min(100%, 620px); transform: translateX(-50%); border-top: 1px solid rgba(6,38,83,.12); background: rgba(255,255,255,.96); box-shadow: 0 -8px 26px rgba(6,38,83,.12); }
.client-bottom-nav a { position: relative; display: grid; min-height: 72px; place-items: center; align-content: center; gap: 3px; color: #88919e; font-size: .74rem; text-align: center; }
.client-bottom-nav a span { font-size: 1.25rem; line-height: 1; }
.client-bottom-nav a small { font-size: .68rem; line-height: 1.15; }
.client-bottom-nav a.active { color: #5973ef; }
.client-bottom-nav a.active::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 0; height: 4px; border-radius: 999px 999px 0 0; background: #5973ef; }
.client-card, .client-hero-card { border: 1px solid rgba(219,226,236,.88); border-radius: 3px; background: #fff; box-shadow: 0 2px 8px rgba(6,38,83,.14); padding: 18px 16px; margin-bottom: 14px; }
.client-hero-card h1, .client-card h1, .client-card h2 { margin: 0; color: #18253a; font-family: Arial, Helvetica, sans-serif; letter-spacing: .01em; }
.client-hero-card h1 { margin-top: 5px; font-size: 1.12rem; text-align: center; text-transform: uppercase; }
.client-card h1 { font-size: 1.35rem; }
.client-card h2 { margin-bottom: 14px; font-size: 1.16rem; text-align: center; }
.client-scope-row, .client-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.client-scope-row small, .client-page-head small { display: block; color: #6a7382; font-size: .8rem; font-weight: 800; }
.client-toggle { display: inline-flex; border: 1px solid #dbe2ec; border-radius: 999px; background: #f8fbff; padding: 3px; }
.client-toggle a, .client-chip { border-radius: 999px; color: #667085; padding: 7px 10px; font-size: .75rem; font-weight: 900; white-space: nowrap; }
.client-toggle a.active, .client-chip { background: #062653; color: #fff; }
.client-summary-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; margin: 18px 0; }
.client-summary-split > div { display: grid; gap: 7px; align-content: center; text-align: center; }
.client-summary-split > div + div { border-left: 1px solid #cfd6df; }
.client-summary-split span, .mini-total-row span, .detail-metric-grid span { color: #5b6573; font-size: .8rem; }
.client-summary-split strong { color: #1b2430; font-size: 1.38rem; line-height: 1; }
.client-summary-split strong.positive, .holding-card em { color: #24b979; }
.client-summary-split strong.negative { color: #c43d32; }
.client-summary-split em { display: inline-flex; width: fit-content; justify-self: center; border-radius: 999px; background: #24c981; color: #fff; padding: 5px 12px; font-style: normal; font-size: .76rem; font-weight: 900; }
.client-allocation { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: center; margin-top: 8px; }
.client-bucket-list { display: grid; gap: 11px; }
.client-bucket-list div { display: grid; grid-template-columns: minmax(82px, .8fr) minmax(0, 1fr); gap: 12px; align-items: center; border-left: 4px solid var(--bucket-color); padding-left: 8px; }
.client-bucket-list span, .client-bucket-list small { display: block; }
.client-bucket-list span { color: #475467; font-weight: 800; }
.client-bucket-list small { color: #98a2b3; font-weight: 500; }
.client-bucket-list strong { font-size: 1rem; color: #1d2939; }
.client-donut { width: 138px; height: 138px; border-radius: 50%; position: relative; justify-self: center; }
.client-donut::after { content: ""; position: absolute; inset: 27%; border-radius: 50%; background: #fff; }
.as-on { margin: 12px 0 0; color: #8a94a3; font-size: .78rem; text-align: center; }
.holding-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 11px; align-items: center; border-left: 4px solid #2d9ff0; border-bottom: 1px solid rgba(219,226,236,.86); background: #fff; padding: 12px 6px; }
.holding-card:last-child { border-bottom: 0; }
.fund-badge { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #dbe2ec; border-radius: 6px; background: linear-gradient(135deg,#fff,#eef4ff); color: #062653; font-weight: 900; }
.holding-main { min-width: 0; }
.holding-main strong, .holding-main span, .holding-main small { display: block; }
.holding-main strong { color: #1d2939; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holding-main span { margin-top: 7px; color: #101828; font-size: 1.04rem; font-weight: 900; }
.holding-main em { display: inline-flex; margin-left: 8px; border-radius: 999px; background: #dff8ec; padding: 4px 10px; font-size: .72rem; font-style: normal; }
.holding-main small { margin-top: 6px; color: #667085; line-height: 1.45; }
.holding-card b { color: #111827; font-size: 2rem; line-height: 1; }
.client-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 0; overflow: hidden; }
.client-quick-grid a { display: grid; min-height: 92px; place-items: center; border: 1px solid #e5e7eb; color: #334155; padding: 14px; text-align: center; font-weight: 800; }
.mini-total-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fbff; padding: 12px; margin: 14px 0; }
.mini-total-row strong { color: #062653; font-size: 1.1rem; }
.portfolio-list-card { border-left-color: #5973ef; }
.detail-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.detail-metric-grid div { display: grid; gap: 5px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fbff; padding: 12px; min-width: 0; }
.detail-metric-grid strong { color: #062653; overflow-wrap: anywhere; }
.client-filter-form, .client-support-form { display: grid; gap: 10px; margin: 12px 0 16px; }
.client-filter-form { grid-template-columns: 1fr 1fr; }
.client-filter-form select, .client-filter-form input, .client-filter-form button { min-height: 44px; }
.client-filter-form select { grid-column: 1 / -1; }
.client-filter-form button { grid-column: 1 / -1; }
.transaction-list { display: grid; gap: 10px; }
.transaction-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 12px; }
.transaction-card strong, .transaction-card span, .transaction-card small { display: block; }
.transaction-card b { color: #062653; white-space: nowrap; }
.transaction-card span { grid-column: 1 / -1; color: #1d2939; font-weight: 800; }
.transaction-card small { color: #667085; }
.client-alert { border-radius: 8px; background: #eaf8ef; color: #15613e; padding: 10px 12px; margin-bottom: 12px; font-weight: 800; }
.client-alert.error { background: #fdecea; color: #a7352d; }
.ticket-card { display: grid; gap: 5px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 12px; margin-bottom: 10px; }
.ticket-card strong { color: #062653; }
.ticket-card span, .ticket-card small { color: #667085; line-height: 1.45; }
.message-thread { display: grid; gap: 10px; margin: 14px 0; }
.message-bubble { width: min(86%, 520px); border-radius: 12px; padding: 12px; }
.message-bubble.client { justify-self: end; background: #eaf3ff; color: #153a67; }
.message-bubble.admin { justify-self: start; background: #fff7e4; color: #5c4615; }
.message-bubble p { margin: 8px 0; line-height: 1.45; }
.message-bubble small { color: inherit; opacity: .72; }
.admin-message-thread .message-bubble { width: min(92%, 760px); }
.client-login-screen { display: grid; min-height: 100vh; place-items: center; padding: 24px 14px; background: linear-gradient(120deg,#6578f3,#34d7dc); }
.client-login-card { width: min(100%, 430px); border-radius: 14px; background: rgba(255,255,255,.96); padding: 24px; box-shadow: 0 24px 70px rgba(6,38,83,.28); }
.client-login-card img { display: block; width: 260px; max-width: 100%; margin: 0 auto 16px; }
.client-login-card h1 { margin: 0 0 8px; color: #062653; font-family: Georgia, "Times New Roman", serif; text-align: center; }
.client-login-card p, .client-login-card small { display: block; color: #667085; line-height: 1.55; text-align: center; }
.client-login-card form { display: grid; gap: 12px; margin: 18px 0; }
.profile-grid { grid-template-columns: 1fr; }
@media (max-width: 430px) {
  .client-main { padding-left: 10px; padding-right: 10px; }
  .client-hero-card, .client-card { padding-left: 12px; padding-right: 12px; }
  .client-summary-split strong { font-size: 1.15rem; }
  .client-allocation { grid-template-columns: 1fr; }
  .client-donut { width: 180px; height: 180px; }
}
@media (max-width: 920px) {
  .hero-inner, .form-grid, .page-shell { grid-template-columns: 1fr; }
  .hero { background-position: 64% top; }
  .hero-inner { min-height: auto; padding: 50px 0 70px; }
  .lead-card { max-width: 560px; }
  .admin-shell { display: block; }
  .trust-strip, .why-row, .kpi-grid, .action-rail-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-main .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main .kpi-grid .kpi-aum { grid-column: 1 / -1; }
  .dashboard-grid, .dashboard-grid-roomy, .health-grid { grid-template-columns: minmax(0, 1fr); }
  .allocation-chart-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-panel { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .report-metric-grid, .report-center-grid { grid-template-columns: minmax(0,1fr); }
  .dashboard-card-wide { grid-column: auto; }
  .quick-actions-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: sticky; top: 0; z-index: 30; padding: 12px; gap: 10px; }
  .sidebar-toggle { top: 14px; right: 14px; }
  .admin-sidebar-logo { width: 190px; }
  .sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sidebar a { min-height: 38px; justify-content: center; padding: 9px 10px; font-size: .86rem; text-align: center; }
  .sidebar-security { display: none; }
  .sidebar-collapsed .sidebar { min-height: 74px; overflow: hidden; align-items: flex-start; }
  .sidebar-collapsed .admin-sidebar-logo { width: 56px; height: 46px; object-fit: cover; object-position: left center; }
  .sidebar-collapsed .sidebar nav { display: none; }
  .admin-main { padding: 16px 12px 28px; }
  .admin-topbar { gap: 12px; margin-bottom: 16px; }
  .admin-topbar h1 { font-size: 1.35rem; }
  .dashboard-card { padding: 16px; margin-bottom: 14px; }
  .dashboard-card h2 { font-size: 1.65rem; margin-bottom: 14px; }
  .business-overview-head { display: grid; }
  .business-controls { justify-content: flex-start; }
  .table-wrap { width: 100%; }
  .table-wrap table { min-width: 680px; }
  .row-actions { flex-wrap: nowrap; }
  .row-actions .btn { min-height: 38px; padding: 8px 12px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: sticky; }
  .nav { min-height: 72px; align-items: center; flex-wrap: wrap; gap: 10px; }
  .brand-mark img { width: 184px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav-links { display: none; width: 100%; align-items: stretch; gap: 8px; padding: 8px 0 14px; }
  .nav-links.open { display: grid; }
  .nav-links a, .nav-links .btn { width: 100%; min-height: 44px; justify-content: center; }
  .nav-links a:not(.btn) { border: 1px solid var(--line); background: #fff; }
  .trust-strip, .why-row, .kpi-grid, .action-rail-inner { grid-template-columns: 1fr; }
  .admin-main .kpi-grid { grid-template-columns: 1fr; }
  .admin-main .kpi-grid .kpi-aum { display: grid; align-content: center; }
  .admin-main .kpi-grid .kpi-aum strong { font-size: 1.6rem; }
  .section { padding: 48px 0; }
  .hero { background: linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 54%,rgba(255,255,255,.98) 100%), url("/assets/images/home-hero-bg.png") center top / cover no-repeat; }
  .hero-inner { min-height: auto; padding: 34px 0 52px; gap: 24px; }
  .hero-copy-block { max-width: none; }
  .eyebrow { font-size: .68rem; padding: 7px 10px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr; margin-top: 20px; }
  .trust-row { align-items: flex-start; }
  .trust-avatar { width: 44px; height: 44px; }
  .card { padding: 18px; }
  .lead-card h3 { font-size: 1.3rem; }
  .trust-strip { margin-top: 0; padding-top: 18px; }
  .trust-item, .why-item { padding: 18px; }
  .kpi-grid { gap: 12px; }
  .kpi { min-height: 82px; padding: 16px; }
  .kpi strong { font-size: 1.45rem; }
  .admin-topbar { align-items: stretch; }
  .admin-topbar h1, .admin-topbar h2 { width: 100%; }
  .toolbar { width: 100%; justify-content: stretch; }
  .toolbar .btn { flex: 1 1 150px; min-width: 0; }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-actions .btn { width: 100%; }
  .form-grid { gap: 12px; }
  input, select, textarea { min-height: 44px; }
  .dashboard-card h2 { font-size: 1.45rem; }
  .business-overview-card { padding: 16px; }
  .business-tabs { gap: 18px; font-size: .88rem; }
  .business-controls { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); width: 100%; gap: 8px; }
  .business-controls select { width: 100%; min-width: 0; font-size: .82rem; }
  .vertical-chart { grid-template-columns: 42px minmax(0,1fr); min-height: 280px; }
  .chart-bars { gap: 18px; padding: 0 4%; }
  .vertical-bar { width: 30px; }
  .vertical-bar-label { font-size: .78rem; }
  .allocation-card { padding: 16px; }
  .donut-layout { grid-template-columns: 1fr; justify-items: center; }
  .donut-chart { width: min(76vw, 230px); }
  .donut-legend { width: 100%; }
  .donut-legend-row { grid-template-columns: 12px minmax(0, 1fr) auto; }
  .donut-legend-row em { grid-column: 2 / -1; }
  .chart-card-head { align-items: stretch; }
  .fund-allocation-card .bar-row { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .fund-allocation-card .bar-track { grid-column: 1 / -1; height: 14px; }
  .bar-row { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .bar-value { text-align: left; }
  .bar-track { height: 14px; }
  .quick-actions-grid { gap: 10px; }
  h1 { font-size: 2.25rem; line-height: 1.06; }
  .section-title { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .action-rail { padding: 18px 0; }
  .rail-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: 14px 4px; }
  .footer-logo { width: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-disclaimer, .footer-bottom { grid-column: auto; }
  .footer-bottom { display: grid; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 11px 14px; font-size: .88rem; }
}
