:root{color-scheme:dark;font-family:Inter,SF Mono,IBM Plex Sans,system-ui,sans-serif;line-height:1.4}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 90% 6%,#192241,#0a0d18 38%,#06080f);color:#eef1f9}.app-shell{min-height:100vh;max-width:1380px;margin:0 auto;padding:1.2rem 1.1rem 1.6rem}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #1e2740;padding-bottom:.8rem;margin-bottom:1rem;gap:1rem}.topbar-actions{display:grid;justify-items:end;gap:.28rem}.brand{margin:0;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;color:#8ea3ff}.brand-button{background:transparent;border:none;padding:0;text-align:left;cursor:pointer}.console-layout,.incoming-layout{display:grid;gap:.85rem}.home-graph-panel{min-height:0}.incoming-panel{max-width:980px}.incoming-card{border:1px solid #263250;border-radius:10px;padding:.78rem;background:#0a1122;margin-top:.6rem}.incoming-card p{margin:.3rem 0}.incoming-actions{border:1px solid #263250;border-radius:10px;padding:.78rem;background:#0a1122;margin-top:.65rem}.button-link{border:1px solid #4f67c7;background:#6e83ea;color:#0d1220;border-radius:8px;padding:.45rem .72rem;text-decoration:none;display:inline-block}.button-link.secondary-link{background:transparent;color:#bec9f6}.incoming-status{margin-top:.55rem}.stage-nav{display:flex;justify-content:flex-start}.workspace-grid{display:grid;grid-template-columns:minmax(290px,1fr) minmax(420px,2fr);gap:.85rem;align-items:stretch}.secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.panel{border:1px solid #1b2340;border-radius:12px;padding:.85rem;background:#0a0e18de;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}h1,h2,h3{margin-top:0;letter-spacing:.02em}label{display:block;font-size:.82rem;color:#cad2ed}input,textarea,button,select{font:inherit}input,textarea{width:100%;margin-top:.28rem;margin-bottom:.56rem;border:1px solid #2a3556;border-radius:8px;padding:.5rem .6rem;background:#0c1326;color:#f4f6ff}textarea{min-height:72px;resize:vertical}.actions{display:flex;flex-wrap:wrap;gap:.6rem}button{border:1px solid #4f67c7;background:#6e83ea;color:#0d1220;border-radius:8px;padding:.45rem .72rem;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:transparent;color:#bec9f6}.actor-list,.candidate-list,.request-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.actor-list button,.candidate-list button,.request-list button{width:100%;border:1px solid #28314d;background:#0d1322;color:#eaf0ff;display:flex;justify-content:space-between}.actor-item{position:relative}.actor-list button{flex-direction:column;align-items:flex-start;gap:.16rem;text-align:left}.actor-name{font-weight:600}.actor-list button.active,.candidate-list button.active{border-color:#84a0ff;background:#15203a}.actor-popover{position:absolute;top:calc(100% + .3rem);left:0;z-index:30;width:min(340px,calc(100vw - 3rem));border:1px solid #3f4f80;border-radius:10px;padding:.62rem .68rem;background:linear-gradient(160deg,#0d1530,#090d1a);box-shadow:0 10px 32px #00000073}.actor-popover p{margin:0;font-size:.8rem}.actor-popover p+p{margin-top:.32rem}.actor-popover a{color:#95b2ff;word-break:break-word}.actor-popover strong{color:#ccd8ff}.score{color:#8fc2a9}.profile{border:1px solid #27324f;border-radius:8px;padding:.72rem;background:#0a1122}.stat{color:#8fc2a9}.subtle{color:#95a0c1;font-size:.82rem}.actor-chooser-panel{max-width:820px}.request-type-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem;margin-bottom:.65rem}.request-type-grid button{border:1px solid #28314d;background:#0d1322;color:#eaf0ff}.request-type-grid button.active{border-color:#84a0ff;background:#15203a}.context-panel{position:relative}.current-entity{position:relative;margin-bottom:.62rem}.demo-presets{margin-bottom:.62rem}.inline-action{background:transparent;border:1px solid #4f67c7;color:#b8c8ff;padding:.12rem .42rem;border-radius:6px}.entity-chip{width:100%;text-align:left;border-color:#354579;background:#0f1831;color:#dbe3ff}.dynamic-field textarea{min-height:62px}.field-label-row{display:flex;justify-content:space-between;align-items:center}.field-remove{border:1px solid #3a4569;background:transparent;color:#c4cff3;padding:.05rem .36rem;border-radius:5px;font-size:.76rem}.add-field-row{display:flex;gap:.45rem;align-items:center}.add-field-row input{margin-bottom:0}.graph-panel{min-height:520px}.graph-toolbar{display:flex;justify-content:flex-end;margin-bottom:.45rem}.graph-toolbar label{display:inline-flex;align-items:center;gap:.4rem;font-size:.76rem}.graph-toolbar select{border:1px solid #2a3556;border-radius:7px;padding:.2rem .35rem;background:#0c1326;color:#f4f6ff}.graph-stage{position:relative;height:100%;min-height:480px;border:1px solid #202a44;border-radius:10px;background:radial-gradient(circle at 20% 15%,rgba(84,111,214,.25),transparent 34%),radial-gradient(circle at 86% 84%,rgba(110,65,210,.25),transparent 30%),#070c1b;overflow:hidden}.graph-stage-home{min-height:min(72vh,640px);aspect-ratio:16 / 9;cursor:grab;touch-action:none}.graph-stage-home.dragging{cursor:grabbing}.graph-stage-home .graph-node{min-width:84px;max-width:144px;padding:.34rem .5rem;border-radius:12px}.graph-stage-home .graph-node span{font-size:.7rem}.graph-stage-home .graph-node-meta{font-size:.58rem}.graph-home-toolbar{justify-content:flex-start;gap:.42rem;margin-bottom:.55rem}.graph-viewport{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:50% 50%;transition:transform .26s ease}.graph-stage-home .graph-viewport{transition:transform .18s ease}.graph-stage-home.dragging .graph-viewport{transition:none}.graph-edges{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.graph-edges line{stroke:#8ea2e86b;stroke-width:.45;transition:stroke .22s ease,opacity .22s ease}.graph-edges line.linked{stroke:#a7daabc7}.graph-edges line.focus{stroke:#92beffad}.graph-edges line.context{opacity:.24}.graph-node{position:absolute;transform:translate(-50%,-50%);min-width:98px;max-width:176px;border-radius:14px;border:1px solid #4257a8;background:linear-gradient(150deg,#1d2d62,#111a36);color:#ecf1ff;z-index:2;transition:transform .22s ease,border-color .22s ease,background .22s ease,opacity .22s ease}.graph-node span{display:block;font-size:.76rem;line-height:1.2;text-align:left;word-break:break-word}.graph-node-meta{margin-top:.18rem;font-size:.64rem;color:#afbedf;text-transform:uppercase;letter-spacing:.04em}.graph-node-startup{border-color:#4c6fca}.graph-node-non-profit,.graph-node-research-institution{border-color:#4d8a72;background:linear-gradient(150deg,#1b3f45,#122731)}.graph-node-leader,.graph-node-movement-builder,.graph-node-researcher,.graph-node-entrepreneur,.graph-node-investor,.graph-node-engineer,.graph-node-public-figure{border-color:#7f62b8;background:linear-gradient(150deg,#36275a,#221739)}.graph-node.active,.graph-node:focus-visible{outline:none;border-color:#a7b9ff;box-shadow:0 0 0 2px #8a9fff40}.graph-node.linked{border-color:#99dbab;background:linear-gradient(150deg,#274b58,#183142)}.graph-node.selected{border-color:#d6e1ff;box-shadow:0 0 0 2px #a0b7ff59,0 0 22px #789aff47;transform:translate(-50%,-50%) scale(1.04);opacity:1}.graph-node.context{opacity:.6}.node-popover{position:absolute;z-index:25;width:min(300px,calc(100% - 1.4rem));border:1px solid #3f4f80;border-radius:10px;padding:.62rem .68rem;background:linear-gradient(160deg,#0d1530,#090d1a);box-shadow:0 10px 30px #0006}.node-popover p{margin:0;font-size:.8rem}.node-popover p+p{margin-top:.32rem}.node-popover a{color:#95b2ff;word-break:break-word}.node-popover strong{color:#ccd8ff}.auth-shell{display:grid;gap:.75rem}.auth-panel{max-width:520px}.error-text{color:#ff8e98;margin-top:0}.pipeline-editor{display:grid;gap:.32rem}@media(max-width:1060px){.workspace-grid{grid-template-columns:1fr}.secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.graph-panel{min-height:460px}.graph-stage-home{min-height:min(66vh,520px);aspect-ratio:16 / 10}}@media(max-width:760px){.app-shell{padding:.75rem .62rem 1.05rem}.topbar{flex-direction:column;align-items:flex-start;margin-bottom:.75rem}.topbar-actions{justify-items:start;width:100%;grid-template-columns:1fr;gap:.35rem}.topbar-actions button{width:100%}.secondary-grid{grid-template-columns:1fr}.graph-stage{min-height:360px}.graph-toolbar{justify-content:flex-start;flex-wrap:wrap;gap:.35rem}.graph-stage-home{min-height:50dvh;aspect-ratio:4 / 3}.graph-stage-home .graph-node{min-width:76px;max-width:132px;padding:.28rem .44rem}.graph-stage-home .graph-node span{font-size:.66rem}.graph-stage-home .graph-node-meta{font-size:.54rem}.node-popover{width:min(92vw,300px)}.incoming-actions .actions{display:grid;grid-template-columns:1fr}.button-link{width:100%;text-align:center}}@media(max-width:430px){.panel{border-radius:10px;padding:.62rem}.brand{font-size:.72rem;letter-spacing:.06em}.subtle{font-size:.76rem}.graph-stage{min-height:330px}.graph-stage-home{min-height:46dvh;aspect-ratio:1 / 1}.graph-home-toolbar button{padding:.34rem .52rem;font-size:.78rem}}@media(max-width:980px)and (orientation:landscape){.app-shell{padding:.72rem .75rem 1rem}.topbar{margin-bottom:.65rem}.topbar-actions{grid-template-columns:repeat(2,minmax(0,auto));justify-items:end;align-items:center;column-gap:.45rem}.graph-stage-home{min-height:66vh;aspect-ratio:21 / 9}}
