/* One original canvas/inspector, shared by editing, evidence and comparison. */
.journey-product .depth-layout:has(.canvas-workspace){grid-template-columns:minmax(0,1fr) 360px;gap:20px}
.canvas-workspace{min-width:0}
.journey-product .canvas-workspace .world-goal-summary{padding:0 0 14px;margin:0}
.journey-product .canvas-workspace .world-goal-summary h2{font-size:26px;margin:4px 0}
.canvas-goal{font-size:12px;margin:4px 0}
.canvas-goal p{max-width:70ch}
.canvas-workspace .world-goal-summary>p{font-size:12px;margin:6px 0}
.canvas-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.canvas-toolbar>label{display:flex;align-items:center;gap:8px;font-size:12px;margin-left:auto}
.canvas-toolbar input{width:16px;height:16px}
.canvas-toolbar select{color:#cbd7d4;background:#122024;border:1px solid #3b504c;border-radius:8px;padding:10px;font-size:11px!important}
.journey-product .canvas-workspace .editor-grid{display:block!important}
.journey-product .canvas-workspace .system-panel{min-height:0}
.journey-product .canvas-workspace .panel-head{padding:14px 18px}
.journey-product .canvas-workspace .panel-head h2{font-size:16px}
.journey-product .canvas-help{padding:12px 18px;font-size:11px;line-height:1.5}
.journey-product .compact-canvas-help{display:none}
.journey-product .graph-viewport{overflow:auto;max-width:100%;border-top:1px solid #283c3d}
.journey-product .graph-viewport .graph{min-width:0;min-height:440px}
.journey-product .graph-node,.journey-product .graph-node.core{width:158px;min-height:92px;padding:12px;border-radius:12px}
.journey-product .graph-node.core{width:185px}
.journey-product .graph-node b{font-size:13px;line-height:1.2;margin:6px 0}
.journey-product .graph-node p{font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journey-product .graph-node small{font-size:8px}
.journey-product .graph-node .node-public-status{display:none}
.journey-product .graph-edge-visible{stroke:#668b86;stroke-width:2;stroke-dasharray:none}
.journey-product .graph-edge-hit{stroke:transparent;stroke-width:18;pointer-events:stroke;cursor:pointer}
.journey-product .graph-edge-hit:focus{stroke:#d4b67d66}
.journey-product .graph-edge-visible.selected-edge,.journey-product .graph-edge-visible.evidence-highlight{stroke:#e3bf7c;stroke-width:4}
.journey-product .graph-node.evidence-highlight{border-color:#f1d28d;box-shadow:0 0 0 3px #ccb36b55,0 12px 24px #0005}
.journey-product .graph-node.rule-changed{border-color:#dfbb75;box-shadow:0 0 0 3px #b58e4a55}
.rule-change-badge{position:absolute;top:-24px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;color:#f9dc9d;background:#352e20;border:1px solid #a68d58;border-radius:5px;padding:4px 8px}
.canvas-selection-note{padding:0 18px 10px;font-size:11px;color:#dec692;line-height:1.5}
.canvas-selection-note:empty{display:none}
.canvas-path-list{padding:8px 18px;border-top:1px solid #293e3e}
.canvas-path-list summary{font-size:12px;cursor:pointer}
.canvas-path-list button{display:block;width:100%;text-align:left;margin:6px 0}
.canvas-workspace .canvas-actions{padding:14px;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.canvas-workspace .canvas-actions .action-unit p{display:none}
.canvas-workspace .canvas-actions .primary-unit{grid-column:auto}
.canvas-workspace .canvas-actions .button{font-size:10px;padding:10px 5px;min-width:0}
.canvas-workspace .canvas-actions .locked-action{grid-column:1/-1}
.canvas-workspace .capability-drawer{margin:0 0 12px}
.canvas-workspace .capability-drawer:not([open]){display:none}
.canvas-workspace .node-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;max-height:420px;overflow:auto}
.canvas-workspace .catalog-contribution,.canvas-workspace .catalog-structure{display:none}
.canvas-workspace .builder-sidebar{padding:16px}
.canvas-extend{margin:16px 0;font-size:12px;border:1px solid #334443;border-radius:10px;padding:12px}
.canvas-extend summary{cursor:pointer}
.canvas-extend .workspace-refinements{margin:0;padding-top:10px;border:0}
.journey-product .workspace-explanation{top:16px;max-height:calc(100vh - 32px)}
.journey-product .focused-editor{border:0}
.journey-product .focused-editor>summary{display:none}
.journey-product:not(.canvas-advanced) .focused-editor .overview-facts,.journey-product:not(.canvas-advanced) .focused-editor .advanced-details{display:none}
.focused-editor .inspector-section p,.focused-editor label,.focused-editor small{font-size:12px!important;letter-spacing:0!important;line-height:1.5}
.focused-editor .node-inspector input,.focused-editor .node-inspector textarea,.focused-editor .node-inspector select{font-size:13px!important}
.focused-editor .node-inspector input[type=checkbox]{width:18px;height:18px}
.focused-editor .node-inspector fieldset{min-width:0}
.focused-editor .node-inspector #capabilityFields{display:grid;gap:14px}
.explanation-comparison{padding:18px}
.explanation-comparison .view-heading{display:none}
.explanation-comparison .compare-pair{display:grid;grid-template-columns:1fr;gap:10px}
.explanation-comparison .comparison-outcome{padding:14px}
.explanation-comparison h2{font-size:20px}
.explanation-comparison .history-row{display:flex;flex-wrap:wrap;padding:14px;gap:8px}
.explanation-evidence .recorded-result{background:none;border:0;padding:0;margin:0}
.explanation-evidence .recorded-result>h3,.explanation-evidence .recorded-result>.core-reason,.explanation-evidence .recorded-result>.observed-by{display:none}
.explanation-evidence .result-next{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.explanation-evidence .result-next button{font-size:11px;padding:9px}
.explanation-evidence .result-next button:first-child{display:none}
.explanation-evidence .observation-headline{font-size:27px;line-height:1.15}
.explanation-evidence .recorded-result p{font-size:12px}
.explanation-evidence .evidence-path{grid-template-columns:repeat(5,minmax(0,1fr));padding:0}
.explanation-evidence .evidence-step{font-size:10px!important;padding:8px 3px}
@media(max-width:1050px){.journey-product .depth-layout:has(.canvas-workspace){grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:900px){.journey-product .depth-layout:has(.canvas-workspace){grid-template-columns:1fr}.journey-product .workspace-explanation{position:static;max-height:none;overflow:visible}.journey-product .experience-rail{position:static}.canvas-toolbar>label{margin-left:0}}
@media(max-width:520px){.journey-product .studio-main{padding:16px 10px 40px!important}.journey-product .graph-node{width:138px;padding:10px}.journey-product .graph-node.core{width:170px}.canvas-toolbar .quiet-button{font-size:11px;padding:9px 10px}.journey-product .canvas-workspace .panel-head{padding:12px}.journey-product .canvas-help{padding:10px 12px}.canvas-workspace .node-catalog{grid-template-columns:1fr}}
