/* PayNexa Connect — wahi rang jo PayNexa website aur hiring app mein hain */
:root {
  --bg: #f3f6fa;
  --card: #ffffff;
  --ink: #0d124a;
  --text: #3b4565;
  --muted: #6a7390;
  --line: #e2e8f1;
  --soft: #f5f8fc;
  --teal: #1b9a88;
  --teal-ink: #0d7d70;
  --blue: #1668e3;
  --navy: #0d124a;
  --navy-2: #1b2370;
  --danger: #c2410c;
  --grad: linear-gradient(115deg, #8ac655 0%, #1b9a88 52%, #17a7d2 100%);
  --shadow: 0 1px 2px rgba(13,18,74,.05), 0 6px 18px -10px rgba(13,18,74,.18);
  --shadow-lg: 0 24px 60px -20px rgba(13,18,74,.45);
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080c26; --card: #0f1538; --ink: #eef1fb; --text: #c6cce2; --muted: #98a1c0;
    --line: #232b5a; --soft: #131a42; --teal-ink: #4fd1bd; --blue: #5b9bff; --danger: #ff8a5c;
    --navy: #2b3aa8; --navy-2: #3446c0;
    --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.7); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.55 "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
a { color: var(--blue); }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
.ink { color: var(--ink); }
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-size: .84rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.stack { display: grid; gap: 12px; }

/* ---------- Buttons & fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .6rem 1.15rem; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .15s, opacity .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-sm { min-height: 38px; padding: .45rem .9rem; font-size: .88rem; border-radius: 10px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--navy-2); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-line { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-line:hover:not(:disabled) { border-color: var(--teal); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-block { width: 100%; }
.btn-following { background: color-mix(in srgb, var(--teal) 12%, var(--card)); color: var(--teal-ink); border-color: color-mix(in srgb, var(--teal) 30%, var(--line)); }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-ink); font-weight: 700; cursor: pointer; text-decoration: none; font-size: .9rem; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.fld { display: grid; gap: .35rem; }
.fld label, .fld .lbl { font-size: .85rem; font-weight: 700; color: var(--ink); }
.fld small { color: var(--muted); font-size: .8rem; }
.input { width: 100%; min-height: 46px; padding: .65rem .85rem; border-radius: 12px; border: 1px solid var(--line); background: var(--card); transition: border-color .15s, box-shadow .15s; }
textarea.input { resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 15%, transparent); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7390' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; padding-right: 2.2rem; }
.phone { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.phone:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 15%, transparent); }
.phone span { display: grid; place-items: center; padding: 0 .85rem; background: var(--soft); color: var(--ink); font-weight: 700; border-right: 1px solid var(--line); }
.phone input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .65rem .85rem; min-height: 46px; letter-spacing: .04em; }
.phone input:focus { outline: none; }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* Account type chooser */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.type-opt { position: relative; display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink); text-align: left; }
.type-opt .e { font-size: 1.15rem; line-height: 1; }
.type-opt[aria-pressed="true"] { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, var(--card)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 15%, transparent); }

/* ---------- Splash / auth / setup ---------- */
.center { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.splash img { width: 72px; height: 72px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; transform: scale(.94); } }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 24px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.auth-card.wide { max-width: 520px; }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand b { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.brand small { color: var(--teal-ink); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.auth-card h1 { font-size: 1.45rem; }
.auth-card .sub { color: var(--muted); margin-top: .35rem; }
.auth-foot { font-size: .8rem; color: var(--muted); text-align: center; }
.otp-input { text-align: center; font-size: 1.4rem; letter-spacing: .5em; font-weight: 700; }

/* ---------- App shell ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top-in { max-width: 1180px; margin: 0 auto; height: 62px; padding: 0 16px; display: flex; align-items: center; gap: 14px; }
.top .brand img { width: 36px; height: 36px; }
.top .brand b { font-size: 1rem; }
.top-search { flex: 1; max-width: 300px; display: flex; align-items: center; gap: .5rem; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 0 .75rem; height: 40px; }
.top-search:focus-within { border-color: var(--teal); background: var(--card); }
.top-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.top-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: .9rem; }
.top-nav { display: flex; gap: 2px; margin-left: auto; }
.tab { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: .35rem .7rem; min-width: 64px; border-radius: 10px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: .74rem; cursor: pointer; text-decoration: none; }
.tab svg { width: 22px; height: 22px; }
.tab:hover { color: var(--ink); background: var(--soft); }
.tab.on { color: var(--ink); }
.tab.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -11px; height: 2px; border-radius: 2px; background: var(--navy); }
.tab .soon-dot { position: absolute; top: 2px; right: 12px; font-size: .55rem; font-weight: 800; padding: 0 .3rem; border-radius: 6px; background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--teal-ink); }
.create-btn { flex: none; }
.layout { max-width: 1180px; margin: 0 auto; padding: 20px 16px 110px; display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.side { position: sticky; top: 82px; display: grid; gap: 14px; }
.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.main > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 16px 18px; }
.bottom-nav { display: none; }
.foot-note { font-size: .78rem; color: var(--muted); text-align: center; }
.foot-note a { color: var(--muted); }
@media (max-width: 1080px) {
  .layout { grid-template-columns: 240px minmax(0, 1fr); }
  .side-r { display: none; }
  .top-search { display: none; }
}
@media (max-width: 820px) {
  .layout { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .side-l { display: none; }
  .top-nav { display: none; }
  .create-btn { margin-left: auto; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; }
  .bottom-nav .tab { flex: 1; min-width: 0; padding: .4rem .2rem; }
  .bottom-nav .tab.on::after { top: -5px; bottom: auto; left: 30%; right: 30%; }
  .layout { padding: 12px 10px 96px; gap: 12px; }
  .main { gap: 12px; }
}
@media (max-width: 420px) { .create-btn span { display: none; } .create-btn { padding: .45rem .6rem; } }

/* ---------- Avatars ---------- */
.av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 1rem; background: var(--navy) center/cover no-repeat; overflow: hidden; text-decoration: none; }
.av.sm { width: 36px; height: 36px; font-size: .8rem; }
.av.lg { width: 64px; height: 64px; font-size: 1.3rem; }
.av.xl { width: 112px; height: 112px; font-size: 2.2rem; }
.av.has-img { color: transparent; }

/* Profile mini card */
.me-card { overflow: hidden; text-align: center; text-decoration: none; display: block; }
.me-card .cover { height: 64px; background: var(--grad) center/cover; }
.me-card .av { margin: -32px auto 0; border: 3px solid var(--card); }
.me-card .body { padding: 8px 16px 12px; display: grid; gap: 3px; }
.me-card b { color: var(--ink); font-size: 1.02rem; }
.me-card span { color: var(--muted); font-size: .86rem; }
.me-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.me-stats div { padding: 10px 6px; display: grid; }
.me-stats div + div { border-left: 1px solid var(--line); }
.me-stats b { color: var(--ink); font-size: 1rem; }
.me-stats span { color: var(--muted); font-size: .76rem; }

/* ---------- Composer ---------- */
.composer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.composer-row { display: flex; gap: 12px; align-items: flex-start; }
.composer textarea { flex: 1; min-height: 52px; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; background: var(--soft); line-height: 1.5; transition: min-height .2s; }
.composer textarea:focus, .composer.open textarea { outline: none; border-color: var(--teal); background: var(--card); min-height: 120px; }
.composer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kind-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .82rem; font-weight: 600; color: var(--text); cursor: pointer; }
.kind-chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.count { font-size: .8rem; color: var(--muted); }
.count.over { color: var(--danger); font-weight: 700; }
.img-preview { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); max-height: 320px; }
.img-preview img { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.img-preview button { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; }
.img-preview button:hover { background: rgba(0,0,0,.8); color: #fff; }

/* Feed tabs */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: .4rem .9rem; border-radius: 9px; font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Posts ---------- */
.post { padding: 16px 18px 6px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.post-head { display: flex; gap: 12px; align-items: flex-start; }
.post-who { flex: 1; min-width: 0; }
.post-who a { color: var(--ink); font-weight: 700; text-decoration: none; }
.post-who a:hover { text-decoration: underline; }
.post-who > span:not(.badge) { display: block; color: var(--muted); font-size: .83rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: .18rem .55rem; border-radius: 999px; vertical-align: 1px; margin-left: .35rem; }
.badge.hiring { background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
.badge.achievement { background: color-mix(in srgb, #d99a00 16%, transparent); color: #a86f00; }
@media (prefers-color-scheme: dark) { .badge.achievement { color: #ffc94d; } }
.post-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.post-text.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post-img { margin: 0 -18px; background: var(--soft); border-block: 1px solid var(--line); }
.post-img img { display: block; width: 100%; max-height: 560px; object-fit: contain; }
.more { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 700; cursor: pointer; justify-self: start; }
.post-stats { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); min-height: 1.2em; }
.post-stats button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.post-stats button:hover { color: var(--blue); text-decoration: underline; }
.post-actions { display: flex; border-top: 1px solid var(--line); padding-top: 4px; }
.act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; border: 0; background: none; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: .9rem; cursor: pointer; }
.act svg { width: 20px; height: 20px; }
.act:hover { background: var(--soft); color: var(--ink); }
.act.liked { color: var(--blue); }
.act.liked svg { fill: currentColor; }
@media (max-width: 420px) { .act span { display: none; } }
.hire-cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .9rem; border-radius: 12px; background: color-mix(in srgb, var(--blue) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line)); font-size: .88rem; font-weight: 600; color: var(--ink); }

/* Comments */
.comments { display: grid; gap: 10px; padding: 6px 0 12px; border-top: 1px solid var(--line); }
.c-form { display: flex; gap: 8px; align-items: flex-start; }
.c-form textarea { flex: 1; min-width: 0; min-height: 40px; resize: none; border: 1px solid var(--line); border-radius: 18px; padding: .5rem .9rem; background: var(--soft); line-height: 1.45; font-size: .9rem; }
.c-form textarea:focus { outline: none; border-color: var(--teal); background: var(--card); }
.c-item { display: flex; gap: 8px; align-items: flex-start; }
.c-bubble { flex: 1; min-width: 0; background: var(--soft); border-radius: 4px 14px 14px 14px; padding: .5rem .8rem; }
.c-bubble a { color: var(--ink); font-weight: 700; font-size: .86rem; text-decoration: none; }
.c-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; }
.c-meta { display: flex; gap: .8rem; font-size: .74rem; color: var(--muted); padding: 2px 4px 0; }
.c-meta button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; font-weight: 700; }

/* Menu popover */
.pop { position: absolute; right: 0; top: 40px; z-index: 10; min-width: 180px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.pop button { text-align: left; border: 0; background: none; padding: .55rem .7rem; border-radius: 8px; font-weight: 600; font-size: .88rem; color: var(--ink); cursor: pointer; display: flex; gap: .55rem; align-items: center; }
.pop button svg { width: 18px; height: 18px; color: var(--muted); }
.pop button:hover { background: var(--soft); }
.pop button.danger { color: var(--danger); }
.rel { position: relative; }

/* ---------- Profile page ---------- */
.prof { overflow: hidden; }
.prof-cover { height: 180px; background: var(--grad) center/cover; position: relative; }
@media (max-width: 600px) { .prof-cover { height: 120px; } }
.prof-cover .icon-btn { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.9); color: var(--navy); }
.prof-main { padding: 0 20px 20px; display: grid; gap: 12px; }
.prof-av-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: -56px; flex-wrap: wrap; }
.prof-av { position: relative; }
.prof-av .av { border: 4px solid var(--card); }
.prof-av .icon-btn { position: absolute; right: 2px; bottom: 6px; width: 32px; height: 32px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.prof-av .icon-btn svg { width: 16px; height: 16px; }
.prof h1 { font-size: 1.5rem; }
.prof .headline { color: var(--text); font-size: 1rem; }
.prof .meta { color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.prof .meta b { color: var(--ink); }
.prof-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.sec h2 { font-size: 1.08rem; margin-bottom: 10px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sec-head h2 { margin: 0; }
.skills { display: flex; flex-wrap: wrap; gap: .45rem; }
.skill { font-size: .84rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.entry { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.entry:first-of-type { border-top: 0; padding-top: 0; }
.entry .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-ink); }
.entry .ico svg { width: 22px; height: 22px; }
.entry b { color: var(--ink); display: block; }
.entry span { color: var(--muted); font-size: .88rem; display: block; }
.prose-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.add-hint { color: var(--muted); font-size: .9rem; }

/* Repeating rows in edit form */
.rep { display: grid; gap: 10px; }
.rep-item { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); position: relative; }
.rep-item .icon-btn { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; }
.rep-item .row2 { padding-right: 28px; }
.sheet-sec { font-size: .95rem; font-weight: 800; color: var(--ink); padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }

/* ---------- People ---------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.person { padding: 18px 14px 14px; display: grid; gap: 6px; justify-items: center; text-align: center; text-decoration: none; overflow: hidden; position: relative; }
.person::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; background: var(--grad); opacity: .85; }
.person .av { position: relative; border: 3px solid var(--card); }
.person b { color: var(--ink); }
.person span { color: var(--muted); font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.person .btn { margin-top: 6px; width: 100%; }
.mini-person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.mini-person:first-of-type { border-top: 0; }
.mini-person a.name { color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-person span { color: var(--muted); font-size: .78rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-person > div { flex: 1; min-width: 0; }
.search-bar { display: flex; gap: 8px; }
.search-bar .input { flex: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Jobs ---------- */
.job { padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.job-top { display: flex; gap: 12px; align-items: flex-start; }
.job-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; font-weight: 800; color: var(--teal-ink); background: color-mix(in srgb, var(--teal) 12%, transparent); }
.job h3 { font-size: 1.02rem; }
.job .co { color: var(--text); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--text); }
.job-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.job-desc { font-size: .9rem; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.side-job { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.side-job:first-of-type { border-top: 0; }
.side-job b { color: var(--ink); font-size: .9rem; }
.side-job span { color: var(--muted); font-size: .8rem; }
.job-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.job-filters .q { grid-column: 1 / -1; }
@media (max-width: 700px) { .job-filters { grid-template-columns: 1fr 1fr; } }

/* ---------- Empty, notes, toast, sheet ---------- */
.empty { padding: 36px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.empty .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-ink); }
.empty .ico svg { width: 26px; height: 26px; }
.empty p { color: var(--muted); max-width: 42ch; }
.pill { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: .15rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal-ink); }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: #0d124a; color: #fff; padding: .7rem 1.1rem; border-radius: 12px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.skeleton { height: 120px; border-radius: var(--r); background: linear-gradient(90deg, var(--card), var(--soft), var(--card)); background-size: 200% 100%; animation: sh 1.2s linear infinite; border: 1px solid var(--line); }
@keyframes sh { to { background-position: -200% 0; } }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.page-title h1 { font-size: 1.25rem; }
.page-title p { color: var(--muted); font-size: .88rem; }
.sheet { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.sheet-bg { position: absolute; inset: 0; background: rgba(8,12,38,.55); }
.sheet-card { position: relative; width: 100%; max-width: 600px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.1rem; }
.sheet-body { padding: 18px 20px 20px; overflow-y: auto; }
@media (max-width: 600px) {
  .sheet { place-items: end stretch; padding: 0; }
  .sheet-card { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .sheet-body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
.sheet-foot { position: sticky; bottom: -20px; background: var(--card); padding: 12px 0 0; margin-top: 4px; display: flex; justify-content: flex-end; gap: .5rem; }
.demo-note { font-size: .8rem; color: var(--muted); padding: .6rem .8rem; border-radius: 10px; border: 1px dashed var(--line); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
