/* Flow builder (Setup › Flow builder). The portal's own tokens (styles.css), light and dark. One idea carried through:
   a drafting table. A dotted sheet, steps as cards with a coloured spine for the channel they belong to, and
   connectors that say their condition out loud. */
.fb, .fbs, dialog.modal {
  --c-trigger: #141726; --c-call: #4f46e5; --c-chat: #0f8a7e; --c-leads: #b86a00; --c-message: #c2356b; --c-ai: #8a3fb8; --c-logic: #54607a;
  --c-trigger: light-dark(#141726, #e8e9ee); --c-call: light-dark(#4f46e5, #8b93ff); --c-chat: light-dark(#0f8a7e, #45cdbf);
  --c-leads: light-dark(#b86a00, #f0b352); --c-message: light-dark(#c2356b, #f590b4); --c-ai: light-dark(#8a3fb8, #cf9af0); --c-logic: light-dark(#54607a, #a4aec6);
  --fb-new: #1f9d55; --fb-new: light-dark(#14804a, #5fd896); --fb-gone: var(--missed);
  --fb-card-shadow: 0 1px 0 rgba(14, 16, 40, .04), 0 6px 18px -8px rgba(14, 16, 40, .22);
}
.g-trigger { --c: var(--c-trigger); } .g-call { --c: var(--c-call); } .g-chat { --c: var(--c-chat); } .g-leads { --c: var(--c-leads); }
.g-message { --c: var(--c-message); } .g-ai { --c: var(--c-ai); } .g-logic { --c: var(--c-logic); }
html.fb-on, html.fb-on body { overflow: hidden; }

/* ---------------------------------------------------------------- start screen */
.fbs { display: flex; flex-direction: column; gap: 26px; max-width: 1040px; }
.fbs h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; }
.fbs-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.fbs-t { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px 16px 14px; min-height: 172px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .16s ease, border-color .16s, box-shadow .16s; animation: fb-rise .36s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i) * 45ms); }
.fbs-t:hover, .fbs-t:focus-visible { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--fb-card-shadow); }
.fbs-t b { font: 700 1.02rem/1.25 var(--font-display); letter-spacing: -.01em; }
.fbs-t > span:not(.fbs-chain) { color: var(--ink-2); font-size: .88rem; line-height: 1.4; }
.fbs-t em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--accent); display: inline-flex; align-items: center; gap: 2px; }
.fbs-t em svg.i { width: 15px; height: 15px; transition: transform .16s; } .fbs-t:hover em svg.i { transform: translateX(3px); }
.fbs-t.blank { border-style: dashed; background: transparent; }
.fbs-chain { display: flex; align-items: center; margin-bottom: 8px; }
.fbs-chain i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--c, var(--ink-2)); background: color-mix(in srgb, var(--c, var(--ink-2)) 13%, var(--surface)); flex: none; }
.fbs-chain i + i { margin-left: 14px; position: relative; }
.fbs-chain i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; border-top: 2px solid var(--line-2); }
.fbs-chain svg.i { width: 16px; height: 16px; }
.fbs-flows { display: grid; gap: 8px; }
.fbs-flow { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding-right: 6px; transition: border-color .15s; }
.fbs-flow:hover { border-color: var(--accent); }
.fbs-flow a { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 8px 13px 16px; text-decoration: none; color: inherit; }
.fbs-flow a b { font: 700 1rem var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbs-flow a > span:not(.fb-status) { grid-column: 1; color: var(--ink-2); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbs-flow a .fb-status { grid-column: 2; grid-row: 1 / span 2; }
.fbs-nums { display: flex; flex-wrap: wrap; gap: 8px; }
.fbs-n { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.fbs-n:hover { border-color: var(--accent); } .fbs-n svg.i { width: 16px; height: 16px; color: var(--accent); } .fbs-n span { color: var(--ink-2); font-size: .86rem; }
.fbs-note { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: .86rem; max-width: 70ch; } .fbs-note svg.i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
@media (max-width: 560px) { .fbs-flow a { grid-template-columns: 1fr; } .fbs-flow a .fb-status { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; } }

/* ---------------------------------------------------------------- shared bits */
.fb-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.fb-status.draft { background: var(--surface-2); color: var(--ink-2); }
.fb-status.live { background: color-mix(in srgb, var(--live) 14%, var(--surface)); color: color-mix(in srgb, var(--live) 78%, var(--ink)); }
.fb-status.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }
.fb-status.changed { background: var(--vm-soft); color: var(--vm); }
.fb-soon { font: 700 .66rem/1 var(--font-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; padding: 3px 6px; border-radius: 6px; color: var(--ink-2); background: var(--surface-2); border: 1px dashed var(--line-2); white-space: nowrap; }
.fb-nic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, var(--surface)); }
.fb-nic svg.i { width: 18px; height: 18px; }
.fb-ntext { min-width: 0; display: flex; flex-direction: column; gap: 1px; text-align: left; }
.fb-ntext small { font-size: .64rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--c); }
.fb-ntext small em { font-style: normal; color: var(--fb-new); }
.fb-ntext b { font: 700 .95rem/1.2 var(--font-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-ntext > span { color: var(--ink-2); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-quiet { color: var(--ink-2); font-size: .88rem; }
.fb svg.i, .fbs svg.i, .fb-pub svg.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes fb-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes fb-pop { from { opacity: 0; transform: scale(.94); } }
@keyframes fb-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fb-new) 55%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
@keyframes fb-dash { to { stroke-dashoffset: -18; } }
@keyframes fb-spin { to { transform: rotate(360deg); } }
@keyframes fb-sheet { from { transform: translateY(100%); } }

/* ---------------------------------------------------------------- the studio */
.fb { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--font-body);
  padding-top: env(safe-area-inset-top, 0px); animation: fb-pop .18s ease-out; }
.fb-top { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; background: var(--surface); border-bottom: 1px solid var(--line); flex: none; }
.fb-back { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 10px 0 4px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; flex: none; }
.fb-back:hover { background: var(--surface-2); color: var(--ink); } .fb-back svg.i { width: 18px; height: 18px; }
.fb-title { min-width: 0; flex: 1 1 200px; display: flex; flex-direction: column; }
.fb input.fb-name { width: 100%; max-width: 420px; min-height: 30px; height: 30px; box-shadow: none; border: 1px solid transparent; background: transparent; color: var(--ink); font: 700 1.08rem/1.2 var(--font-display); letter-spacing: -.01em; padding: 3px 6px; margin-left: -6px; border-radius: 8px; text-overflow: ellipsis; }
.fb input.fb-name:hover { border-color: var(--line); } .fb input.fb-name:focus { border-color: var(--accent); background: var(--surface); outline: none; }
.fb-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fb-saved { font-size: .76rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fb-saved.err { color: var(--missed); font-weight: 700; }
.fb-tools, .fb-bar { display: flex; align-items: center; gap: 4px; flex: none; }
.fb-gap { width: 8px; flex: none; }
.fb-ib { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 9px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: 600 .86rem var(--font-body); cursor: pointer; }
.fb-ib:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); } .fb-ib:disabled { opacity: .35; cursor: default; } .fb-ib svg.i { width: 18px; height: 18px; }
.fb .btn.fb-save, .fb .btn.fb-publish { min-height: 38px; } .fb .btn.fb-save:disabled { opacity: .5; }
.fb-fixes { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--missed-soft); color: var(--missed); font: 700 .8rem var(--font-body); cursor: pointer; flex: none; }
.fb-fixes svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.fb-drift { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 9px 16px; background: var(--vm-soft); color: var(--vm); font-size: .86rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.fb-drift svg.i { width: 16px; height: 16px; flex: none; margin-top: 2px; } .fb-drift[hidden], .fb-fixes[hidden] { display: none; }
.fb-body { position: relative; flex: 1; min-height: 0; display: flex; }
.fb .fb-stage { position: relative; flex: 1; min-width: 0; min-height: 0; display: flex; padding: 0; margin: 0; }
.fb-stage-in { flex: 1; min-width: 0; min-height: 0; display: flex; }

/* tools (left) */
.fb-palette { width: 268px; flex: none; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); transition: width .2s ease; }
.fb-ph { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 6px 16px; }
.fb-ph b { font: 700 .78rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.fb-pl { flex: 1; overflow-y: auto; padding: 0 8px 20px; scrollbar-width: thin; }
.fb-tg h3 { display: flex; align-items: baseline; gap: 8px; margin: 14px 8px 4px; font: 700 .82rem var(--font-display); color: var(--c); }
.fb-tg h3 small { font: 500 .74rem var(--font-body); color: var(--ink-2); }
.fb-tool { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--ink); text-align: left; cursor: grab; touch-action: none; }
.fb-tool:hover { background: var(--bg); border-color: var(--line); } .fb-tool:active { cursor: grabbing; }
.fb-tool .fb-nic { width: 32px; height: 32px; border-radius: 10px; } .fb-tool .fb-nic svg.i { width: 16px; height: 16px; }
.fb-tool > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.fb-tool b { font-weight: 600; font-size: .88rem; line-height: 1.2; } .fb-tool small { color: var(--ink-2); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-tool .fb-later { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.5px dashed var(--ink-2); opacity: .7; }
.fb-legend { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .74rem; flex: none; }
.fb-legend i { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.5px dashed var(--ink-2); }
.fb.folded .fb-legend span, .fb.folded .fb-tool .fb-later { display: none; } .fb.folded .fb-legend { justify-content: center; padding: 10px 0; }
.fb-ghost { position: fixed; z-index: 5; width: 240px; pointer-events: none; transform: translate(-50%, -50%) rotate(-2deg); background: var(--surface); border: 1px solid var(--accent); box-shadow: var(--shadow); opacity: .95; }
.fb.folded .fb-palette { width: 60px; } .fb.folded .fb-ph b, .fb.folded .fb-tool > span:nth-child(2), .fb.folded .fb-tool .fb-soon, .fb.folded .fb-tg h3 small { display: none; }
.fb.folded .fb-ph { padding: 10px 11px 6px; } .fb.folded .fb-tg h3 { margin: 12px 0 4px; justify-content: center; font-size: .6rem; letter-spacing: .04em; text-transform: uppercase; } .fb.folded .fb-tool { justify-content: center; padding: 5px 0; }
.fb.folded .fb-ph .fb-ib svg { transform: scaleX(-1); }

/* the chart */
.fb-canvas { position: relative; flex: 1; min-width: 0; overflow: hidden; outline: none; cursor: grab; touch-action: none; user-select: none;
  background-color: var(--bg); background-image: radial-gradient(circle, var(--line-2) 1.1px, transparent 1.3px); background-size: var(--grid, 32px) var(--grid, 32px); }
.fb-canvas.panning, .fb-canvas.space { cursor: grabbing; } .fb-canvas.drop-here { box-shadow: inset 0 0 0 2px var(--accent); }
.fb-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.fb-wires { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.fb-wire { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; transition: stroke .15s; }
.fb-wire.sel { stroke: var(--accent); stroke-width: 2.5; }
.fb-wire.temp { stroke: var(--accent); stroke-dasharray: 6 6; animation: fb-dash .5s linear infinite; }
.fb-wire.is-new { stroke: var(--fb-new); stroke-dasharray: 7 6; animation: fb-dash .7s linear infinite; }
.fb-wire.is-gone { stroke: var(--fb-gone); stroke-dasharray: 3 7; opacity: .55; }
.fb-pills:hover ~ .fb-nodes, .fb-nodes { position: absolute; left: 0; top: 0; }
.fb-pills, .fb-lanes { position: absolute; left: 0; top: 0; }
.fb-pill { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 1px 3px rgba(14, 16, 40, .08); white-space: nowrap; z-index: 1; transition: border-color .15s, box-shadow .15s; }
.fb-pill-t { border: 0; background: transparent; color: var(--ink-2); font: 600 .74rem var(--font-body); padding: 4px 4px 4px 10px; cursor: pointer; border-radius: 999px; }
.fb-pill-add { width: 20px; height: 20px; margin: 2px 3px 2px 2px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink-2); font: 700 .9rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s, transform .15s; }
.fb-pill:hover, .fb-pill.sel { border-color: var(--accent); box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 25%, transparent); z-index: 3; }
.fb-pill:hover .fb-pill-t, .fb-pill.sel .fb-pill-t { color: var(--accent); } .fb-pill:hover .fb-pill-add { background: var(--accent); color: var(--accent-ink); transform: scale(1.1); }
.fb-pill.k-open { border-color: color-mix(in srgb, var(--live) 50%, var(--line-2)); } .fb-pill.k-open .fb-pill-t { color: color-mix(in srgb, var(--live) 75%, var(--ink)); }
.fb-pill.k-closed { border-color: color-mix(in srgb, var(--vm) 45%, var(--line-2)); } .fb-pill.k-closed .fb-pill-t { color: var(--vm); }
.fb-pill.is-new { border-color: var(--fb-new); } .fb-pill.is-new .fb-pill-t { color: var(--fb-new); padding-right: 10px; }
.fb-pill.is-gone { border-color: var(--fb-gone); opacity: .6; } .fb-pill.is-gone .fb-pill-t { color: var(--fb-gone); text-decoration: line-through; padding-right: 10px; }
.previewing .fb-pill-t { padding-right: 10px; cursor: default; }
.fb-lane { position: absolute; border-radius: 22px; border: 1px dashed; pointer-events: none; }
.fb-lane b { position: absolute; left: 16px; top: 10px; font: 700 .68rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.fb-lane.open { background: color-mix(in srgb, var(--live) 6%, transparent); border-color: color-mix(in srgb, var(--live) 34%, transparent); color: color-mix(in srgb, var(--live) 78%, var(--ink)); }
.fb-lane.closed { background: color-mix(in srgb, var(--vm) 7%, transparent); border-color: color-mix(in srgb, var(--vm) 34%, transparent); color: var(--vm); }
.fb-node { position: absolute; width: 252px; height: 78px; display: flex; align-items: center; gap: 11px; padding: 0 12px 0 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--fb-card-shadow); cursor: pointer; transition: border-color .15s, box-shadow .15s, opacity .2s; }
.fb-node::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.fb-node.in { animation: fb-rise .26s cubic-bezier(.2, .7, .2, 1) backwards; }
.fb-node:hover { border-color: var(--line-2); box-shadow: 0 2px 0 rgba(14, 16, 40, .04), 0 12px 26px -10px rgba(14, 16, 40, .3); }
.fb-node.sel { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), var(--fb-card-shadow); z-index: 2; }
.fb-node:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fb-node.g-trigger { border-radius: 26px 26px 16px 16px; } .fb-node.g-trigger .fb-nic { background: var(--c); color: var(--surface); border-radius: 50%; }
.fb-node.bad { border-color: color-mix(in srgb, var(--missed) 60%, var(--line)); }
.fb-node.drop { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.fb-node .fb-soon, .fb-step-b .fb-soon { position: absolute; right: 12px; top: 11px; padding: 0; border: 0; background: none; font-size: .56rem; letter-spacing: .07em; display: inline-flex; align-items: center; gap: 4px; opacity: .85; }
.fb-node .fb-soon::before, .fb-step-b .fb-soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed currentColor; }
.fb-warn { position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: var(--missed); color: var(--on-missed); font: 800 .8rem/22px var(--font-body); font-style: normal; text-align: center; box-shadow: 0 0 0 3px var(--bg); }
.fb-mark { position: absolute; left: 12px; top: -10px; padding: 3px 8px; border-radius: 6px; font: 800 .64rem/1 var(--font-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--surface); background: var(--fb-new); }
.fb-node.is-new { border-color: var(--fb-new); border-style: dashed; background: color-mix(in srgb, var(--fb-new) 7%, var(--surface)); animation: fb-rise .3s ease-out backwards, fb-pulse 1s ease-out .15s 1; }
.fb-node.is-changed { border-color: var(--accent); border-style: dashed; } .fb-node.is-changed .fb-mark { background: var(--accent); color: var(--accent-ink); }
.fb-node.is-gone { opacity: .55; border-color: var(--fb-gone); border-style: dashed; } .fb-node.is-gone .fb-mark { background: var(--fb-gone); }
.fb-node.is-gone .fb-ntext b, .fb-node.is-gone .fb-ntext > span { text-decoration: line-through; text-decoration-color: var(--fb-gone); }
.fb-port { position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px; padding: 0; border-radius: 50%; border: 2px solid var(--surface); background: var(--line-2); cursor: crosshair; transition: transform .15s, background .15s; touch-action: none; }
.fb-port::after { content: ""; position: absolute; inset: -9px; } .fb-node:hover .fb-port, .fb-port:hover, .fb-node.sel .fb-port { background: var(--accent); transform: scale(1.2); }
.fb-canvas.dragging .fb-node.sel { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 22px 40px -14px rgba(14, 16, 40, .4); cursor: grabbing; }
.fb-marquee { position: absolute; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border-radius: 6px; pointer-events: none; z-index: 4; }
.fb-zoom { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 3px; box-shadow: var(--fb-card-shadow); cursor: default; z-index: 4; }
.fb-zoom button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: 700 1.05rem var(--font-body); cursor: pointer; display: grid; place-items: center; }
.fb-zoom button:hover { background: var(--surface-2); color: var(--ink); } .fb-zoom svg.i { width: 16px; height: 16px; } .fb-zoom output { min-width: 44px; text-align: center; font-size: .78rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fb-mini { position: absolute; right: 16px; bottom: 16px; width: 170px; height: 110px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--fb-card-shadow); overflow: hidden; cursor: pointer; z-index: 4; }
.fb-mini b { position: absolute; border-radius: 2px; background: var(--c); opacity: .75; } .fb-mini i { position: absolute; border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 3px; }
.fb-mini[hidden] { display: none; }
.fb-hint { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); color: var(--ink-2); font-size: .78rem; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; }
.fb-canvas.is-empty .fb-hint { opacity: 1; }

/* settings (right) */
.fb-inspector { position: absolute; z-index: 6; right: 12px; top: 12px; max-height: calc(100% - 24px); width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 44px -14px rgba(14, 16, 40, .34); overflow-y: auto; scrollbar-width: thin; display: none; }
.fb.has-sel .fb-inspector { display: block; animation: fb-slide .2s cubic-bezier(.2, .7, .2, 1); } .fb.has-sel .fb-mini { display: none; }
@keyframes fb-slide { from { opacity: 0; transform: translateX(14px); } }
.fb-insp { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.fb-ih { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fb-ih .fb-nic { width: 42px; height: 42px; border-radius: 13px; } .fb-ih small { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.fb-ih h2 { font-size: 1.12rem; line-height: 1.2; margin: 2px 0; overflow-wrap: anywhere; } .fb-ih p { margin: 0; color: var(--ink-2); font-size: .84rem; }
.fb-prob { display: flex; gap: 8px; margin: 0; padding: 9px 11px; border-radius: 10px; background: var(--missed-soft); color: var(--missed); font-size: .84rem; font-weight: 600; }
.fb-prob svg.i { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke-width: 2.4; }
.fb-soon-note { display: flex; gap: 9px; align-items: flex-start; margin: 0; padding: 9px 11px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: .82rem; }
.fb-soon-note .fb-soon { flex: none; margin-top: 1px; background: var(--surface); }
.fb-fields { display: flex; flex-direction: column; gap: 12px; }
.fb-f { display: flex; flex-direction: column; gap: 5px; } .fb-f > span { font-weight: 600; font-size: .84rem; } .fb-f small { color: var(--ink-2); font-size: .76rem; }
.fb-f.row { flex-direction: row; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; } .fb-f.row input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.fb-f input:not([type=checkbox]), .fb-f select, .fb-f textarea, .fb-path input, .fb-path select { width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: .92rem; }
.fb-f textarea { resize: vertical; min-height: 78px; line-height: 1.4; }
.fb-f input:focus, .fb-f select:focus, .fb-f textarea:focus, .fb-path input:focus, .fb-path select:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.fb-unit { display: flex; align-items: center; gap: 8px; } .fb-unit input { width: 92px !important; flex: none; } .fb-unit i { font-style: normal; color: var(--ink-2); font-size: .86rem; }
.fb-guard { margin: -4px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--missed-soft); color: var(--missed); font-size: .8rem; font-weight: 600; }
.fb-next h3 { font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.fb-next ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fb-path { padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 7px; }
.fb-path.picked { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.fb-path-w { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .fb-path-w b { font-size: .84rem; } .fb-path-w select { width: auto; min-width: 64px; flex: none; min-height: 36px; } .fb-path-w input { flex: 1 1 120px; min-height: 36px; }
.fb-path-to { display: flex; align-items: center; gap: 6px; color: var(--ink-2); min-width: 0; }
.fb-link { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--accent); font: 600 .86rem var(--font-body); text-align: left; padding: 4px 0; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-link:hover { text-decoration: underline; }
.fb-x { width: 30px; height: 30px; flex: none; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; } .fb-x:hover { background: var(--missed-soft); color: var(--missed); } .fb-x svg.i { width: 14px; height: 14px; }
.fb .btn.fb-addpath { width: 100%; min-height: 40px; border-style: dashed; } .fb-addpath svg.i, .fb-if svg.i { width: 16px; height: 16px; }
.fb-quiet.end { display: flex; gap: 8px; align-items: center; } .fb-quiet.end svg.i { width: 16px; height: 16px; }
.fb-if { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); } .fb-if .btn { flex: 1; min-height: 40px; padding: 0 10px; font-size: .86rem; }
.fb-insp-none { padding: 34px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--ink-2); }
.fb-insp-none > svg.i { width: 26px; height: 26px; color: var(--line-2); margin-bottom: 6px; } .fb-insp-none b { font: 700 1.05rem var(--font-display); color: var(--ink); } .fb-insp-none p { margin: 0; font-size: .88rem; }
.fb-insp-none dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 18px 0 0; font-size: .8rem; } .fb-insp-none dt { font-weight: 700; color: var(--ink); } .fb-insp-none dd { margin: 0; }
.fb-many { display: flex; gap: 8px; margin-top: 10px; }

/* add-a-step picker */
.fb-pop { position: fixed; z-index: 6; width: 320px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); animation: fb-pop .14s ease-out; overflow: hidden; }
.fb-pop h3 { padding: 12px 16px 4px; font-size: .95rem; } .fb-pop-list { overflow-y: auto; padding: 0 8px 10px; scrollbar-width: thin; }
.fb-pop-list .fb-tool { cursor: pointer; min-height: 44px; }

/* the Flow helper */
.fb-helper-host { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; pointer-events: none; z-index: 5; padding: 0 200px; }
.fb.has-sel .fb-helper-host { padding-right: 364px; }
.fb-helper { pointer-events: auto; width: min(560px, 100%); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c-ai) 14%, transparent), 0 18px 44px -12px rgba(14, 16, 40, .34); overflow: hidden; transition: box-shadow .2s; cursor: default; }
.fb-helper:focus-within, .fb-helper.has-preview { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-ai) 45%, transparent), 0 22px 50px -12px rgba(14, 16, 40, .4); }
.fb-hh { display: none; align-items: center; gap: 10px; padding: 12px 12px 4px 14px; }
.fb-helper.open .fb-hh, .fb-helper.has-preview .fb-hh { display: flex; }
.fb-hi { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; color: var(--surface); background: linear-gradient(135deg, var(--c-ai), var(--c-call)); } .fb-hi svg.i { width: 16px; height: 16px; }
.fb-hh > div { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fb-hh b { font: 700 .95rem var(--font-display); } .fb-hh small { color: var(--ink-2); font-size: .78rem; }
.fb-aitag { font: 800 .6rem/1 var(--font-body); font-style: normal; letter-spacing: .06em; padding: 2px 5px; margin-right: 6px; border-radius: 5px; color: var(--c-ai); background: color-mix(in srgb, var(--c-ai) 14%, var(--surface)); vertical-align: 1px; }
.fb-hclose { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; } .fb-hclose:hover { background: var(--surface-2); } .fb-hclose svg.i { width: 15px; height: 15px; }
.fb-hoff { display: flex; align-items: center; gap: 8px; margin: 8px 14px 0; padding: 9px 11px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font-size: .86rem; font-weight: 600; } .fb-hoff svg.i { width: 15px; height: 15px; }
.fb-hsaid { margin: 8px 14px 0; padding: 9px 11px; border-radius: 10px; background: var(--bg); color: var(--ink-2); font-size: .86rem; }
.fb-hprev { margin: 6px 14px 0; display: flex; flex-direction: column; gap: 8px; animation: fb-rise .22s ease-out; }
.fb-hsay { margin: 0; color: var(--ink-2); font-size: .84rem; } .fb-hsay q { font-style: italic; }
.fb-hprev ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; max-height: 132px; overflow-y: auto; scrollbar-width: thin; }
.fb-hprev li { position: relative; padding-left: 18px; font-size: .86rem; line-height: 1.35; } .fb-hprev li::before { content: "→"; position: absolute; left: 0; color: var(--ink-2); font-weight: 700; }
.fb-hprev li.new::before { content: "+"; color: var(--fb-new); } .fb-hprev li.gone::before { content: "−"; color: var(--fb-gone); }
.fb-hwarn { display: flex; gap: 7px; margin: 0; font-size: .8rem; color: var(--vm); } .fb-hwarn svg.i { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.fb-hact { display: flex; gap: 8px; } .fb-hact .btn { min-height: 40px; } .fb-hact .btn.primary { flex: 1; } .fb-hact svg.i { width: 16px; height: 16px; }
.fb-hsug { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; }
.fb-hsug button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 500 .8rem var(--font-body); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.fb-hsug button:hover { border-color: var(--c-ai); background: color-mix(in srgb, var(--c-ai) 8%, var(--surface)); }
.fb-hform { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 10px 16px; }
.fb-hform::before { content: ""; width: 18px; height: 18px; flex: none; margin-bottom: 10px; background: var(--c-ai); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 16 8M14 6l4 4M19 3l.6 1.6L21 5l-1.4.6L19 7l-.6-1.4L17 5l1.4-.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 16 8M14 6l4 4M19 3l.6 1.6L21 5l-1.4.6L19 7l-.6-1.4L17 5l1.4-.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.fb-helper.open .fb-hform::before, .fb-helper.has-preview .fb-hform::before { display: none; }
.fb-hform textarea { flex: 1; min-width: 0; min-height: 38px; max-height: 110px; resize: none; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; line-height: 1.4; padding: 8px 0; outline: none; field-sizing: content; }
.fb-hform textarea::placeholder { color: var(--ink-2); }
.fb-hsend { width: 38px; height: 38px; flex: none; border: 0; border-radius: 12px; background: var(--c-ai); color: var(--surface); cursor: pointer; display: grid; place-items: center; transition: transform .15s, opacity .15s; }
.fb-hsend:hover:not(:disabled) { transform: scale(1.06); } .fb-hsend:disabled { opacity: .4; cursor: default; } .fb-hsend svg.i { width: 17px; height: 17px; }
.fb-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--surface) 40%, transparent); border-top-color: var(--surface); animation: fb-spin .7s linear infinite; }

/* publish, versions (inside the portal's own dialog) */
.fb-pub { display: flex; flex-direction: column; gap: 16px; }
.fb-pub-lead { margin: 0; font-weight: 600; }
.fb-pub section { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.fb-pub section h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; } .fb-pub section h3 svg.i { width: 18px; height: 18px; }
.fb-pub section > p { margin: 4px 0 10px; color: var(--ink-2); font-size: .86rem; }
.fb-pub .runs { border-color: color-mix(in srgb, var(--live) 40%, var(--line)); background: color-mix(in srgb, var(--live) 5%, var(--surface)); } .fb-pub .runs h3 svg.i { color: var(--live); stroke-width: 2.6; }
.fb-pub .runs.none { border-color: var(--line); background: var(--bg); } .fb-pub .runs.none h3 svg.i { color: var(--ink-2); }
.fb-pub .waits { border-style: dashed; border-color: var(--line-2); background: var(--bg); } .fb-pub .waits h3 svg.i { color: var(--ink-2); }
.fb-pub ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fb-runs li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .fb-runs li b { font-family: var(--font-display); } .fb-runs li small { margin-left: 8px; color: var(--ink-2); }
.fb-runs dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 6px 0 0; font-size: .88rem; } .fb-runs dt { font-weight: 700; color: var(--ink-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; } .fb-runs dd { margin: 0; }
.fb-teams, .fb-notes { margin-top: 10px !important; font-size: .84rem; color: var(--ink-2); } .fb-teams li { display: flex; gap: 8px; } .fb-teams svg.i { width: 16px; height: 16px; flex: none; margin-top: 2px; } .fb-teams b { color: var(--ink); }
.fb-notes li { padding-left: 14px; position: relative; } .fb-notes li::before { content: "·"; position: absolute; left: 3px; font-weight: 800; }
.fb-waits li { font-size: .86rem; } .fb-waits li span { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.fb-waits b { font-weight: 600; margin-right: 4px; } .fb-waits i { font-style: normal; font-size: .8rem; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--line-2); background: var(--surface); color: var(--ink-2); }
.fb-pub .form-foot { display: flex; justify-content: flex-end; gap: 8px; }
.fb-fixlist li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--missed-soft); color: var(--missed); font-weight: 600; font-size: .9rem; }
.fb-fixlist li > svg.i { width: 15px; height: 15px; flex: none; stroke-width: 2.4; } .fb-fixlist li span { flex: 1; } .fb-fixlist .btn { min-height: 36px; flex: none; }
.fb-versions { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fb-versions li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.fb-versions li > div { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; } .fb-versions b { font-family: var(--font-display); } .fb-versions small { flex-basis: 100%; color: var(--ink-2); font-size: .8rem; } .fb-versions .btn { min-height: 38px; flex: none; }

/* ---------------------------------------------------------------- phone: the step list */
.fb[data-mode="narrow"] .fb-top { min-height: 56px; padding: 6px 10px 6px 6px; gap: 6px; }
.fb[data-mode="narrow"] .fb-back span { display: none; } .fb[data-mode="narrow"] .fb-back { padding: 0 6px; min-height: 44px; min-width: 40px; justify-content: center; }
.fb[data-mode="narrow"] input.fb-name { font-size: 1rem; }
.fb[data-mode="narrow"] .fb-stage-in { overflow-y: auto; -webkit-overflow-scrolling: touch; display: block; }
.fb-steps { padding: 12px 14px 150px; max-width: 560px; margin: 0 auto; }
.fb-starts { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.fb-starts button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: 600 .86rem var(--font-body); white-space: nowrap; flex: none; cursor: pointer; }
.fb-starts button svg.i { width: 15px; height: 15px; } .fb-starts button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); } .fb-starts .fb-starts-add { padding: 0; width: 40px; justify-content: center; border-style: dashed; }
.fb-line { display: flex; flex-direction: column; align-items: stretch; }
.fb-step { position: relative; display: flex; align-items: stretch; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--fb-card-shadow); overflow: hidden; }
.fb-steps.first .fb-step { animation: fb-rise .28s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(min(var(--i), 8) * 30ms); }
.fb-step::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.fb-step-b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 16px; min-height: 68px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.fb-step .fb-ntext b { white-space: normal; } .fb-step .fb-ntext > span { white-space: normal; } .fb-step-b { position: relative; } .fb-step-b .fb-soon { top: 13px; right: 8px; }
.fb-warn-t { font-style: normal; color: var(--missed); font-size: .8rem; font-weight: 600; margin-top: 4px; }
.fb-step.bad { border-color: color-mix(in srgb, var(--missed) 60%, var(--line)); } .fb-step.sel { border-color: var(--accent); }
.fb-step.is-new { border: 1px dashed var(--fb-new); background: color-mix(in srgb, var(--fb-new) 7%, var(--surface)); animation: fb-rise .3s ease-out backwards, fb-pulse 1s ease-out .2s 1; }
.fb-step.is-changed { border: 1px dashed var(--accent); } .fb-step.is-gone { border: 1px dashed var(--fb-gone); opacity: .6; } .fb-step.is-gone b, .fb-step.is-gone .fb-ntext > span { text-decoration: line-through; }
.fb-updown { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); flex: none; }
.fb-updown button { flex: 1; width: 44px; min-height: 34px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; } .fb-updown button:disabled { opacity: .25; } .fb-updown button + button { border-top: 1px solid var(--line); } .fb-updown svg.i { width: 16px; height: 16px; }
.fb-conn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 6px 0; }
.fb-conn::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--line-2); }
.fb-conn .fb-pill { position: relative; transform: none; left: auto; top: auto; } .fb-conn .fb-pill-t { padding: 6px 12px; font-size: .78rem; cursor: default; }
.fb-conn.is-new::before { border-left: 2px dashed var(--fb-new); } .fb-conn.is-new .fb-pill { border-color: var(--fb-new); } .fb-conn.is-new .fb-pill-t { color: var(--fb-new); }
.fb-ins { position: relative; width: 44px; height: 44px; margin: -3px -52px -3px 0; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.fb-ins svg.i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); stroke-width: 2.2; } .fb-ins:active svg.i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.fb-conn.end { min-height: 66px; padding-top: 22px; } .fb-conn.end::before { bottom: auto; height: 22px; }
.fb-addnext { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px dashed var(--line-2); background: var(--surface); color: var(--accent); font: 700 .86rem var(--font-body); cursor: pointer; } .fb-addnext svg.i { width: 15px; height: 15px; stroke-width: 2.4; }
.fb-stop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 0; color: var(--ink-2); font-size: .76rem; font-weight: 600; } .fb-stop::before { content: ""; height: 18px; border-left: 2px solid var(--line-2); } .fb-stop i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); margin-top: -6px; }
.fb-fork { position: relative; display: flex; gap: 3px; margin: 10px 0 0; padding: 3px; border-radius: 13px; background: var(--track); overflow-x: auto; scrollbar-width: none; }
.fb-fork button { flex: 1 0 auto; min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: 600 .82rem var(--font-body); white-space: nowrap; cursor: pointer; }
.fb-fork button[aria-selected="true"] { background: var(--thumb); color: var(--ink); box-shadow: var(--thumb-shadow); } .fb-fork button.is-new { color: var(--fb-new); } .fb-fork button.is-gone { color: var(--fb-gone); text-decoration: line-through; }
.fb-fork .fb-fork-add { flex: none; width: 38px; padding: 0; display: grid; place-items: center; } .fb-fork-add svg.i { width: 15px; height: 15px; }
.fb-jump { display: inline-flex; align-self: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: transparent; color: var(--ink-2); font: 600 .84rem var(--font-body); cursor: pointer; } .fb-jump svg.i { width: 15px; height: 15px; }
.fb-loose { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; } .fb-loose h3 { font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--missed); }
.fb-none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 70px 20px; text-align: center; color: var(--ink-2); } .fb-none > svg.i { width: 30px; height: 30px; color: var(--line-2); } .fb-none b { font: 700 1.1rem var(--font-display); color: var(--ink); } .fb-none p { margin: 0 0 10px; }
.fb-bar { position: relative; z-index: 3; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); gap: 2px; }
.fb-bar .fb-ib { min-width: 44px; height: 44px; } .fb-bar .fb-ib.wide span { display: none; } .fb-bar .fb-gap { flex: 1; }
.fb-bar .fb-ib.helper { color: var(--c-ai); } .fb-bar .btn { min-height: 44px !important; padding: 0 14px; }
.fb[data-mode="narrow"] .fb-helper-host { position: fixed; inset: 0; bottom: 0; padding: 0; z-index: 7; align-items: flex-end; visibility: hidden; }
.fb[data-mode="narrow"] .fb-helper { width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(105%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
.fb[data-mode="narrow"].helping .fb-helper-host, .fb[data-mode="narrow"].previewing .fb-helper-host { visibility: visible; }
.fb[data-mode="narrow"].helping .fb-helper, .fb[data-mode="narrow"].previewing .fb-helper { transform: none; }
.fb[data-mode="narrow"].helping:not(.previewing) .fb-helper-host { background: rgba(10, 12, 28, .38); pointer-events: auto; }
.fb[data-mode="narrow"] .fb-hh { display: flex; padding-top: 14px; } .fb[data-mode="narrow"] .fb-hform::before { display: none; } .fb[data-mode="narrow"] .fb-hform { padding-left: 14px; }
.fb[data-mode="narrow"] .fb-hform textarea { font-size: 1rem; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; } .fb[data-mode="narrow"] .fb-hsend { width: 44px; height: 44px; }
.fb[data-mode="narrow"] .fb-hsug button { min-height: 40px; } .fb[data-mode="narrow"] .fb-hact .btn { min-height: 46px; }
.fb[data-mode="narrow"].previewing .fb-hsug, .fb[data-mode="narrow"].previewing .fb-hclose { display: none; }
.fb[data-mode="narrow"].previewing .fb-steps { padding-bottom: 330px; }
.fb-sheetwrap { position: fixed; inset: 0; z-index: 8; display: flex; align-items: flex-end; justify-content: center; }
.fb-scrim { position: absolute; inset: 0; background: rgba(10, 12, 28, .38); animation: fb-pop .2s ease-out; }
.fb-sheet { position: relative; width: 100%; max-width: 560px; max-height: 86dvh; display: flex; flex-direction: column; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(10, 12, 28, .25); animation: fb-sheet .26s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.fb-sheet-h { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 8px 4px 18px; flex: none; }
.fb-sheet-h i { position: absolute; left: 50%; top: 7px; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: var(--line-2); } .fb-sheet-h b { font: 700 .76rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.fb-sheet-h .btn.icon { width: 44px; min-height: 44px; } .fb-sheet-h .btn svg.i { width: 18px; height: 18px; }
.fb-sheet-b { overflow-y: auto; -webkit-overflow-scrolling: touch; } .fb-sheet-b .fb-insp { padding-top: 6px; animation: none; } .fb-sheet-b .fb-pop-list { padding: 0 10px 18px; }
.fb-sheet .fb-f input:not([type=checkbox]), .fb-sheet .fb-f select, .fb-sheet .fb-f textarea { min-height: 46px; font-size: 1rem; } .fb-sheet .fb-if .btn { min-height: 46px; } .fb-sheet .fb-x { width: 44px; height: 44px; } .fb-sheet .fb-link { min-height: 44px; }
@media (max-width: 420px) { .fb-bar .btn.fb-save { padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .fb, .fb *, .fbs * { animation: none !important; transition: none !important; } }
.fb-conn.forked .fb-ins { margin: 0; }

/* ================================================================ F1: the call-flow builder
   Steps come in four families a phone person already thinks in: who rings, a decision, looking after the caller, the
   end. A decision is a diamond; everything else is a card. Checks are red badges that say the problem in a sentence.
   "Walk it" lights one call's path; "Live now" is the phones' real routing, read-only. */
.fb, .fbs, dialog.modal {
  --c-start: var(--c-trigger); --c-ring: var(--c-call); --c-decide: #b45f06; --c-handle: #0f8a7e; --c-end: #b93a4e;
  --c-decide: light-dark(#b45f06, #f0b352); --c-handle: light-dark(#0f8a7e, #45cdbf); --c-end: light-dark(#b93a4e, #ff9aa8);
}
.c-start { --c: var(--c-start); } .c-ring { --c: var(--c-ring); } .c-decide { --c: var(--c-decide); } .c-handle { --c: var(--c-handle); } .c-end { --c: var(--c-end); }

/* the steps column: icon tiles */
.fb-ph { gap: 8px; justify-content: flex-start; } .fb-ph small { flex: 1; min-width: 0; font-size: .74rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-pl { padding: 0 12px 20px; }
.fb-tg h3 { margin: 16px 2px 8px; font: 700 .68rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--ink-2)); }
.fb-tg h3 small { letter-spacing: 0; text-transform: none; font-size: .74rem; }
.fb-tg:first-child h3 { margin-top: 6px; }
.fb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fb-tool { position: relative; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; min-height: 78px; padding: 11px 6px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.fb-tool:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 5%, var(--surface)); box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-1px); }
.fb-tool:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fb-tool b { font: 600 .78rem/1.2 var(--font-body); } .fb-tool small { display: none; }
.fb-tool .fb-later { position: absolute; right: 7px; top: 7px; }
.fb-tool.c-decide .fb-nic, .fb-step.dia .fb-nic, .fb-ih.c-decide .fb-nic { border-radius: 9px; transform: rotate(45deg) scale(.8); }
.fb-tool.c-decide .fb-nic svg, .fb-step.dia .fb-nic svg, .fb-ih.c-decide .fb-nic svg { transform: rotate(-45deg) scale(1.2); }
.fb-more { margin-top: 18px; padding-top: 2px; border-top: 1px solid var(--line); }
.fb-more summary { display: flex; align-items: baseline; gap: 8px; padding: 12px 2px 4px; list-style: none; cursor: pointer; font: 700 .8rem var(--font-body); color: var(--ink-2); border-radius: 8px; }
.fb-more summary::-webkit-details-marker { display: none; }
.fb-more summary::before { content: "+"; width: 14px; flex: none; font-weight: 800; text-align: center; } .fb-more[open] summary::before { content: "−"; }
.fb-more summary small { font-weight: 500; font-size: .74rem; } .fb-more summary:hover { color: var(--ink); }
.fb-ghost { width: 118px; transform: translate(-50%, -50%) rotate(-3deg); border-color: var(--c); box-shadow: 0 16px 30px -12px rgba(14, 16, 40, .45); }
.fb.folded .fb-ph small, .fb.folded .fb-tool b, .fb.folded .fb-more summary small { display: none; }
.fb.folded .fb-pl { padding: 0 8px 20px; } .fb.folded .fb-tiles { grid-template-columns: 1fr; gap: 2px; } .fb.folded .fb-tool { min-height: 0; padding: 5px 0; border-color: transparent; background: transparent; }
.fb.folded .fb-tg h3 { margin: 12px 0 4px; text-align: center; display: block; } .fb.folded .fb-more summary { justify-content: center; font-size: 0; } .fb.folded .fb-more summary::before { font-size: .9rem; }
.fb.locked .fb-palette { opacity: .45; filter: saturate(.4); pointer-events: none; }
.fb-pop { width: 344px; } .fb-pop-list { padding: 0 12px 12px; } .fb-pop-list .fb-tool { min-height: 78px; cursor: pointer; }
.fb-sheet-b .fb-pop-list { padding: 0 14px 20px; } .fb-sheet .fb-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; } .fb-sheet .fb-tool { min-height: 86px; }

/* cards, and the diamond a decision is */
.fb-node { border-radius: 14px; }
.fb-node.dia { height: 112px; padding: 0 44px; flex-direction: column; justify-content: center; gap: 2px; background: transparent; border-color: transparent; box-shadow: none; text-align: center; }
.fb-node.dia::before { display: none; }
.fb-dia { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 9px rgba(14, 16, 40, .13)); }
.fb-dia path { fill: var(--surface); stroke: color-mix(in srgb, var(--c) 50%, var(--line)); stroke-width: 1.4; transition: stroke .15s, stroke-width .15s; }
.fb-node.dia .fb-nic, .fb-node.dia .fb-ntext { position: relative; }
.fb-node.dia .fb-nic { width: 24px; height: 24px; background: none; border-radius: 0; } .fb-node.dia .fb-nic svg.i { width: 18px; height: 18px; }
.fb-node.dia .fb-ntext { align-items: center; max-width: 172px; } .fb-node.dia .fb-ntext small { display: none; }
.fb-node.dia .fb-ntext b { font-size: .88rem; max-width: 172px; } .fb-node.dia .fb-ntext > span { font-size: .72rem; max-width: 118px; }
.fb-node.dia:hover, .fb-node.dia.sel, .fb-node.dia.bad, .fb-node.dia.drop, .fb-node.dia.is-new, .fb-node.dia.is-changed, .fb-node.dia.is-gone { background: transparent; border-color: transparent; box-shadow: none; }
.fb-node.dia:hover .fb-dia path { stroke: var(--c); }
.fb-node.dia.bad .fb-dia path { stroke: var(--missed); }
.fb-node.dia.sel .fb-dia path { stroke: var(--accent); stroke-width: 2.2; } .fb-node.dia.sel .fb-dia { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 45%, transparent)); }
.fb-node.dia.drop .fb-dia path { stroke: var(--accent); stroke-width: 3; }
.fb-node.dia.is-new .fb-dia path { stroke: var(--fb-new); stroke-dasharray: 6 4; fill: color-mix(in srgb, var(--fb-new) 7%, var(--surface)); }
.fb-node.dia.is-changed .fb-dia path { stroke: var(--accent); stroke-dasharray: 6 4; } .fb-node.dia.is-gone .fb-dia path { stroke: var(--fb-gone); stroke-dasharray: 6 4; }
.fb-node.dia .fb-soon { right: 0; top: 4px; } .fb-node.dia .fb-mark { left: 0; top: 0; }
.fb-mini b.dia { border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.fb-canvas.locked .fb-node { cursor: default; }
.fb.is-live .fb-canvas, .fb.is-live[data-mode="narrow"] .fb-stage-in { background-color: color-mix(in srgb, var(--live) 4%, var(--bg)); }

/* connectors: a fat invisible line to click or drop a step on */
.fb-wire-hit { fill: none; stroke: transparent; stroke-width: 22; pointer-events: stroke; cursor: pointer; }
.fb-canvas.locked .fb-wire-hit { cursor: default; }
.fb-wire.drop { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 2 8; animation: fb-dash .5s linear infinite; }
.fb-pill.drop { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); z-index: 3; }
.fb-pill.drop .fb-pill-t { color: var(--accent); } .fb-pill.drop .fb-pill-add { background: var(--accent); color: var(--accent-ink); transform: scale(1.25); }

/* checks: a red badge that says it */
.fb-badge { position: absolute; z-index: 3; left: 150px; top: calc(100% - 9px); display: flex; align-items: flex-start; gap: 6px; width: max-content; max-width: 196px; padding: 5px 10px 5px 5px; border-radius: 3px 11px 11px 11px;
  background: var(--missed); color: var(--on-missed); font: 600 .76rem/1.3 var(--font-body); font-style: normal; text-align: left; white-space: normal;
  box-shadow: 0 0 0 3px var(--bg), 0 8px 16px -6px color-mix(in srgb, var(--missed) 60%, transparent); animation: fb-rise .2s ease-out; }
.fb-badge b { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--on-missed); color: var(--missed); font: 800 .7rem/16px var(--font-body); text-align: center; }
.fb-node.dia .fb-badge { left: 176px; top: -10px; }
.fb-canvas.walking .fb-badge, .fb.walking .fb-step .fb-badge { display: none; }
.fb-step .fb-badge { position: static; align-self: flex-start; max-width: none; width: auto; margin-top: 7px; border-radius: 9px; box-shadow: none; font-size: .76rem; animation: none; }
.fb-prob > b { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--missed); color: var(--on-missed); font: 800 .74rem/18px var(--font-body); text-align: center; }
.fb-fixlist.soon li { background: var(--bg); color: var(--ink); border: 1px dashed var(--line-2); font-weight: 500; } .fb-fixlist.soon .fb-soon { flex: none; background: var(--surface); }
.fb-drift { align-items: center; } .fb-drift span { flex: 1; } .fb-drift .btn { flex: none; min-height: 32px; }

/* Draft | Live now, and Walk it */
.fb-views { display: inline-flex; flex: none; padding: 3px; border-radius: 11px; background: var(--track); }
.fb-views button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 600 .84rem var(--font-body); white-space: nowrap; cursor: pointer; }
.fb-views button[aria-pressed="true"] { background: var(--thumb); color: var(--ink); box-shadow: var(--thumb-shadow); }
.fb-views button i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }
.fb-walkbtn { flex: none; } .fb-walkbtn[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.fb-sub { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--surface); border-bottom: 1px solid var(--line); flex: none; }
.fb-sub .fb-views { flex: 1; } .fb-sub .fb-views button { flex: 1; justify-content: center; height: 38px; } .fb-sub .fb-walkbtn { height: 44px; padding: 0 12px; border: 1px solid var(--line); }
.fb-float { position: absolute; z-index: 5; left: 14px; top: 14px; width: 322px; max-height: calc(100% - 92px); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.fb-float > * { pointer-events: auto; }
.fb-now, .fb-walk { min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -16px rgba(14, 16, 40, .32); animation: fb-rise .2s ease-out; }
.fb-now[hidden], .fb-walk[hidden] { display: none; }
.fb-now { border-color: color-mix(in srgb, var(--live) 38%, var(--line)); overflow-y: auto; scrollbar-width: thin; }
.fb-now header { display: flex; align-items: center; gap: 10px; } .fb-now header b { font: 700 1rem var(--font-display); letter-spacing: -.01em; }
.fb-now ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .fb-now .fb-runs li { background: var(--bg); } .fb-now p { margin: 0; }
.fb-now .fb-notes { margin-top: 0 !important; }
.fb-now-f { display: flex; flex-wrap: wrap; gap: 8px; } .fb-now-f .btn svg.i, .fb-walk footer .btn svg.i { width: 15px; height: 15px; }
.fb-walk { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
.fb-walk header { display: flex; align-items: center; gap: 10px; } .fb-walk header > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fb-walk header b { font: 700 1rem var(--font-display); letter-spacing: -.01em; } .fb-walk header small { color: var(--ink-2); font-size: .76rem; }
.fb-walk header .fb-nic { --c: var(--accent); width: 34px; height: 34px; }
.fb-walkstart { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 600; }
.fb-walkstart select { min-height: 38px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; }
.fb-trail { list-style: none; margin: 0; padding: 0; max-height: 212px; overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; }
.fb-trail li { position: relative; display: flex; flex-direction: column; padding: 2px 0 9px 22px; font-size: .86rem; line-height: 1.3; color: var(--ink-2); }
.fb-trail li::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; border-left: 2px solid var(--line-2); } .fb-trail li:last-child::before { bottom: auto; height: calc(100% - 16px); } .fb-trail li:first-child::before { top: 8px; }
.fb-trail li::after { content: ""; position: absolute; left: 3px; bottom: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--surface); }
.fb-trail li i { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--accent); }
.fb-trail li.here span { color: var(--ink); font-weight: 700; } .fb-trail li.here::after { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--c) 40%, transparent); }
.fb-ask { display: flex; flex-direction: column; gap: 8px; padding: 11px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.fb-ask b { font-size: .9rem; } .fb-ask > div { display: flex; flex-wrap: wrap; gap: 6px; } .fb-ask .btn { flex: 1 1 auto; min-height: 38px; padding: 0 12px; font-size: .86rem; }
.fb-verdict { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .86rem; }
.fb-verdict b { font: 700 .95rem var(--font-display); }
.fb-verdict.answered, .fb-verdict.ended { background: color-mix(in srgb, var(--live) 11%, var(--surface)); color: color-mix(in srgb, var(--live) 72%, var(--ink)); }
.fb-verdict.dropped, .fb-verdict.loop { background: var(--missed-soft); color: var(--missed); }
.fb-walk footer { display: flex; gap: 8px; } .fb-walk footer .btn { flex: 1; }
.fb.locked .fb-helper-host { display: none; }

/* the path a pretend call takes */
@keyframes fb-ring { from { opacity: .8; transform: scale(.96); } to { opacity: 0; transform: scale(1.06); } }
.fb-node.walk-off, .fb-step.walk-off { opacity: .4; filter: saturate(.4); } .fb-wire.walk-off { opacity: .3; } .fb-pill.walk-off, .fb-conn.walk-off { opacity: .4; }
.fb-wire.walk-on { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 8 6; animation: fb-dash .6s linear infinite; }
.fb-pill.walk-on { border-color: var(--accent); } .fb-pill.walk-on .fb-pill-t { color: var(--accent); }
.fb-node.walk-on { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.fb-node.walk-here, .fb-step.walk-here { --w: var(--accent); border-color: var(--w); box-shadow: 0 0 0 4px color-mix(in srgb, var(--w) 24%, transparent), var(--fb-card-shadow); z-index: 2; }
.fb-node.walk-here.walk-dropped, .fb-node.walk-here.walk-loop, .fb-step.walk-here.walk-dropped, .fb-step.walk-here.walk-loop { --w: var(--missed); }
.fb-node.walk-here.walk-answered, .fb-node.walk-here.walk-ended, .fb-step.walk-here.walk-answered, .fb-step.walk-here.walk-ended { --w: var(--live); }
.fb-node.walk-here::after { content: ""; position: absolute; inset: -7px; border-radius: 20px; border: 2px solid var(--w); pointer-events: none; animation: fb-ring 1.3s ease-out infinite; }
.fb-node.dia.walk-here { box-shadow: none; border-color: transparent; } .fb-node.dia.walk-here::after { display: none; }
.fb-node.dia.walk-on .fb-dia path { stroke: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.fb-node.dia.walk-here .fb-dia path { stroke: var(--w); stroke-width: 2.6; } .fb-node.dia.walk-here .fb-dia { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--w) 55%, transparent)); }
.fb-conn.walk-on::before { border-left-color: var(--accent); } .fb-conn.walk-on .fb-pill { border-color: var(--accent); } .fb-conn.walk-on .fb-pill-t { color: var(--accent); }

/* the empty sheet */
.fb-hint { top: 44%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 6px; max-width: 348px; padding: 22px 28px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: color-mix(in srgb, var(--surface) 82%, transparent); text-align: center; white-space: normal; }
.fb-hint b { font: 700 1.08rem var(--font-display); letter-spacing: -.01em; color: var(--ink); } .fb-hint p { margin: 0; font-size: .87rem; line-height: 1.45; }

/* phone */
.fb[data-mode="narrow"] .fb-stage { flex-direction: column; } .fb[data-mode="narrow"] .fb-float { display: contents; }
.fb[data-mode="narrow"] .fb-stage-in { order: 1; flex: 1; }
.fb[data-mode="narrow"] .fb-now { order: 0; flex: none; max-height: 44dvh; margin: 10px 12px 0; box-shadow: none; }
.fb[data-mode="narrow"] .fb-walk { order: 2; flex: none; max-height: 54dvh; overflow-y: auto; border-width: 1px 0 0; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 30px rgba(10, 12, 28, .16); padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.fb[data-mode="narrow"] .fb-trail { max-height: 104px; } .fb[data-mode="narrow"] .fb-ask .btn, .fb[data-mode="narrow"] .fb-walk footer .btn, .fb[data-mode="narrow"] .fb-now-f .btn { min-height: 44px; }
.fb[data-mode="narrow"].walking .fb-bar { display: none; } .fb[data-mode="narrow"].walking .fb-steps, .fb[data-mode="narrow"].is-live .fb-steps { padding-bottom: 40px; }
.fb[data-mode="narrow"] .fb-hclose { width: 44px; height: 44px; }
