/* =============================================================================
   kx — the job-portal-demo component library, namespaced for the live job
   module. Every class here starts with "kx-" so it can't collide with the
   legacy style.css / jobs-ui.css names (.card, .meta, .tag, .logo …).
   Tokens come from theme.css (--t-*), which carries the demo palette.
   ============================================================================= */

body.jb-page {
  --kx-r: 14px;
  --kx-r-lg: 18px;
}

/* ---------- job card --------------------------------------------------- */

.kx-jobcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--t-line);
  border-radius: var(--kx-r);
  background: var(--t-surface);
  box-shadow: var(--t-shadow-1);
  font-family: var(--t-body);
  transition: border-color .15s, box-shadow .15s;
}
.kx-jobcard:hover { border-color: var(--t-line-strong); box-shadow: var(--t-shadow-2); }
.kx-jobcard + .kx-jobcard { margin-top: 12px; }
.kx-jobcard:has(.kx-jc-title a:focus-visible) { outline: 2px solid var(--t-accent); outline-offset: 2px; }

.kx-jc-head { display: flex; align-items: flex-start; gap: 14px; }
.kx-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--t-line);
  border-radius: 12px;
  background: var(--t-surface);
}
.kx-logo img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.kx-logo-lg { width: 96px; height: 96px; border-radius: 22px; }
.kx-logo-md { width: 60px; height: 60px; border-radius: 15px; }
.kx-logo-sm { width: 40px; height: 40px; border-radius: 10px; }

/* no logo (or it failed to load): the demo's letter tile — the company's
   initials on a tint whose hue (--h, set per company by kx_logo()) is fixed */
body.jb-page { --logo-s: 50%; --logo-bg: 90%; --logo-fg: 27%; --logo-edge: 83%; }
body.jb-page .kx-logo.kx-logo-initials {
  border-color: hsl(var(--h, 210) var(--logo-s) var(--logo-edge));
  background: hsl(var(--h, 210) var(--logo-s) var(--logo-bg));
  color: hsl(var(--h, 210) var(--logo-s) var(--logo-fg));
  font: 750 17px/1 var(--t-display);
  letter-spacing: -.03em;
  text-transform: uppercase;
  user-select: none;
}
body.jb-page .kx-logo-sm.kx-logo-initials { font-size: 14px; }
body.jb-page .kx-logo-md.kx-logo-initials { font-size: 21px; }
body.jb-page .kx-logo-lg.kx-logo-initials { font-size: 34px; }
/* a company with no usable name: a building glyph instead of letters */
.kx-logo-initials:empty::before { content: "\f1ad"; font: 900 .9em/1 "Font Awesome 6 Free"; }

.kx-jc-main { flex: 1; min-width: 0; }
body.jb-page .kx-jc-title {
  margin: 0;
  font: 650 16.5px/1.3 var(--t-display);
  letter-spacing: -.01em;
  color: var(--t-ink);
}
body.jb-page .kx-jc-title a { color: inherit; text-decoration: none; }
.kx-jc-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.kx-jobcard:hover .kx-jc-title a { color: var(--t-brand-text); }
.kx-jc-title a:focus-visible { outline: none; }
.kx-jc-company { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 14px; color: var(--t-ink-2); }
.kx-jc-company a { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.kx-jc-company a:hover { color: var(--t-brand-text); text-decoration: underline; }

/* the module's own Save button (save_job() rewrites its text) */
.kx-jc-save { position: relative; z-index: 2; flex: none; }
body.jb-page .kx-jc-save .save-job,
body.jb-page .kx-jc-save button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--t-line);
  border-radius: 10px;
  background: var(--t-surface);
  color: var(--t-ink-2);
  font: 600 13.5px/1 var(--t-body);
  cursor: pointer;
}
body.jb-page .kx-jc-save .save-job:hover { background: var(--t-surface-2); color: var(--t-ink); }
body.jb-page .kx-jc-save .save-job:has(.fas) { border-color: transparent; background: var(--t-accent-tint); color: var(--t-accent-text); }

.kx-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--t-ink-2); }
.kx-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.kx-meta i { width: 15px; text-align: center; font-size: 13.5px; color: var(--t-muted); }

body.jb-page .kx-jc-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  color: var(--t-muted);
}

.kx-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.kx-skill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--t-surface-2);
  color: var(--t-ink-2);
  font-size: 12.5px;
}
.kx-skill.kx-more { border: 1px dashed var(--t-line-strong); background: transparent; color: var(--t-muted); }

.kx-jc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--t-line);
  font-size: 13px;
  color: var(--t-muted);
}
.kx-jc-posted { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.kx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.kx-badge-type { background: var(--t-brand-tint); color: var(--t-brand-text); }
.kx-badge-soft { background: var(--t-surface-2); color: var(--t-ink-2); }
.kx-badge-good { background: var(--t-good-tint); color: var(--t-good); }

.kx-list { display: grid; gap: 12px; }
.kx-list > .kx-jobcard + .kx-jobcard { margin-top: 0; }

/* ---------- company tile / row ----------------------------------------- */

.kx-cotile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--t-line);
  border-radius: var(--kx-r);
  background: var(--t-surface);
  box-shadow: var(--t-shadow-1);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.kx-cotile:hover { border-color: var(--t-line-strong); box-shadow: var(--t-shadow-2); transform: translateY(-2px); }
.kx-cotile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
body.jb-page .kx-cotile h3 { margin: 0; font-size: 16.5px; }
body.jb-page .kx-cotile h3 a { color: var(--t-ink); text-decoration: none; }
.kx-cotile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.jb-page .kx-co-ind { margin: 3px 0 0; font-size: 13.5px; color: var(--t-muted); }
.kx-co-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--t-line);
  font-size: 13.5px;
  color: var(--t-ink-2);
}
.kx-co-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.kx-co-foot i { font-size: 13px; color: var(--t-muted); }
.kx-co-jobs { font-weight: 650; color: var(--t-brand-text); }
.kx-co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 767px) { .kx-co-grid { grid-template-columns: 1fr; } }

/* ---------- panels, detail layout -------------------------------------- */

.kx-panel {
  padding: 24px;
  border: 1px solid var(--t-line);
  border-radius: var(--kx-r);
  background: var(--t-surface);
  box-shadow: var(--t-shadow-1);
}
body.jb-page .kx-panel > h2,
body.jb-page .kx-panel-head h2 { margin: 0 0 14px; font-size: 19px; }
.kx-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.jb-page .kx-panel p { color: var(--t-ink-2); max-width: 72ch; }
.kx-panel + .kx-panel { margin-top: 16px; }

.kx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 20px 0 0; }
.kx-fact { padding: 12px 14px; border-radius: 12px; background: var(--t-surface-2); }
.kx-fact dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.kx-fact dd { margin: 4px 0 0; font-weight: 650; font-size: 15.5px; color: var(--t-ink); }

.kx-sim-list { display: grid; gap: 10px; }
.kx-sim {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--t-line);
  border-radius: 12px;
  background: var(--t-surface);
  transition: border-color .15s, background-color .15s;
}
.kx-sim:hover { border-color: var(--t-line-strong); background: var(--t-surface-2); }
.kx-sim-body { flex: 1; min-width: 0; }
body.jb-page .kx-sim h3 { margin: 0; font: 650 14.5px/1.3 var(--t-body); }
body.jb-page .kx-sim h3 a { color: var(--t-ink); text-decoration: none; }
.kx-sim h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.jb-page .kx-sim-co { margin: 2px 0 0; font-size: 13px; color: var(--t-ink-2); }
.kx-sim-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: 12.5px; color: var(--t-muted); }

/* ---------- empty state ------------------------------------------------- */

.kx-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 48px 20px;
  border: 1px dashed var(--t-line-strong);
  border-radius: var(--kx-r);
  background: var(--t-surface);
  text-align: center;
}
.kx-empty i { font-size: 26px; color: var(--t-muted); }
body.jb-page .kx-empty h3 { margin: 0; font-size: 19px; }
body.jb-page .kx-empty p { margin: 0; max-width: 42ch; color: var(--t-muted); }

@media (max-width: 767px) {
  .kx-jobcard, .kx-cotile, .kx-panel { padding: 16px; border-radius: 12px; }
  .kx-logo { width: 44px; height: 44px; border-radius: 10px; }
  /* phones: each fact is a compact chip, icon + value; the label ("Location",
     "Work mode") stays in the markup for screen readers but takes no space */
  .kx-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .kx-fact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; }
  .kx-fact dt { gap: 0; font-size: 0; letter-spacing: 0; line-height: 1; }
  .kx-fact dt i { width: 16px; font-size: 14px; text-align: center; color: var(--t-brand-text); }
  .kx-fact dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
  body.jb-page .kx-jc-title { font-size: 15.5px; }
}

/* ---------- inside the home carousels ----------------------------------
   Slick makes each card the slide itself (adds .slick-slide to it) and the
   slider CSS turns slides into flex rows. Keep the card's own column layout
   and give it the gutter the old slide wrapper used to carry. */
body.jb-page .kx-cotile.slick-slide,
body.jb-page .kx-jobcard.slick-slide {
  display: flex !important;
  flex-direction: column !important;
  height: auto;
  margin: 8px 9px;
}
body.jb-page .kx-cotile.slick-slide > *,
body.jb-page .kx-jobcard.slick-slide > * { flex: 0 0 auto; }
body.jb-page .kx-cotile.slick-slide .kx-co-foot,
body.jb-page .kx-jobcard.slick-slide .kx-jc-foot { margin-top: auto; }
body.jb-page .slick-track:has(.kx-cotile, .kx-jobcard) { padding-block: 4px; }
/* the home slider's ".slick-slide > div { height:100%; padding }" was written
   for slick's wrapper div; on these cards the direct divs are content rows */
body.jb-page .jb-home .featured-slider .kx-cotile.slick-slide > div,
body.jb-page .jb-home .job-listing-row-keyJP .kx-jobcard.slick-slide > div {
  height: auto;
  padding: 0;
}
body.jb-page .jb-home .featured-slider .kx-cotile.slick-slide > .kx-co-foot,
body.jb-page .jb-home .job-listing-row-keyJP .kx-jobcard.slick-slide > .kx-jc-foot { padding-top: 12px; }

/* ---------- home: section heads, carousels, join band -------------------- */

/* One heading treatment for every section (the three heads carried different
   legacy paddings, so they sat at three different indents). */
body.jb-page .jb-home .jb-sec-head { align-items: flex-end; margin-bottom: 22px; }
body.jb-page .jb-home .jb-sec-head > div,
body.jb-page .jb-home .job-category-heading-keyJP,
body.jb-page .jb-home .job-listing-heading-keyJP {
  margin: 0;
  padding: 0;
  text-align: left;
}
body.jb-page .jb-home .jb-sec-head h2,
body.jb-page .jb-home .featured-heading,
body.jb-page .jb-home .job-category-heading-keyJP h2,
body.jb-page .jb-home .job-listing-heading-keyJP h2 {
  margin: 0;
  padding: 0;
  font-family: var(--t-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--t-ink);
}
body.jb-page .jb-home .jb-sec-head p,
body.jb-page .jb-home .jb-sec-sub {
  margin: 6px 0 0;
  padding: 0;
  font-size: 15px;
  color: var(--t-muted);
}
/* "View all …" — the demo's plain arrow link, not a pill */
body.jb-page .jb-home .view-all-btn,
body.jb-page .jb-home .view-all-btn-keyJP {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--t-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--t-brand-text);
  text-decoration: none;
}
body.jb-page .jb-home .view-all-btn:hover,
body.jb-page .jb-home .view-all-btn-keyJP:hover { background: none; text-decoration: underline; }

/* cards inside the carousels read left-aligned like everywhere else */
body.jb-page .jb-home .kx-cotile,
body.jb-page .jb-home .kx-jobcard { text-align: left; }
body.jb-page .kx-co-foot > span:first-child:not(.kx-co-jobs) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}
body.jb-page .kx-co-foot > span:first-child:not(.kx-co-jobs) i { margin-right: 6px; }
body.jb-page .kx-co-foot { flex-wrap: nowrap; }
body.jb-page .kx-co-jobs { flex: none; }

/* "Create your free profile" — the demo's quiet surface band */
body.jb-page .jb-home .jb-join {
  border: 1px solid var(--t-line);
  border-radius: var(--kx-r-lg);
  background: var(--t-surface-2);
  box-shadow: none;
}
body.jb-page .jb-home .jb-join::before,
body.jb-page .jb-home .jb-join::after { display: none; }
body.jb-page .jb-home .jb-join h2,
body.jb-page .jb-home .jb-join h3 { font-family: var(--t-display); color: var(--t-ink); }
body.jb-page .jb-home .jb-join p { color: var(--t-ink-2); }

/* ---------- job detail layout (demo: head panel + body + aside) ----------- */

body.jb-page .kx-detail {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
}
.kx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--t-muted);
}
body.jb-page .kx-crumbs a { color: var(--t-muted); text-decoration: none; }
body.jb-page .kx-crumbs a:hover { color: var(--t-brand-text); }
.kx-crumbs > i { font-size: 10px; }
body.jb-page .kx-crumbs [aria-current] {
  max-width: 60ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--t-ink-2);
  font-weight: 500;
}
body.jb-page .kx-crumbs .backp { width: 34px; min-height: 34px; margin-right: 6px; border-radius: 9px; }

.kx-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  align-items: start;
  gap: 20px;
}
.kx-detail-main, .kx-detail-aside { display: grid; gap: 16px; min-width: 0; }
.kx-detail-main > .kx-panel + .kx-panel,
.kx-detail-aside > .kx-panel + .kx-panel { margin-top: 0; }

.kx-jd-top { display: flex; align-items: flex-start; gap: 16px; }
.kx-jd-titles { flex: 1; min-width: 0; }
body.jb-page .kx-jd-titles h1 {
  margin: 0;
  font: 700 clamp(22px, 3vw, 30px)/1.15 var(--t-display);
  letter-spacing: -.025em;
  color: var(--t-ink);
}
body.jb-page .kx-jd-co { margin: 6px 0 0; font-size: 15px; }
body.jb-page .kx-jd-co a { font-weight: 600; color: var(--t-brand-text); text-decoration: none; }
body.jb-page .kx-jd-co a:hover { text-decoration: underline; }
.kx-jd-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

body.jb-page .kx-icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--t-line);
  border-radius: 10px;
  background: var(--t-surface);
  color: var(--t-ink-2);
  cursor: pointer;
}
body.jb-page .kx-icon-btn:hover { background: var(--t-surface-2); color: var(--t-ink); }
/* one share button is enough on desktop; the header one is for phones */
body.jb-page .kx-jd-top #share_job_btnn { display: none; }

.kx-jd-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--t-line);
}
.kx-jd-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--t-muted); }
.kx-jd-stats b { font-weight: 600; color: var(--t-ink-2); }
body.jb-page .kx-jd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
body.jb-page .kx-jd-actions a { text-decoration: none; }
body.jb-page .kx-jd-actions .detail-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--t-line-strong);
  border-radius: 12px;
  background: var(--t-surface);
  color: var(--t-ink);
  font: 600 14.5px/1 var(--t-body);
}
body.jb-page .kx-jd-actions .detail-save-btn:hover { background: var(--t-surface-2); }
body.jb-page .kx-jd-actions .detail-save-btn.saved { border-color: transparent; background: var(--t-accent-tint); color: var(--t-accent-text); }
body.jb-page .kx-jd-actions .apply-job-btn { min-height: 42px; }

.kx-jd-body { display: grid; gap: 28px; }
body.jb-page .kx-jd-sec h2 { margin: 0 0 12px; font-size: 18px; }

/* long job description: clamped by the page script, faded at the cut */
body.jb-page #jobDescHead { scroll-margin-top: 88px; }
body.jb-page .kx-rich.is-clamped {
  max-height: 360px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
}
body.jb-page .kx-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 14.5px;
}
body.jb-page .kx-more-toggle[hidden] { display: none; }
.kx-more-toggle i { font-size: 12px; transition: transform .15s; }
.kx-more-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
body.jb-page .kx-rich { max-width: 74ch; color: var(--t-ink-2); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
body.jb-page .kx-rich p { margin: 0 0 10px; color: var(--t-ink-2); }
body.jb-page .kx-rich ul,
body.jb-page .kx-rich ol { margin: 0 0 12px; padding-left: 20px; }
body.jb-page .kx-rich li { margin: 4px 0; color: var(--t-ink-2); }
body.jb-page .kx-rich strong,
body.jb-page .kx-rich b { color: var(--t-ink); font-weight: 650; }
body.jb-page .kx-rich h3,
body.jb-page .kx-rich h4,
body.jb-page .kx-rich h5 { margin: 16px 0 8px; font-size: 16px; color: var(--t-ink); }
body.jb-page .kx-rich a { color: var(--t-brand-text); }
body.jb-page .kx-rich > :last-child { margin-bottom: 0; }
.kx-skills-lg .kx-skill { padding: 6px 12px; font-size: 13.5px; border: 1px solid var(--t-line); }
body.jb-page .kx-tag-links { display: flex; flex-wrap: wrap; gap: 8px; }
body.jb-page .kx-tag-links a {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--t-brand-tint);
  color: var(--t-brand-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
body.jb-page .kx-tag-links a:hover { background: var(--t-surface-3); color: var(--t-ink); }

.kx-co-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
body.jb-page .kx-co-card-top h2 { margin: 0; font-size: 18px; }
.kx-co-card:not(:has(.kx-btn-ghost)) .kx-co-card-top { margin-bottom: 0; }
/* clickable company card: the name link covers the card, the button stays on top */
body.jb-page .kx-co-card-link { position: relative; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
body.jb-page .kx-co-card-link:hover { border-color: var(--t-brand); box-shadow: var(--t-shadow-2); }
body.jb-page .kx-co-card-name { color: var(--t-ink); text-decoration: none; }
body.jb-page .kx-co-card-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.jb-page .kx-co-card-link:hover .kx-co-card-name { color: var(--t-brand-text); }
body.jb-page .kx-co-card-name:focus-visible { outline: none; }
body.jb-page .kx-co-card-link:has(.kx-co-card-name:focus-visible) { outline: 2px solid var(--t-brand); outline-offset: 2px; }
body.jb-page .kx-co-card-link .kx-btn-ghost { position: relative; z-index: 1; }

/* every job-page button is clickable (Save / Apply had the default arrow);
   the inert "Applied" state keeps it */
body.jb-page button:not(:disabled) { cursor: pointer; }
body.jb-page button.kx-is-applied { cursor: default; }
body.jb-page .kx-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--t-line-strong);
  border-radius: 12px;
  background: var(--t-surface);
  color: var(--t-ink);
  font: 600 14.5px/1 var(--t-body);
  text-decoration: none;
}
body.jb-page .kx-btn-ghost:hover { background: var(--t-surface-2); }
.kx-btn-block { width: 100%; }
body.jb-page .kx-sim-meta span { display: inline-flex; align-items: center; gap: 5px; }
body.jb-page .kx-sim-meta { margin: 6px 0 0; }

@media (max-width: 991px) {
  .kx-detail-grid { grid-template-columns: 1fr; }
  body.jb-page .kx-jd-top #share_job_btnn { display: inline-grid; }
  body.jb-page .kx-jd-foot #share_job_btn { display: none; }
}
@media (max-width: 600px) {
  body.jb-page .kx-detail { padding: 14px 14px 0; }
  .kx-jd-top .kx-logo-md { width: 48px; height: 48px; border-radius: 12px; }
  body.jb-page .kx-jd-top .kx-logo-md.kx-logo-initials { font-size: 17px; }
  .kx-jd-actions { width: 100%; }
  body.jb-page .kx-jd-actions > * { flex: 1; }
  body.jb-page .kx-jd-actions > a > button { width: 100%; }
}
/* Phones: Save / Apply live only in the fixed bottom bar (.mobile-fixed-actions,
   shown <=767px by style.css) — the head card's copy was a second, identical pair. */
@media (max-width: 767px) {
  body.jb-page.jb-job_detail_page .kx-jd-foot .kx-jd-actions { display: none; }
  body.jb-page.jb-job_detail_page .kx-jd-foot { padding-top: 12px; }
  body.jb-page.jb-job_detail_page { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body.jb-page .mobile-fixed-actions {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--t-line);
    box-shadow: 0 -10px 24px -14px rgba(15, 35, 64, .22);
  }
  body.jb-page .mobile-fixed-actions__inner > * { flex: 1; min-width: 0; }
  body.jb-page .mobile-fixed-actions__inner a > button { width: 100%; }
  body.jb-page .mobile-fixed-actions__inner .btn1 { height: 46px; border-radius: 12px; font: 600 15px/1 var(--t-body); }
}

/* ---------- company detail: cover + header (demo) ------------------------ */

.kx-co-cover {
  height: 176px;
  background-color: #D6E6F7;
  background-position: center;
  background-size: cover;
}
.kx-co-cover-plain {
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 22px),
    radial-gradient(420px 220px at 85% 20%, #E6F0FB, transparent 70%);
}
body.jb-page .kx-co-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kx-co-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px 22px;
  padding-top: 18px;
}
.kx-co-head .kx-logo-lg { margin-top: -66px; box-shadow: 0 0 0 5px var(--t-bg); }
.kx-co-head .kx-logo-lg img { padding: 10px; }
.kx-co-title { min-width: 0; }
body.jb-page .kx-co-title h1 { margin: 0; font: 700 clamp(26px, 3.6vw, 36px)/1.1 var(--t-display); letter-spacing: -.03em; color: var(--t-ink); }
body.jb-page .kx-co-tag { margin: 6px 0 0; font-size: 16px; color: var(--t-ink-2); }
.kx-co-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: var(--t-ink-2); }
.kx-co-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.kx-co-meta i { font-size: 13px; color: var(--t-muted); }

/* the tab block sits straight under the header, in the same column */
body.jb-page.jb-company_profile_page .company-tabs { margin-top: 24px !important; }

@media (max-width: 800px) {
  .kx-co-cover { height: 120px; }
  .kx-co-head { grid-template-columns: 1fr; padding-top: 0; gap: 12px; }
  .kx-co-head .kx-logo-lg { width: 80px; height: 80px; margin-top: -44px; border-radius: 18px; }
  body.jb-page .kx-co-head .kx-logo-lg.kx-logo-initials { font-size: 28px; }
  body.jb-page .kx-co-wrap { padding: 0 14px; }
}

body.jb-page .tab-link { font-family: var(--t-body) !important; letter-spacing: 0; }

/* ---------- company detail: header actions + body (demo) ------------------ */
.kx-co-head:has(.kx-co-actions) { grid-template-columns: auto minmax(0, 1fr) auto; }
.kx-co-actions { display: flex; gap: 8px; align-self: center; }
body.jb-page .kx-co-actions .kx-btn-ghost i { font-size: 14px; color: var(--t-muted); }
.kx-count-pill {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--t-surface-3);
  color: var(--t-ink-2);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.kx-co-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 20px;
}
.kx-co-body:not(:has(> .kx-co-aside)),
.kx-co-body-one { grid-template-columns: minmax(0, 1fr); }
.kx-co-main, .kx-co-aside { display: grid; gap: 16px; min-width: 0; }
body.jb-page .kx-co-main > .kx-panel + .kx-panel,
body.jb-page .kx-co-aside > .kx-panel + .kx-panel { margin-top: 0; }
body.jb-page .kx-co-body .kx-panel > h2,
body.jb-page .kx-co-body .kx-panel-head h2 { margin: 0 0 14px; font: 700 19px/1.25 var(--t-display); letter-spacing: -.01em; color: var(--t-ink); }
body.jb-page .kx-co-body .kx-panel-head { margin-bottom: 14px; }
body.jb-page .kx-co-body .kx-panel-head h2 { margin: 0; }

body.jb-page .kx-linkish {
  padding: 0;
  border: 0;
  background: none;
  color: var(--t-brand-text);
  font: 600 13.5px/1.2 var(--t-body);
  cursor: pointer;
}
body.jb-page .kx-linkish:hover { text-decoration: underline; }

/* about / recognition: saved image beside the saved rich text */
.kx-co-media { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; gap: 20px; }
.kx-co-media-text { grid-template-columns: minmax(0, 1fr); }
.kx-co-media > img { display: block; width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 12px; border: 1px solid var(--t-line); }

.kx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
body.jb-page .kx-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--t-line);
  border-radius: 12px;
  cursor: zoom-in;
  transition: opacity .15s;
}
body.jb-page .kx-gallery img:hover { opacity: .88; }

.kx-info-list { display: grid; gap: 14px; margin: 0; }
.kx-info-list > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 12px; }
.kx-info-list i { grid-row: span 2; margin-top: 3px; font-size: 14px; text-align: center; color: var(--t-muted); }
body.jb-page .kx-info-list dt { margin: 0; font-size: 13px; font-weight: 500; color: var(--t-muted); }
body.jb-page .kx-info-list dd { margin: 0; font-weight: 600; font-size: 14.5px; color: var(--t-ink); overflow-wrap: anywhere; }
body.jb-page .kx-info-list dd a { color: var(--t-brand-text); text-decoration: none; }
body.jb-page .kx-info-list dd a:hover { text-decoration: underline; }

.kx-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.kx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--t-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--t-ink-2);
}

.kx-awards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.kx-awards li { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; color: var(--t-ink-2); overflow-wrap: anywhere; }
.kx-award-year { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--t-brand-tint); color: var(--t-brand-text); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.kx-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kx-benefit { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--t-surface-2); font-size: 14.5px; font-weight: 500; color: var(--t-ink-2); }
.kx-benefit i { flex: none; width: 18px; text-align: center; color: var(--t-brand-text); }

@media (max-width: 991px) {
  .kx-co-body { grid-template-columns: minmax(0, 1fr); }
  .kx-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .kx-co-head:has(.kx-co-actions) { grid-template-columns: 1fr; }
  .kx-co-actions { align-self: start; }
}
@media (max-width: 600px) {
  .kx-co-media { grid-template-columns: minmax(0, 1fr); }
  .kx-benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .kx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- company directory hero → the demo's white dotted band -------- */
body.jb-page .company-hero-slider {
  background-image:
    radial-gradient(rgba(16, 24, 40, .13) 1.4px, transparent 1.5px),
    linear-gradient(135deg, #FFFFFF 0%, #FBFCFE 54%, #F4F7FB 100%) !important;
  background-size: 22px 22px, auto !important;
  border-bottom: 1px solid rgba(16, 24, 40, .09);
}
body.jb-page .company-hero-slider::before,
body.jb-page .company-hero-slider::after,
body.jb-page .hero-CListing::before,
body.jb-page .hero-CListing::after { display: none !important; }
body.jb-page .company-hero-title { color: var(--t-ink); text-shadow: none; }
body.jb-page .company-hero-slider .industry-card { box-shadow: var(--t-shadow-1); }

/* =============================================================================
   Header — the demo top bar: brand mark + wordmark, pill nav, quiet links,
   one primary action. Chains repeat style.css's own so no !important is needed.
   ============================================================================= */

body.jb-page .nk-header-wrapper .nk-header {
  width: 100%;
  max-width: 1200px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}
body.jb-page .nk-header-wrapper .nk-header .nk-left { gap: 24px; }
body.jb-page .nk-header-wrapper .nk-header .nk-left .nk-logo { font-size: inherit; }

.kx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.kx-brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--t-brand);
}
.kx-brand .kx-brand-mark img {
  display: block;
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1);
}
.kx-brand-word {
  font: 800 22px/1 var(--t-display);
  letter-spacing: -.03em;
  color: var(--t-ink);
  white-space: nowrap;
}
.kx-brand-word > span { font-weight: 600; color: var(--t-brand-text); }

body.jb-page .nk-header-wrapper .nk-header .nk-left .nk-nav { display: flex; gap: 2px; }
body.jb-page .nk-header-wrapper .nk-header .nk-left .nk-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--t-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t-ink-2);
  text-decoration: none;
}
body.jb-page .nk-header-wrapper .nk-header .nk-left .nk-nav a:hover { background: var(--t-surface-2); color: var(--t-ink); }
/* web_script.js marks the current section by colouring it; turn that into the demo's pill */
body.jb-page .nk-header-wrapper .nk-header .nk-left .nk-nav a[style*="color"] { background: var(--t-brand-tint); }

body.jb-page .nk-header-wrapper .nk-header .nk-right .withoutloginbtnwrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}
body.jb-page .kx-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font: 600 14px/1 var(--t-body);
  color: var(--t-ink-2);
  text-decoration: none;
}
body.jb-page .kx-top-link:hover { background: var(--t-surface-2); color: var(--t-ink); }
/* "Log in" is a quiet text action in the demo; "Register" stays primary */
body.jb-page .nk-header-wrapper .nk-header .nk-right .withoutloginbtnwrapper .btn-without-login:not(.fullfill-btn) {
  min-height: 36px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
  color: var(--t-ink-2);
}
body.jb-page .nk-header-wrapper .nk-header .nk-right .withoutloginbtnwrapper .btn-without-login:not(.fullfill-btn):hover {
  background: var(--t-surface-2);
  color: var(--t-ink);
}
body.jb-page .nk-header-wrapper .nk-header .nk-right .withoutloginbtnwrapper .btn-without-login.fullfill-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
}
@media (max-width: 900px) {
  body.jb-page .nk-header-wrapper .nk-header { padding: 0 14px; min-height: 58px; }
  .kx-brand-word { font-size: 19px; }
}
/* the full "CoreHRx Jobs" name shows at every width; very narrow phones get a
   slightly smaller wordmark so it still fits beside Log in / Register */
@media (max-width: 380px) {
  .kx-brand-word { font-size: 17px; }
  .kx-brand { gap: 8px; }
}

/* =============================================================================
   Home hero — the demo's left-aligned hero on the white dotted band.
   ============================================================================= */

body.jb-page .jb-home .job-hero-indRS { padding: 44px 0 34px; }
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS {
  display: grid;
  gap: 26px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS p.kx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 600 12.5px/1.3 var(--t-body);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #45536B;
}
.kx-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t-accent);
  box-shadow: 0 0 0 4px var(--t-accent-tint);
}
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS h1.kx-hero-title {
  max-width: 17ch;
  margin: 0;
  font: 750 clamp(34px, 5.6vw, 58px)/1.02 var(--t-display);
  letter-spacing: -.035em;
  color: var(--t-ink);
  text-align: left;
}
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS h1.kx-hero-title .jb-hl {
  color: var(--t-brand);
  -webkit-text-fill-color: var(--t-brand);
}
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS p.kx-hero-lead {
  max-width: 56ch;
  margin: -8px 0 0;
  font: 400 17px/1.55 var(--t-body);
  color: #45536B;
  text-align: left;
}

/* search bar: 1.6 / 1 / 1 / button, as in the demo */
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  width: 100%;
  max-width: 1000px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: var(--t-surface);
  box-shadow: 0 18px 40px -22px rgba(16, 24, 40, .35), 0 1px 3px rgba(16, 24, 40, .1);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS i { color: var(--t-muted); }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS input,
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS select {
  font-family: var(--t-body);
  font-size: 15.5px;
  color: var(--t-ink);
}
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS input::placeholder { color: var(--t-muted); }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-btn-indRS {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  margin-left: 6px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 16px;
}

/* "Trending" row */
body.jb-page .jb-home .jb-quick {
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}
body.jb-page .jb-home .jb-quick-label {
  margin-right: 4px;
  font: 600 13px/1 var(--t-body);
  color: var(--t-muted);
}
body.jb-page .jb-home .jb-quick .jb-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--t-line-strong);
  border-radius: 999px;
  background: var(--t-surface);
  box-shadow: none;
  font: 600 13.5px/1.2 var(--t-body);
  color: var(--t-ink-2);
  text-decoration: none;
}
body.jb-page .jb-home .jb-quick .jb-chip:hover { border-color: var(--t-brand); color: var(--t-brand-text); }

@media (max-width: 760px) {
  body.jb-page .jb-home .job-hero-indRS { padding: 32px 0 28px; }
  body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS { gap: 22px; padding: 0 14px; }
  body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS { grid-template-columns: 1fr; padding: 6px; }
  body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-btn-indRS { width: 100%; margin: 6px 0 0; }
}
/* desktop: search bar and Trending row centred under the hero text */
@media (min-width: 761px) {
  body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS { margin: 0 auto; }
  body.jb-page .jb-home .jb-quick { justify-content: center; }
}
body.jb-page .nk-header-wrapper .nk-right a.kx-top-link { color: var(--t-ink-2); }
body.jb-page .nk-header-wrapper .nk-right a.kx-top-link:hover { color: var(--t-ink); }
/* demo rhythm: each home section opens 56px below the previous one */
body.jb-page .jb-home .indexpage-contantJP > section,
body.jb-page .jb-home .indexpage-contantJP .job-category-wrap-keyJP { margin-top: 56px; padding-top: 0; }
body.jb-page .jb-home .indexpage-contantJP { padding-top: 0; }
body.jb-page .jb-home .indexpage-contantJP .job-category-wrap-keyJP .job-category-row-keyJP { padding: 0; gap: 12px; }
@media (max-width: 900px) {
  body.jb-page .nk-header-wrapper .nk-header .nk-left .nk-nav.desktop-only,
  body.jb-page .kx-top-link.desktop-only { display: none; }
}
/* one column for the whole page: every home section shares the hero's gutter */
body.jb-page .jb-home .indexpage-contantJP {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
body.jb-page .jb-home .indexpage-contantJP > section,
body.jb-page .jb-home .indexpage-contantJP .job-category-wrap-keyJP,
body.jb-page .jb-home .indexpage-contantJP .job-listing-sec-keyJP,
body.jb-page .jb-home .indexpage-contantJP .featured-companies-sec,
body.jb-page .jb-home .indexpage-contantJP .jb-join-sec {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 760px) {
  body.jb-page .jb-home .indexpage-contantJP { padding: 0 14px; }
}
@media (max-width: 760px) {
  body.jb-page .jb-home .jb-sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS { min-width: 0; }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .select2-container { max-width: 100%; min-width: 0; }
@media (max-width: 900px) {
  body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS { grid-template-columns: 1fr; padding: 6px; }
  body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-btn-indRS { width: 100%; margin: 6px 0 0; }
}

/* ---------- home: jobs by city ------------------------------------------ */
body.jb-page .jb-home .indexpage-contantJP .kx-city-sec { margin-top: 56px; }
.kx-city-row { display: flex; flex-wrap: wrap; gap: 10px; }
body.jb-page .kx-city {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--t-line);
  border-radius: 999px;
  background: var(--t-surface);
  box-shadow: var(--t-shadow-1);
  font: 600 14.5px/1.2 var(--t-body);
  color: var(--t-ink);
  text-decoration: none;
  transition: border-color .15s;
}
body.jb-page .kx-city:hover { border-color: var(--t-brand); }
.kx-city i { font-size: 14px; color: var(--t-brand-text); }
.kx-city .kx-n { font-weight: 500; font-size: 13px; color: var(--t-muted); font-variant-numeric: tabular-nums; }

/* ---------- home: explore by category (demo) ---------------------------- */
.kx-cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
body.jb-page .kx-cat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  background: var(--t-surface);
  box-shadow: var(--t-shadow-1);
  color: var(--t-ink);
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
body.jb-page .kx-cat:hover { border-color: var(--t-brand); box-shadow: var(--t-shadow-2); transform: translateY(-2px); color: var(--t-ink); }
.kx-cat-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--t-brand-tint);
  color: var(--t-brand-text);
  font-size: 19px;
}
.kx-cat-text { display: grid; gap: 3px; min-width: 0; }
.kx-cat-name { font: 650 15.5px/1.3 var(--t-body); color: var(--t-ink); }
.kx-cat-count { font-size: 13.5px; color: var(--t-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) {
  .kx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.jb-page .kx-cat { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
}
@media (max-width: 440px) {
  body.jb-page .kx-cat { padding: 12px; gap: 10px; }
  .kx-cat-ico { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
  .kx-cat-name { font-size: 14px; }
}

/* ---------- footer (demo) ----------------------------------------------- */
body.jb-page .footerSection.kx-footer {
  margin-top: 72px;
  padding: 44px 0 28px;
  border-top: 1px solid var(--t-line);
  background: var(--t-surface-2);
  text-align: left;
  font: 400 14px/1.55 var(--t-body);
  color: var(--t-ink-2);
}
.kx-foot-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.kx-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
body.jb-page .kx-foot-brand p { max-width: 36ch; margin: 12px 0 0; color: var(--t-muted); }
body.jb-page .kx-footer h4 {
  margin: 0 0 12px;
  font: 600 12px/1 var(--t-body);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--t-muted);
}
body.jb-page .kx-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
body.jb-page .kx-footer a { color: var(--t-ink-2); text-decoration: none; }
body.jb-page .kx-footer a:hover { color: var(--t-brand-text); }
body.jb-page .kx-footer .kx-brand-word { color: var(--t-ink); }
.kx-foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--t-line);
  font-size: 13px;
  color: var(--t-muted);
}
body.jb-page .kx-foot-bottom .footerCopy { margin: 0; padding: 0; font-size: 13px; color: var(--t-muted); }
@media (max-width: 760px) {
  .kx-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kx-foot-grid > :first-child { grid-column: 1 / -1; }
  .kx-foot-wrap { padding: 0 14px; }
}

/* =============================================================================
   Listing / search / company Jobs tab — the demo's filter rail (one panel,
   groups divided by rules) and plain results heading.
   ============================================================================= */

body.jb-page aside.company-filters {
  padding: 0 !important;
  border: 1px solid var(--t-line) !important;
  border-radius: var(--kx-r) !important;
  background: var(--t-surface) !important;
  box-shadow: var(--t-shadow-1) !important;
}
body.jb-page aside.company-filters > h2 {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--t-line);
  background: var(--t-surface);
  font: 700 17px/1.2 var(--t-display);
  color: var(--t-ink);
}
body.jb-page aside.company-filters .filter-section,
body.jb-page aside.company-filters .filter-section + .filter-section {
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--t-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.jb-page aside.company-filters .filter-section:last-child { border-bottom: 0 !important; }
body.jb-page aside.company-filters .filter-section h4 {
  margin: 0 0 10px;
  font: 600 12px/1 var(--t-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-muted);
}
body.jb-page aside.company-filters .filter-section label { padding: 5px 0; font-size: 14.5px; color: var(--t-ink-2); }

/* results heading: text, not a card */
body.jb-page main.company-results > .results-header,
body.jb-page .results-header {
  align-items: center;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.jb-page .results-header .sh-result {
  font: 700 clamp(20px, 2.4vw, 24px)/1.2 var(--t-display);
  letter-spacing: -.015em;
  color: var(--t-ink);
}
body.jb-page .results-header .sh-result span { color: var(--t-ink); }
body.jb-page .results-header .backp { width: 36px; min-height: 36px; border-radius: 10px; }
body.jb-page .results-header .sort-select .label { font-size: 14px; color: var(--t-muted); }

/* "Sort by" custom dropdown → the demo's single select */
body.jb-page .custom-select {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.jb-page .custom-select .selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 170px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--t-line-strong);
  border-radius: 10px;
  background: var(--t-surface);
  box-shadow: none;
  font: 600 14px/1 var(--t-body);
  color: var(--t-ink);
  cursor: pointer;
}
body.jb-page .custom-select .selected .value { padding: 0; border: 0; background: none; }
body.jb-page .custom-select .selected .caret { color: var(--t-muted); }
body.jb-page .custom-select .options {
  padding: 6px;
  border: 1px solid var(--t-line);
  border-radius: 12px;
  background: var(--t-surface);
  box-shadow: var(--t-shadow-2);
}
body.jb-page .custom-select .options li {
  padding: 8px 10px;
  border-radius: 8px;
  font: 500 14px/1.3 var(--t-body);
  color: var(--t-ink-2);
}
body.jb-page .custom-select .options li:hover { background: var(--t-surface-2); color: var(--t-ink); }
body.jb-page .custom-select .options li.active { background: var(--t-brand-tint); color: var(--t-brand-text); font-weight: 600; }

/* =============================================================================
   Company directory header — the demo's plain heading + industry chips.
   ============================================================================= */
body.jb-page .company-hero-slider {
  min-height: 0 !important;
  padding: 28px 0 8px !important;
  border-bottom: 0 !important;
  background: none !important;
}
body.jb-page .company-hero-title {
  margin: 0;
  font: 700 clamp(26px, 3.4vw, 34px)/1.15 var(--t-display) !important;
  letter-spacing: -.03em;
  color: var(--t-ink);
  text-align: left;
}
body.jb-page .company-hero-inner .kx-dir-sub { margin: 6px 0 18px; font-size: 15px; color: var(--t-muted); }
body.jb-page .company-hero-slider .industry-slider {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.jb-page .company-hero-slider .industry-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
}
body.jb-page .company-hero-slider .industry-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--t-line-strong);
  border-radius: 999px;
  background: var(--t-surface);
  box-shadow: none;
  transform: none;
}
body.jb-page .company-hero-slider .industry-card:hover { border-color: var(--t-ink-2); transform: none; box-shadow: none; }
body.jb-page .company-hero-slider .industry-card.active,
body.jb-page .company-hero-slider .industry-card[aria-pressed="true"] { border-color: var(--t-ink); background: var(--t-ink); }
body.jb-page .company-hero-slider .industry-card.active h3,
body.jb-page .company-hero-slider .industry-card.active p { color: var(--t-surface); }
body.jb-page .company-hero-slider .industry-card h3 { margin: 0; font: 600 13.5px/1 var(--t-body); color: var(--t-ink-2); white-space: nowrap; }
body.jb-page .company-hero-slider .industry-card p { margin: 0; font: 500 13px/1 var(--t-body); color: var(--t-muted); }
body.jb-page .company-hero-slider .industry-card p span { display: none; }
/* chips wrap, so the carousel arrows have nothing to scroll */
body.jb-page .company-hero-slider .slider-btn,
body.jb-page .company-hero-slider .slider-nav { display: none !important; }
body.jb-page .company-hero-slider .company-hero-inner { text-align: left !important; }
body.jb-page .company-hero-slider .company-hero-title { max-width: none; margin-left: 0 !important; }
body.jb-page .company-hero-slider .industry-track { justify-content: flex-start !important; }
body.jb-page .company-hero-slider .industry-card {
  flex-direction: row !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}
body.jb-page .company-hero-slider .company-hero-inner { align-items: flex-start !important; }
body.jb-page .company-hero-slider .industry-slider { justify-content: flex-start !important; width: 100%; }
body.jb-page .company-hero-slider .industry-track { margin: 0 !important; padding: 0 !important; width: 100%; }

/* one page column everywhere (the demo's 1200px + 24px gutter) */
body.jb-page.jb-job_listing_page .company-page-layout,
body.jb-page.jb-search_page .company-page-layout,
body.jb-page.jb-company_listing_page .company-page-layout,
body.jb-page.jb-company_listing_page .company-hero-inner {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}
@media (max-width: 760px) {
  body.jb-page.jb-job_listing_page .company-page-layout,
  body.jb-page.jb-search_page .company-page-layout,
  body.jb-page.jb-company_listing_page .company-page-layout,
  body.jb-page.jb-company_listing_page .company-hero-inner { padding-left: 14px !important; padding-right: 14px !important; }
}

/* Hero band ends in the gap between the search bar and the Trending row.
   Desktop: fixed. Stacked layouts (≤900px): the search stack's height varies
   with wrapping, so the band covers the whole hero instead. */
/* The dark blue band of the demo (v3/v4): bright blue to navy with a white dot
   grid. It ends halfway down the search card — the inline script under the hero
   sets --kx-band-h to that point at every width; 342px is the no-JS fallback. */
body.jb-page .jb-home .job-hero-indRS .job-hero-overlay-indRS {
  inset: 0 0 auto 0;
  height: var(--kx-band-h, 342px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%23ffffff' fill-opacity='0.16'/%3E%3C/svg%3E") repeat,
    radial-gradient(820px 440px at 88% -30%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(640px 440px at 4% 150%, rgba(125, 205, 255, .26), transparent 62%),
    linear-gradient(135deg, #2A7ED0 0%, #14508F 54%, #0C2E5C 100%);
  border-bottom: 0;
}
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS h1.kx-hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(6, 26, 54, .28);
}
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS h1.kx-hero-title .jb-hl { color: #FFB78F; -webkit-text-fill-color: #FFB78F; }
body.jb-page .jb-home .job-hero-indRS .job-hero-content-indRS p.kx-hero-lead { color: #C3D9F4; }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS {
  box-shadow: 0 20px 44px -20px rgba(5, 24, 54, .45), 0 2px 6px rgba(5, 24, 54, .14);
}

/* ---------- home: employer band (demo) ----------------------------------- */
body.jb-page .jb-home .indexpage-contantJP .kx-employer-sec { margin-top: 56px; }
.kx-employer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 40px;
  padding: 32px;
  border: 1px solid var(--t-line);
  border-radius: var(--kx-r-lg);
  background: var(--t-surface);
}
body.jb-page .kx-employer h2 {
  margin: 0;
  font: 700 clamp(22px, 2.6vw, 28px)/1.18 var(--t-display);
  letter-spacing: -.015em;
  color: var(--t-ink);
}
body.jb-page .kx-employer p { max-width: 52ch; margin: 8px 0 0; font-size: 15px; color: var(--t-ink-2); }
body.jb-page .kx-employer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.jb-page .kx-employer li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--t-ink-2); }
.kx-employer li i { margin-top: 3px; font-size: 16px; color: var(--t-brand-text); }
.kx-employer li .kx-i { margin-top: 2px; color: var(--t-brand-text); }
@media (max-width: 800px) {
  .kx-employer { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- candidate: saved + applied jobs (/jobs/saved-jobs/, /jobs/applied-jobs/) ---------- */
body.jb-page .kx-myjobs { width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px 24px 56px; box-sizing: border-box; font-family: var(--t-body); }
body.jb-page .kx-myjobs-title { margin: 14px 0 0; font: 700 clamp(26px, 3.4vw, 34px)/1.15 var(--t-display); letter-spacing: -.03em; color: var(--t-ink); }
body.jb-page .kx-myjobs-sub { margin: 6px 0 0; font-size: 15.5px; color: var(--t-ink-2); }

.kx-tabs {
  display: flex;
  gap: 4px;
  margin-top: 22px;
  border-bottom: 1px solid var(--t-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.kx-tabs::-webkit-scrollbar { display: none; }
body.jb-page .kx-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -1px;
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 15px;
  color: var(--t-muted);
  white-space: nowrap;
  text-decoration: none;
}
body.jb-page .kx-tab:hover { color: var(--t-ink); }
body.jb-page .kx-tab[aria-selected="true"] { border-bottom-color: var(--t-brand); color: var(--t-ink); }
.kx-tab i { font-size: 14px; }
.kx-tab .kx-count-pill { margin-left: 0; }
.kx-tab[aria-selected="true"] .kx-count-pill { background: var(--t-brand); color: #FFFFFF; }

.kx-myjobs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 20px; margin-top: 22px; }
.kx-myjobs-main { min-width: 0; }
.kx-myjobs-pane[hidden] { display: none; }
.kx-myjobs-aside { position: sticky; top: 88px; }
body.jb-page .kx-myjobs-aside .kx-panel > h2 { margin: 0 0 14px; font: 700 18px/1.25 var(--t-display); color: var(--t-ink); }
.kx-stat-list { display: grid; gap: 10px; margin: 0; }
.kx-stat-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.jb-page .kx-stat-list dt { margin: 0; font-size: 14.5px; color: var(--t-ink-2); }
body.jb-page .kx-stat-list dd { margin: 0; font-weight: 700; font-size: 15px; color: var(--t-ink); font-variant-numeric: tabular-nums; }
.kx-stat-list .kx-stat-sub { padding-left: 12px; border-left: 2px solid var(--t-line); }
body.jb-page .kx-stat-list .kx-stat-sub dt { font-size: 13.5px; color: var(--t-muted); }
body.jb-page .kx-stat-list .kx-stat-sub dd { font-size: 14px; font-weight: 600; }
body.jb-page .kx-myjobs-note { margin: 16px 0 14px; font-size: 13px; line-height: 1.5; color: var(--t-muted); }

body.jb-page .kx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--t-brand);
  color: #FFFFFF;
  font: 600 14.5px/1 var(--t-body);
  text-decoration: none;
}
body.jb-page .kx-btn-primary:hover { background: var(--t-brand-hover); color: #FFFFFF; }
body.jb-page .kx-empty .kx-btn-primary { margin-top: 6px; }

.kx-badge-warn { background: #FDF0DC; color: #8A5300; }
body.jb-page .kx-jc-title > span { color: var(--t-ink-2); }

@media (max-width: 991px) {
  .kx-myjobs-grid { grid-template-columns: minmax(0, 1fr); }
  /* the tab counts and each card's status badge carry the same information */
  .kx-myjobs-aside { display: none; }
}
@media (max-width: 600px) {
  body.jb-page .kx-myjobs { padding: 14px 14px 40px; }
  body.jb-page .kx-tab { padding: 12px 10px; font-size: 14.5px; }
}

/* profile side panel open: the page behind stays put (class set by script.js) */
html.kx-panel-open,
html.kx-panel-open body { overflow: hidden; }
html.kx-panel-open body { padding-right: var(--kx-scrollbar-gap, 0px); }
body.jb-page .profile-panel-headerpanel .profile-info-headerpanel { overscroll-behavior: contain; }
body.jb-page .overlay-headerpanel { touch-action: none; }

/* ---------- home search: fields that still need a value (no toast) ---------- */
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS {
  border-radius: 10px;
  transition: background-color .15s, box-shadow .15s;
}
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid {
  background: #FFF4F3;
  box-shadow: inset 0 0 0 1.5px #D6453D;
}
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid i { color: #C2362F; }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid input::placeholder,
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid .select2-selection__placeholder,
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid .select2-search__field::placeholder { color: #B2453F; }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid .select2-selection { background: transparent; }
/* flagged only while empty, so the experience picker's text is its placeholder */
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid .select2-selection__rendered { color: #B2453F; }
body.jb-page .jb-home .job-hero-indRS .job-search-box-indRS .search-field-indRS.kx-field-invalid .select2-selection__arrow b { border-top-color: #C2362F; }
.jb-home .job-search-box-indRS.kx-shake { animation: kx-shake .32s ease-in-out; }
@keyframes kx-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .jb-home .job-search-box-indRS.kx-shake { animation: none; }
}
.kx-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- job listing / search on phones: bottom bar + filter sheet ---------- */
@media (max-width: 991px) {
  /* one slim bar: sort on the left, Filter on the right (was two stacked rows
     with style.css's centre divider running through both) */
  body.jb-page.jb-job_listing_page .results-header .results-controls,
  body.jb-page.jb-search_page .results-header .results-controls {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--t-line);
    box-shadow: 0 -10px 24px -14px rgba(15, 35, 64, .22);
  }
  body.jb-page.jb-job_listing_page .results-controls::before,
  body.jb-page.jb-search_page .results-controls::before { display: none; }
  body.jb-page.jb-job_listing_page .results-controls > .sort-select,
  body.jb-page.jb-job_listing_page .results-controls > .mobile-topbar,
  body.jb-page.jb-search_page .results-controls > .sort-select,
  body.jb-page.jb-search_page .results-controls > .mobile-topbar {
    display: block;
    flex: none;
    width: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
  }
  body.jb-page.jb-job_listing_page .results-controls .sort-select .label,
  body.jb-page.jb-search_page .results-controls .sort-select .label { display: none; }
  body.jb-page.jb-job_listing_page .results-controls .custom-select,
  body.jb-page.jb-search_page .results-controls .custom-select { width: 100%; max-width: none; }
  body.jb-page.jb-job_listing_page .results-controls .custom-select .selected,
  body.jb-page.jb-search_page .results-controls .custom-select .selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--t-line-strong);
    border-radius: 12px;
    background: var(--t-surface);
    font: 600 15px/1 var(--t-body);
    color: var(--t-ink);
    box-shadow: none;
  }
  /* jobs-ui.css paints .open-filters white with !important */
  body.jb-page.jb-job_listing_page .results-controls .open-filters,
  body.jb-page.jb-search_page .results-controls .open-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--t-brand) !important;
    border-radius: 12px !important;
    background: var(--t-brand) !important;
    color: #FFFFFF !important;
    font: 600 15px/1 var(--t-body);
    box-shadow: none;
  }
  body.jb-page.jb-job_listing_page .results-controls .open-filters:hover,
  body.jb-page.jb-search_page .results-controls .open-filters:hover {
    border-color: var(--t-brand-hover) !important;
    background: var(--t-brand-hover) !important;
    color: #FFFFFF !important;
  }
  /* keep the last card and the footer clear of the fixed bar */
  body.jb-page.jb-job_listing_page,
  body.jb-page.jb-search_page { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

  /* the sheet: header + scrolling filters + sticky "Show jobs" */
  body.jb-page.jb-job_listing_page .filter-panel#mobileFilterPanel,
  body.jb-page.jb-search_page .filter-panel#mobileFilterPanel,
  body.jb-page.jb-company_listing_page .filter-panel#mobileFilterPanel,
  body.jb-page.jb-company_profile_page .filter-panel#mobileFilterPanel {
    display: flex;
    flex-direction: column;
    right: 0;
    width: min(380px, 90vw);
    padding: 0;
    overflow: hidden;
    border-left: 0;
    border-radius: 18px 0 0 18px;
    background: var(--t-surface);
    transform: translateX(calc(100% + 24px));
    visibility: hidden;
    transition: transform .3s cubic-bezier(.2, .9, .2, 1), visibility 0s linear .3s;
    z-index: 95;
  }
  body.jb-page.jb-job_listing_page .filter-panel#mobileFilterPanel.open,
  body.jb-page.jb-search_page .filter-panel#mobileFilterPanel.open,
  body.jb-page.jb-company_listing_page .filter-panel#mobileFilterPanel.open,
  body.jb-page.jb-company_profile_page .filter-panel#mobileFilterPanel.open {
    transform: none;
    visibility: visible;
    transition: transform .3s cubic-bezier(.2, .9, .2, 1), visibility 0s;
  }
  body.jb-page.jb-job_listing_page .filter-overlay.show,
  body.jb-page.jb-search_page .filter-overlay.show,
  body.jb-page.jb-company_listing_page .filter-overlay.show,
  body.jb-page.jb-company_profile_page .filter-overlay.show { z-index: 90; }
  .kx-fp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--t-line);
  }
  body.jb-page .kx-fp-head h2 { margin: 0; font: 700 19px/1.2 var(--t-display); color: var(--t-ink); }
  body.jb-page .kx-fp-close {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--t-line);
    border-radius: 10px;
    background: var(--t-surface);
    color: var(--t-ink-2);
    font-size: 17px;
  }
  body.jb-page .kx-fp-close:hover { background: var(--t-surface-2); color: var(--t-ink); }
  body.jb-page #mobileFilterPanel .filters-body {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 4px 20px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  /* inside the sheet the filter rail is plain content, not a second card */
  /* (the rail's card look is !important in jobs-ui.css and above) */
  body.jb-page #mobileFiltersMount aside.company-filters {
    width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  body.jb-page #mobileFiltersMount aside.company-filters > h2 { display: none !important; }
  body.jb-page #mobileFiltersMount aside.company-filters .filter-section,
  body.jb-page #mobileFiltersMount aside.company-filters .filter-section + .filter-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .kx-fp-foot {
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--t-line);
    background: var(--t-surface);
  }
  body.jb-page .kx-fp-foot .kx-btn-primary { width: 100%; height: 46px; }
}


/* ---------- company directory (/company/list/): phones ---------------------- */
.kx-fp-foot-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
body.jb-page .kx-fp-foot-split .kx-btn-ghost,
body.jb-page .kx-fp-foot-split .kx-btn-primary { width: 100%; height: 46px; min-height: 46px; }
.kx-filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--t-brand);
  color: #FFFFFF;
  font: 700 12px/1 var(--t-body);
}
.kx-filter-count[hidden] { display: none; }
@media (max-width: 991px) {
  /* the sheet's filter sections: plain rows, like the listing sheet */
  body.jb-page.jb-company_listing_page #mobileFilterPanel .filters-body,
  body.jb-page.jb-company_profile_page #mobileFilterPanel .filters-body {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0 20px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.jb-page.jb-company_listing_page #mobileFilterPanel .filters-body .filter-section,
  body.jb-page.jb-company_profile_page #mobileFilterPanel .filters-body .filter-section {
    margin: 0 !important;
    padding: 16px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--t-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.jb-page.jb-company_listing_page #mobileFilterPanel .filters-body .filter-section:last-child,
  body.jb-page.jb-company_profile_page #mobileFilterPanel .filters-body .filter-section:last-child { border-bottom: 0 !important; }
  body.jb-page.jb-company_listing_page #mobileFilterPanel .filter-section h4,
  body.jb-page.jb-company_profile_page #mobileFilterPanel .filter-section h4 {
    margin: 0 0 10px !important;
    font: 600 12px/1 var(--t-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--t-muted);
  }
  body.jb-page.jb-company_listing_page #mobileFilterPanel .filter-section label,
  body.jb-page.jb-company_profile_page #mobileFilterPanel .filter-section label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 15px;
    line-height: 1.35;
    color: var(--t-ink-2);
  }
  body.jb-page.jb-company_listing_page #mobileFilterPanel .filter-section label input,
  body.jb-page.jb-company_profile_page #mobileFilterPanel .filter-section label input { flex: none; margin-top: 2px; }

  /* results heading: count + a labelled Filters button */
  body.jb-page.jb-company_listing_page .company-results .results-header { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; }
  body.jb-page.jb-company_listing_page .company-results .results-header .sh-result { min-width: 0; margin: 0; }
  body.jb-page.jb-company_listing_page .company-results .mobile-topbar { flex: none; margin: 0; padding: 0 !important; }
  body.jb-page.jb-company_listing_page .company-results .open-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    font: 600 14.5px/1 var(--t-body);
  }

  /* company page, Open positions: count + a labelled Filters button on one row */
  body.jb-page.jb-company_profile_page #jobs .results-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  body.jb-page.jb-company_profile_page #jobs .results-header .sh-result { flex: 1 1 auto; min-width: 0; margin: 0; text-align: left; }
  body.jb-page.jb-company_profile_page #jobs .mobile-topbar { flex: none; margin: 0; padding: 0 !important; }
  body.jb-page.jb-company_profile_page #jobs .open-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    font: 600 14.5px/1 var(--t-body);
  }
  body.jb-page.jb-company_profile_page #jobs .open-filters i { margin: 0; }
}
@media (max-width: 767px) {
  /* nine industry chips as one swipeable row instead of a screen-high stack */
  body.jb-page.jb-company_listing_page .company-hero-slider .industry-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 -14px !important;
    padding: 2px 14px 8px !important;
    scroll-snap-type: x proximity;
    scroll-padding-left: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.jb-page.jb-company_listing_page .company-hero-slider .industry-track::-webkit-scrollbar { display: none; }
  body.jb-page.jb-company_listing_page .company-hero-slider .industry-card { flex: none; scroll-snap-align: start; }
}

/* ---------- login (/jobs/login/): one card, phone field, OTP boxes ---------- */
/* the OTP digits: style.css's login input rule (.naukri-wrapper-RS … .form-group-onbody
   input: 100% width, 18px side padding, 15px text) plus a stray display:flex in
   theme.css left each box ~12px of text room, which clipped the digit on Android —
   hence the long selector */
body.jb-page .form-group-onbody .otp-boxes-jb { display: flex; justify-content: flex-start; gap: 12px; margin: 18px 0 4px; }
body.jb-page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .form-group-onbody input.otp-box-jb {
  display: block;
  flex: none;
  width: 56px;
  height: 60px;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 1.5px solid var(--t-line-strong) !important;
  border-radius: 14px !important;
  background: var(--t-surface) !important;
  color: var(--t-ink) !important;
  font: 700 24px/1 var(--t-body);
  text-align: center;
  caret-color: var(--t-brand);
}
body.jb-page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .form-group-onbody input.otp-box-jb:focus {
  border-color: var(--t-brand) !important;
  box-shadow: 0 0 0 4px var(--t-brand-tint);
  transform: none;
}

/* the card-inside-a-card: keep the outer card, flatten the inner one */
body.jb-page.jb-login_page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .login-card-onbody,
body.jb-page.jb-login_page .login-card-onbody {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.jb-page.jb-login_page #login_block_div { padding: 32px 32px 28px; }
.kx-login-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--t-brand-tint);
  color: var(--t-brand-text);
  font-size: 21px;
}
body.jb-page.jb-login_page .login-step-onbody h2 { margin: 0; font: 700 28px/1.15 var(--t-display); letter-spacing: -.02em; color: var(--t-ink); }
body.jb-page.jb-login_page .login-step-onbody .sub-RS,
body.jb-page.jb-login_page .codesendnumberjp { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--t-ink-2); }
body.jb-page.jb-login_page .login-step-onbody label { display: block; margin: 20px 0 8px; font: 600 14px/1.2 var(--t-body); color: var(--t-ink); }
body.jb-page.jb-login_page .login-step-onbody small { display: block; margin-top: 8px; font-size: 13px; color: var(--t-muted); }
.kx-phone-field {
  display: flex;
  align-items: stretch;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--t-line-strong);
  border-radius: 12px;
  background: var(--t-surface);
  transition: border-color .15s, box-shadow .15s;
}
.kx-phone-field:focus-within { border-color: var(--t-brand); box-shadow: 0 0 0 3px var(--t-brand-tint); }
.kx-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--t-line);
  background: var(--t-surface-2);
  font: 600 16px/1 var(--t-body);
  color: var(--t-ink-2);
}
body.jb-page .form-group-onbody .kx-phone-field input#mobile_number {
  flex: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 500 17px/1 var(--t-body);
  letter-spacing: .03em;
}
body.jb-page.jb-login_page .primary-btn-onbody { height: 52px; min-height: 52px; margin-top: 22px; border-radius: 14px; font: 600 16px/1 var(--t-body); }
body.jb-page.jb-login_page .kx-login-alt { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--t-muted); }
body.jb-page.jb-login_page .kx-login-alt a { font-weight: 600; color: var(--t-brand-text); text-decoration: none; }
body.jb-page.jb-login_page .edit-icon-onbody {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: 600 14px/1.4 var(--t-body);
  font-style: normal;
  color: var(--t-brand-text);
  cursor: pointer;
}
body.jb-page.jb-login_page .edit-icon-onbody:hover { text-decoration: underline; }
body.jb-page.jb-login_page #entered_mobile_number { font-weight: 600; color: var(--t-ink); }
body.jb-page.jb-login_page .otp-resend-wrapper { margin-top: 12px; text-align: left; }
body.jb-page.jb-login_page #resendOtpBtn {
  padding: 0;
  border: 0;
  background: none;
  font: 600 14px/1.4 var(--t-body);
  color: var(--t-brand-text);
  cursor: pointer;
}
body.jb-page.jb-login_page #resendOtpBtn:disabled { color: var(--t-muted); cursor: default; }

@media (max-width: 767px) {
  /* phones: a soft blue band up top, the card full width in front of it */
  body.jb-page.jb-login_page .naukri-wrapper-RS {
    width: 100%;
    margin: 0;
    padding: 24px 14px 40px;
    background: linear-gradient(180deg, #DCEAF9 0, #EEF4FB 180px, var(--t-bg) 360px);
  }
  body.jb-page.jb-login_page #login_block_div {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 26px 20px 24px;
    border: 1px solid var(--t-line) !important;
    border-radius: 20px !important;
    background: var(--t-surface) !important;
    box-shadow: 0 16px 40px -24px rgba(15, 35, 64, .35) !important;
  }
  body.jb-page.jb-login_page .login-step-onbody h2 { font-size: 26px; }
  body.jb-page .form-group-onbody .otp-boxes-jb { gap: 10px; }
  body.jb-page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .form-group-onbody input.otp-box-jb { width: 54px; height: 58px; font-size: 23px; }
}
/* style.css centres the resend row and shrinks the "code sent to" line with a
   five-class chain; match it so both line up with the left-aligned OTP boxes */
body.jb-page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .form-group-onbody .otp-resend-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
  text-align: left;
}
body.jb-page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .form-group-onbody .codesendnumberjp {
  font-size: 15px;
  line-height: 1.5;
  color: var(--t-ink-2);
}
body.jb-page .naukri-wrapper-RS .form-card-RS .login-wrapper-onbody .form-group-onbody .otp-resend-wrapper #resendOtpBtn { margin: 0; padding: 0 !important; }

/* ---------- register (/jobs/register/): same card language as login ---------- */
body.jb-page.jb-register_page #registration_block_div > h2 { margin: 0; font: 700 28px/1.15 var(--t-display); letter-spacing: -.02em; color: var(--t-ink); }
body.jb-page.jb-register_page #registration_block_div > .sub-RS { margin: 6px 0 22px; font-size: 15px; line-height: 1.5; color: var(--t-ink-2); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .input-box-RS { margin-bottom: 18px; }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .input-box-RS label,
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .label-title-RS { display: block; margin: 0 0 8px; font: 600 14px/1.3 var(--t-body); color: var(--t-ink); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .input-box-RS input:not(.otp-input) {
  height: 50px;
  min-height: 50px;
  border-radius: 12px !important;
  font-size: 16px;                       /* 16px: iOS does not zoom the page on focus */
}
/* phone: one field — +91 | number | Get OTP (was three separately bordered pieces) */
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .phone-field-RS {
  display: flex;
  align-items: stretch;
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--t-line-strong);
  border-radius: 12px;
  background: var(--t-surface);
  transition: border-color .15s, box-shadow .15s;
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .phone-field-RS:focus-within { border-color: var(--t-brand); box-shadow: 0 0 0 3px var(--t-brand-tint); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .phone-field-RS .code-RS {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid var(--t-line);
  border-radius: 0;
  background: var(--t-surface-2);
  font: 600 16px/1 var(--t-body);
  color: var(--t-ink-2);
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .phone-field-RS input[type="tel"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 500 16px/1 var(--t-body);
  letter-spacing: .02em;
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .phone-field-RS .otp-getJP,
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .phone-field-RS .otp-verifybtn-RS {
  position: static;
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0 14px;
  font: 600 14.5px/1 var(--t-body);
  color: var(--t-brand-text);
  white-space: nowrap;
  cursor: pointer;
}
body.jb-page.jb-register_page .changenumber1JP { margin-left: 8px; font: 600 13.5px/1 var(--t-body); color: var(--t-brand-text); cursor: pointer; }
/* OTP row + resend, left-aligned like the login step */
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .otpwrapper-RS { margin-top: 12px; text-align: left; }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .otpwrapper-RS .otp-inputs { justify-content: flex-start; gap: 10px; margin: 0 0 8px; }
body.jb-page.jb-register_page #resend_otp { color: var(--t-brand-text) !important; font-size: 14px; }
/* work status: two single-border choice cards (was a card inside a bordered label) */
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS label {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none !important;
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS .status-box-RS {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--t-line-strong);
  border-radius: 14px;
  background: var(--t-surface);
  color: var(--t-ink);
  transition: border-color .15s, background-color .15s;
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS .status-box-RS:hover { border-color: var(--t-brand); background: var(--t-surface); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS .status-box-RS.active-RS { border-color: var(--t-brand); background: var(--t-brand-tint); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS .status-box-RS.active-RS::after {
  content: "\f058";
  position: absolute;
  top: 12px;
  right: 12px;
  font: 900 16px/1 "Font Awesome 6 Free";
  color: var(--t-brand);
}
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS .status-box-RS h4 { margin: 0 22px 4px 0; font: 700 15.5px/1.3 var(--t-display); color: var(--t-ink); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS .status-box-RS p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--t-muted); }
body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .register-btn-RS { height: 52px; min-height: 52px; margin-top: 6px; border-radius: 14px; font: 600 16px/1 var(--t-body); }

@media (max-width: 767px) {
  body.jb-page.jb-register_page .naukri-wrapper-RS {
    width: 100%;
    margin: 0;
    padding: 24px 14px 40px;
    background: linear-gradient(180deg, #DCEAF9 0, #EEF4FB 180px, var(--t-bg) 360px);
  }
  body.jb-page.jb-register_page .naukri-wrapper-RS #registration_block_div {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 26px 20px 24px;
    border: 1px solid var(--t-line) !important;
    border-radius: 20px !important;
    background: var(--t-surface) !important;
    box-shadow: 0 16px 40px -24px rgba(15, 35, 64, .35) !important;
  }
  body.jb-page.jb-register_page #registration_block_div > h2 { font-size: 26px; }
}
@media (max-width: 359px) {
  body.jb-page.jb-register_page .naukri-wrapper-RS .form-card-RS form .work-status-RS { grid-template-columns: minmax(0, 1fr); }
}

/* my jobs: live un-save on the Saved tab */
.kx-list[hidden], .kx-empty[hidden] { display: none !important; }
.kx-jobcard.kx-card-leaving {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .kx-jobcard.kx-card-leaving { transform: none; transition: opacity .1s linear; }
}

/* ---------- job home on phones: tighter rhythm, carousels that read as swipeable ---------- */
@media (max-width: 767px) {
  /* ~100px of air sat between the Trending chips and the first section */
  body.jb-page .jb-home .job-hero-indRS { padding-bottom: 8px; }
  body.jb-page .jb-home .indexpage-contantJP > section,
  body.jb-page .jb-home .indexpage-contantJP .job-category-wrap-keyJP { margin-top: 36px; }
  body.jb-page .jb-home .indexpage-contantJP .kx-city-sec,
  body.jb-page .jb-home .indexpage-contantJP .kx-employer-sec { margin-top: 36px; }
  body.jb-page .jb-home .jb-sec-head { gap: 8px; margin-bottom: 14px; }
  body.jb-page .jb-home .featured-heading,
  body.jb-page .jb-home .job-listing-heading-keyJP h2 { font-size: 23px; }
  body.jb-page .jb-home .jb-sec-sub,
  body.jb-page .jb-home .job-listing-heading-keyJP p { margin-top: 4px; font-size: 14px; }
  /* one card at a time: each keeps its own height instead of stretching to the
     tallest card in the track (that left a blank block inside short cards) */
  body.jb-page .jb-home .featured-slider .slick-track,
  body.jb-page .jb-home .job-listing-row-keyJP .slick-track { align-items: flex-start; }
  body.jb-page .jb-home .featured-slider .kx-cotile.slick-slide,
  body.jb-page .jb-home .job-listing-row-keyJP .kx-jobcard.slick-slide { height: auto !important; margin: 6px; }
  body.jb-page .jb-home .featured-slider .kx-cotile.slick-slide .kx-co-foot,
  body.jb-page .jb-home .job-listing-row-keyJP .kx-jobcard.slick-slide .kx-jc-foot { margin-top: 4px; }
  /* the slider sits flush with the page gutter so the neighbours peek in; slick's
     centre-mode list padding makes the list a few px wider than the row, so the
     row clips sideways (clip, not hidden: card shadows above/below stay) */
  body.jb-page .jb-home .featured-slider,
  body.jb-page .jb-home .job-listing-row-keyJP { margin: 0 -14px; overflow-x: clip; }
}

/* candidate band call to action */
body.jb-page .kx-employer .kx-employer-cta { margin-top: 16px; }
body.jb-page .kx-employer .kx-employer-cta i { font-size: 13px; }

/* ---------- candidate account (/jobs/account/): blue theme instead of orange ---------- */
/* actions = brand blue */
body.jb-page.jb-account_page .main-content .fa-pen,
body.jb-page.jb-account_page .top-profilecardJP .fa-pen,
body.jb-page.jb-account_page .main-content .fa-download,
body.jb-page.jb-account_page .main-content .add-link,
body.jb-page.jb-account_page .main-content .add-edu-link,
body.jb-page.jb-account_page .update-badge,
body.jb-page.jb-account_page .update-badge i { color: var(--t-brand-text) !important; }
/* no sync icon in front of "Update" (user) */
body.jb-page.jb-account_page .update-badge .fa-rotate { display: none; }
body.jb-page.jb-account_page .main-content .add-link,
body.jb-page.jb-account_page .main-content .add-edu-link { font-weight: 600; }
body.jb-page.jb-account_page .main-content .fa-trash-can { color: var(--t-muted) !important; transition: color .15s; }
body.jb-page.jb-account_page .main-content .fa-trash-can:hover { color: #B42318 !important; }
/* "Not specified" / "Please enter …": calm, not an alert */
body.jb-page.jb-account_page .alerttextPF { color: var(--t-muted) !important; font-weight: 500 !important; }
/* empty profile value: "+ Add" tag that opens the section's edit form (kx_add_tag) */
body.jb-page.jb-account_page .kx-add-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  padding: 4px 12px;
  border: 1px dashed var(--t-brand);
  border-radius: 999px;
  background: var(--t-brand-tint);
  color: var(--t-brand-text);
  font: 600 13px/1.3 var(--t-body);
  cursor: pointer;
  transition: background .15s, color .15s;
}
body.jb-page.jb-account_page .kx-add-tag i { font-size: 11px; color: inherit !important; }
body.jb-page.jb-account_page .kx-add-tag:hover { border-style: solid; background: var(--t-brand); color: #fff; }
body.jb-page.jb-account_page .kx-add-tag:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 2px; }
body.jb-page.jb-account_page #last_updated_at { color: var(--t-ink) !important; font-weight: 600; }
/* Update resume + Generate resume: outline buttons in the theme */
body.jb-page.jb-account_page .main-content .upload-btn,
body.jb-page.jb-account_page #account_dwnd_btn.download-btn {
  border: 1.5px solid var(--t-brand) !important;
  border-radius: 12px !important;
  background: var(--t-surface) !important;
  color: var(--t-brand-text) !important;
  font: 600 14.5px/1 var(--t-body);
}
body.jb-page.jb-account_page .main-content .upload-btn:hover,
body.jb-page.jb-account_page #account_dwnd_btn.download-btn:hover { background: var(--t-brand-tint) !important; }
body.jb-page.jb-account_page #account_dwnd_btn.download-btn { width: 100%; padding: 11px 16px; }
body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links li a:hover { color: var(--t-brand-text); }
/* profile completion ring: low / in progress / complete = red / blue / green */
body.jb-page .top-profilecardJP .profile-card .profile-left .avatar-box .progress-ring .ring-progress { stroke: var(--t-brand); }
body.jb-page .top-profilecardJP .profile-card .profile-left .avatar-box .completion { color: var(--t-brand-text); }
body.jb-page .top-profilecardJP .profile-card .profile-left .avatar-box .progress-ring .ring-progress.red { stroke: #D14343 !important; }
body.jb-page .top-profilecardJP .profile-card .profile-left .avatar-box .completion.red-text { color: #C23434 !important; }
body.jb-page .top-profilecardJP .profile-card .profile-left .avatar-box .progress-ring .ring-progress.green { stroke: var(--t-good) !important; }
body.jb-page .top-profilecardJP .profile-card .profile-left .avatar-box .completion.green-text { color: var(--t-good) !important; }
/* edit popups (account + onboarding): Save = primary, Cancel = quiet */
body.jb-page .edit-modal .modal-box .modal-footer .save {
  border: 0;
  border-radius: 12px;
  background: var(--t-brand) !important;
  color: #FFFFFF !important;
  font: 600 14.5px/1 var(--t-body);
}
body.jb-page .edit-modal .modal-box .modal-footer .save:hover { background: var(--t-brand-hover) !important; }
body.jb-page .edit-modal .modal-box .modal-footer .cancel {
  border: 1px solid var(--t-line-strong);
  border-radius: 12px;
  background: var(--t-surface) !important;
  color: var(--t-ink-2) !important;
  font: 600 14.5px/1 var(--t-body);
}
body.jb-page .edit-modal .modal-box .modal-footer .cancel:hover { background: var(--t-surface-2) !important; color: var(--t-ink) !important; }
/* apply popup: "your current resume" link */
body.jb-page .resume-preview-link-ap { border-color: var(--t-brand) !important; color: var(--t-brand-text) !important; background: var(--t-brand-tint) !important; }
body.jb-page .resume-preview-link-ap i { color: var(--t-brand-text) !important; }

/* phones: the quick-links rail (and the only Generate resume / Saved / Applied
   links on this page) was display:none below 900px — show it as a swipeable
   chip row above the sections instead */
@media (max-width: 900px) {
  body.jb-page.jb-account_page .page-layout .left-sidebar {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 14px;
    padding: 12px 0;
    border: 1px solid var(--t-line);
    border-radius: 16px;
    background: var(--t-surface);
    box-shadow: var(--t-shadow-1);
  }
  body.jb-page.jb-account_page .page-layout .left-sidebar h3 { display: none; }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links::-webkit-scrollbar { display: none; }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links li { flex: none; margin: 0; }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--t-line-strong);
    border-radius: 999px;
    background: var(--t-surface);
    font: 600 13.5px/1 var(--t-body);
    color: var(--t-ink-2);
    white-space: nowrap;
  }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links li a i { font-size: 12px; }
  /* Generate resume first, as the one action in the row */
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links li:has(#account_dwnd_btn) { order: -1; }
  body.jb-page.jb-account_page #account_dwnd_btn.download-btn {
    width: auto;
    height: 36px;
    margin: 0;
    padding: 0 14px;
    border-radius: 999px !important;
    background: var(--t-brand) !important;
    border-color: var(--t-brand) !important;
    color: #FFFFFF !important;
    font-size: 13.5px;
    white-space: nowrap;
  }
}
/* phones: field labels were 14px and their values ("Not specified", "No … added yet")
   10px — label small and grey, value readable */
@media (max-width: 767px) {
  body.jb-page.jb-account_page .alerttextPF { font-size: 14px !important; line-height: 1.4; }
  body.jb-page.jb-account_page .career-item label,
  body.jb-page.jb-account_page .pd-item label { display: block; margin: 0 0 3px; font-size: 13px !important; font-weight: 500; color: var(--t-muted) !important; }
  body.jb-page.jb-account_page .career-item p,
  body.jb-page.jb-account_page .pd-item p { font-size: 15px; }
  body.jb-page.jb-account_page .main-content .add-link,
  body.jb-page.jb-account_page .main-content .add-edu-link { font-size: 13.5px !important; }
}
/* phones + small tablets: the quick-links chip row without its own box — it scrolls
   edge to edge under the profile card; an outdated section keeps only the ⟳ icon
   ("Update" text made every chip twice as long) */
@media (max-width: 900px) {
  body.jb-page.jb-account_page .page-layout { gap: 8px; margin-top: 16px; }
  body.jb-page.jb-account_page .page-layout .left-sidebar {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links {
    margin: 0 -12px;
    padding: 2px 12px 6px;
    scroll-padding-inline: 12px;
  }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links li a {
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }
  body.jb-page.jb-account_page .page-layout .left-sidebar .sidebar-links .update-badge { display: none; }
  body.jb-page.jb-account_page #account_dwnd_btn.download-btn { height: 34px; font-size: 13px; }
}
/* phones: the profile card's facts (address, experience, phone, email, notice) were a
   centred wrapping row — the address centred away from its pin, the rest running
   into each other. Now one left-aligned line each, icon in a fixed column. */
@media (max-width: 767px) {
  body.jb-page.jb-account_page .top-profilecardJP .profile-card .profile-right .profile-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    text-align: left;
  }
  body.jb-page.jb-account_page .top-profilecardJP .profile-card .profile-right .profile-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    color: var(--t-ink-2);
    overflow-wrap: anywhere;
  }
  body.jb-page.jb-account_page .top-profilecardJP .profile-card .profile-right .profile-info .info-item > i:first-child {
    flex: none;
    width: 16px;
    margin-top: 2px;
    font-size: 14px;
    text-align: center;
    color: var(--t-muted);
  }
  body.jb-page.jb-account_page .top-profilecardJP .profile-card .profile-right .profile-info .info-item .fa-circle-check { margin-top: 2px; }
  /* key skill chips: 14px text in 40px pills was heavier than the headings */
  body.jb-page.jb-account_page .main-content .skills-card .skills-tags { gap: 8px; }
  body.jb-page.jb-account_page .main-content .skills-card .skills-tags .tag { margin: 0; padding: 6px 13px; font-size: 13.5px; line-height: 1.3; }
}

/* ---------- landing page: job-portal-demo job grid + line icons ---------- */
/* the job-portal-demo line icons (kx_svg() / the kx-i-* sprite in recruitment_index.tpl) */
.kx-i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.kx-meta .kx-i { width: 16px; height: 16px; color: var(--t-muted); }
.kx-jc-posted .kx-i { width: 14px; height: 14px; }
.kx-badge .kx-i { width: 13px; height: 13px; }
body.jb-page .view-all-btn-keyJP .kx-i { width: 16px; height: 16px; }

/* "Latest job openings": a fixed grid, like the demo's job list (was a carousel) */
.kx-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kx-job-grid > :not(.kx-jobcard) { grid-column: 1 / -1; }
.kx-job-grid > .kx-jobcard + .kx-jobcard { margin-top: 0; }
@media (max-width: 1040px) { .kx-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .kx-job-grid { grid-template-columns: 1fr; } }

/* the demo's icon-only bookmark; filled while the job is saved */
body.jb-page .kx-jc-save .kx-save-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  gap: 0;
}
body.jb-page .kx-jc-save .kx-save-icon .kx-i { width: 17px; height: 17px; }
body.jb-page .kx-jc-save .kx-save-icon[aria-pressed="true"] { border-color: transparent; background: var(--t-accent-tint); color: var(--t-accent-text); }
body.jb-page .kx-jc-save .kx-save-icon[aria-pressed="true"] .kx-i { fill: currentColor; }

/* "Companies hiring now": a fixed grid, like the demo's company list (was a carousel) */
.kx-co-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kx-co-grid > :not(.kx-cotile) { grid-column: 1 / -1; }
.kx-co-grid > .kx-cotile + .kx-cotile { margin-top: 0; }
@media (max-width: 1040px) { .kx-co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .kx-co-grid { grid-template-columns: 1fr; } }
.kx-co-foot .kx-i { width: 15px; height: 15px; color: var(--t-muted); }
body.jb-page .kx-co-foot > span:first-child:not(.kx-co-jobs) .kx-i { margin-right: 6px; vertical-align: -3px; }
body.jb-page .jb-home .view-all-btn .kx-i { width: 16px; height: 16px; }

/* "Explore by category": the demo's line icons in the tinted tile */
.kx-cat-ico .kx-i { width: 21px; height: 21px; }
@media (max-width: 600px) { .kx-cat-ico .kx-i { width: 18px; height: 18px; } }

/* filter rails: "Clear all" on the right of the sticky "All Filters" heading */
body.jb-page aside.company-filters > h2:has(.kx-rail-clear) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.jb-page .kx-rail-clear {
  margin: -4px -8px -4px 0;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--t-brand-text);
  font: 600 13.5px/1 var(--t-body);
  cursor: pointer;
}
body.jb-page .kx-rail-clear:hover { background: var(--t-surface-2); text-decoration: underline; }
body.jb-page .kx-rail-clear:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 1px; }

/* header "Saved" link (job-portal-demo), signed-in candidates */
body.jb-page .nk-right:has(.kx-saved-link) { display: flex; align-items: center; gap: 8px; }
body.jb-page .kx-saved-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font: 600 14px/1 var(--t-body);
  color: var(--t-ink-2);
  text-decoration: none;
  white-space: nowrap;
}
body.jb-page .kx-saved-link:hover { background: var(--t-surface-2); color: var(--t-ink); }
body.jb-page .kx-saved-link .kx-i { width: 18px; height: 18px; }
body.jb-page .kx-saved-link .kx-count-pill { margin-left: 0; }
@media (max-width: 600px) {
  body.jb-page .kx-saved-link { padding: 0 8px; }
  body.jb-page .kx-saved-lbl { display: none; }
}

/* ---------- long job titles / company names: cut with "…" so cards keep their shape ----------
   The full text stays in each element's title tooltip (kx_card.php, recruitment_job_detail.tpl).
   The stretched title links (::after, positioned on the card) are not clipped: the clamped
   heading is not their containing block. */
body.jb-page .kx-jobcard .kx-jc-title,
body.jb-page .kx-cotile h3,
body.jb-page .kx-sim h3,
body.jb-page .kx-co-card-top h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
body.jb-page .kx-co-card-top h2 { min-width: 0; }
/* company on a job card, industry on a company tile, company in the side list: one line */
body.jb-page .kx-jobcard .kx-jc-company { flex-wrap: nowrap; min-width: 0; }
body.jb-page .kx-jobcard .kx-jc-company > a,
body.jb-page .kx-jobcard .kx-jc-company > span,
body.jb-page .kx-cotile .kx-co-ind,
body.jb-page .kx-sim .kx-sim-co {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* grid/flex items default to min-width:auto (= their content), so one long unbroken name
   widened its whole column (company list, job page aside); 0 lets the "…" above do its job */
body.jb-page .kx-jobcard,
body.jb-page .kx-cotile,
body.jb-page .kx-sim,
body.jb-page .kx-detail-aside > .kx-panel,
body.jb-page #compant_list_container > * { min-width: 0; }

/* ---------- account edit forms: the chosen chip must stand out ----------
   Gender, marital status, category (personal details), work status / notice period
   (basic details), employment type (employment) are radio chips. jobs-ui.css paints every
   .chip light blue with !important, which also flattened style.css's .chip.active — so
   the picked option looked like the rest. Unpicked: plain outline. Picked (the checked
   radio = what will be saved; .active is kept in step by web_script.js): brand border,
   tinted fill, check mark. */
body.jb-page .edit-modal .chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--t-surface) !important;
  border: 1px solid var(--t-line-strong) !important;
  color: var(--t-ink-2) !important;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
body.jb-page .edit-modal .chips .chip:hover {
  border-color: var(--t-brand) !important;
  color: var(--t-brand-text) !important;
}
body.jb-page .edit-modal .chips .chip:has(input:checked),
body.jb-page .edit-modal .chips .chip.active {
  background: var(--t-brand-tint) !important;
  border-color: var(--t-brand) !important;
  box-shadow: inset 0 0 0 1px var(--t-brand);
  color: var(--t-brand-text) !important;
  font-weight: 650;
}
body.jb-page .edit-modal .chips .chip:has(input:checked)::before,
body.jb-page .edit-modal .chips .chip.active::before {
  content: "\f00c";
  font: 900 11px/1 "Font Awesome 6 Free";
}
@media (max-width: 900px) {
  /* style.css shrank these to 10px on phones */
  body.jb-page .edit-modal .chips .chip { font-size: 13.5px; }
}

/* ---------- account edit forms: Parsley messages ----------
   The error lists sit in their own containers under a row (₹ + amount, the three DOB
   selects, a select2 box) so they never squeeze in beside a field. */
body.jb-page .edit-modal [id$="_errors"] .parsley-errors-list,
body.jb-page .edit-modal #dob_errors .parsley-errors-list { margin: 6px 0 0; }
body.jb-page .edit-modal .two-col:has(input.parsley-error) + [id$="_errors"] { margin-bottom: 10px; }
/* select2 hides the real select, so outline its box instead */
body.jb-page .edit-modal .custom-select:has(select.parsley-error) .select2-selection {
  border-color: #f04438 !important;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, .12) !important;
}
/* the DOB day/month show only their red border; the year field carries the message */
body.jb-page .edit-modal .dob-row select.parsley-error { border-color: #f04438 !important; }

/* ---------- footer: "Hiring? Post jobs with CoreHRx" is the employer call-to-action ----------
   (-> /login/?from=job). A solid brand pill instead of a muted footer link. */
body.jb-page .kx-foot-bottom { align-items: center; }
body.jb-page .kx-foot-bottom a.kx-foot-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--t-brand);
  color: #FFFFFF;
  font: 600 14px/1.2 var(--t-body);
  text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(31, 111, 197, .6);
  transition: background-color .15s ease, box-shadow .15s ease;
}
body.jb-page .kx-foot-bottom a.kx-foot-cta i { font-size: 13px; color: inherit; }
body.jb-page .kx-foot-bottom a.kx-foot-cta .kx-foot-cta-arrow { transition: transform .15s ease; }
body.jb-page .kx-foot-bottom a.kx-foot-cta:hover {
  background: var(--t-brand-hover);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -8px rgba(31, 111, 197, .7);
}
body.jb-page .kx-foot-bottom a.kx-foot-cta:hover .kx-foot-cta-arrow { transform: translateX(3px); }
body.jb-page .kx-foot-bottom a.kx-foot-cta:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 3px; }
@media (max-width: 760px) {
  /* phones: the call-to-action first, full width; the copyright under it */
  body.jb-page .kx-foot-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  body.jb-page .kx-foot-bottom a.kx-foot-cta { order: -1; justify-content: center; }
  body.jb-page .kx-foot-bottom .footerCopy { text-align: center; }
}
