.control-panel{position:relative;flex:0 0 auto;height:100%;overflow:auto;background:#fff;border-right:1px solid #eee;padding:11px;box-shadow:4px 0 16px #0000000a;z-index:20}.control-toolbar{display:flex;align-items:center;justify-content:space-between;margin:-12px -11px 12px;padding:10px 12px;background:linear-gradient(to bottom,#f5f5f5,#efefef 45%,#e7e7e7);border:none;border-bottom:1px solid #c1c1c1}.history-controls-placeholder{display:flex;align-items:center;gap:6px;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #ddd;border-radius:8px;background:#fff;color:#333;font-size:28px;font-weight:600;line-height:1;cursor:pointer}.icon-button:disabled{color:#aaa;background:#f8f8f8;cursor:not-allowed}.panel-actions{display:flex;gap:7px;margin-bottom:11px;flex-wrap:wrap}.add-button{display:inline-block;background:#1976d2;color:#fff;border:none;padding:7px 11px;border-radius:7px;font-size:13px;cursor:pointer}.toggle-button{display:inline-block;background:#f3f3f3;color:#333;border:1px solid #ddd;padding:7px 11px;border-radius:7px;font-size:13px;cursor:pointer}.toggle-button-active{background:#1976d2;color:#fff;border-color:#1976d2}.panel-list{margin-top:11px;display:grid;gap:9px}.panel-row{border:1px solid #eee;border-radius:9px;padding:9px;min-width:0}.panel-row-title{font-size:12px;color:#666;margin-bottom:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-row-header{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:7px;min-width:0}.delete-button{border:none;background:#e14b4b;color:#fff;padding:6px 9px;border-radius:7px;font-size:12px;cursor:pointer;flex-shrink:0}.panel-row-inputs{display:flex;gap:7px;min-width:0}.panel-input{min-width:0;padding:7px;border:1px solid #ddd;border-radius:7px;font-size:13px;box-sizing:border-box}.panel-input-small{width:60px;flex:0 0 60px}.panel-input-flex{flex:1;width:0}.resize-handle{position:absolute;top:0;right:0;width:10px;height:100%;cursor:ew-resize}.resize-handle:after{content:"";position:absolute;top:12px;bottom:12px;left:4px;width:2px;background:#d0d0d0;border-radius:999px}.panel-input-error{border-color:#d93025;background:#fff4f4}.field-error-text{margin-top:7px;font-size:12px;color:#d93025}.panel-mode-tabs{display:flex;gap:7px;margin-bottom:11px;flex-wrap:wrap}.panel-row-invalid{border-color:#d93025;background:#fff8f8}.panel-row-selected{border-color:#1976d2;background:#eef6ff;box-shadow:0 0 0 1px #1976d21f}.adjacency-items{display:grid;gap:7px;width:100%;min-width:0}.adjacency-items-compact{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.adjacency-items-with-weight{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.adjacency-item{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 9px;border:1px solid #ddd;border-radius:7px;background:#fafafa}.adjacency-neighbor{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:center;white-space:nowrap}.adjacency-weight{flex:0 0 40px;min-width:0;padding-left:7px;border-left:1px solid #e3e3e3;color:#666;font-size:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.adjacency-empty{color:#999;font-size:12px}.layout-mode-picker{position:relative;display:flex;align-items:center;gap:6px;flex-shrink:0}.layout-mode-menu{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);z-index:50;display:grid;width:110px;padding:6px;background:#fff;border:1px solid #ddd;border-radius:9px;box-shadow:0 8px 24px #0000001f}.layout-mode-option{border:none;background:transparent;color:#333;padding:7px 9px;border-radius:7px;text-align:center;cursor:pointer}.layout-mode-option:hover{background:#f3f3f3}.layout-mode-option-active{background:#1976d2;color:#fff}.layout-mode-option-active:hover{background:#1976d2}.panel-row-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.secondary-button{border:1px solid #ddd;background:#f3f3f3;color:#333;padding:6px 9px;border-radius:7px;font-size:12px;cursor:pointer;flex-shrink:0}.secondary-button:disabled{color:#aaa;background:#f8f8f8;cursor:not-allowed}.layer-navigation-picker{position:relative;display:flex;align-items:center;gap:6px;flex-shrink:0}.layer-navigation-button{display:flex;align-items:center;gap:6px;max-width:160px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.layer-navigation-button[aria-expanded=true]{border-color:#1976d2;box-shadow:0 0 0 2px #1976d21f}.layout-mode-button{max-width:160px;background:#fff;white-space:nowrap;transition:border-color .15s ease,box-shadow .15s ease}.layout-mode-button[aria-expanded=true]{border-color:#1976d2;box-shadow:0 0 0 2px #1976d21f}.layer-navigation-menu{position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);z-index:50;display:grid;min-width:110px;max-width:160px;padding:6px;background:#fff;border:1px solid #ddd;border-radius:9px;box-shadow:0 8px 24px #0000001f}.layer-navigation-option{border:none;background:transparent;color:#333;padding:7px 9px;border-radius:7px;text-align:center;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-navigation-option:hover{background:#f3f3f3}.layer-navigation-option-active{background:#1976d2;color:#fff}.layer-navigation-option-active:hover{background:#1976d2}.layer-navigation-button-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-navigation-button-icon{flex-shrink:0}.adjacency-item{position:relative;padding-top:13px}.adjacency-edge-number{position:absolute;top:3px;left:5px;color:#777;font-size:9px;font-weight:600;line-height:1;pointer-events:none;-webkit-user-select:none;user-select:none}.adjacency-item-selected{border-color:#1976d2;background:#eef6ff;box-shadow:0 0 0 1px #1976d21f}.adjacency-item-selected .adjacency-edge-number{color:#1976d2}.document-save-status{flex:0 0 auto;min-width:62px;font-size:12px;line-height:1;text-align:right;color:#cfcfcf}.document-save-status-dirty{color:#e2c36b}.document-save-status-saving{color:#b8d7ff}.document-save-status-saved{color:#a8d8a8}.document-save-status-error{color:#ff9c9c;cursor:help}.graph-viewport{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;background:#f6f6f6}.graph-scene{position:absolute;inset:0}.graph-svg{width:100%;height:100%;display:block}.graph-node-circle{fill:#fff;stroke:#000;stroke-width:1.5}.graph-node-label{font-weight:400}.graph-node-hoverable:hover .graph-node-circle{fill:#fff3bf}.graph-node-hoverable:hover .graph-node-label{font-weight:700}.graph-node-selected .graph-node-circle{fill:#e7f5ff}.graph-node-selected .graph-node-label{font-weight:700}.graph-toolbar{position:absolute;top:14px;right:14px;z-index:10;display:flex;align-items:center;gap:8px}.graph-zoom-controls{display:flex;align-items:center;gap:7px}.graph-toolbar-button{border:1px solid #d8d8d8;background:#fff;color:#333;min-width:34px;height:34px;padding:0 9px;border-radius:7px;cursor:pointer;font:inherit;font-size:13px;box-shadow:0 8px 20px #00000014}.graph-toolbar-button:hover{background:#f5f5f5}.graph-selection-mode-button-active{background:#1976d2;border-color:#1976d2;color:#fff}.graph-selection-mode-button-active:hover{background:#1565c0}.graph-zoom-reset{min-width:60px}.graph-zoom-value{min-width:50px;text-align:center;font-size:13px;color:#444;padding:0 7px;height:34px;line-height:34px;border:1px solid #ddd;border-radius:7px;background:#fffffff2;box-shadow:0 8px 20px #00000014}.graph-layout-save-bar{position:absolute;top:14px;left:14px;z-index:11}.graph-layout-save-button{border:none;background:#1976d2;color:#fff;padding:9px 13px;border-radius:9px;cursor:pointer;font:inherit;font-size:13px;box-shadow:0 8px 20px #0000001f}.graph-layout-save-button:hover{background:#1565c0}.graph-selection-box{fill:#1976d21f;stroke:#1976d2;stroke-width:1.5;stroke-dasharray:6 4;pointer-events:none}.graph-edge-line{stroke:#000;stroke-width:2}.graph-edge-hit-area{stroke:transparent;stroke-width:14;pointer-events:stroke}.graph-edge-label{font-size:12px;text-anchor:middle;pointer-events:none;fill:#6b7280}.graph-edge-hoverable:hover .graph-edge-line{stroke:#ffd43b}.graph-edge-selected .graph-edge-line{stroke:#1976d2;stroke-width:4}.graph-edge-selected .graph-edge-label{font-weight:700}.graph-edge-picker{overflow:visible;pointer-events:all}.graph-edge-picker-panel{width:100%;box-sizing:border-box;overflow-y:auto;border:1px solid #d8d8d8;border-radius:8px;background:#fffffff2;box-shadow:0 8px 20px #00000024}.graph-edge-picker-row{height:30px;display:flex;align-items:center;gap:8px;box-sizing:border-box;padding:0 8px;border-bottom:1px solid #eeeeee}.graph-edge-picker-row:last-child{border-bottom:none}.graph-edge-picker-display{flex:1;min-width:0;height:24px;padding:0 6px;border:none;border-radius:5px;background:transparent;color:#333;cursor:pointer;font:inherit;font-size:12px;text-align:left}.graph-edge-picker-display:hover{background:#f3f6f9}.graph-edge-picker-display-active{font-weight:700}.graph-edge-picker-checkbox{width:16px;height:16px;margin:0;cursor:pointer}.graph-svg{width:100%;height:100%;display:block;user-select:none;-webkit-user-select:none}.graph-node-label{font-weight:400;pointer-events:none}.graph-toolbar{flex-direction:column;align-items:flex-end}.graph-toolbar-main-row{display:flex;align-items:center;gap:8px}.graph-selection-groups-toggle{border:1px solid #d8d8d8;background:#fff;color:#333;min-height:34px;padding:0 10px;border-radius:7px;cursor:pointer;font:inherit;font-size:13px;box-shadow:0 8px 20px #00000014}.graph-selection-groups-toggle:hover{background:#f5f5f5}.graph-selection-groups-toggle-closed{align-self:flex-end}.graph-selection-groups-drawer{width:260px;max-height:420px;overflow:hidden;border:1px solid #d8d8d8;border-radius:10px;background:#fffffff5;box-shadow:0 10px 28px #0000001f}.graph-selection-groups-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px;border-bottom:1px solid #eeeeee}.graph-selection-groups-title{font-size:14px;font-weight:700;color:#222}.graph-selection-groups-subtitle{margin-top:2px;font-size:12px;color:#777}.graph-selection-groups-create{width:calc(100% - 20px);margin:10px;border:none;background:#1976d2;color:#fff;padding:8px 10px;border-radius:8px;cursor:pointer;font:inherit;font-size:13px}.graph-selection-groups-create:disabled{background:#c8c8c8;cursor:not-allowed}.graph-selection-groups-empty{padding:0 10px 12px;font-size:13px;color:#777}.graph-selection-groups-list{max-height:300px;overflow-y:auto;padding:0 10px 10px}.graph-selection-group-row{border:1px solid #eeeeee;border-radius:8px;background:#fff;margin-bottom:8px;overflow:hidden}.graph-selection-group-row-active{border-color:#1976d2}.graph-selection-group-main{width:100%;box-sizing:border-box;background:transparent;padding:8px;cursor:pointer}.graph-selection-group-row:hover{background:#f5f8ff}.graph-selection-group-main{background:transparent}.graph-selection-group-name-button{display:block;width:100%;border:none;background:transparent;padding:0;margin:0;text-align:left;font:inherit;font-size:13px;font-weight:700;color:#222;cursor:pointer}.graph-selection-group-name-button-editable{cursor:text}.graph-selection-group-name-input{width:100%;box-sizing:border-box;border:none;background:transparent;padding:0;margin:0;font:inherit;font-size:13px;font-weight:700;color:#222}.graph-selection-group-name-input:focus{outline:none}.graph-selection-group-count{display:block;margin-top:4px;font-size:12px;color:#777}.graph-selection-group-actions{display:flex;gap:4px;padding:0 8px 8px}.graph-selection-group-actions button{border:1px solid #dddddd;background:#fff;border-radius:6px;cursor:pointer;font:inherit;font-size:12px;padding:4px 6px}.graph-selection-group-actions button:hover{background:#f5f5f5}.graph-selection-group-error{margin-top:6px;font-size:12px;line-height:1.35;color:#c62828}.settings-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:28px;background:#0000005c}.settings-dialog{width:min(860px,100%);height:min(640px,100%);display:grid;grid-template-columns:210px minmax(0,1fr);overflow:hidden;border:1px solid #c9c5ba;border-radius:12px;background:#fff;color:#2d2d30;box-shadow:0 20px 60px #00000038}.settings-sidebar{min-width:0;padding:22px 14px;border-right:1px solid #d8d4ca;background:#f3f1ea}.settings-sidebar-heading{padding:0 10px 18px}.settings-sidebar-heading h1{margin:0;font-size:20px}.settings-navigation{display:flex;flex-direction:column;gap:5px}.settings-navigation-item{width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#4c4943;font:inherit;font-size:14px;text-align:left;cursor:pointer}.settings-navigation-item-active{background:#dedbd1;color:#2d2d30;font-weight:700}.settings-content{position:relative;min-width:0;overflow-y:auto;padding:34px 42px 42px}.settings-close-button{position:absolute;top:15px;right:16px;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#5e5a53;font-size:24px;line-height:1;cursor:pointer}.settings-close-button:hover{background:#efede7}.settings-close-button:focus-visible,.settings-navigation-item:focus-visible,.settings-switch input:focus-visible+.settings-switch-track{outline:2px solid #2d2d30;outline-offset:2px}.settings-page{width:min(620px,100%)}.settings-page-heading{padding-right:36px;margin-bottom:30px}.settings-page-heading h2{margin:0 0 8px;font-size:24px}.settings-page-heading p{margin:0;color:#6a665f;font-size:14px;line-height:1.5}.settings-rule-groups{display:flex;flex-direction:column;gap:30px}.settings-rule-group h3{margin:0;padding-bottom:10px;border-bottom:1px solid #d8d4ca;font-size:14px;text-transform:uppercase;letter-spacing:.04em}.settings-rule-list{display:flex;flex-direction:column}.settings-rule-row{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 0;border-bottom:1px solid #ebe8e0}.settings-rule-copy{min-width:0}.settings-rule-label{margin-bottom:5px;font-size:14px;font-weight:700}.settings-rule-description{max-width:440px;color:#716d66;font-size:13px;line-height:1.45}.settings-switch{flex:0 0 auto;display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.settings-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.settings-switch-track{width:38px;height:22px;display:flex;align-items:center;padding:2px;border-radius:999px;background:#aaa69e;transition:background-color .15s ease}.settings-switch-thumb{width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000047;transition:transform .15s ease}.settings-switch input:checked+.settings-switch-track{background:#2d2d30}.settings-switch input:checked+.settings-switch-track .settings-switch-thumb{transform:translate(16px)}.settings-switch-state{min-width:28px;color:#5f5b54;font-size:11px;font-weight:700}.settings-empty-state{padding:20px;border:1px dashed #c9c5ba;border-radius:8px;color:#6a665f;font-size:14px}@media(max-width:700px){.settings-overlay{padding:12px}.settings-dialog{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.settings-sidebar{padding:14px;border-right:0;border-bottom:1px solid #d8d4ca}.settings-sidebar-heading{padding:0 4px 10px}.settings-content{padding:28px 24px 32px}.settings-rule-row{align-items:flex-start}}.settings-save-conflict{margin-top:28px;padding:16px;border:1px solid #c9c5ba;border-radius:8px;background:#f7f5ef}.settings-save-conflict-copy strong{display:block;margin-bottom:6px;font-size:14px}.settings-save-conflict-copy p{margin:0;color:#6a665f;font-size:13px;line-height:1.5}.settings-save-conflict-copy p+p{margin-top:6px}.settings-save-conflict-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.settings-page-actions{position:sticky;bottom:0;display:flex;justify-content:flex-start;gap:8px;margin-top:30px;padding:16px 0 0;border-top:1px solid #d8d4ca;background:#fff}.settings-primary-button,.settings-secondary-button{min-height:34px;padding:7px 14px;border-radius:6px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.settings-primary-button{border:1px solid #2d2d30;background:#2d2d30;color:#fff}.settings-secondary-button{border:1px solid #c9c5ba;background:#fff;color:#3f3c37}.settings-primary-button:hover:not(:disabled),.settings-secondary-button:hover:not(:disabled){filter:brightness(.96)}.settings-primary-button:disabled,.settings-secondary-button:disabled{opacity:.45;cursor:default}.settings-primary-button:focus-visible,.settings-secondary-button:focus-visible{outline:2px solid #2d2d30;outline-offset:2px}.workspace-home{flex:1;min-height:0;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:56px 24px;background:#f3f1ea}.workspace-home-card{width:min(560px,100%);padding:24px;border:1px solid #d0cdc3;border-radius:12px;background:#252529;color:#fff;box-shadow:0 14px 36px #0000001f}@media(max-width:620px){.workspace-home{padding:24px 14px}.workspace-home-card{padding:16px}}.workspace-menu-container{position:relative;width:260px;min-width:210px;max-width:min(360px,100%)}.workspace-menu-trigger{position:relative;width:100%;min-height:34px;display:flex;align-items:center;justify-content:center;padding:7px 34px;border:1px solid #666666;border-radius:7px;background:#202024;color:#fff;cursor:pointer}.workspace-menu-trigger:hover{border-color:#fff}.workspace-menu-trigger-title{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;text-align:center}.workspace-menu-trigger-arrow{position:absolute;top:50%;right:11px;transform:translateY(-50%);pointer-events:none}.workspace-menu-panel{position:absolute;top:calc(100% + 8px);left:50%;width:min(420px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 80px));overflow-y:auto;padding:14px;border:1px solid #55555b;border-radius:10px;background:#252529;color:#fff;box-shadow:0 16px 36px #00000059;transform:translate(-50%);z-index:80}.workspace-menu-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.workspace-menu-heading{font-size:15px;font-weight:700}.workspace-menu-subtitle{margin-top:3px;color:#b9b9bf;font-size:12px}.workspace-menu-new-button{padding:6px 12px;border:1px solid #777780;border-radius:6px;background:transparent;color:#fff;cursor:pointer}.workspace-menu-new-button:hover:not(:disabled){background:#fff;color:#252529}.workspace-menu-new-button:disabled{opacity:.5;cursor:not-allowed}.workspace-active-section{margin-top:12px}.workspace-active-section .workspace-menu-section-title{margin-top:0}.workspace-active-document{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid #62626b;border-radius:8px;background:#383840}.workspace-active-document-main{min-width:0}.workspace-active-document-title-row{min-width:0;display:flex;align-items:center;gap:7px}.workspace-active-document-title-button{min-width:0;max-width:100%;padding:2px 4px;border:1px solid transparent;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;color:#fff;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:text}.workspace-active-document-title-button:hover:not(:disabled){border-color:#777780;background:#44444c}.workspace-active-document-title-button:focus-visible{outline:2px solid #ffffff;outline-offset:1px}.workspace-active-document-title-button:disabled{cursor:default}.workspace-active-document-input{min-width:0;width:100%;padding:3px 5px;border:1px solid #b9b9bf;border-radius:4px;background:#202024;color:#fff;font:inherit;font-size:13px;font-weight:600;outline:none}.workspace-active-document-input:focus{border-color:#fff}.workspace-menu-error{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:12px;padding:9px;border:1px solid #b85c5c;border-radius:7px;background:#402626;color:#ffdede;font-size:12px}.workspace-menu-error button{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer}.workspace-menu-section-title{margin:16px 0 8px;color:#b9b9bf;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workspace-document-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.workspace-document-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px;border:1px solid #48484f;border-radius:8px;background:#303036}.workspace-document-main{min-width:0;padding:0;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer}.workspace-document-main:disabled{cursor:default}.workspace-document-title-row{display:flex;align-items:center;gap:7px}.workspace-document-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.workspace-document-status{flex:0 0 auto;padding:2px 5px;border-radius:999px;background:#50505a;color:#efeff2;font-size:10px;text-transform:uppercase}.workspace-document-updated-at{display:block;margin-top:5px;color:#b9b9bf;font-size:11px}.workspace-document-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px}.workspace-document-action{padding:4px 7px;border:1px solid #676770;border-radius:5px;background:transparent;color:#fff;font-size:11px;cursor:pointer}.workspace-document-action:hover:not(:disabled){background:#484850}.workspace-document-action-danger{color:#ffb6b6}.workspace-document-action:disabled{opacity:.5;cursor:not-allowed}.workspace-menu-empty-list{padding:16px 8px;color:#b9b9bf;font-size:12px;text-align:center}@media(max-width:620px){.workspace-menu-container{width:100%}.workspace-menu-panel{width:min(420px,calc(100vw - 20px))}}.app-header{flex:0 0 auto;min-height:50px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:7px 14px;background:#2d2d30;border-bottom:1px solid #4a4a4a;color:#fff;box-shadow:0 2px 12px #0003;z-index:30}.app-header-leading{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:12px}.app-header-center{min-width:210px;display:flex;align-items:center;justify-content:center}.app-header-title{flex:0 0 auto;padding:0;border:0;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}.app-header-title:hover:not(:disabled){text-decoration:underline}.app-header-title:focus-visible{outline:2px solid #ffffff;outline-offset:4px;border-radius:2px}.app-header-title:disabled{color:#fff;cursor:default;opacity:1}.app-header-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:7px}.app-header-button{padding:7px 11px;border:1px solid #ffffff;border-radius:7px;background:transparent;color:#fff;font-size:13px;cursor:pointer;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.app-header-button:hover:not(:disabled){background:#fff;color:#2d2d30}.app-header-button:disabled{color:#8a8a8a;border-color:#8a8a8a;cursor:not-allowed}@media(max-width:900px){.app-header{grid-template-columns:1fr auto;grid-template-areas:"leading actions" "center center"}.app-header-leading{grid-area:leading}.app-header-center{grid-area:center;width:100%}.app-header-center .workspace-menu-container{width:min(420px,100%)}.app-header-actions{grid-area:actions}}@media(max-width:620px){.app-header{grid-template-columns:1fr;grid-template-areas:"leading" "center" "actions"}.app-header-leading,.app-header-actions{justify-content:center}.app-header-actions{flex-wrap:wrap}}.version-control-panel{position:relative;flex:0 0 300px;width:300px;min-width:260px;max-width:360px;display:flex;flex-direction:column;overflow:visible;background:#fff;border-left:1px solid #d0cdc3;color:#2d2d30;transition:flex-basis .18s ease,width .18s ease,min-width .18s ease}.version-control-panel-collapsed{flex-basis:0;width:0;min-width:0;max-width:0;border-left:0}.version-control-panel-collapse-button{position:absolute;z-index:10;top:50%;left:0;width:24px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #d0cdc3;border-right:0;border-radius:6px 0 0 6px;background:#fff;color:#2d2d30;cursor:pointer;transform:translate(-100%,-50%);transition:background-color .15s ease}.version-control-panel-collapse-button:hover{background:#f2f0ea}.version-control-panel-collapse-button:focus-visible{outline:2px solid #2d2d30;outline-offset:2px}.version-control-panel-collapse-arrow{width:0;height:0}.version-control-panel-collapse-arrow-right{border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:7px solid currentColor}.version-control-panel-collapse-arrow-left{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:7px solid currentColor}.version-control-panel-header{flex:0 0 auto;padding:20px 20px 18px;overflow:hidden;border-bottom:1px solid #e2dfd7}.version-control-panel-heading{margin:0;font-size:18px;font-weight:700;white-space:nowrap}.version-control-panel-document-title{margin-top:8px;color:#66625b;font-size:14px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.version-control-panel-controls{flex:0 0 auto;padding:14px 20px;overflow:hidden;border-bottom:1px solid #e2dfd7}.version-control-history-section{flex:1;min-height:0;padding:18px 20px;overflow-y:auto}.version-control-history-heading{margin:0;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#66625b}.version-control-history-divider{height:1px;margin:12px 0 18px;background:#d8d5cc}.version-control-history-list{margin:0;padding:0;list-style:none}.version-control-history-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;min-height:76px}.version-control-history-item:last-child{min-height:auto}.version-control-history-marker{position:relative;display:flex;justify-content:center}.version-control-history-dot{position:relative;z-index:1;width:9px;height:9px;margin-top:5px;border:2px solid #2d2d30;border-radius:50%;background:#fff}.version-control-history-line{position:absolute;top:14px;bottom:0;width:1px;background:#c5c1b8}.version-control-history-item:last-child .version-control-history-line{display:none}.version-control-history-content{min-width:0;display:block;padding:0 8px 20px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:6px}.version-control-history-content:hover{color:#000}.version-control-history-content:focus-visible{outline:2px solid #2d2d30;outline-offset:3px}.version-control-history-revision-row{display:flex;align-items:center;gap:8px}.version-control-history-revision{font-size:13px;font-weight:700}.version-control-history-head{padding:2px 6px;border-radius:999px;background:#eceae4;color:#66625b;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.version-control-history-title{display:block;margin-top:5px;font-size:14px;font-weight:600;line-height:1.35}.version-control-history-summary{display:block;margin-top:5px;color:#77736b;font-size:12px;line-height:1.45;white-space:pre-wrap}.version-control-history-empty,.version-control-inspection-loading{padding:18px 14px;border:1px dashed #c5c1b8;border-radius:8px;color:#77736b;font-size:13px;line-height:1.5;text-align:center}.version-control-inspection-error{margin-bottom:16px;padding:9px 10px;border:1px solid #b64b4b;border-radius:6px;background:#fff4f4;color:#8a3030;font-size:12px;line-height:1.4}.version-control-revision-details{min-width:0}.version-control-revision-back{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#66625b;font-size:12px;font-weight:600;cursor:pointer}.version-control-revision-back:hover{color:#2d2d30}.version-control-revision-back:focus-visible{outline:2px solid #2d2d30;outline-offset:3px}.version-control-revision-details-header{margin-top:20px;margin-bottom:18px}.version-control-revision-details-number{font-size:20px;font-weight:700}.version-control-revision-metadata{margin:0}.version-control-revision-field{padding:14px 0;border-top:1px solid #e2dfd7}.version-control-revision-field:first-child{border-top:0;padding-top:0}.version-control-revision-label{margin:0 0 5px;color:#77736b;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.version-control-revision-value{margin:0;color:#2d2d30;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.version-control-revision-summary{white-space:pre-wrap}.version-control-revision-restore-section{margin-top:20px;padding-top:18px;border-top:1px solid #e2dfd7}.version-control-revision-restore{width:100%;padding:9px 12px;border:1px solid #2d2d30;border-radius:7px;background:#fff;color:#2d2d30;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease}.version-control-revision-restore:hover:not(:disabled){background:#2d2d30;color:#fff}.version-control-revision-restore:disabled{opacity:.55;cursor:not-allowed}.version-control-revision-restore-description{margin-top:8px;color:#77736b;font-size:11px;line-height:1.45}.version-control-revision-restore-error{margin-top:10px;padding:8px 10px;border:1px solid #b64b4b;border-radius:6px;background:#fff4f4;color:#8a3030;font-size:12px;line-height:1.4}@media(max-width:900px){.version-control-panel:not(.version-control-panel-collapsed){flex-basis:260px;width:260px}}.document-lineage{display:flex;flex-direction:column;gap:10px;padding-top:4px}.document-lineage-section{display:flex;flex-direction:column;gap:5px}.document-lineage-heading{color:#66625b;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.document-lineage-list{display:flex;flex-direction:column;gap:4px}.document-lineage-entry{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4}.document-lineage-document{min-width:0;overflow:hidden;color:#2d2d30;text-overflow:ellipsis;white-space:nowrap}.document-lineage-revision{flex-shrink:0;color:#77736d}.document-lineage-loading{color:#77736d;font-size:12px;line-height:1.4}.document-version-control-controls{display:flex;flex-direction:column;gap:9px}.document-version-control-action{width:100%;padding:9px 12px;border:1px solid #2d2d30;border-radius:7px;background:#2d2d30;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .15s ease,color .15s ease}.document-version-control-action:hover:not(:disabled){background:#fff;color:#2d2d30}.document-version-control-action:disabled{opacity:.55;cursor:not-allowed}.document-version-control-status{color:#66625b;font-size:12px;line-height:1.4}.document-version-control-error{padding:8px 10px;border:1px solid #b64b4b;border-radius:6px;background:#fff4f4;color:#8a3030;font-size:12px;line-height:1.4}html,body,#root{height:100%;margin:0}*{box-sizing:border-box}body{font-family:Arial,sans-serif}.app-shell{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;background:#f3f1ea}.app-body{display:flex;flex:1;min-height:0;overflow:hidden}.workspace-screen,.workspace-empty-state{display:flex;flex:1;align-items:center;justify-content:center;padding:24px;background:#f3f1ea;color:#2d2d30;text-align:center}.workspace-screen{width:100%;height:100%}.workspace-screen-card{width:min(460px,100%);padding:28px;border:1px solid #d0cdc3;border-radius:12px;background:#fff;box-shadow:0 12px 32px #00000014}.workspace-screen-card h1,.workspace-empty-state h2{margin:0 0 10px}.workspace-screen-card p,.workspace-empty-state p{margin:0;color:#66625b;line-height:1.5}
