@font-face{font-family:App;src:local('Inter'),local('Segoe UI');font-display:swap}
:root{font-family:App,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#e7e9e8;background:#0b0d0e;font-size:14px;--bg:#0b0d0e;--panel:#101214;--card:#111315;--border:#25292c;--muted:#8c9395;--brand-accent:#a870df;--brand-soft:#2a173c;--danger:#ec6677}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit;text-decoration:none}button,input,textarea,select{outline:none}button:focus-visible,a:focus-visible{outline:2px solid var(--brand-accent);outline-offset:3px}input:focus,textarea:focus,select:focus{border-color:#8665a7!important;box-shadow:0 0 0 2px #a870df10}input,textarea,select{width:100%;border:1px solid #303538;color:#e2e6e4;background:#111416;border-radius:7px;padding:10px 12px}textarea{min-height:86px;resize:vertical;line-height:1.6}input[type=checkbox]{width:16px;height:16px;accent-color:var(--brand-accent)}input[type=color]{width:44px;height:36px;padding:3px;cursor:pointer}input[type=range]{accent-color:var(--brand-accent);padding:0}select{color-scheme:dark}input[type=file]{font-size:12px;padding:8px}::placeholder{color:#6e7679}h1,h2,h3,h4,p{margin:0}svg.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.green{color:var(--brand-accent)}.danger{color:var(--danger)}.small{font-size:12px;line-height:1.6}.row{display:flex;align-items:center;gap:9px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.spacer{flex:1}.stack{display:flex;flex-direction:column;gap:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #303538;background:transparent;color:#b7bdbb;padding:9px 13px;border-radius:6px;white-space:nowrap;font-weight:500;min-height:36px;transition:.16s}.button:hover{color:#ded2e9;border-color:#675579;background:#ffffff04}.button.primary{background:var(--brand-accent);color:#1a1124;border-color:var(--brand-accent);font-weight:650}.button.primary:hover{background:#c195ed}.button.soft{background:#2c183f;color:var(--brand-accent);border-color:#3e2458}.button.danger{color:#f38491}.button.ghost{border-color:transparent}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:#8e979a;width:33px;height:33px;border-radius:5px;flex-shrink:0}.icon-button:hover{background:#ffffff0b;color:var(--brand-accent)}.icon-button.danger:hover{color:#f17a88;background:#f17a8810}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;border:1px solid #313c33;border-radius:5px;background:#261c30;color:#bd9cdd;padding:3px 7px}.badge.gray{background:#202427;color:#a5afb3;border-color:#32393d}.pill{font-size:11px;color:#a5b0a9;background:#1b2420;padding:4px 8px;border-radius:30px}.dot{width:7px;height:7px;background:var(--brand-accent);border-radius:50%;display:inline-block}.switch{position:relative;display:inline-flex;width:41px;height:24px;border-radius:30px;border:0;background:#303739;padding:3px;align-items:center;transition:.2s;flex-shrink:0}.switch:before{content:'';height:18px;width:18px;background:#e9edeb;border-radius:50%;transition:.2s}.switch[aria-checked=true]{background:#e6eae8}.switch[aria-checked=true]:before{background:#171b1c;transform:translateX(17px)}.switch-label{display:flex;align-items:center;gap:7px;font-size:12px;color:#9ca5a0}
/* Workspace */
.workspace{display:flex;min-height:100dvh}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;border-right:1px solid #242a28;background:#0e1211;display:flex;flex-direction:column;z-index:20;padding:25px 16px}.brand{font-size:23px;font-weight:730;letter-spacing:-1px;color:#ece7f0;gap:11px;padding:0 10px 29px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#321d46;color:#b27be9;border-radius:10px;font-size:25px;font-weight:750;letter-spacing:-3px;padding-right:4px}.usage{border:1px solid #26342b;border-radius:9px;background:#151d18;padding:13px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1px;color:#85958b;font-weight:650}.usage .number{font-size:19px;font-weight:650;margin:7px 0}.meter{height:4px;background:#2e2537;border-radius:9px;margin:8px 0;overflow:hidden}.meter span{display:block;height:100%;background:#a870df;border-radius:8px;min-width:3px}.nav-label{font-size:11px;color:#77847d;padding:0 12px 11px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;color:#8d9c94;border:0;background:transparent;text-align:left;padding:12px;border-radius:7px;font-size:13px;margin-bottom:5px}.nav-item:hover{background:#1f1826;color:#dad0e3}.nav-item.active{background:#2a183b;color:#ac7bdd}.sidebar-bottom{margin-top:auto}.local-note{border:1px solid #29362e;background:#1a1520;border-radius:8px;padding:12px;color:#a9b8ac;font-size:11px;line-height:1.7;margin-bottom:15px}.account{border-top:1px solid #29322d;padding:17px 5px 0;gap:10px}.account-avatar{display:grid;place-items:center;background:#30263a;color:#ccc0d8;width:34px;height:34px;border-radius:50%;font-size:13px}.account strong{display:block;font-size:12px}.account span{font-size:10px;color:#7d8f83}.workspace-main{margin-left:224px;flex:1;min-width:0}.workspace-bar{height:62px;border-bottom:1px solid #222a25;display:flex;align-items:center;padding:0 30px;color:#96a39c;font-size:12px;gap:12px}.workspace-bar .right{margin-left:auto}.page{max-width:1440px;margin:auto;padding:34px 35px 70px}.page-title{font-size:27px;font-weight:650;letter-spacing:-.8px}.page-subtitle{color:#85948b;margin-top:7px;font-size:13px}.toolbar{margin:28px 0 24px;display:flex;align-items:center;gap:14px}.segmented{display:flex;gap:4px;background:#111715;border:1px solid #26302b;padding:4px;border-radius:7px}.segmented button{color:#829287;background:transparent;border:0;border-radius:4px;font-size:12px;padding:7px 15px}.segmented button.active{background:#30243b;color:#bc94e4}.search{position:relative;margin-left:auto;width:240px}.search svg{position:absolute;left:11px;top:10px;color:#6c7e72;width:16px}.search input{padding:9px 11px 9px 35px;font-size:12px;background:#111614;border-color:#29342d}.flow-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}.flow-card{border:1px solid #2a342e;background:#111715;border-radius:12px;overflow:hidden;transition:border-color .15s}.flow-card:hover{border-color:#534264}.flow-cover{height:128px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 70% 130%,#64438560,transparent 65%),linear-gradient(125deg,#1a1123,#2c1f38)}.flow-cover.direct{background:radial-gradient(ellipse at 70% 130%,#b36ed040,transparent 65%),linear-gradient(125deg,#191724,#36273f)}.flow-cover .cover-icon{position:absolute;left:24px;top:24px;width:55px;height:55px;display:grid;place-items:center;border-radius:14px;border:1px solid #a97dd435;background:#ffffff05;color:#aa87cd}.flow-cover.direct .cover-icon{color:#cfb4ef;border-color:#bf9ce940}.cover-icon svg{width:27px;height:27px}.cover-bubbles{position:absolute;right:25px;top:24px;width:123px;display:flex;flex-direction:column;gap:8px;transform:rotate(-7deg)}.cover-bubbles i{display:block;background:#ffffff10;border:1px solid #ffffff0a;height:20px;border-radius:6px;width:100%}.cover-bubbles i:nth-child(2){margin-left:32px;width:85%;background:#9e6bd122}.flow-cover.direct .cover-bubbles i:nth-child(2){background:#c29dee22}.flow-cover .badge{position:absolute;left:15px;bottom:12px;background:#181020d9;backdrop-filter:blur(6px)}.flow-cover .cover-more{position:absolute;right:10px;top:8px}.flow-card-body{padding:19px 20px 0}.flow-name{font-size:16px;font-weight:600;letter-spacing:-.2px;margin-bottom:7px}.flow-profile{font-size:12px;color:#8d9c93}.flow-link{font-size:12px;color:#9b82b4;display:flex;gap:7px;align-items:center;margin:19px 0;background:#1a1520;border:1px solid #2f2637;border-radius:6px;padding:9px;width:100%;text-align:left}.flow-link .icon{width:14px;height:14px}.flow-card-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:0 0 19px}.stat-num{font-size:21px;color:#e0d9e7;font-weight:550}.stat-desc{font-size:11px;color:#7c8f82;margin-top:5px}.flow-card-footer{padding:11px 13px;border-top:1px solid #29332d;display:flex;align-items:center;gap:3px}.flow-card-footer .edit{margin-right:auto;border:0;color:#b189d8;background:#251a30;padding:8px 12px;font-size:12px;min-height:32px}.flow-card-footer .icon-button{width:30px;height:30px}.flow-card-date{font-size:10px;color:#6a7b71;padding:0 20px 15px}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;border:1px dashed #344239;border-radius:12px;color:#9bb09e;gap:15px}.empty-state svg{width:36px;height:36px}.empty-state p{font-size:13px;color:#7c8d80}.settings-card{background:#111715;border:1px solid #2c3830;border-radius:10px;max-width:760px;padding:25px;margin-top:25px}.settings-card h3{font-size:16px;margin-bottom:8px}.settings-card p{color:#8a9c90;font-size:13px;line-height:1.8}.info-strip{font-size:12px;line-height:1.7;border:1px solid #314333;color:#a3b89f;background:#201926;border-radius:7px;padding:12px 14px;margin:15px 0}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.metric-card{background:#111715;border:1px solid #2c3830;border-radius:9px;padding:22px}.metric-card .metric-label{font-size:10px;font-weight:650;color:#83978a;letter-spacing:1px}.metric-card strong{display:block;font-size:31px;color:#e0d9e7;font-weight:600;margin-top:12px}.metric-card .icon{color:#ab7bda;margin-bottom:12px}.chart-panel{border:1px solid #2a362e;border-radius:10px;background:#111715;padding:22px;margin-bottom:20px}.chart-panel h3{font-size:14px;margin-bottom:20px}.bar-row{display:grid;grid-template-columns:150px 1fr 42px;align-items:center;gap:12px;font-size:12px;color:#9eafa2;margin:16px 0}.bar-row .bar{height:12px;border-radius:5px;background:#27202e;overflow:hidden}.bar-row .bar i{height:100%;display:block;background:#9b68ce;border-radius:5px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{text-align:left;padding:13px 12px;border-bottom:1px solid #29352d}.data-table th{color:#7f9486;font-weight:500}.data-table td{color:#b6c9b9}
/* Editor */
.editor{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#0b0d0e}.editor-header{height:64px;min-height:64px;display:flex;align-items:center;padding:0 17px;border-bottom:1px solid #292d2c;gap:10px;background:#0c0e0e;z-index:25}.editor-name{width:229px;max-width:23vw;display:flex;align-items:center;gap:7px;color:var(--brand-accent);border:1px solid #2c3430;background:#141118;padding:7px 10px;border-radius:5px}.editor-name input{padding:0;border:0;background:transparent;color:var(--brand-accent);font-size:13px;font-weight:600;box-shadow:none!important}.editor-name svg{width:15px;height:15px;flex-shrink:0}.editor-tabs{display:flex;align-items:center;gap:3px;flex-shrink:0}.editor-tab{position:relative;background:transparent;border:0;color:#a5aaa7;padding:10px 13px;font-size:13px;border-radius:6px;white-space:nowrap}.editor-tab.active{background:#2c193f;color:#aa77dc}.new-tag{position:absolute;top:-5px;right:-3px;background:#7731bc;border:1px solid #9f64da;color:white;font-size:8px;font-weight:700;border-radius:10px;padding:2px 6px;box-shadow:0 0 12px #8d43d620}.editor-status{font-size:11px;color:#8a958b;white-space:nowrap;display:flex;align-items:center;gap:6px;margin-left:auto}.editor-status .dot{width:6px;height:6px}.editor-actions{display:flex;align-items:center;gap:7px}.editor-actions .button{font-size:12px;padding:7px 10px}.editor-actions .icon{width:15px;height:15px}.editor-body{display:flex;flex:1;min-height:0}.library{width:224px;min-width:224px;overflow:auto;border-right:1px solid #252a28;background:#101416;padding:18px 12px 35px;scrollbar-width:thin;scrollbar-color:#3c4440 transparent}.library h3{font-size:13px;color:#a875db;font-weight:600;margin-bottom:3px}.library-intro{font-size:11px;color:#78827d;margin-bottom:23px}.library-category{font-size:10px;color:#6e7972;letter-spacing:1px;margin:22px 0 10px}.library-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.library-item{position:relative;display:flex;align-items:center;gap:7px;min-width:0;padding:7px 6px;background:linear-gradient(145deg,#171d20,#111619);border:1px solid #2b3234;border-radius:10px;color:#b5bdc0;min-height:48px;text-align:left;font-size:11px;font-weight:550;transition:.15s}.library-item .lib-icon{display:grid;place-items:center;border:1px solid #30393c;background:#1b2427;border-radius:6px;width:29px;height:31px;color:#8e9b9b;flex-shrink:0}.library-item .icon{width:15px;height:15px}.library-item .label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-item:hover{border-color:#715b87;color:#dcd1e6;transform:translateY(-1px)}.library-item .new-dot{position:absolute;top:6px;right:6px;width:5px;height:5px;border-radius:50%;background:#a86fe1}.library-item.unavailable{opacity:.5}.library-item.unavailable:hover{transform:none;border-color:#3a4443}.sequence{flex:1;min-width:285px;overflow:auto;padding:26px 27px 85px;background:#0e1011;scrollbar-width:thin;scrollbar-color:#414b45 transparent}.sequence-hint{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:10px;color:#707d73;margin-bottom:19px;padding:0 3px}.sequence-hint strong{font-size:11px;color:#a6b6a8;font-weight:500}.node-card{border:1px solid #252a27;border-radius:14px;background:linear-gradient(130deg,#121514,#0f1111);margin-bottom:12px;overflow:hidden;transition:border-color .15s}.node-card.open{border-color:#5f4c71;box-shadow:0 0 0 1px #9664c809}.node-card.dragging{opacity:.4}.node-card.dragover{border-color:#a87ad6;box-shadow:0 -4px 0 -2px #a87ad6}.node-header{display:flex;align-items:center;gap:10px;min-height:70px;padding:14px 13px}.drag-handle{cursor:grab;color:#56645c;border:0;background:transparent;padding:2px;display:flex}.drag-handle .icon{width:15px}.node-icon{color:#7e8d83;display:flex}.node-title-button{background:none;border:0;color:#dddeda;padding:4px 0;min-width:0;text-align:left;display:flex;gap:7px;align-items:center;flex:1;font-size:13px;font-weight:550}.node-title-button .index{color:#758379;font-size:11px;font-weight:400}.node-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:225px}.node-header>.icon-button{width:27px;height:27px}.node-header>.icon-button .icon{width:15px;height:15px}.node-fields{border-top:1px solid #252d27;padding:18px 18px 20px}.field{margin-bottom:15px;display:block}.field:last-child{margin-bottom:0}.field-label{display:block;color:#bcc8bd;font-size:11px;margin-bottom:7px;line-height:1.6}.field-help{font-size:10px;line-height:1.7;color:#718176;margin-top:6px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-row .field{margin-bottom:12px}.node-fields input,.node-fields textarea,.node-fields select{font-size:12px;background:#0c100e;padding:9px 10px;border-color:#303a32}.field-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#a7b6aa;margin:12px 0}.option-editor{border:1px solid #2a352d;border-radius:8px;background:#141118;padding:12px;margin-bottom:9px}.option-editor .between{margin-bottom:9px;font-size:10px;color:#718276}.option-editor .field{margin-bottom:9px}.node-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #273128;padding-top:13px;margin-top:18px}.node-bottom .button{font-size:10px;padding:5px 8px;min-height:28px}.add-end{width:100%;border:1px dashed #354a38;border-radius:10px;color:#9d82b8;background:transparent;padding:15px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px}.add-end:hover{border-color:#9f76c8;background:#18131e}.preview-column{width:38%;min-width:355px;max-width:560px;background:#0a0d0c;border-left:1px solid #252c28;display:flex;flex-direction:column;padding:17px 17px 0;gap:12px}.preview-topline{display:flex;align-items:center;gap:8px;color:#65776a;font-size:10px;padding:0 4px}.preview-topline .spacer{margin-left:auto}.preview-topline button{background:transparent;border:0;color:#9583a8;font-size:10px;padding:0;display:flex;align-items:center;gap:4px}.preview-topline .icon{width:12px;height:12px}.preview-device{border:4px solid #2b3730;border-radius:26px 26px 0 0;overflow:hidden;flex:1;min-height:0;box-shadow:0 0 0 1px #0e0b10}.preview-device>#preview-host{height:100%}.preview-device .chat{border:0}.device-empty{padding:60px 20px;text-align:center;color:#5b756a;line-height:1.8}.mobile-editor-nav{display:none}.graph-area{position:relative;flex:1;overflow:auto;background-color:#0d1112;background-image:radial-gradient(#35423a 1px,transparent 1px);background-size:22px 22px;min-width:0}.graph-toolbar{position:sticky;top:18px;left:18px;display:flex;gap:5px;width:max-content;z-index:3;background:#17131b;border:1px solid #344737;border-radius:7px;padding:4px;margin:18px}.graph-toolbar button{background:transparent;border:0;color:#b8cbbd;padding:7px;font-size:11px;display:flex;align-items:center;gap:7px}.graph-track{padding:30px 60px 80px;display:flex;align-items:flex-start;gap:45px;transform-origin:top left;min-width:max-content}.graph-node{position:relative;width:240px;border:1px solid #614c76;border-radius:10px;background:#1a1420;box-shadow:0 9px 30px #0003}.graph-node:not(:last-child):after{content:'';position:absolute;top:37px;right:-46px;width:45px;border-top:2px solid #856a9f}.graph-node-header{display:flex;align-items:center;gap:8px;padding:13px;border-bottom:1px solid #433551;color:#bfa1dd;font-size:12px}.graph-node-body{padding:15px;color:#94ab9b;font-size:12px;line-height:1.7;min-height:100px}.graph-node-footer{padding:8px 13px;border-top:1px solid #372d41;font-size:10px;color:#73917b}.graph-node .button{font-size:10px;padding:5px 10px;min-height:28px}.landing-editor{flex:1;overflow:auto;padding:30px;min-width:0}.landing-editor h2{font-size:20px;margin-bottom:8px}.landing-editor>.stack{max-width:620px}.landing-preview{height:100%;padding:35px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:22px;color:#2b2036;background:#fff}.landing-preview h1{font-size:28px;line-height:1.25;letter-spacing:-.8px}.landing-preview p{font-size:14px;line-height:1.8;opacity:.7}.landing-preview img{width:100%;max-height:240px;object-fit:cover;border-radius:15px}.landing-preview .button{background:#401b64;color:white;padding:13px 25px;border:0;border-radius:30px}.landing-preview .brand-mark{font-size:36px;width:60px;height:60px;border-radius:18px}.landing-preview small{font-size:10px;opacity:.5}
/* Conversation */
.chat{--chatbg:#e7e0d7;--chatheader:#075e54;--chatheadtext:white;--bubble:white;--bubbletext:#27352e;--user:#d6f5c4;--usertext:#263629;--inputbg:#f0f2ef;--inputfield:white;--inputtext:#69786e;--accent:#0b8e70;color:var(--bubbletext);background:var(--chatbg);height:100%;display:flex;flex-direction:column;position:relative;isolation:isolate}.chat.whatsapp{--chatbg:#0c1418;--chatheader:#101c20;--bubble:#1e2a2f;--bubbletext:#e6eeea;--user:#165540;--usertext:#e1f5e9;--inputbg:#101c20;--inputfield:#203037;--inputtext:#9daea5}.chat.instagram{--chatbg:#fff;--chatheader:#fff;--chatheadtext:#18202a;--bubble:#f0f1f4;--bubbletext:#202536;--user:#7852ed;--usertext:#fff;--inputbg:#fff;--inputfield:#f5f5f7;--inputtext:#8c8a99;--accent:#7852ed}.chat.messenger{--chatbg:#fff;--chatheader:#fff;--chatheadtext:#17253a;--bubble:#f0f2f6;--bubbletext:#223047;--user:#1677ee;--usertext:#fff;--inputbg:#fff;--inputfield:#f1f4f8;--inputtext:#7a899a;--accent:#1677ee}.chat.default{--chatbg:#f5f7f5;--chatheader:#183f2c;--bubble:#fff;--bubbletext:#254032;--user:#d3ebcc;--usertext:#23472b;--inputbg:#eef3ec;--inputfield:#fff;--inputtext:#728273;--accent:#2e874c}.chat.whatsapp-light:before,.chat.whatsapp:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.2;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86' height='86' viewBox='0 0 86 86'%3E%3Cg fill='none' stroke='%237f8e80' stroke-width='1' opacity='.4'%3E%3Cpath d='M13 15h16v12H19l-5 4v-4h-1zM62 14l5 7-5 7-5-7zM46 55l9-5 9 5v10l-9 5-9-5zM14 62l4-7 4 7 8 1-6 5 2 8-8-4-7 4 2-8-6-5z'/%3E%3Ccircle cx='41' cy='35' r='3'/%3E%3C/g%3E%3C/svg%3E")}.chat-header{background:var(--chatheader);color:var(--chatheadtext);display:flex;align-items:center;gap:10px;padding:13px 15px;flex-shrink:0;box-shadow:0 1px 4px #0000000a;z-index:4}.chat-avatar{width:39px;height:39px;border-radius:50%;background:linear-gradient(145deg,#e9c798,#8f6c9c);display:grid;place-items:center;color:white;font-size:15px;font-weight:650;flex-shrink:0;object-fit:cover}.chat-name{font-size:14px;font-weight:600;display:flex;gap:5px;align-items:center}.verified{display:inline-flex;align-items:center;justify-content:center;font-size:9px;width:13px;height:13px;border-radius:50%;background:#35b6db;color:#075e54}.chat-status{font-size:10px;opacity:.72;margin-top:3px;display:flex;gap:5px;align-items:center}.chat-status .dot{background:#84df93;width:5px;height:5px}.chat-header-actions{display:flex;gap:5px;margin-left:auto}.chat-header-actions button{color:inherit;width:26px;height:28px;opacity:.8}.chat-header-actions svg{width:17px}.chat.instagram .chat-header,.chat.messenger .chat-header{border-bottom:1px solid #ebedf1;box-shadow:none}.chat.instagram .chat-avatar{padding:2px;border:2px solid #d277bc;background:linear-gradient(140deg,#f8ad71,#9167d8)}.chat-history{flex:1;min-height:0;overflow:auto;padding:14px 13px 24px;scrollbar-width:thin;scrollbar-color:#80908055 transparent;display:flex;flex-direction:column;gap:10px;position:relative;overscroll-behavior:contain}.business-label{font-size:10px;align-self:center;max-width:100%;color:#47756a;background:#d7efdfcf;border-radius:7px;padding:8px 12px;display:flex;gap:6px;align-items:center;margin:0 0 10px;box-shadow:0 1px 2px #00000010}.business-label .icon{width:12px;height:12px}.chat.whatsapp .business-label{background:#203a32;color:#a4c4b2}.chat.instagram .business-label,.chat.messenger .business-label{background:transparent;color:#9197a4;box-shadow:none;font-size:9px}.direct-intro{text-align:center;color:var(--bubbletext);padding:8px 0 25px;display:flex;flex-direction:column;align-items:center;gap:7px}.direct-intro .chat-avatar{width:65px;height:65px;font-size:25px;margin-bottom:5px}.direct-intro strong{font-size:15px}.direct-intro span{font-size:10px;opacity:.5}.bubble{position:relative;border-radius:0 9px 9px 9px;background:var(--bubble);color:var(--bubbletext);padding:10px 11px 6px;max-width:89%;width:max-content;min-width:65px;box-shadow:0 1px 2px #00000010;align-self:flex-start;font-size:12px;line-height:1.55;overflow-wrap:anywhere;animation:appear .18s ease}.bubble.user{background:var(--user);color:var(--usertext);border-radius:9px 0 9px 9px;align-self:flex-end;max-width:85%}.chat.instagram .bubble,.chat.messenger .bubble{border-radius:17px;box-shadow:none}.chat.instagram .bubble.user{background:linear-gradient(135deg,#8b4cdf,#5862f0)}.bubble-text{white-space:pre-wrap}.bubble-time{display:flex;align-items:center;justify-content:flex-end;gap:3px;font-size:8px;opacity:.5;margin-top:4px;line-height:1}.bubble-time .icon{width:11px;height:11px}.bubble.user .bubble-time{color:inherit}.bubble .media-image{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:6px;margin-bottom:5px}.bubble.media{padding:5px 5px 6px;width:88%;max-width:320px}.bubble.media .bubble-text{padding:5px 5px 0}.bubble.media .bubble-time{padding-right:5px}.media-empty{border:1px dashed #79938766;border-radius:7px;background:#8099800b;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#789184;font-size:11px}.media-empty .icon{width:25px;height:25px}.bubble audio{max-width:100%;height:38px;width:260px}.bubble video{width:100%;max-height:250px;border-radius:6px}.message-options{display:grid;grid-template-columns:1fr;gap:5px;max-width:89%;width:100%;align-self:flex-start}.message-options.two{grid-template-columns:1fr 1fr}.chat-choice{border:1px solid #73917f33;background:var(--bubble);color:var(--accent);padding:11px 12px;border-radius:7px;font-size:12px;text-align:center;line-height:1.4;box-shadow:0 1px 2px #00000005;transition:.15s}.chat-choice:hover{filter:brightness(.96);border-color:var(--accent)}.chat-choice.selected{background:var(--accent);color:white;border-color:var(--accent)}.chat-choice:disabled{opacity:.4;cursor:default}.chat-choice .emoji{font-size:23px;display:block;margin-bottom:4px}.choice-card-image{height:65px;width:100%;object-fit:cover;border-radius:5px;margin-bottom:6px}.typing{display:flex;align-items:center;gap:4px;width:57px;padding:14px 13px}.typing i{width:5px;height:5px;border-radius:50%;background:#809789;animation:typing 1s infinite}.typing i:nth-child(2){animation-delay:.16s}.typing i:nth-child(3){animation-delay:.32s}.typing.recording{width:max-content;color:#87988c;font-size:10px;gap:7px}.typing.recording .icon{width:13px;height:13px}.chat-composer{background:var(--inputbg);padding:10px 9px calc(10px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:5px;flex-shrink:0;z-index:3}.composer-inner{display:flex;align-items:center;background:var(--inputfield);border-radius:25px;padding:3px 10px;gap:7px;flex:1;min-width:0;min-height:38px;color:var(--inputtext)}.composer-inner>.icon{width:19px;height:19px;opacity:.75}.composer-inner input{background:transparent;border:0!important;box-shadow:none!important;color:var(--bubbletext);padding:8px 2px;font-size:12px;min-width:0;flex:1}.composer-inner input::placeholder{color:var(--inputtext);opacity:.8}.composer-placeholder{font-size:12px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:7px 0;flex:1}.send-button{border:0;width:34px;height:34px;border-radius:50%;background:var(--accent);color:white;display:grid;place-items:center;flex-shrink:0}.send-button .icon{width:15px;height:15px}.chat-form{width:89%;background:var(--bubble);border-radius:10px;padding:14px;box-shadow:0 1px 2px #00000010}.chat-form .field-label{color:var(--bubbletext);opacity:.7;font-size:10px}.chat-form input{background:transparent;border-color:#89988c55;color:var(--bubbletext);font-size:12px;padding:9px}.chat-form .chat-choice{background:var(--accent);color:white;width:100%;margin-top:4px}.chat-form .field{margin-bottom:9px}.chat-error{color:#be3145;font-size:11px;padding:8px 12px;background:#fff0f2;border-radius:5px;margin:0 9px 7px}.chat-offer{background:var(--bubble);border-radius:11px;padding:17px 15px;width:89%;color:var(--bubbletext)}.chat-offer h3{font-size:17px;line-height:1.4;margin-bottom:7px}.chat-offer p{font-size:11px;line-height:1.7;opacity:.65}.chat-price{font-size:27px;font-weight:700;letter-spacing:-1px;margin:12px 0 2px}.chat-price small{font-size:13px;font-weight:400;letter-spacing:0}.chat-old-price{font-size:10px;text-decoration:line-through;opacity:.45}.chat-offer .chat-choice{background:var(--accent);color:white;width:100%;margin-top:13px;font-weight:600}.chat-rating{display:flex;gap:7px;max-width:89%;padding:10px 12px;background:var(--bubble);border-radius:8px}.chat-rating button{color:#dbac31;border:0;background:transparent;padding:3px}.chat-rating svg{width:23px;height:23px}.chat-complete{align-self:center;font-size:9px;opacity:.55;margin-top:10px;display:flex;align-items:center;gap:5px}.chat-complete .icon{width:12px;height:12px}.chat-list{list-style:none;padding:0;margin:7px 0}.chat-list li{display:flex;gap:6px;margin:8px 0;font-size:11px}.chat-list .icon{width:14px;height:14px;color:var(--accent)}.chat-content-heading{font-size:17px!important;font-weight:650}.chat-progress{height:6px;width:200px;max-width:100%;border-radius:9px;background:#85988533;margin:9px 0 4px;overflow:hidden}.chat-progress span{display:block;background:var(--accent);height:100%;border-radius:9px}.chat-carousel{display:flex;width:89%;overflow-x:auto;gap:8px;flex-shrink:0}.carousel-item{min-width:145px;max-width:180px;background:var(--bubble);padding:15px;border-radius:9px;font-size:12px}.before-after{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;margin:5px 0}.before-after div{text-align:center;font-size:10px}.before-after img{width:100%;height:90px;object-fit:cover;border-radius:5px}.new-messages{position:absolute;bottom:75px;left:50%;transform:translateX(-50%);border:1px solid #8ca19055;background:var(--bubble);color:var(--bubbletext);padding:7px 14px;border-radius:20px;box-shadow:0 3px 15px #0002;font-size:10px;z-index:5}.public-view{height:100dvh;background:#10191c;display:flex;flex-direction:column}.test-banner{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 15px;background:#16261c;color:#b2d8a9;font-size:11px;flex-shrink:0;border-bottom:1px solid #345339}.test-banner .button{padding:3px 10px;font-size:10px;min-height:25px}.public-chat{flex:1;min-height:0;width:100%;max-width:760px;margin:0 auto;box-shadow:0 0 80px #0004}.public-chat>.chat{height:100%}.public-chat .chat-history{padding:20px 28px 28px}.public-chat .bubble{font-size:14px}.public-chat .chat-choice{font-size:14px}.public-chat .bubble-time{font-size:9px}.public-chat .chat-header{padding:14px 23px}.public-chat .chat-name{font-size:16px}.public-chat .chat-status{font-size:11px}.public-chat .chat-offer{max-width:430px}.public-chat .message-options{max-width:430px}.public-chat .chat-composer{padding:12px 20px}.public-chat .composer-inner{min-height:43px}.public-chat .composer-inner input{font-size:14px}.public-chat .bubble{max-width:82%}.public-chat .landing-preview{min-height:100%}
/* Dialogs */
dialog{color:#dbe4dc;background:#101612;border:1px solid #35443a;border-radius:13px;padding:0;width:min(720px,calc(100vw - 30px));max-height:88dvh;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#060308b3;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:21px 24px 16px;border-bottom:1px solid #28382c}.modal-head h2{font-size:18px;font-weight:600;display:flex;align-items:center;gap:9px}.modal-head h2 svg{color:#a478d0}.modal-body{padding:22px 24px;max-height:62dvh;overflow:auto}.modal-footer{padding:15px 24px;border-top:1px solid #2b392e;display:flex;gap:9px;justify-content:flex-end}.modal-tabs{display:flex;gap:3px;overflow-x:auto;border-bottom:1px solid #2a382d;padding:0 21px}.modal-tab{color:#8e9f93;background:transparent;border:0;padding:13px 11px;font-size:11px;white-space:nowrap;border-bottom:2px solid transparent}.modal-tab.active{color:#bd93e7;border-bottom-color:#a975dc}.profile-upload{display:flex;align-items:center;gap:15px;margin-bottom:23px}.profile-upload .chat-avatar{width:62px;height:62px;font-size:25px}.profile-upload p{font-size:11px;color:#7a8c7f;margin-top:7px}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:10px}.theme-tile{border:1px solid #304036;background:#151d18;border-radius:9px;padding:11px 9px;color:#9dab9e;text-align:left;font-size:11px}.theme-tile.active{border-color:#a574d5;background:#261c30;color:#c4a5e3}.theme-mini{height:56px;border-radius:5px;overflow:hidden;position:relative;margin-bottom:9px;background:#e9e3da}.theme-mini:before{content:'';position:absolute;left:0;right:0;top:0;height:13px;background:#075e54}.theme-mini:after{content:'';position:absolute;left:7px;top:22px;width:44px;height:13px;border-radius:4px;background:#fff;box-shadow:14px 15px 0 #d7bdf0}.theme-mini.instagram{background:#fafafa}.theme-mini.instagram:before{background:#ededf1}.theme-mini.instagram:after{background:#efeff4;box-shadow:14px 15px 0 #8a63df}.theme-mini.messenger{background:#fafafa}.theme-mini.messenger:before{background:#ebedf0}.theme-mini.messenger:after{background:#edeff5;box-shadow:14px 15px 0 #3887ef}.theme-mini.default{background:#ecf0eb}.theme-mini.default:before{background:#36214a}.theme-mini.whatsapp{background:#111a20}.theme-mini.whatsapp:before{background:#1c292f}.theme-mini.whatsapp:after{background:#2a3c45;box-shadow:14px 15px 0 #3f1d60}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.integration-tile{border:1px solid #2f4034;background:#18131e;border-radius:9px;padding:16px}.integration-tile strong{display:block;font-size:13px;margin:10px 0 4px}.integration-tile p{font-size:11px;color:#829686;line-height:1.7}.integration-tile .badge{font-size:9px}.color-swatches{display:flex;gap:9px;align-items:center}.swatch{width:28px;height:28px;border-radius:50%;border:2px solid #33293c}.swatch.active{outline:2px solid #caaae9;outline-offset:2px}.error-list{padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.error-list li{border:1px solid #6a3d4355;background:#46252a33;padding:12px;border-radius:7px;color:#e7a3ac;font-size:12px;line-height:1.6}.error-list button{color:#c7a9e5;text-decoration:underline;font-size:11px;border:0;background:transparent;margin-left:6px}.publish-summary{border:1px solid #433253;background:#1f1727;border-radius:8px;padding:16px;line-height:1.8;font-size:12px;color:#b8a7c8}.publish-summary strong{color:#dbcaeb;display:block;font-size:15px;margin-bottom:5px}.link-copy-row{display:flex;gap:8px;margin-top:14px}.link-copy-row input{font-size:11px}.local-warning{font-size:11px;line-height:1.8;color:#8da192;margin-top:15px}.form-error{color:#e58b99;font-size:11px;margin:8px 0}.count-label{font-size:11px;color:#7c927f}.modal-body .field-label{font-size:12px}.modal-body .field{margin-bottom:18px}.modal-body input,.modal-body textarea,.modal-body select{font-size:12px}.preview-warning{background:#251e2c;border:1px solid #49365c;color:#b09bc4;padding:11px;border-radius:7px;font-size:11px;line-height:1.6}.keyboard-key{border:1px solid #3c4d3e;background:#241d2a;border-radius:4px;padding:2px 6px;font-family:inherit;font-size:10px;color:#819c84}#toasts{position:fixed;bottom:22px;right:23px;z-index:150;display:flex;flex-direction:column;gap:8px;max-width:360px}.toast{display:flex;align-items:center;gap:10px;background:#251832;border:1px solid #533e68;box-shadow:0 10px 35px #0005;border-radius:9px;padding:14px 18px;color:#d3bbeb;font-size:12px;line-height:1.6;animation:appear .2s}.toast.error{background:#3b2025;border-color:#7d414b;color:#ffc0c8}.toast .icon{width:17px;height:17px}.tooltip-note{color:#8ba78a;font-size:11px;line-height:1.7;margin-top:15px}.hide{display:none!important}body.modal-open{overflow:hidden}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#3c4940;border-radius:6px}::-webkit-scrollbar-track{background:transparent}@keyframes typing{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.library{width:260px;min-width:260px;padding:20px 15px}.library-item{font-size:12px;min-height:52px}.preview-column{width:39%;max-width:650px;padding:22px 24px 0}.sequence{padding:30px 35px}.node-header{min-height:77px}.node-title-text{max-width:340px}.editor-name{width:250px}}
@media(max-width:1270px){.editor-status{display:none}.editor-header{gap:7px;padding:0 10px}.editor-name{width:200px}.editor-tab{padding:9px 10px;font-size:12px}.editor-actions{margin-left:auto;gap:5px}.editor-actions .button{padding:7px 8px;font-size:11px}.editor-actions .button .action-text{display:none}.library{width:204px;min-width:204px}.library-item{font-size:10px;gap:5px}.library-item .lib-icon{width:26px;height:29px}.sequence{padding:21px 18px}.preview-column{min-width:330px;width:37%;padding:14px 11px 0}.node-header{gap:7px;padding:12px 10px}.node-title-text{max-width:170px}.page{padding:30px 26px}.flow-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}}
@media(max-width:1000px){.editor-name{width:170px}.editor-header .switch-label{display:none}.editor-name input{font-size:11px}.editor-tab{padding:8px;font-size:11px}.library{width:172px;min-width:172px;padding:17px 9px}.library-grid{gap:5px}.library-item{padding:6px 4px;min-height:43px;gap:5px}.library-item .lib-icon{width:23px;height:27px;border:0;background:transparent}.library-item .label{font-size:9px}.library-item .icon{width:13px}.preview-column{width:36%;min-width:294px;padding:12px 8px 0}.sequence{min-width:270px;padding:18px 12px}.node-header{min-height:64px;gap:5px}.node-header>.icon-button{width:23px}.node-title-text{max-width:115px}.node-fields{padding:14px 12px}.editor-actions .button{padding:7px}.sidebar{width:190px}.workspace-main{margin-left:190px}.brand{font-size:21px}.metric-grid{gap:10px}.page-title{font-size:25px}.search{width:200px}}
@media(max-width:800px){.editor{height:100dvh}.editor-header{height:58px;min-height:58px;gap:5px}.editor-name{width:190px;max-width:40vw}.editor-header>.icon-button{width:25px}.editor-tabs{display:none}.editor-actions .publish-button{display:none}.editor-actions .button{padding:7px 8px}.editor-body{position:relative;padding-bottom:50px}.library{width:160px;min-width:160px}.preview-column{display:none}.sequence{min-width:0;flex:1}.node-title-text{max-width:220px}.node-header{min-height:66px}.mobile-editor-nav{display:flex;position:absolute;bottom:0;left:0;right:0;height:50px;background:#16121a;border-top:1px solid #41354d;z-index:20;justify-content:space-around;align-items:center}.mobile-editor-nav button{border:0;background:transparent;color:#849d8b;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 10px}.mobile-editor-nav button.active{color:#b88ee2}.mobile-editor-nav .icon{width:17px;height:17px}.editor.mobile-preview .library,.editor.mobile-preview .sequence,.editor.mobile-preview .graph-area,.editor.mobile-preview .landing-editor{display:none}.editor.mobile-preview .preview-column{display:flex;width:100%;min-width:0;max-width:none;padding:0;border:0}.editor.mobile-preview .preview-topline{padding:8px 15px}.editor.mobile-preview .preview-device{border:0;border-radius:0}.editor.mobile-graph .library{display:none}.editor.mobile-landing .library{display:none}.graph-track{padding:20px;gap:35px}.sidebar{width:72px;padding:22px 9px}.brand{padding:0 8px 28px}.brand .brand-text,.usage,.nav-label,.nav-item .nav-text,.local-note,.account .account-label{display:none}.nav-item{justify-content:center;padding:13px 8px}.nav-item .icon{width:21px;height:21px}.account{justify-content:center;padding:15px 0 0}.workspace-main{margin-left:72px}.workspace-bar{padding:0 22px}.workspace-bar .right .pill{display:none}.page{padding:26px 20px}.page>.between{align-items:flex-start;gap:15px}.page-title{font-size:23px}.page-subtitle{font-size:12px;line-height:1.6;max-width:260px}.page>.between>.row{gap:6px}.page>.between .button{font-size:11px;padding:8px 10px}.page>.between .import-text{display:none}.toolbar{margin:24px 0 20px;gap:8px}.segmented button{padding:6px 10px;font-size:11px}.search{width:175px}.flow-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.metric-grid{grid-template-columns:1fr}.metric-card{padding:18px;display:flex;align-items:center;gap:20px}.metric-card strong{margin:0 0 0 auto;font-size:26px}.metric-card .icon{margin:0}.bar-row{grid-template-columns:100px 1fr 28px;font-size:10px}.theme-grid{grid-template-columns:repeat(2,1fr)}.integration-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.workspace-bar{padding:0 16px}.page{padding:22px 15px}.page>.between{flex-wrap:wrap}.page-title{font-size:24px}.page>.between>.row{width:100%}.page>.between>.row .button.primary{flex:1}.toolbar{flex-wrap:wrap}.search{width:100%;margin:5px 0 0}.flow-grid{grid-template-columns:1fr}.flow-cover{height:120px}.sidebar{width:60px;padding:20px 5px}.workspace-main{margin-left:60px}.brand{padding:0 7px 26px}.brand-mark{width:30px;height:30px;font-size:23px}.nav-item{padding:12px 6px}.editor-name{width:158px}.editor-actions .button{padding:7px}.editor-actions{gap:3px}.editor-header{padding:0 6px;gap:3px}.editor-name input{font-size:10px}.editor-actions .button.save-button{padding:7px 9px}.library{width:115px;min-width:115px;padding:16px 7px}.library-grid{grid-template-columns:1fr}.library-item{font-size:11px;gap:7px;padding:5px 7px;min-height:36px;border-radius:7px}.library-item .label{font-size:10px}.library-item .lib-icon{width:20px;height:24px}.library-category{font-size:8px;letter-spacing:.5px;margin:18px 0 8px}.library-intro{font-size:9px;line-height:1.6}.library h3{font-size:12px}.sequence{padding:14px 9px}.sequence-hint{font-size:9px;margin-bottom:12px}.sequence-hint .count-label{display:none}.node-header{min-height:61px;padding:11px 8px;gap:4px}.node-icon{display:none}.node-header .drag-handle{display:none}.node-title-button{font-size:11px;gap:4px}.node-title-text{max-width:95px}.node-header>.icon-button{width:23px}.node-header>.icon-button.duplicate-node{display:none}.node-fields{padding:13px 10px}.node-fields input,.node-fields textarea,.node-fields select{font-size:11px}.field-row{grid-template-columns:1fr;gap:0}.field-label{font-size:10px}.node-bottom .button{font-size:9px;padding:4px}.node-bottom{gap:3px}.node-bottom .button svg{width:12px}.option-editor{padding:9px}.landing-editor{padding:24px 17px}.modal-head{padding:17px 18px 13px}.modal-head h2{font-size:16px}.modal-body{padding:18px}.modal-footer{padding:13px 18px}.modal-tabs{padding:0 10px}.modal-tab{padding:12px 10px}.integration-grid{grid-template-columns:1fr}.public-chat .chat-history{padding:14px 13px 23px}.public-chat .chat-header{padding:13px}.public-chat .chat-composer{padding:9px}.public-chat .bubble{max-width:91%;font-size:13px}.public-chat .message-options{max-width:91%}.test-banner{font-size:10px;gap:7px;padding:8px}.test-banner>.icon{display:none}.data-table{font-size:10px}.data-table td,.data-table th{padding:11px 7px}#toasts{right:12px;left:12px;max-width:none;bottom:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
