:root{--ink:#171923;--muted:#747b8b;--red:#d92d3a;--red-dark:#b91f2b;--line:#e8eaf0;--bg:#f5f6fa;--surface:#fff;--green:#238653}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",Inter,system-ui,sans-serif;font-size:14px}
h1,h2,h3,h4,.navbar-brand{font-family:Manrope,"DM Sans",sans-serif}
.app-nav{height:74px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 10px #17192305}.app-nav-inner{max-width:1440px;padding:0 30px}
.navbar-brand{font-weight:800;letter-spacing:-.6px;color:var(--ink);display:flex;align-items:center;gap:10px;font-size:18px}.navbar-brand:hover{color:var(--ink)}.brand-mark{width:36px;height:36px;border-radius:12px;background:var(--red);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 5px 12px #d92d3a30}.brand-logo{display:inline-block;width:38px;height:38px;object-fit:contain;flex:0 0 auto}.auth-brand-logo{width:64px;height:64px}
.nav-link{color:#646b79;font-weight:650}.nav-link:hover,.nav-workspace{color:var(--red)}.nav-user{color:#858b98;font-size:12px;border-left:1px solid var(--line);padding-left:14px}
.app-main{max-width:1440px;min-height:calc(100vh - 142px);padding:38px 30px 64px}.app-footer{max-width:1440px;margin:auto;border-top:1px solid var(--line);padding:20px 30px;color:#9298a5;font-size:12px;display:flex;justify-content:space-between}
.btn{border-radius:10px;font-weight:700;padding:9px 15px}.btn-primary{background:var(--red);border-color:var(--red);box-shadow:0 4px 10px #d92d3a20}.btn-primary:hover,.btn-primary:focus{background:var(--red-dark);border-color:var(--red-dark)}.btn-outline-secondary{border-color:#dfe2e9;color:#505765}.btn-outline-primary{color:var(--red);border-color:#edb9be}.btn-outline-primary:hover{background:var(--red);border-color:var(--red)}
.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.page-heading h1{font-size:30px;font-weight:800;letter-spacing:-1.2px;margin:0}.page-heading p{color:var(--muted);margin:7px 0 0;font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:var(--red);margin-bottom:10px}
.status-pill,.soft-count,.agent-presence{border:1px solid #ccebd9;background:#f0fbf4;color:#27844d;padding:7px 11px;border-radius:30px;font-size:11px;font-weight:750;white-space:nowrap}
.feature-card,.panel-card,.metric-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px #17192305}.feature-card{padding:23px}.feature-card h3{font-size:16px;font-weight:800;letter-spacing:-.3px}.feature-card p{font-size:13px;color:var(--muted);line-height:1.65;margin-bottom:0}.feature-icon{width:39px;height:39px;border-radius:12px;background:#fff0f1;color:var(--red);display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:17px}
.metric-card{padding:20px 21px;position:relative;overflow:hidden;min-height:124px}.metric-label{display:block;color:#858b98;font-size:9px;letter-spacing:1.4px;font-weight:800}.metric-card strong{display:block;font-family:Manrope;font-size:30px;letter-spacing:-1px;margin-top:7px}.metric-card small{color:var(--muted);font-size:11px}.metric-icon{position:absolute;right:19px;top:18px;width:35px;height:35px;border-radius:11px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-weight:800;font-size:17px}
.panel-card{padding:23px}.panel-card h2{font-size:17px;font-weight:800;letter-spacing:-.4px;margin:0}.panel-card>p,.panel-title p{font-size:12px;color:var(--muted);margin:5px 0 0}.panel-title{display:flex;align-items:center;gap:13px;margin-bottom:20px}.step-number{width:34px;height:34px;border-radius:10px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-weight:800}
.notice-panel{display:flex;align-items:flex-start;gap:15px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px;color:#4c5260;font-size:13px}.notice-panel .feature-icon{margin:0;flex-shrink:0}.notice-panel p{color:var(--muted);margin-top:4px}.code-snippet{white-space:pre-wrap;overflow-wrap:anywhere;background:#171923;color:#f2f3f7;border-radius:10px;padding:15px;font-size:12px;margin-top:8px}
.plan-note{align-self:center;color:#747b8b;font-size:12px;font-weight:650}.dashboard-tile{height:100%;transition:transform .15s,box-shadow .15s}.dashboard-tile:hover{transform:translateY(-2px);box-shadow:0 12px 28px #1719230c}.tile-link{display:inline-block;color:var(--red);font-size:12px;font-weight:750;margin-top:16px}
.builder-intro,.admin-welcome,.agent-welcome{display:flex;align-items:center;gap:18px;padding:22px 25px;border:1px solid #f0d5d8;border-radius:16px;background:linear-gradient(110deg,#fff 0%,#fff7f7 100%);color:#343844}.builder-intro p,.admin-welcome p,.agent-welcome p{font-size:13px;color:var(--muted);margin:5px 0 0;line-height:1.6}.builder-icon,.admin-welcome-mark,.agent-welcome-icon{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:24px;font-weight:800}.builder-intro strong{font-size:14px}.form-label{font-size:12px;font-weight:750;color:#444b58}.form-control,.form-select{border-color:#e2e5ec;border-radius:9px;padding:10px 12px;font-size:13px}.form-control:focus,.form-select:focus{border-color:#e18a91;box-shadow:0 0 0 .2rem #d92d3a12}
.flow-node{border:1px solid var(--line);border-radius:14px;padding:17px;margin-top:14px;background:#fff;position:relative}.flow-node.is-start{border-color:#edb8be;box-shadow:inset 3px 0 var(--red),0 3px 12px #17192306}.flow-node-head{display:flex;align-items:center;justify-content:space-between}.node-type-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:850}.node-type-icon.question{background:#eef3ff;color:#4968bc}.node-type-icon.answer{background:#eaf8ef;color:var(--green)}.node-kicker{font-size:9px;letter-spacing:1.2px;font-weight:850;color:#9298a5}.flow-node h3{font-size:14px;font-weight:800;margin:2px 0 0}.node-content{margin:14px 0 12px;padding:12px 14px;border-radius:9px;background:#f7f8fa;color:#555c6a;font-size:13px}.icon-button{border:0;background:#f7f8fa;border-radius:8px;width:30px;height:30px;color:#9a5260;font-size:20px;line-height:1}.branch-list{display:flex;flex-direction:column;gap:7px;margin-bottom:12px}.branch-row{display:flex;align-items:center;gap:10px;font-size:12px}.branch-label{background:#fff3f3;color:#a52a35;border:1px solid #f6dadd;border-radius:8px;padding:6px 10px;font-weight:750}.branch-arrow{color:#a2a7b2}.branch-target{color:#5f6674;font-weight:650}.add-branch-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;padding-top:12px;border-top:1px solid #f0f1f4}.answer-terminal{padding:9px 11px;background:#f0faf3;border-radius:9px;color:#398057;font-size:11px;font-weight:750}.answer-terminal span{margin-right:6px}.empty-builder,.empty-inbox{text-align:center;padding:42px 20px}.empty-builder-icon{width:48px;height:48px;margin:0 auto 14px;border-radius:15px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:23px}.empty-builder h3,.empty-inbox h3{font-size:16px;font-weight:800}.empty-builder p,.empty-inbox p{font-size:12px;color:var(--muted);margin:5px 0 0}
.admin-welcome{justify-content:space-between;background:linear-gradient(110deg,#201e2b,#302c3b);border:0;color:white;min-height:160px}.admin-welcome h2,.agent-welcome h2{font-size:21px;font-weight:800;letter-spacing:-.6px;margin:0}.admin-welcome p{color:#c0bfca}.admin-welcome .eyebrow{color:#ff9aa2}.admin-welcome-mark{width:68px;height:68px;flex-basis:68px;font-size:30px;background:#ffffff16;color:white}.admin-links{display:flex;flex-direction:column}.admin-links a{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid #f0f1f4;text-decoration:none;color:#252936}.admin-links .is-disabled{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid #f0f1f4;color:#9aa0aa;cursor:not-allowed}.admin-links .is-disabled>span:last-child{margin-left:auto;color:#a0a5af;font-size:11px}.admin-links a>span:last-child{margin-left:auto;color:#a0a5af}.admin-link-icon{width:34px;height:34px;border-radius:10px;background:#fff0f1;color:var(--red);display:grid;place-items:center}.admin-links b{display:block;font-size:12px}.admin-links small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.status-line{display:flex;align-items:center;gap:9px;padding:11px 0;border-top:1px solid #f0f1f4;color:#626977;font-size:11px}.status-line b{margin-left:auto;color:#434956;font-size:10px}.status-dot{width:8px;height:8px;border-radius:50%;background:#35a66b;display:inline-block}.status-dot.pending{background:#e3a23b}.agent-presence{background:#fff8eb;border-color:#f4e1bd;color:#98651c}.agent-welcome{justify-content:space-between;background:linear-gradient(110deg,#fff,#f7f8ff);border-color:#e3e7f4}.agent-welcome-icon{background:#eef1ff;color:#596fc2}
.auth-wrap{display:grid;grid-template-columns:1fr 470px;gap:7%;align-items:center;max-width:1040px;margin:20px auto}.auth-aside{padding:30px}.auth-aside h1{font-size:clamp(42px,6vw,68px);font-weight:850;letter-spacing:-3px;line-height:1.04}.auth-aside h1 span{color:var(--red)}.auth-aside p{color:var(--muted);max-width:340px;line-height:1.7}.auth-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:34px;box-shadow:0 18px 55px #191e320a}.auth-card h2{font-size:25px;font-weight:800;letter-spacing:-.7px}.auth-card label{font-size:12px;font-weight:700;color:#454a57;margin-bottom:7px}.auth-wrap-single{display:flex;justify-content:center;max-width:100%}.auth-wrap-single .auth-card{width:440px}
.hero{padding:75px 7%;background:#fff;border:1px solid var(--line);border-radius:26px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,#d92d3a1f,transparent 70%);right:-80px;top:-80px;pointer-events:none}.hero h1{font-size:clamp(42px,6vw,68px);font-weight:850;letter-spacing:-3px;line-height:1.04}.hero h1 span{color:var(--red)}.hero-copy{max-width:550px;color:var(--muted);font-size:17px;line-height:1.7}.hero-foot{display:flex;gap:24px;flex-wrap:wrap;margin-top:50px;color:#777d8a;font-size:12px;font-weight:650}
.empty-state{text-align:center;padding:100px 20px}.empty-state p{color:var(--muted)}
@media(max-width:900px){.app-main{padding:25px 16px 45px}.app-nav-inner{padding:0 16px}.app-footer{padding:18px 16px}.auth-wrap{display:block;max-width:500px}.auth-aside{display:none}.auth-card{padding:25px}.page-heading{align-items:flex-start;flex-direction:column}.add-branch-form{grid-template-columns:1fr}.admin-welcome{min-height:130px}}
@media(max-width:520px){.app-footer{gap:8px;flex-direction:column}.navbar-brand{font-size:16px}.nav-user{display:none}.feature-card,.panel-card{padding:18px}.hero{padding:45px 25px}.hero h1{letter-spacing:-2px}}

.branch-remove{border:0;background:transparent;color:#a0a5af;font-size:17px;line-height:1;padding:0 5px}.branch-remove:hover{color:var(--red)}

/* Simple guided-chat builder */
.builder-topbar{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:25px}.builder-topbar h1{font-size:32px;font-weight:850;letter-spacing:-1.2px;margin:0}.builder-topbar p{margin:7px 0 0;color:var(--muted);font-size:14px}.builder-back{color:#737987;text-decoration:none;font-size:12px;font-weight:700}.builder-back:hover{color:var(--red)}.builder-top-actions{display:flex;align-items:center;gap:13px}.builder-plan{display:flex;align-items:center;gap:7px;color:#707786;font-size:10px;font-weight:850;letter-spacing:1px}.builder-plan span{width:7px;height:7px;border-radius:50%;background:#35a66b}.builder-guide{display:flex;align-items:center;gap:15px;padding:17px 20px;border:1px solid #e9eaf0;background:#fff;border-radius:15px;margin-bottom:25px}.guide-icon{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:20px}.builder-guide strong{font-size:13px}.builder-guide p{font-size:12px;color:var(--muted);margin:3px 0 0;line-height:1.55}.guide-example{margin-left:auto;min-width:190px;padding:10px 13px;border:1px solid #e8eaf0;border-radius:11px;background:#fafbfc}.guide-example span,.guide-example small{display:block;color:#8a909c;font-size:9px}.guide-example b{display:block;color:#303644;font-size:11px;margin:4px 0}.builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}.builder-main{min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-kicker{font-size:9px;letter-spacing:1.5px;color:var(--red);font-weight:850}.section-heading h2{font-size:20px;font-weight:850;margin:3px 0}.section-heading p{font-size:11px;color:var(--muted);margin:0}.step-count{font-size:10px;font-weight:750;color:#777e8b;background:#fff;border:1px solid var(--line);padding:7px 10px;border-radius:20px}.simple-step,.new-step-card,.side-card,.builder-empty{background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:14px;box-shadow:0 4px 15px #17192304}.simple-step{padding:18px 19px}.simple-step.start-step{border-color:#edc4c8;box-shadow:inset 3px 0 var(--red),0 4px 15px #17192304}.simple-step-head{display:flex;align-items:center;gap:12px}.step-index{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#f1f3f7;color:#626b7a;display:grid;place-items:center;font-size:12px;font-weight:850}.start-step .step-index{background:#fff0f1;color:var(--red)}.step-head-copy{flex:1;min-width:0}.step-meta{font-size:8px;letter-spacing:1.25px;color:#9298a4;font-weight:850}.step-head-copy h3{font-size:14px;font-weight:850;margin:3px 0 0}.step-delete{border:0;background:#f7f8fa;color:#9298a4;width:29px;height:29px;border-radius:8px;font-size:18px}.step-delete:hover{background:#fff0f1;color:var(--red)}.step-message{margin:14px 0 15px;padding:13px 15px;border-radius:10px;background:#f7f8fa;color:#4d5563;font-size:12px;line-height:1.6;white-space:pre-wrap}.button-list-title{font-size:8px;letter-spacing:1.1px;font-weight:850;color:#969ca8;margin-bottom:8px}.button-list-title span{background:#f0f1f4;border-radius:12px;padding:2px 6px;margin-left:4px}.visitor-button-row{display:flex;align-items:center;gap:12px;padding:9px 10px;border:1px solid #eceef2;border-radius:10px;margin-bottom:7px}.visitor-button-preview{display:flex;align-items:center;gap:8px;min-width:150px}.preview-button-icon{width:23px;height:23px;border-radius:7px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:13px}.visitor-button-preview b{font-size:11px;color:#3a404d}.visitor-button-destination{flex:1;min-width:0}.visitor-button-destination small{display:block;color:#9298a4;font-size:9px;overflow-wrap:anywhere;margin-top:2px}.destination-link,.destination-step{font-size:10px;font-weight:800;color:#3974b8}.destination-step{color:#36845a}.remove-button{border:0;background:transparent;color:#9b6570;font-size:10px;font-weight:700}.remove-button:hover{color:var(--red)}.add-button-details{margin-top:10px;border-top:1px dashed #e4e6eb;padding-top:10px}.add-button-details summary{list-style:none;cursor:pointer;color:var(--red);font-size:11px;font-weight:800}.add-button-details summary::-webkit-details-marker{display:none}.add-button-details summary span{font-size:15px;margin-right:5px}.add-button-form,.new-step-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px;padding:14px;background:#fafbfc;border:1px solid #eceef2;border-radius:11px}.form-field{min-width:0}.form-field.full,.full{grid-column:1/-1}.form-field label{display:block;font-size:10px;font-weight:800;color:#555d6b;margin-bottom:6px}.form-field label small{color:#9298a4;font-weight:500}.form-field .form-control,.form-field .form-select{font-size:11px;padding:9px 10px}.new-tab-field{grid-column:1/-1;font-size:11px;color:#626a78;display:flex;gap:8px;align-items:center}.new-step-card{padding:20px;margin-top:21px;border-style:dashed}.new-step-heading{display:flex;gap:12px;align-items:center}.new-step-icon{width:35px;height:35px;border-radius:10px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:19px}.new-step-heading h2{font-size:15px;font-weight:850;margin:0}.new-step-heading p{font-size:11px;color:var(--muted);margin:3px 0 0}.new-step-form{background:transparent;border:0;padding:0;margin-top:17px}.builder-sidebar{position:sticky;top:18px}.side-card{padding:18px;margin-bottom:13px}.side-card-icon{width:34px;height:34px;border-radius:10px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:17px;margin-bottom:12px}.side-card h3{font-size:13px;font-weight:850;margin:0 0 7px}.side-card p,.side-card li{font-size:10px;color:#777f8d;line-height:1.65}.side-card ul{padding-left:17px;margin:10px 0 0}.side-card li{margin-bottom:5px}.side-card-muted{background:#f9fafc}.example-chat{border:1px solid #e9ebf0;border-radius:11px;background:#fff;padding:10px;margin:11px 0}.example-bubble{background:#f1f2f5;padding:9px;border-radius:9px;font-size:9px;color:#555e6c;margin-bottom:8px}.example-choice{border:1px solid #e7e9ee;border-radius:7px;padding:7px 9px;font-size:9px;font-weight:700;margin-top:5px;color:#414958}.example-choice span{float:right;color:var(--red)}.side-card>small{font-size:9px;color:#9096a2;line-height:1.5;display:block}.builder-empty{text-align:center;padding:40px 18px}.empty-art{width:48px;height:48px;margin:0 auto 12px;display:grid;place-items:center;border-radius:15px;background:#fff0f1;color:var(--red);font-size:23px}.builder-empty h3{font-size:15px;font-weight:850}.builder-empty p{font-size:11px;color:var(--muted);margin:5px 0 15px}.answer-hint{padding:10px 12px;border-radius:9px;background:#f0faf3;color:#43815c;font-size:10px;font-weight:700}
@media(max-width:900px){.builder-layout{grid-template-columns:1fr}.builder-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}.builder-guide{align-items:flex-start}.guide-example{display:none}}
@media(max-width:600px){.builder-topbar{align-items:flex-start;flex-direction:column}.builder-top-actions{width:100%;justify-content:space-between}.builder-sidebar{display:block}.add-button-form,.new-step-form{grid-template-columns:1fr}.form-field.full,.full,.new-tab-field{grid-column:1}.visitor-button-row{flex-wrap:wrap}.visitor-button-destination{min-width:calc(100% - 170px)}.remove-button{margin-left:auto}}


/* Compact drag-and-drop conversation canvas */
.flow-builder-page{min-width:0}
.flow-builder-header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px}
.flow-back{display:inline-block;color:#737987;text-decoration:none;font-size:12px;font-weight:700;margin-bottom:12px}
.flow-back:hover{color:var(--red)}
.flow-eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:850;color:var(--red);margin-bottom:7px}
.flow-builder-header h1{font-size:29px;font-weight:850;letter-spacing:-1.1px;margin:0}
.flow-builder-header h1 span{font-size:15px;font-weight:650;color:#9298a4;letter-spacing:0;margin-left:7px}
.flow-builder-header p{font-size:12px;color:var(--muted);margin:6px 0 0}
.flow-header-actions{display:flex;align-items:center;gap:14px}
.flow-save-state{font-size:10px;color:#7b8290;white-space:nowrap}
.flow-save-state i,.error-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#39a66b;margin-right:6px}
.flow-save-state .error-dot{background:#d92d3a}
.flow-add-menu{position:relative}
.flow-add-menu>summary{list-style:none;cursor:pointer}
.flow-add-menu>summary::-webkit-details-marker{display:none}
.flow-add-popover{position:absolute;z-index:30;right:0;top:calc(100% + 9px);width:285px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 50px #1719231c}
.flow-add-popover form{display:grid;gap:8px}
.flow-add-popover label{font-size:10px;font-weight:800;color:#525a68}
.flow-add-popover .form-control{font-size:11px}
.flow-add-divider{height:1px;background:#eceef2;margin:14px 0}
.flow-legend{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:12px 15px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}
.flow-legend>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#666e7c}
.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.legend-dot.question{background:#4c83db}.legend-dot.answer{background:#36a474}
.legend-line{width:20px;height:2px;background:#9da7b5;display:inline-block}
.flow-legend .flow-legend-help{margin-left:auto;color:#9a9fac}
.flow-canvas-shell{border:1px solid #e6e8ee;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 5px 20px #17192305}
.flow-canvas-toolbar{height:43px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eceef2;background:#fff;font-size:10px;color:#596170}
.flow-canvas-toolbar b{color:#252b37}
.flow-canvas-scroll{height:min(72vh,780px);min-height:480px;overflow:auto;background:#f8f9fc}
.flow-canvas{position:relative;min-width:100%;background-color:#f9fafc;background-image:radial-gradient(#dfe3eb 1px,transparent 1px);background-size:19px 19px;transform:translateZ(0)}
.flow-edges{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:visible}
.flow-edge-path{fill:none;stroke:#aeb7c5;stroke-width:1.7;opacity:.85}
.flow-node-card{position:absolute;z-index:2;width:232px;min-height:126px;padding:11px 12px 9px;background:#fff;border:1px solid #dfe4ec;border-radius:11px;box-shadow:0 4px 13px #202b3d0c;transition:box-shadow .12s,border-color .12s;user-select:text}
.flow-node-card:before,.flow-node-card:after{content:"";position:absolute;top:42px;width:8px;height:8px;border-radius:50%;background:#fff;border:2px solid #aeb7c5;z-index:3}
.flow-node-card:before{left:-5px}.flow-node-card:after{right:-5px}
.flow-node-card.question-node{border-top:3px solid #5285d7}
.flow-node-card.answer-node{border-top:3px solid #39a477}
.flow-node-card.start-node{box-shadow:0 0 0 2px #d9e7ff,0 5px 15px #202b3d10}
.flow-node-card.is-dragging{z-index:10;box-shadow:0 15px 35px #202b3d25;border-color:#8ca9d7;cursor:grabbing}
.flow-node-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.flow-node-kind{font-size:8px;font-weight:900;letter-spacing:1px;color:#5880bf;display:flex;align-items:center;gap:6px}
.answer-node .flow-node-kind{color:#32956c}
.flow-node-kind span{width:17px;height:17px;border-radius:6px;background:#edf3ff;display:grid;place-items:center;font-size:11px}
.answer-node .flow-node-kind span{background:#eaf8f1}
.flow-drag-handle{border:0;background:#f3f5f8;color:#8b93a1;width:24px;height:22px;border-radius:6px;cursor:grab;font-size:16px;line-height:1}
.flow-drag-handle:active{cursor:grabbing}
.flow-node-title{font-size:12px;font-weight:850;color:#252b37;line-height:1.3;margin-bottom:5px}
.flow-node-content{font-size:10px;color:#687181;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;max-height:44px;overflow:hidden;margin-bottom:8px}
.flow-node-connections{border-top:1px solid #eff1f5;padding-top:6px;margin-top:5px}
.flow-connection-row{display:flex;align-items:center;gap:5px;min-height:23px;padding:3px 0;border-bottom:1px solid #f4f5f7}
.connection-label{font-size:9px;font-weight:750;color:#4e5868;max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.connection-destination{font-size:8px;color:#3f8a69;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;text-align:right}
.connection-destination.link-destination{color:#4e80c6}
.connection-remove{border:0;background:transparent;color:#a2a8b3;font-size:14px;line-height:1;padding:0 2px}
.connection-remove:hover{color:var(--red)}
.node-config,.node-edit{border-top:1px solid #eff1f5;margin-top:7px;padding-top:6px}
.node-config>summary,.node-edit>summary{font-size:9px;color:#bd3944;font-weight:800;cursor:pointer;list-style:none}
.node-config>summary::-webkit-details-marker,.node-edit>summary::-webkit-details-marker{display:none}
.node-config-form{display:grid;gap:6px;padding:8px;background:#f8f9fb;border-radius:8px;margin-top:7px}
.node-config-form label{font-size:8px;font-weight:850;color:#6c7482;margin:2px 0 -3px}
.node-config-form .form-control,.node-config-form .form-select{font-size:9px;padding:6px 8px;min-height:29px}
.node-config-form .btn{font-size:9px;padding:6px 8px}
.flow-check{display:flex!important;align-items:center;gap:6px!important;font-weight:600!important;margin:2px 0!important}
.answer-next{border-top:1px solid #eff1f5;padding-top:7px;margin-top:6px;font-size:9px;color:#657080}
.answer-next b{color:#3f8a69}
.answer-end-label{color:#a17b37}
.flow-node-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #f0f1f4;margin-top:8px;padding-top:6px}
.start-label{font-size:8px;color:#4777c1;font-weight:850}
.make-start,.node-delete{border:0;background:transparent;padding:2px 0;font-size:8px;font-weight:750;color:#87909e}
.make-start:hover{color:#4777c1}.node-delete:hover{color:var(--red)}
.flow-empty{background:#fff;border:1px dashed #dfe3eb;border-radius:16px;padding:55px 20px;text-align:center}
.flow-empty-icon{width:52px;height:52px;border-radius:16px;background:#fff0f1;color:var(--red);display:grid;place-items:center;font-size:24px;margin:0 auto 14px}
.flow-empty h2{font-size:18px;font-weight:850}.flow-empty p{font-size:12px;color:var(--muted);max-width:470px;margin:7px auto 18px}
@media(max-width:900px){.flow-builder-header{align-items:flex-start;flex-direction:column}.flow-header-actions{width:100%;justify-content:space-between}.flow-legend .flow-legend-help{margin-left:0}.flow-canvas-scroll{height:65vh}}
@media(max-width:560px){.flow-builder-header h1{font-size:24px}.flow-builder-header h1 span{display:block;margin:4px 0 0}.flow-save-state{white-space:normal}.flow-legend{gap:9px}.flow-legend>span{font-size:9px}.flow-canvas-toolbar{font-size:9px}.flow-canvas-toolbar>span:last-child{display:none}}

/* ===== Public site: languages, SEO content sections (home, pricing, FAQ) ===== */
/* Inter + Manrope cover Cyrillic, so Bulgarian and English pages look the same. */
body{font-family:Inter,"DM Sans",system-ui,sans-serif}
.public-links .nav-link{font-size:13px;padding:6px 10px}
.lang-switch{display:inline-flex;border:1px solid var(--line);border-radius:20px;padding:2px;background:#fff;font-size:11px;font-weight:800;letter-spacing:.5px}
.lang-switch a,.lang-switch span{padding:4px 9px;border-radius:16px;text-decoration:none;color:#707786;line-height:1}
.lang-switch a:hover{color:var(--red)}
.lang-switch .is-active{background:var(--ink);color:#fff}
.hero-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:36px;align-items:center;padding-top:60px;padding-bottom:60px}
.hero-split h1{font-size:clamp(38px,5vw,62px)}
.hero-visual{background:#000;border-radius:22px;overflow:hidden;box-shadow:0 22px 60px #17192333;aspect-ratio:760/518}
.hero-visual img{display:block;width:100%;height:100%;object-fit:cover}
ul.hero-foot{list-style:none;padding:0;margin:36px 0 0}
ul.hero-foot li:before{content:"●";color:var(--red);margin-right:6px;font-size:9px;vertical-align:middle}
.site-section{padding:72px 0 8px;scroll-margin-top:20px}
.section-head{max-width:720px;margin:0 auto 32px;text-align:center}
.section-head h2{font-size:clamp(26px,3.2vw,36px);font-weight:800;letter-spacing:-1px;margin:0}
.section-head p{color:var(--muted);margin:12px 0 0;font-size:15px;line-height:1.65}
.section-note{text-align:center;color:var(--muted);font-size:13px;margin:22px 0 0}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:none}
.step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;position:relative}
.step h3{font-size:16px;font-weight:800;margin:14px 0 6px}
.step p{color:var(--muted);font-size:13px;line-height:1.65;margin:0}
.step-no{width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:800;font-family:Manrope,Inter,system-ui,sans-serif}
.price-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 22px;display:flex;flex-direction:column;position:relative}
.price-card.is-recommended{border:2px solid var(--red);box-shadow:0 18px 44px #d92d3a1f}
.price-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:4px 12px;border-radius:20px;white-space:nowrap}
.price-card h3{font-size:17px;font-weight:800;margin:0}
.price{margin:10px 0 16px}.price strong{font-family:Manrope,Inter,system-ui,sans-serif;font-size:34px;font-weight:800;letter-spacing:-1px}.price span{color:var(--muted);font-size:13px}
.price-card ul{list-style:none;padding:0;margin:0 0 22px;flex:1}
.price-card li{font-size:13px;color:#454b58;padding:7px 0 7px 22px;border-top:1px solid #f1f2f5;position:relative}
.price-card li:before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:800}
.price-card li.is-off{color:#a0a5af}.price-card li.is-off:before{content:"–";color:#c3c7cf}
.faq{max-width:820px;margin:0 auto}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;padding:0 20px}
.faq summary{list-style:none;cursor:pointer;padding:18px 28px 18px 0;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";position:absolute;right:0;top:14px;font-size:22px;color:var(--red);font-weight:600}
.faq details[open] summary:after{content:"–"}
.faq summary h3{font-size:15px;font-weight:700;margin:0;display:inline}
.faq details p{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 18px}
.cta-band{margin:72px 0 0;padding:38px 42px;border-radius:22px;background:linear-gradient(110deg,#201e2b,#302c3b);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cta-band h2{font-size:26px;font-weight:800;letter-spacing:-.6px;margin:0}
.cta-band p{color:#c0bfca;margin:6px 0 0}
.site-footer{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px;padding-top:36px;padding-bottom:24px;margin-top:40px}
.site-footer .navbar-brand{font-size:16px}
.footer-brand p{margin:10px 0 0;max-width:280px}
.footer-col{display:flex;flex-direction:column;gap:7px}
.footer-col b{color:#454b58;font-size:12px;margin-bottom:3px}
.footer-col a{color:#7c8290;text-decoration:none}.footer-col a:hover{color:var(--red)}
.footer-bottom{grid-column:1/-1;border-top:1px solid var(--line);padding-top:16px}
@media(max-width:991px){.hero-split{grid-template-columns:1fr;padding-top:40px;padding-bottom:40px}.hero-visual{max-width:560px}.steps{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.site-footer{grid-template-columns:1fr}.cta-band{padding:28px 24px}.lang-switch{display:none}}
