/* ── Flows module theme ───────────────────────────────── */ /* ── Base ────────────────────────────────────────────── */ .flows-landing, .flows-detail { font-family: system-ui, -apple-system, sans-serif; } /* Thin scrollbars (rApp convention) */ .flows-detail ::-webkit-scrollbar, .flows-landing ::-webkit-scrollbar { width: 6px; height: 6px; } .flows-detail ::-webkit-scrollbar-track, .flows-landing ::-webkit-scrollbar-track { background: transparent; } .flows-detail ::-webkit-scrollbar-thumb, .flows-landing ::-webkit-scrollbar-thumb { background: #475569; border-radius: 3px; } /* ── Shared utility classes ──────────────────────────── */ .flows-loading { text-align: center; color: #64748b; padding: 48px 16px; font-size: 14px; } .flows-error { text-align: center; color: #ef4444; padding: 20px 16px; font-size: 14px; } /* ── Landing page ────────────────────────────────────── */ .flows-landing { max-width: 960px; margin: 0 auto; padding: 24px 20px 64px; } /* Features grid */ .flows-features { margin-bottom: 48px; } .flows-features__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; } .flows-features__card { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 20px; transition: border-color 0.2s; } .flows-features__card:hover { border-color: #475569; } .flows-features__icon { font-size: 24px; margin-bottom: 8px; } .flows-features__card h3 { font-size: 14px; font-weight: 600; color: #e2e8f0; margin: 0 0 6px; } .flows-features__card p { font-size: 12px; color: #94a3b8; line-height: 1.6; margin: 0; } /* Flow list */ .flows-flows { margin-bottom: 48px; } .flows-flows__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; } .flows-flows__heading { font-size: 18px; font-weight: 600; color: #e2e8f0; margin: 0; } .flows-flows__user { font-size: 12px; color: #64748b; } .flows-flows__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; } .flows-flows__empty { text-align: center; color: #64748b; padding: 32px 16px; font-size: 14px; background: #1e293b; border: 1px solid #334155; border-radius: 8px; } .flows-flows__empty a { color: #6366f1; text-decoration: none; } .flows-flows__empty a:hover { text-decoration: underline; } .flows-flow-card { display: block; text-decoration: none; background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 16px; cursor: pointer; transition: border-color 0.2s, transform 0.15s; } .flows-flow-card:hover { border-color: #6366f1; transform: translateY(-1px); } .flows-flow-card__name { font-size: 15px; font-weight: 600; color: #e2e8f0; margin-bottom: 4px; } .flows-flow-card__value { font-size: 20px; font-weight: 700; color: #0ea5e9; margin-bottom: 4px; } .flows-flow-card__meta { font-size: 12px; color: #64748b; } /* About / how-it-works section */ .flows-about { margin-bottom: 48px; } .flows-about__heading { font-size: 18px; font-weight: 600; color: #e2e8f0; margin: 0 0 20px; } /* Steps layout (replaces the old card grid for "how it works") */ .flows-about__steps { display: flex; flex-direction: column; gap: 16px; } .flows-about__step { display: flex; gap: 16px; align-items: flex-start; background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 20px; } .flows-about__step-num { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: #4f46e5; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; } .flows-about__step h3 { font-size: 14px; font-weight: 600; color: #e2e8f0; margin: 0 0 4px; } .flows-about__step p { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; } /* Legacy about grid (kept for compat) */ .flows-about__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } .flows-about__card { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 20px; } .flows-about__icon { font-size: 28px; margin-bottom: 8px; } .flows-about__card h3 { font-size: 15px; font-weight: 600; color: #e2e8f0; margin: 0 0 8px; } .flows-about__card p { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; } /* ── Detail view ─────────────────────────────────────── */ .flows-detail { max-width: 1100px; margin: 0 auto; padding: 16px 20px 64px; } .flows-detail--fullpage { padding: 0; max-width: none; height: 100vh; } /* ── Table tab — card grid ───────────────────────────── */ .flows-table { } .flows-section { margin-bottom: 28px; } .flows-section__title { font-size: 14px; font-weight: 600; color: #94a3b8; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.05em; } .flows-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; } .flows-card { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 16px; } .flows-card__header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .flows-card__icon { font-size: 18px; } .flows-card__label { font-size: 14px; font-weight: 600; color: #e2e8f0; flex: 1; } .flows-card__type { font-size: 11px; color: #64748b; text-transform: uppercase; } .flows-card__status { font-size: 11px; font-weight: 600; text-transform: capitalize; } .flows-card__desc { font-size: 12px; color: #94a3b8; margin-bottom: 10px; line-height: 1.5; } .flows-card__stat { margin-bottom: 10px; } .flows-card__stat-value { font-size: 18px; font-weight: 700; color: #e2e8f0; } .flows-card__stat-label { font-size: 12px; color: #64748b; margin-left: 4px; } .flows-card__stats { display: flex; justify-content: space-between; margin-bottom: 8px; } /* Progress bar */ .flows-card__bar-container { position: relative; height: 6px; background: #334155; border-radius: 3px; margin-bottom: 10px; overflow: visible; } .flows-card__bar { height: 100%; border-radius: 3px; background: #0ea5e9; transition: width 0.3s ease; } .flows-card__bar--outcome { opacity: 0.8; } .flows-card__bar-threshold { position: absolute; top: -3px; width: 2px; height: 12px; background: #fbbf24; border-radius: 1px; } .flows-card__thresholds { display: flex; gap: 12px; font-size: 11px; color: #64748b; margin-bottom: 8px; } /* Allocation lists */ .flows-card__allocs { margin-top: 8px; padding-top: 8px; border-top: 1px solid #334155; } .flows-card__alloc-title { font-size: 11px; color: #64748b; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; } .flows-card__alloc { font-size: 12px; color: #94a3b8; display: flex; align-items: center; gap: 6px; margin: 2px 0; } .flows-card__alloc-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; } /* Status colors */ .flows-status--abundant { color: #fbbf24; } .flows-status--sufficient { color: #10b981; } .flows-status--seeking { color: #0ea5e9; } .flows-status--critical { color: #ef4444; } /* ── Interactive canvas (Diagram tab) ───────────────── */ .flows-canvas-container { position: relative; height: 70vh; min-height: 400px; background: #0f172a; border-radius: 12px; border: 1px solid #334155; overflow: hidden; user-select: none; touch-action: none; } .flows-canvas-container--fullpage { height: 100%; border-radius: 0; border: none; min-height: unset; } /* Compact nav overlay inside full-page canvas */ .flows-nav-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 15; height: 44px; display: flex; align-items: center; padding: 0 16px; gap: 12px; background: linear-gradient(to bottom, rgba(15,23,42,0.9) 0%, transparent 100%); pointer-events: none; } .flows-nav-overlay > * { pointer-events: auto; } .flows-nav-overlay .rapp-nav__back { color: #94a3b8; text-decoration: none; font-size: 13px; } .flows-nav-overlay .rapp-nav__back:hover { color: #e2e8f0; } .flows-nav-overlay .rapp-nav__title { color: #e2e8f0; font-size: 14px; font-weight: 600; } .flows-nav-overlay .rapp-nav__badge { font-size: 10px; color: #fbbf24; background: rgba(251,191,36,0.15); padding: 2px 8px; border-radius: 4px; } /* Badge offset when nav overlay present */ .flows-canvas-container--fullpage .flows-canvas-badge { top: 54px; } .flows-canvas-svg { width: 100%; height: 100%; display: block; cursor: grab; } .flows-canvas-svg.panning { cursor: grabbing; } .flows-canvas-svg.dragging { cursor: move; } /* Toolbar — top-right overlay */ .flows-canvas-toolbar { position: absolute; top: 10px; right: 10px; z-index: 10; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; } .flows-canvas-btn { padding: 5px 10px; border: 1px solid #475569; border-radius: 6px; background: #1e293b; color: #e2e8f0; font-size: 11px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s; } .flows-canvas-btn:hover { background: #334155; border-color: #64748b; } .flows-canvas-btn--source { border-color: #10b981; color: #6ee7b7; } .flows-canvas-btn--source:hover { background: #064e3b; } .flows-canvas-btn--funnel { border-color: #3b82f6; color: #93c5fd; } .flows-canvas-btn--funnel:hover { background: #1e3a5f; } .flows-canvas-btn--outcome { border-color: #ec4899; color: #f9a8d4; } .flows-canvas-btn--outcome:hover { background: #4a1942; } .flows-canvas-btn--active { background: #4f46e5; border-color: #6366f1; color: #fff; } .flows-canvas-sep { width: 1px; height: 20px; background: #334155; margin: 0 4px; } /* SVG node styles */ .flow-node { cursor: pointer; } .flow-node:hover .node-bg { filter: brightness(1.15); } .flow-node.selected .node-bg { stroke: #6366f1; stroke-width: 3; } .node-glow { filter: drop-shadow(0 0 6px rgba(251,191,36,0.5)); } /* Editor panel — right side slide-in */ .flows-editor-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 320px; z-index: 20; background: #1e293b; border-left: 1px solid #334155; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; } .flows-editor-panel.open { transform: translateX(0); } .editor-header { display: flex; align-items: center; justify-content: space-between; } .editor-title { font-size: 14px; font-weight: 600; color: #e2e8f0; } .editor-close { background: none; border: none; color: #94a3b8; font-size: 18px; cursor: pointer; padding: 2px 6px; } .editor-close:hover { color: #e2e8f0; } /* Analytics popout panel (left side) */ .flows-analytics-panel { position: absolute; top: 0; left: 0; bottom: 0; width: 380px; z-index: 20; background: #1e293b; border-right: 1px solid #334155; transform: translateX(-100%); transition: transform 0.25s ease; overflow-y: auto; display: flex; flex-direction: column; } .flows-analytics-panel.open { transform: translateX(0); } .analytics-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #334155; flex-shrink: 0; } .analytics-title { font-size: 14px; font-weight: 600; color: #e2e8f0; flex: 1; } .analytics-close { background: none; border: none; color: #94a3b8; font-size: 18px; cursor: pointer; } .analytics-close:hover { color: #e2e8f0; } .analytics-tabs { display: flex; gap: 4px; } .analytics-tab { padding: 4px 10px; border: 1px solid #334155; border-radius: 4px; background: transparent; color: #94a3b8; font-size: 11px; cursor: pointer; } .analytics-tab:hover { background: #334155; color: #e2e8f0; } .analytics-tab--active { background: #334155; color: #e2e8f0; } .analytics-content { padding: 16px; flex: 1; overflow-y: auto; } .editor-field { display: flex; flex-direction: column; gap: 4px; } .editor-label { font-size: 11px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } .editor-input { padding: 6px 10px; border: 1px solid #334155; border-radius: 6px; background: #0f172a; color: #e2e8f0; font-size: 13px; } .editor-input:focus { outline: none; border-color: #6366f1; } .editor-select { padding: 6px 10px; border: 1px solid #334155; border-radius: 6px; background: #0f172a; color: #e2e8f0; font-size: 13px; } .editor-alloc-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; } .editor-alloc-row .editor-input { width: 60px; text-align: right; } .editor-alloc-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; } .editor-section { padding-top: 8px; border-top: 1px solid #334155; } .editor-section-title { font-size: 12px; font-weight: 600; color: #64748b; margin-bottom: 6px; } .editor-btn { padding: 6px 14px; border: 1px solid #475569; border-radius: 6px; background: #334155; color: #e2e8f0; font-size: 12px; cursor: pointer; transition: background 0.15s; } .editor-btn:hover { background: #475569; } .editor-btn--danger { border-color: #ef4444; color: #fca5a5; } .editor-btn--danger:hover { background: #7f1d1d; } /* Edge +/- controls */ .edge-controls { display: flex; align-items: center; gap: 2px; font-size: 11px; } .edge-btn { width: 18px; height: 18px; border: 1px solid #475569; border-radius: 4px; background: #1e293b; color: #e2e8f0; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; } .edge-btn:hover { background: #334155; } .edge-pct { color: #e2e8f0; font-weight: 600; min-width: 30px; text-align: center; } /* Legend — bottom-left */ .flows-canvas-legend { position: absolute; bottom: 10px; left: 10px; z-index: 10; display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: #94a3b8; background: rgba(15,23,42,0.85); padding: 6px 10px; border-radius: 8px; } .flows-canvas-legend-item { display: flex; align-items: center; gap: 4px; } .flows-canvas-legend-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; } /* Zoom controls — bottom-right */ .flows-canvas-zoom { position: absolute; bottom: 10px; right: 10px; z-index: 10; display: flex; gap: 4px; } /* Sufficiency badge — top-left */ .flows-canvas-badge { position: absolute; top: 10px; left: 10px; z-index: 10; background: rgba(15,23,42,0.85); border-radius: 8px; padding: 8px 14px; display: flex; align-items: center; gap: 8px; } .flows-canvas-badge__score { font-size: 20px; font-weight: 700; } .flows-canvas-badge__label { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; } /* Legacy diagram (kept for compat) */ .flows-diagram { overflow-x: auto; } .flows-diagram svg { display: block; margin: 0 auto; } .flows-diagram__legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 12px; font-size: 12px; color: #94a3b8; } .flows-diagram__legend-item { display: flex; align-items: center; gap: 5px; } .flows-diagram__dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; } /* ── River tab ───────────────────────────────────────── */ .flows-river-container { min-height: 500px; } /* ── Transactions tab ────────────────────────────────── */ .flows-tx-list { display: flex; flex-direction: column; gap: 4px; } .flows-tx-empty { text-align: center; color: #64748b; padding: 48px 16px; font-size: 14px; } .flows-tx { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1e293b; border: 1px solid #334155; border-radius: 8px; } .flows-tx__icon { font-size: 16px; flex-shrink: 0; } .flows-tx__body { flex: 1; min-width: 0; } .flows-tx__desc { font-size: 13px; color: #e2e8f0; font-weight: 500; } .flows-tx__meta { font-size: 11px; color: #64748b; margin-top: 2px; } .flows-tx__amount { font-size: 14px; font-weight: 600; white-space: nowrap; } .flows-tx__amount--positive { color: #10b981; } .flows-tx__amount--negative { color: #ef4444; } .flows-tx__time { font-size: 11px; color: #64748b; white-space: nowrap; } /* ── Port & wiring ──────────────────────────────────── */ .port-group { pointer-events: all; } .port-hit { cursor: crosshair; } .port-dot { transition: r 0.15s, filter 0.15s; } .port-group:hover .port-dot { r: 7; filter: drop-shadow(0 0 4px currentColor); } .port-group--wiring-source .port-dot { animation: port-glow 0.8s ease-in-out infinite; } .port-group--wiring-target .port-dot { animation: port-breathe 1s ease-in-out infinite; } .port-group--wiring-dimmed { opacity: 0.15; pointer-events: none; } .wiring-temp-path { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-dasharray: 8 4; stroke-linecap: round; animation: wire-dash 0.6s linear infinite; } .flows-canvas-svg.wiring { cursor: crosshair; } @keyframes port-glow { 0%, 100% { filter: drop-shadow(0 0 4px currentColor); } 50% { filter: drop-shadow(0 0 10px currentColor); } } @keyframes port-breathe { 0%, 100% { opacity: 0.6; r: 5; } 50% { opacity: 1; r: 7; } } @keyframes wire-dash { to { stroke-dashoffset: -12; } } /* ── Edge flow animation ──────────────────────────────── */ @keyframes streamFlow { to { stroke-dashoffset: -24; } } .edge-path-animated { stroke-dasharray: 8 4; animation: streamFlow 1s linear infinite; } .edge-path-overflow { stroke-dasharray: 6 3; animation: streamFlow 0.7s linear infinite; } .edge-glow { pointer-events: none; } .edge-group--highlight path:not(.edge-glow) { stroke-opacity: 1 !important; filter: brightness(1.4); } .edge-group--highlight .edge-glow { stroke-opacity: 0.25 !important; } /* Ghost edge (zero-flow potential paths) */ .edge-ghost { pointer-events: none; } /* Satisfaction bar (inflow bar on funnels & outcomes) */ .satisfaction-bar-bg { opacity: 0.3; } .satisfaction-bar-fill { transition: width 0.3s ease; } /* ── Node detail modals ──────────────────────────────── */ .flows-modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; animation: modalFadeIn 0.15s ease-out; } @keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } } .flows-modal { background: #1e293b; border-radius: 16px; padding: 24px; width: 440px; max-height: 85vh; overflow-y: auto; border: 1px solid #334155; box-shadow: 0 20px 60px rgba(0,0,0,0.5); animation: modalSlideIn 0.2s ease-out; } @keyframes modalSlideIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } } .flows-modal::-webkit-scrollbar { width: 6px; } .flows-modal::-webkit-scrollbar-track { background: transparent; } .flows-modal::-webkit-scrollbar-thumb { background: #475569; border-radius: 3px; } .flows-modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .flows-modal__close { background: none; border: none; color: #94a3b8; font-size: 24px; cursor: pointer; padding: 2px 8px; border-radius: 4px; transition: color 0.15s; } .flows-modal__close:hover { color: #e2e8f0; } .flows-modal__progress-bar { height: 8px; background: #334155; border-radius: 4px; overflow: hidden; margin-top: 8px; } .flows-modal__progress-fill { height: 100%; border-radius: 4px; transition: width 0.3s; } /* Phase accordion */ .phase-tier-bar { display: flex; gap: 1px; height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 16px; } .phase-tier-segment { flex: 1; transition: background 0.3s; } .phase-card { border: 1px solid #334155; border-radius: 8px; overflow: hidden; margin-bottom: 8px; } .phase-card--locked { opacity: 0.5; } .phase-header { padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; background: #0f172a; transition: background 0.15s; } .phase-header:hover { background: #1e293b; } .phase-content { padding: 8px 14px 14px; border-top: 1px solid #334155; } .phase-task { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #94a3b8; padding: 4px 0; } .phase-task input[type="checkbox"] { accent-color: #10b981; cursor: pointer; } .phase-task--done { color: #64748b; text-decoration: line-through; } .phase-add-btn { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #64748b; background: none; border: 1px dashed #334155; border-radius: 6px; padding: 4px 10px; cursor: pointer; margin-top: 6px; transition: all 0.15s; } .phase-add-btn:hover { color: #94a3b8; border-color: #475569; } /* Source type picker */ .source-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; } .source-type-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 8px; border: 2px solid #334155; background: #0f172a; color: #94a3b8; cursor: pointer; transition: all 0.15s; font-size: 12px; font-weight: 500; } .source-type-btn:hover { border-color: #475569; background: #1e293b; } .source-type-btn--active { border-color: #10b981; background: #064e3b; color: #6ee7b7; } /* Node hover tooltip */ .flows-node-tooltip { position: absolute; z-index: 30; pointer-events: none; background: rgba(15,23,42,0.95); border: 1px solid #475569; border-radius: 8px; padding: 8px 12px; font-size: 12px; color: #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,0.4); white-space: nowrap; } .flows-node-tooltip__label { font-weight: 600; margin-bottom: 2px; } .flows-node-tooltip__stat { color: #94a3b8; font-size: 11px; } /* Sufficiency glow on funnel status text */ @keyframes sufficiencyPulse { 0%, 100% { fill-opacity: 1; } 50% { fill-opacity: 0.6; } } .sufficiency-glow { animation: sufficiencyPulse 2s ease-in-out infinite; } /* ── Funnel shape & inline editing ─────────────────── */ /* Threshold markers in edit mode */ .threshold-marker { pointer-events: none; } .threshold-handle { cursor: ns-resize; transition: opacity 0.15s; } .threshold-handle:hover { opacity: 0.8; } /* Inline edit inputs (foreignObject) */ .inline-edit-input { background: transparent; border: none; border-bottom: 1px solid #6366f1; color: #e2e8f0; font-size: 13px; font-weight: 600; width: 100%; outline: none; padding: 2px 4px; box-sizing: border-box; font-family: system-ui, -apple-system, sans-serif; } .inline-edit-input:focus { border-bottom-color: #818cf8; } /* Edit mode toolbar */ .inline-edit-toolbar { display: flex; gap: 4px; justify-content: center; margin-top: 2px; } .inline-edit-toolbar button { padding: 3px 8px; border-radius: 4px; border: none; font-size: 10px; cursor: pointer; font-weight: 600; font-family: system-ui, -apple-system, sans-serif; transition: opacity 0.15s; } .inline-edit-toolbar button:hover { opacity: 0.85; } /* Inline edit overlay container */ .inline-edit-overlay { pointer-events: all; } /* Funnel overflow lip glow when overflowing */ .funnel-lip { transition: fill 0.3s, opacity 0.3s; } .funnel-lip--active { fill: #10b981; opacity: 0.8; } /* Status badge in outcome inline edit */ .inline-status-badge { cursor: pointer; transition: opacity 0.15s; } .inline-status-badge:hover { opacity: 0.8; } /* Side port arrows */ .port-group[data-port-side="left"] .port-arrow { /* horizontal arrow left handled inline */ } .port-group[data-port-side="right"] .port-arrow { /* horizontal arrow right handled inline */ } /* ── Mobile responsive ──────────────────────────────── */ @media (max-width: 768px) { .flows-diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; } .flows-flows__grid { grid-template-columns: 1fr; } .flows-features__grid { grid-template-columns: 1fr; } .flows-cards { grid-template-columns: 1fr; } .flows-canvas-container { height: 50vh; min-height: 300px; } .flows-canvas-container--fullpage { height: 100%; min-height: unset; } .flows-canvas-toolbar { flex-wrap: wrap; gap: 3px; top: 6px; right: 6px; } .flows-canvas-btn { padding: 6px 10px; font-size: 11px; min-height: 44px; min-width: 44px; } .flows-editor-panel { width: 100%; } .flows-analytics-panel { width: 100%; } .flows-canvas-legend { font-size: 10px; gap: 8px; } .flows-landing { padding: 16px 12px 48px; } .flows-detail { padding: 12px 12px 48px; } .flows-detail--fullpage { padding: 0; } }