* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f6ef;
  color: #183729;
  font:
    15px/1.6 Arial,
    Helvetica,
    sans-serif;
}
header {
  max-width: 1200px;
  margin: auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #183729;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
}
.brand > span {
  display: grid;
  place-items: center;
  background: #1f5f3b;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.header-note {
  font-size: 12px;
  color: #627263;
}
main {
  max-width: 1120px;
  margin: 24px auto 40px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro {
  padding: 28px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #617b62;
  margin: 0 0 15px;
}
h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 0 0 24px;
}
.lead {
  color: #5d7263;
  font-size: 16px;
  max-width: 390px;
}
.features {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}
.features > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.features b {
  font-size: 12px;
  background: #e5ebd9;
  padding: 12px;
  border-radius: 50%;
  color: #3c6342;
}
.features strong,
.features small {
  display: block;
}
.features small {
  font-size: 12px;
  color: #647568;
  margin-top: 4px;
}
.intro-footer {
  font-size: 11px;
  color: #7a8a7b;
  margin-top: 48px;
}
.login-card {
  background: white;
  border: 1px solid #e0e6dc;
  box-shadow: 0 18px 55px #243f2610;
  border-radius: 22px;
  padding: 36px;
  min-width: 0;
}
h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}
.muted {
  color: #6a796e;
  font-size: 13px;
  margin: 0 0 24px;
}
.roles {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.roles legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.roles label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dce3d9;
  border-radius: 10px;
  padding: 13px 10px;
  cursor: pointer;
  min-width: 0;
}
.roles label:has(input:checked) {
  background: #edf4e8;
  border-color: #1f5f3b;
  box-shadow: 0 0 0 1px #1f5f3b;
}
.roles input {
  accent-color: #1f5f3b;
  margin: 0;
}
.roles strong,
.roles small {
  display: block;
}
.roles strong {
  font-size: 13px;
}
.roles small {
  font-size: 10px;
  color: #687969;
}
.role-hint {
  font-size: 12px;
  color: #687969;
  min-height: 38px;
  margin: 14px 0;
}
.field {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0;
}
.field input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 14px;
  border-radius: 9px;
  border: 1px solid #d7e0d4;
  margin-top: 7px;
  background: #fafbf9;
  color: #193328;
}
.field input:focus {
  outline: 2px solid #82aa87;
  outline-offset: 2px;
}
button {
  width: 100%;
  min-height: 49px;
  background: #1f5f3b;
  border: 0;
  border-radius: 9px;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
button:hover {
  background: #17492d;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a {
  color: #1f5f3b;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #bb8a29;
  outline-offset: 4px;
}
.help {
  text-align: center;
  font-size: 12px;
  color: #627166;
  border-top: 1px solid #edf0e9;
  padding-top: 20px;
  margin: 24px 0 14px;
}
.help a {
  font-weight: 600;
}
.direct-student {
  display: block;
  text-align: center;
  font-size: 11px;
}
.message {
  background: #fff0e8;
  color: #873c21;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}
.message.success {
  background: #eaf4e6;
  color: #245330;
}
[hidden] {
  display: none !important;
}
footer {
  text-align: center;
  font-size: 11px;
  color: #788776;
  padding: 16px 20px 28px;
}
@media (max-width: 780px) {
  header {
    padding: 20px;
  }
  .header-note {
    display: none;
  }
  main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 20px;
    margin: 6px auto 24px;
    max-width: 540px;
  }
  .intro {
    padding: 10px 0;
  }
  .intro h1 {
    font-size: 35px;
    letter-spacing: -1px;
    margin-bottom: 14px;
  }
  .lead {
    font-size: 14px;
    margin-bottom: 0;
  }
  .features,
  .intro-footer {
    display: none;
  }
  .login-card {
    padding: 26px 22px;
    border-radius: 16px;
  }
  h2 {
    font-size: 23px;
  }
  .role-hint {
    min-height: 0;
  }
  .eyebrow {
    margin-bottom: 12px;
  }
}

.centre-entry {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.centre-entry a {
  padding: 12px;
  border: 1px solid #d7e0d4;
  border-radius: 8px;
  background: #f5f8ef;
  text-decoration: none;
  font-size: 13px;
}
