.canvas-graph-panel{position:absolute;right:20px;top:72px;bottom:78px;width:min(370px,calc(100% - 40px));z-index:34;border:1px solid #5b5147;border-radius:16px;background:#f5f1ea;color:#322a22;box-shadow:0 18px 60px #0007;display:flex;flex-direction:column;font-size:13px;overflow:hidden;user-select:text}
.canvas-graph-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #d9d0c4}.canvas-graph-heading strong{font-size:15px}.canvas-graph-panel nav{display:flex;gap:5px;padding:9px 12px;border-bottom:1px solid #d9d0c4}.canvas-graph-panel button{border-radius:8px;background:#fffaf3;border:1px solid #d4c8b9;color:#45372b;padding:7px 10px;font-size:12px;cursor:pointer;line-height:1.4}.canvas-graph-panel button:hover{background:#ece2d6}.canvas-graph-panel .primary,.canvas-graph-panel button.active{background:#735a43;border-color:#735a43;color:#fff}.canvas-graph-heading button{border:0;background:transparent;font-size:18px}.canvas-graph-content{overflow:auto;min-height:0;padding:14px 16px;scrollbar-width:thin}.canvas-graph-hint{line-height:1.7;color:#74685c;margin:0 0 12px}.canvas-graph-choices{display:flex;flex-direction:column;gap:8px;max-height:240px;overflow:auto;margin-bottom:12px}.canvas-graph-choices label,.canvas-graph-option{display:flex;align-items:flex-start;gap:8px;line-height:1.5}.canvas-graph-panel input[type=checkbox]{width:15px;height:15px;margin:2px 0;accent-color:#735a43;flex:none}.canvas-graph-option{margin:10px 0}.canvas-graph-budget{display:flex;flex-direction:column;gap:8px;border:1px solid #c5b39f;background:#eee4d7;border-radius:10px;padding:12px;margin-top:14px}.canvas-graph-budget span,.canvas-graph-budget small{line-height:1.6;color:#716354}.canvas-graph-run{padding:0 0 16px;margin:0 0 14px;border-bottom:1px solid #d4c8b9}.canvas-graph-run header{display:flex;flex-direction:column;gap:5px}.canvas-graph-run header small{color:#86786a}.canvas-graph-node{border:1px solid #ded3c5;background:#fffcf7;margin-top:10px;border-radius:10px;padding:9px}.canvas-graph-node>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px}.canvas-graph-node>div:first-child>button{border:0;background:transparent;max-width:60%;text-align:left;padding:0}.canvas-graph-node [data-status]{font-size:11px;color:#8b6546}.canvas-graph-node>small{display:block;margin:7px 0;line-height:1.6;color:#6d7a5c}.canvas-graph-warning{padding:8px;background:#eee1d3;border-radius:8px;color:#965938;font-size:12px;line-height:1.6}.canvas-graph-warning button{display:block;margin-top:6px}.canvas-graph-run footer{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px}.canvas-graph-candidate{display:flex;gap:8px;border-top:1px solid #e2d9cd;margin-top:9px;padding-top:9px;align-items:flex-start}.canvas-graph-candidate>button{padding:0;border:0;flex:none;background:transparent}.canvas-graph-candidate img{width:84px;height:78px;object-fit:contain;display:block;background:#e5ded5;border-radius:6px}.canvas-graph-candidate>div{display:flex;flex-direction:column;gap:6px;min-width:0}.canvas-graph-candidate span{font-size:11px;overflow-wrap:anywhere}.canvas-graph-selected{margin-top:8px}.canvas-graph-template{padding:12px 0;border-bottom:1px solid #ded3c5;display:flex;flex-direction:column;gap:10px}.canvas-graph-template label{display:flex;flex-direction:column;gap:5px}.canvas-graph-template select{width:100%;padding:8px;background:#fffcf7;color:#45372b;border:1px solid #d4c8b9;border-radius:8px}.canvas-graph-template small{line-height:1.6;color:#8b6546}.canvas-graph-menu-title{display:block;font-size:11px;opacity:.65;padding:8px}
#bib-edges .canvas-graph-edge>path:first-child{fill:none;stroke:#b7a083;stroke-width:2;stroke-dasharray:6 5;pointer-events:none}#bib-edges .canvas-graph-edge-hit{fill:none;stroke:transparent;stroke-width:16;pointer-events:stroke;cursor:context-menu}#bib-edges .canvas-graph-edge text{fill:#c9b49a;font-size:11px;pointer-events:none}
@media(max-width:600px){.canvas-graph-panel{top:65px;right:12px;bottom:68px;width:calc(100% - 24px)}.canvas-graph-content{padding:12px}.canvas-graph-panel button{padding:7px 8px}}
#bib-edges .canvas-graph-edge.selected>path:first-child{stroke:#e8c59a;stroke-width:3}
