/* OneJobs product system
   A single visual source for the public board, authentication and workspaces. */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-subtle: #f1f3f6;
  --surface-blue: #f3f6ff;
  --ink: #161b26;
  --ink-2: #4d5667;
  --ink-3: #747d8d;
  --line: #e1e5eb;
  --line-strong: #cdd3dc;
  --primary: #2457d6;
  --primary-hover: #1d48b8;
  --primary-ink: #173b95;
  --primary-soft: #eaf0ff;
  --success: #187a55;
  --success-soft: #eaf6f0;
  --warning: #9a5a08;
  --warning-soft: #fff5df;
  --danger: #bd3446;
  --danger-soft: #fff0f2;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1220px;
  --workspace: 1280px;
  --header-h: 68px;
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-sm: 0 8px 26px rgba(16, 24, 40, .07);
  --shadow-lg: 0 24px 64px rgba(16, 24, 40, .14);
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 32px;
  --s8: 40px;
  --s9: 48px;
  --s10: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; }
p, h1, h2, h3, h4, dl, dd, ul, ol { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; }
h1 { font-size: clamp(34px, 4vw, 52px); }
h2 { font-size: clamp(23px, 2.5vw, 30px); }
h3 { font-size: 17px; }
ul, ol { padding-left: 1.25rem; }
::selection { background: #cbd9ff; color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid rgba(36, 87, 214, .25);
  outline-offset: 2px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.icon--xs { width: 14px; height: 14px; }
.icon--s { width: 16px; height: 16px; }
.eyebrow {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.25;
  text-transform: uppercase;
}
.lede { max-width: 64ch; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.small { font-size: 13px; }
.caption { color: var(--ink-3); font-size: 12px; line-height: 1.45; }
.muted, .faint { color: var(--ink-3); }
.num, .job-card__salary, .stat strong { font-variant-numeric: tabular-nums; }
.pull-right { margin-left: auto; }
.align-end { align-self: end; }

/* Header and account menu */
.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  height: var(--header-h);
  border-bottom: 1px solid rgba(205, 211, 220, .78);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin-inline: auto;
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 17px; font-weight: 700; letter-spacing: -.035em; }
.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
}
.brand__mark svg { width: 19px; height: 19px; stroke-width: 2.15; }
.brand__mark--soft { background: var(--primary-soft); color: var(--primary); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav--mobile { display: none; }
.nav__link {
  display: inline-flex;
  min-height: 38px;
  padding: 0 12px;
  align-items: center;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--surface-subtle); color: var(--ink); }
.nav__link--cta { color: var(--primary); }
.nav-auth { display: inline-flex; }
.menu { position: relative; margin-left: 4px; }
.avatar-btn {
  display: inline-flex;
  min-height: 38px;
  padding: 3px 6px;
  align-items: center;
  gap: 4px;
  border-radius: var(--r-sm);
  background: transparent;
}
.avatar-btn:hover { background: var(--surface-subtle); }
.avatar-btn .chev { color: var(--ink-3); }
.menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: 250px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.menu.open .menu__panel { display: block; }
.menu__head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); }
.menu__head .name { font-weight: 650; }
.menu__head .email { margin-top: 2px; overflow: hidden; color: var(--ink-3); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.menu__item {
  display: flex;
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
  padding: 0 9px;
  align-items: center;
  gap: 9px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
}
.menu__item svg { width: 16px; height: 16px; }
.menu__item:hover { background: var(--surface-subtle); color: var(--ink); }
.menu__item--danger { color: var(--danger); }

/* Buttons, fields and shared surfaces */
.btn {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { border-color: var(--primary); background: var(--primary); color: #fff; }
.btn--primary:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.btn--secondary { border-color: var(--line-strong); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.btn--secondary:hover { border-color: #aeb6c2; background: #fafbfc; }
.btn--ghost { border-color: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: var(--surface-subtle); color: var(--ink); }
.btn--danger { border-color: #e8b7bf; background: var(--surface); color: var(--danger); }
.btn--danger:hover { background: var(--danger-soft); }
.btn--success { color: var(--success); }
.btn--lg { min-height: 50px; padding-inline: 22px; font-size: 14px; }
.btn--sm { min-height: 36px; padding-inline: 12px; font-size: 12.5px; }
.btn--block { width: 100%; }
.btn--icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-2);
}
.btn--icon:hover { border-color: var(--line); background: var(--surface-subtle); color: var(--ink); }
.btn--icon.is-disabled, .btn.is-disabled { opacity: .32; pointer-events: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.is-loading::after {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  color: var(--ink-3);
  content: "";
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.text-link, .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 650;
}
.text-link:hover, .link-more:hover { color: var(--primary-hover); }
.link-more svg, .text-link svg { transition: transform .16s ease; }
.link-more:hover svg, .text-link:hover svg { transform: translateX(2px); }

.field { position: relative; display: grid; gap: 7px; min-width: 0; }
.field > span:not(.field__icon), .field__label { color: var(--ink-2); font-size: 12px; font-weight: 650; }
.field em, .caption em { color: var(--ink-3); font-style: normal; font-weight: 500; }
.field input, .field select, .field textarea,
.input, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea, .textarea { min-height: 120px; padding-block: 11px; line-height: 1.55; resize: vertical; }
.field select, .select { padding-right: 34px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa2af; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus,
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 87, 214, .12);
}
.field .field__icon { position: absolute; z-index: 1; top: 14px; left: 12px; color: var(--ink-3); }
.field .field__icon + input { padding-left: 39px; }
.field small { color: var(--ink-3); font-size: 11px; }
.field--file { padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: #fafbfc; }
.field--file .field__icon { position: static; }
.field--file input { min-height: auto; padding: 0; border: 0; background: transparent; }
.file-hint { color: var(--ink-3); font-size: 11px; }
.select--sm { min-height: 34px; padding: 0 30px 0 10px; border-radius: 7px; font-size: 12px; }
.input--bare { min-height: 36px; border-color: transparent; background: transparent; }
.input--bare:hover { border-color: var(--line); background: var(--surface); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 62px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 6px;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 650;
  transform: translateY(-50%);
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip, .badge, .meta-item, .badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.chip { min-height: 29px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 11px; }
.badge { min-height: 24px; padding: 0 8px; background: var(--surface-subtle); color: var(--ink-2); font-size: 10.5px; font-weight: 650; letter-spacing: .01em; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--outline { border: 1px solid var(--line); background: transparent; }
.meta-item { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 12px; }
.meta-item svg { width: 14px; height: 14px; color: var(--ink-3); }
.meta-item--salary { color: var(--ink); font-weight: 650; }
.logo-block, .avatar {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: none;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-subtle);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.logo-block img, .avatar img { width: 100%; height: 100%; object-fit: cover; }
.logo-block--lg { width: 64px; height: 64px; border-radius: 14px; font-size: 17px; }
.avatar { border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); }
.avatar--xs { width: 28px; height: 28px; font-size: 10px; vertical-align: middle; }
.avatar--lg { width: 46px; height: 46px; font-size: 15px; }

/* Home */
.home-hero {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  padding: 96px 0 82px;
}
.home-hero__copy { display: grid; max-width: 920px; gap: 20px; }
.home-hero h1 { max-width: 14ch; font-size: clamp(48px, 6.5vw, 78px); font-weight: 650; letter-spacing: -.055em; line-height: .98; }
.home-hero__lede { max-width: 63ch; color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto;
  gap: 0;
  max-width: 930px;
  margin-top: 40px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(22, 27, 38, .08);
}
.home-search__field { position: relative; display: flex; min-width: 0; align-items: center; border-right: 1px solid var(--line); }
.home-search__field .field__icon { position: absolute; left: 15px; color: var(--ink-3); }
.home-search__field input { width: 100%; height: 50px; min-width: 0; padding: 0 14px 0 43px; border: 0; outline: 0; background: transparent; }
.home-search__field input::placeholder { color: #8b94a2; }
.home-search .btn { min-width: 132px; }
.home-hero__links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; max-width: 930px; margin-top: 16px; color: var(--ink-3); font-size: 12px; }
.home-hero__links > span { font-weight: 600; }
.home-hero__links a { color: var(--ink-2); font-weight: 600; }
.home-hero__links a:hover { color: var(--primary); }
.home-hero__links .home-hero__all { display: inline-flex; gap: 5px; align-items: center; margin-left: auto; color: var(--primary); }
.section { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section__head > div { display: grid; gap: 8px; }
.section__head h2 { font-size: 27px; }
.home-board { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.home-board > * { min-width: 0; }
.home-board__disciplines { position: sticky; top: calc(var(--header-h) + 28px); }
.discipline-list { border-top: 1px solid var(--line-strong); }
.discipline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 53px;
  padding: 0 4px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.discipline-item:hover { color: var(--primary); }
.discipline-item__body { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; }
.discipline-item__body strong { overflow: hidden; font-size: 13px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.discipline-item__body span { color: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.discipline-item__arrow { color: var(--ink-3); }
.discipline-item__arrow svg { width: 14px; height: 14px; }
.company-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.company-directory__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  min-height: 84px;
  padding: 16px;
  align-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.company-directory__item:nth-child(3n) { border-right: 0; }
.company-directory__item:nth-last-child(-n + 3) { border-bottom: 0; }
.company-directory__item:hover { background: var(--surface-blue); }
.company-directory__body { display: grid; min-width: 0; gap: 3px; }
.company-directory__body strong { overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.company-directory__body span { color: var(--ink-3); font-size: 11px; }
.company-directory__arrow { color: var(--ink-3); }
.company-directory__arrow svg { width: 15px; height: 15px; }
.recruiter-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 72px;
  padding: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.recruiter-cta__copy { display: grid; align-content: start; justify-items: start; }
.recruiter-cta h2 { max-width: 18ch; margin-top: 12px; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.045em; }
.recruiter-cta__copy > p:not(.eyebrow) { max-width: 55ch; margin-top: 16px; color: var(--ink-2); }
.recruiter-cta__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 26px; }
.recruiter-cta__summary { align-self: center; }
.recruiter-cta__summary > p { margin-bottom: 9px; color: var(--ink-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.recruiter-cta__summary ul { padding: 0; border-top: 1px solid var(--line); list-style: none; }
.recruiter-cta__summary li { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.recruiter-cta__summary li svg { width: 15px; height: 15px; color: var(--success); }

/* Job rows */
.jobs-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.job-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(190px, .8fr) minmax(150px, .55fr) 38px;
  gap: 22px;
  min-height: 112px;
  padding: 18px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background-color .15s ease;
}
.job-card:last-child { border-bottom: 0; }
.job-card:hover { background: var(--surface-blue); }
.job-card__identity { display: flex; min-width: 0; gap: 14px; align-items: center; }
.job-card__logo { width: 50px; height: 50px; border-radius: 10px; }
.job-card__intro { min-width: 0; }
.job-card__company { display: flex; min-width: 0; gap: 5px; align-items: center; color: var(--ink-3); font-size: 11.5px; font-weight: 620; }
.job-card__company > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card__company svg { flex: none; width: 13px; height: 13px; color: var(--success); }
.job-card__title { margin-top: 4px; overflow: hidden; font-size: 17px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.job-card__title a:hover { color: var(--primary); }
.card-link-stretch::after { position: absolute; z-index: 1; inset: 0; content: ""; }
.job-card__mobile-meta { display: none; }
.job-card__details { display: grid; min-width: 0; gap: 5px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--ink-2); font-size: 11.5px; }
.job-card__detail-line, .job-card__posted, .job-card__level { display: inline-flex; min-width: 0; gap: 7px; align-items: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card__detail-icon { display: inline-flex; flex: none; color: var(--ink-3); }
.job-card__detail-icon svg { width: 13px; height: 13px; }
.job-card__category { color: var(--ink-3); font-size: 10px; text-transform: uppercase; }
.job-card__compensation { display: grid; min-width: 0; gap: 5px; }
.job-card__salary { color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.job-card__salary--muted { color: var(--ink-3); font-weight: 550; }
.job-card__level { color: var(--ink-3); font-size: 11px; }
.job-card__actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; }
.job-card__actions .btn--icon { width: 34px; height: 34px; }
.job-card__actions .is-active { background: var(--primary-soft); color: var(--primary); }
.job-card__open { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--ink-3); }
.job-card__open svg { width: 16px; height: 16px; transition: transform .15s ease; }
.job-card:hover .job-card__open { color: var(--primary); }
.job-card:hover .job-card__open svg { transform: translateX(2px); }

/* Search and result pages */
.page-head { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; padding: 58px 0 22px; }
.page-head__inner { display: grid; max-width: 760px; gap: 12px; }
.page-head h1 { font-size: clamp(38px, 5vw, 54px); }
.page-head--compact { padding-bottom: 32px; }
.page-head--compact h1 { font-size: clamp(34px, 4vw, 46px); }
.jobs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  padding: 24px 0 80px;
}
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.filters__toggle { display: none; }
.filter-form { display: grid; gap: 23px; }
.filter-form__head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 650; }
.filter-reset { color: var(--ink-3); font-size: 12px; }
.filter-reset:hover, .filter-reset--active { color: var(--primary); }
.filter-group { display: grid; gap: 10px; }
.filter-group .field + .field { margin-top: 2px; }
.filter-group__title { color: var(--ink-3); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-radios { display: grid; gap: 2px; }
.filter-radios--tall { max-height: 218px; overflow-y: auto; scrollbar-width: thin; }
.filter-radio { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; min-height: 34px; padding: 0 6px; align-items: center; gap: 7px; border-radius: 7px; color: var(--ink-2); font-size: 12px; cursor: pointer; }
.filter-radio:hover { background: var(--surface-subtle); }
.filter-radio input { width: 15px; height: 15px; margin: 0; accent-color: var(--primary); }
.filter-radio em { color: var(--ink-3); font-size: 10px; font-style: normal; }
.filter-radio:has(input:checked) { background: var(--primary-soft); color: var(--primary-ink); font-weight: 620; }
.results { min-width: 0; }
.results__bar { display: flex; min-height: 44px; margin-bottom: 13px; align-items: center; justify-content: space-between; gap: 18px; }
.results__count { color: var(--ink-2); font-size: 13px; }
.results__count strong { color: var(--ink); }
.results__sort { display: inline-flex; align-items: center; gap: 9px; }
.results__sort select { min-height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); outline: 0; background: var(--surface); color: var(--ink-2); font-size: 12px; }
.pagination { display: flex; margin-top: 18px; align-items: center; justify-content: space-between; gap: 18px; }
.pagination__info { color: var(--ink-3); font-size: 11px; }
.pagination__nav { display: flex; gap: 6px; }
.empty { display: grid; min-height: 270px; padding: 42px 24px; place-items: center; align-content: center; justify-items: center; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--surface); text-align: center; }
.empty__icon { display: grid; width: 44px; height: 44px; margin-bottom: 15px; place-items: center; border-radius: 50%; background: var(--surface-subtle); color: var(--ink-2); }
.empty h3 { margin-bottom: 7px; }
.empty p { max-width: 44ch; color: var(--ink-3); font-size: 13px; }
.empty .btn { margin-top: 18px; }

/* Job and company detail */
.breadcrumb { display: flex; width: min(calc(100% - 48px), var(--container)); margin: 0 auto; padding: 32px 0 0; align-items: center; gap: 7px; color: var(--ink-3); font-size: 11px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current="page"] { overflow: hidden; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.job-hero, .company-hero {
  display: flex;
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 42px 0 40px;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.job-hero__brand, .company-hero__brand { display: flex; min-width: 0; gap: 18px; align-items: flex-start; }
.job-hero__brand > div, .company-hero__brand > div { min-width: 0; }
.job-hero h1, .company-hero h1 { max-width: 18ch; margin-top: 9px; font-size: clamp(34px, 4.6vw, 54px); }
.job-hero__company { display: inline-flex; margin-top: 10px; align-items: center; gap: 6px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.job-hero__company:hover { color: var(--primary); }
.job-hero__company svg { width: 15px; height: 15px; color: var(--success); }
.job-hero__meta, .company-hero__facts { display: flex; max-width: 440px; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
  padding: 48px 0 84px;
}
.job-body { min-width: 0; }
.job-summary { max-width: 68ch; padding-bottom: 30px; color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.6; }
.prose { max-width: 74ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.78; }
.prose + .prose { margin-top: 38px; }
.prose h2 { margin-bottom: 14px; color: var(--ink); font-size: 22px; }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { display: grid; gap: 9px; margin: 0; }
.prose li::marker { color: var(--primary); }
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.apply-rail { min-width: 0; }
.apply-card, .company-card-mini { padding: 22px; }
.apply-card--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.apply-card h2 { margin-bottom: 8px; font-size: 19px; }
.apply-card > * + * { margin-top: 15px; }
.applied-check { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 650; }
.applied-check svg { width: 18px; height: 18px; }
.apply-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.company-card-mini { margin-top: 13px; }
.company-card-mini h3 { margin-bottom: 9px; }
.company-card-mini p { margin-bottom: 15px; color: var(--ink-2); font-size: 13px; }
.company-facts { display: grid; gap: 6px; margin-bottom: 16px; }
.company-facts > div { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.company-facts dt { color: var(--ink-3); }
.company-facts dd { font-weight: 600; }
.company-hero__brand h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.company-hero__brand p { margin-top: 7px; color: var(--ink-2); }
.company-layout { display: grid; grid-template-columns: minmax(250px, .55fr) minmax(0, 1fr); gap: 72px; width: min(calc(100% - 48px), var(--container)); margin-inline: auto; padding: 50px 0 84px; }
.company-about h2 { margin-bottom: 12px; }
.company-roles { min-width: 0; }

/* Authentication */
.auth-page #main { min-height: calc(100dvh - var(--header-h)); }
.auth-page .site-footer { display: none; }
.auth-shell { display: grid; min-height: calc(100dvh - var(--header-h)); padding: 56px 20px; place-items: center; }
.auth-card { width: min(100%, 470px); padding: 34px; }
.auth-card--account { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.auth-card__head { display: grid; justify-items: center; gap: 10px; margin-bottom: 26px; text-align: center; }
.auth-card__head--left { grid-template-columns: auto minmax(0, 1fr); align-items: start; justify-items: start; gap: 15px; text-align: left; }
.auth-card__head h1 { font-size: 28px; }
.auth-card__head p:not(.eyebrow) { color: var(--ink-3); font-size: 13px; }
.auth-brand { display: inline-flex; }
.auth-form { display: grid; gap: 16px; }
.auth-field > span:first-child { color: var(--ink-2); font-size: 12px; font-weight: 650; }
.auth-switch { margin-top: 19px; color: var(--ink-3); font-size: 12.5px; text-align: center; }
.auth-switch a { color: var(--primary); font-weight: 650; }
.divider { display: flex; margin: 22px 0; align-items: center; gap: 10px; color: var(--ink-3); font-size: 11px; }
.divider::before, .divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.google-btn { min-height: 46px; }
.demo-access { margin-top: 18px; border-top: 1px solid var(--line); }
.demo-access summary { padding: 14px 0 0; color: var(--ink-3); font-size: 11px; cursor: pointer; }
.demo-access__list { display: grid; gap: 2px; margin-top: 8px; }
.demo-access__button { display: flex; width: 100%; padding: 9px 6px; justify-content: space-between; align-items: center; background: transparent; color: var(--ink-2); font-size: 12px; text-align: left; }
.demo-access__button:hover { color: var(--primary); }
.account-type { display: grid; gap: 8px; margin: 2px 0; padding: 0; border: 0; }
.account-type legend { margin-bottom: 7px; color: var(--ink-2); font-size: 12px; font-weight: 650; }
.account-type label { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.account-type label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.account-type input { width: 15px; height: 15px; margin-top: 3px; accent-color: var(--primary); }
.account-type strong, .account-type small { display: block; }
.account-type strong { font-size: 13px; }
.account-type small { margin-top: 2px; color: var(--ink-3); font-size: 11px; }
.role-card { width: min(100%, 620px); }
.role-picker { display: grid; gap: 10px; }
.role-option { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.role-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.role-option input { position: absolute; opacity: 0; }
.role-option__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; background: var(--surface-subtle); color: var(--ink-2); }
.role-option__text { display: grid; gap: 3px; }
.role-option__text small { color: var(--ink-3); }

/* Workspaces, forms and data tables */
.ws-page #main { min-height: calc(100dvh - var(--header-h)); }
.ws-page .site-footer { display: none; }
.ws-shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 44px;
  width: min(calc(100% - 48px), var(--workspace));
  margin-inline: auto;
  padding: 34px 0 80px;
}
.ws-shell--single { grid-template-columns: 1fr; }
.ws-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; min-width: 0; height: max-content; flex-direction: column; gap: 18px; }
.ws-nav__profile { display: flex; min-width: 0; gap: 11px; padding-bottom: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.ws-nav__profile > div { min-width: 0; }
.ws-nav__profile strong, .ws-nav__profile .caption { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-nav__profile strong { font-size: 13px; }
.ws-tabs { display: grid; gap: 3px; }
.ws-tab { display: flex; min-height: 39px; padding: 0 10px; align-items: center; gap: 9px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 12.5px; font-weight: 580; }
.ws-tab svg { width: 16px; height: 16px; color: var(--ink-3); }
.ws-tab:hover { background: var(--surface-subtle); color: var(--ink); }
.ws-tab.is-active { background: var(--primary-soft); color: var(--primary-ink); font-weight: 650; }
.ws-tab.is-active svg { color: var(--primary); }
.ws-tab em { min-width: 20px; padding: 1px 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.7); color: var(--ink-3); font-size: 10px; font-style: normal; text-align: center; }
.ws-nav__cta { width: 100%; }
.ws-main { min-width: 0; }
.ws-main--full { max-width: 1040px; margin-inline: auto; }
.ws-head { display: flex; margin-bottom: 30px; align-items: end; justify-content: space-between; gap: 24px; }
.ws-head > div { display: grid; gap: 9px; }
.ws-head h1 { font-size: clamp(32px, 4vw, 45px); }
.ws-main > section + section { margin-top: 42px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; margin-bottom: 34px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.stat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { display: grid; min-height: 104px; padding: 18px; align-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__label { color: var(--ink-3); font-size: 11px; font-weight: 600; }
.stat strong { font-size: 27px; font-weight: 650; letter-spacing: -.04em; }
.stat--mini { text-align: left; }
.completion-card { display: grid; gap: 14px; margin-bottom: 36px; padding: 22px; }
.completion-card__row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.completion-card__row p { margin-top: 4px; font-size: 12px; }
.ring { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--p) * 1deg), var(--surface-subtle) 0); }
.ring span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--surface); color: var(--primary-ink); font-size: 10px; font-weight: 700; }
.progress { height: 5px; overflow: hidden; border-radius: var(--r-pill); background: var(--surface-subtle); }
.progress__bar { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-2-slim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3-slim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form-page { padding-bottom: 80px; }
.form-card { display: grid; gap: 19px; padding: 24px; }
.form-card--wide { width: min(calc(100% - 48px), 980px); margin-inline: auto; }
.job-form { gap: 0; padding: 0; overflow: hidden; }
.form-section { display: grid; gap: 16px; padding: 28px; border-bottom: 1px solid var(--line); }
.form-section--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.form-section > div { display: grid; align-content: start; gap: 14px; }
.form-section h2 { margin-bottom: 2px; font-size: 18px; }
.form-actions { display: flex; padding: 22px 28px; align-items: center; justify-content: flex-end; gap: 9px; }
.resume-card { height: max-content; padding: 24px; }
.resume-card > * + * { margin-top: 14px; }
.resume-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; padding: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.resume-file__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 8px; background: var(--primary-soft); color: var(--primary); }
.resume-file strong, .resume-file .caption { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-file__actions { display: flex; gap: 6px; }
.resume-upload { display: grid; gap: 12px; }
.notice { display: flex; gap: 10px; padding: 13px; border: 1px solid #d4def7; border-radius: var(--r-sm); background: var(--surface-blue); color: var(--ink-2); font-size: 12px; }
.notice svg { width: 16px; height: 16px; flex: none; color: var(--primary); }
.app-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.app-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; min-height: 82px; padding: 14px 16px; align-items: center; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.app-row:last-child { border-bottom: 0; }
.app-row:hover { background: var(--surface-blue); }
.app-row__main { display: grid; min-width: 0; gap: 3px; }
.app-row__title { font-weight: 650; }
.app-row__title:hover { color: var(--primary); }
.app-row__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.cover-note { max-width: 72ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.legend__item { display: inline-flex; padding-right: 7px; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.legend__item em { color: var(--ink-3); font-size: 10px; font-style: normal; }
.filter-bar { display: flex; gap: 12px; margin-bottom: 18px; padding: 15px; align-items: end; }
.filter-bar .field { min-width: 180px; flex: 1; }
.table { width: 100%; overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th { height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafbfc; color: var(--ink-3); font-size: 10px; font-weight: 700; letter-spacing: .055em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table td { height: 60px; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-blue); }
.table-title { display: inline-block; color: var(--ink); font-weight: 650; }
.table-title:hover { color: var(--primary); }
.table td > .caption { display: block; margin-top: 2px; }
.actions, .row-actions { display: flex; gap: 5px; align-items: center; }
.inline-form { display: inline-flex; align-items: center; gap: 6px; }
.category-edit { width: min(100%, 320px); }
.badge-btn { min-height: 28px; padding: 0 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: 10.5px; }
.badge-btn--on { border-color: #b9dfcf; background: var(--success-soft); color: var(--success); }
.admin-recent { margin-bottom: 42px; }

/* Dialogs, drawers and feedback */
.dialog-veil, .drawer-veil { position: fixed; z-index: 100; inset: 0; display: grid; padding: 20px; background: rgba(15, 19, 28, .44); opacity: 0; transition: opacity .18s ease; }
.dialog-veil { place-items: center; }
.drawer-veil { justify-items: end; }
.dialog-veil.open, .drawer-veil.open { opacity: 1; }
.dialog { width: min(100%, 560px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(8px); transition: transform .18s ease; }
.dialog-veil.open .dialog { transform: translateY(0); }
.dialog__head, .drawer__head { display: flex; padding: 20px; align-items: start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.dialog__head h2, .drawer__head h2 { font-size: 20px; }
.dialog__head p, .drawer__head p { margin-top: 4px; color: var(--ink-3); font-size: 12px; }
.dialog__body, .drawer__body { display: grid; gap: 17px; padding: 20px; }
.drawer { width: min(100%, 520px); height: 100%; overflow-y: auto; border-left: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(20px); transition: transform .18s ease; }
.drawer-veil.open .drawer { transform: translateX(0); }
.drawer-candidate { display: flex; gap: 12px; align-items: center; }
.drawer-section { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer-status { display: grid; gap: 10px; }
.facts { display: grid; gap: 7px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.facts dt { color: var(--ink-3); }
.facts dd { text-align: right; }
.toast-region { position: fixed; z-index: 150; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.toast { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; width: min(360px, calc(100vw - 36px)); padding: 13px 15px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 12.5px; transition: opacity .2s ease, transform .2s ease; }
.toast svg { width: 17px; height: 17px; }
.toast--success svg { color: var(--success); }
.toast--error svg { color: var(--danger); }
.toast--info svg { color: var(--primary); }
.toast.is-out { opacity: 0; transform: translateY(8px); }

/* Footer, legal and errors */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__inner { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; padding: 46px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(280px, 1.5fr) 1fr 1fr; gap: 48px; }
.site-footer__intro { display: grid; align-content: start; justify-items: start; gap: 14px; }
.site-footer__tagline { max-width: 42ch; }
.site-footer h4 { margin-bottom: 12px; color: var(--ink-3); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.site-footer li a { color: var(--ink-2); font-size: 12px; }
.site-footer li a:hover { color: var(--primary); }
.site-footer__bottom { display: flex; margin-top: 40px; padding-top: 18px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11px; }
.site-footer__legal { display: flex; gap: 16px; }
.site-footer__legal a:hover { color: var(--primary); }
.legal-shell { width: min(calc(100% - 48px), 900px); margin-inline: auto; padding-bottom: 80px; }
.legal-shell .breadcrumb { width: 100%; }
.legal-document { padding-top: 46px; }
.legal-document h1 { margin-top: 12px; }
.legal-document__lede { max-width: 66ch; margin-top: 18px; color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.legal-document section { max-width: 72ch; margin-top: 38px; }
.legal-document section h2 { margin-bottom: 10px; font-size: 20px; }
.legal-document section p { color: var(--ink-2); line-height: 1.75; }
.legal-document__note { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11px; }
.error-page { display: grid; min-height: calc(100dvh - var(--header-h)); padding: 64px 20px; place-items: center; align-content: center; justify-items: center; text-align: center; }
.error-page__mark { display: grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.error-page h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 48px); }
.error-page__msg { max-width: 48ch; margin-top: 12px; color: var(--ink-3); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; justify-content: center; }

@media (max-width: 1080px) {
  .home-board { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
  .job-card { grid-template-columns: minmax(250px, 1.3fr) minmax(170px, .75fr) minmax(140px, .55fr) 32px; gap: 16px; }
  .job-layout, .company-layout { gap: 42px; }
  .ws-shell { grid-template-columns: 196px minmax(0, 1fr); gap: 28px; }
  .stat-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid--5 .stat:nth-child(3) { border-right: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .home-hero { padding: 72px 0 64px; }
  .home-board { grid-template-columns: 1fr; }
  .home-board__disciplines { position: static; }
  .discipline-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
  .company-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-directory__item:nth-child(3n) { border-right: 1px solid var(--line); }
  .company-directory__item:nth-child(2n) { border-right: 0; }
  .company-directory__item:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .company-directory__item:nth-last-child(-n + 2) { border-bottom: 0; }
  .recruiter-cta { grid-template-columns: 1fr; gap: 36px; padding: 38px; }
  .recruiter-cta__summary { max-width: 560px; }
  .job-card { grid-template-columns: minmax(260px, 1fr) minmax(150px, auto) 32px; }
  .job-card__details { display: none; }
  .jobs-layout { grid-template-columns: 1fr; gap: 18px; }
  .filters { position: static; padding: 0; }
  .filters__toggle { display: flex; width: 100%; min-height: 48px; padding: 0 15px; align-items: center; justify-content: space-between; gap: 12px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 650; }
  .filters__toggle span { display: inline-flex; align-items: center; gap: 8px; }
  .filter-form { display: none; padding: 0 15px 16px; }
  .filters.is-open .filter-form { display: grid; }
  .filter-radios--tall { max-height: none; }
  .job-layout { grid-template-columns: 1fr; gap: 36px; }
  .apply-rail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .apply-card--sticky { position: static; }
  .company-card-mini { margin-top: 0; }
  .company-layout { grid-template-columns: 1fr; }
  .ws-shell { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .ws-nav { position: static; max-width: 100%; overflow: hidden; gap: 10px; }
  .ws-nav__profile { display: none; }
  .ws-tabs { display: flex; width: 100%; max-width: 100%; overflow-x: auto; gap: 4px; padding-bottom: 3px; scrollbar-width: none; }
  .ws-tabs::-webkit-scrollbar { display: none; }
  .ws-tab { flex: none; white-space: nowrap; }
  .ws-nav__cta { display: none; }
  .form-section--grid { grid-template-columns: 1fr; }
  .stat-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid--4 .stat:nth-child(2n) { border-right: 0; }
  .grid-2.admin-recent { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header__inner, .home-hero, .section, .page-head, .jobs-layout,
  .breadcrumb, .job-hero, .company-hero, .job-layout, .company-layout,
  .ws-shell, .form-card--wide, .site-footer__inner, .legal-shell {
    width: min(calc(100% - 32px), var(--container));
  }
  .nav--desktop { display: none; }
  .nav--mobile { display: flex; }
  .home-hero { padding: 56px 0 48px; }
  .home-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .home-search { grid-template-columns: 1fr; padding: 6px; }
  .home-search__field { border-right: 0; border-bottom: 1px solid var(--line); }
  .home-search .btn { margin-top: 6px; }
  .home-hero__links .home-hero__all { margin-left: 0; }
  .section { padding: 54px 0; }
  .job-card { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 104px; padding: 15px; gap: 12px; }
  .job-card__identity { display: contents; }
  .job-card__logo { grid-column: 1; grid-row: 1; width: 46px; height: 46px; }
  .job-card__intro { grid-column: 2; grid-row: 1; }
  .job-card__title { font-size: 15.5px; }
  .job-card__mobile-meta { display: flex; margin-top: 5px; gap: 10px; color: var(--ink-3); font-size: 10.5px; }
  .job-card__mobile-meta span + span::before { margin-right: 10px; content: "·"; }
  .job-card__compensation { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 9px; }
  .job-card__salary { font-size: 11.5px; }
  .job-card__level { font-size: 10px; }
  .job-card__actions { grid-column: 3; grid-row: 1 / span 2; }
  .job-card__open { width: 26px; }
  .results__bar { align-items: end; }
  .job-hero, .company-hero { display: grid; padding: 32px 0; align-items: start; }
  .job-hero__meta, .company-hero__facts { justify-content: flex-start; }
  .job-hero h1, .company-hero h1 { font-size: 34px; }
  .apply-rail { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__intro { grid-column: 1 / -1; }
  .ws-head { align-items: start; }
  .ws-head .btn { flex: none; }
  .stat-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid--5 .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .stat-grid--5 .stat:nth-child(2n) { border-right: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; }
  .filter-bar .field { min-width: calc(50% - 8px); }
  .table { border-radius: var(--r-sm); }
  .table table { min-width: 680px; }
  .admin-table table { min-width: 760px; }
  .app-row__side { align-items: flex-end; flex-direction: column; }
}

@media (max-width: 540px) {
  .site-header__inner, .home-hero, .section, .page-head, .jobs-layout,
  .breadcrumb, .job-hero, .company-hero, .job-layout, .company-layout,
  .ws-shell, .form-card--wide, .site-footer__inner, .legal-shell {
    width: min(calc(100% - 24px), var(--container));
  }
  .brand { font-size: 16px; }
  .brand__mark { width: 32px; height: 32px; }
  .home-hero { padding-top: 44px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero__lede { font-size: 16px; }
  .home-search { margin-top: 28px; }
  .home-hero__links { gap: 7px 12px; }
  .discipline-list { grid-template-columns: 1fr; }
  .company-directory { grid-template-columns: 1fr; }
  .company-directory__item, .company-directory__item:nth-child(3n), .company-directory__item:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .company-directory__item:last-child { border-bottom: 0; }
  .recruiter-cta { padding: 26px 22px; }
  .recruiter-cta h2 { font-size: 30px; }
  .recruiter-cta__actions { align-items: stretch; flex-direction: column; }
  .recruiter-cta__actions .btn { width: 100%; }
  .page-head { padding-top: 42px; }
  .page-head h1 { font-size: 36px; }
  .jobs-layout { padding-bottom: 58px; }
  .results__bar { flex-wrap: wrap; }
  .results__sort { margin-left: auto; }
  .job-card { grid-template-columns: 42px minmax(0, 1fr) 28px; }
  .job-card__logo { width: 42px; height: 42px; }
  .job-card__compensation { flex-wrap: wrap; }
  .job-card__level { width: 100%; }
  .breadcrumb { padding-top: 22px; }
  .job-hero__brand, .company-hero__brand { gap: 12px; }
  .logo-block--lg { width: 52px; height: 52px; }
  .job-hero h1, .company-hero h1 { font-size: 30px; }
  .job-layout { padding-top: 34px; }
  .job-summary { font-size: 17px; }
  .auth-shell { padding: 26px 12px; }
  .auth-card { padding: 24px 20px; }
  .auth-card__head--left { grid-template-columns: 1fr; }
  .auth-card__head--left .auth-brand { display: none; }
  .ws-head { display: grid; margin-bottom: 24px; }
  .ws-head h1 { font-size: 32px; }
  .ws-head .btn { justify-self: start; }
  .stat-grid, .stat-grid--4, .stat-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 88px; padding: 14px; }
  .stat strong { font-size: 23px; }
  .stat-grid .stat:nth-child(2n) { border-right: 0; }
  .completion-card__row { align-items: flex-start; }
  .form-card { padding: 19px; }
  .job-form { padding: 0; }
  .form-section { padding: 22px 18px; }
  .grid-2-slim, .grid-3-slim { grid-template-columns: 1fr; }
  .form-actions { padding: 18px; align-items: stretch; flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .filter-bar { display: grid; }
  .filter-bar .field { min-width: 0; }
  .app-row { grid-template-columns: auto minmax(0, 1fr); }
  .app-row__side { grid-column: 2; align-items: flex-start; flex-direction: row; justify-content: flex-start; }
  .row-actions { flex-wrap: wrap; }
  .resume-file { grid-template-columns: auto minmax(0, 1fr); }
  .resume-file__actions { grid-column: 2; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__intro { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .dialog-veil, .drawer-veil { padding: 0; }
  .dialog { width: 100%; max-height: 100dvh; overflow-y: auto; border-radius: 0; }
  .drawer { width: 100%; }
}

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