.kg-canvas{overflow:auto;background:linear-gradient(140deg,#f4f8fe,#eef5f8);border:1px solid #d8e4f0;border-radius:18px}.kg-canvas svg{display:block;min-width:850px;width:100%;font-family:inherit}.kg-links path{fill:none;stroke:#a4bdd4;stroke-width:2}.kg-root{fill:#17366a}.kg-root-text{fill:white;font-size:26px;text-anchor:middle}.kg-root-sub{fill:#c7d9f0;font-size:12px;text-anchor:middle}.kg-group{text-anchor:middle;fill:#17366a;font-size:19px}.kg-topic{cursor:pointer}.kg-topic rect{fill:white;stroke:#c2d4e8}.kg-topic text{text-anchor:middle;fill:#284a70;font-size:14px}.kg-topic:hover rect,.kg-topic:focus rect,.kg-topic.selected rect{fill:#dbeaf9;stroke:#17366a;stroke-width:2}.kg-actions,.kg-tags{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.kg-actions{justify-content:space-between;margin-top:14px}.kg-tags{margin:8px 0}.kg-papers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.kg-paper{padding:20px;border:1px solid #d9e4f0;border-radius:14px;overflow-wrap:anywhere}.kg-paper h3{margin:12px 0;line-height:1.6}.kg-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;background:#f4f7fc;padding:18px;border-radius:12px;margin:12px 0}.kg-sources details{border-bottom:1px solid #dde6f0;padding:12px 0}.kg-sources summary{cursor:pointer}#knowledge-question textarea{display:block;width:100%;margin-top:10px;padding:14px;resize:vertical;border:1px solid #c9d8e8;border-radius:10px;font:inherit}@media(max-width:800px){.kg-papers{grid-template-columns:1fr}}

.ki-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ki-card-grid section{padding:16px;background:#f4f7fc;border-radius:12px}.ki-evidence{font-size:13px;margin:8px 0}.ki-evidence summary,.ki-edge summary{cursor:pointer}.ki-evidence blockquote{border-left:3px solid #7fa2c8;padding:10px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.ki-edge{padding:14px;border-bottom:1px solid #d5e0ee}.ki-comparison{min-width:800px}.ki-comparison td,.ki-comparison th{min-width:220px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.ki-comparison th:first-child{min-width:120px}@media(max-width:800px){.ki-card-grid{grid-template-columns:1fr}}
