:root {
  color-scheme: light;
  --ink: #172c3c;
  --sub: #576b7a;
  --blue: #175bc4;
  --blue-dark: #123e81;
  --line: #d2dce5;
  --pale: #f2f5f8;
  --navy: #142b3e;
  --white: #fff;
  --success: #276347;
  --amber: #765c23;
  --red: #a32929;
  font-family:
    'IBM Plex Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #4286e4;
  outline-offset: 3px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 550;
  line-height: 1.16;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}
p {
  line-height: 1.75;
}
button {
  transition: background 0.12s;
}
svg {
  max-width: 100%;
}
.shell {
  width: min(1376px, calc(100% - 80px));
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  background: #fff;
  padding: 12px 20px;
  z-index: 100;
  border: 2px solid var(--blue);
}
.skip-link:focus {
  top: 12px;
}
main {
  min-height: 62vh;
}
#main-content:focus {
  outline: none;
}
.demo-banner {
  background: #eaf0f5;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #456070;
  padding: 9px 0;
}
.demo-banner .shell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-banner .shell > span:last-child {
  margin-left: auto;
  letter-spacing: 0;
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: #4c7591;
  border-radius: 50%;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-grid {
  min-height: 88px;
  display: flex;
  gap: 72px;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.8rem;
  letter-spacing: -0.065em;
  font-weight: 650;
  white-space: nowrap;
}
.wordmark:hover {
  text-decoration: none;
}
.wordmark strong {
  font-weight: 400;
  margin-left: 3px;
}
.brand-symbol {
  width: 31px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.07em;
}
.site-header nav {
  display: flex;
  align-items: stretch;
  gap: 34px;
  align-self: stretch;
}
.site-header nav > a {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 3px solid transparent;
  color: #536677;
  font-size: 0.91rem;
  white-space: nowrap;
  padding: 14px 0 11px;
}
.site-header nav > a:hover {
  color: var(--ink);
  text-decoration: none;
  border-bottom-color: #a5bcd2;
}
.site-header nav > a[aria-current='page'] {
  border-bottom-color: var(--blue);
  color: var(--ink);
}
.nav-free {
  font-size: 0.66rem;
  background: #edf3fb;
  color: #376189;
  padding: 2px 5px;
  border: 1px solid #d7e3ef;
}
.header-descriptor {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--sub);
}
.board-page {
  padding-top: 43px;
  padding-bottom: 50px;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 0.71rem;
  line-height: 1.5;
  letter-spacing: 0.095em;
  color: var(--blue);
  font-weight: 650;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.page-heading h1 {
  margin-bottom: 13px;
}
.intro {
  color: var(--sub);
  font-size: 1rem;
  margin: 0;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 0.84rem;
  white-space: nowrap;
  padding-bottom: 5px;
}
.quiet-link > span {
  font-size: 1.2rem;
}
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #aabed0;
  background: var(--pale);
  padding-left: 17px;
  gap: 14px;
  min-height: 56px;
}
.search-icon {
  font-size: 2rem;
  color: #455f73;
  line-height: 1;
}
.search-bar input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 1rem;
}
.search-bar input:focus {
  outline: none;
}
.search-bar:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.search-bar > .button {
  align-self: stretch;
  min-height: 54px;
  min-width: 118px;
  border-radius: 0;
  margin: -1px -1px -1px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 550;
  text-decoration: none;
  line-height: 1.45;
  cursor: pointer;
}
.button:hover {
  text-decoration: none;
  background: #eaf0f5;
  border-color: #a3b3c0;
}
.button-primary,
.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.button-primary:hover,
.button.primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.button-secondary,
.button.secondary {
  color: var(--blue);
  border-color: #9fb6cf;
  background: white;
}
.button-danger,
.button.danger {
  color: var(--red);
  border-color: #d2aaa8;
  background: #fff;
}
.button-danger:hover,
.button.danger:hover {
  background: #fff1ef;
}
.board-layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 32px;
  margin-top: 31px;
}
.filter-column {
  border-right: 1px solid var(--line);
  padding-right: 26px;
}
.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 25px;
}
.filter-heading h2 {
  font-size: 0.93rem;
  margin: 0;
}
.filter-count {
  background: #e7effa;
  color: #225c9e;
  border: 1px solid #cddcf0;
  padding: 2px 7px;
  font-size: 0.72rem;
}
.field,
.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  min-width: 0;
}
.field > label,
.form-field > label {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}
.field input,
.field select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  background: #fff;
  border: 1px solid #afbdca;
  border-radius: 1px;
  padding: 10px 11px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}
.field input::placeholder,
.form-field input::placeholder,
textarea::placeholder {
  color: #748392;
}
.field select,
.form-field select {
  padding-right: 26px;
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-field input[type='checkbox'] {
  width: 20px;
  min-height: 20px;
}
.form-field input[aria-invalid='true'],
.form-field select[aria-invalid='true'],
.form-field textarea[aria-invalid='true'] {
  border: 2px solid var(--red);
}
.field-requirement {
  color: var(--sub);
  font-weight: 400;
  font-size: 0.7rem;
  margin-left: 7px;
}
.field-help,
.helptext {
  font-size: 0.76rem;
  color: var(--sub);
  line-height: 1.65;
}
.field-help a {
  color: var(--blue);
}
.errorlist {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--red);
  font-size: 0.83rem;
  line-height: 1.6;
}
.apply-filters {
  width: 100%;
  margin-top: 2px;
}
.clear-link {
  display: inline-flex;
  font-size: 0.85rem;
  padding-top: 18px;
}
.filter-note {
  margin-top: 33px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.filter-note .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.055em;
  color: var(--sub);
  margin-bottom: 10px;
}
.filter-note > p:last-child {
  font-size: 0.77rem;
  line-height: 1.75;
  color: var(--sub);
  margin: 0;
}
.results-column {
  min-width: 0;
}
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  margin-bottom: 20px;
}
.results-toolbar h2 {
  font-size: 1.1rem;
  margin: 0 0 3px;
}
.results-toolbar p {
  font-size: 0.74rem;
  color: var(--sub);
  margin: 0;
}
.sort-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.79rem;
  color: var(--sub);
}
.sort-field select {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 9px;
  max-width: 160px;
  color: var(--ink);
  height: 39px;
}
.sort-apply {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 11px;
  height: 39px;
  font-size: 1rem;
  color: var(--blue);
}
.list-column-headings {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.05fr) 28px;
  gap: 24px;
  background: var(--pale);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 14px 17px;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--sub);
}
.job-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.05fr) 28px;
  gap: 0 24px;
  padding: 23px 17px 15px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.job-row:hover {
  background: #f8fafc;
}
.job-row-main {
  min-width: 0;
}
.row-category {
  font-size: 0.7rem;
  color: var(--sub);
  margin: 0 0 7px;
  line-height: 1.5;
}
.job-row h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.job-row h3 a {
  color: #174d91;
}
.job-row p.organisation {
  font-size: 0.82rem;
  color: var(--sub);
  margin: 0;
  line-height: 1.6;
}
.job-row-location p,
.job-row-meta p {
  font-size: 0.86rem;
  margin: 0 0 5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.job-row-location span,
.job-row-meta span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--sub);
  margin-bottom: 4px;
}
.job-row-meta .deadline {
  font-size: 0.74rem;
  margin-top: 10px;
  color: #335c80;
}
.row-arrow {
  color: var(--blue);
  font-size: 1.35rem;
  width: 28px;
  height: 30px;
  text-align: center;
  line-height: 1.4;
}
.row-arrow:hover {
  background: #e5eef8;
  text-decoration: none;
}
.job-row-source {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 14px;
  color: #70808b;
  font-size: 0.67rem;
  line-height: 1.6;
}
.job-row-source .stale-note {
  color: #825f28;
}
.results-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 19px 0;
  color: var(--sub);
}
.results-note > span {
  line-height: 1.55;
  font-size: 0.9rem;
}
.results-note > p {
  font-size: 0.74rem;
  line-height: 1.75;
  margin: 0;
}
.empty-state {
  background: var(--pale);
  border-top: 2px solid var(--ink);
  padding: 55px 25px;
  text-align: center;
}
.empty-state .empty-symbol {
  font-size: 2.8rem;
  color: #697f90;
  display: block;
  margin-bottom: 14px;
}
.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.empty-state > p {
  font-size: 0.94rem;
  color: var(--sub);
  margin-bottom: 23px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 0.85rem;
}
.pagination > [aria-disabled] {
  color: #7a8792;
}
.alert-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #cfdeed;
  background: #f0f5fb;
  margin: 43px 0 12px;
  padding: 30px 35px;
}
.alert-callout .eyebrow {
  margin-bottom: 9px;
}
.alert-callout h2 {
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.alert-callout p:last-child {
  font-size: 0.88rem;
  color: var(--sub);
  margin-bottom: 0;
}
.alert-callout .button {
  flex-shrink: 0;
}
.detail-page {
  padding-top: 30px;
  padding-bottom: 60px;
  max-width: 1190px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--sub);
  font-size: 0.8rem;
  margin-bottom: 35px;
}
.breadcrumbs > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.job-header {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 30px;
}
.detail-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.detail-kicker .eyebrow {
  margin: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.71rem;
  background: #edf2f6;
  border: 1px solid var(--line);
  padding: 5px 9px;
  color: var(--sub);
  line-height: 1.35;
}
.tag.green {
  background: #eaf5ee;
  border-color: #c8dfd0;
  color: var(--success);
}
.tag.amber {
  background: #fff5df;
  border-color: #e6d5aa;
  color: var(--amber);
}
.job-header h1 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  max-width: 990px;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}
.job-organisation {
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 9px;
}
.job-location {
  font-size: 0.95rem;
  color: var(--sub);
  margin-bottom: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  margin-top: 36px;
}
.detail-content {
  min-width: 0;
}
.detail-section {
  margin-bottom: 37px;
}
.detail-section > h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.prose {
  font-size: 1.02rem;
  color: #354d5d;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose p {
  line-height: 1.9;
  margin-bottom: 20px;
}
.application-panel {
  align-self: start;
  background: var(--pale);
  padding: 24px;
  min-width: 0;
  border-top: 3px solid var(--blue);
}
.application-panel > .eyebrow {
  font-size: 0.7rem;
  margin-bottom: 10px;
}
.job-facts {
  margin-bottom: 29px;
}
.job-facts > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.job-facts dt {
  font-size: 0.74rem;
  color: var(--sub);
  margin-bottom: 5px;
}
.job-facts dd {
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.job-facts dd > span {
  display: block;
  font-size: 0.76rem;
  color: var(--sub);
  margin-top: 4px;
}
.application-panel h2 {
  font-size: 1rem;
  margin-bottom: 14px;
}
.application-button {
  width: 100%;
  font-size: 0.86rem;
  padding-inline: 12px;
  justify-content: space-between;
  gap: 9px;
}
.application-note {
  font-size: 0.77rem;
  color: var(--sub);
  line-height: 1.75;
  margin: 17px 0 0;
}
.sources-section {
  border-top: 1px solid var(--line);
  padding-top: 29px;
}
.sources-section h2 {
  font-size: 1.22rem;
}
.section-description {
  font-size: 0.88rem;
  color: var(--sub);
  margin-bottom: 20px;
}
.source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 22px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.source-row h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.source-row > div > p {
  font-size: 0.73rem;
  color: var(--sub);
  margin: 0;
}
.source-dates {
  font-size: 0.74rem;
  color: var(--sub);
}
.source-dates > span {
  display: block;
  margin-bottom: 4px;
}
.source-row > .text-link {
  font-size: 0.79rem;
  grid-column: 1/-1;
}
.notice {
  border: 1px solid #c8d9e8;
  border-left: 3px solid #497aab;
  background: #eff5fb;
  padding: 18px 20px;
  font-size: 0.88rem;
  color: #35536c;
  line-height: 1.8;
  margin: 20px 0;
}
.notice p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
}
.notice strong {
  font-size: 0.88rem;
}
.notice-amber {
  background: #fff8e9;
  border-color: #e3d6ba;
  color: #765c23;
}
.notice.success {
  border-color: #b9d6c2;
  background: #edf7f0;
  color: #27573a;
}
.notice.error {
  border-color: #dfbebe;
  background: #fcf1ef;
  color: #8b2b2b;
}
.application-panel .notice {
  font-size: 0.76rem;
  padding: 12px 14px;
  margin-top: 18px;
  margin-bottom: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 29px 0 25px;
  background: #fbfcfd;
  color: var(--sub);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-wordmark {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.footer-grid > div > p {
  font-size: 0.72rem;
  margin: 5px 0 0;
}
.footer-grid > nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}
.footer-grid > nav > a {
  color: #476073;
}
.footer-grid > span {
  font-size: 0.73rem;
  white-space: nowrap;
}
.footer-note {
  font-size: 0.7rem;
  line-height: 1.7;
  margin-top: 24px;
  margin-bottom: 0;
  color: #75848f;
}
.page-header {
  padding: 43px 0 30px;
}
.page-header h1 {
  margin-bottom: 14px;
}
.page-header p:not(.eyebrow) {
  max-width: 740px;
  color: var(--sub);
  font-size: 1rem;
}
.form-page {
  padding: 40px 0 60px;
}
.form-shell {
  max-width: 1120px;
}
.form-layout,
.submission-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 65px;
}
.form-intro,
.submission-guide {
  padding-top: 6px;
}
.form-intro h2,
.submission-guide h2 {
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.form-intro p,
.submission-guide p {
  font-size: 0.85rem;
  color: var(--sub);
  line-height: 1.85;
}
.form-intro .notice,
.submission-guide .notice {
  font-size: 0.8rem;
}
.form-section {
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  min-width: 0;
}
.form-section:first-of-type {
  padding-top: 0;
}
.form-section > legend {
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
  padding: 0;
  float: left;
  width: 100%;
}
.form-section > legend + * {
  clear: both;
}
.form-section > h2,
.form-section > h3 {
  font-size: 1.18rem;
  margin-bottom: 9px;
}
.form-section > p {
  font-size: 0.85rem;
  color: var(--sub);
  margin-bottom: 24px;
}
.form-section fieldset {
  border: 0;
}
.form-section-title {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.form-section-title > span {
  font-size: 0.75rem;
  color: var(--blue);
  padding-top: 6px;
}
.form-section-title h2 {
  font-size: 1.2rem;
  margin: 0 0 7px;
}
.form-section-title p {
  font-size: 0.83rem;
  color: var(--sub);
  margin: 0;
}
.field-grid,
.form-grid,
.form-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.field-grid > .wide,
.field-grid > .full-width,
.span-2,
.form-field-wide {
  grid-column: 1/-1;
}
.form-field:has(textarea) {
  grid-column: 1/-1;
}
.form-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.form-actions {
  justify-content: space-between;
}
.form-actions > p,
.form-actions > span {
  font-size: 0.76rem;
  color: var(--sub);
  margin: 0;
}
.form-actions > .button {
  min-width: 180px;
}
.honeypot,
.verification-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.form-field[hidden] {
  display: none !important;
}
.error-summary {
  border: 2px solid var(--red);
  border-left-width: 5px;
  background: #fff8f6;
  padding: 20px 23px;
  margin-bottom: 28px;
  scroll-margin-top: 20px;
}
.error-summary h2,
.error-summary h3 {
  font-size: 1.1rem;
  color: #852828;
  margin-bottom: 12px;
}
.error-summary ul {
  margin: 0;
  padding-left: 20px;
}
.error-summary li {
  font-size: 0.88rem;
  margin: 5px 0;
}
.error-summary a {
  color: #942d2d;
}
.error-summary:focus {
  outline: none;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  margin: 24px 0;
}
.panel > p {
  color: var(--sub);
}
.stepper,
.submission-steps {
  list-style: none;
  display: flex;
  gap: 25px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin: 0 0 35px;
  color: var(--sub);
  font-size: 0.82rem;
}
.stepper li,
.submission-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stepper [aria-current],
.submission-steps [aria-current] {
  color: var(--blue);
  font-weight: 600;
}
.stepper li > span,
.submission-steps li > span {
  background: var(--pale);
  border: 1px solid var(--line);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.preview-banner {
  border: 1px solid #d9c796;
  background: #fff8e8;
  padding: 17px 22px;
  font-size: 0.85rem;
  color: #725723;
  margin-bottom: 26px;
}
.preview-banner p {
  margin: 0;
}
.receipt-reference {
  font-size: 1rem;
  font-family: monospace;
  overflow-wrap: anywhere;
  padding: 12px;
  background: var(--pale);
  border: 1px solid var(--line);
}
.private-link {
  display: block;
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 0.84rem;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--pale);
  line-height: 1.8;
}
.management-link,
.management-url {
  overflow-wrap: anywhere;
}
.success-page,
.confirmation-page {
  padding: 45px 0 65px;
  max-width: 900px;
}
.success-page h1,
.confirmation-page h1 {
  font-size: 2.3rem;
}
.status-card {
  border-top: 3px solid var(--blue);
  padding: 27px;
  background: var(--pale);
  margin: 25px 0;
}
.status-card h2 {
  font-size: 1.4rem;
}
.job-alert-section {
  padding: 10px 0 55px;
}
.job-alert-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 70px;
  max-width: 1120px;
}
.job-alert-intro {
  padding: 22px 0;
}
.job-alert-intro h2 {
  font-size: 1.6rem;
  line-height: 1.3;
}
.job-alert-intro p:last-child {
  font-size: 0.9rem;
  color: var(--sub);
  line-height: 1.85;
}
.job-alert-form {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--pale);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.alert-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.alert-field label {
  font-size: 0.85rem;
  font-weight: 600;
}
.alert-field input,
.alert-field select {
  width: 100%;
  padding: 11px;
  border: 1px solid #afbdca;
  border-radius: 1px;
  background: white;
  min-height: 45px;
  color: var(--ink);
  font-size: 0.93rem;
}
.alert-email-field {
  grid-column: 1/-1;
}
.alert-submit {
  grid-column: 1/-1;
  justify-self: start;
}
.alert-privacy {
  grid-column: 1/-1;
  font-size: 0.76rem;
  margin: 0;
  color: var(--sub);
}
.alert-form-errors {
  grid-column: 1/-1;
  color: var(--red);
}
.legal-shell {
  max-width: 850px;
}
.legal-content {
  padding-bottom: 60px;
}
.legal-content section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.legal-content section h2 {
  font-size: 1.2rem;
}
.legal-content p {
  color: var(--sub);
  font-size: 0.95rem;
  line-height: 1.85;
}
.message-stack {
  margin-top: 20px;
}
.message-stack .notice {
  margin: 0 0 12px;
}
pre,
code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}
th {
  background: var(--pale);
  font-weight: 600;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.text-link {
  font-size: 0.9rem;
}
.legal-content ul {
  color: var(--sub);
  line-height: 1.8;
}
.manage-page {
  max-width: 1040px;
  padding: 40px 0 60px;
}
.management-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 35px;
}
.history-list {
  padding: 0;
  list-style: none;
}
.history-list li {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  font-size: 0.88rem;
}
.muted {
  color: var(--sub);
}
.small {
  font-size: 0.8rem;
}
.stack > * + * {
  margin-top: 18px;
}
.status-pill {
  display: inline-block;
  background: #eaf1f8;
  border: 1px solid #c9d9e9;
  padding: 5px 9px;
  color: #3d6080;
  font-size: 0.75rem;
}
@media (min-width: 1600px) {
  .shell {
    width: min(1376px, calc(100% - 140px));
  }
  .detail-page {
    max-width: 1190px;
  }
  .form-shell {
    max-width: 1120px;
  }
  .legal-shell {
    max-width: 850px;
  }
}
@media (max-width: 1150px) {
  .shell {
    width: calc(100% - 56px);
  }
  .header-grid {
    gap: 43px;
  }
  .header-descriptor {
    display: none;
  }
  .board-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 24px;
  }
  .filter-column {
    padding-right: 20px;
  }
  .list-column-headings,
  .job-row {
    gap: 0 17px;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.95fr) minmax(
        0,
        1fr
      ) 23px;
    padding-inline: 12px;
  }
  .job-row {
    padding-block: 21px 14px;
  }
  .list-column-headings {
    padding-block: 13px;
  }
  .page-heading > .quiet-link {
    font-size: 0.78rem;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }
  .form-layout,
  .submission-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
  .job-alert-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }
  .footer-grid {
    flex-wrap: wrap;
  }
  .footer-grid > nav {
    gap: 22px;
  }
  .sort-field {
    gap: 6px;
  }
  .sort-field > label {
    display: none;
  }
}
@media (max-width: 850px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header-grid {
    gap: 30px;
    min-height: 80px;
  }
  .site-header nav {
    gap: 25px;
  }
  .wordmark {
    font-size: 1.6rem;
  }
  .brand-symbol {
    width: 28px;
    height: 31px;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .page-heading h1 {
    font-size: 2.5rem;
  }
  .page-heading .quiet-link {
    font-size: 0.85rem;
  }
  .board-page {
    padding-top: 30px;
  }
  .board-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 20px;
  }
  .filter-column {
    padding-right: 18px;
  }
  .list-column-headings {
    display: none;
  }
  .job-list {
    border-top: 2px solid var(--ink);
  }
  .job-row {
    grid-template-columns: minmax(0, 1fr) 25px;
    gap: 0 14px;
    padding: 22px 3px 18px;
  }
  .job-row-main {
    grid-column: 1;
    grid-row: 1;
  }
  .row-arrow {
    grid-column: 2;
    grid-row: 1;
  }
  .job-row-location {
    grid-column: 1/-1;
    margin-top: 13px;
    display: flex;
    align-items: start;
    gap: 5px 15px;
    flex-wrap: wrap;
  }
  .job-row-location > p {
    font-size: 0.83rem;
    margin: 0;
  }
  .job-row-location > span {
    font-size: 0.79rem;
  }
  .job-row-meta {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    margin-top: 9px;
  }
  .job-row-meta > p {
    width: 100%;
    font-size: 0.83rem;
    margin-bottom: 0;
  }
  .job-row-meta > span {
    font-size: 0.79rem;
    margin: 0;
  }
  .job-row-meta .deadline {
    margin: 0;
    font-size: 0.78rem;
  }
  .job-row-source {
    margin-top: 11px;
  }
  .results-toolbar {
    align-items: start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .results-toolbar h2 {
    font-size: 1.06rem;
  }
  .sort-field select {
    height: 35px;
    font-size: 0.78rem;
    max-width: 140px;
  }
  .sort-apply {
    height: 35px;
  }
  .results-toolbar p {
    font-size: 0.69rem;
  }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }
  .job-header h1 {
    font-size: 2.35rem;
  }
  .application-panel {
    padding: 21px;
  }
  .form-layout,
  .submission-layout {
    display: block;
  }
  .form-intro,
  .submission-guide {
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    padding-bottom: 14px;
  }
  .form-intro > p,
  .submission-guide > p {
    max-width: 720px;
  }
  .form-intro .notice,
  .submission-guide .notice {
    display: none;
  }
  .form-intro h2,
  .submission-guide h2 {
    font-size: 1.2rem;
  }
  .field-grid,
  .form-grid {
    gap: 0 20px;
  }
  .alert-callout {
    padding: 26px;
    gap: 20px;
  }
  .alert-callout h2 {
    font-size: 1.4rem;
  }
  .alert-callout p:last-child {
    font-size: 0.8rem;
  }
  .job-alert-grid {
    display: block;
  }
  .job-alert-intro {
    max-width: 700px;
  }
  .job-alert-intro h2 {
    font-size: 1.4rem;
  }
  .management-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > span {
    display: none;
  }
}
@media (max-width: 620px) {
  .shell {
    width: calc(100% - 34px);
  }
  .demo-banner {
    font-size: 0.64rem;
    padding: 8px 0;
  }
  .demo-banner .shell > span:last-child {
    font-size: 0.66rem;
    letter-spacing: 0;
    max-width: 210px;
    text-align: right;
    line-height: 1.5;
  }
  .header-grid {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 17px;
    padding-bottom: 0;
  }
  .wordmark {
    font-size: 1.72rem;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    min-height: 56px;
    gap: 15px;
    margin-top: 7px;
  }
  .site-header nav > a {
    font-size: 0.85rem;
    padding: 10px 0;
  }
  .nav-free {
    font-size: 0.61rem;
  }
  .board-page {
    padding-top: 28px;
  }
  .page-heading h1 {
    font-size: 2.2rem;
  }
  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.065em;
  }
  .intro {
    font-size: 0.93rem;
    line-height: 1.8;
  }
  .page-heading .quiet-link {
    font-size: 0.81rem;
  }
  .search-bar {
    min-height: 52px;
    padding-left: 11px;
    gap: 8px;
  }
  .search-bar input {
    font-size: 0.9rem;
    height: 50px;
  }
  .search-icon {
    font-size: 1.6rem;
  }
  .search-bar > .button {
    min-width: 84px;
    padding: 9px 13px;
    font-size: 0.82rem;
    gap: 8px;
    min-height: 52px;
  }
  .board-layout {
    display: block;
    margin-top: 24px;
  }
  .filter-column {
    padding: 0 0 21px;
    border: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
    margin-bottom: 26px;
  }
  .filter-heading {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .filter-heading h2 {
    font-size: 0.9rem;
  }
  .filter-column .field {
    margin-bottom: 16px;
    gap: 6px;
  }
  .filter-column .field > label {
    font-size: 0.8rem;
  }
  .filter-column .field > select {
    font-size: 0.83rem;
    min-height: 42px;
    padding: 9px 25px 9px 9px;
  }
  .filter-column .apply-filters {
    margin: 0;
    align-self: end;
    min-height: 42px;
    margin-bottom: 16px;
    font-size: 0.82rem;
  }
  .filter-column .clear-link {
    padding: 0;
    font-size: 0.8rem;
    grid-column: 1/-1;
  }
  .filter-note {
    display: none;
  }
  .results-toolbar {
    align-items: center;
    margin-bottom: 17px;
  }
  .results-toolbar > div:first-child {
    max-width: 190px;
  }
  .results-toolbar p {
    font-size: 0.67rem;
    max-width: 165px;
  }
  .sort-field select {
    max-width: 118px;
    font-size: 0.74rem;
  }
  .sort-apply {
    padding-inline: 9px;
  }
  .job-row {
    padding: 23px 2px 20px;
  }
  .job-row h3 {
    font-size: 1.09rem;
  }
  .row-category {
    font-size: 0.72rem;
    margin-bottom: 7px;
  }
  .job-row-source {
    font-size: 0.7rem;
    gap: 3px 13px;
  }
  .job-row-location p,
  .job-row-meta p {
    font-size: 0.86rem;
  }
  .job-row-location span,
  .job-row-meta span {
    font-size: 0.8rem;
  }
  .results-note {
    padding: 21px 0;
  }
  .results-note > p {
    font-size: 0.75rem;
  }
  .alert-callout {
    flex-direction: column;
    align-items: start;
    padding: 25px 22px;
    margin: 26px 0 6px;
    gap: 23px;
  }
  .alert-callout h2 {
    font-size: 1.35rem;
  }
  .alert-callout .button {
    width: 100%;
    justify-content: space-between;
  }
  .pagination {
    font-size: 0.77rem;
    gap: 12px;
  }
  .detail-page {
    padding-top: 23px;
  }
  .breadcrumbs {
    font-size: 0.76rem;
    margin-bottom: 25px;
  }
  .detail-kicker {
    align-items: start;
    gap: 14px;
  }
  .detail-kicker .eyebrow {
    max-width: 75%;
  }
  .tag {
    font-size: 0.67rem;
    padding: 4px 7px;
    white-space: nowrap;
  }
  .job-header {
    padding-bottom: 26px;
  }
  .job-header h1 {
    font-size: 2.05rem;
    line-height: 1.23;
    margin-bottom: 20px;
  }
  .job-organisation {
    font-size: 1.08rem;
  }
  .job-location {
    font-size: 0.9rem;
  }
  .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
  }
  .application-panel {
    width: 100%;
    order: -1;
    padding: 22px;
    margin-bottom: 20px;
  }
  .job-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    margin-bottom: 26px;
  }
  .job-facts > div {
    padding: 12px 0;
  }
  .job-facts dd {
    font-size: 0.88rem;
  }
  .job-facts dd > span {
    font-size: 0.71rem;
  }
  .job-facts dt {
    font-size: 0.7rem;
  }
  .detail-section > h2 {
    font-size: 1.3rem;
  }
  .prose {
    font-size: 1rem;
  }
  .prose p {
    line-height: 1.9;
  }
  .source-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .source-row > div > p,
  .source-dates {
    font-size: 0.77rem;
  }
  .source-dates > span {
    display: inline-block;
    margin-right: 13px;
  }
  .notice {
    padding: 16px 18px;
    font-size: 0.85rem;
  }
  .page-header {
    padding: 30px 0 25px;
  }
  .page-header h1 {
    font-size: 2.1rem;
  }
  .page-header p:not(.eyebrow) {
    font-size: 0.94rem;
  }
  .form-page {
    padding-top: 28px;
  }
  .form-section {
    padding: 25px 0;
  }
  .field-grid,
  .form-grid,
  .form-two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .span-2,
  .form-field-wide {
    grid-column: auto;
  }
  .form-field {
    margin-bottom: 22px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 1rem;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .form-actions .button {
    width: 100%;
  }
  .stepper,
  .submission-steps {
    font-size: 0.71rem;
    gap: 16px;
    line-height: 1.5;
  }
  .stepper li,
  .submission-steps li {
    gap: 7px;
  }
  .stepper li > span,
  .submission-steps li > span {
    width: 21px;
    height: 21px;
    flex: none;
  }
  .panel {
    padding: 22px;
  }
  .error-summary {
    padding: 18px;
  }
  .error-summary h2 {
    font-size: 1rem;
  }
  .job-alert-form {
    grid-template-columns: 1fr;
    padding: 23px;
    gap: 20px;
  }
  .alert-field,
  .alert-email-field,
  .alert-submit,
  .alert-privacy {
    grid-column: auto;
  }
  .alert-submit {
    width: 100%;
    justify-content: space-between;
  }
  .alert-field input,
  .alert-field select {
    font-size: 1rem;
  }
  .job-alert-intro h2 {
    font-size: 1.35rem;
  }
  .job-alert-intro > p:last-child {
    font-size: 0.9rem;
  }
  .site-footer {
    padding: 26px 0;
  }
  .footer-grid {
    gap: 23px;
  }
  .footer-grid > nav {
    width: 100%;
    gap: 18px 24px;
    font-size: 0.75rem;
  }
  .footer-grid > div > p {
    font-size: 0.75rem;
  }
  .footer-note {
    font-size: 0.7rem;
    margin-top: 24px;
  }
  .legal-content p {
    font-size: 0.91rem;
  }
  .success-page,
  .confirmation-page {
    padding: 32px 0 50px;
  }
  .success-page h1,
  .confirmation-page h1 {
    font-size: 2rem;
  }
  .private-link {
    font-size: 0.77rem;
  }
  .management-link,
  .management-url {
    font-size: 0.78rem;
  }
  .status-card {
    padding: 22px;
  }
  .status-card h2 {
    font-size: 1.25rem;
  }
  .status-card p {
    font-size: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header nav,
  .filter-column,
  .search-bar,
  .site-footer,
  .demo-banner,
  .application-button,
  .button,
  .form-actions {
    display: none !important;
  }
  .shell {
    width: 100%;
    max-width: none;
  }
  .detail-grid {
    display: block;
  }
  .application-panel {
    border: 1px solid #bbb;
    margin-top: 20px;
  }
  .board-layout {
    display: block;
  }
  .job-row {
    break-inside: avoid;
  }
  a {
    color: #000;
  }
  .source-row a::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
  }
  .job-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Keep results in reach on small screens; all filters remain available without JS. */
.filter-fields {
  display: contents;
}
.filter-fields[hidden],
.filter-toggle[hidden] {
  display: none !important;
}
.filter-toggle {
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  padding: 9px 12px;
  font-size: 0.78rem;
  min-height: 42px;
}
.filter-heading:has(.filter-toggle:not([hidden])) {
  margin-bottom: 0;
}
.filter-heading:has(.filter-toggle[aria-expanded='true']:not([hidden])) {
  margin-bottom: 20px;
}

/* Employer preview and private receipts share the public facts grid. */
.submission-section {
  padding-bottom: 55px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.detail-facts > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.detail-facts dt {
  font-size: 0.76rem;
  color: var(--sub);
  margin-bottom: 6px;
}
.detail-facts dd {
  margin: 0;
  font-size: 0.94rem;
}
.preview-vacancy h3 {
  margin-top: 26px;
}
.confirmation-page {
  margin-inline: auto;
  width: 100%;
}
.management-link {
  display: block;
  width: 100%;
  padding: 12px 13px;
  background: var(--pale);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  margin-top: 12px;
  color: var(--ink);
}
.withdrawal-panel {
  border-left: 3px solid var(--amber);
}
.withdrawal-panel input[type='checkbox'] {
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
@media (max-width: 620px) {
  .detail-facts {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .detail-facts dd {
    font-size: 0.87rem;
  }
  .submission-section {
    padding-bottom: 35px;
  }
  .confirmation-content strong {
    overflow-wrap: anywhere;
  }
}
