@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "YunFengFeiYun";
  src: url("assets/fonts/YunFengFeiYunTi-2.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "MiSans";
  src: url("assets/fonts/MiSans-Heavy.ttf") format("truetype");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
}

:root {
  --navy: #142f70;
  --navy-dark: #0d2255;
  --blue: #2f5cb8;
  --teal: #13958f;
  --teal-dark: #0a6f6c;
  --gold: #e0b95e;
  --ink: #14213d;
  --muted: #65728c;
  --line: #dce4f2;
  --surface: #ffffff;
  --wash: #f2f6fb;
  --shadow: 0 22px 55px rgba(23, 47, 94, .14);
  font-family: "MiSans", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--wash); }
body { margin: 0; min-height: 100vh; background: var(--wash); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; }
.brand { display: inline-flex; align-items: center; color: var(--navy); font-weight: 400; text-decoration: none; }
.portal-boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  background: #f3f6fc;
  color: #153575;
  font-family: "MiSans", sans-serif;
  text-align: center;
}
.portal-boot img { width: min(210px, 58vw); height: auto; }
.portal-boot p { margin: 0; font-size: 16px; letter-spacing: .06em; }
.portal-boot span {
  width: 30px;
  height: 30px;
  border: 3px solid #cfdbef;
  border-top-color: #315caa;
  border-radius: 50%;
  animation: portalBootSpin .8s linear infinite;
}
@keyframes portalBootSpin { to { transform: rotate(360deg); } }

.auth-view {
  --auth-blue: #16377d;
  --auth-red: #d53b33;
  min-height: 100vh;
  background: #fff;
  font-family: "MiSans", sans-serif;
  font-weight: 400;
}
.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(480px, 2fr);
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.auth-scene {
  position: relative;
  min-height: 100vh;
  background: #111723 url("assets/login-background.jpg") left center / cover no-repeat;
  color: #fff;
}
.auth-vision {
  position: absolute;
  top: 29.5%;
  left: 0;
  width: 100%;
  padding: 0 clamp(28px, 5vw, 82px);
  text-align: center;
  text-shadow: 0 2px 8px rgba(3, 8, 15, .28);
}
.auth-vision p { margin: 0; }
.vision-cn {
  font-family: "STKaiti", "KaiTi", "MiSans", serif;
  font-size: clamp(34px, 3.35vw, 58px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .035em;
}
.vision-cn span {
  color: #f5a623;
  display: inline-block;
  font-family: "YunFengFeiYun", "STKaiti", "KaiTi", serif;
  font-weight: 400;
  font-size: 1.13em;
  line-height: 1;
  vertical-align: -.02em;
}
.vision-en {
  margin-top: clamp(12px, 1.5vh, 20px) !important;
  font-size: clamp(22px, 2vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .055em;
  white-space: nowrap;
}
.vision-tags {
  margin-top: clamp(15px, 2.2vh, 28px) !important;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 1.3vw, 22px);
  font-weight: 300;
  letter-spacing: .075em;
}
.vision-tags span { margin: 0 .38em; color: rgba(255,255,255,.6); }

.auth-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(40px, 7vh, 72px) clamp(46px, 5.4vw, 104px);
  background: #fff;
}
.auth-card {
  width: min(100%, 440px);
  margin-top: 3vh;
}
.auth-heading { text-align: center; color: var(--auth-blue); }
.auth-logo {
  display: block;
  width: clamp(150px, 12vw, 190px);
  height: auto;
  margin: 0 auto clamp(20px, 2.8vh, 28px);
}
.auth-heading h1 {
  margin: 0;
  color: var(--auth-blue);
  font-size: clamp(34px, 3vw, 47px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .06em;
}
.auth-heading p {
  margin: clamp(14px, 1.8vh, 19px) 0 clamp(20px, 2.6vh, 26px);
  color: var(--auth-blue);
  font-size: clamp(25px, 2.1vw, 33px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .08em;
}
.auth-form { display: none; }
.auth-form.active { display: block; position: relative; top: -22px; animation: rise .28s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.auth-form > label {
  display: block;
  margin: 0 0 8px 8px;
  color: var(--auth-blue);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
}
.auth-form[data-form="login"] > label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.auth-form[data-form="login"] .field-error {
  margin-left: auto;
  color: var(--auth-red);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: right;
}
.input-wrap { position: relative; margin-bottom: 18px; }
.auth-form input,
.auth-form select {
  width: 100%;
  height: 58px;
  border: 1px solid #aaa;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 16px;
  color: #1c2f5c;
  outline: none;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-form .input-wrap input,
.auth-form .input-wrap select { height: 54px; }
.auth-form input::placeholder { color: #c2c2c2; }
.auth-form select { appearance: none; cursor: pointer; }
.auth-form select:invalid { color: #c2c2c2; }
.auth-form select option { color: #1c2f5c; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid #7f899c;
  border-bottom: 1.5px solid #7f899c;
  transform: rotate(45deg);
  pointer-events: none;
}
.auth-form input,
.auth-form input:hover,
.auth-form input:active {
  background-color: #fff;
}
.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:active {
  -webkit-text-fill-color: #1c2f5c !important;
  caret-color: #1c2f5c;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
  background-clip: padding-box;
}
.auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1c2f5c !important;
  caret-color: #1c2f5c;
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(22,55,125,.12) !important;
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(22,55,125,.12) !important;
  background-color: #fff !important;
  background-clip: padding-box;
}
.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 3px rgba(22,55,125,.12);
}
.auth-form .input-wrap input.is-invalid,
.auth-form .input-wrap input.is-invalid:focus {
  border-color: var(--auth-red);
  box-shadow: 0 0 0 3px rgba(213,59,51,.1);
}
.auth-form .input-wrap input.is-invalid:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(213,59,51,.1) !important;
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(213,59,51,.1) !important;
}
.auth-form.has-error .input-wrap input,
.auth-form.has-error .input-wrap select { border-color: var(--auth-red); }
.auth-form.has-error .input-wrap input:focus,
.auth-form.has-error .input-wrap select:focus { box-shadow: 0 0 0 3px rgba(213,59,51,.1); }
.auth-form.has-error .input-wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(213,59,51,.1) !important;
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(213,59,51,.1) !important;
}
.peek { position: absolute; z-index: 2; right: 14px; top: 11px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #aaa; cursor: pointer; padding: 4px; display: grid; place-items: center; transition: color .2s ease, background .2s ease; }
.peek:hover, .peek:focus-visible { color: var(--auth-blue); background: rgba(22,55,125,.08); outline: none; }
.peek svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.peek .eye-open { display: none; }
.peek .eye-hidden { display: block; }
.peek[aria-pressed="true"] .eye-open { display: block; }
.peek[aria-pressed="true"] .eye-hidden { display: none; }
.input-wrap input[type=password], .input-wrap input[type=text] { padding-right: 54px; }
.form-options { min-height: 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: -10px 8px 18px; }
.check-row { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; color: var(--auth-blue); font-size: 13px; cursor: pointer; }
.check-row input { appearance: none; display: inline-grid; place-content: center; flex: 0 0 16px; inline-size: 16px; min-inline-size: 16px; max-inline-size: 16px; block-size: 16px; min-block-size: 16px; max-block-size: 16px; aspect-ratio: 1 / 1; box-sizing: border-box; margin: 0; padding: 0; border: 1px solid #9d9d9d; border-radius: 2px; position: relative; cursor: pointer; outline: none; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.check-row input:hover { border-color: var(--auth-blue); box-shadow: 0 0 0 5px rgba(22,55,125,.1); }
.check-row input:focus:not(:focus-visible):not(:hover) { box-shadow: none; }
.check-row input:focus-visible { border-color: var(--auth-blue); box-shadow: 0 0 0 3px rgba(22,55,125,.16); }
.check-row input:checked { border-color: var(--auth-blue); background: var(--auth-blue); }
.check-row input:checked::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-row.consent { margin: 0 0 16px; line-height: 1.45; }
.login-error { margin: 0; color: var(--auth-red); font-size: 12px; line-height: 1.35; text-align: right; }
.login-error:empty { display: none; }
.primary-button {
  width: max-content;
  min-width: 128px;
  height: 42px;
  margin: 5px auto 0;
  border: 0;
  border-radius: 8px;
  background: var(--auth-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(16,47,79,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 13px 23px rgba(16,47,79,.27); }
.primary-button.compact { width: auto; min-width: 130px; justify-content: center; padding: 0 22px; }
.auth-form .primary-button {
  width: 100%;
  height: 54px;
  margin: 0;
  border-radius: 10px;
  background: var(--auth-blue);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .18em;
  box-shadow: none;
}
.auth-form .primary-button:hover { background: #102e6e; box-shadow: 0 10px 22px rgba(22,55,125,.2); }
.auth-form .primary-button:focus-visible { outline: 3px solid rgba(22,55,125,.25); outline-offset: 3px; }
.forgotten {
  margin: 20px 0 0;
  color: #1c1c1c;
  font-size: 13px;
  text-align: center;
}
.forgotten button { border: 0; padding: 0; background: transparent; color: var(--auth-blue); cursor: pointer; }
.forgotten button:hover, .forgotten button:focus-visible { text-decoration: underline; outline: none; }
.forgotten-divider { margin: 0 8px; color: #9aa4b5; }
.auth-panel.register-mode {
  align-items: start;
  overflow-y: auto;
  padding-top: 28px;
  padding-bottom: 32px;
}
.auth-panel.register-mode .auth-card { margin-top: 0; }
.auth-panel.register-mode .auth-logo { width: 132px; margin-bottom: 12px; }
.auth-panel.register-mode .auth-heading h1 { display: none; }
.auth-panel.register-mode .auth-heading p { margin: 2px 0 18px; font-size: 23px; }
.registration-form.active { top: -8px; }
.registration-form .input-wrap { margin-bottom: 12px; }
.registration-form > label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 5px; font-size: 14px; }
.registration-form .field-error { margin-left: auto; color: var(--auth-red); font-size: 11px; font-weight: 500; line-height: 1.35; text-align: right; }
.registration-form .input-wrap input,
.registration-form .input-wrap select { height: 46px; border-radius: 3px; }
.registration-form .peek { top: 7px; }
.registration-select { position: relative; width: 100%; margin-bottom: 12px; }
.custom-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.registration-select .custom-select-trigger {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid #c6c6c6;
  border-radius: 3px;
  background: #fff;
  color: #1c2f5c;
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.registration-select .custom-select-trigger:hover { border-color: #b8c7e2; background: #fbfcff; }
.registration-select .custom-select-trigger:focus-visible,
.registration-select.open .custom-select-trigger {
  outline: none;
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 3px rgba(22,55,125,.12);
}
.registration-select .custom-select-value.is-placeholder { color: #c2c2c2; }
.registration-select .custom-select-arrow {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid #7f899c;
  border-bottom: 1.5px solid #7f899c;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}
.registration-select.open .custom-select-arrow { transform: rotate(225deg) translate(-2px, -2px); }
.registration-select .custom-select-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid #cfd9ea;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20,48,110,.16);
}
.registration-select .custom-select-menu[hidden] { display: none; }
.registration-select .custom-select-option {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1c2f5c;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.registration-select .custom-select-option:hover,
.registration-select .custom-select-option:focus-visible { outline: none; background: #edf3ff; color: #0e2b6f; }
.registration-select .custom-select-option[aria-selected="true"] { background: #0e2b6f; color: #fff; }
.registration-select .custom-select-option:disabled { color: #98a3b5; cursor: default; }
.registration-form.has-error .input-wrap input { border-color: #c6c6c6; box-shadow: none; }
.registration-form .input-wrap input.is-valid {
  border-color: #20936a;
  box-shadow: 0 0 0 3px rgba(32,147,106,.11);
}
.registration-form .input-wrap input.is-invalid {
  border-color: var(--auth-red);
  box-shadow: 0 0 0 3px rgba(213,59,51,.1);
}
.input-wrap input[type="password"]::-ms-reveal,
.input-wrap input[type="password"]::-ms-clear { display: none; }
.registration-form .primary-button { height: 48px; margin-top: 6px; font-size: 20px; }
.registration-form .primary-button:disabled { background: #aeb8cb; color: rgba(255,255,255,.88); box-shadow: none; cursor: not-allowed; transform: none; }
.registration-form .primary-button:disabled:hover { background: #aeb8cb; box-shadow: none; transform: none; }
.registration-form .forgotten { margin-top: 14px; }
.registration-error { min-height: 18px; margin: 0 6px 8px; color: var(--auth-red); font-size: 12px; line-height: 1.4; text-align: center; }
.registration-error:empty { display: none; }

.portal-view { --portal-navy: #153575; --portal-wash: #f3f6fc; min-height: 100vh; display: flex; flex-direction: column; background: var(--portal-wash); color: var(--portal-navy); }
.topbar { flex: 0 0 80px; height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; background: var(--portal-navy); position: relative; z-index: 20; }
.portal-logo { display: block; width: 116px; height: auto; }
.portal-system-title {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}
.topbar-actions { display: flex; align-items: center; gap: 25px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.status-pill i { width: 7px; height: 7px; background: #24a67d; border-radius: 50%; box-shadow: 0 0 0 5px rgba(36,166,125,.1); }
.profile-trigger { border: 0; background: transparent; display: flex; align-items: center; padding: 10px 0; color: #fff; font-size: 22px; line-height: 1; font-weight: 400; cursor: pointer; }
.profile-trigger:hover, .profile-trigger:focus-visible { color: #dbe6ff; outline: none; }
.profile-copy { display: grid; text-align: left; gap: 2px; }
.profile-copy strong { font-size: 13px; }
.profile-copy small { color: var(--muted); font-size: 10px; }
.portal-view main { width: 100%; margin: 0; padding: 0; flex: 1; }
.page { display: none; }
.page.active { display: block; animation: rise .35s ease both; }
#homePage.active { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: clamp(96px, 17.55vh, 158px) 0 58px; }
#profilePage { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0; }
.welcome-block { margin: 0; text-align: left; }
.welcome-block h1 { font-size: clamp(38px, 3.35vw, 48px); line-height: 1.18; font-weight: 700; letter-spacing: .04em; margin: 0; color: var(--portal-navy); }
.welcome-block > div:first-child > p:last-child { margin: 13px 0 0; color: var(--muted); line-height: 1.8; }
.date-card { display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 9px; min-width: 116px; padding: 17px 19px; border-radius: 16px; background: rgba(255,255,255,.82); border: 1px solid #dce5f1; box-shadow: 0 12px 30px rgba(34,61,104,.08); }
.date-card span, .date-card small { color: var(--muted); font-size: 11px; }
.date-card strong { grid-row: 1 / 3; grid-column: 2; font-size: 35px; line-height: 1; color: var(--navy); }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.system-card { position: relative; overflow: hidden; min-height: 262px; padding: 38px 40px; border-radius: 12px; display: block; background: #fff; box-shadow: 0 13px 19px rgba(34,58,106,.13); border: 1px solid #d9e1ee; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.system-card:hover { transform: translateY(-3px); border-color: #cad6e9; box-shadow: 0 18px 28px rgba(34,58,106,.17); }
.system-card::before { display: none; }
.card-glow { position: absolute; z-index: -1; width: 290px; height: 290px; border-radius: 50%; right: -115px; top: -120px; background: radial-gradient(circle, rgba(47,92,184,.14), transparent 68%); }
.assessment-card .card-glow { background: radial-gradient(circle, rgba(19,149,143,.17), transparent 68%); }
.system-icon { width: 54px; height: 54px; border-radius: 12px; background: #eef3fd; display: grid; place-items: center; position: relative; margin-bottom: 18px; }
.system-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--portal-navy); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.system-icon .icon-dots { stroke-width: 2.2; }
.system-tag { color: var(--blue); font-weight: 800; font-size: 10px; letter-spacing: .15em; }
.assessment-card .system-tag { color: var(--teal-dark); }
.system-copy { position: relative; z-index: 2; }
.system-copy h2 { margin: 0; font-size: clamp(23px, 1.8vw, 27px); line-height: 1.25; font-weight: 600; letter-spacing: .015em; color: var(--portal-navy); }
.system-copy p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }
.system-copy ul { padding: 0; margin: 21px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.system-copy li { font-size: 11px; color: #4b5a75; background: #f1f5fb; border-radius: 99px; padding: 6px 10px; }
.system-button { position: relative; z-index: 2; width: max-content; margin-top: 15px; padding: 0; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #0758c9; text-decoration: none; font-size: 15px; line-height: 1.6; font-weight: 400; transition: color .18s ease; }
.system-button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s ease, height .18s ease; }
.system-button:hover, .system-button:focus-visible, .system-card:hover .system-button { color: #0e2b6f; font-weight: 700; }
.system-button:hover::after, .system-button:focus-visible::after, .system-card:hover .system-button::after { height: 2px; transform: scaleX(1); }
.system-button:focus-visible { outline: 2px solid rgba(14,43,111,.3); outline-offset: 4px; border-radius: 2px; }
.system-button b { font-size: 18px; line-height: 1; font-weight: inherit; }
.card-illustration { position: absolute; z-index: 1; fill: none; stroke: #9eacca; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.interview-illustration { width: 230px; height: 170px; right: -68px; bottom: -14px; }
.interview-illustration .illustration-dots { stroke-width: 6; }
.assessment-illustration { width: 180px; height: 170px; right: 7px; bottom: 3px; }
.quick-info { margin-top: 24px; padding: 21px 28px; background: rgba(255,255,255,.74); border: 1px solid #dce5f1; border-radius: 18px; display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-info > div { display: flex; align-items: center; gap: 12px; padding: 0 24px; border-right: 1px solid var(--line); }
.quick-info > div:first-child { padding-left: 0; }
.quick-info > div:last-child { border: 0; }
.info-icon { color: var(--teal-dark); font-size: 24px; }
.quick-info p { display: grid; margin: 0; gap: 3px; }
.quick-info strong { font-size: 12px; }
.quick-info small { color: var(--muted); font-size: 10px; }

#assessmentPage.active {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 42px max(24px, calc((100% - 1180px) / 2)) 62px;
  background: transparent;
  color: var(--portal-navy);
}
.assessment-page-heading { position: relative; max-width: 1060px; }
.assessment-page-heading h1 { margin: 0; color: var(--portal-navy); font-size: clamp(13px, 4.1vw, 56px); font-weight: 600; line-height: 1.18; letter-spacing: .025em; white-space: nowrap; }
.assessment-page-heading > span { display: block; margin-top: 13px; color: #8190a9; font-size: 12px; letter-spacing: .18em; }
.assessment-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1.18fr);
  align-items: start;
  gap: 28px;
  margin-top: 34px;
}
.assessment-intro-panel {
  padding: 30px;
  border: 1px solid #d7e2f1;
  border-radius: 0;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 38px rgba(29,52,91,.08);
}
.assessment-panel-kicker { color: var(--teal-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.assessment-intro-panel > h2 { margin: 9px 0 0; color: var(--portal-navy); font-size: 23px; font-weight: 550; line-height: 1.45; }
.assessment-intro-lead { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.assessment-method { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; margin-top: 25px; padding-top: 23px; border-top: 1px solid #dce5f1; }
.assessment-method-index { color: #d7b46f; font-size: 23px; font-weight: 300; line-height: 1; }
.assessment-method h3 { margin: 0; color: var(--portal-navy); font-size: 17px; font-weight: 600; line-height: 1.4; }
.assessment-method h3 small { color: var(--teal-dark); font-size: 12px; font-weight: 600; }
.assessment-method p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.assessment-method ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.assessment-method li { padding: 5px 8px; border: 1px solid #d4e1ef; border-radius: 0; background: #edf4fb; color: #465f84; font-size: 11px; }

.assessment-pass-card {
  overflow: hidden;
  padding: 40px 36px;
  border: 1px solid #d6e2f2;
  border-radius: 0;
  background: #fff;
  color: #263553;
  box-shadow: 0 16px 38px rgba(29,52,91,.08);
  text-align: center;
}
.assessment-pass-card h2 { margin: 0; color: #153778; font-size: 29px; font-weight: 600; line-height: 1.25; }
.assessment-pass-actions { display: grid; grid-template-columns: 1fr; gap: 12px; width: min(340px, 100%); margin: 28px auto 0; }
.assessment-purchase-button,
.assessment-enter-button,
.assessment-dialog-confirm,
.assessment-dialog-cancel {
  min-height: 48px;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.assessment-purchase-button { border: 1px solid #9fd3b4; background: #dff5e8; color: #17633f; }
.assessment-purchase-button:hover { border-color: #75bd94; background: #ccebd9; transform: translateY(-1px); }
.assessment-enter-button { border: 1px solid #153778; background: #153778; color: #fff; box-shadow: 0 8px 18px rgba(21,55,120,.16); }
.assessment-enter-button:hover { border-color: #0f2c67; background: #0f2c67; transform: translateY(-1px); }
.assessment-purchase-button:focus-visible,
.assessment-enter-button:focus-visible,
.assessment-dialog-confirm:focus-visible,
.assessment-dialog-cancel:focus-visible { outline: 3px solid rgba(21,55,120,.2); outline-offset: 2px; }
.assessment-purchase-button:disabled,
.assessment-enter-button:disabled { opacity: .52; cursor: not-allowed; transform: none; box-shadow: none; }
.assessment-purchase-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; background: rgba(8,22,50,.5); }
.assessment-purchase-dialog { width: min(440px, 100%); min-height: 256px; padding: 30px 33px; border: 1px solid #dbe4f0; border-radius: 0; background: #fff; box-shadow: 0 22px 60px rgba(8,22,50,.22); }
.assessment-purchase-dialog h2 { margin: 0; color: #153778; font-size: 24px; font-weight: 600; }
.assessment-purchase-dialog p { margin: 13px 0 0; color: #39465c; font-size: 15px; line-height: 1.6; }
.assessment-purchase-dialog p strong { color: #153778; font-size: 18px; }
#assessmentPurchaseBalance { color: #73819a; font-size: 13px; }
.assessment-purchase-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.assessment-dialog-confirm { min-width: 112px; border: 1px solid #153778; background: #153778; color: #fff; }
.assessment-dialog-confirm:hover { background: #0f2c67; }
.assessment-dialog-cancel { min-width: 80px; border: 1px solid #dbe4f0; background: #fff; color: #292a30; }
.assessment-dialog-cancel:hover { background: #f4f7fb; }
.assessment-dialog-confirm:disabled { border-color: #aeb8c8; background: #aeb8c8; cursor: not-allowed; }
body.assessment-modal-open { overflow: hidden; }

.profile-hero { display: flex; align-items: center; gap: 20px; background: #0e2b6f; color: #fff; padding: 34px 39px; border-radius: 3px; box-shadow: var(--shadow); }
.profile-hero h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 400; }
.profile-hero .section-kicker { color: #81d8cd; }
.profile-hero .secondary-button { margin-left: auto; color: #fff; border-color: rgba(255,255,255,.45); border-radius: 0; background: transparent; font-weight: 400; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.profile-hero .secondary-button:hover, .profile-hero .secondary-button:focus-visible { color: #df3948; border-color: #df3948; background: rgba(223,57,72,.08); font-weight: 400; outline: none; }
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 21px; margin-top: 22px; }
.profile-card { background: #fff; border: 1px solid #dce5f1; border-radius: 3px; padding: 27px 29px; box-shadow: 0 15px 36px rgba(29,52,91,.07); }
.security-card { grid-column: 1 / -1; }
.card-title { display: flex; justify-content: space-between; align-items: start; padding-bottom: 19px; border-bottom: 1px solid #edf1f6; }
.card-title span:first-child { color: var(--teal-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.card-title h2 { margin: 5px 0 0; font-size: 20px; }
.mini-icon { width: 35px; height: 35px; display: grid; place-items: center; color: var(--navy) !important; background: #edf2fb; border-radius: 10px; font-size: 17px !important; }
.account-card dl { width: 100%; margin: 20px 0 0; display: grid; grid-template-columns: 1fr; }
.account-card dl div { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 10px 8px; }
.account-card dt { color: var(--muted); font-size: 12px; font-weight: 400; text-align: left; }
.account-card dd { margin: 0; font-size: 13px; font-weight: 400; text-align: right; }
.account-status { background: transparent; padding: 0; border-radius: 0; font-size: inherit; }
.account-status.is-active { color: #168262; }
.account-status.is-inactive { color: #c43d4b; }
.recharge-quota-button { width: 100%; height: 48px; border: 1px solid #0e2b6f; border-radius: 3px; background: #0e2b6f; color: #fff; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .08em; cursor: pointer; box-shadow: 0 12px 26px rgba(14,43,111,.14); transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.recharge-quota-button:hover { background: #173d8c; border-color: #173d8c; transform: translateY(-1px); box-shadow: 0 15px 30px rgba(14,43,111,.2); }
.recharge-quota-button:focus-visible { outline: 3px solid rgba(14,43,111,.22); outline-offset: 3px; }

#rechargePage { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 54px; color: #263553; }
.recharge-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.recharge-heading h1 { margin: 0; color: #0e2b6f; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; }
.recharge-back, .recharge-history { border: 0; padding: 0; background: transparent; color: #66758f; font: inherit; font-size: 13px; cursor: pointer; }
.recharge-back:hover, .recharge-back:focus-visible { color: #0e2b6f; outline: none; }
.recharge-history { position: relative; display: inline-flex; align-items: center; gap: 7px; padding-bottom: 3px; color: #0758c9; font-weight: 400; transition: color .18s ease, font-weight .18s ease; }
.recharge-history::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s ease, height .18s ease; }
.recharge-history:hover, .recharge-history:focus-visible { color: #0e2b6f; font-weight: 700; outline: none; }
.recharge-history:hover::after, .recharge-history:focus-visible::after { height: 2px; transform: scaleX(1); }
.recharge-history span { font-size: 17px; }

.recharge-account-summary { position: relative; overflow: hidden; min-height: 130px; display: grid; grid-template-columns: minmax(160px, .8fr) minmax(180px, 1fr) 190px; align-items: center; gap: 30px; padding: 24px 42px; border: 1px solid #d7e2f1; border-radius: 3px; background: #e8f1fb; box-shadow: 0 12px 28px rgba(27,55,105,.06); }
.recharge-account-summary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.55), transparent 56%); pointer-events: none; }
.recharge-account-copy, .recharge-balance-copy { position: relative; z-index: 1; display: grid; align-content: center; gap: 8px; }
.recharge-account-copy span, .recharge-balance-copy > span { color: #71809a; font-size: 13px; }
.recharge-account-copy strong { color: #0e2b6f; font-size: 20px; font-weight: 500; }
.recharge-balance-copy { padding-left: 34px; border-left: 1px solid #c8d8eb; }
.recharge-balance-copy p { display: flex; align-items: baseline; gap: 8px; margin: 0; color: #0e2b6f; }
.recharge-balance-copy strong { font-size: 32px; line-height: 1; font-weight: 600; }
.recharge-balance-copy small { font-size: 13px; }
.recharge-wallet { position: relative; z-index: 1; justify-self: end; width: 170px; max-width: 100%; fill: rgba(255,255,255,.52); stroke: #0e2b6f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .83; }
.recharge-wallet circle { fill: #0e2b6f; stroke: none; }

.recharge-panel { margin-top: 22px; padding: 31px 34px 34px; border: 1px solid #dce5f1; border-radius: 3px; background: #fff; box-shadow: 0 16px 36px rgba(29,52,91,.07); }
.recharge-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.recharge-section-heading h2, .payment-section h2 { margin: 0; color: #0e2b6f; font-size: 18px; line-height: 1.3; font-weight: 600; }
.recharge-section-heading span { color: #75839a; font-size: 12px; }
.recharge-packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.recharge-package { position: relative; min-width: 0; height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 24px 12px 15px; border: 1px solid #cfd9e8; border-radius: 3px; background: #fff; color: #0e2b6f; font: inherit; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.recharge-package:hover { border-color: #0e2b6f; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(14,43,111,.09); }
.recharge-package:focus-visible { outline: 3px solid rgba(14,43,111,.18); outline-offset: 2px; }
.recharge-package.is-selected { border-color: #0e2b6f; background: #0e2b6f; color: #fff; box-shadow: 0 10px 22px rgba(14,43,111,.18); }
.recharge-package strong { font-size: 28px; line-height: 1; font-weight: 600; }
.recharge-package strong small { margin-right: 2px; font-size: 15px; font-weight: 500; }
.package-points { color: #70809a; font-size: 12px; }
.recharge-package.is-selected .package-points { color: rgba(255,255,255,.78); }
.package-gift { position: absolute; top: 0; right: 0; padding: 5px 8px; border: 0; border-radius: 0 2px 0 3px; background: #dff5ee; color: #178466; font-size: 10px; line-height: 1; }
.recharge-package.is-selected .package-gift { background: #53c4a6; color: #062f28; }
.recharge-package-custom { padding-inline: 16px; }
.custom-amount-label { font-size: 15px; font-weight: 500; }
.custom-amount-field { width: 100%; height: 34px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #b8c5d8; color: inherit; }
.custom-amount-field b { font-size: 14px; font-weight: 500; }
.custom-amount-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; text-align: center; appearance: textfield; }
.custom-amount-field input::-webkit-outer-spin-button, .custom-amount-field input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.custom-amount-field input::placeholder { color: #98a4b7; }
.recharge-package.is-selected .custom-amount-field { border-color: rgba(255,255,255,.52); }
.recharge-package.is-selected .custom-amount-field input::placeholder { color: rgba(255,255,255,.62); }

.payment-section { margin-top: 34px; padding-top: 28px; border-top: 1px solid #e8edf4; }
.payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.payment-method { min-width: 0; min-height: 78px; display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid #d7dfeb; border-radius: 3px; background: #fff; color: #273754; font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.payment-method:hover, .payment-method.is-selected { border-color: #0e2b6f; box-shadow: 0 6px 18px rgba(14,43,111,.07); }
.payment-method:focus-visible { outline: 3px solid rgba(14,43,111,.18); outline-offset: 2px; }
.payment-method > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.payment-method strong { color: #0e2b6f; font-size: 14px; font-weight: 500; }
.payment-method small { overflow: hidden; color: #8290a6; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.payment-method i { width: 16px; height: 16px; border: 1px solid #b8c3d3; border-radius: 50%; display: grid; place-items: center; }
.payment-method.is-selected i { border-color: #0e2b6f; box-shadow: inset 0 0 0 4px #fff; background: #0e2b6f; }
.payment-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 3px; }
.wechat-logo { background: #e2f7ef; color: #17a36f; }
.wechat-logo svg { width: 28px; height: 28px; fill: currentColor; }
.alipay-logo { background: #e7f2ff; color: #1677ff; font-size: 22px; font-weight: 600; }

.recharge-checkout { margin-top: 30px; display: grid; grid-template-columns: minmax(150px, .9fr) minmax(210px, 1.25fr) auto; align-items: center; gap: 28px; padding: 23px 24px; border-radius: 3px; background: #f2f6fc; }
.checkout-copy, .checkout-points { display: grid; gap: 5px; }
.checkout-copy > span, .checkout-points > span { color: #748199; font-size: 11px; }
.checkout-copy p { display: flex; align-items: baseline; gap: 4px; margin: 0; color: #0e2b6f; }
.checkout-copy p small { font-size: 16px; font-weight: 500; }
.checkout-copy p strong { font-size: 30px; line-height: 1; font-weight: 600; }
.checkout-points { padding-left: 28px; border-left: 1px solid #d5deeb; }
.checkout-points strong { color: #0e2b6f; font-size: 14px; font-weight: 500; }
.checkout-points strong b { font-size: 19px; font-weight: 600; }
.checkout-points small { color: #8290a6; font-size: 11px; }
.checkout-points small b { color: #168262; font-weight: 500; }
.checkout-button { min-width: 158px; height: 50px; border: 1px solid #0e2b6f; border-radius: 3px; background: #0e2b6f; color: #fff; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .05em; cursor: pointer; box-shadow: 0 10px 24px rgba(14,43,111,.17); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.checkout-button:hover { border-color: #173d8c; background: #173d8c; transform: translateY(-1px); }
.checkout-button:focus-visible { outline: 3px solid rgba(14,43,111,.2); outline-offset: 3px; }
.checkout-button:disabled { border-color: #aeb8c8; background: #aeb8c8; box-shadow: none; cursor: not-allowed; transform: none; }

#rechargeRecordsPage { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 54px; color: #263553; }
.records-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.records-heading h1 { margin: 0; color: #0e2b6f; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; }
.records-back { position: relative; width: max-content; display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 0 0 3px; background: transparent; color: #0758c9; font: inherit; font-size: 13px; font-weight: 400; cursor: pointer; transition: color .18s ease, font-weight .18s ease; }
.records-back::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s ease, height .18s ease; }
.records-back span { font-size: 17px; line-height: 1; }
.records-back:hover, .records-back:focus-visible { color: #0e2b6f; font-weight: 700; outline: none; }
.records-back:hover::after, .records-back:focus-visible::after { height: 2px; transform: scaleX(1); }
.records-panel { overflow: visible; padding: 18px 28px 20px; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.records-panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 0 18px; border: 0; }
.records-panel-heading h2 { margin: 0; color: #0e2b6f; font-size: 18px; line-height: 1.3; font-weight: 600; }
.records-table { width: 100%; }
.records-row { min-height: 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 24px; padding: 0 4px; border: 0; color: #4d5d77; font-size: 13px; }
.records-row > * { min-width: 0; white-space: nowrap; text-align: center; }
.records-row strong { color: #0e2b6f; font-size: 15px; font-weight: 500; }
.records-table-head { min-height: 42px; background: transparent; color: #111; font-size: 12px; }
.record-status { display: inline-flex; align-items: center; color: #168262; font-style: normal; font-weight: 500; }
.records-empty { margin: 0; padding: 42px 0; color: #7c899f; font-size: 13px; text-align: center; }
.records-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 16px; }
.records-pagination button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; color: #0e2b6f; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: color .18s ease, background .18s ease; }
.records-pagination button:hover:not(:disabled), .records-pagination button:focus-visible:not(:disabled) { background: #edf2fb; color: #0758c9; outline: none; }
.records-pagination button:disabled { color: #b3bdcc; cursor: default; }
.records-pagination span { min-width: 48px; color: #75839a; font-size: 12px; text-align: center; }
.progress-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.progress-list div { display: grid; gap: 6px; border-right: 1px solid var(--line); padding-left: 21px; }
.progress-list div:first-child { padding-left: 0; }
.progress-list div:last-child { border: 0; }
.progress-list span { color: var(--muted); font-size: 11px; }
.progress-list strong { font-size: 27px; color: var(--navy); }
.progress-list small { font-size: 10px; color: var(--muted); }
.security-row { display: flex; align-items: center; justify-content: space-between; padding: 17px 0 0; }
.security-row + .security-row { border-top: 1px solid #edf1f6; margin-top: 17px; }
.security-row div { display: grid; gap: 4px; }
.security-row strong { font-size: 13px; }
.security-row small, .security-row > span { color: var(--muted); font-size: 11px; }
.security-row button { border: 0; background: #edf2fb; color: var(--navy); border-radius: 8px; padding: 7px 12px; font-size: 11px; cursor: pointer; }
.secondary-button { height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 17px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.portal-footer { flex: 0 0 auto; padding: 14px 24px 24px; color: #7e8aa1; font-size: 13px; line-height: 1.4; text-align: center; letter-spacing: .03em; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 32px; transform: translate(-50%, 20px); max-width: calc(100% - 40px); padding: 13px 18px; border-radius: 10px; background: #17233c; color: #fff; box-shadow: 0 15px 40px rgba(12,25,50,.25); opacity: 0; pointer-events: none; transition: .25s ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #9b3444; }
.toast.registration-success { background: #21865f; color: #fff; box-shadow: 0 15px 40px rgba(23,112,78,.28); }
@media (max-width: 1179px) {
  #homePage.active { width: min(620px, calc(100% - 40px)); padding-top: 72px; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 250px; }
}

@media (max-width: 940px) {
  .auth-stage { grid-template-columns: 1fr; overflow: visible; }
  .auth-scene { min-height: 45svh; background-position: left center; }
  .auth-vision { top: 24%; padding-inline: 34px; }
  .vision-cn { font-size: clamp(32px, 6vw, 48px); }
  .vision-en { font-size: clamp(19px, 3.5vw, 30px); }
  .auth-panel { min-height: 55svh; padding: 54px 32px 64px; }
  .auth-card { width: min(100%, 460px); margin-top: 0; }
  .auth-logo { width: 184px; margin-bottom: 30px; }
  .system-grid { grid-template-columns: 1fr; }
  #homePage.active { width: min(620px, calc(100% - 40px)); padding-top: 72px; }
  .system-card { min-height: 250px; }
  .quick-info { grid-template-columns: 1fr; gap: 18px; }
  .quick-info > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
  .quick-info > div:last-child { padding-bottom: 0; }
  .profile-grid { grid-template-columns: 1fr; }
  .security-card { grid-column: auto; }
  .recharge-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assessment-layout { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 760px) {
  .auth-scene { min-height: 42svh; }
  .auth-panel { min-height: 58svh; }
}

@media (max-width: 820px) {
  .recharge-checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .checkout-button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 640px) {
  .auth-scene { min-height: 34svh; background-position: left center; }
  .auth-vision { top: 22%; padding-inline: 18px; }
  .vision-cn { font-size: clamp(27px, 8vw, 38px); }
  .vision-en { margin-top: 8px !important; font-size: clamp(14px, 4.4vw, 21px); letter-spacing: .025em; }
  .vision-tags { margin-top: 12px !important; font-size: 12px; letter-spacing: .02em; }
  .auth-panel { min-height: 66svh; padding: 38px 24px 48px; }
  .auth-logo { width: 152px; margin-bottom: 24px; }
  .auth-heading h1 { font-size: 31px; }
  .auth-heading p { margin: 14px 0 28px; font-size: 24px; }
  .auth-form > label { margin-left: 4px; font-size: 14px; }
  .input-wrap { margin-bottom: 20px; }
  .auth-form .input-wrap input { height: 54px; }
  .peek { top: 11px; }
  .form-options { margin: -10px 4px 21px; flex-wrap: wrap; }
  .login-error { flex-basis: 100%; text-align: left; }
  .auth-form .primary-button { height: 54px; font-size: 20px; }
  .topbar { height: 72px; flex-basis: 72px; padding: 0 20px; }
  .portal-logo { width: 104px; }
  .portal-system-title { margin-left: 12px; padding-left: 12px; font-size: 14px; }
  .status-pill, .profile-copy { display: none; }
  .profile-trigger { border: 0; padding-left: 0; font-size: 16px; }
  .portal-view main { width: 100%; padding: 0; }
  #homePage.active { width: calc(100% - 36px); padding: 48px 0 36px; }
  #profilePage { width: calc(100% - 36px); padding: 32px 0; }
  #rechargePage { width: calc(100% - 36px); padding: 28px 0 36px; }
  #rechargeRecordsPage { width: calc(100% - 36px); padding: 28px 0 36px; }
  .welcome-block { align-items: start; }
  .date-card { display: none; }
  .welcome-block h1 { font-size: 30px; line-height: 1.3; letter-spacing: .02em; }
  .system-grid { margin-top: 28px; gap: 18px; }
  .system-card { padding: 28px 26px; border-radius: 10px; min-height: 238px; }
  .system-copy h2 { font-size: 22px; max-width: 72%; }
  .card-illustration { opacity: .8; transform: scale(.78); transform-origin: right bottom; }
  .profile-hero { align-items: center; flex-wrap: wrap; padding: 27px 24px; }
  .profile-hero .secondary-button { margin-left: 0; width: 100%; }
  .profile-card { padding: 24px 21px; }
  .recharge-heading { align-items: flex-end; margin-bottom: 17px; }
  .recharge-heading h1 { font-size: 24px; }
  .recharge-account-summary { min-height: 0; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 21px; }
  .recharge-balance-copy { padding-left: 18px; }
  .recharge-balance-copy strong { font-size: 27px; }
  .recharge-wallet { display: none; }
  .recharge-panel { margin-top: 16px; padding: 25px 20px 22px; }
  .recharge-packages { grid-template-columns: 1fr; gap: 11px; }
  .recharge-package { height: 106px; }
  .payment-methods { grid-template-columns: 1fr; gap: 11px; }
  .recharge-checkout { grid-template-columns: 1fr 1fr; gap: 18px; padding: 21px 18px; }
  .checkout-points { padding-left: 18px; }
  .checkout-button { grid-column: 1 / -1; width: 100%; }
  .records-heading { gap: 18px; margin-bottom: 17px; }
  .records-heading h1 { font-size: 24px; }
  .records-panel { padding: 14px 14px 17px; }
  .records-panel-heading { padding: 0 0 14px; }
  .records-row { min-height: 54px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, .65fr); gap: 8px; padding: 0; font-size: 11px; }
  .records-row strong { font-size: 13px; }
  .records-table-head { min-height: 36px; font-size: 11px; }
  .progress-list div { padding-left: 12px; }
  .portal-footer { padding: 12px 18px 20px; font-size: 11px; }
  #assessmentPage.active { min-height: calc(100vh - 72px); padding: 28px 18px 38px; }
  .assessment-page-heading h1 { font-size: clamp(13px, 4.1vw, 56px); }
  .assessment-layout { gap: 18px; margin-top: 25px; }
  .assessment-intro-panel, .assessment-pass-card { padding: 24px 20px; }
  .assessment-method { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .assessment-purchase-dialog { padding: 27px 23px; }
}

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