.fb-shell{--fb-accent:#15816d;--fb-tint:#e6f5f0;--fb-paper:#fff;--fb-board:#f4f7f8;--fb-ink:var(--ink,#182a35);--fb-line:var(--line,#dce6e8);color:var(--fb-ink);min-width:0;border:1px solid var(--fb-line);border-radius:18px;background:var(--fb-paper);overflow:hidden}.fb-shell *{box-sizing:border-box}.fb-shell button,.fb-modal button{font:inherit}.fb-shell svg,.fb-modal svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.fb-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--fb-line,var(--line));border-radius:10px;padding:9px 12px;color:inherit;background:transparent;cursor:pointer;min-height:38px;line-height:1.3;max-width:100%;font-size:12px;font-weight:600}.fb-button:hover{background:var(--fb-tint,#e6f5f0);border-color:var(--fb-accent,#15816d)}.fb-button:focus-visible{outline:3px solid #5bbba9;outline-offset:2px}.fb-primary{background:var(--fb-accent,#15816d);border-color:transparent;color:white}.fb-primary:hover{filter:brightness(1.1);background:var(--fb-accent,#15816d)}.fb-button:disabled{cursor:default;opacity:.4}.fb-icon-button{width:36px;padding:8px;flex:none}.fb-icon-button>span{display:none}.fb-text-button{border-color:transparent;padding:5px 8px;font-size:12px;min-height:30px}.fb-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:750;color:var(--fb-accent);margin:0 0 9px}.fb-library{padding:28px}.fb-library-head{display:flex;justify-content:space-between;gap:24px;align-items:center}.fb-library-head h2{font-size:27px;margin:0 0 9px;letter-spacing:-.7px}.fb-migration{margin:24px 0;padding:13px 16px;border-radius:12px;background:var(--fb-tint);font-size:12px;color:var(--fb-accent)}.fb-migration summary{cursor:pointer;font-weight:650}.fb-migration p{margin:10px 0 0;max-width:780px;line-height:1.6}.fb-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:25px 0}.fb-template{display:grid;grid-template-columns:28px 1fr;text-align:left;justify-content:stretch;gap:4px 10px;padding:19px;min-height:108px}.fb-template svg{grid-row:span 2;color:var(--fb-accent);width:22px;height:22px}.fb-template>span{font-size:14px}.fb-template small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.5}.fb-library-tools{display:flex;align-items:center;gap:16px;margin:26px 0 15px}.fb-library-tools>input{max-width:350px;flex:1}.fb-library input,.fb-field input,.fb-field select,.fb-field textarea,.fb-identity input{color:inherit;background:var(--fb-paper,#fff);border:1px solid var(--fb-line,var(--line));border-radius:9px;padding:10px 11px;min-width:0;width:100%;font:inherit}.fb-checkbox{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;color:var(--muted)}.fb-checkbox input{width:16px;height:16px}.fb-flow-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--fb-line)}.fb-flow-open{border:0;display:grid;grid-template-columns:32px 1fr;text-align:left;justify-content:start;padding:13px}.fb-flow-open svg{grid-row:span 2;color:var(--fb-accent)}.fb-flow-open span{font-size:14px}.fb-flow-open small{color:var(--muted);font-weight:400}.fb-empty{padding:35px;color:var(--muted);text-align:center}.fb-toolbar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--fb-line);flex-wrap:wrap}.fb-identity{flex:1;min-width:160px;max-width:360px}.fb-identity input{font-size:16px;font-weight:650;padding:3px 0;border-color:transparent;background:transparent}.fb-save-state{font-size:11px;color:var(--muted)}.fb-toolbar-actions{display:flex;gap:6px;align-items:center;margin-left:auto;flex-wrap:wrap}.fb-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 16px;background:var(--fb-tint);color:var(--fb-accent);font-size:11px}.fb-strip>span{margin-right:auto}.fb-feedback{font-size:12px;padding:9px 16px;min-height:35px;margin:0;color:var(--muted)}.fb-feedback.fb-error{color:var(--danger,#b33);background:#d0474712}.fb-workspace{display:grid;grid-template-columns:178px minmax(280px,1fr) 275px;border-top:1px solid var(--fb-line);height:calc(100dvh - 295px);min-height:560px;max-height:950px}.fb-palette{overflow:auto;padding:15px 10px;border-right:1px solid var(--fb-line)}.fb-palette h3{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:var(--muted);padding:8px 7px;margin:5px 0}.fb-palette-item{width:100%;justify-content:flex-start;border-color:transparent;padding:9px 7px;font-size:11px;font-weight:500;text-align:left}.fb-palette-item svg{width:16px;height:16px;color:var(--fb-accent)}.fb-canvas-wrap{position:relative;min-width:0;overflow:hidden;background:var(--fb-board)}.fb-board{height:100%;width:100%;overflow:auto;background-image:radial-gradient(#7a9c9a40 .8px,transparent .8px);background-size:18px 18px;cursor:grab;overscroll-behavior:contain;touch-action:pan-x pan-y}.fb-stage{position:relative}.fb-edges{position:absolute;inset:0;pointer-events:none;overflow:visible}.fb-edges path{fill:none;stroke:#8aaba5;stroke-width:2}.fb-edges circle{fill:#8aaba5;stroke:none}.fb-edges .fb-edge-selected{stroke:var(--fb-accent);stroke-width:3}.fb-node{width:240px;position:absolute;border:1px solid var(--fb-line);border-radius:12px;background:var(--fb-paper);box-shadow:0 3px 12px #16304b10;overflow:hidden;cursor:default}.fb-node.fb-selected{border-color:var(--fb-accent);box-shadow:0 0 0 2px var(--fb-accent)}.fb-node-head{width:100%;border:0;border-radius:0;justify-content:flex-start;min-height:48px;padding:12px;font-size:12px;color:var(--fb-accent);background:var(--fb-tint);touch-action:none;cursor:move;text-align:left}.fb-node-head span{overflow-wrap:anywhere}.fb-node-preview{font-size:11px;line-height:1.5;color:var(--muted);padding:12px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;max-height:95px;overflow:hidden}.fb-port{position:relative;display:flex;justify-content:space-between;width:100%;border:0;border-top:1px solid var(--fb-line);border-radius:0;padding:8px 12px;min-height:34px;text-align:left;font-size:11px;font-weight:500}.fb-port-dot{display:block;width:9px;height:9px;border:2px solid #8aaba5;border-radius:50%;flex:none}.fb-connected .fb-port-dot{background:var(--fb-accent);border-color:var(--fb-accent)}.fb-kind-condition .fb-node-head,.fb-kind-menu .fb-node-head{color:#7770ac;background:#9990da15}.fb-kind-action .fb-node-head,.fb-kind-request .fb-node-head{color:#347eb0;background:#579cce15}.fb-kind-handoff .fb-node-head{color:#ba8550;background:#bc94511a}.fb-kind-comment{border-style:dashed;background:#f0cb5910}.fb-canvas-controls{position:absolute;bottom:14px;left:14px;display:flex;align-items:center;gap:5px;padding:6px;background:var(--fb-paper);border:1px solid var(--fb-line);border-radius:12px;box-shadow:0 4px 16px #0001;font-size:11px}.fb-zoom{font-size:18px;padding:3px 10px;border:0;min-height:30px}.fb-mobile-inspect{display:none}.fb-inspector{padding:18px 15px;border-left:1px solid var(--fb-line);overflow:auto;min-width:0}.fb-inspector-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.fb-inspector-head h3{font-size:14px}.fb-inspector>.muted{font-size:12px;margin-top:12px;line-height:1.7}.fb-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:12px;min-width:0}.fb-field>span{font-size:11px;font-weight:650}.fb-field input,.fb-field select,.fb-field textarea{font-size:12px;padding:9px;max-width:100%}.fb-field textarea{resize:vertical;min-height:80px;line-height:1.5}.fb-help{font-size:11px;line-height:1.65;color:var(--muted);margin:12px 0;overflow-wrap:anywhere}.fb-option-row{display:flex;align-items:end;gap:4px}.fb-option-row .fb-field{flex:1;min-width:0}.fb-option-row .fb-field:has(input[type=number]){flex:0 0 55px}.fb-option-row .fb-icon-button{margin-bottom:12px}.fb-rule{border:1px solid var(--fb-line);padding:6px 10px;border-radius:10px;margin:12px 0}.fb-connections{border-top:1px solid var(--fb-line);padding-top:15px;margin:20px 0}.fb-connections h3{font-size:12px}.fb-position{font-size:11px;color:var(--muted);margin:18px 0}.fb-position summary{cursor:pointer}.fb-danger{color:var(--danger);width:100%;margin-top:10px}.fb-modal{--fb-accent:#15816d;--fb-tint:#e6f5f0;--fb-paper:#fff;--fb-line:var(--line);color:var(--ink);background:var(--fb-paper);width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 40px);border:1px solid var(--fb-line);border-radius:18px;padding:0;box-shadow:0 24px 90px #0004}.fb-modal::backdrop{background:#0b1a2a99;backdrop-filter:blur(3px)}.fb-modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--fb-line);position:sticky;top:0;background:var(--fb-paper);z-index:2}.fb-modal-head h2{font-size:18px}.fb-modal-body{padding:22px;font-size:13px}.fb-modal-body>.fb-button{margin:5px}.fb-modal-body>p{line-height:1.7;margin-bottom:16px}.fb-modal pre{font-size:11px;background:var(--fb-tint);padding:12px;border-radius:10px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px}.fb-variable-chips{display:flex;flex-wrap:wrap;gap:5px;margin:15px 0 25px}.fb-variable-chips code{font-size:10px;background:var(--fb-tint);padding:5px 7px;border-radius:5px}.fb-variable-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--fb-line)}.fb-variable-row code{min-width:100px;overflow-wrap:anywhere}.fb-variable-row .fb-field{flex:1}.fb-variable-add{margin-top:20px}.fb-validation-item{display:flex;text-align:left;width:100%;justify-content:flex-start;margin:10px 0!important}.fb-simulation-label{font-size:10px;letter-spacing:.7px;color:var(--fb-accent);font-weight:750}.fb-simulator details{font-size:12px;margin:14px 0}.fb-simulator summary{cursor:pointer}.fb-transcript{display:flex;flex-direction:column;gap:12px;padding:22px 0;max-height:340px;overflow:auto}.fb-bubble{max-width:85%;border-radius:14px 14px 14px 3px;background:var(--fb-tint);padding:12px 15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.fb-bubble-customer{align-self:flex-end;border-radius:14px 14px 3px 14px;background:var(--fb-accent);color:white}.fb-bubble-event{max-width:100%;align-self:center;text-align:center;background:transparent;color:var(--muted);font-size:11px;padding:4px}.fb-simulation-prompt{border:1px solid var(--fb-line);border-radius:12px;padding:16px}.fb-simulation-prompt h3{font-size:13px;margin-bottom:12px}.fb-simulation-prompt>.fb-button{margin:4px}.fb-answer{display:flex;width:100%;margin:8px 0!important}.fb-simulation-finish{padding:14px;color:var(--fb-accent);background:var(--fb-tint);border-radius:10px}.fb-trace li{padding:5px;color:var(--muted)}
[data-theme=dark] .fb-shell,[data-theme=dark] .fb-modal{--fb-accent:#62ccb1;--fb-tint:#173b35;--fb-paper:#1c252b;--fb-board:#121d23;--fb-line:#34444b;--fb-ink:#e4eeed}[data-theme=dark] .fb-primary,[data-theme=dark] .fb-bubble-customer{color:#092820}[data-theme=dark] .fb-kind-condition .fb-node-head,[data-theme=dark] .fb-kind-menu .fb-node-head{color:#b9a5e6}[data-theme=dark] .fb-kind-action .fb-node-head,[data-theme=dark] .fb-kind-request .fb-node-head{color:#8dbfe8}[data-theme=dark] .fb-kind-handoff .fb-node-head{color:#e6bc85}
@media(max-width:1200px){.fb-workspace{grid-template-columns:148px minmax(250px,1fr) 245px}.fb-toolbar{gap:8px}.fb-identity{max-width:220px}.fb-toolbar-actions .fb-button{font-size:11px;padding:8px}.fb-palette-item{font-size:10px}.fb-library{padding:22px}}
@media(max-width:900px){.fb-workspace{grid-template-columns:125px minmax(220px,1fr);height:auto;min-height:0;max-height:none}.fb-canvas-wrap{height:560px}.fb-inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--fb-line);max-height:500px}.fb-palette{height:560px}.fb-mobile-inspect{display:inline-flex}.fb-identity{max-width:none}.fb-toolbar-actions{width:100%;justify-content:flex-start}.fb-library-head h2{font-size:22px}.fb-templates{gap:8px}.fb-template{padding:13px;grid-template-columns:22px 1fr}}
@media(max-width:600px){.fb-shell{border-radius:13px}.fb-library{padding:16px}.fb-library-head{align-items:flex-start;gap:12px}.fb-library-head h2{font-size:20px}.fb-library-head .muted{font-size:12px}.fb-library-head>.fb-button{font-size:11px;white-space:nowrap;padding:9px}.fb-templates{grid-template-columns:1fr;margin:18px 0}.fb-template{min-height:70px}.fb-library-tools{flex-wrap:wrap;gap:10px}.fb-library-tools>input{flex-basis:100%;max-width:none}.fb-checkbox{margin-right:auto}.fb-toolbar{padding:12px 10px}.fb-toolbar-actions{gap:5px}.fb-toolbar-actions .fb-button{min-height:34px;font-size:10px;padding:7px}.fb-toolbar-actions .fb-button svg{width:16px;height:16px}.fb-strip{gap:4px;padding:8px 10px}.fb-strip>span{width:100%;margin-bottom:3px;font-size:10px}.fb-feedback{font-size:10px;padding:8px 10px}.fb-workspace{display:flex;flex-direction:column}.fb-palette{display:flex;flex-wrap:nowrap;overflow-x:auto;height:auto;border:0;border-bottom:1px solid var(--fb-line);padding:8px}.fb-palette h3{display:none}.fb-palette-item{width:auto;flex:none;border:1px solid var(--fb-line);border-radius:8px;margin:0 3px;padding:8px;font-size:10px}.fb-canvas-wrap{height:430px}.fb-inspector{max-height:none;padding:18px}.fb-node{box-shadow:0 3px 8px #0001}.fb-identity input{font-size:14px}.fb-canvas-controls{left:8px;bottom:8px;gap:2px}.fb-canvas-controls .fb-button{font-size:10px;min-height:28px;padding:5px 7px}.fb-canvas-controls .fb-zoom{font-size:17px}.fb-modal-head{padding:14px 16px}.fb-modal-body{padding:16px}.fb-modal{max-height:calc(100dvh - 20px)}.fb-variable-row{gap:6px}.fb-variable-row code{width:100%;padding-top:10px}.fb-bubble{font-size:12px}.fb-modal .fb-field input,.fb-modal .fb-field textarea,.fb-modal .fb-field select{font-size:16px}.fb-inspector .fb-field input,.fb-inspector .fb-field textarea,.fb-inspector .fb-field select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.fb-shell *,.fb-modal *{scroll-behavior:auto!important}}
.fb-shell .fb-edges{width:100%;height:100%}
/* Guided editor: one graph, two levels of detail. */
.fb-mode-toggle{display:inline-flex;flex:none;padding:3px;border:1px solid var(--fb-line);border-radius:11px;background:var(--fb-board,#f4f7f8);gap:2px}.fb-mode-toggle .fb-button{border:0;border-radius:8px;min-height:32px;padding:6px 11px;font-size:12px;font-weight:500;box-shadow:none}.fb-mode-toggle .fb-button[aria-pressed=true]{color:var(--fb-accent);background:var(--fb-paper);box-shadow:0 1px 5px #0001;font-weight:750}.fb-library-head-actions{display:flex;flex-direction:column;gap:13px;align-items:flex-end}.fb-library-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--fb-line);padding-top:25px}.fb-library-list-heading h3{font-size:18px;margin:0}.fb-library-tools{margin-top:18px}.fb-template-description{padding:14px;background:var(--fb-tint);border-radius:10px;color:var(--fb-accent);font-size:13px}.fb-setup>.fb-primary{margin:16px 0 0!important;width:100%;min-height:45px}.fb-setup .fb-field{margin:18px 0}.fb-setup .fb-field>span{font-size:13px}.fb-setup .fb-field select,.fb-setup .fb-field input{font-size:14px;padding:13px}
.fb-simple .fb-toolbar{gap:10px}.fb-simple .fb-identity{max-width:290px}.fb-simple .fb-strip{padding-top:11px;padding-bottom:11px}.fb-simple-workspace{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(290px,1.2fr) minmax(260px,1fr);min-height:650px;border-top:1px solid var(--fb-line);align-items:start}.fb-simple-steps{padding:20px 16px;background:var(--fb-board);min-width:0;height:100%;border-right:1px solid var(--fb-line)}.fb-simple-column-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:18px}.fb-simple-column-head h3{margin:0;font-size:14px}.fb-simple-column-head>small{font-size:11px;color:var(--muted);width:100%}.fb-simple-column-head .fb-button{padding-left:0;padding-right:0;font-size:11px}.fb-step-list{display:flex;flex-direction:column;gap:10px}.fb-step-card{display:flex;width:100%;justify-content:flex-start;align-items:flex-start;text-align:left;padding:13px 11px;border-radius:12px;background:var(--fb-paper);gap:10px;position:relative;font-weight:400;min-height:70px}.fb-step-card.fb-selected{border-color:var(--fb-accent);box-shadow:0 0 0 1px var(--fb-accent);background:var(--fb-tint)}.fb-step-card:not(:last-child):after{content:'';position:absolute;height:11px;width:1px;left:24px;bottom:-12px;background:var(--fb-line)}.fb-step-number{display:flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;border:1px solid var(--fb-line);border-radius:8px;font-size:11px;color:var(--fb-accent);font-weight:700;background:var(--fb-paper)}.fb-step-content{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.fb-step-content strong{font-size:12px;line-height:1.4;font-weight:650}.fb-step-content small{font-size:10px;color:var(--muted)}.fb-step-description{font-size:11px;color:var(--muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.fb-simple-inspector{padding:24px;border-left:0;max-height:none!important;overflow:visible}.fb-simple-inspector .fb-inspector-head{margin-bottom:20px}.fb-simple-inspector .fb-edit-heading h3{font-size:20px;letter-spacing:-.35px;margin:0}.fb-simple-inspector .fb-eyebrow{font-size:9px}.fb-simple-inspector .fb-field{margin:17px 0 13px}.fb-simple-inspector .fb-field>span{font-size:12px}.fb-simple-inspector .fb-field input,.fb-simple-inspector .fb-field textarea,.fb-simple-inspector .fb-field select{font-size:13px;padding:11px;line-height:1.5}.fb-simple-inspector .fb-field textarea{min-height:130px}.fb-insert-data{margin:-6px 0 18px}.fb-insert-data select{color:var(--fb-accent);font:inherit;font-size:11px;background:var(--fb-tint);border:0;border-radius:8px;padding:8px 10px;max-width:100%;cursor:pointer}.fb-simple-choice{padding:0 12px 8px;margin:16px 0;border:1px solid var(--fb-line);border-radius:12px;background:var(--fb-board)}.fb-simple-choice .fb-field{margin:14px 0}.fb-simple-choice .fb-text-button{font-size:10px;color:var(--muted);min-height:25px}.fb-simple-delete{margin-top:24px}.fb-operation-info,.fb-operation-warning{font-size:12px;line-height:1.7;padding:14px 15px;border-radius:11px;background:var(--fb-tint);color:var(--fb-accent);margin:18px 0;overflow-wrap:anywhere}.fb-operation-warning{background:#ad711015;color:#997018;border:1px solid #ba842a40}.fb-simple .fb-connections h3{font-size:14px}.fb-simple .fb-connections{padding-top:20px;margin-top:25px}.fb-simple .fb-help{font-size:12px}
.fb-preview-wrap{padding:22px 18px;min-width:0;background:var(--fb-board);height:100%;border-left:1px solid var(--fb-line)}.fb-phone{max-width:320px;margin:0 auto;border:1px solid var(--fb-line);border-radius:22px;background:var(--fb-paper);overflow:hidden;box-shadow:0 10px 35px #17382e0c;min-height:360px}.fb-phone-head{display:grid;grid-template-columns:36px 1fr;gap:3px 10px;padding:18px 15px;background:var(--fb-paper);border-bottom:1px solid var(--fb-line);align-items:center}.fb-phone-head strong{font-size:12px;font-weight:650}.fb-phone-head small{color:var(--muted);font-size:10px}.fb-phone-avatar{grid-row:span 2;display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:50%;background:var(--fb-tint);font-size:13px;font-weight:700;color:var(--fb-accent)}.fb-phone-feed{padding:19px 13px 30px;background:var(--fb-board);min-height:290px;display:flex;flex-direction:column;gap:9px}.fb-phone-bubble{border-radius:3px 12px 12px 12px;background:var(--fb-paper);border:1px solid var(--fb-line);padding:12px;box-shadow:0 2px 2px #00000005;overflow-wrap:anywhere}.fb-phone-bubble p{font-size:12px;line-height:1.65;white-space:pre-wrap;margin:0}.fb-phone-bubble>small{display:block;text-align:right;font-size:9px;color:var(--muted);margin-top:8px}.fb-phone-choices{display:flex;flex-direction:column;gap:5px}.fb-phone-choice{color:var(--fb-accent);background:var(--fb-paper);border-radius:8px;min-height:37px;font-weight:550;font-size:12px;overflow-wrap:anywhere;white-space:normal}.fb-preview-list-label{font-size:11px;text-align:center;color:var(--fb-accent);margin:2px 0 6px;font-weight:600}.fb-phone-reply{padding:10px;border:1px dashed var(--fb-line);border-radius:10px;text-align:center;font-size:10px;color:var(--muted);line-height:1.5}.fb-preview-internal{font-size:12px;line-height:1.7;padding:15px;text-align:center;color:var(--muted);overflow-wrap:anywhere}.fb-preview-media{padding:30px 10px;background:var(--fb-tint);text-align:center;font-size:13px;color:var(--fb-accent);margin:-4px -4px 12px;border-radius:8px}.fb-preview-caption{font-size:11px;color:var(--muted);line-height:1.7;max-width:300px;margin:20px auto 12px}.fb-preview-test{display:flex;margin:0 auto;font-size:11px}.fb-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.fb-add-choice{display:grid;grid-template-columns:24px 1fr;gap:6px 9px;padding:15px;text-align:left;justify-content:stretch}.fb-add-choice svg{grid-row:span 2;color:var(--fb-accent)}.fb-add-choice small{font-size:11px;color:var(--muted);font-weight:400;line-height:1.5}.fb-simple-transcript{background:var(--fb-board,#f4f7f8);border-radius:12px;padding:16px;margin-bottom:18px;min-height:100px}.fb-simple-simulator .fb-simulation-label{line-height:1.7;letter-spacing:0;font-weight:500;font-size:12px}.fb-simple-simulator .fb-simulation-prompt{padding:15px}.fb-simple-simulator .fb-bubble{margin:0;font-size:13px}.fb-simple-simulator .fb-bubble-event{font-size:11px}
[data-theme=dark] .fb-operation-warning{color:#edc77f}[data-theme=dark] .fb-phone{box-shadow:0 10px 35px #0002}[data-theme=dark] .fb-simple-transcript{--fb-board:#121d23}
@media(min-width:1500px){.fb-simple-workspace{grid-template-columns:280px minmax(380px,1fr) 340px}.fb-simple-inspector{padding:28px 34px}.fb-preview-wrap{padding:25px}.fb-simple-steps{padding:23px 18px}}
@media(max-width:1150px){.fb-simple-workspace{grid-template-columns:210px minmax(260px,1fr) 245px}.fb-simple-inspector{padding:20px 16px}.fb-simple-steps{padding:18px 11px}.fb-preview-wrap{padding:20px 13px}.fb-simple .fb-toolbar-actions{width:100%;margin-left:0;justify-content:flex-end}.fb-simple .fb-identity{max-width:none}.fb-phone-feed{padding:13px 9px}.fb-phone-head{padding:15px 11px}.fb-simple .fb-mode-toggle{margin-left:auto}}
@media(max-width:900px){.fb-simple-workspace{grid-template-columns:210px minmax(0,1fr)}.fb-simple-inspector{grid-column:auto;border-top:0}.fb-preview-wrap{grid-column:2;border-top:1px solid var(--fb-line);border-left:0}.fb-simple-steps{grid-row:1/3}.fb-simple .fb-toolbar-actions{justify-content:flex-start}.fb-simple-steps .fb-simple-column-head{display:block}.fb-simple-column-head .fb-text-button{margin-top:8px}.fb-phone{max-width:350px}.fb-preview-wrap>.fb-simple-column-head{max-width:350px;margin:0 auto 18px}.fb-library-head-actions{flex-shrink:0}.fb-library .fb-templates{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-library-head{align-items:flex-start}}
@media(max-width:600px){.fb-library-head{display:block}.fb-library-head-actions{flex-direction:row;align-items:center;justify-content:space-between;margin-top:19px}.fb-library .fb-templates{grid-template-columns:1fr}.fb-library-list-heading h3{font-size:16px}.fb-library-list-heading>.fb-button{font-size:11px}.fb-mode-toggle .fb-button{padding:7px 10px;min-height:34px}.fb-simple .fb-toolbar{gap:8px}.fb-simple .fb-mode-toggle{margin-left:0;width:100%;justify-content:center}.fb-simple .fb-mode-toggle>.fb-button{flex:1}.fb-simple .fb-toolbar-actions{justify-content:space-between;flex-wrap:wrap}.fb-simple .fb-toolbar-actions .fb-button{font-size:11px;min-height:39px;padding:7px}.fb-simple .fb-toolbar-actions .fb-icon-button{width:34px}.fb-simple .fb-toolbar-actions .fb-button svg{width:16px}.fb-simple .fb-strip{padding:11px;font-size:12px}.fb-simple .fb-strip>span{line-height:1.8}.fb-simple .fb-feedback{font-size:12px;line-height:1.6;padding:11px}.fb-simple-workspace{display:flex;flex-direction:column;min-height:0}.fb-simple-steps{width:100%;border-right:0;border-bottom:1px solid var(--fb-line);padding:16px 12px}.fb-simple-steps .fb-simple-column-head{display:flex;margin-bottom:13px}.fb-simple-steps .fb-simple-column-head .fb-text-button{margin:0}.fb-step-list{flex-direction:row;overflow-x:auto;gap:9px;padding:3px 2px 10px;scroll-snap-type:x proximity}.fb-step-card{flex:0 0 185px;min-height:82px;max-height:123px;scroll-snap-align:start}.fb-step-card:not(:last-child):after{display:none}.fb-step-card .fb-step-description{-webkit-line-clamp:1}.fb-simple-inspector{width:100%;padding:22px 18px}.fb-simple-inspector .fb-field input,.fb-simple-inspector .fb-field textarea,.fb-simple-inspector .fb-field select,.fb-setup .fb-field select,.fb-setup .fb-field input{font-size:16px}.fb-insert-data select{font-size:14px;padding:11px;min-height:42px}.fb-simple-inspector .fb-field>span{font-size:12px}.fb-simple-inspector .fb-edit-heading h3{font-size:21px}.fb-simple-inspector .fb-help{font-size:12px}.fb-preview-wrap{width:100%;padding:22px 20px}.fb-phone{max-width:340px}.fb-preview-caption{max-width:340px}.fb-add-grid{grid-template-columns:1fr}.fb-add-choice{padding:13px}.fb-simple-choice .fb-text-button{min-height:36px}.fb-simple-simulator .fb-simulation-prompt>.fb-button{width:100%;margin:5px 0}}
.fb-palette-item.fb-unavailable{flex-wrap:wrap;row-gap:4px}.fb-capability-badge{font-size:8px;font-weight:500;line-height:1.3;border:1px solid var(--fb-line);border-radius:4px;padding:2px 4px;color:var(--muted);margin-left:23px}.fb-unavailable>span{flex:1}.fb-unavailable .fb-capability-badge{flex:none}
.fb-simple-choice>summary{font-size:12px;font-weight:650;cursor:pointer;padding:14px 0;line-height:1.5;overflow-wrap:anywhere;color:var(--fb-accent)}.fb-simple-choice:not([open]){padding-bottom:0;margin:9px 0}.fb-simple-choice[open]>summary{border-bottom:1px solid var(--fb-line);margin-bottom:4px}.fb-simple-choice summary:focus-visible{outline:2px solid var(--fb-accent);outline-offset:3px;border-radius:4px}
/* Imported source graphs reuse the flow builder; consultation never edits a graph. */
.fb-source-readonly .fb-workspace{grid-template-columns:minmax(0,1fr) 340px}
.fb-source-readonly .fb-identity{max-width:none;min-width:0}
.fb-source-readonly .fb-identity h2{font-size:16px;margin:0 0 5px;overflow-wrap:anywhere}
.fb-source-readonly .fb-node-head{cursor:pointer;touch-action:auto}
.fb-source-readonly .fb-node .fb-node-head,.fb-source-readonly .fb-node .fb-port{color:var(--fb-accent);background:var(--fb-tint)}
.fb-source-readonly .fb-port{background:var(--fb-paper)}
.fb-source-readonly .fb-source-count{display:block;padding:0 12px 10px;font-size:10px;color:var(--muted)}
.fb-source-readonly .fb-source-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:1.65;max-width:100%}
.fb-source-readonly .fb-rule h3{font-size:13px;overflow-wrap:anywhere}
.fb-source-readonly .fb-rule li{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.fb-source-readonly .fb-migration{margin:0 16px 12px}
.fb-source-readonly .fb-canvas-controls{max-width:calc(100% - 28px);flex-wrap:wrap}
@media(max-width:900px){.fb-source-readonly .fb-workspace{display:flex;flex-direction:column;height:auto;max-height:none;min-height:0}.fb-source-readonly .fb-canvas-wrap{height:55dvh;min-height:300px}.fb-source-readonly .fb-inspector{border-left:0;border-top:1px solid var(--fb-line);max-height:none}.fb-source-readonly .fb-toolbar{align-items:flex-start}.fb-source-readonly .fb-toolbar-actions{width:100%;margin-left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fb-source-readonly .fb-toolbar-actions .fb-button{min-width:0}}

.fb-source-readonly .fb-edges path{stroke:var(--fb-accent);opacity:.55}.fb-source-readonly .fb-edges circle{fill:var(--fb-accent)}.fb-source-readonly .fb-edges .fb-edge-selected{opacity:1}

/* Scope selection and the persistent context of the open channel. */
.fb-picker{padding:clamp(16px,3vw,32px)}
.fb-picker-head,.fb-context,.fb-context-actions,.fb-picker-foot{display:flex;align-items:center;gap:12px;justify-content:space-between}
.fb-picker h2,.fb-library-head h2{margin:0;color:var(--fb-ink);font-size:clamp(1.25rem,2.4vw,1.7rem)}
.fb-channel-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}
.fb-channel-type.fb-button{min-height:72px;justify-content:flex-start;gap:12px;white-space:normal;text-align:left}
.fb-channel-type[aria-pressed=true]{background:var(--fb-tint);border-color:var(--fb-accent);color:var(--fb-accent)}
.fb-channel-type svg,.fb-channel-option svg{flex:none;width:20px;height:20px}
.fb-channel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,215px),1fr));gap:8px}
.fb-channel-list h3,.fb-channel-list .fb-empty{grid-column:1/-1;margin:0 0 4px}
.fb-channel-option.fb-button{min-height:52px;justify-content:flex-start;flex-wrap:wrap;text-align:left;overflow-wrap:anywhere}
.fb-channel-option small{color:var(--muted);font-weight:400}
.fb-picker-foot{margin-top:16px;flex-wrap:wrap}
.fb-picker-foot p{margin:0}
.fb-picker .fb-feedback:empty,.fb-library .fb-feedback:empty,.fb-setup .fb-feedback:empty{display:none}
.fb-context{background:var(--fb-board);border-bottom:1px solid var(--fb-line);padding:10px 16px;min-width:0}
.fb-library>.fb-context{border:1px solid var(--fb-line);border-radius:10px;margin:0 0 18px}
.fb-context-title{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.fb-context-title small{font-size:11px;font-weight:500;color:var(--muted)}
.fb-context-title strong{font-size:15px;line-height:1.3}
.fb-context-actions{justify-content:flex-end;flex-wrap:wrap;flex-shrink:0;gap:6px}
.fb-context-actions .fb-button,.fb-picker-head .fb-button{min-height:40px;white-space:normal}
.fb-read-steps li{padding:6px 0;overflow-wrap:anywhere}
.fb-full-dialog{border:0;padding:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;background:var(--surface,#fff);color:inherit;overscroll-behavior:contain}
#flow-builder-root.fb-full{box-sizing:border-box;width:100%;height:100dvh;overflow:auto;overscroll-behavior:contain;background:var(--surface,var(--bg,#fff))}
.fb-full>.fb-shell{min-height:100%;border:0;border-radius:0}
.fb-full .fb-editor{display:flex;flex-direction:column}
.fb-full .fb-workspace,.fb-full .fb-simple-workspace{flex:1;max-height:none}
.fb-full .fb-context{position:sticky;top:0;z-index:7}
.fb-picker button:focus-visible,.fb-context button:focus-visible{outline:2px solid var(--fb-accent);outline-offset:2px}
@media(max-width:760px){.fb-channel-types{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-channel-type.fb-button{min-height:58px}.fb-picker-head,.fb-context{flex-wrap:wrap}.fb-context-actions .fb-button{min-height:44px}.fb-picker-head h2{flex:1}.fb-full .fb-simple-workspace{min-height:0}.fb-context{gap:8px}}
@media(max-width:420px){.fb-context-title{flex-basis:100%}.fb-context-actions{justify-content:flex-start}.fb-channel-type.fb-button{gap:7px;padding:9px;font-size:13px}}
.fb-previous{margin-top:20px}
/* Shared surfaces keep the flow workspace in the CRM palette in either theme. */
#flow-builder-root {
  --fb-glass: color-mix(in srgb, var(--linx-surface, #fff) 89%, transparent);
  --fb-glass-edge: color-mix(in srgb, var(--linx-line, #dedbd3) 82%, transparent);
  --fb-reflection: rgb(255 255 255 / 76%);
  --fb-elevation: 0 9px 30px -19px rgb(67 48 16 / 30%);
  font-family: inherit;
  min-width: 0;
}
:root[data-theme="dark"] #flow-builder-root {
  --fb-reflection: rgb(255 255 255 / 8%);
  --fb-elevation: 0 14px 36px -21px rgb(0 0 0 / 62%);
}
#flow-builder-root > .fb-shell {
  color: var(--linx-ink, var(--fb-ink));
  border-color: var(--fb-glass-edge);
  border-radius: 22px;
  box-shadow: inset 0 1px var(--fb-reflection), var(--fb-elevation);
}
#flow-builder-root.fb-full > .fb-shell { border-radius: 0; box-shadow: none; }
#flow-builder-root .fb-toolbar { background: var(--fb-glass); gap: 10px; }
#flow-builder-root .fb-save-state { color: var(--linx-muted, var(--muted)); }
#flow-builder-root .fb-mode-toggle {
  border: 1px solid var(--fb-glass-edge);
  background: var(--linx-canvas, var(--fb-board));
  padding: 3px;
  border-radius: 12px;
}
#flow-builder-root .fb-mode-toggle .fb-button {
  border: 0;
  color: var(--linx-muted, var(--muted));
  background: transparent;
  padding-inline: 12px;
}
#flow-builder-root .fb-mode-toggle .fb-button[aria-pressed=true] {
  color: var(--linx-ink, var(--fb-ink));
  background: var(--linx-surface, var(--fb-paper));
  box-shadow: 0 1px 4px rgb(0 0 0 / 14%), inset 0 1px var(--fb-reflection);
}
#flow-builder-root .fb-modal {
  border: 1px solid var(--fb-glass-edge);
  border-radius: 20px;
  background: var(--linx-surface, var(--fb-paper));
  box-shadow: inset 0 1px var(--fb-reflection), 0 25px 85px rgb(0 0 0 / 28%);
}
#flow-builder-root .fb-modal::backdrop { background: rgb(12 15 21 / 46%); }
#flow-builder-root .fb-modal-head {
  background: var(--fb-glass);
  border-bottom: 1px solid var(--fb-glass-edge);
}
@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  #flow-builder-root .fb-modal::backdrop { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  #flow-builder-root :is(.fb-modal-head, .fb-full .fb-context) { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
#main:has(> #view-fluxos:not([hidden])) .page-header #page-subtitle { display: none; }
#main:has(> #view-fluxos:not([hidden])) .page-header:has(#page-subtitle) { min-height: 0; margin-block: 0; }
@media (prefers-reduced-transparency: reduce) {
  #flow-builder-root { --fb-glass: var(--linx-surface, #fff); }
  #flow-builder-root .fb-modal::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 600px) {
  #flow-builder-root > .fb-shell { border-radius: 15px; }
  #flow-builder-root .fb-toolbar .fb-mode-toggle .fb-button { min-height: 38px; }
}
/* Channel chooser and flow library. Use container width because the CRM sidebar can
   remain visible even at tablet viewport sizes. */
#flow-builder-root {
  --fb-choice-top: #fffefb;
  --fb-choice-base: #f5f3ee;
  --fb-choice-pane: rgb(255 255 255 / 85%);
  --fb-choice-rail: rgb(240 238 232 / 76%);
  --fb-choice-edge: rgb(77 61 35 / 15%);
  --fb-choice-shine: rgb(255 255 255 / 90%);
  --fb-choice-muted: #605d56;
  --fb-choice-link: #705018;
  --fb-choice-select: #f2e7cf;
  --fb-choice-active-line: #d5bd8b;
  --fb-choice-lift: 0 12px 32px -24px rgb(42 31 15 / 34%);
  --fb-choice-gleam: rgb(224 187 114 / 23%);
  container: flow-chooser / inline-size;
}
[data-theme=dark] #flow-builder-root {
  --fb-choice-top: #282725;
  --fb-choice-base: #1c1c1c;
  --fb-choice-pane: rgb(35 35 35 / 91%);
  --fb-choice-rail: rgb(26 26 26 / 79%);
  --fb-choice-edge: rgb(232 222 204 / 13%);
  --fb-choice-shine: rgb(255 248 224 / 8%);
  --fb-choice-muted: #c0bbb2;
  --fb-choice-link: #ead19d;
  --fb-choice-select: #393327;
  --fb-choice-active-line: #7a684a;
  --fb-choice-lift: 0 16px 34px -24px rgb(0 0 0 / 80%);
  --fb-choice-gleam: rgb(205 171 105 / 20%);
}
#flow-builder-root :is(.fb-picker,.fb-library) {
  padding: clamp(18px,3.4cqi,38px);
  border-radius: 24px;
  border: 1px solid var(--fb-choice-edge);
  background: radial-gradient(ellipse 66% 77% at 90% -30%,var(--fb-choice-shine),transparent 79%),
              radial-gradient(ellipse 76% 82% at 98% -12%,var(--fb-choice-gleam),transparent 72%),
              linear-gradient(148deg,var(--fb-choice-top),var(--fb-choice-base));
  box-shadow: inset 0 1px var(--fb-choice-shine),var(--fb-choice-lift);
}
#flow-builder-root.fb-full :is(.fb-picker,.fb-library) {border-radius:0}
#flow-builder-root .fb-picker {
  --fb-optic:#4eac8e;
  --fb-warm-glow:rgb(211 174 100 / 29%);
  --fb-sheen:rgb(255 255 255 / 75%);
  --fb-well:rgb(255 255 255 / 61%);
  position:relative;isolation:isolate;
  background:
    radial-gradient(ellipse 55% 95% at 88% -17%,var(--fb-warm-glow),transparent 78%),
    radial-gradient(ellipse 50% 75% at 15% 0%,color-mix(in srgb,var(--fb-optic) 17%,transparent),transparent 88%),
    linear-gradient(145deg,var(--fb-choice-top),var(--fb-choice-base) 65%);
  box-shadow:inset 0 1px 0 var(--fb-sheen),inset 1px 0 0 var(--fb-choice-shine),var(--fb-choice-lift);
}
#flow-builder-root .fb-picker:has([data-type=bot][aria-pressed=true]) {--fb-optic:#6ba7d3}
#flow-builder-root .fb-picker:has([data-type=account][aria-pressed=true]) {--fb-optic:#8c9ed1}
#flow-builder-root .fb-picker:has([data-type=web][aria-pressed=true]) {--fb-optic:#bf89ab}
[data-theme=dark] #flow-builder-root .fb-picker {
  --fb-warm-glow:rgb(212 158 77 / 32%);
  --fb-sheen:rgb(255 242 209 / 24%);
  --fb-well:rgb(34 35 34 / 64%);
}
#flow-builder-root .fb-picker::before {
  content:"";position:absolute;pointer-events:none;inset:0;z-index:-1;
  background:linear-gradient(125deg,transparent 18%,color-mix(in srgb,var(--fb-optic) 6%,transparent) 29%,transparent 42%,transparent 61%,var(--fb-choice-shine) 86%,transparent 99%);
  opacity:.5;
}
#flow-builder-root .fb-picker-head {margin-bottom:clamp(22px,3cqi,32px);align-items:center}
#flow-builder-root .fb-picker-head {position:relative;isolation:isolate}
#flow-builder-root .fb-picker-head::after {
  /* Branches of a flow etched into the glass. Kept away from the header controls. */
  content:"";position:absolute;z-index:-1;pointer-events:none;inset:-16px 13% -16px 39%;
  background:linear-gradient(100deg,transparent 5%,var(--fb-optic) 46%,#ca994e 86%);
  opacity:.35;
  -webkit-mask:var(--fb-etch) center right / auto 100% no-repeat;
  mask:var(--fb-etch) center right / auto 100% no-repeat;
  --fb-etch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='350' height='99' viewBox='0 0 350 99'%3E%3Cg fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 67h99c35 0 47-44 81-44h90m-163 44h56c31 0 35-19 67-19h86M75 80h65c42 0 50 2 81 2h32'/%3E%3Ccircle cx='275' cy='23' r='4.5'/%3E%3Ccircle cx='321' cy='48' r='4.5'/%3E%3Ccircle cx='258' cy='82' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
}
#flow-builder-root :is(.fb-picker-head,.fb-library-head) h2 {
  margin:0; font-size:clamp(23px,3.4cqi,35px);font-weight:680;
  line-height:1.13; letter-spacing:-.043em;
}
#flow-builder-root .fb-picker-head p {margin:8px 0 0;font-size:14px;color:var(--fb-choice-muted);line-height:1.45}
#flow-builder-root :is(.fb-picker-head,.fb-context-actions) .fb-button {
  background:var(--fb-choice-pane);border-color:var(--fb-choice-edge);
  border-radius:12px;font-size:12px;padding:8px 12px;min-height:42px;box-shadow:inset 0 1px var(--fb-choice-shine);
}
#flow-builder-root .fb-picker-body {
  display:grid;grid-template-columns:minmax(184px,.65fr) minmax(0,1.7fr);
  border:1px solid var(--fb-choice-edge);border-top-color:var(--fb-sheen);border-radius:19px;background:var(--fb-choice-pane);overflow:hidden;
  box-shadow:0 13px 30px -23px rgb(20 16 8 / 65%),inset 0 1px var(--fb-choice-shine),inset 1px 0 var(--fb-choice-shine);
}
@supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))) {
  #flow-builder-root .fb-picker-body {
    background:
      radial-gradient(ellipse 49% 115% at 100% -80%,var(--fb-warm-glow),transparent 92%),
      linear-gradient(132deg,color-mix(in srgb,var(--fb-well) 80%,transparent),var(--fb-well) 51%,var(--fb-choice-pane));
    -webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);
  }
}
#flow-builder-root .fb-channel-rail {
  min-width:0;padding:20px 12px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--fb-optic) 9%,var(--fb-choice-rail)),color-mix(in srgb,var(--fb-choice-rail) 68%,transparent) 52%,var(--fb-choice-rail));
  border-right:1px solid var(--fb-choice-edge);box-shadow:inset -1px 0 var(--fb-choice-shine);
}
#flow-builder-root .fb-picker-kicker {
  padding:0 10px;margin:2px 0 12px;font-size:12px;color:var(--fb-choice-muted);font-weight:650;
}
#flow-builder-root .fb-channel-types {display:grid;grid-template-columns:1fr;gap:5px;margin:0}
#flow-builder-root .fb-channel-type {
  display:grid;grid-template-columns:auto 1fr 10px;align-items:center;gap:11px;
  min-width:0;min-height:52px;text-align:left;white-space:normal;font-size:13px;
  padding:6px 10px 6px 7px;border-radius:12px;background:transparent;
  color:var(--fb-ink);border:1px solid transparent;font-weight:580;box-shadow:none;
}
#flow-builder-root .fb-channel-type:hover {background:var(--fb-choice-pane);border-color:var(--fb-choice-edge)}
#flow-builder-root .fb-channel-type[aria-pressed=true] {
  background:linear-gradient(115deg,color-mix(in srgb,var(--fb-optic) 12%,var(--fb-choice-select)),var(--fb-choice-select) 60%,color-mix(in srgb,var(--fb-choice-select) 72%,var(--fb-choice-pane)));
  color:var(--fb-ink);border-color:var(--fb-choice-active-line);box-shadow:inset 0 1px var(--fb-sheen),0 4px 8px -6px rgb(24 17 7 / 48%);
}
#flow-builder-root .fb-channel-type>.fb-row-arrow {visibility:hidden}
#flow-builder-root .fb-channel-type[aria-pressed=true]>.fb-row-arrow {visibility:visible;color:var(--fb-choice-link)}
#flow-builder-root .fb-channel-mark {
  --fb-medium:#80652f;--fb-medium-bg:#f4ecd9;
  width:38px;height:38px;display:inline-grid;place-items:center;flex:none;border-radius:11px;
  color:var(--fb-medium);background:linear-gradient(145deg,color-mix(in srgb,var(--fb-medium-bg) 78%,white),var(--fb-medium-bg));
  box-shadow:inset 0 1px 1px var(--fb-sheen),inset 0 0 0 1px color-mix(in srgb,var(--fb-medium) 21%,transparent),0 2px 3px rgb(0 0 0 / 8%);
}
#flow-builder-root .fb-channel-mark svg {width:21px;height:21px;stroke-width:1.7;color:inherit}
#flow-builder-root .fb-channel-type .fb-channel-mark svg {width:23px;height:23px}
#flow-builder-root [data-medium=whatsapp] {--fb-medium:#146443;--fb-medium-bg:#d5eee0}
#flow-builder-root [data-medium=bot] {--fb-medium:#1a608c;--fb-medium-bg:#ddecfc}
#flow-builder-root [data-medium=account] {--fb-medium:#334e9b;--fb-medium-bg:#dfe6fc}
#flow-builder-root [data-medium=web] {--fb-medium:#785182;--fb-medium-bg:#f0e2f3}
[data-theme=dark] #flow-builder-root .fb-channel-mark {
  background:linear-gradient(145deg,color-mix(in srgb,var(--fb-medium-bg) 88%,#a99a83),var(--fb-medium-bg));
}
[data-theme=dark] #flow-builder-root [data-medium=whatsapp] {--fb-medium:#9be7ba;--fb-medium-bg:#244537}
[data-theme=dark] #flow-builder-root [data-medium=bot] {--fb-medium:#a1d9fb;--fb-medium-bg:#273e50}
[data-theme=dark] #flow-builder-root [data-medium=account] {--fb-medium:#b4c6ff;--fb-medium-bg:#323a55}
[data-theme=dark] #flow-builder-root [data-medium=web] {--fb-medium:#e2bce6;--fb-medium-bg:#49364d}
#flow-builder-root .fb-channel-list {
  display:flex;flex-direction:column;gap:0;min-width:0;align-self:start;padding:16px clamp(12px,2.6cqi,28px);
}
#flow-builder-root .fb-connections-heading {display:flex;gap:11px;align-items:center;padding:4px 0 15px;border-bottom:1px solid var(--fb-choice-edge)}
#flow-builder-root .fb-connections-heading h3 {margin:0;font-size:clamp(17px,2.2cqi,21px);line-height:1.22;letter-spacing:-.028em;font-weight:650}
#flow-builder-root .fb-connections-heading .fb-channel-mark {width:29px;height:29px;border-radius:9px}
#flow-builder-root .fb-connections-heading svg {width:18px;height:18px}
#flow-builder-root .fb-channel-option {
  display:flex;align-items:center;flex-wrap:nowrap;justify-content:flex-start;text-align:left;width:100%;gap:12px;min-height:54px;
  padding:11px 5px;border-radius:0;border:0;border-bottom:1px solid var(--fb-choice-edge);background:transparent;box-shadow:none;
}
#flow-builder-root .fb-channel-list>.fb-channel-option:last-child,
#flow-builder-root .fb-unavailable-channels .fb-channel-option:last-child {border-bottom-color:transparent}
#flow-builder-root .fb-channel-option:hover {background:var(--fb-choice-rail);border-radius:9px}
#flow-builder-root .fb-connection-mark {
  width:29px;height:29px;flex:none;display:grid;place-items:center;
  color:var(--fb-choice-muted);background:var(--fb-choice-rail);border:1px solid var(--fb-choice-edge);border-radius:9px;
}
#flow-builder-root .fb-connection-mark svg {width:15px;height:15px;stroke-width:1.65}
#flow-builder-root .fb-connection-copy {flex:1 1 0;min-width:0;display:grid;gap:3px;text-align:left;overflow-wrap:anywhere}
#flow-builder-root .fb-connection-copy strong {font-size:14px;font-weight:630;line-height:1.32;color:var(--fb-ink)}
#flow-builder-root .fb-connection-copy small,#flow-builder-root .fb-connection-status {font-size:11px;line-height:1.35;color:var(--fb-choice-muted);font-weight:480}
#flow-builder-root .fb-row-arrow {font:400 21px/1 system-ui;color:var(--fb-choice-muted);flex:none;}
#flow-builder-root .fb-unavailable-channels {margin:5px 0 0}
#flow-builder-root .fb-unavailable-channels > summary,#flow-builder-root .fb-previous > summary {
  display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:12px;line-height:1.35;font-weight:590;color:var(--fb-choice-muted);
  min-height:43px;padding:5px 4px;outline-offset:2px;border-radius:7px;
}
#flow-builder-root .fb-picker summary::-webkit-details-marker {display:none}
#flow-builder-root :is(.fb-unavailable-channels,.fb-previous)>summary::after {
  content:'';width:5px;height:5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-2px 3px 0 2px;
}
#flow-builder-root :is(.fb-unavailable-channels,.fb-previous)[open]>summary::after {transform:rotate(225deg);margin-top:3px}
#flow-builder-root .fb-picker-foot {
  justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:4px 17px;margin:12px 2px 0;
}
#flow-builder-root .fb-picker-foot .fb-text-button {
  min-height:43px;background:transparent;border-color:transparent;color:var(--fb-choice-muted);font-size:12px;font-weight:550;box-shadow:none;
}
#flow-builder-root .fb-previous {margin:0}
#flow-builder-root .fb-previous[open] {max-width:100%}
#flow-builder-root .fb-picker-foot svg {width:15px;height:15px}
#flow-builder-root .fb-previous .fb-channel-option {padding-inline:4px}
#flow-builder-root .fb-picker :is(button,summary):focus-visible {outline-offset:-3px}
#flow-builder-root .fb-picker .fb-empty {padding:24px 10px;text-align:left;margin:0;color:var(--fb-choice-muted)}
#flow-builder-root .fb-context-identity {display:flex;align-items:center;gap:10px;min-width:0}
#flow-builder-root .fb-context-identity .fb-context-title {flex-basis:auto}
#flow-builder-root .fb-library>.fb-context {
  margin:0 0 25px;padding:12px 14px;background:var(--fb-choice-pane);border:1px solid var(--fb-choice-edge);
  border-radius:15px;box-shadow:inset 0 1px var(--fb-choice-shine);
}
#flow-builder-root .fb-library-tools {flex-wrap:wrap}
#flow-builder-root .fb-flow-list {
  background:var(--fb-choice-pane);border:1px solid var(--fb-choice-edge);border-radius:16px;padding:0 clamp(8px,2cqi,20px);
}
#flow-builder-root .fb-flow-row {min-width:0;border:0;border-bottom:1px solid var(--fb-choice-edge);padding:6px 0;gap:8px}
#flow-builder-root .fb-flow-row:last-child {border-bottom:0}
#flow-builder-root .fb-flow-open {
  min-width:0;flex:1 1 auto;background:transparent;border:0;box-shadow:none;grid-template-columns:32px minmax(0,1fr);
}
#flow-builder-root .fb-flow-open>span,#flow-builder-root .fb-flow-open small {overflow-wrap:anywhere}
#flow-builder-root .fb-flow-open:hover {background:var(--fb-choice-rail)}
#flow-builder-root .fb-flow-open>svg {width:30px;height:30px;padding:6px;background:var(--fb-choice-rail);border:1px solid var(--fb-choice-edge);border-radius:9px}
#flow-builder-root .fb-flow-row>.fb-icon-button {width:40px;height:40px;box-shadow:none;border:0;background:transparent}
@container flow-chooser (max-width:650px) {
  #flow-builder-root .fb-picker-head::after {display:none}
  #flow-builder-root .fb-picker-head {margin-bottom:16px}
  #flow-builder-root .fb-picker-body {grid-template-columns:minmax(0,1fr)}
  #flow-builder-root .fb-channel-rail {border-right:0;border-bottom:1px solid var(--fb-choice-edge);padding:11px}
  #flow-builder-root .fb-channel-rail h3 {display:none}
  #flow-builder-root .fb-channel-types {grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  #flow-builder-root .fb-channel-type {grid-template-columns:auto 1fr;gap:8px;padding:6px;font-size:12px;min-height:44px}
  #flow-builder-root .fb-channel-type>.fb-row-arrow {display:none}
  #flow-builder-root .fb-channel-type .fb-channel-mark {width:29px;height:29px;border-radius:9px}
  #flow-builder-root .fb-channel-type .fb-channel-mark svg {width:18px;height:18px}
  #flow-builder-root .fb-connection-mark {display:none}
  #flow-builder-root .fb-connections-heading {padding-bottom:11px}
  #flow-builder-root .fb-context {align-items:center;gap:8px}
  #flow-builder-root .fb-library>.fb-context {padding:9px;margin-bottom:16px}
}
@container flow-chooser (max-width:440px) {
  #flow-builder-root :is(.fb-picker,.fb-library) {padding:13px;border-radius:17px}
  #flow-builder-root .fb-picker {padding-block:16px 8px}
  #flow-builder-root .fb-picker-head {align-items:flex-start;flex-wrap:nowrap;gap:8px}
  #flow-builder-root .fb-picker-head h2 {font-size:23px}
  #flow-builder-root .fb-picker-head p {font-size:12px;margin-top:5px}
  #flow-builder-root .fb-picker-head .fb-button {padding:8px;white-space:nowrap;gap:5px}
  #flow-builder-root .fb-picker-foot {gap:0 10px}
  #flow-builder-root .fb-context-identity {flex:1 1 100%}
}
@media(forced-colors:active) {
  #flow-builder-root .fb-channel-type[aria-pressed=true] {outline:2px solid Highlight;outline-offset:-2px}
}
/* The block library, simulator and canvas share one set of marks. */
#flow-builder-root {
  --fb-mark-lightness: 32%;
  --fb-work-shadow: 0 7px 22px rgb(55 42 20 / 7%);
  --fb-sheen: rgb(255 255 255 / 66%);
}
[data-theme=dark] #flow-builder-root {
  --fb-mark-lightness: 76%;
  --fb-work-shadow: 0 7px 22px rgb(0 0 0 / 20%);
  --fb-sheen: rgb(255 255 255 / 9%);
}
#flow-builder-root .fb-block-mark {
  --hue: 205;
  --mark: hsl(var(--hue) 60% var(--fb-mark-lightness));
  display: inline-grid; place-items: center; flex: none;
  inline-size: 35px; block-size: 35px; border-radius: 11px;
  color: var(--mark);
  background: linear-gradient(145deg,color-mix(in srgb,var(--mark) 17%,var(--fb-paper)),color-mix(in srgb,var(--mark) 8%,var(--fb-paper)));
  border: 1px solid color-mix(in srgb,var(--mark) 24%,transparent);
  box-shadow: inset 0 1px var(--fb-sheen);
}
#flow-builder-root .fb-block-mark svg {
  width: 19px; height: 19px; color: inherit; stroke-width: 1.7; fill: none;
}
#flow-builder-root :is([data-block-kind=start],[data-block-kind=trial_start]) { --hue: 153 }
#flow-builder-root [data-block-kind=message] { --hue: 195 }
#flow-builder-root [data-block-kind=menu] { --hue: 259 }
#flow-builder-root :is([data-block-kind=input],[data-block-kind=tag]) { --hue: 34 }
#flow-builder-root :is([data-block-kind=media],[data-block-kind=comment]) { --hue: 318 }
#flow-builder-root :is([data-block-kind=condition],[data-block-kind=repeat]) { --hue: 272 }
#flow-builder-root :is([data-block-kind=set],[data-block-kind=subflow]) { --hue: 215 }
#flow-builder-root :is([data-block-kind=delay],[data-block-kind=random]) { --hue: 170 }
#flow-builder-root :is([data-block-kind=action],[data-block-kind=renewal_start]) { --hue: 26 }
#flow-builder-root [data-block-kind=request] { --hue: 190 }
#flow-builder-root [data-block-kind=ai] { --hue: 292 }
#flow-builder-root [data-block-kind=handoff] { --hue: 142 }
#flow-builder-root [data-block-kind=end] { --hue: 348 }

#flow-builder-root .fb-editor {
  container-type: inline-size;
  --fb-panel-edge: color-mix(in srgb,var(--fb-ink) 13%,transparent);
  --fb-panel-fill: color-mix(in srgb,var(--fb-paper) 76%,var(--fb-board));
  --fb-hairline: color-mix(in srgb,var(--fb-ink) 9%,transparent);
}
#flow-builder-root .fb-toolbar,
#flow-builder-root .fb-canvas-controls {
  background: linear-gradient(125deg,color-mix(in srgb,var(--fb-paper) 94%,transparent),color-mix(in srgb,var(--fb-paper) 82%,transparent));
  box-shadow: inset 0 1px var(--fb-sheen);
}
#flow-builder-root .fb-strip {
  background: color-mix(in srgb,var(--fb-accent) 5%,var(--fb-paper));
}
#flow-builder-root .fb-strip .fb-text-button {
  background: transparent; border-color: transparent; color: var(--fb-accent);
}
#flow-builder-root .fb-toolbar .fb-icon-button:where(:not(:hover,:focus-visible)),
#flow-builder-root .fb-mode-toggle .fb-button[aria-pressed=false] {
  background: transparent; border-color: transparent;
}
#flow-builder-root .fb-mode-toggle .fb-button[aria-pressed=true] {
  background: var(--fb-paper); color: var(--fb-accent); box-shadow: 0 1px 6px #0002;
}
#flow-builder-root .fb-simple-steps,
#flow-builder-root .fb-palette,
#flow-builder-root .fb-preview-wrap {
  background: linear-gradient(150deg,var(--fb-panel-fill),var(--fb-board));
  border-color: var(--fb-panel-edge);
}
#flow-builder-root .fb-palette { display: block; padding: 16px 11px }
#flow-builder-root .fb-palette-title {
  font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin: 3px 6px 17px;
}
#flow-builder-root .fb-library-toggle { display: none }
#flow-builder-root .fb-palette-group h3 {
  display: block; color: var(--muted); font-size: 11px; font-weight: 650;
  letter-spacing: .075em; margin: 0 6px 5px; padding: 0;
}
#flow-builder-root .fb-palette-group + .fb-palette-group {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--fb-hairline);
}
#flow-builder-root .fb-palette-item {
  width: 100%; display: grid; grid-template-columns: 35px minmax(0,1fr);
  gap: 9px; align-items: center; justify-content: start;
  background: transparent; color: var(--fb-ink); border: 1px solid transparent;
  min-height: 49px; padding: 6px 5px; margin: 0; border-radius: 11px; text-align: left;
}
#flow-builder-root .fb-palette-item:is(:hover,:focus-visible) {
  background: var(--fb-paper); border-color: var(--fb-panel-edge);
}
#flow-builder-root .fb-palette-copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font-size: 12px; font-weight: 650; line-height: 1.3; white-space: normal;
}
#flow-builder-root .fb-palette-copy small {
  font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--muted); line-height: 1.3;
}
#flow-builder-root .fb-palette-copy .fb-capability-badge {
  margin: 1px 0 0; padding: 1px 5px; font-size: 10px; font-weight: 550;
}
#flow-builder-root .fb-board {
  background-color: var(--fb-board);
  background-image: radial-gradient(color-mix(in srgb,var(--fb-ink) 17%,transparent) .75px, transparent 1px);
  background-size: 18px 18px;
}
#flow-builder-root .fb-node {
  background: var(--fb-paper); border: 1px solid var(--fb-panel-edge); border-radius: 15px;
  box-shadow: var(--fb-work-shadow),inset 0 1px var(--fb-sheen);
}
#flow-builder-root .fb-node.fb-selected,
#flow-builder-root .fb-step-card.fb-selected {
  border-color: var(--fb-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--fb-accent) 38%,transparent),var(--fb-work-shadow);
}
#flow-builder-root .fb-node .fb-node-head {
  display: grid; grid-template-columns: 35px minmax(0,1fr); gap: 10px;
  min-height: 53px; padding: 9px 12px; text-align: left; border: 0; border-radius: 0;
  background: linear-gradient(111deg,var(--fb-panel-fill),var(--fb-paper)); color: var(--fb-ink);
}
#flow-builder-root .fb-node-title { font-size: 13px; line-height: 1.3; font-weight: 650; }
#flow-builder-root .fb-node-title small {
  display: block; font-size: 10px; font-weight: 550; color: var(--muted); margin-bottom: 3px;
}
#flow-builder-root .fb-node-preview { padding: 9px 12px 11px; border-top: 1px solid var(--fb-hairline); font-size: 12px }
#flow-builder-root .fb-node .fb-port {
  border-radius: 0; border-color: var(--fb-hairline); background: var(--fb-paper);
  color: var(--fb-ink); font-size: 12px;
}
#flow-builder-root .fb-port.fb-connected .fb-port-dot { border-color: var(--fb-accent); background: var(--fb-accent) }
#flow-builder-root .fb-node .fb-port:is(:focus-visible,:hover) { background: var(--fb-tint) }
#flow-builder-root .fb-edges path { stroke: color-mix(in srgb,var(--fb-ink) 42%,var(--fb-board)); stroke-width: 1.8 }
#flow-builder-root .fb-edges .fb-edge-selected { stroke: var(--fb-accent); stroke-width: 2.6 }
#flow-builder-root .fb-edges circle { fill: var(--fb-accent) }
#flow-builder-root .fb-canvas-controls {
  border-color: var(--fb-panel-edge); box-shadow: var(--fb-work-shadow),inset 0 1px var(--fb-sheen);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
#flow-builder-root .fb-step-card {
  align-items: flex-start; gap: 10px; border-color: var(--fb-panel-edge);
  background: linear-gradient(140deg,var(--fb-paper),var(--fb-panel-fill));
  border-radius: 15px; box-shadow: inset 0 1px var(--fb-sheen);
}
#flow-builder-root .fb-step-card.fb-selected {
  background: linear-gradient(120deg,color-mix(in srgb,var(--fb-accent) 7%,var(--fb-paper)),var(--fb-paper));
}
#flow-builder-root .fb-step-content { gap: 4px }
#flow-builder-root .fb-step-content strong { font-size: 13px; font-weight: 680 }
#flow-builder-root .fb-step-content small { font-size: 10.5px; line-height: 1.3 }
#flow-builder-root .fb-step-description { font-size: 12px }
#flow-builder-root .fb-step-card:not(:last-child)::after { left: 29px }
#flow-builder-root .fb-block-heading {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 16px;
}
#flow-builder-root .fb-block-heading h3 {
  min-width: 0; overflow-wrap: anywhere; font-size: 19px; line-height: 1.2; margin: 0;
}
#flow-builder-root .fb-block-heading .fb-icon-button { margin-left: auto }
#flow-builder-root .fb-add-choice {
  grid-template-columns: 35px minmax(0,1fr); padding: 13px; align-content: start;
  background: var(--fb-paper); border: 1px solid var(--fb-line); border-radius: 13px; text-align: left;
}
#flow-builder-root .fb-add-choice .fb-block-mark { grid-row: 1 / span 2; align-self: start; }
#flow-builder-root .fb-add-choice small { grid-column: 2; line-height: 1.4 }
#flow-builder-root .fb-add-choice:is(:hover,:focus-visible) { border-color: var(--fb-accent); background: var(--fb-tint) }
#flow-builder-root .fb-phone { border-color: var(--fb-panel-edge); box-shadow: var(--fb-work-shadow); }
@media (min-width: 901px) {
  #flow-builder-root .fb-editor:not(.fb-source-readonly) > .fb-workspace {
    grid-template-columns: clamp(185px,18%,235px) minmax(0,1fr) clamp(225px,24%,310px);
  }
}
@container (min-width: 651px) and (max-width: 830px) {
  #flow-builder-root .fb-editor:not(.fb-source-readonly) > .fb-workspace {
    display: grid; grid-template-columns: 192px minmax(0,1fr);
    height: auto; min-height: 0; max-height: none;
  }
  #flow-builder-root .fb-workspace > :is(.fb-palette,.fb-canvas-wrap) { height: clamp(400px,62dvh,580px) }
  #flow-builder-root .fb-workspace > .fb-inspector { grid-column: 1/-1; border-top: 1px solid var(--fb-line); max-height: none }
}
@container (max-width: 650px) {
  #flow-builder-root .fb-editor:not(.fb-source-readonly) > .fb-workspace {
    display: flex; flex-direction: column; height: auto; max-height: none; min-height: 0;
  }
  #flow-builder-root .fb-palette {
    height: auto; width: 100%; padding: 9px 12px; border-right: 0; border-bottom: 1px solid var(--fb-line);
  }
  #flow-builder-root .fb-palette-title { display: none }
  #flow-builder-root .fb-library-toggle {
    display: flex; justify-content: center; width: 100%; min-height: 44px;
    border: 1px solid var(--fb-panel-edge); background: var(--fb-paper);
  }
  #flow-builder-root .fb-block-library { display: none }
  #flow-builder-root .fb-library-open .fb-block-library {
    display: block; max-height: 44dvh; overflow-y: auto; overscroll-behavior: contain; padding: 14px 3px 3px;
  }
  #flow-builder-root .fb-palette-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 6px }
  #flow-builder-root .fb-palette-group h3 { grid-column: 1/-1 }
  #flow-builder-root .fb-canvas-wrap { height: clamp(345px,58dvh,490px) }
  #flow-builder-root .fb-workspace > .fb-inspector { border-left: 0; border-top: 1px solid var(--fb-line); max-height: none }
}
@media (forced-colors: active) {
  #flow-builder-root .fb-block-mark { border-color: ButtonText }
  #flow-builder-root .fb-node.fb-selected,
  #flow-builder-root .fb-step-card.fb-selected { outline: 2px solid Highlight }
}

/* Flow decisions use the same surfaces as the editor and a distinct removal action. */
#flow-builder-root {
  --fb-remove-ink: #922e38;
  --fb-remove-fill: #fff2f1;
  --fb-remove-edge: #dfb8b7;
}
:root[data-theme=dark] #flow-builder-root {
  --fb-remove-ink: #ffb5b5;
  --fb-remove-fill: #432b2d;
  --fb-remove-edge: #755054;
}
#flow-builder-root .fb-editor-navigation {
  display: flex;
  align-items: center;
  gap: 3px;
}
#flow-builder-root .fb-exit-button,
#flow-builder-root .fb-remove-flow {
  font-size: 12px;
  font-weight: 600;
  min-height: 42px;
  gap: 6px;
  border-radius: 10px;
  padding: 7px 10px;
  white-space: nowrap;
  flex: none;
}
#flow-builder-root .fb-exit-button { background: transparent; border-color: var(--fb-glass-edge); color: var(--fb-ink); }
#flow-builder-root .fb-remove-flow { background: transparent; color: var(--fb-remove-ink); border-color: transparent; }
#flow-builder-root .fb-remove-flow:hover,
#flow-builder-root .fb-destructive {
  background: var(--fb-remove-fill);
  color: var(--fb-remove-ink);
  border-color: var(--fb-remove-edge);
}
#flow-builder-root .fb-decision > p:first-child { line-height: 1.6; overflow-wrap: anywhere; margin: 0 0 20px; }
#flow-builder-root .fb-decision-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
#flow-builder-root .fb-decision-actions .fb-button { min-height: 44px; }
#flow-builder-root .fb-decision .fb-feedback:empty { display: none; }
@media(max-width:600px){
  #flow-builder-root .fb-editor-navigation .fb-button,
  #flow-builder-root .fb-flow-row > .fb-button {min-height:44px}
  #flow-builder-root .fb-decision-actions {display:grid;grid-template-columns:1fr}
}

#flow-builder-root .fb-connections-heading {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
}
#flow-builder-root .fb-connections-heading h3 {grid-column:2}
#flow-builder-root .fb-configure-channel {
  min-height:44px;
  padding:9px 13px;
  font-size:13px;
  font-weight:650;
  border-radius:12px;
  border:1px solid var(--fb-choice-active-line);
  background:linear-gradient(155deg,color-mix(in srgb,var(--fb-choice-select) 84%,var(--fb-choice-pane)),var(--fb-choice-select));
  color:var(--fb-choice-link);
  box-shadow:inset 0 1px var(--fb-choice-shine);
}
#flow-builder-root .fb-configure-channel:not(:disabled):hover {
  background:color-mix(in srgb,var(--fb-choice-select) 86%,var(--fb-choice-active-line));
}
#flow-builder-root .fb-configure-note {
  margin:9px 0;
  color:var(--fb-choice-muted);
  font-size:12px;
}
@container flow-chooser (max-width:520px) {
  #flow-builder-root .fb-connections-heading {grid-template-columns:auto minmax(0,1fr)}
  #flow-builder-root .fb-configure-channel {grid-column:1/-1;justify-self:start}
}

/* API request inspector */
@media(min-width:901px){
  @container(min-width:831px){
    #flow-builder-root .fb-editor:not(.fb-source-readonly) > .fb-workspace:has(.fb-request-panel){
      grid-template-columns:clamp(150px,16%,215px) minmax(0,1fr) clamp(345px,35%,470px);
    }
  }
}
.fb-request-panel{display:grid;gap:14px;min-width:0;container-type:inline-size}
.fb-request-panel .fb-field{margin:0;min-width:0}
.fb-request-panel .fb-field>span{display:block;line-height:1.35}
.fb-request-panel :is(input,textarea,select){min-width:0;width:100%;box-sizing:border-box}
.fb-request-endpoint,.fb-request-header-row,.fb-request-map-row{display:grid;align-items:end;gap:6px;min-width:0}
.fb-request-endpoint{grid-template-columns:5.8rem minmax(0,1fr)}
.fb-request-section{display:grid;gap:10px;min-width:0;margin:0;padding:12px;border:1px solid var(--fb-line);border-radius:12px;background:var(--fb-paper)}
.fb-request-section h4{margin:0;color:var(--fb-ink);font-size:.9rem;line-height:1.35}
.fb-request-rows,.fb-request-header-fields{display:grid;gap:9px;min-width:0}
.fb-request-header-fields{margin:0;padding:0;border:0}
.fb-request-header-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) auto}
.fb-request-map-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto}
.fb-request-map-row:not(:has(.fb-icon-button)){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.fb-request-arrow{align-self:end;line-height:38px;color:var(--fb-accent)}
.fb-request-section .fb-icon-button{align-self:end;width:32px;min-width:32px;min-height:38px;padding:5px}
.fb-request-panel .fb-button{justify-self:start}
.fb-request-panel .fb-text-button{color:var(--fb-accent);padding-inline:0}
.fb-request-panel [hidden],.fb-request-status:empty{display:none!important}
.fb-request-status,.fb-request-credential{font-size:.78rem;line-height:1.45;margin:0}
.fb-request-credential summary{cursor:pointer;color:var(--fb-ink)}
.fb-request-credential[open] .fb-field{margin-top:8px}
.fb-request-body textarea{font-family:ui-monospace,monospace;line-height:1.55;resize:vertical;min-height:7rem}
.fb-request-body .fb-field>span{color:var(--fb-ink);font-weight:650}
@container(max-width:290px){
  .fb-request-section{padding:8px}
  .fb-request-endpoint{grid-template-columns:4.7rem minmax(0,1fr)}
  .fb-request-map-row{column-gap:3px}
}

#flow-builder-root .fb-request-panel .fb-field :is(input,select){height:44px;min-height:44px}
