.relationship-page{color:#203e32;box-sizing:border-box;width:100%;min-width:0;max-width:1400px;margin:0 auto;padding:30px 26px 64px;font-size:18px}.relationship-page h1{margin:16px 0;font-size:clamp(30px,4vw,42px)}.relationship-page p{line-height:1.7}.graph-summary,.graph-toolbar,.graph-controls,.graph-footer{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.graph-summary{justify-content:space-between;margin:22px 0}.relationship-page button{color:#254e3b;min-height:48px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b7cec0;border-radius:12px;padding:10px 18px}.relationship-page button:disabled{opacity:.5;cursor:wait}.graph-toolbar{background:#eaf0eb;border-radius:18px 18px 0 0;justify-content:space-between;padding:14px}.graph-toolbar label{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.graph-toolbar input{font:inherit;box-sizing:border-box;border:1px solid #b7cec0;border-radius:10px;width:210px;max-width:100%;padding:12px}.relationship-canvas{background:#16221f radial-gradient(#31483d 1px,#0000 1px) 0 0/24px 24px;border-radius:0 0 20px 20px;position:relative;overflow:hidden}.relationship-canvas svg{touch-action:none;cursor:grab;width:100%;height:600px;display:block}.relationship-canvas svg:active{cursor:grabbing}.graph-node{cursor:grab;outline:none}.graph-node:focus-visible circle{stroke:#fff;stroke-width:4px}.graph-legend{color:#b9cec4;pointer-events:none;font-size:14px;position:absolute;top:15px;left:18px}.graph-legend span{background:#a8d8bc;border-radius:50%;width:9px;height:9px;margin-right:8px;display:inline-block}.graph-hint{color:#acc2b6;margin:0;padding:0 18px 12px;font-size:14px}.graph-selection{background:#e9f1eb;border-left:4px solid #447960;padding:14px 18px}.graph-list{margin:20px 0}.graph-list summary{cursor:pointer;min-height:48px}.graph-list button{margin:4px}.graph-note{color:#526a5b;font-size:16px}.relationship-page :focus-visible{outline-offset:3px;outline:3px solid #c79537}.graph-footer{justify-content:space-between}@media (max-width:600px){.relationship-page{padding:22px 14px}.relationship-canvas svg{height:440px}.graph-toolbar label{width:100%}.graph-toolbar input{flex:1;min-width:100px}.graph-controls{gap:8px}.graph-legend{font-size:12px}.graph-summary strong{font-size:16px}}.graph-footer a{color:#fff;background:#246b52;border-radius:14px;align-items:center;min-height:52px;padding:14px 18px;font-weight:700;line-height:1.5;text-decoration:none;display:flex}.graph-list{background:#fff;border:1px solid #cad9ce;border-radius:16px;padding:16px}.graph-list summary{font-weight:700;line-height:1.6}@media (max-width:600px){.graph-controls{width:100%}.graph-controls button{flex:1;min-height:52px}.graph-legend{font-size:14px!important}.graph-hint{font-size:15px}.graph-footer{flex-direction:column;align-items:stretch}.graph-footer a{text-align:center;justify-content:center}.relationship-canvas svg{height:380px}}.graph-context-nav,.graph-filter-bar{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.graph-context-nav a,.graph-context-nav span{box-sizing:border-box;border:1px solid #c3d3c8;border-radius:10px;min-height:48px;padding:12px 16px;font-size:16px;text-decoration:none}.graph-context-nav span,.graph-filter-bar button[aria-pressed=true]{color:#fff;background:#245d49;border-color:#245d49}.graph-empty{background:#edf3ee;border-radius:16px;flex-wrap:wrap;align-items:center;gap:16px;padding:32px;display:flex}.graph-search-status{color:#476352;font-size:16px}.graph-selection{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.graph-selection button{margin-left:auto}.graph-list button,.graph-filter-bar button{font-size:16px}@media (max-width:600px){.graph-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.graph-filter-bar button{padding:10px 6px;font-size:14px}.graph-context-nav{gap:6px}.graph-context-nav a,.graph-context-nav span{font-size:15px}}
