:root {
  --paper: #f5f6f2;
  --ink: #133c30;
  --line: #d8e1da;
  --surface-shadow: 0 10px 28px rgb(19 60 48 / 7%);
}

.compact-page .topbar {
  min-height: 70px;
}
.compact-page .topbar nav a[aria-current="page"] {
  border-color: #31775d;
}

.search-hero {
  background: linear-gradient(112deg, #11372c 35%, #225c47);
  color: #fff;
}
.search-hero .page-intro {
  padding-block: clamp(26px, 3.4vw, 50px) clamp(55px, 6vw, 85px);
}
.search-hero h1 {
  font-size: clamp(39px, 6vw, 70px);
  letter-spacing: -.055em;
  line-height: 1.02;
}
.search-hero h1 em {
  color: #ddf995;
}
.search-hero .intro {
  color: #e0ebe3;
}
.job-search-page .directory {
  position: relative;
  margin-top: -33px;
}
.job-search-page #filters {
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
}
.compact-page .search-field,
.compact-page .multi-filter > summary {
  background: #f8faf7;
}
.compact-page .multi-filter > summary:hover {
  background: #eff5ef;
}
.compact-page .results-bar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-top: 24px;
}
.compact-page .card,
.resume-panel,
.match-card {
  border-radius: 14px;
  box-shadow: 0 2px 6px rgb(19 60 48 / 4%);
}
.job-card .job-title a {
  font-weight: 700;
}
.job-byline,
.job-location {
  font-size: 13px;
}
.job-badge {
  font-size: 11px;
  border-radius: 20px;
}
.job-card .career-link,
#find-matches {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}
#find-matches:hover:not(:disabled) {
  background: #285c49;
}
#find-matches:disabled {
  opacity: .65;
  cursor: wait;
}
.resume-page .intro {
  max-width: 700px;
  margin-block: 0 12px;
}
.resume-page h1 {
  margin-bottom: 12px;
}
.resume-page #privacy {
  color: var(--muted);
  font-size: .875rem;
}
.resume-page select,
.resume-page textarea {
  margin-top: 6px;
}
.resume-panel label {
  font-weight: 650;
}

@media (max-width: 760px) {
  .compact-page .topbar {
    min-height: 64px;
  }
  .search-hero .page-intro {
    padding-bottom: 55px;
  }
  .compact-page .search-controls > .multi-filter-field:last-child .multi-filter-options {
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 40px));
  }
}
