.swap-design .token-flow-map{min-width:0}.flow-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-top:1.25rem;flex-wrap:wrap}.flow-selection{font-size:.8125rem;color:var(--swap-best)}.flow-selection-group{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .875rem}.flow-plan-provider{display:inline-flex;align-items:center;gap:.35rem;color:var(--muted-foreground);font-size:.6875rem}.flow-plan-provider img{border-radius:50%}.flow-compact-tools{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-top:.5rem;font-size:.625rem;color:var(--muted-foreground)}.flow-compact-tools button{text-decoration:underline;cursor:pointer}.flow-group-logos{position:absolute;top:4px;left:7px;right:7px;height:16px;display:flex;justify-content:center;align-items:center;gap:4px}.flow-group-logos>span{min-width:0;max-width:40px}.flow-group-logos img{width:16px;max-width:100%;height:16px;object-fit:contain;border-radius:50%}.flow-group-logos img[alt=Premium],.flow-venue-badge[alt=Premium]{border-radius:0}.flow-group-logos>span>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.4375rem}.flow-edge-label[data-group=true]>strong{transform:translateY(2px)}.token-flow-map .private-swap-preview{white-space:nowrap}.token-flow-map .private-swap-preview button:focus-visible{outline:2px solid var(--route-accent);outline-offset:3px}.flow-scroll{display:flex;align-items:center;flex-grow:1;overflow-x:auto;overflow-y:hidden;flex-shrink:0;width:100%;scrollbar-width:thin;margin:1rem 0}.flow-scroll:focus-visible{outline:2px solid var(--route-accent);outline-offset:2px}.flow-scroll.flow-viewport{position:relative;display:block;flex:0 0 auto;height:min(58dvh,36rem);min-height:min(260px,60dvh);max-height:70dvh;overflow:hidden;touch-action:none;user-select:none;cursor:grab;border-radius:.75rem;background:radial-gradient(circle,var(--swap-grid) .8px,transparent 1px) 0 0 /42px 42px var(--background)}.flow-viewport:active{cursor:grabbing}.flow-camera{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}.flow-viewport .flow-canvas{margin:0}.flow-view-controls{position:absolute;bottom:10px;right:10px;z-index:2;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--swap-field-border);border-radius:10px;background:var(--background);color:var(--foreground);cursor:default;box-shadow:0 2px 8px #00000008}.flow-view-controls button{display:grid;place-items:center;width:30px;height:30px;border-radius:6px;cursor:pointer}.flow-view-controls button:hover{background:var(--muted)}.flow-view-controls button:focus-visible{outline:2px solid var(--route-accent);outline-offset:-2px}.flow-zoom-value{font-size:.625rem;min-width:32px;text-align:center;font-variant-numeric:tabular-nums}.flow-fullscreen{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:12px;border:0;background:var(--background);color:var(--foreground);font-family:var(--swap-font)}.flow-fullscreen::backdrop{background:var(--background)}.flow-fullscreen .flow-viewport{height:100%;max-height:none;min-height:0;margin:0}.flow-canvas{position:relative;flex-shrink:0;margin:0 auto}.flow-wires{position:absolute;inset:0;overflow:visible}.flow-wire{fill:none;stroke:var(--route-accent);stroke-width:1.4;opacity:.6}.flow-direction{fill:none;stroke:var(--route-accent);stroke-width:3;stroke-dasharray:0 33.333333;stroke-linecap:round;animation:token-flow-travel 5.2s linear infinite;animation-delay:var(--flow-delay,0s);opacity:.7}.flow-direction[data-muted=true]{opacity:0}@keyframes token-flow-travel{to{stroke-dashoffset:-100}}.token-flow-map[data-flow-paused=true] .flow-direction{animation-play-state:paused}@media (prefers-reduced-motion:reduce){.flow-direction{animation:none}}.flow-token{position:absolute;transform:translate(-50%,-24px);width:90px;flex-direction:column;gap:.5rem;text-align:center}.flow-token,.flow-token-icon{display:flex;align-items:center}.flow-token-icon{justify-content:center;width:48px;height:48px;border:1px solid var(--swap-field-border);background:var(--swap-pay);border-radius:.875rem;box-shadow:var(--swap-card-shadow)}.flow-token-icon .token-icon{width:28px;height:28px}.flow-token strong{font-size:.875rem;font-weight:600}.flow-token small,.flow-token strong{max-width:100%;overflow-wrap:anywhere}.flow-token small{font-size:.75rem;color:var(--muted-foreground)}.flow-edge-label{position:absolute;transform:translate(-50%,-50%);width:max-content;max-width:138px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.125rem;padding:4px;background:var(--swap-pay);border:1px solid var(--swap-field-border);border-radius:10px;cursor:pointer;font:inherit;pointer-events:auto;line-height:1.35}.flow-edge-label:focus-visible,.flow-edge-label[aria-pressed=true]{outline:2px solid var(--route-accent);outline-offset:2px}.flow-launchpad-badge{position:absolute;right:-6px;bottom:-6px;width:18px;height:18px;display:grid;place-items:center;border-radius:4px;background:none}.flow-launchpad-badge img{width:18px;height:18px;object-fit:contain}.flow-connection,.flow-edge-label,.flow-junction{transition:opacity .14s ease}.flow-connection[data-muted=true],.flow-junction[data-muted=true]{opacity:.15}.flow-edge-label[data-muted=true]{opacity:.4}.flow-junction{fill:var(--route-accent)}.flow-venue-header{position:absolute;inset:0;pointer-events:none}.flow-venue-badge{position:absolute;left:-8px;top:-8px;width:22px;height:22px;object-fit:contain;border:0;border-radius:50%;background:none}.flow-edge-label .flow-venue-name{position:absolute;left:7px;top:5px;right:6px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.625rem;line-height:12px}.flow-venue-header[data-version=true] .flow-venue-name{right:27px}.flow-edge-label .flow-venue-version{position:absolute;right:6px;top:5px;font-size:.625rem;line-height:12px}.flow-route-usd{position:absolute;top:calc(50% + 10px);left:50%;transform:translateX(-50%);font-size:.46875rem;line-height:1.2;color:var(--muted-foreground);font-variant-numeric:tabular-nums;white-space:nowrap}.flow-edge-label strong{font-size:.75rem;color:var(--foreground);font-variant-numeric:tabular-nums}.flow-edge-label span{overflow-wrap:anywhere}.flow-edge-label span,.flow-footer{font-size:.75rem;color:var(--muted-foreground)}.flow-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;padding-top:.5rem}.flow-share-note,.flow-share-unknown{font-size:.6875rem;color:var(--muted-foreground)}@media (max-width:600px){.flow-toolbar{align-items:flex-start;flex-direction:column}}.swap-design .routes-block .token-flow-map{position:relative;padding:0;min-height:min(70dvh,44rem);isolation:isolate;overflow:hidden}.token-flow-map>.routing-heading{position:absolute;left:30px;right:30px;top:22px;z-index:3;pointer-events:none}.token-flow-map>.routing-heading .private-swap-preview,.token-flow-map>.routing-heading button{pointer-events:auto}.token-flow-map>.flow-toolbar{position:absolute;top:66px;right:30px;z-index:3;margin:0;pointer-events:none}.token-flow-map>.flow-compact-tools{position:absolute;top:68px;left:30px;z-index:3;margin:0}.token-flow-map>.flow-scroll.flow-viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;margin:0;border-radius:inherit}.token-flow-map>.flow-viewport:focus-visible{outline:none}.token-flow-map>.flow-viewport:focus-visible .flow-view-controls{outline:2px solid var(--route-accent)}.token-flow-map>.flow-footer{position:absolute;bottom:58px;left:24px;right:24px;z-index:3;background:var(--background)}.flow-view-controls{right:20px;bottom:20px}.route-refresh-placeholder{background:radial-gradient(circle,var(--swap-grid) .8px,transparent 1px) 0 0 /42px 42px var(--background)}.route-refresh-status{position:absolute;inset:88px 24px 24px;display:grid;place-items:center;color:var(--muted-foreground);font-size:.75rem}