/* ===== 软考学习看板 - 样式系统 ===== */

:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #818CF8;
  --primary-bg: #EEF2FF;
  --success: #10B981;
  --success-bg: #D1FAE5;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --danger: #EF4444;
  --danger-bg: #FEE2E2;
  --info: #0EA5E9;
  --info-bg: #E0F2FE;

  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overscroll-behavior-y: none;
}

/* ===== 底部导航栏 ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 100%;
  cursor: pointer;
  transition: color 0.2s;
  color: var(--text-light);
  font-size: 11px;
  -webkit-user-select: none;
  user-select: none;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.nav-item.active {
  color: var(--primary);
}

/* ===== 页面容器 ===== */
.page-container {
  padding: 16px;
  padding-bottom: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.page {
  display: none;
  animation: fadeIn 0.25s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 页面标题 ===== */
.page-header {
  margin-bottom: 20px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== 卡片 ===== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
}

.card-link {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.card-link:active {
  transform: scale(0.98);
}

.card-link:hover {
  box-shadow: var(--shadow-md);
}

/* ===== 网格布局 ===== */
.grid {
  display: grid;
  gap: 12px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 639px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(1, 1fr); }
}

/* ===== 统计卡片 ===== */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.stat-card.success::before { background: var(--success); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before { background: var(--danger); }
.stat-card.info::before { background: var(--info); }

.stat-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===== 进度条 ===== */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-bar-fill.success { background: linear-gradient(90deg, #6EE7B7, var(--success)); }
.progress-bar-fill.warning { background: linear-gradient(90deg, #FCD34D, var(--warning)); }
.progress-bar-fill.danger { background: linear-gradient(90deg, #FCA5A5, var(--danger)); }

.progress-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

/* ===== 标签/徽章 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  gap: 3px;
}

.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-success { background: var(--success-bg); color: #065F46; }
.badge-warning { background: var(--warning-bg); color: #92400E; }
.badge-danger { background: var(--danger-bg); color: #991B1B; }
.badge-info { background: var(--info-bg); color: #075985; }
.badge-gray { background: #F3F4F6; color: var(--text-secondary); }
.badge-white { background: rgba(255,255,255,0.2); color: white; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-user-select: none;
  user-select: none;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:active {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  min-height: 36px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  min-height: 52px;
}

.btn-block {
  width: 100%;
}

/* ===== 章节卡片 ===== */
.chapter-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.chapter-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.chapter-header:active {
  background: var(--border-light);
}

.chapter-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.chapter-info {
  flex: 1;
  min-width: 0;
}

.chapter-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.chapter-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.chapter-arrow {
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.chapter-arrow.expanded {
  transform: rotate(90deg);
}

.chapter-sections {
  display: none;
  padding: 0 16px 12px 52px;
}

.chapter-sections.expanded {
  display: block;
}

.section-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.section-item:active {
  background: var(--border-light);
}

.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.section-dot.not-started { background: var(--text-light); }
.section-dot.in-progress { background: var(--warning); }
.section-dot.completed { background: var(--success); }

.section-content {
  flex: 1;
  min-width: 0;
}

.section-name {
  font-size: 13px;
  font-weight: 500;
}

.section-desc {
  font-size: 11px;
  color: var(--text-light);
}

/* ===== 题目卡片 ===== */
.question-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.question-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 16px;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-item {
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.15s;
  font-size: 14px;
  line-height: 1.6;
  -webkit-user-select: none;
  user-select: none;
}

.option-item:active {
  transform: scale(0.99);
}

.option-item.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.option-item.correct {
  border-color: var(--success);
  background: var(--success-bg);
}

.option-item.wrong {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.option-item.selected .option-letter {
  background: var(--primary);
  color: white;
}

.option-item.correct .option-letter {
  background: var(--success);
  color: white;
}

.option-item.wrong .option-letter {
  background: var(--danger);
  color: white;
}

.option-text {
  flex: 1;
  padding-top: 3px;
}

.analysis-box {
  margin-top: 16px;
  padding: 14px;
  background: #F0F9FF;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--info);
  font-size: 13px;
  line-height: 1.7;
  color: #0C4A6E;
}

.analysis-box .label {
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.answer-box {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.answer-box.correct-answer {
  background: var(--success-bg);
  color: #065F46;
}

.answer-box.wrong-answer {
  background: var(--danger-bg);
  color: #991B1B;
}

/* ===== 交互控制 ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  transition: all 0.15s;
  flex-shrink: 0;
}

.chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== 学习计时器 ===== */
.timer-display {
  font-size: 48px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--primary);
  letter-spacing: 2px;
  padding: 20px 0;
}

.timer-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ===== 知识点卡片 ===== */
.kp-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.kp-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.kp-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
}

.kp-tip {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--warning-bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #92400E;
  display: flex;
  gap: 8px;
}

.kp-tip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== 热力图日历 ===== */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 3px;
  padding: 8px;
}

.heatmap-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--border-light);
  min-height: 20px;
}

.heatmap-cell.level-1 { background: #DBEAFE; }
.heatmap-cell.level-2 { background: #93C5FD; }
.heatmap-cell.level-3 { background: #3B82F6; }
.heatmap-cell.level-4 { background: #1D4ED8; }

/* ===== 环形进度图 ===== */
.ring-progress {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.ring-progress svg {
  transform: rotate(-90deg);
}

.ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.ring-text .num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.ring-text .label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.modal-body {
  font-size: 14px;
  line-height: 1.7;
}

.modal-footer {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ===== Toast 提示 ===== */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,41,59,0.95);
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  z-index: 300;
  white-space: nowrap;
  animation: toastIn 0.2s ease;
  pointer-events: none;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  color: var(--text-light);
  opacity: 0.5;
}

.empty-state .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.empty-state .desc {
  font-size: 13px;
}

/* ===== Flex 工具类 ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.text-white { color: white; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 顶部头部 ===== */
.app-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 16px;
}

.app-header .title {
  font-size: 20px;
  font-weight: 700;
}

.app-header .subtitle {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== 答题模式控制栏 ===== */
.quiz-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz-counter {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.quiz-counter .current {
  color: var(--primary);
  font-size: 18px;
}

/* ===== 文本域 ===== */
textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.2s;
}

textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== 评分按钮组 ===== */
.score-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.score-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
  text-align: center;
}

.score-btn:active {
  transform: scale(0.96);
}

.score-btn.bad {
  border-color: var(--danger);
  color: var(--danger);
}

.score-btn.bad:hover, .score-btn.bad.active {
  background: var(--danger);
  color: white;
}

.score-btn.good {
  border-color: var(--success);
  color: var(--success);
}

.score-btn.good:hover, .score-btn.good.active {
  background: var(--success);
  color: white;
}

.score-btn.great {
  border-color: var(--primary);
  color: var(--primary);
}

.score-btn.great:hover, .score-btn.great.active {
  background: var(--primary);
  color: white;
}

/* ===== 设置项 ===== */
.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-label {
  font-size: 14px;
  font-weight: 500;
}

.setting-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ===== 切换开关 ===== */
.switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.switch.on {
  background: var(--primary);
}

.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch.on::after {
  transform: translateX(20px);
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .page-container {
    padding: 24px;
    padding-bottom: 80px;
  }

  .page-title {
    font-size: 28px;
  }

  .stat-value {
    font-size: 32px;
  }

  .question-text {
    font-size: 17px;
  }
}

/* ===== 隐藏滚动条 ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ===== 图标按钮 ===== */
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.15s;
}

.icon-btn:active {
  background: var(--border-light);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== 倒计时/计时标记 ===== */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== 飞书同步样式 ===== */
.sync-form {
  display: flex;
  flex-direction: column;
}

.sync-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-top: 4px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.sync-input:focus {
  outline: none;
  border-color: var(--primary);
}

.sync-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.sync-status-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sync-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.sync-status-dot.syncing {
  background: var(--primary);
  animation: pulse 1.5s infinite;
}

.sync-status-dot.error {
  background: var(--danger);
}

.sync-help {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.sync-help summary {
  color: var(--primary);
}

.sync-help-content {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.sync-help-content ol {
  padding-left: 16px;
}

.sync-help-content li {
  margin-bottom: 4px;
}

.sync-help-content code {
  background: var(--border-light);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 11px;
}

.sync-help-note {
  margin-top: 8px;
  padding: 8px;
  background: var(--warning-bg);
  border-radius: 4px;
  color: #92400E;
  font-size: 11px;
}

.sync-help-content a {
  color: var(--primary);
  text-decoration: none;
}

.sync-help-content a:hover {
  text-decoration: underline;
}
