:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}a:hover{color:#747bff}button{background-color:#f9f9f9}*{box-sizing:border-box;margin:0;padding:0}body,html,#root{height:100%;width:100%;font-family:Poppins,Segoe UI,Arial,sans-serif;background:#e3ebff;color:#121d46}.app-container{display:flex;justify-content:center;align-items:center;height:100%}.card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 10px 30px #00000026;width:700px;max-width:90%;text-align:center;position:relative}.card h1{font-size:1.8rem;font-weight:700;margin-bottom:2rem;color:#0a214a}.options{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap}.options button{background:#fff;border:none;padding:1.2rem 1.5rem;font-size:1.1rem;font-weight:600;border-radius:16px;box-shadow:0 6px 16px #0000001f;cursor:pointer;min-width:150px;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:#0a214a}.options button img{width:70px;height:auto;object-fit:contain;border-radius:6px}.options button span{font-size:1.05rem}.options button:hover{transform:translateY(-4px);background:#f5f7fb}.search-container{position:relative;width:100%;max-width:400px;margin:0 auto 1.5rem}.search-box{display:flex;justify-content:center;align-items:center;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.search-box input{flex:1;padding:.9rem 1rem;min-width:200px;border:none;border-radius:12px;background:#f0f2f5;font-size:1rem;box-shadow:inset 0 2px 5px #0000001a}.search-box button{background:#0a214a;color:#fff;border:none;padding:.9rem 1rem;border-radius:12px;cursor:pointer;transition:.2s ease;font-size:1.2rem;flex-shrink:0}.search-box button:hover{background:#133067}.suggestions{position:absolute;top:100%;left:0;right:0;background:#fff;border-radius:10px;margin-top:.3rem;box-shadow:0 4px 12px #00000026;z-index:10;max-height:180px;overflow-y:auto}.suggestion-item{padding:.8rem 1rem;cursor:pointer;font-size:1rem;transition:background .2s}.suggestion-item:hover{background:#f5f7fb}.suggestion-item.highlight{background:#e0e7ff;font-weight:600}.subject-view{text-align:left}.actions-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.map-btn{margin-left:auto}.subject-view h2{font-size:1.5rem;margin-bottom:1rem;text-align:center}.relation{margin:1rem 0}.relation strong{display:block;margin-bottom:.5rem;font-size:1rem}.relation button{margin:.3rem;background:#e9efff;border:none;padding:.5rem .9rem;border-radius:8px;cursor:pointer;transition:.2s;font-size:.95rem;color:#0a214a}.relation button:hover{background:#d0ddff}.fade-in{animation:fadeIn .5s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.back-btn{margin-top:2rem;padding:.9rem 1.2rem;border:none;background:#0a214a;color:#fff;border-radius:10px;cursor:pointer;font-weight:600;font-size:1rem;transition:.2s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.back-btn.small{margin-top:1.5rem;font-size:1rem;padding:.6rem 1rem}.back-btn svg{font-size:1em;vertical-align:middle}.back-btn:hover{background:#133067}.modal-overlay{position:fixed;inset:0;background:#0a214a8c;display:flex;align-items:center;justify-content:center;z-index:100}.modal-content{background:#fff;border-radius:16px;width:92%;height:86%;box-shadow:0 20px 50px #00000040;display:flex;flex-direction:column;overflow:hidden}.modal-content--graph{padding:0}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.1rem;border-bottom:1px solid #e6eaf2;background:#f7f9fc}.modal-title{font-weight:700;color:#0a214a;display:flex;align-items:center;gap:.7rem}.modal-pill{background:#e9efff;color:#0a214a;border-radius:999px;padding:.25rem .6rem;font-weight:600;font-size:.9rem}.close-btn{background:#0a214a;color:#fff;border:none;border-radius:10px;padding:.5rem .8rem;cursor:pointer}.modal-body{flex:1 1 auto;min-height:0}.graph-container{width:100%;height:100%}.graph-container .react-flow__handle{opacity:0;pointer-events:none}.close-btn--floating{position:absolute;top:12px;right:12px;z-index:2}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}
