:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182744;background:#f7f9fd;font-synthesis:none;--ink:#182744;--sub:#62708a;--line:#e3e9f2;--light:#f7f9fe;--blue:#4166e7;--darkblue:#2646c4;--shadow:0 15px 44px rgba(25,45,90,.055)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,svg:focus-visible,textarea:focus-visible{outline:3px solid #8ba8ff;outline-offset:2px}a{color:inherit;text-decoration:none}.page-width{max-width:1680px;margin:auto;padding:0 30px}.skip{position:absolute;z-index:20;top:-80px;left:25px;background:#fff;padding:10px}.skip:focus{top:8px}.site-header{height:72px;border-bottom:1px solid #ebeff6;background:#fff}.header-inner{height:100%;display:flex;align-items:center;gap:35px}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-.8px;color:#1f3157}.brand strong{color:#4672ed}.brand-symbol{display:grid;place-items:center;height:35px;width:35px;background:#4169ee;color:#fff;border-radius:11px;font-weight:800;box-shadow:0 5px 15px #4269ee35}.site-header nav{display:flex;gap:26px;font-size:13px;font-weight:600;color:#63718a}.site-header nav a:hover{color:var(--blue)}.private{margin-left:auto;color:#647589;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.dot{width:7px;height:7px;border-radius:99px;background:#21b98b;box-shadow:0 0 0 4px #21b98b14}.hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);align-items:center;gap:38px;padding:54px 18px 51px}.eyebrow{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:.19em;font-weight:800;color:#5373c9}.eyebrow span{width:23px;height:2px;background:#5277e8}.hero h1{font-size:clamp(36px,3.6vw,58px);letter-spacing:-.06em;margin:13px 0 12px;color:#1a2a47;font-weight:800;line-height:1.13}.hero em{font-style:normal;color:#4168e4}.hero p{max-width:740px;color:#66758e;font-size:15px;line-height:1.8;margin:0}.hero-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}.hero-chips span{border:1px solid #e4eafb;background:#fff;border-radius:99px;padding:8px 12px;font-size:11px;font-weight:700;color:#57698d}.hero-illustration{justify-self:center;width:340px;min-height:190px;padding:22px 18px 20px;position:relative;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 15px 30px #4f6acb14)}.hero-illustration:before{content:"";position:absolute;inset:0;border:1px solid #e8edfc;border-radius:20px;background:radial-gradient(circle at 20% 25%,#eff4ff,transparent 68%),#fff;z-index:-1}.mini-node{padding:15px 11px;background:#fff;border:1px solid #dbe4f7;box-shadow:0 5px 15px #6473a012;border-radius:10px;max-width:100px;text-align:center;font-size:11px;font-weight:800;color:#365392}.mini-b{background:#4265d8;color:#fff;border-color:#4265d8}.mini-c{background:#e3f1fa;border-color:#bdd8e9;color:#3e7697}.mini-connector{height:1.5px;width:19px;background:#9eb1d0;position:relative}.mini-connector:after{content:"";border:4px solid transparent;border-left-color:#9eb1d0;position:absolute;right:-8px;top:-3px}.hero-mini-label{position:absolute;bottom:17px;font-size:9px;letter-spacing:.23em;font-weight:700;color:#8597b9}.studio{background:#fff;border:1px solid #e0e8f4;border-radius:19px;overflow:hidden;box-shadow:var(--shadow)}.studio-top{min-height:92px;padding:19px 24px;display:flex;gap:18px;align-items:center;justify-content:space-between;border-bottom:1px solid #e4eaf3;background:#fff}.studio-overline{font-size:9px;font-weight:800;letter-spacing:.16em;color:#8291ac}.project-name-row{display:flex;align-items:center;gap:12px;margin-top:4px}.project-name-row input{font-size:22px;font-weight:800;letter-spacing:-.035em;max-width:520px;min-width:80px;width:100%;border:1px solid transparent;border-radius:8px;padding:0;color:#1a2b4a;outline-offset:4px;background:0 0}.project-name-row input:hover{border-color:#dce6fb}.project-badge{font-size:9px;letter-spacing:.09em;font-weight:900;color:#329477;background:#eaf9f3;border-radius:5px;padding:5px 7px}.save-status{font-size:11px;color:#8491a8;margin-top:5px;min-height:15px}.save-status.error{color:#ae3b42}.top-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.btn{border:1px solid transparent;min-height:35px;padding:9px 14px;border-radius:9px;font-size:12px;font-weight:750;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}.btn:active{transform:scale(.98)}.btn.primary{background:#3e64e7;color:#fff;box-shadow:0 4px 11px #3e64e729}.btn.primary:hover{background:#2c52d4}.btn.secondary{background:#fff;border-color:#dce4f0;color:#3d4f6c}.btn.secondary:hover{background:#f4f7ff}.btn.ghost{color:#71809b;background:#f8faff;border-color:#edf1f8}.btn.ghost:hover{background:#edf2fd}.btn.subtle{background:#f3f6fc;color:#52698a;border:1px solid #e5ecf5}.btn.danger{background:#b9384a;color:#fff}.btn.danger:hover{background:#9c2638}.btn.full{width:100%;white-space:normal}.divider-v{width:1px;height:22px;background:#e1e7f1;margin:0 4px}.studio-layout{display:grid;grid-template-columns:250px minmax(0,1fr) 296px;align-items:stretch;min-height:700px}.left-sidebar,.right-sidebar{min-width:0;background:#fbfcff}.left-sidebar{border-right:1px solid #e4eaf3}.right-sidebar{border-left:1px solid #e4eaf3}.sidebar-section{padding:23px 19px;border-bottom:1px solid #e8edf6}.sidebar-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.sidebar-section h2{margin:0;font-size:12px;color:#273a5a;font-weight:800}.circle-btn{height:26px;width:26px;border:1px solid #dce5f2;border-radius:8px;background:#fff;font-size:20px;font-weight:500;color:#4265d7;line-height:1}.view-list{display:flex;flex-direction:column;gap:6px}.view-btn{width:100%;display:flex;align-items:center;text-align:left;gap:10px;background:0 0;border:1px solid transparent;padding:10px 9px;border-radius:10px;color:#657591;min-height:56px}.view-btn:hover{background:#f2f6fc}.view-btn.active{background:#edf3ff;border-color:#dbe6ff;color:#3157bf}.view-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff;border:1px solid #e5ebf5;font-size:14px;flex:none}.view-btn.active .view-icon{background:#416ce5;color:#fff;border-color:#416ce5}.view-label{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.view-label strong{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view-label small{font-size:10px;color:#92a0b6}.sidebar-foot{margin-top:11px;font-size:10px;color:#96a2b5}.tiny-label{font-size:9px;white-space:nowrap;color:#7890b5;font-weight:800}.palette{display:grid;grid-template-columns:1fr 1fr;gap:8px}.palette button{padding:12px 7px;min-height:72px;border:1px solid #e4eaf5;background:#fff;border-radius:10px;color:#4f6082;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.palette button:hover{border-color:#a9bdf7;background:#f5f8ff}.palette button b{font-size:19px;font-weight:700;color:#4a6adb}.palette button small{font-size:10px;font-weight:700;text-align:center}.palette-tip{font-size:10px;color:#8a99af;line-height:1.7;margin-top:13px}.field-label{display:block;font-size:11px;font-weight:800;color:#4a5c7b;margin:16px 0 7px}.inspector-body input,.inspector-body select,.inspector-body textarea,.modal input,.modal select,.project-section input,.project-section textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid #dde5f0;border-radius:9px;background:#fff;color:#203453;font-size:12px;line-height:1.45;resize:vertical}.inspector-body input:focus,.inspector-body select:focus,.inspector-body textarea:focus,.modal input:focus,.modal select:focus,.project-section input:focus,.project-section textarea:focus{outline:2px solid #a8b9f8;outline-offset:0}.project-section textarea{min-height:70px}.project-section .btn{margin-top:15px}.canvas-column{min-width:0;display:flex;flex-direction:column;background:#fff}.canvas-toolbar{padding:18px 21px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5ebf3}.canvas-toolbar-leading{min-width:0}.view-kicker{color:#6083d3;font-size:9px;letter-spacing:.14em;font-weight:850}.canvas-toolbar h2{font-size:18px;letter-spacing:-.025em;margin:4px 0 0;color:#283955;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.canvas-count{font-size:10px;color:#93a0b7}.canvas-tools{display:flex;align-items:center;gap:5px}.mode-btn{border:1px solid transparent;color:#7385a1;border-radius:7px;background:#f7f9fc;padding:8px 10px;font-size:11px;font-weight:700;white-space:nowrap}.mode-btn.active{background:#eaf0ff;border-color:#d3dfff;color:#315bcf}.mini-btn{width:29px;height:29px;display:grid;place-items:center;border:1px solid #e0e7f2;background:#fff;color:#536785;border-radius:7px;font-size:17px}.fit-btn{font-size:10px;font-weight:800}.zoom-display{font-size:10px;font-weight:750;color:#657691;min-width:36px;text-align:center}.canvas-stage{position:relative;background:#fcfdff;min-height:530px;flex:1;overflow:hidden}.canvas-stage svg{width:100%;height:100%;min-height:530px;display:block;touch-action:none;user-select:none;cursor:grab}.canvas-stage svg.connecting{cursor:crosshair}.canvas-stage svg:active{cursor:grabbing}.canvas-hint{pointer-events:none;position:absolute;bottom:14px;left:18px;padding:8px 10px;font-size:10px;color:#8190a8;background:#ffffffd9;border:1px solid #e9eef6;border-radius:8px}.connect-note{position:absolute;top:12px;left:50%;transform:translateX(-50%);background:#e9f0ff;border:1px solid #c7d7ff;border-radius:9px;color:#3458b7;font-size:11px;font-weight:800;padding:8px 12px;pointer-events:none;white-space:nowrap;max-width:95%;overflow:hidden;text-overflow:ellipsis}.canvas-footer{min-height:57px;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e8edf5}.legend{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:#8190a6;font-size:9px;font-weight:700}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:9px;height:9px;border-radius:3px}.legend-person{background:#e2b260}.legend-system{background:#5474d2}.legend-data{background:#31a4a1}.footer-actions{display:flex;gap:5px}.text-action{border:1px solid #e3eafa;background:#fff;border-radius:7px;font-size:10px;color:#526da3;font-weight:800;padding:7px 9px}.text-action:hover{background:#f2f6ff}.inspector-tabs{display:flex;align-items:stretch;padding:10px 12px 0;border-bottom:1px solid #e7edf5;gap:2px}.inspector-tabs button{flex:1;min-width:0;padding:11px 5px;border:0;background:0 0;color:#8290a8;font-size:11px;font-weight:750;border-bottom:2px solid transparent}.inspector-tabs button.chosen{color:#3b61d1;border-bottom-color:#4a70e2}.issue-count{display:inline-block;background:#edf1fb;border-radius:99px;padding:1px 5px;color:#62799d;font-size:9px}.inspector-body{padding:22px 18px;max-height:710px;overflow-y:auto;scrollbar-width:thin}.inspector-body[hidden]{display:none}.section-heading h3{font-size:15px;color:#2d4263;margin:0 0 6px}.section-heading p{font-size:11px;line-height:1.65;color:#8190a8;margin:0 0 15px}.inspector-body .btn{margin-top:12px}.inspector-body .field-label{margin-top:12px}.inspector-body textarea{resize:vertical;min-height:95px}.empty-inspector{text-align:center;margin:42px 2px;color:#8795aa}.empty-inspector .empty-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:19px;background:#eaf0ff;color:#5e7cdb;font-size:26px;margin:0 auto 18px}.empty-inspector h3{font-size:14px;color:#4b6185;margin:0 0 8px}.empty-inspector p{font-size:11px;line-height:1.7;margin:0}.element-kind{font-size:10px;color:#6980a4;background:#edf3ff;border-radius:5px;padding:5px 7px;font-weight:850;display:inline-block}.inspector-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.inspector-actions button{font-size:11px;min-height:32px;margin:0!important}.warning-action{color:#a3374a;background:#fff;border:1px solid #f2cdd3;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800}.inspector-help{font-size:10px;color:#8493ac;line-height:1.6;margin-top:13px}.review-item{padding:12px;background:#fff;border:1px solid #e4e9f2;border-radius:9px;margin-bottom:8px}.review-item b{display:inline-block;color:#926d2b;font-size:9px;letter-spacing:.08em;margin-bottom:5px}.review-item[data-severity=info] b{color:#6283af}.review-item p{margin:0;color:#687993;line-height:1.55;font-size:11px}.review-success{padding:15px;border-radius:10px;background:#effaf5;color:#287b57;font-size:12px;line-height:1.6}.studio-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 23px;background:#fafcff;border-top:1px solid #e7edf5;color:#8190a7;font-size:10px}.studio-bottom strong{color:#406cba}.keyboard-tip{color:#9aa7bc}.guide{padding:78px 12px 70px}.guide-header{max-width:740px}.guide h2{font-size:clamp(25px,3.2vw,39px);letter-spacing:-.045em;color:#243650;margin:11px 0 10px}.guide-header p{font-size:14px;line-height:1.8;color:#77859e}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:31px}.guide-grid article{padding:24px;background:#fff;border:1px solid #e6edf7;border-radius:14px}.guide-n{font-size:12px;font-weight:900;color:#476be1}.guide-grid h3{font-size:16px;color:#2e3e5b;margin:17px 0 7px}.guide-grid p{font-size:12px;color:#76869f;line-height:1.8;margin:0}.guide-disclaimer{font-size:11px;color:#8896ac;line-height:1.8;margin-top:20px}.site-footer{border-top:1px solid #e8edf5;background:#fff}.footer-inner{padding-top:24px;padding-bottom:24px;display:flex;justify-content:space-between;font-size:11px;color:#91a0b7}.modal{border:1px solid #dce5f3;border-radius:18px;padding:24px;box-shadow:0 30px 70px #20345535;max-width:min(450px,calc(100vw - 25px));width:100%;color:#243754}.modal::backdrop{background:#172b4c70;backdrop-filter:blur(2px)}.modal h2{font-size:20px;letter-spacing:-.03em;margin:0 0 7px}.modal p{font-size:12px;line-height:1.6;color:#7788a0;margin:0 0 17px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.toast{position:fixed;z-index:99;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);color:#fff;background:#293e62;padding:12px 17px;border-radius:12px;box-shadow:0 12px 36px #20345540;font-size:12px;font-weight:700}.toast[hidden]{display:none}.node-hit{cursor:move;outline:0}.node-hit:focus-visible .node-outline{stroke:#e8a03b;stroke-width:4}.node-hit text{pointer-events:none}.relation-hit{cursor:pointer}.relation-hit.selected path{stroke:#476de7}.canvas-stage svg .relation-hit:focus{outline:0}.relation-hit:focus-visible .edge-visible{stroke:#e8a03b;stroke-width:5}.node-hit.selected .node-outline{stroke:#fbba48;stroke-width:4}.node-hit.connection-source .node-outline{stroke:#ee934e;stroke-width:5}.canvas-stage svg text{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.canvas-stage svg .background{cursor:grab}@media(max-width:1350px){.studio-layout{grid-template-columns:220px minmax(0,1fr) 260px}.sidebar-section{padding:19px 13px}.inspector-body{padding:18px 13px}.canvas-toolbar{padding:14px 12px}.canvas-footer{align-items:flex-start;flex-wrap:wrap}.mode-btn span{display:none}}@media(max-width:1100px){.studio-layout{grid-template-columns:190px minmax(0,1fr)}.right-sidebar{grid-column:1/-1;border-left:0;border-top:1px solid #e4eaf3}.inspector-body{max-height:450px}.inspector-tabs{justify-content:center}.inspector-tabs button{max-width:210px}.palette{grid-template-columns:1fr 1fr}.left-sidebar{grid-row:1}.canvas-column{grid-row:1}.studio-top{align-items:flex-start}.hero{grid-template-columns:1fr .48fr}.hero-illustration{width:260px}.mini-node{font-size:9px;padding:10px 6px}.mini-connector{width:10px}}@media(max-width:760px){.page-width{padding:0 14px}.site-header{height:62px}.header-inner{gap:12px}.brand{font-size:18px}.site-header nav{margin-left:auto;gap:12px;font-size:11px}.private{display:none}.hero{grid-template-columns:1fr;gap:0;padding:35px 7px 29px}.hero p{font-size:13px}.hero-illustration{display:none}.hero h1{font-size:38px}.studio-top{padding:16px;flex-direction:column}.top-actions{width:100%;gap:6px}.top-actions .btn{flex:1}.top-actions .divider-v{display:none}.project-name-row input{font-size:18px}.studio-layout{display:block}.left-sidebar{border:0;border-bottom:1px solid #e5ebf3}.sidebar-section{padding:15px}.view-list{flex-direction:row;overflow-x:auto;padding-bottom:4px}.view-btn{min-width:160px}.sidebar-foot{display:none}.palette-section{border-top:1px solid #e8edf6}.palette{display:flex;overflow-x:auto}.palette button{flex:0 0 96px;min-height:64px}.palette-tip{margin:9px 0 0}.project-section{display:none}.canvas-toolbar{align-items:flex-start;flex-direction:column}.canvas-tools{flex-wrap:wrap}.canvas-stage{min-height:430px}.canvas-stage svg{min-height:430px;height:430px}.canvas-hint{bottom:9px;left:9px;right:9px;font-size:9px;text-align:center}.canvas-footer{padding:10px}.right-sidebar{border-top:1px solid #e4eaf3}.inspector-body{max-height:500px}.studio-bottom{padding:12px}.keyboard-tip{display:none}.guide{padding:50px 5px}.guide-grid{grid-template-columns:1fr;gap:10px;margin-top:20px}.guide-grid article{padding:18px}.guide-grid h3{margin:8px 0}.footer-inner{gap:10px;flex-wrap:wrap}}@media(max-width:390px){.hero h1{font-size:34px}.hero-chips{gap:5px}.hero-chips span{font-size:9px;padding:7px}.top-actions .btn{padding:8px;font-size:10px}.canvas-tools{gap:3px}.mode-btn{padding:8px 7px}.canvas-footer{gap:7px}.legend{gap:7px}.canvas-hint{font-size:8px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}#reuse-element{grid-column:1/-1;width:100%;min-width:0;max-width:100%;padding:9px 8px;border:1px solid #dfe6f2;border-radius:9px;background:#fff;color:#536684;font-size:11px;overflow:hidden;text-overflow:ellipsis}.palette .reuse-button{grid-column:1/-1;min-height:34px;display:block;padding:8px 10px;text-align:center;background:#edf3ff;color:#3e61be;border-color:#d9e5ff;font-size:11px;font-weight:800}@media(max-width:760px){#reuse-element{flex:0 0 135px;align-self:center}.palette .reuse-button{flex:0 0 112px;align-self:center;min-height:37px}}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#element-find{width:100%;min-width:0;border:1px solid #dce6f3;border-radius:9px;background:#fff;padding:10px 11px;font-size:12px;color:#263957}.find-results{margin-top:9px;font-size:10px;line-height:1.5;color:#8090ac;max-height:220px;overflow:auto;scrollbar-width:thin}.find-result{width:100%;display:flex;flex-direction:column;gap:3px;text-align:left;background:#fff;border:1px solid #e4eaf4;border-radius:8px;padding:9px;margin-bottom:5px;min-width:0;color:#31466c}.find-result:focus-visible,.find-result:hover{background:#edf3ff;border-color:#bdcdf9}.find-result strong{font-size:11px;overflow-wrap:anywhere}.find-result small{font-size:9px;color:#7585a0;overflow-wrap:anywhere}.finder-hint{font-size:10px;color:#7f8da3}@media(max-width:760px){.find-section{padding:12px 15px}.find-results{max-height:170px}}