.lf-graph{background:#fff;height:100%;position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:0}.lf-element-text{cursor:text}.lf-text-disabled{pointer-events:none}.lf-text-draggable{cursor:move}:focus{outline:none}.lf-node-anchor{cursor:crosshair}.lf-node-anchor-hover{visibility:hidden}.lf-anchor:hover .lf-node-anchor-hover{visibility:visible}.lf-edge.pointer-none{pointer-events:none}.lf-edge-append{cursor:pointer}.lf-edge-animation{stroke-dashoffset:100%;animation:lf_animate_dash 5s linear infinite}@keyframes lf_animate_dash{to{stroke-dashoffset:0}}.lf-node-not-allow{cursor:not-allowed}.lf-polyline-append-ns-resize{cursor:ns-resize}.lf-polyline-append-ew-resize{cursor:ew-resize}.lf-dragging,.lf-dragging .lf-element-text{cursor:move}.lf-draggable{cursor:default}.lf-bezier-adjust-anchor{cursor:pointer}.lf-background,.lf-grid{top:0;right:0;bottom:0;left:0;position:absolute;z-index:-1}.lf-background-area{height:100%;width:100%}.lf-html-overlay{top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;z-index:1}.lf-html-overlay__transform>*,.lf-text-editable{pointer-events:all}.lf-text-input{background:#fff;border:1px solid #edefed;border-radius:3px;box-sizing:border-box;line-height:1.2;min-height:20px;min-width:100px;outline:none;padding:5px;position:absolute;resize:none;text-align:center;transform:translate(-50%,-50%);white-space:pre}.lf-get-text-height{border:1px solid transparent;box-sizing:border-box;display:inline-block;word-break:break-all}.lf-node-text-auto-wrap{align-items:center;box-sizing:border-box;display:flex;justify-content:center}.lf-node-text-auto-wrap-content{word-break:break-all}.lf-node-text-auto-wrap-content,.lf-node-text-ellipsis-content{background:transparent;line-height:1.2;text-align:center;width:100%}.lf-node-text-ellipsis-content{white-space:nowrap}.lf-node-text-ellipsis-content>div{overflow:hidden;text-overflow:ellipsis}.lf-tool-overlay{top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute;z-index:2}.lf-tool-overlay>*{pointer-events:all}.modification-overlay{top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute;z-index:1}.modification-overlay>*{pointer-events:all}.lf-outline,.lf-snapline{pointer-events:none}.lf-keyboard-tips{float:right}.lf-node-select-decorate{border:1px dashed #343435;pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.lf-multiple-select{border:2px dashed #4271dfcc;border-radius:12px;box-shadow:0 0 3px #4271df80;cursor:move;position:absolute}.lf-edge-adjust-point{cursor:move}.lf-rotate-control{cursor:grabbing}.lf-resize-control-nw{cursor:nw-resize}.lf-resize-control-n{cursor:n-resize}.lf-resize-control-ne{cursor:ne-resize}.lf-resize-control-e{cursor:e-resize}.lf-resize-control-se{cursor:se-resize}.lf-resize-control-s{cursor:s-resize}.lf-resize-control-sw{cursor:sw-resize}.lf-resize-control-w{cursor:w-resize}:root{font-family:Microsoft YaHei UI,Microsoft YaHei,Inter,system-ui,sans-serif;color:#17243a;background:#f3f6fb;font-synthesis:none;text-rendering:optimizeLegibility;--blue:#347bf0;--blue-strong:#2563eb;--blue-soft:#eaf2ff;--ink:#17243a;--muted:#77869e;--line:#dfe7f1;--surface:#fff;--surface-soft:#f6f9fd;--shadow:0 18px 48px rgba(31,64,111,.09)}*{box-sizing:border-box}.brand-icon{overflow:hidden;border-radius:12px}.view-bar.summary-only{justify-content:flex-end}html,body,#root{margin:0;min-width:0;width:100%;min-height:100vh;height:100%;-webkit-font-smoothing:antialiased}body{overflow-x:hidden}button,input,select,textarea{font:inherit}button{color:inherit}.desktop-shell{display:grid;grid-template-columns:276px minmax(0,1fr);min-height:100vh;background:#f3f6fb}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid #e2e8f0;padding:26px 18px 22px;display:flex;flex-direction:column}.brand-lockup{height:100px;border-bottom:1px solid #e6edf5;display:flex;align-items:flex-start;gap:13px;padding:0 12px}.brand-icon{width:48px;height:48px;border-radius:14px;background:#e9f2ff;color:#2e77ef;display:grid;place-items:center;box-shadow:0 10px 22px #2c75ed29}.brand-lockup strong{display:block;font-size:18px;letter-spacing:-.02em;margin-top:2px}.brand-lockup span{display:block;color:#91a0b5;font-size:11px;font-weight:700;letter-spacing:.16em;margin-top:6px}.side-nav{display:grid;gap:8px;padding-top:48px}.side-nav button{height:54px;border:0;background:transparent;border-radius:11px;padding:0 15px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:8px;text-align:left;cursor:pointer;color:#53627a;font-weight:650}.side-nav button:hover{background:#f2f6fc}.side-nav button.active{background:#347bf0;color:#fff;box-shadow:0 12px 25px #347bf038}.nav-icon{width:38px;height:38px;border-radius:10px;background:#edf3fc;display:grid;place-items:center;color:#347bf0}.side-nav button.active .nav-icon{background:#ffffff2e;color:#fff}.side-nav b{min-width:34px;padding:3px 9px;border-radius:999px;background:#edf2f8;color:#8290a5;text-align:center;font-size:12px}.side-nav button.active b{background:#ffffff2e;color:#fff}.nav-caret{color:#9bacbf}.storage-card{margin-top:auto;border-top:1px solid #e6edf5;padding:24px 12px 0;color:#7690ad}.storage-card>div{font-weight:650;color:#56708e}.online-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#35c492;box-shadow:0 0 0 6px #e3f8f0;margin-right:10px}.storage-card p{font-size:12px;line-height:1.65;margin:14px 0}.storage-card small{display:flex;align-items:center;gap:6px;font-size:11px;color:#6e8eae}.main-area{min-width:0}.page-header{height:130px;background:#fff;border-bottom:1px solid #e1e8f1;padding:32px 42px 28px;display:flex;justify-content:space-between;gap:28px;align-items:flex-start}.eyebrow{color:#2f72e8;font-size:11px;font-weight:800;letter-spacing:.18em}.page-header h1{font-size:36px;letter-spacing:-.045em;line-height:1.1;margin:5px 0 10px}.page-header p{margin:0;color:#71829b}.header-actions{display:flex;gap:10px;align-items:center;padding-top:7px}.button,.tool-button,.icon-button{border:1px solid #d7e1ed;background:#fff;border-radius:9px;min-height:40px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:680;cursor:pointer;white-space:nowrap}.button:hover,.tool-button:hover{border-color:#a9c6f5;background:#f7faff}.button.primary,.tool-button.primary{background:#347bf0;border-color:#347bf0;color:#fff;box-shadow:0 10px 22px #347bf02e}.button.secondary{background:#fff}.button.ghost{background:#f6f9fd}.button.full{width:100%}.content-area{padding:30px 42px 40px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:18px}.stat-card{position:relative;height:124px;border:1px solid #e0e8f2;border-top:4px solid #4b8df7;border-radius:14px;background:#fff;padding:25px;text-align:left;cursor:pointer;box-shadow:0 14px 34px #26477612;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;overflow:hidden}.stat-card:hover{transform:translateY(-2px);box-shadow:0 18px 36px #2647761c}.stat-card:after{content:"";position:absolute;width:74px;height:74px;border-radius:50%;background:#f0f5fd;right:-20px;top:-20px}.stat-card span{color:#7d8ca1;align-self:center}.stat-card strong{font-size:31px;line-height:1;color:#1d2b43;z-index:1}.stat-card small{grid-column:1/-1;color:#9aa8b9}.stat-card.amber{border-top-color:#f0a33a}.stat-card.amber strong{color:#c87607}.view-bar{height:58px;margin-top:22px;display:flex;align-items:center;justify-content:space-between}.view-tabs{display:inline-flex;background:#e9eef6;padding:4px;border-radius:10px;gap:4px}.view-tabs button{height:38px;border:0;border-radius:8px;background:transparent;padding:0 18px;display:flex;align-items:center;gap:7px;color:#66768d;font-weight:700;cursor:pointer}.view-tabs button.active{background:#fff;color:#276fe6;box-shadow:0 3px 11px #2d4d781f}.view-summary{display:flex;align-items:center;gap:7px;color:#8290a3;font-size:12px}.ledger-card,.flow-workspace{background:#fff;border:1px solid #dfe7f1;border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.filters-row{min-height:76px;padding:15px 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e2e9f2}.search-box{height:44px;border:1px solid #d8e2ef;border-radius:9px;background:#f8fafd;display:flex;align-items:center;gap:10px;padding:0 13px;color:#2c74eb;flex:1;min-width:320px}.search-box input{border:0;outline:0;background:transparent;color:#27364c;width:100%}.search-box input::placeholder{color:#9aa9bb}.filters-row select,.edit-form select,.edit-form input,.edit-form textarea,.modal-card input,.modal-card select{height:44px;border:1px solid #d8e2ef;border-radius:9px;background:#fff;color:#27364c;padding:0 12px;outline:0}.filters-row select:focus,.edit-form select:focus,.edit-form input:focus,.edit-form textarea:focus,.modal-card input:focus,.modal-card select:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.filter-label{display:flex;align-items:center;gap:5px;color:#7f8ea2;font-size:12px}.ledger-split{display:grid;grid-template-columns:minmax(0,1fr) min(430px,34vw);height:clamp(420px,calc(100vh - 268px),1180px)}.table-panel{min-width:0;border-right:1px solid #e3eaf2;display:flex;flex-direction:column;min-height:0;overflow:hidden}.table-caption{height:56px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e3eaf2}.table-caption strong{font-size:13px}.table-caption span{color:#94a2b5;font-size:11px}.table-scroll{flex:1;min-height:0;height:auto;overflow:auto;position:relative}table{border-collapse:collapse;width:100%;min-width:900px;font-size:12px}th{position:sticky;top:0;z-index:2;height:48px;background:#f3f7fb;color:#718198;text-align:left;padding:0 14px;border-bottom:1px solid #dfe7f0}td{height:67px;padding:10px 14px;border-bottom:1px solid #e8edf4;color:#516179}tbody tr{cursor:pointer}tbody tr:hover{background:#f7faff}tbody tr.selected{background:#eaf3ff;box-shadow:inset 4px 0 #347bf0}td code{color:#3f536d;font-weight:700}td strong{color:#293950;font-weight:650}.role-pill{display:inline-flex;align-items:center;gap:6px}.role-pill:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--role-color)}.system-pill,.missing-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef3f8;color:#6a7d95}.missing-pill{background:#fff2e5;color:#c36b00}.detail-panel{background:#fff;overflow:auto;min-height:0;max-height:100%}.detail-hero{background:#347bf0;color:#fff;padding:27px 28px 25px;border-top:4px solid var(--role-color)}.detail-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;opacity:.82}.detail-hero h2{font-size:24px;line-height:1.25;margin:8px 0}.detail-hero code{font-weight:700;color:#dceaff}.detail-actions{display:flex;gap:8px;margin-top:18px}.detail-actions button{height:34px;border:1px solid rgba(255,255,255,.32);border-radius:8px;background:#ffffff1c;color:#fff;padding:0 10px;display:flex;align-items:center;gap:5px;cursor:pointer}.detail-actions button:hover{background:#ffffff38}.detail-actions button.danger:hover{background:#dc2626}.detail-body{padding:24px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-grid>div{min-height:76px;border:1px solid #e0e8f1;border-radius:10px;background:#f7f9fc;padding:13px}.detail-grid span{display:block;color:#8897aa;font-size:11px;margin-bottom:6px}.detail-grid strong{font-size:13px}.detail-body section{margin-top:22px;border-top:1px solid #e7edf4;padding-top:18px}.detail-body h3{font-size:12px;color:#78879b;margin:0 0 9px}.detail-body p{color:#56677f;line-height:1.65;margin:0;font-size:12px}.detail-body .ai-section{border:1px solid #d8e6fb;background:#f3f8ff;border-radius:11px;padding:16px}.ai-section h3{color:#2b72e8}.ai-section>strong{display:block;color:#255fb7;margin-bottom:8px;font-size:13px}.edit-form{padding:22px;display:grid;gap:13px}.edit-form label,.modal-card label{display:grid;gap:7px;color:#66778e;font-size:11px;font-weight:650}.edit-form textarea{min-height:82px;height:auto;padding:10px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.empty-detail{display:grid;place-items:center;color:#8c9bad}.empty-state{padding:60px;display:grid;place-items:center;gap:7px;color:#8a9aaf}.empty-state strong{color:#4d5d73}.flow-workspace{height:700px}.flow-toolbar{height:66px;border-bottom:1px solid #e1e9f2;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.tool-group{display:flex;align-items:center;gap:8px}.tool-button{min-height:36px;padding:0 12px;font-size:12px}.tool-button.danger{color:#c83939}.toolbar-divider{width:1px;height:26px;background:#dfe7f1;margin:0 3px}.flow-help{color:#7f8da1;font-size:11px;display:flex;align-items:center;gap:6px}.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.dot.yes{background:#16a34a}.dot.no{background:#dc2626}.dot.normal{background:#64748b}.logicflow-stage{height:634px;background:#f8fbff}.logicflow-stage .lf-graph{background:#f8fbff}.logicflow-stage .lf-edge-animation{animation-duration:1.35s}.logicflow-stage .lf-node-text{font-family:Microsoft YaHei UI,Microsoft YaHei,sans-serif}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#101c305c;display:grid;place-items:center;padding:30px}.modal-card{width:520px;background:#fff;border:1px solid #dfe7f1;border-radius:16px;box-shadow:0 30px 90px #182b4c3d;padding:24px;display:grid;gap:17px}.modal-title{display:flex;align-items:flex-start;justify-content:space-between}.modal-title span{font-size:10px;letter-spacing:.15em;color:#3b7dea;font-weight:800}.modal-title h2{margin:4px 0 0;font-size:22px}.icon-button{width:36px;min-height:36px;padding:0}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:5px}.toast{position:fixed;right:26px;bottom:26px;z-index:30;background:#17335e;color:#fff;border-radius:10px;padding:13px 18px;display:flex;align-items:center;gap:8px;box-shadow:0 18px 48px #14305a40;font-size:13px}@media(max-width:1320px){.desktop-shell{grid-template-columns:238px}.content-area,.page-header{padding-left:28px;padding-right:28px}.header-actions .button{padding:0 11px}.ledger-split{grid-template-columns:minmax(0,1fr) 360px}.stats-grid{gap:12px}}@media(max-width:1160px){.sidebar{padding-left:12px;padding-right:12px}.page-header{height:auto;flex-direction:column}.header-actions{flex-wrap:wrap}.content-area{padding-top:20px}.stats-grid{grid-template-columns:repeat(2,1fr)}.filters-row{flex-wrap:wrap}.ledger-split{height:auto;grid-template-columns:1fr}.table-panel{border-right:0}.detail-panel{border-top:1px solid #e1e9f2}.table-scroll{height:500px}}.desktop-shell{grid-template-columns:72px minmax(0,1fr)!important;transition:grid-template-columns .28s ease-out}.desktop-shell:has(.sidebar:hover){grid-template-columns:240px minmax(0,1fr)!important}.sidebar{width:72px;overflow:hidden;padding:20px 12px!important;transition:width .28s ease-out,padding .28s ease-out}.sidebar:hover{width:240px;padding:26px 18px 22px!important}.brand-lockup{height:64px;border-bottom:1px solid #e6edf5;display:flex;align-items:center;gap:10px;padding:0;justify-content:center;transition:justify-content .28s ease-out}.sidebar:hover .brand-lockup{justify-content:flex-start;padding:0 8px}.brand-icon{width:40px;height:40px;min-width:40px;border-radius:10px;background:transparent;display:grid;place-items:center;overflow:hidden}.brand-icon img{display:block;width:100%;height:100%;object-fit:contain}.brand-text{opacity:0;transform:translate(-6px);transition:opacity .2s ease-out 80ms,transform .2s ease-out 80ms;white-space:nowrap;overflow:hidden}.sidebar:hover .brand-text{opacity:1;transform:translate(0)}.brand-text strong{display:block;font-size:14px;letter-spacing:-.01em;color:#17243a;white-space:nowrap}.brand-text span{display:block;color:#91a0b5;font-size:9px;font-weight:700;letter-spacing:.12em;margin-top:2px}.side-nav{gap:6px;padding-top:32px}.side-nav button{height:46px;grid-template-columns:34px 1fr auto;padding:0 8px;justify-content:center;transition:padding .28s ease-out}.sidebar:hover .side-nav button{padding:0 12px;justify-content:start}.side-nav button>span:not(.nav-icon){opacity:0;transition:opacity .2s ease-out 80ms;white-space:nowrap}.sidebar:hover .side-nav button>span:not(.nav-icon){opacity:1}.side-nav b{opacity:0;transition:opacity .2s ease-out 80ms}.sidebar:hover .side-nav b{opacity:1}.nav-icon{width:34px;height:34px;min-width:34px}.storage-card{opacity:0;transition:opacity .2s ease-out 80ms;pointer-events:none}.sidebar:hover .storage-card{opacity:1;pointer-events:auto}.flow-workspace{height:auto;overflow:visible}.flow-sticky-controls{position:sticky;top:0;z-index:12;overflow:hidden;border-radius:15px 15px 0 0;box-shadow:0 8px 22px #2c466a14}.flow-toolbar{position:relative;z-index:1;height:auto;min-height:66px;padding:10px 14px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;border-radius:15px 15px 0 0;background:#fffffffa;box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.flow-toolbar-main{display:flex;align-items:center;justify-content:space-between;gap:14px}.flow-toolbar-main .tool-group{min-width:0;flex-wrap:wrap}.toolbar-collapsed-summary{display:none;min-width:0;flex:1 1 auto;align-items:center;gap:10px;padding-left:4px;color:#63748d;font-size:12px;white-space:nowrap}.toolbar-collapsed-summary:before{content:"";width:4px;height:20px;flex:0 0 auto;border-radius:999px;background:linear-gradient(180deg,#3b82f6,#2563eb)}.toolbar-collapsed-summary strong{min-width:0;overflow:hidden;color:#245fbf;text-overflow:ellipsis}.ribbon-toggle{margin-left:auto;border-color:#bed2ee!important;background:#f4f8fe!important;color:#275caa!important}.ribbon-toggle:hover{border-color:#86afe9!important;background:#eaf2ff!important}.flow-toolbar.collapsed{min-height:46px;padding:7px 12px}.flow-toolbar.collapsed .flow-toolbar-main{min-height:32px;flex-wrap:nowrap}.flow-toolbar.collapsed .toolbar-collapsed-summary{display:flex}.flow-toolbar.collapsed .tool-group{flex:0 0 auto}.flow-toolbar.collapsed .tool-group>:not(.ribbon-toggle),.flow-toolbar.collapsed .flow-help{display:none}.flow-toolbar.collapsed .ribbon-toggle{margin-left:0}.toolbar-filter-label{min-width:0;display:flex;align-items:center;gap:7px;color:#7b8ba1;font-size:11px;white-space:nowrap}.toolbar-filter-label svg{color:#347bf0}.toolbar-filter-label strong{overflow:hidden;color:#245fbf;font-size:12px;text-overflow:ellipsis}.flow-toolbar .scope-controls{flex-wrap:wrap}.flow-scope-bar{height:40px;min-height:40px;border-bottom:1px solid #dfe8f3;background:#f8fbfffa;padding:5px 14px;display:flex;align-items:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.flow-scope-copy{width:100%;min-width:0;display:flex;align-items:center;gap:11px;overflow:hidden;white-space:nowrap}.scope-title{min-width:0;max-width:330px;flex:0 1 330px;display:flex;align-items:center;gap:6px;color:#7b8ba1;font-size:10px;white-space:nowrap}.scope-title:after{content:"";width:1px;height:18px;flex:0 0 auto;margin-left:5px;background:#d7e2ef}.scope-title .scope-edit{margin-left:auto}.scope-title svg{color:#347bf0}.scope-title strong{min-width:0;overflow:hidden;color:#245fbf;font-size:11px;text-overflow:ellipsis}.scope-explanation{margin-top:0;flex:1 1 auto;display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;color:#65758b;font-size:10px;white-space:nowrap}.scope-explanation code{flex:0 0 auto;padding:3px 6px;border-radius:5px;background:#e5efff;color:#2167d2;font-weight:800}.scope-explanation b{flex:0 0 auto;max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243751}.scope-explanation span{flex:1 1 240px;min-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-help .dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:3px;vertical-align:middle}.flow-help .dot.yes{background:#16a34a}.flow-help .dot.no{background:#dc2626}.flow-help .dot.normal{background:#64748b}.flow-help .dot.cross{background:#7c3aed}.cross-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;margin:0 4px;-webkit-user-select:none;user-select:none}.cross-toggle input{position:absolute;opacity:0;width:0;height:0}.toggle-track{position:relative;width:32px;height:18px;border-radius:9px;background:#cbd5e1;transition:background .2s}.cross-toggle input:checked+.toggle-track{background:#7c3aed}.toggle-thumb{position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform .2s}.cross-toggle input:checked+.toggle-track .toggle-thumb{transform:translate(14px)}.toggle-label{font-size:12px;color:#475569;white-space:nowrap}.toggle-label b{display:inline-grid;min-width:18px;height:18px;place-items:center;margin-left:3px;padding:0 4px;border-radius:9px;background:#f0eaff;color:#6d28d9;font-size:11px;line-height:1}.scope-explanation em{flex:0 1 260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2871e3;font-style:normal}.scope-edit{flex:0 0 auto;height:28px;border:1px solid #c9daf3;border-radius:7px;background:#fff;color:#2b6fdc;padding:0 9px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;cursor:pointer}.scope-edit:hover{border-color:#70a1ef;background:#eef5ff}.scope-explanation.muted{color:#91a0b3}.scope-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto}.scope-controls select{height:38px;max-width:158px;border:1px solid #d5e1ef;border-radius:8px;background:#fff;color:#41536d;padding:0 10px;outline:0}.scope-controls select:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.flow-workspace .logicflow-stage{height:max(592px,calc(100dvh - 142px))}.history-card{min-height:500px;background:#fff;border:1px solid #dfe7f1;border-radius:15px;box-shadow:var(--shadow);padding:30px}.history-heading{display:flex;align-items:flex-start;gap:15px;padding-bottom:24px;border-bottom:1px solid #e2e9f2}.history-icon{width:48px;height:48px;border-radius:13px;background:#eaf2ff;color:#347bf0;display:grid;place-items:center}.history-heading span{color:#347bf0;font-size:10px;font-weight:800;letter-spacing:.16em}.history-heading h2{font-size:24px;margin:4px 0 6px}.history-heading p{margin:0;color:#7a8aa0;font-size:12px}.history-table{margin-top:24px;border:1px solid #e0e8f2;border-radius:12px;overflow:hidden}.history-row{min-height:64px;display:grid;grid-template-columns:1.1fr 2fr 1fr 1.3fr;align-items:center;gap:18px;padding:0 20px;border-bottom:1px solid #e7edf4;color:#66768d;font-size:12px}.history-row:last-child{border-bottom:0}.history-row strong{color:#293a52}.history-header{min-height:46px;background:#f3f7fb;color:#76869c;font-weight:700}.history-status{justify-self:start;padding:5px 10px;border-radius:999px;background:#e7f8f1;color:#19835f}@property --border-angle{syntax: "<angle>"; inherits: false; initial-value: 0deg;}.exchange-modal{width:560px;background:transparent!important;border:none!important;padding:0!important;border-radius:16px!important;position:relative}.exchange-modal:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:16px;background:#dfe7f1;z-index:0;pointer-events:none}.exchange-modal.phase-tracing:before{background:conic-gradient(from var(--border-angle),#dfe7f1 0deg,#dfe7f1 200deg,rgba(52,123,240,1) 255deg,rgba(124,58,237,1) 295deg,#dfe7f1 340deg,#dfe7f1 360deg);animation:border-trace .88s cubic-bezier(.4,0,.2,1) 1 normal}.exchange-modal.phase-loading:before{background:conic-gradient(from var(--border-angle),rgba(52,123,240,.15) 0deg,#dfe7f1 70deg,rgba(52,123,240,1) 140deg,rgba(124,58,237,1) 190deg,#dfe7f1 250deg,rgba(52,123,240,.15) 360deg);animation:border-trace 1.4s linear infinite}@keyframes border-trace{0%{--border-angle: 0deg}to{--border-angle: 360deg}}.exchange-content{position:relative;z-index:1;background:#fff;border-radius:14px;margin:2px;padding:24px;display:grid;gap:17px}@keyframes stg-in{0%{opacity:0;transform:translateY(11px)}to{opacity:1;transform:translateY(0)}}.exchange-modal .stagger{animation:stg-in .28s cubic-bezier(.22,1,.36,1) both}.exchange-modal .s-1{animation-delay:0ms}.exchange-modal .s-2{animation-delay:.13s}.exchange-modal .s-3{animation-delay:.25s}.modal-busy{cursor:not-allowed}.btn-spinner{display:inline-block;width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;vertical-align:middle;animation:btn-spin .72s linear infinite}@keyframes btn-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.exchange-modal .button:disabled,.exchange-modal .icon-button:disabled,.exchange-modal select:disabled{opacity:.45;pointer-events:none;cursor:not-allowed}.exchange-note{margin:0;padding:13px 15px;border:1px solid #d7e5f8;border-radius:10px;background:#f3f8ff;color:#55708f;font-size:12px;line-height:1.65}.exchange-note.warning{border-color:#f5d6a6;background:#fff8ea;color:#9a620d}.exchange-scope{min-height:48px;padding:0 14px;display:flex;align-items:center;gap:8px;border-radius:9px;background:#f7f9fc;color:#7b8ba0;font-size:12px}.exchange-scope svg{color:#347bf0}.exchange-scope strong{margin-left:auto;color:#28476e}.button.danger-action{border-color:#dc6b57;background:#cf4f3c;color:#fff;box-shadow:0 10px 22px #cf4f3c2e}@media(max-width:1320px){.desktop-shell{grid-template-columns:72px minmax(0,1fr)!important;transition:grid-template-columns .28s ease-out}.desktop-shell:has(.sidebar:hover){grid-template-columns:220px minmax(0,1fr)!important}.sidebar{width:72px;padding:20px 12px!important}.sidebar:hover{width:220px;padding:26px 18px 22px!important;box-shadow:none}.brand-lockup{justify-content:center;padding:0}.sidebar:hover .brand-lockup{justify-content:flex-start;padding:0 8px}.brand-text{opacity:0;transform:translate(-6px)}.sidebar:hover .brand-text{opacity:1;transform:none}.side-nav button>span:not(.nav-icon),.side-nav b,.storage-card{opacity:0}.sidebar:hover .side-nav button>span:not(.nav-icon),.sidebar:hover .side-nav b,.sidebar:hover .storage-card{opacity:1;transform:none}.storage-card{pointer-events:none}.sidebar:hover .storage-card{pointer-events:auto}.side-nav button{padding:0 8px;grid-template-columns:1fr;justify-items:center}.side-nav button>span:not(.nav-icon),.side-nav button>b,.side-nav button>.nav-caret{display:none}.sidebar:hover .side-nav button{padding:0 12px;grid-template-columns:34px 1fr auto;justify-content:start}.sidebar:hover .side-nav button>span:not(.nav-icon),.sidebar:hover .side-nav button>b,.sidebar:hover .side-nav button>.nav-caret{display:initial}.flow-toolbar{min-height:66px}.flow-toolbar-main{align-items:flex-start;flex-wrap:wrap}.flow-toolbar .tool-group{flex:1 1 100%;min-width:0;flex-wrap:wrap}.flow-workspace{height:auto}.flow-workspace .logicflow-stage{height:590px}.flow-help{display:none}.flow-scope-bar{grid-template-columns:1fr}.scope-controls{justify-content:flex-start}}@media(max-width:1160px){.page-header{min-height:104px;padding:20px 22px 18px!important;gap:14px}.page-header h1{margin:3px 0 6px;font-size:28px}.page-header p{font-size:13px}.content-area{padding:18px 22px 28px!important}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{height:108px;padding:18px}.filters-row{align-items:stretch}.search-box{min-width:min(320px,100%)}.flow-toolbar{height:auto;min-height:66px;padding:10px 14px;align-items:flex-start}.flow-toolbar .tool-group{flex-wrap:wrap}.flow-workspace{height:auto}.flow-workspace .logicflow-stage{height:590px}.history-row{grid-template-columns:1fr 1.5fr}}.history-actions{margin-top:24px;padding-top:18px;border-top:1px solid #e2e9f2;display:flex;justify-content:flex-end}.conn-card-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#101c3047;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .2s ease-out}.conn-card-backdrop.show{opacity:1}.conn-card{width:380px;max-width:90vw;max-height:80vh;overflow:hidden auto;background:#fff;border-radius:16px;box-shadow:0 24px 64px #182b4c38,0 2px 10px #182b4c14;opacity:0;transform:scale(.82) translateY(10px);transition:opacity .22s ease-out,transform .26s cubic-bezier(.34,1.56,.64,1);transform-style:preserve-3d;will-change:transform,opacity}.conn-card.show{opacity:1;transform:scale(1) translateY(0)}.conn-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 20px 14px;border-bottom:2px solid}.conn-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#7b8ba1;margin-bottom:4px}.conn-card-header h3{margin:0 0 4px;font-size:16px;line-height:1.3;color:#16243c}.conn-card-header code{font-size:11px;color:#5b7a9d;font-weight:700}.conn-card-body{padding:0}.conn-section{padding:14px 20px 12px}.conn-section+.conn-section{border-top:1px solid #eef3f8}.conn-section h4{margin:0 0 10px;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.08em;color:#7b8ba1}.conn-item{display:flex;align-items:center;gap:7px;padding:7px 0;font-size:12px;border-bottom:1px solid #f4f7fb}.conn-item:last-child{border-bottom:none}.conn-item code{flex-shrink:0;font-size:11px;font-weight:700;color:#3a5570;min-width:54px}.conn-item b{flex:1;color:#22334a;font-weight:600;line-height:1.3}.conn-empty{margin:0;padding:4px 0;color:#aab8ca;font-size:12px}.branch-tag{font-style:normal;font-size:10px;font-weight:800;padding:1px 6px;border-radius:99px;flex-shrink:0}.branch-tag.no{background:#fee2e2;color:#b91c1c}.branch-tag.yes{background:#dcfce7;color:#15803d}.next-nodes-section{margin-top:18px;padding:14px 16px;border:1px solid #dde8f4;border-radius:11px;background:#f7fafd}.next-nodes-section h3{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:12px;color:#5b7a9d;font-weight:700}.nn-count{font-style:normal;min-width:18px;padding:1px 6px;border-radius:99px;background:#347bf0;color:#fff;font-size:10px;font-weight:800;text-align:center;line-height:1.5}.nn-list{display:grid;gap:6px}.nn-item{display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:8px;background:#fff;border:1px solid #e8eff7;font-size:12px}.nn-item code{flex-shrink:0;font-size:11px;font-weight:700;color:#3a5570;min-width:52px}.nn-item b{flex:1;color:#22334a;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nn-remove{flex-shrink:0;width:20px;height:20px;border:0;border-radius:50%;background:#fee2e2;color:#b91c1c;display:grid;place-items:center;cursor:pointer;padding:0}.nn-remove:hover{background:#fecaca}.nn-empty{margin:0;padding:4px 0;color:#aab8ca;font-size:12px}.nn-add-wrap{position:relative;margin-top:8px}.nn-search{width:100%;height:34px;border:1px solid #d0ddef;border-radius:8px;background:#fff;padding:0 10px;font-size:12px;color:#27364c;outline:0;box-sizing:border-box}.nn-search:focus{border-color:#4d8ff5;box-shadow:0 0 0 2px #e8f1ff}.nn-dropdown{position:absolute;bottom:100%;left:0;right:0;z-index:20;background:#fff;border:1px solid #d0ddef;border-radius:9px;box-shadow:0 8px 24px #182b4c24;margin-bottom:4px;max-height:180px;overflow-y:auto}.nn-option{width:100%;display:flex;align-items:center;gap:7px;padding:7px 10px;border:0;border-bottom:1px solid #f0f4f9;background:transparent;cursor:pointer;text-align:left;font-size:12px;color:#22334a}.nn-option:last-child{border-bottom:none}.nn-option:hover{background:#f0f6ff}.nn-option code{font-size:11px;font-weight:700;color:#3a5570;min-width:52px}.nn-option span:not(.role-pill){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-hover-menu{position:fixed;z-index:60;transform:translate(-50%,calc(-100% - 12px))}.flow-hover-menu button{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #b9cdf3;border-radius:10px;background:#fff;color:#1e64d8;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:0 8px 22px #17346033;white-space:nowrap}.flow-hover-menu button:hover{background:#eaf2ff;border-color:#86afe9}.role-assignment-badges{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.role-assignment-badges.compact{gap:4px;flex-wrap:nowrap;max-width:240px;overflow:hidden}.role-tag{--role-color:#347bf0;min-height:25px;display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:999px;border:1px solid var(--role-color);font-size:10px;font-weight:750;white-space:nowrap}.role-tag small{font-size:8px;font-weight:800;letter-spacing:.04em;opacity:.76}.role-tag.owner{background:var(--role-color);color:#fff}.role-tag.collaborator{background:#fff;color:var(--role-color)}.detail-id-row{display:flex;align-items:center;gap:9px}.collaboration-count{padding:3px 8px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:#ffffff26;color:#fff;font-size:10px;font-weight:800}.responsibility-section{margin-top:0!important;padding:0 0 18px!important;border-top:0!important;border-bottom:1px solid #e7edf4}.responsibility-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#78879b;font-size:11px}.responsibility-heading b{padding:3px 7px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:9px}.role-assignment-editor{display:grid;gap:10px;padding:13px;border:1px solid #dbe5f1;border-radius:11px;background:#f8fbff}.role-assignment-editor fieldset{margin:0;padding:0;border:0}.role-assignment-editor legend{margin-bottom:8px;color:#64758b;font-size:11px;font-weight:750}.role-assignment-editor legend small{margin-left:4px;color:#9aa8b9;font-weight:500}.role-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.role-check-grid label{min-width:0;display:block;cursor:pointer}.role-check-grid input{position:absolute;opacity:0;pointer-events:none}.role-check-grid span{--role-color:#347bf0;min-height:31px;display:flex;align-items:center;justify-content:center;padding:5px 7px;border:1px dashed #c9d5e3;border-radius:8px;background:#fff;color:#66778d;font-size:10px;transition:.16s ease}.role-check-grid label.checked span{border-style:solid;border-color:var(--role-color);background:color-mix(in srgb,var(--role-color) 9%,white);color:var(--role-color);box-shadow:inset 3px 0 var(--role-color)}.role-assignment-editor>p{margin:0;color:#8493a7;font-size:10px;line-height:1.55}.node-create-modal{width:min(600px,calc(100vw - 32px));max-height:92vh;overflow:auto}.node-create-modal .field-hint{display:block;margin-top:4px;color:#8493a7;font-size:10px;line-height:1.5;font-weight:500}.upstream-trace-bar{min-height:42px;display:flex;align-items:center;gap:10px;padding:6px 12px;border-top:1px solid #e1e9f2;background:linear-gradient(90deg,#f6f0ff 0,#fbfdff 34%,#fff)}.trace-heading{flex:0 0 auto;display:flex;align-items:center;gap:5px;color:#6d28d9;font-size:10px;font-weight:750}.trace-heading strong{min-width:18px;height:18px;display:grid;place-items:center;border-radius:9px;background:#7c3aed;color:#fff;font-size:9px}.trace-sources{flex:1;min-width:0;display:flex;gap:6px;overflow:auto hidden;scrollbar-width:thin}.trace-sources button{max-width:245px;height:30px;display:flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #ddd6fe;border-radius:8px;background:#fff;cursor:pointer;white-space:nowrap}.trace-sources button:hover{border-color:#a78bfa;background:#faf8ff}.trace-sources span{--role-color:#347bf0;padding:2px 5px;border-radius:5px;background:var(--role-color);color:#fff;font-size:8px;font-weight:750}.trace-sources code{color:#6d28d9;font-size:9px;font-weight:800}.trace-sources b{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#35465d;font-size:10px}.trace-sources em{padding:2px 5px;border-radius:5px;background:#eef2f7;color:#6c7b90;font-size:8px;font-style:normal}.trace-actions{flex:0 0 auto;display:flex;gap:5px}.trace-actions button{height:29px;display:inline-flex;align-items:center;gap:4px;padding:0 8px;border:1px solid #cfdced;border-radius:7px;background:#fff;color:#486078;font-size:9px;font-weight:750;cursor:pointer}.trace-actions button:hover{border-color:#9ab8e6;color:#245fae;background:#f4f8ff}@media(max-width:760px){.role-check-grid{grid-template-columns:1fr}.upstream-trace-bar{align-items:flex-start;flex-wrap:wrap}.trace-sources{order:3;flex-basis:100%}.trace-actions{margin-left:auto}.role-assignment-badges.compact{max-width:180px}}.flow-workspace{position:relative}.toolbar-delete-hint{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 10px;border:1px dashed #d3b6b6;border-radius:8px;background:#fdf6f6;color:#a85757;font-size:11px;font-weight:700;white-space:nowrap}.toolbar-delete-hint svg{flex:0 0 auto}.branch-settings-panel{position:absolute;top:74px;right:16px;z-index:12;width:320px;max-height:calc(100% - 96px);overflow:auto;background:#fff;border:1px solid #dfe7f1;border-radius:14px;box-shadow:0 22px 60px #182b4c33}.branch-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 18px 14px;border-bottom:1px solid #e7edf4;background:#f6faff;border-radius:14px 14px 0 0}.branch-settings-kicker{font-size:9px;font-weight:800;letter-spacing:.16em;color:#3b7dea}.branch-settings-header h3{margin:5px 0;font-size:16px;color:#1d2b43}.branch-settings-header p{margin:0;font-size:11px;color:#71829b;line-height:1.5;word-break:break-all}.branch-settings-body{padding:16px 18px 18px;display:grid;gap:16px}.branch-settings-preview{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e6edf5;border-radius:10px;background:#fbfdff}.branch-preview-line{width:44px;height:0;border-top:3px dashed var(--branch-color,#64748b)}.branch-settings-preview[style*="--branch-dash: none"] .branch-preview-line{border-top-style:solid}.branch-preview-text{font-size:13px;font-weight:750;color:var(--branch-color,#334155)}.branch-field{display:grid;gap:8px}.branch-field>label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;font-weight:700;color:#66778e}.branch-field>label small{font-weight:600;color:#9aa8b9}.branch-field input[type=text]{height:40px;border:1px solid #d8e2ef;border-radius:9px;background:#fff;color:#27364c;padding:0 12px;outline:0}.branch-field input[type=text]:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.branch-field input[type=text]:disabled{background:#f3f6fa;color:#8897aa;cursor:not-allowed}.branch-color-presets{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.branch-color-chip{width:28px;height:28px;border-radius:50%;border:2px solid #fff;cursor:pointer;background:var(--chip-color);box-shadow:0 0 0 1px #d7e1ed}.branch-color-chip.active{box-shadow:0 0 0 2px var(--chip-color),0 0 0 4px #cfe0fb}.branch-color-chip:disabled{cursor:not-allowed;opacity:.55}.branch-color-custom{position:relative;display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border:1px dashed #c3d2e6;border-radius:999px;font-size:10px;font-weight:700;color:#5b6b82;cursor:pointer}.branch-color-custom.active{border-style:solid;border-color:#4d8ff5;color:#245fae}.branch-color-custom input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}.branch-follow-default{height:28px;padding:0 10px;border:1px solid #cfdced;border-radius:999px;background:#fff;color:#486078;font-size:10px;font-weight:750;cursor:pointer}.branch-follow-default:hover{border-color:#9ab8e6;color:#245fae;background:#f4f8ff}.branch-style-group{display:flex;gap:8px}.branch-style-option{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:38px;border:1px solid #d8e2ef;border-radius:9px;background:#fff;font-size:12px;font-weight:700;color:#5b6b82;cursor:pointer}.branch-style-option input{position:absolute;opacity:0;pointer-events:none}.branch-style-option.active{border-color:#4d8ff5;background:#eef5ff;color:#245fae;box-shadow:0 0 0 3px #e8f1ff}.branch-order-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.branch-order-row strong{font-size:18px;color:#1d2b43}.branch-order-actions{display:flex;gap:6px}.branch-order-actions button{width:32px;height:32px;border:1px solid #d7e1ed;border-radius:8px;background:#fff;color:#486078;display:grid;place-items:center;cursor:pointer}.branch-order-actions button:hover:not(:disabled){border-color:#9ab8e6;color:#245fae;background:#f4f8ff}.branch-order-actions button:disabled{opacity:.4;cursor:not-allowed}.branch-siblings{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:4px;max-height:132px;overflow:auto}.branch-siblings li{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:8px;font-size:11px;color:#5b6b82}.branch-siblings li.current{background:#eef5ff;color:#245fae;font-weight:700}.sibling-index{min-width:24px;font-weight:750}.sibling-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sibling-swatch{width:12px;height:12px;border-radius:3px;box-shadow:0 0 0 1px #0000000f}.branch-readonly-tip{margin:0;font-size:11px;line-height:1.6;color:#8897aa}@media(max-width:760px){.branch-settings-panel{top:auto;bottom:12px;right:12px;left:12px;width:auto;max-height:52vh}}.node-edit-panel{position:absolute;top:74px;right:16px;z-index:12;width:320px;max-height:calc(100% - 96px);overflow:auto;background:#fff;border:1px solid #dfe7f1;border-radius:14px;box-shadow:0 22px 60px #182b4c33}.node-edit-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 18px 14px;border-bottom:1px solid #e7edf4;background:#f6faff;border-radius:14px 14px 0 0}.node-edit-kicker{font-size:9px;font-weight:800;letter-spacing:.16em;color:#3b7dea}.node-edit-header h3{margin:5px 0 4px;font-size:16px;color:#1d2b43}.node-edit-header .node-edit-sub{margin:0;font-size:11px;color:#71829b;line-height:1.5}.node-edit-body{padding:16px 18px 18px;display:grid;gap:16px}.node-field{display:grid;gap:8px}.node-field>label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;font-weight:700;color:#66778e}.node-field>label small{font-weight:600;color:#9aa8b9}.node-kind-select{width:100%;min-height:42px;padding:0 12px;border:1px solid #d5e0ee;border-radius:10px;background:#fff;color:#20334d;font:700 13px/1.2 Microsoft YaHei UI,Microsoft YaHei,sans-serif;outline:none}.node-kind-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.node-edit-text{min-height:64px;resize:vertical;border:1px solid #d8e2ef;border-radius:9px;background:#fff;color:#27364c;padding:9px 12px;outline:0;font-size:13px;line-height:1.5;font-family:inherit}.node-edit-text:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.node-edit-text:disabled{background:#f3f6fa;color:#8897aa;cursor:not-allowed}.node-edit-tip{font-size:10px;line-height:1.5;color:#8897aa}.node-color-presets{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.node-color-chip{width:28px;height:28px;border-radius:50%;border:2px solid #fff;cursor:pointer;background:var(--chip-color);box-shadow:0 0 0 1px #d7e1ed}.node-color-chip.active{box-shadow:0 0 0 2px var(--chip-color),0 0 0 4px #cfe0fb}.node-color-chip:disabled{cursor:not-allowed;opacity:.55}.node-color-custom{position:relative;display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border:1px dashed #c3d2e6;border-radius:999px;font-size:10px;font-weight:700;color:#5b6b82;cursor:pointer}.node-color-custom.active{border-style:solid;border-color:#4d8ff5;color:#245fae}.node-color-custom input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}.node-follow-default{height:28px;padding:0 10px;border:1px solid #cfdced;border-radius:999px;background:#fff;color:#486078;font-size:10px;font-weight:750;cursor:pointer}.node-follow-default:hover{border-color:#9ab8e6;color:#245fae;background:#f4f8ff}.node-field input[type=range]{width:100%;accent-color:#3b7dea}.node-edit-error{margin:0;display:flex;align-items:center;gap:6px;font-size:11px;color:#b42318}.node-edit-actions{display:flex;gap:10px}.node-edit-actions .button{flex:1}.node-readonly-tip{margin:0;font-size:11px;line-height:1.6;color:#8897aa}@media(max-width:760px){.node-edit-panel{top:auto;bottom:12px;right:12px;left:12px;width:auto;max-height:56vh}}.btn-cross-link{display:inline-flex;align-items:center;gap:6px}.btn-cross-link .ghost-count{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:#7c3aed;color:#fff;font-size:10px;font-weight:800;line-height:16px;text-align:center}.btn-cross-link[aria-pressed=true]{background:#7c3aed;color:#fff;border-color:#6d28d9}.cross-link-panel{position:absolute;top:96px;right:16px;width:340px;max-height:calc(100% - 120px);display:flex;flex-direction:column;background:#fff;border:1px solid #d9e6f6;border-radius:14px;box-shadow:0 22px 42px #0f203c2e,0 2px 6px #0f203c0f;z-index:24;overflow:hidden}.cross-link-header{display:flex;align-items:flex-start;justify-content:space-between;padding:12px 14px 10px;border-bottom:1px solid #ecf2fa;background:linear-gradient(135deg,#f5f0ff,#eaf2ff)}.cross-link-kicker{display:block;font-size:10px;letter-spacing:.12em;color:#7c3aed;font-weight:800}.cross-link-header h3{margin:2px 0 4px;font-size:15px;color:#0f1f37}.cross-link-header p{margin:0;font-size:11px;color:#5b6d88;line-height:1.55}.cross-link-search{display:flex;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid #ecf2fa}.cross-link-search input{flex:1;padding:6px 10px;border:1px solid #d9e6f6;border-radius:8px;font-size:12px;outline:none}.cross-link-search input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1f}.cross-link-filter{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#486079;white-space:nowrap}.cross-link-summary{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;font-size:11px;color:#5b6d88;background:#fafcff;border-bottom:1px solid #ecf2fa}.cross-link-summary .link-as-text{background:none;border:none;color:#7c3aed;cursor:pointer;font-size:11px;padding:0;text-decoration:underline}.cross-link-list{flex:1;overflow-y:auto;padding:6px 8px 10px}.cross-link-empty{padding:24px 12px;text-align:center;color:#94a3b8;font-size:12px}.cross-link-item{display:grid;grid-template-columns:12px auto 1fr auto auto;gap:6px;align-items:center;padding:6px 8px;border-radius:8px;font-size:11px;color:#0f1f37}.cross-link-item:hover{background:#f5f8fc}.cross-link-item.referenced{background:#f5f0ff}.cross-link-item.self{opacity:.55}.cross-link-item .role-dot{width:10px;height:10px;border-radius:50%;background:var(--role-color, #64748b)}.cross-link-item code{font-family:JetBrains Mono,Consolas,monospace;font-size:10px;color:#334155}.cross-link-item b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600}.cross-link-item .stage-tag{color:#64748b;font-size:10px;padding:1px 6px;border-radius:6px;background:#eef3fa}.cross-link-btn{padding:2px 10px;font-size:11px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;cursor:pointer}.cross-link-btn:hover{border-color:#7c3aed;color:#7c3aed}.cross-link-btn.active{background:#7c3aed;color:#fff;border-color:#7c3aed}.lf-stage-divider{pointer-events:none}.convergence-backdrop{z-index:70}.convergence-confirm{width:min(520px,calc(100vw - 32px))}.convergence-confirm .convergence-note{margin:14px 0 20px;padding:12px 14px;background:#f5f0ff;border:1px solid #ddd6fe;border-radius:10px;color:#3b1e7a;font-size:13px;line-height:1.75}.convergence-confirm .convergence-note code{background:#fff;padding:1px 6px;border-radius:5px;color:#7c3aed;font-family:JetBrains Mono,Consolas,monospace;font-weight:800}.confirm-card-backdrop,.export-dialog-backdrop{z-index:120;background:#0f1f3775;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.confirm-card{width:min(520px,calc(100vw - 28px));border-top:4px solid #347bf0}.confirm-card.tone-danger{border-top-color:#e5484d}.confirm-card-message{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;padding:15px 16px;border:1px solid #dbe5f1;border-radius:12px;background:#f7faff;color:#50627a}.confirm-card-message>svg{color:#347bf0;margin-top:1px}.confirm-card.tone-danger .confirm-card-message{border-color:#f2c9cc;background:#fff7f7}.confirm-card.tone-danger .confirm-card-message>svg{color:#dc3038}.confirm-card-message p{margin:0;font-size:13px;line-height:1.75}.button.danger.solid{background:#dc3038;border-color:#dc3038;color:#fff}.button.danger.solid:hover{background:#c9252d;border-color:#c9252d}.password-target{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #dbe5f1;border-radius:11px;background:#f7faff;color:#347bf0}.password-target div{display:grid;gap:2px}.password-target span{font-size:11px;color:#8493a7}.password-target strong{font-size:14px;color:#22344d}.dialog-field-error{color:#d92d35;font-size:11px}.export-dialog{width:min(720px,calc(100vw - 30px));gap:15px;border-top:4px solid #347bf0}.export-dialog-intro{margin:0;color:#61738b;font-size:13px;line-height:1.7}.export-format-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-format-card{position:relative;min-width:0;min-height:190px;padding:18px;border:1px solid #dbe5f1;border-radius:14px;background:#fff;text-align:left;display:grid;grid-template-columns:44px 1fr;grid-template-rows:1fr auto;gap:10px 12px;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.export-format-card:hover{transform:translateY(-2px);border-color:#77a9f8;box-shadow:0 14px 28px #245baa1f}.export-format-card:disabled{cursor:wait;opacity:.7;transform:none}.export-format-card.recommended{background:linear-gradient(145deg,#f7faff,#eef5ff);border-color:#9dc0fa}.format-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#e8f1ff;color:#2f74e8}.format-copy{display:grid;align-content:start;gap:7px}.format-copy b{font-size:15px;color:#1d304b}.format-copy small{font-size:12px;line-height:1.65;color:#6b7d93}.format-copy em{justify-self:start;font-style:normal;font-size:10px;font-weight:800;color:#276fe6;background:#dceaff;border-radius:999px;padding:4px 8px}.export-format-card>strong{grid-column:1/-1;display:flex;align-items:center;justify-content:center;height:38px;border-radius:9px;background:#347bf0;color:#fff;font-size:12px}.export-format-card:not(.recommended)>strong{background:#173c70}.export-dialog-note{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:9px;background:#fff8e8;color:#7b5b12;font-size:11px;line-height:1.6}.export-dialog-note svg{flex:none;margin-top:1px}@media(max-width:640px){.export-format-grid{grid-template-columns:1fr}.export-format-card{min-height:154px}.confirm-card-backdrop,.export-dialog-backdrop{padding:14px}}@media(max-width:760px){.cross-link-panel{top:auto;bottom:12px;right:12px;left:12px;width:auto;max-height:60vh}}.detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}.detail-actions button{flex:0 0 auto;min-width:0;padding:0 12px;min-height:34px;height:auto;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;line-height:1.2}.detail-actions button svg{flex:none}.detail-hero h2{overflow-wrap:anywhere}.detail-actions .open-node-btn{background:#2563eb;color:#fff;border-color:#1d4ed8}.detail-actions .open-node-btn:hover{background:#1d4ed8;color:#fff}.nature-inline{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;color:#67809f}.nature-inline input{width:90px;max-width:calc(100% - 18px);min-height:30px;padding:3px 6px;border:1px solid transparent;border-radius:7px;outline:none;background:transparent;color:#40536d;font-size:12px}.nature-inline input:hover{border-color:#c9dafa;background:#fff}.nature-inline input:focus{width:130px;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.nature-inline svg{flex:none;opacity:.72;pointer-events:none}.lf-selection-select{position:absolute;z-index:9;border:1.5px dashed #2563eb;border-radius:3px;background:#3b82f61a;box-shadow:0 0 0 1px #ffffffa6 inset;pointer-events:none}.marquee-hint{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 10px;border:1px dashed #b9d3f6;border-radius:8px;background:#f2f7ff;color:#2c5da8;font-size:12px;white-space:nowrap}.marquee-hint b{font-weight:700}.marquee-hint svg{flex:0 0 auto}@media(max-width:720px){.marquee-hint{display:none}}.session-lost-bar{position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 16px;background:#fff7ed;border-bottom:1px solid #fdba74;color:#9a3412;font-size:13px;font-weight:600}.session-lost-bar svg{flex:0 0 auto;color:#ea580c}.session-lost-bar button{min-height:30px;padding:0 12px;border:1px solid #fdba74;border-radius:8px;background:#fff;color:#9a3412;font-size:12px;font-weight:700;cursor:pointer}.session-lost-bar button:hover{background:#ffedd5}.session-lost-bar button.ghost{border-color:transparent;background:transparent;color:#b45309;font-weight:600}.login-notice{margin:8px 0 0;padding:8px 10px;border:1px solid #bbf7d0;border-radius:9px;background:#f0fdf4;color:#166534;font-size:12px}.app-crashed{display:flex;align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;padding:28px 20px;background:linear-gradient(180deg,#f6f9ff,#eef4fd)}.app-crashed-card{width:min(560px,100%);padding:28px 26px 24px;border:1px solid #dbe6f5;border-radius:18px;background:#fff;box-shadow:0 18px 48px #1731591a}.app-crashed-kicker{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:#fef2f2;color:#b91c1c;font-size:12px;font-weight:700}.app-crashed-card h1{margin:14px 0 8px;color:#17243a;font-size:22px}.app-crashed-card p{margin:0;color:#5b6b84;font-size:13px;line-height:1.7}.app-crashed-detail{display:block;margin-top:14px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#b91c1c;font-size:12px;line-height:1.6;word-break:break-word}.app-crashed-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.app-crashed-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 16px;white-space:nowrap}.canvas-crashed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:420px;height:100%;padding:32px 20px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fbff;color:#5b6b84;text-align:center}.canvas-crashed svg{color:#f59e0b}.canvas-crashed strong{color:#17243a;font-size:15px}.canvas-crashed p{max-width:420px;margin:0;font-size:13px;line-height:1.7}.canvas-crashed .button{display:inline-flex;align-items:center;min-height:34px;padding:0 16px;margin-top:4px;white-space:nowrap}.analytics-view{display:flex;flex-direction:column;gap:22px;padding:22px 24px 30px;background:#fff;border:1px solid #dfe7f1;border-radius:15px;box-shadow:var(--shadow)}.analytics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#8290a3;font-size:12px}.analytics-toolbar .button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 14px;cursor:pointer}.analytics-view .stat-card{cursor:default}.analytics-view .stat-card:hover{transform:none;box-shadow:0 14px 34px #26477612}.analytics-view .stat-card.green{border-top-color:#16a34a}.analytics-view .stat-card.green strong{color:#15803d}.analytics-grid{gap:16px}.analytics-section{display:flex;flex-direction:column;gap:14px}.analytics-section h3{margin:0;padding-left:10px;border-left:3px solid #4b8df7;color:#1d2b43;font-size:15px;line-height:1.4}.analytics-section h3 small{margin-left:8px;color:#8290a3;font-size:12px;font-weight:600}.analytics-charts-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.analytics-chart{padding:14px 16px 12px;border:1px solid #e4ebf4;border-radius:12px;background:#fbfdff}.analytics-chart h4{margin:0 0 10px;color:#5b6b84;font-size:13px;font-weight:700}.analytics-bar-row{display:grid;grid-template-columns:minmax(96px,132px) 1fr 64px;align-items:center;gap:8px;padding:3px 0;font-size:12px}.analytics-bar-label{display:flex;align-items:center;gap:6px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analytics-bar-label i{flex:0 0 auto;width:9px;height:9px;border-radius:50%}.analytics-bar-track{height:14px;border-radius:7px;background:#eef3f9;overflow:hidden}.analytics-bar-track i{display:block;height:100%;border-radius:7px;min-width:2px;transition:width .3s ease}.analytics-bar-track.stack{display:flex}.analytics-bar-track.stack i{min-width:0;border-radius:0}.analytics-bar-track.stack i:first-child{border-radius:7px 0 0 7px}.analytics-bar-track.stack i:last-child{border-radius:0 7px 7px 0}.analytics-bar-row b{text-align:right;color:#1d2b43;font-variant-numeric:tabular-nums}.analytics-bar-row b small{color:#9aa8b9;font-weight:600}.analytics-donut-wrap{display:flex;align-items:center;gap:26px;flex-wrap:wrap;padding:14px 16px;border:1px solid #e4ebf4;border-radius:12px;background:#fbfdff}.analytics-donut{width:150px;height:150px;flex:0 0 auto}.analytics-donut-total{fill:#1d2b43;font-size:26px;font-weight:700}.analytics-donut-caption{fill:#9aa8b9;font-size:11px}.analytics-legend{list-style:none;display:flex;flex-direction:column;gap:8px;margin:0;padding:0;min-width:220px}.analytics-legend li{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155}.analytics-legend i{flex:0 0 auto;width:10px;height:10px;border-radius:3px}.analytics-legend span{flex:1 1 auto}.analytics-legend b{color:#1d2b43;font-variant-numeric:tabular-nums}.analytics-legend small{color:#9aa8b9;font-size:12px;min-width:52px;text-align:right}.analytics-legend.inline{flex-direction:row;flex-wrap:wrap;gap:14px;min-width:0}.analytics-coverage{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid #e4ebf4;border-radius:12px;background:#fbfdff}.analytics-coverage-track{display:flex;height:16px;border-radius:8px;overflow:hidden;background:#eef3f9}.analytics-coverage-track i{display:block;height:100%}.analytics-note{margin:0;padding:0 2px;color:#8290a3;font-size:11px;line-height:1.7}@media(max-width:1180px){.analytics-charts-pair{grid-template-columns:1fr}}@media(max-width:720px){.analytics-view{padding:16px 14px 20px}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.analytics-donut-wrap{gap:14px}}:root{font-family:Microsoft YaHei UI,Microsoft YaHei,system-ui,sans-serif}.main-area{position:relative}.session-chip{display:flex;align-items:center;gap:9px;min-width:190px;height:46px;padding:0 7px 0 11px;border:1px solid #cfdbeb;border-radius:13px;background:#fffffff2;box-shadow:0 10px 28px #223d651f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.session-chip.global{position:fixed;top:12px;right:22px;z-index:35}.sync-button{display:inline-flex;align-items:center;gap:6px;height:46px;padding:0 15px;border:1px solid #2f75e8;border-radius:13px;background:#2f75e8;color:#fff;font-size:12px;font-weight:600;cursor:pointer;box-shadow:0 10px 28px #223d652e;position:relative;white-space:nowrap}.sync-button.fixed{position:fixed;right:24px;bottom:26px;z-index:40;height:48px;padding:0 20px;font-size:14px;border-radius:24px}.sync-button:hover{background:#2563cf}.sync-button:disabled{opacity:.65;cursor:default}.sync-button.dirty:hover{background:#b95f05}.sync-button .sync-badge{position:absolute;top:-4px;right:-4px;width:10px;height:10px;border-radius:50%;background:#dc2626;border:2px solid #fff;box-sizing:content-box}.drag-hint{margin-left:12px;font-style:normal;color:#8a6d3b;background:#fdf6e3;border:1px solid #f0e0bb;border-radius:8px;padding:2px 8px;font-size:11px}.session-chip>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e9f2ff;color:#2f75e8}.session-chip.viewer>span{background:#edf2f7;color:#64748b}.session-chip div{min-width:0;flex:1;display:grid}.session-chip b{color:#243650;font-size:12px;white-space:nowrap}.session-chip small{color:#8090a5;font-size:10px;white-space:nowrap}.session-chip button{width:31px;height:31px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:transparent;color:#8291a5;cursor:pointer}.session-chip button:hover{background:#eef4fb;color:#2f75e8}@media(min-width:901px){.session-chip.global{min-width:0;width:46px;padding:0 8px;box-sizing:border-box;overflow:hidden;transition:width .2s ease,padding .2s ease}.session-chip.global>div,.session-chip.global>button{opacity:0;pointer-events:none;transition:opacity .12s ease}.session-chip.global:hover{width:210px;padding:0 7px 0 11px}.session-chip.global:hover>div,.session-chip.global:hover>button{opacity:1;pointer-events:auto}}.stats-grid.viewer-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 12% 14%,rgba(70,139,246,.14),transparent 29%),linear-gradient(135deg,#f7faff,#edf4fd 52%,#f9fbfe)}.login-page:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:radial-gradient(#a9bed8 1px,transparent 1px);background-size:22px 22px;opacity:.22}.login-card{position:relative;width:min(440px,100%);padding:28px;border:1px solid rgba(195,211,231,.9);border-radius:22px;background:#fffffff0;box-shadow:0 30px 80px #274a792e}.login-card:after{content:"";position:absolute;inset:0 0 auto;height:4px;border-radius:22px 22px 0 0;background:linear-gradient(90deg,#1f6fe5,#55c4ff)}.login-brand{display:flex;align-items:center;gap:12px;padding-bottom:22px;border-bottom:1px solid #e2e9f2}.login-brand img{width:48px;height:48px;object-fit:contain}.login-brand div{display:grid;gap:2px}.login-brand strong{color:#132846;font-size:16px}.login-brand span{color:#8b9ab0;font-size:10px;font-weight:800;letter-spacing:.14em}.login-copy{padding:24px 0 20px}.login-kicker{display:inline-flex;align-items:center;gap:6px;color:#2c73dd;font-size:11px;font-weight:800;letter-spacing:.08em}.login-copy h1{margin:9px 0 10px;color:#162a47;font-size:25px;line-height:1.25}.login-copy p{margin:0;color:#73839a;font-size:13px;line-height:1.75}.login-card form{display:grid;gap:15px}.login-card label{display:grid;gap:7px;color:#40536d;font-size:12px;font-weight:700}.login-card input{height:44px;box-sizing:border-box;border:1px solid #cfdaea;border-radius:10px;padding:0 13px;outline:0;color:#213652;background:#fbfdff}.login-card input:focus{border-color:#4a8ef3;box-shadow:0 0 0 3px #e7f0ff;background:#fff}.login-card form>button{height:45px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;background:#2f78ed;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 12px 24px #2f78ed38}.login-card form>button:disabled{opacity:.65;cursor:wait}.login-back{width:100%;height:40px;margin-top:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;background:transparent;color:#60748f;font-size:12px;font-weight:700;cursor:pointer}.login-back:hover{background:#f1f5fa;color:#2f75e8}.login-back:focus-visible{outline:3px solid #dbeafe;outline-offset:1px}.login-error{padding:9px 11px;border:1px solid #fecaca;border-radius:9px;background:#fff1f2;color:#b42332;font-size:12px}.login-demo{margin-top:20px;padding:12px 14px;display:grid;grid-template-columns:auto 1fr;gap:4px 14px;border-radius:11px;background:#f2f6fb;color:#73839a;font-size:11px}.login-demo b{grid-row:1 / 3;align-self:center;color:#365579}.app-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;color:#60748f;background:#f5f8fc;font-size:12px}.spin{animation:web-spin .8s linear infinite}@keyframes web-spin{to{transform:rotate(360deg)}}@media(max-width:900px){.session-chip.global{top:8px;right:10px;min-width:168px}.sync-button.fixed{right:12px;bottom:14px}.stats-grid.viewer-stats{grid-template-columns:1fr}}.sop-card-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0f1b2f7a;display:flex;justify-content:flex-end;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sop-node-card{width:min(max(920px,76vw),calc(100vw - 32px));height:100vh;height:100dvh;max-height:100dvh;background:#f7faff;box-shadow:-28px 0 80px #1126463d;overflow:auto;border-left:4px solid var(--node-color,#347bf0);animation:sop-slide-in .24s ease-out}@keyframes sop-slide-in{0%{transform:translate(36px);opacity:.4}to{transform:none;opacity:1}}.sop-card-header{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;align-items:flex-start;padding:26px 30px 22px;color:#fff;background:linear-gradient(118deg,#1e64d8,#3788f6);box-shadow:0 12px 30px #1c53aa29}.sop-card-header span{font-size:10px;font-weight:850;letter-spacing:.16em;opacity:.76}.sop-card-header h2{margin:7px 0 5px;font-size:25px;line-height:1.25}.sop-card-header p{margin:0;font-size:12px;opacity:.86}.sop-icon-button{width:36px;height:36px;border:1px solid #d7e2ef;border-radius:10px;background:#fff;color:#58708d;display:grid;place-items:center;cursor:pointer}.sop-card-header .sop-icon-button{border-color:#ffffff52;background:#ffffff24;color:#fff}.sop-card-header-actions{display:flex;align-items:center;gap:8px}.sop-card-header .sop-icon-button:hover{background:#ffffff47}.sop-card-header .sop-icon-button.active{background:#fff;color:#1e64d8;border-color:#fff}.sop-node-edit-wrap{padding:4px 28px 24px}.sop-node-edit-wrap .sop-editor select{width:100%;border:1px solid #d4dfed;border-radius:9px;background:#fbfdff;color:#293d58;padding:10px 11px;outline:0;font-family:inherit;font-size:13px}.sop-node-edit-wrap .sop-editor select:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.sop-role-checks{grid-column:1/-1;margin:0;padding:12px;border:1px solid #dce6f1;border-radius:10px;background:#f8fbff;display:flex;flex-wrap:wrap;gap:7px}.sop-role-checks legend{padding:0 5px;color:#687a91;font-size:10px;font-weight:800}.sop-role-checks label{display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:5px;padding:6px 9px;border:1px dashed #c8d5e4;border-radius:8px;background:#fff;cursor:pointer}.sop-role-checks label.checked{border-style:solid;border-color:#3b82f6;background:#eaf3ff;color:#2365c5}.sop-role-checks input{width:auto!important;margin:0;box-shadow:none!important}.sop-node-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:22px 28px}.sop-field{min-height:70px;padding:13px 15px;border:1px solid #dfe8f3;border-radius:11px;background:#fff}.sop-field.wide{grid-column:1/-1}.sop-field span{display:block;margin-bottom:6px;color:#8494aa;font-size:10px}.sop-field strong{display:block;color:#263a55;font-size:12px;line-height:1.6}.sop-field.ai{border-color:#cfe1fb;background:#f0f6ff}.sop-field.ai strong{color:#225da9}.sop-field.warning{border-color:#f2ddbd;background:#fffaf2}.sop-field.warning strong{color:#8c5b16}.sop-expand{width:calc(100% - 56px);margin:0 28px 22px;padding:14px 17px;border:1px solid #d6e3f4;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;color:#355371;cursor:pointer}.sop-expand.open{border-color:#9fc3f5;background:#eef6ff}.sop-expand>span{display:flex;align-items:center;gap:9px}.sop-expand b{font-size:13px}.sop-expand em{font-style:normal;color:#7f90a6;font-size:11px}.sop-content{padding:0 28px 36px}.sop-empty{padding:48px 20px;border:1px dashed #bfd0e5;border-radius:14px;background:#fff;display:grid;justify-items:center;gap:9px;color:#70839a;text-align:center}.sop-empty strong{color:#2f4663}.sop-empty p{margin:0 0 8px;font-size:12px}.sop-view,.sop-editor{border:1px solid #dfe7f1;border-radius:15px;background:#fff;overflow:hidden}.sop-view-head{display:flex;justify-content:space-between;gap:20px;padding:24px 26px;border-bottom:1px solid #e3ebf4}.sop-view-head span{font-size:10px;font-weight:850;letter-spacing:.12em;color:#2f75e8}.sop-view-head h3{margin:5px 0 7px;font-size:21px;color:#1c304c}.sop-view-head p{margin:0;color:#657890;font-size:12px}.sop-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:20px 24px;background:#f8fbff}.sop-steps{padding:22px 24px 28px}.sop-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.sop-section-title>div{display:flex;align-items:baseline;gap:8px}.sop-section-title span{font-size:11px;color:#76889f}.sop-section-title strong{font-size:15px;color:#263a55}.sop-section-title small{color:#8a9ab0}.sop-step{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:15px;padding:17px 0;border-top:1px solid #e6edf5}.sop-step:first-of-type{border-top:0}.sop-step-index{width:38px;height:38px;border-radius:12px;background:#eaf3ff;color:#2d72de;display:grid;place-items:center;font-size:12px;font-weight:850}.sop-step h4{margin:1px 0 7px;color:#223752;font-size:14px}.sop-step p{margin:0 0 11px;color:#5e7087;font-size:12px;line-height:1.65}.sop-step dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}.sop-step dl>div{padding:8px 10px;border-radius:8px;background:#f5f8fc}.sop-step dl>div.decision{grid-column:1/-1;background:#fff6e9;border:1px solid #f2d4a8}.sop-step dt{color:#8998aa;font-size:9px}.sop-step dd{margin:4px 0 0;color:#3c5069;font-size:11px;line-height:1.45}.sop-editor{padding:22px}.sop-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sop-editor label{display:grid;gap:6px;color:#677991;font-size:11px;font-weight:700}.sop-editor label.wide{grid-column:1/-1}.sop-editor input,.sop-editor textarea{width:100%;border:1px solid #d4dfed;border-radius:9px;background:#fbfdff;color:#293d58;padding:10px 11px;outline:0}.sop-editor textarea{min-height:74px;resize:vertical}.sop-editor input:focus,.sop-editor textarea:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.sop-step-editor{margin-top:24px;padding-top:20px;border-top:1px solid #e1e9f2}.sop-step-edit{position:relative;display:grid;grid-template-columns:46px 1fr 30px;gap:10px;padding:13px 0;border-top:1px solid #edf1f6}.sop-step-number input{text-align:center;font-weight:800}.sop-step-fields{display:grid;gap:8px}.sop-step-fields>input{font-weight:700}.sop-step-fields textarea{min-height:64px}.sop-step-fields>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sop-delete-step{width:30px;height:30px;border:0;border-radius:8px;background:#fff0f0;color:#c43838;display:grid;place-items:center;cursor:pointer}.sop-editor-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:20px;border-top:1px solid #e4ebf3;margin-top:18px}.sop-import-modal{width:min(720px,100%);max-height:90vh;overflow:auto;border:1px solid #dae4ef;border-radius:17px;background:#fff;box-shadow:0 30px 90px #12274847}.sop-import-modal>header{padding:24px 26px 19px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e5ebf3}.sop-import-modal>header span{font-size:10px;font-weight:850;letter-spacing:.14em;color:#2f75e8}.sop-import-modal h2{margin:5px 0 7px;font-size:22px}.sop-import-modal header p{margin:0;color:#718298;font-size:12px;line-height:1.6}.sop-dropzone{position:relative;margin:20px 24px;padding:28px;border:1px dashed #a9c4e8;border-radius:13px;background:#f5f9ff;display:grid;justify-items:center;gap:7px;color:#52749f;text-align:center;cursor:pointer}.sop-dropzone strong{color:#244463}.sop-dropzone span{font-size:11px}.sop-dropzone input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.sop-import-results{margin:0 24px 20px;border:1px solid #e0e7f0;border-radius:12px;overflow:hidden}.sop-import-summary{height:44px;padding:0 14px;display:flex;align-items:center;gap:12px;background:#f5f8fc;font-size:11px}.sop-import-summary b{color:#2c405b}.sop-import-summary span{color:#168363}.sop-import-summary em{color:#b56a18;font-style:normal}.sop-import-row{display:flex;gap:10px;padding:12px 14px;border-top:1px solid #edf1f6}.sop-import-row.valid>svg{color:#24a074}.sop-import-row.invalid>svg{color:#d48823}.sop-import-row div{display:grid;gap:3px}.sop-import-row strong{font-size:12px;color:#30445f}.sop-import-row span{font-size:11px;color:#7b8ba0}.sop-import-error{margin:0 24px 18px;padding:10px 12px;border-radius:9px;background:#fff1f2;color:#b42332;display:flex;gap:7px;font-size:12px}.sop-import-modal>footer{padding:16px 24px;border-top:1px solid #e4ebf3;display:flex;justify-content:flex-end;gap:9px}.sop-import-modal button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.sop-node-card{width:100vw}.sop-card-header,.sop-node-summary,.sop-content,.sop-node-edit-wrap{padding-left:18px;padding-right:18px}.sop-expand{width:calc(100% - 36px);margin-left:18px;margin-right:18px}.sop-node-summary,.sop-info-grid,.sop-editor-grid{grid-template-columns:1fr}.sop-step dl{grid-template-columns:repeat(2,1fr)}.sop-step-fields>div{grid-template-columns:1fr}.sop-field.wide,.sop-editor label.wide{grid-column:auto}}.sop-pillar{margin:18px 20px;border:1px solid #dfe8f3;border-radius:14px;overflow:hidden;background:#fff}.sop-pillar.deliverable{border-top:3px solid #357ded}.sop-pillar.steps{border-top:3px solid #12a17b}.sop-pillar.rules{border-top:3px solid #e59a28}.sop-pillar-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e8eef5;background:#f9fbfe}.sop-pillar-head>div{display:grid;gap:3px}.sop-pillar-head span{font-size:9px;letter-spacing:.12em;font-weight:850;color:#7488a2}.sop-pillar-head h4{margin:0;color:#263c58;font-size:15px}.sop-pillar-head>strong{color:#168363;font-size:12px}.sop-pillar .sop-info-grid{padding:14px;background:#fff}.sop-pillar .sop-steps{padding:8px 18px 16px}.sop-editor-pillar{margin-top:16px;padding:18px;border:1px solid #dfe8f3;border-radius:13px;background:#fbfdff}.sop-editor-pillar.deliverable{border-left:4px solid #357ded}.sop-editor-pillar.steps{border-left:4px solid #12a17b}.sop-editor-pillar.rules{border-left:4px solid #e59a28}.sop-editor-pillar>h3,.sop-editor-pillar .sop-pillar-head h3{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#243a56;font-size:14px}.sop-editor-pillar h3>span{width:28px;height:24px;border-radius:7px;background:#eaf3ff;color:#286bd0;display:grid;place-items:center;font-size:10px}.sop-editor-pillar h3>small{margin-left:4px;color:#8a9ab0;font-size:10px;font-weight:500}.sop-editor-pillar .sop-pillar-head{padding:0 0 13px;margin-bottom:2px;background:none}.sop-editor select{width:100%;border:1px solid #d4dfed;border-radius:9px;background:#fbfdff;color:#293d58;padding:10px 11px;outline:0;font-family:inherit}.sop-step-top{display:grid!important;grid-template-columns:100px minmax(0,1fr) minmax(150px,.6fr)!important}.sop-step-top.compact{grid-template-columns:100px minmax(0,1fr)!important}.sop-step-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sop-step-heading>span{padding:3px 8px;border-radius:999px;background:#eaf7f2;color:#138263;font-size:9px}.sop-step dl{grid-template-columns:1fr}.sop-step dl>div.decision{grid-column:auto}.sop-field.danger{border-color:#f4d1d5;background:#fff7f8}.sop-field.danger strong{color:#a53c48}.sop-attachments{margin:18px 20px 22px;padding:17px;border:1px solid #dfe8f3;border-radius:14px;background:#f9fbfe}.sop-attachments .sop-section-title{margin:0}.sop-upload{position:relative;cursor:pointer}.sop-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.sop-upload.disabled{opacity:.55;pointer-events:none}.sop-attachment-note{margin:12px 0 0;padding:9px 11px;border-radius:8px;background:#fff8ec;color:#76551f;font-size:11px;line-height:1.5}.sop-file-list{display:grid;gap:8px;margin-top:12px}.sop-file{display:grid;grid-template-columns:28px minmax(0,1fr) 32px 32px;align-items:center;gap:8px;padding:10px 11px;border:1px solid #e1e8f1;border-radius:9px;background:#fff}.sop-file>svg{color:#347bf0}.sop-file>div{display:grid;gap:3px;min-width:0}.sop-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#30445e;font-size:11px}.sop-file span{color:#8a99ac;font-size:9px}.sop-file>a,.sop-file>button{width:30px;height:30px;border:0;border-radius:8px;background:#eef5ff;color:#276bd0;display:grid;place-items:center;cursor:pointer}.sop-file>button{background:#fff0f1;color:#bf3948}.sop-files-empty{margin-top:12px;padding:18px;border:1px dashed #c8d6e6;border-radius:9px;color:#8b9bae;font-size:11px;text-align:center}.sop-manager-modal{width:min(780px,calc(100vw - 32px));max-height:90vh;display:flex;flex-direction:column;border:1px solid #dae4ef;border-radius:17px;background:#fff;box-shadow:0 30px 90px #12274847;overflow:hidden}.sop-manager-modal>header{padding:22px 24px 17px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e5ebf3}.sop-manager-modal>header span{font-size:9px;font-weight:850;letter-spacing:.14em;color:#2f75e8}.sop-manager-modal h2{margin:5px 0 6px;font-size:21px}.sop-manager-modal header p{margin:0;color:#718298;font-size:11px}.sop-manager-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:14px 24px 0}.sop-manager-metrics>div{padding:10px 12px;border-radius:10px;background:#f3f7fc;display:flex;align-items:baseline;gap:8px}.sop-manager-metrics b{color:#245fae;font-size:19px}.sop-manager-metrics span{color:#7c8da3;font-size:10px}.sop-manager-search{margin:13px 24px 10px;padding:0 12px;height:40px;border:1px solid #d7e2ef;border-radius:10px;display:flex;align-items:center;gap:8px;color:#7190b6}.sop-manager-search input{width:100%;border:0;outline:0;font:inherit;font-size:12px}.sop-manager-list{margin:0 24px;max-height:48vh;overflow:auto;border:1px solid #e0e7f0;border-radius:11px}.sop-manager-list>button{width:100%;display:grid;grid-template-columns:72px minmax(0,1fr) 70px 18px;align-items:center;gap:10px;padding:11px 13px;border:0;border-top:1px solid #edf1f6;background:#fff;text-align:left;cursor:pointer}.sop-manager-list>button:first-child{border-top:0}.sop-manager-list>button:hover{background:#f5f9ff}.sop-manager-id{padding:5px 8px;border-radius:7px;background:color-mix(in srgb,var(--node-color,#347bf0) 12%,white);color:var(--node-color,#347bf0);font:800 10px ui-monospace,monospace;text-align:center}.sop-manager-list button>div{display:grid;gap:3px;min-width:0}.sop-manager-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2b405b;font-size:11px}.sop-manager-list small{color:#8898ac;font-size:9px}.sop-manager-list em{font-style:normal;color:#a57735;font-size:10px}.sop-manager-list em.ready{color:#138263}.sop-manager-empty{padding:30px;text-align:center;color:#8b9bae;font-size:11px}.sop-manager-modal>footer{padding:13px 24px;border-top:1px solid #e4ebf3;display:flex;align-items:center;justify-content:space-between;gap:20px}.sop-manager-modal>footer span{color:#8191a5;font-size:10px}@media(max-width:760px){.sop-pillar,.sop-attachments{margin-left:0;margin-right:0}.sop-editor-pillar h3>small{display:none}.sop-step-top,.sop-step-top.compact{grid-template-columns:1fr!important}.sop-manager-list>button{grid-template-columns:62px minmax(0,1fr) 54px}.sop-manager-list>button>svg{display:none}.sop-manager-modal>footer span{display:none}}.sop-batch-bar{display:flex;align-items:center;gap:10px;padding:10px 24px;margin:0 0 2px;border-bottom:1px solid #e5ebf3;background:#f8fbfe}.sop-batch-check-all{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#4a6078;cursor:pointer;font-weight:600}.sop-batch-check-all input{width:15px;height:15px;accent-color:#347bf0;cursor:pointer}.sop-batch-btn{padding:5px 12px;border-radius:8px;font-size:11px;font-weight:600;cursor:pointer;border:1px solid #d4dfed;background:#fff;color:#4a6078;transition:all .15s}.sop-batch-btn.secondary:hover{background:#eef5ff;border-color:#9fc3f5;color:#245fae}.sop-batch-btn.ghost{background:transparent;border-color:transparent;color:#8898ac;font-weight:500}.sop-batch-btn.ghost:hover{color:#b5433a;background:#fff5f5}.sop-batch-spacer{flex:1}.sop-batch-count{font-size:11px;color:#6b7f96}.sop-batch-count b{color:#245fae;font-size:13px}.sop-batch-export-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 18px;border-radius:10px;border:0;background:linear-gradient(118deg,#1e64d8,#3788f6);color:#fff;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px #1c53aa38;transition:all .18s}.sop-batch-export-btn:hover:not(.disabled){transform:translateY(-1px);box-shadow:0 6px 20px #1c53aa4d}.sop-batch-export-btn.disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.sop-directory-row-wrap{display:grid;grid-template-columns:32px 1fr;align-items:stretch;border-top:1px solid #edf1f6}.sop-directory-row-wrap:first-child{border-top:0}.sop-directory-row-wrap.active{background:#eef6ff}.sop-list-check{display:flex;align-items:center;justify-content:center;padding:0 4px;background:transparent}.sop-list-check input{width:15px;height:15px;accent-color:#347bf0;cursor:pointer}.sop-list-check input:disabled{cursor:not-allowed;opacity:.4}.sop-directory-row-inner{all:unset;display:grid;grid-template-columns:72px minmax(0,1fr) 100px 120px 62px 62px 90px;align-items:center;gap:10px;padding:10px 13px;cursor:pointer;width:100%}.sop-directory-row-inner:hover{background:#f5f9ff}.sop-list-check-col{width:32px}.sop-directory-row.header{display:grid;grid-template-columns:32px 72px minmax(0,1fr) 100px 120px 62px 62px 90px;align-items:center;gap:10px;padding:8px 13px 8px 4px}.sop-list-count{color:#425c7b;font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:1120px){.sop-directory-row-inner{grid-template-columns:72px minmax(0,1fr) 62px 62px 90px}.sop-directory-row-inner .sop-list-role,.sop-directory-row-inner .sop-list-stage{display:none}.sop-directory-row.header{grid-template-columns:32px 72px minmax(0,1fr) 62px 62px 90px}.sop-directory-row.header span:nth-child(4),.sop-directory-row.header span:nth-child(5){display:none}}@media(max-width:860px){.sop-directory-row-inner{grid-template-columns:62px minmax(0,1fr) 46px 46px}.sop-directory-row.header{grid-template-columns:32px 62px minmax(0,1fr) 46px 46px}.sop-directory-row.header span:nth-child(8){display:none}.sop-batch-bar{flex-wrap:wrap;gap:8px}.sop-batch-spacer{display:none}}.sop-export-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0f1b2f8f;display:grid;place-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:sop-export-fade-in .2s ease-out}@keyframes sop-export-fade-in{0%{opacity:0}to{opacity:1}}.sop-export-modal{width:min(420px,calc(100vw - 40px));border:1px solid #dae4ef;border-radius:18px;background:#fff;box-shadow:0 30px 90px #12274852;overflow:hidden;animation:sop-export-pop .25s ease-out}@keyframes sop-export-pop{0%{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}.sop-export-modal>header{padding:22px 24px 16px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #e5ebf3}.sop-export-modal>header span{font-size:9px;font-weight:850;letter-spacing:.14em;color:#2f75e8}.sop-export-modal>header h2{margin:6px 0 4px;font-size:18px;color:#1c304c}.sop-export-modal>header p{margin:0;color:#718298;font-size:11px;line-height:1.5}.sop-export-body{padding:24px;display:grid;justify-items:center;gap:18px}.sop-export-anim{display:grid;justify-items:center;gap:10px}.sop-export-spinner{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#eaf3ff,#dbeafe);display:grid;place-items:center;color:#2d72de;animation:sop-export-pulse 1.4s ease-in-out infinite}.sop-export-spinner.error{background:linear-gradient(135deg,#fff1f2,#ffe4e6);color:#dc2626;animation:none}.sop-export-spinner.done{background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#16a34a;animation:none}@keyframes sop-export-pulse{0%,to{transform:scale(1);box-shadow:0 0 #2d72de4d}50%{transform:scale(1.06);box-shadow:0 0 0 12px #2d72de00}}.sop-export-percent{font-size:22px;font-weight:800;color:#245fae;letter-spacing:-.02em}.sop-export-bar-wrap{width:100%;height:8px;border-radius:99px;background:#e8eef5;overflow:hidden}.sop-export-bar{height:100%;border-radius:99px;background:linear-gradient(90deg,#347bf0,#60a5fa);transition:width .4s ease-out;position:relative}.sop-export-bar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);animation:sop-export-shimmer 1.6s infinite}.sop-export-bar.error{background:#ef4444}.sop-export-bar.error:after{animation:none}.sop-export-bar.done{background:linear-gradient(90deg,#16a34a,#4ade80)}.sop-export-bar.done:after{animation:none}@keyframes sop-export-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.sop-export-phase{font-size:12px;color:#6b7f96;text-align:center}.sop-export-modal>footer{padding:14px 24px;border-top:1px solid #e4ebf3;display:flex;justify-content:flex-end}.marker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:76;background:#101c3029;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.marker-pop{position:fixed;width:min(360px,calc(100vw - 28px));background:#fff;border:1px solid #dfe8f3;border-left:4px solid var(--marker-color,#dc2626);border-radius:14px;box-shadow:0 26px 70px #182b4c42;overflow:hidden;animation:marker-pop-in .18s ease-out}@keyframes marker-pop-in{0%{transform:translateY(10px) scale(.97);opacity:.4}to{transform:none;opacity:1}}.marker-pop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px 17px 13px;background:linear-gradient(118deg,#f4f8ff,#eef4fd);border-bottom:1px solid #e3ebf5}.marker-pop-head span{display:block;font-size:9px;font-weight:850;letter-spacing:.16em;color:#7d92b3}.marker-pop-head h3{margin:5px 0 4px;font-size:15px;line-height:1.35;color:#1a2a44}.marker-pop-head code{font-size:11px;color:#3b7dea;background:#e6f0ff;border-radius:6px;padding:2px 7px}.marker-pop-close{width:32px;min-width:32px;height:32px;border:1px solid #d7e2ef;border-radius:9px;background:#fff;color:#58708d;display:grid;place-items:center;cursor:pointer}.marker-pop-close:hover{border-color:#b9cddf;color:#1e64d8}.marker-pop-body{padding:15px 17px 17px;display:grid;gap:11px}.marker-field-label{font-size:11px;font-weight:700;color:#7d92b3;letter-spacing:.04em}.marker-palette{display:flex;flex-wrap:wrap;gap:7px}.marker-swatch{position:relative;display:flex;align-items:center;gap:6px;padding:6px 10px 6px 22px;border:1px solid #dde6f1;border-radius:9px;background:#fbfdff;color:#42576f;font-size:11px;font-weight:700;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.marker-swatch:before{content:"";position:absolute;left:8px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:var(--swatch-color)}.marker-swatch:hover{border-color:#b9cddf}.marker-swatch.active{border-color:var(--swatch-color);background:#fff;box-shadow:0 0 0 2px color-mix(in srgb,var(--swatch-color) 22%,transparent);color:#1a2a44}.marker-text-field{display:grid;gap:6px;font-size:11px;font-weight:700;color:#7d92b3}.marker-text-field textarea{border:1px solid #d4dfed;border-radius:10px;background:#fbfdff;color:#293d58;padding:10px 11px;font-family:inherit;font-size:13px;line-height:1.6;resize:vertical;outline:0;min-height:82px}.marker-text-field textarea:focus{border-color:#4d8ff5;box-shadow:0 0 0 3px #e8f1ff}.marker-pop-meta{font-size:11px;color:#8494aa;line-height:1.5}.marker-pop-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.marker-pop-actions .button{height:38px;padding:0 14px;font-size:13px}.marker-pop-actions .button.danger-action{margin-right:auto}.marker-pop-body.read-only{gap:9px}.marker-view-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 11px 5px 9px;border-radius:999px;background:color-mix(in srgb,var(--marker-color) 12%,#fff);color:var(--marker-color);font-size:12px;font-weight:800}.marker-view-tag:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--marker-color)}.marker-view-text{margin:0;font-size:13px;line-height:1.75;color:#243a56;white-space:pre-wrap;word-break:break-word}.marker-none{display:grid;justify-items:center;gap:7px;padding:22px 12px;border:1px dashed #cfdcee;border-radius:12px;background:#f9fbfe;color:#7d92b3;font-size:12px;text-align:center}.marker-none strong{color:#33506f;font-size:13px}.lf-node-marker-add{transition:fill .14s ease,stroke .14s ease}.lf-node g.lf-node-marker:hover .lf-node-marker-add{fill:#dbeafe;stroke:#2563eb;stroke-dasharray:none}.modal-backdrop:has(.guard-modal){z-index:82}.guard-modal{width:min(520px,calc(100vw - 32px))}.guard-note{margin:0;font-size:13px;line-height:1.75;color:#41597a;background:#f6f9fe;border:1px solid #e0eaf6;border-radius:11px;padding:13px 15px}.guard-modal .modal-actions{justify-content:flex-end}.toast{z-index:120}.demo-view{display:flex;flex-direction:column;gap:14px;height:calc(100vh - 128px);min-height:560px}.demo-empty-view{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:calc(100vh - 128px);color:#64748b;text-align:center}.demo-empty-view .button{margin-top:6px}.demo-timeline{background:#fff;border:1px solid #e2e9f4;border-radius:16px;padding:12px 16px 14px;box-shadow:0 6px 20px #1e3c6e0f}.demo-transport{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.demo-tbtn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;border:1px solid #dbe4f1;background:#f7faff;color:#33507a;cursor:pointer;transition:all .16s ease}.demo-tbtn:hover{background:#eaf1ff;border-color:#b9cdf3;color:#1e64d8}.demo-tbtn.primary{width:42px;height:42px;background:#2f75e8;border-color:#2f75e8;color:#fff;box-shadow:0 6px 16px #2f75e852}.demo-tbtn.primary:hover{background:#1e64d8}.demo-speed{display:inline-flex;align-items:center;gap:5px;margin-left:4px;color:#64748b;font-size:12px}.demo-speed select{border:1px solid #dbe4f1;border-radius:8px;background:#fff;color:#33507a;padding:5px 8px;font-size:12px;outline:0}.demo-clock{margin-left:auto;font-size:13px;color:#47608a}.demo-clock b{color:#1e64d8;font-variant-numeric:tabular-nums}.demo-track{position:relative;display:flex;height:40px;border-radius:10px;overflow:hidden;background:#eef3fb;border:1px solid #e0e8f4;cursor:pointer;touch-action:none}.demo-seg{position:relative;display:flex;align-items:center;justify-content:center;min-width:26px;border-right:1px solid rgba(255,255,255,.7);overflow:hidden;transition:filter .16s ease}.demo-seg:last-of-type{border-right:none}.demo-seg-id{font-size:10px;font-weight:700;color:#ffffffeb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px;letter-spacing:.2px}.demo-seg.normal.pending{background:#b9cdf3}.demo-seg.normal.current{background:#2f75e8}.demo-seg.normal.done{background:#16a34a}.demo-seg.return.pending{background:#f0b4b4}.demo-seg.return.current{background:#dc2626}.demo-seg.return.done{background:#b91c1c}.demo-seg.current{animation:demo-seg-pulse 1.4s ease-in-out infinite}@keyframes demo-seg-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.18)}}.demo-playhead{position:absolute;top:-2px;bottom:-2px;width:3px;margin-left:-1.5px;background:#17243c;box-shadow:0 0 0 2px #ffffffd9;pointer-events:none;z-index:3}.demo-playhead:before{content:"";position:absolute;top:-4px;left:50%;transform:translate(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #17243c}.demo-body{flex:1;min-height:0;display:flex;gap:14px}.demo-stage{flex:1;min-width:0;position:relative;border-radius:16px;overflow:hidden;border:1px solid #dce6f4;background:#f7faff;box-shadow:inset 0 0 0 1px #fff9}.demo-canvas{width:100%;height:100%}.demo-canvas .lf-canvas-overlay,.demo-canvas .lf-base{transition:transform .45s cubic-bezier(.4,0,.2,1)}.demo-panel{width:322px;flex-shrink:0;overflow-y:auto;background:#fff;border:1px solid #e2e9f4;border-radius:16px;padding:16px;box-shadow:0 6px 20px #1e3c6e0f;display:flex;flex-direction:column;gap:14px}.demo-panel-head{display:flex;flex-direction:column;gap:10px}.demo-mode{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#7186a5}.demo-mode select{border:1px solid #dbe4f1;border-radius:10px;background:#fbfdff;color:#22375a;padding:9px 11px;font-size:13px;font-weight:600;outline:0}.demo-manage{justify-content:center}.demo-desc{font-size:12.5px;color:#6b7f9e;line-height:1.6;margin:-4px 0 0}.demo-now{background:linear-gradient(160deg,#f4f8ff,#eef4ff);border:1px solid #dbe6fa;border-radius:14px;padding:14px}.demo-now-kicker{display:block;font-size:11px;font-weight:700;letter-spacing:.6px;color:#2f75e8;text-transform:uppercase;margin-bottom:6px}.demo-now h3{margin:0;font-size:17px;color:#17243c;line-height:1.35}.demo-now code{display:inline-block;margin-top:5px;font-size:11.5px;background:#fff;border:1px solid #d9e4f6;color:#40597f;border-radius:6px;padding:2px 7px}.demo-now-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.demo-now-meta span{font-size:11.5px;background:#fff;border:1px solid #e2e9f4;color:#5b708f;border-radius:20px;padding:3px 9px}.demo-return-tag{display:inline-flex;align-items:center;gap:5px;margin-top:10px;font-size:12px;font-weight:600;color:#b91c1c;background:#fdecec;border:1px solid #f6c9c9;border-radius:8px;padding:5px 9px}.demo-now-sys{margin:10px 0 0;font-size:12px;color:#6b7f9e}.demo-empty{margin:6px 0 0;font-size:13px;color:#94a3b8}.demo-progress{display:flex;flex-direction:column;gap:6px}.demo-progress-bar{height:8px;border-radius:6px;background:#eef3fb;overflow:hidden;border:1px solid #e2e9f4}.demo-progress-bar i{display:block;height:100%;background:linear-gradient(90deg,#2f75e8,#16a34a);transition:width .12s linear}.demo-progress small{font-size:11.5px;color:#8296b3}.demo-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11.5px;color:#64748b;border-top:1px dashed #e2e9f4;padding-top:12px}.demo-legend span{display:inline-flex;align-items:center;gap:5px}.demo-legend .lg{width:11px;height:11px;border-radius:3px;display:inline-block}.demo-legend .lg.current{background:#2f75e8}.demo-legend .lg.done{background:#16a34a}.demo-legend .lg.normal{background:#b9cdf3}.demo-legend .lg.return{background:#dc2626}.demo-legend .lg.dim{background:#d7dee9}.scenario-editor{width:min(1040px,94vw);height:min(720px,90vh);background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 24px 70px #0f23464d}.scenario-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;background:linear-gradient(135deg,#2f75e8,#1e54c8);color:#fff}.scenario-editor>header span{font-size:11px;letter-spacing:1.4px;opacity:.82;font-weight:700}.scenario-editor>header h2{margin:4px 0 6px;font-size:21px}.scenario-editor>header p{margin:0;font-size:12.5px;opacity:.9;line-height:1.5;max-width:640px}.scenario-editor>header .sop-icon-button{background:#ffffff2e;color:#fff;border-color:#ffffff4d}.scenario-body{flex:1;min-height:0;display:flex}.scenario-list{width:250px;flex-shrink:0;border-right:1px solid #eaeff7;padding:14px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;background:#fbfcfe}.scenario-list>button{text-align:left;border:1px solid #e5ebf5;background:#fff;border-radius:12px;padding:11px 12px;cursor:pointer;transition:all .15s ease}.scenario-list>button:hover{border-color:#b9cdf3}.scenario-list>button.active{border-color:#2f75e8;background:#eef4ff;box-shadow:0 0 0 2px #2f75e81f}.scenario-list>button strong{display:block;font-size:13.5px;color:#22375a}.scenario-list>button small{display:block;margin-top:3px;font-size:11.5px;color:#8296b3}.scenario-list-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.scenario-list-actions .button{flex:1;justify-content:center;padding:8px 6px;font-size:12px}.button.danger-ghost{background:#fff;border:1px solid #f2c9c9;color:#c0392b}.button.danger-ghost:hover{background:#fdecec}.scenario-edit{flex:1;min-width:0;padding:18px 22px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.scenario-fields{display:grid;grid-template-columns:1fr 1.4fr;gap:12px}.scenario-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#7186a5}.scenario-fields input{border:1px solid #dbe4f1;border-radius:10px;padding:9px 11px;font-size:13px;color:#22375a;outline:0}.scenario-fields input:focus{border-color:#2f75e8}.scenario-steps{display:flex;flex-direction:column;gap:7px}.scenario-step{display:flex;align-items:center;gap:10px;border:1px solid #e8edf6;border-radius:11px;padding:8px 10px;background:#fcfdff}.scenario-step-idx{width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#eaf1ff;color:#2f75e8;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.scenario-step-main{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px}.scenario-step-main code{font-size:11.5px;color:#64748b;background:#f1f5fb;border-radius:5px;padding:1px 6px;flex-shrink:0}.scenario-step-main b{font-size:13px;color:#22375a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scenario-step-main small{font-size:11px;color:#94a3b8;flex-shrink:0}.scenario-outcome{border:1px solid #dbe4f1;border-radius:8px;padding:5px 8px;font-size:12px;color:#33507a;background:#fff;outline:0;flex-shrink:0}.scenario-outcome option[value=return]{color:#b91c1c}.scenario-end{font-size:11.5px;color:#16a34a;font-weight:700;flex-shrink:0}.scenario-step-del{border:none;background:transparent;color:#b6c2d4;cursor:pointer;padding:4px;border-radius:6px;flex-shrink:0}.scenario-step-del:hover{background:#fdecec;color:#dc2626}.scenario-steps-empty{text-align:center;color:#a4b1c4;font-size:12.5px;padding:18px;border:1px dashed #e2e9f4;border-radius:11px}.scenario-picker{border-top:1px dashed #e6ebf4;padding-top:14px}.scenario-picker-search input{width:100%;border:1px solid #dbe4f1;border-radius:10px;padding:9px 12px;font-size:13px;outline:0;box-sizing:border-box}.scenario-picker-search input:focus{border-color:#2f75e8}.scenario-picker-list{margin-top:10px;max-height:190px;overflow-y:auto;display:flex;flex-direction:column;gap:5px}.scenario-picker-list button{display:flex;align-items:center;gap:9px;border:1px solid #eef1f7;background:#fff;border-radius:9px;padding:7px 10px;cursor:pointer;text-align:left;transition:all .14s ease}.scenario-picker-list button:hover{border-color:#b9cdf3;background:#f5f9ff}.scenario-picker-list code{font-size:11.5px;color:#2f75e8;background:#eef4ff;border-radius:5px;padding:1px 6px;flex-shrink:0}.scenario-picker-list span{flex:1;min-width:0;font-size:12.5px;color:#33507a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scenario-picker-list em{font-size:11px;color:#94a3b8;font-style:normal;flex-shrink:0}.scenario-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eef1f7;padding-top:14px;margin-top:auto}.scenario-foot>span{font-size:12.5px;color:#7186a5}.scenario-foot>div{display:flex;gap:8px}@media(max-width:900px){.demo-view{height:auto}.demo-body{flex-direction:column}.demo-stage{height:460px}.demo-panel{width:100%}.scenario-fields{grid-template-columns:1fr}.scenario-body{flex-direction:column}.scenario-list{width:100%;flex-direction:row;overflow-x:auto;border-right:none;border-bottom:1px solid #eaeff7}.scenario-list>button{min-width:180px}}.sync-wrap.fixed{position:fixed;right:24px;bottom:26px;z-index:40;display:flex;align-items:center;gap:10px}.sync-wrap .sync-button{pointer-events:auto;cursor:pointer;height:48px;padding:0 20px;font-size:14px;border-radius:24px;display:inline-flex;align-items:center;gap:8px;box-shadow:0 8px 22px #17305629}.sync-wrap .sync-button:disabled{cursor:default}.position-save-button{height:48px;padding:0 18px;border-radius:24px;border:1px solid #b45309;background:#fff7ed;color:#b45309;font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;box-shadow:0 8px 22px #17305629;transition:background .15s}.position-save-button:hover{background:#ffedd5}.sync-button .sync-dot{width:9px;height:9px;border-radius:50%;background:#ffffffd9;box-shadow:0 0 0 3px #ffffff47}.sync-button.clean{background:#16a34a;border-color:#16a34a}.sync-button.busy{background:#2f75e8;border-color:#2f75e8}.sync-button.busy .sync-dot{animation:syncPulse 1s ease-in-out infinite}.sync-button.dirty{background:#d97706;border-color:#d97706}@keyframes syncPulse{0%,to{opacity:.5}50%{opacity:1}}@media(max-width:860px){.sync-wrap.fixed{right:12px;bottom:14px}}.conflict-backdrop{z-index:60}.conflict-card{max-width:860px;width:min(860px,94vw);max-height:88vh;overflow:auto}.conflict-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:#b42318;background:#fee4e2;border-radius:8px;padding:3px 9px}.conflict-hint{color:#55607a;font-size:13px;line-height:1.6;margin:6px 0 14px}.conflict-hint code{background:#eef2f7;border-radius:5px;padding:1px 6px;font-size:12px}.conflict-list{display:grid;gap:14px}.conflict-item{border:1px solid #e3e9f2;border-radius:12px;padding:12px 14px;background:#fbfdff}.conflict-field-title{font-weight:700;color:#243650;font-size:14px;margin-bottom:8px}.conflict-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.conflict-col{display:flex;flex-direction:column;gap:6px;border:1px solid #e3e9f2;border-radius:10px;padding:9px 11px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.conflict-col.active{border-color:#2f75e8;box-shadow:0 0 0 2px #2f75e829;background:#f4f9ff}.conflict-col.base{cursor:default;background:#f7f9fc;border-style:dashed}.conflict-col-tag.base{color:#6b7280}.conflict-col input[type=radio]{align-self:flex-start;accent-color:#2f75e8}.conflict-col-tag{font-size:11px;font-weight:700;letter-spacing:.3px}.conflict-col-tag.mine{color:#b42318}.conflict-col-tag.theirs{color:#175cd3}.conflict-col-tag.manual{color:#6941c6}.conflict-col-value{font-size:13px;color:#243650;word-break:break-word;white-space:pre-wrap}.conflict-manual{width:100%;border:1px solid #d7dfec;border-radius:8px;padding:6px 8px;font-size:12px;font-family:inherit;resize:vertical}.conflict-manual:disabled{background:#f2f5fa;color:#9aa6ba}.conflict-col-base{font-size:11px;color:#8a97ac}.sop-workspace{width:100%;min-width:0}.sop-directory{background:#fff;border:1px solid #dfe7f1;border-radius:16px;box-shadow:0 16px 40px #223d6512;overflow:hidden}.sop-directory-head{min-height:104px;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #e6edf5;background:linear-gradient(110deg,#fff,#f5f9ff)}.sop-directory-head>div:first-child>span{color:#347bf0;font-size:10px;font-weight:800;letter-spacing:.17em}.sop-directory-head h2{margin:5px 0 4px;font-size:22px;color:#1d2b43}.sop-directory-head p{margin:0;color:#8090a5;font-size:12px}.sop-directory-metric{display:flex;align-items:baseline;gap:5px;white-space:nowrap;color:#7d8da3}.sop-directory-metric strong{color:#276fe6;font-size:30px;line-height:1}.sop-directory-metric span{font-size:12px}.sop-directory-filters{position:relative;z-index:2;min-height:72px;padding:13px 20px;display:grid;grid-template-columns:minmax(320px,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid #e5ecf4;background:#fff}.sop-directory-filters .search-box{min-width:0;width:100%}.sop-role-filter{height:44px;border:1px solid #d8e2ef;border-radius:9px;padding:0 8px 0 12px;display:flex;align-items:center;gap:7px;color:#74859a;font-size:12px;background:#fff}.sop-role-filter select{min-width:150px;height:34px;border:0;outline:0;color:#27364c;background:#fff}.sop-list-toggle{height:44px;padding:0 13px;border:1px solid #d8e2ef;border-radius:9px;display:flex;align-items:center;gap:7px;font-size:12px;color:#55607a;white-space:nowrap}.sop-directory-table{min-height:584px}.sop-directory-row{width:100%;min-height:36px;border:0;border-bottom:1px solid #edf1f6;padding:0 22px;display:grid;grid-template-columns:120px minmax(260px,1fr) 160px 170px 100px;gap:14px;align-items:center;text-align:left;background:#fff;cursor:pointer}.sop-directory-row:not(.header):hover{background:#f5f9ff;box-shadow:inset 4px 0 #8bb5f8}.sop-directory-row.active{background:#edf5ff;box-shadow:inset 4px 0 #347bf0}.sop-directory-row.header{min-height:40px;background:#f4f7fb;color:#7d8da3;font-size:11px;font-weight:700;cursor:default}.sop-list-id code{color:#34506f;font-size:12px;font-weight:750}.sop-list-task{color:#1f3048;font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sop-list-role{display:flex;align-items:center;gap:8px;color:#5e6f85;font-size:12px}.sop-list-role i{width:8px;height:8px;border-radius:50%;background:var(--role-color);flex:0 0 auto}.sop-list-stage{color:#6f8096;font-size:12px}.sop-status{width:max-content;min-width:62px;border-radius:999px;padding:4px 9px;display:inline-flex;align-items:center;justify-content:center;gap:4px;background:#f0f3f7;color:#7c8ca1;font-size:11px}.sop-status.ready{background:#e8f8f0;color:#168454}.sop-list-empty{min-height:360px;display:grid;align-content:center;justify-items:center;gap:8px;color:#8a97ac;text-align:center}.sop-list-empty strong{color:#52637a}.sop-pagination{min-height:58px;padding:0 20px;border-top:1px solid #e6edf5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfcfe;color:#718198;font-size:12px}.sop-pagination>div{display:flex;gap:8px}.sop-pagination button{min-height:34px;border:1px solid #d6e0ec;border-radius:8px;padding:0 12px;display:inline-flex;align-items:center;gap:5px;background:#fff;color:#42546b;cursor:pointer}.sop-pagination button:disabled{opacity:.4;cursor:default}.sop-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0f1d3361;display:flex;justify-content:flex-end}.sop-drawer{width:min(max(1120px,82vw),calc(100vw - 40px));height:100vh;height:100dvh;max-height:100dvh;overflow:auto;background:#f4f7fb;box-shadow:-28px 0 70px #142a4c33;animation:sop-drawer-in .22s ease-out}.sop-drawer .sop-node-card.embedded{min-height:100%;max-height:none;border:0;border-radius:0;box-shadow:none}@keyframes sop-drawer-in{0%{transform:translate(28px);opacity:.65}to{transform:translate(0);opacity:1}}.admin-page{display:grid;gap:18px}.admin-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.admin-page-head h2{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:20px;color:#1c2c44}.admin-page-head p{margin:0;color:#6b7893;max-width:720px;font-size:13px;line-height:1.6}.admin-create-form{background:#f7fafd;border:1px solid #e4eaf3;border-radius:14px;padding:16px;display:grid;gap:14px}.admin-create-form .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-create-form label{display:grid;gap:5px;font-size:12px;color:#55607a;font-weight:600}.admin-create-form input{padding:9px 11px;border:1px solid #d7dfec;border-radius:10px;font-size:13px;font-family:inherit}.cap-picker{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.cap-picker>span{font-size:12px;color:#55607a;font-weight:600;margin-right:4px}.cap-chip{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#243650;background:#fff;border:1px solid #d7dfec;border-radius:20px;padding:5px 11px;cursor:pointer}.cap-chip input{accent-color:#2f75e8}.admin-table-wrap{background:#fff;border:1px solid #e4eaf3;border-radius:16px;overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #eef2f7;vertical-align:top}.admin-table th{background:#f5f8fc;color:#55607a;font-size:12px;font-weight:700;position:sticky;top:0}.admin-table tr.super-row{background:#f9fbff}.admin-table td code{display:block;font-size:11px;color:#8090a5;margin-top:2px}.self-tag{display:inline-block;margin-left:6px;font-style:normal;font-size:10px;color:#175cd3;background:#e0edff;border-radius:6px;padding:1px 6px}.role-badge{font-size:12px;font-weight:700;border-radius:8px;padding:3px 9px}.role-badge.super{color:#6941c6;background:#f3e8ff}.role-badge.sub{color:#175cd3;background:#e0edff}.state-badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;border-radius:8px;padding:3px 9px}.state-badge.on{color:#087443;background:#e3f7ed}.state-badge.off{color:#b42318;background:#fee4e2}.cap-all{color:#6941c6;font-size:12px}.cap-toggle-row{display:flex;flex-wrap:wrap;gap:6px;max-width:360px}.cap-toggle{display:inline-flex;align-items:center;gap:4px;font-size:11px;border:1px solid #e3e9f2;border-radius:14px;padding:2px 8px;cursor:pointer;color:#8a97ac}.cap-toggle.on{color:#087443;border-color:#b7e4c7;background:#e9f9f0}.cap-toggle input{accent-color:#16a34a;width:12px;height:12px}.admin-actions{display:flex;flex-direction:column;gap:5px}.admin-actions .locked{color:#b0bacb;font-size:12px}.link-button{background:none;border:0;padding:0;color:#2f75e8;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:3px;text-align:left}.link-button:hover{text-decoration:underline}.link-button.danger{color:#d14343}.link-button:disabled{color:#b0bacb;cursor:default;text-decoration:none}.admin-loading{text-align:center;color:#8a97ac;padding:20px}.dict-actions{display:flex;gap:8px;flex-wrap:wrap}.dict-hint{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#8a5a00;background:#fff7e6;border:1px solid #f7dcb0;border-radius:10px;padding:8px 12px}.dict-hint.pending{color:#175cd3;background:#eef5ff;border-color:#cfe0fc}.dict-section{display:grid;gap:12px}.dict-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.dict-section-head h3{margin:0;font-size:15px;color:#1c2c44}.dict-section-head span{font-size:12px;color:#8090a5}.dict-table td{vertical-align:middle}.dict-input{width:100%;min-width:120px;padding:7px 9px;border:1px solid #d7dfec;border-radius:9px;font-size:13px;font-family:inherit;color:#1c2c44;background:#fff}.dict-input:disabled{background:#f5f8fc;color:#8090a5}.dict-input:focus{outline:none;border-color:#2f75e8;box-shadow:0 0 0 3px #2f75e81f}.dict-color-cell{display:flex;align-items:center;gap:8px}.dict-color-cell input[type=color]{width:34px;height:30px;padding:0;border:1px solid #d7dfec;border-radius:8px;background:#fff;cursor:pointer}.dict-color-text{width:96px;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.dict-ref{font-size:12px;color:#175cd3;white-space:nowrap}.dict-ref.none{color:#98a2b3}.dict-rank{display:inline-flex;min-width:24px;justify-content:center;font-size:12px;font-weight:700;color:#175cd3;background:#eef5ff;border-radius:7px;padding:2px 6px}.dict-order{display:flex;gap:4px}.dict-order button{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7dfec;border-radius:8px;background:#fff;color:#55607a;cursor:pointer}.dict-order button:hover:not(:disabled){border-color:#2f75e8;color:#2f75e8}.dict-order button:disabled{color:#c7d0dd;cursor:default}.dict-create{max-width:760px}.dict-create .modal-actions{display:flex;justify-content:flex-end}.audit-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:10px;align-items:end;background:#f7fafd;border:1px solid #e4eaf3;border-radius:14px;padding:14px}.audit-filters label{display:grid;gap:4px;font-size:11px;color:#55607a;font-weight:600}.audit-filters input,.audit-filters select{padding:8px 10px;border:1px solid #d7dfec;border-radius:9px;font-size:12px;font-family:inherit}.audit-filter-actions{display:flex;gap:8px}.audit-table tbody tr{cursor:pointer}.audit-table tbody tr:hover{background:#f4f9ff}.audit-count{padding:10px 14px;font-size:12px;color:#6b7893}.action-tag{display:inline-block;font-size:11px;font-weight:700;border-radius:7px;padding:2px 8px;background:#eef2f7;color:#55607a}.action-tag.update,.action-tag.merge{background:#e0edff;color:#175cd3}.action-tag.create{background:#e3f7ed;color:#087443}.action-tag.delete{background:#fee4e2;color:#b42318}.action-tag.rollback{background:#f3e8ff;color:#6941c6}.action-tag.account{background:#fff2e0;color:#b54708}.action-tag.login,.action-tag.logout{background:#eef2f7;color:#64748b}.action-tag.attachment{background:#e0f2fe;color:#0369a1}.action-tag.snapshot{background:#f1f5f9;color:#475569}.action-tag.lg{font-size:13px;padding:4px 12px}.action-tag.sm{font-size:10px;padding:1px 6px}.audit-drawer{position:fixed;inset:0 0 0 auto;width:min(560px,94vw);background:#fff;box-shadow:-18px 0 46px #101e362e;z-index:70;display:flex;flex-direction:column;animation:drawerIn .22s ease}@keyframes drawerIn{0%{transform:translate(30px);opacity:.4}to{transform:translate(0);opacity:1}}.audit-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px;border-bottom:1px solid #eef2f7}.audit-drawer-head h3{margin:8px 0 4px;font-size:16px;color:#1c2c44}.audit-drawer-head p{margin:0;font-size:12px;color:#8090a5}.audit-drawer-body{padding:16px 20px 32px;overflow:auto;display:grid;gap:18px}.audit-drawer-body section h4{margin:0 0 8px;font-size:13px;color:#243650}.diff-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.diff-list li{border:1px solid #e3e9f2;border-radius:10px;padding:10px 12px;background:#fbfdff}.diff-field{font-size:12px;font-weight:700;color:#175cd3}.diff-from,.diff-to{font-size:12px;border-radius:7px;padding:5px 8px;margin-top:5px;word-break:break-word;white-space:pre-wrap}.diff-from{background:#fee4e2;color:#8a2b22;text-decoration:line-through}.diff-to{background:#e3f7ed;color:#087443}.diff-arrow{font-size:11px;color:#8a97ac}.diff-empty,.diff-merge{font-size:13px;color:#55607a}.history-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.history-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #eef2f7;border-radius:10px;padding:8px 12px}.history-list em{font-style:normal;color:#8090a5;font-size:12px;margin-left:6px}.content-area.view-sop{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:540px;padding:18px 22px 20px}.content-area.view-sop .sop-workspace{display:flex;flex:1 1 auto;min-height:0}.content-area.view-sop .sop-directory{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.content-area.view-sop .sop-directory-table{flex:1 1 auto;min-height:0;overflow:auto}.sop-directory-head{padding-right:196px}.sop-directory-row{grid-template-columns:132px minmax(0,1fr) 190px minmax(150px,220px) 120px;min-height:38px}.sop-list-task,.sop-list-role,.sop-list-stage{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sop-pagination{flex:0 0 auto}body:has(.sync-wrap.fixed) .content-area.view-sop .sop-pagination{padding-right:240px}@media(min-width:1760px){.content-area.view-sop{padding:24px 30px 26px}.sop-directory-row{grid-template-columns:150px minmax(0,1fr) 230px minmax(180px,280px) 150px;min-height:44px}}@media(max-width:1320px){.sop-directory-row{grid-template-columns:112px minmax(0,1fr) 148px minmax(120px,170px) 104px;padding:0 16px;gap:10px}}@media(max-width:1120px){.sop-directory-row{grid-template-columns:104px minmax(0,1fr) 132px 96px}.sop-directory-row.header span:nth-child(4){display:none}.sop-list-stage{display:none}}@media(max-width:860px){.conflict-cols{grid-template-columns:1fr}.content-area.view-sop{padding:12px 12px 14px}.sop-directory-head{flex-direction:column;align-items:flex-start;gap:10px;padding:16px}.sop-directory-metric{align-self:flex-start}.sop-directory-filters{grid-template-columns:1fr;padding:12px}.sop-role-filter select{width:100%}.sop-directory-row{grid-template-columns:88px minmax(0,1fr) 84px;gap:8px;padding:8px 14px}.sop-directory-row.header span:nth-child(4),.sop-directory-row.header span:nth-child(5),.sop-list-stage,.sop-status{display:none}.sop-list-role{justify-self:end}.sop-drawer{width:100vw}body:has(.sync-wrap.fixed) .content-area.view-sop .sop-pagination{padding-right:20px}.sop-pagination{flex-wrap:wrap;justify-content:center}.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-create-form .form-grid{grid-template-columns:1fr}}.mobile-nav-toggle,.mobile-nav-backdrop,.mobile-only{display:none}@media(max-width:720px){html,body{overflow-x:hidden}.desktop-shell{display:block!important;min-height:100dvh}.sidebar{position:fixed;top:0;left:0;height:100dvh;width:262px!important;max-width:82vw;padding:20px 16px!important;transform:translate(-100%);transition:transform .26s ease;z-index:70;box-shadow:0 0 40px #0f234647;overflow-y:auto}.nav-open .sidebar{transform:none}.sidebar .brand-text,.sidebar .side-nav button>span:not(.nav-icon),.sidebar .side-nav b,.sidebar .side-nav button>.nav-caret,.sidebar .storage-card{opacity:1!important;transform:none!important;display:initial!important;pointer-events:auto!important}.sidebar .brand-lockup{justify-content:flex-start;padding:0 8px}.sidebar .side-nav{padding-top:24px}.sidebar .side-nav button{grid-template-columns:34px 1fr auto!important;justify-content:start!important;padding:0 12px!important}.mobile-nav-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f1b2f6b;z-index:65;opacity:0;visibility:hidden;transition:opacity .24s ease,visibility .24s ease}.nav-open .mobile-nav-backdrop{opacity:1;visibility:visible}.mobile-nav-toggle{display:inline-flex;position:fixed;top:calc(10px + env(safe-area-inset-top));left:12px;z-index:55;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #cfdbeb;border-radius:12px;background:#fffffff5;color:#2f75e8;box-shadow:0 8px 22px #223d6524;cursor:pointer}.mobile-only{display:inline-flex}.session-chip.global{top:calc(10px + env(safe-area-inset-top));right:12px;min-width:0;height:42px;padding:0 5px 0 8px}.session-chip.global>span{width:26px;height:26px}.session-chip.global div{display:none}.session-chip.global button{width:28px;height:28px}.page-header{height:auto;padding:58px 16px 16px!important}.page-header h1{font-size:22px}.page-header p{font-size:12px}.content-area{padding:14px 12px 24px!important}.stats-grid,.stats-grid.viewer-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.stat-card{height:96px;padding:14px}.stat-card strong{font-size:24px}.filters-row{flex-wrap:wrap;padding:12px}.search-box{min-width:100%;flex:1 1 100%}.ledger-split{grid-template-columns:1fr!important;height:auto!important}.table-panel{border-right:0}.table-scroll{height:auto!important;max-height:62vh}.detail-panel{border-top:1px solid #e1e9f2;max-height:none}.flow-workspace{border-radius:12px}.flow-toolbar{padding:8px 10px}.flow-toolbar-main{flex-wrap:wrap}.flow-toolbar .tool-group{width:100%;gap:6px}.flow-toolbar .scope-controls{flex-wrap:wrap;width:100%}.flow-toolbar .scope-controls select{max-width:none;flex:1 1 45%}.flow-scope-bar{height:auto;min-height:36px;padding:6px 10px}.flow-scope-copy{flex-wrap:wrap;white-space:normal}.scope-title{flex:1 1 auto;max-width:none}.scope-card-btn{flex:0 0 auto;height:28px;padding:0 10px;margin-left:auto;border:1px solid #9fc3f5;border-radius:8px;background:#eaf3ff;color:#2b6fdc;font-size:11px;font-weight:700;cursor:pointer}.logicflow-stage,.flow-workspace .logicflow-stage{height:56vh!important;min-height:340px;touch-action:none}.modal-backdrop{padding:0;align-items:flex-end}.modal-card{width:100vw!important;max-width:100vw;border-radius:18px 18px 0 0;max-height:92vh;overflow:auto}.exchange-modal{width:100vw!important}.exchange-content{padding:18px 16px}.conn-card-backdrop{padding:0;align-items:flex-end}.conn-card{width:100vw;max-width:100vw;border-radius:18px 18px 0 0;max-height:86vh}.sync-button.fixed{right:14px;bottom:calc(14px + env(safe-area-inset-bottom))}.toast{left:14px;right:14px;bottom:calc(74px + env(safe-area-inset-bottom));justify-content:center;text-align:center}.demo-view{height:auto}.demo-transport{flex-wrap:wrap}}@media(max-width:480px){.stats-grid,.stats-grid.viewer-stats{grid-template-columns:1fr!important}.page-header h1{font-size:20px}}
