/* Careers application: shared desktop and mobile layout. */
:root {
  --navy: #123a8c;
  --navy-deep: #0a1f4d;
  --navy-ink: #071634;
  --gold: #c9a227;
  --gold-light: #e2c35a;
  --gold-deep: #806517;
  --gold-soft: #f7efd6;
  --ink: #18243a;
  --muted: #56637a;
  --line: #dee4ee;
  --field: #bbc7d9;
  --tint: #f5f7fb;
  --red: #a52a23;
  --green: #1f6b46;
  --r: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scroll-padding-bottom: 110px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #f6f7fa;
  color: var(--ink);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--navy);
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-deep);
  line-height: 1.2;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 18px;
  font-weight: 600;
}
h4 {
  font-size: 15px;
}
p {
  margin: 0 0 12px;
}
em {
  color: var(--gold-light);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px max(24px, calc((100vw - 1360px) / 2));
  background: var(--navy-deep);
  color: white;
}
.site-header img {
  width: auto;
  height: 54px;
}
.header-help {
  font-size: 13px;
  color: white;
  text-decoration: none;
}
.header-help b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.app {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  padding: 44px 32px 24px;
}
.panel {
  align-self: start;
  position: sticky;
  top: 28px;
  min-width: 0;
}
.panel h1 {
  font-size: 34px;
  margin: 14px 0 16px;
}
.panel h1 em {
  color: var(--gold-deep);
}
.panel__lead {
  color: var(--muted);
  font-size: 14px;
}
.panel-photo {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  margin: 24px 0;
}
.eyebrow {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
}
.panel__progress {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.pp__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.meter {
  height: 4px;
  background: #e0e5ee;
  border-radius: 9px;
  margin: 12px 0 18px;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.2s;
}
.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 10px;
  padding: 10px 8px;
  color: var(--muted);
  font-size: 13px;
}
.toc__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--field);
  border-radius: 50%;
  font-size: 12px;
}
.sub-item.is-active {
  background: white;
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 1px 4px #0716340d;
}
.sub-item.is-active .toc__n {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.sub-item.is-done .toc__n {
  background: var(--gold-soft);
  color: var(--gold-deep);
  border-color: var(--gold);
}
.step-status {
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
}
.panel-help {
  border-top: 1px solid var(--line);
  margin: 24px 0 0;
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.panel-help a {
  font-weight: 600;
}
.content {
  min-width: 0;
  max-width: 900px;
  width: 100%;
}
.opportunities {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.opportunities h2 {
  font-size: 32px;
  margin-bottom: 14px;
}
.opportunities p {
  max-width: 65ch;
  color: var(--muted);
}
.opportunities .eyebrow {
  color: var(--gold-deep);
}
.location-note {
  font-size: 12px;
  margin: 16px 0 0;
}
#openings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.opening-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: white;
}
.opening-card h3 {
  margin-bottom: 12px;
}
.opening-card p {
  font-size: 13px;
}
.opening-card .btn {
  white-space: normal;
  text-align: center;
}
.application-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  margin-bottom: 16px;
}
#step-label {
  color: var(--navy);
  font-weight: 600;
}
#draft-status {
  color: var(--muted);
}
.mobile-navigation {
  display: none;
}
.page-head {
  margin-bottom: 18px;
}
.page-head h2 {
  font-size: 36px;
  margin-bottom: 8px;
}
.page-head p {
  color: var(--muted);
  margin: 0;
}
.form-guidance {
  background: var(--gold-soft);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 24px;
  color: #584615;
}
.form-guidance p {
  margin: 0;
}
.draft-notice {
  padding: 14px 18px;
  border-radius: 10px;
  background: #eaf0fa;
  color: var(--navy-deep);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.page {
  display: grid;
  gap: 20px;
}
.sec {
  background: #fff;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
  scroll-margin-top: 24px;
}
.sec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.sec__head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.sec__body,
.details-body {
  display: grid;
  gap: 18px;
}
.grid {
  display: grid;
  gap: 18px 20px;
  align-items: end;
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.span-all {
  grid-column: 1/-1;
}
.field {
  min-width: 0;
}
.field > label:not(.drop),
.label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}
.field i {
  color: var(--red);
  font-style: normal;
}
.optional {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 5px;
}
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: white;
  padding: 11px 13px;
  font-size: 16px;
  line-height: 1.45;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #8196b8;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
input:disabled,
textarea:disabled {
  background: var(--tint);
  color: var(--muted);
}
textarea {
  resize: vertical;
  min-height: 88px;
}
input::placeholder,
textarea::placeholder {
  color: #657289;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  flex: none;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 7px;
}
.label-row > label:first-child {
  font-size: 13px;
  font-weight: 600;
}
.hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.rs {
  position: relative;
}
.rs span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.rs input {
  padding-left: 34px !important;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn--gold,
.btn--primary {
  background: var(--navy);
  color: white;
}
.btn--gold:hover,
.btn--primary:hover {
  background: var(--navy-deep);
}
.btn--ghost {
  background: white;
  border-color: var(--field);
  color: var(--navy);
}
.btn--ghost:hover {
  background: var(--tint);
}
.add,
.remove,
.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  justify-self: start;
}
.remove {
  padding: 6px 10px;
  color: var(--red);
}
.add:hover,
.link-btn:hover {
  color: var(--navy-deep);
}
.role-detail {
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: var(--tint);
  font-size: 13px;
  color: var(--muted);
}
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px;
  border: 1.5px dashed #a1b1ca;
  border-radius: 12px;
  background: var(--tint);
  cursor: pointer;
  position: relative;
}
.drop:hover,
.drop.is-drag {
  border-color: var(--navy);
  background: #eaf0fa;
}
.drop:focus-within,
.avatar:focus-within {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
.drop__art svg {
  width: 64px;
  height: 52px;
}
.drop__title {
  font-size: 15px;
  font-weight: 600;
}
.drop__sub {
  font-size: 12px;
  color: var(--muted);
}
.file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--tint);
  border-radius: 12px;
  min-width: 0;
}
.file__thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 48px;
  border-radius: 6px;
  background: white;
  color: var(--navy);
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
}
.file__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file__meta {
  min-width: 0;
  flex: 1;
}
.file__meta b {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.file__meta small {
  font-size: 12px;
  color: var(--green);
}
.file__btn {
  color: var(--navy);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.file__x {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--red);
}
.photo-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.avatar {
  width: 72px;
  height: 84px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--tint);
  border: 1px dashed var(--field);
  position: relative;
  flex: none;
  cursor: pointer;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-row__txt {
  min-width: 0;
}
.photo-row__txt b,
.photo-row__txt small {
  display: block;
}
.photo-row__txt small {
  color: var(--muted);
  font-size: 12px;
}
.list {
  display: grid;
  gap: 14px;
}
.list:empty {
  display: none;
}
.row {
  background: var(--tint);
  border-radius: 10px;
  padding: 18px;
  min-width: 0;
}
.row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.row__label {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.row .grid {
  gap: 14px;
}
.g-acad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g-acad .w,
.g-acad .w2 {
  grid-column: 1/-1;
}
.g-job {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g-job .w,
.g-job .wa {
  grid-column: 1/-1;
}
.g-ref {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.readout {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 11px 13px;
  background: white;
  border-radius: 8px;
  color: var(--muted);
}
.langs__head {
  display: none;
}
.lr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 12px;
  padding: 14px;
  background: var(--tint);
  border-radius: 10px;
}
.lr + .lr {
  margin-top: 12px;
}
.lr__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lr__n {
  font-size: 12px;
  color: var(--muted);
}
.lr__ticks {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.tick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: white;
  min-height: 44px;
  padding: 8px 4px;
  border-radius: 6px;
  font-size: 11px;
}
.tick__box {
  width: 12px;
  height: 12px;
  border: 1px solid var(--field);
  border-radius: 3px;
  flex: none;
}
.tick[aria-pressed="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.tick[aria-pressed="true"] .tick__box {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.lr__x {
  grid-column: 2;
  grid-row: 1;
  border: 0;
  background: transparent;
  color: var(--red);
  min-height: 44px;
  display: grid;
  place-items: center;
}
details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  min-height: 44px;
  align-content: center;
}
details[open] > summary {
  margin-bottom: 16px;
}
.details-body {
  padding-top: 8px;
}
.err {
  font-size: 12px;
  color: var(--red);
  margin: 7px 0 0;
}
.is-invalid > input,
.is-invalid > select,
.is-invalid > textarea,
.is-invalid .drop {
  border-color: var(--red);
}
.is-invalid > .declare {
  outline: 1px solid var(--red);
}
.form-error {
  padding: 16px;
  border: 1px solid #e4b6b1;
  border-radius: 10px;
  background: #fff3f1;
  color: var(--red);
  margin: 16px 0;
  font-size: 13px;
}
.form-error ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.form-error button {
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--red);
  padding: 6px 0;
  text-decoration: underline;
  min-height: 36px;
}
.declare {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--tint);
  padding: 18px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}
.declare input {
  margin-top: 3px;
}
.declare__box {
  display: none;
}
.review-group {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}
.review-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-group dl {
  margin: 0;
}
.review-line {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 8px 0;
  font-size: 13px;
}
.review-line dt {
  color: var(--muted);
}
.review-line dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.actionbar {
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 10;
  margin: 24px 0 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px #07163414;
  border-radius: 12px;
}
.actionbar__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
#bar-note {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  text-align: center;
}
#btn-next,
#btn-submit {
  margin-left: auto;
}
.actionbar__live {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
  padding: 2px 4px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.done {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 48px 24px;
}
.done h2 {
  font-size: 36px;
}
.done h2 em {
  color: var(--gold-deep);
}
.done p {
  max-width: 55ch;
  color: var(--muted);
  margin: 0;
}
.done__seal {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold-light);
}
.refcard {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(100%, 400px);
  padding: 20px;
  background: var(--gold-soft);
  border-radius: 12px;
}
.refcard__label {
  font-size: 12px;
  color: var(--gold-deep);
}
.refcard__num {
  font-size: 30px;
  font-weight: 600;
  color: var(--navy-deep);
}
.refcard__copy {
  background: white;
  border: 1px solid var(--gold);
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 12px;
}
.done__print {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 100%;
}
.done__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.done .done__err {
  padding: 12px;
  background: #fff3f1;
  color: var(--red);
  border-radius: 8px;
}
.done .done__ok {
  padding: 12px;
  background: #e8f5ee;
  color: var(--green);
  border-radius: 8px;
}
.done__hint {
  font-size: 13px;
}
.site-footer {
  max-width: 1360px;
  padding: 28px 32px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .app {
    gap: 88px;
    grid-template-columns: 300px minmax(0, 1fr);
  }
}
@media (max-width: 1023px) {
  .app {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 820px;
    padding: 28px 24px;
  }
  .panel {
    position: static;
  }
  .panel__intro,
  .panel-photo,
  .panel__progress,
  .panel-help {
    display: none;
  }
  .mobile-navigation {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-size: 12px;
  }
  .mobile-navigation select {
    font-size: 14px;
    min-height: 44px;
  }
  .opportunities h2 {
    font-size: 30px;
  }
}
@media (max-width: 639px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }
  .site-header img {
    height: 46px;
  }
  .header-help {
    font-size: 11px;
  }
  .header-help b {
    font-size: 12px;
  }
  .app {
    padding: 24px 16px;
  }
  .opportunities {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }
  .opportunities h2 {
    font-size: 28px;
  }
  .page-head h2 {
    font-size: 30px;
  }
  .page-head p {
    font-size: 13px;
  }
  .application-topline {
    font-size: 11px;
  }
  .form-guidance {
    padding: 12px 14px;
  }
  .sec {
    padding: 20px 16px;
  }
  .sec__head {
    margin-bottom: 18px;
  }
  .sec__head h3 {
    font-size: 16px;
  }
  .sec__head p {
    font-size: 11px;
  }
  .g2,
  .g-ref {
    grid-template-columns: 1fr;
  }
  .row {
    padding: 14px;
  }
  .drop {
    padding: 20px 12px;
  }
  .desktop-only {
    display: none;
  }
  .file {
    flex-wrap: wrap;
  }
  .file__meta {
    flex-basis: calc(100% - 64px);
  }
  .file__btn {
    margin-left: 52px;
  }
  .review-line {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .actionbar {
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 8px;
  }
  .actionbar__row {
    gap: 8px;
  }
  .btn {
    padding: 11px 16px;
    font-size: 13px;
  }
  #bar-note {
    font-size: 11px;
  }
  .done {
    padding: 32px 16px;
  }
  .done__actions {
    flex-direction: column;
    width: 100%;
  }
  .done__actions .btn {
    white-space: normal;
  }
  .site-footer {
    padding: 24px 16px;
  }
  #openings {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 374px) {
  .app {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sec {
    padding: 18px 12px;
  }
  .lr__ticks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-help {
    max-width: 140px;
  }
  .g-acad {
    grid-template-columns: 1fr;
  }
  #bar-note {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .panel,
  .site-footer,
  .done__actions,
  .refcard__copy {
    display: none;
  }
  .app {
    display: block;
    padding: 0;
  }
  .done {
    border: 0;
  }
}

/* Viewport workspace: scroll the fields, keep the next action in reach. */
@media screen {
  html { height: 100%; scroll-padding: 0; }
  body { height: 100dvh; display: grid; grid-template-rows: 64px minmax(0, 1fr) 34px; overflow: hidden; background: #eef2f8; }
  .site-header { padding: 8px 28px; }
  .site-header img { height: 44px; }
  .header-help { display: flex; align-items: center; gap: 10px; }
  .header-help b { font-size: 13px; }
  .app { width: 100%; max-width: 1440px; min-height: 0; padding: 20px 28px 12px; grid-template-columns: 248px minmax(0, 1fr); gap: 28px; }
  .panel { position: static; height: 100%; min-height: 0; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
  .panel h1 { font-size: 30px; margin: 10px 0 12px; }
  .panel__lead { font-size: 12px; line-height: 1.6; }
  .panel-photo { height: 100px; margin: 16px 0; }
  .opportunities { margin: 0 0 16px; padding: 0 0 16px; }
  .opportunities .eyebrow { display: none; }
  .opportunities h2 { font: 600 13px/1.4 var(--sans); margin-bottom: 6px; letter-spacing: 0; }
  .opportunities p { font-size: 11px; line-height: 1.6; margin-bottom: 0; }
  .opportunities .location-note { margin-top: 8px; }
  #openings { grid-template-columns: 1fr; }
  .opening-card { margin-top: 10px; padding: 12px; }
  .panel__progress { border: 0; padding-top: 0; }
  .meter { margin: 8px 0 12px; }
  .toc__list { gap: 6px; }
  .sub-item { padding: 10px 8px; }
  .panel-help { margin-top: 14px; font-size: 11px; }
  .content { max-width: none; min-height: 0; height: 100%; display: flex; flex-direction: column; padding: 22px 26px 0; border: 1px solid #dbe3ef; border-radius: 18px; background: white; box-shadow: 0 8px 32px #0a1f4d06; }
  #form { display: flex; flex-direction: column; min-height: 0; height: 100%; }
  .application-topline { flex: none; margin-bottom: 10px; font-size: 11px; }
  .page-head { flex: none; margin-bottom: 16px; }
  .page-head h2 { font: 600 26px/1.25 var(--sans); letter-spacing: -.035em; margin-bottom: 5px; }
  .page-head p { font-size: 13px; }
  .form-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bbc7d9 transparent; padding: 4px 6px 12px 4px; scroll-padding: 12px; }
  .form-scroll:focus-visible { outline-offset: -3px; }
  .form-guidance { padding: 6px 12px; margin-bottom: 10px; font-size: 11px; background: #f5f7fb; color: var(--muted); border: 1px solid var(--line); }
  .draft-notice { padding: 8px 12px; font-size: 11px; margin-bottom: 10px; }
  .page { gap: 14px; }
  .sec { padding: 16px; border-radius: 12px; scroll-margin-top: 12px; }
  .sec__head { margin-bottom: 10px; }
  .sec__head h3 { font-size: 15px; }
  .sec__body, .grid, .details-body { gap: 12px 16px; }
  .field > label:not(.drop), .label { font-size: 12px; margin-bottom: 5px; }
  .field input, .field select { min-height: 44px; }
  .page[data-page="1"] { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
  #s-post { grid-column: 1 / -1; padding: 0; border: 0; }
  #s-post .sec__head { display: none; }
  #s-post .role-detail { padding: 6px 10px; font-size: 11px; line-height: 1.5; }
  #s-personal .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #s-personal [data-field="name"] { grid-column: 1 / -1; }
  #s-personal .span-all { grid-column: auto; }
  #s-resume .hint { font-size: 11px; margin: 0; }
  #s-resume .drop { padding: 14px 12px; gap: 8px; }
  #s-resume .drop__art svg { width: 44px; height: 36px; }
  #s-resume .drop__title { font-size: 13px; }
  #s-resume .drop__sub { font-size: 11px; }
  .actionbar { position: static; flex: none; border: 0; border-top: 1px solid var(--line); box-shadow: none; border-radius: 0; margin: 0 -26px; padding: 12px 26px; background: white; }
  .actionbar .btn { padding: 11px 22px; min-height: 44px; border-radius: 9px; }
  #bar-note { text-align: left; }
  .site-footer { width: 100%; max-width: 1440px; border: 0; padding: 4px 28px; align-items: center; font-size: 10px; gap: 8px 20px; }
  .site-footer > span { margin-left: auto; }
  .done { overflow-y: auto; min-height: 0; padding: 24px; border: 0; }
  .recruitment-info { margin: 0 0 10px; font-size: 11px; color: var(--muted); }
  .recruitment-info > summary { cursor: pointer; padding: 2px 0 6px; color: var(--navy); font-weight: 500; }
  .recruitment-info .opportunities { margin: 8px 0 14px; padding: 12px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; }
  .recruitment-info .opportunities p { font-size: 12px; }
}
@media screen and (max-width: 1023px) {
  .app { grid-template-columns: 1fr; max-width: 860px; padding: 16px 20px 8px; }
  .panel { display: none; }
  .mobile-navigation { display: flex; gap: 10px; margin-bottom: 10px; flex: none; }
  .mobile-navigation label { font-size: 11px; }
  .mobile-navigation select { min-height: 36px; padding: 6px 10px; font-size: 12px; max-width: 240px; }
  .page-head { margin-bottom: 10px; }
}
@media screen and (max-width: 639px) {
  body { grid-template-rows: 60px minmax(0, 1fr) 28px; }
  .site-header { padding: 8px 16px; }
  .site-header img { height: 40px; }
  .header-help { display: block; font-size: 10px; }
  .header-help b { font-size: 11px; }
  .app { padding: 10px 10px 4px; }
  .content { padding: 16px 14px 0; border-radius: 14px; }
  .application-topline { font-size: 10px; margin-bottom: 8px; }
  .mobile-navigation { margin-bottom: 10px; }
  .mobile-navigation select { max-width: none; flex: 1; font-size: 16px; }
  .page-head h2 { font-size: 23px; }
  .page-head p { font-size: 11px; }
  .form-guidance { padding: 8px 10px; font-size: 10px; margin-bottom: 12px; }
  .page[data-page="1"] { grid-template-columns: minmax(0, 1fr); }
  #s-personal, #s-resume { padding: 14px; }
  #s-personal .g2 { grid-template-columns: minmax(0, 1fr); }
  .form-scroll { padding: 4px 4px 16px; }
  .field input, .field select, textarea { font-size: 16px; }
  .actionbar { margin: 0 -14px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); }
  .actionbar .btn { padding: 10px 18px; font-size: 13px; }
  .site-footer { padding: 2px 14px; font-size: 9px; justify-content: space-between; gap: 8px; }
  .site-footer > span { display: none; }
}
@media screen and (min-width: 1024px) and (max-height: 700px) {
  .app { padding-top: 12px; }
  .content { padding-top: 16px; }
  .panel-photo, .panel-help { display: none; }
  .panel h1 { font-size: 27px; }
  .sec { padding: 14px; }
  .sec__head { margin-bottom: 10px; }
  .page-head { margin-bottom: 10px; }
}
@media screen and (min-width: 1024px) and (max-height: 740px) {
  .form-guidance { display: none; }
  .page { gap: 12px; }
  .sec { padding: 12px; }
  .sec__body, .grid { gap: 10px 14px; }
  .draft-notice { padding: 6px 10px; }
}
@media screen and (max-height: 520px) {
  body { grid-template-rows: 48px minmax(0, 1fr) 24px; }
  .site-header img { height: 32px; }
  .app { padding-top: 6px; }
  .content { padding-top: 10px; }
  .page-head p, .panel-photo { display: none; }
  .page-head h2 { font-size: 21px; }
  .application-topline, .mobile-navigation, .page-head { margin-bottom: 6px; }
}

/* staged application: success prompt + "details received" banner */
.done__more { margin: 18px 0; padding: 18px 20px; border: 1px solid #e6d9a8; border-radius: 14px; background: #fbf6e4; text-align: left; }
.done__more h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--navy-deep, #0a1f4d); }
.done__more p { margin: 0 0 12px; }
.done__more .done__actions { margin: 0 0 8px; }
.done__more .done__hint { margin: 0; font-size: 0.9rem; color: #5f6a86; }
.done__later { margin: 16px 0; padding: 12px 16px; border-radius: 12px; background: #eef2fa; font-size: 0.95rem; }
.done__later .link-btn { margin-left: 6px; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: #123a8c; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.app-banner { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #e8f5ee; color: #1f6b46; font-size: 0.92rem; }

/* first step only: present it as a short application (no step list / counters) */
.short-form .panel__progress,
.short-form .application-topline,
.short-form .mobile-navigation,
.short-form #bar-note { display: none; }
