:root {
  --ink: #142940;
  --muted: #485d72;
  --blue: #00487d;
  --blue-deep: #00367a;
  --canvas: #f4f7fb;
  --line: #d8e2ed;
  --navy: #102b48;
  --focus-ring: #006da3;
  --page-gutter: clamp(1rem, 3vw, 1.5rem);
  font-family: Inter, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

:focus-visible {
  outline-color: var(--focus-ring);
}

.skip {
  z-index: 4;
}

.institution-identity {
  background: var(--white);
}

.institution-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem clamp(.75rem, 2.5vw, 1.75rem);
  max-width: 1216px;
  margin: 0 auto;
  padding: clamp(.625rem, 2vw, 1rem) var(--page-gutter);
  list-style: none;
}

.institution-logo {
  max-width: 100%;
}

.institution-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.university-logo {
  width: clamp(7.125rem, 26vw, 10.75rem);
}

.school-logo {
  width: clamp(6.5rem, 23vw, 9.625rem);
}

.centre-logo {
  width: clamp(5.25rem, 19vw, 7.5rem);
}

.topbar {
  background: var(--navy);
}

.topbar-inner {
  min-height: 3.75rem;
  padding: .25rem var(--page-gutter);
  gap: .25rem 1.5rem;
}

.topbar .brand {
  min-height: 44px;
  color: var(--white);
  white-space: normal;
  line-height: 1.25;
}

.topbar nav,
.account {
  min-width: 0;
  gap: .25rem .75rem;
}

.topbar nav a,
.account a,
.account button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  overflow-wrap: anywhere;
}

.topbar a:focus-visible,
.topbar button:focus-visible {
  outline-color: #a7dcff;
}

.topbar nav a[aria-current] {
  text-decoration-color: #a7dcff;
}

.container {
  width: 100%;
  flex: 1;
  padding-inline: var(--page-gutter);
}

.button {
  min-height: 44px;
}

.button:active,
.text-button:active {
  box-shadow: inset 0 0 0 1px currentColor;
}

.field input,
.field select,
.field textarea {
  min-height: 44px;
  font-size: 1rem;
}

.login-page {
  min-height: 0;
}

.login-context {
  background: var(--navy);
}

.login-context h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}

.login-context p {
  color: #dceaf7;
  max-width: 33ch;
}

@media (max-width: 52rem) {
  .topbar-inner {
    flex-wrap: wrap;
    column-gap: .75rem;
  }

  .topbar .brand {
    flex-basis: 100%;
  }

  .topbar nav {
    width: auto;
    order: 0;
  }
}

@media (max-width: 45rem) {
  .login-context,
  .login-form {
    padding: 1.5rem;
  }

  .field label {
    font-size: .9375rem;
  }
}
