/* life 页独有样式（base.css 通用类不重复） */
.discipline-card {
  background: #fffaf5;
  border: 1px solid #f0dcc4;
}
.share-card {
  background: #fbfaf6;
  border: 1px solid #e3ded1;
  border-radius: 7px;
  padding: 11px 10px;
  margin-top: 6px;
}
.share-entry-card {
  background: #fffdf8;
  border: 1px solid #e6d9c6;
}
.share-entry-card .share-foot {
  margin-top: 8px;
}
.share-title {
  font-size: 17px;
  font-weight: 600;
  color: #1f2d3d;
  letter-spacing: 1px;
}
.share-name {
  font-size: 14px;
  color: #43536b;
  margin-top: 3px;
}
.entry-card {
  background: #fffdf6;
  border: 1px solid #ded4bf;
  border-radius: 8px;
  padding: 9px 8px;
  margin-bottom: 7px;
}
.entry-head {
  display: flex;
  align-items: center;
}
.entry-date {
  font-size: 11.5px;
  color: #8a6a2f;
  min-width: 75px;
  flex-shrink: 0;
}
.entry-title {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: #2a2116;
  margin-right: 6px;
}
.entry-toggle {
  font-size: 11.5px;
  color: #9c2b23;
  flex-shrink: 0;
}
.entry-desc {
  font-size: 12px;
  color: #7a8699;
  margin-top: 4px;
  margin-left: 75px;
}
.entry-rows {
  background: #f7f4ec;
  border: 1px solid #e6ddc9;
  border-radius: 6px;
  padding: 7px 8px;
  margin-top: 6px;
  margin-left: 75px;
}
.life-head {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.life-head-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #9c2b23;
  color: #fffaf2;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 9px;
}
.life-head-main { flex: 1; }
.life-head-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 17px;
  font-weight: 700;
  color: #2a2116;
  letter-spacing: 1px;
}
.life-head-sub {
  font-size: 12px;
  color: #7a8699;
  margin-top: 2px;
}
.module-card {
  display: flex;
  align-items: center;
  background: #fffdf6;
  border: 1px solid #ded4bf;
  border-radius: 8px;
  padding: 9px 8px;
  margin-bottom: 7px;
}
.module-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f3ecdd;
  color: #8a6a2f;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}
.module-main { flex: 1; min-width: 0; }
.module-head { display: flex; align-items: center; }
.module-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #2a2116;
  margin-right: 6px;
}
.module-badge {
  font-size: 10.5px;
  border-radius: 999px;
  padding: 1px 7px;
}
.module-badge.on { color: #2f6b58; background: #eaf3ee; }
.module-badge.off { color: #8a8f98; background: #f0efec; }
.module-desc {
  font-size: 12px;
  color: #7a8699;
  margin-top: 3px;
}
.module-detail {
  background: #f7f4ec;
  border: 1px solid #e6ddc9;
  border-radius: 6px;
  padding: 7px 8px;
  margin: -4px 0 7px;
}
.collapse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 5px;
  border-bottom: 1px solid #efe9dc;
  margin-bottom: 6px;
}
.collapse-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2a2116;
}
.collapse-right {
  display: flex;
  align-items: baseline;
}
.collapse-right .link {
  margin-left: 8px;
}
.card-actions {
  display: flex;
  align-items: center;
}
.share-foot {
  margin-top: 9px;
}
.share-head-text {
  flex: 1;
  padding-right: 8px;
}
.share-btn {
  flex: 1;
  margin: 0;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 6px;
}
.spend-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  font-size: 10px;
  line-height: 1.6;
  color: #fff;
  background: #8a94a6;
  border-radius: 10px;
  vertical-align: middle;
}
