.people-suggestions{padding:0}
.people-current-account{margin:0 0 28px}
.people-current-account .people-identity{gap:12px;min-height:48px}
.people-current-account .people-identity-text strong{font-size:14px;max-width:none}
.people-current-account .people-identity-text>span{font-size:12px;max-width:none}
.people-suggestions-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.people-suggestions-heading h2{font-size:14px;margin:0;font-weight:600;color:var(--text)}
.people-suggestions .people-row{border:0;padding:9px 0;gap:12px}
.people-suggestions .people-identity{gap:10px}
.people-suggestions .people-follow{background:none!important;color:var(--text)!important;padding:8px 0!important;min-width:0!important;min-height:44px;border:0!important;font-size:11px!important}
.people-suggestions-list .people-identity-text strong{max-width:100%;font-size:14px;font-weight:700;line-height:1.35}
.people-suggestions-list .people-identity-text>span{max-width:100%;font-size:11px}


/* Let recommendation identities use all space released by compact actions. */
.people-suggestions-list .people-identity-text{flex:1}

.people-suggestions-heading h2{min-width:0}

.people-suggestions-heading .people-text-button{flex:none}

/* Recommendations rail and discovery dialog. Content logic lives in recommendations.js. */
.recommendations-all{transition:color .16s ease;min-height:44px}
.recommendations-all:hover{color:var(--muted)}
.recommendations-all:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:4px}
.recommendations-skeleton{display:grid;gap:0;pointer-events:none}
.recommendations-skeleton-row{display:flex;align-items:center;gap:12px;min-height:62px;padding:9px 0}
.recommendations-skeleton-avatar{display:block;width:40px;height:40px;flex:none;border-radius:50%;background:var(--button-bg)}
.recommendations-skeleton-lines{display:grid;gap:8px;min-width:0;flex:1}
.recommendations-skeleton-lines>span{display:block;height:12px;width:72%;max-width:110px;border-radius:4px;background:var(--button-bg)}
.recommendations-skeleton-lines>span+span{width:85%;height:9px;opacity:.65}
.recommendations-skeleton-action{display:block;width:78px;height:10px;flex:none;margin:0 11px;border-radius:4px;background:var(--button-bg)}
.recommendations-status{font-size:13px;line-height:1.5;color:var(--muted);padding:16px 0;overflow-wrap:anywhere}
.recommendations-status:empty{display:none}
.recommendations-status .btn{margin-top:10px}
.recommendations-dialog{width:min(520px,100%);height:min(660px,80dvh);max-height:calc(100dvh - 48px);border:0;border-radius:12px;background:var(--surface);box-shadow:0 24px 80px #0005}
.recommendations-dialog .modal-header{padding:16px 22px;border-bottom:1px solid var(--line);gap:12px}
.recommendations-dialog .modal-header h2{font-size:18px;font-weight:700;line-height:1.3}
.recommendations-dialog .recommendations-body{flex:1;min-height:0;padding:4px 22px 16px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin}
.recommendations-dialog .recommendations-list .people-row{min-height:76px;padding:12px 0;gap:16px;border:0}
.recommendations-dialog .recommendations-list .people-identity{min-width:0;gap:12px}
.recommendations-dialog .recommendations-list .people-identity-text{flex:1}
.recommendations-dialog .recommendations-list .people-identity-text strong{font-size:14px;font-weight:700;line-height:1.35;max-width:100%}
.recommendations-dialog .recommendations-list .people-identity-text>span{font-size:12px;max-width:100%}
.recommendations-dialog .recommendations-skeleton-row{min-height:76px;padding:12px 0;gap:16px}
.recommendations-dialog .recommendations-skeleton-avatar{width:48px;height:48px}
@media(max-width:600px){
 .recommendations-dialog{height:min(680px,85dvh);border-radius:12px}
 .recommendations-dialog .modal-header{padding:12px 14px}
 .recommendations-dialog .modal-header h2{font-size:17px}
 .recommendations-dialog .recommendations-body{padding:2px 14px 12px}
 .recommendations-dialog .recommendations-list .people-row{gap:10px}
 .recommendations-dialog .recommendations-list .people-identity{gap:10px}
}
@media(prefers-reduced-motion:reduce){.recommendations-all{transition:none}}

/* Reference rail: quiet gray pills, fixed hit area in both states. */
:root .people-suggestions .people-follow{
 --follow-ink:#141414;--follow-fill:#f1f2f4;
 position:relative;isolation:isolate;width:114px;min-width:114px!important;flex:0 0 114px;min-height:44px;height:44px;
 padding:0 10px!important;font-size:12px!important;font-weight:600!important;
 background:transparent!important;color:var(--follow-ink)!important;
 border:0!important;box-shadow:none!important;filter:none;border-radius:8px;
 transition:color .16s ease;
}
:root .people-suggestions .people-follow::before{content:"";position:absolute;inset:5px 0;z-index:-1;background:var(--follow-fill);border-radius:8px;transition:background .16s ease}
:root .people-suggestions .people-follow[aria-pressed="true"]{--follow-ink:#383842;--follow-fill:#e7e8eb}
:root[data-theme="dark"] .people-suggestions .people-follow{--follow-ink:#f4f4f4;--follow-fill:#2b2b31}
:root[data-theme="dark"] .people-suggestions .people-follow[aria-pressed="true"]{--follow-ink:#d3d3dc;--follow-fill:#35353f}
@media(hover:hover){
 :root .people-suggestions .people-follow:hover{--follow-fill:#e6e7eb}
 :root .people-suggestions .people-follow[aria-pressed="true"]:hover{--follow-fill:#dcdde2}
 :root[data-theme="dark"] .people-suggestions .people-follow:hover{--follow-fill:#35353f}
 :root[data-theme="dark"] .people-suggestions .people-follow[aria-pressed="true"]:hover{--follow-fill:#42424d}
}
@media(prefers-reduced-motion:reduce){:root .people-suggestions .people-follow,:root .people-suggestions .people-follow::before{transition:none}}

.startup-recommendation-account .startup-avatar{width:48px;height:48px}
.startup-recommendation-heading{height:44px}
.startup-recommendation-heading>span{display:block;width:170px;height:14px;border-radius:4px;background:var(--button-bg)}
.startup-recommendation-heading>span+span{width:26px;height:11px}

/* Slim, quiet scrollbar; preserve native wheel, touch and keyboard scrolling. */
.recommendations-dialog{--recommendations-scroll-thumb:#b7bdc7;--recommendations-scroll-hover:#929ba9}
:root[data-theme="dark"] .recommendations-dialog{--recommendations-scroll-thumb:#626b7a;--recommendations-scroll-hover:#818b9b}
.recommendations-dialog .recommendations-body{scrollbar-width:thin;scrollbar-color:var(--recommendations-scroll-thumb) transparent}
.recommendations-dialog .recommendations-body::-webkit-scrollbar{width:6px;height:6px}
.recommendations-dialog .recommendations-body::-webkit-scrollbar-track{background:transparent}
.recommendations-dialog .recommendations-body::-webkit-scrollbar-thumb{background:var(--recommendations-scroll-thumb);border-radius:8px}
.recommendations-dialog .recommendations-body::-webkit-scrollbar-thumb:hover{background:var(--recommendations-scroll-hover)}
.recommendations-dialog .recommendations-body::-webkit-scrollbar-button{display:none;width:0;height:0}
.recommendations-dialog .recommendations-body::-webkit-scrollbar-corner{background:transparent}
@media(hover:hover){.recommendations-dialog .recommendations-body:hover{scrollbar-color:var(--recommendations-scroll-hover) transparent}}
@media(forced-colors:active){.recommendations-dialog .recommendations-body{scrollbar-color:auto}}

/* Keep shared profile previews inside the modal's focus scope, outside its edges. */
.recommendations-dialog{overflow:visible}
.recommendations-dialog .recommendations-body{border-radius:0 0 12px 12px}
@media(max-width:600px){.recommendations-dialog .recommendations-body{border-radius:0 0 12px 12px}}

/* Reference sidebar spacing, including reserved first paint. */
.people-current-account{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:4px 0 8px;min-height:64px}
.people-current-account .people-identity{flex:1;min-width:0;gap:12px;min-height:52px}
.people-current-account .people-identity-text{min-width:0;overflow:hidden}
.people-current-account .people-identity-text strong{font-size:15px;font-weight:600}
.people-current-account .people-identity-text>span{font-size:13px}
.recommendations-my-profile{flex:none;display:flex;align-items:center;min-height:44px;color:#2b5fd9;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none}
.recommendations-my-profile:hover{color:#204bb3}
.recommendations-my-profile:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:4px}
:root[data-theme="dark"] .recommendations-my-profile{color:#9abaff}
.people-suggestions-heading{margin-bottom:6px;min-height:44px}
.people-suggestions .people-row{padding:8px 0;margin:0;border-radius:0;min-height:66px;gap:12px}
.people-suggestions .people-row:hover{background:transparent}
.people-suggestions .people-identity{gap:12px}
.people-suggestions-list .people-identity>.avatar{width:44px!important;height:44px!important}
.people-suggestions-list .people-identity-text strong{font-size:14px;font-weight:600}
.people-suggestions-list .people-identity-text>span{font-size:12px}
.people-suggestions .people-footnote{font-size:12px;line-height:1.8;margin-top:18px;color:var(--muted)}
.startup-recommendation-account .startup-avatar{width:52px;height:52px}
.recommendations-skeleton-row{min-height:66px;padding:8px 0}
.recommendations-skeleton-avatar{width:44px;height:44px}
.recommendations-skeleton-action{width:114px;height:34px;margin:0;border-radius:8px}
@media(prefers-reduced-motion:reduce){.people-suggestions .people-row{transition:none}}
