:root {
  --ink: #16251f;
  --muted: #718079;
  --line: #e7ebe8;
  --cream: #f7f8f4;
  --green: #153c2f;
  --lime: #c9f36c;
  --white: #fff;
  --shadow: 0 18px 55px rgba(32, 54, 45, .10);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: var(--green); color: white; padding: 31px 22px 20px; display: flex; flex-direction: column; z-index: 20; }
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 10px; font: 700 21px Manrope, sans-serif; letter-spacing: -.6px; padding: 0 10px 34px; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); color: #183e30; font-size: 16px; }
.main-nav { display: grid; gap: 5px; }
.nav-link { min-height: 44px; border-radius: 9px; color: #b9c8c2; text-decoration: none; display: flex; align-items: center; gap: 13px; padding: 0 12px; font-size: 14px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,.09); }
.nav-link.active { box-shadow: inset 3px 0 var(--lime); }
.nav-icon { font-size: 18px; width: 20px; text-align: center; font-weight: 400; }
.nav-count { margin-left: auto; border-radius: 10px; background: var(--lime); color: #17392d; font-size: 10px; padding: 2px 7px; }
.sidebar-card { margin-top: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; padding: 17px; background: linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.spark { color: var(--lime); margin-bottom: 11px; }
.sidebar-card strong { font: 700 14px Manrope; }
.sidebar-card p { color: #afc0b9; font-size: 11px; line-height: 1.55; margin: 7px 0 13px; }
.sidebar-card button { padding: 0; border: 0; background: none; color: var(--lime); font-size: 11px; font-weight: 700; cursor: pointer; }
.sidebar-card button span { margin-left: 6px; }
.sidebar-footer { border-top: 1px solid rgba(255,255,255,.1); margin: 18px -2px 0; padding-top: 18px; }
.profile-button { border: 0; background: none; color: white; width: 100%; display: flex; align-items: center; text-align: left; padding: 0 5px; cursor: pointer; }
.mini-avatar { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; background: #d6dfd8; color: #254338; font-size: 10px; font-weight: 800; margin-right: 9px; }
.profile-button strong, .profile-button small { display: block; }
.profile-button strong { font-size: 11px; }.profile-button small { color: #96aaa2; font-size: 9px; margin-top: 2px; }.dots { margin-left: auto; color: #82978f; font-size: 9px; letter-spacing: 1px; }
main { grid-column: 2; min-width: 0; }
.topbar { height: 76px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 46px; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.search-wrap { width: min(430px, 48vw); display: flex; align-items: center; gap: 10px; color: #8d9893; }
.search-wrap input { border: 0; outline: 0; width: 100%; font-size: 12px; background: transparent; color: var(--ink); }
.search-wrap kbd { border: 1px solid #e2e6e3; border-radius: 5px; padding: 3px 6px; background: #f8f9f7; font-size: 9px; color: #909a96; white-space: nowrap; }
.top-actions { display: flex; gap: 13px; align-items: center; }
.icon-button { border: 0; background: none; font-size: 20px; position: relative; cursor: pointer; }.notification-dot { position: absolute; width: 5px; height: 5px; background: #e97d66; border-radius: 50%; right: 1px; top: 1px; }
.invite-button { background: var(--green); border: 0; border-radius: 7px; color: white; padding: 10px 14px; font-size: 10px; font-weight: 700; cursor: pointer; }.invite-button span { color: var(--lime); margin-left: 6px; }
.content { max-width: 1220px; margin: auto; padding: 47px 48px 55px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.2px; font-size: 9px; color: #829089; font-weight: 700; display: flex; align-items: center; gap: 9px; }.eyebrow span { width: 22px; height: 1px; background: #93a199; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding: 17px 0 50px; }
h1 { font: 700 clamp(36px, 4vw, 55px)/1.04 Manrope, sans-serif; letter-spacing: -3px; margin: 0 0 17px; color: #173229; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: #7b8d83; }
.hero-copy { max-width: 525px; color: #718078; font-size: 14px; line-height: 1.6; margin: 0; }
.market-pulse { min-width: 340px; background: white; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px rgba(32,50,42,.04); }
.pulse-head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: 8px; font-weight: 800; letter-spacing: 1.4px; }.pulse-head small { color: #5f8a73; letter-spacing: 1px; }.pulse-head small:before { content:""; display: inline-block; width:5px; height:5px; border-radius:50%; background:#67b383; margin-right:5px; }
.indices { display: grid; grid-template-columns: repeat(3,1fr); padding-top: 12px; }.indices > div { padding: 0 10px; border-right: 1px solid var(--line); }.indices > div:first-child { padding-left: 0; }.indices > div:last-child { border: 0; padding-right: 0; }.indices span,.indices strong,.indices small { display:block; }.indices span { color:#89948f;font-size:8px; }.indices strong { font:700 12px Manrope;margin:4px 0 2px; }.indices small { font-size:8px; }.up{color:#408568}.down{color:#d06f60}
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 21px; }.section-heading h2 { font: 700 20px Manrope; letter-spacing: -.5px; margin: 0 0 4px; }.section-heading p { color: #89948f; font-size: 10px; margin: 0; }.view-all { border: 0; background: none; color: #375b4d; font-size: 10px; font-weight: 700; cursor: pointer; }.view-all span { margin-left: 6px; }
.filter-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }.filter-pills { display: flex; gap: 7px; flex-wrap: wrap; }.filter,.sort-button { border: 1px solid #e0e5e1; background: #fbfcfa; border-radius: 20px; padding: 7px 12px; color: #77837d; font-size: 9px; cursor: pointer; }.filter:hover,.filter.active { background: #e4eedf; border-color: #d8e6d3; color: #274a3c; font-weight: 700; }.sort-button { border-radius: 7px; background: white; }.sort-button span { margin-left: 7px; }
.investor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; min-height: 300px; }
.investor-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 17px; transition: .25s ease; cursor: pointer; position: relative; overflow: hidden; }.investor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5dfd8; }.investor-card:after { content:""; position:absolute; inset: auto 0 0; height:2px; background:var(--accent); opacity:0; transition:.2s; }.investor-card:hover:after { opacity:1; }
.card-head { display:flex; align-items:center; }.avatar { width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:white;font:700 16px Manrope;margin-right:12px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2); }.avatar span { position:absolute;z-index:0; }.avatar img { width:100%;height:100%;object-fit:cover;object-position:center;display:block;position:relative;z-index:1; }.avatar:after { content:"";position:absolute;z-index:2;inset:4px;border:1px solid rgba(255,255,255,.3);border-radius:50%;pointer-events:none; }.investor-name { font:700 14px Manrope;margin:0 0 3px;letter-spacing:-.2px; }.investor-firm { color:#85918b;font-size:9px; }.follow-button { width:27px;height:27px;margin-left:auto;border:1px solid #dfe5e1;border-radius:50%;background:white;cursor:pointer;color:#537064;font-size:16px;display:grid;place-items:center;position:relative;z-index:2; }.follow-button.followed { background:var(--green);color:var(--lime);border-color:var(--green); }
.thesis { color:#697871;font-size:10px;line-height:1.55;min-height:47px;margin:14px 0 13px; }.tags { display:flex;gap:5px;margin-bottom:14px;flex-wrap:wrap; }.tag { background:#f2f5f1;border-radius:4px;color:#617269;padding:4px 6px;font-size:8px;font-weight:600; }
.card-stats { border-top:1px solid var(--line);padding-top:12px;display:grid;grid-template-columns:1fr 1fr; }.card-stats > div+div { border-left:1px solid var(--line);padding-left:13px; }.card-stats span,.card-stats strong { display:block; }.card-stats span { color:#96a09b;font-size:8px;margin-bottom:3px; }.card-stats strong { font:700 11px Manrope; }.positive{color:#3d8064!important}.negative{color:#c96d5d!important}
.empty { grid-column:1/-1;display:grid;place-items:center;text-align:center;background:white;border:1px dashed #d9e0dc;border-radius:12px;color:#839088;padding:70px; }.empty strong { display:block;color:var(--ink);margin-bottom:6px; }
.insight-banner { margin-top:22px;background:#e9f1e4;border-radius:10px;padding:14px 17px;display:flex;align-items:center;gap:12px; }.insight-icon { width:30px;height:30px;border-radius:7px;background:var(--green);color:var(--lime);display:grid;place-items:center; }.insight-banner span,.insight-banner strong{display:block}.insight-banner div span{font-size:7px;letter-spacing:1.2px;color:#73867b;margin-bottom:3px}.insight-banner div strong{font-size:10px}.insight-banner button{margin-left:auto;border:0;background:none;font-size:9px;color:#2e5445;font-weight:700;cursor:pointer}
.legal-note { max-width: 760px; margin: 13px auto 0; color: #8b9690; font-size: 8px; line-height: 1.55; text-align: center; }
.secondary-page { min-height: calc(100vh - 76px); }
.page-heading { padding: 6px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.page-heading h1 { font-size: 45px; margin: 15px 0 9px; }
.page-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.back-link { border: 0; background: none; padding: 0; margin: 0 0 28px; color: #667870; font-size: 10px; font-weight: 700; cursor: pointer; }
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 8px 0 33px; border-bottom: 1px solid var(--line); }
.profile-avatar { width: 82px; height: 82px; font-size: 24px; flex: none; }
.profile-copy .eyebrow { margin-bottom: 10px; }
.profile-copy h1 { font-size: 38px; letter-spacing: -2px; margin: 0 0 7px; }
.profile-copy p { color: var(--muted); font-size: 11px; margin: 0; }
.profile-follow { margin-left: auto; padding: 12px 18px; }
.detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 15px; padding-top: 22px; }
.detail-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.detail-card > span, .detail-card-head span { color: #8b9891; font-size: 8px; letter-spacing: 1.3px; font-weight: 700; }
.detail-thesis h2 { font: 600 20px/1.45 Manrope; letter-spacing: -.5px; margin: 12px 0 22px; }
.detail-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.detail-card-head h3 { font: 700 15px Manrope; margin: 5px 0 0; }
.detail-card-head small { color: var(--muted); font-size: 8px; background: #f2f5f1; border-radius: 5px; padding: 5px 7px; }
.detail-holdings { grid-column: 1 / -1; }
.detail-holdings .holdings { grid-template-columns: repeat(2, 1fr); }
.activity-list { display: grid; gap: 10px; }
.activity-disclaimer { margin: -10px 0 15px; padding: 11px 13px; border: 1px solid #dfe8dc; background: #f2f6ed; color: #687a70; border-radius: 9px; font-size: 9px; line-height: 1.45; }
.activity-item { display: flex; align-items: center; gap: 15px; background: white; border: 1px solid var(--line); border-radius: 11px; padding: 16px 18px; cursor: pointer; transition: .2s ease; }
.activity-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.activity-avatar { width: 45px; height: 45px; font-size: 13px; flex: none; }
.activity-body { min-width: 0; }
.activity-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.activity-meta span { background: #eaf0e6; color: #496457; border-radius: 4px; padding: 3px 5px; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.activity-meta .activity-signal.increase { background: #e3f3df; color: #28753e; }
.activity-meta .activity-signal.decrease { background: #f8e5e1; color: #a34b3f; }
.activity-meta strong { color: #43584e; font-size: 8px; }
.activity-item h3 { font: 700 12px Manrope; margin: 0 0 4px; }
.activity-item p { color: var(--muted); font-size: 9px; line-height: 1.45; margin: 0; }
.activity-time { display:flex;align-items:center;gap:8px;margin-top:8px;color:#87938d;font-size:8px; }
.activity-time i { width:3px;height:3px;border-radius:50%;background:#aeb8b3; }
.activity-arrow { margin-left: auto; color: #5c7469; }
.watchlist-table { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.watchlist-head, .watchlist-row { display: grid; grid-template-columns: 1.1fr 1fr .65fr; align-items: center; gap: 20px; padding: 12px 18px; }
.watchlist-head { background: #f1f4ef; color: #89958f; font-size: 7px; letter-spacing: 1px; font-weight: 700; }
.watchlist-row { width: 100%; border: 0; border-top: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.watchlist-row:hover { background: #fafbf8; }
.watchlist-row > span { display: flex; align-items: center; gap: 10px; font-size: 10px; }
.watchlist-row > span:nth-child(2), .watchlist-row > span:nth-child(3) { display: block; }
.watchlist-row .ticker { display: inline-grid; width: 36px; height: 32px; place-items: center; background: #eef2ec; border-radius: 7px; font-size: 8px; }
.watchlist-row strong, .watchlist-row small { display: block; }
.watchlist-row small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.drawer-backdrop { position:fixed;inset:0;background:rgba(12,31,24,.28);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:.3s;z-index:40; }.drawer-backdrop.open{opacity:1;pointer-events:auto}.portfolio-drawer{position:fixed;right:0;top:0;height:100vh;width:min(520px,100%);background:#fbfcf9;z-index:41;transform:translateX(100%);transition:transform .35s cubic-bezier(.22,.8,.23,1);box-shadow:-20px 0 60px rgba(14,40,30,.15);overflow-y:auto;padding:34px}.portfolio-drawer.open{transform:translateX(0)}.drawer-close{position:absolute;right:24px;top:20px;width:34px;height:34px;border:1px solid var(--line);background:white;border-radius:50%;font-size:22px;cursor:pointer}.drawer-top{display:flex;align-items:center;padding:18px 0 24px;border-bottom:1px solid var(--line)}.drawer-top .avatar{width:66px;height:66px;font-size:20px}.drawer-top h2{font:800 22px Manrope;margin:0 0 4px}.drawer-top p{margin:0;color:var(--muted);font-size:11px}.drawer-follow{margin-left:auto;border:0;background:var(--green);color:white;border-radius:7px;padding:10px 14px;font-size:10px;font-weight:700;cursor:pointer}.drawer-section{padding:24px 0;border-bottom:1px solid var(--line)}.drawer-section h3{font:700 13px Manrope;margin:0 0 6px}.drawer-section>p{color:var(--muted);font-size:10px;line-height:1.6;margin:0}.allocation{display:flex;align-items:center;gap:22px;margin-top:18px}.donut{width:128px;height:128px;border-radius:50%;position:relative;background:conic-gradient(#183f31 0 38%,#87a584 38% 63%,#c7d8b5 63% 81%,#e4b174 81% 100%)}.donut:after{content:"";position:absolute;inset:27px;background:#fbfcf9;border-radius:50%}.legend{display:grid;gap:9px;flex:1}.legend-row{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:9px}.legend-dot{width:7px;height:7px;border-radius:2px}.holdings{margin-top:14px;display:grid;gap:8px}.holding{background:white;border:1px solid var(--line);border-radius:8px;padding:11px 12px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px}.ticker{width:34px;height:34px;border-radius:8px;background:#eef2ec;display:grid;place-items:center;font:800 9px Manrope}.holding strong,.holding span{display:block}.holding strong{font-size:10px}.holding span{font-size:8px;color:var(--muted);margin-top:2px}.weight{text-align:right}.weight strong{font:700 11px Manrope}.source-note{background:#f0f4ec;border-radius:8px;padding:12px;margin-top:18px;font-size:9px!important;color:#687a70!important}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#173c2f;color:white;padding:11px 16px;border-radius:8px;font-size:10px;opacity:0;pointer-events:none;transition:.25s;z-index:60;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.market-pulse{display:none}.investor-grid{grid-template-columns:repeat(2,1fr)}.hero-row{padding-bottom:40px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:fixed;inset:auto 0 0;width:auto;height:66px;padding:8px 14px;flex-direction:row;align-items:center;z-index:30}.brand,.sidebar-card,.sidebar-footer{display:none}.main-nav{display:flex;width:100%;justify-content:space-around}.nav-link{font-size:0;display:grid;place-items:center;padding:0 15px}.nav-link .nav-icon{font-size:20px}.nav-count{display:none}main{padding-bottom:70px}.topbar{height:62px;padding:0 18px}.invite-button{display:none}.search-wrap{width:85%}.content{padding:31px 18px}.hero-row{padding:14px 0 36px}h1{font-size:39px;letter-spacing:-2px}.investor-grid{grid-template-columns:1fr}.filter-row{align-items:flex-start}.sort-button{display:none}.section-heading{align-items:center}.insight-banner button{display:none}.portfolio-drawer{padding:25px 20px}.allocation{align-items:flex-start}.donut{width:110px;height:110px;flex:none}.page-heading h1{font-size:38px}.profile-hero{align-items:flex-start;flex-wrap:wrap}.profile-avatar{width:62px;height:62px}.profile-copy{width:calc(100% - 82px)}.profile-copy h1{font-size:28px}.profile-follow{margin-left:80px}.detail-grid{grid-template-columns:1fr}.detail-holdings{grid-column:auto}.detail-holdings .holdings{grid-template-columns:1fr}.watchlist-head{display:none}.watchlist-row{grid-template-columns:1fr 1fr;padding:14px}.watchlist-row>span:nth-child(2){display:none}.activity-item{align-items:flex-start}.activity-arrow{display:none}}
