/* ============================================================
   NexHire Business Portal — Global Stylesheet
   Brand: Navy #04243D | Cyan #01C5C5 (accent)
   Font: Poppins (self-hosted, see @font-face below)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face{
  font-family:'Poppins'; font-style:normal; font-weight:300; font-display:swap;
  src:url('../fonts/poppins-300.woff2') format('woff2');
}
@font-face{
  font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face{
  font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap;
  src:url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face{
  font-family:'Poppins'; font-style:normal; font-weight:800; font-display:swap;
  src:url('../fonts/poppins-800.woff2') format('woff2');
}

/* ---------- CSS Variables ---------- */
:root {
  /* Brand palette */
  --color-navy-900: #021826;
  --color-navy-700: #04243D;
  --color-navy-500: #0C3E5E;
  --color-navy-100: #E0EAF0;
  --color-cyan-600:  #018F8F;
  --color-cyan-500:  #01C5C5;
  --color-cyan-100:  #D7FAFA;
  --color-cyan-900:  #013D3D;
  --color-gray-900:  #111827;
  --color-gray-600:  #4B5563;
  --color-gray-300:  #D1D5DB;
  --color-gray-100:  #F3F4F6;
  --color-success:   #16A34A;
  --color-warning:   #F59E0B;
  --color-error:     #DC2626;
  --color-error-dark:#B91C1C;
  --color-info:      #2563EB;

  /* Legacy aliases — kept so existing rules don't need renaming */
  --green:       var(--color-cyan-500);
  --navy:        var(--color-navy-700);
  --blue:        var(--color-navy-500);
  --navy-dark:   var(--color-navy-900);
  --green-dark:  var(--color-cyan-600);
  --blue-dark:   var(--color-navy-900);
  --white:       #ffffff;
  --off-white:   var(--color-gray-100);
  --gray-100:    var(--color-gray-100);
  --gray-300:    var(--color-gray-300);
  --gray-400:    #9CA3AF;
  --gray-600:    var(--color-gray-600);
  --gray-900:    var(--color-gray-900);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(4,36,61,.10);
  --shadow-lg:   0 12px 40px rgba(4,36,61,.18);
  --transition:  0.32s cubic-bezier(.16,.84,.44,1);
  --nav-height:  68px;
  --sidebar-width: 260px;
  --sidebar-width-collapsed: 72px;
  --ic-green:    var(--color-cyan-600);
  --ic-blue:     var(--color-navy-500);
  --ic-navy:     var(--color-navy-700);

  --font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fw-heading: 800;
  --fw-subheading: 600;
  --fw-body: 400;
  --fw-body-light: 300;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--gray-600); line-height: 1.8; font-weight: 300; }

/* ---------- Utilities ---------- */
.nh-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.nh-section   { padding: 96px 0; }
.nh-section--alt { background: var(--off-white); }
.text-center  { text-align: center; }

.nh-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.nh-eyebrow--light { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  font-family: inherit;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--color-cyan-900);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,197,197,.35);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4,36,61,.35);
  color: var(--white);
}

/* Login / logout button in nav */
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--green);
  color: var(--color-cyan-900);
  border: 2px solid var(--green);
  transition: var(--transition);
  cursor: pointer;
}
.btn-login:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  color: var(--white);
}

/* ---------- Page Shell ---------- */
.nh-page { display: flex; flex-direction: column; min-height: 100vh; }
.nh-main  { flex: 1; }

/* ---------- Navbar ---------- */
.nh-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(4,36,61,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
  justify-content: space-between;
}
.nh-navbar.scrolled {
  box-shadow: 0 8px 30px rgba(2,24,38,.35);
}
.nh-navbar__brand { display: flex; align-items: center; }
.nh-navbar__logo { height: 36px; width: auto; display: block; }
.nh-navbar__actions { display: flex; align-items: center; gap: 16px; }
.nh-navbar__user { font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.78); }

/* ── Page needs room for fixed nav ── */
.nh-page { padding-top: var(--nav-height); }

/* ---------- Hero ---------- */
.nh-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--green-dark) 100%);
  overflow: hidden;
  padding: 80px 0;
}
.nh-hero__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: .5;
  pointer-events: none;
}
.nh-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nh-hero__content { max-width: 660px; }
.nh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(1,197,197,.18);
  border: 1px solid rgba(1,197,197,.35);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.nh-hero h1 { color: var(--white); margin-bottom: 20px; }
.nh-hero h1 span { color: var(--green); }
.nh-hero__subtitle {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}
.nh-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Value Strip ---------- */
.nh-value-strip { background: var(--off-white); padding-bottom: 0; }
.nh-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(-48px);
  background: var(--white);
  max-width: 1160px;
  margin: 0 auto;
}
.nh-value-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: var(--transition);
}
.nh-value-item:last-child { border-right: none; }
.nh-value-item:hover { background: var(--off-white); }
.nh-value-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--ic-green);
}
.nh-value-icon svg { width: 28px; height: 28px; }
.nh-value-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.nh-value-label { font-size: .82rem; color: var(--gray-600); font-weight: 600; }

/* ---------- Two-column Cards ---------- */
.nh-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.nh-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.nh-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nh-card--green { border-top: 4px solid var(--green); }
.nh-card--blue  { border-top: 4px solid var(--blue);  }
.nh-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.nh-card__icon svg { width: 26px; height: 26px; }
.nh-card__icon--green { background: rgba(1,197,197,.12); color: var(--ic-green); }
.nh-card__icon--blue  { background: rgba(12,62,94,.12);  color: var(--ic-blue);  }
.nh-card h3 { margin-bottom: 12px; }
.nh-card p  { font-size: .93rem; }

/* ---------- Compare ---------- */
.nh-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.nh-compare__traditional {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1.5px solid var(--gray-100);
}
.nh-compare__nexhire {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.nh-compare__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.nh-compare__traditional .nh-compare__label { color: var(--gray-400); }
.nh-compare__nexhire    .nh-compare__label { color: rgba(1,197,197,.75); }
.nh-compare__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nh-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
}
.nh-compare__traditional .nh-compare__list li { color: var(--gray-600); }
.nh-compare__nexhire    .nh-compare__list li { color: rgba(255,255,255,.85); }
.nh-compare__x     { color: var(--color-error); flex-shrink: 0; margin-top: 2px; }
.nh-compare__check { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.nh-compare__nexhire .nh-compare__cta { margin-top: 28px; }

/* ---------- Why NexHire ---------- */
.nh-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.nh-why-visual {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nh-why-list { display: flex; flex-direction: column; gap: 24px; }
.nh-why-item { display: flex; gap: 20px; align-items: flex-start; }
.nh-why-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(12,62,94,.10);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nh-why-icon svg { width: 22px; height: 22px; }
.nh-why-item h4 { margin-bottom: 4px; }
.nh-why-item p  { font-size: .91rem; }

/* ---------- Feature Grid ---------- */
.nh-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.nh-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.nh-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.nh-feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.nh-feature-card:hover::before { transform: scaleX(1); }
.nh-feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.nh-feature-icon svg { width: 26px; height: 26px; }
.nh-fi--green { background: rgba(1,197,197,.12); color: var(--ic-green); }
.nh-fi--blue  { background: rgba(12,62,94,.12);  color: var(--ic-blue);  }
.nh-fi--navy  { background: rgba(4,36,61,.10);  color: var(--ic-navy);  }
.nh-feature-card h3 { margin-bottom: 10px; }
.nh-feature-card p  { font-size: .92rem; }

/* ---------- Process Steps ---------- */
.nh-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.nh-process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 0;
}
.nh-process-step { text-align: center; position: relative; z-index: 1; }
.nh-step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(12,62,94,.2);
  transition: var(--transition);
}
.nh-process-step:hover .nh-step-num {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1);
}
.nh-process-step h4 { margin-bottom: 8px; }
.nh-process-step p  { font-size: .88rem; }

/* ---------- CTA Banner ---------- */
.nh-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--blue-dark) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nh-cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.nh-cta-banner p  { color: rgba(255,255,255,.75); max-width: 540px; margin: 0 auto 36px; }
.nh-cta-actions   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page Title (authenticated app-shell pages) ----------
   Plain heading replacing the colored .nh-page-header band now that the
   sidebar carries primary navigation — avoids two competing design languages
   (marketing hero band + app sidebar) stacked on every logged-in page. */
.nh-page-title {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 32px 8px;
}
.nh-page-title h1 { margin-bottom: 4px; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); }
.nh-page-title p  { margin-top: 6px; color: var(--gray-600); }

/* ---------- Candidates Page ---------- */
.nh-candidates-body {
  padding: 48px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
}
.nh-candidates-toolbar {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.nh-candidates-count { font-size: .88rem; font-weight: 600; color: var(--gray-600); }
.nh-candidates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Candidate Tile ---------- */
.nh-candidate-tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
}
.nh-candidate-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1,197,197,.4);
}
.nh-candidate-tile__header { display: flex; align-items: center; gap: 14px; }
.nh-candidate-tile__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nh-candidate-tile__name { font-weight: 600; color: var(--navy); font-size: 1rem; }
.nh-candidate-tile__role { font-size: .82rem; color: var(--gray-600); }
.nh-candidate-tile__location { font-size: .84rem; color: var(--gray-600); }
.nh-candidate-tile__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nh-candidate-tile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-300);
}
.nh-candidate-tile__exp { font-size: .82rem; color: var(--gray-600); font-weight: 600; }

/* ---------- Tags ---------- */
.nh-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .76rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--navy);
}

/* ---------- Badges ---------- */
.nh-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .76rem;
  font-weight: 600;
}
.nh-badge--available::before   { content: '●'; font-size: .55rem; }
.nh-badge--unavailable::before { content: '●'; font-size: .55rem; }
.nh-badge--available   { background: rgba(22,163,74,.12); color: var(--color-success); }
.nh-badge--unavailable { background: rgba(75,85,99,.10); color: var(--gray-600); }

/* ---------- Candidate Detail ---------- */
.nh-detail-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.nh-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 28px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.nh-back-link:hover { color: var(--navy); }
.nh-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.nh-detail-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 40px;
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.nh-detail-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nh-detail-card__id { flex: 1; min-width: 0; }
.nh-detail-card__name { color: var(--navy); font-size: 1.35rem; font-weight: 800; margin-bottom: 3px; }
.nh-detail-card__role { color: var(--gray-600); font-size: .95rem; }
.nh-detail-card__body { padding: 40px; }
.nh-detail-section { margin-bottom: 32px; }
.nh-detail-section:last-child { margin-bottom: 0; }
.nh-detail-section__title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.nh-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.nh-detail-meta__item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.nh-detail-meta__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.nh-detail-meta__value { font-size: .93rem; font-weight: 600; color: var(--navy); }

/* ---------- Empty State ---------- */
.nh-empty { text-align: center; padding: 80px 24px; color: var(--gray-600); }
.nh-empty__icon { font-size: 3rem; margin-bottom: 16px; opacity: .5; }

/* ---------- Footer ---------- */
.nh-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.nh-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.nh-footer__logo { height: 36px; width: auto; display: block; margin-bottom: 8px; }
.nh-footer__tagline { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 6px; }
.nh-footer__links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.nh-footer__links a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.nh-footer__links a:hover { color: var(--green); }
.nh-footer__bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .83rem;
  color: rgba(255,255,255,.4);
}
.nh-footer__admin-link { color: rgba(255,255,255,.4); transition: var(--transition); }
.nh-footer__admin-link:hover { color: var(--green); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- Welcome / Login Screen ---------- */
.nh-welcome {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--green-dark) 100%);
  padding: 40px 24px;
}
.nh-welcome__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(4,36,61,.28);
}
.nh-welcome__logo-img {
  height: 48px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}
.nh-welcome__card h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.nh-welcome__card h1 span { color: var(--green); }
.nh-welcome__card > p {
  font-size: .93rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
}
.nh-welcome__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.nh-welcome__actions .btn { justify-content: center; width: 100%; }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.nh-welcome__signup-hint {
  font-size: .82rem;
  color: var(--gray-600);
  margin: 0;
}
.nh-welcome__signup-hint a {
  color: var(--blue);
  font-weight: 600;
  transition: var(--transition);
}
.nh-welcome__signup-hint a:hover { color: var(--navy); }

/* ---------- Blazor Error UI ---------- */
#blazor-error-ui {
  background: lightyellow;
  bottom: 0; left: 0;
  box-shadow: 0 -1px 2px rgba(0,0,0,.2);
  display: none;
  padding: 0.6rem 1.25rem 0.7rem;
  position: fixed;
  width: 100%;
  z-index: 9999;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: var(--color-error); padding: 1rem 1rem 1rem 3.7rem; color: white; border-radius: var(--radius); }
.blazor-error-boundary::after { content: "An error has occurred."; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nh-features-grid   { grid-template-columns: repeat(2, 1fr); }
  .nh-candidates-grid { grid-template-columns: repeat(2, 1fr); }
  .nh-two-col         { grid-template-columns: 1fr; }
  .nh-compare         { grid-template-columns: 1fr; }
  .nh-why-grid        { grid-template-columns: 1fr; gap: 40px; }
  .nh-why-visual      { height: 260px; }
  .nh-value-grid      { grid-template-columns: repeat(2, 1fr); transform: translateY(-24px); }
  .nh-process-steps   { grid-template-columns: repeat(2, 1fr); }
  .nh-process-steps::before { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nh-features-grid   { grid-template-columns: 1fr; }
  .nh-candidates-grid { grid-template-columns: 1fr; }
  .nh-hero__actions   { flex-direction: column; }
  .nh-cta-actions     { flex-direction: column; align-items: center; }
  .nh-detail-meta     { grid-template-columns: 1fr; }
  .nh-footer__inner   { flex-direction: column; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .nh-value-grid    { grid-template-columns: 1fr 1fr; }
  .nh-process-steps { grid-template-columns: 1fr; }
}

/* ---------- Candidates Toolbar — View Toggle ---------- */
.nh-candidates-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.nh-view-toggle { display: flex; gap: 4px; }
.nh-view-toggle__btn {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.nh-view-toggle__btn:hover { background: var(--off-white); color: var(--navy); }
.nh-view-toggle__btn--active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---------- List View ---------- */
.nh-candidates-list { display: flex; flex-direction: column; gap: 10px; }
.nh-candidate-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  color: inherit;
}
.nh-candidate-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1,197,197,.4);
}
.nh-candidate-row--unlocked { border-left: 3px solid var(--green); }
.nh-candidate-row__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nh-candidate-row__info { flex: 1; min-width: 0; }
.nh-candidate-row__name { font-weight: 600; color: var(--navy); font-size: .95rem; }
.nh-candidate-row__role { font-size: .82rem; color: var(--gray-600); }
.nh-candidate-row__status { flex-shrink: 0; }
.nh-candidate-row__lock { flex-shrink: 0; font-size: 1.1rem; }

/* ---------- Lock Icons ---------- */
.nh-lock-icon { font-size: .82rem; color: var(--gray-400); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.nh-lock-icon--open { color: var(--green-dark); }

/* ---------- Unlocked Tile State ---------- */
.nh-candidate-tile--unlocked { border-left: 3px solid var(--green); }

/* ---------- Credits Badge (page header) ---------- */
.nh-credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: rgba(1,197,197,.18);
  border: 1px solid rgba(1,197,197,.35);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
}
.nh-credits-badge__icon { font-size: .7rem; }

/* ---------- Credits in Navbar ---------- */
.nh-navbar__credits {
  font-size: .84rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(1,197,197,.14);
  border: 1px solid rgba(1,197,197,.3);
  padding: 5px 14px;
  border-radius: 50px;
}
.nh-navbar__admin-link {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.3);
  transition: var(--transition);
}
.nh-navbar__admin-link:hover { background: var(--green); border-color: var(--green); color: var(--color-cyan-900); }

/* ---------- Unlock Gate ---------- */
.nh-detail-card__avatar--locked {
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 1.5rem;
}
.nh-detail-card__body--locked { display: flex; align-items: center; justify-content: center; min-height: 240px; }
.nh-unlock-gate {
  text-align: center;
  max-width: 420px;
  padding: 16px;
}
.nh-unlock-gate__icon { font-size: 3rem; margin-bottom: 16px; opacity: .5; }
.nh-unlock-gate h3 { color: var(--navy); margin-bottom: 10px; }
.nh-unlock-gate p { font-size: .93rem; margin-bottom: 12px; }
.nh-unlock-gate__credits { font-size: .88rem !important; color: var(--gray-600); }
.nh-unlock-gate__btn { margin-top: 8px; }
.nh-unlock-gate__error {
  background: rgba(220,38,38,.1);
  border: 1px solid rgba(220,38,38,.3);
  color: var(--color-error);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .88rem;
  margin-bottom: 12px;
}

/* ---------- Admin Header ---------- */
.nh-admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Admin Table ---------- */
.nh-admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  background: var(--white);
}
.nh-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
.nh-admin-table th {
  background: var(--off-white);
  color: var(--gray-600);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}
.nh-admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  color: var(--gray-900);
}
.nh-admin-table tr:last-child td { border-bottom: none; }
.nh-admin-table tr:hover td { background: var(--off-white); }
/* Deliberately not display:flex — this class sits directly on a <td>, and
   overriding its display away from table-cell breaks vertical-align and
   column sizing within the row (most visible once rows wrap to different
   heights). Inline-block + margin gets the same button spacing without
   losing table-cell layout. Allowed to wrap (not nowrap) — rows with 5
   actions (e.g. Pending/Under Investigation: Edit Account, Edit Profile,
   Approve, Reject, Delete) would otherwise clip off the edge of the screen
   instead of wrapping to a second line. */
.nh-admin-table__actions { white-space: normal; }
.nh-admin-table__actions > * { display: inline-block; vertical-align: middle; margin: 0 12px 6px 0; }
.nh-admin-table__actions > *:last-child { margin-right: 0; }
.nh-admin-action {
  font-size: .83rem;
  font-weight: 600;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: var(--transition);
}
.nh-admin-action:hover { color: var(--navy); }
.nh-admin-action--danger { color: var(--color-error); }
.nh-admin-action--danger:hover { color: var(--color-error-dark); }

/* ---------- Review note box (per-card admin notes) ---------- */
.nh-review-note-box {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px dashed var(--gray-300);
  border-radius: 8px;
  background: var(--gray-50, #f8fafc);
}
.nh-review-note-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nh-review-note-box__accept {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--gray-300);
}
.nh-review-note-box__accept label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--gray-900);
  cursor: pointer;
}
.nh-review-note-box p { margin: 4px 0; font-size: .85rem; }
.nh-review-note-box--external {
  border: 1px solid var(--color-info);
  background: rgba(37, 99, 235, .06);
}
.nh-review-note-box--external strong { color: var(--color-info); font-size: .85rem; }

/* ---------- Row Action Menu (kebab callout) ---------- */
.nh-row-menu { display: inline-block; }
.nh-row-menu__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: none;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}
.nh-row-menu__trigger:hover,
.nh-row-menu__trigger[aria-expanded="true"] { background: var(--off-white); color: var(--navy); }
.nh-row-menu__backdrop { position: fixed; inset: 0; z-index: 500; background: transparent; }
.nh-row-menu__panel {
  position: fixed;
  z-index: 501;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.nh-row-menu__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  border-radius: var(--radius);
  background: none;
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.nh-row-menu__item:hover { background: var(--off-white); color: var(--navy); }
.nh-row-menu__item--danger { color: var(--color-error); }
.nh-row-menu__item--danger:hover { background: var(--off-white); color: var(--color-error-dark); }

/* ---------- Toast Notifications ---------- */
.nh-toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 20px);
  right: 24px;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  pointer-events: none; /* let clicks fall through the gaps between toasts */
}
.nh-toast {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 36px 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  animation: nh-toast-lifecycle 4s ease forwards;
}
.nh-toast--success { background: #F0FAF4; border-color: rgba(22,163,74,.25); color: var(--color-success); }
.nh-toast--error   { background: #FDF2F2; border-color: rgba(220,38,38,.25); color: var(--color-error); }
.nh-toast__icon { flex-shrink: 0; font-weight: 700; line-height: 1.4; }
.nh-toast__message { color: var(--gray-900); font-weight: 500; line-height: 1.4; }
.nh-toast__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(4,36,61,.06);
  color: var(--gray-600);
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}
.nh-toast__close:hover { background: rgba(4,36,61,.12); color: var(--navy); }

@keyframes nh-toast-lifecycle {
  0%   { opacity: 0; transform: translateY(-8px); }
  8%   { opacity: 1; transform: translateY(0); }
  88%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

@media (max-width: 640px) {
  .nh-toast-container { left: 16px; right: 16px; max-width: none; }
}

/* ---------- Admin Form ---------- */
.nh-admin-form-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.nh-admin-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
}
.nh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nh-form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.nh-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.nh-form-group--checkbox { flex-direction: row; align-items: center; gap: 10px; }
.nh-form-label { font-size: .83rem; font-weight: 600; color: var(--navy); }
.nh-form-label--inline { font-weight: 600; color: var(--gray-900); margin: 0; }
.nh-form-hint { font-weight: 400; color: var(--gray-400); font-size: .78rem; }
.nh-form-input {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .93rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
.nh-form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(12,62,94,.12); }
.nh-form-textarea { resize: vertical; min-height: 120px; }
.nh-form-error {
  background: rgba(220,38,38,.1);
  border: 1px solid rgba(220,38,38,.3);
  color: var(--color-error);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .88rem;
  margin-bottom: 16px;
}
/* One line per non-compliant field (see RepeatableItemList) instead of a
   single generic "please complete required fields" sentence. */
.nh-form-error-list {
  background: rgba(220,38,38,.1);
  border: 1px solid rgba(220,38,38,.3);
  color: var(--color-error);
  border-radius: var(--radius);
  padding: 10px 16px 10px 32px;
  font-size: .88rem;
  margin: 0;
}
.nh-form-error-list li { margin: 2px 0; }
/* Blazor's built-in <ValidationMessage>/<ValidationSummary> — unstyled by
   default (renders as plain, uncoloured text) unless given this class. */
.validation-message {
  display: block;
  color: var(--color-error);
  font-size: .82rem;
  margin-top: 4px;
}
.nh-form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Delete Confirm Modal ---------- */
.nh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,36,61,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(2px);
}
.nh-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: calc(100% - 48px);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.nh-modal--wide { max-width: 560px; }
.nh-modal h3 { color: var(--navy); margin-bottom: 12px; }
.nh-modal p  { margin-bottom: 24px; }
.nh-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nh-modal__btn--danger { background: var(--color-error); border-color: var(--color-error); }
.nh-modal__btn--danger:hover { background: var(--color-error-dark); border-color: var(--color-error-dark); }

/* ---------- Access Denied ----------
   Can render inside either shell (sidebar for an authenticated wrong-role user,
   or the anonymous top-navbar shell for a direct signed-out visit), so this is a
   contained block rather than a full-viewport hero — a full-bleed gradient would
   collide visually with a persistent sidebar. */
.nh-access-denied {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  padding: 64px 24px;
}
.nh-access-denied__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(4,36,61,.28);
}
.nh-access-denied__icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: .8;
}
.nh-access-denied__card h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--navy);
  margin-bottom: 14px;
}
.nh-access-denied__card p {
  font-size: .93rem;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.7;
}
.nh-access-denied__card a { color: var(--blue); font-weight: 600; }
.nh-access-denied__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.nh-access-denied__actions .btn { justify-content: center; width: 100%; }

/* ---------- Responsive additions ---------- */
@media (max-width: 768px) {
  .nh-form-row { grid-template-columns: 1fr; }
  .nh-admin-header { flex-direction: column; align-items: flex-start; }
  .nh-candidate-row__status { display: none; }
}

/* ---------- Search Bar ---------- */
.nh-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.nh-search-bar__input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.nh-search-bar__icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--gray-400);
  pointer-events: none;
  flex-shrink: 0;
}
.nh-search-bar__input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .93rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
}
.nh-search-bar__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,62,94,.12);
}
.nh-search-bar__input::placeholder { color: var(--gray-400); }
.nh-search-bar__clear {
  position: absolute;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--gray-900);
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
}
.nh-search-bar__clear:hover { background: var(--gray-400); }

/* ---------- Filter Toggle Button ---------- */
.nh-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.nh-filter-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.nh-filter-toggle--active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.nh-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--color-cyan-900);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
}
.nh-filter-toggle--active .nh-filter-badge {
  background: var(--green);
  color: var(--color-cyan-900);
}

/* ---------- Filter Panel ---------- */
.nh-filter-panel {
  background: var(--off-white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
}
.nh-filter-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px 28px;
}
.nh-filter-panel__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
}
.nh-filter-group__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.nh-filter-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nh-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}
.nh-filter-chip input[type="radio"] { display: none; }
.nh-filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.nh-filter-chip--active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.nh-filter-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .88rem;
  color: var(--gray-900);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  appearance: auto;
}
.nh-filter-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,62,94,.12);
}
.nh-filter-skill-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .88rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
}
.nh-filter-skill-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,62,94,.12);
}
.nh-filter-skill-input::placeholder { color: var(--gray-400); }
.nh-filter-clear-btn {
  font-size: .83rem;
  font-weight: 600;
  color: var(--color-error);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: var(--transition);
}
.nh-filter-clear-btn:hover { color: var(--color-error-dark); text-decoration: underline; }

/* ---------- Candidate Row extras ---------- */
.nh-candidate-row {
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.nh-candidate-row__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}
.nh-candidate-row__location,
.nh-candidate-row__exp {
  font-size: .8rem;
  color: var(--gray-600);
}
.nh-candidate-row__exp { font-weight: 600; }

/* ---------- Candidate Tile as button ---------- */
.nh-candidate-tile {
  text-align: left;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Tag extras ---------- */
.nh-tag--more {
  background: rgba(4,36,61,.06);
  color: var(--gray-600);
  border-color: transparent;
}

/* ---------- Candidate Hover Panel ---------- */
.nh-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,36,61,.45);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: nh-fade-in .18s ease;
}
@keyframes nh-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.nh-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  animation: nh-slide-up .22s cubic-bezier(.4,0,.2,1);
}
@keyframes nh-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.nh-panel__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  z-index: 1;
  line-height: 1;
}
.nh-panel__close:hover { background: var(--gray-300); color: var(--navy); }
.nh-panel__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--gray-100);
}
.nh-panel__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nh-panel__id { flex: 1; min-width: 0; }
.nh-panel__name {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.25;
}
.nh-panel__role {
  color: var(--gray-600);
  font-size: .87rem;
}
.nh-panel__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--gray-100);
}
.nh-panel__meta-item {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nh-panel__meta-item:first-child { border-right: 1px solid var(--gray-100); }
.nh-panel__meta-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.nh-panel__meta-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
.nh-panel__section {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.nh-panel__section-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.nh-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nh-panel__cta {
  padding: 20px;
  border-top: 1px dashed var(--gray-300);
}
.nh-panel__credits-note {
  font-size: .83rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  text-align: center;
}

/* ---------- Responsive: search & filter ---------- */
@media (max-width: 768px) {
  .nh-search-bar { flex-wrap: wrap; }
  .nh-filter-panel__grid { grid-template-columns: 1fr; }
  .nh-candidate-row__meta { display: none; }
  .nh-panel { max-width: 100%; }
}

/* ---------- Panel meta grid (4 cells) ---------- */
.nh-panel__meta { grid-template-columns: 1fr 1fr; }

/* ---------- Career History Timeline ---------- */
.nh-career-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--gray-100);
  margin-left: 10px;
}
.nh-career-item {
  display: flex;
  gap: 20px;
  padding: 0 0 28px 0;
  position: relative;
}
.nh-career-item:last-child { padding-bottom: 0; }
.nh-career-item__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
  flex-shrink: 0;
  margin-left: -8px;
  margin-top: 4px;
}
.nh-career-item__content { flex: 1; }
.nh-career-item__role {
  font-weight: 600;
  font-size: .97rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.nh-career-item__company {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}
.nh-career-item__period {
  font-size: .8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.nh-career-item__summary {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- Education & Licences List ---------- */
.nh-cred-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nh-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.nh-cred-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.nh-cred-item__title {
  font-weight: 600;
  font-size: .93rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.nh-cred-item__institution {
  font-size: .85rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 2px;
}
.nh-cred-item__date {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ---------- Admin form: collection items ---------- */
.nh-form-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 28px 0 24px;
}
.nh-collection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.nh-collection-item {
  background: var(--off-white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 14px;
}
.nh-collection-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.nh-collection-item__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Admin form: work type checkboxes ---------- */
.nh-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.nh-checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  user-select: none;
}
.nh-checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

/* ---------- Segmented control (radio group styled as pill buttons,
   e.g. Work Location Type) ---------- */
.nh-segmented {
  display: inline-flex;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
}
.nh-segmented__option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  border-right: 1.5px solid var(--gray-300);
}
.nh-segmented__option:last-child { border-right: none; }
.nh-segmented__option input { display: none; }
.nh-segmented__option:hover { background: var(--gray-100); }
.nh-segmented__option--active {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Star rating (e.g. feedback survey experience rating) ---------- */
.nh-star-rating { display: flex; gap: 4px; }
.nh-star-rating__star {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray-300);
  padding: 2px;
  transition: var(--transition);
}
.nh-star-rating__star:hover { color: var(--blue); }
.nh-star-rating__star--filled { color: var(--navy); }
/* Read-only display (e.g. Admin/SurveyFeedback.razor's response cards) —
   plain, non-interactive spans reusing the same star glyph styling. */
.nh-star-rating--readonly .nh-star-rating__star { cursor: default; padding: 0; font-size: 1.1rem; }
.nh-star-rating--readonly .nh-star-rating__star:hover { color: var(--gray-300); }
.nh-star-rating--readonly .nh-star-rating__star--filled,
.nh-star-rating--readonly .nh-star-rating__star--filled:hover { color: var(--navy); }

/* ---------- Meter row (horizontal magnitude bar — e.g. Admin/SurveyFeedback's
   per-answer distribution panels). Single navy hue: each row is already
   text-labeled, so color only ever encodes magnitude here, never identity. ---------- */
.nh-meter-row { display: flex; align-items: center; gap: 12px; }
.nh-meter-row + .nh-meter-row { margin-top: 12px; }
.nh-meter-row__label { flex: 0 0 132px; font-size: .85rem; font-weight: 600; color: var(--gray-900); }
.nh-meter-row__track { flex: 1; height: 10px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.nh-meter-row__fill { height: 100%; background: var(--navy); border-radius: 999px; transition: var(--transition); }
.nh-meter-row__value { flex: 0 0 auto; min-width: 80px; text-align: right; font-size: .8rem; color: var(--gray-600); }

/* ---------- Form group header row (label + inline control, e.g. Work Area
   Preference's "Open to anywhere" toggle) ---------- */
.nh-form-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* ---------- Toggle switch (e.g. "Open to anywhere") ---------- */
.nh-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  user-select: none;
}
.nh-toggle input { display: none; }
.nh-toggle__track {
  position: relative;
  width: 36px;
  height: 20px;
  background: var(--gray-300);
  border-radius: 50px;
  transition: var(--transition);
  flex-shrink: 0;
}
.nh-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.nh-toggle input:checked + .nh-toggle__track { background: var(--color-cyan-500); }
.nh-toggle input:checked + .nh-toggle__track .nh-toggle__thumb { transform: translateX(16px); }

/* ---------- Chip grid (multi-select toggle chips, e.g. Work Area cities) ---------- */
.nh-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  transition: opacity .15s ease;
}
.nh-chip-grid--disabled { opacity: .45; pointer-events: none; }
.nh-chip-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: var(--transition);
}
.nh-chip-toggle input { display: none; }
.nh-chip-toggle:hover { border-color: var(--color-cyan-500); color: var(--color-cyan-600); }
.nh-chip-toggle--active {
  background: var(--color-cyan-100);
  border-color: var(--color-cyan-500);
  color: var(--color-cyan-900);
}
.nh-chip-toggle--disabled { cursor: not-allowed; opacity: .5; }

/* ---------- Legal declaration callout (e.g. Right to Work confirmation) ---------- */
.nh-declaration {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--color-cyan-100);
  border: 1px solid var(--color-cyan-500);
  border-radius: var(--radius);
}
.nh-declaration__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-cyan-900);
  cursor: pointer;
}
.nh-declaration__row input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ============================================================
   LOGIN HERO — split layout (Index page)
   ============================================================ */
.nh-login-hero {
  min-height: calc(100vh - var(--nav-height));
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 58%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  padding: 72px 32px;
  position: relative;
  overflow: hidden;
}
/* dot-grid texture */
.nh-login-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(1,197,197,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* ambient glow top-right */
.nh-login-hero::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -8%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,197,197,.11) 0%, transparent 65%);
  pointer-events: none;
}
.nh-login-hero__inner {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 340px 1fr 380px;
  grid-template-rows: auto auto;
  column-gap: 48px;
  row-gap: 40px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.nh-login-hero__visual { grid-column: 1; grid-row: 1 / 3; align-self: center; }

.nh-login-hero__pitch--pro { grid-column: 2; grid-row: 1; }
.nh-login-hero__pitch--employer {
  grid-column: 2;
  grid-row: 2;
  position: relative;
}
/* Divider drawn as a pseudo-element above the block instead of padding, so it
   doesn't add extra box height that would unbalance this row's vertical centering
   against its paired sign-in card. */
.nh-login-hero__pitch--employer::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.nh-login-hero__pro-card      { grid-column: 3; grid-row: 1; }
.nh-login-hero__employer-card { grid-column: 3; grid-row: 2; }

/* — Middle pitch columns — */
.nh-login-hero__eyebrow {
  display: inline-block;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
  background: rgba(1,197,197,.12);
  border: 1px solid rgba(1,197,197,.25);
  padding: 5px 16px;
  border-radius: 50px;
}
.nh-login-hero__h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.nh-login-hero__h1 span { color: var(--green); }
.nh-login-hero__sub {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 440px;
}
.nh-login-hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.nh-login-hero__bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 400;
}
.nh-login-hero__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(1,197,197,.15);
  border: 1.5px solid rgba(1,197,197,.35);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nh-login-hero__check svg { width: 13px; height: 13px; }

/* — Right card — */
.nh-login-card {
  background: var(--white);
  border-radius: 24px;
  padding: 52px 44px;
  box-shadow: 0 32px 80px rgba(4,36,61,.36);
  text-align: center;
}
.nh-login-card__logo {
  height: 44px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}
.nh-login-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.nh-login-card__sub {
  font-size: .9rem;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 28px;
}
.nh-login-card__actions { margin-bottom: 16px; }
.nh-login-card__actions .btn {
  width: 100%;
  justify-content: center;
  font-size: .97rem;
  padding: 14px 28px;
}
.nh-login-card__hint {
  font-size: .82rem;
  color: var(--gray-400);
  margin: 0;
}
.nh-login-card__hint a {
  color: var(--blue);
  font-weight: 600;
  transition: var(--transition);
}
.nh-login-card__hint a:hover { color: var(--navy); }
.nh-login-card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-300);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nh-login-card__divider::before,
.nh-login-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

/* — Responsive — */
@media (max-width: 960px) {
  .nh-login-hero { padding: 60px 24px; }
  .nh-login-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 16px;
    max-width: 460px;
  }
  .nh-login-hero__visual,
  .nh-login-hero__pitch--employer,
  .nh-login-hero__pitch--pro { display: none; }
  .nh-login-hero__pro-card      { grid-column: 1; grid-row: 1; }
  .nh-login-hero__employer-card { grid-column: 1; grid-row: 2; }
}
@media (max-width: 520px) {
  .nh-login-card { padding: 40px 28px; }
}

/* ============================================================
   NAVBAR — tighter credit badge
   ============================================================ */
.nh-navbar__credits {
  font-size: .82rem;
}

/* ============================================================
   CANDIDATE TILES — stronger unlocked accent
   ============================================================ */
.nh-candidate-tile--unlocked {
  border-left: 3px solid var(--green);
  background: linear-gradient(to right, rgba(1,197,197,.04), var(--white) 20%);
}

/* ============================================================
   FEATURE CARD — stronger hover gradient bar
   ============================================================ */
.nh-feature-card::before {
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--green));
}

/* ============================================================
   FOOTER — multi-column layout
   ============================================================ */
.nh-footer__grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}
.nh-footer__brand-col {}
.nh-footer__brand-col .nh-footer__logo { height: 34px; margin-bottom: 12px; }
.nh-footer__brand-col p {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin-top: 8px;
  max-width: 240px;
}
.nh-footer__col-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 14px;
}
.nh-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.nh-footer__col-links a {
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.nh-footer__col-links a:hover { color: var(--green); }

@media (max-width: 900px) {
  .nh-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .nh-footer__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .nh-footer__grid { grid-template-columns: 1fr; }
  .nh-footer__brand-col { grid-column: auto; }
}

/* ============================================================
   UNLOCK-CARD VISUAL — animated card stack on the login hero
   ============================================================ */
.nh-unlock-stack {
  position: relative;
  margin-bottom: 28px;
  min-height: 210px;
}
.nh-unlock-glow {
  position: absolute;
  inset: -20px -20px auto -20px;
  height: 240px;
  background: radial-gradient(circle, rgba(1,197,197,.28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .nh-unlock-glow { animation: nh-unlock-glow-pulse 4s ease-in-out infinite; }
}
@keyframes nh-unlock-glow-pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}
.nh-unlock-meter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50px;
  margin-bottom: 16px;
  background: rgba(255,255,255,.04);
}
.nh-unlock-meter strong { color: var(--green); font-weight: 600; }
.nh-unlock-cards {
  position: relative;
  height: 190px;
}
.nh-unlock-card {
  position: absolute;
  inset: 0 0 auto 0;
  top: calc(var(--i) * 14px);
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 45px -12px rgba(2,24,38,.55);
  padding: 20px 22px;
  color: var(--gray-900);
  transform: scale(calc(1 - var(--i) * 0.045));
  transform-origin: top center;
  z-index: calc(10 - var(--i));
  transition: transform .6s var(--transition), opacity .6s ease, top .6s ease;
}
.nh-unlock-card.is-leaving {
  transform: translateY(-18px) scale(calc(1 - var(--i) * 0.045));
  opacity: 0;
}
/* Continuous ambient bob so the stack never reads as static between the
   discrete unlock/shuffle transitions above — uses the independent `translate`
   property (not `transform`) so it composes with the --i-driven scale instead
   of overriding it. Paused during is-unlocking/is-leaving so it doesn't fight
   the primary transition on the card that's actively mid-shuffle. */
@media (prefers-reduced-motion: no-preference) {
  .nh-unlock-card {
    animation: nh-unlock-card-idle 3.6s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.2s);
  }
  .nh-unlock-card.is-unlocking,
  .nh-unlock-card.is-leaving {
    animation-play-state: paused;
  }
}
@keyframes nh-unlock-card-idle {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -4px; }
}
.nh-unlock-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nh-unlock-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nh-unlock-card__id { flex: 1; min-width: 0; }
.nh-unlock-name { position: relative; font-weight: 600; font-size: .95rem; height: 1.3em; overflow: hidden; }
.nh-unlock-name span {
  position: absolute; inset: 0;
  transition: opacity .5s ease, transform .5s ease;
}
.nh-unlock-name .locked { opacity: 1; transform: translateY(0); letter-spacing: .12em; color: var(--gray-300); }
.nh-unlock-name .real { opacity: 0; transform: translateY(6px); color: var(--navy); }
.nh-unlock-card.is-unlocking .nh-unlock-name .locked { opacity: 0; transform: translateY(-6px); }
.nh-unlock-card.is-unlocking .nh-unlock-name .real { opacity: 1; transform: translateY(0); }
.nh-unlock-role { font-size: .78rem; color: var(--gray-600); margin-top: 1px; }
.nh-unlock-badge {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: background-color .4s ease, color .4s ease;
  flex-shrink: 0;
}
.nh-unlock-card.is-unlocking .nh-unlock-badge {
  background: var(--color-cyan-100);
  color: var(--color-cyan-900);
}
.nh-unlock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.nh-unlock-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-300);
  font-size: .74rem;
  color: var(--gray-600);
}
.nh-unlock-footer .credit { color: var(--green-dark); font-weight: 600; }
.nh-unlock-card.is-unlocking .nh-unlock-footer .credit::before { content: '\2713\00A0'; }

@media (max-width: 520px) {
  .nh-unlock-tags { display: none; }
  .nh-unlock-card { padding: 16px 18px; }
  .nh-unlock-cards { height: 150px; }
}

/* ============================================================
   DASHBOARDS — stat tiles, progress, hero card, business logos
   ============================================================ */
.nh-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.nh-stat-tile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.nh-stat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1,197,197,.35);
}
.nh-stat-tile__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nh-stat-tile__icon svg { width: 22px; height: 22px; }
.nh-stat-tile__icon--navy    { background: rgba(4,36,61,.08);    color: var(--navy); }
.nh-stat-tile__icon--blue    { background: rgba(12,62,94,.10);   color: var(--blue); }
.nh-stat-tile__icon--cyan    { background: rgba(1,197,197,.14);  color: var(--green-dark); }
.nh-stat-tile__icon--success { background: rgba(22,163,74,.12);  color: var(--color-success); }
.nh-stat-tile__body { flex: 1; min-width: 0; }
.nh-stat-tile__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}
.nh-stat-tile__label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-top: 5px;
}
.nh-stat-tile__sub {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.nh-progress-wrap { margin-top: 20px; margin-bottom: 36px; }
.nh-progress-wrap__labels {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.nh-progress-wrap__labels strong { color: var(--navy); }
.nh-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
}
.nh-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width .5s var(--transition);
}

.nh-dash-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nh-dash-hero__id { flex: 1; min-width: 220px; }
.nh-dash-hero__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.nh-dash-hero__desc {
  font-size: .92rem;
  color: var(--gray-600);
  margin-top: 6px;
  max-width: 60ch;
}
.nh-dash-hero__contact {
  font-size: .84rem;
  color: var(--gray-400);
  margin-top: 8px;
}

.nh-dash-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 36px;
}
.nh-dash-section { margin-top: 0; }
.nh-dash-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nh-dash-section__head h3 {
  color: var(--navy);
  font-size: 1.1rem;
}

.nh-activity-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 6px 20px;
}
.nh-activity-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.nh-activity-row:last-child { border-bottom: none; }
.nh-activity-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(1,197,197,.14);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.nh-activity-row__icon svg { width: 16px; height: 16px; }
.nh-activity-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: .9rem;
  color: var(--gray-600);
}
.nh-activity-row strong { color: var(--navy); }
.nh-activity-row a { color: var(--blue); font-weight: 600; }
.nh-activity-row a:hover { color: var(--navy); }
.nh-activity-row__time {
  font-size: .78rem;
  color: var(--gray-400);
}

@media (max-width: 960px) {
  .nh-dash-grid-2col { grid-template-columns: 1fr; gap: 36px; }
}

.nh-biz-logo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.nh-biz-logo--sm { width: 28px; height: 28px; border-radius: 6px; }
.nh-biz-avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nh-biz-avatar--sm { width: 28px; height: 28px; border-radius: 6px; font-size: .7rem; }
.nh-biz-cell { display: flex; align-items: center; gap: 10px; }

.nh-logo-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.nh-logo-preview img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .nh-dash-hero { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   APPROVAL STATUS — badges + status banner (self-service job-seeker flow)
   ============================================================ */
.nh-badge--draft     { background: rgba(37,99,235,.10);  color: var(--color-info); }
.nh-badge--submitted { background: rgba(245,158,11,.12); color: var(--color-warning); }
.nh-badge--inreview  { background: rgba(1,143,143,.12);  color: var(--color-cyan-600); }
.nh-badge--pendingagreement { background: rgba(245,158,11,.12); color: var(--color-warning); }
.nh-badge--published { background: rgba(22,163,74,.12);  color: var(--color-success); }
/* Still used by the unrelated Right to Work review flag badge, even though
   ApprovalStatus itself no longer has a "Rejected" state. */
.nh-badge--rejected { background: rgba(220,38,38,.12);  color: var(--color-error); }
.nh-badge--underinvestigation { background: rgba(4,36,61,.10); color: var(--navy); }

.nh-status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: .93rem;
  margin-bottom: 24px;
}
.nh-status-banner strong { flex-shrink: 0; }
.nh-status-banner--draft {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.2);
  color: var(--color-info);
}
.nh-status-banner--submitted {
  background: rgba(245,158,11,.08);
  border-color: rgba(245,158,11,.25);
  color: var(--color-warning);
}
.nh-status-banner--inreview {
  background: rgba(1,143,143,.08);
  border-color: rgba(1,143,143,.25);
  color: var(--color-cyan-600);
}
.nh-status-banner--pendingagreement {
  background: rgba(245,158,11,.08);
  border-color: rgba(245,158,11,.25);
  color: var(--color-warning);
}
.nh-status-banner--published {
  background: rgba(22,163,74,.08);
  border-color: rgba(22,163,74,.25);
  color: var(--color-success);
}
.nh-status-banner--underinvestigation {
  background: rgba(4,36,61,.06);
  border-color: rgba(4,36,61,.2);
  color: var(--navy);
}
.nh-status-banner span { color: var(--gray-900); font-weight: 400; }

/* ============================================================
   AUTHENTICATED APP SHELL — sidebar + top bar
   Distinct class namespace from the anonymous .nh-navbar/.nh-page shell —
   no collision risk, both can coexist in the same stylesheet.
   ============================================================ */
.nh-app-shell { display: flex; min-height: 100vh; }

.nh-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 1000;
  overflow-y: auto;
}
.nh-sidebar__brand {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.nh-sidebar__brand-icon { height: 30px; width: auto; display: block; }
.nh-sidebar__brand-text { font-weight: 800; font-size: 1.05rem; color: var(--white); }
.nh-sidebar__nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nh-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  font-weight: 600;
  transition: var(--transition);
}
.nh-sidebar__link:hover { background: rgba(255,255,255,.06); color: var(--white); }
.nh-sidebar__link.active { background: rgba(1,197,197,.16); color: var(--green); }
.nh-sidebar__link svg { width: 18px; height: 18px; flex-shrink: 0; }

.nh-sidebar__collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  background: none;
  border: none;
  border-radius: var(--radius);
  color: rgba(255,255,255,.72);
  cursor: pointer;
  flex-shrink: 0;
}
.nh-sidebar__collapse-toggle:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nh-sidebar__collapse-toggle svg { width: 18px; height: 18px; transition: transform var(--transition); }

/* — Desktop: collapse to an icon-only rail — hidden text, hover for a native
   title tooltip instead. Scoped to desktop only; mobile keeps its existing
   full-width off-canvas drawer (collapsing that too would leave a sliver of
   icons permanently on-screen on a phone, which isn't what was asked for). */
@media (min-width: 769px) {
  .nh-sidebar--collapsed { width: var(--sidebar-width-collapsed); }
  .nh-sidebar--collapsed ~ .nh-app-main { margin-left: var(--sidebar-width-collapsed); }
  .nh-sidebar--collapsed .nh-sidebar__brand { padding: 20px; justify-content: center; }
  .nh-sidebar--collapsed .nh-sidebar__brand-text,
  .nh-sidebar--collapsed .nh-sidebar__link-text { display: none; }
  .nh-sidebar--collapsed .nh-sidebar__link { justify-content: center; padding: 10px; }
  .nh-sidebar--collapsed .nh-sidebar__collapse-toggle { margin: 0; }
  .nh-sidebar--collapsed .nh-sidebar__collapse-toggle svg { transform: rotate(180deg); }
}

.nh-app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.nh-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.nh-topbar__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  margin-right: auto;
}
.nh-topbar__hamburger svg { width: 22px; height: 22px; }
.nh-topbar__actions { display: flex; align-items: center; gap: 16px; }
.nh-topbar__credits {
  font-size: .84rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(1,197,197,.14);
  border: 1px solid rgba(1,197,197,.3);
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.nh-topbar__user { font-size: .88rem; font-weight: 600; color: var(--gray-900); }
.nh-topbar__signout { font-size: .88rem; font-weight: 600; color: var(--blue); }
.nh-topbar__signout:hover { color: var(--navy); }

.nh-app-content { flex: 1; }
.nh-sidebar-backdrop { display: none; }

/* — Mobile: sidebar becomes an off-canvas drawer — */
@media (max-width: 768px) {
  .nh-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition);
  }
  .nh-sidebar--open { transform: translateX(0); }
  .nh-app-main { margin-left: 0; }
  .nh-topbar { padding: 0 16px; }
  .nh-topbar__hamburger { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
  .nh-topbar__user { display: none; }
  .nh-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2,24,38,.5);
    z-index: 990;
  }
}

/* ============================================================
   TREND CHARTS — self-contained SVG line/area charts (no JS lib)
   Single-series magnitude-over-time. Mark specs: 2px line, ~12%
   opacity area wash, hairline gridlines, 8px ringed dots.
   ============================================================ */
.nh-trend-chart {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.nh-trend-chart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.nh-trend-chart__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.nh-trend-chart__total { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.nh-trend-chart__svg { width: 100%; height: 180px; display: block; overflow: visible; }
.nh-trend-chart__grid { stroke: var(--gray-100); stroke-width: 1; }
.nh-trend-chart__area { opacity: .12; }
.nh-trend-chart__line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.nh-trend-chart__dot { stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke; }
.nh-trend-chart__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: .74rem;
  color: var(--gray-400);
}

.nh-trend-chart--compact {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.nh-trend-chart--compact .nh-trend-chart__svg { height: 34px; }

/* Mini KPI-with-sparkline card (admin dashboard secondary stats). The card is
   stretched by the grid to match the tall hero chart's height, so the block is
   centered vertically and the sparkline is given a fixed, moderate height —
   NOT stretched to fill — since a large non-uniform SVG viewBox scale distorts
   the line's stroke width on near-flat segments (preserveAspectRatio="none"). */
.nh-mini-chart-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.nh-mini-chart-card__value { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.nh-mini-chart-card__label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.nh-mini-chart-card .nh-trend-chart--compact .nh-trend-chart__svg {
  height: 90px;
}

.nh-dash-charts {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  margin-bottom: 36px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .nh-dash-charts { grid-template-columns: 1fr; }
}

/* ---------- Favourite Heart Icon ---------- */
.nh-fav-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.nh-fav-icon:hover { background: rgba(1,197,197,.14); color: var(--green-dark); }
.nh-fav-icon--active { background: rgba(1,197,197,.16); color: var(--green-dark); }
.nh-fav-icon--lg { width: 38px; height: 38px; font-size: 1.3rem; }

/* ---------- Remove-from-group Icon ---------- */
.nh-remove-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.nh-remove-icon:hover { background: rgba(220,38,38,.12); color: var(--color-error); }

/* ---------- Role Group Cards ---------- */
.nh-rolegroup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nh-rolegroup-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
}
.nh-rolegroup-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1,197,197,.4);
}
.nh-rolegroup-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nh-rolegroup-card__name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.nh-rolegroup-card__desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nh-rolegroup-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-300);
  font-size: .8rem;
  color: var(--gray-600);
}
.nh-rolegroup-card__count { font-weight: 600; color: var(--navy); }

.nh-rolegroup-badge--open    { background: rgba(22,163,74,.12);  color: var(--color-success); }
.nh-rolegroup-badge--onhold  { background: rgba(245,158,11,.12); color: var(--color-warning); }
.nh-rolegroup-badge--closed  { background: rgba(75,85,99,.10);   color: var(--gray-600); }

/* ---------- Ticket Badges ---------- */
.nh-ticket-badge--open        { background: rgba(37,99,235,.10);  color: var(--color-info); }
.nh-ticket-badge--inprogress  { background: rgba(245,158,11,.12); color: var(--color-warning); }
.nh-ticket-badge--waiting     { background: rgba(245,158,11,.12); color: var(--color-warning); }
.nh-ticket-badge--resolved    { background: rgba(22,163,74,.12);  color: var(--color-success); }
.nh-ticket-badge--closed      { background: rgba(75,85,99,.10);   color: var(--gray-600); }

/* ---------- Ticket Thread ---------- */
.nh-ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.nh-ticket-message {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}
.nh-ticket-message--internal {
  background: rgba(245,158,11,.06);
  border-color: rgba(245,158,11,.3);
}
.nh-ticket-message__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .82rem;
  color: var(--gray-600);
}
.nh-ticket-message p {
  margin: 0;
  color: var(--gray-900);
  white-space: pre-wrap;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .nh-rolegroup-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nh-rolegroup-grid { grid-template-columns: 1fr; }
}

/* ---------- Role Group Picker Modal ---------- */
.nh-rolegroup-picker { max-width: 480px; }
.nh-rolegroup-picker__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 16px;
}
.nh-rolegroup-picker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.nh-rolegroup-picker__item:hover { background: var(--gray-100); }
.nh-rolegroup-picker__item input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; }
.nh-rolegroup-picker__item-name { flex: 1; min-width: 0; font-weight: 600; color: var(--gray-900); }
.nh-rolegroup-picker__empty { font-size: .88rem; color: var(--gray-600); margin-bottom: 16px; }
.nh-rolegroup-picker__create {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-300);
}
.nh-rolegroup-picker__create .nh-form-input { flex: 1; }

/* ---------- Profile Tabs (Account / Profile) ---------- */
.nh-profile-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-300);
}
.nh-profile-tabs__btn {
  padding: 10px 20px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--gray-600);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  margin-bottom: -1px;
}
.nh-profile-tabs__btn:hover { color: var(--navy); }
.nh-profile-tabs__btn--active {
  color: var(--navy);
  border-bottom-color: var(--green);
}

/* ---------- Wide admin form container (pages using CandidateFormFields tabs) ---------- */
.nh-admin-form-body--wide { max-width: 1100px; }
.nh-admin-form-card--narrow { max-width: 760px; margin: 0 auto; }

/* ---------- Profile Tab: floating section nav + content ---------- */
.nh-profile-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.nh-profile-nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nh-profile-nav__link {
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: .87rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: var(--transition);
  border-left: 2px solid transparent;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.nh-profile-nav__link:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.nh-profile-layout section { scroll-margin-top: calc(var(--nav-height) + 24px); }

@media (max-width: 900px) {
  .nh-profile-layout { grid-template-columns: 1fr; }
  .nh-profile-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }
  .nh-profile-nav__link { border-left: none; border-bottom: 2px solid transparent; }
}

/* ---------- Form action rows centered under a card (Account / Profile tabs) ---------- */
.nh-form-actions--narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.nh-form-actions--profile {
  justify-content: center;
}
@media (min-width: 901px) {
  .nh-form-actions--profile { margin-left: calc(200px + 32px); }
}

/* ---------- Profile Picture Upload ---------- */
.nh-photo-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.nh-photo-upload__preview {
  width: 96px; height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px dashed var(--gray-300);
}
.nh-photo-upload__preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nh-photo-upload__initials {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}
.nh-photo-upload__controls { display: flex; flex-direction: column; gap: 8px; max-width: 360px; }

/* Unlocked candidate detail header — photo variant of the initials circle */
.nh-detail-card__avatar--photo {
  object-fit: cover;
  padding: 0;
}

/* ---------- Get Vetted wizard ---------- */
.nh-getvetted-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) {
  .nh-getvetted-layout { grid-template-columns: 1fr; }
}

.nh-stepper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 10px;
  position: sticky;
  top: 20px;
}
.nh-stepper__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 10px;
  border: none;
  background: none;
  border-radius: var(--radius);
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
}
.nh-stepper__item:hover { background: var(--off-white); }
.nh-stepper__item--active { background: var(--off-white); color: var(--navy); }

.nh-stepper__circle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  box-sizing: border-box;
}
.nh-stepper__circle--draft {
  border-color: var(--blue);
  background: linear-gradient(to right, var(--blue) 50%, transparent 50%);
}
.nh-stepper__circle--complete {
  border-color: var(--color-success);
  background: var(--color-success);
}

/* ---------- Month + year picker ---------- */
.nh-monthyear { display: flex; gap: 10px; }
.nh-monthyear__month { flex: 1.4; }
.nh-monthyear__year { flex: 1; }

/* ---------- Repeatable item list (Add-then-log pattern) ---------- */
.nh-repeatable__editor {
  background: var(--off-white);
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.nh-repeatable__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.nh-repeatable__log { display: flex; flex-direction: column; }

/* ---------- Tooltip ---------- */
.nh-tooltip { position: relative; display: inline-flex; margin-left: 6px; }
.nh-tooltip__icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}
.nh-tooltip__popup {
  display: none;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: var(--radius);
  width: 220px;
  z-index: 10;
}
.nh-tooltip:hover .nh-tooltip__popup,
.nh-tooltip:focus-within .nh-tooltip__popup { display: block; }

/* ---------- Skills tag-picker ---------- */
.nh-tag-input { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.nh-tag--removable { display: inline-flex; align-items: center; gap: 6px; }
.nh-tag--removable button {
  border: none;
  background: none;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.nh-suggest-list {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  margin-top: 4px;
  overflow: hidden;
}
.nh-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: var(--white);
  font-size: .88rem;
  cursor: pointer;
}
.nh-suggest-item:hover { background: var(--off-white); }
.nh-form-hint--error { color: var(--color-error); }

/* Preserves line breaks / dot-points typed into a multi-line field wherever
   its saved value is displayed read-only — a plain <p>/<div> otherwise
   collapses newlines like any other HTML whitespace. */
.nh-preserve-whitespace { white-space: pre-wrap; }

/* ---------- Get Vetted holding page ---------- */
.nh-holding-card {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
