/* 负责跨境电商学习子站的布局、阅读页、索引页和基础交互样式。 */
* { box-sizing: border-box; }
body.cb-body {
  margin: 0;
  background: #f5f7f8;
  color: #24313d;
  font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-align: left;
}
.cb-site-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d6dde3;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.cb-brand {
  color: #185b63;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}
.cb-site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cb-site-header nav a,
.cb-back-link,
.cb-readable a {
  color: #176b87;
  font-weight: 700;
  text-decoration: none;
}
.cb-container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px clamp(18px, 4vw, 56px) 72px;
  width: 100%;
}
.cb-hero {
  background: #ffffff;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
}
.cb-kicker {
  color: #3b6b42;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.cb-hero h1,
.cb-page-heading h1,
.cb-readable h1 {
  color: #263244;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.cb-hero p,
.cb-page-heading p {
  color: #465466;
  max-width: 760px;
}
.cb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.cb-button {
  align-items: center;
  border: 1px solid #b8c5ce;
  border-radius: 999px;
  background: #ffffff;
  color: #263244;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  padding: 11px 16px;
  text-decoration: none;
}
.cb-button.primary {
  background: #185b63;
  border-color: #185b63;
  color: #ffffff;
}
.cb-dashboard,
.cb-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 24px 0 42px;
}
.cb-dashboard > div,
.cb-card {
  background: #ffffff;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  padding: 18px;
}
.cb-card h3,
.cb-dashboard h2 {
  margin-top: 0;
}
.cb-card h3 a {
  color: #253449;
  text-decoration: none;
}
.cb-muted {
  color: #687789;
  font-size: 14px;
  margin: 6px 0;
}
.cb-readable {
  background: #ffffff;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  margin: 16px auto 0;
  max-width: 860px;
  padding: clamp(22px, 4vw, 42px);
}
.cb-readable h1 {
  font-size: clamp(30px, 4vw, 44px);
}
.cb-readable h2 {
  border-top: 1px solid #e6ebef;
  color: #263244;
  margin-top: 34px;
  padding-top: 24px;
}
.cb-readable table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: 100%;
}
.cb-readable th,
.cb-readable td {
  border: 1px solid #d6dde3;
  padding: 8px 10px;
  vertical-align: top;
}
.cb-readable th {
  background: #eef3f5;
}
.cb-readable code {
  background: #eef3f5;
  border-radius: 4px;
  padding: 2px 5px;
}
.cb-readable pre {
  background: #f6f8fa;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  color: #24313d;
  overflow-x: auto;
  padding: 16px;
}
.cb-readable pre code {
  background: transparent;
  border-radius: 0;
  color: inherit;
  display: block;
  padding: 0;
}
.cb-table-wrap {
  overflow-x: auto;
  width: 100%;
}
.cb-learning-matrix {
  background: #ffffff;
  border-collapse: collapse;
  border: 1px solid #d6dde3;
  min-width: 920px;
  width: 100%;
}
.cb-learning-matrix th,
.cb-learning-matrix td {
  border: 1px solid #d6dde3;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.cb-learning-matrix th {
  background: #eef3f5;
  color: #263244;
  font-size: 15px;
}
.cb-learning-matrix a {
  color: #176b87;
  font-weight: 700;
  text-decoration: none;
}
.cb-matrix-section {
  margin: 30px 0 44px;
}
.cb-stage-label {
  color: #687789;
  font-size: 13px;
  font-weight: 700;
}
.cb-context-panel {
  background: #eef6f7;
  border: 1px solid #c8dadd;
  border-radius: 8px;
  margin: 16px auto;
  max-width: 860px;
  padding: 18px;
}
.cb-context-panel h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.cb-context-panel dl {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: 88px minmax(0, 1fr);
  margin: 0;
}
.cb-context-panel dt {
  color: #687789;
  font-weight: 800;
}
.cb-context-panel dd {
  margin: 0;
}
.cb-context-panel a,
.cb-prev-next a {
  color: #176b87;
  font-weight: 700;
  text-decoration: none;
}
.cb-prev-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 720px) {
  .cb-site-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .cb-container {
    padding-top: 28px;
  }
}
