/* Scope the workspace to Connections. Preserve plugin/Library/Ideas layouts. */
body.connections-open .site-footer{display:none}#page-connections{padding:10px 16px 0;max-width:none}body.connections-open main{max-width:none}#page-connections .compact-workspace{height:var(--compact-height,650px);display:flex;flex-direction:column;gap:10px;min-height:0}#page-connections .compact-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}#page-connections .compact-heading h1{font-size:20px;line-height:1.2}#compact-active{font-size:12px;color:#c6b9ce;font-weight:400;display:block;margin-top:3px}#page-connections .compact-actions{display:flex;gap:6px}#page-connections .compact-actions button{font-size:12px;padding:7px 10px}#compact-workflows,#compact-inspect{display:none}#page-connections .compact-controls{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;flex:none;border:1px solid #343844;border-radius:8px;background:#1a1c22;padding:9px 12px}#page-connections .compact-switch{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;align-items:center}#page-connections .compact-switch>strong{font-size:12px;font-weight:500}#page-connections .route-choice-grid{display:flex;gap:5px;grid-template-columns:none;margin:0}#page-connections .route-choice{display:flex;gap:5px;align-items:center;min-height:0;padding:6px 9px;border-radius:5px;flex:0 1 auto;font-size:12px;background:#242731}#page-connections .route-choice.active{border-color:#bf7585;background:#44313d}#page-connections .choice-icon{width:17px;height:17px;background:none;border:0;padding:0}#page-connections .choice-icon svg{width:17px;height:17px}#page-connections .compact-switch>p{grid-column:1/-1;font-size:11px;color:#adaaba;margin:0;line-height:1.35}#page-connections .compact-body{display:grid;grid-template-columns:180px minmax(0,1fr) 250px;gap:12px;flex:1;min-height:0;position:relative}#page-connections .compact-rail{min-height:0;overflow-y:auto;background:#17191f;border:1px solid #343844;border-radius:8px;padding:8px;scrollbar-width:thin}#page-connections #workflow-buttons{display:block;margin:0}#page-connections .workflow-group{margin:0 0 12px}#page-connections .workflow-group h2{font-size:11px;font-weight:500;color:#b7a8bd;margin:3px 3px 6px}#page-connections .workflow-grid{display:flex;flex-direction:column;gap:3px}#page-connections .workflow-button{display:flex;align-items:center;gap:7px;min-height:0;padding:7px 5px;border:1px solid transparent;border-radius:5px;background:transparent;width:100%;text-align:left}#page-connections .workflow-button strong{font-size:12px;font-weight:400;line-height:1.25}#page-connections .workflow-button .workflow-icon{width:18px;height:18px;font-size:15px;min-width:18px;background:none;border:0;margin:0;padding:0}#page-connections .workflow-button.active{border-color:#aa6878;background:#382932}#page-connections .compact-center{display:flex;flex-direction:column;gap:6px;min-height:0;min-width:0}#page-connections .graph-wrap{flex:1;min-height:0;display:flex;flex-direction:column}#page-connections .graph-toolbar{padding:6px 9px;gap:6px;flex:none;font-size:11px}#page-connections .graph-toolbar>span{margin-right:auto}#page-connections .graph-toolbar button{font-size:11px;padding:5px 7px}#page-connections .graph{flex:1;min-height:0;padding:14px 12px;overflow:auto;scrollbar-width:thin}#page-connections #graph-nodes{grid-template-columns:repeat(var(--compact-cols,4),minmax(0,1fr));gap:22px 20px;align-content:start}#page-connections .graph-node{padding:8px;text-align:left;box-shadow:none;min-height:0;line-height:1.3;overflow-wrap:anywhere}#page-connections .node-top{float:left;margin:0 6px 3px 0}#page-connections .node-icon{height:18px;width:18px;font-size:13px;border-radius:4px}#page-connections .graph-node strong{font-size:12px;font-weight:500;min-height:18px}#page-connections .graph-node .node-subtitle{display:none}#page-connections .node-size{clear:both;margin-top:6px;padding-top:5px;font-size:11px;line-height:1.3}#page-connections .node-cost{margin:4px 0;padding:0;border:0;font-size:10px;line-height:1.3}#page-connections .status-label{font-size:10px;display:block;margin-top:5px}#page-connections .graph-legend{padding:5px 9px;font-size:10px;gap:8px;flex:none}#page-connections .graph-legend>span:last-child{display:none}#page-connections #compact-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 10px;border:1px solid #4a3b49;border-radius:6px;background:#211e28;flex:none}#compact-facts small{font-size:10px;display:block;margin-bottom:3px}#compact-facts strong{font-size:11px;font-weight:500;display:block;line-height:1.35;overflow-wrap:anywhere}#page-connections #edge-detail{flex:none;font-size:11px;line-height:1.3;padding:0;min-height:15px}#page-connections .compact-inspector{border:1px solid #504052;border-radius:8px;background:#1a1c22;padding:12px;overflow-y:auto;min-height:0;scrollbar-width:thin}#compact-node-summary h2{font-size:17px;line-height:1.25;margin:6px 0 12px}#compact-node-summary .compact-fact{margin-bottom:12px}#compact-node-summary p,#compact-node-summary dd{font-size:12px;line-height:1.45;margin:3px 0;overflow-wrap:anywhere}#compact-node-summary dt{font-size:10px;color:#b1a3b4;margin-top:10px;text-transform:uppercase}#compact-node-summary dd{margin-left:0}#compact-node-summary .compact-proof{font-size:11px;color:#b6abbc;border-top:1px solid #38313f;padding-top:10px;margin-top:12px}#compact-more{width:100%;margin-top:12px;font-size:12px}#page-connections dialog{background:#191b23;color:#eef0f5;border:1px solid #766279;border-radius:10px;padding:0;width:min(620px,calc(100vw - 24px));max-height:75vh;box-shadow:0 20px 70px #000b}#page-connections dialog::backdrop{background:#0007}#page-connections .compact-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#25222c;position:sticky;top:0;z-index:3;gap:8px}#page-connections .compact-dialog-header h2{font-size:17px}#compact-evidence-body,#compact-assumptions-body{padding:15px}#page-connections #node-detail{display:block;padding:12px}#page-connections #route-budget{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}#page-connections #route-estimates{margin:0;padding:0;border:0}#page-connections #page-costs .cost-grid{grid-template-columns:1fr}#page-connections #page-costs .cost-controls{padding:14px}#page-connections #page-costs .cost-output strong{font-size:18px}#page-connections .choice-note,#page-connections #journey-summary,#compact-route-info{font-size:12px;margin:15px 0;color:#c9bfd0;line-height:1.5}#page-connections .sf-cost-summary{grid-column:1/-1}
@media(max-width:1150px){#page-connections .compact-body{grid-template-columns:156px minmax(0,1fr) 220px;gap:8px}#page-connections .compact-controls{gap:10px}#page-connections .compact-switch{grid-template-columns:1fr}#page-connections .compact-switch>strong{font-size:11px}#page-connections #compact-facts{grid-template-columns:1fr 1fr}#page-connections .compact-inspector{padding:9px}}
@media(max-width:850px){#page-connections .compact-body{display:flex}#page-connections .compact-center{flex:1}#compact-workflows,#compact-inspect{display:block}#page-connections .compact-rail,#page-connections .compact-inspector{display:none;position:absolute;z-index:6;top:0;bottom:0;box-shadow:0 10px 35px #0009}#page-connections .compact-rail{left:0;width:220px}#page-connections .compact-inspector{right:0;width:min(280px,85%)}#page-connections.show-workflows .compact-rail,#page-connections.show-inspector .compact-inspector{display:block}#page-connections .compact-heading h1{font-size:18px}#page-connections .compact-actions button{font-size:10px;padding:6px}#page-connections .compact-switch{display:block}#page-connections .compact-switch>strong{display:block;margin-bottom:4px}#page-connections .route-choice{font-size:11px;padding:5px}#page-connections .compact-switch>p{margin-top:5px}#page-connections .compact-controls{gap:8px;padding:7px}#page-connections .compact-heading{align-items:flex-start}#page-connections .compact-actions{flex-wrap:wrap;justify-content:flex-end}#compact-active{font-size:11px}}
@media(max-width:560px){#page-connections{padding:8px 7px 0}#page-connections .compact-workspace{gap:6px}#page-connections .compact-heading{display:block}#page-connections .compact-actions{justify-content:flex-start;margin-top:6px}#page-connections .compact-controls{grid-template-columns:1fr;gap:6px}#page-connections .compact-switch{display:grid;grid-template-columns:75px 1fr;gap:4px}#page-connections .compact-switch>p{display:none}#page-connections .compact-switch>strong{font-size:10px;margin:0}#page-connections .route-choice{font-size:10px;white-space:normal;flex:1;padding:5px}#page-connections .choice-icon{display:none}#page-connections .graph{padding:12px 8px}#page-connections #graph-nodes{gap:20px 16px}#page-connections .graph-node strong{font-size:12px}#page-connections .node-size{font-size:11px}#page-connections .graph-toolbar>span{display:none}#page-connections #compact-facts{padding:6px;gap:5px}#compact-facts strong{font-size:10px}#page-connections .graph-legend{font-size:9px}#page-connections .compact-heading h1{font-size:17px}#page-connections #edge-detail{font-size:10px}}
#page-connections .route-choice{flex-direction:row}#page-connections dialog{margin:16vh 16px auto auto;width:min(520px,calc(100vw - 24px))}
#page-connections .graph-node{position:relative;padding:6px}#page-connections .graph-node strong{padding-right:7px}#page-connections .graph-node .status-label{position:absolute;top:4px;right:4px;margin:0;font-size:8px}#page-connections .node-size{margin-top:3px;padding-top:3px}#page-connections .node-cost{font-size:11px;margin-top:3px}#page-connections #graph-nodes{row-gap:16px}
