/* H5 适配重置样式（自动生成） */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { background: #e9ecef; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #F5F5F5; padding-bottom: 120px; position: relative; }
#mp-tabbar .tab-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 1000; }
button { font-family: inherit; }
[mp-tap] { cursor: pointer; }
[mp-tap]:active { opacity: 0.8; }
.mp-picker { position: relative; }
.mp-date-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }

/* Toast */
#mp-toast { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; }
.mp-toast-inner { background: rgba(0,0,0,0.78); color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 14px; text-align: center; max-width: 80vw; line-height: 1.5; }
.mp-toast-icon { font-size: 22px; margin-bottom: 6px; }

/* Modal */
#mp-modal { display: none; position: fixed; inset: 0; z-index: 9998; }
.mp-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.mp-modal-box { background: #fff; border-radius: 12px; width: 100%; max-width: 340px; padding: 20px; text-align: center; }
.mp-modal-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: #333; }
.mp-modal-content { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 20px; text-align: left; }
.mp-modal-btns { display: flex; gap: 12px; }
.mp-modal-btn { flex: 1; padding: 10px; border: none; border-radius: 8px; font-size: 15px; background: #ecf0f1; color: #333; }
.mp-modal-btn.mp-confirm { background: #2C3E50; color: #fff; }

/* --- app --- */
/* ===== 骑手维权普法小程序 - 全局样式 ===== */

/* 返回首页导航条 */
.nav-back {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #FFFFFF;
}
.nav-back-icon {
  font-size: 16px;
  margin-right: 4px;
  color: #2C3E50;
}
.nav-back-text {
  font-size: 14px;
  color: #2C3E50;
}

/* 全局页面样式 */
body {
  background-color: #F5F5F5;

  font-size: 14px;
  color: #333333;
  line-height: 1.6;
}

/* ===== 通用布局 ===== */
.container {
  padding: 16px;
  box-sizing: border-box;
}

.page-wrap {
  min-height: 100vh;
  background-color: #F5F5F5;
}

/* ===== 卡片 ===== */
.card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 12px;
  color: #999;
}

/* ===== 按钮 ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 0 24px;
  border: none;
  outline: none;
}

.btn::after {
  border: none;
}

.btn-primary {
  background-color: #2C3E50;
  color: #FFFFFF;
}

.btn-accent {
  background-color: #E67E22;
  color: #FFFFFF;
}

.btn-success {
  background-color: #27AE60;
  color: #FFFFFF;
}

.btn-danger {
  background-color: #E74C3C;
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #2C3E50;
  color: #2C3E50;
}

.btn-copy {
  background-color: #27AE60;
  color: #FFFFFF;
  font-size: 13px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 6px;
}

.btn-sm {
  min-height: 32px;
  font-size: 13px;
  padding: 0 12px;
}

.btn-hover {
  opacity: 0.8;
  transform: scale(0.98);
  transition: all 0.15s ease;
}

/* ===== 免责声明条 ===== */
.disclaimer-bar {
  background: #FFF8E1;
  border-left: 3px solid #E67E22;
  padding: 10px 14px;
  font-size: 12px;
  color: #8D6E00;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer-bar .icon-warning {
  font-size: 16px;
  flex-shrink: 0;
}

.disclaimer-bar .link-text {
  color: #E67E22;
  text-decoration: underline;
  margin-left: 4px;
}

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  background: #ECF0F1;
  color: #2C3E50;
}

.tag-active {
  background: #2C3E50;
  color: #FFFFFF;
}

.tag-hot {
  background: #FFEBEE;
  color: #E74C3C;
}

/* ===== 表单 ===== */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.form-label .required {
  color: #E74C3C;
  margin-left: 2px;
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  background: #FFFFFF;
  box-sizing: border-box;
}

.form-textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  background: #FFFFFF;
  box-sizing: border-box;
  line-height: 1.6;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #2C3E50;
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.char-count.over {
  color: #E74C3C;
}

/* ===== 空状态 ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #999;
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state .empty-text {
  font-size: 14px;
}

/* ===== 分隔线 ===== */
.divider {
  height: 1px;
  background-color: #F0F0F0;
  margin: 12px 0;
}

/* ===== 工具入口卡片 ===== */
.tool-card {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.tool-card .tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-right: 14px;
  flex-shrink: 0;
}

.tool-card .tool-info {
  flex: 1;
}

.tool-card .tool-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.tool-card .tool-desc {
  font-size: 12px;
  color: #999;
}

.tool-card .tool-arrow {
  font-size: 16px;
  color: #CCC;
}

/* ===== 确认弹窗（浮层） ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 16px 16px 0 0;
  padding: 24px 20px 32px;
  width: 100%;
  max-width: 500px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-content .modal-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.modal-content .modal-body {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-content .modal-btns {
  display: flex;
  gap: 12px;
}

.modal-content .modal-btns .btn {
  flex: 1;
}

/* ===== 场景卡片网格 ===== */
.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.scene-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scene-card .scene-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.scene-card .scene-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

/* ===== 分类标签栏 ===== */
.category-tabs {
  display: flex;
  white-space: nowrap;
  padding: 12px 16px;
  gap: 8px;
  overflow-x: auto;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  background: #ECF0F1;
  color: #666;
}

.category-tab.active {
  background: #2C3E50;
  color: #FFFFFF;
}

/* ===== 问答列表（手风琴） ===== */
.faq-item {
  background: #FFFFFF;
  margin: 0 16px 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  gap: 10px;
}

.faq-question .q-icon {
  font-size: 16px;
  font-weight: 700;
  color: #E67E22;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-question .q-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

.faq-question .q-arrow {
  font-size: 14px;
  color: #CCC;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-question .q-arrow.open {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 16px 16px 42px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  display: none;
}

.faq-answer.show {
  display: block;
}

.faq-actions {
  display: flex;
  gap: 16px;
  padding: 0 16px 14px 42px;
}

.faq-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #999;
  padding: 4px 8px;
}

/* ===== 搜索框 ===== */
.search-bar {
  padding: 12px 16px;
  position: sticky;
  top: 0;
  background: #F5F5F5;
  z-index: 10;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 8px 16px;
  border: 1px solid #E0E0E0;
}

.search-input-wrap .search-icon {
  font-size: 16px;
  margin-right: 8px;
  color: #999;
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
}

/* ===== Banner ===== */
.banner {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  padding: 24px 20px;
  color: #FFFFFF;
}

.banner .banner-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.banner .banner-subtitle {
  font-size: 13px;
  opacity: 0.8;
}

/* ===== 分区标题 ===== */
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  padding: 16px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title .section-more {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

/* ===== 水平滚动容器 ===== */
.h-scroll {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.h-scroll-card {
  flex-shrink: 0;
  width: 200px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  white-space: normal;
}

/* ===== 个人中心菜单 ===== */
.menu-list {
  margin: 12px 16px;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid #F5F5F5;
}

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

.menu-item .menu-icon {
  font-size: 20px;
  margin-right: 12px;
  width: 24px;
  text-align: center;
}

.menu-item .menu-text {
  flex: 1;
  font-size: 14px;
  color: #333;
}

.menu-item .menu-badge {
  background: #E74C3C;
  color: #FFFFFF;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 4px;
}

.menu-item .menu-arrow {
  font-size: 14px;
  color: #CCC;
}

/* ===== 结果页 ===== */
.result-box {
  background: #FFFFFF;
  margin: 16px;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.result-box .result-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.result-box .result-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.result-box .result-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.result-box .result-amount {
  font-size: 36px;
  font-weight: 700;
  color: #E67E22;
  margin: 16px 0;
}

/* ===== 步骤指示器 ===== */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 0;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E0E0E0;
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-dot.active {
  background: #2C3E50;
}

.step-dot.done {
  background: #27AE60;
}

.step-line {
  width: 40px;
  height: 2px;
  background: #E0E0E0;
}

.step-line.done {
  background: #27AE60;
}

/* ===== 单选/多选选项 ===== */
.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-item {
  padding: 10px 18px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.option-item.selected {
  border-color: #2C3E50;
  background: #EBF5FB;
  color: #2C3E50;
  font-weight: 600;
}

/* ===== 渠道卡片 ===== */
.channel-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin: 0 16px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.channel-card .channel-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.channel-card .channel-scene {
  font-size: 12px;
  color: #E67E22;
  margin-bottom: 8px;
}

.channel-card .channel-template {
  background: #F9F9F9;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
  max-height: 120px;
  overflow: hidden;
}

.channel-card .channel-actions {
  display: flex;
  gap: 10px;
}

/* ===== 反馈表单 ===== */
.feedback-form {
  padding: 16px;
}

/* 照片上传 */
.photo-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.photo-item image {
  width: 100%;
  height: 100%;
}

.photo-add {
  width: 80px;
  height: 80px;
  border: 2px dashed #E0E0E0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #CCC;
}

/* ===== 静态图文内容 ===== */
.guide-section {
  background: #FFFFFF;
  margin: 0 16px 12px;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.guide-section .guide-title {
  font-size: 17px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ECF0F1;
}

.guide-section .guide-content {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.guide-section .highlight-box {
  background: #FFF3E0;
  border-left: 3px solid #E67E22;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #8D6E00;
}

.guide-section .danger-box {
  background: #FFEBEE;
  border-left: 3px solid #E74C3C;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #C62828;
}

/* ===== 底部固定按钮 ===== */
.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: #FFFFFF;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

/* ===== 文本预览区 ===== */
.preview-area {
  background: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 16px;
  margin: 16px;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  white-space: pre-wrap;
  min-height: 200px;
}

/* ===== 首页问题卡片网格 ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
}

.problem-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.15s ease;
}

.problem-card .problem-icon {
  font-size: 30px;
  margin-bottom: 6px;
}

.problem-card .problem-text {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

/* 常用工具快捷入口 */
.quick-tools {
  display: flex;
  justify-content: space-around;
  padding: 12px 16px;
  background: #FFFFFF;
  margin: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.quick-tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #666;
}

.quick-tool-item .qt-icon {
  font-size: 22px;
}

/* 顶部紧急提醒 */
.emergency-bar {
  background: #FFF5F5;
  border: 1px solid #FFCDD2;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #C62828;
  font-weight: 600;
}

.emergency-bar .emergency-icon {
  font-size: 20px;
}

/* --- pages/home/home --- */
.home-body {
  background-color: #F5F5F5;
  min-height: 100vh;
  padding-bottom: 100px;
}

/* 横幅 */
.banner {
  background-color: #2C3E50;
  padding: 20px 16px;
  text-align: center;
  color: #FFFFFF;
}

.banner-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.banner-subtitle {
  font-size: 13px;
  opacity: 0.85;
}

/* 两大快捷入口 */
.quick-actions {
  display: flex;
  padding: 16px 12px 4px;
  gap: 10px;
}

.quick-action-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 18px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1;
}

.qa-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.qa-text {
  font-size: 15px;
  font-weight: 700;
  color: #2C3E50;
  text-align: center;
}

/* 分区标题 */
.section-label {
  font-size: 17px;
  font-weight: 700;
  color: #2C3E50;
  text-align: center;
  padding: 16px 16px 10px;
}

/* 问题卡片网格 */
.problem-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 12px;
  justify-content: space-between;
}

.problem-card {
  width: 48%;
  min-height: 80px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.card-hover {
  opacity: 0.85;
  transform: scale(0.97);
}

.card-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.card-text {
  font-size: 13px;
  color: #333333;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
}

/* 常用工具 */
.quick-tools {
  display: flex;
  justify-content: space-around;
  background-color: #FFFFFF;
  border-radius: 8px;
  margin: 0 12px;
  padding: 12px 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.quick-tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 8px;
}

.qt-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.qt-text {
  font-size: 11px;
  color: #555555;
}

/* 热门FAQ横向滚动 */
.h-scroll {
  white-space: nowrap;
  width: 100%;
}

.h-scroll-card {
  display: inline-block;
  width: 180px;
  min-height: 70px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  padding: 12px;
  box-sizing: border-box;
  white-space: normal;
  margin-left: 12px;
  vertical-align: top;
}

.h-scroll-card:last-child {
  margin-right: 12px;
}

.faq-q {
  font-size: 13px;
  color: #333333;
  font-weight: 500;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.faq-cat {
  font-size: 11px;
  color: #999999;
  margin-top: 8px;
}

/* 最新案例 */
.case-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  padding: 12px 14px;
  margin: 0 12px 8px;
}

.case-title {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.case-result {
  font-size: 12px;
  color: #27AE60;
  font-weight: 500;
}

.section-more {
  text-align: center;
  font-size: 13px;
  color: #2C3E50;
  padding: 8px 0 16px;
}

/* --- pages/knowledge/card-detail/card-detail --- */
.card-detail-container {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}

/* Back Bar */
.back-bar {
  padding: 10px 15px;
  background: #f5f5f5;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
}

.back-icon {
  font-size: 16px;
  color: #ff6b35;
  margin-right: 4px;
}

.back-text {
  font-size: 14px;
  color: #ff6b35;
}

/* Card Content - styled for screenshot readability */
.card-content {
  margin: 0 15px;
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.card-header {
  margin-bottom: 20px;
}

.card-title-large {
  font-size: 21px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #fff5f0;
  color: #ff6b35;
  font-size: 12px;
  border-radius: 4px;
}

/* Card Body */
.card-body {
  margin-bottom: 20px;
}

.card-text {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  white-space: pre-wrap;
}

/* Legal Reference */
.legal-ref {
  background: #fafafa;
  border-left: 3px solid #ff6b35;
  padding: 15px;
  border-radius: 4px;
  margin-top: 10px;
}

.legal-ref-label {
  font-size: 13px;
  color: #ff6b35;
  font-weight: 600;
  margin-bottom: 6px;
}

.legal-ref-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/* Save Tip */
.save-tip {
  text-align: center;
  padding: 20px 15px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.empty-text {
  font-size: 14px;
  color: #999;
}

/* --- pages/knowledge/case-detail/case-detail --- */
.detail-container {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}

/* Header */
.detail-header {
  background: #fff;
  padding: 20px 15px;
  margin-bottom: 10px;
}

.detail-title {
  font-size: 19px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 10px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-date {
  font-size: 13px;
  color: #999;
}

.case-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.badge-success {
  background: #e8f5e9;
  color: #27ae60;
}

.badge-other {
  background: #f5f5f5;
  color: #999;
}

/* Sections */
.section {
  background: #fff;
  margin-bottom: 10px;
  padding: 15px;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.section-icon {
  font-size: 18px;
  margin-right: 6px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e0e0e0;
}

.timeline-item {
  position: relative;
  margin-bottom: 15px;
  padding-left: 10px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -17px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: #ff6b35;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ff6b35;
}

.timeline-time {
  font-size: 12px;
  color: #ff6b35;
  margin-bottom: 3px;
}

.timeline-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Actions */
.actions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-item {
  display: flex;
  align-items: flex-start;
}

.action-num {
  width: 22px;
  height: 22px;
  background: #ff6b35;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 10px;
}

.action-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  flex: 1;
}

/* Lessons */
.lessons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-item {
  display: flex;
  align-items: flex-start;
}

.lesson-bullet {
  font-size: 14px;
  color: #ff6b35;
  margin-right: 8px;
  flex-shrink: 0;
}

.lesson-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  flex: 1;
}

/* Bottom Actions */
.bottom-actions {
  padding: 15px;
  text-align: center;
}

.btn-collect {
  width: 100%;
  height: 44px;
  background: #fff;
  color: #ff6b35;
  font-size: 15px;
  border: 1px solid #ff6b35;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-collect.collected {
  background: #ff6b35;
  color: #fff;
}

.btn-collect:active {
  opacity: 0.8;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.empty-text {
  font-size: 14px;
  color: #999;
}

/* --- pages/knowledge/cases/cases --- */
.cases-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* Category Tabs */
.category-tabs {
  white-space: nowrap;
  background: #fff;
  padding: 10px 15px;
  display: flex;
  gap: 8px;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  border-radius: 16px;
  flex-shrink: 0;
}

.tab-active {
  background: #ff6b35;
  color: #fff;
}

/* Case Cards */
.cases-list {
  padding: 10px 15px;
}

.case-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.case-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
  margin-right: 10px;
}

.case-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.badge-success {
  background: #e8f5e9;
  color: #27ae60;
}

.badge-other {
  background: #f5f5f5;
  color: #999;
}

.case-summary {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-date {
  font-size: 12px;
  color: #bbb;
  margin-top: 8px;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.empty-text {
  font-size: 14px;
  color: #999;
}

/* --- pages/knowledge/faq/faq --- */
.page-wrap { min-height: 100vh; background: #F5F5F5; padding-bottom: 100px; }

.search-bar { padding: 12px 16px; background: #F5F5F5; }
.search-input-wrap { display: flex; align-items: center; background: #FFFFFF; border-radius: 24px; padding: 8px 16px; border: 1px solid #E0E0E0; }
.search-icon { font-size: 16px; margin-right: 8px; }
.search-input-wrap input { flex: 1; border: none; outline: none; font-size: 14px; }

.category-tabs { display: flex; padding: 12px 16px; overflow-x: auto; white-space: nowrap; }
.category-tab { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 13px; background: #ECF0F1; color: #666; margin-right: 8px; flex-shrink: 0; }
.category-tab.active { background: #2C3E50; color: #FFFFFF; }

.faq-item { background: #FFFFFF; margin: 0 16px 10px; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.faq-question { display: flex; align-items: flex-start; padding: 14px 16px; }
.q-icon { font-size: 16px; font-weight: 700; color: #E67E22; margin-right: 8px; margin-top: 2px; }
.q-text { flex: 1; font-size: 14px; font-weight: 500; color: #333; line-height: 1.5; }
.q-arrow { font-size: 14px; color: #CCC; }

.faq-answer { padding: 0 16px 16px 40px; font-size: 14px; color: #555; line-height: 1.8; display: none; white-space: pre-wrap; }
.faq-answer.show { display: block; }

.faq-actions { display: flex; gap: 20px; padding: 0 16px 14px 40px; }
.faq-action-btn { display: flex; align-items: center; font-size: 12px; color: #999; padding: 4px; }

.empty-state { display: flex; flex-direction: column; align-items: center; padding: 60px 20px; color: #999; }
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-text { font-size: 14px; }

/* --- pages/knowledge/law-cards/law-cards --- */
.law-cards-container {
  min-height: 100vh;
  background: #f5f5f5;
  padding: 10px 15px;
}

/* Category Header */
.category-header {
  display: flex;
  align-items: center;
  padding: 15px 5px 10px;
}

.category-icon {
  font-size: 20px;
  margin-right: 8px;
}

.category-name {
  font-size: 17px;
  font-weight: 700;
  color: #333;
}

/* Cards Grid */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.card-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.card-item:active {
  background: #fafafa;
}

.card-bg {
  display: flex;
  align-items: center;
  padding: 14px 15px;
}

.card-icon-area {
  width: 40px;
  height: 40px;
  background: #fff5f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.card-icon {
  font-size: 20px;
}

.card-info {
  flex: 1;
  overflow: hidden;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-summary {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-arrow {
  font-size: 18px;
  color: #ccc;
  margin-left: 8px;
  flex-shrink: 0;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.empty-text {
  font-size: 14px;
  color: #999;
}

/* --- pages/mine/about/about --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
  padding: 16px;
}

.about-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.about-logo {
  text-align: center;
  font-size: 56px;
  margin-bottom: 12px;
}

.about-name {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #2C3E50;
  margin-bottom: 6px;
}

.about-subtitle {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.6;
}

.about-version {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
}

.about-section {
  margin-bottom: 20px;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.about-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.about-desc.warn {
  background: #FFF8E1;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid #E67E22;
  font-size: 13px;
  color: #8D6E00;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-item {
  width: 100%;
  font-size: 13px;
  color: #555;
  padding: 6px 0;
  line-height: 1.6;
}

.about-desc-bold {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-top: 8px;
  margin-bottom: 4px;
}

.about-footer {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F0F0F0;
  line-height: 1.8;
}

/* --- pages/mine/collections/collections --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
}

.category-tabs {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  background: #F5F5F5;
}

.category-tab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  background: #ECF0F1;
  color: #666;
}

.category-tab.active {
  background: #2C3E50;
  color: #FFFFFF;
}

.collection-item {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  margin: 0 16px 8px;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.col-content {
  flex: 1;
}

.col-type-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #ECF0F1;
  color: #2C3E50;
  margin-bottom: 6px;
}

.col-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.col-category {
  font-size: 12px;
  color: #999;
}

.col-delete {
  padding: 8px;
  font-size: 18px;
  flex-shrink: 0;
}

/* --- pages/mine/disclaimer/disclaimer --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
}

.disclaimer-full {
  padding: 24px 20px;
  background: #FFFFFF;
  margin: 16px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.disclaimer-icon {
  text-align: center;
  font-size: 40px;
  margin-bottom: 8px;
}

.disclaimer-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #2C3E50;
  margin-bottom: 24px;
}

.disclaimer-section {
  margin-bottom: 18px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.section-item {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 4px;
}

.disclaimer-footer {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #F0F0F0;
}

/* --- pages/mine/drafts/drafts --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
  padding: 16px;
}

.draft-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.draft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.draft-scene {
  font-size: 15px;
  font-weight: 600;
  color: #2C3E50;
}

.draft-time {
  font-size: 12px;
  color: #999;
}

.draft-preview {
  font-size: 13px;
  color: #666;
  background: #F9F9F9;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.draft-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.empty-sub {
  font-size: 12px;
  color: #BBB;
  margin-top: 8px;
}

/* --- pages/mine/mine --- */
.card-hover { opacity: 0.85; }

/* --- pages/tools/appeal-generator/appeal-generator --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
}

/* ===== 步骤指示器 ===== */
.steps-indicator {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 4px 8px;
  gap: 0;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E0E0E0;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-dot.active {
  background: #2C3E50;
}

.step-dot.done {
  background: #27AE60;
}

.step-label {
  font-size: 9px;
  color: #999999;
}

.step-label.active-label {
  color: #2C3E50;
  font-weight: 600;
}

.step-line {
  width: 18px;
  height: 1.5px;
  background: #E0E0E0;
  margin-top: 10px;
  flex-shrink: 0;
}

.step-line.done {
  background: #27AE60;
}

/* ===== 通用标题 ===== */
.section-title {
  font-size: 17px;
  font-weight: 700;
  color: #2C3E50;
  text-align: center;
  padding: 16px 16px 4px;
}

.section-subtitle {
  font-size: 13px;
  color: #999999;
  text-align: center;
  padding: 0 16px 12px;
}

/* ===== Step 1: 场景列表 ===== */
.scene-list {
  padding: 0 12px;
}

.scene-card {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.scene-card-left {
  margin-right: 10px;
}

.scene-icon {
  font-size: 24px;
}

.scene-card-center {
  flex: 1;
}

.scene-name {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}

.scene-card-arrow {
  font-size: 18px;
  color: #CCCCCC;
  font-weight: 300;
}

/* ===== Step 2: 证据提示 ===== */
.evidence-card {
  background: #FFFFFF;
  border-radius: 8px;
  margin: 0 12px;
  padding: 14px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.evidence-tip {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #F0F0F0;
}

.evidence-tip:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.evidence-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2C3E50;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
  margin-top: 1px;
}

.evidence-text {
  flex: 1;
  font-size: 13px;
  color: #444444;
  line-height: 1.6;
}

.evidence-notice {
  margin: 12px 12px 0;
  padding: 10px 12px;
  background: #FFF3CD;
  border-radius: 6px;
  font-size: 12px;
  color: #856404;
  line-height: 1.6;
}

/* ===== Step 3: 表单 ===== */
.form-card {
  background: #FFFFFF;
  border-radius: 8px;
  margin: 0 12px;
  padding: 14px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 12px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 5px;
  display: block;
}

.form-input {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 14px;
  background: #FAFAFA;
  box-sizing: border-box;
  color: #333333;
}

.picker-input {
  color: #2C3E50;
}

.form-textarea {
  width: 100%;
  min-height: 80px;
  padding: 9px 10px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 14px;
  background: #FAFAFA;
  box-sizing: border-box;
  line-height: 1.6;
}

/* ===== 选项芯片 ===== */
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.option-chip {
  padding: 8px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  background: #FAFAFA;
  font-size: 13px;
  color: #555555;
  transition: all 0.15s;
}

.chip-selected {
  border-color: #2C3E50;
  background: #2C3E50;
  color: #FFFFFF;
  font-weight: 600;
}

/* 多选/单选"其他"后的自定义输入 */
.custom-input {
  margin-top: 8px;
}

/* ===== 步骤按钮组 ===== */
.step-actions {
  display: flex;
  gap: 8px;
  padding: 12px 12px 0;
  box-sizing: border-box;
}

.step-actions .btn {
  font-size: 14px;
  padding: 11px 14px;
  border-radius: 6px;
}

/* ===== Step 4: 预览 ===== */
.preview-card {
  margin: 0 16px 10px;
}

.preview-text {
  padding: 16px;
  font-size: 14px;
  color: #333333;
  line-height: 2;
  background: #FFFFFF;
  border-radius: 6px;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 325px;
}

.preview-area {
  width: 100%;
  min-height: 325px;
  padding: 16px;
  font-size: 14px;
  color: #333333;
  line-height: 2;
  background: #FFFFFF;
  border-radius: 6px;
  border: none;
  box-sizing: border-box;
}

.action-btns {
  display: flex;
  gap: 8px;
  padding: 0 12px 8px;
  box-sizing: border-box;
}

.action-btns .btn {
  font-size: 14px;
  padding: 11px 10px;
  border-radius: 6px;
}

.action-btns.primary {
  padding-bottom: 6px;
}

/* ===== Step 5: 提交后指引 ===== */
.guide-card {
  background: #FFFFFF;
  border-radius: 8px;
  margin: 0 12px;
  padding: 16px 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.guide-step {
  margin-bottom: 0;
}

.guide-step-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.guide-step-num {
  font-size: 20px;
  margin-right: 6px;
}

.guide-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #2C3E50;
}

.guide-step-body {
  padding-left: 26px;
}

.guide-item {
  font-size: 13px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 2px;
}

.guide-divider {
  height: 0.5px;
  background: #EEEEEE;
  margin: 12px 0 12px 26px;
}

/* ===== 公共按钮样式 ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-weight: 600;
}

.btn-accent {
  background: #2C3E50;
  color: #FFFFFF;
}

.btn-success {
  background: #27AE60;
  color: #FFFFFF;
}

.btn-outline {
  background: #FFFFFF;
  color: #2C3E50;
  border: 1px solid #2C3E50;
}

.btn-hover {
  opacity: 0.85;
  transform: scale(0.98);
}

/* --- pages/tools/appeal-guide/appeal-guide --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
  padding-bottom: 80px;
}

.container {
  padding: 12px 16px;
}

.guide-section {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.guide-title {
  font-size: 16px;
  font-weight: 700;
  color: #2C3E50;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #ECF0F1;
}

.guide-content {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  white-space: pre-wrap;
}

.sub-block {
  padding: 12px 14px;
  border-radius: 8px;
  margin-top: 10px;
}

.highlight-box {
  background: #FFF8F0;
  border-left: 4px solid #E67E22;
}

.danger-box {
  background: #FFF0F0;
  border-left: 4px solid #E74C3C;
}

.sub-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.sub-content {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  white-space: pre-wrap;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  padding: 12px 16px;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

.btn-generate {
  width: 100%;
  height: 46px;
  line-height: 46px;
  background: #E67E22;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-generate::after {
  border: none;
}

/* --- pages/tools/calculator/calculator --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
  padding-bottom: 20px;
}

.container {
  padding: 16px;
}

.form-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px 16px;
}

.form-title {
  font-size: 16px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 18px;
}

.form-item {
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  height: 44px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  background: #FAFBFC;
}

.form-input:focus {
  border-color: #E67E22;
  background: #FFFFFF;
}

.btn-calc {
  width: 100%;
  height: 46px;
  line-height: 46px;
  background: #E67E22;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-calc::after {
  border: none;
}

.result-card {
  background: linear-gradient(135deg, #2C3E50, #34495E);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 14px;
}

.result-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.result-amount {
  font-size: 40px;
  font-weight: 700;
  color: #FFFFFF;
}

.ratio-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
}

.ratio-label {
  font-size: 13px;
  color: #999;
  margin-bottom: 6px;
}

.ratio-value {
  font-size: 32px;
  font-weight: 700;
  color: #E67E22;
}

.ratio-desc {
  font-size: 12px;
  color: #AAA;
  margin-top: 4px;
}

.warnings-title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  padding: 0 4px;
}

.warning-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 4px solid #CCC;
}

.warning-danger {
  border-left-color: #E74C3C;
  background: #FFF5F5;
}

.warning-warning {
  border-left-color: #E67E22;
  background: #FFF8F0;
}

.warning-info {
  border-left-color: #3498DB;
  background: #F0F7FD;
}

.warning-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.warning-law {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
  font-weight: 500;
}

.btn-reset {
  width: 100%;
  height: 46px;
  line-height: 46px;
  background: #FFFFFF;
  color: #E67E22;
  font-size: 16px;
  font-weight: 600;
  border-radius: 24px;
  border: 2px solid #E67E22;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-reset::after {
  border: none;
}

/* --- pages/tools/channels/channels --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
  padding-bottom: 20px;
}

.category-tabs {
  display: flex;
  white-space: nowrap;
  padding: 12px 16px;
  gap: 8px;
  overflow-x: auto;
  background: #F5F5F5;
}

.category-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  background: #ECF0F1;
  color: #666;
}

.category-tab.active {
  background: #2C3E50;
  color: #FFFFFF;
}

.container {
  padding: 0 16px;
}

.channel-card {
  background: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.channel-header {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  gap: 10px;
}

.channel-header:active {
  background: #FAFBFC;
}

.channel-info {
  flex: 1;
}

.channel-name {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.channel-scene {
  font-size: 12px;
  color: #E67E22;
  line-height: 1.4;
}

.channel-arrow {
  font-size: 12px;
  color: #CCC;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.channel-arrow.open {
  transform: rotate(180deg);
}

.channel-body {
  display: none;
  padding: 0 16px 14px;
  border-top: 1px solid #F0F0F0;
  padding-top: 12px;
}

.channel-body.show {
  display: block;
}

.channel-guide {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  white-space: pre-wrap;
  margin-bottom: 10px;
}

.channel-template-box {
  background: #F5F5F5;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}

.channel-template-text {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  white-space: pre-wrap;
}

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

.btn-call {
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  background: #E67E22;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  border-radius: 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-call::after {
  border: none;
}

/* --- pages/tools/checker/checker --- */
.checker-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 10px;
  box-sizing: border-box;
}

/* Progress */
.progress-indicator {
  text-align: center;
  padding: 10px 0;
}

.progress-text {
  font-size: 14px;
  color: #999;
  display: block;
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #ff6b35;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Question Card */
.question-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.question-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
}

.question-desc {
  font-size: 13px;
  color: #999;
  margin-top: 8px;
  line-height: 1.5;
}

/* Option Buttons */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  width: 100%;
  min-height: 44px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  transition: all 0.2s;
}

.option-btn:active {
  background: #f0f0f0;
}

.option-selected {
  border-color: #ff6b35;
  background: #fff8f5;
  color: #ff6b35;
}

.option-label {
  font-size: 14px;
  color: #333;
}

.option-selected .option-label {
  color: #ff6b35;
}

/* Result Page */
.result-container {
  padding: 10px 0;
}

.result-header {
  text-align: center;
  padding: 30px 0 20px;
}

.result-icon {
  font-size: 40px;
  margin-bottom: 6px;
}

.result-score {
  font-size: 16px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 8px;
}

.result-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.result-detail {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding: 0 10px;
}

.severity-high {
  color: #e74c3c;
}

.severity-medium {
  color: #f39c12;
}

.severity-low {
  color: #27ae60;
}

/* Suggestions */
.suggestions-section {
  margin: 15px 0;
}

.suggestions-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  padding-left: 5px;
}

.suggestion-card {
  background: #fff;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.suggestion-num {
  width: 22px;
  height: 22px;
  background: #ff6b35;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 10px;
}

.suggestion-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  flex: 1;
}

/* Result Actions */
.result-actions {
  margin-top: 30px;
  text-align: center;
}

.btn-generate {
  width: 100%;
  height: 48px;
  background: #ff6b35;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.btn-generate:active {
  background: #e55a2b;
}

.btn-restart {
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 10px;
}

/* --- pages/tools/evidence-guide/evidence-guide --- */
.page-wrap {
  min-height: 100vh;
  background: #F5F5F5;
  padding-bottom: 20px;
}

.emergency-bar {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  background: #FFF0F0;
  border-bottom: 2px solid #E74C3C;
  gap: 10px;
}

.emergency-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.emergency-text {
  font-size: 14px;
  color: #C0392B;
  font-weight: 600;
  line-height: 1.6;
}

.container {
  padding: 12px 16px;
}

.section-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #2C3E50;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #ECF0F1;
}

.section-content {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  white-space: pre-wrap;
  margin-bottom: 12px;
}

.items-list {
  margin-top: 8px;
}

.item-card {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  background: #FAFBFC;
  border-radius: 8px;
  margin-bottom: 10px;
  gap: 12px;
}

.item-card:last-child {
  margin-bottom: 0;
}

.item-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 8px;
}

.item-body {
  flex: 1;
}

.item-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.item-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  white-space: pre-wrap;
}

.template-box {
  background: #F7F8FA;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
}

.template-text {
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  color: #555;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

.template-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

/* --- pages/tools/index/index --- */
.card-hover { opacity: 0.85; }

/* --- components/confirm-modal/confirm-modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 16px 16px 0 0;
  padding: 24px 20px 32px;
  width: 100%;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #333;
}

.modal-body {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-btns {
  display: flex;
}

.modal-btns .btn {
  flex: 1;
  margin: 0 6px;
}

/* --- components/copy-button/copy-button --- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #27AE60;
  color: #FFFFFF;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 6px;
}

.copy-btn:active {
  opacity: 0.8;
}

.copy-icon {
  font-size: 14px;
}

/* --- components/disclaimer-bar/disclaimer-bar --- */
.disclaimer-bar {
  background: #FFF8E1;
  border-left: 3px solid #E67E22;
  padding: 10px 14px;
  font-size: 12px;
  color: #8D6E00;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  border-left: none;
  border-top: 2px solid #E67E22;
  background: #FFFDE7;
}

.disclaimer-bar .icon-warning {
  font-size: 16px;
  flex-shrink: 0;
}

.disclaimer-bar .disclaimer-text {
  flex: 1;
}

.disclaimer-bar .link-text {
  color: #E67E22;
  text-decoration: underline;
  flex-shrink: 0;
}

/* --- custom-tab-bar/index --- */
.tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  padding-bottom: env(safe-area-inset-bottom);
  background: #FFFFFF;
  border-top: 0.5px solid #E0E0E0;
  box-sizing: border-box;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 6px 0;
}

.tab-icon {
  width: 28px;
  height: 28px;
}

.tab-text {
  font-size: 12px;
  margin-top: 3px;
  color: #999999;
}

.tab-text.active {
  color: #2C3E50;
  font-weight: 600;
}
