/* Network (T3, module pro): a professional network. Three columns, white cards on a warm grey page, blue accent. */
/* P9 scheme tokens: light = the colours these rules always used, dark = the professional network in its own dark theme. */
:root {
  --network-blue-text: #0a66c2;
  --network-green-text: #01754f;
  --network-line: #fff;
  --network-line-2: #e8e8e8;
  --network-line-3: #a8a8a8;
  --network-surface: #fff;
  --network-surface-2: #ebf4fd;
  --network-surface-3: #f2f2f2;
  --network-surface-4: #f3f2ef;
  --network-surface-5: #edf3f8;
  --network-surface-6: #c7c7c7;
  --network-text: rgba(0,0,0,.9);
  --network-text-2: rgba(0,0,0,.75);
  --network-text-3: rgba(0,0,0,.6);
  --network-text-4: #1d1d1d;
  --network-text-5: #555;
  --network-text-6: #666;
}
[data-scheme="dark"] {
  --network-blue-text: #71b7fb;
  --network-green-text: #6ebe98;
  --network-line: #3a3a3a;
  --network-line-2: #444444;
  --network-line-3: #656565;
  --network-surface: #1b1f23;
  --network-surface-2: #252b30;
  --network-surface-3: #2b2b2b;
  --network-surface-4: #000000;
  --network-surface-5: #272b2f;
  --network-surface-6: #575757;
  --network-text: rgba(174, 174, 174, 0.9);
  --network-text-2: rgba(174, 174, 174, 0.75);
  --network-text-3: rgba(174, 174, 174, 0.6);
  --network-text-4: #e2e2e2;
  --network-text-5: #bbbbbb;
  --network-text-6: #b1b1b1;
}
.pr-app { --pr-b: #0a66c2; --pr-bg: #f4f2ee; --pr-line: #e0dfdc; --pr-muted: rgba(0,0,0,.6); background: var(--pr-bg); border-radius: 12px; overflow: hidden; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--network-text); min-height: calc(100dvh - 150px); }
.pr-top { display: flex; align-items: center; gap: 14px; background: var(--network-surface); border-bottom: 1px solid var(--pr-line); padding: 0 24px; height: 54px; position: sticky; top: 0; z-index: 3; }
.pr-brand { display: flex; align-items: center; }
.pr-search { display: flex; align-items: center; gap: 8px; background: var(--network-surface-5); border-radius: 4px; padding: 7px 10px; width: 280px; color: var(--pr-muted); }
.pr-search input { border: 0; background: none; outline: none; width: 100%; font: inherit; font-size: 14px; }
.pr-top nav { margin-left: auto; display: flex; height: 100%; }
.pr-top nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 76px; border: 0; background: none; color: var(--pr-muted); font-size: 12px; border-bottom: 2px solid transparent; }
.pr-top nav button.is-active { color: var(--network-text); border-bottom-color: rgba(0,0,0,.9); }
.pr-cols { display: grid; grid-template-columns: 225px minmax(0, 555px) 300px; gap: 24px; justify-content: center; padding: 24px 20px 40px; align-items: start; }
.pr-card { background: var(--network-surface); border-radius: 8px; box-shadow: 0 0 0 1px rgba(140,140,140,.2); overflow: hidden; }
.pr-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pr-left, .pr-right { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 78px; }
.pr-me { text-align: center; padding-bottom: 14px; }
.pr-me-cover { height: 56px; background: linear-gradient(120deg, #a0b4b7, #6f8f94); }
.pr-me .avatar, .pr-me img { margin: -32px auto 6px; border: 2px solid var(--network-line); border-radius: 50%; display: block; }
.pr-me h3 { font-size: 16px; margin: 4px 12px 2px; }
.pr-me p { font-size: 12px; color: var(--pr-muted); margin: 0 12px 4px; }
.pr-me small { color: var(--pr-muted); font-size: 12px; }
.pr-pages { padding: 12px; } .pr-pages h3, .pr-news h3, .pr-suggest h3 { font-size: 15px; margin: 0 0 8px; }
.pr-pages button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 4px; border: 0; background: none; text-align: left; font-size: 13px; font-weight: 600; border-radius: 4px; color: var(--network-text-2); }
.pr-pages button:hover { background: var(--network-surface-4); }
.pr-compose { padding: 12px 16px 6px; }
.pr-compose > div:first-child { display: flex; gap: 10px; align-items: center; }
.pr-compose input { flex: 1; border: 1px solid var(--network-line-3); border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 14px; font-weight: 600; outline: none; }
.pr-compose input::placeholder { color: var(--network-text-3); }
.pr-compose-row { display: flex; align-items: center; justify-content: space-around; padding-top: 6px; }
.pr-compose-row span { display: flex; align-items: center; gap: 8px; color: var(--pr-muted); font-size: 14px; font-weight: 600; padding: 10px 8px; }
.pr-compose-row span:nth-child(1) svg { color: #378fe9; } .pr-compose-row span:nth-child(2) svg { color: #c37d16; } .pr-compose-row span:nth-child(3) svg { color: #e06847; }
.pr-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--pr-b); color: #fff; border: 1px solid var(--pr-b); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 14px; }
.pr-btn.ghost { background: var(--network-surface); color: var(--pr-b); }
.pr-btn.sm { padding: 4px 12px; font-size: 13px; border-color: rgba(0,0,0,.6); color: var(--network-text-2); }
.pr-sortline { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pr-muted); margin: 0; }
.pr-sortline span { flex: 1; height: 1px; background: var(--network-surface-6); }
.pr-reposted { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pr-muted); margin: 0; padding: 8px 16px; border-bottom: 1px solid var(--pr-line); }
.pr-reposted b { color: var(--network-text); }
.pr-head { display: flex; gap: 8px; padding: 12px 16px 0; align-items: flex-start; }
.pr-av { border: 0; background: none; padding: 0; flex: none; }
.pr-av.is-co img, .pr-av.is-co .avatar { border-radius: 4px !important; }
.pr-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pr-name { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.pr-name:hover strong { color: var(--pr-b); text-decoration: underline; }
.pr-ver { display: inline-grid; place-items: center; width: 14px; height: 14px; background: rgba(0,0,0,.6); color: #fff; border-radius: 3px; }
.pr-head small { font-size: 12px; color: var(--pr-muted); display: flex; align-items: center; gap: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-follow { border: 0; background: none; color: var(--pr-b); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; }
.pr-follow:hover { background: var(--network-surface-2); }
.pr-text { padding: 10px 16px 8px; font-size: 14px; line-height: 1.45; word-break: break-word; }
.pr-tag { color: var(--pr-b); font-weight: 600; }
.pr-more { border: 0; background: none; color: var(--pr-muted); font: inherit; padding: 0; }
.pr-more:hover { color: var(--pr-b); text-decoration: underline; }
.pr-img { display: block; width: 100%; max-height: 520px; object-fit: cover; background: #000; }
.pr-embed { margin: 0 16px 8px; border: 1px solid var(--pr-line); border-radius: 8px; overflow: hidden; }
.pr-embed .pr-head { padding: 10px 12px 0; } .pr-embed .pr-text { padding: 8px 12px; }
.pr-counts { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; font-size: 12px; color: var(--pr-muted); }
.pr-counts > span:first-child { display: flex; align-items: center; }
.pr-counts .pr-badge + .pr-badge { margin-left: -4px; }
.pr-counts button { border: 0; background: none; color: inherit; font: inherit; padding: 0; }
.pr-counts button:hover { color: var(--pr-b); text-decoration: underline; }
.pr-badge { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; border: 1.5px solid var(--network-line); box-sizing: content-box; margin-right: 2px; }
.pr-bar { display: flex; justify-content: space-around; border-top: 1px solid var(--pr-line); margin: 0 12px; padding: 2px 0; }
.pr-bar > button, .pr-react > button { display: flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--pr-muted); font-weight: 600; font-size: 14px; padding: 12px 8px; border-radius: 4px; }
.pr-bar > button:hover, .pr-react > button:hover { background: var(--network-surface-4); }
.pr-react { position: relative; display: flex; }
.pr-react > button.is-on { font-weight: 700; }
.pr-picker { position: absolute; bottom: 100%; left: 0; display: none; gap: 4px; background: var(--network-surface); border-radius: 999px; padding: 6px 8px; box-shadow: 0 4px 12px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.08); z-index: 4; }
.pr-react:hover .pr-picker, .pr-react:focus-within .pr-picker { display: flex; }
.pr-picker button { border: 0; background: none; padding: 0; transition: transform .12s; }
.pr-picker button:hover { transform: translateY(-4px) scale(1.15); }
.pr-comments { padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.pr-cform { display: flex; gap: 8px; align-items: center; }
.pr-cform input { flex: 1; border: 1px solid var(--network-line-3); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; outline: none; }
.pr-cform button { border: 0; background: var(--pr-b); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.pr-c { display: flex; gap: 8px; align-items: flex-start; }
.pr-c-bubble { flex: 1; background: var(--network-surface-3); border-radius: 0 8px 8px 8px; padding: 8px 12px; font-size: 13.5px; }
.pr-c-bubble b { display: block; font-size: 13.5px; } .pr-c-bubble small { color: var(--pr-muted); font-size: 12px; } .pr-c-bubble p { margin: 6px 0 0; line-height: 1.4; }
.pr-back { border: 0; background: none; color: var(--pr-muted); font-weight: 600; display: flex; align-items: center; gap: 4px; padding: 0 0 4px; }
.pr-back svg { transform: rotate(180deg); }
.pr-company { padding-bottom: 0; }
.pr-cover { height: 140px; }
.pr-co-logo { margin: -48px 0 0 24px; }
.pr-co-logo img, .pr-co-logo .avatar { border-radius: 8px !important; border: 4px solid var(--network-line); background: var(--network-surface); }
.pr-company h1 { font-size: 24px; margin: 10px 24px 2px; }
.pr-tagline { margin: 0 24px 4px; font-size: 15px; }
.pr-co-meta { margin: 0 24px 12px; font-size: 13px; color: var(--pr-muted); }
.pr-co-btns { display: flex; gap: 8px; padding: 0 24px 14px; flex-wrap: wrap; }
.pr-co-tabs { display: flex; border-top: 1px solid var(--pr-line); padding: 0 12px; }
.pr-co-tabs button { border: 0; background: none; padding: 14px 12px; font-weight: 600; font-size: 14px; color: var(--pr-muted); border-bottom: 2px solid transparent; }
.pr-co-tabs button.is-active { color: var(--network-green-text); border-bottom-color: #01754f; }
.pr-about { padding: 16px 24px; } .pr-about h2, .pr-sect { font-size: 19px; margin: 0 0 8px; } .pr-about p { font-size: 14px; line-height: 1.5; margin: 0; }
.pr-sect { margin: 8px 0 0; padding: 4px 16px 0; }
.pr-news { padding: 12px 16px; } .pr-news ul { margin: 0; padding-left: 16px; }
.pr-news li { font-size: 13px; padding: 4px 0; } .pr-news li b { display: block; font-weight: 600; } .pr-news li small { color: var(--pr-muted); font-size: 12px; }
.pr-suggest { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.pr-sg { display: flex; gap: 10px; align-items: flex-start; } .pr-sg > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; } .pr-sg small { font-size: 12px; color: var(--pr-muted); }
.pr-none { color: var(--pr-muted); text-align: center; padding: 24px; }
@media (max-width: 1180px) { .pr-cols { grid-template-columns: 225px minmax(0, 1fr); } .pr-right { display: none; } }
@media (max-width: 900px) {
  .pr-app { border-radius: 0; }
  .pr-cols { grid-template-columns: minmax(0, 1fr); padding: 6px 0 30px; gap: 6px; }
  .pr-left { display: none; }
  .pr-card { border-radius: 0; }
  .pr-top { padding: 0 12px; height: 50px; }
  .pr-search { flex: 1; width: auto; }
  .pr-top nav button { min-width: 44px; } .pr-top nav button span { display: none; } .pr-top nav button:nth-child(n+3) { display: none; }
  .pr-compose-row span:nth-child(3) { display: none; }
  .pr-bar > button, .pr-react > button { flex-direction: column; gap: 2px; font-size: 12px; padding: 8px 4px; }
  .pr-back { padding-left: 12px; }
}
@media (max-width: 720px) { .pr-app { margin: 0 -14px; } }
/* definition lists: profile stats as label left / number right, company facts as label over value */
.pr-me dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; margin: 12px 0 0; padding: 12px 16px 0; border-top: 1px solid var(--network-line-2); font-size: 12px; text-align: left; }
.pr-me dt { color: var(--network-text-6); font-weight: 600; }
.pr-me dd { margin: 0; color: var(--network-blue-text); font-weight: 700; text-align: right; }
.pr-about dl { margin: 14px 0 0; font-size: 14px; }
.pr-about dt { font-weight: 700; color: var(--network-text-4); margin-top: 12px; }
.pr-about dt:first-child { margin-top: 0; }
.pr-about dd { margin: 2px 0 0; color: var(--network-text-5); }

/* P9 dark scheme: the module tokens above, the professional network in its own dark theme */
[data-scheme="dark"] .pr-app {
  --pr-b: #5aa0f7;
  --pr-bg: #000000;
  --pr-line: #4a4946;
  --pr-muted: rgba(174, 174, 174, 0.6);
}
