/* =========================================================
   PawkedIn — styles  (light + dark theme via [data-theme])
   ========================================================= */
:root {
  --li-blue: #0a66c2;
  --li-blue-hover: #004182;
  --li-bg: #f4f2ee;
  --li-card: #ffffff;
  --li-text: rgba(0,0,0,0.9);
  --li-text-soft: rgba(0,0,0,0.6);
  --li-text-faint: rgba(0,0,0,0.45);
  --li-border: #e0dfdc;
  --li-green: #057642;
  --li-gold: #c4961a;
  --li-hover: rgba(0,0,0,0.08);
  --li-input: #edf3f8;
  --li-tint: #f3f9ff;
  --radius: 8px;
  --shadow: 0 0 0 1px rgba(0,0,0,0.08);
  --nav-h: 52px;
}
[data-theme="dark"] {
  --li-bg: #1b1f23;
  --li-card: #1d2226;
  --li-text: rgba(255,255,255,0.9);
  --li-text-soft: rgba(255,255,255,0.6);
  --li-text-faint: rgba(255,255,255,0.4);
  --li-border: #38393b;
  --li-blue: #71b7fb;
  --li-blue-hover: #9cc9fb;
  --li-hover: rgba(255,255,255,0.08);
  --li-input: #2c3136;
  --li-tint: #25303a;
  --shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--li-bg); color: var(--li-text);
  font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #b9b9b9; border-radius: 6px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #45484c; }

/* ---------- TOP NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; background: var(--li-card);
  border-bottom: 1px solid var(--li-border); height: var(--nav-h);
  display: flex; align-items: center; box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.nav-inner { width: 100%; max-width: 1128px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.logo { display: flex; align-items: center; cursor: pointer; user-select: none; }
.logo .mark { background: var(--li-blue); color: #fff; width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; font-size: 20px; font-weight: 700; }
[data-theme="dark"] .logo .mark { color: #1d2226; }
.logo .mark:hover { transform: rotate(-6deg) scale(1.05); }
.search { position: relative; flex: 0 1 280px; }
.search input { width: 100%; background: var(--li-input); border: none; border-radius: 4px; padding: 7px 10px 7px 36px; font-size: 14px; outline: none; color: var(--li-text); }
.search input:focus { box-shadow: 0 0 0 1px var(--li-blue); }
.search .ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--li-text-soft); font-size: 16px; }
.nav-spacer { flex: 1; }
.nav-items { display: flex; align-items: center; height: 100%; }
.nav-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 78px; height: var(--nav-h); color: var(--li-text-faint); font-size: 12px; position: relative; border-bottom: 2px solid transparent; }
.nav-btn .ni { font-size: 22px; line-height: 1; }
.nav-btn:hover, .nav-btn.active { color: var(--li-text); }
.nav-btn.active { border-bottom-color: var(--li-text); }
.nav-btn .badge { position: absolute; top: 4px; right: 16px; background: #cb112d; color: #fff; font-size: 10px; font-weight: 600; border-radius: 10px; padding: 1px 5px; min-width: 16px; text-align: center; border: 1px solid var(--li-card); }
.nav-btn .badge:empty, .nav-btn .badge[data-n="0"] { display: none; }
.nav-divider { width: 1px; height: 36px; background: var(--li-border); margin: 0 6px; }
.nav-me { display: flex; flex-direction: column; align-items: center; min-width: 72px; height: var(--nav-h); justify-content: center; color: var(--li-text-faint); font-size: 12px; }
.nav-me img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* real dog photos are not square — cover-fit every avatar so nothing distorts */
.pcard .avatar, .composer img, .post .head img, .prof-avatar, .net-card img,
.msg-list .item img, .msg-thread .thead img, .avatar-pick img, .promo .box img,
#navAvatar, #composerAvatar, #leftAvatar { object-fit: cover; background: var(--li-input); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--li-text-soft); margin-left: 4px; }
.icon-btn:hover { background: var(--li-hover); }

/* ---------- LAYOUT ---------- */
.page { max-width: 1128px; margin: 24px auto; padding: 0 16px; display: grid; grid-template-columns: 225px 1fr 300px; gap: 24px; align-items: start; }
.page.jobs-layout { grid-template-columns: 225px 1fr; }
.page.single { grid-template-columns: 1fr; max-width: 760px; }
.page.profile-layout { grid-template-columns: 1fr 300px; max-width: 1000px; }
.col-left, .col-right { position: sticky; top: 76px; }
.card { background: var(--li-card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card + .card { margin-top: 8px; }
.section-title { padding: 16px 16px 0; font-size: 16px; font-weight: 600; }

/* ---------- PROFILE CARD (left rail) ---------- */
.pcard .banner { height: 56px; background: linear-gradient(120deg, #a0b4c8, #d6c7a1); }
.pcard .body { padding: 0 12px 12px; text-align: center; }
.pcard .avatar { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--li-card); margin: -36px auto 0; object-fit: cover; display: block; background: #ddd; cursor: pointer; }
.pcard h2 { font-size: 16px; margin-top: 8px; cursor: pointer; }
.pcard h2:hover { text-decoration: underline; }
.pcard .headline { font-size: 12px; color: var(--li-text-soft); margin-top: 2px; padding: 0 4px; }
.pcard .sub { font-size: 11px; color: var(--li-text-faint); margin-top: 6px; }
.pcard hr { border: none; border-top: 1px solid var(--li-border); margin: 12px 0; }
.pcard .stat { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; cursor: pointer; }
.pcard .stat:hover span:last-child { text-decoration: underline; }
.pcard .stat span:first-child { color: var(--li-text-faint); }
.pcard .stat span:last-child { color: var(--li-blue); font-weight: 600; }
.pcard .premium { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--li-text-soft); padding: 8px 0 0; cursor: pointer; }
.pcard .premium .gold { width: 14px; height: 14px; background: linear-gradient(135deg, #e8b923, var(--li-gold)); border-radius: 2px; }
.pcard .myitems { font-size: 12px; font-weight: 600; padding: 8px 0 0; cursor: pointer; }
.pcard .myitems:hover { color: var(--li-blue); }

.leftnav { font-size: 13px; }
.leftnav a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--li-text-soft); cursor: pointer; }
.leftnav a:hover { background: var(--li-hover); color: var(--li-text); }
.leftnav a .ic { width: 18px; text-align: center; }

/* ---------- FEED ---------- */
.composer { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.composer .top { display: flex; gap: 8px; align-items: center; }
.composer img { width: 48px; height: 48px; border-radius: 50%; }
.composer .fakeinput { flex: 1; text-align: left; border: 1px solid var(--li-text-faint); border-radius: 35px; padding: 12px 16px; color: var(--li-text-soft); font-weight: 600; font-size: 14px; background: transparent; }
.composer .fakeinput:hover { background: var(--li-hover); }
.composer .actions { display: flex; justify-content: space-around; }
.composer .actions button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 4px; color: var(--li-text-soft); font-weight: 600; font-size: 14px; }
.composer .actions button:hover { background: var(--li-hover); }

.feed-divider { display: flex; align-items: center; gap: 8px; padding: 0 16px; margin: 4px 0; color: var(--li-text-faint); font-size: 12px; }
.feed-divider::before, .feed-divider::after { content: ""; flex: 1; border-top: 1px solid var(--li-border); }

.post { padding: 12px 0 0; }
.post.mine { box-shadow: 0 0 0 1px var(--li-blue), 0 0 0 4px rgba(10,102,194,0.12); }
.post .head { display: flex; gap: 8px; padding: 0 16px; }
.post .head img { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.post .head .meta { flex: 1; min-width: 0; }
.post .head .name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.post .head .verified { color: var(--li-blue); font-size: 12px; }
.post .head .deg { color: var(--li-text-faint); font-weight: 400; }
.post .head .head2 { font-size: 12px; color: var(--li-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post .head .time { font-size: 12px; color: var(--li-text-faint); }
.post .body { padding: 8px 16px 0; font-size: 14px; white-space: pre-wrap; }
.post .stats { display: flex; justify-content: space-between; padding: 8px 16px; font-size: 12px; color: var(--li-text-soft); border-bottom: 1px solid var(--li-border); }
.post .stats .reacts { display: flex; align-items: center; gap: 2px; }
.post .stats .emoji { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font-size: 10px; margin-left: -3px; border: 1px solid var(--li-card); background: var(--li-card); }
.post .pactions { display: flex; justify-content: space-around; padding: 4px 8px; }
.post .pactions button { display: flex; align-items: center; gap: 6px; padding: 10px; border-radius: 4px; color: var(--li-text-soft); font-weight: 600; font-size: 14px; flex: 1; justify-content: center; }
.post .pactions button:hover { background: var(--li-hover); }
.post .pactions button.liked { color: var(--li-blue); }
.post .comments { padding: 4px 16px 12px; }
.comment { display: flex; gap: 8px; padding: 8px 0; }
.comment img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment .cbody { flex: 1; min-width: 0; }
.comment .cbubble { background: var(--li-input); border-radius: 10px; padding: 8px 12px; }
.comment .cname { font-weight: 600; font-size: 13px; }
.comment .cname .cdeg { color: var(--li-text-faint); font-weight: 400; }
.comment .chead { font-size: 11px; color: var(--li-text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comment .ctext { font-size: 14px; margin-top: 3px; }
.comment .cmeta { font-size: 12px; color: var(--li-text-soft); font-weight: 600; padding: 4px 12px; display: flex; align-items: center; gap: 4px; }
.comment .cmeta .emoji { font-size: 11px; }

/* ---------- RIGHT RAIL ---------- */
.news h3 { font-size: 16px; padding: 12px 16px 0; }
.news ul { list-style: none; padding: 8px 16px 12px; }
.news li { padding: 6px 0; font-size: 13px; position: relative; padding-left: 14px; cursor: pointer; }
.news li::before { content: "•"; position: absolute; left: 0; color: var(--li-text-faint); }
.news li .title { font-weight: 600; }
.news li .sub { font-size: 12px; color: var(--li-text-faint); }
.news li:hover .title { color: var(--li-blue); }
.promo { padding: 16px; text-align: center; }
.promo .l { font-size: 12px; color: var(--li-text-faint); margin-bottom: 8px; }
.promo .box { border: 1px solid var(--li-border); border-radius: 8px; padding: 14px; }
.promo .box img { width: 48px; height: 48px; border-radius: 8px; }
.promo .box p { font-size: 13px; margin: 8px 0; }

/* ---------- BUTTONS ---------- */
.btn-pri { background: var(--li-blue); color: #fff; border-radius: 24px; padding: 6px 16px; font-weight: 600; font-size: 14px; }
[data-theme="dark"] .btn-pri { color: #1d2226; }
.btn-pri:hover { background: var(--li-blue-hover); }
.btn-pri:disabled { opacity: .55; cursor: default; }
.btn-out { border: 1px solid var(--li-blue); color: var(--li-blue); border-radius: 24px; padding: 5px 15px; font-weight: 600; font-size: 14px; }
.btn-out:hover { background: var(--li-tint); box-shadow: inset 0 0 0 1px var(--li-blue); }
.btn-gray { border: 1px solid var(--li-text-soft); color: var(--li-text-soft); border-radius: 24px; padding: 5px 15px; font-weight: 600; font-size: 14px; }
.btn-gray:hover { background: var(--li-hover); }
.btn-gold { background: linear-gradient(135deg, #e8b923, var(--li-gold)); color: #3a2c00; border-radius: 24px; padding: 6px 16px; font-weight: 700; font-size: 14px; }
.btn-gold:hover { filter: brightness(1.05); }

/* ---------- JOBS PAGE ---------- */
.jobs-head { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.jobs-head h1 { font-size: 20px; }
.jobs-head .count { color: var(--li-green); font-weight: 600; }
[data-theme="dark"] .jobs-head .count { color: #4fd18b; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--li-text-soft); border-radius: 16px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--li-text); display: flex; align-items: center; gap: 5px; background: var(--li-card); }
.chip:hover { background: var(--li-hover); }
.chip.active { background: #01754f; color: #fff; border-color: #01754f; }
.jobsearch input { width: 100%; padding: 9px 12px; border: 1px solid var(--li-text-soft); border-radius: 6px; font-size: 14px; outline: none; background: var(--li-card); color: var(--li-text); }
.jobsearch input:focus { box-shadow: 0 0 0 1px var(--li-blue); border-color: var(--li-blue); }
.joblist { }
.jobrow { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--li-border); cursor: pointer; position: relative; }
.jobrow:hover { background: var(--li-tint); }
.jobrow.sel { background: var(--li-tint); box-shadow: inset 3px 0 0 var(--li-blue); }
.jobrow .clogo { width: 48px; height: 48px; border-radius: 4px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px; }
.jobrow .info { flex: 1; min-width: 0; }
.jobrow .jt { color: var(--li-blue); font-weight: 600; font-size: 16px; }
.jobrow:hover .jt { text-decoration: underline; }
.jobrow .co { font-size: 14px; }
.jobrow .loc { font-size: 13px; color: var(--li-text-soft); }
.jobrow .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; align-items: center; }
.jobrow .verify { font-size: 12px; color: var(--li-text-soft); margin-top: 4px; }
.jobrow .promoted { font-size: 12px; color: var(--li-text-faint); margin-top: 4px; }
.jobrow .close { position: absolute; top: 10px; right: 10px; color: var(--li-text-faint); font-size: 18px; opacity: 0; padding: 4px; border-radius: 50%; line-height: 1; }
.jobrow:hover .close { opacity: 1; }
.jobrow .close:hover { background: var(--li-hover); color: var(--li-text); }
.easyapply { font-size: 12px; color: var(--li-text-soft); display: flex; align-items: center; gap: 3px; }
.easyapply .li-dot { width: 14px; height: 14px; background: var(--li-blue); border-radius: 3px; display: inline-grid; place-items: center; color: #fff; font-size: 9px; }
[data-theme="dark"] .easyapply .li-dot { color: #1d2226; }
.match-bar { height: 5px; background: var(--li-border); border-radius: 3px; overflow: hidden; margin-top: 6px; max-width: 160px; }
.match-bar > div { height: 100%; background: linear-gradient(90deg, #01754f, #4fd18b); }
.load-more { padding: 16px; text-align: center; }

/* status badges */
.status { font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 3px; }
.status.applied { background: rgba(0,0,0,0.08); color: var(--li-text-soft); }
.status.viewed { background: #e3f0fb; color: #0a66c2; }
.status.interview { background: #e3f6ec; color: #057642; }
.status.offer { background: linear-gradient(135deg,#fbe9b0,#f1cf6b); color: #6b4e00; }
.status.rejected { background: #fbe3e3; color: #b42318; }
[data-theme="dark"] .status.viewed { background:#1e344a; color:#71b7fb; }
[data-theme="dark"] .status.interview { background:#10341f; color:#4fd18b; }

/* job detail */
.jobdetail { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; }
.jd-head { padding: 24px 24px 16px; }
.jd-head .clogo { width: 54px; height: 54px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.jd-head h1 { font-size: 24px; line-height: 1.25; }
.jd-head .co-line { font-size: 14px; margin-top: 6px; }
.jd-head .meta-line { font-size: 13px; color: var(--li-text-soft); margin-top: 4px; }
.jd-head .insights { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.jd-head .insight { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.jd-head .insight .ic { width: 18px; }
.jd-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.jd-body { padding: 0 24px 24px; }
.jd-body h3 { font-size: 18px; margin: 18px 0 8px; }
.jd-body p, .jd-body li { font-size: 14px; margin-bottom: 8px; }
.jd-body ul { padding-left: 20px; }
.jd-empty { padding: 60px 24px; text-align: center; color: var(--li-text-faint); }
.jd-empty .big { font-size: 48px; margin-bottom: 8px; }

/* ---------- MODAL ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.overlay.open { display: flex; }
.modal { background: var(--li-card); border-radius: 8px; width: 100%; max-width: 540px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,0.4); animation: pop .18s ease; }
.modal.wide { max-width: 640px; }
@keyframes pop { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .mhead { padding: 16px 20px; border-bottom: 1px solid var(--li-border); display: flex; align-items: center; justify-content: space-between; }
.modal .mhead h2 { font-size: 16px; }
.modal .mhead .x { font-size: 24px; color: var(--li-text-soft); padding: 4px; border-radius: 50%; line-height: 1; }
.modal .mhead .x:hover { background: var(--li-hover); }
.modal .mbody { padding: 20px; overflow-y: auto; }
.modal .mfoot { padding: 14px 20px; border-top: 1px solid var(--li-border); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.progress { height: 4px; background: var(--li-border); }
.progress .bar { height: 100%; background: var(--li-green); transition: width .3s; }
.step-label { font-size: 13px; color: var(--li-text-soft); margin-bottom: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--li-text-soft); border-radius: 4px; font-size: 14px; outline: none; font-family: inherit; background: var(--li-card); color: var(--li-text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--li-blue); box-shadow: 0 0 0 1px var(--li-blue); }
.opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--li-border); border-radius: 6px; padding: 12px; font-size: 14px; cursor: pointer; margin-bottom: 8px; }
.opt:hover { background: var(--li-tint); border-color: var(--li-blue); }
.opt.picked { background: var(--li-tint); border-color: var(--li-blue); box-shadow: inset 0 0 0 1px var(--li-blue); }
.opt .radio { width: 18px; height: 18px; border: 2px solid var(--li-text-soft); border-radius: 50%; flex-shrink: 0; position: relative; }
.opt.picked .radio { border-color: var(--li-blue); }
.opt.picked .radio::after { content: ""; position: absolute; inset: 3px; background: var(--li-blue); border-radius: 50%; }
.assess .q { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.success-anim { text-align: center; padding: 20px 0; }
.success-anim .check { width: 80px; height: 80px; border-radius: 50%; background: var(--li-green); color: #fff; font-size: 44px; display: grid; place-items: center; margin: 0 auto 16px; animation: popcheck .4s ease; }
@keyframes popcheck { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.success-anim h2 { font-size: 22px; margin-bottom: 8px; }
.success-anim p { color: var(--li-text-soft); font-size: 14px; }
.paws { font-size: 28px; letter-spacing: 6px; margin-top: 12px; }

/* breed grid (onboarding) */
.breed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.breed-card { border: 1px solid var(--li-border); border-radius: 10px; padding: 12px 6px; text-align: center; cursor: pointer; }
.breed-card:hover { border-color: var(--li-blue); background: var(--li-tint); }
.breed-card.picked { border-color: var(--li-blue); background: var(--li-tint); box-shadow: inset 0 0 0 1px var(--li-blue); }
.breed-card .emo { font-size: 30px; }
.breed-card .bn { font-size: 12px; font-weight: 600; margin-top: 4px; }
.avatar-pick { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.avatar-pick img { width: 64px; height: 64px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; }
.avatar-pick img:hover { border-color: var(--li-text-faint); }
.avatar-pick img.picked { border-color: var(--li-blue); }

/* ---------- PROFILE PAGE ---------- */
.prof-banner { height: 130px; background: linear-gradient(120deg, #4a6b8a, #b89b5e); position: relative; }
.prof-main { padding: 0 24px 20px; position: relative; }
.prof-avatar { width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--li-card); margin-top: -70px; background: var(--li-card); display: block; }
.prof-otw { position: absolute; left: 24px; bottom: 0; } /* placeholder */
.prof-head-row { display: flex; justify-content: space-between; align-items: flex-start; }
.prof-name { font-size: 24px; font-weight: 700; margin-top: 8px; }
.prof-headline { font-size: 15px; margin-top: 4px; }
.prof-loc { font-size: 13px; color: var(--li-text-soft); margin-top: 4px; }
.prof-loc a { color: var(--li-blue); font-weight: 600; }
.prof-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.otw-frame { display: inline-flex; align-items: center; gap: 6px; background: #e3f6ec; color: #057642; border-radius: 20px; padding: 4px 12px; font-size: 13px; font-weight: 600; margin-top: 10px; }
[data-theme="dark"] .otw-frame { background: #10341f; color: #4fd18b; }
.strength { margin-top: 14px; }
.strength .label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.strength .track { height: 8px; background: var(--li-border); border-radius: 5px; overflow: hidden; }
.strength .fill { height: 100%; background: linear-gradient(90deg, var(--li-gold), #e8b923); transition: width .4s; }
.edit-pencil { color: var(--li-text-soft); font-size: 18px; padding: 6px; border-radius: 50%; }
.edit-pencil:hover { background: var(--li-hover); }
.sec-card { padding: 20px 24px; }
.sec-card h3 { font-size: 18px; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.about-text { font-size: 14px; white-space: pre-wrap; margin-top: 6px; }
.xp { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--li-border); }
.xp:first-of-type { border-top: none; }
.xp .logo2 { width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.xp .role { font-weight: 600; font-size: 15px; }
.xp .co2 { font-size: 14px; }
.xp .dur { font-size: 13px; color: var(--li-text-soft); }
.xp .desc2 { font-size: 13px; margin-top: 4px; }
.skills-list { display: flex; flex-direction: column; gap: 2px; }
.skill { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--li-border); }
.skill:first-child { border-top: none; }
.skill .sn { font-weight: 600; font-size: 15px; }
.skill .se { font-size: 13px; color: var(--li-text-soft); }
.skill button { font-size: 13px; }

/* ---------- NETWORK ---------- */
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; padding: 16px; }
.net-card { border: 1px solid var(--li-border); border-radius: 8px; overflow: hidden; text-align: center; padding-bottom: 14px; }
.net-card .b { height: 54px; background: linear-gradient(120deg, #b5c7d6, #dccfae); }
.net-card img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--li-card); margin: -36px auto 6px; display: block; }
.net-card .n { font-weight: 600; font-size: 15px; }
.net-card .h { font-size: 12px; color: var(--li-text-soft); padding: 0 10px; height: 32px; overflow: hidden; margin: 2px 0 8px; }
.net-card .mutual { font-size: 11px; color: var(--li-text-faint); margin-bottom: 8px; }
.net-card button { width: calc(100% - 24px); }

/* ---------- MESSAGING ---------- */
.msg-wrap { display: grid; grid-template-columns: 280px 1fr; height: 560px; }
.msg-list { border-right: 1px solid var(--li-border); overflow-y: auto; }
.msg-list .item { display: flex; gap: 10px; padding: 12px; cursor: pointer; border-bottom: 1px solid var(--li-border); position: relative; }
.msg-list .item:hover { background: var(--li-hover); }
.msg-list .item.active { background: var(--li-tint); box-shadow: inset 3px 0 0 var(--li-blue); }
.msg-list .item img { width: 48px; height: 48px; border-radius: 50%; }
.msg-list .item .nm { font-weight: 600; font-size: 14px; }
.msg-list .item .pv { font-size: 13px; color: var(--li-text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-list .item .dot { position: absolute; right: 12px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--li-blue); }
.msg-thread { display: flex; flex-direction: column; }
.msg-thread .thead { padding: 12px 16px; border-bottom: 1px solid var(--li-border); display: flex; align-items: center; gap: 10px; }
.msg-thread .thead img { width: 36px; height: 36px; border-radius: 50%; }
.msg-thread .thead .nm { font-weight: 600; }
.msg-thread .thead .st { font-size: 12px; color: var(--li-text-soft); }
.msg-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--li-bg); }
.bubble { max-width: 72%; padding: 8px 12px; border-radius: 14px; font-size: 14px; white-space: pre-wrap; }
.bubble.them { align-self: flex-start; background: var(--li-card); border: 1px solid var(--li-border); border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--li-blue); color: #fff; border-bottom-right-radius: 4px; }
[data-theme="dark"] .bubble.me { color: #1d2226; }
.typing { align-self: flex-start; font-size: 13px; color: var(--li-text-faint); font-style: italic; }
.msg-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--li-border); }
.msg-input input { flex: 1; padding: 9px 12px; border: 1px solid var(--li-text-soft); border-radius: 20px; outline: none; background: var(--li-card); color: var(--li-text); }
.msg-input input:focus { border-color: var(--li-blue); box-shadow: 0 0 0 1px var(--li-blue); }
.msg-empty { display: grid; place-items: center; color: var(--li-text-faint); }

/* ---------- NOTIFICATIONS ---------- */
.notif { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--li-border); cursor: pointer; align-items: flex-start; }
.notif:hover { background: var(--li-tint); }
.notif.unread { background: var(--li-tint); }
.notif .ic { font-size: 24px; }
.notif .t { flex: 1; font-size: 14px; }
.notif .when { font-size: 12px; color: var(--li-text-faint); }

/* ---------- TOAST + CONFETTI ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(140%); background: #1d2226; color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 14px; z-index: 300; transition: transform .3s; box-shadow: 0 6px 20px rgba(0,0,0,.3); display: flex; align-items: center; gap: 10px; max-width: 90vw; }
.toast.show { transform: translateX(-50%) translateY(0); }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden; }
.confetti-paw { position: absolute; top: -40px; font-size: 26px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(540deg); opacity: .2; } }

/* premium modal */
.premium-modal .mbody { background: radial-gradient(circle at top, rgba(232,185,35,0.12), transparent 60%); }
.premium-feat { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.premium-feat .pi { color: var(--li-gold); font-size: 18px; }

/* views */
.view { display: none; }
.view.active { display: block; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1000px) {
  .page { grid-template-columns: 1fr 300px; }
  .col-left { display: none; }
  .page.jobs-layout, .page.profile-layout { grid-template-columns: 1fr; }
  .jobdetail { display: none; }
}
@media (max-width: 720px) {
  .page, .page.jobs-layout, .page.profile-layout { grid-template-columns: 1fr; }
  .col-right { display: none; }
  .nav-btn span.lbl { display: none; }
  .nav-btn { min-width: 50px; }
  .search { flex: 1; }
  .msg-wrap { grid-template-columns: 1fr; }
  .breed-grid { grid-template-columns: repeat(2, 1fr); }
}
