/* 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;
}

/* School detail legacy route: keep spacing readable and prevent wide score tables from breaking layout. */
.page-school-library .school-detail-main {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto 28px;
  padding: 24px var(--page-gutter) 0;
}

.page-school-library .school-detail-main .breadcrumb {
  width: min(100%, 1160px);
  margin: 0 auto 14px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.page-school-library .school-detail-main .school-profile-hero,
.page-school-library .school-detail-main .detail-layout {
  width: min(100%, 1160px);
  margin-right: auto;
  margin-left: auto;
}

.page-school-library .school-detail-main .school-profile-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 22px;
  margin-bottom: 20px;
  padding: 28px 30px;
}

.page-school-library .school-detail-main .school-profile-hero h1 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.page-school-library .school-detail-main .school-profile-hero p {
  margin-bottom: 14px;
  color: #536274;
  line-height: 1.65;
}

.page-school-library .school-detail-main .school-profile-stats span {
  min-height: 104px;
}

.page-school-library .school-detail-main .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.page-school-library .school-detail-main .article-detail-main,
.page-school-library .school-detail-main .detail-sidebar {
  min-width: 0;
}

.page-school-library .school-detail-main .article-detail-main > .article-body {
  padding: 26px 30px 30px;
}

.page-school-library .school-detail-main .article-body {
  color: #243145;
  font-size: 15px;
  line-height: 1.82;
}

.page-school-library .school-detail-main .article-body h2 {
  margin: 28px 0 14px;
  padding-top: 4px;
  color: #172033;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 850;
}

.page-school-library .school-detail-main .article-body h2:first-child {
  margin-top: 0;
}

.page-school-library .school-detail-main .detail-data-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
  border: 0;
  background: transparent;
}

.page-school-library .school-detail-main .detail-data-list li {
  display: grid;
  grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid #e1ebf6;
  border-radius: 8px;
  background: #f8fbff;
}

.page-school-library .school-detail-main .detail-data-list span {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.page-school-library .school-detail-main .detail-data-list strong {
  min-width: 0;
  color: #172033;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) li {
  min-width: 0;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: #f8fbff;
  color: #1269f3;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) a:hover {
  border-color: rgba(18, 105, 243, .32);
  background: #eef6ff;
}

.page-school-library .school-detail-main .article-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 26px;
  overflow-x: auto;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.page-school-library .school-detail-main .article-body tbody {
  display: table;
  min-width: 980px;
  width: 100%;
  border-collapse: collapse;
}

.page-school-library .school-detail-main .article-body th,
.page-school-library .school-detail-main .article-body td {
  padding: 10px 12px;
  border: 1px solid #e5edf7;
  color: #26364a;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.page-school-library .school-detail-main .article-body th {
  background: #f3f7fc;
  color: #172033;
  font-weight: 850;
}

.page-school-library .school-detail-main .article-body td[rowspan] {
  min-width: 260px;
  color: #4f5f72;
  font-size: 12px;
  line-height: 1.65;
}

.page-school-library .school-detail-main .detail-sidebar {
  display: grid;
  gap: 18px;
}

@media (max-width: 1180px) {
  .page-school-library .school-detail-main .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-library .school-detail-main .detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-school-library .school-detail-main {
    padding-top: 16px;
  }

  .page-school-library .school-detail-main .school-profile-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .page-school-library .school-detail-main .school-profile-stats,
  .page-school-library .school-detail-main .detail-data-list,
  .page-school-library .school-detail-main .detail-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-library .school-detail-main .article-detail-main > .article-body {
    padding: 22px;
  }

  .page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Final article attachment override - 2026-06-13 */
.article-detail-main .article-downloads {
  margin: 26px 30px 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e5edf6 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article-detail-main .article-downloads-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 0 !important;
}

.article-detail-main .article-downloads-head h2 {
  position: relative !important;
  margin: 0 !important;
  padding-left: 12px !important;
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.article-detail-main .article-downloads-head h2::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 4px !important;
  width: 4px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: #1269f3 !important;
}

.article-detail-main .article-downloads-head p {
  max-width: 430px !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  text-align: right !important;
}

.article-detail-main .article-download-list {
  display: grid !important;
  gap: 10px !important;
}

.article-detail-main .article-attachment-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 128px !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 96px !important;
  padding: 14px 16px !important;
  border: 1px solid #dbe6f3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.article-detail-main .article-attachment-item:hover {
  border-color: #b9d4ff !important;
  background: #fbfdff !important;
}

.article-detail-main .article-attachment-item .attachment-icon {
  width: 34px !important;
  height: 42px !important;
  border: 1px solid #bfd7ff !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
  color: #1269f3 !important;
}

.article-detail-main .article-attachment-item .attachment-icon[data-icon]::after {
  width: 19px !important;
  height: 19px !important;
  background: currentColor !important;
}

.article-detail-main .article-attachment-item strong {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

.article-detail-main .article-attachment-item p {
  margin: 5px 0 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.article-detail-main .attachment-meta {
  gap: 6px !important;
  margin-top: 9px !important;
}

.article-detail-main .attachment-meta span {
  display: inline-flex !important;
  align-items: center !important;
  height: 23px !important;
  padding: 0 8px !important;
  border: 1px solid #dce7f3 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
}

.article-detail-main .article-download-actions {
  display: grid !important;
  gap: 8px !important;
  justify-self: stretch !important;
}

.article-detail-main .article-attachment-item button[data-download-resource],
.article-detail-main .article-download-actions button[data-save-resource] {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 34px !important;
}

.article-detail-main .article-attachment-item button[data-download-resource] {
  border: 1px solid #1269f3 !important;
  background: #1269f3 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.article-detail-main .article-download-actions button[data-save-resource] {
  border: 1px solid #d4e0ee !important;
  background: #fff !important;
  color: #1269f3 !important;
}

.article-detail-main > .article-share-row {
  margin: 16px 30px 0 !important;
  padding: 14px 0 16px !important;
  border-top: 1px solid #e5edf6 !important;
  border-bottom: 1px solid #e5edf6 !important;
}

@media (max-width: 860px) {
  .article-detail-main .article-downloads {
    margin-right: 20px !important;
    margin-left: 20px !important;
  }

  .article-detail-main .article-downloads-head {
    display: block !important;
  }

  .article-detail-main .article-downloads-head p {
    max-width: none !important;
    margin-top: 6px !important;
    text-align: left !important;
  }

  .article-detail-main .article-attachment-item {
    grid-template-columns: 40px minmax(0, 1fr) !important;
  }

  .article-detail-main .article-download-actions {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final article attachment override - 2026-06-13 */
.article-detail-main .article-downloads {
  margin: 26px 30px 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e5edf6 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article-detail-main .article-downloads-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 0 !important;
}

.article-detail-main .article-downloads-head h2 {
  position: relative !important;
  margin: 0 !important;
  padding-left: 12px !important;
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.article-detail-main .article-downloads-head h2::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 4px !important;
  width: 4px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: #1269f3 !important;
}

.article-detail-main .article-downloads-head p {
  max-width: 430px !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  text-align: right !important;
}

.article-detail-main .article-download-list {
  display: grid !important;
  gap: 10px !important;
}

.article-detail-main .article-attachment-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 128px !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 96px !important;
  padding: 14px 16px !important;
  border: 1px solid #dbe6f3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.article-detail-main .article-attachment-item:hover {
  border-color: #b9d4ff !important;
  background: #fbfdff !important;
}

.article-detail-main .article-attachment-item .attachment-icon {
  width: 34px !important;
  height: 42px !important;
  border: 1px solid #bfd7ff !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
  color: #1269f3 !important;
}

.article-detail-main .article-attachment-item .attachment-icon[data-icon]::after {
  width: 19px !important;
  height: 19px !important;
  background: currentColor !important;
}

.article-detail-main .article-attachment-item strong {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

.article-detail-main .article-attachment-item p {
  margin: 5px 0 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.article-detail-main .attachment-meta {
  gap: 6px !important;
  margin-top: 9px !important;
}

.article-detail-main .attachment-meta span {
  display: inline-flex !important;
  align-items: center !important;
  height: 23px !important;
  padding: 0 8px !important;
  border: 1px solid #dce7f3 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
}

.article-detail-main .article-download-actions {
  display: grid !important;
  gap: 8px !important;
  justify-self: stretch !important;
}

.article-detail-main .article-attachment-item button[data-download-resource],
.article-detail-main .article-download-actions button[data-save-resource] {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 34px !important;
}

.article-detail-main .article-attachment-item button[data-download-resource] {
  border: 1px solid #1269f3 !important;
  background: #1269f3 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.article-detail-main .article-download-actions button[data-save-resource] {
  border: 1px solid #d4e0ee !important;
  background: #fff !important;
  color: #1269f3 !important;
}

.article-detail-main > .article-share-row {
  margin: 16px 30px 0 !important;
  padding: 14px 0 16px !important;
  border-top: 1px solid #e5edf6 !important;
  border-bottom: 1px solid #e5edf6 !important;
}

@media (max-width: 860px) {
  .article-detail-main .article-downloads {
    margin-right: 20px !important;
    margin-left: 20px !important;
  }

  .article-detail-main .article-downloads-head {
    display: block !important;
  }

  .article-detail-main .article-downloads-head p {
    max-width: none !important;
    margin-top: 6px !important;
    text-align: left !important;
  }

  .article-detail-main .article-attachment-item {
    grid-template-columns: 40px minmax(0, 1fr) !important;
  }

  .article-detail-main .article-download-actions {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Final article attachment override - keep this block at the end */
.article-detail-main .article-downloads {
  margin: 26px 30px 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e5edf6 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article-detail-main .article-downloads-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 0 !important;
}

.article-detail-main .article-downloads-head h2 {
  position: relative !important;
  margin: 0 !important;
  padding-left: 12px !important;
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.article-detail-main .article-downloads-head h2::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 4px !important;
  width: 4px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: #1269f3 !important;
}

.article-detail-main .article-downloads-head p {
  max-width: 430px !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  text-align: right !important;
}

.article-detail-main .article-download-list {
  display: grid !important;
  gap: 10px !important;
}

.article-detail-main .article-attachment-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 128px !important;
  gap: 14px !important;
  align-items: center !important;
  min-height: 96px !important;
  padding: 14px 16px !important;
  border: 1px solid #dbe6f3 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.article-detail-main .article-attachment-item:hover {
  border-color: #b9d4ff !important;
  background: #fbfdff !important;
}

.article-detail-main .article-attachment-item .attachment-icon {
  width: 34px !important;
  height: 42px !important;
  border: 1px solid #bfd7ff !important;
  border-radius: 7px !important;
  background: #f8fbff !important;
  color: #1269f3 !important;
}

.article-detail-main .article-attachment-item .attachment-icon[data-icon]::after {
  width: 19px !important;
  height: 19px !important;
  background: currentColor !important;
}

.article-detail-main .article-attachment-item strong {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

.article-detail-main .article-attachment-item p {
  margin: 5px 0 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.article-detail-main .attachment-meta {
  gap: 6px !important;
  margin-top: 9px !important;
}

.article-detail-main .attachment-meta span {
  display: inline-flex !important;
  align-items: center !important;
  height: 23px !important;
  padding: 0 8px !important;
  border: 1px solid #dce7f3 !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  line-height: 21px !important;
  font-weight: 700 !important;
}

.article-detail-main .article-download-actions {
  display: grid !important;
  gap: 8px !important;
  justify-self: stretch !important;
}

.article-detail-main .article-attachment-item button[data-download-resource],
.article-detail-main .article-download-actions button[data-save-resource] {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 34px !important;
}

.article-detail-main .article-attachment-item button[data-download-resource] {
  border: 1px solid #1269f3 !important;
  background: #1269f3 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.article-detail-main .article-download-actions button[data-save-resource] {
  border: 1px solid #d4e0ee !important;
  background: #fff !important;
  color: #1269f3 !important;
}

.article-detail-main > .article-share-row {
  margin: 16px 30px 0 !important;
  padding: 14px 0 16px !important;
  border-top: 1px solid #e5edf6 !important;
  border-bottom: 1px solid #e5edf6 !important;
}

@media (max-width: 860px) {
  .article-detail-main .article-downloads {
    margin-right: 20px !important;
    margin-left: 20px !important;
  }

  .article-detail-main .article-downloads-head {
    display: block !important;
  }

  .article-detail-main .article-downloads-head p {
    max-width: none !important;
    margin-top: 6px !important;
    text-align: left !important;
  }

  .article-detail-main .article-attachment-item {
    grid-template-columns: 40px minmax(0, 1fr) !important;
  }

  .article-detail-main .article-download-actions {
    grid-column: 1 / -1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Article attachment module polish - 2026-06-13 */
.article-detail-main .article-downloads {
  margin: 26px 30px 0;
  padding: 18px 0 0;
  border-top: 1px solid #e5edf6;
  background: transparent;
}

.article-detail-main .article-downloads-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 0;
}

.article-detail-main .article-downloads-head h2 {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.article-detail-main .article-downloads-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: #1269f3;
}

.article-detail-main .article-downloads-head p {
  max-width: 430px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.article-detail-main .article-download-list {
  display: grid;
  gap: 10px;
}

.article-detail-main .article-attachment-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 128px;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.article-detail-main .article-attachment-item:hover {
  border-color: #b9d4ff;
  background: #fbfdff;
}

.article-detail-main .article-attachment-item .attachment-icon {
  width: 34px;
  height: 42px;
  border: 1px solid #bfd7ff;
  border-radius: 7px;
  background: #f8fbff;
  color: #1269f3;
}

.article-detail-main .article-attachment-item .attachment-icon[data-icon]::after {
  width: 19px;
  height: 19px;
  background: currentColor;
}

.article-detail-main .article-attachment-item strong {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.article-detail-main .article-attachment-item p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.article-detail-main .attachment-meta {
  gap: 6px;
  margin-top: 9px;
}

.article-detail-main .attachment-meta span {
  height: 23px;
  padding: 0 8px;
  border-color: #dce7f3;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 21px;
  font-weight: 700;
}

.article-detail-main .article-download-actions {
  display: grid;
  gap: 8px;
  justify-self: stretch;
}

.article-detail-main .article-attachment-item button[data-download-resource],
.article-detail-main .article-download-actions button[data-save-resource] {
  width: 100%;
  min-width: 0;
  height: 36px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 34px;
}

.article-detail-main .article-attachment-item button[data-download-resource] {
  border-color: #1269f3;
  background: #1269f3;
  box-shadow: none;
}

.article-detail-main .article-download-actions button[data-save-resource] {
  border: 1px solid #d4e0ee;
  background: #fff;
  color: #1269f3;
}

.article-detail-main > .article-share-row {
  margin: 16px 30px 0;
  padding: 14px 0 16px;
  border-top: 1px solid #e5edf6;
  border-bottom: 1px solid #e5edf6;
}

@media (max-width: 860px) {
  .article-detail-main .article-downloads {
    margin-right: 20px;
    margin-left: 20px;
  }

  .article-detail-main .article-downloads-head {
    display: block;
  }

  .article-detail-main .article-downloads-head p {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .article-detail-main .article-attachment-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .article-detail-main .article-download-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.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; }

/* School library */
.school-list-panel, .major-list-section, .search-results-panel, .download-content { width: var(--inner); margin: 0 auto; padding: 24px; border-radius: 0 0 8px 8px; border-top: 0; background: #fff; }
.school-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.result-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; min-width: 0; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; color: var(--text); }
.school-card-icon, .school-card-logo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; background: #f8fafc; color: var(--blue); mask: none; -webkit-mask: none; overflow: hidden; }
.school-card-icon::after { content: ""; display: block; width: 34px; height: 34px; background: currentColor; mask: var(--icon-url) center / contain no-repeat; -webkit-mask: var(--icon-url) center / contain no-repeat; }
.school-card-logo { background: #fff; border: 1px solid var(--line-soft); }
.school-card-logo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.page-school-library .school-card-icon {
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.page-school-library .school-card-icon::after {
  width: 38px;
  height: 38px;
  background: url("/favicon-32x32.png?v=20260613-icon1") center / contain no-repeat;
  mask: none;
  -webkit-mask: none;
}
.school-card-body { min-width: 0; }
.result-item h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; font-weight: 800; }
.result-item p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #475569; font-size: 13px; clear: both; }
.result-meta span:last-child, .major-table td a { color: var(--blue); font-weight: 800; }

/* Search results */
.search-results-panel { padding: 0; }
.search-result-grid { display: grid; gap: 12px; padding: 20px 24px 24px; }
.search-result-empty, .content-empty.static-search-empty { display: grid; gap: 10px; min-height: 180px; align-content: center; padding: 28px; border: 1px dashed #d7dde6; border-radius: 8px; background: #fafafa; }
.search-result-empty strong, .content-empty.static-search-empty strong { color: #111827; font-size: 20px; line-height: 1.4; font-weight: 800; }
.search-result-empty p, .content-empty.static-search-empty p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.search-result-empty div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.search-result-empty a { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border: 1px solid #cfd8e3; border-radius: 8px; background: #fff; color: var(--blue); font-size: 14px; line-height: 32px; font-weight: 800; }
.search-result-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px 18px; min-height: 112px; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; color: var(--text); }
.search-result-card > span { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line-soft); border-radius: 999px; background: #fff; color: var(--blue); font-size: 13px; font-weight: 800; }
.search-result-card strong { grid-column: 1; min-width: 0; color: #111827; font-size: 18px; line-height: 1.45; font-weight: 800; }
.search-result-card p { grid-column: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.search-result-card div { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.search-result-card em { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--line-soft); border-radius: 999px; background: #fafafa; color: #475569; font-size: 12px; font-style: normal; font-weight: 700; }
.search-result-card b { grid-column: 2; grid-row: 2 / span 3; align-self: center; justify-self: end; color: var(--muted); font-size: 13px; font-weight: 700; }

/* Major table */
.major-list-head { min-height: 48px; margin-bottom: 16px; padding: 0 0 14px; }
.major-sort-menu, .school-sort-menu { position: relative; }
.major-sort-menu summary { cursor: pointer; color: #475569; }
.major-sort-menu > div, .school-sort-menu > div { position: absolute; right: 0; z-index: 5; display: none; min-width: 220px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
.major-sort-menu[open] > div, .school-sort-menu[open] > div { display: grid; gap: 6px; }
.major-sort-menu button, .school-sort-menu button { height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #334155; }
.major-sort-menu button.active, .school-sort-menu button.active { border-color: var(--blue); background: #fff; color: var(--blue); font-weight: 800; }
.major-table-wrap { width: 100%; overflow: visible; }
.major-table { width: 100%; border-collapse: collapse; background: #fff; }
.major-table th, .major-table td { height: 48px; padding: 0 14px; border: 1px solid var(--line-soft); color: #26364a; font-size: 14px; text-align: left; }
.major-table th { background: #f8fafc; color: #0f172a; font-weight: 800; }
.degree { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-style: normal; font-weight: 700; }
.degree.academic { color: #047857; background: #ecfdf5; }
.degree.professional { color: #7c3aed; background: #f5f3ff; }
.major-table [data-icon] { width: 16px; height: 16px; margin-right: 8px; color: #9333ea; }

/* Download page */
.downloads-main { width: var(--container); margin: 0 auto 24px; padding: 24px 34px 0; }
.download-hero { display: block; width: var(--inner); min-height: 124px; margin: 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: #fff; }
.download-hero-inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 24px; min-height: 124px; padding: 24px 28px; }
.download-copy { grid-column: 1 / -1; }
.download-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.download-search { position: relative; width: 280px; height: 36px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; }
.download-search [data-icon] { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #94a3b8; }
.download-search input { padding-left: 34px; }
.download-result-summary { margin: 0 24px 14px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; color: #334155; font-size: 14px; font-weight: 700; }
.download-grid { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 24px; }
.download-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) 116px 88px; align-items: center; column-gap: 16px; min-height: 112px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.download-card:last-child { border-bottom: 0; }
.download-card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #f8fafc; color: var(--blue); }
.download-card > div { grid-column: 2; min-width: 0; }
.download-card strong { display: block; margin: 0 0 8px; font-size: 17px; line-height: 1.35; font-weight: 800; }
.download-card p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.download-card em { display: inline-flex; align-items: center; height: 22px; margin-right: 6px; padding: 0 8px; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); background: #fafafa; font-size: 12px; font-style: normal; font-weight: 700; }
.download-card button, .download-card .collect-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.download-card button[data-download-resource] { grid-column: 3; border: 1px solid var(--blue); color: #fff; background: var(--blue); }
.download-card button[data-save-resource], .download-card .collect-link { grid-column: 4; border: 1px solid var(--line); color: #334155; background: #fff; }
.download-card a.collect-link { display: none; }
.download-card button [data-icon] { width: 15px; height: 15px; color: currentColor; }
.download-pager { margin: 20px 24px 28px; }

/* Column/article/detail pages */
.category-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 22px 24px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.summary-stat { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.summary-stat strong { color: var(--blue); font-size: 22px; }
.summary-stat span { color: var(--muted); font-size: 13px; }
.content-list, .file-list, .hot-news-card ol, .related-reading-list { list-style: none; margin: 0; padding: 0; }
.content-list li { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 16px; min-height: 96px; padding: 18px 24px; border-bottom: 1px solid var(--line-soft); }
.content-list li:last-child { border-bottom: 0; }
.file-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 96px; gap: 12px; align-items: center; min-height: 50px; padding: 0 24px; border-bottom: 1px solid var(--line-soft); }
.file-list li:last-child { border-bottom: 0; }
.file-list i, .file-list [data-icon] { width: 18px; height: 18px; color: var(--blue); font-style: normal; }
.file-list a { overflow: hidden; color: #1f2937; font-size: 15px; line-height: 1.5; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.file-list li > span { color: var(--muted); font-size: 13px; text-align: right; }
.file-list .list-empty-row, .content-list .list-empty-row { display: block; min-height: 0; padding: 18px 24px 24px; border-bottom: 0; }
.file-list .list-empty-row .search-result-empty, .content-list .list-empty-row .search-result-empty { min-height: 150px; }
.content-list a {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content-list .title_color {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content-list .list-label { margin-right: 10px; vertical-align: 1px; }
.content-list p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.content-list time { color: var(--muted); font-size: 13px; text-align: right; }
.article { padding: 28px 30px 32px; }
.article h1 { margin: 0 0 14px; color: #111827; font-size: 28px; line-height: 1.38; font-weight: 800; letter-spacing: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.article-summary, .notice-box { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; color: #475569; font-size: 14px; line-height: 1.8; }
.cms-enhance-notice { position: fixed; top: 82px; right: 24px; z-index: 9999; display: flex; align-items: center; gap: 12px; max-width: min(420px, calc(100vw - 32px)); padding: 12px 14px; border: 1px solid #dbe7f3; border-radius: 8px; background: #fff; color: #102033; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); font-size: 14px; line-height: 1.5; }
.cms-enhance-notice span { min-width: 0; }
.cms-enhance-notice a { flex: 0 0 auto; color: var(--blue); font-weight: 700; }
.cms-enhance-copy-url { flex: 1 1 180px; min-width: 180px; height: 32px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 6px; color: #1e293b; font-size: 13px; }
.cms-enhance-notice button { flex: 0 0 auto; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #f1f5f9; color: #64748b; font-size: 16px; line-height: 24px; cursor: pointer; }
.cms-enhance-notice.is-success { border-color: #bfe6d1; color: #0f5132; }
.cms-enhance-notice.is-warning { border-color: #fed7aa; color: #7c2d12; }
.cms-enhance-notice.is-error { border-color: #fecaca; color: #7f1d1d; }
.article-actions, .article-footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.article-share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 16px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.article-actions a, .article-actions button, .collect-link, .share-tools button { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 64px; padding: 0 14px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; color: #334155; font-size: 14px; line-height: 32px; font-weight: 700; }
.article-actions a:first-child, .collect-link { border-color: var(--line); background: #fff; color: var(--blue); }
.collect-link.is-saved { border-color: #b7d3ff; background: #eff6ff; color: var(--blue); }
.share-tools { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.share-tools button { min-width: 38px; width: 38px; padding: 0; }
.share-tools button [data-icon] { margin: 0; }
.share-tools [data-icon], .collect-link [data-icon] { display: inline-block; width: 15px; height: 15px; color: currentColor; }
.collect-link { gap: 6px; }
.collect-link [data-icon] { margin-right: 0; }
.collect-link em { font-style: normal; }
.article-body { color: #243145; font-size: 16px; line-height: 1.95; }
.article-body p { margin: 0 0 18px; }
.article-body h2 { margin: 30px 0 14px; font-size: 22px; line-height: 1.4; }
.article-body .detail-data-list { margin: 0 0 18px; padding: 0; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; background: #fff; }
.article-body .detail-data-list li { padding: 12px 16px; }
.article-body .detail-field-list { margin: 0 0 18px; }
.detail-info-list a { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--blue); font-size: 13px; line-height: 28px; font-weight: 800; white-space: nowrap; }
.detail-hero { width: auto; margin: 0 0 18px; border-radius: 8px; }
.detail-title { grid-column: 1 / 3; }
.detail-stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.detail-stat span { display: grid; gap: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.detail-stat strong { color: var(--blue); font-size: 18px; line-height: 1.2; }
.inner-layout > article { display: grid; gap: 18px; min-width: 0; }
.inner-card > p { margin: 0; padding: 20px 24px; color: #334155; font-size: 16px; line-height: 1.8; }
.inner-card > a { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-width: 96px; height: 34px; margin: 0 24px 20px; padding: 0 14px; border: 1px solid #cfd8e3; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 800; }
.data-list { display: grid; gap: 0; margin: 0; padding: 8px 24px 18px; list-style: none; }
.data-list p, .data-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; min-height: 40px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: #334155; line-height: 1.6; }
.data-list li:last-child { border-bottom: 0; }
.data-list span { color: var(--muted); }
.data-list strong { font-weight: 700; }
.inner-card .side-links { padding: 14px 24px 18px; }
.inner-card .side-links strong { display: block; margin-bottom: 10px; font-size: 16px; }
.inner-card .side-links span { display: inline-flex; align-items: center; height: 30px; margin: 0 8px 8px 0; padding: 0 12px; border: 1px solid var(--line-soft); border-radius: 999px; background: #fafafa; color: #334155; font-size: 13px; font-weight: 700; }
.side-card { padding-bottom: 14px; }
.page-column-list .rich-sidebar { gap: 16px; }
.page-column-list .rich-sidebar .side-card { padding-bottom: 12px; overflow: hidden; }
.page-column-list .rich-sidebar .side-card > h3 { min-height: 56px; padding: 16px 20px; font-size: 20px; }
.page-column-list .side-tool-grid { gap: 10px; padding: 14px; }
.page-column-list .side-tool-grid a { grid-template-rows: 32px auto; min-height: 74px; gap: 6px; }
.page-column-list .side-tool-grid [data-icon] { width: 32px; height: 32px; }
.page-column-list .side-tool-grid [data-icon]::after { width: 17px; height: 17px; }
.phpcms-page .detail-sidebar { gap: 16px; }
.phpcms-page .detail-sidebar .side-card { padding-bottom: 12px; overflow: hidden; }
.phpcms-page .detail-sidebar .side-card > h3,
.phpcms-page .detail-sidebar .side-card-head { min-height: 56px; padding: 16px 20px; }
.phpcms-page .detail-sidebar .side-card > h3,
.phpcms-page .detail-sidebar .side-card-head h3 { font-size: 20px; }
.phpcms-page .detail-sidebar .side-tool-grid { gap: 10px; padding: 14px; }
.phpcms-page .detail-sidebar .side-tool-grid a { grid-template-rows: 32px auto; min-height: 74px; gap: 6px; }
.phpcms-page .detail-sidebar .side-tool-grid [data-icon] { width: 32px; height: 32px; }
.phpcms-page .detail-sidebar .side-tool-grid [data-icon]::after { width: 17px; height: 17px; }
.page-column-list .side-links,
.page-column-list .side-links-dense { padding: 6px 16px 10px; }
.page-column-list .side-links a { min-height: 36px; font-size: 14px; }
.page-column-list .side-links a span { min-width: 34px; text-align: right; color: #64748b; font-weight: 700; }
.page-column-list .side-links a.is-active span { color: var(--blue); }
.page-column-list .side-category-card .side-group { display: grid; gap: 0; margin: 4px 0; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); border-radius: 0 8px 8px 0; background: #fafafa; }
.page-column-list .side-category-card .side-group a { min-height: 32px; padding-right: 10px; border-bottom: 0; font-size: 13px; }
.page-column-list .side-category-card .side-group > a:first-child { min-height: 36px; color: var(--blue); font-size: 14px; font-weight: 800; }
.side-material-banner { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #0f172a; }
.side-material-banner strong { font-size: 18px; line-height: 1.35; }
.side-material-banner span { color: #64748b; font-size: 13px; line-height: 1.6; }
.side-material-banner b { display: inline-flex; align-items: center; justify-content: center; width: max-content; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 13px; line-height: 30px; }
.hot-news-card ol { display: grid; gap: 0; padding: 8px 16px 12px; }
.hot-news-card li { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: center; min-height: 38px; border-bottom: 1px solid var(--line-soft); color: #334155; }
.hot-news-card li:last-child { border-bottom: 0; }
.hot-news-card li a { overflow: hidden; color: #334155; font-size: 14px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.hot-news-card li time { color: #64748b; font-size: 12px; text-align: right; }
.hot-news-empty { display: flex !important; align-items: center; min-height: 42px; color: var(--muted); font-size: 14px; }
.side-card > p { margin: 0; padding: 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.article-toc > a { display: flex; align-items: center; min-height: 38px; margin: 0 16px; border-bottom: 1px solid var(--line-soft); color: #334155; font-size: 14px; font-weight: 700; }
.article-toc > a:last-child { border-bottom: 0; }
.side-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; }
.side-tool-grid a { display: grid; grid-template-rows: 34px auto; place-items: center; gap: 8px; min-height: 86px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #334155; font-weight: 800; }
.side-tool-grid [data-icon] { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f8fafc; color: #1269f3; mask: none; -webkit-mask: none; }
.side-tool-grid [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; }
.side-tool-grid a:nth-child(1) [data-icon] { background: #f8fafc; color: #1269f3; }
.side-tool-grid a:nth-child(2) [data-icon] { background: #f8fafc; color: #dc2626; }
.side-tool-grid a:nth-child(3) [data-icon] { background: #f8fafc; color: #db2777; }
.side-tool-grid a:nth-child(4) [data-icon] { background: #f8fafc; color: #0e7490; }
.side-links, .side-links-dense { display: grid; gap: 0; padding: 8px 16px 12px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; min-height: 38px; border-bottom: 1px solid var(--line-soft); color: #334155; font-size: 14px; }
.side-links a:last-child { border-bottom: 0; }
.side-links a.is-active { color: var(--blue); font-weight: 800; }

/* Download detail pages */
.detail-main { width: var(--container); max-width: none; margin: 0 auto 24px; padding: 24px 34px 0; }
.detail-layout { display: grid; grid-template-columns: var(--left) var(--side); gap: 24px; align-items: start; width: var(--inner); margin: 0 auto; }
.article-detail-main { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.article-detail-main > h1 { margin: 0; padding: 28px 30px 12px; color: #111827; font-size: 28px; line-height: 1.38; font-weight: 800; letter-spacing: 0; }
.article-detail-main > .article-meta { margin: 0; padding: 0 30px 18px; border-bottom: 1px solid var(--line-soft); }
.article-detail-main > .article-summary { margin: 18px 30px 0; }
.article-detail-main > .article-body { padding: 22px 30px 12px; }
.article-detail-main > .article-share-row,
.article-detail-main > .article-footer-actions,
.article-detail-main > .article-navigation { margin: 0 30px; }
.article-detail-main > .related-reading { margin-top: 0; }
.detail-main .article-head { display: block; width: auto; min-height: 0; margin: 0; padding: 28px 30px 22px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 8px 8px 0 0; background: #fff; }
.article-label { display: inline-flex; align-items: center; height: 28px; margin-bottom: 14px; padding: 0 12px; border: 1px solid #cfd8e3; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 800; }
.detail-main .article-head h1 { display: block; margin: 0 0 12px; color: #111827; font-size: 28px; line-height: 1.38; font-weight: 800; white-space: normal; }
.detail-main .article-head h1::before { display: none; }
.detail-main .article-body { padding: 22px 30px; }
.down-msg { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fafafa; }
.down-msg ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.down-msg li { color: #334155; font-size: 14px; line-height: 1.6; }
.related-reading { padding: 22px 30px 30px; border-top: 1px solid var(--line-soft); }
.related-reading h2 { margin: 0 0 14px; color: #111827; font-size: 22px; line-height: 1.4; }
.related-reading-list { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.related-reading-item { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; align-items: center; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); }
.related-reading-item:last-child { border-bottom: 0; }
.related-reading-item a { display: block; overflow: hidden; min-width: 0; color: #334155; font-size: 15px; line-height: 1.5; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.related-reading-item time { color: var(--muted); font-size: 13px; font-weight: 500; text-align: right; white-space: nowrap; }
.related-reading-empty { display: flex; align-items: center; min-height: 46px; padding: 0 16px; color: var(--muted); font-size: 14px; }
.major-detail-main .detail-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}
.major-detail-main .major-profile-hero {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
  min-height: 174px;
  border-radius: 8px;
}
.major-detail-main .article-detail-main,
.major-detail-main .detail-sidebar {
  min-width: 0;
}
.major-detail-main .major-profile-hero > div:first-child {
  display: grid;
  align-content: center;
  min-width: 0;
}
.major-detail-main .major-profile-hero h1 {
  white-space: normal;
}
.major-detail-main .school-profile-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: stretch;
}
.major-detail-main .school-profile-stats span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-content: center;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fbff;
}
.major-detail-main .school-profile-stats strong,
.major-detail-main .school-profile-stats em {
  overflow-wrap: anywhere;
  text-align: left;
}
.major-detail-main .school-profile-stats strong {
  color: var(--blue);
  font-size: 17px;
  line-height: 1.25;
}
.major-detail-main .school-profile-stats em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.school-detail-main .school-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 20px;
  padding: 28px 30px;
}
.school-detail-main .school-profile-hero > div:first-child {
  display: grid;
  align-content: center;
  min-width: 0;
}
.school-detail-main .school-profile-hero h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.32;
  font-weight: 800;
}
.school-detail-main .school-profile-hero p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.school-detail-main .school-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}
.school-detail-main .school-profile-stats span {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 104px;
  padding: 16px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f8fbff;
}
.school-detail-main .school-profile-stats strong {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}
.school-detail-main .school-profile-stats em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}
.school-detail-main .detail-data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.school-detail-main .detail-data-list li {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfdff;
}
.school-detail-main .detail-data-list span {
  color: var(--muted);
  font-size: 13px;
}
.school-detail-main .detail-data-list strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}
.major-overview-panel,
.major-next-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.major-overview-panel h2,
.major-next-panel h2 {
  margin-top: 0;
}
.major-overview-panel p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fafcff;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}
.major-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.major-next-grid a {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 138px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}
.major-next-grid [data-icon] {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0f7ff;
  color: var(--blue);
  mask: none;
  -webkit-mask: none;
}
.major-next-grid [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;
}
.major-next-grid strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
}
.major-next-grid em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.65;
}
.major-detail-main .detail-info-list p {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.major-detail-main .detail-info-list span,
.major-detail-main .detail-info-list a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.article-attachment-item, .download-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.article-attachment-item > div:first-child { min-width: 0; }
.article-attachment-item strong { display: block; color: #111827; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.article-attachment-item p { margin: 6px 0 4px; color: var(--muted); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.article-attachment-item span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.article-attachment-item button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 88px; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.article-attachment-item [data-icon] { width: 16px; height: 16px; color: currentColor; }
.article-downloads { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.article-downloads-head { margin-bottom: 14px; }
.article-downloads-head h2 { margin: 0 0 6px; color: #111827; font-size: 22px; line-height: 1.35; }
.article-downloads-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.article-download-list { display: grid; gap: 12px; }
.article-download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.article-download-actions .collect-link { width: auto; min-width: 88px; height: 36px; }
.article-download-actions button:nth-child(2) { border: 1px solid #e1e7ef; background: #fff; color: var(--blue); }
.cms-downfiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cms-downfiles a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border: 1px solid #bfd9f7; border-radius: 999px; background: #f8fafc; color: var(--blue); font-size: 14px; font-weight: 800; }
.cms-downfiles em { color: var(--muted); font-style: normal; font-size: 14px; }
.download-empty { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; min-height: 0; padding: 22px; border: 1px solid #dbe7f5; border-radius: 8px; background: linear-gradient(180deg, #fbfdff 0%, #f8fbff 100%); color: var(--muted); font-size: 14px; }
.download-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: #eff6ff; color: var(--blue); }
.download-empty-icon::after { content: ""; width: 24px; height: 24px; background: currentColor; mask: var(--icon-url) center / contain no-repeat; -webkit-mask: var(--icon-url) center / contain no-repeat; }
.download-empty-main { min-width: 0; }
.download-empty-main strong { display: block; margin: 0 0 6px; color: #0f172a; font-size: 20px; line-height: 1.35; font-weight: 800; }
.download-empty-main p { max-width: 680px; margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.download-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.download-empty-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid #d8e2ee; border-radius: 8px; background: #fff; color: #2563eb; font-size: 14px; line-height: 34px; font-weight: 800; }
.download-empty-actions a.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.picture-list-panel { overflow: hidden; }
.picture-section { padding: 22px 24px; border-bottom: 1px solid var(--line-soft); }
.picture-section:last-child { border-bottom: 0; }
.picture-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.picture-section-head h2 { margin: 0; color: var(--text); font-size: 20px; line-height: 1.35; font-weight: 800; }
.picture-section-head a { color: var(--blue); font-size: 14px; font-weight: 800; }
.picture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.picture-section .picture-grid { padding: 0; }
.picture-card { overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.picture-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f8fafc; }
.picture-card strong { display: block; min-height: 48px; padding: 10px 12px; color: #1f3148; font-size: 14px; line-height: 1.45; font-weight: 800; }
.picture-detail-body .picture-hero-image { overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.picture-detail-body .picture-hero-image img { width: 100%; max-height: 520px; object-fit: contain; }
.picture-thumb-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 14px 0 24px; }
.picture-thumb-grid a { overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.picture-thumb-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tag-panel { overflow: hidden; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px; }
.tag-cloud a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid #e1e7ef; border-radius: 999px; background: #fff; color: #334155; font-size: 14px; font-weight: 800; }
.tag-cloud a span { color: var(--blue); font-size: 12px; }
.tag-cloud-side { padding: 16px; }
.message-panel { min-height: 360px; display: grid; place-items: center; padding: 48px 30px; }
.message-card { display: grid; justify-items: center; gap: 12px; max-width: 560px; text-align: center; }
.message-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--blue-soft); color: var(--blue); }
.message-icon::after { content: ""; display: block; width: 28px; height: 28px; background: currentColor; mask: var(--icon-url) center / contain no-repeat; -webkit-mask: var(--icon-url) center / contain no-repeat; }
.message-icon.is-success { background: #ecfdf5; color: var(--green); }
.message-icon.is-error { background: #fff7ed; color: var(--orange); }
.message-card h1 { margin: 4px 0 0; color: var(--text); font-size: 24px; line-height: 1.35; font-weight: 800; }
.message-card p { margin: 0; color: #334155; font-size: 16px; line-height: 1.8; }
.message-card a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 6px; padding: 0 18px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; }
.detail-sidebar { display: grid; gap: 18px; }

/* Landing and simple content pages */
.landing-hero { grid-template-columns: minmax(0, 1fr) 360px; align-items: stretch; gap: 24px; min-height: 0; }
.landing-hero > div:first-child { display: block; grid-column: auto; min-width: 0; }
.landing-hero h1 { margin: 0 0 10px; white-space: normal; }
.landing-hero p { max-width: 720px; margin: 0; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.landing-actions a { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 38px; padding: 0 16px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; color: #334155; font-size: 14px; font-weight: 800; }
.landing-actions .member-primary-action { border-color: var(--blue); background: var(--blue); color: #fff; }
.landing-panel { display: block; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.landing-panel strong { display: block; margin-bottom: 10px; color: #111827; font-size: 16px; line-height: 1.4; }
.landing-panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.landing-panel li { color: #475569; font-size: 14px; line-height: 1.6; }
.landing-panel li::before { display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--blue); content: ""; }
.service-plan-hero .landing-panel { display: none; }
.landing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: var(--inner); margin: 0 auto; padding: 24px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; background: #fff; }
.landing-grid a, .about-action-grid a, .member-desk-grid a { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.landing-grid a > [data-icon], .about-action-grid a > [data-icon], .member-desk-grid a > [data-icon] { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f8fafc; color: #1269f3; mask: none; -webkit-mask: none; }
.landing-grid a > [data-icon]::after, .about-action-grid a > [data-icon]::after, .member-desk-grid a > [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; }
.landing-grid a:nth-child(1) > [data-icon], .about-action-grid a:nth-child(1) > [data-icon], .member-desk-grid a:nth-child(1) > [data-icon] { background: #f8fafc; color: #1269f3; }
.landing-grid a:nth-child(2) > [data-icon], .about-action-grid a:nth-child(2) > [data-icon], .member-desk-grid a:nth-child(2) > [data-icon] { background: #f8fafc; color: #9333ea; }
.landing-grid a:nth-child(3) > [data-icon], .about-action-grid a:nth-child(3) > [data-icon], .member-desk-grid a:nth-child(3) > [data-icon] { background: #f8fafc; color: #059669; }
.landing-grid a:nth-child(4) > [data-icon], .about-action-grid a:nth-child(4) > [data-icon], .member-desk-grid a:nth-child(4) > [data-icon] { background: #f8fafc; color: #ea580c; }
.landing-grid strong, .about-action-grid strong, .member-desk-grid strong { font-size: 18px; }
.landing-grid span, .landing-grid em, .about-action-grid span, .member-desk-grid p { color: var(--muted); font-size: 14px; font-style: normal; }
.landing-content-card { width: var(--inner); margin: 0 auto; padding: 24px; border-top: 0; border-radius: 0 0 8px 8px; }
.about-main { width: var(--container); margin: 0 auto 24px; padding: 24px 34px 0; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.about-content { display: grid; gap: 18px; padding: 24px; }
.about-title { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; width: auto; min-height: 0; margin: 0; padding: 24px; border-radius: 8px; }
.about-value-card, .about-action-grid, .about-help-grid, .service-step-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-value-card > div, .about-detail-item, .about-platform-card, .about-wide-card { padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.about-value-card > div { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 12px; align-items: center; }
.about-value-card [data-icon], .about-detail-item > [data-icon], .about-contact-strip [data-icon], .about-contact-card [data-icon] { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f8fafc; color: var(--blue); mask: none; -webkit-mask: none; }
.about-value-card [data-icon]::after, .about-detail-item > [data-icon]::after, .about-contact-strip [data-icon]::after, .about-contact-card [data-icon]::after { content: ""; display: block; width: 19px; height: 19px; background: currentColor; mask: var(--icon-url) center / contain no-repeat; -webkit-mask: var(--icon-url) center / contain no-repeat; }
.about-value-card strong { color: #111827; font-size: 16px; line-height: 1.4; font-weight: 800; }
.about-value-card p { grid-column: 2; margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.about-platform-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center; }
.about-platform-card h2, .about-detail-item h2, .about-side-card h2, .about-wide-card h2 { margin: 0 0 10px; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.about-platform-card p, .about-detail-item p { margin: 0; color: #475569; font-size: 14px; line-height: 1.8; }
.about-school-illustration { position: relative; height: 120px; border-radius: 8px; background: linear-gradient(180deg, #f8fafc 0%, #fafafa 100%); border: 1px solid var(--line-soft); overflow: hidden; }
.school-building { position: absolute; left: 50%; bottom: 20px; width: 94px; height: 62px; transform: translateX(-50%); border-radius: 8px 8px 3px 3px; background: var(--blue); }
.school-building::before { content: ""; position: absolute; left: 50%; top: -25px; width: 64px; height: 36px; transform: translateX(-50%); clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #f97316; }
.school-building::after { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.78); box-shadow: 0 18px 0 rgba(255,255,255,.78); }
.school-tree { position: absolute; bottom: 20px; width: 28px; height: 42px; }
.school-tree::before { content: ""; position: absolute; left: 9px; bottom: 0; width: 8px; height: 22px; border-radius: 999px; background: #94a3b8; }
.school-tree::after { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #16a34a; }
.school-tree.left { left: 24px; }
.school-tree.right { right: 24px; }
.about-detail-card { display: grid; gap: 14px; }
.about-detail-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.about-action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-action-grid a { min-height: 150px; align-content: start; }
.about-action-grid b { align-self: end; color: var(--blue); font-size: 14px; }
.about-sidebar { display: grid; gap: 18px; }
.about-side-card { padding: 18px; }
.about-service-nav { display: grid; gap: 8px; }
.about-service-nav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: #334155; font-size: 14px; font-weight: 800; }
.about-service-nav a [data-icon] { width: 17px; height: 17px; color: currentColor; }
.about-service-nav a.active, .about-service-nav a:hover { background: var(--blue-soft); color: var(--blue); }
.about-contact-card { display: grid; gap: 12px; }
.about-contact-card p { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; color: #475569; font-size: 13px; line-height: 1.7; }
.about-contact-card p [data-icon] { width: 34px; height: 34px; }
.about-contact-card p [data-icon]::after { width: 18px; height: 18px; }
.about-contact-card b { color: #111827; }
.about-contact-card em { color: #64748b; font-style: normal; }
.about-contact-card > a { display: inline-flex; align-items: center; justify-content: center; height: 38px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; }
.about-contact-strip, .about-help-card { margin-top: 18px; }
.about-contact-strip > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.about-contact-strip article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 12px; align-items: start; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.about-contact-strip strong { color: #111827; font-size: 15px; line-height: 1.4; }
.about-contact-strip p { grid-column: 2; margin: 0; color: #64748b; font-size: 13px; line-height: 1.7; }
.about-help-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.about-help-grid section { display: grid; align-content: start; gap: 8px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.about-help-grid h3 { margin: 0 0 4px; color: #111827; font-size: 15px; line-height: 1.4; }
.about-help-grid a { color: #475569; font-size: 13px; line-height: 1.5; }
.about-help-grid a:hover { color: var(--blue); }
.about-quick-band { display: none; }
.about-redesign-main { padding-top: 18px; }
.about-page-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: center; width: var(--inner); min-height: 188px; margin: 0 auto 22px; padding: 34px 42px; border-radius: 8px; background: linear-gradient(135deg, #0a73e8 0%, #128df4 52%, #22c7e8 100%); color: #fff; overflow: hidden; }
.about-page-hero span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; line-height: 24px; font-weight: 800; }
.about-page-hero h1 { margin: 14px 0 10px; color: #fff; font-size: 34px; line-height: 1.25; font-weight: 800; letter-spacing: 0; }
.about-page-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.8; }
.about-page-hero ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.about-page-hero li { min-height: 86px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.13); }
.about-page-hero strong { display: block; color: #fff; font-size: 26px; line-height: 1.2; font-weight: 800; }
.about-page-hero em { display: block; margin-top: 8px; color: rgba(255,255,255,.84); font-size: 13px; font-style: normal; }
.about-redesign-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; width: var(--inner); margin: 0 auto; align-items: start; }
.about-redesign-nav, .about-profile-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.about-redesign-nav { display: grid; gap: 2px; padding: 14px; }
.about-redesign-nav a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 8px; color: #334155; font-size: 15px; font-weight: 800; }
.about-redesign-nav a [data-icon] { width: 18px; height: 18px; color: currentColor; }
.about-redesign-nav a.active, .about-redesign-nav a:hover { background: #eff6ff; color: var(--blue); }
.about-profile-panel { padding: 30px; }
.about-profile-head { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.about-profile-head h2 { margin: 0 0 12px; color: #111827; font-size: 28px; line-height: 1.35; font-weight: 800; }
.about-profile-head p, .about-default-body p { margin: 0; color: #475569; font-size: 15px; line-height: 1.9; }
.about-default-body { display: grid; gap: 12px; padding: 22px 0; }
.about-redesign-values { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 20px; }
.about-redesign-values > div { background: #fafcff; }
.about-redesign-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-redesign-actions a { min-height: 154px; background: #fff; }
.contact-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.contact-method-grid article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; min-height: 168px; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafcff; }
.contact-method-grid [data-icon], .contact-process-list p::before { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eff6ff; color: var(--blue); mask: none; -webkit-mask: none; }
.contact-method-grid [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; }
.contact-method-grid strong { display: block; margin: 0 0 8px; color: #111827; font-size: 17px; line-height: 1.35; }
.contact-method-grid a { color: var(--blue); font-size: 14px; line-height: 1.5; font-weight: 800; overflow-wrap: anywhere; }
.contact-method-grid p { margin: 10px 0 0; color: #64748b; font-size: 13px; line-height: 1.7; }
.contact-process-panel { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.contact-process-panel h2 { margin: 0 0 14px; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.contact-process-list { display: grid; gap: 10px; }
.contact-process-list p { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.contact-process-list strong { color: #111827; font-size: 14px; line-height: 1.5; }
.contact-process-list span { color: #64748b; font-size: 14px; line-height: 1.6; }
.contact-action-grid { margin-top: 22px; }
.info-statement-list { display: grid; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.info-statement-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafcff; }
.info-statement-list [data-icon] { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eff6ff; color: var(--blue); mask: none; -webkit-mask: none; }
.info-statement-list [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; }
.info-statement-list strong, .friend-link-grid strong { display: block; margin: 0 0 8px; color: #111827; font-size: 17px; line-height: 1.35; }
.info-statement-list p, .friend-link-grid p, .help-faq-grid p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.75; }
.friend-link-panel { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.friend-link-panel h2 { margin: 0 0 14px; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.friend-link-grid, .help-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.friend-link-grid article, .help-faq-grid article { min-height: 142px; padding: 18px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafcff; }
.help-faq-grid { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.help-faq-grid h2 { margin: 0 0 10px; color: #111827; font-size: 17px; line-height: 1.35; font-weight: 800; }
.legal-page main, .page-about-us main, .page-error main { width: var(--container); margin: 0 auto 24px; padding: 24px 34px 0; }

/* Member pages */
.member-commercial-main { width: var(--container); margin: 0 auto 24px; padding: 24px 34px 0; }
.member-auth-panel { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; width: var(--inner); margin: 0 auto; }
.member-auth-copy { display: grid; gap: 18px; min-width: 0; }
.member-auth-hero, .member-login-card, .member-benefit-card, .member-workspace, .member-profile-card, .member-action-card, .member-record-card, .member-service-banner, .member-stat-cards a { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.member-auth-hero { padding: 26px 28px; }
.member-login-card { padding: 24px; }
.member-benefit-card, .member-profile-card, .member-action-card, .member-record-card, .member-service-banner, .member-stat-cards a { padding: 22px; }
.member-auth-hero h1 { margin: 0 0 12px; color: #111827; font-size: 30px; line-height: 1.32; font-weight: 800; letter-spacing: 0; }
.member-auth-hero p, .member-legal, .member-field em { color: var(--muted); font-size: 14px; line-height: 1.7; }
.member-card-title { margin-bottom: 18px; }
.member-card-title h2 { margin: 0 0 8px; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.member-card-title p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.member-login-form, .member-profile-form { display: grid; gap: 14px; }
.member-field { display: grid; gap: 6px; min-width: 0; }
.member-field-label { color: #334155; font-size: 14px; font-weight: 800; }
.member-input-shell { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; min-height: 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.member-input-shell > [data-icon] { justify-self: center; width: 17px; height: 17px; color: #94a3b8; }
.member-input-shell input { width: 100%; min-width: 0; height: 40px; padding: 0 12px 0 0; border: 0; outline: 0; background: transparent; color: #111827; }
.member-profile-form input, .member-profile-form select { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; color: #111827; }
.member-code-input { grid-template-columns: 40px minmax(0, 1fr) 112px; }
.member-code-input button { width: 112px; height: 42px; border: 0; border-left: 1px solid var(--line); background: #fafafa; color: var(--blue); font-size: 13px; font-weight: 800; white-space: nowrap; }
.member-primary-action { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 42px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 800; }
.member-proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.member-proof-row span { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; color: #64748b; font-size: 13px; }
.member-proof-row strong { color: var(--blue); font-size: 22px; line-height: 1.2; }
.member-workspace { display: grid; gap: 18px; width: var(--inner); margin: 0 auto; padding: 24px; }
.member-workspace[hidden] { display: none !important; }
.member-stat-cards, .member-record-grid, .member-workspace-layout { display: grid; gap: 16px; }
.member-stat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.member-workspace-layout, .member-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-workspace-layout .member-action-card:last-child { grid-column: 1 / -1; }
.member-card-head, .member-workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.member-card-head h2, .member-workspace-head h2 { margin: 0; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.member-workspace-head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.member-logout, .member-card-head a, .member-form-row a, .member-login-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fafafa; color: var(--blue); font-size: 13px; font-weight: 800; white-space: nowrap; }
.member-logout { background: #fff; color: #334155; }
.member-form-row, .member-check { display: flex; align-items: center; gap: 8px; color: #334155; font-size: 14px; }
.member-form-row { justify-content: space-between; }
.member-agreement-check { align-items: flex-start; line-height: 1.6; }
.member-agreement-check a { color: var(--blue); font-weight: 800; }
.member-benefit-card h2 { margin: 0 0 16px; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.member-benefit-card ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.member-benefit-card li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px 12px; min-height: 96px; padding: 16px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.member-benefit-card li > [data-icon] { grid-row: 1 / 3; }
.member-benefit-card li span[data-icon], .member-stat-cards a > [data-icon], .member-record-list [data-icon], .member-service-banner [data-icon], .member-profile-tips [data-icon] { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f8fafc; color: #1269f3; mask: none; -webkit-mask: none; }
.member-benefit-card li span[data-icon]::after, .member-stat-cards a > [data-icon]::after, .member-record-list [data-icon]::after, .member-service-banner [data-icon]::after, .member-profile-tips [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-benefit-card li:nth-child(1) span[data-icon], .member-stat-cards a:nth-child(1) > [data-icon] { background: #f8fafc; color: #1269f3; }
.member-benefit-card li:nth-child(2) span[data-icon], .member-stat-cards a:nth-child(2) > [data-icon] { background: #f8fafc; color: #059669; }
.member-benefit-card li:nth-child(3) span[data-icon], .member-stat-cards a:nth-child(3) > [data-icon] { background: #f8fafc; color: #9333ea; }
.member-benefit-card li:nth-child(4) span[data-icon], .member-stat-cards a:nth-child(4) > [data-icon] { background: #f8fafc; color: #ea580c; }
.member-benefit-card strong { color: #111827; font-size: 16px; line-height: 1.4; }
.member-benefit-card em { color: var(--muted); font-size: 14px; line-height: 1.6; font-style: normal; }
.member-login-links, .member-login-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.member-login-links a [data-icon] { width: 15px; height: 15px; margin-right: 6px; color: currentColor; }
.member-login-trust span { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 13px; }
.member-login-trust b { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.member-legal { margin: 14px 0 0; }
.member-login-message { min-height: 20px; margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
.member-login-message[data-state="success"] { color: #059669; }
.member-login-message[data-state="error"] { color: #dc2626; }
.member-commercial-page .member-auth-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
}
.member-commercial-page .member-auth-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.member-commercial-page .member-auth-hero {
  min-height: 0;
}
.member-commercial-page .member-login-card {
  align-self: start;
}
.member-commercial-page .member-benefit-card {
  grid-column: auto;
}
.member-commercial-page .member-benefit-card ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.member-stat-cards a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; color: #334155; }
.member-stat-cards small, .member-stat-cards b { color: #64748b; font-size: 13px; font-weight: 700; }
.member-stat-cards strong { color: var(--blue); font-size: 28px; line-height: 1; }
.member-stat-cards em { color: #64748b; font-style: normal; font-weight: 800; }
.member-profile-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-profile-form label { display: grid; gap: 6px; color: #334155; font-size: 14px; font-weight: 800; }
.member-profile-tips, .member-service-banner > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; }
.member-profile-tips { margin-top: 14px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.member-profile-tips p, .member-desk-grid p, .member-service-banner p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.6; }
.member-desk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.member-desk-grid b { color: var(--blue); font-size: 13px; }
.member-record-list { display: grid; gap: 10px; min-height: 96px; }
.member-record-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.member-record-item strong { min-width: 0; color: #111827; font-size: 15px; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-record-item span { grid-column: 1 / -1; color: #64748b; font-size: 13px; line-height: 1.6; }
.member-record-item em { color: #64748b; font-size: 13px; font-style: normal; white-space: nowrap; }
.member-record-item a { align-self: center; color: var(--blue); font-size: 13px; font-weight: 800; white-space: nowrap; }
.member-sub-empty, .member-empty { display: grid; place-items: center; min-height: 96px; border: 1px dashed #d7dde6; border-radius: 8px; background: #fafafa; color: #64748b; font-size: 14px; }
.member-service-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.member-service-banner strong { display: block; margin-bottom: 4px; color: #111827; font-size: 18px; }
.member-service-banner > a { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }

/* Member subpages */
.member-sub-main { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; width: var(--container); margin: 0 auto 24px; padding: 24px 34px 0; }
.member-sub-sidebar, .member-sub-card, .member-sub-hero { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; }
.member-sub-sidebar { align-self: start; padding: 18px; }
.member-sub-brand { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 0 0 16px; border-bottom: 1px solid var(--line-soft); color: #111827; }
.member-sub-brand [data-icon] { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f8fafc; color: var(--blue); mask: none; -webkit-mask: none; }
.member-sub-brand [data-icon]::after { content: ""; display: block; width: 19px; height: 19px; background: currentColor; mask: var(--icon-url) center / contain no-repeat; -webkit-mask: var(--icon-url) center / contain no-repeat; }
.member-sub-brand strong { min-width: 0; font-size: 17px; line-height: 1.35; font-weight: 800; }
.member-sub-brand em { min-width: 0; color: #64748b; font-size: 13px; line-height: 1.4; font-style: normal; }
.member-sub-sidebar nav { display: grid; gap: 8px; margin-top: 16px; }
.member-sub-sidebar nav a { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 8px; color: #334155; font-size: 14px; font-weight: 800; }
.member-sub-sidebar nav a [data-icon] { width: 17px; height: 17px; color: currentColor; }
.member-sub-sidebar nav a.active, .member-sub-sidebar nav a:hover { background: var(--blue-soft); color: var(--blue); }
.member-sub-content { display: grid; gap: 18px; min-width: 0; }
.member-sub-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; }
.member-sub-hero h1 { margin: 0 0 8px; color: #111827; font-size: 28px; line-height: 1.32; font-weight: 800; letter-spacing: 0; }
.member-sub-hero p { max-width: 760px; margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.member-progress { flex: 0 0 150px; display: grid; justify-items: end; gap: 6px; color: #64748b; font-size: 13px; }
.member-progress strong { color: var(--blue); font-size: 30px; line-height: 1; font-weight: 800; }
.member-progress i { display: block; width: 150px; height: 8px; overflow: hidden; border-radius: 999px; background: #e8f2ff; }
.member-progress i::after { content: ""; display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: var(--blue); }
.member-sub-card { padding: 22px; }
.member-sub-card > h2 { margin: 0 0 14px; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.member-sub-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.member-sub-card-head h2 { margin: 0; color: #111827; font-size: 22px; line-height: 1.35; font-weight: 800; }
.member-sub-card-head span { color: #64748b; font-size: 13px; line-height: 1.5; }
.member-sub-card-head button, .member-sub-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.member-form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member-form-grid label { display: grid; gap: 7px; min-width: 0; color: #334155; font-size: 14px; font-weight: 800; }
.member-form-grid input, .member-form-grid select { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #111827; font-size: 14px; }
.member-sub-grid { display: grid; gap: 18px; }
.member-sub-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-sub-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.member-sub-metric { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.member-sub-metric strong { color: var(--blue); font-size: 28px; line-height: 1; }
.member-sub-metric span { color: #64748b; font-size: 14px; font-weight: 800; }
.member-recharge-card { display: grid; gap: 16px; }
.member-recharge-form { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.member-recharge-form > label { display: grid; gap: 7px; min-width: 0; color: #334155; font-size: 14px; font-weight: 800; }
.member-recharge-form input[type="number"], .member-recharge-form select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #111827; font-size: 14px; }
.member-pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); gap: 10px; align-items: end; }
.member-pay-options label { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; color: #334155; font-size: 14px; font-weight: 800; cursor: pointer; }
.member-pay-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.member-pay-options label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.member-recharge-form button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.member-recharge-form button [data-icon] { width: 17px; height: 17px; color: currentColor; }
.member-recharge-result { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.member-recharge-result strong { color: #111827; font-size: 15px; line-height: 1.4; }
.member-recharge-result p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.member-recharge-result:empty { display: none; }
.member-pay-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.member-pay-shortcuts a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; color: #334155; font-size: 13px; font-weight: 800; white-space: nowrap; }
.member-pay-shortcuts a:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.member-quick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.member-quick-row a { display: flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; color: #334155; font-size: 14px; font-weight: 800; }
.member-quick-row a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.member-profile-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.member-profile-summary div { padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.member-profile-summary dt { color: #64748b; font-size: 13px; font-weight: 800; }
.member-profile-summary dd { min-height: 22px; margin: 6px 0 0; color: #111827; font-size: 16px; line-height: 1.4; font-weight: 800; }
.member-profile-summary dd:empty::before { content: "未填写"; color: #94a3b8; font-weight: 700; }
.member-check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #334155; font-size: 14px; line-height: 1.7; }
.member-check-list li { position: relative; padding-left: 18px; }
.member-check-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.member-table { display: grid; gap: 10px; min-height: 96px; }
.member-table-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fafafa; }
.member-table-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #111827; font-size: 15px; line-height: 1.45; }
.member-table-row span { grid-column: 1 / -1; color: #64748b; font-size: 13px; line-height: 1.6; }
.member-table-row em { color: #64748b; font-size: 13px; font-style: normal; white-space: nowrap; }
.member-table-row a { align-self: center; color: var(--blue); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* 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 { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 12px; text-align: center; }
.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 .current,
.pager strong,
.cms-pagination a.active,
.cms-pagination .active,
.cms-pagination .current,
.cms-pagination strong,
.search-pagination a.active,
.search-pagination .active,
.search-pagination .current,
.search-pagination strong,
.pagination a.active,
.pagination .active,
.pagination .current,
.pagination strong,
.pages a.active,
.pages .active,
.pages .current,
.pages strong,
.pagebar a.active,
.pagebar .active,
.pagebar .current,
.pagebar strong {
  border-color: #cfd8e3;
  background: var(--blue-soft);
  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: 13px; }
.member-login-modal-form .member-field small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.member-login-modal-form .member-input-shell {
  min-height: 44px;
  border-color: #d8e2ee;
}
.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 {
  height: 42px;
  font-size: 15px;
}
.member-code-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; }
.member-code-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.member-code-row button:disabled,
.member-login-modal-form button:disabled { cursor: not-allowed; opacity: .68; }
.member-login-modal-form .member-check {
  align-items: center;
  padding: 2px 0;
  color: #475569;
  font-size: 13px;
}
.member-login-modal-form .member-primary-action {
  height: 44px;
  margin-top: 2px;
  cursor: pointer;
}
.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; }
.download-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.download-pay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .38);
}
.download-pay-panel {
  position: relative;
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
  animation: memberModalIn .18s ease-out;
}
.download-pay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
}
.download-pay-head { padding-right: 34px; }
.download-pay-head h2 { margin: 0; color: #0f172a; font-size: 22px; line-height: 1.35; }
.download-pay-head p { margin: 8px 0 0; color: #475569; font-size: 14px; line-height: 1.6; }
.download-pay-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
}
.download-pay-price strong { color: #0f172a; font-size: 28px; line-height: 1; }
.download-pay-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.download-pay-methods button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-weight: 800;
  cursor: pointer;
}
.download-pay-methods button.active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: var(--blue);
}
.download-pay-checkout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}
.download-pay-checkout:empty { display: none; }
.download-pay-qr {
  display: grid;
  place-items: center;
  width: 184px;
  height: 184px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}
.download-pay-qr img { display: block; width: 176px; height: 176px; object-fit: contain; }
.download-pay-noqr {
  display: grid;
  place-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}
.download-pay-noqr span { width: 30px; height: 30px; color: #64748b; }
.download-pay-noqr em { font-style: normal; }
.download-pay-cashier {
  display: grid;
  gap: 8px;
  min-height: 184px;
  padding: 18px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f8fbff;
}
.download-pay-cashier span[data-icon] {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blue);
}
.download-pay-cashier strong {
  color: #0f172a;
  font-size: 16px;
  line-height: 1.4;
}
.download-pay-cashier p,
.download-pay-cashier em {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  font-style: normal;
}
.download-pay-cashier a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}
.download-pay-order { min-width: 0; }
.download-pay-order strong { display: block; color: #0f172a; font-size: 16px; line-height: 1.4; }
.download-pay-order p { margin: 6px 0; color: #64748b; font-size: 13px; line-height: 1.55; }
.download-pay-order small { display: block; color: #94a3b8; font-size: 12px; word-break: break-all; }
.download-pay-order a { display: inline-flex; margin-top: 8px; color: var(--blue); font-weight: 800; }
.download-pay-status {
  min-height: 20px;
  margin: 12px 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.download-pay-status[data-state="success"] { color: #047857; }
.download-pay-status[data-state="warning"] { color: #b45309; }
.download-pay-status[data-state="error"] { color: #b91c1c; }
.download-pay-panel .member-primary-action { width: 100%; height: 44px; cursor: pointer; }
@media (max-width: 640px) {
  .download-pay-modal { padding: 16px; }
  .download-pay-panel { width: min(100%, 520px); padding: 22px; }
  .download-pay-checkout { grid-template-columns: 1fr; }
  .download-pay-qr { width: 100%; height: 220px; }
  .download-pay-qr img { width: 204px; height: 204px; }
}
@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; }

/* UI polish pass - 2026-06-11 */
:root {
  --container: 1440px;
  --inner: min(1372px, calc(100vw - 48px));
  --left: minmax(0, 1fr);
  --side: 372px;
  --page-gutter: clamp(16px, 4vw, 72px);
}

html {
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}

body,
.inner-page,
.phpcms-page,
body[class*="page-"],
.inner-header,
.cms-feature-strip,
.cms-footer,
.about-footer {
  min-width: 0;
}

body {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap,
.cms-container,
.inner-header .topbar,
.inner-main,
.downloads-main,
.landing-main,
.about-main,
.member-commercial-main,
.detail-main,
.legal-page main,
.page-about-us main,
.page-error main,
.page-article-redirect main,
.page-reexam-announcement main {
  width: min(100%, 1440px);
  max-width: 1440px;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.inner-main,
.downloads-main,
.landing-main,
.about-main,
.member-commercial-main,
.detail-main,
.legal-page main,
.page-about-us main,
.page-error main,
.page-article-redirect main,
.page-reexam-announcement main {
  padding-top: 24px;
}

.inner-header {
  height: 68px;
  border-bottom-color: #edf1f6;
}

.inner-header .topbar {
  height: 68px;
  min-height: 68px;
  gap: 24px;
}

.brand,
.nav-links,
.top-actions {
  height: 68px;
}

.nav-links {
  gap: 2px;
  margin-left: 0;
}

.nav-links a {
  height: 68px;
  padding: 0 12px;
  color: #334155;
  font-size: 14px;
  line-height: 68px;
}

.top-actions {
  gap: 10px;
}

.top-actions a,
.top-actions button,
.mini-program-trigger,
.login-main {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 36px;
}

.inner-layout,
.detail-layout {
  grid-template-columns: minmax(0, 1fr) var(--side);
  width: var(--inner);
  gap: 20px;
}

.library-hero,
.major-hero,
.download-hero,
.search-results-hero,
.landing-hero,
.detail-hero,
.article-head,
.about-title,
.filter-panel,
.major-filter-panel,
.download-toolbar,
.search-scope-tabs,
.school-list-panel,
.major-list-section,
.search-results-panel,
.download-content,
.landing-grid,
.landing-content-card,
.member-auth-panel,
.member-workspace {
  width: var(--inner);
}

.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,
.result-item,
.download-card,
.member-auth-hero,
.member-login-card,
.member-benefit-card,
.member-workspace,
.member-profile-card,
.member-action-card,
.member-record-card,
.member-service-banner,
.member-stat-cards a,
.member-sub-sidebar,
.member-sub-card,
.member-sub-hero {
  border-color: var(--line);
  box-shadow: none;
}

.inner-card-head,
.side-card h3,
.side-card-head,
.search-results-head,
.major-list-head {
  min-height: 60px;
  padding: 16px 22px;
}

.inner-card-head h1,
.inner-card-head h2,
.side-card h3,
.side-card-head h3,
.search-results-head h2,
.major-list-head p,
.landing-grid strong,
.about-action-grid strong,
.member-desk-grid strong {
  font-size: 20px;
  line-height: 1.35;
}

.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 {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
}

.library-hero p,
.major-hero p,
.download-copy p,
.search-results-hero p,
.landing-hero p,
.detail-title p,
.article-summary,
.about-title p,
.result-item p,
.download-card p,
.content-list p,
.side-card > p {
  line-height: 1.7;
}

.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 {
  height: 32px;
  min-height: 32px;
  padding: 0 13px;
  font-size: 13px;
  line-height: 30px;
}

.content-list a,
.download-card strong,
.article-attachment-item strong {
  font-size: 16px;
  line-height: 1.45;
}

.content-list li,
.file-list li,
.search-result-card,
.result-item,
.download-card {
  min-width: 0;
}

.library-empty-state {
  grid-column: 1 / -1;
}

.major-empty-row td {
  padding: 0;
  border: 0;
}

.major-table th,
.major-table td {
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1280px) {
  .brand-logo {
    width: 170px;
  }

  .nav-links a {
    padding: 0 9px;
    font-size: 13px;
  }

  .library-hero,
  .major-hero,
  .search-results-hero,
  .landing-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .major-hero > div,
  .search-results-hero > div,
  .landing-hero > div:first-child,
  .download-copy {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .major-hero > div h1,
  .search-results-hero > div h1,
  .landing-hero > div:first-child h1,
  .major-hero > div p,
  .search-results-hero > div p,
  .landing-hero > div:first-child p {
    grid-column: auto;
  }

  .library-search,
  .major-search,
  .search-results-form,
  .service-plan-form {
    grid-column: auto;
    width: min(100%, 520px);
  }

  .inner-layout,
  .detail-layout,
  .about-layout,
  .member-sub-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .major-detail-main .detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .member-auth-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-commercial-page .member-auth-panel {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  }

  .major-detail-main .major-profile-hero {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .major-detail-main .school-profile-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-redesign-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-redesign-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .friend-link-grid,
  .help-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rich-sidebar,
  .detail-sidebar,
  .about-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-toolbar,
  .download-card,
  .member-recharge-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-search {
    width: min(100%, 420px);
  }

  .download-card button[data-download-resource],
  .download-card button[data-save-resource],
  .download-card .collect-link,
  .download-card > div {
    grid-column: auto;
  }
}

@media (max-width: 960px) {
  :root {
    --inner: min(100%, calc(100vw - 32px));
  }

  .inner-header {
    position: static;
    height: auto;
  }

  .inner-header .topbar {
    flex-wrap: wrap;
    align-content: center;
    height: auto;
    min-height: 0;
    gap: 10px 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    height: 40px;
  }

  .brand-logo {
    width: 164px;
    height: 36px;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    height: auto;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    height: 40px;
    line-height: 40px;
  }

  .top-actions {
    height: 40px;
    margin-left: auto;
  }

  .library-hero,
  .major-hero,
  .download-hero-inner,
  .search-results-hero,
  .landing-hero,
  .detail-hero,
  .article-head,
  .about-title {
    padding: 20px;
  }

  .major-detail-main .major-profile-hero,
  .major-detail-main .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .major-detail-main .school-profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .major-detail-main .school-profile-stats span {
    min-height: 72px;
  }

  .filter-panel,
  .major-filter-panel,
  .download-toolbar,
  .search-scope-tabs,
  .school-list-panel,
  .major-list-section,
  .download-content,
  .landing-grid,
  .landing-content-card {
    padding: 18px;
  }

  .school-result,
  .category-summary,
  .landing-grid,
  .about-page-hero ul,
  .about-value-card,
  .about-action-grid,
  .about-redesign-values,
  .about-redesign-actions,
  .about-help-grid,
  .about-contact-strip > div,
  .member-proof-row,
  .member-stat-cards,
  .member-workspace-layout,
  .member-record-grid,
  .member-desk-grid,
  .member-form-grid,
  .member-sub-grid.two,
  .member-sub-grid.three,
  .member-quick-row,
  .member-pay-shortcuts,
  .member-profile-summary,
  .cms-footer-links,
  .cms-feature-strip ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .rich-sidebar,
  .detail-sidebar,
  .about-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page-hero ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .major-next-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-list li,
  .file-list li,
  .related-reading a,
  .search-result-card,
  .article-attachment-item,
  .download-empty,
  .detail-stat,
  .down-msg ul,
  .about-platform-card,
  .member-service-banner,
  .member-sub-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-list time,
  .file-list li > span,
  .related-reading a span,
  .search-result-card b {
    text-align: left;
  }

  .search-result-card b {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .article-attachment-item {
    gap: 12px;
    padding: 14px;
  }

  .article-download-actions {
    justify-content: flex-start;
    gap: 8px;
  }

  .major-table-wrap {
    overflow-x: auto;
  }

  .major-table {
    min-width: 760px;
  }

  .cms-footer-main,
  .about-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

@media (max-width: 760px) {
  .member-commercial-page .member-auth-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-commercial-page .member-benefit-card ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .school-detail-main .school-profile-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .school-detail-main .school-profile-stats,
  .school-detail-main .detail-data-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .major-detail-main .major-profile-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .school-detail-main .detail-layout,
  .major-detail-main .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .member-commercial-page .member-benefit-card ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
  }

  .inner-main,
  .downloads-main,
  .landing-main,
  .about-main,
  .member-commercial-main,
  .detail-main,
  .legal-page main,
  .page-about-us main,
  .page-error main,
  .page-article-redirect main,
  .page-reexam-announcement main {
    padding-top: 16px;
  }

  .top-actions {
    width: 100%;
  }

  .about-page-hero {
    padding: 24px;
  }

  .about-page-hero ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-redesign-nav,
  .about-redesign-values,
  .about-redesign-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-process-list p {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .contact-method-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .friend-link-grid,
  .help-faq-grid,
  .info-statement-list article {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-profile-panel {
    padding: 22px;
  }

  .major-detail-main .school-profile-stats,
  .major-next-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-actions a,
  .top-actions button,
  .mini-program-trigger,
  .login-main {
    flex: 1;
  }

  .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,
  .article-detail-main > h1,
  .detail-main .article-head h1,
  .member-auth-hero h1,
  .member-sub-hero h1 {
    font-size: 22px;
    white-space: normal;
  }

  .inner-card-head,
  .side-card h3,
  .side-card-head,
  .search-results-head,
  .major-list-head {
    align-items: flex-start;
    min-height: 0;
    padding: 16px 18px;
  }

  .filter-row,
  .major-filter-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
  }

  .service-plan-form {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .service-plan-form input,
  .service-plan-form button {
    width: 100%;
  }

  .result-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .school-card-icon,
  .school-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .school-card-logo img {
    padding: 6px;
  }

  .article,
  .article-detail-main > .article-body,
  .detail-main .article-body {
    padding: 20px;
  }

  .article-detail-main > h1,
  .article-detail-main > .article-meta,
  .article-detail-main > .article-summary,
  .article-detail-main > .article-share-row,
  .article-detail-main > .article-footer-actions,
  .article-detail-main > .article-navigation,
  .article-detail-main > .related-reading {
    margin-right: 20px;
    margin-left: 20px;
  }
}

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

/* Unified attachment/download cards */
.download-grid {
  gap: 12px;
  padding: 18px 22px 22px;
}

.download-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
  min-height: 0;
  padding: 16px;
  border: 1px solid #e3ebf5;
  border-radius: 8px;
  background: #fff;
}

.download-card:last-child {
  border-bottom: 1px solid #e3ebf5;
}

.download-card:hover,
.article-attachment-item:hover {
  border-color: #bfdbfe;
  background: #fbfdff;
}

.download-card-icon,
.article-attachment-item .attachment-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #1269f3;
  color: #fff;
  flex: 0 0 auto;
}

.download-card-main,
.article-attachment-item .attachment-main {
  min-width: 0;
}

.download-card strong,
.article-attachment-item strong {
  display: block;
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.download-card p,
.article-attachment-item p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.download-card-meta,
.attachment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.download-card-meta em,
.attachment-meta span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 24px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 22px;
  font-style: normal;
  font-weight: 700;
}

.download-card-actions,
.article-download-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-self: center;
  justify-self: stretch;
}

.download-card .member-primary-action,
.download-card button[data-download-resource],
.article-attachment-item button[data-download-resource] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  line-height: 36px;
  font-weight: 800;
  white-space: nowrap;
}

.download-card .collect-link,
.article-attachment-item .collect-link,
.article-download-actions button[data-save-resource] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  line-height: 32px;
  font-weight: 800;
  white-space: nowrap;
}

.download-card .collect-link.is-saved,
.article-attachment-item .collect-link.is-saved,
.article-download-actions button[data-save-resource].is-saved {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.download-card [data-icon],
.article-attachment-item [data-icon] {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.article-attachment-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 148px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8fafc;
}

.article-downloads {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.article-downloads-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8eef6;
}

.article-downloads-head h2,
.related-reading.down-url h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
}

.article-downloads-head p {
  max-width: 520px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.article-download-list {
  display: grid;
  gap: 12px;
}

.related-reading.down-url {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.related-reading.down-url .file-list {
  margin-top: 14px;
}

.cms-downfiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cms-downfiles a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  color: #2563eb;
  font-size: 12px;
  line-height: 28px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .download-card,
  .article-attachment-item {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
  }

  .download-card-actions,
  .article-download-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-downloads-head {
    display: block;
  }

  .article-downloads-head p {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .member-login-modal {
    align-items: flex-end;
    padding: 16px;
  }

  .member-login-modal-panel {
    width: 100%;
    padding: 22px 18px 18px;
  }

  .member-code-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-grid,
  .article-downloads,
  .related-reading.down-url {
    padding: 14px;
  }

  .download-card,
  .article-attachment-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .download-card-icon,
  .article-attachment-item .attachment-icon {
    width: 40px;
    height: 40px;
  }

  .download-card-actions,
  .article-download-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Attachment list visual cleanup */
.article-downloads,
.related-reading.down-url {
  box-shadow: none;
}

.article-download-list {
  gap: 10px;
}

.article-attachment-item {
  border-color: #e8eef6;
  background: #fbfdff;
}

.article-attachment-item:hover {
  border-color: #d6e6fb;
  background: #f8fbff;
}

.article-attachment-item .attachment-icon {
  width: 40px;
  height: 40px;
  background: #1269f3;
  color: #fff;
  opacity: 1;
}

.article-attachment-item .attachment-icon[data-icon]::after {
  background: currentColor;
}

.article-attachment-item .attachment-main {
  padding-left: 0;
}

.article-downloads-head p {
  color: #64748b;
}

/* Download empty state polish */
.download-grid .download-inline-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #f8fbff;
}

.download-grid .download-inline-notice strong {
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.download-grid .download-inline-notice a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cfe0f4;
  border-radius: 8px;
  background: #fff;
  color: #1269f3;
  font-size: 13px;
  line-height: 30px;
  font-weight: 800;
  white-space: nowrap;
}

.download-grid .download-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  padding: 20px;
  border: 1px solid #e3ebf5;
  border-radius: 8px;
  background: #fff;
}

.download-grid .download-empty-main {
  min-width: 0;
}

.download-grid .download-empty-main strong {
  display: block;
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.download-grid .download-empty-main p {
  max-width: 680px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.download-grid .download-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.download-grid .download-empty-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 14px;
  line-height: 34px;
  font-weight: 800;
}

.download-grid .download-empty-actions a.primary {
  border-color: #1269f3;
  background: #1269f3;
  color: #fff;
}

/* Download file type badge */
.download-grid .download-card-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 54px;
  border: 1px solid #cfe0f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.download-grid .download-card-icon::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-left: 1px solid #cfe0f4;
  border-bottom: 1px solid #cfe0f4;
  border-radius: 0 8px 0 5px;
  background: #fff;
}

.download-grid .download-card-icon em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 34px;
  height: 18px;
  margin: 14px 0 0;
  padding: 0 4px;
  border: 0;
  border-radius: 4px;
  background: #1269f3;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .download-grid .download-inline-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-grid .download-empty {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
}

/* Static school pagination pages */
.page-school-library .school-list-panel {
  margin-bottom: 28px;
}

/* Downloads page polish - 2026-06-12 */
.page-downloads-hub .downloads-main {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto 28px;
  padding: 24px var(--page-gutter) 0;
}

.page-downloads-hub .download-hero,
.page-downloads-hub .download-toolbar,
.page-downloads-hub .download-content {
  width: var(--inner);
}

.page-downloads-hub .download-hero {
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dbe7f4;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-downloads-hub .download-hero-inner {
  display: block;
  min-height: 0;
  padding: 22px 24px 20px;
}

.page-downloads-hub .download-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 22px;
  align-items: center;
}

.page-downloads-hub .download-copy h1 {
  color: #0f172a;
  font-size: 24px;
  line-height: 1.32;
}

.page-downloads-hub .download-copy h1::before {
  height: 22px;
  background: #1269f3;
}

.page-downloads-hub .download-copy p {
  max-width: 880px;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.page-downloads-hub .download-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
  padding: 16px 24px;
  border-color: #dbe7f4;
  background: #fff;
}

.page-downloads-hub .download-filter {
  gap: 8px;
}

.page-downloads-hub .download-filter a,
.page-downloads-hub .download-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d8e5f3;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  line-height: 32px;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.page-downloads-hub .download-filter a:hover,
.page-downloads-hub .download-filter button:hover {
  border-color: #b9d8ff;
  background: #f4f9ff;
  color: #1269f3;
}

.page-downloads-hub .download-filter a.active,
.page-downloads-hub .download-filter button.active {
  border-color: #8cc3ff;
  background: #eef6ff;
  color: #1269f3;
}

.page-downloads-hub .download-search {
  width: 100%;
  height: 40px;
  border-color: #d8e5f3;
  border-radius: 8px;
  background: #f8fbff;
}

.page-downloads-hub .download-search input {
  height: 38px;
  padding-left: 36px;
  font-size: 14px;
}

.page-downloads-hub .download-content {
  padding: 0;
  border: 1px solid #dbe7f4;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.page-downloads-hub .download-result-summary {
  margin: 16px 24px 0;
  border-color: #dbeafe;
  background: #f8fbff;
  color: #334155;
}

.page-downloads-hub .download-grid {
  display: grid;
  gap: 10px;
  padding: 18px 24px 22px;
}

.page-downloads-hub .download-grid .download-inline-notice {
  min-height: 44px;
  padding: 10px 12px 10px 14px;
  border-color: #dbeafe;
  background: #f8fbff;
}

.page-downloads-hub .download-grid .download-inline-notice strong {
  color: #475569;
  font-size: 13px;
}

.page-downloads-hub .download-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 152px;
  gap: 16px;
  align-items: center;
  min-height: 116px;
  padding: 16px;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
  transition: border-color .18s ease, background-color .18s ease;
}

.page-downloads-hub .download-card:hover {
  border-color: #b9d8ff;
  background: #fbfdff;
}

.page-downloads-hub .download-card-icon {
  width: 46px;
  height: 56px;
  border-color: #cfe0f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fcff 0%, #eef6ff 100%);
  color: #1269f3;
}

.page-downloads-hub .download-card-icon em {
  max-width: 36px;
  height: 18px;
  margin-top: 14px;
  background: #1269f3;
  font-size: 10px;
  line-height: 18px;
}

.page-downloads-hub .download-card-main,
.page-downloads-hub .download-card > div {
  grid-column: auto;
  min-width: 0;
}

.page-downloads-hub .download-card strong {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-downloads-hub .download-card strong a {
  color: inherit;
}

.page-downloads-hub .download-card p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.page-downloads-hub .download-card-meta {
  gap: 6px;
  margin-top: 10px;
}

.page-downloads-hub .download-card-meta em {
  height: 24px;
  padding: 0 8px;
  border-color: #dfe9f5;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 22px;
}

.page-downloads-hub .download-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: center;
  justify-content: flex-end;
  min-width: 0;
}

.page-downloads-hub .download-card .member-primary-action,
.page-downloads-hub .download-card button[data-download-resource] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 124px;
  padding: 0 12px;
  height: 40px;
  border-color: #1269f3;
  border-radius: 8px;
  background: #1269f3;
  color: #fff;
  font-size: 13px;
  line-height: 38px;
  font-weight: 900;
}

.page-downloads-hub .download-card .collect-link,
.page-downloads-hub .download-card button[data-save-resource] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 64px;
  padding: 0 10px;
  height: 36px;
  border-color: #d8e5f3;
  border-radius: 8px;
  background: #fff;
  color: #1269f3;
  font-size: 13px;
  line-height: 34px;
  font-weight: 800;
}

.page-downloads-hub .download-card [data-icon] {
  width: 16px;
  height: 16px;
}

.page-downloads-hub .download-pager {
  margin: 0;
  padding: 4px 24px 24px;
}

.page-downloads-hub .pagination {
  justify-content: center;
}

@media (max-width: 1024px) {
  .page-downloads-hub .download-copy,
  .page-downloads-hub .download-toolbar,
  .page-downloads-hub .download-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-downloads-hub .download-card {
    align-items: start;
  }

  .page-downloads-hub .download-card-icon {
    grid-row: auto;
  }

  .page-downloads-hub .download-card-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-downloads-hub .downloads-main {
    padding-top: 16px;
  }

  .page-downloads-hub .download-hero-inner,
  .page-downloads-hub .download-toolbar,
  .page-downloads-hub .download-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .page-downloads-hub .download-copy h1 {
    white-space: normal;
  }

  .page-downloads-hub .download-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page-downloads-hub .download-filter a,
  .page-downloads-hub .download-filter button {
    flex: 0 0 auto;
  }

  .page-downloads-hub .download-card {
    gap: 12px;
    padding: 14px;
  }

  .page-downloads-hub .download-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-downloads-hub .download-card .member-primary-action,
  .page-downloads-hub .download-card button[data-download-resource],
  .page-downloads-hub .download-card .collect-link,
  .page-downloads-hub .download-card button[data-save-resource] {
    width: 100%;
  }
}

/* School detail page polish - 2026-06-12 */
.page-school-detail .school-detail-main {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto 28px;
  padding: 24px var(--page-gutter) 0;
}

.page-school-detail .breadcrumb {
  width: var(--inner);
  margin: 0 auto 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.page-school-detail .breadcrumb a {
  color: #2563eb;
  font-weight: 800;
}

.page-school-detail .school-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  align-items: stretch;
  width: var(--inner);
  margin: 0 auto 20px;
  padding: 28px 30px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-school-detail .school-detail-titleline {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.page-school-detail .school-detail-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eef6ff;
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
}

.page-school-detail .school-detail-logo::after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.page-school-detail .school-detail-logo-image {
  overflow: hidden;
  background: #fff;
}

.page-school-detail .school-detail-logo-image::after {
  content: none;
}

.page-school-detail .school-detail-logo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.page-school-detail .school-detail-heading {
  min-width: 0;
}

.page-school-detail .school-detail-kicker {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin-bottom: 8px;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1269f3;
  font-size: 12px;
  line-height: 24px;
  font-weight: 900;
}

.page-school-detail .school-detail-heading h1 {
  margin: 0;
  color: #0f172a;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.page-school-detail .school-detail-heading p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.page-school-detail .school-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-school-detail .school-detail-tags span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  line-height: 26px;
  font-weight: 800;
}

.page-school-detail .school-detail-keyfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}

.page-school-detail .school-detail-keyfacts span {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 112px;
  padding: 16px 14px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: #fff;
}

.page-school-detail .school-detail-keyfacts em {
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.page-school-detail .school-detail-keyfacts strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #1269f3;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
}

.page-school-detail .school-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  width: var(--inner);
  margin: 0 auto;
}

.page-school-detail .school-detail-content,
.page-school-detail .school-detail-sidebar {
  min-width: 0;
}

.page-school-detail .school-detail-content {
  display: grid;
  gap: 16px;
}

.page-school-detail .school-detail-section,
.page-school-detail .school-detail-side-card {
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: #fff;
}

.page-school-detail .school-detail-section {
  padding: 22px 24px;
}

.page-school-detail .school-detail-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
}

.page-school-detail .school-detail-section-head h2,
.page-school-detail .school-detail-side-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.page-school-detail .school-detail-section-head p {
  max-width: 520px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.page-school-detail .school-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-school-detail .school-detail-info-grid p,
.page-school-detail .school-detail-side-list p {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  background: #f8fbff;
}

.page-school-detail .school-detail-info-grid span,
.page-school-detail .school-detail-side-list span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.page-school-detail .school-detail-info-grid strong,
.page-school-detail .school-detail-side-list strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 900;
}

.page-school-detail .school-detail-empty {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: #fbfdff;
}

.page-school-detail .school-detail-empty > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #eef6ff;
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
}

.page-school-detail .school-detail-empty > span::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.page-school-detail .school-detail-empty strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.page-school-detail .school-detail-empty p {
  grid-column: 2;
  margin: -6px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.page-school-detail .school-detail-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.page-school-detail .school-detail-side-card {
  padding: 18px;
}

.page-school-detail .school-detail-side-card h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.page-school-detail .school-detail-side-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.page-school-detail .school-detail-actions {
  display: grid;
  gap: 10px;
}

.page-school-detail .school-detail-actions h3 {
  margin-bottom: 4px;
}

.page-school-detail .school-detail-actions a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  transition: border-color .18s ease, background-color .18s ease;
}

.page-school-detail .school-detail-actions a:hover {
  border-color: #b9d8ff;
  background: #f8fbff;
}

.page-school-detail .school-detail-actions a span {
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef6ff;
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
}

.page-school-detail .school-detail-actions a span::after {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.page-school-detail .school-detail-actions strong {
  min-width: 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.page-school-detail .school-detail-actions em {
  min-width: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
}

@media (max-width: 1180px) {
  .page-school-detail .school-detail-hero,
  .page-school-detail .school-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-detail .school-detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-school-detail .school-detail-main {
    padding-top: 16px;
  }

  .page-school-detail .school-detail-hero,
  .page-school-detail .school-detail-section,
  .page-school-detail .school-detail-side-card {
    padding: 18px;
  }

  .page-school-detail .school-detail-titleline,
  .page-school-detail .school-detail-section-head {
    display: grid;
    align-items: start;
  }

  .page-school-detail .school-detail-heading h1 {
    font-size: 26px;
  }

  .page-school-detail .school-detail-keyfacts,
  .page-school-detail .school-detail-info-grid,
  .page-school-detail .school-detail-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-detail .school-detail-section-head p {
    max-width: none;
    text-align: left;
  }

  .page-school-detail .school-detail-empty {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-detail .school-detail-empty p {
    grid-column: auto;
    margin-top: 0;
  }
}

.page-school-library .school-list-panel .search-pagination {
  margin: 24px 0 4px;
  padding: 14px 0 0;
  border-top: 1px solid #e5edf6;
  min-height: 58px;
}

.page-school-library .school-list-panel + .search-pagination,
.page-school-library main + .cms-feature-strip,
.page-school-library .inner-main + .cms-feature-strip {
  margin-top: 24px;
}

.page-school-library .cms-feature-strip {
  border-top: 1px solid #dce7f3;
}

.page-school-library .cms-footer-main:not(:has(.cms-footer-links)) {
  display: block;
}

.page-downloads-hub .download-hero,
.page-downloads-hub .download-hero-inner,
.page-downloads-hub .download-toolbar,
.page-downloads-hub .download-content,
.page-downloads-hub .download-grid,
.page-downloads-hub .download-pager {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-major-library .major-hero,
.page-major-library .major-filter-panel,
.page-major-library .major-list-section {
  box-sizing: border-box;
  width: min(100%, var(--inner));
  max-width: calc(100vw - 48px);
}

/* Member center polish - 2026-06-12 */
.page-member-center {
  background: #f4f7fb;
}

.page-member-center .inner-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #dde8f3;
}

.member-commercial-main {
  padding: 26px 0 36px;
}

.member-commercial-page .member-auth-panel {
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: 22px;
  align-items: stretch;
}

.member-auth-copy {
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.member-auth-hero,
.member-login-card,
.member-benefit-card,
.member-workspace-head,
.member-profile-card,
.member-action-card,
.member-record-card,
.member-service-banner,
.member-stat-cards a {
  border: 1px solid #d8e4f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.member-auth-hero {
  position: relative;
  min-height: 228px;
  padding: 32px;
  overflow: hidden;
}

.member-auth-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #1269f3;
}

.member-auth-hero h1 {
  max-width: 680px;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 900;
}

.member-auth-hero p {
  max-width: 760px;
  margin: 0;
  color: #52647a;
  font-size: 15px;
  line-height: 1.85;
}

.member-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 1px solid #cfe2fb;
  border-radius: 999px;
  background: #f3f8ff;
  color: #1269f3;
  font-size: 13px;
  font-weight: 900;
}

.member-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.member-proof-row span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #e2ebf6;
  border-radius: 8px;
  background: #fbfdff;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.member-proof-row strong {
  color: #1269f3;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.member-benefit-card {
  padding: 24px;
}

.member-benefit-card h2,
.member-card-title h2 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.member-benefit-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-benefit-card li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #e3ecf7;
  border-radius: 8px;
  background: #fbfdff;
}

.member-benefit-card li span[data-icon] {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.member-benefit-card li strong {
  min-width: 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.member-benefit-card li em {
  min-width: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-style: normal;
}

.member-login-card {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 26px;
}

.member-card-title p {
  margin: -8px 0 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.member-login-form {
  gap: 15px;
}

.member-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.member-field-label {
  color: #1f2b3d;
  font-size: 14px;
  font-weight: 900;
}

.member-input-shell {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.member-input-shell:focus-within {
  border-color: #1269f3;
  box-shadow: 0 0 0 3px rgba(18, 105, 243, .1);
}

.member-input-shell > [data-icon] {
  width: 17px;
  height: 17px;
  margin: 0 auto;
  color: #8aa0b8;
}

.member-input-shell input,
.member-profile-form input,
.member-profile-form select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font: inherit;
}

.member-input-shell input::placeholder,
.member-profile-form input::placeholder {
  color: #9aaabd;
}

.member-code-input {
  grid-template-columns: 38px minmax(0, 1fr) 112px;
  padding-right: 5px;
}

.member-code-input button {
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: #eef6ff;
  color: #1269f3;
  font-weight: 900;
  cursor: pointer;
}

.member-field em {
  color: #718195;
  font-size: 12px;
  line-height: 1.55;
  font-style: normal;
}

.member-form-row,
.member-check {
  color: #52647a;
  font-size: 13px;
}

.member-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}

.member-check input {
  margin-top: 2px;
  accent-color: #1269f3;
}

.member-primary-action {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #1269f3;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.member-primary-action:hover {
  background: #075bd6;
}

.member-primary-action:active {
  transform: translateY(1px);
}

.member-login-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.member-login-links a {
  min-height: 38px;
  border-color: #d8e4f1;
  background: #fbfdff;
}

.member-login-trust {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.member-legal {
  margin: 14px 0 0;
  color: #718195;
  font-size: 12px;
  line-height: 1.65;
}

.member-workspace {
  width: var(--inner);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.member-workspace-head {
  margin: 0;
  padding: 24px;
}

.member-workspace-head h2 {
  font-size: 26px;
  font-weight: 900;
}

.member-stat-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-stat-cards a {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 104px;
  padding: 20px;
  text-decoration: none;
}

.member-stat-cards a > [data-icon] {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.member-stat-cards strong {
  color: #1269f3;
  font-size: 30px;
  font-weight: 900;
}

.member-profile-card,
.member-action-card,
.member-record-card,
.member-service-banner {
  padding: 24px;
}

.member-profile-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.member-profile-form label {
  display: grid;
  gap: 8px;
  color: #1f2b3d;
  font-size: 14px;
  font-weight: 900;
}

.member-profile-form input,
.member-profile-form select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #fbfdff;
}

.member-desk-grid a {
  border-radius: 8px;
}

.member-service-banner {
  align-items: center;
}

.member-login-card a:hover,
.member-card-head a:hover,
.member-stat-cards a:hover,
.member-desk-grid a:hover,
.member-service-banner a:hover {
  border-color: #b9d8ff;
  background: #f5f9ff;
}

.member-login-card a:focus-visible,
.member-login-card button:focus-visible,
.member-login-card input:focus-visible,
.member-workspace a:focus-visible,
.member-workspace button:focus-visible,
.member-workspace input:focus-visible,
.member-workspace select:focus-visible {
  outline: 3px solid rgba(18, 105, 243, .16);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .member-commercial-page .member-auth-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-login-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .member-commercial-main {
    padding: 16px 0 24px;
  }

  .member-auth-hero,
  .member-login-card,
  .member-benefit-card,
  .member-workspace-head,
  .member-profile-card,
  .member-action-card,
  .member-record-card,
  .member-service-banner,
  .member-stat-cards a {
    padding: 18px;
  }

  .member-auth-hero h1 {
    font-size: 26px;
  }

  .member-proof-row,
  .member-benefit-card ul,
  .member-login-links,
  .member-stat-cards,
  .member-workspace-layout,
  .member-record-grid,
  .member-profile-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-code-input {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-right: 0;
  }

  .member-code-input button {
    grid-column: 1 / -1;
    margin: 0 5px 5px;
  }

  .member-workspace-head,
  .member-service-banner {
    display: grid;
    align-items: start;
  }
}

/* Member dashboard final layout - 2026-06-13 */
.page-member-dashboard .member-commercial-main {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px var(--page-gutter) 32px;
}

.page-member-dashboard .member-dashboard-shell {
  display: grid;
  gap: 18px;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-member-dashboard .member-dashboard-hero,
.page-member-dashboard .member-dashboard-panel,
.page-member-dashboard .member-dashboard-stats a {
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.page-member-dashboard .member-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 22px 24px;
}

.page-member-dashboard .member-dashboard-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0;
}

.page-member-dashboard .member-dashboard-hero p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #52647a;
  font-size: 14px;
  line-height: 1.7;
}

.member-dashboard-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.member-dashboard-actions a,
.page-member-dashboard .member-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.member-dashboard-actions a {
  border-color: #1269f3;
  background: #1269f3;
  color: #fff;
}

.page-member-dashboard .member-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.page-member-dashboard .member-dashboard-stats a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  color: #334155;
  text-decoration: none;
}

.page-member-dashboard .member-dashboard-stats a > [data-icon] {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f5f9ff;
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
}

.page-member-dashboard .member-dashboard-stats a > [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;
}

.page-member-dashboard .member-dashboard-stats small,
.page-member-dashboard .member-dashboard-stats em,
.page-member-dashboard .member-dashboard-stats b {
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 800;
}

.page-member-dashboard .member-dashboard-stats strong {
  color: #1269f3;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.page-member-dashboard .member-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-member-dashboard .member-dashboard-panel {
  min-width: 0;
  padding: 22px;
}

.page-member-dashboard .member-dashboard-panel-wide {
  grid-column: 1 / -1;
}

.page-member-dashboard .member-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.page-member-dashboard .member-card-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.page-member-dashboard .member-card-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #fbfdff;
  color: #1269f3;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.page-member-dashboard .member-record-list {
  display: grid;
  gap: 10px;
}

.page-member-dashboard .member-record-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #e3ecf7;
  border-radius: 8px;
  background: #fbfdff;
}

.page-member-dashboard .member-record-item strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 900;
}

.page-member-dashboard .member-record-item span {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.page-member-dashboard .member-record-item em,
.page-member-dashboard .member-record-item a {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.page-member-dashboard .member-record-item a {
  color: #1269f3;
}

.page-member-dashboard .member-sub-empty {
  display: grid;
  align-content: center;
  min-height: 104px;
  padding: 18px;
  border: 1px dashed #cfddeb;
  border-radius: 8px;
  background: #fbfdff;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.page-member-dashboard .member-desk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.page-member-dashboard .member-desk-grid a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid #e3ecf7;
  border-radius: 8px;
  background: #fbfdff;
  color: #334155;
}

.page-member-dashboard .member-desk-grid a [data-icon] {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f5f9ff;
  color: #1269f3;
  mask: none;
  -webkit-mask: none;
}

.page-member-dashboard .member-desk-grid a [data-icon]::after {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.page-member-dashboard .member-desk-grid strong {
  min-width: 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.page-member-dashboard .member-desk-grid p {
  min-width: 0;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.page-member-dashboard .member-desk-grid b {
  color: #1269f3;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .page-member-dashboard .member-dashboard-stats,
  .page-member-dashboard .member-desk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-member-dashboard .member-commercial-main {
    padding: 16px 12px 24px;
  }

  .page-member-dashboard .member-dashboard-hero,
  .page-member-dashboard .member-dashboard-grid,
  .page-member-dashboard .member-dashboard-stats,
  .page-member-dashboard .member-desk-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-member-dashboard .member-dashboard-hero {
    padding: 18px;
  }

  .member-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .page-member-dashboard .member-dashboard-hero h1 {
    font-size: 24px;
  }

  .page-member-dashboard .member-dashboard-panel {
    padding: 18px;
  }
}

/* School detail sidebar final polish - 2026-06-13 */
.page-school-detail .school-detail-layout {
  align-items: start;
}

.page-school-detail .school-detail-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-school-detail .school-detail-side-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.page-school-detail .school-detail-side-card h3 {
  display: flex;
  align-items: center;
  min-height: 60px;
  margin: 0;
  padding: 0 20px;
  border-bottom: 1px solid #edf2f7;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.page-school-detail .school-detail-side-card h3::before {
  content: "";
  display: block;
  width: 4px;
  height: 22px;
  margin-right: 10px;
  border-radius: 999px;
  background: #1269f3;
}

.page-school-detail .school-detail-side-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 18px 18px;
}

.page-school-detail .school-detail-side-list p {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  border-radius: 0;
  background: transparent;
}

.page-school-detail .school-detail-side-list p:last-child {
  border-bottom: 0;
}

.page-school-detail .school-detail-side-list span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  white-space: nowrap;
}

.page-school-detail .school-detail-side-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 900;
  text-align: right;
}

.page-school-detail .school-detail-side-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1269f3;
  font-size: 13px;
  line-height: 28px;
  font-weight: 900;
  white-space: nowrap;
}

.page-school-detail .school-detail-actions {
  display: grid;
  gap: 0;
  padding-bottom: 14px;
}

.page-school-detail .school-detail-actions h3 {
  margin-bottom: 0;
}

.page-school-detail .school-detail-actions a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  min-height: 74px;
  margin: 12px 14px 0;
  padding: 12px;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  background: #fbfdff;
  color: #0f172a;
}

.page-school-detail .school-detail-actions a span {
  grid-row: 1 / span 2;
}

@media (min-width: 1181px) {
  .page-school-detail .school-detail-sidebar {
    position: sticky;
    top: 88px;
  }
}

@media (max-width: 760px) {
  .page-school-detail .school-detail-side-list p {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .page-school-detail .school-detail-side-list strong,
  .page-school-detail .school-detail-side-list a {
    justify-self: start;
    text-align: left;
  }
}

/* Final override: school detail legacy route spacing and wide-table containment. */
.page-school-library .school-detail-main {
  width: min(100%, 1440px);
  max-width: 1440px;
  margin: 0 auto 28px;
  padding: 24px var(--page-gutter) 0;
}

.page-school-library .school-detail-main .breadcrumb {
  width: min(100%, 1160px);
  margin: 0 auto 14px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.page-school-library .school-detail-main .school-profile-hero,
.page-school-library .school-detail-main .detail-layout {
  width: min(100%, 1160px);
  margin-right: auto;
  margin-left: auto;
}

.page-school-library .school-detail-main .school-profile-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 22px;
  margin-bottom: 20px;
  padding: 28px 30px;
}

.page-school-library .school-detail-main .school-profile-hero h1 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.page-school-library .school-detail-main .school-profile-hero p {
  margin-bottom: 14px;
  color: #536274;
  line-height: 1.65;
}

.page-school-library .school-detail-main .school-profile-stats span {
  min-height: 104px;
}

.page-school-library .school-detail-main .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.page-school-library .school-detail-main .article-detail-main,
.page-school-library .school-detail-main .detail-sidebar {
  min-width: 0;
}

.page-school-library .school-detail-main .article-detail-main > .article-body {
  padding: 26px 30px 30px;
}

.page-school-library .school-detail-main .article-body {
  color: #243145;
  font-size: 15px;
  line-height: 1.82;
}

.page-school-library .school-detail-main .article-body h2 {
  margin: 28px 0 14px;
  padding-top: 4px;
  color: #172033;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 850;
}

.page-school-library .school-detail-main .article-body h2:first-child {
  margin-top: 0;
}

.page-school-library .school-detail-main .detail-data-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
  border: 0;
  background: transparent;
}

.page-school-library .school-detail-main .detail-data-list li {
  display: grid;
  grid-template-columns: minmax(90px, auto) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid #e1ebf6;
  border-radius: 8px;
  background: #f8fbff;
}

.page-school-library .school-detail-main .detail-data-list span {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.page-school-library .school-detail-main .detail-data-list strong {
  min-width: 0;
  color: #172033;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) li {
  min-width: 0;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: #f8fbff;
  color: #1269f3;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
}

.page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) a:hover {
  border-color: rgba(18, 105, 243, .32);
  background: #eef6ff;
}

.page-school-library .school-detail-main .article-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 26px;
  overflow-x: auto;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.page-school-library .school-detail-main .article-body tbody {
  display: table;
  min-width: 980px;
  width: 100%;
  border-collapse: collapse;
}

.page-school-library .school-detail-main .article-body th,
.page-school-library .school-detail-main .article-body td {
  padding: 10px 12px;
  border: 1px solid #e5edf7;
  color: #26364a;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.page-school-library .school-detail-main .article-body th {
  background: #f3f7fc;
  color: #172033;
  font-weight: 850;
}

.page-school-library .school-detail-main .article-body td[rowspan] {
  min-width: 260px;
  color: #4f5f72;
  font-size: 12px;
  line-height: 1.65;
}

.page-school-library .school-detail-main .detail-sidebar {
  display: grid;
  gap: 18px;
}

@media (max-width: 1180px) {
  .page-school-library .school-detail-main .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-library .school-detail-main .detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-school-library .school-detail-main {
    padding-top: 16px;
  }

  .page-school-library .school-detail-main .school-profile-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .page-school-library .school-detail-main .school-profile-stats,
  .page-school-library .school-detail-main .detail-data-list,
  .page-school-library .school-detail-main .detail-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-school-library .school-detail-main .article-detail-main > .article-body {
    padding: 22px;
  }

  .page-school-library .school-detail-main .article-body > ul:not(.detail-data-list) {
    grid-template-columns: minmax(0, 1fr);
  }
}
