/* ============================================================
   适老智家 · 智能厨房（kitchen.html）
   颜色、按钮、卡片一律沿用 styles.css，这里只放这一页自己的东西
   ============================================================ */

/* ---------- 页头下方的一行提示 ---------- */
.kt-leadline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 58px;
  padding: 22px 24px;
  background: var(--brand-soft);
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
}
.kt-leadline svg {
  width: 2rem;
  height: 2rem;
  flex: none;
  color: var(--brand-strong);
}
.kt-leadline p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}
.kt-leadline b { color: var(--ink); font-weight: 750; }

/* ============================================================
   01 三个最要命的时刻
   —— 红橙色顶条，和后面三件套的暖橙区分开：这三张是「警示」
   ============================================================ */
.kt-moments {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.kt-moment {
  position: relative;
  padding: 26px 24px 24px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-top: 8px solid var(--warn);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
.kt-moment-no {
  font-family: var(--mono);
  display: inline-block;
  margin-bottom: 12px;
  padding: .2rem .68rem;
  border-radius: 999px;
  background: #F1F5FA;
  color: var(--warn);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .1em;
}
.kt-moment h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .02em;
}
.kt-moment p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}

/* 收束一句：靠留神没用，得靠设备兜住 */
.kt-turn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 20px 22px;
  background: #EDF1F7;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
}
.kt-turn svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  color: var(--brand-strong);
}
.kt-turn p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.kt-turn b { color: var(--brand-strong); font-weight: 750; }

/* ============================================================
   02 核心三件套：火 / 烟 / 气
   ============================================================ */
.kt-core {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
/* 三张卡等高，「花钱量级」那行统一贴到底部对齐 */
.kt-item {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
/* 左上角一条 62px 刻度线，hover 时铺满整宽（冷白商务） */
.kt-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 2px;
  background: var(--brand);
  transition: width .28s ease;
}
.kt-item:hover::before {
  width: 100%;
}
.kt-item-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.kt-ico {
  border: var(--bw) solid var(--line);
  width: min(3.7rem, 76px);
  height: min(3.7rem, 76px);
  flex: none;
  border-radius: var(--r-sm);
  background: var(--tone-a);
  color: var(--tone-a-ink);
  display: grid;
  place-items: center;
}
.kt-ico svg { width: min(2.2rem, 46px); height: min(2.2rem, 46px); }
.kt-no {
  font-family: var(--mono);
  margin-left: auto;
  font-size: min(2.1rem, 44px);
  font-weight: 750;
  line-height: 1;
  color: var(--line);
  letter-spacing: .02em;
}
.kt-item h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .02em;
}
.kt-lead {
  margin: 0 0 18px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--brand-strong);
}
.kt-do {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.kt-do li {
  position: relative;
  padding: 6px 0 6px 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}
.kt-do li::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: 1.02em;
  width: .52rem;
  height: .52rem;
  border-radius: 2px;
  background: var(--brand);
}
.kt-do b { color: var(--ink); font-weight: 750; }
.kt-feel {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--brand-soft);
  border-radius: var(--r-sm);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}
.kt-feel b { color: var(--ink); font-weight: 750; }
.kt-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--bw) solid var(--line);
  font-size: .96rem;
  font-weight: 700;
  color: var(--ink-2);
}
.kt-money { color: var(--brand); font-weight: 750; letter-spacing: .08em; }

/* ============================================================
   03 联动链路：冒烟之后，一分钟内发生什么
   ============================================================ */
.kt-chain-sec {
  background: linear-gradient(180deg, rgba(29, 78, 216, .07) 0%, rgba(29, 78, 216, 0) 100%);
}
.kt-chain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  counter-reset: kc;
}
.kt-chain li {
  position: relative;
  padding: 22px 22px 22px 62px;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  counter-increment: kc;
}
.kt-chain li::before {
  content: counter(kc);
  position: absolute;
  left: 20px;
  top: 20px;
  width: min(1.85rem, 38px);
  height: min(1.85rem, 38px);
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: var(--brand);
  color: #fff;
  font-size: .92rem;
  font-weight: 750;
}
.kt-chain h3 {
  margin: 0 0 4px;
  font-size: 1.14rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.kt-chain p {
  margin: 0;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}
.kt-chain .kt-chain-tag {
  font-family: var(--mono);
  display: inline-block;
  margin-left: .5rem;
  padding: .1rem .5rem;
  border-radius: 999px;
  background: var(--tone-b);
  color: var(--tone-b-ink);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .06em;
  vertical-align: middle;
}

/* ============================================================
   04 把厨房补齐：6 张卡，2 列 / 3 列都排得满
   （自己起容器，避免命中 styles.css 里「18 张卡最后一张跨列」的规则）
   ============================================================ */
.kt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* ============================================================
   05 早晚两个场景：深色，做出「夜里那盏小灯」的氛围
   ============================================================ */
.kt-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.kt-scene {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  color: #F1F5FA;
  overflow: hidden;
}
.kt-scene::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .30) 0%, rgba(56, 189, 248, 0) 70%);
  pointer-events: none;
}
.kt-scene-tag {
  font-family: var(--mono);
  display: inline-block;
  margin-bottom: 14px;
  padding: .26rem .78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #D8E4F4;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .1em;
}
.kt-scene h3 {
  margin: 0 0 14px;
  font-size: 1.36rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .02em;
  color: #fff;
}
.kt-scene ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ks;
}
.kt-scene li {
  position: relative;
  padding: 6px 0 6px 1.7rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #E9F1FA;
  counter-increment: ks;
}
.kt-scene li::before {
  content: counter(ks) ".";
  position: absolute;
  left: 0;
  top: 6px;
  font-weight: 750;
  color: #BFD8F5;
}
.kt-scene li b { color: #fff; font-weight: 750; }

/* ============================================================
   06 改造前后
   ============================================================ */
.kt-tablewrap { width: 100%; }
.kt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.kt-table thead th {
  padding: 14px 18px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-align: left;
  white-space: nowrap;
  border-bottom: var(--bw) solid var(--line);
}
.kt-table tbody th,
.kt-table tbody td {
  padding: 15px 18px;
  border-bottom: var(--bw) solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-2);
}
.kt-table tbody th {
  color: var(--ink);
  font-weight: 750;
  width: 22%;
  min-width: 8em;
}
.kt-table tbody tr:nth-child(even) th,
.kt-table tbody tr:nth-child(even) td { background: #F7FAFD; }
.kt-table tbody tr:last-child th,
.kt-table tbody tr:last-child td { border-bottom: 0; }
.kt-bad, .kt-good { font-weight: 750; }
.kt-bad  { color: var(--warn); }
.kt-good { color: var(--ok); }

/* ============================================================
   07 常见疑问
   ============================================================ */
.kt-faq {
  max-width: 52em;
  margin: 0 auto;
}
.kt-q {
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--shadow);
}
.kt-q + .kt-q { margin-top: 12px; }
.kt-q > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 3.4rem;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink);
}
.kt-q > summary::-webkit-details-marker { display: none; }
.kt-q > summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1;
}
.kt-q[open] > summary::after { content: "\2212"; }
.kt-q[open] > summary { border-bottom: var(--bw) solid var(--line); }
.kt-q p {
  margin: 0;
  padding: 16px 22px 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink-2);
}
.kt-q p b { color: var(--ink); font-weight: 750; }
.kt-q p + p { padding-top: 0; }

/* ---- 提醒条（合规与免责） ---- */
.kt-note {
  margin: 30px 0 0;
  padding: 20px 22px;
  background: #EDF1F7;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-sm);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink-2);
}
.kt-note b { color: var(--ink); font-weight: 750; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 660px) {
  .kt-moments { grid-template-columns: repeat(3, 1fr); }
  .kt-grid    { grid-template-columns: repeat(2, 1fr); }
  .kt-chain   { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .kt-core  { grid-template-columns: repeat(3, 1fr); }
  .kt-chain { grid-template-columns: repeat(3, 1fr); }
  .kt-scenes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .kt-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 窄屏：三列对比表改成一张张卡，和方向清单页同一套做法 */
@media (max-width: 719px) {
  .kt-table thead { display: none; }
  .kt-table,
  .kt-table tbody,
  .kt-table tr,
  .kt-table th,
  .kt-table td { display: block; width: 100%; }
  .kt-table { border: 0; border-radius: 0; background: none; }
  .kt-table tr {
    margin-bottom: 14px;
    background: #fff;
    border: var(--bw) solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
  }
  .kt-table tbody tr:nth-child(even) th,
  .kt-table tbody tr:nth-child(even) td { background: transparent; }
  .kt-table tbody th {
    width: 100%;
    min-width: 0;
    padding: 14px 16px 12px;
    font-size: 1.14rem;
    border-bottom: var(--bw) solid var(--line);
    background: #F7FAFD;
  }
  .kt-table tbody td {
    padding: 12px 16px;
    border-bottom: 0;
  }
  .kt-table tbody td + td { padding-top: 0; }
  .kt-table td::before {
    content: attr(data-l);
    display: block;
    margin-bottom: 3px;
    font-size: .8rem;
    font-weight: 750;
    letter-spacing: .12em;
    color: var(--brand-strong);
  }
  .kt-table tr:last-child { margin-bottom: 0; }
}

/* ============================================================
   长辈模式
   —— 根字号 27px，凡 rem 尺寸都补 px 封顶，免得徽章/图标撑破
   ============================================================ */
html[data-mode="elder"] .kt-leadline p { font-size: 1.04rem; }
html[data-mode="elder"] .kt-moments,
html[data-mode="elder"] .kt-core,
html[data-mode="elder"] .kt-grid,
html[data-mode="elder"] .kt-chain,
html[data-mode="elder"] .kt-scenes { grid-template-columns: 1fr; }

html[data-mode="elder"] .kt-moment { padding: 30px 26px 26px; }
html[data-mode="elder"] .kt-moment h3 { font-size: 1.36rem; }
html[data-mode="elder"] .kt-moment p  { color: #0E1729; }

html[data-mode="elder"] .kt-item { padding: 34px 26px; }
html[data-mode="elder"] .kt-item h3 { font-size: 1.44rem; }
html[data-mode="elder"] .kt-do li,
html[data-mode="elder"] .kt-chain p,
html[data-mode="elder"] .kt-scene li,
html[data-mode="elder"] .kt-q p { color: #0E1729; }
html[data-mode="elder"] .kt-no { font-size: min(2.1rem, 44px); }

html[data-mode="elder"] .kt-chain li { padding: 24px 22px 24px 64px; }
html[data-mode="elder"] .kt-chain h3 { font-size: 1.2rem; }

html[data-mode="elder"] .kt-scene h3 { font-size: 1.42rem; }

html[data-mode="elder"] .kt-table tbody th,
html[data-mode="elder"] .kt-table tbody td { padding: 16px 18px; }

html[data-mode="elder"] .kt-q > summary { font-size: 1.14rem; padding: 18px 22px; }
html[data-mode="elder"] .kt-q p { font-size: 1.04rem; }
