
:root {
  --canvas: #d8dfe2;
  --paper: #ffffff;
  --ink: #243039;
  --muted: #66737a;
  --slate: #29475a;
  --slate-dark: #1d3442;
  --sea: #8aa7a6;
  --sea-pale: #e7efee;
  --red: #a4382f;
  --sand: #f2efe7;
  --rule: #b9c1c4;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.58 Arial, Helvetica, sans-serif;
}

a {
  color: #174f6d;
}

a:hover,
a:focus {
  color: var(--red);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 9px 13px;
  background: #fff;
  border: 2px solid var(--red);
}

.skip-link:focus {
  top: 12px;
}

.site-frame {
  width: min(1040px, calc(100% - 36px));
  margin: 22px auto 38px;
  background: var(--paper);
  border: 1px solid #9ca8ad;
}

.topline {
  min-height: 30px;
  padding: 6px 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #edf0f1;
  border-bottom: 1px solid var(--rule);
  color: #56636a;
  font-size: 11px;
  letter-spacing: .04em;
}

.masthead {
  min-height: 112px;
  padding: 22px 28px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  background: var(--paper);
  border-bottom: 5px solid var(--sea);
}

.brandmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--slate-dark);
  text-decoration: none;
  line-height: 1;
}

.brandmark strong {
  font: 900 42px/1 "Arial Narrow", Arial, Helvetica, sans-serif;
  letter-spacing: .09em;
}

.brandmark span {
  width: max-content;
  margin-top: 6px;
  padding: 5px 10px 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.masthead p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--rule);
  color: var(--slate);
  font: italic 18px/1.35 Georgia, "Times New Roman", serif;
  text-align: right;
}

.section-tabs {
  display: flex;
  background: var(--slate-dark);
  border-bottom: 1px solid #102631;
}

.section-tabs a {
  min-width: 130px;
  padding: 13px 18px 12px;
  border-right: 1px solid #4f6674;
  border-top: 4px solid transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.section-tabs a:hover,
.section-tabs a:focus,
.section-tabs .is-current {
  border-top-color: var(--red);
  background: #36566a;
  color: #fff;
}

.registry-bar {
  min-height: 72px;
  padding: 13px 20px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 18px;
  background: var(--sea-pale);
  border-bottom: 1px solid #b4c7c5;
}

.registry-bar h2,
.registry-bar p {
  margin: 0;
}

.registry-bar h2 {
  color: var(--slate-dark);
  font: 700 17px/1.2 Georgia, "Times New Roman", serif;
}

.registry-bar p {
  color: #536368;
  font-size: 13px;
}

.registry-bar a {
  padding: 9px 13px;
  background: var(--slate);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, .82fr);
  border-bottom: 1px solid var(--rule);
}

.service-copy {
  padding: 38px 42px 34px;
}

.section-code {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 18px;
  color: var(--slate-dark);
  font: 700 38px/1.08 Georgia, "Times New Roman", serif;
}

h2 {
  color: var(--slate-dark);
  font: 700 23px/1.2 Georgia, "Times New Roman", serif;
}

.lead {
  margin: 0 0 22px;
  color: #33444e;
  font: 20px/1.48 Georgia, "Times New Roman", serif;
}

.membership-note {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
  color: #59656a;
  font-size: 13px;
}

.desk-rail {
  padding: 28px 25px;
  background: #f2f5f5;
  border-left: 1px solid var(--rule);
}

.desk-rail section + section {
  margin-top: 27px;
  padding-top: 22px;
  border-top: 4px solid var(--sea);
}

.desk-rail h2,
.context-rail h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.desk-rail dl {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.desk-rail dl div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
}

.desk-rail dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.desk-rail dd {
  margin: 0;
  font-size: 13px;
}

.small-print {
  color: var(--muted);
  font-size: 11px;
}

.period-listings ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.period-listings li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
}

.period-listings p {
  color: var(--muted);
  font-size: 12px;
}

.role-index {
  padding: 32px 42px 35px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

.role-index h2 {
  margin: 0;
}

.role-index ul {
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 34px;
  list-style: none;
  border-top: 3px solid var(--red);
}

.role-index li {
  break-inside: avoid;
  padding: 7px 0 6px 14px;
  border-bottom: 1px dotted #aab2b5;
  position: relative;
}

.role-index li::before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  left: 0;
  top: 15px;
  background: var(--red);
}

.guidance-band {
  padding: 30px 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--sand);
  border-bottom: 1px solid #c9c2b6;
}

.guidance-band > div {
  padding-right: 36px;
}

.guidance-band > div + div {
  padding: 0 0 0 36px;
  border-left: 1px solid #c9c2b6;
}

.guidance-band h2 {
  margin: 0 0 9px;
}

.text-link {
  font-weight: 700;
}

.island-note {
  padding: 20px 42px;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 24px;
  align-items: baseline;
  background: var(--slate);
  color: #fff;
}

.island-note span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.island-note p {
  margin: 0;
  font: italic 17px/1.45 Georgia, "Times New Roman", serif;
}

.inner-page {
  min-height: 620px;
}

.breadcrumb {
  padding: 11px 25px;
  display: flex;
  gap: 8px;
  background: #edf1f2;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 11px;
}

.breadcrumb a {
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
}

.document-shell {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr) 212px;
  align-items: start;
}

.chapter-index {
  padding: 27px 18px 34px;
  background: #f1f4f4;
  border-right: 1px solid var(--rule);
}

.chapter-index > strong {
  display: block;
  margin-bottom: 13px;
  color: var(--slate-dark);
  font: 700 15px/1.2 Georgia, "Times New Roman", serif;
}

.chapter-index a {
  padding: 9px 0;
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 5px;
  border-top: 1px solid #c7ced0;
  color: #334b58;
  font-size: 12px;
  text-decoration: none;
}

.chapter-index a span {
  color: var(--red);
  font-weight: 700;
}

.document-body {
  padding: 36px 42px 50px;
  min-width: 0;
}

.document-body > section {
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid var(--rule);
}

.document-body h2 {
  margin: 0 0 12px;
}

.document-body li {
  margin-bottom: 7px;
}

.compact-columns {
  columns: 2;
  column-gap: 35px;
  padding-left: 19px;
}

.compact-columns li {
  break-inside: avoid;
}

.sector-line {
  margin: 18px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
  list-style: none;
}

.sector-line li {
  margin: 0;
  padding: 8px 18px 8px 0;
  font-weight: 700;
}

.interview-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tips;
}

.interview-list li {
  padding: 10px 0 10px 42px;
  border-bottom: 1px dotted var(--rule);
  counter-increment: tips;
  position: relative;
}

.interview-list li::before {
  content: counter(tips, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--red);
  font-weight: 700;
}

.context-rail {
  padding: 27px 19px 34px;
  background: var(--sand);
  border-left: 1px solid #d0cabd;
}

.context-rail h2:not(:first-child) {
  margin-top: 26px;
  padding-top: 19px;
  border-top: 3px solid var(--sea);
}

.context-rail p {
  color: #5e615d;
  font-size: 12px;
}

.context-rail a {
  padding: 8px 0;
  display: block;
  border-top: 1px solid #d0cabd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.page-heading {
  padding: 36px 42px 28px;
  border-bottom: 1px solid var(--rule);
}

.page-heading .lead {
  max-width: 760px;
}

.status-note {
  margin: 24px 42px 8px;
  padding: 13px 17px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: #f5eeee;
  border-left: 6px solid var(--red);
}

.status-note strong {
  color: var(--red);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-note p {
  margin: 0;
  font-size: 13px;
}

.vacancy-register {
  padding: 10px 42px 38px;
}

.vacancy-entry {
  padding: 24px 0 22px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  border-top: 1px solid var(--slate);
}

.vacancy-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}

.vacancy-meta span {
  padding: 4px 7px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vacancy-meta b {
  color: var(--slate);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}

.vacancy-entry h2 {
  margin: 0 0 11px;
}

.vacancy-entry p {
  margin: 8px 0;
}

.mentioned-roles {
  padding: 25px 42px 31px;
  background: var(--sea-pale);
  border-top: 1px solid #b4c7c5;
}

.mentioned-roles h2 {
  margin: 0 0 7px;
  font-size: 19px;
}

.mentioned-roles p {
  margin: 0;
}

.terms-shell address {
  margin: 15px 0;
  padding: 15px 18px;
  background: #f2f4f4;
  border-left: 4px solid var(--sea);
  font-style: normal;
}

.official-links {
  padding-left: 20px;
}

.official-links a {
  font-weight: 700;
}

.compact-heading {
  max-width: 760px;
}

.route-index {
  margin: 0 42px 44px;
  border-top: 3px solid var(--slate);
}

.route-index a {
  padding: 17px 6px;
  display: grid;
  grid-template-columns: 48px 190px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}

.route-index span {
  color: var(--red);
  font-weight: 700;
}

.route-index strong {
  color: var(--slate-dark);
  font: 700 17px/1.25 Georgia, "Times New Roman", serif;
}

.route-index em {
  color: var(--muted);
  font-style: normal;
}

.site-foot {
  color: #dfe7e9;
  background: var(--slate-dark);
  border-top: 5px solid var(--sea);
}

.foot-routes {
  padding: 15px 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-bottom: 1px solid #435966;
}

.foot-routes a {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.foot-record {
  padding: 20px 25px 8px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.foot-record strong {
  color: #fff;
  font: 700 17px/1.25 Georgia, "Times New Roman", serif;
}

.foot-record span {
  color: #bfcdd2;
  font-size: 11px;
  text-align: right;
  text-transform: uppercase;
}

.site-foot > p {
  margin: 0;
  padding: 0 25px 20px;
  color: #afbec4;
  font-size: 11px;
}

@media (max-width: 820px) {
  .site-frame {
    width: min(100% - 20px, 1040px);
    margin-top: 10px;
  }

  .section-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .section-tabs a {
    min-width: 0;
    border-bottom: 1px solid #4f6674;
  }

  .document-shell {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .context-rail {
    grid-column: 1 / -1;
    border-top: 1px solid #d0cabd;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-frame {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
  }

  .topline {
    display: block;
  }

  .topline span {
    display: block;
  }

  .masthead {
    min-height: 0;
    padding: 19px 18px;
    display: block;
    background: var(--paper);
  }

  .brandmark strong {
    font-size: 34px;
  }

  .masthead p {
    margin-top: 17px;
    padding: 11px 0 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
    font-size: 16px;
    text-align: left;
  }

  .section-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .section-tabs a {
    padding: 11px 8px;
    font-size: 11px;
  }

  .registry-bar {
    padding: 15px 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .registry-bar a {
    width: max-content;
  }

  .home-columns {
    grid-template-columns: 1fr;
  }

  .service-copy,
  .page-heading,
  .document-body,
  .vacancy-register {
    padding-right: 20px;
    padding-left: 20px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .desk-rail {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .role-index {
    padding: 27px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .role-index ul,
  .compact-columns {
    columns: 1;
  }

  .guidance-band {
    padding: 27px 20px;
    grid-template-columns: 1fr;
  }

  .guidance-band > div {
    padding-right: 0;
  }

  .guidance-band > div + div {
    margin-top: 24px;
    padding: 24px 0 0;
    border-top: 1px solid #c9c2b6;
    border-left: 0;
  }

  .island-note {
    padding: 19px 20px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .document-shell {
    grid-template-columns: 1fr;
  }

  .chapter-index {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .chapter-index > strong {
    grid-column: 1 / -1;
  }

  .document-body {
    padding-top: 29px;
    padding-bottom: 39px;
  }

  .context-rail {
    padding: 23px 20px;
  }

  .status-note {
    margin: 20px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .vacancy-entry {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .vacancy-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .mentioned-roles {
    padding: 22px 20px;
  }

  .route-index {
    margin: 0 20px 34px;
  }

  .route-index a {
    grid-template-columns: 35px 1fr;
  }

  .route-index em {
    grid-column: 2;
  }

  .foot-record {
    display: block;
  }

  .foot-record span {
    margin-top: 7px;
    display: block;
    text-align: left;
  }
}


/* Locked authority-job-board reconciliation: compact, square and task-first. */
:root {
  --canvas: #d8dde1;
  --paper: #ffffff;
  --ink: #24313a;
  --muted: #5f6b72;
  --slate: #29475a;
  --slate-dark: #1d3442;
  --sea: #1f5d56;
  --sea-pale: #e6efed;
  --red: #8b2432;
  --sand: #f2efe7;
  --rule: #aeb8bf;
}

body { font-size: 15px; }
.site-frame { width: min(1240px, calc(100% - 28px)); }
.masthead { min-height: 104px; padding: 19px 24px 17px; background: var(--paper); border-bottom-color: var(--sea); }
.brandmark h1 { margin: 0; font: inherit; }
.brandmark strong { font: 700 36px/1 Georgia, "Times New Roman", serif; letter-spacing: .05em; }
.brandmark span { width: max-content; margin-top: 5px; padding: 4px 8px; background: var(--red); font-size: 11px; }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; }
h1 { font-size: 30px; }
h2 { font-size: 20px; }
.identity-facts { min-width: 330px; text-align: right; }
.identity-facts > p { margin: 0 0 8px; color: var(--slate-dark); font-weight: 700; }
.identity-facts dl { margin: 0; display: flex; justify-content: flex-end; gap: 18px; }
.identity-facts dl div { display: flex; gap: 7px; }
.identity-facts dt { color: var(--muted); font: 700 11px/1.4 "Courier New", monospace; text-transform: uppercase; }
.identity-facts dd { margin: 0; font-size: 12px; }
.section-tabs a { min-width: 0; flex: 1; padding: 11px 10px 10px; }
.record-strip { min-height: 50px; padding: 8px 16px; display: grid; grid-template-columns: 125px 1fr 1fr; gap: 16px; align-items: center; background: #f4ecec; border-bottom: 1px solid #c9b4b5; }
.record-strip strong { color: var(--red); font: 700 12px/1.3 "Courier New", monospace; text-transform: uppercase; }
.record-strip p { margin: 0; font-size: 12px; }
.record-strip p + p { padding-left: 16px; border-left: 1px solid #c9b4b5; }

.portal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; align-items: start; }
.browse-rail { grid-column: 1; padding: 21px 17px 28px; background: #eef2f2; border-right: 1px solid var(--rule); }
.job-ledger { grid-column: 2; min-width: 0; padding: 21px 22px 28px; }
.task-rail { grid-column: 3; background: var(--sand); border-left: 1px solid #d0cabd; }
.module-code { margin: 0 0 6px; color: var(--red); font: 700 11px/1.3 "Courier New", monospace; letter-spacing: .06em; text-transform: uppercase; }
.browse-rail h2, .task-rail h2, .module-heading h2 { margin: 0 0 11px; font-size: 17px; }
.category-list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--sea); }
.category-list li { margin: 0; border-bottom: 1px solid #c7ced0; }
.category-list a { padding: 6px 2px; display: block; color: #334b58; font-size: 12px; text-decoration: none; }
.category-list a::before { content: "›"; margin-right: 7px; color: var(--red); font-weight: 700; }
.location-index { margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--rule); }
.location-index > a { display: grid; grid-template-columns: 38px 1fr; align-items: center; color: var(--slate-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.location-index > a span { margin-right: 7px; padding: 4px 3px; background: var(--sea); color: #fff; font: 700 11px/1 "Courier New", monospace; text-align: center; }
.location-index p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.module-heading { margin-bottom: 10px; display: flex; justify-content: space-between; gap: 15px; align-items: end; }
.module-heading a { font-size: 12px; font-weight: 700; }
.job-row { display: grid; grid-template-columns: minmax(240px, 1fr) 70px 112px 82px; gap: 9px; align-items: start; padding: 12px 5px; border-top: 1px solid var(--rule); }
.job-row-head { padding: 6px 5px; background: #eef1f2; color: var(--muted); font: 700 10px/1.2 "Courier New", monospace; letter-spacing: .04em; text-transform: uppercase; }
.job-row h3 { margin: 0 0 3px; font-size: 15px; line-height: 1.25; }
.job-row h3 a { color: var(--slate-dark); text-decoration: none; }
.job-row p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.job-row > b { color: var(--red); font: 700 12px/1.4 "Courier New", monospace; }
.job-row > span { font-size: 11px; line-height: 1.35; }
.job-row > em { color: var(--sea); font: 700 10px/1.35 "Courier New", monospace; font-style: normal; text-transform: uppercase; }
.unexpanded-records { padding: 11px 5px; display: grid; grid-template-columns: 190px 1fr; gap: 12px; background: var(--sea-pale); border-top: 1px solid #b4c7c5; font-size: 11px; }
.filter-index, .resource-index { padding: 21px 16px; }
.resource-index { border-top: 4px solid var(--sea); }
.filter-index ul { margin: 0 0 17px; padding: 0; columns: 2; column-gap: 12px; list-style: none; border-top: 1px solid #c9c2b6; }
.filter-index li { padding: 6px 0; break-inside: avoid; border-bottom: 1px solid #d7d0c4; font-size: 11px; }
.filter-index dl { margin: 0; }
.filter-index dl div { padding: 7px 0; border-top: 1px solid #d0cabd; }
.filter-index dt { color: var(--red); font: 700 10px/1.3 "Courier New", monospace; text-transform: uppercase; }
.filter-index dd { margin: 3px 0 0; font-size: 11px; }
.resource-index > a { padding: 8px 0; display: block; border-top: 1px solid #d0cabd; color: var(--ink); text-decoration: none; }
.resource-index > a strong, .resource-index > a span { display: block; }
.resource-index > a strong { color: var(--slate-dark); font-size: 12px; }
.resource-index > a span { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.period-contact { margin: 17px 0 0; padding: 11px 9px; background: #fff; border-left: 3px solid var(--red); }
.period-contact b, .period-contact span, .period-contact small { display: block; }
.period-contact b { color: var(--red); font: 700 10px/1.3 "Courier New", monospace; text-transform: uppercase; }
.period-contact span { margin: 4px 0; font-weight: 700; }
.period-contact small { color: var(--muted); font-size: 9px; line-height: 1.35; }

.board-footer { clear: both; }
.footer-grid { padding: 20px 24px; display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 32px; border-bottom: 1px solid #435966; }
.footer-grid h2 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.footer-grid p { margin: 0; color: #bdc9cd; font-size: 11px; }
.footer-grid a { padding: 3px 0; display: block; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }

.document-shell { grid-template-columns: 230px minmax(0, 1fr) 220px; }
.vacancy-meta em, .vacancy-meta small { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.35; }
.vacancy-meta small { font-family: "Courier New", monospace; text-transform: uppercase; }

@media (max-width: 980px) {
  .portal-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .task-rail { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 0; }
  .resource-index { border-top: 0; border-left: 1px solid #d0cabd; }
  .document-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .context-rail { grid-column: 1 / -1; border-top: 1px solid #d0cabd; border-left: 0; }
}

@media (max-width: 760px) {
  .site-frame { width: min(100% - 16px, 1240px); margin-top: 8px; }
  .topline { display: block; }
  .topline span { display: block; }
  .masthead { display: block; }
  .identity-facts { min-width: 0; margin-top: 15px; padding-top: 11px; border-top: 1px solid var(--rule); text-align: left; }
  .identity-facts dl { justify-content: flex-start; flex-wrap: wrap; }
  .section-tabs { grid-template-columns: repeat(2, 1fr); }
  .record-strip { grid-template-columns: 1fr; gap: 4px; }
  .record-strip p + p { padding: 5px 0 0; border-top: 1px solid #c9b4b5; border-left: 0; }
  .portal-grid { display: flex; flex-direction: column; }
  .browse-rail, .job-ledger, .task-rail { width: 100%; border-right: 0; border-left: 0; }
  .browse-rail { order: 1; }
  .job-ledger { order: 2; }
  .task-rail { order: 3; display: grid; grid-template-columns: 1fr 1fr; }
  .job-row { grid-template-columns: 82px 1fr; gap: 5px 12px; }
  .job-row-head { display: none; }
  .job-row > div { grid-column: 1 / -1; }
  .job-row > b::before { content: "Ref "; color: var(--muted); }
  .job-row > span::before { content: "Location: "; color: var(--muted); font-weight: 700; }
  .job-row > em { grid-column: 1 / -1; }
  .unexpanded-records { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 460px) {
  .section-tabs { grid-template-columns: 1fr; }
  .section-tabs a { text-align: left; }
  .task-rail { grid-template-columns: 1fr; }
  .resource-index { border-top: 4px solid var(--sea); border-left: 0; }
  .filter-index ul { columns: 1; }
  .brandmark strong { font-size: 31px; }
  .job-ledger { padding-right: 14px; padding-left: 14px; }
  .module-heading { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Mobile dossier: chapter index precedes a full-width document. */
@media (max-width: 760px) {
  .document-shell {
    display: flex;
    flex-direction: column;
  }

  .chapter-index {
    width: 100%;
    padding: 18px 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .chapter-index > strong {
    grid-column: 1 / -1;
  }

  .chapter-index a {
    min-width: 0;
  }

  .document-body {
    width: 100%;
    padding: 28px 20px 38px;
  }

  .document-body h1 {
    font-size: 28px;
  }

  .document-body .lead {
    font-size: 18px;
  }

  .context-rail {
    width: 100%;
    padding: 22px 20px 28px;
    border-top: 1px solid #d0cabd;
    border-left: 0;
  }

  .page-heading,
  .status-note,
  .vacancy-register,
  .mentioned-roles {
    margin-right: 0;
    margin-left: 0;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 390px) {
  .chapter-index {
    grid-template-columns: 1fr;
  }
}
