:root {
  --red-900: #61120e;
  --red-800: #741612;
  --red-700: #a90f0f;
  --warm-100: #fff3d8;
  --warm-050: #fffcf5;
  --gold: #fbc53f;
  --ink: #241a18;
  --muted: #695c58;
  --line: #e9ded4;
  --line-dark: #cbbdb3;
  --success: #117c4e;
  --danger: #b72828;
  font-family: MontserratQDPEC, "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: #fffcf5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: var(--red-700);
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.required {
  color: var(--danger);
}
.btn,
.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--red-700);
  border-radius: 3px;
  background: #fff;
  color: var(--red-700);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
.upload-button:hover {
  background: var(--warm-050);
}
.btn--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--red-900);
}
.btn--primary:hover {
  border-color: #e8ad28;
  background: #e8ad28;
  color: var(--red-900);
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(250, 191, 61, 0.55);
  outline-offset: 2px;
}
button:focus,
a:focus,
.btn:focus,
.upload-button:focus-within {
  outline: none;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #ffe4a3;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-rule {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.hero-rule span {
  width: 46px;
  height: 4px;
  background: #fff;
}
.hero-rule span:last-child {
  background: var(--gold);
}
.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}
.auth-visual {
  position: relative;
  min-height: 260px;
  background: var(--red-900) url("../assets/images/campus-banner.png") center/cover no-repeat;
  color: #fff;
}
.auth-visual:before,
.campus-hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(92, 17, 14, 0.72);
}
.auth-visual__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 26px 24px;
}
.auth-brand {
  display: block;
  width: 100%;
  max-width: 340px;
}
.auth-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.auth-copy h1 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1;
}
.auth-copy > p:not(.eyebrow) {
  display: none;
}
.auth-visual small {
  font-size: 0.68rem;
  color: #fff0cf;
}
.auth-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 42px 22px 65px;
}
.auth-form {
  width: 100%;
  max-width: 480px;
}
.auth-form > .eyebrow {
  color: var(--red-700);
}
.auth-form h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.15;
}
.auth-form > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.5;
}
.auth-form .field {
  margin-bottom: 17px;
}
.auth-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
}
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.checkbox-line input {
  margin-top: 2px;
}
.auth-submit {
  width: 100%;
}
.auth-footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-help {
  margin-top: 22px !important;
  font-size: 0.84rem;
}
.field {
  min-width: 0;
}
.field label {
  display: block;
  margin: 0 0 7px;
  color: #33201c;
  font-size: 0.82rem;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.field textarea {
  min-height: 124px;
  resize: vertical;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field-help {
  min-height: 18px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.field-help--error {
  color: var(--danger);
}
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.form-grid > .field {
  width: 100%;
}
.captcha-row,
.code-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.captcha-row > .field,
.code-row > .field {
  flex: 1;
}
.captcha-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--warm-050);
}
.captcha-box img {
  width: 100%;
  height: 40px;
  object-fit: contain;
}
.code-row > .btn {
  margin-bottom: 17px;
}
.code-row > .btn.is-cooling,
.code-row > .btn.is-cooling:hover {
  border-color: var(--line-dark);
  background: #f5f1ed;
  color: var(--muted);
  cursor: not-allowed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #e9ded4;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 74px;
  max-width: 1320px;
  margin: auto;
  padding: 0 16px;
}
.mobile-menu-button {
  order: 1;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--red-900);
}
.brand-mark {
  order: 2;
  display: block;
  width: 180px;
  background: var(--red-900);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}
.header-actions {
  order: 3;
  display: flex;
  justify-content: flex-end;
  min-width: 44px;
}
.language-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.language-list button {
  min-height: 44px;
  padding: 5px;
  border: 0;
  background: none;
  color: #695c58;
  font-size: 0.72rem;
  font-weight: 700;
}
.language-list button:not([aria-pressed="true"]) {
  display: none;
}
.language-list button[aria-pressed="true"] {
  color: var(--red-700);
  box-shadow: inset 0 -2px var(--gold);
}
.account-link,
.sign-out-button {
  display: none;
}
.site-nav {
  order: 4;
  display: none;
  width: 100%;
  flex-direction: column;
  padding: 12px 0;
}
.site-header.is-open .site-nav {
  display: flex;
}
.site-nav a {
  padding: 12px 4px;
  border-top: 1px solid var(--line);
  color: #241a18;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.campus-hero {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  background: var(--red-900) url("../assets/images/campus-banner.png") center/cover no-repeat;
  color: #fff;
}
.campus-hero:after {
  content: "";
  position: absolute;
  top: -30px;
  left: 80%;
  width: 23px;
  height: 240px;
  transform: rotate(17deg);
  background: rgba(255, 255, 255, 0.87);
}
.campus-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: 1320px;
  min-height: 160px;
  margin: auto;
  padding: 26px 18px;
}
.campus-hero__copy {
  max-width: 78%;
}
.campus-hero h1 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.08;
}
.journey {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.journey__inner {
  display: flex;
  max-width: 980px;
  min-height: 80px;
  margin: auto;
  padding: 14px 8px;
}
.journey-step {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #816f67;
  font-size: 0.67rem;
  font-weight: 700;
  text-align: center;
}
.journey-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 27px);
  width: calc(100% - 54px);
  height: 1px;
  background: var(--line-dark);
}
.journey-step__number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: #fff;
}
.journey-step.is-active {
  color: var(--red-900);
}
.journey-step.is-active .journey-step__number,
.journey-step.is-complete .journey-step__number {
  border-color: var(--red-700);
  background: var(--red-700);
  color: #fff;
}
.application-layout {
  max-width: 1320px;
  min-height: 650px;
  margin: auto;
  background: #fff;
}
.section-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.section-nav h2,
.help-panel {
  display: none;
}
.section-nav a {
  display: inline-block;
  padding: 10px 12px;
  border-bottom: 3px solid transparent;
  color: #695c58;
  font-size: 0.82rem;
  text-decoration: none;
}
.section-nav a.is-active {
  border-bottom-color: var(--red-700);
  background: var(--warm-100);
  color: var(--red-800);
  font-weight: 700;
}
.content-panel {
  min-width: 0;
  padding: 28px 18px 98px;
}
.content-heading {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.content-heading h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
}
.content-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  margin: 30px 0 18px;
  padding: 8px 14px;
  border-left: 3px solid var(--gold);
  background: var(--warm-050);
}
.section-title h3 {
  margin: 0;
  font-size: 1.1rem;
}
.section-title small {
  display: none;
}
.section-title .btn {
  font-size: 0.76rem;
  white-space: nowrap;
}
.photo-row {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.photo-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
  min-height: 280px;
  padding: 16px 12px;
  border: 1px solid #e6e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.photo-placeholder {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 190px;
  text-align: center;
}
.photo-placeholder__icon {
  display: block;
  flex: none;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  color: #dcdfe6;
}
.photo-placeholder p {
  margin: 0 0 12px;
  color: #8a8e95;
  font-size: 0.72rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.photo-preview {
  display: block;
  width: 100%;
  max-height: 250px;
  object-fit: contain;
}
.photo-upload .upload-button {
  width: 100%;
  min-height: 44px;
  gap: 5px;
  padding: 9px 7px;
  border-color: #e7362c;
  border-radius: 6px;
  background: #e7362c;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}
.photo-upload .upload-button:hover {
  border-color: #cc2d24;
  background: #cc2d24;
  color: #fff;
}
.upload-button__icon {
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  --svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M12%2016V3m0%200L7%208m5-5%205%205M4%2017v4h16v-4%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dynamic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dynamic-row > .field {
  width: calc(50% - 5px);
}
.remove-row {
  min-width: 70px;
  min-height: 44px;
  margin-left: auto;
  border: 1px solid #efc4c4;
  background: #fff;
  color: var(--danger);
  font-weight: 700;
}
.signature-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.signature-pad {
  width: 100%;
  height: 180px;
  border: 1px dashed var(--line-dark);
  background: #fff;
  touch-action: none;
}
.notice {
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: var(--warm-050);
  color: #695c58;
  font-size: 0.82rem;
  line-height: 1.6;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 32px -18px -98px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -10px 30px rgba(92, 17, 14, 0.07);
}
.sticky-actions .button-row {
  margin: 0;
}
.sticky-actions.sticky-actions--single {
  justify-content: flex-end;
}
.sticky-actions .btn {
  flex: 1;
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
}
.save-state {
  color: var(--muted);
  font-size: 0.75rem;
}
.save-state.is-success {
  color: var(--success);
  font-weight: 700;
}
.choice-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.choice-card {
  position: relative;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  background: #fff;
}
.choice-card input {
  position: absolute;
  top: 20px;
  left: 18px;
}
.choice-card label {
  display: block;
  margin-left: 26px;
  font-weight: 700;
}
.choice-card p {
  margin: 6px 0 0 26px;
  color: var(--muted);
  font-size: 0.76rem;
}
.choice-card.is-selected {
  border-color: var(--red-700);
  box-shadow: inset 4px 0 var(--red-700);
  background: var(--warm-050);
}
.program-confirm {
  border-color: var(--red-700);
  background: var(--red-700);
  color: #fff;
}
.program-confirm:hover {
  background: var(--red-800);
  color: #fff;
}
.program-confirm:disabled,
.program-confirm:disabled:hover,
.guidelines-actions .btn--primary:disabled {
  border-color: var(--line-dark);
  background: #f5f1ed;
  color: var(--muted);
  cursor: not-allowed;
}
[data-upload-section] {
  margin-top: 24px;
}
.guidelines-dialog {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  border-radius: 10px;
}
.guidelines-copy {
  min-height: 0;
  max-height: 48vh;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--warm-050);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.guidelines-copy p {
  margin: 0 0 16px;
}
.guidelines-copy p:last-child {
  margin-bottom: 0;
}
.guidelines-actions {
  flex: none;
}
.guidelines-actions .btn--primary {
  flex: 1;
  min-width: 0;
}
@media (max-width: 599px) {
  .modal.guidelines-dialog { padding: 20px; }
  .guidelines-actions { flex-direction: column; }
  .guidelines-actions .btn { width: 100%; }
}
.document-list {
  border-top: 1px solid var(--line);
}
.document-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-height: 92px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.document-row h4 {
  margin: 0 0 5px;
  font-size: 0.95rem;
}
.document-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.document-state {
  color: var(--muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}
.document-state.is-uploaded {
  color: var(--success);
  font-weight: 700;
}
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.status-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}
.status-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--warm-050);
}
.status-card__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-card__value {
  margin: 10px 0 8px;
  color: var(--red-900);
  font-size: 1.7rem;
  font-weight: 700;
}
.timeline {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  min-height: 82px;
  padding: 2px 0 24px 42px;
  color: var(--muted);
}
.timeline li:before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--line-dark);
  border-radius: 50%;
  background: #fff;
}
.timeline li:after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: var(--line-dark);
}
.timeline li:last-child:after {
  display: none;
}
.timeline li.is-current,
.timeline li.is-complete {
  color: var(--ink);
}
.timeline li.is-current:before,
.timeline li.is-complete:before {
  border-color: var(--red-700);
  background: var(--red-700);
}
.timeline strong {
  display: block;
  margin-bottom: 4px;
}
.empty-state {
  padding: 50px 20px;
  border: 1px solid var(--line);
  background: var(--warm-050);
  text-align: center;
}
.loading-line {
  height: 3px;
  background: var(--warm-100);
  overflow: hidden;
}
.loading-line:after {
  content: "";
  display: block;
  width: 36%;
  height: 100%;
  background: var(--gold);
  animation: loading 1s linear infinite;
}
@keyframes loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(300%);
  }
}
.message-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100vw - 40px);
  max-width: 380px;
}
.toast {
  padding: 14px 16px;
  border-left: 4px solid var(--red-700);
  background: #fff;
  box-shadow: 0 18px 44px rgba(92, 17, 14, 0.13);
  font-size: 0.82rem;
}
.toast.is-error {
  border-left-color: var(--danger);
}
.toast.is-success {
  border-left-color: var(--success);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(36, 26, 24, 0.58);
}
.modal {
  width: 100%;
  max-width: 620px;
  padding: 30px;
  background: #fff;
}
.modal.guidelines-dialog {
  max-width: 700px;
}
.modal h2 {
  margin: 0 0 10px;
}
.modal p {
  color: var(--muted);
  line-height: 1.65;
}
@media (min-width: 600px) {
  .form-grid > .field {
    width: calc(50% - 8px);
  }
  .form-grid > .field--wide {
    width: 100%;
  }
  .captcha-row,
  .code-row {
    flex-direction: row;
    align-items: flex-end;
  }
  .captcha-row > .captcha-box {
    width: 152px;
    margin-bottom: 17px;
  }
  .code-row > .btn {
    width: 152px;
    flex: none;
  }
  .choice-row {
    flex-direction: row;
  }
  .choice-card {
    flex: 1;
  }
  .status-summary {
    flex-direction: row;
  }
  .status-card:first-child {
    flex: 1.4;
  }
  .status-card:last-child {
    flex: 1;
  }
  .document-row {
    flex-direction: row;
    align-items: center;
  }
  .document-row > div:first-child {
    flex: 1.5;
    min-width: 0;
  }
  .document-state {
    flex: 0.6;
  }
  .document-actions {
    flex: 1;
    justify-content: flex-end;
  }
  .sticky-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .sticky-actions .btn {
    flex: none;
  }
  .signature-wrap {
    flex-direction: row;
  }
  .signature-wrap > div:first-child {
    flex: 1;
  }
  .signature-wrap .notice {
    width: 220px;
  }
  .auth-visual {
    min-height: 300px;
  }
  .auth-visual__inner {
    min-height: 300px;
  }
  .auth-copy > p:not(.eyebrow) {
    display: block;
    max-width: 430px;
    color: #fff0cf;
    line-height: 1.55;
  }
}
@media (min-width: 820px) {
  .auth-page {
    flex-direction: row;
  }
  .auth-visual {
    width: 42%;
    min-height: 100vh;
  }
  .auth-visual__inner {
    min-height: 100vh;
    padding: 50px 8%;
  }
  .auth-brand {
    max-width: 420px;
  }
  .auth-copy h1 {
    font-size: 3.8rem;
  }
  .auth-form-area {
    width: 58%;
    min-height: 100vh;
    padding: 50px 7%;
  }
  .site-header__inner {
    min-height: 98px;
    padding: 0 28px;
  }
  .mobile-menu-button {
    display: none;
  }
  .site-nav {
    order: 1;
    display: flex;
    width: auto;
    flex-direction: row;
    gap: 25px;
    padding: 0;
  }
  .site-nav a {
    padding: 0;
    border: 0;
  }
  .brand-mark {
    order: 2;
    width: 270px;
  }
  .header-actions {
    order: 3;
    gap: 18px;
    align-items: center;
  }
  .language-list button:not([aria-pressed="true"]) {
    display: block;
  }
  .account-link,
  .sign-out-button {
    display: block;
    border: 0;
    background: none;
    color: var(--red-900);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
  }
  .campus-hero,
  .campus-hero__inner {
    min-height: 186px;
  }
  .campus-hero__inner {
    padding: 34px 28px;
  }
  .campus-hero h1 {
    font-size: 2.6rem;
  }
  .campus-hero:after {
    left: 40%;
    width: 28px;
  }
  .journey__inner {
    min-height: 92px;
    padding: 18px 24px;
  }
  .journey-step {
    font-size: 0.82rem;
  }
  .application-layout {
    display: flex;
  }
  .section-nav {
    display: block;
    flex: none;
    width: 230px;
    overflow: visible;
    padding: 42px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    white-space: normal;
  }
  .section-nav h2 {
    display: block;
    margin: 0 0 24px;
    font-size: 1.3rem;
  }
  .section-nav a {
    display: block;
    margin: 2px 0;
    padding: 13px 14px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }
  .section-nav a.is-active {
    border-left-color: var(--red-700);
  }
  .help-panel {
    display: block;
    margin-top: 48px;
    padding: 22px 14px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .help-panel strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
  }
  .content-panel {
    flex: 1;
    padding: 42px 30px 104px;
  }
  .content-heading h2 {
    font-size: 1.9rem;
  }
  .section-title small {
    display: block;
    color: var(--red-700);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .sticky-actions {
    margin: 40px -30px -104px;
    padding: 16px 30px;
  }
  .photo-row {
    flex-direction: row;
    align-items: flex-start;
  }
  .photo-row > div:first-child {
    flex: none;
    width: 200px;
  }
  .photo-row > .form-grid {
    flex: 1;
  }
  .photo-row > .form-grid > .field {
    width: calc(50% - 8px);
  }
}
@media (min-width: 1100px) {
  .section-nav {
    width: 270px;
  }
  .content-panel {
    padding-left: 44px;
    padding-right: 44px;
  }
  .sticky-actions {
    margin-left: -44px;
    margin-right: -44px;
    padding-left: 44px;
    padding-right: 44px;
  }
  .site-nav {
    gap: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .loading-line:after {
    animation: none;
  }
}
.language-list button:not([aria-pressed="true"]) {
  display: block;
}
@media (max-width: 420px) {
  .language-list {
    gap: 2px;
  }
  .language-list button {
    padding: 2px;
    font-size: 0.59rem;
  }
}
@media (min-width: 820px) {
  .campus-hero {
    background: var(--red-900);
  }
  .campus-hero:before {
    left: 40%;
    background: url("../assets/images/campus-banner.png") center 46% / cover no-repeat;
  }
  .campus-hero:after {
    left: 39%;
  }
  .campus-hero__copy {
    max-width: 37%;
  }
  .campus-hero h1 {
    font-size: 2.25rem;
    line-height: 1.05;
  }
}
@media (max-width: 819px) {
  .site-header.is-open .header-actions {
    order: 5;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    padding: 0 0 14px;
  }
  .site-header.is-open .account-link,
  .site-header.is-open .sign-out-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Official English-site header, with a compact layout for the application on narrow screens. */
@font-face {
  font-family: MontserratQDPEC;
  src: url("../assets/fonts/montserrat-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: MontserratQDPEC;
  src: url("../assets/fonts/montserrat-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: MontserratQDPEC;
  src: url("../assets/fonts/montserrat-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
.site-header {
  height: 76px;
  border-bottom: 0;
  background: #fff url("../assets/images/header-background.png") no-repeat center top;
  font-family: MontserratQDPEC, Arial, sans-serif;
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  min-height: 76px;
  margin: auto;
  padding: 0 18px;
}
.mobile-menu-button {
  order: 1;
  display: block;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #111722;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
}
.brand-mark {
  order: 2;
  width: 64px;
  background: none;
}
.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.site-nav {
  order: 4;
  display: none;
  width: 100%;
  flex-direction: column;
  padding: 8px 0 18px;
  background: #fff;
}
.site-header.is-open .site-nav {
  display: flex;
}
.site-nav__item {
  position: relative;
}
.site-nav a.site-nav__top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  color: #121921;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.site-nav__submenu {
  display: none;
  background: #5c110e;
}
.site-nav__submenu a {
  display: block;
  padding: 11px 18px;
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
}
.site-nav__submenu a:hover,
.site-nav__submenu a:focus {
  background: #fbc53f;
  color: #fff;
}
.header-actions {
  order: 5;
  display: none;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 12px 16px 18px;
  background: #fff;
  font-size: 0.8rem;
}
.header-actions a,
.header-actions span,
.header-actions button {
  color: #15191d;
  text-decoration: none;
  white-space: nowrap;
}
.header-actions .account-link,
.header-actions .sign-out-button {
  display: inline-block;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 400;
}
.header-actions .account-link {
  margin-left: auto;
}
.site-header.is-open .header-actions {
  display: flex;
}
.site-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aa1010;
}
.site-search-form {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(12, 38, 77, 0.13);
}
.site-search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.site-search-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cbbdb3;
}
.site-search-form button {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  background: #5c110e;
  color: #fff;
  font-weight: 700;
}
.header-icon,
.photo-placeholder__icon,
.upload-button__icon {
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.header-icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
}
.photo-placeholder__icon {
  --svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201024%201024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M858.5%20763.6a374%20374%200%200%200-80.6-119.5%20375.63%20375.63%200%200%200-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5%20518%20760%20444.7%20760%20362c0-137-111-248-248-248S264%20225%20264%20362c0%2082.7%2040.5%20156%20102.8%20201.1-.4.2-.8.3-1.2.5-44.8%2018.9-85%2046-119.5%2080.6a375.63%20375.63%200%200%200-80.6%20119.5A371.7%20371.7%200%200%200%20136%20901.8a8%208%200%200%200%208%208.2h60c4.4%200%207.9-3.5%208-7.8%202-77.2%2033-149.5%2087.8-204.3%2056.7-56.7%20132-87.9%20212.2-87.9s155.5%2031.2%20212.2%2087.9C779%20752.7%20810%20825%20812%20902.2c.1%204.4%203.6%207.8%208%207.8h60a8%208%200%200%200%208-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512%20534c-45.9%200-89.1-17.9-121.6-50.4S340%20407.9%20340%20362c0-45.9%2017.9-89.1%2050.4-121.6S466.1%20190%20512%20190s89.1%2017.9%20121.6%2050.4S684%20316.1%20684%20362c0%2045.9-17.9%2089.1-50.4%20121.6S557.9%20534%20512%20534z%27/%3E%3C/svg%3E");
}
.header-icon--caret {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18 9c.852 0 1.297.986.783 1.623l-.076.084l-6 6a1 1 0 0 1-1.32.083l-.094-.083l-6-6l-.083-.094l-.054-.077l-.054-.096l-.017-.036l-.027-.067l-.032-.108l-.01-.053l-.01-.06l-.004-.057v-.118l.005-.058l.009-.06l.01-.052l.032-.108l.027-.067l.07-.132l.065-.09l.073-.081l.094-.083l.077-.054l.096-.054l.036-.017l.067-.027l.108-.032l.053-.01l.06-.01l.057-.004z'/%3E%3C/svg%3E");
  width: 15px;
  height: 15px;
  color: #fbc53f;
}
.header-icon--search {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-width='2' d='m15.879 15.879l4.242 4.242M18 10.5a7.5 7.5 0 1 1-15 0a7.5 7.5 0 0 1 15 0Z'/%3E%3C/svg%3E");
  width: 21px;
  height: 21px;
}
@media (max-width: 1399px) {
  .site-header.is-open {
    height: auto;
  }
  .site-header.is-open .site-header__inner {
    flex-wrap: wrap;
  }
  .site-header.is-open .site-nav {
    order: 4;
  }
  .site-header.is-open .site-nav__submenu {
    display: block;
    padding-left: 18px;
  }
  .site-nav__item:not(:last-of-type) {
    border-bottom: 1px solid #e9ded4;
  }
  .site-nav__submenu a {
    min-height: 44px;
  }
  .site-header.is-open .site-search-button {
    margin: 8px 16px;
  }
  .site-header.is-open .header-actions {
    order: 5;
  }
  .site-search-form {
    left: 0;
  }
}
@media (min-width: 1400px) {
  .site-header {
    height: 136px;
  }
  .site-header__inner {
    display: block;
    width: calc(100% - 40px);
    height: 136px;
    min-height: 136px;
    padding: 0;
  }
  .mobile-menu-button {
    display: none;
  }
  .brand-mark {
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: 2;
    width: 100px;
    transform: translateX(-50%);
  }
  .header-actions {
    position: absolute;
    top: 12px;
    right: 0;
    z-index: 3;
    display: flex;
    width: auto;
    padding: 0;
    background: transparent;
    font-size: 14px;
    line-height: 24px;
  }
  .header-actions .account-link,
  .header-actions .sign-out-button {
    display: inline-block;
    font-size: 13px;
  }
  .header-actions .account-link {
    margin-left: 12px;
  }
  .site-nav {
    position: absolute;
    top: 65px;
    left: 85px;
    display: flex;
    gap: 0;
    width: auto;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    background: transparent;
  }
  .site-nav__item {
    flex: none;
  }
  .site-nav__item:nth-child(4) {
    margin-right: 186px;
  }
  .site-nav a.site-nav__top {
    min-height: 0;
    margin-right: 28px;
    padding: 0 22px 50px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
  }
  .site-nav .site-nav__item:nth-child(2) a.site-nav__top,
  .site-nav .site-nav__item:nth-child(6) a.site-nav__top {
    padding-right: 0;
  }
  .site-nav__item--drop:hover .site-nav__submenu,
  .site-nav__item--drop:focus-within .site-nav__submenu {
    display: block;
  }
  .site-nav__submenu {
    position: absolute;
    top: 71px;
    left: 0;
    z-index: 4;
    min-width: 195px;
    padding: 12px;
    background: rgba(92, 17, 14, 0.94);
  }
  .site-nav__submenu a {
    padding: 10px 12px;
  }
  .site-search-button {
    width: 24px;
    height: 44px;
    margin: -13px 0 0 -7px;
  }
  .site-search-form {
    top: 119px;
    right: 0;
    width: 400px;
  }
  .site-header.is-open .header-actions {
    display: flex;
  }
}
.captcha-box {
  font-size: 0.75rem;
  white-space: nowrap;
}
#personal,
#additional,
#education,
#study {
  scroll-margin-top: 100px;
}
@media (min-width: 820px) {
  .section-nav {
    position: sticky;
    top: 76px;
    align-self: flex-start;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
}
@media (min-width: 1400px) {
  #personal,
  #additional,
  #education,
  #study {
    scroll-margin-top: 160px;
  }
  .section-nav {
    top: 136px;
    max-height: calc(100vh - 136px);
  }
}

/* Keep the header, banner, progress row and section menu visible while scrolling. */
.application-static-top {
  position: sticky;
  top: 0;
  z-index: 35;
}
@media (max-width: 819px) {
  .application-static-top {
    position: static;
  }
}
.section-nav {
  position: sticky;
  z-index: 30;
  background: #fff;
}
@media (min-width: 820px) {
  .section-nav {
    align-self: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
  }
}
.content-heading--section {
  margin-top: 36px;
}
@media (min-width: 820px) {
  .content-heading--section {
    margin-top: 48px;
  }
}
@media (min-width: 820px) {
  .section-nav {
    border-right: 0;
  }
  .content-panel {
    border-left: 1px solid var(--line);
  }
}
.language-list button:not([aria-pressed="true"]) {
  display: block;
}
.language-list--floating {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 110;
  gap: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 12px rgba(92, 17, 14, 0.12);
}
.language-list--floating button {
  min-height: 36px;
  padding: 5px 8px;
}
.language-list--floating ~ .message-stack {
  top: 72px;
}
@media (max-width: 420px) {
  .language-list--floating {
    top: 8px;
    right: 8px;
    gap: 2px;
    padding: 2px;
  }
  .language-list--floating button {
    padding: 4px;
    font-size: 0.64rem;
  }
}

/* Application, documents and status share the simplified admissions header. */
.application-header {
  height: 136px;
  border-bottom: 0;
  background: #b41b1d;
}
.application-header .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 1560px;
  padding: 8px 16px;
}
.application-brand {
  display: block;
  flex: none;
  min-width: 0;
  text-decoration: none;
}
.application-brand img {
  display: block;
  width: 280px;
  height: auto;
  max-width: 100%;
}
@media (max-width: 819px) {
  .application-header .application-brand {
    margin-inline: auto;
  }
}
.application-header .header-actions {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  line-height: 1.2;
}
.application-header .language-list {
  gap: 12px;
}
.application-header .language-list button {
  min-height: 38px;
  padding: 4px 1px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.application-header .language-list button[aria-pressed="true"] {
  box-shadow: inset 0 -2px #fbc53f;
}
.application-header .account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}
.application-header .account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.application-header .account-link span {
  color: #fff;
}
.application-header .sign-out-button {
  display: inline-block;
  min-height: 38px;
  padding: 4px 0;
  color: #fff0cf;
  font-size: 11px;
  font-weight: 400;
}
.header-icon--user {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4Zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4Z'/%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
}
#personal,
#additional,
#education,
#study {
  scroll-margin-top: 376px;
}
@media (max-width: 359px) {
  .application-header .language-list {
    gap: 6px;
  }
  .application-header .language-list button {
    font-size: 10px;
  }
  .application-header .account-actions {
    gap: 4px;
    padding-left: 6px;
  }
  .application-header .account-link {
    gap: 3px;
    font-size: 11px;
  }
  .application-header .sign-out-button {
    font-size: 10px;
  }
}
@media (min-width: 820px) {
  .application-header {
    height: 106px;
  }
  .application-header .site-header__inner {
    flex-wrap: nowrap;
    padding: 0 24px;
  }
  .application-brand img {
    width: 350px;
  }
  .application-header .header-actions {
    justify-content: flex-end;
    gap: 20px;
    width: auto;
  }
  .application-header .language-list {
    gap: 16px;
  }
  .application-header .language-list button {
    font-size: 12px;
  }
  .application-header .account-actions {
    gap: 12px;
    padding-left: 18px;
  }
  .application-header .account-link {
    gap: 8px;
    font-size: 13px;
  }
  .application-header .sign-out-button {
    font-size: 12px;
  }
  #personal,
  #additional,
  #education,
  #study {
    scroll-margin-top: 384px;
  }
}
@media (min-width: 1400px) {
  .application-header {
    height: 114px;
  }
  .application-header .site-header__inner {
    padding: 0 32px;
  }
  .application-brand img {
    width: 390px;
  }
  .application-header .header-actions {
    gap: 28px;
  }
  .application-header .language-list {
    gap: 26px;
  }
  .application-header .language-list button {
    font-size: 15px;
  }
  .application-header .account-actions {
    gap: 18px;
    padding-left: 28px;
  }
  .application-header .account-link {
    gap: 10px;
    font-size: 17px;
  }
  .application-header .sign-out-button {
    font-size: 13px;
  }
  .application-header .header-icon--user {
    width: 24px;
    height: 24px;
  }
  #personal,
  #additional,
  #education,
  #study {
    scroll-margin-top: 392px;
  }
}

/* Keep the reference's solid red header and a clear campus photograph below it. */
.application-static-top {
  background: #61120e url("../assets/images/campus-banner.png") center 42% / cover no-repeat;
}
.application-static-top .application-header {
  position: relative;
  top: auto;
  background: #b41b1d;
}
.application-static-top .campus-hero {
  background: transparent;
}
.application-static-top .campus-hero:before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 27, 29, 0.72) 0%,
    rgba(22, 27, 29, 0.38) 42%,
    rgba(22, 27, 29, 0.04) 100%
  );
}
.application-static-top .campus-hero:after {
  display: none;
}

/* The reference uses a bright red header, clear campus photography and gold calls to action. */
.journey-step.is-active .journey-step__number {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--red-900);
}
.journey-step.is-complete .journey-step__number {
  border-color: var(--red-700);
  background: var(--red-700);
  color: #fff;
}
.section-title {
  background: #fff8e8;
}
.status-card,
.empty-state {
  background: #fffaf1;
}
.application-header .language-list button[aria-pressed="true"] {
  box-shadow: inset 0 -2px var(--gold);
}
.auth-visual:before {
  background: linear-gradient(180deg, rgba(22, 27, 29, 0.12), rgba(55, 22, 17, 0.68));
}
.site-nav__submenu a:hover,
.site-nav__submenu a:focus {
  color: var(--red-900);
}
.journey-step {
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.journey-step.is-unavailable {
  color: #a39a95;
  cursor: default;
  pointer-events: none;
}
.journey-step.is-unavailable .journey-step__number {
  border-color: var(--line);
  background: #f5f1ed;
  color: #8c817b;
}
.section-nav__unavailable {
  display: inline-block;
  padding: 10px 12px;
  border-bottom: 3px solid transparent;
  color: #a39a95;
  font-size: 0.82rem;
  cursor: default;
  pointer-events: none;
}
@media (min-width: 820px) {
  .section-nav__unavailable {
    display: block;
    margin: 2px 0;
    padding: 13px 14px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }
}

/* Match the application header on account pages at narrow widths. */
@media (max-width: 819px) {
  .auth-body .auth-visual,
  .auth-body .auth-visual__inner {
    min-height: 136px;
  }
  .auth-body .auth-visual {
    background: #b41b1d;
  }
  .auth-body .auth-visual:before {
    display: none;
  }
  .auth-body .auth-visual__inner {
    padding: 8px 16px;
  }
  .auth-body .auth-brand {
    width: 280px;
    max-width: 100%;
    margin-inline: auto;
  }
  .auth-body .auth-copy,
  .auth-body .auth-visual small {
    display: none;
  }
  .auth-body .language-list--floating {
    position: absolute;
    top: 88px;
    left: 16px;
    right: auto;
    z-index: 10;
    gap: 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .auth-body .language-list--floating button {
    min-height: 38px;
    padding: 4px 1px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }
  .auth-body .language-list--floating button[data-language="ru"] {
    text-transform: uppercase;
  }
  .auth-body .language-list--floating button[aria-pressed="true"] {
    color: #fff;
    box-shadow: inset 0 -2px var(--gold);
  }
  .auth-body .message-stack {
    top: 150px;
  }
}
