/* Workflow Builder (workflows/index.php). Built on the layout tokens (assets/layout/layout.css), light and dark.
   Cursors are only the layout's custom --cur-* set or plain pointer/default/text. */

.wf-app {
    --wf-c-input: #2563eb; --wf-c-web: #7c3aed; --wf-c-logic: #b45309; --wf-c-data: #0f766e;
    --wf-c-text: #be185d; --wf-c-output: #15803d; --wf-c-util: #525252;
    --wf-node-bg: var(--bg); --wf-grid: #d4d4d4; --wf-canvas: var(--sub);
    --wf-edge: #a3a3a3; --wf-true: var(--ok); --wf-false: var(--bad);
    color: var(--ink);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .wf-app {
        --wf-c-input: #60a5fa; --wf-c-web: #a78bfa; --wf-c-logic: #f59e0b; --wf-c-data: #2dd4bf;
        --wf-c-text: #f472b6; --wf-c-output: #4ade80; --wf-c-util: #a3a3a3;
        --wf-node-bg: #141414; --wf-grid: #2a2a2a; --wf-canvas: #0c0c0c; --wf-edge: #5c5c5c;
    }
}
:root[data-theme="dark"] .wf-app {
    --wf-c-input: #60a5fa; --wf-c-web: #a78bfa; --wf-c-logic: #f59e0b; --wf-c-data: #2dd4bf;
    --wf-c-text: #f472b6; --wf-c-output: #4ade80; --wf-c-util: #a3a3a3;
    --wf-node-bg: #141414; --wf-grid: #2a2a2a; --wf-canvas: #0c0c0c; --wf-edge: #5c5c5c;
}
.wf-cat-input { --c: var(--wf-c-input); }
.wf-cat-web { --c: var(--wf-c-web); }
.wf-cat-logic { --c: var(--wf-c-logic); }
.wf-cat-data { --c: var(--wf-c-data); }
.wf-cat-text { --c: var(--wf-c-text); }
.wf-cat-output { --c: var(--wf-c-output); }
.wf-cat-util { --c: var(--wf-c-util); }

.wf-i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.wf-flip { transform: rotate(180deg); }
.wf-faint { color: var(--faint); }
.wf-sp { flex: 1; }
.wf-mono { font-family: var(--f-mono); font-size: 12px; }
.wf-help { margin: 0; color: var(--dim); font-size: 12.5px; }
.wf-err { margin: 0; color: var(--bad); font-size: 12.5px; overflow-wrap: anywhere; }
kbd {
    display: inline-block; min-width: 18px; padding: 0 5px; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 4px;
    background: var(--bg); color: var(--dim); font-family: var(--f-mono); font-size: 11px; line-height: 17px; text-align: center;
}
.ui-btn .wf-i { width: 15px; height: 15px; }
.ui-btn { gap: 6px; }
.ui-btn:disabled { opacity: .5; cursor: default; }
.wf-danger { color: var(--bad); }
.ui-btn.wf-danger:hover { background: var(--bad-bg); }

.wf-ibtn {
    display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; padding: 0; border: 0; border-radius: 6px;
    background: none; color: var(--dim); cursor: pointer;
}
.wf-ibtn:hover { background: var(--hover); color: var(--ink); }
.wf-ibtn:disabled { opacity: .4; cursor: default; background: none; }

.wf-search {
    position: relative; display: flex; align-items: center; min-width: 0;
}
.wf-search > .wf-i { position: absolute; left: 10px; color: var(--faint); pointer-events: none; }
.wf-search input { width: 100%; height: 34px; padding-left: 32px; }
.wf-search-sm input { height: 32px; }

/* ===================== library ===================== */
/* left-aligned like the other tool pages (padding = .lay-content), capped like .tool-page: 1680px of content */
.wf-library { max-width: calc(1680px + 64px); padding: 28px 32px 64px; display: grid; gap: 20px; }
.wf-lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wf-lib-intro h1 { margin: 4px 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.wf-lib-intro p:last-child { margin: 0; color: var(--dim); max-width: 60ch; }
.wf-lib-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.wf-lib-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wf-lib-bar .wf-search { flex: 1 1 260px; max-width: 420px; }
.wf-lib-bar select { height: 34px; }
.wf-usage { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 12.5px; }
.wf-usage b { color: var(--ink); }
.wf-meter { width: 96px; height: 6px; border-radius: 3px; background: var(--sel); overflow: hidden; }
.wf-meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width var(--dur-base, .2s) ease; }
.wf-meter.is-near i { background: var(--warn); }
.wf-meter.is-full i { background: var(--bad); }
.wf-notice { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--warn); border-radius: var(--radius); background: var(--warn-bg); color: var(--ink); }
.wf-notice .wf-i { color: var(--warn); margin-top: 2px; }

.wf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wf-card {
    position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.wf-card:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.wf-card-open { position: absolute; inset: 0; z-index: 1; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.wf-card-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wf-card-prev { height: 112px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; overflow: hidden;
    background: radial-gradient(circle, var(--wf-grid) 1px, transparent 1.2px) 0 0 / 14px 14px, var(--wf-canvas); }
.wf-prev { display: block; width: 100%; height: 100%; padding: 10px; }
.wf-prev-node { fill: var(--wf-node-bg); stroke: var(--c, var(--line2)); stroke-width: 6; }
.wf-prev-empty { fill: none; stroke: var(--line2); stroke-width: 2; stroke-dasharray: 5 4; }
.wf-prev-edge { fill: none; stroke: var(--wf-edge); stroke-width: 6; }
.wf-prev-edge.is-true { stroke: var(--wf-true); }
.wf-prev-edge.is-false { stroke: var(--wf-false); stroke-dasharray: 14 10; }
.wf-card-body { padding: 12px 14px 14px; display: grid; gap: 4px; min-width: 0; }
.wf-card-body h3 { margin: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 28px; }
.wf-card-body p { margin: 0; color: var(--dim); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wf-card-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; color: var(--faint); font-size: 12px; flex-wrap: wrap; }
.wf-card-more { position: absolute; z-index: 2; right: 8px; bottom: 44px; }
.wf-card:not(.wf-tpl) .wf-card-more { top: 120px; bottom: auto; }
.wf-tpl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.wf-tpl-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--accent-bg); color: var(--accent); }
.wf-tag { font-size: 11px; color: var(--dim); border: 1px solid var(--line2); border-radius: 999px; padding: 0 8px; line-height: 18px; }
.wf-tpl-use { color: var(--accent); display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.wf-tpl:hover .wf-tpl-use { text-decoration: underline; }
.wf-templates { display: grid; gap: 12px; margin-top: 12px; }
.wf-sec-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.wf-sec-head p { margin: 2px 0 0; color: var(--dim); font-size: 12.5px; }
.wf-lib-empty {
    grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 36px 16px; text-align: center;
    border: 1px dashed var(--line2); border-radius: 12px; background: var(--sub);
}
.wf-lib-empty h2 { margin: 0; font-size: 16px; }
.wf-lib-empty p { margin: 0 0 6px; color: var(--dim); }
.wf-lib-empty.is-small { padding: 20px; }
.wf-empty-art svg { width: 120px; height: 64px; fill: var(--bg); stroke: var(--line2); stroke-width: 2; }
.wf-empty-art path { fill: none; stroke: var(--accent); }

/* ===================== editor ===================== */
body.wf-editing { overflow: hidden; }
.wf-editor { display: flex; flex-direction: column; height: calc(100vh - var(--bar-h)); height: calc(100dvh - var(--bar-h)); min-height: 420px; }
.wf-bar {
    display: flex; align-items: center; gap: 6px; height: 52px; flex: none; padding: 0 12px 0 8px;
    border-bottom: 1px solid var(--line); background: var(--bg);
}
.wf-name { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; }
.wf-app .wf-name-in {
    min-width: 80px; width: 26ch; max-width: 40vw; height: 32px; padding: 0 8px; border: 1px solid transparent; border-radius: 6px;
    background: none; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: none;
}
.wf-app .wf-name-in:hover { border-color: var(--line2); }
.wf-app .wf-name-in:focus { border-color: var(--accent); background: var(--bg); }
.wf-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); white-space: nowrap; }
.wf-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.wf-state[data-state="dirty"]::before, .wf-state[data-state="saving"]::before { background: var(--warn); }
.wf-state[data-state="saving"]::before { animation: wf-pulse 1s ease-in-out infinite; }
.wf-state[data-state="draft"]::before { background: var(--faint); }
.wf-state[data-state="error"], .wf-state[data-state="limit"], .wf-state[data-state="offline"] { color: var(--bad); }
.wf-state[data-state="error"]::before, .wf-state[data-state="limit"]::before, .wf-state[data-state="offline"]::before { background: var(--bad); }
.wf-state.is-action { cursor: pointer; text-decoration: underline dotted; }
.wf-bar-grp { display: flex; gap: 2px; }
.wf-chip-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 999px;
    background: var(--bg); color: var(--dim); font-size: 12px; cursor: pointer; white-space: nowrap;
}
.wf-chip-btn:hover { background: var(--hover); }
.wf-chip-btn[data-level="ok"] .wf-i { color: var(--ok); }
.wf-chip-btn[data-level="warning"] { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, var(--line2)); background: var(--warn-bg); }
.wf-chip-btn[data-level="error"] { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, var(--line2)); background: var(--bad-bg); }
.wf-split { display: inline-flex; }
.wf-split .wf-run-btn { border-radius: 6px 0 0 6px; }
.wf-split .wf-split-more { border-radius: 0 6px 6px 0; border-left: 0; padding: 0 6px; }
.wf-run-btn .wf-i { color: var(--ok); fill: currentColor; }
.wf-run-btn.is-busy .wf-i { animation: wf-pulse 1s ease-in-out infinite; }

.wf-work { flex: 1; min-height: 0; display: grid; grid-template-columns: 236px minmax(0, 1fr) 328px; }

/* palette */
.wf-palette { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 12px 10px; border-right: 1px solid var(--line); background: var(--bg); }
.wf-pal-list { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 12px; margin: 0 -4px; padding: 0 4px; }
.wf-pal-cat h3 { margin: 0 0 4px 6px; font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.wf-pal-item, .wf-quick-item {
    display: flex; align-items: center; gap: 9px; width: 100%; padding: 6px; border: 1px solid transparent; border-radius: 8px;
    background: none; text-align: left; cursor: pointer; touch-action: none; user-select: none;
}
.wf-pal-item:hover, .wf-quick-item:hover, .wf-quick-item.is-active { background: var(--hover); border-color: var(--line); }
.wf-pal-ic {
    display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 7px;
    background: color-mix(in srgb, var(--c) 12%, var(--bg)); color: var(--c);
}
.wf-pal-tx { display: grid; min-width: 0; line-height: 1.3; }
.wf-pal-tx b { font-weight: 500; font-size: 12.5px; }
.wf-pal-tx small { color: var(--faint); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-pal-tip { margin: 0; font-size: 11.5px; color: var(--faint); }
.wf-pal-none { margin: 8px 6px; color: var(--faint); }
.wf-ghost {
    position: fixed; left: 0; top: 0; z-index: 300; display: flex; align-items: center; gap: 8px; padding: 8px 12px; pointer-events: none;
    background: var(--wf-node-bg, var(--bg)); border: 1px solid var(--line2); border-left: 3px solid var(--c); border-radius: 10px; box-shadow: var(--shadow);
    opacity: .85; color: var(--ink); font-family: var(--f-sans); font-size: 13px;
}
.wf-ghost.is-over { opacity: 1; }
.wf-ghost .wf-node-icon { color: var(--c); }
body.wf-is-dragging, body.wf-is-dragging * { cursor: var(--cur-grabbing) !important; user-select: none; }

/* stage and canvas */
.wf-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--wf-canvas); }
.wf-canvas {
    position: absolute; inset: 0; overflow: hidden; outline: none; touch-action: none; user-select: none;
    background-image: radial-gradient(circle, var(--wf-grid) 1px, transparent 1.2px);
    cursor: var(--cur-grab);
}
.wf-canvas.is-select-tool { cursor: default; }
.wf-canvas.is-space, .wf-canvas.is-space * { cursor: var(--cur-grab) !important; }
.wf-canvas.is-panning, .wf-canvas.is-panning * { cursor: var(--cur-grabbing) !important; }
.wf-canvas.is-dragging, .wf-canvas.is-dragging * { cursor: var(--cur-move) !important; }
.wf-canvas.is-wiring, .wf-canvas.is-wiring * { cursor: var(--cur-crosshair) !important; }
.wf-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.wf-edges { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.wf-nodes { position: absolute; left: 0; top: 0; }

.wf-edge-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; cursor: pointer; }
.wf-edge-line { fill: none; stroke: var(--wf-edge); stroke-width: 2; pointer-events: none; transition: stroke .15s ease; }
.wf-edge.is-true .wf-edge-line { stroke: color-mix(in srgb, var(--wf-true) 75%, var(--wf-edge)); }
.wf-edge.is-false .wf-edge-line { stroke: color-mix(in srgb, var(--wf-false) 75%, var(--wf-edge)); stroke-dasharray: 6 5; }
.wf-edge:hover .wf-edge-line { stroke: var(--accent); }
.wf-edge.is-selected .wf-edge-line { stroke: var(--accent); stroke-width: 3; }
.wf-edge.is-done .wf-edge-line { stroke: var(--ok); stroke-width: 2.5; }
.wf-edge.is-dim .wf-edge-line { opacity: .3; }
.wf-edge.is-active .wf-edge-line { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 7 6; animation: wf-flow .6s linear infinite; }
.wf-edge-del { opacity: 0; pointer-events: none; cursor: pointer; transition: opacity .12s ease; }
.wf-edge-del circle { fill: var(--bg); stroke: var(--line2); }
.wf-edge-del path { stroke: var(--bad); stroke-width: 1.6; stroke-linecap: round; }
.wf-edge:hover .wf-edge-del, .wf-edge.is-selected .wf-edge-del { opacity: 1; pointer-events: all; }
.wf-canvas.is-wiring .wf-edge-del, .wf-canvas.is-dragging .wf-edge-del { opacity: 0 !important; pointer-events: none; }
.wf-edge-draft { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; }
.wf-edge-draft.is-true { stroke: var(--wf-true); }
.wf-edge-draft.is-false { stroke: var(--wf-false); }

.wf-node {
    position: absolute; left: 0; top: 0; width: 240px; height: 86px; display: flex; flex-direction: column;
    background: var(--wf-node-bg); border: 1px solid var(--line2); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05); cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease, opacity .18s ease;
}
.wf-node::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.wf-node:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line2)); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.wf-node.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 6px 18px rgba(0, 0, 0, .1); }
.wf-node.is-disabled { opacity: .55; border-style: dashed; }
.wf-node.is-drop-ok { border-color: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.wf-node.is-drop-bad { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 25%, transparent); }
.wf-node.run-running, .wf-node.run-next { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.wf-node.run-running { animation: wf-glow 1s ease-in-out infinite; }
.wf-node.run-next { border-style: dashed; }
.wf-node.run-ok { border-color: color-mix(in srgb, var(--ok) 60%, var(--line2)); }
.wf-node.run-error { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 22%, transparent); }
.wf-node.run-skip { opacity: .5; }
.wf-node.is-entering { animation: wf-pop var(--dur-base, .2s) var(--ease-out, ease-out); }
.wf-node.is-leaving { opacity: 0; scale: .96; }
.wf-node-head { display: flex; align-items: center; gap: 9px; padding: 10px 10px 4px 14px; min-width: 0; }
.wf-node-icon {
    display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px;
    background: color-mix(in srgb, var(--c) 13%, var(--wf-node-bg, var(--bg))); color: var(--c);
}
.wf-node-titles { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.wf-node-titles b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-node-titles small { color: var(--faint); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-node-body {
    padding: 2px 14px 0 51px; color: var(--dim); font-family: var(--f-mono); font-size: 11px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wf-node.is-branching .wf-node-body { padding-right: 46px; }
.wf-node-badge {
    display: inline-flex; align-items: center; gap: 2px; height: 20px; min-width: 20px; padding: 0 4px; justify-content: center; border-radius: 999px; flex: none;
}
.wf-node-badge .wf-i { width: 13px; height: 13px; }
.wf-node-badge i { font-style: normal; font-size: 10.5px; font-weight: 600; }
.wf-node-badge.is-error { background: var(--bad-bg); color: var(--bad); }
.wf-node-badge.is-warning { background: var(--warn-bg); color: var(--warn); }
.wf-node-badge.is-run-ok { background: var(--ok-bg); color: var(--ok); }
.wf-node-badge.is-run-error { background: var(--bad-bg); color: var(--bad); }
.wf-node-badge.is-run-skip, .wf-node-badge.is-run-off { background: var(--sel); color: var(--dim); }
.wf-node-note { position: absolute; right: 8px; bottom: 6px; color: var(--faint); }
.wf-node-note .wf-i { width: 13px; height: 13px; }
.wf-node.is-branching .wf-node-note { right: 40px; }

.wf-port {
    position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--wf-node-bg); border: 2px solid var(--wf-edge); cursor: var(--cur-crosshair); z-index: 2;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.wf-port::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }   /* a bigger target */
.wf-port:hover { transform: scale(1.25); border-color: var(--accent); background: var(--accent-bg); }
.wf-port-in { left: 0; top: 43px; }
.wf-port-out { left: 240px; top: 43px; }
.wf-port-out.is-true { top: 28px; border-color: var(--wf-true); }
.wf-port-out.is-false { top: 60px; border-color: var(--wf-false); }
.wf-port b {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 600; letter-spacing: .02em;
    pointer-events: none; color: var(--wf-true);
}
.wf-port.is-false b { color: var(--wf-false); }
.wf-canvas.is-wiring .wf-port-in { border-color: var(--accent); }
.wf-node.is-drop-ok .wf-port-in { transform: scale(1.35); background: var(--ok); border-color: var(--ok); }
.wf-canvas.is-zoomed-out .wf-node-body, .wf-canvas.is-zoomed-out .wf-port b { visibility: hidden; }

.wf-marquee { position: absolute; left: 0; top: 0; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 3px; pointer-events: none; }

/* floating canvas controls */
.wf-tools, .wf-selbar {
    position: absolute; z-index: 5; display: flex; align-items: center; gap: 2px; padding: 4px;
    background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; box-shadow: var(--shadow);
}
.wf-tools { left: 12px; bottom: 12px; }
.wf-selbar { left: 50%; top: 12px; transform: translateX(-50%); }
.wf-selbar-n { padding: 0 8px; color: var(--dim); font-size: 12px; white-space: nowrap; }
.wf-tbtn {
    display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 6px;
    background: none; color: var(--dim); cursor: pointer; font-size: 12px; font-variant-numeric: tabular-nums;
}
.wf-tbtn:hover { background: var(--hover); color: var(--ink); }
.wf-tbtn[aria-pressed="true"] { background: var(--sel); color: var(--ink); }
.wf-tbtn:disabled { opacity: .4; cursor: default; }
.wf-tbtn.wf-danger { color: var(--bad); }
.wf-zoom { min-width: 48px; }
.wf-tsep { width: 1px; height: 18px; margin: 0 3px; background: var(--line2); }
.wf-mini {
    position: absolute; z-index: 5; right: 12px; bottom: 12px; width: 188px; height: 120px; overflow: hidden;
    background: color-mix(in srgb, var(--bg) 92%, transparent); border: 1px solid var(--line2); border-radius: 10px; box-shadow: var(--shadow); cursor: pointer;
}
.wf-mini-svg { width: 100%; height: 100%; display: block; }
.wf-mini-node { fill: var(--c); opacity: .65; }
.wf-mini-node.is-selected { opacity: 1; }
.wf-mini-view { fill: color-mix(in srgb, var(--accent) 10%, transparent); stroke: var(--accent); stroke-width: 1.2; }
.wf-fab {
    position: absolute; z-index: 6; right: 16px; bottom: 16px; display: none; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--pri); color: var(--pri-ink); box-shadow: var(--shadow); cursor: pointer;
}
.wf-fab .wf-i { width: 22px; height: 22px; }
.wf-empty {
    position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(380px, calc(100% - 32px));
    display: grid; justify-items: center; gap: 8px; padding: 24px; text-align: center;
    background: var(--bg); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--shadow);
}
.wf-empty h2 { margin: 0; font-size: 16px; }
.wf-empty p { margin: 0; color: var(--dim); }
.wf-empty-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* inspector */
.wf-inspector { min-height: 0; overflow-y: auto; border-left: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; }
.wf-sheet-handle { display: none; }
.wf-ins-sec { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.wf-ins-eyebrow { margin: 0; font-family: var(--f-mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.wf-ins-h { margin: 0; font-size: 12px; font-weight: 600; color: var(--dim); }
.wf-ins-title { margin: 0; font-size: 15px; }
.wf-ins-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 4px; }
.wf-ins-head .wf-node-icon { width: 34px; height: 34px; border-radius: 9px; }
.wf-ins-head-tx { display: grid; min-width: 0; flex: 1; }
.wf-app .wf-ins-title-in {
    height: 30px; padding: 0 6px; margin-left: -7px; border: 1px solid transparent; border-radius: 6px; background: none;
    font-size: 15px; font-weight: 600; color: var(--ink); box-shadow: none; width: 100%;
}
.wf-app .wf-ins-title-in:hover { border-color: var(--line2); }
.wf-app .wf-ins-title-in:focus { border-color: var(--accent); }
.wf-ins-head-tx small { color: var(--faint); font-size: 11.5px; }
.wf-ins-desc { margin: 0; padding: 0 16px 10px; color: var(--dim); font-size: 12.5px; }
.wf-ins-body { padding: 14px 16px; display: grid; gap: 14px; flex: 1; align-content: start; }
.wf-ins-foot { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--bg); }
.wf-ins-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.wf-ins-empty { display: grid; justify-items: center; gap: 8px; padding: 24px 8px; text-align: center; color: var(--dim); }
.wf-ins-empty > .wf-i { width: 22px; height: 22px; color: var(--faint); }
.wf-ins-empty p { margin: 0; }
.wf-tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.wf-tab {
    position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px; border: 0; background: none;
    color: var(--dim); cursor: pointer; font-weight: 500;
}
.wf-tab:hover { color: var(--ink); }
.wf-tab.is-on { color: var(--ink); }
.wf-tab.is-on::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }

.wf-fld { display: grid; gap: 5px; min-width: 0; }
.wf-fld > label, .wf-fld > span { font-weight: 500; font-size: 12.5px; color: var(--ink); }
.wf-fld > label i { color: var(--bad); font-style: normal; margin-left: 2px; }
.wf-fld > label code { color: var(--faint); font-size: 11px; }
.wf-fld input, .wf-fld select, .wf-fld textarea { width: 100%; min-width: 0; }
.wf-fld textarea { resize: vertical; min-height: 60px; line-height: 1.45; }
.wf-fld-msg { margin: 0; font-size: 11.5px; color: var(--faint); }
.wf-fld-msg:empty { display: none; }
.wf-fld.has-err .wf-fld-msg { color: var(--bad); }
.wf-fld.has-err input, .wf-fld.has-err textarea, .wf-fld.has-err select { border-color: var(--bad); }
.wf-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.wf-chip {
    display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid var(--line2); border-radius: 999px;
    background: var(--sub); color: var(--dim); font-family: var(--f-mono); font-size: 11px; white-space: nowrap;
}
button.wf-chip { cursor: pointer; }
button.wf-chip:hover { background: var(--accent-bg); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line2)); }
.wf-io { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--sub); font-size: 12px; }
.wf-io > div { display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.wf-io span { color: var(--faint); }
.wf-io b { font-weight: 500; overflow-wrap: anywhere; }
.wf-io em { color: var(--faint); font-weight: 400; }
.wf-io code { font-size: 11px; color: var(--dim); }
.wf-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--dim); font-size: 12px; }
.wf-stats b { color: var(--ink); }
.wf-legacy { background: var(--warn-bg); }
.wf-legacy p { margin: 0; font-size: 12.5px; }
.wf-tips ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 12.5px; display: grid; gap: 4px; }
.wf-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wf-problems li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 8px; border-radius: 7px; font-size: 12.5px; background: var(--sub); }
.wf-problems li[role="button"] { cursor: pointer; }
.wf-problems li[role="button"]:hover { background: var(--hover); }
.wf-problems li .wf-i { margin-top: 1px; }
.wf-problems li.is-error .wf-i { color: var(--bad); }
.wf-problems li.is-warning .wf-i { color: var(--warn); }
.wf-problems li.is-info .wf-i { color: var(--accent); }
.wf-problems li span { overflow-wrap: anywhere; }
.wf-ok-line { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--ok); font-size: 12.5px; }
.wf-conn { margin: 0; overflow-wrap: anywhere; }
.wf-branch { display: inline-block; padding: 0 6px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.wf-branch.is-true { background: var(--ok-bg); color: var(--ok); }
.wf-branch.is-false { background: var(--bad-bg); color: var(--bad); }
.wf-align { display: flex; flex-wrap: wrap; gap: 2px; }

.wf-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.wf-dot.is-ok { background: var(--ok); }
.wf-dot.is-error { background: var(--bad); }
.wf-dot.is-running, .wf-dot.is-next { background: var(--accent); }
.wf-dot.is-running { animation: wf-pulse 1s ease-in-out infinite; }
.wf-dot.is-skip, .wf-dot.is-off, .wf-dot.is-pending { background: var(--line2); }
.wf-tab .wf-dot { width: 6px; height: 6px; }
.wf-run-line { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.wf-json {
    margin: 0; padding: 10px 12px; max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--sub);
    font-family: var(--f-mono); font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); user-select: text;
}
.wf-json .json-string { color: var(--s, var(--ok)); }
.wf-json .json-number { color: var(--n, var(--warn)); }
.wf-json .json-boolean { color: var(--accent); }
.wf-json .json-null { color: var(--faint); }
.wf-details summary { cursor: pointer; color: var(--dim); font-size: 12.5px; }
.wf-details[open] summary { margin-bottom: 6px; }

/* run panel */
.wf-run {
    position: absolute; z-index: 7; left: 12px; right: 12px; bottom: 12px; height: min(340px, 58%); display: flex; flex-direction: column;
    background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden;
}
.wf-run.is-entering { animation: wf-rise var(--dur-base, .2s) var(--ease-out, ease-out); }
.wf-editor.is-running-panel .wf-mini, .wf-editor.is-running-panel .wf-fab, .wf-editor.is-running-panel .wf-selbar { display: none !important; }
.wf-editor.is-running-panel .wf-tools { top: 12px; bottom: auto; }
.wf-stage { container-type: inline-size; }
@container (max-width: 1000px) {
    .wf-run { height: min(480px, 74%); }
    .wf-run .wf-run-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1.1fr); }
    .wf-run .wf-run-out { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); min-height: 160px; }
}
.wf-run-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.wf-run-head h2 { margin: 0; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.wf-run-head h2 .wf-i { color: var(--ok); fill: currentColor; }
.wf-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--sel); }
.wf-seg label { position: relative; }
.wf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.wf-seg span { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 6px; color: var(--dim); font-size: 12px; cursor: pointer; }
.wf-seg input:checked + span { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.wf-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.wf-seg .wf-i { width: 13px; height: 13px; }
.wf-run-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wf-run-status.is-ok { color: var(--ok); }
.wf-run-status.is-error { color: var(--bad); }
.wf-run-status b { color: var(--ink); }
.wf-run-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(220px, 1.1fr) minmax(240px, 1.4fr); }
.wf-run-col { min-height: 0; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.wf-run-col + .wf-run-col { border-left: 1px solid var(--line); }
.wf-run-col > h3 { margin: 0; font-size: 12px; font-weight: 600; color: var(--dim); }
.wf-run-inputs #wfRunInputs { display: grid; gap: 10px; }
.wf-run-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.wf-run-hint { margin: 0; font-size: 11.5px; color: var(--faint); }
.wf-run-out { padding: 0; }
.wf-run-out .wf-tabs { padding: 0 8px; flex: none; }
.wf-run-pane { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 14px; display: grid; gap: 8px; align-content: start; }
.wf-run-pane .wf-json { max-height: none; }
.wf-pane-acts { display: flex; justify-content: flex-end; }
.wf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wf-step {
    display: grid; grid-template-columns: 18px 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px;
    border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.wf-step:hover { background: var(--hover); }
.wf-step-n { color: var(--faint); font-size: 11px; text-align: right; }
.wf-step-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: color-mix(in srgb, var(--c) 12%, var(--bg)); color: var(--c); }
.wf-step-ic .wf-i { width: 14px; height: 14px; }
.wf-step-tx { display: grid; min-width: 0; line-height: 1.3; }
.wf-step-tx b { font-weight: 500; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-step-tx small { color: var(--faint); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-step-st { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.wf-step.is-running, .wf-step.is-next { background: var(--accent-bg); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.wf-step.is-error { background: var(--bad-bg); }
.wf-step.is-error small { color: var(--bad); }
.wf-step.is-skip, .wf-step.is-off, .wf-step.is-pending { opacity: .6; }
.wf-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wf-hist li > button, .wf-hist li > div {
    display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 7px;
    background: none; text-align: left; font-size: 12px; color: var(--dim);
}
.wf-hist li > button { cursor: pointer; }
.wf-hist li > button:hover { background: var(--hover); }
.wf-hist em { grid-column: 2 / -1; color: var(--bad); font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-skel { display: grid; gap: 8px; }   /* shimmer lines are the shared .lay-skeleton (assets/layout/motion.css) */

/* popovers and menus */
.wf-pop {
    position: fixed; z-index: 200; width: 300px; max-height: min(420px, calc(100vh - 24px)); display: flex; flex-direction: column; gap: 6px; padding: 8px;
    background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow);
}
.wf-quick-list { overflow-y: auto; display: grid; gap: 2px; align-content: start; }
.wf-menu {
    position: fixed; z-index: 210; min-width: 210px; padding: 5px; display: grid;
    background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; box-shadow: var(--shadow);
}
.wf-menu-item {
    display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 9px; border: 0; border-radius: 6px; background: none;
    color: var(--ink); text-align: left; cursor: pointer; white-space: nowrap;
}
.wf-menu-item > span { flex: 1; }
.wf-menu-item .wf-i { color: var(--dim); }
.wf-menu-item:hover, .wf-menu-item:focus-visible { background: var(--hover); outline: none; }
.wf-menu-item:disabled { opacity: .45; cursor: default; background: none; }
.wf-menu-item.is-danger, .wf-menu-item.is-danger .wf-i { color: var(--bad); }
.wf-menu-item kbd { border: 0; background: none; padding: 0; color: var(--faint); }
.wf-menu-sep { height: 1px; margin: 4px 2px; background: var(--line); }

/* dialogs */
dialog.wf-dlg {
    width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line2); border-radius: 12px;
    background: var(--bg); color: var(--ink); box-shadow: var(--shadow); overflow: auto;
}
dialog.wf-dlg-wide { width: min(680px, calc(100vw - 32px)); }
dialog.wf-dlg::backdrop { background: var(--scrim); }
.wf-dlg-in { display: flex; flex-direction: column; margin: 0; }
.wf-dlg-in > header { padding: 16px 18px 4px; }
.wf-dlg-in > header h2 { margin: 0; font-size: 15px; font-weight: 600; }
.wf-dlg-in > header p { margin: 4px 0 0; color: var(--dim); font-size: 12.5px; }
.wf-dlg-b { padding: 12px 18px 16px; display: grid; gap: 12px; }
.wf-dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--sub); }
.wf-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wf-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wf-file span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 6px; cursor: pointer; font-weight: 500; }
.wf-file span:hover { background: var(--hover); }
.wf-file input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wf-file em { color: var(--faint); font-style: normal; font-size: 12px; overflow-wrap: anywhere; }
.wf-dlg textarea { font-family: var(--f-mono); font-size: 12px; }
.wf-versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wf-versions li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.wf-versions li.wf-ver-none { display: block; color: var(--dim); }
.wf-ver-prev { height: 60px; border-radius: 6px; overflow: hidden; background: var(--wf-canvas); }
.wf-ver-tx { display: grid; min-width: 0; }
.wf-ver-tx small, .wf-ver-tx span { color: var(--faint); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-keys { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.wf-keys h3 { margin: 0 0 6px; font-size: 12px; color: var(--dim); }
.wf-keys dl { margin: 0; display: grid; gap: 5px; }
.wf-keys dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.wf-keys dt { white-space: nowrap; color: var(--faint); }
.wf-keys dd { margin: 0; text-align: right; }

/* ===================== responsive ===================== */
@media (max-width: 1100px) {
    .wf-work { grid-template-columns: minmax(0, 1fr) 300px; }
    .wf-palette { display: none; }
    .wf-fab { display: grid; }
    .wf-editor:not(.is-running-panel) .wf-mini { bottom: 76px; }
}
@media (max-width: 760px) {
    .wf-library { padding: 20px 16px 48px; gap: 16px; }
    .wf-lib-intro h1 { font-size: 21px; }
    .wf-lib-acts { width: 100%; }
    .wf-lib-acts .ui-btn { flex: 1; justify-content: center; }
    .wf-lib-bar .wf-search { flex-basis: 100%; max-width: none; }
    .wf-lib-bar select { flex: 1; }
    .wf-usage { margin-left: 0; flex-basis: 100%; }
    .wf-cards { grid-template-columns: minmax(0, 1fr); }

    .wf-hide-phone { display: none !important; }
    .wf-bar { gap: 4px; padding: 0 6px 0 4px; }
    .wf-name { gap: 6px; flex: 1 1 auto; }
    .wf-app .wf-name-in { width: 100%; max-width: none; flex: 1; font-size: 13.5px; }
    .wf-name { display: grid; gap: 0; }
    .wf-state { font-size: 11px; padding-left: 8px; line-height: 1.1; }
    .wf-sp { display: none; }
    .wf-chip-btn { padding: 0 8px; }
    .wf-chip-btn span { max-width: 7ch; overflow: hidden; text-overflow: ellipsis; }
    .wf-chip-btn[data-level="ok"] span { display: none; }
    .wf-run-btn span { display: none; }
    .wf-split .wf-run-btn { padding: 0 9px; }
    .wf-work { grid-template-columns: minmax(0, 1fr); }
    .wf-tools { left: 8px; bottom: 8px; }
    .wf-mini { display: none; }
    .wf-fab { right: 12px; bottom: 12px; }

    .wf-inspector {
        position: fixed; z-index: 150; left: 0; right: 0; bottom: 0; max-height: 82vh; max-height: 82dvh; border: 1px solid var(--line2); border-bottom: 0;
        border-radius: 16px 16px 0 0; box-shadow: var(--shadow); transform: translateY(100%); transition: transform var(--dur-base, .2s) var(--ease-out, ease-out);
    }
    .wf-inspector.has-node { transform: translateY(calc(100% - 52px)); }
    .wf-inspector.is-open { transform: none; }
    .wf-editor.is-running-panel .wf-inspector:not(.is-open) { transform: translateY(100%); }
    .wf-sheet-handle {
        display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 2; height: 52px; flex: none; padding: 0 8px 0 16px;
        background: var(--bg); border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 600;
    }
    .wf-sheet-handle span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .wf-sheet-handle::before { content: ""; position: absolute; left: 50%; top: 5px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line2); }
    .wf-editor:has(.wf-inspector.has-node:not(.is-open)) .wf-tools,
    .wf-editor:has(.wf-inspector.has-node:not(.is-open)) .wf-fab { bottom: 64px; }

    .wf-run { position: fixed; left: 0; right: 0; bottom: 0; height: 78vh; height: 78dvh; border-radius: 16px 16px 0 0; border-bottom: 0; z-index: 160; }
    .wf-run-body { display: block; overflow-y: auto; }
    .wf-run-col { overflow: visible; }
    .wf-run-col + .wf-run-col { border-left: 0; border-top: 1px solid var(--line); }
    .wf-run-pane { overflow: visible; }
    .wf-run-head { gap: 8px; }
    .wf-run-status { order: 5; flex-basis: 100%; white-space: normal; }

    .wf-pop.is-sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-height: 70vh; border-radius: 16px 16px 0 0; }
    .wf-versions li { grid-template-columns: minmax(0, 1fr) auto; }
    .wf-ver-prev { display: none; }
}

@keyframes wf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes wf-flow { to { stroke-dashoffset: -13; } }
@keyframes wf-glow { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); } }
@keyframes wf-pop { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes wf-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
    .wf-app *, .wf-app *::before, .wf-app *::after { animation: none !important; transition: none !important; }
}
html.lay-motion-off .wf-app *, html.lay-motion-off .wf-app *::before { animation: none !important; transition: none !important; }

body.wf-editing .lay-main { padding-bottom: 0 !important; }
