/* ============================================================
   pack.css — 出发前物料清单（三个界面新增类）
   规则：不覆盖 components.css 任何已有类；颜色全部取 tokens.css 变量，
   文字色沿用 components.css 已出现的色值（#C97A1E / #3D7FB8 / #B4674B / #6B625C）。
   ============================================================ */

/* ===== 出发前准备入口卡（行程页顶部） ===== */
.pack-entry {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(150deg, #FFFFFF 40%, #F3FAF7 100%);
  border: 1.5px solid #D8EFE4;
  border-radius: 18px; padding: 13px 14px; margin-bottom: 11px;
  box-shadow: 0 2px 10px rgba(170, 140, 120, .07);
}
.pe-ring {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), #EAF3EF 0);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.pe-ring::after {
  content: ''; position: absolute; width: 36px; height: 36px;
  background: #fff; border-radius: 50%;
}
.pe-num {
  position: relative; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: -.3px;
}
.pe-main { flex: 1; }
.pe-title { font-size: 13.5px; font-weight: 800; }
.pe-sub { font-size: 10.5px; color: var(--text-2); margin-top: 3px; }
.pe-arrow { color: #C0B6AE; font-size: 15px; flex-shrink: 0; }

/* ===== 清单分类 ===== */
.cat-head { display: flex; align-items: center; justify-content: space-between; margin: 15px 2px 6px; }
.cat-title { font-size: 11px; font-weight: 800; color: var(--text-2); letter-spacing: .5px; }
.cat-count { font-size: 10px; color: #B5AAA2; font-weight: 700; }

/* ===== 物品行 ===== */
.pack-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pack-item:last-child { border-bottom: none; }
.pi-box {
  width: 20px; height: 20px; border-radius: 7px; border: 2px solid #E3D8CF;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; font-weight: 800; margin-top: 1px;
}
.pi-box.done { background: var(--green); border-color: var(--green); }
.pi-main { flex: 1; }
.pi-name { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.pi-name.checked { color: #B0A69E; text-decoration: line-through; }
.pi-why { font-size: 10px; color: #9A8F86; margin-top: 3px; line-height: 1.5; }
.pi-why b { color: #C97A1E; font-weight: 700; }
.pi-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.pi-tag { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.pi-tag.ai { background: #FFF6E0; color: #C97A1E; }
.pi-tag.tpl { background: #EAF3FC; color: #3D7FB8; }
.pi-tag.man { background: #F3F0ED; color: #8D8580; }
.star { font-size: 15px; color: #E8DDD4; flex-shrink: 0; margin-top: 1px; line-height: 1; }
.star.on { color: #E8A22C; }
.pi-ignore {
  font-size: 9px; color: #B5AAA2; font-weight: 700;
  padding: 2px 6px; border-radius: 999px; background: #F6F1ED; flex-shrink: 0; margin-top: 1px;
}

/* 已忽略折叠 */
.ignored {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; color: #A99E96; background: #F6F1ED;
  border-radius: 12px; padding: 9px 12px; margin-top: 10px;
}

/* ===== 模板页 ===== */
.tpl-card { background: #fff; border-radius: 16px; padding: 13px; margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(170, 140, 120, .07); }
.tpl-head { display: flex; align-items: center; gap: 9px; }
.tpl-ico { font-size: 18px; }
.tpl-name { font-size: 13px; font-weight: 700; }
.tpl-sub { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }
.tpl-items { font-size: 10.5px; color: #8D8580; margin-top: 9px; line-height: 1.7; }
.tpl-count { font-size: 10px; font-weight: 800; color: #3D7FB8; background: var(--blue-soft);
  padding: 3px 8px; border-radius: 999px; }
.tpl-del { font-size: 10px; color: #B5AAA2; flex-shrink: 0; padding: 2px 4px; }
.add-tpl {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px dashed #DED3CA; border-radius: 15px; padding: 13px;
  font-size: 12px; font-weight: 700; color: #B4674B; background: #FDF7F3;
}
.note-sm { font-size: 10.5px; color: var(--text-2); line-height: 1.7; margin-top: 8px; }

/* ===== 排版辅助（避免内联样式） ===== */
.mb-xs { margin-bottom: 4px; }
.mb-sm { margin-bottom: 9px; }
.card-items { padding: 4px 14px; }
.hero-pack { padding: 2px 2px 12px; }
.hero-pack-title { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.hero-pack-sub { font-size: 11.5px; color: var(--text-2); margin-top: 8px; line-height: 1.6; }
.txt-faint { color: #B5AAA2; }
.ig-act { color: #C0B6AE; }
