/* Unigest-Lite visual layer.
   Keep this file last in the cascade so the base component styles stay reusable. */

:root {
  --ink-deep: #102d49;
  --teal-deep: #147d73;
  --teal-soft: #e4f6f2;
  --blue-soft: #edf4fb;
  --surface-tint: #f8fbfc;
  --focus-ring: rgba(27, 155, 141, .25);
  --shadow-soft: 0 18px 45px rgba(22, 57, 79, .09);
  --shadow-hover: 0 22px 55px rgba(22, 57, 79, .14);
}

::selection {
  background: #bde9e1;
  color: var(--ink-deep);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(65, 170, 157, .09), transparent 28rem),
    radial-gradient(circle at 96% 28%, rgba(85, 135, 188, .08), transparent 25rem),
    var(--bg);
}

a {
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

button,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 clamp(20px, 6vw, 88px);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 22px rgba(28, 59, 78, .05);
  backdrop-filter: blur(16px);
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(27, 155, 141, .42), transparent);
  content: "";
}

.brand-logo {
  border: 1px solid rgba(219, 227, 233, .9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(26, 61, 82, .08);
}

.topbar h1 {
  color: var(--ink-deep);
  font-size: 17px;
}

.topbar-meta {
  gap: 12px;
}

.status-dot {
  box-shadow: 0 0 0 4px var(--teal-soft), 0 0 12px rgba(27, 155, 141, .2);
}

.shell {
  max-width: 1320px;
  padding-top: 42px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(205, 220, 227, .9);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(244, 250, 250, .94)),
    var(--paper);
  box-shadow: var(--shadow-soft);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -155px;
  right: -90px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(27, 155, 141, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(27, 155, 141, .025), 0 0 0 56px rgba(27, 155, 141, .02);
  content: "";
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h2 {
  max-width: 700px;
  color: var(--ink-deep);
  font-size: clamp(32px, 4vw, 46px);
}

.hero-copy {
  max-width: 680px;
  font-size: 14px;
}

.hero-stats {
  gap: 10px;
  text-align: left;
}

.hero-stats > div {
  min-width: 118px;
  padding: 13px 15px;
  border: 1px solid rgba(209, 225, 229, .95);
  border-radius: 13px;
  background: rgba(255, 255, 255, .74);
}

.hero-stats strong {
  color: var(--ink-deep);
  font-size: 25px;
}

.panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(210, 222, 228, .92);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.panel:hover {
  border-color: rgba(181, 207, 211, .95);
  box-shadow: var(--shadow-hover);
}

.panel::before {
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--teal), #74cbbb);
  content: "";
  opacity: .75;
}

.panel-heading {
  margin-bottom: 26px;
}

.panel-heading h3 {
  color: var(--ink-deep);
  font-size: 19px;
}

.step {
  letter-spacing: .2em;
}

.setup-panel label,
.output-options label {
  color: #526777;
  letter-spacing: .01em;
}

select {
  min-height: 45px;
  border-color: #cedce3;
  background-color: #fbfdfe;
  box-shadow: inset 0 1px 1px rgba(17, 55, 76, .025);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

select:hover {
  border-color: #a9c6cd;
  background-color: #fff;
}

select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: 0;
}

.button {
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(21, 59, 82, .08);
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}

.button:hover:not(:disabled) {
  box-shadow: 0 9px 18px rgba(21, 59, 82, .13);
}

.primary {
  background: linear-gradient(135deg, #173b5f, #215b78);
}

.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #123250, #1a506b);
}

.secondary {
  border-color: #cfe1e4;
  background: linear-gradient(135deg, #f0faf8, #e7f4f6);
}

.secondary:hover:not(:disabled) {
  border-color: #a8d4cf;
  background: #e0f3ef;
}

.upload-box,
.admin-import-box {
  border-color: #c4dfdc;
  border-radius: 13px;
  background: linear-gradient(135deg, #f7fcfb, #f2f8fb);
}

.empty-state {
  display: grid;
  justify-items: center;
  min-height: 235px;
  place-content: center;
  border-color: #bfd5dc;
  background: linear-gradient(135deg, rgba(248, 252, 253, .8), rgba(244, 250, 249, .72));
}

.empty-icon {
  background: #f0fbf8;
  box-shadow: 0 0 0 7px rgba(228, 246, 242, .75);
}

.summary-card {
  border: 1px solid #e0eaee;
  background: linear-gradient(145deg, #f9fcfd, #f3f8fa);
}

.summary-card.warning {
  border-color: #f0dfc0;
  background: linear-gradient(145deg, #fffaf2, #fff7e8);
}

.table-wrap,
.mapping-wrap {
  border-color: #d5e1e6;
  box-shadow: inset 0 1px 4px rgba(26, 63, 83, .025);
}

th {
  background: #f4f8fa;
  color: #617684;
  font-size: 10px;
  letter-spacing: .08em;
}

tbody tr {
  transition: background-color .16s ease;
}

tbody tr:hover {
  background: #f4faf9;
}

td {
  color: #29445a;
}

.generate-panel {
  border-color: #c8dfe0;
  background: linear-gradient(145deg, #fff, #f8fcfc);
}

.generate-panel .generate-controls {
  border-top-color: #d6e5e6;
}

.progress-track {
  height: 11px;
  border: 1px solid #d1e5e4;
  background: #edf5f5;
}

.progress-bar {
  background: linear-gradient(90deg, #168878, #53c4ae);
  box-shadow: 0 0 12px rgba(27, 155, 141, .3);
}

.result-box {
  border: 1px solid #c8e6df;
  background: linear-gradient(135deg, #eefaf7, #e8f6f6);
}

.generation-context {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr) minmax(180px, 1fr);
  align-items: end;
  gap: 16px;
  margin: 4px 0 20px;
  padding: 16px;
  border: 1px solid #d5e5e7;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fbfa, #f7fafc);
}

.generation-context label {
  display: block;
  color: #526777;
  font-size: 11px;
  font-weight: 700;
}

.generation-context input {
  display: block;
  width: 100%;
  min-height: 45px;
  margin-top: 7px;
  border: 1px solid #cedce3;
  border-radius: 8px;
  background: #fbfdfe;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  padding: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.generation-context input:hover {
  border-color: #a9c6cd;
  background: #fff;
}

.generation-context input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: 0;
}

.context-title {
  margin: 0 0 4px;
  color: var(--ink-deep);
  font-size: 12px;
  font-weight: 800;
}

.context-copy {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.notes {
  margin-right: 0;
  margin-left: 0;
  padding: 14px 16px;
  border: 1px solid #d9e5e9;
  border-radius: 12px;
  background: rgba(250, 253, 253, .72);
}

.note-icon {
  background: #f1f8f8;
}

/* Administration */
.admin-panel {
  margin-top: 22px;
}

.admin-stat,
.admin-source-card {
  border-color: #d8e5e9;
  background: linear-gradient(145deg, #fff, #f7fbfc);
  box-shadow: 0 8px 20px rgba(23, 60, 82, .04);
}

.admin-stat {
  position: relative;
  overflow: hidden;
}

.admin-stat::after {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(27, 155, 141, .12);
  border-radius: 50%;
  content: "";
}

.admin-stat strong {
  position: relative;
  z-index: 1;
  color: var(--ink-deep);
}

.admin-source-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-source-card:hover {
  border-color: #b9d9d8;
  box-shadow: 0 14px 30px rgba(23, 60, 82, .09);
  transform: translateY(-2px);
}

.admin-card-heading strong {
  color: var(--ink-deep);
}

.admin-import-box {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.admin-import-select select {
  min-height: 38px;
}

.admin-delete {
  border-radius: 6px;
  padding: 5px 7px;
  transition: color .18s ease, background-color .18s ease;
}

.admin-delete:hover {
  background: #fff0ec;
  text-decoration: none;
}

/* Loading screen */
.boot-card {
  border-color: rgba(157, 226, 216, .25);
  box-shadow: 0 30px 95px rgba(1, 18, 34, .4), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.boot-brand img {
  box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
}

.access-submit {
  box-shadow: 0 9px 22px rgba(24, 151, 132, .2);
}

@media (max-width: 850px) {
  .hero {
    padding: 25px 22px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .hero-stats > div {
    min-width: 0;
  }

  .generation-context {
    grid-template-columns: 1fr 1fr;
  }

  .generation-context > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .topbar {
    height: 70px;
    gap: 10px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .shell {
    padding-top: 24px;
  }

  .hero h2 {
    font-size: 33px;
  }

  .panel {
    padding: 21px 18px;
  }

  .panel::before {
    right: 18px;
    left: 18px;
  }

  .generation-context {
    grid-template-columns: 1fr;
  }

  .generation-context > div {
    grid-column: auto;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats > div {
    padding: 11px 12px;
  }

  .hero-stats strong {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.student-button {
  border: 1px solid #c9dfe7;
  border-radius: 8px;
  background: #f1f8fb;
  padding: 7px 10px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.student-button:hover {
  border-color: #a9ccd5;
  background: #e5f2f6;
  color: var(--ink-deep);
}

.student-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 8% 16%, rgba(40, 154, 143, .11), transparent 30rem),
    radial-gradient(ellipse at 96% 84%, rgba(94, 139, 190, .1), transparent 28rem),
    #f4f7f8;
}

.student-topbar {
  height: 82px;
  background: rgba(255, 255, 255, .88);
}

.student-topbar .brand-logo {
  border-radius: 14px;
}

.student-brand .eyebrow {
  color: var(--teal-deep);
  font-size: 9px;
  letter-spacing: .2em;
}

.student-brand h1 {
  color: var(--ink-deep);
}

.student-topbar .topbar-meta {
  display: flex;
  border: 1px solid #d8e8e6;
  border-radius: 999px;
  background: #f5fbfa;
  padding: 8px 12px;
  color: #496b71;
  font-size: 11px;
  font-weight: 700;
}

.student-shell {
  display: grid;
  width: min(100%, 1160px);
  min-height: calc(100vh - 82px);
  place-items: center;
  padding: clamp(28px, 5vh, 58px) clamp(18px, 4vw, 42px);
}

.student-card {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  width: min(100%, 1000px);
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(206, 220, 226, .92);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 28px 78px rgba(24, 54, 73, .13), 0 4px 14px rgba(24, 54, 73, .04);
}

.student-card::before {
  display: none;
}

.student-welcome {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  background:
    radial-gradient(ellipse at 4% 4%, rgba(75, 178, 165, .22), transparent 42%),
    linear-gradient(150deg, #173e5c 0%, #12334f 58%, #0e2b45 100%);
  color: #fff;
}

.student-welcome::before,
.student-welcome::after {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(175, 230, 220, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.student-welcome::before {
  top: -110px;
  right: -178px;
  width: 360px;
  height: 360px;
  box-shadow: 0 0 0 34px rgba(175, 230, 220, .025), 0 0 0 70px rgba(175, 230, 220, .02);
}

.student-welcome::after {
  right: -60px;
  bottom: -175px;
  width: 290px;
  height: 290px;
  background: rgba(57, 150, 148, .08);
}

.student-welcome > * {
  position: relative;
  z-index: 1;
}

.student-welcome-mark {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: auto;
  place-items: center;
  border: 1px solid rgba(225, 246, 241, .3);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .06));
  color: #d8f4ed;
  font-family: Georgia, serif;
  font-size: 23px;
  box-shadow: 0 9px 24px rgba(3, 20, 35, .16);
}

.student-kicker {
  margin: 0;
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .18em;
}

.student-kicker span {
  margin: 0 3px;
  color: #70c8b9;
}

.student-welcome > .student-kicker {
  margin-top: 42px;
  color: #9bdcd0;
}

.student-welcome h2 {
  margin: 15px 0 13px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(30px, 3.2vw, 39px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.student-welcome-copy {
  max-width: 330px;
  margin: 0;
  color: rgba(237, 246, 248, .76);
  font-size: 13px;
  line-height: 1.7;
}

.student-security-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
  border: 1px solid rgba(202, 236, 229, .16);
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  padding: 14px;
  backdrop-filter: blur(8px);
}

.student-security-note svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: #8bd6c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.student-security-note strong,
.student-security-note span {
  display: block;
}

.student-security-note strong {
  margin-bottom: 4px;
  color: #f1fbf8;
  font-size: 11px;
}

.student-security-note span {
  color: rgba(230, 243, 244, .67);
  font-size: 10px;
  line-height: 1.5;
}

.student-welcome-footer {
  margin: auto 0 0;
  padding-top: 28px;
  color: rgba(222, 239, 240, .48);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.student-welcome-footer span {
  padding: 0 5px;
  color: #70c8b9;
}

.student-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 62px);
}

.student-form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.student-pdf-badge {
  border: 1px solid #d9e9e7;
  border-radius: 999px;
  background: #f4faf9;
  padding: 7px 10px;
  color: #547477;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}

.student-pdf-badge span {
  margin: 0 2px;
  color: var(--teal);
}

.student-form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-heading-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dcebe9;
  border-radius: 15px;
  background: linear-gradient(145deg, #f0faf8, #f0f5fa);
  color: var(--teal-deep);
}

.student-heading-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.student-section-label {
  margin: 0 0 4px;
  color: #81909b;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .16em;
}

.student-form-heading h3 {
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 760;
  letter-spacing: -.04em;
}

.student-intro {
  margin: 14px 0 30px;
  color: #71818d;
  font-size: 12px;
  line-height: 1.65;
}

.student-form {
  text-align: left;
}

.student-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.student-form label {
  color: #425b6d;
  font-size: 11px;
  font-weight: 800;
}

.student-label-row > span {
  color: #91a0a9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.student-input-wrap {
  position: relative;
}

.student-input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: #78939a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  pointer-events: none;
}

.student-form input {
  display: block;
  width: 100%;
  min-height: 54px;
  border: 1px solid #d4e0e4;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--ink-deep);
  font: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 750;
  letter-spacing: .075em;
  padding: 12px 12px 12px 43px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.student-form input::placeholder {
  color: #a7b4bc;
  opacity: 1;
}

.student-form input:hover {
  border-color: #afc9ce;
  background: #fff;
}

.student-form input:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--focus-ring);
  outline: 0;
}

.student-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 10px 0 19px;
  color: #87959e;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
}

.student-hint code {
  color: #58747b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}

.student-form .button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  border-radius: 11px;
  background: linear-gradient(100deg, #173e5c, #1a526d);
  padding: 0 17px;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 9px 20px rgba(23, 62, 92, .16);
}

.student-form .button:hover {
  background: linear-gradient(100deg, #123650, #164963);
  box-shadow: 0 12px 24px rgba(23, 62, 92, .22);
}

.student-form .button > span {
  display: grid;
  width: 27px;
  height: 27px;
  float: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  font-size: 15px;
  line-height: 1;
}

.student-error {
  margin: 0 0 12px;
  border: 1px solid #f2d6d0;
  border-radius: 9px;
  background: #fff5f2;
  color: #9d4137;
  font-size: 11px;
  line-height: 1.45;
  padding: 11px 12px;
}

.student-result {
  margin-top: 18px;
  border: 1px solid #c7e5de;
  border-radius: 12px;
  background: linear-gradient(135deg, #effaf7, #eaf6f8);
  padding: 17px;
}

.student-result strong {
  color: var(--teal-deep);
  font-size: 12px;
}

.student-result p {
  margin: 5px 0 13px;
  color: var(--muted);
  font-size: 10px;
}

.student-result .button {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.student-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 23px 0 0;
  color: #87959e;
  font-size: 9px;
  line-height: 1.5;
}

.student-privacy-note span {
  padding-top: 1px;
  color: #67a99f;
  font-size: 8px;
}

.access-codes {
  margin-top: 18px;
  border-top: 1px solid #cde4e0;
  padding-top: 14px;
  text-align: left;
}

.access-codes summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.access-codes > p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.access-codes-table {
  max-height: 260px;
  overflow: auto;
  border: 1px solid #cde1e4;
  border-radius: 8px;
  background: #fff;
}

.access-codes table {
  min-width: 480px;
}

.access-codes code {
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.access-codes a {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .student-topbar {
    height: 70px;
    gap: 10px;
    padding: 0 13px;
  }

  .student-topbar .brand-logo {
    width: 45px;
    height: 45px;
  }

  .student-topbar .topbar-meta {
    gap: 7px;
    padding: 7px 9px;
    font-size: 9px;
  }

  .student-shell {
    min-height: calc(100vh - 70px);
    padding: 18px 13px 28px;
  }

  .student-card {
    border-radius: 19px;
  }

  .student-welcome {
    padding: 26px 24px 24px;
  }

  .student-welcome-mark {
    width: 38px;
    height: 38px;
    margin-bottom: 0;
  }

  .student-welcome h2 {
    margin-top: 10px;
    font-size: 30px;
  }

  .student-welcome-copy {
    font-size: 12px;
  }

  .student-security-note {
    margin-top: 20px;
  }

  .student-welcome-footer {
    margin-top: 20px;
    padding-top: 0;
  }

  .student-form-panel {
    padding: 28px 23px 24px;
  }

  .student-form-topline {
    margin-bottom: 24px;
  }

  .student-intro {
    margin-bottom: 24px;
  }

  .student-form input {
    font-size: 11px;
    letter-spacing: .035em;
    padding-left: 39px;
  }
}

@media (min-width: 521px) and (max-width: 800px) {
  .student-card {
    grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
  }

  .student-welcome {
    padding: 32px 27px;
  }

  .student-form-panel {
    padding: 36px 30px;
  }
}

@media (max-width: 800px) {
  .student-card {
    grid-template-columns: 1fr;
  }

  .student-welcome {
    min-height: 330px;
  }

  .student-welcome-mark {
    margin-bottom: 0;
  }

  .student-welcome > .student-kicker {
    margin-top: 24px;
  }

  .student-welcome-footer {
    margin-top: auto;
  }
}
