/* Peer Mentorship Network */
.ms-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.ms-header { margin-bottom: 1.25rem; }
.ms-header-title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 700; color: #e6edf3; }
.ms-header-sub { font-size: .78rem; color: #8b949e; margin-top: .2rem; }
.ms-section-label { font-size: .72rem; color: #8b949e; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .65rem; }
.ms-my-profile-section { margin-bottom: 1.5rem; }
.ms-no-profile { color: #8b949e; font-size: .82rem; background: #161b22; border: 1px dashed #30363d; border-radius: 8px; padding: 1rem; }
.ms-reg-btns { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.ms-reg-btn-mentee { padding: .38rem .9rem; background: rgba(88,166,255,.1); border: 1px solid rgba(88,166,255,.3); border-radius: 6px; color: #58a6ff; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.ms-reg-btn-mentor { padding: .38rem .9rem; background: rgba(188,140,255,.1); border: 1px solid rgba(188,140,255,.3); border-radius: 6px; color: #bc8cff; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.ms-my-card { background: #161b22; border: 1px solid #21262d; border-radius: 9px; padding: .9rem; }
.ms-my-hdr { display: flex; align-items: center; gap: .6rem; margin-bottom: .2rem; }
.ms-my-name { font-size: .92rem; font-weight: 700; color: #e6edf3; }
.ms-role-badge { font-size: .65rem; padding: .12rem .42rem; background: rgba(188,140,255,.1); color: #bc8cff; border: 1px solid rgba(188,140,255,.2); border-radius: 20px; font-weight: 700; }
.ms-my-meta { font-size: .72rem; color: #8b949e; margin-bottom: .3rem; }
.ms-my-bio { font-size: .78rem; color: #8b949e; line-height: 1.6; }
.ms-my-conns { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.ms-conn-chip { font-size: .68rem; padding: .12rem .45rem; background: rgba(63,185,80,.1); color: #3fb950; border: 1px solid rgba(63,185,80,.2); border-radius: 20px; }
.ms-edit-btn { margin-top: .65rem; padding: .32rem .75rem; background: #21262d; border: 1px solid #30363d; border-radius: 6px; color: #8b949e; font-size: .78rem; cursor: pointer; font-family: inherit; }
.ms-filters { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.ms-search { flex: 1; min-width: 200px; padding: .4rem .7rem; background: #161b22; border: 1px solid #30363d; border-radius: 7px; color: #c9d1d9; font-size: .82rem; font-family: inherit; outline: none; transition: border-color .15s; }
.ms-search:focus { border-color: #bc8cff; }
.ms-filter-sel { padding: .4rem .6rem; background: #161b22; border: 1px solid #30363d; border-radius: 7px; color: #c9d1d9; font-size: .82rem; font-family: inherit; outline: none; }
.ms-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .75rem; }
.ms-empty { color: #484f58; font-size: .85rem; padding: 2rem; text-align: center; }
.ms-card { background: #161b22; border: 1px solid #21262d; border-radius: 10px; padding: .9rem; display: flex; flex-direction: column; gap: .45rem; transition: border-color .15s; }
.ms-card:hover { border-color: rgba(188,140,255,.3); }
.ms-card-hdr { display: flex; gap: .6rem; align-items: flex-start; }
.ms-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,#6e40c9,#bc8cff); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.ms-meta { min-width: 0; }
.ms-name { font-size: .88rem; font-weight: 700; color: #e6edf3; line-height: 1.3; }
.ms-role-loc { font-size: .7rem; color: #8b949e; margin-top: .1rem; }
.ms-inst { font-size: .68rem; color: #484f58; }
.ms-bio { font-size: .75rem; color: #8b949e; line-height: 1.6; }
.ms-focus-row { display: flex; flex-wrap: wrap; gap: .3rem; }
.ms-focus-tag { font-size: .65rem; font-weight: 600; padding: .1rem .38rem; background: rgba(188,140,255,.08); color: #bc8cff; border: 1px solid rgba(188,140,255,.2); border-radius: 4px; }
.ms-skills-row { display: flex; flex-wrap: wrap; gap: .25rem; }
.ms-skill { font-size: .65rem; color: #8b949e; background: #21262d; padding: .1rem .38rem; border-radius: 3px; font-family: 'Cascadia Code','Fira Mono',monospace; }
.ms-footer { display: flex; align-items: center; gap: .5rem; margin-top: .15rem; flex-wrap: wrap; justify-content: space-between; }
.ms-slots { font-size: .72rem; font-weight: 700; }
.ms-langs { font-size: .65rem; color: #484f58; }
.ms-connect-btn { padding: .3rem .7rem; background: rgba(188,140,255,.1); border: 1px solid rgba(188,140,255,.3); border-radius: 6px; color: #bc8cff; font-size: .75rem; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }
.ms-connect-btn:hover { background: rgba(188,140,255,.2); }
.ms-conn-badge { font-size: .68rem; font-weight: 600; padding: .12rem .45rem; border-radius: 20px; }
.ms-conn-pending { background: rgba(227,179,65,.1); color: #e3b341; }
.ms-conn-connected { background: rgba(63,185,80,.1); color: #3fb950; }
/* Modal */
.ms-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ms-modal { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 1.5rem; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; }
.ms-modal-title { font-size: .92rem; font-weight: 700; color: #e6edf3; }
.ms-modal-field { display: flex; flex-direction: column; gap: .2rem; }
.ms-modal-label { font-size: .72rem; color: #8b949e; font-weight: 600; }
.ms-modal-input { padding: .38rem .65rem; background: #0d1117; border: 1px solid #30363d; border-radius: 5px; color: #e6edf3; font-size: .82rem; font-family: inherit; outline: none; resize: vertical; transition: border-color .15s; }
.ms-modal-input:focus { border-color: #bc8cff; }
.ms-modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .25rem; }
.ms-modal-cancel { padding: .35rem .8rem; background: #21262d; border: 1px solid #30363d; border-radius: 6px; color: #8b949e; font-size: .8rem; cursor: pointer; font-family: inherit; }
.ms-modal-save { padding: .35rem .8rem; background: #6e40c9; border: none; border-radius: 6px; color: #fff; font-size: .8rem; font-weight: 600; cursor: pointer; font-family: inherit; }
