/* ============================================================
   学习地图 · 初讯
   在现有青绿体系上做“地图 + 今日任务 + 章节动作”单页
   ============================================================ */

.lm-body {
  background:
    radial-gradient(900px 500px at 102% 12%, rgba(245, 185, 95, .08), rgba(245, 185, 95, 0) 70%),
    #f5faf8;
}

.lm-page { overflow: hidden; }

.lm-hero {
  position: relative;
  padding: 154px 0 54px;
  background:
    radial-gradient(760px 400px at 8% 0%, rgba(79, 195, 173, .24), rgba(79, 195, 173, 0) 70%),
    radial-gradient(680px 400px at 98% 4%, rgba(245, 185, 95, .18), rgba(245, 185, 95, 0) 66%),
    linear-gradient(138deg, #e6f8f2 0%, #f7fbfa 52%, #fff8ec 100%);
  border-bottom: 1px solid rgba(79, 195, 173, .14);
}
.lm-hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: .42;
  background-image:
    linear-gradient(rgba(12, 100, 92, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 100, 92, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

.lm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 424px;
  gap: 52px;
  align-items: center;
  position: relative;
}

.lm-hero-copy h1 {
  margin: 18px 0 20px;
  color: var(--qz-ink);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.lm-hero-copy h1 em {
  font-style: normal;
  color: #0c645c;
  background: linear-gradient(100deg, #0c645c 0%, #1f9d90 66%, #73c9b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lm-hero-sub {
  max-width: 600px;
  margin: 0;
  color: #55736d;
  font-size: 16px;
  line-height: 1.9;
}

.lm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 800; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.lm-btn:hover { transform: translateY(-2px); }
.lm-btn-primary {
  color: #fff; background: linear-gradient(135deg, #0c645c, #1f9d90);
  box-shadow: 0 12px 26px rgba(12, 100, 92, .20);
}
.lm-btn-primary span { font-size: 16px; }
.lm-btn-ghost {
  color: #0c645c; background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(12, 100, 92, .16);
}

.lm-hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin-top: 34px; max-width: 640px;
}
.lm-hero-stats > div { padding: 0 18px; border-left: 1px solid rgba(12, 100, 92, .14); }
.lm-hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.lm-hero-stats b {
  display: block;
  color: #0c4d47; font-size: 26px; line-height: 1.1; font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.lm-hero-stats span { display: block; margin-top: 7px; color: #6c857f; font-size: 11px; letter-spacing: .04em; }

/* ---------------- 今日任务卡 ---------------- */
.lm-today-card {
  position: relative; overflow: hidden;
  padding: 26px 26px 22px;
  color: #fff; border-radius: 28px;
  background:
    radial-gradient(440px 260px at 92% -6%, rgba(245, 185, 95, .22), rgba(245, 185, 95, 0) 70%),
    linear-gradient(145deg, #0b3f3a 0%, #0c5c53 54%, #118178 100%);
  box-shadow: 0 24px 54px rgba(8, 58, 52, .24);
}
.lm-today-orbit {
  position: absolute; right: -108px; top: -126px; width: 300px; height: 300px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; pointer-events: none;
}
.lm-today-orbit::before {
  content: ""; position: absolute; inset: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .10);
}
.lm-today-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; position: relative; z-index: 2; }
.lm-today-kicker { color: #a9e6d9; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.lm-today-head h2 { margin: 8px 0 0; color: #fff; font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.lm-today-badge {
  flex: none; margin-top: 2px; padding: 7px 11px; border-radius: 999px;
  color: #f8dfb8; background: rgba(245, 185, 95, .13); border: 1px solid rgba(245, 185, 95, .25);
  font-size: 11px; font-weight: 800; white-space: nowrap;
}
.lm-today-progress { height: 4px; margin: 18px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .13); overflow: hidden; }
.lm-today-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f5b95f, #ffd58d); transition: width .5s ease; }
.lm-today-sub { margin: 0 0 14px; color: #b9dcd3; font-size: 12px; line-height: 1.65; }

.lm-task-list { display: grid; gap: 8px; position: relative; z-index: 2; }
.lm-task {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .11); border-radius: 12px;
  background: rgba(255, 255, 255, .055); color: #fff; text-align: left; cursor: pointer;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.lm-task:hover { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .20); transform: translateX(2px); }
.lm-task-icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  color: #ffd9a0; background: rgba(245, 185, 95, .13); font-size: 13px; font-weight: 900;
}
.lm-task-text { min-width: 0; flex: 1; }
.lm-task-text b { display: block; font-size: 13.5px; font-weight: 800; }
.lm-task-text small { display: block; margin-top: 3px; color: #b7d9d0; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-task > i { flex: none; color: #a9e6d9; font-style: normal; font-size: 13px; }
.lm-today-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  color: #a9e6d9; font-size: 11.5px; font-weight: 700; text-decoration: none;
}
.lm-today-link:hover { color: #fff; }

/* ---------------- 地图主区 ---------------- */
.lm-main { padding: 46px 0 88px; }
.lm-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  margin-bottom: 26px;
}
.lm-section-head h2 { margin: 9px 0 7px; color: var(--qz-ink); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.lm-section-head h2 em { font-style: normal; color: #1f8f82; }
.lm-section-head p { margin: 0; color: #6b837e; font-size: 13px; line-height: 1.7; }
.lm-legend { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 4px; color: #6c857f; font-size: 10.5px; }
.lm-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.lm-legend i { width: 8px; height: 8px; border-radius: 50%; background: #b8cbc6; }
.lm-legend i.is-unstarted { background: #b8cbc6; }
.lm-legend i.is-practicing { background: #5b8fd1; }
.lm-legend i.is-familiar { background: #e1a33d; }
.lm-legend i.is-mastered { background: #17806f; }
.lm-legend i.is-weak { background: #c2574f; }

.lm-programs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.lm-program {
  flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 14px;
  border: 1px solid #d7e6df; border-radius: 11px; background: #fff; color: #335f57; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.lm-program b { font-size: 12.5px; font-weight: 800; line-height: 1; white-space: nowrap; }
.lm-program span { font-size: 10.5px; color: #7b948e; white-space: nowrap; }
.lm-program:hover { border-color: #0c645c; transform: translateY(-1px); }
.lm-program.is-active { background: #0c645c; border-color: #0c645c; color: #fff; box-shadow: 0 6px 16px rgba(12, 100, 92, .18); }
.lm-program.is-active span { color: rgba(255, 255, 255, .72); }

.lm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 26px; align-items: start; }
.lm-side { position: sticky; top: 94px; }

.lm-map-skeleton {
  height: 220px; margin-bottom: 20px; border-radius: 24px;
  background: linear-gradient(90deg, #fff, #f0f9f6, #fff); background-size: 300% 100%;
  animation: lm-skeleton 1.3s ease infinite; box-shadow: var(--qz-shadow-sm);
}
@keyframes lm-skeleton { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.lm-bank-card {
  margin-bottom: 20px; padding: 24px 24px 22px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(12, 100, 92, .10);
  border-radius: 24px; box-shadow: var(--qz-shadow-sm);
}
.lm-bank-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.lm-bank-title h3 { margin: 5px 0 4px; color: var(--qz-ink); font-size: 21px; font-weight: 800; }
.lm-bank-title p { margin: 0; color: #758b86; font-size: 11.5px; }
.lm-bank-code { color: #2a6a62; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.lm-bank-stats { display: flex; align-items: center; gap: 16px; flex: none; }
.lm-bank-stats > div { text-align: right; }
.lm-bank-stats b { display: block; color: #0c645c; font-size: 21px; line-height: 1; font-weight: 900; }
.lm-bank-stats span { display: block; margin-top: 4px; color: #8aa09b; font-size: 9.5px; }
.lm-bank-progress { height: 4px; margin: -4px 0 18px; border-radius: 999px; background: #eaf4f1; overflow: hidden; }
.lm-bank-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f9d90, #63c6b3); }

.lm-track { position: relative; display: grid; gap: 8px; }
.lm-track::before {
  content: ""; position: absolute; left: 17px; top: 17px; bottom: 17px; width: 1px;
  background: linear-gradient(#d8ece7, #eaf4f1); pointer-events: none;
}
.lm-node {
  position: relative; display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 12px 14px 12px 0; border: 1px solid transparent; border-radius: 14px;
  background: transparent; color: inherit; text-align: left; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.lm-node:hover { background: #f7fcfb; border-color: rgba(12, 100, 92, .10); transform: translateX(2px); }
.lm-node.is-selected { background: #effaf7; border-color: rgba(12, 100, 92, .16); }
.lm-node-dot {
  position: relative; z-index: 2; flex: none; width: 10px; height: 10px; margin-left: 12px;
  border-radius: 50%; background: #b8cbc6; box-shadow: 0 0 0 5px #fff;
}
.lm-node.mastery-practicing .lm-node-dot { background: #5b8fd1; }
.lm-node.mastery-familiar .lm-node-dot { background: #e1a33d; }
.lm-node.mastery-mastered .lm-node-dot { background: #17806f; }
.lm-node.mastery-weak .lm-node-dot { background: #c2574f; }
.lm-node-index { flex: none; width: 25px; color: #a4b6b1; font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lm-node-body { min-width: 0; flex: 1; }
.lm-node-body h4 { margin: 0; color: #194d47; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.lm-node-body p { margin: 4px 0 0; color: #8ba09b; font-size: 10.5px; }
.lm-node-right { flex: none; display: flex; align-items: center; gap: 9px; }
.lm-node-status {
  padding: 4px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 800;
  color: #617b75; background: #f0f6f4;
}
.lm-node.mastery-practicing .lm-node-status { color: #3a6fa8; background: #edf4fc; }
.lm-node.mastery-familiar .lm-node-status { color: #8a5b13; background: #fff5e5; }
.lm-node.mastery-mastered .lm-node-status { color: #0c6b5b; background: #e8f8f2; }
.lm-node.mastery-weak .lm-node-status { color: #a13f39; background: #fff0ee; }
.lm-node-progress { width: 58px; height: 4px; border-radius: 999px; background: #edf5f2; overflow: hidden; }
.lm-node-progress i { display: block; height: 100%; border-radius: inherit; background: #78c9b6; }
.lm-node.mastery-weak .lm-node-progress i { background: #e08b82; }
.lm-node-arrow { color: #a7b9b4; font-size: 12px; }

/* ---------------- 侧栏检查器 ---------------- */
.lm-inspector {
  padding: 24px; border: 1px solid rgba(12, 100, 92, .12); border-radius: 24px;
  background: rgba(255, 255, 255, .95); box-shadow: var(--qz-shadow-sm);
}
.lm-side-kicker { color: #2a6a62; font-size: 9.5px; font-weight: 900; letter-spacing: .13em; }
.lm-inspector h3 { margin: 9px 0 7px; color: var(--qz-ink); font-size: 19px; font-weight: 800; line-height: 1.45; }
.lm-side-empty { margin: 0 0 16px; color: #78908a; font-size: 12px; line-height: 1.75; }
.lm-side-summary { margin: 0 0 18px; color: #66827c; font-size: 12px; line-height: 1.7; }

.lm-side-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.lm-side-stat { padding: 10px 11px; border-radius: 10px; background: #f6fbf9; border: 1px solid #e8f3ef; }
.lm-side-stat b { display: block; color: #0c645c; font-size: 17px; line-height: 1.1; font-weight: 900; }
.lm-side-stat span { display: block; margin-top: 4px; color: #8aa09b; font-size: 9.5px; }

.lm-side-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.lm-side-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; padding: 0 8px; border-radius: 9px; border: 1px solid #d9ece7;
  background: #fff; color: #195850; font-size: 11.5px; font-weight: 800; cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.lm-side-btn:hover { background: #f2faf7; border-color: #b9ded5; }
.lm-side-btn.is-primary { color: #fff; background: linear-gradient(135deg, #0c645c, #1f9d90); border-color: transparent; }
.lm-side-btn.is-warm { color: #7a4b0e; background: #fff8ed; border-color: #f2ddba; }
.lm-side-btn[disabled] { opacity: .45; cursor: not-allowed; }

.lm-sources { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.lm-sources span { padding: 4px 8px; border-radius: 999px; color: #52716b; background: #f4faf8; border: 1px solid #e5f1ed; font-size: 9.5px; }

.lm-note-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.lm-note-head b { color: #244f49; font-size: 12px; }
.lm-note-head small { color: #9aada8; font-size: 9.5px; }
.lm-note {
  width: 100%; min-height: 104px; padding: 10px 11px; resize: vertical;
  border: 1px solid #d9ece7; border-radius: 10px; background: #fbfefd;
  color: #254f49; font-size: 12px; line-height: 1.65; outline: none;
}
.lm-note:focus { border-color: #78bfae; box-shadow: 0 0 0 3px rgba(31, 157, 144, .10); }
.lm-note-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.lm-note-tip { color: #97aba6; font-size: 9.5px; }
.lm-note-save { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; color: #fff; background: #0c645c; font-size: 10.5px; font-weight: 800; cursor: pointer; }

.lm-wrong-list { display: grid; gap: 8px; margin-top: 16px; }
.lm-wrong-title { display: flex; align-items: center; justify-content: space-between; color: #244f49; font-size: 11px; font-weight: 800; }
.lm-wrong-title a { color: #198d80; font-size: 10px; font-weight: 700; text-decoration: none; }
.lm-wrong-row { padding: 9px 10px; border-radius: 9px; background: #fff7f5; border: 1px solid #f6dfda; }
.lm-wrong-row b { display: block; color: #7b3732; font-size: 10.5px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lm-wrong-row span { display: block; margin-top: 4px; color: #b57d76; font-size: 9px; }

/* ---------------- 全站入口 ---------------- */
.lm-link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 6px; }
.lm-link-grid a {
  display: flex; flex-direction: column; gap: 8px; min-height: 118px; padding: 16px;
  border: 1px solid rgba(12, 100, 92, .10); border-radius: 16px;
  background: rgba(255, 255, 255, .82); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lm-link-grid a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(12, 100, 92, .08); border-color: rgba(12, 100, 92, .20); }
.lm-link-grid a span { color: #1f8f82; font-size: 9.5px; font-weight: 900; letter-spacing: .12em; }
.lm-link-grid a b { flex: 1; color: #214c46; font-size: 12.5px; line-height: 1.55; }
.lm-link-grid a i { color: #85b7ab; font-style: normal; font-size: 13px; }

/* ---------------- toast ---------------- */
.lm-toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 9999; transform: translate(-50%, 20px);
  padding: 11px 18px; border-radius: 999px; background: rgba(8, 58, 52, .94); color: #fff;
  font-size: 12px; opacity: 0; pointer-events: none; transition: .22s ease; box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.lm-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1200px) {
  .lm-hero-grid { grid-template-columns: minmax(0, 1fr) 386px; gap: 34px; }
  .lm-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
  .lm-link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .lm-hero { padding-top: 118px; }
  .lm-hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
  .lm-hero-copy h1 { font-size: clamp(34px, 8vw, 48px); }
  .lm-hero-stats { max-width: none; }
  .lm-today-card { max-width: 620px; }
  .lm-layout { grid-template-columns: 1fr; }
  .lm-side { position: static; }
  .lm-inspector { margin-top: 2px; }
  .lm-section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .lm-legend { padding-bottom: 0; }
  .lm-programs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
  .lm-programs::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
  .lm-hero { padding: 102px 0 36px; }
  .lm-hero-copy h1 { font-size: 34px; margin: 14px 0 16px; }
  .lm-hero-sub { font-size: 14px; line-height: 1.8; }
  .lm-btn { min-height: 42px; padding: 0 17px; font-size: 12.5px; }
  .lm-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px 0; margin-top: 26px; }
  .lm-hero-stats > div { padding: 0 14px; }
  .lm-hero-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .lm-hero-stats > div:nth-child(n+3) { padding-top: 14px; border-top: 1px solid rgba(12,100,92,.10); }
  .lm-hero-stats b { font-size: 23px; }
  .lm-today-card { padding: 21px 18px 18px; border-radius: 22px; }
  .lm-today-head h2 { font-size: 20px; }
  .lm-today-badge { font-size: 9.5px; padding: 6px 9px; }
  .lm-task { padding: 10px; gap: 10px; }
  .lm-task-icon { width: 31px; height: 31px; }
  .lm-task-text small { font-size: 9.5px; }
  .lm-main { padding: 32px 0 62px; }
  .lm-section-head h2 { font-size: 24px; }
  .lm-section-head p { font-size: 12px; }
  .lm-bank-card { padding: 18px 14px; border-radius: 19px; }
  .lm-bank-top { flex-direction: column; gap: 12px; margin-bottom: 14px; }
  .lm-bank-title h3 { font-size: 18px; }
  .lm-bank-stats { width: 100%; justify-content: flex-start; gap: 22px; }
  .lm-bank-stats > div { text-align: left; }
  .lm-bank-stats b { font-size: 18px; }
  .lm-node { padding: 10px 8px 10px 0; gap: 9px; }
  .lm-node-dot { margin-left: 10px; }
  .lm-node-index { width: 20px; }
  .lm-node-body h4 { font-size: 13px; }
  .lm-node-body p { font-size: 9.5px; }
  .lm-node-right { gap: 6px; }
  .lm-node-status { display: none; }
  .lm-node-progress { width: 42px; }
  .lm-link-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lm-link-grid a { min-height: 104px; padding: 13px; }
  .lm-link-grid a b { font-size: 11.5px; }
  .lm-inspector { padding: 18px; border-radius: 19px; }
  .lm-inspector h3 { font-size: 17px; }
  .lm-side-actions { grid-template-columns: repeat(2, 1fr); }
  .lm-note { min-height: 92px; }
}
@media (max-width: 359px) {
  .lm-hero-stats b { font-size: 21px; }
  .lm-btn { padding: 0 14px; font-size: 11.5px; }
  .lm-today-badge { display: none; }
  .lm-node-progress { display: none; }
  .lm-link-grid { grid-template-columns: 1fr; }
}

.lm-wrong-card {
  margin-top: 14px; padding: 16px 18px 18px;
  border: 1px solid rgba(194, 87, 79, .14); border-radius: 18px;
  background: rgba(255, 250, 249, .92);
}
.lm-wrong-card .lm-wrong-list { margin-top: 0; }
.lm-wrong-row { width: 100%; text-align: left; cursor: pointer; font: inherit; }
.lm-wrong-row:hover { background: #fff1ee; border-color: #efd0c9; }
.lm-note-mark {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  color: #8a5b13; background: #fff4df; font-size: 10px; font-style: normal; flex: none;
}
.lm-sources-label { margin: 0 0 6px; color: #829a94; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 359px) {
  .lm-hero-copy h1 { font-size: 27px; line-height: 1.24; letter-spacing: -.045em; }
}

/* ====== 章节行内「练本章」直达入口 ====== */
.lm-node { padding: 0 12px 0 0; gap: 10px; }
.lm-node-hit {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 13px;
  padding: 12px 0; border: 0; background: transparent; color: inherit;
  text-align: left; cursor: pointer; font: inherit;
}
.lm-node-hit:focus-visible { outline: 2px solid rgba(12, 100, 92, .35); outline-offset: 2px; border-radius: 10px; }
.lm-node-go {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(12, 100, 92, .16);
  background: #e8f8f2; color: #0c6b5b; font-size: 11px; font-weight: 800;
  white-space: nowrap; cursor: pointer; transition: background .16s, border-color .16s, transform .16s;
}
.lm-node-go:hover { background: #d6f1e8; border-color: rgba(12, 100, 92, .3); transform: translateY(-1px); }
.lm-node-go:active { transform: translateY(0); }
@media (max-width: 767px) {
  .lm-node { padding: 0 8px 0 0; gap: 8px; }
  .lm-node-hit { gap: 9px; padding: 10px 0; }
  .lm-node-go { padding: 5px 9px; font-size: 10px; }
}
@media (max-width: 359px) {
  .lm-node-go { padding: 5px 7px; font-size: 9px; }
}

/* ====== 章节行内「整章挑战」次要入口 ====== */
.lm-node-whole {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 10px; border-radius: 999px; border: 1px dashed rgba(12, 100, 92, .26);
  color: #5f8a83; font-size: 10.5px; font-weight: 700; white-space: nowrap;
  text-decoration: none; transition: color .16s, border-color .16s, background .16s;
}
.lm-node-whole:hover { color: #0c6b5b; border-color: rgba(12, 100, 92, .48); background: #f2fbf8; }
.lm-node-whole:focus-visible { outline: 2px solid rgba(12, 100, 92, .3); outline-offset: 2px; }
@media (max-width: 767px) { .lm-node-whole { display: none; } }

/* ====== 法条 / 知识点标签可点击 ====== */
.lm-sources-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lm-sources .lm-source {
  display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px;
  color: #0f6055; background: #effaf6; border: 1px solid #cfeae2; font-size: 9.5px;
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.lm-sources .lm-source:hover { background: #e0f5ee; border-color: #9bd3c3; color: #0b4f46; text-decoration-style: solid; }
.lm-sources-all { color: #7fb3a7; font-size: 9.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .16s ease; }
.lm-sources-all:hover { color: #0f6055; }

/* 法条标签对比度加强 */
.lm-sources .lm-source { background: #f2fbf8; border-color: #b4e0d4; color: #0d6a5c; font-weight: 700; }
.lm-sources .lm-source:hover { background: #ddf4ec; border-color: #7cc6b2; }

/* 笔记联动入口 */
.lm-note-more {
  font-size: 11.5px;
  font-weight: 700;
  color: #0F766E;
  text-decoration: none;
  white-space: nowrap;
}
.lm-note-more { flex: 0 0 100%; margin-bottom: 2px; }
.lm-note-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- 章节列表：默认三条 + 展开 + 分页 ---------------- */
.lm-track-empty { padding: 16px 0; color: #8aa09b; font-size: 12px; }
.lm-fold-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 42px; margin-top: 10px; padding: 0 16px;
  border: 1px dashed rgba(12, 100, 92, .28); border-radius: 12px;
  background: #f7fdfb; color: #1d6a61; font-size: 12.5px; font-weight: 800; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.lm-fold-btn small { color: #8aa09b; font-size: 10px; font-weight: 700; }
.lm-fold-btn i { font-style: normal; color: #7ba8a0; font-size: 11px; }
.lm-fold-btn:hover { background: #edfaf6; border-color: rgba(12, 100, 92, .48); color: #0c645c; }

.lm-track-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(12, 100, 92, .14);
}
.lm-track-count { color: #8aa09b; font-size: 10.5px; font-weight: 700; }
.lm-pager { display: flex; align-items: center; gap: 4px; }
.lm-pg {
  min-width: 28px; height: 28px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(12, 100, 92, .16); border-radius: 8px; background: #fff;
  color: #4b6c65; font-size: 11.5px; font-weight: 800; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.lm-pg:hover:not(:disabled) { border-color: rgba(12, 100, 92, .42); color: #0c645c; }
.lm-pg.is-on { border-color: #0c645c; background: #0c645c; color: #fff; }
.lm-pg:disabled { opacity: .35; cursor: default; }
.lm-pg-gap { padding: 0 2px; color: #a9bcb7; font-size: 11px; }
.lm-fold-btn.is-fold {
  width: auto; height: 28px; margin-top: 0; padding: 0 10px;
  border: 0; border-radius: 8px; background: transparent; color: #7d9992; font-size: 11px; gap: 5px;
}
.lm-fold-btn.is-fold:hover { background: #f1f9f6; color: #0c645c; }
@media (max-width: 767px) {
  .lm-track-foot { gap: 8px; }
  .lm-track-count { flex: 0 0 100%; }
  .lm-pg { min-width: 30px; height: 30px; }
}
