:root{font-family:Inter,"Segoe UI",sans-serif;color:#242335;background:#f7f8fc;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #e4e5ed;border-radius:9px;padding:10px 15px;background:white;color:#403b54;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550}button:hover{background:#f3f0ff;border-color:#cec2f8}button:disabled{opacity:.5;cursor:wait}.primary{background:#7651e8;color:white;border-color:#7651e8;box-shadow:0 3px 8px #7350e827}.primary:hover{background:#6540d8;color:white}.ghost{background:transparent;border:0}.muted{color:#9190a3;font-size:12px}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:white;border-right:1px solid #ececf3;padding:30px 20px;display:flex;flex-direction:column;gap:32px}.brand{font-size:23px;font-weight:760;letter-spacing:-1px;display:flex;align-items:center;gap:10px}.brandmark{display:grid;place-items:center;width:34px;height:36px;border-radius:10px;background:#7651e8;color:white;font-size:24px}.brand small{font-size:10px;color:#a29aaa;letter-spacing:1px;display:block;font-weight:500}.workspace{border:1px solid #ececf3;border-radius:10px;padding:12px;display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;background:#eee9fd;color:#7750dc;width:32px;height:32px;border-radius:8px;font-weight:700}.sidebar nav{display:grid;gap:8px}.nav{width:100%;justify-content:flex-start;border:0;padding:13px;color:#817b92;font-weight:500}.nav.active{background:#f0eafd;color:#7248da}.nav svg{width:19px;height:19px}.sidebar footer{margin-top:auto;border-top:1px solid #eeeaf5;padding-top:20px}.plan{background:#faf8ff;border:1px solid #eae2fc;border-radius:12px;padding:14px;font-size:12px;line-height:1.6}.main{min-width:0}.topbar{height:77px;border-bottom:1px solid #e9e9f2;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 32px}.breadcrumb{display:flex;align-items:center;gap:12px;color:#9a95aa;font-size:13px}.breadcrumb strong{color:#3b354b;font-weight:550}.topright{display:flex;align-items:center;gap:16px}.live{display:flex;align-items:center;gap:7px;font-size:12px;color:#777081}.dot{width:7px;height:7px;border-radius:50%;background:#36ae8a}.content{padding:30px 32px}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#9482b4;text-transform:uppercase}h1{font-size:27px;letter-spacing:-.8px;margin:8px 0 10px}p{color:#8a8398;line-height:1.65;margin:0}.actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.stat{padding:18px 20px;background:white;border:1px solid #e9e8f1;border-radius:12px;display:flex;justify-content:space-between;align-items:center}.stat strong{font-size:25px;display:block;margin-top:9px}.stat .symbol{font-size:20px;border-radius:10px;padding:12px;background:#f2edff;color:#815be4}.editor{border:1px solid #e4e3ee;border-radius:14px;background:white;overflow:hidden}.editorbar{min-height:65px;border-bottom:1px solid #e9e6f0;display:flex;align-items:center;justify-content:space-between;padding:13px 20px;gap:10px}.titleInput{border:0!important;background:transparent!important;font-weight:650;font-size:15px;width:300px;max-width:100%;padding:4px!important}.badge{background:#f3f0f8;color:#8a7c9b;border-radius:6px;padding:5px 8px;font-size:10px}.canvas{min-height:385px;position:relative;overflow:auto;background-color:#fbfafe;background-image:radial-gradient(#dcd7ec .9px,transparent .9px);background-size:20px 20px;padding:68px 50px 35px}.canvashead{position:absolute;left:22px;top:18px;color:#b0a7c0;font-size:10px;letter-spacing:1px;display:flex;gap:8px;align-items:center}.flow{display:flex;align-items:flex-start;justify-content:center;min-width:max-content;min-height:220px;padding-top:30px}.nodeWrap{position:relative;width:180px;text-align:center}.nodeWrap:after{content:'';width:76px;border-top:3px dotted #c6bbdf;position:absolute;top:45px;left:142px}.nodeWrap:last-of-type:after{display:none}.node{height:94px;width:94px;border:7px solid #fbfafe;border-radius:28px;color:white;margin:0 auto 17px;box-shadow:0 4px 12px #34245412;position:relative;font-size:37px;outline:1px solid #ddd5ed}.node:hover,.node.selected{outline:3px solid #c9b6ff;background:var(--node-color);transform:translateY(-3px)}.node.source{background:#17a975;--node-color:#17a975}.node.ai{background:#7953dc;--node-color:#7953dc}.node.facebook{background:#2278ef;--node-color:#2278ef}.node .num{position:absolute;bottom:-12px;right:-10px;background:white;color:#8d849f;border:1px solid #e4deee;font-size:10px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%}.nodeWrap strong{font-size:12px;display:block;margin-bottom:6px}.nodeWrap .muted{font-size:11px;max-width:150px;margin:auto;line-height:1.5}.addnode{margin:25px 10px;width:43px;height:43px;border-radius:50%;font-size:22px;color:#9c8bb9;border:1px dashed #c9bfdc;background:#fff}.canvasnote{display:flex;justify-content:center;gap:7px;color:#a398b5;font-size:11px;margin-top:6px}.editorfooter{padding:14px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e9e6f0;gap:10px}.schedule{display:flex;align-items:center;gap:8px;font-size:12px;color:#81738f}.schedule select{border:1px solid #e5dff0;border-radius:7px;padding:7px;background:white;color:#6a5d7b}.switch{position:relative;width:33px;height:19px;appearance:none;background:#dcd8e6;border-radius:20px;cursor:pointer;flex-shrink:0}.switch:checked{background:#8056e9}.switch:before{content:'';position:absolute;top:3px;left:3px;width:13px;height:13px;background:white;border-radius:50%;transition:.2s}.switch:checked:before{left:17px}.lower{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:22px}.card{border:1px solid #e6e4ee;border-radius:12px;background:#fff;padding:20px}.card h3{font-size:14px;margin:0 0 18px}.connection{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #f1eef6}.connection:first-of-type{border:0}.connection .appicon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#f3f0fa;font-size:19px;font-weight:bold}.connection .text{flex:1}.connection strong{font-size:12px}.connection p{font-size:11px}.connection button{padding:7px 10px;font-size:11px}.empty{padding:35px 10px;text-align:center;color:#a099af;font-size:12px}.empty span{display:block;font-size:26px;margin-bottom:12px;color:#c7bedb}.tip{background:#f5f1fe;border:1px solid #e8defd;padding:12px 17px;border-radius:9px;font-size:11px;color:#87739f;margin-top:18px;line-height:1.6}.drawerback{position:fixed;inset:0;background:#241c3c38;z-index:5}.drawer{position:fixed;right:0;top:0;bottom:0;width:440px;max-width:100%;background:white;z-index:6;padding:25px;box-shadow:-10px 0 50px #2a1e4720;overflow:auto}.drawer h2{font-size:19px;margin:8px 0 25px}.drawer header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee6fa;margin-bottom:22px}.field{display:block;font-size:12px;font-weight:600;margin:19px 0 7px}.drawer input,.drawer select,.drawer textarea{width:100%;padding:11px 12px;border:1px solid #e4deec;border-radius:8px;background:#fefeff;color:#53455f}.drawer textarea{min-height:150px;resize:vertical;line-height:1.6}.hint{font-size:11px;color:#9a8aa8;line-height:1.7;margin-top:8px}.check{display:flex;gap:10px;padding:11px;background:#faf8fe;border-radius:8px;margin-bottom:7px}.check input{width:auto}.drawer .bottom{display:flex;justify-content:space-between;margin-top:30px;gap:7px}.run{padding:13px 0;border-top:1px solid #eee8f6}.run strong{font-size:12px}.run small{color:#aaa0b7}.success{color:#159873}.error{color:#d35967}.run pre{white-space:pre-wrap;font-family:inherit;font-size:12px;line-height:1.7;word-break:break-word;background:#faf8ff;padding:12px}.workflowlist{display:grid;gap:10px;margin-top:20px}.workflowrow{text-align:left;justify-content:space-between;padding:18px}.onboard{padding:12px 18px;border-radius:9px;background:#fff8ec;border:1px solid #f0e4c9;font-size:12px;color:#9c8053;margin-bottom:20px;line-height:1.7}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#302640;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 6px 30px #281a4333;display:none;z-index:15;max-width:90%;line-height:1.5}.mobilebrand{display:none}a{color:#7c56d7;text-decoration:none}@media(min-width:1600px){.content{max-width:1500px;margin:auto}.canvas{min-height:450px;padding-top:95px}}@media(max-width:1100px){.shell{grid-template-columns:185px 1fr}.sidebar{padding:25px 13px}.content{padding:23px}.topbar{padding:0 23px}.lower{grid-template-columns:1fr}.heading{align-items:flex-start}.heading .actions{flex-direction:column}.editorfooter{flex-wrap:wrap}}@media(max-width:720px){.shell{display:block}.sidebar{display:none}.topbar{height:62px;padding:0 15px}.content{padding:19px 14px}.live{display:none}.heading{display:block}.heading .actions{flex-direction:row;margin-top:16px}.stats{gap:8px}.stat{padding:12px}.stat .symbol{display:none}.stat strong{font-size:22px}.stat .muted{font-size:10px}.editorbar{padding:12px;flex-wrap:wrap}.titleInput{width:230px}.canvas{padding:65px 16px 30px;min-height:335px}.nodeWrap{width:145px}.nodeWrap:after{left:123px;width:45px}.schedule{flex-wrap:wrap}.topright{gap:5px}.breadcrumb{font-size:11px}.brand{font-size:18px}}
/* Connection-first module configuration */
.node{border-radius:50%}.drawer:has(#fb-connection){width:550px}.drawer header h2{display:flex;align-items:center;gap:10px}.module-subtitle{font-size:12px;color:#8c8499;margin:12px 0 25px}.field b{color:#e05265}.connection-select{display:flex;align-items:stretch;border:1px solid #e4deec;border-radius:8px;overflow:hidden}.facebook-square{background:#1877f2;color:white;font-family:Arial,sans-serif;font-weight:700;font-size:27px;width:43px;min-width:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px}.connection-select .facebook-square{border-radius:0}.connection-select select{min-width:0;flex:1;border:0;border-radius:0}.connection-select button{border:0;border-left:1px solid #e4deec;border-radius:0;white-space:nowrap}.fieldrow{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.fieldrow .field{margin:0 0 7px}.small-check{font-size:11px;color:#83748f;display:flex;align-items:center;gap:7px}.small-check input{width:auto}.mapping-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.mapping-chip{background:#e8f6f1;color:#0e9c74;border:1px solid #c8eadd;border-radius:4px;font-size:11px;padding:5px 8px;font-weight:650}.mapping-chip:hover{background:#cfeeE1;border-color:#81cab0}.module-footnote{font-size:11px;color:#8f819d;line-height:1.7;margin-top:24px;padding:12px;background:#f8f6fc;border-radius:8px}.connection-warning{background:#fff8ed;border:1px solid #f2dfbd;color:#9b7742;padding:12px;border-radius:8px;font-size:12px;line-height:1.7;margin-top:18px}.connection-warning button{font-size:11px;padding:4px}.oauth-steps{display:grid;gap:12px;margin:25px 0;color:#71627e;font-size:12px}.facebook-login{background:#1877f2;border-color:#1877f2;color:#fff}.facebook-login:hover{background:#1264d0;color:#fff}.config-keys{display:flex;gap:8px;flex-wrap:wrap}.config-keys code,.callback-url{background:#f4f0fa;border-radius:5px;padding:8px;font-size:11px;line-height:1.8;word-break:break-all}.callback-url{display:block}#connection-message{font-size:12px;color:#78608d;line-height:1.7;margin-top:20px}.oauth-result{max-width:650px;margin:10vh auto;padding:30px}.drawer .bottom{position:sticky;bottom:-25px;background:white;padding:18px 0;border-top:1px solid #eee8f5;z-index:1}@media(max-width:720px){.drawer:has(#fb-connection){width:100%}.heading .actions{flex-wrap:wrap}.heading .actions button{font-size:12px}}
