@charset "utf-8";
/* ============================================================
   qinggan-jiqiao.css —— 情感技巧栏目页专属样式
   设计概念：「沟通工具箱」——情境切换 / 话术卡牌 / 对照表 / 练习清单
   主题色：深青绿（--ink #0f3f3a）+ 琥珀（--accent #c2761f）
   ============================================================ */

.cp-page--jiqiao {
  --ink: #0f3f3a;
  --ink-2: #17635a;
  --ink-deep: #06231f;
  --accent: #9c580c;      /* 在白色与奶油底上对比度均 ≥4.5，可安全用于正文与链接 */
  --accent-2: #e0a247;
  --accent-deep: #7a4708;
  --gold: #f0c572;
  --bg: #f3f6f0;
  --bg-2: #eef4ec;
  --edge: #dce7d7;
  --chip: #fbeed6;
}
.cp-page--jiqiao .cp-hero { background: linear-gradient(155deg, #f6f9f4 0%, #eef4ec 52%, #e4eee1 100%); }
.cp-page--jiqiao .cp-hero__grid {
  background-image: linear-gradient(rgba(15, 63, 58, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 63, 58, .05) 1px, transparent 1px);
}

/* 主题修正：琥珀色作白色文字底时对比度不足，改用深色端渐变 */
.cp-page--jiqiao .cp-btn { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); }
.cp-page--jiqiao .cp-btn--ghost { background: #fff; }

/* ---------- Hero 右侧：话术对照气泡 ---------- */
.cp-talk {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto;
  border-radius: 26px; background: #fff; border: 1px solid var(--edge);
  box-shadow: 0 10px 0 var(--edge), 0 30px 40px -28px rgba(15, 63, 58, .55);
  padding: 22px 22px 24px;
}
.cp-talk__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px dashed var(--edge);
}
.cp-talk__top b { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.cp-talk__dot { display: inline-flex; gap: 6px; }
.cp-talk__dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--edge); }
.cp-talk__row { margin-top: 16px; }
.cp-talk__row > small { display: block; margin-bottom: 7px; font-size: 11px; letter-spacing: .18em; color: var(--muted-2); }
.cp-talk__bubble {
  position: relative; padding: 13px 16px; border-radius: 16px; font-size: 14px; line-height: 1.75;
}
.cp-talk__bubble--bad { background: #fdecea; color: #9c3a2c; border-top-left-radius: 4px; }
.cp-talk__bubble--good { background: var(--bg); color: var(--ink); border-top-left-radius: 4px; border-left: 3px solid var(--accent); }
.cp-talk__bubble strong { display: block; font-size: 15px; }
.cp-talk__bubble span { display: block; margin-top: 6px; font-size: 12px; opacity: .75; }
.cp-talk__arrow { margin: 14px 0 0 8px; font-size: 15px; color: var(--accent); }
.cp-talk__badge {
  position: absolute; right: -12px; top: -12px; padding: 7px 15px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff;
  font-size: 12px; font-weight: 700; box-shadow: 0 4px 0 var(--accent-deep);
}

/* ---------- 模块 01：情境工具箱（纯 CSS 切换） ---------- */
.tool__radio { position: absolute; opacity: 0; pointer-events: none; }
.tool__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tool__tab {
  padding: 12px 22px; border-radius: 14px; font-size: 15px; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid var(--edge); box-shadow: 0 4px 0 var(--edge);
  cursor: pointer; transition: all .22s ease; user-select: none;
}
.tool__tab:hover { color: var(--ink); transform: translateY(-2px); }
.tool__panel { display: none; }
.tool__panel-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
  margin-bottom: 20px; font-family: var(--serif); font-size: 22px; font-weight: 900; color: var(--ink);
}
.tool__panel-title small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted-2); }
#scene1:checked ~ .tool__tabs label[for="scene1"],
#scene2:checked ~ .tool__tabs label[for="scene2"],
#scene3:checked ~ .tool__tabs label[for="scene3"],
#scene4:checked ~ .tool__tabs label[for="scene4"] {
  color: #fff; background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-color: transparent; box-shadow: 0 4px 0 var(--ink-deep);
}
#scene1:checked ~ .tool__panels .tool__panel:nth-child(1),
#scene2:checked ~ .tool__panels .tool__panel:nth-child(2),
#scene3:checked ~ .tool__panels .tool__panel:nth-child(3),
#scene4:checked ~ .tool__panels .tool__panel:nth-child(4) { display: block; }
.tool__radio:focus-visible ~ .tool__tabs label { outline: 2px dashed var(--accent); outline-offset: 3px; }

.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.skill {
  display: flex; flex-direction: column; padding: 24px 22px; border-radius: 22px; background: #fff;
  border: 1px solid var(--edge); box-shadow: 0 8px 0 var(--edge);
}
.skill__no {
  display: inline-block; align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  background: var(--chip); font-size: 12px; font-weight: 700; color: var(--accent-deep);
}
.skill__name { margin-top: 12px; font-family: var(--serif); font-size: 18px; font-weight: 900; line-height: 1.5; color: var(--ink); }
.skill__say { position: relative; margin-top: 14px; padding: 12px 14px 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.8; }
.skill__say b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .14em; }
.skill__say--bad { background: #fdecea; color: #9c3a2c; }
.skill__say--bad b { color: #9c3a2c; }
.skill__say--good { background: var(--bg); color: var(--ink); border-left: 3px solid var(--accent); }
.skill__say--good b { color: var(--accent-deep); }
.skill__why { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.skill__link { margin-top: 14px; display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); }
.skill__link:hover { color: var(--accent-deep); }
.skill__foot { margin-top: auto; }

/* ---------- 模块 02：四级进阶阶梯 ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; }
.ladder__item { position: relative; }
.ladder__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ladder__level { font-family: Georgia, serif; font-size: 12px; letter-spacing: .18em; color: var(--muted-2); }
.ladder__chip { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--bg); color: var(--accent-deep); }
.ladder__bar { height: 8px; border-radius: 999px; background: var(--edge); overflow: hidden; }
.ladder__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.ladder__card {
  margin-top: 14px; padding: 20px 20px 22px; border-radius: 22px; background: #fff;
  border: 1px solid var(--edge); box-shadow: 0 8px 0 var(--edge);
}
.ladder__item:nth-child(2) .ladder__card { padding-top: 28px; }
.ladder__item:nth-child(3) .ladder__card { padding-top: 36px; }
.ladder__item:nth-child(4) .ladder__card {
  padding-top: 44px; background: linear-gradient(to bottom, var(--ink), var(--ink-deep));
  border-color: transparent; box-shadow: 0 8px 0 var(--ink-deep);
}
.ladder__name { font-family: var(--serif); font-size: 20px; font-weight: 900; color: var(--ink); }
.ladder__item:nth-child(4) .ladder__name { color: #fff; }
.ladder__desc { margin-top: 10px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.ladder__item:nth-child(4) .ladder__desc { color: rgba(255, 255, 255, .82); }
.ladder__list { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--edge); }
.ladder__item:nth-child(4) .ladder__list { border-color: rgba(255, 255, 255, .22); }
.ladder__list li { position: relative; padding-left: 16px; font-size: 13px; line-height: 2; color: var(--muted); }
.ladder__item:nth-child(4) .ladder__list li { color: rgba(255, 255, 255, .82); }
.ladder__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- 模块 03：话术对照表 ---------- */
.cp-table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--edge); background: #fff; box-shadow: 0 8px 0 var(--edge); }
.cp-table { min-width: 640px; font-size: 14px; }
.cp-table caption { padding: 18px 22px 0; font-size: 13px; text-align: left; color: var(--muted-2); }
.cp-table th, .cp-table td { padding: 16px 20px; text-align: left; vertical-align: top; line-height: 1.8; border-bottom: 1px solid var(--edge); }
.cp-table thead th { background: var(--bg); font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cp-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cp-table tbody tr:last-child th, .cp-table tbody tr:last-child td { border-bottom: 0; }
.cp-table tbody tr:hover td, .cp-table tbody tr:hover th { background: #fbfcfa; }
.cp-table .is-bad { color: #9c3a2c; }
.cp-table .is-good { color: var(--ink); font-weight: 700; }
.cp-table .is-why { color: var(--muted); font-size: 13px; }

/* ---------- 模块 04：微练习清单 ---------- */
.drill { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.drill__item {
  display: flex; gap: 14px; padding: 20px 20px; border-radius: 20px; background: #fff;
  border: 1px solid var(--edge); box-shadow: 0 6px 0 var(--edge); transition: transform .22s ease;
}
.drill__item:hover { transform: translateY(-4px); }
.drill__day {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: var(--bg); color: var(--accent-deep);
  font-family: Georgia, serif; font-size: 16px; font-weight: 900; line-height: 1;
}
.drill__day small { font-family: var(--sans); font-size: 10px; letter-spacing: .02em; margin-top: 3px; color: var(--muted); }
.drill__body b { display: block; font-size: 15px; color: var(--ink); }
.drill__body p { margin-top: 6px; font-size: 13px; line-height: 1.75; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .drill { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .cp-talk { padding: 18px; }
  .tool__tabs { gap: 8px; }
  .tool__tab { padding: 10px 16px; font-size: 14px; flex: 1 1 44%; text-align: center; }
  .tool__panel-title { font-size: 18px; }
  .skill-grid, .ladder, .drill { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ladder__card, .ladder__item:nth-child(2) .ladder__card,
  .ladder__item:nth-child(3) .ladder__card, .ladder__item:nth-child(4) .ladder__card { padding: 20px; }
  /* 表格转卡片 */
  .cp-table { min-width: 0; }
  .cp-table thead { display: none; }
  .cp-table, .cp-table tbody, .cp-table tr, .cp-table th, .cp-table td { display: block; width: 100%; }
  .cp-table tr { padding: 16px 18px; border-bottom: 1px solid var(--edge); }
  .cp-table tbody tr:last-child { border-bottom: 0; }
  .cp-table th, .cp-table td { padding: 0; border: 0; }
  .cp-table tbody th { font-size: 16px; margin-bottom: 10px; }
  .cp-table td { padding: 8px 0 0 12px; }
  .cp-table td::before {
    content: attr(data-th) "："; display: block; font-size: 12px; color: var(--muted-2); margin-bottom: 2px;
  }
}
