* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1440px;
  background: #f5f6f8;
  color: #172033;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.cms-container {
  width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}

.cms-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.cms-header .cms-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.cms-logo img {
  display: block;
  width: 181px;
  height: 40px;
  object-fit: contain;
}

.cms-nav {
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
  margin-left: 24px;
}

.cms-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: #26364a;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.cms-nav a.active {
  color: #1269f3;
}

.cms-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 4px;
  margin-left: -18px;
  background: #1269f3;
  border-radius: 4px;
}

.cms-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 8px;
  background: #1269f3;
  box-shadow: 0 6px 16px rgba(15, 42, 76, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.cms-btn [data-icon] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: currentColor;
}

.cms-btn.light {
  background: #fafafa;
  color: #1269f3;
}

.cms-hero {
  height: 420px;
  overflow: hidden;
  background: #1477db url("assets/figma-make-pc/images/header-bg-original.png") center / cover no-repeat;
  color: #fff;
}

.cms-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.cms-hero h1 {
  width: 100%;
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.cms-search-tabs {
  display: flex;
  width: 720px;
  height: 48px;
}

.cms-search-tabs span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  background: #2e91df;
  color: #d8ecff;
  font-size: 16px;
  font-weight: 600;
}

.cms-search-tabs span.active {
  background: #fff;
  color: #1269f3;
}

.cms-search-form {
  display: flex;
  width: 720px;
  height: 58px;
}

.cms-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 24px;
  color: #26364a;
  font-size: 16px;
}

.cms-search-form button {
  width: 120px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: #1269f3;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.cms-hotwords {
  width: 720px;
  margin: 12px 0 0;
  color: #e8f4ff;
  font-size: 14px;
}

.cms-hotwords a {
  margin: 0 8px;
}

.cms-hero-signals {
  display: flex;
  gap: 10px;
  width: 720px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cms-hero-signals li {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(8, 92, 174, .2);
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}

.cms-hero-signals strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.cms-hero-signals span {
  font-size: 13px;
}

.cms-home-wrap {
  padding: 0 34px;
}

.cms-quick {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  padding: 4px 24px;
  background: #fff;
  border: 1px solid #e4ecf6;
  border-radius: 6px;
  box-shadow: 0 10px 14px rgba(15, 42, 76, 0.08);
}

.cms-quick ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  color: #26364a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.cms-quick i,
.cms-quick [data-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e8eff7;
  border-radius: 10px;
  background: #f8fafc;
  color: #1269f3;
  font-size: 13px;
  font-style: normal;
  mask: none;
  -webkit-mask: none;
}

.cms-quick [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;
}

.cms-quick li:nth-child(1) [data-icon] { background: #f8fafc; color: #1269f3; }
.cms-quick li:nth-child(2) [data-icon] { background: #f8fafc; color: #16a34a; }
.cms-quick li:nth-child(3) [data-icon] { background: #f8fafc; color: #9333ea; }
.cms-quick li:nth-child(4) [data-icon] { background: #f8fafc; color: #ea580c; }
.cms-quick li:nth-child(5) [data-icon] { background: #f8fafc; color: #0891b2; }
.cms-quick li:nth-child(6) [data-icon] { background: #f8fafc; color: #dc2626; }
.cms-quick li:nth-child(7) [data-icon] { background: #f8fafc; color: #d97706; }
.cms-quick li:nth-child(8) [data-icon] { background: #f8fafc; color: #4f46e5; }
.cms-quick li:nth-child(9) [data-icon] { background: #f8fafc; color: #db2777; }
.cms-quick li:nth-child(10) [data-icon] { background: #f8fafc; color: #0e7490; }
.cms-quick li:nth-child(11) [data-icon] { background: #f8fafc; color: #7c3aed; }
.cms-quick li:nth-child(12) [data-icon] { background: #f8fafc; color: #059669; }
.cms-quick li:nth-child(13) [data-icon] { background: #f8fafc; color: #e11d48; }
.cms-quick li:nth-child(14) [data-icon] { background: #f8fafc; color: #475569; }

.cms-main {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.cms-left-stack {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
}

.cms-right-stack {
  display: flex;
  width: 372px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
}

.cms-card {
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(15, 42, 76, 0.04);
}

.cms-news-card,
.cms-assistant,
.cms-hot-downloads,
.cms-schools-card,
.cms-tools-card,
.cms-updates-card {
  padding: 24px;
}

.cms-hot-downloads {
  flex: 1 1 auto;
}

.cms-filter-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5edf6;
}

.home-tab-head {
  justify-content: flex-start;
}

.home-tab-head .tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-filter-head h2,
.cms-side-head h2,
.cms-tools-card h2,
.cms-updates-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.cms-filter-head h2 {
  margin-right: 4px;
}

.cms-filter-head > a,
.home-tab-head .tabs a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fafafa;
  color: #44566c;
  font-size: 14px;
  font-weight: 600;
}

.cms-filter-head > a.active,
.home-tab-head .tabs a.active {
  border-color: #cfd8e3;
  background: #fff;
  color: #1269f3;
}

.cms-news-list,
.cms-download-list,
.cms-school-list,
.cms-tool-list,
.cms-update-list,
.cms-op-cards,
.cms-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}

.cms-news-list li,
.cms-download-list li,
.cms-update-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cms-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  border-radius: 4px;
  background: #1687f5;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cms-news-list li:nth-child(1) .cms-rank,
.cms-download-list li:nth-child(1) .cms-rank {
  background: #f59e0b;
}

.cms-news-list li:nth-child(2) .cms-rank,
.cms-download-list li:nth-child(2) .cms-rank {
  background: #64748b;
}

.cms-news-list li:nth-child(3) .cms-rank,
.cms-download-list li:nth-child(3) .cms-rank {
  background: #b45309;
}

.cms-news-list a,
.cms-download-list a,
.cms-update-list a {
  flex: 1;
  min-width: 0;
  color: #1f3148;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.cms-material-list .cms-rank {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  margin-top: 0;
}

.cms-news-list time,
.cms-download-list time,
.cms-update-list time {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.cms-more {
  margin: 22px 0 0;
  text-align: center;
}

.cms-more a {
  color: #1269f3;
  font-size: 15px;
  font-weight: 600;
}

.cms-op-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.cms-op-cards a {
  display: block;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #fff;
}

.cms-op-cards li:nth-child(2) a {
  border-color: #e1e7ef;
  background: #fff;
}

.cms-op-cards li:nth-child(3) a {
  border-color: #e1e7ef;
  background: #fff;
}

.cms-op-cards li:nth-child(4) a {
  border-color: #e1e7ef;
  background: #fff;
}

.cms-op-cards strong {
  display: block;
  color: #1f3148;
  font-size: 15px;
}

.cms-op-cards span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
}

.cms-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.cms-side-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 42, 76, 0.1);
  color: #1269f3;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.cms-assistant-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cms-assistant-body i,
.cms-assistant-body [data-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid #cfe5ff;
  border-radius: 14px;
  background: #f8fafc;
  color: #1269f3;
  font-style: normal;
  font-weight: 700;
  mask: none;
  -webkit-mask: none;
}

.cms-assistant-body [data-icon]::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;
}

.cms-assistant-body strong {
  display: block;
  color: #1f3148;
  font-size: 17px;
}

.cms-assistant-body p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.cms-plan-card {
  display: block;
  overflow: hidden;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(15, 42, 76, 0.04);
}

.cms-plan-card img {
  display: block;
  width: 100%;
  height: auto;
}

.cms-download-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cms-download-list a {
  font-size: 15px;
}

.cms-bottom-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.cms-schools-card {
  flex: 1;
  min-width: 0;
}

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

.cms-school-list a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 62px;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}

.cms-school-list a > span:not(.cms-school-logo) {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.cms-school-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid #e8f0f8;
  border-radius: 10px;
  overflow: hidden;
}

.cms-school-logo img {
  max-width: 30px;
  max-height: 30px;
}

.cms-school-list strong {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-school-list span span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.cms-tools-card,
.cms-updates-card {
  width: 310px;
  flex-shrink: 0;
}

.cms-tools-card h2,
.cms-updates-card h2 {
  margin-bottom: 16px;
}

.cms-tool-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cms-tool-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 88px;
  padding: 14px 4px;
  border: 1px solid #e2ecf7;
  border-radius: 8px;
  background: #fff;
  color: #26364a;
  font-size: 13px;
  font-weight: 600;
}

.cms-tool-list i,
.cms-tool-list [data-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f8fafc;
  color: #dc2626;
  font-style: normal;
  mask: none;
  -webkit-mask: none;
}

.cms-tool-list [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;
}

.cms-tool-list li:nth-child(2) i,
.cms-tool-list li:nth-child(2) [data-icon] {
  background: #f8fafc;
  color: #d97706;
}

.cms-tool-list li:nth-child(3) i,
.cms-tool-list li:nth-child(4) i,
.cms-tool-list li:nth-child(3) [data-icon],
.cms-tool-list li:nth-child(4) [data-icon] {
  background: #f8fafc;
  color: #0e7490;
}

.cms-tool-list li:nth-child(5) i,
.cms-tool-list li:nth-child(5) [data-icon] {
  background: #f8fafc;
  color: #059669;
}

.cms-tool-list li:nth-child(6) i,
.cms-tool-list li:nth-child(6) [data-icon] {
  background: #f8fafc;
  color: #9333ea;
}

.cms-update-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cms-update-list a {
  font-size: 14px;
}

.cms-feature-strip {
  margin-top: 24px;
  background: #fff;
  border-top: 1px solid #e4ecf6;
  border-bottom: 1px solid #e4ecf6;
}

.cms-feature-strip ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 28px 0;
  list-style: none;
}

.cms-feature-strip li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cms-feature-strip i,
.cms-feature-strip [data-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f8fafc;
  color: #1269f3;
  font-style: normal;
  font-weight: 700;
  mask: none;
  -webkit-mask: none;
}

.cms-feature-strip [data-icon]::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;
}

.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;
  color: #1f3148;
  font-size: 17px;
}

.cms-feature-strip p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.cms-footer {
  margin-top: 24px;
  background: #0f172a;
  color: #cbd5e1;
}

.cms-footer-main {
  display: flex;
  gap: 70px;
  padding: 40px 0 28px;
}

.cms-footer-brand {
  width: 260px;
  flex-shrink: 0;
}

.cms-footer-brand strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 22px;
}

.cms-footer-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.cms-footer-links {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 36px;
}

.cms-footer-links strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.cms-footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 13px;
}

.cms-copyright {
  padding: 16px 0 22px;
  border-top: 1px solid #263244;
  color: #94a3b8;
  font-size: 13px;
}

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

/* UI polish pass - 2026-06-11 */
:root {
  --cms-page-max: 1440px;
  --cms-content-max: 1296px;
  --cms-gutter: clamp(18px, 4vw, 72px);
  --cms-blue: #1269f3;
  --cms-text: #172033;
  --cms-muted: #64748b;
  --cms-line: #e1eaf4;
}

html {
  background: #f5f7fb;
}

body {
  min-width: 0;
  background: #f5f7fb;
  color: var(--cms-text);
  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);
}

button,
input {
  font: inherit;
}

.cms-container {
  width: min(100%, var(--cms-page-max));
  padding-right: var(--cms-gutter);
  padding-left: var(--cms-gutter);
}

.cms-header {
  height: 68px;
  border-bottom-color: #edf1f6;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.cms-header .cms-container {
  gap: 24px;
}

.cms-logo {
  flex: 0 0 auto;
}

.cms-nav {
  gap: 2px;
  margin-left: 0;
  overflow: hidden;
}

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

.cms-nav a:hover {
  color: var(--cms-blue);
}

.cms-nav a.active::after {
  height: 3px;
}

.cms-header-actions {
  gap: 10px;
  margin-left: auto;
}

.cms-btn {
  min-width: 76px;
  height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(18, 105, 243, .14);
}

.cms-btn.light {
  background: #f5f9ff;
  box-shadow: none;
}

.cms-hero {
  height: 344px;
}

.cms-hero-inner {
  justify-content: flex-start;
  padding-top: 56px;
}

.cms-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(30px, 2.8vw, 36px);
  line-height: 1.24;
  letter-spacing: 0;
}

.cms-search-tabs,
.cms-search-form,
.cms-hotwords,
.cms-hero-signals {
  width: min(720px, 100%);
}

.cms-search-tabs {
  height: 44px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.cms-search-tabs span {
  flex: 1 1 0;
  width: auto;
  font-size: 15px;
}

.cms-search-form {
  height: 56px;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 32px rgba(15, 42, 76, .14);
}

.cms-search-form input[type="search"] {
  padding: 0 22px;
  font-size: 15px;
}

.cms-search-form button {
  width: 116px;
  border-radius: 0;
  font-size: 15px;
}

.cms-hotwords {
  margin-top: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.cms-hotwords a {
  margin: 0 6px;
}

.cms-hero-signals {
  margin-top: 12px;
}

.cms-home-wrap {
  width: min(100%, var(--cms-page-max));
  padding-right: var(--cms-gutter);
  padding-left: var(--cms-gutter);
}

.cms-quick {
  margin-top: -34px;
  padding: 10px 16px;
  border-color: var(--cms-line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 42, 76, .08);
}

.cms-quick ul {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 6px;
}

.cms-quick a {
  min-height: 66px;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 8px;
  color: #26364a;
  font-size: 13px;
  line-height: 1.25;
}

.cms-quick a:hover,
.cms-tool-list a:hover,
.cms-op-cards a:hover,
.cms-school-list a:hover {
  border-color: #c9e1ff;
  background: #f8fbff;
  color: var(--cms-blue);
}

.cms-quick [data-icon],
.cms-tool-list [data-icon],
.cms-assistant-body [data-icon],
.cms-feature-strip [data-icon] {
  border-color: #eef3f9;
}

.cms-quick [data-icon] {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.cms-quick [data-icon]::after {
  width: 17px;
  height: 17px;
}

.cms-main,
.cms-bottom-row {
  gap: 18px;
  margin-top: 18px;
}

.cms-main,
.cms-left-stack,
.cms-right-stack,
.cms-bottom-row,
.cms-card,
.cms-side-head,
.cms-assistant-body {
  min-width: 0;
  max-width: 100%;
}

.cms-left-stack,
.cms-right-stack {
  gap: 18px;
}

.cms-right-stack {
  width: min(372px, 29%);
  align-self: stretch;
}

.cms-hot-downloads {
  flex: 1 1 auto;
}

.cms-card {
  border-color: var(--cms-line);
  box-shadow: none;
}

.cms-news-card,
.cms-assistant,
.cms-hot-downloads,
.cms-schools-card,
.cms-tools-card,
.cms-updates-card {
  padding: 20px;
}

.cms-filter-head {
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 13px;
}

.cms-filter-head h2,
.cms-side-head h2,
.cms-tools-card h2,
.cms-updates-card h2 {
  font-size: 20px;
  line-height: 1.3;
}

.cms-filter-head > a,
.home-tab-head .tabs a {
  height: 30px;
  padding: 0 11px;
  border-color: #dce6f2;
  background: #fff;
  color: #526274;
  font-size: 13px;
}

.cms-filter-head > a.active,
.home-tab-head .tabs a.active {
  border-color: #b9dbff;
  background: #eef6ff;
}

.cms-news-list {
  gap: 14px 28px;
}

.cms-news-list li,
.cms-download-list li,
.cms-update-list li {
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cms-news-list a,
.cms-download-list a,
.cms-update-list a {
  overflow: hidden;
  color: #243145;
  font-size: 14px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-news-list time,
.cms-download-list time,
.cms-update-list time {
  color: #718096;
  font-size: 12px;
  line-height: 1.4;
}

.cms-list-empty {
  grid-column: 1 / -1;
  display: grid !important;
  gap: 6px;
  min-height: 84px;
  align-content: center;
  padding: 18px;
  border: 1px dashed #cfd8e3;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
}

.cms-list-empty strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.4;
}

.cms-list-empty span {
  font-size: 13px;
  line-height: 1.6;
}

.cms-rank {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  margin-top: 0;
  border-radius: 6px;
  font-size: 12px;
}

.cms-more {
  margin-top: 20px;
}

.cms-op-cards {
  gap: 10px;
  margin-top: 20px;
}

.cms-op-cards a {
  min-height: 78px;
  padding: 13px 14px;
  border-radius: 8px;
}

.cms-op-cards strong {
  font-size: 14px;
  line-height: 1.4;
}

.cms-op-cards span {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
}

.cms-side-head {
  min-height: 36px;
  margin-bottom: 18px;
}

.cms-side-head a {
  height: 32px;
  padding: 0 13px;
  border: 1px solid #dce8f5;
  border-radius: 6px;
  box-shadow: none;
  font-size: 13px;
}

.cms-assistant-body {
  align-items: flex-start;
  gap: 14px;
}

.cms-assistant-body strong {
  font-size: 16px;
  line-height: 1.35;
}

.cms-assistant-body p {
  font-size: 13px;
  line-height: 1.6;
}

.cms-plan-card {
  border-radius: 8px;
  box-shadow: none;
}

.cms-download-list,
.cms-update-list {
  gap: 14px;
}

.cms-school-list {
  gap: 10px;
}

.cms-school-list a {
  min-height: 64px;
  padding: 12px;
}

.cms-school-list strong {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.35;
}

.cms-tools-card,
.cms-updates-card {
  width: 300px;
}

.cms-tool-list {
  gap: 10px;
}

.cms-tool-list a {
  min-height: 82px;
  padding: 12px 4px;
  font-size: 13px;
  line-height: 1.25;
}

.cms-feature-strip {
  margin-top: 24px;
  border-color: var(--cms-line);
}

.cms-feature-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0;
}

.cms-feature-strip li {
  min-width: 0;
}

.cms-feature-strip strong {
  font-size: 16px;
  line-height: 1.35;
}

.cms-feature-strip p {
  font-size: 13px;
  line-height: 1.55;
}

.cms-footer {
  margin-top: 0;
}

.cms-footer-main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 46px;
}

.cms-footer-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.cms-footer-brand p,
.cms-footer-links a {
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .cms-header .cms-container {
    gap: 16px;
  }

  .cms-logo img {
    width: 170px;
  }

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

  .cms-quick ul {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .cms-main,
  .cms-bottom-row {
    flex-direction: column;
  }

  .cms-right-stack,
  .cms-tools-card,
  .cms-updates-card {
    width: 100%;
  }

  .cms-right-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .cms-bottom-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .cms-header {
    height: auto;
    position: static;
  }

  .cms-header .cms-container {
    flex-wrap: wrap;
    align-content: center;
    gap: 10px 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

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

  .cms-nav {
    order: 3;
    flex: 0 0 100%;
    height: auto;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

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

  .cms-nav a.active::after {
    bottom: 2px;
  }

  .cms-hero {
    height: auto;
    min-height: 330px;
  }

  .cms-hero-inner {
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .cms-search-tabs {
    height: 42px;
  }

  .cms-search-tabs span {
    font-size: 14px;
  }

  .cms-search-form {
    height: 52px;
  }

  .cms-search-form button {
    width: 100px;
  }

  .cms-hero-signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-quick ul {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .cms-news-list,
  .cms-school-list,
  .cms-op-cards,
  .cms-feature-strip ul,
  .cms-footer-main,
  .cms-footer-links {
    grid-template-columns: 1fr;
  }

  .cms-right-stack {
    grid-template-columns: 1fr;
  }

  .cms-footer-main {
    gap: 26px;
  }

  .cms-footer-brand {
    width: auto;
  }
}

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

  .cms-container,
  .cms-home-wrap,
  .cms-main,
  .cms-left-stack,
  .cms-right-stack,
  .cms-bottom-row,
  .cms-card,
  .cms-assistant,
  .cms-hot-downloads {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cms-main,
  .cms-right-stack,
  .cms-bottom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cms-side-head {
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    max-width: 100%;
  }

  .cms-side-head h2 {
    min-width: 0;
  }

  .cms-side-head a {
    flex: 0 0 auto;
  }

  .cms-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cms-btn {
    flex: 1;
  }

  .cms-hero-inner {
    align-items: stretch;
    padding-top: 38px;
    padding-bottom: 46px;
  }

  .cms-hero h1 {
    font-size: 28px;
    text-align: left;
  }

  .cms-search-tabs span {
    font-size: 13px;
  }

  .cms-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .cms-search-form input[type="search"] {
    padding: 0 14px;
    font-size: 14px;
  }

  .cms-search-form button {
    width: auto;
  }

  .cms-hotwords {
    text-align: left;
  }

  .cms-hero-signals {
    gap: 8px;
  }

  .cms-hero-signals li {
    justify-content: flex-start;
    height: 36px;
    padding: 0 10px;
  }

  .cms-hero-signals strong {
    font-size: 15px;
  }

  .cms-hero-signals span {
    font-size: 12px;
  }

  .cms-quick {
    margin-top: -22px;
    padding: 12px;
  }

  .cms-quick ul,
  .cms-tool-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cms-news-card,
  .cms-assistant,
  .cms-hot-downloads,
  .cms-schools-card,
  .cms-tools-card,
  .cms-updates-card {
    padding: 18px;
  }

  .cms-filter-head {
    align-items: flex-start;
  }

  .cms-filter-head h2 {
    flex-basis: 100%;
  }

  .cms-news-list li,
  .cms-download-list li,
  .cms-update-list li {
    align-items: flex-start;
  }

  .cms-news-list a,
  .cms-download-list a,
  .cms-update-list a {
    white-space: normal;
  }
}
