/* Source-linked connections: clear, directional and readable before decorative.
   All map lines are SVG, drawn between actual card positions (ResizeObserver).
   No statistical relation is inferred from line thickness or color. */
.cx-toolbar{display:flex;align-items:end;gap:16px;justify-content:space-between;margin:23px 0 12px;background:#132236;border:1px solid #2b4359;border-radius:14px;padding:17px 19px}
.cx-focus-control{flex:1;max-width:710px;min-width:190px}.cx-focus-control label,.cx-trace-control label{display:block;color:#b2c9da;font-size:11px;font-weight:750;letter-spacing:.045em;margin-bottom:7px}.cx-select{display:block;width:100%;padding:12px 13px;min-height:45px;background:#0d1c2d;color:#eef7fa;border:1px solid #466179;border-radius:10px;font-size:13px}.cx-select:focus-visible{outline:2px solid #60cac8;outline-offset:2px}.cx-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cx-btn{background:#21394d;border:1px solid #46647c;border-radius:9px;padding:10px 12px;min-height:38px;color:#dcecf3;font-size:12px;font-weight:620;white-space:normal}.cx-btn:hover:not(:disabled){background:#2e4c62;border-color:#72adba}.cx-btn.primary{background:#1d565e;border-color:#3a9ba5;color:#e7fbf7}.cx-btn.subtle{background:#1b3443}.cx-btn:disabled{opacity:.4;cursor:not-allowed}
.cx-breadcrumbs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:5px 0 19px}.cx-crumb{background:transparent;border:0;color:#9bd0d3;font-size:11px;padding:4px 6px}.cx-crumb:hover{color:white;text-decoration:underline}.cx-crumb-sep{color:#7590a6}
.cx-facets{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.cx-facet{background:#14283a;border:1px solid #2e455d;border-radius:40px;color:#b1c8da;padding:8px 13px;font-size:12px;line-height:1.5}.cx-facet:hover{background:#213b50;color:#fff}.cx-facet.active{background:#1a494f;border-color:#58b6b5;color:#dcfcf4;font-weight:700}
.cx-stage-wrap{border:1px solid #294057;border-radius:16px;background:linear-gradient(160deg,#0e1a29,#101f30);padding:21px 20px 15px;min-width:0}
.cx-stage-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.cx-stage-header h2{color:#f0f6fc;font-size:20px;letter-spacing:-.03em;margin:0}.cx-stage-header p{font-size:12px;color:#a6bcce;margin:6px 0 0;line-height:1.6;max-width:660px}
.cx-mode-tabs{display:flex;gap:4px;border:1px solid #34546a;border-radius:10px;padding:4px;background:#101e30;flex-shrink:0}
.cx-mode{background:none;border:0;color:#a7c0d1;padding:9px 13px;border-radius:7px;font-size:12px;white-space:nowrap}
.cx-mode.active{background:#24515b;color:#e4fcf5;font-weight:740}
.cx-stage{position:relative;display:grid;grid-template-columns:minmax(205px,.85fr) minmax(0,1.65fr);align-items:center;gap:clamp(35px,7vw,120px);min-width:0;padding:14px 2px 25px}
.cx-curves{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
.cx-curve{transition:stroke-width .15s ease,opacity .15s ease}
.cx-hub{position:relative;z-index:1;border:2px solid #4b959b;border-radius:16px;background:#153e47;box-shadow:0 12px 40px #07101b99;padding:clamp(16px,2vw,25px);min-width:0;max-width:330px}
.cx-hub-eyebrow{font-size:10px;letter-spacing:.12em;color:#9be2de;font-weight:800;margin-bottom:10px}
.cx-hub h2{font-size:clamp(18px,2vw,25px);line-height:1.3;letter-spacing:-.035em;color:#f1f8fc;margin:0 0 11px}
.cx-hub p{color:#bdd7e1;line-height:1.65;font-size:12px;margin:0}
.cx-hub-stats{font-size:10px;color:#9ed0d5;line-height:1.6;border-top:1px solid #326a70;padding-top:14px;margin-top:16px;overflow-wrap:anywhere}
.cx-hub-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.cx-hub-actions .cx-btn{padding:8px 10px;font-size:11px}
.cx-nodes{z-index:1;position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;min-width:0}
.cx-node{--node-color:#8fb9ce;min-width:0;border-radius:11px;border:1px solid #354c63;border-left:3px solid var(--node-color);padding:11px 12px 10px;background:#14263a;box-shadow:0 5px 15px #06101b66;transition:transform .16s ease,background .16s ease,border-color .16s ease}
.cx-node:hover,.cx-node:focus-within{background:#1c3349;transform:translateY(-1px);border-color:#58748a;border-left-color:var(--node-color)}
.cx-node.is-selected{background:#1d374b;border-color:#7fabb5;border-left-color:var(--node-color);box-shadow:0 0 0 1px #6faeb344}
.cx-node-header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:6px}
.cx-node-kind{display:inline-block;color:var(--node-color,#9abccc);font-weight:800;letter-spacing:.035em;font-size:10px;text-transform:uppercase}
.cx-node-direction{color:#90a9bd;font-size:10px;white-space:nowrap}
.cx-node h3{color:#eef5fb;font-size:13px;line-height:1.4;margin:0 0 7px;font-weight:750;overflow-wrap:anywhere}
.cx-relationship{color:#b3c5d3;font-size:12px;line-height:1.45;margin:0 0 9px;overflow-wrap:anywhere}
.cx-node-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px;border-top:1px solid #31485b;padding-top:7px}
.cx-why,.cx-follow{background:none;border:0;color:#8fd9d9;font-size:11px;text-align:left;padding:4px 0;font-weight:650}
.cx-follow{margin-left:auto;color:#bddee8}.cx-why:hover,.cx-follow:hover{color:white;text-decoration:underline}
.cx-stage-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0;padding:14px 0 0;border-top:1px solid #293f53}
.cx-count{font-size:11px;color:#95afc3;margin:0}
.cx-explanation{margin:18px 0 0;background:#122236;border:1px solid #2b455c;border-radius:15px;padding:clamp(17px,2vw,25px);scroll-margin-top:130px}
.cx-explanation>.eyebrow{margin:0 0 8px}.cx-edge-explanation h3{color:#edf5fc;margin:0 0 8px;font-size:20px;letter-spacing:-.025em}.cx-detail-summary{font-size:13px;color:#a9c4d6;line-height:1.7;margin:0 0 14px}.cx-explainer-header{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:11px}
.cx-edge-description{border-top:1px solid #304b60;margin:10px 0;padding:12px 0 0}
.cx-edge-description strong{display:block;color:#e2f1f3;font-size:12px;overflow-wrap:anywhere}.cx-edge-description p{font-size:12px;color:#bed1df;line-height:1.7;margin:7px 0 4px}.cx-edge-description small{font-size:11px;color:#8da7bc}
.cx-inspect-actions{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}
.cx-method-note{margin:17px 0 35px;border-left:3px solid #d3ab7d;background:#24251f;padding:15px 19px;border-radius:0 11px 11px 0;color:#d9c8ae;font-size:12px;line-height:1.8}
.cx-method-note strong{color:#f5e5c9}.cx-no-results{text-align:center;border:1px dashed #48627a;border-radius:11px;padding:28px;color:#a8becd;font-size:13px}
.cx-trace-panel{padding:12px 4px 5px}.cx-trace-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.cx-trace-control{min-width:0}
.cx-trace-panel .cx-select{width:100%}.cx-path-count{font-size:12px;color:#abd3d1}.cx-path-steps{max-width:800px;margin:15px auto 22px;display:flex;align-items:stretch;flex-direction:column}
.cx-path-step{background:#183344;border:1px solid #3a6578;border-radius:13px;display:flex;flex-direction:column;gap:5px;padding:14px 17px}
.cx-path-step .cx-node-kind{color:#9ce4da}.cx-path-title{border:0;background:none;text-align:left;color:#f0f8fb;font-size:14px;font-weight:720;padding:0}.cx-path-title:hover{text-decoration:underline;color:#a3e6e2}
.cx-path-connection{border-left:2px solid #4b9c9d;margin-left:25px;padding:9px 17px;color:#a1c4ce}.cx-path-arrow{display:block;font-size:19px;line-height:1.2;color:#7dcfcf}
.cx-path-connection strong{display:block;color:#d9ebef;font-size:12px}.cx-path-connection p{font-size:12px;line-height:1.65;margin:5px 0}.cx-path-connection small{color:#95adbc;font-size:11px}
@media(max-width:1230px){.cx-nodes{grid-template-columns:1fr}.cx-stage{grid-template-columns:minmax(180px,.9fr) minmax(0,1.1fr);gap:55px}.cx-hub{max-width:290px}}
@media(max-width:900px){.cx-stage{grid-template-columns:minmax(0,1fr);gap:18px;padding:12px 0}.cx-hub{max-width:none;width:100%}.cx-hub::after{content:"";position:absolute;bottom:-20px;left:25px;height:20px;border-left:2px solid #4b9299}.cx-curves{display:none}.cx-nodes{grid-template-columns:minmax(0,1fr);margin-left:25px;padding-left:18px;border-left:2px solid #45657b}.cx-node{position:relative}.cx-node::before{content:"";position:absolute;left:-21px;top:28px;width:18px;border-top:2px solid var(--node-color);opacity:.8}.cx-stage-header{align-items:start;flex-wrap:wrap}.cx-toolbar{flex-wrap:wrap}.cx-focus-control{flex-basis:100%;max-width:none}}
@media(max-width:570px){.cx-toolbar{padding:12px}.cx-toolbar-actions{width:100%;justify-content:space-between}.cx-toolbar-actions .cx-btn{flex:1;padding:8px}.cx-stage-wrap{padding:14px 12px}.cx-nodes{grid-template-columns:1fr}.cx-node{padding:12px 14px}.cx-stage-header h2{font-size:18px}.cx-trace-selects{grid-template-columns:1fr}.cx-mode-tabs{width:100%}.cx-mode{flex:1}.cx-stage-header{gap:13px}.cx-path-steps{max-width:100%}.cx-breadcrumbs{display:none}}
@media(prefers-reduced-motion:reduce){.cx-node,.cx-curve{transition:none!important}}
