* { box-sizing: border-box; }

:root {
  color-scheme: light;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #222;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #414f85; outline-offset: 4px; }

.page {
  width: 100%;
  max-width: 822px;
  margin-inline: auto;
  container-type: inline-size;
}

.page-content {
  --u: calc(100cqw / 822);
  min-height: calc(1562 * var(--u));
  padding-left: calc(8 * var(--u));
  background: linear-gradient(to right, #f7f7f7 calc(8 * var(--u)), #f5f5f5 calc(8 * var(--u)));
}

.navigation {
  position: relative;
  height: calc(86 * var(--u));
  background: #fff;
  text-align: center;
  padding-top: calc(11 * var(--u));
}

.navigation h1 {
  margin: 0;
  padding-left: calc(6 * var(--u));
  font-size: calc(32 * var(--u));
  line-height: calc(46 * var(--u));
  font-weight: 400;
  color: #111;
}

.back-button {
  position: absolute;
  left: calc(24 * var(--u));
  top: calc(12 * var(--u));
  width: calc(36 * var(--u));
  height: calc(46 * var(--u));
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  color: #111;
  cursor: pointer;
}

.back-button svg { width: calc(26 * var(--u)); height: calc(42 * var(--u)); }

.brand {
  height: calc(139 * var(--u));
  padding-left: calc(6 * var(--u));
  padding-bottom: calc(2 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(23 * var(--u));
}

.university-seal {
  display: block;
  width: calc(83 * var(--u));
  height: calc(81 * var(--u));
  flex: 0 0 auto;
}

.brand h2 {
  font-size: calc(39 * var(--u));
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
}

.library-banner {
  display: block;
  width: 100%;
  height: calc(109 * var(--u));
  object-fit: cover;
}

.verification {
  margin: calc(41 * var(--u)) calc(26 * var(--u)) 0 calc(33 * var(--u));
}

.section-heading {
  display: flex;
  align-items: center;
  height: calc(75 * var(--u));
  margin: 0;
  padding: 0 calc(42 * var(--u));
  color: #fff;
  background: #414b80;
  font-size: calc(20 * var(--u));
  font-weight: 400;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: calc(20 * var(--u));
  line-height: 1.4;
}

.label-column { width: calc(241 * var(--u)); }
.result-table tr { height: calc(77 * var(--u)); }
.result-table tbody > tr:first-child { height: calc(76 * var(--u)); }
.result-table th, .result-table td {
  border: calc(2 * var(--u)) solid #e7e7e7;
  padding: 0;
  font-weight: 400;
  vertical-align: middle;
}
.result-table th { text-align: center; padding-bottom: calc(4 * var(--u)); }
.result-table td { padding-left: calc(42 * var(--u)); padding-bottom: calc(4 * var(--u)); }
.result-table tr:nth-child(1) td,
.result-table tr:nth-child(3) td,
.result-table tr:nth-child(5) td { font-size: calc(21 * var(--u)); padding-bottom: calc(2 * var(--u)); }
.result-table tbody > tr:first-child > * { border-top: 0; }

.result-table .document-row { height: calc(410 * var(--u)); }
.document-row th { border-right: 0; position: relative; }
.document-row th::after {
  content: "";
  position: absolute;
  right: calc(-1 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  width: calc(2 * var(--u));
  height: calc(77 * var(--u));
  background: #e7e7e7;
}
.document-row td { border-left: 0; padding-left: calc(39 * var(--u)); padding-bottom: 0; }
.document-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.document-button img {
  display: block;
  width: calc(298 * var(--u));
  height: calc(408 * var(--u));
}

.status-row td { color: #419744; font-size: calc(20.5 * var(--u)); padding-left: calc(26 * var(--u)); white-space: nowrap; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  margin-right: calc(4 * var(--u));
  border-radius: 50%;
  background: #269a39;
  color: #fff;
  font-size: calc(9 * var(--u));
  vertical-align: calc(1 * var(--u));
}
.result-table .contact-row { height: calc(77 * var(--u)); }
.contact-row td { text-align: center; padding: 0 0 calc(2 * var(--u)); font-size: calc(21 * var(--u)); }
.contact-row a { color: inherit; text-decoration: none; }

footer {
  padding-top: calc(28 * var(--u));
  text-align: center;
  color: #737373;
  font-size: calc(20 * var(--u));
  line-height: calc(30 * var(--u));
}

.document-dialog {
  width: min(520px, 90vw);
  max-height: 92vh;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  background: white;
  color: #222;
}
.document-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dialog-header h2 { margin: 0; font-size: 18px; font-weight: 400; }
.dialog-close { border: 0; background: transparent; padding: 0 6px; font-size: 30px; cursor: pointer; }
.document-dialog > img { display: block; width: 100%; height: auto; }
