
/* 保留原有样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Serif SC", "STSong", "宋体", "SimSun", "KaiTi", "楷体", "STKaiti", "Microsoft YaHei", serif;
}

body {
  background-color: #fef9f3;
  padding: 15px;
  line-height: 1.8;
  color: #2c2416;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
  background-color: #0f172a;
  color: #e2e8f0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fffef9;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(255, 140, 66, 0.08), 0 8px 10px -6px rgba(255, 140, 66, 0.03);
  padding: 25px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark .container {
  background-color: #1e293b;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.header {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #20B2AA;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.header-content {
  flex: 1;
  min-width: 280px;
}

.header h1 {
  color: #2c3e50;
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

body.dark .header h1 {
  color: #f8fafc;
}

.header p {
  color: #8b6f47;
  font-size: 15px;
  transition: color 0.3s ease;
}

body.dark .header p {
  color: #94a3b8;
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-toggle {
  padding: 10px 20px;
  background: linear-gradient(135deg, #d1eeec 0%, #a8ddd9 100%);
  color: #20B2AA;
  border: 1px solid #20B2AA;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
  background: linear-gradient(135deg, #20B2AA 0%, #1a9088 100%);
  color: white;
}

body.dark .theme-toggle {
  background: linear-gradient(135deg, #1a9088 0%, #156e69 100%);
  color: white;
  border-color: #a8ddd9;
}

body.dark .theme-toggle:hover {
  background: linear-gradient(135deg, #a8ddd9 0%, #1a9088 100%);
}

.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #d1eeec 0%, #a8ddd9 100%);
  color: #20B2AA;
  border: 1px solid #20B2AA;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.print-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
  background: linear-gradient(135deg, #20B2AA 0%, #1a9088 100%);
  color: white;
}

body.dark .print-btn {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #7fdbd2;
  border-color: #a8ddd9;
}

body.dark .print-btn:hover {
  background: linear-gradient(135deg, #a8ddd9 0%, #1a9088 100%);
  color: white;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.progress-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  transition: color 0.3s ease;
}

body.dark .progress-label {
  color: #94a3b8;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: #d1eeec;
  border-radius: 4px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

body.dark .progress-bar {
  background-color: #1e293b;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #20B2AA 0%, #1a9088 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

body.dark .progress-fill {
  background: linear-gradient(90deg, #a8ddd9 0%, #1a9088 100%);
}

.progress-text {
  font-size: 13px;
  color: #20B2AA;
  font-weight: 500;
  transition: color 0.3s ease;
}

body.dark .progress-text {
  color: #7fdbd2;
}

.layout {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.sidebar {
  flex: 0 0 260px;
  background-color: #f1f5f9;
  border-radius: 12px;
  border: 1px solid #a8ddd9;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 20px;
  align-self: flex-start;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

body.dark .sidebar {
  background-color: #111827;
  border-color: #2d3748;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.sidebar-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}

body.dark .sidebar-title {
  color: #94a3b8;
}

.content-area {
  flex: 1;
}

.month-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

body.dark .month-nav {
  border-color: transparent;
}

.month-link {
  padding: 12px 16px;
  background-color: transparent;
  color: #1a9088;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
  text-align: left;
  border: 1px solid transparent;
}

body.dark .month-link {
  color: #7fdbd2;
}

.month-link:hover {
  background-color: rgba(32, 178, 170, 0.15);
  color: #1a9088;
}

.month-link.active {
  background: linear-gradient(135deg, #20B2AA 0%, #1a9088 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(32, 178, 170, 0.3);
}

body.dark .month-link.active {
  background: linear-gradient(135deg, #a8ddd9 0%, #1a9088 100%);
  color: #0f172a;
}

.month-link::after {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.month-link.active::after {
  background-color: white;
}

.anchor-nav {
  display: flex;
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  scrollbar-width: thin;
  transition: border-color 0.3s ease;
}

body.dark .anchor-nav {
  border-color: #2d3748;
}

.anchor-nav::-webkit-scrollbar {
  height: 4px;
}

.anchor-nav::-webkit-scrollbar-thumb {
  background-color: #20B2AA;
  border-radius: 2px;
}

body.dark .anchor-nav::-webkit-scrollbar-thumb {
  background-color: #a8ddd9;
}

.anchor-link {
  padding: 8px 18px;
  margin-right: 12px;
  background-color: #d1eeec;
  color: #20B2AA;
  text-decoration: none;
  border-radius: 25px;
  white-space: nowrap;
  font-size: 14px;
  transition: all 0.3s;
  position: relative;
}

body.dark .anchor-link {
  background-color: #1e293b;
  color: #7fdbd2;
}

.anchor-link:hover,
.anchor-link.active {
  background-color: #20B2AA;
  color: white;
}

body.dark .anchor-link:hover,
body.dark .anchor-link.active {
  background-color: #a8ddd9;
  color: white;
}

.anchor-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.anchor-link.active::after,
.anchor-link:hover::after {
  width: 100%;
}

.month-detail-panel {
  margin-bottom: 25px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #a8ddd9;
  background: linear-gradient(135deg, #d1eeec 0%, #a8ddd9 100%);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.month-detail-panel h3 {
  font-size: 18px;
  color: #1e2d3b;
  margin-bottom: 6px;
}

.month-detail-panel p {
  margin-bottom: 10px;
  color: #475669;
}

.detail-list {
  padding-left: 20px;
  color: #334155;
  line-height: 1.6;
}

.plan-desc {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #d1eeec;
  border-left: 4px solid #20B2AA;
  border-radius: 8px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark .plan-desc {
  background-color: #1e293b;
  border-color: #a8ddd9;
}

.plan-desc h3 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

body.dark .plan-desc h3 {
  color: #f8fafc;
}

.plan-desc ul {
  list-style: disc;
  margin-left: 20px;
  font-size: 14px;
  color: #64748b;
  transition: color 0.3s ease;
}

body.dark .plan-desc ul {
  color: #94a3b8;
}

.plan-desc li {
  margin-bottom: 6px;
}

.month-content {
  display: none;
}

.month-content.active {
  display: block;
}

.week-plan {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.week-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

body.dark .week-plan {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

body.dark .week-plan:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.week-plan:nth-child(even) .week-content {
  background-color: #faf9f5;
}

body.dark .week-plan:nth-child(even) .week-content {
  background-color: #1a2435;
}

.week-title {
  background-color: #20B2AA;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.week-title:hover {
  background-color: #1a9088;
}

body.dark .week-title {
  background-color: #1a9088;
}

body.dark .week-title:hover {
  background-color: #156e69;
}

.week-title::after {
  content: "▼";
  font-size: 14px;
  transition: transform 0.5s ease;
}

.week-title.collapsed::after {
  transform: rotate(-180deg);
}

.week-content {
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background-color: #fff;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

body.dark .week-content {
  background-color: #1e293b;
  border-color: #2d3748;
}

.week-title:not(.collapsed)+.week-content {
  max-height: 5000px;
  opacity: 1;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #d1eeec;
  vertical-align: top;
  line-height: 1.8;
}

body.dark .table th,
body.dark .table td {
  border-bottom: 1px solid #2d3748;
}

.table th {
  background: linear-gradient(135deg, #d1eeec 0%, #a8ddd9 100%);
  color: #2c3e50;
  font-weight: 600;
  font-size: 15px;
  width: 18%;
  border-right: 1px solid #d1eeec;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body.dark .table th {
  background: linear-gradient(135deg, #1e293b 0%, #1a2435 100%);
  color: #f8fafc;
  border-right: 1px solid #2d3748;
}

.table td {
  font-size: 14px;
  color: #64748b;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark .table td {
  color: #94a3b8;
}

.table tr:hover td {
  background-color: #fefeff;
}

body.dark .table tr:hover td {
  background-color: #1a2435;
}

.level-basic,
.level-improve,
.level-expand {
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  color: white;
  font-weight: 500;
}

.level-basic {
  background-color: #22c55e;
}

.level-improve {
  background-color: #f97316;
}

.level-expand {
  background-color: #ef4444;
}

.task-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.task-item::before {
  content: '✓';
  position: absolute;
  left: 5px;
  color: #20B2AA;
  font-weight: bold;
  font-size: 12px;
  transition: color 0.3s ease;
}

body.dark .task-item::before {
  color: #a8ddd9;
}

.task-item .duration {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  background-color: #a8ddd9;
  color: #1a9088;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark .task-item .duration {
  background-color: #1e293b;
  color: #7fdbd2;
}

.tips {
  background-color: #d1eeec;
  padding: 14px 16px;
  border-radius: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: #2c3e50;
  border-left: 3px solid #20B2AA;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body.dark .tips {
  background-color: #374151;
  color: #7fdbd2;
  border-color: #20B2AA;
}

.tips::before {
  content: '💡';
  font-size: 16px;
  margin-top: 2px;
}

.star-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 16px;
  margin-left: 5px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.star-btn:hover {
  transform: scale(1.2);
  color: #7fdbd2;
}

.star-btn.active {
  color: #20B2AA;
  animation: pulse 0.5s ease;
}

body.dark .star-btn {
  color: #4b5563;
}

body.dark .star-btn:hover {
  color: #7fdbd2;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.error-record-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #20B2AA 0%, #1a9088 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(32, 178, 170, 0.3);
  cursor: pointer;
  font-size: 20px;
  z-index: 100;
  transition: all 0.3s;
}

.error-record-btn:hover {
  background: linear-gradient(135deg, #1a9088 0%, #156e69 100%);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(32, 178, 170, 0.4);
}

body.dark .error-record-btn {
  background: linear-gradient(135deg, #a8ddd9 0%, #1a9088 100%);
  box-shadow: 0 3px 10px rgba(143, 187, 229, 0.4);
}

body.dark .error-record-btn:hover {
  background: linear-gradient(135deg, #1a9088 0%, #156e69 100%);
}

.error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  display: none;
  transition: background-color 0.3s ease;
}

body.dark .error-modal {
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: white;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark .modal-content {
  background-color: #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, #20B2AA 0%, #1a9088 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

body.dark .modal-header {
  background: linear-gradient(135deg, #a8ddd9 0%, #1a9088 100%);
}

.modal-header h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.close-modal:hover {
  opacity: 1;
}

.modal-body {
  padding: 20px;
}

.modal-body textarea {
  width: 100%;
  height: 150px;
  padding: 12px 16px;
  border: 1px solid #a8ddd9;
  border-radius: 8px;
  font-size: 14px;
  resize: none;
  margin-bottom: 15px;
  background-color: #f8fafc;
  color: #1e293b;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body.dark .modal-body textarea {
  background-color: #1a2435;
  border-color: #2d3748;
  color: #e2e8f0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-footer {
  text-align: right;
  padding: 0 20px 20px;
}

.save-error {
  padding: 10px 20px;
  background: linear-gradient(135deg, #20B2AA 0%, #1a9088 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.save-error:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
  background: linear-gradient(135deg, #1a9088 0%, #156e69 100%);
}

body.dark .save-error {
  background: linear-gradient(135deg, #a8ddd9 0%, #1a9088 100%);
}

body.dark .save-error:hover {
  background: linear-gradient(135deg, #1a9088 0%, #156e69 100%);
}

.footer {
  text-align: center;
  margin-top: 40px;
  color: #64748b;
  font-size: 13px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  transition: color 0.3s ease, border-color 0.3s ease;
}

body.dark .footer {
  color: #94a3b8;
  border-top: 1px solid #2d3748;
}

.knowledge-graph {
  margin: 20px 0;
  text-align: center;
}

.knowledge-graph img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

body.dark .knowledge-graph img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.knowledge-graph p {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

body.dark .knowledge-graph p {
  color: #94a3b8;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 15px;
  }

  .header h1 {
    font-size: 20px;
  }

  .header p {
    font-size: 13px;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .theme-toggle,
  .print-btn {
    width: 100%;
    justify-content: center;
  }

  .progress-container {
    gap: 8px;
  }

  .progress-label,
  .progress-text {
    font-size: 12px;
  }

  .month-link,
  .anchor-link {
    padding: 6px 14px;
    margin-right: 8px;
    font-size: 13px;
  }

  .plan-desc {
    padding: 15px;
    margin-bottom: 20px;
  }

  .plan-desc h3 {
    font-size: 16px;
  }

  .plan-desc ul {
    font-size: 13px;
  }

  .week-title {
    padding: 12px 15px;
    font-size: 15px;
  }

  .table {
    display: flex;
    flex-direction: column;
  }

  .table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border: 1px solid #d1eeec;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  body.dark .table tr {
    border: 1px solid #2d3748;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .table th {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    background: linear-gradient(135deg, #d1eeec 0%, #a8ddd9 100%);
  }

  body.dark .table th {
    background: linear-gradient(135deg, #1e293b 0%, #1a2435 100%);
  }

  .table td {
    padding: 12px 15px;
    font-size: 13px;
  }

  .task-item {
    padding-left: 15px;
    margin-bottom: 8px;
  }

  .tips {
    padding: 10px 12px;
    font-size: 12px;
  }

  .error-record-btn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }

  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    max-height: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  }

  .sidebar-title {
    display: none;
  }

  .month-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
    overflow-x: auto;
  }

  body.dark .month-nav {
    border-color: #2d3748;
  }

  .month-link {
    margin-right: 8px;
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .summary-table-container {
    overflow-x: scroll;
  }

  .summary-table {
    font-size: 12px;
  }

  .summary-table th,
  .summary-table td {
    padding: 10px 8px;
  }
}

@media print {
  body {
    background-color: white;
    padding: 0;
    color: #1e293b;
  }

  body.dark {
    background-color: white;
    color: #1e293b;
  }

  .container {
    box-shadow: none;
    padding: 0;
    background-color: white;
  }

  body.dark .container {
    background-color: white;
  }

  .sidebar,
  .month-nav,
  .anchor-nav,
  .error-record-btn,
  .print-btn,
  .theme-toggle,
  .progress-container {
    display: none !important;
  }

  .month-content {
    display: block !important;
  }

  .week-title {
    background-color: #a8ddd9 !important;
    color: #2c3e50 !important;
    border: 1px solid #ddd;
  }

  .week-content {
    border: 1px solid #ddd;
    background-color: white !important;
    max-height: none !important;
    opacity: 1 !important;
  }

  body.dark .week-content {
    background-color: white !important;
  }

  .table th {
    background: linear-gradient(135deg, #d1eeec 0%, #a8ddd9 100%) !important;
    color: #2c3e50 !important;
    border-color: #eee !important;
  }

  .table td {
    color: #64748b !important;
    border-color: #eee !important;
  }

  .tips {
    background-color: #d1eeec !important;
    color: #2c3e50 !important;
    border-color: #20B2AA !important;
  }

  tr,
  td,
  th {
    page-break-inside: avoid;
  }

  .week-plan {
    page-break-after: avoid;
    margin-bottom: 15px;
    box-shadow: none !important;
  }

  .level-basic {
    background-color: #22c55e !important;
    color: white !important;
  }

  .level-improve {
    background-color: #f97316 !important;
    color: white !important;
  }

  .level-expand {
    background-color: #ef4444 !important;
    color: white !important;
  }
}

/* 弱化章节序号样式 */
.unit-number {
  color: #cbd5e1;
  font-size: 0.75em;
  font-weight: 300;
  opacity: 0.5;
  font-style: normal;
}

body.dark .unit-number {
  color: #475569;
  opacity: 0.4;
}

.month-link .unit-number,
.plan-desc h3 .unit-number {
  color: #cbd5e1;
  font-size: 0.8em;
  font-weight: 300;
  opacity: 0.45;
}

body.dark .month-link .unit-number,
body.dark .plan-desc h3 .unit-number {
  color: #475569;
  opacity: 0.35;
}