/* ECO-inspired palette: deep green, warm neutrals */
:root {
  --jb-green: #1e4d2b;
  --jb-green-light: #2d6a3e;
  --jb-green-soft: #e8f2eb;
  --jb-ink: #1a1f1c;
  --jb-muted: #5c6560;
  --jb-line: #d5ded8;
  --jb-card: #ffffff;
  --jb-bg: #f4f7f5;
  --jb-radius: 10px;
  --jb-shadow: 0 8px 28px rgba(30, 77, 43, 0.08);
  /* YYC lockup: red tuned for forest-green footer (softer than pure #f00) */
  --jb-yyc-red: #e05555;
  --jb-yyc-red-glow: rgba(224, 85, 85, 0.22);
  --jb-yyc-ice: #eef7f1;
  --jb-yyc-muted: #a8c9b6;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body.jb {
  margin: 0;
  color: var(--jb-ink);
  background: var(--jb-bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.jb-wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.jb-top {
  background: var(--jb-card);
  border-bottom: 1px solid var(--jb-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.jb-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.jb-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--jb-green);
  text-decoration: none;
}

.jb-brand {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

/* Brand title: green; override browser :link / :visited (no blue/purple underline) */
.jb-brand:link,
.jb-brand:visited {
  color: var(--jb-green);
  text-decoration: none;
}

.jb-brand:hover {
  color: var(--jb-green-light);
  text-decoration: none;
}

.jb-brand:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 3px;
  border-radius: 6px;
  color: var(--jb-green-light);
  text-decoration: none;
}

.jb-brand-logo {
  height: 56px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background: transparent;
}

.jb-brand-title {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.jb-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jb-nav a {
  color: var(--jb-ink);
  text-decoration: none;
  font-weight: 500;
}

.jb-nav a:hover {
  color: var(--jb-green-light);
}

.jb-user {
  font-size: 0.9rem;
  color: var(--jb-muted);
}

.jb-inline {
  display: inline;
  margin: 0;
}

.jb-hero {
  background: linear-gradient(135deg, var(--jb-green) 0%, var(--jb-green-light) 55%, #3a8f55 100%);
  color: #fff;
  padding: 3rem 0 3.25rem;
}

.jb-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.jb-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.jb-hero-lead {
  max-width: 40rem;
  margin: 0 0 1.5rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

.jb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jb-strip {
  background: var(--jb-card);
  border-bottom: 1px solid var(--jb-line);
  padding: 2rem 0 2.45rem;
}

.jb-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.jb-strip-card {
  padding: 1rem 1.1rem;
  border-radius: var(--jb-radius);
  background: var(--jb-green-soft);
  border: 1px solid var(--jb-line);
}

.jb-strip-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--jb-green);
}

.jb-strip-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--jb-muted);
}

.jb-listings {
  padding: 2.25rem 0 3rem;
  flex: 1;
}

/* Public vacancy / job detail */
.jb-vacancy-page {
  padding: 1.5rem 0 3.5rem;
  flex: 1;
  background: linear-gradient(180deg, var(--jb-bg) 0%, var(--jb-card) 28%);
}

.jb-vacancy-page__inner {
  max-width: 52rem;
}

.jb-vacancy-page__back {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}

.jb-vacancy-page__back a {
  color: var(--jb-green);
  font-weight: 600;
  text-decoration: none;
}

.jb-vacancy-page__back a:hover {
  text-decoration: underline;
}

.jb-vacancy-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 1.5rem;
  padding: 1.5rem 1.35rem 1.65rem;
  margin-bottom: 1.75rem;
  background: var(--jb-card);
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  box-shadow: var(--jb-shadow);
}

.jb-vacancy-hero__logo {
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid var(--jb-line);
  background: #fff;
  flex-shrink: 0;
}

.jb-vacancy-hero__text {
  flex: 1 1 16rem;
  min-width: 0;
}

.jb-vacancy-hero__eyebrow {
  margin: 0 0 0.4rem;
}

.jb-vacancy-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--jb-ink);
  letter-spacing: -0.02em;
}

.jb-vacancy-hero__meta {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--jb-ink);
}

.jb-vacancy-hero__facts {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.jb-vacancy-hero__fact-label {
  font-weight: 700;
  color: var(--jb-muted);
  margin-right: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jb-vacancy-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.jb-vacancy-keyword {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--jb-green-soft);
  color: var(--jb-green);
  border: 1px solid rgba(30, 77, 43, 0.15);
}

.jb-vacancy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.jb-vacancy-section {
  margin-bottom: 2.25rem;
}

.jb-vacancy-section__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jb-ink);
}

.jb-vacancy-section__lede {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  max-width: 40rem;
}

.jb-vacancy-description {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--jb-card);
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--jb-ink);
}

.jb-vacancy-record-wrap {
  margin-top: 0.25rem;
}

.jb-vacancy-record-table th[scope="row"] {
  width: 32%;
  min-width: 8rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--jb-muted);
  vertical-align: top;
}

.jb-vacancy-record__value {
  font-size: 0.92rem;
  vertical-align: top;
  word-break: break-word;
}

.jb-vacancy-record__long {
  max-height: 20rem;
  overflow: auto;
  margin: 0;
  padding: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .jb-vacancy-record-table thead {
    display: none;
  }

  .jb-vacancy-record-table th[scope="row"],
  .jb-vacancy-record-table td {
    display: block;
    width: 100%;
  }

  .jb-vacancy-record-table tr {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--jb-line);
  }

  .jb-vacancy-record-table tbody tr:last-child {
    border-bottom: none;
  }
}

.jb-listings-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.jb-employer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.jb-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.jb-muted {
  color: var(--jb-muted);
  font-size: 0.95rem;
}

.jb-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
  margin: 1.5rem 0 1.75rem;
  padding: 1rem 1.1rem;
  background: var(--jb-card);
  border-radius: var(--jb-radius);
  border: 1px solid var(--jb-line);
  box-shadow: var(--jb-shadow);
}

.jb-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jb-muted);
}

.jb-field input,
.jb-field select {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--jb-line);
  border-radius: 8px;
  font: inherit;
  color: var(--jb-ink);
  background: #fff;
}

.jb-comp-fieldset {
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  padding: 1rem 1.15rem;
  margin: 0 0 1rem;
  background: var(--jb-card);
}

.jb-comp-fieldset legend {
  font-weight: 700;
  color: var(--jb-ink);
  padding: 0 0.35rem;
}

.jb-comp-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.jb-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jb-card {
  background: var(--jb-card);
  border-radius: var(--jb-radius);
  border: 1px solid var(--jb-line);
  box-shadow: var(--jb-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}

.jb-card-body {
  flex: 1 1 280px;
}

.jb-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--jb-green);
}

.jb-card-title-link {
  color: inherit;
  text-decoration: none;
}

.jb-card-title-link:hover {
  color: var(--jb-green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jb-card-company-link {
  color: inherit;
  text-decoration: none;
}

.jb-card-company-link:hover {
  color: var(--jb-green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jb-card-facts {
  margin: 0.15rem 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--jb-ink);
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
}

.jb-card-facts__sep {
  margin-inline: 0.55rem;
  opacity: 0.55;
}

.jb-card-desc-link {
  margin-left: 0.25rem;
  font-weight: 600;
  color: var(--jb-green);
  text-decoration: none;
  white-space: nowrap;
}

.jb-card-desc-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jb-card-meta {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--jb-ink);
}

.jb-card-tag {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--jb-green-light);
  font-weight: 600;
}

.jb-card-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--jb-muted);
}

.jb-card-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
  min-width: min(12rem, 100%);
}

.jb-card-foot__row--meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.jb-card-foot__row--meta:not(:has(.jb-pill)):not(:has(.jb-btn--bookmark)) {
  display: none;
}

.jb-card-foot__arrangement {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.jb-card-foot__row--actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.jb-pill--arrangement {
  flex-shrink: 0;
}

/* Job cards + vacancy page: compact bookmark control with SVG icon */
.jb-btn--bookmark {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.35rem 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--jb-muted);
  border-color: transparent;
  background: transparent;
  gap: 0.4rem;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.jb-btn--bookmark:hover {
  color: var(--jb-green);
  background: rgba(30, 77, 43, 0.06);
  border-color: rgba(30, 77, 43, 0.12);
}

.jb-btn--bookmark:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 2px;
}

.jb-btn--bookmark:disabled {
  opacity: 0.55;
  cursor: wait;
}

.jb-bookmark__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1.1rem;
  min-height: 1.1rem;
  color: inherit;
}

.jb-bookmark__svg {
  display: block;
  flex-shrink: 0;
}

.jb-bookmark__fill {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.jb-bookmark__stroke {
  transition: opacity 0.2s ease;
}

.jb-bookmark--saved.jb-btn--bookmark,
.jb-btn--bookmark[aria-pressed="true"] {
  color: var(--jb-green);
  font-weight: 600;
}

.jb-bookmark--saved .jb-bookmark__fill,
.jb-btn--bookmark[aria-pressed="true"] .jb-bookmark__fill {
  opacity: 1;
}

.jb-bookmark--saved .jb-bookmark__stroke,
.jb-btn--bookmark[aria-pressed="true"] .jb-bookmark__stroke {
  opacity: 0;
}

.jb-bookmark--saved {
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .jb-bookmark__fill,
  .jb-bookmark__stroke {
    transition: none;
  }
}

.jb-card-foot__row--meta:not(:has(.jb-pill)) .jb-btn--bookmark {
  margin-left: 0;
}

.jb-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--jb-green-soft);
  color: var(--jb-green);
  font-weight: 600;
}

.jb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.jb-btn--primary {
  background: var(--jb-green);
  color: #fff;
  border-color: var(--jb-green);
}

.jb-btn--primary:hover {
  background: var(--jb-green-light);
  border-color: var(--jb-green-light);
}

.jb-btn--ghost {
  background: transparent;
  color: var(--jb-green);
  border-color: var(--jb-line);
}

.jb-btn--ghost:hover {
  border-color: var(--jb-green);
}

/* Hero (green band): outline button must stay readable — white label */
.jb-hero .jb-btn--ghost:link,
.jb-hero .jb-btn--ghost:visited {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.jb-hero .jb-btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.jb-hero .jb-btn--ghost:focus-visible {
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

.jb-btn--small {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
}

.jb-btn--lg {
  padding: 0.7rem 1.35rem;
  font-size: 1rem;
}

.jb-btn--block {
  width: 100%;
}

.jb-empty {
  padding: 2rem;
  text-align: center;
  color: var(--jb-muted);
  background: var(--jb-card);
  border-radius: var(--jb-radius);
  border: 1px dashed var(--jb-line);
}

.jb-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.jb-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-top: 1px solid var(--jb-line);
  background: var(--jb-card);
  font-size: 0.85rem;
  color: var(--jb-muted);
}

.jb-footer-note {
  padding: 1.25rem 0;
}

.jb-footer-powered {
  background: linear-gradient(
    145deg,
    var(--jb-green) 0%,
    #173224 45%,
    #0f2418 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.35rem 0 1.55rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.jb-powered-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.35rem;
}

.jb-powered-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(232, 242, 235, 0.55);
  font-weight: 600;
}

.jb-yyc-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.05;
  user-select: none;
}

.jb-yyc-line1 {
  font-size: clamp(1.12rem, 2.4vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.jb-yyc-accent {
  color: var(--jb-yyc-red);
  text-shadow: 0 0 28px var(--jb-yyc-red-glow);
}

.jb-yyc-word {
  color: var(--jb-yyc-ice);
}

.jb-yyc-line2 {
  margin-top: 0.38rem;
  font-size: clamp(0.6rem, 1.35vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.48em;
  color: var(--jb-yyc-muted);
  text-indent: 0.48em;
}

/* Optional raster logo: place your PNG at static/jobboard/yyc-logo.png */
.jb-yyc-img-wrap {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: radial-gradient(120% 100% at 50% 0%, #1a1a1a 0%, #0d1a12 55%, #0a1410 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.jb-yyc-img {
  display: block;
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: min(260px, 72vw);
  margin: 0 auto;
  object-fit: contain;
  /* Soften pure #f00 on green-heavy pages */
  filter: saturate(0.92) contrast(1.02);
}

.jb-auth {
  padding: 3rem 0;
  flex: 1;
}

.jb-auth-box {
  max-width: 420px;
  margin: 0 auto;
  background: var(--jb-card);
  padding: 2rem;
  border-radius: var(--jb-radius);
  border: 1px solid var(--jb-line);
  box-shadow: var(--jb-shadow);
}

.jb-auth-box h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.jb-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.jb-or {
  text-align: center;
  margin: 0.5rem 0 0.25rem;
  font-size: 0.85rem;
}

.jb-btn-google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.jb-btn-google:hover {
  background: #f8f9fa;
  border-color: #dadce0;
}

.jb-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.jb-auth-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin: 0 0 0.75rem;
}

.jb-auth-badge--seeker {
  background: var(--jb-green-soft);
  color: var(--jb-green);
  border: 1px solid var(--jb-line);
}

.jb-auth-badge--employer {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.jb-auth-cross {
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--jb-line);
  font-size: 0.9rem;
}

/* Auth footers: muted gray cross-links + green secondary CTA */
.jb-auth-muted-links {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--jb-line);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6b736e;
}

.jb-auth-muted-line {
  margin: 0;
  color: #6b736e;
}

.jb-auth-muted-links strong {
  display: inline;
  color: #5c6560;
  font-weight: 600;
  margin-right: 0.35rem;
}

/* Gray text links (override browser :link / :visited blue & purple) */
section.jb-auth .jb-auth-muted-links a.jb-auth-link {
  display: inline;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #c5cbc7;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  padding-bottom: 1px;
}

section.jb-auth .jb-auth-muted-links a.jb-auth-link:link,
section.jb-auth .jb-auth-muted-links a.jb-auth-link:visited {
  color: #6b736e;
  border-bottom-color: #c5cbc7;
}

section.jb-auth .jb-auth-muted-links a.jb-auth-link:hover {
  color: var(--jb-green);
  border-bottom-color: var(--jb-green-light);
}

section.jb-auth .jb-auth-muted-links a.jb-auth-link:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 2px;
  border-radius: 2px;
  color: var(--jb-green);
}

.jb-auth-muted-sep {
  display: inline-block;
  color: #9ca3af;
  margin: 0 0.45rem;
  font-weight: 400;
  user-select: none;
}

.jb-auth-account-cta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jb-line);
  text-align: center;
}

.jb-auth-account-label {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #5c6560;
  line-height: 1.5;
}

/* Secondary green “button” (anchor must match :link/:visited) */
section.jb-auth .jb-auth-account-cta a.jb-btn.jb-btn--auth-green {
  box-sizing: border-box;
}

section.jb-auth .jb-auth-account-cta a.jb-btn.jb-btn--auth-green:link,
section.jb-auth .jb-auth-account-cta a.jb-btn.jb-btn--auth-green:visited {
  background: var(--jb-green-soft);
  color: var(--jb-green);
  border: 1px solid rgba(30, 77, 43, 0.38);
  text-decoration: none;
}

section.jb-auth .jb-auth-account-cta a.jb-btn.jb-btn--auth-green:hover {
  background: var(--jb-green);
  color: #fff;
  border-color: var(--jb-green);
}

section.jb-auth .jb-auth-account-cta a.jb-btn.jb-btn--auth-green:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 2px;
}

.jb-btn--auth-green {
  background: var(--jb-green-soft);
  color: var(--jb-green);
  border: 1px solid rgba(30, 77, 43, 0.38);
  font-weight: 600;
}

.jb-btn--auth-green:hover {
  background: var(--jb-green);
  color: #fff;
  border-color: var(--jb-green);
}

.jb-profile-resume-default {
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.07);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.jb-profile-resume-default strong {
  display: block;
  margin-bottom: 0.25rem;
}

.jb-profile-resume-default .jb-profile-resume-name {
  font-size: 0.95rem;
  word-break: break-all;
  margin: 0.25rem 0 0.5rem;
}

.jb-profile-resume-default .jb-profile-resume-actions {
  margin-top: 0.35rem;
}

.jb-warn-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.jb-applicant-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.jb-applicant-tag--seeker {
  background: var(--jb-green-soft);
  color: var(--jb-green);
}

.jb-applicant-tag--employer {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.jb-field-hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--jb-muted);
  margin-top: 0.25rem;
}

.jb-profile-logo-preview {
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--jb-line);
  background: #fff;
  vertical-align: middle;
  margin-top: 0.35rem;
}

.jb-logo-preview-row {
  margin: 0.35rem 0 0.5rem;
}

.jb-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--jb-muted);
  margin-top: 0.35rem;
}

/* Employer vs external listing */
.jb-card--platform {
  border-color: rgba(30, 77, 43, 0.35);
  box-shadow: 0 10px 32px rgba(30, 77, 43, 0.12);
}

.jb-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.jb-card-head-text {
  flex: 1;
  min-width: 0;
}

.jb-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--jb-line);
  background: #fff;
  flex-shrink: 0;
}

.jb-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.jb-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.jb-badge--platform {
  background: var(--jb-green-soft);
  color: var(--jb-green);
  border: 1px solid var(--jb-line);
}

.jb-badge--external {
  background: #f3f4f6;
  color: var(--jb-muted);
  border: 1px solid var(--jb-line);
}

.jb-card-salary {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--jb-green-light);
}

/* Apply modal */
.jb-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.jb-modal--open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.jb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 28, 0.45);
}

.jb-modal-panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--jb-card);
  border-radius: var(--jb-radius);
  border: 1px solid var(--jb-line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  padding: 1.35rem 1.4rem;
}

.jb-modal-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.jb-modal-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.jb-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.jb-modal-actions--stack {
  flex-direction: column;
  align-items: stretch;
}

.jb-modal-error {
  margin-top: 0.75rem;
}

/* Employer dashboard tables / status */
.jb-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--jb-radius);
  border: 1px solid var(--jb-line);
  background: var(--jb-card);
}

.jb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.jb-table th,
.jb-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--jb-line);
}

.jb-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jb-muted);
  background: var(--jb-green-soft);
}

.jb-table tr:last-child td {
  border-bottom: none;
}

.jb-table a {
  color: var(--jb-green);
  font-weight: 600;
  text-decoration: none;
}

.jb-table a:hover {
  text-decoration: underline;
}

.jb-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.jb-status--draft {
  background: #fef9c3;
  color: #854d0e;
}

.jb-status--published {
  background: var(--jb-green-soft);
  color: var(--jb-green);
}

.jb-status--closed {
  background: #f3f4f6;
  color: var(--jb-muted);
}

/* --- Admin shell (top bar + main) --- */
.jb-admin-shell {
  display: flex;
  flex-direction: column;
  width: min(1280px, 100% - 2rem);
  margin: 1.5rem auto 2.5rem;
  gap: 1rem;
}

.jb-admin-top {
  flex: none;
  background: #e8edf3;
  border: 1px solid #d8e0eb;
  border-radius: var(--jb-radius);
  padding: 0.85rem 1rem 0.75rem;
}

.jb-admin-top__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid #d0d8e4;
}

.jb-admin-top__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.jb-admin-top__site {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--jb-green);
  text-decoration: none;
}

.jb-admin-top__site:hover {
  text-decoration: underline;
}

.jb-admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.jb-admin-nav--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.15rem;
}

.jb-admin-nav__sep {
  display: inline-block;
  width: 1px;
  height: 1.35rem;
  margin: 0 0.35rem;
  background: #c5ced9;
  flex-shrink: 0;
  align-self: center;
}

.jb-admin-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
}

.jb-admin-nav__link:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #1e293b;
}

.jb-admin-nav__link--active {
  color: #2563eb;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.jb-admin-nav__link--active .jb-admin-nav__icon {
  color: #2563eb;
}

.jb-admin-nav__icon {
  flex-shrink: 0;
  color: #64748b;
}

/* Employer account shell: active nav matches site green */
.jb-employer-shell .jb-admin-nav__link--active {
  color: var(--jb-green);
  border-color: rgba(30, 77, 43, 0.45);
  box-shadow: 0 1px 2px rgba(30, 77, 43, 0.1);
}

.jb-employer-shell .jb-admin-nav__link--active .jb-admin-nav__icon {
  color: var(--jb-green);
}

.jb-admin-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: var(--jb-card);
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  padding: 1.35rem 1.5rem 2rem;
  box-shadow: var(--jb-shadow);
}

.jb-admin-page-head {
  margin-bottom: 1.5rem;
}

.jb-admin-page-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.jb-admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.jb-admin-page-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.jb-admin-subhead {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.jb-admin-quicklinks-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--jb-muted);
  line-height: 1.7;
}

.jb-admin-quicklinks-list a {
  color: var(--jb-green);
  font-weight: 600;
  text-decoration: none;
}

.jb-admin-quicklinks-list a:hover {
  text-decoration: underline;
}

.jb-admin-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  overflow: hidden;
  background: var(--jb-card);
}

.jb-admin-activity__row {
  display: grid;
  grid-template-columns: 9.5rem minmax(7rem, auto) 1fr auto;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--jb-line);
  font-size: 0.9rem;
}

.jb-admin-activity__row:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .jb-admin-activity__row {
    grid-template-columns: 1fr;
  }
}

.jb-admin-activity__time {
  font-size: 0.82rem;
  white-space: nowrap;
}

.jb-admin-activity__badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  justify-self: start;
}

.jb-admin-activity__badge--user_registered {
  background: #e0f2fe;
  color: #0369a1;
}

.jb-admin-activity__badge--application {
  background: var(--jb-green-soft);
  color: var(--jb-green);
}

.jb-admin-activity__badge--job_updated {
  background: #fef3c7;
  color: #92400e;
}

.jb-admin-activity__summary {
  min-width: 0;
  word-break: break-word;
}

.jb-admin-activity__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}

.jb-admin-activity__link:hover {
  text-decoration: underline;
}

.jb-admin-main .jb-form-page {
  max-width: 52rem;
}

.jb-admin-main .jb-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 640px) {
  .jb-admin-shell {
    width: calc(100% - 1.5rem);
  }

  .jb-admin-nav__sep {
    display: none;
  }

  .jb-admin-nav--row {
    gap: 0.25rem;
  }

  .jb-admin-nav__link {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
    min-width: 8rem;
  }
}

/* Candidate profile hub (ribbon + panels) */
.jb-profile-hub {
  margin-top: 1.5rem;
}

.jb-profile-hub__bar {
  padding-top: 1rem;
}

.jb-profile-hub__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #d0d8e4;
}

.jb-profile-hub__avatar-wrap {
  flex-shrink: 0;
}

.jb-profile-hub__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(30, 77, 43, 0.1);
}

.jb-profile-hub__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jb-green-soft);
  color: var(--jb-green);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.jb-profile-hub__identity-text {
  min-width: 0;
}

.jb-profile-hub__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--jb-muted);
  margin: 0 0 0.25rem;
}

.jb-profile-hub__name {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--jb-ink);
}

.jb-profile-hub__email {
  margin: 0;
  font-size: 0.92rem;
  color: var(--jb-muted);
  word-break: break-all;
}

.jb-profile-hub__nav {
  margin-top: 0.15rem;
}

.jb-profile-hub__main {
  padding-top: 1.5rem;
}

.jb-profile-hub__alert {
  padding: 0.85rem 1rem;
  border-radius: var(--jb-radius);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.jb-profile-hub__alert--info {
  border: 1px solid var(--jb-line);
  background: #fafbfb;
}

.jb-profile-hub__alert--success {
  background: var(--jb-green-soft);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--jb-green);
}

.jb-profile-hub__alert--warn {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.jb-profile-hub__form-error {
  margin-bottom: 1rem;
}

.jb-profile-hub__form {
  max-width: 44rem;
}

.jb-profile-hub__actions--edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.jb-profile-view-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  max-width: 48rem;
}

.jb-profile-view-head__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jb-ink);
}

.jb-profile-view-head__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9rem;
  color: var(--jb-muted);
  line-height: 1.45;
}

.jb-profile-view-head__edit {
  flex-shrink: 0;
}

.jb-profile-view {
  max-width: 48rem;
}

.jb-profile-view__dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.jb-profile-view__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

@media (max-width: 640px) {
  .jb-profile-view__row {
    grid-template-columns: 1fr;
  }
}

.jb-profile-view__item dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jb-muted);
}

.jb-profile-view__item dd {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--jb-ink);
  word-break: break-word;
}

.jb-profile-view__item--full dd a {
  font-weight: 600;
}

.jb-profile-view__empty {
  color: var(--jb-muted);
  font-weight: 500;
}

.jb-profile-view__text {
  margin: 0;
  white-space: pre-wrap;
}

.jb-profile-panel {
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  background: #fafcfb;
  padding: 1.25rem 1.35rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 0 rgba(30, 77, 43, 0.04);
}

.jb-profile-panel--optional {
  background: var(--jb-card);
}

.jb-profile-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jb-ink);
}

.jb-profile-panel__lede {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--jb-muted);
  line-height: 1.45;
}

.jb-profile-panel__grid {
  display: grid;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.jb-profile-panel__grid:last-of-type {
  margin-bottom: 0;
}

.jb-profile-panel__grid--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .jb-profile-panel__grid--2 {
    grid-template-columns: 1fr;
  }
}

.jb-profile-panel .jb-field {
  margin-bottom: 0;
}

.jb-profile-panel .jb-field-label,
.jb-profile-panel .jb-field > span:first-child {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--jb-ink);
}

.jb-profile-check {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.jb-profile-hub__actions {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}

.jb-profile-tab-head {
  margin-bottom: 1.25rem;
}

.jb-profile-tab-head__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.jb-input-readonly {
  background: #f4f7f5;
  color: var(--jb-muted);
  cursor: not-allowed;
}

.jb-field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b91c1c;
}

.jb-bookmark-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jb-bookmark-list--full {
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  background: var(--jb-card);
  overflow: hidden;
}

.jb-bookmark-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--jb-line);
}

.jb-bookmark-item--row {
  padding: 1rem 1.1rem;
}

.jb-bookmark-list--full .jb-bookmark-item:last-child {
  border-bottom: none;
}

.jb-bookmark-item__title {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.jb-bookmark-item__meta {
  display: block;
  font-size: 0.88rem;
}

.jb-bookmark-item:last-child {
  border-bottom: none;
}

.jb-bookmark-item__body {
  min-width: 0;
}

.jb-bookmark-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.jb-btn--bookmark {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.35rem 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--jb-muted);
  border-color: transparent;
  background: transparent;
  gap: 0.4rem;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.jb-btn--bookmark:hover {
  color: var(--jb-green);
  background: rgba(30, 77, 43, 0.06);
  border-color: rgba(30, 77, 43, 0.12);
}

.jb-btn--bookmark:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 2px;
}

.jb-btn--bookmark:disabled {
  opacity: 0.55;
  cursor: wait;
}

.jb-bookmark__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.jb-bookmark__svg {
  display: block;
}

.jb-bookmark__fill {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.jb-bookmark__stroke {
  transition: opacity 0.2s ease;
}

.jb-bookmark--saved.jb-btn--bookmark,
.jb-btn--bookmark[aria-pressed="true"] {
  color: var(--jb-green);
  font-weight: 600;
}

.jb-bookmark--saved .jb-bookmark__fill,
.jb-btn--bookmark[aria-pressed="true"] .jb-bookmark__fill {
  opacity: 1;
}

.jb-bookmark--saved .jb-bookmark__stroke,
.jb-btn--bookmark[aria-pressed="true"] .jb-bookmark__stroke {
  opacity: 0;
}

.jb-bookmark--saved {
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .jb-bookmark__fill,
  .jb-bookmark__stroke {
    transition: none;
  }
}

.jb-card-foot__row--meta:not(:has(.jb-pill)) .jb-btn--bookmark {
  margin-left: 0;
}

/* Homepage: top employers + browse by category */
.jb-home-employers,
.jb-home-categories {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--jb-line);
}

.jb-top-employers + .jb-home-categories {
  padding-top: 2.65rem;
}

.jb-home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.jb-home-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--jb-ink);
}

.jb-home-section-lede {
  margin: 0;
  max-width: 40rem;
  font-size: 0.92rem;
}

.jb-home-section-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--jb-green);
  text-decoration: none;
  white-space: nowrap;
}

.jb-home-section-link:hover {
  text-decoration: underline;
}

.jb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Homepage: top employers showcase (lightweight, no marquee) */
section.jb-home-employers.jb-top-employers {
  margin-top: 1.5rem;
  padding-top: 2.85rem;
  padding-bottom: 3rem;
  background: linear-gradient(
    180deg,
    var(--jb-bg) 0%,
    rgba(255, 255, 255, 0.55) 22%,
    var(--jb-card) 58%,
    var(--jb-card) 100%
  );
}

.jb-top-employers__reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.jb-top-employers--visible .jb-top-employers__reveal,
.jb-top-employers--empty .jb-top-employers__reveal {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .jb-top-employers__reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.jb-top-employers:not(.jb-top-employers--visible) .jb-top-employers__frame {
  opacity: 0;
}

.jb-top-employers--visible .jb-top-employers__frame {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  section.jb-home-employers.jb-top-employers .jb-top-employers__frame {
    transition: none;
    opacity: 1;
  }
}

.jb-top-employers__head-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.jb-top-employers__head-link-secondary {
  font-weight: 500;
  opacity: 0.92;
}

.jb-top-employers__frame {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  margin-top: 0.25rem;
  transition: opacity 0.5s ease 0.08s;
}

.jb-top-employers__row-wrap {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.25rem 1rem;
  overflow: hidden;
}

.jb-top-employers__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  align-items: start;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.jb-top-employers__row--exit-left {
  transform: translateX(-100%);
}

.jb-top-employers__row--exit-right {
  transform: translateX(100%);
}

.jb-top-employers__row--from-right {
  transform: translateX(100%);
  transition: none;
}

.jb-top-employers__row--from-left {
  transform: translateX(-100%);
  transition: none;
}

.jb-top-employers__row--instant {
  transition: none !important;
}

@media (max-width: 900px) {
  .jb-top-employers__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

@media (max-width: 560px) {
  .jb-top-employers__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.85rem;
  }

  .jb-top-employers__frame {
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jb-top-employers__row {
    transition: none;
  }

  .jb-top-employers__row--exit-left,
  .jb-top-employers__row--exit-right,
  .jb-top-employers__row--from-right,
  .jb-top-employers__row--from-left {
    transform: none;
  }

  .jb-top-employers__card:hover {
    transform: none;
  }
}

.jb-top-employers__nav {
  flex-shrink: 0;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 2rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--jb-muted);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.jb-top-employers__nav:hover {
  color: var(--jb-green);
  background: rgba(30, 77, 43, 0.06);
}

.jb-top-employers__nav:active {
  transform: scale(0.96);
}

.jb-top-employers__nav:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 2px;
}

.jb-top-employers__nav:disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

.jb-top-employers--single .jb-top-employers__nav {
  visibility: hidden;
}

.jb-top-employers__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0.25rem 0.5rem;
  border-radius: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.jb-top-employers__card:hover {
  transform: translateY(-2px);
}

.jb-top-employers__card:focus-visible {
  outline: 2px solid var(--jb-green-light);
  outline-offset: 3px;
}

.jb-top-employers__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.jb-top-employers__logo {
  width: 4.75rem;
  height: 4.75rem;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(30, 77, 43, 0.06);
}

.jb-top-employers__logo--empty {
  display: block;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--jb-green-soft), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(30, 77, 43, 0.08);
}

.jb-top-employers__name {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--jb-ink);
  opacity: 0.88;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.jb-top-employers__count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--jb-muted);
  letter-spacing: 0.01em;
}

.jb-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .jb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .jb-category-grid {
    grid-template-columns: 1fr;
  }
}

.jb-category-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  background: var(--jb-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jb-category-card:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 4px 14px rgba(30, 77, 43, 0.06);
}

.jb-category-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--jb-ink);
}

.jb-category-card-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jb-green);
}

.jb-card-tag--industry {
  color: var(--jb-ink);
}

.jb-card-exp {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jb-green);
}

/* Public employer profile */
.jb-employer-public-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.jb-employer-public-logo {
  border-radius: 12px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--jb-line);
}

.jb-employer-public-title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.jb-employer-public-actions {
  margin-top: 0.75rem;
}

.jb-employer-public-sub {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
}

.jb-employer-public-jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.jb-employer-public-job {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--jb-line);
  border-radius: var(--jb-radius);
  background: var(--jb-card);
}

.jb-employer-public-job-meta {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--jb-green);
}

.jb-pre-wrap {
  white-space: pre-wrap;
  word-break: break-word;
}

.jb-status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
}

.jb-status-pill--active {
  background: var(--jb-green-soft);
  color: var(--jb-green);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.jb-status-pill--inactive {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Public employer: meta + about */
.jb-employer-public-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.35rem 0 0;
}

.jb-employer-public-meta {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  max-width: 40rem;
}

.jb-employer-public-meta__row {
  margin: 0;
}

.jb-employer-public-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jb-muted);
  margin: 0 0 0.15rem;
}

.jb-employer-public-meta dd {
  margin: 0;
  font-size: 0.95rem;
  word-break: break-word;
}

.jb-employer-public-about {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jb-line);
}

.jb-employer-public-about__text {
  margin: 0;
  max-width: 44rem;
  line-height: 1.55;
  color: var(--jb-ink);
}

/* Employers directory (light list) */
.jb-employers-directory--lite {
  padding: 2rem 0 3rem;
  flex: 1;
}

.jb-employers-directory__inner {
  max-width: 52rem;
}

.jb-employers-directory__back {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.jb-employers-directory__back a {
  color: var(--jb-muted);
  text-decoration: none;
  font-weight: 500;
}

.jb-employers-directory__back a:hover {
  color: var(--jb-green);
  text-decoration: underline;
}

.jb-employers-directory__intro {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(30, 77, 43, 0.12);
}

.jb-employers-directory__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--jb-ink);
}

.jb-employers-directory__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.jb-employers-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jb-employers-dir__item {
  margin: 0;
  border-bottom: 1px solid rgba(30, 77, 43, 0.1);
}

.jb-employers-dir__item:first-child {
  border-top: 1px solid rgba(30, 77, 43, 0.1);
}

.jb-employers-dir__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  padding: 1rem 0.35rem 1.1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  margin: 0 -0.35rem;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.jb-employers-dir__row:hover {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 20px rgba(30, 77, 43, 0.04);
}

.jb-employers-dir__logo-cell {
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.jb-employers-dir__logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px rgba(30, 77, 43, 0.08);
}

.jb-employers-dir__logo--empty {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--jb-green-soft), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(30, 77, 43, 0.08);
}

.jb-employers-dir__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jb-employers-dir__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.jb-employers-dir__name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--jb-green);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.jb-employers-dir__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  flex-shrink: 0;
}

.jb-employers-dir__jobs {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jb-muted);
}

.jb-employers-dir__status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: #64748b;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.jb-employers-dir__status--on {
  color: var(--jb-green);
  background: rgba(232, 242, 235, 0.95);
  border-color: rgba(34, 197, 94, 0.28);
}

.jb-employers-dir__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--jb-muted);
  display: block;
}

.jb-employers-dir__desc--muted {
  font-style: italic;
  opacity: 0.88;
}

.jb-employers-directory__empty {
  margin-top: 0.5rem;
}

@media (max-width: 520px) {
  .jb-employers-dir__headline {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Employer account: company profile hub (logo avatar) */
.jb-profile-hub__avatar--company {
  border-radius: 12px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.03);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(30, 77, 43, 0.1);
}

.jb-profile-hub__avatar--company-placeholder {
  border-radius: 12px;
}
