/* 白艾莉方法论正文内嵌的演示组件样式，随文章一起从源站搬运过来。
   源站靠 <style> 内联，Lab 的正文经 bleach 清洗后留不下 style 标签，
   因此在这里统一收进 .article-body 作用域。由 scripts/convert_alice_methodology.py 生成。 */
.article-body .permission-spectrum-wrapper{
  background: #fafaf7;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 28px 24px 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1714;
}
.article-body .permission-spectrum-title{
  font-size: 13px;
  font-weight: 600;
  color: #8B7355;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.article-body .spectrum-track{
  position: relative;
  height: 6px;
  background: linear-gradient(to right, #5a9960, #c8a050, #e8534a);
  border-radius: 3px;
  margin: 0 20px 40px;
}
.article-body .spectrum-nodes{
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
  position: relative;
  top: -33px;
  margin-bottom: 4px;
}
.article-body .spectrum-node{
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
}
.article-body .spectrum-node-dot{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fafaf7;
  box-shadow: 0 0 0 2px #8B7355;
  background: #fafaf7;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}
.article-body .spectrum-node:hover .spectrum-node-dot,
.article-body .spectrum-node.active .spectrum-node-dot{
  background: #8B7355;
  transform: scale(1.3);
}
.article-body .spectrum-node-label{
  font-size: 11px;
  color: #8B7355;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
  max-width: 64px;
}
.article-body .spectrum-node.active .spectrum-node-label{
  color: #1A1714;
  font-weight: 700;
}
.article-body .spectrum-card{
  display: none;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 8px;
  animation: fadeInCard 0.2s ease;
}
.article-body .spectrum-card.visible{
  display: block;
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.spectrum-card-mode {
  font-size: 15px;
  font-weight: 700;
  color: #1A1714;
  margin-bottom: 6px;
}
.article-body .spectrum-card-scene{
  font-size: 13px;
  color: #5a5248;
  margin-bottom: 8px;
  line-height: 1.5;
}
.article-body .spectrum-card-user{
  display: inline-block;
  background: #f0ece4;
  color: #8B7355;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 8px;
}
.article-body .spectrum-labels{
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
  font-size: 11px;
  color: #b0a898;
  margin-top: -32px;
  margin-bottom: 16px;
}


.article-body .fp-fn-wrapper{
  background: #fafaf7;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1714;
}
.article-body .fp-fn-title{
  font-size: 13px;
  font-weight: 600;
  color: #8B7355;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-body .fp-fn-cards{
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .fp-fn-cards { flex-direction: column; }
}
.fp-fn-card {
  flex: 1;
  border-radius: 10px;
  padding: 18px 20px;
}
.article-body .fp-fn-card.danger{
  background: #fff5f5;
  border: 1px solid #f5c0bc;
}
.article-body .fp-fn-card.warn{
  background: #fffbf0;
  border: 1px solid #f0dfa0;
}
.article-body .fp-fn-card-title{
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-body .fp-fn-card.danger .fp-fn-card-title{ color: #c0392b; }
.article-body .fp-fn-card.warn .fp-fn-card-title{ color: #a07800; }
.article-body .fp-fn-card-desc{
  font-size: 13px;
  color: #5a5248;
  line-height: 1.6;
  margin-bottom: 12px;
}
.article-body .fp-fn-card-label{
  font-size: 11px;
  font-weight: 600;
  color: #8B7355;
  margin-bottom: 4px;
}
.article-body .fp-fn-conclusion{
  background: #f0ece4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1714;
  text-align: center;
}


.article-body .emotion-toggle-wrap{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.article-body .emotion-toggle-header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.article-body .emotion-toggle-title{
  font-size: 13px;
  font-weight: 600;
  color: #8B7355;
  letter-spacing: 0.04em;
  flex: 1;
}
.article-body .emotion-toggle-btn{
  display: flex;
  background: #f0ece4;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  border: none;
  cursor: pointer;
}
.article-body .emotion-toggle-opt{
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #8B7355;
  transition: all 0.2s;
  font-weight: 500;
}
.article-body .emotion-toggle-opt.active{
  background: #C9A96E;
  color: #fff;
}
.article-body .emotion-demo-cols{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article-body .emotion-demo-col{
  flex: 1;
  min-width: 200px;
  border-radius: 10px;
  padding: 16px 18px;
}
.article-body .emotion-demo-col.left{
  background: #FAFAF7;
  border: 1px solid #e8e4dc;
}
.article-body .emotion-demo-col.right{
  background: #f4f8f4;
  border: 1px solid #d4e8d8;
}
.article-body .emotion-demo-col-label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: #aaa;
  text-transform: uppercase;
}
.article-body .emotion-demo-col.left .emotion-demo-col-label{ color: #C9A96E; }
.article-body .emotion-demo-col.right .emotion-demo-col-label{ color: #5B8FB9; }
.article-body .emotion-demo-bubble{
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #1A1714;
  border: 1px solid #f0ece4;
  min-height: 60px;
  transition: all 0.3s ease;
}
.article-body .emotion-demo-col.right .emotion-demo-bubble{
  border-color: #ddf0dd;
  background: #fafffb;
}
.article-body .emotion-demo-result{
  margin-top: 10px;
  background: #f5f0e8;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: #666;
  border-left: 3px solid #C9A96E;
}
.article-body .emotion-demo-col.right .emotion-demo-result{
  background: #eaf5ea;
  border-left-color: #5B8FB9;
}


.article-body .dual-channel-wrap{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.article-body .dual-channel-title{
  font-size: 13px;
  font-weight: 600;
  color: #8B7355;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.article-body .dual-channel-tracks{
  display: flex;
  flex-direction: column;
  gap: 0;
}
.article-body .dc-track{
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.article-body .dc-track-label{
  width: 92px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px 0 0 6px;
  text-align: center;
  line-height: 1.4;
}
.article-body .dc-track-label.emotion{ background: #8B7355; }
.article-body .dc-track-label.execute{ background: #5a7b6b; }
.article-body .dc-track-steps{
  display: flex;
  align-items: center;
  flex: 1;
  background: #f5f0e8;
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  gap: 6px;
  flex-wrap: wrap;
}
.article-body .dc-step{
  font-size: 12px;
  color: #1A1714;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 5px;
  padding: 4px 10px;
  white-space: nowrap;
}
.article-body .dc-arrow{
  font-size: 13px;
  color: #bbb;
  flex-shrink: 0;
}
.article-body .dc-wall{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  gap: 0;
}
.article-body .dc-wall-line{
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, #c9b99a 0, #c9b99a 8px, transparent 8px, transparent 16px);
  opacity: 0.7;
}
.article-body .dc-wall-label{
  font-size: 11px;
  color: #8B7355;
  background: #fafaf7;
  border: 1px solid #e8e4dc;
  border-radius: 20px;
  padding: 3px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0 10px;
}
.article-body .dc-legend{
  margin-top: 14px;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .dc-track-label { width: 72px; font-size: 10px; }
  .article-body .dc-step{ font-size: 11px; }
}


.article-body .demo-block{
  background: #fafaf7;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 24px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.article-body .emotion-compare{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-body .emotion-card{
  flex: 1;
  min-width: 240px;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}
.article-body .emotion-card.wrong{
  background: #fff8f7;
  border: 1px solid #f0d8d4;
}
.article-body .emotion-card.right{
  background: #f7faf7;
  border: 1px solid #d4e8d8;
}
.article-body .emotion-card-label{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-body .emotion-card.wrong .emotion-card-label{ color: #c0392b; }
.article-body .emotion-card.right .emotion-card-label{ color: #27ae60; }
.article-body .emotion-score-title{
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.article-body .emotion-score-value{
  font-size: 28px;
  font-weight: 700;
  color: #1A1714;
  margin-bottom: 10px;
}
.article-body .emotion-progress-bg{
  background: #f0e8e4;
  border-radius: 99px;
  height: 8px;
  width: 100%;
  overflow: hidden;
}
.article-body .emotion-progress-fill{
  background: #c0392b;
  height: 100%;
  border-radius: 99px;
  width: 72%;
  transition: width 0.6s ease;
}
.article-body .emotion-narrative{
  font-size: 14px;
  line-height: 1.7;
  color: #1A1714;
}
.article-body .emotion-detail-label{
  font-size: 11px;
  color: #999;
  margin-top: 10px;
}
.article-body .emotion-why{
  margin-top: 16px;
}
.article-body .emotion-why summary{
  cursor: pointer;
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  padding: 8px 12px;
  background: #f5f0e8;
  border-radius: 6px;
  list-style: none;
  user-select: none;
}
.article-body .emotion-why summary::-webkit-details-marker{ display: none; }
.article-body .emotion-why summary::before{
  content: "▶ ";
  font-size: 10px;
}
.article-body details[open] .emotion-why summary::before{ content: "▼ "; }
.article-body .emotion-why-content{
  margin-top: 10px;
  padding: 14px;
  background: #fafaf7;
  border-radius: 6px;
  border: 1px solid #e8e4dc;
  font-size: 13px;
  line-height: 1.8;
  color: #4a4540;
}
.article-body .emotion-why-content ol{
  margin: 8px 0 0 0;
  padding-left: 18px;
}
.article-body .emotion-why-content li{
  margin-bottom: 6px;
}
@media (max-width: 600px) {
  .emotion-compare { flex-direction: column; }
  .article-body .demo-block{ padding: 18px 16px; }
}


.article-body .demo-block-p1{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fafaf7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.article-body .demo-block-p1 .demo-title{
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-body .demo-block-p1 .compare-row{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.article-body .demo-block-p1 .compare-col{
  flex: 1;
  min-width: 200px;
}
.article-body .demo-block-p1 .compare-label{
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  display: inline-block;
}
.article-body .demo-block-p1 .label-bad{
  background: #fde8e8;
  color: #c0392b;
}
.article-body .demo-block-p1 .label-good{
  background: #e8f5e9;
  color: #2e7d32;
}
.article-body .demo-block-p1 .card-bad{
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 14px 16px;
  border-left: 4px solid #8B7355;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.article-body .demo-block-p1 .card-good{
  background: #f3f0ea;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.article-body .demo-block-p1 .card-avatar{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c4b49a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-body .demo-block-p1 .card-name{
  font-size: 13px;
  font-weight: 600;
  color: #1A1714;
  margin-bottom: 4px;
}
.article-body .demo-block-p1 .card-text{
  font-size: 13px;
  color: #5a5450;
  line-height: 1.6;
}
.article-body .demo-block-p1 .card-note{
  font-size: 11px;
  color: #a09890;
  margin-top: 10px;
}


.article-body .demo-block-p2{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fafaf7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.article-body .demo-block-p2 .demo-title{
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-body .demo-block-p2 .compare-row{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.article-body .demo-block-p2 .compare-col{
  flex: 1;
  min-width: 200px;
}
.article-body .demo-block-p2 .col-label{
  font-size: 12px;
  font-weight: 600;
  color: #5a5450;
  margin-bottom: 10px;
}
.article-body .demo-block-p2 .toggle-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid #e8e4dc;
  background: #fff;
  font-size: 13px;
  color: #1A1714;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 12px;
  transition: background 0.15s;
}
.article-body .demo-block-p2 .toggle-btn:hover{
  background: #f3f0ea;
}
.article-body .demo-block-p2 .list-hard{
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  overflow: hidden;
}
.article-body .demo-block-p2 .list-smooth{
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  overflow: hidden;
}
.article-body .demo-block-p2 .list-items-hard{
  display: none;
}
.article-body .demo-block-p2 .list-items-hard.open{
  display: block;
}
.article-body .demo-block-p2 .list-items-smooth{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 280ms ease, opacity 280ms ease;
}
.article-body .demo-block-p2 .list-items-smooth.open{
  max-height: 300px;
  opacity: 1;
}
.article-body .demo-block-p2 .list-item{
  padding: 10px 14px;
  font-size: 13px;
  color: #1A1714;
  border-bottom: 1px solid #f3f0ea;
  line-height: 1.5;
}
.article-body .demo-block-p2 .list-item:last-child{
  border-bottom: none;
}
.article-body .demo-block-p2 .note-tag{
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 8px;
}
.article-body .demo-block-p2 .note-bad{
  background: #fde8e8;
  color: #c0392b;
}
.article-body .demo-block-p2 .note-good{
  background: #e8f5e9;
  color: #2e7d32;
}


.article-body .demo-block-p3{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fafaf7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.article-body .demo-block-p3 .demo-title{
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.article-body .demo-block-p3 .section-label{
  font-size: 12px;
  color: #8B7355;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 20px;
}
.article-body .demo-block-p3 .section-label:first-of-type{
  margin-top: 0;
}
.article-body .demo-block-p3 .color-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-body .demo-block-p3 .color-chip{
  position: relative;
  cursor: pointer;
}
.article-body .demo-block-p3 .color-swatch{
  width: 64px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.article-body .demo-block-p3 .color-chip:hover .color-swatch{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.article-body .demo-block-p3 .color-name{
  font-size: 11px;
  color: #1A1714;
  font-weight: 600;
  margin-bottom: 2px;
}
.article-body .demo-block-p3 .color-hex{
  font-size: 10px;
  color: #a09890;
  font-family: 'SF Mono', monospace;
}
.article-body .demo-block-p3 .color-tooltip{
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1A1714;
  color: #fff;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.article-body .demo-block-p3 .color-chip:hover .color-tooltip{
  display: block;
}
.article-body .demo-block-p3 .theme-row{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.article-body .demo-block-p3 .theme-block{
  flex: 1;
  min-width: 160px;
}
.article-body .demo-block-p3 .theme-name{
  font-size: 13px;
  font-weight: 600;
  color: #1A1714;
  margin-bottom: 10px;
}
.article-body .demo-block-p3 .theme-swatches{
  display: flex;
  gap: 6px;
}
.article-body .demo-block-p3 .theme-swatch{
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.15s;
  position: relative;
}
.article-body .demo-block-p3 .theme-swatch:hover{
  transform: scale(1.1);
}
.article-body .demo-block-p3 .theme-swatch .color-tooltip{
  bottom: calc(100% + 6px);
}


.article-body .demo-block-p4{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fafaf7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.article-body .demo-block-p4 .demo-title{
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-body .demo-block-p4 .compare-row{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.article-body .demo-block-p4 .compare-col{
  flex: 1;
  min-width: 200px;
}
.article-body .demo-block-p4 .col-header{
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  display: inline-block;
}
.article-body .demo-block-p4 .header-bad{
  background: #fde8e8;
  color: #c0392b;
}
.article-body .demo-block-p4 .header-good{
  background: #e8f5e9;
  color: #2e7d32;
}
.article-body .demo-block-p4 .icon-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-body .demo-block-p4 .icon-item{
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 7px;
  padding: 9px 14px;
}
.article-body .demo-block-p4 .icon-emoji{
  font-size: 18px;
  width: 24px;
  text-align: center;
}
.article-body .demo-block-p4 .icon-svg{
  width: 18px;
  height: 18px;
  color: #8B7355;
  flex-shrink: 0;
}
.article-body .demo-block-p4 .icon-label{
  font-size: 13px;
  color: #1A1714;
}
.article-body .demo-block-p4 .col-note{
  font-size: 11px;
  color: #a09890;
  margin-top: 10px;
  line-height: 1.5;
}


.article-body .demo-block-p6{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fafaf7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.article-body .demo-block-p6 .demo-title{
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.article-body .demo-block-p6 .compare-row{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.article-body .demo-block-p6 .compare-col{
  flex: 1;
  min-width: 200px;
}
.article-body .demo-block-p6 .col-label{
  font-size: 12px;
  font-weight: 600;
  color: #5a5450;
  margin-bottom: 10px;
}
.article-body .demo-block-p6 .send-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  background: #8B7355;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 12px;
  transition: background 0.15s, opacity 0.15s;
}
.article-body .demo-block-p6 .send-btn:hover{
  background: #7a6348;
}
.article-body .demo-block-p6 .send-btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}
.article-body .demo-block-p6 .chat-box{
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 14px;
  min-height: 110px;
  font-size: 13px;
  color: #1A1714;
  line-height: 1.6;
}
.article-body .demo-block-p6 .tool-card{
  display: none;
  background: #f3f0ea;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: #8B7355;
  margin-bottom: 8px;
  align-items: center;
  gap: 6px;
}
.article-body .demo-block-p6 .tool-card.visible{
  display: flex;
}
.article-body .demo-block-p6 .spinner{
  width: 12px;
  height: 12px;
  border: 2px solid #e8e4dc;
  border-top-color: #8B7355;
  border-radius: 50%;
  animation: spin6 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin6 {
  to { transform: rotate(360deg); }
}
.demo-block-p6 .stream-text {
  color: #1A1714;
}
.article-body .demo-block-p6 .cursor-blink{
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #8B7355;
  margin-left: 1px;
  vertical-align: middle;
  animation: blink6 0.8s ease infinite;
}
@keyframes blink6 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.demo-block-p6 .note-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 8px;
}
.article-body .demo-block-p6 .note-bad{
  background: #fde8e8;
  color: #c0392b;
}
.article-body .demo-block-p6 .note-good{
  background: #e8f5e9;
  color: #2e7d32;
}
.article-body .demo-block-p6 .reset-btn{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid #e8e4dc;
  background: transparent;
  font-size: 11px;
  color: #8B7355;
  cursor: pointer;
  font-family: inherit;
  margin-left: 8px;
  transition: background 0.15s;
}
.article-body .demo-block-p6 .reset-btn:hover{
  background: #f3f0ea;
}


.article-body .demo-block-p7{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fafaf7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  border: 1px solid #e8e4dc;
}
.article-body .demo-block-p7 .demo-title{
  font-size: 13px;
  color: #8B7355;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.article-body .demo-block-p7 .compare-row{
  display: flex;
  gap: 20px;
}
.article-body .demo-block-p7 .compare-col{
  flex: 1;
  min-width: 0;
}
.article-body .demo-block-p7 .col-label{
  font-size: 11px;
  font-weight: 600;
  color: #a09890;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.article-body .demo-block-p7 .mock-app{
  background: #f5f3ee;
  border-radius: 10px;
  border: 1px solid #e8e4dc;
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.article-body .demo-block-p7 .mock-titlebar{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: #eae8e3;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-radius: 10px 10px 0 0;
}
.article-body .demo-block-p7 .traffic-dot{
  width: 10px; height: 10px; border-radius: 50%;
}
.article-body .demo-block-p7 .mock-content{
  position: absolute;
  top: 32px; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #6B6460;
}
.article-body .demo-block-p7 .trigger-btn{
  display: inline-block;
  padding: 6px 14px;
  background: #1A1714;
  color: #fafaf7;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.15s;
}
.article-body .demo-block-p7 .trigger-btn:hover{ opacity: 0.8; }
.article-body /* 系统弹窗模拟 */
.demo-block-p7 .sys-dialog{
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #f0f0f0;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  padding: 20px 24px 16px;
  width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.article-body .demo-block-p7 .sys-dialog.visible{ display: block; }
.article-body .demo-block-p7 .sys-dialog-title{
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.article-body .demo-block-p7 .sys-dialog-msg{
  font-size: 11px;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.4;
}
.article-body .demo-block-p7 .sys-dialog-btns{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.article-body .demo-block-p7 .sys-btn{
  padding: 3px 12px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #c0c0c0;
  background: #e8e8e8;
  cursor: pointer;
  font-family: -apple-system, sans-serif;
}
.article-body .demo-block-p7 .sys-btn-primary{
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}
.article-body /* Toast 模拟 */
.demo-block-p7 .app-toast{
  display: none;
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(26,23,20,0.88);
  color: #fafaf7;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.article-body .demo-block-p7 .app-toast.visible{
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.article-body .demo-block-p7 .note-tag{
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 10px;
}
.article-body .demo-block-p7 .note-bad{ background: #fde8e8; color: #c0392b; }
.article-body .demo-block-p7 .note-good{ background: #e8f5e9; color: #2e7d32; }
@media (max-width: 600px) {
  .demo-block-p7 .compare-row { flex-direction: column; }
}


.article-body .ap-block{ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; margin: 16px 0; border: 1px solid #e8e4dc; border-radius: 12px; overflow: hidden; background: #fafaf7; }
.article-body .ap-block-header{ display: flex; align-items: center; gap: 12px; padding: 14px 18px 10px; }
.article-body .ap-block-num{ font-size: 11px; font-weight: 700; color: #C9A96E; letter-spacing: 0.08em; }
.article-body .ap-block-title{ font-size: 14px; font-weight: 700; color: #1A1714; }
.article-body .ap-block-desc{ font-size: 12px; color: #6B6460; line-height: 1.5; padding: 0 18px 12px; }
.article-body .ap-block-demo{ display: flex; gap: 0; border-top: 1px solid #e8e4dc; }
.article-body .ap-block-col{ flex: 1; padding: 14px 16px; min-width: 0; }
.article-body .ap-block-col.col-bad{ background: #fffafa; border-right: 1px solid #f0e8e8; }
.article-body .ap-block-col.col-good{ background: #f9fcf9; }
.article-body .ap-block-col-label{ font-size: 10px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 8px; }
.article-body .ap-block-col-label.bad{ color: #c0392b; }
.article-body .ap-block-col-label.good{ color: #27ae60; }
.article-body /* 规律一 */
.ap1-list{ border-radius: 7px; overflow: hidden; border: 1px solid #e8e4dc; }
.article-body .ap1-item{ display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; border-bottom: 1px solid #f0ede8; font-size: 12px; color: #1A1714; }
.article-body .ap1-item:last-child{ border-bottom: none; }
.article-body .ap1-dot{ width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0; }
.article-body /* 规律二 */
.ap2-row{ display: flex; flex-direction: column; gap: 5px; }
.article-body .ap2-item{ display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; background: #fff; border: 1px solid #e8e4dc; border-radius: 6px; font-size: 11px; color: #1A1714; }
.article-body .ap2-badge{ font-size: 10px; padding: 2px 7px; border-radius: 10px; font-weight: 600; }
.article-body /* 规律三 */
.ap3-panel{ border: 1px solid #e8e4dc; border-radius: 7px; overflow: hidden; background: #fff; }
.article-body .ap3-header{ display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; font-size: 12px; font-weight: 600; color: #1A1714; cursor: pointer; background: #f3f0ea; }
.article-body .ap3-items-hard{ display: none; }
.article-body .ap3-items-hard.open{ display: block; }
.article-body .ap3-items-smooth{ max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; opacity: 0; }
.article-body .ap3-items-smooth.open{ max-height: 200px; opacity: 1; }
.article-body .ap3-sub{ padding: 7px 12px; font-size: 11px; color: #1A1714; border-top: 1px solid #f0ede8; }
.article-body /* 规律四 */
.ap4-tight{ display: flex; flex-direction: column; gap: 0; }
.article-body .ap4-tight-item{ display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 11px; color: #1A1714; line-height: 1.3; }
.article-body .ap4-tight-dot{ width: 4px; height: 4px; border-radius: 50%; background: #a09890; flex-shrink: 0; }
.article-body .ap4-airy{ display: flex; flex-direction: column; gap: 10px; }
.article-body .ap4-airy-item{ padding: 8px 12px; background: #fff; border: 1px solid #e8e4dc; border-radius: 7px; }
.article-body .ap4-airy-title{ font-size: 12px; font-weight: 600; color: #1A1714; margin-bottom: 2px; }
.article-body .ap4-airy-meta{ font-size: 10px; color: #a09890; }
.article-body /* 规律五 */
.ap5-nav{ border: 1px solid #e8e4dc; border-radius: 7px; overflow: hidden; background: #fff; }
.article-body .ap5-item{ display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f0ede8; font-size: 12px; color: #1A1714; }
.article-body .ap5-item:last-child{ border-bottom: none; }
.article-body .ap5-emoji{ font-size: 16px; width: 22px; text-align: center; }
.article-body .ap5-svg-box{ width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: #f3f0ea; border-radius: 5px; flex-shrink: 0; }
.article-body .ap5-svg-box svg{ width: 13px; height: 13px; stroke: #6B6460; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .ap-block-demo { flex-direction: column; } .article-body .ap-block-col.col-bad{ border-right: none; border-bottom: 1px solid #f0e8e8; } }


.article-body .axiom-block{
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  margin: 20px 0;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  overflow: hidden;
  background: #fafaf7;
}
.article-body .axiom-header{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
.article-body .axiom-index{
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #1A1714;
  color: #fafaf7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.article-body .axiom-title-block{ flex: 1; }
.article-body .axiom-name{
  font-size: 14px;
  font-weight: 700;
  color: #1A1714;
  margin-bottom: 3px;
}
.article-body .axiom-desc{
  font-size: 12px;
  color: #6B6460;
  line-height: 1.55;
}

/* --- 静态兜底：源站这些块由 JS 逐个点亮，Lab 是静态页，一次全部展开 --- */
.article-body .spectrum-card,
.article-body .demo-block-p6 .tool-card,
.article-body .demo-block-p3 .color-tooltip { display: block; }
.article-body .demo-block-p2 .list-items-hard,
.article-body .ap3-items-hard { display: block; }
.article-body .demo-block-p2 .list-items-smooth,
.article-body .ap3-items-smooth { max-height: none; opacity: 1; overflow: visible; }
/* 系统弹窗与 toast 是「反面示例」的模拟，静态页里不展开，避免遮挡正文 */
.article-body .demo-block-p7 .sys-dialog,
.article-body .demo-block-p7 .app-toast { display: none; }
/* 光标闪烁、加载转圈这类纯动效元素，静态页里没有意义 */
.article-body .cursor-blink,
.article-body .spinner { display: none; }
/* 源站这些节点点得动，Lab 上点不动，别再摆出手型光标误导读者 */
.article-body .spectrum-node,
.article-body .mode-node { cursor: default; }
