/* pixxsuite.com/flow/ — Pixx Flow. Every class is flow-… (the dashboard's dash-tile / dash-hbars / dash-table / dash-switch
   are reused as-is from ../dashboard/dashboard.css). Step status colours are the suite's status tokens and always come
   with an icon + a word (never colour alone); app colours mark identity only. */
.flow-page {
  --dash-s1: #3987e5; --dash-s2: #d95926; --dash-grid: rgba(255,255,255,.07); --dash-track: rgba(255,255,255,.05);
  --st-todo: #8b93a7; --st-doing: #60a5fa; --st-done: var(--good, #3ddc97); --st-rerun: var(--warn, #ffb547); --st-skip: #66758a;
  max-width: 1280px; margin: 0 auto; padding: calc(24px + var(--safe-t, 0px)) 20px 48px; box-sizing: border-box;
}
.flow-page h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.flow-page h2 { margin: 0; font-size: clamp(19px, 2vw, 22px); letter-spacing: -.01em; }
.flow-page h3 { margin: 0; font-size: 15px; }
.flow-page h4 { margin: 16px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.flow-page a { color: var(--acc2); }
.flow-head { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.flow-head p { margin: 4px 0 0; max-width: 720px; }
.flow-back { display: inline-block; font-size: 13px; color: var(--muted) !important; text-decoration: none; margin-bottom: 4px; }
.flow-back:hover { color: var(--text) !important; }
.flow-sec { margin-top: 28px; }
.flow-shead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.flow-count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; align-items: center; justify-content: center; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 700; box-sizing: border-box; }
.flow-empty { margin: 4px 0; }
.flow-group { margin-top: 12px; }
.flow-group > h3 { margin-bottom: 8px; color: var(--muted); font-weight: 600; }
.flow-group > h3 a { color: var(--text); }

/* cards */
.flow-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.flow-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line2); border-left: 3px solid var(--card-acc, var(--line2)); color: var(--text) !important; text-decoration: none; min-width: 0; box-sizing: border-box; }
a.flow-card:hover, a.flow-card:focus-visible { background: rgba(255,255,255,.06); }
.flow-card-top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.flow-card-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flow-card-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-card-foot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.flow-asg.ready { box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .55), 0 6px 20px rgba(var(--acc-rgb), .12); }
.flow-mark { display: inline-flex; flex: none; line-height: 0; }

/* status pills + flags (icon + word, never colour alone) */
.flow-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.07); color: var(--text); white-space: nowrap; }
.flow-pill-i { font-size: 11px; }
.flow-pill.st-todo .flow-pill-i { color: var(--st-todo); } .flow-pill.st-doing .flow-pill-i { color: var(--st-doing); } .flow-pill.st-done .flow-pill-i { color: var(--st-done); }
.flow-pill.st-needs_rerun .flow-pill-i { color: var(--st-rerun); } .flow-pill.st-skipped .flow-pill-i { color: var(--st-skip); }
.flow-flag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line2); white-space: nowrap; }
.flow-flag.ready { color: #fff; border-color: rgba(var(--acc-rgb), .7); background: rgba(var(--acc-rgb), .2); }
.flow-flag.stale { color: var(--st-rerun); border-color: rgba(255,181,71,.5); }
.flow-due { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.flow-due.late { color: var(--bad, #ff5d73); font-weight: 600; }
.flow-av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 2px var(--panel, #14151f); }
.flow-av.sm { width: 22px; height: 22px; font-size: 10px; }

/* runs list */
.flow-runs { display: flex; flex-direction: column; gap: 6px; }
.flow-run { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text) !important; text-decoration: none; }
.flow-run:hover, .flow-run:focus-visible { background: rgba(255,255,255,.06); }
.flow-run-t { display: flex; flex-direction: column; min-width: 0; } .flow-run-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-run-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow-progress { height: 6px; border-radius: 3px; background: var(--dash-track); overflow: hidden; }
.flow-progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--acc), var(--acc2)); }
.flow-progress.big { height: 8px; flex: 1 1 200px; max-width: 420px; }
.flow-prefs { display: flex; flex-direction: column; gap: 10px; }
.flow-pref { font-size: 13px; }

/* templates */
.flow-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.flow-tcard2 { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(28,41,64,.55), rgba(20,21,32,.85)); border: 1px solid var(--line2); }
.flow-tcard2 p { margin: 0; flex: 1; }
.flow-tcard2.blank { border-style: dashed; }
.flow-chain { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 30px; }
.flow-chain.empty { font-size: 22px; color: var(--muted); }
.flow-chain-step { display: inline-flex; padding: 3px; border-radius: 8px; background: rgba(255,255,255,.05); }
.flow-chain-arrow { color: var(--muted); font-size: 12px; }
.flow-wherebox { display: flex; flex-direction: column; gap: 4px; }
.pxs-app .flow-where { height: 34px; max-width: 260px; }

/* the explainer + the tour */
.flow-intro { max-width: 760px; margin: 10px auto 0; }
.flow-lead { font-size: 17px; margin: 8px 0 14px; }
.flow-points { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.flow-cta { margin: 14px 0 8px; }
.flow-tstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 12px 0; }
.flow-tmini { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: 13px; }
.flow-tourintro { max-width: none; margin: 0 0 14px; } .flow-tourintro .flow-lead { margin-bottom: 6px; }
.flow-tour { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: stretch; }
.flow-tourboard { min-width: 0; }
.flow-tourboard .flow-board { height: min(560px, 64vh); }
.flow-tourcard { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(28,41,64,.75), rgba(20,21,32,.95)); border: 1px solid rgba(var(--acc-rgb), .45); box-shadow: 0 10px 40px rgba(0,0,0,.35); outline: none; min-width: 0; }
.flow-tourcard p { margin: 0; }
.flow-tourhead { display: flex; align-items: center; gap: 8px; }
.flow-tourcount { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.flow-tourdots { display: flex; gap: 6px; }
.flow-tourdots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); cursor: pointer; min-width: 0; }
.flow-tourdots button.on { background: var(--acc); }
.flow-tournav { margin-top: auto; padding-top: 6px; align-items: center; flex-wrap: wrap; }
.flow-tourmock { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line2); }
.flow-tourmock.fail { border-color: rgba(255,181,71,.5); }
.flow-tourbtn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--acc); color: var(--on-acc, #fff); font-weight: 600; font-size: 13px; }
.flow-tourchip { align-self: flex-start; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(var(--acc-rgb), .55); background: rgba(var(--acc-rgb), .14); font-size: 12.5px; }
.flow-tourchip b { color: var(--acc); }
.flow-invnote { margin: 6px 0; }
.flow-node.flow-dim { opacity: .45; }
.flow-node.flow-hl { box-shadow: 0 0 0 2px var(--acc), 0 8px 30px rgba(var(--acc-rgb), .3); }
body.flow-touredges .flow-elabel { box-shadow: 0 0 0 2px var(--acc); color: #fff; }

/* the board */
.flow-board { position: relative; overflow: hidden; height: min(640px, calc(100vh - 220px)); min-height: 360px; border-radius: 16px; background-color: #0e0f17; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 20px 20px; border: 1px solid var(--line2); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.flow-board:active { cursor: grabbing; }
.flow-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.flow-edges { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.flow-edge { fill: none; stroke: rgba(200,210,230,.38); stroke-width: 2; }
.flow-edge.sel { stroke: var(--acc); stroke-width: 3; }
.flow-edge.done { stroke: rgba(61,220,151,.55); }
.flow-ghost { fill: none; stroke: var(--acc); stroke-width: 2; stroke-dasharray: 6 5; opacity: 0; }
.flow-ghost.on { opacity: 1; }
.flow-elabels { position: absolute; left: 0; top: 0; }
.pxs-app .flow-elabel { position: absolute; transform: translate(-50%, -50%); height: 22px; min-width: 0; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line2); background: #171826; color: var(--muted); font-size: 11px; white-space: nowrap; cursor: pointer; box-shadow: none; }
.pxs-app .flow-elabel:hover, .pxs-app .flow-elabel.sel { color: #fff; border-color: var(--acc); }
.flow-nodes { position: absolute; left: 0; top: 0; }
.flow-node { position: absolute; width: 188px; min-height: 70px; box-sizing: border-box; padding: 9px 10px; border-radius: 14px; background: #1a1b28; border: 1px solid var(--line2); border-top: 3px solid var(--node-acc, var(--acc)); cursor: pointer; outline: none; display: flex; flex-direction: column; gap: 6px; }
.flow-board.editable .flow-node { cursor: move; }
.flow-node:focus-visible { box-shadow: 0 0 0 2px var(--acc2); }
.flow-node.sel { box-shadow: 0 0 0 2px var(--acc), 0 8px 26px rgba(0,0,0,.45); }
.flow-node.ready:not(.sel) { box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .6); }
.flow-node.st-done { background: #18221f; } .flow-node.st-needs_rerun { background: #262017; }
.flow-node-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.flow-node-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.flow-node-t b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-node-app { font-size: 11px; color: var(--muted); }
.flow-node-decor { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.flow-node-decor .flow-pill, .flow-node-decor .flow-flag { height: 19px; font-size: 10.5px; padding: 0 6px; }
.flow-gate { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; background: rgba(252,252,156,.15); color: #fcfc9c; }
.flow-port { position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #0e0f17; border: 2px solid var(--node-acc, var(--acc)); box-sizing: border-box; }
.flow-port.in { left: -7px; pointer-events: none; }
.flow-port.out { right: -9px; width: 18px; height: 18px; margin-top: -9px; cursor: crosshair; }
.flow-port.out:hover { background: var(--node-acc, var(--acc)); }
.flow-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(20,21,31,.9); border: 1px solid var(--line2); }
.pxs-app .flow-zoom .ibtn { width: 32px; height: 32px; font-size: 16px; }
.flow-dragghost { position: fixed; z-index: 1000; transform: translate(-50%, -50%); display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 10px; background: #1a1b28; border: 1px solid var(--acc); pointer-events: none; font-size: 13px; box-shadow: var(--shadow); }

/* the editor */
.flow-etools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.flow-etools .flow-back { margin: 0; font-size: 18px; padding: 0 4px; }
.pxs-app .flow-name { height: 36px; font-size: 16px; font-weight: 600; max-width: 340px; flex: 1 1 200px; }
.flow-save { font-size: 12px; color: var(--muted); min-width: 110px; }
.flow-save.saving { color: var(--st-doing); } .flow-save.error, .flow-save.conflict { color: var(--warn); } .flow-save.saved { color: var(--good); }
.flow-editor { display: grid; grid-template-columns: 230px minmax(0, 1fr) 290px; gap: 12px; align-items: start; }
.flow-editor.listmode { grid-template-columns: 230px minmax(0, 1fr) 290px; }
.flow-palette, .flow-side { padding: 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(28,41,64,.45), rgba(20,21,32,.85)); border: 1px solid var(--line2); box-sizing: border-box; min-width: 0; }
.flow-palette { max-height: min(640px, calc(100vh - 220px)); display: flex; flex-direction: column; gap: 8px; }
.flow-palette p { margin: 0; }
.pxs-app .flow-palq { height: 32px; }
.flow-pallist { overflow: auto; display: flex; flex-direction: column; gap: 2px; margin-right: -6px; padding-right: 6px; }
.flow-palgroup { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 8px 0 2px; }
.pxs-app .flow-palitem { display: flex; align-items: center; gap: 8px; width: 100%; height: auto; min-height: 40px; padding: 5px 6px; border-radius: 10px; border: 0; background: none; color: var(--text); text-align: left; cursor: grab; touch-action: none; box-shadow: none; }
.pxs-app .flow-palitem:hover, .pxs-app .flow-palitem:focus-visible { background: rgba(255,255,255,.06); }
.flow-palitem > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.flow-palitem .sm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.flow-side { display: flex; flex-direction: column; gap: 10px; }
.flow-side p { margin: 0; }
.flow-side-head { display: flex; align-items: center; gap: 10px; }
.flow-side-head > div { display: flex; flex-direction: column; min-width: 0; }
.flow-note { resize: vertical; min-height: 60px; }
.flow-io { display: flex; flex-direction: column; gap: 2px; }
.flow-next { display: flex; flex-direction: column; gap: 4px; }
.pxs-app .flow-nextbtn { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); text-align: left; box-shadow: none; }
.flow-nextbtn > span:nth-child(2) { flex: 1; }
.pxs-app .flow-nextbtn:hover { border-color: var(--acc); }
.flow-nextbtn.onmap { opacity: .7; }
.flow-side-foot { margin-top: 6px; }
.flow-tips { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.flow-problems:empty { display: none; } .flow-problems { margin-bottom: 10px; }

/* the list view (phones, or on request) */
.flow-list { display: flex; flex-direction: column; gap: 10px; }
.flow-lsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-lstep { padding: 10px 12px; border-radius: 14px; background: #1a1b28; border: 1px solid var(--line2); border-left: 3px solid var(--node-acc, var(--acc)); display: flex; flex-direction: column; gap: 8px; }
.flow-lstep-top { display: flex; align-items: center; gap: 10px; }
.flow-lstep-top .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pxs-app .flow-lstep-top input { height: 32px; }
.flow-louts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.flow-louts li { display: flex; align-items: center; gap: 4px; }
.flow-ladd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px; border-radius: 14px; border: 1px dashed var(--line2); }
.pxs-app .flow-ladd .sel, .pxs-app .flow-lstep .sel { height: 32px; max-width: 220px; }

/* a run */
.flow-runhead .flow-runwhere { white-space: nowrap; }
.flow-runprog { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.flow-runmain { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: start; }
.flow-steppanel { max-height: calc(100vh - 160px); overflow: auto; position: sticky; top: 76px; }
.flow-kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.flow-kcol { padding: 10px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.flow-kcol h3 { display: flex; align-items: center; gap: 6px; }
.pxs-app .flow-kcard { display: flex; flex-direction: column; gap: 8px; width: 100%; height: auto; padding: 10px; border-radius: 12px; border: 1px solid var(--line2); border-left: 3px solid var(--node-acc, var(--acc)); background: #1a1b28; color: var(--text); text-align: left; box-shadow: none; }
.pxs-app .flow-kcard.sel { box-shadow: 0 0 0 2px var(--acc); }
.pxs-app .flow-kcard.ready { border-color: rgba(var(--acc-rgb), .7); }
.flow-rlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-stline { display: flex; gap: 6px; flex-wrap: wrap; }
.flow-note-text { white-space: pre-wrap; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; }
.flow-stbtns { display: flex; gap: 4px; flex-wrap: wrap; }
.pxs-app .flow-stbtns .btn.on { background: rgba(var(--acc-rgb), .25); border-color: var(--acc); color: #fff; }
.flow-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pxs-app .flow-two .sel, .pxs-app .flow-two input { height: 34px; width: 100%; box-sizing: border-box; }
.flow-open { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(var(--acc-rgb), .08); border: 1px solid rgba(var(--acc-rgb), .3); }
.flow-open .btn { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; }
.flow-gatebox { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); }
.flow-gatebox.pass { border-color: rgba(61,220,151,.5); } .flow-gatebox.fail { border-color: rgba(255,181,71,.55); }
.flow-gatebox .btn { align-self: flex-start; }
.flow-outs { display: flex; flex-direction: column; gap: 8px; }
.flow-out { display: flex; gap: 10px; align-items: flex-start; }
.flow-out.gone { opacity: .55; }
.flow-othumb { flex: none; width: 56px; height: 56px; border-radius: 10px; background: #0b0c12 repeating-conic-gradient(rgba(255,255,255,.05) 0 25%, transparent 0 50%) 0 0 / 12px 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; overflow: hidden; border: 1px solid var(--line); }
.flow-othumb img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.flow-out-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flow-out-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-comments { display: flex; flex-direction: column; gap: 10px; }
.flow-comment { display: flex; gap: 8px; }
.flow-comment p { margin: 3px 0 0; white-space: pre-wrap; font-size: 13px; }
.flow-cform { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.flow-cform .btn { align-self: flex-end; }

/* a team */
.flow-teamgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.flow-teamgrid .flow-sec { margin-top: 0; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(28,41,64,.45), rgba(20,21,32,.85)); border: 1px solid var(--line2); }
.flow-teamgrid h3 { margin: 16px 0 8px; }
.flow-teamname { align-items: center; margin: 2px 0; }
.flow-members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-members li { display: flex; align-items: center; gap: 10px; }
.flow-members li .grow { display: flex; flex-direction: column; min-width: 0; }
.flow-members li .grow .sm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-invite input { flex: 1 1 200px; }
.flow-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; max-height: 560px; overflow: auto; }
.flow-feed li { display: flex; gap: 8px; align-items: flex-start; }
.flow-invitecard { padding: 20px; border-radius: 18px; background: linear-gradient(180deg, rgba(28,41,64,.55), rgba(20,21,32,.85)); border: 1px solid var(--line2); }

/* the wizard */
.flow-wizard { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(28,41,64,.55), rgba(20,21,32,.9)); border: 1px solid var(--line2); }
.flow-wizard h2 { margin-top: 2px; }
.flow-wtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pxs-app .flow-wtile { height: auto; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.035); color: var(--text); font-size: 14px; font-weight: 600; text-align: left; box-shadow: none; }
.pxs-app .flow-wtile:hover { border-color: rgba(var(--acc-rgb), .6); }
.pxs-app .flow-wtile.on { border-color: var(--acc); background: rgba(var(--acc-rgb), .2); }
.flow-wteam { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.flow-wteam p { margin: 0; }
.flow-wprev .flow-board { height: 340px; min-height: 260px; }
.flow-wsugg { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.flow-wsugg li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.flow-wizard > p { margin: 0; }

@media (max-width: 1100px) {
  .flow-editor { grid-template-columns: 200px minmax(0, 1fr); }
  .flow-editor > .flow-side { grid-column: 1 / -1; }
  .flow-runmain { grid-template-columns: minmax(0, 1fr); }
  .flow-steppanel { position: static; max-height: none; }
  .flow-tour { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .flow-page { padding-left: 16px; padding-right: 16px; }
  .flow-editor, .flow-editor.listmode { grid-template-columns: minmax(0, 1fr); }
  .flow-palette { max-height: 260px; }
  .flow-editor.listmode .flow-palette { display: none; }
  .flow-tlabel { display: none; }
  .flow-kanban { grid-template-columns: minmax(0, 1fr); }
  .flow-teamgrid { grid-template-columns: minmax(0, 1fr); }
  .flow-run { grid-template-columns: minmax(0, 1fr) auto; }
  .flow-run .flow-progress { grid-column: 1 / -1; grid-row: 2; }
  .flow-board { height: 58vh; min-height: 300px; }
  .flow-tourboard .flow-board { height: 46vh; }
  .flow-two { grid-template-columns: 1fr; }
  .pxs-app .flow-name { max-width: none; }
}
.pxs-app .field .flow-name { flex: none; max-width: none; width: 100%; box-sizing: border-box; }
