/* ===== screen-survey-result ページ専用スタイル ===== */

/* ===== ② 場面リスト・構成テーブル ===== */
.use-case-list { margin: 8px 0 20px; padding-left: 20px; }
.use-case-list li { margin-bottom: 6px; font-size: 14px; line-height: 1.7; }
.parts-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: 14px; }
.parts-table th, .parts-table td { padding: 8px 12px; text-align: left; border: 1px solid #D0D7E0; }
.parts-table thead th { background: #F1F5F9; color: #5A6A7A; font-size: 13px; white-space: nowrap; }
.parts-table td:first-child { width: 36px; text-align: center; white-space: nowrap; }
.parts-table a { color: #2B7FE8; text-decoration: none; }
.parts-table a:hover { text-decoration: underline; }
.impl-notes { margin: 20px 0; padding: 16px 20px; background: #F8FAFC; border-left: 4px solid #2B7FE8; border-radius: 0 8px 8px 0; }
.impl-notes h3 { margin: 0 0 8px; color: #1A2332; font-size: 14px; }
.impl-notes p { margin: 0; color: #3D4F61; font-size: 13px; line-height: 1.75; }

/* ===== ③ デモプレビュー・操作ヒント ===== */
.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, .06); }
.demo-open-btn { display: inline-block; padding: 10px 20px; color: #2B7FE8; background: #fff; border: 1.5px solid #2B7FE8; border-radius: 6px; font-size: 14px; text-decoration: none; transition: background .15s, color .15s; }
.demo-open-btn:hover { color: #fff; background: #2B7FE8; }
.demo-try { max-width: 720px; margin-top: 20px; padding: 14px 16px; background: #F4F8FE; border: 1px solid #D6E4F7; border-radius: 8px; }
.demo-try-label { margin: 0 0 8px; color: #2B7FE8; font-size: 13px; font-weight: 700; }
.demo-try-list { margin: 0; padding-left: 20px; font-size: 14px; }
.demo-try-list li { margin-bottom: 4px; line-height: 1.7; }
.demo-try-note { margin: 8px 0 0; color: #5A6A7A; font-size: 12px; }

/* ===== ④ コード表示 ===== */
.tab-content pre { max-height: 480px; overflow-y: auto; }
.source-loading { color: #9AA5B4; }

/* ===== ⑤ AI用プロンプト補足 ===== */
.prompt-notes { margin: 12px 0 16px; }
.prompt-note-caution { margin: 0 0 8px; padding: 8px 12px; color: #B45309; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 6px; font-size: 12px; }
.prompt-note-tip { margin: 0; padding: 8px 12px; color: #1D4ED8; background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 6px; font-size: 12px; }

@media (max-width: 600px) {
  .parts-table { font-size: 13px; }
  .parts-table th, .parts-table td { padding: 7px 8px; }
}
