/* One card anatomy for the member and their venture. */
body #main .personal-identity-grid {gap:16px;align-items:stretch}
body #main .self-card {
  --self-accent:#2f60b5;--self-soft:#eaf2ff;--self-rest:#f8fbff;--self-border:#c7d9f4;--self-shadow:#244f8a12;
  min-height:260px;padding:20px;border:1px solid var(--self-border);border-radius:12px;
  background:linear-gradient(120deg,var(--self-soft),var(--self-rest) 74%,#fff);
  box-shadow:0 5px 18px var(--self-shadow),0 1px 3px #11152b05;gap:0;
}
body #main .startup-self {--self-accent:#ab582c;--self-soft:#fff1e5;--self-rest:#fffaf6;--self-border:#e9d1ba;--self-shadow:#99551c10}
body #main .self-card::before {height:3px;background:var(--self-accent);opacity:.8}
body #main .self-card-heading {font-size:11px;line-height:1.6;letter-spacing:.045em;color:var(--self-accent);gap:8px;row-gap:5px}
body #main .self-card-heading svg {width:14px;height:14px}
body #main .self-visibility {font-size:10px;line-height:1.6;font-weight:400;color:#68768b;white-space:nowrap}
body #main .self-identity {margin-top:18px;gap:13px;align-items:center;min-height:72px}
body #main .self-card .self-avatar {width:60px;height:60px;flex:0 0 60px;border-radius:12px;font-size:22px;background:var(--self-soft);color:var(--self-accent);border:1px solid var(--self-border);box-shadow:0 0 0 3px #ffffffb3,0 3px 8px var(--self-shadow)}
body #main .self-avatar .member-photo {width:100%;height:100%;object-fit:cover;object-position:center 35%}
body #main .self-avatar>svg {width:22px;height:22px}
body #main .self-identity>div {min-width:0}
body #main .self-identity h2 {font-size:20px;line-height:1.4;letter-spacing:-.3px;margin:0 0 3px}
body #main .self-identity .self-subtitle {font-size:12px;line-height:1.55;margin:0 0 4px;color:#536782;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body #main .self-identity>div>span {font-size:11px;line-height:1.5;margin:0;gap:4px}
body #main .self-identity>div>span svg {width:11px;height:11px;flex-shrink:0}
body #main .self-specialties {min-height:36px;margin:auto 0 0;padding:16px 0 0;gap:6px;align-content:start}
body #main .self-specialties>span {font-size:10px;line-height:1.5;padding:4px 7px;border:1px solid var(--self-border);border-radius:5px;background:#ffffffb3;color:#536782}
body #main .self-progress {padding-top:10px;margin:0}
body #main .self-progress :is(p,span,strong) {font-size:10px;line-height:1.5}
body #main .self-progress progress {margin:5px 0}
body #main .self-actions {margin-top:0;padding-top:18px;gap:16px;align-items:center;flex-direction:row;flex-wrap:wrap}
body #main .self-actions .primary {font-size:11px;line-height:1.5;min-height:34px;padding:8px 11px;border-radius:7px;background:var(--self-accent);border-color:var(--self-accent);gap:8px}
body #main .self-actions .text-link {font-size:11px;line-height:1.5;min-height:34px;color:var(--self-accent)}
body #main .self-actions svg {width:13px;height:13px}

/* Both columns share a heading track and stretch to the same bottom edge. */
body #main .personal-lower {align-items:stretch}
body #main :is(.personal-events,.personal-agenda) {display:flex;flex-direction:column;gap:0;min-width:0}
body #main .personal-section-title {min-height:28px;margin:0 0 12px;align-items:center;flex-wrap:nowrap}
body #main .personal-section-title .text-link {margin:0;white-space:nowrap}
body #main .event-preview-grid {flex:1}
body #main .agenda-panel {flex:1;display:flex;flex-direction:column}
body #main .agenda-meeting {flex:1}
body #main .agenda-row {flex-shrink:0}

@media(max-width:1100px) {
  body #main .personal-agenda {display:flex;gap:0}
  body #main .agenda-panel {flex:initial}
}
@media(max-width:700px) {
  body #main .personal-identity-grid {grid-template-columns:1fr;gap:12px}
  body #main .self-card {min-height:246px;padding:18px}
  body #main .self-identity {min-height:0;margin-top:12px}
  body #main .self-identity h2 {font-size:18px}
  body #main .self-card .self-avatar {width:52px;height:52px;flex-basis:52px}
  body #main .self-specialties {margin-top:0}
  body #main .self-actions {gap:12px;padding-top:12px}
  body #main .self-actions :is(.primary,.text-link) {min-height:40px}
}
