* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: #f4f2ee; color: rgba(0,0,0,0.9); -webkit-font-smoothing: antialiased;
}
a { color: #0a66c2; text-decoration: none; font-weight: 600; }

/* Nav */
.nav { background: #fff; border-bottom: 1px solid #e8e8e8; height: 52px; display: flex; align-items: center; justify-content: center; position: sticky; top: 0; z-index: 100; }
.nav-inner { width: 1128px; display: flex; align-items: center; gap: 8px; }
.nav-logo { width: 34px; height: 34px; }
.nav-logo svg { width: 34px; height: 34px; }
.nav-search-wrapper { position: relative; }
.nav-search-wrapper svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: #666; }
.nav-search { width: 280px; padding: 7px 12px 7px 34px; background: #eef3f8; border: none; border-radius: 4px; font-size: 14px; color: #666; }
.nav-icons { display: flex; margin-left: auto; }
.nav-icon { display: flex; flex-direction: column; align-items: center; padding: 0 12px; color: #666; font-size: 10px; gap: 2px; text-decoration: none; position: relative; font-weight: 400; }
.nav-icon svg { width: 24px; height: 24px; fill: #666; stroke: none; }
.nav-icon.recruiter svg { fill: #0a66c2; stroke: none; }
.nav-me-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid #e0e0e0; }
.badge-green { background: #057642 !important; }
.nav-icon .badge { position: absolute; top: -2px; right: 6px; background: #cc1016; color: #fff; font-size: 9px; font-weight: 700; border-radius: 8px; padding: 1px 5px; line-height: 1.2; }
.nav-icon.recruiter span { color: #0a66c2; font-weight: 600; }
.nav-divider { width: 1px; height: 36px; background: #e0e0e0; margin: 0 4px; }

/* Layout */
.main { max-width: 1128px; margin: 0 auto; padding: 20px 0; display: grid; grid-template-columns: 790px 1fr; gap: 24px; }
.left-col { display: flex; flex-direction: column; gap: 8px; }

/* Cards */
.card { background: #fff; border: 1px solid #d4d4d4; border-radius: 8px; overflow: hidden; }
.section-card { padding: 20px 24px; }
.section-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.section-body { font-size: 14px; line-height: 1.6; color: rgba(0,0,0,0.9); }

/* Profile card */
.cover { height: 198px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.cover-generic { background: linear-gradient(135deg, #7fc8d8 0%, #c5d5c3 50%, #d4c9a8 100%); height: 198px; }
.photo-wrapper { margin: -84px 0 0 24px; width: 152px; height: 152px; }
.photo { width: 152px; height: 152px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; }
.badge-row { display: flex; gap: 8px; position: absolute; right: 24px; top: 218px; }
.li-badge { width: 28px; height: 28px; background: #0a66c2; border: 2px solid #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; font-style: italic; }
.bell-icon { width: 28px; height: 28px; border: 1px solid #666; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bell-icon svg { width: 16px; height: 16px; fill: #666; }

.info { padding: 12px 24px 0; display: flex; }
.info-left { flex: 1; }
.info-right { display: flex; flex-direction: column; gap: 10px; }
.name-row { display: flex; align-items: center; gap: 6px; }
.name { font-size: 24px; font-weight: 600; }
.verified-badge { width: 18px; height: 18px; }
.degree { font-size: 16px; color: rgba(0,0,0,0.6); font-weight: 400; }
.headline { font-size: 16px; margin-top: 2px; }
.location { font-size: 14px; color: rgba(0,0,0,0.6); margin-top: 4px; }
.entity-row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(0,0,0,0.9); text-decoration: none; }
.entity-logo { width: 32px; height: 32px; border-radius: 2px; object-fit: contain; }
.entity-logo-placeholder { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0; }
.entity-logo-placeholder.dartmouth { background: #00693e; }
.entity-logo-placeholder.hbs { background: #a51c30; font-size: 10px; }

.followers-row { padding: 6px 24px 0; font-size: 14px; }
.connections-row { padding: 6px 24px 0; font-size: 14px; color: rgba(0,0,0,0.6); }
.mutuals { display: flex; align-items: center; gap: 4px; padding: 6px 24px 0; font-size: 13px; color: rgba(0,0,0,0.6); }
.mutual-face-placeholder { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; background: #b8c9db; }
.mutuals-text { margin-left: 10px; }

.actions { padding: 14px 24px 0; display: flex; gap: 8px; }
.btn { padding: 6px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; line-height: 1.4; }
.btn-primary { background: #0a66c2; color: #fff; border: none; }
.btn-outline { background: #fff; color: #0a66c2; border: 1px solid #0a66c2; }
.btn-ghost { background: #fff; color: rgba(0,0,0,0.6); border: 1px solid rgba(0,0,0,0.6); }

/* ★ INSIGHT BANNER ★ */
.insight-banner { margin: 14px 24px 20px; background: #f8fafb; border: 1px solid #dce6f0; border-radius: 8px; overflow: hidden; }
.banner-row { display: flex; align-items: baseline; padding: 10px 16px; gap: 12px; }
.banner-row + .banner-row { border-top: 1px solid #edf1f5; }
.b-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; min-width: 72px; flex-shrink: 0; }
.b-label-common { color: #0a66c2; }
.b-label-snapshot { color: rgba(0,0,0,0.45); }
.b-label-now { color: #057642; }
.b-content { font-size: 13.5px; color: rgba(0,0,0,0.9); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-bold { font-weight: 700; }
.b-dot { color: #666; margin: 0 6px; font-size: 14px; }
.b-arrow { color: #999; margin: 0 1px; }
.row-now { background: #f6faf7; }

/* Featured */
.featured-label { font-size: 12px; color: rgba(0,0,0,0.6); margin-bottom: 12px; }
.featured-newsletter { display: flex; gap: 20px; padding: 16px; background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; }
.featured-newsletter-icon { width: 80px; height: 80px; background: #f0f0f0; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #aaa; font-family: Georgia, serif; flex-shrink: 0; }
.featured-newsletter-name { font-size: 16px; font-weight: 600; }
.featured-newsletter-meta { font-size: 13px; color: rgba(0,0,0,0.6); margin-top: 2px; }
.featured-newsletter-desc { font-size: 13px; color: rgba(0,0,0,0.6); margin-top: 6px; line-height: 1.4; }

/* Activity */
.activity-tabs { display: flex; gap: 0; margin: 12px 0 16px; }
.activity-tab { padding: 6px 14px; border-radius: 16px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; background: transparent; color: rgba(0,0,0,0.6); }
.activity-tab.active { background: #01754f; color: #fff; }
.activity-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.activity-post { border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; padding: 12px; }
.activity-post-header { display: flex; gap: 8px; margin-bottom: 8px; }
.activity-post-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.activity-post-text { font-size: 13px; line-height: 1.5; margin-bottom: 8px; }
.activity-post-image { border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.activity-post-article { padding: 10px; background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 4px; margin-bottom: 8px; }
.activity-post-engagement { display: flex; justify-content: space-between; font-size: 12px; color: rgba(0,0,0,0.6); padding-top: 6px; border-top: 1px solid #f0f0f0; }

/* Experience */
.exp-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.exp-item:last-child { border-bottom: none; }
.exp-logo { width: 48px; height: 48px; border-radius: 4px; object-fit: contain; flex-shrink: 0; }
.exp-logo-placeholder { width: 48px; height: 48px; border-radius: 4px; background: #e8e8e8; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #666; flex-shrink: 0; }
.exp-title { font-size: 14px; font-weight: 600; }
.exp-company { font-size: 14px; }
.exp-dates { font-size: 13px; color: rgba(0,0,0,0.6); }
.exp-location { font-size: 13px; color: rgba(0,0,0,0.6); }
.exp-desc { font-size: 13px; color: rgba(0,0,0,0.6); margin-top: 4px; }

/* Education */
.edu-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.edu-item:last-child { border-bottom: none; }
.edu-logo { width: 48px; height: 48px; border-radius: 4px; object-fit: contain; flex-shrink: 0; }

/* Sidebar */
.right-col { display: flex; flex-direction: column; gap: 12px; }
.sidebar-promo-card { padding: 16px; position: relative; }
.sidebar-promo-label { position: absolute; top: 8px; right: 12px; font-size: 11px; color: rgba(0,0,0,0.6); }
.sidebar-follow-btn { width: 100%; padding: 6px 0; border-radius: 16px; border: 1px solid #0a66c2; background: #fff; color: #0a66c2; font-size: 14px; font-weight: 600; cursor: pointer; }
.sidebar-profiles { padding: 16px 16px 8px; }
.sidebar-profiles h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.sidebar-item { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.sidebar-item:last-child { border-bottom: none; margin-bottom: 0; }
.sidebar-face { width: 56px; height: 56px; border-radius: 50%; background: #ddd; flex-shrink: 0; }
.sidebar-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.sidebar-title { color: rgba(0,0,0,0.6); font-size: 12px; line-height: 1.4; margin-top: 2px; }
.sidebar-btn { margin-top: 8px; padding: 4px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; background: #fff; color: rgba(0,0,0,0.6); border: 1px solid rgba(0,0,0,0.6); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
