/* styles/is_talk_knowledge.css — トークナレッジ（閲覧のみ・設計書 §13-5）
   390px（iPhone）で横スクロールが出ないこと。数値グラフ・色分けによる順位表現は置かない。 */

.istk-wrap { padding: 12px 12px 40px; max-width: 780px; margin: 0 auto; overflow-x: hidden; }
.istk-wrap * { min-width: 0; overflow-wrap: anywhere; }

.istk-title { font-size: 18px; margin: 4px 0 6px; }
.istk-team { font-size: 13px; color: #64748b; font-weight: 400; }
.istk-basis {
  font-size: 12px; line-height: 1.6; color: #475569; background: #f1f5f9;
  border-left: 3px solid #0B7E9C; border-radius: 4px; padding: 8px 10px; margin: 0 0 10px;
}

.istk-axis { font-size: 12px; margin: 0 0 12px; }
.istk-axis > summary { cursor: pointer; color: #0B7E9C; padding: 4px 0; }
.istk-axis ul { margin: 6px 0 0; padding-left: 18px; }
.istk-axis li { margin-bottom: 8px; line-height: 1.6; }
.istk-good { color: #0f766e; }
.istk-bad { color: #b45309; }

.istk-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.istk-tab {
  font-size: 12px; padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 999px;
  background: #fff; color: #334155; cursor: pointer;
}
.istk-tab.is-on { background: #0B7E9C; border-color: #0B7E9C; color: #fff; }

.istk-scene { margin: 0 0 18px; }
.istk-scene > h3 { font-size: 14px; margin: 0 0 8px; color: #0f172a; border-bottom: 1px solid #e2e8f0; padding-bottom: 4px; }

.istk-card { border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.istk-card.istk-bad { background: #fffbf5; }
.istk-card h4 { font-size: 14px; margin: 0 0 4px; line-height: 1.5; }
.istk-counts { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.istk-skeleton { font-size: 13px; line-height: 1.7; margin: 0 0 6px; color: #334155; }
.istk-line { font-size: 13px; line-height: 1.7; margin: 3px 0; }
.istk-src { color: #94a3b8; font-size: 11px; }
.istk-ng { font-size: 13px; line-height: 1.7; color: #b45309; margin: 3px 0; }
.istk-axis-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.istk-axis-tags span { font-size: 11px; color: #0B7E9C; border: 1px solid #bae6fd; border-radius: 4px; padding: 1px 6px; }
.istk-lock { font-size: 11px; color: #64748b; font-weight: 400; }

.istk-ex-list { list-style: none; margin: 0; padding: 0; }
.istk-ex { border: 1px solid #e2e8f0; border-radius: 8px; padding: 9px 11px; margin-bottom: 8px; background: #fff; }
.istk-ex.istk-bad { background: #fffbf5; }
.istk-ex-head { font-size: 12px; color: #64748b; }
.istk-ex-headline { font-size: 13px; line-height: 1.6; margin-top: 2px; }
.istk-ex-quote { font-size: 13px; line-height: 1.7; color: #334155; margin-top: 4px; }
.istk-ex-meta { font-size: 11px; color: #94a3b8; margin-top: 4px; }

.istk-empty { font-size: 13px; color: #94a3b8; padding: 10px 2px; }
.istk-note { font-size: 12px; color: #94a3b8; margin-top: 18px; }

/* ===== Phase B: 週次の更新提案・承認・手動追加（§13-5） ===== */
.istk-proposals h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.istk-link { background: none; border: none; color: #0B7E9C; font-size: 12px; cursor: pointer; padding: 0; text-decoration: underline; }
.istk-p-card { border: 1px solid #cbd5e1; border-left: 3px solid #0B7E9C; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.istk-p-head { font-size: 13px; margin-bottom: 4px; }
.istk-p-kind { font-size: 11px; color: #0B7E9C; border: 1px solid #bae6fd; border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.istk-p-pid { font-size: 11px; color: #94a3b8; }
.istk-p-before { font-size: 12px; color: #64748b; line-height: 1.6; }
.istk-p-after { font-size: 13px; color: #0f172a; line-height: 1.7; margin-top: 2px; }
.istk-p-why { font-size: 12px; color: #334155; line-height: 1.6; margin-top: 4px; }
.istk-p-ev { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.istk-p-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.istk-p-note { font-size: 12px; color: #64748b; margin-top: 8px; }
.istk-p-msg { font-size: 12px; margin-top: 6px; min-height: 0; }
.istk-btn { font-size: 13px; padding: 6px 14px; border-radius: 6px; border: 1px solid #cbd5e1; background: #fff; color: #334155; cursor: pointer; }
.istk-btn-ok { border-color: #0B7E9C; background: #0B7E9C; color: #fff; }
.istk-btn-ng { border-color: #cbd5e1; color: #64748b; }
.istk-btn:disabled { opacity: .5; cursor: default; }
.istk-form { display: grid; gap: 8px; margin-top: 8px; }
.istk-form label { font-size: 12px; color: #64748b; display: grid; gap: 3px; }
.istk-form input, .istk-form select { font-size: 13px; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; color: #0f172a; background: #fff; }
