:root{color:#202124;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px}html,body,#root{width:100%;height:100%;overflow:hidden}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{border:1px solid #c8ccd2;background:#fff;color:#202124;border-radius:6px;min-width:34px;height:34px;cursor:pointer}button:disabled{color:#9aa3ad;background:#f4f6f8;cursor:default}button:hover{background:#eef4ff;border-color:#8cb4ff}button:disabled:hover{background:#f4f6f8;border-color:#c8ccd2}.app-shell{height:100vh;height:100dvh;display:flex;flex-direction:column;color:#202124;overflow:hidden}.file-drop-overlay{position:fixed;inset:10px;z-index:60;pointer-events:none;border:2px solid rgba(77,136,255,.84);border-radius:10px;background:#4d88ff14;box-shadow:inset 0 0 0 1px #ffffffd1,0 10px 36px #4d88ff2e}.topbar{min-height:58px;padding:10px 16px;border-bottom:1px solid #dfe2e7;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.document-heading{flex:1 1 auto;min-width:0}.file-name{box-sizing:border-box;width:100%;height:24px;margin:0;border:1px solid transparent;border-radius:5px;padding:0 4px;background:transparent;color:#202124;font-weight:650;overflow:hidden;text-overflow:ellipsis}.file-name:not([readonly]){cursor:text}.file-name:not([readonly]):hover,.file-name:not([readonly]):focus{border-color:#c8ccd2;background:#fff}.file-name:focus{outline:none;border-color:#4d88ff;box-shadow:0 0 0 3px #dce8ff}.file-name[readonly]{cursor:pointer}.file-name[readonly]:hover{border-color:#d1d5dc;background:#f8fafc}.status{font-size:12px;margin-top:2px}.status.clean{color:#207a45}.status.dirty,.status.pending{color:#8a5a00}.status.error{color:#b42318}.toolbar{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:nowrap;justify-content:flex-end}.search-controls{display:flex;align-items:center;gap:4px}.search-input{width:132px;height:34px;padding:0 10px;border:1px solid #c8ccd2;border-radius:6px;background:#fff}.search-input:focus{outline:none;border-color:#4d88ff;box-shadow:0 0 0 3px #dce8ff}.search-count{min-width:42px;height:34px;display:flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid #dfe2e7;border-radius:6px;color:#516071;background:#f8fafc;font-size:12px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px;background:#14181f57}.keyboard-help{width:min(760px,100%);max-height:min(780px,calc(100vh - 48px));overflow:auto;border:1px solid #cfd6df;border-radius:8px;background:#fff;box-shadow:0 18px 60px #1c232d3d}.keyboard-help header{display:flex;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #e3e7ed}.keyboard-help h2,.keyboard-help h3,.keyboard-help p{margin:0}.keyboard-help h2{font-size:19px;line-height:1.25}.keyboard-help p{margin-top:4px;color:#5f6b7a;font-size:13px}.keyboard-help button[aria-label="Close keyboard shortcuts"]{flex:0 0 auto}.shortcut-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:18px 20px 20px}.shortcut-group h3{margin-bottom:10px;font-size:14px}.shortcut-group dl{margin:0;display:grid;gap:8px}.shortcut-row{display:grid;gap:4px}.shortcut-row dt,.shortcut-row dd{margin:0}.shortcut-row dt{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.shortcut-row dd{color:#4b5563;font-size:13px;line-height:1.35}.shortcut-separator{margin:0 5px;color:#6b7280;font-size:12px}.recent-files-modal{width:min(560px,100%)}.recent-files-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.recent-storage-summary{display:flex;flex-wrap:wrap;gap:6px;padding:8px 10px 0;color:#4b5563;font-size:12px;line-height:1.4}.recent-storage-summary span,.recent-file-tag{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid #d7dde7;border-radius:999px;background:#f6f8fb;color:#42526b;font-size:11px;font-weight:650;line-height:1;white-space:nowrap}.recent-list{display:grid;gap:6px;max-height:min(420px,calc(100vh - 180px));overflow:auto;padding:10px 10px 12px}.recent-empty{padding:10px;color:#6b7280;font-size:13px;line-height:1.4}.recent-file-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:6px;align-items:stretch}.recent-file-open{min-width:0;height:auto;min-height:64px;display:grid;gap:5px;justify-items:start;padding:8px 10px;border-color:transparent;background:transparent;text-align:left}.recent-file-open:hover{border-color:#8cb4ff;background:#eef4ff}.recent-file-name,.recent-file-path{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-file-tags{display:flex;max-width:100%;flex-wrap:wrap;gap:5px}.recent-file-tag-draft{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.recent-file-name{font-size:13px;font-weight:650}.recent-file-path{color:#6b7280;font-size:11px}.recent-file-remove{width:34px;min-width:34px;align-self:stretch}.notice-log-modal{width:min(560px,100%)}.deployment-status-modal{width:min(620px,100%)}.notice-log-actions,.deployment-status-actions{display:flex;align-items:center;gap:8px}.notice-log-list{display:grid;gap:6px;max-height:min(420px,calc(100vh - 180px));overflow:auto;padding:10px 10px 12px}.deployment-status-list{display:grid;gap:0;max-height:min(480px,calc(100vh - 180px));overflow:auto;margin:0;padding:8px 10px 12px}.notice-log-empty{padding:10px;color:#6b7280;font-size:13px;line-height:1.4}.deployment-status-row{display:grid;grid-template-columns:148px minmax(0,1fr);gap:12px;padding:9px 8px;border-bottom:1px solid #edf0f4}.deployment-status-row:last-child{border-bottom:0}.deployment-status-row dt{color:#647083;font-size:12px;font-weight:650;line-height:1.45}.deployment-status-row dd{min-width:0;margin:0;color:#1f2937;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.deployment-status-ok dd{color:#1f6f43}.deployment-status-warning dd{color:#9a3412}.deployment-status-muted dd{color:#4b5563}.notice-log-entry{--notice-accent: #2563eb;--notice-bg: #eff6ff;--notice-border: #bfdbfe;--notice-tag-bg: #dbeafe;--notice-tag-color: #1d4ed8;display:grid;grid-template-columns:84px 48px minmax(0,1fr);gap:10px;align-items:start;padding:9px 10px;border:1px solid var(--notice-border);border-left:4px solid var(--notice-accent);border-radius:6px;background:var(--notice-bg)}.notice-log-time{color:#647083;font-size:12px;font-variant-numeric:tabular-nums;line-height:1.4;white-space:nowrap}.notice-log-tag{align-self:start}.notice-log-message{min-width:0;color:#2f3742;font-size:13px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}kbd{display:inline-flex;align-items:center;min-height:23px;padding:2px 6px;border:1px solid #c7ced8;border-bottom-color:#aab3bf;border-radius:5px;background:#f8fafc;color:#202124;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.2}.command-palette-backdrop{z-index:30;align-items:flex-start;padding-top:min(12vh,96px)}.command-palette{width:min(640px,100%);border:1px solid #cfd6df;border-radius:8px;background:#fff;box-shadow:0 18px 60px #1c232d3d}.command-palette header{display:flex;justify-content:space-between;gap:16px;padding:16px 18px 12px;border-bottom:1px solid #e3e7ed}.command-palette h2,.command-palette p{margin:0}.command-palette h2{font-size:18px;line-height:1.25}.command-palette p{margin-top:4px;color:#5f6b7a;font-size:13px}.command-palette-input{width:calc(100% - 36px);height:42px;margin:14px 18px 10px;padding:0 12px;border:1px solid #b9c2cf;border-radius:6px;background:#fff;color:#202124}.command-palette-input:focus{outline:none;border-color:#4d88ff;box-shadow:0 0 0 3px #dce8ff}.command-list{display:grid;gap:4px;max-height:min(420px,calc(100vh - 260px));overflow:auto;padding:0 10px 12px}.command-item{width:100%;height:auto;min-height:50px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 10px;border-color:transparent;background:transparent;text-align:left}.command-item.active:not(:disabled),.command-item:hover:not(:disabled){border-color:#8cb4ff;background:#eef4ff}.command-item:disabled{border-color:transparent;background:transparent}.command-copy{display:grid;gap:2px;min-width:0}.command-title,.command-detail,.command-shortcut{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-title{color:#202124;font-weight:650}.command-detail{color:#5f6b7a;font-size:12px}.command-shortcut{max-width:150px;color:#516071;font-size:12px}.command-empty{padding:18px 10px 20px;color:#5f6b7a}.conflict-panel{border-bottom:1px solid #dfe2e7;background:#fffdf6;padding:10px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.conflict-panel span{color:#4b5563}.conflict-panel{background:#fff8f7;color:#842029}.notice-stack{position:fixed;top:72px;right:16px;z-index:70;width:min(440px,calc(100vw - 32px));max-height:min(60vh,calc(100vh - 96px));display:flex;flex-direction:column;gap:8px;overflow:visible;pointer-events:none}.notice{--notice-accent: #2563eb;--notice-bg: #eff6ff;--notice-border: #bfdbfe;--notice-tag-bg: #dbeafe;--notice-tag-color: #1d4ed8;width:100%;max-height:min(180px,calc(100vh - 96px));overflow:auto;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:11px 14px;border:1px solid var(--notice-border);border-left:4px solid var(--notice-accent);border-radius:8px;background:var(--notice-bg);color:#2f3742;box-shadow:0 12px 36px #1c232d29;animation:notice-enter .16s ease-out;pointer-events:auto;transition:opacity .42s ease,transform .42s ease}.notice-success{--notice-accent: #168a4a;--notice-bg: #f0fdf5;--notice-border: #bbf7d0;--notice-tag-bg: #dcfce7;--notice-tag-color: #166534}.notice-warning{--notice-accent: #b7791f;--notice-bg: #fffbeb;--notice-border: #fde68a;--notice-tag-bg: #fef3c7;--notice-tag-color: #92400e}.notice-error{--notice-accent: #c0352b;--notice-bg: #fff1f2;--notice-border: #fecdd3;--notice-tag-bg: #ffe4e6;--notice-tag-color: #9f1239}.notice.is-leaving{opacity:0;transform:translateY(-6px)}.notice-tag,.notice-log-tag{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:22px;padding:2px 7px;border-radius:999px;background:var(--notice-tag-bg);color:var(--notice-tag-color);font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.notice-message{display:block;color:#4b5563;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}@keyframes notice-enter{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.conflict-panel>div:first-child{display:flex;flex-direction:column;gap:3px}.conflict-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.diff-files{margin:0;border:1px solid #f2b8b5;background:#fff;color:#842029;border-radius:6px;padding:8px;font-size:12px;white-space:pre-wrap}.document-layout{--markdown-panel-size: 320px;position:relative;flex:1 1 auto;min-height:0;display:flex;overflow:hidden;background:#f6f7f9}.document-layout.markdown-top,.document-layout.markdown-bottom{flex-direction:column}.document-layout.markdown-left,.document-layout.markdown-right{flex-direction:row}.document-layout.markdown-top .markdown-panel,.document-layout.markdown-left .markdown-panel{order:0}.document-layout.markdown-top .workspace-shell,.document-layout.markdown-top .workspace-viewport,.document-layout.markdown-left .workspace-shell,.document-layout.markdown-left .workspace-viewport,.document-layout.markdown-right .workspace-shell,.document-layout.markdown-right .workspace-viewport{order:1}.document-layout.markdown-bottom .markdown-panel,.document-layout.markdown-right .markdown-panel{order:2}.workspace-shell{position:relative;flex:1 1 auto;min-width:0;min-height:0;display:flex}.workspace-viewport{flex:1 1 auto;min-width:0;min-height:0;overflow:auto;background:#f6f7f9;cursor:grab;touch-action:none}.layout-overview{position:absolute;z-index:12;width:184px;min-height:136px;padding:8px;border:1px solid rgba(139,149,163,.38);border-radius:8px;background:#ffffffdb;box-shadow:0 8px 24px #181f2a1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;gap:7px;pointer-events:auto}.layout-overview.overview-top-left{top:14px;left:14px}.layout-overview.overview-top-right{top:14px;right:14px}.layout-overview.overview-bottom-left{bottom:14px;left:14px}.layout-overview.overview-bottom-right{right:14px;bottom:14px}.layout-overview-dock-targets{position:absolute;inset:0;z-index:11;pointer-events:none}.layout-overview-dock-target{position:absolute;width:184px;height:136px;border:1px dashed rgba(77,136,255,.46);border-radius:8px;background:#4d88ff14;box-shadow:inset 0 0 0 1px #ffffff9e}.layout-overview-dock-target.active{border-style:solid;border-color:#4d88ffdb;background:#4d88ff2e;box-shadow:inset 0 0 0 1px #ffffffc7,0 8px 22px #4d88ff2e}.layout-overview-dock-target.dock-target-top-left{top:14px;left:14px}.layout-overview-dock-target.dock-target-top-right{top:14px;right:14px}.layout-overview-dock-target.dock-target-bottom-left{bottom:14px;left:14px}.layout-overview-dock-target.dock-target-bottom-right{right:14px;bottom:14px}.layout-overview-map{height:92px;min-height:0}.layout-overview svg{display:block;width:100%;height:100%}.layout-overview-controls{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:6px}.layout-overview-dock-handle{position:relative;width:26px;min-width:26px;height:26px;border:1px solid rgba(139,149,163,.38);border-radius:6px;background:#ffffffb8;cursor:grab;touch-action:none}.layout-overview-dock-handle:before{content:"";position:absolute;top:50%;left:50%;width:12px;height:2px;border-radius:999px;background:#7b8794;box-shadow:0 -5px #7b8794b8,0 5px #7b8794b8;transform:translate(-50%,-50%)}.layout-overview-dock-handle:hover,.layout-overview-dock-handle:focus-visible{border-color:#8cb4ff;background:#eef4ff;outline:none}.layout-overview-dock-handle:active{cursor:grabbing}.layout-overview-readout{min-width:0;overflow:hidden;color:#4b5563;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.layout-overview-reset{min-width:52px;height:26px;padding:0 8px;border-radius:6px;font-size:12px}.layout-overview-connector{fill:none;stroke:#aeb8c4;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.layout-overview-connector.connector-level-1{stroke-width:2.2}.layout-overview-connector.connector-level-2{stroke-width:1.8}.layout-overview-connector.connector-level-3{stroke-width:1.5}.layout-overview-connector.connector-level-deep{stroke-width:1.2}.layout-overview-connector.virtual-connector,.layout-overview-connector.transient-connector{stroke:#c8ccd2;stroke-dasharray:5 5}.layout-overview-node{fill:#fff;stroke:#aeb8c4;stroke-width:1.2;vector-effect:non-scaling-stroke}.layout-overview-node.node-level-1{fill:#eaf3ff;stroke:#9dbbf3}.layout-overview-node.node-level-2{fill:#ecf8f0;stroke:#9fd8b7}.layout-overview-node.node-level-3{fill:#fff5df;stroke:#eacb8b}.layout-overview-node.node-level-deep{fill:#f4edff;stroke:#c4afe8}.layout-overview-root{fill:#fff;stroke:#7b8794;stroke-width:1.8}.layout-overview-virtual,.layout-overview-transient{fill:#ffffff94;stroke:#aeb8c4;stroke-dasharray:4 4;opacity:.76}.layout-overview-selected{stroke:#4d88ff;stroke-width:2.2}.layout-overview-viewport{fill:#4d88ff14;stroke:#4d88ffbd;stroke-width:1.5;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.workspace-viewport.is-panning,.workspace-viewport.is-node-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.workspace{--node-column-gap: clamp(18px, 2.4vw, 32px);--node-row-gap: clamp(12px, 1.4vw, 18px);zoom:var(--workspace-zoom);transform:translate(var(--workspace-pan-x),var(--workspace-pan-y));transform-origin:center center;position:relative;width:100%;min-width:max-content;min-height:max(420px,100%);display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,260px) minmax(220px,1fr);gap:var(--node-column-gap);align-items:center;padding:28px;overflow:visible}.connector-layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}.connector-layer path{fill:none;stroke:#aeb8c4;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.connector-layer path.connector-level-1{stroke-width:2.6}.connector-layer path.connector-level-2{stroke-width:2.2}.connector-layer path.connector-level-3{stroke-width:1.8}.connector-layer path.connector-level-deep{stroke-width:1.5}.connector-layer path.virtual-connector,.connector-layer path.transient-connector{stroke:#c8ccd2;stroke-width:1.5;stroke-dasharray:5 5}.branch{min-width:max-content;min-height:320px;display:flex;flex-direction:column;justify-content:center;gap:var(--node-row-gap)}.branch-left{align-items:flex-end}.branch-right{align-items:flex-start}.root-node{display:flex;justify-content:center;align-items:center;position:relative}.root-node:before,.root-node:after{content:none}.root-node textarea,.node-input,.virtual-node-input{border:1px solid #ccd2d9;border-radius:8px;background:#fff;padding:9px 11px;color:#202124;line-height:1.35;cursor:text;display:block;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}.node-text-frame{position:relative;display:block;flex:0 0 auto}.root-node textarea:focus,.node-input:focus,.virtual-node-input:focus{outline:none}.node-input{--node-level-bg: #ffffff;--node-level-border: #ccd2d9;--node-level-text: #202124;border-color:var(--node-level-border);background:var(--node-level-bg);color:var(--node-level-text)}.node-input.node-level-1{--node-level-bg: #f5f9ff;--node-level-border: #c6d8fb;--node-level-text: #2f5c9f;font-weight:700}.node-input.node-level-2{--node-level-bg: #f5fbf7;--node-level-border: #c7ead5;--node-level-text: #2f7654;font-weight:640}.node-input.node-level-3{--node-level-bg: #fffaf0;--node-level-border: #f4ddb1;--node-level-text: #8a5a19;font-weight:580}.node-input.node-level-deep{--node-level-bg: #fbf7ff;--node-level-border: #ddcdf7;--node-level-text: #6b4a9a;font-weight:520}.root-node textarea.selected,.node-input.selected{border-width:2px;border-color:#2563eb;background:#2563eb;color:#fff;outline:2px solid rgba(37,99,235,.9);outline-offset:2px;box-shadow:inset 0 0 0 1px #2563ebb8,0 0 0 2px #fff,0 0 0 7px #2563eb6b,0 12px 26px #2563eb33}.node-input.secondary-selected{border-width:2px;border-color:#80a7ff;outline:1px solid rgba(77,136,255,.5);outline-offset:2px;box-shadow:0 0 0 2px #fff,0 0 0 4px #80a7ff47}.root-node textarea.editing,.node-input.editing{border-color:#15966f;background:#fbfffd;color:#202124;outline:2px solid rgba(21,150,111,.56);outline-offset:2px;box-shadow:0 0 0 1px #15966f,0 0 0 4px #d8f3e8;caret-color:#0f6f54}.node-input.transient-empty,.virtual-node-input.transient-empty{border-color:#aeb8c4;border-style:dashed;background:#ffffff8f;box-shadow:none;opacity:.62}.node-input.transient-empty.selected,.node-input.transient-empty.editing,.virtual-node-input.transient-empty.selected{border-width:1px;border-color:#9aa3ad;outline:none;box-shadow:0 0 0 3px #aeb8c438}.root-node textarea.focused:not(.selected):not(.editing),.node-input.focused:not(.selected):not(.editing),.virtual-node-input.focused:not(.selected):not(.editing){border-color:#80a7ff;outline:2px solid rgba(128,167,255,.48);outline-offset:2px;box-shadow:0 0 0 2px #fff}.node-input.transient-empty.focused:not(.selected):not(.editing),.virtual-node-input.transient-empty.focused:not(.selected):not(.editing){border-width:1px;border-style:dashed;border-color:#9aa3ad;background:#ffffff8f;outline-color:#80a7ff52;box-shadow:none;opacity:.72}.root-node textarea.search-match,.node-input.search-match{border-color:#d97706;box-shadow:0 0 0 3px #fde68a}.root-node textarea.search-match.selected,.node-input.search-match.selected{border-width:2px;border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563ebb8,0 0 0 2px #fde68a,0 0 0 7px #2563eb8f,0 12px 26px #2563eb33}.root-node textarea.search-match.editing,.node-input.search-match.editing{border-color:#15966f;box-shadow:0 0 0 1px #15966f,0 0 0 4px #d8f3e8,0 0 0 7px #fde68a}.root-node textarea.current-search-match,.node-input.current-search-match{border-color:#b45309}.root-node textarea.search-match.current-search-match.selected,.node-input.search-match.current-search-match.selected{border-width:2px;border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563ebb8,0 0 0 2px #fde68a,0 0 0 7px #2563eb8f,0 12px 26px #2563eb33}.root-node textarea.current-search-match.editing,.node-input.current-search-match.editing{border-color:#15966f}.root-node textarea[readonly],.node-input[readonly],.virtual-node-input[readonly]{cursor:default;caret-color:transparent}.root-node textarea.markdown-preview-active,.node-input.markdown-preview-active,.root-node textarea.selected.markdown-preview-active,.node-input.selected.markdown-preview-active{color:transparent}.node-markdown-preview{position:absolute;inset:1px;z-index:2;display:block;padding:9px 11px;color:#202124;line-height:1.35;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;word-break:normal;pointer-events:none}.node-markdown-paragraph,.node-markdown-heading,.node-markdown-blockquote,.node-markdown-block{display:block}.root-node .node-text-frame textarea.selected+.node-markdown-preview,.node-text-frame .node-input.selected+.node-markdown-preview{color:#fff}.root-node .node-text-frame textarea.selected+.node-markdown-preview code,.node-text-frame .node-input.selected+.node-markdown-preview code{border-color:#ffffff57;background:#ffffff2e}.root-node .node-markdown-preview{text-align:center;font-weight:700}.node-text-frame.node-level-1 .node-markdown-preview{color:#2f5c9f;font-weight:700}.node-text-frame.node-level-2 .node-markdown-preview{color:#2f7654;font-weight:640}.node-text-frame.node-level-3 .node-markdown-preview{color:#8a5a19;font-weight:580}.node-text-frame.node-level-deep .node-markdown-preview{color:#6b4a9a;font-weight:520}.node-markdown-preview a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:2px;pointer-events:auto;cursor:pointer}.node-markdown-preview code{padding:1px 4px;border:1px solid rgba(81,96,113,.2);border-radius:4px;background:#ffffffa3;color:inherit;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em;font-weight:600}.node-markdown-code-block{display:block;margin:0;padding:0;overflow:hidden;color:inherit;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em;font-weight:640;line-height:1.35;text-align:left;overflow-wrap:anywhere;white-space:pre-wrap}.node-markdown-code-block code{display:block;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;white-space:inherit}.node-markdown-unsafe-link{text-decoration:underline dotted;text-underline-offset:2px}.node-input.draggable-node[readonly]{cursor:grab}.node-input.drag-source{opacity:.72;cursor:grabbing}.node-drag-snap-layer{position:fixed;inset:0;z-index:39;width:100vw;height:100vh;pointer-events:none;overflow:visible}.node-drag-snap-line{fill:none;stroke:#2463eb;stroke-width:2;stroke-linecap:round;stroke-dasharray:7 6}.node-drag-snap-dot{fill:#2463eb;stroke:#fff;stroke-width:2}.node-drag-preview{position:fixed;z-index:40;pointer-events:none;border:1px solid #2463eb;border-radius:8px;background:#fff;box-shadow:0 14px 32px #1f293733,0 0 0 3px #dbeafe;color:#202124;padding:9px 11px;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;opacity:.96}.root-node textarea.drop-before,.root-node textarea.drop-after,.root-node textarea.drop-inside,.node-input.drop-before,.node-input.drop-after,.node-input.drop-inside{border-color:#2463eb}.root-node textarea.drop-before,.node-input.drop-before{box-shadow:0 -4px #2463eb,0 0 0 3px #dbeafe}.root-node textarea.drop-after,.node-input.drop-after{box-shadow:0 4px #2463eb,0 0 0 3px #dbeafe}.root-node textarea.drop-inside,.node-input.drop-inside{background:#eff6ff;box-shadow:0 0 0 3px #bfdbfe}.root-node textarea.drop-left{box-shadow:-4px 0 #2463eb,0 0 0 3px #bfdbfe}.root-node textarea.drop-right{box-shadow:4px 0 #2463eb,0 0 0 3px #bfdbfe}.root-node textarea{text-align:center;border-width:2px;font-size:17px;font-weight:700;min-height:48px;padding:10px 13px;position:relative;z-index:1}.node-subtree{display:flex;align-items:center;gap:var(--node-column-gap);position:relative;flex:0 0 auto}.node-row{display:flex;align-items:center;gap:6px;position:relative;flex:0 0 auto}.node-toggle{width:24px;min-width:24px;height:24px;padding:0;border-radius:50%;color:#516071;background:#f8fafc;line-height:1}.node-toggle:hover{background:#eef4ff}.node-actions{position:absolute;left:calc(100% + 8px);top:50%;z-index:3;display:flex;gap:4px;opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .12s ease}.node-actions:before{content:"";position:absolute;top:-8px;bottom:-8px;left:-12px;width:12px}.node-row:hover .node-actions,.node-actions:hover,.node-actions:focus-within{opacity:1;pointer-events:auto}.node-action{width:24px;min-width:24px;height:24px;padding:0;border-radius:50%;color:#374151;background:#fff;box-shadow:0 1px 2px #0f172a1f;line-height:1}.node-action:hover{border-color:#4d88ff;background:#eef4ff}.node-action.danger:hover{border-color:#dc2626;background:#fff1f2;color:#b91c1c}.node-subtree.left>.node-row .node-actions{right:calc(100% + 8px);left:auto}.node-subtree.left>.node-row .node-actions:before{right:-12px;left:auto}.node-subtree.left>.node-row{flex-direction:row-reverse}.child-column,.root-child-column{display:flex;flex-direction:column;justify-content:center;gap:var(--node-row-gap);position:relative;flex:0 0 auto}.branch-right .root-child-column{align-items:flex-start;padding-left:20px}.branch-left .root-child-column{align-items:flex-end;padding-right:20px}.node-subtree.right>.child-column{align-items:flex-start;padding-left:20px}.node-subtree.left>.child-column{align-items:flex-end;padding-right:20px}.node-subtree.right:has(>.child-column)>.node-row:after,.node-subtree.left:has(>.child-column)>.node-row:before,.node-subtree.right>.child-column>.node-subtree:before,.node-subtree.left>.child-column>.node-subtree:after,.branch-right .root-child-column>.node-subtree:before,.branch-left .root-child-column>.node-subtree:after{content:none}.node-subtree.right>.child-column:before,.node-subtree.left>.child-column:before,.branch-right .root-child-column:before,.branch-left .root-child-column:before{content:none}.node-subtree.right>.child-column:before{left:0}.node-subtree.left>.child-column:before{right:0}.branch-right .root-child-column:before{left:0}.branch-left .root-child-column:before{right:0}.markdown-panel{flex:0 0 var(--markdown-panel-size);position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:#101418;color:#e8edf2;overflow:hidden}.document-layout.markdown-top .markdown-panel,.document-layout.markdown-bottom .markdown-panel{max-height:min(68vh,var(--markdown-panel-size))}.document-layout.markdown-top .markdown-panel{border-bottom:1px solid #dfe2e7}.document-layout.markdown-bottom .markdown-panel{border-top:1px solid #dfe2e7}.document-layout.markdown-left .markdown-panel,.document-layout.markdown-right .markdown-panel{min-width:220px;max-width:min(52vw,var(--markdown-panel-size))}.document-layout.markdown-left .markdown-panel{border-right:1px solid #dfe2e7}.document-layout.markdown-right .markdown-panel{border-left:1px solid #dfe2e7}.markdown-resize-handle{position:absolute;z-index:4;border:0;padding:0;background:transparent}.markdown-resize-handle:before{content:"";position:absolute;border-radius:999px;background:#e8edf22e;transition:background .12s ease,box-shadow .12s ease}.markdown-resize-handle:hover:before,.markdown-resize-handle:focus-visible:before{background:#e8edf285;box-shadow:0 0 0 2px #8daadb42}.document-layout.markdown-top .markdown-resize-handle,.document-layout.markdown-bottom .markdown-resize-handle{right:0;left:0;height:16px;cursor:row-resize}.document-layout.markdown-top .markdown-resize-handle{bottom:0}.document-layout.markdown-bottom .markdown-resize-handle{top:0}.document-layout.markdown-top .markdown-resize-handle:before,.document-layout.markdown-bottom .markdown-resize-handle:before{right:16px;left:16px;height:2px}.document-layout.markdown-top .markdown-resize-handle:before{bottom:7px}.document-layout.markdown-bottom .markdown-resize-handle:before{top:7px}.document-layout.markdown-left .markdown-resize-handle,.document-layout.markdown-right .markdown-resize-handle{top:0;bottom:0;width:16px;cursor:col-resize}.document-layout.markdown-left .markdown-resize-handle{right:0}.document-layout.markdown-right .markdown-resize-handle{left:0}.document-layout.markdown-left .markdown-resize-handle:before,.document-layout.markdown-right .markdown-resize-handle:before{top:16px;bottom:16px;left:7px;width:2px}.markdown-panel-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:16px 12px 8px;border-bottom:1px solid rgba(232,237,242,.12);background:#101418}.markdown-dock-target-preview{position:absolute;z-index:6;pointer-events:none;box-sizing:border-box;border:2px solid rgba(86,116,168,.76);border-radius:8px;background:repeating-linear-gradient(135deg,#5674a824 0 8px,#5674a838 8px 16px),#e8edf22e;box-shadow:inset 0 0 0 1px #ffffff7a,0 12px 30px #1014182e}.markdown-dock-target-preview:before{content:"";position:absolute;inset:10px;border:1px dashed rgba(16,20,24,.32);border-radius:5px}.markdown-dock-target-preview.dock-target-left{top:12px;bottom:12px;left:12px;width:min(30vw,var(--markdown-panel-size))}.markdown-dock-target-preview.dock-target-right{top:12px;right:12px;bottom:12px;width:min(30vw,var(--markdown-panel-size))}.markdown-dock-target-preview.dock-target-top{top:12px;right:12px;left:12px;height:min(30vh,var(--markdown-panel-size))}.markdown-dock-target-preview.dock-target-bottom{right:12px;bottom:12px;left:12px;height:min(30vh,var(--markdown-panel-size))}.markdown-dock-handle{position:relative;width:74px;height:28px;border:1px solid rgba(232,237,242,.22);border-radius:999px;background:#ffffff0f;cursor:grab;touch-action:none}.markdown-dock-handle:before{content:"";position:absolute;top:50%;left:50%;width:30px;height:2px;border-radius:999px;background:#dce5eebd;box-shadow:0 -6px #dce5ee94,0 6px #dce5ee94;transform:translate(-50%,-50%)}.markdown-dock-handle:hover,.markdown-dock-handle:focus-visible{border-color:#e8edf280;background:#ffffff1f;outline:none}.markdown-dock-handle:active{cursor:grabbing}.markdown-panel-hide-button,.markdown-panel-restore-button{display:inline-grid;place-items:center;border:1px solid rgba(232,237,242,.22);border-radius:8px;background:#ffffff0f;cursor:pointer}.markdown-panel-hide-button{width:28px;height:28px;padding:0}.markdown-panel-hide-button span,.markdown-panel-restore-button span{position:relative;width:14px;height:14px}.markdown-panel-hide-button span:before,.markdown-panel-hide-button span:after{content:"";position:absolute;top:6px;left:1px;width:12px;height:2px;border-radius:999px;background:#dce5eec7}.markdown-panel-hide-button span:before{transform:rotate(45deg)}.markdown-panel-hide-button span:after{transform:rotate(-45deg)}.markdown-panel-restore-button{position:absolute;z-index:7;width:34px;height:34px;padding:0;background:#101418;box-shadow:0 10px 24px #1014182e}.markdown-panel-restore-button span:before{content:"";position:absolute;inset:1px;border:2px solid rgba(220,229,238,.78);border-radius:3px}.markdown-panel-restore-button span:after{content:"";position:absolute;top:5px;right:4px;left:4px;height:2px;border-radius:999px;background:#dce5eec7;box-shadow:0 4px #dce5ee9e,0 8px #dce5ee75}.markdown-panel-hide-button:hover,.markdown-panel-hide-button:focus-visible,.markdown-panel-restore-button:hover,.markdown-panel-restore-button:focus-visible{border-color:#e8edf280;background:#ffffff1f;outline:none}.markdown-panel-restore-button:hover,.markdown-panel-restore-button:focus-visible{background:#1b2229}.document-layout.markdown-left .markdown-panel-restore-button{top:50%;left:10px;transform:translateY(-50%)}.document-layout.markdown-right .markdown-panel-restore-button{top:50%;right:10px;transform:translateY(-50%)}.document-layout.markdown-top .markdown-panel-restore-button{top:10px;left:50%;transform:translate(-50%)}.document-layout.markdown-bottom .markdown-panel-restore-button{bottom:10px;left:50%;transform:translate(-50%)}.markdown-panel pre{flex:1 1 auto;min-width:0;min-height:0;overflow:auto;margin:0;padding:12px 16px 16px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:14px;line-height:1.55;white-space:pre-wrap}.markdown-line-root,.markdown-line-plain{color:#e8edf2}.markdown-line-level-1{color:#a9c4f8}.markdown-line-level-2{color:#a8e4c3}.markdown-line-level-3{color:#f2cc8c}.markdown-line-level-deep{color:#d3baf5}.diagnostics{padding:20px;display:flex;flex-direction:column;gap:10px}.diagnostics.compact{padding:0;min-width:min(560px,100%)}.diagnostics-actions{display:flex;justify-content:flex-start}.diagnostic{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;border:1px solid #f2b8b5;background:#fff8f7;color:#842029;border-radius:8px;padding:12px}.diagnostic small{color:#6f2520}.diagnostic em{grid-column:2 / -1;color:#6f2520;font-style:normal;font-size:13px}@media(max-width:800px){.topbar{height:auto;min-height:58px;gap:8px}.document-heading{width:100%}.topbar,.conflict-panel{align-items:stretch;flex-direction:column}.notice-stack{top:66px;right:10px;width:min(420px,calc(100vw - 20px))}.toolbar,.conflict-actions{justify-content:flex-start}.toolbar{gap:6px;flex-wrap:wrap}.search-controls{padding-left:0;border-left:0}.modal-backdrop{align-items:flex-start;padding:12px}.keyboard-help{max-height:calc(100vh - 24px)}.keyboard-help header{padding:14px 14px 12px}.command-palette-backdrop{padding-top:12px}.command-palette header{padding:14px 14px 12px}.command-palette-input{width:calc(100% - 28px);margin:12px 14px 8px}.command-list{max-height:calc(100vh - 170px);padding:0 8px 10px}.command-item{grid-template-columns:minmax(0,1fr);gap:4px}.command-shortcut{max-width:100%}.notice-log-entry,.deployment-status-row{grid-template-columns:minmax(0,1fr);gap:3px}.shortcut-groups{grid-template-columns:1fr;gap:14px;padding:14px}.document-layout.markdown-left,.document-layout.markdown-right{flex-direction:column}.document-layout.markdown-top .workspace-shell,.document-layout.markdown-top .workspace-viewport{order:1}.document-layout.markdown-left .workspace-shell,.document-layout.markdown-left .workspace-viewport,.document-layout.markdown-right .workspace-shell,.document-layout.markdown-right .workspace-viewport{order:0}.document-layout.markdown-top .markdown-panel{order:0;max-height:min(46vh,var(--markdown-panel-size));border-bottom:1px solid #dfe2e7}.document-layout.markdown-left .markdown-panel,.document-layout.markdown-right .markdown-panel{order:1;min-width:0;max-width:none;max-height:min(46vh,var(--markdown-panel-size));border-right:0;border-left:0;border-top:1px solid #dfe2e7}.workspace{grid-template-columns:minmax(72px,1fr) auto minmax(72px,1fr);align-items:center;justify-items:stretch;gap:16px;padding:24px 16px}.layout-overview{width:150px;min-height:118px;padding:6px}.layout-overview.overview-top-left{top:10px;left:10px}.layout-overview.overview-top-right{top:10px;right:10px}.layout-overview.overview-bottom-left{bottom:10px;left:10px}.layout-overview.overview-bottom-right{right:10px;bottom:10px}.layout-overview-dock-target{width:150px;height:118px}.layout-overview-dock-target.dock-target-top-left{top:10px;left:10px}.layout-overview-dock-target.dock-target-top-right{top:10px;right:10px}.layout-overview-dock-target.dock-target-bottom-left{bottom:10px;left:10px}.layout-overview-dock-target.dock-target-bottom-right{right:10px;bottom:10px}.layout-overview-map{height:76px}.layout-overview-controls{grid-template-columns:26px minmax(0,1fr);gap:4px}.layout-overview-reset{grid-column:1 / -1;width:100%}.branch,.branch-left,.branch-right{min-height:260px}.branch-right .root-child-column{padding-left:16px}.branch-left .root-child-column{padding-right:16px}.node-subtree.right>.child-column{padding-left:16px}.node-subtree.left>.child-column{padding-right:16px}.child-column,.node-subtree.right>.child-column,.node-subtree.left>.child-column,.root-child-column,.branch-right .root-child-column,.branch-left .root-child-column{max-width:100%}.root-node textarea,.node-input,.virtual-node-input{max-width:280px}.root-node textarea{max-width:260px}}
