/* Careers — job board + company sections */
body.careers-page {
  --cr-ink: #1a2433;
  --cr-muted: #5a6578;
  --cr-line: rgba(19, 32, 51, 0.1);
  --cr-paper: #f4f6f8;
  --cr-surface: #ffffff;
  --cr-accent: #0b6e8a;
  --jb-blue: #0096db;
  --jb-blue-deep: #003d6b;
  --jb-title: #0077c8;
  background: var(--cr-paper);
  font-family: Sora, Outfit, "Segoe UI", sans-serif;
  color: var(--cr-ink);
}

body.careers-page .topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 32, 51, 0.06);
}

.cr-root { overflow: visible; }

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

/* —— Search banner (job board hero) —— */
.jb-search {
  background: var(--jb-blue);
  color: #fff;
  padding: 22px 0 28px;
}

.jb-search-inner { position: relative; }

.jb-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.92;
}

.jb-crumb a {
  color: #fff;
  text-decoration: none;
}

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

.jb-brand {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.jb-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(140px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
}

.jb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.jb-field input,
.jb-field select {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--cr-ink);
  background: #fff;
}

.jb-field input::placeholder { color: #8a94a6; }

.jb-submit {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--jb-blue-deep);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.jb-submit:hover {
  background: #002a4a;
  transform: translateY(-1px);
}

/* —— Results board —— */
.jb-board {
  padding: 28px 0 48px;
}

.jb-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.jb-results-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cr-ink);
  text-transform: lowercase;
}

.jb-results-place { font-weight: 700; }

.jb-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jb-view {
  display: inline-flex;
  border: 1px solid var(--cr-line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.jb-view-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #6b778a;
  cursor: pointer;
}

.jb-view-btn.is-active {
  background: #e8f4fb;
  color: var(--jb-title);
}

.jb-sort select {
  min-height: 36px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--cr-line);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235a6578' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
}

.jb-pair { display: none; }

.jb-filters {
  position: relative;
  margin-bottom: 20px;
}

.jb-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.jb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-ink);
  cursor: pointer;
  text-transform: lowercase;
}

.jb-chip:hover { border-color: rgba(0, 119, 200, 0.35); }

.jb-chip-menu {
  position: absolute;
  top: 44px;
  z-index: 5;
  min-width: 200px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--cr-line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(19, 32, 51, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jb-chip-menu[hidden] {
  display: none !important;
}

.jb-chip-menu button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-ink);
  cursor: pointer;
  text-transform: lowercase;
}

.jb-chip-menu button:hover,
.jb-chip-menu button.is-active {
  background: #e8f4fb;
  color: var(--jb-title);
}

.jb-alerts {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--jb-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: lowercase;
}

.jb-alerts:hover { background: #007fc0; color: #fff; }

.jb-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.jb-flash.is-ok {
  background: #e8f7ef;
  color: #0e7a4a;
  border: 1px solid rgba(14, 122, 74, 0.25);
}

.jb-flash.is-err {
  background: #fdeeee;
  color: #8a1f2b;
  border: 1px solid rgba(138, 31, 43, 0.2);
}

/* Small cards — default view */
.jb-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jb-cards[data-view="list"] {
  grid-template-columns: 1fr;
}

.jb-cards[data-view="list"] .jb-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 16px;
  align-items: start;
  min-height: 0;
}

.jb-cards[data-view="list"] .jb-card-top { grid-column: 1; }
.jb-cards[data-view="list"] .jb-heart { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.jb-cards[data-view="list"] .jb-card-id,
.jb-cards[data-view="list"] .jb-card-meta { grid-column: 1; }
.jb-cards[data-view="list"] .jb-card-foot { grid-column: 1 / -1; }

.jb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  padding: 20px 18px 14px;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jb-card:hover {
  border-color: rgba(0, 119, 200, 0.35);
  box-shadow: 0 8px 22px rgba(19, 32, 51, 0.06);
}

.jb-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.jb-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.jb-card-open {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--jb-title);
  text-align: left;
  cursor: pointer;
  text-transform: lowercase;
}

.jb-card-open:hover { text-decoration: underline; }

.jb-card-id {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--jb-blue-deep);
}

.jb-heart {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--jb-title);
  cursor: pointer;
  border-radius: 50%;
}

.jb-heart:hover,
.jb-heart.is-saved { background: #e8f4fb; }

.jb-heart.is-saved svg path { fill: currentColor; }

.jb-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: #4a5568;
  text-transform: lowercase;
}

.jb-card-meta svg {
  flex-shrink: 0;
  color: #6b778a;
}

.jb-card-foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jb-card-foot time {
  font-size: 12px;
  color: #8a94a6;
  text-transform: lowercase;
}

.jb-info {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--jb-title);
  cursor: pointer;
  border-radius: 50%;
}

.jb-info:hover { background: #e8f4fb; }

/* Join our team — below job cards */
.jb-join {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 8px;
  background: linear-gradient(135deg, #0096db 0%, #003d6b 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 61, 107, 0.22);
  animation: jb-join-in 0.7s ease both;
}

.jb-join[hidden] {
  display: none !important;
}

.jb-join-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  top: -80px;
  right: -40px;
  animation: jb-join-float 8s ease-in-out infinite;
  pointer-events: none;
}

.jb-join-orb-b {
  width: 160px;
  height: 160px;
  top: auto;
  right: auto;
  left: -50px;
  bottom: -60px;
  animation-delay: -3s;
}

.jb-join-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.jb-join-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  animation: jb-join-rise 0.8s ease 0.1s both;
}

.jb-join-title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: jb-join-rise 0.8s ease 0.18s both;
}

.jb-join-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.94;
  animation: jb-join-rise 0.8s ease 0.26s both;
}

.jb-join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: jb-join-rise 0.8s ease 0.34s both;
}

.jb-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--jb-blue-deep);
  background: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.jb-join-btn:hover {
  transform: translateY(-2px);
  background: #eef6fb;
  color: var(--jb-blue-deep);
}

.jb-join-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.jb-join-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@keyframes jb-join-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes jb-join-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jb-join-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 10px); }
}

@media (prefers-reduced-motion: reduce) {
  .jb-join,
  .jb-join-orb,
  .jb-join-kicker,
  .jb-join-title,
  .jb-join-text,
  .jb-join-actions {
    animation: none !important;
  }
}

.jb-detail-wrap {
  margin-top: 4px;
}

.jb-detail-wrap[hidden] {
  display: none !important;
}

.jb-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--cr-line);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  color: var(--jb-title);
  cursor: pointer;
}

.jb-back:hover {
  background: #e8f4fb;
}

/* Full job detail (after card click) */
.jb-focus-stack {
  display: grid;
  gap: 20px;
}

.jb-job {
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 4px;
  overflow: hidden;
}

.jb-job.is-featured {
  border-color: rgba(0, 150, 219, 0.35);
  box-shadow: 0 12px 36px rgba(19, 32, 51, 0.08);
}

.jb-job-head {
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, #f7fbff 0%, #fff 70%);
  border-bottom: 1px solid #e4e8ee;
}

.jb-job-ids {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.jb-job-id {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--jb-blue-deep);
  background: #d9effa;
}

.jb-job-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e7a4a;
  background: #e8f7ef;
  border: 1px solid rgba(14, 122, 74, 0.2);
}

.jb-job-title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--jb-title);
}

.jb-job-summary {
  margin: 0 0 18px;
  max-width: 46rem;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cr-muted);
}

.jb-job-meta {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.jb-job-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4e8ee;
  font-size: 14px;
  font-weight: 650;
  color: var(--cr-ink);
}

.jb-job-meta span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8699;
}

.jb-job-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.jb-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: var(--jb-blue);
  box-shadow:
    0 0 0 0 rgba(0, 150, 219, 0.55),
    0 8px 22px rgba(0, 61, 107, 0.28);
  cursor: pointer;
  text-decoration: none;
  animation: jb-apply-pulse 2.2s ease-out infinite;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.jb-apply-btn:hover {
  background: #007fc0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 6px rgba(0, 150, 219, 0.18),
    0 12px 28px rgba(0, 61, 107, 0.35);
  animation: none;
}

.jb-apply-btn:focus-visible {
  outline: 3px solid #003d6b;
  outline-offset: 3px;
}

.jb-job-cta .jb-apply-btn {
  min-width: 180px;
}

.jb-apply-btn-ghost {
  background: #fff;
  color: var(--jb-blue);
  border: 2px solid var(--jb-blue);
  box-shadow: none;
  animation: none;
  text-transform: none;
  font-size: 14px;
  min-height: 44px;
  padding: 0 18px;
}

.jb-apply-btn-ghost:hover {
  background: #e8f4fb;
  color: var(--jb-blue-deep);
  border-color: var(--jb-blue-deep);
  transform: translateY(-1px);
  box-shadow: none;
}

@keyframes jb-apply-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 150, 219, 0.5), 0 8px 22px rgba(0, 61, 107, 0.28); }
  70% { box-shadow: 0 0 0 14px rgba(0, 150, 219, 0), 0 8px 22px rgba(0, 61, 107, 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(0, 150, 219, 0), 0 8px 22px rgba(0, 61, 107, 0.28); }
}

@media (prefers-reduced-motion: reduce) {
  .jb-apply-btn { animation: none; }
}

.jb-apply-note {
  margin: 0;
  font-size: 13px;
  color: #7a8699;
  max-width: 22rem;
  line-height: 1.45;
}

.jb-job-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.jb-job-block {
  padding: clamp(18px, 2.5vw, 24px);
  border-bottom: 1px solid #e4e8ee;
  border-right: 1px solid #e4e8ee;
}

.jb-job-block:nth-child(2n) {
  border-right: 0;
}

.jb-job-block h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jb-title);
}

.jb-job-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cr-muted);
}

.jb-job-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
}

.jb-job-block li { margin-bottom: 5px; }

.jb-job-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(18px, 2.5vw, 24px);
  background: #f7fafc;
}

.jb-job-foot p {
  margin: 0;
  font-size: 13px;
  color: var(--cr-muted);
}

.jb-job-foot code {
  font-size: 12px;
  font-weight: 700;
  color: var(--jb-blue-deep);
  background: #d9effa;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Compact about strip */
.cr-compact {
  border-top: 1px solid var(--cr-line);
  background: #fff;
  padding: clamp(28px, 4vw, 40px) 0 48px;
}

.cr-compact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
}

.cr-compact-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.cr-compact-inner p:last-child {
  margin: 0;
  max-width: 40rem;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
}

.jb-sample-block[hidden] {
  display: none !important;
}

.jb-apply-legal.is-required {
  color: #8a1f2b;
  font-weight: 650;
}

/* Apply dialog */
.jb-apply-panel {
  max-width: min(720px, calc(100vw - 24px));
  max-height: min(90vh, 920px);
  overflow: auto;
}

.jb-apply-panel h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.jb-apply-role,
.jb-apply-jobid {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--cr-muted);
}

.jb-apply-jobid {
  margin-bottom: 14px;
}

.jb-apply-jobid code {
  font-weight: 700;
  color: var(--jb-blue-deep);
}

.jb-apply-form {
  display: grid;
  gap: 12px;
}

.jb-form-section {
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e4e8ee;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jb-title);
}

.jb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jb-form-grid .jb-span-2 {
  grid-column: 1 / -1;
}

.jb-apply-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--cr-ink);
}

.jb-apply-form input,
.jb-apply-form select,
.jb-apply-form textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5dbe3;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--cr-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.jb-apply-form input[type="file"] {
  padding: 10px;
  background: #f7fafc;
}

.jb-apply-form textarea { min-height: 88px; resize: vertical; }

.jb-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.jb-consent input {
  min-height: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.jb-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jb-apply-legal {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #7a8699;
  font-weight: 500;
}

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

.jb-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.jb-active-filters[hidden],
.jb-none[hidden],
.jb-tag[hidden] {
  display: none !important;
}

.jb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  background: #d9effa;
  color: var(--jb-blue-deep);
  font-size: 12px;
  font-weight: 650;
  text-transform: lowercase;
}

.jb-tag-x {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.jb-clear {
  border: 0;
  background: transparent;
  color: var(--jb-title);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-transform: lowercase;
}

/* —— Empty / none —— */
.jb-none {
  margin: 24px 0 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--cr-line);
  border-radius: 8px;
  text-align: center;
  color: var(--cr-muted);
}

.jb-none button {
  border: 0;
  background: transparent;
  color: var(--jb-title);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
}

.jb-empty {
  padding: clamp(28px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--cr-line);
  border-radius: 8px;
  text-align: center;
  max-width: 40rem;
}

.jb-empty h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  text-transform: lowercase;
}

.jb-empty p {
  margin: 0 0 18px;
  color: var(--cr-muted);
  line-height: 1.6;
}

/* —— Detail dialog —— */
.jb-dialog {
  border: 0;
  padding: 0;
  max-width: min(760px, calc(100vw - 24px));
  background: transparent;
}

.jb-dialog::backdrop {
  background: rgba(10, 24, 40, 0.45);
}

.jb-dialog-panel {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 48px rgba(10, 24, 40, 0.2);
}

.jb-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b778a;
  cursor: pointer;
}

.jb-detail-desk {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jb-title);
}

.jb-detail-body h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.jb-detail-summary {
  margin: 0 0 16px;
  color: var(--cr-muted);
  line-height: 1.6;
  font-size: 15px;
}

.jb-detail-body h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jb-detail-body ul {
  margin: 0 0 16px;
  padding-left: 1.1rem;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
}

.jb-detail-body li { margin-bottom: 4px; }

/* —— Shared actions / lower sections —— */
.cr-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jb-title);
}

.cr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cr-btn-primary {
  background: var(--jb-blue-deep);
  color: #fff;
}

.cr-btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
  background: #002a4a;
}

.cr-btn-ghost {
  background: transparent;
  color: var(--cr-ink);
  border: 1px solid var(--cr-line);
}

.cr-btn-ghost:hover {
  border-color: var(--jb-title);
  transform: translateY(-1px);
}

.cr-btn-on-blue {
  background: #fff;
  color: var(--jb-blue-deep);
}

.cr-btn-on-blue:hover {
  transform: translateY(-1px);
  color: var(--jb-blue-deep);
  background: #eef6fb;
}

.cr-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.cr-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

/* Culture — editorial standards */
.cr-culture {
  padding: clamp(48px, 7vw, 88px) 0;
  background: #fff;
  border-top: 1px solid var(--cr-line);
}

.cr-culture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.cr-culture-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cr-culture-intro p:last-child {
  margin: 0;
  color: var(--cr-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 34rem;
}

.cr-standards {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cr-line);
}

.cr-standards li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--cr-line);
}

.cr-std-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--jb-title);
  padding-top: 3px;
}

.cr-standards h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.cr-standards p {
  margin: 0;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Desks — professional practice rows */
.cr-desks {
  padding: clamp(48px, 7vw, 88px) 0;
  background:
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
}

.cr-desks-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 20px 40px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cr-desks-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cr-desks-lead {
  margin: 0;
  color: var(--cr-muted);
  font-size: 15px;
  line-height: 1.65;
}

.cr-desk-list {
  display: grid;
  gap: 14px;
}

.cr-desk {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.5fr) minmax(160px, 0.7fr);
  gap: 18px 24px;
  align-items: start;
  padding: clamp(20px, 2.5vw, 28px);
  background: #fff;
  border: 1px solid #e4e8ee;
  border-left: 4px solid var(--jb-blue);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cr-desk:hover {
  border-color: rgba(0, 119, 200, 0.28);
  box-shadow: 0 10px 28px rgba(19, 32, 51, 0.06);
}

.cr-desk.is-cx { border-left-color: #0e7a4a; }
.cr-desk.is-it { border-left-color: #12264a; }
.cr-desk.is-op { border-left-color: #8a3a2a; }

.cr-desk-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cr-desk-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--jb-title);
}

.cr-desk.is-cx .cr-desk-code { color: #0e7a4a; }
.cr-desk.is-it .cr-desk-code { color: #12264a; }
.cr-desk.is-op .cr-desk-code { color: #8a3a2a; }

.cr-desk-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cr-ink);
}

.cr-desk-body h3 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cr-desk-body p {
  margin: 0 0 14px;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.6;
}

.cr-desk-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cr-desk-tags li {
  font-size: 12px;
  font-weight: 650;
  color: #3d4a5c;
  padding: 5px 10px;
  background: #f3f7fb;
  border: 1px solid #e4e8ee;
}

.cr-desk-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #7a8699;
  padding-top: 2px;
}

/* Apply band — matches search blue */
.cr-apply-band {
  background: var(--jb-blue);
  color: #fff;
  padding: clamp(40px, 6vw, 64px) 0;
  margin-bottom: 0;
}

.cr-apply-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.cr-apply-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.cr-apply-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  letter-spacing: -0.02em;
}

.cr-apply-inner p {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.92;
}

.cr-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

  .jb-submit {
    grid-column: 1 / -1;
  }

  .jb-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-job-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jb-job-body {
    grid-template-columns: 1fr;
  }

  .jb-job-block {
    border-right: 0;
  }
}

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

  .jb-cards,
  .jb-cards[data-view="list"],
  .jb-job-meta {
    grid-template-columns: 1fr;
  }

  .jb-cards[data-view="list"] .jb-card {
    display: flex;
  }
}
