@font-face {
  font-family: "PrimaryWordmark";
  src: url("/assets/menda-4.ttf") format("truetype");
  font-display: swap;
}

:root {
  --primary-red: #ff3c28;
  --primary-ink: #111111;
  --primary-paper: #ffffff;
  --primary-ground: #f2f2f0;
  --primary-muted: rgba(17, 17, 17, 0.6);
  --primary-faint: rgba(17, 17, 17, 0.4);
  --primary-line: rgba(17, 17, 17, 0.14);
  --primary-green: #dff4e7;
  --primary-green-ink: #145c33;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--primary-ground);
  color: var(--primary-ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.portal-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(22px, 4vw, 58px);
  background: var(--primary-paper);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}
.portal-brand {
  font-family: "PrimaryWordmark", "Arial Black", sans-serif;
  font-size: 1.9rem;
  font-weight: 760;
  font-variation-settings: "wght" 760;
  -webkit-text-stroke: 0.5px var(--primary-red);
  letter-spacing: -0.02em;
  color: var(--primary-red);
  text-decoration: none;
}
.portal-header__action {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-muted);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}
.portal-header__action span { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }

.onboarding-layout {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
}
.onboarding-main {
  min-width: 0;
  padding: clamp(42px, 6vw, 84px) clamp(28px, 7vw, 104px) 42px;
  background: var(--primary-paper);
}
.onboarding-inner { max-width: 760px; margin-inline: auto; }
.onboarding-kicker {
  margin: 0 0 12px;
  color: var(--primary-muted);
  font-size: 0.82rem;
  font-weight: 560;
}
.onboarding-title {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.25rem, 4.6vw, 4.4rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.onboarding-title .quiet { color: var(--primary-faint); }
.onboarding-copy {
  margin: 18px 0 0;
  max-width: 610px;
  color: var(--primary-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.progress-wrap { margin: 38px 0 42px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  color: var(--primary-muted);
  font-size: 0.75rem;
}
.progress-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress-segment { height: 3px; background: rgba(17, 17, 17, 0.12); transition: background 220ms ease; }
.progress-segment.is-complete,
.progress-segment.is-current { background: var(--primary-ink); }
.progress-segment.is-current { position: relative; }
.progress-segment.is-current::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-red);
  transform-origin: left;
  animation: progress-in 420ms var(--ease) both;
}
@keyframes progress-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.onboarding-form { margin: 0; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: step-in 360ms var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-heading { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 560; letter-spacing: -0.025em; }
.step-intro { margin: 0 0 28px; color: var(--primary-muted); max-width: 620px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-top: 20px; }
.field-grid .field { margin-top: 0; }
.field label, .field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 590;
}
.optional { color: var(--primary-faint); font-weight: 420; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 4px;
  background: var(--primary-paper);
  color: var(--primary-ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--primary-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--primary-ink); outline-offset: -1px; }
.field-help { margin: 7px 0 0; color: var(--primary-faint); font-size: 0.76rem; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid.is-three { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card__body {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 16px;
  border: 1px solid var(--primary-line);
  border-radius: 5px;
  background: var(--primary-paper);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.choice-card__body strong { font-size: 0.88rem; font-weight: 590; }
.choice-card__body span { margin-top: 3px; color: var(--primary-muted); font-size: 0.76rem; }
.choice-card:hover .choice-card__body { border-color: rgba(17, 17, 17, 0.4); transform: translateY(-1px); }
.choice-card input:checked + .choice-card__body { border-color: var(--primary-ink); background: #f5f5f3; box-shadow: inset 3px 0 0 var(--primary-red); }
.choice-card input:focus-visible + .choice-card__body { outline: 2px solid var(--primary-red); outline-offset: 2px; }

.chip-group { margin-top: 24px; }
.chip-group:first-of-type { margin-top: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; display: inline-flex; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: var(--primary-paper);
  color: var(--primary-muted);
  font-size: 0.8rem;
  transition: 150ms ease;
}
.check-chip input:checked + span { background: var(--primary-ink); border-color: var(--primary-ink); color: var(--primary-paper); }
.check-chip input:focus-visible + span { outline: 2px solid var(--primary-red); outline-offset: 2px; }
.group-error { display: none; margin: 8px 0 0; color: #b82616; font-size: 0.78rem; }
.group-error.is-visible { display: block; }

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--primary-line);
}
.action-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--primary-ink);
  border-radius: 3px;
  background: var(--primary-ink);
  color: var(--primary-paper);
  font-weight: 570;
  cursor: pointer;
}
.action-button:hover { background: #000; }
.action-button[disabled] { opacity: 0.5; cursor: default; }
.back-button {
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--primary-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.back-button.is-hidden { visibility: hidden; }

.signal-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(44px, 6vw, 88px) clamp(28px, 5vw, 76px);
  background: var(--primary-ink);
  color: var(--primary-paper);
}
.signal-panel::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  top: -160px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}
.signal-inner { position: sticky; top: 54px; max-width: 520px; margin-inline: auto; }
.signal-kicker { margin: 0; color: rgba(255, 255, 255, 0.48); font-size: 0.78rem; }
.signal-title { margin: 12px 0 0; font-size: clamp(1.8rem, 3.3vw, 3.2rem); font-weight: 520; letter-spacing: -0.035em; line-height: 1.05; }
.signal-copy { margin: 16px 0 0; color: rgba(255, 255, 255, 0.58); font-size: 0.92rem; line-height: 1.7; }
.network-map { position: relative; height: 240px; margin: 44px 0 26px; }
.network-line { position: absolute; left: 24px; right: 24px; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.16); transform: rotate(-8deg); }
.network-line::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--network-progress, 20%); background: var(--primary-red); transition: width 420ms var(--ease); }
.network-node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #626266; border: 3px solid var(--primary-ink); box-shadow: 0 0 0 1px rgba(255,255,255,0.25); transition: background 220ms ease, transform 220ms var(--ease); }
.network-node.is-on { background: var(--primary-red); transform: scale(1.2); }
.network-node:nth-child(2) { left: 6%; top: 58%; }
.network-node:nth-child(3) { left: 28%; top: 43%; }
.network-node:nth-child(4) { left: 52%; top: 53%; }
.network-node:nth-child(5) { left: 73%; top: 34%; }
.network-node:nth-child(6) { right: 6%; top: 45%; }
.signal-list { border-top: 1px solid rgba(255,255,255,0.13); }
.signal-row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.signal-row span { color: rgba(255,255,255,0.42); font-size: 0.72rem; }
.signal-row strong { font-size: 0.82rem; font-weight: 520; color: rgba(255,255,255,0.88); }

.review-card { border: 1px solid var(--primary-line); border-radius: 6px; overflow: hidden; }
.review-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 15px 18px; border-bottom: 1px solid var(--primary-line); }
.review-row:last-child { border-bottom: 0; }
.review-row span { color: var(--primary-faint); font-size: 0.76rem; }
.review-row strong { font-size: 0.84rem; font-weight: 540; }
.terms-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--primary-muted); font-size: 0.8rem; }
.terms-check + .terms-check { margin-top: 8px; }
.terms-check input { margin-top: 3px; accent-color: var(--primary-ink); }
.form-message { display: none; margin-top: 18px; padding: 13px 15px; border-radius: 4px; font-size: 0.86rem; }
.form-message.is-error { display: block; color: #8d2115; background: #fff0ed; border: 1px solid rgba(184,38,22,0.3); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.application-success { display: none; min-height: 480px; align-items: center; }
.application-success.is-visible { display: flex; animation: step-in 360ms var(--ease) both; }
.success-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-green); color: var(--primary-green-ink); font-size: 1.2rem; }
.application-success h1 { margin: 24px 0 0; max-width: 600px; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 520; letter-spacing: -0.045em; line-height: 0.98; }
.application-success p { max-width: 560px; margin: 20px 0 0; color: var(--primary-muted); font-size: 1rem; line-height: 1.7; }
.success-link { display: inline-flex; margin-top: 26px; color: var(--primary-ink); text-underline-offset: 4px; }

.auth-page { min-height: calc(100svh - 76px); display: grid; place-items: center; padding: 42px 22px; }
.auth-card { width: min(100%, 430px); padding: clamp(26px, 4vw, 38px); background: var(--primary-paper); border: 1px solid var(--primary-line); border-radius: 5px; box-shadow: none; }
.auth-card h1 { margin: 0; font-size: clamp(1.55rem, 3vw, 1.9rem); font-weight: 520; letter-spacing: 0.018em; line-height: 1.2; }
.auth-card > p { margin: 16px 0 0; color: var(--primary-muted); }
.auth-form { margin-top: 30px; }
.auth-form .action-button { width: 100%; margin-top: 26px; }
.auth-foot { margin: 24px 0 0; text-align: center; color: var(--primary-muted); font-size: 0.82rem; }
.auth-foot a { color: var(--primary-ink); }
.google-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid rgba(17,17,17,0.2);
  border-radius: 4px;
  background: var(--primary-paper);
  color: var(--primary-ink);
  font-weight: 560;
  cursor: pointer;
}
.google-button:hover { background: #f7f7f5; border-color: rgba(17,17,17,0.38); }
.google-button:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 2px; }
.google-button:disabled { opacity: 0.58; cursor: default; }
.google-button svg { width: 20px; height: 20px; flex: 0 0 auto; }

.signup-gate { height: 100%; display: grid; place-items: center; }
.signup-panel { width: min(100%, 460px); }
.signup-panel h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 540; letter-spacing: -0.04em; line-height: 1; }
.signup-copy { margin: 14px 0 0; color: var(--primary-muted); font-size: 0.9rem; }
.signup-panel .google-button { margin-top: 28px; }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 22px 0; color: var(--primary-faint); font-size: 0.72rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--primary-line); }
.email-auth-form label { display: block; margin: 12px 0 7px; font-size: 0.78rem; font-weight: 590; }
.email-auth-form label:first-child { margin-top: 0; }
.email-auth-form input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(17,17,17,0.22);
  border-radius: 4px; background: var(--primary-paper); color: var(--primary-ink);
}
.email-auth-form input:focus { outline: 2px solid var(--primary-ink); outline-offset: -1px; }
.password-stage:not([hidden]) { animation: password-in 220ms var(--ease) both; }
@keyframes password-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.email-continue-button {
  width: 100%; min-height: 50px; margin-top: 10px; border: 1px solid var(--primary-ink); border-radius: 4px;
  background: var(--primary-ink); color: var(--primary-paper); font-weight: 570; cursor: pointer;
}
.email-continue-button:disabled { opacity: 0.5; cursor: default; }
.verified-email { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 10px 12px; background: #f5f5f3; border-radius: 4px; }
.verified-email span { color: var(--primary-faint); font-size: 0.7rem; }
.verified-email strong { overflow: hidden; text-overflow: ellipsis; font-size: 0.78rem; font-weight: 560; }

.home-loading { color: var(--primary-muted); font-size: 0.86rem; }
.signout-button { border: 0; background: none; color: var(--primary-muted); font-size: 0.82rem; cursor: pointer; }

.recruiter-workspace { min-height: calc(100svh - 76px); padding: 34px clamp(20px, 4vw, 56px) 64px; background: #f6f7f7; }
.workspace-shell { width: min(100%, 1240px); margin-inline: auto; }
.workspace-content { animation: step-in 240ms var(--ease) both; }
.workspace-welcome { margin-bottom: 26px; }
.workspace-welcome h1 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 520; letter-spacing: 0.006em; line-height: 1.25; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.7fr); gap: 20px; align-items: start; }
.searches-panel, .workspace-panel { padding: 24px; border: 1px solid #dde0e1; border-radius: 6px; background: #fff; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.section-heading h2, .help-panel h2 { margin: 0; font-size: 1rem; font-weight: 610; letter-spacing: 0.025em; }
.section-heading p { margin: 3px 0 0; color: var(--primary-faint); font-size: 0.75rem; }
.search-list { display: grid; gap: 12px; margin-top: 18px; }
.search-card { padding: 18px; border: 1px solid #e1e3e4; border-radius: 5px; background: #fff; }
.search-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.search-card__heading { min-width: 0; }
.search-card h3 { margin: 0; font-size: 1rem; font-weight: 610; letter-spacing: 0.006em; line-height: 1.35; }
.search-card__top p { margin: 4px 0 0; color: var(--primary-muted); font-size: 0.78rem; }
.search-payout { flex: 0 0 auto; min-width: 120px; padding-left: 18px; border-left: 1px solid #e3e5e6; text-align: right; }
.search-payout span { display: block; color: #777c7e; font-size: 0.65rem; letter-spacing: 0.025em; }
.search-payout strong { display: block; margin-top: 2px; font-size: 1.12rem; font-weight: 650; letter-spacing: 0.01em; }
.search-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 13px; color: #424749; font-size: 0.74rem; }
.search-facts span + span::before { content: "·"; margin: 0 8px; color: #a3a7a9; }
.search-skills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.search-skills span { padding: 3px 7px; border-radius: 3px; background: #f1f3f3; color: #565b5d; font-size: 0.66rem; }
.job-brief { max-width: 720px; padding: 8px 0 4px; color: #4d5254; font-size: 0.78rem; line-height: 1.65; }
.job-brief h4 { margin: 18px 0 5px; color: #181a1b; font-size: 0.76rem; font-weight: 620; letter-spacing: 0.02em; }
.job-brief p { margin: 6px 0; }
.job-brief ul { margin: 6px 0; padding-left: 18px; }
.workspace-sidebar { display: grid; gap: 14px; }
.profile-edit { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; background: none; color: #555a5c; font-size: 0.7rem; cursor: pointer; }
.profile-edit svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.profile-report { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 14px; }
.profile-report > div { min-width: 0; padding: 9px 0; border-top: 1px solid #eceeef; }
.profile-report span { display: block; color: #858a8c; font-size: 0.64rem; }
.profile-report strong, .profile-report a { display: block; margin-top: 2px; overflow-wrap: anywhere; color: #292c2d; font-size: 0.74rem; font-weight: 520; }
.profile-report__wide { grid-column: 1 / -1; }
.profile-form { margin-top: 18px; }
.profile-form label { display: block; margin-top: 11px; color: #666b6d; font-size: 0.68rem; }
.profile-form label:first-child { margin-top: 0; }
.profile-form input, .profile-form textarea { width: 100%; min-height: 38px; margin-top: 4px; padding: 8px 9px; border: 1px solid #d9dcdd; border-radius: 4px; background: #fff; color: #17191a; font-size: 0.78rem; }
.profile-form textarea { min-height: 62px; resize: vertical; }
.profile-form input:focus, .profile-form textarea:focus { outline: 2px solid #1d2021; outline-offset: -1px; }
.profile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.profile-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.profile-form__foot span { color: var(--primary-muted); font-size: 0.68rem; }
.profile-form__foot > div { display: flex; gap: 7px; }
.profile-form__foot button { min-height: 34px; padding: 0 11px; border: 1px solid #222526; border-radius: 4px; background: #222526; color: #fff; font-size: 0.72rem; cursor: pointer; }
.profile-form__foot .profile-cancel { border-color: #d7dadb; background: #fff; color: #555a5c; }
.profile-form__foot button:disabled { opacity: 0.5; }
.help-panel p { margin: 10px 0 2px; color: var(--primary-muted); font-size: 0.76rem; }
.help-panel a { font-size: 0.76rem; text-underline-offset: 3px; }

.candidate-area { margin-top: 14px; padding-top: 13px; border-top: 1px solid #eceeef; }
.candidate-area__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.candidate-area__head > span { color: #6e7375; font-size: 0.68rem; font-weight: 560; }
.candidate-add { padding: 4px 7px; border: 1px solid #d7dadb; border-radius: 3px; background: #fff; color: #35393a; font-size: 0.67rem; cursor: pointer; }
.candidate-empty { margin: 8px 0 0; color: #9a9e9f; font-size: 0.68rem; }
.candidate-rows { margin-top: 7px; }
.candidate-row { border-top: 1px solid #eff0f0; }
.candidate-row:first-child { border-top: 0; }
.candidate-row summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 10px; align-items: center; padding: 7px 0; list-style: none; cursor: pointer; }
.candidate-row summary::-webkit-details-marker { display: none; }
.candidate-row summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.72rem; font-weight: 570; }
.candidate-row summary span { color: #4f725c; font-size: 0.62rem; }
.candidate-row summary time { color: #8b9091; font-size: 0.62rem; text-align: right; }
.candidate-row__body { padding: 2px 0 9px; }
.candidate-row__body p { margin: 5px 0 0; overflow-wrap: anywhere; color: #53585a; font-size: 0.68rem; }
.candidate-row__body p span { display: inline-block; width: 104px; color: #929697; }
.candidate-row__body a { color: inherit; }
.candidate-modal { width: min(calc(100% - 28px), 680px); max-height: calc(100svh - 36px); padding: 0; border: 0; background: transparent; overflow: visible; }
.candidate-modal::backdrop { background: rgba(25, 29, 31, 0.28); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.candidate-modal__surface { max-height: calc(100svh - 36px); overflow-y: auto; padding: 22px; border: 1px solid rgba(255,255,255,0.7); border-radius: 8px; background: rgba(250, 251, 251, 0.88); box-shadow: 0 22px 70px rgba(20,24,26,0.2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.candidate-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.candidate-modal__head h3 { margin: 0; font-size: 1rem; font-weight: 620; letter-spacing: 0.01em; }
.candidate-modal__head p { margin: 3px 0 0; color: #777c7e; font-size: 0.72rem; }
.candidate-close { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid #d7dadb; border-radius: 50%; background: rgba(255,255,255,0.62); color: #565b5d; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.candidate-form { margin-top: 17px; }
.candidate-form > label, .candidate-form__grid label { display: block; margin-top: 9px; color: #686d6f; font-size: 0.65rem; }
.candidate-form__grid label { margin-top: 0; }
.candidate-form input, .candidate-form select, .candidate-form textarea { width: 100%; min-height: 36px; margin-top: 4px; padding: 7px 8px; border: 1px solid #d7dadb; border-radius: 3px; background: #fff; color: #17191a; font-size: 0.72rem; }
.candidate-form input[type="file"] { padding: 6px; }
.candidate-form textarea { min-height: 58px; resize: vertical; }
.candidate-form input:focus, .candidate-form select:focus, .candidate-form textarea:focus { outline: 2px solid #252829; outline-offset: -1px; }
.candidate-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.candidate-form__grid.is-three { grid-template-columns: repeat(3, 1fr); margin-top: 9px; }
.candidate-auth { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.candidate-auth > span { margin-right: auto; color: #686d6f; font-size: 0.65rem; }
.candidate-auth label { position: relative; cursor: pointer; }
.candidate-auth input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.candidate-auth label span { display: inline-flex; min-height: 30px; align-items: center; padding: 0 8px; border: 1px solid #d7dadb; border-radius: 3px; background: #fff; color: #555a5c; font-size: 0.66rem; }
.candidate-auth input:checked + span { border-color: #242728; background: #242728; color: #fff; }
.candidate-auth input:focus-visible + span { outline: 2px solid #252829; outline-offset: 2px; }
.candidate-form__message { min-height: 18px; margin-top: 7px; color: #8a352c; font-size: 0.66rem; }
.candidate-form__actions { display: flex; justify-content: flex-end; gap: 7px; }
.candidate-form__actions button { min-height: 32px; padding: 0 10px; border: 1px solid #242728; border-radius: 3px; background: #242728; color: #fff; font-size: 0.68rem; cursor: pointer; }
.candidate-form__actions .candidate-cancel { border-color: #d4d7d8; background: #fff; color: #555a5c; }
.candidate-form__actions button:disabled { opacity: 0.5; }

/* Direct-link candidate jobs page. Intentionally excluded from site navigation. */
.jobs-main { min-height: calc(100svh - 76px); padding: 34px clamp(18px, 5vw, 68px) 72px; background: #f6f7f7; }
.jobs-shell { width: min(100%, 940px); margin-inline: auto; padding: 24px; border: 1px solid #dde0e1; border-radius: 6px; background: #fff; }
.jobs-heading h1 { margin: 0; font-size: 1.25rem; font-weight: 610; letter-spacing: 0.02em; }
.jobs-heading p { margin: 3px 0 0; color: var(--primary-faint); font-size: 0.75rem; }
.jobs-loading { margin: 18px 0 0; color: var(--primary-muted); font-size: 0.78rem; }
.jobs-loading.is-error { color: #8a352c; }
.jobs-card { position: relative; }
.jobs-card h3 a { text-decoration: none; }
.jobs-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.jobs-apply { flex: 0 0 auto; min-width: 76px; min-height: 34px; padding: 0 14px; border: 1px solid #222526; border-radius: 4px; background: #222526; color: #fff; font-size: 0.72rem; cursor: pointer; }
.jobs-apply:disabled { border-color: #b7bbbd; background: #b7bbbd; cursor: default; }
.jobs-view-role { display: inline-block; margin-top: 11px; color: #303435; font-size: 0.7rem; font-weight: 560; text-decoration: none; }
.jobs-view-role:hover { text-decoration: underline; text-underline-offset: 3px; }
.jobs-card-status { min-height: 0; margin: 10px 0 0; color: #8a352c; font-size: 0.7rem; }
.jobs-card-status:empty { display: none; }
.jobs-card-status.is-success { color: #277448; }
.jobs-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.candidate-form .optional { color: #a0a4a5; font-weight: 400; }
.jobs-apply-modal { width: min(calc(100% - 32px), 760px); }
.jobs-apply-modal:focus { outline: none; }
.jobs-apply-modal .candidate-modal__surface { padding: 28px 30px 30px; border: 1px solid #d9dcdd; border-radius: 4px; background: #fff; box-shadow: 0 18px 48px rgba(20,24,26,0.16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.jobs-apply-modal .candidate-modal__head h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.012em; }
.jobs-apply-modal .candidate-modal__head p { margin-top: 5px; font-size: 0.82rem; }
.jobs-apply-modal .candidate-close { width: 32px; height: 32px; border: 0; border-radius: 0; background: transparent; font-size: 1.35rem; }
.jobs-apply-modal .candidate-form { margin-top: 24px; }
.jobs-apply-modal .candidate-form > label, .jobs-apply-modal .candidate-form__grid label { margin-top: 16px; font-size: 0.76rem; line-height: 1.3; }
.jobs-apply-modal .candidate-form__grid label { margin-top: 0; }
.jobs-apply-modal .candidate-form > .candidate-form__grid + .candidate-form__grid { margin-top: 15px; }
.jobs-apply-modal .candidate-form > label + .candidate-form__grid { margin-top: 18px; }
.jobs-apply-modal .candidate-form input, .jobs-apply-modal .candidate-form select, .jobs-apply-modal .candidate-form textarea { min-height: 44px; margin-top: 6px; padding: 10px 11px; font-size: 0.84rem; }
.jobs-apply-modal .candidate-form input[type="file"] { padding: 9px; }
.jobs-apply-modal .candidate-form textarea { min-height: 88px; }
.jobs-apply-modal .candidate-form__grid { gap: 14px; }
.jobs-apply-modal .candidate-auth { gap: 8px; margin-top: 16px; }
.jobs-apply-modal .candidate-auth > span { font-size: 0.76rem; }
.jobs-apply-modal .candidate-auth label span { min-height: 36px; padding: 0 10px; font-size: 0.75rem; }
.jobs-apply-modal .candidate-form__message { min-height: 22px; margin-top: 10px; font-size: 0.74rem; }
.jobs-apply-modal .candidate-form__actions { gap: 9px; }
.jobs-apply-modal .candidate-form__actions button { min-height: 40px; padding: 0 16px; font-size: 0.78rem; }

.job-detail-main { min-height: calc(100svh - 76px); padding: 34px clamp(18px, 5vw, 68px) 80px; background: #f3f4f4; }
.job-detail-main > .jobs-loading, .job-detail-shell { width: min(100%, 1040px); margin-inline: auto; }
.job-detail-hero { padding: 28px 32px 30px; border: 1px solid #dfe2e3; border-radius: 3px; background: #fff; }
.job-detail-hero h1 { max-width: 760px; margin: 0; font-size: clamp(1.55rem, 2.25vw, 2.15rem); font-weight: 580; letter-spacing: 0.005em; line-height: 1.18; }
.job-detail-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 15px; color: #555a5c; font-size: 0.78rem; }
.job-detail-facts span + span::before { content: "·"; margin: 0 9px; color: #a1a5a7; }
.special-attribute-logo { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 1; }
.special-attribute-logo img { display: block; width: auto; height: 16px; }
.search-facts .special-attribute-logo img { height: 15px; }
.job-detail-actions { display: flex; gap: 8px; margin-top: 21px; }
.job-detail-apply { min-width: 112px; }
.job-copy-link { min-height: 34px; padding: 0 13px; border: 1px solid #d2d5d6; border-radius: 4px; background: #fff; color: #464b4d; font-size: 0.72rem; cursor: pointer; }
.job-copy-link:hover { background: #f5f6f6; }
.job-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; margin-top: 16px; }
.job-detail-body, .job-detail-sidebar { border: 1px solid #dfe2e3; border-radius: 3px; background: #fff; }
.job-detail-body { padding: 32px 36px 42px; }
.job-detail-body > h2 { margin: 0 0 24px; font-size: 1.15rem; font-weight: 620; letter-spacing: 0.005em; }
.job-detail-copy { max-width: 720px; color: #4a4f51; font-size: 0.94rem; line-height: 1.72; }
.job-detail-copy h3 { margin: 30px 0 8px; color: #1b1d1e; font-size: 0.92rem; font-weight: 650; letter-spacing: 0.012em; }
.job-detail-copy h3:first-child { margin-top: 0; }
.job-detail-copy p { margin: 0 0 13px; }
.job-detail-copy ul { margin: 7px 0 16px; padding-left: 20px; }
.job-detail-copy li { padding-left: 3px; margin-top: 4px; }
.job-detail-sidebar { position: sticky; top: 18px; padding: 20px; }
.job-detail-sidebar h2 { margin: 0 0 8px; font-size: 0.86rem; font-weight: 620; }
.job-detail-sidebar dl { margin: 0; }
.job-detail-sidebar dl > div { padding: 10px 0; border-top: 1px solid #eceeef; }
.job-detail-sidebar dt { color: #858a8c; font-size: 0.62rem; }
.job-detail-sidebar dd { margin: 2px 0 0; color: #303435; font-size: 0.72rem; font-weight: 530; }
.job-detail-skills { display: flex; flex-wrap: wrap; gap: 0; padding-top: 12px; border-top: 1px solid #eceeef; color: #6a6f71; font-size: 0.66rem; }
.job-detail-skills span + span::before { content: "·"; margin: 0 6px; color: #a1a5a7; }
.job-detail-side-apply { width: 100%; margin-top: 16px; }
.jobs-apply:focus-visible, .job-copy-link:focus-visible, .jobs-view-role:focus-visible, .jobs-card h3 a:focus-visible { outline: 2px solid #252829; outline-offset: 3px; }

@media (max-width: 640px) {
  .jobs-main { min-height: calc(100svh - 64px); padding: 18px 12px 48px; }
  .jobs-shell { padding: 16px; }
  .jobs-apply { min-width: 68px; }
  .job-detail-main { min-height: calc(100svh - 64px); padding: 18px 12px 48px; }
  .job-detail-hero { padding: 22px 20px 24px; }
  .job-detail-hero h1 { font-size: 1.6rem; }
  .job-detail-layout { grid-template-columns: 1fr; }
  .job-detail-body { padding: 24px 20px 32px; }
  .job-detail-copy { font-size: 0.88rem; }
  .job-detail-sidebar { position: static; }
  .jobs-apply-modal .candidate-modal__surface { padding: 20px; }
}

@media (max-width: 820px) and (min-width: 641px) {
  .job-detail-layout { grid-template-columns: 1fr; }
  .job-detail-sidebar { position: static; }
}

@media (max-width: 980px) {
  .onboarding-layout { grid-template-columns: 1fr; }
  .signal-panel { min-height: auto; padding-block: 42px; }
  .signal-inner { position: relative; top: auto; }
  .network-map { height: 150px; margin-block: 24px; }
  .signal-copy { max-width: 680px; }
  .home-grid { grid-template-columns: 1fr; }
  .workspace-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .portal-header { height: 64px; padding-inline: 18px; }
  .portal-brand { font-size: 1.65rem; }
  .portal-header__action { font-size: 0.78rem; }
  .onboarding-layout { min-height: calc(100svh - 64px); }
  .onboarding-main { padding: 34px 18px 28px; }
  .onboarding-title { font-size: 2.55rem; }
  .progress-wrap { margin: 30px 0 34px; }
  .field-grid, .choice-grid, .choice-grid.is-three { grid-template-columns: 1fr; }
  .step-actions { position: sticky; bottom: 0; margin-inline: -18px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); }
  .review-row { grid-template-columns: 1fr; gap: 5px; }
  .signal-panel { padding: 38px 22px 46px; }
  .onboarding-layout > .signal-panel { display: none; }
  .signal-title { font-size: 2.2rem; }
  .signal-row { grid-template-columns: 92px 1fr; }
  .auth-page { min-height: calc(100svh - 64px); padding-inline: 14px; }
  .home-page { min-height: calc(100svh - 64px); }
  .recruiter-workspace { min-height: calc(100svh - 64px); padding: 24px 14px 48px; }
  .workspace-welcome { margin-bottom: 18px; }
  .searches-panel, .workspace-panel { padding: 17px; }
  .profile-row { grid-template-columns: 1fr; gap: 0; }
  .search-card__top { align-items: flex-start; }
  .search-payout { min-width: 104px; padding-left: 12px; }
  .search-payout strong { font-size: 0.96rem; }
  .candidate-form__grid, .candidate-form__grid.is-three { grid-template-columns: 1fr; gap: 8px; }
  .candidate-auth { flex-wrap: wrap; }
  .candidate-auth > span { flex-basis: 100%; }
  .candidate-modal__surface { padding: 17px; }
}

/* Recruiter application: every step is intentionally one viewport. */
body.apply-page { height: 100svh; min-height: 0; overflow: hidden; }
.apply-page .portal-header { height: 64px; }
.apply-page .onboarding-layout { height: calc(100svh - 64px); min-height: 0; }
.apply-page .onboarding-main {
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 4vh, 42px) clamp(28px, 6vw, 88px) clamp(18px, 3vh, 32px);
  overflow: hidden;
}
.apply-page .onboarding-inner { height: 100%; display: flex; flex-direction: column; }
.apply-page .progress-wrap { flex: 0 0 auto; margin: 0 0 clamp(18px, 3vh, 30px); }
.apply-page .progress-track { grid-template-columns: repeat(5, 1fr); }
.apply-page .onboarding-form { flex: 1; min-height: 0; }
.apply-page .form-step.is-active { height: 100%; display: flex; flex-direction: column; }
.apply-page .step-content { min-height: 0; }
.apply-page .step-heading { margin-bottom: clamp(18px, 3vh, 26px); font-size: clamp(1.65rem, 2.2vw, 2.15rem); line-height: 1.1; letter-spacing: -0.025em; }
.apply-page .field { margin-top: clamp(12px, 2vh, 18px); }
.apply-page .field input,
.apply-page .field select { min-height: 46px; padding: 10px 13px; }
.apply-page .field textarea { min-height: 74px; max-height: 90px; padding: 10px 13px; resize: none; }
.apply-page .compact-fields { margin-top: clamp(12px, 2vh, 18px); }
.apply-page .choice-card__body { min-height: 58px; padding: 10px 14px; }
.apply-page .choice-card__body strong { font-size: 0.86rem; }
.apply-page .chip-group { margin-top: clamp(18px, 2.5vh, 24px); }
.apply-page .chip-group:first-of-type { margin-top: 0; }
.apply-page .check-chip span { min-height: 36px; padding: 6px 12px; }
.apply-page .form-step[data-step="4"] .chip-list { gap: 7px; }
.apply-page .form-step[data-step="4"] .check-chip span { min-height: 33px; padding: 5px 10px; font-size: 0.76rem; }
.apply-page .terms-check { margin-top: 14px; }
.apply-page .step-actions { flex: 0 0 auto; margin-top: auto; padding-top: clamp(12px, 2vh, 18px); }
.application-image-panel { height: 100%; min-height: 0; overflow: hidden; background: #dcebf5; }
.application-image-panel img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 60% center; }

@media (max-width: 1100px) {
  .apply-page .onboarding-layout { grid-template-columns: 1fr; }
  .application-image-panel { display: none; }
}

@media (max-width: 640px) {
  .apply-page .onboarding-main { padding: 14px 18px 10px; }
  .apply-page .progress-wrap { margin-bottom: 12px; }
  .apply-page .step-heading { margin-bottom: 14px; font-size: 1.55rem; }
  .apply-page .field { margin-top: 11px; }
  .apply-page .field-grid { gap: 0; }
  .apply-page .choice-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .apply-page .choice-grid.is-three { grid-template-columns: repeat(3, 1fr); }
  .apply-page .choice-card__body { min-height: 50px; padding: 8px 10px; }
  .apply-page .choice-card__body strong { font-size: 0.78rem; }
  .apply-page .chip-group { margin-top: 14px; }
  .apply-page .chip-list { gap: 6px; }
  .apply-page .check-chip span { min-height: 32px; padding: 5px 10px; font-size: 0.74rem; }
  .apply-page .step-actions { position: static; margin-inline: 0; padding: 10px 0 0; background: transparent; backdrop-filter: none; }
  .apply-page .action-button { min-height: 44px; padding-inline: 20px; }
  .apply-page .field-help { margin-top: 4px; }
  .signup-panel h1 { font-size: 2.15rem; }
  .signup-panel .google-button { margin-top: 22px; }
}

@media (max-height: 700px) {
  .apply-page .portal-header { height: 56px; }
  .apply-page .onboarding-layout { height: calc(100svh - 56px); }
  .apply-page .onboarding-main { padding-top: 10px; padding-bottom: 8px; }
  .apply-page .progress-wrap { margin-bottom: 8px; }
  .apply-page .step-heading { margin-bottom: 10px; font-size: 1.55rem; }
  .apply-page .field { margin-top: 8px; }
  .apply-page .field input,
  .apply-page .field select { min-height: 42px; padding-block: 8px; }
  .apply-page .choice-card__body { min-height: 44px; }
  .apply-page .chip-group { margin-top: 10px; }
  .apply-page .check-chip span { min-height: 29px; padding-block: 3px; }
  .apply-page .field textarea { min-height: 58px; max-height: 58px; }
  .apply-page .step-actions { padding-top: 7px; }
  .apply-page .terms-check { margin-top: 9px; }
}

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

/* Recruiter opportunity workspace */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.recruiter-home-page { height: 100svh; min-height: 0; overflow: hidden; background: #fff; }
.recruiter-app { min-height: 100svh; display: grid; grid-template-columns: 94px minmax(0, 1fr); }
.recruiter-rail { position: relative; z-index: 20; height: 100svh; display: flex; flex-direction: column; align-items: stretch; border-right: 1px solid #e2e3e1; background: #fff; }
.rail-brand { height: 84px; display: grid; place-items: center; color: var(--primary-red); font-family: "PrimaryWordmark", "Arial Black", sans-serif; font-size: 1.45rem; font-weight: 760; letter-spacing: -0.035em; text-decoration: none; border-bottom: 1px solid #f0f0ee; }
.rail-nav { display: grid; gap: 4px; padding: 14px 9px; }
.rail-link, .rail-help, .rail-signout { min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 4px; border: 0; border-radius: 4px; background: transparent; color: #777977; font-size: 0.64rem; text-decoration: none; cursor: pointer; transition: color 160ms ease, background 160ms ease; }
.rail-link svg, .rail-help svg, .rail-signout svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail-link:hover, .rail-help:hover, .rail-signout:hover { color: #171817; background: #f6f6f4; }
.rail-link.is-active { color: #202321; background: #f1f1ef; }
.rail-foot { display: grid; gap: 3px; margin-top: auto; padding: 8px 9px 14px; border-top: 1px solid #f0f0ee; }
.rail-signout { width: 100%; }
.recruiter-app > .home-loading { grid-column: 2; margin: 0; display: grid; place-items: center; }
.recruiter-views { min-width: 0; height: 100svh; }
.portal-view { height: 100%; min-width: 0; animation: workspace-view-in 260ms var(--ease) both; }
@keyframes workspace-view-in { from { opacity: 0; } to { opacity: 1; } }
.opportunities-view { display: grid; grid-template-columns: minmax(400px, 44%) minmax(0, 56%); background: #fff; }

.role-browser { min-width: 0; height: 100svh; display: flex; flex-direction: column; border-right: 1px solid #dfe1df; background: #f7f7f5; }
.role-browser__head { flex: 0 0 auto; padding: 32px; background: #fff; border-bottom: 1px solid #dfe2e3; }
.workspace-eyebrow { margin: 0 0 7px; color: #8b8d8a; font-size: 0.66rem; font-weight: 650; letter-spacing: 0.115em; text-transform: uppercase; }
.role-browser__head h1 { margin: 0; font-size: clamp(1.35rem, 1.7vw, 1.58rem); font-weight: 540; letter-spacing: 0.012em; line-height: 1.2; }
.summary-heading h1 { margin: 0; font-size: clamp(1.55rem, 2.1vw, 2rem); font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }
.role-browser__head > p:not(.workspace-eyebrow), .summary-heading > p, .profile-title-row > div > p:last-child { margin: 8px 0 0; color: #555a5c; font-size: 0.86rem; }
.role-search { height: 44px; display: grid; grid-template-columns: 19px minmax(0, 1fr) auto; align-items: center; gap: 9px; margin-top: 20px; padding: 0 12px; border: 1px solid #d5d7d4; border-radius: 4px; background: #fff; color: #8c8f8b; }
.role-search:focus-within { border-color: #777a76; box-shadow: 0 0 0 3px rgba(17,17,17,0.05); }
.role-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.role-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #171817; font-size: 0.78rem; }
.role-search input::placeholder { color: #979a96; }
.role-search kbd { min-width: 24px; height: 22px; display: grid; place-items: center; padding: 0 6px; border: 0; border-radius: 11px; background: #f0f1ee; color: #777a76; font-family: inherit; font-size: 0.65rem; }
.role-list { min-height: 0; display: grid; align-content: start; gap: 12px; padding: 20px 32px 32px; overflow-y: auto; }
.role-card { position: relative; width: 100%; min-height: 132px; display: block; padding: 20px; border: 1px solid #dfe2e3; border-radius: 3px; background: #fff; color: #171817; text-align: left; cursor: pointer; transition: border-color 150ms ease, background 150ms ease; }
.role-card:hover { border-color: #aeb2b3; background: #fcfcfb; }
.role-card.is-selected { border-color: #292b29; background: #fafafa; }
.role-card:focus-visible { outline: 2px solid var(--primary-red); outline-offset: 2px; }
.role-card__top, .role-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.role-monogram { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #f0f0ed; color: #3b3d3a; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em; }
.role-card__payout { color: #3c3e3b; font-size: 0.72rem; font-weight: 640; }
.role-card h2 { margin: 0; max-width: 76%; font-size: 0.94rem; font-weight: 620; letter-spacing: -0.008em; line-height: 1.35; }
.role-card__meta { display: flex; align-items: center; gap: 0; margin: 8px 0 0; overflow: hidden; color: #666a68; font-size: 0.72rem; white-space: nowrap; }
.role-card__meta > span { flex: 0 0 auto; }
.role-card__meta > span + span::before { content: "·"; margin: 0 6px; color: #a1a5a2; }
.role-card__meta .special-attribute-logo img { height: 14px; }
.role-card__foot { margin-top: 19px; padding-top: 12px; border-top: 1px solid #eceeef; color: #6a6f71; font-size: 0.69rem; }
.role-card__activity { display: inline-flex; align-items: center; gap: 5px; }
.role-card__activity svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.role-list-empty { margin: 22px 8px; color: #777a76; font-size: 0.78rem; }
.role-list-note { margin: 4px 2px 0; padding: 8px 0 2px; color: #858985; font-size: 0.68rem; letter-spacing: 0.01em; }

.role-detail { position: relative; min-width: 0; height: 100svh; padding-bottom: 68px; overflow-y: auto; background: #fff; scroll-behavior: smooth; }
.role-detail__empty { height: 100%; display: grid; place-content: center; justify-items: center; padding: 30px; color: #858884; text-align: center; }
.role-detail__empty h2 { margin: 0; color: #252724; font-size: 1.2rem; font-weight: 600; }
.role-detail__empty p { margin: 6px 0 0; font-size: 0.78rem; }
.role-detail__head { position: relative; padding: 36px 48px 30px; }
.role-detail__head::after, .candidate-section::after { content: ""; position: absolute; right: 48px; bottom: 0; left: 48px; height: 1px; background: #e1e3e1; }
.mobile-detail-back { display: none; }
.detail-brand-row { display: flex; align-items: center; gap: 11px; padding-bottom: 25px; border-bottom: 1px solid #ecedea; }
.detail-brand-row > div { display: grid; }
.detail-brand-row span:not(.role-monogram) { color: #8a8c89; font-size: 0.65rem; }
.detail-brand-row strong { font-size: 0.74rem; font-weight: 600; }
.detail-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 32px; }
.detail-title-row h2 { max-width: 720px; margin: 0; font-size: clamp(1.32rem, 1.62vw, 1.56rem); font-weight: 550; letter-spacing: 0.006em; line-height: 1.14; }
.detail-payout { min-width: 132px; text-align: right; }
.detail-payout span { display: block; color: #878a86; font-size: 0.63rem; }
.detail-payout strong { display: block; margin-top: 2px; font-size: 1.18rem; font-weight: 660; line-height: 1.2; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 8px; color: #3f4441; font-size: 0.82rem; font-weight: 560; }
.detail-facts > span { display: inline-flex; align-items: center; gap: 6px; }
.detail-facts svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.detail-facts .special-attribute-logo img { height: 17px; }
.detail-section { position: relative; padding: 28px 48px; }
.detail-section__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.detail-section__head h3 { margin: 0; font-size: 1rem; font-weight: 620; letter-spacing: -0.008em; }
.detail-section__head h3 span { margin-left: 5px; color: #999b98; font-size: 0.72rem; font-weight: 500; }
.candidate-add { min-height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid #cfd1ce; border-radius: 3px; background: #fff; color: #3c3e3b; font-size: 0.7rem; font-weight: 570; cursor: pointer; }
.candidate-add:hover { border-color: #898c88; background: #fafaf8; }
.brief-tools { display: flex; justify-content: flex-end; margin: 16px 0 0; }
.copy-markdown { min-height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: #777c79; font-size: 0.67rem; font-weight: 520; cursor: pointer; }
.copy-markdown:hover { color: #242725; }
.copy-markdown svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy-markdown.is-copied { color: #26623e; }
.candidate-empty { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.candidate-empty strong { font-size: 0.74rem; font-weight: 600; }
.candidate-empty p { margin: 2px 0 0; color: #8a8d89; font-size: 0.68rem; }
.candidate-empty__action { min-width: 148px; min-height: 36px; font-size: 0.72rem; }
.candidate-rows { display: grid; gap: 9px; margin-top: 0; }
.candidate-row { overflow: hidden; border: 1px solid #dfe2df; border-radius: 4px; background: #fff; }
.candidate-section .candidate-row:first-child { border-top: 1px solid #dfe2df; }
.candidate-section .detail-section__head h3 { font-weight: 520; letter-spacing: 0.018em; }
.candidate-row summary { grid-template-columns: minmax(0, 1fr) auto 56px; gap: 14px; padding: 13px 15px; }
.candidate-row summary:hover { background: #fafafa; }
.candidate-row summary > div { min-width: 0; display: grid; }
.candidate-row summary strong { color: #181a19; font-size: 0.78rem; font-weight: 640; }
.candidate-row summary small { margin-top: 1px; overflow: hidden; color: #787d7a; font-size: 0.63rem; font-weight: 430; text-overflow: ellipsis; white-space: nowrap; }
.candidate-status { padding: 4px 8px; border: 1px solid #d9dcda; border-radius: 3px; background: #f2f2f0; color: #454946 !important; font-weight: 560; }
.candidate-row summary time { color: #777c79; font-size: 0.65rem; font-variant-numeric: tabular-nums; }
.candidate-row__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 28px; margin: 0; padding: 14px 16px 16px; border-top: 1px solid #e5e7e5; background: #fafafa; }
.candidate-row__body p { display: grid; gap: 2px; margin: 0; color: #343836; font-size: 0.7rem; }
.candidate-row__body p span { width: auto; color: #858a87; font-size: 0.61rem; font-weight: 560; }
.candidate-row__body a { width: max-content; font-weight: 560; text-underline-offset: 3px; }
.job-brief { max-width: 760px; padding: 0; color: #505552; font-size: 0.86rem; line-height: 1.65; }
.job-brief h3 { margin: 26px 0 7px; color: #1b1d1e; font-size: 0.86rem; font-weight: 650; letter-spacing: 0; }
.job-brief h3:first-child { margin-top: 0; }
.job-brief p { margin: 0 0 12px; }
.job-brief ul { margin: 7px 0 15px; padding-left: 19px; }
.job-brief li { margin-top: 4px; padding-left: 2px; }
.role-detail__actions { position: fixed; z-index: 10; right: 0; bottom: 0; left: calc(94px + (100vw - 94px) * 0.44); height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 11px 48px; border-top: 1px solid #dfe1de; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.footer-referral { margin: 0; color: #6b706d; font-size: 0.67rem; line-height: 1.4; }
.footer-referral a { color: #282c2a; font-weight: 620; text-decoration: underline; text-underline-offset: 3px; }
.footer-referral a:hover { color: var(--primary-red); }
.candidate-add--primary { min-width: 190px; border-color: var(--primary-red); background: var(--primary-red); color: #fff; font-size: 0.78rem; font-weight: 620; }
.candidate-add--primary:hover { border-color: #e93422; background: #e93422; }

.summary-view { overflow-y: auto; background: #f7f7f5; }
.summary-shell { width: min(100%, 1180px); margin-inline: auto; padding: clamp(42px, 7vw, 88px) clamp(24px, 6vw, 72px); }
.earnings-empty { min-height: calc(100svh - clamp(84px, 14vw, 176px)); display: grid; place-content: center; justify-items: center; text-align: center; }
.earnings-empty p { margin: 0; color: #555a57; font-size: 0.86rem; }
.earnings-empty button { margin-top: 12px; padding: 2px 0; border: 0; background: transparent; color: #252927; font-size: 0.72rem; font-weight: 560; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.earnings-empty button:hover { color: var(--primary-red); }
.candidates-shell { max-width: 1240px; }
.candidate-ledger { margin-top: 24px; border-top: 1px solid #daddda; }
.candidate-ledger__labels, .candidate-ledger__row { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.5fr) 110px 110px 88px; gap: 20px; align-items: center; }
.candidate-ledger__labels { min-height: 42px; padding: 0 16px; color: #858985; font-size: 0.62rem; font-weight: 560; letter-spacing: 0.025em; }
.candidate-ledger__row { min-height: 78px; padding: 14px 16px; border-bottom: 1px solid #dfe2df; background: #fff; }
.candidate-ledger__row:hover { background: #fbfbfa; }
.candidate-ledger__person { min-width: 0; display: grid; gap: 2px; }
.candidate-ledger__person strong { overflow: hidden; color: #1b1e1c; font-size: 0.78rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.candidate-ledger__person a { width: max-content; color: #777c78; font-size: 0.64rem; text-decoration: none; }
.candidate-ledger__person a:hover { color: #202321; text-decoration: underline; text-underline-offset: 3px; }
.candidate-ledger__role { color: #343835; font-size: 0.72rem; line-height: 1.45; }
.candidate-ledger__row .candidate-status { width: max-content; font-size: 0.64rem; }
.candidate-ledger__row time { color: #747975; font-size: 0.65rem; font-variant-numeric: tabular-nums; }
.candidate-ledger__row button, .candidate-ledger__empty button { justify-self: end; padding: 0; border: 0; background: transparent; color: #2b2f2c; font-size: 0.67rem; font-weight: 570; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.candidate-ledger__row button:hover, .candidate-ledger__empty button:hover { color: var(--primary-red); }
.candidate-ledger__row button:disabled { color: #a7aaa7; cursor: default; text-decoration: none; }
.candidate-ledger__empty { min-height: 360px; display: grid; place-content: center; justify-items: center; text-align: center; }
.candidate-ledger__empty strong { font-size: 0.86rem; font-weight: 560; letter-spacing: 0.01em; }
.candidate-ledger__empty p { margin: 5px 0 13px; color: #777b78; font-size: 0.72rem; }
.summary-heading { padding-bottom: 28px; border-bottom: 1px solid #dfe2e3; }
.earnings-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; margin-top: 26px; }
.metric-card { min-height: 190px; display: flex; flex-direction: column; padding: 24px; border: 1px solid #dfe2e3; border-radius: 3px; background: #fff; color: #111; }
.metric-card > span { color: #777a76; font-size: 0.7rem; }
.metric-card strong { margin-top: auto; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 580; letter-spacing: 0.005em; line-height: 1.1; }
.metric-card p { margin: 9px 0 0; color: #8b8e8a; font-size: 0.68rem; }
.metric-card--dark { border-color: #dfe2e3; background: #fff; color: #111; }
.metric-card--dark > span, .metric-card--dark p { color: #777c7e; }
.earnings-note { display: flex; gap: 12px; margin-top: 18px; padding: 15px 17px; border: 1px solid #dedfdd; border-radius: 4px; background: #fff; color: #686b67; font-size: 0.72rem; }
.earnings-note > span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #bfc1bd; border-radius: 50%; font-size: 0.62rem; }
.earnings-note p { margin: 1px 0 0; }
.summary-shell--profile { max-width: 980px; }
.profile-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.profile-title-row .profile-edit { min-height: 40px; padding: 0 14px; border: 1px solid #cfd1ce; border-radius: 3px; background: #fff; font-size: 0.72rem; }
.profile-title-row .profile-edit svg { width: 15px; height: 15px; }
.summary-shell--profile .profile-report { grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 0; padding: 8px 24px 24px; border: 1px solid #dedfdd; border-top: 0; border-radius: 0 0 5px 5px; background: #fff; }
.summary-shell--profile .profile-report > div { min-height: 82px; display: flex; flex-direction: column; justify-content: center; padding: 15px 0; }
.summary-shell--profile .profile-report span { font-size: 0.68rem; }
.summary-shell--profile .profile-report strong, .summary-shell--profile .profile-report a { margin-top: 5px; font-size: 0.84rem; }
.summary-shell--profile .profile-form { margin-top: 0; padding: 24px; border: 1px solid #dedfdd; border-top: 0; border-radius: 0 0 5px 5px; background: #fff; }
.summary-shell--profile .profile-form label { font-size: 0.72rem; }
.summary-shell--profile .profile-form input, .summary-shell--profile .profile-form textarea { min-height: 45px; padding: 10px 11px; font-size: 0.82rem; }

.recruiter-home-page .candidate-modal { width: min(calc(100% - 30px), 690px); }
.recruiter-home-page .candidate-modal__surface { padding: 28px; border: 1px solid #dadcd8; border-radius: 5px; background: #fff; box-shadow: 0 24px 80px rgba(20,22,19,0.22); backdrop-filter: none; -webkit-backdrop-filter: none; }
.recruiter-home-page .candidate-modal__head h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.recruiter-home-page .candidate-modal__head p.candidate-modal__role { margin-top: 5px; font-size: 0.76rem; }
.recruiter-home-page .candidate-form { margin-top: 24px; }
.recruiter-home-page .candidate-form > label, .recruiter-home-page .candidate-form__grid label { margin-top: 14px; font-size: 0.72rem; }
.recruiter-home-page .candidate-form__grid label { margin-top: 0; }
.recruiter-home-page .candidate-form input, .recruiter-home-page .candidate-form textarea { min-height: 43px; padding: 9px 10px; font-size: 0.78rem; }
.recruiter-home-page .candidate-auth { margin-top: 15px; }
.recruiter-home-page .candidate-auth > span { font-size: 0.72rem; }
.recruiter-home-page .candidate-auth label span { min-height: 35px; padding-inline: 10px; }
.recruiter-home-page .candidate-form__actions button { min-height: 39px; padding-inline: 15px; font-size: 0.74rem; }

@media (max-width: 1040px) {
  .recruiter-app { grid-template-columns: 78px minmax(0, 1fr); }
  .opportunities-view { grid-template-columns: minmax(340px, 44%) minmax(0, 56%); }
  .role-detail__actions { left: calc(78px + (100vw - 78px) * 0.44); }
  .detail-title-row { display: block; }
  .detail-payout { margin-top: 17px; padding: 0; border: 0; text-align: left; }
  .detail-payout span, .detail-payout strong { display: inline; }
  .detail-payout strong { margin-left: 8px; font-size: 1rem; }
  .earnings-grid { grid-template-columns: 1fr 1fr; }
  .metric-card--dark { grid-column: 1 / -1; }
}

@media (max-width: 779px) {
  body.recruiter-home-page { overflow: hidden; }
  .recruiter-app { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 66px; }
  .recruiter-rail { grid-row: 2; position: relative; width: 100%; height: 66px; flex-direction: row; align-items: stretch; border: 0; border-top: 1px solid #dfe1de; }
  .rail-brand, .rail-foot { display: none; }
  .rail-nav { width: 100%; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 5px 8px; }
  .rail-link { min-height: 55px; border-radius: 3px; }
  .recruiter-views, .recruiter-app > .home-loading { grid-row: 1; grid-column: 1; height: calc(100svh - 66px); }
  .opportunities-view { grid-template-columns: 1fr; }
  .role-browser { height: calc(100svh - 66px); border: 0; }
  .role-browser__head { padding: 25px 18px 17px; }
  .role-list { padding: 12px 12px 25px; }
  .role-card { min-height: 154px; }
  .role-detail { position: fixed; z-index: 30; inset: 0 0 66px; height: auto; padding-bottom: 72px; transform: translateX(102%); transition: transform 260ms var(--ease); }
  .role-detail.is-mobile-open { transform: none; }
  .mobile-detail-back { position: sticky; z-index: 12; top: 0; width: calc(100% + 40px); height: 42px; display: flex; align-items: center; margin: -34px -20px 28px; padding: 0 18px; border: 0; border-bottom: 1px solid #dedfdd; background: rgba(255,255,255,0.95); color: #555854; font-size: 0.7rem; cursor: pointer; backdrop-filter: blur(10px); }
  .role-detail__head, .detail-section { padding-inline: 20px; }
  .role-detail__head::after, .candidate-section::after { right: 20px; left: 20px; }
  .role-detail { padding-bottom: 92px; }
  .role-detail__actions { right: 0; bottom: 66px; left: 0; height: 92px; flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; padding: 9px 14px; }
  .footer-referral { text-align: center; }
  .candidate-add--primary { width: 100%; min-height: 39px; }
  .summary-view { height: calc(100svh - 66px); }
  .summary-shell { padding: 32px 16px; }
  .earnings-grid { grid-template-columns: 1fr; }
  .metric-card--dark { grid-column: auto; }
  .profile-title-row { align-items: flex-start; }
  .summary-shell--profile .profile-report { grid-template-columns: 1fr; gap: 0; }
  .summary-shell--profile .profile-report__wide { grid-column: auto; }
  .candidate-ledger__labels { display: none; }
  .candidate-ledger { border-top: 0; }
  .candidate-ledger__row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 15px 12px; }
  .candidate-ledger__role { grid-column: 1; }
  .candidate-ledger__row .candidate-status { grid-column: 2; grid-row: 1; }
  .candidate-ledger__row time { grid-column: 1; }
  .candidate-ledger__row button { grid-column: 2; grid-row: 3; }
}

@media (max-width: 520px) {
  .detail-title-row h2 { font-size: 1.42rem; }
  .detail-section__head { align-items: flex-start; }
  .brief-section .detail-section__head { display: grid; }
  .brief-section .copy-markdown { width: max-content; }
  .recruiter-home-page .candidate-modal__surface { padding: 20px 17px; }
  .recruiter-home-page .candidate-form__grid { grid-template-columns: 1fr; gap: 12px; }
  .recruiter-home-page .candidate-form__grid label + label { margin-top: 0; }
  .recruiter-home-page .candidate-auth { flex-wrap: wrap; }
  .candidate-row summary { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 12px; }
  .candidate-row summary time { display: none; }
  .candidate-row__body { grid-template-columns: 1fr; }
  .candidate-empty { align-items: stretch; flex-direction: column; gap: 12px; }
  .candidate-empty__action { width: 100%; }
  .recruiter-home-page .candidate-auth > span { flex-basis: 100%; }
  .profile-title-row { display: grid; }
}
