:root {
  --green: #20b889;
  --green-deep: #109d74;
  --ink: #25292b;
  --muted: #96999c;
  --line: #ebebed;
  --page: #f5f5fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: #202020;
  -webkit-text-size-adjust: 100%;
}

body {
  overscroll-behavior-y: none;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  font: inherit;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 28px rgba(0, 0, 0, .2);
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
}

.screen.with-tabs {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.muted-bg {
  background: #f4f4f9;
}

.main-header,
.frame-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: calc(58px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #e6e6e7;
  font-size: 17px;
}

.main-header strong,
.frame-header strong {
  font-weight: 600;
}

.scan-button,
.header-action {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.scan-button {
  right: 12px;
}

.header-action {
  left: 8px;
  color: #626669;
}

.header-action.right {
  left: auto;
  right: 8px;
}

.frame-header .green-bar-title {
  position: absolute;
  top: calc(58px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  font-size: 17px;
}

.frame-header:has(.green-bar-title) {
  margin-bottom: 52px;
}

.top-progress {
  position: fixed;
  z-index: 100;
  top: calc(58px + env(safe-area-inset-top));
  left: 50%;
  width: min(100%, 430px);
  height: 3px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 210ms ease;
}

.top-progress.is-active {
  opacity: 1;
}

.top-progress.is-fading {
  opacity: 0;
}

.top-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #079863;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 5px rgba(7, 152, 99, .46);
  will-change: transform;
}

.bottom-nav {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 0;
  width: min(100%, 430px);
  height: calc(64px + env(safe-area-inset-bottom));
  padding: 5px 12px env(safe-area-inset-bottom);
  transform: translateX(-50%);
  display: grid;
  align-items: stretch;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid #eee;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .025);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.three-tabs {
  grid-template-columns: repeat(3, 1fr);
  border-radius: 28px 28px 0 0;
}

.five-tabs {
  grid-template-columns: repeat(5, 1fr);
}

.bottom-nav button {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #777b7e;
  font-size: 10px;
}

.bottom-nav button svg {
  width: 23px;
  height: 23px;
}

.bottom-nav button.active {
  color: #18b79d;
}

.three-tabs button.news-tab:not(.active) {
  color: #2d3a39;
}

.three-tabs button.news-tab svg {
  width: 24px;
  height: 25px;
  stroke-width: 2.2;
}

.three-tabs button.active {
  border-radius: 25px;
  background: #f2f2f2;
}

.home-content {
  padding: 22px 18px 24px;
}

.home-content h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 650;
}

.service-grid {
  display: grid;
  gap: 17px 10px;
}

.service-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.25;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--tile) 72%, white), var(--tile));
  box-shadow: 0 7px 14px color-mix(in srgb, var(--tile) 22%, transparent);
  font-size: 22px;
  font-weight: 700;
}

.exam-banner {
  width: 100%;
  height: 78px;
  margin: 22px 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px;
  color: #39404a;
  background: linear-gradient(110deg, #eaf7ff, #d8efff 65%, #eefafa);
  font-size: 18px;
  font-weight: 650;
}

.exam-banner i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #39c4ab;
  font-style: normal;
}

.record-landing,
.archive-home,
.education-list {
  padding: 14px 16px 28px;
}

.record-logo {
  padding: 24px 0;
  text-align: center;
  color: var(--green);
  font-size: 24px;
}

.landing-card {
  min-height: 104px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(110deg, #20ae83, #45d09b);
  box-shadow: 0 9px 20px rgba(32, 174, 131, .2);
}

.landing-card span,
.landing-card small {
  display: block;
}

.landing-card span {
  font-size: 20px;
}

.landing-card small {
  margin-top: 8px;
  opacity: .84;
}

.landing-card button {
  padding: 7px 17px;
  border-radius: 18px;
  color: #fff;
  background: rgba(0, 115, 80, .34);
}

.landing-note {
  margin-top: 20px;
  color: #a0a3a5;
  text-align: center;
  font-size: 12px;
}

.me-content {
  min-height: calc(100vh - 130px);
}

.profile-row {
  min-height: 94px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
}

.avatar-mini {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #62bab5;
  background: #eef9f8;
}

.avatar-mini svg {
  width: 35px;
  height: 35px;
}

.profile-row div {
  flex: 1;
}

.profile-row strong,
.profile-row small {
  display: block;
}

.profile-row small {
  margin-top: 6px;
  font-size: 12px;
}

.verified {
  display: inline-flex;
  align-items: center;
  color: #19bba9;
  font-size: 12px;
}

.verified svg {
  width: 14px;
  height: 14px;
}

.settings-list {
  margin-top: 15px;
  background: #fff;
}

.settings-list button {
  width: calc(100% - 20px);
  height: 64px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.settings-list button:last-child {
  border-bottom: 0;
}

.settings-list button span {
  flex: 1;
}

.settings-list button b {
  padding-right: 18px;
  color: #929699;
  font-size: 28px;
  font-weight: 300;
}

.setting-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}

.setting-icon svg {
  width: 15px;
  height: 15px;
}

.setting-icon.info { background: #198ff1; }
.setting-icon.help { background: #35bd8c; }
.setting-icon.power { background: #f29a31; }
.setting-icon.edit { background: #20b889; }

.editor-screen {
  background: #f4f5f7;
}

.editor-content {
  padding: 15px 14px 40px;
}

.editor-notice {
  padding: 13px 15px;
  border: 1px solid #d7eee6;
  border-radius: 9px;
  color: #477068;
  background: #effaf6;
}

.editor-notice b,
.editor-notice span {
  display: block;
}

.editor-notice span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.editor-section {
  margin-top: 14px;
  padding: 4px 15px 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .035);
}

.editor-section h2 {
  margin: 14px 0 5px;
  font-size: 17px;
  font-weight: 600;
}

.editor-field {
  min-height: 54px;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 11px;
  align-items: center;
  border-bottom: 1px solid #eeeeef;
}

.editor-field:last-child {
  border-bottom: 0;
}

.editor-field span {
  color: #777d7b;
  font-size: 14px;
}

.editor-field input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 8px;
  border: 1px solid #e3e7e5;
  border-radius: 6px;
  outline: none;
  color: #252a28;
  background: #fbfcfc;
  font: inherit;
  font-size: 14px;
  user-select: text;
  -webkit-user-select: text;
}

.editor-field input:focus {
  border-color: #20b889;
  box-shadow: 0 0 0 2px rgba(32, 184, 137, .1);
}

.photo-editor > div {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.photo-editor img {
  width: 72px;
  height: 96px;
  border: 1px solid #dce4e1;
  border-radius: 6px;
  object-fit: cover;
}

.photo-upload-button {
  position: relative;
  padding: 10px 15px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  background: #20b889;
  font-size: 14px;
}

.photo-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.photo-editor p {
  margin: 0 0 10px;
  color: #999f9d;
  font-size: 11px;
}

.editor-save-button {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border-radius: 7px;
  color: #fff;
  background: #20b889;
  box-shadow: 0 8px 18px rgba(32, 184, 137, .22);
  font-size: 17px;
  font-weight: 600;
}

.ad-card {
  min-height: 82px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 7px;
}

.ad-card {
  color: #2556a2;
  background: linear-gradient(110deg, #e7e1ff, #d9d3ff);
}

.ad-card span {
  margin-top: 5px;
  font-size: 12px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 9px;
  padding-top: 25px;
}

.archive-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.archive-feature span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #24b78c;
}

.archive-feature b {
  font-weight: 450;
}

.section-heading {
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-heading span {
  color: #999;
  font-size: 11px;
  white-space: nowrap;
}

.section-heading em {
  color: var(--green);
  font-style: normal;
}

.education-summary {
  width: 100%;
  min-height: 92px;
  padding: 17px;
  position: relative;
  display: block;
  border-radius: 7px;
  color: #fff;
  text-align: left;
  box-shadow: 0 6px 14px rgba(26, 180, 134, .2);
}

.education-summary.green {
  background: linear-gradient(110deg, #19ad82, #43d196);
}

.education-summary strong,
.education-summary span {
  display: block;
  padding-right: 55px;
}

.education-summary strong {
  font-size: 19px;
  font-weight: 500;
}

.education-summary span {
  margin-top: 10px;
  opacity: .9;
  font-size: 13px;
}

.education-summary i {
  position: absolute;
  right: 15px;
  top: 17px;
  padding: 5px 10px;
  border-radius: 15px;
  background: rgba(0, 105, 73, .3);
  font-style: normal;
  font-size: 12px;
}

.career-banner {
  width: 100%;
  min-height: 76px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border-radius: 7px;
  color: #3970db;
  background: linear-gradient(105deg, #eef1ff 0%, #e6ebff 66%, #edf3ff 100%);
  text-align: left;
}

.career-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 13px 0 11px 14px;
}

.career-copy b {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 650;
  white-space: nowrap;
}

.career-copy i {
  width: max-content;
  margin-top: 8px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  border-radius: 3px;
  color: #fff;
  background: #4b76e7;
  font-size: 12px;
  font-style: normal;
}

.career-copy em {
  margin-left: 3px;
  font-size: 17px;
  line-height: 11px;
  font-style: normal;
}

.career-art {
  width: 118px;
  position: relative;
  flex: 0 0 auto;
  background: linear-gradient(135deg, transparent 5%, rgba(255, 255, 255, .66) 100%);
}

.career-art::before,
.career-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 67px;
  height: 47px;
  right: 14px;
  bottom: -5px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(59, 109, 191, .16);
  transform: rotate(-7deg);
}

.career-art::after {
  width: 40px;
  height: 28px;
  right: 3px;
  bottom: 2px;
  z-index: 1;
  background: #2cb5e5;
  transform: rotate(5deg);
}

.career-art > i {
  position: absolute;
  z-index: 4;
  right: 49px;
  top: 22px;
  width: 29px;
  height: 13px;
  background: #ff4f13;
  clip-path: polygon(0 15%, 66% 0, 100% 100%, 31% 81%);
  transform: rotate(31deg);
}

.career-art > b,
.career-art > em {
  position: absolute;
  z-index: 4;
  right: 31px;
  bottom: 10px;
  width: 6px;
  height: 22px;
  background: #168fce;
  box-shadow: 12px 0 #26a9dd, 24px 0 #59bfe5;
  transform: rotate(-7deg);
}

.career-art > em {
  right: 35px;
  bottom: 35px;
  width: 40px;
  height: 3px;
  box-shadow: 0 8px #8fc8e1;
  background: #67b9dd;
}

.info-heading {
  margin-top: 28px;
}

.information-card,
.graduate-empty {
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.information-card > div {
  min-height: 80px;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #303234;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
}

.information-card > button {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-top: 1px solid #ededed;
  color: #20b58d;
  font-size: 17px;
}

.circle-help {
  width: 19px;
  height: 19px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #989b9d;
  border-radius: 50%;
  color: #898c8f;
  font-size: 13px;
  line-height: 1;
}

.down-arrow {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.degree-card > div {
  min-height: 118px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 17px;
}

.graduate-heading {
  margin-top: 28px;
}

.graduate-empty {
  min-height: 126px;
  padding: 25px 18px 20px;
  text-align: center;
}

.graduate-empty strong {
  display: block;
  color: #303234;
  font-size: 20px;
  font-weight: 450;
}

.graduate-empty p {
  margin: 18px 0 0;
  color: #a3a5a7;
  font-size: 14px;
  line-height: 1.5;
}

.empty-state {
  padding-top: 150px;
  color: #a2a5a7;
  text-align: center;
}

.empty-state span svg {
  width: 55px;
  height: 55px;
}

.archive-profile-screen {
  background: #fff;
}

.archive-profile-titlebar {
  height: 54px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #25bb8d;
  font-size: 20px;
}

.archive-profile-titlebar strong {
  font-weight: 650;
}

.archive-profile-titlebar button {
  width: 48px;
  height: 54px;
  position: absolute;
  left: 7px;
  top: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.archive-profile-titlebar button svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.2;
}

.archive-profile-content {
  min-height: calc(100vh - 176px);
  min-height: calc(100dvh - 176px);
  padding-top: clamp(145px, 20vh, 250px);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

.archive-profile-logo {
  width: 190px;
  height: auto;
  display: block;
}

.archive-profile-exit {
  width: min(258px, calc(100% - 72px));
  height: 60px;
  margin-top: 52px;
  border-radius: 3px;
  color: #fff;
  background: #25bb8d;
  font-size: 23px;
  font-weight: 400;
}

.detail-screen {
  background: #fff;
}

.detail-content {
  padding: 12px 18px 38px;
}

.collect-code {
  display: block;
  width: 100%;
  aspect-ratio: 1104 / 258;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.collect-code img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-card {
  margin-top: 12px;
  min-height: 310px;
  padding: 25px 20px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(160deg, #1caf82, #3bd099);
  box-shadow: 0 11px 20px rgba(24, 184, 134, .22);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.photo-block {
  flex: 0 0 61px;
  text-align: center;
}

.photo-frame {
  width: 61px;
  height: 82px;
  position: relative;
  overflow: visible;
  border-radius: 7px;
  background: #fff;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 7px;
  object-fit: cover;
}

.photo-block > span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
}

.question-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #f14e54;
  font-size: 20px;
  font-weight: 600;
}

.student-basic {
  padding: 8px 0 0 5px;
  flex: 1;
}

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

.student-basic strong {
  margin-bottom: 11px;
  font-size: 25px;
  font-weight: 500;
}

.student-basic span {
  font-size: 16px;
  white-space: nowrap;
}

.school-line {
  margin-top: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.school-line strong {
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 450;
}

.school-line i {
  flex: 0 0 auto;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 109, 76, .31);
  font-style: normal;
  font-size: 16px;
}

.major-line {
  margin-top: 17px;
  font-size: 18px;
}

.field-list {
  margin: 55px 0 0;
}

.field-row {
  min-height: 55px;
  display: grid;
  grid-template-columns: 35% 1fr;
  align-items: start;
  gap: 18px;
  font-size: 17px;
  line-height: 1.45;
}

.field-row dt {
  color: #9a9c9e;
  text-align: right;
}

.field-row dd {
  margin: 0;
  color: #282b2d;
  word-break: break-word;
}

.demo-panel {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 7px;
  color: #55716a;
  background: #f0faf6;
  text-align: center;
}

.demo-panel b,
.demo-panel span {
  display: block;
}

.demo-panel span {
  margin-top: 4px;
  font-size: 12px;
}

.view-report-button {
  width: 100%;
  height: 54px;
  margin-top: 15px;
  border-radius: 3px;
  color: #fff;
  background: #20b889;
  box-shadow: 0 7px 16px rgba(32, 184, 137, .2);
  font-size: 19px;
}

.report-screen,
.report-preview-screen {
  background: #f4f5f5;
}

.report-list-content {
  min-height: calc(100vh - 110px);
  padding: 18px 16px 46px;
  background: #f3f4f4;
}

.report-safety-banner {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #f0dfad;
  border-radius: 7px;
  color: #795c18;
  background: #fff9e8;
  font-size: 12px;
}

.report-safety-banner b {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  background: #d79d28;
}

.report-school-tag {
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 9px 13px;
  overflow: hidden;
  border-radius: 2px;
  color: #fff;
  background: #48c9a4;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.report-list-card {
  margin-top: 13px;
  padding: 14px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .05);
}

.report-list-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}

.status-dot {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #20b889;
}

.status-dot::after {
  content: "✓";
  color: #fff;
  font-size: 10px;
}

.report-table-head,
.report-table-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.5fr .55fr 1fr .9fr .55fr;
  align-items: center;
  border: 1px solid #e4e8e8;
  font-size: 10px;
}

.report-table-head {
  margin-bottom: -12px;
  color: #4c5355;
  background: #f5f8f7;
  font-weight: 600;
}

.report-table-head span,
.report-table-row span,
.report-table-row button {
  min-width: 0;
  padding: 9px 5px;
  overflow-wrap: anywhere;
  text-align: center;
}

.report-table-row {
  color: #747a7c;
  border-top: 0;
}

.report-table-row > span:first-child {
  color: #3b8ec8;
}

.report-table-row button {
  color: #2f8bc8;
}

.report-preview-content {
  padding: 18px 13px 42px;
}

.report-preview-warning {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 7px;
  color: #7a5814;
  background: #fff4ce;
  text-align: center;
  font-size: 12px;
}

.report-preview-warning strong {
  font-size: 15px;
}

.certificate-document {
  margin-top: 15px;
  padding: 12px;
  position: relative;
  overflow: hidden;
  border: 4px double #60bea5;
  background:
    repeating-linear-gradient(0deg, rgba(56, 145, 119, .022) 0 1px, transparent 1px 4px),
    #fbfdfc;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .06);
}

.certificate-document::before,
.certificate-document::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 4px;
  border: 1px solid rgba(56, 167, 137, .65);
  pointer-events: none;
}

.certificate-document::after {
  inset: 8px;
  border-style: dashed;
  opacity: .45;
}

.certificate-inner {
  position: relative;
  z-index: 2;
  min-height: 780px;
  padding: 22px 13px 15px;
  border: 1px solid rgba(58, 172, 141, .46);
}

.certificate-watermark {
  position: absolute;
  z-index: 1;
  top: 34%;
  left: 15%;
  color: rgba(214, 58, 58, .085);
  font-size: 78px;
  line-height: .95;
  font-weight: 800;
  text-align: center;
  transform: rotate(-25deg);
  pointer-events: none;
}

.certificate-header {
  position: relative;
  z-index: 2;
  text-align: center;
}

.certificate-header h1 {
  margin: 0;
  color: #222;
  font-size: 22px;
  letter-spacing: 1px;
}

.certificate-header p {
  margin: 9px 0 0;
  color: #939a98;
  font-size: 11px;
}

.certificate-body {
  margin-top: 25px;
  position: relative;
  z-index: 2;
}

.certificate-fields {
  padding-right: 95px;
}

.certificate-field {
  min-height: 36px;
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px;
  line-height: 1.45;
}

.certificate-field span {
  color: #525957;
}

.certificate-field b {
  color: #252a28;
  font-weight: 500;
  word-break: break-word;
}

.certificate-photo {
  width: 82px;
  height: 110px;
  position: absolute;
  top: 12px;
  right: 2px;
  border: 3px solid #fff;
  outline: 1px solid #8ecfbd;
  background: #d6eef5;
  object-fit: cover;
}

.certificate-code-panel {
  margin-top: 28px;
  padding: 10px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #8ccab8;
  background: rgba(255, 255, 255, .74);
}

.demo-qr-grid {
  width: 76px;
  height: 76px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(29, 1fr);
  grid-template-rows: repeat(29, 1fr);
  place-items: center;
  overflow: hidden;
  border: 5px solid #fff;
  outline: 1px solid #343937;
  background: #fff;
}

.demo-qr-grid i {
  width: 100%;
  height: 100%;
  display: block;
  background: #fff;
}

.demo-qr-grid i.dark {
  background: #151817;
}

.demo-qr-grid b {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  padding: 2px 3px;
  border: 1px solid #d34141;
  color: #d34141;
  background: #fff;
  font-size: 7px;
  letter-spacing: .4px;
  transform: translate(-50%, -50%);
}

.certificate-code-panel p {
  margin: 0 0 7px;
  color: #3e4643;
  font-size: 11px;
}

.certificate-code-panel p strong {
  color: #23a98a;
  font-size: 14px;
}

.certificate-code-panel span {
  display: block;
  margin-top: 4px;
  color: #666e6b;
  font-size: 9px;
  line-height: 1.4;
}

.certificate-notes {
  margin-top: 13px;
  position: relative;
  z-index: 2;
  color: #555c59;
  font-size: 9px;
  line-height: 1.55;
}

.certificate-notes ol {
  margin: 5px 0 0;
  padding-left: 18px;
}

.certificate-demo-seal {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  padding: 5px 8px;
  border: 2px solid #d34b4b;
  border-radius: 50%;
  color: #d34b4b;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.online-report-screen {
  background: #fff;
}

.online-report-page {
  min-height: calc(100vh - 58px);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.online-site-header {
  height: 76px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

.online-demo-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  color: #303435;
  white-space: nowrap;
}

.online-brand-mark {
  width: 37px;
  height: 37px;
  margin-right: 7px;
  display: block;
  flex: 0 0 auto;
}

.online-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.online-demo-brand b {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.5px;
}

.online-demo-brand i {
  width: 1px;
  height: 28px;
  margin: 0 10px;
  background: #dedede;
}

.online-demo-brand em {
  color: #686d6e;
  font-size: 16px;
  font-style: normal;
}

.online-header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.online-header-tools button {
  width: 25px;
  height: 30px;
  position: relative;
}

.online-header-tools button:first-child::before {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  top: 3px;
  left: 1px;
  border: 2px solid #1e2223;
  border-radius: 50%;
}

.online-header-tools button:first-child::after {
  content: "";
  width: 10px;
  height: 2px;
  position: absolute;
  left: 15px;
  top: 19px;
  background: #1e2223;
  transform: rotate(48deg);
  transform-origin: left center;
}

.online-header-tools button:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.online-header-tools button:last-child span {
  width: 25px;
  height: 2px;
  display: block;
  background: #1e2223;
}

.online-language-bar {
  height: 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #323738;
}

.online-language-bar > span {
  margin-right: 10px;
  font-size: 16px;
}

.online-language-bar button {
  min-width: 54px;
  height: 42px;
  color: #858a8b;
  font-size: 16px;
}

.online-language-bar button.active {
  color: #19a99b;
  background: #f0faf9;
}

.online-language-bar .online-download-button {
  min-width: 14px !important;
  width: 14px;
  height: 16px !important;
  margin-left: auto;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: #fff !important;
  background: #899298;
}

.online-download-button svg {
  width: 11px;
  height: 11px;
  display: block;
  fill: currentColor;
}

.online-report-document {
  min-height: 1220px;
  padding: 25px 42px 46px;
  position: relative;
  background: #fff;
}

.online-report-document h1 {
  margin: 0;
  position: relative;
  z-index: 2;
  color: #283031;
  text-align: center;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
}

.online-report-photo {
  width: 91px;
  height: 122px;
  margin: 28px auto 38px;
  position: relative;
  z-index: 2;
  display: block;
  background: #66b9e8;
  object-fit: cover;
}

.online-report-fields {
  max-width: 300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.online-report-field {
  min-height: 48px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  font-size: 16px;
  line-height: 1.45;
}

.online-report-field dt {
  color: #929798;
  text-align: right;
}

.online-report-field dd {
  min-width: 0;
  margin: 0;
  color: #2e3334;
  font-weight: 450;
  overflow-wrap: anywhere;
}

.online-report-field.is-code dd {
  color: #238b80;
  font-weight: 600;
  letter-spacing: .3px;
}

.online-report-watermark {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 515px;
  color: rgba(207, 55, 55, .075);
  font-size: 64px;
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-24deg);
  pointer-events: none;
}

.online-report-footer {
  min-height: 104px;
  padding: 22px 15px;
  color: #aaaeb0;
  background: #292929;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

.online-report-footer p {
  margin: 0;
}

.online-demo-stamp {
  position: fixed;
  z-index: 80;
  right: max(10px, calc((100vw - 430px) / 2 + 10px));
  bottom: 16px;
  padding: 7px 9px 5px;
  border: 2px solid rgba(190, 49, 49, .7);
  border-radius: 6px;
  color: rgba(190, 49, 49, .82);
  background: rgba(255, 250, 250, .92);
  text-align: center;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 800;
  transform: rotate(-4deg);
  pointer-events: none;
}

.online-demo-stamp span {
  font-size: 8px;
  font-weight: 600;
}

.demo-watermark {
  position: fixed;
  z-index: 200;
  right: max(8px, calc((100vw - 430px) / 2 + 8px));
  bottom: calc(76px + env(safe-area-inset-bottom));
  padding: 3px 8px;
  border-radius: 10px;
  color: rgba(30, 117, 91, .74);
  background: rgba(235, 251, 245, .9);
  border: 1px solid rgba(30, 154, 116, .25);
  font-size: 10px;
  pointer-events: none;
}

@media (max-width: 360px) {
  .home-content,
  .record-landing,
  .archive-home,
  .education-list,
  .detail-content {
    padding-left: 13px;
    padding-right: 13px;
  }
  .student-card {
    padding-left: 17px;
    padding-right: 17px;
  }
  .photo-block {
    flex-basis: 56px;
  }
  .photo-frame {
    width: 56px;
    height: 76px;
  }
  .card-top {
    gap: 9px;
  }
  .student-basic {
    padding-left: 2px;
  }
  .student-basic strong {
    font-size: 23px;
  }
  .field-row {
    grid-template-columns: 34% 1fr;
    gap: 12px;
    font-size: 16px;
  }
  .online-site-header {
    padding-left: 14px;
    padding-right: 14px;
  }
  .online-brand-mark {
    width: 33px;
    height: 33px;
    font-size: 19px;
  }
  .online-demo-brand b {
    font-size: 17px;
  }
  .online-demo-brand i {
    margin-left: 7px;
    margin-right: 7px;
  }
  .online-demo-brand em {
    font-size: 14px;
  }
  .online-header-tools {
    gap: 12px;
  }
  .online-report-document {
    padding-left: 24px;
    padding-right: 24px;
  }
  .online-report-field {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
