/* Unified site stylesheet - 2026-06-09
   Scope: shared PC CMS templates, inner pages, list/detail/library/search/download/member pages.
   Historical patch layers were intentionally removed. */
:root {
  --page: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --line: #e1e7ef;
  --line-soft: #edf1f5;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #1269f3;
  --blue-soft: #f8fafc;
  --green: #0ca678;
  --orange: #f97316;
  --purple: #7c3aed;
  --radius: 8px;
  --container: 1440px;
  --inner: 1372px;
  --left: 996px;
  --side: 372px;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

.page-column-list .content-list a,
.page-column-list .content-list .title_color,
.page-column-list .title_color {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

* { box-sizing: border-box; }
html { margin: 0; padding: 0; background: var(--page); color: var(--text); }
body { margin: 0; padding: 0; min-width: var(--container); background: var(--page); color: var(--text); font-family: inherit; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.wrap, .cms-container { width: var(--container); max-width: none; margin: 0 auto; padding-left: 72px; padding-right: 72px; }

/* Header */
.inner-header { position: sticky; top: 0; z-index: 20; width: 100%; min-width: var(--container); height: 72px; margin: 0; padding: 0; border-bottom: 1px solid #e5e7eb; background: #fff; box-shadow: none; }
.inner-header .topbar { display: flex; align-items: center; flex-wrap: nowrap; width: var(--container); height: 72px; min-height: 72px; margin: 0 auto; padding: 0 72px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; height: 72px; }
.brand-logo { width: 181px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 72px; margin: 0 0 0 24px; padding: 0; overflow: hidden; }
.nav-links a { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 72px; padding: 0 16px; color: #26364a; font-size: 15px; font-weight: 600; line-height: 72px; white-space: nowrap; }
.nav-links a.active, .nav-links a:hover { color: var(--blue); }
.nav-links a.active::after { position: absolute; left: 50%; bottom: 0; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px 4px 0 0; background: var(--blue); content: ""; }
.top-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; height: 72px; margin-left: auto; }
.top-actions a, .top-actions button, .mini-program-trigger, .login-main { display: inline-flex; align-items: center; justify-content: center; height: 38px; min-height: 38px; padding: 0 20px; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 38px; white-space: nowrap; }
.mini-program-trigger { color: var(--blue); background: #fff; box-shadow: none; border: 1px solid var(--line); }
.login-main { color: #fff; background: var(--blue); box-shadow: 0 6px 16px rgba(18, 105, 243, .18); }
.top-actions [data-icon] { width: 16px; height: 16px; margin-right: 6px; color: currentColor; }

/* Generic inner layout */
.inner-page, .phpcms-page, body[class*="page-"] { margin: 0; padding: 0; min-width: var(--container); background: var(--page); }
.inner-main, .downloads-main, .landing-main, .about-main, .member-commercial-main { width: var(--container); max-width: none; margin: 0 auto 24px; padding: 24px 34px 0; }
.breadcrumb { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.breadcrumb a { color: #475569; }
.inner-layout { display: grid; grid-template-columns: var(--left) var(--side); gap: 24px; align-items: start; }
.rich-sidebar { display: grid; gap: 18px; }
.inner-card, .side-card, .search-results-panel, .school-list-panel, .major-list-section, .download-content, .landing-content-card, .about-content, .about-side-card, .about-wide-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: none; }

/* Section headers */
.inner-card-head, .side-card h3, .side-card-head, .search-results-head, .major-list-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; margin: 0; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); }
.inner-card-head h1, .inner-card-head h2, .side-card h3, .side-card-head h3, .search-results-head h2, .major-list-head p { display: flex; align-items: center; margin: 0; color: var(--text); font-size: 22px; font-weight: 800; line-height: 1.35; }
.inner-card-head h1::before, .inner-card-head h2::before, .side-card h3::before, .side-card-head h3::before, .search-results-head h2::before, .major-list-head p::before { display: inline-block; width: 4px; height: 20px; margin-right: 10px; border-radius: 4px; background: var(--blue); content: ""; }
.side-card h3 { justify-content: flex-start; }
.inner-card-head h1, .inner-card-head h2 { flex: 0 0 auto; white-space: nowrap; }
.inner-card-head .filter-tabs { flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.page-column-list .inner-card { overflow: hidden; }
.page-column-list .inner-card-head { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; justify-content: stretch; gap: 14px; min-height: 0; padding: 20px 24px; }
.page-column-list .inner-card-head h1 { white-space: normal; }
.page-column-list .inner-card-head .filter-tabs { justify-content: flex-start; }
.page-column-list .column-tab-head {
  gap: 16px;
  padding-bottom: 18px;
}
.page-column-list .column-tabs {
  width: 100%;
  padding-top: 2px;
}
.page-column-list .column-tabs a {
  height: 34px;
  min-height: 34px;
  padding: 0 15px;
  border-color: #dbe7f4;
  background: #fff;
  color: #3f5268;
  line-height: 32px;
}
.page-column-list .column-tabs a.active {
  border-color: #b9dbff;
  background: #eef6ff;
  color: var(--blue);
}

/* Unified hero for standalone pages */
.library-hero, .major-hero, .download-hero, .search-results-hero, .landing-hero, .detail-hero, .article-head, .about-title { display: grid; grid-template-columns: 280px minmax(0, 1fr) 360px; align-items: center; gap: 24px; width: var(--inner); min-height: 124px; margin: 0 auto; padding: 24px 28px; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: #fff; }
.library-hero h1, .major-hero h1, .download-copy h1, .search-results-hero h1, .landing-hero h1, .detail-title h1, .article-head h1, .about-title h1 { display: flex; align-items: center; margin: 0; color: var(--text); font-size: 24px; line-height: 1.35; font-weight: 800; white-space: nowrap; }
.library-hero h1::before, .major-hero h1::before, .download-copy h1::before, .search-results-hero h1::before, .landing-hero h1::before, .detail-title h1::before, .article-head h1::before, .about-title h1::before { display: inline-block; width: 4px; height: 20px; margin-right: 10px; border-radius: 4px; background: var(--blue); content: ""; }
.library-hero p, .major-hero p, .download-copy p, .search-results-hero p, .landing-hero p, .detail-title p, .article-summary, .about-title p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.major-hero > div, .search-results-hero > div, .landing-hero > div:first-child, .download-copy { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-column: 1 / 3; align-items: center; gap: 24px; min-width: 0; }
.major-hero > div h1, .search-results-hero > div h1, .landing-hero > div:first-child h1 { grid-column: 1; }
.major-hero > div p, .search-results-hero > div p, .landing-hero > div:first-child p { grid-column: 2; }
.search-kicker, .landing-kicker, .member-kicker { display: none; }

/* Forms */
.library-search, .major-search, .search-results-form, .service-plan-form { grid-column: 3; display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; width: 360px; height: 40px; overflow: hidden; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; }
.service-plan-form { grid-template-columns: minmax(0, 1fr) 80px 96px; }
.library-search input, .major-search input, .search-results-form input, .service-plan-form input, .download-search input { width: 100%; min-width: 0; height: 38px; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #334155; }
.library-search button, .major-search button, .search-results-form button, .service-plan-form button { width: 96px; height: 40px; border: 0; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }

/* Filters */
.filter-panel, .major-filter-panel, .download-toolbar, .search-scope-tabs { width: var(--inner); margin: 0 auto; padding: 20px 24px; border: 1px solid var(--line); border-top: 0; border-radius: 0; background: #fff; }
.filter-row, .major-filter-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; min-height: 46px; border-bottom: 1px solid var(--line-soft); }
.filter-row:last-child, .major-filter-row:last-child { border-bottom: 0; }
.filter-row strong, .major-filter-row strong { color: #334155; font-size: 14px; font-weight: 800; }
.filter-row > div, .major-filter-row > div, .major-select-row, .filter-tabs, .download-filter, .search-scope-tabs { display: flex; flex-wrap: wrap; gap: 10px 12px; min-width: 0; }
.filter-row a, .major-filter-row a, .major-select-row summary, .filter-tabs a, .download-filter button, .search-scope-tabs a, .result-tags .tag, .tag, .list-label { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-height: 32px; padding: 0 14px; border: 1px solid #e1e7ef; border-radius: 999px; background: #fff; color: #334155; font-size: 14px; line-height: 30px; font-weight: 700; white-space: nowrap; }
.filter-row a.active, .major-filter-row a.active, .filter-tabs a.active, .download-filter button.active, .search-scope-tabs a.active { border-color: var(--blue); background: #fff; color: var(--blue); }
.major-filter-menu { position: relative; }
.major-filter-menu > div { position: absolute; z-index: 5; display: none; min-width: 180px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
.major-filter-menu[open] > div { display: grid; gap: 8px; }
.major-hero-tabs, .download-illustration, .download-feature-card, .download-hero-actions { display: none !important; }
.service-plan-hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
.service-plan-hero > div:first-child { display: block; grid-column: 1 / -1; max-width: 760px; }
.service-plan-hero h1 { white-space: normal; }
.service-plan-hero p { margin-top: 10px; max-width: 680px; }
.service-plan-hero .service-plan-form { grid-column: auto; width: 560px; margin-top: 18px; }

/* Footer */
.cms-feature-strip { width: 100%; min-width: var(--container); margin: 36px 0 0; background: #fafafa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cms-feature-strip .cms-container { padding: 0 72px; }
.cms-feature-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 22px 0; list-style: none; }
.cms-feature-strip li { display: flex; align-items: center; gap: 12px; }
.cms-feature-strip i,
.cms-feature-strip [data-icon] { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-weight: 800; mask: none; -webkit-mask: none; }
.cms-feature-strip [data-icon]::after { content: ""; display: block; width: 20px; height: 20px; background: currentColor; mask: var(--icon-url) center / contain no-repeat; -webkit-mask: var(--icon-url) center / contain no-repeat; }
.cms-feature-strip li:nth-child(1) [data-icon] { background: #f8fafc; color: #1269f3; }
.cms-feature-strip li:nth-child(2) [data-icon] { background: #f8fafc; color: #16a34a; }
.cms-feature-strip li:nth-child(3) [data-icon] { background: #f8fafc; color: #ea580c; }
.cms-feature-strip li:nth-child(4) [data-icon] { background: #f8fafc; color: #9333ea; }
.cms-feature-strip strong { display: block; font-size: 15px; }
.cms-feature-strip p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.cms-footer { width: 100%; min-width: var(--container); margin: 0; background: #172033; color: #cbd5e1; }
.cms-footer .cms-container { padding: 30px 72px 18px; }
.cms-footer-main { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 42px; }
.cms-footer-brand strong { display: block; color: #fff; font-size: 20px; margin-bottom: 10px; }
.cms-footer-brand p { margin: 0; color: #94a3b8; line-height: 1.7; }
.cms-footer-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cms-footer-links li { display: grid; gap: 8px; }
.cms-footer-links strong { color: #fff; font-size: 15px; }
.cms-footer-links a { color: #cbd5e1; font-size: 13px; }
.cms-footer-links a:hover { color: #fff; }
.cms-copyright { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 12px; text-align: center; }
.cms-copyright a { display: inline-flex; align-items: center; color: #94a3b8; }
.cms-copyright a:hover { color: #fff; }
.cms-police-beian { gap: 6px; }
.cms-police-beian img { width: 18px; height: 18px; object-fit: contain; }
.about-footer { width: 100%; min-width: var(--container); margin: 36px 0 0; background: #172033; color: #cbd5e1; }
.about-footer-inner { display: grid; grid-template-columns: 300px repeat(4, minmax(0, 1fr)); gap: 30px; padding: 30px 72px 18px; }
.about-footer-brand img { width: 181px; height: 40px; margin-bottom: 12px; object-fit: contain; }
.about-footer-brand p { margin: 0; color: #94a3b8; font-size: 14px; line-height: 1.7; }
.about-footer nav, .about-qr-group { display: grid; align-content: start; gap: 8px; }
.about-footer h3 { margin: 0 0 4px; color: #fff; font-size: 15px; line-height: 1.4; }
.about-footer a { color: #cbd5e1; font-size: 13px; line-height: 1.5; }
.about-qr-group div, .about-qr-group p { display: flex; gap: 10px; margin: 0; }
.about-qr-group em { color: #94a3b8; font-size: 12px; font-style: normal; }
.fake-qr { display: block; width: 48px; height: 48px; border-radius: 6px; background: rgba(255,255,255,.12); }
.about-copyright { width: var(--inner); margin: 0 auto; padding: 16px 0 18px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 12px; text-align: center; }

/* Pager and utilities */
.pager,
.cms-pagination,
.search-pagination,
.pagination,
.pages,
.pagebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 72px;
  margin: 20px 0 0;
  padding: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1;
}
.pager a,
.pager span,
.pager em,
.pager strong,
.cms-pagination a,
.cms-pagination span,
.cms-pagination em,
.cms-pagination strong,
.search-pagination a,
.search-pagination span,
.search-pagination em,
.search-pagination strong,
.pagination a,
.pagination span,
.pagination em,
.pagination strong,
.pages a,
.pages span,
.pages em,
.pages strong,
.pagebar a,
.pagebar span,
.pagebar em,
.pagebar strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.pager a:hover,
.cms-pagination a:hover,
.search-pagination a:hover,
.pagination a:hover,
.pages a:hover,
.pagebar a:hover {
  border-color: #93c5fd;
  color: var(--blue);
}
.pager a.active,
.pager .active,
.pager li.active > a,
.pager .current,
.pager strong,
.cms-pagination a.active,
.cms-pagination .active,
.cms-pagination li.active > a,
.cms-pagination .current,
.cms-pagination strong,
.search-pagination a.active,
.search-pagination .active,
.search-pagination li.active > a,
.search-pagination .current,
.search-pagination strong,
.pagination a.active,
.pagination .active,
.pagination li.active > a,
.pagination .current,
.pagination strong,
.pages a.active,
.pages .active,
.pages li.active > a,
.pages .current,
.pages strong,
.pagebar a.active,
.pagebar .active,
.pagebar li.active > a,
.pagebar .current,
.pagebar strong {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}
.pager .pager-prev,
.pager .pager-next,
.cms-pagination .pager-prev,
.cms-pagination .pager-next { min-width: 42px; font-size: 20px; font-family: Arial, sans-serif; }
.pager .is-disabled,
.pager .disabled,
.pager [aria-disabled="true"],
.cms-pagination .is-disabled,
.cms-pagination .disabled,
.cms-pagination [aria-disabled="true"],
.search-pagination .disabled,
.pagination .disabled,
.pages .disabled,
.pagebar .disabled {
  pointer-events: none;
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #cbd5e1;
}
.pager .pager-ellipsis,
.cms-pagination .pager-ellipsis,
.search-pagination .pager-ellipsis,
.pagination .pager-ellipsis,
.pages .pager-ellipsis,
.pagebar .pager-ellipsis {
  min-width: 26px;
  padding: 0 2px;
  border-color: transparent;
  background: transparent;
  color: #94a3b8;
}
.pager .pager-jump,
.cms-pagination .pager-jump,
.search-pagination .pager-jump,
.pagination .pager-jump,
.pages .pager-jump,
.pagebar .pager-jump {
  gap: 8px;
  min-width: auto;
  padding: 0 0 0 8px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.pager input,
.cms-pagination input,
.search-pagination input,
.pagination input,
.pages input,
.pagebar input { width: 58px; height: 34px; border: 1px solid var(--line); border-radius: 6px; text-align: center; }
[data-icon],
.icon-slot {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
  background-color: currentColor;
  vertical-align: -3px;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}
.icon-slot::before,
.icon-slot::after { content: none; }
.download-card-icon.icon-slot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  mask: none;
  -webkit-mask: none;
}
.download-card-icon.icon-slot::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.member-commercial-page .member-input-shell > [data-icon],
.member-commercial-page .member-login-links [data-icon] {
  display: inline-block;
  width: 17px;
  height: 17px;
  color: #94a3b8;
  background-color: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.member-commercial-page .member-benefit-card li > [data-icon] {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8fafc;
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
}

.member-commercial-page .member-benefit-card li > [data-icon]::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.member-commercial-page .member-benefit-card li:nth-child(2) > [data-icon] { color: #059669; }
.member-commercial-page .member-benefit-card li:nth-child(3) > [data-icon] { color: #9333ea; }
.member-commercial-page .member-benefit-card li:nth-child(4) > [data-icon] { color: #ea580c; }
.mini-program-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(15, 23, 42, .45);
}
.mini-program-modal.is-open { display: flex; }
.mini-program-panel {
  position: relative;
  width: 360px;
  max-width: calc(100vw - 48px);
  padding: 28px 30px 26px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .24);
  text-align: center;
}
.mini-program-panel h2 { margin: 0 0 18px; color: #111827; font-size: 22px; line-height: 1.35; }
.mini-program-panel img {
  display: block;
  width: 196px;
  height: 196px;
  object-fit: contain;
  margin: 0 auto 16px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fafafa;
}
.mini-program-panel p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.mini-program-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 22px;
  line-height: 32px;
  cursor: pointer;
}
.mini-program-close:hover { background: #e2e8f0; color: #0f172a; }
.member-login-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.member-login-modal.is-open { display: flex; }
.member-login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .42);
}
.member-login-modal-panel {
  position: relative;
  width: min(100%, 392px);
  padding: 24px 24px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
  animation: memberModalIn .18s ease-out;
}
.member-login-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
}
.member-login-modal-close:hover { background: #eef2f7; color: #0f172a; }
.member-login-modal-close:focus-visible,
.member-login-modal-form input:focus-visible,
.member-code-row button:focus-visible,
.member-login-modal-form .member-primary-action:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}
.member-login-modal-head {
  padding-right: 36px;
  margin-bottom: 20px;
}
.member-login-modal-head h2 { margin: 0; color: #0f172a; font-size: 22px; line-height: 1.35; }
.member-login-modal-head p { margin: 6px 0 0; color: #64748b; font-size: 14px; line-height: 1.6; }
.member-login-modal-form { display: grid; gap: 14px; }
.member-login-modal-form .member-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}
.member-login-modal-form .member-field-label {
  display: block;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.member-login-modal-form .member-field small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.member-login-modal-form .member-input-shell {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
}
.member-login-modal-form .member-input-shell > [data-icon] {
  display: block;
  justify-self: center;
  width: 17px;
  height: 17px;
  color: #94a3b8;
  background-color: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}
.member-login-modal-form .member-input-shell:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
.member-login-modal-form .member-input-shell input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 15px;
  line-height: 42px;
}
.member-login-modal-form .member-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  align-items: stretch;
}
.member-login-modal-form .member-code-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.member-login-modal-form .member-code-row button:hover { background: #dbeafe; }
.member-login-modal-form .member-code-row button:disabled,
.member-login-modal-form button:disabled { cursor: not-allowed; opacity: .68; }
.member-login-modal-form .member-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}
.member-login-modal-form .member-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--blue);
}
.member-login-modal-form .member-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 18px;
  margin-top: 2px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.member-login-modal-form .member-primary-action:hover { background: #0f5ed8; }
.member-login-modal-form .member-login-message {
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}
.member-login-modal-form .member-login-message[hidden] { display: none; }
.member-login-modal-form .member-login-message[data-state="success"] {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #047857;
}
.member-login-modal-form .member-login-message[data-state="error"] {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}
.member-login-modal-open { overflow: hidden; }
@keyframes memberModalIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .member-login-modal-panel { animation: none; }
}
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: none; max-width: 320px; padding: 12px 16px; border-radius: 8px; background: #172033; color: #fff; box-shadow: 0 12px 28px rgba(15,23,42,.2); }
.toast.show { display: block; }

/* Error and simple redirect pages */
.page-error main, .page-article-redirect main, .page-reexam-announcement main { width: var(--container); margin: 0 auto 24px; padding: 24px 34px 0; }
.page-error .inner-card, .page-article-redirect .inner-card { padding: 32px; }
