/* A’ZO Jobs v2 (assets/v3/jobs.js) — the same calm premium look as A’ZO ID: white cards, one dark hero, pill chips,
   light motion (fade-up with a small stagger, skeleton shimmer, spinners, toasts), prefers-reduced-motion respected.
   Everything sits under .jx (the page) or .jx-* (toast, modal, the header button) so the landing is untouched. */
.jx { --jx-r: 20px; --jx-shadow: 0 1px 2px rgba(11,11,15,.04), 0 12px 32px -22px rgba(11,11,15,.28); --good: #12a150; --good-bg: #ebf8f1; --bad: #c8102e; --bad-bg: #fff1f2; --warn-bg: #fff8e6; }
.jobs.sp { padding-top: clamp(16px, 3vw, 28px); }
.jx h1, .jx h2, .jx h3 { letter-spacing: -.03em; }
.jx-in { animation: jxin .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes jxin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.jx-fade { animation: jxfade .4s var(--ease) both; }
@keyframes jxfade { from { opacity: 0; } to { opacity: 1; } }
.jx-grid.still .jx-in { animation: none; }
.jx .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jx svg { width: 18px; height: 18px; flex: none; }

/* ---------- buttons ---------- */
.jx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px;
  border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; text-decoration: none; position: relative; }
.jx-btn svg { width: 17px; height: 17px; }
.jx-btn.dark { background: linear-gradient(180deg, #26262e 0%, #0b0b0f 100%); color: #fff; border-color: #0b0b0f;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -14px rgba(11,11,15,.7); }
.jx-btn.dark:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 16px 30px -16px rgba(11,11,15,.75); }
.jx-btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.jx-btn.ghost:hover { border-color: var(--ink); }
.jx-btn.ghost.on { border-color: var(--ink); background: var(--soft); }
.jx-btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.jx-btn.light:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); }
.jx-btn.good { background: var(--good); color: #fff; border-color: var(--good); }
.jx-btn.good:hover { filter: brightness(1.05); transform: translateY(-1px); }
.jx-btn.danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.jx-btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.jx-btn.wide { width: 100%; }
.jx-btn:active { transform: translateY(0) scale(.985); }
.jx-btn[disabled] { cursor: default; opacity: .75; }
.jx-btn em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.jx-btn.is-busy > *:not(.jx-spin) { opacity: .55; }
.jx-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: jxspin .7s linear infinite; flex: none; }
@keyframes jxspin { to { transform: rotate(360deg); } }
.jx-icon-btn, .jx-save { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease); flex: none; }
.jx-icon-btn:hover, .jx-save:hover { border-color: var(--ink); color: var(--ink); }
.jx-save.on { color: #b7791f; border-color: #f1d38a; background: #fffaf0; }
.jx-save.on svg path { fill: #f5b82e; stroke: #b7791f; }
.jx-save.pop { animation: jxpop .35s var(--ease); }
@keyframes jxpop { 40% { transform: scale(1.18); } }
.jx-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.jx-link.danger { color: var(--bad); }
.jx-row { display: flex; gap: 10px; align-items: center; }
.jx-row.wrap { flex-wrap: wrap; }
.jx-row.end { justify-content: flex-end; }
.jx-row.center { justify-content: center; flex-wrap: wrap; }
.jx-back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 16px -6px; padding: 6px 10px 6px 4px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.jx-back:hover { color: var(--ink); background: var(--soft); }

/* ---------- hero + search ---------- */
.jx-hero { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px) clamp(22px, 4vw, 36px); color: #fff;
  background: radial-gradient(90% 70% at 15% 0%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 60%), radial-gradient(70% 60% at 100% 100%, rgba(200,16,46,.26) 0%, rgba(200,16,46,0) 70%), linear-gradient(160deg, #17171d 0%, #0b0b0f 55%, #050507 100%);
  box-shadow: 0 30px 60px -40px rgba(11,11,15,.8); margin-bottom: 18px; }
.jx-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15)); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15)); }
.jx-hero-glow { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0) 65%); animation: jxglow 9s ease-in-out infinite alternate; }
@keyframes jxglow { to { transform: translate(-60px, 40px) scale(1.15); } }
.jx-hero > *:not(.jx-hero-glow) { position: relative; z-index: 1; }
.jx-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.jx-hero h1 { margin: 10px 0 10px; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.045em; max-width: 14em; }
.jx-hero p { margin: 0 0 24px; color: #b9b9c4; font-size: clamp(15px, 1.6vw, 17px); max-width: 36em; }
.jx-search { display: grid; grid-template-columns: 1fr minmax(170px, 240px) auto; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); max-width: 860px; }
.jx-search label { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; border-radius: 14px; background: #fff; color: var(--muted); transition: box-shadow .2s; }
.jx-search label:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.jx-search input, .jx-search select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.jx-search select { cursor: pointer; appearance: none; -webkit-appearance: none; }
.jx-search .jx-btn { height: 50px; padding: 0 26px; border-radius: 14px; }
.jx-cats { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.jx-cats::-webkit-scrollbar { display: none; }
.jx-cat { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #e8e8ee; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.jx-cat:hover { background: rgba(255,255,255,.12); }
.jx-cat.on { background: #fff; color: var(--ink); border-color: #fff; }
.jx-cat em { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.14); }
.jx-cat.on em { background: var(--ink); color: #fff; }

/* ---------- toolbar, filters, pills ---------- */
.jx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 12px; }
.jx-count { font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.jx-bar-r { display: flex; gap: 8px; align-items: center; }
.jx-sort select { height: 38px; padding: 0 34px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2374747f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  font: inherit; font-size: 14px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.jx-filters { overflow: hidden; }
.jx-filters-in { padding: 18px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--jx-r); background: #fff; box-shadow: var(--jx-shadow);
  transform: translateY(-6px); opacity: 0; transition: transform .25s var(--ease), opacity .2s; display: grid; gap: 16px; }
.jx-filters.on .jx-filters-in { transform: none; opacity: 1; }
.jx-fg { display: grid; gap: 8px; }
.jx-fg.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 16px; }
.jx-fl { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jx-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .18s; }
.jx-chip:hover { border-color: #c9c9d2; }
.jx-chip.on, .jx-chip.radio:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.jx-chip.radio { position: relative; }
.jx-chip.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.jx-chip.radio:focus-within { box-shadow: 0 0 0 3px rgba(11,11,15,.12); }
.jx-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.jx-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; border: 0; background: var(--soft); font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; animation: jxfade .3s both; }
.jx-pill svg { width: 14px; height: 14px; color: var(--muted); }
.jx-pill:hover { background: #ececf1; }
.jx-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); min-height: 50px; }
.jx-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jx-switch .sw { width: 42px; height: 24px; border-radius: 999px; background: #dcdce3; position: relative; transition: background .2s; flex: none; }
.jx-switch .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s var(--ease); }
.jx-switch input:checked + .sw { background: var(--good); }
.jx-switch input:checked + .sw::after { transform: translateX(18px); }
.jx-switch input:focus-visible + .sw { box-shadow: 0 0 0 3px rgba(18,161,80,.25); }
.jx-switch span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.jx-switch span:last-child svg { color: var(--good); }

/* ---------- vacancy cards ---------- */
.jx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.jx-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--jx-r); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; min-width: 0; }
.jx-card:hover { transform: translateY(-2px); border-color: #dedee6; box-shadow: 0 20px 40px -28px rgba(11,11,15,.45); }
.jx-card-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.jx-card-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.jx-card .jx-save { position: relative; z-index: 2; margin-left: auto; }
.jx-card-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.jx-co { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jx-co-name { font-size: 14px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.jx-co-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.jx-card-title { margin: 0; font-size: 18.5px; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.jx-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13.5px; }
.jx-tags span { display: inline-flex; align-items: center; gap: 5px; }
.jx-tags svg { width: 15px; height: 15px; }
.jx-card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.jx-salary { font-size: 16.5px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.jx-salary.muted, .jx-vac-salary.muted { color: var(--muted); font-weight: 600; }
.jx-ago { font-size: 13px; color: var(--muted); white-space: nowrap; }
.jx-av { --tone: #3b3b45; position: relative; width: 44px; height: 44px; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--tone) 80%, #fff) 0%, var(--tone) 100%);
  box-shadow: 0 8px 18px -12px var(--tone); }
.jx-av.big { width: 64px; height: 64px; border-radius: 20px; font-size: 21px; }
.jx-av i { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--good); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.jx-av i svg { width: 12px; height: 12px; }
.jx-av.big i { width: 24px; height: 24px; }
.jx-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--good); white-space: nowrap; }
.jx-badge svg { width: 14px; height: 14px; }
.jx-badge.big { font-size: 13.5px; padding: 5px 10px; border-radius: 999px; background: var(--good-bg); }
.jx-more { display: flex; justify-content: center; margin: 22px 0 6px; }
.jx-more .jx-btn { min-width: 220px; }

/* skeletons */
.jx-skel { pointer-events: none; }
.jx-sk { border-radius: 10px; background: linear-gradient(90deg, #f1f1f4 0%, #f9f9fb 40%, #f1f1f4 80%); background-size: 200% 100%; animation: jxsk 1.3s ease-in-out infinite; }
@keyframes jxsk { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.jx-sk.av { width: 44px; height: 44px; border-radius: 14px; }
.jx-sk.l1 { height: 20px; width: 72%; }
.jx-sk.l2 { height: 14px; width: 54%; }
.jx-sk.l3 { height: 16px; width: 38%; margin-top: 8px; }
.jx-skelpage { display: grid; gap: 14px; }
.jx-sk.h { height: 36px; width: 60%; border-radius: 12px; }
.jx-sk.block { height: 180px; border-radius: var(--jx-r); }
.jx-sk.block.short { height: 110px; }

/* empty / error / gates */
.jx-empty { text-align: center; padding: clamp(32px, 6vw, 56px) 20px; border: 1px dashed #dcdce4; border-radius: 24px; background: linear-gradient(180deg, #fff, #fbfbfc); }
.jx-empty-ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; background: var(--soft); color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.jx-empty-ic svg { width: 28px; height: 28px; }
.jx-empty-ic.bad { background: var(--bad-bg); color: var(--bad); }
.jx-empty h3 { margin: 0 0 6px; font-size: 20px; }
.jx-empty p { margin: 0 auto 18px; max-width: 30em; color: var(--muted); font-size: 15px; }
.jx-empty p:empty { display: none; }
.jx-gate { max-width: 560px; margin: 8px auto; text-align: center; padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--jx-shadow); }
.jx-gate.plain { border: 0; box-shadow: none; padding: 8px 4px; margin: 0; }
.jx-gate-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: #0b0b0f; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 30px -18px rgba(11,11,15,.8); }
.jx-gate-ic svg { width: 30px; height: 30px; }
.jx-gate-ic.id img { width: 36px; height: 36px; filter: invert(1); }
.jx-gate h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 28px); }
.jx-gate p { margin: 0 auto 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 32em; }
.jx-how { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 13.5px; color: var(--ink-2); }
.jx-how svg { width: 16px; height: 16px; }
.jx-cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 24px; border-radius: 24px; background: var(--soft); }
.jx-cta-ic { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--jx-shadow); }
.jx-cta-ic svg { width: 26px; height: 26px; }
.jx-cta h2 { margin: 0 0 4px; font-size: 19px; }
.jx-cta p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.jx-cta .jx-btn { margin-left: auto; }

/* ---------- panels, headings, notes ---------- */
.jx-panel { padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--jx-shadow); min-width: 0; }
.jx-panel + .jx-panel { margin-top: 14px; }
.jx-h2 { margin: 0 0 14px; font-size: 19px; letter-spacing: -.02em; }
.jx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 20px; }
.jx-head h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.jx-head p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.jx-muted { color: var(--muted); }
.jx-muted.sm { font-size: 13.5px; }
.jx-fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; display: flex; gap: 6px; align-items: flex-start; }
.jx-fine svg { width: 15px; height: 15px; margin-top: 2px; color: var(--good); }
.jx-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.jx-note.warn { background: var(--warn-bg); color: #8a5a00; }
.jx-note.good { background: var(--good-bg); color: #116b3a; margin: 12px 0 0; }
.jx-note svg { width: 18px; height: 18px; margin-top: 1px; }
.jx-err { color: var(--bad); font-size: 14px; min-height: 0; }
.jx-err:not(:empty) { padding: 10px 14px; border-radius: 12px; background: var(--bad-bg); margin: 12px 0; }
.jx-err.shake { animation: jxshake .4s cubic-bezier(.36,.07,.19,.97); }
@keyframes jxshake { 20%, 80% { transform: translateX(-2px); } 40%, 60% { transform: translateX(4px); } }

/* ---------- vacancy page ---------- */
.jx-vac { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.jx-vac-side { position: sticky; top: 86px; scroll-margin-top: 86px; }
.jx-vac-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jx-vac-top .jx-co { flex-direction: row; align-items: center; gap: 12px; }
.jx-vac-top .jx-co > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jx-vac-title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
.jx-vac-salary { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.jx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.jx-fact { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: var(--soft); }
.jx-fact .ic { width: 36px; height: 36px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink-2); flex: none; }
.jx-fact small { display: block; font-size: 12px; color: var(--muted); }
.jx-fact b { font-size: 14.5px; }
.jx-meta { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jx-meta svg { width: 15px; height: 15px; }
.jx-desc { font-size: 16px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.jx-desc p { margin: 0 0 12px; }
.jx-desc p:last-child { margin: 0; }
.jx-emp { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.jx-emp .jx-co { flex-direction: row; align-items: center; gap: 14px; }
.jx-emp .jx-co > span { display: flex; flex-direction: column; gap: 2px; }
.jx-emp small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.jx-emp b { font-size: 17px; }
.jx-emp em { font-style: normal; font-size: 13.5px; color: var(--good); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.jx-emp em svg { width: 15px; height: 15px; }
.jx-emp em.muted { color: var(--muted); font-weight: 500; }
.jx-vac-side .jx-panel { display: grid; gap: 12px; }
.jx-vac-side .jx-h2 { margin: 0; }
.jx-own, .jx-sent { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.jx-sent { color: var(--good); }
.jx-sent svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--good-bg); }
.jx-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.jx-steps li { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.jx-steps i { height: 4px; border-radius: 4px; background: #ececf1; position: relative; overflow: hidden; }
.jx-steps li.done i { background: var(--ink); }
.jx-steps li.done { color: var(--ink); }
.jx-steps li.good i { background: var(--good); }
.jx-steps li.good { color: var(--good); }
.jx-steps li.bad i { background: var(--bad); }
.jx-steps li.bad { color: var(--bad); }
.jx-hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); color: #6b4b0e; font-size: 14px; line-height: 1.5; }
.jx-hint b { display: block; margin-top: 2px; color: var(--ink); }
.jx-hint svg { margin-top: 1px; }
.jx-similar { margin-top: 30px; }
.jx-sticky { display: none; }
.jx-emp-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.jx-emp-head h1 { margin: 0 0 8px; font-size: clamp(26px, 3.6vw, 36px); }

/* ---------- fields (résumé, vacancy form, apply) ---------- */
.jx-field { display: grid; gap: 7px; min-width: 0; }
.jx-field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.jx-field small { font-size: 12.5px; color: var(--muted); }
.jx-field input, .jx-field select, .jx-field textarea { width: 100%; min-width: 0; border: 1.5px solid transparent; background: #f6f6f9; border-radius: 14px; padding: 0 14px; height: 50px;
  font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .18s, background .18s, box-shadow .18s; }
.jx-field textarea { height: auto; padding: 12px 14px; line-height: 1.55; resize: vertical; min-height: 96px; }
.jx-field select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: #f6f6f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2374747f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.jx-field input:hover, .jx-field select:hover, .jx-field textarea:hover { background-color: #f1f1f5; }
.jx-field input:focus, .jx-field select:focus, .jx-field textarea:focus { background-color: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,15,.07); }
.jx-field input:disabled { opacity: .5; }
.jx-field.bad input, .jx-field.bad select, .jx-field.bad textarea { border-color: var(--bad); background-color: #fff; }
.jx-counter { justify-self: end; }
.jx-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.jx-grid2 .wide { grid-column: 1 / -1; }
.jx-check { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 14.5px; color: var(--ink-2); cursor: pointer; position: relative; }
.jx-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.jx-check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #cfcfd8; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .15s, border-color .15s; }
.jx-check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.jx-check input:checked + .box::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.jx-check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(11,11,15,.12); }
.jx-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.jx-sec-h .jx-h2 { margin: 0; }
.jx-entry { margin-top: 14px; padding: 16px; border-radius: 18px; background: #fafafc; border: 1px solid var(--line); }
.jx-entry-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.jx-entry-h b { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.jx-cv { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.jx-cv-side { position: sticky; top: 86px; }
.jx-cv-form .jx-panel + .jx-panel { margin-top: 14px; }
.jx-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: flex-end; margin-top: 16px; }
.jx-savebar .jx-btn { min-width: 200px; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 36px -16px rgba(11,11,15,.7); }
.jx-vform { max-width: 820px; }
.jx-meter { display: flex; gap: 16px; align-items: center; }
.jx-ring { position: relative; width: 76px; height: 76px; flex: none; }
.jx-ring svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.jx-ring circle { fill: none; stroke-width: 5; }
.jx-ring .bg { stroke: #ececf1; }
.jx-ring .fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .6s var(--ease), stroke .3s; }
.jx-meter.full .jx-ring .fg { stroke: var(--good); }
.jx-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.jx-meter small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jx-meter p { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; }

/* ---------- lists: applications, my vacancies, candidates ---------- */
.jx-rows { display: grid; gap: 10px; }
.jx-rowcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.jx-rowcard:hover { transform: translateY(-1px); box-shadow: var(--jx-shadow); }
.jx-rowcard-m { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.jx-rowcard-m b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jx-rowcard-m small, .jx-rowcard-r small { color: var(--muted); font-size: 13px; }
.jx-rowcard-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.jx-st { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.jx-st.s-new { background: #eef2ff; color: #3730a3; }
.jx-st.s-invited, .jx-st.s-active { background: var(--good-bg); color: #116b3a; }
.jx-st.s-hired { background: var(--good); color: #fff; }
.jx-st.s-rejected { background: var(--bad-bg); color: var(--bad); }
.jx-st.s-withdrawn, .jx-st.s-closed, .jx-st.s-expired { background: #f1f1f4; color: var(--muted); }
.jx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.jx-stat { padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; box-shadow: var(--jx-shadow); }
.jx-stat .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--ink-2); }
.jx-stat b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.jx-stat small { color: var(--muted); font-size: 13px; }
.jx-myrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.jx-myrow-m { display: grid; gap: 6px; min-width: 0; }
.jx-myrow-m b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.jx-myrow-m a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.jx-myrow-m small { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.jx-myrow-m small svg { width: 14px; height: 14px; }
.jx-myrow-c { position: relative; display: grid; justify-items: center; padding: 8px 16px; border-radius: 14px; background: var(--soft); min-width: 92px; transition: background .2s; }
.jx-myrow-c:hover { background: #ececf1; }
.jx-myrow-c b { font-size: 20px; font-variant-numeric: tabular-nums; }
.jx-myrow-c small { font-size: 12px; color: var(--muted); }
.jx-myrow-c em { position: absolute; top: -8px; right: -6px; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--brand-red); color: #fff; animation: jxpop .5s var(--ease); }
.jx-myrow-a { display: flex; gap: 8px; }
.jx-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding: 4px; border-radius: 16px; background: var(--soft); }
.jx-tabs::-webkit-scrollbar { display: none; }
.jx-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.jx-tab em { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: rgba(11,11,15,.06); }
.jx-tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,11,15,.1); }
.jx-cands { display: grid; gap: 12px; }
.jx-cand { padding: 18px 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; display: grid; gap: 12px; box-shadow: var(--jx-shadow); }
.jx-cand-h { display: flex; align-items: center; gap: 12px; }
.jx-cand-m { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.jx-cand-m b { font-size: 16.5px; }
.jx-cand-m small { color: var(--muted); font-size: 13px; }
.jx-msg { margin: 0; padding: 12px 14px; border-left: 3px solid var(--ink); border-radius: 4px 14px 14px 4px; background: var(--soft); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.jx-resume { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: #fafafc; border: 1px solid var(--line); animation: jxin .35s var(--ease) both; }
.jx-res-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.jx-res-h b { font-size: 16px; }
.jx-res-h span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.jx-res-s { display: grid; gap: 6px; }
.jx-res-s small { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jx-res-s p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.jx-res-e { font-size: 14.5px; }
.jx-res-e span { display: block; font-size: 12.5px; color: var(--muted); }
.jx-res-e p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.jx-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.jx-skills span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; }

/* ---------- toast + modal (on <body>) ---------- */
.jx-toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; max-width: min(92vw, 440px);
  padding: 12px 18px 12px 14px; border-radius: 16px; background: #0b0b0f; color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  transform: translate(-50%, 20px); opacity: 0; transition: transform .35s var(--ease, ease), opacity .3s; pointer-events: none; }
.jx-toast.on { transform: translate(-50%, 0); opacity: 1; }
.jx-toast svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #12a150; color: #fff; flex: none; }
.jx-toast.bad { background: #c8102e; }
.jx-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; }
.jx-modal-bg { position: absolute; inset: 0; background: rgba(11,11,15,.42); opacity: 0; transition: opacity .2s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.jx-modal-card { position: relative; width: min(480px, 100%); background: #fff; border-radius: 26px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
  transform: translateY(14px) scale(.98); opacity: 0; transition: transform .28s var(--ease, ease), opacity .22s; color: #0b0b0f; }
.jx-modal.on .jx-modal-bg { opacity: 1; }
.jx-modal.on .jx-modal-card { transform: none; opacity: 1; }
.jx-modal-text { margin: 4px 0 20px; font-size: 16px; line-height: 1.55; }
.jx-modal .jx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; border: 1px solid #ebebf0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: #fff; color: #0b0b0f; text-decoration: none; }
.jx-modal .jx-btn.dark { background: #0b0b0f; color: #fff; border-color: #0b0b0f; }
.jx-modal .jx-btn.danger { background: #c8102e; color: #fff; border-color: #c8102e; }
.jx-modal .jx-btn svg { width: 17px; height: 17px; }
.jx-modal .jx-row { display: flex; gap: 10px; flex-wrap: wrap; }
.jx-modal .jx-row.end { justify-content: flex-end; }
.jx-modal .jx-row.center { justify-content: center; }
.jx-modal .jx-gate-ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; background: #0b0b0f; color: #fff; display: flex; align-items: center; justify-content: center; }
.jx-modal .jx-gate-ic svg { width: 28px; height: 28px; }
.jx-modal .jx-gate { text-align: center; }
.jx-modal .jx-gate h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.jx-modal .jx-gate p { margin: 0 0 14px; color: #3b3b45; font-size: 15px; line-height: 1.6; }
.jx-modal .jx-how { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; background: #f6f6f8; font-size: 13.5px; }
.jx-modal .jx-how svg { width: 16px; height: 16px; }
html.jx-lock { overflow: hidden; }

/* the header button on the Jobs host */
.hdr .jx-post svg, .sheet .jx-post svg { width: 16px; height: 16px; }
.hdr .jx-post:hover svg { transform: none; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .jx-vac, .jx-cv { grid-template-columns: minmax(0, 1fr); }
  .jx-vac-side, .jx-cv-side { position: static; }
  .jx-cv-side { order: -1; }
  .jx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .jx-grid { grid-template-columns: minmax(0, 1fr); }
  .jx-search { grid-template-columns: minmax(0, 1fr); padding: 6px; border-radius: 18px; }
  .jx-search .jx-btn { width: 100%; }
  .jx-hero { border-radius: 24px; margin-left: calc(var(--pad) * -.4); margin-right: calc(var(--pad) * -.4); }
  .jx-cta { flex-direction: column; align-items: flex-start; }
  .jx-cta .jx-btn { margin-left: 0; width: 100%; }
  .jx-head { flex-direction: column; align-items: stretch; }
  .jx-head .jx-btn { width: 100%; }
  .jx-myrow { grid-template-columns: minmax(0, 1fr) auto; }
  .jx-myrow-a { grid-column: 1 / -1; }
  .jx-myrow-a .jx-btn { flex: 1; }
  .jx-grid2, .jx-fg.two { grid-template-columns: minmax(0, 1fr); }
  .jx-bar { flex-wrap: wrap; row-gap: 8px; }
  .jx-bar-r { margin-left: auto; }
  .jx-bar .jx-sort select { max-width: 170px; }
  .jx-fact { padding: 10px; }
  .jx-fact .ic { width: 32px; height: 32px; }
  .jx-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 20px 40px -20px rgba(11,11,15,.5), 0 0 0 1px rgba(11,11,15,.06); animation: jxin .45s .2s var(--ease) both; }
  .jx-sticky b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jx[data-jx-view="v"] { padding-bottom: 76px; }
  .jx-savebar .jx-btn { width: 100%; }
  .jx-emp-head { flex-direction: column; align-items: flex-start; }
  .jx-modal { align-items: flex-end; padding: 10px; }
  .jx-modal-card { border-radius: 24px; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .jx-in, .jx-fade, .jx-pill, .jx-resume, .jx-sticky, .jx-myrow-c em, .jx-save.pop, .jx-hero-glow, .jx-sk, .jx-err.shake { animation: none !important; }
  .jx-card, .jx-btn, .jx-rowcard, .jx-filters-in, .jx-toast, .jx-modal-card, .jx-modal-bg, .jx-ring .fg { transition: none !important; }
  .jx-spin { animation-duration: 1.6s; }
}
