/* ===== デモプレビュー ===== */
.demo-preview-link {
  display: block;
  margin-bottom: 16px;
}
.demo-preview-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border: 1px solid #D0D7E0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.demo-open-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: #2B7FE8;
  background: #fff;
  border: 1.5px solid #2B7FE8;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.demo-open-btn:hover {
  background: #2B7FE8;
  color: #fff;
}

/* ===== 操作ヒント ===== */
.demo-try {
  margin-top: 20px;
  padding: 16px;
  background: #F8FAFC;
  border-left: 3px solid #2B7FE8;
  border-radius: 4px;
}
.demo-try-label {
  font-size: 13px;
  font-weight: 600;
  color: #2B7FE8;
  margin-bottom: 8px;
}
.demo-try-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-try-list li {
  font-size: 13px;
  color: #334155;
}
.demo-try-note {
  font-size: 12px;
  color: #64748B;
  margin-top: 10px;
}

/* ===== 機能説明セクション ===== */
.use-case-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 20px;
}
.use-case-list li {
  font-size: 14px;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 6px;
}
.use-case-list li strong {
  color: #1E293B;
}

/* ===== 構成テーブル ===== */
.parts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
.parts-table th {
  padding: 8px 12px;
  text-align: left;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  font-weight: 600;
  white-space: nowrap;
}
.parts-table td {
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  vertical-align: top;
}
.parts-table td:first-child {
  text-align: center;
  color: #64748B;
  width: 40px;
}
.parts-table a {
  color: #2B7FE8;
  text-decoration: underline;
}

/* ===== コード表示の高さ制限 ===== */
.tab-content pre {
  max-height: 480px;
  overflow-y: auto;
}

/* ===== プロンプトセクション ===== */
.prompt-notes {
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prompt-note-caution {
  font-size: 13px;
  color: #92400E;
  background: #FEF3C7;
  padding: 8px 12px;
  border-radius: 6px;
}
.prompt-note-tip {
  font-size: 13px;
  color: #1E40AF;
  background: #DBEAFE;
  padding: 8px 12px;
  border-radius: 6px;
}
