:root {
  --ink: #0f1b3f;
  --muted: #5d6f9e;
  --accent: #3f66c7;
  --ok: #138754;
  --warn: #b78103;
  --bad: #b42318;
  --chip: #eef2ff;
  --panel: #ffffff;
  --bg: #f4f6ff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 14px 28px rgba(15, 27, 63, 0.15);
}

.c-focus-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.candidates-enhanced a:focus-visible,
.candidates-enhanced button:focus-visible,
.candidates-enhanced input:focus-visible,
.candidates-enhanced select:focus-visible,
.candidates-enhanced textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.c-preview {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(15, 27, 63, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.95rem;
}

@media (min-width: 992px) {
  #previewSection .c-preview {
    position: sticky;
    top: 112px;
    max-height: calc(100vh - 128px);
    overflow: auto;
  }
}

.c-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.c-preview__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(63, 102, 199, 0.12);
  color: var(--accent);
  font-weight: 600;
  padding: 4px 10px;
  font-size: 0.82rem;
}

.c-preview__copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(15, 27, 63, 0.12);
  border-radius: 999px;
  padding: 4px 12px;
  background: #f8f9ff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.c-preview__copy:hover,
.c-preview__copy:focus-visible {
  background: var(--accent);
  color: #fff;
}

.c-preview__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .c-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.c-preview__section {
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 14px 16px;
  min-height: 120px;
}

.c-preview__section h3 {
  font-size: 0.95rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.c-preview__meta {
  display: grid;
  gap: 10px;
}

.c-preview__row {
  margin: 0;
  line-height: 1.5;
}

.c-preview__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-preview__empty {
  color: var(--muted);
  font-style: italic;
}

.c-preview__pdf {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(15, 27, 63, 0.18);
  background: #fff;
  max-height: 180px;
  overflow: auto;
  font-size: 0.85rem;
  line-height: 1.5;
}

.c-preview__notice {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.c-preview__file {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-top: 8px;
}

.c-preview__file svg {
  flex-shrink: 0;
}

.c-strength {
  position: relative;
  background: var(--bg);
  border: 1px solid rgba(15, 27, 63, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: grid;
  gap: 10px;
}

.c-strength__bar {
  height: 10px;
  background: #dbe2ff;
  border-radius: 999px;
  overflow: hidden;
}

.c-strength__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .c-strength__bar span {
    transition: none;
  }
}

.c-strength__label {
  font-weight: 600;
  color: var(--ink);
}

.c-strength__tier {
  font-size: 0.85rem;
  color: var(--muted);
}

.c-strength[data-tier="good"] .c-strength__bar span {
  background: var(--accent);
}

.c-strength[data-tier="strong"] .c-strength__bar span {
  background: #2f7d8a;
}

.c-strength[data-tier="outstanding"] .c-strength__bar span {
  background: var(--ok);
}

.c-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  max-width: 320px;
}

.c-toast--show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .c-toast {
    transition: none;
  }
}

.c-toast button {
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 600;
  cursor: pointer;
}

.c-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chip);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  line-height: 1;
}

.c-chip button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  color: inherit;
}

.c-skillBox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(15, 27, 63, 0.16);
  border-radius: var(--radius-md);
  background: #fff;
}

.c-skillBox input {
  flex: 1 1 160px;
  min-width: 140px;
  border: 0;
  outline: 0;
  font: inherit;
  padding: 4px;
}

.c-skillHints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.c-skillHints button {
  border: 1px solid rgba(15, 27, 63, 0.16);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.candidate-portal-shell {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
}

.candidate-portal-card,
.candidate-dashboard-card,
.candidate-dashboard-hero {
  border: 1px solid rgba(15, 27, 63, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 27, 63, 0.09);
}

.candidate-portal-card {
  padding: 24px;
}

.candidate-portal-card--tint {
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(63, 102, 199, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(240, 244, 255, 0.92));
}

.candidate-portal-card--muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.92));
}

.candidate-portal-card--secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.96));
}

.candidate-portal-card--loading {
  min-height: 220px;
}

.candidate-portal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--muted);
}

.candidate-portal-card h2,
.candidate-dashboard-hero h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}

.candidate-portal-card p,
.candidate-dashboard-card p,
.candidate-dashboard-hero p,
.candidate-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.candidate-portal-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 14px;
}

.candidate-portal-tab,
.candidate-dashboard-nav__item {
  border: 1px solid rgba(15, 27, 63, 0.12);
  border-radius: 999px;
  background: #f8f9ff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.candidate-portal-tab:hover,
.candidate-dashboard-nav__item:hover {
  transform: translateY(-1px);
}

.candidate-portal-tab.is-active,
.candidate-dashboard-nav__item.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.candidate-portal-panel {
  display: none;
}

.candidate-portal-panel.is-active {
  display: block;
}

.candidate-portal-form,
.candidate-dashboard-form {
  display: grid;
  gap: 14px;
}

.candidate-portal-form label,
.candidate-dashboard-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.candidate-field-help {
  display: block;
  color: #516382;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

.candidate-field-help strong {
  color: var(--ink);
  font-weight: 800;
}

.candidate-mode-selector {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.candidate-mode-selector legend {
  padding: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.candidate-mode-option {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 27, 63, 0.12);
  border-radius: 16px;
  background: #f8f9ff;
}

.candidate-mode-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.candidate-mode-option span {
  display: grid;
  gap: 4px;
}

.candidate-mode-option strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.4;
}

.candidate-mode-option__accent {
  display: inline-block;
  margin-left: 2px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(47, 84, 179, 0.14);
  color: #183c92;
  box-shadow: inset 0 0 0 1px rgba(47, 84, 179, 0.12);
}

.candidate-mode-option small {
  color: #516382;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

.candidate-portal-form input,
.candidate-dashboard-form input,
.candidate-dashboard-form select,
.candidate-dashboard-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 27, 63, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.candidate-dashboard-form textarea {
  min-height: 140px;
  resize: vertical;
}

.candidate-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(63, 102, 199, 0.18), rgba(63, 102, 199, 0.08)), #fff;
  color: var(--accent);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.candidate-portal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(63, 102, 199, 0.16);
}

.candidate-portal-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.candidate-portal-btn--ghost,
.candidate-portal-btn--subtle {
  background: #f8f9ff;
  border-color: rgba(15, 27, 63, 0.12);
  color: var(--ink);
}

.candidate-portal-btn--danger {
  background: rgba(180, 35, 24, 0.08);
  border-color: rgba(180, 35, 24, 0.2);
  color: var(--bad);
}

.candidate-portal-btn--verified {
  background: rgba(19, 135, 84, 0.12);
  border-color: rgba(19, 135, 84, 0.24);
  color: var(--ok);
}

.candidate-portal-btn--pending {
  background: rgba(183, 129, 3, 0.12);
  border-color: rgba(183, 129, 3, 0.24);
  color: var(--warn);
}

.candidate-portal-btn--required {
  background: rgba(180, 35, 24, 0.08);
  border-color: rgba(180, 35, 24, 0.2);
  color: var(--bad);
}

.candidate-portal-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.candidate-portal-note--strong {
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 700;
}

.candidate-portal-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.candidate-portal-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 27, 63, 0.08);
  color: var(--ink);
  font-weight: 600;
}

.candidate-portal-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.candidate-portal-alert--success {
  background: rgba(19, 135, 84, 0.12);
  color: var(--ok);
  border: 1px solid rgba(19, 135, 84, 0.22);
}

.candidate-portal-alert--warn {
  background: rgba(183, 129, 3, 0.12);
  color: var(--warn);
  border: 1px solid rgba(183, 129, 3, 0.22);
}

.candidate-portal-alert--error {
  background: rgba(180, 35, 24, 0.12);
  color: var(--bad);
  border: 1px solid rgba(180, 35, 24, 0.22);
}

.candidate-portal-alert--info {
  background: rgba(57, 86, 153, 0.12);
  color: var(--brand);
  border: 1px solid rgba(57, 86, 153, 0.18);
}

.candidate-dashboard-shell {
  display: grid;
  gap: 18px;
}

.candidate-dashboard-shell--loading {
  min-height: 420px;
}

.candidate-dashboard-skeleton-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 240px minmax(0, 1fr);
}

.candidate-dashboard-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(15, 27, 63, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.94));
  min-height: 140px;
}

.candidate-dashboard-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: candidate-skeleton-shimmer 1.25s ease-in-out infinite;
}

.candidate-dashboard-skeleton--hero {
  min-height: 156px;
}

.candidate-dashboard-skeleton--nav {
  min-height: 260px;
}

.candidate-dashboard-skeleton--panel {
  min-height: 320px;
}

@keyframes candidate-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.candidate-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(640px 240px at 0% 0%, rgba(63, 102, 199, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 255, 0.94));
}

.candidate-dashboard-hero__copy {
  display: grid;
  gap: 10px;
}

.candidate-dashboard-hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.candidate-hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 27, 63, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.candidate-dashboard-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.candidate-dashboard-stat {
  display: inline-grid;
  gap: 4px;
  min-width: 112px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 27, 63, 0.08);
  background: #fff;
  text-align: center;
}

.candidate-dashboard-stat strong {
  color: var(--ink);
  font-size: 1.4rem;
}

.candidate-dashboard-stat span {
  color: var(--muted);
  font-weight: 700;
}

.candidate-dashboard-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 240px minmax(0, 1fr);
}

.candidate-dashboard-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.candidate-dashboard-nav__item {
  width: 100%;
  text-align: left;
}

.candidate-dashboard-content {
  min-width: 0;
}

.candidate-dashboard-pane {
  display: none;
}

.candidate-dashboard-pane.is-active {
  display: block;
}

.candidate-dashboard-card {
  padding: 24px;
}

.candidate-dashboard-card--danger {
  border-color: rgba(180, 35, 24, 0.14);
}

.candidate-inline-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 27, 63, 0.08);
  background: rgba(244, 247, 255, 0.9);
}

.candidate-inline-panel--subtle {
  background: rgba(248, 250, 255, 0.96);
}

.candidate-inline-panel--priority {
  border-color: rgba(47, 92, 197, 0.18);
  background: linear-gradient(135deg, rgba(47, 92, 197, 0.12), rgba(248, 250, 255, 0.96));
}

.candidate-inline-panel--compact {
  margin-bottom: 0;
  padding: 12px 14px;
}

.candidate-inline-panel strong {
  color: var(--ink);
}

.candidate-inline-panel p {
  color: var(--muted);
}

.candidate-checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.candidate-checklist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 27, 63, 0.08);
}

.candidate-checklist li strong {
  font-size: 0.88rem;
}

.candidate-checklist li.is-verified {
  border-color: rgba(19, 135, 84, 0.22);
  background: rgba(19, 135, 84, 0.08);
}

.candidate-checklist li.is-verified strong {
  color: #198754;
}

.candidate-checklist li.is-pending {
  border-color: rgba(183, 129, 3, 0.24);
  background: rgba(183, 129, 3, 0.08);
}

.candidate-checklist li.is-pending strong {
  color: #b05a00;
}

.candidate-checklist li.is-required {
  border-color: rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.06);
}

.candidate-checklist li.is-required strong {
  color: var(--bad);
}

.candidate-onboarding-banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(47, 92, 197, 0.14);
  background: linear-gradient(135deg, rgba(47, 92, 197, 0.1), rgba(255, 255, 255, 0.98));
}

.candidate-onboarding-banner--verified {
  border-color: rgba(19, 135, 84, 0.22);
  background: linear-gradient(135deg, rgba(19, 135, 84, 0.12), rgba(255, 255, 255, 0.98));
}

.candidate-onboarding-banner--pending {
  border-color: rgba(183, 129, 3, 0.24);
  background: linear-gradient(135deg, rgba(183, 129, 3, 0.12), rgba(255, 255, 255, 0.98));
}

.candidate-onboarding-banner--required {
  border-color: rgba(180, 35, 24, 0.2);
  background: linear-gradient(135deg, rgba(180, 35, 24, 0.08), rgba(255, 255, 255, 0.98));
}

.candidate-onboarding-banner h3 {
  margin: 0 0 6px;
  color: var(--ink);
}

.candidate-onboarding-banner p {
  margin: 0;
  color: var(--muted);
}

.candidate-onboarding-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.candidate-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(63, 102, 199, 0.12);
  overflow: hidden;
}

.candidate-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4a76d8, #2f5cc5);
}

.candidate-dashboard-card__head {
  margin-bottom: 18px;
}

.candidate-dashboard-card__head h3,
.candidate-empty-state h4,
.candidate-application-card h4,
.candidate-document-card h4 {
  margin: 0 0 6px;
  color: var(--ink);
}

.candidate-dashboard-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidate-dashboard-form__full,
.candidate-dashboard-actions {
  grid-column: 1 / -1;
}

.candidate-dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.candidate-dashboard-form__section-title {
  padding-top: 8px;
  color: #38538f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.candidate-dashboard-stack,
.candidate-dashboard-grid {
  display: grid;
  gap: 16px;
}

.candidate-status-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.candidate-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.candidate-signal-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 27, 63, 0.08);
  background: rgba(248, 250, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 27, 63, 0.06);
  position: relative;
  overflow: hidden;
}

.candidate-signal-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 18px 0 0 18px;
  background: rgba(47, 92, 197, 0.45);
}

.candidate-signal-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.candidate-signal-card--verified {
  border-color: rgba(19, 135, 84, 0.22);
  background: rgba(19, 135, 84, 0.1);
}

.candidate-signal-card--verified::before {
  background: rgba(19, 135, 84, 0.92);
}

.candidate-signal-card--pending {
  border-color: rgba(183, 129, 3, 0.24);
  background: rgba(183, 129, 3, 0.11);
}

.candidate-signal-card--pending::before {
  background: rgba(183, 129, 3, 0.92);
}

.candidate-signal-card--required {
  border-color: rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.09);
}

.candidate-signal-card--required::before {
  background: rgba(180, 35, 24, 0.92);
}

.candidate-payment-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.candidate-payment-summary__item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 27, 63, 0.08);
  background: rgba(248, 250, 255, 0.96);
}

.candidate-payment-summary__item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.candidate-payment-summary__item strong {
  color: var(--ink);
  font-size: 1rem;
}

.candidate-dashboard-grid--settings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidate-rtw-fieldset {
  display: grid;
  gap: 12px;
}

.candidate-rtw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.candidate-rtw-option {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 27, 63, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 700;
}

.candidate-rtw-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: var(--accent);
  box-shadow: none;
}

.candidate-rtw-other {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.candidate-rtw-other.is-hidden {
  display: none;
}

.candidate-application-card,
.candidate-document-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 27, 63, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.candidate-application-card__head,
.candidate-document-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.candidate-application-card__head p,
.candidate-document-card p {
  color: var(--muted);
  font-weight: 600;
}

.candidate-document-card__body {
  display: grid;
  gap: 6px;
}

.candidate-document-card__detail {
  margin: 4px 0 0;
  font-weight: 700;
}

.candidate-document-card--verified {
  border-color: rgba(19, 135, 84, 0.22);
  background: linear-gradient(180deg, rgba(19, 135, 84, 0.08), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 24px rgba(19, 135, 84, 0.08);
}

.candidate-document-card--pending {
  border-color: rgba(183, 129, 3, 0.24);
  background: linear-gradient(180deg, rgba(183, 129, 3, 0.08), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 24px rgba(183, 129, 3, 0.08);
}

.candidate-document-card--required {
  border-color: rgba(180, 35, 24, 0.2);
  background: linear-gradient(180deg, rgba(180, 35, 24, 0.06), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 24px rgba(180, 35, 24, 0.08);
}

.candidate-document-card__topline {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.candidate-application-meta,
.candidate-settings-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.candidate-application-meta div,
.candidate-settings-list div {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 27, 63, 0.08);
}

.candidate-application-meta dt,
.candidate-settings-list dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.candidate-application-meta dd,
.candidate-settings-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.candidate-application-note {
  margin: 0;
  color: var(--muted);
}

.candidate-status-pill,
.candidate-document-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: capitalize;
}

.candidate-status-pill--blue {
  background: rgba(63, 102, 199, 0.12);
  color: var(--accent);
}

.candidate-status-pill--green {
  background: rgba(19, 135, 84, 0.12);
  color: var(--ok);
}

.candidate-status-pill--verified {
  background: rgba(19, 135, 84, 0.12);
  color: var(--ok);
}

.candidate-status-pill--pending {
  background: rgba(183, 129, 3, 0.12);
  color: var(--warn);
}

.candidate-status-pill--required {
  background: rgba(180, 35, 24, 0.12);
  color: var(--bad);
}

.candidate-status-pill--red {
  background: rgba(180, 35, 24, 0.12);
  color: var(--bad);
}

.candidate-status-pill--slate,
.candidate-document-card__tag {
  background: rgba(15, 27, 63, 0.08);
  color: var(--ink);
}

.candidate-document-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.candidate-empty-state {
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 27, 63, 0.18);
  background: rgba(248, 250, 255, 0.98);
}

.candidate-settings-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}

.candidate-settings-check input {
  margin-top: 3px;
}

@media (max-width: 960px) {
  .candidate-portal-shell,
  .candidate-dashboard-layout,
  .candidate-dashboard-grid--settings,
  .candidate-dashboard-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .candidate-dashboard-nav {
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    overflow: auto;
    padding-bottom: 2px;
  }

  .candidate-onboarding-banner,
  .candidate-payment-summary {
    grid-template-columns: 1fr;
  }

  .candidate-status-grid {
    grid-template-columns: 1fr;
  }

  .candidate-onboarding-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .candidate-onboarding-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .candidate-dashboard-form,
  .candidate-application-meta,
  .candidate-settings-list,
  .candidate-payment-summary {
    grid-template-columns: 1fr;
  }

  .candidate-status-grid,
  .candidate-rtw-grid {
    grid-template-columns: 1fr;
  }

  .candidate-dashboard-card,
  .candidate-dashboard-hero,
  .candidate-portal-card {
    padding: 20px;
  }

  .candidate-dashboard-stat {
    min-width: 92px;
  }

  .candidate-dashboard-hero__meta {
    width: 100%;
  }
}

.c-rtwChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}

.c-rateHelper {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.c-rateHelper select,
.c-rateHelper button {
  font: inherit;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 27, 63, 0.16);
  background: #fff;
  cursor: pointer;
}

.c-rateHelper button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.c-fileMeta {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.c-fileMeta--warn {
  color: var(--warn);
}

.c-fileMeta svg {
  vertical-align: middle;
  margin-right: 6px;
}

.c-jobs {
  padding: clamp(44px, 7vw, 72px) 20px;
  background: transparent;
}

.c-jobs__wrap {
  max-width: 1180px;
  margin: 0 auto;
}

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

.c-jobs__list {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .c-jobs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .c-jobs__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.c-jobs__card {
  border: 1px solid rgba(15, 27, 63, 0.12);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(63, 102, 199, 0.08), transparent 65%), #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  box-shadow: var(--shadow);
}

.c-jobs__card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.c-jobs__card p {
  margin: 0;
  color: var(--muted);
}

.c-jobs__status {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(19, 135, 84, 0.15);
  color: var(--ok);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.c-jobs__link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.c-otherText {
  display: none;
  margin-top: 10px;
}

.c-otherText label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.c-otherText input {
  width: 100%;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 27, 63, 0.16);
}

.c-hidden {
  display: none !important;
}

.c-preview__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.c-tagLimit {
  font-size: 0.8rem;
  color: var(--muted);
}

.c-locationNote {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.c-tooltip {
  font-size: 0.85rem;
  color: var(--muted);
}

.c-tooltip svg {
  vertical-align: middle;
  margin-right: 6px;
}

.candidates-enhanced [hidden] {
  display: none !important;
}

.candidates-enhanced .is-warning {
  color: var(--warn);
}

.candidates-enhanced .is-error {
  color: var(--bad);
}

.candidates-enhanced .has-icon {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.candidates-page {
  --candidate-surface: #ffffff;
  --candidate-surface-soft: #f7f9ff;
  --candidate-surface-muted: #eef3ff;
  --candidate-border: rgba(57, 86, 153, 0.16);
  --candidate-border-strong: rgba(57, 86, 153, 0.3);
  --candidate-deep: #0f1730;
  --candidate-deep-strong: #162349;
  --candidate-deep-soft: #1d2d57;
  --candidate-text-soft: rgba(233, 240, 255, 0.78);
  --candidate-shadow-lg: 0 28px 56px rgba(15, 27, 63, 0.18);
  --candidate-shadow-md: 0 18px 34px rgba(15, 27, 63, 0.12);
  --candidate-shadow-sm: 0 12px 22px rgba(15, 27, 63, 0.08);
}

.candidates-page {
  background:
    radial-gradient(circle at top left, rgba(63, 102, 199, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 27, 63, 0.16), transparent 28%),
    linear-gradient(180deg, #f4f7ff 0%, #eef3ff 100%);
}

.candidates-page .entry-hero--candidates {
  min-height: 50vh;
  padding: 136px 20px 98px;
}

.candidates-page .entry-hero--candidates::before {
  background:
    linear-gradient(180deg, rgba(12, 17, 34, 0.8), rgba(12, 17, 34, 0.6)),
    linear-gradient(120deg, rgba(63, 102, 199, 0.18), transparent 46%);
}

.candidates-page .entry-hero--candidates .entry-hero__card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(95, 129, 223, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.93));
  box-shadow:
    0 36px 80px rgba(10, 15, 30, 0.3),
    0 14px 28px rgba(10, 15, 30, 0.16);
}

.candidates-page .entry-hero--candidates .entry-hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(circle at top left, rgba(63, 102, 199, 0.14), transparent 40%);
}

.candidates-page .entry-hero--candidates .public-hero-copy,
.candidates-page .entry-hero--candidates .public-hero-side {
  position: relative;
  z-index: 1;
}

.candidates-page .entry-hero__title {
  max-width: 11ch;
  letter-spacing: -0.04em;
}

.candidates-page .entry-hero__lead {
  max-width: 58ch;
  font-size: 1.06rem;
  line-height: 1.72;
}

.candidates-page :is(
  .candidate-form-shell,
  .candidate-preview-shell__frame,
  .candidate-portal-card,
  .candidate-dashboard-card,
  .candidate-dashboard-hero,
  .candidate-empty-state,
  .candidate-application-card,
  .candidate-document-card
) {
  color: var(--ink);
}

.candidates-page :is(
  .candidate-form-shell__intro,
  .candidate-form-shell__privacy,
  .candidate-portal-card p,
  .candidate-portal-note,
  .candidate-empty-state p,
  .candidate-application-note,
  .candidate-document-card p,
  .candidate-dashboard-card__head p,
  .candidate-field-help,
  .small
) {
  color: #516382;
}

.candidates-page :is(
  .candidate-form label,
  .candidate-field label,
  .candidate-portal-form label,
  .candidate-dashboard-form label,
  .candidate-form__section legend,
  .candidate-form-shell__title,
  .candidate-preview-shell__title
) {
  color: var(--ink);
}

.candidates-page :is(.btn-primary, .btn-secondary, .btn-tertiary) {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.candidates-page .btn-primary {
  background: linear-gradient(180deg, #4a76d8, #2f5cc5);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow:
    0 18px 30px rgba(47, 78, 162, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.candidates-page .btn-primary:hover,
.candidates-page .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 24px 34px rgba(47, 78, 162, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.candidates-page .btn-secondary,
.candidates-page .btn-tertiary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 243, 255, 0.98));
  border-color: rgba(57, 86, 153, 0.18);
  color: var(--ink);
  box-shadow: var(--candidate-shadow-sm);
}

.candidates-page .btn-secondary:hover,
.candidates-page .btn-secondary:focus-visible,
.candidates-page .btn-tertiary:hover,
.candidates-page .btn-tertiary:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffffff, rgba(243, 247, 255, 0.98));
  border-color: rgba(57, 86, 153, 0.34);
  color: var(--accent);
  box-shadow: 0 18px 30px rgba(15, 27, 63, 0.12);
}

.candidates-page .entry-hero__actions {
  gap: 14px;
  margin-top: 22px;
}

.candidates-page .entry-hero__actions .btn-primary {
  min-width: 172px;
}

.candidates-page .entry-hero__actions .btn-secondary {
  min-width: 168px;
}

.candidates-page .entry-hero__meta {
  gap: 12px;
  margin-top: 18px;
}

.candidates-page .entry-hero__chip {
  padding: 10px 14px;
  border-color: rgba(57, 86, 153, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 255, 0.92));
  color: #26437f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.candidates-page .entry-hero__chip::before {
  box-shadow: 0 0 0 4px rgba(58, 102, 179, 0.12);
}

.candidates-page .public-hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(129, 155, 226, 0.2);
  background:
    radial-gradient(circle at top right, rgba(84, 119, 216, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(12, 18, 38, 0.98), rgba(22, 35, 73, 0.94));
  box-shadow: 0 24px 42px rgba(8, 12, 26, 0.26);
}

.candidates-page .public-hero-panel h2,
.candidates-page .public-hero-panel strong {
  color: #f5f8ff;
}

.candidates-page .public-hero-panel p,
.candidates-page .public-hero-panel li {
  color: var(--candidate-text-soft);
}

.candidates-page .public-hero-panel__eyebrow {
  color: rgba(207, 220, 255, 0.84);
}

.candidates-page .public-hero-panel .public-list li::before {
  background: linear-gradient(180deg, #7da0ff, #4773df);
  box-shadow: 0 0 0 5px rgba(87, 120, 214, 0.16);
}

.candidates-page .candidate-support {
  margin-top: clamp(-34px, -2vw, -18px);
}

.candidates-page .candidate-support__grid {
  gap: 18px;
}

.candidates-page .candidate-support__card {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: 26px;
  border-color: rgba(57, 86, 153, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.94));
  box-shadow: var(--candidate-shadow-md);
}

.candidates-page .candidate-support__card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(63, 102, 199, 0.95), rgba(63, 102, 199, 0.18));
}

.candidates-page .candidate-support__card h2 {
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.candidates-page .candidate-support__card p {
  line-height: 1.74;
}

.candidates-page .candidate-metrics .kpi {
  position: relative;
  overflow: hidden;
  border-color: rgba(112, 139, 210, 0.22);
  background:
    radial-gradient(circle at top right, rgba(87, 122, 217, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(11, 18, 37, 0.98), rgba(23, 37, 74, 0.96));
  box-shadow: 0 22px 44px rgba(10, 15, 30, 0.24);
}

.candidates-page .candidate-metrics .kpi::after {
  content: "";
  position: absolute;
  inset: auto -14% -50% auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(84, 119, 216, 0.32), transparent 70%);
}

.candidates-page .candidate-metrics .kpi h3 {
  position: relative;
  z-index: 1;
  color: #f7f9ff;
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.candidates-page .candidate-metrics .kpi p {
  position: relative;
  z-index: 1;
  color: rgba(230, 237, 255, 0.74);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.candidates-page .candidate-intro .public-window,
.candidates-page .candidate-trust-band {
  box-shadow: var(--candidate-shadow-md);
}

.candidates-page .candidate-intro .public-window {
  border-color: rgba(57, 86, 153, 0.14);
}

.candidates-page .candidate-trust-section {
  padding-top: 18px;
}

.candidates-page .candidate-trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.candidates-page .candidate-trust-band__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
}

.candidates-page .candidate-trust-band__item svg {
  flex: 0 0 auto;
}

.candidates-page .candidate-profile-section {
  background:
    linear-gradient(180deg, rgba(63, 102, 199, 0.03), rgba(15, 27, 63, 0.01));
}

.candidates-page .candidate-profile-section__head {
  margin-bottom: 22px;
}

.candidates-page .candidate-profile-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 3vw, 24px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(66, 103, 203, 0.28), transparent 34%),
    linear-gradient(160deg, rgba(10, 16, 33, 0.99), rgba(22, 35, 73, 0.96));
  box-shadow: 0 34px 64px rgba(15, 27, 63, 0.2);
}

.candidates-page .candidate-profile-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 14px);
  opacity: 0.6;
}

.candidates-page .candidate-profile-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
}

.candidates-page .candidate-form-shell {
  padding: clamp(22px, 3vw, 30px);
  border-color: rgba(113, 138, 206, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.96));
  box-shadow:
    0 24px 42px rgba(8, 12, 26, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.candidates-page .candidate-form-shell__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.candidates-page .candidate-form-shell__intro {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.68;
}

.candidates-page .candidate-form {
  display: grid;
  gap: 18px;
  scroll-margin-top: 108px;
  min-width: 0;
}

.candidates-page .candidate-form__section {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(240, 244, 255, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 16px;
  min-width: 0;
}

.candidates-page .candidate-form__section legend {
  padding: 0 10px;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.candidates-page .candidate-form__grid {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.candidates-page .candidate-form__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidates-page .candidate-field {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.candidates-page .candidate-field__compound {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
  align-items: stretch;
}

.candidates-page .candidate-field--full,
.candidates-page .candidate-form__actions {
  grid-column: 1 / -1;
}

.candidates-page .cv-form label {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.candidates-page .cv-form label .small {
  color: var(--muted);
  font-weight: 500;
}

.candidates-page .cv-form :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="file"],
  select,
  textarea
) {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57, 86, 153, 0.18);
  background:
    linear-gradient(180deg, #ffffff, rgba(245, 248, 255, 0.98));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.candidates-page .cv-form textarea {
  min-height: 152px;
  resize: vertical;
}

.candidates-page .cv-form select {
  appearance: none;
  padding-right: 42px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23395699' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ffffff, rgba(245, 248, 255, 0.98));
  background-position: right 14px center, center;
  background-repeat: no-repeat;
}

.candidates-page .candidate-field__compound select {
  min-width: 0;
}

.candidates-page .cv-form input[type="file"] {
  padding: 9px;
}

.candidates-page .cv-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid rgba(57, 86, 153, 0.18);
  border-radius: 11px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 255, 0.98));
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.candidates-page .cv-form :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="file"],
  select,
  textarea
):hover {
  border-color: rgba(57, 86, 153, 0.3);
  box-shadow: 0 10px 18px rgba(15, 27, 63, 0.06);
}

.candidates-page .cv-form :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="file"],
  select,
  textarea
):focus {
  border-color: rgba(63, 102, 199, 0.58);
  box-shadow:
    0 0 0 4px rgba(63, 102, 199, 0.12),
    0 16px 26px rgba(15, 27, 63, 0.08);
  outline: none;
}

.candidates-page .cv-form :required:invalid {
  border-color: rgba(57, 86, 153, 0.18);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.55);
}

.candidates-page .cv-form :is(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="file"],
  select,
  textarea
):focus:invalid {
  border-color: rgba(180, 35, 24, 0.62);
  box-shadow:
    0 0 0 4px rgba(180, 35, 24, 0.12),
    0 16px 26px rgba(180, 35, 24, 0.06);
}

.candidates-page .small,
.candidates-page .c-tagLimit,
.candidates-page .c-locationNote,
.candidates-page .c-tooltip,
.candidates-page .c-fileMeta,
.candidates-page .c-preview__notice,
.candidates-page .c-strength__tier {
  color: #6679a8;
  line-height: 1.62;
}

.candidates-page #roleTip {
  margin: 0;
  min-height: 0;
}

.candidates-page #roleTip:empty {
  display: none;
}

.candidates-page .tag-input,
.candidates-page .c-skillBox {
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(57, 86, 153, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff, rgba(246, 249, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.candidates-page .tag-input:focus-within,
.candidates-page .c-skillBox:focus-within {
  border-color: rgba(63, 102, 199, 0.52);
  box-shadow:
    0 0 0 4px rgba(63, 102, 199, 0.12),
    0 12px 22px rgba(15, 27, 63, 0.06);
}

.candidates-page .c-chip {
  padding: 8px 12px;
  border: 1px solid rgba(63, 102, 199, 0.18);
  background: rgba(63, 102, 199, 0.08);
  color: #244282;
  font-weight: 700;
}

.candidates-page .c-chip button {
  color: inherit;
}

.candidates-page .c-skillHints {
  gap: 8px;
}

.candidates-page .c-skillHints button {
  border-radius: 999px;
  border-color: rgba(57, 86, 153, 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 700;
  padding: 7px 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.candidates-page .c-skillHints button:hover,
.candidates-page .c-skillHints button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(57, 86, 153, 0.32);
  box-shadow: 0 10px 18px rgba(15, 27, 63, 0.08);
}

.candidates-page .rtw-wrap {
  gap: 12px;
}

.candidates-page .rtw-item {
  min-height: 58px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(57, 86, 153, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  line-height: 1.55;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.candidates-page .rtw-item input,
.candidates-page .candidate-consent__label input {
  accent-color: var(--accent);
}

.candidates-page .rtw-item:focus-within {
  border-color: rgba(63, 102, 199, 0.48);
  box-shadow:
    0 0 0 4px rgba(63, 102, 199, 0.12),
    0 12px 22px rgba(15, 27, 63, 0.06);
}

.candidates-page .rtw-item:has(input:checked) {
  border-color: rgba(63, 102, 199, 0.38);
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.98), rgba(226, 235, 255, 0.96));
  box-shadow: 0 16px 24px rgba(15, 27, 63, 0.08);
}

.candidates-page .c-rtwChips {
  margin-top: 10px;
  gap: 8px;
}

.candidates-page .c-otherText {
  margin-top: 12px;
}

.candidates-page .c-otherText input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57, 86, 153, 0.18);
  background: linear-gradient(180deg, #ffffff, rgba(245, 248, 255, 0.98));
}

.candidates-page .c-rateHelper {
  margin-top: 10px;
  gap: 8px;
}

.candidates-page .c-rateHelper select,
.candidates-page .c-rateHelper button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(57, 86, 153, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.98));
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.candidates-page .c-rateHelper button[aria-pressed="true"] {
  border-color: rgba(63, 102, 199, 0.4);
  background: linear-gradient(180deg, #4a76d8, #2f5cc5);
  color: #fff;
  box-shadow: 0 14px 22px rgba(47, 78, 162, 0.18);
}

.candidates-page .c-rateHelper :is(select, button):hover,
.candidates-page .c-rateHelper :is(select, button):focus-visible {
  transform: translateY(-1px);
  border-color: rgba(57, 86, 153, 0.3);
  box-shadow: 0 10px 18px rgba(15, 27, 63, 0.08);
}

.candidates-page .candidate-strength__label {
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.candidates-page .c-strength {
  gap: 12px;
  border-radius: 16px;
  border-color: rgba(57, 86, 153, 0.12);
  background:
    linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(235, 240, 255, 0.92));
}

.candidates-page .c-strength__label {
  font-size: 1rem;
}

.candidates-page .c-strength__bar {
  height: 12px;
  background: rgba(63, 102, 199, 0.14);
}

.candidates-page .c-strength__bar span {
  background: linear-gradient(90deg, #4a76d8, #2f5cc5);
}

.candidates-page .candidate-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: rgba(255, 255, 255, 0.76);
  line-height: 1.64;
}

.candidates-page .candidate-form__actions {
  display: grid;
  justify-items: flex-start;
  gap: 10px;
}

.candidates-page #submitBtn {
  min-width: 182px;
}

.candidates-page .candidate-submit-feedback {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

.candidates-page .candidate-submit-feedback[data-tone="success"] {
  color: var(--ok);
}

.candidates-page .candidate-submit-feedback[data-tone="warn"] {
  color: var(--warn);
}

.candidates-page .candidate-submit-feedback[data-tone="error"] {
  color: var(--bad);
}

.candidates-page .candidate-submit-feedback[data-tone="info"] {
  color: var(--brand);
}

.candidates-page .candidate-form-status {
  margin-bottom: 22px;
}

.candidates-page .candidate-form-status__body {
  display: grid;
  gap: 12px;
}

.candidates-page .candidate-account-control {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.candidates-page .candidate-account-toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.candidates-page .candidate-account-toggle input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.candidates-page .candidate-account-copy {
  margin: 0;
  color: #516382;
  line-height: 1.65;
}

.candidates-page .candidate-payment-gate {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.candidates-page .candidate-payment-gate__toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.candidates-page .candidate-payment-gate__toggle input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.candidates-page .candidate-payment-gate__toggle strong {
  display: block;
  margin-bottom: 4px;
}

.candidates-page .candidate-payment-gate__copy,
.candidates-page .candidate-payment-gate__summary {
  margin: 0;
  color: #516382;
  line-height: 1.65;
}

.candidates-page .candidate-payment-gate__summary {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57, 86, 153, 0.1);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
  font-weight: 700;
}

.candidates-page .candidate-payment-panel {
  display: grid;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.32s ease,
    opacity 0.24s ease,
    transform 0.24s ease,
    margin 0.24s ease;
}

.candidates-page .candidate-payment-panel[data-open="true"] {
  max-height: 1400px;
  opacity: 1;
  transform: translateY(0);
}

.candidates-page .candidate-payment-panel__head {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.candidates-page .candidate-payment-panel__eyebrow {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.candidates-page .candidate-payment-group[data-payment-group="iban_swift"] {
  display: none;
}

.candidates-page .candidate-payment-panel[data-method="iban_swift"] .candidate-payment-group[data-payment-group="gbp_local"] {
  display: none;
}

.candidates-page .candidate-payment-panel[data-method="iban_swift"] .candidate-payment-group[data-payment-group="iban_swift"] {
  display: grid;
}

.candidates-page .candidate-payment-panel[data-method="gbp_local"] .candidate-payment-group[data-payment-group="gbp_local"] {
  display: grid;
}

.candidates-page .candidate-payment-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: rgba(245, 248, 255, 0.86);
}

.candidates-page .candidate-payment-status[data-tone="warn"] {
  border-color: rgba(183, 129, 3, 0.22);
  background: rgba(183, 129, 3, 0.08);
  color: var(--warn);
}

.candidates-page .candidate-payment-status[data-tone="error"] {
  border-color: rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.08);
  color: var(--bad);
}

.candidates-page .candidate-payment-status[data-tone="success"] {
  border-color: rgba(19, 135, 84, 0.2);
  background: rgba(19, 135, 84, 0.08);
  color: var(--ok);
}

.candidates-page .candidate-password-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.candidates-page .candidate-password-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.candidates-page .candidate-password-toggle {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(57, 86, 153, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.candidates-page .candidate-password-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.candidates-page .candidate-password-status.is-success {
  background: rgba(19, 135, 84, 0.12);
  color: var(--ok);
  border: 1px solid rgba(19, 135, 84, 0.18);
}

.candidates-page .candidate-password-status.is-warn {
  background: rgba(183, 129, 3, 0.12);
  color: var(--warn);
  border: 1px solid rgba(183, 129, 3, 0.18);
}

.candidates-page .candidate-password-status.is-error {
  background: rgba(180, 35, 24, 0.12);
  color: var(--bad);
  border: 1px solid rgba(180, 35, 24, 0.18);
}

.candidates-page .candidate-form-shell__privacy {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(57, 86, 153, 0.12);
}

.candidates-page #clearDraftLink {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 102, 199, 0.18);
}

.candidates-page #clearDraftLink:hover,
.candidates-page #clearDraftLink:focus-visible {
  border-bottom-color: rgba(63, 102, 199, 0.5);
}

.candidates-page .candidate-preview-shell {
  position: relative;
  min-width: 0;
}

.candidates-page .candidate-preview-shell__frame {
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(84, 119, 216, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(10, 15, 31, 0.98), rgba(18, 28, 55, 0.96));
  box-shadow: 0 28px 52px rgba(6, 10, 22, 0.34);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.candidates-page .candidate-preview-shell__title {
  margin: 0 0 14px;
  color: #f2f6ff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.candidates-page .c-preview {
  background:
    linear-gradient(180deg, rgba(17, 25, 49, 0.92), rgba(13, 20, 39, 0.96));
  border-color: rgba(120, 145, 215, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.22);
  color: #eef3ff;
}

.candidates-page .c-preview__badge {
  border: 1px solid rgba(120, 145, 215, 0.22);
  background: rgba(81, 116, 208, 0.14);
  color: #dbe5ff;
}

.candidates-page .c-preview__copy {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #eff4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.candidates-page .c-preview__copy:hover,
.candidates-page .c-preview__copy:focus-visible {
  background: rgba(77, 112, 205, 0.24);
  color: #fff;
}

.candidates-page .c-preview__section {
  min-height: 136px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.candidates-page .c-preview__section h3 {
  color: rgba(210, 222, 255, 0.72);
}

.candidates-page .c-preview__row,
.candidates-page .c-preview__empty,
.candidates-page .c-preview__footer,
.candidates-page .c-preview__notice {
  color: rgba(231, 238, 255, 0.76);
}

.candidates-page .c-preview__pdf {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(239, 244, 255, 0.82);
}

.candidates-page .c-preview__file {
  color: #f2f6ff;
}

.candidates-page .c-preview .c-chip {
  background: rgba(89, 124, 219, 0.16);
  border-color: rgba(120, 145, 215, 0.24);
  color: #eef3ff;
}

.candidates-page .candidate-journey .timeline {
  padding: 12px;
  border-color: rgba(57, 86, 153, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94));
}

.candidates-page .candidate-journey .timeline::before {
  left: 28px;
  background: linear-gradient(180deg, rgba(63, 102, 199, 0.08), rgba(63, 102, 199, 0.4), rgba(63, 102, 199, 0.08));
}

.candidates-page .candidate-journey .step {
  padding: 18px 54px 18px 74px;
  margin-bottom: 12px;
  border-radius: 18px;
  border: 1px solid rgba(57, 86, 153, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 255, 0.92));
  box-shadow: 0 14px 24px rgba(15, 27, 63, 0.06);
}

.candidates-page .candidate-journey .step:last-child {
  margin-bottom: 0;
}

.candidates-page .candidate-journey .step::before {
  left: 18px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(180deg, #4a76d8, #2f5cc5);
  box-shadow: 0 0 0 5px rgba(63, 102, 199, 0.12);
}

.candidates-page .candidate-journey .step h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--ink);
}

.candidates-page .candidate-journey .step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.candidates-page .candidate-journey .step svg {
  position: absolute;
  right: 18px;
  top: 18px;
  opacity: 0.75;
}

.candidates-page .candidate-faq {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(63, 102, 199, 0.04));
}

.candidates-page details {
  padding: 0;
  overflow: hidden;
}

.candidates-page details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1rem;
}

.candidates-page details summary::-webkit-details-marker {
  display: none;
}

.candidates-page details summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 102, 199, 0.1);
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.candidates-page details[open] summary::after {
  content: "−";
}

.candidates-page details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.72;
}

.candidates-page .candidate-final-cta {
  padding-top: 14px;
}

.candidates-page .public-cta-band {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 52px rgba(15, 27, 63, 0.28);
}

.candidates-page .public-cta-band .public-hero-actions {
  justify-content: center;
  gap: 12px;
}

.candidates-page .public-cta-band .btn-primary,
.candidates-page .public-cta-band .btn-secondary {
  min-width: 170px;
}

.candidates-page .public-cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: none;
}

.candidates-page .public-cta-band .btn-secondary:hover,
.candidates-page .public-cta-band .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.candidates-page .c-jobs__card {
  border-color: rgba(57, 86, 153, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.94));
  box-shadow: var(--candidate-shadow-md);
}

@media (hover: hover) and (pointer: fine) {
  .candidates-page :is(
    .candidate-support__card,
    .candidate-trust-band__item,
    .candidate-metrics .kpi,
    .candidate-journey .step,
    details,
    .c-jobs__card
  ) {
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease,
      background 0.22s ease;
  }

  .candidates-page :is(
    .candidate-support__card,
    .candidate-trust-band__item,
    .candidate-metrics .kpi,
    .candidate-journey .step,
    details,
    .c-jobs__card
  ):hover {
    transform: translateY(-3px);
    border-color: rgba(57, 86, 153, 0.24);
    box-shadow: 0 22px 34px rgba(15, 27, 63, 0.12);
  }
}

@media (max-width: 1180px) {
  .candidates-page .candidate-profile-layout,
  .candidates-page .candidate-trust-band {
    grid-template-columns: 1fr;
  }

  .candidates-page .candidate-preview-shell {
    order: 2;
  }
}

@media (max-width: 900px) {
  .candidates-page .entry-hero__title {
    max-width: none;
  }

  .candidates-page .entry-hero__actions {
    width: 100%;
  }

  .candidates-page .entry-hero__actions .btn-primary,
  .candidates-page .entry-hero__actions .btn-secondary {
    flex: 1 1 220px;
  }

  .candidates-page .candidate-profile-stage {
    border-radius: 28px;
    padding: 14px;
  }

  .candidates-page .candidate-form-shell,
  .candidates-page .candidate-preview-shell__frame {
    border-radius: 24px;
  }
}

@media (max-width: 720px) {
  .candidates-page .candidate-field__compound {
    grid-template-columns: 1fr;
  }

  .candidates-page .candidate-profile-section__head {
    margin-bottom: 18px;
  }

  .candidates-page .candidate-form__grid--two,
  .candidates-page .candidate-trust-band {
    grid-template-columns: 1fr;
  }

  .candidates-page .candidate-form__section {
    padding: 16px;
  }

  .candidates-page .candidate-password-input {
    grid-template-columns: 1fr;
  }

  .candidates-page .candidate-payment-gate,
  .candidates-page .candidate-payment-panel__head {
    padding: 16px;
  }

  .candidates-page .candidate-form__actions,
  .candidates-page .public-cta-band .public-hero-actions {
    width: 100%;
  }

  .candidates-page #submitBtn,
  .candidates-page .public-cta-band .btn-primary,
  .candidates-page .public-cta-band .btn-secondary,
  .candidates-page .entry-hero__actions .btn-primary,
  .candidates-page .entry-hero__actions .btn-secondary {
    flex: 0 0 auto;
    width: 100%;
  }

  .candidates-page .candidate-preview-shell__frame {
    padding: 16px;
  }

  .candidates-page .c-preview__header {
    align-items: stretch;
  }

  .candidates-page .c-preview__copy {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .candidates-page .candidate-journey .step {
    padding: 18px 18px 18px 62px;
  }

  .candidates-page .candidate-journey .step svg {
    position: static;
    margin-top: 10px;
  }

  .candidates-page details summary {
    padding: 16px 18px;
  }

  .candidates-page details p {
    padding: 0 18px 16px;
  }
}

@media (max-width: 360px) {
  .candidates-page .candidate-support {
    padding-inline: 10px;
  }

  .candidates-page .entry-hero--candidates .entry-hero__card {
    padding: 20px 18px;
  }

  .candidates-page .entry-hero__title {
    font-size: clamp(2rem, 11vw, 2.45rem);
  }

  .candidates-page .entry-hero__lead {
    font-size: 1rem;
  }

  .candidates-page .entry-hero__chip {
    padding: 9px 12px;
    font-size: 0.85rem;
  }

  .candidates-page .candidate-support__card,
  .candidates-page .candidate-trust-band__item {
    padding: 16px 15px;
  }

  .candidates-page .candidate-profile-stage {
    padding: 10px;
    border-radius: 24px;
  }

  .candidates-page .candidate-form-shell,
  .candidates-page .candidate-preview-shell__frame {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .candidates-page .candidate-form-shell__title,
  .candidates-page .candidate-preview-shell__title {
    font-size: 2rem;
  }

  .candidates-page .candidate-form__section {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .candidates-page .cv-form :is(
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="file"],
    select,
    textarea
  ) {
    padding-inline: 12px;
  }

  .candidates-page .rtw-item {
    min-height: 54px;
    padding: 12px 13px;
  }

  .candidates-page .hmj-chatbot {
    right: 10px;
    left: 10px;
    --hmj-chatbot-bottom: 12px;
  }

  .candidates-page .hmj-chatbot__launcher {
    gap: 8px;
    padding: 8px 11px;
  }

  .candidates-page .hmj-chatbot__launcher-label {
    font-size: 0.8rem;
  }

  .candidates-page .hmj-chatbot__launcher-meta {
    display: none;
  }

  body.candidates-page footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .candidates-page *,
  .candidates-page *::before,
  .candidates-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
