/* Shared site styles. Breakpoint rules change only the properties listed. */
:root {
  /* Palette */
  --color-page: #edf1f5;
  --color-white: #ffffff;
  --color-ink: #172a43;
  --color-muted: #536476;
  --color-border: #c9d3dd;
  --color-navy: #203c5c;
  --color-navy-hover: #0d2846;
  --color-navy-light: #e4ebf2;
  --color-ochre: #9a6721;
  --color-gold: #f1dfaa;
  --color-gray-10: #fffbeb;
  --color-gray-20: #f8fafc;
  --color-gray-30: #f8f9fa;
  --color-gray-40: #f6f8fa;
  --color-gray-50: #fcf7e8;
  --color-gray-60: #f3f6f8;
  --color-gray-70: #f2f5f8;
  --color-gray-80: #f3f4f6;
  --color-gray-90: #f0f3f7;
  --color-gray-100: #eef3f7;
  --color-gray-110: #eef2f5;
  --color-gray-120: #edf2f6;
  --color-gray-130: #edf2f5;
  --color-gray-140: #f0f0f0;
  --color-gray-150: #eaf2e6;
  --color-gray-160: #eaf0f5;
  --color-gray-170: #e5ecf2;
  --color-gray-180: #e3ebf2;
  --color-gray-190: #e8e8e8;
  --color-gray-200: #e1e7ec;
  --color-gray-210: #b8b6aa;
  --color-green-10: #b6cbae;
  --color-green-20: #315629;
  --color-ink-alpha-12: rgba(23,42,67,.12);
  --color-ink-alpha-15: #172a4326;
  --color-ink-alpha-72: #172a43b8;
  --color-overlay-alpha-33: #101d3055;
  --color-overlay-alpha-50: #132d4780;
  --color-print-ink: #111111;
  --color-red-10: #ab3f26;
  --color-red-20: #8a3024;
  --color-rust-10: #fbece6;
  --color-rust-20: #e0b2a1;
  --color-rust-30: #d2907c;
  --color-rust-40: #a33b20;
  --color-rust-50: #713f12;
  --color-sand-10: #fbf5e6;
  --color-sand-20: #fbf3dc;
  --color-sand-30: #f9eed5;
  --color-sand-40: #f6eed8;
  --color-sand-50: #ded5bd;
  --color-sand-60: #e0d4b4;
  --color-sand-70: #e1d4b0;
  --color-sand-80: #e9d18c;
  --color-sand-90: #decda6;
  --color-sand-100: #dcc497;
  --color-sand-110: #bd9550;
  --color-sand-120: #b08436;
  --color-sand-130: #b28030;
  --color-sand-140: #ab8134;
  --color-sand-150: #b7791f;
  --color-sand-160: #9b752e;
  --color-sand-170: #926723;
  --color-sand-180: #8b6226;
  --color-sand-190: #8a5e21;
  --color-sand-200: #69624f;
  --color-sand-210: #825d22;
  --color-sand-220: #655f4d;
  --color-sand-230: #82591f;
  --color-sand-240: #82571c;
  --color-sand-250: #725322;
  --color-sand-260: #795115;
  --color-sand-270: #6e501f;
  --color-sand-280: #654414;
  --color-sand-290: #594110;
  --color-slate-10: #d6e1ea;
  --color-slate-20: #d4dfe8;
  --color-slate-30: #cfdae3;
  --color-slate-40: #ccd6df;
  --color-slate-50: #c9d5e0;
  --color-slate-60: #c8d4df;
  --color-slate-70: #cad3dc;
  --color-slate-80: #c6d2dd;
  --color-slate-90: #c3d0db;
  --color-slate-100: #c3cfd9;
  --color-slate-110: #c2ced9;
  --color-slate-120: #bdcdef;
  --color-slate-130: #c1cdd9;
  --color-slate-140: #b8c8d6;
  --color-slate-150: #b8c5d2;
  --color-slate-160: #c4b5fd;
  --color-slate-170: #aebfce;
  --color-slate-180: #a6b7c6;
  --color-slate-190: #a1b5c5;
  --color-slate-200: #9db1c2;
  --color-slate-210: #94a7b9;
  --color-slate-220: #8a9eb1;
  --color-slate-230: #8299ae;
  --color-slate-240: #7b8995;
  --color-slate-250: #6f8396;
  --color-slate-260: #637d97;
  --color-slate-270: #657c93;
  --color-slate-280: #68747f;
  --color-slate-290: #657386;
  --color-slate-300: #607489;
  --color-slate-310: #5f7385;
  --color-slate-320: #57738c;
  --color-slate-330: #607185;
  --color-slate-340: #627080;
  --color-slate-350: #5c7185;
  --color-slate-360: #5a6e81;
  --color-slate-370: #626a71;
  --color-slate-380: #516b81;
  --color-slate-390: #56697b;
  --color-slate-400: #53697d;
  --color-slate-410: #53677b;
  --color-slate-420: #536477;
  --color-slate-430: #586372;
  --color-slate-440: #51647a;
  --color-slate-450: #46647d;
  --color-slate-460: #4c6278;
  --color-slate-470: #4c6074;
  --color-slate-480: #4a5d70;
  --color-slate-490: #4b5d6d;
  --color-slate-500: #455e73;
  --color-slate-510: #425b71;
  --color-slate-520: #425769;
  --color-slate-530: #475569;
  --color-slate-540: #3c576d;
  --color-slate-550: #355068;
  --color-slate-560: #364f63;
  --color-slate-570: #214e76;
  --color-slate-580: #374151;
  --color-transparent: transparent;

  /* Typography */
  --font-serif: Georgia,"Times New Roman",serif;

  --type-small: 0.75rem;
  --type-reading: 0.875rem;
  --type-body: 1rem;
  --type-title-sm: 1.125rem;
  --type-title: 1.25rem;
  --type-heading: 1.5rem;
  --type-heading-lg: 2rem;
  --type-display: 2.5rem;

  /* Spacing and borders */
  --space-1: 1px;
  --space-2: 2px;
  --space-0-15em: 0.15em;
  --space-3: 3px;
  --space-4: 4px;
  --space-5: 5px;
  --space-6: 6px;
  --space-7: 7px;
  --space-8: 8px;
  --space-9: 9px;
  --space-10: 10px;
  --space-11: 11px;
  --space-12: 12px;
  --space-13: 13px;
  --space-14: 14px;
  --space-15: 15px;
  --space-16: 16px;
  --space-17: 17px;
  --space-18: 18px;
  --space-20: 20px;
  --space-21: 21px;
  --space-22: 22px;
  --space-23: 23px;
  --space-24: 24px;
  --space-25: 25px;
  --space-26: 26px;
  --space-27: 27px;
  --space-28: 28px;
  --space-30: 30px;
  --space-32: 32px;
  --space-34: 34px;
  --space-40: 40px;
  --space-42: 42px;
  --space-44: 44px;
  --space-45: 45px;
  --space-48: 48px;
  --space-60: 60px;
  --space-64: 64px;
  --space-65: 65px;
  --space-90: 90px;
  --space-92: 92px;
  --space-96: 96px;
  --space-121: 121px;
  --stroke-1: 1px;
  --stroke-2: 2px;
  --stroke-3: 3px;
  --stroke-4: 4px;
  --radius-1: 1px;
  --radius-2: 2px;
  --radius-4: 4px;
  --radius-8: 8px;
}

/* Base styles and focus */
.container { margin: 0 auto; max-width: 1260px; padding-inline: var(--space-32); }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Hidden controls must override component display styles. */
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

a { color: var(--color-navy); }
/* Keep focused elements and targets below the sticky navigation. */
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: var(--space-92); }
body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: var(--type-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--color-page);
  color: var(--color-ink);
}

h1 { font-size: var(--type-heading-lg); }
h2 { font-size: var(--type-heading); }
h3 { font-size: var(--type-title-sm); }
h4, h5, h6 { font-size: var(--type-body); }
small { font-size: var(--type-reading); }
sub, sup { font-size: var(--type-small); }
button, input, select { font: inherit; }
:is(a,button,input,select,summary,[tabindex]):focus-visible { outline: var(--stroke-3) solid var(--color-sand-190); outline-offset: var(--space-4); }
/* Site navigation */
.skip-link {
  position: absolute;
  left: var(--space-10);
  top: var(--space-8);
  z-index: 1001;
  padding: var(--space-12) var(--space-18);
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }
.nav-links a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  padding: var(--space-10) 0;
  font-size: var(--type-small);
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-block: var(--space-12);
}

.nav-links a:hover { color: var(--color-ochre); }
.nav-subscribe span { margin-left: var(--space-14); }
.nav-subscribe:hover { background: var(--color-sand-80); }
.site-nav {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--color-slate-150);
  z-index: 30;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: var(--space-24);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  font-size: var(--type-heading);
  letter-spacing: -.6px;
  gap: var(--space-12);
}

.brand-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -2px;
  display: grid;
  place-items: center;
  border: var(--stroke-1) solid var(--color-ink);
  color: var(--color-white);
  border-radius: 0;
  padding-right: var(--space-2);
  background: var(--color-ink);
  border-color: var(--color-ink);
  width: 45px;
  height: 45px;
  font-size: var(--type-heading-lg);
}

.wordmark-sub {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  display: block;
  font-weight: 500;
  font-size: var(--type-small);
  letter-spacing: 1.4px;
  margin-top: var(--space-6);
  color: var(--color-slate-290);
}

.nav-links { display: flex; align-items: center; gap: var(--space-27); }
.nav-current { color: var(--color-navy); border-bottom: var(--stroke-3) solid var(--color-ochre); }
.nav-subscribe {
  padding: var(--space-12) var(--space-16);
  line-height: 1.4;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  border: var(--stroke-1) solid var(--color-sand-110);
  background: var(--color-sand-20);
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: var(--type-small);
}

.nav-links:has(.nav-saved-link:not([hidden])) { flex-wrap: wrap; }
/* Home introduction and institutions */
.hero-stat:last-child { padding-bottom: 0; border-bottom: 0; }
.edition-lead {
  background: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-11) 0 var(--space-12);
  border-bottom: var(--stroke-3) solid var(--color-gold);
}

.edition-lead-grid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-16);
}

.edition-lead h1 {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: var(--type-heading);
  font-weight: 400;
  letter-spacing: -.6px;
  line-height: 1.15;
  margin: 0;
}

.edition-lead h1 span { color: var(--color-gold); }
.edition-lead-note { min-width: 0; border-left: var(--stroke-1) solid var(--color-slate-330); padding-left: var(--space-20); }
.edition-lead-note > p {
  font-size: var(--type-reading);
  color: var(--color-slate-20);
  line-height: 1.4;
  margin: 0;
}

.edition-institutions { background: var(--color-white); border-bottom: var(--stroke-1) solid var(--color-border); }
.edition-institution-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 40px;
  padding-block: 0;
}

.edition-institution-inner > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-14);
  border-right: var(--stroke-1) solid var(--color-border);
  color: var(--color-ink);
  text-decoration: none;
  min-height: 40px;
  min-width: 0;
}

.edition-institution-inner > a:first-of-type { border-left: var(--stroke-1) solid var(--color-border); }
.edition-institution-inner > a strong { font-size: var(--type-small); font-weight: 700; letter-spacing: .5px; }
.edition-institution-inner > a:hover { background: var(--color-sand-20); color: var(--color-sand-260); }
.hero-stats {
  backdrop-filter: none;
  border-radius: 0;
  justify-content: stretch;
  margin: 0 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: var(--space-18);
  padding: 0;
  border: 0;
  background: none;
}

.hero-stat {
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: var(--space-6);
  padding: 0;
  border: 0;
}

.hero-stat-value {
  display: block;
  color: var(--color-ink);
  font-size: var(--type-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  line-height: 1.2;
}

.hero-stat-label {
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-muted);
  font-size: var(--type-small);
  line-height: 1.3;
  white-space: nowrap;
}

/* Search, filters, and results */
.btn-primary:hover { background: var(--color-navy-hover); }
.btn-ghost {
  padding: var(--space-8) var(--space-12);
  font-size: var(--type-reading);
  background: var(--color-transparent);
  color: var(--color-muted);
}

.filter-select:focus { border-color: var(--color-navy); }
.results-count strong { color: var(--color-ink); font-weight: 600; }
.empty-state { text-align: center; padding: var(--space-60) var(--space-20); }
.empty-state h2 { font-size: var(--type-title-sm); margin-bottom: var(--space-6); color: var(--color-ink); }
.empty-state p { color: var(--color-muted); font-size: var(--type-reading); }
#jobs-container[hidden], #jobs-app-recovery[hidden] { display: none; }
#jobs-app-recovery a { text-decoration: underline; }
.skeleton-loader { display: flex; flex-direction: column; gap: var(--space-10); }
.skeleton-card {
  height: 120px;
  border-radius: var(--radius-2);
  background: linear-gradient(90deg,var(--color-gray-140) 25%,var(--color-gray-190) 50%,var(--color-gray-140) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.snapshot-warning {
  margin: var(--space-16) 0;
  padding: var(--space-14) var(--space-18);
  border: var(--stroke-1) solid var(--color-sand-150);
  border-radius: var(--radius-8);
  background: var(--color-gray-10);
  color: var(--color-rust-50);
  line-height: 1.5;
}

.snapshot-warning[hidden] { display: none; }
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  margin-top: 0;
}

#open-filters { display: none; }
.facet-menus { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: var(--space-8); }
.facet { position: relative; min-width: 0; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary:focus-visible { outline: var(--stroke-3) solid var(--color-navy-hover); outline-offset: var(--space-3); }
.facet[open] { z-index: 10; }
.facet-popover {
  position: absolute;
  top: calc(100% + var(--space-6));
  left: 0;
  width: 340px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border: var(--stroke-1) solid var(--color-slate-210);
  border-radius: 0;
  background: var(--color-white);
  box-shadow: 0 7px 24px var(--color-ink-alpha-15);
}

.facet:nth-last-child(-n + 2) .facet-popover { left: auto; right: 0; }
.facet-option {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-radius: 0;
}

.facet-unknown {
  padding: var(--space-4) var(--space-6);
  border-top: var(--stroke-1) solid var(--color-border);
  border-radius: 0;
  background: var(--color-gray-20);
}

.facet-option label > span:not(.option-count) { flex: 1; overflow-wrap: anywhere; }
.facet-option input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--color-navy);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: center;
  margin-top: var(--space-16);
}

#filters-dialog[open] { display: flex; flex-direction: column; }
#mobile-filters {
  padding: var(--space-16);
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.eyebrow, .section-kicker {
  font-size: var(--type-reading);
  letter-spacing: 1.5px;
  line-height: 1.5;
  font-weight: 650;
  text-transform: uppercase;
  color: var(--color-sand-240);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-20);
  margin-bottom: var(--space-18);
}

.section-heading h2 {
  font-size: var(--type-heading-lg);
  font-weight: 650;
  letter-spacing: -.7px;
  line-height: 1.2;
  margin-top: var(--space-6);
}

.section-heading > p { font-size: var(--type-reading); color: var(--color-muted); }
.btn {
  border: none;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-1);
  text-decoration: none;
  font-size: var(--type-reading);
  font-weight: 600;
  padding: var(--space-11) var(--space-18);
  gap: var(--space-16);
}

.btn-primary { background: var(--color-navy); color: var(--color-white); }
.btn-ghost:hover { background: var(--color-navy-light); color: var(--color-ink); }
.search-section { position: relative; margin-top: 0; z-index: 3; }
.search-bar input::placeholder { color: var(--color-slate-280); }
.browse-shortcuts > a:hover { text-decoration: underline; text-underline-offset: var(--space-4); }
.facet summary::after {
  content: "⌄";
  position: absolute;
  right: var(--space-10);
  top: var(--space-8);
  color: var(--color-navy);
}

.facet-options {
  overflow: auto;
  overscroll-behavior: contain;
  padding: var(--space-6);
  max-height: 320px;
}

.facet-option:hover { background: var(--color-gray-100); }
.filter-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-overflow: ellipsis;
  padding: var(--space-8) var(--space-28) var(--space-8) var(--space-12);
  border: var(--stroke-1) solid var(--color-border);
  background: var(--color-white);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border-radius: var(--radius-1);
  border-color: var(--color-border);
  background-color: var(--color-white);
  color: var(--color-ink);
  font-size: var(--type-reading);
}

.selection-chip > span { line-height: 1; font-size: var(--type-body); }
.sort-note {
  font-size: var(--type-reading);
  display: block;
  line-height: 1.5;
  max-width: 100%;
  color: var(--color-muted);
}

#filters-dialog::backdrop { background: var(--color-overlay-alpha-50); }
.search-bar .btn {
  background: var(--color-navy);
  font-size: var(--type-reading);
  border: 0;
  min-height: 44px;
  padding: var(--space-10) var(--space-24);
}

.search-icon {
  flex-shrink: 0;
  color: var(--color-slate-300);
  width: 18px;
  height: 18px;
}

.facet summary:hover { border-color: var(--color-slate-260); background: var(--color-gray-40); }
.facet-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: var(--space-8);
  font-size: var(--type-reading);
  font-weight: 400;
  color: var(--color-slate-360);
  padding-top: var(--space-3);
}

.facet-actions {
  display: flex;
  justify-content: space-between;
  padding: var(--space-10) var(--space-12);
  border-bottom: var(--stroke-1) solid var(--color-border);
  background: var(--color-gray-160);
  border-color: var(--color-slate-80);
}

.facet-option label {
  display: flex;
  align-items: center;
  gap: var(--space-9);
  padding: var(--space-8) var(--space-6);
  flex: 1;
  min-width: 0;
  cursor: pointer;
  line-height: 1.35;
  font-size: var(--type-reading);
}

.facet-actions button {
  font-size: var(--type-reading);
  border: 0;
  background: var(--color-transparent);
  cursor: pointer;
  padding: var(--space-5);
  border-radius: var(--radius-4);
  min-height: 36px;
  color: var(--color-navy);
}

.only-option {
  font-size: var(--type-reading);
  padding: var(--space-8);
  flex-shrink: 0;
  border: 0;
  background: var(--color-transparent);
  cursor: pointer;
  border-radius: var(--radius-4);
  min-height: 36px;
  color: var(--color-navy);
}

.option-count {
  font-size: var(--type-small);
  min-width: 22px;
  text-align: center;
  padding: var(--space-1) var(--space-4);
  background: var(--color-page);
  color: var(--color-slate-390);
  border-radius: 0;
}

.active-filters {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-10);
}

.active-filters:empty { display: none; }
.selection-chip {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  border: var(--stroke-1) solid var(--color-slate-120);
  text-align: left;
  cursor: pointer;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: var(--color-white);
  border-color: var(--color-slate-180);
  border-radius: 0;
  color: var(--color-navy);
  font-size: var(--type-reading);
  padding: var(--space-6) var(--space-10);
}

.opportunities-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0,1fr) 265px;
  gap: var(--space-24);
}

.results-section { margin-top: 0; min-width: 0; padding-bottom: var(--space-24); }
.sort-label {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: var(--type-reading);
  gap: var(--space-9);
  color: var(--color-slate-410);
}

.sort-label select {
  width: 154px;
  font-size: var(--type-reading);
  min-height: 38px;
  background: var(--color-white);
  border-color: var(--color-slate-250);
}

#jobs-container { display: grid; border: 0; gap: var(--space-12); }
#filters-dialog {
  margin: auto;
  width: min(100% - 24px,560px);
  padding: 0;
  color: var(--color-ink);
  overflow: hidden;
  background: var(--color-page);
  border: var(--stroke-1) solid var(--color-slate-200);
  border-top: var(--stroke-4) solid var(--color-gold);
  border-radius: 0;
  max-height: calc(100dvh - 24px);
}

.snapshot-meta {
  margin: var(--space-18) 0;
  color: var(--color-slate-530);
  font-size: var(--type-reading);
  line-height: 1.6;
}

.load-more-button { border: var(--stroke-1) solid var(--color-slate-250); color: var(--color-navy); background: var(--color-white); }
.facet.is-filtered summary { background: var(--color-sand-20); border-color: var(--color-sand-190); }
.browse-main { padding-top: var(--space-10); }
.browse-main .snapshot-meta { margin: 0 0 var(--space-8); line-height: 1.4; }
.browse-main .snapshot-warning { margin: 0 0 var(--space-10); padding: var(--space-10) var(--space-14); font-size: var(--type-reading); }
.edition-workbench {
  background: var(--color-navy-light);
  border: var(--stroke-1) solid var(--color-slate-110);
  border-top: var(--stroke-3) solid var(--color-navy);
  padding: var(--space-10) var(--space-16);
  margin-bottom: var(--space-12);
}

.edition-workbench .search-section { margin: 0; }
.search-bar {
  min-width: 0;
  border: var(--stroke-1) solid var(--color-slate-250);
  background: var(--color-white);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-12);
}

.search-bar input {
  font-size: var(--type-body);
  min-width: 0;
  color: var(--color-ink);
  flex: 1;
  max-width: 100%;
  border: none;
  background: var(--color-transparent);
  padding: var(--space-8) var(--space-10);
}

.browse-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-18);
  font-size: var(--type-reading);
  padding: var(--space-6) 0;
  align-items: center;
}

.browse-shortcuts > span { font-weight: 650; color: var(--color-slate-420); }
.browse-shortcuts > a {
  display: flex;
  min-height: 24px;
  align-items: center;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: var(--space-3);
  gap: var(--space-6);
}

.facet summary {
  font-weight: 650;
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: var(--stroke-1) solid var(--color-slate-250);
  min-height: 48px;
  padding: var(--space-6) var(--space-10);
  font-size: var(--type-reading);
  border-radius: 0;
  box-shadow: none;
}

.date-filters {
  display: flex;
  margin-top: var(--space-8);
  gap: var(--space-12);
  align-items: center;
  flex-wrap: wrap;
}

.date-filters > label {
  flex-shrink: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--type-reading);
  color: var(--color-slate-470);
  width: auto;
}

.date-filters select {
  min-height: 36px;
  width: 136px;
  margin-top: 0;
  font-size: var(--type-reading);
  border-color: var(--color-slate-250);
}

.filter-help {
  font-size: var(--type-reading);
  line-height: 1.4;
  color: var(--color-slate-410);
  max-width: 540px;
  margin: 0;
}

.results-header {
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: 0 0 var(--space-8);
  margin-bottom: 0;
}

.results-topline {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-3);
}

.results-count {
  margin: 0;
  font-size: var(--type-reading);
  color: var(--color-slate-510);
  font-weight: 650;
}

.results-explainer summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: var(--space-3);
  font-size: var(--type-reading);
  color: var(--color-slate-410);
  line-height: 1.4;
}

.results-explainer .sort-note { margin-top: var(--space-7); font-size: var(--type-reading); line-height: 1.6; }
#jobs-container .empty-state { padding: var(--space-24) var(--space-20); }
/* Buttons and job cards */
.org-other { background: var(--color-gray-80); color: var(--color-slate-580); }
.qualification-routes {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding: 0;
  list-style: none;
}

.qualification-route strong { font-weight: 600; }
.countdown-normal { color: inherit; }
.qualification-routes ul { padding-left: var(--space-20); }
.countdown-urgent { font-weight: 600; color: var(--color-red-10); }
.countdown-expired { font-style: italic; color: var(--color-slate-340); }
.qualification-route {
  min-width: 0;
  padding: var(--space-7) var(--space-10);
  border-left: var(--stroke-3) solid var(--color-slate-160);
  font-size: var(--type-reading);
  line-height: 1.5;
  overflow-wrap: anywhere;
  background: var(--color-gray-130);
  color: var(--color-slate-540);
  border-color: var(--color-slate-190);
  border-radius: 0;
}

.org-badge {
  letter-spacing: .4px;
  white-space: nowrap;
  text-transform: uppercase;
  flex-shrink: 0;
  font-size: var(--type-small);
  padding: var(--space-4) var(--space-7);
  color: var(--color-slate-450);
  background: var(--color-gray-120);
  border: var(--stroke-1) solid var(--color-slate-30);
  border-radius: 0;
  font-weight: 650;
}

.org-wbg, .org-imf, .org-idb, .org-paho, .org-oas {
  font-size: var(--type-small);
  padding: var(--space-4) var(--space-7);
  color: var(--color-slate-450);
  background: var(--color-gray-120);
  border: var(--stroke-1) solid var(--color-slate-30);
  border-radius: 0;
  font-weight: 650;
}

.directory-job-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-12);
}
.jobs-list, .jobs-list-noscript { display: flex; flex-direction: column; gap: var(--space-12); }
.job-card {
  background: var(--color-white);
  border: var(--stroke-1) solid var(--color-slate-100);
  border-left: var(--stroke-4) solid var(--color-navy);
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-12) var(--space-16);
  min-width: 0;
  overflow-wrap: anywhere;
  transition: border-color .15s;
}

.job-card:hover { background: var(--color-white); border-color: var(--color-slate-230); box-shadow: none; }
.job-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-10);
  margin-bottom: var(--space-2);
}

.job-organization {
  font-size: var(--type-reading);
  letter-spacing: .4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-sand-190);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}

.job-top-right { display: flex; flex-shrink: 0; align-items: center; gap: var(--space-6); }
.job-top-right:has(.return-badge:not([hidden])) .new-badge { display: none; }
.new-badge, .return-badge {
  font-size: var(--type-small);
  line-height: 1.2;
  background: var(--color-gold);
  color: var(--color-sand-290);
  padding: var(--space-2) var(--space-6);
  border-radius: 0;
  font-weight: 700;
  letter-spacing: .3px;
  text-align: center;
  white-space: nowrap;
}

.job-title {
  font-size: var(--type-title-sm);
  line-height: 1.3;
  letter-spacing: -.2px;
  font-weight: 650;
  color: var(--color-ink);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.job-title a {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
  max-width: 100%;
  min-height: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--space-3);
}

.job-title button.job-details-button {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
  max-width: 100%;
  min-height: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.job-title a:hover, .job-title button.job-details-button:hover {
  color: var(--color-slate-570);
  text-decoration: underline;
  text-underline-offset: var(--space-3);
  text-decoration-thickness: 1px;
}

.job-subtitle {
  font-size: var(--type-reading);
  line-height: 1.35;
  color: var(--color-slate-480);
  margin: var(--space-2) 0 0;
  overflow-wrap: anywhere;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-14);
  margin-top: var(--space-5);
  padding: 0;
  background: none;
  border: 0;
  line-height: 1.4;
}

.job-card .job-meta-item {
  min-width: 0;
  max-width: 100%;
  font-size: var(--type-reading);
  line-height: 1.4;
  color: var(--color-slate-480);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  overflow-wrap: anywhere;
}

.job-card .job-meta-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.job-card .job-deadline {
  margin: 0;
  font-size: var(--type-reading);
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-ink);
  overflow-wrap: anywhere;
}

.job-card .job-deadline.countdown-urgent { color: var(--color-rust-40); font-weight: 650; }
.job-card .job-deadline.countdown-expired { color: var(--color-slate-430); font-style: italic; }
.job-card .qualification-routes {
  margin: var(--space-4) 0 0;
  padding: 0;
  background: none;
  border: 0;
  font-size: var(--type-reading);
  line-height: 1.4;
  color: var(--color-slate-500);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.job-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6) var(--space-12);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: var(--stroke-1) solid var(--color-gray-200);
}

.job-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  min-width: 0;
}

.job-card .info-pill {
  max-width: 100%;
  font-size: var(--type-reading);
  line-height: 1.3;
  padding: var(--space-2) var(--space-7);
  border-radius: 0;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-gray-120);
  color: var(--color-slate-550);
  border: var(--stroke-1) solid var(--color-slate-50);
  white-space: normal;
  overflow-wrap: anywhere;
}

.job-card .pill-grade { background: var(--color-sand-10); color: var(--color-sand-270); border-color: var(--color-sand-90); }
.job-actions {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  margin-left: auto;
  flex-shrink: 0;
}

.job-card :is(.apply-link,.apply-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--type-reading);
  font-weight: 600;
  line-height: 1.2;
  background: var(--color-navy);
  color: var(--color-white);
  text-decoration: none;
  padding: var(--space-7) var(--space-14);
  min-height: 34px;
  border-radius: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  flex-shrink: 0;
  transition: background .15s;
}

.job-card :is(.apply-link,.apply-btn):hover { background: var(--color-navy-hover); }
.job-card .apply-unavailable { font-size: var(--type-reading); color: var(--color-slate-480); line-height: 1.3; }
.job-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--type-reading);
  font-weight: 600;
  line-height: 1.2;
  padding: var(--space-6) var(--space-11);
  min-height: 34px;
  border: var(--stroke-1) solid var(--color-slate-250);
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  overflow-wrap: normal;
  flex-shrink: 0;
}

.job-save:hover { background: var(--color-gray-60); }
.job-save[aria-pressed="true"] { background: var(--color-sand-20); color: var(--color-sand-280); border-color: var(--color-sand-190); }
/* Job preview */
.detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-label { font-size: var(--type-reading); color: var(--color-muted); font-weight: 500; }
.detail-value { font-size: var(--type-reading); color: var(--color-ink); font-weight: 600; }
.job-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  background: var(--color-ink-alpha-72);
  backdrop-filter: blur(2px);
}

.job-modal-overlay.active { display: flex; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.modal-header .org-badge { margin-bottom: var(--space-8); display: inline-block; }
.modal-meta {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.modal-description { margin-bottom: var(--space-20); }
.modal-description h3 {
  font-size: var(--type-reading);
  font-weight: 600;
  margin-bottom: var(--space-8);
  color: var(--color-ink);
}

.modal-desc-text .desc-header {
  font-size: var(--type-body);
  font-weight: 700;
  color: var(--color-ink);
  margin: var(--space-20) 0 var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: var(--stroke-1) solid var(--color-border);
}

.modal-desc-text .desc-header:first-child { margin-top: 0; }
.modal-desc-text .desc-para { margin: 0 0 var(--space-10); line-height: 1.7; }
.modal-desc-text .desc-list { margin: var(--space-4) 0 var(--space-12) var(--space-8); padding-left: var(--space-16); list-style: disc; }
.modal-desc-text .desc-list li { margin: var(--space-4) 0; line-height: 1.6; color: var(--color-slate-490); }
.modal-desc-text p + .desc-header, .modal-desc-text ul + .desc-header { margin-top: var(--space-24); }
.filters-dialog-footer {
  border-color: var(--color-border);
  border-top: var(--stroke-1) solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-14) var(--space-16);
  gap: var(--space-8);
  flex-shrink: 0;
  background: var(--color-white);
}

:where(.job-modal) .job-permalink > span { margin-left: var(--space-5); }
:where(.job-modal) .apply-link:hover { background: var(--color-navy-hover); }
.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,180px),1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-16);
  padding: var(--space-14);
  border-radius: var(--radius-1);
  background: var(--color-gray-110);
}

.modal-meta .job-meta-item { color: var(--color-muted); font-size: var(--type-reading); }
:where(.job-modal) .qualification-routes {
  margin-top: var(--space-10);
  font-size: var(--type-reading);
  line-height: 1.65;
  color: var(--color-slate-500);
  background: none;
  padding: 0;
  border: 0;
}

:where(.job-modal) .job-permalink {
  text-decoration: underline;
  text-underline-offset: var(--space-3);
  white-space: nowrap;
  font-size: var(--type-reading);
  color: var(--color-navy);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

:where(.job-modal) .apply-link {
  white-space: nowrap;
  font-size: var(--type-reading);
  background: var(--color-navy);
  color: var(--color-white);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-7) var(--space-14);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
}

.job-modal {
  background: var(--color-white);
  max-width: 800px;
  width: 100%;
  min-width: 0;
  max-height: min(85vh,calc(100dvh - 40px));
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
  position: relative;
  animation: modalIn .2s ease;
  border-radius: 0;
  border-top: var(--stroke-4) solid var(--color-gold);
  padding: var(--space-26) var(--space-30);
  box-shadow: 0 24px 80px var(--color-overlay-alpha-33);
  scroll-padding-block: var(--space-65);
}

.job-modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin-top: calc(-1 * var(--space-7));
  margin-right: calc(-1 * var(--space-10));
  width: 44px;
  height: 44px;
  min-height: 44px;
  z-index: 5;
  background: var(--color-navy);
  color: var(--color-white);
  border: var(--stroke-1) solid var(--color-slate-320);
  border-radius: 0;
  font-size: var(--type-heading-lg);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  right: auto;
}

.job-modal-close:hover { color: var(--color-ink); background: var(--color-gold); }

.modal-header { margin-bottom: var(--space-16); padding-right: var(--space-42); }
.modal-title {
  font-size: var(--type-heading);
  line-height: 1.3;
  letter-spacing: -.5px;
  font-family: inherit;
  font-weight: 650;
  margin-top: var(--space-8);
  overflow-wrap: anywhere;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  text-align: center;
  position: sticky;
  bottom: calc(-1 * var(--space-26));
  padding: var(--space-16) 0;
  margin-top: var(--space-22);
  background: var(--color-white);
  border-top: var(--stroke-1) solid var(--color-slate-140);
  box-shadow: 0 -8px 18px var(--color-white);
  z-index: 4;
  min-height: 76px;
}

.filters-dialog-header {
  border-bottom: var(--stroke-1) solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-14) var(--space-16);
  gap: var(--space-8);
  flex-shrink: 0;
  background: var(--color-white);
}

.filters-dialog-header h2 { font-weight: 650; font-size: var(--type-heading); }
.filters-dialog-header .btn, .filters-dialog-footer .btn { min-height: 44px; font-size: var(--type-reading); }
.modal-desc-text {
  font-size: var(--type-reading);
  line-height: 1.85;
  color: var(--color-slate-490);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.job-modal-body > :not(.modal-header,.modal-actions) { margin-right: var(--space-42); }
/* Career guidance */
.guide-card h3 {
  font-family: var(--font-serif);
  margin: var(--space-10) 0 var(--space-20);
  max-width: 280px;
  font-size: var(--type-heading);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -.5px;
}

.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-24);
  margin-top: var(--space-10);
  color: var(--color-muted);
  font-size: var(--type-reading);
}

summary:focus-visible { outline: var(--stroke-3) solid var(--color-navy-hover); outline-offset: var(--space-3); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-14);
  color: var(--color-navy);
  text-decoration: none;
  font-size: var(--type-reading);
  font-weight: 600;
}

.text-link:hover { text-decoration: underline; text-underline-offset: var(--space-4); }
.desk-link > a:hover { text-decoration: underline; }
.desk-link > a span { margin-left: var(--space-10); }
.career-library .text-link { font-size: var(--type-reading); }
.guide-card:first-child { padding-left: 0; }
.guide-card:last-child { border-right: 0; padding-right: 0; }
.guide-card:hover h3 { text-decoration: underline; text-underline-offset: var(--space-5); text-decoration-thickness: 1px; }
:is(.site-footer,.blog-header) :is(a,button,input,select,summary,[tabindex]):focus-visible { outline-color: var(--color-sand-130); }
.browse-sidebar { padding-top: 0; }
.sidebar-intro {
  padding: var(--space-21);
  background: var(--color-gray-50);
  border: var(--stroke-1) solid var(--color-sand-60);
  border-top: var(--stroke-4) solid var(--color-sand-120);
}

.sidebar-intro .eyebrow {
  font-size: var(--type-small);
  letter-spacing: 1.4px;
  color: var(--color-sand-210);
  margin: 0 0 var(--space-12);
}

.sidebar-intro h2 {
  font-family: var(--font-serif);
  font-size: var(--type-heading);
  line-height: 1.12;
  letter-spacing: -.5px;
  font-weight: 400;
  margin: 0 0 var(--space-22);
}

.desk-link {
  display: flex;
  border-top: var(--stroke-1) solid var(--color-sand-50);
  gap: var(--space-12);
  padding: var(--space-15) 0;
  align-items: baseline;
}

.desk-link > span {
  line-height: 1.2;
  font-family: var(--font-serif);
  font-size: var(--type-title-sm);
  color: var(--color-sand-230);
}

.desk-link > a {
  text-decoration: none;
  font-size: var(--type-reading);
  line-height: 1.7;
  color: var(--color-ink);
  font-weight: 500;
}

.sidebar-intro > .text-link { font-size: var(--type-reading); margin-top: var(--space-10); min-height: 44px; }
.sidebar-note {
  border: var(--stroke-1) solid var(--color-slate-90);
  padding: var(--space-21);
  background: var(--color-gray-180);
  margin-top: var(--space-17);
}

.sidebar-note .eyebrow { font-size: var(--type-small); color: var(--color-slate-460); line-height: 1.6; }
.sidebar-note h3 {
  font-weight: 600;
  font-size: var(--type-body);
  line-height: 1.5;
  margin: var(--space-12) 0;
}

.sidebar-note p { font-size: var(--type-reading); color: var(--color-slate-380); line-height: 1.8; }
.sidebar-note .text-link {
  font-size: var(--type-reading);
  line-height: 1.6;
  margin-top: var(--space-12);
  min-height: 44px;
}

.career-library {
  background: var(--color-white);
  border: var(--stroke-1) solid var(--color-slate-90);
  border-top: var(--stroke-4) solid var(--color-navy);
  margin-top: var(--space-25);
  padding: var(--space-24);
  margin-bottom: var(--space-32);
}

.career-library .section-heading {
  border-bottom: var(--stroke-1) solid var(--color-border);
  margin-bottom: 0;
  padding-bottom: var(--space-18);
  align-items: center;
}

.career-library .eyebrow { font-size: var(--type-small); color: var(--color-sand-170); }
.career-library h2 {
  letter-spacing: -.8px;
  font-family: var(--font-serif);
  font-size: var(--type-heading-lg);
  font-weight: 400;
  margin-top: var(--space-5);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: var(--space-23);
  gap: 0;
}

.guide-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-ink);
  border-right: var(--stroke-1) solid var(--color-border);
  padding: 0 var(--space-24) var(--space-4);
  min-height: 185px;
  background: var(--color-transparent);
}

.guide-number {
  font-size: var(--type-small);
  letter-spacing: 1px;
  color: var(--color-slate-310);
  margin-bottom: var(--space-14);
}

.guide-card .eyebrow { font-size: var(--type-small); }
.guide-cta {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-top: auto;
  min-height: 44px;
  align-items: center;
  font-size: var(--type-reading);
}

/* Organization pages and job directory */
.org-intro p { margin-bottom: var(--space-16); line-height: 1.7; color: var(--color-ink); }
.org-intro p:last-child { margin-bottom: 0; }
.related-posts { margin-top: var(--space-24); padding-top: var(--space-24); border-top: var(--stroke-1) solid var(--color-border); }
.related-posts h3 {
  margin-bottom: var(--space-12);
  color: var(--color-ink);
  font-size: var(--type-heading);
  font-weight: 600;
}

.related-posts ul { list-style: none; }
.related-posts li { margin-bottom: var(--space-8); }
.related-posts a { color: var(--color-navy); text-decoration: none; transition: color .2s; }
.related-posts a:hover { color: var(--color-navy-hover); text-decoration: underline; }
.other-orgs {
  box-shadow: none;
  border-radius: 0;
  padding: var(--space-24);
  border: var(--stroke-1) solid var(--color-slate-90);
  background: var(--color-white);
}

.org-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.org-nav a:hover { background: var(--color-navy); color: var(--color-white); }
.directory-hero { padding: var(--space-32) 0; max-width: 760px; background: var(--color-transparent); }
.directory-hero h1 {
  font-size: var(--type-display);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: var(--space-14) 0;
}

.directory-hero > p:last-child { font-size: var(--type-reading); line-height: 1.8; color: var(--color-muted); }
.org-directory-card h2 {
  font-size: var(--type-heading);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.4px;
}

.directory-org-name {
  font-size: var(--type-reading);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--color-ochre);
}

.org-directory-card p { font-size: var(--type-reading); color: var(--color-muted); }
.directory-card-link { font-size: var(--type-reading); font-weight: 600; margin-top: auto; }
.directory-opportunities { padding-bottom: var(--space-30); }
.directory-opportunities .section-heading { border-bottom: var(--stroke-2) solid var(--color-ink); padding-bottom: var(--space-14); }
.directory-opportunities .section-heading h2 { font-size: var(--type-heading); }
.directory-opportunities .section-heading > a { font-size: var(--type-reading); }
.opportunity-index summary { font-size: var(--type-reading); color: var(--color-muted); cursor: pointer; }
.opportunity-index-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--space-12) var(--space-24);
  font-size: var(--type-reading);
  margin: var(--space-20) 0 0;
  padding-left: var(--space-18);
}

.opportunity-index-links span { color: var(--color-muted); }
.org-landing-header {
  text-align: left;
  padding: var(--space-30) 0 var(--space-24);
  margin: 0;
  background: var(--color-transparent);
}

.org-landing-header .job-count { color: var(--color-muted); font-size: var(--type-reading); margin-top: var(--space-12); }
.org-jobs-section { margin-bottom: var(--space-30); }
.org-jobs-section h2 {
  color: var(--color-ink);
  font-size: var(--type-heading);
  font-weight: 650;
  letter-spacing: -.5px;
  margin-bottom: var(--space-12);
}

.org-jobs-section .sort-note { font-size: var(--type-reading); margin-bottom: var(--space-18); }
.org-intro {
  box-shadow: none;
  border-radius: 0;
  padding: var(--space-25);
  font-size: var(--type-reading);
  line-height: 1.8;
  margin-top: var(--space-25);
  margin-bottom: var(--space-30);
  border: var(--stroke-1) solid var(--color-slate-90);
  background: var(--color-white);
}

.org-intro > .eyebrow { font-size: var(--type-small); margin-bottom: var(--space-18); }
.other-orgs h3 {
  margin-bottom: var(--space-16);
  color: var(--color-ink);
  font-size: var(--type-heading);
  font-weight: 600;
}

.org-nav a {
  display: inline-block;
  padding: var(--space-8) var(--space-16);
  background: var(--color-navy-light);
  color: var(--color-navy);
  text-decoration: none;
  font-size: var(--type-reading);
  font-weight: 500;
  transition: all .2s;
  border-radius: var(--radius-1);
}

.opportunity-index { padding: var(--space-24) 0 var(--space-32); border-top: var(--stroke-1) solid var(--color-border); margin-bottom: var(--space-25); }
.opportunity-index h2 { font-weight: 650; margin-bottom: var(--space-10); font-size: var(--type-title); }
.org-landing-header h1 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -1.1px;
  margin: 0;
  line-height: 1.2;
  color: var(--color-ink);
  font-size: var(--type-display);
}

.opportunity-index-links a { text-underline-offset: var(--space-3); font-weight: 500; overflow-wrap: anywhere; }
.organization-directory {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: var(--space-14);
  border: 0;
  margin-bottom: var(--space-32);
}

.org-directory-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-15);
  border: var(--stroke-1) solid var(--color-slate-90);
  border-top: var(--stroke-3) solid var(--color-navy);
  padding: var(--space-24);
  background: var(--color-white);
  color: var(--color-ink);
  text-decoration: none;
  min-height: 220px;
}

.org-directory-card:hover { background: var(--color-gray-70); }
.org-directory-card:nth-child(n + 4) { grid-column: span 3; }
/* Job details and deadline tools */
.job-requisition { display: block; color: var(--color-muted); font-size: var(--type-reading); }
.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  font-size: var(--type-reading);
  color: var(--color-muted);
  margin: var(--space-26) 0 var(--space-22);
}

.detail-breadcrumb a { text-decoration: underline; text-underline-offset: var(--space-3); }
.job-detail-heading {
  padding: var(--space-12) 0 var(--space-24);
  border-bottom: var(--stroke-3) solid var(--color-ink);
  margin-bottom: var(--space-26);
  background: var(--color-transparent);
}

.job-detail-heading h1 {
  font-family: inherit;
  font-size: var(--type-display);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: var(--space-12) 0 var(--space-16);
  max-width: 980px;
  overflow-wrap: anywhere;
}

.detail-location { font-size: var(--type-reading); color: var(--color-muted); }
.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 285px;
  gap: var(--space-40);
  margin-bottom: var(--space-45);
  align-items: start;
}

.detail-section { padding: 0 0 var(--space-28); margin-bottom: var(--space-24); border-bottom: var(--stroke-1) solid var(--color-border); }
.detail-section h2 {
  font-size: var(--type-heading);
  font-weight: 650;
  letter-spacing: -.5px;
  margin-bottom: var(--space-18);
}

.detail-section h3 { font-size: var(--type-body); margin: var(--space-20) 0 var(--space-12); }
.detail-section ul, .detail-section ol { padding-left: var(--space-22); }
.detail-section p, .detail-section li { font-size: var(--type-reading); line-height: 1.85; color: var(--color-slate-520); }
.detail-description h3 { font-size: var(--type-title-sm); margin-top: var(--space-20); }
.detail-note { font-size: var(--type-reading); color: var(--color-muted); margin-top: var(--space-12); }
.job-detail-sidebar h2 {
  font-size: var(--type-title);
  letter-spacing: -.5px;
  font-weight: 650;
  margin-bottom: var(--space-20);
}

.detail-facts { display: grid; gap: var(--space-14); }
.detail-facts > div { padding-bottom: var(--space-12); border-bottom: var(--stroke-1) solid var(--color-slate-40); }
.detail-facts dt {
  font-size: var(--type-reading);
  font-weight: 650;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-slate-400);
}

.detail-facts dd {
  font-size: var(--type-reading);
  color: var(--color-ink);
  line-height: 1.6;
  margin-top: var(--space-5);
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--type-reading);
  text-decoration: none;
  margin-top: var(--space-22);
  padding: var(--space-12);
}

.detail-apply:hover { background: var(--color-navy-hover); }
.detail-source, .detail-back {
  font-size: var(--type-reading);
  line-height: 1.8;
  color: var(--color-muted);
  margin-top: var(--space-14);
}

.detail-source a, .detail-back a { color: var(--color-navy); text-underline-offset: var(--space-3); }
.detail-availability {
  font-size: var(--type-reading);
  line-height: 1.8;
  color: var(--color-muted);
  margin-top: var(--space-14);
  padding: var(--space-12) 0;
  border-top: var(--stroke-1) solid var(--color-slate-70);
}

.job-detail-sidebar .detail-apply { margin-top: 0; margin-bottom: var(--space-22); }
.detail-description p { margin-bottom: var(--space-14); }
.detail-availability:not([hidden]) {
  background: var(--color-sand-30);
  color: var(--color-sand-250);
  padding: var(--space-14);
  border: var(--stroke-1) solid var(--color-sand-100);
  margin: 0 0 var(--space-24);
}

.detail-apply[aria-disabled=true] { background: var(--color-slate-240); color: var(--color-white); cursor: default; }
/* The sidebar comes first in keyboard order. Put it on the right on wide screens. */
.job-detail-sidebar {
  grid-column: 2;
  grid-row: 1;
  padding: var(--space-22);
  border: var(--stroke-1) solid var(--color-slate-90);
  border-top: var(--stroke-4) solid var(--color-navy);
  background: var(--color-white);
}

.job-detail-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--color-white);
  padding: var(--space-25);
  border: var(--stroke-1) solid var(--color-slate-90);
}

.detail-section:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.detail-description {
  white-space: normal;
  line-height: 1.85;
  font-size: var(--type-reading);
  color: var(--color-slate-520);
  overflow-wrap: anywhere;
}

.job-detail-main { min-width: 0; overflow-wrap: anywhere; }
.job-detail-main .apply-btn { overflow-wrap: normal; flex-shrink: 0; }
.detail-deadline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  margin: var(--space-12) 0 var(--space-18);
}

.detail-calendar-link, .detail-save-btn, .saved-remove-btn {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  border: var(--stroke-1) solid var(--color-slate-250);
  color: var(--color-navy);
  background: var(--color-white);
  justify-content: center;
  gap: var(--space-8);
  font-weight: 600;
  cursor: pointer;
}

.detail-calendar-link:hover, .detail-save-btn:hover, .saved-remove-btn:hover { background: var(--color-navy-light); color: var(--color-ink); }
.detail-save-btn.is-saved { background: var(--color-gray-160); border-color: var(--color-slate-350); color: var(--color-ink); }
.detail-deadline-tools:not(:has( > :not([hidden]))) { display: none; }
.detail-calendar-link[hidden], button[data-save-job][hidden], .nav-saved-link[hidden], .saved-jobs-empty[hidden] { display: none; }
.sticky-apply-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: var(--color-white);
  border-top: var(--stroke-2) solid var(--color-ink);
  box-shadow: 0 -6px 18px var(--color-ink-alpha-12);
  padding: var(--space-10) 0;
  padding-bottom: calc(var(--space-10) + env(safe-area-inset-bottom,0));
}

.sticky-apply-bar[hidden] { display: none; }
.sticky-apply-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
  padding-left: max(var(--space-18),env(safe-area-inset-left));
  padding-right: max(var(--space-18),env(safe-area-inset-right));
}

.sticky-apply-deadline {
  font-size: var(--type-reading);
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-ink);
  flex: 1 1 130px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.sticky-apply-btn {
  min-height: 44px;
  flex: 0 0 auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* Blog and articles. The page class also takes precedence over older cached inline styles. */
.career-guide-page .blog-content img { max-width: 100%; height: auto; }
.career-guide-page .blog-content table { display: block; max-width: 100%; overflow-x: auto; }
.career-guide-page .blog-header {
  background: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-28) 0;
  border-bottom: 0;
}

.career-guide-page .blog-header h1 {
  font-family: var(--font-serif);
  font-size: var(--type-display);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: var(--space-8);
}

.career-guide-page .blog-header p { color: var(--color-slate-10); font-size: var(--type-reading); }
.career-guide-page .blog-preview {
  border-radius: 0;
  box-shadow: none;
  border: var(--stroke-1) solid var(--color-border);
  margin-right: calc(-1 * var(--space-1));
  background: var(--color-white);
  padding: var(--space-26);
  margin-bottom: var(--space-16);
  transition: box-shadow 0.2s;
}

.career-guide-page .blog-preview-title a:hover { text-decoration: underline; }
.career-guide-page .blog-post {
  max-width: 880px;
  border-radius: 0;
  box-shadow: none;
  margin: var(--space-30) auto;
  background: var(--color-white);
  overflow-wrap: anywhere;
  border: var(--stroke-1) solid var(--color-slate-90);
  padding: var(--space-30);
}

.career-guide-page .blog-post h1 {
  font-family: var(--font-serif);
  font-size: var(--type-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--color-ink);
  margin-bottom: var(--space-16);
}

.career-guide-page .blog-content { font-size: var(--type-body); line-height: 1.9; color: var(--color-slate-560); }
.career-guide-page .blog-content h2 {
  font-family: inherit;
  font-size: var(--type-heading);
  font-weight: 650;
  letter-spacing: -.4px;
  color: var(--color-ink);
  margin: var(--space-32) 0 var(--space-16);
}

:where(.career-guide-page:not(:has(.blog-list))) .blog-nav { margin-bottom: var(--space-16); }
.career-guide-page .blog-meta {
  color: var(--color-muted);
  flex-wrap: wrap;
  display: flex;
  gap: var(--space-16);
  font-size: var(--type-reading);
  margin-bottom: var(--space-32);
  padding-bottom: var(--space-24);
  border-bottom: var(--stroke-1) solid var(--color-border);
}

.career-guide-page .blog-meta-item { display: flex; align-items: center; gap: var(--space-6); }
.career-guide-page .blog-content h3 {
  font-size: var(--type-title);
  font-weight: 600;
  color: var(--color-ink);
  margin: var(--space-24) 0 var(--space-12);
}

.career-guide-page .blog-content p { margin-bottom: var(--space-16); }
.career-guide-page .blog-content ul, .career-guide-page .blog-content ol { margin: var(--space-16) 0; padding-left: var(--space-28); }
.career-guide-page .blog-content li { margin: var(--space-8) 0; }
.career-guide-page .blog-content a { color: var(--color-navy); text-decoration: underline; text-underline-offset: var(--space-0-15em); }
.career-guide-page .blog-content code {
  background: var(--color-gray-80);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-4);
  font-size: var(--type-reading);
  font-family: "Monaco", "Courier New", monospace;
}

.career-guide-page .blog-content pre {
  background: var(--color-gray-30);
  padding: var(--space-16);
  border-radius: var(--radius-8);
  overflow-x: auto;
  margin: var(--space-16) 0;
}

.career-guide-page .blog-content pre code { background: none; padding: 0; }
.career-guide-page .blog-content blockquote {
  background: var(--color-gray-90);
  border-color: var(--color-sand-160);
  border-left: var(--stroke-4) solid var(--color-navy);
  padding-left: var(--space-16);
  margin: var(--space-16) 0;
  color: var(--color-muted);
  font-style: italic;
}

.career-guide-page .blog-footer {
  margin-top: var(--space-48);
  padding-top: var(--space-24);
  border-top: var(--stroke-1) solid var(--color-border);
  text-align: center;
}

.career-guide-page .blog-cta {
  background: var(--color-sand-40);
  color: var(--color-ink);
  border-radius: 0;
  padding: var(--space-24);
  text-align: center;
}

.career-guide-page .blog-cta h3 { font-size: var(--type-title-sm); margin-bottom: var(--space-8); }
.career-guide-page .blog-cta a {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-1);
  display: inline-block;
  margin-top: var(--space-12);
  padding: var(--space-10) var(--space-24);
  text-decoration: none;
  font-weight: 500;
}

:where(.career-guide-page:has(.blog-list)) .blog-nav { margin-bottom: var(--space-24); }
.career-guide-page .blog-nav a {
  font-size: var(--type-reading);
  color: var(--color-white);
  border: var(--stroke-1) solid var(--color-slate-270);
  background: var(--color-transparent);
  border-radius: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
}

.career-guide-page .blog-list {
  gap: 0;
  padding: var(--space-32) 0 var(--space-48);
  max-width: 800px;
  margin: calc(-1 * var(--space-40)) auto var(--space-40);
}

.career-guide-page .blog-preview-title {
  font-family: var(--font-serif);
  font-size: var(--type-heading);
  font-weight: 550;
  line-height: 1.3;
  margin-bottom: var(--space-8);
}

.career-guide-page .blog-preview-title a { color: var(--color-ink); text-decoration: none; }
.career-guide-page .blog-preview-meta {
  color: var(--color-muted);
  font-size: var(--type-reading);
  margin-bottom: var(--space-12);
  display: flex;
  gap: var(--space-8);
}

.career-guide-page .blog-preview-excerpt { color: var(--color-muted); line-height: 1.6; margin-bottom: var(--space-12); }
.career-guide-page .blog-preview-link {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--type-reading);
}

.career-guide-page .blog-preview-link:hover { text-decoration: underline; }
.career-guide-page .blog-empty { text-align: center; padding: var(--space-60) var(--space-20); color: var(--color-muted); }
/* Newsletter */
.newsletter-icon {
  font-family: var(--font-serif);
  font-size: var(--type-heading-lg);
  font-weight: 700;
  line-height: 1;
  color: var(--color-sand-180);
}

.newsletter-form {
  min-width: 0;
  padding: var(--space-3);
  background: var(--color-white);
  border-radius: 0;
  display: flex;
  gap: 0;
  border: var(--stroke-1) solid var(--color-gray-210);
  border-color: var(--color-slate-250);
}

.newsletter-form input::placeholder { color: var(--color-slate-370); }
.newsletter-btn-text > span { margin-left: var(--space-15); }
.newsletter-btn:hover { background: var(--color-navy-hover); }
.newsletter-btn[aria-disabled=true] { opacity: .65; cursor: wait; }
.newsletter-message {
  font-size: var(--type-reading);
  padding: var(--space-10) var(--space-14);
  border: var(--stroke-1) solid var(--color-transparent);
  width: 100%;
}

.newsletter-message:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.newsletter-message.success { background: var(--color-gray-150); color: var(--color-green-20); border-color: var(--color-green-10); }
.newsletter-message.error { background: var(--color-rust-10); color: var(--color-red-20); border-color: var(--color-rust-20); }
.newsletter-signup {
  background: var(--color-gray-50);
  border: var(--stroke-1) solid var(--color-sand-70);
  border-left: var(--stroke-4) solid var(--color-sand-140);
  padding: var(--space-23) var(--space-24);
  margin-top: var(--space-10);
}

.newsletter-signup .container { padding: 0; }
.newsletter-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-22);
  align-items: center;
}

.newsletter-text {
  display: flex;
  align-items: center;
  flex: 1;
  gap: var(--space-14);
}

.newsletter-title {
  letter-spacing: -.3px;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
  font-family: var(--font-serif);
  font-size: var(--type-heading);
  line-height: 1.2;
  font-weight: 400;
}

.newsletter-subtitle { font-size: var(--type-reading); line-height: 1.6; color: var(--color-sand-220); }
.newsletter-form-wrap { max-width: 100%; width: 380px; }
.newsletter-form input {
  color: var(--color-ink);
  flex: 1;
  min-width: 0;
  border: 0;
  background: var(--color-white);
  font-size: var(--type-body);
  padding: var(--space-10);
  min-height: 44px;
}

.newsletter-btn {
  background: var(--color-navy);
  color: var(--color-white);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  font-size: var(--type-reading);
  min-height: 44px;
  padding: var(--space-11) var(--space-17);
  border-radius: 0;
}

.newsletter-fineprint {
  color: var(--color-sand-200);
  margin-top: var(--space-4);
  font-size: var(--type-reading);
  line-height: 1.6;
}

.newsletter-paused-note, .newsletter-unavailable {
  font-size: var(--type-reading);
  line-height: 1.6;
  color: var(--color-ink);
  margin-top: var(--space-8);
}

.newsletter-form input:disabled { background: var(--color-gray-80); color: var(--color-slate-430); cursor: not-allowed; }
.newsletter-feed-note {
  font-size: var(--type-reading);
  line-height: 1.6;
  color: var(--color-ink);
  margin-top: var(--space-8);
}

.newsletter-feed-note a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: var(--space-3);
}

.newsletter-feed-note a:hover { color: var(--color-navy-hover); }
/* Site footer */
.site-footer {
  color: var(--color-white);
  border: 0;
  padding: var(--space-32) 0 var(--space-22);
  margin-top: 0;
  background: var(--color-ink);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-30);
  padding-bottom: var(--space-30);
}

.footer-top > p {
  font-size: var(--type-heading);
  line-height: 1.2;
  letter-spacing: -.4px;
  font-weight: 550;
}

.footer-top nav { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-12) var(--space-30); }
.footer-top nav a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: var(--stroke-1) solid var(--color-slate-440);
  display: flex;
  justify-content: space-between;
  gap: var(--space-20);
  padding-top: var(--space-16);
}

.footer-disclaimer {
  font-size: var(--type-reading);
  color: var(--color-slate-130);
  max-width: 660px;
  margin: 0;
}

.footer-credit {
  font-size: var(--type-reading);
  color: var(--color-slate-130);
  max-width: 660px;
  margin: 0;
  flex-shrink: 0;
}

.footer-credit strong { font-weight: 600; color: var(--color-white); }
body > footer:not(.site-footer) {
  padding: var(--space-28) 0;
  background: var(--color-page);
  color: var(--color-muted);
  font-size: var(--type-reading);
  margin-top: var(--space-34);
  border-top: var(--stroke-1) solid var(--color-border);
}

.site-footer .wordmark-sub { color: var(--color-slate-60); }
.site-footer .wordmark { color: var(--color-white); font-size: var(--type-heading); }
.site-footer .brand-mark { background: var(--color-gold); color: var(--color-ink); border-color: var(--color-gold); }
.footer-top nav a {
  font-size: var(--type-reading);
  color: var(--color-gray-170);
  text-decoration: none;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: var(--space-3); }
/* Saved roles, information, and recovery pages */
.info-content { max-width: 800px; padding-top: var(--space-48); padding-bottom: var(--space-64); }
.info-content h1 { margin-bottom: var(--space-24); }
.info-content h2:not(.job-title) { margin-top: var(--space-32); margin-bottom: var(--space-12); font-size: var(--type-heading); }
.info-content p { margin: 0 0 var(--space-16); line-height: 1.75; overflow-wrap: anywhere; }
.info-content a, .snapshot-meta a { text-decoration: underline; text-underline-offset: var(--space-3); }
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.info-content .not-found-links a { text-decoration: none; }
.not-found-links .btn-ghost { border: var(--stroke-1) solid var(--color-slate-250); color: var(--color-navy); }
.saved-intro { color: var(--color-muted); margin-bottom: var(--space-20); }
.saved-jobs-summary {
  font-size: var(--type-reading);
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-16);
}

.saved-jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
  margin-bottom: var(--space-24);
}

.saved-job-card.saved-job-unavailable { border-left-color: var(--color-slate-220); background: var(--color-gray-20); }
.saved-job-card p { margin: 0; line-height: 1.4; }
.saved-job-card .job-location { font-size: var(--type-reading); }
.saved-job-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.saved-status-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-9);
  font-size: var(--type-reading);
  font-weight: 650;
  background: var(--color-rust-10);
  color: var(--color-red-20);
  border: var(--stroke-1) solid var(--color-rust-30);
}

.saved-job-title { margin: var(--space-4) 0; }
.saved-main a.saved-title-link { color: var(--color-ink); text-decoration: underline; text-underline-offset: var(--space-3); }
.saved-main a.saved-title-link:hover { color: var(--color-navy); }
.saved-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: var(--stroke-1) solid var(--color-gray-200);
}

.saved-job-footer .job-deadline { margin: 0; font-size: var(--type-reading); }
.saved-job-actions {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.saved-main a.apply-btn, .saved-main a.btn-primary { color: var(--color-white); text-decoration: none; }
.saved-main a.btn-ghost { color: var(--color-navy); text-decoration: none; border: var(--stroke-1) solid var(--color-slate-250); }
/* Responsive layout */
@media (max-width: 1100px) {
  .opportunities-layout { grid-template-columns: minmax(0,1fr) 235px; gap: var(--space-20); }
  .sidebar-intro, .sidebar-note { padding: var(--space-18); }
  .sidebar-intro h2 { font-size: var(--type-heading); }
}

@media (max-width: 900px) {
  .container { padding-inline: var(--space-24); }
  html { scroll-padding-top: var(--space-90); }
  .nav-inner { min-height: 74px; }
  .nav-subscribe { display: none; }
  .wordmark { font-size: var(--type-heading); }
  .nav-links { gap: var(--space-20); }
  .edition-lead-grid { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .edition-lead-note { border-left: 0; padding-left: 0; }
  .edition-institution-inner > a { padding: var(--space-6) var(--space-10); }
  .section-heading > p { display: none; }
  .opportunities-layout { display: block; }
  .guide-card { padding-inline: var(--space-20); }
  .guide-card h3 { font-size: var(--type-heading); }
  .browse-sidebar {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: var(--space-18);
    margin-bottom: var(--space-24);
  }
  .sidebar-note { margin-top: 0; }
  .organization-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .org-directory-card, .org-directory-card:nth-child(n + 4) { grid-column: span 1; }
  .org-directory-card:last-child { grid-column: 1 / -1; }
  .job-detail-layout { grid-template-columns: minmax(0,1fr) 250px; gap: var(--space-26); }
  .job-detail-heading h1 { font-size: var(--type-heading-lg); }
  .job-detail-body { padding: var(--space-22); }
  .newsletter-form-wrap { width: 315px; }
  .newsletter-title { font-size: var(--type-heading); }
  .newsletter-subtitle { font-size: var(--type-reading); }
  .newsletter-signup { padding: var(--space-21); }
  .footer-top > p { display: none; }
  .footer-bottom { flex-direction: column; gap: var(--space-10); }
}

@media (max-width: 768px) {
  .other-orgs { padding: var(--space-20); }
  .career-guide-page .blog-list { margin: calc(-1 * var(--space-30)) var(--space-20) var(--space-30); }
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-18); }
  html { scroll-padding-top: var(--space-121); }
  .site-nav { border-bottom: 0; }
  .nav-inner {
    min-height: 0;
    padding-top: var(--space-14);
    padding-bottom: 0;
    flex-wrap: wrap;
    gap: var(--space-8);
  }
  .wordmark {
    font-size: var(--type-title);
    gap: var(--space-10);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  .wordmark > span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .brand-mark { width: 39px; height: 39px; flex-shrink: 0; font-size: var(--type-heading); }
  .wordmark-sub { letter-spacing: .75px; margin-top: var(--space-3); }
  .nav-links { gap: var(--space-25); width: 100%; justify-content: flex-start; }
  .nav-current { border-bottom-width: var(--stroke-3); }
  .nav-links:has(.nav-saved-link:not([hidden])) { gap: var(--space-6) var(--space-18); }
  .hero-stat { text-align: left; flex: 0 1 auto; }
  .hero-stat-label { display: block; }
  .edition-lead { padding: var(--space-8) 0 var(--space-9); }
  .edition-lead h1 { font-size: var(--type-title); letter-spacing: -.4px; line-height: 1.2; }
  .edition-lead-note > p { font-size: var(--type-reading); line-height: 1.4; }
  .edition-institutions .edition-institution-inner {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    min-height: 0;
    padding-inline: 0;
  }
  .edition-institution-inner > a {
    padding: var(--space-3) var(--space-2);
    min-height: 36px;
    border-right: 0;
    border-left: var(--stroke-1) solid var(--color-border);
  }
  .edition-institution-inner > a:first-of-type { border-left: 0; }
  .hero-stats {
    flex-direction: row;
    grid-column: 1 / -1;
    margin: 0;
    justify-content: center;
    gap: var(--space-18);
    padding: var(--space-3) 0 var(--space-4);
    border-top: var(--stroke-1) solid var(--color-border);
  }
  .hero-stat-value { display: block; font-size: var(--type-reading); }
  #open-filters { display: inline-flex; }
  #desktop-filters { display: none; }
  .facet-menus { grid-template-columns: 1fr; }
  .facet-popover {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: var(--space-2);
  }
  .facet-option { min-height: 44px; }
  .eyebrow, .section-kicker { font-size: var(--type-reading); letter-spacing: 1.4px; }
  .search-icon { display: none; }
  .filter-toolbar .btn {
    min-height: 44px;
    font-size: var(--type-body);
    padding: var(--space-11) var(--space-18);
    border: var(--stroke-1) solid var(--color-slate-170);
    background: var(--color-white);
    color: var(--color-navy);
  }
  .filter-toolbar #open-filters { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
  .sort-label { gap: var(--space-5); }
  .sort-label select {
    width: 128px;
    font-size: var(--type-body);
    min-height: 44px;
    padding-left: var(--space-7);
    padding-right: var(--space-20);
  }
  #jobs-container { gap: var(--space-10); }
  #filters-dialog .facet summary { min-height: 64px; font-size: var(--type-body); padding: var(--space-11) var(--space-12); }
  .facet-actions button, .only-option { min-height: 44px; font-size: var(--type-body); }
  .facet-option label { font-size: var(--type-reading); line-height: 1.5; }
  .filter-select { font-size: var(--type-body); min-height: 44px; }
  .browse-main { padding-top: var(--space-6); }
  .browse-main .snapshot-meta { margin: 0 0 var(--space-6); }
  .edition-workbench { padding: var(--space-8) var(--space-10); margin-bottom: var(--space-8); }
  .search-bar { flex-wrap: nowrap; padding: var(--space-3) var(--space-3) var(--space-3) var(--space-8); }
  .search-bar input {
    font-size: var(--type-body);
    width: 100%;
    min-width: 0;
    padding: var(--space-8) var(--space-4);
  }
  .search-bar .btn { font-size: var(--type-body); min-height: 44px; padding: var(--space-10) var(--space-14); }
  .browse-shortcuts { gap: var(--space-4) var(--space-12); padding: var(--space-2) 0 var(--space-1); font-size: var(--type-reading); }
  .browse-shortcuts > span { display: none; }
  .browse-shortcuts > a { min-height: 28px; gap: var(--space-4); }
  .filter-toolbar {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: var(--space-6);
    justify-content: space-between;
    margin-top: var(--space-2);
  }
  .btn, .btn-ghost, .selection-chip { font-size: var(--type-body); }
  .filters-dialog-header .btn, .filters-dialog-footer .btn { font-size: var(--type-body); }
  .date-filters > label { display: block; width: calc(50% - 6px); }
  .date-filters select { width: 100%; margin-top: var(--space-3); font-size: var(--type-body); }
  .results-header { padding-bottom: var(--space-6); }
  .results-topline { gap: var(--space-8); }
  .results-count { line-height: 1.4; padding: 0; }
  .results-explainer summary {
    min-height: 24px;
    padding-top: var(--space-2);
  }
  .org-badge { align-self: flex-start; padding: var(--space-4) var(--space-5); }
  .directory-job-list { grid-template-columns: 1fr; }
  .job-card { padding: var(--space-9) var(--space-12); border-left-width: var(--stroke-3); }
  .job-top { margin-bottom: var(--space-1); }
  .job-title { font-size: var(--type-body); line-height: 1.25; }
  .job-subtitle { line-height: 1.25; margin-top: var(--space-1); }
  .job-meta { gap: var(--space-1) var(--space-10); margin-top: var(--space-3); line-height: 1.3; }
  .job-card .job-meta-item { line-height: 1.3; }
  .job-card .qualification-routes { margin-top: var(--space-3); line-height: 1.3; }
  .job-bottom { gap: var(--space-4) var(--space-8); margin-top: var(--space-4); padding-top: var(--space-4); }
  .job-pills { gap: var(--space-4); }
  .job-card .info-pill { padding: var(--space-1) var(--space-5); line-height: 1.25; }
  .job-card :is(.apply-link,.apply-btn) { min-height: 32px; padding-block: var(--space-5); }
  .job-save { font-size: var(--type-body); min-height: 32px; padding-block: var(--space-5); }
  .job-modal-overlay { padding: var(--space-12); }
  .job-modal { padding: var(--space-20) var(--space-18); max-height: calc(100dvh - 24px); scroll-padding-top: var(--space-64); }
  .job-modal-close { margin-right: calc(-1 * var(--space-3)); margin-top: calc(-1 * var(--space-5)); top: 0; }
  .modal-title { font-size: var(--type-heading); line-height: 1.3; }
  .modal-actions {
    flex-wrap: wrap;
    bottom: calc(-1 * var(--space-20));
    gap: var(--space-12);
    min-height: 74px;
    padding-top: var(--space-13);
    padding-bottom: var(--space-13);
  }
  .modal-actions a { min-height: 44px; }
  :where(.job-modal) .apply-link { padding: var(--space-11) var(--space-18); }
  .modal-header { padding-right: var(--space-44); }
  .job-modal-body > :not(.modal-header,.modal-actions) { margin-right: var(--space-44); }
  .career-library { padding: var(--space-20) var(--space-17); margin-top: var(--space-20); margin-bottom: var(--space-24); }
  .career-library .section-heading {
    align-items: flex-start;
    gap: var(--space-13);
    flex-direction: column;
    padding-bottom: var(--space-17);
  }
  .career-library h2 { font-size: var(--type-heading-lg); }
  .career-library .text-link { min-height: 44px; align-items: center; }
  .guide-grid { margin-top: 0; grid-template-columns: 1fr; }
  .guide-card, .guide-card:first-child {
    padding: var(--space-22) 0 var(--space-15);
    min-height: 0;
    border-right: 0;
    border-bottom: var(--stroke-1) solid var(--color-border);
  }
  .guide-card:last-child {
    padding: var(--space-22) 0 var(--space-15);
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
    padding-bottom: 0;
  }
  .guide-number { margin-bottom: var(--space-12); }
  .guide-card h3 {
    font-size: var(--type-heading);
    line-height: 1.2;
    margin: var(--space-10) 0 var(--space-15);
    max-width: none;
  }
  .guide-cta { min-height: 44px; }
  .browse-sidebar { display: block; }
  .sidebar-note { margin-top: var(--space-16); }
  .directory-hero { padding: var(--space-24) 0; }
  .directory-hero > p:last-child { font-size: var(--type-reading); }
  .directory-opportunities .section-heading { flex-direction: column; align-items: flex-start; gap: var(--space-15); }
  .directory-opportunities .section-heading h2 { font-size: var(--type-heading); }
  .opportunity-index-links { grid-template-columns: 1fr; gap: var(--space-12); }
  .org-landing-header { padding: var(--space-24) 0; }
  .org-intro { padding: var(--space-22); }
  .directory-hero h1, .org-landing-header h1 { font-size: var(--type-heading-lg); }
  .organization-directory { grid-template-columns: 1fr; gap: var(--space-12); }
  .org-directory-card, .org-directory-card:nth-child(n + 4), .org-directory-card:last-child {
    grid-column: auto;
    padding: var(--space-22);
    min-height: 190px;
  }
  .job-detail-layout { display: flex; flex-direction: column; gap: var(--space-14); }
  .detail-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--space-12); }
  .detail-facts > div { padding-bottom: var(--space-10); }
  .detail-facts dd { font-size: var(--type-reading); }
  .detail-apply { margin-top: var(--space-14); min-height: 46px; font-size: var(--type-reading); }
  .detail-section h2 { font-size: var(--type-heading); }
  .detail-breadcrumb { font-size: var(--type-reading); line-height: 1.7; margin: var(--space-22) 0 var(--space-16); }
  .detail-source, .detail-availability { font-size: var(--type-reading); }
  .job-detail-heading { margin-bottom: var(--space-22); }
  .job-detail-body { padding: var(--space-20) var(--space-16); width: 100%; }
  .job-detail-sidebar { width: 100%; padding: var(--space-20); }
  .detail-facts dt { font-size: var(--type-reading); }
  .job-detail-heading h1 { letter-spacing: -.7px; font-size: var(--type-heading-lg); }
  .job-detail-main { padding-bottom: var(--space-16); }
  .job-detail-main :is(a,button,summary,[tabindex]) { scroll-margin-bottom: var(--space-96); }
  .career-guide-page .blog-header h1 { font-size: var(--type-heading-lg); }
  .career-guide-page .blog-post h1 { font-size: var(--type-heading-lg); }
  .career-guide-page .blog-content { font-size: var(--type-body); }
  .career-guide-page .blog-content h2 { font-size: var(--type-heading); }
  .career-guide-page .blog-preview { padding: var(--space-24); }
  .career-guide-page .blog-post { margin: var(--space-24) auto; padding: var(--space-23) var(--space-16); }
  .newsletter-message:not(:empty) { margin-top: var(--space-12); }
  .newsletter-signup { padding: var(--space-20) var(--space-16); margin-top: var(--space-5); }
  .newsletter-content { display: block; }
  .newsletter-text { gap: var(--space-10); }
  .newsletter-icon { font-size: var(--type-heading); }
  .newsletter-title { font-size: var(--type-heading); line-height: 1.2; }
  .newsletter-subtitle { font-size: var(--type-reading); line-height: 1.6; margin-top: var(--space-4); }
  .newsletter-form-wrap { width: 100%; margin-top: var(--space-15); }
  .newsletter-form { flex-direction: column; gap: var(--space-4); padding: var(--space-4); }
  .newsletter-form input { min-height: 46px; padding: var(--space-10); }
  .newsletter-btn { font-size: var(--type-body); min-height: 46px; width: 100%; }
  .newsletter-fineprint { font-size: var(--type-reading); line-height: 1.6; margin-top: var(--space-7); }
  .site-footer .wordmark { font-size: var(--type-title); }
  .footer-top { display: grid; gap: var(--space-22); }
  .footer-top nav { gap: var(--space-6) var(--space-22); }
  .footer-top nav a { min-height: 44px; font-size: var(--type-reading); }
  .footer-bottom { gap: var(--space-12); }
  .footer-disclaimer, .footer-credit { font-size: var(--type-reading); line-height: 1.8; }
  .site-footer { padding: var(--space-28) 0 var(--space-20); }
}

@media (max-width: 360px) {
  .container { padding-inline: var(--space-16); }
  .nav-links { gap: var(--space-22); }
  .hero-stats { gap: var(--space-12); }
  .sort-label select { width: 122px; }
  .edition-workbench { padding-inline: var(--space-10); }
  .browse-shortcuts { gap: 0 var(--space-10); font-size: var(--type-reading); }
  .newsletter-btn-text > span { margin-left: var(--space-8); }
}

/* Short viewports must leave room for content below the navigation. */
@media (max-height: 500px) {
  html { scroll-padding-top: var(--space-16); }
  .site-nav { position: static; }
}

/* Let the preview controls scroll when the viewport is very short. */
@media (max-height: 320px) {
  .job-modal { scroll-padding-block: 0; }
  .job-modal-close { position: static; }
  .job-modal-body > :not(.modal-header,.modal-actions) { margin-right: 0; }
  .modal-actions { position: static; box-shadow: none; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Print the open preview alone and include the official Apply URL. */
@media print {
  body { background: var(--color-white); }
  .skip-link, .site-nav, .site-footer, .edition-lead, .edition-institutions, .edition-workbench, .results-explainer, .sort-label, #loading-indicator, #jobs-app-recovery, .browse-sidebar, .newsletter-signup, .career-library, .opportunity-index, .job-modal-close, .not-found-links {
    display: none !important;
  }
  .job-card { break-inside: avoid; }
  body.preview-open > :not(#job-modal) { display: none !important; }
  body.preview-open .job-modal-overlay {
    position: static;
    display: block;
    padding: 0;
    background: none;
    backdrop-filter: none;
  }
  body.preview-open .job-modal {
    max-width: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: 0;
    padding: 0;
    animation: none;
  }
  .modal-actions {
    position: static;
    box-shadow: none;
    min-height: 0;
    display: block;
  }
  .job-modal .apply-link {
    display: block;
    background: none;
    color: var(--color-print-ink);
    border: 0;
    padding: 0;
    min-height: 0;
    margin-top: var(--space-12);
    text-align: left;
    box-shadow: none;
    transition: none;
  }
  .job-modal .apply-link[href]::after {
    content: "Apply at: " attr(href);
    display: block;
    margin-top: var(--space-4);
    font-size: var(--type-reading);
    font-weight: 400;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (min-width: 641px), (max-height: 320px), print {
  .sticky-apply-bar { display: none !important; }
}
