.cdet-shell {
  background: var(--bg, #FFFFFF);
  padding: 64px 48px 96px;
}
.cdet-shell__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 56px; align-items: start;
}

/* ---------- Job header ---------- */
.cdet-head {
  padding-bottom: 24px;
  border-bottom: 1px solid #E4E6EE;
  margin-bottom: 32px;
}
.cdet-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; letter-spacing: 4px; font-weight: 700; color: #6A4C93;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.cdet-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: #6A4C93;
}
.cdet-h1 {
  font-size: 56px; font-weight: 800; letter-spacing: -1.8px;
  line-height: 1.05; color: #1A1D29; margin: 0 0 22px;
  text-wrap: balance;
}
.cdet-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.cdet-meta__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid #E4E6EE;
  font-size: 13px; font-weight: 500; color: #1A1D29;
  font-variant-numeric: tabular-nums;
}
.cdet-meta__chip .lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; letter-spacing: 1.5px; font-weight: 700;
  color: #7A7F92;
}
.cdet-meta__chip--loc { background: #FDF3E6; border-color: rgba(247,148,29,0.35); }
.cdet-meta__chip--loc .lbl { color: #E07B0A; }
.cdet-meta__chip--type { background: #F3F0FA; border-color: #D6CCE8; }
.cdet-meta__chip--type .lbl { color: #6A4C93; }

/* ---------- Body sections ---------- */
.cdet-body {
  font-size: 16px; line-height: 1.65; color: #2A2D3D;
  max-width: 760px;
}
.cdet-body p { margin: 0 0 18px; text-wrap: pretty; }
.cdet-body p.lead {
  font-size: 18px; line-height: 1.6; color: #1A1D29; font-weight: 500;
  margin-bottom: 32px;
}
.cdet-body strong { color: #1A1D29; font-weight: 700; }
.cdet-body a {
  color: #6A4C93; text-decoration: none;
  border-bottom: 1px dashed #D6CCE8;
}
.cdet-body a:hover { color: #4E3670; border-bottom-color: #6A4C93; }

.cdet-sec {
  margin: 40px 0 16px;
  display: flex; align-items: center; gap: 14px;
}
.cdet-sec__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: 2px; font-weight: 700;
  color: #6A4C93;
  background: #F3F0FA; border: 1px solid #D6CCE8;
  padding: 4px 10px; border-radius: 6px;
  flex-shrink: 0;
}
.cdet-sec__title {
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.18; color: #1A1D29; margin: 0;
}

.cdet-list {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column;
}
.cdet-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed #E4E6EE;
}
.cdet-list li:last-child { border-bottom: none; }
.cdet-list__marker {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  font-size: 11px; color: #6A4C93;
  font-weight: 800;
}
.cdet-list--simple li {
  grid-template-columns: 18px 1fr;
}
.cdet-list--simple .cdet-list__marker {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FDF3E6;
  color: #E07B0A;
  font-size: 0;
  position: relative;
  margin-top: 6px;
}
.cdet-list--simple .cdet-list__marker::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F7941D;
}
.cdet-list__body { font-size: 15.5px; line-height: 1.55; color: #2A2D3D; }
.cdet-list__body strong {
  color: #1A1D29; font-weight: 700;
}

/* Key skills band */
.cdet-skills {
  margin: 12px 0 24px;
  padding: 18px 22px;
  background: #F5F6FA; border: 1px solid #E4E6EE;
  border-radius: 12px;
}
.cdet-skills__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px; letter-spacing: 2px; font-weight: 700;
  color: #7A7F92; margin-bottom: 10px;
}
.cdet-skills__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cdet-skill {
  padding: 6px 12px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid #E4E6EE;
  font-size: 12.5px; font-weight: 600; color: #1A1D29;
}

/* About strip */
.cdet-about {
  margin-top: 40px;
  padding: 28px 32px;
  background: #1A1D29; color: #FFFFFF;
  border-radius: 16px;
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
}
.cdet-about__mark {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: 2.5px; font-weight: 700;
  color: #F7941D;
  white-space: nowrap;
  padding-top: 4px;
}
.cdet-about__text { font-size: 15px; line-height: 1.6; color: #B8BCCE; }
.cdet-about__text strong { color: #FFFFFF; font-weight: 700; }
.cdet-about__text a {
  color: #F7941D; text-decoration: none;
  border-bottom: 1px dashed rgba(247,148,29,0.5);
}
.cdet-about__text a:hover { color: #FFFFFF; border-bottom-color: #FFFFFF; }
.cdet-about__clients {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cdet-about__client {
  padding: 6px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px; letter-spacing: 1.5px; font-weight: 700;
  color: #FFFFFF;
}

/* Breadcrumb back */
.cdet-back {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: 2px; font-weight: 700;
  color: #6A4C93;
  cursor: pointer;
}
.cdet-back:hover { color: #4E3670; }

/* Sticky form override — the form needs a top edge inside the detail layout */
.cdet-shell .crs-form { top: 96px; }