/* 数学 0701 课程知识底座 v1.3 */
.curriculum-coverage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.curriculum-stat {
  position: relative;
  overflow: hidden;
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(148, 109, 56, .22);
  border-radius: 15px 15px 15px 4px;
  background:
    radial-gradient(circle at 92% 12%, rgba(186, 68, 55, .12), transparent 42%),
    linear-gradient(145deg, rgba(255, 253, 246, .98), rgba(242, 236, 219, .86));
  box-shadow: 0 10px 26px rgba(49, 43, 32, .07);
}

.curriculum-stat::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(40, 94, 72, .16);
  border-radius: 50%;
}

.curriculum-stat span {
  display: block;
  color: #77766d;
  font-size: 8px;
  letter-spacing: .08em;
}

.curriculum-stat b {
  display: block;
  margin-top: 5px;
  color: #25372d;
  font: 800 25px/1.05 var(--serif);
}

.curriculum-stat small {
  display: block;
  margin-top: 5px;
  color: #9b493c;
  font-size: 7px;
}

.folder-tree-card {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 102px);
  overflow: hidden;
}

.folder-tree {
  max-height: calc(100vh - 190px);
  overflow: auto;
  padding-right: 3px;
}

.tree-node.level-course {
  padding-left: 20px;
  color: #365b49;
  font-weight: 700;
}

.tree-node.level-chapter {
  padding-left: 35px;
}

.tree-node.level-point {
  padding-left: 49px;
  font-size: 8px;
}

.tree-node.level-course .tree-icon {
  color: #9b493c;
}

.tree-hint {
  margin: 8px 4px 2px;
  padding: 9px 10px;
  border-left: 2px solid #b68a52;
  color: #8c887e;
  background: rgba(244, 236, 217, .55);
  font-size: 7px;
  line-height: 1.6;
}

.knowledge-entry .entry-course {
  color: #8b633d;
  font-size: 7px;
}

.knowledge-entry.curated-question {
  border-color: rgba(155, 73, 60, .3);
  background: linear-gradient(145deg, #fffdf7, #fff8ea);
}

.knowledge-result-limit {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px dashed rgba(54, 91, 73, .3);
  border-radius: 10px;
  color: #6f766e;
  background: rgba(237, 244, 239, .62);
  font-size: 8px;
  text-align: center;
}

.paper-config .field select:focus {
  border-color: #9b493c;
  box-shadow: 0 0 0 3px rgba(155, 73, 60, .08);
}

.paper-bank-note {
  margin: -2px 0 10px;
  padding: 9px 10px;
  border: 1px solid rgba(54, 91, 73, .18);
  border-radius: 9px;
  color: #52665b;
  background: rgba(237, 244, 239, .7);
  font-size: 8px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .curriculum-coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folder-tree-card { position: static; max-height: none; }
  .folder-tree { max-height: 380px; }
}

@media (max-width: 520px) {
  .curriculum-coverage { grid-template-columns: 1fr 1fr; gap: 7px; }
  .curriculum-stat { min-height: 70px; padding: 12px; }
  .curriculum-stat b { font-size: 20px; }
}
